@nextclaw/ui 0.9.2 → 0.9.3

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.
Files changed (81) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/assets/ChannelsList-ZBPiF0y2.js +1 -0
  3. package/dist/assets/ChatPage-BOgoolWK.js +38 -0
  4. package/dist/assets/{DocBrowser-CVwUDJMO.js → DocBrowser-BUYNHg0Y.js} +1 -1
  5. package/dist/assets/LogoBadge-DXPq99LJ.js +1 -0
  6. package/dist/assets/MarketplacePage-Dx7nexYN.js +49 -0
  7. package/dist/assets/McpMarketplacePage-064wdotP.js +40 -0
  8. package/dist/assets/{ModelConfig-CsX-_fyy.js → ModelConfig-BDIfLesG.js} +1 -1
  9. package/dist/assets/ProvidersList-DrlIr46m.js +1 -0
  10. package/dist/assets/RemoteAccessPage-ZkUBA-Av.js +1 -0
  11. package/dist/assets/{RuntimeConfig-CX2TGEG1.js → RuntimeConfig-BPxXEGzM.js} +1 -1
  12. package/dist/assets/{SearchConfig-C-WBTcWi.js → SearchConfig-BIqnlpne.js} +1 -1
  13. package/dist/assets/{SecretsConfig-9kbR0ZCB.js → SecretsConfig-jKZEVF2q.js} +2 -2
  14. package/dist/assets/{SessionsConfig-Bohn3P1q.js → SessionsConfig-C_FXgVe1.js} +2 -2
  15. package/dist/assets/{chat-message-AWIcksDK.js → chat-message-DmzpZJc_.js} +1 -1
  16. package/dist/assets/index-Byfw276e.js +8 -0
  17. package/dist/assets/{index-CPDASUXh.js → index-Ct7FQpxN.js} +1 -1
  18. package/dist/assets/index-bhNuQis7.css +1 -0
  19. package/dist/assets/{label-DD61y-4v.js → label-B1MloEtn.js} +1 -1
  20. package/dist/assets/marketplace-localization-Dk31LJJJ.js +1 -0
  21. package/dist/assets/{page-layout-CfnoVycc.js → page-layout-BGg1EhM5.js} +1 -1
  22. package/dist/assets/{popover-DsugZ6rp.js → popover-jJMv74Fp.js} +1 -1
  23. package/dist/assets/{security-config-DIrf2Z0O.js → security-config-Boh9NIMz.js} +1 -1
  24. package/dist/assets/skeleton-CmATs_b3.js +1 -0
  25. package/dist/assets/status-dot-DNyCdxPZ.js +1 -0
  26. package/dist/assets/{switch-NX5OmUXQ.js → switch-DE_MYk7x.js} +1 -1
  27. package/dist/assets/{tabs-custom-9ihB5Jem.js → tabs-custom-B-zErYPr.js} +1 -1
  28. package/dist/assets/{useConfirmDialog-BuQnVTeR.js → useConfirmDialog-BqQ6QfhB.js} +2 -2
  29. package/dist/assets/{vendor-DKBNiC31.js → vendor-CwsIoNvJ.js} +128 -93
  30. package/dist/index.html +3 -3
  31. package/package.json +4 -4
  32. package/src/App.tsx +4 -0
  33. package/src/api/auth.types.ts +24 -0
  34. package/src/api/chat-session-type.types.ts +21 -0
  35. package/src/api/marketplace.ts +8 -2
  36. package/src/api/mcp-marketplace.ts +138 -0
  37. package/src/api/remote.ts +57 -0
  38. package/src/api/remote.types.ts +80 -0
  39. package/src/api/types.ts +28 -34
  40. package/src/components/chat/ChatSidebar.test.tsx +31 -2
  41. package/src/components/chat/ChatSidebar.tsx +26 -2
  42. package/src/components/chat/chat-page-data.ts +36 -38
  43. package/src/components/chat/chat-page-runtime.test.ts +96 -2
  44. package/src/components/chat/chat-page-runtime.ts +1 -135
  45. package/src/components/chat/chat-session-preference-governance.ts +303 -0
  46. package/src/components/chat/legacy/LegacyChatPage.tsx +4 -19
  47. package/src/components/chat/ncp/NcpChatPage.tsx +4 -19
  48. package/src/components/chat/ncp/ncp-chat-page-data.test.ts +36 -0
  49. package/src/components/chat/ncp/ncp-chat-page-data.ts +62 -21
  50. package/src/components/chat/ncp/ncp-session-adapter.test.ts +2 -0
  51. package/src/components/chat/ncp/ncp-session-adapter.ts +2 -0
  52. package/src/components/chat/stores/chat-input.store.ts +14 -1
  53. package/src/components/chat/useChatSessionTypeState.test.tsx +29 -0
  54. package/src/components/chat/useChatSessionTypeState.ts +55 -12
  55. package/src/components/layout/Sidebar.tsx +11 -1
  56. package/src/components/marketplace/MarketplacePage.test.tsx +152 -0
  57. package/src/components/marketplace/MarketplacePage.tsx +52 -199
  58. package/src/components/marketplace/marketplace-installed-cache.test.ts +110 -0
  59. package/src/components/marketplace/marketplace-installed-cache.ts +149 -0
  60. package/src/components/marketplace/marketplace-localization.ts +77 -0
  61. package/src/components/marketplace/marketplace-page-parts.tsx +102 -0
  62. package/src/components/marketplace/mcp/McpMarketplacePage.test.tsx +208 -0
  63. package/src/components/marketplace/mcp/McpMarketplacePage.tsx +578 -0
  64. package/src/components/remote/RemoteAccessPage.tsx +320 -0
  65. package/src/components/ui/input.tsx +1 -1
  66. package/src/components/ui/label.tsx +1 -1
  67. package/src/hooks/useMarketplace.ts +36 -7
  68. package/src/hooks/useMcpMarketplace.ts +99 -0
  69. package/src/hooks/useRemoteAccess.ts +92 -0
  70. package/src/hooks/useWebSocket.ts +25 -16
  71. package/src/lib/i18n.marketplace.ts +91 -0
  72. package/src/lib/i18n.remote.ts +115 -0
  73. package/src/lib/i18n.ts +10 -68
  74. package/dist/assets/ChannelsList-DKD6Llid.js +0 -1
  75. package/dist/assets/ChatPage-BK9X4Tin.js +0 -38
  76. package/dist/assets/LogoBadge-CYQ_b7jk.js +0 -1
  77. package/dist/assets/MarketplacePage-B_2z3ii_.js +0 -49
  78. package/dist/assets/ProvidersList-CZstsyv7.js +0 -1
  79. package/dist/assets/index-BEgClaDH.js +0 -8
  80. package/dist/assets/index-C8GsgIUn.css +0 -1
  81. package/dist/assets/skeleton-DJ-Wen2o.js +0 -1
@@ -1,4 +1,4 @@
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,l)=>(Xu(n,r,"write to private field"),l?l.call(n,i):r.set(n,i),i),Pe=(n,r,i)=>(Xu(n,r,"access private method"),i);var Il=(n,r,i,l)=>({set _(a){J(n,r,a,i)},get _(){return b(n,r,l)}});function u0(n,r){for(var i=0;i<r.length;i++){const l=r[i];if(typeof l!="string"&&!Array.isArray(l)){for(const a in l)if(a!=="default"&&!(a in n)){const c=Object.getOwnPropertyDescriptor(l,a);c&&Object.defineProperty(n,a,c.get?c:{enumerable:!0,get:()=>l[a]})}}}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={};/**
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
2
  * @license React
3
3
  * react.production.min.js
4
4
  *
@@ -6,7 +6,7 @@ var Yp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||Yp("Cannot "+i);var b=(
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
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"),l=Symbol.for("react.strict_mode"),a=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 k(_){return _===null||typeof _!="object"?null:(_=x&&_[x]||_["@@iterator"],typeof _=="function"?_:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,S={};function C(_,F,ne){this.props=_,this.context=F,this.refs=S,this.updater=ne||y}C.prototype.isReactComponent={},C.prototype.setState=function(_,F){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,_,F,"setState")},C.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function P(){}P.prototype=C.prototype;function T(_,F,ne){this.props=_,this.context=F,this.refs=S,this.updater=ne||y}var R=T.prototype=new P;R.constructor=T,O(R,C.prototype),R.isPureReactComponent=!0;var L=Array.isArray,z=Object.prototype.hasOwnProperty,U={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function q(_,F,ne){var re,ve={},Se=null,K=null;if(F!=null)for(re in F.ref!==void 0&&(K=F.ref),F.key!==void 0&&(Se=""+F.key),F)z.call(F,re)&&!H.hasOwnProperty(re)&&(ve[re]=F[re]);var fe=arguments.length-2;if(fe===1)ve.children=ne;else if(1<fe){for(var Ce=Array(fe),be=0;be<fe;be++)Ce[be]=arguments[be+2];ve.children=Ce}if(_&&_.defaultProps)for(re in fe=_.defaultProps,fe)ve[re]===void 0&&(ve[re]=fe[re]);return{$$typeof:n,type:_,key:Se,ref:K,props:ve,_owner:U.current}}function Z(_,F){return{$$typeof:n,type:_.type,key:F,ref:_.ref,props:_.props,_owner:_._owner}}function te(_){return typeof _=="object"&&_!==null&&_.$$typeof===n}function he(_){var F={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(ne){return F[ne]})}var X=/\/+/g;function ye(_,F){return typeof _=="object"&&_!==null&&_.key!=null?he(""+_.key):F.toString(36)}function ce(_,F,ne,re,ve){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=_,ve=ve(K),_=re===""?"."+ye(K,0):re,L(ve)?(ne="",_!=null&&(ne=_.replace(X,"$&/")+"/"),ce(ve,F,ne,"",function(be){return be})):ve!=null&&(te(ve)&&(ve=Z(ve,ne+(!ve.key||K&&K.key===ve.key?"":(""+ve.key).replace(X,"$&/")+"/")+_)),F.push(ve)),1;if(K=0,re=re===""?".":re+":",L(_))for(var fe=0;fe<_.length;fe++){Se=_[fe];var Ce=re+ye(Se,fe);K+=ce(Se,F,ne,Ce,ve)}else if(Ce=k(_),typeof Ce=="function")for(_=Ce.call(_),fe=0;!(Se=_.next()).done;)Se=Se.value,Ce=re+ye(Se,fe++),K+=ce(Se,F,ne,Ce,ve);else if(Se==="object")throw F=String(_),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return K}function xe(_,F,ne){if(_==null)return _;var re=[],ve=0;return ce(_,re,"","",function(Se){return F.call(ne,Se,ve++)}),re}function ae(_){if(_._status===-1){var F=_._result;F=F(),F.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=F)}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(_,F,ne){xe(_,function(){F.apply(this,arguments)},ne)},count:function(_){var F=0;return xe(_,function(){F++}),F},toArray:function(_){return xe(_,function(F){return F})||[]},only:function(_){if(!te(_))throw Error("React.Children.only expected to receive a single React element child.");return _}},Te.Component=C,Te.Fragment=i,Te.Profiler=a,Te.PureComponent=T,Te.StrictMode=l,Te.Suspense=h,Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,Te.act=W,Te.cloneElement=function(_,F,ne){if(_==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+_+".");var re=O({},_.props),ve=_.key,Se=_.ref,K=_._owner;if(F!=null){if(F.ref!==void 0&&(Se=F.ref,K=U.current),F.key!==void 0&&(ve=""+F.key),_.type&&_.type.defaultProps)var fe=_.type.defaultProps;for(Ce in F)z.call(F,Ce)&&!H.hasOwnProperty(Ce)&&(re[Ce]=F[Ce]===void 0&&fe!==void 0?fe[Ce]:F[Ce])}var Ce=arguments.length-2;if(Ce===1)re.children=ne;else if(1<Ce){fe=Array(Ce);for(var be=0;be<Ce;be++)fe[be]=arguments[be+2];re.children=fe}return{$$typeof:n,type:_.type,key:ve,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 F=q.bind(null,_);return F.type=_,F},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:ae}},Te.memo=function(_,F){return{$$typeof:m,type:_,compare:F===void 0?null:F}},Te.startTransition=function(_){var F=j.transition;j.transition={};try{_()}finally{j.transition=F}},Te.unstable_act=W,Te.useCallback=function(_,F){return ie.current.useCallback(_,F)},Te.useContext=function(_){return ie.current.useContext(_)},Te.useDebugValue=function(){},Te.useDeferredValue=function(_){return ie.current.useDeferredValue(_)},Te.useEffect=function(_,F){return ie.current.useEffect(_,F)},Te.useId=function(){return ie.current.useId()},Te.useImperativeHandle=function(_,F,ne){return ie.current.useImperativeHandle(_,F,ne)},Te.useInsertionEffect=function(_,F){return ie.current.useInsertionEffect(_,F)},Te.useLayoutEffect=function(_,F){return ie.current.useLayoutEffect(_,F)},Te.useMemo=function(_,F){return ie.current.useMemo(_,F)},Te.useReducer=function(_,F,ne){return ie.current.useReducer(_,F,ne)},Te.useRef=function(_){return ie.current.useRef(_)},Te.useState=function(_){return ie.current.useState(_)},Te.useSyncExternalStore=function(_,F,ne){return ie.current.useSyncExternalStore(_,F,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}/**
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
10
  * @license React
11
11
  * react-jsx-runtime.production.min.js
12
12
  *
@@ -14,7 +14,7 @@ var Yp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||Yp("Cannot "+i);var b=(
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
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"),l=Object.prototype.hasOwnProperty,a=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={},k=null,y=null;m!==void 0&&(k=""+m),h.key!==void 0&&(k=""+h.key),h.ref!==void 0&&(y=h.ref);for(w in h)l.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:k,ref:y,props:x,_owner:a.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 Dl={},ec={exports:{}},Ot={},tc={exports:{}},nc={};/**
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
18
  * @license React
19
19
  * scheduler.production.min.js
20
20
  *
@@ -22,7 +22,7 @@ var Yp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||Yp("Cannot "+i);var b=(
22
22
  *
23
23
  * This source code is licensed under the MIT license found in the
24
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,F=j[_];if(0<a(F,B))j[_]=B,j[W]=F,W=_;else break e}}function i(j){return j.length===0?null:j[0]}function l(j){if(j.length===0)return null;var B=j[0],W=j.pop();if(W!==B){j[0]=W;e:for(var _=0,F=j.length,ne=F>>>1;_<ne;){var re=2*(_+1)-1,ve=j[re],Se=re+1,K=j[Se];if(0>a(ve,W))Se<F&&0>a(K,ve)?(j[_]=K,j[Se]=W,_=Se):(j[_]=ve,j[re]=W,_=re);else if(Se<F&&0>a(K,W))j[_]=K,j[Se]=W,_=Se;else break e}}return B}function a(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,k=3,y=!1,O=!1,S=!1,C=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)l(m);else if(B.startTime<=j)l(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,ae(z);else{var B=i(m);B!==null&&ie(L,B.startTime-j)}}function z(j,B){O=!1,S&&(S=!1,P(q),q=-1),y=!0;var W=k;try{for(R(B),x=i(h);x!==null&&(!(x.expirationTime>B)||j&&!he());){var _=x.callback;if(typeof _=="function"){x.callback=null,k=x.priorityLevel;var F=_(x.expirationTime<=B);B=n.unstable_now(),typeof F=="function"?x.callback=F:x===i(h)&&l(h),R(B)}else l(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,k=W,y=!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?ye():(U=!1,H=null)}}else U=!1}var ye;if(typeof T=="function")ye=function(){T(X)};else if(typeof MessageChannel<"u"){var ce=new MessageChannel,xe=ce.port2;ce.port1.onmessage=X,ye=function(){xe.postMessage(null)}}else ye=function(){C(X,0)};function ae(j){H=j,U||(U=!0,ye())}function ie(j,B){q=C(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||y||(O=!0,ae(z))},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 k},n.unstable_getFirstCallbackNode=function(){return i(h)},n.unstable_next=function(j){switch(k){case 1:case 2:case 3:var B=3;break;default:B=k}var W=k;k=B;try{return j()}finally{k=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=k;k=j;try{return B()}finally{k=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 F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=W+F,j={id:w++,callback:B,priorityLevel:j,startTime:W,expirationTime:F,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=F,r(h,j),O||y||(O=!0,ae(z))),j},n.unstable_shouldYield=he,n.unstable_wrapCallback=function(j){var B=k;return function(){var W=k;k=B;try{return j.apply(this,arguments)}finally{k=W}}}})(nc)),nc}var th;function h0(){return th||(th=1,tc.exports=p0()),tc.exports}/**
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
26
  * @license React
27
27
  * react-dom.production.min.js
28
28
  *
@@ -30,14 +30,14 @@ var Yp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||Yp("Cannot "+i);var b=(
30
30
  *
31
31
  * This source code is licensed under the MIT license found in the
32
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 l=new Set,a={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(a[e]=t,e=0;e<t.length;e++)l.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 k(e){return h.call(x,e)?!0:h.call(w,e)?!1:m.test(e)?x[e]=!0:(w[e]=!0,!1)}function y(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"||y(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,v){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=v}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[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];C[t]=new S(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new S(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){C[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){C[e]=new S(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new S(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){C[e]=new S(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){C[e]=new S(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){C[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);C[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);C[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);C[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){C[e]=new S(e,1,!1,e.toLowerCase(),null,!1,!1)}),C.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){C[e]=new S(e,1,!1,e.toLowerCase(),null,!0,!0)});function R(e,t,o,s){var u=C.hasOwnProperty(t)?C[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?k(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,z=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"),ye=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),ae=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 F(e){if(_===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);_=t&&t[1]||""}return`
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
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
35
  `),d=s.stack.split(`
36
- `),v=u.length-1,E=d.length-1;1<=v&&0<=E&&u[v]!==d[E];)E--;for(;1<=v&&0<=E;v--,E--)if(u[v]!==d[E]){if(v!==1||E!==1)do if(v--,E--,0>E||u[v]!==d[E]){var M=`
37
- `+u[v].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=v&&0<=E);break}}}finally{ne=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?F(e):""}function ve(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("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 ye:return"Suspense";case ce: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 ae: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 fe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ce(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function be(e){var t=Ce(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(v){s=""+v,d.call(this,v)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(v){s=""+v},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=Ce(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 yn(e,t){var o=t.defaultValue==null?"":t.defaultValue,s=t.checked!=null?t.checked:t.defaultChecked;o=fe(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=fe(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,fe(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=""+fe(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 Co(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:fe(o)}}function Cs(e,t){var o=fe(t.value),s=fe(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 ks(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function yt(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"?yt(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ko,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(ko=ko||document.createElement("div"),ko.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ko.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 zn(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 Cn(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 Ci(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 ki=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,kn=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?kn?kn.push(e):kn=[e]:sr=e}function Ee(){if(sr){var e=sr,t=kn;if(kn=sr=null,Jt(e),t)for(e=0;e<t.length;e++)Jt(t[e])}}function Ae(e,t){return e(t)}function Fe(){}var gt=!1;function kt(e,t,o){if(gt)return e(t,o);gt=!0;try{return Ae(e,t,o)}finally{gt=!1,(sr!==null||kn!==null)&&(Fe(),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 lt={};Object.defineProperty(lt,"passive",{get:function(){en=!0}}),window.addEventListener("test",lt,lt),window.removeEventListener("test",lt,lt)}catch{en=!1}function En(e,t,o,s,u,d,v,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,va=null,vy={onError:function(e){Ei=!0,Ms=e}};function yy(e,t,o,s,u,d,v,E,M){Ei=!1,Ms=null,En.apply(vy,arguments)}function gy(e,t,o,s,u,d,v,E,M){if(yy.apply(this,arguments),Ei){if(Ei){var D=Ms;Ei=!1,Ms=null}else throw Error(i(198));Ts||(Ts=!0,va=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 yd(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 wy(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 v=!1,E=u.child;E;){if(E===o){v=!0,o=u,s=d;break}if(E===s){v=!0,s=u,o=d;break}E=E.sibling}if(!v){for(E=d.child;E;){if(E===o){v=!0,o=d,s=u;break}if(E===s){v=!0,s=d,o=u;break}E=E.sibling}if(!v)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=wy(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,Cd=r.unstable_cancelCallback,xy=r.unstable_shouldYield,Sy=r.unstable_requestPaint,Ye=r.unstable_now,Cy=r.unstable_getCurrentPriorityLevel,ya=r.unstable_ImmediatePriority,kd=r.unstable_UserBlockingPriority,Os=r.unstable_NormalPriority,ky=r.unstable_LowPriority,Ed=r.unstable_IdlePriority,_s=null,bn=null;function Ey(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:Py,by=Math.log,Ry=Math.LN2;function Py(e){return e>>>=0,e===0?32:31-(by(e)/Ry|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,v=o&268435455;if(v!==0){var E=v&~u;E!==0?s=bi(E):(d&=v,d!==0&&(s=bi(d)))}else v=o&~u,v!==0?s=bi(v):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 My(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 Ty(e,t){for(var o=e.suspendedLanes,s=e.pingedLanes,u=e.expirationTimes,d=e.pendingLanes;0<d;){var v=31-tn(d),E=1<<v,M=u[v];M===-1?((E&o)===0||(E&s)!==0)&&(u[v]=My(E,t)):M<=t&&(e.expiredLanes|=E),d&=~E}}function ga(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 wa(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 Oy(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 xa(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,Sa,Md,Td,Od,Ca=!1,Is=[],lr=null,ar=null,ur=null,Pi=new Map,Mi=new Map,cr=[],_y="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":lr=null;break;case"dragenter":case"dragleave":ar=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&&Sa(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function Ny(e,t,o,s,u){switch(t){case"focusin":return lr=Ti(lr,e,t,o,s,u),!0;case"dragenter":return ar=Ti(ar,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=yd(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=Ea(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var s=new o.constructor(o.type,o);ki=s,o.target.dispatchEvent(s),ki=null}else return t=$i(o),t!==null&&Sa(t),e.blockedOn=o,!1;t.shift()}return!0}function Ld(e,t,o){Ds(e)&&o.delete(t)}function Ly(){Ca=!1,lr!==null&&Ds(lr)&&(lr=null),ar!==null&&Ds(ar)&&(ar=null),ur!==null&&Ds(ur)&&(ur=null),Pi.forEach(Ld),Mi.forEach(Ld)}function Oi(e,t){e.blockedOn===t&&(e.blockedOn=null,Ca||(Ca=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ly)))}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(lr!==null&&Oi(lr,e),ar!==null&&Oi(ar,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,Fs=!0;function Ay(e,t,o,s){var u=De,d=Po.transition;Po.transition=null;try{De=1,ka(e,t,o,s)}finally{De=u,Po.transition=d}}function Iy(e,t,o,s){var u=De,d=Po.transition;Po.transition=null;try{De=4,ka(e,t,o,s)}finally{De=u,Po.transition=d}}function ka(e,t,o,s){if(Fs){var u=Ea(e,t,o,s);if(u===null)Ua(e,t,s,zs,o),_d(e,s);else if(Ny(u,e,t,o,s))s.stopPropagation();else if(_d(e,s),t&4&&-1<_y.indexOf(e)){for(;u!==null;){var d=$i(u);if(d!==null&&Pd(d),d=Ea(e,t,o,s),d===null&&Ua(e,t,s,zs,o),d===u)break;u=d}u!==null&&s.stopPropagation()}else Ua(e,t,s,null,o)}}var zs=null;function Ea(e,t,o,s){if(zs=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=yd(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 zs=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(Cy()){case ya:return 1;case kd:return 4;case Os:case ky:return 16;case Ed:return 536870912;default:return 16}default:return 16}}var dr=null,ba=null,js=null;function Id(){if(js)return js;var e,t=ba,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 v=o-e;for(s=1;s<=v&&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,v){this._reactName=o,this._targetInst=u,this.type=s,this.nativeEvent=d,this.target=v,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},Ra=It(Mo),Ni=W({},Mo,{view:0,detail:0}),Dy=It(Ni),Pa,Ma,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:Oa,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"?(Pa=e.screenX-Li.screenX,Ma=e.screenY-Li.screenY):Ma=Pa=0,Li=e),Pa)},movementY:function(e){return"movementY"in e?e.movementY:Ma}}),Fd=It(Hs),Fy=W({},Hs,{dataTransfer:0}),zy=It(Fy),jy=W({},Ni,{relatedTarget:0}),Ta=It(jy),By=W({},Mo,{animationName:0,elapsedTime:0,pseudoElement:0}),Uy=It(By),Hy=W({},Mo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$y=It(Hy),Vy=W({},Mo,{data:0}),zd=It(Vy),Wy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qy={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"},Ky={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ky[e])?!!t[e]:!1}function Oa(){return qy}var Yy=W({},Ni,{key:function(e){if(e.key){var t=Wy[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"?Qy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oa,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}}),Gy=It(Yy),Xy=W({},Hs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jd=It(Xy),Zy=W({},Ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oa}),Jy=It(Zy),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],_a=p&&"CompositionEvent"in window,Ai=null;p&&"documentMode"in document&&(Ai=document.documentMode);var ig=p&&"TextEvent"in window&&!Ai,Bd=p&&(!_a||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 lg(e,t){if(To)return e==="compositionend"||!_a&&$d(e,t)?(e=Id(),js=ba=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 ag={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"?!!ag[e.type]:t==="textarea"}function Qd(e,t,o,s){Ps(s),t=Ks(t,"onChange"),0<t.length&&(o=new Ra("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 Na;if(p){var La="oninput"in document;if(!La){var qd=document.createElement("div");qd.setAttribute("oninput","return;"),La=typeof qd.oninput=="function"}Na=La}else Na=!1;Kd=Na&&(!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)),kt(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 Fi(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 Aa(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 vg(e){var t=ef(),o=e.focusedElem,s=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&Jd(o.ownerDocument.documentElement,o)){if(s!==null&&Aa(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 v=Zd(o,s);u&&v&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==v.node||e.focusOffset!==v.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),e.removeAllRanges(),d>s?(e.addRange(t),e.extend(v.node,v.offset)):(t.setEnd(v.node,v.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 yg=p&&"documentMode"in document&&11>=document.documentMode,Oo=null,Ia=null,zi=null,Da=!1;function tf(e,t,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Da||Oo==null||Oo!==qe(s)||(s=Oo,"selectionStart"in s&&Aa(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}),zi&&Fi(zi,s)||(zi=s,s=Ks(Ia,"onSelect"),0<s.length&&(t=new Ra("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")},Fa={},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(Fa[e])return Fa[e];if(!_o[e])return e;var t=_o[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in nf)return Fa[e]=t[o];return e}var rf=Ws("animationend"),of=Ws("animationiteration"),sf=Ws("animationstart"),lf=Ws("transitionend"),af=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){af.set(e,t),c(t,[e])}for(var za=0;za<uf.length;za++){var ja=uf[za],gg=ja.toLowerCase(),wg=ja[0].toUpperCase()+ja.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(lf,"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,gy(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 v=s.length-1;0<=v;v--){var E=s[v],M=E.instance,D=E.currentTarget;if(E=E.listener,M!==d&&u.isPropagationStopped())break e;cf(u,E,D),d=M}else for(v=0;v<s.length;v++){if(E=s[v],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=va,Ts=!1,va=null,e}function je(e,t){var o=t[Ka];o===void 0&&(o=t[Ka]=new Set);var s=e+"__bubble";o.has(s)||(ff(t,e,2,!1),o.add(s))}function Ba(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,l.forEach(function(o){o!=="selectionchange"&&(xg.has(o)||Ba(o,!1,e),Ba(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Qs]||(t[Qs]=!0,Ba("selectionchange",!1,t))}}function ff(e,t,o,s){switch(Ad(t)){case 1:var u=Ay;break;case 4:u=Iy;break;default:u=ka}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 Ua(e,t,o,s,u){var d=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var v=s.tag;if(v===3||v===4){var E=s.stateNode.containerInfo;if(E===u||E.nodeType===8&&E.parentNode===u)break;if(v===4)for(v=s.return;v!==null;){var M=v.tag;if((M===3||M===4)&&(M=v.stateNode.containerInfo,M===u||M.nodeType===8&&M.parentNode===u))return;v=v.return}for(;E!==null;){if(v=Kr(E),v===null)return;if(M=v.tag,M===5||M===6){s=d=v;continue e}E=E.parentNode}}s=s.return}kt(function(){var D=d,V=bo(o),Q=[];e:{var $=af.get(e);if($!==void 0){var oe=Ra,le=e;switch(e){case"keypress":if(Bs(o)===0)break e;case"keydown":case"keyup":oe=Gy;break;case"focusin":le="focus",oe=Ta;break;case"focusout":le="blur",oe=Ta;break;case"beforeblur":case"afterblur":oe=Ta;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=Fd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=zy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=Jy;break;case rf:case of:case sf:oe=Uy;break;case lf:oe=tg;break;case"scroll":oe=Dy;break;case"wheel":oe=rg;break;case"copy":case"cut":case"paste":oe=$y;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=jd}var ue=(t&4)!==0,Ge=!ue&&e==="scroll",A=ue?$!==null?$+"Capture":null:$;ue=[];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&&ue.push(Ui(N,Y,I)))),Ge)break;N=N.return}0<ue.length&&($=new oe($,le,null,o,V),Q.push({event:$,listeners:ue}))}}if((t&7)===0){e:{if($=e==="mouseover"||e==="pointerover",oe=e==="mouseout"||e==="pointerout",$&&o!==ki&&(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(ue=Fd,Y="onMouseLeave",A="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(ue=jd,Y="onPointerLeave",A="onPointerEnter",N="pointer"),Ge=oe==null?$:Ao(oe),I=le==null?$:Ao(le),$=new ue(Y,N+"leave",oe,o,V),$.target=Ge,$.relatedTarget=I,Y=null,Kr(V)===D&&(ue=new ue(A,N+"enter",le,o,V),ue.target=I,ue.relatedTarget=Ge,Y=ue),Ge=Y,oe&&le)t:{for(ue=oe,A=le,N=0,I=ue;I;I=No(I))N++;for(I=0,Y=A;Y;Y=No(Y))I++;for(;0<N-I;)ue=No(ue),N--;for(;0<I-N;)A=No(A),I--;for(;N--;){if(ue===A||A!==null&&ue===A.alternate)break t;ue=No(ue),A=No(A)}ue=null}else ue=null;oe!==null&&pf(Q,$,oe,ue,!1),le!==null&&Ge!==null&&pf(Q,Ge,le,ue,!0)}}e:{if($=D?Ao(D):window,oe=$.nodeName&&$.nodeName.toLowerCase(),oe==="select"||oe==="input"&&$.type==="file")var de=cg;else if(Wd($))if(Kd)de=hg;else{de=fg;var ge=dg}else(oe=$.nodeName)&&oe.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(de=pg);if(de&&(de=de(e,D))){Qd(Q,de,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,Ia=D,zi=null);break;case"focusout":zi=Ia=Oo=null;break;case"mousedown":Da=!0;break;case"contextmenu":case"mouseup":case"dragend":Da=!1,tf(Q,o,V);break;case"selectionchange":if(yg)break;case"keydown":case"keyup":tf(Q,o,V)}var we;if(_a)e:{switch(e){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else To?$d(e,o)&&(ke="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(ke="onCompositionStart");ke&&(Bd&&o.locale!=="ko"&&(To||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&To&&(we=Id()):(dr=V,ba="value"in dr?dr.value:dr.textContent,To=!0)),ge=Ks(D,ke),0<ge.length&&(ke=new zd(ke,e,null,o,V),Q.push({event:ke,listeners:ge}),we?ke.data=we:(we=Vd(o),we!==null&&(ke.data=we)))),(we=ig?sg(e,o):lg(e,o))&&(D=Ks(D,"onBeforeInput"),0<D.length&&(V=new zd("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,v=[];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&&v.unshift(Ui(o,M,E))):u||(M=Et(o,d),M!=null&&v.push(Ui(o,M,E)))),o=o.return}v.length!==0&&e.push({event:t,listeners:v})}var Sg=/\r\n?/g,Cg=/\u0000|\uFFFD/g;function hf(e){return(typeof e=="string"?e:""+e).replace(Sg,`
38
- `).replace(Cg,"")}function qs(e,t,o){if(t=hf(t),hf(e)!==t&&o)throw Error(i(425))}function Ys(){}var Ha=null,$a=null;function Va(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 Wa=typeof setTimeout=="function"?setTimeout:void 0,kg=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)}:Wa;function bg(e){setTimeout(function(){throw e})}function Qa(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 vf(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,Ka="__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=vf(e);e!==null;){if(o=e[Rn])return o;e=vf(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 qa=[],Io=-1;function hr(e){return{current:e}}function Be(e){0>Io||(e.current=qa[Io],qa[Io]=null,Io--)}function ze(e,t){Io++,qa[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 yf(e,t,o){if(ft.current!==mr)throw Error(i(168));ze(ft,t),ze(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,ze(ft,e),ze(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),ze(ft,e)):Be(bt),ze(bt,o)}var Bn=null,Js=!1,Ya=!1;function xf(e){Bn===null?Bn=[e]:Bn.push(e)}function Mg(e){Js=!0,xf(e)}function vr(){if(!Ya&&Bn!==null){Ya=!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(ya,vr),u}finally{De=t,Ya=!1}}return null}var Fo=[],zo=0,el=null,tl=0,$t=[],Vt=0,Yr=null,Un=1,Hn="";function Gr(e,t){Fo[zo++]=tl,Fo[zo++]=el,el=e,tl=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 v=u-u%5;d=(s&(1<<v)-1).toString(32),s>>=v,u-=v,Un=1<<32-tn(t)+u|o<<u|s,Hn=d+e}else Un=1<<d|o<<u|s,Hn=e}function Ga(e){e.return!==null&&(Gr(e,1),Sf(e,1,0))}function Xa(e){for(;e===el;)el=Fo[--zo],Fo[zo]=null,tl=Fo[--zo],Fo[zo]=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,Ft=null,He=!1,rn=null;function Cf(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 kf(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,Ft=pr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Dt=e,Ft=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,Ft=null,!0):!1;default:return!1}}function Za(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ja(e){if(He){var t=Ft;if(t){var o=t;if(!kf(e,t)){if(Za(e))throw Error(i(418));t=pr(o.nextSibling);var s=Dt;t&&kf(e,t)?Cf(s,o):(e.flags=e.flags&-4097|2,He=!1,Dt=e)}}else{if(Za(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 nl(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"&&!Va(e.type,e.memoizedProps)),t&&(t=Ft)){if(Za(e))throw bf(),Error(i(418));for(;t;)Cf(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){Ft=pr(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}Ft=null}}else Ft=Dt?pr(e.stateNode.nextSibling):null;return!0}function bf(){for(var e=Ft;e;)e=pr(e.nextSibling)}function jo(){Ft=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(v){var E=u.refs;v===null?delete E[d]:E[d]=v},t._stringRef=d,t)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function rl(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 v(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 de=I.type;return de===H?V(A,N,I.props.children,Y,I.key):N!==null&&(N.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ae&&Rf(de)===N.type)?(Y=u(N,I.props),Y.ref=Vi(A,N,I),Y.return=A,Y):(Y=Pl(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,de){return N===null||N.tag!==7?(N=oo(I,A.mode,Y,de),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 z:return I=Pl(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 ae: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;rl(A,N)}return null}function $(A,N,I,Y){var de=N!==null?N.key:null;if(typeof I=="string"&&I!==""||typeof I=="number")return de!==null?null:E(A,N,""+I,Y);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case z:return I.key===de?M(A,N,I,Y):null;case U:return I.key===de?D(A,N,I,Y):null;case ae:return de=I._init,$(A,N,de(I._payload),Y)}if(ir(I)||B(I))return de!==null?null:V(A,N,I,Y,null);rl(A,I)}return null}function oe(A,N,I,Y,de){if(typeof Y=="string"&&Y!==""||typeof Y=="number")return A=A.get(I)||null,E(N,A,""+Y,de);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case z:return A=A.get(Y.key===null?I:Y.key)||null,M(N,A,Y,de);case U:return A=A.get(Y.key===null?I:Y.key)||null,D(N,A,Y,de);case ae:var ge=Y._init;return oe(A,N,I,ge(Y._payload),de)}if(ir(Y)||B(Y))return A=A.get(I)||null,V(N,A,Y,de,null);rl(N,Y)}return null}function le(A,N,I,Y){for(var de=null,ge=null,we=N,ke=N=0,it=null;we!==null&&ke<I.length;ke++){we.index>ke?(it=we,we=null):it=we.sibling;var Le=$(A,we,I[ke],Y);if(Le===null){we===null&&(we=it);break}e&&we&&Le.alternate===null&&t(A,we),N=d(Le,N,ke),ge===null?de=Le:ge.sibling=Le,ge=Le,we=it}if(ke===I.length)return o(A,we),He&&Gr(A,ke),de;if(we===null){for(;ke<I.length;ke++)we=Q(A,I[ke],Y),we!==null&&(N=d(we,N,ke),ge===null?de=we:ge.sibling=we,ge=we);return He&&Gr(A,ke),de}for(we=s(A,we);ke<I.length;ke++)it=oe(we,A,ke,I[ke],Y),it!==null&&(e&&it.alternate!==null&&we.delete(it.key===null?ke:it.key),N=d(it,N,ke),ge===null?de=it:ge.sibling=it,ge=it);return e&&we.forEach(function(br){return t(A,br)}),He&&Gr(A,ke),de}function ue(A,N,I,Y){var de=B(I);if(typeof de!="function")throw Error(i(150));if(I=de.call(I),I==null)throw Error(i(151));for(var ge=de=null,we=N,ke=N=0,it=null,Le=I.next();we!==null&&!Le.done;ke++,Le=I.next()){we.index>ke?(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,ke),ge===null?de=br:ge.sibling=br,ge=br,we=it}if(Le.done)return o(A,we),He&&Gr(A,ke),de;if(we===null){for(;!Le.done;ke++,Le=I.next())Le=Q(A,Le.value,Y),Le!==null&&(N=d(Le,N,ke),ge===null?de=Le:ge.sibling=Le,ge=Le);return He&&Gr(A,ke),de}for(we=s(A,we);!Le.done;ke++,Le=I.next())Le=oe(we,A,ke,Le.value,Y),Le!==null&&(e&&Le.alternate!==null&&we.delete(Le.key===null?ke:Le.key),N=d(Le,N,ke),ge===null?de=Le:ge.sibling=Le,ge=Le);return e&&we.forEach(function(a0){return t(A,a0)}),He&&Gr(A,ke),de}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 z:e:{for(var de=I.key,ge=N;ge!==null;){if(ge.key===de){if(de=I.type,de===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===de||typeof de=="object"&&de!==null&&de.$$typeof===ae&&Rf(de)===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=Pl(I.type,I.key,I.props,null,A.mode,Y),Y.ref=Vi(A,N,I),Y.return=A,A=Y)}return v(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 v(A);case ae:return ge=I._init,Ge(A,N,ge(I._payload),Y)}if(ir(I))return le(A,N,I,Y);if(B(I))return ue(A,N,I,Y);rl(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),v(A)):o(A,N)}return Ge}var Bo=Pf(!0),Mf=Pf(!1),ol=hr(null),il=null,Uo=null,tu=null;function nu(){tu=Uo=il=null}function ru(e){var t=ol.current;Be(ol),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){il=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(il===null)throw Error(i(308));Uo=e,il.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 yr=!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 sl(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,xa(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 v={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};d===null?u=d=v:d=d.next=v,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 ll(e,t,o,s){var u=e.updateQueue;yr=!1;var d=u.firstBaseUpdate,v=u.lastBaseUpdate,E=u.shared.pending;if(E!==null){u.shared.pending=null;var M=E,D=M.next;M.next=null,v===null?d=D:v.next=D,v=M;var V=e.alternate;V!==null&&(V=V.updateQueue,E=V.lastBaseUpdate,E!==v&&(E===null?V.firstBaseUpdate=D:E.next=D,V.lastBaseUpdate=M))}if(d!==null){var Q=u.baseState;v=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,ue=E;switch($=t,oe=o,ue.tag){case 1:if(le=ue.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=ue.payload,$=typeof le=="function"?le.call(oe,Q,$):le,$==null)break e;Q=W({},Q,$);break e;case 2:yr=!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,v|=$;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 v|=u.lane,u=u.next;while(u!==t)}else d===null&&(u.shared.lanes=0);eo|=v,e.lanes=v,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 lu(e,t){switch(ze(Ki,t),ze(Qi,e),ze(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),ze(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&&(ze(Qi,e),ze(Pn,o))}function au(e){Qi.current===e&&(Be(Pn),Be(Qi))}var Ve=hr(0);function al(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 ul=L.ReactCurrentDispatcher,du=L.ReactCurrentBatchConfig,Jr=0,We=null,et=null,rt=null,cl=!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,ul.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,ul.current=Dg,e=o(s,u)}while(qi)}if(ul.current=pl,t=et!==null&&et.next!==null,Jr=0,rt=et=We=null,cl=!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 v=u.next;u.next=d.next,d.next=v}s.baseQueue=u=d,o.pending=null}if(u!==null){d=u.next,s=s.baseState;var E=v=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,v=s):M=M.next=Q,We.lanes|=V,eo|=V}D=D.next}while(D!==null&&D!==d);M===null?v=s:M.next=E,nn(s,t.memoizedState)||(Pt=!0),t.memoizedState=s,t.baseState=v,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 vu(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 v=u=u.next;do d=e(d,v.action),v=v.next;while(v!==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,yu(zf.bind(null,o,s,e),[e]),s.getSnapshot!==t||d||rt!==null&&rt.memoizedState.tag&1){if(o.flags|=2048,Xi(9,Ff.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 Ff(e,t,o,s){t.value=o,t.getSnapshot=s,jf(t)&&Bf(e)}function zf(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&&an(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 dl(e,t,o,s){var u=Mn();We.flags|=e,u.memoizedState=Xi(1|t,o,void 0,s===void 0?null:s)}function fl(e,t,o,s){var u=Qt();s=s===void 0?null:s;var d=void 0;if(et!==null){var v=et.memoizedState;if(d=v.destroy,s!==null&&fu(s,v.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 dl(8390656,8,e,t)}function yu(e,t){return fl(2048,8,e,t)}function Vf(e,t){return fl(4,2,e,t)}function Wf(e,t){return fl(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,fl(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=Cr(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();an(o,e,s,u),ep(o,t,s)}}function Lg(e,t,o){var s=Cr(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 v=t.lastRenderedState,E=d(v,o);if(u.hasEagerState=!0,u.eagerState=E,nn(E,v)){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(),an(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=cl=!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,xa(e,o)}}var pl={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,dl(4194308,4,Qf.bind(null,t,e),o)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return dl(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(zf.bind(null,s,d,e),[e]),s.flags|=2048,Xi(9,Ff.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:yu,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:yu,useImperativeHandle:Kf,useInsertionEffect:Vf,useLayoutEffect:Wf,useMemo:Yf,useReducer:vu,useRef:Hf,useState:function(){return vu(Gi)},useDebugValue:gu,useDeferredValue:function(e){var t=Qt();return et===null?t.memoizedState=e:Gf(t,et.memoizedState,e)},useTransition:function(){var e=vu(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 hl={isMounted:function(e){return(e=e._reactInternals)?Qr(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var s=xt(),u=Cr(e),d=Vn(s,u);d.payload=t,o!=null&&(d.callback=o),t=gr(e,d,u),t!==null&&(an(t,e,u,s),sl(t,e,u))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var s=xt(),u=Cr(e),d=Vn(s,u);d.tag=1,d.payload=t,o!=null&&(d.callback=o),t=gr(e,d,u),t!==null&&(an(t,e,u,s),sl(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=xt(),s=Cr(e),u=Vn(o,s);u.tag=2,t!=null&&(u.callback=t),t=gr(e,u,s),t!==null&&(an(t,e,s,o),sl(t,e,s))}};function tp(e,t,o,s,u,d,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,d,v):t.prototype&&t.prototype.isPureReactComponent?!Fi(o,s)||!Fi(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=hl,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&&hl.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&&hl.enqueueReplaceState(u,u.state,null),ll(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+=ve(s),s=s.return;while(s);var u=o}catch(d){u=`
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
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 Cu(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var Fg=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(){Sl||(Sl=!0,Fu=s),Cu(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(){Cu(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(o.callback=function(){Cu(e,t),typeof s!="function"&&(xr===null?xr=new Set([this]):xr.add(this));var v=t.stack;this.componentDidCatch(t.value,{componentStack:v!==null?v:""})}),o}function sp(e,t,o){var s=e.pingCache;if(s===null){s=e.pingCache=new Fg;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 lp(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 ap(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 zg=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&&Ga(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=Pl(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 v=d.memoizedProps;if(o=o.compare,o=o!==null?o:Fi,o(v,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(Fi(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 ku(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},ze(Qo,zt),zt|=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,ze(Qo,zt),zt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=d!==null?d.baseLanes:o,ze(Qo,zt),zt|=s}else d!==null?(s=d.baseLanes|o,t.memoizedState=null):s=o,ze(Qo,zt),zt|=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 ku(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&&Ga(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)vl(e,t),np(t,o,s),xu(t,o,s,u),s=!0;else if(e===null){var v=t.stateNode,E=t.memoizedProps;v.props=E;var M=v.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 v.getSnapshotBeforeUpdate=="function";Q||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(E!==s||M!==D)&&rp(t,v,s,D),yr=!1;var $=t.memoizedState;v.state=$,ll(t,s,v,u),M=t.memoizedState,E!==s||$!==M||bt.current||yr?(typeof V=="function"&&(wu(t,o,V,s),M=t.memoizedState),(E=yr||tp(t,o,E,s,$,M,D))?(Q||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(t.flags|=4194308)):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=M),v.props=s,v.state=M,v.context=D,s=E):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{v=t.stateNode,Of(e,t),E=t.memoizedProps,D=t.type===t.elementType?E:on(t.type,E),v.props=D,Q=t.pendingProps,$=v.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 v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(E!==Q||$!==M)&&rp(t,v,s,M),yr=!1,$=t.memoizedState,v.state=$,ll(t,s,v,u);var le=t.memoizedState;E!==Q||$!==le||bt.current||yr?(typeof oe=="function"&&(wu(t,o,oe,s),le=t.memoizedState),(D=yr||tp(t,o,D,s,$,le,M)||!1)?(V||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(s,le,M),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(s,le,M)),typeof v.componentDidUpdate=="function"&&(t.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=le),v.props=s,v.state=le,v.context=M,s=D):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof v.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 v=(t.flags&128)!==0;if(!s&&!v)return u&&wf(t,o,!1),Wn(e,t,d);s=t.stateNode,zg.current=t;var E=v&&typeof o.getDerivedStateFromError!="function"?null:s.render();return t.flags|=1,e!==null&&v?(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?yf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yf(e,t.context,!1),lu(e,t.containerInfo)}function vp(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 yp(e,t,o){var s=t.pendingProps,u=Ve.current,d=!1,v=(t.flags&128)!==0,E;if((E=v)||(E=e!==null&&e.memoizedState===null?!1:(u&2)!==0),E?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),ze(Ve,u&1),e===null)return Ja(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):(v=s.children,e=s.fallback,d?(s=t.mode,d=t.child,v={mode:"hidden",children:v},(s&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=v):d=Ml(v,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,v));if(u=e.memoizedState,u!==null&&(E=u.dehydrated,E!==null))return jg(e,t,v,s,E,u,o);if(d){d=s.fallback,v=t.mode,u=e.child,E=u.sibling;var M={mode:"hidden",children:s.children};return(v&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,v,o,null),d.flags|=2),d.return=t,s.return=t,s.sibling=d,t.child=s,s=d,d=t.child,v=e.child.memoizedState,v=v===null?Ru(o):{baseLanes:v.baseLanes|o,cachePool:null,transitions:v.transitions},d.memoizedState=v,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=Ml({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ml(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,v){if(o)return t.flags&256?(t.flags&=-257,s=Su(Error(i(422))),ml(e,t,v,s)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=s.fallback,u=t.mode,s=Ml({mode:"visible",children:s.children},u,0,null),d=oo(d,u,v,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,v),t.child.memoizedState=Ru(v),t.memoizedState=bu,d);if((t.mode&1)===0)return ml(e,t,v,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),ml(e,t,v,s)}if(E=(v&e.childLanes)!==0,Pt||E){if(s=ot,s!==null){switch(v&-v){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|v))!==0?0:u,u!==0&&u!==d.retryLane&&(d.retryLane=u,$n(e,u),an(s,e,u,-1))}return $u(),s=Su(Error(i(421))),ml(e,t,v,s)}return u.data==="$?"?(t.flags|=128,t.child=e.child,t=Zg.bind(null,e),u._reactRetry=t,null):(e=d.treeContext,Ft=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(ze(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&&al(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&&al(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 vl(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:lu(t,t.stateNode.containerInfo);break;case 10:var s=t.type._context,u=t.memoizedProps.value;ze(ol,s._currentValue),s._currentValue=u;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(ze(Ve,Ve.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?yp(e,t,o):(ze(Ve,Ve.current&1),e=Wn(e,t,o),e!==null?e.sibling:null);ze(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),ze(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,Cp;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=Co(e,u),s=Co(e,s),d=[];break;default:typeof u.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=Ys)}Cn(o,s);var v;o=null;for(D in u)if(!s.hasOwnProperty(D)&&u.hasOwnProperty(D)&&u[D]!=null)if(D==="style"){var E=u[D];for(v in E)E.hasOwnProperty(v)&&(o||(o={}),o[v]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(a.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(v in E)!E.hasOwnProperty(v)||M&&M.hasOwnProperty(v)||(o||(o={}),o[v]="");for(v in M)M.hasOwnProperty(v)&&E[v]!==M[v]&&(o||(o={}),o[v]=M[v])}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"&&(a.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)}},Cp=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(Xa(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)&&(nl(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:au(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),nl(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":yn(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)}Cn(o,d),u=null;for(var v in d)if(d.hasOwnProperty(v)){var E=d[v];v==="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]):a.hasOwnProperty(v)&&E!=null&&v==="onScroll"&&je("scroll",s)}switch(o){case"input":Me(s),or(s,d,!0);break;case"textarea":Me(s),ks(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{v=u.nodeType===9?u:u.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=yt(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=v.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=v.createElement(o,{is:s.is}):(e=v.createElement(o),o==="select"&&(v=e,s.multiple?v.multiple=!0:s.size&&(v.size=s.size))):e=v.createElementNS(e,o),e[Rn]=t,e[Hi]=s,xp(e,t,!1,!1),t.stateNode=e;e:{switch(v=Ci(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":yn(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=Co(e,s),je("invalid",e);break;default:u=s}Cn(o,u),E=u;for(d in E)if(E.hasOwnProperty(d)){var M=E[d];d==="style"?zn(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"&&(a.hasOwnProperty(d)?M!=null&&d==="onScroll"&&je("scroll",e):M!=null&&R(e,d,M,v))}switch(o){case"input":Me(e),or(e,s,!1);break;case"textarea":Me(e),ks(e);break;case"option":s.value!=null&&e.setAttribute("value",""+fe(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)Cp(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),nl(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&&Ft!==null&&(t.mode&1)!==0&&(t.flags&128)===0)bf(),jo(),t.flags|=98560,d=!1;else if(d=nl(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,v=d.rendering,v===null)if(s)Zi(d,!1);else{if(tt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(v=al(e),v!==null){for(t.flags|=128,Zi(d,!1),s=v.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,v=d.alternate,v===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=v.childLanes,d.lanes=v.lanes,d.child=v.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=v.memoizedProps,d.memoizedState=v.memoizedState,d.updateQueue=v.updateQueue,d.type=v.type,e=v.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return ze(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=al(v),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"&&!v.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?(v.sibling=t.child,t.child=v):(o=d.last,o!==null?o.sibling=v:t.child=v,d.last=v)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=Ye(),t.sibling=null,o=Ve.current,ze(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?(zt&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(Xa(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 au(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 yl=!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 kp=!1;function Vg(e,t){if(Ha=Fs,e=ef(),Aa(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 v=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=v+u),Q!==d||s!==0&&Q.nodeType!==3||(M=v+s),Q.nodeType===3&&(v+=Q.nodeValue.length),(oe=Q.firstChild)!==null;)$=Q,Q=oe;for(;;){if(Q===e)break t;if($===o&&++D===u&&(E=v),$===d&&++V===s&&(M=v),(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($a={focusedElem:e,selectionRange:o},Fs=!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 ue=le.memoizedProps,Ge=le.memoizedState,A=t.stateNode,N=A.getSnapshotBeforeUpdate(t.elementType===t.type?ue:on(t.type,ue),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=kp,kp=!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 gl(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[Ka],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 at=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=at,u=sn;at=null,wr(e,t,o),at=s,sn=u,at!==null&&(sn?(e=at,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):at.removeChild(o.stateNode));break;case 18:at!==null&&(sn?(e=at,o=o.stateNode,e.nodeType===8?Qa(e.parentNode,o):e.nodeType===1&&Qa(e,o),_i(e)):Qa(at,o.stateNode));break;case 4:s=at,u=sn,at=o.stateNode.containerInfo,sn=!0,wr(e,t,o),at=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,v=d.destroy;d=d.tag,v!==void 0&&((d&2)!==0||(d&4)!==0)&&Ou(o,t,v),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 ln(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,v=t,E=v;e:for(;E!==null;){switch(E.tag){case 5:at=E.stateNode,sn=!1;break e;case 3:at=E.stateNode.containerInfo,sn=!0;break e;case 4:at=E.stateNode.containerInfo,sn=!0;break e}E=E.return}if(at===null)throw Error(i(160));Pp(d,v,u),at=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(ln(t,e),Tn(e),s&4){try{Ji(3,e,e.return),gl(3,e)}catch(ue){Qe(e,e.return,ue)}try{Ji(5,e,e.return)}catch(ue){Qe(e,e.return,ue)}}break;case 1:ln(t,e),Tn(e),s&512&&o!==null&&Wo(o,o.return);break;case 5:if(ln(t,e),Tn(e),s&512&&o!==null&&Wo(o,o.return),e.flags&32){var u=e.stateNode;try{Sn(u,"")}catch(ue){Qe(e,e.return,ue)}}if(s&4&&(u=e.stateNode,u!=null)){var d=e.memoizedProps,v=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),Ci(E,v);var D=Ci(E,d);for(v=0;v<M.length;v+=2){var V=M[v],Q=M[v+1];V==="style"?zn(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":Cs(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(ue){Qe(e,e.return,ue)}}break;case 6:if(ln(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(ue){Qe(e,e.return,ue)}}break;case 3:if(ln(t,e),Tn(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{_i(t.containerInfo)}catch(ue){Qe(e,e.return,ue)}break;case 4:ln(t,e),Tn(e);break;case 13:ln(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,ln(t,e),mt=D):ln(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(ue){Qe(s,o,ue)}}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,v=M!=null&&M.hasOwnProperty("display")?M.display:null,E.style.display=Eo("display",v))}catch(ue){Qe(e,e.return,ue)}}}else if(Q.tag===6){if(V===null)try{Q.stateNode.nodeValue=D?"":Q.memoizedProps}catch(ue){Qe(e,e.return,ue)}}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:ln(t,e),Tn(e),s&4&&Mp(e);break;case 21:break;default:ln(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 v=s.stateNode.containerInfo,E=Rp(e);Nu(e,E,v);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 v=u.memoizedState!==null||yl;if(!v){var E=u.alternate,M=E!==null&&E.memoizedState!==null||mt;E=yl;var D=mt;if(yl=v,(mt=M)&&!D)for(se=u;se!==null;)v=se,M=v.child,v.tag===22&&v.memoizedState!==null?Lp(u):M!==null?(M.return=v,se=M):Lp(u);for(;d!==null;)se=d,Op(d),d=d.sibling;se=u,yl=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||gl(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 v=t.updateQueue;if(v!==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,v,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{gl(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 v=t.return;try{_u(t)}catch(M){Qe(t,v,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,wl=L.ReactCurrentDispatcher,Au=L.ReactCurrentOwner,Kt=L.ReactCurrentBatchConfig,Ne=0,ot=null,Ze=null,ut=0,zt=0,Qo=hr(0),tt=0,es=null,eo=0,xl=0,Iu=0,ts=null,Mt=null,Du=0,Ko=1/0,Qn=null,Sl=!1,Fu=null,xr=null,Cl=!1,Sr=null,kl=0,ns=0,zu=null,El=-1,bl=0;function xt(){return(Ne&6)!==0?Ye():El!==-1?El:El=Ye()}function Cr(e){return(e.mode&1)===0?1:(Ne&2)!==0&&ut!==0?ut&-ut:Tg.transition!==null?(bl===0&&(bl=bd()),bl):(e=De,e!==0||(e=window.event,e=e===void 0?16:Ad(e.type)),e)}function an(e,t,o,s){if(50<ns)throw ns=0,zu=null,Error(i(185));Ri(e,o,s),((Ne&2)===0||e!==ot)&&(e===ot&&((Ne&2)===0&&(xl|=o),tt===4&&kr(e,ut)),Tt(e,s),o===1&&Ne===0&&(t.mode&1)===0&&(Ko=Ye()+500,Js&&vr()))}function Tt(e,t){var o=e.callbackNode;Ty(e,t);var s=As(e,e===ot?ut:0);if(s===0)o!==null&&Cd(o),e.callbackNode=null,e.callbackPriority=0;else if(t=s&-s,e.callbackPriority!==t){if(o!=null&&Cd(o),t===1)e.tag===0?Mg(Ip.bind(null,e)):xf(Ip.bind(null,e)),Eg(function(){(Ne&6)===0&&vr()}),o=null;else{switch(Rd(s)){case 1:o=ya;break;case 4:o=kd;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(El=-1,bl=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=Rl(e,s);else{t=s;var u=Ne;Ne|=2;var d=Fp();(ot!==e||ut!==t)&&(Qn=null,Ko=Ye()+500,no(e,t));do try{Yg();break}catch(E){Dp(e,E)}while(!0);nu(),wl.current=d,Ne=u,Ze!==null?t=0:(ot=null,ut=0,t=tt)}if(t!==0){if(t===2&&(u=ga(e),u!==0&&(s=u,t=ju(e,u))),t===1)throw o=es,no(e,0),kr(e,s),Tt(e,Ye()),o;if(t===6)kr(e,s);else{if(u=e.current.alternate,(s&30)===0&&!Kg(u)&&(t=Rl(e,s),t===2&&(d=ga(e),d!==0&&(s=d,t=ju(e,d))),t===1))throw o=es,no(e,0),kr(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(kr(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=Wa(ro.bind(null,e,Mt,Qn),t);break}ro(e,Mt,Qn);break;case 4:if(kr(e,s),(s&4194240)===s)break;for(t=e.eventTimes,u=-1;0<s;){var v=31-tn(s);d=1<<v,v=t[v],v>u&&(u=v),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=Wa(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=Rl(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 kr(e,t){for(t&=~Iu,t&=~xl,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=Rl(e,t);if(e.tag!==0&&o===2){var s=ga(e);s!==0&&(t=s,o=ju(e,s))}if(o===1)throw o=es,no(e,0),kr(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&&vr())}}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&&vr()}}function Hu(){zt=Qo.current,Be(Qo)}function no(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,kg(o)),Ze!==null)for(o=Ze.return;o!==null;){var s=o;switch(Xa(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Xs();break;case 3:$o(),Be(bt),Be(ft),cu();break;case 5:au(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=zt=t,tt=0,es=null,Iu=xl=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 v=d.next;d.next=u,s.next=v}o.pending=s}Xr=null}return e}function Dp(e,t){do{var o=Ze;try{if(nu(),ul.current=pl,cl){for(var s=We.memoizedState;s!==null;){var u=s.queue;u!==null&&(u.pending=null),s=s.next}cl=!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,v=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=lp(v);if(oe!==null){oe.flags&=-257,ap(oe,v,E,d,t),oe.mode&1&&sp(d,D,t),t=oe,M=D;var le=t.updateQueue;if(le===null){var ue=new Set;ue.add(M),t.updateQueue=ue}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=lp(v);if(Ge!==null){(Ge.flags&65536)===0&&(Ge.flags|=256),ap(Ge,v,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=v;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(de){t=de,Ze===o&&o!==null&&(Ze=o=o.return);continue}break}while(!0)}function Fp(){var e=wl.current;return wl.current=pl,e===null?pl:e}function $u(){(tt===0||tt===3||tt===2)&&(tt=4),ot===null||(eo&268435455)===0&&(xl&268435455)===0||kr(ot,ut)}function Rl(e,t){var o=Ne;Ne|=2;var s=Fp();(ot!==e||ut!==t)&&(Qn=null,no(e,t));do try{qg();break}catch(u){Dp(e,u)}while(!0);if(nu(),Ne=o,wl.current=s,Ze!==null)throw Error(i(261));return ot=null,ut=0,tt}function qg(){for(;Ze!==null;)zp(Ze)}function Yg(){for(;Ze!==null&&!xy();)zp(Ze)}function zp(e){var t=Hp(e.alternate,e,zt);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,zt),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(Oy(e,d),e===ot&&(Ze=ot=null,ut=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||Cl||(Cl=!0,$p(Os,function(){return qo(),null})),d=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||d){d=Kt.transition,Kt.transition=null;var v=De;De=1;var E=Ne;Ne|=4,Au.current=null,Vg(e,o),Tp(o,e),vg($a),Fs=!!Ha,$a=Ha=null,e.current=o,Wg(o),Sy(),Ne=E,De=v,Kt.transition=d}else e.current=o;if(Cl&&(Cl=!1,Sr=e,kl=u),d=e.pendingLanes,d===0&&(xr=null),Ey(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(Sl)throw Sl=!1,e=Fu,Fu=null,e;return(kl&1)!==0&&e.tag!==0&&qo(),d=e.pendingLanes,(d&1)!==0?e===zu?ns++:(ns=0,zu=e):ns=0,vr(),null}function qo(){if(Sr!==null){var e=Rd(kl),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,kl=0,(Ne&6)!==0)throw Error(i(331));var u=Ne;for(Ne|=4,se=e.current;se!==null;){var d=se,v=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 ue=le.child;if(ue!==null){le.child=null;do{var Ge=ue.sibling;ue.sibling=null,ue=Ge}while(ue!==null)}}se=d}}if((d.subtreeFlags&2064)!==0&&v!==null)v.return=d,se=v;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;){v=se;var I=v.child;if((v.subtreeFlags&2064)!==0&&I!==null)I.return=v,se=I;else e:for(v=N;se!==null;){if(E=se,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:gl(9,E)}}catch(de){Qe(E,E.return,de)}if(E===v){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,vr(),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,tl,t.index);switch(t.lanes=0,t.tag){case 2:var s=t.type;vl(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=hl,t.stateNode=u,u._reactInternals=t,xu(t,s,e,o),t=Eu(null,t,s,!0,d,o)):(t.tag=0,He&&d&&Ga(t),wt(null,t,u,o),t=t.child),t;case 16:s=t.elementType;e:{switch(vl(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=ku(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),ku(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),ll(t,s,null,o);var v=t.memoizedState;if(s=v.element,d.isDehydrated)if(d={element:s,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){u=Vo(Error(i(423)),t),t=vp(e,t,s,o,u);break e}else if(s!==u){u=Vo(Error(i(424)),t),t=vp(e,t,s,o,u);break e}else for(Ft=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&&Ja(t),s=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,v=u.children,Va(s,u)?v=null:d!==null&&Va(s,d)&&(t.flags|=32),pp(e,t),wt(e,t,v,o),t.child;case 6:return e===null&&Ja(t),null;case 13:return yp(e,t,o);case 4:return lu(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,v=u.value,ze(ol,s._currentValue),s._currentValue=v,d!==null)if(nn(d.value,v)){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){v=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)v=d.type===t.type?null:d.child;else if(d.tag===18){if(v=d.return,v===null)throw Error(i(341));v.lanes|=o,E=v.alternate,E!==null&&(E.lanes|=o),ou(v,o,t),v=d.sibling}else v=d.child;if(v!==null)v.return=d;else for(v=d;v!==null;){if(v===t){v=null;break}if(d=v.sibling,d!==null){d.return=v.return,v=d;break}v=v.return}d=v}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),vl(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 Pl(e,t,o,s,u,d){var v=2;if(s=e,typeof e=="function")Vu(e)&&(v=1);else if(typeof e=="string")v=5;else e:switch(e){case H:return oo(o.children,u,d,t);case q:v=8,u|=8;break;case Z:return e=qt(12,o,t,u|2),e.elementType=Z,e.lanes=d,e;case ye:return e=qt(13,o,t,u),e.elementType=ye,e.lanes=d,e;case ce:return e=qt(19,o,t,u),e.elementType=ce,e.lanes=d,e;case ie:return Ml(o,u,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case te:v=10;break e;case he:v=9;break e;case X:v=11;break e;case xe:v=14;break e;case ae:v=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=qt(v,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 Ml(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=wa(0),this.expirationTimes=wa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wa(0),this.identifierPrefix=s,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function Ku(e,t,o,s,u,d,v,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,v,E,M){return e=Ku(o,s,!0,e,u,d,v,E,M),e.context=Vp(null),o=e.current,s=xt(),u=Cr(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 Tl(e,t,o,s){var u=t.current,d=xt(),v=Cr(u);return o=Vp(o),t.context===null?t.context=o:t.pendingContext=o,t=Vn(d,v),t.payload={element:e},s=s===void 0?null:s,s!==null&&(t.callback=s),e=gr(u,t,v),e!==null&&(an(e,u,v,d),sl(e,u,v)),v}function Ol(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}_l.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));Tl(e,t,null,null)},_l.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;to(function(){Tl(null,e,null,null)}),t[jn]=null}};function _l(e){this._internalRoot=e}_l.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 Nl(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=Ol(v);d.call(D)}}var v=Wp(t,s,e,0,null,!1,!1,"",qp);return e._reactRootContainer=v,e[jn]=v.current,Bi(e.nodeType===8?e.parentNode:e),to(),v}for(;u=e.lastChild;)e.removeChild(u);if(typeof s=="function"){var E=s;s=function(){var D=Ol(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(){Tl(t,M,o,s)}),M}function Ll(e,t,o,s,u){var d=o._reactRootContainer;if(d){var v=d;if(typeof u=="function"){var E=u;u=function(){var M=Ol(v);E.call(M)}}Tl(t,v,e,u)}else v=i0(o,t,e,u,s);return Ol(v)}Pd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=bi(t.pendingLanes);o!==0&&(xa(t,o|1),Tt(t,Ye()),(Ne&6)===0&&(Ko=Ye()+500,vr()))}break;case 13:to(function(){var s=$n(e,1);if(s!==null){var u=xt();an(s,e,1,u)}}),qu(e,1)}},Sa=function(e){if(e.tag===13){var t=$n(e,134217728);if(t!==null){var o=xt();an(t,e,134217728,o)}qu(e,134217728)}},Md=function(e){if(e.tag===13){var t=Cr(e),o=$n(e,t);if(o!==null){var s=xt();an(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":Cs(e,o);break;case"select":t=o.value,t!=null&&Ht(e,!!o.multiple,t,!1)}},Ae=Uu,Fe=to;var s0={usingClientEntryPoint:!1,Events:[$i,Ao,Gs,Ps,Ee,Uu]},rs={findFiberByHostInstance:Kr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},l0={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 Al=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Al.isDisabled&&Al.supportsFiber)try{_s=Al.inject(l0),bn=Al}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(!Nl(t))throw Error(i(200));return Ll(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="",v=Kp;if(o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(d=o.identifierPrefix),o.onRecoverableError!==void 0&&(v=o.onRecoverableError)),t=Wp(t,null,e,1,o??null,u,!1,d,v),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 _l(t)},Ot.render=function(e,t,o){if(!Nl(t))throw Error(i(200));return Ll(null,e,t,!1,o)},Ot.unmountComponentAtNode=function(e){if(!Nl(e))throw Error(i(40));return e._reactRootContainer?(to(function(){Ll(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(!Nl(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Ll(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 v0(){if(oh)return Dl;oh=1;var n=mm();return Dl.createRoot=n.createRoot,Dl.hydrateRoot=n.hydrateRoot,Dl}var qC=v0();/**
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
41
  * react-router v7.13.0
42
42
  *
43
43
  * Copyright (c) Remix Software Inc.
@@ -46,15 +46,15 @@ Error generating stack: `+d.message+`
46
46
  * LICENSE.md file in the root directory of this source tree.
47
47
  *
48
48
  * @license MIT
49
- */var ih="popstate";function y0(n={}){function r(l,a){let{pathname:c,search:f,hash:p}=l.location;return vc("",{pathname:c,search:f,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function i(l,a){return typeof a=="string"?a:cs(a)}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 vc(n,r,i=null,l){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?hi(r):r,state:i,key:r&&r.key||l||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 l=n.indexOf("?");l>=0&&(r.search=n.substring(l),n=n.substring(0,l)),n&&(r.pathname=n)}return r}function w0(n,r,i,l={}){let{window:a=document.defaultView,v5Compat:c=!1}=l,f=a.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 C=w(),P=C==null?null:C-m;m=C,h&&h({action:p,location:S.location,delta:P})}function k(C,P){p="PUSH";let T=vc(S.location,C,P);m=w()+1;let R=sh(T,m),L=S.createHref(T);try{f.pushState(R,"",L)}catch(z){if(z instanceof DOMException&&z.name==="DataCloneError")throw z;a.location.assign(L)}c&&h&&h({action:p,location:S.location,delta:1})}function y(C,P){p="REPLACE";let T=vc(S.location,C,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(C){return x0(C)}let S={get action(){return p},get location(){return n(a,f)},listen(C){if(h)throw new Error("A history only accepts one active listener");return a.addEventListener(ih,x),h=C,()=>{a.removeEventListener(ih,x),h=null}},createHref(C){return r(a,C)},createURL:O,encodeLocation(C){let P=O(C);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:k,replace:y,go(C){return f.go(C)}};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 l=typeof n=="string"?n:cs(n);return l=l.replace(/ $/,"%20"),!r&&l.startsWith("//")&&(l=i+l),new URL(l,i)}function vm(n,r,i="/"){return S0(n,r,i,!1)}function S0(n,r,i,l){let a=typeof r=="string"?hi(r):r,c=tr(a.pathname||"/",i);if(c==null)return null;let f=ym(n);C0(f);let p=null;for(let h=0;p==null&&h<f.length;++h){let m=L0(c);p=_0(f[h],m,l)}return p}function ym(n,r=[],i=[],l="",a=!1){let c=(f,p,h=a,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(l)&&h)return;$e(w.relativePath.startsWith(l),`Absolute route path "${w.relativePath}" nested under path "${l}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),w.relativePath=w.relativePath.slice(l.length)}let x=Jn([l,w.relativePath]),k=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}".`),ym(f.children,r,k,x,h)),!(f.path==null&&!f.index)&&r.push({path:x,score:T0(x,f.index),routesMeta:k})};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,...l]=r,a=i.endsWith("?"),c=i.replace(/\?$/,"");if(l.length===0)return a?[c,""]:[c];let f=gm(l.join("/")),p=[];return p.push(...f.map(h=>h===""?c:[c,h].join("/"))),a&&p.push(...f),p.map(h=>n.startsWith("/")&&h===""?"/":h)}function C0(n){n.sort((r,i)=>r.score!==i.score?i.score-r.score:O0(r.routesMeta.map(l=>l.childrenIndex),i.routesMeta.map(l=>l.childrenIndex)))}var k0=/^:[\w-]+$/,E0=3,b0=2,R0=1,P0=10,M0=-2,lh=n=>n==="*";function T0(n,r){let i=n.split("/"),l=i.length;return i.some(lh)&&(l+=M0),r&&(l+=b0),i.filter(a=>!lh(a)).reduce((a,c)=>a+(k0.test(c)?E0:c===""?R0:P0),l)}function O0(n,r){return n.length===r.length&&n.slice(0,-1).every((l,a)=>l===r[a])?n[n.length-1]-r[r.length-1]:0}function _0(n,r,i=!1){let{routesMeta:l}=n,a={},c="/",f=[];for(let p=0;p<l.length;++p){let h=l[p],m=p===l.length-1,w=c==="/"?r:r.slice(c.length)||"/",x=Xl({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},w),k=h.route;if(!x&&m&&i&&!l[l.length-1].route.index&&(x=Xl({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},w)),!x)return null;Object.assign(a,x.params),f.push({params:a,pathname:Jn([c,x.pathname]),pathnameBase:F0(Jn([c,x.pathnameBase])),route:k}),x.pathnameBase!=="/"&&(c=Jn([c,x.pathnameBase]))}return f}function Xl(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[i,l]=N0(n.path,n.caseSensitive,n.end),a=r.match(i);if(!a)return null;let c=a[0],f=c.replace(/(.)\/+$/,"$1"),p=a.slice(1);return{params:l.reduce((m,{paramName:w,isOptional:x},k)=>{if(w==="*"){let O=p[k]||"";f=c.slice(0,c.length-O.length).replace(/(.)\/+$/,"$1")}const y=p[k];return x&&!y?m[w]=void 0:m[w]=(y||"").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 l=[],a="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,h)=>(l.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(l.push({paramName:"*"}),a+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?a+="\\/*$":n!==""&&n!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,r?void 0:"i"),l]}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,l=n.charAt(i);return l&&l!=="/"?null:n.slice(i)||"/"}var A0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function I0(n,r="/"){let{pathname:i,search:l="",hash:a=""}=typeof n=="string"?hi(n):n,c;return i?(i=i.replace(/\/\/+/g,"/"),i.startsWith("/")?c=ah(i.substring(1),"/"):c=ah(i,r)):c=r,{pathname:c,search:z0(l),hash:j0(a)}}function ah(n,r){let i=r.replace(/\/+$/,"").split("/");return n.split("/").forEach(a=>{a===".."?i.length>1&&i.pop():a!=="."&&i.push(a)}),i.length>1?i.join("/"):"/"}function rc(n,r,i,l){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(l)}]. 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,l)=>l===r.length-1?i.pathname:i.pathnameBase)}function qc(n,r,i,l=!1){let a;typeof n=="string"?a=hi(n):(a={...n},$e(!a.pathname||!a.pathname.includes("?"),rc("?","pathname","search",a)),$e(!a.pathname||!a.pathname.includes("#"),rc("#","pathname","hash",a)),$e(!a.search||!a.search.includes("#"),rc("#","search","hash",a)));let c=n===""||a.pathname==="",f=c?"/":a.pathname,p;if(f==null)p=i;else{let x=r.length-1;if(!l&&f.startsWith("..")){let k=f.split("/");for(;k[0]==="..";)k.shift(),x-=1;a.pathname=k.join("/")}p=x>=0?r[x]:"/"}let h=I0(a,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,"/"),F0=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),z0=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,j0=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,B0=class{constructor(n,r,i,l=!1){this.status=n,this.statusText=r||"",this.internal=l,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 l=i,a=!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:a=!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:l,isExternal:a,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 sa=g.createContext(null);sa.displayName="DataRouterState";var V0=g.createContext(!1),Cm=g.createContext({isTransitioning:!1});Cm.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 vn=g.createContext({outlet:null,matches:[],isDataRoute:!1});vn.displayName="Route";var Yc=g.createContext(null);Yc.displayName="RouteError";var km="REACT_ROUTER_ERROR",K0="REDIRECT",q0="ROUTE_ERROR_RESPONSE";function Y0(n){if(n.startsWith(`${km}:${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(`${km}:${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(vi(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:l}=g.useContext(Ut),{hash:a,pathname:c,search:f}=ws(n,{relative:r}),p=c;return i!=="/"&&(p=c==="/"?i:Jn([i,c])),l.createHref({pathname:p,search:f,hash:a})}function vi(){return g.useContext(gs)!=null}function Hr(){return $e(vi(),"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(vn);return n?c1():Z0()}function Z0(){$e(vi(),"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:l}=g.useContext(vn),{pathname:a}=Hr(),c=JSON.stringify(Kc(l)),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),a,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,a,n])}g.createContext(null);function YC(){let{matches:n}=g.useContext(vn),r=n[n.length-1];return r?r.params:{}}function ws(n,{relative:r}={}){let{matches:i}=g.useContext(vn),{pathname:l}=Hr(),a=JSON.stringify(Kc(i));return g.useMemo(()=>qc(n,JSON.parse(a),l,r==="path"),[n,a,l,r])}function J0(n,r){return Pm(n,r)}function Pm(n,r,i,l,a){var T;$e(vi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=g.useContext(Ut),{matches:f}=g.useContext(vn),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.
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
50
 
51
- Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let k=Hr(),y;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.`),y=R}else y=k;let O=y.pathname||"/",S=O;if(w!=="/"){let R=w.replace(/^\//,"").split("/");S="/"+O.replace(/^\//,"").split("/").slice(R.length).join("/")}let C=vm(n,{pathname:S});pn(x||C!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),pn(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let P=o1(C&&C.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,l,a);return r&&P?g.createElement(gs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...y},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,l="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:l},c={padding:"2px 4px",backgroundColor:l},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:a},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(vn.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 l=Y0(r.digest);if(l){let a=oc.get(r);if(a)throw a;let c=xm(l.location,i);if(wm&&!oc.get(r))if(c.isExternal||l.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:l.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 l=g.useContext(mi);return l&&l.static&&l.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=r.route.id),g.createElement(vn.Provider,{value:n},i)}function o1(n,r=[],i=null,l=null,a=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:k,errors:y}=i,O=x.route.loader&&!k.hasOwnProperty(x.route.id)&&(!y||y[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&&l?(w,x)=>{var k,y;l(w,{location:i.location,params:((y=(k=i.matches)==null?void 0:k[0])==null?void 0:y.params)??{},unstable_pattern:H0(i.matches),errorInfo:x})}:void 0;return c.reduceRight((w,x,k)=>{let y,O=!1,S=null,C=null;i&&(y=f&&x.route.id?f[x.route.id]:void 0,S=x.route.errorElement||t1,p&&(h<0&&k===0?(Tm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),O=!0,C=null):h===k&&(O=!0,C=x.route.hydrateFallbackElement||null)));let P=r.concat(c.slice(0,k+1)),T=()=>{let R;return y?R=S:O?R=C: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||k===0)?g.createElement(Mm,{location:i.location,revalidation:i.revalidation,component:S,error:y,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(sa);return $e(r,Gc(n)),r}function l1(n){let r=g.useContext(vn);return $e(r,Gc(n)),r}function Xc(n){let r=l1(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 a1(){return Xc("useRouteId")}function u1(){var l;let n=g.useContext(Yc),r=s1("useRouteError"),i=Xc("useRouteError");return n!==void 0?n:(l=r.errors)==null?void 0:l[i]}function c1(){let{router:n}=i1("useNavigate"),r=Xc("useNavigate"),i=g.useRef(!1);return bm(()=>{i.current=!0}),g.useCallback(async(a,c={})=>{pn(i.current,Em),i.current&&(typeof a=="number"?await n.navigate(a):await n.navigate(a,{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:l}){return Pm(n,void 0,i,l,r)}function GC({to:n,replace:r,state:i,relative:l}){$e(vi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=g.useContext(Ut);pn(!a,"<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(vn),{pathname:f}=Hr(),p=Rm(),h=qc(n,Kc(c),f,l==="path"),m=JSON.stringify(h);return g.useEffect(()=>{p(JSON.parse(m),{replace:r,state:i,relative:l})},[p,m,l,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:l="POP",navigator:a,static:c=!1,unstable_useTransitions:f}){$e(!vi(),"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:a,static:c,unstable_useTransitions:f,future:{}}),[p,a,c,f]);typeof i=="string"&&(i=hi(i));let{pathname:m="/",search:w="",hash:x="",state:k=null,key:y="default"}=i,O=g.useMemo(()=>{let S=tr(m,p);return S==null?null:{location:{pathname:S,search:w,hash:x,state:k,key:y},navigationType:l}},[p,m,w,x,k,y,l]);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 XC({children:n,location:r}){return J0(yc(n),r)}function yc(n,r=[]){let i=[];return g.Children.forEach(n,(l,a)=>{if(!g.isValidElement(l))return;let c=[...r,a];if(l.type===g.Fragment){i.push.apply(i,yc(l.props.children,c));return}$e(l.type===f1,`[${typeof l.type=="string"?l.type:l.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),$e(!l.props.index||!l.props.children,"An index route cannot have child routes.");let f={id:l.props.id||c.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,middleware:l.props.middleware,loader:l.props.loader,action:l.props.action,hydrateFallbackElement:l.props.hydrateFallbackElement,HydrateFallback:l.props.HydrateFallback,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.hasErrorBoundary===!0||l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(f.children=yc(l.props.children,c)),i.push(f)}),i}var Wl="get",Ql="application/x-www-form-urlencoded";function la(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function h1(n){return la(n)&&n.tagName.toLowerCase()==="button"}function m1(n){return la(n)&&n.tagName.toLowerCase()==="form"}function v1(n){return la(n)&&n.tagName.toLowerCase()==="input"}function y1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function g1(n,r){return n.button===0&&(!r||r==="_self")&&!y1(n)}var Fl=null;function w1(){if(Fl===null)try{new FormData(document.createElement("form"),0),Fl=!1}catch{Fl=!0}return Fl}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 "${Ql}"`),null):n}function S1(n,r){let i,l,a,c,f;if(m1(n)){let p=n.getAttribute("action");l=p?tr(p,r):null,i=n.getAttribute("method")||Wl,a=ic(n.getAttribute("enctype"))||Ql,c=new FormData(n)}else if(h1(n)||v1(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(l=h?tr(h,r):null,i=n.getAttribute("formmethod")||p.getAttribute("method")||Wl,a=ic(n.getAttribute("formenctype"))||ic(p.getAttribute("enctype"))||Ql,c=new FormData(p,n),!w1()){let{name:m,type:w,value:x}=n;if(w==="image"){let k=m?`${m}.`:"";c.append(`${k}x`,"0"),c.append(`${k}y`,"0")}else m&&c.append(m,x)}}else{if(la(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Wl,l=null,a=Ql,f=n}return c&&a==="text/plain"&&(f=c,c=void 0),{action:l,method:i.toLowerCase(),encType:a,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 C1(n,r,i,l){let a=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return i?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${l}`:a.pathname=`${a.pathname}.${l}`:a.pathname==="/"?a.pathname=`_root.${l}`:r&&tr(a.pathname,r)==="/"?a.pathname=`${r.replace(/\/$/,"")}/_root.${l}`:a.pathname=`${a.pathname.replace(/\/$/,"")}.${l}`,a}async function k1(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 l=await Promise.all(n.map(async a=>{let c=r.routes[a.route.id];if(c){let f=await k1(c,i);return f.links?f.links():[]}return[]}));return T1(l.flat(1).filter(E1).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function ch(n,r,i,l,a,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=l.routes[h.route.id];if(!w||!w.hasLoader)return!1;if(f(h,m)||p(h,m))return!0;if(h.route.shouldRevalidate){let k=h.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.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 k=="boolean")return k}return!0}):[]}function R1(n,r,{includeHydrateFallback:i}={}){return P1(n.map(l=>{let a=r.routes[l.route.id];if(!a)return[];let c=[a.module];return a.clientActionModule&&(c=c.concat(a.clientActionModule)),a.clientLoaderModule&&(c=c.concat(a.clientLoaderModule)),i&&a.hydrateFallbackModule&&(c=c.concat(a.hydrateFallbackModule)),a.imports&&(c=c.concat(a.imports)),c}).flat(1))}function P1(n){return[...new Set(n)]}function M1(n){let r={},i=Object.keys(n).sort();for(let l of i)r[l]=n[l];return r}function T1(n,r){let i=new Set;return new Set(r),n.reduce((l,a)=>{let c=JSON.stringify(M1(a));return i.has(c)||(i.add(c),l.push({key:c,link:a})),l},[])}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(sa);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),[l,a]=g.useState(!1),[c,f]=g.useState(!1),{onFocus:p,onBlur:h,onMouseEnter:m,onMouseLeave:w,onTouchStart:x}=r,k=g.useRef(null);g.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let S=P=>{P.forEach(T=>{f(T.isIntersecting)})},C=new IntersectionObserver(S,{threshold:.5});return k.current&&C.observe(k.current),()=>{C.disconnect()}}},[n]),g.useEffect(()=>{if(l){let S=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(S)}}},[l]);let y=()=>{a(!0)},O=()=>{a(!1),f(!1)};return i?n!=="intent"?[c,k,{}]:[c,k,{onFocus:is(p,y),onBlur:is(h,O),onMouseEnter:is(m,y),onMouseLeave:is(w,O),onTouchStart:is(x,y)}]:[!1,k,{}]}function is(n,r){return i=>{n&&n(i),i.defaultPrevented||r(i)}}function N1({page:n,...r}){let{router:i}=Om(),l=g.useMemo(()=>vm(i.routes,n,i.basename),[i.routes,n,i.basename]);return l?g.createElement(A1,{page:n,matches:l,...r}):null}function L1(n){let{manifest:r,routeModules:i}=_m(),[l,a]=g.useState([]);return g.useEffect(()=>{let c=!1;return b1(n,r,i).then(f=>{c||a(f)}),()=>{c=!0}},[n,r,i]),l}function A1({page:n,matches:r,...i}){let l=Hr(),{future:a,manifest:c,routeModules:f}=_m(),{basename:p}=Om(),{loaderData:h,matches:m}=O1(),w=g.useMemo(()=>ch(n,r,m,c,l,"data"),[n,r,m,c,l]),x=g.useMemo(()=>ch(n,r,m,c,l,"assets"),[n,r,m,c,l]),k=g.useMemo(()=>{if(n===l.pathname+l.search+l.hash)return[];let S=new Set,C=!1;if(r.forEach(T=>{var L;let R=c.routes[T.route.id];!R||!R.hasLoader||(!w.some(z=>z.route.id===T.route.id)&&T.route.id in h&&((L=f[T.route.id])!=null&&L.shouldRevalidate)||R.hasClientLoader?C=!0:S.add(T.route.id))}),S.size===0)return[];let P=C1(n,p,a.unstable_trailingSlashAwareDataRequests,"data");return C&&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,a.unstable_trailingSlashAwareDataRequests,h,l,c,w,r,n,f]),y=g.useMemo(()=>R1(x,c),[x,c]),O=L1(x);return g.createElement(g.Fragment,null,k.map(S=>g.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...i})),y.map(S=>g.createElement("link",{key:S,rel:"modulepreload",href:S,...i})),O.map(({key:S,link:C})=>g.createElement("link",{key:S,nonce:i.nonce,...C,crossOrigin:C.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 ZC({basename:n,children:r,unstable_useTransitions:i,window:l}){let a=g.useRef();a.current==null&&(a.current=y0({window:l,v5Compat:!0}));let c=a.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:l="none",relative:a,reloadDocument:c,replace:f,state:p,target:h,to:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:k,...y},O){let{basename:S,unstable_useTransitions:C}=g.useContext(Ut),P=typeof m=="string"&&Nm.test(m),T=xm(m,S);m=T.to;let R=X0(m,{relative:a}),[L,z,U]=_1(l,y),H=B1(m,{replace:f,state:p,target:h,preventScrollReset:w,relative:a,viewTransition:x,unstable_defaultShouldRevalidate:k,unstable_useTransitions:C});function q(te){r&&r(te),te.defaultPrevented||H(te)}let Z=g.createElement("a",{...y,...U,href:T.absoluteURL||R,onClick:T.isExternal||c?r:q,ref:I1(O,z),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 F1=g.forwardRef(function({"aria-current":r="page",caseSensitive:i=!1,className:l="",end:a=!1,style:c,to:f,viewTransition:p,children:h,...m},w){let x=ws(f,{relative:m.relative}),k=Hr(),y=g.useContext(sa),{navigator:O,basename:S}=g.useContext(Ut),C=y!=null&&W1(x)&&p===!0,P=O.encodeLocation?O.encodeLocation(x).pathname:x.pathname,T=k.pathname,R=y&&y.navigation&&y.navigation.location?y.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 z=T===P||!a&&T.startsWith(P)&&T.charAt(L)==="/",U=R!=null&&(R===P||!a&&R.startsWith(P)&&R.charAt(P.length)==="/"),H={isActive:z,isPending:U,isTransitioning:C},q=z?r:void 0,Z;typeof l=="function"?Z=l(H):Z=[l,z?"active":null,U?"pending":null,C?"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)});F1.displayName="NavLink";var z1=g.forwardRef(({discover:n="render",fetcherKey:r,navigate:i,reloadDocument:l,replace:a,state:c,method:f=Wl,action:p,onSubmit:h,relative:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:k,...y},O)=>{let{unstable_useTransitions:S}=g.useContext(Ut),C=$1(),P=V1(p,{relative:m}),T=f.toLowerCase()==="get"?"get":"post",R=typeof p=="string"&&Nm.test(p),L=z=>{if(h&&h(z),z.defaultPrevented)return;z.preventDefault();let U=z.nativeEvent.submitter,H=(U==null?void 0:U.getAttribute("formmethod"))||f,q=()=>C(U||z.currentTarget,{fetcherKey:r,method:H,navigate:i,replace:a,state:c,relative:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:k});S&&i!==!1?g.startTransition(()=>q()):q()};return g.createElement("form",{ref:O,method:T,action:P,onSubmit:l?h:L,...y,"data-discover":!R&&n==="render"?"true":void 0})});z1.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:l,preventScrollReset:a,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:h}={}){let m=Rm(),w=Hr(),x=ws(n,{relative:c});return g.useCallback(k=>{if(g1(k,r)){k.preventDefault();let y=i!==void 0?i:cs(w)===cs(x),O=()=>m(n,{replace:y,state:l,preventScrollReset:a,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p});h?g.startTransition(()=>O()):O()}},[w,m,x,i,l,r,n,a,c,f,p,h])}var U1=0,H1=()=>`__${String(++U1)}__`;function $1(){let{router:n}=Am("useSubmit"),{basename:r}=g.useContext(Ut),i=a1(),l=n.fetch,a=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 k=f.fetcherKey||H1();await l(k,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 a(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})},[l,a,r,i])}function V1(n,{relative:r}={}){let{basename:i}=g.useContext(Ut),l=g.useContext(vn);$e(l,"useFormAction must be used inside a RouteContext");let[a]=l.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===".")&&a.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(Cm);$e(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:l}=Am("useViewTransitionState"),a=ws(n,{relative:r});if(!i.isTransitioning)return!1;let c=tr(i.currentLocation.pathname,l)||i.currentLocation.pathname,f=tr(i.nextLocation.pathname,l)||i.nextLocation.pathname;return Xl(a.pathname,f)!=null||Xl(a.pathname,c)!=null}var xs=mm();const Im=pm(xs);var yi=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 vo=typeof window>"u"||"Deno"in globalThis;function Ct(){}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:l,fetchStatus:a,predicate:c,queryKey:f,stale:p}=n;if(f){if(l){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||a&&a!==r.state.fetchStatus||c&&!c(r))}function fh(n,r){const{exact:i,status:l,predicate:a,mutationKey:c}=n;if(c){if(!r.options.mutationKey)return!1;if(i){if(yo(r.options.mutationKey)!==yo(c))return!1}else if(!ds(r.options.mutationKey,c))return!1}return!(l&&r.state.status!==l||a&&!a(r))}function ed(n,r){return((r==null?void 0:r.queryKeyHashFn)||yo)(n)}function yo(n){return JSON.stringify(n,(r,i)=>wc(i)?Object.keys(i).sort().reduce((l,a)=>(l[a]=i[a],l),{}):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 Fm(n,r,i=0){if(n===r)return n;if(i>500)return r;const l=ph(n)&&ph(r);if(!l&&!(wc(n)&&wc(r)))return r;const c=(l?n:Object.keys(n)).length,f=l?r:Object.keys(r),p=f.length,h=l?new Array(p):{};let m=0;for(let w=0;w<p;w++){const x=l?w:f[w],k=n[x],y=r[x];if(k===y){h[x]=k,(l?w<c:G1.call(n,x))&&m++;continue}if(k===null||y===null||typeof k!="object"||typeof y!="object"){h[x]=y;continue}const O=Fm(k,y,i+1);h[x]=O,O===k&&m++}return c===p&&m===c?n:h}function Zl(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?Fm(n,r):r}function Z1(n,r,i=0){const l=[...n,r];return i&&l.length>i?l.slice(1):l}function J1(n,r,i=0){const l=[r,...n];return i&&l.length>i?l.slice(0,-1):l}var td=Symbol();function zm(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 l=!1,a;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(a??(a=r()),l||(l=!0,a.aborted?i():a.addEventListener("abort",i,{once:!0})),a)}),n}var so,_r,ti,rm,tw=(rm=class extends yi{constructor(){super();me(this,so);me(this,_r);me(this,ti);J(this,ti,r=>{if(!vo&&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(l=>{typeof l=="boolean"?this.setFocused(l):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((a,c)=>{n=a,r=c});i.status="pending",i.catch(()=>{});function l(a){Object.assign(i,a),delete i.resolve,delete i.reject}return i.resolve=a=>{l({status:"fulfilled",value:a}),n(a)},i.reject=a=>{l({status:"rejected",reason:a}),r(a)},i}var nw=q1;function rw(){let n=[],r=0,i=p=>{p()},l=p=>{p()},a=nw;const c=p=>{r?n.push(p):a(()=>{i(p)})},f=()=>{const p=n;n=[],p.length&&a(()=>{l(()=>{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=>{l=p},setScheduler:p=>{a=p}}}var nt=rw(),ni,Nr,ri,om,ow=(om=class extends yi{constructor(){super();me(this,ni,!0);me(this,Nr);me(this,ri);J(this,ri,r=>{if(!vo&&window.addEventListener){const i=()=>r(!0),l=()=>r(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",l,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",l)}}})}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(l=>{l(r)}))}isOnline(){return b(this,ni)}},ni=new WeakMap,Nr=new WeakMap,ri=new WeakMap,om),Jl=new ow;function iw(n){return Math.min(1e3*2**n,3e4)}function jm(n){return(n??"online")==="online"?Jl.isOnline():!0}var Cc=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,l;const a=Sc(),c=()=>a.status!=="pending",f=S=>{var C;if(!c()){const P=new Cc(S);k(P),(C=n.onCancel)==null||C.call(n,P)}},p=()=>{r=!0},h=()=>{r=!1},m=()=>rd.isFocused()&&(n.networkMode==="always"||Jl.isOnline())&&n.canRun(),w=()=>jm(n.networkMode)&&n.canRun(),x=S=>{c()||(l==null||l(),a.resolve(S))},k=S=>{c()||(l==null||l(),a.reject(S))},y=()=>new Promise(S=>{var C;l=P=>{(c()||m())&&S(P)},(C=n.onPause)==null||C.call(n)}).then(()=>{var S;l=void 0,c()||(S=n.onContinue)==null||S.call(n)}),O=()=>{if(c())return;let S;const C=i===0?n.initialPromise:void 0;try{S=C??n.fn()}catch(P){S=Promise.reject(P)}Promise.resolve(S).then(x).catch(P=>{var U;if(c())return;const T=n.retry??(vo?0:3),R=n.retryDelay??iw,L=typeof R=="function"?R(i,P):R,z=T===!0||typeof T=="number"&&i<T||typeof T=="function"&&T(i,P);if(r||!z){k(P);return}i++,(U=n.onFail)==null||U.call(n,i,P),X1(L).then(()=>m()?void 0:y()).then(()=>{r?k(P):O()})})};return{promise:a,status:()=>a.status,cancel:f,continue:()=>(l==null||l(),a),cancelRetry:p,continueRetry:h,canStart:w,start:()=>(w()?O():y().then(O),a)}}var lo,im,Um=(im=class{constructor(){me(this,lo)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),gc(this.gcTime)&&J(this,lo,io.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(vo?1/0:300*1e3))}clearGcTimeout(){b(this,lo)&&(io.clearTimeout(b(this,lo)),J(this,lo,void 0))}},lo=new WeakMap,im),ao,oi,Yt,uo,st,ps,co,dn,qn,sm,sw=(sm=class extends Um{constructor(r){super();me(this,dn);me(this,ao);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,ao,vh(this.options)),this.state=r.state??b(this,ao),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=vh(this.options);i.data!==void 0&&(this.setState(mh(i.data,i.dataUpdatedAt)),J(this,ao,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&b(this,Yt).remove(this)}setData(r,i){const l=xc(this.state.data,r,this.options);return Pe(this,dn,qn).call(this,{data:l,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),l}setState(r,i){Pe(this,dn,qn).call(this,{type:"setState",state:r,setStateOptions:i})}cancel(r){var l,a;const i=(l=b(this,st))==null?void 0:l.promise;return(a=b(this,st))==null||a.cancel(r),i?i.then(Ct).catch(Ct):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(b(this,ao))}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(l=>l.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(i=b(this,st))==null||i.continue()}onOnline(){var i;const r=this.observers.find(l=>l.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,k,y,O,S,C,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(z=>z.options.queryFn);L&&this.setOptions(L.options)}const l=new AbortController,a=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>(J(this,co,!0),l.signal)})},c=()=>{const L=zm(this.options,i),U=(()=>{const H={client:b(this,uo),queryKey:this.queryKey,meta:this.meta};return a(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 a(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 Cc&&L.revert&&this.setState({...b(this,oi),fetchStatus:"idle"}),l.abort()},onFail:(L,z)=>{Pe(this,dn,qn).call(this,{type:"failed",failureCount:L,error:z})},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),(y=(k=b(this,Yt).config).onSuccess)==null||y.call(k,L,this),(S=(O=b(this,Yt).config).onSettled)==null||S.call(O,L,this.state.error,this),L}catch(L){if(L instanceof Cc){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=(C=b(this,Yt).config).onError)==null||P.call(C,L,this),(R=(T=b(this,Yt).config).onSettled)==null||R.call(T,this.state.data,L,this),L}finally{this.scheduleGc()}}},ao=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=l=>{switch(r.type){case"failed":return{...l,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...l,fetchStatus:"paused"};case"continue":return{...l,fetchStatus:"fetching"};case"fetch":return{...l,...Hm(l.data,this.options),fetchMeta:r.meta??null};case"success":const a={...l,...mh(r.data,r.dataUpdatedAt),dataUpdateCount:l.dataUpdateCount+1,...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return J(this,oi,r.manual?a:void 0),a;case"error":const c=r.error;return{...l,error:c,errorUpdateCount:l.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:l.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...l,isInvalidated:!0};case"setState":return{...l,...r.state}}};this.state=i(this.state),nt.batch(()=>{this.observers.forEach(l=>{l.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 vh(n){const r=typeof n.initialData=="function"?n.initialData():n.initialData,i=r!==void 0,l=i?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:i?l??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,li,po,ho,Ar,ai,Ie,as,kc,Ec,bc,Rc,Pc,Mc,Tc,$m,lm,lw=(lm=class extends yi{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,li);me(this,po);me(this,ho);me(this,Ar);me(this,ai,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),yh(b(this,_e),this.options)?Pe(this,Ie,as).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,l=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&&!Zl(this.options,i)&&b(this,_t).getQueryCache().notify({type:"observerOptionsUpdated",query:b(this,_e),observer:this});const a=this.hasListeners();a&&gh(b(this,_e),l,this.options,i)&&Pe(this,Ie,as).call(this),this.updateResult(),a&&(b(this,_e)!==l||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,kc).call(this);const c=Pe(this,Ie,Ec).call(this);a&&(b(this,_e)!==l||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),l=this.createResult(i,r);return uw(this,l)&&(J(this,St,l),J(this,ii,this.options),J(this,fo,b(this,_e).state)),l}getCurrentResult(){return b(this,St)}trackResult(r,i){return new Proxy(r,{get:(l,a)=>(this.trackProp(a),i==null||i(a),a==="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(l,a))})}trackProp(r){b(this,ai).add(r)}getCurrentQuery(){return b(this,_e)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const i=b(this,_t).defaultQueryOptions(r),l=b(this,_t).getQueryCache().build(b(this,_t),i);return l.fetch().then(()=>this.createResult(l,i))}fetch(r){return Pe(this,Ie,as).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),b(this,St)))}createResult(r,i){var Z;const l=b(this,_e),a=this.options,c=b(this,St),f=b(this,fo),p=b(this,ii),m=r!==l?r.state:b(this,hs),{state:w}=r;let x={...w},k=!1,y;if(i._optimisticResults){const te=this.hasListeners(),he=!te&&yh(r,i),X=te&&gh(r,l,i,a);(he||X)&&(x={...x,...Hm(w.data,r.options)}),i._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:O,errorUpdatedAt:S,status:C}=x;y=x.data;let P=!1;if(i.placeholderData!==void 0&&y===void 0&&C==="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,li))==null?void 0:Z.state.data,b(this,li)):i.placeholderData,te!==void 0&&(C="success",y=xc(c==null?void 0:c.data,te,i),k=!0)}if(i.select&&y!==void 0&&!P)if(c&&y===(f==null?void 0:f.data)&&i.select===b(this,ms))y=b(this,si);else try{J(this,ms,i.select),y=i.select(y),y=xc(c==null?void 0:c.data,y,i),J(this,si,y),J(this,Lr,null)}catch(te){J(this,Lr,te)}b(this,Lr)&&(O=b(this,Lr),y=b(this,si),S=Date.now(),C="error");const T=x.fetchStatus==="fetching",R=C==="pending",L=C==="error",z=R&&T,U=y!==void 0,q={status:C,fetchStatus:x.fetchStatus,isPending:R,isSuccess:C==="success",isError:L,isInitialLoading:z,isLoading:z,data:y,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:k,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)},ye=()=>{const xe=J(this,Yn,q.promise=Sc());X(xe)},ce=b(this,Yn);switch(ce.status){case"pending":r.queryHash===l.queryHash&&X(ce);break;case"fulfilled":(he||q.data!==ce.value)&&ye();break;case"rejected":(!he||q.error!==ce.reason)&&ye();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,li,b(this,_e)),Zl(i,r))return;J(this,St,i);const l=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,c=typeof a=="function"?a():a;if(c==="all"||!c&&!b(this,ai).size)return!0;const f=new Set(c??b(this,ai));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:l()})}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,li=new WeakMap,po=new WeakMap,ho=new WeakMap,Ar=new WeakMap,ai=new WeakMap,Ie=new WeakSet,as=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(Ct)),i},kc=function(){Pe(this,Ie,Pc).call(this);const r=jr(this.options.staleTime,b(this,_e));if(vo||b(this,St).isStale||!gc(r))return;const l=Dm(b(this,St).dataUpdatedAt,r)+1;J(this,po,io.setTimeout(()=>{b(this,St).isStale||this.updateResult()},l))},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),!(vo||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,as).call(this)},b(this,Ar)))},Rc=function(){Pe(this,Ie,kc).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"})})},lm);function aw(n,r){return Gt(r.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&r.retryOnMount===!1)}function yh(n,r){return aw(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 l=typeof i=="function"?i(n):i;return l==="always"||l!==!1&&od(n,r)}return!1}function gh(n,r,i,l){return(n!==r||Gt(l.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!Zl(n.getCurrentResult(),r)}function wh(n){return{onFetch:(r,i)=>{var w,x,k,y,O;const l=r.options,a=(k=(x=(w=r.fetchOptions)==null?void 0:w.meta)==null?void 0:x.fetchMore)==null?void 0:k.direction,c=((y=r.state.data)==null?void 0:y.pages)||[],f=((O=r.state.data)==null?void 0:O.pageParams)||[];let p={pages:[],pageParams:[]},h=0;const m=async()=>{let S=!1;const C=R=>{ew(R,()=>r.signal,()=>S=!0)},P=zm(r.options,r.fetchOptions),T=async(R,L,z)=>{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:z?"backward":"forward",meta:r.options.meta};return C(he),he})(),q=await P(H),{maxPages:Z}=r.options,te=z?J1:Z1;return{pages:te(R.pages,q,Z),pageParams:te(R.pageParams,L,Z)}};if(a&&c.length){const R=a==="backward",L=R?cw:xh,z={pages:c,pageParams:f},U=L(l,z);p=await T(z,U,R)}else{const R=n??c.length;do{const L=h===0?f[0]??l.initialPageParam:xh(l,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,C;return(C=(S=r.options).persister)==null?void 0:C.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 l=r.length-1;return r.length>0?n.getNextPageParam(r[l],r,i[l],i):void 0}function cw(n,{pages:r,pageParams:i}){var l;return r.length>0?(l=n.getPreviousPageParam)==null?void 0:l.call(n,r[0],r,i[0],i):void 0}var vs,On,vt,mo,_n,Mr,am,dw=(am=class extends Um{constructor(r){super();me(this,_n);me(this,vs);me(this,On);me(this,vt);me(this,mo);J(this,vs,r.client),this.mutationId=r.mutationId,J(this,vt,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,vt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){J(this,On,b(this,On).filter(i=>i!==r)),this.scheduleGc(),b(this,vt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){b(this,On).length||(this.state.status==="pending"?this.scheduleGc():b(this,vt).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,k,y,O,S,C,P,T,R,L,z,U,H;const i=()=>{Pe(this,_n,Mr).call(this,{type:"continue"})},l={client:b(this,vs),meta:this.options.meta,mutationKey:this.options.mutationKey};J(this,mo,Bm({fn:()=>this.options.mutationFn?this.options.mutationFn(r,l):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,vt).canRun(this)}));const a=this.state.status==="pending",c=!b(this,mo).canStart();try{if(a)i();else{Pe(this,_n,Mr).call(this,{type:"pending",variables:r,isPaused:c}),b(this,vt).config.onMutate&&await b(this,vt).config.onMutate(r,this,l);const Z=await((p=(f=this.options).onMutate)==null?void 0:p.call(f,r,l));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,vt).config).onSuccess)==null?void 0:m.call(h,q,r,this.state.context,this,l)),await((x=(w=this.options).onSuccess)==null?void 0:x.call(w,q,r,this.state.context,l)),await((y=(k=b(this,vt).config).onSettled)==null?void 0:y.call(k,q,null,this.state.variables,this.state.context,this,l)),await((S=(O=this.options).onSettled)==null?void 0:S.call(O,q,null,r,this.state.context,l)),Pe(this,_n,Mr).call(this,{type:"success",data:q}),q}catch(q){try{await((P=(C=b(this,vt).config).onError)==null?void 0:P.call(C,q,r,this.state.context,this,l))}catch(Z){Promise.reject(Z)}try{await((R=(T=this.options).onError)==null?void 0:R.call(T,q,r,this.state.context,l))}catch(Z){Promise.reject(Z)}try{await((z=(L=b(this,vt).config).onSettled)==null?void 0:z.call(L,void 0,q,this.state.variables,this.state.context,this,l))}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,l))}catch(Z){Promise.reject(Z)}throw Pe(this,_n,Mr).call(this,{type:"error",error:q}),q}finally{b(this,vt).runNext(this)}}},vs=new WeakMap,On=new WeakMap,vt=new WeakMap,mo=new WeakMap,_n=new WeakSet,Mr=function(r){const i=l=>{switch(r.type){case"failed":return{...l,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...l,isPaused:!0};case"continue":return{...l,isPaused:!1};case"pending":return{...l,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{...l,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...l,data:void 0,error:r.error,failureCount:l.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=i(this.state),nt.batch(()=>{b(this,On).forEach(l=>{l.onMutationUpdate(r)}),b(this,vt).notify({mutation:this,type:"updated",action:r})})},am);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,ys,um,fw=(um=class extends yi{constructor(r={}){super();me(this,Gn);me(this,fn);me(this,ys);this.config=r,J(this,Gn,new Set),J(this,fn,new Map),J(this,ys,0)}build(r,i,l){const a=new dw({client:r,mutationCache:this,mutationId:++Il(this,ys)._,options:r.defaultMutationOptions(i),state:l});return this.add(a),a}add(r){b(this,Gn).add(r);const i=zl(r);if(typeof i=="string"){const l=b(this,fn).get(i);l?l.push(r):b(this,fn).set(i,[r])}this.notify({type:"added",mutation:r})}remove(r){if(b(this,Gn).delete(r)){const i=zl(r);if(typeof i=="string"){const l=b(this,fn).get(i);if(l)if(l.length>1){const a=l.indexOf(r);a!==-1&&l.splice(a,1)}else l[0]===r&&b(this,fn).delete(i)}}this.notify({type:"removed",mutation:r})}canRun(r){const i=zl(r);if(typeof i=="string"){const l=b(this,fn).get(i),a=l==null?void 0:l.find(c=>c.state.status==="pending");return!a||a===r}else return!0}runNext(r){var l;const i=zl(r);if(typeof i=="string"){const a=(l=b(this,fn).get(i))==null?void 0:l.find(c=>c!==r&&c.state.isPaused);return(a==null?void 0:a.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(l=>fh(i,l))}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(Ct))))}},Gn=new WeakMap,fn=new WeakMap,ys=new WeakMap,um);function zl(n){var r;return(r=n.options.scope)==null?void 0:r.id}var Xn,Ir,Nt,Zn,er,Kl,_c,cm,pw=(cm=class extends yi{constructor(i,l){super();me(this,er);me(this,Xn);me(this,Ir);me(this,Nt);me(this,Zn);J(this,Xn,i),this.setOptions(l),this.bindMethods(),Pe(this,er,Kl).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(i){var a;const l=this.options;this.options=b(this,Xn).defaultMutationOptions(i),Zl(this.options,l)||b(this,Xn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:b(this,Nt),observer:this}),l!=null&&l.mutationKey&&this.options.mutationKey&&yo(l.mutationKey)!==yo(this.options.mutationKey)?this.reset():((a=b(this,Nt))==null?void 0:a.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,Kl).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,Kl).call(this),Pe(this,er,_c).call(this)}mutate(i,l){var a;return J(this,Zn,l),(a=b(this,Nt))==null||a.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,Kl=function(){var l;const i=((l=b(this,Nt))==null?void 0:l.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 l,a,c,f,p,h,m,w;if(b(this,Zn)&&this.hasListeners()){const x=b(this,Ir).variables,k=b(this,Ir).context,y={client:b(this,Xn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((i==null?void 0:i.type)==="success"){try{(a=(l=b(this,Zn)).onSuccess)==null||a.call(l,i.data,x,k,y)}catch(O){Promise.reject(O)}try{(f=(c=b(this,Zn)).onSettled)==null||f.call(c,i.data,null,x,k,y)}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,k,y)}catch(O){Promise.reject(O)}try{(w=(m=b(this,Zn)).onSettled)==null||w.call(m,void 0,i.error,x,k,y)}catch(O){Promise.reject(O)}}}this.listeners.forEach(x=>{x(b(this,Ir))})})},cm),Nn,dm,hw=(dm=class extends yi{constructor(r={}){super();me(this,Nn);this.config=r,J(this,Nn,new Map)}build(r,i,l){const a=i.queryKey,c=i.queryHash??ed(a,i);let f=this.get(c);return f||(f=new sw({client:r,queryKey:a,queryHash:c,options:r.defaultQueryOptions(i),state:l,defaultOptions:r.getQueryDefaults(a)}),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(l=>dh(i,l))}findAll(r={}){const i=this.getAll();return Object.keys(r).length>0?i.filter(l=>dh(r,l)):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,Fr,ui,ci,zr,di,fi,fm,ek=(fm=class{constructor(n={}){me(this,Ke);me(this,Dr);me(this,Fr);me(this,ui);me(this,ci);me(this,zr);me(this,di);me(this,fi);J(this,Ke,n.queryCache||new hw),J(this,Dr,n.mutationCache||new fw),J(this,Fr,n.defaultOptions||{}),J(this,ui,new Map),J(this,ci,new Map),J(this,zr,0)}mount(){Il(this,zr)._++,b(this,zr)===1&&(J(this,di,rd.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ke).onFocus())})),J(this,fi,Jl.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ke).onOnline())})))}unmount(){var n,r;Il(this,zr)._--,b(this,zr)===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),l=i.state.data;return l===void 0?this.fetchQuery(n):(n.revalidateIfStale&&i.isStaleByTime(jr(r.staleTime,i))&&this.prefetchQuery(r),Promise.resolve(l))}getQueriesData(n){return b(this,Ke).findAll(n).map(({queryKey:r,state:i})=>{const l=i.data;return[r,l]})}setQueryData(n,r,i){const l=this.defaultQueryOptions({queryKey:n}),a=b(this,Ke).get(l.queryHash),c=a==null?void 0:a.state.data,f=Y1(r,c);if(f!==void 0)return b(this,Ke).build(this,l).setData(f,{...i,manual:!0})}setQueriesData(n,r,i){return nt.batch(()=>b(this,Ke).findAll(n).map(({queryKey:l})=>[l,this.setQueryData(l,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(l=>{l.reset()}),this.refetchQueries({type:"active",...n},r)))}cancelQueries(n,r={}){const i={revert:!0,...r},l=nt.batch(()=>b(this,Ke).findAll(n).map(a=>a.cancel(i)));return Promise.all(l).then(Ct).catch(Ct)}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},l=nt.batch(()=>b(this,Ke).findAll(n).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let c=a.fetch(void 0,i);return i.throwOnError||(c=c.catch(Ct)),a.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(l).then(Ct)}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(Ct).catch(Ct)}fetchInfiniteQuery(n){return n.behavior=wh(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(Ct).catch(Ct)}ensureInfiniteQueryData(n){return n.behavior=wh(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return Jl.isOnline()?b(this,Dr).resumePausedMutations():Promise.resolve()}getQueryCache(){return b(this,Ke)}getMutationCache(){return b(this,Dr)}getDefaultOptions(){return b(this,Fr)}setDefaultOptions(n){J(this,Fr,n)}setQueryDefaults(n,r){b(this,ui).set(yo(n),{queryKey:n,defaultOptions:r})}getQueryDefaults(n){const r=[...b(this,ui).values()],i={};return r.forEach(l=>{ds(n,l.queryKey)&&Object.assign(i,l.defaultOptions)}),i}setMutationDefaults(n,r){b(this,ci).set(yo(n),{mutationKey:n,defaultOptions:r})}getMutationDefaults(n){const r=[...b(this,ci).values()],i={};return r.forEach(l=>{ds(n,l.mutationKey)&&Object.assign(i,l.defaultOptions)}),i}defaultQueryOptions(n){if(n._defaulted)return n;const r={...b(this,Fr).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,Fr).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,Fr=new WeakMap,ui=new WeakMap,ci=new WeakMap,zr=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},tk=({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 vw(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var yw=g.createContext(vw()),gw=()=>g.useContext(yw),ww=(n,r,i)=>{const l=i!=null&&i.state.error&&typeof n.throwOnError=="function"?nd(n.throwOnError,[i.state.error,i]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||l)&&(r.isReset()||(n.retryOnMount=!1))},xw=n=>{g.useEffect(()=>{n.clearReset()},[n])},Sw=({result:n,errorResetBoundary:r,throwOnError:i,query:l,suspense:a})=>n.isError&&!r.isReset()&&!n.isFetching&&l&&(a&&n.data===void 0||nd(i,[n.error,l])),Cw=n=>{if(n.suspense){const i=a=>a==="static"?a:Math.max(a??1e3,1e3),l=n.staleTime;n.staleTime=typeof l=="function"?(...a)=>i(l(...a)):i(l),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},kw=(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 k,y,O,S;const l=mw(),a=gw(),c=Qm(),f=c.defaultQueryOptions(n);(y=(k=c.getDefaultOptions().queries)==null?void 0:k._experimental_beforeQuery)==null||y.call(k,f);const p=c.getQueryCache().get(f.queryHash);f._optimisticResults=l?"isRestoring":"optimistic",Cw(f),ww(f,a,p),xw(a);const h=!c.getQueryCache().get(f.queryHash),[m]=g.useState(()=>new r(c,f)),w=m.getOptimisticResult(f),x=!l&&n.subscribed!==!1;if(g.useSyncExternalStore(g.useCallback(C=>{const P=x?m.subscribe(nt.batchCalls(C)):Ct;return m.updateResult(),P},[m,x]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),g.useEffect(()=>{m.setOptions(f)},[f,m]),Ew(f,w))throw Sh(f,m,a);if(Sw({result:w,errorResetBoundary:a,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&&!vo&&kw(w,l)){const C=h?Sh(f,m,a):p==null?void 0:p.promise;C==null||C.catch(Ct).finally(()=>{m.updateResult()})}return f.notifyOnChangeProps?w:m.trackResult(w)}function nk(n,r){return bw(n,lw)}function rk(n,r){const i=Qm(),[l]=g.useState(()=>new pw(i,n));g.useEffect(()=>{l.setOptions(n)},[l,n]);const a=g.useSyncExternalStore(g.useCallback(f=>l.subscribe(nt.batchCalls(f)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),c=g.useCallback((f,p)=>{l.mutate(f,p).catch(Ct)},[l]);if(a.error&&nd(l.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:c,mutateAsync:a.mutate}}function qm(n){var r,i,l="";if(typeof n=="string"||typeof n=="number")l+=n;else if(typeof n=="object")if(Array.isArray(n)){var a=n.length;for(r=0;r<a;r++)n[r]&&(i=qm(n[r]))&&(l&&(l+=" "),l+=i)}else for(i in n)n[i]&&(l&&(l+=" "),l+=i);return l}function Rw(){for(var n,r,i=0,l="",a=arguments.length;i<a;i++)(n=arguments[i])&&(r=qm(n))&&(l&&(l+=" "),l+=r);return l}const Ch=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,kh=Rw,ok=(n,r)=>i=>{var l;if((r==null?void 0:r.variants)==null)return kh(n,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:a,defaultVariants:c}=r,f=Object.keys(a).map(m=>{const w=i==null?void 0:i[m],x=c==null?void 0:c[m];if(w===null)return null;const k=Ch(w)||Ch(x);return a[m][k]}),p=i&&Object.entries(i).reduce((m,w)=>{let[x,k]=w;return k===void 0||(m[x]=k),m},{}),h=r==null||(l=r.compoundVariants)===null||l===void 0?void 0:l.reduce((m,w)=>{let{class:x,className:k,...y}=w;return Object.entries(y).every(O=>{let[S,C]=O;return Array.isArray(C)?C.includes({...c,...p}[S]):{...c,...p}[S]===C})?[...m,x,k]:m},[]);return kh(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:l}=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&&l[f]?[...h,...l[f]]:h}}},Ym=(n,r)=>{var f;if(n.length===0)return r.classGroupId;const i=n[0],l=r.nextPart.get(i),a=l?Ym(n.slice(1),l):void 0;if(a)return a;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,l={nextPart:new Map,validators:[]};return _w(Object.entries(n.classGroups),i).forEach(([c,f])=>{Nc(f,l,c,r)}),l},Nc=(n,r,i,l)=>{n.forEach(a=>{if(typeof a=="string"){const c=a===""?r:bh(r,a);c.classGroupId=i;return}if(typeof a=="function"){if(Ow(a)){Nc(a(l),r,i,l);return}r.validators.push({validator:a,classGroupId:i});return}Object.entries(a).forEach(([c,f])=>{Nc(f,bh(r,c),i,l)})})},bh=(n,r)=>{let i=n;return r.split(id).forEach(l=>{i.nextPart.has(l)||i.nextPart.set(l,{nextPart:new Map,validators:[]}),i=i.nextPart.get(l)}),i},Ow=n=>n.isThemeGetter,_w=(n,r)=>r?n.map(([i,l])=>{const a=l.map(c=>typeof c=="string"?r+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([f,p])=>[r+f,p])):c);return[i,a]}):n,Nw=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,i=new Map,l=new Map;const a=(c,f)=>{i.set(c,f),r++,r>n&&(r=0,l=i,i=new Map)};return{get(c){let f=i.get(c);if(f!==void 0)return f;if((f=l.get(c))!==void 0)return a(c,f),f},set(c,f){i.has(c)?i.set(c,f):a(c,f)}}},Gm="!",Lw=n=>{const{separator:r,experimentalParseClassName:i}=n,l=r.length===1,a=r[0],c=r.length,f=p=>{const h=[];let m=0,w=0,x;for(let C=0;C<p.length;C++){let P=p[C];if(m===0){if(P===a&&(l||p.slice(C,C+c)===r)){h.push(p.slice(w,C)),w=C+c;continue}if(P==="/"){x=C;continue}}P==="["?m++:P==="]"&&m--}const k=h.length===0?p:p.substring(w),y=k.startsWith(Gm),O=y?k.substring(1):k,S=x&&x>w?x-w:void 0;return{modifiers:h,hasImportantModifier:y,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(l=>{l[0]==="["?(r.push(...i.sort(),l),i=[]):i.push(l)}),r.push(...i.sort()),r},Iw=n=>({cache:Nw(n.cacheSize),parseClassName:Lw(n),...Pw(n)}),Dw=/\s+/,Fw=(n,r)=>{const{parseClassName:i,getClassGroupId:l,getConflictingClassGroupIds:a}=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:k,maybePostfixModifierPosition:y}=i(m);let O=!!y,S=l(O?k.substring(0,y):k);if(!S){if(!O){p=m+(p.length>0?" "+p:p);continue}if(S=l(k),!S){p=m+(p.length>0?" "+p:p);continue}O=!1}const C=Aw(w).join(":"),P=x?C+Gm:C,T=P+S;if(c.includes(T))continue;c.push(T);const R=a(S,O);for(let L=0;L<R.length;++L){const z=R[L];c.push(P+z)}p=m+(p.length>0?" "+p:p)}return p};function zw(){let n=0,r,i,l="";for(;n<arguments.length;)(r=arguments[n++])&&(i=Xm(r))&&(l&&(l+=" "),l+=i);return l}const Xm=n=>{if(typeof n=="string")return n;let r,i="";for(let l=0;l<n.length;l++)n[l]&&(r=Xm(n[l]))&&(i&&(i+=" "),i+=r);return i};function jw(n,...r){let i,l,a,c=f;function f(h){const m=r.reduce((w,x)=>x(w),n());return i=Iw(m),l=i.cache.get,a=i.cache.set,c=p,p(h)}function p(h){const m=l(h);if(m)return m;const w=Fw(h,i);return a(h,w),w}return function(){return c(zw.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),ls=()=>!0,gi=(n,r,i)=>{const l=Zm.exec(n);return l?l[1]?typeof r=="string"?l[1]===r:r.has(l[1]):i(l[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"),l=Ue("brightness"),a=Ue("borderColor"),c=Ue("borderRadius"),f=Ue("borderSpacing"),p=Ue("borderWidth"),h=Ue("contrast"),m=Ue("grayscale"),w=Ue("hueRotate"),x=Ue("invert"),k=Ue("gap"),y=Ue("gradientColorStops"),O=Ue("gradientColorStopPositions"),S=Ue("inset"),C=Ue("margin"),P=Ue("opacity"),T=Ue("padding"),R=Ue("saturate"),L=Ue("scale"),z=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],ye=()=>["",Kn,Rr],ce=()=>["auto",Zo,Re],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ae=()=>["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:[ls],spacing:[Kn,Rr],blur:["none","",Pr,Re],brightness:_(),borderColor:[n],borderRadius:["none","","full",Pr,Re],borderSpacing:X(),borderWidth:ye(),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":[ls]}],"col-start-end":[{col:["auto",{span:["full",ss,Re]},Re]}],"col-start":[{"col-start":ce()}],"col-end":[{"col-end":ce()}],"grid-rows":[{"grid-rows":[ls]}],"row-start-end":[{row:["auto",{span:[ss,Re]},Re]}],"row-start":[{"row-start":ce()}],"row-end":[{"row-end":ce()}],"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:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"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:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"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:[ls]}],"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:[...ae(),"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:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],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:[...ae(),"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:ae()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...ae()]}],"outline-offset":[{"outline-offset":[Kn,Re]}],"outline-w":[{outline:[Kn,Rr]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:ye()}],"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:[ls]}],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:[l]}],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:[z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[l]}],"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":[z]}],"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"]}}},ik=jw(rx);var ox=n=>{switch(n){case"success":return lx;case"info":return ux;case"warning":return ax;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,l)=>G.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${l}`})))),lx=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"})),ax=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,...l}=n,a=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===a),f=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),c?this.toasts=this.toasts.map(p=>p.id===a?(this.publish({...p,...n,id:a,title:i}),{...p,...n,id:a,dismissible:f,title:i}):p):this.addToast({title:i,...l,dismissible:f,id:a}),a},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 l=n instanceof Promise?n:n(),a=i!==void 0,c,f=l.then(async h=>{if(c=["resolve",h],G.isValidElement(h))a=!1,this.create({id:i,type:"default",message:h});else if(mx(h)&&!h.ok){a=!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){a=!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){a=!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;a&&(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",vx=hx,yx=()=>Lt.toasts,gx=()=>Lt.getActiveToasts(),sk=Object.assign(vx,{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:yx,getToasts:gx});function wx(n,{insertAt:r}={}){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css",r==="top"&&i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l),l.styleSheet?l.styleSheet.cssText=n:l.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 jl(n){return n.label!==void 0}var xx=3,Sx="32px",Cx="16px",Rh=4e3,kx=356,Ex=14,bx=20,Rx=200;function un(...n){return n.filter(Boolean).join(" ")}function Px(n){let[r,i]=n.split("-"),l=[];return r&&l.push(r),i&&l.push(i),l}var Mx=n=>{var r,i,l,a,c,f,p,h,m,w,x;let{invert:k,toast:y,unstyled:O,interacting:S,setHeights:C,visibleToasts:P,heights:T,index:R,toasts:L,expanded:z,removeToast:U,defaultRichColors:H,closeButton:q,style:Z,cancelButtonStyle:te,actionButtonStyle:he,className:X="",descriptionClassName:ye="",duration:ce,position:xe,gap:ae,loadingIcon:ie,expandByDefault:j,classNames:B,icons:W,closeButtonAriaLabel:_="Close toast",pauseWhenPageIsHidden:F}=n,[ne,re]=G.useState(null),[ve,Se]=G.useState(null),[K,fe]=G.useState(!1),[Ce,be]=G.useState(!1),[Me,Oe]=G.useState(!1),[qe,dt]=G.useState(!1),[yn,Xt]=G.useState(!1),[Zt,or]=G.useState(0),[gn,ir]=G.useState(0),Ht=G.useRef(y.duration||ce||Rh),Co=G.useRef(null),wn=G.useRef(null),Cs=R===0,ks=R+1<=P,yt=y.type,xn=y.dismissible!==!1,ko=y.className||"",Es=y.descriptionClassName||"",Sn=G.useMemo(()=>T.findIndex(Ee=>Ee.toastId===y.id)||0,[T,y.id]),Wr=G.useMemo(()=>{var Ee;return(Ee=y.closeButton)!=null?Ee:q},[y.closeButton,q]),bs=G.useMemo(()=>y.duration||ce||Rh,[y.duration,ce]),Eo=G.useRef(0),zn=G.useRef(0),Rs=G.useRef(0),Cn=G.useRef(null),[Ci,ki]=xe.split("-"),bo=G.useMemo(()=>T.reduce((Ee,Ae,Fe)=>Fe>=Sn?Ee:Ee+Ae.height,0),[T,Sn]),Ro=fx(),sr=y.invert||k,kn=yt==="loading";zn.current=G.useMemo(()=>Sn*ae+bo,[Sn,bo]),G.useEffect(()=>{Ht.current=bs},[bs]),G.useEffect(()=>{fe(!0)},[]),G.useEffect(()=>{let Ee=wn.current;if(Ee){let Ae=Ee.getBoundingClientRect().height;return ir(Ae),C(Fe=>[{toastId:y.id,height:Ae,position:y.position},...Fe]),()=>C(Fe=>Fe.filter(gt=>gt.toastId!==y.id))}},[C,y.id]),G.useLayoutEffect(()=>{if(!K)return;let Ee=wn.current,Ae=Ee.style.height;Ee.style.height="auto";let Fe=Ee.getBoundingClientRect().height;Ee.style.height=Ae,ir(Fe),C(gt=>gt.find(kt=>kt.toastId===y.id)?gt.map(kt=>kt.toastId===y.id?{...kt,height:Fe}:kt):[{toastId:y.id,height:Fe,position:y.position},...gt])},[K,y.title,y.description,C,y.id]);let Jt=G.useCallback(()=>{be(!0),or(zn.current),C(Ee=>Ee.filter(Ae=>Ae.toastId!==y.id)),setTimeout(()=>{U(y)},Rx)},[y,U,C,zn]);G.useEffect(()=>{if(y.promise&&yt==="loading"||y.duration===1/0||y.type==="loading")return;let Ee;return z||S||F&&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=y.onAutoClose)==null||Ae.call(y,y),Jt()},Ht.current)),()=>clearTimeout(Ee)},[z,S,y,yt,F,Ro,Jt]),G.useEffect(()=>{y.delete&&Jt()},[Jt,y.delete]);function Ps(){var Ee,Ae,Fe;return W!=null&&W.loading?G.createElement("div",{className:un(B==null?void 0:B.loader,(Ee=y==null?void 0:y.classNames)==null?void 0:Ee.loader,"sonner-loader"),"data-visible":yt==="loading"},W.loading):ie?G.createElement("div",{className:un(B==null?void 0:B.loader,(Ae=y==null?void 0:y.classNames)==null?void 0:Ae.loader,"sonner-loader"),"data-visible":yt==="loading"},ie):G.createElement(sx,{className:un(B==null?void 0:B.loader,(Fe=y==null?void 0:y.classNames)==null?void 0:Fe.loader),visible:yt==="loading"})}return G.createElement("li",{tabIndex:0,ref:wn,className:un(X,ko,B==null?void 0:B.toast,(r=y==null?void 0:y.classNames)==null?void 0:r.toast,B==null?void 0:B.default,B==null?void 0:B[yt],(i=y==null?void 0:y.classNames)==null?void 0:i[yt]),"data-sonner-toast":"","data-rich-colors":(l=y.richColors)!=null?l:H,"data-styled":!(y.jsx||y.unstyled||O),"data-mounted":K,"data-promise":!!y.promise,"data-swiped":yn,"data-removed":Ce,"data-visible":ks,"data-y-position":Ci,"data-x-position":ki,"data-index":R,"data-front":Cs,"data-swiping":Me,"data-dismissible":xn,"data-type":yt,"data-invert":sr,"data-swipe-out":qe,"data-swipe-direction":ve,"data-expanded":!!(z||j&&K),style:{"--index":R,"--toasts-before":R,"--z-index":L.length-R,"--offset":`${Ce?Zt:zn.current}px`,"--initial-height":j?"auto":`${gn}px`,...Z,...y.style},onDragEnd:()=>{Oe(!1),re(null),Cn.current=null},onPointerDown:Ee=>{kn||!xn||(Co.current=new Date,or(zn.current),Ee.target.setPointerCapture(Ee.pointerId),Ee.target.tagName!=="BUTTON"&&(Oe(!0),Cn.current={x:Ee.clientX,y:Ee.clientY}))},onPointerUp:()=>{var Ee,Ae,Fe,gt;if(qe||!xn)return;Cn.current=null;let kt=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()-((Fe=Co.current)==null?void 0:Fe.getTime()),lt=ne==="x"?kt:Et,En=Math.abs(lt)/en;if(Math.abs(lt)>=bx||En>.11){or(zn.current),(gt=y.onDismiss)==null||gt.call(y,y),Se(ne==="x"?kt>0?"right":"left":Et>0?"down":"up"),Jt(),dt(!0),Xt(!1);return}Oe(!1),re(null)},onPointerMove:Ee=>{var Ae,Fe,gt,kt;if(!Cn.current||!xn||((Ae=window.getSelection())==null?void 0:Ae.toString().length)>0)return;let Et=Ee.clientY-Cn.current.y,en=Ee.clientX-Cn.current.x,lt=(Fe=n.swipeDirections)!=null?Fe: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"?(lt.includes("top")||lt.includes("bottom"))&&(lt.includes("top")&&Et<0||lt.includes("bottom")&&Et>0)&&(En.y=Et):ne==="x"&&(lt.includes("left")||lt.includes("right"))&&(lt.includes("left")&&en<0||lt.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`),(kt=wn.current)==null||kt.style.setProperty("--swipe-amount-y",`${En.y}px`)}},Wr&&!y.jsx?G.createElement("button",{"aria-label":_,"data-disabled":kn,"data-close-button":!0,onClick:kn||!xn?()=>{}:()=>{var Ee;Jt(),(Ee=y.onDismiss)==null||Ee.call(y,y)},className:un(B==null?void 0:B.closeButton,(a=y==null?void 0:y.classNames)==null?void 0:a.closeButton)},(c=W==null?void 0:W.close)!=null?c:dx):null,y.jsx||g.isValidElement(y.title)?y.jsx?y.jsx:typeof y.title=="function"?y.title():y.title:G.createElement(G.Fragment,null,yt||y.icon||y.promise?G.createElement("div",{"data-icon":"",className:un(B==null?void 0:B.icon,(f=y==null?void 0:y.classNames)==null?void 0:f.icon)},y.promise||y.type==="loading"&&!y.icon?y.icon||Ps():null,y.type!=="loading"?y.icon||(W==null?void 0:W[yt])||ox(yt):null):null,G.createElement("div",{"data-content":"",className:un(B==null?void 0:B.content,(p=y==null?void 0:y.classNames)==null?void 0:p.content)},G.createElement("div",{"data-title":"",className:un(B==null?void 0:B.title,(h=y==null?void 0:y.classNames)==null?void 0:h.title)},typeof y.title=="function"?y.title():y.title),y.description?G.createElement("div",{"data-description":"",className:un(ye,Es,B==null?void 0:B.description,(m=y==null?void 0:y.classNames)==null?void 0:m.description)},typeof y.description=="function"?y.description():y.description):null),g.isValidElement(y.cancel)?y.cancel:y.cancel&&jl(y.cancel)?G.createElement("button",{"data-button":!0,"data-cancel":!0,style:y.cancelButtonStyle||te,onClick:Ee=>{var Ae,Fe;jl(y.cancel)&&xn&&((Fe=(Ae=y.cancel).onClick)==null||Fe.call(Ae,Ee),Jt())},className:un(B==null?void 0:B.cancelButton,(w=y==null?void 0:y.classNames)==null?void 0:w.cancelButton)},y.cancel.label):null,g.isValidElement(y.action)?y.action:y.action&&jl(y.action)?G.createElement("button",{"data-button":!0,"data-action":!0,style:y.actionButtonStyle||he,onClick:Ee=>{var Ae,Fe;jl(y.action)&&((Fe=(Ae=y.action).onClick)==null||Fe.call(Ae,Ee),!Ee.defaultPrevented&&Jt())},className:un(B==null?void 0:B.actionButton,(x=y==null?void 0:y.classNames)==null?void 0:x.actionButton)},y.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((l,a)=>{let c=a===1,f=c?"--mobile-offset":"--offset",p=c?Cx:Sx;function h(m){["top","right","bottom","left"].forEach(w=>{i[`${f}-${w}`]=typeof m=="number"?`${m}px`:m})}typeof l=="number"||typeof l=="string"?h(l):typeof l=="object"?["top","right","bottom","left"].forEach(m=>{l[m]===void 0?i[`${f}-${m}`]=p:i[`${f}-${m}`]=typeof l[m]=="number"?`${l[m]}px`:l[m]}):h(p)}),i}var lk=g.forwardRef(function(n,r){let{invert:i,position:l="bottom-right",hotkey:a=["altKey","KeyT"],expand:c,closeButton:f,className:p,offset:h,mobileOffset:m,theme:w="light",richColors:x,duration:k,style:y,visibleToasts:O=xx,toastOptions:S,dir:C=Ph(),gap:P=Ex,loadingIcon:T,icons:R,containerAriaLabel:L="Notifications",pauseWhenPageIsHidden:z}=n,[U,H]=G.useState([]),q=G.useMemo(()=>Array.from(new Set([l].concat(U.filter(F=>F.position).map(F=>F.position)))),[U,l]),[Z,te]=G.useState([]),[he,X]=G.useState(!1),[ye,ce]=G.useState(!1),[xe,ae]=G.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ie=G.useRef(null),j=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=G.useRef(null),W=G.useRef(!1),_=G.useCallback(F=>{H(ne=>{var re;return(re=ne.find(ve=>ve.id===F.id))!=null&&re.delete||Lt.dismiss(F.id),ne.filter(({id:ve})=>ve!==F.id)})},[]);return G.useEffect(()=>Lt.subscribe(F=>{if(F.dismiss){H(ne=>ne.map(re=>re.id===F.id?{...re,delete:!0}:re));return}setTimeout(()=>{Im.flushSync(()=>{H(ne=>{let re=ne.findIndex(ve=>ve.id===F.id);return re!==-1?[...ne.slice(0,re),{...ne[re],...F},...ne.slice(re+1)]:[F,...ne]})})})}),[]),G.useEffect(()=>{if(w!=="system"){ae(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ae("dark"):ae("light")),typeof window>"u")return;let F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:ne})=>{ae(ne?"dark":"light")})}catch{F.addListener(({matches:re})=>{try{ae(re?"dark":"light")}catch(ve){console.error(ve)}})}},[w]),G.useEffect(()=>{U.length<=1&&X(!1)},[U]),G.useEffect(()=>{let F=ne=>{var re,ve;a.every(Se=>ne[Se]||ne.code===Se)&&(X(!0),(re=ie.current)==null||re.focus()),ne.code==="Escape"&&(document.activeElement===ie.current||(ve=ie.current)!=null&&ve.contains(document.activeElement))&&X(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[a]),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((F,ne)=>{var re;let[ve,Se]=F.split("-");return U.length?G.createElement("ol",{key:F,dir:C==="auto"?Ph():C,tabIndex:-1,ref:ie,className:p,"data-sonner-toaster":!0,"data-theme":xe,"data-y-position":ve,"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":`${kx}px`,"--gap":`${P}px`,...y,...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:()=>{ye||X(!1)},onDragEnd:()=>X(!1),onPointerDown:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||ce(!0)},onPointerUp:()=>ce(!1)},U.filter(K=>!K.position&&ne===0||K.position===F).map((K,fe)=>{var Ce,be;return G.createElement(Mx,{key:K.id,icons:R,index:fe,toast:K,defaultRichColors:x,duration:(Ce=S==null?void 0:S.duration)!=null?Ce:k,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:ye,position:F,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:z,swipeDirections:n.swipeDirections})})):null}))});/**
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
53
  * @license lucide-react v0.462.0 - ISC
54
54
  *
55
55
  * This source code is licensed under the ISC license.
56
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(),ev=(...n)=>n.filter((r,i,l)=>!!r&&r.trim()!==""&&l.indexOf(r)===i).join(" ").trim();/**
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
58
  * @license lucide-react v0.462.0 - ISC
59
59
  *
60
60
  * This source code is licensed under the ISC license.
@@ -64,344 +64,379 @@ Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}
64
64
  *
65
65
  * This source code is licensed under the ISC license.
66
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:l,className:a="",children:c,iconNode:f,...p},h)=>g.createElement("svg",{ref:h,..._x,width:r,height:r,stroke:n,strokeWidth:l?Number(i)*24/Number(r):i,className:ev("lucide",a),...p},[...f.map(([m,w])=>g.createElement(m,w)),...Array.isArray(c)?c:[c]]));/**
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
68
  * @license lucide-react v0.462.0 - ISC
69
69
  *
70
70
  * This source code is licensed under the ISC license.
71
71
  * See the LICENSE file in the root directory of this source tree.
72
- */const pe=(n,r)=>{const i=g.forwardRef(({className:l,...a},c)=>g.createElement(Nx,{ref:c,iconNode:r,className:ev(`lucide-${Ox(n)}`,l),...a}));return i.displayName=`${n}`,i};/**
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
73
  * @license lucide-react v0.462.0 - ISC
74
74
  *
75
75
  * This source code is licensed under the ISC license.
76
76
  * See the LICENSE file in the root directory of this source tree.
77
- */const ak=pe("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"}]]);/**
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
78
  * @license lucide-react v0.462.0 - ISC
79
79
  *
80
80
  * This source code is licensed under the ISC license.
81
81
  * See the LICENSE file in the root directory of this source tree.
82
- */const uk=pe("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
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
83
  * @license lucide-react v0.462.0 - ISC
84
84
  *
85
85
  * This source code is licensed under the ISC license.
86
86
  * See the LICENSE file in the root directory of this source tree.
87
- */const ck=pe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
87
+ */const cC=ae("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
88
88
  * @license lucide-react v0.462.0 - ISC
89
89
  *
90
90
  * This source code is licensed under the ISC license.
91
91
  * See the LICENSE file in the root directory of this source tree.
92
- */const dk=pe("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
92
+ */const dC=ae("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
93
93
  * @license lucide-react v0.462.0 - ISC
94
94
  *
95
95
  * This source code is licensed under the ISC license.
96
96
  * See the LICENSE file in the root directory of this source tree.
97
- */const fk=pe("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"}]]);/**
97
+ */const fC=ae("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
98
98
  * @license lucide-react v0.462.0 - ISC
99
99
  *
100
100
  * This source code is licensed under the ISC license.
101
101
  * See the LICENSE file in the root directory of this source tree.
102
- */const pk=pe("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"}]]);/**
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
103
  * @license lucide-react v0.462.0 - ISC
104
104
  *
105
105
  * This source code is licensed under the ISC license.
106
106
  * See the LICENSE file in the root directory of this source tree.
107
- */const hk=pe("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"}]]);/**
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
108
  * @license lucide-react v0.462.0 - ISC
109
109
  *
110
110
  * This source code is licensed under the ISC license.
111
111
  * See the LICENSE file in the root directory of this source tree.
112
- */const mk=pe("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"}]]);/**
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
113
  * @license lucide-react v0.462.0 - ISC
114
114
  *
115
115
  * This source code is licensed under the ISC license.
116
116
  * See the LICENSE file in the root directory of this source tree.
117
- */const vk=pe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
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
118
  * @license lucide-react v0.462.0 - ISC
119
119
  *
120
120
  * This source code is licensed under the ISC license.
121
121
  * See the LICENSE file in the root directory of this source tree.
122
- */const yk=pe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
122
+ */const vC=ae("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
123
123
  * @license lucide-react v0.462.0 - ISC
124
124
  *
125
125
  * This source code is licensed under the ISC license.
126
126
  * See the LICENSE file in the root directory of this source tree.
127
- */const gk=pe("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
127
+ */const gC=ae("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
128
128
  * @license lucide-react v0.462.0 - ISC
129
129
  *
130
130
  * This source code is licensed under the ISC license.
131
131
  * See the LICENSE file in the root directory of this source tree.
132
- */const wk=pe("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
132
+ */const wC=ae("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
133
133
  * @license lucide-react v0.462.0 - ISC
134
134
  *
135
135
  * This source code is licensed under the ISC license.
136
136
  * See the LICENSE file in the root directory of this source tree.
137
- */const xk=pe("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"}]]);/**
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
138
  * @license lucide-react v0.462.0 - ISC
139
139
  *
140
140
  * This source code is licensed under the ISC license.
141
141
  * See the LICENSE file in the root directory of this source tree.
142
- */const Sk=pe("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);/**
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
143
  * @license lucide-react v0.462.0 - ISC
144
144
  *
145
145
  * This source code is licensed under the ISC license.
146
146
  * See the LICENSE file in the root directory of this source tree.
147
- */const Ck=pe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
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
148
  * @license lucide-react v0.462.0 - ISC
149
149
  *
150
150
  * This source code is licensed under the ISC license.
151
151
  * See the LICENSE file in the root directory of this source tree.
152
- */const kk=pe("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"}]]);/**
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
153
  * @license lucide-react v0.462.0 - ISC
154
154
  *
155
155
  * This source code is licensed under the ISC license.
156
156
  * See the LICENSE file in the root directory of this source tree.
157
- */const Ek=pe("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"}]]);/**
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
158
  * @license lucide-react v0.462.0 - ISC
159
159
  *
160
160
  * This source code is licensed under the ISC license.
161
161
  * See the LICENSE file in the root directory of this source tree.
162
- */const bk=pe("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"}]]);/**
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
163
  * @license lucide-react v0.462.0 - ISC
164
164
  *
165
165
  * This source code is licensed under the ISC license.
166
166
  * See the LICENSE file in the root directory of this source tree.
167
- */const Rk=pe("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"}]]);/**
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
168
  * @license lucide-react v0.462.0 - ISC
169
169
  *
170
170
  * This source code is licensed under the ISC license.
171
171
  * See the LICENSE file in the root directory of this source tree.
172
- */const Pk=pe("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"}]]);/**
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
173
  * @license lucide-react v0.462.0 - ISC
174
174
  *
175
175
  * This source code is licensed under the ISC license.
176
176
  * See the LICENSE file in the root directory of this source tree.
177
- */const Mk=pe("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"}]]);/**
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
178
  * @license lucide-react v0.462.0 - ISC
179
179
  *
180
180
  * This source code is licensed under the ISC license.
181
181
  * See the LICENSE file in the root directory of this source tree.
182
- */const Tk=pe("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"}]]);/**
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
183
  * @license lucide-react v0.462.0 - ISC
184
184
  *
185
185
  * This source code is licensed under the ISC license.
186
186
  * See the LICENSE file in the root directory of this source tree.
187
- */const Ok=pe("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"}]]);/**
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
188
  * @license lucide-react v0.462.0 - ISC
189
189
  *
190
190
  * This source code is licensed under the ISC license.
191
191
  * See the LICENSE file in the root directory of this source tree.
192
- */const _k=pe("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"}]]);/**
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
193
  * @license lucide-react v0.462.0 - ISC
194
194
  *
195
195
  * This source code is licensed under the ISC license.
196
196
  * See the LICENSE file in the root directory of this source tree.
197
- */const Nk=pe("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"}]]);/**
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
198
  * @license lucide-react v0.462.0 - ISC
199
199
  *
200
200
  * This source code is licensed under the ISC license.
201
201
  * See the LICENSE file in the root directory of this source tree.
202
- */const Lk=pe("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"}]]);/**
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
203
  * @license lucide-react v0.462.0 - ISC
204
204
  *
205
205
  * This source code is licensed under the ISC license.
206
206
  * See the LICENSE file in the root directory of this source tree.
207
- */const Ak=pe("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"}]]);/**
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
208
  * @license lucide-react v0.462.0 - ISC
209
209
  *
210
210
  * This source code is licensed under the ISC license.
211
211
  * See the LICENSE file in the root directory of this source tree.
212
- */const Ik=pe("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"}]]);/**
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
213
  * @license lucide-react v0.462.0 - ISC
214
214
  *
215
215
  * This source code is licensed under the ISC license.
216
216
  * See the LICENSE file in the root directory of this source tree.
217
- */const Dk=pe("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"}]]);/**
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
218
  * @license lucide-react v0.462.0 - ISC
219
219
  *
220
220
  * This source code is licensed under the ISC license.
221
221
  * See the LICENSE file in the root directory of this source tree.
222
- */const Fk=pe("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"}]]);/**
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
223
  * @license lucide-react v0.462.0 - ISC
224
224
  *
225
225
  * This source code is licensed under the ISC license.
226
226
  * See the LICENSE file in the root directory of this source tree.
227
- */const zk=pe("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
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
228
  * @license lucide-react v0.462.0 - ISC
229
229
  *
230
230
  * This source code is licensed under the ISC license.
231
231
  * See the LICENSE file in the root directory of this source tree.
232
- */const jk=pe("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"}]]);/**
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
233
  * @license lucide-react v0.462.0 - ISC
234
234
  *
235
235
  * This source code is licensed under the ISC license.
236
236
  * See the LICENSE file in the root directory of this source tree.
237
- */const Bk=pe("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"}]]);/**
237
+ */const BC=ae("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
238
238
  * @license lucide-react v0.462.0 - ISC
239
239
  *
240
240
  * This source code is licensed under the ISC license.
241
241
  * See the LICENSE file in the root directory of this source tree.
242
- */const Uk=pe("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
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
243
  * @license lucide-react v0.462.0 - ISC
244
244
  *
245
245
  * This source code is licensed under the ISC license.
246
246
  * See the LICENSE file in the root directory of this source tree.
247
- */const Hk=pe("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"}]]);/**
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
248
  * @license lucide-react v0.462.0 - ISC
249
249
  *
250
250
  * This source code is licensed under the ISC license.
251
251
  * See the LICENSE file in the root directory of this source tree.
252
- */const $k=pe("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"}]]);/**
252
+ */const $C=ae("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
253
253
  * @license lucide-react v0.462.0 - ISC
254
254
  *
255
255
  * This source code is licensed under the ISC license.
256
256
  * See the LICENSE file in the root directory of this source tree.
257
- */const Vk=pe("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"}]]);/**
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
258
  * @license lucide-react v0.462.0 - ISC
259
259
  *
260
260
  * This source code is licensed under the ISC license.
261
261
  * See the LICENSE file in the root directory of this source tree.
262
- */const Wk=pe("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"}]]);/**
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
263
  * @license lucide-react v0.462.0 - ISC
264
264
  *
265
265
  * This source code is licensed under the ISC license.
266
266
  * See the LICENSE file in the root directory of this source tree.
267
- */const Qk=pe("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"}]]);/**
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
268
  * @license lucide-react v0.462.0 - ISC
269
269
  *
270
270
  * This source code is licensed under the ISC license.
271
271
  * See the LICENSE file in the root directory of this source tree.
272
- */const Kk=pe("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"}]]);/**
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
273
  * @license lucide-react v0.462.0 - ISC
274
274
  *
275
275
  * This source code is licensed under the ISC license.
276
276
  * See the LICENSE file in the root directory of this source tree.
277
- */const qk=pe("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
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
278
  * @license lucide-react v0.462.0 - ISC
279
279
  *
280
280
  * This source code is licensed under the ISC license.
281
281
  * See the LICENSE file in the root directory of this source tree.
282
- */const Yk=pe("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"}]]);/**
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
283
  * @license lucide-react v0.462.0 - ISC
284
284
  *
285
285
  * This source code is licensed under the ISC license.
286
286
  * See the LICENSE file in the root directory of this source tree.
287
- */const Gk=pe("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
287
+ */const GC=ae("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
288
288
  * @license lucide-react v0.462.0 - ISC
289
289
  *
290
290
  * This source code is licensed under the ISC license.
291
291
  * See the LICENSE file in the root directory of this source tree.
292
- */const Xk=pe("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
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
293
  * @license lucide-react v0.462.0 - ISC
294
294
  *
295
295
  * This source code is licensed under the ISC license.
296
296
  * See the LICENSE file in the root directory of this source tree.
297
- */const Zk=pe("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"}]]);/**
297
+ */const ZC=ae("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
298
298
  * @license lucide-react v0.462.0 - ISC
299
299
  *
300
300
  * This source code is licensed under the ISC license.
301
301
  * See the LICENSE file in the root directory of this source tree.
302
- */const Jk=pe("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"}]]);/**
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
303
  * @license lucide-react v0.462.0 - ISC
304
304
  *
305
305
  * This source code is licensed under the ISC license.
306
306
  * See the LICENSE file in the root directory of this source tree.
307
- */const eE=pe("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"}]]);/**
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
308
  * @license lucide-react v0.462.0 - ISC
309
309
  *
310
310
  * This source code is licensed under the ISC license.
311
311
  * See the LICENSE file in the root directory of this source tree.
312
- */const tE=pe("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
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
313
  * @license lucide-react v0.462.0 - ISC
314
314
  *
315
315
  * This source code is licensed under the ISC license.
316
316
  * See the LICENSE file in the root directory of this source tree.
317
- */const nE=pe("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"}]]);/**
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
318
  * @license lucide-react v0.462.0 - ISC
319
319
  *
320
320
  * This source code is licensed under the ISC license.
321
321
  * See the LICENSE file in the root directory of this source tree.
322
- */const rE=pe("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"}]]);/**
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
323
  * @license lucide-react v0.462.0 - ISC
324
324
  *
325
325
  * This source code is licensed under the ISC license.
326
326
  * See the LICENSE file in the root directory of this source tree.
327
- */const oE=pe("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"}]]);/**
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
328
  * @license lucide-react v0.462.0 - ISC
329
329
  *
330
330
  * This source code is licensed under the ISC license.
331
331
  * See the LICENSE file in the root directory of this source tree.
332
- */const iE=pe("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"}]]);/**
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
333
  * @license lucide-react v0.462.0 - ISC
334
334
  *
335
335
  * This source code is licensed under the ISC license.
336
336
  * See the LICENSE file in the root directory of this source tree.
337
- */const sE=pe("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"}]]);/**
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
338
  * @license lucide-react v0.462.0 - ISC
339
339
  *
340
340
  * This source code is licensed under the ISC license.
341
341
  * See the LICENSE file in the root directory of this source tree.
342
- */const lE=pe("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
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
343
  * @license lucide-react v0.462.0 - ISC
344
344
  *
345
345
  * This source code is licensed under the ISC license.
346
346
  * See the LICENSE file in the root directory of this source tree.
347
- */const aE=pe("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"}]]);/**
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
348
  * @license lucide-react v0.462.0 - ISC
349
349
  *
350
350
  * This source code is licensed under the ISC license.
351
351
  * See the LICENSE file in the root directory of this source tree.
352
- */const uE=pe("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"}]]);/**
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
353
  * @license lucide-react v0.462.0 - ISC
354
354
  *
355
355
  * This source code is licensed under the ISC license.
356
356
  * See the LICENSE file in the root directory of this source tree.
357
- */const cE=pe("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"}]]);/**
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
358
  * @license lucide-react v0.462.0 - ISC
359
359
  *
360
360
  * This source code is licensed under the ISC license.
361
361
  * See the LICENSE file in the root directory of this source tree.
362
- */const dE=pe("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"}]]);/**
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
363
  * @license lucide-react v0.462.0 - ISC
364
364
  *
365
365
  * This source code is licensed under the ISC license.
366
366
  * See the LICENSE file in the root directory of this source tree.
367
- */const fE=pe("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(a){if(n==null||n(a),i===!1||!a.defaultPrevented)return r==null?void 0:r(a)}}function pE(n,r){const i=g.createContext(r),l=c=>{const{children:f,...p}=c,h=g.useMemo(()=>p,Object.values(p));return ee.jsx(i.Provider,{value:h,children:f})};l.displayName=n+"Provider";function a(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[l,a]}function sd(n,r=[]){let i=[];function l(c,f){const p=g.createContext(f),h=i.length;i=[...i,f];const m=x=>{var P;const{scope:k,children:y,...O}=x,S=((P=k==null?void 0:k[n])==null?void 0:P[h])||p,C=g.useMemo(()=>O,Object.values(O));return ee.jsx(S.Provider,{value:C,children:y})};m.displayName=c+"Provider";function w(x,k){var S;const y=((S=k==null?void 0:k[n])==null?void 0:S[h])||p,O=g.useContext(y);if(O)return O;if(f!==void 0)return f;throw new Error(`\`${x}\` must be used within \`${c}\``)}return[m,w]}const a=()=>{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 a.scopeName=n,[l,Lx(a,...r)]}function Lx(...n){const r=n[0];if(n.length===1)return r;const i=()=>{const l=n.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(c){const f=l.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 tv(...n){return r=>{let i=!1;const l=n.map(a=>{const c=Th(a,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let a=0;a<l.length;a++){const c=l[a];typeof c=="function"?c():Th(n[a],null)}}}}function ct(...n){return g.useCallback(tv(...n),n)}function ea(n){const r=Ax(n),i=g.forwardRef((l,a)=>{const{children:c,...f}=l,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:a,children:g.isValidElement(m)?g.cloneElement(m,void 0,w):null})}return ee.jsx(r,{...f,ref:a,children:c})});return i.displayName=`${n}.Slot`,i}function Ax(n){const r=g.forwardRef((i,l)=>{const{children:a,...c}=i;if(g.isValidElement(a)){const f=Fx(a),p=Dx(c,a.props);return a.type!==g.Fragment&&(p.ref=l?tv(l,f):f),g.cloneElement(a,p)}return g.Children.count(a)>1?g.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var nv=Symbol("radix.slottable");function hE(n){const r=({children:i})=>ee.jsx(ee.Fragment,{children:i});return r.displayName=`${n}.Slottable`,r.__radixId=nv,r}function Ix(n){return g.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===nv}function Dx(n,r){const i={...r};for(const l in r){const a=n[l],c=r[l];/^on[A-Z]/.test(l)?a&&c?i[l]=(...p)=>{const h=c(...p);return a(...p),h}:a&&(i[l]=a):l==="style"?i[l]={...a,...c}:l==="className"&&(i[l]=[a,c].filter(Boolean).join(" "))}return{...n,...i}}function Fx(n){var l,a;let r=(l=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:l.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(a=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:a.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}function zx(n){const r=n+"CollectionProvider",[i,l]=sd(r),[a,c]=i(r,{collectionRef:{current:null},itemMap:new Map}),f=S=>{const{scope:C,children:P}=S,T=G.useRef(null),R=G.useRef(new Map).current;return ee.jsx(a,{scope:C,itemMap:R,collectionRef:T,children:P})};f.displayName=r;const p=n+"CollectionSlot",h=ea(p),m=G.forwardRef((S,C)=>{const{scope:P,children:T}=S,R=c(p,P),L=ct(C,R.collectionRef);return ee.jsx(h,{ref:L,children:T})});m.displayName=p;const w=n+"CollectionItemSlot",x="data-radix-collection-item",k=ea(w),y=G.forwardRef((S,C)=>{const{scope:P,children:T,...R}=S,L=G.useRef(null),z=ct(C,L),U=c(w,P);return G.useEffect(()=>(U.itemMap.set(L,{ref:L,...R}),()=>void U.itemMap.delete(L))),ee.jsx(k,{[x]:"",ref:z,children:T})});y.displayName=w;function O(S){const C=c(n+"CollectionConsumer",S);return G.useCallback(()=>{const T=C.collectionRef.current;if(!T)return[];const R=Array.from(T.querySelectorAll(`[${x}]`));return Array.from(C.itemMap.values()).sort((U,H)=>R.indexOf(U.ref.current)-R.indexOf(H.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:f,Slot:m,ItemSlot:y},O,l]}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=ea(`Primitive.${r}`),l=g.forwardRef((a,c)=>{const{asChild:f,...p}=a,h=f?i:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ee.jsx(h,{...p,ref:c})});return l.displayName=`Primitive.${r}`,{...n,[r]:l}},{});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 l;return(l=r.current)==null?void 0:l.call(r,...i)},[])}function $x(n,r=globalThis==null?void 0:globalThis.document){const i=go(n);g.useEffect(()=>{const l=a=>{a.key==="Escape"&&i(a)};return r.addEventListener("keydown",l,{capture:!0}),()=>r.removeEventListener("keydown",l,{capture:!0})},[i,r])}var Vx="DismissableLayer",Ac="dismissableLayer.update",Wx="dismissableLayer.pointerDownOutside",Qx="dismissableLayer.focusOutside",Oh,rv=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ov=g.forwardRef((n,r)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:l,onPointerDownOutside:a,onFocusOutside:c,onInteractOutside:f,onDismiss:p,...h}=n,m=g.useContext(rv),[w,x]=g.useState(null),k=(w==null?void 0:w.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=g.useState({}),O=ct(r,H=>x(H)),S=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),P=S.indexOf(C),T=w?S.indexOf(w):-1,R=m.layersWithOutsidePointerEventsDisabled.size>0,L=T>=P,z=Yx(H=>{const q=H.target,Z=[...m.branches].some(te=>te.contains(q));!L||Z||(a==null||a(H),f==null||f(H),H.defaultPrevented||p==null||p())},k),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())},k);return $x(H=>{T===m.layers.size-1&&(l==null||l(H),!H.defaultPrevented&&p&&(H.preventDefault(),p()))},k),g.useEffect(()=>{if(w)return i&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(Oh=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(w)),m.layers.add(w),_h(),()=>{i&&m.layersWithOutsidePointerEventsDisabled.size===1&&(k.body.style.pointerEvents=Oh)}},[w,k,i,m]),g.useEffect(()=>()=>{w&&(m.layers.delete(w),m.layersWithOutsidePointerEventsDisabled.delete(w),_h())},[w,m]),g.useEffect(()=>{const H=()=>y({});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,z.onPointerDownCapture)})});ov.displayName=Vx;var Kx="DismissableLayerBranch",qx=g.forwardRef((n,r)=>{const i=g.useContext(rv),l=g.useRef(null),a=ct(r,l);return g.useEffect(()=>{const c=l.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),ee.jsx(Xe.div,{...n,ref:a})});qx.displayName=Kx;function Yx(n,r=globalThis==null?void 0:globalThis.document){const i=go(n),l=g.useRef(!1),a=g.useRef(()=>{});return g.useEffect(()=>{const c=p=>{if(p.target&&!l.current){let h=function(){iv(Wx,i,m,{discrete:!0})};const m={originalEvent:p};p.pointerType==="touch"?(r.removeEventListener("click",a.current),a.current=h,r.addEventListener("click",a.current,{once:!0})):h()}else r.removeEventListener("click",a.current);l.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",a.current)}},[r,i]),{onPointerDownCapture:()=>l.current=!0}}function Gx(n,r=globalThis==null?void 0:globalThis.document){const i=go(n),l=g.useRef(!1);return g.useEffect(()=>{const a=c=>{c.target&&!l.current&&iv(Qx,i,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",a),()=>r.removeEventListener("focusin",a)},[r,i]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function _h(){const n=new CustomEvent(Ac);document.dispatchEvent(n)}function iv(n,r,i,{discrete:l}){const a=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});r&&a.addEventListener(n,r,{once:!0}),l?Hx(a,c):a.dispatchEvent(c)}var lc=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()),lc++,()=>{lc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),lc--}},[])}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 ac="focusScope.autoFocusOnMount",uc="focusScope.autoFocusOnUnmount",Lh={bubbles:!1,cancelable:!0},Zx="FocusScope",sv=g.forwardRef((n,r)=>{const{loop:i=!1,trapped:l=!1,onMountAutoFocus:a,onUnmountAutoFocus:c,...f}=n,[p,h]=g.useState(null),m=go(a),w=go(c),x=g.useRef(null),k=ct(r,S=>h(S)),y=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(l){let S=function(R){if(y.paused||!p)return;const L=R.target;p.contains(L)?x.current=L:Tr(x.current,{select:!0})},C=function(R){if(y.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 z of R)z.removedNodes.length>0&&Tr(p)};document.addEventListener("focusin",S),document.addEventListener("focusout",C);const T=new MutationObserver(P);return p&&T.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",C),T.disconnect()}}},[l,p,y.paused]),g.useEffect(()=>{if(p){Ih.add(y);const S=document.activeElement;if(!p.contains(S)){const P=new CustomEvent(ac,Lh);p.addEventListener(ac,m),p.dispatchEvent(P),P.defaultPrevented||(Jx(oS(lv(p)),{select:!0}),document.activeElement===S&&Tr(p))}return()=>{p.removeEventListener(ac,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(y)},0)}}},[p,m,w,y]);const O=g.useCallback(S=>{if(!i&&!l||y.paused)return;const C=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,P=document.activeElement;if(C&&P){const T=S.currentTarget,[R,L]=eS(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,l,y.paused]);return ee.jsx(Xe.div,{tabIndex:-1,...f,ref:k,onKeyDown:O})});sv.displayName=Zx;function Jx(n,{select:r=!1}={}){const i=document.activeElement;for(const l of n)if(Tr(l,{select:r}),document.activeElement!==i)return}function eS(n){const r=lv(n),i=Ah(r,n),l=Ah(r.reverse(),n);return[i,l]}function lv(n){const r=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const a=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||a?NodeFilter.FILTER_SKIP:l.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(!tS(i,{upTo:r}))return i}function tS(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 nS(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&&nS(n)&&r&&n.select()}}var Ih=rS();function rS(){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],l=i.indexOf(r);return l!==-1&&i.splice(l,1),i}function oS(n){return n.filter(r=>r.tagName!=="A")}var At=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},iS=hm[" useId ".trim().toString()]||(()=>{}),sS=0;function ld(n){const[r,i]=g.useState(iS());return At(()=>{i(l=>l??String(sS++))},[n]),r?`radix-${r}`:""}const lS=["top","right","bottom","left"],Br=Math.min,jt=Math.max,ta=Math.round,Bl=Math.floor,In=n=>({x:n,y:n}),aS={left:"right",right:"left",bottom:"top",top:"bottom"},uS={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 ad(n){return n==="x"?"y":"x"}function ud(n){return n==="y"?"height":"width"}const cS=new Set(["top","bottom"]);function An(n){return cS.has(rr(n))?"y":"x"}function cd(n){return ad(An(n))}function dS(n,r,i){i===void 0&&(i=!1);const l=wi(n),a=cd(n),c=ud(a);let f=a==="x"?l===(i?"end":"start")?"right":"left":l==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(f=na(f)),[f,na(f)]}function fS(n){const r=na(n);return[Dc(n),r,Dc(r)]}function Dc(n){return n.replace(/start|end/g,r=>uS[r])}const Fh=["left","right"],zh=["right","left"],pS=["top","bottom"],hS=["bottom","top"];function mS(n,r,i){switch(n){case"top":case"bottom":return i?r?zh:Fh:r?Fh:zh;case"left":case"right":return r?pS:hS;default:return[]}}function vS(n,r,i,l){const a=wi(n);let c=mS(rr(n),i==="start",l);return a&&(c=c.map(f=>f+"-"+a),r&&(c=c.concat(c.map(Dc)))),c}function na(n){return n.replace(/left|right|bottom|top/g,r=>aS[r])}function yS(n){return{top:0,right:0,bottom:0,left:0,...n}}function av(n){return typeof n!="number"?yS(n):{top:n,right:n,bottom:n,left:n}}function ra(n){const{x:r,y:i,width:l,height:a}=n;return{width:l,height:a,top:i,left:r,right:r+l,bottom:i+a,x:r,y:i}}function jh(n,r,i){let{reference:l,floating:a}=n;const c=An(r),f=cd(r),p=ud(f),h=rr(r),m=c==="y",w=l.x+l.width/2-a.width/2,x=l.y+l.height/2-a.height/2,k=l[p]/2-a[p]/2;let y;switch(h){case"top":y={x:w,y:l.y-a.height};break;case"bottom":y={x:w,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:x};break;case"left":y={x:l.x-a.width,y:x};break;default:y={x:l.x,y:l.y}}switch(wi(r)){case"start":y[f]-=k*(i&&m?-1:1);break;case"end":y[f]+=k*(i&&m?-1:1);break}return y}async function gS(n,r){var i;r===void 0&&(r={});const{x:l,y:a,platform:c,rects:f,elements:p,strategy:h}=n,{boundary:m="clippingAncestors",rootBoundary:w="viewport",elementContext:x="floating",altBoundary:k=!1,padding:y=0}=nr(r,n),O=av(y),C=p[k?x==="floating"?"reference":"floating":x],P=ra(await c.getClippingRect({element:(i=await(c.isElement==null?void 0:c.isElement(C)))==null||i?C:C.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:m,rootBoundary:w,strategy:h})),T=x==="floating"?{x:l,y:a,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},z=ra(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:T,offsetParent:R,strategy:h}):T);return{top:(P.top-z.top+O.top)/L.y,bottom:(z.bottom-P.bottom+O.bottom)/L.y,left:(P.left-z.left+O.left)/L.x,right:(z.right-P.right+O.right)/L.x}}const wS=async(n,r,i)=>{const{placement:l="bottom",strategy:a="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:a}),{x:w,y:x}=jh(m,l,h),k=l,y={},O=0;for(let C=0;C<p.length;C++){var S;const{name:P,fn:T}=p[C],{x:R,y:L,data:z,reset:U}=await T({x:w,y:x,initialPlacement:l,placement:k,strategy:a,middlewareData:y,rects:m,platform:{...f,detectOverflow:(S=f.detectOverflow)!=null?S:gS},elements:{reference:n,floating:r}});w=R??w,x=L??x,y={...y,[P]:{...y[P],...z}},U&&O<=50&&(O++,typeof U=="object"&&(U.placement&&(k=U.placement),U.rects&&(m=U.rects===!0?await f.getElementRects({reference:n,floating:r,strategy:a}):U.rects),{x:w,y:x}=jh(m,k,h)),C=-1)}return{x:w,y:x,placement:k,strategy:a,middlewareData:y}},xS=n=>({name:"arrow",options:n,async fn(r){const{x:i,y:l,placement:a,rects:c,platform:f,elements:p,middlewareData:h}=r,{element:m,padding:w=0}=nr(n,r)||{};if(m==null)return{};const x=av(w),k={x:i,y:l},y=cd(a),O=ud(y),S=await f.getDimensions(m),C=y==="y",P=C?"top":"left",T=C?"bottom":"right",R=C?"clientHeight":"clientWidth",L=c.reference[O]+c.reference[y]-k[y]-c.floating[O],z=k[y]-c.reference[y],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-z/2,Z=H/2-S[O]/2-1,te=Br(x[P],Z),he=Br(x[T],Z),X=te,ye=H-S[O]-he,ce=H/2-S[O]/2+q,xe=Ic(X,ce,ye),ae=!h.arrow&&wi(a)!=null&&ce!==xe&&c.reference[O]/2-(ce<X?te:he)-S[O]/2<0,ie=ae?ce<X?ce-X:ce-ye:0;return{[y]:k[y]+ie,data:{[y]:xe,centerOffset:ce-xe-ie,...ae&&{alignmentOffset:ie}},reset:ae}}}),SS=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(r){var i,l;const{placement:a,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:m}=r,{mainAxis:w=!0,crossAxis:x=!0,fallbackPlacements:k,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...C}=nr(n,r);if((i=c.arrow)!=null&&i.alignmentOffset)return{};const P=rr(a),T=An(p),R=rr(p)===p,L=await(h.isRTL==null?void 0:h.isRTL(m.floating)),z=k||(R||!S?[na(p)]:fS(p)),U=O!=="none";!k&&U&&z.push(...vS(p,S,O,L));const H=[p,...z],q=await h.detectOverflow(r,C),Z=[];let te=((l=c.flip)==null?void 0:l.overflows)||[];if(w&&Z.push(q[P]),x){const ce=dS(a,f,L);Z.push(q[ce[0]],q[ce[1]])}if(te=[...te,{placement:a,overflows:Z}],!Z.every(ce=>ce<=0)){var he,X;const ce=(((he=c.flip)==null?void 0:he.index)||0)+1,xe=H[ce];if(xe&&(!(x==="alignment"?T!==An(xe):!1)||te.every(j=>An(j.placement)===T?j.overflows[0]>0:!0)))return{data:{index:ce,overflows:te},reset:{placement:xe}};let ae=(X=te.filter(ie=>ie.overflows[0]<=0).sort((ie,j)=>ie.overflows[1]-j.overflows[1])[0])==null?void 0:X.placement;if(!ae)switch(y){case"bestFit":{var ye;const ie=(ye=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:ye[0];ie&&(ae=ie);break}case"initialPlacement":ae=p;break}if(a!==ae)return{reset:{placement:ae}}}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 lS.some(r=>n[r]>=0)}const CS=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(r){const{rects:i,platform:l}=r,{strategy:a="referenceHidden",...c}=nr(n,r);switch(a){case"referenceHidden":{const f=await l.detectOverflow(r,{...c,elementContext:"reference"}),p=Bh(f,i.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:Uh(p)}}}case"escaped":{const f=await l.detectOverflow(r,{...c,altBoundary:!0}),p=Bh(f,i.floating);return{data:{escapedOffsets:p,escaped:Uh(p)}}}default:return{}}}}},uv=new Set(["left","top"]);async function kS(n,r){const{placement:i,platform:l,elements:a}=n,c=await(l.isRTL==null?void 0:l.isRTL(a.floating)),f=rr(i),p=wi(i),h=An(i)==="y",m=uv.has(f)?-1:1,w=c&&h?-1:1,x=nr(r,n);let{mainAxis:k,crossAxis:y,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"&&(y=p==="end"?O*-1:O),h?{x:y*w,y:k*m}:{x:k*m,y:y*w}}const ES=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(r){var i,l;const{x:a,y:c,placement:f,middlewareData:p}=r,h=await kS(r,n);return f===((i=p.offset)==null?void 0:i.placement)&&(l=p.arrow)!=null&&l.alignmentOffset?{}:{x:a+h.x,y:c+h.y,data:{...h,placement:f}}}}},bS=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(r){const{x:i,y:l,placement:a,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:l},x=await c.detectOverflow(r,m),k=An(rr(a)),y=ad(k);let O=w[y],S=w[k];if(f){const P=y==="y"?"top":"left",T=y==="y"?"bottom":"right",R=O+x[P],L=O-x[T];O=Ic(R,O,L)}if(p){const P=k==="y"?"top":"left",T=k==="y"?"bottom":"right",R=S+x[P],L=S-x[T];S=Ic(R,S,L)}const C=h.fn({...r,[y]:O,[k]:S});return{...C,data:{x:C.x-i,y:C.y-l,enabled:{[y]:f,[k]:p}}}}}},RS=function(n){return n===void 0&&(n={}),{options:n,fn(r){const{x:i,y:l,placement:a,rects:c,middlewareData:f}=r,{offset:p=0,mainAxis:h=!0,crossAxis:m=!0}=nr(n,r),w={x:i,y:l},x=An(a),k=ad(x);let y=w[k],O=w[x];const S=nr(p,r),C=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(h){const R=k==="y"?"height":"width",L=c.reference[k]-c.floating[R]+C.mainAxis,z=c.reference[k]+c.reference[R]-C.mainAxis;y<L?y=L:y>z&&(y=z)}if(m){var P,T;const R=k==="y"?"width":"height",L=uv.has(rr(a)),z=c.reference[x]-c.floating[R]+(L&&((P=f.offset)==null?void 0:P[x])||0)+(L?0:C.crossAxis),U=c.reference[x]+c.reference[R]+(L?0:((T=f.offset)==null?void 0:T[x])||0)-(L?C.crossAxis:0);O<z?O=z:O>U&&(O=U)}return{[k]:y,[x]:O}}}},PS=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(r){var i,l;const{placement:a,rects:c,platform:f,elements:p}=r,{apply:h=()=>{},...m}=nr(n,r),w=await f.detectOverflow(r,m),x=rr(a),k=wi(a),y=An(a)==="y",{width:O,height:S}=c.floating;let C,P;x==="top"||x==="bottom"?(C=x,P=k===(await(f.isRTL==null?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(P=x,C=k==="end"?"top":"bottom");const T=S-w.top-w.bottom,R=O-w.left-w.right,L=Br(S-w[C],T),z=Br(O-w[P],R),U=!r.middlewareData.shift;let H=L,q=z;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(q=R),(l=r.middlewareData.shift)!=null&&l.enabled.y&&(H=T),U&&!k){const te=jt(w.left,0),he=jt(w.right,0),X=jt(w.top,0),ye=jt(w.bottom,0);y?q=O-2*(te!==0||he!==0?te+he:jt(w.left,w.right)):H=S-2*(X!==0||ye!==0?X+ye: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 aa(){return typeof window<"u"}function xi(n){return cv(n)?(n.nodeName||"").toLowerCase():"#document"}function Bt(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function Fn(n){var r;return(r=(cv(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function cv(n){return aa()?n instanceof Node||n instanceof Bt(n).Node:!1}function hn(n){return aa()?n instanceof Element||n instanceof Bt(n).Element:!1}function Dn(n){return aa()?n instanceof HTMLElement||n instanceof Bt(n).HTMLElement:!1}function Hh(n){return!aa()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Bt(n).ShadowRoot}const MS=new Set(["inline","contents"]);function Ss(n){const{overflow:r,overflowX:i,overflowY:l,display:a}=mn(n);return/auto|scroll|overlay|hidden|clip/.test(r+l+i)&&!MS.has(a)}const TS=new Set(["table","td","th"]);function OS(n){return TS.has(xi(n))}const _S=[":popover-open",":modal"];function ua(n){return _S.some(r=>{try{return n.matches(r)}catch{return!1}})}const NS=["transform","translate","scale","rotate","perspective"],LS=["transform","translate","scale","rotate","perspective","filter"],AS=["paint","layout","strict","content"];function dd(n){const r=fd(),i=hn(n)?mn(n):n;return NS.some(l=>i[l]?i[l]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!r&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!r&&(i.filter?i.filter!=="none":!1)||LS.some(l=>(i.willChange||"").includes(l))||AS.some(l=>(i.contain||"").includes(l))}function IS(n){let r=Ur(n);for(;Dn(r)&&!pi(r);){if(dd(r))return r;if(ua(r))return null;r=Ur(r)}return null}function fd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const DS=new Set(["html","body","#document"]);function pi(n){return DS.has(xi(n))}function mn(n){return Bt(n).getComputedStyle(n)}function ca(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||Fn(n);return Hh(r)?r.host:r}function dv(n){const r=Ur(n);return pi(r)?n.ownerDocument?n.ownerDocument.body:n.body:Dn(r)&&Ss(r)?r:dv(r)}function fs(n,r,i){var l;r===void 0&&(r=[]),i===void 0&&(i=!0);const a=dv(n),c=a===((l=n.ownerDocument)==null?void 0:l.body),f=Bt(a);if(c){const p=Fc(f);return r.concat(f,f.visualViewport||[],Ss(a)?a:[],p&&i?fs(p):[])}return r.concat(a,fs(a,[],i))}function Fc(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function fv(n){const r=mn(n);let i=parseFloat(r.width)||0,l=parseFloat(r.height)||0;const a=Dn(n),c=a?n.offsetWidth:i,f=a?n.offsetHeight:l,p=ta(i)!==c||ta(l)!==f;return p&&(i=c,l=f),{width:i,height:l,$: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:l,height:a,$:c}=fv(r);let f=(c?ta(i.width):i.width)/l,p=(c?ta(i.height):i.height)/a;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const FS=In(0);function pv(n){const r=Bt(n);return!fd()||!r.visualViewport?FS:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function zS(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==Bt(n)?!1:r}function wo(n,r,i,l){r===void 0&&(r=!1),i===void 0&&(i=!1);const a=n.getBoundingClientRect(),c=pd(n);let f=In(1);r&&(l?hn(l)&&(f=Jo(l)):f=Jo(n));const p=zS(c,i,l)?pv(c):In(0);let h=(a.left+p.x)/f.x,m=(a.top+p.y)/f.y,w=a.width/f.x,x=a.height/f.y;if(c){const k=Bt(c),y=l&&hn(l)?Bt(l):l;let O=k,S=Fc(O);for(;S&&l&&y!==O;){const C=Jo(S),P=S.getBoundingClientRect(),T=mn(S),R=P.left+(S.clientLeft+parseFloat(T.paddingLeft))*C.x,L=P.top+(S.clientTop+parseFloat(T.paddingTop))*C.y;h*=C.x,m*=C.y,w*=C.x,x*=C.y,h+=R,m+=L,O=Bt(S),S=Fc(O)}}return ra({width:w,height:x,x:h,y:m})}function da(n,r){const i=ca(n).scrollLeft;return r?r.left+i:wo(Fn(n)).left+i}function hv(n,r){const i=n.getBoundingClientRect(),l=i.left+r.scrollLeft-da(n,i),a=i.top+r.scrollTop;return{x:l,y:a}}function jS(n){let{elements:r,rect:i,offsetParent:l,strategy:a}=n;const c=a==="fixed",f=Fn(l),p=r?ua(r.floating):!1;if(l===f||p&&c)return i;let h={scrollLeft:0,scrollTop:0},m=In(1);const w=In(0),x=Dn(l);if((x||!x&&!c)&&((xi(l)!=="body"||Ss(f))&&(h=ca(l)),Dn(l))){const y=wo(l);m=Jo(l),w.x=y.x+l.clientLeft,w.y=y.y+l.clientTop}const k=f&&!x&&!c?hv(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+k.x,y:i.y*m.y-h.scrollTop*m.y+w.y+k.y}}function BS(n){return Array.from(n.getClientRects())}function US(n){const r=Fn(n),i=ca(n),l=n.ownerDocument.body,a=jt(r.scrollWidth,r.clientWidth,l.scrollWidth,l.clientWidth),c=jt(r.scrollHeight,r.clientHeight,l.scrollHeight,l.clientHeight);let f=-i.scrollLeft+da(n);const p=-i.scrollTop;return mn(l).direction==="rtl"&&(f+=jt(r.clientWidth,l.clientWidth)-a),{width:a,height:c,x:f,y:p}}const $h=25;function HS(n,r){const i=Bt(n),l=Fn(n),a=i.visualViewport;let c=l.clientWidth,f=l.clientHeight,p=0,h=0;if(a){c=a.width,f=a.height;const w=fd();(!w||w&&r==="fixed")&&(p=a.offsetLeft,h=a.offsetTop)}const m=da(l);if(m<=0){const w=l.ownerDocument,x=w.body,k=getComputedStyle(x),y=w.compatMode==="CSS1Compat"&&parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0,O=Math.abs(l.clientWidth-x.clientWidth-y);O<=$h&&(c-=O)}else m<=$h&&(c+=m);return{width:c,height:f,x:p,y:h}}const $S=new Set(["absolute","fixed"]);function VS(n,r){const i=wo(n,!0,r==="fixed"),l=i.top+n.clientTop,a=i.left+n.clientLeft,c=Dn(n)?Jo(n):In(1),f=n.clientWidth*c.x,p=n.clientHeight*c.y,h=a*c.x,m=l*c.y;return{width:f,height:p,x:h,y:m}}function Vh(n,r,i){let l;if(r==="viewport")l=HS(n,i);else if(r==="document")l=US(Fn(n));else if(hn(r))l=VS(r,i);else{const a=pv(n);l={x:r.x-a.x,y:r.y-a.y,width:r.width,height:r.height}}return ra(l)}function mv(n,r){const i=Ur(n);return i===r||!hn(i)||pi(i)?!1:mn(i).position==="fixed"||mv(i,r)}function WS(n,r){const i=r.get(n);if(i)return i;let l=fs(n,[],!1).filter(p=>hn(p)&&xi(p)!=="body"),a=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"&&(a=null),(c?!h&&!a:!h&&p.position==="static"&&!!a&&$S.has(a.position)||Ss(f)&&!h&&mv(n,f))?l=l.filter(w=>w!==f):a=p,f=Ur(f)}return r.set(n,l),l}function QS(n){let{element:r,boundary:i,rootBoundary:l,strategy:a}=n;const f=[...i==="clippingAncestors"?ua(r)?[]:WS(r,this._c):[].concat(i),l],p=f[0],h=f.reduce((m,w)=>{const x=Vh(r,w,a);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,a));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function KS(n){const{width:r,height:i}=fv(n);return{width:r,height:i}}function qS(n,r,i){const l=Dn(r),a=Fn(r),c=i==="fixed",f=wo(n,!0,c,r);let p={scrollLeft:0,scrollTop:0};const h=In(0);function m(){h.x=da(a)}if(l||!l&&!c)if((xi(r)!=="body"||Ss(a))&&(p=ca(r)),l){const y=wo(r,!0,c,r);h.x=y.x+r.clientLeft,h.y=y.y+r.clientTop}else a&&m();c&&!l&&a&&m();const w=a&&!l&&!c?hv(a,p):In(0),x=f.left+p.scrollLeft-h.x-w.x,k=f.top+p.scrollTop-h.y-w.y;return{x,y:k,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 Fn(n)===i&&(i=i.ownerDocument.body),i}function vv(n,r){const i=Bt(n);if(ua(n))return i;if(!Dn(n)){let a=Ur(n);for(;a&&!pi(a);){if(hn(a)&&!cc(a))return a;a=Ur(a)}return i}let l=Wh(n,r);for(;l&&OS(l)&&cc(l);)l=Wh(l,r);return l&&pi(l)&&cc(l)&&!dd(l)?i:l||IS(n)||i}const YS=async function(n){const r=this.getOffsetParent||vv,i=this.getDimensions,l=await i(n.floating);return{reference:qS(n.reference,await r(n.floating),n.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function GS(n){return mn(n).direction==="rtl"}const XS={convertOffsetParentRelativeRectToViewportRelativeRect:jS,getDocumentElement:Fn,getClippingRect:QS,getOffsetParent:vv,getElementRects:YS,getClientRects:BS,getDimensions:KS,getScale:Jo,isElement:hn,isRTL:GS};function yv(n,r){return n.x===r.x&&n.y===r.y&&n.width===r.width&&n.height===r.height}function ZS(n,r){let i=null,l;const a=Fn(n);function c(){var p;clearTimeout(l),(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:k,height:y}=m;if(p||r(),!k||!y)return;const O=Bl(x),S=Bl(a.clientWidth-(w+k)),C=Bl(a.clientHeight-(x+y)),P=Bl(w),R={rootMargin:-O+"px "+-S+"px "+-C+"px "+-P+"px",threshold:jt(0,Br(1,h))||1};let L=!0;function z(U){const H=U[0].intersectionRatio;if(H!==h){if(!L)return f();H?f(!1,H):l=setTimeout(()=>{f(!1,1e-7)},1e3)}H===1&&!yv(m,n.getBoundingClientRect())&&f(),L=!1}try{i=new IntersectionObserver(z,{...R,root:a.ownerDocument})}catch{i=new IntersectionObserver(z,R)}i.observe(n)}return f(!0),c}function JS(n,r,i,l){l===void 0&&(l={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:h=!1}=l,m=pd(n),w=a||c?[...m?fs(m):[],...fs(r)]:[];w.forEach(P=>{a&&P.addEventListener("scroll",i,{passive:!0}),c&&P.addEventListener("resize",i)});const x=m&&p?ZS(m,i):null;let k=-1,y=null;f&&(y=new ResizeObserver(P=>{let[T]=P;T&&T.target===m&&y&&(y.unobserve(r),cancelAnimationFrame(k),k=requestAnimationFrame(()=>{var R;(R=y)==null||R.observe(r)})),i()}),m&&!h&&y.observe(m),y.observe(r));let O,S=h?wo(n):null;h&&C();function C(){const P=wo(n);S&&!yv(S,P)&&i(),S=P,O=requestAnimationFrame(C)}return i(),()=>{var P;w.forEach(T=>{a&&T.removeEventListener("scroll",i),c&&T.removeEventListener("resize",i)}),x==null||x(),(P=y)==null||P.disconnect(),y=null,h&&cancelAnimationFrame(O)}}const e2=ES,t2=bS,n2=SS,r2=PS,o2=CS,Qh=xS,i2=RS,s2=(n,r,i)=>{const l=new Map,a={platform:XS,...i},c={...a.platform,_c:l};return wS(n,r,{...a,platform:c})};var l2=typeof document<"u",a2=function(){},ql=l2?g.useLayoutEffect:a2;function oa(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,l,a;if(n&&r&&typeof n=="object"){if(Array.isArray(n)){if(i=n.length,i!==r.length)return!1;for(l=i;l--!==0;)if(!oa(n[l],r[l]))return!1;return!0}if(a=Object.keys(n),i=a.length,i!==Object.keys(r).length)return!1;for(l=i;l--!==0;)if(!{}.hasOwnProperty.call(r,a[l]))return!1;for(l=i;l--!==0;){const c=a[l];if(!(c==="_owner"&&n.$$typeof)&&!oa(n[c],r[c]))return!1}return!0}return n!==n&&r!==r}function gv(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function Kh(n,r){const i=gv(n);return Math.round(r*i)/i}function dc(n){const r=g.useRef(n);return ql(()=>{r.current=n}),r}function u2(n){n===void 0&&(n={});const{placement:r="bottom",strategy:i="absolute",middleware:l=[],platform:a,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}),[k,y]=g.useState(l);oa(k,l)||y(l);const[O,S]=g.useState(null),[C,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,z=f||C,U=g.useRef(null),H=g.useRef(null),q=g.useRef(w),Z=h!=null,te=dc(h),he=dc(a),X=dc(m),ye=g.useCallback(()=>{if(!U.current||!H.current)return;const j={placement:r,strategy:i,middleware:k};he.current&&(j.platform=he.current),s2(U.current,H.current,j).then(B=>{const W={...B,isPositioned:X.current!==!1};ce.current&&!oa(q.current,W)&&(q.current=W,xs.flushSync(()=>{x(W)}))})},[k,r,i,he,X]);ql(()=>{m===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,x(j=>({...j,isPositioned:!1})))},[m]);const ce=g.useRef(!1);ql(()=>(ce.current=!0,()=>{ce.current=!1}),[]),ql(()=>{if(L&&(U.current=L),z&&(H.current=z),L&&z){if(te.current)return te.current(L,z,ye);ye()}},[L,z,ye,te,Z]);const xe=g.useMemo(()=>({reference:U,floating:H,setReference:T,setFloating:R}),[T,R]),ae=g.useMemo(()=>({reference:L,floating:z}),[L,z]),ie=g.useMemo(()=>{const j={position:i,left:0,top:0};if(!ae.floating)return j;const B=Kh(ae.floating,w.x),W=Kh(ae.floating,w.y);return p?{...j,transform:"translate("+B+"px, "+W+"px)",...gv(ae.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:B,top:W}},[i,p,ae.floating,w.x,w.y]);return g.useMemo(()=>({...w,update:ye,refs:xe,elements:ae,floatingStyles:ie}),[w,ye,xe,ae,ie])}const c2=n=>{function r(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:n,fn(i){const{element:l,padding:a}=typeof n=="function"?n(i):n;return l&&r(l)?l.current!=null?Qh({element:l.current,padding:a}).fn(i):{}:l?Qh({element:l,padding:a}).fn(i):{}}}},d2=(n,r)=>({...e2(n),options:[n,r]}),f2=(n,r)=>({...t2(n),options:[n,r]}),p2=(n,r)=>({...i2(n),options:[n,r]}),h2=(n,r)=>({...n2(n),options:[n,r]}),m2=(n,r)=>({...r2(n),options:[n,r]}),v2=(n,r)=>({...o2(n),options:[n,r]}),y2=(n,r)=>({...c2(n),options:[n,r]});var g2="Arrow",wv=g.forwardRef((n,r)=>{const{children:i,width:l=10,height:a=5,...c}=n;return ee.jsx(Xe.svg,{...c,ref:r,width:l,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?i:ee.jsx("polygon",{points:"0,0 30,0 15,10"})})});wv.displayName=g2;var w2=wv;function x2(n){const[r,i]=g.useState(void 0);return At(()=>{if(n){i({width:n.offsetWidth,height:n.offsetHeight});const l=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const c=a[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 l.observe(n,{box:"border-box"}),()=>l.unobserve(n)}else i(void 0)},[n]),r}var hd="Popper",[xv,Sv]=sd(hd),[S2,Cv]=xv(hd),kv=n=>{const{__scopePopper:r,children:i}=n,[l,a]=g.useState(null);return ee.jsx(S2,{scope:r,anchor:l,onAnchorChange:a,children:i})};kv.displayName=hd;var Ev="PopperAnchor",bv=g.forwardRef((n,r)=>{const{__scopePopper:i,virtualRef:l,...a}=n,c=Cv(Ev,i),f=g.useRef(null),p=ct(r,f),h=g.useRef(null);return g.useEffect(()=>{const m=h.current;h.current=(l==null?void 0:l.current)||f.current,m!==h.current&&c.onAnchorChange(h.current)}),l?null:ee.jsx(Xe.div,{...a,ref:p})});bv.displayName=Ev;var md="PopperContent",[C2,k2]=xv(md),Rv=g.forwardRef((n,r)=>{var K,fe,Ce,be,Me,Oe;const{__scopePopper:i,side:l="bottom",sideOffset:a=0,align:c="center",alignOffset:f=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:m=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:k=!1,updatePositionStrategy:y="optimized",onPlaced:O,...S}=n,C=Cv(md,i),[P,T]=g.useState(null),R=ct(r,qe=>T(qe)),[L,z]=g.useState(null),U=x2(L),H=(U==null?void 0:U.width)??0,q=(U==null?void 0:U.height)??0,Z=l+(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,ye={padding:te,boundary:he.filter(b2),altBoundary:X},{refs:ce,floatingStyles:xe,placement:ae,isPositioned:ie,middlewareData:j}=u2({strategy:"fixed",placement:Z,whileElementsMounted:(...qe)=>JS(...qe,{animationFrame:y==="always"}),elements:{reference:C.anchor},middleware:[d2({mainAxis:a+q,alignmentAxis:f}),h&&f2({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?p2():void 0,...ye}),h&&h2({...ye}),m2({...ye,apply:({elements:qe,rects:dt,availableWidth:yn,availableHeight:Xt})=>{const{width:Zt,height:or}=dt.reference,gn=qe.floating.style;gn.setProperty("--radix-popper-available-width",`${yn}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&&y2({element:L,padding:p}),R2({arrowWidth:H,arrowHeight:q}),k&&v2({strategy:"referenceHidden",...ye})]}),[B,W]=Tv(ae),_=go(O);At(()=>{ie&&(_==null||_())},[ie,_]);const F=(K=j.arrow)==null?void 0:K.x,ne=(fe=j.arrow)==null?void 0:fe.y,re=((Ce=j.arrow)==null?void 0:Ce.centerOffset)!==0,[ve,Se]=g.useState();return At(()=>{P&&Se(window.getComputedStyle(P).zIndex)},[P]),ee.jsx("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...xe,transform:ie?xe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ve,"--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(C2,{scope:i,placedSide:B,onArrowChange:z,arrowX:F,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"}})})})});Rv.displayName=md;var Pv="PopperArrow",E2={top:"bottom",right:"left",bottom:"top",left:"right"},Mv=g.forwardRef(function(r,i){const{__scopePopper:l,...a}=r,c=k2(Pv,l),f=E2[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(w2,{...a,ref:i,style:{...a.style,display:"block"}})})});Mv.displayName=Pv;function b2(n){return n!==null}var R2=n=>({name:"transformOrigin",options:n,fn(r){var C,P,T;const{placement:i,rects:l,middlewareData:a}=r,f=((C=a.arrow)==null?void 0:C.centerOffset)!==0,p=f?0:n.arrowWidth,h=f?0:n.arrowHeight,[m,w]=Tv(i),x={start:"0%",center:"50%",end:"100%"}[w],k=(((P=a.arrow)==null?void 0:P.x)??0)+p/2,y=(((T=a.arrow)==null?void 0:T.y)??0)+h/2;let O="",S="";return m==="bottom"?(O=f?x:`${k}px`,S=`${-h}px`):m==="top"?(O=f?x:`${k}px`,S=`${l.floating.height+h}px`):m==="right"?(O=`${-h}px`,S=f?x:`${y}px`):m==="left"&&(O=`${l.floating.width+h}px`,S=f?x:`${y}px`),{data:{x:O,y:S}}}});function Tv(n){const[r,i="center"]=n.split("-");return[r,i]}var P2=kv,M2=bv,T2=Rv,O2=Mv,_2="Portal",Ov=g.forwardRef((n,r)=>{var p;const{container:i,...l}=n,[a,c]=g.useState(!1);At(()=>c(!0),[]);const f=i||a&&((p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body);return f?Im.createPortal(ee.jsx(Xe.div,{...l,ref:r}),f):null});Ov.displayName=_2;var N2=hm[" useInsertionEffect ".trim().toString()]||At;function qh({prop:n,defaultProp:r,onChange:i=()=>{},caller:l}){const[a,c,f]=L2({defaultProp:r,onChange:i}),p=n!==void 0,h=p?n:a;{const w=g.useRef(n!==void 0);g.useEffect(()=>{const x=w.current;x!==p&&console.warn(`${l} 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,l])}const m=g.useCallback(w=>{var x;if(p){const k=A2(w)?w(n):w;k!==n&&((x=f.current)==null||x.call(f,k))}else c(w)},[p,n,c,f]);return[h,m]}function L2({defaultProp:n,onChange:r}){const[i,l]=g.useState(n),a=g.useRef(i),c=g.useRef(r);return N2(()=>{c.current=r},[r]),g.useEffect(()=>{var f;a.current!==i&&((f=c.current)==null||f.call(c,i),a.current=i)},[i,a]),[i,l,c]}function A2(n){return typeof n=="function"}function I2(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 _v=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"}),D2="VisuallyHidden",Nv=g.forwardRef((n,r)=>ee.jsx(Xe.span,{...n,ref:r,style:{..._v,...n.style}}));Nv.displayName=D2;var mE=Nv,F2=function(n){if(typeof document>"u")return null;var r=Array.isArray(n)?n[0]:n;return r.ownerDocument.body},Yo=new WeakMap,Ul=new WeakMap,Hl={},fc=0,Lv=function(n){return n&&(n.host||Lv(n.parentNode))},z2=function(n,r){return r.map(function(i){if(n.contains(i))return i;var l=Lv(i);return l&&n.contains(l)?l:(console.error("aria-hidden",i,"in not contained inside",n,". Doing nothing"),null)}).filter(function(i){return!!i})},j2=function(n,r,i,l){var a=z2(r,Array.isArray(n)?n:[n]);Hl[i]||(Hl[i]=new WeakMap);var c=Hl[i],f=[],p=new Set,h=new Set(a),m=function(x){!x||p.has(x)||(p.add(x),m(x.parentNode))};a.forEach(m);var w=function(x){!x||h.has(x)||Array.prototype.forEach.call(x.children,function(k){if(p.has(k))w(k);else try{var y=k.getAttribute(l),O=y!==null&&y!=="false",S=(Yo.get(k)||0)+1,C=(c.get(k)||0)+1;Yo.set(k,S),c.set(k,C),f.push(k),S===1&&O&&Ul.set(k,!0),C===1&&k.setAttribute(i,"true"),O||k.setAttribute(l,"true")}catch(P){console.error("aria-hidden: cannot operate on ",k,P)}})};return w(r),p.clear(),fc++,function(){f.forEach(function(x){var k=Yo.get(x)-1,y=c.get(x)-1;Yo.set(x,k),c.set(x,y),k||(Ul.has(x)||x.removeAttribute(l),Ul.delete(x)),y||x.removeAttribute(i)}),fc--,fc||(Yo=new WeakMap,Yo=new WeakMap,Ul=new WeakMap,Hl={})}},B2=function(n,r,i){i===void 0&&(i="data-aria-hidden");var l=Array.from(Array.isArray(n)?n:[n]),a=F2(n);return a?(l.push.apply(l,Array.from(a.querySelectorAll("[aria-live], script"))),j2(l,a,i,"aria-hidden")):function(){return null}},zc=function(n,r){return zc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,l){i.__proto__=l}||function(i,l){for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(i[a]=l[a])},zc(n,r)};function vE(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");zc(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,l=1,a=arguments.length;l<a;l++){i=arguments[l];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},Ln.apply(this,arguments)};function Av(n,r){var i={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&r.indexOf(l)<0&&(i[l]=n[l]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,l=Object.getOwnPropertySymbols(n);a<l.length;a++)r.indexOf(l[a])<0&&Object.prototype.propertyIsEnumerable.call(n,l[a])&&(i[l[a]]=n[l[a]]);return i}function yE(n){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&n[r],l=0;if(i)return i.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&l>=n.length&&(n=void 0),{value:n&&n[l++],done:!n}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function gE(n,r){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var l=i.call(n),a,c=[],f;try{for(;(r===void 0||r-- >0)&&!(a=l.next()).done;)c.push(a.value)}catch(p){f={error:p}}finally{try{a&&!a.done&&(i=l.return)&&i.call(l)}finally{if(f)throw f.error}}return c}function U2(n,r,i){if(i||arguments.length===2)for(var l=0,a=r.length,c;l<a;l++)(c||!(l in r))&&(c||(c=Array.prototype.slice.call(r,0,l)),c[l]=r[l]);return n.concat(c||Array.prototype.slice.call(r))}var Yl="right-scroll-bar-position",Gl="width-before-scroll-bar",H2="with-scroll-bars-hidden",$2="--removed-body-scroll-bar-size";function pc(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function V2(n,r){var i=g.useState(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(l){var a=i.value;a!==l&&(i.value=l,i.callback(l,a))}}}})[0];return i.callback=r,i.facade}var W2=typeof window<"u"?g.useLayoutEffect:g.useEffect,Yh=new WeakMap;function Q2(n,r){var i=V2(null,function(l){return n.forEach(function(a){return pc(a,l)})});return W2(function(){var l=Yh.get(i);if(l){var a=new Set(l),c=new Set(n),f=i.current;a.forEach(function(p){c.has(p)||pc(p,null)}),c.forEach(function(p){a.has(p)||pc(p,f)})}Yh.set(i,n)},[n]),i}function K2(n){return n}function q2(n,r){r===void 0&&(r=K2);var i=[],l=!1,a={read:function(){if(l)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,l);return i.push(f),function(){i=i.filter(function(p){return p!==f})}},assignSyncMedium:function(c){for(l=!0;i.length;){var f=i;i=[],f.forEach(c)}i={push:function(p){return c(p)},filter:function(){return i}}},assignMedium:function(c){l=!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 a}function Y2(n){n===void 0&&(n={});var r=q2(null);return r.options=Ln({async:!0,ssr:!1},n),r}var Iv=function(n){var r=n.sideCar,i=Av(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var l=r.read();if(!l)throw new Error("Sidecar medium not found");return g.createElement(l,Ln({},i))};Iv.isSideCarExport=!0;function G2(n,r){return n.useMedium(r),Iv}var Dv=Y2(),hc=function(){},fa=g.forwardRef(function(n,r){var i=g.useRef(null),l=g.useState({onScrollCapture:hc,onWheelCapture:hc,onTouchMoveCapture:hc}),a=l[0],c=l[1],f=n.forwardProps,p=n.children,h=n.className,m=n.removeScrollBar,w=n.enabled,x=n.shards,k=n.sideCar,y=n.noRelative,O=n.noIsolation,S=n.inert,C=n.allowPinchZoom,P=n.as,T=P===void 0?"div":P,R=n.gapMode,L=Av(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),z=k,U=Q2([i,r]),H=Ln(Ln({},L),a);return g.createElement(g.Fragment,null,w&&g.createElement(z,{sideCar:Dv,removeScrollBar:m,shards:x,noRelative:y,noIsolation:O,inert:S,setCallbacks:c,allowPinchZoom:!!C,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))});fa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};fa.classNames={fullWidth:Gl,zeroRight:Yl};var X2=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Z2(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=X2();return r&&n.setAttribute("nonce",r),n}function J2(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function eC(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var tC=function(){var n=0,r=null;return{add:function(i){n==0&&(r=Z2())&&(J2(r,i),eC(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},nC=function(){var n=tC();return function(r,i){g.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&i])}},Fv=function(){var n=nC(),r=function(i){var l=i.styles,a=i.dynamic;return n(l,a),null};return r},rC={left:0,top:0,right:0,gap:0},mc=function(n){return parseInt(n||"",10)||0},oC=function(n){var r=window.getComputedStyle(document.body),i=r[n==="padding"?"paddingLeft":"marginLeft"],l=r[n==="padding"?"paddingTop":"marginTop"],a=r[n==="padding"?"paddingRight":"marginRight"];return[mc(i),mc(l),mc(a)]},iC=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return rC;var r=oC(n),i=document.documentElement.clientWidth,l=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,l-i+r[2]-r[0])}},sC=Fv(),ei="data-scroll-locked",lC=function(n,r,i,l){var a=n.left,c=n.top,f=n.right,p=n.gap;return i===void 0&&(i="margin"),`
368
- .`.concat(H2,` {
369
- overflow: hidden `).concat(l,`;
370
- padding-right: `).concat(p,"px ").concat(l,`;
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,`;
371
406
  }
372
407
  body[`).concat(ei,`] {
373
- overflow: hidden `).concat(l,`;
408
+ overflow: hidden `).concat(a,`;
374
409
  overscroll-behavior: contain;
375
- `).concat([r&&"position: relative ".concat(l,";"),i==="margin"&&`
376
- padding-left: `.concat(a,`px;
410
+ `).concat([r&&"position: relative ".concat(a,";"),i==="margin"&&`
411
+ padding-left: `.concat(l,`px;
377
412
  padding-top: `).concat(c,`px;
378
413
  padding-right: `).concat(f,`px;
379
414
  margin-left:0;
380
415
  margin-top:0;
381
- margin-right: `).concat(p,"px ").concat(l,`;
382
- `),i==="padding"&&"padding-right: ".concat(p,"px ").concat(l,";")].filter(Boolean).join(""),`
416
+ margin-right: `).concat(p,"px ").concat(a,`;
417
+ `),i==="padding"&&"padding-right: ".concat(p,"px ").concat(a,";")].filter(Boolean).join(""),`
383
418
  }
384
419
 
385
- .`).concat(Yl,` {
386
- right: `).concat(p,"px ").concat(l,`;
420
+ .`).concat(Ya,` {
421
+ right: `).concat(p,"px ").concat(a,`;
387
422
  }
388
423
 
389
- .`).concat(Gl,` {
390
- margin-right: `).concat(p,"px ").concat(l,`;
424
+ .`).concat(Ga,` {
425
+ margin-right: `).concat(p,"px ").concat(a,`;
391
426
  }
392
427
 
393
- .`).concat(Yl," .").concat(Yl,` {
394
- right: 0 `).concat(l,`;
428
+ .`).concat(Ya," .").concat(Ya,` {
429
+ right: 0 `).concat(a,`;
395
430
  }
396
431
 
397
- .`).concat(Gl," .").concat(Gl,` {
398
- margin-right: 0 `).concat(l,`;
432
+ .`).concat(Ga," .").concat(Ga,` {
433
+ margin-right: 0 `).concat(a,`;
399
434
  }
400
435
 
401
436
  body[`).concat(ei,`] {
402
- `).concat($2,": ").concat(p,`px;
437
+ `).concat($S,": ").concat(p,`px;
403
438
  }
404
- `)},Gh=function(){var n=parseInt(document.body.getAttribute(ei)||"0",10);return isFinite(n)?n:0},aC=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())}},[])},uC=function(n){var r=n.noRelative,i=n.noImportant,l=n.gapMode,a=l===void 0?"margin":l;aC();var c=g.useMemo(function(){return iC(a)},[a]);return g.createElement(sC,{styles:lC(c,!r,a,i?"":"!important")})},jc=!1;if(typeof window<"u")try{var $l=Object.defineProperty({},"passive",{get:function(){return jc=!0,!0}});window.addEventListener("test",$l,$l),window.removeEventListener("test",$l,$l)}catch{jc=!1}var Go=jc?{passive:!1}:!1,cC=function(n){return n.tagName==="TEXTAREA"},zv=function(n,r){if(!(n instanceof Element))return!1;var i=window.getComputedStyle(n);return i[r]!=="hidden"&&!(i.overflowY===i.overflowX&&!cC(n)&&i[r]==="visible")},dC=function(n){return zv(n,"overflowY")},fC=function(n){return zv(n,"overflowX")},Xh=function(n,r){var i=r.ownerDocument,l=r;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var a=jv(n,l);if(a){var c=Bv(n,l),f=c[1],p=c[2];if(f>p)return!0}l=l.parentNode}while(l&&l!==i.body);return!1},pC=function(n){var r=n.scrollTop,i=n.scrollHeight,l=n.clientHeight;return[r,i,l]},hC=function(n){var r=n.scrollLeft,i=n.scrollWidth,l=n.clientWidth;return[r,i,l]},jv=function(n,r){return n==="v"?dC(r):fC(r)},Bv=function(n,r){return n==="v"?pC(r):hC(r)},mC=function(n,r){return n==="h"&&r==="rtl"?-1:1},vC=function(n,r,i,l,a){var c=mC(n,window.getComputedStyle(r).direction),f=c*l,p=i.target,h=r.contains(p),m=!1,w=f>0,x=0,k=0;do{if(!p)break;var y=Bv(n,p),O=y[0],S=y[1],C=y[2],P=S-C-c*O;(O||P)&&jv(n,p)&&(x+=P,k+=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(k)<1)&&(m=!0),m},Vl=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},yC=function(n,r){return n[0]===r[0]&&n[1]===r[1]},gC=function(n){return`
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`
405
440
  .block-interactivity-`.concat(n,` {pointer-events: none;}
406
441
  .allow-interactivity-`).concat(n,` {pointer-events: all;}
407
- `)},wC=0,Xo=[];function xC(n){var r=g.useRef([]),i=g.useRef([0,0]),l=g.useRef(),a=g.useState(wC++)[0],c=g.useState(Fv)[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(a));var S=U2([n.lockRef.current],(n.shards||[]).map(Jh),!0).filter(Boolean);return S.forEach(function(C){return C.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),S.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(a))})}}},[n.inert,n.lockRef.current,n.shards]);var p=g.useCallback(function(S,C){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!f.current.allowPinchZoom;var P=Vl(S),T=i.current,R="deltaX"in S?S.deltaX:T[0]-P[0],L="deltaY"in S?S.deltaY:T[1]-P[1],z,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?z=H:(z=H==="v"?"h":"v",he=Xh(H,U)),!he)return!1;if(!l.current&&"changedTouches"in S&&(R||L)&&(l.current=z),!z)return!0;var X=l.current||z;return vC(X,C,S,X==="h"?R:L)},[]),h=g.useCallback(function(S){var C=S;if(!(!Xo.length||Xo[Xo.length-1]!==c)){var P="deltaY"in C?Zh(C):Vl(C),T=r.current.filter(function(z){return z.name===C.type&&(z.target===C.target||C.target===z.shadowParent)&&yC(z.delta,P)})[0];if(T&&T.should){C.cancelable&&C.preventDefault();return}if(!T){var R=(f.current.shards||[]).map(Jh).filter(Boolean).filter(function(z){return z.contains(C.target)}),L=R.length>0?p(C,R[0]):!f.current.noIsolation;L&&C.cancelable&&C.preventDefault()}}},[]),m=g.useCallback(function(S,C,P,T){var R={name:S,delta:C,target:P,should:T,shadowParent:SC(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=Vl(S),l.current=void 0},[]),x=g.useCallback(function(S){m(S.type,Zh(S),S.target,p(S,n.lockRef.current))},[]),k=g.useCallback(function(S){m(S.type,Vl(S),S.target,p(S,n.lockRef.current))},[]);g.useEffect(function(){return Xo.push(c),n.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:k}),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 y=n.removeScrollBar,O=n.inert;return g.createElement(g.Fragment,null,O?g.createElement(c,{styles:gC(a)}):null,y?g.createElement(uC,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function SC(n){for(var r=null;n!==null;)n instanceof ShadowRoot&&(r=n.host,n=n.host),n=n.parentNode;return r}const CC=G2(Dv,xC);var Uv=g.forwardRef(function(n,r){return g.createElement(fa,Ln({},n,{ref:r,sideCar:CC}))});Uv.classNames=fa.classNames;var kC=[" ","Enter","ArrowUp","ArrowDown"],EC=[" ","Enter"],xo="Select",[pa,ha,bC]=zx(xo),[Si]=sd(xo,[bC,Sv]),ma=Sv(),[RC,$r]=Si(xo),[PC,MC]=Si(xo),Hv=n=>{const{__scopeSelect:r,children:i,open:l,defaultOpen:a,onOpenChange:c,value:f,defaultValue:p,onValueChange:h,dir:m,name:w,autoComplete:x,disabled:k,required:y,form:O}=n,S=ma(r),[C,P]=g.useState(null),[T,R]=g.useState(null),[L,z]=g.useState(!1),U=Bx(m),[H,q]=qh({prop:l,defaultProp:a??!1,onChange:c,caller:xo}),[Z,te]=qh({prop:f,defaultProp:p,onChange:h,caller:xo}),he=g.useRef(null),X=C?O||!!C.closest("form"):!0,[ye,ce]=g.useState(new Set),xe=Array.from(ye).map(ae=>ae.props.value).join(";");return ee.jsx(P2,{...S,children:ee.jsxs(RC,{required:y,scope:r,trigger:C,onTriggerChange:P,valueNode:T,onValueNodeChange:R,valueNodeHasChildren:L,onValueNodeHasChildrenChange:z,contentId:ld(),value:Z,onValueChange:te,open:H,onOpenChange:q,dir:U,triggerPointerDownPosRef:he,disabled:k,children:[ee.jsx(pa.Provider,{scope:r,children:ee.jsx(PC,{scope:n.__scopeSelect,onNativeOptionAdd:g.useCallback(ae=>{ce(ie=>new Set(ie).add(ae))},[]),onNativeOptionRemove:g.useCallback(ae=>{ce(ie=>{const j=new Set(ie);return j.delete(ae),j})},[]),children:i})}),X?ee.jsxs(fy,{"aria-hidden":!0,required:y,tabIndex:-1,name:w,autoComplete:x,value:Z,onChange:ae=>te(ae.target.value),disabled:k,form:O,children:[Z===void 0?ee.jsx("option",{value:""}):null,Array.from(ye)]},xe):null]})})};Hv.displayName=xo;var $v="SelectTrigger",Vv=g.forwardRef((n,r)=>{const{__scopeSelect:i,disabled:l=!1,...a}=n,c=ma(i),f=$r($v,i),p=f.disabled||l,h=ct(r,f.onTriggerChange),m=ha(i),w=g.useRef("touch"),[x,k,y]=hy(S=>{const C=m().filter(R=>!R.disabled),P=C.find(R=>R.value===f.value),T=my(C,S,P);T!==void 0&&f.onValueChange(T.value)}),O=S=>{p||(f.onOpenChange(!0),y()),S&&(f.triggerPointerDownPosRef.current={x:Math.round(S.pageX),y:Math.round(S.pageY)})};return ee.jsx(M2,{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":py(f.value)?"":void 0,...a,ref:h,onClick:Je(a.onClick,S=>{S.currentTarget.focus(),w.current!=="mouse"&&O(S)}),onPointerDown:Je(a.onPointerDown,S=>{w.current=S.pointerType;const C=S.target;C.hasPointerCapture(S.pointerId)&&C.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&S.pointerType==="mouse"&&(O(S),S.preventDefault())}),onKeyDown:Je(a.onKeyDown,S=>{const C=x.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&k(S.key),!(C&&S.key===" ")&&kC.includes(S.key)&&(O(),S.preventDefault())})})})});Vv.displayName=$v;var Wv="SelectValue",Qv=g.forwardRef((n,r)=>{const{__scopeSelect:i,className:l,style:a,children:c,placeholder:f="",...p}=n,h=$r(Wv,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:py(h.value)?ee.jsx(ee.Fragment,{children:f}):c})});Qv.displayName=Wv;var TC="SelectIcon",Kv=g.forwardRef((n,r)=>{const{__scopeSelect:i,children:l,...a}=n;return ee.jsx(Xe.span,{"aria-hidden":!0,...a,ref:r,children:l||"▼"})});Kv.displayName=TC;var OC="SelectPortal",qv=n=>ee.jsx(Ov,{asChild:!0,...n});qv.displayName=OC;var So="SelectContent",Yv=g.forwardRef((n,r)=>{const i=$r(So,n.__scopeSelect),[l,a]=g.useState();if(At(()=>{a(new DocumentFragment)},[]),!i.open){const c=l;return c?xs.createPortal(ee.jsx(Gv,{scope:n.__scopeSelect,children:ee.jsx(pa.Slot,{scope:n.__scopeSelect,children:ee.jsx("div",{children:n.children})})}),c):null}return ee.jsx(Xv,{...n,ref:r})});Yv.displayName=So;var cn=10,[Gv,Vr]=Si(So),_C="SelectContentImpl",NC=ea("SelectContent.RemoveScroll"),Xv=g.forwardRef((n,r)=>{const{__scopeSelect:i,position:l="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:c,onPointerDownOutside:f,side:p,sideOffset:h,align:m,alignOffset:w,arrowPadding:x,collisionBoundary:k,collisionPadding:y,sticky:O,hideWhenDetached:S,avoidCollisions:C,...P}=n,T=$r(So,i),[R,L]=g.useState(null),[z,U]=g.useState(null),H=ct(r,K=>L(K)),[q,Z]=g.useState(null),[te,he]=g.useState(null),X=ha(i),[ye,ce]=g.useState(!1),xe=g.useRef(!1);g.useEffect(()=>{if(R)return B2(R)},[R]),Xx();const ae=g.useCallback(K=>{const[fe,...Ce]=X().map(Oe=>Oe.ref.current),[be]=Ce.slice(-1),Me=document.activeElement;for(const Oe of K)if(Oe===Me||(Oe==null||Oe.scrollIntoView({block:"nearest"}),Oe===fe&&z&&(z.scrollTop=0),Oe===be&&z&&(z.scrollTop=z.scrollHeight),Oe==null||Oe.focus(),document.activeElement!==Me))return},[X,z]),ie=g.useCallback(()=>ae([q,R]),[ae,q,R]);g.useEffect(()=>{ye&&ie()},[ye,ie]);const{onOpenChange:j,triggerPointerDownPosRef:B}=T;g.useEffect(()=>{if(R){let K={x:0,y:0};const fe=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))}},Ce=be=>{K.x<=10&&K.y<=10?be.preventDefault():R.contains(be.target)||j(!1),document.removeEventListener("pointermove",fe),B.current=null};return B.current!==null&&(document.addEventListener("pointermove",fe),document.addEventListener("pointerup",Ce,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",fe),document.removeEventListener("pointerup",Ce,{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,_]=hy(K=>{const fe=X().filter(Me=>!Me.disabled),Ce=fe.find(Me=>Me.ref.current===document.activeElement),be=my(fe,K,Ce);be&&setTimeout(()=>be.ref.current.focus())}),F=g.useCallback((K,fe,Ce)=>{const be=!xe.current&&!Ce;(T.value!==void 0&&T.value===fe||be)&&(Z(K),be&&(xe.current=!0))},[T.value]),ne=g.useCallback(()=>R==null?void 0:R.focus(),[R]),re=g.useCallback((K,fe,Ce)=>{const be=!xe.current&&!Ce;(T.value!==void 0&&T.value===fe||be)&&he(K)},[T.value]),ve=l==="popper"?Bc:Zv,Se=ve===Bc?{side:p,sideOffset:h,align:m,alignOffset:w,arrowPadding:x,collisionBoundary:k,collisionPadding:y,sticky:O,hideWhenDetached:S,avoidCollisions:C}:{};return ee.jsx(Gv,{scope:i,content:R,viewport:z,onViewportChange:U,itemRefCallback:F,selectedItem:q,onItemLeave:ne,itemTextRefCallback:re,focusSelectedItem:ie,selectedItemText:te,position:l,isPositioned:ye,searchRef:W,children:ee.jsx(Uv,{as:NC,allowPinchZoom:!0,children:ee.jsx(sv,{asChild:!0,trapped:T.open,onMountAutoFocus:K=>{K.preventDefault()},onUnmountAutoFocus:Je(a,K=>{var fe;(fe=T.trigger)==null||fe.focus({preventScroll:!0}),K.preventDefault()}),children:ee.jsx(ov,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:K=>K.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:ee.jsx(ve,{role:"listbox",id:T.contentId,"data-state":T.open?"open":"closed",dir:T.dir,onContextMenu:K=>K.preventDefault(),...P,...Se,onPlaced:()=>ce(!0),ref:H,style:{display:"flex",flexDirection:"column",outline:"none",...P.style},onKeyDown:Je(P.onKeyDown,K=>{const fe=K.ctrlKey||K.altKey||K.metaKey;if(K.key==="Tab"&&K.preventDefault(),!fe&&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(()=>ae(be)),K.preventDefault()}})})})})})})});Xv.displayName=_C;var LC="SelectItemAlignedPosition",Zv=g.forwardRef((n,r)=>{const{__scopeSelect:i,onPlaced:l,...a}=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)),k=ha(i),y=g.useRef(!1),O=g.useRef(!0),{viewport:S,selectedItem:C,selectedItemText:P,focusSelectedItem:T}=f,R=g.useCallback(()=>{if(c.trigger&&c.valueNode&&p&&m&&S&&C&&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,yn=Math.max(dt,q.width),Xt=window.innerWidth-cn,Zt=Mh(Oe,[cn,Math.max(cn,Xt-yn)]);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,yn=Math.max(dt,q.width),Xt=window.innerWidth-cn,Zt=Mh(Oe,[cn,Math.max(cn,Xt-yn)]);p.style.minWidth=dt+"px",p.style.right=Zt+"px"}const he=k(),X=window.innerHeight-cn*2,ye=S.scrollHeight,ce=window.getComputedStyle(m),xe=parseInt(ce.borderTopWidth,10),ae=parseInt(ce.paddingTop,10),ie=parseInt(ce.borderBottomWidth,10),j=parseInt(ce.paddingBottom,10),B=xe+ae+ye+j+ie,W=Math.min(C.offsetHeight*5,B),_=window.getComputedStyle(S),F=parseInt(_.paddingTop,10),ne=parseInt(_.paddingBottom,10),re=H.top+H.height/2-cn,ve=X-re,Se=C.offsetHeight/2,K=C.offsetTop+Se,fe=xe+ae+K,Ce=B-fe;if(fe<=re){const Me=he.length>0&&C===he[he.length-1].ref.current;p.style.bottom="0px";const Oe=m.clientHeight-S.offsetTop-S.offsetHeight,qe=Math.max(ve,Se+(Me?ne:0)+Oe+ie),dt=fe+qe;p.style.height=dt+"px"}else{const Me=he.length>0&&C===he[0].ref.current;p.style.top="0px";const qe=Math.max(re,xe+S.offsetTop+(Me?F:0)+Se)+Ce;p.style.height=qe+"px",S.scrollTop=fe-re+S.offsetTop}p.style.margin=`${cn}px 0`,p.style.minHeight=W+"px",p.style.maxHeight=X+"px",l==null||l(),requestAnimationFrame(()=>y.current=!0)}},[k,c.trigger,c.valueNode,p,m,S,C,P,c.dir,l]);At(()=>R(),[R]);const[L,z]=g.useState();At(()=>{m&&z(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(IC,{scope:i,contentWrapper:p,shouldExpandOnScrollRef:y,onScrollButtonChange:U,children:ee.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:ee.jsx(Xe.div,{...a,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});Zv.displayName=LC;var AC="SelectPopperPosition",Bc=g.forwardRef((n,r)=>{const{__scopeSelect:i,align:l="start",collisionPadding:a=cn,...c}=n,f=ma(i);return ee.jsx(T2,{...f,...c,ref:r,align:l,collisionPadding:a,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=AC;var[IC,vd]=Si(So,{}),Uc="SelectViewport",Jv=g.forwardRef((n,r)=>{const{__scopeSelect:i,nonce:l,...a}=n,c=Vr(Uc,i),f=vd(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:l}),ee.jsx(pa.Slot,{scope:i,children:ee.jsx(Xe.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:p,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:Je(a.onScroll,m=>{const w=m.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:k}=f;if(k!=null&&k.current&&x){const y=Math.abs(h.current-w.scrollTop);if(y>0){const O=window.innerHeight-cn*2,S=parseFloat(x.style.minHeight),C=parseFloat(x.style.height),P=Math.max(S,C);if(P<O){const T=P+y,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})})})]})});Jv.displayName=Uc;var ey="SelectGroup",[DC,FC]=Si(ey),zC=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,a=ld();return ee.jsx(DC,{scope:i,id:a,children:ee.jsx(Xe.div,{role:"group","aria-labelledby":a,...l,ref:r})})});zC.displayName=ey;var ty="SelectLabel",ny=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,a=FC(ty,i);return ee.jsx(Xe.div,{id:a.id,...l,ref:r})});ny.displayName=ty;var ia="SelectItem",[jC,ry]=Si(ia),oy=g.forwardRef((n,r)=>{const{__scopeSelect:i,value:l,disabled:a=!1,textValue:c,...f}=n,p=$r(ia,i),h=Vr(ia,i),m=p.value===l,[w,x]=g.useState(c??""),[k,y]=g.useState(!1),O=ct(r,T=>{var R;return(R=h.itemRefCallback)==null?void 0:R.call(h,T,l,a)}),S=ld(),C=g.useRef("touch"),P=()=>{a||(p.onValueChange(l),p.onOpenChange(!1))};if(l==="")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(jC,{scope:i,value:l,disabled:a,textId:S,isSelected:m,onItemTextChange:g.useCallback(T=>{x(R=>R||((T==null?void 0:T.textContent)??"").trim())},[]),children:ee.jsx(pa.ItemSlot,{scope:i,value:l,disabled:a,textValue:w,children:ee.jsx(Xe.div,{role:"option","aria-labelledby":S,"data-highlighted":k?"":void 0,"aria-selected":m&&k,"data-state":m?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...f,ref:O,onFocus:Je(f.onFocus,()=>y(!0)),onBlur:Je(f.onBlur,()=>y(!1)),onClick:Je(f.onClick,()=>{C.current!=="mouse"&&P()}),onPointerUp:Je(f.onPointerUp,()=>{C.current==="mouse"&&P()}),onPointerDown:Je(f.onPointerDown,T=>{C.current=T.pointerType}),onPointerMove:Je(f.onPointerMove,T=>{var R;C.current=T.pointerType,a?(R=h.onItemLeave)==null||R.call(h):C.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===" "||(EC.includes(T.key)&&P(),T.key===" "&&T.preventDefault())})})})})});oy.displayName=ia;var us="SelectItemText",iy=g.forwardRef((n,r)=>{const{__scopeSelect:i,className:l,style:a,...c}=n,f=$r(us,i),p=Vr(us,i),h=ry(us,i),m=MC(us,i),[w,x]=g.useState(null),k=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)}),y=w==null?void 0:w.textContent,O=g.useMemo(()=>ee.jsx("option",{value:h.value,disabled:h.disabled,children:y},h.value),[h.disabled,h.value,y]),{onNativeOptionAdd:S,onNativeOptionRemove:C}=m;return At(()=>(S(O),()=>C(O)),[S,C,O]),ee.jsxs(ee.Fragment,{children:[ee.jsx(Xe.span,{id:h.textId,...c,ref:k}),h.isSelected&&f.valueNode&&!f.valueNodeHasChildren?xs.createPortal(c.children,f.valueNode):null]})});iy.displayName=us;var sy="SelectItemIndicator",ly=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n;return ry(sy,i).isSelected?ee.jsx(Xe.span,{"aria-hidden":!0,...l,ref:r}):null});ly.displayName=sy;var Hc="SelectScrollUpButton",ay=g.forwardRef((n,r)=>{const i=Vr(Hc,n.__scopeSelect),l=vd(Hc,n.__scopeSelect),[a,c]=g.useState(!1),f=ct(r,l.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]),a?ee.jsx(cy,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop-h.offsetHeight)}}):null});ay.displayName=Hc;var $c="SelectScrollDownButton",uy=g.forwardRef((n,r)=>{const i=Vr($c,n.__scopeSelect),l=vd($c,n.__scopeSelect),[a,c]=g.useState(!1),f=ct(r,l.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]),a?ee.jsx(cy,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop+h.offsetHeight)}}):null});uy.displayName=$c;var cy=g.forwardRef((n,r)=>{const{__scopeSelect:i,onAutoScroll:l,...a}=n,c=Vr("SelectScrollButton",i),f=g.useRef(null),p=ha(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,...a,ref:r,style:{flexShrink:0,...a.style},onPointerDown:Je(a.onPointerDown,()=>{f.current===null&&(f.current=window.setInterval(l,50))}),onPointerMove:Je(a.onPointerMove,()=>{var m;(m=c.onItemLeave)==null||m.call(c),f.current===null&&(f.current=window.setInterval(l,50))}),onPointerLeave:Je(a.onPointerLeave,()=>{h()})})}),BC="SelectSeparator",dy=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n;return ee.jsx(Xe.div,{"aria-hidden":!0,...l,ref:r})});dy.displayName=BC;var Vc="SelectArrow",UC=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,a=ma(i),c=$r(Vc,i),f=Vr(Vc,i);return c.open&&f.position==="popper"?ee.jsx(O2,{...a,...l,ref:r}):null});UC.displayName=Vc;var HC="SelectBubbleInput",fy=g.forwardRef(({__scopeSelect:n,value:r,...i},l)=>{const a=g.useRef(null),c=ct(l,a),f=I2(r);return g.useEffect(()=>{const p=a.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:{..._v,...i.style},ref:c,defaultValue:r})});fy.displayName=HC;function py(n){return n===""||n===void 0}function hy(n){const r=go(n),i=g.useRef(""),l=g.useRef(0),a=g.useCallback(f=>{const p=i.current+f;r(p),(function h(m){i.current=m,window.clearTimeout(l.current),m!==""&&(l.current=window.setTimeout(()=>h(""),1e3))})(p)},[r]),c=g.useCallback(()=>{i.current="",window.clearTimeout(l.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(l.current),[]),[i,a,c]}function my(n,r,i){const a=r.length>1&&Array.from(r).every(m=>m===r[0])?r[0]:r,c=i?n.indexOf(i):-1;let f=$C(n,Math.max(c,0));a.length===1&&(f=f.filter(m=>m!==i));const h=f.find(m=>m.textValue.toLowerCase().startsWith(a.toLowerCase()));return h!==i?h:void 0}function $C(n,r){return n.map((i,l)=>n[(r+l)%n.length])}var wE=Hv,xE=Vv,SE=Qv,CE=Kv,kE=qv,EE=Yv,bE=Jv,RE=ny,PE=oy,ME=iy,TE=ly,OE=ay,_E=uy,NE=dy;const em=n=>{let r;const i=new Set,l=(m,w)=>{const x=typeof m=="function"?m(r):m;if(!Object.is(x,r)){const k=r;r=w??(typeof x!="object"||x===null)?x:Object.assign({},r,x),i.forEach(y=>y(r,k))}},a=()=>r,p={setState:l,getState:a,getInitialState:()=>h,subscribe:m=>(i.add(m),()=>i.delete(m))},h=r=n(l,a,p);return p},VC=(n=>n?em(n):em),WC=n=>n;function QC(n,r=WC){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=VC(n),i=l=>QC(r,l);return Object.assign(i,r),i},LE=(n=>n?tm(n):tm);export{lk as $,ak as A,hk as B,yk as C,Wk as D,Fk as E,fk as F,Ok as G,Ak as H,CE as I,Hr as J,Dk as K,RE as L,Uk as M,F1 as N,LE as O,kE as P,ek as Q,wE as R,OE as S,xE as T,tk as U,bE as V,XC as W,f1 as X,GC as Y,qC as Z,ZC as _,ok as a,At as a$,wk as a0,Tk as a1,zk as a2,dk as a3,Zk as a4,bk as a5,Kk as a6,mk as a7,cE as a8,dE as a9,P2 as aA,ld as aB,ct as aC,Xe as aD,Je as aE,M2 as aF,Sv as aG,Ov as aH,sd as aI,B2 as aJ,Uv as aK,ea as aL,Xx as aM,sv as aN,ov as aO,T2 as aP,O2 as aQ,jk as aR,Lk as aS,aE as aT,eE as aU,Ik as aV,Ck as aW,mE as aX,hE as aY,Vk as aZ,pE as a_,pk as aa,pm as ab,kk as ac,lE as ad,_k as ae,Mk as af,nE as ag,Sk as ah,Gk as ai,Hk as aj,yE as ak,U2 as al,gE as am,vE as an,uE as ao,Jk as ap,qk as aq,Xk as ar,Rm as as,YC as at,Rk as au,Pk as av,fE as aw,rE as ax,xk as ay,qh as az,Qm as b,Bk as b0,Qk as b1,ck as b2,Nk as b3,Rw as c,rk as d,sk as e,gk as f,_E as g,EE as h,PE as i,ee as j,TE as k,vk as l,ME as m,NE as n,SE as o,Ek as p,sE as q,g as r,tE as s,ik as t,nk as u,$k as v,iE as w,Yk as x,uk as y,oE as z};
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};