sync: 0.7.2 from main (6164dced8d3ab8f9bcce9bf333fb4e8663760ff1)

This commit is contained in:
github-actions[bot] committed 2026-07-03 01:55:33 +00:00
1 parent 0f9ef308d2
commit 9337afc47e
74 files changed
+11173 -4687

No files matched your search

+406
View File
@@ -0,0 +1,406 @@
var kC=Object.defineProperty;var OC=(t,n,r)=>n in t?kC(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r;var gb=(t,n,r)=>OC(t,typeof n!="symbol"?n+"":n,r);function MC(t,n){for(var r=0;r<n.length;r++){const s=n[r];if(typeof s!="string"&&!Array.isArray(s)){for(const i in s)if(i!=="default"&&!(i in t)){const c=Object.getOwnPropertyDescriptor(s,i);c&&Object.defineProperty(t,i,c.get?c:{enumerable:!0,get:()=>s[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const c of i)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function r(i){const c={};return i.integrity&&(c.integrity=i.integrity),i.referrerPolicy&&(c.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?c.credentials="include":i.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(i){if(i.ep)return;i.ep=!0;const c=r(i);fetch(i.href,c)}})();function N0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var dm={exports:{}},Vi={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var yb;function DC(){if(yb)return Vi;yb=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(s,i,c){var u=null;if(c!==void 0&&(u=""+c),i.key!==void 0&&(u=""+i.key),"key"in i){c={};for(var f in i)f!=="key"&&(c[f]=i[f])}else c=i;return i=c.ref,{$$typeof:t,type:s,key:u,ref:i!==void 0?i:null,props:c}}return Vi.Fragment=n,Vi.jsx=r,Vi.jsxs=r,Vi}var vb;function zC(){return vb||(vb=1,dm.exports=DC()),dm.exports}var m=zC(),fm={exports:{}},Ye={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var bb;function LC(){if(bb)return Ye;bb=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),w=Symbol.iterator;function C(T){return T===null||typeof T!="object"?null:(T=w&&T[w]||T["@@iterator"],typeof T=="function"?T:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,_={};function R(T,V,L){this.props=T,this.context=V,this.refs=_,this.updater=L||S}R.prototype.isReactComponent={},R.prototype.setState=function(T,V){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,V,"setState")},R.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function O(){}O.prototype=R.prototype;function A(T,V,L){this.props=T,this.context=V,this.refs=_,this.updater=L||S}var D=A.prototype=new O;D.constructor=A,E(D,R.prototype),D.isPureReactComponent=!0;var B=Array.isArray;function I(){}var U={H:null,A:null,T:null,S:null},$=Object.prototype.hasOwnProperty;function me(T,V,L){var K=L.ref;return{$$typeof:t,type:T,key:V,ref:K!==void 0?K:null,props:L}}function fe(T,V){return me(T.type,V,T.props)}function pe(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function re(T){var V={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(L){return V[L]})}var Y=/\/+/g;function ue(T,V){return typeof T=="object"&&T!==null&&T.key!=null?re(""+T.key):V.toString(36)}function ye(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(I,I):(T.status="pending",T.then(function(V){T.status==="pending"&&(T.status="fulfilled",T.value=V)},function(V){T.status==="pending"&&(T.status="rejected",T.reason=V)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function j(T,V,L,K,W){var le=typeof T;(le==="undefined"||le==="boolean")&&(T=null);var ge=!1;if(T===null)ge=!0;else switch(le){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(T.$$typeof){case t:case n:ge=!0;break;case v:return ge=T._init,j(ge(T._payload),V,L,K,W)}}if(ge)return W=W(T),ge=K===""?"."+ue(T,0):K,B(W)?(L="",ge!=null&&(L=ge.replace(Y,"$&/")+"/"),j(W,V,L,"",function(Ee){return Ee})):W!=null&&(pe(W)&&(W=fe(W,L+(W.key==null||T&&T.key===W.key?"":(""+W.key).replace(Y,"$&/")+"/")+ge)),V.push(W)),1;ge=0;var q=K===""?".":K+":";if(B(T))for(var ae=0;ae<T.length;ae++)K=T[ae],le=q+ue(K,ae),ge+=j(K,V,L,le,W);else if(ae=C(T),typeof ae=="function")for(T=ae.call(T),ae=0;!(K=T.next()).done;)K=K.value,le=q+ue(K,ae++),ge+=j(K,V,L,le,W);else if(le==="object"){if(typeof T.then=="function")return j(ye(T),V,L,K,W);throw V=String(T),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.")}return ge}function X(T,V,L){if(T==null)return T;var K=[],W=0;return j(T,K,"","",function(le){return V.call(L,le,W++)}),K}function te(T){if(T._status===-1){var V=T._result;V=V(),V.then(function(L){(T._status===0||T._status===-1)&&(T._status=1,T._result=L)},function(L){(T._status===0||T._status===-1)&&(T._status=2,T._result=L)}),T._status===-1&&(T._status=0,T._result=V)}if(T._status===1)return T._result.default;throw T._result}var se=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var V=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(V))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},ne={map:X,forEach:function(T,V,L){X(T,function(){V.apply(this,arguments)},L)},count:function(T){var V=0;return X(T,function(){V++}),V},toArray:function(T){return X(T,function(V){return V})||[]},only:function(T){if(!pe(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return Ye.Activity=y,Ye.Children=ne,Ye.Component=R,Ye.Fragment=r,Ye.Profiler=i,Ye.PureComponent=A,Ye.StrictMode=s,Ye.Suspense=g,Ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=U,Ye.__COMPILER_RUNTIME={__proto__:null,c:function(T){return U.H.useMemoCache(T)}},Ye.cache=function(T){return function(){return T.apply(null,arguments)}},Ye.cacheSignal=function(){return null},Ye.cloneElement=function(T,V,L){if(T==null)throw Error("The argument must be Line truncated
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var wb;function UC(){return wb||(wb=1,(function(t){function n(j,X){var te=j.length;j.push(X);e:for(;0<te;){var se=te-1>>>1,ne=j[se];if(0<i(ne,X))j[se]=X,j[te]=ne,te=se;else break e}}function r(j){return j.length===0?null:j[0]}function s(j){if(j.length===0)return null;var X=j[0],te=j.pop();if(te!==X){j[0]=te;e:for(var se=0,ne=j.length,T=ne>>>1;se<T;){var V=2*(se+1)-1,L=j[V],K=V+1,W=j[K];if(0>i(L,te))K<ne&&0>i(W,L)?(j[se]=W,j[K]=te,se=K):(j[se]=L,j[V]=te,se=V);else if(K<ne&&0>i(W,te))j[se]=W,j[K]=te,se=K;else break e}}return X}function i(j,X){var te=j.sortIndex-X.sortIndex;return te!==0?te:j.id-X.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var u=Date,f=u.now();t.unstable_now=function(){return u.now()-f}}var g=[],p=[],v=1,y=null,w=3,C=!1,S=!1,E=!1,_=!1,R=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;function D(j){for(var X=r(p);X!==null;){if(X.callback===null)s(p);else if(X.startTime<=j)s(p),X.sortIndex=X.expirationTime,n(g,X);else break;X=r(p)}}function B(j){if(E=!1,D(j),!S)if(r(g)!==null)S=!0,I||(I=!0,re());else{var X=r(p);X!==null&&ye(B,X.startTime-j)}}var I=!1,U=-1,$=5,me=-1;function fe(){return _?!0:!(t.unstable_now()-me<$)}function pe(){if(_=!1,I){var j=t.unstable_now();me=j;var X=!0;try{e:{S=!1,E&&(E=!1,O(U),U=-1),C=!0;var te=w;try{t:{for(D(j),y=r(g);y!==null&&!(y.expirationTime>j&&fe());){var se=y.callback;if(typeof se=="function"){y.callback=null,w=y.priorityLevel;var ne=se(y.expirationTime<=j);if(j=t.unstable_now(),typeof ne=="function"){y.callback=ne,D(j),X=!0;break t}y===r(g)&&s(g),D(j)}else s(g);y=r(g)}if(y!==null)X=!0;else{var T=r(p);T!==null&&ye(B,T.startTime-j),X=!1}}break e}finally{y=null,w=te,C=!1}X=void 0}}finally{X?re():I=!1}}}var re;if(typeof A=="function")re=function(){A(pe)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,ue=Y.port2;Y.port1.onmessage=pe,re=function(){ue.postMessage(null)}}else re=function(){R(pe,0)};function ye(j,X){U=R(function(){j(t.unstable_now())},X)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(j){j.callback=null},t.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<j?Math.floor(1e3/j):5},t.unstable_getCurrentPriorityLevel=function(){return w},t.unstable_next=function(j){switch(w){case 1:case 2:case 3:var X=3;break;default:X=w}var te=w;w=X;try{return j()}finally{w=te}},t.unstable_requestPaint=function(){_=!0},t.unstable_runWithPriority=function(j,X){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var te=w;w=j;try{return X()}finally{w=te}},t.unstable_scheduleCallback=function(j,X,te){var se=t.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?se+te:se):te=se,j){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=te+ne,j={id:v++,callback:X,priorityLevel:j,startTime:te,expirationTime:ne,sortIndex:-1},te>se?(j.sortIndex=te,n(p,j),r(g)===null&&j===r(p)&&(E?(O(U),U=-1):E=!0,ye(B,te-se))):(j.sortIndex=ne,n(g,j),S||C||(S=!0,I||(I=!0,re()))),j},t.unstable_shouldYield=fe,t.unstable_wrapCallback=function(j){var X=w;return function(){var te=w;w=X;try{return j.apply(this,arguments)}finally{w=te}}}})(pm)),pm}var Sb;function BC(){return Sb||(Sb=1,hm.exports=UC()),hm.exports}var gm={exports:{}},mn={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Eb;function PC(){if(Eb)return mn;Eb=1;var t=Nh();function n(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)p+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var s={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},i=Symbol.for("react.portal");function c(g,p,v){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:y==null?null:""+y,children:g,containerInfo:p,implementation:v}}var u=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return mn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,mn.createPortal=function(g,p){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(n(299));return c(g,p,null,v)},mn.flushSync=function(g){var p=u.T,v=s.p;try{if(u.T=null,s.p=2,g)return g()}finally{u.T=p,s.p=v,s.d.f()}},mn.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,s.d.C(g,p))},mn.prefetchDNS=function(g){typeof g=="string"&&s.d.D(g)},mn.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var v=p.as,y=f(v,p.crossOrigin),w=typeof p.integrity=="string"?p.integrity:void 0,C=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?s.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:y,integrity:w,fetchPriority:C}):v==="script"&&s.d.X(g,{crossOrigin:y,integrity:w,fetchPriority:C,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},mn.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=f(p.as,p.crossOrigin);s.d.M(g,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&s.d.M(g)},mn.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,y=f(v,p.crossOrigin);s.d.L(g,v,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},mn.preloadModule=function(g,p){if(typeof g=="string")if(p){var v=f(p.as,p.crossOrigin);s.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else s.d.m(g)},mn.requestFormReset=function(g){s.d.r(g)},mn.unstable_batchedUpdates=function(g,p){return g(p)},mn.useFormState=function(g,p,v){return u.H.useFormState(g,p,v)},mn.useFormStatus=function(){return u.H.useHostTransitionStatus()},mn.version="19.2.4",mn}var _b;function R0(){if(_b)return gm.exports;_b=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),gm.exports=PC(),gm.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Cb;function HC(){if(Cb)return Ii;Cb=1;var t=BC(),n=Nh(),r=R0();function s(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)a+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var a=e,o=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(o=a.return),e=a.return;while(e)}return a.tag===3?o:null}function u(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function f(e){if(e.tag===31){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function g(e){if(c(e)!==e)throw Error(s(188))}function p(e){var a=e.alternate;if(!a){if(a=c(e),a===null)throw Error(s(188));return a!==e?null:e}for(var o=e,l=a;;){var d=o.return;if(d===null)break;var h=d.alternate;if(h===null){if(l=d.return,l!==null){o=l;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===o)return g(d),e;if(h===l)return g(d),a;h=h.sibling}throw Error(s(188))}if(o.return!==l.return)o=d,l=h;else{for(var x=!1,N=d.child;N;){if(N===o){x=!0,o=d,l=h;break}if(N===l){x=!0,l=d,o=h;break}N=N.sibling}if(!x){for(N=h.child;N;){if(N===o){x=!0,o=h,l=d;break}if(N===l){x=!0,l=h,o=d;break}N=N.sibling}if(!x)throw Error(s(189))}}if(o.alternate!==l)throw Error(s(190))}if(o.tag!==3)throw Error(s(188));return o.stateNode.current===o?e:a}function v(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=v(e),a!==null)return a;e=e.sibling}return null}var y=Object.assign,w=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),A=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),me=Symbol.for("react.activity"),fe=Symbol.for("react.memo_cache_sentinel"),pe=Symbol.iterator;function re(e){return e===null||typeof e!="object"?null:(e=pe&&e[pe]||e["@@iterator"],typeof e=="function"?e:null)}var Y=Symbol.for("react.client.reference");function ue(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Y?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case R:return"Profiler";case _:return"StrictMode";case B:return"Suspense";case I:return"SuspenseList";case me:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case S:return"Portal";case A:return e.displayName||"Context";case O:return(e._context.displayName||"Context")+".Consumer";case D:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case U:return a=e.displayName||null,a!==null?a:ue(e.type)||"Memo";case $:a=e._payload,e=e._init;try{return ue(e(a))}catch{}}return null}var ye=Array.isArray,j=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},se=[],ne=-1;function T(e){return{current:e}}function V(e){0>ne||(e.current=se[ne],se[ne]=null,ne--)}function L(e,a){ne++,se[ne]=e.current,e.current=a}var K=T(null),W=T(null),le=T(null),ge=T(null);function q(e,a){switch(L(le,a),L(W,e),L(K,null),a.nodeType){case 9:case 11:e=(e=a.documentElement)&&(e=e.namespaceURI)?Pv(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=Pv(a),e=Hv(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}V(K),L(K,e)}function ae(){V(K),V(W),V(le)}function Ee(e){e.memoizedState!==null&&L(ge,e);var a=K.current,o=Hv(a,e.type);a!==o&&(L(W,e),L(K,o))}function ke(e){W.current===e&&(V(K),V(W)),ge.current===e&&(V(ge),Ui._currentValue=te)}var ce,_e;function be(e){if(ce===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);ce=a&&a[1]||"",_e=-1<o.stack.indexOf(`
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ce+e+_e}var Re=!1;function Pe(e,a){if(!e||Re)return"";Re=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(a){var he=function(){throw Error()};if(Object.defineProperty(he.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(he,[])}catch(ee){var Q=ee}Reflect.construct(e,[],he)}else{try{he.call()}catch(ee){Q=ee}e.call(he.prototype)}}else{try{throw Error()}catch(ee){Q=ee}(he=e())&&typeof he.catch=="function"&&he.catch(function(){})}}catch(ee){if(ee&&Q&&typeof ee.stack=="string")return[ee.stack,Q.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var d=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");d&&d.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=l.DetermineComponentFrameRoot(),x=h[0],N=h[1];if(x&&N){var M=x.split(`
`),Z=N.split(`
`);for(d=l=0;l<M.length&&!M[l].includes("DetermineComponentFrameRoot");)l++;for(;d<Z.length&&!Z[d].includes("DetermineComponentFrameRoot");)d++;if(l===M.length||d===Z.length)for(l=M.length-1,d=Z.length-1;1<=l&&0<=d&&M[l]!==Z[d];)d--;for(;1<=l&&0<=d;l--,d--)if(M[l]!==Z[d]){if(l!==1||d!==1)do if(l--,d--,0>d||M[l]!==Z[d]){var ie=`
`+M[l].replace(" at new "," at ");return e.displayName&&ie.includes("<anonymous>")&&(ie=ie.replace("<anonymous>",e.displayName)),ie}while(1<=l&&0<=d);break}}}finally{Re=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?be(o):""}function qe(e,a){switch(e.tag){case 26:case 27:case 5:return be(e.type);case 16:return be("Lazy");case 13:return e.child!==a&&a!==null?be("Suspense Fallback"):be("Suspense");case 19:return be("SuspenseList");case 0:case 15:return Pe(e.type,!1);case 11:return Pe(e.type.render,!1);case 1:return Pe(e.type,!0);case 31:return be("Activity");default:return""}}function Ue(e){try{var a="",o=null;do a+=qe(e,o),o=e,e=e.return;while(e);return a}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var Le=Object.prototype.hasOwnProperty,pt=t.unstable_scheduleCallback,Zt=t.unstable_cancelCallback,k=t.unstable_shouldYield,P=t.unstable_requestPaint,F=t.unstable_now,Se=t.unstable_getCurrentPriorityLevel,ve=t.unstable_ImmediatePriority,xe=t.unstable_UserBlockingPriority,Ce=t.unstable_NormalPriority,Ve=t.unstable_LowPriority,We=t.unstable_IdlePriority,Pt=t.log,Dt=t.unstable_setDisableYieldValue,ht=null,zt=null;function rn(e){if(typeof Pt=="function"&&Dt(e),zt&&typeof zt.setStrictMode=="function")try{zt.setStrictMode(ht,e)}catch{}}var Ht=Math.clz32?Math.clz32:Yn,Qo=Math.log,ur=Math.LN2;function Yn(e){return e>>>=0,e===0?32:31-(Qo(e)/ur|0)|0}var Ua=256,Ms=262144,Wr=4194304;function xa(e){var a=e&42;if(a!==0)return a;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function $e(e,a,o){var l=e.pendingLanes;if(l===0)return 0;var d=0,h=e.suspendedLanes,x=e.pingedLanes;e=e.warmLanes;var N=l&134217727;return N!==0?(l=N&~h,l!==0?d=xa(l):(x&=N,x!==0?d=xa(x):o||(o=N&~e,o!==0&&(d=xa(o))))):(N=l&~h,N!==0?d=xa(N):x!==0?d=xa(x):o||(o=l&~e,o!==0&&(d=xa(o)))),d===0?0:a!==0&&a!==d&&(a&h)===0&&(h=d&-d,o=a&-a,h>=o||h===32&&(o&4194048)!==0)?a:d}function Ct(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function tn(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function fn(){var e=Wr;return Wr<<=1,(Wr&62914560)===0&&(Wr=4194304),e}function dr(e){for(var a=[],o=0;31>o;o++)a.push(e);return a}function At(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function bn(e,a,o,l,d,h){var x=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var N=e.entanglements,M=e.expirationTimes,Z=e.hiddenUpdates;for(o=x&~o;0<o;){var ie=31-Ht(o),he=1<<ie;N[ie]=0,M[ie]=-1;var Q=Z[ie];if(Q!==null)for(Z[ie]=null,ie=0;ie<Q.length;ie++){var ee=Q[ie];ee!==null&&(ee.lane&=-536870913)}o&=~he}l!==0&&Jr(e,l,0),h!==0&&d===0&&e.tag!==0&&(e.suspendedLanes|=h&~(x&~a))}function Jr(e,a,o){e.pendingLanes|=a,e.suspendedLanes&=~a;var l=31-Ht(a);e.entangledLanes|=a,e.entanglements[l]=e.entanglements[l]|1073741824|o&261930}function xn(e,a){var o=e.entangledLanes|=a;for(e=e.entanglements;o;){var l=31-Ht(o),d=1<<l;d&a|e[l]&a&&(e[l]|=a),o&=~d}}function wn(e,a){var o=a&-a;return o=(o&42)!==0?1:Ds(o),(o&(e.suspendedLanes|a))!==0?0:o}function Ds(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ca(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ed(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:cb(e.type))}function Cp(e,a){var o=X.p;try{return X.p=e,a()}finally{X.p=o}}var fr=Math.random().toString(36).slice(2),sn="__reactFiber$"+fr,Sn="__reactProps$"+fr,zs="__reactContainer$"+fr,td="__reactEvents$"+fr,xE="__reactListeners$"+fr,wE="__reactHandles$"+fr,Np="__reactResources$"+fr,Wo="__reactMarker$"+fr;function nd(e){delete e[sn],delete e[Sn],delete e[td],delete e[xE],delete e[wE]}function Ls(e){var a=e[sn];if(a)return a;for(var o=e.parentNode;o;){if(a=o[zs]||o[sn]){if(o=a.alternate,a.child!==null||o!==null&&o.child!==null)for(e=Yv(e);e!==null;){if(o=e[sn])return o;e=Yv(e)}return a}e=o,o=e.parentNode}return null}function Us(e){if(e=e[sn]||e[zs]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function Jo(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(s(33))}function Bs(e){var a=e[Np];return a||(a=e[Np]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function nn(e){e[Wo]=!0}var Rp=new Set,Ap={};function es(e,a){Ps(e,a),Ps(e+"Capture",a)}function Ps(e,a){for(Ap[e]=a,e=0;e<a.length;e++)Rp.add(a[e])}var SE=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\ Line truncated
`).replace(J_,"")}function Uv(e,a){return a=Lv(a),Lv(e)===a}function bt(e,a,o,l,d,h){switch(o){case"children":typeof l=="string"?a==="body"||a==="textarea"&&l===""||Vs(e,l):(typeof l=="number"||typeof l=="bigint")&&a!=="body"&&Vs(e,""+l);break;case"className":Al(e,"class",l);break;case"tabIndex":Al(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Al(e,o,l);break;case"style":Up(e,l,h);break;case"data":if(a!=="object"){Al(e,"data",l);break}case"src":case"href":if(l===""&&(a!=="a"||o!=="href")){e.removeAttribute(o);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(o);break}l=Tl(""+l),e.setAttribute(o,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(o==="formAction"?(a!=="input"&&bt(e,a,"name",d.name,d,null),bt(e,a,"formEncType",d.formEncType,d,null),bt(e,a,"formMethod",d.formMethod,d,null),bt(e,a,"formTarget",d.formTarget,d,null)):(bt(e,a,"encType",d.encType,d,null),bt(e,a,"method",d.method,d,null),bt(e,a,"target",d.target,d,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(o);break}l=Tl(""+l),e.setAttribute(o,l);break;case"onClick":l!=null&&(e.onclick=Pa);break;case"onScroll":l!=null&&at("scroll",e);break;case"onScrollEnd":l!=null&&at("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(o=l.__html,o!=null){if(d.children!=null)throw Error(s(60));e.innerHTML=o}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}o=Tl(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(o,""+l):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":l===!0?e.setAttribute(o,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(o,l):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(o,l):e.removeAttribute(o);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(o):e.setAttribute(o,l);break;case"popover":at("beforetoggle",e),at("toggle",e),Rl(e,"popover",l);break;case"xlinkActuate":Ba(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Ba(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Ba(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Ba(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Ba(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Ba(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Ba(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Ba(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Ba(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Rl(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=RE.get(o)||o,Rl(e,o,l))}}function Yf(e,a,o,l,d,h){switch(o){case"style":Up(e,l,h);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(o=l.__html,o!=null){if(d.children!=null)throw Error(s(60));e.innerHTML=o}}break;case"children":typeof l=="string"?Vs(e,l):(typeof l=="number"||typeof l=="bigint")&&Vs(e,""+l);break;case"onScroll":l!=null&&at("scroll",e);break;case"onScrollEnd":l!=null&&at("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Pa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne Line truncated
* react-router v7.13.2
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/var Rb="popstate";function Ab(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function qC(t={}){function n(s,i){var p;let c=(p=i.state)==null?void 0:p.masked,{pathname:u,search:f,hash:g}=c||s.location;return Gm("",{pathname:u,search:f,hash:g},i.state&&i.state.usr||null,i.state&&i.state.key||"default",c?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function r(s,i){return typeof i=="string"?i:sl(i)}return $C(n,r,null,t)}function Rt(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function oa(t,n){if(!t){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function FC(){return Math.random().toString(36).substring(2,10)}function jb(t,n){return{usr:t.state,key:t.key,idx:n,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function Gm(t,n,r=null,s,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof n=="string"?Fo(n):n,state:r,key:n&&n.key||s||FC(),unstable_mask:i}}function sl({pathname:t="/",search:n="",hash:r=""}){return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Fo(t){let n={};if(t){let r=t.indexOf("#");r>=0&&(n.hash=t.substring(r),t=t.substring(0,r));let s=t.indexOf("?");s>=0&&(n.search=t.substring(s),t=t.substring(0,s)),t&&(n.pathname=t)}return n}function $C(t,n,r,s={}){let{window:i=document.defaultView,v5Compat:c=!1}=s,u=i.history,f="POP",g=null,p=v();p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function v(){return(u.state||{idx:null}).idx}function y(){f="POP";let _=v(),R=_==null?null:_-p;p=_,g&&g({action:f,location:E.location,delta:R})}function w(_,R){f="PUSH";let O=Ab(_)?_:Gm(E.location,_,R);p=v()+1;let A=jb(O,p),D=E.createHref(O.unstable_mask||O);try{u.pushState(A,"",D)}catch(B){if(B instanceof DOMException&&B.name==="DataCloneError")throw B;i.location.assign(D)}c&&g&&g({action:f,location:E.location,delta:1})}function C(_,R){f="REPLACE";let O=Ab(_)?_:Gm(E.location,_,R);p=v();let A=jb(O,p),D=E.createHref(O.unstable_mask||O);u.replaceState(A,"",D),c&&g&&g({action:f,location:E.location,delta:0})}function S(_){return GC(_)}let E={get action(){return f},get location(){return t(i,u)},listen(_){if(g)throw new Error("A history only accepts one active listener");return i.addEventListener(Rb,y),g=_,()=>{i.removeEventListener(Rb,y),g=null}},createHref(_){return n(i,_)},createURL:S,encodeLocation(_){let R=S(_);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:w,replace:C,go(_){return u.go(_)}};return E}function GC(t,n=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),Rt(r,"No window.location.(origin|href) available to create URL");let s=typeof t=="string"?t:sl(t);return s=s.replace(/ $/,"%20"),!n&&s.startsWith("//")&&(s=r+s),new URL(s,r)}function A0(t,n,r="/"){return YC(t,n,r,!1)}function YC(t,n,r,s){let i=typeof n=="string"?Fo(n):n,c=rr(i.pathname||"/",r);if(c==null)return null;let u=j0(t);ZC(u);let f=null;for(let g=0;f==null&&g<u.length;++g){let p=sN(c);f=aN(u[g],p,s)}return f}function j0(t,n=[],r=[],s="",i=!1){let c=(u,f,g=i,p)=>{let v={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:f,route:u};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(s)&&g)return;Rt(v.relativePath.startsWith(s),`Absolute route path "${v.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(s.length)}let y=ka([s,v.relativePath]),w=r.concat(v);u.children&&u.children.length>0&&(Rt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),j0(u.children,n,w,y,g)),!(u.path==null&&!u.index)&&n.push({path:y,score:tN(y,u.index),routesMeta:w})};return t.forEach((u,f)=>{var g;if(u.path===""||!((g=u.path)!=null&&g.includes("?")))c(u,f);else for(let p of T0(u.path))c(u,f,!0,p)}),n}function T0(t){let n=t.split("/");if(n.length===0)return[];let[r,...s]=n,i=r.endsWith("?"),c=r.replace(/\?$/,"");if(s.length===0)return i?[c,""]:[c];let u=T0(s.join("/")),f=[];return f.push(...u.map(g=>g===""?c:[c,g].join("/"))),i&&f.push(...u),f.map(g=>t.startsWith("/")&&g===""?"/":g)}function ZC(t){t.sort((n,r)=>n.score!==r.score?r.score-n.score:nN(n.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}var XC=/^:[\w-]+$/,KC=3,QC=2,WC=1,JC=10,eN=-2,Tb=t=>t==="*";function tN(t,n){let r=t.split("/"),s=r.length;return r.some(Tb)&&(s+=eN),n&&(s+=QC),r.filter(i=>!Tb(i)).reduce((i,c)=>i+(XC.test(c)?KC:c===""?WC:JC),s)}function nN(t,n){return t.length===n.length&&t.slice(0,-1).every((s,i)=>s===n[i])?t[t.length-1]-n[n.length-1]:0}function aN(t,n,r=!1){let{routesMeta:s}=t,i={},c="/",u=[];for(let f=0;f<s.length;++f){let g=s[f],p=f===s.length-1,v=c==="/"?n:n.slice(c.length)||"/",y=iu({path:g.relativePath,cas Line truncated
Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let v=Da(),y;if(n){let R=typeof n=="string"?Fo(n):n;Rt(g==="/"||((_=R.pathname)==null?void 0:_.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${R.pathname}" was given in the \`location\` prop.`),y=R}else y=v;let w=y.pathname||"/",C=w;if(g!=="/"){let R=g.replace(/^\//,"").split("/");C="/"+w.replace(/^\//,"").split("/").slice(R.length).join("/")}let S=A0(t,{pathname:C});oa(p||S!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),oa(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let E=MN(S&&S.map(R=>Object.assign({},R,{params:Object.assign({},u,R.params),pathname:ka([g,s.encodeLocation?s.encodeLocation(R.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?g:ka([g,s.encodeLocation?s.encodeLocation(R.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),i,r);return n&&E?b.createElement(ml.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...y},navigationType:"POP"}},E):E}function jN(){let t=BN(),n=mN(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,s="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},u=null;return console.error("Error handled by React Router default ErrorBoundary:",t),u=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:c},"ErrorBoundary")," or"," ",b.createElement("code",{style:c},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},n),r?b.createElement("pre",{style:i},r):null,u)}var TN=b.createElement(jN,null),P0=class extends b.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){this.props.onError?this.props.onError(t,n):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const r=SN(t.digest);r&&(t=r)}let n=t!==void 0?b.createElement(ia.Provider,{value:this.props.routeContext},b.createElement(Ah.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?b.createElement(kN,{error:t},n):n}};P0.contextType=gN;var vm=new WeakMap;function kN({children:t,error:n}){let{basename:r}=b.useContext(Gn);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let s=wN(n.digest);if(s){let i=vm.get(n);if(i)throw i;let c=O0(s.location,r);if(k0&&!vm.get(n))if(c.isExternal||s.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:s.replace}));throw vm.set(n,u),u}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return t}function ON({routeContext:t,match:n,children:r}){let s=b.useContext($o);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(ia.Provider,{value:t},r)}function MN(t,n=[],r){let s=r==null?void 0:r.state;if(t==null){if(!s)return null;if(s.errors)t=s.matches;else if(n.length===0&&!s.initialized&&s.matches.length>0)t=s.matches;else return null}let i=t,c=s==null?void 0:s.errors;if(c!=null){let v=i.findIndex(y=>y.route.id&&(c==null?void 0:c[y.route.id])!==void 0);Rt(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),i=i.slice(0,Math.min(i.length,v+1))}let u=!1,f=-1;if(r&&s){u=s.renderFallback;for(let v=0;v<i.length;v++){let y=i[v];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(f=v),y.route.id){let{loaderData:w,errors:C}=s,S=yLine truncated
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Q2=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),W2=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,r,s)=>s?s.toUpperCase():r.toLowerCase()),Lb=t=>{const n=W2(t);return n.charAt(0).toUpperCase()+n.slice(1)},Y0=(...t)=>t.filter((n,r,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===r).join(" ").trim(),J2=t=>{for(const n in t)if(n.startsWith("aria-")||n==="role"||n==="title")return!0};/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var eR={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tR=b.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:i="",children:c,iconNode:u,...f},g)=>b.createElement("svg",{ref:g,...eR,width:n,height:n,stroke:t,strokeWidth:s?Number(r)*24/Number(n):r,className:Y0("lucide",i),...!c&&!J2(f)&&{"aria-hidden":"true"},...f},[...u.map(([p,v])=>b.createElement(p,v)),...Array.isArray(c)?c:[c]]));/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ge=(t,n)=>{const r=b.forwardRef(({className:s,...i},c)=>b.createElement(tR,{ref:c,iconNode:n,className:Y0(`lucide-${Q2(Lb(t))}`,`lucide-${t}`,s),...i}));return r.displayName=Lb(t),r};/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nR=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Ub=Ge("arrow-left",nR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aR=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],rR=Ge("arrow-right",aR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sR=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],oR=Ge("book-open",sR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iR=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Km=Ge("chevron-down",iR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lR=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Qm=Ge("chevron-right",lR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cR=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],uR=Ge("chevron-up",cR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dR=[["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"}]],fR=Ge("circle-alert",dR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mR=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],hR=Ge("circle-check-big",mR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Bb=Ge("circle-check",pR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],yR=Ge("circle-x",gR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vR=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],bR=Ge("clock",vR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xR=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],wR=Ge("code-xml",xR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SR=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],ER=Ge("ellipsis-vertical",SR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _R=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],CR=Ge("external-link",_R);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NR=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],RR=Ge("eye-off",NR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AR=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],jR=Ge("eye",AR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TR=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],Pb=Ge("file-json",TR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kR=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],Wm=Ge("flask-conical",kR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OR=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],MR=Ge("funnel",OR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],zR=Ge("globe",DR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LR=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],Z0=Ge("key-round",LR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UR=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],BR=Ge("layers",UR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PR=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],HR=Ge("layout-dashboard",PR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VR=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ol=Ge("loader-circle",VR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IR=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],qR=Ge("log-out",IR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FR=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],$R=Ge("message-square",FR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GR=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],YR=Ge("moon",GR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZR=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],XR=Ge("play",ZR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KR=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Jm=Ge("plus",KR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QR=[["path",{d:"M18.36 6.64A9 9 0 0 1 20.77 15",key:"dxknvb"}],["path",{d:"M6.16 6.16a9 9 0 1 0 12.68 12.68",key:"1x7qb5"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],WR=Ge("power-off",QR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JR=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],X0=Ge("power",JR);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eA=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],Hb=Ge("qr-code",eA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tA=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]],nA=Ge("refresh-ccw",tA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aA=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Vb=Ge("refresh-cw",aA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rA=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],Ib=Ge("save",rA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sA=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],K0=Ge("search",sA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oA=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],iA=Ge("settings",oA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lA=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],cA=Ge("shield-check",lA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uA=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],dA=Ge("shield",uA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fA=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],mA=Ge("smartphone",fA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hA=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],pA=Ge("square-terminal",hA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gA=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],yA=Ge("sun",gA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vA=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],zh=Ge("trash-2",vA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bA=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],xA=Ge("triangle-alert",bA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Es=Ge("x",wA);/**
* @license lucide-react v0.525.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SA=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],EA=Ge("zap",SA);class _A extends b.Component{constructor(r){super(r);gb(this,"handleReset",()=>{this.setState({hasError:!1,error:null,errorInfo:null})});this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(r){return{hasError:!0,error:r,errorInfo:null}}componentDidCatch(r,s){console.error("ErrorBoundary caught an error:",r,s),this.setState({error:r,errorInfo:s})}render(){return this.state.hasError?this.props.fallback?this.props.fallback:m.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-50 px-4",children:m.jsxs("div",{className:"w-full max-w-md rounded-lg bg-white p-8 shadow-lg",children:[m.jsx("div",{className:"mb-4 flex items-center justify-center",children:m.jsx("div",{className:"rounded-full bg-red-100 p-3",children:m.jsx(xA,{className:"h-8 w-8 text-red-600"})})}),m.jsx("h1",{className:"mb-2 text-center text-2xl font-bold text-gray-900",children:"Algo deu errado"}),m.jsx("p",{className:"mb-6 text-center text-gray-600",children:"Ocorreu um erro inesperado na aplicação."}),this.state.error&&m.jsxs("div",{className:"mb-6 rounded-md bg-red-50 p-4",children:[m.jsx("p",{className:"text-sm font-medium text-red-800",children:this.state.error.message}),!1]}),m.jsxs("div",{className:"flex gap-3",children:[m.jsx("button",{onClick:this.handleReset,className:"flex-1 rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",children:"Tentar novamente"}),m.jsx("button",{onClick:()=>window.location.href="/",className:"flex-1 rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",children:"Voltar ao início"})]})]})}):this.props.children}}function Q0(t){var n,r,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=Q0(t[n]))&&(s&&(s+=" "),s+=r)}else for(r in t)t[r]&&(s&&(s+=" "),s+=r);return s}function Lh(){for(var t,n,r=0,s="",i=arguments.length;r<i;r++)(t=arguments[r])&&(n=Q0(t))&&(s&&(s+=" "),s+=n);return s}const CA=(t,n)=>{const r=new Array(t.length+n.length);for(let s=0;s<t.length;s++)r[s]=t[s];for(let s=0;s<n.length;s++)r[t.length+s]=n[s];return r},NA=(t,n)=>({classGroupId:t,validator:n}),W0=(t=new Map,n=null,r)=>({nextPart:t,validators:n,classGroupId:r}),lu="-",qb=[],RA="arbitrary..",AA=t=>{const n=TA(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return jA(u);const f=u.split(lu),g=f[0]===""&&f.length>1?1:0;return J0(f,g,n)},getConflictingClassGroupIds:(u,f)=>{if(f){const g=s[u],p=r[u];return g?p?CA(p,g):g:p||qb}return r[u]||qb}}},J0=(t,n,r)=>{if(t.length-n===0)return r.classGroupId;const i=t[n],c=r.nextPart.get(i);if(c){const p=J0(t,n+1,c);if(p)return p}const u=r.validators;if(u===null)return;const f=n===0?t.join(lu):t.slice(n).join(lu),g=u.length;for(let p=0;p<g;p++){const v=u[p];if(v.validator(f))return v.classGroupId}},jA=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=t.slice(1,-1),r=n.indexOf(":"),s=n.slice(0,r);return s?RA+s:void 0})(),TA=t=>{const{theme:n,classGroups:r}=t;return kA(r,n)},kA=(t,n)=>{const r=W0();for(const s in t){const i=t[s];Uh(i,r,s,n)}return r},Uh=(t,n,r,s)=>{const i=t.length;for(let c=0;c<i;c++){const u=t[c];OA(u,n,r,s)}},OA=(t,n,r,s)=>{if(typeof t=="string"){MA(t,n,r);return}if(typeof t=="function"){DA(t,n,r,s);return}zA(t,n,r,s)},MA=(t,n,r)=>{const s=t===""?n:e1(n,t);s.classGroupId=r},DA=(t,n,r,s)=>{if(LA(t)){Uh(t(s),n,r,s);return}n.validators===null&&(n.validators=[]),n.validators.push(NA(r,t))},zA=(t,n,r,s)=>{const i=Object.entries(t),c=i.length;for(let u=0;u<c;u++){const[f,g]=i[u];Uh(g,e1(n,f),r,s)}},e1=(t,n)=>{let r=t;const s=n.split(lu),i=s.length;for(let c=0;c<i;c++){const u=s[c];let f=r.nextPart.get(u);f||(f=W0(),r.nextPart.set(u,f)),r=f}return r},LA=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,UA=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,r=Object.create(null),s=Object.create(null);const i=(c,u)=>{r[c]=u,n++,n>t&&(n=0,s=r,r=Object.create(null))};return{get(c){let u=r[c];if(u!==void 0)return u;if((u=s[c])!==void 0)return i(c,u),u},set(c,u){c in r?r[c]=u:i(c,u)}}},eh="!",Fb=":",BA=[],$b=(t,n,r,s,i)=>({modifiers:t,hasImportantModifier:n,baseClassName:r,maybePostfixModifierPosition:s,isExternal:i}),PA=t=>{const{prefix:n,experimentalParseClassName:r}=t;let s=i=>{const c=[];let u=0,f=0,g=0,p;const v=i.length;for(let E=0;E<v;E++){const _=i[E];if(u===0&&f===0){if(_===Fb){c.push(i.slice(g,E)),g=E+1;continue}if(_==="/"){p=E;continue}}_==="["?u++:_==="]"?u--:_==="("?f++:_===")"&&f--}const y=c.length===0?i:i.slice(g);let w=y,C=!1;y.endsWith(eLine truncated
`).forEach(function(u){i=u.indexOf(":"),r=u.substring(0,i).trim().toLowerCase(),s=u.substring(i+1).trim(),!(!r||n[r]&&NT[r])&&(r==="set-cookie"?n[r]?n[r].push(s):n[r]=[s]:n[r]=n[r]?n[r]+", "+s:s)}),n},tx=Symbol("internals");function $i(t){return t&&String(t).trim().toLowerCase()}function nu(t){return t===!1||t==null?t:J.isArray(t)?t.map(nu):String(t)}function AT(t){const n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=r.exec(t);)n[s[1]]=s[2];return n}const jT=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Em(t,n,r,s,i){if(J.isFunction(s))return s.call(this,n,r);if(i&&(n=r),!!J.isString(n)){if(J.isString(s))return n.indexOf(s)!==-1;if(J.isRegExp(s))return s.test(n)}}function TT(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,r,s)=>r.toUpperCase()+s)}function kT(t,n){const r=J.toCamelCase(" "+n);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+r,{value:function(i,c,u){return this[s].call(this,n,i,c,u)},configurable:!0})})}let Mn=class{constructor(n){n&&this.set(n)}set(n,r,s){const i=this;function c(f,g,p){const v=$i(g);if(!v)throw new Error("header name must be a non-empty string");const y=J.findKey(i,v);(!y||i[y]===void 0||p===!0||p===void 0&&i[y]!==!1)&&(i[y||g]=nu(f))}const u=(f,g)=>J.forEach(f,(p,v)=>c(p,v,g));if(J.isPlainObject(n)||n instanceof this.constructor)u(n,r);else if(J.isString(n)&&(n=n.trim())&&!jT(n))u(RT(n),r);else if(J.isObject(n)&&J.isIterable(n)){let f={},g,p;for(const v of n){if(!J.isArray(v))throw TypeError("Object iterator must return a key-value pair");f[p=v[0]]=(g=f[p])?J.isArray(g)?[...g,v[1]]:[g,v[1]]:v[1]}u(f,r)}else n!=null&&c(r,n,s);return this}get(n,r){if(n=$i(n),n){const s=J.findKey(this,n);if(s){const i=this[s];if(!r)return i;if(r===!0)return AT(i);if(J.isFunction(r))return r.call(this,i,s);if(J.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,r){if(n=$i(n),n){const s=J.findKey(this,n);return!!(s&&this[s]!==void 0&&(!r||Em(this,this[s],s,r)))}return!1}delete(n,r){const s=this;let i=!1;function c(u){if(u=$i(u),u){const f=J.findKey(s,u);f&&(!r||Em(s,s[f],f,r))&&(delete s[f],i=!0)}}return J.isArray(n)?n.forEach(c):c(n),i}clear(n){const r=Object.keys(this);let s=r.length,i=!1;for(;s--;){const c=r[s];(!n||Em(this,this[c],c,n,!0))&&(delete this[c],i=!0)}return i}normalize(n){const r=this,s={};return J.forEach(this,(i,c)=>{const u=J.findKey(s,c);if(u){r[u]=nu(i),delete r[c];return}const f=n?TT(c):String(c).trim();f!==c&&delete r[c],r[f]=nu(i),s[f]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const r=Object.create(null);return J.forEach(this,(s,i)=>{s!=null&&s!==!1&&(r[i]=n&&J.isArray(s)?s.join(", "):s)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,r])=>n+": "+r).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...r){const s=new this(n);return r.forEach(i=>s.set(i)),s}static accessor(n){const s=(this[tx]=this[tx]={accessors:{}}).accessors,i=this.prototype;function c(u){const f=$i(u);s[f]||(kT(i,u),s[f]=!0)}return J.isArray(n)?n.forEach(c):c(n),this}};Mn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(Mn.prototype,({value:t},n)=>{let r=n[0].toUpperCase()+n.slice(1);return{get:()=>t,set(s){this[r]=s}}});J.freezeMethods(Mn);function _m(t,n){const r=this||vl,s=n||r,i=Mn.from(s.headers);let c=s.data;return J.forEach(t,function(f){c=f.call(r,c,i.normalize(),n?n.status:void 0)}),i.normalize(),c}function R1(t){return!!(t&&t.__CANCEL__)}let bl=class extends Ie{constructor(n,r,s){super(n??"canceled",Ie.ERR_CANCELED,r,s),this.name="CanceledError",this.__CANCEL__=!0}};function A1(t,n,r){const s=r.config.validateStatus;!r.status||!s||s(r.status)?t(r):n(new Ie("Request failed with status code "+r.status,[Ie.ERR_BAD_REQUEST,Ie.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function OT(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}function MT(t,n){t=t||10;const r=new Array(t),s=new Array(t);let i=0,c=0,u;return n=n!==void 0?n:1e3,function(g){const p=Date.now(),v=s[c];u||(u=p),r[i]=g,s[i]=p;let y=c,w=0;for(;y!==i;)w+=r[y++],y=y%t;if(i=(i+1)%t,i===c&&(c=(c+1)%t),p-u<n)return;const C=v&&p-v;return C?Math.round(w*1e3/C):void 0}}function DT(t,n){let r=0,s=1e3/n,i,c;const u=(p,v=Date.now())=>{r=v,i=null,c&&(clearTimeout(c),c=null),t(...p)};return[(...p)=>{const v=Date.now(),y=v-r;y>=s?u(p,v):(i=p,c||(c=setTimeout(()=>{c=null,u(i)},s-y)))},()=>i&&u(i)]}const cu=(t,n,r=3)=>{let s=0;const i=MT(50,250);return DT(c=>{const u=c.loaded,f=c.lengthComputable?c.total:void 0,g=u-s,p=i(g),v=u<=f;s=u;const y={loaded:u,total:f,progress:f?u/f:void 0,bytes:g,rate:p||void 0,estimated:p&&f&&v?(f-u)/p:void 0,event:c,lengthComputable:f!=null,[n?"download":"upload"]:!0};t(y)},r)},nx=(t,n)=>{const r=t!=null;return[s=>n[0]({lengthComputable:r,total:t,loaded:s}),n[1]]},ax=t=>(...n)=>J.asap(()=>t(...n)),zT=hn.hasStandardBrowserEnv?((t,n)=>r=>(r=new URL(r,hn.origin),t.protocol===r.protocol&&t.host===r.host&&(n||t.port===r.port)))(new URL(hn.origin),hn.navigator&&/(msie|trident)/i.test(hn.navigator.userAgent)):()=>!0,LT=hn.hasStandardBrowserEnv?{write(t,n,r,s,i,c,u){if(typeof document>"u")return;const f=[`${t}=${encodeURIComponent(n)}`];J.isNumber(r)&&f.push(`expires=${new Date(r).toUTCString()}`),J.isString(s)&&f.push(`path=${s}`),J.isString(i)&&f.push(`domain=${i}`),c===!0&&f.push("secure"),J.isString(u)&&f.push(`SameSite=${u}`),document.cookie=f.join("; ")},read(t){if(typeof document>"u")return null;const n=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return n?decodeURIComponent(n[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function UT(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function BT(t,n){return n?t.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):t}function j1(t,n,r){let s=!UT(n);return t&&(s||r==!1)?BT(t,n):n}const rx=t=>t instanceof Mn?{...t}:t;function _s(t,n){n=n||{};const r={};function s(p,v,y,w){return J.isPlainObject(p)&&J.isPlainObject(v)?J.merge.call({caseless:w},p,v):J.isPlainObject(v)?J.merge({},v):J.isArray(v)?v.slice():v}function i(p,v,y,w){if(J.isUndefined(v)){if(!J.isUndefined(p))return s(void 0,p,y,w)}else return s(p,v,y,w)}function c(p,v){if(!J.isUndefined(v))return s(void 0,v)}function u(p,v){if(J.isUndefined(v)){if(!J.isUndefined(p))return s(void 0,p)}else return s(void 0,v)}function f(p,v,y){if(y in n)return s(p,v);if(y in t)return s(void 0,p)}const g={url:c,method:c,data:c,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:f,headers:(p,v,y)=>i(rx(p),rx(v),y,!0)};return J.forEach(Object.keys({...t,...n}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const y=J.hasOwnProp(g,v)?g[v]:i,w=y(t[v],n[v],v);J.isUndefined(w)&&y!==f||(r[v]=w)}),r}const T1=t=>{const n=_s({},t);let{data:r,withXSRFToken:s,xsrfHeaderName:i,xsrfCookieName:c,headers:u,auth:f}=n;if(n.headers=u=Mn.from(u),n.url=C1(j1(n.baseURL,n.url,n.allowAbsoluteUrls),t.params,t.paramsSerializer),f&&u.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?unescape(encodeURIComponent(f.password)):""))),J.isFormData(r)){if(hn.hasStandardBrowserEnv||hn.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(J.isFunction(r.getHeader Line truncated
`+u.map(ux).join(`
`):" "+ux(u[0]):"as no adapter specified";throw new Ie("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return i}const O1={getAdapter:XT,adapters:qh};function Cm(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new bl(null,t)}function dx(t){return Cm(t),t.headers=Mn.from(t.headers),t.data=_m.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),O1.getAdapter(t.adapter||vl.adapter,t)(t).then(function(s){return Cm(t),s.data=_m.call(t,t.transformResponse,s),s.headers=Mn.from(s.headers),s},function(s){return R1(s)||(Cm(t),s&&s.response&&(s.response.data=_m.call(t,t.transformResponse,s.response),s.response.headers=Mn.from(s.response.headers))),Promise.reject(s)})}const M1="1.13.6",Lu={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{Lu[t]=function(s){return typeof s===t||"a"+(n<1?"n ":" ")+t}});const fx={};Lu.transitional=function(n,r,s){function i(c,u){return"[Axios v"+M1+"] Transitional option '"+c+"'"+u+(s?". "+s:"")}return(c,u,f)=>{if(n===!1)throw new Ie(i(u," has been removed"+(r?" in "+r:"")),Ie.ERR_DEPRECATED);return r&&!fx[u]&&(fx[u]=!0,console.warn(i(u," has been deprecated since v"+r+" and will be removed in the near future"))),n?n(c,u,f):!0}};Lu.spelling=function(n){return(r,s)=>(console.warn(`${s} is likely a misspelling of ${n}`),!0)};function KT(t,n,r){if(typeof t!="object")throw new Ie("options must be an object",Ie.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let i=s.length;for(;i-- >0;){const c=s[i],u=n[c];if(u){const f=t[c],g=f===void 0||u(f,c,t);if(g!==!0)throw new Ie("option "+c+" must be "+g,Ie.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ie("Unknown option "+c,Ie.ERR_BAD_OPTION)}}const au={assertOptions:KT,validators:Lu},ra=au.validators;let Ss=class{constructor(n){this.defaults=n||{},this.interceptors={request:new ex,response:new ex}}async request(n,r){try{return await this._request(n,r)}catch(s){if(s instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const c=i.stack?i.stack.replace(/^.+\n/,""):"";try{s.stack?c&&!String(s.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(s.stack+=`
`+c):s.stack=c}catch{}}throw s}}_request(n,r){typeof n=="string"?(r=r||{},r.url=n):r=n||{},r=_s(this.defaults,r);const{transitional:s,paramsSerializer:i,headers:c}=r;s!==void 0&&au.assertOptions(s,{silentJSONParsing:ra.transitional(ra.boolean),forcedJSONParsing:ra.transitional(ra.boolean),clarifyTimeoutError:ra.transitional(ra.boolean),legacyInterceptorReqResOrdering:ra.transitional(ra.boolean)},!1),i!=null&&(J.isFunction(i)?r.paramsSerializer={serialize:i}:au.assertOptions(i,{encode:ra.function,serialize:ra.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),au.assertOptions(r,{baseUrl:ra.spelling("baseURL"),withXsrfToken:ra.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let u=c&&J.merge(c.common,c[r.method]);c&&J.forEach(["delete","get","head","post","put","patch","common"],S=>{delete c[S]}),r.headers=Mn.concat(u,c);const f=[];let g=!0;this.interceptors.request.forEach(function(E){if(typeof E.runWhen=="function"&&E.runWhen(r)===!1)return;g=g&&E.synchronous;const _=r.transitional||Vh;_&&_.legacyInterceptorReqResOrdering?f.unshift(E.fulfilled,E.rejected):f.push(E.fulfilled,E.rejected)});const p=[];this.interceptors.response.forEach(function(E){p.push(E.fulfilled,E.rejected)});let v,y=0,w;if(!g){const S=[dx.bind(this),void 0];for(S.unshift(...f),S.push(...p),w=S.length,v=Promise.resolve(r);y<w;)v=v.then(S[y++],S[y++]);return v}w=f.length;let C=r;for(;y<w;){const S=f[y++],E=f[y++];try{C=S(C)}catch(_){E.call(this,_);break}}try{v=dx.call(this,C)}catch(S){return Promise.reject(S)}for(y=0,w=p.length;y<w;)v=v.then(p[y++],p[y++]);return v}getUri(n){n=_s(this.defaults,n);const r=j1(n.baseURL,n.url,n.allowAbsoluteUrls);return C1(r,n.params,n.paramsSerializer)}};J.forEach(["delete","get","head","options"],function(n){Ss.prototype[n]=function(r,s){return this.request(_s(s||{},{method:n,url:r,data:(s||{}).data}))}});J.forEach(["post","put","patch"],function(n){function r(s){return function(c,u,f){return this.request(_s(f||{},{method:n,headers:s?{"Content-Type":"multipart/form-data"}:{},url:c,data:u}))}}Ss.prototype[n]=r(),Ss.prototype[n+"Form"]=r(!0)});let QT=class D1{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(c){r=c});const s=this;this.promise.then(i=>{if(!s._listeners)return;let c=s._listeners.length;for(;c-- >0;)s._listeners[c](i);s._listeners=null}),this.promise.then=i=>{let c;const u=new Promise(f=>{s.subscribe(f),c=f}).then(i);return u.cancel=function(){s.unsubscribe(c)},u},n(function(c,u,f){s.reason||(s.reason=new bl(c,u,f),r(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const r=this._listeners.indexOf(n);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const n=new AbortController,r=s=>{n.abort(s)};return this.subscribe(r),n.signal.unsubscribe=()=>this.unsubscribe(r),n.signal}static source(){let n;return{token:new D1(function(i){n=i}),cancel:n}}};function WT(t){return function(r){return t.apply(null,r)}}function JT(t){return J.isObject(t)&&t.isAxiosError===!0}const oh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(oh).forEach(([t,n])=>{oh[n]=t});function z1(t){const n=new Ss(t),r=h1(Ss.prototype.request,n);return J.extend(r,Ss.prototype,n,{allOwnKeys:!0}),J.extend(r,n,null,{allOwnKeys:!0}),r.create=function(i){return z1(_s(t,i))},r}const Tt=z1(vl);Tt.Axios=Ss;Tt.CanceledError=bl;Tt.CancelToken=QT;Tt.isCancel=R1;Tt.VERSION=M1; Line truncated
* @license lucide-react v0.522.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nk=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Rk=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,r,s)=>s?s.toUpperCase():r.toLowerCase()),hx=t=>{const n=Rk(t);return n.charAt(0).toUpperCase()+n.slice(1)},H1=(...t)=>t.filter((n,r,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===r).join(" ").trim(),Ak=t=>{for(const n in t)if(n.startsWith("aria-")||n==="role"||n==="title")return!0};/**
* @license lucide-react v0.522.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var jk={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.522.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tk=b.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:i="",children:c,iconNode:u,...f},g)=>b.createElement("svg",{ref:g,...jk,width:n,height:n,stroke:t,strokeWidth:s?Number(r)*24/Number(n):r,className:H1("lucide",i),...!c&&!Ak(f)&&{"aria-hidden":"true"},...f},[...u.map(([p,v])=>b.createElement(p,v)),...Array.isArray(c)?c:[c]]));/**
* @license lucide-react v0.522.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kk=(t,n)=>{const r=b.forwardRef(({className:s,...i},c)=>b.createElement(Tk,{ref:c,iconNode:n,className:H1(`lucide-${Nk(hx(t))}`,`lucide-${t}`,s),...i}));return r.displayName=hx(t),r};/**
* @license lucide-react v0.522.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ok=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Mk=kk("x",Ok),px=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,gx=Lh,$h=(t,n)=>r=>{var s;if((n==null?void 0:n.variants)==null)return gx(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:c}=n,u=Object.keys(i).map(p=>{const v=r==null?void 0:r[p],y=c==null?void 0:c[p];if(v===null)return null;const w=px(v)||px(y);return i[p][w]}),f=r&&Object.entries(r).reduce((p,v)=>{let[y,w]=v;return w===void 0||(p[y]=w),p},{}),g=n==null||(s=n.compoundVariants)===null||s===void 0?void 0:s.reduce((p,v)=>{let{class:y,className:w,...C}=v;return Object.entries(C).every(S=>{let[E,_]=S;return Array.isArray(_)?_.includes({...c,...f}[E]):{...c,...f}[E]===_})?[...p,y,w]:p},[]);return gx(t,u,g,r==null?void 0:r.class,r==null?void 0:r.className)};function sr(t){const n=b.useRef(t);return b.useEffect(()=>{n.current=t}),b.useMemo(()=>(...r)=>{var s;return(s=n.current)==null?void 0:s.call(n,...r)},[])}function Dk(t,n=globalThis==null?void 0:globalThis.document){const r=sr(t);b.useEffect(()=>{const s=i=>{i.key==="Escape"&&r(i)};return n.addEventListener("keydown",s,{capture:!0}),()=>n.removeEventListener("keydown",s,{capture:!0})},[r,n])}var zk="DismissableLayer",ih="dismissableLayer.update",Lk="dismissableLayer.pointerDownOutside",Uk="dismissableLayer.focusOutside",yx,V1=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Uu=b.forwardRef((t,n)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:c,onInteractOutside:u,onDismiss:f,...g}=t,p=b.useContext(V1),[v,y]=b.useState(null),w=(v==null?void 0:v.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,C]=b.useState({}),S=Wt(n,U=>y(U)),E=Array.from(p.layers),[_]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),R=E.indexOf(_),O=v?E.indexOf(v):-1,A=p.layersWithOutsidePointerEventsDisabled.size>0,D=O>=R,B=Hk(U=>{const $=U.target,me=[...p.branches].some(fe=>fe.contains($));!D||me||(i==null||i(U),u==null||u(U),U.defaultPrevented||f==null||f())},w),I=Vk(U=>{const $=U.target;[...p.branches].some(fe=>fe.contains($))||(c==null||c(U),u==null||u(U),U.defaultPrevented||f==null||f())},w);return Dk(U=>{O===p.layers.size-1&&(s==null||s(U),!U.defaultPrevented&&f&&(U.preventDefault(),f()))},w),b.useEffect(()=>{if(v)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(yx=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(v)),p.layers.add(v),vx(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=yx)}},[v,w,r,p]),b.useEffect(()=>()=>{v&&(p.layers.delete(v),p.layersWithOutsidePointerEventsDisabled.delete(v),vx())},[v,p]),b.useEffect(()=>{const U=()=>C({});return document.addEventListener(ih,U),()=>document.removeEventListener(ih,U)},[]),m.jsx(Mt.div,{...g,ref:S,style:{pointerEvents:A?D?"auto":"none":void 0,...t.style},onFocusCapture:Xe(t.onFocusCapture,I.onFocusCapture),onBlurCapture:Xe(t.onBlurCapture,I.onBlurCapture),onPointerDownCapture:Xe(t.onPointerDownCapture,B.onPointerDownCapture)})});Uu.displayName=zk;var Bk="DismissableLayerBranch",Pk=b.forwardRef((t,n)=>{const r=b.useContext(V1),s=b.useRef(null),i=Wt(n,s);return b.useEffect(()=>{const c=s.current;if(c)return r.branches.add(c),()=>{r.branches.delete(c)}},[r.branches]),m.jsx(Mt.div,{...t,ref:i})});Pk.displayName=Bk;function Hk(t,n=globalThis==null?void 0:globalThis.document){const r=sr(t),s=b.useRef(!1),i=b.useRef(()=>{});return b.useEffect(()=>{const c=f=>{if(f.target&&!s.current){let g=function(){I1(Lk,r,p,{discrete:!0})};const p={originalEvent:f};f.pointerType==="touch"?(n.removeEventListener("click",i.current),i.current=g,n.addEventListener("click",i.current,{once:!0})):g()}else n.removeEventListener("click",i.current);s.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",c),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>s.current=!0}}function Vk(t,n=globalThis==null?void 0:globalThis.document){const r=sr(t),s=b.useRef(!1);return b.useEffect(()=>{const i=c=>{c.target&&!s.current&&I1(Uk,r,{originalEvent:c},{discrete:!1})};return n.addEventListener("focusin",i),()=>n.removeEventListener("focusin",i)},[n,r]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function vx(){const t=new CustomEvent(ih);document.dispatchEvent(t)}function I1(t,n,r,{discrete:s}){const i=r.originalEvent.target,c=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});n&&i.addEventListener(t,n,{once:!0}),s?B1(i,c):i.dispatchEvent(c)}var Nm="focusScope.autoFocusOnMount",Rm="focusScope.autoFocusOnUnmount",bx={bubbles:!1,cancelable:!0},Ik="FocusScope",Bu=b.forwardRef((t,n)=>{const{loop:r=!1,trapped:s=!1,onMountAutoFocus:i,onUnmountAutoFocus:c,...u}=t,[f,g]=b.useState(null),p=sr(i),v=sr(c),y=b.useRef(null),w=Wt(n,E=>g(ELine truncated
.`.concat(Qk,` {
overflow: hidden `).concat(s,`;
padding-right: `).concat(f,"px ").concat(s,`;
}
body[`).concat(ko,`] {
overflow: hidden `).concat(s,`;
overscroll-behavior: contain;
`).concat([n&&"position: relative ".concat(s,";"),r==="margin"&&`
padding-left: `.concat(i,`px;
padding-top: `).concat(c,`px;
padding-right: `).concat(u,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(f,"px ").concat(s,`;
`),r==="padding"&&"padding-right: ".concat(f,"px ").concat(s,";")].filter(Boolean).join(""),`
}
.`).concat(ru,` {
right: `).concat(f,"px ").concat(s,`;
}
.`).concat(su,` {
margin-right: `).concat(f,"px ").concat(s,`;
}
.`).concat(ru," .").concat(ru,` {
right: 0 `).concat(s,`;
}
.`).concat(su," .").concat(su,` {
margin-right: 0 `).concat(s,`;
}
body[`).concat(ko,`] {
`).concat(Wk,": ").concat(f,`px;
}
`)},Cx=function(){var t=parseInt(document.body.getAttribute(ko)||"0",10);return isFinite(t)?t:0},yO=function(){b.useEffect(function(){return document.body.setAttribute(ko,(Cx()+1).toString()),function(){var t=Cx()-1;t<=0?document.body.removeAttribute(ko):document.body.setAttribute(ko,t.toString())}},[])},vO=function(t){var n=t.noRelative,r=t.noImportant,s=t.gapMode,i=s===void 0?"margin":s;yO();var c=b.useMemo(function(){return hO(i)},[i]);return b.createElement(pO,{styles:gO(c,!n,i,r?"":"!important")})},lh=!1;if(typeof window<"u")try{var $c=Object.defineProperty({},"passive",{get:function(){return lh=!0,!0}});window.addEventListener("test",$c,$c),window.removeEventListener("test",$c,$c)}catch{lh=!1}var xo=lh?{passive:!1}:!1,bO=function(t){return t.tagName==="TEXTAREA"},Z1=function(t,n){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[n]!=="hidden"&&!(r.overflowY===r.overflowX&&!bO(t)&&r[n]==="visible")},xO=function(t){return Z1(t,"overflowY")},wO=function(t){return Z1(t,"overflowX")},Nx=function(t,n){var r=n.ownerDocument,s=n;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var i=X1(t,s);if(i){var c=K1(t,s),u=c[1],f=c[2];if(u>f)return!0}s=s.parentNode}while(s&&s!==r.body);return!1},SO=function(t){var n=t.scrollTop,r=t.scrollHeight,s=t.clientHeight;return[n,r,s]},EO=function(t){var n=t.scrollLeft,r=t.scrollWidth,s=t.clientWidth;return[n,r,s]},X1=function(t,n){return t==="v"?xO(n):wO(n)},K1=function(t,n){return t==="v"?SO(n):EO(n)},_O=function(t,n){return t==="h"&&n==="rtl"?-1:1},CO=function(t,n,r,s,i){var c=_O(t,window.getComputedStyle(n).direction),u=c*s,f=r.target,g=n.contains(f),p=!1,v=u>0,y=0,w=0;do{if(!f)break;var C=K1(t,f),S=C[0],E=C[1],_=C[2],R=E-_-c*S;(S||R)&&X1(t,f)&&(y+=R,w+=S);var O=f.parentNode;f=O&&O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?O.host:O}while(!g&&f!==document.body||g&&(n.contains(f)||n===f));return(v&&Math.abs(y)<1||!v&&Math.abs(w)<1)&&(p=!0),p},Gc=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Rx=function(t){return[t.deltaX,t.deltaY]},Ax=function(t){return t&&"current"in t?t.current:t},NO=function(t,n){return t[0]===n[0]&&t[1]===n[1]},RO=function(t){return`
.block-interactivity-`.concat(t,` {pointer-events: none;}
.allow-interactivity-`).concat(t,` {pointer-events: all;}
`)},AO=0,wo=[];function jO(t){var n=b.useRef([]),r=b.useRef([0,0]),s=b.useRef(),i=b.useState(AO++)[0],c=b.useState(Y1)[0],u=b.useRef(t);b.useEffect(function(){u.current=t},[t]),b.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var E=Kk([t.lockRef.current],(t.shards||[]).map(Ax),!0).filter(Boolean);return E.forEach(function(_){return _.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),E.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var f=b.useCallback(function(E,_){if("touches"in E&&E.touches.length===2||E.type==="wheel"&&E.ctrlKey)return!u.current.allowPinchZoom;var R=Gc(E),O=r.current,A="deltaX"in E?E.deltaX:O[0]-R[0],D="deltaY"in E?E.deltaY:O[1]-R[1],B,I=E.target,U=Math.abs(A)>Math.abs(D)?"h":"v";if("touches"in E&&U==="h"&&I.type==="range")return!1;var $=window.getSelection(),me=$&&$.anchorNode,fe=me?me===I||me.contains(I):!1;if(fe)return!1;var pe=Nx(U,I);if(!pe)return!0;if(pe?B=U:(B=U==="v"?"h":"v",pe=Nx(U,I)),!pe)return!1;if(!s.current&&"changedTouches"in E&&(A||D)&&(s.current=B),!B)return!0;var re=s.current||B;return CO(re,_,E,re==="h"?A:D)},[]),g=b.useCallback(function(E){var _=E;if(!(!wo.length||wo[wo.length-1]!==c)){var R="deltaY"in _?Rx(_):Gc(_),O=n.current.filter(function(B){return B.name===_.type&&(B.target===_.target||_.target===B.shadowParent)&&NO(B.delta,R)})[0];if(O&&O.should){_.cancelable&&_.preventDefault();return}if(!O){var A=(u.current.shards||[]).map(Ax).filter(Boolean).filter(function(B){return B.contains(_.target)}),D=A.length>0?f(_,A[0]):!u.current.noIsolation;D&&_.cancelable&&_.preventDefault()}}},[]),p=b.useCallback(function(E,_,R,O){var A={name:E,delta:_,target:R,should:O,shadowParent:TO(R)};n.current.push(A),setTimeout(function(){n.current=n.current.filter(function(D){return D!==A})},1)},[]),v=b.useCallback(function(E){r.current=Gc(E),s.current=void 0},[]),y=b.useCallback(function(E){p(E.type,Rx(E),E.target,f(E,t.lockRef.current))},[]),w=b.useCallback(function(E){p(E.type,Gc(E),E.target,f(E,t.lockRef.current))},[]);b.useEffect(function(){return wo.push(c),t.setCallbacks({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:w}),document.addEventListener("wheel",g,xo),document.addEventListener("touchmove",g,xo),document.addEventListener("touchstart",v,xo),function(){wo=wo.filter(function(E){return E!==c}),document.removeEventListener("wheel",g,xo),document.removeEventListener("touchmove",g,xo),document.removeEventListener("touchstart",v,xo)}},[]);var C=t.removeScrollBar,S=t.inert;return b.createElement(b.Fragment,null,S?b.createElement(c,{styles:RO(i)}):null,C?b.createElement(vO,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function TO(t){for(var n=null;t!==null;)t instanceof ShadowRoot&&(n=t.host,t=t.host),t=t.parentNode;return n}const kO=sO(G1,jO);var Vu=b.forwardRef(function(t,n){return b.createElement(Hu,Aa({},t,{ref:n,sideCar:kO}))});Vu.classNames=Hu.classNames;var OO=function(t){if(typeof document>"u")return null;var n=Array.isArray(t)?t[0]:t;return n.ownerDocument.body},So=new WeakMap,Yc=new WeakMap,Zc={},Om=0,Q1=function(t){return t&&(t.host||Q1(t.parentNode))},MO=function(t,n){return n.map(function(r){if(t.contains(r))return r;var s=Q1(r);return s&&t.contains(s)?s:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},DO=function(t,n,r,s){var i=MO(n,Array.isArray(t)?t:[t]);Zc[r]||(Zc[r]=new WeakMap);var c=Zc[r],u=[],f=new Set,g=new Set(i),p=function(y){!y||f.has(y)||(f.add(y),p(y.parentNode))};i.forEach(p);var v=function(y){!y||g.has(y)||Array.prototype.forEach.call(y.children,function(w){if(f.has(w))v(w);else try{var C=w.getAttribute(s),S=C!==null&&C!=="false",E=(So.get(w)||0)+1,_=(c.get(w)||0)+1;So.set(w,E),c.set(w,_),u.push(w),E===1&&S&&Yc.set(w,!0),_===1&&w.setAttribute(r,"true"),S||w.setAttribute(s,"true")}catch(R){console.error("aria-hidden: cannot operate on ",w,R)}})};return v(n),f.clear(),Om++,function(){u.forEach(function(y){var w=So.get(y)-1,C=c.get(y)-1;So.set(y,w),c.set(y,C),w||(Yc.has(y)||y.removeAttribute(s),Yc.delete(y)),C||y.removeAttribute(r)}),Om--,Om||(So=new WeakMap,So=new WeakMap,Yc=new WeakMap,Zc={})}},Yh=function(t,n,r){r===void 0&&(r="data-aria-hidden");var s=Array.from(Array.isArray(t)?t:[t]),i=OO(t);return i?(s.push.apply(s,Array.from(i.querySelectorAll("[aria-live], script"))),DO(s,i,r,"aria-hidden")):function(){return null}},Iu="Dialog",[W1]=Ts(Iu),[zO,ba]=W1(Iu),J1=t=>{const{__scopeDialog:n,children:r,open:s,defaultOpen:i,onOpenChange:c,modal:u=!0}=t,f=b.useRef(null),g=b.useRef(null),[p,v]=Fh({prop:s,defaultProp:i??!1,onChange:c,caller:Iu});return m.jsx(zO,{scope:n,triggerRef:f,contentRef:g,contentId:To(),titleId:To(),descriptionId:To(),open:p,onOpenChange:v,onOpenToggle:b.useCallback(()=>v(y=>!y),[v]),modal:u,children:r})};J1.displayName=Iu;var ew="DialogTrigger",LO=b.forwardRef Line truncated
If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return b.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},qO="DialogDescriptionWarning",FO=({contentRef:t,descriptionId:n})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${fw(qO).contentName}}.`;return b.useEffect(()=>{var c;const i=(c=t.current)==null?void 0:c.getAttribute("aria-describedby");n&&i&&(document.getElementById(n)||console.warn(s))},[s,t,n]),null},$O=J1,GO=nw,mw=aw,hw=rw,YO=ow,ZO=lw,XO=uw,KO=Symbol.for("react.lazy"),du=Au[" use ".trim().toString()];function QO(t){return typeof t=="object"&&t!==null&&"then"in t}function pw(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===KO&&"_payload"in t&&QO(t._payload)}function gw(t){const n=WO(t),r=b.forwardRef((s,i)=>{let{children:c,...u}=s;pw(c)&&typeof du=="function"&&(c=du(c._payload));const f=b.Children.toArray(c),g=f.find(eM);if(g){const p=g.props.children,v=f.map(y=>y===g?b.Children.count(p)>1?b.Children.only(null):b.isValidElement(p)?p.props.children:null:y);return m.jsx(n,{...u,ref:i,children:b.isValidElement(p)?b.cloneElement(p,void 0,v):null})}return m.jsx(n,{...u,ref:i,children:c})});return r.displayName=`${t}.Slot`,r}var yw=gw("Slot");function WO(t){const n=b.forwardRef((r,s)=>{let{children:i,...c}=r;if(pw(i)&&typeof du=="function"&&(i=du(i._payload)),b.isValidElement(i)){const u=nM(i),f=tM(c,i.props);return i.type!==b.Fragment&&(f.ref=s?wl(s,u):u),b.cloneElement(i,f)}return b.Children.count(i)>1?b.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var JO=Symbol("radix.slottable");function eM(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===JO}function tM(t,n){const r={...n};for(const s in n){const i=t[s],c=n[s];/^on[A-Z]/.test(s)?i&&c?r[s]=(...f)=>{const g=c(...f);return i(...f),g}:i&&(r[s]=i):s==="style"?r[s]={...i,...c}:s==="className"&&(r[s]=[i,c].filter(Boolean).join(" "))}return{...t,...r}}function nM(t){var s,i;let n=(s=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:s.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?t.ref:(n=(i=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:i.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var aM=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rM=aM.reduce((t,n)=>{const r=gw(`Primitive.${n}`),s=b.forwardRef((i,c)=>{const{asChild:u,...f}=i,g=u?r:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(g,{...f,ref:c})});return s.displayName=`Primitive.${n}`,{...t,[n]:s}},{});function sM(t){const[n,r]=b.useState(void 0);return Fr(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const s=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const c=i[0];let u,f;if("borderBoxSize"in c){const g=c.borderBoxSize,p=Array.isArray(g)?g[0]:g;u=p.inlineSize,f=p.blockSize}else u=t.offsetWidth,f=t.offsetHeight;r({width:u,height:f})});return s.observe(t,{box:"border-box"}),()=>s.unobserve(t)}else r(void 0)},[t]),n}const oM=["top","right","bottom","left"],$r=Math.min,In=Math.max,fu=Math.round,Xc=Math.floor,Oa=t=>({x:t,y:t}),iM={left:"right",right:"left",bottom:"top",top:"bottom"};function ch(t,n,r){return In(t,$r(n,r))}function or(t,n){return typeof t=="function"?t(n):t}function ir(t){return t.split("-")[0]}function Zo(t){return t.split("-")[1]}function Qh(t){return t==="x"?"y":"x"}function Wh(t){return t==="y"?"height":"width"}function Ta(t){const n=t[0];return n==="t"||n==="b"?"y":"x"}function Jh(t){return Qh(Ta(t))}function lM(t,n,r){r===void 0&&(r=!1);const s=Zo(t),i=Jh(t),c=Wh(i);let u=i==="x"?s===(r?"end":"start")?"right":"left":s==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(u=mu(u)),[u,mu(u)]}function cM(t){const n=mu(t);return[uh(t),n,uh(n)]}function uh(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const jx=["left","right"],Tx=["right","left"],uM=["top","bottom"],dM=["bottom","top"];function fM(t,n,r){switch(t){case"top":case"bottom":return r?n?Tx:jx:n?jx:Tx;case"left":case"right":return n?uM:dM;default:return[]}}function mM(t,n,r,s){const i=Zo(t);let c=fM(ir(t),r==="start",s);return i&&(c=c.map(u=>u+"-"+i),n&&(c=c.concat(c.map(uh)))),c}function mu(t){const n=ir(t);return iM[n]+t.slice(n.length)}function hM(t){return{top:0,right:0,bottom:0,left:0,...t}}function vw(t){return typeof t!="number"?hM(t):{top:t,right:t,bottom:t,left:t}}function hu(t){const{x:n,y:r,width:s,height:i}=t;return{width:s,height:i,top:r,left:n,right:n+s,bottom:r+i,x:n,y:r}}function kx(t,n,r){let{reference:s,floating:i}=t;const c=Ta(n),u=Jh(n),f=Wh(u),g=ir(n),p=c==="y",v=s.x+s.width/2-i.width/2,y=s.y+s.height/2-i.height/2,w=s[f]/2-i[f]/2;let C;switch(g){case"top":C={x:v,y:s.y-i.height};break;case"bottom":C={x:v,y:s.y+s.height};break;case"right":C={x:s.x+s.width,y};break;case"left":C={x:s.x-i.width,y};brea Line truncated
[data-state=closed]
){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);function SD(t,n){typeof t=="function"?t(n):t!=null&&(t.current=n)}function ED(...t){return n=>t.forEach(r=>SD(r,n))}function gS(...t){return b.useCallback(ED(...t),t)}const Vx=t=>{switch(t){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return t}};function Um(t,n){if(!t)return()=>{};const r=t.style.cssText;return Object.assign(t.style,n),()=>{t.style.cssText=r}}function _D(...t){return(...n)=>{for(const r of t)typeof r=="function"&&r(...n)}}const Bm={DURATION:.5,EASE:[.32,.72,0,1]},CD=8,ND=26,RD=()=>()=>{};function AD(){const{direction:t,isOpen:n,shouldScaleBackground:r,setBackgroundColorOnScale:s,noBodyStyles:i}=Ku(),c=oe.useRef(null),u=b.useMemo(()=>document.body.style.backgroundColor,[]);function f(){return(window.innerWidth-ND)/window.innerWidth}oe.useEffect(()=>{if(n&&r){c.current&&clearTimeout(c.current);const g=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!g)return;_D(s&&!i?Um(document.body,{background:"black"}):RD,Um(g,{transformOrigin:Vx(t)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${Bm.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Bm.EASE.join(",")})`}));const p=Um(g,{borderRadius:`${CD}px`,overflow:"hidden",...Vx(t)?{transform:`scale(${f()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${f()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{p(),c.current=window.setTimeout(()=>{u?document.body.style.background=u:document.body.style.removeProperty("background")},Bm.DURATION*1e3)}}},[n,r,u])}const jD=oe.forwardRef(function({...t},n){const{overlayRef:r,snapPoints:s,onRelease:i,shouldFade:c,isOpen:u,modal:f,shouldAnimate:g}=Ku(),p=gS(n,r),v=s&&s.length>0;if(!f)return null;const y=oe.useCallback(w=>i(w),[i]);return oe.createElement(mw,{onMouseUp:y,ref:p,"data-vaul-overlay":"","data-vaul-snap-points":u&&v?"true":"false","data-vaul-snap-points-overlay":u&&c?"true":"false","data-vaul-animate":g!=null&&g.current?"true":"false",...t})});jD.displayName="Drawer.Overlay";const TD=oe.forwardRef(function({onPointerDownOutside:t,style:n,onOpenAutoFocus:r,...s},i){const{drawerRef:c,onPress:u,onRelease:f,onDrag:g,keyboardIsOpen:p,snapPointsOffset:v,activeSnapPointIndex:y,modal:w,isOpen:C,direction:S,snapPoints:E,container:_,handleOnly:R,shouldAnimate:O,autoFocus:A}=Ku(),[D,B]=oe.useState(!1),I=gS(i,c),U=oe.useRef(null),$=oe.useRef(null),me=oe.useRef(!1),fe=E&&E.length>0;AD();const pe=(Y,ue,ye=0)=>{if(me.current)return!0;const j=Math.abs(Y.y),X=Math.abs(Y.x),te=X>j,se=["bottom","right"].includes(ue)?1:-1;if(ue==="left"||ue==="right"){if(!(Y.x*se<0)&&X>=0&&X<=ye)return te}else if(!(Y.y*se<0)&&j>=0&&j<=ye)return!te;return me.current=!0,!0};oe.useEffect(()=>{fe&&window.requestAnimationFrame(()=>{B(!0)})},[]);function re(Y){U.current=null,me.current=!1,f(Y)}return oe.createElement(hw,{"data-vaul-drawer-direction":S,"data-vaul-drawer":"","data-vaul-delayed-snap-points":D?"true":"false","data-vaul-snap-points":C&&fe?"true":"false","data-vaul-custom-container":_?"true":"false","data-vaul-animate":O!=null&&O.current?"true":"false",...s,ref:I,style:v&&v.length>0?{"--snap-point-height":`${v[y??0]}px`,...n}:n,onPointerDown:Y=>{R||(s.onPointerDown==null||s.onPointerDown.call(s,Y),U.current={x:Y.pageX,y:Y.pageY},u(Y))},onOpenAutoFocus:Y=>{r==null||r(Y),A||Y.preventDefault()},onPointerDownOutside:Y=>{i Line truncated
[data-input-otp] {
--nojs-bg: white !important;
--nojs-fg: black !important;
background-color: var(--nojs-bg) !important;
color: var(--nojs-fg) !important;
caret-color: var(--nojs-fg) !important;
letter-spacing: .25em !important;
text-align: center !important;
border: 1px solid var(--nojs-fg) !important;
border-radius: 4px !important;
width: 100% !important;
}
@media (prefers-color-scheme: dark) {
[data-input-otp] {
--nojs-bg: black !important;
--nojs-fg: white !important;
}
}`,BS="Popover",[PS]=Ts(BS,[Yu]),Ju=Yu(),[qL,Qr]=PS(BS),HS="PopoverAnchor",Z5=b.forwardRef((t,n)=>{const{__scopePopover:r,...s}=t,i=Qr(HS,r),c=Ju(r),{onCustomAnchorAdd:u,onCustomAnchorRemove:f}=i;return b.useEffect(()=>(u(),()=>f()),[u,f]),m.jsx(sp,{...c,...s,ref:n})});Z5.displayName=HS;var VS="PopoverTrigger",X5=b.forwardRef((t,n)=>{const{__scopePopover:r,...s}=t,i=Qr(VS,r),c=Ju(r),u=Wt(n,i.triggerRef),f=m.jsx(Mt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":GS(i.open),...s,ref:u,onClick:Xe(t.onClick,i.onOpenToggle)});return i.hasCustomAnchor?f:m.jsx(sp,{asChild:!0,...c,children:f})});X5.displayName=VS;var bp="PopoverPortal",[K5,Q5]=PS(bp,{forceMount:void 0}),IS=t=>{const{__scopePopover:n,forceMount:r,children:s,container:i}=t,c=Qr(bp,n);return m.jsx(K5,{scope:n,forceMount:r,children:m.jsx(za,{present:r||c.open,children:m.jsx(Pu,{asChild:!0,container:i,children:s})})})};IS.displayName=bp;var Bo="PopoverContent",qS=b.forwardRef((t,n)=>{const r=Q5(Bo,t.__scopePopover),{forceMount:s=r.forceMount,...i}=t,c=Qr(Bo,t.__scopePopover);return m.jsx(za,{present:s||c.open,children:c.modal?m.jsx(J5,{...i,ref:n}):m.jsx(e3,{...i,ref:n})})});qS.displayName=Bo;var W5=zo("PopoverContent.RemoveScroll"),J5=b.forwardRef((t,n)=>{const r=Qr(Bo,t.__scopePopover),s=b.useRef(null),i=Wt(n,s),c=b.useRef(!1);return b.useEffect(()=>{const u=s.current;if(u)return Yh(u)},[]),m.jsx(Vu,{as:W5,allowPinchZoom:!0,children:m.jsx(FS,{...t,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Xe(t.onCloseAutoFocus,u=>{var f;u.preventDefault(),c.current||(f=r.triggerRef.current)==null||f.focus()}),onPointerDownOutside:Xe(t.onPointerDownOutside,u=>{const f=u.detail.originalEvent,g=f.button===0&&f.ctrlKey===!0,p=f.button===2||g;c.current=p},{checkForDefaultPrevented:!1}),onFocusOutside:Xe(t.onFocusOutside,u=>u.preventDefault(),{checkForDefaultPrevented:!1})})})}),e3=b.forwardRef((t,n)=>{const r=Qr(Bo,t.__scopePopover),s=b.useRef(!1),i=b.useRef(!1);return m.jsx(FS,{...t,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{var u,f;(u=t.onCloseAutoFocus)==null||u.call(t,c),c.defaultPrevented||(s.current||(f=r.triggerRef.current)==null||f.focus(),c.preventDefault()),s.current=!1,i.current=!1},onInteractOutside:c=>{var g,p;(g=t.onInteractOutside)==null||g.call(t,c),c.defaultPrevented||(s.current=!0,c.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const u=c.target;((p=r.triggerRef.current)==null?void 0:p.contains(u))&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&i.current&&c.preventDefault()}})}),FS=b.forwardRef((t,n)=>{const{__scopePopover:r,trapFocus:s,onOpenAutoFocus:i,onCloseAutoFocus:c,disableOutsidePointerEvents:u,onEscapeKeyDown:f,onPointerDownOutside:g,onFocusOutside:p,onInteractOutside:v,...y}=t,w=Qr(Bo,r),C=Ju(r);return Gh(),m.jsx(Bu,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:i,onUnmountAutoFocus:c,children:m.jsx(Uu,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:v,onEscapeKeyDown:f,onPointerDownOutside:g,onFocusOutside:p,onDismiss:()=>w.onOpenChange(!1),children:m.jsx(Pw,{"data-state":GS(w.open),role:"dialog",id:w.contentId,...C,...y,ref:n,style:{...y.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),$S="PopoverClose",t3=b.forwardRef((t,n)=>{const{__scopePopover:r,...s}=t,i=Qr($S,r);return m.jsx(Mt.button,{type:"button",...s,ref:n,onClick:Xe(t.onClick,()=>i.onOpenChange(!1))})});t3.displayName=$S;var n3="PopoverArrow",a3=b.forwardRef((t,n)=>{const{__scopePopover:r,...s}=t,i=Ju(r);return m.jsx(Hw,{...i,...s,ref:n})});a3.displayName=n3;function GS(t){return t?"open":"closed"}var r3=IS,YS=qS;const xp=b.createContext(null);xp.displayName="PanelGroupContext";const qn={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandleId:"data-panel-resize-handle-id"},wp=10,Mo=b.useLayoutEffect,e0=Au.useId,s3=typeof e0=="function"?e0:()=>null;let o3=0;function ZS(t=null){const n=s3(),r=b.useRef(t||n||null);return r.current===null&&(r.current=""+o3++),t??r.current}function XS({children:t,className:n="",collapsedSize:r,collapsible:s,defaultSize:i,forwardedRef:c,id:u,maxSize:f,minSize:g,onCollapse:p,onExpand:v,onResize:y,order:w,style:C,tagName:S="div",...E}){const _=b.useContext(xp);if(_===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:R,expandPanel:O,getPanelSize:A,getPanelStyle:D,groupId:B,isPanelCollapsed:I,reevaluatePanelConstraints:U,registerPanel:$,resizeP Line truncated
`)){const ke=Ee.indexOf(":");if(ke>0){const ce=Ee.slice(0,ke).trim(),_e=Ee.slice(ke+1).trim();ce&&(ae[ce]=_e)}}}return ae},ge=async()=>{if(!V)return;if(!t){Fe.error("apiUrl nao definida no store");return}Y(!0),ye(null),X(null);const q=t.replace(/\/$/,""),ae=W(),Ee=`${q}${ae}`,ke={...le(D)};L&&(ke.apikey=L);let ce;if(["POST","PUT","PATCH","DELETE"].includes(V.method)&&O.trim())try{ce=JSON.parse(O),ke["Content-Type"]=ke["Content-Type"]||"application/json"}catch{X("Body nao e um JSON valido."),Y(!1);return}const be=performance.now();try{const Re=await Tt.request({url:Ee,method:V.method,headers:ke,data:ce,validateStatus:()=>!0,transformRequest:Le=>Le===void 0?void 0:JSON.stringify(Le)}),Pe=Math.round(performance.now()-be),qe={},Ue=Re.headers;if(Ue instanceof ek)Ue.forEach((Le,pt)=>{qe[pt]=String(Le)});else if(Ue&&typeof Ue=="object")for(const[Le,pt]of Object.entries(Ue))qe[Le]=String(pt);ye({status:Re.status,statusText:Re.statusText||"",durationMs:Pe,data:Re.data,headers:qe,finalUrl:Ee,request:{method:V.method,url:Ee,headers:ke,body:ce}})}catch(Re){const Pe=Math.round(performance.now()-be),qe=(Re==null?void 0:Re.message)||"Erro de rede desconhecido";X(`${qe} (em ${Pe}ms)`)}finally{Y(!1)}};return m.jsxs("div",{className:"flex h-[calc(100vh-4rem)] overflow-hidden",children:[m.jsxs("aside",{className:"flex w-80 flex-col border-r border-sidebar-border bg-sidebar/60",children:[m.jsxs("div",{className:"border-b border-sidebar-border p-3",children:[m.jsxs("h2",{className:"mb-2 flex items-center gap-2 text-sm font-semibold text-foreground",children:[m.jsx(wR,{className:"h-4 w-4 text-purple-500"}),"Endpoints",m.jsx("button",{type:"button",onClick:te,className:"ml-auto rounded-md p-1 text-muted-foreground hover:bg-accent hover:text-foreground",title:"Recarregar swagger",children:m.jsx(nA,{className:"h-3.5 w-3.5"})})]}),m.jsxs("div",{className:"relative",children:[m.jsx(K0,{className:"pointer-events-none absolute left-2 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),m.jsx("input",{type:"text",placeholder:"Filtrar por path, metodo, tag...",value:v,onChange:q=>y(q.target.value),className:"w-full rounded-md border border-input bg-background py-1.5 pl-8 pr-2 text-xs text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"})]})]}),m.jsxs("div",{className:"flex-1 overflow-y-auto p-2",children:[u&&m.jsxs("div",{className:"p-4 text-center text-sm text-muted-foreground",children:[m.jsx(ol,{className:"mx-auto mb-2 h-5 w-5 animate-spin"}),"Carregando swagger..."]}),g&&m.jsx("div",{className:"rounded-md border border-destructive/40 bg-destructive/10 p-3 text-xs text-destructive",children:g}),!u&&!g&&T.length===0&&m.jsx("p",{className:"p-4 text-center text-xs text-muted-foreground",children:"Nenhum endpoint encontrado."}),T.map(([q,ae])=>m.jsxs("div",{className:"mb-3",children:[m.jsx("p",{className:"mb-1 px-2 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:q}),m.jsx("div",{className:"space-y-0.5",children:ae.map(Ee=>{const ke=C0[Ee.method.toLowerCase()]||"",ce=Ee.key===w;return m.jsxs("button",{onClick:()=>C(Ee.key),className:`group flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-xs transition-colors ${ce?"bg-primary/10 ring-1 ring-primary/40":"hover:bg-accent"}`,children:[m.jsx("span",{className:`inline-block w-12 shrink-0 rounded border px-1.5 py-0.5 text-center font-mono text-[10px] font-bold ${ke}`,children:Ee.method}),m.jsx("span",{className:"flex-1 truncate font-mono text-foreground",children:Ee.path}),m.jsx(Qm,{className:"h-3 w-3 shrink-0 text-muted-foreground opacity-0 group-hover:opacity-100"})]},Ee.key)})})]},q))]})]}),m.jsx("section",{className:"flex flex-1 flex-col overflow-hidden",children:V?m.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[m.jsxs("div",{className:"border-b border-sidebar-border bg-sidebar/30 px-5 py-3",children:[m.jsxs("div",{className:"flex items-center gap-3",children:[m.jsx("span",{className:`rounded border px-2 py-0.5 font-mono text-xs font-bold ${C0[V.method.toLowerCase()]||""}`,children:V.method}),m.jsx("code",{className:"flex-1 truncate font-mono text-sm text-foreground",children:V.path}),m.jsx("button",{type:"button",onClick:ge,disabled:re,className:"inline-flex items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50",children:re?m.jsxs(m.Fragment,{children:[m.jsx(ol,{className:"h-3.5 w-3.5 animate-spin"}),"Executando..."]}):m.jsxs(m.Fragment,{children:[m.jsx(XR,{className:"h-3.5 w-3.5"}),"Executar"]})})]}),V.operation.summary&&m.jsx("p",{className:"mt-2 text-xs text-foreground/80",children:V.operation.summary})]}),m.jsxs("div",{className:"grid flex-1 grid-cols-1 gap-0 overflow-hidden lg:grid-cols-2",children:[m.jsx("div",{className:"overflow-y-auto border-r border-sidebar-border p-5",children:m.jsxs("div",{className:"space-y-4",children:[m.jsxs("div",{className:"rounded-md border bor Line truncated