var tp=Object.create;var Du=Object.defineProperty;var np=Object.getOwnPropertyDescriptor;var rp=Object.getOwnPropertyNames;var lp=Object.getPrototypeOf,op=Object.prototype.hasOwnProperty;var Q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ip=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of rp(t))!op.call(e,l)&&l!==n&&Du(e,l,{get:()=>t[l],enumerable:!(r=np(t,l))||r.enumerable});return e};var xe=(e,t,n)=>(n=e!=null?tp(lp(e)):{},ip(t||!e||!e.__esModule?Du(n,"default",{value:e,enumerable:!0}):n,e));var Yu=Q(T=>{"use strict";var En=Symbol.for("react.element"),up=Symbol.for("react.portal"),sp=Symbol.for("react.fragment"),ap=Symbol.for("react.strict_mode"),cp=Symbol.for("react.profiler"),fp=Symbol.for("react.provider"),dp=Symbol.for("react.context"),pp=Symbol.for("react.forward_ref"),mp=Symbol.for("react.suspense"),hp=Symbol.for("react.memo"),yp=Symbol.for("react.lazy"),Au=Symbol.iterator;function vp(e){return e===null||typeof e!="object"?null:(e=Au&&e[Au]||e["@@iterator"],typeof e=="function"?e:null)}var Hu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$u=Object.assign,Vu={};function Qt(e,t,n){this.props=e,this.context=t,this.refs=Vu,this.updater=n||Hu}Qt.prototype.isReactComponent={};Qt.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Wu(){}Wu.prototype=Qt.prototype;function eo(e,t,n){this.props=e,this.context=t,this.refs=Vu,this.updater=n||Hu}var to=eo.prototype=new Wu;to.constructor=eo;$u(to,Qt.prototype);to.isPureReactComponent=!0;var Uu=Array.isArray,Qu=Object.prototype.hasOwnProperty,no={current:null},Ku={key:!0,ref:!0,__self:!0,__source:!0};function Xu(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Qu.call(t,r)&&!Ku.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1{"use strict";Gu.exports=Yu()});var es=Q(ue=>{"use strict";Object.defineProperty(ue,"__esModule",{value:!0});ue.output=ue.exists=ue.hash=ue.bytes=ue.bool=ue.number=void 0;function Pr(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}ue.number=Pr;function Zu(e){if(typeof e!="boolean")throw new Error(`Expected boolean, not ${e}`)}ue.bool=Zu;function lo(e,...t){if(!(e instanceof Uint8Array))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}ue.bytes=lo;function Ju(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");Pr(e.outputLen),Pr(e.blockLen)}ue.hash=Ju;function qu(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")}ue.exists=qu;function bu(e,t){lo(e);let n=t.outputLen;if(e.length{"use strict";Object.defineProperty(L,"__esModule",{value:!0});L.add5L=L.add5H=L.add4H=L.add4L=L.add3H=L.add3L=L.add=L.rotlBL=L.rotlBH=L.rotlSL=L.rotlSH=L.rotr32L=L.rotr32H=L.rotrBL=L.rotrBH=L.rotrSL=L.rotrSH=L.shrSL=L.shrSH=L.toBig=L.split=L.fromBig=void 0;var Tr=BigInt(2**32-1),oo=BigInt(32);function io(e,t=!1){return t?{h:Number(e&Tr),l:Number(e>>oo&Tr)}:{h:Number(e>>oo&Tr)|0,l:Number(e&Tr)|0}}L.fromBig=io;function ts(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let l=0;lBigInt(e>>>0)<>>0);L.toBig=ns;var rs=(e,t,n)=>e>>>n;L.shrSH=rs;var ls=(e,t,n)=>e<<32-n|t>>>n;L.shrSL=ls;var os=(e,t,n)=>e>>>n|t<<32-n;L.rotrSH=os;var is=(e,t,n)=>e<<32-n|t>>>n;L.rotrSL=is;var us=(e,t,n)=>e<<64-n|t>>>n-32;L.rotrBH=us;var ss=(e,t,n)=>e>>>n-32|t<<64-n;L.rotrBL=ss;var as=(e,t)=>t;L.rotr32H=as;var cs=(e,t)=>e;L.rotr32L=cs;var fs=(e,t,n)=>e<>>32-n;L.rotlSH=fs;var ds=(e,t,n)=>t<>>32-n;L.rotlSL=ds;var ps=(e,t,n)=>t<>>64-n;L.rotlBH=ps;var ms=(e,t,n)=>e<>>64-n;L.rotlBL=ms;function hs(e,t,n,r){let l=(t>>>0)+(r>>>0);return{h:e+n+(l/2**32|0)|0,l:l|0}}L.add=hs;var ys=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0);L.add3L=ys;var vs=(e,t,n,r)=>t+n+r+(e/2**32|0)|0;L.add3H=vs;var gs=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0);L.add4L=gs;var ws=(e,t,n,r,l)=>t+n+r+l+(e/2**32|0)|0;L.add4H=ws;var Ss=(e,t,n,r,l)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(l>>>0);L.add5L=Ss;var ks=(e,t,n,r,l,o)=>t+n+r+l+o+(e/2**32|0)|0;L.add5H=ks;var _p={fromBig:io,split:ts,toBig:ns,shrSH:rs,shrSL:ls,rotrSH:os,rotrSL:is,rotrBH:us,rotrBL:ss,rotr32H:as,rotr32L:cs,rotlSH:fs,rotlSL:ds,rotlBH:ps,rotlBL:ms,add:hs,add3L:ys,add3H:vs,add4L:gs,add4H:ws,add5H:ks,add5L:Ss};L.default=_p});var _s=Q(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.crypto=void 0;Nr.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0});var Cs=Q(P=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0});P.randomBytes=P.wrapXOFConstructorWithOpts=P.wrapConstructorWithOpts=P.wrapConstructor=P.checkOpts=P.Hash=P.concatBytes=P.toBytes=P.utf8ToBytes=P.asyncLoop=P.nextTick=P.hexToBytes=P.bytesToHex=P.isLE=P.rotr=P.createView=P.u32=P.u8=void 0;var uo=_s(),ao=e=>e instanceof Uint8Array,Ep=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);P.u8=Ep;var Cp=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));P.u32=Cp;var Lp=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);P.createView=Lp;var Pp=(e,t)=>e<<32-t|e>>>t;P.rotr=Pp;P.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;if(!P.isLE)throw new Error("Non little-endian hardware is not supported");var Tp=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Np(e){if(!ao(e))throw new Error("Uint8Array expected");let t="";for(let n=0;n{};P.nextTick=zp;async function Rp(e,t,n){let r=Date.now();for(let l=0;l=0&&or+l.length,0)),n=0;return e.forEach(r=>{if(!ao(r))throw new Error("Uint8Array expected");t.set(r,n),n+=r.length}),t}P.concatBytes=Ip;var so=class{clone(){return this._cloneInto()}};P.Hash=so;var jp={}.toString;function Fp(e,t){if(t!==void 0&&jp.call(t)!=="[object Object]")throw new Error("Options should be object or undefined");return Object.assign(e,t)}P.checkOpts=Fp;function Mp(e){let t=r=>e().update(Or(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}P.wrapConstructor=Mp;function Dp(e){let t=(r,l)=>e(l).update(Or(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}P.wrapConstructorWithOpts=Dp;function Ap(e){let t=(r,l)=>e(l).update(Or(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}P.wrapXOFConstructorWithOpts=Ap;function Up(e=32){if(uo.crypto&&typeof uo.crypto.getRandomValues=="function")return uo.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}P.randomBytes=Up});var Is=Q(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.shake256=I.shake128=I.keccak_512=I.keccak_384=I.keccak_256=I.keccak_224=I.sha3_512=I.sha3_384=I.sha3_256=I.sha3_224=I.Keccak=I.keccakP=void 0;var Kt=es(),Pn=xs(),Ln=Cs(),[Ts,Ns,Os]=[[],[],[]],Bp=BigInt(0),Cn=BigInt(1),Hp=BigInt(2),$p=BigInt(7),Vp=BigInt(256),Wp=BigInt(113);for(let e=0,t=Cn,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],Ts.push(2*(5*r+n)),Ns.push((e+1)*(e+2)/2%64);let l=Bp;for(let o=0;o<7;o++)t=(t<>$p)*Wp)%Vp,t&Hp&&(l^=Cn<<(Cn<n>32?(0,Pn.rotlBH)(e,t,n):(0,Pn.rotlSH)(e,t,n),Ps=(e,t,n)=>n>32?(0,Pn.rotlBL)(e,t,n):(0,Pn.rotlSL)(e,t,n);function zs(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let i=0;i<10;i++)n[i]=e[i]^e[i+10]^e[i+20]^e[i+30]^e[i+40];for(let i=0;i<10;i+=2){let u=(i+8)%10,s=(i+2)%10,a=n[s],p=n[s+1],h=Ls(a,p,1)^n[u],m=Ps(a,p,1)^n[u+1];for(let g=0;g<50;g+=10)e[i+g]^=h,e[i+g+1]^=m}let l=e[2],o=e[3];for(let i=0;i<24;i++){let u=Ns[i],s=Ls(l,o,u),a=Ps(l,o,u),p=Ts[i];l=e[p],o=e[p+1],e[p]=s,e[p+1]=a}for(let i=0;i<50;i+=10){for(let u=0;u<10;u++)n[u]=e[i+u];for(let u=0;u<10;u++)e[i+u]^=~n[(u+2)%10]&n[(u+4)%10]}e[0]^=Qp[r],e[1]^=Kp[r]}n.fill(0)}I.keccakP=zs;var Tn=class e extends Ln.Hash{constructor(t,n,r,l=!1,o=24){if(super(),this.blockLen=t,this.suffix=n,this.outputLen=r,this.enableXOF=l,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,Kt.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,Ln.u32)(this.state)}keccak(){zs(this.state32,this.rounds),this.posOut=0,this.pos=0}update(t){(0,Kt.exists)(this);let{blockLen:n,state:r}=this;t=(0,Ln.toBytes)(t);let l=t.length;for(let o=0;o=r&&this.keccak();let i=Math.min(r-this.posOut,o-l);t.set(n.subarray(this.posOut,this.posOut+i),l),this.posOut+=i,l+=i}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,Kt.number)(t),this.xofInto(new Uint8Array(t))}digestInto(t){if((0,Kt.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:l,rounds:o,enableXOF:i}=this;return t||(t=new e(n,r,l,i,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=l,t.enableXOF=i,t.destroyed=this.destroyed,t}};I.Keccak=Tn;var ot=(e,t,n)=>(0,Ln.wrapConstructor)(()=>new Tn(t,e,n));I.sha3_224=ot(6,144,224/8);I.sha3_256=ot(6,136,256/8);I.sha3_384=ot(6,104,384/8);I.sha3_512=ot(6,72,512/8);I.keccak_224=ot(1,144,224/8);I.keccak_256=ot(1,136,256/8);I.keccak_384=ot(1,104,384/8);I.keccak_512=ot(1,72,512/8);var Rs=(e,t,n)=>(0,Ln.wrapXOFConstructorWithOpts)((r={})=>new Tn(t,e,r.dkLen===void 0?n:r.dkLen,!0));I.shake128=Rs(31,168,128/8);I.shake256=Rs(31,136,256/8)});var Hs=Q((oy,it)=>{var{sha3_512:Xp}=Is(),Fs=24,Nn=32,co=(e=4,t=Math.random)=>{let n="";for(;n.lengthMs(Xp(e)).toString(36).slice(1),js=Array.from({length:26},(e,t)=>String.fromCharCode(t+97)),Yp=e=>js[Math.floor(e()*js.length)],As=({globalObj:e=typeof global<"u"?global:typeof window<"u"?window:{}}={})=>{let t=Object.keys(e).toString(),n=t.length?t+co(Nn):co(Nn);return Ds(n).substring(0,Nn)},Us=e=>()=>e++,Gp=476782367,Bs=({random:e=Math.random,counter:t=Us(Math.floor(e()*Gp)),length:n=Fs,fingerprint:r=As()}={})=>function(){let o=Yp(e),i=Date.now().toString(36),u=t().toString(36),s=co(n,e),a=`${i+s+u+r}`;return`${o+Ds(a).substring(1,n)}`},Zp=Bs(),Jp=(e,{minLength:t=2,maxLength:n=Nn}={})=>{let r=e.length,l=/^[0-9a-z]+$/;try{if(typeof e=="string"&&r>=t&&r<=n&&l.test(e))return!0}finally{}return!1};it.exports.getConstants=()=>({defaultLength:Fs,bigLength:Nn});it.exports.init=Bs;it.exports.createId=Zp;it.exports.bufToBigInt=Ms;it.exports.createCounter=Us;it.exports.createFingerprint=As;it.exports.isCuid=Jp});var fo=Q((iy,On)=>{var{createId:qp,init:bp,getConstants:em,isCuid:tm}=Hs();On.exports.createId=qp;On.exports.init=bp;On.exports.getConstants=em;On.exports.isCuid=tm});var Ws=Q(zr=>{"use strict";var rm=lt(),lm=Symbol.for("react.element"),om=Symbol.for("react.fragment"),im=Object.prototype.hasOwnProperty,um=rm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,sm={key:!0,ref:!0,__self:!0,__source:!0};function Vs(e,t,n){var r,l={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)im.call(t,r)&&!sm.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:lm,type:e,key:o,ref:i,props:l,_owner:um.current}}zr.Fragment=om;zr.jsx=Vs;zr.jsxs=Vs});var Ks=Q((cy,Qs)=>{"use strict";Qs.exports=Ws()});var na=Q(j=>{"use strict";function vo(e,t){var n=e.length;e.push(t);e:for(;0>>1,l=e[r];if(0>>1;rRr(u,n))sRr(a,u)?(e[r]=a,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else if(sRr(a,n))e[r]=a,e[s]=n,r=s;else break e}}return t}function Rr(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(Xs=performance,j.unstable_now=function(){return Xs.now()}):(mo=Date,Ys=mo.now(),j.unstable_now=function(){return mo.now()-Ys});var Xs,mo,Ys,Ae=[],ut=[],am=1,_e=null,te=3,Fr=!1,Tt=!1,In=!1,Js=typeof setTimeout=="function"?setTimeout:null,qs=typeof clearTimeout=="function"?clearTimeout:null,Gs=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function go(e){for(var t=Oe(ut);t!==null;){if(t.callback===null)jr(ut);else if(t.startTime<=e)jr(ut),t.sortIndex=t.expirationTime,vo(Ae,t);else break;t=Oe(ut)}}function wo(e){if(In=!1,go(e),!Tt)if(Oe(Ae)!==null)Tt=!0,ko(So);else{var t=Oe(ut);t!==null&&xo(wo,t.startTime-e)}}function So(e,t){Tt=!1,In&&(In=!1,qs(jn),jn=-1),Fr=!0;var n=te;try{for(go(t),_e=Oe(Ae);_e!==null&&(!(_e.expirationTime>t)||e&&!ta());){var r=_e.callback;if(typeof r=="function"){_e.callback=null,te=_e.priorityLevel;var l=r(_e.expirationTime<=t);t=j.unstable_now(),typeof l=="function"?_e.callback=l:_e===Oe(Ae)&&jr(Ae),go(t)}else jr(Ae);_e=Oe(Ae)}if(_e!==null)var o=!0;else{var i=Oe(ut);i!==null&&xo(wo,i.startTime-t),o=!1}return o}finally{_e=null,te=n,Fr=!1}}var Mr=!1,Ir=null,jn=-1,bs=5,ea=-1;function ta(){return!(j.unstable_now()-eae||125r?(e.sortIndex=n,vo(ut,e),Oe(Ae)===null&&e===Oe(ut)&&(In?(qs(jn),jn=-1):In=!0,xo(wo,n-r))):(e.sortIndex=l,vo(Ae,e),Tt||Fr||(Tt=!0,ko(So))),e};j.unstable_shouldYield=ta;j.unstable_wrapCallback=function(e){var t=te;return function(){var n=te;te=t;try{return e.apply(this,arguments)}finally{te=n}}}});var la=Q((dy,ra)=>{"use strict";ra.exports=na()});var fd=Q(ke=>{"use strict";var fc=lt(),we=la();function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qo=Object.prototype.hasOwnProperty,cm=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,oa={},ia={};function fm(e){return Qo.call(ia,e)?!0:Qo.call(oa,e)?!1:cm.test(e)?ia[e]=!0:(oa[e]=!0,!1)}function dm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function pm(e,t,n,r){if(t===null||typeof t>"u"||dm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ce(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ee[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ee[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ee[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ee[e]=new ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ee[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ee[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ee[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ee[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ee[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var Di=/[\-:]([a-z])/g;function Ai(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Di,Ai);ee[t]=new ce(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Di,Ai);ee[t]=new ce(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Di,Ai);ee[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ee[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ee.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ee[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ui(e,t,n,r){var l=ee.hasOwnProperty(t)?ee[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` `+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Eo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vn(e):""}function mm(e){switch(e.tag){case 5:return Vn(e.type);case 16:return Vn("Lazy");case 13:return Vn("Suspense");case 19:return Vn("SuspenseList");case 0:case 2:case 15:return e=Co(e.type,!1),e;case 11:return e=Co(e.type.render,!1),e;case 1:return e=Co(e.type,!0),e;default:return""}}function Go(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 Zt:return"Fragment";case Gt:return"Portal";case Ko:return"Profiler";case Bi:return"StrictMode";case Xo:return"Suspense";case Yo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mc:return(e.displayName||"Context")+".Consumer";case pc:return(e._context.displayName||"Context")+".Provider";case Hi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $i:return t=e.displayName||null,t!==null?t:Go(e.type)||"Memo";case at:t=e._payload,e=e._init;try{return Go(e(t))}catch{}}return null}function hm(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 Go(t);case 8:return t===Bi?"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 _t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function yc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ym(e){var t=yc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ar(e){e._valueTracker||(e._valueTracker=ym(e))}function vc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=yc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function dl(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 Zo(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function sa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=_t(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 gc(e,t){t=t.checked,t!=null&&Ui(e,"checked",t,!1)}function Jo(e,t){gc(e,t);var n=_t(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")?qo(e,t.type,n):t.hasOwnProperty("defaultValue")&&qo(e,t.type,_t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function aa(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 qo(e,t,n){(t!=="number"||dl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wn=Array.isArray;function sn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Ur.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function rr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xn={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},vm=["Webkit","ms","Moz","O"];Object.keys(Xn).forEach(function(e){vm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xn[t]=Xn[e]})});function xc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Xn.hasOwnProperty(e)&&Xn[e]?(""+t).trim():t+"px"}function _c(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=xc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var gm=H({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 ti(e,t){if(t){if(gm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(y(62))}}function ni(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 ri=null;function Vi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var li=null,an=null,cn=null;function da(e){if(e=kr(e)){if(typeof li!="function")throw Error(y(280));var t=e.stateNode;t&&(t=Bl(t),li(e.stateNode,e.type,t))}}function Ec(e){an?cn?cn.push(e):cn=[e]:an=e}function Cc(){if(an){var e=an,t=cn;if(cn=an=null,da(e),t)for(e=0;e>>=0,e===0?32:31-(Nm(e)/Om|0)|0}var Br=64,Hr=4194304;function Qn(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 yl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Qn(u):(o&=i,o!==0&&(r=Qn(o)))}else i=n&~l,i!==0?r=Qn(i):o!==0&&(r=Qn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===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 wr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fe(t),e[t]=n}function jm(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=Gn),ka=String.fromCharCode(32),xa=!1;function Qc(e,t){switch(e){case"keyup":return sh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jt=!1;function ch(e,t){switch(e){case"compositionend":return Kc(t);case"keypress":return t.which!==32?null:(xa=!0,ka);case"textInput":return e=t.data,e===ka&&xa?null:e;default:return null}}function fh(e,t){if(Jt)return e==="compositionend"||!Ji&&Qc(e,t)?(e=Vc(),rl=Yi=pt=null,Jt=!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=Ca(n)}}function Zc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jc(){for(var e=window,t=dl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=dl(e.document)}return t}function qi(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 Sh(e){var t=Jc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zc(n.ownerDocument.documentElement,n)){if(r!==null&&qi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=La(n,o);var i=La(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,qt=null,ci=null,Jn=null,fi=!1;function Pa(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;fi||qt==null||qt!==dl(r)||(r=qt,"selectionStart"in r&&qi(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}),Jn&&ar(Jn,r)||(Jn=r,r=wl(ci,"onSelect"),0tn||(e.current=vi[tn],vi[tn]=null,tn--)}function F(e,t){tn++,vi[tn]=e.current,e.current=t}var Et={},oe=Lt(Et),pe=Lt(!1),Mt=Et;function hn(e,t){var n=e.type.contextTypes;if(!n)return Et;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function me(e){return e=e.childContextTypes,e!=null}function kl(){D(pe),D(oe)}function Ma(e,t,n){if(oe.current!==Et)throw Error(y(168));F(oe,t),F(pe,n)}function uf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(y(108,hm(e)||"Unknown",l));return H({},n,r)}function xl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Et,Mt=oe.current,F(oe,e),F(pe,pe.current),!0}function Da(e,t,n){var r=e.stateNode;if(!r)throw Error(y(169));n?(e=uf(e,t,Mt),r.__reactInternalMemoizedMergedChildContext=e,D(pe),D(oe),F(oe,e)):D(pe),F(pe,n)}var Ke=null,Hl=!1,Mo=!1;function sf(e){Ke===null?Ke=[e]:Ke.push(e)}function Oh(e){Hl=!0,sf(e)}function Pt(){if(!Mo&&Ke!==null){Mo=!0;var e=0,t=z;try{var n=Ke;for(z=1;e>=i,l-=i,Xe=1<<32-Fe(t)+l|n<C?(G=E,E=null):G=E.sibling;var O=m(f,E,d[C],v);if(O===null){E===null&&(E=G);break}e&&E&&O.alternate===null&&t(f,E),c=o(O,c,C),_===null?x=O:_.sibling=O,_=O,E=G}if(C===d.length)return n(f,E),A&&Nt(f,C),x;if(E===null){for(;CC?(G=E,E=null):G=E.sibling;var rt=m(f,E,O.value,v);if(rt===null){E===null&&(E=G);break}e&&E&&rt.alternate===null&&t(f,E),c=o(rt,c,C),_===null?x=rt:_.sibling=rt,_=rt,E=G}if(O.done)return n(f,E),A&&Nt(f,C),x;if(E===null){for(;!O.done;C++,O=d.next())O=h(f,O.value,v),O!==null&&(c=o(O,c,C),_===null?x=O:_.sibling=O,_=O);return A&&Nt(f,C),x}for(E=r(f,E);!O.done;C++,O=d.next())O=g(E,f,C,O.value,v),O!==null&&(e&&O.alternate!==null&&E.delete(O.key===null?C:O.key),c=o(O,c,C),_===null?x=O:_.sibling=O,_=O);return e&&E.forEach(function(ep){return t(f,ep)}),A&&Nt(f,C),x}function R(f,c,d,v){if(typeof d=="object"&&d!==null&&d.type===Zt&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Dr:e:{for(var x=d.key,_=c;_!==null;){if(_.key===x){if(x=d.type,x===Zt){if(_.tag===7){n(f,_.sibling),c=l(_,d.props.children),c.return=f,f=c;break e}}else if(_.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===at&&Wa(x)===_.type){n(f,_.sibling),c=l(_,d.props),c.ref=Un(f,_,d),c.return=f,f=c;break e}n(f,_);break}else t(f,_);_=_.sibling}d.type===Zt?(c=Ft(d.props.children,f.mode,v,d.key),c.return=f,f=c):(v=fl(d.type,d.key,d.props,null,f.mode,v),v.ref=Un(f,c,d),v.return=f,f=v)}return i(f);case Gt:e:{for(_=d.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=l(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=Wo(d,f.mode,v),c.return=f,f=c}return i(f);case at:return _=d._init,R(f,c,_(d._payload),v)}if(Wn(d))return S(f,c,d,v);if(Fn(d))return w(f,c,d,v);qr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,d),c.return=f,f=c):(n(f,c),c=Vo(d,f.mode,v),c.return=f,f=c),i(f)):n(f,c)}return R}var vn=yf(!0),vf=yf(!1),xr={},Ve=Lt(xr),pr=Lt(xr),mr=Lt(xr);function It(e){if(e===xr)throw Error(y(174));return e}function uu(e,t){switch(F(mr,t),F(pr,e),F(Ve,xr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ei(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ei(t,e)}D(Ve),F(Ve,t)}function gn(){D(Ve),D(pr),D(mr)}function gf(e){It(mr.current);var t=It(Ve.current),n=ei(t,e.type);t!==n&&(F(pr,e),F(Ve,n))}function su(e){pr.current===e&&(D(Ve),D(pr))}var U=Lt(0);function Tl(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 Do=[];function au(){for(var e=0;en?n:4,e(!0);var r=Ao.transition;Ao.transition={};try{e(!1),t()}finally{z=n,Ao.transition=r}}function jf(){return Ne().memoizedState}function jh(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ff(e))Mf(t,n);else if(n=df(e,t,n,r),n!==null){var l=ae();Me(n,e,r,l),Df(n,t,r)}}function Fh(e,t,n){var r=kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ff(e))Mf(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,De(u,i)){var s=t.interleaved;s===null?(l.next=l,ou(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=df(e,t,l,r),n!==null&&(l=ae(),Me(n,e,r,l),Df(n,t,r))}}function Ff(e){var t=e.alternate;return e===B||t!==null&&t===B}function Mf(e,t){qn=Nl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Df(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qi(e,n)}}var Ol={readContext:Te,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},Mh={readContext:Te,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:Te,useEffect:Ka,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ul(4194308,4,Nf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ul(4194308,4,e,t)},useInsertionEffect:function(e,t){return ul(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=jh.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:Qa,useDebugValue:mu,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=Qa(!1),t=e[0];return e=Ih.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=B,l=Be();if(A){if(n===void 0)throw Error(y(407));n=n()}else{if(n=t(),J===null)throw Error(y(349));At&30||kf(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Ka(_f.bind(null,r,o,e),[e]),r.flags|=2048,vr(9,xf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Be(),t=J.identifierPrefix;if(A){var n=Ye,r=Xe;n=(r&~(1<<32-Fe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=hr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[He]=t,e[dr]=r,Kf(e,t,!1,!1),t.stateNode=e;e:{switch(i=ni(n,r),n){case"dialog":M("cancel",e),M("close",e),l=r;break;case"iframe":case"object":case"embed":M("load",e),l=r;break;case"video":case"audio":for(l=0;lSn&&(t.flags|=128,r=!0,Bn(o,!1),t.lanes=4194304)}else{if(!r)if(e=Tl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Bn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!A)return re(t),null}else 2*V()-o.renderingStartTime>Sn&&n!==1073741824&&(t.flags|=128,r=!0,Bn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=V(),t.sibling=null,n=U.current,F(U,r?n&1|2:n&1),t):(re(t),null);case 22:case 23:return Su(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ye&1073741824&&(re(t),t.subtreeFlags&6&&(t.flags|=8192)):re(t),null;case 24:return null;case 25:return null}throw Error(y(156,t.tag))}function Wh(e,t){switch(eu(t),t.tag){case 1:return me(t.type)&&kl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gn(),D(pe),D(oe),au(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return su(t),null;case 13:if(D(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(y(340));yn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return D(U),null;case 4:return gn(),null;case 10:return lu(t.type._context),null;case 22:case 23:return Su(),null;case 24:return null;default:return null}}var el=!1,le=!1,Qh=typeof WeakSet=="function"?WeakSet:Set,k=null;function on(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$(e,t,r)}else n.current=null}function Ni(e,t,n){try{n()}catch(r){$(e,t,r)}}var tc=!1;function Kh(e,t){if(di=vl,e=Jc(),qi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,p=0,h=e,m=null;t:for(;;){for(var g;h!==n||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(g=h.firstChild)!==null;)m=h,h=g;for(;;){if(h===e)break t;if(m===n&&++a===l&&(u=i),m===o&&++p===r&&(s=i),(g=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=g}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(pi={focusedElem:e,selectionRange:n},vl=!1,k=t;k!==null;)if(t=k,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,k=e;else for(;k!==null;){t=k;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var w=S.memoizedProps,R=S.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:Re(t.type,w),R);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){$(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,k=e;break}k=t.return}return S=tc,tc=!1,S}function bn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Ni(t,n,o)}l=l.next}while(l!==r)}}function Wl(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 Oi(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 Gf(e){var t=e.alternate;t!==null&&(e.alternate=null,Gf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[He],delete t[dr],delete t[yi],delete t[Th],delete t[Nh])),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 Zf(e){return e.tag===5||e.tag===3||e.tag===4}function nc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zf(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 zi(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=Sl));else if(r!==4&&(e=e.child,e!==null))for(zi(e,t,n),e=e.sibling;e!==null;)zi(e,t,n),e=e.sibling}function Ri(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(Ri(e,t,n),e=e.sibling;e!==null;)Ri(e,t,n),e=e.sibling}var q=null,Ie=!1;function st(e,t,n){for(n=n.child;n!==null;)Jf(e,t,n),n=n.sibling}function Jf(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(Ml,n)}catch{}switch(n.tag){case 5:le||on(n,t);case 6:var r=q,l=Ie;q=null,st(e,t,n),q=r,Ie=l,q!==null&&(Ie?(e=q,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):q.removeChild(n.stateNode));break;case 18:q!==null&&(Ie?(e=q,n=n.stateNode,e.nodeType===8?Fo(e.parentNode,n):e.nodeType===1&&Fo(e,n),ur(e)):Fo(q,n.stateNode));break;case 4:r=q,l=Ie,q=n.stateNode.containerInfo,Ie=!0,st(e,t,n),q=r,Ie=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Ni(n,t,i),l=l.next}while(l!==r)}st(e,t,n);break;case 1:if(!le&&(on(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){$(n,t,u)}st(e,t,n);break;case 21:st(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,st(e,t,n),le=r):st(e,t,n);break;default:st(e,t,n)}}function rc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Qh),t.forEach(function(r){var l=t0.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=V()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Yh(r/1960))-r,10e?16:e,mt===null)var r=!1;else{if(e=mt,mt=null,Il=0,N&6)throw Error(y(331));var l=N;for(N|=4,k=e.current;k!==null;){var o=k,i=o.child;if(k.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sV()-gu?jt(e,0):vu|=n),he(e,t)}function od(e,t){t===0&&(e.mode&1?(t=Hr,Hr<<=1,!(Hr&130023424)&&(Hr=4194304)):t=1);var n=ae();e=qe(e,t),e!==null&&(wr(e,t,n),he(e,n))}function e0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),od(e,n)}function t0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(t),od(e,n)}var id;id=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)de=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return de=!1,$h(e,t,n);de=!!(e.flags&131072)}else de=!1,A&&t.flags&1048576&&af(t,El,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;sl(e,t),e=t.pendingProps;var l=hn(t,oe.current);dn(t,n),l=fu(null,t,r,e,l,n);var o=du();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,me(r)?(o=!0,xl(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,iu(t),l.updater=$l,t.stateNode=l,l._reactInternals=t,xi(t,r,e,n),t=Ci(null,t,r,!0,o,n)):(t.tag=0,A&&o&&bi(t),se(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(sl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=r0(r),e=Re(r,e),l){case 0:t=Ei(null,t,r,e,n);break e;case 1:t=qa(null,t,r,e,n);break e;case 11:t=Za(null,t,r,e,n);break e;case 14:t=Ja(null,t,r,Re(r.type,e),n);break e}throw Error(y(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Ei(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),qa(e,t,r,l,n);case 3:e:{if(Vf(t),e===null)throw Error(y(387));r=t.pendingProps,o=t.memoizedState,l=o.element,pf(e,t),Pl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=wn(Error(y(423)),t),t=ba(e,t,r,n,l);break e}else if(r!==l){l=wn(Error(y(424)),t),t=ba(e,t,r,n,l);break e}else for(ve=gt(t.stateNode.containerInfo.firstChild),ge=t,A=!0,je=null,n=vf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(yn(),r===l){t=be(e,t,n);break e}se(e,t,r,n)}t=t.child}return t;case 5:return gf(t),e===null&&wi(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,mi(r,l)?i=null:o!==null&&mi(r,o)&&(t.flags|=32),$f(e,t),se(e,t,i,n),t.child;case 6:return e===null&&wi(t),null;case 13:return Wf(e,t,n);case 4:return uu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=vn(t,null,r,n):se(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Za(e,t,r,l,n);case 7:return se(e,t,t.pendingProps,n),t.child;case 8:return se(e,t,t.pendingProps.children,n),t.child;case 12:return se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,F(Cl,r._currentValue),r._currentValue=i,o!==null)if(De(o.value,i)){if(o.children===l.children&&!pe.current){t=be(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ge(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var p=a.pending;p===null?s.next=s:(s.next=p.next,p.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Si(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(y(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Si(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}se(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,dn(t,n),l=Te(l),r=r(l),t.flags|=1,se(e,t,r,n),t.child;case 14:return r=t.type,l=Re(r,t.pendingProps),l=Re(r.type,l),Ja(e,t,r,l,n);case 15:return Bf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),sl(e,t),t.tag=1,me(r)?(e=!0,xl(t)):e=!1,dn(t,n),hf(t,r,l),xi(t,r,l,n),Ci(null,t,r,!0,e,n);case 19:return Qf(e,t,n);case 22:return Hf(e,t,n)}throw Error(y(156,t.tag))};function ud(e,t){return Rc(e,t)}function n0(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 Le(e,t,n,r){return new n0(e,t,n,r)}function xu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function r0(e){if(typeof e=="function")return xu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Hi)return 11;if(e===$i)return 14}return 2}function xt(e,t){var n=e.alternate;return n===null?(n=Le(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,l,o){var i=2;if(r=e,typeof e=="function")xu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Zt:return Ft(n.children,l,o,t);case Bi:i=8,l|=8;break;case Ko:return e=Le(12,n,t,l|2),e.elementType=Ko,e.lanes=o,e;case Xo:return e=Le(13,n,t,l),e.elementType=Xo,e.lanes=o,e;case Yo:return e=Le(19,n,t,l),e.elementType=Yo,e.lanes=o,e;case hc:return Kl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pc:i=10;break e;case mc:i=9;break e;case Hi:i=11;break e;case $i:i=14;break e;case at:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return t=Le(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Ft(e,t,n,r){return e=Le(7,e,r,t),e.lanes=n,e}function Kl(e,t,n,r){return e=Le(22,e,r,t),e.elementType=hc,e.lanes=n,e.stateNode={isHidden:!1},e}function Vo(e,t,n){return e=Le(6,e,null,t),e.lanes=n,e}function Wo(e,t,n){return t=Le(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function l0(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Po(0),this.expirationTimes=Po(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Po(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function _u(e,t,n,r,l,o,i,u,s){return e=new l0(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Le(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},iu(o),e}function o0(e,t,n){var r=3{"use strict";function dd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dd)}catch(e){console.error(e)}}dd(),pd.exports=fd()});var hd=Q(Pu=>{"use strict";var c0=Symbol.for("react.fragment");Pu.Fragment=c0;Pu.jsxDEV=void 0});var vd=Q((yy,yd)=>{"use strict";yd.exports=hd()});var Od=Q((Ry,Nd)=>{"use strict";function g0(e,t){for(;e.length{var x0=1/0,_0="[object Symbol]",E0=/^\s+|\s+$/g,Fu="\\ud800-\\udfff",Bd="\\u0300-\\u036f\\ufe20-\\ufe23",Hd="\\u20d0-\\u20f0",$d="\\ufe0e\\ufe0f",C0="["+Fu+"]",Iu="["+Bd+Hd+"]",ju="\\ud83c[\\udffb-\\udfff]",L0="(?:"+Iu+"|"+ju+")",Vd="[^"+Fu+"]",Wd="(?:\\ud83c[\\udde6-\\uddff]){2}",Qd="[\\ud800-\\udbff][\\udc00-\\udfff]",Kd="\\u200d",Xd=L0+"?",Yd="["+$d+"]?",P0="(?:"+Kd+"(?:"+[Vd,Wd,Qd].join("|")+")"+Yd+Xd+")*",T0=Yd+Xd+P0,N0="(?:"+[Vd+Iu+"?",Iu,Wd,Qd,C0].join("|")+")",O0=RegExp(ju+"(?="+ju+")|"+N0+T0,"g"),z0=RegExp("["+Kd+Fu+Bd+Hd+$d+"]"),R0=typeof global=="object"&&global&&global.Object===Object&&global,I0=typeof self=="object"&&self&&self.Object===Object&&self,j0=R0||I0||Function("return this")();function F0(e){return e.split("")}function M0(e,t,n,r){for(var l=e.length,o=n+(r?1:-1);r?o--:++o-1;);return n}function U0(e,t){for(var n=e.length;n--&&Gd(t,e[n],0)>-1;);return n}function B0(e){return z0.test(e)}function Md(e){return B0(e)?H0(e):F0(e)}function H0(e){return e.match(O0)||[]}var $0=Object.prototype,V0=$0.toString,Dd=j0.Symbol,Ad=Dd?Dd.prototype:void 0,Ud=Ad?Ad.toString:void 0;function W0(e,t,n){var r=-1,l=e.length;t<0&&(t=-t>l?0:l+t),n=n>l?l:n,n<0&&(n+=l),l=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(l);++r=r?e:W0(e,t,n)}function K0(e){return!!e&&typeof e=="object"}function X0(e){return typeof e=="symbol"||K0(e)&&V0.call(e)==_0}function Y0(e){return e==null?"":Zd(e)}function G0(e,t,n){if(e=Y0(e),e&&(n||t===void 0))return e.replace(E0,"");if(!e||!(t=Zd(t)))return e;var r=Md(e),l=Md(t),o=A0(r,l),i=U0(r,l)+1;return Q0(r,o,i).join("")}Jd.exports=G0});var $s=xe(fo()),We=xe(lt()),zn=window,nm=(0,We.createContext)({global:{},render:()=>{}});var uy=(e,t,n)=>{zn.globalValueID||(zn.globalValueID=new WeakMap);let r=typeof t=="string"?t:n;r||(zn.globalValueID.has(e)||zn.globalValueID.set(e,(0,$s.createId)()),r=zn.globalValueID.get(e)||""),r||(r="GLOBAL_DEFAULT");let l=(0,We.useContext)(nm),{global:o,render:i}=l;o[r]||(o[r]=po(e)),(0,We.useEffect)(()=>{let s=null;if(typeof t=="function")try{s=t()}catch(a){console.log(a)}return()=>{typeof s=="function"?s():s instanceof Promise&&s.then(a=>{typeof a=="function"&&a()})}},[]);let u=o[r];return u?u.render=s=>{s&&(o[r]=void 0),(0,We.startTransition)(i)}:console.log(e,r),u},po=e=>{if(e==null||typeof e!="object")return e;if(e instanceof Date){var t=new Date;return t.setTime(e.getTime()),t}if(e instanceof Array)return e.map(l=>po(l));var n={};for(var r in e)typeof e[r]=="object"?n[r]=po(e[r]):n[r]=e[r];return n};var Tu=xe(lt()),gd=xe(md()),wd=xe(vd()),Sd=xe(Ks()),vy=()=>{let e=typeof window=="object"?window:globalThis;e.React=Tu.default,e.ReactDOM=gd.default,e.JSXRuntime=Sd.default,e.JSXDevRuntime=wd.default,e.Fragment=Tu.default.Fragment};var f0={data:""},xd=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||f0,_d=e=>{let t=xd(e),n=t.data;return t.data="",n},d0=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,p0=/\/\*[^]*?\*\/| +/g,kd=/\n+/g,Vt=(e,t)=>{let n="",r="",l="";for(let o in e){let i=e[o];o[0]=="@"?o[1]=="i"?n=o+" "+i+";":r+=o[1]=="f"?Vt(i,o):o+"{"+Vt(i,o[1]=="k"?"":t)+"}":typeof i=="object"?r+=Vt(i,t?t.replace(/([^,])+/g,u=>o.replace(/(^:.*)|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,u):u?u+" "+s:s)):o):i!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),l+=Vt.p?Vt.p(o,i):o+":"+i+";")}return n+(t&&l?t+"{"+l+"}":l)+r},tt={},Ed=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+Ed(e[n]);return t}return e},m0=(e,t,n,r,l)=>{let o=Ed(e),i=tt[o]||(tt[o]=(s=>{let a=0,p=11;for(;a>>0;return"go"+p})(o));if(!tt[i]){let s=o!==e?e:(a=>{let p,h,m=[{}];for(;p=d0.exec(a.replace(p0,""));)p[4]?m.shift():p[3]?(h=p[3].replace(kd," ").trim(),m.unshift(m[0][h]=m[0][h]||{})):m[0][p[1]]=p[2].replace(kd," ").trim();return m[0]})(e);tt[i]=Vt(l?{["@keyframes "+i]:s}:s,n?"":"."+i)}let u=n&&tt.g?tt.g:null;return n&&(tt.g=tt[i]),((s,a,p,h)=>{h?a.data=a.data.replace(h,s):a.data.indexOf(s)===-1&&(a.data=p?s+a.data:a.data+s)})(tt[i],t,r,u),i},h0=(e,t,n)=>e.reduce((r,l,o)=>{let i=t[o];if(i&&i.call){let u=i(n),s=u&&u.props&&u.props.className||/^go/.test(u)&&u;i=s?"."+s:u&&typeof u=="object"?u.props?"":Vt(u,""):u===!1?"":u}return r+l+(i??"")},"");function Jl(e){let t=this||{},n=e.call?e(t.p):e;return m0(n.unshift?n.raw?h0(n,[].slice.call(arguments,1),t.p):n.reduce((r,l)=>Object.assign(r,l&&l.call?l(t.p):l),{}):n,xd(t.target),t.g,t.o,t.k)}var wy=Jl.bind({g:1}),Sy=Jl.bind({k:1});var _n=xe(lt()),xy=(e,t,n)=>{let[,r]=(0,_n.useState)({}),o=(0,_n.useRef)({data:e,deps:n||[],promisedKeys:new Set,ready:!1,_loading:{}}).current;if((0,_n.useEffect)(()=>{o.ready=!0,t&&t({init:!0})},[]),o.ready===!1){o._loading={};for(let[i,u]of Object.entries(e))if(!o.promisedKeys.has(i)){let s=u;typeof s=="object"&&s instanceof Promise&&(o._loading[i]=!0,o.promisedKeys.add(i),o.data[i]=null,s.then(a=>{o.data[i]=a,o._loading[i]=!1,o.data.render()}))}o.data.render=()=>{o.ready&&r({})}}else if(o.deps.length>0&&n){for(let[i,u]of Object.entries(n))if(o.deps[i]!==u){o.deps[i]=u,t&&setTimeout(()=>{t({init:!1})});break}}return o.data};var Wt=(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 l=0,o=setInterval(async()=>{await e()&&(r&&clearTimeout(r),clearInterval(o),n()),l>100&&clearInterval(o)},10)}else typeof e=="number"&&setTimeout(()=>{n()},e)});var y0=xe(lt());var My=xe(lt());var Cd=xe(fo()),v0=Cd.createId;BigInt.prototype.toJSON=function(){return"BigInt::"+this.toString()};var _r=async(e,t)=>{let n=window;t&&(n=t);let r=n.document,l="__"+e.replace(/\W/g,"");if(typeof r<"u"&&!r.querySelector(`#${l}`)){let u=r.createElement("iframe");u.style.display="none",u.id=l;let s=new URL(e);s.pathname="/_api_frm",u.src=s.toString(),await new Promise((a,p)=>{u.onload=()=>{u.contentDocument||setTimeout(()=>{u.contentDocument||p(`Cannot load iframe ${s.toString()}. content document not found.`)},100)};let h=m=>{m.data==="initialized"&&(u.setAttribute("loaded","y"),n.removeEventListener("message",h),a())};n.addEventListener("message",h),r.body.appendChild(u)})}let o={},i=async(u,s)=>{if(n.document&&n.document.querySelector){let a=n.document.querySelector(`#${l}`);return(!a||!a.contentWindow||a&&a.getAttribute("loaded")!=="y")&&await Wt(()=>a&&a.contentWindow&&a.getAttribute("loaded")==="y"),await new Promise((p,h)=>{if(a&&a.contentWindow){let m=v0();o[m]=S=>{if(m===S.data.id)if(n.removeEventListener("message",o[m]),delete o[m],S.data.error){let w=S.data.error;typeof w=="string"&&h(w.replace(/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,""))}else p(S.data.result)},n.addEventListener("message",o[m]);let g=u;typeof u=="string"&&(u.startsWith("http")||(g=`${e}${u}`)),a.contentWindow.postMessage({input:g,init:s,id:m},"*")}})}};return{sendRaw:i,async send(u,s,a){let p=u.toString(),h={...a},m=s,g=!1,S=async w=>{if(!(w instanceof n.FormData||w instanceof n.File))h["content-type"]="application/json";else if(w instanceof n.File){g=!0;let R=await new Promise(f=>{let c=new FileReader;c.addEventListener("load",d=>{f(d.target?.result)}),c.readAsArrayBuffer(w)});R&&(w=new File([R],w.name))}return w};return Array.isArray(s)?m=await Promise.all(s.map(w=>S(w))):m=await S(s),g||(m=JSON.stringify(m)),await i(`${e.endsWith("/")?e:`${e}/`}${p.startsWith("/")?p.substring(1):p}`,s?{method:"post",headers:h,body:m}:{})}}},Ld=async(e,t,n)=>{let l=n||(typeof window=="object"?window:globalThis),o=new URL(e),i,u=`${o.protocol}//${o.host}`;return l.frmapi||(l.frmapi={},l.frmapi[u]=await _r(u,l)),i=l.frmapi[u],l.apiHeaders||(l.apiHeaders={}),i||await Wt(()=>(i=l.frmapi[u],i)),o.pathname.startsWith("//")&&(o.pathname=o.pathname.substring(1)),await i.send(o.pathname,t,l.apiHeaders)};var Pd=(e,t)=>new Proxy({},{get:(n,r)=>{let l=o=>function(...i){return new Promise(async(u,s)=>{try{let a=t;if(typeof this?.apiUrl=="string"&&(a=this.apiUrl),!e||!e[o]){u(null),console.error(`API ${o.toString()} not found, existing API: - ${Object.keys(e).join(` - `)}`);return}let p=e[o].url,h=e[o].args;if(p&&h){if(i.length>0&&h.length>0)for(let[S,w]of Object.entries(i)){let R=h[parseInt(S)];h&&h.includes(R)&&w&&typeof w!="string"&&typeof w!="number"||(p=p.replace(`:${R}?`,w+""),p=p.replace(`:${R}`,w+""))}let m=`${a}${p}`,g=await Ld(m,i);u(g)}else console.error(`API Not Found: ${o.toString()}`)}catch(a){s(a)}})};return r==="then"?new Proxy({},{get:(o,i)=>l(i)}):l(r)}});var zd=xe(Od()),Rd=(e,t)=>new Proxy({},{get(n,r){return r==="_tables"?()=>ql(e,{name:e,action:"definition",table:"*"},t):r==="_definition"?l=>ql(e,{name:e,action:"definition",table:l},t):r.startsWith("$")?(...l)=>ql(e,{name:e,action:"query",table:r,params:l},t):new Proxy({},{get(l,o){return(...i)=>(r==="query"&&(r=o,o="query"),ql(e,{name:e,action:o,table:r,params:i},t))}})}}),Nu={},ql=async(e,t,n)=>{let r=typeof window=="object"?window:globalThis,l=`/_dbs/${e}`,o;t.table&&(l+=`/${t.table}`);let i=n||r.serverurl;r.frmapi||(r.frmapi={}),r.frmapi[i]||(r.frmapi[i]=await _r(i)),o=r.frmapi[i],o||await Wt(()=>(o=r.frmapi[i],o));let u=(0,zd.default)(t),s=Nu[u];if(!s||s&&Date.now()-s.timestamp>1e3){Nu[u]={timestamp:Date.now(),result:null};let a=await o.send(l,t,r.apiHeaders);return Nu[u].result=a,a}return s.result};var Jy=async(e=!0)=>{let t=typeof window=="object"?window:globalThis;e&&await Wt(()=>t.__SRV_URL__),t.prasiContext={global:{},render(){}};let n=window.location,r=n.protocol.indexOf("http")===0?n.hostname:"localhost",l=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 i=new URL(t.serverurl);(i.hostname==="localhost"||i.hostname==="127.0.0.1")&&(i.hostname=n.hostname,i.pathname=i.pathname==="/"?"":i.pathname,t.serverurl=i.toString(),t.serverurl.endsWith("/")&&(t.serverurl=t.serverurl.substring(0,t.serverurl.length-1)))}let o=n.port;t.baseurl=l+"://"+r+(o?":"+o:"")+"/",t.basepath="/",t.css=Jl,t.extractCss=_d,t.pathname=n.pathname,t.cx=(...i)=>{let u=[];return i.filter(s=>s?(typeof s=="string"&&s.trim(),!0):!1).forEach(s=>{if(Array.isArray(s))for(let a of s)typeof a=="string"&&a.trim()&&u.push(a.trim());else u.push(s.trim())}),u.join(" ")},t.navigate=i=>{let u=i;if(typeof t.navigateOverride=="function"&&(u=t.navigateOverride(i),!u))return null;history.pushState({},"",u),t.pathname=i,t.prasiContext&&t.prasiContext.render&&t.prasiContext.render()},typeof window=="object"&&window.addEventListener("popstate",()=>{if(t.preventPopRender){t.preventPopRender=!1;return}t.prasiContext&&t.prasiContext.render&&(t.pathname=n.pathname,t.prasiContext.render())})};function zu(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function Ru(e,t){let n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);let r=zu(n);return(l,o)=>r.then(i=>o(i.transaction(t,l).objectStore(t)))}var Ou;function Id(){return Ou||(Ou=Ru("keyval-store","keyval")),Ou}function jd(e,t=Id()){return t("readonly",n=>zu(n.get(e)))}function Fd(e,t,n=Id()){return n("readwrite",r=>(r.put(t,e),zu(r.transaction)))}var bd=xe(qd());var Y=window,lv=e=>{if(Y.apiClient||(Y.apiClient=Pd),Y.prasiApi||(Y.prasiApi={}),!e)throw new Error("No URL provided");return Y.apiClient(Y.prasiApi[e]?.apiEntry,e)},ov=e=>{Y.dbClient||(Y.dbClient=Rd);let t=Y.dbClient;return t("db",e)},iv=async(e,t="dev")=>{let n="";if(e.prasi?location.hostname==="prasi.app"||location.hostname==="api.prasi.app"?n=`https://${e.prasi.port}.prasi.world`:location.hostname==="localhost"||location.hostname==="127.0.0.1"||location.hostname==="10.0.2.2"?n=`https://${e.prasi.port}.prasi.world`:n=`https://${location.hostname}:${e.prasi.port}`:e.api_url&&(n=e.api_url),Y.prasiApi||(Y.prasiApi={}),n&&!Y.prasiApi[n])try{await Z0(n,t)}catch{}return n},Mu=async(e,t)=>await(await fetch(e)).text(),Z0=async(e,t="dev")=>{let n=(0,bd.default)(e,"/");Y.prasiApi||(Y.prasiApi={});let r=Ru("prasi-api","config"),l=async()=>{Y.prasiApi[e]||(Y.prasiApi[e]={});let u=await(await _r(n)).sendRaw("/_prasi/_"),s="";if(u&&u.prasi&&(s=u.prasi),s==="v2")await new Promise(a=>{let p=document,h=p.body.appendChild(p.createElement("script"));h.onload=()=>{a()},h.src=`${n}/_prasi/load.js?url=${e}${t==="dev"?"&dev=1":""}`});else{let a=await fetch(n+"/_prasi/api-types"),p=await fetch(n+"/_prasi/api-entry");Y.prasiApi[e]={apiEntry:(await p.json()).srv,prismaTypes:{"prisma.d.ts":await Mu(`${n}/_prasi/prisma/index.d.ts`),"runtime/index.d.ts":await Mu(`${n}/_prasi/prisma/runtime/index.d.ts`),"runtime/library.d.ts":await Mu(`${n}/_prasi/prisma/runtime/library.d.ts`)},apiTypes:await a.text()}}await Fd(e,JSON.stringify(Y.prasiApi[e]),r)},o=`${location.protocol}//${location.host}`;try{let i=await jd(e,r);i?(Y.prasiApi[e]=JSON.parse(i),l().catch(()=>{e===o&&(console.error("Failed to load prasi. Reloading..."),setTimeout(()=>location.reload(),3e3))})):await l()}catch{console.warn("Failed to load API"),e===o&&(console.error("Failed to load prasi. Reloading..."),setTimeout(()=>location.reload(),3e3))}};export{Q as a,xe as b,lt as c,md as d,xy as e,Is as f,nm as g,uy as h,po as i,Ks as j,vy as k,Jy as l,Y as m,lv as n,ov as o,iv as p}; /*! Bundled license information: react/cjs/react.production.min.js: (** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) @noble/hashes/utils.js: (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *) react/cjs/react-jsx-runtime.production.min.js: (** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) scheduler/cjs/scheduler.production.min.js: (** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) react-dom/cjs/react-dom.production.min.js: (** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) react/cjs/react-jsx-dev-runtime.production.min.js: (** * @license React * react-jsx-dev-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) */ //# sourceMappingURL=chunk-DH54TKQS.js.map