PageSourceSearch

https://filesplash.com/assets/index-CDeQfg1R.js

js filesplash.com collected 2026-10-08 09:38:54 UTC 482,642 bytes, 570 lines download raw bytes

vendor: 6,752 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/webcrypto-BtoZYrBg.js","assets/utils-Dv1ADuOF.js","assets/sha2-CVjqq6Jt.js"])))=>i.map(i=>d[i]);
2(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))c(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&c(m)}).observe(document,{childList:!0,subtree:!0});function u(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function c(f){if(f.ep)return;f.ep=!0;const d=u(f);fetch(f.href,d)}})();function Xb(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Kc={exports:{}},Rl={};var Wm;function Vb(){if(Wm)return Rl;Wm=1;var l=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function u(c,f,d){var m=null;if(d!==void 0&&(m=""+d),f.key!==void 0&&(m=""+f.key),"key"in f){d={};for(var g in f)g!=="key"&&(d[g]=f[g])}else d=f;return f=d.ref,{$$typeof:l,type:c,key:m,ref:f!==void 0?f:null,props:d}}return Rl.Fragment=o,Rl.jsx=u,Rl.jsxs=u,Rl}var ep;function Qb(){return ep||(ep=1,Kc.exports=Vb()),Kc.exports}var i=Qb(),Ic={exports:{}},fe={};var tp;function Zb(){if(tp)return fe;tp=1;var l=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),w=Symbol.iterator;function N(C){return C===null||typeof C!="object"?null:(C=w&&C[w]||C["@@iterator"],typeof C=="function"?C:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,z={};function _(C,H,Q){this.props=C,this.context=H,this.refs=z,this.updater=Q||E}_.prototype.isReactComponent={},_.prototype.setState=function(C,H){if(typeof C!="object"&&typeof C!="function"&&C!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,C,H,"setState")},_.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function q(){}q.prototype=_.prototype;function F(C,H,Q){this.props=C,this.context=H,this.refs=z,this.updater=Q||E}var te=F.prototype=new q;te.constructor=F,O(te,_.prototype),te.isPureReactComponent=!0;var Z=Array.isArray;function oe(){}var $={H:null,A:null,T:null,S:null},ce=Object.prototype.hasOwnProperty;function I(C,H,Q){var W=Q.ref;return{$$typeof:l,type:C,key:H,ref:W!==void 0?W:null,props:Q}}function G(C,H){return I(C.type,H,C.props)}function K(C){return typeof C=="object"&&C!==null&&C.$$typeof===l}function we(C){var H={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(Q){return H[Q]})}var qe=/\/+/g;function ye(C,H){return typeof C=="object"&&C!==null&&C.key!=null?we(""+C.key):H.toString(36)}function se(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(oe,oe):(C.status="pending",C.then(function(H){C.status==="pending"&&(C.status="fulfilled",C.value=H)},function(H){C.status==="pending"&&(C.status="rejected",C.reason=H)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function R(C,H,Q,W,ue){var V=typeof C;(V==="undefined"||V==="boolean")&&(C=null);var ae=!1;if(C===null)ae=!0;else switch(V){case"bigint":case"string":case"number":ae=!0;break;case"object":switch(C.$$typeof){case l:case o:ae=!0;break;case b:return ae=C._init,R(ae(C._payload),H,Q,W,ue)}}if(ae)return ue=ue(C),ae=W===""?"."+ye(C,0):W,Z(ue)?(Q="",ae!=null&&(Q=ae.replace(qe,"$&/")+"/"),R(ue,H,Q,"",function(ht){return ht})):ue!=null&&(K(ue)&&(ue=G(ue,Q+(ue.key==null||C&&C.key===ue.key?"":(""+ue.key).replace(qe,"$&/")+"/")+ae)),H.push(ue)),1;ae=0;var he=W===""?".":W+":";if(Z(C))for(var Se=0;Se<C.length;Se++)W=C[Se],V=he+ye(W,Se),ae+=R(W,H,Q,V,ue);else if(Se=N(C),typeof Se=="function")for(C=Se.call(C),Se=0;!(W=C.next()).done;)W=W.value,V=he+ye(W,Se++),ae+=R(W,H,Q,V,ue);else if(V==="object"){if(typeof C.then=="function")return R(se(C),H,Q,W,ue);throw H=String(C),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return ae}function X(C,H,Q){if(C==null)return C;var W=[],ue=0;return R(C,W,"","",function(V){return H.call(Q,V,ue++)}),W}function re(C){if(C._status===-1){var H=C._result;H=H(),H.then(function(Q){(C._status===0||C._status===-1)&&(C._status=1,C._result=Q)},function(Q){(C._status===0||C._status===-1)&&(C._status=2,C._result=Q)}),C._status===-1&&(C._status=0,C._result=H)}if(C._status===1)return C._result.default;throw C._result}var Te=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},_e={map:X,forEach:function(C,H,Q){X(C,function(){H.apply(this,arguments)},Q)},count:function(C){var H=0;return X(C,function(){H++}),H},toArray:function(C){return X(C,function(H){return H})||[]},only:function(C){if(!K(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};return fe.Activity=x,fe.Children=_e,fe.Component=_,fe.Fragment=u,fe.Profiler=f,fe.PureComponent=F,fe.StrictMode=c,fe.Suspense=y,fe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,fe.__COMPILER_RUNTIME={__proto__:null,c:function(C){return $.H.useMemoCache(C)}},fe.cache=function(C){return function(){return C.apply(null,arguments)}},fe.cacheSignal=function(){return null},fe.cloneElement=function(C,H,Q){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var W=O({},C.props),ue=C.key;if(H!=null)for(V in H.key!==void 0&&(ue=""+H.key),H)!ce.call(H,V)||V==="key"||V==="__self"||V==="__source"||V==="ref"&&H.ref===void 0||(W[V]=H[V]);var V=arguments.length-2;if(V===1)W.children=Q;
vendor: 13,614 bytes, line 2
2else if(1<V){for(var ae=Array(V),he=0;he<V;he++)ae[he]=arguments[he+2];W.children=ae}return I(C.type,ue,W)},fe.createContext=function(C){return C={$$typeof:m,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:d,_context:C},C},fe.createElement=function(C,H,Q){var W,ue={},V=null;if(H!=null)for(W in H.key!==void 0&&(V=""+H.key),H)ce.call(H,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(ue[W]=H[W]);var ae=arguments.length-2;if(ae===1)ue.children=Q;else if(1<ae){for(var he=Array(ae),Se=0;Se<ae;Se++)he[Se]=arguments[Se+2];ue.children=he}if(C&&C.defaultProps)for(W in ae=C.defaultProps,ae)ue[W]===void 0&&(ue[W]=ae[W]);return I(C,V,ue)},fe.createRef=function(){return{current:null}},fe.forwardRef=function(C){return{$$typeof:g,render:C}},fe.isValidElement=K,fe.lazy=function(C){return{$$typeof:b,_payload:{_status:-1,_result:C},_init:re}},fe.memo=function(C,H){return{$$typeof:p,type:C,compare:H===void 0?null:H}},fe.startTransition=function(C){var H=$.T,Q={};$.T=Q;try{var W=C(),ue=$.S;ue!==null&&ue(Q,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then(oe,Te)}catch(V){Te(V)}finally{H!==null&&Q.types!==null&&(H.types=Q.types),$.T=H}},fe.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},fe.use=function(C){return $.H.use(C)},fe.useActionState=function(C,H,Q){return $.H.useActionState(C,H,Q)},fe.useCallback=function(C,H){return $.H.useCallback(C,H)},fe.useContext=function(C){return $.H.useContext(C)},fe.useDebugValue=function(){},fe.useDeferredValue=function(C,H){return $.H.useDeferredValue(C,H)},fe.useEffect=function(C,H){return $.H.useEffect(C,H)},fe.useEffectEvent=function(C){return $.H.useEffectEvent(C)},fe.useId=function(){return $.H.useId()},fe.useImperativeHandle=function(C,H,Q){return $.H.useImperativeHandle(C,H,Q)},fe.useInsertionEffect=function(C,H){return $.H.useInsertionEffect(C,H)},fe.useLayoutEffect=function(C,H){return $.H.useLayoutEffect(C,H)},fe.useMemo=function(C,H){return $.H.useMemo(C,H)},fe.useOptimistic=function(C,H){return $.H.useOptimistic(C,H)},fe.useReducer=function(C,H,Q){return $.H.useReducer(C,H,Q)},fe.useRef=function(C){return $.H.useRef(C)},fe.useState=function(C){return $.H.useState(C)},fe.useSyncExternalStore=function(C,H,Q){return $.H.useSyncExternalStore(C,H,Q)},fe.useTransition=function(){return $.H.useTransition()},fe.version="19.2.0",fe}var ap;function Mu(){return ap||(ap=1,Ic.exports=Zb()),Ic.exports}var j=Mu();const Wp=Xb(j);var Jc={exports:{}},Ul={},Wc={exports:{}},eu={};var np;function $b(){return np||(np=1,(function(l){function o(R,X){var re=R.length;R.push(X);e:for(;0<re;){var Te=re-1>>>1,_e=R[Te];if(0<f(_e,X))R[Te]=X,R[re]=_e,re=Te;else break e}}function u(R){return R.length===0?null:R[0]}function c(R){if(R.length===0)return null;var X=R[0],re=R.pop();if(re!==X){R[0]=re;e:for(var Te=0,_e=R.length,C=_e>>>1;Te<C;){var H=2*(Te+1)-1,Q=R[H],W=H+1,ue=R[W];if(0>f(Q,re))W<_e&&0>f(ue,Q)?(R[Te]=ue,R[W]=re,Te=W):(R[Te]=Q,R[H]=re,Te=H);else if(W<_e&&0>f(ue,re))R[Te]=ue,R[W]=re,Te=W;else break e}}return X}function f(R,X){var re=R.sortIndex-X.sortIndex;return re!==0?re:R.id-X.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;l.unstable_now=function(){return d.now()}}else{var m=Date,g=m.now();l.unstable_now=function(){return m.now()-g}}var y=[],p=[],b=1,x=null,w=3,N=!1,E=!1,O=!1,z=!1,_=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;function te(R){for(var X=u(p);X!==null;){if(X.callback===null)c(p);else if(X.startTime<=R)c(p),X.sortIndex=X.expirationTime,o(y,X);else break;X=u(p)}}function Z(R){if(O=!1,te(R),!E)if(u(y)!==null)E=!0,oe||(oe=!0,we());else{var X=u(p);X!==null&&se(Z,X.startTime-R)}}var oe=!1,$=-1,ce=5,I=-1;function G(){return z?!0:!(l.unstable_now()-I<ce)}function K(){if(z=!1,oe){var R=l.unstable_now();I=R;var X=!0;try{e:{E=!1,O&&(O=!1,q($),$=-1),N=!0;var re=w;try{t:{for(te(R),x=u(y);x!==null&&!(x.expirationTime>R&&G());){var Te=x.callback;if(typeof Te=="function"){x.callback=null,w=x.priorityLevel;var _e=Te(x.expirationTime<=R);if(R=l.unstable_now(),typeof _e=="function"){x.callback=_e,te(R),X=!0;break t}x===u(y)&&c(y),te(R)}else c(y);x=u(y)}if(x!==null)X=!0;else{var C=u(p);C!==null&&se(Z,C.startTime-R),X=!1}}break e}finally{x=null,w=re,N=!1}X=void 0}}finally{X?we():oe=!1}}}var we;if(typeof F=="function")we=function(){F(K)};else if(typeof MessageChannel<"u"){var qe=new MessageChannel,ye=qe.port2;qe.port1.onmessage=K,we=function(){ye.postMessage(null)}}else we=function(){_(K,0)};function se(R,X){$=_(function(){R(l.unstable_now())},X)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(R){R.callback=null},l.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ce=0<R?Math.floor(1e3/R):5},l.unstable_getCurrentPriorityLevel=function(){return w},l.unstable_next=function(R){switch(w){case 1:case 2:case 3:var X=3;break;default:X=w}var re=w;w=X;try{return R()}finally{w=re}},l.unstable_requestPaint=function(){z=!0},l.unstable_runWithPriority=function(R,X){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var re=w;w=R;try{return X()}finally{w=re}},l.unstable_scheduleCallback=function(R,X,re){var Te=l.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?Te+re:Te):re=Te,R){case 1:var _e=-1;break;case 2:_e=250;break;case 5:_e=1073741823;break;case 4:_e=1e4;break;default:_e=5e3}return _e=re+_e,R={id:b++,callback:X,priorityLevel:R,startTime:re,expirationTime:_e,sortIndex:-1},re>Te?(R.sortIndex=re,o(p,R),u(y)===null&&R===u(p)&&(O?(q($),$=-1):O=!0,se(Z,re-Te))):(R.sortIndex=_e,o(y,R),E||N||(E=!0,oe||(oe=!0,we()))),R},l.unstable_shouldYield=G,l.unstable_wrapCallback=function(R){var X=w;return function(){var re=w;w=X;try{return R.apply(this,arguments)}finally{w=re}}}})(eu)),eu}var ip;function Kb(){return ip||(ip=1,Wc.exports=$b()),Wc.exports}var tu={exports:{}},pt={};var lp;function Ib(){if(lp)return pt;lp=1;var l=Mu();function o(y){var p="https://react.dev/errors/"+y;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)p+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+y+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var c={d:{f:u,r:function(){throw Error(o(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},f=Symbol.for("react.portal");function d(y,p,b){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:x==null?null:""+x,children:y,containerInfo:p,implementation:b}}var m=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(y,p){if(y==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return pt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,pt.createPortal=function(y,p){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(o(299));return d(y,p,null,b)},pt.flushSync=function(y){var p=m.T,b=c.p;try{if(m.T=null,c.p=2,y)return y()}finally{m.T=p,c.p=b,c.d.f()}},pt.preconnect=function(y,p){typeof y=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,c.d.C(y,p))},pt.prefetchDNS=function(y){typeof y=="string"&&c.d.D(y)},pt.preinit=function(y,p){if(typeof y=="string"&&p&&typeof p.as=="string"){var b=p.as,x=g(b,p.crossOrigin),w=typeof p.integrity=="string"?p.integrity:void 0,N=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;b==="style"?c.d.S(y,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:x,integrity:w,fetchPriority:N}):b==="script"&&c.d.X(y,{crossOrigin:x,integrity:w,fetchPriority:N,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},pt.preinitModule=function(y,p){if(typeof y=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var b=g(p.as,p.crossOrigin);c.d.M(y,{crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&c.d.M(y)},pt.preload=function(y,p){if(typeof y=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var b=p.as,x=g(b,p.crossOrigin);c.d.L(y,b,{crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},pt.preloadModule=function(y,p){if(typeof y=="string")if(p){var b=g(p.as,p.crossOrigin);c.d.m(y,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else c.d.m(y)},pt.requestFormReset=function(y){c.d.r(y)},pt.unstable_batchedUpdates=function(y,p){return y(p)},pt.useFormState=function(y,p,b){return m.H.useFormState(y,p,b)},pt.useFormStatus=function(){return m.H.useHostTransitionStatus()},pt.version="19.2.0",pt}var rp;function Jb(){if(rp)return tu.exports;rp=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(o){console.error(o)}}return l(),tu.exports=Ib(),tu.exports}var sp;function Wb(){if(sp)return Ul;sp=1;var l=Kb(),o=Mu(),u=Jb();function c(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function y(e){if(d(e)!==e)throw Error(c(188))}function p(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(c(188));return t!==e?null:e}for(var a=e,n=t;;){var r=a.return;if(r===null)break;var s=r.alternate;if(s===null){if(n=r.return,n!==null){a=n;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===a)return y(r),e;if(s===n)return y(r),t;s=s.sibling}throw Error(c(188))}if(a.return!==n.return)a=r,n=s;else{for(var h=!1,v=r.child;v;){if(v===a){h=!0,a=r,n=s;break}if(v===n){h=!0,n=r,a=s;break}v=v.sibling}if(!h){for(v=s.child;v;){if(v===a){h=!0,a=s,n=r;break}if(v===n){h=!0,n=s,a=r;break}v=v.sibling}if(!h)throw Error(c(189))}}if(a.alternate!==n)throw Error(c(190))}if(a.tag!==3)throw Error(c(188));return a.stateNode.current===a?e:t}function b(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b(e),t!==null)return t;e=e.sibling}return null}var x=Object.assign,w=Symbol.for("react.element"),N=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),F=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),G=Symbol.for("react.memo_cache_sentinel"),K=Symbol.iterator;function we(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var qe=Symbol.for("react.client.reference");function ye(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===qe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case _:return"Profiler";case z:return"StrictMode";case Z:return"Suspense";case oe:return"SuspenseList";case I:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case E:return"Portal";case F:return e.displayName||"Context";case q:return(e._context.displayName||"Context")+".Consumer";case te:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $:return t=e.displayName||null,t!==null?t:ye(e.type)||"Memo";case ce:t=e._payload,e=e._init;try{return ye(e(t))}catch{}}return null}var se=Array.isArray,R=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},Te=[],_e=-1;function C(e){return{current:e}}function H(e){0>_e||(e.current=Te[_e],Te[_e]=null,_e--)}function Q(e,t){_e++,Te[_e]=e.current,e.current=t}var W=C(null),ue=C(null),V=C(null),ae=C(null);function he(e,t){switch(Q(V,t),Q(ue,e),Q(W,null),t.nodeType){case 9:case 11:e=(e
vendor: 5,029 bytes, lines 2-9
2=t.documentElement)&&(e=e.namespaceURI)?wm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=wm(t),e=Sm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}H(W),Q(W,e)}function Se(){H(W),H(ue),H(V)}function ht(e){e.memoizedState!==null&&Q(ae,e);var t=W.current,a=Sm(t,e.type);t!==a&&(Q(ue,e),Q(W,a))}function Qa(e){ue.current===e&&(H(W),H(ue)),ae.current===e&&(H(ae),Ol._currentValue=re)}var sa,oa;function va(e){if(sa===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);sa=t&&t[1]||"",oa=-1<a.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+sa+e+oa}var Gi=!1;function Oe(e,t){if(!e||Gi)return"";Gi=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(U){var M=U}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(U){M=U}e.call(Y.prototype)}}else{try{throw Error()}catch(U){M=U}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(U){if(U&&M&&typeof U.stack=="string")return[U.stack,M.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=n.DetermineComponentFrameRoot(),h=s[0],v=s[1];if(h&&v){var S=h.split(`
5`),k=v.split(`
6`);for(r=n=0;n<S.length&&!S[n].includes("DetermineComponentFrameRoot");)n++;for(;r<k.length&&!k[r].includes("DetermineComponentFrameRoot");)r++;if(n===S.length||r===k.length)for(n=S.length-1,r=k.length-1;1<=n&&0<=r&&S[n]!==k[r];)r--;for(;1<=n&&0<=r;n--,r--)if(S[n]!==k[r]){if(n!==1||r!==1)do if(n--,r--,0>r||S[n]!==k[r]){var L=`
7`+S[n].replace(" at new "," at ");return e.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",e.displayName)),L}while(1<=n&&0<=r);break}}}finally{Gi=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?va(a):""}function yt(e,t){switch(e.tag){case 26:case 27:case 5:return va(e.type);case 16:return va("Lazy");case 13:return e.child!==t&&t!==null?va("Suspense Fallback"):va("Suspense");case 19:return va("SuspenseList");case 0:case 15:return Oe(e.type,!1);case 11:return Oe(e.type.render,!1);case 1:return Oe(e.type,!0);case 31:return va("Activity");default:return""}}function vt(e){try{var t="",a=null;do t+=yt(e,a),a=e,e=e.return;while(e);return t}catch(n){return`
8Error generating stack: `+n.message+`
9`+n.stack}}var bt=Object.prototype.hasOwnProperty,ea=l.unstable_scheduleCallback,ta=l.unstable_cancelCallback,mt=l.unstable_shouldYield,ca=l.unstable_requestPaint,ze=l.unstable_now,Bt=l.unstable_getCurrentPriorityLevel,Ct=l.unstable_ImmediatePriority,Tt=l.unstable_UserBlockingPriority,Je=l.unstable_NormalPriority,Qn=l.unstable_LowPriority,Wl=l.unstable_IdlePriority,Us=l.log,Zn=l.unstable_setDisableYieldValue,ba=null,_t=null;function Za(e){if(typeof Us=="function"&&Zn(e),_t&&typeof _t.setStrictMode=="function")try{_t.setStrictMode(ba,e)}catch{}}var zt=Math.clz32?Math.clz32:Og,_g=Math.log,zg=Math.LN2;function Og(e){return e>>>=0,e===0?32:31-(_g(e)/zg|0)|0}var er=256,tr=262144,ar=4194304;function Nn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function nr(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var v=n&134217727;return v!==0?(n=v&~s,n!==0?r=Nn(n):(h&=v,h!==0?r=Nn(h):a||(a=v&~e,a!==0&&(r=Nn(a))))):(v=n&~s,v!==0?r=Nn(v):h!==0?r=Nn(h):a||(a=n&~e,a!==0&&(r=Nn(a)))),r===0?0:t!==0&&t!==r&&(t&s)===0&&(s=r&-r,a=t&-t,s>=a||s===32&&(a&4194048)!==0)?t:r}function Pi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Dg(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function af(){var e=ar;return ar<<=1,(ar&62914560)===0&&(ar=4194304),e}function Ls(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}
vendor: 7,007 bytes, line 9
9function Xi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function kg(e,t,a,n,r,s){var h=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var v=e.entanglements,S=e.expirationTimes,k=e.hiddenUpdates;for(a=h&~a;0<a;){var L=31-zt(a),Y=1<<L;v[L]=0,S[L]=-1;var M=k[L];if(M!==null)for(k[L]=null,L=0;L<M.length;L++){var U=M[L];U!==null&&(U.lane&=-536870913)}a&=~Y}n!==0&&nf(e,n,0),s!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=s&~(h&~t))}function nf(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-zt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function lf(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-zt(a),r=1<<n;r&t|e[n]&t&&(e[n]|=t),a&=~r}}function rf(e,t){var a=t&-t;return a=(a&42)!==0?1:qs(a),(a&(e.suspendedLanes|t))!==0?0:a}function qs(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Hs(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function sf(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:Vm(e.type))}function of(e,t){var a=X.p;try{return X.p=e,t()}finally{X.p=a}}var $a=Math.random().toString(36).slice(2),st="__reactFiber$"+$a,xt="__reactProps$"+$a,$n="__reactContainer$"+$a,Bs="__reactEvents$"+$a,Mg="__reactListeners$"+$a,Rg="__reactHandles$"+$a,cf="__reactResources$"+$a,Vi="__reactMarker$"+$a;function Ys(e){delete e[st],delete e[xt],delete e[Bs],delete e[Mg],delete e[Rg]}function Kn(e){var t=e[st];if(t)return t;for(var a=e.parentNode;a;){if(t=a[$n]||a[st]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=zm(e);e!==null;){if(a=e[st])return a;e=zm(e)}return t}e=a,a=e.parentNode}return null}function In(e){if(e=e[st]||e[$n]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Qi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function Jn(e){var t=e[cf];return t||(t=e[cf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function lt(e){e[Vi]=!0}var uf=new Set,ff={};function En(e,t){Wn(e,t),Wn(e+"Capture",t)}function Wn(e,t){for(ff[e]=t,e=0;e<t.length;e++)uf.add(t[e])}var Ug=RegExp("^[: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]*$"),df={},hf={};function Lg(e){return bt.call(hf,e)?!0:bt.call(df,e)?!1:Ug.test(e)?hf[e]=!0:(df[e]=!0,!1)}function ir(e,t,a){if(Lg(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function lr(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function xa(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+n)}}function Yt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function qg(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(h){a=""+h,s.call(this,h)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(h){a=""+h},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fs(e){if(!e._valueTracker){var t=mf(e)?"checked":"value";e._valueTracker=qg(e,t,""+e[t])}}function pf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=mf(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}function rr(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}}var Hg=/[\n"\\]/g;function Ft(e){return e.replace(Hg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Gs(e,t,a,n,r,s,h,v){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Yt(t)):e.value!==""+Yt(t)&&(e.value=""+Yt(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?Ps(e,h,Yt(t)):a!=null?Ps(e,h,Yt(a)):n!=null&&e.removeAttribute("value"),r==null&&s!=null&&(e.defaultChecked=!!s),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.name=""+Yt(v):e.removeAttribute("name")}function yf(e,t,a,n,r,s,h,v){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){Fs(e);return}a=a!=null?""+Yt(a):"",t=t!=null?""+Yt(t):a,v||t===e.value||(e.value=t),e.defaultValue=t}n=n??r,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=v?e.checked:!!n,e.defaultChecked=!!n,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h),Fs(e)}function Ps(e,t,a){t==="number"&&rr(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function ei(e,t,a,n){if(e=e.options,t){t={};for(var r=0;r<a.length;r++)t["$"+a[r]]=!0;for(a=0;a<e.length;a++)r=t.hasOwnProperty("$"+e[a].value),e[a].selected!==r&&(e[a].selected=r),r&&n&&(e[a].defaultSelected=!0)}else{for(a=""+Yt(a),t=null,r=0;r<e.length;r++){if(e[r].value===a){e[r].selected=!0,n&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function gf(e,t,a){if(t!=null&&(t=""+Yt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Yt(a):""}function vf(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(c(92));if(se(n)){if(1<n.length)throw Error(c(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=Yt(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),Fs(e)}function ti(e,t){if(t){var a=e.firstChild;
vendor: 4,140 bytes, line 9
9if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Bg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function bf(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||Bg.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function xf(e,t,a){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var r in t)n=t[r],t.hasOwnProperty(r)&&a[r]!==n&&bf(e,r,n)}else for(var s in t)t.hasOwnProperty(s)&&bf(e,s,t[s])}function Xs(e){if(e.indexOf("-")===-1)return!1;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 Yg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
9-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Fg=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function sr(e){return Fg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ja(){}var Vs=null;function Qs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ai=null,ni=null;function jf(e){var t=In(e);if(t&&(e=t.stateNode)){var a=e[xt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Gs(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Ft(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var r=n[xt]||null;if(!r)throw Error(c(90));Gs(n,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&pf(n)}break e;case"textarea":gf(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&ei(e,!!a.multiple,t,!1)}}}var Zs=!1;function wf(e,t,a){if(Zs)return e(t,a);Zs=!0;try{var n=e(t);return n}finally{if(Zs=!1,(ai!==null||ni!==null)&&(Zr(),ai&&(t=ai,e=ni,ni=ai=null,jf(t),e)))for(t=0;t<e.length;t++)jf(e[t])}}function Zi(e,t){var a=e.stateNode;if(a===null)return null;var n=a[xt]||null;if(n===null)return null;a=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(c(231,t,typeof a));return a}var wa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$s=!1;if(wa)try{var $i={};Object.defineProperty($i,"passive",{get:function(){$s=!0}}),window.addEventListener("test",$i,$i),window.removeEventListener("test",$i,$i)}catch{$s=!1}var Ka=null,Ks=null,or=null;function Sf(){if(or)return or;var e,t=Ks,a=t.length,n,r="value"in Ka?Ka.value:Ka.textContent,s=r.length;for(e=0;e<a&&t[e]===r[e];e++);var h=a-e;for(n=1;n<=h&&t[a-n]===r[s-n];n++);return or=r.slice(e,1<n?1-n:void 0)}function cr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ur(){return!0}function Nf(){return!1}function jt(e){function t(a,n,r,s,h){this._reactName=a,this._targetInst=r,this.type=n,this.nativeEvent=s,this.target=h,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(a=e[v],this[v]=a?a(s):s[v]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ur:Nf,this.isPropagationStopped=Nf,this}return x(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=ur)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=ur)},persist:function(){},isPersistent:ur}),t}var An={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fr=jt(An),Ki=x({},An,{view:0,detail:0}),Gg=jt(Ki),Is,Js,Ii,dr=x({},Ki,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:eo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ii&&(Ii&&e.type==="mousemove"?(Is=e.screenX-Ii.screenX,Js=e.screenY-Ii.screenY):Js=Is=0,Ii=e),Is)},movementY:function(e){return"movementY"in e?e.movementY:Js}}),Ef=jt(dr),Pg=x({},dr,{dataTransfer:0}),Xg=jt(Pg),Vg=x({},Ki,{relatedTarget:0}),Ws=jt(Vg),Qg=x({},An,{animationName:0,elapsedTime:0,pseudoElement:0}),Zg=jt(Qg),$g=x({},An,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Kg=jt($g),Ig=x({},An,{data:0}),Af=jt(Ig),Jg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wg={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ev={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ev[e])?!!t[e]:!1}function eo(){return tv}var av=x({},Ki,{key:function(e){if(e.key){var t=Jg[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 5,186 bytes, line 9
9return e.type==="keypress"?(e=cr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Wg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:eo,charCode:function(e){return e.type==="keypress"?cr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?cr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),nv=jt(av),iv=x({},dr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cf=jt(iv),lv=x({},Ki,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:eo}),rv=jt(lv),sv=x({},An,{propertyName:0,elapsedTime:0,pseudoElement:0}),ov=jt(sv),cv=x({},dr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),uv=jt(cv),fv=x({},An,{newState:0,oldState:0}),dv=jt(fv),hv=[9,13,27,32],to=wa&&"CompositionEvent"in window,Ji=null;wa&&"documentMode"in document&&(Ji=document.documentMode);var mv=wa&&"TextEvent"in window&&!Ji,Tf=wa&&(!to||Ji&&8<Ji&&11>=Ji),_f=" ",zf=!1;function Of(e,t){switch(e){case"keyup":return hv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Df(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ii=!1;function pv(e,t){switch(e){case"compositionend":return Df(t);case"keypress":return t.which!==32?null:(zf=!0,_f);case"textInput":return e=t.data,e===_f&&zf?null:e;default:return null}}function yv(e,t){if(ii)return e==="compositionend"||!to&&Of(e,t)?(e=Sf(),or=Ks=Ka=null,ii=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Tf&&t.locale!=="ko"?null:t.data;default:return null}}var gv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function kf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gv[e.type]:t==="textarea"}function Mf(e,t,a,n){ai?ni?ni.push(n):ni=[n]:ai=n,t=ts(t,"onChange"),0<t.length&&(a=new fr("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var Wi=null,el=null;function vv(e){ym(e,0)}function hr(e){var t=Qi(e);if(pf(t))return e}function Rf(e,t){if(e==="change")return t}var Uf=!1;if(wa){var ao;if(wa){var no="oninput"in document;if(!no){var Lf=document.createElement("div");Lf.setAttribute("oninput","return;"),no=typeof Lf.oninput=="function"}ao=no}else ao=!1;Uf=ao&&(!document.documentMode||9<document.documentMode)}function qf(){Wi&&(Wi.detachEvent("onpropertychange",Hf),el=Wi=null)}function Hf(e){if(e.propertyName==="value"&&hr(el)){var t=[];Mf(t,el,e,Qs(e)),wf(vv,t)}}function bv(e,t,a){e==="focusin"?(qf(),Wi=t,el=a,Wi.attachEvent("onpropertychange",Hf)):e==="focusout"&&qf()}function xv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return hr(el)}function jv(e,t){if(e==="click")return hr(t)}function wv(e,t){if(e==="input"||e==="change")return hr(t)}function Sv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ot=typeof Object.is=="function"?Object.is:Sv;function tl(e,t){if(Ot(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var r=a[n];if(!bt.call(t,r)||!Ot(e[r],t[r]))return!1}return!0}function Bf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Yf(e,t){var a=Bf(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Bf(a)}}function Ff(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ff(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=rr(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=rr(e.document)}return t}function io(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")}var Nv=wa&&"documentMode"in document&&11>=document.documentMode,li=null,lo=null,al=null,ro=!1;function Pf(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ro||li==null||li!==rr(n)||(n=li,"selectionStart"in n&&io(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focu
vendor: 21,937 bytes, line 9
9sNode:n.focusNode,focusOffset:n.focusOffset}),al&&tl(al,n)||(al=n,n=ts(lo,"onSelect"),0<n.length&&(t=new fr("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=li)))}function Cn(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var ri={animationend:Cn("Animation","AnimationEnd"),animationiteration:Cn("Animation","AnimationIteration"),animationstart:Cn("Animation","AnimationStart"),transitionrun:Cn("Transition","TransitionRun"),transitionstart:Cn("Transition","TransitionStart"),transitioncancel:Cn("Transition","TransitionCancel"),transitionend:Cn("Transition","TransitionEnd")},so={},Xf={};wa&&(Xf=document.createElement("div").style,"AnimationEvent"in window||(delete ri.animationend.animation,delete ri.animationiteration.animation,delete ri.animationstart.animation),"TransitionEvent"in window||delete ri.transitionend.transition);function Tn(e){if(so[e])return so[e];if(!ri[e])return e;var t=ri[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Xf)return so[e]=t[a];return e}var Vf=Tn("animationend"),Qf=Tn("animationiteration"),Zf=Tn("animationstart"),Ev=Tn("transitionrun"),Av=Tn("transitionstart"),Cv=Tn("transitioncancel"),$f=Tn("transitionend"),Kf=new Map,oo="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");oo.push("scrollEnd");function aa(e,t){Kf.set(e,t),En(t,[e])}var mr=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Gt=[],si=0,co=0;function pr(){for(var e=si,t=co=si=0;t<e;){var a=Gt[t];Gt[t++]=null;var n=Gt[t];Gt[t++]=null;var r=Gt[t];Gt[t++]=null;var s=Gt[t];if(Gt[t++]=null,n!==null&&r!==null){var h=n.pending;h===null?r.next=r:(r.next=h.next,h.next=r),n.pending=r}s!==0&&If(a,r,s)}}function yr(e,t,a,n){Gt[si++]=e,Gt[si++]=t,Gt[si++]=a,Gt[si++]=n,co|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function uo(e,t,a,n){return yr(e,t,a,n),gr(e)}function _n(e,t){return yr(e,null,null,t),gr(e)}function If(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var r=!1,s=e.return;s!==null;)s.childLanes|=a,n=s.alternate,n!==null&&(n.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(r=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,r&&t!==null&&(r=31-zt(a),e=s.hiddenUpdates,n=e[r],n===null?e[r]=[t]:n.push(t),t.lane=a|536870912),s):null}function gr(e){if(50<Nl)throw Nl=0,xc=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var oi={};function Tv(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dt(e,t,a,n){return new Tv(e,t,a,n)}function fo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sa(e,t){var a=e.alternate;return a===null?(a=Dt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Jf(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function vr(e,t,a,n,r,s){var h=0;if(n=e,typeof e=="function")fo(e)&&(h=1);else if(typeof e=="string")h=kb(e,a,W.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case I:return e=Dt(31,a,t,r),e.elementType=I,e.lanes=s,e;case O:return zn(a.children,r,s,t);case z:h=8,r|=24;break;case _:return e=Dt(12,a,t,r|2),e.elementType=_,e.lanes=s,e;case Z:return e=Dt(13,a,t,r),e.elementType=Z,e.lanes=s,e;case oe:return e=Dt(19,a,t,r),e.elementType=oe,e.lanes=s,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case F:h=10;break e;case q:h=9;break e;case te:h=11;break e;case $:h=14;break e;case ce:h=16,n=null;break e}h=29,a=Error(c(130,e===null?"null":typeof e,"")),n=null}return t=Dt(h,a,t,r),t.elementType=e,t.type=n,t.lanes=s,t}function zn(e,t,a,n){return e=Dt(7,e,n,t),e.lanes=a,e}function ho(e,t,a){return e=Dt(6,e,null,t),e.lanes=a,e}function Wf(e){var t=Dt(18,null,null,0);return t.stateNode=e,t}function mo(e,t,a){return t=Dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ed=new WeakMap;function Pt(e,t){if(typeof e=="object"&&e!==null){var a=ed.get(e);return a!==void 0?a:(t={value:e,source:t,stack:vt(t)},ed.set(e,t),t)}return{value:e,source:t,stack:vt(t)}}var ci=[],ui=0,br=null,nl=0,Xt=[],Vt=0,Ia=null,ua=1,fa="";function Na(e,t){ci[ui++]=nl,ci[ui++]=br,br=e,nl=t}function td(e,t,a){Xt[Vt++]=ua,Xt[Vt++]=fa,Xt[Vt++]=Ia,Ia=e;var n=ua;e=fa;var r=32-zt(n)-1;n&=~(1<<r),a+=1;var s=32-zt(t)+r;if(30<s){var h=r-r%5;s=(n&(1<<h)-1).toString(32),n>>=h,r-=h,ua=1<<32-zt(t)+r|a<<r|n,fa=s+e}else ua=1<<s|a<<r|n,fa=e}function po(e){e.return!==null&&(Na(e,1),td(e,1,0))}function yo(e){for(;e===br;)br=ci[--ui],ci[ui]=null,nl=ci[--ui],ci[ui]=null;for(;e===Ia;)Ia=Xt[--Vt],Xt[Vt]=null,fa=Xt[--Vt],Xt[Vt]=null,ua=Xt[--Vt],Xt[Vt]=null}function ad(e,t){Xt[Vt++]=ua,Xt[Vt++]=fa,Xt[Vt++]=Ia,ua=t.id,fa=t.overflow,Ia=e}var ot=null,Be=null,Ne=!1,Ja=null,Qt=!1,go=Error(c(519));function Wa(e){var t=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw il(Pt(t,e)),go}function nd(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[st]=e,t[xt]=n,a){case"dialog":ve("cancel",t),ve("close",t);break;case"iframe":case"object":case"embed":ve("load",t);break;case"video":case"audio":for(a=0;a<Al.length;a++)ve(Al[a],t);break;case"source":ve("error",t);break;case"img":case"image":case"link":ve("error",t),ve("load",t);break;case"details":ve("toggle",t);break;case"input":ve("invalid",t),yf(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":ve("invalid",t);break;case"textarea":ve("invalid",t),vf(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||xm(t.textContent,a)?(n.popover!=null&&(ve("beforetoggle",t),ve("toggle",t)),n.onScroll!=null&&ve("scroll",t),n.onScrollEnd!=null&&ve("scrollend",t),n.onClick!=null&&(t.onclick=ja),t=!0):t=!1,t||Wa(e,!0)}function id(e){for(ot=e.return;ot;)switch(ot.tag){case 5:case 31:case 13:Qt=!1;return;case 27:case 3:Qt=!0;return;default:ot=ot.return}}function fi(e){if(e!==ot)return!1;if(!Ne)return id(e),Ne=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Rc(e.type,e.memoizedProps)),a=!a),a&&Be&&Wa(e),id(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Be=_m(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Be=_m(e)}else t===27?(t=Be,mn(e.type)?(e=Bc,Bc=null,Be=e):Be=t):Be=ot?$t(e.stateNode.nextSibling):null;return!0}function On(){Be=ot=null,Ne=!1}function vo(){var e=Ja;return e!==null&&(Et===null?Et=e:Et.push.apply(Et,e),Ja=null),e}function il(e){Ja===null?Ja=[e]:Ja.push(e)}var bo=C(null),Dn=null,Ea=null;function en(e,t,a){Q(bo,t._currentValue),t._currentValue=a}function Aa(e){e._currentValue=bo.current,H(bo)}function xo(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function jo(e,t,a,n){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var s=r.dependencies;if(s!==null){var h=r.child;s=s.firstContext;e:for(;s!==null;){var v=s;s=r;for(var S=0;S<t.length;S++)if(v.context===t[S]){s.lanes|=a,v=s.alternate,v!==null&&(v.lanes|=a),xo(s.return,a,e),n||(h=null);break e}s=v.next}}else if(r.tag===18){if(h=r.return,h===null)throw Error(c(341));h.lanes|=a,s=h.alternate,s!==null&&(s.lanes|=a),xo(h,a,e),h=null}else h=r.child;if(h!==null)h.return=r;else for(h=r;h!==null;){if(h===e){h=null;break}if(r=h.sibling,r!==null){r.return=h.return,h=r;break}h=h.return}r=h}}function di(e,t,a,n){e=null;for(var r=t,s=!1;r!==null;){if(!s){if((r.flags&524288)!==0)s=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var h=r.alternate;if(h===null)throw Error(c(387));if(h=h.memoizedProps,h!==null){var v=r.type;Ot(r.pendingProps.value,h.value)||(e!==null?e.push(v):e=[v])}}else if(r===ae.current){if(h=r.alternate,h===null)throw Error(c(387));h.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(Ol):e=[Ol])}r=r.return}e!==null&&jo(t,e,a,n),t.flags|=262144}function xr(e){for(e=e.firstContext;e!==null;){if(!Ot(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function kn(e){Dn=e,Ea=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ct(e){return ld(Dn,e)}function jr(e,t){return Dn===null&&kn(e),ld(e,t)}function ld(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Ea===null){if(e===null)throw Error(c(308));Ea=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ea=Ea.next=t;return a}var _v=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},zv=l.unstable_scheduleCallback,Ov=l.unstable_NormalPriority,We={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wo(){return{controller:new _v,data:new Map,refCount:0}}function ll(e){e.refCount--,e.refCount===0&&zv(Ov,function(){e.controller.abort()})}var rl=null,So=0,hi=0,mi=null;function Dv(e,t){if(rl===null){var a=rl=[];So=0,hi=Ac(),mi={status:"pending",value:void 0,then:function(n){a.push(n)}}}return So++,t.then(rd,rd),t}function rd(){if(--So===0&&rl!==null){mi!==null&&(mi.status="fulfilled");var e=rl;rl=null,hi=0,mi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function kv(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(r){a.push(r)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var r=0;r<a.length;r++)(0,a[r])(t)},function(r){for(n.status="rejected",n.reason=r,r=0;r<a.length;r++)(0,a[r])(void 0)}),n}var sd=R.S;R.S=function(e,t){Ph=ze(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Dv(e,t),sd!==null&&sd(e,t)};var Mn=C(null);function No(){var e=Mn.current;return e!==null?e:He.pooledCache}function wr(e,t){t===null?Q(Mn,Mn.current):Q(Mn,t.pool)}function od(){var e=No();return e===null?null:{parent:We._currentValue,pool:e}}var pi=Error(c(460)),Eo=Error(c(474)),Sr=Error(c(542)),Nr={then:function(){}};function cd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ud(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(ja,ja),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,dd(e),e;default:if(typeof t.status=="string")t.then(ja,ja);else{if(e=He,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=n}},function(n){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,dd(e),e}throw Un=t,pi}}function Rn(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Un=a,pi):a}}var Un=null;function fd(){if(Un===null)throw Error(c(459));var e=Un;return Un=null,e}function dd(e){if(e===pi||e===Sr)throw Error(c(483))}var yi=null,sl=0;function Er(e){var t=sl;return sl+=1,yi===null&&(yi=[]),ud(yi,e,t)}function ol(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ar(e,t){throw t.$$typeof===w?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function hd(e){function t(T,A){if(e){var D=T.deletions;D===null?(T.deletions=[A],T.flags|=16):D.push(A)}}function a(T,A){if(!e)return null;for(;A!==null;)t(T,A),A=A.sibling;return null}function n(T){for(var A=new Map;T!==null;)T.key!==null?A.set(T.key,T):A.set(T.index,T),T=T.sibling;return A}function r(T,A){return T=Sa(T,A),T.index=0,T.sibling=null,T}function s(T,A,D){return T.index=D,e?(D=T.alternate,D!==null?(D=D.index,D<A?(T.flags|=67108866,A):D):(T.flags|=67108866,A)):(T.flags|=1048576,A)}function h(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function v(T,A,D,B){return A===null||A.tag!==6?(A=ho(D,T.mode,B),A.return=T,A):(A=r(A,D),A.return=T,A)}function S(T,A,D,B){var ne=D.type;return ne===O?L(T,A,D.props.children,B,D.key):A!==null&&(A.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===ce&&Rn(ne)===A.type)?(A=r(A,D.props),ol(A,D),A.return=T,A):(A=vr(D.type,D.key,D.props,null,T.mode,B),ol(A,D),A.return=T,A)}function k(T,A,D,B){return A===null||A.tag!==4||A.stateNode.containerInfo!==D.containerInfo||A.stateNode.implementation!==D.implementation?(A=mo(D,T.mode,B),A.return=T,A):(A=r(A,D.children||[]),A.return=T,A)}function L(T,A,D,B,ne){return A===null||A.tag!==7?(A=zn(D,T.mode,B,ne),A.return=T,A):(A=r(A,D),A.return=T,A)}function Y(T,A,D){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=ho(""+A,T.mode,D),A.return=T,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case N:return D=vr(A.type,A.key,A.props,null,T.mode,D),ol(D,A),D.return=T,D;case E:return A=mo(A,T.mode,D),A.return=T,A;case ce:return A=Rn(A),Y(T,A,D)}if(se(A)||we(A))return A=zn(A,T.mode,D,null),A.return=T,A;if(typeof A.then=="function")return Y(T,Er(A),D);if(A.$$typeof===F)return Y(T,jr(T,A),D);Ar(T,A)}return null}function M(T,A,D,B){var ne=A!==null?A.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return ne!==null?null:v(T,A,""+D,B);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case N:return D.key===ne?S(T,A,D,B):null;case E:return D.key===ne?k(T,A,D,B):null;case ce:return D=Rn(D),M(T,A,D,B)}if(se(D)||we(D))return ne!==null?null:L(T,A,D,B,null);if(typeof D.then=="function")return M(T,A,Er(D),B);if(D.$$typeof===F)return M(T,A,jr(T,D),B);Ar(T,D)}return null}function U(T,A,D,B,ne){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return T=T.get(D)||null,v(A,T,""+B,ne);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case N:return T=T.get(B.key===null?D:B.key)||null,S(A,T,B,ne);case E:return T=T.get(B.key===null?D:B.key)||null,k(A,T,B,ne);case ce:return B=Rn(B),U(T,A,D,B,ne)}if(se(B)||we(B))return T=T.get(D)||null,L(A,T,B,ne,null);if(typeof B.then=="function")return U(T,A,D,Er(B),ne);if(B.$$typeof===F)return U(T,A,D,jr(A,B),ne);Ar(A,B)}return null}function J(T,A,D,B){for(var ne=null,Ee=null,ee=A,me=A=0,je=null;ee!==null&&me<D.length;me++){ee.index>me?(je=ee,ee=null):je=ee.sibling;var Ae=M(T,ee,D[me],B);if(Ae===null){ee===null&&(ee=je);break}e&&ee&&Ae.alternate===null&&t(T,ee),A=s(Ae,A,me),Ee===null?ne=Ae:Ee.sibling=Ae,Ee=Ae,ee=je}if(me===D.length)return a(T,ee),Ne&&Na(T,me),ne;if(ee===null){for(;me<D.length;me++)ee=Y(T,D[me],B),ee!==null&&(A=s(ee,A,me),Ee===null?ne=ee:Ee.sibling=ee,Ee=ee);return Ne&&Na(T,me),ne}for(ee=n(ee);me<D.length;me++)je=U(ee,T,me,D[me],B),je!==null&&(e&&je.alternate!==null&&ee.delete(je.key===null?me:je.key),A=s(je,A,me),Ee===null?ne=je:Ee.sibling=je,Ee=je);return e&&ee.forEach(function(bn){return t(T,bn)}),Ne&&Na(T,me),ne}function le(T,A,D,B){if(D==null)throw Error(c(151));for(var ne=null,Ee=null,ee=A,me=A=0,je=null,Ae=D.next();ee!==null&&!Ae.done;me++,Ae=D.next()){ee.index>me?(je=ee,ee=null):je=ee.sibling;var bn=M(T,ee,Ae.value,B);if(bn===null){ee===null&&(ee=je);break}e&&ee&&bn.alternate===null&&t(T,ee),A=s(bn,A,me),Ee===null?ne=bn:Ee.sibling=bn,Ee=bn,ee=je}if(Ae.done)return a(T,ee),Ne&&Na(T,me),ne;if(ee===null){for(;!Ae.done;me++,Ae=D.next())Ae=Y(T,Ae.value,B),Ae!==null&&(A=s(Ae,A,me),Ee===null?ne=Ae:Ee.sibling=Ae,Ee=Ae);return Ne&&Na(T,me),ne}for(ee=n(ee);!Ae.done;me++,Ae=D.next())Ae=U(ee,T,me,Ae.value,B),Ae!==null&&(e&&Ae.alternate!==null&&ee.delete(Ae.key===null?me:Ae.key),A=s(Ae,A,me),Ee===null?ne=Ae:Ee.sibling=Ae,Ee=Ae);return e&&ee.forEach(function(Pb){return t(T,Pb)}),Ne&&Na(T,me),ne}function Ue(T,A,D,B){if(typeof D=="object"&&D!==null&&D.type===O&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case N:e:{for(var ne=D.key;A!==null;){if(A.key===ne){if(ne=D.type,ne===O){if(A.tag===7){a(T,A.sibling),B=r(A,D.props.children),B.return=T,T=B;break e}}else if(A.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===ce&&Rn(ne)===A.type){a(T,A.sibling),B=r(A,D.props),ol(B,D),B.return=T,T=B;break e}a(T,A);break}else t(T,A);A=A.sibling}D.type===O?(B=zn(D.props.children,T.mode,B,D.key),B.return=T,T=B):(B=vr(D.type,D.key,D.props,null,T.mode,B),ol(B,D),B.return=T,T=B)}return h(T);case E:e:{for(ne=D.key;A!==null;){if(A.key===ne)if(A.tag===4&&A.stateNode.containerInfo===D.containerInfo&&A.stateNode.implementation===D.implementation){a(T,A.sibling),B=r(A,D.children||[]),B.return=T,T=B;break e}else{a(T,A);break}else t(T,A);A=A.sibling}B=mo(D,T.mode,B),B.return=T,T=B}return h(T);case ce:return D=Rn(D),Ue(T,A,D,B)}if(se(D))return J(T,A,D,B);if(we(D)){if(ne=we(D),typeof ne!="function")throw Error(c(150));return D=ne.call(D),le(T,A,D,B)}if(typeof D.then=="function")return Ue(T,A,Er(D),B);if(D.$$typeof===F)return Ue(T,A,jr(T,D),B);Ar(T,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,A!==null&&A.tag===6?(a(T,A.sibling),B=r(A,D),B.return=T,T=B):(a(T,A),B=ho(D,T.mode,B),B.return=T,T=B),h(T)):a(T,A)}return function(T,A,D,B){try{sl=0;var ne=Ue(T,A,D,B);return yi=null,ne}catch(ee){if(ee===pi||ee===Sr)throw ee;var Ee=Dt(29,ee,null,T.mode);return Ee.lanes=B,Ee.return=T,Ee}finally{}}}var Ln=hd(!0),md=hd(!1),tn=!1;function Ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function an(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function nn(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Ce&2)!==0){var r=n.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),n.pending=t,t=gr(e),If(e,null,a),t}return yr(e,n,t,a),gr(e)}function cl(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,lf(e,a)}}function To(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var r=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var h={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?r=s=h:s=s.next=h,a=a.next}while(a!==null);s===null?r=s=t:s=s.next=t}else r=s=t;a={baseState:n.baseState,firstBaseUpdate:r,lastBaseUpdate:s,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var _o=!1;function ul(){if(_o){var e=mi;if(e!==null)throw e}}function fl(e,t,a,n){_o=!1;var r=e.updateQueue;tn=!1;var s=r.firstBaseUpdate,h=r.lastBaseUpdate,v=r.shared.pending;if(v!==null){r.shared.pending=null;var S=v,k=S.next;S.next=null,h===null?s=k:h.next=k,h=S;var L=e.alternate;L!==null&&(L=L.updateQueue,v=L.lastBaseUpdate,v!==h&&(v===null?L.firstBaseUpdate=k:v.next=k,L.lastBaseUpdate=S))}if(s!==null){var Y=r.baseState;h=0,L=k=S=null,v=s;do{var M=v.lane&-536870913,U=M!==v.lane;if(U?(xe&M)===M:(n&M)===M){M!==0&&M===hi&&(_o=!0),L!==null&&(L=L.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var J=e,le=v;M=t;var Ue=a;switch(le.tag){case 1:if(J=le.payload,typeof J=="function"){Y=J.call(Ue,Y,M);break e}Y=J;break e;case 3:J.flags=J.flags&-65537|128;case 0:if(J=le.payload,M=typeof J=="function"?J.call(Ue,Y,M):J,M==null)break e;Y=x({},Y,M);break e;case 2:tn=!0}}M=v.callback,M!==null&&(e.flags|=64,U&&(e.flags|=8192),U=r.callbacks,U===null?r.callbacks=[M]:U.push(M))}else U={lane:M,tag:v.tag,payload:v.payload,callback:v.callback,next:null},L===null?(k=L=U,S=Y):L=L.next=U,h|=M;if(v=v.next,v===null){if(v=r.shared.pending,v===null)break;U=v,v=U.next,U.next=null,r.lastBaseUpdate=U,r.shared.pending=null}}while(!0);
vendor: 4,326 bytes, line 9
9L===null&&(S=Y),r.baseState=S,r.firstBaseUpdate=k,r.lastBaseUpdate=L,s===null&&(r.shared.lanes=0),cn|=h,e.lanes=h,e.memoizedState=Y}}function pd(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function yd(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)pd(a[e],t)}var gi=C(null),Cr=C(0);function gd(e,t){e=Ra,Q(Cr,e),Q(gi,t),Ra=e|t.baseLanes}function zo(){Q(Cr,Ra),Q(gi,gi.current)}function Oo(){Ra=Cr.current,H(gi),H(Cr)}var kt=C(null),Zt=null;function ln(e){var t=e.alternate;Q($e,$e.current&1),Q(kt,e),Zt===null&&(t===null||gi.current!==null||t.memoizedState!==null)&&(Zt=e)}function Do(e){Q($e,$e.current),Q(kt,e),Zt===null&&(Zt=e)}function vd(e){e.tag===22?(Q($e,$e.current),Q(kt,e),Zt===null&&(Zt=e)):rn()}function rn(){Q($e,$e.current),Q(kt,kt.current)}function Mt(e){H(kt),Zt===e&&(Zt=null),H($e)}var $e=C(0);function Tr(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||qc(a)||Hc(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)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 Ca=0,de=null,Me=null,et=null,_r=!1,vi=!1,qn=!1,zr=0,dl=0,bi=null,Mv=0;function Ve(){throw Error(c(321))}function ko(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Ot(e[a],t[a]))return!1;return!0}function Mo(e,t,a,n,r,s){return Ca=s,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?th:$o,qn=!1,s=a(n,r),qn=!1,vi&&(s=xd(t,a,n,r)),bd(e),s}function bd(e){R.H=pl;var t=Me!==null&&Me.next!==null;if(Ca=0,et=Me=de=null,_r=!1,dl=0,bi=null,t)throw Error(c(300));e===null||tt||(e=e.dependencies,e!==null&&xr(e)&&(tt=!0))}function xd(e,t,a,n){de=e;var r=0;do{if(vi&&(bi=null),dl=0,vi=!1,25<=r)throw Error(c(301));if(r+=1,et=Me=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}R.H=ah,s=t(a,n)}while(vi);return s}function Rv(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?hl(t):t,e=e.useState()[0],(Me!==null?Me.memoizedState:null)!==e&&(de.flags|=1024),t}function Ro(){var e=zr!==0;return zr=0,e}function Uo(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Lo(e){if(_r){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}_r=!1}Ca=0,et=Me=de=null,vi=!1,dl=zr=0,bi=null}function gt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?de.memoizedState=et=e:et=et.next=e,et}function Ke(){if(Me===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=et===null?de.memoizedState:et.next;if(t!==null)et=t,Me=e;else{if(e===null)throw de.alternate===null?Error(c(467)):Error(c(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},et===null?de.memoizedState=et=e:et=et.next=e}return et}function Or(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function hl(e){var t=dl;return dl+=1,bi===null&&(bi=[]),e=ud(bi,e,t),t=de,(et===null?t.memoizedState:et.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?th:$o),e}function Dr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return hl(e);if(e.$$typeof===F)return ct(e)}throw Error(c(438,String(e)))}function qo(e){var t=null,a=de.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=de.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Or(),de.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=G;return t.index++,a}function Ta(e,t){return typeof t=="function"?t(e):t}function kr(e){var t=Ke();return Ho(t,Me,e)}function Ho(e,t,a){var n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=a;var r=e.baseQueue,s=n.pending;if(s!==null){if(r!==null){var h=r.next;
vendor: 18,292 bytes, line 9
9r.next=s.next,s.next=h}t.baseQueue=r=s,n.pending=null}if(s=e.baseState,r===null)e.memoizedState=s;else{t=r.next;var v=h=null,S=null,k=t,L=!1;do{var Y=k.lane&-536870913;if(Y!==k.lane?(xe&Y)===Y:(Ca&Y)===Y){var M=k.revertLane;if(M===0)S!==null&&(S=S.next={lane:0,revertLane:0,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null}),Y===hi&&(L=!0);else if((Ca&M)===M){k=k.next,M===hi&&(L=!0);continue}else Y={lane:0,revertLane:k.revertLane,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},S===null?(v=S=Y,h=s):S=S.next=Y,de.lanes|=M,cn|=M;Y=k.action,qn&&a(s,Y),s=k.hasEagerState?k.eagerState:a(s,Y)}else M={lane:Y,revertLane:k.revertLane,gesture:k.gesture,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},S===null?(v=S=M,h=s):S=S.next=M,de.lanes|=Y,cn|=Y;k=k.next}while(k!==null&&k!==t);if(S===null?h=s:S.next=v,!Ot(s,e.memoizedState)&&(tt=!0,L&&(a=mi,a!==null)))throw a;e.memoizedState=s,e.baseState=h,e.baseQueue=S,n.lastRenderedState=s}return r===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Bo(e){var t=Ke(),a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=e;var n=a.dispatch,r=a.pending,s=t.memoizedState;if(r!==null){a.pending=null;var h=r=r.next;do s=e(s,h.action),h=h.next;while(h!==r);Ot(s,t.memoizedState)||(tt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),a.lastRenderedState=s}return[s,n]}function jd(e,t,a){var n=de,r=Ke(),s=Ne;if(s){if(a===void 0)throw Error(c(407));a=a()}else a=t();var h=!Ot((Me||r).memoizedState,a);if(h&&(r.memoizedState=a,tt=!0),r=r.queue,Go(Nd.bind(null,n,r,e),[e]),r.getSnapshot!==t||h||et!==null&&et.memoizedState.tag&1){if(n.flags|=2048,xi(9,{destroy:void 0},Sd.bind(null,n,r,a,t),null),He===null)throw Error(c(349));s||(Ca&127)!==0||wd(n,t,a)}return a}function wd(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=de.updateQueue,t===null?(t=Or(),de.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Sd(e,t,a,n){t.value=a,t.getSnapshot=n,Ed(t)&&Ad(e)}function Nd(e,t,a){return a(function(){Ed(t)&&Ad(e)})}function Ed(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Ot(e,a)}catch{return!0}}function Ad(e){var t=_n(e,2);t!==null&&At(t,e,2)}function Yo(e){var t=gt();if(typeof e=="function"){var a=e;if(e=a(),qn){Za(!0);try{a()}finally{Za(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:e},t}function Cd(e,t,a,n){return e.baseState=a,Ho(e,Me,typeof n=="function"?n:Ta)}function Uv(e,t,a,n,r){if(Ur(e))throw Error(c(485));if(e=t.action,e!==null){var s={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){s.listeners.push(h)}};R.T!==null?a(!0):s.isTransition=!1,n(s),a=t.pending,a===null?(s.next=t.pending=s,Td(t,s)):(s.next=a.next,t.pending=a.next=s)}}function Td(e,t){var a=t.action,n=t.payload,r=e.state;if(t.isTransition){var s=R.T,h={};R.T=h;try{var v=a(r,n),S=R.S;S!==null&&S(h,v),_d(e,t,v)}catch(k){Fo(e,t,k)}finally{s!==null&&h.types!==null&&(s.types=h.types),R.T=s}}else try{s=a(r,n),_d(e,t,s)}catch(k){Fo(e,t,k)}}function _d(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){zd(e,t,n)},function(n){return Fo(e,t,n)}):zd(e,t,a)}function zd(e,t,a){t.status="fulfilled",t.value=a,Od(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Td(e,a)))}function Fo(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,Od(t),t=t.next;while(t!==n)}e.action=null}function Od(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Dd(e,t){return t}function kd(e,t){if(Ne){var a=He.formState;if(a!==null){e:{var n=de;if(Ne){if(Be){t:{for(var r=Be,s=Qt;r.nodeType!==8;){if(!s){r=null;break t}if(r=$t(r.nextSibling),r===null){r=null;break t}}s=r.data,r=s==="F!"||s==="F"?r:null}if(r){Be=$t(r.nextSibling),n=r.data==="F!";break e}}Wa(n)}n=!1}n&&(t=a[0])}}return a=gt(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dd,lastRenderedState:t},a.queue=n,a=Jd.bind(null,de,n),n.dispatch=a,n=Yo(!1),s=Zo.bind(null,de,!1,n.queue),n=gt(),r={state:t,dispatch:null,action:e,pending:null},n.queue=r,a=Uv.bind(null,de,r,s,a),r.dispatch=a,n.memoizedState=e,[t,a,!1]}function Md(e){var t=Ke();return Rd(t,Me,e)}function Rd(e,t,a){if(t=Ho(e,t,Dd)[0],e=kr(Ta)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=hl(t)}catch(h){throw h===pi?Sr:h}else n=t;t=Ke();var r=t.queue,s=r.dispatch;return a!==t.memoizedState&&(de.flags|=2048,xi(9,{destroy:void 0},Lv.bind(null,r,a),null)),[n,s,e]}function Lv(e,t){e.action=t}function Ud(e){var t=Ke(),a=Me;if(a!==null)return Rd(t,a,e);Ke(),t=t.memoizedState,a=Ke();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function xi(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=de.updateQueue,t===null&&(t=Or(),de.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function Ld(){return Ke().memoizedState}function Mr(e,t,a,n){var r=gt();de.flags|=e,r.memoizedState=xi(1|t,{destroy:void 0},a,n===void 0?null:n)}function Rr(e,t,a,n){var r=Ke();n=n===void 0?null:n;var s=r.memoizedState.inst;Me!==null&&n!==null&&ko(n,Me.memoizedState.deps)?r.memoizedState=xi(t,s,a,n):(de.flags|=e,r.memoizedState=xi(1|t,s,a,n))}function qd(e,t){Mr(8390656,8,e,t)}function Go(e,t){Rr(2048,8,e,t)}function qv(e){de.flags|=4;var t=de.updateQueue;if(t===null)t=Or(),de.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Hd(e){var t=Ke().memoizedState;return qv({ref:t,nextImpl:e}),function(){if((Ce&2)!==0)throw Error(c(440));return t.impl.apply(void 0,arguments)}}function Bd(e,t){return Rr(4,2,e,t)}function Yd(e,t){return Rr(4,4,e,t)}function Fd(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Gd(e,t,a){a=a!=null?a.concat([e]):null,Rr(4,4,Fd.bind(null,t,e),a)}function Po(){}function Pd(e,t){var a=Ke();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&ko(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function Xd(e,t){var a=Ke();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&ko(t,n[1]))return n[0];if(n=e(),qn){Za(!0);try{e()}finally{Za(!1)}}return a.memoizedState=[n,t],n}function Xo(e,t,a){return a===void 0||(Ca&1073741824)!==0&&(xe&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Vh(),de.lanes|=e,cn|=e,a)}function Vd(e,t,a,n){return Ot(a,t)?a:gi.current!==null?(e=Xo(e,a,n),Ot(e,t)||(tt=!0),e):(Ca&42)===0||(Ca&1073741824)!==0&&(xe&261930)===0?(tt=!0,e.memoizedState=a):(e=Vh(),de.lanes|=e,cn|=e,t)}function Qd(e,t,a,n,r){var s=X.p;X.p=s!==0&&8>s?s:8;var h=R.T,v={};R.T=v,Zo(e,!1,t,a);try{var S=r(),k=R.S;if(k!==null&&k(v,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var L=kv(S,n);ml(e,t,L,Lt(e))}else ml(e,t,n,Lt(e))}catch(Y){ml(e,t,{then:function(){},status:"rejected",reason:Y},Lt())}finally{X.p=s,h!==null&&v.types!==null&&(h.types=v.types),R.T=h}}function Hv(){}function Vo(e,t,a,n){if(e.tag!==5)throw Error(c(476));var r=Zd(e).queue;Qd(e,r,t,re,a===null?Hv:function(){return $d(e),a(n)})}function Zd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:re},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function $d(e){var t=Zd(e);t.next===null&&(t=e.alternate.memoizedState),ml(e,t.next.queue,{},Lt())}function Qo(){return ct(Ol)}function Kd(){return Ke().memoizedState}function Id(){return Ke().memoizedState}function Bv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Lt();e=an(a);var n=nn(t,e,a);n!==null&&(At(n,t,a),cl(n,t,a)),t={cache:wo()},e.payload=t;return}t=t.return}}function Yv(e,t,a){var n=Lt();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ur(e)?Wd(t,a):(a=uo(e,t,a,n),a!==null&&(At(a,e,n),eh(a,t,n)))}function Jd(e,t,a){var n=Lt();ml(e,t,a,n)}function ml(e,t,a,n){var r={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ur(e))Wd(t,r);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var h=t.lastRenderedState,v=s(h,a);if(r.hasEagerState=!0,r.eagerState=v,Ot(v,h))return yr(e,t,r,0),He===null&&pr(),!1}catch{}finally{}if(a=uo(e,t,r,n),a!==null)return At(a,e,n),eh(a,t,n),!0}return!1}function Zo(e,t,a,n){if(n={lane:2,revertLane:Ac(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ur(e)){if(t)throw Error(c(479))}else t=uo(e,a,n,2),t!==null&&At(t,e,2)}function Ur(e){var t=e.alternate;return e===de||t!==null&&t===de}function Wd(e,t){vi=_r=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function eh(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,lf(e,a)}}var pl={readContext:ct,use:Dr,useCallback:Ve,useContext:Ve,useEffect:Ve,useImperativeHandle:Ve,useLayoutEffect:Ve,useInsertionEffect:Ve,useMemo:Ve,useReducer:Ve,useRef:Ve,useState:Ve,useDebugValue:Ve,useDeferredValue:Ve,useTransition:Ve,useSyncExternalStore:Ve,useId:Ve,useHostTransitionStatus:Ve,useFormState:Ve,useActionState:Ve,useOptimistic:Ve,useMemoCache:Ve,useCacheRefresh:Ve};pl.useEffectEvent=Ve;var th={readContext:ct,use:Dr,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:qd,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Mr(4194308,4,Fd.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Mr(4194308,4,e,t)},useInsertionEffect:function(e,t){Mr(4,2,e,t)},useMemo:function(e,t){var a=gt();t=t===void 0?null:t;var n=e();if(qn){Za(!0);try{e()}finally{Za(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=gt();if(a!==void 0){var r=a(t);if(qn){Za(!0);try{a(t)}finally{Za(!1)}}}else r=t;return n.memoizedState=n.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},n.queue=e,e=e.dispatch=Yv.bind(null,de,e),[n.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:function(e){e=Yo(e);var t=e.queue,a=Jd.bind(null,de,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Po,useDeferredValue:function(e,t){var a=gt();return Xo(a,e,t)},useTransition:function(){var e=Yo(!1);return e=Qd.bind(null,de,e.queue,!0,!1),gt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=de,r=gt();if(Ne){if(a===void 0)throw Error(c(407));a=a()}else{if(a=t(),He===null)throw Error(c(349));(xe&127)!==0||wd(n,t,a)}r.memoizedState=a;var s={value:a,getSnapshot:t};return r.queue=s,qd(Nd.bind(null,n,s,e),[e]),n.flags|=2048,xi(9,{destroy:void 0},Sd.bind(null,n,s,a,t),null),a},useId:function(){var e=gt(),t=He.identifierPrefix;if(Ne){var a=fa,n=ua;a=(n&~(1<<32-zt(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=zr++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Mv++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Qo,useFormState:kd,useActionState:kd,useOptimistic:function(e){var t=gt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Zo.bind(null,de,!0,a),a.dispatch=t,[e,t]},useMemoCache:qo,useCacheRefresh:function(){return gt().memoizedState=Bv.bind(null,de)},useEffectEvent:function(e){var t=gt(),a={impl:e};return t.memoizedState=a,function(){if((Ce&2)!==0)throw Error(c(440));return a.impl.apply(void 0,arguments)}}},$o={readContext:ct,use:Dr,useCallback:Pd,useContext:ct,useEffect:Go,useImperativeHandle:Gd,useInsertionEffect:Bd,useLayoutEffect:Yd,useMemo:Xd,useReducer:kr,useRef:Ld,useState:function(){return kr(Ta)},useDebugValue:Po,useDeferredValue:function(e,t){var a=Ke();return Vd(a,Me.memoizedState,e,t)},useTransition:function(){var e=kr(Ta)[0],t=Ke().memoizedState;return[typeof e=="boolean"?e:hl(e),t]},useSyncExternalStore:jd,useId:Kd,useHostTransitionStatus:Qo,useFormState:Md,useActionState:Md,useOptimistic:function(e,t){var a=Ke();return Cd(a,Me,e,t)},useMemoCache:qo,useCacheRefresh:Id};$o.useEffectEvent=Hd;var ah={readContext:ct,use:Dr,useCallback:Pd,useContext:ct,useEffect:Go,useImperativeHandle:Gd,useInsertionEffect:Bd,useLayoutEffect:Yd,useMemo:Xd,useReducer:Bo,useRef:Ld,useState:function(){return Bo(Ta)},useDebugValue:Po,useDeferredValue:function(e,t){var a=Ke();return Me===null?Xo(a,e,t):Vd(a,Me.memoizedState,e,t)},useTransition:function(){var e=Bo(Ta)[0],t=Ke().memoizedState;return[typeof e=="boolean"?e:hl(e),t]},useSyncExternalStore:jd,useId:Kd,useHostTransitionStatus:Qo,useFormState:Ud,useActionState:Ud,useOptimistic:function(e,t){var a=Ke();return Me!==null?Cd(a,Me,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:qo,useCacheRefresh:Id};ah.useEffectEvent=Hd;function Ko(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:x({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Io={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=Lt(),r=an(n);r.payload=t,a!=null&&(r.callback=a),t=nn(e,r,n),t!==null&&(At(t,e,n),cl(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=Lt(),r=an(n);r.tag=1,r.payload=t,a!=null&&(r.callback=a),t=nn(e,r,n),t!==null&&(At(t,e,n),cl(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Lt(),n=an(a);n.tag=2,t!=null&&(n.callback=t),t=nn(e,n,a),t!==null&&(At(t,e,a),cl(t,e,a))}};function nh(e,t,a,n,r,s,h){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,s,h):t.prototype&&t.prototype.isPureReactComponent?!tl(a,n)||!tl(r,s):!0}function ih(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&Io.enqueueReplaceState(t,t.state,null)}function Hn(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=x({},a));for(var r in e)a[r]===void 0&&(a[r]=e[r])}return a}function lh(e){mr(e)}function rh(e){console.error(e)}function sh(e){mr(e)}function Lr(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function oh(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Jo(e,t,a){return a=an(a),a.tag=3,a.payload={element:null},a.callback=function(){Lr(e,t)},a}function ch(e){return e=an(e),e.tag=3,e}function uh(e,t,a,n){var r=a.type.getDerivedStateFromError;if(typeof r=="function"){var s=n.value;e.payload=function(){return r(s)},e.callback=function(){oh(t,a,n)}}var h=a.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(e.callback=function(){oh(t,a,n),typeof r!="function"&&(un===null?un=new Set([this]):un.add(this));var v=n.stack;this.componentDidCatch(n.value,{componentStack:v!==null?v:""})})}function Fv(e,t,a,n,r){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&di(t,a,r,!0),a=kt.current,a!==null){switch(a.tag){case 31:case 13:return Zt===null?$r():a.alternate===null&&Qe===0&&(Qe=3),a.flags&=-257,a.flags|=65536,a.lanes=r,n===Nr?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),Sc(e,n,r)),!1;case 22:return a.flags|=65536,n===Nr?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),Sc(e,n,r)),!1}throw Error(c(435,a.tag))}return Sc(e,n,r),$r(),!1}if(Ne)return t=kt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,n!==go&&(e=Error(c(422),{cause:n}),il(Pt(e,a)))):(n!==go&&(t=Error(c(423),{cause:n}),il(Pt(t,a))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,n=Pt(n,a),r=Jo(e.stateNode,n,r),To(e,r),Qe!==4&&(Qe=2)),!1;var s=Error(c(520),{cause:n});if(s=Pt(s,a),Sl===null?Sl=[s]:Sl.push(s),Qe!==4&&(Qe=2),t===null)return!0;n=Pt(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=r&-r,a.lanes|=e,e=Jo(a.stateNode,n,e),To(a,e),!1;case 1:if(t=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(un===null||!un.has(s))))return a.flags|=65536,r&=-r,a.lanes|=r,r=ch(r),uh(r,e,a,n),To(a,r),!1}a=a.return}while(a!==null);return!1}var Wo=Error(c(461)),tt=!1;function ut(e,t,a,n){t.child=e===null?md(t,null,a,n):Ln(t,e.child,a,n)}function fh(e,t,a,n,r){a=a.render;var s=t.ref;if("ref"in n){var h={};for(var v in n)v!=="ref"&&(h[v]=n[v])}else h=n;return kn(t),n=Mo(e,t,a,h,s,r),v=Ro(),e!==null&&!tt?(Uo(e,t,r),_a(e,t,r)):(Ne&&v&&po(t),t.flags|=1,ut(e,t,n,r),t.child)}function dh(e,t,a,n,r){if(e===null){var s=a.type;return typeof s=="function"&&!fo(s)&&s.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=s,hh(e,t,s,n,r)):(e=vr(a.type,null,n,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!sc(e,r)){var h=s.memoizedProps;if(a=a.compare,a=a!==null?a:tl,a(h,n)&&e.ref===t.ref)return _a(e,t,r)}return t.flags|=1,e=Sa(s,n),e.ref=t.ref,e.return=t,t.child=e}function hh(e,t,a,n,r){if(e!==null){var s=e.memoizedProps;if(tl(s,n)&&e.ref===t.ref)if(tt=!1,t.pendingProps=n=s,sc(e,r))(e.flags&131072)!==0&&(tt=!0);else return t.lanes=e.lanes,_a(e,t,r)}return ec(e,t,a,n,r)}function mh(e,t,a,n){var r=n.children,s=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(s=s!==null?s.baseLanes|a:a,e!==null){for(n=t.child=e.child,r=0;n!==null;)r=r|n.lanes|n.childLanes,n=n.sibling;n=r&~s}else n=0,t.child=null;return ph(e,t,s,a,n)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&wr(t,s!==null?s.cachePool:null),s!==null?gd(t,s):zo(),vd(t);else return n=t.lanes=536870912,ph(e,t,s!==null?s.baseLanes|a:a,a,n)}
vendor: 18,233 bytes, line 9
9else s!==null?(wr(t,s.cachePool),gd(t,s),rn(),t.memoizedState=null):(e!==null&&wr(t,null),zo(),rn());return ut(e,t,r,a),t.child}function yl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ph(e,t,a,n,r){var s=No();return s=s===null?null:{parent:We._currentValue,pool:s},t.memoizedState={baseLanes:a,cachePool:s},e!==null&&wr(t,null),zo(),vd(t),e!==null&&di(e,t,n,!0),t.childLanes=r,null}function qr(e,t){return t=Br({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function yh(e,t,a){return Ln(t,e.child,null,a),e=qr(t,t.pendingProps),e.flags|=2,Mt(t),t.memoizedState=null,e}function Gv(e,t,a){var n=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ne){if(n.mode==="hidden")return e=qr(t,n),t.lanes=536870912,yl(null,e);if(Do(t),(e=Be)?(e=Tm(e,Qt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ia!==null?{id:ua,overflow:fa}:null,retryLane:536870912,hydrationErrors:null},a=Wf(e),a.return=t,t.child=a,ot=t,Be=null)):e=null,e===null)throw Wa(t);return t.lanes=536870912,null}return qr(t,n)}var s=e.memoizedState;if(s!==null){var h=s.dehydrated;if(Do(t),r)if(t.flags&256)t.flags&=-257,t=yh(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(c(558));else if(tt||di(e,t,a,!1),r=(a&e.childLanes)!==0,tt||r){if(n=He,n!==null&&(h=rf(n,a),h!==0&&h!==s.retryLane))throw s.retryLane=h,_n(e,h),At(n,e,h),Wo;$r(),t=yh(e,t,a)}else e=s.treeContext,Be=$t(h.nextSibling),ot=t,Ne=!0,Ja=null,Qt=!1,e!==null&&ad(t,e),t=qr(t,n),t.flags|=4096;return t}return e=Sa(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Hr(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(c(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function ec(e,t,a,n,r){return kn(t),a=Mo(e,t,a,n,void 0,r),n=Ro(),e!==null&&!tt?(Uo(e,t,r),_a(e,t,r)):(Ne&&n&&po(t),t.flags|=1,ut(e,t,a,r),t.child)}function gh(e,t,a,n,r,s){return kn(t),t.updateQueue=null,a=xd(t,n,a,r),bd(e),n=Ro(),e!==null&&!tt?(Uo(e,t,s),_a(e,t,s)):(Ne&&n&&po(t),t.flags|=1,ut(e,t,a,s),t.child)}function vh(e,t,a,n,r){if(kn(t),t.stateNode===null){var s=oi,h=a.contextType;typeof h=="object"&&h!==null&&(s=ct(h)),s=new a(n,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Io,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=n,s.state=t.memoizedState,s.refs={},Ao(t),h=a.contextType,s.context=typeof h=="object"&&h!==null?ct(h):oi,s.state=t.memoizedState,h=a.getDerivedStateFromProps,typeof h=="function"&&(Ko(t,a,h,n),s.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(h=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),h!==s.state&&Io.enqueueReplaceState(s,s.state,null),fl(t,n,s,r),ul(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){s=t.stateNode;var v=t.memoizedProps,S=Hn(a,v);s.props=S;var k=s.context,L=a.contextType;h=oi,typeof L=="object"&&L!==null&&(h=ct(L));var Y=a.getDerivedStateFromProps;L=typeof Y=="function"||typeof s.getSnapshotBeforeUpdate=="function",v=t.pendingProps!==v,L||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(v||k!==h)&&ih(t,s,n,h),tn=!1;var M=t.memoizedState;s.state=M,fl(t,n,s,r),ul(),k=t.memoizedState,v||M!==k||tn?(typeof Y=="function"&&(Ko(t,a,Y,n),k=t.memoizedState),(S=tn||nh(t,a,S,n,M,k,h))?(L||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=n,t.memoizedState=k),s.props=n,s.state=k,s.context=h,n=S):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{s=t.stateNode,Co(e,t),h=t.memoizedProps,L=Hn(a,h),s.props=L,Y=t.pendingProps,M=s.context,k=a.contextType,S=oi,typeof k=="object"&&k!==null&&(S=ct(k)),v=a.getDerivedStateFromProps,(k=typeof v=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(h!==Y||M!==S)&&ih(t,s,n,S),tn=!1,M=t.memoizedState,s.state=M,fl(t,n,s,r),ul();var U=t.memoizedState;h!==Y||M!==U||tn||e!==null&&e.dependencies!==null&&xr(e.dependencies)?(typeof v=="function"&&(Ko(t,a,v,n),U=t.memoizedState),(L=tn||nh(t,a,L,n,M,U,S)||e!==null&&e.dependencies!==null&&xr(e.dependencies))?(k||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(n,U,S),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(n,U,S)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||h===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=U),s.props=n,s.state=U,s.context=S,n=L):(typeof s.componentDidUpdate!="function"||h===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),n=!1)}return s=n,Hr(e,t),n=(t.flags&128)!==0,s||n?(s=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,e!==null&&n?(t.child=Ln(t,e.child,null,r),t.child=Ln(t,null,a,r)):ut(e,t,a,r),t.memoizedState=s.state,e=t.child):e=_a(e,t,r),e}function bh(e,t,a,n){return On(),t.flags|=256,ut(e,t,a,n),t.child}var tc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ac(e){return{baseLanes:e,cachePool:od()}}function nc(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Ut),e}function xh(e,t,a){var n=t.pendingProps,r=!1,s=(t.flags&128)!==0,h;if((h=s)||(h=e!==null&&e.memoizedState===null?!1:($e.current&2)!==0),h&&(r=!0,t.flags&=-129),h=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ne){if(r?ln(t):rn(),(e=Be)?(e=Tm(e,Qt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ia!==null?{id:ua,overflow:fa}:null,retryLane:536870912,hydrationErrors:null},a=Wf(e),a.return=t,t.child=a,ot=t,Be=null)):e=null,e===null)throw Wa(t);return Hc(e)?t.lanes=32:t.lanes=536870912,null}var v=n.children;return n=n.fallback,r?(rn(),r=t.mode,v=Br({mode:"hidden",children:v},r),n=zn(n,r,a,null),v.return=t,n.return=t,v.sibling=n,t.child=v,n=t.child,n.memoizedState=ac(a),n.childLanes=nc(e,h,a),t.memoizedState=tc,yl(null,n)):(ln(t),ic(t,v))}var S=e.memoizedState;if(S!==null&&(v=S.dehydrated,v!==null)){if(s)t.flags&256?(ln(t),t.flags&=-257,t=lc(e,t,a)):t.memoizedState!==null?(rn(),t.child=e.child,t.flags|=128,t=null):(rn(),v=n.fallback,r=t.mode,n=Br({mode:"visible",children:n.children},r),v=zn(v,r,a,null),v.flags|=2,n.return=t,v.return=t,n.sibling=v,t.child=n,Ln(t,e.child,null,a),n=t.child,n.memoizedState=ac(a),n.childLanes=nc(e,h,a),t.memoizedState=tc,t=yl(null,n));else if(ln(t),Hc(v)){if(h=v.nextSibling&&v.nextSibling.dataset,h)var k=h.dgst;h=k,n=Error(c(419)),n.stack="",n.digest=h,il({value:n,source:null,stack:null}),t=lc(e,t,a)}else if(tt||di(e,t,a,!1),h=(a&e.childLanes)!==0,tt||h){if(h=He,h!==null&&(n=rf(h,a),n!==0&&n!==S.retryLane))throw S.retryLane=n,_n(e,n),At(h,e,n),Wo;qc(v)||$r(),t=lc(e,t,a)}else qc(v)?(t.flags|=192,t.child=e.child,t=null):(e=S.treeContext,Be=$t(v.nextSibling),ot=t,Ne=!0,Ja=null,Qt=!1,e!==null&&ad(t,e),t=ic(t,n.children),t.flags|=4096);return t}return r?(rn(),v=n.fallback,r=t.mode,S=e.child,k=S.sibling,n=Sa(S,{mode:"hidden",children:n.children}),n.subtreeFlags=S.subtreeFlags&65011712,k!==null?v=Sa(k,v):(v=zn(v,r,a,null),v.flags|=2),v.return=t,n.return=t,n.sibling=v,t.child=n,yl(null,n),n=t.child,v=e.child.memoizedState,v===null?v=ac(a):(r=v.cachePool,r!==null?(S=We._currentValue,r=r.parent!==S?{parent:S,pool:S}:r):r=od(),v={baseLanes:v.baseLanes|a,cachePool:r}),n.memoizedState=v,n.childLanes=nc(e,h,a),t.memoizedState=tc,yl(e.child,n)):(ln(t),a=e.child,e=a.sibling,a=Sa(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(h=t.deletions,h===null?(t.deletions=[e],t.flags|=16):h.push(e)),t.child=a,t.memoizedState=null,a)}function ic(e,t){return t=Br({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Br(e,t){return e=Dt(22,e,null,t),e.lanes=0,e}function lc(e,t,a){return Ln(t,e.child,null,a),e=ic(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function jh(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),xo(e.return,t,a)}function rc(e,t,a,n,r,s){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:r,treeForkCount:s}:(h.isBackwards=t,h.rendering=null,h.renderingStartTime=0,h.last=n,h.tail=a,h.tailMode=r,h.treeForkCount=s)}function wh(e,t,a){var n=t.pendingProps,r=n.revealOrder,s=n.tail;n=n.children;var h=$e.current,v=(h&2)!==0;if(v?(h=h&1|2,t.flags|=128):h&=1,Q($e,h),ut(e,t,n,a),n=Ne?nl:0,!v&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&jh(e,a,t);else if(e.tag===19)jh(e,a,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}switch(r){case"forwards":for(a=t.child,r=null;a!==null;)e=a.alternate,e!==null&&Tr(e)===null&&(r=a),a=a.sibling;a=r,a===null?(r=t.child,t.child=null):(r=a.sibling,a.sibling=null),rc(t,!1,r,a,s,n);break;case"backwards":case"unstable_legacy-backwards":for(a=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Tr(e)===null){t.child=r;break}e=r.sibling,r.sibling=a,a=r,r=e}rc(t,!0,a,null,s,n);break;case"together":rc(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function _a(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),cn|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(di(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,a=Sa(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Sa(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function sc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&xr(e)))}function Pv(e,t,a){switch(t.tag){case 3:he(t,t.stateNode.containerInfo),en(t,We,e.memoizedState.cache),On();break;case 27:case 5:ht(t);break;case 4:he(t,t.stateNode.containerInfo);break;case 10:en(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Do(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(ln(t),t.flags|=128,null):(a&t.child.childLanes)!==0?xh(e,t,a):(ln(t),e=_a(e,t,a),e!==null?e.sibling:null);ln(t);break;case 19:var r=(e.flags&128)!==0;if(n=(a&t.childLanes)!==0,n||(di(e,t,a,!1),n=(a&t.childLanes)!==0),r){if(n)return wh(e,t,a);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Q($e,$e.current),n)break;return null;case 22:return t.lanes=0,mh(e,t,a,t.pendingProps);case 24:en(t,We,e.memoizedState.cache)}return _a(e,t,a)}function Sh(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)tt=!0;else{if(!sc(e,a)&&(t.flags&128)===0)return tt=!1,Pv(e,t,a);tt=(e.flags&131072)!==0}else tt=!1,Ne&&(t.flags&1048576)!==0&&td(t,nl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=Rn(t.elementType),t.type=e,typeof e=="function")fo(e)?(n=Hn(e,n),t.tag=1,t=vh(null,t,e,n,a)):(t.tag=0,t=ec(null,t,e,n,a));else{if(e!=null){var r=e.$$typeof;if(r===te){t.tag=11,t=fh(null,t,e,n,a);break e}else if(r===$){t.tag=14,t=dh(null,t,e,n,a);break e}}throw t=ye(e)||e,Error(c(306,t,""))}}return t;case 0:return ec(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,r=Hn(n,t.pendingProps),vh(e,t,n,r,a);case 3:e:{if(he(t,t.stateNode.containerInfo),e===null)throw Error(c(387));n=t.pendingProps;var s=t.memoizedState;r=s.element,Co(e,t),fl(t,n,null,a);var h=t.memoizedState;if(n=h.cache,en(t,We,n),n!==s.cache&&jo(t,[We],a,!0),ul(),n=h.element,s.isDehydrated)if(s={element:n,isDehydrated:!1,cache:h.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=bh(e,t,n,a);break e}else if(n!==r){r=Pt(Error(c(424)),t),il(r),t=bh(e,t,n,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Be=$t(e.firstChild),ot=t,Ne=!0,Ja=null,Qt=!0,a=md(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(On(),n===r){t=_a(e,t,a);break e}ut(e,t,n,a)}t=t.child}return t;case 26:return Hr(e,t),e===null?(a=Mm(t.type,null,t.pendingProps,null))?t.memoizedState=a:Ne||(a=t.type,e=t.pendingProps,n=as(V.current).createElement(a),n[st]=t,n[xt]=e,ft(n,a,e),lt(n),t.stateNode=n):t.memoizedState=Mm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ht(t),e===null&&Ne&&(n=t.stateNode=Om(t.type,t.pendingProps,V.current),ot=t,Qt=!0,r=Be,mn(t.type)?(Bc=r,Be=$t(n.firstChild)):Be=r),ut(e,t,t.pendingProps.children,a),Hr(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ne&&((r=n=Be)&&(n=xb(n,t.type,t.pendingProps,Qt),n!==null?(t.stateNode=n,ot=t,Be=$t(n.firstChild),Qt=!1,r=!0):r=!1),r||Wa(t)),ht(t),r=t.type,s=t.pendingProps,h=e!==null?e.memoizedProps:null,n=s.children,Rc(r,s)?n=null:h!==null&&Rc(r,h)&&(t.flags|=32),t.memoizedState!==null&&(r=Mo(e,t,Rv,null,null,a),Ol._currentValue=r),Hr(e,t),ut(e,t,n,a),t.child;case 6:return e===null&&Ne&&((e=a=Be)&&(a=jb(a,t.pendingProps,Qt),a!==null?(t.stateNode=a,ot=t,Be=null,e=!0):e=!1),e||Wa(t)),null;case 13:return xh(e,t,a);case 4:return he(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ln(t,null,n,a):ut(e,t,n,a),t.child;case 11:return fh(e,t,t.type,t.pendingProps,a);case 7:return ut(e,t,t.pendingProps,a),t.child;case 8:return ut(e,t,t.pendingProps.children,a),t.child;case 12:return ut(e,t,t.pendingProps.children,a),t.child;case 10:return n=t.pendingProps,en(t,t.type,n.value),ut(e,t,n.children,a),t.child;case 9:return r=t.type._context,n=t.pendingProps.children,kn(t),r=ct(r),n=n(r),t.flags|=1,ut(e,t,n,a),t.child;case 14:return dh(e,t,t.type,t.pendingProps,a);case 15:return hh(e,t,t.type,t.pendingProps,a);case 19:return wh(e,t,a);case 31:return Gv(e,t,a);case 22:return mh(e,t,a,t.pendingProps);case 24:return kn(t),n=ct(We),e===null?(r=No(),r===null&&(r=He,s=wo(),r.pooledCache=s,s.refCount++,s!==null&&(r.pooledCacheLanes|=a),r=s),t.memoizedState={parent:n,cache:r},Ao(t),en(t,We,r)):((e.lanes&a)!==0&&(Co(e,t),fl(t,null,null,a),ul()),r=e.memoizedState,s=t.memoizedState,r.parent!==n?(r={parent:n,cache:n},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),en(t,We,n)):(n=s.cache,en(t,We,n),n!==r.cache&&jo(t,[We],a,!0))),ut(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function za(e){e.flags|=4}function oc(e,t,a,n,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(Kh())e.flags|=8192;else throw Un=Nr,Eo}else e.flags&=-16777217}function Nh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Hm(t))if(Kh())e.flags|=8192;else throw Un=Nr,Eo}function Yr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?af():536870912,e.lanes|=t,Ni|=t)}function gl(e,t){if(!Ne)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var r=e.child;r!==null;)a|=r.lanes|r.childLanes,n|=r.subtreeFlags&65011712,n|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)a|=r.lanes|r.childLanes,n|=r.subtreeFlags,n|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function Xv(e,t,a){var n=t.pendingProps;switch(yo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(t),null;case 1:return Ye(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Aa(We),Se(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(fi(t)?za(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,vo())),Ye(t),null;case 26:var r=t.type,s=t.memoizedState;return e===null?(za(t),s!==null?(Ye(t),Nh(t,s)):(Ye(t),oc(t,r,null,n,a))):s?s!==e.memoizedState?(za(t),Ye(t),Nh(t,s)):(Ye(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&za(t),Ye(t),oc(t,r,e,n,a)),null;case 27:if(Qa(t),a=V.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&za(t);else{if(!n){if(t.stateNode===null)throw Error(c(166));return Ye(t),null}e=W.current,fi(t)?nd(t):(e=Om(r,n,a),t.stateNode=e,za(t))}return Ye(t),null;case 5:if(Qa(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&za(t);else{if(!n){if(t.stateNode===null)throw Error(c(166));return Ye(t),null}if(s=W.current,fi(t))nd(t);else{var h=as(V.current);switch(s){case 1:s=h.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:s=h.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":s=h.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":s=h.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":s=h.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild);break;
vendor: 26,208 bytes, line 9
9case"select":s=typeof n.is=="string"?h.createElement("select",{is:n.is}):h.createElement("select"),n.multiple?s.multiple=!0:n.size&&(s.size=n.size);break;default:s=typeof n.is=="string"?h.createElement(r,{is:n.is}):h.createElement(r)}}s[st]=t,s[xt]=n;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)s.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=s;e:switch(ft(s,r,n),r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&za(t)}}return Ye(t),oc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&za(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(c(166));if(e=V.current,fi(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,r=ot,r!==null)switch(r.tag){case 27:case 5:n=r.memoizedProps}e[st]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||xm(e.nodeValue,a)),e||Wa(t,!0)}else e=as(e).createTextNode(n),e[st]=t,t.stateNode=e}return Ye(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=fi(t),a!==null){if(e===null){if(!n)throw Error(c(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(557));e[st]=t}else On(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ye(t),e=!1}else a=vo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Mt(t),t):(Mt(t),null);if((t.flags&128)!==0)throw Error(c(558))}return Ye(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=fi(t),n!==null&&n.dehydrated!==null){if(e===null){if(!r)throw Error(c(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(c(317));r[st]=t}else On(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ye(t),r=!1}else r=vo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(Mt(t),t):(Mt(t),null)}return Mt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,r=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(r=n.alternate.memoizedState.cachePool.pool),s=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),s!==r&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Yr(t,t.updateQueue),Ye(t),null);case 4:return Se(),e===null&&zc(t.stateNode.containerInfo),Ye(t),null;case 10:return Aa(t.type),Ye(t),null;case 19:if(H($e),n=t.memoizedState,n===null)return Ye(t),null;if(r=(t.flags&128)!==0,s=n.rendering,s===null)if(r)gl(n,!1);else{if(Qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=Tr(e),s!==null){for(t.flags|=128,gl(n,!1),e=s.updateQueue,t.updateQueue=e,Yr(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Jf(a,e),a=a.sibling;return Q($e,$e.current&1|2),Ne&&Na(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&ze()>Vr&&(t.flags|=128,r=!0,gl(n,!1),t.lanes=4194304)}else{if(!r)if(e=Tr(s),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Yr(t,e),gl(n,!0),n.tail===null&&n.tailMode==="hidden"&&!s.alternate&&!Ne)return Ye(t),null}else 2*ze()-n.renderingStartTime>Vr&&a!==536870912&&(t.flags|=128,r=!0,gl(n,!1),t.lanes=4194304);n.isBackwards?(s.sibling=t.child,t.child=s):(e=n.last,e!==null?e.sibling=s:t.child=s,n.last=s)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=ze(),e.sibling=null,a=$e.current,Q($e,r?a&1|2:a&1),Ne&&Na(t,n.treeForkCount),e):(Ye(t),null);case 22:case 23:return Mt(t),Oo(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(Ye(t),t.subtreeFlags&6&&(t.flags|=8192)):Ye(t),a=t.updateQueue,a!==null&&Yr(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&H(Mn),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Aa(We),Ye(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function Vv(e,t){switch(yo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Aa(We),Se(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Qa(t),null;case 31:if(t.memoizedState!==null){if(Mt(t),t.alternate===null)throw Error(c(340));On()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Mt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));On()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H($e),null;case 4:return Se(),null;case 10:return Aa(t.type),null;case 22:case 23:return Mt(t),Oo(),e!==null&&H(Mn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Aa(We),null;case 25:return null;default:return null}}function Eh(e,t){switch(yo(t),t.tag){case 3:Aa(We),Se();break;case 26:case 27:case 5:Qa(t);break;case 4:Se();break;case 31:t.memoizedState!==null&&Mt(t);break;case 13:Mt(t);break;case 19:H($e);break;case 10:Aa(t.type);break;case 22:case 23:Mt(t),Oo(),e!==null&&H(Mn);break;case 24:Aa(We)}}function vl(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var r=n.next;a=r;do{if((a.tag&e)===e){n=void 0;var s=a.create,h=a.inst;n=s(),h.destroy=n}a=a.next}while(a!==r)}}catch(v){ke(t,t.return,v)}}function sn(e,t,a){try{var n=t.updateQueue,r=n!==null?n.lastEffect:null;if(r!==null){var s=r.next;n=s;do{if((n.tag&e)===e){var h=n.inst,v=h.destroy;if(v!==void 0){h.destroy=void 0,r=t;var S=a,k=v;try{k()}catch(L){ke(r,S,L)}}}n=n.next}while(n!==s)}}catch(L){ke(t,t.return,L)}}function Ah(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{yd(t,a)}catch(n){ke(e,e.return,n)}}}function Ch(e,t,a){a.props=Hn(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){ke(e,t,n)}}function bl(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(r){ke(e,t,r)}}function da(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(r){ke(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(r){ke(e,t,r)}else a.current=null}function Th(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(r){ke(e,e.return,r)}}function cc(e,t,a){try{var n=e.stateNode;mb(n,e.type,a,t),n[xt]=t}catch(r){ke(e,e.return,r)}}function _h(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&mn(e.type)||e.tag===4}function uc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_h(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.tag===27&&mn(e.type)||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 fc(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=ja));else if(n!==4&&(n===27&&mn(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(fc(e,t,a),e=e.sibling;e!==null;)fc(e,t,a),e=e.sibling}function Fr(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(n!==4&&(n===27&&mn(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Fr(e,t,a),e=e.sibling;e!==null;)Fr(e,t,a),e=e.sibling}function zh(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);ft(t,n,a),t[st]=e,t[xt]=a}catch(s){ke(e,e.return,s)}}var Oa=!1,at=!1,dc=!1,Oh=typeof WeakSet=="function"?WeakSet:Set,rt=null;function Qv(e,t){if(e=e.containerInfo,kc=cs,e=Gf(e),io(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var r=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break e}var h=0,v=-1,S=-1,k=0,L=0,Y=e,M=null;t:for(;;){for(var U;Y!==a||r!==0&&Y.nodeType!==3||(v=h+r),Y!==s||n!==0&&Y.nodeType!==3||(S=h+n),Y.nodeType===3&&(h+=Y.nodeValue.length),(U=Y.firstChild)!==null;)M=Y,Y=U;for(;;){if(Y===e)break t;if(M===a&&++k===r&&(v=h),M===s&&++L===n&&(S=h),(U=Y.nextSibling)!==null)break;Y=M,M=Y.parentNode}Y=U}a=v===-1||S===-1?null:{start:v,end:S}}else a=null}a=a||{start:0,end:0}}else a=null;for(Mc={focusedElem:e,selectionRange:a},cs=!1,rt=t;rt!==null;)if(t=rt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,rt=e;else for(;rt!==null;){switch(t=rt,s=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)r=e[a],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,a=t,r=s.memoizedProps,s=s.memoizedState,n=a.stateNode;try{var J=Hn(a.type,r);e=n.getSnapshotBeforeUpdate(J,s),n.__reactInternalSnapshotBeforeUpdate=e}catch(le){ke(a,a.return,le)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Lc(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Lc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(c(163))}if(e=t.sibling,e!==null){e.return=t.return,rt=e;break}rt=t.return}}function Dh(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:ka(e,a),n&4&&vl(5,a);break;case 1:if(ka(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(h){ke(a,a.return,h)}else{var r=Hn(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(h){ke(a,a.return,h)}}n&64&&Ah(a),n&512&&bl(a,a.return);break;case 3:if(ka(e,a),n&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{yd(e,t)}catch(h){ke(a,a.return,h)}}break;case 27:t===null&&n&4&&zh(a);case 26:case 5:ka(e,a),t===null&&n&4&&Th(a),n&512&&bl(a,a.return);break;case 12:ka(e,a);break;case 31:ka(e,a),n&4&&Rh(e,a);break;case 13:ka(e,a),n&4&&Uh(e,a),n&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=ab.bind(null,a),wb(e,a))));break;case 22:if(n=a.memoizedState!==null||Oa,!n){t=t!==null&&t.memoizedState!==null||at,r=Oa;var s=at;Oa=n,(at=t)&&!s?Ma(e,a,(a.subtreeFlags&8772)!==0):ka(e,a),Oa=r,at=s}break;case 30:break;default:ka(e,a)}}function kh(e){var t=e.alternate;t!==null&&(e.alternate=null,kh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ys(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Pe=null,wt=!1;function Da(e,t,a){for(a=a.child;a!==null;)Mh(e,t,a),a=a.sibling}function Mh(e,t,a){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(ba,a)}catch{}switch(a.tag){case 26:at||da(a,t),Da(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:at||da(a,t);var n=Pe,r=wt;mn(a.type)&&(Pe=a.stateNode,wt=!1),Da(e,t,a),Tl(a.stateNode),Pe=n,wt=r;break;case 5:at||da(a,t);case 6:if(n=Pe,r=wt,Pe=null,Da(e,t,a),Pe=n,wt=r,Pe!==null)if(wt)try{(Pe.nodeType===9?Pe.body:Pe.nodeName==="HTML"?Pe.ownerDocument.body:Pe).removeChild(a.stateNode)}catch(s){ke(a,t,s)}else try{Pe.removeChild(a.stateNode)}catch(s){ke(a,t,s)}break;case 18:Pe!==null&&(wt?(e=Pe,Am(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Di(e)):Am(Pe,a.stateNode));break;case 4:n=Pe,r=wt,Pe=a.stateNode.containerInfo,wt=!0,Da(e,t,a),Pe=n,wt=r;break;case 0:case 11:case 14:case 15:sn(2,a,t),at||sn(4,a,t),Da(e,t,a);break;case 1:at||(da(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&Ch(a,t,n)),Da(e,t,a);break;case 21:Da(e,t,a);break;case 22:at=(n=at)||a.memoizedState!==null,Da(e,t,a),at=n;break;default:Da(e,t,a)}}function Rh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Di(e)}catch(a){ke(t,t.return,a)}}}function Uh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Di(e)}catch(a){ke(t,t.return,a)}}function Zv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Oh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Oh),t;default:throw Error(c(435,e.tag))}}function Gr(e,t){var a=Zv(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var r=nb.bind(null,e,n);n.then(r,r)}})}function St(e,t){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var r=a[n],s=e,h=t,v=h;e:for(;v!==null;){switch(v.tag){case 27:if(mn(v.type)){Pe=v.stateNode,wt=!1;break e}break;case 5:Pe=v.stateNode,wt=!1;break e;case 3:case 4:Pe=v.stateNode.containerInfo,wt=!0;break e}v=v.return}if(Pe===null)throw Error(c(160));Mh(s,h,r),Pe=null,wt=!1,s=r.alternate,s!==null&&(s.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Lh(t,e),t=t.sibling}var na=null;function Lh(e,t){var a=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:St(t,e),Nt(e),n&4&&(sn(3,e,e.return),vl(3,e),sn(5,e,e.return));break;case 1:St(t,e),Nt(e),n&512&&(at||a===null||da(a,a.return)),n&64&&Oa&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?n:a.concat(n))));break;case 26:var r=na;if(St(t,e),Nt(e),n&512&&(at||a===null||da(a,a.return)),n&4){var s=a!==null?a.memoizedState:null;if(n=e.memoizedState,a===null)if(n===null)if(e.stateNode===null){e:{n=e.type,a=e.memoizedProps,r=r.ownerDocument||r;t:switch(n){case"title":s=r.getElementsByTagName("title")[0],(!s||s[Vi]||s[st]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=r.createElement(n),r.head.insertBefore(s,r.querySelector("head > title"))),ft(s,n,a),s[st]=e,lt(s),n=s;break e;case"link":var h=Lm("link","href",r).get(n+(a.href||""));if(h){for(var v=0;v<h.length;v++)if(s=h[v],s.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&s.getAttribute("rel")===(a.rel==null?null:a.rel)&&s.getAttribute("title")===(a.title==null?null:a.title)&&s.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){h.splice(v,1);break t}}s=r.createElement(n),ft(s,n,a),r.head.appendChild(s);break;case"meta":if(h=Lm("meta","content",r).get(n+(a.content||""))){for(v=0;v<h.length;v++)if(s=h[v],s.getAttribute("content")===(a.content==null?null:""+a.content)&&s.getAttribute("name")===(a.name==null?null:a.name)&&s.getAttribute("property")===(a.property==null?null:a.property)&&s.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&s.getAttribute("charset")===(a.charSet==null?null:a.charSet)){h.splice(v,1);break t}}s=r.createElement(n),ft(s,n,a),r.head.appendChild(s);break;default:throw Error(c(468,n))}s[st]=e,lt(s),n=s}e.stateNode=n}else qm(r,e.type,e.stateNode);else e.stateNode=Um(r,n,e.memoizedProps);else s!==n?(s===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):s.count--,n===null?qm(r,e.type,e.stateNode):Um(r,n,e.memoizedProps)):n===null&&e.stateNode!==null&&cc(e,e.memoizedProps,a.memoizedProps)}break;case 27:St(t,e),Nt(e),n&512&&(at||a===null||da(a,a.return)),a!==null&&n&4&&cc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(St(t,e),Nt(e),n&512&&(at||a===null||da(a,a.return)),e.flags&32){r=e.stateNode;try{ti(r,"")}catch(J){ke(e,e.return,J)}}n&4&&e.stateNode!=null&&(r=e.memoizedProps,cc(e,r,a!==null?a.memoizedProps:r)),n&1024&&(dc=!0);break;case 6:if(St(t,e),Nt(e),n&4){if(e.stateNode===null)throw Error(c(162));n=e.memoizedProps,a=e.stateNode;try{a.nodeValue=n}catch(J){ke(e,e.return,J)}}break;case 3:if(ls=null,r=na,na=ns(t.containerInfo),St(t,e),na=r,Nt(e),n&4&&a!==null&&a.memoizedState.isDehydrated)try{Di(t.containerInfo)}catch(J){ke(e,e.return,J)}dc&&(dc=!1,qh(e));break;case 4:n=na,na=ns(e.stateNode.containerInfo),St(t,e),Nt(e),na=n;break;case 12:St(t,e),Nt(e);break;case 31:St(t,e),Nt(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,Gr(e,n)));break;case 13:St(t,e),Nt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Xr=ze()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,Gr(e,n)));break;case 22:r=e.memoizedState!==null;var S=a!==null&&a.memoizedState!==null,k=Oa,L=at;if(Oa=k||r,at=L||S,St(t,e),at=L,Oa=k,Nt(e),n&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(a===null||S||Oa||at||Bn(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){S=a=t;try{if(s=S.stateNode,r)h=s.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none";else{v=S.stateNode;var Y=S.memoizedProps.style,M=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;v.style.display=M==null||typeof M=="boolean"?"":(""+M).trim()}}catch(J){ke(S,S.return,J)}}}else if(t.tag===6){if(a===null){S=t;try{S.stateNode.nodeValue=r?"":S.memoizedProps}catch(J){ke(S,S.return,J)}}}else if(t.tag===18){if(a===null){S=t;try{var U=S.stateNode;r?Cm(U,!0):Cm(S.stateNode,!1)}catch(J){ke(S,S.return,J)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(a=n.retryQueue,a!==null&&(n.retryQueue=null,Gr(e,a))));break;case 19:St(t,e),Nt(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,Gr(e,n)));break;case 30:break;case 21:break;default:St(t,e),Nt(e)}}function Nt(e){var t=e.flags;if(t&2){try{for(var a,n=e.return;n!==null;){if(_h(n)){a=n;break}n=n.return}if(a==null)throw Error(c(160));switch(a.tag){case 27:var r=a.stateNode,s=uc(e);Fr(e,s,r);break;case 5:var h=a.stateNode;a.flags&32&&(ti(h,""),a.flags&=-33);var v=uc(e);Fr(e,v,h);break;case 3:case 4:var S=a.stateNode.containerInfo,k=uc(e);fc(e,k,S);break;default:throw Error(c(161))}}catch(L){ke(e,e.return,L)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function qh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;qh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ka(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Dh(e,t.alternate,t),t=t.sibling}function Bn(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:sn(4,t,t.return),Bn(t);break;case 1:da(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Ch(t,t.return,a),Bn(t);break;case 27:Tl(t.stateNode);case 26:case 5:da(t,t.return),Bn(t);break;case 22:t.memoizedState===null&&Bn(t);break;case 30:Bn(t);break;default:Bn(t)}e=e.sibling}}function Ma(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,r=e,s=t,h=s.flags;switch(s.tag){case 0:case 11:case 15:Ma(r,s,a),vl(4,s);break;case 1:if(Ma(r,s,a),n=s,r=n.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(k){ke(n,n.return,k)}if(n=s,r=n.updateQueue,r!==null){var v=n.stateNode;try{var S=r.shared.hiddenCallbacks;if(S!==null)for(r.shared.hiddenCallbacks=null,r=0;r<S.length;r++)pd(S[r],v)}catch(k){ke(n,n.return,k)}}a&&h&64&&Ah(s),bl(s,s.return);break;case 27:zh(s);case 26:case 5:Ma(r,s,a),a&&n===null&&h&4&&Th(s),bl(s,s.return);break;case 12:Ma(r,s,a);break;case 31:Ma(r,s,a),a&&h&4&&Rh(r,s);break;case 13:Ma(r,s,a),a&&h&4&&Uh(r,s);break;case 22:s.memoizedState===null&&Ma(r,s,a),bl(s,s.return);break;case 30:break;default:Ma(r,s,a)}t=t.sibling}}function hc(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&ll(a))}function mc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ll(e))}function ia(e,t,a,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Hh(e,t,a,n),t=t.sibling}function Hh(e,t,a,n){var r=t.flags;switch(t.tag){case 0:case 11:case 15:ia(e,t,a,n),r&2048&&vl(9,t);break;case 1:ia(e,t,a,n);break;case 3:ia(e,t,a,n),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ll(e)));break;case 12:if(r&2048){ia(e,t,a,n),e=t.stateNode;try{var s=t.memoizedProps,h=s.id,v=s.onPostCommit;typeof v=="function"&&v(h,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(S){ke(t,t.return,S)}}else ia(e,t,a,n);break;case 31:ia(e,t,a,n);break;case 13:ia(e,t,a,n);break;case 23:break;case 22:s=t.stateNode,h=t.alternate,t.memoizedState!==null?s._visibility&2?ia(e,t,a,n):xl(e,t):s._visibility&2?ia(e,t,a,n):(s._visibility|=2,ji(e,t,a,n,(t.subtreeFlags&10256)!==0||!1)),r&2048&&hc(h,t);break;case 24:ia(e,t,a,n),r&2048&&mc(t.alternate,t);break;default:ia(e,t,a,n)}}function ji(e,t,a,n,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var s=e,h=t,v=a,S=n,k=h.flags;switch(h.tag){case 0:case 11:case 15:ji(s,h,v,S,r),vl(8,h);break;case 23:break;case 22:var L=h.stateNode;h.memoizedState!==null?L._visibility&2?ji(s,h,v,S,r):xl(s,h):(L._visibility|=2,ji(s,h,v,S,r)),r&&k&2048&&hc(h.alternate,h);break;case 24:ji(s,h,v,S,r),r&&k&2048&&mc(h.alternate,h);break;default:ji(s,h,v,S,r)}t=t.sibling}}function xl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,r=n.flags;switch(n.tag){case 22:xl(a,n),r&2048&&hc(n.alternate,n);break;case 24:xl(a,n),r&2048&&mc(n.alternate,n);break;default:xl(a,n)}t=t.sibling}}var jl=8192;function wi(e,t,a){if(e.subtreeFlags&jl)for(e=e.child;e!==null;)Bh(e,t,a),e=e.sibling}function Bh(e,t,a){switch(e.tag){case 26:wi(e,t,a),e.flags&jl&&e.memoizedState!==null&&Mb(a,na,e.memoizedState,e.memoizedProps);break;case 5:wi(e,t,a);break;case 3:case 4:var n=na;na=ns(e.stateNode.containerInfo),wi(e,t,a),na=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=jl,jl=16777216,wi(e,t,a),jl=n):wi(e,t,a));break;default:wi(e,t,a)}}function Yh(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function wl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];rt=n,Gh(n,e)}Yh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fh(e),e=e.sibling}function Fh(e){switch(e.tag){case 0:case 11:case 15:wl(e),e.flags&2048&&sn(9,e,e.return);break;case 3:wl(e);break;case 12:wl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Pr(e)):wl(e);break;default:wl(e)}}function Pr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];rt=n,Gh(n,e)}Yh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:sn(8,t,t.return),Pr(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Pr(t));break;default:Pr(t)}e=e.sibling}}function Gh(e,t){for(;rt!==null;){var a=rt;switch(a.tag){case 0:case 11:case 15:sn(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:ll(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,rt=n;else e:for(a=e;rt!==null;){n=rt;var r=n.sibling,s=n.return;if(kh(n),n===a){rt=null;break e}if(r!==null){r.return=s,rt=r;break e}rt=s}}}var $v={getCacheForType:function(e){var t=ct(We),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return ct(We).controller.signal}},Kv=typeof WeakMap=="function"?WeakMap:Map,Ce=0,He=null,ge=null,xe=0,De=0,Rt=null,on=!1,Si=!1,pc=!1,Ra=0,Qe=0,cn=0,Yn=0,yc=0,Ut=0,Ni=0,Sl=null,Et=null,gc=!1,Xr=0,Ph=0,Vr=1/0,Qr=null,un=null,it=0,fn=null,Ei=null,Ua=0,vc=0,bc=null,Xh=null,Nl=0,xc=null;function Lt(){return(Ce&2)!==0&&xe!==0?xe&-xe:R.T!==null?Ac():sf()}function Vh(){if(Ut===0)if((xe&536870912)===0||Ne){var e=tr;tr<<=1,(tr&3932160)===0&&(tr=262144),Ut=e}else Ut=536870912;return e=kt.current,e!==null&&(e.flags|=32),Ut}function At(e,t,a){(e===He&&(De===2||De===9)||e.cancelPendingCommit!==null)&&(Ai(e,0),dn(e,xe,Ut,!1)),Xi(e,a),((Ce&2)===0||e!==He)&&(e===He&&((Ce&2)===0&&(Yn|=a),Qe===4&&dn(e,xe,Ut,!1)),ha(e))}function Qh(e,t,a){if((Ce&6)!==0)throw Error(c(327));var n=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Pi(e,t),r=n?Wv(e,t):wc(e,t,!0),s=n;do{if(r===0){Si&&!n&&dn(e,t,0,!1);break}else{if(a=e.current.alternate,s&&!Iv(a)){r=wc(e,t,!1),s=!1;continue}if(r===2){if(s=t,e.errorRecoveryDisabledLanes&s)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){t=h;e:{var v=e;r=Sl;var S=v.current.memoizedState.isDehydrated;if(S&&(Ai(v,h).flags|=256),h=wc(v,h,!1),h!==2){if(pc&&!S){v.errorRecoveryDisabledLanes|=s,Yn|=s,r=4;break e}s=Et,Et=r,s!==null&&(Et===null?Et=s:Et.push.apply(Et,s))}r=h}if(s=!1,r!==2)continue}}if(r===1){Ai(e,0),dn(e,t,0,!0);break}e:{switch(n=e,s=r,s){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:dn(n,t,Ut,!on);break e;case 2:Et=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(r=Xr+300-ze(),10<r)){if(dn(n,t,Ut,!on),nr(n,0,!0)!==0)break e;Ua=t,n.timeoutHandle=Nm(Zh.bind(null,n,a,Et,Qr,gc,t,Ut,Yn,Ni,on,s,"Throttled",-0,0),r);break e}Zh(n,a,Et,Qr,gc,t,Ut,Yn,Ni,on,s,null,-0,0)}}break}while(!0);ha(e)}function Zh(e,t,a,n,r,s,h,v,S,k,L,Y,M,U){if(e.timeoutHandle=-1,Y=t.
vendor: 17,230 bytes, line 9
9subtreeFlags,Y&8192||(Y&16785408)===16785408){Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ja},Bh(t,s,Y);var J=(s&62914560)===s?Xr-ze():(s&4194048)===s?Ph-ze():0;if(J=Rb(Y,J),J!==null){Ua=s,e.cancelPendingCommit=J(am.bind(null,e,t,s,a,n,r,h,v,S,L,Y,null,M,U)),dn(e,s,h,!k);return}}am(e,t,s,a,n,r,h,v,S)}function Iv(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var r=a[n],s=r.getSnapshot;r=r.value;try{if(!Ot(s(),r))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function dn(e,t,a,n){t&=~yc,t&=~Yn,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var r=t;0<r;){var s=31-zt(r),h=1<<s;n[s]=-1,r&=~h}a!==0&&nf(e,a,t)}function Zr(){return(Ce&6)===0?(El(0),!1):!0}function jc(){if(ge!==null){if(De===0)var e=ge.return;else e=ge,Ea=Dn=null,Lo(e),yi=null,sl=0,e=ge;for(;e!==null;)Eh(e.alternate,e),e=e.return;ge=null}}function Ai(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,gb(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Ua=0,jc(),He=e,ge=a=Sa(e.current,null),xe=t,De=0,Rt=null,on=!1,Si=Pi(e,t),pc=!1,Ni=Ut=yc=Yn=cn=Qe=0,Et=Sl=null,gc=!1,(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-zt(n),s=1<<r;t|=e[r],n&=~s}return Ra=t,pr(),a}function $h(e,t){de=null,R.H=pl,t===pi||t===Sr?(t=fd(),De=3):t===Eo?(t=fd(),De=4):De=t===Wo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Rt=t,ge===null&&(Qe=1,Lr(e,Pt(t,e.current)))}function Kh(){var e=kt.current;return e===null?!0:(xe&4194048)===xe?Zt===null:(xe&62914560)===xe||(xe&536870912)!==0?e===Zt:!1}function Ih(){var e=R.H;return R.H=pl,e===null?pl:e}function Jh(){var e=R.A;return R.A=$v,e}function $r(){Qe=4,on||(xe&4194048)!==xe&&kt.current!==null||(Si=!0),(cn&134217727)===0&&(Yn&134217727)===0||He===null||dn(He,xe,Ut,!1)}function wc(e,t,a){var n=Ce;Ce|=2;var r=Ih(),s=Jh();(He!==e||xe!==t)&&(Qr=null,Ai(e,t)),t=!1;var h=Qe;e:do try{if(De!==0&&ge!==null){var v=ge,S=Rt;switch(De){case 8:jc(),h=6;break e;case 3:case 2:case 9:case 6:kt.current===null&&(t=!0);var k=De;if(De=0,Rt=null,Ci(e,v,S,k),a&&Si){h=0;break e}break;default:k=De,De=0,Rt=null,Ci(e,v,S,k)}}Jv(),h=Qe;break}catch(L){$h(e,L)}while(!0);return t&&e.shellSuspendCounter++,Ea=Dn=null,Ce=n,R.H=r,R.A=s,ge===null&&(He=null,xe=0,pr()),h}function Jv(){for(;ge!==null;)Wh(ge)}function Wv(e,t){var a=Ce;Ce|=2;var n=Ih(),r=Jh();He!==e||xe!==t?(Qr=null,Vr=ze()+500,Ai(e,t)):Si=Pi(e,t);e:do try{if(De!==0&&ge!==null){t=ge;var s=Rt;t:switch(De){case 1:De=0,Rt=null,Ci(e,t,s,1);break;case 2:case 9:if(cd(s)){De=0,Rt=null,em(t);break}t=function(){De!==2&&De!==9||He!==e||(De=7),ha(e)},s.then(t,t);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:cd(s)?(De=0,Rt=null,em(t)):(De=0,Rt=null,Ci(e,t,s,7));break;case 5:var h=null;switch(ge.tag){case 26:h=ge.memoizedState;case 5:case 27:var v=ge;if(h?Hm(h):v.stateNode.complete){De=0,Rt=null;var S=v.sibling;if(S!==null)ge=S;else{var k=v.return;k!==null?(ge=k,Kr(k)):ge=null}break t}}De=0,Rt=null,Ci(e,t,s,5);break;case 6:De=0,Rt=null,Ci(e,t,s,6);break;case 8:jc(),Qe=6;break e;default:throw Error(c(462))}}eb();break}catch(L){$h(e,L)}while(!0);return Ea=Dn=null,R.H=n,R.A=r,Ce=a,ge!==null?0:(He=null,xe=0,pr(),Qe)}function eb(){for(;ge!==null&&!mt();)Wh(ge)}function Wh(e){var t=Sh(e.alternate,e,Ra);e.memoizedProps=e.pendingProps,t===null?Kr(e):ge=t}function em(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=gh(a,t,t.pendingProps,t.type,void 0,xe);break;case 11:t=gh(a,t,t.pendingProps,t.type.render,t.ref,xe);break;case 5:Lo(t);default:Eh(a,t),t=ge=Jf(t,Ra),t=Sh(a,t,Ra)}e.memoizedProps=e.pendingProps,t===null?Kr(e):ge=t}function Ci(e,t,a,n){Ea=Dn=null,Lo(t),yi=null,sl=0;var r=t.return;try{if(Fv(e,r,t,a,xe)){Qe=1,Lr(e,Pt(a,e.current)),ge=null;return}}catch(s){if(r!==null)throw ge=r,s;Qe=1,Lr(e,Pt(a,e.current)),ge=null;return}t.flags&32768?(Ne||n===1?e=!0:Si||(xe&536870912)!==0?e=!1:(on=e=!0,(n===2||n===9||n===3||n===6)&&(n=kt.current,n!==null&&n.tag===13&&(n.flags|=16384))),tm(t,e)):Kr(t)}function Kr(e){var t=e;do{if((t.flags&32768)!==0){tm(t,on);return}e=t.return;var a=Xv(t.alternate,t,Ra);if(a!==null){ge=a;return}if(t=t.sibling,t!==null){ge=t;return}ge=t=e}while(t!==null);Qe===0&&(Qe=5)}function tm(e,t){do{var a=Vv(e.alternate,e);if(a!==null){a.flags&=32767,ge=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){ge=e;return}ge=e=a}while(e!==null);Qe=6,ge=null}function am(e,t,a,n,r,s,h,v,S){e.cancelPendingCommit=null;do Ir();while(it!==0);if((Ce&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(s=t.lanes|t.childLanes,s|=co,kg(e,a,s,h,v,S),e===He&&(ge=He=null,xe=0),Ei=t,fn=e,Ua=a,vc=s,bc=r,Xh=n,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ib(Je,function(){return sm(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=R.T,R.T=null,r=X.p,X.p=2,h=Ce,Ce|=4;try{Qv(e,t,a)}finally{Ce=h,X.p=r,R.T=n}}it=1,nm(),im(),lm()}}function nm(){if(it===1){it=0;var e=fn,t=Ei,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=R.T,R.T=null;var n=X.p;X.p=2;var r=Ce;Ce|=4;try{Lh(t,e);var s=Mc,h=Gf(e.containerInfo),v=s.focusedElem,S=s.selectionRange;if(h!==v&&v&&v.ownerDocument&&Ff(v.ownerDocument.documentElement,v)){if(S!==null&&io(v)){var k=S.start,L=S.end;if(L===void 0&&(L=k),"selectionStart"in v)v.selectionStart=k,v.selectionEnd=Math.min(L,v.value.length);else{var Y=v.ownerDocument||document,M=Y&&Y.defaultView||window;if(M.getSelection){var U=M.getSelection(),J=v.textContent.length,le=Math.min(S.start,J),Ue=S.end===void 0?le:Math.min(S.end,J);!U.extend&&le>Ue&&(h=Ue,Ue=le,le=h);var T=Yf(v,le),A=Yf(v,Ue);if(T&&A&&(U.rangeCount!==1||U.anchorNode!==T.node||U.anchorOffset!==T.offset||U.focusNode!==A.node||U.focusOffset!==A.offset)){var D=Y.createRange();D.setStart(T.node,T.offset),U.removeAllRanges(),le>Ue?(U.addRange(D),U.extend(A.node,A.offset)):(D.setEnd(A.node,A.offset),U.addRange(D))}}}}for(Y=[],U=v;U=U.parentNode;)U.nodeType===1&&Y.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Y.length;v++){var B=Y[v];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}cs=!!kc,Mc=kc=null}finally{Ce=r,X.p=n,R.T=a}}e.current=t,it=2}}function im(){if(it===2){it=0;var e=fn,t=Ei,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=R.T,R.T=null;var n=X.p;X.p=2;var r=Ce;Ce|=4;try{Dh(e,t.alternate,t)}finally{Ce=r,X.p=n,R.T=a}}it=3}}function lm(){if(it===4||it===3){it=0,ca();var e=fn,t=Ei,a=Ua,n=Xh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?it=5:(it=0,Ei=fn=null,rm(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(un=null),Hs(a),t=t.stateNode,_t&&typeof _t.onCommitFiberRoot=="function")try{_t.onCommitFiberRoot(ba,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=R.T,r=X.p,X.p=2,R.T=null;try{for(var s=e.onRecoverableError,h=0;h<n.length;h++){var v=n[h];s(v.value,{componentStack:v.stack})}}finally{R.T=t,X.p=r}}(Ua&3)!==0&&Ir(),ha(e),r=e.pendingLanes,(a&261930)!==0&&(r&42)!==0?e===xc?Nl++:(Nl=0,xc=e):Nl=0,El(0)}}function rm(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ll(t)))}function Ir(){return nm(),im(),lm(),sm()}function sm(){if(it!==5)return!1;var e=fn,t=vc;vc=0;var a=Hs(Ua),n=R.T,r=X.p;try{X.p=32>a?32:a,R.T=null,a=bc,bc=null;var s=fn,h=Ua;if(it=0,Ei=fn=null,Ua=0,(Ce&6)!==0)throw Error(c(331));var v=Ce;if(Ce|=4,Fh(s.current),Hh(s,s.current,h,a),Ce=v,El(0,!1),_t&&typeof _t.onPostCommitFiberRoot=="function")try{_t.onPostCommitFiberRoot(ba,s)}catch{}return!0}finally{X.p=r,R.T=n,rm(e,t)}}function om(e,t,a){t=Pt(a,t),t=Jo(e.stateNode,t,2),e=nn(e,t,2),e!==null&&(Xi(e,2),ha(e))}function ke(e,t,a){if(e.tag===3)om(e,e,a);else for(;t!==null;){if(t.tag===3){om(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(un===null||!un.has(n))){e=Pt(a,e),a=ch(2),n=nn(t,a,2),n!==null&&(uh(a,n,t,e),Xi(n,2),ha(n));break}}t=t.return}}function Sc(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new Kv;var r=new Set;n.set(t,r)}else r=n.get(t),r===void 0&&(r=new Set,n.set(t,r));r.has(a)||(pc=!0,r.add(a),e=tb.bind(null,e,t,a),t.then(e,e))}function tb(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,He===e&&(xe&a)===a&&(Qe===4||Qe===3&&(xe&62914560)===xe&&300>ze()-Xr?(Ce&2)===0&&Ai(e,0):yc|=a,Ni===xe&&(Ni=0)),ha(e)}function cm(e,t){t===0&&(t=af()),e=_n(e,t),e!==null&&(Xi(e,t),ha(e))}function ab(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),cm(e,a)}function nb(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,r=e.memoizedState;r!==null&&(a=r.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(c(314))}n!==null&&n.delete(t),cm(e,a)}function ib(e,t){return ea(e,t)}var Jr=null,Ti=null,Nc=!1,Wr=!1,Ec=!1,hn=0;function ha(e){e!==Ti&&e.next===null&&(Ti===null?Jr=Ti=e:Ti=Ti.next=e),Wr=!0,Nc||(Nc=!0,rb())}function El(e,t){if(!Ec&&Wr){Ec=!0;do for(var a=!1,n=Jr;n!==null;){if(e!==0){var r=n.pendingLanes;if(r===0)var s=0;else{var h=n.suspendedLanes,v=n.pingedLanes;s=(1<<31-zt(42|e)+1)-1,s&=r&~(h&~v),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,hm(n,s))}else s=xe,s=nr(n,n===He?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(s&3)===0||Pi(n,s)||(a=!0,hm(n,s));n=n.next}while(a);Ec=!1}}function lb(){um()}function um(){Wr=Nc=!1;var e=0;hn!==0&&yb()&&(e=hn);for(var t=ze(),a=null,n=Jr;n!==null;){var r=n.next,s=fm(n,t);s===0?(n.next=null,a===null?Jr=r:a.next=r,r===null&&(Ti=a)):(a=n,(e!==0||(s&3)!==0)&&(Wr=!0)),n=r}it!==0&&it!==5||El(e),hn!==0&&(hn=0)}function fm(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,r=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var h=31-zt(s),v=1<<h,S=r[h];S===-1?((v&a)===0||(v&n)!==0)&&(r[h]=Dg(v,t)):S<=t&&(e.expiredLanes|=v),s&=~v}if(t=He,a=xe,a=nr(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&&(De===2||De===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&ta(n),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Pi(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&ta(n),Hs(a)){case 2:case 8:a=Tt;break;case 32:a=Je;break;case 268435456:a=Wl;break;default:a=Je}return n=dm.bind(null,e),a=ea(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&ta(n),e.callbackPriority=2,e.callbackNode=null,2}function dm(e,t){if(it!==0&&it!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Ir()&&e.callbackNode!==a)return null;var n=xe;return n=nr(e,e===He?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(Qh(e,n,t),fm(e,ze()),e.callbackNode!=null&&e.callbackNode===a?dm.bind(null,e):null)}function hm(e,t){if(Ir())return null;Qh(e,t,!0)}function rb(){vb(function(){(Ce&6)!==0?ea(Ct,lb):um()})}function Ac(){if(hn===0){var e=hi;e===0&&(e=er,er<<=1,(er&261888)===0&&(er=256)),hn=e}return hn}function mm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:sr(""+e)}function pm(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function sb(e,t,a,n,r){if(t==="submit"&&a&&a.stateNode===r){var s=mm((r[xt]||null).action),h=n.submitter;h&&(t=(t=h[xt]||null)?mm(t.formAction):h.getAttribute("formAction"),t!==null&&(s=t,h=null));var v=new fr("action","action",null,n,r);e.push({event:v,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(hn!==0){var S=h?pm(r,h):new FormData(r);Vo(a,{pending:!0,data:S,method:r.method,action:s},null,S)}}else typeof s=="function"&&(v.preventDefault(),S=h?pm(r,h):new FormData(r),Vo(a,{pending:!0,data:S,method:r.method,action:s},s,S))},currentTarget:r}]})}}for(var Cc=0;Cc<oo.length;Cc++){var Tc=oo[Cc],ob=Tc.toLowerCase(),cb=Tc[0].toUpperCase()+Tc.slice(1);aa(ob,"on"+cb)}aa(Vf,"onAnimationEnd"),aa(Qf,"onAnimationIteration"),aa(Zf,"onAnimationStart"),aa("dblclick","onDoubleClick"),aa("focusin","onFocus"),aa("focusout","onBlur"),aa(Ev,"onTransitionRun"),aa(Av,"onTransitionStart"),aa(Cv,"onTransitionCancel"),aa($f,"onTransitionEnd"),Wn("onMouseEnter",["mouseout","mouseover"]),Wn("onMouseLeave",["mouseout","mouseover"]),Wn("onPointerEnter",["pointerout","pointerover"]),Wn("onPointerLeave",["pointerout","pointerover"]),En("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),En("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),En("onBeforeInput",["compositionend","keypress","textInput","paste"]),En("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),En("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),En("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Al="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ub=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Al));function ym(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],r=n.event;n=n.listeners;e:{var s=void 0;if(t)for(var h=n.length-1;0<=h;h--){var v=n[h],S=v.instance,k=v.currentTarget;if(v=v.listener,S!==s&&r.isPropagationStopped())break e;s=v,r.currentTarget=k;try{s(r)}catch(L){mr(L)}r.currentTarget=null,s=S}else for(h=0;h<n.length;h++){if(v=n[h],S=v.instance,k=v.currentTarget,v=v.listener,S!==s&&r.isPropagationStopped())break e;s=v,r.currentTarget=k;try{s(r)}catch(L){mr(L)}r.currentTarget=null,s=S}}}}function ve(e,t){var a=t[Bs];a===void 0&&(a=t[Bs]=new Set);var n=e+"__bubble";a.has(n)||(gm(t,e,2,!1),a.add(n))}function _c(e,t,a){var n=0;t&&(n|=4),gm(a,e,n,t)}var es="_reactListening"+Math.random().toString(36).slice(2);function zc(e){if(!e[es]){e[es]=!0,uf.forEach(function(a){a!=="selectionchange"&&(ub.has(a)||_c(a,!1,e),_c(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[es]||(t[es]=!0,_c("selectionchange",!1,t))}}function gm(e,t,a,n){switch(Vm(t)){case 2:var r=qb;break;case 8:r=Hb;break;default:r=Xc}a=r.bind(null,t,a,e),r=void 0,!$s||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),n?r!==void 0?e.addEventListener(t,a,{capture:!0,passive:r}):e.addEventListener(t,a,!0):r!==void 0?e.addEventListener(t,a,{passive:r}):e.addEventListener(t,a,!1)}function Oc(e,t,a,n,r){var s=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var h=n.tag;if(h===3||h===4){var v=n.stateNode.containerInfo;if(v===r)break;if(h===4)for(h=n.return;h!==null;){var S=h.tag;if((S===3||S===4)&&h.stateNode.containerInfo===r)return;h=h.return}for(;v!==null;){if(h=Kn(v),h===null)return;if(S=h.tag,S===5||S===6||S===26||S===27){n=s=h;continue e}v=v.parentNode}}n=n.return}wf(function(){var k=s,L=Qs(a),Y=[];e:{var M=Kf.get(e);if(M!==void 0){var U=fr,J=e;switch(e){case"keypress":if(cr(a)===0)break e;case"keydown":case"keyup":U=nv;break;case"focusin":J="focus",U=Ws;break;case"focusout":J="blur",U=Ws;break;case"beforeblur":case"afterblur":U=Ws;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=Ef;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=Xg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=rv;break;case Vf:case Qf:case Zf:U=Zg;break;case $f:U=ov;break;case"scroll":case"scrollend":U=Gg;break;case"wheel":U=uv;break;case"copy":case"cut":case"paste":U=Kg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Cf;break;case"toggle":case"beforetoggle":U=dv}var le=(t&4)!==0,Ue=!le&&(e==="scroll"||e==="scrollend"),T=le?M!==null?M+"Capture":null:M;le=[];for(var A=k,D;A!==null;){var B=A;if(D=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||D===null||T===null||(B=Zi(A,T),B!=null&&le.push(Cl(A,B,D))),Ue)break;A=A.return}0<le.length&&(M=new U(M,J,null,a,L),Y.push({event:M,listeners:le}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",U=e==="mouseout"||e==="pointerout",M&&a!==Vs&&(J=a.relatedTarget||a.fromElement)&&(Kn(J)||J[$n]))break e;if((U||M)&&(M=L.window===L?L:(M=L.ownerDocument)?M.defaultView||M.parentWindow:window,U?(J=a.relatedTarget||a.toElement,U=k,J=J?Kn(J):null,J!==null&&(Ue=d(J),le=J.tag,J!==Ue||le!==5&&le!==27&&le!==6)&&(J=null)):(U=null,J=k),U!==J)){if(le=Ef,B="onMouseLeave",T="onMouseEnter",A="mou
9se",(e==="pointerout"||e==="pointerover")&&(le=Cf,B="onPointerLeave",T="onPointerEnter",A="pointer"),Ue=U==null?M:Qi(U),D=J==null?M:Qi(J),M=new le(B,A+"leave",U,a,L),M.target=Ue,M.relatedTarget=D,B=null,Kn(L)===k&&(le=new le(T,A+"enter",J,a,L),le.target=D,le.relatedTarget=Ue,B=le),Ue=B,U&&J)t:{for(le=fb,T=U,A=J,D=0,B=T;B;B=le(B))D++;B=0;for(var ne=A;ne;ne=le(ne))B++;for(;0<D-B;)T=le(T),D--;for(;0<B-D;)A=le(A),B--;for(;D--;){if(T===A||A!==null&&T===A.alternate){le=T;break t}T=le(T),A=le(A)}le=null}else le=null;U!==null&&vm(Y,M,U,le,!1),J!==null&&Ue!==null&&vm(Y,Ue,J,le,!0)}}e:{if(M=k?Qi(k):window,U=M.nodeName&&M.nodeName.toLowerCase(),U==="select"||U==="input"&&M.type==="file")var Ee=Rf;else if(kf(M))if(Uf)Ee=wv;else{Ee=xv;var ee=bv}else U=M.nodeName,!U||U.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?k&&Xs(k.elementType)&&(Ee=Rf):Ee=jv;if(Ee&&(Ee=Ee(e,k))){Mf(Y,Ee,a,L);break e}ee&&ee(e,M,k),e==="focusout"&&k&&M.type==="number"&&k.memoizedProps.value!=null&&Ps(M,"number",M.value)}switch(ee=k?Qi(k):window,e){case"focusin":(kf(ee)||ee.contentEditable==="true")&&(li=ee,lo=k,al=null);break;case"focusout":al=lo=li=null;break;case"mousedown":ro=!0;break;case"contextmenu":case"mouseup":case"dragend":ro=!1,Pf(Y,a,L);break;case"selectionchange":if(Nv)break;case"keydown":case"keyup":Pf(Y,a,L)}var me;if(to)e:{switch(e){case"compositionstart":var je="onCompositionStart";break e;case"compositionend":je="onCompositionEnd";break e;case"compositionupdate":je="onCompositionUpdate";break e}je=void 0}else ii?Of(e,a)&&(je="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(je="onCompositionStart");je&&(Tf&&a.locale!=="ko"&&(ii||je!=="onCompositionStart"?je==="onCompositionEnd"&&ii&&(me=Sf()):(Ka=L,Ks="value"in Ka?Ka.value:Ka.textContent,ii=!0)),ee=ts(k,je),0<ee.length&&(je=new Af(je,e,null,a,L),Y.push({event:je,listeners:ee}),me?je.data=me:(me=Df(a),me!==null&&(je.data=me)))),(me=mv?pv(e,a):yv(e,a))&&(je=ts(k,"onBeforeInput"),0<je.length&&(ee=new Af("onBeforeInput","beforeinput",null,a,L),Y.push({event:ee,listeners:je}),ee.data=me)),sb(Y,e,k,a,L)}ym(Y,t)})}function Cl(e,t,a){return{instance:e,listener:t,currentTarget:a}}function ts(e,t){for(var a=t+"Capture",n=[];e!==null;){var r=e,s=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||s===null||(r=Zi(e,a),r!=null&&n.unshift(Cl(e,r,s)),r=Zi(e,t),r!=null&&n.push(Cl(e,r,s))),e.tag===3)return n;e=e.return}return[]}function fb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function vm(e,t,a,n,r){for(var s=t._reactName,h=[];a!==null&&a!==n;){var v=a,S=v.alternate,k=v.stateNode;if(v=v.tag,S!==null&&S===n)break;v!==5&&v!==26&&v!==27||k===null||(S=k,r?(k=Zi(a,s),k!=null&&h.unshift(Cl(a,k,S))):r||(k=Zi(a,s),k!=null&&h.push(Cl(a,k,S)))),a=a.return}h.length!==0&&e.push({event:t,listeners:h})}var db=/\r\n?/g,hb=/\u0000|\uFFFD/g;function bm(e){return(typeof e=="string"?e:""+e).replace(db,`
10`).replace(hb,"")}function xm(e,t){return t=bm(t),bm(e)===t}function Re(e,t,a,n,r,s){switch(a){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||ti(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&ti(e,""+n);break;case"className":lr(e,"class",n);break;case"tabIndex":lr(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":lr(e,a,n);break;case"style":xf(e,n,s);break;case"data":if(t!=="object"){lr(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=sr(""+n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(a==="formAction"?(t!=="input"&&Re(e,t,"name",r.name,r,null),Re(e,t,"formEncType",r.formEncType,r,null),Re(e,t,"formMethod",r.formMethod,r,null),Re(e,t,"formTarget",r.formTarget,r,null)):(Re(e,t,"encType",r.encType,r,null),Re(e,t,"method",r.method,r,null),Re(e,t,"target",r.target,r,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=sr(""+n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=ja);break;case"onScroll":n!=null&&ve("scroll",e);break;case"onScrollEnd":n!=null&&ve("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(c(61));if(a=n.__html,a!=null){if(r.children!=null)throw Error(c(60));e.innerHTML=a}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}
vendor: 9,167 bytes, line 10
10a=sr(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""+n):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":ve("beforetoggle",e),ve("toggle",e),ir(e,"popover",n);break;case"xlinkActuate":xa(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":xa(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":xa(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":xa(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":xa(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":xa(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":xa(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":xa(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":xa(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":ir(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Yg.get(a)||a,ir(e,a,n))}}function Dc(e,t,a,n,r,s){switch(a){case"style":xf(e,n,s);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(c(61));if(a=n.__html,a!=null){if(r.children!=null)throw Error(c(60));e.innerHTML=a}}break;case"children":typeof n=="string"?ti(e,n):(typeof n=="number"||typeof n=="bigint")&&ti(e,""+n);break;case"onScroll":n!=null&&ve("scroll",e);break;case"onScrollEnd":n!=null&&ve("scrollend",e);break;case"onClick":n!=null&&(e.onclick=ja);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ff.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(r=a.endsWith("Capture"),t=a.slice(2,r?a.length-7:void 0),s=e[xt]||null,s=s!=null?s[a]:null,typeof s=="function"&&e.removeEventListener(t,s,r),typeof n=="function")){typeof s!="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,n,r);break e}a in e?e[a]=n:n===!0?e.setAttribute(a,""):ir(e,a,n)}}}function ft(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ve("error",e),ve("load",e);var n=!1,r=!1,s;for(s in a)if(a.hasOwnProperty(s)){var h=a[s];if(h!=null)switch(s){case"src":n=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Re(e,t,s,h,a,null)}}r&&Re(e,t,"srcSet",a.srcSet,a,null),n&&Re(e,t,"src",a.src,a,null);return;case"input":ve("invalid",e);var v=s=h=r=null,S=null,k=null;for(n in a)if(a.hasOwnProperty(n)){var L=a[n];if(L!=null)switch(n){case"name":r=L;break;case"type":h=L;break;case"checked":S=L;break;case"defaultChecked":k=L;break;case"value":s=L;break;case"defaultValue":v=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(c(137,t));break;default:Re(e,t,n,L,a,null)}}yf(e,s,v,S,k,h,r,!1);return;case"select":ve("invalid",e),n=h=s=null;for(r in a)if(a.hasOwnProperty(r)&&(v=a[r],v!=null))switch(r){case"value":s=v;break;case"defaultValue":h=v;break;case"multiple":n=v;default:Re(e,t,r,v,a,null)}t=s,a=h,e.multiple=!!n,t!=null?ei(e,!!n,t,!1):a!=null&&ei(e,!!n,a,!0);return;case"textarea":ve("invalid",e),s=r=n=null;for(h in a)if(a.hasOwnProperty(h)&&(v=a[h],v!=null))switch(h){case"value":n=v;break;case"defaultValue":r=v;break;case"children":s=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(c(91));break;default:Re(e,t,h,v,a,null)}vf(e,n,r,s);return;case"option":for(S in a)if(a.hasOwnProperty(S)&&(n=a[S],n!=null))switch(S){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Re(e,t,S,n,a,null)}return;case"dialog":ve("beforetoggle",e),ve("toggle",e),ve("cancel",e),ve("close",e);break;case"iframe":case"object":ve("load",e);break;case"video":case"audio":for(n=0;n<Al.length;n++)ve(Al[n],e);break;case"image":ve("error",e),ve("load",e);break;case"details":ve("toggle",e);break;case"embed":case"source":case"link":ve("error",e),ve("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(k in a)if(a.hasOwnProperty(k)&&(n=a[k],n!=null))switch(k){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Re(e,t,k,n,a,null)}return;default:if(Xs(t)){for(L in a)a.hasOwnProperty(L)&&(n=a[L],n!==void 0&&Dc(e,t,L,n,a,void 0));return}}for(v in a)a.hasOwnProperty(v)&&(n=a[v],n!=null&&Re(e,t,v,n,a,null))}function mb(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,s=null,h=null,v=null,S=null,k=null,L=null;for(U in a){var Y=a[U];if(a.hasOwnProperty(U)&&Y!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":S=Y;default:n.hasOwnProperty(U)||Re(e,t,U,null,n,Y)}}for(var M in n){var U=n[M];if(Y=a[M],n.hasOwnProperty(M)&&(U!=null||Y!=null))switch(M){case"type":s=U;break;case"name":r=U;break;case"checked":k=U;break;case"defaultChecked":L=U;break;case"value":h=U;break;case"defaultValue":v=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(c(137,t));break;default:U!==Y&&Re(e,t,M,U,n,Y)}}Gs(e,h,v,S,k,L,s,r);return;case"select":U=h=v=M=null;for(s in a)if(S=a[s],a.hasOwnProperty(s)&&S!=null)switch(s){case"value":break;case"multiple":U=S;default:n.hasOwnProperty(s)||Re(e,t,s,null,n,S)}for(r in n)if(s=n[r],S=a[r],n.hasOwnProperty(r)&&(s!=null||S!=null))switch(r){case"value":M=s;break;case"defaultValue":v=s;break;case"multiple":h=s;default:s!==S&&Re(e,t,r,s,n,S)}t=v,a=h,n=U,M!=null?ei(e,!!a,M,!1):!!n!=!!a&&(t!=null?ei(e,!!a,t,!0):ei(e,!!a,a?[]:"",!1));return;case"textarea":U=M=null;for(v in a)if(r=a[v],a.hasOwnProperty(v)&&r!=null&&!n.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Re(e,t,v,null,n,r)}for(h in n)if(r=n[h],s=a[h],n.hasOwnProperty(h)&&(r!=null||s!=null))switch(h){case"value":M=r;break;case"defaultValue":U=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(c(91));break;default:r!==s&&Re(e,t,h,r,n,s)}gf(e,M,U);return;case"option":for(var J in a)if(M=a[J],a.hasOwnProperty(J)&&M!=null&&!n.hasOwnProperty(J))switch(J){case"selected":e.selected=!1;break;default:Re(e,t,J,null,n,M)}for(S in n)if(M=n[S],U=a[S],n.hasOwnProperty(S)&&M!==U&&(M!=null||U!=null))switch(S){case"selected":e.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:Re(e,t,S,M,n,U)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var le in a)M=a[le],a.hasOwnProperty(le)&&M!=null&&!n.hasOwnProperty(le)&&Re(e,t,le,null,n,M);for(k in n)if(M=n[k],U=a[k],n.hasOwnProperty(k)&&M!==U&&(M!=null||U!=null))switch(k){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,t));break;default:Re(e,t,k,M,n,U)}return;default:if(Xs(t)){for(var Ue in a)M=a[Ue],a.hasOwnProperty(Ue)&&M!==void 0&&!n.hasOwnProperty(Ue)&&Dc(e,t,Ue,void 0,n,M);for(L in n)M=n[L],U=a[L],!n.hasOwnProperty(L)||M===U||M===void 0&&U===void 0||Dc(e,t,L,M,n,U);return}}for(var T in a)M=a[T],a.hasOwnProperty(T)&&M!=null&&!n.hasOwnProperty(T)&&Re(e,t,T,null,n,M);for(Y in n)M=n[Y],U=a[Y],!n.hasOwnProperty(Y)||M===U||M==null&&U==null||Re(e,t,Y,M,n,U)}function jm(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function pb(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var r=a[n],s=r.transferSize,h=r.initiatorType,v=r.duration;if(s&&v&&jm(h)){for(h=0,v=r.responseEnd,n+=1;n<a.length;n++){var S=a[n],k=S.startTime;if(k>v)break;var L=S.transferSize,Y=S.initiatorType;L&&jm(Y)&&(S=S.responseEnd,h+=L*(S<v?1:(v-k)/(S-k)))}if(--n,t+=8*(s+h)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var kc=null,Mc=null;
vendor: 14,013 bytes, line 10
10function as(e){return e.nodeType===9?e:e.ownerDocument}function wm(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Sm(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Rc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Uc=null;function yb(){var e=window.event;return e&&e.type==="popstate"?e===Uc?!1:(Uc=e,!0):(Uc=null,!1)}var Nm=typeof setTimeout=="function"?setTimeout:void 0,gb=typeof clearTimeout=="function"?clearTimeout:void 0,Em=typeof Promise=="function"?Promise:void 0,vb=typeof queueMicrotask=="function"?queueMicrotask:typeof Em<"u"?function(e){return Em.resolve(null).then(e).catch(bb)}:Nm;function bb(e){setTimeout(function(){throw e})}function mn(e){return e==="head"}function Am(e,t){var a=t,n=0;do{var r=a.nextSibling;if(e.removeChild(a),r&&r.nodeType===8)if(a=r.data,a==="/$"||a==="/&"){if(n===0){e.removeChild(r),Di(t);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")Tl(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Tl(a);for(var s=a.firstChild;s;){var h=s.nextSibling,v=s.nodeName;s[Vi]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&s.rel.toLowerCase()==="stylesheet"||a.removeChild(s),s=h}}else a==="body"&&Tl(e.ownerDocument.body);a=r}while(a);Di(t)}function Cm(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=n}while(a)}function Lc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Lc(a),Ys(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function xb(e,t,a,n){for(;e.nodeType===1;){var r=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[Vi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var s=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=$t(e.nextSibling),e===null)break}return null}function jb(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=$t(e.nextSibling),e===null))return null;return e}function Tm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=$t(e.nextSibling),e===null))return null;return e}function qc(e){return e.data==="$?"||e.data==="$~"}function Hc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function wb(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function $t(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Bc=null;function _m(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return $t(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function zm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function Om(e,t,a){switch(t=as(a),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function Tl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ys(e)}var Kt=new Map,Dm=new Set;function ns(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var La=X.d;X.d={f:Sb,r:Nb,D:Eb,C:Ab,L:Cb,m:Tb,X:zb,S:_b,M:Ob};function Sb(){var e=La.f(),t=Zr();return e||t}function Nb(e){var t=In(e);t!==null&&t.tag===5&&t.type==="form"?$d(t):La.r(e)}var _i=typeof document>"u"?null:document;function km(e,t,a){var n=_i;if(n&&typeof t=="string"&&t){var r=Ft(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof a=="string"&&(r+='[crossorigin="'+a+'"]'),Dm.has(r)||(Dm.add(r),e={rel:e,crossOrigin:a,href:t},n.querySelector(r)===null&&(t=n.createElement("link"),ft(t,"link",e),lt(t),n.head.appendChild(t)))}}function Eb(e){La.D(e),km("dns-prefetch",e,null)}function Ab(e,t){La.C(e,t),km("preconnect",e,t)}function Cb(e,t,a){La.L(e,t,a);var n=_i;if(n&&e&&t){var r='link[rel="preload"][as="'+Ft(t)+'"]';t==="image"&&a&&a.imageSrcSet?(r+='[imagesrcset="'+Ft(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(r+='[imagesizes="'+Ft(a.imageSizes)+'"]')):r+='[href="'+Ft(e)+'"]';var s=r;switch(t){case"style":s=zi(e);break;case"script":s=Oi(e)}Kt.has(s)||(e=x({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Kt.set(s,e),n.querySelector(r)!==null||t==="style"&&n.querySelector(_l(s))||t==="script"&&n.querySelector(zl(s))||(t=n.createElement("link"),ft(t,"link",e),lt(t),n.head.appendChild(t)))}}function Tb(e,t){La.m(e,t);var a=_i;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Ft(n)+'"][href="'+Ft(e)+'"]',s=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Oi(e)}if(!Kt.has(s)&&(e=x({rel:"modulepreload",href:e},t),Kt.set(s,e),a.querySelector(r)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(zl(s)))return}n=a.createElement("link"),ft(n,"link",e),lt(n),a.head.appendChild(n)}}}function _b(e,t,a){La.S(e,t,a);var n=_i;if(n&&e){var r=Jn(n).hoistableStyles,s=zi(e);t=t||"default";var h=r.get(s);if(!h){var v={loading:0,preload:null};if(h=n.querySelector(_l(s)))v.loading=5;else{e=x({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Kt.get(s))&&Yc(e,a);var S=h=n.createElement("link");lt(S),ft(S,"link",e),S._p=new Promise(function(k,L){S.onload=k,S.onerror=L}),S.addEventListener("load",function(){v.loading|=1}),S.addEventListener("error",function(){v.loading|=2}),v.loading|=4,is(h,t,n)}h={type:"stylesheet",instance:h,count:1,state:v},r.set(s,h)}}}function zb(e,t){La.X(e,t);var a=_i;if(a&&e){var n=Jn(a).hoistableScripts,r=Oi(e),s=n.get(r);s||(s=a.querySelector(zl(r)),s||(e=x({src:e,async:!0},t),(t=Kt.get(r))&&Fc(e,t),s=a.createElement("script"),lt(s),ft(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},n.set(r,s))}}function Ob(e,t){La.M(e,t);var a=_i;if(a&&e){var n=Jn(a).hoistableScripts,r=Oi(e),s=n.get(r);s||(s=a.querySelector(zl(r)),s||(e=x({src:e,async:!0,type:"module"},t),(t=Kt.get(r))&&Fc(e,t),s=a.createElement("script"),lt(s),ft(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},n.set(r,s))}}function Mm(e,t,a,n){var r=(r=V.current)?ns(r):null;if(!r)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=zi(a.href),a=Jn(r).hoistableStyles,n=a.get(t),n||(n={type:"style",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=zi(a.href);var s=Jn(r).hoistableStyles,h=s.get(e);if(h||(r=r.ownerDocument||r,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,h),(s=r.querySelector(_l(e)))&&!s._p&&(h.instance=s,h.state.loading=5),Kt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Kt.set(e,a),s||Db(r,e,a,h.state))),t&&n===null)throw Error(c(528,""));return h}if(t&&n!==null)throw Error(c(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Oi(a),a=Jn(r).hoistableScripts,n=a.get(t),n||(n={type:"script",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function zi(e){return'href="'+Ft(e)+'"'}function _l(e){return'link[rel="stylesheet"]['+e+"]"}function Rm(e){return x({},e,{"data-precedence":e.precedence,precedence:null})}function Db(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),ft(t,"link",a),lt(t),e.head.appendChild(t))}function Oi(e){return'[src="'+Ft(e)+'"]'}function zl(e){return"script[async]"+e}function Um(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Ft(a.href)+'"]');if(n)return t.instance=n,lt(n),n;var r=x({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),lt(n),ft(n,"style",r),is(n,a.precedence,e),t.instance=n;case"stylesheet":r=zi(a.href);var s=e.querySelector(_l(r));if(s)return t.state.loading|=4,t.instance=s,lt(s),s;n=Rm(a),(r=Kt.get(r))&&Yc(n,r),s=(e.ownerDocument||e).createElement("link"),lt(s);var h=s;return h._p=new Promise(function(v,S){h.onload=v,h.onerror=S}),ft(s,"link",n),t.state.loading|=4,is(s,a.precedence,e),t.instance=s;case"script":return s=Oi(a.src),(r=e.querySelector(zl(s)))?(t.instance=r,lt(r),r):(n=a,(r=Kt.get(s))&&(n=x({},a),Fc(n,r)),e=e.ownerDocument||e,r=e.createElement("script"),lt(r),ft(r,"link",n),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,is(n,a.precedence,e));return t.instance}function is(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=n.length?n[n.length-1]:null,s=r,h=0;h<n.length;h++){var v=n[h];if(v.dataset.precedence===t)s=v;else if(s!==r)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Yc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Fc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var ls=null;function Lm(e,t,a){if(ls===null){var n=new Map,r=ls=new Map;r.set(a,n)}else r=ls,n=r.get(a),n||(n=new Map,r.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),r=0;r<a.length;r++){var s=a[r];if(!(s[Vi]||s[st]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var h=s.getAttribute(t)||"";h=e+h;var v=n.get(h);v?v.push(s):n.set(h,[s])}}return n}function qm(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function kb(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Hm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Mb(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var r=zi(n.href),s=t.querySelector(_l(r));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=rs.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=s,lt(s);return}s=t.ownerDocument||t,n=Rm(n),(r=Kt.get(r))&&Yc(n,r),s=s.createElement("link"),lt(s);var h=s;h._p=new Promise(function(v,S){h.onload=v,h.onerror=S}),ft(s,"link",n),a.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=rs.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var Gc=0;function Rb(e,t){return e.stylesheets&&e.count===0&&os(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&os(e,e.stylesheets),e.unsu
vendor: 1,432 bytes, line 10
10spend){var s=e.unsuspend;e.unsuspend=null,s()}},6e4+t);0<e.imgBytes&&Gc===0&&(Gc=62500*pb());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&os(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>Gc?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(r)}}:null}function rs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)os(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ss=null;function os(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ss=new Map,t.forEach(Ub,e),ss=null,rs.call(e))}function Ub(e,t){if(!(t.state.loading&4)){var a=ss.get(e);if(a)var n=a.get(null);else{a=new Map,ss.set(e,a);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<r.length;s++){var h=r[s];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(a.set(h.dataset.precedence,h),n=h)}n&&a.set(null,n)}r=t.instance,h=r.getAttribute("data-precedence"),s=a.get(h)||n,s===n&&a.set(null,r),a.set(h,r),this.count++,n=rs.bind(this),r.addEventListener("load",n),r.addEventListener("error",n),s?s.parentNode.insertBefore(r,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var Ol={$$typeof:F,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};
vendor: 7,251 bytes, line 10
10function Lb(e,t,a,n,r,s,h,v,S){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ls(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ls(0),this.hiddenUpdates=Ls(null),this.identifierPrefix=n,this.onUncaughtError=r,this.onCaughtError=s,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function Bm(e,t,a,n,r,s,h,v,S,k,L,Y){return e=new Lb(e,t,a,h,S,k,L,Y,v),t=1,s===!0&&(t|=24),s=Dt(3,null,null,t),e.current=s,s.stateNode=e,t=wo(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:n,isDehydrated:a,cache:t},Ao(s),e}function Ym(e){return e?(e=oi,e):oi}function Fm(e,t,a,n,r,s){r=Ym(r),n.context===null?n.context=r:n.pendingContext=r,n=an(t),n.payload={element:a},s=s===void 0?null:s,s!==null&&(n.callback=s),a=nn(e,n,t),a!==null&&(At(a,e,t),cl(a,e,t))}function Gm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Pc(e,t){Gm(e,t),(e=e.alternate)&&Gm(e,t)}function Pm(e){if(e.tag===13||e.tag===31){var t=_n(e,67108864);t!==null&&At(t,e,67108864),Pc(e,67108864)}}function Xm(e){if(e.tag===13||e.tag===31){var t=Lt();t=qs(t);var a=_n(e,t);a!==null&&At(a,e,t),Pc(e,t)}}var cs=!0;function qb(e,t,a,n){var r=R.T;R.T=null;var s=X.p;try{X.p=2,Xc(e,t,a,n)}finally{X.p=s,R.T=r}}function Hb(e,t,a,n){var r=R.T;R.T=null;var s=X.p;try{X.p=8,Xc(e,t,a,n)}finally{X.p=s,R.T=r}}function Xc(e,t,a,n){if(cs){var r=Vc(n);if(r===null)Oc(e,t,n,us,a),Qm(e,n);else if(Yb(r,e,t,a,n))n.stopPropagation();else if(Qm(e,n),t&4&&-1<Bb.indexOf(e)){for(;r!==null;){var s=In(r);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var h=Nn(s.pendingLanes);if(h!==0){var v=s;for(v.pendingLanes|=2,v.entangledLanes|=2;h;){var S=1<<31-zt(h);v.entanglements[1]|=S,h&=~S}ha(s),(Ce&6)===0&&(Vr=ze()+500,El(0))}}break;case 31:case 13:v=_n(s,2),v!==null&&At(v,s,2),Zr(),Pc(s,2)}if(s=Vc(n),s===null&&Oc(e,t,n,us,a),s===r)break;r=s}r!==null&&n.stopPropagation()}else Oc(e,t,n,null,a)}}function Vc(e){return e=Qs(e),Qc(e)}var us=null;function Qc(e){if(us=null,e=Kn(e),e!==null){var t=d(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=m(t),e!==null)return e;e=null}else if(a===31){if(e=g(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return us=e,null}function Vm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Bt()){case Ct:return 2;case Tt:return 8;case Je:case Qn:return 32;case Wl:return 268435456;default:return 32}default:return 32}}var Zc=!1,pn=null,yn=null,gn=null,Dl=new Map,kl=new Map,vn=[],Bb="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Qm(e,t){switch(e){case"focusin":case"focusout":pn=null;break;case"dragenter":case"dragleave":yn=null;break;case"mouseover":case"mouseout":gn=null;break;case"pointerover":case"pointerout":Dl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":kl.delete(t.pointerId)}}function Ml(e,t,a,n,r,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:s,targetContainers:[r]},t!==null&&(t=In(t),t!==null&&Pm(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function Yb(e,t,a,n,r){switch(t){case"focusin":return pn=Ml(pn,e,t,a,n,r),!0;case"dragenter":return yn=Ml(yn,e,t,a,n,r),!0;case"mouseover":return gn=Ml(gn,e,t,a,n,r),!0;case"pointerover":var s=r.pointerId;return Dl.set(s,Ml(Dl.get(s)||null,e,t,a,n,r)),!0;case"gotpointercapture":return s=r.pointerId,kl.set(s,Ml(kl.get(s)||null,e,t,a,n,r)),!0}return!1}function Zm(e){var t=Kn(e.target);if(t!==null){var a=d(t);if(a!==null){if(t=a.tag,t===13){if(t=m(a),t!==null){e.blockedOn=t,of(e.priority,function(){Xm(a)});return}}else if(t===31){if(t=g(a),t!==null){e.blockedOn=t,of(e.priority,function(){Xm(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Vc(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);Vs=n,a.target.dispatchEvent(n),Vs=null}else return t=In(a),t!==null&&Pm(t),e.blockedOn=a,!1;t.shift()}return!0}function $m(e,t,a){fs(e)&&a.delete(t)}function Fb(){Zc=!1,pn!==null&&fs(pn)&&(pn=null),yn!==null&&fs(yn)&&(yn=null),gn!==null&&fs(gn)&&(gn=null),Dl.forEach($m),kl.forEach($m)}function ds(e,t){e.blockedOn===t&&(e.blockedOn=null,Zc||(Zc=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Fb)))}var hs=null;function Km(e){hs!==e&&(hs=e,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){hs===e&&(hs=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],r=e[t+2];if(typeof n!="function"){if(Qc(n||a)===null)continue;break}var s=In(a);s!==null&&(e.splice(t,3),t-=3,Vo(s,{pending:!0,data:r,method:a.method,action:n},n,r))}}))}function Di(e){function t(S){return ds(S,e)}pn!==null&&ds(pn,e),yn!==null&&ds(yn,e),gn!==null&&ds(gn,e),Dl.forEach(t),kl.forEach(t);for(var a=0;a<vn.length;a++){var n=vn[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<vn.length&&(a=vn[0],a.blockedOn===null);)Zm(a),a.blockedOn===null&&vn.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var r=a[n],s=a[n+1],h=r[xt]||null;if(typeof s=="function")h||Km(a);else if(h){var v=null;if(s&&s.hasAttribute("formAction")){if(r=s,h=s[xt]||null)v=h.formAction;else if(Qc(r)!==null)continue}else v=h.action;typeof v=="function"?a[n+1]=v:(a.splice(n,3),n-=3),Km(a)}}}
10function Im(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(h){return r=h})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function $c(e){this._internalRoot=e}ms.prototype.render=$c.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var a=t.current,n=Lt();Fm(a,n,e,t,null,null)},ms.prototype.unmount=$c.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Fm(e.current,2,null,e,null,null),Zr(),t[$n]=null}};function ms(e){this._internalRoot=e}ms.prototype.unstable_scheduleHydration=function(e){if(e){var t=sf();e={blockedOn:null,target:e,priority:t};for(var a=0;a<vn.length&&t!==0&&t<vn[a].priority;a++);vn.splice(a,0,e),a===0&&Zm(e)}};var Jm=o.version;if(Jm!=="19.2.0")throw Error(c(527,Jm,"19.2.0"));X.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=p(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var Gb={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ps=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ps.isDisabled&&ps.supportsFiber)try{ba=ps.inject(Gb),_t=ps}catch{}}return Ul.createRoot=function(e,t){if(!f(e))throw Error(c(299));var a=!1,n="",r=lh,s=rh,h=sh;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(h=t.onRecoverableError)),t=Bm(e,1,!1,null,null,a,n,null,r,s,h,Im),e[$n]=t.current,zc(e),new $c(t)},Ul.hydrateRoot=function(e,t,a){if(!f(e))throw Error(c(299));var n=!1,r="",s=lh,h=rh,v=sh,S=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(r=a.identifierPrefix),a.onUncaughtError!==void 0&&(s=a.onUncaughtError),a.onCaughtError!==void 0&&(h=a.onCaughtError),a.onRecoverableError!==void 0&&(v=a.onRecoverableError),a.formState!==void 0&&(S=a.formState)),t=Bm(e,1,!0,t,a??null,n,r,S,s,h,v,Im),t.context=Ym(null),a=t.current,n=Lt(),n=qs(n),r=an(n),r.callback=null,nn(a,r,n),a=n,t.current.lanes=a,Xi(t,a),ha(t),e[$n]=t.current,zc(e),new ms(t)},Ul.version="19.2.0",Ul}var op;function ex(){if(op)return Jc.exports;op=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(o){console.error(o)}}return l(),Jc.exports=Wb(),Jc.exports}var tx=ex();var cp="popstate";function ax(l={}){function o(c,f){let{pathname:d,search:m,hash:g}=c.location;return pu("",{pathname:d,search:m,hash:g},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function u(c,f){return typeof f=="string"?f:Pl(f)}return ix(o,u,null,l)}function Xe(l,o){if(l===!1||l===null||typeof l>"u")throw new Error(o)}function Jt(l,o){if(!l){typeof console<"u"&&console.warn(o);try{throw new Error(o)}catch{}}}function nx(){return Math.random().toString(36).substring(2,10)}function up(l,o){return{usr:l.state,key:l.key,idx:o}}function pu(l,o,u=null,c){return{pathname:typeof l=="string"?l:l.pathname,search:"",hash:"",...typeof o=="string"?Bi(o):o,state:u,key:o&&o.key||c||nx()}}function Pl({pathname:l="/",search:o="",hash:u=""}){return o&&o!=="?"&&(l+=o.charAt(0)==="?"?o:"?"+o),u&&u!=="#"&&(l+=u.charAt(0)==="#"?u:"#"+u),l}function Bi(l){let o={};if(l){let u=l.indexOf("#");u>=0&&(o.hash=l.substring(u),l=l.substring(0,u));let c=l.indexOf("?");c>=0&&(o.search=l.substring(c),l=l.substring(0,c)),l&&(o.pathname=l)}return o}function ix(l,o,u,c={}){let{window:f=document.defaultView,v5Compat:d=!1}=c,m=f.history,g="POP",y=null,p=b();p==null&&(p=0,m.replaceState({...m.state,idx:p},""));function b(){return(m.state||{idx:null}).idx}function x(){g="POP";let z=b(),_=z==null?null:z-p;p=z,y&&y({action:g,location:O.location,delta:_})}function w(z,_){g="PUSH";let q=pu(O.location,z,_);p=b()+1;let F=up(q,p),te=O.createHref(q);try{m.pushState(F,"",te)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;f.location.assign(te)}
10d&&y&&y({action:g,location:O.location,delta:1})}function N(z,_){g="REPLACE";let q=pu(O.location,z,_);p=b();let F=up(q,p),te=O.createHref(q);m.replaceState(F,"",te),d&&y&&y({action:g,location:O.location,delta:0})}function E(z){return lx(z)}let O={get action(){return g},get location(){return l(f,m)},listen(z){if(y)throw new Error("A history only accepts one active listener");return f.addEventListener(cp,x),y=z,()=>{f.removeEventListener(cp,x),y=null}},createHref(z){return o(f,z)},createURL:E,encodeLocation(z){let _=E(z);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:w,replace:N,go(z){return m.go(z)}};return O}function lx(l,o=!1){let u="http://localhost";typeof window<"u"&&(u=window.location.origin!=="null"?window.location.origin:window.location.href),Xe(u,"No window.location.(origin|href) available to create URL");let c=typeof l=="string"?l:Pl(l);return c=c.replace(/ $/,"%20"),!o&&c.startsWith("//")&&(c=u+c),new URL(c,u)}function ey(l,o,u="/"){return rx(l,o,u,!1)}function rx(l,o,u,c){let f=typeof o=="string"?Bi(o):o,d=Fa(f.pathname||"/",u);if(d==null)return null;let m=ty(l);sx(m);let g=null;for(let y=0;g==null&&y<m.length;++y){let p=vx(d);g=yx(m[y],p,c)}return g}function ty(l,o=[],u=[],c="",f=!1){let d=(m,g,y=f,p)=>{let b={relativePath:p===void 0?m.path||"":p,caseSensitive:m.caseSensitive===!0,childrenIndex:g,route:m};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(c)&&y)return;Xe(b.relativePath.startsWith(c),`Absolute route path "${b.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(c.length)}let x=Ba([c,b.relativePath]),w=u.concat(b);m.children&&m.children.length>0&&(Xe(m.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),ty(m.children,o,w,x,y)),!(m.path==null&&!m.index)&&o.push({path:x,score:mx(x,m.index),routesMeta:w})};return l.forEach((m,g)=>{if(m.path===""||!m.path?.includes("?"))d(m,g);else for(let y of ay(m.path))d(m,g,!0,y)}),o}function ay(l){let o=l.split("/");if(o.length===0)return[];let[u,...c]=o,f=u.endsWith("?"),d=u.replace(/\?$/,"");if(c.length===0)return f?[d,""]:[d];let m=ay(c.join("/")),g=[];return g.push(...m.map(y=>y===""?d:[d,y].join("/"))),f&&g.push(...m),g.map(y=>l.startsWith("/")&&y===""?"/":y)}function sx(l){l.sort((o,u)=>o.score!==u.score?u.score-o.score:px(o.routesMeta.map(c=>c.childrenIndex),u.routesMeta.map(c=>c.childrenIndex)))}var ox=/^:[\w-]+$/,cx=3,ux=2,fx=1,dx=10,hx=-2,fp=l=>l==="*";function mx(l,o){let u=l.split("/"),c=u.length;return u.some(fp)&&(c+=hx),o&&(c+=ux),u.filter(f=>!fp(f)).reduce((f,d)=>f+(ox.test(d)?cx:d===""?fx:dx),c)}function px(l,o){return l.length===o.length&&l.slice(0,-1).every((c,f)=>c===o[f])?l[l.length-1]-o[o.length-1]:0}function yx(l,o,u=!1){let{routesMeta:c}=l,f={},d="/",m=[];for(let g=0;g<c.length;++g){let y=c[g],p=g===c.length-1,b=d==="/"?o:o.slice(d.length)||"/",x=Ns({path:y.relativePath,caseSensitive:y.caseSensitive,end:p},b),w=y.route;if(!x&&p&&u&&!c[c.length-1].route.index&&(x=Ns({path:y.relativePath,caseSensitive:y.caseSensitive,end:!1},b)),!x)return null;
10Object.assign(f,x.params),m.push({params:f,pathname:Ba([d,x.pathname]),pathnameBase:Sx(Ba([d,x.pathnameBase])),route:w}),x.pathnameBase!=="/"&&(d=Ba([d,x.pathnameBase]))}return m}function Ns(l,o){typeof l=="string"&&(l={path:l,caseSensitive:!1,end:!0});let[u,c]=gx(l.path,l.caseSensitive,l.end),f=o.match(u);if(!f)return null;let d=f[0],m=d.replace(/(.)\/+$/,"$1"),g=f.slice(1);return{params:c.reduce((p,{paramName:b,isOptional:x},w)=>{if(b==="*"){let E=g[w]||"";m=d.slice(0,d.length-E.length).replace(/(.)\/+$/,"$1")}const N=g[w];return x&&!N?p[b]=void 0:p[b]=(N||"").replace(/%2F/g,"/"),p},{}),pathname:d,pathnameBase:m,pattern:l}}function gx(l,o=!1,u=!0){Jt(l==="*"||!l.endsWith("*")||l.endsWith("/*"),`Route path "${l}" will be treated as if it were "${l.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${l.replace(/\*$/,"/*")}".`);let c=[],f="^"+l.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,g,y)=>(c.push({paramName:g,isOptional:y!=null}),y?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return l.endsWith("*")?(c.push({paramName:"*"}),f+=l==="*"||l==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):u?f+="\\/*$":l!==""&&l!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,o?void 0:"i"),c]}function vx(l){try{return l.split("/").map(o=>decodeURIComponent(o).replace(/\//g,"%2F")).join("/")}catch(o){return Jt(!1,`The URL path "${l}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${o}).`),l}}function Fa(l,o){if(o==="/")return l;if(!l.toLowerCase().startsWith(o.toLowerCase()))return null;let u=o.endsWith("/")?o.length-1:o.length,c=l.charAt(u);return c&&c!=="/"?null:l.slice(u)||"/"}var bx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xx=l=>bx.test(l);function jx(l,o="/"){let{pathname:u,search:c="",hash:f=""}=typeof l=="string"?Bi(l):l,d;if(u)if(xx(u))d=u;else{if(u.includes("//")){let m=u;u=u.replace(/\/\/+/g,"/"),Jt(!1,`Pathnames cannot have embedded double slashes - normalizing ${m} -> ${u}`)}u.startsWith("/")?d=dp(u.substring(1),"/"):d=dp(u,o)}else d=o;return{pathname:d,search:Nx(c),hash:Ex(f)}}function dp(l,o){let u=o.replace(/\/+$/,"").split("/");return l.split("/").forEach(f=>{f===".."?u.length>1&&u.pop():f!=="."&&u.push(f)}),u.length>1?u.join("/"):"/"}function au(l,o,u,c){return`Cannot include a '${l}' character in a manually specified \`to.${o}\` field [${JSON.stringify(c)}].  Please separate it out to the \`to.${u}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function wx(l){return l.filter((o,u)=>u===0||o.route.path&&o.route.path.length>0)}function ny(l){let o=wx(l);return o.map((u,c)=>c===o.length-1?u.pathname:u.pathnameBase)}function iy(l,o,u,c=!1){let f;typeof l=="string"?f=Bi(l):(f={...l},Xe(!f.pathname||!f.pathname.includes("?"),au("?","pathname","search",f)),Xe(!f.pathname||!f.pathname.includes("#"),au("#","pathname","hash",f)),Xe(!f.search||!f.search.includes("#"),au("#","search","hash",f)));let d=l===""||f.pathname==="",m=d?"/":f.pathname,g;if(m==null)g=u;else{let x=o.length-1;if(!c&&m.startsWith("..")){let w=m.split("/");for(;w[0]==="..";)w.shift(),x-=1;f.pathname=w.join("/")}g=x>=0?o[x]:"/"}let y=jx(f,g),p=m&&m!=="/"&&m.endsWith("/"),b=(d||m===".")&&u.endsWith("/");return!y.pathname.endsWith("/")&&(p||b)&&(y.pathname+="/"),y}var Ba=l=>l.join("/").replace(/\/\/+/g,"/"),Sx=l=>l.replace(/\/+$/,"").replace(/^\/*/,"/"),Nx=l=>!l||l==="?"?"":l.startsWith("?")?l:"?"+l,Ex=l=>!l||l==="#"?"":l.startsWith("#")?l:"#"+l;function Ax(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.internal=="boolean"&&"data"in l}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ly=["POST","PUT","PATCH","DELETE"];new Set(ly);var Cx=["GET",...ly];new Set(Cx);var Yi=j.createContext(null);Yi.displayName="DataRouter";var _s=j.createContext(null);_s.displayName="DataRouterState";j.createContext(!1);var ry=j.createContext({isTransitioning:!1});
10ry.displayName="ViewTransition";var Tx=j.createContext(new Map);Tx.displayName="Fetchers";var _x=j.createContext(null);_x.displayName="Await";var ya=j.createContext(null);ya.displayName="Navigation";var Ql=j.createContext(null);Ql.displayName="Location";var ga=j.createContext({outlet:null,matches:[],isDataRoute:!1});ga.displayName="Route";var Ru=j.createContext(null);Ru.displayName="RouteError";function zx(l,{relative:o}={}){Xe(Zl(),"useHref() may be used only in the context of a <Router> component.");let{basename:u,navigator:c}=j.useContext(ya),{hash:f,pathname:d,search:m}=$l(l,{relative:o}),g=d;return u!=="/"&&(g=d==="/"?u:Ba([u,d])),c.createHref({pathname:g,search:m,hash:f})}function Zl(){return j.useContext(Ql)!=null}function Xa(){return Xe(Zl(),"useLocation() may be used only in the context of a <Router> component."),j.useContext(Ql).location}var sy="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function oy(l){j.useContext(ya).static||j.useLayoutEffect(l)}function Wt(){let{isDataRoute:l}=j.useContext(ga);return l?Gx():Ox()}function Ox(){Xe(Zl(),"useNavigate() may be used only in the context of a <Router> component.");let l=j.useContext(Yi),{basename:o,navigator:u}=j.useContext(ya),{matches:c}=j.useContext(ga),{pathname:f}=Xa(),d=JSON.stringify(ny(c)),m=j.useRef(!1);return oy(()=>{m.current=!0}),j.useCallback((y,p={})=>{if(Jt(m.current,sy),!m.current)return;if(typeof y=="number"){u.go(y);return}let b=iy(y,JSON.parse(d),f,p.relative==="path");l==null&&o!=="/"&&(b.pathname=b.pathname==="/"?o:Ba([o,b.pathname])),(p.replace?u.replace:u.push)(b,p.state,p)},[o,u,d,f,l])}j.createContext(null);function cy(){let{matches:l}=j.useContext(ga),o=l[l.length-1];return o?o.params:{}}function $l(l,{relative:o}={}){let{matches:u}=j.useContext(ga),{pathname:c}=Xa(),f=JSON.stringify(ny(u));return j.useMemo(()=>iy(l,JSON.parse(f),c,o==="path"),[l,f,c,o])}function Dx(l,o){return uy(l,o)}function uy(l,o,u,c,f){Xe(Zl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:d}=j.useContext(ya),{matches:m}=j.useContext(ga),g=m[m.length-1],y=g?g.params:{},p=g?g.pathname:"/",b=g?g.pathnameBase:"/",x=g&&g.route;{let q=x&&x.path||"";fy(p,!x||q.endsWith("*")||q.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${q}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
11
12Please change the parent <Route path="${q}"> to <Route path="${q==="/"?"*":`${q}/*`}">.`)}let w=Xa(),N;if(o){let q=typeof o=="string"?Bi(o):o;Xe(b==="/"||q.pathname?.startsWith(b),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${b}" but pathname "${q.pathname}" was given in the \`location\` prop.`),N=q}else N=w;let E=N.pathname||"/",O=E;if(b!=="/"){let q=b.replace(/^\//,"").split("/");O="/"+E.replace(/^\//,"").split("/").slice(q.length).join("/")}let z=ey(l,{pathname:O});Jt(x||z!=null,`No routes matched location "${N.pathname}${N.search}${N.hash}" `),Jt(z==null||z[z.length-1].route.element!==void 0||z[z.length-1].route.Component!==void 0||z[z.length-1].route.lazy!==void 0,`Matched leaf route at location "${N.pathname}${N.search}${N.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let _=Lx(z&&z.map(q=>Object.assign({},q,{params:Object.assign({},y,q.params),pathname:Ba([b,d.encodeLocation?d.encodeLocation(q.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:q.pathname]),pathnameBase:q.pathnameBase==="/"?b:Ba([b,d.encodeLocation?d.encodeLocation(q.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:q.pathnameBase])})),m,u,c,f);return o&&_?j.createElement(Ql.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...N},navigationType:"POP"}},_):_}function kx(){let l=Fx(),o=Ax(l)?`${l.status} ${l.statusText}`:l instanceof Error?l.message:JSON.stringify(l),u=l instanceof Error?l.stack:null,c="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:c},d={padding:"2px 4px",backgroundColor:c},m=null;return console.error("Error handled by React Router default ErrorBoundary:",l),m=j.createElement(j.Fragment,null,j.createElement("p",null,"💿 Hey developer 👋"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:d},"ErrorBoundary")," or"," ",j.createElement("code",{style:d},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application 
12Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},o),u?j.createElement("pre",{style:f},u):null,m)}var Mx=j.createElement(kx,null),Rx=class extends j.Component{constructor(l){super(l),this.state={location:l.location,revalidation:l.revalidation,error:l.error}}static getDerivedStateFromError(l){return{error:l}}static getDerivedStateFromProps(l,o){return o.location!==l.location||o.revalidation!=="idle"&&l.revalidation==="idle"?{error:l.error,location:l.location,revalidation:l.revalidation}:{error:l.error!==void 0?l.error:o.error,location:o.location,revalidation:l.revalidation||o.revalidation}}componentDidCatch(l,o){this.props.onError?this.props.onError(l,o):console.error("React Router caught the following error during render",l)}render(){return this.state.error!==void 0?j.createElement(ga.Provider,{value:this.props.routeContext},j.createElement(Ru.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ux({routeContext:l,match:o,children:u}){let c=j.useContext(Yi);return c&&c.static&&c.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=o.route.id),j.createElement(ga.Provider,{value:l},u)}function Lx(l,o=[],u=null,c=null,f=null){if(l==null){if(!u)return null;if(u.errors)l=u.matches;else if(o.length===0&&!u.initialized&&u.matches.length>0)l=u.matches;else return null}let d=l,m=u?.errors;if(m!=null){let b=d.findIndex(x=>x.route.id&&m?.[x.route.id]!==void 0);Xe(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),d=d.slice(0,Math.min(d.length,b+1))}let g=!1,y=-1;if(u)for(let b=0;b<d.length;b++){let x=d[b];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(y=b),x.route.id){let{loaderData:w,errors:N}=u,E=x.route.loader&&!w.hasOwnProperty(x.route.id)&&(!N||N[x.route.id]===void 0);if(x.route.lazy||E){g=!0,y>=0?d=d.slice(0,y+1):d=[d[0]];break}}}let p=u&&c?(b,x)=>{c(b,{location:u.location,params:u.matches?.[0]?.params??{},errorInfo:x})}:void 0;return d.reduceRight((b,x,w)=>{let N,E=!1,O=null,z=null;u&&(N=m&&x.route.id?m[x.route.id]:void 0,O=x.route.errorElement||Mx,g&&(y<0&&w===0?(fy("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,z=null):y===w&&(E=!0,z=x.route.hydrateFallbackElement||null)));let _=o.concat(d.slice(0,w+1)),q=()=>{let F;return N?F=O:E?F=z:x.route.Component?F=j.createElement(x.route.Component,null):x.route.element?F=x.route.element:F=b,j.createElement(Ux,{match:x,routeContext:{outlet:b,matches:_,isDataRoute:u!=null},children:F})};return u&&(x.route.ErrorBoundary||x.route.errorElement||w===0)?j.createElement(Rx,{location:u.location,revalidation:u.revalidation,component:O,error:N,children:q(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:p}):q()},null)}function Uu(l){return`${l} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function qx(l){let o=j.useContext(Yi);return Xe(o,Uu(l)),o}function Hx(l){let o=j.useContext(_s);return Xe(o,Uu(l)),o}function Bx(l){let o=j.useContext(ga);return Xe(o,Uu(l)),o}function Lu(l){let o=Bx(l),u=o.matches[o.matches.length-1];return Xe(u.route.id,`${l} can only be used on routes that contain a unique "id"`),u.route.id}function Yx(){return Lu("useRouteId")}function Fx(){let l=j.useContext(Ru),o=Hx("useRouteError"),u=Lu("useRouteError");return l!==void 0?l:o.errors?.[u]}function Gx(){let{router:l}=qx("useNavigate"),o=Lu("useNavigate"),u=j.useRef(!1);return oy(()=>{u.current=!0}),j.useCallback(async(f,d={})=>{Jt(u.current,sy),u.current&&(typeof f=="number"?l.navigate(f):await l.navigate(f,{fromRouteId:o,...d}))},[l,o])}var hp={};function fy(l,o,u){!o&&!hp[l]&&(hp[l]=!0,Jt(!1,u))}j.memo(Px);function Px({routes:l,future:o,state:u,unstable_onError:c}){return uy(l,void 0,u,c,o)}function Ze(l){Xe(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Xx({basename:l="/",children:o=null,location:u,navigationType:c="POP",navigator:f,static:d=!1}){Xe(!Zl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=l.replace(/^\/*/,"/"),g=j.useMemo(()=>({basename:m,navigator:f,static:d,future:{}}),[m,f,d]);typeof u=="string"&&(u=Bi(u));let{pathname:y="/",search:p="",hash:b="",state:x=null,key:w="default"}=u,N=j.useMemo(()=>{let E=Fa(y,m);return E==null?null:{location:{pathname:E,search:p,hash:b,state:x,key:w},navigationType:c}},[m,y,p,b,x,w,c]);
12return Jt(N!=null,`<Router basename="${m}"> is not able to match the URL "${y}${p}${b}" because it does not start with the basename, so the <Router> won't render anything.`),N==null?null:j.createElement(ya.Provider,{value:g},j.createElement(Ql.Provider,{children:o,value:N}))}function Vx({children:l,location:o}){return Dx(yu(l),o)}function yu(l,o=[]){let u=[];return j.Children.forEach(l,(c,f)=>{if(!j.isValidElement(c))return;let d=[...o,f];if(c.type===j.Fragment){u.push.apply(u,yu(c.props.children,d));return}Xe(c.type===Ze,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Xe(!c.props.index||!c.props.children,"An index route cannot have child routes.");let m={id:c.props.id||d.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,middleware:c.props.middleware,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(m.children=yu(c.props.children,d)),u.push(m)}),u}var bs="get",xs="application/x-www-form-urlencoded";function zs(l){return l!=null&&typeof l.tagName=="string"}function Qx(l){return zs(l)&&l.tagName.toLowerCase()==="button"}function Zx(l){return zs(l)&&l.tagName.toLowerCase()==="form"}function $x(l){return zs(l)&&l.tagName.toLowerCase()==="input"}function Kx(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}function Ix(l,o){return l.button===0&&(!o||o==="_self")&&!Kx(l)}function gu(l=""){return new URLSearchParams(typeof l=="string"||Array.isArray(l)||l instanceof URLSearchParams?l:Object.keys(l).reduce((o,u)=>{let c=l[u];return o.concat(Array.isArray(c)?c.map(f=>[u,f]):[[u,c]])},[]))}function Jx(l,o){let u=gu(l);return o&&o.forEach((c,f)=>{u.has(f)||o.getAll(f).forEach(d=>{u.append(f,d)})}),u}var ys=null;function Wx(){if(ys===null)try{new FormData(document.createElement("form"),0),ys=!1}catch{ys=!0}return ys}var e0=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function nu(l){return l!=null&&!e0.has(l)?(Jt(!1,`"${l}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${xs}"`),null):l}function t0(l,o){let u,c,f,d,m;if(Zx(l)){let g=l.getAttribute("action");c=g?Fa(g,o):null,u=l.getAttribute("method")||bs,f=nu(l.getAttribute("enctype"))||xs,d=new FormData(l)}else if(Qx(l)||$x(l)&&(l.type==="submit"||l.type==="image")){let g=l.form;if(g==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let y=l.getAttribute("formaction")||g.getAttribute("action");if(c=y?Fa(y,o):null,u=l.getAttribute("formmethod")||g.getAttribute("method")||bs,f=nu(l.getAttribute("formenctype"))||nu(g.getAttribute("enctype"))||xs,d=new FormData(g,l),!Wx()){let{name:p,type:b,value:x}=l;if(b==="image"){let w=p?`${p}.`:"";d.append(`${w}x`,"0"),d.append(`${w}y`,"0")}else p&&d.append(p,x)}}else{if(zs(l))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');u=bs,c=null,f=xs,m=l}return d&&f==="text/plain"&&(m=d,d=void 0),{action:c,method:u.toLowerCase(),encType:f,formData:d,body:m}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function qu(l,o){if(l===!1||l===null||typeof l>"u")throw new Error(o)}function a0(l,o,u){let c=typeof l=="string"?new URL(l,typeof window>"u"?"server://singlefetch/":window.location.origin):l;return c.pathname==="/"?c.pathname=`_root.${u}`:o&&Fa(c.pathname,o)==="/"?c.pathname=`${o.replace(/\/$/,"")}/_root.${u}`:c.pathname=`${c.pathname.replace(/\/$/,"")}.${u}`,c}async function n0(l,o){if(l.id in o)return o[l.id];try{let u=await import(l.module);return o[l.id]=u,u}catch(u){return console.error(`Error loading route module \`${l.module}\`, reloading page...`),console.error(u),window.__reactRouterContext&&window.__reactRouterContext.
12isSpaMode,window.location.reload(),new Promise(()=>{})}}function i0(l){return l==null?!1:l.href==null?l.rel==="preload"&&typeof l.imageSrcSet=="string"&&typeof l.imageSizes=="string":typeof l.rel=="string"&&typeof l.href=="string"}async function l0(l,o,u){let c=await Promise.all(l.map(async f=>{let d=o.routes[f.route.id];if(d){let m=await n0(d,u);return m.links?m.links():[]}return[]}));return c0(c.flat(1).filter(i0).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function mp(l,o,u,c,f,d){let m=(y,p)=>u[p]?y.route.id!==u[p].route.id:!0,g=(y,p)=>u[p].pathname!==y.pathname||u[p].route.path?.endsWith("*")&&u[p].params["*"]!==y.params["*"];return d==="assets"?o.filter((y,p)=>m(y,p)||g(y,p)):d==="data"?o.filter((y,p)=>{let b=c.routes[y.route.id];if(!b||!b.hasLoader)return!1;if(m(y,p)||g(y,p))return!0;if(y.route.shouldRevalidate){let x=y.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:u[0]?.params||{},nextUrl:new URL(l,window.origin),nextParams:y.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function r0(l,o,{includeHydrateFallback:u}={}){return s0(l.map(c=>{let f=o.routes[c.route.id];if(!f)return[];let d=[f.module];return f.clientActionModule&&(d=d.concat(f.clientActionModule)),f.clientLoaderModule&&(d=d.concat(f.clientLoaderModule)),u&&f.hydrateFallbackModule&&(d=d.concat(f.hydrateFallbackModule)),f.imports&&(d=d.concat(f.imports)),d}).flat(1))}function s0(l){return[...new Set(l)]}function o0(l){let o={},u=Object.keys(l).sort();for(let c of u)o[c]=l[c];return o}function c0(l,o){let u=new Set;return new Set(o),l.reduce((c,f)=>{let d=JSON.stringify(o0(f));return u.has(d)||(u.add(d),c.push({key:d,link:f})),c},[])}function dy(){let l=j.useContext(Yi);return qu(l,"You must render this element inside a <DataRouterContext.Provider> element"),l}function u0(){let l=j.useContext(_s);return qu(l,"You must render this element inside a <DataRouterStateContext.Provider> element"),l}var Hu=j.createContext(void 0);Hu.displayName="FrameworkContext";function hy(){let l=j.useContext(Hu);return qu(l,"You must render this element inside a <HydratedRouter> element"),l}function f0(l,o){let u=j.useContext(Hu),[c,f]=j.useState(!1),[d,m]=j.useState(!1),{onFocus:g,onBlur:y,onMouseEnter:p,onMouseLeave:b,onTouchStart:x}=o,w=j.useRef(null);j.useEffect(()=>{if(l==="render"&&m(!0),l==="viewport"){let O=_=>{_.forEach(q=>{m(q.isIntersecting)})},z=new IntersectionObserver(O,{threshold:.5});return w.current&&z.observe(w.current),()=>{z.disconnect()}}},[l]),j.useEffect(()=>{if(c){let O=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(O)}}},[c]);let N=()=>{f(!0)},E=()=>{f(!1),m(!1)};return u?l!=="intent"?[d,w,{}]:[d,w,{onFocus:Ll(g,N),onBlur:Ll(y,E),onMouseEnter:Ll(p,N),onMouseLeave:Ll(b,E),onTouchStart:Ll(x,N)}]:[!1,w,{}]}function Ll(l,o){return u=>{l&&l(u),u.defaultPrevented||o(u)}}function d0({page:l,...o}){let{router:u}=dy(),c=j.useMemo(()=>ey(u.routes,l,u.basename),[u.routes,l,u.basename]);return c?j.createElement(m0,{page:l,matches:c,...o}):null}function h0(l){let{manifest:o,routeModules:u}=hy(),[c,f]=j.useState([]);return j.useEffect(()=>{let d=!1;return l0(l,o,u).then(m=>{d||f(m)}),()=>{d=!0}},[l,o,u]),c}function m0({page:l,matches:o,...u}){let c=Xa(),{manifest:f,routeModules:d}=hy(),{basename:m}=dy(),{loaderData:g,matches:y}=u0(),p=j.useMemo(()=>mp(l,o,y,f,c,"data"),[l,o,y,f,c]),b=j.useMemo(()=>mp(l,o,y,f,c,"assets"),[l,o,y,f,c]),x=j.useMemo(()=>{if(l===c.pathname+c.search+c.hash)return[];let E=new Set,O=!1;if(o.forEach(_=>{let q=f.routes[_.route.id];!q||!q.hasLoader||(!p.some(F=>F.route.id===_.route.id)&&_.route.id in g&&d[_.route.id]?.shouldRevalidate||q.hasClientLoader?O=!0:E.add(_.route.id))}),E.size===0)return[];let z=a0(l,m,"data");return O&&E.size>0&&z.searchParams.set("_routes",o.filter(_=>E.has(_.route.id)).map(_=>_.route.id).join(",")),[z.pathname+z.search]},[m,g,c,f,p,o,l,d]),w=j.useMemo(()=>r0(b,f),[b,f]),N=h0(b);return j.createElement(j.Fragment,null,x.map(E=>j.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...u})),w.map(E=>j.createElement("link",{key:E,rel:"modulepreload",href:E,...u})),N.map(({key:E,link:O})=>j.createElement("link",{key:E,nonce:u.nonce,...O})))}function p0(...l){return o=>{l.forEach(u=>{typeof u=="function"?u(o):u!=null&&(u.current=o)})}}var my=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{my&&(window.__reactRouterVersion="7.9.6")}catch{}function y0({basename:l,children:o,window:u}){let c=j.useRef();c.current==null&&(c.current=ax({window:u,v5Compat:!0}));let f=c.current,[d,m]=j.useState({action:f.action,location:f.location}),g=j.useCallback(y=>{j.startTransition(()=>m(y))},[m]);return j.useLayoutEffect(()=>f.listen(g),[f,g]),j.createElement(Xx,{basename:l,children:o,location:d.location,navigationType:d.action,navigator:f})}var py=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,be=j.forwardRef(function({onClick:o,discover:u="render",prefetch:c="none",relative:f,reloadDocument:d,replace:m,state:g,target:y,to:p,preventScrollReset:b,viewTransition:x,...w},N){let{basename:E}=j.useContext(ya),O=typeof p=="string"&&py.test(p),z,_=!1;if(typeof p=="string"&&O&&(z=p,my))try{let I=new URL(window.location.href),G=p.startsWith("//")?new URL(I.protocol+p):new URL(p),K=Fa(G.pathname,E);G.origin===I.origin&&K!=null?p=K+G.search+G.hash:_=!0}catch{Jt(!1,`<Link to="${p}">
12 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let q=zx(p,{relative:f}),[F,te,Z]=f0(c,w),oe=x0(p,{replace:m,state:g,target:y,preventScrollReset:b,relative:f,viewTransition:x});function $(I){o&&o(I),I.defaultPrevented||oe(I)}let ce=j.createElement("a",{...w,...Z,href:z||q,onClick:_||d?o:$,ref:p0(N,te),target:y,"data-discover":!O&&u==="render"?"true":void 0});return F&&!O?j.createElement(j.Fragment,null,ce,j.createElement(d0,{page:q})):ce});be.displayName="Link";var g0=j.forwardRef(function({"aria-current":o="page",caseSensitive:u=!1,className:c="",end:f=!1,style:d,to:m,viewTransition:g,children:y,...p},b){let x=$l(m,{relative:p.relative}),w=Xa(),N=j.useContext(_s),{navigator:E,basename:O}=j.useContext(ya),z=N!=null&&E0(x)&&g===!0,_=E.encodeLocation?E.encodeLocation(x).pathname:x.pathname,q=w.pathname,F=N&&N.navigation&&N.navigation.location?N.navigation.location.pathname:null;u||(q=q.toLowerCase(),F=F?F.toLowerCase():null,_=_.toLowerCase()),F&&O&&(F=Fa(F,O)||F);const te=_!=="/"&&_.endsWith("/")?_.length-1:_.length;let Z=q===_||!f&&q.startsWith(_)&&q.charAt(te)==="/",oe=F!=null&&(F===_||!f&&F.startsWith(_)&&F.charAt(_.length)==="/"),$={isActive:Z,isPending:oe,isTransitioning:z},ce=Z?o:void 0,I;typeof c=="function"?I=c($):I=[c,Z?"active":null,oe?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let G=typeof d=="function"?d($):d;return j.createElement(be,{...p,"aria-current":ce,className:I,ref:b,style:G,to:m,viewTransition:g},typeof y=="function"?y($):y)});g0.displayName="NavLink";var v0=j.forwardRef(({discover:l="render",fetcherKey:o,navigate:u,reloadDocument:c,replace:f,state:d,method:m=bs,action:g,onSubmit:y,relative:p,preventScrollReset:b,viewTransition:x,...w},N)=>{let E=S0(),O=N0(g,{relative:p}),z=m.toLowerCase()==="get"?"get":"post",_=typeof g=="string"&&py.test(g),q=F=>{if(y&&y(F),F.defaultPrevented)return;F.preventDefault();let te=F.nativeEvent.submitter,Z=te?.getAttribute("formmethod")||m;E(te||F.currentTarget,{fetcherKey:o,method:Z,navigate:u,replace:f,state:d,relative:p,preventScrollReset:b,viewTransition:x})};return j.createElement("form",{ref:N,method:z,action:O,onSubmit:c?y:q,...w,"data-discover":!_&&l==="render"?"true":void 0})});v0.displayName="Form";function b0(l){return`${l} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function yy(l){let o=j.useContext(Yi);return Xe(o,b0(l)),o}function x0(l,{target:o,replace:u,state:c,preventScrollReset:f,relative:d,viewTransition:m}={}){let g=Wt(),y=Xa(),p=$l(l,{relative:d});return j.useCallback(b=>{if(Ix(b,o)){b.preventDefault();let x=u!==void 0?u:Pl(y)===Pl(p);g(l,{replace:x,state:c,preventScrollReset:f,relative:d,viewTransition:m})}},[y,g,p,u,c,o,l,f,d,m])}function gy(l){Jt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let o=j.useRef(gu(l)),u=j.useRef(!1),c=Xa(),f=j.useMemo(()=>Jx(c.search,u.current?null:o.current),[c.search]),d=Wt(),m=j.useCallback((g,y)=>{const p=gu(typeof g=="function"?g(new URLSearchParams(f)):g);u.current=!0,d("?"+p,y)},[d,f]);return[f,m]}var j0=0,w0=()=>`__${String(++j0)}__`;function S0(){let{router:l}=yy("useSubmit"),{basename:o}=j.useContext(ya),u=Yx();return j.useCallback(async(c,f={})=>{let{action:d,method:m,encType:g,formData:y,body:p}=t0(c,o);if(f.navigate===!1){let b=f.fetcherKey||w0();await l.fetch(b,u,f.action||d,{preventScrollReset:f.preventScrollReset,formData:y,body:p,formMethod:f.method||m,formEncType:f.encType||g,flushSync:f.flushSync})}else await l.navigate(f.action||d,{preventScrollReset:f.preventScrollReset,formData:y,body:p,formMethod:f.method||m,formEncType:f.encType||g,replace:f.replace,state:f.state,fromRouteId:u,flushSync:f.flushSync,viewTransition:f.viewTransition})},[l,o,u])}function N0(l,{relative:o}={}){let{basename:u}=j.useContext(ya),c=j.useContext(ga);Xe(c,"useFormAction must be used inside a RouteContext");let[f]=c.matches.slice(-1),d={...$l(l||".",{relative:o})},m=Xa();if(l==null){d.search=m.search;let g=new URLSearchParams(d.search),y=g.getAll("index");if(y.some(b=>b==="")){g.delete("index"),y.filter(x=>
12x).forEach(x=>g.append("index",x));let b=g.toString();d.search=b?`?${b}`:""}}return(!l||l===".")&&f.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),u!=="/"&&(d.pathname=d.pathname==="/"?u:Ba([u,d.pathname])),Pl(d)}function E0(l,{relative:o}={}){let u=j.useContext(ry);Xe(u!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=yy("useViewTransitionState"),f=$l(l,{relative:o});if(!u.isTransitioning)return!1;let d=Fa(u.currentLocation.pathname,c)||u.currentLocation.pathname,m=Fa(u.nextLocation.pathname,c)||u.nextLocation.pathname;return Ns(f.pathname,m)!=null||Ns(f.pathname,d)!=null}const vy=j.createContext(void 0),ki="filesplash_auth",A0=({children:l})=>{const[o,u]=j.useState(null),[c,f]=j.useState(!0);j.useEffect(()=>{try{const b=localStorage.getItem(ki);if(b){const x=JSON.parse(b);x&&x.id!==void 0&&x.id!==null&&x.auth_token?u(x):localStorage.removeItem(ki)}}catch(b){console.error("Error loading auth data from localStorage:",b),localStorage.removeItem(ki)}finally{f(!1)}},[]);const p={user:o,login:b=>{u(b);try{localStorage.setItem(ki,JSON.stringify(b))}catch(x){console.error("Error saving auth data to localStorage:",x)}},logout:()=>{u(null);try{localStorage.removeItem(ki)}catch(b){console.error("Error removing auth data from localStorage:",b)}window.location.href="/login"},updateUser:b=>{if(o){const x={...o,...b};u(x);try{localStorage.setItem(ki,JSON.stringify(x))}catch(w){console.error("Error updating auth data in localStorage:",w)}}},isAuthenticated:!!o,isLoading:c};return i.jsx(vy.Provider,{value:p,children:l})},nt=()=>{const l=j.useContext(vy);if(l===void 0)throw new Error("useAuth must be used within an AuthProvider");return l},by="https://filesplash.com/api",Fe=async(l,o={})=>{const u=`${by}${l}`,c={headers:{"Content-Type":"application/json"}},f={...c,...o,headers:{...c.headers,...o.headers}};if(o.body instanceof FormData&&f.headers){const d=f.headers;delete d["Content-Type"]}try{const d=await fetch(u,f);if(!d.ok)try{const g=await d.json();throw new Error(g.message||`HTTP ${d.status}: ${d.statusText}`)}catch{throw new Error(`HTTP ${d.status}: ${d.statusText}`)}return await d.json()}catch(d){throw d instanceof Error?d:new Error("Network error occurred")}},xn={register:async l=>Fe("/register",{method:"POST",body:JSON.stringify(l)}),login:async(l,o)=>Fe("/login",{method:"POST",body:JSON.stringify({email:l,password:o})}),forgotPassword:async l=>Fe("/forgot-password",{method:"POST",body:JSON.stringify({email:l})}),resendEmailVerification:async l=>Fe("/email-verify",{method:"POST",body:JSON.stringify({auth_token:l})}),verifyToken:async l=>Fe("/verify-token",{method:"POST",headers:{Authorization:`Bearer ${l}`}}),updateProfile:async l=>Fe("/update-profile",{method:"POST",body:JSON.stringify(l)}),updatePassword:async l=>Fe("/update-password",{method:"POST",body:JSON.stringify(l)}),checkEmailVerifyStatus:async l=>Fe("/check-email-verify",{method:"POST",body:JSON.stringify({auth_token:l})})},ql={getUploadStats:async l=>{const o={};return l&&(o.auth_token=l),Fe("/get-upload-stats",{method:"POST",body:JSON.stringify(o)})},getUploadServers:async(l,o)=>{const u={file_hashes:l};return o&&(u.auth_token=o),Fe("/get-upload-servers",{method:"POST",body:JSON.stringify(u)})},uploadChunk:async(l,o,u,c,f)=>{const d=`https://${l}/api/take-chunk/${u}/${c}/${o}`,m=await fetch(d,{method:"POST",headers:{"Content-Type":"application/octet-stream"},body:f});if(!m.ok){const g=await m.json().catch(()=>({}));throw new Error(g.message||`HTTP ${m.status}: ${m.statusText}`)}return m.json()},uploadChunkProgress:async(l,o,u,c,f,d)=>new Promise((m,g)=>{const y=`https://${l}/api/take-chunk/${u}/${c}/${o}`,p=new XMLHttpRequest;p.open("POST",y),p.setRequestHeader("Content-Type","application/octet-stream");let b=0;p.upload.onprogress=x=>{const w=x.loaded-b;b=x.loaded,d(w)},p.onload=()=>{p.status>=200&&p.status<300?m(JSON.parse(p.responseText)):g(new Error(`HTTP ${p.status}: ${p.statusText}`))},p.onerror=()=>g(new Error("Network error")),p.send(f)}),finishUpload:async(l,o,u,c)=>{const f=`https://${l}/api/finish-upload/${o}`,d=await fetch(f,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({file_hash:u,chunk_hashes:c})});if(!d.ok){const m=await d.json().catch(()=>({}));throw new Error(m.message||`HTTP ${d.status}: ${d.statusText}`)}return d.json()},submitUpload:async l=>{if(l.background_image){const o=new FormData;return o.append("auth_token",l.auth_token||""),o.append("title",l.title),o.append("description",l.description),o.append("expires",l.expires.toString()),o.append("files",JSON.stringify(l.files)),o.append("background_image",l.background_image),Fe("/take-upload",{method:"POST",body:o,headers:{}})}else return Fe("/take-upload",{method:"POST",body:JSON.stringify(l)})}},pp={getDownloadMetadata:async l=>Fe(`/download/${l}`,{method:"GET"}),getDownloadUrl:(l,o)=>`https://${l}/api/download-file/${o}`}
12,C0={getBackground:async l=>Fe("/background",{method:"POST",body:JSON.stringify(l)})},qt={createCheckoutSession:async(l,o)=>Fe("/create-checkout-session",{method:"POST",headers:{Authorization:`Bearer ${o}`},body:JSON.stringify({plan:l})}),getSubscriptionStatus:async l=>Fe("/subscription-status",{method:"GET",headers:{Authorization:`Bearer ${l}`}}),uploadSubscriptionImage:async(l,o)=>{const u=new FormData;u.append("image",o);const c=await fetch(`${by}/subscription-image`,{method:"POST",headers:{Authorization:`Bearer ${l}`},body:u});if(!c.ok){const f=await c.json().catch(()=>({}));throw new Error(f.message||`HTTP ${c.status}: ${c.statusText}`)}return c.json()},inviteUser:async(l,o)=>Fe("/invite-user",{method:"POST",headers:{Authorization:`Bearer ${l}`},body:JSON.stringify({email:o})}),acceptInvite:async(l,o)=>Fe("/invite-accept",{method:"POST",headers:{Authorization:`Bearer ${l}`},body:JSON.stringify({invite_token:o})}),getSubscriptionUsers:async l=>Fe("/subscription-users",{method:"GET",headers:{Authorization:`Bearer ${l}`}}),deleteUser:async(l,o)=>Fe("/delete-user",{method:"POST",headers:{Authorization:`Bearer ${l}`},body:JSON.stringify({email:o})})},T0={submitDmcaRequest:async l=>Fe("/dmca",{method:"POST",body:JSON.stringify(l)})},iu={getTransfers:async l=>Fe("/transfers",{method:"POST",body:JSON.stringify({auth_token:l})}),deleteTransfer:async l=>Fe("/transfer-delete",{method:"POST",body:JSON.stringify(l)}),extendTransfer:async l=>Fe("/transfer-extend",{method:"POST",body:JSON.stringify(l)})},_0={takeLicenseCode:async l=>Fe("/take-license-code",{method:"POST",body:JSON.stringify(l)})},xy=j.createContext(void 0),z0=({children:l})=>{const[o,u]=j.useState(null),[c,f]=j.useState(!0),[d,m]=j.useState(null),{user:g}=nt(),y=async()=>{try{f(!0),m(null);const x=window.location.pathname.match(/^\/d\/([^\/]+)$/),w=x?x[1]:null,N={};g?.auth_token&&(N.auth_token=g.auth_token),w&&(N.upload_id=w);const E=await C0.getBackground(N);if(E.background_url&&E.background_type)u({background_url:E.background_url,background_type:E.background_type,name:E.name||"",description:E.description||""});else throw new Error("Invalid background data received")}catch(b){console.error("Error fetching background:",b),m(b instanceof Error?b.message:"Failed to load background"),u({background_url:"/videos/bg.mp4",background_type:"video",name:"Default Background",description:"Default video background"})}finally{f(!1)}};j.useEffect(()=>{y()},[]);const p={background:o,setBackground:u,isLoading:c,error:d};return i.jsx(xy.Provider,{value:p,children:l})},jy=()=>{const l=j.useContext(xy);if(l===void 0)throw new Error("useBackground must be used within a BackgroundProvider");return l};function vu(l,o){(o==null||o>l.length)&&(o=l.length);for(var u=0,c=Array(o);u<o;u++)c[u]=l[u];return c}function O0(l){if(Array.isArray(l))return l}function D0(l){if(Array.isArray(l))return vu(l)}function k0(l,o){if(!(l instanceof o))throw new TypeError("Cannot call a class as a function")}function M0(l,o){for(var u=0;u<o.length;u++){var c=o[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(l,wy(c.key),c)}}function R0(l,o,u){return o&&M0(l.prototype,o),Object.defineProperty(l,"prototype",{writable:!1}),l}function js(l,o){var u=typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(!u){if(Array.isArray(l)||(u=Bu(l))||o){u&&(l=u);var c=0,f=function(){};return{s:f,n:function(){return c>=l.length?{done:!0}:{done:!1,value:l[c++]}},e:function(y){throw y},f}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d,m=!0,g=!1;return{s:function(){u=u.call(l)},n:function(){var y=u.next();return m=y.done,y},e:function(y){g=!0,d=y},f:function(){try{m||u.return==null||u.return()}finally{if(g)throw d}}}}function pe(l,o,u){return(o=wy(o))in l?Object.defineProperty(l,o,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[o]=u,l}function U0(l){if(typeof Symbol<"u"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}function L0(l,o){var u=l==null?null:typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(u!=null){var c,f,d,m,g=[],y=!0,p=!1;try{if(d=(u=u.call(l)).next,o===0){if(Object(u)!==u)return;y=!1}else for(;!(y=(c=d.call(u)).done)&&(g.push(c.value),g.length!==o);y=!0);}catch(b){p=!0,f=b}
13finally{try{if(!y&&u.return!=null&&(m=u.return(),Object(m)!==m))return}finally{if(p)throw f}}return g}}function q0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function H0(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
15In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yp(l,o){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(l);o&&(c=c.filter(function(f){return Object.getOwnPropertyDescriptor(l,f).enumerable})),u.push.apply(u,c)}return u}function P(l){for(var o=1;o<arguments.length;o++){var u=arguments[o]!=null?arguments[o]:{};o%2?yp(Object(u),!0).forEach(function(c){pe(l,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(u)):yp(Object(u)).forEach(function(c){Object.defineProperty(l,c,Object.getOwnPropertyDescriptor(u,c))})}return l}function Os(l,o){return O0(l)||L0(l,o)||Bu(l,o)||q0()}function ra(l){return D0(l)||U0(l)||Bu(l)||H0()}function B0(l,o){if(typeof l!="object"||!l)return l;var u=l[Symbol.toPrimitive];if(u!==void 0){var c=u.call(l,o);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(l)}function wy(l){var o=B0(l,"string");return typeof o=="symbol"?o:o+""}function Es(l){"@babel/helpers - typeof";return Es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Es(l)}function Bu(l,o){if(l){if(typeof l=="string")return vu(l,o);var u={}.toString.call(l).slice(8,-1);return u==="Object"&&l.constructor&&(u=l.constructor.name),u==="Map"||u==="Set"?Array.from(l):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?vu(l,o):void 0}}var gp=function(){},Yu={},Sy={},Ny=null,Ey={mark:gp,measure:gp};try{typeof window<"u"&&(Yu=window),typeof document<"u"&&(Sy=document),typeof MutationObserver<"u"&&(Ny=MutationObserver),typeof performance<"u"&&(Ey=performance)}catch{}var Y0=Yu.navigator||{},vp=Y0.userAgent,bp=vp===void 0?"":vp,jn=Yu,Ge=Sy,xp=Ny,gs=Ey;jn.document;var Va=!!Ge.documentElement&&!!Ge.head&&typeof Ge.addEventListener=="function"&&typeof Ge.createElement=="function",Ay=~bp.indexOf("MSIE")||~bp.indexOf("Trident/"),lu,F0=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,G0=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,Cy={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},P0={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Ty=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],dt="classic",Kl="duotone",_y="sharp",zy="sharp-duotone",Oy="chisel",Dy="etch",ky="jelly",My="jelly-duo",Ry="jelly-fill",Uy="notdog",Ly="notdog-duo",qy="slab",Hy="slab-press",By="thumbprint",Yy="utility",Fy="utility-duo",Gy="utility-fill",Py="whiteboard",X0="Classic",V0="Duotone",Q0="Sharp",Z0="Sharp Duotone",$0="Chisel",K0="Etch",I0="Jelly",J0="Jelly Duo",W0="Jelly Fill",e1="Notdog",t1="Notdog Duo",a1="Slab",n1="Slab Press",i1="Thumbprint",l1="Utility",r1="Utility Duo",s1="Utility Fill",o1="Whiteboard",Xy=[dt,Kl,_y,zy,Oy,Dy,ky,My,Ry,Uy,Ly,qy,Hy,By,Yy,Fy,Gy,Py];lu={},pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(lu,dt,X0),Kl,V0),_y,Q0),zy,Z0),Oy,$0),Dy,K0),ky,I0),My,J0),Ry,W0),Uy,e1),pe(pe(pe(pe(pe(pe(pe(pe(lu,Ly,t1),qy,a1),Hy,n1),By,i1),Yy,l1),Fy,r1),Gy,s1),Py,o1);
15var c1={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},u1={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},f1=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),d1={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},Vy=["fak","fa-kit","fakd","fa-kit-duotone"],jp={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},h1=["kit"],m1="kit",p1="kit-duotone",y1="Kit",g1="Kit Duotone";pe(pe({},m1,y1),p1,g1);var v1={kit:{"fa-kit":"fak"}},b1={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},x1={kit:{fak:"fa-kit"}},wp={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},ru,vs={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},j1=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],w1="classic",S1="duotone",N1="sharp",E1="sharp-duotone",A1="chisel",C1="etch",T1="jelly",_1="jelly-duo",z1="jelly-fill",O1="notdog",D1="notdog-duo",k1="slab",M1="slab-press",R1="thumbprint",U1="utility",L1="utility-duo",q1="utility-fill",H1="whiteboard",B1="Classic",Y1="Duotone",F1="Sharp",G1="Sharp Duotone",P1="Chisel",X1="Etch",V1="Jelly",Q1="Jelly Duo",Z1="Jelly Fill",$1="Notdog",K1="Notdog Duo",I1="Slab",J1="Slab Press",W1="Thumbprint",ej="Utility",tj="Utility Duo",aj="Utility Fill",nj="Whiteboard";ru={},pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(ru,w1,B1),S1,Y1),N1,F1),E1,G1),A1,P1),C1,X1),T1,V1),_1,Q1),z1,Z1),O1,$1),pe(pe(pe(pe(pe(pe(pe(pe(ru,D1,K1),k1,I1),M1,J1),R1,W1),U1,ej),L1,tj),q1,aj),H1,nj);var ij="kit",lj="kit-duotone",rj="Kit",sj="Kit Duotone";pe(pe({},ij,rj),lj,sj);var oj={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},cj={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},bu={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},uj=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],Qy=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(j1,uj),fj=["solid","regular","light","thin","duotone","brands","semibold"],Zy=[1,2,3,4,5,6,7,8,9,10],dj=Zy.concat([11,12,13,14,15,16,17,18,19,20]),hj=["aw","fw","pull-left","pull-right"],mj=[].concat(ra(Object.keys(cj)),fj,hj,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vert
15ical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",vs.GROUP,vs.SWAP_OPACITY,vs.PRIMARY,vs.SECONDARY]).concat(Zy.map(function(l){return"".concat(l,"x")})).concat(dj.map(function(l){return"w-".concat(l)})),pj={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},Ga="___FONT_AWESOME___",xu=16,$y="fa",Ky="svg-inline--fa",Pn="data-fa-i2svg",ju="data-fa-pseudo-element",yj="data-fa-pseudo-element-pending",Fu="data-prefix",Gu="data-icon",Sp="fontawesome-i2svg",gj="async",vj=["HTML","HEAD","STYLE","SCRIPT"],Iy=["::before","::after",":before",":after"],Jy=(function(){try{return!0}catch{return!1}})();function Il(l){return new Proxy(l,{get:function(u,c){return c in u?u[c]:u[dt]}})}var Wy=P({},Cy);Wy[dt]=P(P(P(P({},{"fa-duotone":"duotone"}),Cy[dt]),jp.kit),jp["kit-duotone"]);var bj=Il(Wy),wu=P({},d1);wu[dt]=P(P(P(P({},{duotone:"fad"}),wu[dt]),wp.kit),wp["kit-duotone"]);var Np=Il(wu),Su=P({},bu);Su[dt]=P(P({},Su[dt]),x1.kit);var Pu=Il(Su),Nu=P({},oj);Nu[dt]=P(P({},Nu[dt]),v1.kit);Il(Nu);var xj=F0,eg="fa-layers-text",jj=G0,wj=P({},c1);Il(wj);var Sj=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],su=P0,Nj=[].concat(ra(h1),ra(mj)),Yl=jn.FontAwesomeConfig||{};function Ej(l){var o=Ge.querySelector("script["+l+"]");if(o)return o.getAttribute(l)}function Aj(l){return l===""?!0:l==="false"?!1:l==="true"?!0:l}if(Ge&&typeof Ge.querySelector=="function"){var Cj=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];Cj.forEach(function(l){var o=Os(l,2),u=o[0],c=o[1],f=Aj(Ej(u));f!=null&&(Yl[c]=f)})}var tg={styleDefault:"solid",familyDefault:dt,cssPrefix:$y,replacementClass:Ky,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Yl.familyPrefix&&(Yl.cssPrefix=Yl.familyPrefix);var Hi=P(P({},tg),Yl);Hi.autoReplaceSvg||(Hi.observeMutations=!1);var ie={};Object.keys(tg).forEach(function(l){Object.defineProperty(ie,l,{enumerable:!0,set:function(u){Hi[l]=u,Fl.forEach(function(c){return c(ie)})},get:function(){return Hi[l]}})});Object.defineProperty(ie,"familyPrefix",{enumerable:!0,set:function(o){Hi.cssPrefix=o,Fl.forEach(function(u){return u(ie)})},get:function(){return Hi.cssPrefix}});jn.FontAwesomeConfig=ie;var Fl=[];function Tj(l){return Fl.push(l),function(){Fl.splice(Fl.indexOf(l),1)}}var Mi=xu,ma={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function _j(l){if(!(!l||!Va)){var o=Ge.createElement("style");o.setAttribute("type","text/css"),o.innerHTML=l;for(var u=Ge.head.childNodes,c=null,f=u.length-1;f>-1;f--){var d=u[f],m=(d.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(m)>-1&&(c=d)}return Ge.head.insertBefore(o,c),l}}var zj="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ep(){for(var l=12,o="";l-- >0;)o+=zj[Math.random()*62|0];return o}function Fi(l){for(var o=[],u=(l||[]).length>>>0;u--;)o[u]=l[u];return o}function Xu(l){return l.classList?Fi(l.classList):(l.getAttribute("class")||"").split(" ").filter(function(o){return o}
15)}function ag(l){return"".concat(l).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Oj(l){return Object.keys(l||{}).reduce(function(o,u){return o+"".concat(u,'="').concat(ag(l[u]),'" ')},"").trim()}function Ds(l){return Object.keys(l||{}).reduce(function(o,u){return o+"".concat(u,": ").concat(l[u].trim(),";")},"")}function Vu(l){return l.size!==ma.size||l.x!==ma.x||l.y!==ma.y||l.rotate!==ma.rotate||l.flipX||l.flipY}function Dj(l){var o=l.transform,u=l.containerWidth,c=l.iconWidth,f={transform:"translate(".concat(u/2," 256)")},d="translate(".concat(o.x*32,", ").concat(o.y*32,") "),m="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),g="rotate(".concat(o.rotate," 0 0)"),y={transform:"".concat(d," ").concat(m," ").concat(g)},p={transform:"translate(".concat(c/2*-1," -256)")};return{outer:f,inner:y,path:p}}function kj(l){var o=l.transform,u=l.width,c=u===void 0?xu:u,f=l.height,d=f===void 0?xu:f,m="";return Ay?m+="translate(".concat(o.x/Mi-c/2,"em, ").concat(o.y/Mi-d/2,"em) "):m+="translate(calc(-50% + ".concat(o.x/Mi,"em), calc(-50% + ").concat(o.y/Mi,"em)) "),m+="scale(".concat(o.size/Mi*(o.flipX?-1:1),", ").concat(o.size/Mi*(o.flipY?-1:1),") "),m+="rotate(".concat(o.rotate,"deg) "),m}var Mj=`:root, :host {
16  --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
17  --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
18  --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";
19  --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";
20  --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";
21  --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";
22  --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";
23  --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";
24  --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";
25  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";
26  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";
27  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";
28  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";
29  --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";
30  --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";
31  --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";
32  --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";
33  --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";
34  --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";
35  --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";
36  --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";
37  --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";
38  --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";
39  --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";
40  --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";
41  --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";
42  --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";
43  --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";
44  --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";
45  --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";
46  --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";
47}
48
49.svg-inline--fa {
50  box-sizing: content-box;
51  display: var(--fa-display, inline-block);
52  height: 1em;
53  overflow: visible;
54  vertical-align: -0.125em;
55  width: var(--fa-width, 1.25em);
56}
57.svg-inline--fa.fa-2xs {
58  vertical-align: 0.1em;
59}
60.svg-inline--fa.fa-xs {
61  vertical-align: 0em;
62}
63.svg-inline--fa.fa-sm {
64  vertical-align: -0.0714285714em;
65}
66.svg-inline--fa.fa-lg {
67  vertical-align: -0.2em;
68}
69.svg-inline--fa.fa-xl {
70  vertical-align: -0.25em;
71}
72.svg-inline--fa.fa-2xl {
73  vertical-align: -0.3125em;
74}
75.svg-inline--fa.fa-pull-left,
76.svg-inline--fa .fa-pull-start {
77  float: inline-start;
78  margin-inline-end: var(--fa-pull-margin, 0.3em);
79}
80.svg-inline--fa.fa-pull-right,
81.svg-inline--fa .fa-pull-end {
82  float: inline-end;
83  margin-inline-start: var(--fa-pull-margin, 0.3em);
84}
85.svg-inline--fa.fa-li {
86  width: var(--fa-li-width, 2em);
87  inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
88  inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
89}
90
91.fa-layers-counter, .fa-layers-text {
92  display: inline-block;
93  position: absolute;
94  text-align: center;
95}
96
97.fa-layers {
98  display: inline-block;
99  height: 1em;
100  position: relative;
101  text-align: center;
102  vertical-align: -0.125em;
103  width: var(--fa-width, 1.25em);
104}
105.fa-layers .svg-inline--fa {
106  inset: 0;
107  margin: auto;
108  position: absolute;
109  transform-origin: center center;
110}
111
112.fa-layers-text {
113  left: 50%;
114  top: 50%;
115  transform: translate(-50%, -50%);
116  transform-origin: center center;
117}
118
119.fa-layers-counter {
120  background-color: var(--fa-counter-background-color, #ff253a);
121  border-radius: var(--fa-counter-border-radius, 1em);
122  box-sizing: border-box;
123  color: var(--fa-inverse, #fff);
124  line-height: var(--fa-counter-line-height, 1);
125  max-width: var(--fa-counter-max-width, 5em);
126  min-width: var(--fa-counter-min-width, 1.5em);
127  overflow: hidden;
128  padding: var(--fa-counter-padding, 0.25em 0.5em);
129  right: var(--fa-right, 0);
130  text-overflow: ellipsis;
131  top: var(--fa-top, 0);
132  transform: scale(var(--fa-counter-scale, 0.25));
133  transform-origin: top right;
134}
135
136.fa-layers-bottom-right {
137  bottom: var(--fa-bottom, 0);
138  right: var(--fa-right, 0);
139  top: auto;
140  transform: scale(var(--fa-layers-scale, 0.25));
141  transform-origin: bottom right;
142}
143
144.fa-layers-bottom-left {
145  bottom: var(--fa-bottom, 0);
146  left: var(--fa-left, 0);
147  right: auto;
148  top: auto;
149  transform: scale(var(--fa-layers-scale, 0.25));
150  transform-origin: bottom left;
151}
152
153.fa-layers-top-right {
154  top: var(--fa-top, 0);
155  right: var(--fa-right, 0);
156  transform: scale(var(--fa-layers-scale, 0.25));
157  transform-origin: top right;
158}
159
160.fa-layers-top-left {
161  left: var(--fa-left, 0);
162  right: auto;
163  top: var(--fa-top, 0);
164  transform: scale(var(--fa-layers-scale, 0.25));
165  transform-origin: top left;
166}
167
168.fa-1x {
169  font-size: 1em;
170}
171
172.fa-2x {
173  font-size: 2em;
174}
175
176.fa-3x {
177  font-size: 3em;
178}
179
180.fa-4x {
181  font-size: 4em;
182}
183
184.fa-5x {
185  font-size: 5em;
186}
187
188.fa-6x {
189  font-size: 6em;
190}
191
192.fa-7x {
193  font-size: 7em;
194}
195
196.fa-8x {
197  font-size: 8em;
198}
199
200.fa-9x {
201  font-size: 9em;
202}
203
204.fa-10x {
205  font-size: 10em;
206}
207
208.fa-2xs {
209  font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
210  line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
211  vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
212}
213
214.fa-xs {
215  font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
216  line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
217  vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
218}
219
220.fa-sm {
221  font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
222  line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
223  vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
224}
225
226.fa-lg {
227  font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
228  line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
229  vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
230}
231
232.fa-xl {
233  font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
234  line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
235  vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
236}
237
238.fa-2xl {
239  font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
240  line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
241  vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
242}
243
244.fa-width-auto {
245  --fa-width: auto;
246}
247
248.fa-fw,
249.fa-width-fixed {
250  --fa-width: 1.25em;
251}
252
253.fa-ul {
254  list-style-type: none;
255  margin-inline-start: var(--fa-li-margin, 2.5em);
256  padding-inline-start: 0;
257}
258.fa-ul > li {
259  position: relative;
260}
261
262.fa-li {
263  inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
264  position: absolute;
265  text-align: center;
266  width: var(--fa-li-width, 2em);
267  line-height: inherit;
268}
269
270/* Heads Up: Bordered Icons will not be supported in the future!
271  - This feature will be deprecated in the next major release of Font Awesome (v8)!
272  - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
273*/
274/* Notes:
275* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
276* --@{v.$css-prefix}-border-padding =
277  ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
278  ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
279*/
280.fa-border {
281  border-color: var(--fa-border-color, #eee);
282  border-radius: var(--fa-border-radius, 0.1em);
283  border-style: var(--fa-border-style, solid);
284  border-width: var(--fa-border-width, 0.0625em);
285  box-sizing: var(--fa-border-box-sizing, content-box);
286  padding: var(--fa-border-padding, 0.1875em 0.25em);
287}
288
289.fa-pull-left,
290.fa-pull-start {
291  float: inline-start;
292  margin-inline-end: var(--fa-pull-margin, 0.3em);
293}
294
295.fa-pull-right,
296.fa-pull-end {
297  float: inline-end;
298  margin-inline-start: var(--fa-pull-margin, 0.3em);
299}
300
301.fa-beat {
302  animation-name: fa-beat;
303  animation-delay: var(--fa-animation-delay, 0s);
304  animation-direction: var(--fa-animation-direction, normal);
305  animation-duration: var(--fa-animation-duration, 1s);
306  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
307  animation-timing-function: var(--fa-animation-timing, ease-in-out);
308}
309
310.fa-bounce {
311  animation-name: fa-bounce;
312  animation-delay: var(--fa-animation-delay, 0s);
313  animation-direction: var(--fa-animation-direction, normal);
314  animation-duration: var(--fa-animation-duration, 1s);
315  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
316  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
317}
318
319.fa-fade {
320  animation-name: fa-fade;
321  animation-delay: var(--fa-animation-delay, 0s);
322  animation-direction: var(--fa-animation-direction, normal);
323  animation-duration: var(--fa-animation-duration, 1s);
324  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
325  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
326}
327
328.fa-beat-fade {
329  animation-name: fa-beat-fade;
330  animation-delay: var(--fa-animation-delay, 0s);
331  animation-direction: var(--fa-animation-direction, normal);
332  animation-duration: var(--fa-animation-duration, 1s);
333  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
334  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
335}
336
337.fa-flip {
338  animation-name: fa-flip;
339  animation-delay: var(--fa-animation-delay, 0s);
340  animation-direction: var(--fa-animation-direction, normal);
341  animation-duration: var(--fa-animation-duration, 1s);
342  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
343  animation-timing-function: var(--fa-animation-timing, ease-in-out);
344}
345
346.fa-shake {
347  animation-name: fa-shake;
348  animation-delay: var(--fa-animation-delay, 0s);
349  animation-direction: var(--fa-animation-direction, normal);
350  animation-duration: var(--fa-animation-duration, 1s);
351  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
352  animation-timing-function: var(--fa-animation-timing, linear);
353}
354
355.fa-spin {
356  animation-name: fa-spin;
357  animation-delay: var(--fa-animation-delay, 0s);
358  animation-direction: var(--fa-animation-direction, normal);
359  animation-duration: var(--fa-animation-duration, 2s);
360  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
361  animation-timing-function: var(--fa-animation-timing, linear);
362}
363
364.fa-spin-reverse {
365  --fa-animation-direction: reverse;
366}
367
368.fa-pulse,
369.fa-spin-pulse {
370  animation-name: fa-spin;
371  animation-direction: var(--fa-animation-direction, normal);
372  animation-duration: var(--fa-animation-duration, 1s);
373  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
374  animation-timing-function: var(--fa-animation-timing, steps(8));
375}
376
377@media (prefers-reduced-motion: reduce) {
378  .fa-beat,
379  .fa-bounce,
380  .fa-fade,
381  .fa-beat-fade,
382  .fa-flip,
383  .fa-pulse,
384  .fa-shake,
385  .fa-spin,
386  .fa-spin-pulse {
387    animation: none !important;
388    transition: none !important;
389  }
390}
391@keyframes fa-beat {
392  0%, 90% {
393    transform: scale(1);
394  }
395  45% {
396    transform: scale(var(--fa-beat-scale, 1.25));
397  }
398}
399@keyframes fa-bounce {
400  0% {
401    transform: scale(1, 1) translateY(0);
402  }
403  10% {
404    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
405  }
406  30% {
407    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
408  }
409  50% {
410    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
411  }
412  57% {
413    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
414  }
415  64% {
416    transform: scale(1, 1) translateY(0);
417  }
418  100% {
419    transform: scale(1, 1) translateY(0);
420  }
421}
422@keyframes fa-fade {
423  50% {
424    opacity: var(--fa-fade-opacity, 0.4);
425  }
426}
427@keyframes fa-beat-fade {
428  0%, 100% {
429    opacity: var(--fa-beat-fade-opacity, 0.4);
430    transform: scale(1);
431  }
432  50% {
433    opacity: 1;
434    transform: scale(var(--fa-beat-fade-scale, 1.125));
435  }
436}
437@keyframes fa-flip {
438  50% {
439    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
440  }
441}
442@keyframes fa-shake {
443  0% {
444    transform: rotate(-15deg);
445  }
446  4% {
447    transform: rotate(15deg);
448  }
449  8%, 24% {
450    transform: rotate(-18deg);
451  }
452  12%, 28% {
453    transform: rotate(18deg);
454  }
455  16% {
456    transform: rotate(-22deg);
457  }
458  20% {
459    transform: rotate(22deg);
460  }
461  32% {
462    transform: rotate(-12deg);
463  }
464  36% {
465    transform: rotate(12deg);
466  }
467  40%, 100% {
468    transform: rotate(0deg);
469  }
470}
471@keyframes fa-spin {
472  0% {
473    transform: rotate(0deg);
474  }
475  100% {
476    transform: rotate(360deg);
477  }
478}
479.fa-rotate-90 {
480  transform: rotate(90deg);
481}
482
483.fa-rotate-180 {
484  transform: rotate(180deg);
485}
486
487.fa-rotate-270 {
488  transform: rotate(270deg);
489}
490
491.fa-flip-horizontal {
492  transform: scale(-1, 1);
493}
494
495.fa-flip-vertical {
496  transform: scale(1, -1);
497}
498
499.fa-flip-both,
500.fa-flip-horizontal.fa-flip-vertical {
501  transform: scale(-1, -1);
502}
503
504.fa-rotate-by {
505  transform: rotate(var(--fa-rotate-angle, 0));
506}
507
508.svg-inline--fa .fa-primary {
509  fill: var(--fa-primary-color, currentColor);
510  opacity: var(--fa-primary-opacity, 1);
511}
512
513.svg-inline--fa .fa-secondary {
514  fill: var(--fa-secondary-color, currentColor);
515  opacity: var(--fa-secondary-opacity, 0.4);
516}
517
518.svg-inline--fa.fa-swap-opacity .fa-primary {
519  opacity: var(--fa-secondary-opacity, 0.4);
520}
521
522.svg-inline--fa.fa-swap-opacity .fa-secondary {
523  opacity: var(--fa-primary-opacity, 1);
524}
525
526.svg-inline--fa mask .fa-primary,
527.svg-inline--fa mask .fa-secondary {
528  fill: black;
529}
530
531.svg-inline--fa.fa-inverse {
532  fill: var(--fa-inverse, #fff);
533}
534
535.fa-stack {
536  display: inline-block;
537  height: 2em;
538  line-height: 2em;
539  position: relative;
540  vertical-align: middle;
541  width: 2.5em;
542}
543
544.fa-inverse {
545  color: var(--fa-inverse, #fff);
546}
547
548.svg-inline--fa.fa-stack-1x {
549  --fa-width: 1.25em;
550  height: 1em;
551  width: var(--fa-width);
552}
553.svg-inline--fa.fa-stack-2x {
554  --fa-width: 2.5em;
555  height: 2em;
556  width: var(--fa-width);
557}
558
559.fa-stack-1x,
560.fa-stack-2x {
561  inset: 0;
562  margin: auto;
563  position: absolute;
564  z-index: var(--fa-stack-z-index, auto);
565}`;function ng(){var l=$y,o=Ky,u=ie.cssPrefix,c=ie.replacementClass,f=Mj;if(u!==l||c!==o){var d=new RegExp("\\.".concat(l,"\\-"),"g"),m=new RegExp("\\--".concat(l,"\\-"),"g"),g=new RegExp("\\.".concat(o),"g");f=f.replace(d,".".concat(u,"-")).replace(m,"--".concat(u,"-")).replace(g,".".concat(c))}return f}var Ap=!1;function ou(){ie.autoAddCss&&!Ap&&(_j(ng()),Ap=!0)}var Rj={mixout:function(){return{dom:{css:ng,insertCss:ou}}},hooks:function(){return{beforeDOMElementCreation:function(){ou()},beforeI2svg:function(){ou()}}}},Pa=jn||{};Pa[Ga]||(Pa[Ga]={});Pa[Ga].styles||(Pa[Ga].styles={});Pa[Ga].hooks||(Pa[Ga].hooks={});Pa[Ga].shims||(Pa[Ga].shims=[]);var la=Pa[Ga],ig=[],lg=function(){Ge.removeEventListener("DOMContentLoaded",lg),As=1,ig.map(function(o){return o()})},As=!1;Va&&(As=(Ge.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ge.readyState),As||Ge.addEventListener("DOMContentLoaded",lg));function Uj(l){Va&&(As?setTimeout(l,0):ig.push(l))}function Jl(l){var o=l.tag,u=l.attributes,c=u===void 0?{}:u,f=l.children,d=f===void 0?[]:f;return typeof l=="string"?ag(l):"<".concat(o," ").concat(Oj(c),">").concat(d.map(Jl).join(""),"</").concat(o,">")}function Cp(l,o,u){if(l&&l[o]&&l[o][u])return{prefix:o,iconName:u,icon:l[o][u]}}var cu=function(o,u,c,f){var d=Object.keys(o),m=d.length,g=u,y,p,b;for(c===void 0?(y=1,b=o[d[0]]):(y=0,b=c);y<m;y++)p=d[y],b=g(b,o[p],p,o);return b};function rg(l){return ra(l).length!==1?null:l.codePointAt(0).toString(16)}function Tp(l){return Object.keys(l).reduce(function(o,u){var c=l[u],f=!!c.icon;return f?o[c.iconName]=c.icon:o[u]=c,o},{})}function Eu(l,o){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=u.skipHooks,f=c===void 0?!1:c,d=Tp(o);typeof la.hooks.addPack=="function"&&!f?la.hooks.addPack(l,Tp(o)):la.styles[l]=P(P({},la.styles[l]||{}),d),l==="fas"&&Eu("fa",o)}var Xl=la.styles,Lj=la.shims,sg=Object.keys(Pu),qj=sg.reduce(function(l,o){return l[o]=Object.keys(Pu[o]),l},{}),Qu=null,og={},cg={},ug={},fg={},dg={};function Hj(l){return~Nj.indexOf(l)}function Bj(l,o){var u=o.split("-"),c=u[0],f=u.slice(1).join("-");return c===l&&f!==""&&!Hj(f)?f:null}var hg=function(){var o=function(d){return cu(Xl,function(m,g,y){return m[y]=cu(g,d,{}),m},{})};og=o(function(f,d,m){if(d[3]&&(f[d[3]]=m),d[2]){var g=d[2].filter(function(y){return typeof y=="number"});g.forEach(function(y){f[y.toString(16)]=m})}return f}),cg=o(function(f,d,m){if(f[m]=m,d[2]){var g=d[2].filter(function(y){return typeof y=="string"});g.forEach(function(y){f[y]=m})}return f}),dg=o(function(f,d,m){var g=d[2];return f[m]=m,g.forEach(function(y){f[y]=m}),f});var u="far"in Xl||ie.autoFetchSvg,c=cu(Lj,function(f,d){var m=d[0],g=d[1],y=d[2];return g==="far"&&!u&&(g="fas"),typeof m=="string"&&(f.names[m]={prefix:g,iconName:y}),typeof m=="number"&&(f.unicodes[m.toString(16)]={prefix:g,iconName:y}),f},{names:{},unicodes:{}});ug=c.names,fg=c.unicodes,Qu=ks(ie.styleDefault,{family:ie.familyDefault})};Tj(function(l){Qu=ks(l.styleDefault,{family:ie.familyDefault})});hg();function Zu(l,o){return(og[l]||{})[o]}function Yj(l,o){return(cg[l]||{})[o]}function Gn(l,o){return(dg[l]||{})[o]}function mg(l){return ug[l]||{prefix:null,iconName:null}}function Fj(l){var o=fg[l],u=Zu("fas",l);return o||(u?{prefix:"fas",iconName:u}:null)||{prefix:null,iconName:null}}function wn(){return Qu}var pg=function(){return{prefix:null,iconName:null,rest:[]}};function Gj(l){var o=dt,u=sg.reduce(function(c,f){return c[f]="".concat(ie.cssPrefix,"-").concat(f),c},{});return Xy.forEach(function(c){(l.includes(u[c])||l.some(function(f){return qj[c].includes(f)}))&&(o=c)}),o}function ks(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=o.family,c=u===void 0?dt:u,f=bj[c][l];if(c===Kl&&!l)return"fad";var d=Np[c][l]||Np[c][f],m=l in la.styles?l:null,g=d||m||null;return g}function Pj(l){var o=[],u=null;return l.forEach(function(c){var f=Bj(ie.cssPrefix,c);f?u=f:c&&o.push(c)}),{iconName:u,rest:o}}function _p(l){return l.sort().filter(function(o,u,c){return c.indexOf(o)===u})}var zp=Qy.concat(Vy);function Ms(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}
565,u=o.skipLookups,c=u===void 0?!1:u,f=null,d=_p(l.filter(function(N){return zp.includes(N)})),m=_p(l.filter(function(N){return!zp.includes(N)})),g=d.filter(function(N){return f=N,!Ty.includes(N)}),y=Os(g,1),p=y[0],b=p===void 0?null:p,x=Gj(d),w=P(P({},Pj(m)),{},{prefix:ks(b,{family:x})});return P(P(P({},w),Zj({values:l,family:x,styles:Xl,config:ie,canonical:w,givenPrefix:f})),Xj(c,f,w))}function Xj(l,o,u){var c=u.prefix,f=u.iconName;if(l||!c||!f)return{prefix:c,iconName:f};var d=o==="fa"?mg(f):{},m=Gn(c,f);return f=d.iconName||m||f,c=d.prefix||c,c==="far"&&!Xl.far&&Xl.fas&&!ie.autoFetchSvg&&(c="fas"),{prefix:c,iconName:f}}var Vj=Xy.filter(function(l){return l!==dt||l!==Kl}),Qj=Object.keys(bu).filter(function(l){return l!==dt}).map(function(l){return Object.keys(bu[l])}).flat();function Zj(l){var o=l.values,u=l.family,c=l.canonical,f=l.givenPrefix,d=f===void 0?"":f,m=l.styles,g=m===void 0?{}:m,y=l.config,p=y===void 0?{}:y,b=u===Kl,x=o.includes("fa-duotone")||o.includes("fad"),w=p.familyDefault==="duotone",N=c.prefix==="fad"||c.prefix==="fa-duotone";if(!b&&(x||w||N)&&(c.prefix="fad"),(o.includes("fa-brands")||o.includes("fab"))&&(c.prefix="fab"),!c.prefix&&Vj.includes(u)){var E=Object.keys(g).find(function(z){return Qj.includes(z)});if(E||p.autoFetchSvg){var O=f1.get(u).defaultShortPrefixId;c.prefix=O,c.iconName=Gn(c.prefix,c.iconName)||c.iconName}}return(c.prefix==="fa"||d==="fa")&&(c.prefix=wn()||"fas"),c}var $j=(function(){function l(){k0(this,l),this.definitions={}}return R0(l,[{key:"add",value:function(){for(var u=this,c=arguments.length,f=new Array(c),d=0;d<c;d++)f[d]=arguments[d];var m=f.reduce(this._pullDefinitions,{});Object.keys(m).forEach(function(g){u.definitions[g]=P(P({},u.definitions[g]||{}),m[g]),Eu(g,m[g]);var y=Pu[dt][g];y&&Eu(y,m[g]),hg()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(u,c){var f=c.prefix&&c.iconName&&c.icon?{0:c}:c;return Object.keys(f).map(function(d){var m=f[d],g=m.prefix,y=m.iconName,p=m.icon,b=p[2];u[g]||(u[g]={}),b.length>0&&b.forEach(function(x){typeof x=="string"&&(u[g][x]=p)}),u[g][y]=p}),u}}])})(),Op=[],Li={},qi={},Kj=Object.keys(qi);function Ij(l,o){var u=o.mixoutsTo;return Op=l,Li={},Object.keys(qi).forEach(function(c){Kj.indexOf(c)===-1&&delete qi[c]}),Op.forEach(function(c){var f=c.mixout?c.mixout():{};if(Object.keys(f).forEach(function(m){typeof f[m]=="function"&&(u[m]=f[m]),Es(f[m])==="object"&&Object.keys(f[m]).forEac
565h(function(g){u[m]||(u[m]={}),u[m][g]=f[m][g]})}),c.hooks){var d=c.hooks();Object.keys(d).forEach(function(m){Li[m]||(Li[m]=[]),Li[m].push(d[m])})}c.provides&&c.provides(qi)}),u}function Au(l,o){for(var u=arguments.length,c=new Array(u>2?u-2:0),f=2;f<u;f++)c[f-2]=arguments[f];var d=Li[l]||[];return d.forEach(function(m){o=m.apply(null,[o].concat(c))}),o}function Xn(l){for(var o=arguments.length,u=new Array(o>1?o-1:0),c=1;c<o;c++)u[c-1]=arguments[c];var f=Li[l]||[];f.forEach(function(d){d.apply(null,u)})}function Sn(){var l=arguments[0],o=Array.prototype.slice.call(arguments,1);return qi[l]?qi[l].apply(null,o):void 0}function Cu(l){l.prefix==="fa"&&(l.prefix="fas");var o=l.iconName,u=l.prefix||wn();if(o)return o=Gn(u,o)||o,Cp(yg.definitions,u,o)||Cp(la.styles,u,o)}var yg=new $j,Jj=function(){ie.autoReplaceSvg=!1,ie.observeMutations=!1,Xn("noAuto")},Wj={i2svg:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Va?(Xn("beforeI2svg",o),Sn("pseudoElements2svg",o),Sn("i2svg",o)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.autoReplaceSvgRoot;ie.autoReplaceSvg===!1&&(ie.autoReplaceSvg=!0),ie.observeMutations=!0,Uj(function(){tw({autoReplaceSvgRoot:u}),Xn("watch",o)})}},ew={icon:function(o){if(o===null)return null;if(Es(o)==="object"&&o.prefix&&o.iconName)return{prefix:o.prefix,iconName:Gn(o.prefix,o.iconName)||o.iconName};
565if(Array.isArray(o)&&o.length===2){var u=o[1].indexOf("fa-")===0?o[1].slice(3):o[1],c=ks(o[0]);return{prefix:c,iconName:Gn(c,u)||u}}if(typeof o=="string"&&(o.indexOf("".concat(ie.cssPrefix,"-"))>-1||o.match(xj))){var f=Ms(o.split(" "),{skipLookups:!0});return{prefix:f.prefix||wn(),iconName:Gn(f.prefix,f.iconName)||f.iconName}}if(typeof o=="string"){var d=wn();return{prefix:d,iconName:Gn(d,o)||o}}}},Ht={noAuto:Jj,config:ie,dom:Wj,parse:ew,library:yg,findIconDefinition:Cu,toHtml:Jl},tw=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.autoReplaceSvgRoot,c=u===void 0?Ge:u;(Object.keys(la.styles).length>0||ie.autoFetchSvg)&&Va&&ie.autoReplaceSvg&&Ht.dom.i2svg({node:c})};function Rs(l,o){return Object.defineProperty(l,"abstract",{get:o}),Object.defineProperty(l,"html",{get:function(){return l.abstract.map(function(c){return Jl(c)})}}),Object.defineProperty(l,"node",{get:function(){if(Va){var c=Ge.createElement("div");return c.innerHTML=l.html,c.children}}}),l}function aw(l){var o=l.children,u=l.main,c=l.mask,f=l.attributes,d=l.styles,m=l.transform;if(Vu(m)&&u.found&&!c.found){var g=u.width,y=u.height,p={x:g/y/2,y:.5};f.style=Ds(P(P({},d),{},{"transform-origin":"".concat(p.x+m.x/16,"em ").concat(p.y+m.y/16,"em")}))}return[{tag:"svg",attributes:f,children:o}]}function nw(l){var o=l.prefix,u=l.iconName,c=l.children,f=l.attributes,d=l.symbol,m=d===!0?"".concat(o,"-").concat(ie.cssPrefix,"-").concat(u):d;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:P(P({},f),{},{id:m}),children:c}]}]}function iw(l){var o=["aria-label","aria-labelledby","title","role"];return o.some(function(u){return u in l})}function $u(l){var o=l.icons,u=o.main,c=o.mask,f=l.prefix,d=l.iconName,m=l.transform,g=l.symbol,y=l.maskId,p=l.extra,b=l.watchable,x=b===void 0?!1:b,w=c.found?c:u,N=w.width,E=w.height,O=[ie.replacementClass,d?"".concat(ie.cssPrefix,"-").concat(d):""].filter(function(Z){return p.classes.indexOf(Z)===-1}).filter(function(Z){return Z!==""||!!Z}).concat(p.classes).join(" "),z={children:[],attributes:P(P({},p.attributes),{},{"data-prefix":f,"data-icon":d,class:O,role:p.attributes.role||"img",viewBox:"0 0 ".concat(N," ").concat(E)})};!iw(p.attributes)&&!p.attributes["aria-hidden"]&&(z.attributes["aria-hidden"]="true"),x&&(z.attributes[Pn]="");var _=P(P({},z),{},{prefix:f,iconName:d,main:u,mask:c,maskId:y,transform:m,symbol:g,styles:P({},p.styles)}),q=c.found&&u.found?Sn("generateAbstractMask",_)||{children:[],attributes:{}}:Sn("generateAbstractIcon",_)||{children:[],attributes:{}},F=q.children,te=q.attributes;return _.children=F,_.attributes=te,g?nw(_):aw(_)}function Dp(l){var o=l.content,u=l.width,c=l.height,f=l.transform,d=l.extra,m=l.watchable,g=m===void 0?!1:m,y=P(P({},d.attributes),{},{class:d.classes.join(" ")});g&&(y[Pn]="");var p=P({},d.styles);Vu(f)&&(p.transform=kj({transform:f,width:u,height:c}),p["-webkit-transform"]=p.transform);var b=Ds(p);b.length>0&&(y.style=b);var x=[];return x.push({tag:"span",attributes:y,children:[o]}),x}function lw(l){var o=l.content,u=l.extra,c=P(P({},u.attributes),{},{class:u.classes.join(" ")}),f=Ds(u.styles);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[o]}),d}var uu=la.styles;function Tu(l){var o=l[0],u=l[1],c=l.slice(4),f=Os(c,1),d=f[0],m=null;return Array.isArray(d)?m={tag:"g",attributes:{class:"".concat(ie.cssPrefix,"-").concat(su.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ie.cssPrefix,"-").concat(su.SECONDARY),fill:"currentColor",d:d[0]}},{tag:"path",attributes:{class:"".concat(ie.cssPrefix,"-").concat(su.PRIMARY),fill:"currentColor",d:d[1]}}]}:m={tag:"path",attributes:{fill:"currentColor",d}},{found:!0,width:o,height:u,icon:m}}var rw={found:!1,width:512,height:512};function sw(l,o){!Jy&&!ie.showMissingIcons&&l&&console.error('Icon with name "'.concat(l,'" and prefix "').concat(o,'" is missing.'))}function _u(l,o){var u=o;return o==="fa"&&ie.styleDefault!==null&&(o=wn()),new Promise(function(c,f){if(u==="fa"){var d=mg(l)||{};l=d.iconName||l,o=d.prefix||o}if(l&&o&&uu[o]&&uu[o][l]){var m=uu[o][l];return c(Tu(m))}sw(l,o),c(P(P({},rw),{},{icon:ie.showMissingIcons&&l?Sn("missingIconAbstract")||{}:{}}))})}var kp=function(){},zu=ie.measurePerformance&&gs&&gs.mark&&gs.measure?gs:{mark:kp,measure:kp},Hl='FA "7.1.0"',ow=function(o){return zu.mark("".concat(Hl," ").concat(o," begins")),function(){return gg(o)}},gg=function(o){zu.mark("".concat(Hl," ").concat(o," ends")),zu.measure("".concat(Hl," ").concat(o),"".concat(Hl," ").concat(o," begins"),"".concat(Hl," ").concat(o," ends"))},Ku={begin:ow,end:gg},ws=function(){};function Mp(l){var o=l.getAttribute?l.getAttribute(Pn):null;
565return typeof o=="string"}function cw(l){var o=l.getAttribute?l.getAttribute(Fu):null,u=l.getAttribute?l.getAttribute(Gu):null;return o&&u}function uw(l){return l&&l.classList&&l.classList.contains&&l.classList.contains(ie.replacementClass)}function fw(){if(ie.autoReplaceSvg===!0)return Ss.replace;var l=Ss[ie.autoReplaceSvg];return l||Ss.replace}function dw(l){return Ge.createElementNS("http://www.w3.org/2000/svg",l)}function hw(l){return Ge.createElement(l)}function vg(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=o.ceFn,c=u===void 0?l.tag==="svg"?dw:hw:u;if(typeof l=="string")return Ge.createTextNode(l);var f=c(l.tag);Object.keys(l.attributes||[]).forEach(function(m){f.setAttribute(m,l.attributes[m])});var d=l.children||[];return d.forEach(function(m){f.appendChild(vg(m,{ceFn:c}))}),f}function mw(l){var o=" ".concat(l.outerHTML," ");return o="".concat(o,"Font Awesome fontawesome.com "),o}var Ss={replace:function(o){var u=o[0];if(u.parentNode)if(o[1].forEach(function(f){u.parentNode.insertBefore(vg(f),u)}),u.getAttribute(Pn)===null&&ie.keepOriginalSource){var c=Ge.createComment(mw(u));u.parentNode.replaceChild(c,u)}else u.remove()},nest:function(o){var u=o[0],c=o[1];if(~Xu(u).indexOf(ie.replacementClass))return Ss.replace(o);var f=new RegExp("".concat(ie.cssPrefix,"-.*"));if(delete c[0].attributes.id,c[0].attributes.class){var d=c[0].attributes.class.split(" ").reduce(function(g,y){return y===ie.replacementClass||y.match(f)?g.toSvg.push(y):g.toNode.push(y),g},{toNode:[],toSvg:[]});c[0].attributes.class=d.toSvg.join(" "),d.toNode.length===0?u.removeAttribute("class"):u.setAttribute("class",d.toNode.join(" "))}var m=c.map(function(g){return Jl(g)}).join(`
566`);u.setAttribute(Pn,""),u.innerHTML=m}};function Rp(l){l()}function bg(l,o){var u=typeof o=="function"?o:ws;if(l.length===0)u();else{var c=Rp;ie.mutateApproach===gj&&(c=jn.requestAnimationFrame||Rp),c(function(){var f=fw(),d=Ku.begin("mutate");l.map(f),d(),u()})}}var Iu=!1;function xg(){Iu=!0}function Ou(){Iu=!1}var Cs=null;function Up(l){if(xp&&ie.observeMutations){var o=l.treeCallback,u=o===void 0?ws:o,c=l.nodeCallback,f=c===void 0?ws:c,d=l.pseudoElementsCallback,m=d===void 0?ws:d,g=l.observeMutationsRoot,y=g===void 0?Ge:g;Cs=new xp(function(p){if(!Iu){var b=wn();Fi(p).forEach(function(x){if(x.type==="childList"&&x.addedNodes.length>0&&!Mp(x.addedNodes[0])&&(ie.searchPseudoElements&&m(x.target),u(x.target)),x.type==="attributes"&&x.target.parentNode&&ie.searchPseudoElements&&m([x.target],!0),x.type==="attributes"&&Mp(x.target)&&~Sj.indexOf(x.attributeName))if(x.attributeName==="class"&&cw(x.target)){var w=Ms(Xu(x.target)),N=w.prefix,E=w.iconName;x.target.setAttribute(Fu,N||b),E&&x.target.setAttribute(Gu,E)}else uw(x.target)&&f(x.target)})}}),Va&&Cs.observe(y,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function pw(){Cs&&Cs.disconnect()}function yw(l){var o=l.getAttribute("style"),u=[];return o&&(u=o.split(";").reduce(function(c,f){var d=f.split(":"),m=d[0],g=d.slice(1);return m&&g.length>0&&(c[m]=g.join(":").trim()),c},{})),u}function gw(l){var o=l.getAttribute("data-prefix"),u=l.getAttribute("data-icon"),c=l.innerText!==void 0?l.innerText.trim():"",f=Ms(Xu(l));return f.prefix||(f.prefix=wn()),o&&u&&(f.prefix=o,f.iconName=u),f.iconName&&f.prefix||(f.prefix&&c.length>0&&(f.iconName=Yj(f.prefix,l.innerText)||Zu(f.prefix,rg(l.innerText))),!f.iconName&&ie.autoFetchSvg&&l.firstChild&&l.firstChild.nodeType===Node.TEXT_NODE&&(f.iconName=l.firstChild.data)),f}function vw(l){var o=Fi(l.attributes).reduce(function(u,c){return u.name!=="class"&&u.name!=="style"&&(u[c.name]=c.value),u},{});return o}function bw(){return{iconName:null,prefix:null,transform:ma,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Lp(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},u=gw(l),c=u.iconName,f=u.prefix,d=u.rest,m=vw(l),g=Au("parseNodeAttributes",{},l),y=o.styleParser?yw(l):[];return P({iconName:c,prefix:f,transform:ma,mask:{iconName:null,prefix:null,rest:[]}
566,maskId:null,symbol:!1,extra:{classes:d,styles:y,attributes:m}},g)}var xw=la.styles;function jg(l){var o=ie.autoReplaceSvg==="nest"?Lp(l,{styleParser:!1}):Lp(l);return~o.extra.classes.indexOf(eg)?Sn("generateLayersText",l,o):Sn("generateSvgReplacementMutation",l,o)}function jw(){return[].concat(ra(Vy),ra(Qy))}function qp(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Va)return Promise.resolve();var u=Ge.documentElement.classList,c=function(x){return u.add("".concat(Sp,"-").concat(x))},f=function(x){return u.remove("".concat(Sp,"-").concat(x))},d=ie.autoFetchSvg?jw():Ty.concat(Object.keys(xw));d.includes("fa")||d.push("fa");var m=[".".concat(eg,":not([").concat(Pn,"])")].concat(d.map(function(b){return".".concat(b,":not([").concat(Pn,"])")})).join(", ");if(m.length===0)return Promise.resolve();var g=[];try{g=Fi(l.querySelectorAll(m))}catch{}if(g.length>0)c("pending"),f("complete");else return Promise.resolve();var y=Ku.begin("onTree"),p=g.reduce(function(b,x){try{var w=jg(x);w&&b.push(w)}catch(N){Jy||N.name==="MissingIcon"&&console.error(N)}return b},[]);return new Promise(function(b,x){Promise.all(p).then(function(w){bg(w,function(){c("active"),c("complete"),f("pending"),typeof o=="function"&&o(),y(),b()})}).catch(function(w){y(),x(w)})})}function ww(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;jg(l).then(function(u){u&&bg([u],o)})}function Sw(l){return function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=(o||{}).icon?o:Cu(o||{}),f=u.mask;return f&&(f=(f||{}).icon?f:Cu(f||{})),l(c,P(P({},u),{},{mask:f}))}}var Nw=function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=u.transform,f=c===void 0?ma:c,d=u.symbol,m=d===void 0?!1:d,g=u.mask,y=g===void 0?null:g,p=u.maskId,b=p===void 0?null:p,x=u.classes,w=x===void 0?[]:x,N=u.attributes,E=N===void 0?{}:N,O=u.styles,z=O===void 0?{}:O;if(o){var _=o.prefix,q=o.iconName,F=o.icon;return Rs(P({type:"icon"},o),function(){return Xn("beforeDOMElementCreation",{iconDefinition:o,params:u}),$u({icons:{main:Tu(F),mask:y?Tu(y.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:q,transform:P(P({},ma),f),symbol:m,maskId:b,extra:{attributes:E,styles:z,classes:w}})})}},Ew={mixout:function(){return{icon:Sw(Nw)}},hooks:function(){return{mutationObserverCallbacks:function(u){return u.treeCallback=qp,u.nodeCallback=ww,u}}},provides:function(o){o.i2svg=function(u){var c=u.node,f=c===void 0?Ge:c,d=u.callback,m=d===void 0?function(){}:d;return qp(f,m)},o.generateSvgReplacementMutation=function(u,c){var f=c.iconName,d=c.prefix,m=c.transform,g=c.symbol,y=c.mask,p=c.maskId,b=c.extra;return new Promise(function(x,w){Promise.all([_u(f,d),y.iconName?_u(y.iconName,y.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(N){var E=Os(N,2),O=E[0],z=E[1];x([u,$u({icons:{main:O,mask:z},prefix:d,iconName:f,transform:m,symbol:g,maskId:p,extra:b,watchable:!0})])}).catch(w)})},o.generateAbstractIcon=function(u){var c=u.children,f=u.attributes,d=u.main,m=u.transform,g=u.styles,y=Ds(g);y.length>0&&(f.style=y);var p;return Vu(m)&&(p=Sn("generateAbstractTransformGrouping",{main:d,transform:m,containerWidth:d.width,iconWidth:d.width})),c.push(p||d.icon),{children:c,attributes:f}}}},Aw={mixout:function(){return{layer:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=c.classes,d=f===void 0?[]:f;return Rs({type:"layer"},function(){Xn("beforeDOMElementCreation",{assembler:u,params:c});var m=[];return u(function(g){Array.isArray(g)?g.map(function(y){m=m.concat(y.abstract)}):m=m.concat(g.abstract)}),[{tag:"span",attributes:{class:["".concat(ie.cssPrefix,"-layers")].concat(ra(d)).join(" ")},children:m}]})}}}},Cw={mixout:function(){return{counter:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c.title;var f=c.classes,d=f===void 0?[]:f,m=c.attributes,g=m===void 0?{}:m,y=c.styles,p=y===void 0?{}:y;return Rs({type:"counter",content:u},function(){return Xn("beforeDOMElementCreation",{content:u,params:c}),lw({content:u.toString(),extra:{attributes:g,styles:p,classes:["".concat(ie.cssPrefix,"-layers-counter")].concat(ra(d))}})})}}}},Tw={mixout:function(){return{text:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=c.transform,d=f===void 0?ma:f,m=c.classes,g=m===void 0?[]:m,y=c.attributes,p=y===void 0?{}:y,b=c.styles,x=b===void 0?{}:b;return Rs({type:"text",content:u},function(){return Xn("beforeDOMElementCreation",{content:u,params:c}),Dp({content:u,transform:P(P({},ma),d),extra:{attributes:p,styles:x,classes:["".concat(ie.cssPrefix,"-layers-text")].concat(ra(g))}})})}}},provides:function(o){o.generateLayersText=function(u,c){var f=c.transform,d=c.extra,m=null,g=null;if(Ay){var y=parseInt(getComputedStyle(u).fontSize,10),p=u.getBoundingClientRect();m=p.width/y,g=p.height/y}return Promise.resolve([u,Dp({content:u.innerHTML,width:m,height:g,transform:f,extra:d,watchable:!0})])}}},wg=new RegExp('"',"ug"),Hp=[1105920,1112319],Bp=P(P(P(P({},{FontAwesome:{normal:"fas",400:"fas"}}),u1),pj),b1),Du=Object.keys(Bp).reduce(function(l,o){return l[o.toLowerCase()]=Bp[o],l},{}),_w=Object.keys(Du).reduce(function(l,o){var u=Du[o];return l[o]=u[900]||ra(Object.entries(u))[0][1],l},{});function zw(l){var o=l.replace(wg,"");return rg(ra(o)[0]||"")}function Ow(l){var o=l.getPropertyValue("font-feature-settings").includes("ss01"),u=l.getPropertyValue("content"),c=u.replace(wg,""),f=c.codePointAt(0),d=f>=Hp[0]&&f<=Hp[1],m=c.length===2?c[0]===c[1]:!1;return d||m||o}function Dw(l,o){var u=l.replace(/^['"]|['"]$/g,"").toLowerCase(),c=parseInt(o),f=isNaN(c)?"normal":c;return(Du[u]||{})[f]||_w[u]}function Yp(l,o){var u="".concat(yj).concat(o.replace(":","-"));return new Promise(function(c,f){if(l.getAttribute(u)!==null)return c();var d=Fi(l.children),m=d.filter(function(oe){return oe.getAttribute(ju)===o})[0],g=jn.getComputedStyle(l,o),y=g.getPropertyValue("font-family"),p=y.match(jj),b=g.getPropertyValue("font-weight"),x=g.getPropertyValue("content");
566if(m&&!p)return l.removeChild(m),c();if(p&&x!=="none"&&x!==""){var w=g.getPropertyValue("content"),N=Dw(y,b),E=zw(w),O=p[0].startsWith("FontAwesome"),z=Ow(g),_=Zu(N,E),q=_;if(O){var F=Fj(E);F.iconName&&F.prefix&&(_=F.iconName,N=F.prefix)}if(_&&!z&&(!m||m.getAttribute(Fu)!==N||m.getAttribute(Gu)!==q)){l.setAttribute(u,q),m&&l.removeChild(m);var te=bw(),Z=te.extra;Z.attributes[ju]=o,_u(_,N).then(function(oe){var $=$u(P(P({},te),{},{icons:{main:oe,mask:pg()},prefix:N,iconName:q,extra:Z,watchable:!0})),ce=Ge.createElementNS("http://www.w3.org/2000/svg","svg");o==="::before"?l.insertBefore(ce,l.firstChild):l.appendChild(ce),ce.outerHTML=$.map(function(I){return Jl(I)}).join(`
567`),l.removeAttribute(u),c()}).catch(f)}else c()}else c()})}function kw(l){return Promise.all([Yp(l,"::before"),Yp(l,"::after")])}function Mw(l){return l.parentNode!==document.head&&!~vj.indexOf(l.tagName.toUpperCase())&&!l.getAttribute(ju)&&(!l.parentNode||l.parentNode.tagName!=="svg")}var Rw=function(o){return!!o&&Iy.some(function(u){return o.includes(u)})},Uw=function(o){if(!o)return[];var u=new Set,c=o.split(/,(?![^()]*\))/).map(function(y){return y.trim()});c=c.flatMap(function(y){return y.includes("(")?y:y.split(",").map(function(p){return p.trim()})});var f=js(c),d;try{for(f.s();!(d=f.n()).done;){var m=d.value;if(Rw(m)){var g=Iy.reduce(function(y,p){return y.replace(p,"")},m);g!==""&&g!=="*"&&u.add(g)}}}catch(y){f.e(y)}finally{f.f()}return u};function Fp(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Va){var u;if(o)u=l;else if(ie.searchPseudoElementsFullScan)u=l.querySelectorAll("*");else{var c=new Set,f=js(document.styleSheets),d;try{for(f.s();!(d=f.n()).done;){var m=d.value;try{var g=js(m.cssRules),y;try{for(g.s();!(y=g.n()).done;){var p=y.value,b=Uw(p.selectorText),x=js(b),w;try{for(x.s();!(w=x.n()).done;){var N=w.value;c.add(N)}}catch(O){x.e(O)}finally{x.f()}}}catch(O){g.e(O)}finally{g.f()}}catch(O){ie.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(m.href," (").concat(O.message,`)
568If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(O){f.e(O)}finally{f.f()}if(!c.size)return;var E=Array.from(c).join(", ");try{u=l.querySelectorAll(E)}catch{}}return new Promise(function(O,z){var _=Fi(u).filter(Mw).map(kw),q=Ku.begin("searchPseudoElements");xg(),Promise.all(_).then(function(){q(),Ou(),O()}).catch(function(){q(),Ou(),z()})})}}var Lw={hooks:function(){return{mutationObserverCallbacks:function(u){return u.pseudoElementsCallback=Fp,u}}},provides:function(o){o.pseudoElements2svg=function(u){var c=u.node,f=c===void 0?Ge:c;ie.searchPseudoElements&&Fp(f)}}},Gp=!1,qw={mixout:function(){return{dom:{unwatch:function(){xg(),Gp=!0}}}},hooks:function(){return{bootstrap:function(){Up(Au("mutationObserverCallbacks",{}))},noAuto:function(){pw()},watch:function(u){var c=u.observeMutationsRoot;Gp?Ou():Up(Au("mutationObserverCallbacks",{observeMutationsRoot:c}))}}}},Pp=function(o){var u={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return o.toLowerCase().split(" ").reduce(function(c,f){var d=f.toLowerCase().split("-"),m=d[0],g=d.slice(1).join("-");if(m&&g==="h")return c.flipX=!0,c;if(m&&g==="v")return c.flipY=!0,c;if(g=parseFloat(g),isNaN(g))return c;switch(m){case"grow":c.size=c.size+g;break;case"shrink":c.size=c.size-g;break;case"left":c.x=c.x-g;break;case"right":c.x=c.x+g;break;case"up":c.y=c.y-g;break;case"down":c.y=c.y+g;break;case"rotate":c.rotate=c.rotate+g;break}return c},u)},Hw={mixout:function(){return{parse:{transform:function(u){return Pp(u)}}}},hooks:function(){return{parseNodeAttributes:function(u,c){var f=c.getAttribute("data-fa-transform");return f&&(u.transform=Pp(f)),u}}},provides:function(o){o.generateAbstractTransformGrouping=function(u){var c=u.main,f=u.transform,d=u.containerWidth,m=u.iconWidth,g={transform:"translate(".concat(d/2," 256)")},y="translate(".concat(f.x*32,", ").concat(f.y*32,") "),p="scale(".concat(f.size/16*(f.flipX?-1:1),", ").concat(f.size/16*(f.flipY?-1:1),") "),b="rotate(".concat(f.rotate," 0 0)"),x={transform:"".concat(y," ").concat(p," ").concat(b)},w={transform:"translate(".concat(m/2*-1," -256)")}
568,N={outer:g,inner:x,path:w};return{tag:"g",attributes:P({},N.outer),children:[{tag:"g",attributes:P({},N.inner),children:[{tag:c.icon.tag,children:c.icon.children,attributes:P(P({},c.icon.attributes),N.path)}]}]}}}},fu={x:0,y:0,width:"100%",height:"100%"};function Xp(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return l.attributes&&(l.attributes.fill||o)&&(l.attributes.fill="black"),l}function Bw(l){return l.tag==="g"?l.children:[l]}var Yw={hooks:function(){return{parseNodeAttributes:function(u,c){var f=c.getAttribute("data-fa-mask"),d=f?Ms(f.split(" ").map(function(m){return m.trim()})):pg();return d.prefix||(d.prefix=wn()),u.mask=d,u.maskId=c.getAttribute("data-fa-mask-id"),u}}},provides:function(o){o.generateAbstractMask=function(u){var c=u.children,f=u.attributes,d=u.main,m=u.mask,g=u.maskId,y=u.transform,p=d.width,b=d.icon,x=m.width,w=m.icon,N=Dj({transform:y,containerWidth:x,iconWidth:p}),E={tag:"rect",attributes:P(P({},fu),{},{fill:"white"})},O=b.children?{children:b.children.map(Xp)}:{},z={tag:"g",attributes:P({},N.inner),children:[Xp(P({tag:b.tag,attributes:P(P({},b.attributes),N.path)},O))]},_={tag:"g",attributes:P({},N.outer),children:[z]},q="mask-".concat(g||Ep()),F="clip-".concat(g||Ep()),te={tag:"mask",attributes:P(P({},fu),{},{id:q,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[E,_]},Z={tag:"defs",children:[{tag:"clipPath",attributes:{id:F},children:Bw(w)},te]};return c.push(Z,{tag:"rect",attributes:P({fill:"currentColor","clip-path":"url(#".concat(F,")"),mask:"url(#".concat(q,")")},fu)}),{children:c,attributes:f}}}},Fw={provides:function(o){var u=!1;jn.matchMedia&&(u=jn.matchMedia("(prefers-reduced-motion: reduce)").matches),o.missingIconAbstract=function(){var c=[],f={fill:"currentColor"},d={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};c.push({tag:"path",attributes:P(P({},f),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var m=P(P({},d),{},{attributeName:"opacity"}),g={tag:"circle",attributes:P(P({},f),{},{cx:"256",cy:"364",r:"28"}),children:[]};return u||g.children.push({tag:"animate",attributes:P(P({},d),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:P(P({},m),{},{values:"1;0;1;1;0;1;"})}),c.push(g),c.push({tag:"path",attributes:P(P({},f),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:u?[]:[{tag:"animate",attributes:P(P({},m),{},{values:"1;0;0;0;0;1;"})}]}),u||c.push({tag:"path",attributes:P(P({},f),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:P(P({},m),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:c}}}},Gw={hooks:function(){return{parseNodeAttributes:function(u,c){var f=c.getAttribute("data-fa-symbol"),d=f===null?!1:f===""?!0:f;return u.symbol=d,u}}}},Pw=[Rj,Ew,Aw,Cw,Tw,Lw,qw,Hw,Yw,Fw,Gw];Ij(Pw,{mixoutsTo:Ht});Ht.noAuto;var Vl=Ht.config,Xw=Ht.library;Ht.dom;var Sg=Ht.parse;Ht.findIconDefinition;Ht.toHtml;var Vw=Ht.icon;Ht.layer;Ht.text;Ht.counter;function Qw(l){return l=l-0,l===l}function Ng(l){return Qw(l)?l:(l=l.replace(/[_-]+(.)?/g,(o,u)=>u?u.toUpperCase():""),l.charAt(0).toLowerCase()+l.slice(1))}function Zw(l){return l.charAt(0).toUpperCase()+l.slice(1)}var Ri=new Map,$w=1e3;function Kw(l){if(Ri.has(l))return Ri.get(l);const o={};let u=0;const c=l.length;for(;u<c;){const f=l.indexOf(";",u),d=f===-1?c:f,m=l.slice(u,d).trim();if(m){const g=m.indexOf(":");if(g>0){const y=m.slice(0,g).trim(),p=m.slice(g+1).trim();if(y&&p){const b=Ng(y);o[b.startsWith("webkit")?Zw(b):b]=p}}}u=d+1}if(Ri.size===$w){const f=Ri.keys().next().value;f&&Ri.delete(f)}return Ri.set(l,o),o}function Eg(l,o,u={}
568){if(typeof o=="string")return o;const c=(o.children||[]).map(p=>Eg(l,p)),f=o.attributes||{},d={};for(const[p,b]of Object.entries(f))switch(!0){case p==="class":{d.className=b;break}case p==="style":{d.style=Kw(String(b));break}case p.startsWith("aria-"):case p.startsWith("data-"):{d[p.toLowerCase()]=b;break}default:d[Ng(p)]=b}const{style:m,"aria-label":g,...y}=u;return m&&(d.style=d.style?{...d.style,...m}:m),g&&(d["aria-label"]=g,d["aria-hidden"]="false"),l(o.tag,{...y,...d},...c)}var Iw=Eg.bind(null,Wp.createElement),Vp=(l,o)=>{const u=j.useId();return l||(o?u:void 0)},Jw=class{constructor(l="react-fontawesome"){this.enabled=!1;let o=!1;try{o=typeof process<"u"&&!1}catch{}this.scope=l,this.enabled=o}log(...l){this.enabled&&console.log(`[${this.scope}]`,...l)}warn(...l){this.enabled&&console.warn(`[${this.scope}]`,...l)}error(...l){this.enabled&&console.error(`[${this.scope}]`,...l)}},Ww="searchPseudoElementsFullScan"in Vl?"7.0.0":"6.0.0",eS=Number.parseInt(Ww)>=7,Gl="fa",qa={beat:"fa-beat",fade:"fa-fade",beatFade:"fa-beat-fade",bounce:"fa-bounce",shake:"fa-shake",spin:"fa-spin",spinPulse:"fa-spin-pulse",spinReverse:"fa-spin-reverse",pulse:"fa-pulse"},tS={left:"fa-pull-left",right:"fa-pull-right"},aS={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},nS={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},Ha={border:"fa-border",fixedWidth:"fa-fw",flip:"fa-flip",flipHorizontal:"fa-flip-horizontal",flipVertical:"fa-flip-vertical",inverse:"fa-inverse",rotateBy:"fa-rotate-by",swapOpacity:"fa-swap-opacity",widthAuto:"fa-width-auto"};function iS(l){const o=Vl.cssPrefix||Vl.familyPrefix||Gl;return o===Gl?l:l.replace(new RegExp(`(?<=^|\\s)${Gl}-`,"g"),`${o}-`)}function lS(l){const{beat:o,fade:u,beatFade:c,bounce:f,shake:d,spin:m,spinPulse:g,spinReverse:y,pulse:p,fixedWidth:b,inverse:x,border:w,flip:N,size:E,rotation:O,pull:z,swapOpacity:_,rotateBy:q,widthAuto:F,className:te}=l,Z=[];return te&&Z.push(...te.split(" ")),o&&Z.push(qa.beat),u&&Z.push(qa.fade),c&&Z.push(qa.beatFade),f&&Z.push(qa.bounce),d&&Z.push(qa.shake),m&&Z.push(qa.spin),y&&Z.push(qa.spinReverse),g&&Z.push(qa.spinPulse),p&&Z.push(qa.pulse),b&&Z.push(Ha.fixedWidth),x&&Z.push(Ha.inverse),w&&Z.push(Ha.border),N===!0&&Z.push(Ha.flip),(N==="horizontal"||N==="both")&&Z.push(Ha.flipHorizontal),(N==="vertical"||N==="both")&&Z.push(Ha.flipVertical),E!=null&&Z.push(nS[E]),O!=null&&O!==0&&Z.push(aS[O]),z!=null&&Z.push(tS[z]),_&&Z.push(Ha.swapOpacity),eS?(q&&Z.push(Ha.rotateBy),F&&Z.push(Ha.widthAuto),(Vl.cssPrefix||Vl.familyPrefix||Gl)===Gl?Z:Z.map(iS)):Z}var rS=l=>typeof l=="object"&&"icon"in l&&!!l.icon;function Qp(l){if(l)return rS(l)?l:Sg.icon(l)}function sS(l){return Object.keys(l)}var Zp=new Jw("FontAwesomeIcon"),Ag={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},oS=new Set(Object.keys(Ag)),It=Wp.forwardRef((l,o)=>{const u={...Ag,...l},{icon:c,mask:f,symbol:d,title:m,titleId:g,maskId:y,transform:p}=u,b=Vp(y,!!f),x=Vp(g,!!m),w=Qp(c);if(!w)return Zp.error("Icon lookup is undefined",c),null;const N=lS(u),E=typeof p=="string"?Sg.transform(p):p,O=Qp(f),z=Vw(w,{...N.length>0&&{classes:N},...E&&{transform:E},...O&&{mask:O},symbol:d,title:m,titleId:x,maskId:b});if(!z)return Zp.error("Could not find icon",w),null;const{abstract:_}=z,q={ref:o};for(const F of sS(u))oS.has(F)||(q[F]=u[F]);return Iw(_[0],q)});It.displayName="FontAwesomeIcon";var cS={prefix:"fas",iconName:"image",icon:[448,512,[],"f03e","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 80a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM272 224c8.4 0 16.1 4.4 20.5 11.5l88 144c4.5 7.4 4.7 16.7 .5 24.3S368.7 416 360 416L88 416c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l26.4 37.8 61.4-100.5c4.4-7.1 12.1-11.5 20.5-11.5z"]},Ju={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-277.5c0-17-6.7-33.3-18.7-45.3L258.7 18.7C246.7 6.7 230.5 0 213.5 0L64 0zM325.5 176L232 176c-13.3 0-24-10.7-24-24L2
56808 58.5 325.5 176z"]},uS={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z"]},Wu=uS,fS={prefix:"fas",iconName:"angle-down",icon:[384,512,[8964],"f107","M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},dS={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},Cg=dS,ku={prefix:"fas",iconName:"download",icon:[448,512,[],"f019","M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},ef={prefix:"fas",iconName:"upload",icon:[448,512,[],"f093","M256 109.3L256 320c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-210.7-41.4 41.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 109.3zM224 400c44.2 0 80-35.8 80-80l80 0c35.3 0 64 28.7 64 64l0 32c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64l0-32c0-35.3 28.7-64 64-64l80 0c0 44.2 35.8 80 80 80zm144 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]};const hS=()=>{const{user:l,isAuthenticated:o,logout:u}=nt(),[c,f]=j.useState(!1),d=()=>{u()},m=()=>{f(!c)};return i.jsxs("nav",{className:"navbar header-custom",role:"navigation","aria-label":"main navigation",children:[i.jsxs("div",{className:"navbar-brand",children:[i.jsx(be,{to:"/",className:"navbar-item",children:i.jsxs("div",{className:"logo",children:[i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",children:i.jsx("path",{fill:"#00d1b2",d:"M320 576C214 576 128 490 128 384C128 292.8 258.2 109.9 294.6 60.5C300.5 52.5 309.8 48 319.8 48L320.2 48C330.2 48 339.5 52.5 345.4 60.5C381.8 109.9 512 292.8 512 384C512 490 426 576 320 576zM240 376C240 362.7 229.3 352 216 352C202.7 352 192 362.7 192 376C192 451.1 252.9 512 328 512C341.3 512 352 501.3 352 488C352 474.7 341.3 464 328 464C279.4 464 240 424.6 240 376z"})}),"FileSplash"]})}),i.jsxs("a",{role:"button",className:"navbar-burger has-text-primary","aria-label":"menu","aria-expanded":"false",onClick:m,children:[i.jsx("span",{"aria-hidden":"true"}),i.jsx("span",{"aria-hidden":"true"}),i.jsx("span",{"aria-hidden":"true"}),i.jsx("span",{"aria-hidden":"true"})]})]}),i.jsx("div",{className:`navbar-menu${c?" is-active":""}`,children:i.jsxs("div",{className:"navbar-end",children:[i.jsx("div",{className:"navbar-item",children:i.jsx(be,{to:"/pricing",className:"button",children:"Pricing"})}),o?i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"navbar-item is-hidden-touch",children:i.jsxs("div",{className:"dropdown is-hoverable",children:[i.jsx("div",{className:"dropdown-trigger",children:i.jsxs("button",{className:"button","aria-haspopup":"true","aria-controls":"account-menu",children:[i.jsxs("span",{children:["Welcome, ",l?.firstname]}),i.jsx("span",{className:"icon is-small",children:i.jsx(It,{icon:fS})})]})}),i.jsx("div",{className:"dropdown-menu",id:"account-menu",role:"menu",children:i.jsxs("div",{className:"dropdown-content",children:[i.jsx(be,{to:"/profile",className:"dropdown-item",children:"Profile"}),i.jsx(be,{to:"/transfers",className:"dropdown-item",children:"Transfers"}),i.jsx(be,{to:"/subscription",className:"dropdown-item",children:"Subscription"}),i.jsx("hr",{className:"dropdown-divider"}),i.jsx("a",{className:"dropdown-item",onClick:d,children:"Logout"})]})})]})}),i.jsx("div",{className:"navbar-item is-hidden-desktop",children:i.jsx(be,{to:"/profile",className:"button",children:"Profile"})}),i.jsx("div",{className:"navbar-item is-hidden-desktop",children:i.jsx(be,{to:"/transfers",className:"button",children:"Transfers"})}),i.jsx("div",{className:"navbar-item is-hidden-desktop",children:i.jsx(be,{to:"/subscription",className:"button",children:"Subscription"})}),i.jsx("div",{className:"navbar-item is-hidden-desktop",children:i.jsx("a",{className:"button",onClick:d,children:"Logout"})})]}):i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"navbar-item nav-login-button",children:i.jsx(be,{to:"/login",className:"button",children:"Login"})}),i.jsx("div",{className:"navbar-item",children:i.jsx(be,{to:"/register",className:"button",children:"Sign Up"})})]})]})})]})},$p=({className:l=""})=>{const o=new Date().getFullYear();return i.jsx("footer",{className:`footer-custom ${l}`,children:i.jsx("div",{className:"footer-left",children:i.jsxs("div",{className:"content",children:["© ",o," FileSplash. All rights reserved.",i.jsxs("div",{className:"footer-links",children:[i.jsx("span",{className:"footer-separator first-separator",children:" | "}),i.jsx(be,{to:"/privacy-policy",children:"Privacy Policy"}),i.jsx("span",{className:"footer-separator",children:" | "}),i.jsx(be,{to:"/terms-of-service",children:"Terms of Service"}),i.jsx("span",{className:"footer-separator",children:" | "}),i.jsx(be,{to:"/dmca",children:"DMCA"}),"  "]})]})})})},mS=({children:l})=>{const{background:o,isLoading:u}=jy();return i.jsxs("div",{className:"main-container",children:[!u&&o&&i.jsx(i.Fragment,{children:o.background_type==="video"?i.jsxs("video",{className:"background-video",autoPlay:!0,muted:!0,loop:!0,playsInl
568ine:!0,disablePictureInPicture:!0,style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",zIndex:-1},children:[i.jsx("source",{src:o.background_url,type:"video/mp4"}),i.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",background:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",zIndex:-1}})]}):i.jsx("div",{className:"background-image",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundImage:`url(/images/${o.background_url})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",zIndex:-1}})}),u&&i.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",background:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",zIndex:-1}}),i.jsx(hS,{}),i.jsxs("main",{children:[l,i.jsx($p,{className:"footer-desktop"})]}),i.jsx($p,{className:"footer-mobile"})]})},Bl=({children:l,className:o=""})=>i.jsx("div",{className:"inner-main",children:i.jsx("div",{className:"columns",style:{margin:"0"},children:i.jsx("div",{className:"column is-4 is-offset-1",children:i.jsx("div",{className:`box ${o}`,children:i.jsx("div",{className:"content",children:l})})})})}),pS=({onAgree:l})=>i.jsxs("div",{className:"has-text-centered",children:[i.jsx("h1",{className:"title is-3",children:"Welcome to FileSplash"}),i.jsx("p",{className:"subtitle is-5 mb-5",children:"Please agree to our terms and conditions to continue"}),i.jsxs("div",{className:"content has-text-left mb-5",children:[i.jsx("p",{children:"By using FileSplash, you agree to our terms of service and privacy policy. This includes:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"Responsible use of our file sharing service"}),i.jsx("li",{children:"Compliance with applicable laws and regulations"}),i.jsx("li",{children:"Respect for intellectual property rights"}),i.jsx("li",{children:"No uploading of harmful, illegal, or inappropriate content"})]}),i.jsxs("p",{children:["For full details, please review our"," ",i.jsx(be,{to:"/terms-of-service",className:"has-text-primary",children:"Terms of Service"})," ","and"," ",i.jsx(be,{to:"/privacy-policy",className:"has-text-primary",children:"Privacy Policy"}),"."]})]}),i.jsx("button",{className:"button is-primary is-large",style:{minWidth:"300px"},onClick:l,children:"I Agree"})]}),yS="modulepreload",gS=function(l){return"/"+l},Kp={},Ip=function(o,u,c){let f=Promise.resolve();if(u&&u.length>0){let p=function(b){return Promise.all(b.map(x=>Promise.resolve(x).then(w=>({status:"fulfilled",value:w}),w=>({status:"rejected",reason:w}))))};var m=p;document.getElementsByTagName("link");const g=document.querySelector("meta[property=csp-nonce]"),y=g?.nonce||g?.getAttribute("nonce");f=p(u.map(b=>{if(b=gS(b),b in Kp)return;Kp[b]=!0;const x=b.endsWith(".css"),w=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${b}"]${w}`))return;const N=document.createElement("link");if(N.rel=x?"stylesheet":yS,x||(N.as="script"),N.crossOrigin="",N.href=b,y&&N.setAttribute("nonce",y),document.head.appendChild(N),x)return new Promise((E,O)=>{N.addEventListener("load",E),N.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${b}`)))})}))}function d(g){const y=new Event("vite:preloadError",{cancelable:!0});if(y.payload=g,window.dispatchEvent(y),!y.defaultPrevented)throw g}return f.then(g=>{for(const y of g||[])y.status==="rejected"&&d(y.reason);return o().catch(d)})};let Fn=null,du=null;async function Tg(){return Fn||(du||(du=(async()=>{if(window.crypto&&window.crypto.subtle)Fn=(await Ip(()=>import("./webcrypto-BtoZYrBg.js"),__vite__mapDeps([0,1]))).sha256,console.log("Using WebCrypto SHA-256");else{const l=await Ip(()=>import("./sha2-CVjqq6Jt.js"),__vite__mapDeps([2,1]));Fn=async o=>l.sha256(o),console.log("Using JS SHA-256 fallback")}return Fn})()),du)}async function vS(){return Fn||await Tg(),Fn}const Ui=50*1024*1024,Jp=({onUploadComplete:l,onError:o})=>{const{user:u,logout:c}=nt(),[f,d]=j.useState(""),[m,g]=j.useState(""),[y,p]=j.useState("259200"),[b,x]=j.useState(null),[w,N]=j.useState(null),[E,O]=j.useState(null),[z,_]=j.useState(null),[q,F]=j.useState(!0),[te,Z]=j.useState(!1),[oe,$]=j.useState(!1),[ce,I]=j.useState(0),[G,K]=j.useState(0),[we,qe]=j.useState(0),[ye,se]=j.useState(0),[,R]=j.useState([]),X=[{label:"1 day",value:"86400"},{label:"3 days",value:"259200"},{label:"1 week",value:"604800"},{label:"1 month",value:"2592000"},{label:"1 year",value:"31536000"}];Tg(),j.useEffect(()=>{(async()=>{try{F(!0);const ae=await ql.getUploadStats(u?.auth_token);if(ae.logout){c();return}ae.max_expires>
568=604800&&p("604800"),_(ae)}catch(ae){console.error("Failed to load upload Stats:",ae),o("Failed to load upload Stats. Please try again.")}finally{F(!1)}})()},[u?.auth_token,o]);const re=V=>{x(V.target.files)},Te=V=>{const ae=V.target.files?.[0];if(!ae){N(null),O(null);return}if(!["image/jpeg","image/jpg","image/png","image/gif"].includes(ae.type)){o("Background image must be a JPG, PNG, or GIF file.");return}const Se=5*1024*1024;if(ae.size>Se){o("Background image must be smaller than 5MB.");return}N(ae);const ht=new FileReader;ht.onload=Qa=>{O(Qa.target?.result)},ht.readAsDataURL(ae)};function _e(V){const ae=[];for(let he=0;he<V.length;he++){const Se=V[he];ae.push((Se>>>4).toString(16)),ae.push((Se&15).toString(16))}return ae.join("")}const C=V=>{if(V<=0||!isFinite(V))return"";const ae=Math.floor(V/3600),he=Math.floor(V%3600/60),Se=Math.floor(V%60);return ae>0?`${ae}h ${he}m remaining`:he>0?`${he}m ${Se}s remaining`:`${Se}s remaining`},H=(V,ae=!1)=>{if(V===0)return"0 Bytes";const he=1024,Se=["Bytes","KB","MB","GB"],ht=Math.floor(Math.log(V)/Math.log(he));return ae?(V/Math.pow(he,ht)).toFixed(2)+" "+Se[ht]:parseFloat((V/Math.pow(he,ht)).toFixed(2))+" "+Se[ht]},Q=()=>{I(0),K(0),qe(0),se(0),R([])},W=V=>new Promise(ae=>setTimeout(ae,V)),ue=async V=>{if(V.preventDefault(),!f.trim()||!b||b.length===0){o("Please fill in all fields and select at least one file.");return}if(!z){o("No upload Stats available. Please try again later.");return}const ae=parseInt(y);if(ae>z.max_expires){o(`Selected expiration exceeds your limit. Maximum allowed: ${Math.floor(z.max_expires/86400)} days.`);return}let he=0;for(let Oe=0;Oe<b.length;Oe++)he+=b[Oe].size;if(he>z.max_storage-z.used_storage){const Oe=H(z.max_storage-z.used_storage),yt=H(he);o(`Files too large. Total size: ${yt}, Maximum allowed: ${Oe}.`);return}var Se=0;const ht=(Oe,yt)=>{const vt=Date.now(),bt={timestamp:vt,bytes:Oe};R(ea=>{const mt=[...ea.filter(ca=>vt-ca.timestamp<=2e3),bt];if(mt.length>=2){const ca=mt[0],ze=mt[mt.length-1],Bt=(ze.timestamp-ca.timestamp)/1e3,Ct=ze.bytes-ca.bytes;if(Bt>0){const Tt=Ct/Bt,Je=yt-Oe;if(Tt>0&&Je>0){const Qn=Je/Tt;vt-Se>=1e3&&(Se=vt,qe(Qn))}}}return mt})},Qa=Oe=>yt=>{K(vt=>{const bt=vt+yt;if(ht(bt,Oe),Oe>0){const ea=Math.round(bt/Oe*100);se(ea)}return bt})};$(!1),Z(!0),Q(),I(he);const sa=[],oa=[],va=Date.now();console.log("starting hash at ",new Date().toISOString());for(let Oe=0;Oe<b.length;Oe++){const yt=b[Oe],vt=await vS(),bt=Math.ceil(yt.size/Ui);oa[Oe]=[];for(let ta=0;ta<bt;ta++){const mt=ta*Ui,ca=Math.min(mt+Ui,yt.size),ze=yt.slice(mt,ca),Bt=await vt(new Uint8Array(await ze.arrayBuffer()));oa[Oe][ta]=_e(Bt),K(Ct=>{const Tt=Ct+ze.size;if(ht(Tt,he),he>0){const Je=Math.round(Tt/he*100);se(Je)}return Tt})}const ea=await vt(Uint8Array.from(oa[Oe].flat()));sa[Oe]=_e(ea),console.log(`File hash for ${yt.name}:`,sa[Oe])}const Gi=Date.now();console.log("finished hashing at ",new Date().toISOString()),console.log(`Hashing took ${(Gi-va)/1e3} seconds.`);try{const Oe=await ql.getUploadServers(sa,u?.auth_token);$(!0),Q(),I(he);const yt=[],vt=Qa(he);let bt=0;const ea=Date.now();console.log("starting upload at ",new Date().toISOString());for(let ze=0;ze<b.length;ze++){const Bt=b[ze],Ct=Oe.servers.find(Je=>Je.file_hash===sa[ze]);if(!Ct)throw new Error(`No upload server available for file "${Bt.name}".`);for(let Je=0;Je<oa[ze].length;Je++){const Qn=Je*Ui,Wl=Math.min(Qn+Ui,Bt.size),Us=Bt.slice(Qn,Wl);let Zn=0;for(;Zn<3;Zn++){K(bt+Je*Ui);const ba=await ql.uploadChunkProgress(Ct.domain,Ct.server_token,sa[ze],oa[ze][Je],Us,vt);if(console.log(`Uploaded chunk ${Je+1}/${oa[ze].length}`),ba.ok)break;if(!ba.retry)throw new Error(ba.message||`Failed to upload chunk ${Je+1}`);console.log("retrying"),await W(1e3*(Zn+1))}if(Zn===3)throw new Error(`Failed to upload chunk ${Je+1} after 3 attempts.`)}const Tt=await ql.finishUpload(Ct.domain,Ct.server_token,sa[ze],oa[ze]);if(!Tt.ok)throw new Error("Failed to finish upload: missing chunks.");if(!Tt.file_token)throw new Error("Failed to finish upload: No file token returned.");yt.push({domain:Ct.domain,file_token:Tt.file_token,file_name:Bt.name}),bt+=Bt.size}const ta={auth_token:u?.auth_token,title:f.trim(),description:m.trim(),expires:ae,files:yt,background_image:w||void 0}
568,mt=await ql.submitUpload(ta),ca=Date.now();if(console.log("finished upload at ",new Date().toISOString()),console.log(`Upload took ${(ca-ea)/1e3} seconds.`),mt.ok&&mt.upload_id)l(mt.upload_id);else{if(mt.logout){c();return}o(mt.message||"Upload failed. Please try again.")}}catch(Oe){console.error("Upload error:",Oe),o("Upload failed. Please try again.")}finally{Z(!1),setTimeout(()=>Q(),1e3)}};return q?i.jsx("div",{className:"has-text-centered",children:i.jsx("div",{className:"is-loading",children:"Loading upload stats..."})}):z?i.jsxs("div",{children:[i.jsx("h2",{className:"title is-4",children:"Upload Files"}),i.jsx("form",{onSubmit:ue,children:i.jsxs("div",{className:"columns",children:[i.jsxs("div",{className:"column",children:[i.jsxs("div",{className:"field",children:[i.jsx("label",{className:"label",children:"Title"}),i.jsx("div",{className:"control",children:i.jsx("input",{className:"input",type:"text",placeholder:"Enter upload title",value:f,onChange:V=>d(V.target.value),disabled:te,required:!0})})]}),i.jsxs("div",{className:"field",children:[i.jsx("label",{className:"label",children:"Description"}),i.jsx("div",{className:"control",children:i.jsx("textarea",{className:"textarea",placeholder:"Enter upload description",value:m,onChange:V=>g(V.target.value),disabled:te,rows:4})})]}),i.jsxs("div",{className:"field",children:[i.jsx("label",{className:"label",children:"Expires"}),i.jsx("div",{className:"control",children:i.jsx("div",{className:"select is-fullwidth",children:i.jsx("select",{value:y,onChange:V=>p(V.target.value),disabled:te,children:X.map(V=>{const he=parseInt(V.value)>z.max_expires;return i.jsxs("option",{value:V.value,disabled:he,children:[V.label," ",he?"(Requires subscription)":""]},V.value)})})})})]}),z.custom_images&&i.jsxs("div",{className:"field",children:[i.jsx("label",{className:"label",children:"Backgroun
568d Image (Optional)"}),E&&i.jsx("figure",{className:"image is-128x128",children:i.jsx("img",{src:E,alt:"Current background",style:{objectFit:"cover"},onError:V=>{V.target.style.display="none"}})}),!w&&z.background_url&&i.jsx("figure",{className:"image is-128x128",children:i.jsx("img",{src:`/images/${z.background_url}`,alt:"Current background",style:{objectFit:"cover"},onError:V=>{V.target.style.display="none"}})}),i.jsx("div",{className:"control",children:i.jsx("div",{className:"file",children:i.jsxs("label",{className:"file-label",children:[i.jsx("input",{className:"file-input",type:"file",accept:".jpg,.jpeg,.png,.gif",onChange:Te,disabled:te}),i.jsxs("span",{className:"file-cta",children:[i.jsx("span",{className:"file-icon",children:i.jsx(It,{icon:cS})}),i.jsx("span",{className:"file-label",children:"Choose image…"})]})]})})}),i.jsxs("p",{className:"help",children:["Accepted formats: jpg, png, gif.",i.jsx("br",{})," Max size: 5MB"]})]})]}),i.jsxs("div",{className:"column",children:[i.jsxs("div",{className:"field",children:[i.jsx("label",{className:"label",children:"Files"}),i.jsxs("div",{className:"control",children:[i.jsx("div",{className:"file is-boxed",children:i.jsxs("label",{className:"file-label",style:{width:"100%"},children:[i.jsx("input",{className:"file-input",type:"file",multiple:!0,onChange:re,disabled:te,required:!0}),i.jsxs("span",{className:"file-cta",children:[i.jsx("span",{className:"file-icon",children:i.jsx(It,{icon:ef})}),i.jsx("span",{className:"file-label",children:"Upload files…"})]})]})}),i.jsxs("p",{children:["Storage: ",H(z.used_storage)," / ",H(z.max_storage)]})]})]}),b&&b.length>0&&i.jsxs("div",{className:"mt-2 mb-4",children:[i.jsx("p",{className:"help",children:"Selected files:"}),Array.from(b).map((V,ae)=>i.jsxs("div",{className:"media",children:[i.jsx("div",{className:"media-left",children:i.jsx("span",{className:"icon is-large",children:i.jsx(It,{icon:Ju,size:"2x"})})}),i.jsx("div",{className:"media-content",children:i.jsxs("div",{className:"content",children:[i.jsx("p",{style:{marginBottom:0},children:i.jsx("strong",{children:V.name})}),i.jsxs("p",{children:["(",H(V.size),")"]})]})})]},ae))]}),te&&i.jsx("div",{className:"mb-4",children:i.jsxs("div",{className:"field",children:[i.jsxs("progress",{className:"progress is-primary is-large",value:ye,max:"100",children:[ye,"%"]}),i.jsx("div",{className:"has-text-centered mt-1",children:i.jsxs("span",{className:"has-text-weight-semibold",children:[oe?"Uploading: ":"Preparing: "," ",H(G,!0)," / ",H(ce)]})}),we>0&&i.jsx("div",{className:"has-text-centered has-text-grey mt-1",children:i.jsx("span",{className:"has-text-weight-semibold",children:C(we)})})]})}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsx("button",{type:"submit",className:`button is-primary is-fullwidth ${te?"is-loading":""}`,disabled:te,children:te?"Uploading...":"Get Link"})})})]})]})})]}):i.jsx("div",{className:"notification is-danger",children:i.jsx("p",{children:"Unable to load upload stats. Please refresh the page and try again."})})},bS=()=>{const{isAuthenticated:l}=nt(),[o,u]=j.useState(!1),[c,f]=j.useState(null),d=()=>{u(!0)},m=p=>{f({success:!0,uploadId:p})},g=p=>{f({success:!1,message:p})},y=()=>{f(null)};return c?c.success&&c.uploadId?i.jsxs("div",{className:"has-text-centered",children:[i.jsxs("h1",{className:"title is-3 has-text-success",children:[i.jsx(It,{icon:Wu,className:"mr-2"}),"Upload Successful!"]}),i.jsx("p",{className:"subtitle is-5 mb-5",children:"Your files have been uploaded successfully."}),i.jsxs("div",{className:"notification is-success is-light mb-5",children:[i.jsx("p",{className:"has-text-weight-semibold mb-2",children:"Download Link:"}),i.jsx("p",{className:"is-family-monospace",children:i.jsxs(be,{to:`/d/${c.uploadId}`,className:"has-text-primary",children:["https://filesplash.com/d/",c.uploadId]})})]}),i.jsx("button",{className:"button is-primary",onClick:y,children:"Upload Another File"})]}):i.jsxs("div",{className:"has-text-centered",children:[i.jsxs("h1",{className:"title is-3 has-text-danger",children:[i.jsx(It,{icon:Cg,className:"mr-2"}),"Upload Failed"]}),i.jsx("div",{className:"notification is-danger is-light mb-5",children:i.jsx("p",{children:c.message||"An unknown error occurred."})}),i.jsx("button",{className:"button is-primary",onClick:y,children:"Try Again"})]}):l?i.jsx(Jp,{onUploadComplete:m,onError:g}):o?i.jsx(Jp,{onUploadComplete:m,onError:g}):i.jsx(pS,{onAgree:d})},xS=()=>i.jsx(Bl,{children:i.jsx(bS,{})}),Ie=({children:l,className:o=""})=>i.jsx("div",{className:"container",children:i.jsx("div",{className:`box ${o}`,children:i.jsx("div",{className:"content",children:l})})}),jS=()=>{const{user:l,isAuthenticated:o,isLoading:u,logout:c}=nt(),f=Wt(),[d]=gy(),[m,g]=j.useState(null),[y,p]=j.useState(null),[b,x]=j.useState(null),w=d.get("canceled");j.useEffect(()=>{w&&p("Payment was canceled. Please try again.")},[w]),j.useEffect(()=>{u||(async()=>
568{if(o&&l?.auth_token)try{const _=await qt.getSubscriptionStatus(l.auth_token);if(_.logout){c();return}x(_)}catch(_){console.error("Error loading subscription status:",_)}})()},[o,l,u]);const N=async z=>{if(p(null),!o){f("/register",{state:{returnTo:"/pricing",selectedPlan:z}});return}if(b?.has_subscription){p("You already have an active subscription. Please contact support to change your plan.");return}try{g(z);const _=await qt.createCheckoutSession(z,l.auth_token);if(_.ok&&_.checkout_url)window.location.href=_.checkout_url;else{if(_.logout){c();return}p(_.message||"Failed to create checkout session")}}catch(_){console.error("Error creating checkout session:",_),p("An error occurred. Please try again.")}finally{g(null)}},E=z=>m===z?"Loading...":o?b?.has_subscription?"Already Subscribed":"Choose Plan":"Sign Up to Subscribe",O=z=>m===z||b?.has_subscription&&o;return i.jsx(Ie,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("h1",{className:"title is-2",children:"Pricing"}),i.jsx("p",{className:"subtitle is-4",children:"Choose the plan that's right for you"}),y&&i.jsxs("div",{className:"notification is-danger is-light",children:[i.jsx("button",{className:"delete",onClick:()=>p(null)}),y]}),b?.has_subscription&&i.jsxs("div",{className:"notification is-success is-light",children:[i.jsx("strong",{children:"Active Subscription:"})," ",b.subscription?.type," plan",b.subscription?.expires&&b.subscription?.expires>0?i.jsxs("span",{children:[" (expires ",new Date(b.subscription.expires*1e3).toLocaleDateString(),")"]}):null]}),i.jsxs("div",{className:"columns is-centered",children:[i.jsx("div",{className:"column is-4",children:i.jsxs("div",{className:"box",style:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",background:"rgba(55,155,155,0.1)"},children:[i.jsx("h3",{className:"title is-4",children:"Personal"}),i.jsxs("p",{className:"title is-1",children:["$8",i.jsx("sup",{style:{fontSize:"0.5em",opacity:.6},children:"/month"})]}),i.jsxs("ul",{className:"pricing-list",children:[i.jsx("li",{children:"✓ 300GB Storage"}),i.jsx("li",{children:"✓ Files over 3GB"}),i.jsx("li",{children:"✓ Unlimited transfers"}),i.jsx("li",{children:"✓ 1 Year Expiry"}),i.jsx("li",{children:"✓ Custom branding"}),i.jsx("li",{children:"✓ Data encryption"})]}),i.jsx("button",{className:`button is-primary is-fullwidth ${m==="personal"?"is-loading":""}`,onClick:()=>N("personal"),disabled:O("personal"),children:E("personal")})]})}),i.jsx("div",{className:"column is-4",children:i.jsxs("div",{className:"box",style:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",background:"rgba(55,155,155,0.1)"},children:[i.jsx("h3",{className:"title is-4",children:"Team"}),i.jsxs("p",{className:"title is-1",children:["$24",i.jsx("sup",{style:{fontSize:"0.5em",opacity:.6},children:"/month"})]}),i.jsxs("ul",{className:"pricing-list",children:[i.jsx("li",{children:"✓ 600GB Storage"}),i.jsx("li",{children:"✓ Files over 3GB"}),i.jsx("li",{children:"✓ Unlimited transfers"}),i.jsx("li",{children:"✓ 1 Year Expiry"}),i.jsx("li",{children:"✓ Custom branding"}),i.jsx("li",{children:"✓ Data encryption"}),i.jsx("li",{children:"✓ 5 Team Members"})]}),i.jsx("button",{className:`button is-primary is-fullwidth ${m==="team"?"is-loading":""}`,onClick:()=>N("team"),disabled:O("team"),children:E("team")})]})})]})]})})},wS=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,SS=l=>{const o={};return l.email.trim()?wS.test(l.email.trim())||(o.email="Please enter a valid email address"):o.email="Email is required",l.password||(o.password="Password is required"),o},NS=()=>{const{login:l}=nt(),[o,u]=j.useState(!1),[c,f]=j.useState({}),d={email:"",password:""},[m,g]=j.useState(d),y=(w,N)=>{g(E=>({...E,[w]:N})),w in c&&c[w]&&f(E=>({...E,[w]:void 0})),c.general&&f(E=>({...E,general:void 0}))},p=()=>{const w=SS(m);return f(w),Object.keys(w).length===0};return{formData:m,errors:c,isLoading:o,updateField:y,validate:p,loginUser:async()=>{if(!p())return{success:!1};u(!0),f({});try{const w=await xn.login(m.email.trim().toLowerCase(),m.password);if(w.ok&&w.auth_token){const N={id:0,firstname:w.firstname,lastname:w.lastname,email:w.email,auth_token:w.auth_token,email_verified:w.email_verified||0};return l(N),{success:!0,userData:N}}else return f({general:w.message||"Login failed. Please try again."}),{success:!1}}catch(w){const N=w instanceof Error?w.message:"An unexpected error occurred";return f({general:N}),{success:!1}}finally{u(!1)}},resetForm:()=>{g(d),f({})}}},tf=({children:l,className:o=""})=>
568i.jsx("div",{className:"inner-main",children:i.jsx("div",{className:"columns",style:{margin:"0"},children:i.jsx("div",{className:"column is-4 is-offset-4",children:i.jsx("div",{className:`box ${o}`,children:i.jsx("div",{className:"content",children:l})})})})}),Vn=({label:l,error:o,disabled:u=!1,required:c=!1,className:f="",id:d,value:m,onChange:g,placeholder:y="Enter your email address",autoComplete:p="email",maxLength:b,minLength:x,pattern:w,readOnly:N=!1,validateOnBlur:E=!0})=>{const[O,z]=j.useState(""),_=d||`email-${Math.random().toString(36).substr(2,9)}`,q=o||O,F=!!q,te=$=>!$&&c?"Email is required":$&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test($)?"Please enter a valid email address":"",Z=$=>{O&&z(""),g($)},oe=$=>{if(E&&!o){const ce=te($.target.value);z(ce)}};return i.jsxs("div",{className:`field ${f}`,children:[l&&i.jsx("label",{className:"label",htmlFor:_,children:l}),i.jsxs("div",{className:"control has-icons-left",children:[i.jsx("input",{id:_,className:`input ${F?"is-danger":""}`,type:"email",value:m,onChange:Z,onBlur:oe,placeholder:y,disabled:u,required:c,autoComplete:p,maxLength:b,minLength:x,pattern:w,readOnly:N,"aria-describedby":F?`${_}-error`:void 0,"aria-invalid":F}),i.jsx("span",{className:"icon is-small is-left",children:i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),i.jsx("polyline",{points:"22,6 12,13 2,6"})]})})]}),F&&i.jsx("p",{id:`${_}-error`,className:"help is-danger",children:q})]})},Ya=({label:l,error:o,disabled:u=!1,required:c=!1,className:f="",id:d,value:m,onChange:g,placeholder:y,autoComplete:p="current-password",maxLength:b,minLength:x,pattern:w,readOnly:N=!1,showToggle:E=!0,strengthIndicator:O=!1})=>{const[z,_]=j.useState(!1),q=d||`password-${Math.random().toString(36).substr(2,9)}`,F=!!o,te=()=>{_(!z)},oe=O?($=>{if(!$)return{level:0,text:"",color:""};let ce=0;switch($.length>=8&&ce++,/[a-z]/.test($)&&ce++,/[A-Z]/.test($)&&ce++,/[0-9]/.test($)&&ce++,/[^A-Za-z0-9]/.test($)&&ce++,ce){case 0:case 1:return{level:1,text:"Very Weak",color:"is-danger"};case 2:return{level:2,text:"Weak",color:"is-warning"};case 3:return{level:3,text:"Fair",color:"is-info"};case 4:return{level:4,text:"Good",color:"is-primary"};case 5:return{level:5,text:"Strong",color:"is-success"};default:return{level:0,text:"",color:""}}})(m):null;return i.jsxs("div",{className:`field ${f}`,children:[l&&i.jsx("label",{className:"label",htmlFor:q,children:l}),i.jsxs("div",{className:`control ${E?"has-icons-right":""}`,children:[i.jsx("input",{id:q,className:`input ${F?"is-danger":""}`,type:z?"text":"password",value:m,onChange:g,placeholder:y,disabled:u,required:c,autoComplete:p,maxLength:b,minLength:x,pattern:w,readOnly:N,"aria-describedby":F?`${q}-error`:void 0,"aria-invalid":F}),E&&i.jsx("span",{className:"icon is-small is-right",style:{pointerEvents:"auto"},children:i.jsx("button",{type:"button",className:"button is-ghost",onClick:te,"aria-label":z?"Hide password":"Show password",style:{border:"none",background:"transparent"},children:z?i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),i.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),i.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})})]}),O&&m&&oe&&i.jsxs("div",{className:"field",children:[i.jsxs("progress",{className:`progress is-small ${oe.color}`,value:oe.level,max:"5",children:[oe.level,"/5"]}),i.jsxs("p",{className:`help ${oe.color}`,children:["Password strength: ",oe.text]})]}),F&&i.jsx("p",{id:`${q}-error`,className:"help is-danger",children:o})]})},Le=({children:l,onClick:o,type:u="button",variant:c="primary",size:f="normal",isLoading:d=!1,isOutlined:m=!1,isInverted:g=!1,isRounded:y=!1,isFullWidth:p=!1,disabled:b=!1,className:x="",id:w}
568)=>{const N=()=>{const E=["button"];return c!=="primary"?E.push(`is-${c}`):E.push("is-primary"),f!=="normal"&&E.push(`is-${f}`),d&&E.push("is-loading"),m&&E.push("is-outlined"),g&&E.push("is-inverted"),y&&E.push("is-rounded"),p&&E.push("is-fullwidth"),x&&E.push(x),E.join(" ")};return i.jsx("button",{id:w,type:u,className:N(),onClick:o,disabled:b||d,"aria-busy":d,children:l})},ES=()=>{const l=Wt(),{isAuthenticated:o,user:u}=nt(),{formData:c,errors:f,isLoading:d,updateField:m,loginUser:g}=NS();if(j.useEffect(()=>{o&&(u&&(!u.email_verified||u.email_verified===0)?l("/email-verify"):l("/"))},[o,u,l]),o)return null;const y=async p=>{p.preventDefault();const b=await g();b.success&&b.userData&&(!b.userData.email_verified||b.userData.email_verified===0?l("/email-verify"):l("/"))};return i.jsx(tf,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("h1",{className:"title is-2",children:"Login"}),i.jsx("p",{className:"subtitle is-4",children:"Sign in to your FileSplash account"}),i.jsxs("form",{onSubmit:y,children:[f.general&&i.jsxs("div",{className:"notification is-danger",children:[i.jsx("button",{className:"delete",type:"button",onClick:()=>m("email",c.email),"aria-label":"Close notification"}),f.general]}),i.jsx(Vn,{label:"Email Address",value:c.email,onChange:p=>m("email",p.target.value),placeholder:"Enter your email address",required:!0,error:f.email,autoComplete:"email"}),i.jsx(Ya,{label:"Password",value:c.password,onChange:p=>m("password",p.target.value),placeholder:"Enter your password",required:!0,error:f.password,autoComplete:"current-password",showToggle:!0,strengthIndicator:!1}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsx(Le,{type:"submit",variant:"primary",size:"medium",isFullWidth:!0,isLoading:d,disabled:d,children:d?"Signing In...":"Login"})})}),i.jsx("div",{className:"has-text-centered mt-4",children:i.jsx("p",{children:i.jsx(be,{to:"/forgot-password",className:"has-text-primary",children:"Forgot your password?"})})}),i.jsx("div",{className:"has-text-centered mt-4",children:i.jsxs("p",{children:["Don't have an account?"," ",i.jsx(be,{to:"/register",className:"has-text-primary",children:"Create one here"})]})})]})]})})},AS=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{10,}$/,CS=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,TS=l=>{const o={};return l.firstname.trim()?l.firstname.trim().length<2&&(o.firstname="First name must be at least 2 characters"):o.firstname="First name is required",l.lastname.trim()?l.lastname.trim().length<2&&(o.lastname="Last name must be at least 2 characters"):o.lastname="Last name is required",l.email.trim()?CS.test(l.email.trim())||(o.email="Please enter a valid email address"):o.email="Email is required",l.password?AS.test(l.password)||(o.password="Password must be at least 10 characters long and contain at least one uppercase letter, one lowercase letter, and one number"):o.password="Password is required",l.confirmPassword?l.password!==l.confirmPassword&&(o.confirmPassword="Passwords do not match"):o.confirmPassword="Please confirm your password",l.terms||(o.terms="You must agree to the terms and conditions"),o},_S=()=>{const{login:l}=nt(),[o,u]=j.useState(!1),[c,f]=j.useState({}),d={firstname:"",lastname:"",email:"",password:"",confirmPassword:"",terms:!1,marketing:!1},[m,g]=j.useState(d),y=(w,N)=>{g(E=>({...E,[w]:N})),w in c&&c[w]&&f(E=>({...E,[w]:void 0})),c.general&&f(E=>({...E,general:void 0}))},p=()=>{const w=TS(m);return f(w),Object.keys(w).length===0};return{formData:m,errors:c,isLoading:o,updateField:y,validate:p,register:async()=>{if(!p())return!1;u(!0),f({});try{const w={firstname:m.firstname.trim(),lastname:m.lastname.trim(),email:m.email.trim().toLowerCase(),password:m.password,terms:m.terms,marketing:m.marketing},N=await xn.register(w);return N.ok&&N.auth_token?(l({id:0,firstname:N.firstname,lastname:N.lastname,email:N.email,auth_token:N.auth_token,email_verified:N.email_verified||0}),!0):(f({general:N.message||"Registration failed. Please try again."}),!1)}catch(w){const N=w instanceof Error?w.message:"An unexpected error occurred";return f({general:N}),!1}finally{u(!1)}},resetForm:()=>{g(d),f({})}}},pa=({label:l,error:o,disabled:u=!1,required:c=!1,className:f="",id:d,type:m="text",value:g,onChange:y,placeholder:p,autoComplete:b,maxLength:x,minLength:w,pattern:N,readOnly:E=!1})=>{const O=d||`input-${Math.random().toString(36).substr(2,9)}`,z=!!o;return i.jsxs("div",{className:`field ${f}`,children:[l&&i.jsx("label",{className:"label",htmlFor:O,children:l}),i.jsx("div",{className:"control",children:i.jsx("input",{id:O,className:`input ${z?"is-danger":""}`,type:m,value:g,onChange:y,placeholder:p,disabled:u,required:c,autoComplete:b,maxLength:x,minLength:w,pattern:N,readOnly:E,"aria-describedby":z?`${O}-error`:void 0,"aria-invalid":z})}),z&&i.jsx("p",{id:`${O}-error`,className:"help is-danger",children:o})]})},Ts=({label:l,error:o,disabled:u=!1,required:c=!1,className:f="",id:d,checked:m,onChange:g,indeterminate:y=!1,value:p,name:b})=>{const x=j.useRef(null),w=d||`checkbox-${Math.random().toString(36).substr(2,9)}`,N=!!o;return j.useEffect(()=>{x.current&&(x.current.indeterminate=y)},[y]),i.jsxs("div",{className:`field ${f}`,children:[i.jsx("div",{className:"control",children:i.jsxs("label",{className:"checkbox",htmlFor:w,children:[i.jsx("input",{ref:x,id:w,type:"checkbox",checked:m,onChange:g,disabled:u,required:c,value:p,name:b,"aria-describedby":N?`${w}-error`:void 0,"aria-invalid":N}),l&&i.jsx("span",{className:"ml-2",children:l})]})}),N&&i.jsx("p",{id:`${w}-error`,className:"help is-danger",children:o})]})},zS=()=>{const l=Wt(),o=Xa(),{isAuthenticated:u,user:c}=nt(),{formData:f,errors:d,isLoading:m,updateField:g,register:y}=_S();if(j.useEffect(()=>{if(!m&&u){if(c&&c.email_verified===0){l("/email-verify");return}const b=o.state;
568b?.returnTo?l(b.returnTo):(console.log("Redirecting to home page as user is authenticated"),l("/"))}},[u,m,c,l]),u)return null;const p=async b=>{if(b.preventDefault(),await y()){const w=o.state;c&&(!c.email_verified||c.email_verified===0)?l("/email-verify"):w?.returnTo?l(w.returnTo):(console.log("Redirecting to home page as user is authenticated"),l("/email-verify"))}};return i.jsx(tf,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("h1",{className:"title is-2",children:"Create Account"}),i.jsx("p",{className:"subtitle is-4",children:o.state?.selectedPlan?`Create an account to subscribe to the ${o.state.selectedPlan} plan`:"Join FileSplash today"}),i.jsxs("form",{onSubmit:p,children:[d.general&&i.jsxs("div",{className:"notification is-danger",children:[i.jsx("button",{className:"delete",type:"button",onClick:()=>g("firstname",f.firstname),"aria-label":"Close notification"}),d.general]}),i.jsx(pa,{label:"First Name",value:f.firstname,onChange:b=>g("firstname",b.target.value),placeholder:"Enter your first name",required:!0,error:d.firstname,autoComplete:"given-name"}),i.jsx(pa,{label:"Last Name",value:f.lastname,onChange:b=>g("lastname",b.target.value),placeholder:"Enter your last name",required:!0,error:d.lastname,autoComplete:"family-name"}),i.jsx(Vn,{label:"Email Address",value:f.email,onChange:b=>g("email",b.target.value),placeholder:"Enter your email address",required:!0,error:d.email,autoComplete:"email",validateOnBlur:!1}),i.jsx(Ya,{label:"Password",value:f.password,onChange:b=>g("password",b.target.value),placeholder:"Create a strong password",required:!0,error:d.password,autoComplete:"new-password",strengthIndicator:!0,showToggle:!0}),i.jsx(Ya,{label:"Confirm Password",value:f.confirmPassword,onChange:b=>g("confirmPassword",b.target.value),placeholder:"Confirm your password",required:!0,error:d.confirmPassword,autoComplete:"new-password",showToggle:!0,strengthIndicator:!1}),i.jsx(Ts,{label:"I would like to receive marketing emails and updates",checked:f.marketing,onChange:b=>g("marketing",b.target.checked)}),i.jsx(Ts,{label:i.jsxs("span",{children:["I agree to the"," ",i.jsx("a",{href:"/terms-of-service",target:"_blank",rel:"noopener noreferrer",className:"has-text-primary",children:"Terms of Service"})," ","and"," ",i.jsx("a",{href:"/privacy-policy",target:"_blank",rel:"noopener noreferrer",className:"has-text-primary",children:"Privacy Policy"})]}),checked:f.terms,onChange:b=>g("terms",b.target.checked),required:!0,error:d.terms}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsx(Le,{type:"submit",variant:"primary",size:"medium",isFullWidth:!0,isLoading:m,disabled:m,children:m?"Creating Account...":"Create Account"})})}),i.jsx("div",{className:"has-text-centered mt-4",children:i.jsxs("p",{children:["Already have an account?"," ",i.jsx(be,{to:"/login",className:"has-text-primary",children:"Sign in here"})]})})]})]})})},OS=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,DS=l=>{const o={};return l.email.trim()?OS.test(l.email.trim())||(o.email="Please enter a valid email address"):o.email="Email is required",o},kS=()=>{const[l,o]=j.useState(!1),[u,c]=j.useState({}),[f,d]=j.useState(!1),[m,g]=j.useState(""),y={email:""},[p,b]=j.useState(y),x=(O,z)=>{b(_=>({..._,[O]:z})),O in u&&u[O]&&c(_=>({..._,[O]:void 0})),u.general&&c(_=>({..._,general:void 0})),m&&(g(""),d(!1))},w=()=>{const O=DS(p);return c(O),Object.keys(O).length===0};return{formData:p,errors:u,isLoading:l,isSubmitted:f,successMessage:m,updateField:x,validate:w,submitForgotPassword:async()=>{if(!w())return!1;o(!0),c({}),g("");try{const O=await xn.forgotPassword(p.email.trim().toLowerCase());return O.ok?(d(!0),g(O.message||"If an account with that email exists, a password reset link has been sent."),!0):(c({general:O.message||"Failed to send password reset email. Please try again."}),!1)}catch(O){const z=O instanceof Error?O.message:"An unexpected error occurred";return c({general:z}),!1}finally{o(!1)}},resetForm:()=>{b(y),c({}),d(!1),g("")}}},MS=()=>{const{formData:l,errors:o,isLoading:u,isSubmitted:c,successMessage:f,updateField:d,submitForgotPassword:m}=kS(),{isAuthenticated:g,user:y}=nt(),p=Wt();j.useEffect(()=>{g&&(y&&(!y.email_verified||y.email_verified===0)?p("/email-verify"):p("/"))},[g,y,p]);const b=async x=>{x.preventDefault(),await m()};return i.jsx(Ie,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("h1",{className:"title is-2",children:"Forgot Password"}),i.jsx("p",{className:"subtitle is-4",children:"Reset your FileSplash account password"}),i.jsx("div",{className:"columns is-centered",children:i.jsx("div",{className:"column is-4",children:c?i.jsxs("div",{children:[i.jsxs("div",{className:"content",children:[i.jsx("h4",{className:"title is-4 has-text-success",children:"Check Your Email"}),i.jsx("p",{children:f})]}),i.jsx("div",{className:"has-text-centered mt-4",children:i.jsx(be,{to:"/login",className:"button is-primary",children:"Back to Login"})})]}):i.jsxs("form",{onSubmit:b,children:[o.general&&i.jsxs("div",{className:"notification is-danger",children:[i.jsx("button",{className:"delete",type:"button",onClick:()=>d("email",l.email),"aria-label":"Close notification"}),o.general]}),i.jsx("div",{className:"content has-text-left mb-5",children:i.jsx("p",{children:"Enter your email address and we'll send you a link to reset your password."})}),i.jsx(Vn,{label:"Email Address",value:l.email,onChange:x=>d("email",x.target.value),placeholder:"Enter your email address",required:!0,error:o.email,autoComplete:"email"}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsx(Le,{type:"submit",variant:"primary",size:"medium",isFullWidth:!0,isLoading:u,disabled:u,children:u?"Sending Reset Link...":"Send Reset Link"})})}),i.jsx("div",{className:"has-text-centered mt-4",children:i.jsxs("p",{children:["Remember your password?"," ",i.jsx(be,{to:"/login",className:"has-text-primary",children:"Back to Login"})]})})]})})})]})})},RS=()=>i.jsx(Ie,{children:i.jsx("div",{className:"has-text-centered",children:i.jsx("div",{className:"columns is-centered",children:i.jsx("div",{className:"column is-6",children:i.jsxs("div",{className:"content",children:[i.jsx("h1",{className:"title is-2 has-text-success",children:"Password Reset Successful!"}),i.jsxs("div",{className:"content is-medium",children:[i.jsx("p",{children:"Your password has been successfully reset. A new password has been sent to your email address."}),i.jsxs("p",{children:[i.jsx("strong",{children:"Please check your email"})," for your new temporary password. You can use this password to log in to your account."]}),i.jsx("div",{className:"notification is-info is-light mt-4",children:i.jsxs("p",{children:[i.jsx("strong",{children:"Security Tip:"})," For your security, we recommend changing this temporary password to something memorable after logging in."]})})]}),i.jsx("div",{className:"buttons is-centered mt-5",children:i.jsxs(be,{to:"/login",className:"button is-primary is-large",children:[i.jsx("span",{className:"icon",children:i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"}),i.jsx("polyline",{points:"10,17 15,12 10,7"}),i.jsx("line",{x1:"15",y1:"12",x2:"3",y2:"12"})]})}),i.jsx("span",{children:"Login to FileSplash"})]})}),i.jsx("div",{className:"content is-small has-text-grey mt-4",children:i.jsx("p",{children:"Didn't receive the email? Check your spam folder or contact support if you continue to have issues."})})]})})})})}),US=()=>i.jsx(Ie,{children:i.jsx("div",{className:"has-text-centered",children:i.jsx("div",{className:"columns is-centered",children:i.jsx("div",{className:"column is-6",children:i.jsxs("div",{className:"content",children:[i.jsx("h1",{className:"title is-2 has-text-danger",children:"Password Reset Failed"}),i.jsxs("div",{className:"content is-medium",children:[i.jsx("p",{children:"We encountered an error while trying to reset your password. This could happen for several reasons:"}),i.jsxs("ul",{className:"has-text-left",children:[i.jsx("li",{children:"The password reset link has expired"}),i.jsx("li",{children:"The link has already been used"}
568),i.jsx("li",{children:"The link is invalid or corrupted"})]}),i.jsx("div",{className:"notification is-warning is-light mt-4",children:i.jsxs("p",{children:[i.jsx("strong",{children:"Don't worry!"})," You can try requesting a new password reset link."]})})]}),i.jsx("div",{className:"buttons is-centered mt-5",children:i.jsx(be,{to:"/forgot-password",className:"button is-primary is-large",children:"Try Password Reset Again"})}),i.jsx("div",{className:"content is-small has-text-grey mt-4",children:i.jsx("p",{children:"If you continue to experience issues, please contact our support team for assistance."})})]})})})})}),LS=60,qS=()=>{const{user:l,logout:o}=nt(),[u,c]=j.useState({isLoading:!1,error:null,successMessage:null,canResend:!0,countdown:0});j.useEffect(()=>{let m=null;return u.countdown>0&&(m=setInterval(()=>{c(g=>({...g,countdown:g.countdown-1,canResend:g.countdown<=1}))},1e3)),()=>{m&&clearInterval(m)}},[u.countdown]);const f=j.useCallback(async()=>{if(!l?.auth_token){c(m=>({...m,error:"Authentication required. Please log in again."}));return}if(u.canResend){c(m=>({...m,isLoading:!0,error:null,successMessage:null}));try{const m=await fetch("https://filesplash.com/api/email-verify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({auth_token:l.auth_token})}),g=await m.json();if(!m.ok)throw new Error(g.message||`HTTP ${m.status}: ${m.statusText}`);if(g.ok)c(y=>({...y,isLoading:!1,successMessage:"Verification email sent successfully! Please check your inbox.",canResend:!1,countdown:LS}));else{if(g.logout){o();return}throw new Error(g.message||"Failed to send verification email")}}catch(m){console.error("Email verification error:",m),c(g=>({...g,isLoading:!1,error:m instanceof Error?m.message:"Failed to send verification email. Please try again."}))}}},[l?.auth_token,u.canResend]),d=j.useCallback(()=>{c(m=>({...m,error:null}))},[]);return{...u,resendVerification:f,clearError:d}},HS=()=>{const{user:l,logout:o,updateUser:u}=nt(),c=Wt(),{isLoading:f,error:d,successMessage:m,canResend:g,countdown:y,resendVerification:p,clearError:b}=qS();j.useEffect(()=>{if(!f){if(!l){c("/login");return}if(l&&l.email_verified===0){c("/email-verify");return}}},[f,l,c]),j.useEffect(()=>{(async()=>{if(!l||!l.auth_token){c("/login");return}try{const E=await xn.checkEmailVerifyStatus(l.auth_token);if(E.logout){o();return}E.ok&&E.email_verified&&E.email_verified>0&&(u({email_verified:E.email_verified}),c("/profile"))}catch(E){console.error("Failed to check email verification status:",E)}})()},[l,c,o,u]);const x=async()=>{await p()},w=()=>f?"Sending...":!g&&y>0?`Resend Email (${y}s)`:"Resend Email";return i.jsx(Ie,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("h1",{className:"title is-2",children:"Verify Your Email"}),i.jsx("p",{className:"subtitle is-4",children:"Check your email for a verification link"}),i.jsx("div",{className:"columns is-centered",children:i.jsx("div",{className:"column is-6",children:i.jsxs("div",{className:"content",children:[i.jsx("div",{className:"notification is-info is-light",children:i.jsxs("div",{className:"content",children:[i.jsxs("h4",{className:"title is-4 has-text-info",children:["                ",i.jsx("span",{className:"icon is-large has-text-info",children:i.jsxs("svg",{width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),i.jsx("polyline",{points:"22,6 12,13 2,6"})]})})," Check Your Email"]}),i.jsxs("p",{children:["We've sent a verification link to ",i.jsx("strong",{children:l?.email}),". Please check your email and click the verification link to activate your account."]}),i.jsxs("p",{className:"mt-3",children:[i.jsx("strong",{children:"Didn't receive the email?"})," Check your spam folder or click the button below to resend."]})]})}),d&&i.jsxs("div",{className:"notification is-danger",children:[i.jsx("button",{className:"delete",type:"button",onClick:b,"aria-label":"Close notification"}),d]}),m&&i.jsx("div",{className:"notification is-success",children:i.jsx("div",{className:"content",children:i.jsx("p",{children:m})})}),i.jsx("div",{className:"field mt-5",children:i.jsx("div",{className:"control",children:i.jsx(Le,{type:"button",variant:"primary",size:"medium",isFullWidth:!0,isLoading:f,disabled:f||!g,onClick:x,children:w()})})}),i.jsx("div",{className:"content is-small has-text-grey mt-4",children:i.jsx("p",{children:"The verification link 
568will expire in 30 days. If you continue to have issues, please contact our support team for assistance."})})]})})})]})})},BS=()=>i.jsx(Ie,{children:i.jsx("div",{className:"has-text-centered",children:i.jsx("div",{className:"columns is-centered",children:i.jsx("div",{className:"column is-6",children:i.jsxs("div",{className:"content",children:[i.jsxs("h1",{className:"title is-2 has-text-success",children:[i.jsxs("svg",{width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),i.jsx("polyline",{points:"22,4 12,14.01 9,11.01"})]}),"Email Verified Successfully!"]}),i.jsxs("div",{className:"content is-medium",children:[i.jsx("p",{children:"Congratulations! Your email address has been successfully verified. Your FileSplash account is now fully activated."}),i.jsx("p",{children:"You can now access all features of your FileSplash account and start using our services."})]}),i.jsx("div",{className:"buttons is-centered mt-5",children:i.jsxs(be,{to:"/login",className:"button is-primary is-large",children:[i.jsx("span",{className:"icon",children:i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"}),i.jsx("polyline",{points:"10,17 15,12 10,7"}),i.jsx("line",{x1:"15",y1:"12",x2:"3",y2:"12"})]})}),i.jsx("span",{children:"Continue to Login"})]})})]})})})})}),YS=()=>i.jsx(Ie,{children:i.jsx("div",{className:"has-text-centered",children:i.jsx("div",{className:"columns is-centered",children:i.jsx("div",{className:"column is-6",children:i.jsxs("div",{className:"content",children:[i.jsx("h1",{className:"title is-2 has-text-danger",children:"Email Verification Failed"}),i.jsxs("div",{className:"content is-medium",children:[i.jsx("p",{children:"We encountered an error while trying to verify your email address. This could happen for several reasons:"}),i.jsxs("ul",{className:"has-text-left",children:[i.jsx("li",{children:"The verification link has expired (links are valid for 30 days)"}),i.jsx("li",{children:"The link has already been used"}),i.jsx("li",{children:"The link is invalid or corrupted"})]}),i.jsx("div",{className:"notification is-warning is-light mt-4",children:i.jsxs("p",{children:[i.jsx("strong",{children:"Don't worry!"})," You can try requesting a new verification email from your account."]})})]}),i.jsx("div",{className:"buttons is-centered mt-5",children:i.jsxs(be,{to:"/email-verify",className:"button is-primary is-large",children:[i.jsx("span",{className:"icon",children:i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),i.jsx("polyline",{points:"22,6 12,13 2,6"})]})}),i.jsx("span",{children:"Try Email Verification Again"})]})}),i.jsx("div",{className:"content is-small has-text-grey mt-4",children:i.jsx("p",{children:"If you continue to experience issues, please contact our support team for assistance."})})]})})})})}),FS=()=>i.jsx(Ie,{children:i.jsxs("div",{children:[i.jsx("h1",{className:"title is-2",children:"Privacy Policy"}),i.jsxs("div",{className:"content",children:[i.jsxs("p",{children:["Your privacy is important to us. It is Hynx ltd’s policy to respect your privacy and comply with any applicable law and regulation regarding any personal information we may collect about you, including across our website, ",i.jsx("a",{href:"https://FileSplash.com",target:"_blank",children:"https://FileSplash.com"}),", and other sites we own and operate."]}),i.jsx("p",{children:"Personal information is any information about you which can be used to identify you. This includes information about you as a person (such as name, address, and date of birth), your devices, payment details, and even information about how you use a website or online service."}),i.jsx("p",{children:"In the event our site contains links to third-party sites and services, please be aware that those sites and services have their own privacy policies. After following a link to any third-party content, you should read their posted privacy policy information about how they collect and use personal information. This Privacy Policy does not apply to any of your activities after you leave our site."}),i.jsx("p",{children:"This policy is effective as of 17 February 2024"}),i.jsx("p",{children:"Last updated: 17 February 2024"}),i.jsx("h3",{id:"information-we-collect",children:"Information We Collect"}),i.jsx("p",{children:"Information we collect falls into one of two categories: “voluntarily provided” information and “automatically collected” information."}),i.jsx("p",{children:"“Voluntarily provided” information refers to any information you knowingly and actively provide us when using or participating in any of our services and promotions."}),i.jsx("p",{children:"“Automatically collected” information refers to any information automatically sent by your devices in the course of accessing our products and services."}),i.jsx("h3",{id:"log-data",children:"Log Data"}),i.jsx("p",{children:"When you visit our website, our servers may automatically log the standard data provided by your web browser. It may include your device’s Internet Protocol (IP) address, your browser type and version, the pages you visit, the time and date of your visit, the time spent on each page, and other details about your visit."}),i.jsx("p",{children:"Additionally, if you encounter certain errors while using the site, we may automatically collect data about the error and the circumstances surrounding its occurrence. This data may include technical details about your device, what you were trying to do when the error happened, and other technical information relating to the problem. You may or may not receive notice of such errors, even in the moment they occur, that they have occurred, or what the nature of the error is."}),i.jsx("p",{children:"Please be aware that while this information may not be personally identifying by itself, it may be possible to combine it with other data to personally identify individual persons."}),i.jsx("h3",{id:"device-data",children:"Device Data"}),i.jsx("p",{children:"When you visit our website or interact with our services, we may automatically collect data about your device, such as:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"Device type"}),i.jsx("li",{children:"Operating system"})]}),i.jsx("p",{children:"Data we collect can depend on the individual settings of your device and software. We recommend checking the policies of your device manufacturer or software provider to learn what information they make available to us."}),i.jsx("h3",{id:"personal-information",children:"Personal Information"}),i.jsx("p",{children:"We may ask for personal information — for example, when you subscribe to our newsletter or when you contact us — which may include one or more of the following:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"Name"}),i.jsx("li",{children:"Email"}),i.jsx("li",{children:"Phone/mobile number"})]}),i.jsx("h3",{id:"user-generated-content",children:"User-Generated Content"}),i.jsx("p",{children:"We consider “user-generated content” to be materials (text, image and/or video content) voluntarily supplied to us by our users for the purpose of publication, processing, or usage on our platform. All user-generated content is associated with the account or email address used to submit the materials."}),i.jsx("p",{children:"Please be aware that any content you submit for the purpose of publication will be public after posting (and subsequent review or vetting process). Once published, it may be accessible to third parties not covered under this privacy policy."}),i.jsx("h4",{id:"transaction-data",children:"Transaction Data"}),i.jsx("p",{children:"Transaction data refers to data that accumulates over the normal course of operation on our platform. This may include transaction records, stored files, user profiles, analytics data and other metrics, as well as other types of information, created or generated, as users interact with our services."}),i.jsx("h3",{id:"legitimate-reasons-for-processing-your-personal-information",children:"Legitimate Reasons for Processing Your Personal Information"}),i.jsx("p",{children:"We only collect and use your personal information when we have a legitimate reason for doing so. In which instance, we only collect personal information that is reasonably necessary to provide our services to you."}),i.jsx("h3",{id:"collection-and-use-of-information",children:"Collection and Use of Information"}),i.jsx("p",{children:"We may collect personal information from you when you do any of the following on our website:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"Register for an account"}),i.jsx("li",{children:"Purchase a subscription"}),i.jsx("li",{children:"Enter any of our competitions, contests, sweepstakes, and surveys"}),i.jsx("li",{children:"Sign up to receive updates from us via email or social media channels"}),i.jsx("li",{children:"Post a comment or review or otherwise participate in our online community"}),i.jsx("li",{children:"Use a mobile device or web browser to access our content"}),i.jsx("li",{children:"Contact us via email, social media, or on any similar technologies"}),i.jsx("li",{children:"When you mention us on social media"})]}),i.jsx("p",{children:"We may collect, hold, use, and disclose information for the following purposes, and personal information will not be further processed in a manner that is incompatible with these purposes:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"to provide you with our platform’s core features and services"}),i.jsx("li",{children:"to deliver products and/or services to you"}),i.jsx("li",{children:"to contact and communicate with you"}),i.jsx("li",{children:"for internal record keeping and administrative purposes"}),i.jsx("li",{children:"to run competitions, sweepstakes, and/or offer additional benefits to you"}),i.jsx("li",{children:"for security and fraud prevention, and to ensure that our sites and apps are safe, secure, and used in line with our terms of use"})]}),i.jsx("p",{children:"We may combine voluntarily provided and automatically collected personal information with general information or research data we receive from other trusted sources. For example, If you provide us with your location, we may combine this with general information about currency and language to provide you with an enhanced experience of our site and service."}),i.jsx("h4",{id:"security-of-your-personal-information",children:"Security of Your Personal Information"}),i.jsx("p",{children:"When we collect and process personal information, and while we retain this information, we will protect it within commercially acceptable means to prevent loss and theft, as well as unauthorized access, disclosure, copying, use or modification."}),i.jsx("p",{children:"Although we will do our best to protect the personal information you provide to us, we advise that no method of electronic transmission or storage is 100% secure and no one can guarantee absolute data security."}),i.jsx("p",{children:"You are responsible for selecting any password and its overall security strength, ensuring the security of your own information within the bounds of our services. For example, ensuring any passwords associated with accessing your personal information and accounts are secure and confidential."}),i.jsx("h4",{id:"how-long-we-keep-your-personal-information",children:"How Long We Keep Your Personal Information"}),i.jsx("p",{children:"We keep your personal information only for as long as we need to. This time period may depend on what we are using your information for, in accordance with this privacy policy. For example, if you have provided us with personal information as part of creating an account with us, we may retain this information for the duration your account exists on our system. If your personal information is no longer required for this purpose, we will delete it or make it anonymous by removing all details that identify you."}),i.jsx("p",{children:"However, if necessary, we may retain your personal information for our compliance with a legal, accounting, or reporting obligation or for ar
568chiving purposes in the public interest, scientific, or historical research purposes or statistical purposes."}),i.jsx("h3",{id:"childrens-privacy",children:"Children’s Privacy"}),i.jsx("p",{children:"We do not aim any of our products or services directly at children under the age of 13 and we do not knowingly collect personal information about children under 13."}),i.jsx("h3",{id:"disclosure-of-personal-information-to-third-parties",children:"Disclosure of Personal Information to Third Parties"}),i.jsx("p",{children:"We may disclose personal information to:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"a parent, subsidiary or affiliate of our company"}),i.jsx("li",{children:"third-party service providers for the purpose of enabling them to provide their services, including (without limitation) IT service providers, data storage, hosting and server providers,ad networks,analytics,error loggers, debt collectors, maintenance or problem-solving providers,providers,professional advisors, and payment systems operators"}),i.jsx("li",{children:"our employees, contractors, and/or related entities"}),i.jsx("li",{children:"our existing or potential agents or business partners"}),i.jsx("li",{children:"sponsors or promoters of any competition, sweepstakes, or promotion we run"}),i.jsx("li",{children:"credit reporting agencies, courts, tribunals, and regulatory authorities, in the event you fail to pay for goods or services we have provided to you"}),i.jsx("li",{children:"courts, tribunals, regulatory authorities, and law enforcement officers, as required by law, in connection with any actual or prospective legal proceedings, or in order to establish, exercise, or defend our legal rights"}),i.jsx("li",{children:"third parties, including agents or sub-contractors who assist us in providing information, products, services, or direct marketing to you"}),i.jsx("li",{children:"third parties to collect and process data"}),i.jsx("li",{children:"an entity that buys, or to which we transfer all or substantially all of our assets and business"})]}),i.jsx("p",{children:"Third parties we currently use include:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"Google Analytics"}),i.jsx("li",{children:"Hotjar"}),i.jsx("li",{children:"Stripe"})]}),i.jsx("h3",{id:"international-transfers-of-personal-information",children:"International Transfers of Personal Information"}),i.jsx("p",{children:"The personal information we collect is stored and/or processed in Canada, France, Germany, and United Kingdom, or where we or our partners, affiliates, and third-party providers maintain facilities."}),i.jsx("p",{children:"The countries to which we store, process, or transfer your personal information may not have the same data protection laws as the country in which you initially provided the information. If we transfer your personal information to third parties in other countries: (i) we will perform those transfers in accordance with the requirements of applicable law; and (ii) we will protect the transferred personal information in accordance with this privacy policy."}),i.jsx("h3",{id:"your-rights-and-controlling-your-personal-information",children:"Your Rights and Controlling Your Personal Information"}),i.jsxs("p",{children:[i.jsx("strong",{children:"Your choice:"})," By providing personal information to us, you understand we will collect, hold, use, and disclose your personal information in accordance with this privacy policy. You do not have to provide personal information to us, however, if you do not, it may affect your use of our website or the products and/or services offered on or through it."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Information from third parties:"})," If we receive personal information about you from a third party, we will protect it as set out in this privacy policy. If you are a third party providing personal information about somebody else, you represent and warrant that you have such person’s consent to provide the personal information to us."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Marketing permission:"})," If you have previously agreed to us using your personal information for direct marketing purposes, you may change your mind at any time by contacting us using the details below."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Access:"})," You may request details of the personal information that we hold about you."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Correction:"}
568)," If you believe that any information we hold about you is inaccurate, out of date, incomplete, irrelevant, or misleading, please contact us using the details provided in this privacy policy. We will take reasonable steps to correct any information found to be inaccurate, incomplete, misleading, or out of date."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Non-discrimination:"})," We will not discriminate against you for exercising any of your rights over your personal information. Unless your personal information is required to provide you with a particular service or offer (for example processing transaction data), we will not deny you goods or services and/or charge you different prices or rates for goods or services, including through granting discounts or other benefits, or imposing penalties, or provide you with a different level or quality of goods or services."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Downloading of Personal Information:"})," We provide a means for you to download the personal information you have shared through our site. Please contact us for more information."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Notification of data breaches:"})," We will comply with laws applicable to us in respect of any data breach."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Complaints:"})," If you believe that we have breached a relevant data protection law and wish to make a complaint, please contact us using the details below and provide us with full details of the alleged breach. We will promptly investigate your complaint and respond to you, in writing, setting out the outcome of our investigation and the steps we will take to deal with your complaint. You also have the right to contact a regulatory body or data protection authority in relation to your complaint."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Unsubscribe:"})," To unsubscribe from our email database or opt-out of communications (including marketing communications), please contact us using the details provided in this privacy policy, or opt-out using the opt-out facilities provided in the communication. We may need to request specific information from you to help us confirm your identity."]}),i.jsx("h3",{id:"use-of-cookies",children:"Use of Cookies"}),i.jsx("p",{children:"We use “cookies” to collect information about you and your activity across our site. A cookie is a small piece of data that our website stores on your computer, and accesses each time you visit, so we can understand how you use our site. This helps us serve you content based on preferences you have specified."}),i.jsx("p",{children:"Please refer to our Cookie Policy for more information."}),i.jsx("h3",{id:"business-transfers",children:"Business Transfers"}),i.jsx("p",{children:"If we or our assets are acquired, or in the unlikely event that we go out of business or enter bankruptcy, we would include data, including your personal information, among the assets transferred to any parties who acquire us. You acknowledge that such transfers may occur, and that any parties who acquire us may, to the extent permitted by applicable law, continue to use your personal information according to this policy, which they will be required to assume as it is the basis for any ownership or use rights we have over such information."}),i.jsx("h3",{id:"limits-of-our-policy",children:"Limits of Our Policy"}),i.jsx("p",{children:"Our website may link to external sites that are not operated by us. Please be aware that we have no control over the content and policies of those sites, and cannot accept responsibility or liability for their respective privacy practices."}),i.jsx("h3",{id:"changes-to-this-policy",children:"Changes to This Policy"}),i.jsx("p",{children:"At our discretion, we may change our privacy policy to reflect updates to our business processes, current acceptable practices, or legislative or regulatory changes. If we decide to change this privacy policy, we will post the changes here at the same link by which you are accessing this privacy policy."}),i.jsx("p",{children:"If the changes are significant, or if required by applicable law, we will c
568ontact you (based on your selected preferences for communications from us) and all our registered users with the new details and links to the updated or changed policy."}),i.jsx("p",{children:"If required by law, we will get your permission or give you the opportunity to opt in to or opt out of, as applicable, any new uses of your personal information."}),i.jsx("h3",{id:"additional-disclosures-for-australian-privacy-act-compliance-au",children:"Additional Disclosures for Australian Privacy Act Compliance (AU)"}),i.jsx("h4",{id:"international-transfers-of-personal-information-1",children:"International Transfers of Personal Information"}),i.jsx("p",{children:"Where the disclosure of your personal information is solely subject to Australian privacy laws, you acknowledge that some third parties may not be regulated by the Privacy Act and the Australian Privacy Principles in the Privacy Act. You acknowledge that if any such third party engages in any act or practice that contravenes the Australian Privacy Principles, it would not be accountable under the Privacy Act, and you will not be able to seek redress under the Privacy Act."}),i.jsx("h3",{id:"additional-disclosures-for-general-data-protection-regulation-gdpr-compliance-eu",children:"Additional Disclosures for General Data Protection Regulation (GDPR) Compliance (EU)"}),i.jsx("h4",{id:"data-controller--data-processor",children:"Data Controller / Data Processor"}),i.jsx("p",{children:"The GDPR distinguishes between organisations that process personal information for their own purposes (known as “data controllers”) and organisations that process personal information on behalf of other organisations (known as “data processors”). We, Hynx ltd, located at the address provided in our Contact Us section, are a Data Controller with respect to the personal information you provide to us."}),i.jsx("h4",{id:"legal-bases-for-processing-your-personal-information",children:"Legal Bases for Processing Your Personal Information"}),i.jsx("p",{children:"We will only collect and use your personal information when we have a legal right to do so. In which case, we will collect and use your personal information lawfully, fairly, and in a transparent manner. If we seek your consent to process your personal information, and you are under 16 years of age, we will seek your parent or legal guardian’s consent to process your personal information for that specific purpose."}),i.jsx("p",{children:"Our lawful bases depend on the services you use and how you use them. This means we only collect and use your information on the following grounds:"}),i.jsx("h3",{id:"consent-from-you",children:"Consent From You"}),i.jsx("p",{children:"Where you give us consent to collect and use your personal information for a specific purpose. You may withdraw your consent at any time using the facilities we provide; however this will not affect any use of your information that has already taken place. You may consent to providing your name and contact details for the purpose of entering a giveaway or promotion. While you may withdraw your entry at any time, this will not affect any selection or judging that has already taken place. If you have any further enquiries about how to withdraw your consent, please feel free to enquire using the details provided in the Contact Us section of this privacy policy."}),i.jsx("h3",{id:"performance-of-a-contract-or-transaction",children:"Performance of a Contract or Transaction"}),i.jsx("p",{children:"Where you have entered into a contract or transaction with us, or in order to take preparatory steps prior to our entering into a contract or transaction with you. For example, if you purchase a product, service, or subscription from us, we may need to use your personal and payment information in order to process and deliver your order."}),i.jsx("h3",{id:"our-legitimate-interests",children:"Our Legitimate Interests"}),i.jsx("p",{children:"Where we assess it is necessary for our legitimate interests, such as for us to provide, operate, improve and communicate our services. We consider our legitimate interests to include research and development, understanding our audience, marketing and promoting our services, measures taken to operate our services efficie
568ntly, marketing analysis, and measures taken to protect our legal rights and interests."}),i.jsx("h3",{id:"compliance-with-law",children:"Compliance with Law"}),i.jsx("p",{children:"In some cases, we may have a legal obligation to use or keep your personal information. Such cases may include (but are not limited to) court orders, criminal investigations, government requests, and regulatory obligations. If you have any further enquiries about how we retain personal information in order to comply with the law, please feel free to enquire using the details provided in the Contact Us section of this privacy policy."}),i.jsx("h4",{id:"international-transfers-outside-of-the-european-economic-area-eea",children:"International Transfers Outside of the European Economic Area (EEA)"}),i.jsx("p",{children:"We will ensure that any transfer of personal information from countries in the European Economic Area (EEA) to countries outside the EEA will be protected by appropriate safeguards, for example by using standard data protection clauses approved by the European Commission, or the use of binding corporate rules or other legally accepted means."}),i.jsx("h4",{id:"your-rights-and-controlling-your-personal-information-1",children:"Your Rights and Controlling Your Personal Information"}),i.jsxs("p",{children:[i.jsx("strong",{children:"Restrict:"})," You have the right to request that we restrict the processing of your personal information if (i) you are concerned about the accuracy of your personal information; (ii) you believe your personal information has been unlawfully processed; (iii) you need us to maintain the personal information solely for the purpose of a legal claim; or (iv) we are in the process of considering your objection in relation to processing on the basis of legitimate interests."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Objecting to processing:"})," You have the right to object to processing of your personal information that is based on our legitimate interests or public interest. If this is done, we must provide compelling legitimate grounds for the processing which overrides your interests, rights, and freedoms, in order to proceed with the processing of your personal information."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Data portability:"})," You may have the right to request a copy of the personal information we hold about you. Where possible, we will provide this information in CSV format or other easily readable machine format. You may also have the right to request that we transfer this personal information to a third party."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Deletion:"})," You may have a right to request that we delete the personal information we hold about you at any time, and we will take reasonable steps to delete your personal information from our current records. If you ask us to delete your personal information, we will let you know how the deletion affects your use of our website or products and services. There may be exceptions to this right for specific legal reasons which, if applicable, we will set out for you in response to your request. If you terminate or delete your account, we will delete your personal information within 90 days of the deletion of your account. Please be aware that search engines and similar third parties may still retain copies of your personal information that has been made public at least once, like certain profile information and public comments, even after you have deleted the information from our services or deactivated your account."]}),i.jsx("h3",{id:"additional-disclosures-for-us-states-privacy-law-compliance",children:"Additional Disclosures for U.S. States Privacy Law Compliance."}),i.jsx("p",{children:"The following section includes provisions that comply with the privacy laws of these states (California, Colorado, Delaware, Florida, Virginia, and Utah) and is applicable only to the residents of those states. Specific references to a particular state (in a heading or in the text) are only a reference to that state’s law and applies only to that state’s residents. Non-state specific language applies to all of the states listed above."}),i.jsx("h4",{id:"do-not-track",children:"Do Not Track"}),i.jsx("p",{children:"Some browsers have a “Do Not Track” feature that lets you tell websites that you do not want to have your online activities tracked. At this time, we do not respond to browser “Do Not Track” signals."}),i.jsx("p",{children:"We adhere to the standards outlined in this privacy policy, ensuring we collect and process personal information lawfully, fairly, transparently, and with legitimate, legal reasons for doing so."}),i.jsx("h4",{id:"cookies-and-pixels",children:"Cookies and Pixels"}),i.jsx("p",{children:"At all times, you may decline cookies from our site if your browser permits. Most browsers allow you to activate settings on your browser to refuse the setting of all or some cookies. Accordingly, your ability to limit cookies is based only on your browser’s capabilities. Please refer to the Cookies section of this privacy policy for more information."}),i.jsx("h4",{id:"california-privacy-laws---cppa",children:"California Privacy Laws - CPPA"}),i.jsx("p",{children:"Under California Civil Code Section 1798.83, if you live in California and your business relationship with us is mainly for personal, family, or household purposes, you may ask us about the information we release to other organizations for their marketing purposes. In accordance with your right to non-discrimination, we may offer you certain financial incentives permitted by the California Consumer Privacy Act, and the California Privacy Rights Act (collectively, CCPA) that can result in different prices, rates, or quality levels for the goods or services we provide. Any CCPA-permitted financial incentive we offer will reasonably relate to the value of your personal information, and we will provide written terms that describe clearly the nature of such an offer. Participation in a financial incentive program requires your prior opt-in consent, which you may revoke at any time."}),i.jsx("p",{children:"Under California Civil Code Section 1798.83, if you live in California and your business relationship with us is mainly for personal, family, or household purposes, you may ask us about the information we release to other organizations for their marketing purposes. To make such a request, please contact us using the details provided in this privacy policy with “Request for California privacy information” in the subject line. You may make this type of request once every calendar year. We will email you a list of categories of personal information we revealed to other organisations for their marketing purposes in the last calendar year, along with their names and addresses. Not all personal information shared in this way is covered by Section 1798.83 of the California Civil Code."}
568),i.jsx("h4",{id:"california-notice-of-collection",children:"California Notice of Collection"}),i.jsx("p",{children:"In the past 12 months, we have collected the following categories of personal information enumerated in the CCPA:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"Identifiers, such as name, email address, phone number, account name, IP address, and an ID or number assigned to your account."}),i.jsx("li",{children:"Customer records, such as billing and shipping address, and credit or debit card data."})]}),i.jsx("p",{children:"For more information on information we collect, including the sources we receive information from, review the “Information We Collect” section. We collect and use these categories of personal information for the business purposes described in the “Collection and Use of Information” section, including to provide and manage our Service."}),i.jsx("h4",{id:"right-to-know-and-delete",children:"Right to Know and Delete"}),i.jsx("p",{children:"You have rights to delete your personal information we collected and know certain information about our data practices in the preceding 12 months. In particular, you have the right to request the following from us:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"The categories of personal information we have collected about you;"}),i.jsx("li",{children:"The categories of sources from which the personal information was collected;"}),i.jsx("li",{children:"The categories of personal information about you we disclosed for a business purpose or sold;"}),i.jsx("li",{children:"The categories of third parties to whom the personal information was disclosed for a business purpose or sold;"}),i.jsx("li",{children:"The business or commercial purpose for collecting or selling the personal information; and"}),i.jsx("li",{children:"The specific pieces of personal information we have collected about you."})]}),i.jsx("p",{children:"To exercise any of these rights, please contact us using the details provided in this privacy policy."}),i.jsx("h4",{id:"shine-the-light",children:"Shine the Light"}),i.jsx("p",{children:"In addition to the rights discussed above, you have the right to request information from us regarding the manner in which we share certain personal information as defined by applicable statute with third parties and affiliates for their own direct marketing purposes."}),i.jsx("p",{children:"To receive this information, send us a request using the contact details provided in this privacy policy. Requests must include “Privacy Rights Request” in the first line of the description and include your name, street address, city, state, and ZIP code."}),i.jsx("h3",{id:"additional-disclosures-for-personal-information-protection-and-electronic-documents-act-pipeda-compliance-canada",children:"Additional Disclosures for Personal Information Protection and Electronic Documents Act (PIPEDA) Compliance (Canada)"}),i.jsx("h4",{id:"additional-scope-of-personal-information",children:"Additional scope of personal information"}),i.jsx("p",{children:"In accordance with PIPEDA, we broaden our definition of personal information to include any information about an individual, such as financial information, information about your appearance, your views and opinion (such as those expressed online or through a survey), opinions held about you by others, and any personal correspondences you may have with us. While this information may not directly identify you, be aware that it may be combined with other information to do so."}),i.jsx("p",{children:"As PIPEDA refers to personal information using the term Personally Identifying Information (PII), any references to personal information and PII in this privacy policy, and in official communications from Hynx ltd, are intended as equivalent to one another in every way, shape and form."}),i.jsx("h4",{id:"valid-consent",children:"Valid Consent"}),i.jsx("p",{children:"Where you give us consent to collect and use your personal information for a specific purpose. You may withdraw your consent at any time using the facilities we provide; however this will not affect any use of your information that has already taken place. When you contact us, we assume your consent based on your positive action of contact, therefore you consent to your name and email address being used so we can respond to your enquiry. Under PIPEDA, consent is only valid if it is reasonable to expect that an individual to whom the organization’s activities are directed would understand the nature, purpose, and consequences of the collection, use, or disclosure of the personal information to which they are consenting."}
568),i.jsx("p",{children:"Where you agree to receive marketing communications from us, we will do so based solely on your indication of consent or until you instruct us not to, which you can do at any time."}),i.jsx("p",{children:"While you may request that we delete your contact details at any time, we cannot recall any email we have already sent. If you have any further enquiries about how to withdraw your consent, please feel free to enquire using the details provided in the Contact Us section of this privacy policy."}),i.jsx("h4",{id:"international-transfers-of-information",children:"International Transfers of Information"}),i.jsx("p",{children:"While Hynx ltd endeavors to keep, store and handle customer data within locations in Canada, it may use agents or service providers located in the United States (U.S.), European Economic Area (EEA) or United Kingdom (UK) to collect, use, retain and process personal information as part of providing services to you. While we use all reasonable efforts to ensure that personal information receives the same level of security in any other jurisdiction as it would in Canada, please be aware that privacy protections under U.S. laws may not be the same adequacy."}),i.jsx("h4",{id:"customer-data-rights",children:"Customer Data Rights"}),i.jsx("p",{children:"Although PIPEDA does not contain an extensive set of consumer rights, it does grant consumers the right to:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"Access the personal information organizations hold about them;"}),i.jsx("li",{children:"Correct any inaccurate or outdated personal information the organization hold about them (or, if this is not possible, delete the inaccurate personal information)"}),i.jsx("li",{children:"Withdraw consent for any activities for which they have consented (e.g. direct marketing or cookies"})]}),i.jsx("h4",{id:"right-to-withdraw-consent",children:"Right to Withdraw Consent"}),i.jsx("p",{children:"Where you give us consent to collect and use your personal information for a specific purpose. Subject to some restrictions, you can, at any time, refuse to consent, or continue to consent to the collection, use or disclosure of their personal information by notifying us using the email address below in the ‘Contact Us’ section. Withdrawal of consent may impact our ability to provide or continue to provide services."}),i.jsx("p",{children:"Customers cannot refuse collection, use and disclosure of their personal information if such information is required to:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"be collected, used or disclosed as required by any law;"}),i.jsx("li",{children:"fulfill the terms of any contractual agreement; and"}),i.jsx("li",{children:"be collected, used or disclosed as required by any regulators including self regulatory organizations"})]}),i.jsx("p",{children:"While you may request that we delete your contact details at any time, we cannot recall any email we have already sent. If you have any further enquiries about how to withdraw your consent, please feel free to enquire using the details provided in the Contact Us section of this privacy policy."}),i.jsx("h4",{id:"right-of-access-under-pipeda",children:"Right of Access under PIPEDA"}),i.jsx("p",{children:"PIPEDA gives you a general right to access the PII held by businesses subject to this law. Under PIPEDA, you need to make your access request in writing and pay a minimal fee of $30.00."}),i.jsx("p",{children:"If any organizational fees seem unjust, you have the right to complain about this. We retain the right to decide how we disclose the copies of your PII to you. We will take all necessary measures to fulfill your request in 30 days from receipt, otherwise we must inform you of our inability to do so before the 30-day timeframe if:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"meeting the time limit would unreasonably interfere with our business activities; or"}),i.jsx("li",{children:"the time required to undertake consultations necessary to respond to the request would make it impractical to meet the time limit."})]}),i.jsx("p",{children:"We can also extend the time limit for the length of time required to convert the personal information into an alternative format. In these circumstances, we will advise you of the delay within the first 30 days and explain the reason for it."}),i.jsx("h4",{id:"right-of-rectification-under-pipeda",children:"Right of rectification under PIPEDA"}),i.jsx("p",{children:"You may request a correction to any factual errors or omissions within your PII. We would ask you to provide some evidence to back up your claim. Under PIPEDA, an organization must amend the information, as required, if you successfully demonstrate that it’s incomplete or inaccurate."}),i.jsx("p",{children:"You may contact us at any time, using the information provided in the Contact Us section of this privacy policy if you believe your PII on our systems is incorrect or incomplete."}),i.jsx("p",{children:"If we cannot agree on changing the information, you have the right to have your concerns recorded with the Office of the Privacy Commission of Canada."}),i.jsx("h4",{id:"compliance-with-pipedas-ten-principles-of-privacy",children:"Compliance with PIPEDA’s Ten Principles of Privacy"}),i.jsx("p",{children:"This privacy policy complies with the PIPEDA’s requirements and ten principles of privacy, which are as follows:"}),i.jsxs("ol",{children:[i.jsxs("li",{children:[i.jsx("strong",{children:"Accountability."})," Hynx ltd is responsible for the PII under its control and will designate one or more persons to ensure organizational accountability for compliance with the ten principles of privacy under PIPEDA, whose details are included below. All personnel are accountable for the protection of customers’ personal information."]}),i.jsxs("li",{children:[i.jsx("strong",{children:"Identifying purposes."})," Hynx ltd identifies the purposes for which personal information is collected at or before the time the information is collected."]}),i.jsxs("li",{children:[i.jsx("strong",{children:"Consent."})," Consent is required for Hynx ltd’s collection, use or disclosure of personal information, except where required or permitted by PIPEDA or other law. In addition, when customers access a product or service offered by us, consent is deemed to be granted. Express consent may be obtained verbally, in writing or through electronic means. Alternatively, consent may be implied through the actions of customers or continued use of a product or service following Hynx ltd’s notification of changes."]}),i.jsxs("li",{children:[i.jsx("strong",{children:"Limiting collection."})," Personal information collected will be limited to that which is necessary for the purposes identified by Hynx ltd."]}),i.jsxs("li",{children:[i.jsx("strong",{children:"Limiting use, disclosure and retention."})," We will not use or disclose personal information for purposes other than those for which the information was collected, except with your consent or as required by law. We will retain personal information only for as long as is necessary to fulfill the purposes for collecting such information and compliance with any legal requirements."]}),i.jsxs("li",{children:[i.jsx("strong",{children:"Accuracy."})," Personal information will be maintained by Hynx ltd in an accurate, complete and up-to-date format as is necessary for the purpose(s) for which the personal information was collected."]}),i.jsxs("li",{children:[i.jsx("strong",{children:"Safeguards."})," We will protect personal information with security safeguards appropriate to the sensitivity of such information."]}),i.jsxs("li",{children:[i.jsx("strong",{children:"Openness."})," We will make our policies and practices relating to the collection and management of personal information readily available upon request, including our brochures or other information that explain our policies, standards, or codes."]}),i.jsxs("li",{children:[i.jsx("strong",{children:"Customer access."})," We will inform customers of the existence, use and disclosure of their personal information and will provide access to their personal information, subject to any legal restrictions. We may require written requests for access to personal information and in most cases, will respond within 30 days of receipt of such requests. Customers may verify the accuracy and completeness of their personal information, and may request the personal information be corrected or updated, if appropriate."]}),i.jsxs("li",{children:[i.jsx("strong",{children:"Challenging compliance"})," Customers are welcome to direct any questions or inquiries concerning our compliance with this privacy policy and PIPEDA requirements using the contact information provided in the Contact Us section of this privacy policy."]})]}),i.jsx("h4",{id:"cookie-compliance",children:"Cookie Compliance"}),i.jsx("p",{children:"Our email interactions with our customers are compliant with Canadian Anti-Spam Legislation. The Company does not send unsolicited email to persons with whom we have no relationship. We will not sell personal information, such as email addresses, to unrelated third-parties. On occasion, your personal information may be provided to our third-party partners to administer the products and services you request from us."}),i.jsx("p",{children:"When you leave our website by linking to another website, you are subject to the privacy and security policies of the new website. We encourage you to read the privacy policies of all websites you visit, especially if you share any personal information with them."}),i.jsx("p",{children:"Please refer to our Cookie Policy for more information."}),i.jsx("h4",{id:"enquiries-reports-and-escalation",children:"Enquiries, Reports and Escalation"}),i.jsx("p",{children:"To enquire about Hynx ltd’s privacy policy, or to report violations of user privacy, you may contact us using the details in the Contact us section of this privacy policy."}),i.jsx("p",{children:"If we fail to resolve your concern to your satisfaction, you may also contact the Office of the Privacy Commissioner of Canada:"}),i.jsxs("p",{children:["30, Victoria Street",i.jsx("br",{}),"Gatineau, Quebec K1A 1H3",i.jsx("br",{}),"Toll Free: 1.800.282.1376",i.jsx("br",{}),i.jsx("a",{href:"https://www.priv.gc.ca",target:"_blank",children:"www.priv.gc.ca"})]}),i.jsx("h3",{id:"additional-disclosures-for-uk-general-data-protection-regulation-uk-gdpr-compliance-uk",children:"Additional Disclosures for UK General Data Protection Regulation (UK GDPR) Compliance (UK)"}),i.jsx("h4",{id:"data-controller--data-processor-1",children:"Data Controller / Data Processor"}),i.jsx("p",{children:"The GDPR distinguishes between organisations that process personal information for their own purposes (known as “data controllers”
568) and organizations that process personal information on behalf of other organizations (known as “data processors”). For the purposes covered by this Privacy Policy, we are a Data Controller with respect to the personal information you provide to us and remain compliant with our data controller obligations under GDPR."}),i.jsx("h4",{id:"third-party-provided-content",children:"Third-Party Provided Content"}),i.jsx("p",{children:"We may indirectly collect personal information about you from third-parties who have your permission to share it. For example, if you purchase a product or service from a business working with us, and give your permission for us to use your details in order to complete the transaction."}),i.jsx("p",{children:"We may also collect publicly available information about you, such as from any social media and messaging platforms you may use. The availability of this information will depend on both the privacy policies and your own privacy settings on such platforms."}),i.jsx("h4",{id:"additional-disclosure-for-collection-and-use-of-personal-information",children:"Additional Disclosure for Collection and Use of Personal Information"}),i.jsx("p",{children:"In addition to the aforementioned purposes warranting the collection and use of personal information, we may also conduct marketing and market research activities, including how visitors use our site, website improvement opportunities and user experience."}),i.jsx("h4",{id:"personal-information-no-longer-required-for-our-purposes",children:"Personal Information No Longer Required for Our Purposes"}),i.jsx("p",{children:"If your personal information is no longer required for our stated purposes, or if you instruct us under your Data Subject Rights, we will delete it or make it anonymous by removing all details that identify you (“Anonymisation”). However, if necessary, we may retain your personal information for our compliance with a legal, accounting, or reporting obligation or for archiving purposes in the public interest, scientific, or historical research purposes or statistical purposes."}),i.jsx("h3",{id:"legal-bases-for-processing-your-personal-information-1",children:"Legal Bases for Processing Your Personal Information"}),i.jsx("p",{children:"Data Protection and Privacy Laws permit us to collect and use your personal data on a limited number of grounds.. In which case, we will collect and use your personal information lawfully, fairly and in a transparent manner. We never directly market to any person(s) under 18 years of age."}),i.jsx("p",{children:"Our lawful bases depend on the services you use and how you use them. This is a non-exhaustive list of the lawful bases we use:"}),i.jsx("h4",{id:"consent-from-you-1",children:"Consent From You"}),i.jsx("p",{children:"Where you give us consent to collect and use your personal information for a specific purpose. You may withdraw your consent at any time using the facilities we provide; however this will not affect any use of your information that has already taken place. When you contact us, we assume your consent based on your positive action of contact, therefore you consent to your name and email address being used so we can respond to your enquiry."}),i.jsx("p",{children:"Where you agree to receive marketing communications from us, we will do so based solely on your indication of consent or until you instruct us not to, which you can do at any time."}),i.jsx("p",{children:"While you may request that we delete your contact details at any time, we cannot recall any email we have already sent. If you have any further enquiries about how to withdraw your consent, please feel free to enquire using the details provided in the Contact Us section of this privacy policy."}),i.jsx("h4",{id:"performance-of-a-contract-or-transaction-1",children:"Performance of a Contract or Transaction"}),i.jsx("p",{children:"Where you have entered into a contract or transaction with us, or in order to take preparatory steps prior to our entering into a contract or transaction with you. For example, if you contact us with an enquiry, we may require personal information such as your name and contact details in order to respond."}),i.jsx("h4",{id:"our-legitimate-interests-1",children:"Our Legitimate Interests"}),i.jsx("p",{children:"Where we assess it is necessary for our legitimate interests, such as for us to provide, operate, improve and communicate our services. We consider our legitimate interests to include research and development, understanding our audience, marketing and promoting our services, measures taken to operate our services efficie
568ntly, marketing analysis, and measures taken to protect our legal rights and interests."}),i.jsx("h4",{id:"compliance-with-law-1",children:"Compliance with Law"}),i.jsx("p",{children:"In some cases, we may have a legal obligation to use or keep your personal information. Such cases may include (but are not limited to) court orders, criminal investigations, government requests, and regulatory obligations. For example, we are required to keep financial records for a period of 7 years. If you have any further enquiries about how we retain personal information in order to comply with the law, please feel free to enquire using the details provided in the Contact Us section of this privacy policy."}),i.jsx("h4",{id:"international-transfers-of-personal-information-2",children:"International Transfers of Personal Information"}),i.jsx("p",{children:"The personal information we collect is stored and/or processed in the United Kingdom by us. Following an adequacy decision by the EU Commission, the UK has been granted an essentially equivalent level of protection to that guaranteed under UK GDPR."}),i.jsx("p",{children:"On some occasions, where we share your data with third parties, they may be based outside of the UK, or the European Economic Area (“EEA”). These countries to which we store, process, or transfer your personal information may not have the same data protection laws as the country in which you initially provided the information."}),i.jsx("p",{children:"If we transfer your personal information to third parties in other countries:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"we will perform those transfers in accordance with the requirements of the UK GDPR (Article 45) and Data Protection Act 2018;"}),i.jsx("li",{children:"we will adopt appropriate safeguards for protecting the transferred data, including in transit, such as standard contractual clauses (“SCCs”) or binding corporate rules."})]}),i.jsx("h4",{id:"your-data-subject-rights",children:"Your Data Subject Rights"}),i.jsxs("p",{children:[i.jsx("strong",{children:"Right to Restrict Processing:"})," You have the right to request that we restrict the processing of your personal information if (i) you are concerned about the accuracy of your personal information; (ii) you believe your personal information has been unlawfully processed; (iii) you need us to maintain the personal information solely for the purpose of a legal claim; or (iv) we are in the process of considering your objection in relation to processing on the basis of legitimate interests."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Right to Object:"})," You have the right to object to processing of your personal information that is based on our legitimate interests or public interest. If this is done, we must provide compelling legitimate grounds for the processing which overrides your interests, rights, and freedoms, in order to proceed with the processing of your personal information."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Right to be Informed:"})," You have the right to be informed with how your data is collected, processed, shared and stored."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Right of Access:"})," You may request a copy of the personal information that we hold about you at any time by submitting a Data Subject Access Request (DSAR). The statutory deadline for fulfilling a DSAR request is 30 calendar days from our receipt of your request."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Right to Erasure:"})," In certain circumstances, you can ask for your personal data to be erased from the records held by organisations. However this is a qualified right; it is not absolute, and may only apply in certain circumstances."]}),i.jsx("p",{children:"When may the right to erasure apply?"}),i.jsxs("ul",{children:[i.jsx("li",{children:"When the personal data is no longer necessary for the purpose for which it was originally collected or processed for."}),i.jsx("li",{children:"If consent was the lawful basis for processing personal data and that consent has been withdrawn. Hynx ltd relies on consent to process personal data in very few circumstances."}),i.jsx("li",{children:"The Company is relying on legitimate interests as a legal basis for processing personal data and an individual has exercised the right to object and it has been determined that the Company has no overriding legitimate grounds to refuse that request."}),i.jsx("li",{children:"Personal data are being processed for direct marketing purposes e.g. a person’s name and email address, and the individual objects to that processing."}),i.jsx("li",{children:"There is legislation that requires that personal data are to be destroyed."})]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Right to Portability:"})," Individuals have the right to get some of their personal data from an organisation in a way that is accessible and machine-readable, for example as a csv file. Associated with this, individuals also have the right to ask an organisation to transfer their personal data to another organisation."]}),i.jsx("p",{children:"However, the right to portability:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"only applies to personal data which a person has directly given to Hynx ltd in electronic form; and"}),i.jsx("li",{children:"onward transfer will only be available where this is “technically feasible”."})]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Right to Rectification:"})," If personal data is inaccurate, out of date, or incomplete, individuals have the right to correct, update or complete that data. Collectively this is referred to as the right to re
568ctification. Rectification may involve filling the gaps i.e. to have to have incomplete personal data completed – although this will depend on the purposes for the processing. This may involve adding a supplementary statement to the incomplete data to highlight any inaccuracy or claim thereof."]}),i.jsx("p",{children:"This right only applies to an individual’s own personal data; a person cannot seek the rectification of another person’s information."}),i.jsxs("p",{children:[i.jsx("strong",{children:"Notification of data breaches:"})," Upon discovery of a data breach, we will investigate the incident and report it to the UK’s data protection regulator and yourself, if we deem it appropriate to do so."]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Complaints:"})," You have the right, at any time, to lodge a complaint with the Information Commissioner’s Office (ICO), the UK supervisory authority for data protection issues (",i.jsx("a",{href:"https://www.ico.org.uk",target:"_blank",children:"www.ico.org.uk"}),"). We would, however, appreciate the chance to deal with your concerns before you approach the ICO so please contact us in the first instance using the details below. Please provide us with as much information as you can about the alleged breach. We will promptly investigate your complaint and respond to you, in writing, setting out the outcome of our investigation and the steps we will take to deal with your complaint."]}),i.jsx("h4",{id:"enquiries-reports-and-escalation-1",children:"Enquiries, Reports and Escalation"}),i.jsx("p",{children:"To enquire about Hynx ltd’s privacy policy, or to report violations of user privacy, you may contact our Data Protection Officer using the details in the Contact us section of this privacy policy."}),i.jsx("p",{children:"If we fail to resolve your concern to your satisfaction, you may also contact the Information Commissioner’s Office (ICO), the UK Data Protection regulator:"}),i.jsxs("p",{children:["Information Commissioner’s Office",i.jsx("br",{}),"Wycliffe House",i.jsx("br",{}),"Water Lane",i.jsx("br",{}),"Wilmslow",i.jsx("br",{}),"Cheshire",i.jsx("br",{}),"SK9 5AF"]}),i.jsxs("p",{children:["Tel: 0303 123 1113 (local rate)",i.jsx("br",{}),"Website: ",i.jsx("a",{href:"https://www.ico.org.uk",target:"_blank",children:"www.ico.org.uk"})]}),i.jsx("h3",{id:"contact-us",children:"Contact Us"}),i.jsx("p",{children:"For any questions or concerns regarding your privacy, you may contact us using the following details:"}),i.jsx("p",{children:i.jsx("strong",{children:"Hynx Ltd"})}),i.jsx("p",{children:"128 City Road, London, UK, EC1V 2NX"}),i.jsx("p",{children:i.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})})]})]})}),GS=()=>i.jsx(Ie,{children:i.jsxs("div",{children:[i.jsx("h1",{className:"title is-2",children:"Terms of Service"}),i.jsxs("div",{className:"content",children:[i.jsxs("p",{children:["These Terms of Service govern your use of the website located at ",i.jsx("a",{href:"https://FileSplash.com",target:"_blank",children:"https://FileSplash.com"})," and any related services provided by Hynx ltd."]}),i.jsxs("p",{children:["By accessing ",i.jsx("a",{href:"https://FileSplash.com",target:"_blank",children:"https://FileSplash.com"}),", you agree to abide by these Terms of Service and to comply with all applicable laws and regulations. If you do not agree with these Terms of Service, you are prohibited from using or accessing this website or using any other services provided by Hynx ltd."]}),i.jsx("p",{children:"We, Hynx ltd, reserve the right to review and amend any of these Terms of Service at our sole discretion. Upon doing so, we will update this page. Any changes to these Terms of Service will take effect immediately from the date of publication."}),i.jsx("p",{children:"These Terms of Service were last updated on 17 February 2024."}),i.jsx("h3",{id:"intellectual-property",children:"Intellectual Property"}),i.jsx("p",{children:"The intellectual property in the materials contained in this website are owned by or licensed to Hynx ltd and are protected by applicable copyright and trademark law. We grant our users permission to download one copy of the materials for personal, non-commercial transitory use."}),i.jsx("p",{children:"This constitutes the grant of a license, not a transfer of title. This license shall automatically terminate if you violate any of these restrictions or the Terms of Service, and may be terminated by Hynx ltd at any time."}),i.jsx("h3",{id:"user-generated-content",children:"User-Generated Content"}),i.jsx("p",{children:"You retain your intellectual property ownership rights over content you submit to us for publication on our website. We will never claim ownership of your content, but we do require a license from you in order to use it."}),i.jsx("p",{children:"When you use our website or its associated services to post, upload, share, or otherwise transmit content covered by intellectual property rights, you grant to us a non-exclusive, royalty-free, transferable, sub-licensable, worldwide license to use, distribute, modify, run, copy, publicly display, translate, or otherwise create derivative works of your content in a manner that is consistent with your privacy preferences and our Privacy Policy."}),i.jsx("p",{children:"The license you grant us can be terminated at any time by deleting your content or account. However, to the extent that we (or our partners) have used your content in connection with commercial or sponsored content, the license will c
568ontinue until the relevant commercial or post has been discontinued by us."}),i.jsx("p",{children:"You give us permission to use your username and other identifying information associated with your account in a manner that is consistent with your privacy preferences and our Privacy Policy."}),i.jsx("h3",{id:"liability",children:"Liability"}),i.jsx("p",{children:"Our website and the materials on our website are provided on an ‘as is’ basis. To the extent permitted by law, Hynx ltd makes no warranties, expressed or implied, and hereby disclaims and negates all other warranties including, without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property, or other violation of rights."}),i.jsx("p",{children:"In no event shall Hynx ltd or its suppliers be liable for any consequential loss suffered or incurred by you or any third party arising from the use or inability to use this website or the materials on this website, even if Hynx ltd or an authorized representative has been notified, orally or in writing, of the possibility of such damage."}),i.jsx("p",{children:"In the context of this agreement, “consequential loss” includes any consequential loss, indirect loss, real or anticipated loss of profit, loss of benefit, loss of revenue, loss of business, loss of goodwill, loss of opportunity, loss of savings, loss of reputation, loss of use and/or loss or corruption of data, whether under statute, contract, equity, tort (including negligence), indemnity or otherwise."}),i.jsx("p",{children:"Because some jurisdictions do not allow limitations on implied warranties, or limitations of liability for consequential or incidental damages, these limitations may not apply to you."}),i.jsx("h3",{id:"accuracy-of-materials",children:"Accuracy of Materials"}),i.jsx("p",{children:"The materials appearing on our website are not comprehensive and are for general information purposes only. Hynx ltd does not warrant or make any representations concerning the accuracy, likely results, or reliability of the use of the materials on this website, or otherwise relating to such materials or on any resources linked to this website."}),i.jsx("h3",{id:"links",children:"Links"}),i.jsx("p",{children:"Hynx ltd has not reviewed all of the sites linked to its website and is not responsible for the contents of any such linked site. The inclusion of any link does not imply endorsement, approval or control by Hynx ltd of the site. Use of any such linked site is at your own risk and we strongly advise you make your own investigations with respect to the suitability of those sites."}),i.jsx("h3",{id:"limitations-of-use",children:"Limitations of Use"}),i.jsx("p",{children:"By using this website, you warrant on behalf of yourself, your users, and other parties you represent that you will not:"}),i.jsxs("ul",{children:[i.jsx("li",{children:"modify, copy, prepare derivative works of, decompile, or reverse engineer any materials and software contained on this website;"}),i.jsx("li",{children:"remove any copyright or other proprietary notations from any materials and software on this website;"}),i.jsx("li",{children:"transfer the materials to another person or “mirror” the materials on any other server;"}),i.jsx("li",{children:"knowingly or negligently use this website or any of its associated services in a way that abuses or disrupts our networks or any other service Hynx ltd provides;"}),i.jsx("li",{children:"use this website or its associated services to transmit or publish any harassing, indecent, obscene, fraudulent, or unlawful material;"}),i.jsx("li",{children:"use this website or its associated services in violation of any applicable laws or regulations;"}),i.jsx("li",{children:"use this website in conjunction with sending unauthorized advertising or spam;"}),i.jsx("li",{children:"harvest, collect, or gather user data without the user’s consent; or"}),i.jsx("li",{children:"use this website or its associated services in such a way that may infringe the privacy, intellectual property rights, or other rights of third parties."})]}),i.jsx("h4",{id:"copyright-infringement-and-access-to-unauthorized-material",children:"Copyright infringement and access to unauthorized material"}),i.jsx("p",{children:"Our Products must not be used to transmit, distribute or store any material in violation of any applicable law. This includes but isn’t limited to:"}),i.jsxs("ol",{children:[i.jsx("li",{children:"any material protected by copyright, trademark, trade secret or other intellectual property right used without proper authorization, and"}),i.jsx("li",{children:"any material that is obscene, defamatory, constitutes an illegal threat or violates export control laws."})]}),i.jsx("p",{children:"The customer is solely responsible for all material they input, upload, disseminate, transmit, create or publish through or on our Products, and for obtaining legal permission to use any works included in such material."}),i.jsx("h4",{id:"unethical-exploitative-and-malicious-activity",children:"Unethical, exploitative, and malicious activity"}),i.jsx("p",{children:"Our Products must not be used for the purpose of advertising, transmitting or otherwise making available any software, program, product or service designed to violate this terms of service, or the terms of service of other service providers. This includes but isn’t limited to facilitating the means to send spam and the initiation of network sniffing, pinging, packet spoofing, flooding, mail-bombing and denial-of-service attacks."}),i.jsx("p",{children:"Our Products must not be used to access any account or electronic resource where the group or individual attempting to gain access does not own or is not authorized to access the resource (e.g. “hacking”, “cracking”, “phreaking”, etc.)."}),i.jsx("p",{children:"Our Products must not be used for the purpose of intentionally or recklessly introducing viruses or malicious code into our Products and systems."}),i.jsx("p",{children:"Our Products must not be used for purposely engaging in activities designed to harass another group or individual. Our definition of harassment includes but is not limited to denial-of-service attacks, hate-speech, advocacy of racial or ethnic intolerance, and any activity intended to threaten, abuse, infringe upon the rights of or discriminate against any group or individual."}),i.jsx("p",{children:"Other activities considered unethical, exploitative and malicious include:"}),i.jsxs("ol",{children:[i.jsx("li",{children:"Obtaining (or attempting to obtain) services from us with the intent to avoid payment;"}),i.jsx("li",{children:"Using our facilities to obtain (or attempt to obtain) services from another provider with the intent to avoid payment;"}),i.jsx("li",{children:"The unauthorized access, alteration or destruction (or any attempt thereof) of any information about our customers or end-users, by any means or device;"}),i.jsx("li",{children:"Using our facilities to interfere with the use of our facilities and network by other customers or authorized individuals;"}),i.jsx("li",{children:"Publishing or transmitting any content of links that incite violence, depict a violent act, depict child pornography or threaten anyone’s health and safety;"}),i.jsx("li",{children:"Any act or omission in violation of consumer protection laws and regulations;"}),i.jsx("li",{children:"Any violation of a person’s privacy."})]}),i.jsx("p",{children:"Our Products may not be used by any person or entity, which is involved with or suspected of involvement in activities or causes relating to illegal gambling; terrorism;
568 narcotics trafficking; arms trafficking or the proliferation, development, design, manufacture, production, stockpiling, or use of nuclear, chemical or biological weapons, weapons of mass destruction, or missiles; in each case including any affiliation with others whatsoever who support the above such activities or causes."}),i.jsx("h4",{id:"unauthorized-use-of-hynx-ltd-property",children:"Unauthorized use of Hynx ltd property"}),i.jsx("p",{children:"We prohibit the impersonation of Hynx ltd, the representation of a significant business relationship with Hynx ltd, or ownership of any Hynx ltd property (including our Products and brand) for the purpose of fraudulently gaining service, custom, patronage or user trust."}),i.jsx("h3",{id:"fair-use",children:"Fair use"}),i.jsx("p",{children:"We provide our facilities with the assumption your use will be “business as usual”, as per our offer schedule. If your use is considered to be excessive, then additional fees may be charged or capacity may be restricted."}),i.jsx("p",{children:"We are opposed to all forms of abuse, discrimination, rights infringement and/or any action that harms or disadvantages any group, individual or resource. We expect our customers and, where applicable, their users (“end-users”) to likewise engage our Products with similar intent."}),i.jsx("p",{children:"For the purposes of our “lifetime” product plans, “lifetime” is defined as the duration that Hynx Ltd continues to offer the relevant product or a maximum period of ten years from the date of purchase. We reserve the right to modify or discontinue such plans at any time. No refunds will be provided for Lifetime Plans terminated due to discontinuation or expiration under this policy."}),i.jsx("h3",{id:"customer-accountability",children:"Customer accountability"}),i.jsx("p",{children:"We regard our customers as being responsible for their own actions as well as for the actions of anyone using our Products with the customer’s permission. This responsibility also applies to anyone using our Products on an unauthorized basis as a result of the customer’s failure to put in place reasonable security measures."}),i.jsx("p",{children:"By accepting Products from us, our customers agree to ensure adherence to this policy on behalf of anyone using the Products as their end users. Complaints regarding the actions of customers or their end-users will be forwarded to the nominated contact for the account in question."}),i.jsx("p",{children:"If a customer — or their end-user or anyone using our Products as a result of the customer — violates our terms of service, we reserve the right to terminate any Products associated with the offending account or the account itself or take any remedial or preventative action we deem appropriate without notice. To the extent permitted by law, no credit will be available for interruptions of service resulting from any violation of our terms of service."}),i.jsx("h3",{id:"right-to-terminate",children:"Right to Terminate"}),i.jsx("p",{children:"We may suspend or terminate your right to use our website and terminate these Terms of Service immediately upon written notice to you for any breach of these Terms of Service."}),i.jsx("h3",{id:"severance",children:"Severance"}),i.jsx("p",{children:"Any term of these Terms of Service which is wholly or partially void or unenforceable is severed to the extent that it is void or unenforceable. The validity of the remainder of these Terms of Service is not affected."}),i.jsx("h3",{id:"governing-law",children:"Governing Law"}),i.jsx("p",{children:"These Terms of Service are governed by and construed in accordance with the laws of United Kingdom. You irrevocably submit to the exclusive jurisdiction of the courts in that State or location."}),i.jsx("h3",{id:"contact-us",children:"Contact Us"}),i.jsx("p",{children:"For any questions or concerns regarding the service or terms of service, you may contact us using the following details:"}),i.jsx("p",{children:i.jsx("strong",{children:"Hynx Ltd"})}),i.jsx("p",{children:"128 City Road, London, UK, EC1V 2NX"}),i.jsx("p",{children:i.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})})]})]})}),hu=({label:l,error:o,disabled:u=!1,required:c=!1,className:f="",id:d,value:m,onChange:g,options:y,placeholder:p,multiple:b=!1,size:x})=>{const w=d||`select-${Math.random().toString(36).substr(2,9)}`,N=!!o;return i.jsxs("div",{className:`field ${f}`,children:[l&&i.jsx("label",{className:"label",htmlFor:w,children:l}),i.jsx("div",{className:"control",children:i.jsx("div",{className:`select ${N?"is-danger":""} ${b?"is-multiple":""}`,children:i.jsxs("select",{id:w,value:m,onChange:g,disabled:u,required:c,multiple:b,size:x,"aria-describedby":N?`${w}-error`:void 0,"aria-invalid":N,children:[p&&!b&&i.jsx("option",{value:"",disabled:!0,children:p}),y.map(E=>i.jsx("option",{value:E.value,disabled:E.disabled,children:E.label},E.value))]})})}),N&&i.jsx("p",{id:`${w}-error`,className:"help is-danger",children:o})]})},mu=({label:l,error:o,disabled:u=!1,required:c=!1,className:f="",id:d,checked:m,onChange:g,value:y,name:p})=>{const b=d||`radio-${Math.random().toString(36).substr(2,9)}`,x=!!o;return i.jsxs("div",{className:`field ${f}`,children:[i.jsx("div",{className:"control",children:i.jsxs("label",{className:"radio",htmlFor:b,children:[i.jsx("input",{id:b,type:"radio",checked:m,onChange:g,disabled:u,required:c,value:y,name:p,"aria-describedby":x?`${b}-error`:void 0,"aria-invalid":x}),l&&i.jsx("span",{className:"ml-2",children:l})]})}),x&&i.jsx("p",{id:`${b}-error`,className:"help is-danger",children:o})]})},PS=({label:l,error:o,disabled:u=!1,required:c=!1,className:f="",id:d,value:m,onChange:g,placeholder:y,rows:p=4,cols:b,maxLength:x,minLength:w,readOnly:N=!1,resize:E="vertical"})=>{const O=d||`textarea-${Math.random().toString(36).substr(2,9)}`,z=!!o;return i.jsxs("div",{className:`field ${f}`,children:[l&&i.jsx("label",{className:"label",htmlFor:O,children:l}),i.jsx("div",{className:"control",children:i.jsx("textarea",{id:O,className:`textarea ${z?"is-danger":""}`,value:m,onChange:g,placeholder:y,disabled:u,required:c,rows:p,cols:b,maxLength:x,minLength:w,readOnly:N,style:{resize:E},"aria-describedby":z?`${O}-error`:void 0,"aria-invalid":z})}),z&&i.jsx("p",{id:`${O}-error`,className:"help is-danger",children:o})]})},XS=()=>{const[l,o]=j.useState({name:"",email:"",password:"",country:"",skills:[],newsletter:!1,gender:"",experience:""}),[u,c]=j.useState({}),f=[{value:"us",label:"United States"},{value:"ca",label:"Canada"},{value:"uk",label:"United Kingdom"},{value:"de",label:"Germany"},{value:"fr",label:"France"}],d=[{value:"javascript",label:"JavaScript"},{value:"typescript",label:"TypeScript"},{value:"react",label:"React"},{value:"vue",label:"Vue.js"},{value:"angular",label:"Angular"},{value:"node",label:"Node.js"}],m=[{value:"junior",label:"Junior (0-2 years)"},{value:"mid",label:"Mid-level (2-5 years)"},{value:"senior",label:"Senior (5+ years)"},{value:"lead",label:"Lead/Principal"}],g=N=>E=>{o(O=>({...O,[N]:E.target.value})),u[N]&&c(O=>({...O,[N]:""}))},y=N=>E=>{const O=E.target.multiple?Array.from(E.target.selectedOptions,z=>z.value):E.target.value;o(z=>({...z,[N]:O}))},p=N=>E=>{o(O=>({...O,[N]:E.target.checked}))},b=N=>E=>{o(O=>({...O,[N]:E.target.value}))},x=N=>{N.preventDefault();const E={};l.name||(E.name="Name is required"),l.email||(E.email="Email is required"),l.password||(E.password="Password is required"),l.country||(E.country="Please select a country"),l.gender||(E.gender="Please select a gender"),c(E),Object.keys(E).length===0&&alert(`Form submitted successfully!
569
570`+JSON.stringify(l,null,2))},w=()=>{o({name:"",email:"",password:"",country:"",skills:[],newsletter:!1,gender:"",experience:""}),c({})};return i.jsx("div",{className:"container",children:i.jsx("div",{className:"section",children:i.jsx("div",{className:"columns is-centered",children:i.jsx("div",{className:"column is-8",children:i.jsxs("div",{className:"box",children:[i.jsxs("div",{className:"level",children:[i.jsx("div",{className:"level-left",children:i.jsx("div",{className:"level-item",children:i.jsx("h1",{className:"title",children:"Form Components Demo"})})}),i.jsx("div",{className:"level-right",children:i.jsx("div",{className:"level-item",children:i.jsx(be,{to:"/",className:"button is-light",children:"← Back to Home"})})})]}),i.jsx("div",{className:"content",children:i.jsx("p",{children:"This page demonstrates all the available Bulma form components."})}),i.jsxs("form",{onSubmit:x,children:[i.jsxs("div",{className:"columns",children:[i.jsxs("div",{className:"column",children:[i.jsx(pa,{label:"Full Name",value:l.name,onChange:g("name"),placeholder:"Enter your full name",required:!0,error:u.name}),i.jsx(Vn,{label:"Email Address",value:l.email,onChange:g("email"),required:!0,error:u.email}),i.jsx(Ya,{label:"Password",value:l.password,onChange:g("password"),placeholder:"Enter a secure password",required:!0,showToggle:!0,strengthIndicator:!0,error:u.password}),i.jsx(hu,{label:"Country",value:l.country,onChange:y("country"),options:f,placeholder:"Select your country",required:!0,error:u.country})]}),i.jsxs("div",{className:"column",children:[i.jsx(hu,{label:"Skills (Multiple)",value:l.skills,onChange:y("skills"),options:d,multiple:!0,size:6}),i.jsx(hu,{label:"Experience Level",value:l.experience,onChange:y("experience"),options:m,placeholder:"Select your experience level"}),i.jsxs("div",{className:"field",children:[i.jsx("label",{className:"label",children:"Gender"}),i.jsxs("div",{className:"control",children:[i.jsx(mu,{label:"Male",name:"gender",value:"male",checked:l.gender==="male",onChange:b("gender")}),i.jsx(mu,{label:"Female",name:"gender",value:"female",checked:l.gender==="female",onChange:b("gender")}),i.jsx(mu,{label:"Other",name:"gender",value:"other",checked:l.gender==="other",onChange:b("gender")})]}),u.gender&&i.jsx("p",{className:"help is-danger",children:u.gender})]}),i.jsx(Ts,{label:"Subscribe to newsletter",checked:l.newsletter,onChange:p("newsletter")})]})]}),i.jsxs("div",{className:"field is-grouped",children:[i.jsx("div",{className:"control",children:i.jsx(Le,{type:"submit",variant:"primary",children:"Submit Form"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{type:"button",variant:"light",onClick:w,children:"Reset Form"})})]})]}),i.jsx("hr",{}),i.jsxs("div",{className:"content",children:[i.jsx("h2",{className:"subtitle",children:"Button Variants"}),i.jsxs("div",{className:"field is-grouped is-grouped-multiline",children:[i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"primary",children:"Primary"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"success",children:"Success"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"info",children:"Info"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"warning",children:"Warning"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"danger",children:"Danger"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"light",children:"Light"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"dark",children:"Dark"})})]}),i.jsx("h3",{className:"subtitle is-5",children:"Button Sizes"}),i.jsxs("div",{className:"field is-grouped",children:[i.jsx("div",{className:"control",children:i.jsx(Le,{size:"small",variant:"primary",children:"Small"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{size:"normal",variant:"primary",children:"Normal"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{size:"medium",variant:"primary",children:"Medium"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{size:"large",variant:"primary",children:"Large"})})]}),i.jsx("h3",{className:"subtitle is-5",children:"Button States"}),i.jsxs("div",{className:"field is-grouped",children:[i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"primary",isOutlined:!0,children:"Outlined"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"primary",isRounded:!0,children:"Rounded"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"primary",isLoading:!0,children:"Loading"})}),i.jsx("div",{className:"control",children:i.jsx(Le,{variant:"primary",disabled:!0,children:"Disabled"})})]})]})]})})})})})},VS=l=>{const o={};return l.firstname.trim()||(o.firstname="First name is required"),l.lastname.trim()||(o.lastname="Last name is required"),o},QS=()=>{const{user:l,updateUser:o,logout:u}=nt(),[c,f]=j.useState(!1),[d,m]=j.useState({}),[g,y]=j.useState(""),p=()=>({firstname:l?.firstname||"",lastname:l?.lastname||""}),[b,x]=j.useState(p()),w=(_,q)=>{x(F=>({...F,[_]:q})),_ in d&&d[_]&&m(F=>({...F,[_]:void 0})),d.general&&m(F=>({...F,general:void 0})),g&&y("")},N=()=>{const _=VS(b);return m(_),Object.keys(_).length===0};return{formData:b,errors:d,isLoading:c,successMessage:g,updateField:w,validate:N,updateProfile:async()=>
570{if(!N())return{success:!1};if(!l?.auth_token)return m({general:"Authentication required. Please log in again."}),{success:!1};f(!0),m({}),y("");try{const _={auth_token:l.auth_token,firstname:b.firstname.trim(),lastname:b.lastname.trim()},q=await xn.updateProfile(_);return q.ok&&q.firstname&&q.lastname?(o({firstname:q.firstname,lastname:q.lastname}),y("Profile updated successfully!"),{success:!0}):(q.logout&&u(),m({general:q.message||"Could not update profile. Please try again."}),{success:!1})}catch(_){const q=_ instanceof Error?_.message:"An unexpected error occurred";return m({general:q}),{success:!1}}finally{f(!1)}},resetForm:()=>{x(p()),m({}),y("")},clearMessages:()=>{m({}),y("")}}},ZS=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{10,}$/,$S=l=>{const o={};return l.password?ZS.test(l.password)||(o.password="Password must be at least 10 characters long and contain at least one uppercase letter, one lowercase letter, and one number"):o.password="Password is required",l.confirmPassword?l.password&&l.confirmPassword!==l.password&&(o.confirmPassword="Passwords do not match"):o.confirmPassword="Please confirm your password",o},KS=()=>{const{user:l,logout:o}=nt(),[u,c]=j.useState(!1),[f,d]=j.useState({}),[m,g]=j.useState(""),y={password:"",confirmPassword:""},[p,b]=j.useState(y),x=(z,_)=>{b(q=>({...q,[z]:_})),z in f&&f[z]&&d(q=>({...q,[z]:void 0})),f.general&&d(q=>({...q,general:void 0})),m&&g("")},w=()=>{const z=$S(p);return d(z),Object.keys(z).length===0};return{formData:p,errors:f,isLoading:u,successMessage:m,updateField:x,validate:w,updatePassword:async()=>{if(!w())return{success:!1};if(!l?.auth_token)return d({general:"Authentication required. Please log in again."}),{success:!1};c(!0),d({}),g("");try{const z={auth_token:l.auth_token,password:p.password},_=await xn.updatePassword(z);return _.ok?(g("Password updated successfully!"),b(y),{success:!0}):(_.logout&&o(),d({general:_.message||"Could not update password. Please try again."}),{success:!1})}catch(z){const _=z instanceof Error?z.message:"An unexpected error occurred";return d({general:_}),{success:!1}}finally{c(!1)}},resetForm:()=>{b(y),d({}),g("")},clearMessages:()=>{d({}),g("")}}},IS=()=>{const l=Wt(),{isAuthenticated:o,user:u,isLoading:c,logout:f}=nt(),[d,m]=j.useState(null),[g,y]=j.useState(!0),{formData:p,errors:b,isLoading:x,successMessage:w,updateField:N,updateProfile:E,clearMessages:O}=QS(),{formData:z,errors:_,isLoading:q,successMessage:F,updateField:te,updatePassword:Z,clearMessages:oe}=KS();if(j.useEffect(()=>{if(!c){if(!o){l("/login");return}if(u&&(!u.email_verified||u.email_verified===0)){l("/email-verify");return}}},[o,u,c,l]),j.useEffect(()=>{console.log("Loading subscription status..."),!c&&o&&(async()=>{if(console.log("Fetching subscription status from API..."),o&&u?.auth_token){console.log("User is authenticated, calling API...");try{const K=await qt.getSubscriptionStatus(u.auth_token);if(K.logout){f();return}m(K)}catch(K){console.error("Error loading subscription status:",K)}finally{console.log("Finished loading subscription status."),y(!1)}}else console.log("User is not authenticated, skipping API call."),y(!1)})()},[o,u,c]),c||!o||!u||!u.email_verified||u.email_verified===0)return null;const $=G=>{if(G===0)return"0 Bytes";const K=1024,we=["Bytes","KB","MB","GB"],qe=Math.floor(Math.log(G)/Math.log(K));return parseFloat((G/Math.pow(K,qe)).toFixed(2))+" "+we[qe]},ce=async G=>{G.preventDefault(),await E()},I=async G=>{G.preventDefault(),await Z()};return i.jsx(Ie,{children:i.jsxs("div",{children:[i.jsx("h1",{className:"title is-2 has-text-centered",children:"Profile Settings"}),i.jsx("p",{className:"subtitle is-4 has-text-centered",children:"Manage your account information"}),i.jsxs("div",{className:"columns is-centered",children:[i.jsxs("div",{className:"column is-6",children:[i.jsx("h2",{className:"title is-4",children:"Update Profile"}),i.jsxs("form",{onSubmit:ce,children:[w&&i.jsxs("div",{className:"notification is-success",children:[i.jsx("button",{className:"delete",type:"button",onClick:O,"aria-label":"Close notification"}),w]}),b.general&&i.jsxs("div",{className:"notification is-danger",children:[i.jsx("button",{className:"delete",type:"button",onClick:O,"aria-label":"Close notification"}),b.general]}),i.jsx(pa,{label:"First Name",value:p.firstname,onChange:G=>N("firstname",G.target.value),placeholder:"Enter your first name",required:!0,error:b.firstname,autoComplete:"given-name"}),i.jsx(pa,{label:"Last Name",value:p.lastname,onChange:G=>N("lastname",G.target.value),placeholder:"Enter your last name",required:!0,error:b.lastname,autoComplete:"family-name"}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsx(Le,{type:"submit",variant:"primary",size:"medium",isFullWidth:!0,isLoading:x,disabled:x,children:x?"Updating...":"Update Profile"})})})]})]}),i.jsxs("div",{className:"column is-6",children:[i.jsx("h2",{className:"title is-4",children:"Account Information"}),i.jsxs("div",{className:"content",children:[i.jsxs("p",{children:[i.jsx("strong",{children:"Email:"})," ",u.email]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Email Verified:"}),i.jsx("span",{className:`tag ${u.email_verified&&u.email_verified>0?"is-success":"is-warning"} ml-2`,children:u.email_verified&&u.email_verified>0?"Verified":"Not Verified"})]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Storage:"})," ",$(d?.used_storage||0)," / ",$(d?.max_storage||0)]})]})]})]}),i.jsxs("div",{className:"columns is-centered mt-6",children:[i.jsxs("div",{className:"column is-6",children:[i.jsx("h2",{className:"title is-4",children:"Update Password"}),i.jsxs("form",{onSubmit:I,children:[F&&i.jsxs("div",{className:"notification is-success",children:[i.jsx("button",{className:"delete",type:"button",onClick:oe,"aria-label":"Close notification"}),F]}),_.general&&i.jsxs("div",{className:"notification is-danger",children:[i.jsx("button",{className:"delete",type:"button",onClick:oe,"aria-label":"Close notification"}),_.general]}),i.jsx(Ya,{label:"New Password",value:z.password,onChange:G=>te("password",G.target.value),placeholder:"Enter your new password",required:!0,error:_.password,autoComplete:"new-password",showToggle:!0,strengthIndicator:!0}),i.jsx(Ya,{label:"Confirm New Password",value:z.confirmPassword,onChange:G=>te("confirmPassword",G.target.value),placeholder:"Confirm your new password",required:!0,error:_.confirmPassword,autoComplete:"new-password",showToggle:!0,strengthIndicator:!1}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsx(Le,{type:"submit",variant:"primary",size:"medium",isFullWidth:!0,isLoading:q,disabled:q,children:q?"Updating...":"Update Password"})})})]})]}),i.jsxs("div",{className:"column is-6",children:[i.jsx("h2",{className:"title is-4",children:"Subscription Status"}),g?i.jsxs("div",{className:"has-text-centered",children:[i.jsx("div",{className:"loader"}),i.jsx("p",{className:"mt-3",children:"Loading subscription status..."})]}):d?.has_subscription?i.jsxs("div",{className:"content",children:[i.jsx("h4",{className:"title is-5 mb-3",children:"Active Subscription"}),i.jsxs("div",{className:"columns",children:[i.jsxs("div",{className:"column",children:[i.jsxs("p",{children:[i.jsx("strong",{children:"Plan:"})," ",d.subscription?.type]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Storage:"})," ",$(d.subscription?.used_storage||0)," / ",$(d.subscription?.max_storage||0)]})]}),i.jsxs("div",{className:"column",children:[i.jsxs("p",{children:[i.jsx("strong",{children:"Max Users:"})," ",d.subscription?.max_users]}),i.jsxs("p",{children:[i.jsx("strong",{children:"File Expiry:"})," ",Math.round(d.subscription?.max_expires/86400)," days"]})]})]}),d.subscription?.expires&&d.subscription.expires!==0?i.jsxs("p",{children:[i.jsx("strong",{children:"Next Billing:"})," ",new Date(d.subscription.expires*1e3).toLocaleDateString()]}):i.jsx("p",{})]}):i.jsxs("div",{className:"content",children:[i.jsx("p",{children:i.jsx("strong",{children:"No Active Subscription"})}),i.jsx("p",{children:"You're currently using the free plan with limited features."}),i.jsx("div",{className:"mt-4",children:i.jsx(be,{to:"/pricing",className:"button is-primary",children:"View Subscription Plans"})})]})]})]})]})})},JS=()=>
570{const{setBackground:l}=jy(),{upload_id:o}=cy(),[u,c]=j.useState(null),[f,d]=j.useState(!0),[m,g]=j.useState(null);j.useEffect(()=>{(async()=>{if(!o){g("Invalid download link - missing upload ID"),d(!1);return}try{d(!0);const w=await pp.getDownloadMetadata(o);w.ok?(c(w),w.background_url&&l({background_url:w.background_url,background_type:w.background_type||"image",name:"",description:""}),g(null)):g(w.message||"Failed to load download information")}catch(w){console.error("Download fetch error:",w),g(w instanceof Error?w.message:"Failed to load download information")}finally{d(!1)}})()},[o]);const y=x=>{if(x===0)return"0 Bytes";const w=1024,N=["Bytes","KB","MB","GB"],E=Math.floor(Math.log(x)/Math.log(w));return parseFloat((x/Math.pow(w,E)).toFixed(2))+" "+N[E]},p=x=>new Date(x*1e3).toLocaleDateString(),b=x=>{const w=pp.getDownloadUrl(x.domain,x.download_token);window.open(w,"_blank")};return f?i.jsx(Bl,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("div",{className:"is-loading",style:{width:"3rem",height:"3rem",margin:"2rem auto"}}),i.jsx("p",{children:"Loading download information..."})]})}):m?i.jsx(Bl,{children:i.jsx("div",{className:"has-text-centered",children:i.jsxs("div",{className:"notification is-danger",children:[i.jsx("h1",{className:"title is-4",children:"Download Error"}),i.jsx("p",{children:m})]})})}):!u||!u.files?i.jsx(Bl,{children:i.jsx("div",{className:"has-text-centered",children:i.jsxs("div",{className:"notification is-warning",children:[i.jsx("h1",{className:"title is-4",children:"No Files Found"}),i.jsx("p",{children:"This download contains no files or has expired."})]})})}):i.jsxs(Bl,{children:[i.jsxs("div",{className:"has-text-centered mb-6",children:[i.jsx("h1",{className:"title is-2",children:u.title}),u.description&&u.description.length>0&&i.jsx("p",{className:"subtitle is-4",children:u.description})]}),i.jsxs("div",{className:"level",children:[i.jsx("div",{className:"level-left",children:i.jsx("div",{className:"level-item",children:i.jsxs("div",{children:[i.jsx("p",{className:"heading",children:"Total Size"}),i.jsx("p",{className:"title is-6",children:u.size?y(u.size):"Unknown"})]})})}),i.jsx("div",{className:"level-right",children:i.jsx("div",{className:"level-item",children:i.jsxs("div",{children:[i.jsx("p",{className:"heading",children:"Expires"}),i.jsx("p",{className:"title is-6",children:u.expires?p(u.expires):"Never"})]})})})]}),u.files.length>1&&i.jsx("div",{className:"has-text-centered",children:i.jsxs("button",{className:"button is-primary is-large",onClick:()=>{u.files?.forEach(x=>{setTimeout(()=>b(x),100)})},children:[i.jsx("span",{className:"icon",children:i.jsx(It,{icon:ku})}),i.jsx("span",{children:"Download All Files"})]})}),i.jsxs("h2",{className:"title is-4 mb-4",children:["Files (",u.files.length,")"]}),u.files.map((x,w)=>i.jsxs("div",{className:"media",children:[i.jsx("div",{className:"media-left",children:i.jsx("span",{className:"icon is-large",children:i.jsx(It,{icon:Ju,size:"2x"})})}),i.jsx("div",{className:"media-content",children:i.jsxs("div",{className:"content",children:[i.jsx("p",{style:{paddingBottom:"0"},children:i.jsx("strong",{children:x.file_name})}),i.jsx("p",{children:x.file_size?y(x.file_size):"Unknown size"})]})}),i.jsx("div",{className:"media-right",children:i.jsxs("button",{className:"button is-primary",onClick:()=>b(x),children:[i.jsx("span",{className:"icon",children:i.jsx(It,{icon:ku})}),i.jsx("span",{children:"Download"})]})})]},w))]})},WS=()=>{const[l]=gy(),{user:o,logout:u}=nt(),[c,f]=j.useState(null),[d,m]=j.useState(!0),g=l.get("session_id");return j.useEffect(()=>{try{console.log("Sending conversion event to Google Ads"),window.gtag("event","conversion",{send_to:"AW-17777714294/nqkuCIuHj8wbEPbIiZ1C",value:24,currency:"USD",transaction_id:g||void 0})}catch(p){console.error("Error sending conversion event to Google Ads:",p)}(async()=>{if(o?.auth_token)try{await new Promise(b=>setTimeout(b,2e3));const p=await qt.getSubscriptionStatus(o.auth_token);if(p.logout){u();return}f(p)}catch(p){console.error("Error loading subscription status:",p)}finally{m(!1)}else m(!1)})()},[o]),i.jsx(Ie,{children:i.jsx("div",{className:"has-text-centered",children:i.jsx("div",{className:"container",children:i.jsx("div",{className:"columns is-centered",children:i.jsxs("div",{className:"column is-6",children:[i.jsx("div",{className:"icon is-large has-text-success mb-4",children:i.jsx(It,{icon:Wu,
570size:"3x"})}),i.jsx("h1",{className:"title is-3 has-text-success",children:"Payment Successful!"}),i.jsx("p",{className:"subtitle is-5 mb-5",children:"Thank you for subscribing to FileSplash"}),d?i.jsxs("div",{className:"has-text-centered",children:[i.jsx("div",{className:"loader"}),i.jsx("p",{className:"mt-3",children:"Loading your subscription details..."})]}):c?.has_subscription?i.jsxs("div",{className:"notification is-success is-light",children:[i.jsx("h4",{className:"title is-5",children:"Your Subscription Details"}),i.jsxs("p",{children:[i.jsx("strong",{children:"Plan:"})," ",c.subscription?.type]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Storage:"})," ",Math.round(c.subscription?.max_storage/(1024*1024*1024)),"GB"]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Max Users:"})," ",c.subscription?.max_users]}),i.jsxs("p",{children:[i.jsx("strong",{children:"File Expiry:"})," ",Math.round(c.subscription?.max_expires/86400)," days"]}),c.subscription?.expires&&i.jsxs("p",{children:[i.jsx("strong",{children:"Next Billing:"})," ",new Date(c.subscription.expires*1e3).toLocaleDateString()]})]}):i.jsx("div",{className:"notification is-warning is-light",children:i.jsx("p",{children:"Your subscription is being processed. Please check back in a few minutes."})}),g&&i.jsxs("p",{className:"is-size-7 has-text-grey mb-4",children:["Session ID: ",g]}),i.jsxs("div",{className:"buttons is-centered",children:[i.jsx(be,{to:"/",className:"button is-primary",children:"Go to Home"}),i.jsx(be,{to:"/profile",className:"button is-light",children:"View Profile"})]})]})})})})})},e2=()=>{const{user:l,isAuthenticated:o,isLoading:u,logout:c}=nt(),f=Wt(),[d,m]=j.useState(null),[g,y]=j.useState([]),[p,b]=j.useState([]),[x,w]=j.useState(!0),[N,E]=j.useState(null),[O,z]=j.useState(null),[_,q]=j.useState(""),[F,te]=j.useState(!1),[Z,oe]=j.useState(null),[$,ce]=j.useState(!1);j.useEffect(()=>{if(!u){if(!o){f("/login");return}if(l&&l.email_verified===0){f("/email-verify");return}}},[o,u,l,f]),j.useEffect(()=>{!u&&l&&(async()=>{if(l?.auth_token)try{w(!0);const se=await qt.getSubscriptionStatus(l.auth_token);if(se.logout){c();return}if(!se.has_subscription)m(null);else{m(se.subscription);const R=await qt.getSubscriptionUsers(l.auth_token);if(R.logout){c();return}R.ok&&(y(R.users||[]),b(R.invites||[]))}}catch(se){console.error("Error loading subscription data:",se),E("Failed to load subscription data")}finally{w(!1)}})()},[l,u,c]);const I=ye=>{if(ye===0)return"0 Bytes";const se=1024,R=["Bytes","KB","MB","GB"],X=Math.floor(Math.log(ye)/Math.log(se));return parseFloat((ye/Math.pow(se,X)).toFixed(2))+" "+R[X]},G=async ye=>{if(ye.preventDefault(),!l?.auth_token||!_.trim())return;let se;try{if(te(!0),E(null),z(null),se=await qt.inviteUser(l.auth_token,_.trim()),se.logout){c();return}if(se.ok){z("Invitation sent successfully!"),q("");const R=await qt.getSubscriptionUsers(l.auth_token);R.ok&&(y(R.users||[]),b(R.invites||[]))}else E(se.message||"Failed to send invitation")}catch(R){console.error("Error inviting user:",R),console.log(se),se&&se.message?E(se.message):E("An error occurred while sending the invitation.")}finally{te(!1)}},K=async ye=>{if(l?.auth_token&&confirm(`Are you sure you want to remove ${ye}?`))try{E(null),z(null);const se=await qt.deleteUser(l.auth_token,ye);if(se.logout){c();return}if(se.ok){z("User removed successfully");const R=await qt.getSubscriptionUsers(l.auth_token);R.ok&&(y(R.users||[]),b(R.invites||[]))}else E(se.message||"Failed to remove user")}catch(se){console.error("Error removing user:",se),E("An error occurred while removing the user")}},we=async ye=>{if(ye.preventDefault(),!(!l?.auth_token||!Z))try{ce(!0),E(null),z(null);const se=await qt.uploadSubscriptionImage(l.auth_token,Z);if(se.logout){c();return}if(se.ok){z("Image uploaded successfully! It will be processed shortly."),oe(null);const R=document.getElementById("image-upload");R&&(R.value="")}else E(se.message||"Failed to upload image")}catch(se){console.error("Error uploading image:",se),E("An error occurred while uploading the image")}finally{ce(!1)}},qe=()=>d?.stripe_manage_url?d.stripe_manage_url:null;return u||x?i.jsx(Ie,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("div",{className:"is-loading"}),i.jsx("p",{children:"Loading subscription details..."})]})}):i.jsx(Ie,{children:i.jsxs("div",{className:"container",children:[i.jsx("h1",{className:"title is-2",children:"Subscription Management"}),N&&i.jsxs("div",{className:"notification is-danger is-light",children:[i.jsx("button",{className:"delete",onClick:()=>E(null)}),N]}),O&&i.jsxs("div",{className:"notification is-success is-light",children:[i.jsx("button",{className:"delete",onClick:()=>z(null)}),O]}),d?i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"columns",children:[i.jsxs("div",{className:"column",children:[i.jsx("h2",{className:"title is-4",children:"Current Subscription"}),i.jsxs("p",{children:[i.jsx("strong",{children:"Plan:"})," ",d.type]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Storage:"})," ",I(d.used_storage)," / ",I(d.max_storage)]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Max Users:"})," ",d.max_users]}),i.jsxs("p",{children:[i.jsx("strong",{children:"Expires:"})," ",d.expires==0?"Never":new Date(d.expires*1e3).toLocaleDateString()]}),qe()&&i.jsx("a",{href:qe(),target:"_blank",rel:"noopener noreferrer",className:"button is-link",children:"Manage Subscription"})]}),d.custom_images&&i.jsxs("div",{className:"column",children:[i.jsx("h2",{className:"title is-4",children:"Custom Backgroun
570d Image"}),i.jsxs("div",{className:"columns",children:[i.jsx("div",{className:"column",children:i.jsxs("form",{onSubmit:we,children:[i.jsxs("div",{className:"field",children:[i.jsx("label",{className:"label",children:"Upload Background Image"}),i.jsx("div",{className:"control",children:i.jsx("div",{className:"file is-boxed",children:i.jsxs("label",{className:"file-label",children:[i.jsx("input",{id:"image-upload",className:"file-input",type:"file",accept:"image/jpeg,image/png,image/gif",onChange:ye=>oe(ye.target.files?.[0]||null)}),i.jsxs("span",{className:"file-cta",children:[i.jsx("span",{className:"file-icon",children:i.jsx(It,{icon:ef})}),i.jsx("span",{className:"file-label",children:"Choose files…"})]})]})})}),i.jsx("p",{className:"help",children:"Accepted formats: JPEG, PNG, GIF. Max size: 5MB"})]}),i.jsx("div",{className:"control",children:i.jsx("button",{type:"submit",className:`button is-primary ${$?"is-loading":""}`,disabled:!Z||$,children:"Upload Image"})})]})}),d.background_url&&i.jsxs("div",{className:"column",children:[i.jsx("p",{className:"help",children:"Current subscription background:"}),i.jsx("figure",{className:"image is-128x128",children:i.jsx("img",{src:`/images/${d.background_url}`,alt:"Current background",style:{objectFit:"cover"},onError:ye=>{ye.target.style.display="none"}})})]})]})]})]}),d.max_users>1&&i.jsxs(i.Fragment,{children:[i.jsx("h2",{className:"title is-4",children:"Invite User"}),i.jsx("form",{onSubmit:G,children:i.jsxs("div",{className:"field has-addons",children:[i.jsx("div",{className:"control is-expanded",children:i.jsx("input",{className:"input",type:"email",placeholder:"Enter email address",value:_,onChange:ye=>q(ye.target.value),required:!0})}),i.jsx("div",{className:"control",children:i.jsx("button",{type:"submit",className:`button is-primary ${F?"is-loading":""}`,disabled:F||!_.trim(),children:"Invite"})})]})}),i.jsx("h2",{className:"title is-4",children:"Users"}),g.length>0?i.jsxs("table",{className:"table is-fullwidth",children:[i.jsx("thead",{children:i.jsxs("tr",{children:[i.jsx("th",{children:"Name"}),i.jsx("th",{children:"Email"}),i.jsx("th",{children:"Actions"})]})}),i.jsx("tbody",{children:g.map((ye,se)=>i.jsxs("tr",{children:[i.jsx("td",{children:ye.fullname}),i.jsx("td",{children:ye.email}),i.jsx("td",{children:i.jsx("button",{className:"button is-small is-danger",onClick:()=>K(ye.email),children:"Remove"})})]},se))})]}):i.jsx("p",{children:"No users found."})]}),p.length>0&&i.jsxs(i.Fragment,{children:[i.jsx("h2",{className:"title is-4",children:"Invites"}),i.jsxs("table",{className:"table is-fullwidth",children:[i.jsx("thead",{children:i.jsxs("tr",{children:[i.jsx("th",{children:"Email"}),i.jsx("th",{children:"Actions"})]})}),i.jsx("tbody",{children:p.map((ye,se)=>i.jsxs("tr",{children:[i.jsx("td",{children:ye.email}),i.jsx("td",{children:i.jsx("button",{className:"button is-small is-danger",onClick:()=>K(ye.email),children:"Cancel Invite"})})]},se))})]})]})]}):i.jsxs("div",{children:[i.jsx("h2",{className:"title is-4",children:"No Active Subscription"}),i.jsx("p",{className:"mb-4",children:"You don't have an active subscription. Get started with one of our plans:"}),i.jsx(be,{to:"/pricing",className:"button is-primary",children:"View Pricing Plans"}),i.jsx(be,{to:"/license-code",className:"button",style:{marginLeft:"25px"},children:"Use License Code"})]})]})})},t2=()=>{const{token:l}=cy(),{user:o,isAuthenticated:u,login:c}=nt(),f=Wt(),[d,m]=j.useState(!1),[g,y]=j.useState(!1),[p,b]=j.useState(!1),[x,w]=j.useState(!1),[N,E]=j.useState(null),[O,z]=j.useState(null),[_,q]=j.useState({firstname:"",lastname:"",email:"",password:"",confirmPassword:"",terms:!1,marketing:!1}),[F,te]=j.useState({email:"",password:""});j.useEffect(()=>{if(!l){f("/");return}u&&o?.auth_token?Z():y(!0)},[l,u,o]);const Z=async()=>{if(!(!l||!o?.auth_token))try{b(!0),E(null);const I=await qt.acceptInvite(o.auth_token,l);if(I.logout){y(!0),E("Your session has expired. Please log in again.");return}I.ok&&I.subscription?(z("Invitation accepted successfully! You are now part of the team."),setTimeout(()=>{f("/subscription")},2e3)):E(I.message||"Failed to accept invitation")}catch(I){console.error("Error accepting invite:",I),E("An error occurred while accepting the invitation")}finally{b(!1)}},oe=async I=>{I.preventDefault();let G="";if(_.firstname.trim()||(G="Please enter your first name"),_.lastname.trim()||(G="Please enter your last name"),_.email.trim()||(G="Please enter your email address"),(!_.password||_.password!==_.confirmPassword)&&(G="Passwords do not match"),_.terms||(G="You must agree to the Terms of Service and Privacy Policy"),G){E(G);return}var K;try{if(w(!0),E(null),K=await xn.register({firstname:_.firstname.trim(),lastname:_.lastname.trim(),email:_.email.trim().toLowerCase(),password:_.password,terms:_.terms,marketing:_.marketing}),K.ok&&K.auth_token){const we={id:0,firstname:K.firstname,lastname:K.lastname,email:K.email,auth_token:K.auth_token,email_verified:K.email_verified||0};c(we)}else E(K.message||"Registration failed. Please try again.")}catch(we){console.error("Registration error:",we),K&&K.message?E(K.message):E("Registration failed. Please try again.")}finally{w(!1)}},$=async I=>{if(I.preventDefault(),!F.email.trim()||!F.password){E("Please enter both email and password");return}try{w(!0),E(null);const G=await xn.login(F.email.trim().toLowerCase(),F.password);if(G.ok&&G.auth_token){const K={id:0,firstname:G.firstname,lastname:G.lastname,email:G.email,auth_token:G.auth_token,email_verified:G.email_verified||0};c(K)}else E(G.message||"Login failed. Please try again.")}catch(G){console.error("Login error:",G),E("An error occurred during login")}finally{w(!1)}},ce=()=>{m(!d),y(!g),E(null)};return l?p?i.jsx(Ie,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("div",{className:"is-loading"}),i.jsx("p",{children:"Accepting invitation..."})]})}):O?i.jsx(Ie,{children:i.jsx("div",{className:"has-text-centered",children:i.jsxs("div",{className:"notification is-success is-light",children:[i.jsx("h1",{className:"title is-2",children:"Welcome to the Team!"}),i.jsx("p",{children:O}),i.jsx("p",{children:"Redirecting you to the subscription page..."})]})})}):i.jsx(Ie,{children:i.jsx("div",{className:"container",children:i.jsx("div",{className:"columns is-centered",children:i.jsxs("div",{className:"column is-half",children:[i.jsx("h1",{className:"title is-2 has-text-centered",children:"Accept Team Invitation"}),i.jsxs("p",{className:"has-text-centered mb-5",children:["You've been invited to join a FileSplash team.",u?" Click below to accept the invitation.":" Please log in or create an account to accept the invitation."]}),N&&i.jsxs("div",{className:"notification is-danger is-light",children:[i.jsx("button",{className:"delete",onClick:()=>E(null)}),N]}),u?i.jsx("div",{className:"has-text-centered",children:i.jsx(Le,{onClick:Z,isLoading:p,disabled:p,variant:"primary",size:"large",children:"Accept Invitation"})}):i.jsxs(i.Fragment,{children:[g&&!d&&i.jsxs("form",{onSubmit:$,children:[i.jsx("h2",{className:"title is-4",children:"Log In"}),i.jsx(Vn,{label:"Email",value:F.email,onChange:I=>te({...F,email:I.target.value}),required:!0}),i.jsx(Ya,{label:"Password",value:F.password,onChange:I=>te({...F,password:I.target.value}),required:!0}),i.jsx("div",{className:"field",children:i.jsx(Le,{type:"submit",isLoading:x,disabled:x,variant:"primary",isFullWidth:!0,children:"Log In & Accept Invitation"})}),i.jsx("div",{className:"has-text-centered",children:i.jsxs("p",{children:["Don't have an account?"," ",i.jsx("a",{onClick:ce,children:"Create one here"})]})})]}),d&&i.jsxs("form",{onSubmit:oe,children:[i.jsx("h2",{className:"title is-4",children:"Create Account"}),i.jsxs("div",{className:"columns",children:[i.jsx("div",{className:"column",children:i.jsx(pa,{label:"First Name",value:_.firstname,onChange:I=>q({..._,firstname:I.target.value}),required:!0})}),i.jsx("div",{className:"column",children:i.jsx(pa,{label:"Last Name",value:_.lastname,onChange:I=>q({..._,lastname:I.target.value}),required:!0})})]}),i.jsx(Vn,{label:"Email",value:_.email,onChange:I=>q({..._,email:I.target.value}),required:!0}),i.jsx(Ya,{label:"Password",value:_.password,onChange:I=>q({..._,password:I.target.value}),required:!0}),i.jsx(Ya,{label:"Confirm Password",value:_.confirmPassword,onChange:I=>q({..._,confirmPassword:I.target.value}),required:!0}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsxs("label",{className:"checkbox",children:[i.jsx("input",{type:"checkbox",checked:_.terms,onChange:I=>q({..._,terms:I.target.checked}),required:!0})," ","I agree to the ",i.jsx("a",{href:"/terms-of-service",target:"_blank",children:"Terms of Service"})," and ",i.jsx("a",{href:"/privacy-policy",target:"_blank",children:"Privacy Policy"})]})})}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsxs("label",{className:"checkbox",children:[i.jsx("input",{type:"checkbox",checked:_.marketing,onChange:I=>q({..._,marketing:I.target.checked})})," ","I would like to receive marketing emails"]})})}),i.jsx("div",{className:"field",children:i.jsx(Le,{type:"submit",isLoading:x,disabled:x||!_.terms,variant:"primary",isFullWidth:!0,children:"Create Account & Accept Invitation"})}),i.jsx("div",{className:"has-text-centered",children:i.jsxs("p",{children:["Already have an account?"," ",i.jsx("a",{onClick:ce,children:"Log in here"})]})})]})]})]})})})}):i.jsx(Ie,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("h1",{className:"title is-2",children:"Invalid Invitation"}
570),i.jsx("p",{children:"The invitation link is invalid or missing."})]})})},a2=()=>{const[l,o]=j.useState({name:"",email:"",url:"",description:"",terms:!1}),[u,c]=j.useState({}),[f,d]=j.useState(!1),[m,g]=j.useState(!1),y=(N,E)=>{o(O=>({...O,[N]:E})),u[N]&&c(O=>({...O,[N]:void 0})),u.general&&c(O=>({...O,general:void 0}))},p=N=>{if(!N.trim())return"Download URL is required";const E=N.trim(),O=/^https:\/\/filesplash\.com\/d\/([a-zA-Z0-9]{32})$/;return E.match(O)||/^[a-zA-Z0-9]{32}$/.test(E)?"":"Please enter a valid download URL like https://filesplash.com/d/9tr6oPd5Vs8SEfbSibM0QwuceI8ZnF9U or just the 32-character upload ID"},b=()=>{const N={};l.name.trim()||(N.name="Full name is required"),l.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(l.email)||(N.email="Please enter a valid email address"):N.email="Email address is required";const E=p(l.url);return E&&(N.url=E),l.description.trim()||(N.description="Description is required"),l.terms||(N.terms="You must accept the terms and conditions"),c(N),Object.keys(N).length===0},x=N=>{const E=N.trim();return E.startsWith("https://filesplash.com/d/")?E:/^[a-zA-Z0-9]{32}$/.test(E)?`https://filesplash.com/d/${E}`:E},w=async N=>{if(N.preventDefault(),!!b()){d(!0),c({});try{const E=x(l.url);await T0.submitDmcaRequest({name:l.name.trim(),email:l.email.trim(),url:E,description:l.description.trim()}),g(!0)}catch(E){c({general:E instanceof Error?E.message:"An error occurred while submitting your request. Please try again."})}finally{d(!1)}}};return m?i.jsx(Ie,{children:i.jsx("div",{className:"has-text-centered",children:i.jsx("div",{className:"columns is-centered",children:i.jsx("div",{className:"column is-6",children:i.jsxs("div",{className:"content",children:[i.jsx("h1",{className:"title is-3",children:"DMCA Request Submitted"}),i.jsx("p",{className:"subtitle is-5",children:"Thank you for your DMCA request. We will review your request and take appropriate action."}),i.jsx("div",{className:"mt-4",children:i.jsx(be,{to:"/",className:"button is-primary",children:"Return to Home"})})]})})})})}):i.jsx(Ie,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("h1",{className:"title is-2",children:"DMCA Takedown Request"}),i.jsx("p",{className:"subtitle is-4",children:"Submit a Digital Millennium Copyright Act (DMCA) takedown request"}),i.jsx("div",{className:"columns is-centered",children:i.jsxs("div",{className:"column is-6",children:[i.jsx("div",{className:"content has-text-left mb-5",children:i.jsx("p",{children:"If you believe that content hosted on FileSplash infringes your copyright, please complete this form to submit a DMCA takedown request. We will review your request and take appropriate action in accordance with the DMCA."})}),i.jsxs("form",{onSubmit:w,children:[u.general&&i.jsxs("div",{className:"notification is-danger",children:[i.jsx("button",{className:"delete",type:"button",onClick:()=>c(N=>({...N,general:void 0})),"aria-label":"Close notification"}),u.general]}),i.jsx(pa,{label:"Full Name",value:l.name,onChange:N=>y("name",N.target.value),placeholder:"Enter your full name",required:!0,error:u.name,autoComplete:"name"}),i.jsx(Vn,{label:"Email Address",value:l.email,onChange:N=>y("email",N.target.value),placeholder:"Enter your email address",required:!0,error:u.email,autoComplete:"email",validateOnBlur:!1}),i.jsx(pa,{label:"Download URL",value:l.url,onChange:N=>y("url",N.target.value),placeholder:"https://filesplash.com/d/9tr6oPd5Vs8SEfbSibM0QwuceI8ZnF9U",required:!0,error:u.url,type:"url"}),i.jsx("p",{className:"help",children:"Enter the full download URL"}),i.jsx(PS,{label:"Description",value:l.description,onChange:N=>y("description",N.target.value),placeholder:"Please describe the copyrighted work and explain how it is being infringed...",required:!0,error:u.description,rows:6}),i.jsx(Ts,{label:i.jsx("span",{children:"I have a good faith belief that the use of the copyrighted material described above is not authorized by the copyright owner, its agent, or the law. I swear, under penalty of perjury, that the information in this notification is accurate and that I am the copyright owner or am authorized to act on behalf of the copyright owner."}),checked:l.terms,onChange:N=>y("terms",N.target.checked),required:!0,error:u.terms}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsx(Le,{type:"submit",variant:"primary",size:"medium",isFullWidth:!0,isLoading:f,disabled:f,children:f?"
570Submitting Request...":"Submit DMCA Request"})})})]})]})})]})})},n2=()=>{const{user:l,isAuthenticated:o,isLoading:u,logout:c}=nt(),f=Wt(),[d,m]=j.useState([]),[g,y]=j.useState(!0),[p,b]=j.useState(null),[x,w]=j.useState(!1),[N,E]=j.useState(!1),[O,z]=j.useState(null),[_,q]=j.useState(null);j.useEffect(()=>{if(!u){if(!o){f("/login");return}if(l&&l.email_verified===0){f("/email-verify");return}}},[o,u,l,f]);const F=G=>{if(G===0)return"0 Bytes";const K=1024,we=["Bytes","KB","MB","GB"],qe=Math.floor(Math.log(G)/Math.log(K));return parseFloat((G/Math.pow(K,qe)).toFixed(2))+" "+we[qe]},te=G=>{if(G<=0)return"Expired";let K=Math.floor(G/(1440*60)),we=Math.floor(G%(1440*60)/3600),qe=Math.floor(G%3600/60);if(K>0){if(K>31){let ye=Math.ceil(K/30);return K=K%30,`${ye} months ${K} days`}else if(K>14)return`${Math.ceil(K/7)} weeks`;return`${K} days ${we} hours`}else return we>0?`${we} hours ${qe} minutes`:`${qe} minutes`},Z=async()=>{if(l?.auth_token)try{y(!0),b(null);const G=await iu.getTransfers(l.auth_token);if(G.logout){c();return}if(!G.ok){b(G.message||"Failed to load transfers");return}m(G.transfers||[]);try{const K=await qt.getSubscriptionStatus(l.auth_token);K.ok&&!K.logout&&w(K.has_subscription)}catch{w(!1)}}catch(G){b(G instanceof Error?G.message:"An error occurred")}finally{y(!1)}},oe=async()=>{if(!(!O||!l?.auth_token))try{q("delete");const G=await iu.deleteTransfer({auth_token:l.auth_token,id:O.id});if(G.logout){c();return}if(!G.ok){b(G.message||"Failed to delete transfer");return}m(K=>K.filter(we=>
570we.id!==O.id)),E(!1),z(null)}catch(G){b(G instanceof Error?G.message:"An error occurred")}finally{q(null)}},$=async G=>{if(l?.auth_token)try{q(G.id);const K=await iu.extendTransfer({auth_token:l.auth_token,id:G.id});if(K.logout){c();return}if(!K.ok){b(K.message||"Failed to extend transfer");return}m(we=>we.map(qe=>qe.id===G.id?{...qe,expires:qe.expires+604800}:qe))}catch(K){b(K instanceof Error?K.message:"An error occurred")}finally{q(null)}},ce=G=>{z(G),E(!0)},I=()=>{E(!1),z(null)};return j.useEffect(()=>{Z()},[l]),l?i.jsx(Ie,{children:i.jsxs("div",{className:"container",children:[i.jsxs("div",{className:"section",children:[i.jsx("h1",{className:"title",children:"Transfers"}),i.jsx("p",{className:"subtitle",children:"Manage your uploaded files"}),p&&i.jsxs("div",{className:"notification is-danger",children:[i.jsx("button",{className:"delete",onClick:()=>b(null)}),p]}),g?i.jsxs("div",{className:"has-text-centered",children:[i.jsx("div",{className:"loader"}),i.jsx("p",{children:"Loading transfers..."})]}):d.length===0?i.jsx("div",{className:"notification is-info",children:i.jsxs("p",{children:["You don't have any active transfers. ",i.jsx(be,{to:"/",children:"Upload some files"})," to get started!"]})}):i.jsx("div",{className:"table-container",children:i.jsxs("table",{className:"table is-fullwidth is-striped is-hoverable",children:[i.jsx("thead",{children:i.jsxs("tr",{children:[i.jsx("th",{children:"Title"}),i.jsx("th",{children:"Size"}),i.jsx("th",{children:"Expires In"}),i.jsx("th",{children:"Actions"})]})}),i.jsx("tbody",{children:d.map(G=>i.jsxs("tr",{children:[i.jsx("td",{children:i.jsx(be,{to:`/d/${G.id}`,className:"has-text-primary",title:"View download page",children:G.title})}),i.jsx("td",{children:F(G.size)}),i.jsx("td",{children:i.jsx("span",{className:G.expires<86400?"has-text-danger":"",children:te(G.expires)})}),i.jsx("td",{children:i.jsxs("div",{className:"buttons",children:[x&&i.jsx("button",{className:`button is-small ${_===G.id?"is-loading":""}`,onClick:()=>$(G),disabled:_!==null,title:"Extend expiry by 1 week",children:"Extend Expiry"}),i.jsx("button",{className:"button is-small is-danger",onClick:()=>ce(G),disabled:_!==null,title:"Delete this transfer",children:"Delete"})]})})]},G.id))})]})})]}),i.jsxs("div",{className:`modal ${N?"is-active":""}`,children:[i.jsx("div",{className:"modal-background",onClick:I}),i.jsxs("div",{className:"modal-card",children:[i.jsxs("header",{className:"modal-card-head",children:[i.jsx("p",{className:"modal-card-title",children:"Confirm Delete"}),i.jsx("button",{className:"delete","aria-label":"close",onClick:I})]}),i.jsxs("section",{className:"modal-card-body",children:[i.jsxs("p",{children:["Are you sure you want to delete the transfer ",i.jsxs("strong",{children:['"',O?.title,'"']}),"?"]}),i.jsx("p",{className:"has-text-danger mt-3",children:"This action cannot be undone. All files in this transfer will be permanently deleted."})]}),i.jsxs("footer",{className:"modal-card-foot",children:[i.jsx("button",{className:`button is-danger ${_==="delete"?"is-loading":""}`,style:{marginRight:"15px"},onClick:oe,disabled:_!==null,children:"Delete Transfer"})," ",i.jsx("button",{className:"button",onClick:I,disabled:_!==null,children:"Cancel"})]})]})]})]})}):i.jsx(Ie,{children:i.jsx("div",{className:"container",children:i.jsx("div",{className:"notification is-warning",children:i.jsxs("p",{children:["Please ",i.jsx(be,{to:"/login",children:"login"})," to view your transfers."]})})})})},i2=()=>{const l=Wt(),{isAuthenticated:o,user:u,logout:c,isLoading:f}=nt(),[d,m]=j.useState(""),[g,y]=j.useState(!1),[p,b]=j.useState(""),[x,w]=j.useState("");if(j.useEffect(()=>{if(!f){if(!o){l("/login");return}if(u&&(!u.email_verified||u.email_verified===0)){l("/email-verify");return}}},[o,u,f,l]),f||!o||!u||!u.email_verified||u.email_verified===0)return null;const N=async E=>{if(E.preventDefault(),b(""),w(""),!d.trim()){b("Please enter a license code");return}y(!0);try{const O=await _0.takeLicenseCode({auth_token:u.auth_token,code:d.trim()});if(O.ok)w("License code successfully activated! Your subscription has been updated."),m("");else{if(O.logout){c();return}b(O.message||"Failed to activate license code")}}catch(O){console.error("License code activation error:",O),b("An error occurred while activating the license code. Please try again.")}finally{y(!1)}};return i.jsx(tf,{children:i.jsxs("div",{className:"has-text-centered",children:[i.jsx("h1",{className:"title is-2",children:"License C
570ode"}),i.jsx("p",{className:"subtitle is-4",children:"Activate your FileSplash license"}),i.jsxs("form",{onSubmit:N,children:[x&&i.jsxs("div",{className:"notification is-success",children:[i.jsx("button",{className:"delete",type:"button",onClick:()=>w(""),"aria-label":"Close notification"}),x]}),p&&i.jsxs("div",{className:"notification is-danger",children:[i.jsx("button",{className:"delete",type:"button",onClick:()=>b(""),"aria-label":"Close notification"}),p]}),i.jsx(pa,{label:"License Code",value:d,onChange:E=>m(E.target.value),placeholder:"Enter your license code (e.g., xxxx-xxxxxxxx-xxxxxxxx)",required:!0,disabled:g,maxLength:27,pattern:"[0-9]{4}-[a-zA-Z0-9]{8}-[a-zA-Z0-9]{8}"}),i.jsx("div",{className:"field",children:i.jsx("div",{className:"control",children:i.jsx(Le,{type:"submit",variant:"primary",size:"medium",isFullWidth:!0,isLoading:g,disabled:g||!d.trim(),children:g?"Activating License...":"Add License"})})})]})]})})};function l2(){return i.jsx(A0,{children:i.jsx(z0,{children:i.jsx(y0,{children:i.jsx(mS,{children:i.jsxs(Vx,{children:[i.jsx(Ze,{path:"/",element:i.jsx(xS,{})}),i.jsx(Ze,{path:"/pricing",element:i.jsx(jS,{})}),i.jsx(Ze,{path:"/login",element:i.jsx(ES,{})}),i.jsx(Ze,{path:"/register",element:i.jsx(zS,{})}),i.jsx(Ze,{path:"/forgot-password",element:i.jsx(MS,{})}),i.jsx(Ze,{path:"/forgot-password/success",element:i.jsx(RS,{})}),i.jsx(Ze,{path:"/forgot-password/fail",element:i.jsx(US,{})}),i.jsx(Ze,{path:"/email-verify",element:i.jsx(HS,{})}),i.jsx(Ze,{path:"/email-verify/success",element:i.jsx(BS,{})}),i.jsx(Ze,{path:"/email-verify/fail",element:i.jsx(YS,{})}),i.jsx(Ze,{path:"/privacy-policy",element:i.jsx(FS,{})}),i.jsx(Ze,{path:"/terms-of-service",element:i.jsx(GS,{})}),i.jsx(Ze,{path:"/form-demo",element:i.jsx(XS,{})}),i.jsx(Ze,{path:"/profile",element:i.jsx(IS,{})}),i.jsx(Ze,{path:"/subscription",element:i.jsx(e2,{})}),i.jsx(Ze,{path:"/invite-accept/:token",element:i.jsx(t2,{})}),i.jsx(Ze,{path:"/d/:upload_id",element:i.jsx(JS,{})}),i.jsx(Ze,{path:"/subscription-success",element:i.jsx(WS,{})}),i.jsx(Ze,{path:"/dmca",element:i.jsx(a2,{})}),i.jsx(Ze,{path:"/transfers",element:i.jsx(n2,{})}),i.jsx(Ze,{path:"/license-code",element:i.jsx(i2,{})})]})})})})})}Xw.add(Wu,Cg,ef,Ju,ku);tx.createRoot(document.getElementById("root")).render(i.jsx(j.StrictMode,{children:i.jsx(l2,{})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.