@nextclaw/ui 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -2
- package/dist/assets/ChannelsList-BEbqjBdM.js +1 -0
- package/dist/assets/{ChatPage-DM1ewbWf.js → ChatPage-BaUQCtqU.js} +2 -2
- package/dist/assets/{DocBrowser-BLv77lJ0.js → DocBrowser-CtDiU1-0.js} +1 -1
- package/dist/assets/{LogoBadge-D7j1al-w.js → LogoBadge-Cy-EHxZ6.js} +1 -1
- package/dist/assets/MarketplacePage-D_r1Xy_C.js +49 -0
- package/dist/assets/{McpMarketplacePage-DpMjaD3m.js → McpMarketplacePage-Bftp9zkB.js} +2 -2
- package/dist/assets/ModelConfig-CdFIVFue.js +1 -0
- package/dist/assets/ProvidersList-Bx3w67f2.js +1 -0
- package/dist/assets/RemoteAccessPage-3JbDaO3y.js +1 -0
- package/dist/assets/{RuntimeConfig-BbX4yFKy.js → RuntimeConfig-V2C7bIJt.js} +1 -1
- package/dist/assets/{SearchConfig-BmmmeyJd.js → SearchConfig-Wq9VNK2x.js} +1 -1
- package/dist/assets/{SecretsConfig-CWG8J01H.js → SecretsConfig-DuYOs4z3.js} +2 -2
- package/dist/assets/SessionsConfig-fuPlbwC7.js +2 -0
- package/dist/assets/{chat-message-CGXiVhyN.js → chat-message-D729qtQ5.js} +1 -1
- package/dist/assets/index-D3eWL7gT.js +8 -0
- package/dist/assets/index-DfEAJJsA.css +1 -0
- package/dist/assets/{label-CCSffS1D.js → label-DCtPX8p3.js} +1 -1
- package/dist/assets/{page-layout-ud8wZ8gX.js → page-layout-Dr5ymRVA.js} +1 -1
- package/dist/assets/popover-YWmgsAlv.js +1 -0
- package/dist/assets/{security-config-DJJUCMov.js → security-config-bwP5X0a-.js} +1 -1
- package/dist/assets/skeleton-C4iXwmBW.js +1 -0
- package/dist/assets/{status-dot-Fz9-eKsl.js → status-dot-SDG0WNvL.js} +1 -1
- package/dist/assets/{switch-B-_SrMSL.js → switch-lC_seKUL.js} +1 -1
- package/dist/assets/{tabs-custom-6Tm1ZHfS.js → tabs-custom-LAWD0u69.js} +1 -1
- package/dist/assets/useConfirmDialog-D0akncY4.js +1 -0
- package/dist/assets/vendor-CmQZsDAE.js +436 -0
- package/dist/index.html +3 -3
- package/package.json +4 -4
- package/src/App.tsx +36 -39
- package/src/account/components/account-panel.tsx +93 -0
- package/src/account/managers/account.manager.ts +179 -0
- package/src/account/stores/account.store.ts +68 -0
- package/src/app-query-client.ts +10 -0
- package/src/components/layout/Sidebar.tsx +26 -0
- package/src/components/remote/RemoteAccessPage.tsx +162 -442
- package/src/hooks/useRemoteAccess.ts +7 -6
- package/src/lib/i18n.remote.ts +108 -4
- package/src/presenter/app-presenter-context.tsx +20 -0
- package/src/presenter/app.presenter.ts +12 -0
- package/src/remote/managers/remote-access.manager.ts +196 -0
- package/src/remote/remote-access.query.ts +78 -0
- package/src/remote/stores/remote-access.store.ts +44 -0
- package/dist/assets/ChannelsList-Byfj2R01.js +0 -1
- package/dist/assets/MarketplacePage-DuskLKYh.js +0 -49
- package/dist/assets/ModelConfig-ubaecweS.js +0 -1
- package/dist/assets/ProvidersList-w8MJH2LI.js +0 -1
- package/dist/assets/RemoteAccessPage-D79_5Kbn.js +0 -1
- package/dist/assets/SessionsConfig-D-vg_Lgv.js +0 -2
- package/dist/assets/index-COrhpAdh.css +0 -1
- package/dist/assets/index-CeRbsQ90.js +0 -8
- package/dist/assets/index-Ct7FQpxN.js +0 -1
- package/dist/assets/popover-Bfoe6YBX.js +0 -1
- package/dist/assets/skeleton-IOOTmHzP.js +0 -1
- package/dist/assets/useConfirmDialog-BeOW2bOI.js +0 -5
- package/dist/assets/vendor-CwsIoNvJ.js +0 -442
|
@@ -1,442 +0,0 @@
|
|
|
1
|
-
var Yp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||Yp("Cannot "+i);var b=(n,r,i)=>(Xu(n,r,"read from private field"),i?i.call(n):r.get(n)),me=(n,r,i)=>r.has(n)?Yp("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(n):r.set(n,i),J=(n,r,i,a)=>(Xu(n,r,"write to private field"),a?a.call(n,i):r.set(n,i),i),Pe=(n,r,i)=>(Xu(n,r,"access private method"),i);var Ia=(n,r,i,a)=>({set _(l){J(n,r,l,i)},get _(){return b(n,r,a)}});function u0(n,r){for(var i=0;i<r.length;i++){const a=r[i];if(typeof a!="string"&&!Array.isArray(a)){for(const l in a)if(l!=="default"&&!(l in n)){const c=Object.getOwnPropertyDescriptor(a,l);c&&Object.defineProperty(n,l,c.get?c:{enumerable:!0,get:()=>a[l]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function pm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Zu={exports:{}},os={},Ju={exports:{}},Te={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Gp;function c0(){if(Gp)return Te;Gp=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),x=Symbol.iterator;function C(_){return _===null||typeof _!="object"?null:(_=x&&_[x]||_["@@iterator"],typeof _=="function"?_:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,S={};function k(_,z,ne){this.props=_,this.context=z,this.refs=S,this.updater=ne||v}k.prototype.isReactComponent={},k.prototype.setState=function(_,z){if(typeof _!="object"&&typeof _!="function"&&_!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,_,z,"setState")},k.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function P(){}P.prototype=k.prototype;function T(_,z,ne){this.props=_,this.context=z,this.refs=S,this.updater=ne||v}var R=T.prototype=new P;R.constructor=T,O(R,k.prototype),R.isPureReactComponent=!0;var L=Array.isArray,F=Object.prototype.hasOwnProperty,U={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function q(_,z,ne){var re,ye={},Se=null,K=null;if(z!=null)for(re in z.ref!==void 0&&(K=z.ref),z.key!==void 0&&(Se=""+z.key),z)F.call(z,re)&&!H.hasOwnProperty(re)&&(ye[re]=z[re]);var pe=arguments.length-2;if(pe===1)ye.children=ne;else if(1<pe){for(var ke=Array(pe),be=0;be<pe;be++)ke[be]=arguments[be+2];ye.children=ke}if(_&&_.defaultProps)for(re in pe=_.defaultProps,pe)ye[re]===void 0&&(ye[re]=pe[re]);return{$$typeof:n,type:_,key:Se,ref:K,props:ye,_owner:U.current}}function Z(_,z){return{$$typeof:n,type:_.type,key:z,ref:_.ref,props:_.props,_owner:_._owner}}function te(_){return typeof _=="object"&&_!==null&&_.$$typeof===n}function he(_){var z={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(ne){return z[ne]})}var X=/\/+/g;function ve(_,z){return typeof _=="object"&&_!==null&&_.key!=null?he(""+_.key):z.toString(36)}function de(_,z,ne,re,ye){var Se=typeof _;(Se==="undefined"||Se==="boolean")&&(_=null);var K=!1;if(_===null)K=!0;else switch(Se){case"string":case"number":K=!0;break;case"object":switch(_.$$typeof){case n:case r:K=!0}}if(K)return K=_,ye=ye(K),_=re===""?"."+ve(K,0):re,L(ye)?(ne="",_!=null&&(ne=_.replace(X,"$&/")+"/"),de(ye,z,ne,"",function(be){return be})):ye!=null&&(te(ye)&&(ye=Z(ye,ne+(!ye.key||K&&K.key===ye.key?"":(""+ye.key).replace(X,"$&/")+"/")+_)),z.push(ye)),1;if(K=0,re=re===""?".":re+":",L(_))for(var pe=0;pe<_.length;pe++){Se=_[pe];var ke=re+ve(Se,pe);K+=de(Se,z,ne,ke,ye)}else if(ke=C(_),typeof ke=="function")for(_=ke.call(_),pe=0;!(Se=_.next()).done;)Se=Se.value,ke=re+ve(Se,pe++),K+=de(Se,z,ne,ke,ye);else if(Se==="object")throw z=String(_),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.");return K}function xe(_,z,ne){if(_==null)return _;var re=[],ye=0;return de(_,re,"","",function(Se){return z.call(ne,Se,ye++)}),re}function ue(_){if(_._status===-1){var z=_._result;z=z(),z.then(function(ne){(_._status===0||_._status===-1)&&(_._status=1,_._result=ne)},function(ne){(_._status===0||_._status===-1)&&(_._status=2,_._result=ne)}),_._status===-1&&(_._status=0,_._result=z)}if(_._status===1)return _._result.default;throw _._result}var ie={current:null},j={transition:null},B={ReactCurrentDispatcher:ie,ReactCurrentBatchConfig:j,ReactCurrentOwner:U};function W(){throw Error("act(...) is not supported in production builds of React.")}return Te.Children={map:xe,forEach:function(_,z,ne){xe(_,function(){z.apply(this,arguments)},ne)},count:function(_){var z=0;return xe(_,function(){z++}),z},toArray:function(_){return xe(_,function(z){return z})||[]},only:function(_){if(!te(_))throw Error("React.Children.only expected to receive a single React element child.");return _}},Te.Component=k,Te.Fragment=i,Te.Profiler=l,Te.PureComponent=T,Te.StrictMode=a,Te.Suspense=h,Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,Te.act=W,Te.cloneElement=function(_,z,ne){if(_==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+_+".");var re=O({},_.props),ye=_.key,Se=_.ref,K=_._owner;if(z!=null){if(z.ref!==void 0&&(Se=z.ref,K=U.current),z.key!==void 0&&(ye=""+z.key),_.type&&_.type.defaultProps)var pe=_.type.defaultProps;for(ke in z)F.call(z,ke)&&!H.hasOwnProperty(ke)&&(re[ke]=z[ke]===void 0&&pe!==void 0?pe[ke]:z[ke])}var ke=arguments.length-2;if(ke===1)re.children=ne;else if(1<ke){pe=Array(ke);for(var be=0;be<ke;be++)pe[be]=arguments[be+2];re.children=pe}return{$$typeof:n,type:_.type,key:ye,ref:Se,props:re,_owner:K}},Te.createContext=function(_){return _={$$typeof:f,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},_.Provider={$$typeof:c,_context:_},_.Consumer=_},Te.createElement=q,Te.createFactory=function(_){var z=q.bind(null,_);return z.type=_,z},Te.createRef=function(){return{current:null}},Te.forwardRef=function(_){return{$$typeof:p,render:_}},Te.isValidElement=te,Te.lazy=function(_){return{$$typeof:w,_payload:{_status:-1,_result:_},_init:ue}},Te.memo=function(_,z){return{$$typeof:m,type:_,compare:z===void 0?null:z}},Te.startTransition=function(_){var z=j.transition;j.transition={};try{_()}finally{j.transition=z}},Te.unstable_act=W,Te.useCallback=function(_,z){return ie.current.useCallback(_,z)},Te.useContext=function(_){return ie.current.useContext(_)},Te.useDebugValue=function(){},Te.useDeferredValue=function(_){return ie.current.useDeferredValue(_)},Te.useEffect=function(_,z){return ie.current.useEffect(_,z)},Te.useId=function(){return ie.current.useId()},Te.useImperativeHandle=function(_,z,ne){return ie.current.useImperativeHandle(_,z,ne)},Te.useInsertionEffect=function(_,z){return ie.current.useInsertionEffect(_,z)},Te.useLayoutEffect=function(_,z){return ie.current.useLayoutEffect(_,z)},Te.useMemo=function(_,z){return ie.current.useMemo(_,z)},Te.useReducer=function(_,z,ne){return ie.current.useReducer(_,z,ne)},Te.useRef=function(_){return ie.current.useRef(_)},Te.useState=function(_){return ie.current.useState(_)},Te.useSyncExternalStore=function(_,z,ne){return ie.current.useSyncExternalStore(_,z,ne)},Te.useTransition=function(){return ie.current.useTransition()},Te.version="18.3.1",Te}var Xp;function Qc(){return Xp||(Xp=1,Ju.exports=c0()),Ju.exports}/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Zp;function d0(){if(Zp)return os;Zp=1;var n=Qc(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function f(p,h,m){var w,x={},C=null,v=null;m!==void 0&&(C=""+m),h.key!==void 0&&(C=""+h.key),h.ref!==void 0&&(v=h.ref);for(w in h)a.call(h,w)&&!c.hasOwnProperty(w)&&(x[w]=h[w]);if(p&&p.defaultProps)for(w in h=p.defaultProps,h)x[w]===void 0&&(x[w]=h[w]);return{$$typeof:r,type:p,key:C,ref:v,props:x,_owner:l.current}}return os.Fragment=i,os.jsx=f,os.jsxs=f,os}var Jp;function f0(){return Jp||(Jp=1,Zu.exports=d0()),Zu.exports}var ee=f0(),g=Qc();const G=pm(g),hm=u0({__proto__:null,default:G},[g]);var Da={},ec={exports:{}},Ot={},tc={exports:{}},nc={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.min.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var eh;function p0(){return eh||(eh=1,(function(n){function r(j,B){var W=j.length;j.push(B);e:for(;0<W;){var _=W-1>>>1,z=j[_];if(0<l(z,B))j[_]=B,j[W]=z,W=_;else break e}}function i(j){return j.length===0?null:j[0]}function a(j){if(j.length===0)return null;var B=j[0],W=j.pop();if(W!==B){j[0]=W;e:for(var _=0,z=j.length,ne=z>>>1;_<ne;){var re=2*(_+1)-1,ye=j[re],Se=re+1,K=j[Se];if(0>l(ye,W))Se<z&&0>l(K,ye)?(j[_]=K,j[Se]=W,_=Se):(j[_]=ye,j[re]=W,_=re);else if(Se<z&&0>l(K,W))j[_]=K,j[Se]=W,_=Se;else break e}}return B}function l(j,B){var W=j.sortIndex-B.sortIndex;return W!==0?W:j.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var f=Date,p=f.now();n.unstable_now=function(){return f.now()-p}}var h=[],m=[],w=1,x=null,C=3,v=!1,O=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function R(j){for(var B=i(m);B!==null;){if(B.callback===null)a(m);else if(B.startTime<=j)a(m),B.sortIndex=B.expirationTime,r(h,B);else break;B=i(m)}}function L(j){if(S=!1,R(j),!O)if(i(h)!==null)O=!0,ue(F);else{var B=i(m);B!==null&&ie(L,B.startTime-j)}}function F(j,B){O=!1,S&&(S=!1,P(q),q=-1),v=!0;var W=C;try{for(R(B),x=i(h);x!==null&&(!(x.expirationTime>B)||j&&!he());){var _=x.callback;if(typeof _=="function"){x.callback=null,C=x.priorityLevel;var z=_(x.expirationTime<=B);B=n.unstable_now(),typeof z=="function"?x.callback=z:x===i(h)&&a(h),R(B)}else a(h);x=i(h)}if(x!==null)var ne=!0;else{var re=i(m);re!==null&&ie(L,re.startTime-B),ne=!1}return ne}finally{x=null,C=W,v=!1}}var U=!1,H=null,q=-1,Z=5,te=-1;function he(){return!(n.unstable_now()-te<Z)}function X(){if(H!==null){var j=n.unstable_now();te=j;var B=!0;try{B=H(!0,j)}finally{B?ve():(U=!1,H=null)}}else U=!1}var ve;if(typeof T=="function")ve=function(){T(X)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,xe=de.port2;de.port1.onmessage=X,ve=function(){xe.postMessage(null)}}else ve=function(){k(X,0)};function ue(j){H=j,U||(U=!0,ve())}function ie(j,B){q=k(function(){j(n.unstable_now())},B)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(j){j.callback=null},n.unstable_continueExecution=function(){O||v||(O=!0,ue(F))},n.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"):Z=0<j?Math.floor(1e3/j):5},n.unstable_getCurrentPriorityLevel=function(){return C},n.unstable_getFirstCallbackNode=function(){return i(h)},n.unstable_next=function(j){switch(C){case 1:case 2:case 3:var B=3;break;default:B=C}var W=C;C=B;try{return j()}finally{C=W}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(j,B){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var W=C;C=j;try{return B()}finally{C=W}},n.unstable_scheduleCallback=function(j,B,W){var _=n.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?_+W:_):W=_,j){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=W+z,j={id:w++,callback:B,priorityLevel:j,startTime:W,expirationTime:z,sortIndex:-1},W>_?(j.sortIndex=W,r(m,j),i(h)===null&&j===i(m)&&(S?(P(q),q=-1):S=!0,ie(L,W-_))):(j.sortIndex=z,r(h,j),O||v||(O=!0,ue(F))),j},n.unstable_shouldYield=he,n.unstable_wrapCallback=function(j){var B=C;return function(){var W=C;C=B;try{return j.apply(this,arguments)}finally{C=W}}}})(nc)),nc}var th;function h0(){return th||(th=1,tc.exports=p0()),tc.exports}/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.min.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var nh;function m0(){if(nh)return Ot;nh=1;var n=Qc(),r=h0();function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,w={},x={};function C(e){return h.call(x,e)?!0:h.call(w,e)?!1:m.test(e)?x[e]=!0:(w[e]=!0,!1)}function v(e,t,o,s){if(o!==null&&o.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return s?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function O(e,t,o,s){if(t===null||typeof t>"u"||v(e,t,o,s))return!0;if(s)return!1;if(o!==null)switch(o.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function S(e,t,o,s,u,d,y){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=s,this.attributeNamespace=u,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=y}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new S(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];k[t]=new S(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new S(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new S(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){k[e]=new S(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new S(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new S(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new S(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new S(e,5,!1,e.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function T(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(P,T);k[t]=new S(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(P,T);k[t]=new S(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(P,T);k[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new S(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new S(e,1,!1,e.toLowerCase(),null,!0,!0)});function R(e,t,o,s){var u=k.hasOwnProperty(t)?k[t]:null;(u!==null?u.type!==0:s||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(O(t,o,u,s)&&(o=null),s||u===null?C(t)&&(o===null?e.removeAttribute(t):e.setAttribute(t,""+o)):u.mustUseProperty?e[u.propertyName]=o===null?u.type===3?!1:"":o:(t=u.attributeName,s=u.attributeNamespace,o===null?e.removeAttribute(t):(u=u.type,o=u===3||u===4&&o===!0?"":""+o,s?e.setAttributeNS(s,t,o):e.setAttribute(t,o))))}var L=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),U=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),he=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),ve=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),ue=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),j=Symbol.iterator;function B(e){return e===null||typeof e!="object"?null:(e=j&&e[j]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,_;function z(e){if(_===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);_=t&&t[1]||""}return`
|
|
34
|
-
`+_+e}var ne=!1;function re(e,t){if(!e||ne)return"";ne=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(D){var s=D}Reflect.construct(e,[],t)}else{try{t.call()}catch(D){s=D}e.call(t.prototype)}else{try{throw Error()}catch(D){s=D}e()}}catch(D){if(D&&s&&typeof D.stack=="string"){for(var u=D.stack.split(`
|
|
35
|
-
`),d=s.stack.split(`
|
|
36
|
-
`),y=u.length-1,E=d.length-1;1<=y&&0<=E&&u[y]!==d[E];)E--;for(;1<=y&&0<=E;y--,E--)if(u[y]!==d[E]){if(y!==1||E!==1)do if(y--,E--,0>E||u[y]!==d[E]){var M=`
|
|
37
|
-
`+u[y].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=y&&0<=E);break}}}finally{ne=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?z(e):""}function ye(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=re(e.type,!1),e;case 11:return e=re(e.type.render,!1),e;case 1:return e=re(e.type,!0),e;default:return""}}function Se(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case H:return"Fragment";case U:return"Portal";case Z:return"Profiler";case q:return"StrictMode";case ve:return"Suspense";case de:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case he:return(e.displayName||"Context")+".Consumer";case te:return(e._context.displayName||"Context")+".Provider";case X:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xe:return t=e.displayName||null,t!==null?t:Se(e.type)||"Memo";case ue:t=e._payload,e=e._init;try{return Se(e(t))}catch{}}return null}function K(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Se(t);case 8:return t===q?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function pe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ke(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function be(e){var t=ke(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),s=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var u=o.get,d=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){s=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(y){s=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Me(e){e._valueTracker||(e._valueTracker=be(e))}function Oe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),s="";return e&&(s=ke(e)?e.checked?"true":"false":e.value),e=s,e!==o?(t.setValue(e),!0):!1}function qe(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function dt(e,t){var o=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function vn(e,t){var o=t.defaultValue==null?"":t.defaultValue,s=t.checked!=null?t.checked:t.defaultChecked;o=pe(t.value!=null?t.value:o),e._wrapperState={initialChecked:s,initialValue:o,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Xt(e,t){t=t.checked,t!=null&&R(e,"checked",t,!1)}function Zt(e,t){Xt(e,t);var o=pe(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?gn(e,t.type,o):t.hasOwnProperty("defaultValue")&&gn(e,t.type,pe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function or(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var s=t.type;if(!(s!=="submit"&&s!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,o||t===e.value||(e.value=t),e.defaultValue=t}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function gn(e,t,o){(t!=="number"||qe(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var ir=Array.isArray;function Ht(e,t,o,s){if(e=e.options,t){t={};for(var u=0;u<o.length;u++)t["$"+o[u]]=!0;for(o=0;o<e.length;o++)u=t.hasOwnProperty("$"+e[o].value),e[o].selected!==u&&(e[o].selected=u),u&&s&&(e[o].defaultSelected=!0)}else{for(o=""+pe(o),t=null,u=0;u<e.length;u++){if(e[u].value===o){e[u].selected=!0,s&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function ko(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(i(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function wn(e,t){var o=t.value;if(o==null){if(o=t.children,t=t.defaultValue,o!=null){if(t!=null)throw Error(i(92));if(ir(o)){if(1<o.length)throw Error(i(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:pe(o)}}function ks(e,t){var o=pe(t.value),s=pe(t.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),t.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),s!=null&&(e.defaultValue=""+s)}function Cs(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function vt(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function xn(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?vt(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Co,Es=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,s,u){MSApp.execUnsafeLocalFunction(function(){return e(t,o,s,u)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Co=Co||document.createElement("div"),Co.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Co.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Sn(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Wr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bs=["Webkit","ms","Moz","O"];Object.keys(Wr).forEach(function(e){bs.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Wr[t]=Wr[e]})});function Eo(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||Wr.hasOwnProperty(e)&&Wr[e]?(""+t).trim():t+"px"}function Fn(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var s=o.indexOf("--")===0,u=Eo(o,t[o],s);o==="float"&&(o="cssFloat"),s?e.setProperty(o,u):e[o]=u}}var Rs=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function kn(e,t){if(t){if(Rs[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(i(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(t.style!=null&&typeof t.style!="object")throw Error(i(62))}}function ki(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ci=null;function bo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ro=null,sr=null,Cn=null;function Jt(e){if(e=$i(e)){if(typeof Ro!="function")throw Error(i(280));var t=e.stateNode;t&&(t=Gs(t),Ro(e.stateNode,e.type,t))}}function Ps(e){sr?Cn?Cn.push(e):Cn=[e]:sr=e}function Ee(){if(sr){var e=sr,t=Cn;if(Cn=sr=null,Jt(e),t)for(e=0;e<t.length;e++)Jt(t[e])}}function Ae(e,t){return e(t)}function ze(){}var gt=!1;function Ct(e,t,o){if(gt)return e(t,o);gt=!0;try{return Ae(e,t,o)}finally{gt=!1,(sr!==null||Cn!==null)&&(ze(),Ee())}}function Et(e,t){var o=e.stateNode;if(o===null)return null;var s=Gs(o);if(s===null)return null;o=s[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,t,typeof o));return o}var en=!1;if(p)try{var at={};Object.defineProperty(at,"passive",{get:function(){en=!0}}),window.addEventListener("test",at,at),window.removeEventListener("test",at,at)}catch{en=!1}function En(e,t,o,s,u,d,y,E,M){var D=Array.prototype.slice.call(arguments,3);try{t.apply(o,D)}catch(V){this.onError(V)}}var Ei=!1,Ms=null,Ts=!1,yl=null,yv={onError:function(e){Ei=!0,Ms=e}};function vv(e,t,o,s,u,d,y,E,M){Ei=!1,Ms=null,En.apply(yv,arguments)}function gv(e,t,o,s,u,d,y,E,M){if(vv.apply(this,arguments),Ei){if(Ei){var D=Ms;Ei=!1,Ms=null}else throw Error(i(198));Ts||(Ts=!0,yl=D)}}function Qr(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function vd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function gd(e){if(Qr(e)!==e)throw Error(i(188))}function wv(e){var t=e.alternate;if(!t){if(t=Qr(e),t===null)throw Error(i(188));return t!==e?null:e}for(var o=e,s=t;;){var u=o.return;if(u===null)break;var d=u.alternate;if(d===null){if(s=u.return,s!==null){o=s;continue}break}if(u.child===d.child){for(d=u.child;d;){if(d===o)return gd(u),e;if(d===s)return gd(u),t;d=d.sibling}throw Error(i(188))}if(o.return!==s.return)o=u,s=d;else{for(var y=!1,E=u.child;E;){if(E===o){y=!0,o=u,s=d;break}if(E===s){y=!0,s=u,o=d;break}E=E.sibling}if(!y){for(E=d.child;E;){if(E===o){y=!0,o=d,s=u;break}if(E===s){y=!0,s=d,o=u;break}E=E.sibling}if(!y)throw Error(i(189))}}if(o.alternate!==s)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:t}function wd(e){return e=wv(e),e!==null?xd(e):null}function xd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xd(e);if(t!==null)return t;e=e.sibling}return null}var Sd=r.unstable_scheduleCallback,kd=r.unstable_cancelCallback,xv=r.unstable_shouldYield,Sv=r.unstable_requestPaint,Ye=r.unstable_now,kv=r.unstable_getCurrentPriorityLevel,vl=r.unstable_ImmediatePriority,Cd=r.unstable_UserBlockingPriority,Os=r.unstable_NormalPriority,Cv=r.unstable_LowPriority,Ed=r.unstable_IdlePriority,_s=null,bn=null;function Ev(e){if(bn&&typeof bn.onCommitFiberRoot=="function")try{bn.onCommitFiberRoot(_s,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:Pv,bv=Math.log,Rv=Math.LN2;function Pv(e){return e>>>=0,e===0?32:31-(bv(e)/Rv|0)|0}var Ns=64,Ls=4194304;function bi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function As(e,t){var o=e.pendingLanes;if(o===0)return 0;var s=0,u=e.suspendedLanes,d=e.pingedLanes,y=o&268435455;if(y!==0){var E=y&~u;E!==0?s=bi(E):(d&=y,d!==0&&(s=bi(d)))}else y=o&~u,y!==0?s=bi(y):d!==0&&(s=bi(d));if(s===0)return 0;if(t!==0&&t!==s&&(t&u)===0&&(u=s&-s,d=t&-t,u>=d||u===16&&(d&4194240)!==0))return t;if((s&4)!==0&&(s|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=s;0<t;)o=31-tn(t),u=1<<o,s|=e[o],t&=~u;return s}function Mv(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Tv(e,t){for(var o=e.suspendedLanes,s=e.pingedLanes,u=e.expirationTimes,d=e.pendingLanes;0<d;){var y=31-tn(d),E=1<<y,M=u[y];M===-1?((E&o)===0||(E&s)!==0)&&(u[y]=Mv(E,t)):M<=t&&(e.expiredLanes|=E),d&=~E}}function gl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function bd(){var e=Ns;return Ns<<=1,(Ns&4194240)===0&&(Ns=64),e}function wl(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Ri(e,t,o){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tn(t),e[t]=o}function Ov(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var s=e.eventTimes;for(e=e.expirationTimes;0<o;){var u=31-tn(o),d=1<<u;t[u]=0,s[u]=-1,e[u]=-1,o&=~d}}function xl(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var s=31-tn(o),u=1<<s;u&t|e[s]&t&&(e[s]|=t),o&=~u}}var De=0;function Rd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Pd,Sl,Md,Td,Od,kl=!1,Is=[],ar=null,lr=null,ur=null,Pi=new Map,Mi=new Map,cr=[],_v="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function _d(e,t){switch(e){case"focusin":case"focusout":ar=null;break;case"dragenter":case"dragleave":lr=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":Pi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mi.delete(t.pointerId)}}function Ti(e,t,o,s,u,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:o,eventSystemFlags:s,nativeEvent:d,targetContainers:[u]},t!==null&&(t=$i(t),t!==null&&Sl(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function Nv(e,t,o,s,u){switch(t){case"focusin":return ar=Ti(ar,e,t,o,s,u),!0;case"dragenter":return lr=Ti(lr,e,t,o,s,u),!0;case"mouseover":return ur=Ti(ur,e,t,o,s,u),!0;case"pointerover":var d=u.pointerId;return Pi.set(d,Ti(Pi.get(d)||null,e,t,o,s,u)),!0;case"gotpointercapture":return d=u.pointerId,Mi.set(d,Ti(Mi.get(d)||null,e,t,o,s,u)),!0}return!1}function Nd(e){var t=Kr(e.target);if(t!==null){var o=Qr(t);if(o!==null){if(t=o.tag,t===13){if(t=vd(o),t!==null){e.blockedOn=t,Od(e.priority,function(){Md(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ds(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=El(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var s=new o.constructor(o.type,o);Ci=s,o.target.dispatchEvent(s),Ci=null}else return t=$i(o),t!==null&&Sl(t),e.blockedOn=o,!1;t.shift()}return!0}function Ld(e,t,o){Ds(e)&&o.delete(t)}function Lv(){kl=!1,ar!==null&&Ds(ar)&&(ar=null),lr!==null&&Ds(lr)&&(lr=null),ur!==null&&Ds(ur)&&(ur=null),Pi.forEach(Ld),Mi.forEach(Ld)}function Oi(e,t){e.blockedOn===t&&(e.blockedOn=null,kl||(kl=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Lv)))}function _i(e){function t(u){return Oi(u,e)}if(0<Is.length){Oi(Is[0],e);for(var o=1;o<Is.length;o++){var s=Is[o];s.blockedOn===e&&(s.blockedOn=null)}}for(ar!==null&&Oi(ar,e),lr!==null&&Oi(lr,e),ur!==null&&Oi(ur,e),Pi.forEach(t),Mi.forEach(t),o=0;o<cr.length;o++)s=cr[o],s.blockedOn===e&&(s.blockedOn=null);for(;0<cr.length&&(o=cr[0],o.blockedOn===null);)Nd(o),o.blockedOn===null&&cr.shift()}var Po=L.ReactCurrentBatchConfig,zs=!0;function Av(e,t,o,s){var u=De,d=Po.transition;Po.transition=null;try{De=1,Cl(e,t,o,s)}finally{De=u,Po.transition=d}}function Iv(e,t,o,s){var u=De,d=Po.transition;Po.transition=null;try{De=4,Cl(e,t,o,s)}finally{De=u,Po.transition=d}}function Cl(e,t,o,s){if(zs){var u=El(e,t,o,s);if(u===null)Ul(e,t,s,Fs,o),_d(e,s);else if(Nv(u,e,t,o,s))s.stopPropagation();else if(_d(e,s),t&4&&-1<_v.indexOf(e)){for(;u!==null;){var d=$i(u);if(d!==null&&Pd(d),d=El(e,t,o,s),d===null&&Ul(e,t,s,Fs,o),d===u)break;u=d}u!==null&&s.stopPropagation()}else Ul(e,t,s,null,o)}}var Fs=null;function El(e,t,o,s){if(Fs=null,e=bo(s),e=Kr(e),e!==null)if(t=Qr(e),t===null)e=null;else if(o=t.tag,o===13){if(e=vd(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Fs=e,null}function Ad(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(kv()){case vl:return 1;case Cd:return 4;case Os:case Cv:return 16;case Ed:return 536870912;default:return 16}default:return 16}}var dr=null,bl=null,js=null;function Id(){if(js)return js;var e,t=bl,o=t.length,s,u="value"in dr?dr.value:dr.textContent,d=u.length;for(e=0;e<o&&t[e]===u[e];e++);var y=o-e;for(s=1;s<=y&&t[o-s]===u[d-s];s++);return js=u.slice(e,1<s?1-s:void 0)}function Bs(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Us(){return!0}function Dd(){return!1}function It(e){function t(o,s,u,d,y){this._reactName=o,this._targetInst=u,this.type=s,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var E in e)e.hasOwnProperty(E)&&(o=e[E],this[E]=o?o(d):d[E]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Us:Dd,this.isPropagationStopped=Dd,this}return W(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Us)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Us)},persist:function(){},isPersistent:Us}),t}var Mo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rl=It(Mo),Ni=W({},Mo,{view:0,detail:0}),Dv=It(Ni),Pl,Ml,Li,Hs=W({},Ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ol,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Li&&(Li&&e.type==="mousemove"?(Pl=e.screenX-Li.screenX,Ml=e.screenY-Li.screenY):Ml=Pl=0,Li=e),Pl)},movementY:function(e){return"movementY"in e?e.movementY:Ml}}),zd=It(Hs),zv=W({},Hs,{dataTransfer:0}),Fv=It(zv),jv=W({},Ni,{relatedTarget:0}),Tl=It(jv),Bv=W({},Mo,{animationName:0,elapsedTime:0,pseudoElement:0}),Uv=It(Bv),Hv=W({},Mo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$v=It(Hv),Vv=W({},Mo,{data:0}),Fd=It(Vv),Wv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Kv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Kv[e])?!!t[e]:!1}function Ol(){return qv}var Yv=W({},Ni,{key:function(e){if(e.key){var t=Wv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Bs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Qv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ol,charCode:function(e){return e.type==="keypress"?Bs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Bs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Gv=It(Yv),Xv=W({},Hs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jd=It(Xv),Zv=W({},Ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ol}),Jv=It(Zv),eg=W({},Mo,{propertyName:0,elapsedTime:0,pseudoElement:0}),tg=It(eg),ng=W({},Hs,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),rg=It(ng),og=[9,13,27,32],_l=p&&"CompositionEvent"in window,Ai=null;p&&"documentMode"in document&&(Ai=document.documentMode);var ig=p&&"TextEvent"in window&&!Ai,Bd=p&&(!_l||Ai&&8<Ai&&11>=Ai),Ud=" ",Hd=!1;function $d(e,t){switch(e){case"keyup":return og.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var To=!1;function sg(e,t){switch(e){case"compositionend":return Vd(t);case"keypress":return t.which!==32?null:(Hd=!0,Ud);case"textInput":return e=t.data,e===Ud&&Hd?null:e;default:return null}}function ag(e,t){if(To)return e==="compositionend"||!_l&&$d(e,t)?(e=Id(),js=bl=dr=null,To=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bd&&t.locale!=="ko"?null:t.data;default:return null}}var lg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!lg[e.type]:t==="textarea"}function Qd(e,t,o,s){Ps(s),t=Ks(t,"onChange"),0<t.length&&(o=new Rl("onChange","change",null,o,s),e.push({event:o,listeners:t}))}var Ii=null,Di=null;function ug(e){df(e,0)}function $s(e){var t=Ao(e);if(Oe(t))return e}function cg(e,t){if(e==="change")return t}var Kd=!1;if(p){var Nl;if(p){var Ll="oninput"in document;if(!Ll){var qd=document.createElement("div");qd.setAttribute("oninput","return;"),Ll=typeof qd.oninput=="function"}Nl=Ll}else Nl=!1;Kd=Nl&&(!document.documentMode||9<document.documentMode)}function Yd(){Ii&&(Ii.detachEvent("onpropertychange",Gd),Di=Ii=null)}function Gd(e){if(e.propertyName==="value"&&$s(Di)){var t=[];Qd(t,Di,e,bo(e)),Ct(ug,t)}}function dg(e,t,o){e==="focusin"?(Yd(),Ii=t,Di=o,Ii.attachEvent("onpropertychange",Gd)):e==="focusout"&&Yd()}function fg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $s(Di)}function pg(e,t){if(e==="click")return $s(t)}function hg(e,t){if(e==="input"||e==="change")return $s(t)}function mg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nn=typeof Object.is=="function"?Object.is:mg;function zi(e,t){if(nn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;for(s=0;s<o.length;s++){var u=o[s];if(!h.call(t,u)||!nn(e[u],t[u]))return!1}return!0}function Xd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Zd(e,t){var o=Xd(e);e=0;for(var s;o;){if(o.nodeType===3){if(s=e+o.textContent.length,e<=t&&s>=t)return{node:o,offset:t-e};e=s}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Xd(o)}}function Jd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ef(){for(var e=window,t=qe();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=qe(e.document)}return t}function Al(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function yg(e){var t=ef(),o=e.focusedElem,s=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&Jd(o.ownerDocument.documentElement,o)){if(s!==null&&Al(o)){if(t=s.start,e=s.end,e===void 0&&(e=t),"selectionStart"in o)o.selectionStart=t,o.selectionEnd=Math.min(e,o.value.length);else if(e=(t=o.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var u=o.textContent.length,d=Math.min(s.start,u);s=s.end===void 0?d:Math.min(s.end,u),!e.extend&&d>s&&(u=s,s=d,d=u),u=Zd(o,d);var y=Zd(o,s);u&&y&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),e.removeAllRanges(),d>s?(e.addRange(t),e.extend(y.node,y.offset)):(t.setEnd(y.node,y.offset),e.addRange(t)))}}for(t=[],e=o;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<t.length;o++)e=t[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vg=p&&"documentMode"in document&&11>=document.documentMode,Oo=null,Il=null,Fi=null,Dl=!1;function tf(e,t,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Dl||Oo==null||Oo!==qe(s)||(s=Oo,"selectionStart"in s&&Al(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Fi&&zi(Fi,s)||(Fi=s,s=Ks(Il,"onSelect"),0<s.length&&(t=new Rl("onSelect","select",null,t,o),e.push({event:t,listeners:s}),t.target=Oo)))}function Vs(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var _o={animationend:Vs("Animation","AnimationEnd"),animationiteration:Vs("Animation","AnimationIteration"),animationstart:Vs("Animation","AnimationStart"),transitionend:Vs("Transition","TransitionEnd")},zl={},nf={};p&&(nf=document.createElement("div").style,"AnimationEvent"in window||(delete _o.animationend.animation,delete _o.animationiteration.animation,delete _o.animationstart.animation),"TransitionEvent"in window||delete _o.transitionend.transition);function Ws(e){if(zl[e])return zl[e];if(!_o[e])return e;var t=_o[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in nf)return zl[e]=t[o];return e}var rf=Ws("animationend"),of=Ws("animationiteration"),sf=Ws("animationstart"),af=Ws("transitionend"),lf=new Map,uf="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function fr(e,t){lf.set(e,t),c(t,[e])}for(var Fl=0;Fl<uf.length;Fl++){var jl=uf[Fl],gg=jl.toLowerCase(),wg=jl[0].toUpperCase()+jl.slice(1);fr(gg,"on"+wg)}fr(rf,"onAnimationEnd"),fr(of,"onAnimationIteration"),fr(sf,"onAnimationStart"),fr("dblclick","onDoubleClick"),fr("focusin","onFocus"),fr("focusout","onBlur"),fr(af,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ji="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xg=new Set("cancel close invalid load scroll toggle".split(" ").concat(ji));function cf(e,t,o){var s=e.type||"unknown-event";e.currentTarget=o,gv(s,t,void 0,e),e.currentTarget=null}function df(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var s=e[o],u=s.event;s=s.listeners;e:{var d=void 0;if(t)for(var y=s.length-1;0<=y;y--){var E=s[y],M=E.instance,D=E.currentTarget;if(E=E.listener,M!==d&&u.isPropagationStopped())break e;cf(u,E,D),d=M}else for(y=0;y<s.length;y++){if(E=s[y],M=E.instance,D=E.currentTarget,E=E.listener,M!==d&&u.isPropagationStopped())break e;cf(u,E,D),d=M}}}if(Ts)throw e=yl,Ts=!1,yl=null,e}function je(e,t){var o=t[Kl];o===void 0&&(o=t[Kl]=new Set);var s=e+"__bubble";o.has(s)||(ff(t,e,2,!1),o.add(s))}function Bl(e,t,o){var s=0;t&&(s|=4),ff(o,e,s,t)}var Qs="_reactListening"+Math.random().toString(36).slice(2);function Bi(e){if(!e[Qs]){e[Qs]=!0,a.forEach(function(o){o!=="selectionchange"&&(xg.has(o)||Bl(o,!1,e),Bl(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Qs]||(t[Qs]=!0,Bl("selectionchange",!1,t))}}function ff(e,t,o,s){switch(Ad(t)){case 1:var u=Av;break;case 4:u=Iv;break;default:u=Cl}o=u.bind(null,t,o,e),u=void 0,!en||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),s?u!==void 0?e.addEventListener(t,o,{capture:!0,passive:u}):e.addEventListener(t,o,!0):u!==void 0?e.addEventListener(t,o,{passive:u}):e.addEventListener(t,o,!1)}function Ul(e,t,o,s,u){var d=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var y=s.tag;if(y===3||y===4){var E=s.stateNode.containerInfo;if(E===u||E.nodeType===8&&E.parentNode===u)break;if(y===4)for(y=s.return;y!==null;){var M=y.tag;if((M===3||M===4)&&(M=y.stateNode.containerInfo,M===u||M.nodeType===8&&M.parentNode===u))return;y=y.return}for(;E!==null;){if(y=Kr(E),y===null)return;if(M=y.tag,M===5||M===6){s=d=y;continue e}E=E.parentNode}}s=s.return}Ct(function(){var D=d,V=bo(o),Q=[];e:{var $=lf.get(e);if($!==void 0){var oe=Rl,le=e;switch(e){case"keypress":if(Bs(o)===0)break e;case"keydown":case"keyup":oe=Gv;break;case"focusin":le="focus",oe=Tl;break;case"focusout":le="blur",oe=Tl;break;case"beforeblur":case"afterblur":oe=Tl;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=zd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=Fv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=Jv;break;case rf:case of:case sf:oe=Uv;break;case af:oe=tg;break;case"scroll":oe=Dv;break;case"wheel":oe=rg;break;case"copy":case"cut":case"paste":oe=$v;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=jd}var ce=(t&4)!==0,Ge=!ce&&e==="scroll",A=ce?$!==null?$+"Capture":null:$;ce=[];for(var N=D,I;N!==null;){I=N;var Y=I.stateNode;if(I.tag===5&&Y!==null&&(I=Y,A!==null&&(Y=Et(N,A),Y!=null&&ce.push(Ui(N,Y,I)))),Ge)break;N=N.return}0<ce.length&&($=new oe($,le,null,o,V),Q.push({event:$,listeners:ce}))}}if((t&7)===0){e:{if($=e==="mouseover"||e==="pointerover",oe=e==="mouseout"||e==="pointerout",$&&o!==Ci&&(le=o.relatedTarget||o.fromElement)&&(Kr(le)||le[jn]))break e;if((oe||$)&&($=V.window===V?V:($=V.ownerDocument)?$.defaultView||$.parentWindow:window,oe?(le=o.relatedTarget||o.toElement,oe=D,le=le?Kr(le):null,le!==null&&(Ge=Qr(le),le!==Ge||le.tag!==5&&le.tag!==6)&&(le=null)):(oe=null,le=D),oe!==le)){if(ce=zd,Y="onMouseLeave",A="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(ce=jd,Y="onPointerLeave",A="onPointerEnter",N="pointer"),Ge=oe==null?$:Ao(oe),I=le==null?$:Ao(le),$=new ce(Y,N+"leave",oe,o,V),$.target=Ge,$.relatedTarget=I,Y=null,Kr(V)===D&&(ce=new ce(A,N+"enter",le,o,V),ce.target=I,ce.relatedTarget=Ge,Y=ce),Ge=Y,oe&&le)t:{for(ce=oe,A=le,N=0,I=ce;I;I=No(I))N++;for(I=0,Y=A;Y;Y=No(Y))I++;for(;0<N-I;)ce=No(ce),N--;for(;0<I-N;)A=No(A),I--;for(;N--;){if(ce===A||A!==null&&ce===A.alternate)break t;ce=No(ce),A=No(A)}ce=null}else ce=null;oe!==null&&pf(Q,$,oe,ce,!1),le!==null&&Ge!==null&&pf(Q,Ge,le,ce,!0)}}e:{if($=D?Ao(D):window,oe=$.nodeName&&$.nodeName.toLowerCase(),oe==="select"||oe==="input"&&$.type==="file")var fe=cg;else if(Wd($))if(Kd)fe=hg;else{fe=fg;var ge=dg}else(oe=$.nodeName)&&oe.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(fe=pg);if(fe&&(fe=fe(e,D))){Qd(Q,fe,o,V);break e}ge&&ge(e,$,D),e==="focusout"&&(ge=$._wrapperState)&&ge.controlled&&$.type==="number"&&gn($,"number",$.value)}switch(ge=D?Ao(D):window,e){case"focusin":(Wd(ge)||ge.contentEditable==="true")&&(Oo=ge,Il=D,Fi=null);break;case"focusout":Fi=Il=Oo=null;break;case"mousedown":Dl=!0;break;case"contextmenu":case"mouseup":case"dragend":Dl=!1,tf(Q,o,V);break;case"selectionchange":if(vg)break;case"keydown":case"keyup":tf(Q,o,V)}var we;if(_l)e:{switch(e){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else To?$d(e,o)&&(Ce="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(Ce="onCompositionStart");Ce&&(Bd&&o.locale!=="ko"&&(To||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&To&&(we=Id()):(dr=V,bl="value"in dr?dr.value:dr.textContent,To=!0)),ge=Ks(D,Ce),0<ge.length&&(Ce=new Fd(Ce,e,null,o,V),Q.push({event:Ce,listeners:ge}),we?Ce.data=we:(we=Vd(o),we!==null&&(Ce.data=we)))),(we=ig?sg(e,o):ag(e,o))&&(D=Ks(D,"onBeforeInput"),0<D.length&&(V=new Fd("onBeforeInput","beforeinput",null,o,V),Q.push({event:V,listeners:D}),V.data=we))}df(Q,t)})}function Ui(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Ks(e,t){for(var o=t+"Capture",s=[];e!==null;){var u=e,d=u.stateNode;u.tag===5&&d!==null&&(u=d,d=Et(e,o),d!=null&&s.unshift(Ui(e,d,u)),d=Et(e,t),d!=null&&s.push(Ui(e,d,u))),e=e.return}return s}function No(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function pf(e,t,o,s,u){for(var d=t._reactName,y=[];o!==null&&o!==s;){var E=o,M=E.alternate,D=E.stateNode;if(M!==null&&M===s)break;E.tag===5&&D!==null&&(E=D,u?(M=Et(o,d),M!=null&&y.unshift(Ui(o,M,E))):u||(M=Et(o,d),M!=null&&y.push(Ui(o,M,E)))),o=o.return}y.length!==0&&e.push({event:t,listeners:y})}var Sg=/\r\n?/g,kg=/\u0000|\uFFFD/g;function hf(e){return(typeof e=="string"?e:""+e).replace(Sg,`
|
|
38
|
-
`).replace(kg,"")}function qs(e,t,o){if(t=hf(t),hf(e)!==t&&o)throw Error(i(425))}function Ys(){}var Hl=null,$l=null;function Vl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Wl=typeof setTimeout=="function"?setTimeout:void 0,Cg=typeof clearTimeout=="function"?clearTimeout:void 0,mf=typeof Promise=="function"?Promise:void 0,Eg=typeof queueMicrotask=="function"?queueMicrotask:typeof mf<"u"?function(e){return mf.resolve(null).then(e).catch(bg)}:Wl;function bg(e){setTimeout(function(){throw e})}function Ql(e,t){var o=t,s=0;do{var u=o.nextSibling;if(e.removeChild(o),u&&u.nodeType===8)if(o=u.data,o==="/$"){if(s===0){e.removeChild(u),_i(t);return}s--}else o!=="$"&&o!=="$?"&&o!=="$!"||s++;o=u}while(o);_i(t)}function pr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function yf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(t===0)return e;t--}else o==="/$"&&t++}e=e.previousSibling}return null}var Lo=Math.random().toString(36).slice(2),Rn="__reactFiber$"+Lo,Hi="__reactProps$"+Lo,jn="__reactContainer$"+Lo,Kl="__reactEvents$"+Lo,Rg="__reactListeners$"+Lo,Pg="__reactHandles$"+Lo;function Kr(e){var t=e[Rn];if(t)return t;for(var o=e.parentNode;o;){if(t=o[jn]||o[Rn]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=yf(e);e!==null;){if(o=e[Rn])return o;e=yf(e)}return t}e=o,o=e.parentNode}return null}function $i(e){return e=e[Rn]||e[jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ao(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function Gs(e){return e[Hi]||null}var ql=[],Io=-1;function hr(e){return{current:e}}function Be(e){0>Io||(e.current=ql[Io],ql[Io]=null,Io--)}function Fe(e,t){Io++,ql[Io]=e.current,e.current=t}var mr={},ft=hr(mr),bt=hr(!1),qr=mr;function Do(e,t){var o=e.type.contextTypes;if(!o)return mr;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var u={},d;for(d in o)u[d]=t[d];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=u),u}function Rt(e){return e=e.childContextTypes,e!=null}function Xs(){Be(bt),Be(ft)}function vf(e,t,o){if(ft.current!==mr)throw Error(i(168));Fe(ft,t),Fe(bt,o)}function gf(e,t,o){var s=e.stateNode;if(t=t.childContextTypes,typeof s.getChildContext!="function")return o;s=s.getChildContext();for(var u in s)if(!(u in t))throw Error(i(108,K(e)||"Unknown",u));return W({},o,s)}function Zs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mr,qr=ft.current,Fe(ft,e),Fe(bt,bt.current),!0}function wf(e,t,o){var s=e.stateNode;if(!s)throw Error(i(169));o?(e=gf(e,t,qr),s.__reactInternalMemoizedMergedChildContext=e,Be(bt),Be(ft),Fe(ft,e)):Be(bt),Fe(bt,o)}var Bn=null,Js=!1,Yl=!1;function xf(e){Bn===null?Bn=[e]:Bn.push(e)}function Mg(e){Js=!0,xf(e)}function yr(){if(!Yl&&Bn!==null){Yl=!0;var e=0,t=De;try{var o=Bn;for(De=1;e<o.length;e++){var s=o[e];do s=s(!0);while(s!==null)}Bn=null,Js=!1}catch(u){throw Bn!==null&&(Bn=Bn.slice(e+1)),Sd(vl,yr),u}finally{De=t,Yl=!1}}return null}var zo=[],Fo=0,ea=null,ta=0,$t=[],Vt=0,Yr=null,Un=1,Hn="";function Gr(e,t){zo[Fo++]=ta,zo[Fo++]=ea,ea=e,ta=t}function Sf(e,t,o){$t[Vt++]=Un,$t[Vt++]=Hn,$t[Vt++]=Yr,Yr=e;var s=Un;e=Hn;var u=32-tn(s)-1;s&=~(1<<u),o+=1;var d=32-tn(t)+u;if(30<d){var y=u-u%5;d=(s&(1<<y)-1).toString(32),s>>=y,u-=y,Un=1<<32-tn(t)+u|o<<u|s,Hn=d+e}else Un=1<<d|o<<u|s,Hn=e}function Gl(e){e.return!==null&&(Gr(e,1),Sf(e,1,0))}function Xl(e){for(;e===ea;)ea=zo[--Fo],zo[Fo]=null,ta=zo[--Fo],zo[Fo]=null;for(;e===Yr;)Yr=$t[--Vt],$t[Vt]=null,Hn=$t[--Vt],$t[Vt]=null,Un=$t[--Vt],$t[Vt]=null}var Dt=null,zt=null,He=!1,rn=null;function kf(e,t){var o=qt(5,null,null,0);o.elementType="DELETED",o.stateNode=t,o.return=e,t=e.deletions,t===null?(e.deletions=[o],e.flags|=16):t.push(o)}function Cf(e,t){switch(e.tag){case 5:var o=e.type;return t=t.nodeType!==1||o.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Dt=e,zt=pr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Dt=e,zt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(o=Yr!==null?{id:Un,overflow:Hn}:null,e.memoizedState={dehydrated:t,treeContext:o,retryLane:1073741824},o=qt(18,null,null,0),o.stateNode=t,o.return=e,e.child=o,Dt=e,zt=null,!0):!1;default:return!1}}function Zl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Jl(e){if(He){var t=zt;if(t){var o=t;if(!Cf(e,t)){if(Zl(e))throw Error(i(418));t=pr(o.nextSibling);var s=Dt;t&&Cf(e,t)?kf(s,o):(e.flags=e.flags&-4097|2,He=!1,Dt=e)}}else{if(Zl(e))throw Error(i(418));e.flags=e.flags&-4097|2,He=!1,Dt=e}}}function Ef(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Dt=e}function na(e){if(e!==Dt)return!1;if(!He)return Ef(e),He=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Vl(e.type,e.memoizedProps)),t&&(t=zt)){if(Zl(e))throw bf(),Error(i(418));for(;t;)kf(e,t),t=pr(t.nextSibling)}if(Ef(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(t===0){zt=pr(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}zt=null}}else zt=Dt?pr(e.stateNode.nextSibling):null;return!0}function bf(){for(var e=zt;e;)e=pr(e.nextSibling)}function jo(){zt=Dt=null,He=!1}function eu(e){rn===null?rn=[e]:rn.push(e)}var Tg=L.ReactCurrentBatchConfig;function Vi(e,t,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var s=o.stateNode}if(!s)throw Error(i(147,e));var u=s,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(y){var E=u.refs;y===null?delete E[d]:E[d]=y},t._stringRef=d,t)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function ra(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Rf(e){var t=e._init;return t(e._payload)}function Pf(e){function t(A,N){if(e){var I=A.deletions;I===null?(A.deletions=[N],A.flags|=16):I.push(N)}}function o(A,N){if(!e)return null;for(;N!==null;)t(A,N),N=N.sibling;return null}function s(A,N){for(A=new Map;N!==null;)N.key!==null?A.set(N.key,N):A.set(N.index,N),N=N.sibling;return A}function u(A,N){return A=Er(A,N),A.index=0,A.sibling=null,A}function d(A,N,I){return A.index=I,e?(I=A.alternate,I!==null?(I=I.index,I<N?(A.flags|=2,N):I):(A.flags|=2,N)):(A.flags|=1048576,N)}function y(A){return e&&A.alternate===null&&(A.flags|=2),A}function E(A,N,I,Y){return N===null||N.tag!==6?(N=Wu(I,A.mode,Y),N.return=A,N):(N=u(N,I),N.return=A,N)}function M(A,N,I,Y){var fe=I.type;return fe===H?V(A,N,I.props.children,Y,I.key):N!==null&&(N.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ue&&Rf(fe)===N.type)?(Y=u(N,I.props),Y.ref=Vi(A,N,I),Y.return=A,Y):(Y=Pa(I.type,I.key,I.props,null,A.mode,Y),Y.ref=Vi(A,N,I),Y.return=A,Y)}function D(A,N,I,Y){return N===null||N.tag!==4||N.stateNode.containerInfo!==I.containerInfo||N.stateNode.implementation!==I.implementation?(N=Qu(I,A.mode,Y),N.return=A,N):(N=u(N,I.children||[]),N.return=A,N)}function V(A,N,I,Y,fe){return N===null||N.tag!==7?(N=oo(I,A.mode,Y,fe),N.return=A,N):(N=u(N,I),N.return=A,N)}function Q(A,N,I){if(typeof N=="string"&&N!==""||typeof N=="number")return N=Wu(""+N,A.mode,I),N.return=A,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case F:return I=Pa(N.type,N.key,N.props,null,A.mode,I),I.ref=Vi(A,null,N),I.return=A,I;case U:return N=Qu(N,A.mode,I),N.return=A,N;case ue:var Y=N._init;return Q(A,Y(N._payload),I)}if(ir(N)||B(N))return N=oo(N,A.mode,I,null),N.return=A,N;ra(A,N)}return null}function $(A,N,I,Y){var fe=N!==null?N.key:null;if(typeof I=="string"&&I!==""||typeof I=="number")return fe!==null?null:E(A,N,""+I,Y);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case F:return I.key===fe?M(A,N,I,Y):null;case U:return I.key===fe?D(A,N,I,Y):null;case ue:return fe=I._init,$(A,N,fe(I._payload),Y)}if(ir(I)||B(I))return fe!==null?null:V(A,N,I,Y,null);ra(A,I)}return null}function oe(A,N,I,Y,fe){if(typeof Y=="string"&&Y!==""||typeof Y=="number")return A=A.get(I)||null,E(N,A,""+Y,fe);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case F:return A=A.get(Y.key===null?I:Y.key)||null,M(N,A,Y,fe);case U:return A=A.get(Y.key===null?I:Y.key)||null,D(N,A,Y,fe);case ue:var ge=Y._init;return oe(A,N,I,ge(Y._payload),fe)}if(ir(Y)||B(Y))return A=A.get(I)||null,V(N,A,Y,fe,null);ra(N,Y)}return null}function le(A,N,I,Y){for(var fe=null,ge=null,we=N,Ce=N=0,it=null;we!==null&&Ce<I.length;Ce++){we.index>Ce?(it=we,we=null):it=we.sibling;var Le=$(A,we,I[Ce],Y);if(Le===null){we===null&&(we=it);break}e&&we&&Le.alternate===null&&t(A,we),N=d(Le,N,Ce),ge===null?fe=Le:ge.sibling=Le,ge=Le,we=it}if(Ce===I.length)return o(A,we),He&&Gr(A,Ce),fe;if(we===null){for(;Ce<I.length;Ce++)we=Q(A,I[Ce],Y),we!==null&&(N=d(we,N,Ce),ge===null?fe=we:ge.sibling=we,ge=we);return He&&Gr(A,Ce),fe}for(we=s(A,we);Ce<I.length;Ce++)it=oe(we,A,Ce,I[Ce],Y),it!==null&&(e&&it.alternate!==null&&we.delete(it.key===null?Ce:it.key),N=d(it,N,Ce),ge===null?fe=it:ge.sibling=it,ge=it);return e&&we.forEach(function(br){return t(A,br)}),He&&Gr(A,Ce),fe}function ce(A,N,I,Y){var fe=B(I);if(typeof fe!="function")throw Error(i(150));if(I=fe.call(I),I==null)throw Error(i(151));for(var ge=fe=null,we=N,Ce=N=0,it=null,Le=I.next();we!==null&&!Le.done;Ce++,Le=I.next()){we.index>Ce?(it=we,we=null):it=we.sibling;var br=$(A,we,Le.value,Y);if(br===null){we===null&&(we=it);break}e&&we&&br.alternate===null&&t(A,we),N=d(br,N,Ce),ge===null?fe=br:ge.sibling=br,ge=br,we=it}if(Le.done)return o(A,we),He&&Gr(A,Ce),fe;if(we===null){for(;!Le.done;Ce++,Le=I.next())Le=Q(A,Le.value,Y),Le!==null&&(N=d(Le,N,Ce),ge===null?fe=Le:ge.sibling=Le,ge=Le);return He&&Gr(A,Ce),fe}for(we=s(A,we);!Le.done;Ce++,Le=I.next())Le=oe(we,A,Ce,Le.value,Y),Le!==null&&(e&&Le.alternate!==null&&we.delete(Le.key===null?Ce:Le.key),N=d(Le,N,Ce),ge===null?fe=Le:ge.sibling=Le,ge=Le);return e&&we.forEach(function(l0){return t(A,l0)}),He&&Gr(A,Ce),fe}function Ge(A,N,I,Y){if(typeof I=="object"&&I!==null&&I.type===H&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case F:e:{for(var fe=I.key,ge=N;ge!==null;){if(ge.key===fe){if(fe=I.type,fe===H){if(ge.tag===7){o(A,ge.sibling),N=u(ge,I.props.children),N.return=A,A=N;break e}}else if(ge.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ue&&Rf(fe)===ge.type){o(A,ge.sibling),N=u(ge,I.props),N.ref=Vi(A,ge,I),N.return=A,A=N;break e}o(A,ge);break}else t(A,ge);ge=ge.sibling}I.type===H?(N=oo(I.props.children,A.mode,Y,I.key),N.return=A,A=N):(Y=Pa(I.type,I.key,I.props,null,A.mode,Y),Y.ref=Vi(A,N,I),Y.return=A,A=Y)}return y(A);case U:e:{for(ge=I.key;N!==null;){if(N.key===ge)if(N.tag===4&&N.stateNode.containerInfo===I.containerInfo&&N.stateNode.implementation===I.implementation){o(A,N.sibling),N=u(N,I.children||[]),N.return=A,A=N;break e}else{o(A,N);break}else t(A,N);N=N.sibling}N=Qu(I,A.mode,Y),N.return=A,A=N}return y(A);case ue:return ge=I._init,Ge(A,N,ge(I._payload),Y)}if(ir(I))return le(A,N,I,Y);if(B(I))return ce(A,N,I,Y);ra(A,I)}return typeof I=="string"&&I!==""||typeof I=="number"?(I=""+I,N!==null&&N.tag===6?(o(A,N.sibling),N=u(N,I),N.return=A,A=N):(o(A,N),N=Wu(I,A.mode,Y),N.return=A,A=N),y(A)):o(A,N)}return Ge}var Bo=Pf(!0),Mf=Pf(!1),oa=hr(null),ia=null,Uo=null,tu=null;function nu(){tu=Uo=ia=null}function ru(e){var t=oa.current;Be(oa),e._currentValue=t}function ou(e,t,o){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===o)break;e=e.return}}function Ho(e,t){ia=e,tu=Uo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Pt=!0),e.firstContext=null)}function Wt(e){var t=e._currentValue;if(tu!==e)if(e={context:e,memoizedValue:t,next:null},Uo===null){if(ia===null)throw Error(i(308));Uo=e,ia.dependencies={lanes:0,firstContext:e}}else Uo=Uo.next=e;return t}var Xr=null;function iu(e){Xr===null?Xr=[e]:Xr.push(e)}function Tf(e,t,o,s){var u=t.interleaved;return u===null?(o.next=o,iu(t)):(o.next=u.next,u.next=o),t.interleaved=o,$n(e,s)}function $n(e,t){e.lanes|=t;var o=e.alternate;for(o!==null&&(o.lanes|=t),o=e,e=e.return;e!==null;)e.childLanes|=t,o=e.alternate,o!==null&&(o.childLanes|=t),o=e,e=e.return;return o.tag===3?o.stateNode:null}var vr=!1;function su(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Of(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gr(e,t,o){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Ne&2)!==0){var u=s.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),s.pending=t,$n(e,o)}return u=s.interleaved,u===null?(t.next=t,iu(s)):(t.next=u.next,u.next=t),s.interleaved=t,$n(e,o)}function sa(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194240)!==0)){var s=t.lanes;s&=e.pendingLanes,o|=s,t.lanes=o,xl(e,o)}}function _f(e,t){var o=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,o===s)){var u=null,d=null;if(o=o.firstBaseUpdate,o!==null){do{var y={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};d===null?u=d=y:d=d.next=y,o=o.next}while(o!==null);d===null?u=d=t:d=d.next=t}else u=d=t;o={baseState:s.baseState,firstBaseUpdate:u,lastBaseUpdate:d,shared:s.shared,effects:s.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function aa(e,t,o,s){var u=e.updateQueue;vr=!1;var d=u.firstBaseUpdate,y=u.lastBaseUpdate,E=u.shared.pending;if(E!==null){u.shared.pending=null;var M=E,D=M.next;M.next=null,y===null?d=D:y.next=D,y=M;var V=e.alternate;V!==null&&(V=V.updateQueue,E=V.lastBaseUpdate,E!==y&&(E===null?V.firstBaseUpdate=D:E.next=D,V.lastBaseUpdate=M))}if(d!==null){var Q=u.baseState;y=0,V=D=M=null,E=d;do{var $=E.lane,oe=E.eventTime;if((s&$)===$){V!==null&&(V=V.next={eventTime:oe,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var le=e,ce=E;switch($=t,oe=o,ce.tag){case 1:if(le=ce.payload,typeof le=="function"){Q=le.call(oe,Q,$);break e}Q=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=ce.payload,$=typeof le=="function"?le.call(oe,Q,$):le,$==null)break e;Q=W({},Q,$);break e;case 2:vr=!0}}E.callback!==null&&E.lane!==0&&(e.flags|=64,$=u.effects,$===null?u.effects=[E]:$.push(E))}else oe={eventTime:oe,lane:$,tag:E.tag,payload:E.payload,callback:E.callback,next:null},V===null?(D=V=oe,M=Q):V=V.next=oe,y|=$;if(E=E.next,E===null){if(E=u.shared.pending,E===null)break;$=E,E=$.next,$.next=null,u.lastBaseUpdate=$,u.shared.pending=null}}while(!0);if(V===null&&(M=Q),u.baseState=M,u.firstBaseUpdate=D,u.lastBaseUpdate=V,t=u.shared.interleaved,t!==null){u=t;do y|=u.lane,u=u.next;while(u!==t)}else d===null&&(u.shared.lanes=0);eo|=y,e.lanes=y,e.memoizedState=Q}}function Nf(e,t,o){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var s=e[t],u=s.callback;if(u!==null){if(s.callback=null,s=o,typeof u!="function")throw Error(i(191,u));u.call(s)}}}var Wi={},Pn=hr(Wi),Qi=hr(Wi),Ki=hr(Wi);function Zr(e){if(e===Wi)throw Error(i(174));return e}function au(e,t){switch(Fe(Ki,t),Fe(Qi,e),Fe(Pn,Wi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xn(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xn(t,e)}Be(Pn),Fe(Pn,t)}function $o(){Be(Pn),Be(Qi),Be(Ki)}function Lf(e){Zr(Ki.current);var t=Zr(Pn.current),o=xn(t,e.type);t!==o&&(Fe(Qi,e),Fe(Pn,o))}function lu(e){Qi.current===e&&(Be(Pn),Be(Qi))}var Ve=hr(0);function la(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var uu=[];function cu(){for(var e=0;e<uu.length;e++)uu[e]._workInProgressVersionPrimary=null;uu.length=0}var ua=L.ReactCurrentDispatcher,du=L.ReactCurrentBatchConfig,Jr=0,We=null,et=null,rt=null,ca=!1,qi=!1,Yi=0,Og=0;function pt(){throw Error(i(321))}function fu(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!nn(e[o],t[o]))return!1;return!0}function pu(e,t,o,s,u,d){if(Jr=d,We=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ua.current=e===null||e.memoizedState===null?Ag:Ig,e=o(s,u),qi){d=0;do{if(qi=!1,Yi=0,25<=d)throw Error(i(301));d+=1,rt=et=null,t.updateQueue=null,ua.current=Dg,e=o(s,u)}while(qi)}if(ua.current=pa,t=et!==null&&et.next!==null,Jr=0,rt=et=We=null,ca=!1,t)throw Error(i(300));return e}function hu(){var e=Yi!==0;return Yi=0,e}function Mn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?We.memoizedState=rt=e:rt=rt.next=e,rt}function Qt(){if(et===null){var e=We.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=rt===null?We.memoizedState:rt.next;if(t!==null)rt=t,et=e;else{if(e===null)throw Error(i(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},rt===null?We.memoizedState=rt=e:rt=rt.next=e}return rt}function Gi(e,t){return typeof t=="function"?t(e):t}function mu(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=et,u=s.baseQueue,d=o.pending;if(d!==null){if(u!==null){var y=u.next;u.next=d.next,d.next=y}s.baseQueue=u=d,o.pending=null}if(u!==null){d=u.next,s=s.baseState;var E=y=null,M=null,D=d;do{var V=D.lane;if((Jr&V)===V)M!==null&&(M=M.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),s=D.hasEagerState?D.eagerState:e(s,D.action);else{var Q={lane:V,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};M===null?(E=M=Q,y=s):M=M.next=Q,We.lanes|=V,eo|=V}D=D.next}while(D!==null&&D!==d);M===null?y=s:M.next=E,nn(s,t.memoizedState)||(Pt=!0),t.memoizedState=s,t.baseState=y,t.baseQueue=M,o.lastRenderedState=s}if(e=o.interleaved,e!==null){u=e;do d=u.lane,We.lanes|=d,eo|=d,u=u.next;while(u!==e)}else u===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function yu(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=o.dispatch,u=o.pending,d=t.memoizedState;if(u!==null){o.pending=null;var y=u=u.next;do d=e(d,y.action),y=y.next;while(y!==u);nn(d,t.memoizedState)||(Pt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),o.lastRenderedState=d}return[d,s]}function Af(){}function If(e,t){var o=We,s=Qt(),u=t(),d=!nn(s.memoizedState,u);if(d&&(s.memoizedState=u,Pt=!0),s=s.queue,vu(Ff.bind(null,o,s,e),[e]),s.getSnapshot!==t||d||rt!==null&&rt.memoizedState.tag&1){if(o.flags|=2048,Xi(9,zf.bind(null,o,s,u,t),void 0,null),ot===null)throw Error(i(349));(Jr&30)!==0||Df(o,t,u)}return u}function Df(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=We.updateQueue,t===null?(t={lastEffect:null,stores:null},We.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function zf(e,t,o,s){t.value=o,t.getSnapshot=s,jf(t)&&Bf(e)}function Ff(e,t,o){return o(function(){jf(t)&&Bf(e)})}function jf(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!nn(e,o)}catch{return!0}}function Bf(e){var t=$n(e,1);t!==null&&ln(t,e,1,-1)}function Uf(e){var t=Mn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gi,lastRenderedState:e},t.queue=e,e=e.dispatch=Lg.bind(null,We,e),[t.memoizedState,e]}function Xi(e,t,o,s){return e={tag:e,create:t,destroy:o,deps:s,next:null},t=We.updateQueue,t===null?(t={lastEffect:null,stores:null},We.updateQueue=t,t.lastEffect=e.next=e):(o=t.lastEffect,o===null?t.lastEffect=e.next=e:(s=o.next,o.next=e,e.next=s,t.lastEffect=e)),e}function Hf(){return Qt().memoizedState}function da(e,t,o,s){var u=Mn();We.flags|=e,u.memoizedState=Xi(1|t,o,void 0,s===void 0?null:s)}function fa(e,t,o,s){var u=Qt();s=s===void 0?null:s;var d=void 0;if(et!==null){var y=et.memoizedState;if(d=y.destroy,s!==null&&fu(s,y.deps)){u.memoizedState=Xi(t,o,d,s);return}}We.flags|=e,u.memoizedState=Xi(1|t,o,d,s)}function $f(e,t){return da(8390656,8,e,t)}function vu(e,t){return fa(2048,8,e,t)}function Vf(e,t){return fa(4,2,e,t)}function Wf(e,t){return fa(4,4,e,t)}function Qf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Kf(e,t,o){return o=o!=null?o.concat([e]):null,fa(4,4,Qf.bind(null,t,e),o)}function gu(){}function qf(e,t){var o=Qt();t=t===void 0?null:t;var s=o.memoizedState;return s!==null&&t!==null&&fu(t,s[1])?s[0]:(o.memoizedState=[e,t],e)}function Yf(e,t){var o=Qt();t=t===void 0?null:t;var s=o.memoizedState;return s!==null&&t!==null&&fu(t,s[1])?s[0]:(e=e(),o.memoizedState=[e,t],e)}function Gf(e,t,o){return(Jr&21)===0?(e.baseState&&(e.baseState=!1,Pt=!0),e.memoizedState=o):(nn(o,t)||(o=bd(),We.lanes|=o,eo|=o,e.baseState=!0),t)}function _g(e,t){var o=De;De=o!==0&&4>o?o:4,e(!0);var s=du.transition;du.transition={};try{e(!1),t()}finally{De=o,du.transition=s}}function Xf(){return Qt().memoizedState}function Ng(e,t,o){var s=kr(e);if(o={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null},Zf(e))Jf(t,o);else if(o=Tf(e,t,o,s),o!==null){var u=xt();ln(o,e,s,u),ep(o,t,s)}}function Lg(e,t,o){var s=kr(e),u={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null};if(Zf(e))Jf(t,u);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var y=t.lastRenderedState,E=d(y,o);if(u.hasEagerState=!0,u.eagerState=E,nn(E,y)){var M=t.interleaved;M===null?(u.next=u,iu(t)):(u.next=M.next,M.next=u),t.interleaved=u;return}}catch{}finally{}o=Tf(e,t,u,s),o!==null&&(u=xt(),ln(o,e,s,u),ep(o,t,s))}}function Zf(e){var t=e.alternate;return e===We||t!==null&&t===We}function Jf(e,t){qi=ca=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function ep(e,t,o){if((o&4194240)!==0){var s=t.lanes;s&=e.pendingLanes,o|=s,t.lanes=o,xl(e,o)}}var pa={readContext:Wt,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useInsertionEffect:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useSyncExternalStore:pt,useId:pt,unstable_isNewReconciler:!1},Ag={readContext:Wt,useCallback:function(e,t){return Mn().memoizedState=[e,t===void 0?null:t],e},useContext:Wt,useEffect:$f,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,da(4194308,4,Qf.bind(null,t,e),o)},useLayoutEffect:function(e,t){return da(4194308,4,e,t)},useInsertionEffect:function(e,t){return da(4,2,e,t)},useMemo:function(e,t){var o=Mn();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var s=Mn();return t=o!==void 0?o(t):t,s.memoizedState=s.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},s.queue=e,e=e.dispatch=Ng.bind(null,We,e),[s.memoizedState,e]},useRef:function(e){var t=Mn();return e={current:e},t.memoizedState=e},useState:Uf,useDebugValue:gu,useDeferredValue:function(e){return Mn().memoizedState=e},useTransition:function(){var e=Uf(!1),t=e[0];return e=_g.bind(null,e[1]),Mn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var s=We,u=Mn();if(He){if(o===void 0)throw Error(i(407));o=o()}else{if(o=t(),ot===null)throw Error(i(349));(Jr&30)!==0||Df(s,t,o)}u.memoizedState=o;var d={value:o,getSnapshot:t};return u.queue=d,$f(Ff.bind(null,s,d,e),[e]),s.flags|=2048,Xi(9,zf.bind(null,s,d,o,t),void 0,null),o},useId:function(){var e=Mn(),t=ot.identifierPrefix;if(He){var o=Hn,s=Un;o=(s&~(1<<32-tn(s)-1)).toString(32)+o,t=":"+t+"R"+o,o=Yi++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=Og++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ig={readContext:Wt,useCallback:qf,useContext:Wt,useEffect:vu,useImperativeHandle:Kf,useInsertionEffect:Vf,useLayoutEffect:Wf,useMemo:Yf,useReducer:mu,useRef:Hf,useState:function(){return mu(Gi)},useDebugValue:gu,useDeferredValue:function(e){var t=Qt();return Gf(t,et.memoizedState,e)},useTransition:function(){var e=mu(Gi)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Af,useSyncExternalStore:If,useId:Xf,unstable_isNewReconciler:!1},Dg={readContext:Wt,useCallback:qf,useContext:Wt,useEffect:vu,useImperativeHandle:Kf,useInsertionEffect:Vf,useLayoutEffect:Wf,useMemo:Yf,useReducer:yu,useRef:Hf,useState:function(){return yu(Gi)},useDebugValue:gu,useDeferredValue:function(e){var t=Qt();return et===null?t.memoizedState=e:Gf(t,et.memoizedState,e)},useTransition:function(){var e=yu(Gi)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Af,useSyncExternalStore:If,useId:Xf,unstable_isNewReconciler:!1};function on(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function wu(e,t,o,s){t=e.memoizedState,o=o(s,t),o=o==null?t:W({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var ha={isMounted:function(e){return(e=e._reactInternals)?Qr(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var s=xt(),u=kr(e),d=Vn(s,u);d.payload=t,o!=null&&(d.callback=o),t=gr(e,d,u),t!==null&&(ln(t,e,u,s),sa(t,e,u))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var s=xt(),u=kr(e),d=Vn(s,u);d.tag=1,d.payload=t,o!=null&&(d.callback=o),t=gr(e,d,u),t!==null&&(ln(t,e,u,s),sa(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=xt(),s=kr(e),u=Vn(o,s);u.tag=2,t!=null&&(u.callback=t),t=gr(e,u,s),t!==null&&(ln(t,e,s,o),sa(t,e,s))}};function tp(e,t,o,s,u,d,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,d,y):t.prototype&&t.prototype.isPureReactComponent?!zi(o,s)||!zi(u,d):!0}function np(e,t,o){var s=!1,u=mr,d=t.contextType;return typeof d=="object"&&d!==null?d=Wt(d):(u=Rt(t)?qr:ft.current,s=t.contextTypes,d=(s=s!=null)?Do(e,u):mr),t=new t(o,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ha,e.stateNode=t,t._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=d),t}function rp(e,t,o,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,s),t.state!==e&&ha.enqueueReplaceState(t,t.state,null)}function xu(e,t,o,s){var u=e.stateNode;u.props=o,u.state=e.memoizedState,u.refs={},su(e);var d=t.contextType;typeof d=="object"&&d!==null?u.context=Wt(d):(d=Rt(t)?qr:ft.current,u.context=Do(e,d)),u.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(wu(e,t,d,o),u.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(t=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),t!==u.state&&ha.enqueueReplaceState(u,u.state,null),aa(e,o,u,s),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308)}function Vo(e,t){try{var o="",s=t;do o+=ye(s),s=s.return;while(s);var u=o}catch(d){u=`
|
|
39
|
-
Error generating stack: `+d.message+`
|
|
40
|
-
`+d.stack}return{value:e,source:t,stack:u,digest:null}}function Su(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function ku(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var zg=typeof WeakMap=="function"?WeakMap:Map;function op(e,t,o){o=Vn(-1,o),o.tag=3,o.payload={element:null};var s=t.value;return o.callback=function(){Sa||(Sa=!0,zu=s),ku(e,t)},o}function ip(e,t,o){o=Vn(-1,o),o.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var u=t.value;o.payload=function(){return s(u)},o.callback=function(){ku(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(o.callback=function(){ku(e,t),typeof s!="function"&&(xr===null?xr=new Set([this]):xr.add(this));var y=t.stack;this.componentDidCatch(t.value,{componentStack:y!==null?y:""})}),o}function sp(e,t,o){var s=e.pingCache;if(s===null){s=e.pingCache=new zg;var u=new Set;s.set(t,u)}else u=s.get(t),u===void 0&&(u=new Set,s.set(t,u));u.has(o)||(u.add(o),e=Xg.bind(null,e,t,o),t.then(e,e))}function ap(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function lp(e,t,o,s,u){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(t=Vn(-1,1),t.tag=2,gr(o,t,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=u,e)}var Fg=L.ReactCurrentOwner,Pt=!1;function wt(e,t,o,s){t.child=e===null?Mf(t,null,o,s):Bo(t,e.child,o,s)}function up(e,t,o,s,u){o=o.render;var d=t.ref;return Ho(t,u),s=pu(e,t,o,s,d,u),o=hu(),e!==null&&!Pt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,Wn(e,t,u)):(He&&o&&Gl(t),t.flags|=1,wt(e,t,s,u),t.child)}function cp(e,t,o,s,u){if(e===null){var d=o.type;return typeof d=="function"&&!Vu(d)&&d.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=d,dp(e,t,d,s,u)):(e=Pa(o.type,null,s,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&u)===0){var y=d.memoizedProps;if(o=o.compare,o=o!==null?o:zi,o(y,s)&&e.ref===t.ref)return Wn(e,t,u)}return t.flags|=1,e=Er(d,s),e.ref=t.ref,e.return=t,t.child=e}function dp(e,t,o,s,u){if(e!==null){var d=e.memoizedProps;if(zi(d,s)&&e.ref===t.ref)if(Pt=!1,t.pendingProps=s=d,(e.lanes&u)!==0)(e.flags&131072)!==0&&(Pt=!0);else return t.lanes=e.lanes,Wn(e,t,u)}return Cu(e,t,o,s,u)}function fp(e,t,o){var s=t.pendingProps,u=s.children,d=e!==null?e.memoizedState:null;if(s.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Fe(Qo,Ft),Ft|=o;else{if((o&1073741824)===0)return e=d!==null?d.baseLanes|o:o,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Fe(Qo,Ft),Ft|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=d!==null?d.baseLanes:o,Fe(Qo,Ft),Ft|=s}else d!==null?(s=d.baseLanes|o,t.memoizedState=null):s=o,Fe(Qo,Ft),Ft|=s;return wt(e,t,u,o),t.child}function pp(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function Cu(e,t,o,s,u){var d=Rt(o)?qr:ft.current;return d=Do(t,d),Ho(t,u),o=pu(e,t,o,s,d,u),s=hu(),e!==null&&!Pt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,Wn(e,t,u)):(He&&s&&Gl(t),t.flags|=1,wt(e,t,o,u),t.child)}function hp(e,t,o,s,u){if(Rt(o)){var d=!0;Zs(t)}else d=!1;if(Ho(t,u),t.stateNode===null)ya(e,t),np(t,o,s),xu(t,o,s,u),s=!0;else if(e===null){var y=t.stateNode,E=t.memoizedProps;y.props=E;var M=y.context,D=o.contextType;typeof D=="object"&&D!==null?D=Wt(D):(D=Rt(o)?qr:ft.current,D=Do(t,D));var V=o.getDerivedStateFromProps,Q=typeof V=="function"||typeof y.getSnapshotBeforeUpdate=="function";Q||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(E!==s||M!==D)&&rp(t,y,s,D),vr=!1;var $=t.memoizedState;y.state=$,aa(t,s,y,u),M=t.memoizedState,E!==s||$!==M||bt.current||vr?(typeof V=="function"&&(wu(t,o,V,s),M=t.memoizedState),(E=vr||tp(t,o,E,s,$,M,D))?(Q||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(t.flags|=4194308)):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=M),y.props=s,y.state=M,y.context=D,s=E):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{y=t.stateNode,Of(e,t),E=t.memoizedProps,D=t.type===t.elementType?E:on(t.type,E),y.props=D,Q=t.pendingProps,$=y.context,M=o.contextType,typeof M=="object"&&M!==null?M=Wt(M):(M=Rt(o)?qr:ft.current,M=Do(t,M));var oe=o.getDerivedStateFromProps;(V=typeof oe=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(E!==Q||$!==M)&&rp(t,y,s,M),vr=!1,$=t.memoizedState,y.state=$,aa(t,s,y,u);var le=t.memoizedState;E!==Q||$!==le||bt.current||vr?(typeof oe=="function"&&(wu(t,o,oe,s),le=t.memoizedState),(D=vr||tp(t,o,D,s,$,le,M)||!1)?(V||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(s,le,M),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(s,le,M)),typeof y.componentDidUpdate=="function"&&(t.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof y.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=le),y.props=s,y.state=le,y.context=M,s=D):(typeof y.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),s=!1)}return Eu(e,t,o,s,d,u)}function Eu(e,t,o,s,u,d){pp(e,t);var y=(t.flags&128)!==0;if(!s&&!y)return u&&wf(t,o,!1),Wn(e,t,d);s=t.stateNode,Fg.current=t;var E=y&&typeof o.getDerivedStateFromError!="function"?null:s.render();return t.flags|=1,e!==null&&y?(t.child=Bo(t,e.child,null,d),t.child=Bo(t,null,E,d)):wt(e,t,E,d),t.memoizedState=s.state,u&&wf(t,o,!0),t.child}function mp(e){var t=e.stateNode;t.pendingContext?vf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&vf(e,t.context,!1),au(e,t.containerInfo)}function yp(e,t,o,s,u){return jo(),eu(u),t.flags|=256,wt(e,t,o,s),t.child}var bu={dehydrated:null,treeContext:null,retryLane:0};function Ru(e){return{baseLanes:e,cachePool:null,transitions:null}}function vp(e,t,o){var s=t.pendingProps,u=Ve.current,d=!1,y=(t.flags&128)!==0,E;if((E=y)||(E=e!==null&&e.memoizedState===null?!1:(u&2)!==0),E?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),Fe(Ve,u&1),e===null)return Jl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(y=s.children,e=s.fallback,d?(s=t.mode,d=t.child,y={mode:"hidden",children:y},(s&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=y):d=Ma(y,s,0,null),e=oo(e,s,o,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=Ru(o),t.memoizedState=bu,e):Pu(t,y));if(u=e.memoizedState,u!==null&&(E=u.dehydrated,E!==null))return jg(e,t,y,s,E,u,o);if(d){d=s.fallback,y=t.mode,u=e.child,E=u.sibling;var M={mode:"hidden",children:s.children};return(y&1)===0&&t.child!==u?(s=t.child,s.childLanes=0,s.pendingProps=M,t.deletions=null):(s=Er(u,M),s.subtreeFlags=u.subtreeFlags&14680064),E!==null?d=Er(E,d):(d=oo(d,y,o,null),d.flags|=2),d.return=t,s.return=t,s.sibling=d,t.child=s,s=d,d=t.child,y=e.child.memoizedState,y=y===null?Ru(o):{baseLanes:y.baseLanes|o,cachePool:null,transitions:y.transitions},d.memoizedState=y,d.childLanes=e.childLanes&~o,t.memoizedState=bu,s}return d=e.child,e=d.sibling,s=Er(d,{mode:"visible",children:s.children}),(t.mode&1)===0&&(s.lanes=o),s.return=t,s.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=s,t.memoizedState=null,s}function Pu(e,t){return t=Ma({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ma(e,t,o,s){return s!==null&&eu(s),Bo(t,e.child,null,o),e=Pu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function jg(e,t,o,s,u,d,y){if(o)return t.flags&256?(t.flags&=-257,s=Su(Error(i(422))),ma(e,t,y,s)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=s.fallback,u=t.mode,s=Ma({mode:"visible",children:s.children},u,0,null),d=oo(d,u,y,null),d.flags|=2,s.return=t,d.return=t,s.sibling=d,t.child=s,(t.mode&1)!==0&&Bo(t,e.child,null,y),t.child.memoizedState=Ru(y),t.memoizedState=bu,d);if((t.mode&1)===0)return ma(e,t,y,null);if(u.data==="$!"){if(s=u.nextSibling&&u.nextSibling.dataset,s)var E=s.dgst;return s=E,d=Error(i(419)),s=Su(d,s,void 0),ma(e,t,y,s)}if(E=(y&e.childLanes)!==0,Pt||E){if(s=ot,s!==null){switch(y&-y){case 4:u=2;break;case 16:u=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:u=32;break;case 536870912:u=268435456;break;default:u=0}u=(u&(s.suspendedLanes|y))!==0?0:u,u!==0&&u!==d.retryLane&&(d.retryLane=u,$n(e,u),ln(s,e,u,-1))}return $u(),s=Su(Error(i(421))),ma(e,t,y,s)}return u.data==="$?"?(t.flags|=128,t.child=e.child,t=Zg.bind(null,e),u._reactRetry=t,null):(e=d.treeContext,zt=pr(u.nextSibling),Dt=t,He=!0,rn=null,e!==null&&($t[Vt++]=Un,$t[Vt++]=Hn,$t[Vt++]=Yr,Un=e.id,Hn=e.overflow,Yr=t),t=Pu(t,s.children),t.flags|=4096,t)}function gp(e,t,o){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),ou(e.return,t,o)}function Mu(e,t,o,s,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:o,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=s,d.tail=o,d.tailMode=u)}function wp(e,t,o){var s=t.pendingProps,u=s.revealOrder,d=s.tail;if(wt(e,t,s.children,o),s=Ve.current,(s&2)!==0)s=s&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&gp(e,o,t);else if(e.tag===19)gp(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}s&=1}if(Fe(Ve,s),(t.mode&1)===0)t.memoizedState=null;else switch(u){case"forwards":for(o=t.child,u=null;o!==null;)e=o.alternate,e!==null&&la(e)===null&&(u=o),o=o.sibling;o=u,o===null?(u=t.child,t.child=null):(u=o.sibling,o.sibling=null),Mu(t,!1,u,o,d);break;case"backwards":for(o=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&la(e)===null){t.child=u;break}e=u.sibling,u.sibling=o,o=u,u=e}Mu(t,!0,o,null,d);break;case"together":Mu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ya(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wn(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),eo|=t.lanes,(o&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,o=Er(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Er(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function Bg(e,t,o){switch(t.tag){case 3:mp(t),jo();break;case 5:Lf(t);break;case 1:Rt(t.type)&&Zs(t);break;case 4:au(t,t.stateNode.containerInfo);break;case 10:var s=t.type._context,u=t.memoizedProps.value;Fe(oa,s._currentValue),s._currentValue=u;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(Fe(Ve,Ve.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?vp(e,t,o):(Fe(Ve,Ve.current&1),e=Wn(e,t,o),e!==null?e.sibling:null);Fe(Ve,Ve.current&1);break;case 19:if(s=(o&t.childLanes)!==0,(e.flags&128)!==0){if(s)return wp(e,t,o);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Fe(Ve,Ve.current),s)break;return null;case 22:case 23:return t.lanes=0,fp(e,t,o)}return Wn(e,t,o)}var xp,Tu,Sp,kp;xp=function(e,t){for(var o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},Tu=function(){},Sp=function(e,t,o,s){var u=e.memoizedProps;if(u!==s){e=t.stateNode,Zr(Pn.current);var d=null;switch(o){case"input":u=dt(e,u),s=dt(e,s),d=[];break;case"select":u=W({},u,{value:void 0}),s=W({},s,{value:void 0}),d=[];break;case"textarea":u=ko(e,u),s=ko(e,s),d=[];break;default:typeof u.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=Ys)}kn(o,s);var y;o=null;for(D in u)if(!s.hasOwnProperty(D)&&u.hasOwnProperty(D)&&u[D]!=null)if(D==="style"){var E=u[D];for(y in E)E.hasOwnProperty(y)&&(o||(o={}),o[y]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(l.hasOwnProperty(D)?d||(d=[]):(d=d||[]).push(D,null));for(D in s){var M=s[D];if(E=u!=null?u[D]:void 0,s.hasOwnProperty(D)&&M!==E&&(M!=null||E!=null))if(D==="style")if(E){for(y in E)!E.hasOwnProperty(y)||M&&M.hasOwnProperty(y)||(o||(o={}),o[y]="");for(y in M)M.hasOwnProperty(y)&&E[y]!==M[y]&&(o||(o={}),o[y]=M[y])}else o||(d||(d=[]),d.push(D,o)),o=M;else D==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,E=E?E.__html:void 0,M!=null&&E!==M&&(d=d||[]).push(D,M)):D==="children"?typeof M!="string"&&typeof M!="number"||(d=d||[]).push(D,""+M):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(l.hasOwnProperty(D)?(M!=null&&D==="onScroll"&&je("scroll",e),d||E===M||(d=[])):(d=d||[]).push(D,M))}o&&(d=d||[]).push("style",o);var D=d;(t.updateQueue=D)&&(t.flags|=4)}},kp=function(e,t,o,s){o!==s&&(t.flags|=4)};function Zi(e,t){if(!He)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function ht(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,s=0;if(t)for(var u=e.child;u!==null;)o|=u.lanes|u.childLanes,s|=u.subtreeFlags&14680064,s|=u.flags&14680064,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)o|=u.lanes|u.childLanes,s|=u.subtreeFlags,s|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=s,e.childLanes=o,t}function Ug(e,t,o){var s=t.pendingProps;switch(Xl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(t),null;case 1:return Rt(t.type)&&Xs(),ht(t),null;case 3:return s=t.stateNode,$o(),Be(bt),Be(ft),cu(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(na(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,rn!==null&&(Bu(rn),rn=null))),Tu(e,t),ht(t),null;case 5:lu(t);var u=Zr(Ki.current);if(o=t.type,e!==null&&t.stateNode!=null)Sp(e,t,o,s,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!s){if(t.stateNode===null)throw Error(i(166));return ht(t),null}if(e=Zr(Pn.current),na(t)){s=t.stateNode,o=t.type;var d=t.memoizedProps;switch(s[Rn]=t,s[Hi]=d,e=(t.mode&1)!==0,o){case"dialog":je("cancel",s),je("close",s);break;case"iframe":case"object":case"embed":je("load",s);break;case"video":case"audio":for(u=0;u<ji.length;u++)je(ji[u],s);break;case"source":je("error",s);break;case"img":case"image":case"link":je("error",s),je("load",s);break;case"details":je("toggle",s);break;case"input":vn(s,d),je("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!d.multiple},je("invalid",s);break;case"textarea":wn(s,d),je("invalid",s)}kn(o,d),u=null;for(var y in d)if(d.hasOwnProperty(y)){var E=d[y];y==="children"?typeof E=="string"?s.textContent!==E&&(d.suppressHydrationWarning!==!0&&qs(s.textContent,E,e),u=["children",E]):typeof E=="number"&&s.textContent!==""+E&&(d.suppressHydrationWarning!==!0&&qs(s.textContent,E,e),u=["children",""+E]):l.hasOwnProperty(y)&&E!=null&&y==="onScroll"&&je("scroll",s)}switch(o){case"input":Me(s),or(s,d,!0);break;case"textarea":Me(s),Cs(s);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(s.onclick=Ys)}s=u,t.updateQueue=s,s!==null&&(t.flags|=4)}else{y=u.nodeType===9?u:u.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=vt(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=y.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=y.createElement(o,{is:s.is}):(e=y.createElement(o),o==="select"&&(y=e,s.multiple?y.multiple=!0:s.size&&(y.size=s.size))):e=y.createElementNS(e,o),e[Rn]=t,e[Hi]=s,xp(e,t,!1,!1),t.stateNode=e;e:{switch(y=ki(o,s),o){case"dialog":je("cancel",e),je("close",e),u=s;break;case"iframe":case"object":case"embed":je("load",e),u=s;break;case"video":case"audio":for(u=0;u<ji.length;u++)je(ji[u],e);u=s;break;case"source":je("error",e),u=s;break;case"img":case"image":case"link":je("error",e),je("load",e),u=s;break;case"details":je("toggle",e),u=s;break;case"input":vn(e,s),u=dt(e,s),je("invalid",e);break;case"option":u=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},u=W({},s,{value:void 0}),je("invalid",e);break;case"textarea":wn(e,s),u=ko(e,s),je("invalid",e);break;default:u=s}kn(o,u),E=u;for(d in E)if(E.hasOwnProperty(d)){var M=E[d];d==="style"?Fn(e,M):d==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,M!=null&&Es(e,M)):d==="children"?typeof M=="string"?(o!=="textarea"||M!=="")&&Sn(e,M):typeof M=="number"&&Sn(e,""+M):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(l.hasOwnProperty(d)?M!=null&&d==="onScroll"&&je("scroll",e):M!=null&&R(e,d,M,y))}switch(o){case"input":Me(e),or(e,s,!1);break;case"textarea":Me(e),Cs(e);break;case"option":s.value!=null&&e.setAttribute("value",""+pe(s.value));break;case"select":e.multiple=!!s.multiple,d=s.value,d!=null?Ht(e,!!s.multiple,d,!1):s.defaultValue!=null&&Ht(e,!!s.multiple,s.defaultValue,!0);break;default:typeof u.onClick=="function"&&(e.onclick=Ys)}switch(o){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ht(t),null;case 6:if(e&&t.stateNode!=null)kp(e,t,e.memoizedProps,s);else{if(typeof s!="string"&&t.stateNode===null)throw Error(i(166));if(o=Zr(Ki.current),Zr(Pn.current),na(t)){if(s=t.stateNode,o=t.memoizedProps,s[Rn]=t,(d=s.nodeValue!==o)&&(e=Dt,e!==null))switch(e.tag){case 3:qs(s.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qs(s.nodeValue,o,(e.mode&1)!==0)}d&&(t.flags|=4)}else s=(o.nodeType===9?o:o.ownerDocument).createTextNode(s),s[Rn]=t,t.stateNode=s}return ht(t),null;case 13:if(Be(Ve),s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(He&&zt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)bf(),jo(),t.flags|=98560,d=!1;else if(d=na(t),s!==null&&s.dehydrated!==null){if(e===null){if(!d)throw Error(i(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(i(317));d[Rn]=t}else jo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ht(t),d=!1}else rn!==null&&(Bu(rn),rn=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=o,t):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Ve.current&1)!==0?tt===0&&(tt=3):$u())),t.updateQueue!==null&&(t.flags|=4),ht(t),null);case 4:return $o(),Tu(e,t),e===null&&Bi(t.stateNode.containerInfo),ht(t),null;case 10:return ru(t.type._context),ht(t),null;case 17:return Rt(t.type)&&Xs(),ht(t),null;case 19:if(Be(Ve),d=t.memoizedState,d===null)return ht(t),null;if(s=(t.flags&128)!==0,y=d.rendering,y===null)if(s)Zi(d,!1);else{if(tt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(y=la(e),y!==null){for(t.flags|=128,Zi(d,!1),s=y.updateQueue,s!==null&&(t.updateQueue=s,t.flags|=4),t.subtreeFlags=0,s=o,o=t.child;o!==null;)d=o,e=s,d.flags&=14680066,y=d.alternate,y===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=y.childLanes,d.lanes=y.lanes,d.child=y.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=y.memoizedProps,d.memoizedState=y.memoizedState,d.updateQueue=y.updateQueue,d.type=y.type,e=y.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Fe(Ve,Ve.current&1|2),t.child}e=e.sibling}d.tail!==null&&Ye()>Ko&&(t.flags|=128,s=!0,Zi(d,!1),t.lanes=4194304)}else{if(!s)if(e=la(y),e!==null){if(t.flags|=128,s=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),Zi(d,!0),d.tail===null&&d.tailMode==="hidden"&&!y.alternate&&!He)return ht(t),null}else 2*Ye()-d.renderingStartTime>Ko&&o!==1073741824&&(t.flags|=128,s=!0,Zi(d,!1),t.lanes=4194304);d.isBackwards?(y.sibling=t.child,t.child=y):(o=d.last,o!==null?o.sibling=y:t.child=y,d.last=y)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=Ye(),t.sibling=null,o=Ve.current,Fe(Ve,s?o&1|2:o&1),t):(ht(t),null);case 22:case 23:return Hu(),s=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(t.flags|=8192),s&&(t.mode&1)!==0?(Ft&1073741824)!==0&&(ht(t),t.subtreeFlags&6&&(t.flags|=8192)):ht(t),null;case 24:return null;case 25:return null}throw Error(i(156,t.tag))}function Hg(e,t){switch(Xl(t),t.tag){case 1:return Rt(t.type)&&Xs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $o(),Be(bt),Be(ft),cu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return lu(t),null;case 13:if(Be(Ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));jo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(Ve),null;case 4:return $o(),null;case 10:return ru(t.type._context),null;case 22:case 23:return Hu(),null;case 24:return null;default:return null}}var va=!1,mt=!1,$g=typeof WeakSet=="function"?WeakSet:Set,se=null;function Wo(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(s){Qe(e,t,s)}else o.current=null}function Ou(e,t,o){try{o()}catch(s){Qe(e,t,s)}}var Cp=!1;function Vg(e,t){if(Hl=zs,e=ef(),Al(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var s=o.getSelection&&o.getSelection();if(s&&s.rangeCount!==0){o=s.anchorNode;var u=s.anchorOffset,d=s.focusNode;s=s.focusOffset;try{o.nodeType,d.nodeType}catch{o=null;break e}var y=0,E=-1,M=-1,D=0,V=0,Q=e,$=null;t:for(;;){for(var oe;Q!==o||u!==0&&Q.nodeType!==3||(E=y+u),Q!==d||s!==0&&Q.nodeType!==3||(M=y+s),Q.nodeType===3&&(y+=Q.nodeValue.length),(oe=Q.firstChild)!==null;)$=Q,Q=oe;for(;;){if(Q===e)break t;if($===o&&++D===u&&(E=y),$===d&&++V===s&&(M=y),(oe=Q.nextSibling)!==null)break;Q=$,$=Q.parentNode}Q=oe}o=E===-1||M===-1?null:{start:E,end:M}}else o=null}o=o||{start:0,end:0}}else o=null;for($l={focusedElem:e,selectionRange:o},zs=!1,se=t;se!==null;)if(t=se,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,se=e;else for(;se!==null;){t=se;try{var le=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(le!==null){var ce=le.memoizedProps,Ge=le.memoizedState,A=t.stateNode,N=A.getSnapshotBeforeUpdate(t.elementType===t.type?ce:on(t.type,ce),Ge);A.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var I=t.stateNode.containerInfo;I.nodeType===1?I.textContent="":I.nodeType===9&&I.documentElement&&I.removeChild(I.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Y){Qe(t,t.return,Y)}if(e=t.sibling,e!==null){e.return=t.return,se=e;break}se=t.return}return le=Cp,Cp=!1,le}function Ji(e,t,o){var s=t.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var u=s=s.next;do{if((u.tag&e)===e){var d=u.destroy;u.destroy=void 0,d!==void 0&&Ou(t,o,d)}u=u.next}while(u!==s)}}function ga(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var o=t=t.next;do{if((o.tag&e)===e){var s=o.create;o.destroy=s()}o=o.next}while(o!==t)}}function _u(e){var t=e.ref;if(t!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof t=="function"?t(e):t.current=e}}function Ep(e){var t=e.alternate;t!==null&&(e.alternate=null,Ep(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rn],delete t[Hi],delete t[Kl],delete t[Rg],delete t[Pg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function bp(e){return e.tag===5||e.tag===3||e.tag===4}function Rp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Nu(e,t,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?o.nodeType===8?o.parentNode.insertBefore(e,t):o.insertBefore(e,t):(o.nodeType===8?(t=o.parentNode,t.insertBefore(e,o)):(t=o,t.appendChild(e)),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Ys));else if(s!==4&&(e=e.child,e!==null))for(Nu(e,t,o),e=e.sibling;e!==null;)Nu(e,t,o),e=e.sibling}function Lu(e,t,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(Lu(e,t,o),e=e.sibling;e!==null;)Lu(e,t,o),e=e.sibling}var lt=null,sn=!1;function wr(e,t,o){for(o=o.child;o!==null;)Pp(e,t,o),o=o.sibling}function Pp(e,t,o){if(bn&&typeof bn.onCommitFiberUnmount=="function")try{bn.onCommitFiberUnmount(_s,o)}catch{}switch(o.tag){case 5:mt||Wo(o,t);case 6:var s=lt,u=sn;lt=null,wr(e,t,o),lt=s,sn=u,lt!==null&&(sn?(e=lt,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):lt.removeChild(o.stateNode));break;case 18:lt!==null&&(sn?(e=lt,o=o.stateNode,e.nodeType===8?Ql(e.parentNode,o):e.nodeType===1&&Ql(e,o),_i(e)):Ql(lt,o.stateNode));break;case 4:s=lt,u=sn,lt=o.stateNode.containerInfo,sn=!0,wr(e,t,o),lt=s,sn=u;break;case 0:case 11:case 14:case 15:if(!mt&&(s=o.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){u=s=s.next;do{var d=u,y=d.destroy;d=d.tag,y!==void 0&&((d&2)!==0||(d&4)!==0)&&Ou(o,t,y),u=u.next}while(u!==s)}wr(e,t,o);break;case 1:if(!mt&&(Wo(o,t),s=o.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=o.memoizedProps,s.state=o.memoizedState,s.componentWillUnmount()}catch(E){Qe(o,t,E)}wr(e,t,o);break;case 21:wr(e,t,o);break;case 22:o.mode&1?(mt=(s=mt)||o.memoizedState!==null,wr(e,t,o),mt=s):wr(e,t,o);break;default:wr(e,t,o)}}function Mp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new $g),t.forEach(function(s){var u=Jg.bind(null,e,s);o.has(s)||(o.add(s),s.then(u,u))})}}function an(e,t){var o=t.deletions;if(o!==null)for(var s=0;s<o.length;s++){var u=o[s];try{var d=e,y=t,E=y;e:for(;E!==null;){switch(E.tag){case 5:lt=E.stateNode,sn=!1;break e;case 3:lt=E.stateNode.containerInfo,sn=!0;break e;case 4:lt=E.stateNode.containerInfo,sn=!0;break e}E=E.return}if(lt===null)throw Error(i(160));Pp(d,y,u),lt=null,sn=!1;var M=u.alternate;M!==null&&(M.return=null),u.return=null}catch(D){Qe(u,t,D)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Tp(t,e),t=t.sibling}function Tp(e,t){var o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(an(t,e),Tn(e),s&4){try{Ji(3,e,e.return),ga(3,e)}catch(ce){Qe(e,e.return,ce)}try{Ji(5,e,e.return)}catch(ce){Qe(e,e.return,ce)}}break;case 1:an(t,e),Tn(e),s&512&&o!==null&&Wo(o,o.return);break;case 5:if(an(t,e),Tn(e),s&512&&o!==null&&Wo(o,o.return),e.flags&32){var u=e.stateNode;try{Sn(u,"")}catch(ce){Qe(e,e.return,ce)}}if(s&4&&(u=e.stateNode,u!=null)){var d=e.memoizedProps,y=o!==null?o.memoizedProps:d,E=e.type,M=e.updateQueue;if(e.updateQueue=null,M!==null)try{E==="input"&&d.type==="radio"&&d.name!=null&&Xt(u,d),ki(E,y);var D=ki(E,d);for(y=0;y<M.length;y+=2){var V=M[y],Q=M[y+1];V==="style"?Fn(u,Q):V==="dangerouslySetInnerHTML"?Es(u,Q):V==="children"?Sn(u,Q):R(u,V,Q,D)}switch(E){case"input":Zt(u,d);break;case"textarea":ks(u,d);break;case"select":var $=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!d.multiple;var oe=d.value;oe!=null?Ht(u,!!d.multiple,oe,!1):$!==!!d.multiple&&(d.defaultValue!=null?Ht(u,!!d.multiple,d.defaultValue,!0):Ht(u,!!d.multiple,d.multiple?[]:"",!1))}u[Hi]=d}catch(ce){Qe(e,e.return,ce)}}break;case 6:if(an(t,e),Tn(e),s&4){if(e.stateNode===null)throw Error(i(162));u=e.stateNode,d=e.memoizedProps;try{u.nodeValue=d}catch(ce){Qe(e,e.return,ce)}}break;case 3:if(an(t,e),Tn(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{_i(t.containerInfo)}catch(ce){Qe(e,e.return,ce)}break;case 4:an(t,e),Tn(e);break;case 13:an(t,e),Tn(e),u=e.child,u.flags&8192&&(d=u.memoizedState!==null,u.stateNode.isHidden=d,!d||u.alternate!==null&&u.alternate.memoizedState!==null||(Du=Ye())),s&4&&Mp(e);break;case 22:if(V=o!==null&&o.memoizedState!==null,e.mode&1?(mt=(D=mt)||V,an(t,e),mt=D):an(t,e),Tn(e),s&8192){if(D=e.memoizedState!==null,(e.stateNode.isHidden=D)&&!V&&(e.mode&1)!==0)for(se=e,V=e.child;V!==null;){for(Q=se=V;se!==null;){switch($=se,oe=$.child,$.tag){case 0:case 11:case 14:case 15:Ji(4,$,$.return);break;case 1:Wo($,$.return);var le=$.stateNode;if(typeof le.componentWillUnmount=="function"){s=$,o=$.return;try{t=s,le.props=t.memoizedProps,le.state=t.memoizedState,le.componentWillUnmount()}catch(ce){Qe(s,o,ce)}}break;case 5:Wo($,$.return);break;case 22:if($.memoizedState!==null){Np(Q);continue}}oe!==null?(oe.return=$,se=oe):Np(Q)}V=V.sibling}e:for(V=null,Q=e;;){if(Q.tag===5){if(V===null){V=Q;try{u=Q.stateNode,D?(d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(E=Q.stateNode,M=Q.memoizedProps.style,y=M!=null&&M.hasOwnProperty("display")?M.display:null,E.style.display=Eo("display",y))}catch(ce){Qe(e,e.return,ce)}}}else if(Q.tag===6){if(V===null)try{Q.stateNode.nodeValue=D?"":Q.memoizedProps}catch(ce){Qe(e,e.return,ce)}}else if((Q.tag!==22&&Q.tag!==23||Q.memoizedState===null||Q===e)&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===e)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===e)break e;V===Q&&(V=null),Q=Q.return}V===Q&&(V=null),Q.sibling.return=Q.return,Q=Q.sibling}}break;case 19:an(t,e),Tn(e),s&4&&Mp(e);break;case 21:break;default:an(t,e),Tn(e)}}function Tn(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(bp(o)){var s=o;break e}o=o.return}throw Error(i(160))}switch(s.tag){case 5:var u=s.stateNode;s.flags&32&&(Sn(u,""),s.flags&=-33);var d=Rp(e);Lu(e,d,u);break;case 3:case 4:var y=s.stateNode.containerInfo,E=Rp(e);Nu(e,E,y);break;default:throw Error(i(161))}}catch(M){Qe(e,e.return,M)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Wg(e,t,o){se=e,Op(e)}function Op(e,t,o){for(var s=(e.mode&1)!==0;se!==null;){var u=se,d=u.child;if(u.tag===22&&s){var y=u.memoizedState!==null||va;if(!y){var E=u.alternate,M=E!==null&&E.memoizedState!==null||mt;E=va;var D=mt;if(va=y,(mt=M)&&!D)for(se=u;se!==null;)y=se,M=y.child,y.tag===22&&y.memoizedState!==null?Lp(u):M!==null?(M.return=y,se=M):Lp(u);for(;d!==null;)se=d,Op(d),d=d.sibling;se=u,va=E,mt=D}_p(e)}else(u.subtreeFlags&8772)!==0&&d!==null?(d.return=u,se=d):_p(e)}}function _p(e){for(;se!==null;){var t=se;if((t.flags&8772)!==0){var o=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:mt||ga(5,t);break;case 1:var s=t.stateNode;if(t.flags&4&&!mt)if(o===null)s.componentDidMount();else{var u=t.elementType===t.type?o.memoizedProps:on(t.type,o.memoizedProps);s.componentDidUpdate(u,o.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&Nf(t,d,s);break;case 3:var y=t.updateQueue;if(y!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}Nf(t,y,o)}break;case 5:var E=t.stateNode;if(o===null&&t.flags&4){o=E;var M=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":M.autoFocus&&o.focus();break;case"img":M.src&&(o.src=M.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var D=t.alternate;if(D!==null){var V=D.memoizedState;if(V!==null){var Q=V.dehydrated;Q!==null&&_i(Q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}mt||t.flags&512&&_u(t)}catch($){Qe(t,t.return,$)}}if(t===e){se=null;break}if(o=t.sibling,o!==null){o.return=t.return,se=o;break}se=t.return}}function Np(e){for(;se!==null;){var t=se;if(t===e){se=null;break}var o=t.sibling;if(o!==null){o.return=t.return,se=o;break}se=t.return}}function Lp(e){for(;se!==null;){var t=se;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{ga(4,t)}catch(M){Qe(t,o,M)}break;case 1:var s=t.stateNode;if(typeof s.componentDidMount=="function"){var u=t.return;try{s.componentDidMount()}catch(M){Qe(t,u,M)}}var d=t.return;try{_u(t)}catch(M){Qe(t,d,M)}break;case 5:var y=t.return;try{_u(t)}catch(M){Qe(t,y,M)}}}catch(M){Qe(t,t.return,M)}if(t===e){se=null;break}var E=t.sibling;if(E!==null){E.return=t.return,se=E;break}se=t.return}}var Qg=Math.ceil,wa=L.ReactCurrentDispatcher,Au=L.ReactCurrentOwner,Kt=L.ReactCurrentBatchConfig,Ne=0,ot=null,Ze=null,ut=0,Ft=0,Qo=hr(0),tt=0,es=null,eo=0,xa=0,Iu=0,ts=null,Mt=null,Du=0,Ko=1/0,Qn=null,Sa=!1,zu=null,xr=null,ka=!1,Sr=null,Ca=0,ns=0,Fu=null,Ea=-1,ba=0;function xt(){return(Ne&6)!==0?Ye():Ea!==-1?Ea:Ea=Ye()}function kr(e){return(e.mode&1)===0?1:(Ne&2)!==0&&ut!==0?ut&-ut:Tg.transition!==null?(ba===0&&(ba=bd()),ba):(e=De,e!==0||(e=window.event,e=e===void 0?16:Ad(e.type)),e)}function ln(e,t,o,s){if(50<ns)throw ns=0,Fu=null,Error(i(185));Ri(e,o,s),((Ne&2)===0||e!==ot)&&(e===ot&&((Ne&2)===0&&(xa|=o),tt===4&&Cr(e,ut)),Tt(e,s),o===1&&Ne===0&&(t.mode&1)===0&&(Ko=Ye()+500,Js&&yr()))}function Tt(e,t){var o=e.callbackNode;Tv(e,t);var s=As(e,e===ot?ut:0);if(s===0)o!==null&&kd(o),e.callbackNode=null,e.callbackPriority=0;else if(t=s&-s,e.callbackPriority!==t){if(o!=null&&kd(o),t===1)e.tag===0?Mg(Ip.bind(null,e)):xf(Ip.bind(null,e)),Eg(function(){(Ne&6)===0&&yr()}),o=null;else{switch(Rd(s)){case 1:o=vl;break;case 4:o=Cd;break;case 16:o=Os;break;case 536870912:o=Ed;break;default:o=Os}o=$p(o,Ap.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function Ap(e,t){if(Ea=-1,ba=0,(Ne&6)!==0)throw Error(i(327));var o=e.callbackNode;if(qo()&&e.callbackNode!==o)return null;var s=As(e,e===ot?ut:0);if(s===0)return null;if((s&30)!==0||(s&e.expiredLanes)!==0||t)t=Ra(e,s);else{t=s;var u=Ne;Ne|=2;var d=zp();(ot!==e||ut!==t)&&(Qn=null,Ko=Ye()+500,no(e,t));do try{Yg();break}catch(E){Dp(e,E)}while(!0);nu(),wa.current=d,Ne=u,Ze!==null?t=0:(ot=null,ut=0,t=tt)}if(t!==0){if(t===2&&(u=gl(e),u!==0&&(s=u,t=ju(e,u))),t===1)throw o=es,no(e,0),Cr(e,s),Tt(e,Ye()),o;if(t===6)Cr(e,s);else{if(u=e.current.alternate,(s&30)===0&&!Kg(u)&&(t=Ra(e,s),t===2&&(d=gl(e),d!==0&&(s=d,t=ju(e,d))),t===1))throw o=es,no(e,0),Cr(e,s),Tt(e,Ye()),o;switch(e.finishedWork=u,e.finishedLanes=s,t){case 0:case 1:throw Error(i(345));case 2:ro(e,Mt,Qn);break;case 3:if(Cr(e,s),(s&130023424)===s&&(t=Du+500-Ye(),10<t)){if(As(e,0)!==0)break;if(u=e.suspendedLanes,(u&s)!==s){xt(),e.pingedLanes|=e.suspendedLanes&u;break}e.timeoutHandle=Wl(ro.bind(null,e,Mt,Qn),t);break}ro(e,Mt,Qn);break;case 4:if(Cr(e,s),(s&4194240)===s)break;for(t=e.eventTimes,u=-1;0<s;){var y=31-tn(s);d=1<<y,y=t[y],y>u&&(u=y),s&=~d}if(s=u,s=Ye()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*Qg(s/1960))-s,10<s){e.timeoutHandle=Wl(ro.bind(null,e,Mt,Qn),s);break}ro(e,Mt,Qn);break;case 5:ro(e,Mt,Qn);break;default:throw Error(i(329))}}}return Tt(e,Ye()),e.callbackNode===o?Ap.bind(null,e):null}function ju(e,t){var o=ts;return e.current.memoizedState.isDehydrated&&(no(e,t).flags|=256),e=Ra(e,t),e!==2&&(t=Mt,Mt=o,t!==null&&Bu(t)),e}function Bu(e){Mt===null?Mt=e:Mt.push.apply(Mt,e)}function Kg(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var s=0;s<o.length;s++){var u=o[s],d=u.getSnapshot;u=u.value;try{if(!nn(d(),u))return!1}catch{return!1}}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Cr(e,t){for(t&=~Iu,t&=~xa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-tn(t),s=1<<o;e[o]=-1,t&=~s}}function Ip(e){if((Ne&6)!==0)throw Error(i(327));qo();var t=As(e,0);if((t&1)===0)return Tt(e,Ye()),null;var o=Ra(e,t);if(e.tag!==0&&o===2){var s=gl(e);s!==0&&(t=s,o=ju(e,s))}if(o===1)throw o=es,no(e,0),Cr(e,t),Tt(e,Ye()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ro(e,Mt,Qn),Tt(e,Ye()),null}function Uu(e,t){var o=Ne;Ne|=1;try{return e(t)}finally{Ne=o,Ne===0&&(Ko=Ye()+500,Js&&yr())}}function to(e){Sr!==null&&Sr.tag===0&&(Ne&6)===0&&qo();var t=Ne;Ne|=1;var o=Kt.transition,s=De;try{if(Kt.transition=null,De=1,e)return e()}finally{De=s,Kt.transition=o,Ne=t,(Ne&6)===0&&yr()}}function Hu(){Ft=Qo.current,Be(Qo)}function no(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,Cg(o)),Ze!==null)for(o=Ze.return;o!==null;){var s=o;switch(Xl(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Xs();break;case 3:$o(),Be(bt),Be(ft),cu();break;case 5:lu(s);break;case 4:$o();break;case 13:Be(Ve);break;case 19:Be(Ve);break;case 10:ru(s.type._context);break;case 22:case 23:Hu()}o=o.return}if(ot=e,Ze=e=Er(e.current,null),ut=Ft=t,tt=0,es=null,Iu=xa=eo=0,Mt=ts=null,Xr!==null){for(t=0;t<Xr.length;t++)if(o=Xr[t],s=o.interleaved,s!==null){o.interleaved=null;var u=s.next,d=o.pending;if(d!==null){var y=d.next;d.next=u,s.next=y}o.pending=s}Xr=null}return e}function Dp(e,t){do{var o=Ze;try{if(nu(),ua.current=pa,ca){for(var s=We.memoizedState;s!==null;){var u=s.queue;u!==null&&(u.pending=null),s=s.next}ca=!1}if(Jr=0,rt=et=We=null,qi=!1,Yi=0,Au.current=null,o===null||o.return===null){tt=1,es=t,Ze=null;break}e:{var d=e,y=o.return,E=o,M=t;if(t=ut,E.flags|=32768,M!==null&&typeof M=="object"&&typeof M.then=="function"){var D=M,V=E,Q=V.tag;if((V.mode&1)===0&&(Q===0||Q===11||Q===15)){var $=V.alternate;$?(V.updateQueue=$.updateQueue,V.memoizedState=$.memoizedState,V.lanes=$.lanes):(V.updateQueue=null,V.memoizedState=null)}var oe=ap(y);if(oe!==null){oe.flags&=-257,lp(oe,y,E,d,t),oe.mode&1&&sp(d,D,t),t=oe,M=D;var le=t.updateQueue;if(le===null){var ce=new Set;ce.add(M),t.updateQueue=ce}else le.add(M);break e}else{if((t&1)===0){sp(d,D,t),$u();break e}M=Error(i(426))}}else if(He&&E.mode&1){var Ge=ap(y);if(Ge!==null){(Ge.flags&65536)===0&&(Ge.flags|=256),lp(Ge,y,E,d,t),eu(Vo(M,E));break e}}d=M=Vo(M,E),tt!==4&&(tt=2),ts===null?ts=[d]:ts.push(d),d=y;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var A=op(d,M,t);_f(d,A);break e;case 1:E=M;var N=d.type,I=d.stateNode;if((d.flags&128)===0&&(typeof N.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(xr===null||!xr.has(I)))){d.flags|=65536,t&=-t,d.lanes|=t;var Y=ip(d,E,t);_f(d,Y);break e}}d=d.return}while(d!==null)}jp(o)}catch(fe){t=fe,Ze===o&&o!==null&&(Ze=o=o.return);continue}break}while(!0)}function zp(){var e=wa.current;return wa.current=pa,e===null?pa:e}function $u(){(tt===0||tt===3||tt===2)&&(tt=4),ot===null||(eo&268435455)===0&&(xa&268435455)===0||Cr(ot,ut)}function Ra(e,t){var o=Ne;Ne|=2;var s=zp();(ot!==e||ut!==t)&&(Qn=null,no(e,t));do try{qg();break}catch(u){Dp(e,u)}while(!0);if(nu(),Ne=o,wa.current=s,Ze!==null)throw Error(i(261));return ot=null,ut=0,tt}function qg(){for(;Ze!==null;)Fp(Ze)}function Yg(){for(;Ze!==null&&!xv();)Fp(Ze)}function Fp(e){var t=Hp(e.alternate,e,Ft);e.memoizedProps=e.pendingProps,t===null?jp(e):Ze=t,Au.current=null}function jp(e){var t=e;do{var o=t.alternate;if(e=t.return,(t.flags&32768)===0){if(o=Ug(o,t,Ft),o!==null){Ze=o;return}}else{if(o=Hg(o,t),o!==null){o.flags&=32767,Ze=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tt=6,Ze=null;return}}if(t=t.sibling,t!==null){Ze=t;return}Ze=t=e}while(t!==null);tt===0&&(tt=5)}function ro(e,t,o){var s=De,u=Kt.transition;try{Kt.transition=null,De=1,Gg(e,t,o,s)}finally{Kt.transition=u,De=s}return null}function Gg(e,t,o,s){do qo();while(Sr!==null);if((Ne&6)!==0)throw Error(i(327));o=e.finishedWork;var u=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var d=o.lanes|o.childLanes;if(Ov(e,d),e===ot&&(Ze=ot=null,ut=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||ka||(ka=!0,$p(Os,function(){return qo(),null})),d=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||d){d=Kt.transition,Kt.transition=null;var y=De;De=1;var E=Ne;Ne|=4,Au.current=null,Vg(e,o),Tp(o,e),yg($l),zs=!!Hl,$l=Hl=null,e.current=o,Wg(o),Sv(),Ne=E,De=y,Kt.transition=d}else e.current=o;if(ka&&(ka=!1,Sr=e,Ca=u),d=e.pendingLanes,d===0&&(xr=null),Ev(o.stateNode),Tt(e,Ye()),t!==null)for(s=e.onRecoverableError,o=0;o<t.length;o++)u=t[o],s(u.value,{componentStack:u.stack,digest:u.digest});if(Sa)throw Sa=!1,e=zu,zu=null,e;return(Ca&1)!==0&&e.tag!==0&&qo(),d=e.pendingLanes,(d&1)!==0?e===Fu?ns++:(ns=0,Fu=e):ns=0,yr(),null}function qo(){if(Sr!==null){var e=Rd(Ca),t=Kt.transition,o=De;try{if(Kt.transition=null,De=16>e?16:e,Sr===null)var s=!1;else{if(e=Sr,Sr=null,Ca=0,(Ne&6)!==0)throw Error(i(331));var u=Ne;for(Ne|=4,se=e.current;se!==null;){var d=se,y=d.child;if((se.flags&16)!==0){var E=d.deletions;if(E!==null){for(var M=0;M<E.length;M++){var D=E[M];for(se=D;se!==null;){var V=se;switch(V.tag){case 0:case 11:case 15:Ji(8,V,d)}var Q=V.child;if(Q!==null)Q.return=V,se=Q;else for(;se!==null;){V=se;var $=V.sibling,oe=V.return;if(Ep(V),V===D){se=null;break}if($!==null){$.return=oe,se=$;break}se=oe}}}var le=d.alternate;if(le!==null){var ce=le.child;if(ce!==null){le.child=null;do{var Ge=ce.sibling;ce.sibling=null,ce=Ge}while(ce!==null)}}se=d}}if((d.subtreeFlags&2064)!==0&&y!==null)y.return=d,se=y;else e:for(;se!==null;){if(d=se,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:Ji(9,d,d.return)}var A=d.sibling;if(A!==null){A.return=d.return,se=A;break e}se=d.return}}var N=e.current;for(se=N;se!==null;){y=se;var I=y.child;if((y.subtreeFlags&2064)!==0&&I!==null)I.return=y,se=I;else e:for(y=N;se!==null;){if(E=se,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:ga(9,E)}}catch(fe){Qe(E,E.return,fe)}if(E===y){se=null;break e}var Y=E.sibling;if(Y!==null){Y.return=E.return,se=Y;break e}se=E.return}}if(Ne=u,yr(),bn&&typeof bn.onPostCommitFiberRoot=="function")try{bn.onPostCommitFiberRoot(_s,e)}catch{}s=!0}return s}finally{De=o,Kt.transition=t}}return!1}function Bp(e,t,o){t=Vo(o,t),t=op(e,t,1),e=gr(e,t,1),t=xt(),e!==null&&(Ri(e,1,t),Tt(e,t))}function Qe(e,t,o){if(e.tag===3)Bp(e,e,o);else for(;t!==null;){if(t.tag===3){Bp(t,e,o);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(xr===null||!xr.has(s))){e=Vo(o,e),e=ip(t,e,1),t=gr(t,e,1),e=xt(),t!==null&&(Ri(t,1,e),Tt(t,e));break}}t=t.return}}function Xg(e,t,o){var s=e.pingCache;s!==null&&s.delete(t),t=xt(),e.pingedLanes|=e.suspendedLanes&o,ot===e&&(ut&o)===o&&(tt===4||tt===3&&(ut&130023424)===ut&&500>Ye()-Du?no(e,0):Iu|=o),Tt(e,t)}function Up(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ls,Ls<<=1,(Ls&130023424)===0&&(Ls=4194304)));var o=xt();e=$n(e,t),e!==null&&(Ri(e,t,o),Tt(e,o))}function Zg(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),Up(e,o)}function Jg(e,t){var o=0;switch(e.tag){case 13:var s=e.stateNode,u=e.memoizedState;u!==null&&(o=u.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(i(314))}s!==null&&s.delete(t),Up(e,o)}var Hp;Hp=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||bt.current)Pt=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return Pt=!1,Bg(e,t,o);Pt=(e.flags&131072)!==0}else Pt=!1,He&&(t.flags&1048576)!==0&&Sf(t,ta,t.index);switch(t.lanes=0,t.tag){case 2:var s=t.type;ya(e,t),e=t.pendingProps;var u=Do(t,ft.current);Ho(t,o),u=pu(null,t,s,e,u,o);var d=hu();return t.flags|=1,typeof u=="object"&&u!==null&&typeof u.render=="function"&&u.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Rt(s)?(d=!0,Zs(t)):d=!1,t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,su(t),u.updater=ha,t.stateNode=u,u._reactInternals=t,xu(t,s,e,o),t=Eu(null,t,s,!0,d,o)):(t.tag=0,He&&d&&Gl(t),wt(null,t,u,o),t=t.child),t;case 16:s=t.elementType;e:{switch(ya(e,t),e=t.pendingProps,u=s._init,s=u(s._payload),t.type=s,u=t.tag=t0(s),e=on(s,e),u){case 0:t=Cu(null,t,s,e,o);break e;case 1:t=hp(null,t,s,e,o);break e;case 11:t=up(null,t,s,e,o);break e;case 14:t=cp(null,t,s,on(s.type,e),o);break e}throw Error(i(306,s,""))}return t;case 0:return s=t.type,u=t.pendingProps,u=t.elementType===s?u:on(s,u),Cu(e,t,s,u,o);case 1:return s=t.type,u=t.pendingProps,u=t.elementType===s?u:on(s,u),hp(e,t,s,u,o);case 3:e:{if(mp(t),e===null)throw Error(i(387));s=t.pendingProps,d=t.memoizedState,u=d.element,Of(e,t),aa(t,s,null,o);var y=t.memoizedState;if(s=y.element,d.isDehydrated)if(d={element:s,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){u=Vo(Error(i(423)),t),t=yp(e,t,s,o,u);break e}else if(s!==u){u=Vo(Error(i(424)),t),t=yp(e,t,s,o,u);break e}else for(zt=pr(t.stateNode.containerInfo.firstChild),Dt=t,He=!0,rn=null,o=Mf(t,null,s,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(jo(),s===u){t=Wn(e,t,o);break e}wt(e,t,s,o)}t=t.child}return t;case 5:return Lf(t),e===null&&Jl(t),s=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,y=u.children,Vl(s,u)?y=null:d!==null&&Vl(s,d)&&(t.flags|=32),pp(e,t),wt(e,t,y,o),t.child;case 6:return e===null&&Jl(t),null;case 13:return vp(e,t,o);case 4:return au(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Bo(t,null,s,o):wt(e,t,s,o),t.child;case 11:return s=t.type,u=t.pendingProps,u=t.elementType===s?u:on(s,u),up(e,t,s,u,o);case 7:return wt(e,t,t.pendingProps,o),t.child;case 8:return wt(e,t,t.pendingProps.children,o),t.child;case 12:return wt(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(s=t.type._context,u=t.pendingProps,d=t.memoizedProps,y=u.value,Fe(oa,s._currentValue),s._currentValue=y,d!==null)if(nn(d.value,y)){if(d.children===u.children&&!bt.current){t=Wn(e,t,o);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var E=d.dependencies;if(E!==null){y=d.child;for(var M=E.firstContext;M!==null;){if(M.context===s){if(d.tag===1){M=Vn(-1,o&-o),M.tag=2;var D=d.updateQueue;if(D!==null){D=D.shared;var V=D.pending;V===null?M.next=M:(M.next=V.next,V.next=M),D.pending=M}}d.lanes|=o,M=d.alternate,M!==null&&(M.lanes|=o),ou(d.return,o,t),E.lanes|=o;break}M=M.next}}else if(d.tag===10)y=d.type===t.type?null:d.child;else if(d.tag===18){if(y=d.return,y===null)throw Error(i(341));y.lanes|=o,E=y.alternate,E!==null&&(E.lanes|=o),ou(y,o,t),y=d.sibling}else y=d.child;if(y!==null)y.return=d;else for(y=d;y!==null;){if(y===t){y=null;break}if(d=y.sibling,d!==null){d.return=y.return,y=d;break}y=y.return}d=y}wt(e,t,u.children,o),t=t.child}return t;case 9:return u=t.type,s=t.pendingProps.children,Ho(t,o),u=Wt(u),s=s(u),t.flags|=1,wt(e,t,s,o),t.child;case 14:return s=t.type,u=on(s,t.pendingProps),u=on(s.type,u),cp(e,t,s,u,o);case 15:return dp(e,t,t.type,t.pendingProps,o);case 17:return s=t.type,u=t.pendingProps,u=t.elementType===s?u:on(s,u),ya(e,t),t.tag=1,Rt(s)?(e=!0,Zs(t)):e=!1,Ho(t,o),np(t,s,u),xu(t,s,u,o),Eu(null,t,s,!0,e,o);case 19:return wp(e,t,o);case 22:return fp(e,t,o)}throw Error(i(156,t.tag))};function $p(e,t){return Sd(e,t)}function e0(e,t,o,s){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(e,t,o,s){return new e0(e,t,o,s)}function Vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function t0(e){if(typeof e=="function")return Vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===X)return 11;if(e===xe)return 14}return 2}function Er(e,t){var o=e.alternate;return o===null?(o=qt(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Pa(e,t,o,s,u,d){var y=2;if(s=e,typeof e=="function")Vu(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case H:return oo(o.children,u,d,t);case q:y=8,u|=8;break;case Z:return e=qt(12,o,t,u|2),e.elementType=Z,e.lanes=d,e;case ve:return e=qt(13,o,t,u),e.elementType=ve,e.lanes=d,e;case de:return e=qt(19,o,t,u),e.elementType=de,e.lanes=d,e;case ie:return Ma(o,u,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case te:y=10;break e;case he:y=9;break e;case X:y=11;break e;case xe:y=14;break e;case ue:y=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=qt(y,o,t,u),t.elementType=e,t.type=s,t.lanes=d,t}function oo(e,t,o,s){return e=qt(7,e,s,t),e.lanes=o,e}function Ma(e,t,o,s){return e=qt(22,e,s,t),e.elementType=ie,e.lanes=o,e.stateNode={isHidden:!1},e}function Wu(e,t,o){return e=qt(6,e,null,t),e.lanes=o,e}function Qu(e,t,o){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function n0(e,t,o,s,u){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=wl(0),this.expirationTimes=wl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wl(0),this.identifierPrefix=s,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function Ku(e,t,o,s,u,d,y,E,M){return e=new n0(e,t,o,E,M),t===1?(t=1,d===!0&&(t|=8)):t=0,d=qt(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:s,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},su(d),e}function r0(e,t,o){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:s==null?null:""+s,children:e,containerInfo:t,implementation:o}}function Vp(e){if(!e)return mr;e=e._reactInternals;e:{if(Qr(e)!==e||e.tag!==1)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Rt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(i(171))}if(e.tag===1){var o=e.type;if(Rt(o))return gf(e,o,t)}return t}function Wp(e,t,o,s,u,d,y,E,M){return e=Ku(o,s,!0,e,u,d,y,E,M),e.context=Vp(null),o=e.current,s=xt(),u=kr(o),d=Vn(s,u),d.callback=t??null,gr(o,d,u),e.current.lanes=u,Ri(e,u,s),Tt(e,s),e}function Ta(e,t,o,s){var u=t.current,d=xt(),y=kr(u);return o=Vp(o),t.context===null?t.context=o:t.pendingContext=o,t=Vn(d,y),t.payload={element:e},s=s===void 0?null:s,s!==null&&(t.callback=s),e=gr(u,t,y),e!==null&&(ln(e,u,y,d),sa(e,u,y)),y}function Oa(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Qp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function qu(e,t){Qp(e,t),(e=e.alternate)&&Qp(e,t)}function o0(){return null}var Kp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}_a.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));Ta(e,t,null,null)},_a.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;to(function(){Ta(null,e,null,null)}),t[jn]=null}};function _a(e){this._internalRoot=e}_a.prototype.unstable_scheduleHydration=function(e){if(e){var t=Td();e={blockedOn:null,target:e,priority:t};for(var o=0;o<cr.length&&t!==0&&t<cr[o].priority;o++);cr.splice(o,0,e),o===0&&Nd(e)}};function Gu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Na(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function qp(){}function i0(e,t,o,s,u){if(u){if(typeof s=="function"){var d=s;s=function(){var D=Oa(y);d.call(D)}}var y=Wp(t,s,e,0,null,!1,!1,"",qp);return e._reactRootContainer=y,e[jn]=y.current,Bi(e.nodeType===8?e.parentNode:e),to(),y}for(;u=e.lastChild;)e.removeChild(u);if(typeof s=="function"){var E=s;s=function(){var D=Oa(M);E.call(D)}}var M=Ku(e,0,!1,null,null,!1,!1,"",qp);return e._reactRootContainer=M,e[jn]=M.current,Bi(e.nodeType===8?e.parentNode:e),to(function(){Ta(t,M,o,s)}),M}function La(e,t,o,s,u){var d=o._reactRootContainer;if(d){var y=d;if(typeof u=="function"){var E=u;u=function(){var M=Oa(y);E.call(M)}}Ta(t,y,e,u)}else y=i0(o,t,e,u,s);return Oa(y)}Pd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=bi(t.pendingLanes);o!==0&&(xl(t,o|1),Tt(t,Ye()),(Ne&6)===0&&(Ko=Ye()+500,yr()))}break;case 13:to(function(){var s=$n(e,1);if(s!==null){var u=xt();ln(s,e,1,u)}}),qu(e,1)}},Sl=function(e){if(e.tag===13){var t=$n(e,134217728);if(t!==null){var o=xt();ln(t,e,134217728,o)}qu(e,134217728)}},Md=function(e){if(e.tag===13){var t=kr(e),o=$n(e,t);if(o!==null){var s=xt();ln(o,e,t,s)}qu(e,t)}},Td=function(){return De},Od=function(e,t){var o=De;try{return De=e,t()}finally{De=o}},Ro=function(e,t,o){switch(t){case"input":if(Zt(e,o),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var s=o[t];if(s!==e&&s.form===e.form){var u=Gs(s);if(!u)throw Error(i(90));Oe(s),Zt(s,u)}}}break;case"textarea":ks(e,o);break;case"select":t=o.value,t!=null&&Ht(e,!!o.multiple,t,!1)}},Ae=Uu,ze=to;var s0={usingClientEntryPoint:!1,Events:[$i,Ao,Gs,Ps,Ee,Uu]},rs={findFiberByHostInstance:Kr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},a0={bundleType:rs.bundleType,version:rs.version,rendererPackageName:rs.rendererPackageName,rendererConfig:rs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:L.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=wd(e),e===null?null:e.stateNode},findFiberByHostInstance:rs.findFiberByHostInstance||o0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Aa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Aa.isDisabled&&Aa.supportsFiber)try{_s=Aa.inject(a0),bn=Aa}catch{}}return Ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=s0,Ot.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Gu(t))throw Error(i(200));return r0(e,t,null,o)},Ot.createRoot=function(e,t){if(!Gu(e))throw Error(i(299));var o=!1,s="",u=Kp;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=Ku(e,1,!1,null,null,o,!1,s,u),e[jn]=t.current,Bi(e.nodeType===8?e.parentNode:e),new Yu(t)},Ot.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=wd(t),e=e===null?null:e.stateNode,e},Ot.flushSync=function(e){return to(e)},Ot.hydrate=function(e,t,o){if(!Na(t))throw Error(i(200));return La(null,e,t,!0,o)},Ot.hydrateRoot=function(e,t,o){if(!Gu(e))throw Error(i(405));var s=o!=null&&o.hydratedSources||null,u=!1,d="",y=Kp;if(o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(d=o.identifierPrefix),o.onRecoverableError!==void 0&&(y=o.onRecoverableError)),t=Wp(t,null,e,1,o??null,u,!1,d,y),e[jn]=t.current,Bi(e),s)for(e=0;e<s.length;e++)o=s[e],u=o._getVersion,u=u(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,u]:t.mutableSourceEagerHydrationData.push(o,u);return new _a(t)},Ot.render=function(e,t,o){if(!Na(t))throw Error(i(200));return La(null,e,t,!1,o)},Ot.unmountComponentAtNode=function(e){if(!Na(e))throw Error(i(40));return e._reactRootContainer?(to(function(){La(null,null,e,!1,function(){e._reactRootContainer=null,e[jn]=null})}),!0):!1},Ot.unstable_batchedUpdates=Uu,Ot.unstable_renderSubtreeIntoContainer=function(e,t,o,s){if(!Na(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return La(e,t,o,!1,s)},Ot.version="18.3.1-next-f1338f8080-20240426",Ot}var rh;function mm(){if(rh)return ec.exports;rh=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),ec.exports=m0(),ec.exports}var oh;function y0(){if(oh)return Da;oh=1;var n=mm();return Da.createRoot=n.createRoot,Da.hydrateRoot=n.hydrateRoot,Da}var qk=y0();/**
|
|
41
|
-
* react-router v7.13.0
|
|
42
|
-
*
|
|
43
|
-
* Copyright (c) Remix Software Inc.
|
|
44
|
-
*
|
|
45
|
-
* This source code is licensed under the MIT license found in the
|
|
46
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
47
|
-
*
|
|
48
|
-
* @license MIT
|
|
49
|
-
*/var ih="popstate";function v0(n={}){function r(a,l){let{pathname:c,search:f,hash:p}=a.location;return yc("",{pathname:c,search:f,hash:p},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function i(a,l){return typeof l=="string"?l:cs(l)}return w0(r,i,null,n)}function $e(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function pn(n,r){if(!n){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function g0(){return Math.random().toString(36).substring(2,10)}function sh(n,r){return{usr:n.state,key:n.key,idx:r}}function yc(n,r,i=null,a){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?hi(r):r,state:i,key:r&&r.key||a||g0()}}function cs({pathname:n="/",search:r="",hash:i=""}){return r&&r!=="?"&&(n+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function hi(n){let r={};if(n){let i=n.indexOf("#");i>=0&&(r.hash=n.substring(i),n=n.substring(0,i));let a=n.indexOf("?");a>=0&&(r.search=n.substring(a),n=n.substring(0,a)),n&&(r.pathname=n)}return r}function w0(n,r,i,a={}){let{window:l=document.defaultView,v5Compat:c=!1}=a,f=l.history,p="POP",h=null,m=w();m==null&&(m=0,f.replaceState({...f.state,idx:m},""));function w(){return(f.state||{idx:null}).idx}function x(){p="POP";let k=w(),P=k==null?null:k-m;m=k,h&&h({action:p,location:S.location,delta:P})}function C(k,P){p="PUSH";let T=yc(S.location,k,P);m=w()+1;let R=sh(T,m),L=S.createHref(T);try{f.pushState(R,"",L)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;l.location.assign(L)}c&&h&&h({action:p,location:S.location,delta:1})}function v(k,P){p="REPLACE";let T=yc(S.location,k,P);m=w();let R=sh(T,m),L=S.createHref(T);f.replaceState(R,"",L),c&&h&&h({action:p,location:S.location,delta:0})}function O(k){return x0(k)}let S={get action(){return p},get location(){return n(l,f)},listen(k){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(ih,x),h=k,()=>{l.removeEventListener(ih,x),h=null}},createHref(k){return r(l,k)},createURL:O,encodeLocation(k){let P=O(k);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:C,replace:v,go(k){return f.go(k)}};return S}function x0(n,r=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),$e(i,"No window.location.(origin|href) available to create URL");let a=typeof n=="string"?n:cs(n);return a=a.replace(/ $/,"%20"),!r&&a.startsWith("//")&&(a=i+a),new URL(a,i)}function ym(n,r,i="/"){return S0(n,r,i,!1)}function S0(n,r,i,a){let l=typeof r=="string"?hi(r):r,c=tr(l.pathname||"/",i);if(c==null)return null;let f=vm(n);k0(f);let p=null;for(let h=0;p==null&&h<f.length;++h){let m=L0(c);p=_0(f[h],m,a)}return p}function vm(n,r=[],i=[],a="",l=!1){let c=(f,p,h=l,m)=>{let w={relativePath:m===void 0?f.path||"":m,caseSensitive:f.caseSensitive===!0,childrenIndex:p,route:f};if(w.relativePath.startsWith("/")){if(!w.relativePath.startsWith(a)&&h)return;$e(w.relativePath.startsWith(a),`Absolute route path "${w.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),w.relativePath=w.relativePath.slice(a.length)}let x=Jn([a,w.relativePath]),C=i.concat(w);f.children&&f.children.length>0&&($e(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),vm(f.children,r,C,x,h)),!(f.path==null&&!f.index)&&r.push({path:x,score:T0(x,f.index),routesMeta:C})};return n.forEach((f,p)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))c(f,p);else for(let m of gm(f.path))c(f,p,!0,m)}),r}function gm(n){let r=n.split("/");if(r.length===0)return[];let[i,...a]=r,l=i.endsWith("?"),c=i.replace(/\?$/,"");if(a.length===0)return l?[c,""]:[c];let f=gm(a.join("/")),p=[];return p.push(...f.map(h=>h===""?c:[c,h].join("/"))),l&&p.push(...f),p.map(h=>n.startsWith("/")&&h===""?"/":h)}function k0(n){n.sort((r,i)=>r.score!==i.score?i.score-r.score:O0(r.routesMeta.map(a=>a.childrenIndex),i.routesMeta.map(a=>a.childrenIndex)))}var C0=/^:[\w-]+$/,E0=3,b0=2,R0=1,P0=10,M0=-2,ah=n=>n==="*";function T0(n,r){let i=n.split("/"),a=i.length;return i.some(ah)&&(a+=M0),r&&(a+=b0),i.filter(l=>!ah(l)).reduce((l,c)=>l+(C0.test(c)?E0:c===""?R0:P0),a)}function O0(n,r){return n.length===r.length&&n.slice(0,-1).every((a,l)=>a===r[l])?n[n.length-1]-r[r.length-1]:0}function _0(n,r,i=!1){let{routesMeta:a}=n,l={},c="/",f=[];for(let p=0;p<a.length;++p){let h=a[p],m=p===a.length-1,w=c==="/"?r:r.slice(c.length)||"/",x=Xa({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},w),C=h.route;if(!x&&m&&i&&!a[a.length-1].route.index&&(x=Xa({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},w)),!x)return null;Object.assign(l,x.params),f.push({params:l,pathname:Jn([c,x.pathname]),pathnameBase:z0(Jn([c,x.pathnameBase])),route:C}),x.pathnameBase!=="/"&&(c=Jn([c,x.pathnameBase]))}return f}function Xa(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[i,a]=N0(n.path,n.caseSensitive,n.end),l=r.match(i);if(!l)return null;let c=l[0],f=c.replace(/(.)\/+$/,"$1"),p=l.slice(1);return{params:a.reduce((m,{paramName:w,isOptional:x},C)=>{if(w==="*"){let O=p[C]||"";f=c.slice(0,c.length-O.length).replace(/(.)\/+$/,"$1")}const v=p[C];return x&&!v?m[w]=void 0:m[w]=(v||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:f,pattern:n}}function N0(n,r=!1,i=!0){pn(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let a=[],l="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,h)=>(a.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(a.push({paramName:"*"}),l+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?l+="\\/*$":n!==""&&n!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,r?void 0:"i"),a]}function L0(n){try{return n.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return pn(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),n}}function tr(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let i=r.endsWith("/")?r.length-1:r.length,a=n.charAt(i);return a&&a!=="/"?null:n.slice(i)||"/"}var A0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function I0(n,r="/"){let{pathname:i,search:a="",hash:l=""}=typeof n=="string"?hi(n):n,c;return i?(i=i.replace(/\/\/+/g,"/"),i.startsWith("/")?c=lh(i.substring(1),"/"):c=lh(i,r)):c=r,{pathname:c,search:F0(a),hash:j0(l)}}function lh(n,r){let i=r.replace(/\/+$/,"").split("/");return n.split("/").forEach(l=>{l===".."?i.length>1&&i.pop():l!=="."&&i.push(l)}),i.length>1?i.join("/"):"/"}function rc(n,r,i,a){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function D0(n){return n.filter((r,i)=>i===0||r.route.path&&r.route.path.length>0)}function Kc(n){let r=D0(n);return r.map((i,a)=>a===r.length-1?i.pathname:i.pathnameBase)}function qc(n,r,i,a=!1){let l;typeof n=="string"?l=hi(n):(l={...n},$e(!l.pathname||!l.pathname.includes("?"),rc("?","pathname","search",l)),$e(!l.pathname||!l.pathname.includes("#"),rc("#","pathname","hash",l)),$e(!l.search||!l.search.includes("#"),rc("#","search","hash",l)));let c=n===""||l.pathname==="",f=c?"/":l.pathname,p;if(f==null)p=i;else{let x=r.length-1;if(!a&&f.startsWith("..")){let C=f.split("/");for(;C[0]==="..";)C.shift(),x-=1;l.pathname=C.join("/")}p=x>=0?r[x]:"/"}let h=I0(l,p),m=f&&f!=="/"&&f.endsWith("/"),w=(c||f===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(m||w)&&(h.pathname+="/"),h}var Jn=n=>n.join("/").replace(/\/\/+/g,"/"),z0=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),F0=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,j0=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,B0=class{constructor(n,r,i,a=!1){this.status=n,this.statusText=r||"",this.internal=a,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function U0(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function H0(n){return n.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var wm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function xm(n,r){let i=n;if(typeof i!="string"||!A0.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let a=i,l=!1;if(wm)try{let c=new URL(window.location.href),f=i.startsWith("//")?new URL(c.protocol+i):new URL(i),p=tr(f.pathname,r);f.origin===c.origin&&p!=null?i=p+f.search+f.hash:l=!0}catch{pn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:l,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Sm=["POST","PUT","PATCH","DELETE"];new Set(Sm);var $0=["GET",...Sm];new Set($0);var mi=g.createContext(null);mi.displayName="DataRouter";var sl=g.createContext(null);sl.displayName="DataRouterState";var V0=g.createContext(!1),km=g.createContext({isTransitioning:!1});km.displayName="ViewTransition";var W0=g.createContext(new Map);W0.displayName="Fetchers";var Q0=g.createContext(null);Q0.displayName="Await";var Ut=g.createContext(null);Ut.displayName="Navigation";var gs=g.createContext(null);gs.displayName="Location";var yn=g.createContext({outlet:null,matches:[],isDataRoute:!1});yn.displayName="Route";var Yc=g.createContext(null);Yc.displayName="RouteError";var Cm="REACT_ROUTER_ERROR",K0="REDIRECT",q0="ROUTE_ERROR_RESPONSE";function Y0(n){if(n.startsWith(`${Cm}:${K0}:{`))try{let r=JSON.parse(n.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function G0(n){if(n.startsWith(`${Cm}:${q0}:{`))try{let r=JSON.parse(n.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new B0(r.status,r.statusText,r.data)}catch{}}function X0(n,{relative:r}={}){$e(yi(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:a}=g.useContext(Ut),{hash:l,pathname:c,search:f}=ws(n,{relative:r}),p=c;return i!=="/"&&(p=c==="/"?i:Jn([i,c])),a.createHref({pathname:p,search:f,hash:l})}function yi(){return g.useContext(gs)!=null}function Hr(){return $e(yi(),"useLocation() may be used only in the context of a <Router> component."),g.useContext(gs).location}var Em="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function bm(n){g.useContext(Ut).static||g.useLayoutEffect(n)}function Rm(){let{isDataRoute:n}=g.useContext(yn);return n?c1():Z0()}function Z0(){$e(yi(),"useNavigate() may be used only in the context of a <Router> component.");let n=g.useContext(mi),{basename:r,navigator:i}=g.useContext(Ut),{matches:a}=g.useContext(yn),{pathname:l}=Hr(),c=JSON.stringify(Kc(a)),f=g.useRef(!1);return bm(()=>{f.current=!0}),g.useCallback((h,m={})=>{if(pn(f.current,Em),!f.current)return;if(typeof h=="number"){i.go(h);return}let w=qc(h,JSON.parse(c),l,m.relative==="path");n==null&&r!=="/"&&(w.pathname=w.pathname==="/"?r:Jn([r,w.pathname])),(m.replace?i.replace:i.push)(w,m.state,m)},[r,i,c,l,n])}g.createContext(null);function Yk(){let{matches:n}=g.useContext(yn),r=n[n.length-1];return r?r.params:{}}function ws(n,{relative:r}={}){let{matches:i}=g.useContext(yn),{pathname:a}=Hr(),l=JSON.stringify(Kc(i));return g.useMemo(()=>qc(n,JSON.parse(l),a,r==="path"),[n,l,a,r])}function J0(n,r){return Pm(n,r)}function Pm(n,r,i,a,l){var T;$e(yi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=g.useContext(Ut),{matches:f}=g.useContext(yn),p=f[f.length-1],h=p?p.params:{},m=p?p.pathname:"/",w=p?p.pathnameBase:"/",x=p&&p.route;{let R=x&&x.path||"";Tm(m,!x||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${R}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
50
|
-
|
|
51
|
-
Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let C=Hr(),v;if(r){let R=typeof r=="string"?hi(r):r;$e(w==="/"||((T=R.pathname)==null?void 0:T.startsWith(w)),`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 "${w}" but pathname "${R.pathname}" was given in the \`location\` prop.`),v=R}else v=C;let O=v.pathname||"/",S=O;if(w!=="/"){let R=w.replace(/^\//,"").split("/");S="/"+O.replace(/^\//,"").split("/").slice(R.length).join("/")}let k=ym(n,{pathname:S});pn(x||k!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),pn(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.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 P=o1(k&&k.map(R=>Object.assign({},R,{params:Object.assign({},h,R.params),pathname:Jn([w,c.encodeLocation?c.encodeLocation(R.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?w:Jn([w,c.encodeLocation?c.encodeLocation(R.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),f,i,a,l);return r&&P?g.createElement(gs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},P):P}function e1(){let n=u1(),r=U0(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,a="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:a},c={padding:"2px 4px",backgroundColor:a},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:c},"ErrorBoundary")," or"," ",g.createElement("code",{style:c},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},r),i?g.createElement("pre",{style:l},i):null,f)}var t1=g.createElement(e1,null),Mm=class extends g.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,r){return r.location!==n.location||r.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:r.error,location:r.location,revalidation:n.revalidation||r.revalidation}}componentDidCatch(n,r){this.props.onError?this.props.onError(n,r):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const i=G0(n.digest);i&&(n=i)}let r=n!==void 0?g.createElement(yn.Provider,{value:this.props.routeContext},g.createElement(Yc.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?g.createElement(n1,{error:n},r):r}};Mm.contextType=V0;var oc=new WeakMap;function n1({children:n,error:r}){let{basename:i}=g.useContext(Ut);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let a=Y0(r.digest);if(a){let l=oc.get(r);if(l)throw l;let c=xm(a.location,i);if(wm&&!oc.get(r))if(c.isExternal||a.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:a.replace}));throw oc.set(r,f),f}return g.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return n}function r1({routeContext:n,match:r,children:i}){let a=g.useContext(mi);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),g.createElement(yn.Provider,{value:n},i)}function o1(n,r=[],i=null,a=null,l=null){if(n==null){if(!i)return null;if(i.errors)n=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)n=i.matches;else return null}let c=n,f=i==null?void 0:i.errors;if(f!=null){let w=c.findIndex(x=>x.route.id&&(f==null?void 0:f[x.route.id])!==void 0);$e(w>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),c=c.slice(0,Math.min(c.length,w+1))}let p=!1,h=-1;if(i)for(let w=0;w<c.length;w++){let x=c[w];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(h=w),x.route.id){let{loaderData:C,errors:v}=i,O=x.route.loader&&!C.hasOwnProperty(x.route.id)&&(!v||v[x.route.id]===void 0);if(x.route.lazy||O){p=!0,h>=0?c=c.slice(0,h+1):c=[c[0]];break}}}let m=i&&a?(w,x)=>{var C,v;a(w,{location:i.location,params:((v=(C=i.matches)==null?void 0:C[0])==null?void 0:v.params)??{},unstable_pattern:H0(i.matches),errorInfo:x})}:void 0;return c.reduceRight((w,x,C)=>{let v,O=!1,S=null,k=null;i&&(v=f&&x.route.id?f[x.route.id]:void 0,S=x.route.errorElement||t1,p&&(h<0&&C===0?(Tm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),O=!0,k=null):h===C&&(O=!0,k=x.route.hydrateFallbackElement||null)));let P=r.concat(c.slice(0,C+1)),T=()=>{let R;return v?R=S:O?R=k:x.route.Component?R=g.createElement(x.route.Component,null):x.route.element?R=x.route.element:R=w,g.createElement(r1,{match:x,routeContext:{outlet:w,matches:P,isDataRoute:i!=null},children:R})};return i&&(x.route.ErrorBoundary||x.route.errorElement||C===0)?g.createElement(Mm,{location:i.location,revalidation:i.revalidation,component:S,error:v,children:T(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:m}):T()},null)}function Gc(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function i1(n){let r=g.useContext(mi);return $e(r,Gc(n)),r}function s1(n){let r=g.useContext(sl);return $e(r,Gc(n)),r}function a1(n){let r=g.useContext(yn);return $e(r,Gc(n)),r}function Xc(n){let r=a1(n),i=r.matches[r.matches.length-1];return $e(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function l1(){return Xc("useRouteId")}function u1(){var a;let n=g.useContext(Yc),r=s1("useRouteError"),i=Xc("useRouteError");return n!==void 0?n:(a=r.errors)==null?void 0:a[i]}function c1(){let{router:n}=i1("useNavigate"),r=Xc("useNavigate"),i=g.useRef(!1);return bm(()=>{i.current=!0}),g.useCallback(async(l,c={})=>{pn(i.current,Em),i.current&&(typeof l=="number"?await n.navigate(l):await n.navigate(l,{fromRouteId:r,...c}))},[n,r])}var uh={};function Tm(n,r,i){!r&&!uh[n]&&(uh[n]=!0,pn(!1,i))}g.memo(d1);function d1({routes:n,future:r,state:i,onError:a}){return Pm(n,void 0,i,a,r)}function Gk({to:n,replace:r,state:i,relative:a}){$e(yi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=g.useContext(Ut);pn(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=g.useContext(yn),{pathname:f}=Hr(),p=Rm(),h=qc(n,Kc(c),f,a==="path"),m=JSON.stringify(h);return g.useEffect(()=>{p(JSON.parse(m),{replace:r,state:i,relative:a})},[p,m,a,r,i]),null}function f1(n){$e(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function p1({basename:n="/",children:r=null,location:i,navigationType:a="POP",navigator:l,static:c=!1,unstable_useTransitions:f}){$e(!yi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=n.replace(/^\/*/,"/"),h=g.useMemo(()=>({basename:p,navigator:l,static:c,unstable_useTransitions:f,future:{}}),[p,l,c,f]);typeof i=="string"&&(i=hi(i));let{pathname:m="/",search:w="",hash:x="",state:C=null,key:v="default"}=i,O=g.useMemo(()=>{let S=tr(m,p);return S==null?null:{location:{pathname:S,search:w,hash:x,state:C,key:v},navigationType:a}},[p,m,w,x,C,v,a]);return pn(O!=null,`<Router basename="${p}"> is not able to match the URL "${m}${w}${x}" because it does not start with the basename, so the <Router> won't render anything.`),O==null?null:g.createElement(Ut.Provider,{value:h},g.createElement(gs.Provider,{children:r,value:O}))}function Xk({children:n,location:r}){return J0(vc(n),r)}function vc(n,r=[]){let i=[];return g.Children.forEach(n,(a,l)=>{if(!g.isValidElement(a))return;let c=[...r,l];if(a.type===g.Fragment){i.push.apply(i,vc(a.props.children,c));return}$e(a.type===f1,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),$e(!a.props.index||!a.props.children,"An index route cannot have child routes.");let f={id:a.props.id||c.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(f.children=vc(a.props.children,c)),i.push(f)}),i}var Wa="get",Qa="application/x-www-form-urlencoded";function al(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function h1(n){return al(n)&&n.tagName.toLowerCase()==="button"}function m1(n){return al(n)&&n.tagName.toLowerCase()==="form"}function y1(n){return al(n)&&n.tagName.toLowerCase()==="input"}function v1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function g1(n,r){return n.button===0&&(!r||r==="_self")&&!v1(n)}var za=null;function w1(){if(za===null)try{new FormData(document.createElement("form"),0),za=!1}catch{za=!0}return za}var x1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ic(n){return n!=null&&!x1.has(n)?(pn(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Qa}"`),null):n}function S1(n,r){let i,a,l,c,f;if(m1(n)){let p=n.getAttribute("action");a=p?tr(p,r):null,i=n.getAttribute("method")||Wa,l=ic(n.getAttribute("enctype"))||Qa,c=new FormData(n)}else if(h1(n)||y1(n)&&(n.type==="submit"||n.type==="image")){let p=n.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=n.getAttribute("formaction")||p.getAttribute("action");if(a=h?tr(h,r):null,i=n.getAttribute("formmethod")||p.getAttribute("method")||Wa,l=ic(n.getAttribute("formenctype"))||ic(p.getAttribute("enctype"))||Qa,c=new FormData(p,n),!w1()){let{name:m,type:w,value:x}=n;if(w==="image"){let C=m?`${m}.`:"";c.append(`${C}x`,"0"),c.append(`${C}y`,"0")}else m&&c.append(m,x)}}else{if(al(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Wa,a=null,l=Qa,f=n}return c&&l==="text/plain"&&(f=c,c=void 0),{action:a,method:i.toLowerCase(),encType:l,formData:c,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Zc(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function k1(n,r,i,a){let l=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return i?l.pathname.endsWith("/")?l.pathname=`${l.pathname}_.${a}`:l.pathname=`${l.pathname}.${a}`:l.pathname==="/"?l.pathname=`_root.${a}`:r&&tr(l.pathname,r)==="/"?l.pathname=`${r.replace(/\/$/,"")}/_root.${a}`:l.pathname=`${l.pathname.replace(/\/$/,"")}.${a}`,l}async function C1(n,r){if(n.id in r)return r[n.id];try{let i=await import(n.module);return r[n.id]=i,i}catch(i){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function E1(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function b1(n,r,i){let a=await Promise.all(n.map(async l=>{let c=r.routes[l.route.id];if(c){let f=await C1(c,i);return f.links?f.links():[]}return[]}));return T1(a.flat(1).filter(E1).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function ch(n,r,i,a,l,c){let f=(h,m)=>i[m]?h.route.id!==i[m].route.id:!0,p=(h,m)=>{var w;return i[m].pathname!==h.pathname||((w=i[m].route.path)==null?void 0:w.endsWith("*"))&&i[m].params["*"]!==h.params["*"]};return c==="assets"?r.filter((h,m)=>f(h,m)||p(h,m)):c==="data"?r.filter((h,m)=>{var x;let w=a.routes[h.route.id];if(!w||!w.hasLoader)return!1;if(f(h,m)||p(h,m))return!0;if(h.route.shouldRevalidate){let C=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((x=i[0])==null?void 0:x.params)||{},nextUrl:new URL(n,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof C=="boolean")return C}return!0}):[]}function R1(n,r,{includeHydrateFallback:i}={}){return P1(n.map(a=>{let l=r.routes[a.route.id];if(!l)return[];let c=[l.module];return l.clientActionModule&&(c=c.concat(l.clientActionModule)),l.clientLoaderModule&&(c=c.concat(l.clientLoaderModule)),i&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function P1(n){return[...new Set(n)]}function M1(n){let r={},i=Object.keys(n).sort();for(let a of i)r[a]=n[a];return r}function T1(n,r){let i=new Set;return new Set(r),n.reduce((a,l)=>{let c=JSON.stringify(M1(l));return i.has(c)||(i.add(c),a.push({key:c,link:l})),a},[])}function Om(){let n=g.useContext(mi);return Zc(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function O1(){let n=g.useContext(sl);return Zc(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Jc=g.createContext(void 0);Jc.displayName="FrameworkContext";function _m(){let n=g.useContext(Jc);return Zc(n,"You must render this element inside a <HydratedRouter> element"),n}function _1(n,r){let i=g.useContext(Jc),[a,l]=g.useState(!1),[c,f]=g.useState(!1),{onFocus:p,onBlur:h,onMouseEnter:m,onMouseLeave:w,onTouchStart:x}=r,C=g.useRef(null);g.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let S=P=>{P.forEach(T=>{f(T.isIntersecting)})},k=new IntersectionObserver(S,{threshold:.5});return C.current&&k.observe(C.current),()=>{k.disconnect()}}},[n]),g.useEffect(()=>{if(a){let S=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(S)}}},[a]);let v=()=>{l(!0)},O=()=>{l(!1),f(!1)};return i?n!=="intent"?[c,C,{}]:[c,C,{onFocus:is(p,v),onBlur:is(h,O),onMouseEnter:is(m,v),onMouseLeave:is(w,O),onTouchStart:is(x,v)}]:[!1,C,{}]}function is(n,r){return i=>{n&&n(i),i.defaultPrevented||r(i)}}function N1({page:n,...r}){let{router:i}=Om(),a=g.useMemo(()=>ym(i.routes,n,i.basename),[i.routes,n,i.basename]);return a?g.createElement(A1,{page:n,matches:a,...r}):null}function L1(n){let{manifest:r,routeModules:i}=_m(),[a,l]=g.useState([]);return g.useEffect(()=>{let c=!1;return b1(n,r,i).then(f=>{c||l(f)}),()=>{c=!0}},[n,r,i]),a}function A1({page:n,matches:r,...i}){let a=Hr(),{future:l,manifest:c,routeModules:f}=_m(),{basename:p}=Om(),{loaderData:h,matches:m}=O1(),w=g.useMemo(()=>ch(n,r,m,c,a,"data"),[n,r,m,c,a]),x=g.useMemo(()=>ch(n,r,m,c,a,"assets"),[n,r,m,c,a]),C=g.useMemo(()=>{if(n===a.pathname+a.search+a.hash)return[];let S=new Set,k=!1;if(r.forEach(T=>{var L;let R=c.routes[T.route.id];!R||!R.hasLoader||(!w.some(F=>F.route.id===T.route.id)&&T.route.id in h&&((L=f[T.route.id])!=null&&L.shouldRevalidate)||R.hasClientLoader?k=!0:S.add(T.route.id))}),S.size===0)return[];let P=k1(n,p,l.unstable_trailingSlashAwareDataRequests,"data");return k&&S.size>0&&P.searchParams.set("_routes",r.filter(T=>S.has(T.route.id)).map(T=>T.route.id).join(",")),[P.pathname+P.search]},[p,l.unstable_trailingSlashAwareDataRequests,h,a,c,w,r,n,f]),v=g.useMemo(()=>R1(x,c),[x,c]),O=L1(x);return g.createElement(g.Fragment,null,C.map(S=>g.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...i})),v.map(S=>g.createElement("link",{key:S,rel:"modulepreload",href:S,...i})),O.map(({key:S,link:k})=>g.createElement("link",{key:S,nonce:i.nonce,...k,crossOrigin:k.crossOrigin??i.crossOrigin})))}function I1(...n){return r=>{n.forEach(i=>{typeof i=="function"?i(r):i!=null&&(i.current=r)})}}var D1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{D1&&(window.__reactRouterVersion="7.13.0")}catch{}function Zk({basename:n,children:r,unstable_useTransitions:i,window:a}){let l=g.useRef();l.current==null&&(l.current=v0({window:a,v5Compat:!0}));let c=l.current,[f,p]=g.useState({action:c.action,location:c.location}),h=g.useCallback(m=>{i===!1?p(m):g.startTransition(()=>p(m))},[i]);return g.useLayoutEffect(()=>c.listen(h),[c,h]),g.createElement(p1,{basename:n,children:r,location:f.location,navigationType:f.action,navigator:c,unstable_useTransitions:i})}var Nm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Lm=g.forwardRef(function({onClick:r,discover:i="render",prefetch:a="none",relative:l,reloadDocument:c,replace:f,state:p,target:h,to:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:C,...v},O){let{basename:S,unstable_useTransitions:k}=g.useContext(Ut),P=typeof m=="string"&&Nm.test(m),T=xm(m,S);m=T.to;let R=X0(m,{relative:l}),[L,F,U]=_1(a,v),H=B1(m,{replace:f,state:p,target:h,preventScrollReset:w,relative:l,viewTransition:x,unstable_defaultShouldRevalidate:C,unstable_useTransitions:k});function q(te){r&&r(te),te.defaultPrevented||H(te)}let Z=g.createElement("a",{...v,...U,href:T.absoluteURL||R,onClick:T.isExternal||c?r:q,ref:I1(O,F),target:h,"data-discover":!P&&i==="render"?"true":void 0});return L&&!P?g.createElement(g.Fragment,null,Z,g.createElement(N1,{page:R})):Z});Lm.displayName="Link";var z1=g.forwardRef(function({"aria-current":r="page",caseSensitive:i=!1,className:a="",end:l=!1,style:c,to:f,viewTransition:p,children:h,...m},w){let x=ws(f,{relative:m.relative}),C=Hr(),v=g.useContext(sl),{navigator:O,basename:S}=g.useContext(Ut),k=v!=null&&W1(x)&&p===!0,P=O.encodeLocation?O.encodeLocation(x).pathname:x.pathname,T=C.pathname,R=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(T=T.toLowerCase(),R=R?R.toLowerCase():null,P=P.toLowerCase()),R&&S&&(R=tr(R,S)||R);const L=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let F=T===P||!l&&T.startsWith(P)&&T.charAt(L)==="/",U=R!=null&&(R===P||!l&&R.startsWith(P)&&R.charAt(P.length)==="/"),H={isActive:F,isPending:U,isTransitioning:k},q=F?r:void 0,Z;typeof a=="function"?Z=a(H):Z=[a,F?"active":null,U?"pending":null,k?"transitioning":null].filter(Boolean).join(" ");let te=typeof c=="function"?c(H):c;return g.createElement(Lm,{...m,"aria-current":q,className:Z,ref:w,style:te,to:f,viewTransition:p},typeof h=="function"?h(H):h)});z1.displayName="NavLink";var F1=g.forwardRef(({discover:n="render",fetcherKey:r,navigate:i,reloadDocument:a,replace:l,state:c,method:f=Wa,action:p,onSubmit:h,relative:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:C,...v},O)=>{let{unstable_useTransitions:S}=g.useContext(Ut),k=$1(),P=V1(p,{relative:m}),T=f.toLowerCase()==="get"?"get":"post",R=typeof p=="string"&&Nm.test(p),L=F=>{if(h&&h(F),F.defaultPrevented)return;F.preventDefault();let U=F.nativeEvent.submitter,H=(U==null?void 0:U.getAttribute("formmethod"))||f,q=()=>k(U||F.currentTarget,{fetcherKey:r,method:H,navigate:i,replace:l,state:c,relative:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:C});S&&i!==!1?g.startTransition(()=>q()):q()};return g.createElement("form",{ref:O,method:T,action:P,onSubmit:a?h:L,...v,"data-discover":!R&&n==="render"?"true":void 0})});F1.displayName="Form";function j1(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Am(n){let r=g.useContext(mi);return $e(r,j1(n)),r}function B1(n,{target:r,replace:i,state:a,preventScrollReset:l,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:h}={}){let m=Rm(),w=Hr(),x=ws(n,{relative:c});return g.useCallback(C=>{if(g1(C,r)){C.preventDefault();let v=i!==void 0?i:cs(w)===cs(x),O=()=>m(n,{replace:v,state:a,preventScrollReset:l,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p});h?g.startTransition(()=>O()):O()}},[w,m,x,i,a,r,n,l,c,f,p,h])}var U1=0,H1=()=>`__${String(++U1)}__`;function $1(){let{router:n}=Am("useSubmit"),{basename:r}=g.useContext(Ut),i=l1(),a=n.fetch,l=n.navigate;return g.useCallback(async(c,f={})=>{let{action:p,method:h,encType:m,formData:w,body:x}=S1(c,r);if(f.navigate===!1){let C=f.fetcherKey||H1();await a(C,i,f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||m,flushSync:f.flushSync})}else await l(f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||m,replace:f.replace,state:f.state,fromRouteId:i,flushSync:f.flushSync,viewTransition:f.viewTransition})},[a,l,r,i])}function V1(n,{relative:r}={}){let{basename:i}=g.useContext(Ut),a=g.useContext(yn);$e(a,"useFormAction must be used inside a RouteContext");let[l]=a.matches.slice(-1),c={...ws(n||".",{relative:r})},f=Hr();if(n==null){c.search=f.search;let p=new URLSearchParams(c.search),h=p.getAll("index");if(h.some(w=>w==="")){p.delete("index"),h.filter(x=>x).forEach(x=>p.append("index",x));let w=p.toString();c.search=w?`?${w}`:""}}return(!n||n===".")&&l.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:Jn([i,c.pathname])),cs(c)}function W1(n,{relative:r}={}){let i=g.useContext(km);$e(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=Am("useViewTransitionState"),l=ws(n,{relative:r});if(!i.isTransitioning)return!1;let c=tr(i.currentLocation.pathname,a)||i.currentLocation.pathname,f=tr(i.nextLocation.pathname,a)||i.nextLocation.pathname;return Xa(l.pathname,f)!=null||Xa(l.pathname,c)!=null}var xs=mm();const Im=pm(xs);var vi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Q1={setTimeout:(n,r)=>setTimeout(n,r),clearTimeout:n=>clearTimeout(n),setInterval:(n,r)=>setInterval(n,r),clearInterval:n=>clearInterval(n)},Or,Wc,nm,K1=(nm=class{constructor(){me(this,Or,Q1);me(this,Wc,!1)}setTimeoutProvider(n){J(this,Or,n)}setTimeout(n,r){return b(this,Or).setTimeout(n,r)}clearTimeout(n){b(this,Or).clearTimeout(n)}setInterval(n,r){return b(this,Or).setInterval(n,r)}clearInterval(n){b(this,Or).clearInterval(n)}},Or=new WeakMap,Wc=new WeakMap,nm),io=new K1;function q1(n){setTimeout(n,0)}var yo=typeof window>"u"||"Deno"in globalThis;function kt(){}function Y1(n,r){return typeof n=="function"?n(r):n}function gc(n){return typeof n=="number"&&n>=0&&n!==1/0}function Dm(n,r){return Math.max(n+(r||0)-Date.now(),0)}function jr(n,r){return typeof n=="function"?n(r):n}function Gt(n,r){return typeof n=="function"?n(r):n}function dh(n,r){const{type:i="all",exact:a,fetchStatus:l,predicate:c,queryKey:f,stale:p}=n;if(f){if(a){if(r.queryHash!==ed(f,r.options))return!1}else if(!ds(r.queryKey,f))return!1}if(i!=="all"){const h=r.isActive();if(i==="active"&&!h||i==="inactive"&&h)return!1}return!(typeof p=="boolean"&&r.isStale()!==p||l&&l!==r.state.fetchStatus||c&&!c(r))}function fh(n,r){const{exact:i,status:a,predicate:l,mutationKey:c}=n;if(c){if(!r.options.mutationKey)return!1;if(i){if(vo(r.options.mutationKey)!==vo(c))return!1}else if(!ds(r.options.mutationKey,c))return!1}return!(a&&r.state.status!==a||l&&!l(r))}function ed(n,r){return((r==null?void 0:r.queryKeyHashFn)||vo)(n)}function vo(n){return JSON.stringify(n,(r,i)=>wc(i)?Object.keys(i).sort().reduce((a,l)=>(a[l]=i[l],a),{}):i)}function ds(n,r){return n===r?!0:typeof n!=typeof r?!1:n&&r&&typeof n=="object"&&typeof r=="object"?Object.keys(r).every(i=>ds(n[i],r[i])):!1}var G1=Object.prototype.hasOwnProperty;function zm(n,r,i=0){if(n===r)return n;if(i>500)return r;const a=ph(n)&&ph(r);if(!a&&!(wc(n)&&wc(r)))return r;const c=(a?n:Object.keys(n)).length,f=a?r:Object.keys(r),p=f.length,h=a?new Array(p):{};let m=0;for(let w=0;w<p;w++){const x=a?w:f[w],C=n[x],v=r[x];if(C===v){h[x]=C,(a?w<c:G1.call(n,x))&&m++;continue}if(C===null||v===null||typeof C!="object"||typeof v!="object"){h[x]=v;continue}const O=zm(C,v,i+1);h[x]=O,O===C&&m++}return c===p&&m===c?n:h}function Za(n,r){if(!r||Object.keys(n).length!==Object.keys(r).length)return!1;for(const i in n)if(n[i]!==r[i])return!1;return!0}function ph(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function wc(n){if(!hh(n))return!1;const r=n.constructor;if(r===void 0)return!0;const i=r.prototype;return!(!hh(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function hh(n){return Object.prototype.toString.call(n)==="[object Object]"}function X1(n){return new Promise(r=>{io.setTimeout(r,n)})}function xc(n,r,i){return typeof i.structuralSharing=="function"?i.structuralSharing(n,r):i.structuralSharing!==!1?zm(n,r):r}function Z1(n,r,i=0){const a=[...n,r];return i&&a.length>i?a.slice(1):a}function J1(n,r,i=0){const a=[r,...n];return i&&a.length>i?a.slice(0,-1):a}var td=Symbol();function Fm(n,r){return!n.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!n.queryFn||n.queryFn===td?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function nd(n,r){return typeof n=="function"?n(...r):!!n}function ew(n,r,i){let a=!1,l;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(l??(l=r()),a||(a=!0,l.aborted?i():l.addEventListener("abort",i,{once:!0})),l)}),n}var so,_r,ti,rm,tw=(rm=class extends vi{constructor(){super();me(this,so);me(this,_r);me(this,ti);J(this,ti,r=>{if(!yo&&window.addEventListener){const i=()=>r();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){b(this,_r)||this.setEventListener(b(this,ti))}onUnsubscribe(){var r;this.hasListeners()||((r=b(this,_r))==null||r.call(this),J(this,_r,void 0))}setEventListener(r){var i;J(this,ti,r),(i=b(this,_r))==null||i.call(this),J(this,_r,r(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(r){b(this,so)!==r&&(J(this,so,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(i=>{i(r)})}isFocused(){var r;return typeof b(this,so)=="boolean"?b(this,so):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},so=new WeakMap,_r=new WeakMap,ti=new WeakMap,rm),rd=new tw;function Sc(){let n,r;const i=new Promise((l,c)=>{n=l,r=c});i.status="pending",i.catch(()=>{});function a(l){Object.assign(i,l),delete i.resolve,delete i.reject}return i.resolve=l=>{a({status:"fulfilled",value:l}),n(l)},i.reject=l=>{a({status:"rejected",reason:l}),r(l)},i}var nw=q1;function rw(){let n=[],r=0,i=p=>{p()},a=p=>{p()},l=nw;const c=p=>{r?n.push(p):l(()=>{i(p)})},f=()=>{const p=n;n=[],p.length&&l(()=>{a(()=>{p.forEach(h=>{i(h)})})})};return{batch:p=>{let h;r++;try{h=p()}finally{r--,r||f()}return h},batchCalls:p=>(...h)=>{c(()=>{p(...h)})},schedule:c,setNotifyFunction:p=>{i=p},setBatchNotifyFunction:p=>{a=p},setScheduler:p=>{l=p}}}var nt=rw(),ni,Nr,ri,om,ow=(om=class extends vi{constructor(){super();me(this,ni,!0);me(this,Nr);me(this,ri);J(this,ri,r=>{if(!yo&&window.addEventListener){const i=()=>r(!0),a=()=>r(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",a)}}})}onSubscribe(){b(this,Nr)||this.setEventListener(b(this,ri))}onUnsubscribe(){var r;this.hasListeners()||((r=b(this,Nr))==null||r.call(this),J(this,Nr,void 0))}setEventListener(r){var i;J(this,ri,r),(i=b(this,Nr))==null||i.call(this),J(this,Nr,r(this.setOnline.bind(this)))}setOnline(r){b(this,ni)!==r&&(J(this,ni,r),this.listeners.forEach(a=>{a(r)}))}isOnline(){return b(this,ni)}},ni=new WeakMap,Nr=new WeakMap,ri=new WeakMap,om),Ja=new ow;function iw(n){return Math.min(1e3*2**n,3e4)}function jm(n){return(n??"online")==="online"?Ja.isOnline():!0}var kc=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function Bm(n){let r=!1,i=0,a;const l=Sc(),c=()=>l.status!=="pending",f=S=>{var k;if(!c()){const P=new kc(S);C(P),(k=n.onCancel)==null||k.call(n,P)}},p=()=>{r=!0},h=()=>{r=!1},m=()=>rd.isFocused()&&(n.networkMode==="always"||Ja.isOnline())&&n.canRun(),w=()=>jm(n.networkMode)&&n.canRun(),x=S=>{c()||(a==null||a(),l.resolve(S))},C=S=>{c()||(a==null||a(),l.reject(S))},v=()=>new Promise(S=>{var k;a=P=>{(c()||m())&&S(P)},(k=n.onPause)==null||k.call(n)}).then(()=>{var S;a=void 0,c()||(S=n.onContinue)==null||S.call(n)}),O=()=>{if(c())return;let S;const k=i===0?n.initialPromise:void 0;try{S=k??n.fn()}catch(P){S=Promise.reject(P)}Promise.resolve(S).then(x).catch(P=>{var U;if(c())return;const T=n.retry??(yo?0:3),R=n.retryDelay??iw,L=typeof R=="function"?R(i,P):R,F=T===!0||typeof T=="number"&&i<T||typeof T=="function"&&T(i,P);if(r||!F){C(P);return}i++,(U=n.onFail)==null||U.call(n,i,P),X1(L).then(()=>m()?void 0:v()).then(()=>{r?C(P):O()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(a==null||a(),l),cancelRetry:p,continueRetry:h,canStart:w,start:()=>(w()?O():v().then(O),l)}}var ao,im,Um=(im=class{constructor(){me(this,ao)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),gc(this.gcTime)&&J(this,ao,io.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(yo?1/0:300*1e3))}clearGcTimeout(){b(this,ao)&&(io.clearTimeout(b(this,ao)),J(this,ao,void 0))}},ao=new WeakMap,im),lo,oi,Yt,uo,st,ps,co,dn,qn,sm,sw=(sm=class extends Um{constructor(r){super();me(this,dn);me(this,lo);me(this,oi);me(this,Yt);me(this,uo);me(this,st);me(this,ps);me(this,co);J(this,co,!1),J(this,ps,r.defaultOptions),this.setOptions(r.options),this.observers=[],J(this,uo,r.client),J(this,Yt,b(this,uo).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,J(this,lo,yh(this.options)),this.state=r.state??b(this,lo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=b(this,st))==null?void 0:r.promise}setOptions(r){if(this.options={...b(this,ps),...r},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=yh(this.options);i.data!==void 0&&(this.setState(mh(i.data,i.dataUpdatedAt)),J(this,lo,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&b(this,Yt).remove(this)}setData(r,i){const a=xc(this.state.data,r,this.options);return Pe(this,dn,qn).call(this,{data:a,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),a}setState(r,i){Pe(this,dn,qn).call(this,{type:"setState",state:r,setStateOptions:i})}cancel(r){var a,l;const i=(a=b(this,st))==null?void 0:a.promise;return(l=b(this,st))==null||l.cancel(r),i?i.then(kt).catch(kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(b(this,lo))}isActive(){return this.observers.some(r=>Gt(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===td||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(r=>jr(r.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(r=0){return this.state.data===void 0?!0:r==="static"?!1:this.state.isInvalidated?!0:!Dm(this.state.dataUpdatedAt,r)}onFocus(){var i;const r=this.observers.find(a=>a.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(i=b(this,st))==null||i.continue()}onOnline(){var i;const r=this.observers.find(a=>a.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(i=b(this,st))==null||i.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),b(this,Yt).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(i=>i!==r),this.observers.length||(b(this,st)&&(b(this,co)?b(this,st).cancel({revert:!0}):b(this,st).cancelRetry()),this.scheduleGc()),b(this,Yt).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,dn,qn).call(this,{type:"invalidate"})}async fetch(r,i){var h,m,w,x,C,v,O,S,k,P,T,R;if(this.state.fetchStatus!=="idle"&&((h=b(this,st))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(b(this,st))return b(this,st).continueRetry(),b(this,st).promise}if(r&&this.setOptions(r),!this.options.queryFn){const L=this.observers.find(F=>F.options.queryFn);L&&this.setOptions(L.options)}const a=new AbortController,l=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>(J(this,co,!0),a.signal)})},c=()=>{const L=Fm(this.options,i),U=(()=>{const H={client:b(this,uo),queryKey:this.queryKey,meta:this.meta};return l(H),H})();return J(this,co,!1),this.options.persister?this.options.persister(L,U,this):L(U)},p=(()=>{const L={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:b(this,uo),state:this.state,fetchFn:c};return l(L),L})();(m=this.options.behavior)==null||m.onFetch(p,this),J(this,oi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=p.fetchOptions)==null?void 0:w.meta))&&Pe(this,dn,qn).call(this,{type:"fetch",meta:(x=p.fetchOptions)==null?void 0:x.meta}),J(this,st,Bm({initialPromise:i==null?void 0:i.initialPromise,fn:p.fetchFn,onCancel:L=>{L instanceof kc&&L.revert&&this.setState({...b(this,oi),fetchStatus:"idle"}),a.abort()},onFail:(L,F)=>{Pe(this,dn,qn).call(this,{type:"failed",failureCount:L,error:F})},onPause:()=>{Pe(this,dn,qn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,dn,qn).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0}));try{const L=await b(this,st).start();if(L===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(L),(v=(C=b(this,Yt).config).onSuccess)==null||v.call(C,L,this),(S=(O=b(this,Yt).config).onSettled)==null||S.call(O,L,this.state.error,this),L}catch(L){if(L instanceof kc){if(L.silent)return b(this,st).promise;if(L.revert){if(this.state.data===void 0)throw L;return this.state.data}}throw Pe(this,dn,qn).call(this,{type:"error",error:L}),(P=(k=b(this,Yt).config).onError)==null||P.call(k,L,this),(R=(T=b(this,Yt).config).onSettled)==null||R.call(T,this.state.data,L,this),L}finally{this.scheduleGc()}}},lo=new WeakMap,oi=new WeakMap,Yt=new WeakMap,uo=new WeakMap,st=new WeakMap,ps=new WeakMap,co=new WeakMap,dn=new WeakSet,qn=function(r){const i=a=>{switch(r.type){case"failed":return{...a,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...Hm(a.data,this.options),fetchMeta:r.meta??null};case"success":const l={...a,...mh(r.data,r.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return J(this,oi,r.manual?l:void 0),l;case"error":const c=r.error;return{...a,error:c,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...r.state}}};this.state=i(this.state),nt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),b(this,Yt).notify({query:this,type:"updated",action:r})})},sm);function Hm(n,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:jm(r.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function mh(n,r){return{data:n,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function yh(n){const r=typeof n.initialData=="function"?n.initialData():n.initialData,i=r!==void 0,a=i?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:i?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var _t,_e,hs,St,fo,ii,Yn,Lr,ms,si,ai,po,ho,Ar,li,Ie,ls,Cc,Ec,bc,Rc,Pc,Mc,Tc,$m,am,aw=(am=class extends vi{constructor(r,i){super();me(this,Ie);me(this,_t);me(this,_e);me(this,hs);me(this,St);me(this,fo);me(this,ii);me(this,Yn);me(this,Lr);me(this,ms);me(this,si);me(this,ai);me(this,po);me(this,ho);me(this,Ar);me(this,li,new Set);this.options=i,J(this,_t,r),J(this,Lr,null),J(this,Yn,Sc()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(b(this,_e).addObserver(this),vh(b(this,_e),this.options)?Pe(this,Ie,ls).call(this):this.updateResult(),Pe(this,Ie,Rc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Oc(b(this,_e),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Oc(b(this,_e),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Pe(this,Ie,Pc).call(this),Pe(this,Ie,Mc).call(this),b(this,_e).removeObserver(this)}setOptions(r){const i=this.options,a=b(this,_e);if(this.options=b(this,_t).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Gt(this.options.enabled,b(this,_e))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Pe(this,Ie,Tc).call(this),b(this,_e).setOptions(this.options),i._defaulted&&!Za(this.options,i)&&b(this,_t).getQueryCache().notify({type:"observerOptionsUpdated",query:b(this,_e),observer:this});const l=this.hasListeners();l&&gh(b(this,_e),a,this.options,i)&&Pe(this,Ie,ls).call(this),this.updateResult(),l&&(b(this,_e)!==a||Gt(this.options.enabled,b(this,_e))!==Gt(i.enabled,b(this,_e))||jr(this.options.staleTime,b(this,_e))!==jr(i.staleTime,b(this,_e)))&&Pe(this,Ie,Cc).call(this);const c=Pe(this,Ie,Ec).call(this);l&&(b(this,_e)!==a||Gt(this.options.enabled,b(this,_e))!==Gt(i.enabled,b(this,_e))||c!==b(this,Ar))&&Pe(this,Ie,bc).call(this,c)}getOptimisticResult(r){const i=b(this,_t).getQueryCache().build(b(this,_t),r),a=this.createResult(i,r);return uw(this,a)&&(J(this,St,a),J(this,ii,this.options),J(this,fo,b(this,_e).state)),a}getCurrentResult(){return b(this,St)}trackResult(r,i){return new Proxy(r,{get:(a,l)=>(this.trackProp(l),i==null||i(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&b(this,Yn).status==="pending"&&b(this,Yn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,l))})}trackProp(r){b(this,li).add(r)}getCurrentQuery(){return b(this,_e)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const i=b(this,_t).defaultQueryOptions(r),a=b(this,_t).getQueryCache().build(b(this,_t),i);return a.fetch().then(()=>this.createResult(a,i))}fetch(r){return Pe(this,Ie,ls).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),b(this,St)))}createResult(r,i){var Z;const a=b(this,_e),l=this.options,c=b(this,St),f=b(this,fo),p=b(this,ii),m=r!==a?r.state:b(this,hs),{state:w}=r;let x={...w},C=!1,v;if(i._optimisticResults){const te=this.hasListeners(),he=!te&&vh(r,i),X=te&&gh(r,a,i,l);(he||X)&&(x={...x,...Hm(w.data,r.options)}),i._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:O,errorUpdatedAt:S,status:k}=x;v=x.data;let P=!1;if(i.placeholderData!==void 0&&v===void 0&&k==="pending"){let te;c!=null&&c.isPlaceholderData&&i.placeholderData===(p==null?void 0:p.placeholderData)?(te=c.data,P=!0):te=typeof i.placeholderData=="function"?i.placeholderData((Z=b(this,ai))==null?void 0:Z.state.data,b(this,ai)):i.placeholderData,te!==void 0&&(k="success",v=xc(c==null?void 0:c.data,te,i),C=!0)}if(i.select&&v!==void 0&&!P)if(c&&v===(f==null?void 0:f.data)&&i.select===b(this,ms))v=b(this,si);else try{J(this,ms,i.select),v=i.select(v),v=xc(c==null?void 0:c.data,v,i),J(this,si,v),J(this,Lr,null)}catch(te){J(this,Lr,te)}b(this,Lr)&&(O=b(this,Lr),v=b(this,si),S=Date.now(),k="error");const T=x.fetchStatus==="fetching",R=k==="pending",L=k==="error",F=R&&T,U=v!==void 0,q={status:k,fetchStatus:x.fetchStatus,isPending:R,isSuccess:k==="success",isError:L,isInitialLoading:F,isLoading:F,data:v,dataUpdatedAt:x.dataUpdatedAt,error:O,errorUpdatedAt:S,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>m.dataUpdateCount||x.errorUpdateCount>m.errorUpdateCount,isFetching:T,isRefetching:T&&!R,isLoadingError:L&&!U,isPaused:x.fetchStatus==="paused",isPlaceholderData:C,isRefetchError:L&&U,isStale:od(r,i),refetch:this.refetch,promise:b(this,Yn),isEnabled:Gt(i.enabled,r)!==!1};if(this.options.experimental_prefetchInRender){const te=q.data!==void 0,he=q.status==="error"&&!te,X=xe=>{he?xe.reject(q.error):te&&xe.resolve(q.data)},ve=()=>{const xe=J(this,Yn,q.promise=Sc());X(xe)},de=b(this,Yn);switch(de.status){case"pending":r.queryHash===a.queryHash&&X(de);break;case"fulfilled":(he||q.data!==de.value)&&ve();break;case"rejected":(!he||q.error!==de.reason)&&ve();break}}return q}updateResult(){const r=b(this,St),i=this.createResult(b(this,_e),this.options);if(J(this,fo,b(this,_e).state),J(this,ii,this.options),b(this,fo).data!==void 0&&J(this,ai,b(this,_e)),Za(i,r))return;J(this,St,i);const a=()=>{if(!r)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!b(this,li).size)return!0;const f=new Set(c??b(this,li));return this.options.throwOnError&&f.add("error"),Object.keys(b(this,St)).some(p=>{const h=p;return b(this,St)[h]!==r[h]&&f.has(h)})};Pe(this,Ie,$m).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Pe(this,Ie,Rc).call(this)}},_t=new WeakMap,_e=new WeakMap,hs=new WeakMap,St=new WeakMap,fo=new WeakMap,ii=new WeakMap,Yn=new WeakMap,Lr=new WeakMap,ms=new WeakMap,si=new WeakMap,ai=new WeakMap,po=new WeakMap,ho=new WeakMap,Ar=new WeakMap,li=new WeakMap,Ie=new WeakSet,ls=function(r){Pe(this,Ie,Tc).call(this);let i=b(this,_e).fetch(this.options,r);return r!=null&&r.throwOnError||(i=i.catch(kt)),i},Cc=function(){Pe(this,Ie,Pc).call(this);const r=jr(this.options.staleTime,b(this,_e));if(yo||b(this,St).isStale||!gc(r))return;const a=Dm(b(this,St).dataUpdatedAt,r)+1;J(this,po,io.setTimeout(()=>{b(this,St).isStale||this.updateResult()},a))},Ec=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(b(this,_e)):this.options.refetchInterval)??!1},bc=function(r){Pe(this,Ie,Mc).call(this),J(this,Ar,r),!(yo||Gt(this.options.enabled,b(this,_e))===!1||!gc(b(this,Ar))||b(this,Ar)===0)&&J(this,ho,io.setInterval(()=>{(this.options.refetchIntervalInBackground||rd.isFocused())&&Pe(this,Ie,ls).call(this)},b(this,Ar)))},Rc=function(){Pe(this,Ie,Cc).call(this),Pe(this,Ie,bc).call(this,Pe(this,Ie,Ec).call(this))},Pc=function(){b(this,po)&&(io.clearTimeout(b(this,po)),J(this,po,void 0))},Mc=function(){b(this,ho)&&(io.clearInterval(b(this,ho)),J(this,ho,void 0))},Tc=function(){const r=b(this,_t).getQueryCache().build(b(this,_t),this.options);if(r===b(this,_e))return;const i=b(this,_e);J(this,_e,r),J(this,hs,r.state),this.hasListeners()&&(i==null||i.removeObserver(this),r.addObserver(this))},$m=function(r){nt.batch(()=>{r.listeners&&this.listeners.forEach(i=>{i(b(this,St))}),b(this,_t).getQueryCache().notify({query:b(this,_e),type:"observerResultsUpdated"})})},am);function lw(n,r){return Gt(r.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&r.retryOnMount===!1)}function vh(n,r){return lw(n,r)||n.state.data!==void 0&&Oc(n,r,r.refetchOnMount)}function Oc(n,r,i){if(Gt(r.enabled,n)!==!1&&jr(r.staleTime,n)!=="static"){const a=typeof i=="function"?i(n):i;return a==="always"||a!==!1&&od(n,r)}return!1}function gh(n,r,i,a){return(n!==r||Gt(a.enabled,n)===!1)&&(!i.suspense||n.state.status!=="error")&&od(n,i)}function od(n,r){return Gt(r.enabled,n)!==!1&&n.isStaleByTime(jr(r.staleTime,n))}function uw(n,r){return!Za(n.getCurrentResult(),r)}function wh(n){return{onFetch:(r,i)=>{var w,x,C,v,O;const a=r.options,l=(C=(x=(w=r.fetchOptions)==null?void 0:w.meta)==null?void 0:x.fetchMore)==null?void 0:C.direction,c=((v=r.state.data)==null?void 0:v.pages)||[],f=((O=r.state.data)==null?void 0:O.pageParams)||[];let p={pages:[],pageParams:[]},h=0;const m=async()=>{let S=!1;const k=R=>{ew(R,()=>r.signal,()=>S=!0)},P=Fm(r.options,r.fetchOptions),T=async(R,L,F)=>{if(S)return Promise.reject();if(L==null&&R.pages.length)return Promise.resolve(R);const H=(()=>{const he={client:r.client,queryKey:r.queryKey,pageParam:L,direction:F?"backward":"forward",meta:r.options.meta};return k(he),he})(),q=await P(H),{maxPages:Z}=r.options,te=F?J1:Z1;return{pages:te(R.pages,q,Z),pageParams:te(R.pageParams,L,Z)}};if(l&&c.length){const R=l==="backward",L=R?cw:xh,F={pages:c,pageParams:f},U=L(a,F);p=await T(F,U,R)}else{const R=n??c.length;do{const L=h===0?f[0]??a.initialPageParam:xh(a,p);if(h>0&&L==null)break;p=await T(p,L),h++}while(h<R)}return p};r.options.persister?r.fetchFn=()=>{var S,k;return(k=(S=r.options).persister)==null?void 0:k.call(S,m,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},i)}:r.fetchFn=m}}}function xh(n,{pages:r,pageParams:i}){const a=r.length-1;return r.length>0?n.getNextPageParam(r[a],r,i[a],i):void 0}function cw(n,{pages:r,pageParams:i}){var a;return r.length>0?(a=n.getPreviousPageParam)==null?void 0:a.call(n,r[0],r,i[0],i):void 0}var ys,On,yt,mo,_n,Mr,lm,dw=(lm=class extends Um{constructor(r){super();me(this,_n);me(this,ys);me(this,On);me(this,yt);me(this,mo);J(this,ys,r.client),this.mutationId=r.mutationId,J(this,yt,r.mutationCache),J(this,On,[]),this.state=r.state||Vm(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){b(this,On).includes(r)||(b(this,On).push(r),this.clearGcTimeout(),b(this,yt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){J(this,On,b(this,On).filter(i=>i!==r)),this.scheduleGc(),b(this,yt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){b(this,On).length||(this.state.status==="pending"?this.scheduleGc():b(this,yt).remove(this))}continue(){var r;return((r=b(this,mo))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var f,p,h,m,w,x,C,v,O,S,k,P,T,R,L,F,U,H;const i=()=>{Pe(this,_n,Mr).call(this,{type:"continue"})},a={client:b(this,ys),meta:this.options.meta,mutationKey:this.options.mutationKey};J(this,mo,Bm({fn:()=>this.options.mutationFn?this.options.mutationFn(r,a):Promise.reject(new Error("No mutationFn found")),onFail:(q,Z)=>{Pe(this,_n,Mr).call(this,{type:"failed",failureCount:q,error:Z})},onPause:()=>{Pe(this,_n,Mr).call(this,{type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>b(this,yt).canRun(this)}));const l=this.state.status==="pending",c=!b(this,mo).canStart();try{if(l)i();else{Pe(this,_n,Mr).call(this,{type:"pending",variables:r,isPaused:c}),b(this,yt).config.onMutate&&await b(this,yt).config.onMutate(r,this,a);const Z=await((p=(f=this.options).onMutate)==null?void 0:p.call(f,r,a));Z!==this.state.context&&Pe(this,_n,Mr).call(this,{type:"pending",context:Z,variables:r,isPaused:c})}const q=await b(this,mo).start();return await((m=(h=b(this,yt).config).onSuccess)==null?void 0:m.call(h,q,r,this.state.context,this,a)),await((x=(w=this.options).onSuccess)==null?void 0:x.call(w,q,r,this.state.context,a)),await((v=(C=b(this,yt).config).onSettled)==null?void 0:v.call(C,q,null,this.state.variables,this.state.context,this,a)),await((S=(O=this.options).onSettled)==null?void 0:S.call(O,q,null,r,this.state.context,a)),Pe(this,_n,Mr).call(this,{type:"success",data:q}),q}catch(q){try{await((P=(k=b(this,yt).config).onError)==null?void 0:P.call(k,q,r,this.state.context,this,a))}catch(Z){Promise.reject(Z)}try{await((R=(T=this.options).onError)==null?void 0:R.call(T,q,r,this.state.context,a))}catch(Z){Promise.reject(Z)}try{await((F=(L=b(this,yt).config).onSettled)==null?void 0:F.call(L,void 0,q,this.state.variables,this.state.context,this,a))}catch(Z){Promise.reject(Z)}try{await((H=(U=this.options).onSettled)==null?void 0:H.call(U,void 0,q,r,this.state.context,a))}catch(Z){Promise.reject(Z)}throw Pe(this,_n,Mr).call(this,{type:"error",error:q}),q}finally{b(this,yt).runNext(this)}}},ys=new WeakMap,On=new WeakMap,yt=new WeakMap,mo=new WeakMap,_n=new WeakSet,Mr=function(r){const i=a=>{switch(r.type){case"failed":return{...a,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...a,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:r.error,failureCount:a.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=i(this.state),nt.batch(()=>{b(this,On).forEach(a=>{a.onMutationUpdate(r)}),b(this,yt).notify({mutation:this,type:"updated",action:r})})},lm);function Vm(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Gn,fn,vs,um,fw=(um=class extends vi{constructor(r={}){super();me(this,Gn);me(this,fn);me(this,vs);this.config=r,J(this,Gn,new Set),J(this,fn,new Map),J(this,vs,0)}build(r,i,a){const l=new dw({client:r,mutationCache:this,mutationId:++Ia(this,vs)._,options:r.defaultMutationOptions(i),state:a});return this.add(l),l}add(r){b(this,Gn).add(r);const i=Fa(r);if(typeof i=="string"){const a=b(this,fn).get(i);a?a.push(r):b(this,fn).set(i,[r])}this.notify({type:"added",mutation:r})}remove(r){if(b(this,Gn).delete(r)){const i=Fa(r);if(typeof i=="string"){const a=b(this,fn).get(i);if(a)if(a.length>1){const l=a.indexOf(r);l!==-1&&a.splice(l,1)}else a[0]===r&&b(this,fn).delete(i)}}this.notify({type:"removed",mutation:r})}canRun(r){const i=Fa(r);if(typeof i=="string"){const a=b(this,fn).get(i),l=a==null?void 0:a.find(c=>c.state.status==="pending");return!l||l===r}else return!0}runNext(r){var a;const i=Fa(r);if(typeof i=="string"){const l=(a=b(this,fn).get(i))==null?void 0:a.find(c=>c!==r&&c.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){nt.batch(()=>{b(this,Gn).forEach(r=>{this.notify({type:"removed",mutation:r})}),b(this,Gn).clear(),b(this,fn).clear()})}getAll(){return Array.from(b(this,Gn))}find(r){const i={exact:!0,...r};return this.getAll().find(a=>fh(i,a))}findAll(r={}){return this.getAll().filter(i=>fh(r,i))}notify(r){nt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}resumePausedMutations(){const r=this.getAll().filter(i=>i.state.isPaused);return nt.batch(()=>Promise.all(r.map(i=>i.continue().catch(kt))))}},Gn=new WeakMap,fn=new WeakMap,vs=new WeakMap,um);function Fa(n){var r;return(r=n.options.scope)==null?void 0:r.id}var Xn,Ir,Nt,Zn,er,Ka,_c,cm,pw=(cm=class extends vi{constructor(i,a){super();me(this,er);me(this,Xn);me(this,Ir);me(this,Nt);me(this,Zn);J(this,Xn,i),this.setOptions(a),this.bindMethods(),Pe(this,er,Ka).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(i){var l;const a=this.options;this.options=b(this,Xn).defaultMutationOptions(i),Za(this.options,a)||b(this,Xn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:b(this,Nt),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&vo(a.mutationKey)!==vo(this.options.mutationKey)?this.reset():((l=b(this,Nt))==null?void 0:l.state.status)==="pending"&&b(this,Nt).setOptions(this.options)}onUnsubscribe(){var i;this.hasListeners()||(i=b(this,Nt))==null||i.removeObserver(this)}onMutationUpdate(i){Pe(this,er,Ka).call(this),Pe(this,er,_c).call(this,i)}getCurrentResult(){return b(this,Ir)}reset(){var i;(i=b(this,Nt))==null||i.removeObserver(this),J(this,Nt,void 0),Pe(this,er,Ka).call(this),Pe(this,er,_c).call(this)}mutate(i,a){var l;return J(this,Zn,a),(l=b(this,Nt))==null||l.removeObserver(this),J(this,Nt,b(this,Xn).getMutationCache().build(b(this,Xn),this.options)),b(this,Nt).addObserver(this),b(this,Nt).execute(i)}},Xn=new WeakMap,Ir=new WeakMap,Nt=new WeakMap,Zn=new WeakMap,er=new WeakSet,Ka=function(){var a;const i=((a=b(this,Nt))==null?void 0:a.state)??Vm();J(this,Ir,{...i,isPending:i.status==="pending",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset})},_c=function(i){nt.batch(()=>{var a,l,c,f,p,h,m,w;if(b(this,Zn)&&this.hasListeners()){const x=b(this,Ir).variables,C=b(this,Ir).context,v={client:b(this,Xn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((i==null?void 0:i.type)==="success"){try{(l=(a=b(this,Zn)).onSuccess)==null||l.call(a,i.data,x,C,v)}catch(O){Promise.reject(O)}try{(f=(c=b(this,Zn)).onSettled)==null||f.call(c,i.data,null,x,C,v)}catch(O){Promise.reject(O)}}else if((i==null?void 0:i.type)==="error"){try{(h=(p=b(this,Zn)).onError)==null||h.call(p,i.error,x,C,v)}catch(O){Promise.reject(O)}try{(w=(m=b(this,Zn)).onSettled)==null||w.call(m,void 0,i.error,x,C,v)}catch(O){Promise.reject(O)}}}this.listeners.forEach(x=>{x(b(this,Ir))})})},cm),Nn,dm,hw=(dm=class extends vi{constructor(r={}){super();me(this,Nn);this.config=r,J(this,Nn,new Map)}build(r,i,a){const l=i.queryKey,c=i.queryHash??ed(l,i);let f=this.get(c);return f||(f=new sw({client:r,queryKey:l,queryHash:c,options:r.defaultQueryOptions(i),state:a,defaultOptions:r.getQueryDefaults(l)}),this.add(f)),f}add(r){b(this,Nn).has(r.queryHash)||(b(this,Nn).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const i=b(this,Nn).get(r.queryHash);i&&(r.destroy(),i===r&&b(this,Nn).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){nt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return b(this,Nn).get(r)}getAll(){return[...b(this,Nn).values()]}find(r){const i={exact:!0,...r};return this.getAll().find(a=>dh(i,a))}findAll(r={}){const i=this.getAll();return Object.keys(r).length>0?i.filter(a=>dh(r,a)):i}notify(r){nt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}onFocus(){nt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){nt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},Nn=new WeakMap,dm),Ke,Dr,zr,ui,ci,Fr,di,fi,fm,eC=(fm=class{constructor(n={}){me(this,Ke);me(this,Dr);me(this,zr);me(this,ui);me(this,ci);me(this,Fr);me(this,di);me(this,fi);J(this,Ke,n.queryCache||new hw),J(this,Dr,n.mutationCache||new fw),J(this,zr,n.defaultOptions||{}),J(this,ui,new Map),J(this,ci,new Map),J(this,Fr,0)}mount(){Ia(this,Fr)._++,b(this,Fr)===1&&(J(this,di,rd.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ke).onFocus())})),J(this,fi,Ja.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ke).onOnline())})))}unmount(){var n,r;Ia(this,Fr)._--,b(this,Fr)===0&&((n=b(this,di))==null||n.call(this),J(this,di,void 0),(r=b(this,fi))==null||r.call(this),J(this,fi,void 0))}isFetching(n){return b(this,Ke).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return b(this,Dr).findAll({...n,status:"pending"}).length}getQueryData(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=b(this,Ke).get(r.queryHash))==null?void 0:i.state.data}ensureQueryData(n){const r=this.defaultQueryOptions(n),i=b(this,Ke).build(this,r),a=i.state.data;return a===void 0?this.fetchQuery(n):(n.revalidateIfStale&&i.isStaleByTime(jr(r.staleTime,i))&&this.prefetchQuery(r),Promise.resolve(a))}getQueriesData(n){return b(this,Ke).findAll(n).map(({queryKey:r,state:i})=>{const a=i.data;return[r,a]})}setQueryData(n,r,i){const a=this.defaultQueryOptions({queryKey:n}),l=b(this,Ke).get(a.queryHash),c=l==null?void 0:l.state.data,f=Y1(r,c);if(f!==void 0)return b(this,Ke).build(this,a).setData(f,{...i,manual:!0})}setQueriesData(n,r,i){return nt.batch(()=>b(this,Ke).findAll(n).map(({queryKey:a})=>[a,this.setQueryData(a,r,i)]))}getQueryState(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=b(this,Ke).get(r.queryHash))==null?void 0:i.state}removeQueries(n){const r=b(this,Ke);nt.batch(()=>{r.findAll(n).forEach(i=>{r.remove(i)})})}resetQueries(n,r){const i=b(this,Ke);return nt.batch(()=>(i.findAll(n).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...n},r)))}cancelQueries(n,r={}){const i={revert:!0,...r},a=nt.batch(()=>b(this,Ke).findAll(n).map(l=>l.cancel(i)));return Promise.all(a).then(kt).catch(kt)}invalidateQueries(n,r={}){return nt.batch(()=>(b(this,Ke).findAll(n).forEach(i=>{i.invalidate()}),(n==null?void 0:n.refetchType)==="none"?Promise.resolve():this.refetchQueries({...n,type:(n==null?void 0:n.refetchType)??(n==null?void 0:n.type)??"active"},r)))}refetchQueries(n,r={}){const i={...r,cancelRefetch:r.cancelRefetch??!0},a=nt.batch(()=>b(this,Ke).findAll(n).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,i);return i.throwOnError||(c=c.catch(kt)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(kt)}fetchQuery(n){const r=this.defaultQueryOptions(n);r.retry===void 0&&(r.retry=!1);const i=b(this,Ke).build(this,r);return i.isStaleByTime(jr(r.staleTime,i))?i.fetch(r):Promise.resolve(i.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(kt).catch(kt)}fetchInfiniteQuery(n){return n.behavior=wh(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(kt).catch(kt)}ensureInfiniteQueryData(n){return n.behavior=wh(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return Ja.isOnline()?b(this,Dr).resumePausedMutations():Promise.resolve()}getQueryCache(){return b(this,Ke)}getMutationCache(){return b(this,Dr)}getDefaultOptions(){return b(this,zr)}setDefaultOptions(n){J(this,zr,n)}setQueryDefaults(n,r){b(this,ui).set(vo(n),{queryKey:n,defaultOptions:r})}getQueryDefaults(n){const r=[...b(this,ui).values()],i={};return r.forEach(a=>{ds(n,a.queryKey)&&Object.assign(i,a.defaultOptions)}),i}setMutationDefaults(n,r){b(this,ci).set(vo(n),{mutationKey:n,defaultOptions:r})}getMutationDefaults(n){const r=[...b(this,ci).values()],i={};return r.forEach(a=>{ds(n,a.mutationKey)&&Object.assign(i,a.defaultOptions)}),i}defaultQueryOptions(n){if(n._defaulted)return n;const r={...b(this,zr).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return r.queryHash||(r.queryHash=ed(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===td&&(r.enabled=!1),r}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...b(this,zr).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){b(this,Ke).clear(),b(this,Dr).clear()}},Ke=new WeakMap,Dr=new WeakMap,zr=new WeakMap,ui=new WeakMap,ci=new WeakMap,Fr=new WeakMap,di=new WeakMap,fi=new WeakMap,fm),Wm=g.createContext(void 0),Qm=n=>{const r=g.useContext(Wm);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},tC=({client:n,children:r})=>(g.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),ee.jsx(Wm.Provider,{value:n,children:r})),Km=g.createContext(!1),mw=()=>g.useContext(Km);Km.Provider;function yw(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var vw=g.createContext(yw()),gw=()=>g.useContext(vw),ww=(n,r,i)=>{const a=i!=null&&i.state.error&&typeof n.throwOnError=="function"?nd(n.throwOnError,[i.state.error,i]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||a)&&(r.isReset()||(n.retryOnMount=!1))},xw=n=>{g.useEffect(()=>{n.clearReset()},[n])},Sw=({result:n,errorResetBoundary:r,throwOnError:i,query:a,suspense:l})=>n.isError&&!r.isReset()&&!n.isFetching&&a&&(l&&n.data===void 0||nd(i,[n.error,a])),kw=n=>{if(n.suspense){const i=l=>l==="static"?l:Math.max(l??1e3,1e3),a=n.staleTime;n.staleTime=typeof a=="function"?(...l)=>i(a(...l)):i(a),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},Cw=(n,r)=>n.isLoading&&n.isFetching&&!r,Ew=(n,r)=>(n==null?void 0:n.suspense)&&r.isPending,Sh=(n,r,i)=>r.fetchOptimistic(n).catch(()=>{i.clearReset()});function bw(n,r,i){var C,v,O,S;const a=mw(),l=gw(),c=Qm(),f=c.defaultQueryOptions(n);(v=(C=c.getDefaultOptions().queries)==null?void 0:C._experimental_beforeQuery)==null||v.call(C,f);const p=c.getQueryCache().get(f.queryHash);f._optimisticResults=a?"isRestoring":"optimistic",kw(f),ww(f,l,p),xw(l);const h=!c.getQueryCache().get(f.queryHash),[m]=g.useState(()=>new r(c,f)),w=m.getOptimisticResult(f),x=!a&&n.subscribed!==!1;if(g.useSyncExternalStore(g.useCallback(k=>{const P=x?m.subscribe(nt.batchCalls(k)):kt;return m.updateResult(),P},[m,x]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),g.useEffect(()=>{m.setOptions(f)},[f,m]),Ew(f,w))throw Sh(f,m,l);if(Sw({result:w,errorResetBoundary:l,throwOnError:f.throwOnError,query:p,suspense:f.suspense}))throw w.error;if((S=(O=c.getDefaultOptions().queries)==null?void 0:O._experimental_afterQuery)==null||S.call(O,f,w),f.experimental_prefetchInRender&&!yo&&Cw(w,a)){const k=h?Sh(f,m,l):p==null?void 0:p.promise;k==null||k.catch(kt).finally(()=>{m.updateResult()})}return f.notifyOnChangeProps?w:m.trackResult(w)}function nC(n,r){return bw(n,aw)}function rC(n,r){const i=Qm(),[a]=g.useState(()=>new pw(i,n));g.useEffect(()=>{a.setOptions(n)},[a,n]);const l=g.useSyncExternalStore(g.useCallback(f=>a.subscribe(nt.batchCalls(f)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c=g.useCallback((f,p)=>{a.mutate(f,p).catch(kt)},[a]);if(l.error&&nd(a.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}function qm(n){var r,i,a="";if(typeof n=="string"||typeof n=="number")a+=n;else if(typeof n=="object")if(Array.isArray(n)){var l=n.length;for(r=0;r<l;r++)n[r]&&(i=qm(n[r]))&&(a&&(a+=" "),a+=i)}else for(i in n)n[i]&&(a&&(a+=" "),a+=i);return a}function Rw(){for(var n,r,i=0,a="",l=arguments.length;i<l;i++)(n=arguments[i])&&(r=qm(n))&&(a&&(a+=" "),a+=r);return a}const kh=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Ch=Rw,oC=(n,r)=>i=>{var a;if((r==null?void 0:r.variants)==null)return Ch(n,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:l,defaultVariants:c}=r,f=Object.keys(l).map(m=>{const w=i==null?void 0:i[m],x=c==null?void 0:c[m];if(w===null)return null;const C=kh(w)||kh(x);return l[m][C]}),p=i&&Object.entries(i).reduce((m,w)=>{let[x,C]=w;return C===void 0||(m[x]=C),m},{}),h=r==null||(a=r.compoundVariants)===null||a===void 0?void 0:a.reduce((m,w)=>{let{class:x,className:C,...v}=w;return Object.entries(v).every(O=>{let[S,k]=O;return Array.isArray(k)?k.includes({...c,...p}[S]):{...c,...p}[S]===k})?[...m,x,C]:m},[]);return Ch(n,f,h,i==null?void 0:i.class,i==null?void 0:i.className)},id="-",Pw=n=>{const r=Tw(n),{conflictingClassGroups:i,conflictingClassGroupModifiers:a}=n;return{getClassGroupId:f=>{const p=f.split(id);return p[0]===""&&p.length!==1&&p.shift(),Ym(p,r)||Mw(f)},getConflictingClassGroupIds:(f,p)=>{const h=i[f]||[];return p&&a[f]?[...h,...a[f]]:h}}},Ym=(n,r)=>{var f;if(n.length===0)return r.classGroupId;const i=n[0],a=r.nextPart.get(i),l=a?Ym(n.slice(1),a):void 0;if(l)return l;if(r.validators.length===0)return;const c=n.join(id);return(f=r.validators.find(({validator:p})=>p(c)))==null?void 0:f.classGroupId},Eh=/^\[(.+)\]$/,Mw=n=>{if(Eh.test(n)){const r=Eh.exec(n)[1],i=r==null?void 0:r.substring(0,r.indexOf(":"));if(i)return"arbitrary.."+i}},Tw=n=>{const{theme:r,prefix:i}=n,a={nextPart:new Map,validators:[]};return _w(Object.entries(n.classGroups),i).forEach(([c,f])=>{Nc(f,a,c,r)}),a},Nc=(n,r,i,a)=>{n.forEach(l=>{if(typeof l=="string"){const c=l===""?r:bh(r,l);c.classGroupId=i;return}if(typeof l=="function"){if(Ow(l)){Nc(l(a),r,i,a);return}r.validators.push({validator:l,classGroupId:i});return}Object.entries(l).forEach(([c,f])=>{Nc(f,bh(r,c),i,a)})})},bh=(n,r)=>{let i=n;return r.split(id).forEach(a=>{i.nextPart.has(a)||i.nextPart.set(a,{nextPart:new Map,validators:[]}),i=i.nextPart.get(a)}),i},Ow=n=>n.isThemeGetter,_w=(n,r)=>r?n.map(([i,a])=>{const l=a.map(c=>typeof c=="string"?r+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([f,p])=>[r+f,p])):c);return[i,l]}):n,Nw=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,i=new Map,a=new Map;const l=(c,f)=>{i.set(c,f),r++,r>n&&(r=0,a=i,i=new Map)};return{get(c){let f=i.get(c);if(f!==void 0)return f;if((f=a.get(c))!==void 0)return l(c,f),f},set(c,f){i.has(c)?i.set(c,f):l(c,f)}}},Gm="!",Lw=n=>{const{separator:r,experimentalParseClassName:i}=n,a=r.length===1,l=r[0],c=r.length,f=p=>{const h=[];let m=0,w=0,x;for(let k=0;k<p.length;k++){let P=p[k];if(m===0){if(P===l&&(a||p.slice(k,k+c)===r)){h.push(p.slice(w,k)),w=k+c;continue}if(P==="/"){x=k;continue}}P==="["?m++:P==="]"&&m--}const C=h.length===0?p:p.substring(w),v=C.startsWith(Gm),O=v?C.substring(1):C,S=x&&x>w?x-w:void 0;return{modifiers:h,hasImportantModifier:v,baseClassName:O,maybePostfixModifierPosition:S}};return i?p=>i({className:p,parseClassName:f}):f},Aw=n=>{if(n.length<=1)return n;const r=[];let i=[];return n.forEach(a=>{a[0]==="["?(r.push(...i.sort(),a),i=[]):i.push(a)}),r.push(...i.sort()),r},Iw=n=>({cache:Nw(n.cacheSize),parseClassName:Lw(n),...Pw(n)}),Dw=/\s+/,zw=(n,r)=>{const{parseClassName:i,getClassGroupId:a,getConflictingClassGroupIds:l}=r,c=[],f=n.trim().split(Dw);let p="";for(let h=f.length-1;h>=0;h-=1){const m=f[h],{modifiers:w,hasImportantModifier:x,baseClassName:C,maybePostfixModifierPosition:v}=i(m);let O=!!v,S=a(O?C.substring(0,v):C);if(!S){if(!O){p=m+(p.length>0?" "+p:p);continue}if(S=a(C),!S){p=m+(p.length>0?" "+p:p);continue}O=!1}const k=Aw(w).join(":"),P=x?k+Gm:k,T=P+S;if(c.includes(T))continue;c.push(T);const R=l(S,O);for(let L=0;L<R.length;++L){const F=R[L];c.push(P+F)}p=m+(p.length>0?" "+p:p)}return p};function Fw(){let n=0,r,i,a="";for(;n<arguments.length;)(r=arguments[n++])&&(i=Xm(r))&&(a&&(a+=" "),a+=i);return a}const Xm=n=>{if(typeof n=="string")return n;let r,i="";for(let a=0;a<n.length;a++)n[a]&&(r=Xm(n[a]))&&(i&&(i+=" "),i+=r);return i};function jw(n,...r){let i,a,l,c=f;function f(h){const m=r.reduce((w,x)=>x(w),n());return i=Iw(m),a=i.cache.get,l=i.cache.set,c=p,p(h)}function p(h){const m=a(h);if(m)return m;const w=zw(h,i);return l(h,w),w}return function(){return c(Fw.apply(null,arguments))}}const Ue=n=>{const r=i=>i[n]||[];return r.isThemeGetter=!0,r},Zm=/^\[(?:([a-z-]+):)?(.+)\]$/i,Bw=/^\d+\/\d+$/,Uw=new Set(["px","full","screen"]),Hw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$w=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ww=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Kn=n=>Zo(n)||Uw.has(n)||Bw.test(n),Rr=n=>gi(n,"length",ex),Zo=n=>!!n&&!Number.isNaN(Number(n)),sc=n=>gi(n,"number",Zo),ss=n=>!!n&&Number.isInteger(Number(n)),Kw=n=>n.endsWith("%")&&Zo(n.slice(0,-1)),Re=n=>Zm.test(n),Pr=n=>Hw.test(n),qw=new Set(["length","size","percentage"]),Yw=n=>gi(n,qw,Jm),Gw=n=>gi(n,"position",Jm),Xw=new Set(["image","url"]),Zw=n=>gi(n,Xw,nx),Jw=n=>gi(n,"",tx),as=()=>!0,gi=(n,r,i)=>{const a=Zm.exec(n);return a?a[1]?typeof r=="string"?a[1]===r:r.has(a[1]):i(a[2]):!1},ex=n=>$w.test(n)&&!Vw.test(n),Jm=()=>!1,tx=n=>Ww.test(n),nx=n=>Qw.test(n),rx=()=>{const n=Ue("colors"),r=Ue("spacing"),i=Ue("blur"),a=Ue("brightness"),l=Ue("borderColor"),c=Ue("borderRadius"),f=Ue("borderSpacing"),p=Ue("borderWidth"),h=Ue("contrast"),m=Ue("grayscale"),w=Ue("hueRotate"),x=Ue("invert"),C=Ue("gap"),v=Ue("gradientColorStops"),O=Ue("gradientColorStopPositions"),S=Ue("inset"),k=Ue("margin"),P=Ue("opacity"),T=Ue("padding"),R=Ue("saturate"),L=Ue("scale"),F=Ue("sepia"),U=Ue("skew"),H=Ue("space"),q=Ue("translate"),Z=()=>["auto","contain","none"],te=()=>["auto","hidden","clip","visible","scroll"],he=()=>["auto",Re,r],X=()=>[Re,r],ve=()=>["",Kn,Rr],de=()=>["auto",Zo,Re],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ue=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",Re],W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[Zo,Re];return{cacheSize:500,separator:":",theme:{colors:[as],spacing:[Kn,Rr],blur:["none","",Pr,Re],brightness:_(),borderColor:[n],borderRadius:["none","","full",Pr,Re],borderSpacing:X(),borderWidth:ve(),contrast:_(),grayscale:B(),hueRotate:_(),invert:B(),gap:X(),gradientColorStops:[n],gradientColorStopPositions:[Kw,Rr],inset:he(),margin:he(),opacity:_(),padding:X(),saturate:_(),scale:_(),sepia:B(),skew:_(),space:X(),translate:X()},classGroups:{aspect:[{aspect:["auto","square","video",Re]}],container:["container"],columns:[{columns:[Pr]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...xe(),Re]}],overflow:[{overflow:te()}],"overflow-x":[{"overflow-x":te()}],"overflow-y":[{"overflow-y":te()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ss,Re]}],basis:[{basis:he()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Re]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",ss,Re]}],"grid-cols":[{"grid-cols":[as]}],"col-start-end":[{col:["auto",{span:["full",ss,Re]},Re]}],"col-start":[{"col-start":de()}],"col-end":[{"col-end":de()}],"grid-rows":[{"grid-rows":[as]}],"row-start-end":[{row:["auto",{span:[ss,Re]},Re]}],"row-start":[{"row-start":de()}],"row-end":[{"row-end":de()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Re]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Re]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[H]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[H]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Re,r]}],"min-w":[{"min-w":[Re,r,"min","max","fit"]}],"max-w":[{"max-w":[Re,r,"none","full","min","max","fit","prose",{screen:[Pr]},Pr]}],h:[{h:[Re,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Re,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Re,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Re,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Pr,Rr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",sc]}],"font-family":[{font:[as]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Re]}],"line-clamp":[{"line-clamp":["none",Zo,sc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Kn,Re]}],"list-image":[{"list-image":["none",Re]}],"list-style-type":[{list:["none","disc","decimal",Re]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Kn,Rr]}],"underline-offset":[{"underline-offset":["auto",Kn,Re]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...xe(),Gw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Yw]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Zw]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[O]}],"gradient-via-pos":[{via:[O]}],"gradient-to-pos":[{to:[O]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[p]}],"border-w-x":[{"border-x":[p]}],"border-w-y":[{"border-y":[p]}],"border-w-s":[{"border-s":[p]}],"border-w-e":[{"border-e":[p]}],"border-w-t":[{"border-t":[p]}],"border-w-r":[{"border-r":[p]}],"border-w-b":[{"border-b":[p]}],"border-w-l":[{"border-l":[p]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...ue(),"hidden"]}],"divide-x":[{"divide-x":[p]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[p]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:ue()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...ue()]}],"outline-offset":[{"outline-offset":[Kn,Re]}],"outline-w":[{outline:[Kn,Rr]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:ve()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[Kn,Rr]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Pr,Jw]}],"shadow-color":[{shadow:[as]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[a]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",Pr,Re]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[w]}],invert:[{invert:[x]}],saturate:[{saturate:[R]}],sepia:[{sepia:[F]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[f]}],"border-spacing-x":[{"border-spacing-x":[f]}],"border-spacing-y":[{"border-spacing-y":[f]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Re]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",Re]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",Re]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[ss,Re]}],"translate-x":[{"translate-x":[q]}],"translate-y":[{"translate-y":[q]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Re]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Re]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Re]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Kn,Rr,sc]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},iC=jw(rx);var ox=n=>{switch(n){case"success":return ax;case"info":return ux;case"warning":return lx;case"error":return cx;default:return null}},ix=Array(12).fill(0),sx=({visible:n,className:r})=>G.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":n},G.createElement("div",{className:"sonner-spinner"},ix.map((i,a)=>G.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${a}`})))),ax=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),lx=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),ux=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),cx=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),dx=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},G.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),G.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),fx=()=>{let[n,r]=G.useState(document.hidden);return G.useEffect(()=>{let i=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",i),()=>window.removeEventListener("visibilitychange",i)},[]),n},Lc=1,px=class{constructor(){this.subscribe=n=>(this.subscribers.push(n),()=>{let r=this.subscribers.indexOf(n);this.subscribers.splice(r,1)}),this.publish=n=>{this.subscribers.forEach(r=>r(n))},this.addToast=n=>{this.publish(n),this.toasts=[...this.toasts,n]},this.create=n=>{var r;let{message:i,...a}=n,l=typeof(n==null?void 0:n.id)=="number"||((r=n.id)==null?void 0:r.length)>0?n.id:Lc++,c=this.toasts.find(p=>p.id===l),f=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(l)&&this.dismissedToasts.delete(l),c?this.toasts=this.toasts.map(p=>p.id===l?(this.publish({...p,...n,id:l,title:i}),{...p,...n,id:l,dismissible:f,title:i}):p):this.addToast({title:i,...a,dismissible:f,id:l}),l},this.dismiss=n=>(this.dismissedToasts.add(n),n||this.toasts.forEach(r=>{this.subscribers.forEach(i=>i({id:r.id,dismiss:!0}))}),this.subscribers.forEach(r=>r({id:n,dismiss:!0})),n),this.message=(n,r)=>this.create({...r,message:n}),this.error=(n,r)=>this.create({...r,message:n,type:"error"}),this.success=(n,r)=>this.create({...r,type:"success",message:n}),this.info=(n,r)=>this.create({...r,type:"info",message:n}),this.warning=(n,r)=>this.create({...r,type:"warning",message:n}),this.loading=(n,r)=>this.create({...r,type:"loading",message:n}),this.promise=(n,r)=>{if(!r)return;let i;r.loading!==void 0&&(i=this.create({...r,promise:n,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));let a=n instanceof Promise?n:n(),l=i!==void 0,c,f=a.then(async h=>{if(c=["resolve",h],G.isValidElement(h))l=!1,this.create({id:i,type:"default",message:h});else if(mx(h)&&!h.ok){l=!1;let m=typeof r.error=="function"?await r.error(`HTTP error! status: ${h.status}`):r.error,w=typeof r.description=="function"?await r.description(`HTTP error! status: ${h.status}`):r.description;this.create({id:i,type:"error",message:m,description:w})}else if(r.success!==void 0){l=!1;let m=typeof r.success=="function"?await r.success(h):r.success,w=typeof r.description=="function"?await r.description(h):r.description;this.create({id:i,type:"success",message:m,description:w})}}).catch(async h=>{if(c=["reject",h],r.error!==void 0){l=!1;let m=typeof r.error=="function"?await r.error(h):r.error,w=typeof r.description=="function"?await r.description(h):r.description;this.create({id:i,type:"error",message:m,description:w})}}).finally(()=>{var h;l&&(this.dismiss(i),i=void 0),(h=r.finally)==null||h.call(r)}),p=()=>new Promise((h,m)=>f.then(()=>c[0]==="reject"?m(c[1]):h(c[1])).catch(m));return typeof i!="string"&&typeof i!="number"?{unwrap:p}:Object.assign(i,{unwrap:p})},this.custom=(n,r)=>{let i=(r==null?void 0:r.id)||Lc++;return this.create({jsx:n(i),id:i,...r}),i},this.getActiveToasts=()=>this.toasts.filter(n=>!this.dismissedToasts.has(n.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Lt=new px,hx=(n,r)=>{let i=(r==null?void 0:r.id)||Lc++;return Lt.addToast({title:n,...r,id:i}),i},mx=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",yx=hx,vx=()=>Lt.toasts,gx=()=>Lt.getActiveToasts(),sC=Object.assign(yx,{success:Lt.success,info:Lt.info,warning:Lt.warning,error:Lt.error,custom:Lt.custom,message:Lt.message,promise:Lt.promise,dismiss:Lt.dismiss,loading:Lt.loading},{getHistory:vx,getToasts:gx});function wx(n,{insertAt:r}={}){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",r==="top"&&i.firstChild?i.insertBefore(a,i.firstChild):i.appendChild(a),a.styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n))}wx(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
|
|
52
|
-
`);function ja(n){return n.label!==void 0}var xx=3,Sx="32px",kx="16px",Rh=4e3,Cx=356,Ex=14,bx=20,Rx=200;function un(...n){return n.filter(Boolean).join(" ")}function Px(n){let[r,i]=n.split("-"),a=[];return r&&a.push(r),i&&a.push(i),a}var Mx=n=>{var r,i,a,l,c,f,p,h,m,w,x;let{invert:C,toast:v,unstyled:O,interacting:S,setHeights:k,visibleToasts:P,heights:T,index:R,toasts:L,expanded:F,removeToast:U,defaultRichColors:H,closeButton:q,style:Z,cancelButtonStyle:te,actionButtonStyle:he,className:X="",descriptionClassName:ve="",duration:de,position:xe,gap:ue,loadingIcon:ie,expandByDefault:j,classNames:B,icons:W,closeButtonAriaLabel:_="Close toast",pauseWhenPageIsHidden:z}=n,[ne,re]=G.useState(null),[ye,Se]=G.useState(null),[K,pe]=G.useState(!1),[ke,be]=G.useState(!1),[Me,Oe]=G.useState(!1),[qe,dt]=G.useState(!1),[vn,Xt]=G.useState(!1),[Zt,or]=G.useState(0),[gn,ir]=G.useState(0),Ht=G.useRef(v.duration||de||Rh),ko=G.useRef(null),wn=G.useRef(null),ks=R===0,Cs=R+1<=P,vt=v.type,xn=v.dismissible!==!1,Co=v.className||"",Es=v.descriptionClassName||"",Sn=G.useMemo(()=>T.findIndex(Ee=>Ee.toastId===v.id)||0,[T,v.id]),Wr=G.useMemo(()=>{var Ee;return(Ee=v.closeButton)!=null?Ee:q},[v.closeButton,q]),bs=G.useMemo(()=>v.duration||de||Rh,[v.duration,de]),Eo=G.useRef(0),Fn=G.useRef(0),Rs=G.useRef(0),kn=G.useRef(null),[ki,Ci]=xe.split("-"),bo=G.useMemo(()=>T.reduce((Ee,Ae,ze)=>ze>=Sn?Ee:Ee+Ae.height,0),[T,Sn]),Ro=fx(),sr=v.invert||C,Cn=vt==="loading";Fn.current=G.useMemo(()=>Sn*ue+bo,[Sn,bo]),G.useEffect(()=>{Ht.current=bs},[bs]),G.useEffect(()=>{pe(!0)},[]),G.useEffect(()=>{let Ee=wn.current;if(Ee){let Ae=Ee.getBoundingClientRect().height;return ir(Ae),k(ze=>[{toastId:v.id,height:Ae,position:v.position},...ze]),()=>k(ze=>ze.filter(gt=>gt.toastId!==v.id))}},[k,v.id]),G.useLayoutEffect(()=>{if(!K)return;let Ee=wn.current,Ae=Ee.style.height;Ee.style.height="auto";let ze=Ee.getBoundingClientRect().height;Ee.style.height=Ae,ir(ze),k(gt=>gt.find(Ct=>Ct.toastId===v.id)?gt.map(Ct=>Ct.toastId===v.id?{...Ct,height:ze}:Ct):[{toastId:v.id,height:ze,position:v.position},...gt])},[K,v.title,v.description,k,v.id]);let Jt=G.useCallback(()=>{be(!0),or(Fn.current),k(Ee=>Ee.filter(Ae=>Ae.toastId!==v.id)),setTimeout(()=>{U(v)},Rx)},[v,U,k,Fn]);G.useEffect(()=>{if(v.promise&&vt==="loading"||v.duration===1/0||v.type==="loading")return;let Ee;return F||S||z&&Ro?(()=>{if(Rs.current<Eo.current){let Ae=new Date().getTime()-Eo.current;Ht.current=Ht.current-Ae}Rs.current=new Date().getTime()})():Ht.current!==1/0&&(Eo.current=new Date().getTime(),Ee=setTimeout(()=>{var Ae;(Ae=v.onAutoClose)==null||Ae.call(v,v),Jt()},Ht.current)),()=>clearTimeout(Ee)},[F,S,v,vt,z,Ro,Jt]),G.useEffect(()=>{v.delete&&Jt()},[Jt,v.delete]);function Ps(){var Ee,Ae,ze;return W!=null&&W.loading?G.createElement("div",{className:un(B==null?void 0:B.loader,(Ee=v==null?void 0:v.classNames)==null?void 0:Ee.loader,"sonner-loader"),"data-visible":vt==="loading"},W.loading):ie?G.createElement("div",{className:un(B==null?void 0:B.loader,(Ae=v==null?void 0:v.classNames)==null?void 0:Ae.loader,"sonner-loader"),"data-visible":vt==="loading"},ie):G.createElement(sx,{className:un(B==null?void 0:B.loader,(ze=v==null?void 0:v.classNames)==null?void 0:ze.loader),visible:vt==="loading"})}return G.createElement("li",{tabIndex:0,ref:wn,className:un(X,Co,B==null?void 0:B.toast,(r=v==null?void 0:v.classNames)==null?void 0:r.toast,B==null?void 0:B.default,B==null?void 0:B[vt],(i=v==null?void 0:v.classNames)==null?void 0:i[vt]),"data-sonner-toast":"","data-rich-colors":(a=v.richColors)!=null?a:H,"data-styled":!(v.jsx||v.unstyled||O),"data-mounted":K,"data-promise":!!v.promise,"data-swiped":vn,"data-removed":ke,"data-visible":Cs,"data-y-position":ki,"data-x-position":Ci,"data-index":R,"data-front":ks,"data-swiping":Me,"data-dismissible":xn,"data-type":vt,"data-invert":sr,"data-swipe-out":qe,"data-swipe-direction":ye,"data-expanded":!!(F||j&&K),style:{"--index":R,"--toasts-before":R,"--z-index":L.length-R,"--offset":`${ke?Zt:Fn.current}px`,"--initial-height":j?"auto":`${gn}px`,...Z,...v.style},onDragEnd:()=>{Oe(!1),re(null),kn.current=null},onPointerDown:Ee=>{Cn||!xn||(ko.current=new Date,or(Fn.current),Ee.target.setPointerCapture(Ee.pointerId),Ee.target.tagName!=="BUTTON"&&(Oe(!0),kn.current={x:Ee.clientX,y:Ee.clientY}))},onPointerUp:()=>{var Ee,Ae,ze,gt;if(qe||!xn)return;kn.current=null;let Ct=Number(((Ee=wn.current)==null?void 0:Ee.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Et=Number(((Ae=wn.current)==null?void 0:Ae.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),en=new Date().getTime()-((ze=ko.current)==null?void 0:ze.getTime()),at=ne==="x"?Ct:Et,En=Math.abs(at)/en;if(Math.abs(at)>=bx||En>.11){or(Fn.current),(gt=v.onDismiss)==null||gt.call(v,v),Se(ne==="x"?Ct>0?"right":"left":Et>0?"down":"up"),Jt(),dt(!0),Xt(!1);return}Oe(!1),re(null)},onPointerMove:Ee=>{var Ae,ze,gt,Ct;if(!kn.current||!xn||((Ae=window.getSelection())==null?void 0:Ae.toString().length)>0)return;let Et=Ee.clientY-kn.current.y,en=Ee.clientX-kn.current.x,at=(ze=n.swipeDirections)!=null?ze:Px(xe);!ne&&(Math.abs(en)>1||Math.abs(Et)>1)&&re(Math.abs(en)>Math.abs(Et)?"x":"y");let En={x:0,y:0};ne==="y"?(at.includes("top")||at.includes("bottom"))&&(at.includes("top")&&Et<0||at.includes("bottom")&&Et>0)&&(En.y=Et):ne==="x"&&(at.includes("left")||at.includes("right"))&&(at.includes("left")&&en<0||at.includes("right")&&en>0)&&(En.x=en),(Math.abs(En.x)>0||Math.abs(En.y)>0)&&Xt(!0),(gt=wn.current)==null||gt.style.setProperty("--swipe-amount-x",`${En.x}px`),(Ct=wn.current)==null||Ct.style.setProperty("--swipe-amount-y",`${En.y}px`)}},Wr&&!v.jsx?G.createElement("button",{"aria-label":_,"data-disabled":Cn,"data-close-button":!0,onClick:Cn||!xn?()=>{}:()=>{var Ee;Jt(),(Ee=v.onDismiss)==null||Ee.call(v,v)},className:un(B==null?void 0:B.closeButton,(l=v==null?void 0:v.classNames)==null?void 0:l.closeButton)},(c=W==null?void 0:W.close)!=null?c:dx):null,v.jsx||g.isValidElement(v.title)?v.jsx?v.jsx:typeof v.title=="function"?v.title():v.title:G.createElement(G.Fragment,null,vt||v.icon||v.promise?G.createElement("div",{"data-icon":"",className:un(B==null?void 0:B.icon,(f=v==null?void 0:v.classNames)==null?void 0:f.icon)},v.promise||v.type==="loading"&&!v.icon?v.icon||Ps():null,v.type!=="loading"?v.icon||(W==null?void 0:W[vt])||ox(vt):null):null,G.createElement("div",{"data-content":"",className:un(B==null?void 0:B.content,(p=v==null?void 0:v.classNames)==null?void 0:p.content)},G.createElement("div",{"data-title":"",className:un(B==null?void 0:B.title,(h=v==null?void 0:v.classNames)==null?void 0:h.title)},typeof v.title=="function"?v.title():v.title),v.description?G.createElement("div",{"data-description":"",className:un(ve,Es,B==null?void 0:B.description,(m=v==null?void 0:v.classNames)==null?void 0:m.description)},typeof v.description=="function"?v.description():v.description):null),g.isValidElement(v.cancel)?v.cancel:v.cancel&&ja(v.cancel)?G.createElement("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||te,onClick:Ee=>{var Ae,ze;ja(v.cancel)&&xn&&((ze=(Ae=v.cancel).onClick)==null||ze.call(Ae,Ee),Jt())},className:un(B==null?void 0:B.cancelButton,(w=v==null?void 0:v.classNames)==null?void 0:w.cancelButton)},v.cancel.label):null,g.isValidElement(v.action)?v.action:v.action&&ja(v.action)?G.createElement("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||he,onClick:Ee=>{var Ae,ze;ja(v.action)&&((ze=(Ae=v.action).onClick)==null||ze.call(Ae,Ee),!Ee.defaultPrevented&&Jt())},className:un(B==null?void 0:B.actionButton,(x=v==null?void 0:v.classNames)==null?void 0:x.actionButton)},v.action.label):null))};function Ph(){if(typeof window>"u"||typeof document>"u")return"ltr";let n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function Tx(n,r){let i={};return[n,r].forEach((a,l)=>{let c=l===1,f=c?"--mobile-offset":"--offset",p=c?kx:Sx;function h(m){["top","right","bottom","left"].forEach(w=>{i[`${f}-${w}`]=typeof m=="number"?`${m}px`:m})}typeof a=="number"||typeof a=="string"?h(a):typeof a=="object"?["top","right","bottom","left"].forEach(m=>{a[m]===void 0?i[`${f}-${m}`]=p:i[`${f}-${m}`]=typeof a[m]=="number"?`${a[m]}px`:a[m]}):h(p)}),i}var aC=g.forwardRef(function(n,r){let{invert:i,position:a="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:f,className:p,offset:h,mobileOffset:m,theme:w="light",richColors:x,duration:C,style:v,visibleToasts:O=xx,toastOptions:S,dir:k=Ph(),gap:P=Ex,loadingIcon:T,icons:R,containerAriaLabel:L="Notifications",pauseWhenPageIsHidden:F}=n,[U,H]=G.useState([]),q=G.useMemo(()=>Array.from(new Set([a].concat(U.filter(z=>z.position).map(z=>z.position)))),[U,a]),[Z,te]=G.useState([]),[he,X]=G.useState(!1),[ve,de]=G.useState(!1),[xe,ue]=G.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ie=G.useRef(null),j=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=G.useRef(null),W=G.useRef(!1),_=G.useCallback(z=>{H(ne=>{var re;return(re=ne.find(ye=>ye.id===z.id))!=null&&re.delete||Lt.dismiss(z.id),ne.filter(({id:ye})=>ye!==z.id)})},[]);return G.useEffect(()=>Lt.subscribe(z=>{if(z.dismiss){H(ne=>ne.map(re=>re.id===z.id?{...re,delete:!0}:re));return}setTimeout(()=>{Im.flushSync(()=>{H(ne=>{let re=ne.findIndex(ye=>ye.id===z.id);return re!==-1?[...ne.slice(0,re),{...ne[re],...z},...ne.slice(re+1)]:[z,...ne]})})})}),[]),G.useEffect(()=>{if(w!=="system"){ue(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ue("dark"):ue("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:ne})=>{ue(ne?"dark":"light")})}catch{z.addListener(({matches:re})=>{try{ue(re?"dark":"light")}catch(ye){console.error(ye)}})}},[w]),G.useEffect(()=>{U.length<=1&&X(!1)},[U]),G.useEffect(()=>{let z=ne=>{var re,ye;l.every(Se=>ne[Se]||ne.code===Se)&&(X(!0),(re=ie.current)==null||re.focus()),ne.code==="Escape"&&(document.activeElement===ie.current||(ye=ie.current)!=null&&ye.contains(document.activeElement))&&X(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[l]),G.useEffect(()=>{if(ie.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,W.current=!1)}},[ie.current]),G.createElement("section",{ref:r,"aria-label":`${L} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},q.map((z,ne)=>{var re;let[ye,Se]=z.split("-");return U.length?G.createElement("ol",{key:z,dir:k==="auto"?Ph():k,tabIndex:-1,ref:ie,className:p,"data-sonner-toaster":!0,"data-theme":xe,"data-y-position":ye,"data-lifted":he&&U.length>1&&!c,"data-x-position":Se,style:{"--front-toast-height":`${((re=Z[0])==null?void 0:re.height)||0}px`,"--width":`${Cx}px`,"--gap":`${P}px`,...v,...Tx(h,m)},onBlur:K=>{W.current&&!K.currentTarget.contains(K.relatedTarget)&&(W.current=!1,B.current&&(B.current.focus({preventScroll:!0}),B.current=null))},onFocus:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||W.current||(W.current=!0,B.current=K.relatedTarget)},onMouseEnter:()=>X(!0),onMouseMove:()=>X(!0),onMouseLeave:()=>{ve||X(!1)},onDragEnd:()=>X(!1),onPointerDown:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||de(!0)},onPointerUp:()=>de(!1)},U.filter(K=>!K.position&&ne===0||K.position===z).map((K,pe)=>{var ke,be;return G.createElement(Mx,{key:K.id,icons:R,index:pe,toast:K,defaultRichColors:x,duration:(ke=S==null?void 0:S.duration)!=null?ke:C,className:S==null?void 0:S.className,descriptionClassName:S==null?void 0:S.descriptionClassName,invert:i,visibleToasts:O,closeButton:(be=S==null?void 0:S.closeButton)!=null?be:f,interacting:ve,position:z,style:S==null?void 0:S.style,unstyled:S==null?void 0:S.unstyled,classNames:S==null?void 0:S.classNames,cancelButtonStyle:S==null?void 0:S.cancelButtonStyle,actionButtonStyle:S==null?void 0:S.actionButtonStyle,removeToast:_,toasts:U.filter(Me=>Me.position==K.position),heights:Z.filter(Me=>Me.position==K.position),setHeights:te,expandByDefault:c,gap:P,loadingIcon:T,expanded:he,pauseWhenPageIsHidden:F,swipeDirections:n.swipeDirections})})):null}))});/**
|
|
53
|
-
* @license lucide-react v0.462.0 - ISC
|
|
54
|
-
*
|
|
55
|
-
* This source code is licensed under the ISC license.
|
|
56
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/const Ox=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ey=(...n)=>n.filter((r,i,a)=>!!r&&r.trim()!==""&&a.indexOf(r)===i).join(" ").trim();/**
|
|
58
|
-
* @license lucide-react v0.462.0 - ISC
|
|
59
|
-
*
|
|
60
|
-
* This source code is licensed under the ISC license.
|
|
61
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
62
|
-
*/var _x={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"};/**
|
|
63
|
-
* @license lucide-react v0.462.0 - ISC
|
|
64
|
-
*
|
|
65
|
-
* This source code is licensed under the ISC license.
|
|
66
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/const Nx=g.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:l="",children:c,iconNode:f,...p},h)=>g.createElement("svg",{ref:h,..._x,width:r,height:r,stroke:n,strokeWidth:a?Number(i)*24/Number(r):i,className:ey("lucide",l),...p},[...f.map(([m,w])=>g.createElement(m,w)),...Array.isArray(c)?c:[c]]));/**
|
|
68
|
-
* @license lucide-react v0.462.0 - ISC
|
|
69
|
-
*
|
|
70
|
-
* This source code is licensed under the ISC license.
|
|
71
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
72
|
-
*/const ae=(n,r)=>{const i=g.forwardRef(({className:a,...l},c)=>g.createElement(Nx,{ref:c,iconNode:r,className:ey(`lucide-${Ox(n)}`,a),...l}));return i.displayName=`${n}`,i};/**
|
|
73
|
-
* @license lucide-react v0.462.0 - ISC
|
|
74
|
-
*
|
|
75
|
-
* This source code is licensed under the ISC license.
|
|
76
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
77
|
-
*/const lC=ae("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
|
|
78
|
-
* @license lucide-react v0.462.0 - ISC
|
|
79
|
-
*
|
|
80
|
-
* This source code is licensed under the ISC license.
|
|
81
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
82
|
-
*/const uC=ae("AlarmClock",[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M12 9v4l2 2",key:"1c63tq"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}]]);/**
|
|
83
|
-
* @license lucide-react v0.462.0 - ISC
|
|
84
|
-
*
|
|
85
|
-
* This source code is licensed under the ISC license.
|
|
86
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
87
|
-
*/const cC=ae("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
|
|
88
|
-
* @license lucide-react v0.462.0 - ISC
|
|
89
|
-
*
|
|
90
|
-
* This source code is licensed under the ISC license.
|
|
91
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
92
|
-
*/const dC=ae("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
93
|
-
* @license lucide-react v0.462.0 - ISC
|
|
94
|
-
*
|
|
95
|
-
* This source code is licensed under the ISC license.
|
|
96
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/const fC=ae("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
|
|
98
|
-
* @license lucide-react v0.462.0 - ISC
|
|
99
|
-
*
|
|
100
|
-
* This source code is licensed under the ISC license.
|
|
101
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
102
|
-
*/const pC=ae("BookOpen",[["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"}]]);/**
|
|
103
|
-
* @license lucide-react v0.462.0 - ISC
|
|
104
|
-
*
|
|
105
|
-
* This source code is licensed under the ISC license.
|
|
106
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
107
|
-
*/const hC=ae("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
|
|
108
|
-
* @license lucide-react v0.462.0 - ISC
|
|
109
|
-
*
|
|
110
|
-
* This source code is licensed under the ISC license.
|
|
111
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
112
|
-
*/const mC=ae("BrainCircuit",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]]);/**
|
|
113
|
-
* @license lucide-react v0.462.0 - ISC
|
|
114
|
-
*
|
|
115
|
-
* This source code is licensed under the ISC license.
|
|
116
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
117
|
-
*/const yC=ae("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
|
|
118
|
-
* @license lucide-react v0.462.0 - ISC
|
|
119
|
-
*
|
|
120
|
-
* This source code is licensed under the ISC license.
|
|
121
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
-
*/const vC=ae("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
123
|
-
* @license lucide-react v0.462.0 - ISC
|
|
124
|
-
*
|
|
125
|
-
* This source code is licensed under the ISC license.
|
|
126
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
127
|
-
*/const gC=ae("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
128
|
-
* @license lucide-react v0.462.0 - ISC
|
|
129
|
-
*
|
|
130
|
-
* This source code is licensed under the ISC license.
|
|
131
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
132
|
-
*/const wC=ae("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
|
|
133
|
-
* @license lucide-react v0.462.0 - ISC
|
|
134
|
-
*
|
|
135
|
-
* This source code is licensed under the ISC license.
|
|
136
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
137
|
-
*/const xC=ae("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
|
|
138
|
-
* @license lucide-react v0.462.0 - ISC
|
|
139
|
-
*
|
|
140
|
-
* This source code is licensed under the ISC license.
|
|
141
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
142
|
-
*/const SC=ae("CircleDotDashed",[["path",{d:"M10.1 2.18a9.93 9.93 0 0 1 3.8 0",key:"1qdqn0"}],["path",{d:"M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7",key:"1bq7p6"}],["path",{d:"M21.82 10.1a9.93 9.93 0 0 1 0 3.8",key:"1rlaqf"}],["path",{d:"M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69",key:"1xk03u"}],["path",{d:"M13.9 21.82a9.94 9.94 0 0 1-3.8 0",key:"l7re25"}],["path",{d:"M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7",key:"1v18p6"}],["path",{d:"M2.18 13.9a9.93 9.93 0 0 1 0-3.8",key:"xdo6bj"}],["path",{d:"M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69",key:"1jjmaz"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);/**
|
|
143
|
-
* @license lucide-react v0.462.0 - ISC
|
|
144
|
-
*
|
|
145
|
-
* This source code is licensed under the ISC license.
|
|
146
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
147
|
-
*/const kC=ae("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);/**
|
|
148
|
-
* @license lucide-react v0.462.0 - ISC
|
|
149
|
-
*
|
|
150
|
-
* This source code is licensed under the ISC license.
|
|
151
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
152
|
-
*/const CC=ae("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
|
|
153
|
-
* @license lucide-react v0.462.0 - ISC
|
|
154
|
-
*
|
|
155
|
-
* This source code is licensed under the ISC license.
|
|
156
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
157
|
-
*/const EC=ae("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
|
|
158
|
-
* @license lucide-react v0.462.0 - ISC
|
|
159
|
-
*
|
|
160
|
-
* This source code is licensed under the ISC license.
|
|
161
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
162
|
-
*/const bC=ae("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
|
163
|
-
* @license lucide-react v0.462.0 - ISC
|
|
164
|
-
*
|
|
165
|
-
* This source code is licensed under the ISC license.
|
|
166
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
167
|
-
*/const RC=ae("ExternalLink",[["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"}]]);/**
|
|
168
|
-
* @license lucide-react v0.462.0 - ISC
|
|
169
|
-
*
|
|
170
|
-
* This source code is licensed under the ISC license.
|
|
171
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
172
|
-
*/const PC=ae("EyeOff",[["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"}]]);/**
|
|
173
|
-
* @license lucide-react v0.462.0 - ISC
|
|
174
|
-
*
|
|
175
|
-
* This source code is licensed under the ISC license.
|
|
176
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
177
|
-
*/const MC=ae("Eye",[["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"}]]);/**
|
|
178
|
-
* @license lucide-react v0.462.0 - ISC
|
|
179
|
-
*
|
|
180
|
-
* This source code is licensed under the ISC license.
|
|
181
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
182
|
-
*/const TC=ae("FileSearch",[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"ms7g94"}],["path",{d:"m9 18-1.5-1.5",key:"1j6qii"}],["circle",{cx:"5",cy:"14",r:"3",key:"ufru5t"}]]);/**
|
|
183
|
-
* @license lucide-react v0.462.0 - ISC
|
|
184
|
-
*
|
|
185
|
-
* This source code is licensed under the ISC license.
|
|
186
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
187
|
-
*/const OC=ae("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
|
|
188
|
-
* @license lucide-react v0.462.0 - ISC
|
|
189
|
-
*
|
|
190
|
-
* This source code is licensed under the ISC license.
|
|
191
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
192
|
-
*/const _C=ae("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
|
|
193
|
-
* @license lucide-react v0.462.0 - ISC
|
|
194
|
-
*
|
|
195
|
-
* This source code is licensed under the ISC license.
|
|
196
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
197
|
-
*/const NC=ae("Globe",[["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"}]]);/**
|
|
198
|
-
* @license lucide-react v0.462.0 - ISC
|
|
199
|
-
*
|
|
200
|
-
* This source code is licensed under the ISC license.
|
|
201
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
202
|
-
*/const LC=ae("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
|
|
203
|
-
* @license lucide-react v0.462.0 - ISC
|
|
204
|
-
*
|
|
205
|
-
* This source code is licensed under the ISC license.
|
|
206
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
207
|
-
*/const AC=ae("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);/**
|
|
208
|
-
* @license lucide-react v0.462.0 - ISC
|
|
209
|
-
*
|
|
210
|
-
* This source code is licensed under the ISC license.
|
|
211
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
212
|
-
*/const IC=ae("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
|
|
213
|
-
* @license lucide-react v0.462.0 - ISC
|
|
214
|
-
*
|
|
215
|
-
* This source code is licensed under the ISC license.
|
|
216
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
217
|
-
*/const DC=ae("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
|
|
218
|
-
* @license lucide-react v0.462.0 - ISC
|
|
219
|
-
*
|
|
220
|
-
* This source code is licensed under the ISC license.
|
|
221
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
222
|
-
*/const zC=ae("KeyRound",[["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"}]]);/**
|
|
223
|
-
* @license lucide-react v0.462.0 - ISC
|
|
224
|
-
*
|
|
225
|
-
* This source code is licensed under the ISC license.
|
|
226
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
227
|
-
*/const FC=ae("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);/**
|
|
228
|
-
* @license lucide-react v0.462.0 - ISC
|
|
229
|
-
*
|
|
230
|
-
* This source code is licensed under the ISC license.
|
|
231
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
232
|
-
*/const jC=ae("Laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]]);/**
|
|
233
|
-
* @license lucide-react v0.462.0 - ISC
|
|
234
|
-
*
|
|
235
|
-
* This source code is licensed under the ISC license.
|
|
236
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
237
|
-
*/const BC=ae("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
238
|
-
* @license lucide-react v0.462.0 - ISC
|
|
239
|
-
*
|
|
240
|
-
* This source code is licensed under the ISC license.
|
|
241
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
242
|
-
*/const UC=ae("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
|
|
243
|
-
* @license lucide-react v0.462.0 - ISC
|
|
244
|
-
*
|
|
245
|
-
* This source code is licensed under the ISC license.
|
|
246
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
247
|
-
*/const HC=ae("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
|
|
248
|
-
* @license lucide-react v0.462.0 - ISC
|
|
249
|
-
*
|
|
250
|
-
* This source code is licensed under the ISC license.
|
|
251
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
252
|
-
*/const $C=ae("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
|
|
253
|
-
* @license lucide-react v0.462.0 - ISC
|
|
254
|
-
*
|
|
255
|
-
* This source code is licensed under the ISC license.
|
|
256
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
257
|
-
*/const VC=ae("MessageSquareText",[["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"}],["path",{d:"M13 8H7",key:"14i4kc"}],["path",{d:"M17 12H7",key:"16if0g"}]]);/**
|
|
258
|
-
* @license lucide-react v0.462.0 - ISC
|
|
259
|
-
*
|
|
260
|
-
* This source code is licensed under the ISC license.
|
|
261
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
262
|
-
*/const WC=ae("MessageSquare",[["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"}]]);/**
|
|
263
|
-
* @license lucide-react v0.462.0 - ISC
|
|
264
|
-
*
|
|
265
|
-
* This source code is licensed under the ISC license.
|
|
266
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
267
|
-
*/const QC=ae("PackageSearch",[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["circle",{cx:"18.5",cy:"15.5",r:"2.5",key:"b5zd12"}],["path",{d:"M20.27 17.27 22 19",key:"1l4muz"}]]);/**
|
|
268
|
-
* @license lucide-react v0.462.0 - ISC
|
|
269
|
-
*
|
|
270
|
-
* This source code is licensed under the ISC license.
|
|
271
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
272
|
-
*/const KC=ae("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
|
|
273
|
-
* @license lucide-react v0.462.0 - ISC
|
|
274
|
-
*
|
|
275
|
-
* This source code is licensed under the ISC license.
|
|
276
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
277
|
-
*/const qC=ae("PanelRightOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m10 15-3-3 3-3",key:"1pgupc"}]]);/**
|
|
278
|
-
* @license lucide-react v0.462.0 - ISC
|
|
279
|
-
*
|
|
280
|
-
* This source code is licensed under the ISC license.
|
|
281
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
282
|
-
*/const YC=ae("Paperclip",[["path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",key:"1u3ebp"}]]);/**
|
|
283
|
-
* @license lucide-react v0.462.0 - ISC
|
|
284
|
-
*
|
|
285
|
-
* This source code is licensed under the ISC license.
|
|
286
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
287
|
-
*/const GC=ae("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|
288
|
-
* @license lucide-react v0.462.0 - ISC
|
|
289
|
-
*
|
|
290
|
-
* This source code is licensed under the ISC license.
|
|
291
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
292
|
-
*/const XC=ae("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/**
|
|
293
|
-
* @license lucide-react v0.462.0 - ISC
|
|
294
|
-
*
|
|
295
|
-
* This source code is licensed under the ISC license.
|
|
296
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
297
|
-
*/const ZC=ae("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
298
|
-
* @license lucide-react v0.462.0 - ISC
|
|
299
|
-
*
|
|
300
|
-
* This source code is licensed under the ISC license.
|
|
301
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
302
|
-
*/const JC=ae("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
|
|
303
|
-
* @license lucide-react v0.462.0 - ISC
|
|
304
|
-
*
|
|
305
|
-
* This source code is licensed under the ISC license.
|
|
306
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
307
|
-
*/const eE=ae("Puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);/**
|
|
308
|
-
* @license lucide-react v0.462.0 - ISC
|
|
309
|
-
*
|
|
310
|
-
* This source code is licensed under the ISC license.
|
|
311
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
312
|
-
*/const tE=ae("RefreshCcw",[["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"}]]);/**
|
|
313
|
-
* @license lucide-react v0.462.0 - ISC
|
|
314
|
-
*
|
|
315
|
-
* This source code is licensed under the ISC license.
|
|
316
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
317
|
-
*/const nE=ae("RefreshCw",[["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"}]]);/**
|
|
318
|
-
* @license lucide-react v0.462.0 - ISC
|
|
319
|
-
*
|
|
320
|
-
* This source code is licensed under the ISC license.
|
|
321
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
322
|
-
*/const rE=ae("Save",[["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"}]]);/**
|
|
323
|
-
* @license lucide-react v0.462.0 - ISC
|
|
324
|
-
*
|
|
325
|
-
* This source code is licensed under the ISC license.
|
|
326
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
327
|
-
*/const oE=ae("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
328
|
-
* @license lucide-react v0.462.0 - ISC
|
|
329
|
-
*
|
|
330
|
-
* This source code is licensed under the ISC license.
|
|
331
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
332
|
-
*/const iE=ae("SendHorizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]]);/**
|
|
333
|
-
* @license lucide-react v0.462.0 - ISC
|
|
334
|
-
*
|
|
335
|
-
* This source code is licensed under the ISC license.
|
|
336
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
337
|
-
*/const sE=ae("ServerCog",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5",key:"tn8das"}],["path",{d:"M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5",key:"1g2pve"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m15.7 13.4-.9-.3",key:"1jwmzr"}],["path",{d:"m9.2 10.9-.9-.3",key:"qapnim"}],["path",{d:"m10.6 15.7.3-.9",key:"quwk0k"}],["path",{d:"m13.6 15.7-.4-1",key:"cb9xp7"}],["path",{d:"m10.8 9.3-.4-1",key:"1uaiz5"}],["path",{d:"m8.3 13.6 1-.4",key:"s6srou"}],["path",{d:"m14.7 10.8 1-.4",key:"4d31cq"}],["path",{d:"m13.4 8.3-.3.9",key:"1bm987"}]]);/**
|
|
338
|
-
* @license lucide-react v0.462.0 - ISC
|
|
339
|
-
*
|
|
340
|
-
* This source code is licensed under the ISC license.
|
|
341
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
342
|
-
*/const aE=ae("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
|
|
343
|
-
* @license lucide-react v0.462.0 - ISC
|
|
344
|
-
*
|
|
345
|
-
* This source code is licensed under the ISC license.
|
|
346
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
347
|
-
*/const lE=ae("Settings",[["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"}]]);/**
|
|
348
|
-
* @license lucide-react v0.462.0 - ISC
|
|
349
|
-
*
|
|
350
|
-
* This source code is licensed under the ISC license.
|
|
351
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
352
|
-
*/const uE=ae("ShieldCheck",[["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"}]]);/**
|
|
353
|
-
* @license lucide-react v0.462.0 - ISC
|
|
354
|
-
*
|
|
355
|
-
* This source code is licensed under the ISC license.
|
|
356
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
357
|
-
*/const cE=ae("Shield",[["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"}]]);/**
|
|
358
|
-
* @license lucide-react v0.462.0 - ISC
|
|
359
|
-
*
|
|
360
|
-
* This source code is licensed under the ISC license.
|
|
361
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
362
|
-
*/const dE=ae("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
|
|
363
|
-
* @license lucide-react v0.462.0 - ISC
|
|
364
|
-
*
|
|
365
|
-
* This source code is licensed under the ISC license.
|
|
366
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
367
|
-
*/const fE=ae("SquareTerminal",[["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"}]]);/**
|
|
368
|
-
* @license lucide-react v0.462.0 - ISC
|
|
369
|
-
*
|
|
370
|
-
* This source code is licensed under the ISC license.
|
|
371
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
372
|
-
*/const pE=ae("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
373
|
-
* @license lucide-react v0.462.0 - ISC
|
|
374
|
-
*
|
|
375
|
-
* This source code is licensed under the ISC license.
|
|
376
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
377
|
-
*/const hE=ae("ToggleLeft",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"6",ry:"6",key:"f2vt7d"}],["circle",{cx:"8",cy:"12",r:"2",key:"1nvbw3"}]]);/**
|
|
378
|
-
* @license lucide-react v0.462.0 - ISC
|
|
379
|
-
*
|
|
380
|
-
* This source code is licensed under the ISC license.
|
|
381
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
382
|
-
*/const mE=ae("Trash2",[["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"}]]);/**
|
|
383
|
-
* @license lucide-react v0.462.0 - ISC
|
|
384
|
-
*
|
|
385
|
-
* This source code is licensed under the ISC license.
|
|
386
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
387
|
-
*/const yE=ae("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
|
|
388
|
-
* @license lucide-react v0.462.0 - ISC
|
|
389
|
-
*
|
|
390
|
-
* This source code is licensed under the ISC license.
|
|
391
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
392
|
-
*/const vE=ae("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/**
|
|
393
|
-
* @license lucide-react v0.462.0 - ISC
|
|
394
|
-
*
|
|
395
|
-
* This source code is licensed under the ISC license.
|
|
396
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
397
|
-
*/const gE=ae("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
|
|
398
|
-
* @license lucide-react v0.462.0 - ISC
|
|
399
|
-
*
|
|
400
|
-
* This source code is licensed under the ISC license.
|
|
401
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
402
|
-
*/const wE=ae("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Mh(n,[r,i]){return Math.min(i,Math.max(r,n))}function Je(n,r,{checkForDefaultPrevented:i=!0}={}){return function(l){if(n==null||n(l),i===!1||!l.defaultPrevented)return r==null?void 0:r(l)}}function xE(n,r){const i=g.createContext(r),a=c=>{const{children:f,...p}=c,h=g.useMemo(()=>p,Object.values(p));return ee.jsx(i.Provider,{value:h,children:f})};a.displayName=n+"Provider";function l(c){const f=g.useContext(i);if(f)return f;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[a,l]}function sd(n,r=[]){let i=[];function a(c,f){const p=g.createContext(f),h=i.length;i=[...i,f];const m=x=>{var P;const{scope:C,children:v,...O}=x,S=((P=C==null?void 0:C[n])==null?void 0:P[h])||p,k=g.useMemo(()=>O,Object.values(O));return ee.jsx(S.Provider,{value:k,children:v})};m.displayName=c+"Provider";function w(x,C){var S;const v=((S=C==null?void 0:C[n])==null?void 0:S[h])||p,O=g.useContext(v);if(O)return O;if(f!==void 0)return f;throw new Error(`\`${x}\` must be used within \`${c}\``)}return[m,w]}const l=()=>{const c=i.map(f=>g.createContext(f));return function(p){const h=(p==null?void 0:p[n])||c;return g.useMemo(()=>({[`__scope${n}`]:{...p,[n]:h}}),[p,h])}};return l.scopeName=n,[a,Lx(l,...r)]}function Lx(...n){const r=n[0];if(n.length===1)return r;const i=()=>{const a=n.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(c){const f=a.reduce((p,{useScope:h,scopeName:m})=>{const x=h(c)[`__scope${m}`];return{...p,...x}},{});return g.useMemo(()=>({[`__scope${r.scopeName}`]:f}),[f])}};return i.scopeName=r.scopeName,i}function Th(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function ty(...n){return r=>{let i=!1;const a=n.map(l=>{const c=Th(l,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let l=0;l<a.length;l++){const c=a[l];typeof c=="function"?c():Th(n[l],null)}}}}function ct(...n){return g.useCallback(ty(...n),n)}function el(n){const r=Ax(n),i=g.forwardRef((a,l)=>{const{children:c,...f}=a,p=g.Children.toArray(c),h=p.find(Ix);if(h){const m=h.props.children,w=p.map(x=>x===h?g.Children.count(m)>1?g.Children.only(null):g.isValidElement(m)?m.props.children:null:x);return ee.jsx(r,{...f,ref:l,children:g.isValidElement(m)?g.cloneElement(m,void 0,w):null})}return ee.jsx(r,{...f,ref:l,children:c})});return i.displayName=`${n}.Slot`,i}function Ax(n){const r=g.forwardRef((i,a)=>{const{children:l,...c}=i;if(g.isValidElement(l)){const f=zx(l),p=Dx(c,l.props);return l.type!==g.Fragment&&(p.ref=a?ty(a,f):f),g.cloneElement(l,p)}return g.Children.count(l)>1?g.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var ny=Symbol("radix.slottable");function SE(n){const r=({children:i})=>ee.jsx(ee.Fragment,{children:i});return r.displayName=`${n}.Slottable`,r.__radixId=ny,r}function Ix(n){return g.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===ny}function Dx(n,r){const i={...r};for(const a in r){const l=n[a],c=r[a];/^on[A-Z]/.test(a)?l&&c?i[a]=(...p)=>{const h=c(...p);return l(...p),h}:l&&(i[a]=l):a==="style"?i[a]={...l,...c}:a==="className"&&(i[a]=[l,c].filter(Boolean).join(" "))}return{...n,...i}}function zx(n){var a,l;let r=(a=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:a.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(l=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:l.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}function Fx(n){const r=n+"CollectionProvider",[i,a]=sd(r),[l,c]=i(r,{collectionRef:{current:null},itemMap:new Map}),f=S=>{const{scope:k,children:P}=S,T=G.useRef(null),R=G.useRef(new Map).current;return ee.jsx(l,{scope:k,itemMap:R,collectionRef:T,children:P})};f.displayName=r;const p=n+"CollectionSlot",h=el(p),m=G.forwardRef((S,k)=>{const{scope:P,children:T}=S,R=c(p,P),L=ct(k,R.collectionRef);return ee.jsx(h,{ref:L,children:T})});m.displayName=p;const w=n+"CollectionItemSlot",x="data-radix-collection-item",C=el(w),v=G.forwardRef((S,k)=>{const{scope:P,children:T,...R}=S,L=G.useRef(null),F=ct(k,L),U=c(w,P);return G.useEffect(()=>(U.itemMap.set(L,{ref:L,...R}),()=>void U.itemMap.delete(L))),ee.jsx(C,{[x]:"",ref:F,children:T})});v.displayName=w;function O(S){const k=c(n+"CollectionConsumer",S);return G.useCallback(()=>{const T=k.collectionRef.current;if(!T)return[];const R=Array.from(T.querySelectorAll(`[${x}]`));return Array.from(k.itemMap.values()).sort((U,H)=>R.indexOf(U.ref.current)-R.indexOf(H.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:f,Slot:m,ItemSlot:v},O,a]}var jx=g.createContext(void 0);function Bx(n){const r=g.useContext(jx);return n||r||"ltr"}var Ux=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Xe=Ux.reduce((n,r)=>{const i=el(`Primitive.${r}`),a=g.forwardRef((l,c)=>{const{asChild:f,...p}=l,h=f?i:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ee.jsx(h,{...p,ref:c})});return a.displayName=`Primitive.${r}`,{...n,[r]:a}},{});function Hx(n,r){n&&xs.flushSync(()=>n.dispatchEvent(r))}function go(n){const r=g.useRef(n);return g.useEffect(()=>{r.current=n}),g.useMemo(()=>(...i)=>{var a;return(a=r.current)==null?void 0:a.call(r,...i)},[])}function $x(n,r=globalThis==null?void 0:globalThis.document){const i=go(n);g.useEffect(()=>{const a=l=>{l.key==="Escape"&&i(l)};return r.addEventListener("keydown",a,{capture:!0}),()=>r.removeEventListener("keydown",a,{capture:!0})},[i,r])}var Vx="DismissableLayer",Ac="dismissableLayer.update",Wx="dismissableLayer.pointerDownOutside",Qx="dismissableLayer.focusOutside",Oh,ry=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),oy=g.forwardRef((n,r)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:f,onDismiss:p,...h}=n,m=g.useContext(ry),[w,x]=g.useState(null),C=(w==null?void 0:w.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=g.useState({}),O=ct(r,H=>x(H)),S=Array.from(m.layers),[k]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),P=S.indexOf(k),T=w?S.indexOf(w):-1,R=m.layersWithOutsidePointerEventsDisabled.size>0,L=T>=P,F=Yx(H=>{const q=H.target,Z=[...m.branches].some(te=>te.contains(q));!L||Z||(l==null||l(H),f==null||f(H),H.defaultPrevented||p==null||p())},C),U=Gx(H=>{const q=H.target;[...m.branches].some(te=>te.contains(q))||(c==null||c(H),f==null||f(H),H.defaultPrevented||p==null||p())},C);return $x(H=>{T===m.layers.size-1&&(a==null||a(H),!H.defaultPrevented&&p&&(H.preventDefault(),p()))},C),g.useEffect(()=>{if(w)return i&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(Oh=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(w)),m.layers.add(w),_h(),()=>{i&&m.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=Oh)}},[w,C,i,m]),g.useEffect(()=>()=>{w&&(m.layers.delete(w),m.layersWithOutsidePointerEventsDisabled.delete(w),_h())},[w,m]),g.useEffect(()=>{const H=()=>v({});return document.addEventListener(Ac,H),()=>document.removeEventListener(Ac,H)},[]),ee.jsx(Xe.div,{...h,ref:O,style:{pointerEvents:R?L?"auto":"none":void 0,...n.style},onFocusCapture:Je(n.onFocusCapture,U.onFocusCapture),onBlurCapture:Je(n.onBlurCapture,U.onBlurCapture),onPointerDownCapture:Je(n.onPointerDownCapture,F.onPointerDownCapture)})});oy.displayName=Vx;var Kx="DismissableLayerBranch",qx=g.forwardRef((n,r)=>{const i=g.useContext(ry),a=g.useRef(null),l=ct(r,a);return g.useEffect(()=>{const c=a.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),ee.jsx(Xe.div,{...n,ref:l})});qx.displayName=Kx;function Yx(n,r=globalThis==null?void 0:globalThis.document){const i=go(n),a=g.useRef(!1),l=g.useRef(()=>{});return g.useEffect(()=>{const c=p=>{if(p.target&&!a.current){let h=function(){iy(Wx,i,m,{discrete:!0})};const m={originalEvent:p};p.pointerType==="touch"?(r.removeEventListener("click",l.current),l.current=h,r.addEventListener("click",l.current,{once:!0})):h()}else r.removeEventListener("click",l.current);a.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",l.current)}},[r,i]),{onPointerDownCapture:()=>a.current=!0}}function Gx(n,r=globalThis==null?void 0:globalThis.document){const i=go(n),a=g.useRef(!1);return g.useEffect(()=>{const l=c=>{c.target&&!a.current&&iy(Qx,i,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",l),()=>r.removeEventListener("focusin",l)},[r,i]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function _h(){const n=new CustomEvent(Ac);document.dispatchEvent(n)}function iy(n,r,i,{discrete:a}){const l=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});r&&l.addEventListener(n,r,{once:!0}),a?Hx(l,c):l.dispatchEvent(c)}var ac=0;function Xx(){g.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??Nh()),document.body.insertAdjacentElement("beforeend",n[1]??Nh()),ac++,()=>{ac===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ac--}},[])}function Nh(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var lc="focusScope.autoFocusOnMount",uc="focusScope.autoFocusOnUnmount",Lh={bubbles:!1,cancelable:!0},Zx="FocusScope",sy=g.forwardRef((n,r)=>{const{loop:i=!1,trapped:a=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...f}=n,[p,h]=g.useState(null),m=go(l),w=go(c),x=g.useRef(null),C=ct(r,S=>h(S)),v=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(a){let S=function(R){if(v.paused||!p)return;const L=R.target;p.contains(L)?x.current=L:Tr(x.current,{select:!0})},k=function(R){if(v.paused||!p)return;const L=R.relatedTarget;L!==null&&(p.contains(L)||Tr(x.current,{select:!0}))},P=function(R){if(document.activeElement===document.body)for(const F of R)F.removedNodes.length>0&&Tr(p)};document.addEventListener("focusin",S),document.addEventListener("focusout",k);const T=new MutationObserver(P);return p&&T.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k),T.disconnect()}}},[a,p,v.paused]),g.useEffect(()=>{if(p){Ih.add(v);const S=document.activeElement;if(!p.contains(S)){const P=new CustomEvent(lc,Lh);p.addEventListener(lc,m),p.dispatchEvent(P),P.defaultPrevented||(Jx(o2(ay(p)),{select:!0}),document.activeElement===S&&Tr(p))}return()=>{p.removeEventListener(lc,m),setTimeout(()=>{const P=new CustomEvent(uc,Lh);p.addEventListener(uc,w),p.dispatchEvent(P),P.defaultPrevented||Tr(S??document.body,{select:!0}),p.removeEventListener(uc,w),Ih.remove(v)},0)}}},[p,m,w,v]);const O=g.useCallback(S=>{if(!i&&!a||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,P=document.activeElement;if(k&&P){const T=S.currentTarget,[R,L]=e2(T);R&&L?!S.shiftKey&&P===L?(S.preventDefault(),i&&Tr(R,{select:!0})):S.shiftKey&&P===R&&(S.preventDefault(),i&&Tr(L,{select:!0})):P===T&&S.preventDefault()}},[i,a,v.paused]);return ee.jsx(Xe.div,{tabIndex:-1,...f,ref:C,onKeyDown:O})});sy.displayName=Zx;function Jx(n,{select:r=!1}={}){const i=document.activeElement;for(const a of n)if(Tr(a,{select:r}),document.activeElement!==i)return}function e2(n){const r=ay(n),i=Ah(r,n),a=Ah(r.reverse(),n);return[i,a]}function ay(n){const r=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const l=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||l?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)r.push(i.currentNode);return r}function Ah(n,r){for(const i of n)if(!t2(i,{upTo:r}))return i}function t2(n,{upTo:r}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(r!==void 0&&n===r)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function n2(n){return n instanceof HTMLInputElement&&"select"in n}function Tr(n,{select:r=!1}={}){if(n&&n.focus){const i=document.activeElement;n.focus({preventScroll:!0}),n!==i&&n2(n)&&r&&n.select()}}var Ih=r2();function r2(){let n=[];return{add(r){const i=n[0];r!==i&&(i==null||i.pause()),n=Dh(n,r),n.unshift(r)},remove(r){var i;n=Dh(n,r),(i=n[0])==null||i.resume()}}}function Dh(n,r){const i=[...n],a=i.indexOf(r);return a!==-1&&i.splice(a,1),i}function o2(n){return n.filter(r=>r.tagName!=="A")}var At=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},i2=hm[" useId ".trim().toString()]||(()=>{}),s2=0;function ad(n){const[r,i]=g.useState(i2());return At(()=>{i(a=>a??String(s2++))},[n]),r?`radix-${r}`:""}const a2=["top","right","bottom","left"],Br=Math.min,jt=Math.max,tl=Math.round,Ba=Math.floor,In=n=>({x:n,y:n}),l2={left:"right",right:"left",bottom:"top",top:"bottom"},u2={start:"end",end:"start"};function Ic(n,r,i){return jt(n,Br(r,i))}function nr(n,r){return typeof n=="function"?n(r):n}function rr(n){return n.split("-")[0]}function wi(n){return n.split("-")[1]}function ld(n){return n==="x"?"y":"x"}function ud(n){return n==="y"?"height":"width"}const c2=new Set(["top","bottom"]);function An(n){return c2.has(rr(n))?"y":"x"}function cd(n){return ld(An(n))}function d2(n,r,i){i===void 0&&(i=!1);const a=wi(n),l=cd(n),c=ud(l);let f=l==="x"?a===(i?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(f=nl(f)),[f,nl(f)]}function f2(n){const r=nl(n);return[Dc(n),r,Dc(r)]}function Dc(n){return n.replace(/start|end/g,r=>u2[r])}const zh=["left","right"],Fh=["right","left"],p2=["top","bottom"],h2=["bottom","top"];function m2(n,r,i){switch(n){case"top":case"bottom":return i?r?Fh:zh:r?zh:Fh;case"left":case"right":return r?p2:h2;default:return[]}}function y2(n,r,i,a){const l=wi(n);let c=m2(rr(n),i==="start",a);return l&&(c=c.map(f=>f+"-"+l),r&&(c=c.concat(c.map(Dc)))),c}function nl(n){return n.replace(/left|right|bottom|top/g,r=>l2[r])}function v2(n){return{top:0,right:0,bottom:0,left:0,...n}}function ly(n){return typeof n!="number"?v2(n):{top:n,right:n,bottom:n,left:n}}function rl(n){const{x:r,y:i,width:a,height:l}=n;return{width:a,height:l,top:i,left:r,right:r+a,bottom:i+l,x:r,y:i}}function jh(n,r,i){let{reference:a,floating:l}=n;const c=An(r),f=cd(r),p=ud(f),h=rr(r),m=c==="y",w=a.x+a.width/2-l.width/2,x=a.y+a.height/2-l.height/2,C=a[p]/2-l[p]/2;let v;switch(h){case"top":v={x:w,y:a.y-l.height};break;case"bottom":v={x:w,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y:x};break;case"left":v={x:a.x-l.width,y:x};break;default:v={x:a.x,y:a.y}}switch(wi(r)){case"start":v[f]-=C*(i&&m?-1:1);break;case"end":v[f]+=C*(i&&m?-1:1);break}return v}async function g2(n,r){var i;r===void 0&&(r={});const{x:a,y:l,platform:c,rects:f,elements:p,strategy:h}=n,{boundary:m="clippingAncestors",rootBoundary:w="viewport",elementContext:x="floating",altBoundary:C=!1,padding:v=0}=nr(r,n),O=ly(v),k=p[C?x==="floating"?"reference":"floating":x],P=rl(await c.getClippingRect({element:(i=await(c.isElement==null?void 0:c.isElement(k)))==null||i?k:k.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:m,rootBoundary:w,strategy:h})),T=x==="floating"?{x:a,y:l,width:f.floating.width,height:f.floating.height}:f.reference,R=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),L=await(c.isElement==null?void 0:c.isElement(R))?await(c.getScale==null?void 0:c.getScale(R))||{x:1,y:1}:{x:1,y:1},F=rl(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:T,offsetParent:R,strategy:h}):T);return{top:(P.top-F.top+O.top)/L.y,bottom:(F.bottom-P.bottom+O.bottom)/L.y,left:(P.left-F.left+O.left)/L.x,right:(F.right-P.right+O.right)/L.x}}const w2=async(n,r,i)=>{const{placement:a="bottom",strategy:l="absolute",middleware:c=[],platform:f}=i,p=c.filter(Boolean),h=await(f.isRTL==null?void 0:f.isRTL(r));let m=await f.getElementRects({reference:n,floating:r,strategy:l}),{x:w,y:x}=jh(m,a,h),C=a,v={},O=0;for(let k=0;k<p.length;k++){var S;const{name:P,fn:T}=p[k],{x:R,y:L,data:F,reset:U}=await T({x:w,y:x,initialPlacement:a,placement:C,strategy:l,middlewareData:v,rects:m,platform:{...f,detectOverflow:(S=f.detectOverflow)!=null?S:g2},elements:{reference:n,floating:r}});w=R??w,x=L??x,v={...v,[P]:{...v[P],...F}},U&&O<=50&&(O++,typeof U=="object"&&(U.placement&&(C=U.placement),U.rects&&(m=U.rects===!0?await f.getElementRects({reference:n,floating:r,strategy:l}):U.rects),{x:w,y:x}=jh(m,C,h)),k=-1)}return{x:w,y:x,placement:C,strategy:l,middlewareData:v}},x2=n=>({name:"arrow",options:n,async fn(r){const{x:i,y:a,placement:l,rects:c,platform:f,elements:p,middlewareData:h}=r,{element:m,padding:w=0}=nr(n,r)||{};if(m==null)return{};const x=ly(w),C={x:i,y:a},v=cd(l),O=ud(v),S=await f.getDimensions(m),k=v==="y",P=k?"top":"left",T=k?"bottom":"right",R=k?"clientHeight":"clientWidth",L=c.reference[O]+c.reference[v]-C[v]-c.floating[O],F=C[v]-c.reference[v],U=await(f.getOffsetParent==null?void 0:f.getOffsetParent(m));let H=U?U[R]:0;(!H||!await(f.isElement==null?void 0:f.isElement(U)))&&(H=p.floating[R]||c.floating[O]);const q=L/2-F/2,Z=H/2-S[O]/2-1,te=Br(x[P],Z),he=Br(x[T],Z),X=te,ve=H-S[O]-he,de=H/2-S[O]/2+q,xe=Ic(X,de,ve),ue=!h.arrow&&wi(l)!=null&&de!==xe&&c.reference[O]/2-(de<X?te:he)-S[O]/2<0,ie=ue?de<X?de-X:de-ve:0;return{[v]:C[v]+ie,data:{[v]:xe,centerOffset:de-xe-ie,...ue&&{alignmentOffset:ie}},reset:ue}}}),S2=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(r){var i,a;const{placement:l,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:m}=r,{mainAxis:w=!0,crossAxis:x=!0,fallbackPlacements:C,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...k}=nr(n,r);if((i=c.arrow)!=null&&i.alignmentOffset)return{};const P=rr(l),T=An(p),R=rr(p)===p,L=await(h.isRTL==null?void 0:h.isRTL(m.floating)),F=C||(R||!S?[nl(p)]:f2(p)),U=O!=="none";!C&&U&&F.push(...y2(p,S,O,L));const H=[p,...F],q=await h.detectOverflow(r,k),Z=[];let te=((a=c.flip)==null?void 0:a.overflows)||[];if(w&&Z.push(q[P]),x){const de=d2(l,f,L);Z.push(q[de[0]],q[de[1]])}if(te=[...te,{placement:l,overflows:Z}],!Z.every(de=>de<=0)){var he,X;const de=(((he=c.flip)==null?void 0:he.index)||0)+1,xe=H[de];if(xe&&(!(x==="alignment"?T!==An(xe):!1)||te.every(j=>An(j.placement)===T?j.overflows[0]>0:!0)))return{data:{index:de,overflows:te},reset:{placement:xe}};let ue=(X=te.filter(ie=>ie.overflows[0]<=0).sort((ie,j)=>ie.overflows[1]-j.overflows[1])[0])==null?void 0:X.placement;if(!ue)switch(v){case"bestFit":{var ve;const ie=(ve=te.filter(j=>{if(U){const B=An(j.placement);return B===T||B==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(B=>B>0).reduce((B,W)=>B+W,0)]).sort((j,B)=>j[1]-B[1])[0])==null?void 0:ve[0];ie&&(ue=ie);break}case"initialPlacement":ue=p;break}if(l!==ue)return{reset:{placement:ue}}}return{}}}};function Bh(n,r){return{top:n.top-r.height,right:n.right-r.width,bottom:n.bottom-r.height,left:n.left-r.width}}function Uh(n){return a2.some(r=>n[r]>=0)}const k2=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(r){const{rects:i,platform:a}=r,{strategy:l="referenceHidden",...c}=nr(n,r);switch(l){case"referenceHidden":{const f=await a.detectOverflow(r,{...c,elementContext:"reference"}),p=Bh(f,i.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:Uh(p)}}}case"escaped":{const f=await a.detectOverflow(r,{...c,altBoundary:!0}),p=Bh(f,i.floating);return{data:{escapedOffsets:p,escaped:Uh(p)}}}default:return{}}}}},uy=new Set(["left","top"]);async function C2(n,r){const{placement:i,platform:a,elements:l}=n,c=await(a.isRTL==null?void 0:a.isRTL(l.floating)),f=rr(i),p=wi(i),h=An(i)==="y",m=uy.has(f)?-1:1,w=c&&h?-1:1,x=nr(r,n);let{mainAxis:C,crossAxis:v,alignmentAxis:O}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return p&&typeof O=="number"&&(v=p==="end"?O*-1:O),h?{x:v*w,y:C*m}:{x:C*m,y:v*w}}const E2=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(r){var i,a;const{x:l,y:c,placement:f,middlewareData:p}=r,h=await C2(r,n);return f===((i=p.offset)==null?void 0:i.placement)&&(a=p.arrow)!=null&&a.alignmentOffset?{}:{x:l+h.x,y:c+h.y,data:{...h,placement:f}}}}},b2=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(r){const{x:i,y:a,placement:l,platform:c}=r,{mainAxis:f=!0,crossAxis:p=!1,limiter:h={fn:P=>{let{x:T,y:R}=P;return{x:T,y:R}}},...m}=nr(n,r),w={x:i,y:a},x=await c.detectOverflow(r,m),C=An(rr(l)),v=ld(C);let O=w[v],S=w[C];if(f){const P=v==="y"?"top":"left",T=v==="y"?"bottom":"right",R=O+x[P],L=O-x[T];O=Ic(R,O,L)}if(p){const P=C==="y"?"top":"left",T=C==="y"?"bottom":"right",R=S+x[P],L=S-x[T];S=Ic(R,S,L)}const k=h.fn({...r,[v]:O,[C]:S});return{...k,data:{x:k.x-i,y:k.y-a,enabled:{[v]:f,[C]:p}}}}}},R2=function(n){return n===void 0&&(n={}),{options:n,fn(r){const{x:i,y:a,placement:l,rects:c,middlewareData:f}=r,{offset:p=0,mainAxis:h=!0,crossAxis:m=!0}=nr(n,r),w={x:i,y:a},x=An(l),C=ld(x);let v=w[C],O=w[x];const S=nr(p,r),k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(h){const R=C==="y"?"height":"width",L=c.reference[C]-c.floating[R]+k.mainAxis,F=c.reference[C]+c.reference[R]-k.mainAxis;v<L?v=L:v>F&&(v=F)}if(m){var P,T;const R=C==="y"?"width":"height",L=uy.has(rr(l)),F=c.reference[x]-c.floating[R]+(L&&((P=f.offset)==null?void 0:P[x])||0)+(L?0:k.crossAxis),U=c.reference[x]+c.reference[R]+(L?0:((T=f.offset)==null?void 0:T[x])||0)-(L?k.crossAxis:0);O<F?O=F:O>U&&(O=U)}return{[C]:v,[x]:O}}}},P2=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(r){var i,a;const{placement:l,rects:c,platform:f,elements:p}=r,{apply:h=()=>{},...m}=nr(n,r),w=await f.detectOverflow(r,m),x=rr(l),C=wi(l),v=An(l)==="y",{width:O,height:S}=c.floating;let k,P;x==="top"||x==="bottom"?(k=x,P=C===(await(f.isRTL==null?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(P=x,k=C==="end"?"top":"bottom");const T=S-w.top-w.bottom,R=O-w.left-w.right,L=Br(S-w[k],T),F=Br(O-w[P],R),U=!r.middlewareData.shift;let H=L,q=F;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(q=R),(a=r.middlewareData.shift)!=null&&a.enabled.y&&(H=T),U&&!C){const te=jt(w.left,0),he=jt(w.right,0),X=jt(w.top,0),ve=jt(w.bottom,0);v?q=O-2*(te!==0||he!==0?te+he:jt(w.left,w.right)):H=S-2*(X!==0||ve!==0?X+ve:jt(w.top,w.bottom))}await h({...r,availableWidth:q,availableHeight:H});const Z=await f.getDimensions(p.floating);return O!==Z.width||S!==Z.height?{reset:{rects:!0}}:{}}}};function ll(){return typeof window<"u"}function xi(n){return cy(n)?(n.nodeName||"").toLowerCase():"#document"}function Bt(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function zn(n){var r;return(r=(cy(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function cy(n){return ll()?n instanceof Node||n instanceof Bt(n).Node:!1}function hn(n){return ll()?n instanceof Element||n instanceof Bt(n).Element:!1}function Dn(n){return ll()?n instanceof HTMLElement||n instanceof Bt(n).HTMLElement:!1}function Hh(n){return!ll()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Bt(n).ShadowRoot}const M2=new Set(["inline","contents"]);function Ss(n){const{overflow:r,overflowX:i,overflowY:a,display:l}=mn(n);return/auto|scroll|overlay|hidden|clip/.test(r+a+i)&&!M2.has(l)}const T2=new Set(["table","td","th"]);function O2(n){return T2.has(xi(n))}const _2=[":popover-open",":modal"];function ul(n){return _2.some(r=>{try{return n.matches(r)}catch{return!1}})}const N2=["transform","translate","scale","rotate","perspective"],L2=["transform","translate","scale","rotate","perspective","filter"],A2=["paint","layout","strict","content"];function dd(n){const r=fd(),i=hn(n)?mn(n):n;return N2.some(a=>i[a]?i[a]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!r&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!r&&(i.filter?i.filter!=="none":!1)||L2.some(a=>(i.willChange||"").includes(a))||A2.some(a=>(i.contain||"").includes(a))}function I2(n){let r=Ur(n);for(;Dn(r)&&!pi(r);){if(dd(r))return r;if(ul(r))return null;r=Ur(r)}return null}function fd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const D2=new Set(["html","body","#document"]);function pi(n){return D2.has(xi(n))}function mn(n){return Bt(n).getComputedStyle(n)}function cl(n){return hn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Ur(n){if(xi(n)==="html")return n;const r=n.assignedSlot||n.parentNode||Hh(n)&&n.host||zn(n);return Hh(r)?r.host:r}function dy(n){const r=Ur(n);return pi(r)?n.ownerDocument?n.ownerDocument.body:n.body:Dn(r)&&Ss(r)?r:dy(r)}function fs(n,r,i){var a;r===void 0&&(r=[]),i===void 0&&(i=!0);const l=dy(n),c=l===((a=n.ownerDocument)==null?void 0:a.body),f=Bt(l);if(c){const p=zc(f);return r.concat(f,f.visualViewport||[],Ss(l)?l:[],p&&i?fs(p):[])}return r.concat(l,fs(l,[],i))}function zc(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function fy(n){const r=mn(n);let i=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const l=Dn(n),c=l?n.offsetWidth:i,f=l?n.offsetHeight:a,p=tl(i)!==c||tl(a)!==f;return p&&(i=c,a=f),{width:i,height:a,$:p}}function pd(n){return hn(n)?n:n.contextElement}function Jo(n){const r=pd(n);if(!Dn(r))return In(1);const i=r.getBoundingClientRect(),{width:a,height:l,$:c}=fy(r);let f=(c?tl(i.width):i.width)/a,p=(c?tl(i.height):i.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const z2=In(0);function py(n){const r=Bt(n);return!fd()||!r.visualViewport?z2:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function F2(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==Bt(n)?!1:r}function wo(n,r,i,a){r===void 0&&(r=!1),i===void 0&&(i=!1);const l=n.getBoundingClientRect(),c=pd(n);let f=In(1);r&&(a?hn(a)&&(f=Jo(a)):f=Jo(n));const p=F2(c,i,a)?py(c):In(0);let h=(l.left+p.x)/f.x,m=(l.top+p.y)/f.y,w=l.width/f.x,x=l.height/f.y;if(c){const C=Bt(c),v=a&&hn(a)?Bt(a):a;let O=C,S=zc(O);for(;S&&a&&v!==O;){const k=Jo(S),P=S.getBoundingClientRect(),T=mn(S),R=P.left+(S.clientLeft+parseFloat(T.paddingLeft))*k.x,L=P.top+(S.clientTop+parseFloat(T.paddingTop))*k.y;h*=k.x,m*=k.y,w*=k.x,x*=k.y,h+=R,m+=L,O=Bt(S),S=zc(O)}}return rl({width:w,height:x,x:h,y:m})}function dl(n,r){const i=cl(n).scrollLeft;return r?r.left+i:wo(zn(n)).left+i}function hy(n,r){const i=n.getBoundingClientRect(),a=i.left+r.scrollLeft-dl(n,i),l=i.top+r.scrollTop;return{x:a,y:l}}function j2(n){let{elements:r,rect:i,offsetParent:a,strategy:l}=n;const c=l==="fixed",f=zn(a),p=r?ul(r.floating):!1;if(a===f||p&&c)return i;let h={scrollLeft:0,scrollTop:0},m=In(1);const w=In(0),x=Dn(a);if((x||!x&&!c)&&((xi(a)!=="body"||Ss(f))&&(h=cl(a)),Dn(a))){const v=wo(a);m=Jo(a),w.x=v.x+a.clientLeft,w.y=v.y+a.clientTop}const C=f&&!x&&!c?hy(f,h):In(0);return{width:i.width*m.x,height:i.height*m.y,x:i.x*m.x-h.scrollLeft*m.x+w.x+C.x,y:i.y*m.y-h.scrollTop*m.y+w.y+C.y}}function B2(n){return Array.from(n.getClientRects())}function U2(n){const r=zn(n),i=cl(n),a=n.ownerDocument.body,l=jt(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),c=jt(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let f=-i.scrollLeft+dl(n);const p=-i.scrollTop;return mn(a).direction==="rtl"&&(f+=jt(r.clientWidth,a.clientWidth)-l),{width:l,height:c,x:f,y:p}}const $h=25;function H2(n,r){const i=Bt(n),a=zn(n),l=i.visualViewport;let c=a.clientWidth,f=a.clientHeight,p=0,h=0;if(l){c=l.width,f=l.height;const w=fd();(!w||w&&r==="fixed")&&(p=l.offsetLeft,h=l.offsetTop)}const m=dl(a);if(m<=0){const w=a.ownerDocument,x=w.body,C=getComputedStyle(x),v=w.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,O=Math.abs(a.clientWidth-x.clientWidth-v);O<=$h&&(c-=O)}else m<=$h&&(c+=m);return{width:c,height:f,x:p,y:h}}const $2=new Set(["absolute","fixed"]);function V2(n,r){const i=wo(n,!0,r==="fixed"),a=i.top+n.clientTop,l=i.left+n.clientLeft,c=Dn(n)?Jo(n):In(1),f=n.clientWidth*c.x,p=n.clientHeight*c.y,h=l*c.x,m=a*c.y;return{width:f,height:p,x:h,y:m}}function Vh(n,r,i){let a;if(r==="viewport")a=H2(n,i);else if(r==="document")a=U2(zn(n));else if(hn(r))a=V2(r,i);else{const l=py(n);a={x:r.x-l.x,y:r.y-l.y,width:r.width,height:r.height}}return rl(a)}function my(n,r){const i=Ur(n);return i===r||!hn(i)||pi(i)?!1:mn(i).position==="fixed"||my(i,r)}function W2(n,r){const i=r.get(n);if(i)return i;let a=fs(n,[],!1).filter(p=>hn(p)&&xi(p)!=="body"),l=null;const c=mn(n).position==="fixed";let f=c?Ur(n):n;for(;hn(f)&&!pi(f);){const p=mn(f),h=dd(f);!h&&p.position==="fixed"&&(l=null),(c?!h&&!l:!h&&p.position==="static"&&!!l&&$2.has(l.position)||Ss(f)&&!h&&my(n,f))?a=a.filter(w=>w!==f):l=p,f=Ur(f)}return r.set(n,a),a}function Q2(n){let{element:r,boundary:i,rootBoundary:a,strategy:l}=n;const f=[...i==="clippingAncestors"?ul(r)?[]:W2(r,this._c):[].concat(i),a],p=f[0],h=f.reduce((m,w)=>{const x=Vh(r,w,l);return m.top=jt(x.top,m.top),m.right=Br(x.right,m.right),m.bottom=Br(x.bottom,m.bottom),m.left=jt(x.left,m.left),m},Vh(r,p,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function K2(n){const{width:r,height:i}=fy(n);return{width:r,height:i}}function q2(n,r,i){const a=Dn(r),l=zn(r),c=i==="fixed",f=wo(n,!0,c,r);let p={scrollLeft:0,scrollTop:0};const h=In(0);function m(){h.x=dl(l)}if(a||!a&&!c)if((xi(r)!=="body"||Ss(l))&&(p=cl(r)),a){const v=wo(r,!0,c,r);h.x=v.x+r.clientLeft,h.y=v.y+r.clientTop}else l&&m();c&&!a&&l&&m();const w=l&&!a&&!c?hy(l,p):In(0),x=f.left+p.scrollLeft-h.x-w.x,C=f.top+p.scrollTop-h.y-w.y;return{x,y:C,width:f.width,height:f.height}}function cc(n){return mn(n).position==="static"}function Wh(n,r){if(!Dn(n)||mn(n).position==="fixed")return null;if(r)return r(n);let i=n.offsetParent;return zn(n)===i&&(i=i.ownerDocument.body),i}function yy(n,r){const i=Bt(n);if(ul(n))return i;if(!Dn(n)){let l=Ur(n);for(;l&&!pi(l);){if(hn(l)&&!cc(l))return l;l=Ur(l)}return i}let a=Wh(n,r);for(;a&&O2(a)&&cc(a);)a=Wh(a,r);return a&&pi(a)&&cc(a)&&!dd(a)?i:a||I2(n)||i}const Y2=async function(n){const r=this.getOffsetParent||yy,i=this.getDimensions,a=await i(n.floating);return{reference:q2(n.reference,await r(n.floating),n.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function G2(n){return mn(n).direction==="rtl"}const X2={convertOffsetParentRelativeRectToViewportRelativeRect:j2,getDocumentElement:zn,getClippingRect:Q2,getOffsetParent:yy,getElementRects:Y2,getClientRects:B2,getDimensions:K2,getScale:Jo,isElement:hn,isRTL:G2};function vy(n,r){return n.x===r.x&&n.y===r.y&&n.width===r.width&&n.height===r.height}function Z2(n,r){let i=null,a;const l=zn(n);function c(){var p;clearTimeout(a),(p=i)==null||p.disconnect(),i=null}function f(p,h){p===void 0&&(p=!1),h===void 0&&(h=1),c();const m=n.getBoundingClientRect(),{left:w,top:x,width:C,height:v}=m;if(p||r(),!C||!v)return;const O=Ba(x),S=Ba(l.clientWidth-(w+C)),k=Ba(l.clientHeight-(x+v)),P=Ba(w),R={rootMargin:-O+"px "+-S+"px "+-k+"px "+-P+"px",threshold:jt(0,Br(1,h))||1};let L=!0;function F(U){const H=U[0].intersectionRatio;if(H!==h){if(!L)return f();H?f(!1,H):a=setTimeout(()=>{f(!1,1e-7)},1e3)}H===1&&!vy(m,n.getBoundingClientRect())&&f(),L=!1}try{i=new IntersectionObserver(F,{...R,root:l.ownerDocument})}catch{i=new IntersectionObserver(F,R)}i.observe(n)}return f(!0),c}function J2(n,r,i,a){a===void 0&&(a={});const{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:h=!1}=a,m=pd(n),w=l||c?[...m?fs(m):[],...fs(r)]:[];w.forEach(P=>{l&&P.addEventListener("scroll",i,{passive:!0}),c&&P.addEventListener("resize",i)});const x=m&&p?Z2(m,i):null;let C=-1,v=null;f&&(v=new ResizeObserver(P=>{let[T]=P;T&&T.target===m&&v&&(v.unobserve(r),cancelAnimationFrame(C),C=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(r)})),i()}),m&&!h&&v.observe(m),v.observe(r));let O,S=h?wo(n):null;h&&k();function k(){const P=wo(n);S&&!vy(S,P)&&i(),S=P,O=requestAnimationFrame(k)}return i(),()=>{var P;w.forEach(T=>{l&&T.removeEventListener("scroll",i),c&&T.removeEventListener("resize",i)}),x==null||x(),(P=v)==null||P.disconnect(),v=null,h&&cancelAnimationFrame(O)}}const eS=E2,tS=b2,nS=S2,rS=P2,oS=k2,Qh=x2,iS=R2,sS=(n,r,i)=>{const a=new Map,l={platform:X2,...i},c={...l.platform,_c:a};return w2(n,r,{...l,platform:c})};var aS=typeof document<"u",lS=function(){},qa=aS?g.useLayoutEffect:lS;function ol(n,r){if(n===r)return!0;if(typeof n!=typeof r)return!1;if(typeof n=="function"&&n.toString()===r.toString())return!0;let i,a,l;if(n&&r&&typeof n=="object"){if(Array.isArray(n)){if(i=n.length,i!==r.length)return!1;for(a=i;a--!==0;)if(!ol(n[a],r[a]))return!1;return!0}if(l=Object.keys(n),i=l.length,i!==Object.keys(r).length)return!1;for(a=i;a--!==0;)if(!{}.hasOwnProperty.call(r,l[a]))return!1;for(a=i;a--!==0;){const c=l[a];if(!(c==="_owner"&&n.$$typeof)&&!ol(n[c],r[c]))return!1}return!0}return n!==n&&r!==r}function gy(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function Kh(n,r){const i=gy(n);return Math.round(r*i)/i}function dc(n){const r=g.useRef(n);return qa(()=>{r.current=n}),r}function uS(n){n===void 0&&(n={});const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:l,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:m}=n,[w,x]=g.useState({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),[C,v]=g.useState(a);ol(C,a)||v(a);const[O,S]=g.useState(null),[k,P]=g.useState(null),T=g.useCallback(j=>{j!==U.current&&(U.current=j,S(j))},[]),R=g.useCallback(j=>{j!==H.current&&(H.current=j,P(j))},[]),L=c||O,F=f||k,U=g.useRef(null),H=g.useRef(null),q=g.useRef(w),Z=h!=null,te=dc(h),he=dc(l),X=dc(m),ve=g.useCallback(()=>{if(!U.current||!H.current)return;const j={placement:r,strategy:i,middleware:C};he.current&&(j.platform=he.current),sS(U.current,H.current,j).then(B=>{const W={...B,isPositioned:X.current!==!1};de.current&&!ol(q.current,W)&&(q.current=W,xs.flushSync(()=>{x(W)}))})},[C,r,i,he,X]);qa(()=>{m===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,x(j=>({...j,isPositioned:!1})))},[m]);const de=g.useRef(!1);qa(()=>(de.current=!0,()=>{de.current=!1}),[]),qa(()=>{if(L&&(U.current=L),F&&(H.current=F),L&&F){if(te.current)return te.current(L,F,ve);ve()}},[L,F,ve,te,Z]);const xe=g.useMemo(()=>({reference:U,floating:H,setReference:T,setFloating:R}),[T,R]),ue=g.useMemo(()=>({reference:L,floating:F}),[L,F]),ie=g.useMemo(()=>{const j={position:i,left:0,top:0};if(!ue.floating)return j;const B=Kh(ue.floating,w.x),W=Kh(ue.floating,w.y);return p?{...j,transform:"translate("+B+"px, "+W+"px)",...gy(ue.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:B,top:W}},[i,p,ue.floating,w.x,w.y]);return g.useMemo(()=>({...w,update:ve,refs:xe,elements:ue,floatingStyles:ie}),[w,ve,xe,ue,ie])}const cS=n=>{function r(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:n,fn(i){const{element:a,padding:l}=typeof n=="function"?n(i):n;return a&&r(a)?a.current!=null?Qh({element:a.current,padding:l}).fn(i):{}:a?Qh({element:a,padding:l}).fn(i):{}}}},dS=(n,r)=>({...eS(n),options:[n,r]}),fS=(n,r)=>({...tS(n),options:[n,r]}),pS=(n,r)=>({...iS(n),options:[n,r]}),hS=(n,r)=>({...nS(n),options:[n,r]}),mS=(n,r)=>({...rS(n),options:[n,r]}),yS=(n,r)=>({...oS(n),options:[n,r]}),vS=(n,r)=>({...cS(n),options:[n,r]});var gS="Arrow",wy=g.forwardRef((n,r)=>{const{children:i,width:a=10,height:l=5,...c}=n;return ee.jsx(Xe.svg,{...c,ref:r,width:a,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?i:ee.jsx("polygon",{points:"0,0 30,0 15,10"})})});wy.displayName=gS;var wS=wy;function xS(n){const[r,i]=g.useState(void 0);return At(()=>{if(n){i({width:n.offsetWidth,height:n.offsetHeight});const a=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const c=l[0];let f,p;if("borderBoxSize"in c){const h=c.borderBoxSize,m=Array.isArray(h)?h[0]:h;f=m.inlineSize,p=m.blockSize}else f=n.offsetWidth,p=n.offsetHeight;i({width:f,height:p})});return a.observe(n,{box:"border-box"}),()=>a.unobserve(n)}else i(void 0)},[n]),r}var hd="Popper",[xy,Sy]=sd(hd),[SS,ky]=xy(hd),Cy=n=>{const{__scopePopper:r,children:i}=n,[a,l]=g.useState(null);return ee.jsx(SS,{scope:r,anchor:a,onAnchorChange:l,children:i})};Cy.displayName=hd;var Ey="PopperAnchor",by=g.forwardRef((n,r)=>{const{__scopePopper:i,virtualRef:a,...l}=n,c=ky(Ey,i),f=g.useRef(null),p=ct(r,f),h=g.useRef(null);return g.useEffect(()=>{const m=h.current;h.current=(a==null?void 0:a.current)||f.current,m!==h.current&&c.onAnchorChange(h.current)}),a?null:ee.jsx(Xe.div,{...l,ref:p})});by.displayName=Ey;var md="PopperContent",[kS,CS]=xy(md),Ry=g.forwardRef((n,r)=>{var K,pe,ke,be,Me,Oe;const{__scopePopper:i,side:a="bottom",sideOffset:l=0,align:c="center",alignOffset:f=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:m=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:C=!1,updatePositionStrategy:v="optimized",onPlaced:O,...S}=n,k=ky(md,i),[P,T]=g.useState(null),R=ct(r,qe=>T(qe)),[L,F]=g.useState(null),U=xS(L),H=(U==null?void 0:U.width)??0,q=(U==null?void 0:U.height)??0,Z=a+(c!=="center"?"-"+c:""),te=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},he=Array.isArray(m)?m:[m],X=he.length>0,ve={padding:te,boundary:he.filter(bS),altBoundary:X},{refs:de,floatingStyles:xe,placement:ue,isPositioned:ie,middlewareData:j}=uS({strategy:"fixed",placement:Z,whileElementsMounted:(...qe)=>J2(...qe,{animationFrame:v==="always"}),elements:{reference:k.anchor},middleware:[dS({mainAxis:l+q,alignmentAxis:f}),h&&fS({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?pS():void 0,...ve}),h&&hS({...ve}),mS({...ve,apply:({elements:qe,rects:dt,availableWidth:vn,availableHeight:Xt})=>{const{width:Zt,height:or}=dt.reference,gn=qe.floating.style;gn.setProperty("--radix-popper-available-width",`${vn}px`),gn.setProperty("--radix-popper-available-height",`${Xt}px`),gn.setProperty("--radix-popper-anchor-width",`${Zt}px`),gn.setProperty("--radix-popper-anchor-height",`${or}px`)}}),L&&vS({element:L,padding:p}),RS({arrowWidth:H,arrowHeight:q}),C&&yS({strategy:"referenceHidden",...ve})]}),[B,W]=Ty(ue),_=go(O);At(()=>{ie&&(_==null||_())},[ie,_]);const z=(K=j.arrow)==null?void 0:K.x,ne=(pe=j.arrow)==null?void 0:pe.y,re=((ke=j.arrow)==null?void 0:ke.centerOffset)!==0,[ye,Se]=g.useState();return At(()=>{P&&Se(window.getComputedStyle(P).zIndex)},[P]),ee.jsx("div",{ref:de.setFloating,"data-radix-popper-content-wrapper":"",style:{...xe,transform:ie?xe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,"--radix-popper-transform-origin":[(be=j.transformOrigin)==null?void 0:be.x,(Me=j.transformOrigin)==null?void 0:Me.y].join(" "),...((Oe=j.hide)==null?void 0:Oe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:ee.jsx(kS,{scope:i,placedSide:B,onArrowChange:F,arrowX:z,arrowY:ne,shouldHideArrow:re,children:ee.jsx(Xe.div,{"data-side":B,"data-align":W,...S,ref:R,style:{...S.style,animation:ie?void 0:"none"}})})})});Ry.displayName=md;var Py="PopperArrow",ES={top:"bottom",right:"left",bottom:"top",left:"right"},My=g.forwardRef(function(r,i){const{__scopePopper:a,...l}=r,c=CS(Py,a),f=ES[c.placedSide];return ee.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:ee.jsx(wS,{...l,ref:i,style:{...l.style,display:"block"}})})});My.displayName=Py;function bS(n){return n!==null}var RS=n=>({name:"transformOrigin",options:n,fn(r){var k,P,T;const{placement:i,rects:a,middlewareData:l}=r,f=((k=l.arrow)==null?void 0:k.centerOffset)!==0,p=f?0:n.arrowWidth,h=f?0:n.arrowHeight,[m,w]=Ty(i),x={start:"0%",center:"50%",end:"100%"}[w],C=(((P=l.arrow)==null?void 0:P.x)??0)+p/2,v=(((T=l.arrow)==null?void 0:T.y)??0)+h/2;let O="",S="";return m==="bottom"?(O=f?x:`${C}px`,S=`${-h}px`):m==="top"?(O=f?x:`${C}px`,S=`${a.floating.height+h}px`):m==="right"?(O=`${-h}px`,S=f?x:`${v}px`):m==="left"&&(O=`${a.floating.width+h}px`,S=f?x:`${v}px`),{data:{x:O,y:S}}}});function Ty(n){const[r,i="center"]=n.split("-");return[r,i]}var PS=Cy,MS=by,TS=Ry,OS=My,_S="Portal",Oy=g.forwardRef((n,r)=>{var p;const{container:i,...a}=n,[l,c]=g.useState(!1);At(()=>c(!0),[]);const f=i||l&&((p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body);return f?Im.createPortal(ee.jsx(Xe.div,{...a,ref:r}),f):null});Oy.displayName=_S;var NS=hm[" useInsertionEffect ".trim().toString()]||At;function qh({prop:n,defaultProp:r,onChange:i=()=>{},caller:a}){const[l,c,f]=LS({defaultProp:r,onChange:i}),p=n!==void 0,h=p?n:l;{const w=g.useRef(n!==void 0);g.useEffect(()=>{const x=w.current;x!==p&&console.warn(`${a} is changing from ${x?"controlled":"uncontrolled"} to ${p?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),w.current=p},[p,a])}const m=g.useCallback(w=>{var x;if(p){const C=AS(w)?w(n):w;C!==n&&((x=f.current)==null||x.call(f,C))}else c(w)},[p,n,c,f]);return[h,m]}function LS({defaultProp:n,onChange:r}){const[i,a]=g.useState(n),l=g.useRef(i),c=g.useRef(r);return NS(()=>{c.current=r},[r]),g.useEffect(()=>{var f;l.current!==i&&((f=c.current)==null||f.call(c,i),l.current=i)},[i,l]),[i,a,c]}function AS(n){return typeof n=="function"}function IS(n){const r=g.useRef({value:n,previous:n});return g.useMemo(()=>(r.current.value!==n&&(r.current.previous=r.current.value,r.current.value=n),r.current.previous),[n])}var _y=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),DS="VisuallyHidden",Ny=g.forwardRef((n,r)=>ee.jsx(Xe.span,{...n,ref:r,style:{..._y,...n.style}}));Ny.displayName=DS;var kE=Ny,zS=function(n){if(typeof document>"u")return null;var r=Array.isArray(n)?n[0]:n;return r.ownerDocument.body},Yo=new WeakMap,Ua=new WeakMap,Ha={},fc=0,Ly=function(n){return n&&(n.host||Ly(n.parentNode))},FS=function(n,r){return r.map(function(i){if(n.contains(i))return i;var a=Ly(i);return a&&n.contains(a)?a:(console.error("aria-hidden",i,"in not contained inside",n,". Doing nothing"),null)}).filter(function(i){return!!i})},jS=function(n,r,i,a){var l=FS(r,Array.isArray(n)?n:[n]);Ha[i]||(Ha[i]=new WeakMap);var c=Ha[i],f=[],p=new Set,h=new Set(l),m=function(x){!x||p.has(x)||(p.add(x),m(x.parentNode))};l.forEach(m);var w=function(x){!x||h.has(x)||Array.prototype.forEach.call(x.children,function(C){if(p.has(C))w(C);else try{var v=C.getAttribute(a),O=v!==null&&v!=="false",S=(Yo.get(C)||0)+1,k=(c.get(C)||0)+1;Yo.set(C,S),c.set(C,k),f.push(C),S===1&&O&&Ua.set(C,!0),k===1&&C.setAttribute(i,"true"),O||C.setAttribute(a,"true")}catch(P){console.error("aria-hidden: cannot operate on ",C,P)}})};return w(r),p.clear(),fc++,function(){f.forEach(function(x){var C=Yo.get(x)-1,v=c.get(x)-1;Yo.set(x,C),c.set(x,v),C||(Ua.has(x)||x.removeAttribute(a),Ua.delete(x)),v||x.removeAttribute(i)}),fc--,fc||(Yo=new WeakMap,Yo=new WeakMap,Ua=new WeakMap,Ha={})}},BS=function(n,r,i){i===void 0&&(i="data-aria-hidden");var a=Array.from(Array.isArray(n)?n:[n]),l=zS(n);return l?(a.push.apply(a,Array.from(l.querySelectorAll("[aria-live], script"))),jS(a,l,i,"aria-hidden")):function(){return null}},Fc=function(n,r){return Fc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(i[l]=a[l])},Fc(n,r)};function CE(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");Fc(n,r);function i(){this.constructor=n}n.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}var Ln=function(){return Ln=Object.assign||function(r){for(var i,a=1,l=arguments.length;a<l;a++){i=arguments[a];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},Ln.apply(this,arguments)};function Ay(n,r){var i={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&r.indexOf(a)<0&&(i[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,a=Object.getOwnPropertySymbols(n);l<a.length;l++)r.indexOf(a[l])<0&&Object.prototype.propertyIsEnumerable.call(n,a[l])&&(i[a[l]]=n[a[l]]);return i}function EE(n){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&n[r],a=0;if(i)return i.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&a>=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function bE(n,r){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var a=i.call(n),l,c=[],f;try{for(;(r===void 0||r-- >0)&&!(l=a.next()).done;)c.push(l.value)}catch(p){f={error:p}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(f)throw f.error}}return c}function US(n,r,i){if(i||arguments.length===2)for(var a=0,l=r.length,c;a<l;a++)(c||!(a in r))&&(c||(c=Array.prototype.slice.call(r,0,a)),c[a]=r[a]);return n.concat(c||Array.prototype.slice.call(r))}var Ya="right-scroll-bar-position",Ga="width-before-scroll-bar",HS="with-scroll-bars-hidden",$S="--removed-body-scroll-bar-size";function pc(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function VS(n,r){var i=g.useState(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(a){var l=i.value;l!==a&&(i.value=a,i.callback(a,l))}}}})[0];return i.callback=r,i.facade}var WS=typeof window<"u"?g.useLayoutEffect:g.useEffect,Yh=new WeakMap;function QS(n,r){var i=VS(null,function(a){return n.forEach(function(l){return pc(l,a)})});return WS(function(){var a=Yh.get(i);if(a){var l=new Set(a),c=new Set(n),f=i.current;l.forEach(function(p){c.has(p)||pc(p,null)}),c.forEach(function(p){l.has(p)||pc(p,f)})}Yh.set(i,n)},[n]),i}function KS(n){return n}function qS(n,r){r===void 0&&(r=KS);var i=[],a=!1,l={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:n},useMedium:function(c){var f=r(c,a);return i.push(f),function(){i=i.filter(function(p){return p!==f})}},assignSyncMedium:function(c){for(a=!0;i.length;){var f=i;i=[],f.forEach(c)}i={push:function(p){return c(p)},filter:function(){return i}}},assignMedium:function(c){a=!0;var f=[];if(i.length){var p=i;i=[],p.forEach(c),f=i}var h=function(){var w=f;f=[],w.forEach(c)},m=function(){return Promise.resolve().then(h)};m(),i={push:function(w){f.push(w),m()},filter:function(w){return f=f.filter(w),i}}}};return l}function YS(n){n===void 0&&(n={});var r=qS(null);return r.options=Ln({async:!0,ssr:!1},n),r}var Iy=function(n){var r=n.sideCar,i=Ay(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=r.read();if(!a)throw new Error("Sidecar medium not found");return g.createElement(a,Ln({},i))};Iy.isSideCarExport=!0;function GS(n,r){return n.useMedium(r),Iy}var Dy=YS(),hc=function(){},fl=g.forwardRef(function(n,r){var i=g.useRef(null),a=g.useState({onScrollCapture:hc,onWheelCapture:hc,onTouchMoveCapture:hc}),l=a[0],c=a[1],f=n.forwardProps,p=n.children,h=n.className,m=n.removeScrollBar,w=n.enabled,x=n.shards,C=n.sideCar,v=n.noRelative,O=n.noIsolation,S=n.inert,k=n.allowPinchZoom,P=n.as,T=P===void 0?"div":P,R=n.gapMode,L=Ay(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),F=C,U=QS([i,r]),H=Ln(Ln({},L),l);return g.createElement(g.Fragment,null,w&&g.createElement(F,{sideCar:Dy,removeScrollBar:m,shards:x,noRelative:v,noIsolation:O,inert:S,setCallbacks:c,allowPinchZoom:!!k,lockRef:i,gapMode:R}),f?g.cloneElement(g.Children.only(p),Ln(Ln({},H),{ref:U})):g.createElement(T,Ln({},H,{className:h,ref:U}),p))});fl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};fl.classNames={fullWidth:Ga,zeroRight:Ya};var XS=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ZS(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=XS();return r&&n.setAttribute("nonce",r),n}function JS(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function ek(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var tk=function(){var n=0,r=null;return{add:function(i){n==0&&(r=ZS())&&(JS(r,i),ek(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},nk=function(){var n=tk();return function(r,i){g.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&i])}},zy=function(){var n=nk(),r=function(i){var a=i.styles,l=i.dynamic;return n(a,l),null};return r},rk={left:0,top:0,right:0,gap:0},mc=function(n){return parseInt(n||"",10)||0},ok=function(n){var r=window.getComputedStyle(document.body),i=r[n==="padding"?"paddingLeft":"marginLeft"],a=r[n==="padding"?"paddingTop":"marginTop"],l=r[n==="padding"?"paddingRight":"marginRight"];return[mc(i),mc(a),mc(l)]},ik=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return rk;var r=ok(n),i=document.documentElement.clientWidth,a=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,a-i+r[2]-r[0])}},sk=zy(),ei="data-scroll-locked",ak=function(n,r,i,a){var l=n.left,c=n.top,f=n.right,p=n.gap;return i===void 0&&(i="margin"),`
|
|
403
|
-
.`.concat(HS,` {
|
|
404
|
-
overflow: hidden `).concat(a,`;
|
|
405
|
-
padding-right: `).concat(p,"px ").concat(a,`;
|
|
406
|
-
}
|
|
407
|
-
body[`).concat(ei,`] {
|
|
408
|
-
overflow: hidden `).concat(a,`;
|
|
409
|
-
overscroll-behavior: contain;
|
|
410
|
-
`).concat([r&&"position: relative ".concat(a,";"),i==="margin"&&`
|
|
411
|
-
padding-left: `.concat(l,`px;
|
|
412
|
-
padding-top: `).concat(c,`px;
|
|
413
|
-
padding-right: `).concat(f,`px;
|
|
414
|
-
margin-left:0;
|
|
415
|
-
margin-top:0;
|
|
416
|
-
margin-right: `).concat(p,"px ").concat(a,`;
|
|
417
|
-
`),i==="padding"&&"padding-right: ".concat(p,"px ").concat(a,";")].filter(Boolean).join(""),`
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
.`).concat(Ya,` {
|
|
421
|
-
right: `).concat(p,"px ").concat(a,`;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
.`).concat(Ga,` {
|
|
425
|
-
margin-right: `).concat(p,"px ").concat(a,`;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.`).concat(Ya," .").concat(Ya,` {
|
|
429
|
-
right: 0 `).concat(a,`;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
.`).concat(Ga," .").concat(Ga,` {
|
|
433
|
-
margin-right: 0 `).concat(a,`;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
body[`).concat(ei,`] {
|
|
437
|
-
`).concat($S,": ").concat(p,`px;
|
|
438
|
-
}
|
|
439
|
-
`)},Gh=function(){var n=parseInt(document.body.getAttribute(ei)||"0",10);return isFinite(n)?n:0},lk=function(){g.useEffect(function(){return document.body.setAttribute(ei,(Gh()+1).toString()),function(){var n=Gh()-1;n<=0?document.body.removeAttribute(ei):document.body.setAttribute(ei,n.toString())}},[])},uk=function(n){var r=n.noRelative,i=n.noImportant,a=n.gapMode,l=a===void 0?"margin":a;lk();var c=g.useMemo(function(){return ik(l)},[l]);return g.createElement(sk,{styles:ak(c,!r,l,i?"":"!important")})},jc=!1;if(typeof window<"u")try{var $a=Object.defineProperty({},"passive",{get:function(){return jc=!0,!0}});window.addEventListener("test",$a,$a),window.removeEventListener("test",$a,$a)}catch{jc=!1}var Go=jc?{passive:!1}:!1,ck=function(n){return n.tagName==="TEXTAREA"},Fy=function(n,r){if(!(n instanceof Element))return!1;var i=window.getComputedStyle(n);return i[r]!=="hidden"&&!(i.overflowY===i.overflowX&&!ck(n)&&i[r]==="visible")},dk=function(n){return Fy(n,"overflowY")},fk=function(n){return Fy(n,"overflowX")},Xh=function(n,r){var i=r.ownerDocument,a=r;do{typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&(a=a.host);var l=jy(n,a);if(l){var c=By(n,a),f=c[1],p=c[2];if(f>p)return!0}a=a.parentNode}while(a&&a!==i.body);return!1},pk=function(n){var r=n.scrollTop,i=n.scrollHeight,a=n.clientHeight;return[r,i,a]},hk=function(n){var r=n.scrollLeft,i=n.scrollWidth,a=n.clientWidth;return[r,i,a]},jy=function(n,r){return n==="v"?dk(r):fk(r)},By=function(n,r){return n==="v"?pk(r):hk(r)},mk=function(n,r){return n==="h"&&r==="rtl"?-1:1},yk=function(n,r,i,a,l){var c=mk(n,window.getComputedStyle(r).direction),f=c*a,p=i.target,h=r.contains(p),m=!1,w=f>0,x=0,C=0;do{if(!p)break;var v=By(n,p),O=v[0],S=v[1],k=v[2],P=S-k-c*O;(O||P)&&jy(n,p)&&(x+=P,C+=O);var T=p.parentNode;p=T&&T.nodeType===Node.DOCUMENT_FRAGMENT_NODE?T.host:T}while(!h&&p!==document.body||h&&(r.contains(p)||r===p));return(w&&Math.abs(x)<1||!w&&Math.abs(C)<1)&&(m=!0),m},Va=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},Zh=function(n){return[n.deltaX,n.deltaY]},Jh=function(n){return n&&"current"in n?n.current:n},vk=function(n,r){return n[0]===r[0]&&n[1]===r[1]},gk=function(n){return`
|
|
440
|
-
.block-interactivity-`.concat(n,` {pointer-events: none;}
|
|
441
|
-
.allow-interactivity-`).concat(n,` {pointer-events: all;}
|
|
442
|
-
`)},wk=0,Xo=[];function xk(n){var r=g.useRef([]),i=g.useRef([0,0]),a=g.useRef(),l=g.useState(wk++)[0],c=g.useState(zy)[0],f=g.useRef(n);g.useEffect(function(){f.current=n},[n]),g.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(l));var S=US([n.lockRef.current],(n.shards||[]).map(Jh),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(l))})}}},[n.inert,n.lockRef.current,n.shards]);var p=g.useCallback(function(S,k){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!f.current.allowPinchZoom;var P=Va(S),T=i.current,R="deltaX"in S?S.deltaX:T[0]-P[0],L="deltaY"in S?S.deltaY:T[1]-P[1],F,U=S.target,H=Math.abs(R)>Math.abs(L)?"h":"v";if("touches"in S&&H==="h"&&U.type==="range")return!1;var q=window.getSelection(),Z=q&&q.anchorNode,te=Z?Z===U||Z.contains(U):!1;if(te)return!1;var he=Xh(H,U);if(!he)return!0;if(he?F=H:(F=H==="v"?"h":"v",he=Xh(H,U)),!he)return!1;if(!a.current&&"changedTouches"in S&&(R||L)&&(a.current=F),!F)return!0;var X=a.current||F;return yk(X,k,S,X==="h"?R:L)},[]),h=g.useCallback(function(S){var k=S;if(!(!Xo.length||Xo[Xo.length-1]!==c)){var P="deltaY"in k?Zh(k):Va(k),T=r.current.filter(function(F){return F.name===k.type&&(F.target===k.target||k.target===F.shadowParent)&&vk(F.delta,P)})[0];if(T&&T.should){k.cancelable&&k.preventDefault();return}if(!T){var R=(f.current.shards||[]).map(Jh).filter(Boolean).filter(function(F){return F.contains(k.target)}),L=R.length>0?p(k,R[0]):!f.current.noIsolation;L&&k.cancelable&&k.preventDefault()}}},[]),m=g.useCallback(function(S,k,P,T){var R={name:S,delta:k,target:P,should:T,shadowParent:Sk(P)};r.current.push(R),setTimeout(function(){r.current=r.current.filter(function(L){return L!==R})},1)},[]),w=g.useCallback(function(S){i.current=Va(S),a.current=void 0},[]),x=g.useCallback(function(S){m(S.type,Zh(S),S.target,p(S,n.lockRef.current))},[]),C=g.useCallback(function(S){m(S.type,Va(S),S.target,p(S,n.lockRef.current))},[]);g.useEffect(function(){return Xo.push(c),n.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:C}),document.addEventListener("wheel",h,Go),document.addEventListener("touchmove",h,Go),document.addEventListener("touchstart",w,Go),function(){Xo=Xo.filter(function(S){return S!==c}),document.removeEventListener("wheel",h,Go),document.removeEventListener("touchmove",h,Go),document.removeEventListener("touchstart",w,Go)}},[]);var v=n.removeScrollBar,O=n.inert;return g.createElement(g.Fragment,null,O?g.createElement(c,{styles:gk(l)}):null,v?g.createElement(uk,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function Sk(n){for(var r=null;n!==null;)n instanceof ShadowRoot&&(r=n.host,n=n.host),n=n.parentNode;return r}const kk=GS(Dy,xk);var Uy=g.forwardRef(function(n,r){return g.createElement(fl,Ln({},n,{ref:r,sideCar:kk}))});Uy.classNames=fl.classNames;var Ck=[" ","Enter","ArrowUp","ArrowDown"],Ek=[" ","Enter"],xo="Select",[pl,hl,bk]=Fx(xo),[Si]=sd(xo,[bk,Sy]),ml=Sy(),[Rk,$r]=Si(xo),[Pk,Mk]=Si(xo),Hy=n=>{const{__scopeSelect:r,children:i,open:a,defaultOpen:l,onOpenChange:c,value:f,defaultValue:p,onValueChange:h,dir:m,name:w,autoComplete:x,disabled:C,required:v,form:O}=n,S=ml(r),[k,P]=g.useState(null),[T,R]=g.useState(null),[L,F]=g.useState(!1),U=Bx(m),[H,q]=qh({prop:a,defaultProp:l??!1,onChange:c,caller:xo}),[Z,te]=qh({prop:f,defaultProp:p,onChange:h,caller:xo}),he=g.useRef(null),X=k?O||!!k.closest("form"):!0,[ve,de]=g.useState(new Set),xe=Array.from(ve).map(ue=>ue.props.value).join(";");return ee.jsx(PS,{...S,children:ee.jsxs(Rk,{required:v,scope:r,trigger:k,onTriggerChange:P,valueNode:T,onValueNodeChange:R,valueNodeHasChildren:L,onValueNodeHasChildrenChange:F,contentId:ad(),value:Z,onValueChange:te,open:H,onOpenChange:q,dir:U,triggerPointerDownPosRef:he,disabled:C,children:[ee.jsx(pl.Provider,{scope:r,children:ee.jsx(Pk,{scope:n.__scopeSelect,onNativeOptionAdd:g.useCallback(ue=>{de(ie=>new Set(ie).add(ue))},[]),onNativeOptionRemove:g.useCallback(ue=>{de(ie=>{const j=new Set(ie);return j.delete(ue),j})},[]),children:i})}),X?ee.jsxs(fv,{"aria-hidden":!0,required:v,tabIndex:-1,name:w,autoComplete:x,value:Z,onChange:ue=>te(ue.target.value),disabled:C,form:O,children:[Z===void 0?ee.jsx("option",{value:""}):null,Array.from(ve)]},xe):null]})})};Hy.displayName=xo;var $y="SelectTrigger",Vy=g.forwardRef((n,r)=>{const{__scopeSelect:i,disabled:a=!1,...l}=n,c=ml(i),f=$r($y,i),p=f.disabled||a,h=ct(r,f.onTriggerChange),m=hl(i),w=g.useRef("touch"),[x,C,v]=hv(S=>{const k=m().filter(R=>!R.disabled),P=k.find(R=>R.value===f.value),T=mv(k,S,P);T!==void 0&&f.onValueChange(T.value)}),O=S=>{p||(f.onOpenChange(!0),v()),S&&(f.triggerPointerDownPosRef.current={x:Math.round(S.pageX),y:Math.round(S.pageY)})};return ee.jsx(MS,{asChild:!0,...c,children:ee.jsx(Xe.button,{type:"button",role:"combobox","aria-controls":f.contentId,"aria-expanded":f.open,"aria-required":f.required,"aria-autocomplete":"none",dir:f.dir,"data-state":f.open?"open":"closed",disabled:p,"data-disabled":p?"":void 0,"data-placeholder":pv(f.value)?"":void 0,...l,ref:h,onClick:Je(l.onClick,S=>{S.currentTarget.focus(),w.current!=="mouse"&&O(S)}),onPointerDown:Je(l.onPointerDown,S=>{w.current=S.pointerType;const k=S.target;k.hasPointerCapture(S.pointerId)&&k.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&S.pointerType==="mouse"&&(O(S),S.preventDefault())}),onKeyDown:Je(l.onKeyDown,S=>{const k=x.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&C(S.key),!(k&&S.key===" ")&&Ck.includes(S.key)&&(O(),S.preventDefault())})})})});Vy.displayName=$y;var Wy="SelectValue",Qy=g.forwardRef((n,r)=>{const{__scopeSelect:i,className:a,style:l,children:c,placeholder:f="",...p}=n,h=$r(Wy,i),{onValueNodeHasChildrenChange:m}=h,w=c!==void 0,x=ct(r,h.onValueNodeChange);return At(()=>{m(w)},[m,w]),ee.jsx(Xe.span,{...p,ref:x,style:{pointerEvents:"none"},children:pv(h.value)?ee.jsx(ee.Fragment,{children:f}):c})});Qy.displayName=Wy;var Tk="SelectIcon",Ky=g.forwardRef((n,r)=>{const{__scopeSelect:i,children:a,...l}=n;return ee.jsx(Xe.span,{"aria-hidden":!0,...l,ref:r,children:a||"▼"})});Ky.displayName=Tk;var Ok="SelectPortal",qy=n=>ee.jsx(Oy,{asChild:!0,...n});qy.displayName=Ok;var So="SelectContent",Yy=g.forwardRef((n,r)=>{const i=$r(So,n.__scopeSelect),[a,l]=g.useState();if(At(()=>{l(new DocumentFragment)},[]),!i.open){const c=a;return c?xs.createPortal(ee.jsx(Gy,{scope:n.__scopeSelect,children:ee.jsx(pl.Slot,{scope:n.__scopeSelect,children:ee.jsx("div",{children:n.children})})}),c):null}return ee.jsx(Xy,{...n,ref:r})});Yy.displayName=So;var cn=10,[Gy,Vr]=Si(So),_k="SelectContentImpl",Nk=el("SelectContent.RemoveScroll"),Xy=g.forwardRef((n,r)=>{const{__scopeSelect:i,position:a="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:c,onPointerDownOutside:f,side:p,sideOffset:h,align:m,alignOffset:w,arrowPadding:x,collisionBoundary:C,collisionPadding:v,sticky:O,hideWhenDetached:S,avoidCollisions:k,...P}=n,T=$r(So,i),[R,L]=g.useState(null),[F,U]=g.useState(null),H=ct(r,K=>L(K)),[q,Z]=g.useState(null),[te,he]=g.useState(null),X=hl(i),[ve,de]=g.useState(!1),xe=g.useRef(!1);g.useEffect(()=>{if(R)return BS(R)},[R]),Xx();const ue=g.useCallback(K=>{const[pe,...ke]=X().map(Oe=>Oe.ref.current),[be]=ke.slice(-1),Me=document.activeElement;for(const Oe of K)if(Oe===Me||(Oe==null||Oe.scrollIntoView({block:"nearest"}),Oe===pe&&F&&(F.scrollTop=0),Oe===be&&F&&(F.scrollTop=F.scrollHeight),Oe==null||Oe.focus(),document.activeElement!==Me))return},[X,F]),ie=g.useCallback(()=>ue([q,R]),[ue,q,R]);g.useEffect(()=>{ve&&ie()},[ve,ie]);const{onOpenChange:j,triggerPointerDownPosRef:B}=T;g.useEffect(()=>{if(R){let K={x:0,y:0};const pe=be=>{var Me,Oe;K={x:Math.abs(Math.round(be.pageX)-(((Me=B.current)==null?void 0:Me.x)??0)),y:Math.abs(Math.round(be.pageY)-(((Oe=B.current)==null?void 0:Oe.y)??0))}},ke=be=>{K.x<=10&&K.y<=10?be.preventDefault():R.contains(be.target)||j(!1),document.removeEventListener("pointermove",pe),B.current=null};return B.current!==null&&(document.addEventListener("pointermove",pe),document.addEventListener("pointerup",ke,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",pe),document.removeEventListener("pointerup",ke,{capture:!0})}}},[R,j,B]),g.useEffect(()=>{const K=()=>j(!1);return window.addEventListener("blur",K),window.addEventListener("resize",K),()=>{window.removeEventListener("blur",K),window.removeEventListener("resize",K)}},[j]);const[W,_]=hv(K=>{const pe=X().filter(Me=>!Me.disabled),ke=pe.find(Me=>Me.ref.current===document.activeElement),be=mv(pe,K,ke);be&&setTimeout(()=>be.ref.current.focus())}),z=g.useCallback((K,pe,ke)=>{const be=!xe.current&&!ke;(T.value!==void 0&&T.value===pe||be)&&(Z(K),be&&(xe.current=!0))},[T.value]),ne=g.useCallback(()=>R==null?void 0:R.focus(),[R]),re=g.useCallback((K,pe,ke)=>{const be=!xe.current&&!ke;(T.value!==void 0&&T.value===pe||be)&&he(K)},[T.value]),ye=a==="popper"?Bc:Zy,Se=ye===Bc?{side:p,sideOffset:h,align:m,alignOffset:w,arrowPadding:x,collisionBoundary:C,collisionPadding:v,sticky:O,hideWhenDetached:S,avoidCollisions:k}:{};return ee.jsx(Gy,{scope:i,content:R,viewport:F,onViewportChange:U,itemRefCallback:z,selectedItem:q,onItemLeave:ne,itemTextRefCallback:re,focusSelectedItem:ie,selectedItemText:te,position:a,isPositioned:ve,searchRef:W,children:ee.jsx(Uy,{as:Nk,allowPinchZoom:!0,children:ee.jsx(sy,{asChild:!0,trapped:T.open,onMountAutoFocus:K=>{K.preventDefault()},onUnmountAutoFocus:Je(l,K=>{var pe;(pe=T.trigger)==null||pe.focus({preventScroll:!0}),K.preventDefault()}),children:ee.jsx(oy,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:K=>K.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:ee.jsx(ye,{role:"listbox",id:T.contentId,"data-state":T.open?"open":"closed",dir:T.dir,onContextMenu:K=>K.preventDefault(),...P,...Se,onPlaced:()=>de(!0),ref:H,style:{display:"flex",flexDirection:"column",outline:"none",...P.style},onKeyDown:Je(P.onKeyDown,K=>{const pe=K.ctrlKey||K.altKey||K.metaKey;if(K.key==="Tab"&&K.preventDefault(),!pe&&K.key.length===1&&_(K.key),["ArrowUp","ArrowDown","Home","End"].includes(K.key)){let be=X().filter(Me=>!Me.disabled).map(Me=>Me.ref.current);if(["ArrowUp","End"].includes(K.key)&&(be=be.slice().reverse()),["ArrowUp","ArrowDown"].includes(K.key)){const Me=K.target,Oe=be.indexOf(Me);be=be.slice(Oe+1)}setTimeout(()=>ue(be)),K.preventDefault()}})})})})})})});Xy.displayName=_k;var Lk="SelectItemAlignedPosition",Zy=g.forwardRef((n,r)=>{const{__scopeSelect:i,onPlaced:a,...l}=n,c=$r(So,i),f=Vr(So,i),[p,h]=g.useState(null),[m,w]=g.useState(null),x=ct(r,H=>w(H)),C=hl(i),v=g.useRef(!1),O=g.useRef(!0),{viewport:S,selectedItem:k,selectedItemText:P,focusSelectedItem:T}=f,R=g.useCallback(()=>{if(c.trigger&&c.valueNode&&p&&m&&S&&k&&P){const H=c.trigger.getBoundingClientRect(),q=m.getBoundingClientRect(),Z=c.valueNode.getBoundingClientRect(),te=P.getBoundingClientRect();if(c.dir!=="rtl"){const Me=te.left-q.left,Oe=Z.left-Me,qe=H.left-Oe,dt=H.width+qe,vn=Math.max(dt,q.width),Xt=window.innerWidth-cn,Zt=Mh(Oe,[cn,Math.max(cn,Xt-vn)]);p.style.minWidth=dt+"px",p.style.left=Zt+"px"}else{const Me=q.right-te.right,Oe=window.innerWidth-Z.right-Me,qe=window.innerWidth-H.right-Oe,dt=H.width+qe,vn=Math.max(dt,q.width),Xt=window.innerWidth-cn,Zt=Mh(Oe,[cn,Math.max(cn,Xt-vn)]);p.style.minWidth=dt+"px",p.style.right=Zt+"px"}const he=C(),X=window.innerHeight-cn*2,ve=S.scrollHeight,de=window.getComputedStyle(m),xe=parseInt(de.borderTopWidth,10),ue=parseInt(de.paddingTop,10),ie=parseInt(de.borderBottomWidth,10),j=parseInt(de.paddingBottom,10),B=xe+ue+ve+j+ie,W=Math.min(k.offsetHeight*5,B),_=window.getComputedStyle(S),z=parseInt(_.paddingTop,10),ne=parseInt(_.paddingBottom,10),re=H.top+H.height/2-cn,ye=X-re,Se=k.offsetHeight/2,K=k.offsetTop+Se,pe=xe+ue+K,ke=B-pe;if(pe<=re){const Me=he.length>0&&k===he[he.length-1].ref.current;p.style.bottom="0px";const Oe=m.clientHeight-S.offsetTop-S.offsetHeight,qe=Math.max(ye,Se+(Me?ne:0)+Oe+ie),dt=pe+qe;p.style.height=dt+"px"}else{const Me=he.length>0&&k===he[0].ref.current;p.style.top="0px";const qe=Math.max(re,xe+S.offsetTop+(Me?z:0)+Se)+ke;p.style.height=qe+"px",S.scrollTop=pe-re+S.offsetTop}p.style.margin=`${cn}px 0`,p.style.minHeight=W+"px",p.style.maxHeight=X+"px",a==null||a(),requestAnimationFrame(()=>v.current=!0)}},[C,c.trigger,c.valueNode,p,m,S,k,P,c.dir,a]);At(()=>R(),[R]);const[L,F]=g.useState();At(()=>{m&&F(window.getComputedStyle(m).zIndex)},[m]);const U=g.useCallback(H=>{H&&O.current===!0&&(R(),T==null||T(),O.current=!1)},[R,T]);return ee.jsx(Ik,{scope:i,contentWrapper:p,shouldExpandOnScrollRef:v,onScrollButtonChange:U,children:ee.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:ee.jsx(Xe.div,{...l,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});Zy.displayName=Lk;var Ak="SelectPopperPosition",Bc=g.forwardRef((n,r)=>{const{__scopeSelect:i,align:a="start",collisionPadding:l=cn,...c}=n,f=ml(i);return ee.jsx(TS,{...f,...c,ref:r,align:a,collisionPadding:l,style:{boxSizing:"border-box",...c.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Bc.displayName=Ak;var[Ik,yd]=Si(So,{}),Uc="SelectViewport",Jy=g.forwardRef((n,r)=>{const{__scopeSelect:i,nonce:a,...l}=n,c=Vr(Uc,i),f=yd(Uc,i),p=ct(r,c.onViewportChange),h=g.useRef(0);return ee.jsxs(ee.Fragment,{children:[ee.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),ee.jsx(pl.Slot,{scope:i,children:ee.jsx(Xe.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:p,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:Je(l.onScroll,m=>{const w=m.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:C}=f;if(C!=null&&C.current&&x){const v=Math.abs(h.current-w.scrollTop);if(v>0){const O=window.innerHeight-cn*2,S=parseFloat(x.style.minHeight),k=parseFloat(x.style.height),P=Math.max(S,k);if(P<O){const T=P+v,R=Math.min(O,T),L=T-R;x.style.height=R+"px",x.style.bottom==="0px"&&(w.scrollTop=L>0?L:0,x.style.justifyContent="flex-end")}}}h.current=w.scrollTop})})})]})});Jy.displayName=Uc;var ev="SelectGroup",[Dk,zk]=Si(ev),Fk=g.forwardRef((n,r)=>{const{__scopeSelect:i,...a}=n,l=ad();return ee.jsx(Dk,{scope:i,id:l,children:ee.jsx(Xe.div,{role:"group","aria-labelledby":l,...a,ref:r})})});Fk.displayName=ev;var tv="SelectLabel",nv=g.forwardRef((n,r)=>{const{__scopeSelect:i,...a}=n,l=zk(tv,i);return ee.jsx(Xe.div,{id:l.id,...a,ref:r})});nv.displayName=tv;var il="SelectItem",[jk,rv]=Si(il),ov=g.forwardRef((n,r)=>{const{__scopeSelect:i,value:a,disabled:l=!1,textValue:c,...f}=n,p=$r(il,i),h=Vr(il,i),m=p.value===a,[w,x]=g.useState(c??""),[C,v]=g.useState(!1),O=ct(r,T=>{var R;return(R=h.itemRefCallback)==null?void 0:R.call(h,T,a,l)}),S=ad(),k=g.useRef("touch"),P=()=>{l||(p.onValueChange(a),p.onOpenChange(!1))};if(a==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return ee.jsx(jk,{scope:i,value:a,disabled:l,textId:S,isSelected:m,onItemTextChange:g.useCallback(T=>{x(R=>R||((T==null?void 0:T.textContent)??"").trim())},[]),children:ee.jsx(pl.ItemSlot,{scope:i,value:a,disabled:l,textValue:w,children:ee.jsx(Xe.div,{role:"option","aria-labelledby":S,"data-highlighted":C?"":void 0,"aria-selected":m&&C,"data-state":m?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...f,ref:O,onFocus:Je(f.onFocus,()=>v(!0)),onBlur:Je(f.onBlur,()=>v(!1)),onClick:Je(f.onClick,()=>{k.current!=="mouse"&&P()}),onPointerUp:Je(f.onPointerUp,()=>{k.current==="mouse"&&P()}),onPointerDown:Je(f.onPointerDown,T=>{k.current=T.pointerType}),onPointerMove:Je(f.onPointerMove,T=>{var R;k.current=T.pointerType,l?(R=h.onItemLeave)==null||R.call(h):k.current==="mouse"&&T.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Je(f.onPointerLeave,T=>{var R;T.currentTarget===document.activeElement&&((R=h.onItemLeave)==null||R.call(h))}),onKeyDown:Je(f.onKeyDown,T=>{var L;((L=h.searchRef)==null?void 0:L.current)!==""&&T.key===" "||(Ek.includes(T.key)&&P(),T.key===" "&&T.preventDefault())})})})})});ov.displayName=il;var us="SelectItemText",iv=g.forwardRef((n,r)=>{const{__scopeSelect:i,className:a,style:l,...c}=n,f=$r(us,i),p=Vr(us,i),h=rv(us,i),m=Mk(us,i),[w,x]=g.useState(null),C=ct(r,P=>x(P),h.onItemTextChange,P=>{var T;return(T=p.itemTextRefCallback)==null?void 0:T.call(p,P,h.value,h.disabled)}),v=w==null?void 0:w.textContent,O=g.useMemo(()=>ee.jsx("option",{value:h.value,disabled:h.disabled,children:v},h.value),[h.disabled,h.value,v]),{onNativeOptionAdd:S,onNativeOptionRemove:k}=m;return At(()=>(S(O),()=>k(O)),[S,k,O]),ee.jsxs(ee.Fragment,{children:[ee.jsx(Xe.span,{id:h.textId,...c,ref:C}),h.isSelected&&f.valueNode&&!f.valueNodeHasChildren?xs.createPortal(c.children,f.valueNode):null]})});iv.displayName=us;var sv="SelectItemIndicator",av=g.forwardRef((n,r)=>{const{__scopeSelect:i,...a}=n;return rv(sv,i).isSelected?ee.jsx(Xe.span,{"aria-hidden":!0,...a,ref:r}):null});av.displayName=sv;var Hc="SelectScrollUpButton",lv=g.forwardRef((n,r)=>{const i=Vr(Hc,n.__scopeSelect),a=yd(Hc,n.__scopeSelect),[l,c]=g.useState(!1),f=ct(r,a.onScrollButtonChange);return At(()=>{if(i.viewport&&i.isPositioned){let p=function(){const m=h.scrollTop>0;c(m)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),l?ee.jsx(cv,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop-h.offsetHeight)}}):null});lv.displayName=Hc;var $c="SelectScrollDownButton",uv=g.forwardRef((n,r)=>{const i=Vr($c,n.__scopeSelect),a=yd($c,n.__scopeSelect),[l,c]=g.useState(!1),f=ct(r,a.onScrollButtonChange);return At(()=>{if(i.viewport&&i.isPositioned){let p=function(){const m=h.scrollHeight-h.clientHeight,w=Math.ceil(h.scrollTop)<m;c(w)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),l?ee.jsx(cv,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop+h.offsetHeight)}}):null});uv.displayName=$c;var cv=g.forwardRef((n,r)=>{const{__scopeSelect:i,onAutoScroll:a,...l}=n,c=Vr("SelectScrollButton",i),f=g.useRef(null),p=hl(i),h=g.useCallback(()=>{f.current!==null&&(window.clearInterval(f.current),f.current=null)},[]);return g.useEffect(()=>()=>h(),[h]),At(()=>{var w;const m=p().find(x=>x.ref.current===document.activeElement);(w=m==null?void 0:m.ref.current)==null||w.scrollIntoView({block:"nearest"})},[p]),ee.jsx(Xe.div,{"aria-hidden":!0,...l,ref:r,style:{flexShrink:0,...l.style},onPointerDown:Je(l.onPointerDown,()=>{f.current===null&&(f.current=window.setInterval(a,50))}),onPointerMove:Je(l.onPointerMove,()=>{var m;(m=c.onItemLeave)==null||m.call(c),f.current===null&&(f.current=window.setInterval(a,50))}),onPointerLeave:Je(l.onPointerLeave,()=>{h()})})}),Bk="SelectSeparator",dv=g.forwardRef((n,r)=>{const{__scopeSelect:i,...a}=n;return ee.jsx(Xe.div,{"aria-hidden":!0,...a,ref:r})});dv.displayName=Bk;var Vc="SelectArrow",Uk=g.forwardRef((n,r)=>{const{__scopeSelect:i,...a}=n,l=ml(i),c=$r(Vc,i),f=Vr(Vc,i);return c.open&&f.position==="popper"?ee.jsx(OS,{...l,...a,ref:r}):null});Uk.displayName=Vc;var Hk="SelectBubbleInput",fv=g.forwardRef(({__scopeSelect:n,value:r,...i},a)=>{const l=g.useRef(null),c=ct(a,l),f=IS(r);return g.useEffect(()=>{const p=l.current;if(!p)return;const h=window.HTMLSelectElement.prototype,w=Object.getOwnPropertyDescriptor(h,"value").set;if(f!==r&&w){const x=new Event("change",{bubbles:!0});w.call(p,r),p.dispatchEvent(x)}},[f,r]),ee.jsx(Xe.select,{...i,style:{..._y,...i.style},ref:c,defaultValue:r})});fv.displayName=Hk;function pv(n){return n===""||n===void 0}function hv(n){const r=go(n),i=g.useRef(""),a=g.useRef(0),l=g.useCallback(f=>{const p=i.current+f;r(p),(function h(m){i.current=m,window.clearTimeout(a.current),m!==""&&(a.current=window.setTimeout(()=>h(""),1e3))})(p)},[r]),c=g.useCallback(()=>{i.current="",window.clearTimeout(a.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(a.current),[]),[i,l,c]}function mv(n,r,i){const l=r.length>1&&Array.from(r).every(m=>m===r[0])?r[0]:r,c=i?n.indexOf(i):-1;let f=$k(n,Math.max(c,0));l.length===1&&(f=f.filter(m=>m!==i));const h=f.find(m=>m.textValue.toLowerCase().startsWith(l.toLowerCase()));return h!==i?h:void 0}function $k(n,r){return n.map((i,a)=>n[(r+a)%n.length])}var RE=Hy,PE=Vy,ME=Qy,TE=Ky,OE=qy,_E=Yy,NE=Jy,LE=nv,AE=ov,IE=iv,DE=av,zE=lv,FE=uv,jE=dv;const em=n=>{let r;const i=new Set,a=(m,w)=>{const x=typeof m=="function"?m(r):m;if(!Object.is(x,r)){const C=r;r=w??(typeof x!="object"||x===null)?x:Object.assign({},r,x),i.forEach(v=>v(r,C))}},l=()=>r,p={setState:a,getState:l,getInitialState:()=>h,subscribe:m=>(i.add(m),()=>i.delete(m))},h=r=n(a,l,p);return p},Vk=(n=>n?em(n):em),Wk=n=>n;function Qk(n,r=Wk){const i=G.useSyncExternalStore(n.subscribe,G.useCallback(()=>r(n.getState()),[n,r]),G.useCallback(()=>r(n.getInitialState()),[n,r]));return G.useDebugValue(i),i}const tm=n=>{const r=Vk(n),i=a=>Qk(r,a);return Object.assign(i,r),i},BE=(n=>n?tm(n):tm);export{aC as $,uC as A,mC as B,gC as C,lE as D,KC as E,FC as F,_C as G,IC as H,TE as I,pC as J,zC as K,LE as L,$C as M,z1 as N,Hr as O,OE as P,BE as Q,RE as R,zE as S,PE as T,eC as U,NE as V,vE as W,tC as X,Xk as Y,f1 as Z,Gk as _,oC as a,sE as a$,qk as a0,Zk as a1,xC as a2,OC as a3,BC as a4,fC as a5,eE as a6,RC as a7,YC as a8,yC as a9,qh as aA,PS as aB,ad as aC,ct as aD,Xe as aE,Je as aF,MS as aG,Sy as aH,Oy as aI,sd as aJ,BS as aK,Uy as aL,el as aM,Xx as aN,sy as aO,oy as aP,TS as aQ,OS as aR,UC as aS,AC as aT,hE as aU,rE as aV,DC as aW,CC as aX,lC as aY,jC as aZ,tE as a_,yE as aa,hC as ab,pm as ac,EC as ad,pE as ae,NC as af,TC as ag,iE as ah,kC as ai,ZC as aj,VC as ak,EE as al,US as am,bE as an,CE as ao,mE as ap,nE as aq,GC as ar,JC as as,Rm as at,Yk as au,PC as av,MC as aw,wE as ax,aE as ay,SC as az,Qm as b,uE as b0,fE as b1,kE as b2,SE as b3,QC as b4,xE as b5,At as b6,HC as b7,qC as b8,dC as b9,LC as ba,Rw as c,rC as d,sC as e,wC as f,FE as g,_E as h,AE as i,ee as j,DE as k,vC as l,IE as m,jE as n,ME as o,bC as p,dE as q,g as r,oE as s,iC as t,nC as u,WC as v,cE as w,XC as x,gE as y,cC as z};
|