From d48f4eb4b56499109984d09414d2dc92afc78361 Mon Sep 17 00:00:00 2001 From: eshanized Date: Fri, 27 Dec 2024 22:38:11 +0530 Subject: [PATCH] Updates --- main.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/main.js b/main.js index 4ceaa18a..6205ecd0 100644 --- a/main.js +++ b/main.js @@ -1,5 +1,5 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-B2QkArYy.js","assets/proxy-DPp9lXkG.js","assets/users-Bjd2Q3fX.js","assets/star-ULTsXjFw.js","assets/wifi-CD8OR96J.js","assets/terminal-DUBj4IUX.js","assets/About-SZ-ijCmv.js","assets/Features-CF7KU7eP.js","assets/Download-DWvMFQZR.js","assets/check-GdsoDH1T.js","assets/map-pin-FndLqqsR.js","assets/Developers-Ddn1LvUS.js","assets/Donate-D7xndTTD.js","assets/Gallery-DXEfm09p.js"])))=>i.map(i=>d[i]); -var fu=e=>{throw TypeError(e)};var Uo=(e,t,n)=>t.has(e)||fu("Cannot "+n);var S=(e,t,n)=>(Uo(e,t,"read from private field"),n?n.call(e):t.get(e)),$=(e,t,n)=>t.has(e)?fu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),M=(e,t,n,r)=>(Uo(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),de=(e,t,n)=>(Uo(e,t,"access private method"),n);var pl=(e,t,n,r)=>({set _(l){M(e,t,l,n)},get _(){return S(e,t,r)}});function If(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Df(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xa={exports:{}},wo={},Za={exports:{}},I={};/** +var pu=e=>{throw TypeError(e)};var Uo=(e,t,n)=>t.has(e)||pu("Cannot "+n);var S=(e,t,n)=>(Uo(e,t,"read from private field"),n?n.call(e):t.get(e)),B=(e,t,n)=>t.has(e)?pu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),M=(e,t,n,r)=>(Uo(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),de=(e,t,n)=>(Uo(e,t,"access private method"),n);var pl=(e,t,n,r)=>({set _(l){M(e,t,l,n)},get _(){return S(e,t,r)}});function If(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Df(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Za={exports:{}},wo={},Ja={exports:{}},I={};/** * @license React * react.production.min.js * @@ -7,7 +7,7 @@ var fu=e=>{throw TypeError(e)};var Uo=(e,t,n)=>t.has(e)||fu("Cannot "+n);var S=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var rl=Symbol.for("react.element"),Af=Symbol.for("react.portal"),Uf=Symbol.for("react.fragment"),Bf=Symbol.for("react.strict_mode"),$f=Symbol.for("react.profiler"),Qf=Symbol.for("react.provider"),Vf=Symbol.for("react.context"),Hf=Symbol.for("react.forward_ref"),Wf=Symbol.for("react.suspense"),Kf=Symbol.for("react.memo"),Gf=Symbol.for("react.lazy"),pu=Symbol.iterator;function bf(e){return e===null||typeof e!="object"?null:(e=pu&&e[pu]||e["@@iterator"],typeof e=="function"?e:null)}var Ja={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ec=Object.assign,tc={};function or(e,t,n){this.props=e,this.context=t,this.refs=tc,this.updater=n||Ja}or.prototype.isReactComponent={};or.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};or.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function nc(){}nc.prototype=or.prototype;function ps(e,t,n){this.props=e,this.context=t,this.refs=tc,this.updater=n||Ja}var hs=ps.prototype=new nc;hs.constructor=ps;ec(hs,or.prototype);hs.isPureReactComponent=!0;var hu=Array.isArray,rc=Object.prototype.hasOwnProperty,ms={current:null},lc={key:!0,ref:!0,__self:!0,__source:!0};function oc(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)rc.call(t,r)&&!lc.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1{throw TypeError(e)};var Uo=(e,t,n)=>t.has(e)||fu("Cannot "+n);var S=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var tp=P,np=Symbol.for("react.element"),rp=Symbol.for("react.fragment"),lp=Object.prototype.hasOwnProperty,op=tp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ip={key:!0,ref:!0,__self:!0,__source:!0};function sc(e,t,n){var r,l={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)lp.call(t,r)&&!ip.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:np,type:e,key:o,ref:i,props:l,_owner:op.current}}wo.Fragment=rp;wo.jsx=sc;wo.jsxs=sc;Xa.exports=wo;var E=Xa.exports,uc={exports:{}},Me={},ac={exports:{}},cc={};/** + */var tp=P,np=Symbol.for("react.element"),rp=Symbol.for("react.fragment"),lp=Object.prototype.hasOwnProperty,op=tp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ip={key:!0,ref:!0,__self:!0,__source:!0};function uc(e,t,n){var r,l={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)lp.call(t,r)&&!ip.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:np,type:e,key:o,ref:i,props:l,_owner:op.current}}wo.Fragment=rp;wo.jsx=uc;wo.jsxs=uc;Za.exports=wo;var E=Za.exports,ac={exports:{}},Me={},cc={exports:{}},dc={};/** * @license React * scheduler.production.min.js * @@ -23,7 +23,7 @@ var fu=e=>{throw TypeError(e)};var Uo=(e,t,n)=>t.has(e)||fu("Cannot "+n);var S=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(R,T){var O=R.length;R.push(T);e:for(;0>>1,le=R[U];if(0>>1;Ul(Ao,O))Jtl(fl,Ao)?(R[U]=fl,R[Jt]=O,U=Jt):(R[U]=Ao,R[Zt]=O,U=Zt);else if(Jtl(fl,O))R[U]=fl,R[Jt]=O,U=Jt;else break e}}return T}function l(R,T){var O=R.sortIndex-T.sortIndex;return O!==0?O:R.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],a=[],h=1,d=null,m=3,g=!1,w=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(R){for(var T=n(a);T!==null;){if(T.callback===null)r(a);else if(T.startTime<=R)r(a),T.sortIndex=T.expirationTime,t(u,T);else break;T=n(a)}}function y(R){if(v=!1,p(R),!w)if(n(u)!==null)w=!0,wt(C);else{var T=n(a);T!==null&&kn(y,T.startTime-R)}}function C(R,T){w=!1,v&&(v=!1,f(_),_=-1),g=!0;var O=m;try{for(p(T),d=n(u);d!==null&&(!(d.expirationTime>T)||R&&!ye());){var U=d.callback;if(typeof U=="function"){d.callback=null,m=d.priorityLevel;var le=U(d.expirationTime<=T);T=e.unstable_now(),typeof le=="function"?d.callback=le:d===n(u)&&r(u),p(T)}else r(u);d=n(u)}if(d!==null)var dl=!0;else{var Zt=n(a);Zt!==null&&kn(y,Zt.startTime-T),dl=!1}return dl}finally{d=null,m=O,g=!1}}var N=!1,j=null,_=-1,D=5,F=-1;function ye(){return!(e.unstable_now()-FR||125U?(R.sortIndex=O,t(a,R),n(u)===null&&R===n(a)&&(v?(f(_),_=-1):v=!0,kn(y,O-U))):(R.sortIndex=le,t(u,R),w||g||(w=!0,wt(C))),R},e.unstable_shouldYield=ye,e.unstable_wrapCallback=function(R){var T=m;return function(){var O=m;m=T;try{return R.apply(this,arguments)}finally{m=O}}}})(cc);ac.exports=cc;var sp=ac.exports;/** + */(function(e){function t(R,O){var T=R.length;R.push(O);e:for(;0>>1,le=R[U];if(0>>1;Ul(Ao,T))Jtl(fl,Ao)?(R[U]=fl,R[Jt]=T,U=Jt):(R[U]=Ao,R[Zt]=T,U=Zt);else if(Jtl(fl,T))R[U]=fl,R[Jt]=T,U=Jt;else break e}}return O}function l(R,O){var T=R.sortIndex-O.sortIndex;return T!==0?T:R.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],a=[],h=1,d=null,m=3,g=!1,w=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(R){for(var O=n(a);O!==null;){if(O.callback===null)r(a);else if(O.startTime<=R)r(a),O.sortIndex=O.expirationTime,t(u,O);else break;O=n(a)}}function y(R){if(v=!1,p(R),!w)if(n(u)!==null)w=!0,wt(C);else{var O=n(a);O!==null&&En(y,O.startTime-R)}}function C(R,O){w=!1,v&&(v=!1,f(_),_=-1),g=!0;var T=m;try{for(p(O),d=n(u);d!==null&&(!(d.expirationTime>O)||R&&!ye());){var U=d.callback;if(typeof U=="function"){d.callback=null,m=d.priorityLevel;var le=U(d.expirationTime<=O);O=e.unstable_now(),typeof le=="function"?d.callback=le:d===n(u)&&r(u),p(O)}else r(u);d=n(u)}if(d!==null)var dl=!0;else{var Zt=n(a);Zt!==null&&En(y,Zt.startTime-O),dl=!1}return dl}finally{d=null,m=T,g=!1}}var N=!1,j=null,_=-1,D=5,F=-1;function ye(){return!(e.unstable_now()-FR||125U?(R.sortIndex=T,t(a,R),n(u)===null&&R===n(a)&&(v?(f(_),_=-1):v=!0,En(y,T-U))):(R.sortIndex=le,t(u,R),w||g||(w=!0,wt(C))),R},e.unstable_shouldYield=ye,e.unstable_wrapCallback=function(R){var O=m;return function(){var T=m;m=O;try{return R.apply(this,arguments)}finally{m=T}}}})(dc);cc.exports=dc;var sp=cc.exports;/** * @license React * react-dom.production.min.js * @@ -31,14 +31,14 @@ var fu=e=>{throw TypeError(e)};var Uo=(e,t,n)=>t.has(e)||fu("Cannot "+n);var S=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var up=P,Le=sp;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vi=Object.prototype.hasOwnProperty,ap=/^[: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]*$/,vu={},yu={};function cp(e){return vi.call(yu,e)?!0:vi.call(vu,e)?!1:ap.test(e)?yu[e]=!0:(vu[e]=!0,!1)}function dp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function fp(e,t,n,r){if(t===null||typeof t>"u"||dp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new Ee(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ce[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var ys=/[\-:]([a-z])/g;function gs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ys,gs);ce[t]=new Ee(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ys,gs);ce[t]=new Ee(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ys,gs);ce[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function ws(e,t,n,r){var l=ce.hasOwnProperty(t)?ce[t]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vi=Object.prototype.hasOwnProperty,ap=/^[: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]*$/,yu={},gu={};function cp(e){return vi.call(gu,e)?!0:vi.call(yu,e)?!1:ap.test(e)?gu[e]=!0:(yu[e]=!0,!1)}function dp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function fp(e,t,n,r){if(t===null||typeof t>"u"||dp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new Ee(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ce[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var ys=/[\-:]([a-z])/g;function gs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ys,gs);ce[t]=new Ee(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ys,gs);ce[t]=new Ee(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ys,gs);ce[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function ws(e,t,n,r){var l=ce.hasOwnProperty(t)?ce[t]:null;(l!==null?l.type!==0:r||!(2s||l[i]!==o[s]){var u=` -`+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{Qo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function pp(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Vo(e.type,!1),e;case 11:return e=Vo(e.type.render,!1),e;case 1:return e=Vo(e.type,!0),e;default:return""}}function xi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pn:return"Fragment";case Cn:return"Portal";case yi:return"Profiler";case xs:return"StrictMode";case gi:return"Suspense";case wi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pc:return(e.displayName||"Context")+".Consumer";case fc:return(e._context.displayName||"Context")+".Provider";case Ss:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ks:return t=e.displayName||null,t!==null?t:xi(e.type)||"Memo";case Pt:t=e._payload,e=e._init;try{return xi(e(t))}catch{}}return null}function hp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xi(t);case 8:return t===xs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mp(e){var t=mc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vl(e){e._valueTracker||(e._valueTracker=mp(e))}function vc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Si(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Kt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function yc(e,t){t=t.checked,t!=null&&ws(e,"checked",t,!1)}function ki(e,t){yc(e,t);var n=Kt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ei(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ei(e,t.type,Kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function xu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ei(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Sr=Array.isArray;function In(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=yl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},vp=["Webkit","ms","Moz","O"];Object.keys(Cr).forEach(function(e){vp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cr[t]=Cr[e]})});function Sc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cr.hasOwnProperty(e)&&Cr[e]?(""+t).trim():t+"px"}function kc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Sc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var yp=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _i(e,t){if(t){if(yp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function Ni(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ri=null;function Es(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zi=null,Dn=null,An=null;function Eu(e){if(e=il(e)){if(typeof zi!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Co(t),zi(e.stateNode,e.type,t))}}function Ec(e){Dn?An?An.push(e):An=[e]:Dn=e}function Cc(){if(Dn){var e=Dn,t=An;if(An=Dn=null,Eu(e),t)for(e=0;e>>=0,e===0?32:31-(Rp(e)/zp|0)|0}var gl=64,wl=4194304;function kr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ql(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~l;s!==0?r=kr(s):(o&=i,o!==0&&(r=kr(o)))}else i=n&~l,i!==0?r=kr(i):o!==0&&(r=kr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ll(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qe(t),e[t]=n}function Lp(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=_r),Ou=" ",Lu=!1;function Hc(e,t){switch(e){case"keyup":return sh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _n=!1;function ah(e,t){switch(e){case"compositionend":return Wc(t);case"keypress":return t.which!==32?null:(Lu=!0,Ou);case"textInput":return e=t.data,e===Ou&&Lu?null:e;default:return null}}function ch(e,t){if(_n)return e==="compositionend"||!Ts&&Hc(e,t)?(e=Qc(),Il=Rs=Mt=null,_n=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Du(n)}}function qc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yc(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function Os(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function wh(e){var t=Yc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&qc(n.ownerDocument.documentElement,n)){if(r!==null&&Os(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Au(n,o);var i=Au(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Nn=null,Fi=null,Rr=null,Ii=!1;function Uu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ii||Nn==null||Nn!==Wl(r)||(r=Nn,"selectionStart"in r&&Os(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rr&&$r(Rr,r)||(Rr=r,r=Zl(Fi,"onSelect"),0jn||(e.current=Qi[jn],Qi[jn]=null,jn--)}function V(e,t){jn++,Qi[jn]=e.current,e.current=t}var Gt={},ve=qt(Gt),_e=qt(!1),fn=Gt;function Jn(e,t){var n=e.type.contextTypes;if(!n)return Gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ne(e){return e=e.childContextTypes,e!=null}function eo(){K(_e),K(ve)}function Ku(e,t,n){if(ve.current!==Gt)throw Error(k(168));V(ve,t),V(_e,n)}function od(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(k(108,hp(e)||"Unknown",l));return Y({},n,r)}function to(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gt,fn=ve.current,V(ve,e),V(_e,_e.current),!0}function Gu(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=od(e,t,fn),r.__reactInternalMemoizedMergedChildContext=e,K(_e),K(ve),V(ve,e)):K(_e),V(_e,n)}var at=null,Po=!1,ri=!1;function id(e){at===null?at=[e]:at.push(e)}function Th(e){Po=!0,id(e)}function Yt(){if(!ri&&at!==null){ri=!0;var e=0,t=Q;try{var n=at;for(Q=1;e>=i,l-=i,ct=1<<32-qe(t)+l|n<_?(D=j,j=null):D=j.sibling;var F=m(f,j,p[_],y);if(F===null){j===null&&(j=D);break}e&&j&&F.alternate===null&&t(f,j),c=o(F,c,_),N===null?C=F:N.sibling=F,N=F,j=D}if(_===p.length)return n(f,j),G&&en(f,_),C;if(j===null){for(;__?(D=j,j=null):D=j.sibling;var ye=m(f,j,F.value,y);if(ye===null){j===null&&(j=D);break}e&&j&&ye.alternate===null&&t(f,j),c=o(ye,c,_),N===null?C=ye:N.sibling=ye,N=ye,j=D}if(F.done)return n(f,j),G&&en(f,_),C;if(j===null){for(;!F.done;_++,F=p.next())F=d(f,F.value,y),F!==null&&(c=o(F,c,_),N===null?C=F:N.sibling=F,N=F);return G&&en(f,_),C}for(j=r(f,j);!F.done;_++,F=p.next())F=g(j,f,_,F.value,y),F!==null&&(e&&F.alternate!==null&&j.delete(F.key===null?_:F.key),c=o(F,c,_),N===null?C=F:N.sibling=F,N=F);return e&&j.forEach(function(B){return t(f,B)}),G&&en(f,_),C}function x(f,c,p,y){if(typeof p=="object"&&p!==null&&p.type===Pn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case ml:e:{for(var C=p.key,N=c;N!==null;){if(N.key===C){if(C=p.type,C===Pn){if(N.tag===7){n(f,N.sibling),c=l(N,p.props.children),c.return=f,f=c;break e}}else if(N.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Pt&&Yu(C)===N.type){n(f,N.sibling),c=l(N,p.props),c.ref=mr(f,N,p),c.return=f,f=c;break e}n(f,N);break}else t(f,N);N=N.sibling}p.type===Pn?(c=dn(p.props.children,f.mode,y,p.key),c.return=f,f=c):(y=Hl(p.type,p.key,p.props,null,f.mode,y),y.ref=mr(f,c,p),y.return=f,f=y)}return i(f);case Cn:e:{for(N=p.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=l(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=di(p,f.mode,y),c.return=f,f=c}return i(f);case Pt:return N=p._init,x(f,c,N(p._payload),y)}if(Sr(p))return w(f,c,p,y);if(cr(p))return v(f,c,p,y);_l(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,p),c.return=f,f=c):(n(f,c),c=ci(p,f.mode,y),c.return=f,f=c),i(f)):n(f,c)}return x}var tr=cd(!0),dd=cd(!1),lo=qt(null),oo=null,Ln=null,Is=null;function Ds(){Is=Ln=oo=null}function As(e){var t=lo.current;K(lo),e._currentValue=t}function Wi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Bn(e,t){oo=e,Is=Ln=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pe=!0),e.firstContext=null)}function $e(e){var t=e._currentValue;if(Is!==e)if(e={context:e,memoizedValue:t,next:null},Ln===null){if(oo===null)throw Error(k(308));Ln=e,oo.dependencies={lanes:0,firstContext:e}}else Ln=Ln.next=e;return t}var rn=null;function Us(e){rn===null?rn=[e]:rn.push(e)}function fd(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Us(t)):(n.next=l.next,l.next=n),t.interleaved=n,mt(e,r)}function mt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var _t=!1;function Bs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function pd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ft(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $t(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,mt(e,n)}return l=r.interleaved,l===null?(t.next=t,Us(r)):(t.next=l.next,l.next=t),r.interleaved=t,mt(e,n)}function Al(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}function Xu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function io(e,t,n,r){var l=e.updateQueue;_t=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,a=u.next;u.next=null,i===null?o=a:i.next=a,i=u;var h=e.alternate;h!==null&&(h=h.updateQueue,s=h.lastBaseUpdate,s!==i&&(s===null?h.firstBaseUpdate=a:s.next=a,h.lastBaseUpdate=u))}if(o!==null){var d=l.baseState;i=0,h=a=u=null,s=o;do{var m=s.lane,g=s.eventTime;if((r&m)===m){h!==null&&(h=h.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,v=s;switch(m=t,g=n,v.tag){case 1:if(w=v.payload,typeof w=="function"){d=w.call(g,d,m);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=v.payload,m=typeof w=="function"?w.call(g,d,m):w,m==null)break e;d=Y({},d,m);break e;case 2:_t=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[s]:m.push(s))}else g={eventTime:g,lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},h===null?(a=h=g,u=d):h=h.next=g,i|=m;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;m=s,s=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(h===null&&(u=d),l.baseState=u,l.firstBaseUpdate=a,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);mn|=i,e.lanes=i,e.memoizedState=d}}function Zu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{Q=n,oi.transition=r}}function jd(){return Qe().memoizedState}function Fh(e,t,n){var r=Vt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Td(e))Od(t,n);else if(n=fd(e,t,n,r),n!==null){var l=Se();Ye(n,e,r,l),Ld(n,t,r)}}function Ih(e,t,n){var r=Vt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Td(e))Od(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,Xe(s,i)){var u=t.interleaved;u===null?(l.next=l,Us(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=fd(e,t,l,r),n!==null&&(l=Se(),Ye(n,e,r,l),Ld(n,t,r))}}function Td(e){var t=e.alternate;return e===q||t!==null&&t===q}function Od(e,t){zr=uo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ld(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}var ao={readContext:$e,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},Dh={readContext:$e,useCallback:function(e,t){return Je().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:ea,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bl(4194308,4,Pd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bl(4,2,e,t)},useMemo:function(e,t){var n=Je();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Je();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Fh.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=Je();return e={current:e},t.memoizedState=e},useState:Ju,useDebugValue:bs,useDeferredValue:function(e){return Je().memoizedState=e},useTransition:function(){var e=Ju(!1),t=e[0];return e=Mh.bind(null,e[1]),Je().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,l=Je();if(G){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),ie===null)throw Error(k(349));hn&30||yd(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,ea(wd.bind(null,r,o,e),[e]),r.flags|=2048,qr(9,gd.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Je(),t=ie.identifierPrefix;if(G){var n=dt,r=ct;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gr++,0")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{Qo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function pp(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Vo(e.type,!1),e;case 11:return e=Vo(e.type.render,!1),e;case 1:return e=Vo(e.type,!0),e;default:return""}}function xi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _n:return"Fragment";case Pn:return"Portal";case yi:return"Profiler";case xs:return"StrictMode";case gi:return"Suspense";case wi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hc:return(e.displayName||"Context")+".Consumer";case pc:return(e._context.displayName||"Context")+".Provider";case Ss:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ks:return t=e.displayName||null,t!==null?t:xi(e.type)||"Memo";case Pt:t=e._payload,e=e._init;try{return xi(e(t))}catch{}}return null}function hp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xi(t);case 8:return t===xs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function vc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mp(e){var t=vc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vl(e){e._valueTracker||(e._valueTracker=mp(e))}function yc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=vc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Si(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Kt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function gc(e,t){t=t.checked,t!=null&&ws(e,"checked",t,!1)}function ki(e,t){gc(e,t);var n=Kt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ei(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ei(e,t.type,Kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Su(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ei(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Sr=Array.isArray;function Dn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=yl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},vp=["Webkit","ms","Moz","O"];Object.keys(Cr).forEach(function(e){vp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cr[t]=Cr[e]})});function kc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cr.hasOwnProperty(e)&&Cr[e]?(""+t).trim():t+"px"}function Ec(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=kc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var yp=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _i(e,t){if(t){if(yp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function Ni(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ri=null;function Es(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zi=null,An=null,Un=null;function Cu(e){if(e=il(e)){if(typeof zi!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Co(t),zi(e.stateNode,e.type,t))}}function Cc(e){An?Un?Un.push(e):Un=[e]:An=e}function Pc(){if(An){var e=An,t=Un;if(Un=An=null,Cu(e),t)for(e=0;e>>=0,e===0?32:31-(Rp(e)/zp|0)|0}var gl=64,wl=4194304;function kr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ql(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~l;s!==0?r=kr(s):(o&=i,o!==0&&(r=kr(o)))}else i=n&~l,i!==0?r=kr(i):o!==0&&(r=kr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ll(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qe(t),e[t]=n}function Lp(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=_r),Lu=" ",Mu=!1;function Wc(e,t){switch(e){case"keyup":return sh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nn=!1;function ah(e,t){switch(e){case"compositionend":return Kc(t);case"keypress":return t.which!==32?null:(Mu=!0,Lu);case"textInput":return e=t.data,e===Lu&&Mu?null:e;default:return null}}function ch(e,t){if(Nn)return e==="compositionend"||!Os&&Wc(e,t)?(e=Vc(),Il=Rs=Mt=null,Nn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Au(n)}}function Yc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xc(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function Ts(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function wh(e){var t=Xc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Yc(n.ownerDocument.documentElement,n)){if(r!==null&&Ts(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Uu(n,o);var i=Uu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Rn=null,Fi=null,Rr=null,Ii=!1;function $u(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ii||Rn==null||Rn!==Wl(r)||(r=Rn,"selectionStart"in r&&Ts(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rr&&Br(Rr,r)||(Rr=r,r=Zl(Fi,"onSelect"),0On||(e.current=Qi[On],Qi[On]=null,On--)}function V(e,t){On++,Qi[On]=e.current,e.current=t}var Gt={},ve=qt(Gt),_e=qt(!1),fn=Gt;function er(e,t){var n=e.type.contextTypes;if(!n)return Gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ne(e){return e=e.childContextTypes,e!=null}function eo(){K(_e),K(ve)}function Gu(e,t,n){if(ve.current!==Gt)throw Error(k(168));V(ve,t),V(_e,n)}function id(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(k(108,hp(e)||"Unknown",l));return Y({},n,r)}function to(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gt,fn=ve.current,V(ve,e),V(_e,_e.current),!0}function bu(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=id(e,t,fn),r.__reactInternalMemoizedMergedChildContext=e,K(_e),K(ve),V(ve,e)):K(_e),V(_e,n)}var at=null,Po=!1,ri=!1;function sd(e){at===null?at=[e]:at.push(e)}function Oh(e){Po=!0,sd(e)}function Yt(){if(!ri&&at!==null){ri=!0;var e=0,t=Q;try{var n=at;for(Q=1;e>=i,l-=i,ct=1<<32-qe(t)+l|n<_?(D=j,j=null):D=j.sibling;var F=m(f,j,p[_],y);if(F===null){j===null&&(j=D);break}e&&j&&F.alternate===null&&t(f,j),c=o(F,c,_),N===null?C=F:N.sibling=F,N=F,j=D}if(_===p.length)return n(f,j),G&&en(f,_),C;if(j===null){for(;__?(D=j,j=null):D=j.sibling;var ye=m(f,j,F.value,y);if(ye===null){j===null&&(j=D);break}e&&j&&ye.alternate===null&&t(f,j),c=o(ye,c,_),N===null?C=ye:N.sibling=ye,N=ye,j=D}if(F.done)return n(f,j),G&&en(f,_),C;if(j===null){for(;!F.done;_++,F=p.next())F=d(f,F.value,y),F!==null&&(c=o(F,c,_),N===null?C=F:N.sibling=F,N=F);return G&&en(f,_),C}for(j=r(f,j);!F.done;_++,F=p.next())F=g(j,f,_,F.value,y),F!==null&&(e&&F.alternate!==null&&j.delete(F.key===null?_:F.key),c=o(F,c,_),N===null?C=F:N.sibling=F,N=F);return e&&j.forEach(function($){return t(f,$)}),G&&en(f,_),C}function x(f,c,p,y){if(typeof p=="object"&&p!==null&&p.type===_n&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case ml:e:{for(var C=p.key,N=c;N!==null;){if(N.key===C){if(C=p.type,C===_n){if(N.tag===7){n(f,N.sibling),c=l(N,p.props.children),c.return=f,f=c;break e}}else if(N.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Pt&&Xu(C)===N.type){n(f,N.sibling),c=l(N,p.props),c.ref=mr(f,N,p),c.return=f,f=c;break e}n(f,N);break}else t(f,N);N=N.sibling}p.type===_n?(c=dn(p.props.children,f.mode,y,p.key),c.return=f,f=c):(y=Hl(p.type,p.key,p.props,null,f.mode,y),y.ref=mr(f,c,p),y.return=f,f=y)}return i(f);case Pn:e:{for(N=p.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=l(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=di(p,f.mode,y),c.return=f,f=c}return i(f);case Pt:return N=p._init,x(f,c,N(p._payload),y)}if(Sr(p))return w(f,c,p,y);if(cr(p))return v(f,c,p,y);_l(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,p),c.return=f,f=c):(n(f,c),c=ci(p,f.mode,y),c.return=f,f=c),i(f)):n(f,c)}return x}var nr=dd(!0),fd=dd(!1),lo=qt(null),oo=null,Mn=null,Is=null;function Ds(){Is=Mn=oo=null}function As(e){var t=lo.current;K(lo),e._currentValue=t}function Wi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Bn(e,t){oo=e,Is=Mn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pe=!0),e.firstContext=null)}function Be(e){var t=e._currentValue;if(Is!==e)if(e={context:e,memoizedValue:t,next:null},Mn===null){if(oo===null)throw Error(k(308));Mn=e,oo.dependencies={lanes:0,firstContext:e}}else Mn=Mn.next=e;return t}var rn=null;function Us(e){rn===null?rn=[e]:rn.push(e)}function pd(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Us(t)):(n.next=l.next,l.next=n),t.interleaved=n,mt(e,r)}function mt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var _t=!1;function $s(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function hd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ft(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,mt(e,n)}return l=r.interleaved,l===null?(t.next=t,Us(r)):(t.next=l.next,l.next=t),r.interleaved=t,mt(e,n)}function Al(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}function Zu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function io(e,t,n,r){var l=e.updateQueue;_t=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,a=u.next;u.next=null,i===null?o=a:i.next=a,i=u;var h=e.alternate;h!==null&&(h=h.updateQueue,s=h.lastBaseUpdate,s!==i&&(s===null?h.firstBaseUpdate=a:s.next=a,h.lastBaseUpdate=u))}if(o!==null){var d=l.baseState;i=0,h=a=u=null,s=o;do{var m=s.lane,g=s.eventTime;if((r&m)===m){h!==null&&(h=h.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,v=s;switch(m=t,g=n,v.tag){case 1:if(w=v.payload,typeof w=="function"){d=w.call(g,d,m);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=v.payload,m=typeof w=="function"?w.call(g,d,m):w,m==null)break e;d=Y({},d,m);break e;case 2:_t=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[s]:m.push(s))}else g={eventTime:g,lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},h===null?(a=h=g,u=d):h=h.next=g,i|=m;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;m=s,s=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(h===null&&(u=d),l.baseState=u,l.firstBaseUpdate=a,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);mn|=i,e.lanes=i,e.memoizedState=d}}function Ju(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{Q=n,oi.transition=r}}function Od(){return Qe().memoizedState}function Fh(e,t,n){var r=Vt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Td(e))Ld(t,n);else if(n=pd(e,t,n,r),n!==null){var l=Se();Ye(n,e,r,l),Md(n,t,r)}}function Ih(e,t,n){var r=Vt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Td(e))Ld(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,Xe(s,i)){var u=t.interleaved;u===null?(l.next=l,Us(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=pd(e,t,l,r),n!==null&&(l=Se(),Ye(n,e,r,l),Md(n,t,r))}}function Td(e){var t=e.alternate;return e===q||t!==null&&t===q}function Ld(e,t){zr=uo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Md(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}var ao={readContext:Be,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},Dh={readContext:Be,useCallback:function(e,t){return Je().memoizedState=[e,t===void 0?null:t],e},useContext:Be,useEffect:ta,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$l(4194308,4,_d.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $l(4194308,4,e,t)},useInsertionEffect:function(e,t){return $l(4,2,e,t)},useMemo:function(e,t){var n=Je();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Je();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Fh.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=Je();return e={current:e},t.memoizedState=e},useState:ea,useDebugValue:bs,useDeferredValue:function(e){return Je().memoizedState=e},useTransition:function(){var e=ea(!1),t=e[0];return e=Mh.bind(null,e[1]),Je().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,l=Je();if(G){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),ie===null)throw Error(k(349));hn&30||gd(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,ta(xd.bind(null,r,o,e),[e]),r.flags|=2048,qr(9,wd.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Je(),t=ie.identifierPrefix;if(G){var n=dt,r=ct;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[rt]=t,e[Hr]=r,Vd(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ni(n,r),n){case"dialog":W("cancel",e),W("close",e),l=r;break;case"iframe":case"object":case"embed":W("load",e),l=r;break;case"video":case"audio":for(l=0;llr&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304)}else{if(!r)if(e=so(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!G)return pe(t),null}else 2*J()-o.renderingStartTime>lr&&n!==1073741824&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=J(),t.sibling=null,n=b.current,V(b,r?n&1|2:n&1),t):(pe(t),null);case 22:case 23:return eu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function Wh(e,t){switch(Ms(t),t.tag){case 1:return Ne(t.type)&&eo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),K(_e),K(ve),Vs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qs(t),null;case 13:if(K(b),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(b),null;case 4:return nr(),null;case 10:return As(t.type._context),null;case 22:case 23:return eu(),null;case 24:return null;default:return null}}var Rl=!1,me=!1,Kh=typeof WeakSet=="function"?WeakSet:Set,z=null;function Mn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Z(e,t,r)}else n.current=null}function es(e,t,n){try{n()}catch(r){Z(e,t,r)}}var da=!1;function Gh(e,t){if(Di=Yl,e=Yc(),Os(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,a=0,h=0,d=e,m=null;t:for(;;){for(var g;d!==n||l!==0&&d.nodeType!==3||(s=i+l),d!==o||r!==0&&d.nodeType!==3||(u=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(g=d.firstChild)!==null;)m=d,d=g;for(;;){if(d===e)break t;if(m===n&&++a===l&&(s=i),m===o&&++h===r&&(u=i),(g=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ai={focusedElem:e,selectionRange:n},Yl=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var v=w.memoizedProps,x=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?v:He(t.type,v),x);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(y){Z(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return w=da,da=!1,w}function jr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&es(t,n,o)}l=l.next}while(l!==r)}}function Ro(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ts(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Kd(e){var t=e.alternate;t!==null&&(e.alternate=null,Kd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Hr],delete t[$i],delete t[zh],delete t[jh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Gd(e){return e.tag===5||e.tag===3||e.tag===4}function fa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ns(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Jl));else if(r!==4&&(e=e.child,e!==null))for(ns(e,t,n),e=e.sibling;e!==null;)ns(e,t,n),e=e.sibling}function rs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(rs(e,t,n),e=e.sibling;e!==null;)rs(e,t,n),e=e.sibling}var ue=null,Ge=!1;function xt(e,t,n){for(n=n.child;n!==null;)bd(e,t,n),n=n.sibling}function bd(e,t,n){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(xo,n)}catch{}switch(n.tag){case 5:me||Mn(n,t);case 6:var r=ue,l=Ge;ue=null,xt(e,t,n),ue=r,Ge=l,ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?ni(e.parentNode,n):e.nodeType===1&&ni(e,n),Ur(e)):ni(ue,n.stateNode));break;case 4:r=ue,l=Ge,ue=n.stateNode.containerInfo,Ge=!0,xt(e,t,n),ue=r,Ge=l;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&es(n,t,i),l=l.next}while(l!==r)}xt(e,t,n);break;case 1:if(!me&&(Mn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Z(n,t,s)}xt(e,t,n);break;case 21:xt(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,xt(e,t,n),me=r):xt(e,t,n);break;default:xt(e,t,n)}}function pa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Kh),t.forEach(function(r){var l=nm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ve(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qh(r/1960))-r,10e?16:e,Ft===null)var r=!1;else{if(e=Ft,Ft=null,po=0,A&6)throw Error(k(331));var l=A;for(A|=4,z=e.current;z!==null;){var o=z,i=o.child;if(z.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uJ()-Zs?cn(e,0):Xs|=n),Re(e,t)}function nf(e,t){t===0&&(e.mode&1?(t=wl,wl<<=1,!(wl&130023424)&&(wl=4194304)):t=1);var n=Se();e=mt(e,t),e!==null&&(ll(e,t,n),Re(e,n))}function tm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),nf(e,n)}function nm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),nf(e,n)}var rf;rf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_e.current)Pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pe=!1,Vh(e,t,n);Pe=!!(e.flags&131072)}else Pe=!1,G&&t.flags&1048576&&sd(t,ro,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$l(e,t),e=t.pendingProps;var l=Jn(t,ve.current);Bn(t,n),l=Ws(null,t,r,e,l,n);var o=Ks();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ne(r)?(o=!0,to(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Bs(t),l.updater=No,t.stateNode=l,l._reactInternals=t,Gi(t,r,e,n),t=Yi(null,t,r,!0,o,n)):(t.tag=0,G&&o&&Ls(t),we(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch($l(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=lm(r),e=He(r,e),l){case 0:t=qi(null,t,r,e,n);break e;case 1:t=ua(null,t,r,e,n);break e;case 11:t=ia(null,t,r,e,n);break e;case 14:t=sa(null,t,r,He(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),qi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),ua(e,t,r,l,n);case 3:e:{if(Bd(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,l=o.element,pd(e,t),io(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=rr(Error(k(423)),t),t=aa(e,t,r,n,l);break e}else if(r!==l){l=rr(Error(k(424)),t),t=aa(e,t,r,n,l);break e}else for(Te=Bt(t.stateNode.containerInfo.firstChild),Oe=t,G=!0,be=null,n=dd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===l){t=vt(e,t,n);break e}we(e,t,r,n)}t=t.child}return t;case 5:return hd(t),e===null&&Hi(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Ui(r,l)?i=null:o!==null&&Ui(r,o)&&(t.flags|=32),Ud(e,t),we(e,t,i,n),t.child;case 6:return e===null&&Hi(t),null;case 13:return $d(e,t,n);case 4:return $s(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):we(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),ia(e,t,r,l,n);case 7:return we(e,t,t.pendingProps,n),t.child;case 8:return we(e,t,t.pendingProps.children,n),t.child;case 12:return we(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,V(lo,r._currentValue),r._currentValue=i,o!==null)if(Xe(o.value,i)){if(o.children===l.children&&!_e.current){t=vt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=ft(-1,n&-n),u.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var h=a.pending;h===null?u.next=u:(u.next=h.next,h.next=u),a.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Wi(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(k(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Wi(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}we(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Bn(t,n),l=$e(l),r=r(l),t.flags|=1,we(e,t,r,n),t.child;case 14:return r=t.type,l=He(r,t.pendingProps),l=He(r.type,l),sa(e,t,r,l,n);case 15:return Dd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),$l(e,t),t.tag=1,Ne(r)?(e=!0,to(t)):e=!1,Bn(t,n),Md(t,r,l),Gi(t,r,l,n),Yi(null,t,r,!0,e,n);case 19:return Qd(e,t,n);case 22:return Ad(e,t,n)}throw Error(k(156,t.tag))};function lf(e,t){return Tc(e,t)}function rm(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ue(e,t,n,r){return new rm(e,t,n,r)}function nu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lm(e){if(typeof e=="function")return nu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ss)return 11;if(e===ks)return 14}return 2}function Ht(e,t){var n=e.alternate;return n===null?(n=Ue(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hl(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")nu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Pn:return dn(n.children,l,o,t);case xs:i=8,l|=8;break;case yi:return e=Ue(12,n,t,l|2),e.elementType=yi,e.lanes=o,e;case gi:return e=Ue(13,n,t,l),e.elementType=gi,e.lanes=o,e;case wi:return e=Ue(19,n,t,l),e.elementType=wi,e.lanes=o,e;case hc:return jo(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fc:i=10;break e;case pc:i=9;break e;case Ss:i=11;break e;case ks:i=14;break e;case Pt:i=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Ue(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function dn(e,t,n,r){return e=Ue(7,e,r,t),e.lanes=n,e}function jo(e,t,n,r){return e=Ue(22,e,r,t),e.elementType=hc,e.lanes=n,e.stateNode={isHidden:!1},e}function ci(e,t,n){return e=Ue(6,e,null,t),e.lanes=n,e}function di(e,t,n){return t=Ue(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function om(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wo(0),this.expirationTimes=Wo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wo(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ru(e,t,n,r,l,o,i,s,u){return e=new om(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ue(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bs(o),e}function im(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(af)}catch(e){console.error(e)}}af(),uc.exports=Me;var cm=uc.exports,cf,Sa=cm;cf=Sa.createRoot,Sa.hydrateRoot;/** +`+o.stack}return{value:e,source:t,stack:l,digest:null}}function ui(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function bi(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $h=typeof WeakMap=="function"?WeakMap:Map;function Id(e,t,n){n=ft(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){fo||(fo=!0,ls=r),bi(e,t)},n}function Dd(e,t,n){n=ft(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){bi(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){bi(e,t),typeof r!="function"&&(Qt===null?Qt=new Set([this]):Qt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function la(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $h;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=em.bind(null,e,t,n),t.then(e,e))}function oa(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ia(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ft(-1,1),t.tag=2,Bt(n,t,1))),n.lanes|=1),e)}var Bh=yt.ReactCurrentOwner,Pe=!1;function we(e,t,n,r){t.child=e===null?fd(t,null,n,r):nr(t,e.child,n,r)}function sa(e,t,n,r,l){n=n.render;var o=t.ref;return Bn(t,l),r=Ws(e,t,n,r,o,l),n=Ks(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,vt(e,t,l)):(G&&n&&Ls(t),t.flags|=1,we(e,t,r,l),t.child)}function ua(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!nu(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Ad(e,t,o,r,l)):(e=Hl(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&l)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:Br,n(i,r)&&e.ref===t.ref)return vt(e,t,l)}return t.flags|=1,e=Ht(o,r),e.ref=t.ref,e.return=t,t.child=e}function Ad(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(Br(o,r)&&e.ref===t.ref)if(Pe=!1,t.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(Pe=!0);else return t.lanes=e.lanes,vt(e,t,l)}return qi(e,t,n,r,l)}function Ud(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},V(In,je),je|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,V(In,je),je|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,V(In,je),je|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,V(In,je),je|=r;return we(e,t,l,n),t.child}function $d(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function qi(e,t,n,r,l){var o=Ne(n)?fn:ve.current;return o=er(t,o),Bn(t,l),n=Ws(e,t,n,r,o,l),r=Ks(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,vt(e,t,l)):(G&&r&&Ls(t),t.flags|=1,we(e,t,n,l),t.child)}function aa(e,t,n,r,l){if(Ne(n)){var o=!0;to(t)}else o=!1;if(Bn(t,l),t.stateNode===null)Bl(e,t),Fd(t,n,r),Gi(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var u=i.context,a=n.contextType;typeof a=="object"&&a!==null?a=Be(a):(a=Ne(n)?fn:ve.current,a=er(t,a));var h=n.getDerivedStateFromProps,d=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||u!==a)&&ra(t,i,r,a),_t=!1;var m=t.memoizedState;i.state=m,io(t,r,i,l),u=t.memoizedState,s!==r||m!==u||_e.current||_t?(typeof h=="function"&&(Ki(t,n,h,r),u=t.memoizedState),(s=_t||na(t,n,s,r,m,u,a))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=a,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,hd(e,t),s=t.memoizedProps,a=t.type===t.elementType?s:He(t.type,s),i.props=a,d=t.pendingProps,m=i.context,u=n.contextType,typeof u=="object"&&u!==null?u=Be(u):(u=Ne(n)?fn:ve.current,u=er(t,u));var g=n.getDerivedStateFromProps;(h=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||m!==u)&&ra(t,i,r,u),_t=!1,m=t.memoizedState,i.state=m,io(t,r,i,l);var w=t.memoizedState;s!==d||m!==w||_e.current||_t?(typeof g=="function"&&(Ki(t,n,g,r),w=t.memoizedState),(a=_t||na(t,n,a,r,m,w,u)||!1)?(h||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,w,u),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,w,u)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),i.props=r,i.state=w,i.context=u,r=a):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Yi(e,t,n,r,o,l)}function Yi(e,t,n,r,l,o){$d(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&bu(t,n,!1),vt(e,t,o);r=t.stateNode,Bh.current=t;var s=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=nr(t,e.child,null,o),t.child=nr(t,null,s,o)):we(e,t,s,o),t.memoizedState=r.state,l&&bu(t,n,!0),t.child}function Bd(e){var t=e.stateNode;t.pendingContext?Gu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Gu(e,t.context,!1),Bs(e,t.containerInfo)}function ca(e,t,n,r,l){return tr(),Fs(l),t.flags|=256,we(e,t,n,r),t.child}var Xi={dehydrated:null,treeContext:null,retryLane:0};function Zi(e){return{baseLanes:e,cachePool:null,transitions:null}}function Qd(e,t,n){var r=t.pendingProps,l=b.current,o=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(l&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),V(b,l&1),e===null)return Hi(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=jo(i,r,0,null),e=dn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Zi(n),t.memoizedState=Xi,e):qs(t,i));if(l=e.memoizedState,l!==null&&(s=l.dehydrated,s!==null))return Qh(e,t,i,r,s,l,n);if(o){o=r.fallback,i=t.mode,l=e.child,s=l.sibling;var u={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Ht(l,u),r.subtreeFlags=l.subtreeFlags&14680064),s!==null?o=Ht(s,o):(o=dn(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?Zi(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=Xi,r}return o=e.child,e=o.sibling,r=Ht(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function qs(e,t){return t=jo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Nl(e,t,n,r){return r!==null&&Fs(r),nr(t,e.child,null,n),e=qs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Qh(e,t,n,r,l,o,i){if(n)return t.flags&256?(t.flags&=-257,r=ui(Error(k(422))),Nl(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=jo({mode:"visible",children:r.children},l,0,null),o=dn(o,l,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&nr(t,e.child,null,i),t.child.memoizedState=Zi(i),t.memoizedState=Xi,o);if(!(t.mode&1))return Nl(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(k(419)),r=ui(o,r,void 0),Nl(e,t,i,r)}if(s=(i&e.childLanes)!==0,Pe||s){if(r=ie,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,mt(e,l),Ye(r,e,l,-1))}return tu(),r=ui(Error(k(421))),Nl(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=tm.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,Oe=$t(l.nextSibling),Te=t,G=!0,be=null,e!==null&&(De[Ae++]=ct,De[Ae++]=dt,De[Ae++]=pn,ct=e.id,dt=e.overflow,pn=t),t=qs(t,r.children),t.flags|=4096,t)}function da(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Wi(e.return,t,n)}function ai(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function Vd(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(we(e,t,r.children,n),r=b.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&da(e,n,t);else if(e.tag===19)da(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(V(b,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&so(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ai(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&so(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ai(t,!0,n,null,o);break;case"together":ai(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Bl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function vt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),mn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(k(153));if(t.child!==null){for(e=t.child,n=Ht(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ht(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Vh(e,t,n){switch(t.tag){case 3:Bd(t),tr();break;case 5:md(t);break;case 1:Ne(t.type)&&to(t);break;case 4:Bs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;V(lo,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(V(b,b.current&1),t.flags|=128,null):n&t.child.childLanes?Qd(e,t,n):(V(b,b.current&1),e=vt(e,t,n),e!==null?e.sibling:null);V(b,b.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Vd(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),V(b,b.current),r)break;return null;case 22:case 23:return t.lanes=0,Ud(e,t,n)}return vt(e,t,n)}var Hd,Ji,Wd,Kd;Hd=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ji=function(){};Wd=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,ln(ot.current);var o=null;switch(n){case"input":l=Si(e,l),r=Si(e,r),o=[];break;case"select":l=Y({},l,{value:void 0}),r=Y({},r,{value:void 0}),o=[];break;case"textarea":l=Ci(e,l),r=Ci(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Jl)}_i(n,r);var i;n=null;for(a in l)if(!r.hasOwnProperty(a)&&l.hasOwnProperty(a)&&l[a]!=null)if(a==="style"){var s=l[a];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Mr.hasOwnProperty(a)?o||(o=[]):(o=o||[]).push(a,null));for(a in r){var u=r[a];if(s=l!=null?l[a]:void 0,r.hasOwnProperty(a)&&u!==s&&(u!=null||s!=null))if(a==="style")if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(o||(o=[]),o.push(a,n)),n=u;else a==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(o=o||[]).push(a,u)):a==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(a,""+u):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(Mr.hasOwnProperty(a)?(u!=null&&a==="onScroll"&&W("scroll",e),o||s===u||(o=[])):(o=o||[]).push(a,u))}n&&(o=o||[]).push("style",n);var a=o;(t.updateQueue=a)&&(t.flags|=4)}};Kd=function(e,t,n,r){n!==r&&(t.flags|=4)};function vr(e,t){if(!G)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function pe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Hh(e,t,n){var r=t.pendingProps;switch(Ms(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pe(t),null;case 1:return Ne(t.type)&&eo(),pe(t),null;case 3:return r=t.stateNode,rr(),K(_e),K(ve),Vs(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Pl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,be!==null&&(ss(be),be=null))),Ji(e,t),pe(t),null;case 5:Qs(t);var l=ln(Kr.current);if(n=t.type,e!==null&&t.stateNode!=null)Wd(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(k(166));return pe(t),null}if(e=ln(ot.current),Pl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[rt]=t,r[Hr]=o,e=(t.mode&1)!==0,n){case"dialog":W("cancel",r),W("close",r);break;case"iframe":case"object":case"embed":W("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[rt]=t,e[Hr]=r,Hd(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ni(n,r),n){case"dialog":W("cancel",e),W("close",e),l=r;break;case"iframe":case"object":case"embed":W("load",e),l=r;break;case"video":case"audio":for(l=0;lor&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304)}else{if(!r)if(e=so(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!G)return pe(t),null}else 2*J()-o.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=J(),t.sibling=null,n=b.current,V(b,r?n&1|2:n&1),t):(pe(t),null);case 22:case 23:return eu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function Wh(e,t){switch(Ms(t),t.tag){case 1:return Ne(t.type)&&eo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rr(),K(_e),K(ve),Vs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qs(t),null;case 13:if(K(b),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));tr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(b),null;case 4:return rr(),null;case 10:return As(t.type._context),null;case 22:case 23:return eu(),null;case 24:return null;default:return null}}var Rl=!1,me=!1,Kh=typeof WeakSet=="function"?WeakSet:Set,z=null;function Fn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Z(e,t,r)}else n.current=null}function es(e,t,n){try{n()}catch(r){Z(e,t,r)}}var fa=!1;function Gh(e,t){if(Di=Yl,e=Xc(),Ts(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,a=0,h=0,d=e,m=null;t:for(;;){for(var g;d!==n||l!==0&&d.nodeType!==3||(s=i+l),d!==o||r!==0&&d.nodeType!==3||(u=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(g=d.firstChild)!==null;)m=d,d=g;for(;;){if(d===e)break t;if(m===n&&++a===l&&(s=i),m===o&&++h===r&&(u=i),(g=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ai={focusedElem:e,selectionRange:n},Yl=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var v=w.memoizedProps,x=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?v:He(t.type,v),x);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(y){Z(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return w=fa,fa=!1,w}function jr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&es(t,n,o)}l=l.next}while(l!==r)}}function Ro(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ts(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Gd(e){var t=e.alternate;t!==null&&(e.alternate=null,Gd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Hr],delete t[Bi],delete t[zh],delete t[jh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function bd(e){return e.tag===5||e.tag===3||e.tag===4}function pa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ns(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Jl));else if(r!==4&&(e=e.child,e!==null))for(ns(e,t,n),e=e.sibling;e!==null;)ns(e,t,n),e=e.sibling}function rs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(rs(e,t,n),e=e.sibling;e!==null;)rs(e,t,n),e=e.sibling}var ue=null,Ge=!1;function xt(e,t,n){for(n=n.child;n!==null;)qd(e,t,n),n=n.sibling}function qd(e,t,n){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(xo,n)}catch{}switch(n.tag){case 5:me||Fn(n,t);case 6:var r=ue,l=Ge;ue=null,xt(e,t,n),ue=r,Ge=l,ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?ni(e.parentNode,n):e.nodeType===1&&ni(e,n),Ur(e)):ni(ue,n.stateNode));break;case 4:r=ue,l=Ge,ue=n.stateNode.containerInfo,Ge=!0,xt(e,t,n),ue=r,Ge=l;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&es(n,t,i),l=l.next}while(l!==r)}xt(e,t,n);break;case 1:if(!me&&(Fn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Z(n,t,s)}xt(e,t,n);break;case 21:xt(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,xt(e,t,n),me=r):xt(e,t,n);break;default:xt(e,t,n)}}function ha(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Kh),t.forEach(function(r){var l=nm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ve(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qh(r/1960))-r,10e?16:e,Ft===null)var r=!1;else{if(e=Ft,Ft=null,po=0,A&6)throw Error(k(331));var l=A;for(A|=4,z=e.current;z!==null;){var o=z,i=o.child;if(z.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uJ()-Zs?cn(e,0):Xs|=n),Re(e,t)}function rf(e,t){t===0&&(e.mode&1?(t=wl,wl<<=1,!(wl&130023424)&&(wl=4194304)):t=1);var n=Se();e=mt(e,t),e!==null&&(ll(e,t,n),Re(e,n))}function tm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rf(e,n)}function nm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),rf(e,n)}var lf;lf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_e.current)Pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pe=!1,Vh(e,t,n);Pe=!!(e.flags&131072)}else Pe=!1,G&&t.flags&1048576&&ud(t,ro,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Bl(e,t),e=t.pendingProps;var l=er(t,ve.current);Bn(t,n),l=Ws(null,t,r,e,l,n);var o=Ks();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ne(r)?(o=!0,to(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,$s(t),l.updater=No,t.stateNode=l,l._reactInternals=t,Gi(t,r,e,n),t=Yi(null,t,r,!0,o,n)):(t.tag=0,G&&o&&Ls(t),we(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Bl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=lm(r),e=He(r,e),l){case 0:t=qi(null,t,r,e,n);break e;case 1:t=aa(null,t,r,e,n);break e;case 11:t=sa(null,t,r,e,n);break e;case 14:t=ua(null,t,r,He(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),qi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),aa(e,t,r,l,n);case 3:e:{if(Bd(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,l=o.element,hd(e,t),io(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=lr(Error(k(423)),t),t=ca(e,t,r,n,l);break e}else if(r!==l){l=lr(Error(k(424)),t),t=ca(e,t,r,n,l);break e}else for(Oe=$t(t.stateNode.containerInfo.firstChild),Te=t,G=!0,be=null,n=fd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(tr(),r===l){t=vt(e,t,n);break e}we(e,t,r,n)}t=t.child}return t;case 5:return md(t),e===null&&Hi(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Ui(r,l)?i=null:o!==null&&Ui(r,o)&&(t.flags|=32),$d(e,t),we(e,t,i,n),t.child;case 6:return e===null&&Hi(t),null;case 13:return Qd(e,t,n);case 4:return Bs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=nr(t,null,r,n):we(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),sa(e,t,r,l,n);case 7:return we(e,t,t.pendingProps,n),t.child;case 8:return we(e,t,t.pendingProps.children,n),t.child;case 12:return we(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,V(lo,r._currentValue),r._currentValue=i,o!==null)if(Xe(o.value,i)){if(o.children===l.children&&!_e.current){t=vt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=ft(-1,n&-n),u.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var h=a.pending;h===null?u.next=u:(u.next=h.next,h.next=u),a.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Wi(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(k(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Wi(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}we(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Bn(t,n),l=Be(l),r=r(l),t.flags|=1,we(e,t,r,n),t.child;case 14:return r=t.type,l=He(r,t.pendingProps),l=He(r.type,l),ua(e,t,r,l,n);case 15:return Ad(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),Bl(e,t),t.tag=1,Ne(r)?(e=!0,to(t)):e=!1,Bn(t,n),Fd(t,r,l),Gi(t,r,l,n),Yi(null,t,r,!0,e,n);case 19:return Vd(e,t,n);case 22:return Ud(e,t,n)}throw Error(k(156,t.tag))};function of(e,t){return Tc(e,t)}function rm(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ue(e,t,n,r){return new rm(e,t,n,r)}function nu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lm(e){if(typeof e=="function")return nu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ss)return 11;if(e===ks)return 14}return 2}function Ht(e,t){var n=e.alternate;return n===null?(n=Ue(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hl(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")nu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case _n:return dn(n.children,l,o,t);case xs:i=8,l|=8;break;case yi:return e=Ue(12,n,t,l|2),e.elementType=yi,e.lanes=o,e;case gi:return e=Ue(13,n,t,l),e.elementType=gi,e.lanes=o,e;case wi:return e=Ue(19,n,t,l),e.elementType=wi,e.lanes=o,e;case mc:return jo(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pc:i=10;break e;case hc:i=9;break e;case Ss:i=11;break e;case ks:i=14;break e;case Pt:i=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Ue(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function dn(e,t,n,r){return e=Ue(7,e,r,t),e.lanes=n,e}function jo(e,t,n,r){return e=Ue(22,e,r,t),e.elementType=mc,e.lanes=n,e.stateNode={isHidden:!1},e}function ci(e,t,n){return e=Ue(6,e,null,t),e.lanes=n,e}function di(e,t,n){return t=Ue(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function om(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wo(0),this.expirationTimes=Wo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wo(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ru(e,t,n,r,l,o,i,s,u){return e=new om(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ue(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$s(o),e}function im(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cf)}catch(e){console.error(e)}}cf(),ac.exports=Me;var cm=ac.exports,df,ka=cm;df=ka.createRoot,ka.hydrateRoot;/** * @remix-run/router v1.21.0 * * Copyright (c) Remix Software Inc. @@ -47,7 +47,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function df(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function fm(){return Math.random().toString(36).substr(2,8)}function Ea(e,t){return{usr:e.state,key:e.key,idx:t}}function us(e,t,n,r){return n===void 0&&(n=null),Xr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ur(t):t,{state:n,key:t&&t.key||r||fm()})}function vo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ur(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function pm(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,s=It.Pop,u=null,a=h();a==null&&(a=0,i.replaceState(Xr({},i.state,{idx:a}),""));function h(){return(i.state||{idx:null}).idx}function d(){s=It.Pop;let x=h(),f=x==null?null:x-a;a=x,u&&u({action:s,location:v.location,delta:f})}function m(x,f){s=It.Push;let c=us(v.location,x,f);a=h()+1;let p=Ea(c,a),y=v.createHref(c);try{i.pushState(p,"",y)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(y)}o&&u&&u({action:s,location:v.location,delta:1})}function g(x,f){s=It.Replace;let c=us(v.location,x,f);a=h();let p=Ea(c,a),y=v.createHref(c);i.replaceState(p,"",y),o&&u&&u({action:s,location:v.location,delta:0})}function w(x){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof x=="string"?x:vo(x);return c=c.replace(/ $/,"%20"),te(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let v={get action(){return s},get location(){return e(l,i)},listen(x){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(ka,d),u=x,()=>{l.removeEventListener(ka,d),u=null}},createHref(x){return t(l,x)},createURL:w,encodeLocation(x){let f=w(x);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:g,go(x){return i.go(x)}};return v}var Ca;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ca||(Ca={}));function hm(e,t,n){return n===void 0&&(n="/"),mm(e,t,n)}function mm(e,t,n,r){let l=typeof t=="string"?ur(t):t,o=su(l.pathname||"/",n);if(o==null)return null;let i=ff(e);vm(i);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(te(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let a=Wt([r,u.relativePath]),h=n.concat(u);o.children&&o.children.length>0&&(te(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),ff(o.children,t,h,a)),!(o.path==null&&!o.index)&&t.push({path:a,score:Em(a,o.index),routesMeta:h})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))l(o,i);else for(let u of pf(o.path))l(o,i,u)}),t}function pf(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=pf(r.join("/")),s=[];return s.push(...i.map(u=>u===""?o:[o,u].join("/"))),l&&s.push(...i),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function vm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Cm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const ym=/^:[\w-]+$/,gm=3,wm=2,xm=1,Sm=10,km=-2,Pa=e=>e==="*";function Em(e,t){let n=e.split("/"),r=n.length;return n.some(Pa)&&(r+=km),t&&(r+=wm),n.filter(l=>!Pa(l)).reduce((l,o)=>l+(ym.test(o)?gm:o===""?xm:Sm),r)}function Cm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Pm(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let s=0;s{let{paramName:m,isOptional:g}=h;if(m==="*"){let v=s[d]||"";i=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const w=s[d];return g&&!w?a[m]=void 0:a[m]=(w||"").replace(/%2F/g,"/"),a},{}),pathname:o,pathnameBase:i,pattern:e}}function Nm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),df(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Rm(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return df(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function su(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function zm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?ur(e):e;return{pathname:n?n.startsWith("/")?n:jm(n,t):t,search:Lm(r),hash:Mm(l)}}function jm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function fi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Tm(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function hf(e,t){let n=Tm(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function mf(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=ur(e):(l=Xr({},e),te(!l.pathname||!l.pathname.includes("?"),fi("?","pathname","search",l)),te(!l.pathname||!l.pathname.includes("#"),fi("#","pathname","hash",l)),te(!l.search||!l.search.includes("#"),fi("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,s;if(i==null)s=n;else{let d=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),d-=1;l.pathname=m.join("/")}s=d>=0?t[d]:"/"}let u=zm(l,s),a=i&&i!=="/"&&i.endsWith("/"),h=(o||i===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(a||h)&&(u.pathname+="/"),u}const Wt=e=>e.join("/").replace(/\/\/+/g,"/"),Om=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Lm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Mm=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Fm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const vf=["post","put","patch","delete"];new Set(vf);const Im=["get",...vf];new Set(Im);/** + */function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function su(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function fm(){return Math.random().toString(36).substr(2,8)}function Ca(e,t){return{usr:e.state,key:e.key,idx:t}}function us(e,t,n,r){return n===void 0&&(n=null),Xr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?wn(t):t,{state:n,key:t&&t.key||r||fm()})}function vo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function wn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function pm(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,s=It.Pop,u=null,a=h();a==null&&(a=0,i.replaceState(Xr({},i.state,{idx:a}),""));function h(){return(i.state||{idx:null}).idx}function d(){s=It.Pop;let x=h(),f=x==null?null:x-a;a=x,u&&u({action:s,location:v.location,delta:f})}function m(x,f){s=It.Push;let c=us(v.location,x,f);n(c,x),a=h()+1;let p=Ca(c,a),y=v.createHref(c);try{i.pushState(p,"",y)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(y)}o&&u&&u({action:s,location:v.location,delta:1})}function g(x,f){s=It.Replace;let c=us(v.location,x,f);n(c,x),a=h();let p=Ca(c,a),y=v.createHref(c);i.replaceState(p,"",y),o&&u&&u({action:s,location:v.location,delta:0})}function w(x){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof x=="string"?x:vo(x);return c=c.replace(/ $/,"%20"),te(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let v={get action(){return s},get location(){return e(l,i)},listen(x){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(Ea,d),u=x,()=>{l.removeEventListener(Ea,d),u=null}},createHref(x){return t(l,x)},createURL:w,encodeLocation(x){let f=w(x);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:g,go(x){return i.go(x)}};return v}var Pa;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Pa||(Pa={}));function hm(e,t,n){return n===void 0&&(n="/"),mm(e,t,n)}function mm(e,t,n,r){let l=typeof t=="string"?wn(t):t,o=uu(l.pathname||"/",n);if(o==null)return null;let i=ff(e);vm(i);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(te(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let a=Wt([r,u.relativePath]),h=n.concat(u);o.children&&o.children.length>0&&(te(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),ff(o.children,t,h,a)),!(o.path==null&&!o.index)&&t.push({path:a,score:Em(a,o.index),routesMeta:h})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))l(o,i);else for(let u of pf(o.path))l(o,i,u)}),t}function pf(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=pf(r.join("/")),s=[];return s.push(...i.map(u=>u===""?o:[o,u].join("/"))),l&&s.push(...i),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function vm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Cm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const ym=/^:[\w-]+$/,gm=3,wm=2,xm=1,Sm=10,km=-2,_a=e=>e==="*";function Em(e,t){let n=e.split("/"),r=n.length;return n.some(_a)&&(r+=km),t&&(r+=wm),n.filter(l=>!_a(l)).reduce((l,o)=>l+(ym.test(o)?gm:o===""?xm:Sm),r)}function Cm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Pm(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let s=0;s{let{paramName:m,isOptional:g}=h;if(m==="*"){let v=s[d]||"";i=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const w=s[d];return g&&!w?a[m]=void 0:a[m]=(w||"").replace(/%2F/g,"/"),a},{}),pathname:o,pathnameBase:i,pattern:e}}function Nm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),su(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Rm(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return su(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function uu(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function zm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?wn(e):e;return{pathname:n?n.startsWith("/")?n:jm(n,t):t,search:Lm(r),hash:Mm(l)}}function jm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function fi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Om(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function hf(e,t){let n=Om(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function mf(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=wn(e):(l=Xr({},e),te(!l.pathname||!l.pathname.includes("?"),fi("?","pathname","search",l)),te(!l.pathname||!l.pathname.includes("#"),fi("#","pathname","hash",l)),te(!l.search||!l.search.includes("#"),fi("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,s;if(i==null)s=n;else{let d=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),d-=1;l.pathname=m.join("/")}s=d>=0?t[d]:"/"}let u=zm(l,s),a=i&&i!=="/"&&i.endsWith("/"),h=(o||i===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(a||h)&&(u.pathname+="/"),u}const Wt=e=>e.join("/").replace(/\/\/+/g,"/"),Tm=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Lm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Mm=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Fm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const vf=["post","put","patch","delete"];new Set(vf);const Im=["get",...vf];new Set(Im);/** * React Router v6.28.1 * * Copyright (c) Remix Software Inc. @@ -56,7 +56,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(a,h){if(h===void 0&&(h={}),!s.current)return;if(typeof a=="number"){r.go(a);return}let d=mf(a,JSON.parse(i),o,h.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Wt([t,d.pathname])),(h.replace?r.replace:r.push)(d,h.state,h)},[t,r,i,o,e])}function wf(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(wn),{matches:l}=P.useContext(xn),{pathname:o}=al(),i=JSON.stringify(hf(l,r.v7_relativeSplatPath));return P.useMemo(()=>mf(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function $m(e,t){return Qm(e,t)}function Qm(e,t,n,r){ul()||te(!1);let{navigator:l}=P.useContext(wn),{matches:o}=P.useContext(xn),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let a=al(),h;if(t){var d;let x=typeof t=="string"?ur(t):t;u==="/"||(d=x.pathname)!=null&&d.startsWith(u)||te(!1),h=x}else h=a;let m=h.pathname||"/",g=m;if(u!=="/"){let x=u.replace(/^\//,"").split("/");g="/"+m.replace(/^\//,"").split("/").slice(x.length).join("/")}let w=hm(e,{pathname:g}),v=Gm(w&&w.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:Wt([u,l.encodeLocation?l.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:Wt([u,l.encodeLocation?l.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&v?P.createElement(Fo.Provider,{value:{location:Zr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:It.Pop}},v):v}function Vm(){let e=Xm(),t=Fm(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:l},n):null,null)}const Hm=P.createElement(Vm,null);class Wm extends P.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?P.createElement(xn.Provider,{value:this.props.routeContext},P.createElement(yf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Km(e){let{routeContext:t,match:n,children:r}=e,l=P.useContext(uu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(xn.Provider,{value:t},r)}function Gm(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=(l=n)==null?void 0:l.errors;if(s!=null){let h=i.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);h>=0||te(!1),i=i.slice(0,Math.min(i.length,h+1))}let u=!1,a=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?i=i.slice(0,a+1):i=[i[0]];break}}}return i.reduceRight((h,d,m)=>{let g,w=!1,v=null,x=null;n&&(g=s&&d.route.id?s[d.route.id]:void 0,v=d.route.errorElement||Hm,u&&(a<0&&m===0?(w=!0,x=null):a===m&&(w=!0,x=d.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,m+1)),c=()=>{let p;return g?p=v:w?p=x:d.route.Component?p=P.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=h,P.createElement(Km,{match:d,routeContext:{outlet:h,matches:f,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?P.createElement(Wm,{location:n.location,revalidation:n.revalidation,component:v,error:g,children:c(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):c()},null)}var xf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(xf||{}),yo=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(yo||{});function bm(e){let t=P.useContext(uu);return t||te(!1),t}function qm(e){let t=P.useContext(Dm);return t||te(!1),t}function Ym(e){let t=P.useContext(xn);return t||te(!1),t}function Sf(e){let t=Ym(),n=t.matches[t.matches.length-1];return n.route.id||te(!1),n.route.id}function Xm(){var e;let t=P.useContext(yf),n=qm(yo.UseRouteError),r=Sf(yo.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Zm(){let{router:e}=bm(xf.UseNavigateStable),t=Sf(yo.UseNavigateStable),n=P.useRef(!1);return gf(()=>{n.current=!0}),P.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Zr({fromRouteId:t},o)))},[e,t])}const _a={};function Jm(e,t){_a[t]||(_a[t]=!0,console.warn(t))}const Na=(e,t,n)=>Jm(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function ev(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&Na("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(e==null?void 0:e.v7_relativeSplatPath)===void 0&&!t&&Na("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Et(e){te(!1)}function tv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=It.Pop,navigator:o,static:i=!1,future:s}=e;ul()&&te(!1);let u=t.replace(/^\/*/,"/"),a=P.useMemo(()=>({basename:u,navigator:o,static:i,future:Zr({v7_relativeSplatPath:!1},s)}),[u,s,o,i]);typeof r=="string"&&(r=ur(r));let{pathname:h="/",search:d="",hash:m="",state:g=null,key:w="default"}=r,v=P.useMemo(()=>{let x=su(h,u);return x==null?null:{location:{pathname:x,search:d,hash:m,state:g,key:w},navigationType:l}},[u,h,d,m,g,w,l]);return v==null?null:P.createElement(wn.Provider,{value:a},P.createElement(Fo.Provider,{children:n,value:v}))}function nv(e){let{children:t,location:n}=e;return $m(as(t),n)}new Promise(()=>{});function as(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,l)=>{if(!P.isValidElement(r))return;let o=[...t,l];if(r.type===P.Fragment){n.push.apply(n,as(r.props.children,o));return}r.type!==Et&&te(!1),!r.props.index||!r.props.children||te(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=as(r.props.children,o)),n.push(i)}),n}/** + */function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(a,h){if(h===void 0&&(h={}),!s.current)return;if(typeof a=="number"){r.go(a);return}let d=mf(a,JSON.parse(i),o,h.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Wt([t,d.pathname])),(h.replace?r.replace:r.push)(d,h.state,h)},[t,r,i,o,e])}function wf(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(xn),{matches:l}=P.useContext(Sn),{pathname:o}=al(),i=JSON.stringify(hf(l,r.v7_relativeSplatPath));return P.useMemo(()=>mf(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function Bm(e,t){return Qm(e,t)}function Qm(e,t,n,r){ul()||te(!1);let{navigator:l}=P.useContext(xn),{matches:o}=P.useContext(Sn),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let a=al(),h;if(t){var d;let x=typeof t=="string"?wn(t):t;u==="/"||(d=x.pathname)!=null&&d.startsWith(u)||te(!1),h=x}else h=a;let m=h.pathname||"/",g=m;if(u!=="/"){let x=u.replace(/^\//,"").split("/");g="/"+m.replace(/^\//,"").split("/").slice(x.length).join("/")}let w=hm(e,{pathname:g}),v=Gm(w&&w.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:Wt([u,l.encodeLocation?l.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:Wt([u,l.encodeLocation?l.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&v?P.createElement(Fo.Provider,{value:{location:Zr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:It.Pop}},v):v}function Vm(){let e=Xm(),t=Fm(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:l},n):null,null)}const Hm=P.createElement(Vm,null);class Wm extends P.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?P.createElement(Sn.Provider,{value:this.props.routeContext},P.createElement(yf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Km(e){let{routeContext:t,match:n,children:r}=e,l=P.useContext(au);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(Sn.Provider,{value:t},r)}function Gm(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=(l=n)==null?void 0:l.errors;if(s!=null){let h=i.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);h>=0||te(!1),i=i.slice(0,Math.min(i.length,h+1))}let u=!1,a=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?i=i.slice(0,a+1):i=[i[0]];break}}}return i.reduceRight((h,d,m)=>{let g,w=!1,v=null,x=null;n&&(g=s&&d.route.id?s[d.route.id]:void 0,v=d.route.errorElement||Hm,u&&(a<0&&m===0?(w=!0,x=null):a===m&&(w=!0,x=d.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,m+1)),c=()=>{let p;return g?p=v:w?p=x:d.route.Component?p=P.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=h,P.createElement(Km,{match:d,routeContext:{outlet:h,matches:f,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?P.createElement(Wm,{location:n.location,revalidation:n.revalidation,component:v,error:g,children:c(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):c()},null)}var xf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(xf||{}),yo=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(yo||{});function bm(e){let t=P.useContext(au);return t||te(!1),t}function qm(e){let t=P.useContext(Dm);return t||te(!1),t}function Ym(e){let t=P.useContext(Sn);return t||te(!1),t}function Sf(e){let t=Ym(),n=t.matches[t.matches.length-1];return n.route.id||te(!1),n.route.id}function Xm(){var e;let t=P.useContext(yf),n=qm(yo.UseRouteError),r=Sf(yo.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Zm(){let{router:e}=bm(xf.UseNavigateStable),t=Sf(yo.UseNavigateStable),n=P.useRef(!1);return gf(()=>{n.current=!0}),P.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Zr({fromRouteId:t},o)))},[e,t])}const Na={};function Jm(e,t){Na[t]||(Na[t]=!0,console.warn(t))}const Ra=(e,t,n)=>Jm(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function ev(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&Ra("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(e==null?void 0:e.v7_relativeSplatPath)===void 0&&!t&&Ra("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Et(e){te(!1)}function tv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=It.Pop,navigator:o,static:i=!1,future:s}=e;ul()&&te(!1);let u=t.replace(/^\/*/,"/"),a=P.useMemo(()=>({basename:u,navigator:o,static:i,future:Zr({v7_relativeSplatPath:!1},s)}),[u,s,o,i]);typeof r=="string"&&(r=wn(r));let{pathname:h="/",search:d="",hash:m="",state:g=null,key:w="default"}=r,v=P.useMemo(()=>{let x=uu(h,u);return x==null?null:{location:{pathname:x,search:d,hash:m,state:g,key:w},navigationType:l}},[u,h,d,m,g,w,l]);return v==null?null:P.createElement(xn.Provider,{value:a},P.createElement(Fo.Provider,{children:n,value:v}))}function nv(e){let{children:t,location:n}=e;return Bm(as(t),n)}new Promise(()=>{});function as(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,l)=>{if(!P.isValidElement(r))return;let o=[...t,l];if(r.type===P.Fragment){n.push.apply(n,as(r.props.children,o));return}r.type!==Et&&te(!1),!r.props.index||!r.props.children||te(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=as(r.props.children,o)),n.push(i)}),n}/** * React Router DOM v6.28.1 * * Copyright (c) Remix Software Inc. @@ -65,7 +65,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function cs(){return cs=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function lv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ov(e,t){return e.button===0&&(!t||t==="_self")&&!lv(e)}const iv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],sv="6";try{window.__reactRouterVersion=sv}catch{}const uv="startTransition",Ra=ep[uv];function av(e){let{basename:t,children:n,future:r,window:l}=e,o=P.useRef();o.current==null&&(o.current=dm({window:l,v5Compat:!0}));let i=o.current,[s,u]=P.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=P.useCallback(d=>{a&&Ra?Ra(()=>u(d)):u(d)},[u,a]);return P.useLayoutEffect(()=>i.listen(h),[i,h]),P.useEffect(()=>ev(r),[r]),P.createElement(tv,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const cv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Lr=P.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:s,target:u,to:a,preventScrollReset:h,viewTransition:d}=t,m=rv(t,iv),{basename:g}=P.useContext(wn),w,v=!1;if(typeof a=="string"&&dv.test(a)&&(w=a,cv))try{let p=new URL(window.location.href),y=a.startsWith("//")?new URL(p.protocol+a):new URL(a),C=su(y.pathname,g);y.origin===p.origin&&C!=null?a=C+y.search+y.hash:v=!0}catch{}let x=Am(a,{relative:l}),f=fv(a,{replace:i,state:s,target:u,preventScrollReset:h,relative:l,viewTransition:d});function c(p){r&&r(p),p.defaultPrevented||f(p)}return P.createElement("a",cs({},m,{href:w||x,onClick:v||o?r:c,ref:n,target:u}))});var za;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(za||(za={}));var ja;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ja||(ja={}));function fv(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,viewTransition:s}=t===void 0?{}:t,u=Um(),a=al(),h=wf(e,{relative:i});return P.useCallback(d=>{if(ov(d,n)){d.preventDefault();let m=r!==void 0?r:vo(a)===vo(h);u(e,{replace:m,state:l,preventScrollReset:o,relative:i,viewTransition:s})}},[a,u,h,r,l,n,e,o,i,s])}var Io=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Do=typeof window>"u"||"Deno"in globalThis;function We(){}function pv(e,t){return typeof e=="function"?e(t):e}function hv(e){return typeof e=="number"&&e>=0&&e!==1/0}function mv(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ta(e,t){return typeof e=="function"?e(t):e}function vv(e,t){return typeof e=="function"?e(t):e}function Oa(e,t){const{type:n="all",exact:r,fetchStatus:l,predicate:o,queryKey:i,stale:s}=e;if(i){if(r){if(t.queryHash!==au(i,t.options))return!1}else if(!el(t.queryKey,i))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||l&&l!==t.state.fetchStatus||o&&!o(t))}function La(e,t){const{exact:n,status:r,predicate:l,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Jr(t.options.mutationKey)!==Jr(o))return!1}else if(!el(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||l&&!l(t))}function au(e,t){return((t==null?void 0:t.queryKeyHashFn)||Jr)(e)}function Jr(e){return JSON.stringify(e,(t,n)=>ds(n)?Object.keys(n).sort().reduce((r,l)=>(r[l]=n[l],r),{}):n)}function el(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!el(e[n],t[n])):!1}function kf(e,t){if(e===t)return e;const n=Ma(e)&&Ma(t);if(n||ds(e)&&ds(t)){const r=n?e:Object.keys(e),l=r.length,o=n?t:Object.keys(t),i=o.length,s=n?[]:{};let u=0;for(let a=0;a{setTimeout(t,e)})}function gv(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?kf(e,t):t}function wv(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function xv(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var cu=Symbol();function Ef(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===cu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var on,zt,Vn,Va,Sv=(Va=class extends Io{constructor(){super();$(this,on);$(this,zt);$(this,Vn);M(this,Vn,t=>{if(!Do&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){S(this,zt)||this.setEventListener(S(this,Vn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,zt))==null||t.call(this),M(this,zt,void 0))}setEventListener(t){var n;M(this,Vn,t),(n=S(this,zt))==null||n.call(this),M(this,zt,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){S(this,on)!==t&&(M(this,on,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof S(this,on)=="boolean"?S(this,on):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},on=new WeakMap,zt=new WeakMap,Vn=new WeakMap,Va),Cf=new Sv,Hn,jt,Wn,Ha,kv=(Ha=class extends Io{constructor(){super();$(this,Hn,!0);$(this,jt);$(this,Wn);M(this,Wn,t=>{if(!Do&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){S(this,jt)||this.setEventListener(S(this,Wn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,jt))==null||t.call(this),M(this,jt,void 0))}setEventListener(t){var n;M(this,Wn,t),(n=S(this,jt))==null||n.call(this),M(this,jt,t(this.setOnline.bind(this)))}setOnline(t){S(this,Hn)!==t&&(M(this,Hn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return S(this,Hn)}},Hn=new WeakMap,jt=new WeakMap,Wn=new WeakMap,Ha),go=new kv;function Ev(){let e,t;const n=new Promise((l,o)=>{e=l,t=o});n.status="pending",n.catch(()=>{});function r(l){Object.assign(n,l),delete n.resolve,delete n.reject}return n.resolve=l=>{r({status:"fulfilled",value:l}),e(l)},n.reject=l=>{r({status:"rejected",reason:l}),t(l)},n}function Cv(e){return Math.min(1e3*2**e,3e4)}function Pf(e){return(e??"online")==="online"?go.isOnline():!0}var _f=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function pi(e){return e instanceof _f}function Nf(e){let t=!1,n=0,r=!1,l;const o=Ev(),i=v=>{var x;r||(m(new _f(v)),(x=e.abort)==null||x.call(e))},s=()=>{t=!0},u=()=>{t=!1},a=()=>Cf.isFocused()&&(e.networkMode==="always"||go.isOnline())&&e.canRun(),h=()=>Pf(e.networkMode)&&e.canRun(),d=v=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,v),l==null||l(),o.resolve(v))},m=v=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,v),l==null||l(),o.reject(v))},g=()=>new Promise(v=>{var x;l=f=>{(r||a())&&v(f)},(x=e.onPause)==null||x.call(e)}).then(()=>{var v;l=void 0,r||(v=e.onContinue)==null||v.call(e)}),w=()=>{if(r)return;let v;const x=n===0?e.initialPromise:void 0;try{v=x??e.fn()}catch(f){v=Promise.reject(f)}Promise.resolve(v).then(d).catch(f=>{var N;if(r)return;const c=e.retry??(Do?0:3),p=e.retryDelay??Cv,y=typeof p=="function"?p(n,f):p,C=c===!0||typeof c=="number"&&na()?void 0:g()).then(()=>{t?m(f):w()})})};return{promise:o,cancel:i,continue:()=>(l==null||l(),o),cancelRetry:s,continueRetry:u,canStart:h,start:()=>(h()?w():g().then(w),o)}}function Pv(){let e=[],t=0,n=s=>{s()},r=s=>{s()},l=s=>setTimeout(s,0);const o=s=>{t?e.push(s):l(()=>{n(s)})},i=()=>{const s=e;e=[],s.length&&l(()=>{r(()=>{s.forEach(u=>{n(u)})})})};return{batch:s=>{let u;t++;try{u=s()}finally{t--,t||i()}return u},batchCalls:s=>(...u)=>{o(()=>{s(...u)})},schedule:o,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{l=s}}}var xe=Pv(),sn,Wa,Rf=(Wa=class{constructor(){$(this,sn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),hv(this.gcTime)&&M(this,sn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Do?1/0:5*60*1e3))}clearGcTimeout(){S(this,sn)&&(clearTimeout(S(this,sn)),M(this,sn,void 0))}},sn=new WeakMap,Wa),Kn,Gn,Ie,he,tl,un,Ke,st,Ka,_v=(Ka=class extends Rf{constructor(t){super();$(this,Ke);$(this,Kn);$(this,Gn);$(this,Ie);$(this,he);$(this,tl);$(this,un);M(this,un,!1),M(this,tl,t.defaultOptions),this.setOptions(t.options),this.observers=[],M(this,Ie,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,M(this,Kn,Rv(this.options)),this.state=t.state??S(this,Kn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=S(this,he))==null?void 0:t.promise}setOptions(t){this.options={...S(this,tl),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,Ie).remove(this)}setData(t,n){const r=gv(this.state.data,t,this.options);return de(this,Ke,st).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){de(this,Ke,st).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,l;const n=(r=S(this,he))==null?void 0:r.promise;return(l=S(this,he))==null||l.cancel(t),n?n.then(We).catch(We):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(S(this,Kn))}isActive(){return this.observers.some(t=>vv(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===cu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!mv(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),S(this,Ie).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(S(this,he)&&(S(this,un)?S(this,he).cancel({revert:!0}):S(this,he).cancelRetry()),this.scheduleGc()),S(this,Ie).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||de(this,Ke,st).call(this,{type:"invalidate"})}fetch(t,n){var u,a,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(S(this,he))return S(this,he).continueRetry(),S(this,he).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(m=>m.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,l=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(M(this,un,!0),r.signal)})},o=()=>{const d=Ef(this.options,n),m={queryKey:this.queryKey,meta:this.meta};return l(m),M(this,un,!1),this.options.persister?this.options.persister(d,m,this):d(m)},i={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};l(i),(u=this.options.behavior)==null||u.onFetch(i,this),M(this,Gn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((a=i.fetchOptions)==null?void 0:a.meta))&&de(this,Ke,st).call(this,{type:"fetch",meta:(h=i.fetchOptions)==null?void 0:h.meta});const s=d=>{var m,g,w,v;pi(d)&&d.silent||de(this,Ke,st).call(this,{type:"error",error:d}),pi(d)||((g=(m=S(this,Ie).config).onError)==null||g.call(m,d,this),(v=(w=S(this,Ie).config).onSettled)==null||v.call(w,this.state.data,d,this)),this.scheduleGc()};return M(this,he,Nf({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var m,g,w,v;if(d===void 0){s(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(x){s(x);return}(g=(m=S(this,Ie).config).onSuccess)==null||g.call(m,d,this),(v=(w=S(this,Ie).config).onSettled)==null||v.call(w,d,this.state.error,this),this.scheduleGc()},onError:s,onFail:(d,m)=>{de(this,Ke,st).call(this,{type:"failed",failureCount:d,error:m})},onPause:()=>{de(this,Ke,st).call(this,{type:"pause"})},onContinue:()=>{de(this,Ke,st).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),S(this,he).start()}},Kn=new WeakMap,Gn=new WeakMap,Ie=new WeakMap,he=new WeakMap,tl=new WeakMap,un=new WeakMap,Ke=new WeakSet,st=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Nv(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const l=t.error;return pi(l)&&l.revert&&S(this,Gn)?{...S(this,Gn),fetchStatus:"idle"}:{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),xe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),S(this,Ie).notify({query:this,type:"updated",action:t})})},Ka);function Nv(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Pf(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Rv(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var et,Ga,zv=(Ga=class extends Io{constructor(t={}){super();$(this,et);this.config=t,M(this,et,new Map)}build(t,n,r){const l=n.queryKey,o=n.queryHash??au(l,n);let i=this.get(o);return i||(i=new _v({cache:this,queryKey:l,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(l)}),this.add(i)),i}add(t){S(this,et).has(t.queryHash)||(S(this,et).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=S(this,et).get(t.queryHash);n&&(t.destroy(),n===t&&S(this,et).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return S(this,et).get(t)}getAll(){return[...S(this,et).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Oa(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Oa(t,r)):n}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){xe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},et=new WeakMap,Ga),tt,ge,an,nt,Ct,ba,jv=(ba=class extends Rf{constructor(t){super();$(this,nt);$(this,tt);$(this,ge);$(this,an);this.mutationId=t.mutationId,M(this,ge,t.mutationCache),M(this,tt,[]),this.state=t.state||Tv(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){S(this,tt).includes(t)||(S(this,tt).push(t),this.clearGcTimeout(),S(this,ge).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){M(this,tt,S(this,tt).filter(n=>n!==t)),this.scheduleGc(),S(this,ge).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){S(this,tt).length||(this.state.status==="pending"?this.scheduleGc():S(this,ge).remove(this))}continue(){var t;return((t=S(this,an))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var l,o,i,s,u,a,h,d,m,g,w,v,x,f,c,p,y,C,N,j;M(this,an,Nf({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(_,D)=>{de(this,nt,Ct).call(this,{type:"failed",failureCount:_,error:D})},onPause:()=>{de(this,nt,Ct).call(this,{type:"pause"})},onContinue:()=>{de(this,nt,Ct).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,ge).canRun(this)}));const n=this.state.status==="pending",r=!S(this,an).canStart();try{if(!n){de(this,nt,Ct).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(l=S(this,ge).config).onMutate)==null?void 0:o.call(l,t,this));const D=await((s=(i=this.options).onMutate)==null?void 0:s.call(i,t));D!==this.state.context&&de(this,nt,Ct).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const _=await S(this,an).start();return await((a=(u=S(this,ge).config).onSuccess)==null?void 0:a.call(u,_,t,this.state.context,this)),await((d=(h=this.options).onSuccess)==null?void 0:d.call(h,_,t,this.state.context)),await((g=(m=S(this,ge).config).onSettled)==null?void 0:g.call(m,_,null,this.state.variables,this.state.context,this)),await((v=(w=this.options).onSettled)==null?void 0:v.call(w,_,null,t,this.state.context)),de(this,nt,Ct).call(this,{type:"success",data:_}),_}catch(_){try{throw await((f=(x=S(this,ge).config).onError)==null?void 0:f.call(x,_,t,this.state.context,this)),await((p=(c=this.options).onError)==null?void 0:p.call(c,_,t,this.state.context)),await((C=(y=S(this,ge).config).onSettled)==null?void 0:C.call(y,void 0,_,this.state.variables,this.state.context,this)),await((j=(N=this.options).onSettled)==null?void 0:j.call(N,void 0,_,t,this.state.context)),_}finally{de(this,nt,Ct).call(this,{type:"error",error:_})}}finally{S(this,ge).runNext(this)}}},tt=new WeakMap,ge=new WeakMap,an=new WeakMap,nt=new WeakSet,Ct=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),xe.batch(()=>{S(this,tt).forEach(r=>{r.onMutationUpdate(t)}),S(this,ge).notify({mutation:this,type:"updated",action:t})})},ba);function Tv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ze,nl,qa,Ov=(qa=class extends Io{constructor(t={}){super();$(this,ze);$(this,nl);this.config=t,M(this,ze,new Map),M(this,nl,Date.now())}build(t,n,r){const l=new jv({mutationCache:this,mutationId:++pl(this,nl)._,options:t.defaultMutationOptions(n),state:r});return this.add(l),l}add(t){const n=Tl(t),r=S(this,ze).get(n)??[];r.push(t),S(this,ze).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Tl(t);if(S(this,ze).has(n)){const l=(r=S(this,ze).get(n))==null?void 0:r.filter(o=>o!==t);l&&(l.length===0?S(this,ze).delete(n):S(this,ze).set(n,l))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=S(this,ze).get(Tl(t)))==null?void 0:r.find(l=>l.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=S(this,ze).get(Tl(t)))==null?void 0:r.find(l=>l!==t&&l.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...S(this,ze).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>La(n,r))}findAll(t={}){return this.getAll().filter(n=>La(t,n))}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return xe.batch(()=>Promise.all(t.map(n=>n.continue().catch(We))))}},ze=new WeakMap,nl=new WeakMap,qa);function Tl(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Ia(e){return{onFetch:(t,n)=>{var h,d,m,g,w;const r=t.options,l=(m=(d=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:d.fetchMore)==null?void 0:m.direction,o=((g=t.state.data)==null?void 0:g.pages)||[],i=((w=t.state.data)==null?void 0:w.pageParams)||[];let s={pages:[],pageParams:[]},u=0;const a=async()=>{let v=!1;const x=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},f=Ef(t.options,t.fetchOptions),c=async(p,y,C)=>{if(v)return Promise.reject();if(y==null&&p.pages.length)return Promise.resolve(p);const N={queryKey:t.queryKey,pageParam:y,direction:C?"backward":"forward",meta:t.options.meta};x(N);const j=await f(N),{maxPages:_}=t.options,D=C?xv:wv;return{pages:D(p.pages,j,_),pageParams:D(p.pageParams,y,_)}};if(l&&o.length){const p=l==="backward",y=p?Lv:Da,C={pages:o,pageParams:i},N=y(r,C);s=await c(C,N,p)}else{const p=e??o.length;do{const y=u===0?i[0]??r.initialPageParam:Da(r,s);if(u>0&&y==null)break;s=await c(s,y),u++}while(u{var v,x;return(x=(v=t.options).persister)==null?void 0:x.call(v,a,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=a}}}function Da(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Lv(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var X,Tt,Ot,bn,qn,Lt,Yn,Xn,Ya,Mv=(Ya=class{constructor(e={}){$(this,X);$(this,Tt);$(this,Ot);$(this,bn);$(this,qn);$(this,Lt);$(this,Yn);$(this,Xn);M(this,X,e.queryCache||new zv),M(this,Tt,e.mutationCache||new Ov),M(this,Ot,e.defaultOptions||{}),M(this,bn,new Map),M(this,qn,new Map),M(this,Lt,0)}mount(){pl(this,Lt)._++,S(this,Lt)===1&&(M(this,Yn,Cf.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onFocus())})),M(this,Xn,go.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onOnline())})))}unmount(){var e,t;pl(this,Lt)._--,S(this,Lt)===0&&((e=S(this,Yn))==null||e.call(this),M(this,Yn,void 0),(t=S(this,Xn))==null||t.call(this),M(this,Xn,void 0))}isFetching(e){return S(this,X).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return S(this,Tt).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=S(this,X).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ta(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return S(this,X).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),l=S(this,X).get(r.queryHash),o=l==null?void 0:l.state.data,i=pv(t,o);if(i!==void 0)return S(this,X).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return xe.batch(()=>S(this,X).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=S(this,X);xe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=S(this,X),r={type:"active",...e};return xe.batch(()=>(n.findAll(e).forEach(l=>{l.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=xe.batch(()=>S(this,X).findAll(e).map(l=>l.cancel(n)));return Promise.all(r).then(We).catch(We)}invalidateQueries(e,t={}){return xe.batch(()=>{if(S(this,X).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=xe.batch(()=>S(this,X).findAll(e).filter(l=>!l.isDisabled()).map(l=>{let o=l.fetch(void 0,n);return n.throwOnError||(o=o.catch(We)),l.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(We)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=S(this,X).build(this,t);return n.isStaleByTime(Ta(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(We).catch(We)}fetchInfiniteQuery(e){return e.behavior=Ia(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(We).catch(We)}ensureInfiniteQueryData(e){return e.behavior=Ia(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return go.isOnline()?S(this,Tt).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,X)}getMutationCache(){return S(this,Tt)}getDefaultOptions(){return S(this,Ot)}setDefaultOptions(e){M(this,Ot,e)}setQueryDefaults(e,t){S(this,bn).set(Jr(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...S(this,bn).values()],n={};return t.forEach(r=>{el(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){S(this,qn).set(Jr(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...S(this,qn).values()];let n={};return t.forEach(r=>{el(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...S(this,Ot).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=au(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===cu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...S(this,Ot).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){S(this,X).clear(),S(this,Tt).clear()}},X=new WeakMap,Tt=new WeakMap,Ot=new WeakMap,bn=new WeakMap,qn=new WeakMap,Lt=new WeakMap,Yn=new WeakMap,Xn=new WeakMap,Ya),zf=P.createContext(void 0),lg=e=>{const t=P.useContext(zf);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fv=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(zf.Provider,{value:e,children:t}));const Iv=P.createContext(null),hi={didCatch:!1,error:null};let Dv=class extends P.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=hi}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var n,r,l=arguments.length,o=new Array(l),i=0;i0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}/** + */function cs(){return cs=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function lv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ov(e,t){return e.button===0&&(!t||t==="_self")&&!lv(e)}const iv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],sv="6";try{window.__reactRouterVersion=sv}catch{}const uv="startTransition",za=ep[uv];function av(e){let{basename:t,children:n,future:r,window:l}=e,o=P.useRef();o.current==null&&(o.current=dm({window:l,v5Compat:!0}));let i=o.current,[s,u]=P.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=P.useCallback(d=>{a&&za?za(()=>u(d)):u(d)},[u,a]);return P.useLayoutEffect(()=>i.listen(h),[i,h]),P.useEffect(()=>ev(r),[r]),P.createElement(tv,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const cv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Lr=P.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:s,target:u,to:a,preventScrollReset:h,viewTransition:d}=t,m=rv(t,iv),{basename:g}=P.useContext(xn),w,v=!1;if(typeof a=="string"&&dv.test(a)&&(w=a,cv))try{let p=new URL(window.location.href),y=a.startsWith("//")?new URL(p.protocol+a):new URL(a),C=uu(y.pathname,g);y.origin===p.origin&&C!=null?a=C+y.search+y.hash:v=!0}catch{}let x=Am(a,{relative:l}),f=fv(a,{replace:i,state:s,target:u,preventScrollReset:h,relative:l,viewTransition:d});function c(p){r&&r(p),p.defaultPrevented||f(p)}return P.createElement("a",cs({},m,{href:w||x,onClick:v||o?r:c,ref:n,target:u}))});var ja;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ja||(ja={}));var Oa;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Oa||(Oa={}));function fv(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,viewTransition:s}=t===void 0?{}:t,u=Um(),a=al(),h=wf(e,{relative:i});return P.useCallback(d=>{if(ov(d,n)){d.preventDefault();let m=r!==void 0?r:vo(a)===vo(h);u(e,{replace:m,state:l,preventScrollReset:o,relative:i,viewTransition:s})}},[a,u,h,r,l,n,e,o,i,s])}var Io=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Do=typeof window>"u"||"Deno"in globalThis;function We(){}function pv(e,t){return typeof e=="function"?e(t):e}function hv(e){return typeof e=="number"&&e>=0&&e!==1/0}function mv(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ta(e,t){return typeof e=="function"?e(t):e}function vv(e,t){return typeof e=="function"?e(t):e}function La(e,t){const{type:n="all",exact:r,fetchStatus:l,predicate:o,queryKey:i,stale:s}=e;if(i){if(r){if(t.queryHash!==cu(i,t.options))return!1}else if(!el(t.queryKey,i))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||l&&l!==t.state.fetchStatus||o&&!o(t))}function Ma(e,t){const{exact:n,status:r,predicate:l,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Jr(t.options.mutationKey)!==Jr(o))return!1}else if(!el(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||l&&!l(t))}function cu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Jr)(e)}function Jr(e){return JSON.stringify(e,(t,n)=>ds(n)?Object.keys(n).sort().reduce((r,l)=>(r[l]=n[l],r),{}):n)}function el(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!el(e[n],t[n])):!1}function kf(e,t){if(e===t)return e;const n=Fa(e)&&Fa(t);if(n||ds(e)&&ds(t)){const r=n?e:Object.keys(e),l=r.length,o=n?t:Object.keys(t),i=o.length,s=n?[]:{};let u=0;for(let a=0;a{setTimeout(t,e)})}function gv(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?kf(e,t):t}function wv(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function xv(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var du=Symbol();function Ef(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===du?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var on,zt,Hn,Ha,Sv=(Ha=class extends Io{constructor(){super();B(this,on);B(this,zt);B(this,Hn);M(this,Hn,t=>{if(!Do&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){S(this,zt)||this.setEventListener(S(this,Hn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,zt))==null||t.call(this),M(this,zt,void 0))}setEventListener(t){var n;M(this,Hn,t),(n=S(this,zt))==null||n.call(this),M(this,zt,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){S(this,on)!==t&&(M(this,on,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof S(this,on)=="boolean"?S(this,on):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},on=new WeakMap,zt=new WeakMap,Hn=new WeakMap,Ha),Cf=new Sv,Wn,jt,Kn,Wa,kv=(Wa=class extends Io{constructor(){super();B(this,Wn,!0);B(this,jt);B(this,Kn);M(this,Kn,t=>{if(!Do&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){S(this,jt)||this.setEventListener(S(this,Kn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,jt))==null||t.call(this),M(this,jt,void 0))}setEventListener(t){var n;M(this,Kn,t),(n=S(this,jt))==null||n.call(this),M(this,jt,t(this.setOnline.bind(this)))}setOnline(t){S(this,Wn)!==t&&(M(this,Wn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return S(this,Wn)}},Wn=new WeakMap,jt=new WeakMap,Kn=new WeakMap,Wa),go=new kv;function Ev(){let e,t;const n=new Promise((l,o)=>{e=l,t=o});n.status="pending",n.catch(()=>{});function r(l){Object.assign(n,l),delete n.resolve,delete n.reject}return n.resolve=l=>{r({status:"fulfilled",value:l}),e(l)},n.reject=l=>{r({status:"rejected",reason:l}),t(l)},n}function Cv(e){return Math.min(1e3*2**e,3e4)}function Pf(e){return(e??"online")==="online"?go.isOnline():!0}var _f=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function pi(e){return e instanceof _f}function Nf(e){let t=!1,n=0,r=!1,l;const o=Ev(),i=v=>{var x;r||(m(new _f(v)),(x=e.abort)==null||x.call(e))},s=()=>{t=!0},u=()=>{t=!1},a=()=>Cf.isFocused()&&(e.networkMode==="always"||go.isOnline())&&e.canRun(),h=()=>Pf(e.networkMode)&&e.canRun(),d=v=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,v),l==null||l(),o.resolve(v))},m=v=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,v),l==null||l(),o.reject(v))},g=()=>new Promise(v=>{var x;l=f=>{(r||a())&&v(f)},(x=e.onPause)==null||x.call(e)}).then(()=>{var v;l=void 0,r||(v=e.onContinue)==null||v.call(e)}),w=()=>{if(r)return;let v;const x=n===0?e.initialPromise:void 0;try{v=x??e.fn()}catch(f){v=Promise.reject(f)}Promise.resolve(v).then(d).catch(f=>{var N;if(r)return;const c=e.retry??(Do?0:3),p=e.retryDelay??Cv,y=typeof p=="function"?p(n,f):p,C=c===!0||typeof c=="number"&&na()?void 0:g()).then(()=>{t?m(f):w()})})};return{promise:o,cancel:i,continue:()=>(l==null||l(),o),cancelRetry:s,continueRetry:u,canStart:h,start:()=>(h()?w():g().then(w),o)}}function Pv(){let e=[],t=0,n=s=>{s()},r=s=>{s()},l=s=>setTimeout(s,0);const o=s=>{t?e.push(s):l(()=>{n(s)})},i=()=>{const s=e;e=[],s.length&&l(()=>{r(()=>{s.forEach(u=>{n(u)})})})};return{batch:s=>{let u;t++;try{u=s()}finally{t--,t||i()}return u},batchCalls:s=>(...u)=>{o(()=>{s(...u)})},schedule:o,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{l=s}}}var xe=Pv(),sn,Ka,Rf=(Ka=class{constructor(){B(this,sn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),hv(this.gcTime)&&M(this,sn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Do?1/0:5*60*1e3))}clearGcTimeout(){S(this,sn)&&(clearTimeout(S(this,sn)),M(this,sn,void 0))}},sn=new WeakMap,Ka),Gn,bn,Ie,he,tl,un,Ke,st,Ga,_v=(Ga=class extends Rf{constructor(t){super();B(this,Ke);B(this,Gn);B(this,bn);B(this,Ie);B(this,he);B(this,tl);B(this,un);M(this,un,!1),M(this,tl,t.defaultOptions),this.setOptions(t.options),this.observers=[],M(this,Ie,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,M(this,Gn,Rv(this.options)),this.state=t.state??S(this,Gn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=S(this,he))==null?void 0:t.promise}setOptions(t){this.options={...S(this,tl),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,Ie).remove(this)}setData(t,n){const r=gv(this.state.data,t,this.options);return de(this,Ke,st).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){de(this,Ke,st).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,l;const n=(r=S(this,he))==null?void 0:r.promise;return(l=S(this,he))==null||l.cancel(t),n?n.then(We).catch(We):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(S(this,Gn))}isActive(){return this.observers.some(t=>vv(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===du||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!mv(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),S(this,Ie).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(S(this,he)&&(S(this,un)?S(this,he).cancel({revert:!0}):S(this,he).cancelRetry()),this.scheduleGc()),S(this,Ie).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||de(this,Ke,st).call(this,{type:"invalidate"})}fetch(t,n){var u,a,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(S(this,he))return S(this,he).continueRetry(),S(this,he).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(m=>m.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,l=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(M(this,un,!0),r.signal)})},o=()=>{const d=Ef(this.options,n),m={queryKey:this.queryKey,meta:this.meta};return l(m),M(this,un,!1),this.options.persister?this.options.persister(d,m,this):d(m)},i={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};l(i),(u=this.options.behavior)==null||u.onFetch(i,this),M(this,bn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((a=i.fetchOptions)==null?void 0:a.meta))&&de(this,Ke,st).call(this,{type:"fetch",meta:(h=i.fetchOptions)==null?void 0:h.meta});const s=d=>{var m,g,w,v;pi(d)&&d.silent||de(this,Ke,st).call(this,{type:"error",error:d}),pi(d)||((g=(m=S(this,Ie).config).onError)==null||g.call(m,d,this),(v=(w=S(this,Ie).config).onSettled)==null||v.call(w,this.state.data,d,this)),this.scheduleGc()};return M(this,he,Nf({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var m,g,w,v;if(d===void 0){s(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(x){s(x);return}(g=(m=S(this,Ie).config).onSuccess)==null||g.call(m,d,this),(v=(w=S(this,Ie).config).onSettled)==null||v.call(w,d,this.state.error,this),this.scheduleGc()},onError:s,onFail:(d,m)=>{de(this,Ke,st).call(this,{type:"failed",failureCount:d,error:m})},onPause:()=>{de(this,Ke,st).call(this,{type:"pause"})},onContinue:()=>{de(this,Ke,st).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),S(this,he).start()}},Gn=new WeakMap,bn=new WeakMap,Ie=new WeakMap,he=new WeakMap,tl=new WeakMap,un=new WeakMap,Ke=new WeakSet,st=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Nv(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const l=t.error;return pi(l)&&l.revert&&S(this,bn)?{...S(this,bn),fetchStatus:"idle"}:{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),xe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),S(this,Ie).notify({query:this,type:"updated",action:t})})},Ga);function Nv(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Pf(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Rv(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var et,ba,zv=(ba=class extends Io{constructor(t={}){super();B(this,et);this.config=t,M(this,et,new Map)}build(t,n,r){const l=n.queryKey,o=n.queryHash??cu(l,n);let i=this.get(o);return i||(i=new _v({cache:this,queryKey:l,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(l)}),this.add(i)),i}add(t){S(this,et).has(t.queryHash)||(S(this,et).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=S(this,et).get(t.queryHash);n&&(t.destroy(),n===t&&S(this,et).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return S(this,et).get(t)}getAll(){return[...S(this,et).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>La(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>La(t,r)):n}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){xe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},et=new WeakMap,ba),tt,ge,an,nt,Ct,qa,jv=(qa=class extends Rf{constructor(t){super();B(this,nt);B(this,tt);B(this,ge);B(this,an);this.mutationId=t.mutationId,M(this,ge,t.mutationCache),M(this,tt,[]),this.state=t.state||Ov(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){S(this,tt).includes(t)||(S(this,tt).push(t),this.clearGcTimeout(),S(this,ge).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){M(this,tt,S(this,tt).filter(n=>n!==t)),this.scheduleGc(),S(this,ge).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){S(this,tt).length||(this.state.status==="pending"?this.scheduleGc():S(this,ge).remove(this))}continue(){var t;return((t=S(this,an))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var l,o,i,s,u,a,h,d,m,g,w,v,x,f,c,p,y,C,N,j;M(this,an,Nf({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(_,D)=>{de(this,nt,Ct).call(this,{type:"failed",failureCount:_,error:D})},onPause:()=>{de(this,nt,Ct).call(this,{type:"pause"})},onContinue:()=>{de(this,nt,Ct).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,ge).canRun(this)}));const n=this.state.status==="pending",r=!S(this,an).canStart();try{if(!n){de(this,nt,Ct).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(l=S(this,ge).config).onMutate)==null?void 0:o.call(l,t,this));const D=await((s=(i=this.options).onMutate)==null?void 0:s.call(i,t));D!==this.state.context&&de(this,nt,Ct).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const _=await S(this,an).start();return await((a=(u=S(this,ge).config).onSuccess)==null?void 0:a.call(u,_,t,this.state.context,this)),await((d=(h=this.options).onSuccess)==null?void 0:d.call(h,_,t,this.state.context)),await((g=(m=S(this,ge).config).onSettled)==null?void 0:g.call(m,_,null,this.state.variables,this.state.context,this)),await((v=(w=this.options).onSettled)==null?void 0:v.call(w,_,null,t,this.state.context)),de(this,nt,Ct).call(this,{type:"success",data:_}),_}catch(_){try{throw await((f=(x=S(this,ge).config).onError)==null?void 0:f.call(x,_,t,this.state.context,this)),await((p=(c=this.options).onError)==null?void 0:p.call(c,_,t,this.state.context)),await((C=(y=S(this,ge).config).onSettled)==null?void 0:C.call(y,void 0,_,this.state.variables,this.state.context,this)),await((j=(N=this.options).onSettled)==null?void 0:j.call(N,void 0,_,t,this.state.context)),_}finally{de(this,nt,Ct).call(this,{type:"error",error:_})}}finally{S(this,ge).runNext(this)}}},tt=new WeakMap,ge=new WeakMap,an=new WeakMap,nt=new WeakSet,Ct=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),xe.batch(()=>{S(this,tt).forEach(r=>{r.onMutationUpdate(t)}),S(this,ge).notify({mutation:this,type:"updated",action:t})})},qa);function Ov(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ze,nl,Ya,Tv=(Ya=class extends Io{constructor(t={}){super();B(this,ze);B(this,nl);this.config=t,M(this,ze,new Map),M(this,nl,Date.now())}build(t,n,r){const l=new jv({mutationCache:this,mutationId:++pl(this,nl)._,options:t.defaultMutationOptions(n),state:r});return this.add(l),l}add(t){const n=Ol(t),r=S(this,ze).get(n)??[];r.push(t),S(this,ze).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Ol(t);if(S(this,ze).has(n)){const l=(r=S(this,ze).get(n))==null?void 0:r.filter(o=>o!==t);l&&(l.length===0?S(this,ze).delete(n):S(this,ze).set(n,l))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=S(this,ze).get(Ol(t)))==null?void 0:r.find(l=>l.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=S(this,ze).get(Ol(t)))==null?void 0:r.find(l=>l!==t&&l.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...S(this,ze).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ma(n,r))}findAll(t={}){return this.getAll().filter(n=>Ma(t,n))}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return xe.batch(()=>Promise.all(t.map(n=>n.continue().catch(We))))}},ze=new WeakMap,nl=new WeakMap,Ya);function Ol(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Da(e){return{onFetch:(t,n)=>{var h,d,m,g,w;const r=t.options,l=(m=(d=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:d.fetchMore)==null?void 0:m.direction,o=((g=t.state.data)==null?void 0:g.pages)||[],i=((w=t.state.data)==null?void 0:w.pageParams)||[];let s={pages:[],pageParams:[]},u=0;const a=async()=>{let v=!1;const x=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},f=Ef(t.options,t.fetchOptions),c=async(p,y,C)=>{if(v)return Promise.reject();if(y==null&&p.pages.length)return Promise.resolve(p);const N={queryKey:t.queryKey,pageParam:y,direction:C?"backward":"forward",meta:t.options.meta};x(N);const j=await f(N),{maxPages:_}=t.options,D=C?xv:wv;return{pages:D(p.pages,j,_),pageParams:D(p.pageParams,y,_)}};if(l&&o.length){const p=l==="backward",y=p?Lv:Aa,C={pages:o,pageParams:i},N=y(r,C);s=await c(C,N,p)}else{const p=e??o.length;do{const y=u===0?i[0]??r.initialPageParam:Aa(r,s);if(u>0&&y==null)break;s=await c(s,y),u++}while(u{var v,x;return(x=(v=t.options).persister)==null?void 0:x.call(v,a,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=a}}}function Aa(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Lv(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var X,Ot,Tt,qn,Yn,Lt,Xn,Zn,Xa,Mv=(Xa=class{constructor(e={}){B(this,X);B(this,Ot);B(this,Tt);B(this,qn);B(this,Yn);B(this,Lt);B(this,Xn);B(this,Zn);M(this,X,e.queryCache||new zv),M(this,Ot,e.mutationCache||new Tv),M(this,Tt,e.defaultOptions||{}),M(this,qn,new Map),M(this,Yn,new Map),M(this,Lt,0)}mount(){pl(this,Lt)._++,S(this,Lt)===1&&(M(this,Xn,Cf.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onFocus())})),M(this,Zn,go.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onOnline())})))}unmount(){var e,t;pl(this,Lt)._--,S(this,Lt)===0&&((e=S(this,Xn))==null||e.call(this),M(this,Xn,void 0),(t=S(this,Zn))==null||t.call(this),M(this,Zn,void 0))}isFetching(e){return S(this,X).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return S(this,Ot).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=S(this,X).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ta(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return S(this,X).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),l=S(this,X).get(r.queryHash),o=l==null?void 0:l.state.data,i=pv(t,o);if(i!==void 0)return S(this,X).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return xe.batch(()=>S(this,X).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=S(this,X);xe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=S(this,X),r={type:"active",...e};return xe.batch(()=>(n.findAll(e).forEach(l=>{l.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=xe.batch(()=>S(this,X).findAll(e).map(l=>l.cancel(n)));return Promise.all(r).then(We).catch(We)}invalidateQueries(e,t={}){return xe.batch(()=>{if(S(this,X).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=xe.batch(()=>S(this,X).findAll(e).filter(l=>!l.isDisabled()).map(l=>{let o=l.fetch(void 0,n);return n.throwOnError||(o=o.catch(We)),l.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(We)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=S(this,X).build(this,t);return n.isStaleByTime(Ta(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(We).catch(We)}fetchInfiniteQuery(e){return e.behavior=Da(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(We).catch(We)}ensureInfiniteQueryData(e){return e.behavior=Da(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return go.isOnline()?S(this,Ot).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,X)}getMutationCache(){return S(this,Ot)}getDefaultOptions(){return S(this,Tt)}setDefaultOptions(e){M(this,Tt,e)}setQueryDefaults(e,t){S(this,qn).set(Jr(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...S(this,qn).values()],n={};return t.forEach(r=>{el(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){S(this,Yn).set(Jr(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...S(this,Yn).values()];let n={};return t.forEach(r=>{el(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...S(this,Tt).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=cu(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===du&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...S(this,Tt).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){S(this,X).clear(),S(this,Ot).clear()}},X=new WeakMap,Ot=new WeakMap,Tt=new WeakMap,qn=new WeakMap,Yn=new WeakMap,Lt=new WeakMap,Xn=new WeakMap,Zn=new WeakMap,Xa),zf=P.createContext(void 0),lg=e=>{const t=P.useContext(zf);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fv=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(zf.Provider,{value:e,children:t}));const Iv=P.createContext(null),hi={didCatch:!1,error:null};let Dv=class extends P.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=hi}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var n,r,l=arguments.length,o=new Array(l),i=0;i0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. @@ -75,12 +75,12 @@ Error generating stack: `+o.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bv=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),se=(e,t)=>{const n=P.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:s="",children:u,...a},h)=>P.createElement("svg",{ref:h,...Uv,width:l,height:l,stroke:r,strokeWidth:i?Number(o)*24/Number(l):o,className:["lucide",`lucide-${Bv(e)}`,s].join(" "),...a},[...t.map(([d,m])=>P.createElement(d,m)),...Array.isArray(u)?u:[u]]));return n.displayName=`${e}`,n};/** + */const $v=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),se=(e,t)=>{const n=P.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:s="",children:u,...a},h)=>P.createElement("svg",{ref:h,...Uv,width:l,height:l,stroke:r,strokeWidth:i?Number(o)*24/Number(l):o,className:["lucide",`lucide-${$v(e)}`,s].join(" "),...a},[...t.map(([d,m])=>P.createElement(d,m)),...Array.isArray(u)?u:[u]]));return n.displayName=`${e}`,n};/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $v=se("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** + */const Bv=se("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. @@ -165,4 +165,4 @@ Error generating stack: `+o.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ly=se("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);function oy({error:e}){return E.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:E.jsxs("div",{className:"max-w-md w-full p-6 bg-white/80 backdrop-blur-lg rounded-lg shadow-lg",children:[E.jsx("div",{className:"flex items-center justify-center text-red-500 mb-4",children:E.jsx($v,{size:48})}),E.jsx("h2",{className:"text-2xl font-bold text-gray-900 text-center mb-4",children:"Something went wrong"}),E.jsx("pre",{className:"text-sm bg-gray-100 p-4 rounded overflow-auto",children:e.message}),E.jsx("button",{onClick:()=>window.location.reload(),className:"mt-4 w-full bg-cornflower-blue text-white py-2 px-4 rounded hover:bg-blue-600 transition-colors",children:"Try again"})]})})}function iy({children:e}){return E.jsx(Dv,{FallbackComponent:oy,children:e})}function jf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t{const t=cy(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const s=i.split(du);return s[0]===""&&s.length!==1&&s.shift(),Tf(s,t)||ay(i)},getConflictingClassGroupIds:(i,s)=>{const u=n[i]||[];return s&&r[i]?[...u,...r[i]]:u}}},Tf=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),l=r?Tf(e.slice(1),r):void 0;if(l)return l;if(t.validators.length===0)return;const o=e.join(du);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Aa=/^\[(.+)\]$/,ay=e=>{if(Aa.test(e)){const t=Aa.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},cy=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return fy(Object.entries(e.classGroups),n).forEach(([o,i])=>{fs(i,r,o,t)}),r},fs=(e,t,n,r)=>{e.forEach(l=>{if(typeof l=="string"){const o=l===""?t:Ua(t,l);o.classGroupId=n;return}if(typeof l=="function"){if(dy(l)){fs(l(r),t,n,r);return}t.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([o,i])=>{fs(i,Ua(t,o),n,r)})})},Ua=(e,t)=>{let n=e;return t.split(du).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},dy=e=>e.isThemeGetter,fy=(e,t)=>t?e.map(([n,r])=>{const l=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[n,l]}):e,py=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const l=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return l(o,i),i},set(o,i){n.has(o)?n.set(o,i):l(o,i)}}},Of="!",hy=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,l=t[0],o=t.length,i=s=>{const u=[];let a=0,h=0,d;for(let x=0;xh?d-h:void 0;return{modifiers:u,hasImportantModifier:g,baseClassName:w,maybePostfixModifierPosition:v}};return n?s=>n({className:s,parseClassName:i}):i},my=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},vy=e=>({cache:py(e.cacheSize),parseClassName:hy(e),...uy(e)}),yy=/\s+/,gy=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:l}=t,o=[],i=e.trim().split(yy);let s="";for(let u=i.length-1;u>=0;u-=1){const a=i[u],{modifiers:h,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:g}=n(a);let w=!!g,v=r(w?m.substring(0,g):m);if(!v){if(!w){s=a+(s.length>0?" "+s:s);continue}if(v=r(m),!v){s=a+(s.length>0?" "+s:s);continue}w=!1}const x=my(h).join(":"),f=d?x+Of:x,c=f+v;if(o.includes(c))continue;o.push(c);const p=l(v,w);for(let y=0;y0?" "+s:s)}return s};function wy(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rd(h),e());return n=vy(a),r=n.cache.get,l=n.cache.set,o=s,s(u)}function s(u){const a=r(u);if(a)return a;const h=gy(u,n);return l(u,h),h}return function(){return o(wy.apply(null,arguments))}}const H=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Mf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Sy=/^\d+\/\d+$/,ky=new Set(["px","full","screen"]),Ey=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Cy=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Py=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_y=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ny=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,it=e=>Qn(e)||ky.has(e)||Sy.test(e),St=e=>ar(e,"length",Fy),Qn=e=>!!e&&!Number.isNaN(Number(e)),mi=e=>ar(e,"number",Qn),gr=e=>!!e&&Number.isInteger(Number(e)),Ry=e=>e.endsWith("%")&&Qn(e.slice(0,-1)),L=e=>Mf.test(e),kt=e=>Ey.test(e),zy=new Set(["length","size","percentage"]),jy=e=>ar(e,zy,Ff),Ty=e=>ar(e,"position",Ff),Oy=new Set(["image","url"]),Ly=e=>ar(e,Oy,Dy),My=e=>ar(e,"",Iy),wr=()=>!0,ar=(e,t,n)=>{const r=Mf.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Fy=e=>Cy.test(e)&&!Py.test(e),Ff=()=>!1,Iy=e=>_y.test(e),Dy=e=>Ny.test(e),Ay=()=>{const e=H("colors"),t=H("spacing"),n=H("blur"),r=H("brightness"),l=H("borderColor"),o=H("borderRadius"),i=H("borderSpacing"),s=H("borderWidth"),u=H("contrast"),a=H("grayscale"),h=H("hueRotate"),d=H("invert"),m=H("gap"),g=H("gradientColorStops"),w=H("gradientColorStopPositions"),v=H("inset"),x=H("margin"),f=H("opacity"),c=H("padding"),p=H("saturate"),y=H("scale"),C=H("sepia"),N=H("skew"),j=H("space"),_=H("translate"),D=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",L,t],B=()=>[L,t],gt=()=>["",it,St],Xt=()=>["auto",Qn,L],cl=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],wt=()=>["solid","dashed","dotted","double","none"],kn=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",L],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Qn,L];return{cacheSize:500,separator:":",theme:{colors:[wr],spacing:[it,St],blur:["none","",kt,L],brightness:U(),borderColor:[e],borderRadius:["none","","full",kt,L],borderSpacing:B(),borderWidth:gt(),contrast:U(),grayscale:T(),hueRotate:U(),invert:T(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[Ry,St],inset:ye(),margin:ye(),opacity:U(),padding:B(),saturate:U(),scale:U(),sepia:T(),skew:U(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[kt]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...cl(),L]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",gr,L]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",gr,L]}],"grid-cols":[{"grid-cols":[wr]}],"col-start-end":[{col:["auto",{span:["full",gr,L]},L]}],"col-start":[{"col-start":Xt()}],"col-end":[{"col-end":Xt()}],"grid-rows":[{"grid-rows":[wr]}],"row-start-end":[{row:["auto",{span:[gr,L]},L]}],"row-start":[{"row-start":Xt()}],"row-end":[{"row-end":Xt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[c]}],px:[{px:[c]}],py:[{py:[c]}],ps:[{ps:[c]}],pe:[{pe:[c]}],pt:[{pt:[c]}],pr:[{pr:[c]}],pb:[{pb:[c]}],pl:[{pl:[c]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,t]}],"min-w":[{"min-w":[L,t,"min","max","fit"]}],"max-w":[{"max-w":[L,t,"none","full","min","max","fit","prose",{screen:[kt]},kt]}],h:[{h:[L,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,t,"auto","min","max","fit"]}],"font-size":[{text:["base",kt,St]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",mi]}],"font-family":[{font:[wr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",Qn,mi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",it,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...wt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",it,St]}],"underline-offset":[{"underline-offset":["auto",it,L]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...cl(),Ty]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jy]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ly]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...wt(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:wt()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...wt()]}],"outline-offset":[{"outline-offset":[it,L]}],"outline-w":[{outline:[it,St]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:gt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[it,St]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",kt,My]}],"shadow-color":[{shadow:[wr]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...kn(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":kn()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",kt,L]}],grayscale:[{grayscale:[a]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[d]}],saturate:[{saturate:[p]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[a]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[p]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[gr,L]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[it,St,mi]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Uy=xy(Ay);function Ba(...e){return Uy(sy(e))}function ig(e){return new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}function sg(e){return`${e} Mbps`}const $a=[{name:"Home",href:"/",icon:bv},{name:"About",href:"/about",icon:Yv},{name:"Features",href:"/features",icon:ty},{name:"Gallery",href:"/gallery",icon:qv},{name:"Download",href:"/download",icon:Hv},{name:"Developers",href:"/developers",icon:Vv},{name:"Donate",href:"/donate",icon:Kv}];function By(){return E.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:"32",height:"32",children:[E.jsx("path",{fill:"#6495ed","fill-rule":"evenodd",d:"m112.8 111.5q25.7 27 1.7 53.9-21.4 20.9-41.9 22.9c8.6-7.4 11-19.8 5.8-29.9q-26.1-27.2-39.2-47.7-15.1-39.6 40.9-53.8 9.4-15.5 91.4-55.6c15.4-4.4 31.8 2.8 38.9 17.2 7 14.4 2.8 31.8-10.2 41.3l-112.8 7.1q-1.9 20.7 25.4 44.6zm-35.5-43.4c-11.4 3.4-26.3 9.6-30.2 20.4-2 5.8-0.9 12.1 1.1 17.7 10.5 16.1 24.2 31.5 37.5 45.3l1 1.1 0.7 1.3c2.8 5.5 4 11.5 3.7 17.4 6-3.7 11.4-8.2 16.2-12.8 12.4-14.2 11.3-26.2-1.5-39.8-14.4-12.7-29.3-30.2-28.5-50.6zm124.1-45.1c-4.8-9.8-15.8-14.9-26.4-12.3-20.9 10.3-42.3 21.1-62.1 33.2-3.7 2.2-12.5 7.7-18.6 12.5l102.1-6.4c7.4-6.8 9.5-17.8 5-27z"}),E.jsx("path",{fill:"#6495ed","fill-rule":"evenodd",d:"m143.8 144.3q-25.7-26.9-1.8-53.9 21.5-20.8 42-22.8c-8.6 7.4-11 19.7-5.9 29.8q26.2 27.2 39.3 47.8 15 39.6-40.9 53.7-9.4 15.5-91.5 55.7c-15.4 4.4-31.7-2.9-38.8-17.3-7-14.4-2.8-31.7 10.1-41.3l112.8-7.1q2-20.7-25.3-44.6zm35.5 43.5c11.4-3.4 26.3-9.6 30.2-20.5 2-5.7 0.9-12-1.2-17.6-10.4-16.1-24.2-31.5-37.4-45.4l-1.1-1-0.6-1.3c-2.8-5.5-4-11.5-3.8-17.4-5.9 3.6-11.4 8.2-16.1 12.8-12.5 14.1-11.3 26.2 1.4 39.7 14.5 12.7 29.4 30.3 28.6 50.7zm-124.1 45.1c4.8 9.7 15.8 14.8 26.3 12.2 20.9-10.2 42.3-21 62.2-33.1 3.7-2.2 12.5-7.7 18.5-12.6l-102 6.5c-7.4 6.8-9.5 17.8-5 27z"})]})}function $y(){const[e,t]=P.useState(!1),n=al();return E.jsxs("nav",{className:"fixed w-full z-50 bg-white/80 backdrop-blur-lg border-b border-gray-200",children:[E.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:E.jsxs("div",{className:"flex justify-between h-16",children:[E.jsx("div",{className:"flex",children:E.jsxs(Lr,{to:"/",className:"flex-shrink-0 flex items-center",children:[E.jsx(By,{}),E.jsx("span",{className:"ml-2 text-xl font-bold text-cornflower-blue",children:"Snigdha OS"})]})}),E.jsx("div",{className:"hidden sm:flex sm:items-center sm:space-x-8",children:$a.map(r=>E.jsxs(Lr,{to:r.href,className:Ba("px-3 py-2 rounded-md text-sm font-medium transition-colors flex items-center gap-2",n.pathname===r.href?"text-cornflower-blue":"text-gray-600 hover:text-cornflower-blue"),children:[E.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))}),E.jsx("div",{className:"flex items-center sm:hidden",children:E.jsx("button",{onClick:()=>t(!e),className:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100",children:e?E.jsx(ry,{className:"h-6 w-6"}):E.jsx(Zv,{className:"h-6 w-6"})})})]})}),e&&E.jsx("div",{className:"sm:hidden bg-white/90 backdrop-blur-lg",children:E.jsx("div",{className:"px-2 pt-2 pb-3 space-y-1",children:$a.map(r=>E.jsxs(Lr,{to:r.href,className:Ba("block px-3 py-2 rounded-md text-base font-medium flex items-center gap-2",n.pathname===r.href?"text-cornflower-blue bg-blue-50":"text-gray-600 hover:text-cornflower-blue hover:bg-blue-50"),onClick:()=>t(!1),children:[E.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))})})]})}const Ol={main:[{name:"Gallery",href:"/gallery"},{name:"Developers",href:"/developers"},{name:"Donate",href:"/donate"}],resources:[{name:"Documentation",href:"/docs",icon:Qv},{name:"Blog",href:"/blog",icon:ey},{name:"Support",href:"/support",icon:Gv}],community:[{name:"Community",href:"/community",icon:Jv},{name:"GitHub",href:"https://github.com/Snigdha-OS",icon:Wv},{name:"Twitter",href:"https://twitter.com/SnigdhaOS",icon:ny},{name:"YouTube",href:"https://youtube.com",icon:ly}]};function Qy(){const e=new Date().getFullYear();return E.jsx("footer",{className:"bg-gray-900 text-gray-300",children:E.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[E.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[E.jsxs("div",{className:"space-y-4",children:[E.jsx("h3",{className:"text-lg font-semibold text-white",children:"Snigdha OS"}),E.jsx("p",{className:"text-sm",children:"The most advanced penetration testing distribution, designed for security professionals and enthusiasts."}),E.jsx("div",{className:"flex space-x-4",children:Ol.community.map(t=>E.jsx("a",{href:t.href,className:"hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:E.jsx(t.icon,{className:"h-5 w-5"})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Navigation"}),E.jsx("ul",{className:"space-y-3",children:Ol.main.map(t=>E.jsx("li",{children:E.jsx(Lr,{to:t.href,className:"hover:text-white transition-colors",children:t.name})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Resources"}),E.jsx("ul",{className:"space-y-3",children:Ol.resources.map(t=>E.jsx("li",{children:E.jsxs(Lr,{to:t.href,className:"flex items-center gap-2 hover:text-white transition-colors",children:[E.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Community"}),E.jsx("ul",{className:"space-y-3",children:Ol.community.map(t=>E.jsx("li",{children:E.jsxs("a",{href:t.href,className:"flex items-center gap-2 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:[E.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]})]}),E.jsxs("div",{className:"mt-12 pt-8 border-t border-gray-800 text-sm text-center",children:[E.jsxs("p",{children:["© ",e," Snigdha OS - All rights reserved. Powered by ",E.jsx("b",{className:"text-cornflower-blue",children:"Tonmoy Infrastructure™"})]}),E.jsxs("p",{children:["Developed with ❤️ by ",E.jsx("b",{className:"text-cornflower-blue",children:E.jsx("u",{children:"Snigdha OS Open Source Team."})})]})]})]})})}const Vy="modulepreload",Hy=function(e){return"/"+e},Qa={},Sn=function(t,n,r){let l=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),s=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.allSettled(n.map(u=>{if(u=Hy(u),u in Qa)return;Qa[u]=!0;const a=u.endsWith(".css"),h=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${h}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":Vy,a||(d.as="script"),d.crossOrigin="",d.href=u,s&&d.setAttribute("nonce",s),document.head.appendChild(d),a)return new Promise((m,g)=>{d.addEventListener("load",m),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return l.then(i=>{for(const s of i||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})},Wy=P.lazy(()=>Sn(()=>import("./assets/Home-B2QkArYy.js"),__vite__mapDeps([0,1,2,3,4,5]))),Ky=P.lazy(()=>Sn(()=>import("./assets/About-SZ-ijCmv.js"),__vite__mapDeps([6,1,2]))),Gy=P.lazy(()=>Sn(()=>import("./assets/Features-CF7KU7eP.js"),__vite__mapDeps([7,1,5]))),by=P.lazy(()=>Sn(()=>import("./assets/Download-DWvMFQZR.js"),__vite__mapDeps([8,1,9,4,10]))),qy=P.lazy(()=>Sn(()=>import("./assets/Developers-Ddn1LvUS.js"),__vite__mapDeps([11,1,10,2,3]))),Yy=P.lazy(()=>Sn(()=>import("./assets/Donate-D7xndTTD.js"),__vite__mapDeps([12,1,9,2,3]))),Xy=P.lazy(()=>Sn(()=>import("./assets/Gallery-DXEfm09p.js"),__vite__mapDeps([13,1])));function Zy(){return E.jsx("div",{className:"min-h-[50vh] flex items-center justify-center",children:E.jsx(Xv,{className:"h-8 w-8 animate-spin text-cornflower-blue"})})}function Jy(){return E.jsx(P.Suspense,{fallback:E.jsx(Zy,{}),children:E.jsxs(nv,{children:[E.jsx(Et,{path:"/",element:E.jsx(Wy,{})}),E.jsx(Et,{path:"/about",element:E.jsx(Ky,{})}),E.jsx(Et,{path:"/features",element:E.jsx(Gy,{})}),E.jsx(Et,{path:"/download",element:E.jsx(by,{})}),E.jsx(Et,{path:"/developers",element:E.jsx(qy,{})}),E.jsx(Et,{path:"/donate",element:E.jsx(Yy,{})}),E.jsx(Et,{path:"/gallery",element:E.jsx(Xy,{})})]})})}const eg=new Mv({defaultOptions:{queries:{staleTime:1e3*60*5,retry:1}}});function tg(){return E.jsx(iy,{children:E.jsx(Fv,{client:eg,children:E.jsx(av,{children:E.jsxs("div",{className:"min-h-screen bg-gray-50 font-fira-sans flex flex-col",children:[E.jsx($y,{}),E.jsx("main",{className:"flex-grow pt-16",children:E.jsx(Jy,{})}),E.jsx(Qy,{})]})})})})}cf(document.getElementById("root")).render(E.jsx(P.StrictMode,{children:E.jsx(tg,{})}));export{Qv as B,Hv as D,Wv as G,Kv as H,Lr as L,Io as S,Xv as a,vv as b,se as c,Ta as d,hv as e,sg as f,Cf as g,Nv as h,Do as i,E as j,gv as k,xe as l,kf as m,We as n,ig as o,Ev as p,P as r,rg as s,mv as t,lg as u}; + */const ly=se("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);function oy({error:e}){return E.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:E.jsxs("div",{className:"max-w-md w-full p-6 bg-white/80 backdrop-blur-lg rounded-lg shadow-lg",children:[E.jsx("div",{className:"flex items-center justify-center text-red-500 mb-4",children:E.jsx(Bv,{size:48})}),E.jsx("h2",{className:"text-2xl font-bold text-gray-900 text-center mb-4",children:"Something went wrong"}),E.jsx("pre",{className:"text-sm bg-gray-100 p-4 rounded overflow-auto",children:e.message}),E.jsx("button",{onClick:()=>window.location.reload(),className:"mt-4 w-full bg-cornflower-blue text-white py-2 px-4 rounded hover:bg-blue-600 transition-colors",children:"Try again"})]})})}function iy({children:e}){return E.jsx(Dv,{FallbackComponent:oy,children:e})}function jf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t{const t=cy(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const s=i.split(fu);return s[0]===""&&s.length!==1&&s.shift(),Of(s,t)||ay(i)},getConflictingClassGroupIds:(i,s)=>{const u=n[i]||[];return s&&r[i]?[...u,...r[i]]:u}}},Of=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),l=r?Of(e.slice(1),r):void 0;if(l)return l;if(t.validators.length===0)return;const o=e.join(fu);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ua=/^\[(.+)\]$/,ay=e=>{if(Ua.test(e)){const t=Ua.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},cy=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return fy(Object.entries(e.classGroups),n).forEach(([o,i])=>{fs(i,r,o,t)}),r},fs=(e,t,n,r)=>{e.forEach(l=>{if(typeof l=="string"){const o=l===""?t:$a(t,l);o.classGroupId=n;return}if(typeof l=="function"){if(dy(l)){fs(l(r),t,n,r);return}t.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([o,i])=>{fs(i,$a(t,o),n,r)})})},$a=(e,t)=>{let n=e;return t.split(fu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},dy=e=>e.isThemeGetter,fy=(e,t)=>t?e.map(([n,r])=>{const l=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[n,l]}):e,py=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const l=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return l(o,i),i},set(o,i){n.has(o)?n.set(o,i):l(o,i)}}},Tf="!",hy=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,l=t[0],o=t.length,i=s=>{const u=[];let a=0,h=0,d;for(let x=0;xh?d-h:void 0;return{modifiers:u,hasImportantModifier:g,baseClassName:w,maybePostfixModifierPosition:v}};return n?s=>n({className:s,parseClassName:i}):i},my=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},vy=e=>({cache:py(e.cacheSize),parseClassName:hy(e),...uy(e)}),yy=/\s+/,gy=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:l}=t,o=[],i=e.trim().split(yy);let s="";for(let u=i.length-1;u>=0;u-=1){const a=i[u],{modifiers:h,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:g}=n(a);let w=!!g,v=r(w?m.substring(0,g):m);if(!v){if(!w){s=a+(s.length>0?" "+s:s);continue}if(v=r(m),!v){s=a+(s.length>0?" "+s:s);continue}w=!1}const x=my(h).join(":"),f=d?x+Tf:x,c=f+v;if(o.includes(c))continue;o.push(c);const p=l(v,w);for(let y=0;y0?" "+s:s)}return s};function wy(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rd(h),e());return n=vy(a),r=n.cache.get,l=n.cache.set,o=s,s(u)}function s(u){const a=r(u);if(a)return a;const h=gy(u,n);return l(u,h),h}return function(){return o(wy.apply(null,arguments))}}const H=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Mf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Sy=/^\d+\/\d+$/,ky=new Set(["px","full","screen"]),Ey=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Cy=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Py=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_y=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ny=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,it=e=>Vn(e)||ky.has(e)||Sy.test(e),St=e=>ar(e,"length",Fy),Vn=e=>!!e&&!Number.isNaN(Number(e)),mi=e=>ar(e,"number",Vn),gr=e=>!!e&&Number.isInteger(Number(e)),Ry=e=>e.endsWith("%")&&Vn(e.slice(0,-1)),L=e=>Mf.test(e),kt=e=>Ey.test(e),zy=new Set(["length","size","percentage"]),jy=e=>ar(e,zy,Ff),Oy=e=>ar(e,"position",Ff),Ty=new Set(["image","url"]),Ly=e=>ar(e,Ty,Dy),My=e=>ar(e,"",Iy),wr=()=>!0,ar=(e,t,n)=>{const r=Mf.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Fy=e=>Cy.test(e)&&!Py.test(e),Ff=()=>!1,Iy=e=>_y.test(e),Dy=e=>Ny.test(e),Ay=()=>{const e=H("colors"),t=H("spacing"),n=H("blur"),r=H("brightness"),l=H("borderColor"),o=H("borderRadius"),i=H("borderSpacing"),s=H("borderWidth"),u=H("contrast"),a=H("grayscale"),h=H("hueRotate"),d=H("invert"),m=H("gap"),g=H("gradientColorStops"),w=H("gradientColorStopPositions"),v=H("inset"),x=H("margin"),f=H("opacity"),c=H("padding"),p=H("saturate"),y=H("scale"),C=H("sepia"),N=H("skew"),j=H("space"),_=H("translate"),D=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",L,t],$=()=>[L,t],gt=()=>["",it,St],Xt=()=>["auto",Vn,L],cl=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],wt=()=>["solid","dashed","dotted","double","none"],En=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",L],T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Vn,L];return{cacheSize:500,separator:":",theme:{colors:[wr],spacing:[it,St],blur:["none","",kt,L],brightness:U(),borderColor:[e],borderRadius:["none","","full",kt,L],borderSpacing:$(),borderWidth:gt(),contrast:U(),grayscale:O(),hueRotate:U(),invert:O(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[Ry,St],inset:ye(),margin:ye(),opacity:U(),padding:$(),saturate:U(),scale:U(),sepia:O(),skew:U(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[kt]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...cl(),L]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",gr,L]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",gr,L]}],"grid-cols":[{"grid-cols":[wr]}],"col-start-end":[{col:["auto",{span:["full",gr,L]},L]}],"col-start":[{"col-start":Xt()}],"col-end":[{"col-end":Xt()}],"grid-rows":[{"grid-rows":[wr]}],"row-start-end":[{row:["auto",{span:[gr,L]},L]}],"row-start":[{"row-start":Xt()}],"row-end":[{"row-end":Xt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[c]}],px:[{px:[c]}],py:[{py:[c]}],ps:[{ps:[c]}],pe:[{pe:[c]}],pt:[{pt:[c]}],pr:[{pr:[c]}],pb:[{pb:[c]}],pl:[{pl:[c]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,t]}],"min-w":[{"min-w":[L,t,"min","max","fit"]}],"max-w":[{"max-w":[L,t,"none","full","min","max","fit","prose",{screen:[kt]},kt]}],h:[{h:[L,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,t,"auto","min","max","fit"]}],"font-size":[{text:["base",kt,St]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",mi]}],"font-family":[{font:[wr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",Vn,mi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",it,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...wt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",it,St]}],"underline-offset":[{"underline-offset":["auto",it,L]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...cl(),Oy]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jy]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ly]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...wt(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:wt()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...wt()]}],"outline-offset":[{"outline-offset":[it,L]}],"outline-w":[{outline:[it,St]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:gt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[it,St]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",kt,My]}],"shadow-color":[{shadow:[wr]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...En(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":En()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",kt,L]}],grayscale:[{grayscale:[a]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[d]}],saturate:[{saturate:[p]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[a]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[p]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[gr,L]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[it,St,mi]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Uy=xy(Ay);function Ba(...e){return Uy(sy(e))}function ig(e){return new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}function sg(e){return`${e} Mbps`}const Qa=[{name:"Home",href:"/",icon:bv},{name:"About",href:"/about",icon:Yv},{name:"Features",href:"/features",icon:ty},{name:"Gallery",href:"/gallery",icon:qv},{name:"Download",href:"/download",icon:Hv},{name:"Developers",href:"/developers",icon:Vv},{name:"Donate",href:"/donate",icon:Kv}];function $y(){return E.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:"32",height:"32",children:[E.jsx("path",{fill:"#6495ed","fill-rule":"evenodd",d:"m112.8 111.5q25.7 27 1.7 53.9-21.4 20.9-41.9 22.9c8.6-7.4 11-19.8 5.8-29.9q-26.1-27.2-39.2-47.7-15.1-39.6 40.9-53.8 9.4-15.5 91.4-55.6c15.4-4.4 31.8 2.8 38.9 17.2 7 14.4 2.8 31.8-10.2 41.3l-112.8 7.1q-1.9 20.7 25.4 44.6zm-35.5-43.4c-11.4 3.4-26.3 9.6-30.2 20.4-2 5.8-0.9 12.1 1.1 17.7 10.5 16.1 24.2 31.5 37.5 45.3l1 1.1 0.7 1.3c2.8 5.5 4 11.5 3.7 17.4 6-3.7 11.4-8.2 16.2-12.8 12.4-14.2 11.3-26.2-1.5-39.8-14.4-12.7-29.3-30.2-28.5-50.6zm124.1-45.1c-4.8-9.8-15.8-14.9-26.4-12.3-20.9 10.3-42.3 21.1-62.1 33.2-3.7 2.2-12.5 7.7-18.6 12.5l102.1-6.4c7.4-6.8 9.5-17.8 5-27z"}),E.jsx("path",{fill:"#6495ed","fill-rule":"evenodd",d:"m143.8 144.3q-25.7-26.9-1.8-53.9 21.5-20.8 42-22.8c-8.6 7.4-11 19.7-5.9 29.8q26.2 27.2 39.3 47.8 15 39.6-40.9 53.7-9.4 15.5-91.5 55.7c-15.4 4.4-31.7-2.9-38.8-17.3-7-14.4-2.8-31.7 10.1-41.3l112.8-7.1q2-20.7-25.3-44.6zm35.5 43.5c11.4-3.4 26.3-9.6 30.2-20.5 2-5.7 0.9-12-1.2-17.6-10.4-16.1-24.2-31.5-37.4-45.4l-1.1-1-0.6-1.3c-2.8-5.5-4-11.5-3.8-17.4-5.9 3.6-11.4 8.2-16.1 12.8-12.5 14.1-11.3 26.2 1.4 39.7 14.5 12.7 29.4 30.3 28.6 50.7zm-124.1 45.1c4.8 9.7 15.8 14.8 26.3 12.2 20.9-10.2 42.3-21 62.2-33.1 3.7-2.2 12.5-7.7 18.5-12.6l-102 6.5c-7.4 6.8-9.5 17.8-5 27z"})]})}function By(){const[e,t]=P.useState(!1),n=al();return E.jsxs("nav",{className:"fixed w-full z-50 bg-white/80 backdrop-blur-lg border-b border-gray-200",children:[E.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:E.jsxs("div",{className:"flex justify-between h-16",children:[E.jsx("div",{className:"flex",children:E.jsxs(Lr,{to:"/",className:"flex-shrink-0 flex items-center",children:[E.jsx($y,{}),E.jsx("span",{className:"ml-2 text-xl font-bold text-cornflower-blue",children:"Snigdha OS"})]})}),E.jsx("div",{className:"hidden sm:flex sm:items-center sm:space-x-8",children:Qa.map(r=>E.jsxs(Lr,{to:r.href,className:Ba("px-3 py-2 rounded-md text-sm font-medium transition-colors flex items-center gap-2",n.pathname===r.href?"text-cornflower-blue":"text-gray-600 hover:text-cornflower-blue"),children:[E.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))}),E.jsx("div",{className:"flex items-center sm:hidden",children:E.jsx("button",{onClick:()=>t(!e),className:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100",children:e?E.jsx(ry,{className:"h-6 w-6"}):E.jsx(Zv,{className:"h-6 w-6"})})})]})}),e&&E.jsx("div",{className:"sm:hidden bg-white/90 backdrop-blur-lg",children:E.jsx("div",{className:"px-2 pt-2 pb-3 space-y-1",children:Qa.map(r=>E.jsxs(Lr,{to:r.href,className:Ba("block px-3 py-2 rounded-md text-base font-medium flex items-center gap-2",n.pathname===r.href?"text-cornflower-blue bg-blue-50":"text-gray-600 hover:text-cornflower-blue hover:bg-blue-50"),onClick:()=>t(!1),children:[E.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))})})]})}const Tl={main:[{name:"Gallery",href:"/gallery"},{name:"Developers",href:"/developers"},{name:"Donate",href:"/donate"}],resources:[{name:"Documentation",href:"/docs",icon:Qv},{name:"Blog",href:"/blog",icon:ey},{name:"Support",href:"/support",icon:Gv}],community:[{name:"Community",href:"/community",icon:Jv},{name:"GitHub",href:"https://github.com/Snigdha-OS",icon:Wv},{name:"Twitter",href:"https://twitter.com/SnigdhaOS",icon:ny},{name:"YouTube",href:"https://youtube.com",icon:ly}]};function Qy(){const e=new Date().getFullYear();return E.jsx("footer",{className:"bg-gray-900 text-gray-300",children:E.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[E.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[E.jsxs("div",{className:"space-y-4",children:[E.jsx("h3",{className:"text-lg font-semibold text-white",children:"Snigdha OS"}),E.jsx("p",{className:"text-sm",children:"The most advanced penetration testing distribution, designed for security professionals and enthusiasts."}),E.jsx("div",{className:"flex space-x-4",children:Tl.community.map(t=>E.jsx("a",{href:t.href,className:"hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:E.jsx(t.icon,{className:"h-5 w-5"})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Navigation"}),E.jsx("ul",{className:"space-y-3",children:Tl.main.map(t=>E.jsx("li",{children:E.jsx(Lr,{to:t.href,className:"hover:text-white transition-colors",children:t.name})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Resources"}),E.jsx("ul",{className:"space-y-3",children:Tl.resources.map(t=>E.jsx("li",{children:E.jsxs(Lr,{to:t.href,className:"flex items-center gap-2 hover:text-white transition-colors",children:[E.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Community"}),E.jsx("ul",{className:"space-y-3",children:Tl.community.map(t=>E.jsx("li",{children:E.jsxs("a",{href:t.href,className:"flex items-center gap-2 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:[E.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]})]}),E.jsxs("div",{className:"mt-12 pt-8 border-t border-gray-800 text-sm text-center",children:[E.jsxs("p",{children:["© ",e," Snigdha OS - All rights reserved. Powered by ",E.jsx("b",{className:"text-cornflower-blue",children:"Tonmoy Infrastructure™"})]}),E.jsxs("p",{children:["Developed with ❤️ by ",E.jsx("b",{className:"text-cornflower-blue",children:E.jsx("u",{children:"Snigdha OS Open Source Team."})})]})]})]})})}const Vy="modulepreload",Hy=function(e){return"/"+e},Va={},kn=function(t,n,r){let l=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),s=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.allSettled(n.map(u=>{if(u=Hy(u),u in Va)return;Va[u]=!0;const a=u.endsWith(".css"),h=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${h}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":Vy,a||(d.as="script"),d.crossOrigin="",d.href=u,s&&d.setAttribute("nonce",s),document.head.appendChild(d),a)return new Promise((m,g)=>{d.addEventListener("load",m),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return l.then(i=>{for(const s of i||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})},Wy=P.lazy(()=>kn(()=>import("./assets/Home-B2QkArYy.js"),__vite__mapDeps([0,1,2,3,4,5]))),Ky=P.lazy(()=>kn(()=>import("./assets/About-SZ-ijCmv.js"),__vite__mapDeps([6,1,2]))),Gy=P.lazy(()=>kn(()=>import("./assets/Features-CF7KU7eP.js"),__vite__mapDeps([7,1,5]))),by=P.lazy(()=>kn(()=>import("./assets/Download-DWvMFQZR.js"),__vite__mapDeps([8,1,9,4,10]))),qy=P.lazy(()=>kn(()=>import("./assets/Developers-Ddn1LvUS.js"),__vite__mapDeps([11,1,10,2,3]))),Yy=P.lazy(()=>kn(()=>import("./assets/Donate-D7xndTTD.js"),__vite__mapDeps([12,1,9,2,3]))),Xy=P.lazy(()=>kn(()=>import("./assets/Gallery-DXEfm09p.js"),__vite__mapDeps([13,1])));function Zy(){return E.jsx("div",{className:"min-h-[50vh] flex items-center justify-center",children:E.jsx(Xv,{className:"h-8 w-8 animate-spin text-cornflower-blue"})})}function Jy(){return E.jsx(P.Suspense,{fallback:E.jsx(Zy,{}),children:E.jsxs(nv,{children:[E.jsx(Et,{path:"/",element:E.jsx(Wy,{})}),E.jsx(Et,{path:"/about",element:E.jsx(Ky,{})}),E.jsx(Et,{path:"/features",element:E.jsx(Gy,{})}),E.jsx(Et,{path:"/download",element:E.jsx(by,{})}),E.jsx(Et,{path:"/developers",element:E.jsx(qy,{})}),E.jsx(Et,{path:"/donate",element:E.jsx(Yy,{})}),E.jsx(Et,{path:"/gallery",element:E.jsx(Xy,{})})]})})}const eg=new Mv({defaultOptions:{queries:{staleTime:1e3*60*5,retry:1}}});function tg(){return E.jsx(iy,{children:E.jsx(Fv,{client:eg,children:E.jsxs(av,{children:[" ",E.jsxs("div",{className:"min-h-screen bg-gray-50 font-fira-sans flex flex-col",children:[E.jsx(By,{}),E.jsx("main",{className:"flex-grow pt-16",children:E.jsx(Jy,{})}),E.jsx(Qy,{})]})]})})})}df(document.getElementById("root")).render(E.jsx(P.StrictMode,{children:E.jsx(tg,{})}));export{Qv as B,Hv as D,Wv as G,Kv as H,Lr as L,Io as S,Xv as a,vv as b,se as c,Ta as d,hv as e,sg as f,Cf as g,Nv as h,Do as i,E as j,gv as k,xe as l,kf as m,We as n,ig as o,Ev as p,P as r,rg as s,mv as t,lg as u};