From 82bfeaa8290717f9baf6da3b9ab06a9e950a0cfd Mon Sep 17 00:00:00 2001 From: Rizky Date: Tue, 20 Aug 2024 10:45:08 +0700 Subject: [PATCH] fix --- app/srv/core/main.js | 2 +- pkgs/web-utils/src/use-local.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/srv/core/main.js b/app/srv/core/main.js index 9da19ba6..475af907 100644 --- a/app/srv/core/main.js +++ b/app/srv/core/main.js @@ -5,7 +5,7 @@ import{a as Te,b as vx,c as Z,d as y,e as _,f as R,g as w}from"./chunk-MAXH2HJU. `+i[s].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=s&&0<=l);break}}}finally{Yu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ao(e):""}function Bx(e){switch(e.tag){case 5:return Ao(e.type);case 16:return Ao("Lazy");case 13:return Ao("Suspense");case 19:return Ao("SuspenseList");case 0:case 2:case 15:return e=ec(e.type,!1),e;case 11:return e=ec(e.type.render,!1),e;case 1:return e=ec(e.type,!0),e;default:return""}}function bc(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 hi:return"Fragment";case mi:return"Portal";case xc:return"Profiler";case gf:return"StrictMode";case Sc:return"Suspense";case kc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Gh:return(e.displayName||"Context")+".Consumer";case Wh:return(e._context.displayName||"Context")+".Provider";case yf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _f:return t=e.displayName||null,t!==null?t:bc(e.type)||"Memo";case Kn:t=e._payload,e=e._init;try{return bc(e(t))}catch{}}return null}function $x(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 bc(t);case 8:return t===gf?"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 ar(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Kh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hx(e){var t=Kh(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function dl(e){e._valueTracker||(e._valueTracker=Hx(e))}function qh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Kh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ul(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 Ec(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Um(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ar(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 Xh(e,t){t=t.checked,t!=null&&hf(e,"checked",t,!1)}function Rc(e,t){Xh(e,t);var n=ar(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")?Cc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Cc(e,t.type,ar(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Bm(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 Cc(e,t,n){(t!=="number"||Ul(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var No=Array.isArray;function Ri(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=pl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Do={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},Vx=["Webkit","ms","Moz","O"];Object.keys(Do).forEach(function(e){Vx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Do[t]=Do[e]})});function e0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Do.hasOwnProperty(e)&&Do[e]?(""+t).trim():t+"px"}function t0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=e0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Wx=Ce({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 Tc(e,t){if(t){if(Wx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Ac(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Nc=null;function wf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pc=null,Ci=null,Ii=null;function Vm(e){if(e=us(e)){if(typeof Pc!="function")throw Error(M(280));var t=e.stateNode;t&&(t=ma(t),Pc(e.stateNode,e.type,t))}}function n0(e){Ci?Ii?Ii.push(e):Ii=[e]:Ci=e}function r0(){if(Ci){var e=Ci,t=Ii;if(Ii=Ci=null,Vm(e),t)for(e=0;e>>=0,e===0?32:31-(nS(e)/rS|0)|0}var ml=64,hl=4194304;function Po(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 Vl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=Po(l):(o&=s,o!==0&&(r=Po(o)))}else s=n&~i,s!==0?r=Po(s):o!==0&&(r=Po(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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 ls(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Jt(t),e[t]=n}function lS(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=jo),Ym=" ",eh=!1;function k0(e,t){switch(e){case"keyup":return DS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function b0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gi=!1;function jS(e,t){switch(e){case"compositionend":return b0(t);case"keypress":return t.which!==32?null:(eh=!0,Ym);case"textInput":return e=t.data,e===Ym&&eh?null:e;default:return null}}function zS(e,t){if(gi)return e==="compositionend"||!Cf&&k0(e,t)?(e=x0(),Al=bf=Jn=null,gi=!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=rh(n)}}function I0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?I0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function O0(){for(var e=window,t=Ul();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ul(e.document)}return t}function If(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 ZS(e){var t=O0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&I0(n.ownerDocument.documentElement,n)){if(r!==null&&If(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=ih(n,o);var s=ih(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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,yi=null,Fc=null,Fo=null,Uc=!1;function oh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Uc||yi==null||yi!==Ul(r)||(r=yi,"selectionStart"in r&&If(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}),Fo&&Qo(Fo,r)||(Fo=r,r=Zl(Fc,"onSelect"),0vi||(e.current=Gc[vi],Gc[vi]=null,vi--)}function _e(e,t){vi++,Gc[vi]=e.current,e.current=t}var ur={},ot=fr(ur),gt=fr(!1),Dr=ur;function Pi(e,t){var n=e.type.contextTypes;if(!n)return ur;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yt(e){return e=e.childContextTypes,e!=null}function ql(){Se(gt),Se(ot)}function mh(e,t,n){if(ot.current!==ur)throw Error(M(168));_e(ot,t),_e(gt,n)}function z0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,$x(e)||"Unknown",i));return Ce({},n,r)}function Xl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ur,Dr=ot.current,_e(ot,e),_e(gt,gt.current),!0}function hh(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=z0(e,t,Dr),r.__reactInternalMemoizedMergedChildContext=e,Se(gt),Se(ot),_e(ot,e)):Se(gt),_e(gt,n)}var kn=null,ha=!1,fc=!1;function F0(e){kn===null?kn=[e]:kn.push(e)}function rk(e){ha=!0,F0(e)}function dr(){if(!fc&&kn!==null){fc=!0;var e=0,t=pe;try{var n=kn;for(pe=1;e>=s,i-=s,bn=1<<32-Jt(t)+i|n<D?(V=P,P=null):V=P.sibling;var F=f(m,P,v[D],x);if(F===null){P===null&&(P=V);break}e&&P&&F.alternate===null&&t(m,P),g=o(F,g,D),L===null?N=F:L.sibling=F,L=F,P=V}if(D===v.length)return n(m,P),ke&&Ir(m,D),N;if(P===null){for(;DD?(V=P,P=null):V=P.sibling;var G=f(m,P,F.value,x);if(G===null){P===null&&(P=V);break}e&&P&&G.alternate===null&&t(m,P),g=o(G,g,D),L===null?N=G:L.sibling=G,L=G,P=V}if(F.done)return n(m,P),ke&&Ir(m,D),N;if(P===null){for(;!F.done;D++,F=v.next())F=p(m,F.value,x),F!==null&&(g=o(F,g,D),L===null?N=F:L.sibling=F,L=F);return ke&&Ir(m,D),N}for(P=r(m,P);!F.done;D++,F=v.next())F=d(P,m,D,F.value,x),F!==null&&(e&&F.alternate!==null&&P.delete(F.key===null?D:F.key),g=o(F,g,D),L===null?N=F:L.sibling=F,L=F);return e&&P.forEach(function(Ge){return t(m,Ge)}),ke&&Ir(m,D),N}function k(m,g,v,x){if(typeof v=="object"&&v!==null&&v.type===hi&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case fl:e:{for(var N=v.key,L=g;L!==null;){if(L.key===N){if(N=v.type,N===hi){if(L.tag===7){n(m,L.sibling),g=i(L,v.props.children),g.return=m,m=g;break e}}else if(L.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Kn&&Sh(N)===L.type){n(m,L.sibling),g=i(L,v.props),g.ref=Co(m,L,v),g.return=m,m=g;break e}n(m,L);break}else t(m,L);L=L.sibling}v.type===hi?(g=Lr(v.props.children,m.mode,x,v.key),g.return=m,m=g):(x=Fl(v.type,v.key,v.props,null,m.mode,x),x.ref=Co(m,g,v),x.return=m,m=x)}return s(m);case mi:e:{for(L=v.key;g!==null;){if(g.key===L)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(m,g.sibling),g=i(g,v.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=wc(v,m.mode,x),g.return=m,m=g}return s(m);case Kn:return L=v._init,k(m,g,L(v._payload),x)}if(No(v))return h(m,g,v,x);if(ko(v))return S(m,g,v,x);Rl(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(m,g.sibling),g=i(g,v),g.return=m,m=g):(n(m,g),g=_c(v,m.mode,x),g.return=m,m=g),s(m)):n(m,g)}return k}var Di=Z0(!0),K0=Z0(!1),cs={},fn=fr(cs),ts=fr(cs),ns=fr(cs);function Nr(e){if(e===cs)throw Error(M(174));return e}function jf(e,t){switch(_e(ns,t),_e(ts,e),_e(fn,cs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Oc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Oc(t,e)}Se(fn),_e(fn,t)}function Mi(){Se(fn),Se(ts),Se(ns)}function q0(e){Nr(ns.current);var t=Nr(fn.current),n=Oc(t,e.type);t!==n&&(_e(ts,e),_e(fn,n))}function zf(e){ts.current===e&&(Se(fn),Se(ts))}var Ee=fr(0);function na(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 dc=[];function Ff(){for(var e=0;en?n:4,e(!0);var r=pc.transition;pc.transition={};try{e(!1),t()}finally{pe=n,pc.transition=r}}function fg(){return Ft().memoizedState}function lk(e,t,n){var r=sr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},dg(e))pg(t,n);else if(n=H0(e,t,n,r),n!==null){var i=ut();Yt(n,e,r,i),mg(n,t,r)}}function ak(e,t,n){var r=sr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(dg(e))pg(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,en(l,s)){var u=t.interleaved;u===null?(i.next=i,Df(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=H0(e,t,i,r),n!==null&&(i=ut(),Yt(n,e,r,i),mg(n,t,r))}}function dg(e){var t=e.alternate;return e===Re||t!==null&&t===Re}function pg(e,t){Uo=ra=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xf(e,n)}}var ia={readContext:zt,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useInsertionEffect:nt,useLayoutEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useMutableSource:nt,useSyncExternalStore:nt,useId:nt,unstable_isNewReconciler:!1},uk={readContext:zt,useCallback:function(e,t){return an().memoizedState=[e,t===void 0?null:t],e},useContext:zt,useEffect:bh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Dl(4194308,4,sg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Dl(4,2,e,t)},useMemo:function(e,t){var n=an();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=an();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=lk.bind(null,Re,e),[r.memoizedState,e]},useRef:function(e){var t=an();return e={current:e},t.memoizedState=e},useState:kh,useDebugValue:Vf,useDeferredValue:function(e){return an().memoizedState=e},useTransition:function(){var e=kh(!1),t=e[0];return e=sk.bind(null,e[1]),an().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Re,i=an();if(ke){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Be===null)throw Error(M(349));jr&30||J0(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,bh(eg.bind(null,r,o,e),[e]),r.flags|=2048,os(9,Y0.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=an(),t=Be.identifierPrefix;if(ke){var n=En,r=bn;n=(r&~(1<<32-Jt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=rs++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[un]=t,e[es]=r,kg(e,t,!1,!1),t.stateNode=e;e:{switch(s=Ac(n,r),n){case"dialog":xe("cancel",e),xe("close",e),i=r;break;case"iframe":case"object":case"embed":xe("load",e),i=r;break;case"video":case"audio":for(i=0;izi&&(t.flags|=128,r=!0,Io(o,!1),t.lanes=4194304)}else{if(!r)if(e=na(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Io(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ke)return rt(t),null}else 2*Ne()-o.renderingStartTime>zi&&n!==1073741824&&(t.flags|=128,r=!0,Io(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ne(),t.sibling=null,n=Ee.current,_e(Ee,r?n&1|2:n&1),t):(rt(t),null);case 22:case 23:return Xf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?kt&1073741824&&(rt(t),t.subtreeFlags&6&&(t.flags|=8192)):rt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function yk(e,t){switch(Tf(t),t.tag){case 1:return yt(t.type)&&ql(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mi(),Se(gt),Se(ot),Ff(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zf(t),null;case 13:if(Se(Ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Li()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Se(Ee),null;case 4:return Mi(),null;case 10:return Lf(t.type._context),null;case 22:case 23:return Xf(),null;case 24:return null;default:return null}}var Il=!1,it=!1,_k=typeof WeakSet=="function"?WeakSet:Set,W=null;function bi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ae(e,t,r)}else n.current=null}function of(e,t,n){try{n()}catch(r){Ae(e,t,r)}}var Ph=!1;function wk(e,t){if(Bc=Wl,e=O0(),If(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,u=-1,c=0,a=0,p=e,f=null;t:for(;;){for(var d;p!==n||i!==0&&p.nodeType!==3||(l=s+i),p!==o||r!==0&&p.nodeType!==3||(u=s+r),p.nodeType===3&&(s+=p.nodeValue.length),(d=p.firstChild)!==null;)f=p,p=d;for(;;){if(p===e)break t;if(f===n&&++c===i&&(l=s),f===o&&++a===r&&(u=s),(d=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=d}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for($c={focusedElem:e,selectionRange:n},Wl=!1,W=t;W!==null;)if(t=W,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,W=e;else for(;W!==null;){t=W;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var S=h.memoizedProps,k=h.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?S:qt(t.type,S),k);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(x){Ae(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,W=e;break}W=t.return}return h=Ph,Ph=!1,h}function Bo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&of(t,n,o)}i=i.next}while(i!==r)}}function _a(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 sf(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 Rg(e){var t=e.alternate;t!==null&&(e.alternate=null,Rg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[un],delete t[es],delete t[Wc],delete t[tk],delete t[nk])),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 Cg(e){return e.tag===5||e.tag===3||e.tag===4}function Lh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Cg(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 lf(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=Kl));else if(r!==4&&(e=e.child,e!==null))for(lf(e,t,n),e=e.sibling;e!==null;)lf(e,t,n),e=e.sibling}function af(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(af(e,t,n),e=e.sibling;e!==null;)af(e,t,n),e=e.sibling}var Ke=null,Xt=!1;function Zn(e,t,n){for(n=n.child;n!==null;)Ig(e,t,n),n=n.sibling}function Ig(e,t,n){if(cn&&typeof cn.onCommitFiberUnmount=="function")try{cn.onCommitFiberUnmount(ca,n)}catch{}switch(n.tag){case 5:it||bi(n,t);case 6:var r=Ke,i=Xt;Ke=null,Zn(e,t,n),Ke=r,Xt=i,Ke!==null&&(Xt?(e=Ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ke.removeChild(n.stateNode));break;case 18:Ke!==null&&(Xt?(e=Ke,n=n.stateNode,e.nodeType===8?cc(e.parentNode,n):e.nodeType===1&&cc(e,n),qo(e)):cc(Ke,n.stateNode));break;case 4:r=Ke,i=Xt,Ke=n.stateNode.containerInfo,Xt=!0,Zn(e,t,n),Ke=r,Xt=i;break;case 0:case 11:case 14:case 15:if(!it&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&of(n,t,s),i=i.next}while(i!==r)}Zn(e,t,n);break;case 1:if(!it&&(bi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ae(n,t,l)}Zn(e,t,n);break;case 21:Zn(e,t,n);break;case 22:n.mode&1?(it=(r=it)||n.memoizedState!==null,Zn(e,t,n),it=r):Zn(e,t,n);break;default:Zn(e,t,n)}}function Dh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _k),t.forEach(function(r){var i=Ik.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Kt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xk(r/1960))-r,10e?16:e,Yn===null)var r=!1;else{if(e=Yn,Yn=null,la=0,ae&6)throw Error(M(331));var i=ae;for(ae|=4,W=e.current;W!==null;){var o=W,s=o.child;if(W.flags&16){var l=o.deletions;if(l!==null){for(var u=0;uNe()-Kf?Pr(e,0):Zf|=n),_t(e,t)}function Mg(e,t){t===0&&(e.mode&1?(t=hl,hl<<=1,!(hl&130023424)&&(hl=4194304)):t=1);var n=ut();e=On(e,t),e!==null&&(ls(e,t,n),_t(e,n))}function Ck(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Mg(e,n)}function Ik(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Mg(e,n)}var jg;jg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||gt.current)ht=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ht=!1,hk(e,t,n);ht=!!(e.flags&131072)}else ht=!1,ke&&t.flags&1048576&&U0(t,Jl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ml(e,t),e=t.pendingProps;var i=Pi(t,ot.current);Ti(t,n),i=Bf(null,t,r,e,i,n);var o=$f();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,yt(r)?(o=!0,Xl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Mf(t),i.updater=ga,t.stateNode=i,i._reactInternals=t,Qc(t,r,e,n),t=ef(null,t,r,!0,o,n)):(t.tag=0,ke&&o&&Of(t),at(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ml(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Tk(r),e=qt(r,e),i){case 0:t=Yc(null,t,r,e,n);break e;case 1:t=Th(null,t,r,e,n);break e;case 11:t=Ih(null,t,r,e,n);break e;case 14:t=Oh(null,t,r,qt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qt(r,i),Yc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qt(r,i),Th(e,t,r,i,n);case 3:e:{if(vg(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,V0(e,t),ta(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=ji(Error(M(423)),t),t=Ah(e,t,r,n,i);break e}else if(r!==i){i=ji(Error(M(424)),t),t=Ah(e,t,r,n,i);break e}else for(bt=rr(t.stateNode.containerInfo.firstChild),Et=t,ke=!0,Qt=null,n=K0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Li(),r===i){t=Tn(e,t,n);break e}at(e,t,r,n)}t=t.child}return t;case 5:return q0(t),e===null&&Kc(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Hc(r,i)?s=null:o!==null&&Hc(r,o)&&(t.flags|=32),wg(e,t),at(e,t,s,n),t.child;case 6:return e===null&&Kc(t),null;case 13:return xg(e,t,n);case 4:return jf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Di(t,null,r,n):at(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qt(r,i),Ih(e,t,r,i,n);case 7:return at(e,t,t.pendingProps,n),t.child;case 8:return at(e,t,t.pendingProps.children,n),t.child;case 12:return at(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,_e(Yl,r._currentValue),r._currentValue=s,o!==null)if(en(o.value,s)){if(o.children===i.children&&!gt.current){t=Tn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var u=l.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Rn(-1,n&-n),u.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var a=c.pending;a===null?u.next=u:(u.next=a.next,a.next=u),c.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),qc(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(M(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),qc(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}at(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ti(t,n),i=zt(i),r=r(i),t.flags|=1,at(e,t,r,n),t.child;case 14:return r=t.type,i=qt(r,t.pendingProps),i=qt(r.type,i),Oh(e,t,r,i,n);case 15:return yg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qt(r,i),Ml(e,t),t.tag=1,yt(r)?(e=!0,Xl(t)):e=!1,Ti(t,n),G0(t,r,i),Qc(t,r,i,n),ef(null,t,r,!0,e,n);case 19:return Sg(e,t,n);case 22:return _g(e,t,n)}throw Error(M(156,t.tag))};function zg(e,t){return c0(e,t)}function Ok(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 Mt(e,t,n,r){return new Ok(e,t,n,r)}function Jf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Tk(e){if(typeof e=="function")return Jf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yf)return 11;if(e===_f)return 14}return 2}function lr(e,t){var n=e.alternate;return n===null?(n=Mt(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 Fl(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Jf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case hi:return Lr(n.children,i,o,t);case gf:s=8,i|=8;break;case xc:return e=Mt(12,n,t,i|2),e.elementType=xc,e.lanes=o,e;case Sc:return e=Mt(13,n,t,i),e.elementType=Sc,e.lanes=o,e;case kc:return e=Mt(19,n,t,i),e.elementType=kc,e.lanes=o,e;case Zh:return va(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wh:s=10;break e;case Gh:s=9;break e;case yf:s=11;break e;case _f:s=14;break e;case Kn:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Mt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Lr(e,t,n,r){return e=Mt(7,e,r,t),e.lanes=n,e}function va(e,t,n,r){return e=Mt(22,e,r,t),e.elementType=Zh,e.lanes=n,e.stateNode={isHidden:!1},e}function _c(e,t,n){return e=Mt(6,e,null,t),e.lanes=n,e}function wc(e,t,n){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ak(e,t,n,r,i){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=nc(0),this.expirationTimes=nc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Yf(e,t,n,r,i,o,s,l,u){return e=new Ak(e,t,n,l,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Mt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mf(o),e}function Nk(e,t,n){var r=3{"use strict";y();w();_();function Hg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Hg)}catch(e){console.error(e)}}Hg(),Vg.exports=$g()});var Gg=Te(id=>{"use strict";y();w();_();var Wg=rd();id.createRoot=Wg.createRoot,id.hydrateRoot=Wg.hydrateRoot;var TO});var Kg=Te(ld=>{"use strict";y();w();_();var zk=Symbol.for("react.fragment");ld.Fragment=zk;ld.jsxDEV=void 0});var Xg=Te((mT,qg)=>{"use strict";y();w();_();qg.exports=Kg()});var Jg=Te(Ea=>{"use strict";y();w();_();var Fk=Ze(),Uk=Symbol.for("react.element"),Bk=Symbol.for("react.fragment"),$k=Object.prototype.hasOwnProperty,Hk=Fk.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Vk={key:!0,ref:!0,__self:!0,__source:!0};function Qg(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)$k.call(t,r)&&!Vk.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Uk,type:e,key:o,ref:s,props:i,_owner:Hk.current}}Ea.Fragment=Bk;Ea.jsx=Qg;Ea.jsxs=Qg});var me=Te((ST,Yg)=>{"use strict";y();w();_();Yg.exports=Jg()});var Sd=Te((pN,Py)=>{y();w();_();var Jk="Expected a function",Ey="__lodash_hash_undefined__",Ry=1/0,Yk="[object Function]",e2="[object GeneratorFunction]",t2="[object Symbol]",n2=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r2=/^\w*$/,i2=/^\./,o2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s2=/[\\^$.*+?()[\]{}|]/g,l2=/\\(\\)?/g,a2=/^\[object .+?Constructor\]$/,u2=typeof global=="object"&&global&&global.Object===Object&&global,c2=typeof self=="object"&&self&&self.Object===Object&&self,_d=u2||c2||Function("return this")();function f2(e,t){return e?.[t]}function d2(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var p2=Array.prototype,m2=Function.prototype,Cy=Object.prototype,yd=_d["__core-js_shared__"],xy=function(){var e=/[^.]+$/.exec(yd&&yd.keys&&yd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Iy=m2.toString,wd=Cy.hasOwnProperty,Oy=Cy.toString,h2=RegExp("^"+Iy.call(wd).replace(s2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Sy=_d.Symbol,g2=p2.splice,y2=Ty(_d,"Map"),ps=Ty(Object,"create"),ky=Sy?Sy.prototype:void 0,by=ky?ky.toString:void 0;function Vr(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1}function C2(e,t){var n=this.__data__,r=Ca(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}Vi.prototype.clear=k2;Vi.prototype.delete=b2;Vi.prototype.get=E2;Vi.prototype.has=R2;Vi.prototype.set=C2;function Wr(e){var t=-1,n=e?e.length:0;for(this.clear();++t{"use strict";y();w();_();Object.defineProperty(Je,"__esModule",{value:!0});Je.output=Je.exists=Je.hash=Je.bytes=Je.bool=Je.number=Je.isBytes=void 0;function Oa(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}Je.number=Oa;function $y(e){if(typeof e!="boolean")throw new Error(`boolean expected, not ${e}`)}Je.bool=$y;function Hy(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}Je.isBytes=Hy;function bd(e,...t){if(!Hy(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}Je.bytes=bd;function Vy(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");Oa(e.outputLen),Oa(e.blockLen)}Je.hash=Vy;function Wy(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}Je.exists=Wy;function Gy(e,t){bd(e);let n=t.outputLen;if(e.length{"use strict";y();w();_();Object.defineProperty(X,"__esModule",{value:!0});X.add5L=X.add5H=X.add4H=X.add4L=X.add3H=X.add3L=X.add=X.rotlBL=X.rotlBH=X.rotlSL=X.rotlSH=X.rotr32L=X.rotr32H=X.rotrBL=X.rotrBH=X.rotrSL=X.rotrSH=X.shrSL=X.shrSH=X.toBig=X.split=X.fromBig=void 0;var Ta=BigInt(2**32-1),Rd=BigInt(32);function Cd(e,t=!1){return t?{h:Number(e&Ta),l:Number(e>>Rd&Ta)}:{h:Number(e>>Rd&Ta)|0,l:Number(e&Ta)|0}}X.fromBig=Cd;function Zy(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0);X.toBig=Ky;var qy=(e,t,n)=>e>>>n;X.shrSH=qy;var Xy=(e,t,n)=>e<<32-n|t>>>n;X.shrSL=Xy;var Qy=(e,t,n)=>e>>>n|t<<32-n;X.rotrSH=Qy;var Jy=(e,t,n)=>e<<32-n|t>>>n;X.rotrSL=Jy;var Yy=(e,t,n)=>e<<64-n|t>>>n-32;X.rotrBH=Yy;var e_=(e,t,n)=>e>>>n-32|t<<64-n;X.rotrBL=e_;var t_=(e,t)=>t;X.rotr32H=t_;var n_=(e,t)=>e;X.rotr32L=n_;var r_=(e,t,n)=>e<>>32-n;X.rotlSH=r_;var i_=(e,t,n)=>t<>>32-n;X.rotlSL=i_;var o_=(e,t,n)=>t<>>64-n;X.rotlBH=o_;var s_=(e,t,n)=>e<>>64-n;X.rotlBL=s_;function l_(e,t,n,r){let i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:i|0}}X.add=l_;var a_=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0);X.add3L=a_;var u_=(e,t,n,r)=>t+n+r+(e/2**32|0)|0;X.add3H=u_;var c_=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0);X.add4L=c_;var f_=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0;X.add4H=f_;var d_=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0);X.add5L=d_;var p_=(e,t,n,r,i,o)=>t+n+r+i+o+(e/2**32|0)|0;X.add5H=p_;var q2={fromBig:Cd,split:Zy,toBig:Ky,shrSH:qy,shrSL:Xy,rotrSH:Qy,rotrSL:Jy,rotrBH:Yy,rotrBL:e_,rotr32H:t_,rotr32L:n_,rotlSH:r_,rotlSL:i_,rotlBH:o_,rotlBL:s_,add:l_,add3L:a_,add3H:u_,add4L:c_,add4H:f_,add5H:p_,add5L:d_};X.default=q2});var h_=Te(Aa=>{"use strict";y();w();_();Object.defineProperty(Aa,"__esModule",{value:!0});Aa.crypto=void 0;Aa.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0});var __=Te(K=>{"use strict";y();w();_();Object.defineProperty(K,"__esModule",{value:!0});K.randomBytes=K.wrapXOFConstructorWithOpts=K.wrapConstructorWithOpts=K.wrapConstructor=K.checkOpts=K.Hash=K.concatBytes=K.toBytes=K.utf8ToBytes=K.asyncLoop=K.nextTick=K.hexToBytes=K.bytesToHex=K.byteSwap32=K.byteSwapIfBE=K.byteSwap=K.isLE=K.rotl=K.rotr=K.createView=K.u32=K.u8=K.isBytes=void 0;var Id=h_(),Td=Ed();function X2(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}K.isBytes=X2;var Q2=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);K.u8=Q2;var J2=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));K.u32=J2;var Y2=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);K.createView=Y2;var eb=(e,t)=>e<<32-t|e>>>t;K.rotr=eb;var tb=(e,t)=>e<>>32-t>>>0;K.rotl=tb;K.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;var nb=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;K.byteSwap=nb;K.byteSwapIfBE=K.isLE?e=>e:e=>(0,K.byteSwap)(e);function rb(e){for(let t=0;tt.toString(16).padStart(2,"0"));function ob(e){(0,Td.bytes)(e);let t="";for(let n=0;n=Dn._0&&e<=Dn._9)return e-Dn._0;if(e>=Dn._A&&e<=Dn._F)return e-(Dn._A-10);if(e>=Dn._a&&e<=Dn._f)return e-(Dn._a-10)}function sb(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);let t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(n);for(let i=0,o=0;i{};K.nextTick=lb;async function ab(e,t,n){let r=Date.now();for(let i=0;i=0&&oe().update(Na(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}K.wrapConstructor=db;function pb(e){let t=(r,i)=>e(i).update(Na(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}K.wrapConstructorWithOpts=pb;function mb(e){let t=(r,i)=>e(i).update(Na(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}K.wrapXOFConstructorWithOpts=mb;function hb(e=32){if(Id.crypto&&typeof Id.crypto.getRandomValues=="function")return Id.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}K.randomBytes=hb});var R_=Te(we=>{"use strict";y();w();_();Object.defineProperty(we,"__esModule",{value:!0});we.shake256=we.shake128=we.keccak_512=we.keccak_384=we.keccak_256=we.keccak_224=we.sha3_512=we.sha3_384=we.sha3_256=we.sha3_224=we.Keccak=we.keccakP=void 0;var Gi=Ed(),gs=m_(),Mn=__(),x_=[],S_=[],k_=[],gb=BigInt(0),hs=BigInt(1),yb=BigInt(2),_b=BigInt(7),wb=BigInt(256),vb=BigInt(113);for(let e=0,t=hs,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],x_.push(2*(5*r+n)),S_.push((e+1)*(e+2)/2%64);let i=gb;for(let o=0;o<7;o++)t=(t<>_b)*vb)%wb,t&yb&&(i^=hs<<(hs<n>32?(0,gs.rotlBH)(e,t,n):(0,gs.rotlSH)(e,t,n),v_=(e,t,n)=>n>32?(0,gs.rotlBL)(e,t,n):(0,gs.rotlSL)(e,t,n);function b_(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let s=0;s<10;s++)n[s]=e[s]^e[s+10]^e[s+20]^e[s+30]^e[s+40];for(let s=0;s<10;s+=2){let l=(s+8)%10,u=(s+2)%10,c=n[u],a=n[u+1],p=w_(c,a,1)^n[l],f=v_(c,a,1)^n[l+1];for(let d=0;d<50;d+=10)e[s+d]^=p,e[s+d+1]^=f}let i=e[2],o=e[3];for(let s=0;s<24;s++){let l=S_[s],u=w_(i,o,l),c=v_(i,o,l),a=x_[s];i=e[a],o=e[a+1],e[a]=u,e[a+1]=c}for(let s=0;s<50;s+=10){for(let l=0;l<10;l++)n[l]=e[s+l];for(let l=0;l<10;l++)e[s+l]^=~n[(l+2)%10]&n[(l+4)%10]}e[0]^=xb[r],e[1]^=Sb[r]}n.fill(0)}we.keccakP=b_;var ys=class e extends Mn.Hash{constructor(t,n,r,i=!1,o=24){if(super(),this.blockLen=t,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,Gi.number)(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,Mn.u32)(this.state)}keccak(){Mn.isLE||(0,Mn.byteSwap32)(this.state32),b_(this.state32,this.rounds),Mn.isLE||(0,Mn.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(t){(0,Gi.exists)(this);let{blockLen:n,state:r}=this;t=(0,Mn.toBytes)(t);let i=t.length;for(let o=0;o=r&&this.keccak();let s=Math.min(r-this.posOut,o-i);t.set(n.subarray(this.posOut,this.posOut+s),i),this.posOut+=s,i+=s}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return(0,Gi.number)(t),this.xofInto(new Uint8Array(t))}digestInto(t){if((0,Gi.output)(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:n,suffix:r,outputLen:i,rounds:o,enableXOF:s}=this;return t||(t=new e(n,r,i,s,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=r,t.outputLen=i,t.enableXOF=s,t.destroyed=this.destroyed,t}};we.Keccak=ys;var gr=(e,t,n)=>(0,Mn.wrapConstructor)(()=>new ys(t,e,n));we.sha3_224=gr(6,144,224/8);we.sha3_256=gr(6,136,256/8);we.sha3_384=gr(6,104,384/8);we.sha3_512=gr(6,72,512/8);we.keccak_224=gr(1,144,224/8);we.keccak_256=gr(1,136,256/8);we.keccak_384=gr(1,104,384/8);we.keccak_512=gr(1,72,512/8);var E_=(e,t,n)=>(0,Mn.wrapXOFConstructorWithOpts)((r={})=>new ys(t,e,r.dkLen===void 0?n:r.dkLen,!0));we.shake128=E_(31,168,128/8);we.shake256=E_(31,136,256/8)});var L_=Te((T4,yr)=>{y();w();_();var{sha3_512:kb}=R_(),I_=24,_s=32,Ad=(e=4,t=Math.random)=>{let n="";for(;n.lengthO_(kb(e)).toString(36).slice(1),C_=Array.from({length:26},(e,t)=>String.fromCharCode(t+97)),bb=e=>C_[Math.floor(e()*C_.length)],A_=({globalObj:e=typeof global<"u"?global:typeof window<"u"?window:{},random:t=Math.random}={})=>{let n=Object.keys(e).toString(),r=n.length?n+Ad(_s,t):Ad(_s,t);return T_(r).substring(0,_s)},N_=e=>()=>e++,Eb=476782367,P_=({random:e=Math.random,counter:t=N_(Math.floor(e()*Eb)),length:n=I_,fingerprint:r=A_({random:e})}={})=>function(){let o=bb(e),s=Date.now().toString(36),l=t().toString(36),u=Ad(n,e),c=`${s+u+l+r}`;return`${o+T_(c).substring(1,n)}`},Rb=P_(),Cb=(e,{minLength:t=2,maxLength:n=_s}={})=>{let r=e.length,i=/^[0-9a-z]+$/;try{if(typeof e=="string"&&r>=t&&r<=n&&i.test(e))return!0}finally{}return!1};yr.exports.getConstants=()=>({defaultLength:I_,bigLength:_s});yr.exports.init=P_;yr.exports.createId=Rb;yr.exports.bufToBigInt=O_;yr.exports.createCounter=N_;yr.exports.createFingerprint=A_;yr.exports.isCuid=Cb});var Pa=Te((L4,ws)=>{y();w();_();var{createId:Ib,init:Ob,getConstants:Tb,isCuid:Ab}=L_();ws.exports.createId=Ib;ws.exports.init=Ob;ws.exports.getConstants=Tb;ws.exports.isCuid=Ab});var tp=Te((qL,F1)=>{y();w();_();var mE=1/0,hE="[object Symbol]",gE=/^\s+|\s+$/g,ep="\\ud800-\\udfff",I1="\\u0300-\\u036f\\ufe20-\\ufe23",O1="\\u20d0-\\u20f0",T1="\\ufe0e\\ufe0f",yE="["+ep+"]",Jd="["+I1+O1+"]",Yd="\\ud83c[\\udffb-\\udfff]",_E="(?:"+Jd+"|"+Yd+")",A1="[^"+ep+"]",N1="(?:\\ud83c[\\udde6-\\uddff]){2}",P1="[\\ud800-\\udbff][\\udc00-\\udfff]",L1="\\u200d",D1=_E+"?",M1="["+T1+"]?",wE="(?:"+L1+"(?:"+[A1,N1,P1].join("|")+")"+M1+D1+")*",vE=M1+D1+wE,xE="(?:"+[A1+Jd+"?",Jd,N1,P1,yE].join("|")+")",SE=RegExp(Yd+"(?="+Yd+")|"+xE+vE,"g"),kE=RegExp("["+L1+ep+I1+O1+T1+"]"),bE=typeof global=="object"&&global&&global.Object===Object&&global,EE=typeof self=="object"&&self&&self.Object===Object&&self,RE=bE||EE||Function("return this")();function CE(e){return e.split("")}function IE(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o-1;);return n}function AE(e,t){for(var n=e.length;n--&&j1(t,e[n],0)>-1;);return n}function NE(e){return kE.test(e)}function b1(e){return NE(e)?PE(e):CE(e)}function PE(e){return e.match(SE)||[]}var LE=Object.prototype,DE=LE.toString,E1=RE.Symbol,R1=E1?E1.prototype:void 0,C1=R1?R1.toString:void 0;function ME(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=r?e:ME(e,t,n)}function zE(e){return!!e&&typeof e=="object"}function FE(e){return typeof e=="symbol"||zE(e)&&DE.call(e)==hE}function UE(e){return e==null?"":z1(e)}function BE(e,t,n){if(e=UE(e),e&&(n||t===void 0))return e.replace(gE,"");if(!e||!(t=z1(t)))return e;var r=b1(e),i=b1(t),o=TE(r,i),s=AE(r,i)+1;return jE(r,o,s).join("")}F1.exports=BE});var Nw=Te((vF,Aw)=>{"use strict";y();w();_();function eC(e,t){for(;e.length{y();w();_();(function(e,t){"use strict";var n="1.0.38",r="",i="?",o="function",s="undefined",l="object",u="string",c="major",a="model",p="name",f="type",d="vendor",h="version",S="architecture",k="console",m="mobile",g="tablet",v="smarttv",x="wearable",N="embedded",L=500,P="Amazon",D="Apple",V="ASUS",F="BlackBerry",G="Browser",Ge="Chrome",ui="Edge",O="Firefox",B="Google",U="Huawei",j="LG",H="Microsoft",q="Motorola",te="Opera",J="Samsung",ue="Sharp",le="Sony",pt="Xiaomi",Nt="Zebra",Wn="Facebook",lm="Chromium OS",am="Mac OS",yx=function(ie,de){var ee={};for(var ge in ie)de[ge]&&de[ge].length%2===0?ee[ge]=de[ge].concat(ie[ge]):ee[ge]=ie[ge];return ee},tl=function(ie){for(var de={},ee=0;ee0?fe.length===2?typeof fe[1]==o?this[fe[0]]=fe[1].call(this,on):this[fe[0]]=fe[1]:fe.length===3?typeof fe[1]===o&&!(fe[1].exec&&fe[1].test)?this[fe[0]]=on?fe[1].call(this,on,fe[2]):t:this[fe[0]]=on?on.replace(fe[1],fe[2]):t:fe.length===4&&(this[fe[0]]=on?fe[3].call(this,on.replace(fe[1],fe[2])):t):this[fe]=on||t;ee+=2}},Mu=function(ie,de){for(var ee in de)if(typeof de[ee]===l&&de[ee].length>0){for(var ge=0;ge2&&(Y[a]="iPad",Y[f]=g),Y},this.getEngine=function(){var Y={};return Y[p]=t,Y[h]=t,_o.call(Y,ge,rn.engine),Y},this.getOS=function(){var Y={};return Y[p]=t,Y[h]=t,_o.call(Y,ge,rn.os),fe&&!Y[p]&&xn&&xn.platform&&xn.platform!="Unknown"&&(Y[p]=xn.platform.replace(/chrome os/i,lm).replace(/macos/i,am)),Y},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return ge},this.setUA=function(Y){return ge=typeof Y===u&&Y.length>L?Du(Y,L):Y,this},this.setUA(ge),this};St.VERSION=n,St.BROWSER=tl([p,h,c]),St.CPU=tl([S]),St.DEVICE=tl([a,d,f,k,m,v,g,x,N]),St.ENGINE=St.OS=tl([p,h]),typeof el!==s?(typeof Lu!==s&&Lu.exports&&(el=Lu.exports=St),el.UAParser=St):typeof define===o&&define.amd?define(function(){return St}):typeof e!==s&&(e.UAParser=St);var ci=typeof e!==s&&(e.jQuery||e.Zepto);if(ci&&!ci.ua){var nl=new St;ci.ua=nl.getResult(),ci.ua.get=function(){return nl.getUA()},ci.ua.set=function(ie){nl.setUA(ie);var de=nl.getResult();for(var ee in de)ci.ua[ee]=de[ee]}}})(typeof window=="object"?window:el)});y();w();_();var hx=Z(Gg());y();w();_();y();w();_();var Bi=Z(Ze()),pr=(e,t,n)=>{let[,r]=(0,Bi.useState)({}),o=(0,Bi.useRef)({data:e,deps:n||[],ready:!1,_loading:{},lastRender:0,lastRenderCount:0,delayedRender:!1,delayedRenderTimeout:null,overRenderTimeout:null}).current;if((0,Bi.useEffect)(()=>{o.ready=!0,t&&t({init:!0,setDelayedRender(s){o.delayedRender=s}})},[]),o.ready===!1)o._loading={},o.data.render=()=>{if(o.ready){if(o.delayedRender){Date.now()-o.lastRender>100?(o.lastRender=Date.now(),r({})):(clearTimeout(o.delayedRenderTimeout),o.delayedRenderTimeout=setTimeout(o.data.render,50));return}if(Date.now()-o.lastRender<300?o.lastRenderCount++:o.lastRenderCount=0,o.lastRenderCount>300){clearTimeout(o.overRenderTimeout),o.overRenderTimeout=setTimeout(()=>{o.lastRender=Date.now(),r({})},500),console.error("local.render more than 300 times in less than 300ms");return}o.lastRender=Date.now(),r({})}};else if(o.deps.length>0&&n){for(let[s,l]of Object.entries(n))if(o.deps[s]!==l){o.deps[s]=l,t&&setTimeout(()=>{t({init:!1,setDelayedRender(u){o.delayedRender=u}})});break}}return o.data};y();w();_();var Zg=(e,t)=>new Promise(async n=>{if(typeof e=="function"){let r=null;if(t&&(r=setTimeout(n,t)),await e()){clearTimeout(r),n();return}let i=0,o=setInterval(async()=>{await e()&&(r&&clearTimeout(r),clearInterval(o),n()),i>100&&clearInterval(o)},10)}else typeof e=="number"&&setTimeout(()=>{n()},e)});y();w();_();var jk=Z(Ze());y();w();_();var Nn=Z(Ze());y();w();_();function od(e){let t=new WeakMap;function n(r,i=[]){if(!(r!==null&&typeof r=="object"))return r;let o=t.get(r);if(o)return`[Circular *${o.join(".")}]`;t.set(r,i);let s=Array.isArray(r)?[]:{};for(let[l,u]of Object.entries(r))s[l]=n(u,[...i,l]);return t.delete(r),s}return n(e)}var sd=(0,Nn.createContext)({global:{},render:()=>{}});var mr=(e,t)=>{let n=(0,Nn.useContext)(sd),{global:r,render:i}=n;r[t]||(r[t]=e),(0,Nn.useEffect)(()=>{let s=null;return()=>{typeof s=="function"?s():s instanceof Promise&&s.then(l=>{typeof l=="function"&&l()})}},[]);let o=r[t];return o&&(o.render=s=>{s&&(r[t]=void 0),(0,Nn.startTransition)(i)}),o},$i=od;var $T=Z(Ze());y();w();_();y();w();_();y();w();_();var ad=Z(Ze()),ey=Z(rd()),ty=Z(Xg()),ny=Z(me()),ry=()=>{let e=typeof window=="object"?window:globalThis;e.React=ad.default,e.ReactDOM=ey.default,e.JSXRuntime=ny.default,e.JSXDevRuntime=ty.default,e.Fragment=ad.default.Fragment};y();w();_();y();w();_();var Wk={data:""},oy=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Wk,sy=e=>{let t=oy(e),n=t.data;return t.data="",n},Gk=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Zk=/\/\*[^]*?\*\/| +/g,iy=/\n+/g,$r=(e,t)=>{let n="",r="",i="";for(let o in e){let s=e[o];o[0]=="@"?o[1]=="i"?n=o+" "+s+";":r+=o[1]=="f"?$r(s,o):o+"{"+$r(s,o[1]=="k"?"":t)+"}":typeof s=="object"?r+=$r(s,t?t.replace(/([^,])+/g,l=>o.replace(/(^:.*)|([^,])+/g,u=>/&/.test(u)?u.replace(/&/g,l):l?l+" "+u:u)):o):s!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=$r.p?$r.p(o,s):o+":"+s+";")}return n+(t&&i?t+"{"+i+"}":i)+r},Pn={},ly=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+ly(e[n]);return t}return e},Kk=(e,t,n,r,i)=>{let o=ly(e),s=Pn[o]||(Pn[o]=(u=>{let c=0,a=11;for(;c>>0;return"go"+a})(o));if(!Pn[s]){let u=o!==e?e:(c=>{let a,p,f=[{}];for(;a=Gk.exec(c.replace(Zk,""));)a[4]?f.shift():a[3]?(p=a[3].replace(iy," ").trim(),f.unshift(f[0][p]=f[0][p]||{})):f[0][a[1]]=a[2].replace(iy," ").trim();return f[0]})(e);Pn[s]=$r(i?{["@keyframes "+s]:u}:u,n?"":"."+s)}let l=n&&Pn.g?Pn.g:null;return n&&(Pn.g=Pn[s]),((u,c,a,p)=>{p?c.data=c.data.replace(p,u):c.data.indexOf(u)===-1&&(c.data=a?u+c.data:c.data+u)})(Pn[s],t,r,l),s},qk=(e,t,n)=>e.reduce((r,i,o)=>{let s=t[o];if(s&&s.call){let l=s(n),u=l&&l.props&&l.props.className||/^go/.test(l)&&l;s=u?"."+u:l&&typeof l=="object"?l.props?"":$r(l,""):l===!1?"":l}return r+i+(s??"")},"");function Ra(e){let t=this||{},n=e.call?e(t.p):e;return Kk(n.unshift?n.raw?qk(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,oy(t.target),t.g,t.o,t.k)}var TT=Ra.bind({g:1}),AT=Ra.bind({k:1});var ay=async(e=!0)=>{let t=typeof window=="object"?window:globalThis;e&&await Zg(()=>t.__SRV_URL__),t.prasiContext={global:{},render(){}};let n=window.location,r=n.protocol.indexOf("http")===0?n.hostname:"localhost",i=n.protocol!="https:"||/localhost|127.0.0.1|0.0.0.0/.test(r)?"http":"https";if(t.__SRV_URL__){t.serverurl=t.__SRV_URL__;let s=new URL(t.serverurl);(s.hostname==="localhost"||s.hostname==="127.0.0.1")&&(s.hostname=n.hostname,s.pathname=s.pathname==="/"?"":s.pathname,t.serverurl=s.toString(),t.serverurl.endsWith("/")&&(t.serverurl=t.serverurl.substring(0,t.serverurl.length-1)))}let o=n.port;t.baseurl=i+"://"+r+(o?":"+o:"")+"/",t.basepath||(t.basepath="/"),t.css=Ra,t.extractCss=sy,t.pathname=n.pathname,t.cx=(...s)=>{let l=[];return s.filter(u=>u?(typeof u=="string"&&u.trim(),!0):!1).forEach(u=>{if(Array.isArray(u))for(let c of u)typeof c=="string"&&c.trim()&&l.push(c.trim());else l.push(u.trim())}),l.join(" ")},t.navigate=s=>{let l=s;if(typeof t.navigateOverride=="function"&&(l=t.navigateOverride(s),!l))return null;history.pushState({prevUrl:window.location.href},"",l),t.pathname=s,t.prasiContext&&t.prasiContext.render&&t.prasiContext.render()},typeof window=="object"&&window.addEventListener("popstate",()=>{let s=navigator.serviceWorker.controller;if(s&&s.postMessage({type:"add-cache",url:n.href}),t.prasiContext.popState){t.prasiContext.popState();return}if(t.preventPopRender){t.preventPopRender=!1;return}t.prasiContext&&t.prasiContext.render&&(t.pathname=n.pathname,t.prasiContext.render())})};y();w();_();var ud=window,z={root:null,url(...e){let t=e.map(r=>Array.isArray(r)?r.join(""):r).join(""),n=this.root.toString();return n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")?n+t:n+"/"+t},get pathname(){let e=location.pathname.substring(z.root.pathname.length);return e.startsWith("/")?e:`/${e}`},site:{id:ud._prasi?.site_id},init_local_effect:{},mode:"",route:{status:"init",pages:[],router:null},comp:{list:{},pending:{}},layout:{id:"",root:null,meta:null},cache:{urls:new Set},page:{id:"",url:"",root:null,meta:null,cache:{}}},uy=()=>{if(!z.root){let e=new URL(location.href);ud._prasi.basepath&&(e.pathname=ud._prasi.basepath),z.root=new URL(`${e.protocol}//${e.host}${e.pathname}`),z.root.pathname.endsWith("/")&&(z.root.pathname=z.root.pathname.substring(0,z.root.length-1))}};y();w();_();y();w();_();function fd(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function dd(e,t){let n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);let r=fd(n);return(i,o)=>r.then(s=>o(s.transaction(t,i).objectStore(t)))}var cd;function cy(){return cd||(cd=dd("keyval-store","keyval")),cd}function fs(e,t=cy()){return t("readonly",n=>fd(n.get(e)))}function Hr(e,t,n=cy()){return n("readwrite",r=>(r.put(t,e),fd(r.transaction)))}var px=Z(Ze());y();w();_();y();w();_();y();w();_();var fy=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Xk(e){return typeof e=="string"&&fy.test(e)}var pd=Xk;y();w();_();var Hi=Z(me()),dy=window,md=({children:e,back:t})=>dy.ContentNotFound?(0,Hi.jsx)(dy.ContentNotFound,{}):(0,Hi.jsxs)("div",{className:"flex items-center justify-center w-full h-full fixed inset-0 flex-col",children:[(0,Hi.jsx)("div",{children:e}),(0,Hi.jsxs)("div",{className:"border mt-2 rounded-md p-2 cursor-pointer",onClick:t||(()=>{history.back()}),children:[" ","Go Back"]})]});y();w();_();var py=Z(Ze());var Qe=Z(me()),hd=window,ds=({children:e,className:t,show:n,backdrop:r,note:i,alt:o,pointer:s})=>{let l=pr({icon:(0,Qe.jsx)("div",{className:"px-4 py-1",children:"Loading..."}),value:.111,ival:null},()=>{});(0,py.useEffect)(()=>(l.ival=setInterval(()=>{l.value+=.1333,l.value>=1.3&&(l.value=0),l.render()},200),hd.loadingIcon&&(l.icon=(0,Qe.jsx)("img",{alt:"loading",src:hd.loadingIcon,className:css` +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function gc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Jc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var dk=typeof WeakMap=="function"?WeakMap:Map;function hg(e,t,n){n=Rn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){sa||(sa=!0,uf=r),Jc(e,t)},n}function gg(e,t,n){n=Rn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Jc(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Jc(e,t),typeof r!="function"&&(or===null?or=new Set([this]):or.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Eh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new dk;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Rk.bind(null,e,t,n),t.then(e,e))}function Rh(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 Ch(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=Rn(-1,1),t.tag=2,ir(n,t,1))),n.lanes|=1),e)}var pk=An.ReactCurrentOwner,ht=!1;function at(e,t,n,r){t.child=e===null?K0(t,null,n,r):Di(t,e.child,n,r)}function Ih(e,t,n,r,i){n=n.render;var o=t.ref;return Ti(t,i),r=Bf(e,t,n,r,o,i),n=$f(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Tn(e,t,i)):(ke&&n&&Of(t),t.flags|=1,at(e,t,r,i),t.child)}function Oh(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Jf(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,yg(e,t,o,r,i)):(e=Fl(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Qo,n(s,r)&&e.ref===t.ref)return Tn(e,t,i)}return t.flags|=1,e=lr(o,r),e.ref=t.ref,e.return=t,t.child=e}function yg(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Qo(o,r)&&e.ref===t.ref)if(ht=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(ht=!0);else return t.lanes=e.lanes,Tn(e,t,i)}return Yc(e,t,n,r,i)}function _g(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_e(Ei,kt),kt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_e(Ei,kt),kt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,_e(Ei,kt),kt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,_e(Ei,kt),kt|=r;return at(e,t,i,n),t.child}function wg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Yc(e,t,n,r,i){var o=yt(n)?Dr:ot.current;return o=Pi(t,o),Ti(t,i),n=Bf(e,t,n,r,o,i),r=$f(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Tn(e,t,i)):(ke&&r&&Of(t),t.flags|=1,at(e,t,n,i),t.child)}function Th(e,t,n,r,i){if(yt(n)){var o=!0;Xl(t)}else o=!1;if(Ti(t,i),t.stateNode===null)Ml(e,t),G0(t,n,r),Qc(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var u=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=zt(c):(c=yt(n)?Dr:ot.current,c=Pi(t,c));var a=n.getDerivedStateFromProps,p=typeof a=="function"||typeof s.getSnapshotBeforeUpdate=="function";p||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||u!==c)&&xh(t,s,r,c),qn=!1;var f=t.memoizedState;s.state=f,ta(t,r,s,i),u=t.memoizedState,l!==r||f!==u||gt.current||qn?(typeof a=="function"&&(Xc(t,n,a,r),u=t.memoizedState),(l=qn||vh(t,n,l,r,f,u,c))?(p||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=c,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,V0(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:qt(t.type,l),s.props=c,p=t.pendingProps,f=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=zt(u):(u=yt(n)?Dr:ot.current,u=Pi(t,u));var d=n.getDerivedStateFromProps;(a=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==p||f!==u)&&xh(t,s,r,u),qn=!1,f=t.memoizedState,s.state=f,ta(t,r,s,i);var h=t.memoizedState;l!==p||f!==h||gt.current||qn?(typeof d=="function"&&(Xc(t,n,d,r),h=t.memoizedState),(c=qn||vh(t,n,c,r,f,h,u)||!1)?(a||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,h,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,h,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),s.props=r,s.state=h,s.context=u,r=c):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return ef(e,t,n,r,o,i)}function ef(e,t,n,r,i,o){wg(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&hh(t,n,!1),Tn(e,t,o);r=t.stateNode,pk.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Di(t,e.child,null,o),t.child=Di(t,null,l,o)):at(e,t,l,o),t.memoizedState=r.state,i&&hh(t,n,!0),t.child}function vg(e){var t=e.stateNode;t.pendingContext?mh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&mh(e,t.context,!1),jf(e,t.containerInfo)}function Ah(e,t,n,r,i){return Li(),Af(i),t.flags|=256,at(e,t,n,r),t.child}var tf={dehydrated:null,treeContext:null,retryLane:0};function nf(e){return{baseLanes:e,cachePool:null,transitions:null}}function xg(e,t,n){var r=t.pendingProps,i=Ee.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),_e(Ee,i&1),e===null)return Kc(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):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=va(s,r,0,null),e=Lr(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=nf(n),t.memoizedState=tf,e):Wf(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return mk(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=lr(i,u),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=lr(l,o):(o=Lr(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?nf(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=tf,r}return o=e.child,e=o.sibling,r=lr(o,{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 Wf(e,t){return t=va({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Cl(e,t,n,r){return r!==null&&Af(r),Di(t,e.child,null,n),e=Wf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function mk(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=gc(Error(M(422))),Cl(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=va({mode:"visible",children:r.children},i,0,null),o=Lr(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Di(t,e.child,null,s),t.child.memoizedState=nf(s),t.memoizedState=tf,o);if(!(t.mode&1))return Cl(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(M(419)),r=gc(o,r,void 0),Cl(e,t,s,r)}if(l=(s&e.childLanes)!==0,ht||l){if(r=Be,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,On(e,i),Yt(r,e,i,-1))}return Qf(),r=gc(Error(M(421))),Cl(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Ck.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,bt=rr(i.nextSibling),Et=t,ke=!0,Qt=null,e!==null&&(Lt[Dt++]=bn,Lt[Dt++]=En,Lt[Dt++]=Mr,bn=e.id,En=e.overflow,Mr=t),t=Wf(t,r.children),t.flags|=4096,t)}function Nh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qc(e.return,t,n)}function yc(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Sg(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(at(e,t,r.children,n),r=Ee.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&&Nh(e,n,t);else if(e.tag===19)Nh(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(_e(Ee,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&na(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),yc(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&na(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}yc(t,!0,n,null,o);break;case"together":yc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ml(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Tn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),zr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=lr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=lr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function hk(e,t,n){switch(t.tag){case 3:vg(t),Li();break;case 5:q0(t);break;case 1:yt(t.type)&&Xl(t);break;case 4:jf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;_e(Yl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(_e(Ee,Ee.current&1),t.flags|=128,null):n&t.child.childLanes?xg(e,t,n):(_e(Ee,Ee.current&1),e=Tn(e,t,n),e!==null?e.sibling:null);_e(Ee,Ee.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Sg(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),_e(Ee,Ee.current),r)break;return null;case 22:case 23:return t.lanes=0,_g(e,t,n)}return Tn(e,t,n)}var kg,rf,bg,Eg;kg=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}};rf=function(){};bg=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Nr(fn.current);var o=null;switch(n){case"input":i=Ec(e,i),r=Ec(e,r),o=[];break;case"select":i=Ce({},i,{value:void 0}),r=Ce({},r,{value:void 0}),o=[];break;case"textarea":i=Ic(e,i),r=Ic(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Kl)}Tc(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var l=i[c];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Vo.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var u=r[c];if(l=i?.[c],r.hasOwnProperty(c)&&u!==l&&(u!=null||l!=null))if(c==="style")if(l){for(s in l)!l.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&l[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(o||(o=[]),o.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,l=l?l.__html:void 0,u!=null&&l!==u&&(o=o||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Vo.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&xe("scroll",e),o||l===u||(o=[])):(o=o||[]).push(c,u))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};Eg=function(e,t,n,r){n!==r&&(t.flags|=4)};function Io(e,t){if(!ke)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 rt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function gk(e,t,n){var r=t.pendingProps;switch(Tf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rt(t),null;case 1:return yt(t.type)&&ql(),rt(t),null;case 3:return r=t.stateNode,Mi(),Se(gt),Se(ot),Ff(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(El(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qt!==null&&(df(Qt),Qt=null))),rf(e,t),rt(t),null;case 5:zf(t);var i=Nr(ns.current);if(n=t.type,e!==null&&t.stateNode!=null)bg(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return rt(t),null}if(e=Nr(fn.current),El(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[un]=t,r[es]=o,e=(t.mode&1)!==0,n){case"dialog":xe("cancel",r),xe("close",r);break;case"iframe":case"object":case"embed":xe("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[un]=t,e[es]=r,kg(e,t,!1,!1),t.stateNode=e;e:{switch(s=Ac(n,r),n){case"dialog":xe("cancel",e),xe("close",e),i=r;break;case"iframe":case"object":case"embed":xe("load",e),i=r;break;case"video":case"audio":for(i=0;izi&&(t.flags|=128,r=!0,Io(o,!1),t.lanes=4194304)}else{if(!r)if(e=na(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Io(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ke)return rt(t),null}else 2*Ne()-o.renderingStartTime>zi&&n!==1073741824&&(t.flags|=128,r=!0,Io(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ne(),t.sibling=null,n=Ee.current,_e(Ee,r?n&1|2:n&1),t):(rt(t),null);case 22:case 23:return Xf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?kt&1073741824&&(rt(t),t.subtreeFlags&6&&(t.flags|=8192)):rt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function yk(e,t){switch(Tf(t),t.tag){case 1:return yt(t.type)&&ql(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mi(),Se(gt),Se(ot),Ff(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zf(t),null;case 13:if(Se(Ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Li()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Se(Ee),null;case 4:return Mi(),null;case 10:return Lf(t.type._context),null;case 22:case 23:return Xf(),null;case 24:return null;default:return null}}var Il=!1,it=!1,_k=typeof WeakSet=="function"?WeakSet:Set,W=null;function bi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ae(e,t,r)}else n.current=null}function of(e,t,n){try{n()}catch(r){Ae(e,t,r)}}var Ph=!1;function wk(e,t){if(Bc=Wl,e=O0(),If(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,u=-1,c=0,a=0,p=e,f=null;t:for(;;){for(var d;p!==n||i!==0&&p.nodeType!==3||(l=s+i),p!==o||r!==0&&p.nodeType!==3||(u=s+r),p.nodeType===3&&(s+=p.nodeValue.length),(d=p.firstChild)!==null;)f=p,p=d;for(;;){if(p===e)break t;if(f===n&&++c===i&&(l=s),f===o&&++a===r&&(u=s),(d=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=d}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for($c={focusedElem:e,selectionRange:n},Wl=!1,W=t;W!==null;)if(t=W,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,W=e;else for(;W!==null;){t=W;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var S=h.memoizedProps,k=h.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?S:qt(t.type,S),k);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(x){Ae(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,W=e;break}W=t.return}return h=Ph,Ph=!1,h}function Bo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&of(t,n,o)}i=i.next}while(i!==r)}}function _a(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 sf(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 Rg(e){var t=e.alternate;t!==null&&(e.alternate=null,Rg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[un],delete t[es],delete t[Wc],delete t[tk],delete t[nk])),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 Cg(e){return e.tag===5||e.tag===3||e.tag===4}function Lh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Cg(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 lf(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=Kl));else if(r!==4&&(e=e.child,e!==null))for(lf(e,t,n),e=e.sibling;e!==null;)lf(e,t,n),e=e.sibling}function af(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(af(e,t,n),e=e.sibling;e!==null;)af(e,t,n),e=e.sibling}var Ke=null,Xt=!1;function Zn(e,t,n){for(n=n.child;n!==null;)Ig(e,t,n),n=n.sibling}function Ig(e,t,n){if(cn&&typeof cn.onCommitFiberUnmount=="function")try{cn.onCommitFiberUnmount(ca,n)}catch{}switch(n.tag){case 5:it||bi(n,t);case 6:var r=Ke,i=Xt;Ke=null,Zn(e,t,n),Ke=r,Xt=i,Ke!==null&&(Xt?(e=Ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ke.removeChild(n.stateNode));break;case 18:Ke!==null&&(Xt?(e=Ke,n=n.stateNode,e.nodeType===8?cc(e.parentNode,n):e.nodeType===1&&cc(e,n),qo(e)):cc(Ke,n.stateNode));break;case 4:r=Ke,i=Xt,Ke=n.stateNode.containerInfo,Xt=!0,Zn(e,t,n),Ke=r,Xt=i;break;case 0:case 11:case 14:case 15:if(!it&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&of(n,t,s),i=i.next}while(i!==r)}Zn(e,t,n);break;case 1:if(!it&&(bi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ae(n,t,l)}Zn(e,t,n);break;case 21:Zn(e,t,n);break;case 22:n.mode&1?(it=(r=it)||n.memoizedState!==null,Zn(e,t,n),it=r):Zn(e,t,n);break;default:Zn(e,t,n)}}function Dh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _k),t.forEach(function(r){var i=Ik.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Kt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xk(r/1960))-r,10e?16:e,Yn===null)var r=!1;else{if(e=Yn,Yn=null,la=0,ae&6)throw Error(M(331));var i=ae;for(ae|=4,W=e.current;W!==null;){var o=W,s=o.child;if(W.flags&16){var l=o.deletions;if(l!==null){for(var u=0;uNe()-Kf?Pr(e,0):Zf|=n),_t(e,t)}function Mg(e,t){t===0&&(e.mode&1?(t=hl,hl<<=1,!(hl&130023424)&&(hl=4194304)):t=1);var n=ut();e=On(e,t),e!==null&&(ls(e,t,n),_t(e,n))}function Ck(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Mg(e,n)}function Ik(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Mg(e,n)}var jg;jg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||gt.current)ht=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ht=!1,hk(e,t,n);ht=!!(e.flags&131072)}else ht=!1,ke&&t.flags&1048576&&U0(t,Jl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ml(e,t),e=t.pendingProps;var i=Pi(t,ot.current);Ti(t,n),i=Bf(null,t,r,e,i,n);var o=$f();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,yt(r)?(o=!0,Xl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Mf(t),i.updater=ga,t.stateNode=i,i._reactInternals=t,Qc(t,r,e,n),t=ef(null,t,r,!0,o,n)):(t.tag=0,ke&&o&&Of(t),at(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ml(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Tk(r),e=qt(r,e),i){case 0:t=Yc(null,t,r,e,n);break e;case 1:t=Th(null,t,r,e,n);break e;case 11:t=Ih(null,t,r,e,n);break e;case 14:t=Oh(null,t,r,qt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qt(r,i),Yc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qt(r,i),Th(e,t,r,i,n);case 3:e:{if(vg(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,V0(e,t),ta(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=ji(Error(M(423)),t),t=Ah(e,t,r,n,i);break e}else if(r!==i){i=ji(Error(M(424)),t),t=Ah(e,t,r,n,i);break e}else for(bt=rr(t.stateNode.containerInfo.firstChild),Et=t,ke=!0,Qt=null,n=K0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Li(),r===i){t=Tn(e,t,n);break e}at(e,t,r,n)}t=t.child}return t;case 5:return q0(t),e===null&&Kc(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Hc(r,i)?s=null:o!==null&&Hc(r,o)&&(t.flags|=32),wg(e,t),at(e,t,s,n),t.child;case 6:return e===null&&Kc(t),null;case 13:return xg(e,t,n);case 4:return jf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Di(t,null,r,n):at(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qt(r,i),Ih(e,t,r,i,n);case 7:return at(e,t,t.pendingProps,n),t.child;case 8:return at(e,t,t.pendingProps.children,n),t.child;case 12:return at(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,_e(Yl,r._currentValue),r._currentValue=s,o!==null)if(en(o.value,s)){if(o.children===i.children&&!gt.current){t=Tn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var u=l.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Rn(-1,n&-n),u.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var a=c.pending;a===null?u.next=u:(u.next=a.next,a.next=u),c.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),qc(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(M(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),qc(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}at(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ti(t,n),i=zt(i),r=r(i),t.flags|=1,at(e,t,r,n),t.child;case 14:return r=t.type,i=qt(r,t.pendingProps),i=qt(r.type,i),Oh(e,t,r,i,n);case 15:return yg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qt(r,i),Ml(e,t),t.tag=1,yt(r)?(e=!0,Xl(t)):e=!1,Ti(t,n),G0(t,r,i),Qc(t,r,i,n),ef(null,t,r,!0,e,n);case 19:return Sg(e,t,n);case 22:return _g(e,t,n)}throw Error(M(156,t.tag))};function zg(e,t){return c0(e,t)}function Ok(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 Mt(e,t,n,r){return new Ok(e,t,n,r)}function Jf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Tk(e){if(typeof e=="function")return Jf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yf)return 11;if(e===_f)return 14}return 2}function lr(e,t){var n=e.alternate;return n===null?(n=Mt(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 Fl(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Jf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case hi:return Lr(n.children,i,o,t);case gf:s=8,i|=8;break;case xc:return e=Mt(12,n,t,i|2),e.elementType=xc,e.lanes=o,e;case Sc:return e=Mt(13,n,t,i),e.elementType=Sc,e.lanes=o,e;case kc:return e=Mt(19,n,t,i),e.elementType=kc,e.lanes=o,e;case Zh:return va(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wh:s=10;break e;case Gh:s=9;break e;case yf:s=11;break e;case _f:s=14;break e;case Kn:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Mt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Lr(e,t,n,r){return e=Mt(7,e,r,t),e.lanes=n,e}function va(e,t,n,r){return e=Mt(22,e,r,t),e.elementType=Zh,e.lanes=n,e.stateNode={isHidden:!1},e}function _c(e,t,n){return e=Mt(6,e,null,t),e.lanes=n,e}function wc(e,t,n){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ak(e,t,n,r,i){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=nc(0),this.expirationTimes=nc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Yf(e,t,n,r,i,o,s,l,u){return e=new Ak(e,t,n,l,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Mt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mf(o),e}function Nk(e,t,n){var r=3{"use strict";y();w();_();function Hg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Hg)}catch(e){console.error(e)}}Hg(),Vg.exports=$g()});var Gg=Te(id=>{"use strict";y();w();_();var Wg=rd();id.createRoot=Wg.createRoot,id.hydrateRoot=Wg.hydrateRoot;var TO});var Kg=Te(ld=>{"use strict";y();w();_();var zk=Symbol.for("react.fragment");ld.Fragment=zk;ld.jsxDEV=void 0});var Xg=Te((mT,qg)=>{"use strict";y();w();_();qg.exports=Kg()});var Jg=Te(Ea=>{"use strict";y();w();_();var Fk=Ze(),Uk=Symbol.for("react.element"),Bk=Symbol.for("react.fragment"),$k=Object.prototype.hasOwnProperty,Hk=Fk.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Vk={key:!0,ref:!0,__self:!0,__source:!0};function Qg(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)$k.call(t,r)&&!Vk.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Uk,type:e,key:o,ref:s,props:i,_owner:Hk.current}}Ea.Fragment=Bk;Ea.jsx=Qg;Ea.jsxs=Qg});var me=Te((ST,Yg)=>{"use strict";y();w();_();Yg.exports=Jg()});var Sd=Te((pN,Py)=>{y();w();_();var Jk="Expected a function",Ey="__lodash_hash_undefined__",Ry=1/0,Yk="[object Function]",e2="[object GeneratorFunction]",t2="[object Symbol]",n2=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r2=/^\w*$/,i2=/^\./,o2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s2=/[\\^$.*+?()[\]{}|]/g,l2=/\\(\\)?/g,a2=/^\[object .+?Constructor\]$/,u2=typeof global=="object"&&global&&global.Object===Object&&global,c2=typeof self=="object"&&self&&self.Object===Object&&self,_d=u2||c2||Function("return this")();function f2(e,t){return e?.[t]}function d2(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var p2=Array.prototype,m2=Function.prototype,Cy=Object.prototype,yd=_d["__core-js_shared__"],xy=function(){var e=/[^.]+$/.exec(yd&&yd.keys&&yd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Iy=m2.toString,wd=Cy.hasOwnProperty,Oy=Cy.toString,h2=RegExp("^"+Iy.call(wd).replace(s2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Sy=_d.Symbol,g2=p2.splice,y2=Ty(_d,"Map"),ps=Ty(Object,"create"),ky=Sy?Sy.prototype:void 0,by=ky?ky.toString:void 0;function Vr(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1}function C2(e,t){var n=this.__data__,r=Ca(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}Vi.prototype.clear=k2;Vi.prototype.delete=b2;Vi.prototype.get=E2;Vi.prototype.has=R2;Vi.prototype.set=C2;function Wr(e){var t=-1,n=e?e.length:0;for(this.clear();++t{"use strict";y();w();_();Object.defineProperty(Je,"__esModule",{value:!0});Je.output=Je.exists=Je.hash=Je.bytes=Je.bool=Je.number=Je.isBytes=void 0;function Oa(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}Je.number=Oa;function $y(e){if(typeof e!="boolean")throw new Error(`boolean expected, not ${e}`)}Je.bool=$y;function Hy(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}Je.isBytes=Hy;function bd(e,...t){if(!Hy(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}Je.bytes=bd;function Vy(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");Oa(e.outputLen),Oa(e.blockLen)}Je.hash=Vy;function Wy(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}Je.exists=Wy;function Gy(e,t){bd(e);let n=t.outputLen;if(e.length{"use strict";y();w();_();Object.defineProperty(X,"__esModule",{value:!0});X.add5L=X.add5H=X.add4H=X.add4L=X.add3H=X.add3L=X.add=X.rotlBL=X.rotlBH=X.rotlSL=X.rotlSH=X.rotr32L=X.rotr32H=X.rotrBL=X.rotrBH=X.rotrSL=X.rotrSH=X.shrSL=X.shrSH=X.toBig=X.split=X.fromBig=void 0;var Ta=BigInt(2**32-1),Rd=BigInt(32);function Cd(e,t=!1){return t?{h:Number(e&Ta),l:Number(e>>Rd&Ta)}:{h:Number(e>>Rd&Ta)|0,l:Number(e&Ta)|0}}X.fromBig=Cd;function Zy(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0);X.toBig=Ky;var qy=(e,t,n)=>e>>>n;X.shrSH=qy;var Xy=(e,t,n)=>e<<32-n|t>>>n;X.shrSL=Xy;var Qy=(e,t,n)=>e>>>n|t<<32-n;X.rotrSH=Qy;var Jy=(e,t,n)=>e<<32-n|t>>>n;X.rotrSL=Jy;var Yy=(e,t,n)=>e<<64-n|t>>>n-32;X.rotrBH=Yy;var e_=(e,t,n)=>e>>>n-32|t<<64-n;X.rotrBL=e_;var t_=(e,t)=>t;X.rotr32H=t_;var n_=(e,t)=>e;X.rotr32L=n_;var r_=(e,t,n)=>e<>>32-n;X.rotlSH=r_;var i_=(e,t,n)=>t<>>32-n;X.rotlSL=i_;var o_=(e,t,n)=>t<>>64-n;X.rotlBH=o_;var s_=(e,t,n)=>e<>>64-n;X.rotlBL=s_;function l_(e,t,n,r){let i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:i|0}}X.add=l_;var a_=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0);X.add3L=a_;var u_=(e,t,n,r)=>t+n+r+(e/2**32|0)|0;X.add3H=u_;var c_=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0);X.add4L=c_;var f_=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0;X.add4H=f_;var d_=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0);X.add5L=d_;var p_=(e,t,n,r,i,o)=>t+n+r+i+o+(e/2**32|0)|0;X.add5H=p_;var q2={fromBig:Cd,split:Zy,toBig:Ky,shrSH:qy,shrSL:Xy,rotrSH:Qy,rotrSL:Jy,rotrBH:Yy,rotrBL:e_,rotr32H:t_,rotr32L:n_,rotlSH:r_,rotlSL:i_,rotlBH:o_,rotlBL:s_,add:l_,add3L:a_,add3H:u_,add4L:c_,add4H:f_,add5H:p_,add5L:d_};X.default=q2});var h_=Te(Aa=>{"use strict";y();w();_();Object.defineProperty(Aa,"__esModule",{value:!0});Aa.crypto=void 0;Aa.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0});var __=Te(K=>{"use strict";y();w();_();Object.defineProperty(K,"__esModule",{value:!0});K.randomBytes=K.wrapXOFConstructorWithOpts=K.wrapConstructorWithOpts=K.wrapConstructor=K.checkOpts=K.Hash=K.concatBytes=K.toBytes=K.utf8ToBytes=K.asyncLoop=K.nextTick=K.hexToBytes=K.bytesToHex=K.byteSwap32=K.byteSwapIfBE=K.byteSwap=K.isLE=K.rotl=K.rotr=K.createView=K.u32=K.u8=K.isBytes=void 0;var Id=h_(),Td=Ed();function X2(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}K.isBytes=X2;var Q2=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);K.u8=Q2;var J2=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));K.u32=J2;var Y2=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);K.createView=Y2;var eb=(e,t)=>e<<32-t|e>>>t;K.rotr=eb;var tb=(e,t)=>e<>>32-t>>>0;K.rotl=tb;K.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;var nb=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;K.byteSwap=nb;K.byteSwapIfBE=K.isLE?e=>e:e=>(0,K.byteSwap)(e);function rb(e){for(let t=0;tt.toString(16).padStart(2,"0"));function ob(e){(0,Td.bytes)(e);let t="";for(let n=0;n=Dn._0&&e<=Dn._9)return e-Dn._0;if(e>=Dn._A&&e<=Dn._F)return e-(Dn._A-10);if(e>=Dn._a&&e<=Dn._f)return e-(Dn._a-10)}function sb(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);let t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(n);for(let i=0,o=0;i{};K.nextTick=lb;async function ab(e,t,n){let r=Date.now();for(let i=0;i=0&&oe().update(Na(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}K.wrapConstructor=db;function pb(e){let t=(r,i)=>e(i).update(Na(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}K.wrapConstructorWithOpts=pb;function mb(e){let t=(r,i)=>e(i).update(Na(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}K.wrapXOFConstructorWithOpts=mb;function hb(e=32){if(Id.crypto&&typeof Id.crypto.getRandomValues=="function")return Id.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}K.randomBytes=hb});var R_=Te(we=>{"use strict";y();w();_();Object.defineProperty(we,"__esModule",{value:!0});we.shake256=we.shake128=we.keccak_512=we.keccak_384=we.keccak_256=we.keccak_224=we.sha3_512=we.sha3_384=we.sha3_256=we.sha3_224=we.Keccak=we.keccakP=void 0;var Gi=Ed(),gs=m_(),Mn=__(),x_=[],S_=[],k_=[],gb=BigInt(0),hs=BigInt(1),yb=BigInt(2),_b=BigInt(7),wb=BigInt(256),vb=BigInt(113);for(let e=0,t=hs,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],x_.push(2*(5*r+n)),S_.push((e+1)*(e+2)/2%64);let i=gb;for(let o=0;o<7;o++)t=(t<>_b)*vb)%wb,t&yb&&(i^=hs<<(hs<n>32?(0,gs.rotlBH)(e,t,n):(0,gs.rotlSH)(e,t,n),v_=(e,t,n)=>n>32?(0,gs.rotlBL)(e,t,n):(0,gs.rotlSL)(e,t,n);function b_(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let s=0;s<10;s++)n[s]=e[s]^e[s+10]^e[s+20]^e[s+30]^e[s+40];for(let s=0;s<10;s+=2){let l=(s+8)%10,u=(s+2)%10,c=n[u],a=n[u+1],p=w_(c,a,1)^n[l],f=v_(c,a,1)^n[l+1];for(let d=0;d<50;d+=10)e[s+d]^=p,e[s+d+1]^=f}let i=e[2],o=e[3];for(let s=0;s<24;s++){let l=S_[s],u=w_(i,o,l),c=v_(i,o,l),a=x_[s];i=e[a],o=e[a+1],e[a]=u,e[a+1]=c}for(let s=0;s<50;s+=10){for(let l=0;l<10;l++)n[l]=e[s+l];for(let l=0;l<10;l++)e[s+l]^=~n[(l+2)%10]&n[(l+4)%10]}e[0]^=xb[r],e[1]^=Sb[r]}n.fill(0)}we.keccakP=b_;var ys=class e extends Mn.Hash{constructor(t,n,r,i=!1,o=24){if(super(),this.blockLen=t,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,Gi.number)(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,Mn.u32)(this.state)}keccak(){Mn.isLE||(0,Mn.byteSwap32)(this.state32),b_(this.state32,this.rounds),Mn.isLE||(0,Mn.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(t){(0,Gi.exists)(this);let{blockLen:n,state:r}=this;t=(0,Mn.toBytes)(t);let i=t.length;for(let o=0;o=r&&this.keccak();let s=Math.min(r-this.posOut,o-i);t.set(n.subarray(this.posOut,this.posOut+s),i),this.posOut+=s,i+=s}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return(0,Gi.number)(t),this.xofInto(new Uint8Array(t))}digestInto(t){if((0,Gi.output)(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:n,suffix:r,outputLen:i,rounds:o,enableXOF:s}=this;return t||(t=new e(n,r,i,s,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=r,t.outputLen=i,t.enableXOF=s,t.destroyed=this.destroyed,t}};we.Keccak=ys;var gr=(e,t,n)=>(0,Mn.wrapConstructor)(()=>new ys(t,e,n));we.sha3_224=gr(6,144,224/8);we.sha3_256=gr(6,136,256/8);we.sha3_384=gr(6,104,384/8);we.sha3_512=gr(6,72,512/8);we.keccak_224=gr(1,144,224/8);we.keccak_256=gr(1,136,256/8);we.keccak_384=gr(1,104,384/8);we.keccak_512=gr(1,72,512/8);var E_=(e,t,n)=>(0,Mn.wrapXOFConstructorWithOpts)((r={})=>new ys(t,e,r.dkLen===void 0?n:r.dkLen,!0));we.shake128=E_(31,168,128/8);we.shake256=E_(31,136,256/8)});var L_=Te((T4,yr)=>{y();w();_();var{sha3_512:kb}=R_(),I_=24,_s=32,Ad=(e=4,t=Math.random)=>{let n="";for(;n.lengthO_(kb(e)).toString(36).slice(1),C_=Array.from({length:26},(e,t)=>String.fromCharCode(t+97)),bb=e=>C_[Math.floor(e()*C_.length)],A_=({globalObj:e=typeof global<"u"?global:typeof window<"u"?window:{},random:t=Math.random}={})=>{let n=Object.keys(e).toString(),r=n.length?n+Ad(_s,t):Ad(_s,t);return T_(r).substring(0,_s)},N_=e=>()=>e++,Eb=476782367,P_=({random:e=Math.random,counter:t=N_(Math.floor(e()*Eb)),length:n=I_,fingerprint:r=A_({random:e})}={})=>function(){let o=bb(e),s=Date.now().toString(36),l=t().toString(36),u=Ad(n,e),c=`${s+u+l+r}`;return`${o+T_(c).substring(1,n)}`},Rb=P_(),Cb=(e,{minLength:t=2,maxLength:n=_s}={})=>{let r=e.length,i=/^[0-9a-z]+$/;try{if(typeof e=="string"&&r>=t&&r<=n&&i.test(e))return!0}finally{}return!1};yr.exports.getConstants=()=>({defaultLength:I_,bigLength:_s});yr.exports.init=P_;yr.exports.createId=Rb;yr.exports.bufToBigInt=O_;yr.exports.createCounter=N_;yr.exports.createFingerprint=A_;yr.exports.isCuid=Cb});var Pa=Te((L4,ws)=>{y();w();_();var{createId:Ib,init:Ob,getConstants:Tb,isCuid:Ab}=L_();ws.exports.createId=Ib;ws.exports.init=Ob;ws.exports.getConstants=Tb;ws.exports.isCuid=Ab});var tp=Te((qL,F1)=>{y();w();_();var mE=1/0,hE="[object Symbol]",gE=/^\s+|\s+$/g,ep="\\ud800-\\udfff",I1="\\u0300-\\u036f\\ufe20-\\ufe23",O1="\\u20d0-\\u20f0",T1="\\ufe0e\\ufe0f",yE="["+ep+"]",Jd="["+I1+O1+"]",Yd="\\ud83c[\\udffb-\\udfff]",_E="(?:"+Jd+"|"+Yd+")",A1="[^"+ep+"]",N1="(?:\\ud83c[\\udde6-\\uddff]){2}",P1="[\\ud800-\\udbff][\\udc00-\\udfff]",L1="\\u200d",D1=_E+"?",M1="["+T1+"]?",wE="(?:"+L1+"(?:"+[A1,N1,P1].join("|")+")"+M1+D1+")*",vE=M1+D1+wE,xE="(?:"+[A1+Jd+"?",Jd,N1,P1,yE].join("|")+")",SE=RegExp(Yd+"(?="+Yd+")|"+xE+vE,"g"),kE=RegExp("["+L1+ep+I1+O1+T1+"]"),bE=typeof global=="object"&&global&&global.Object===Object&&global,EE=typeof self=="object"&&self&&self.Object===Object&&self,RE=bE||EE||Function("return this")();function CE(e){return e.split("")}function IE(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o-1;);return n}function AE(e,t){for(var n=e.length;n--&&j1(t,e[n],0)>-1;);return n}function NE(e){return kE.test(e)}function b1(e){return NE(e)?PE(e):CE(e)}function PE(e){return e.match(SE)||[]}var LE=Object.prototype,DE=LE.toString,E1=RE.Symbol,R1=E1?E1.prototype:void 0,C1=R1?R1.toString:void 0;function ME(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=r?e:ME(e,t,n)}function zE(e){return!!e&&typeof e=="object"}function FE(e){return typeof e=="symbol"||zE(e)&&DE.call(e)==hE}function UE(e){return e==null?"":z1(e)}function BE(e,t,n){if(e=UE(e),e&&(n||t===void 0))return e.replace(gE,"");if(!e||!(t=z1(t)))return e;var r=b1(e),i=b1(t),o=TE(r,i),s=AE(r,i)+1;return jE(r,o,s).join("")}F1.exports=BE});var Nw=Te((vF,Aw)=>{"use strict";y();w();_();function eC(e,t){for(;e.length{y();w();_();(function(e,t){"use strict";var n="1.0.38",r="",i="?",o="function",s="undefined",l="object",u="string",c="major",a="model",p="name",f="type",d="vendor",h="version",S="architecture",k="console",m="mobile",g="tablet",v="smarttv",x="wearable",N="embedded",L=500,P="Amazon",D="Apple",V="ASUS",F="BlackBerry",G="Browser",Ge="Chrome",ui="Edge",O="Firefox",B="Google",U="Huawei",j="LG",H="Microsoft",q="Motorola",te="Opera",J="Samsung",ue="Sharp",le="Sony",pt="Xiaomi",Nt="Zebra",Wn="Facebook",lm="Chromium OS",am="Mac OS",yx=function(ie,de){var ee={};for(var ge in ie)de[ge]&&de[ge].length%2===0?ee[ge]=de[ge].concat(ie[ge]):ee[ge]=ie[ge];return ee},tl=function(ie){for(var de={},ee=0;ee0?fe.length===2?typeof fe[1]==o?this[fe[0]]=fe[1].call(this,on):this[fe[0]]=fe[1]:fe.length===3?typeof fe[1]===o&&!(fe[1].exec&&fe[1].test)?this[fe[0]]=on?fe[1].call(this,on,fe[2]):t:this[fe[0]]=on?on.replace(fe[1],fe[2]):t:fe.length===4&&(this[fe[0]]=on?fe[3].call(this,on.replace(fe[1],fe[2])):t):this[fe]=on||t;ee+=2}},Mu=function(ie,de){for(var ee in de)if(typeof de[ee]===l&&de[ee].length>0){for(var ge=0;ge2&&(Y[a]="iPad",Y[f]=g),Y},this.getEngine=function(){var Y={};return Y[p]=t,Y[h]=t,_o.call(Y,ge,rn.engine),Y},this.getOS=function(){var Y={};return Y[p]=t,Y[h]=t,_o.call(Y,ge,rn.os),fe&&!Y[p]&&xn&&xn.platform&&xn.platform!="Unknown"&&(Y[p]=xn.platform.replace(/chrome os/i,lm).replace(/macos/i,am)),Y},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return ge},this.setUA=function(Y){return ge=typeof Y===u&&Y.length>L?Du(Y,L):Y,this},this.setUA(ge),this};St.VERSION=n,St.BROWSER=tl([p,h,c]),St.CPU=tl([S]),St.DEVICE=tl([a,d,f,k,m,v,g,x,N]),St.ENGINE=St.OS=tl([p,h]),typeof el!==s?(typeof Lu!==s&&Lu.exports&&(el=Lu.exports=St),el.UAParser=St):typeof define===o&&define.amd?define(function(){return St}):typeof e!==s&&(e.UAParser=St);var ci=typeof e!==s&&(e.jQuery||e.Zepto);if(ci&&!ci.ua){var nl=new St;ci.ua=nl.getResult(),ci.ua.get=function(){return nl.getUA()},ci.ua.set=function(ie){nl.setUA(ie);var de=nl.getResult();for(var ee in de)ci.ua[ee]=de[ee]}}})(typeof window=="object"?window:el)});y();w();_();var hx=Z(Gg());y();w();_();y();w();_();var Bi=Z(Ze()),pr=(e,t,n)=>{let[,r]=(0,Bi.useState)({}),o=(0,Bi.useRef)({data:e,deps:n||[],ready:!1,_loading:{},lastRender:0,lastRenderCount:0,delayedRender:!1,delayedRenderTimeout:null,overRenderTimeout:null}).current;if((0,Bi.useEffect)(()=>{o.ready=!0,t&&t({init:!0,setDelayedRender(s){o.delayedRender=s}})},[]),o.ready===!1)o._loading={},o.data.render=()=>{if(o.ready){if(o.delayedRender){Date.now()-o.lastRender>100?(o.lastRender=Date.now(),r({})):(clearTimeout(o.delayedRenderTimeout),o.delayedRenderTimeout=setTimeout(o.data.render,50));return}if(Date.now()-o.lastRender<300?o.lastRenderCount++:o.lastRenderCount=0,o.lastRender=Date.now(),o.lastRenderCount>300){clearTimeout(o.overRenderTimeout),o.overRenderTimeout=setTimeout(()=>{o.lastRender=Date.now(),r({})},1e3),console.error("local.render more than 300 times in less than 300ms");return}r({})}};else if(o.deps.length>0&&n){for(let[s,l]of Object.entries(n))if(o.deps[s]!==l){o.deps[s]=l,t&&setTimeout(()=>{t({init:!1,setDelayedRender(u){o.delayedRender=u}})});break}}return o.data};y();w();_();var Zg=(e,t)=>new Promise(async n=>{if(typeof e=="function"){let r=null;if(t&&(r=setTimeout(n,t)),await e()){clearTimeout(r),n();return}let i=0,o=setInterval(async()=>{await e()&&(r&&clearTimeout(r),clearInterval(o),n()),i>100&&clearInterval(o)},10)}else typeof e=="number"&&setTimeout(()=>{n()},e)});y();w();_();var jk=Z(Ze());y();w();_();var Nn=Z(Ze());y();w();_();function od(e){let t=new WeakMap;function n(r,i=[]){if(!(r!==null&&typeof r=="object"))return r;let o=t.get(r);if(o)return`[Circular *${o.join(".")}]`;t.set(r,i);let s=Array.isArray(r)?[]:{};for(let[l,u]of Object.entries(r))s[l]=n(u,[...i,l]);return t.delete(r),s}return n(e)}var sd=(0,Nn.createContext)({global:{},render:()=>{}});var mr=(e,t)=>{let n=(0,Nn.useContext)(sd),{global:r,render:i}=n;r[t]||(r[t]=e),(0,Nn.useEffect)(()=>{let s=null;return()=>{typeof s=="function"?s():s instanceof Promise&&s.then(l=>{typeof l=="function"&&l()})}},[]);let o=r[t];return o&&(o.render=s=>{s&&(r[t]=void 0),(0,Nn.startTransition)(i)}),o},$i=od;var $T=Z(Ze());y();w();_();y();w();_();y();w();_();var ad=Z(Ze()),ey=Z(rd()),ty=Z(Xg()),ny=Z(me()),ry=()=>{let e=typeof window=="object"?window:globalThis;e.React=ad.default,e.ReactDOM=ey.default,e.JSXRuntime=ny.default,e.JSXDevRuntime=ty.default,e.Fragment=ad.default.Fragment};y();w();_();y();w();_();var Wk={data:""},oy=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Wk,sy=e=>{let t=oy(e),n=t.data;return t.data="",n},Gk=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Zk=/\/\*[^]*?\*\/| +/g,iy=/\n+/g,$r=(e,t)=>{let n="",r="",i="";for(let o in e){let s=e[o];o[0]=="@"?o[1]=="i"?n=o+" "+s+";":r+=o[1]=="f"?$r(s,o):o+"{"+$r(s,o[1]=="k"?"":t)+"}":typeof s=="object"?r+=$r(s,t?t.replace(/([^,])+/g,l=>o.replace(/(^:.*)|([^,])+/g,u=>/&/.test(u)?u.replace(/&/g,l):l?l+" "+u:u)):o):s!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=$r.p?$r.p(o,s):o+":"+s+";")}return n+(t&&i?t+"{"+i+"}":i)+r},Pn={},ly=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+ly(e[n]);return t}return e},Kk=(e,t,n,r,i)=>{let o=ly(e),s=Pn[o]||(Pn[o]=(u=>{let c=0,a=11;for(;c>>0;return"go"+a})(o));if(!Pn[s]){let u=o!==e?e:(c=>{let a,p,f=[{}];for(;a=Gk.exec(c.replace(Zk,""));)a[4]?f.shift():a[3]?(p=a[3].replace(iy," ").trim(),f.unshift(f[0][p]=f[0][p]||{})):f[0][a[1]]=a[2].replace(iy," ").trim();return f[0]})(e);Pn[s]=$r(i?{["@keyframes "+s]:u}:u,n?"":"."+s)}let l=n&&Pn.g?Pn.g:null;return n&&(Pn.g=Pn[s]),((u,c,a,p)=>{p?c.data=c.data.replace(p,u):c.data.indexOf(u)===-1&&(c.data=a?u+c.data:c.data+u)})(Pn[s],t,r,l),s},qk=(e,t,n)=>e.reduce((r,i,o)=>{let s=t[o];if(s&&s.call){let l=s(n),u=l&&l.props&&l.props.className||/^go/.test(l)&&l;s=u?"."+u:l&&typeof l=="object"?l.props?"":$r(l,""):l===!1?"":l}return r+i+(s??"")},"");function Ra(e){let t=this||{},n=e.call?e(t.p):e;return Kk(n.unshift?n.raw?qk(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,oy(t.target),t.g,t.o,t.k)}var TT=Ra.bind({g:1}),AT=Ra.bind({k:1});var ay=async(e=!0)=>{let t=typeof window=="object"?window:globalThis;e&&await Zg(()=>t.__SRV_URL__),t.prasiContext={global:{},render(){}};let n=window.location,r=n.protocol.indexOf("http")===0?n.hostname:"localhost",i=n.protocol!="https:"||/localhost|127.0.0.1|0.0.0.0/.test(r)?"http":"https";if(t.__SRV_URL__){t.serverurl=t.__SRV_URL__;let s=new URL(t.serverurl);(s.hostname==="localhost"||s.hostname==="127.0.0.1")&&(s.hostname=n.hostname,s.pathname=s.pathname==="/"?"":s.pathname,t.serverurl=s.toString(),t.serverurl.endsWith("/")&&(t.serverurl=t.serverurl.substring(0,t.serverurl.length-1)))}let o=n.port;t.baseurl=i+"://"+r+(o?":"+o:"")+"/",t.basepath||(t.basepath="/"),t.css=Ra,t.extractCss=sy,t.pathname=n.pathname,t.cx=(...s)=>{let l=[];return s.filter(u=>u?(typeof u=="string"&&u.trim(),!0):!1).forEach(u=>{if(Array.isArray(u))for(let c of u)typeof c=="string"&&c.trim()&&l.push(c.trim());else l.push(u.trim())}),l.join(" ")},t.navigate=s=>{let l=s;if(typeof t.navigateOverride=="function"&&(l=t.navigateOverride(s),!l))return null;history.pushState({prevUrl:window.location.href},"",l),t.pathname=s,t.prasiContext&&t.prasiContext.render&&t.prasiContext.render()},typeof window=="object"&&window.addEventListener("popstate",()=>{let s=navigator.serviceWorker.controller;if(s&&s.postMessage({type:"add-cache",url:n.href}),t.prasiContext.popState){t.prasiContext.popState();return}if(t.preventPopRender){t.preventPopRender=!1;return}t.prasiContext&&t.prasiContext.render&&(t.pathname=n.pathname,t.prasiContext.render())})};y();w();_();var ud=window,z={root:null,url(...e){let t=e.map(r=>Array.isArray(r)?r.join(""):r).join(""),n=this.root.toString();return n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")?n+t:n+"/"+t},get pathname(){let e=location.pathname.substring(z.root.pathname.length);return e.startsWith("/")?e:`/${e}`},site:{id:ud._prasi?.site_id},init_local_effect:{},mode:"",route:{status:"init",pages:[],router:null},comp:{list:{},pending:{}},layout:{id:"",root:null,meta:null},cache:{urls:new Set},page:{id:"",url:"",root:null,meta:null,cache:{}}},uy=()=>{if(!z.root){let e=new URL(location.href);ud._prasi.basepath&&(e.pathname=ud._prasi.basepath),z.root=new URL(`${e.protocol}//${e.host}${e.pathname}`),z.root.pathname.endsWith("/")&&(z.root.pathname=z.root.pathname.substring(0,z.root.length-1))}};y();w();_();y();w();_();function fd(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function dd(e,t){let n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);let r=fd(n);return(i,o)=>r.then(s=>o(s.transaction(t,i).objectStore(t)))}var cd;function cy(){return cd||(cd=dd("keyval-store","keyval")),cd}function fs(e,t=cy()){return t("readonly",n=>fd(n.get(e)))}function Hr(e,t,n=cy()){return n("readwrite",r=>(r.put(t,e),fd(r.transaction)))}var px=Z(Ze());y();w();_();y();w();_();y();w();_();var fy=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Xk(e){return typeof e=="string"&&fy.test(e)}var pd=Xk;y();w();_();var Hi=Z(me()),dy=window,md=({children:e,back:t})=>dy.ContentNotFound?(0,Hi.jsx)(dy.ContentNotFound,{}):(0,Hi.jsxs)("div",{className:"flex items-center justify-center w-full h-full fixed inset-0 flex-col",children:[(0,Hi.jsx)("div",{children:e}),(0,Hi.jsxs)("div",{className:"border mt-2 rounded-md p-2 cursor-pointer",onClick:t||(()=>{history.back()}),children:[" ","Go Back"]})]});y();w();_();var py=Z(Ze());var Qe=Z(me()),hd=window,ds=({children:e,className:t,show:n,backdrop:r,note:i,alt:o,pointer:s})=>{let l=pr({icon:(0,Qe.jsx)("div",{className:"px-4 py-1",children:"Loading..."}),value:.111,ival:null},()=>{});(0,py.useEffect)(()=>(l.ival=setInterval(()=>{l.value+=.1333,l.value>=1.3&&(l.value=0),l.render()},200),hd.loadingIcon&&(l.icon=(0,Qe.jsx)("img",{alt:"loading",src:hd.loadingIcon,className:css` width: 42px; height: 42px; `}),l.render()),()=>{clearInterval(l.ival)}),[]);let u=hd.ContentLoading;return console.log(),(0,Qe.jsxs)(Qe.Fragment,{children:[r!==!1&&(0,Qe.jsx)("div",{className:cx("flex items-center z-40 bg-white pointer-events-none","w-full h-full fixed transition-all duration-1000",typeof n<"u"?n?"opacity-50":"opacity-0":"opacity-50"),onContextMenuCapture:c=>{c.preventDefault()}}),e?(0,Qe.jsx)("div",{onContextMenuCapture:c=>{c.preventDefault()},className:cx("flex flex-1 items-center justify-center z-40 transition-all",t||(r!==!1?"w-full h-full fixed":""),typeof n<"u"?n?"":"hidden":""),children:(0,Qe.jsx)("div",{className:"flex items-center justify-center flex-col space-y-3 bg-white p-4 rounded-lg select-none",children:(0,Qe.jsx)("div",{className:"text-sm",children:e})})}):(0,Qe.jsx)("div",{className:cx("flex flex-1 items-center justify-center z-40 transition-all",s!==!0&&"pointer-events-none",t||(r!==!1?"w-full h-full fixed":""),typeof n<"u"?n?"":"hidden":""),children:u?(0,Qe.jsx)(u,{alt:o,note:i}):(0,Qe.jsxs)("div",{className:cx("w-1/6 flex flex-col items-center justify-center",css` diff --git a/pkgs/web-utils/src/use-local.ts b/pkgs/web-utils/src/use-local.ts index 52f4b52c..f8ec0ef0 100644 --- a/pkgs/web-utils/src/use-local.ts +++ b/pkgs/web-utils/src/use-local.ts @@ -58,19 +58,20 @@ export const useLocal = ( } else { local.lastRenderCount = 0; } + + local.lastRender = Date.now(); if (local.lastRenderCount > 300) { clearTimeout(local.overRenderTimeout); local.overRenderTimeout = setTimeout(() => { local.lastRender = Date.now(); _render({}); - }, 500); + }, 1000); console.error("local.render more than 300 times in less than 300ms"); return; } - local.lastRender = Date.now(); _render({}); } };