feat(ui): integrate official shadcn/ui + Radix primitives + cmdk + cva in src/components/ui

Browse Source
This commit is contained in:
Yin Kou committed 2026-11-07 00:40:25 +08:00
1 parent cbc47336d6
commit 07d2050c5f
21 files changed
+1590 -455

No files matched your search

+194
View File
@@ -0,0 +1,194 @@
var Ry=i=>{throw TypeError(i)};var jy=(i,c,r)=>c.has(i)||Ry("Cannot "+r);var pt=(i,c,r)=>(jy(i,c,"read from private field"),r?r.call(i):c.get(i)),Dy=(i,c,r)=>c.has(i)?Ry("Cannot add the same private member more than once"):c instanceof WeakSet?c.add(i):c.set(i,r),Is=(i,c,r,o)=>(jy(i,c,"write to private field"),o?o.call(i,r):c.set(i,r),r);function Nx(i,c){for(var r=0;r<c.length;r++){const o=c[r];if(typeof o!="string"&&!Array.isArray(o)){for(const f in o)if(f!=="default"&&!(f in i)){const m=Object.getOwnPropertyDescriptor(o,f);m&&Object.defineProperty(i,f,m.get?m:{enumerable:!0,get:()=>o[f]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))o(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const v of m.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&o(v)}).observe(document,{childList:!0,subtree:!0});function r(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function o(f){if(f.ep)return;f.ep=!0;const m=r(f);fetch(f.href,m)}})();function pg(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Fs={exports:{}},ii={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var My;function Cx(){if(My)return ii;My=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(o,f,m){var v=null;if(m!==void 0&&(v=""+m),f.key!==void 0&&(v=""+f.key),"key"in f){m={};for(var p in f)p!=="key"&&(m[p]=f[p])}else m=f;return f=m.ref,{$$typeof:i,type:o,key:v,ref:f!==void 0?f:null,props:m}}return ii.Fragment=c,ii.jsx=r,ii.jsxs=r,ii}var Uy;function Tx(){return Uy||(Uy=1,Fs.exports=Cx()),Fs.exports}var d=Tx(),$s={exports:{}},ve={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Hy;function _x(){if(Hy)return ve;Hy=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),T=Symbol.for("react.view_transition"),B=Symbol.iterator;function D(S){return S===null||typeof S!="object"?null:(S=B&&S[B]||S["@@iterator"],typeof S=="function"?S:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,Z={};function Q(S,z,J){this.props=S,this.context=z,this.refs=Z,this.updater=J||M}Q.prototype.isReactComponent={},Q.prototype.setState=function(S,z){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,z,"setState")},Q.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function V(){}V.prototype=Q.prototype;function P(S,z,J){this.props=S,this.context=z,this.refs=Z,this.updater=J||M}var F=P.prototype=new V;F.constructor=P,H(F,Q.prototype),F.isPureReactComponent=!0;var G=Array.isArray;function U(){}var k={H:null,A:null,T:null,S:null},ce=Object.prototype.hasOwnProperty;function xe(S,z,J){var I=J.ref;return{$$typeof:i,type:S,key:z,ref:I!==void 0?I:null,props:J}}function he(S,z){return xe(S.type,z,S.props)}function se(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function je(S){var z={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(J){return z[J]})}var ze=/\/+/g;function ye(S,z){return typeof S=="object"&&S!==null&&S.key!=null?je(""+S.key):z.toString(36)}function K(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(U,U):(S.status="pending",S.then(function(z){S.status==="pending"&&(S.status="fulfilled",S.value=z)},function(z){S.status==="pending"&&(S.status="rejected",S.reason=z)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function W(S,z,J,I,de){var te=typeof S;(te==="undefined"||te==="boolean")&&(S=null);var Se=!1;if(S===null)Se=!0;else switch(te){case"bigint":case"string":case"number":Se=!0;break;case"object":switch(S.$$typeof){case i:case c:Se=!0;break;case N:return Se=S._init,W(Se(S._payload),z,J,I,de)}}if(Se)return de=de(S),Se=I===""?"."+ye(S,0):I,G(de)?(J="",Se!=null&&(J=Se.replace(ze,"$&/")+"/"),W(de,z,J,"",function(Mt){return Mt})):de!=null&&(se(de)&&(de=he(de,J+(de.key==null||S&&S.key===de.key?"":(""+de.key).replace(ze,"$&/")+"/")+Se)),z.push(de)),1;Se=0;var ae=I===""?".":I+":";if(G(S))for(var fe=0;fe<S.length;fe++)I=S[fe],te=ae+ye(I,fe),Se+=W(I,z,J,te,de);else if(fe=D(S),typeof fe=="function")for(S=fe.call(S),fe=0;!(I=S.next()).done;)I=I.value,te=ae+ye(I,fe++),Se+=W(I,z,J,te,de);else if(te==="object"){if(typeof S.then=="function")return W(K(S),z,J,I,de);throw z=String(S),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return Se}function ie(S,z,J){if(S==null)return S;var I=[],de=0;return W(S,I,"","",function(te){return z.call(J,te,de++)}),I}function ge(S){if(S._status===-1){var z=S._result,J=z();J.then(function(I){(S._status===0||S._status===-1)&&(S._status=1,S._result=I,J.status===void 0&&(J.status="fulfilled",J.value=I))},function(I){(S._status===0||S._status===-1)&&(S._status=2,S._result=I,J.status===void 0&&(J.status="rejected",J.reason=I))}),S._status===-1&&(S._status=0,S._result=J)}if(S._status===1)return S._result.default;throw S._result}var q=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)};function Ce(S){var z=k.T,J={};J.types=z!==null?z.types:null,k.T=J;try{var I=S(),de=k.S;de!==null&&de(J,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(U,q)}catch(te){q(te)}finally{z!==null&&J.types!==null&&(z.types=J.types),k.T=z}}function X(S){var z=k.T;if(z!==null){var J=z.types;J===null?z.types=[S]:J.indexOf(S)===-1&&J.push(S)}else Ce(X.bind(null,S))}var re={map:ie,forEach:function(S,z,J){ie(S,function(){z.apply(this,arguments)},J)},count:function(S){var z=0;return ie(S,function(){z++}),z},toArray:function(S){return ie(S,function(z){return z})||[]},only:function(S){if(!se(S))throw Error("Line truncated
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ky;function wx(){return ky||(ky=1,(function(i){function c(K,W){var ie=K.length;K.push(W);e:for(;0<ie;){var ge=ie-1>>>1,q=K[ge];if(0<f(q,W))K[ge]=W,K[ie]=q,ie=ge;else break e}}function r(K){return K.length===0?null:K[0]}function o(K){if(K.length===0)return null;var W=K[0],ie=K.pop();if(ie!==W){K[0]=ie;e:for(var ge=0,q=K.length,Ce=q>>>1;ge<Ce;){var X=2*(ge+1)-1,re=K[X],S=X+1,z=K[S];if(0>f(re,ie))S<q&&0>f(z,re)?(K[ge]=z,K[S]=ie,ge=S):(K[ge]=re,K[X]=ie,ge=X);else if(S<q&&0>f(z,ie))K[ge]=z,K[S]=ie,ge=S;else break e}}return W}function f(K,W){var ie=K.sortIndex-W.sortIndex;return ie!==0?ie:K.id-W.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var v=Date,p=v.now();i.unstable_now=function(){return v.now()-p}}var E=[],b=[],N=1,y=null,T=3,B=!1,D=!1,M=!1,H=!1,Z=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function P(K){for(var W=r(b);W!==null;){if(W.callback===null)o(b);else if(W.startTime<=K)o(b),W.sortIndex=W.expirationTime,c(E,W);else break;W=r(b)}}function F(K){if(M=!1,P(K),!D)if(r(E)!==null)D=!0,G||(G=!0,se());else{var W=r(b);W!==null&&ye(F,W.startTime-K)}}var G=!1,U=-1,k=5,ce=-1;function xe(){return H?!0:!(i.unstable_now()-ce<k)}function he(){if(H=!1,G){var K=i.unstable_now();ce=K;var W=!0;try{e:{D=!1,M&&(M=!1,Q(U),U=-1),B=!0;var ie=T;try{t:{for(P(K),y=r(E);y!==null&&!(y.expirationTime>K&&xe());){var ge=y.callback;if(typeof ge=="function"){y.callback=null,T=y.priorityLevel;var q=ge(y.expirationTime<=K);if(K=i.unstable_now(),typeof q=="function"){y.callback=q,P(K),W=!0;break t}y===r(E)&&o(E),P(K)}else o(E);y=r(E)}if(y!==null)W=!0;else{var Ce=r(b);Ce!==null&&ye(F,Ce.startTime-K),W=!1}}break e}finally{y=null,T=ie,B=!1}W=void 0}}finally{W?se():G=!1}}}var se;if(typeof V=="function")se=function(){V(he)};else if(typeof MessageChannel<"u"){var je=new MessageChannel,ze=je.port2;je.port1.onmessage=he,se=function(){ze.postMessage(null)}}else se=function(){Z(he,0)};function ye(K,W){U=Z(function(){K(i.unstable_now())},W)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(K){K.callback=null},i.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<K?Math.floor(1e3/K):5},i.unstable_getCurrentPriorityLevel=function(){return T},i.unstable_next=function(K){switch(T){case 1:case 2:case 3:var W=3;break;default:W=T}var ie=T;T=W;try{return K()}finally{T=ie}},i.unstable_requestPaint=function(){H=!0},i.unstable_runWithPriority=function(K,W){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var ie=T;T=K;try{return W()}finally{T=ie}},i.unstable_scheduleCallback=function(K,W,ie){var ge=i.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?ge+ie:ge):ie=ge,K){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=ie+q,K={id:N++,callback:W,priorityLevel:K,startTime:ie,expirationTime:q,sortIndex:-1},ie>ge?(K.sortIndex=ie,c(b,K),r(E)===null&&K===r(b)&&(M?(Q(U),U=-1):M=!0,ye(F,ie-ge))):(K.sortIndex=q,c(E,K),D||B||(D=!0,G||(G=!0,se()))),K},i.unstable_shouldYield=xe,i.unstable_wrapCallback=function(K){var W=T;return function(){var ie=T;T=W;try{return K.apply(this,arguments)}finally{T=ie}}}})(ef)),ef}var Ly;function Ox(){return Ly||(Ly=1,Ws.exports=wx()),Ws.exports}var tf={exports:{}},bt={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Gy;function Ax(){if(Gy)return bt;Gy=1;var i=zf();function c(N){var y="https://react.dev/errors/"+N;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var T=2;T<arguments.length;T++)y+="&args[]="+encodeURIComponent(arguments[T])}return"Minified React error #"+N+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var o={d:{f:r,r:function(){throw Error(c(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},f=Symbol.for("react.portal"),m=Symbol.for("react.recoverable"),v=Symbol.for("react.optimistic_key");function p(N,y,T){var B=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:B==null?null:B===v?v:""+B,children:N,containerInfo:y,implementation:T}}var E=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function b(N,y){if(N==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return bt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,bt.browser=function(N){return{$$typeof:m,_reason:N}},bt.createPortal=function(N,y){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(c(299));return p(N,y,null,T)},bt.flushSync=function(N){var y=E.T,T=o.p;try{if(E.T=null,o.p=2,N)return N()}finally{E.T=y,o.p=T,o.d.f()}},bt.preconnect=function(N,y){typeof N=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,o.d.C(N,y))},bt.prefetchDNS=function(N){typeof N=="string"&&o.d.D(N)},bt.preinit=function(N,y){if(typeof N=="string"&&y&&typeof y.as=="string"){var T=y.as,B=b(T,y.crossOrigin),D=typeof y.integrity=="string"?y.integrity:void 0,M=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;T==="style"?o.d.S(N,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:B,integrity:D,fetchPriority:M}):T==="script"&&o.d.X(N,{crossOrigin:B,integrity:D,fetchPriority:M,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},bt.preinitModule=function(N,y){if(typeof N=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var T=b(y.as,y.crossOrigin);o.d.M(N,{crossOrigin:T,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}}else y==null&&o.d.M(N)},bt.preload=function(N,y){if(typeof N=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var T=y.as,B=b(T,y.crossOrigin);o.d.L(N,T,{crossOrigin:B,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},bt.preloadModule=function(N,y){if(typeof N=="string")if(y){var T=b(y.as,y.crossOrigin);o.d.m(N,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:T,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}else o.d.m(N)},bt.requestFormReset=function(N){o.d.r(N)},bt.unstable_batchedUpdates=function(N,y){return N(y)},bt.useFormState=function(N,y,T){return E.H.useFormState(N,y,T)},bt.useFormStatus=function(){return E.H.useHostTransitionStatus()},bt.version="19.3.1",bt}var Yy;function bg(){if(Yy)return tf.exports;Yy=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(c){console.error(c)}}return i(),tf.exports=Ax(),tf.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var qy;function zx(){if(qy)return ci;qy=1;var i=Ox(),c=zf(),r=bg();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){for(var t=e,l=t;l&&!l.alternate;)t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function v(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 p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function E(e){if(m(e)!==e)throw Error(o(188))}function b(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(o(188));return t!==e?null:e}for(var l=e,n=t;;){var a=l.return;if(a===null)break;var u=a.alternate;if(u===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===u.child){for(u=a.child;u;){if(u===l)return E(a),e;if(u===n)return E(a),t;u=u.sibling}throw Error(o(188))}if(l.return!==n.return)l=a,n=u;else{for(var s=!1,h=a.child;h;){if(h===l){s=!0,l=a,n=u;break}if(h===n){s=!0,n=a,l=u;break}h=h.sibling}if(!s){for(h=u.child;h;){if(h===l){s=!0,l=u,n=a;break}if(h===n){s=!0,n=u,l=a;break}h=h.sibling}if(!s)throw Error(o(189))}}if(l.alternate!==n)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?e:t}function N(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=N(e),t!==null)return t;e=e.sibling}return null}function y(e,t,l,n,a,u){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&l(e,n,a,u)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&y(e.child,t,l,n,a,u))return!0;e=e.sibling}return!1}function T(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function B(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function D(e){var t=[null,null],l=T(e);return l===null||M(t,e,l.child,{foundSelf:!1}),t}function M(e,t,l,n){for(;l!==null;){if(l===t)n.foundSelf=!0;else if(l.tag===5||l.tag===27||l.tag===6){if(n.foundSelf)return e[1]=l,!0;e[0]=l}else if((l.tag!==22||l.memoizedState===null)&&M(e,t,l.child,n))return!0;l=l.sibling}return!1}function H(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(o(559))}}var Z=null,Q=null;function V(e,t,l){return e===l?!0:e===t?(Z=e,!0):!1}function P(e,t,l){return e===l?(Q=e,!1):e===t?(Q!==null&&(Z=e),!0):!1}function F(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function G(e,t,l){for(var n=0,a=e;a;a=l(a))n++;a=0;for(var u=t;u;u=l(u))a++;for(;0<n-a;)e=l(e),n--;for(;0<a-n;)t=l(t),a--;for(;n--;){if(e===t||t!==null&&e===t.alternate)return e;e=l(e),t=l(t)}return null}var U=Object.assign,k=Symbol.for("react.element"),ce=Symbol.for("react.transitional.element"),xe=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),se=Symbol.for("react.strict_mode"),je=Symbol.for("react.profiler"),ze=Symbol.for("react.consumer"),ye=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),ge=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),Ce=Symbol.for("react.activity"),X=Symbol.for("react.legacy_hidden"),re=Symbol.for("react.memo_cache_sentinel"),S=Symbol.for("react.view_transition"),z=Symbol.for("react.recoverable"),J=Symbol.iterator;function I(e){return e===null||typeof e!="object"?null:(e=J&&e[J]||e["@@iterator"],typeof e=="function"?e:null)}var de=Symbol.for("react.client.reference");function te(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===de?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case he:return"Fragment";case je:return"Profiler";case se:return"StrictMode";case W:return"Suspense";case ie:return"SuspenseList";case Ce:return"Activity";case S:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case xe:return"Portal";case ye:return e.displayName||"Context";case ze:return(e._context.displayName||"Context")+".Consumer";case K:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ge:return t=e.displayName||null,t!==null?t:te(e.type)||"Memo";case q:t=e._payload,e=e._init;try{return te(e(t))}catch{}}return null}var Se=Array.isArray,ae=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Mt={pending:!1,data:null,method:null,action:null},Il=[],daLine truncated
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+vr+e+cd}var yr=!1;function gr(e,t){if(!e||yr)return"";yr=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch($){var _=$}Reflect.construct(e,[],Y)}else{try{Y.call()}catch($){_=$}Y=!1;try{var R=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),Y=!0,new e}finally{Y&&(R!==void 0?Object.defineProperty(e.prototype,"props",R):delete e.prototype.props)}}}else{try{throw Error()}catch($){_=$}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch($){if($&&_&&typeof $.stack=="string")return[$.stack,_.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=n.DetermineComponentFrameRoot(),s=u[0],h=u[1];if(s&&h){var x=s.split(`
`),O=h.split(`
`);for(a=n=0;n<x.length&&!x[n].includes("DetermineComponentFrameRoot");)n++;for(;a<O.length&&!O[a].includes("DetermineComponentFrameRoot");)a++;if(n===x.length||a===O.length)for(n=x.length-1,a=O.length-1;1<=n&&0<=a&&x[n]!==O[a];)a--;for(;1<=n&&0<=a;n--,a--)if(x[n]!==O[a]){if(n!==1||a!==1)do if(n--,a--,0>a||x[n]!==O[a]){var j=`
`+x[n].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),j}while(1<=n&&0<=a);break}}}finally{yr=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?$l(l):""}function w0(e,t){switch(e.tag){case 26:case 27:case 5:return $l(e.type);case 16:return $l("Lazy");case 13:return e.child!==t&&t!==null?$l("Suspense Fallback"):$l("Suspense");case 19:return $l("SuspenseList");case 0:case 15:return gr(e.type,!1);case 11:return gr(e.type.render,!1);case 1:return gr(e.type,!0);case 31:return $l("Activity");case 30:return $l("ViewTransition");default:return""}}function rd(e){try{var t="",l=null;do t+=w0(e,l),l=e,e=e.return;while(e);return t}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}var pr=Object.prototype.hasOwnProperty,br=i.unstable_scheduleCallback,xr=i.unstable_cancelCallback,O0=i.unstable_shouldYield,A0=i.unstable_requestPaint,Ut=i.unstable_now,z0=i.unstable_getCurrentPriorityLevel,od=i.unstable_ImmediatePriority,sd=i.unstable_UserBlockingPriority,pi=i.unstable_NormalPriority,R0=i.unstable_LowPriority,fd=i.unstable_IdlePriority,j0=i.log,D0=i.unstable_setDisableYieldValue,mu=null,Ht=null;function Pl(e){if(typeof j0=="function"&&D0(e),Ht&&typeof Ht.setStrictMode=="function")try{Ht.setStrictMode(mu,e)}catch{}}var Bt=Math.clz32?Math.clz32:H0,M0=Math.log,U0=Math.LN2;function H0(e){return e>>>=0,e===0?32:31-(M0(e)/U0|0)|0}var bi=256,xi=262144,Si=4194304;function Mn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ei(e,t,l){var n=e.pendingLanes;if(n===0)return 0;var a=0,u=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var h=n&134217727;return h!==0?(n=h&~u,n!==0?a=Mn(n):(s&=h,s!==0?a=Mn(s):l||(l=h&~e,l!==0&&(a=Mn(l))))):(h=n&~u,h!==0?a=Mn(h):s!==0?a=Mn(s):l||(l=n&~e,l!==0&&(a=Mn(l)))),a===0?0:t!==0&&t!==a&&(t&u)===0&&(u=a&-a,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:a}function hu(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function dd(e,t){(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var n=31-Bt(l),a=1<<n;t|=e[n],l&=~a}return t}function B0(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function md(){var e=Si;return Si<<=1,(Si&62914560)===0&&(Si=4194304),e}function Sr(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function vu(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function k0(e,t,l,n,a,u){var s=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var h=e.entanglements,x=e.expirationTimes,O=e.hiddenUpdates;for(l=s&~l;0<l;){var j=31-Bt(l),Y=1<<j;h[j]=0,x[j]=-1;var _=O[j];if(_!==null)for(O[j]=null,j=0;j<_.length;j++){var R=_[j];R!==null&&(R.lane&=-536870913)}l&=~Y}n!==0&&hd(e,n,0),u!==0&&a===0&&e.tag!==0&&(e.suspendedLanes|=u&~(s&~t))}function hd(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-Bt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|l&261930}function vd(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var n=31-Bt(l),a=1<<n;a&t|e[n]&t&&(e[n]|=t),l&=~a}}function yd(e,t){var l=t&-t;return l=(l&42)!==0?1:Er(l),(l&(e.suspendedLanes|t))!==0?0:l}function Er(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Nr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function gd(){var e=fe.p;return e!==0?e:(e=window.event,e===void 0?32:Cy(e.type))}function pd(e,t){var l=fe.p;try{return fe.p=e,t()}finally{fe.p=l}}var zl=Math.random().toString(36).slice(2),dt="__reactFiber$"+zl,_t="__reactProps$"+zl,ha="__reactContainer$"+zl,bd="__reactEvents$"+zl,L0="__reactListeners$"+zl,G0="__reactHandles$"+zl,xd="__reactResources$"+zl,yu="__reactMarker$"+zl,Ni="__reactLoad$"+zl;function Ci(e){delete e[dt],delete e[_t],delete e[L0],delete e[G0]}function Un(e){var t;if(t=e[dt])return t;for(var l=e.parentNode;l;){if(t=l[ha]||l[dt]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=ay(e);e!==null;){if(l=e[dt])return l;e=ay(e)}return t}e=l,l=e.parentNode}return null}function va(e){if(e=e[dt]||e[ha]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function gu(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function ya(e){var t=e[xd];return t||(t=e[xd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ut(e){e[yu]=!0}function Sd(e){e[Ni]=void 0}var Ed=new Set,Nd={};function Hn(e,t){ga(e,t),ga(e+"Capture",t)}funct Line truncated
`).replace(w1,"")}function kv(e,t){return t=Bv(t),Bv(e)===t}function Be(e,t,l,n,a,u){switch(l){case"children":if(typeof n=="string")t==="body"||t==="textarea"&&n===""||ba(e,n);else if(typeof n=="number"||typeof n=="bigint")t!=="body"&&ba(e,""+n);else return;break;case"className":_i(e,"class",n);break;case"tabIndex":_i(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":_i(e,l,n);break;case"style":Dd(e,n,u);return;case"data":if(t!=="object"){_i(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=wi(n),e.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(t!=="input"&&Be(e,t,"name",a.name,a,null),Be(e,t,"formEncType",a.formEncType,a,null),Be(e,t,"formMethod",a.formMethod,a,null),Be(e,t,"formTarget",a.formTarget,a,null)):(Be(e,t,"encType",a.encType,a,null),Be(e,t,"method",a.method,a,null),Be(e,t,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=wi(n),e.setAttribute(l,n);break;case"onClick":n!=null&&(e.onclick=yl);return;case"onScroll":n!=null&&_e("scroll",e);return;case"onScrollEnd":n!=null&&_e("scrollend",e);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));(u!=null?u.__html:void 0)!==l&&(e.innerHTML=l)}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}l=wi(n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,n):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":n===!0?e.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,n):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(l,n):e.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(l):e.setAttribute(l,n);break;case"popover":_e("beforetoggle",e),_e("toggle",e),Ti(e,"popover",n);break;case"xlinkActuate":Rl(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Rl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Rl(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Rl(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Rl(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Rl(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Rl(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Rl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Rl(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Ti(e,"is",n);break;case"innerText":case"textContent":return;default:if(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")l=Z0.get(l)||l,Ti(e,l,n);else return}Re=!0}function _s(e,t,l,n,a,u){switch(l){case"style":Dd(e,n,u);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));(u!=null?u.__html:void 0)!==l&&(e.innerHTML=l)}}break;case"children":if(typeof n=="string")ba(e,n);else if(typeof n=="number"||typeof n=="bigint")ba(e,""+n);else return;break;case"onScroll":n!=null&&_e("scroll",e);return;case"onScrollEnd":n!=null&&_e("scro Line truncated
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vx=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Eg=(...i)=>i.filter((c,r,o)=>!!c&&c.trim()!==""&&o.indexOf(c)===r).join(" ").trim();/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var Xx={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qx=g.forwardRef(({color:i="currentColor",size:c=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:f="",children:m,iconNode:v,...p},E)=>g.createElement("svg",{ref:E,...Xx,width:c,height:c,stroke:i,strokeWidth:o?Number(r)*24/Number(c):r,className:Eg("lucide",f),...p},[...v.map(([b,N])=>g.createElement(b,N)),...Array.isArray(m)?m:[m]]));/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xt=(i,c)=>{const r=g.forwardRef(({className:o,...f},m)=>g.createElement(Qx,{ref:m,iconNode:c,className:Eg(`lucide-${Vx(i)}`,o),...f}));return r.displayName=`${i}`,r};/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zx=[["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"}]],Ng=xt("BookOpen",Zx);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kx=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Jx=xt("Check",Kx);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ix=[["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"}]],Fx=xt("EyeOff",Ix);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $x=[["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"}]],Px=xt("Eye",$x);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wx=[["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"}]],Zy=xt("KeyRound",Wx);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eS=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],tS=xt("Layers",eS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lS=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],nS=xt("LayoutGrid",lS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aS=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],uS=xt("Lock",aS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iS=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],cS=xt("Moon",iS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rS=[["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"}]],oS=xt("Palette",rS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sS=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],fS=xt("PanelsTopLeft",sS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dS=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Rf=xt("Search",dS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mS=[["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"}]],hS=xt("ShieldCheck",mS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vS=[["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"}]],yS=xt("Sparkles",vS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gS=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],pS=xt("Sun",gS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bS=[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]],jf=xt("Terminal",bS);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xS=[["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"}]],SS=xt("User",xS);var ES=Object.defineProperty,Df=(i,c)=>ES(i,"name",{value:c,configurable:!0});function vf(i,c){if(typeof i=="function")return i(c);i!=null&&(i.current=c)}Df(vf,"setRef");function ua(...i){return c=>{let r=!1;const o=i.map(f=>{const m=vf(f,c);return!r&&typeof m=="function"&&(r=!0),m});if(r)return()=>{for(let f=0;f<o.length;f++){const m=o[f];typeof m=="function"?m():vf(i[f],null)}}}}Df(ua,"composeRefs");function Dt(...i){return g.useCallback(ua(...i),i)}Df(Dt,"useComposedRefs");var NS=Object.defineProperty,Kt=(i,c)=>NS(i,"name",{value:c,configurable:!0});function An(i){const c=g.forwardRef((r,o)=>{let{children:f,...m}=r,v=null,p=!1;const E=[];f=Ag(f),g.Children.forEach(f,T=>{var B;if(wg(T)){p=!0;const D=T;let M="child"in D.props?D.props.child:D.props.children;for(;Mf(M)&&typeof ar=="function";)M=ar(M._payload);v=_S(D,M),E.push((B=v==null?void 0:v.props)==null?void 0:B.children)}else E.push(T)}),v?v=g.cloneElement(v,void 0,E):!p&&g.Children.count(f)===1&&g.isValidElement(f)&&(v=f);const b=v?_g(v):void 0,N=Dt(o,b);if(!v){if(f||f===0)throw new Error(p?AS(i):OS(i));return f}const y=Tg(m,v.props??{});return v.type!==g.Fragment&&(y.ref=o?N:b),g.cloneElement(v,y)});return c.displayName=`${i}.Slot`,c}Kt(An,"createSlot");var CS=An("Slot"),Cg=Symbol.for("radix.slottable");function TS(i){const c=Kt(r=>"child"in r?r.children(r.child):r.children,"Slottable");return c.displayName=`${i}.Slottable`,c.__radixId=Cg,c}Kt(TS,"createSlottable");var _S=Kt((i,c)=>"child"in i.props?g.isValidElement(c)?g.cloneElement(c,void 0,i.props.children(c.props.children)):null:g.isValidElement(c)?c:null,"getSlottableElementFromSlottable");function Tg(i,c){const r={...c};for(const o in c){const f=i[o],m=c[o];/^on[A-Z]/.test(o)?f&&m?r[o]=(...p)=>{const E=m(...p);return f(...p),E}:f&&(r[o]=f):o==="style"?r[o]={...f,...m}:o==="className"?r[o]=[f,m].filter(Boolean).join(" "):o==="aria-describedby"&&(r[o]=zg(m,f))}return{...i,...r}}Kt(Tg,"mergeProps");function _g(i){var o,f;let c=(o=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?i.ref:(c=(f=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}Kt(_g,"getElementRef");function wg(i){return g.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===Cg}Kt(wg,"isSlottable");var wS=Symbol.for("react.lazy");function Mf(i){return i!=null&&typeof i=="object"&&"$$typeof"in i&&i.$$typeof===wS&&"_payload"in i&&Og(i._payload)}Kt(Mf,"isLazyComponent");function Og(i){return typeof i=="object"&&i!==null&&"then"in i}Kt(Og,"isPromiseLike");function Ag(i){let c=i;for(;Mf(c)&&typeof ar=="function";)c=ar(c._payload);return c}Kt(Ag,"useUnwrappedLazy");function zg(...i){const c=new Set;for(const r of i)if(typeof r=="string")for(const o of String(r).trim().split(/\s+/))o&&c.add(o);return c.size>0?Array.from(c).join(" "):void 0}Kt(zg,"concatAriaDescribedby");var OS=Kt(i=>`${i} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),AS=Kt(i=>`${i} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),ar=ra[" use ".trim().toString()];function Rg(i){var c,r,o="";if(typeof i=="string"||typeof i=="number")o+=i;else if(typeof i=="object")if(Array.isArray(i)){var f=i.length;for(c=0;c<f;c++)i[c]&&(r=Rg(i[c]))&&(o&&(o+=" "),o+=r)}else for(r in i)i[r]&&(o&&(o+=" "),o+=r);return o}function jg(){for(var i,c,r=0,o="",f=arguments.length;r<f;r++)(i=arguments[r])&&(c=Rg(i))&&(o&&(o+=" "),o+=c);return o}const Ky=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,Jy=jg,Dg=(i,c)=>r=>{var o;if((c==null?void 0:c.variants)==null)return Jy(i,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:f,defaultVariants:m}=c,v=Object.keys(f).map(b=>{const N=r==null?void 0:r[b],y=m==null?void 0:m[b];if(N===null)return null;const T=Ky(N)||Ky(y);return f[b][T]}),p=r&&Object.entries(r).reduce((b,N)=>{let[y,T]=N;return T===void 0||(b[y]=T),b},{}),E=c==null||(o=c.compoundVariants)===null||o===void 0?void 0:o.reduce((b,N)=>{let{class:y,className:T,...B}=N;return Object.entries(B).every(D=>{let[M,H]=D;return Array.isArray(H)?H.includes({...m,...p}[M]):{...m,...p}[M]===H})?[...b,y,T]:b},[]);return Jy(i,v,E,r==null?void 0:r.class,r==null?void 0:r.className)},zS=(i,c)=>{const r=new Array(i.length+c.length);for(let o=0;o<i.length;o++)r[o]=i[o];for(let o=0;o<c.length;o++)r[i.length+o]=c[o];return r},RS=(i,c)=>({classGroupId:i,validator:c}),Mg=(i=new Map,c=null,r)=>({nextPart:i,validators:c,classGroupId:r}),ur="-",Iy=[],jS="arbitrary..",DS=i=>{const c=US(i),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=i;return{getClassGroupId:v=>{if(v.startsWith("[")&&v.endsWith("]"))return MS(v);const p=v.splitLine truncated
.`.concat(qE,` {
overflow: hidden `).concat(o,`;
padding-right: `).concat(p,"px ").concat(o,`;
}
body[`).concat(ou,`] {
overflow: hidden `).concat(o,`;
overscroll-behavior: contain;
`).concat([c&&"position: relative ".concat(o,";"),r==="margin"&&`
padding-left: `.concat(f,`px;
padding-top: `).concat(m,`px;
padding-right: `).concat(v,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(p,"px ").concat(o,`;
`),r==="padding"&&"padding-right: ".concat(p,"px ").concat(o,";")].filter(Boolean).join(""),`
}
.`).concat(lr,` {
right: `).concat(p,"px ").concat(o,`;
}
.`).concat(nr,` {
margin-right: `).concat(p,"px ").concat(o,`;
}
.`).concat(lr," .").concat(lr,` {
right: 0 `).concat(o,`;
}
.`).concat(nr," .").concat(nr,` {
margin-right: 0 `).concat(o,`;
}
body[`).concat(ou,`] {
`).concat(VE,": ").concat(p,`px;
}
`)},mg=function(){var i=parseInt(document.body.getAttribute(ou)||"0",10);return isFinite(i)?i:0},rN=function(){g.useEffect(function(){return document.body.setAttribute(ou,(mg()+1).toString()),function(){var i=mg()-1;i<=0?document.body.removeAttribute(ou):document.body.setAttribute(ou,i.toString())}},[])},oN=function(i){var c=i.noRelative,r=i.noImportant,o=i.gapMode,f=o===void 0?"margin":o;rN();var m=g.useMemo(function(){return uN(f)},[f]);return g.createElement(iN,{styles:cN(m,!c,f,r?"":"!important")})},wf=!1;if(typeof window<"u")try{var Fc=Object.defineProperty({},"passive",{get:function(){return wf=!0,!0}});window.addEventListener("test",Fc,Fc),window.removeEventListener("test",Fc,Fc)}catch{wf=!1}var nu=wf?{passive:!1}:!1,sN=function(i){return i.tagName==="TEXTAREA"},Kp=function(i,c){if(!(i instanceof Element))return!1;var r=window.getComputedStyle(i);return r[c]!=="hidden"&&!(r.overflowY===r.overflowX&&!sN(i)&&r[c]==="visible")},fN=function(i){return Kp(i,"overflowY")},dN=function(i){return Kp(i,"overflowX")},hg=function(i,c){var r=c.ownerDocument,o=c;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var f=Jp(i,o);if(f){var m=Ip(i,o),v=m[1],p=m[2];if(v>p)return!0}o=o.parentNode}while(o&&o!==r.body);return!1},mN=function(i){var c=i.scrollTop,r=i.scrollHeight,o=i.clientHeight;return[c,r,o]},hN=function(i){var c=i.scrollLeft,r=i.scrollWidth,o=i.clientWidth;return[c,r,o]},Jp=function(i,c){return i==="v"?fN(c):dN(c)},Ip=function(i,c){return i==="v"?mN(c):hN(c)},vN=function(i,c){return i==="h"&&c==="rtl"?-1:1},yN=function(i,c,r,o,f){var m=vN(i,window.getComputedStyle(c).direction),v=m*o,p=r.target,E=c.contains(p),b=!1,N=v>0,y=0,T=0;do{if(!p)break;var B=Ip(i,p),D=B[0],M=B[1],H=B[2],Z=M-H-m*D;(D||Z)&&Jp(i,p)&&(y+=Z,T+=D);var Q=p.parentNode;p=Q&&Q.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Q.host:Q}while(!E&&p!==document.body||E&&(c.contains(p)||c===p));return(N&&Math.abs(y)<1||!N&&Math.abs(T)<1)&&(b=!0),b},$c=function(i){return"changedTouches"in i?[i.changedTouches[0].clientX,i.changedTouches[0].clientY]:[0,0]},vg=function(i){return[i.deltaX,i.deltaY]},yg=function(i){return i&&"current"in i?i.current:i},gN=function(i,c){return i[0]===c[0]&&i[1]===c[1]},pN=function(i){return`
.block-interactivity-`.concat(i,` {pointer-events: none;}
.allow-interactivity-`).concat(i,` {pointer-events: all;}
`)},bN=0,au=[];function xN(i){var c=g.useRef([]),r=g.useRef([0,0]),o=g.useRef(),f=g.useState(bN++)[0],m=g.useState(Zp)[0],v=g.useRef(i);g.useEffect(function(){v.current=i},[i]),g.useEffect(function(){if(i.inert){document.body.classList.add("block-interactivity-".concat(f));var M=YE([i.lockRef.current],(i.shards||[]).map(yg),!0).filter(Boolean);return M.forEach(function(H){return H.classList.add("allow-interactivity-".concat(f))}),function(){document.body.classList.remove("block-interactivity-".concat(f)),M.forEach(function(H){return H.classList.remove("allow-interactivity-".concat(f))})}}},[i.inert,i.lockRef.current,i.shards]);var p=g.useCallback(function(M,H){if("touches"in M&&M.touches.length===2||M.type==="wheel"&&M.ctrlKey)return!v.current.allowPinchZoom;var Z=$c(M),Q=r.current,V="deltaX"in M?M.deltaX:Q[0]-Z[0],P="deltaY"in M?M.deltaY:Q[1]-Z[1],F,G=M.target,U=Math.abs(V)>Math.abs(P)?"h":"v";if("touches"in M&&U==="h"&&G.type==="range")return!1;var k=window.getSelection(),ce=k&&k.anchorNode,xe=ce?ce===G||ce.contains(G):!1;if(xe)return!1;var he=hg(U,G);if(!he)return!0;if(he?F=U:(F=U==="v"?"h":"v",he=hg(U,G)),!he)return!1;if(!o.current&&"changedTouches"in M&&(V||P)&&(o.current=F),!F)return!0;var se=o.current||F;return yN(se,H,M,se==="h"?V:P)},[]),E=g.useCallback(function(M){var H=M;if(!(!au.length||au[au.length-1]!==m)){var Z="deltaY"in H?vg(H):$c(H),Q=c.current.filter(function(F){return F.name===H.type&&(F.target===H.target||H.target===F.shadowParent)&&gN(F.delta,Z)})[0];if(Q&&Q.should){H.cancelable&&H.preventDefault();return}if(!Q){var V=(v.current.shards||[]).map(yg).filter(Boolean).filter(function(F){return F.contains(H.target)}),P=V.length>0?p(H,V[0]):!v.current.noIsolation;P&&H.cancelable&&H.preventDefault()}}},[]),b=g.useCallback(function(M,H,Z,Q){var V={name:M,delta:H,target:Z,should:Q,shadowParent:SN(Z)};c.current.push(V),setTimeout(function(){c.current=c.current.filter(function(P){return P!==V})},1)},[]),N=g.useCallback(function(M){r.current=$c(M),o.current=void 0},[]),y=g.useCallback(function(M){b(M.type,vg(M),M.target,p(M,i.lockRef.current))},[]),T=g.useCallback(function(M){b(M.type,$c(M),M.target,p(M,i.lockRef.current))},[]);g.useEffect(function(){return au.push(m),i.setCallbacks({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:T}),document.addEventListener("wheel",E,nu),document.addEventListener("touchmove",E,nu),document.addEventListener("touchstart",N,nu),function(){au=au.filter(function(M){return M!==m}),document.removeEventListener("wheel",E,nu),document.removeEventListener("touchmove",E,nu),document.removeEventListener("touchstart",N,nu)}},[]);var B=i.removeScrollBar,D=i.inert;return g.createElement(g.Fragment,null,D?g.createElement(m,{styles:pN(f)}):null,B?g.createElement(oN,{noRelative:i.noRelative,gapMode:i.gapMode}):null)}function SN(i){for(var c=null;i!==null;)i instanceof ShadowRoot&&(c=i.host,i=i.host),i=i.parentNode;return c}const EN=FE(Qp,xN);var Fp=g.forwardRef(function(i,c){return g.createElement(dr,Al({},i,{ref:c,sideCar:EN}))});Fp.classNames=dr.classNames;var NN=function(i){if(typeof document>"u")return null;var c=Array.isArray(i)?i[0]:i;return c.ownerDocument.body},uu=new WeakMap,Pc=new WeakMap,Wc={},mf=0,$p=function(i){return i&&(i.host||$p(i.parentNode))},CN=function(i,c){return c.map(function(r){if(i.contains(r))return r;var o=$p(r);return o&&i.contains(o)?o:(console.error("aria-hidden",r,"in not contained inside",i,". Doing nothing"),null)}).filter(function(r){return!!r})},TN=function(i,c,r,o){var f=CN(c,Array.isArray(i)?i:[i]);Wc[r]||(Wc[r]=new WeakMap);var m=Wc[r],v=[],p=new Set,E=new Set(f),b=function(y){!y||p.has(y)||(p.add(y),b(y.parentNode))};f.forEach(b);var N=function(y){!y||E.has(y)||Array.prototype.forEach.call(y.children,function(T){if(p.has(T))N(T);else try{var B=T.getAttribute(o),D=B!==null&&B!=="false",M=(uu.get(T)||0)+1,H=(m.get(T)||0)+1;uu.set(T,M),m.set(T,H),v.push(T),M===1&&D&&Pc.set(T,!0),H===1&&T.setAttribute(r,"true"),D||T.setAttribute(o,"true")}catch(Z){console.error("aria-hidden: cannot operate on ",T,Z)}})};return N(c),p.clear(),mf++,function(){v.forEach(function(y){var T=uu.get(y)-1,B=m.get(y)-1;uu.set(y,T),m.set(y,B),T||(Pc.has(y)||y.removeAttribute(o),Pc.delete(y)),B||y.removeAttribute(r)}),mf--,mf||(uu=new WeakMap,uu=new WeakMap,Pc=new WeakMap,Wc={})}},_N=function(i,c,r){r===void 0&&(r="data-aria-hidden");var o=Array.from(Array.isArray(i)?i:[i]),f=NN(i);return f?(o.push.apply(o,Array.from(f.querySelectorAll("[aria-live], script"))),TN(o,f,r,"aria-hidden")):function(){return null}},wN=Object.defineProperty,il=(i,c)=>wN(i,"name",{value:c,configurable:!0}),If="Dialog",[Pp,xC]=sa(If),[ON,Jl]=Pp(If),Wp=il(i=>{const{__scopeDialog:c,children:r,open:o,defaultOpen:f,onOpenChange:m,modal:v=!0}=i,p=g.useRef(null),E=g.useRef(null),{nodes:b,registry:N}=Hp(),[y,T]=mi({prop:o,defaultProp:f??!1,onChange:m,caller:If}),[B,D]=g.useState(0),[M,H]=g.useState(0);return d.jsx(ON,{scope:c,triggerRef:p,contentRef:E,contentId:al(),titleId:al(),descriptionId:al() Line truncated