@mingxy/cerebro 1.18.3 → 1.18.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mingxy/cerebro",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.5",
|
|
4
4
|
"description": "Cerebro persistent memory plugin for OpenCode — auto-recall, auto-capture, 9 memory tools with clustering, project-scoped memory isolation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@theme inline{--animation-delay-0: 0s; --animation-delay-75: 75ms; --animation-delay-100: .1s; --animation-delay-150: .15s; --animation-delay-200: .2s; --animation-delay-300: .3s; --animation-delay-500: .5s; --animation-delay-700: .7s; --animation-delay-1000: 1s; --animation-repeat-0: 0; --animation-repeat-1: 1; --animation-repeat-infinite: infinite; --animation-direction-normal: normal; --animation-direction-reverse: reverse; --animation-direction-alternate: alternate; --animation-direction-alternate-reverse: alternate-reverse; --animation-fill-mode-none: none; --animation-fill-mode-forwards: forwards; --animation-fill-mode-backwards: backwards; --animation-fill-mode-both: both; --percentage-0: 0; --percentage-5: .05; --percentage-10: .1; --percentage-15: .15; --percentage-20: .2; --percentage-25: .25; --percentage-30: .3; --percentage-35: .35; --percentage-40: .4; --percentage-45: .45; --percentage-50: .5; --percentage-55: .55; --percentage-60: .6; --percentage-65: .65; --percentage-70: .7; --percentage-75: .75; --percentage-80: .8; --percentage-85: .85; --percentage-90: .9; --percentage-95: .95; --percentage-100: 1; --percentage-translate-full: 1; --animate-in: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-out: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes enter { from { opacity: var(--tw-enter-opacity,1); transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0)); filter: blur(var(--tw-enter-blur,0)); }}@keyframes exit { to { opacity: var(--tw-exit-opacity,1); transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0)); filter: blur(var(--tw-exit-blur,0)); }}--animate-accordion-down: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-accordion-up: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-down: collapsible-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-up: collapsible-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes accordion-down { from { height: 0; }to { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto))))); }}@keyframes accordion-up { from { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto))))); }to { height: 0; }}@keyframes collapsible-down { from { height: 0; }to { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }}@keyframes collapsible-up { from { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }to { height: 0; }}--animate-caret-blink: caret-blink 1.25s ease-out infinite; @keyframes caret-blink { 0%,70%,100% { opacity: 1; }20%,50% { opacity: 0; }}}@utility animation-duration-*{--tw-animation-duration: calc(--value(number)*1ms); --tw-animation-duration: --value(--animation-duration-*,[duration],"initial",[*]); animation-duration: calc(--value(number)*1ms); animation-duration: --value(--animation-duration-*,[duration],"initial",[*]);}@utility delay-*{animation-delay: calc(--value(number)*1ms); animation-delay: --value(--animation-delay-*,[duration],"initial",[*]); --tw-animation-delay: calc(--value(number)*1ms); --tw-animation-delay: --value(--animation-delay-*,[duration],"initial",[*]);}@utility repeat-*{animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]); --tw-animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]);}@utility direction-*{animation-direction: --value(--animation-direction-*,"initial",[*]); --tw-animation-direction: --value(--animation-direction-*,"initial",[*]);}@utility fill-mode-*{animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]); --tw-animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]);}@utility running{animation-play-state: running;}@utility paused{animation-play-state: paused;}@utility play-state-*{animation-play-state: --value("initial",[*]);}@utility blur-in{--tw-enter-blur: 20px;}@utility blur-in-*{--tw-enter-blur: calc(--value(number)*1px); --tw-enter-blur: --value(--blur-*,[*]);}@utility blur-out{--tw-exit-blur: 20px;}@utility blur-out-*{--tw-exit-blur: calc(--value(number)*1px); --tw-exit-blur: --value(--blur-*,[*]);}@utility fade-in{--tw-enter-opacity: 0;}@utility fade-in-*{--tw-enter-opacity: calc(--value(number)/100); --tw-enter-opacity: --value(--percentage-*,[*]);}@utility fade-out{--tw-exit-opacity: 0;}@utility fade-out-*{--tw-exit-opacity: calc(--value(number)/100); --tw-exit-opacity: --value(--percentage-*,[*]);}@utility zoom-in{--tw-enter-scale: 0;}@utility zoom-in-*{--tw-enter-scale: calc(--value(number)*1%); --tw-enter-scale: calc(--value(ratio)); --tw-enter-scale: --value(--percentage-*,[*]);}@utility -zoom-in-*{--tw-enter-scale: calc(--value(number)*-1%); --tw-enter-scale: calc(--value(ratio)*-1); --tw-enter-scale: --value(--percentage-*,[*]);}@utility zoom-out{--tw-exit-scale: 0;}@utility zoom-out-*{--tw-exit-scale: calc(--value(number)*1%); --tw-exit-scale: calc(--value(ratio)); --tw-exit-scale: --value(--percentage-*,[*]);}@utility -zoom-out-*{--tw-exit-scale: calc(--value(number)*-1%); --tw-exit-scale: calc(--value(ratio)*-1); --tw-exit-scale: --value(--percentage-*,[*]);}@utility spin-in{--tw-enter-rotate: 30deg;}@utility spin-in-*{--tw-enter-rotate: calc(--value(number)*1deg); --tw-enter-rotate: calc(--value(ratio)*360deg); --tw-enter-rotate: --value(--rotate-*,[*]);}@utility -spin-in{--tw-enter-rotate: -30deg;}@utility -spin-in-*{--tw-enter-rotate: calc(--value(number)*-1deg); --tw-enter-rotate: calc(--value(ratio)*-360deg); --tw-enter-rotate: --value(--rotate-*,[*]);}@utility spin-out{--tw-exit-rotate: 30deg;}@utility spin-out-*{--tw-exit-rotate: calc(--value(number)*1deg); --tw-exit-rotate: calc(--value(ratio)*360deg); --tw-exit-rotate: --value(--rotate-*,[*]);}@utility -spin-out{--tw-exit-rotate: -30deg;}@utility -spin-out-*{--tw-exit-rotate: calc(--value(number)*-1deg); --tw-exit-rotate: calc(--value(ratio)*-360deg); --tw-exit-rotate: --value(--rotate-*,[*]);}@utility slide-in-from-top{--tw-enter-translate-y: -100%;}@utility slide-in-from-top-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-y: calc(--value(ratio)*-100%); --tw-enter-translate-y: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-in-from-bottom{--tw-enter-translate-y: 100%;}@utility slide-in-from-bottom-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-y: calc(--value(ratio)*100%); --tw-enter-translate-y: --value(--translate-*,[percentage],[length]);}@utility slide-in-from-left{--tw-enter-translate-x: -100%;}@utility slide-in-from-left-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-in-from-right{--tw-enter-translate-x: 100%;}@utility slide-in-from-right-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]);}@utility slide-in-from-start{&:dir(ltr){ --tw-enter-translate-x: -100%; }&:dir(rtl){ --tw-enter-translate-x: 100%; }}@utility slide-in-from-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }}@utility slide-in-from-end{&:dir(ltr){ --tw-enter-translate-x: 100%; }&:dir(rtl){ --tw-enter-translate-x: -100%; }}@utility slide-in-from-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }}@utility slide-out-to-top{--tw-exit-translate-y: -100%;}@utility slide-out-to-top-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-y: calc(--value(ratio)*-100%); --tw-exit-translate-y: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-out-to-bottom{--tw-exit-translate-y: 100%;}@utility slide-out-to-bottom-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-y: calc(--value(ratio)*100%); --tw-exit-translate-y: --value(--translate-*,[percentage],[length]);}@utility slide-out-to-left{--tw-exit-translate-x: -100%;}@utility slide-out-to-left-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-out-to-right{--tw-exit-translate-x: 100%;}@utility slide-out-to-right-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]);}@utility slide-out-to-start{&:dir(ltr){ --tw-exit-translate-x: -100%; }&:dir(rtl){ --tw-exit-translate-x: 100%; }}@utility slide-out-to-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }}@utility slide-out-to-end{&:dir(ltr){ --tw-exit-translate-x: 100%; }&:dir(rtl){ --tw-exit-translate-x: -100%; }}@utility slide-out-to-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-wght-normal-CHSlOQsW.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-ext-wght-normal-DMtmJ5ZE.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-wght-normal-Dm3htQBi.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background:0 0% 100%;--foreground:240 10% 3.9%;--card:0 0% 100%;--card-foreground:240 10% 3.9%;--popover:0 0% 100%;--popover-foreground:240 10% 3.9%;--primary:240 5.9% 10%;--primary-foreground:0 0% 98%;--secondary:240 4.8% 95.9%;--secondary-foreground:240 5.9% 10%;--muted:240 4.8% 95.9%;--muted-foreground:240 3.8% 46.1%;--accent:240 4.8% 95.9%;--accent-foreground:240 5.9% 10%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:240 5.9% 90%;--input:240 5.9% 90%;--ring:240 5.9% 10%;--radius:.625rem}.dark{--background:240 10% 3.9%;--foreground:0 0% 98%;--card:240 10% 3.9%;--card-foreground:0 0% 98%;--popover:240 10% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:240 5.9% 10%;--secondary:240 3.7% 15.9%;--secondary-foreground:0 0% 98%;--muted:240 3.7% 15.9%;--muted-foreground:240 5% 64.9%;--accent:240 3.7% 15.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:240 3.7% 15.9%;--input:240 3.7% 15.9%;--ring:240 4.9% 83.9%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Geist Variable,system-ui,sans-serif}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground) / .2);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground) / .35)}*{scrollbar-width:thin;scrollbar-color:hsl(var(--muted-foreground) / .2) transparent}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:#1118271a;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-left-6{left:-1.5rem}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.left-0{left:0}.left-1\/2{left:50%}.left-2\.5{left:.625rem}.left-3{left:.75rem}.left-\[11px\]{left:11px}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.top-6{top:1.5rem}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-mb-4{margin-bottom:-1rem}.-mb-6{margin-bottom:-1.5rem}.-ml-2{margin-left:-.5rem}.-ml-6{margin-left:-1.5rem}.-mr-8{margin-right:-2rem}.-mt-8{margin-top:-2rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-auto{margin-right:auto}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-row{display:table-row}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1}.size-12{width:3rem;height:3rem}.size-14{width:3.5rem;height:3.5rem}.size-2\.5{width:.625rem;height:.625rem}.size-3{width:.75rem;height:.75rem}.size-3\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-9{width:2.25rem;height:2.25rem}.size-\[22px\]{width:22px;height:22px}.size-full{width:100%;height:100%}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[240px\]{height:240px}.h-\[300px\]{height:300px}.h-\[calc\(100\%-1px\)\]{height:calc(100% - 1px)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:12rem}.max-h-60{max-height:15rem}.max-h-96{max-height:24rem}.max-h-\[80vh\]{max-height:80vh}.min-h-16{min-height:4rem}.min-h-\[240px\]{min-height:240px}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/3{width:66.6667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[130px\]{width:130px}.w-\[180px\]{width:180px}.w-\[40\%\]{width:40%}.w-\[60\%\]{width:60%}.w-\[80\%\]{width:80%}.w-\[95\%\]{width:95%}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-32{min-width:8rem}.min-w-36{min-width:9rem}.min-w-\[200px\]{min-width:200px}.min-w-\[3ch\]{min-width:3ch}.min-w-\[96px\]{min-width:96px}.min-w-max{min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-\[120px\]{max-width:120px}.max-w-\[180px\]{max-width:180px}.max-w-\[200px\]{max-width:200px}.max-w-\[300px\]{max-width:300px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1}.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[calc\(-50\%-2px\)\]{--tw-translate-y:calc(-50% - 2px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate:0deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate:45deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-110{--tw-scale-x:1.1;--tw-scale-y:1.1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:1s linear infinite spin}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.scroll-my-1{scroll-margin-top:.25rem;scroll-margin-bottom:.25rem}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\[auto_1fr_80px_60px\]{grid-template-columns:auto 1fr 80px 60px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(-.5rem * var(--tw-space-x-reverse));margin-left:calc(-.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-start{align-self:flex-start}.justify-self-end{justify-self:end}.justify-self-center{justify-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[4px\]{border-radius:4px}.rounded-\[inherit\]{border-radius:inherit}.rounded-\[min\(var\(--radius-md\)\,10px\)\]{border-radius:min(var(--radius-md), 10px)}.rounded-\[min\(var\(--radius-md\)\,12px\)\]{border-radius:min(var(--radius-md), 12px)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[\#070708\]\/30{border-color:#0707084d}.border-\[\#c9a227\]\/20{border-color:#c9a22733}.border-\[\#c9a227\]\/30{border-color:#c9a2274d}.border-amber-200{--tw-border-opacity:1;border-color:rgb(253 230 138/var(--tw-border-opacity,1))}.border-amber-200\/50{border-color:#fde68a80}.border-amber-200\/60{border-color:#fde68a99}.border-amber-500\/20{border-color:#f59e0b33}.border-amber-500\/30{border-color:#f59e0b4d}.border-amber-500\/50{border-color:#f59e0b80}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity,1))}.border-blue-500\/30{border-color:#3b82f64d}.border-border{border-color:hsl(var(--border))}.border-border\/40{border-color:hsl(var(--border) / .4)}.border-border\/60{border-color:hsl(var(--border) / .6)}.border-cyan-500\/30{border-color:#06b6d44d}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-emerald-200{--tw-border-opacity:1;border-color:rgb(167 243 208/var(--tw-border-opacity,1))}.border-emerald-500{--tw-border-opacity:1;border-color:rgb(16 185 129/var(--tw-border-opacity,1))}.border-emerald-500\/20{border-color:#10b98133}.border-emerald-500\/30{border-color:#10b9814d}.border-fuchsia-500\/30{border-color:#d946ef4d}.border-green-500\/30{border-color:#22c55e4d}.border-indigo-500\/20{border-color:#6366f133}.border-indigo-500\/30{border-color:#6366f14d}.border-input{border-color:hsl(var(--input))}.border-lime-500\/30{border-color:#84cc164d}.border-orange-200\/60{border-color:#fed7aa99}.border-orange-500\/30{border-color:#f973164d}.border-pink-500\/30{border-color:#ec48994d}.border-primary{border-color:hsl(var(--primary))}.border-primary\/20{border-color:hsl(var(--primary) / .2)}.border-primary\/30{border-color:hsl(var(--primary) / .3)}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-red-500\/20{border-color:#ef444433}.border-red-500\/30{border-color:#ef44444d}.border-rose-200{--tw-border-opacity:1;border-color:rgb(254 205 211/var(--tw-border-opacity,1))}.border-rose-200\/60{border-color:#fecdd399}.border-rose-500\/30{border-color:#f43f5e4d}.border-sky-500\/30{border-color:#0ea5e94d}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-500\/30{border-color:#64748b4d}.border-teal-500\/30{border-color:#14b8a64d}.border-transparent{border-color:#0000}.border-violet-200{--tw-border-opacity:1;border-color:rgb(221 214 254/var(--tw-border-opacity,1))}.border-violet-500\/30{border-color:#8b5cf64d}.border-white\/10{border-color:#ffffff1a}.border-white\/\[0\.08\]{border-color:#ffffff14}.border-yellow-500\/30{border-color:#eab3084d}.border-t-\[\#070708\]{--tw-border-opacity:1;border-top-color:rgb(7 7 8/var(--tw-border-opacity,1))}.bg-\[\#070708\]{--tw-bg-opacity:1;background-color:rgb(7 7 8/var(--tw-bg-opacity,1))}.bg-\[\#22c55e\]{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity,1))}.bg-\[\#c9a227\]{--tw-bg-opacity:1;background-color:rgb(201 162 39/var(--tw-bg-opacity,1))}.bg-\[\#c9a227\]\/10{background-color:#c9a2271a}.bg-\[\#c9a227\]\/5{background-color:#c9a2270d}.bg-\[\#ef4444\]{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-accent{background-color:hsl(var(--accent))}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-400\/15{background-color:#fbbf2426}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.bg-amber-500\/10{background-color:#f59e0b1a}.bg-amber-500\/5{background-color:#f59e0b0d}.bg-background{background-color:hsl(var(--background))}.bg-black\/10{background-color:#0000001a}.bg-black\/20{background-color:#0003}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.bg-blue-200{--tw-bg-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity,1))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.bg-blue-50\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity,1))}.bg-blue-500\/10{background-color:#3b82f61a}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-cyan-500\/10{background-color:#06b6d41a}.bg-destructive{background-color:hsl(var(--destructive))}.bg-destructive\/10{background-color:hsl(var(--destructive) / .1)}.bg-emerald-100{--tw-bg-opacity:1;background-color:rgb(209 250 229/var(--tw-bg-opacity,1))}.bg-emerald-50{--tw-bg-opacity:1;background-color:rgb(236 253 245/var(--tw-bg-opacity,1))}.bg-emerald-500\/10{background-color:#10b9811a}.bg-emerald-500\/20{background-color:#10b98133}.bg-emerald-500\/5{background-color:#10b9810d}.bg-foreground{background-color:hsl(var(--foreground))}.bg-fuchsia-500\/10{background-color:#d946ef1a}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))}.bg-green-500\/10{background-color:#22c55e1a}.bg-indigo-500\/10{background-color:#6366f11a}.bg-indigo-500\/5{background-color:#6366f10d}.bg-lime-500\/10{background-color:#84cc161a}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted) / .3)}.bg-muted\/40{background-color:hsl(var(--muted) / .4)}.bg-muted\/50{background-color:hsl(var(--muted) / .5)}.bg-muted\/60{background-color:hsl(var(--muted) / .6)}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity,1))}.bg-orange-400\/10{background-color:#fb923c1a}.bg-orange-500\/10{background-color:#f973161a}.bg-pink-500\/10{background-color:#ec48991a}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/5{background-color:hsl(var(--primary) / .05)}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.bg-red-500\/10{background-color:#ef44441a}.bg-red-500\/20{background-color:#ef444433}.bg-rose-100{--tw-bg-opacity:1;background-color:rgb(255 228 230/var(--tw-bg-opacity,1))}.bg-rose-50{--tw-bg-opacity:1;background-color:rgb(255 241 242/var(--tw-bg-opacity,1))}.bg-rose-500\/10{background-color:#f43f5e1a}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sky-500\/10{background-color:#0ea5e91a}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-slate-500\/10{background-color:#64748b1a}.bg-teal-500\/10{background-color:#14b8a61a}.bg-transparent{background-color:#0000}.bg-violet-50{--tw-bg-opacity:1;background-color:rgb(245 243 255/var(--tw-bg-opacity,1))}.bg-violet-500\/10{background-color:#8b5cf61a}.bg-white\/10{background-color:#ffffff1a}.bg-white\/80{background-color:#fffc}.bg-white\/\[0\.03\]{background-color:#ffffff08}.bg-white\/\[0\.05\]{background-color:#ffffff0d}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity,1))}.bg-yellow-500\/10{background-color:#eab3081a}.bg-gradient-to-b{background-image:linear-gradient(to bottom, var(--tw-gradient-stops))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right, var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right, var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top, var(--tw-gradient-stops))}.from-amber-100{--tw-gradient-from:#fef3c7 var(--tw-gradient-from-position);--tw-gradient-to:#fef3c700 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-400{--tw-gradient-from:#fbbf24 var(--tw-gradient-from-position);--tw-gradient-to:#fbbf2400 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-50{--tw-gradient-from:#fffbeb var(--tw-gradient-from-position);--tw-gradient-to:#fffbeb00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-500{--tw-gradient-from:#f59e0b var(--tw-gradient-from-position);--tw-gradient-to:#f59e0b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-background{--tw-gradient-from:hsl(var(--background)) var(--tw-gradient-from-position);--tw-gradient-to:hsl(var(--background) / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-300{--tw-gradient-from:#93c5fd var(--tw-gradient-from-position);--tw-gradient-to:#93c5fd00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-400{--tw-gradient-from:#60a5fa var(--tw-gradient-from-position);--tw-gradient-to:#60a5fa00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-emerald-400{--tw-gradient-from:#34d399 var(--tw-gradient-from-position);--tw-gradient-to:#34d39900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-rose-400{--tw-gradient-from:#fb7185 var(--tw-gradient-from-position);--tw-gradient-to:#fb718500 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-violet-300{--tw-gradient-from:#c4b5fd var(--tw-gradient-from-position);--tw-gradient-to:#c4b5fd00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.via-background{--tw-gradient-to:hsl(var(--background) / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), hsl(var(--background)) var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-orange-300{--tw-gradient-to:#fdba7400 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #fdba74 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-orange-50{--tw-gradient-to:#fff7ed00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #fff7ed var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-sky-300{--tw-gradient-to:#7dd3fc00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #7dd3fc var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-muted\/30{--tw-gradient-to:hsl(var(--muted) / .3) var(--tw-gradient-to-position)}.to-orange-100{--tw-gradient-to:#ffedd5 var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to:#fb923c var(--tw-gradient-to-position)}.to-orange-500{--tw-gradient-to:#f97316 var(--tw-gradient-to-position)}.to-red-400{--tw-gradient-to:#f87171 var(--tw-gradient-to-position)}.to-rose-50{--tw-gradient-to:#fff1f2 var(--tw-gradient-to-position)}.to-sky-400{--tw-gradient-to:#38bdf8 var(--tw-gradient-to-position)}.to-teal-400{--tw-gradient-to:#2dd4bf var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:transparent var(--tw-gradient-to-position)}.bg-clip-padding{background-clip:padding-box}.fill-foreground{fill:hsl(var(--foreground))}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-12{padding:3rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-3\.5{padding:.875rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[3px\]{padding:3px}.p-px{padding:1px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-1\.5{padding-left:.375rem}.pl-2\.5{padding-left:.625rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pl-9{padding-left:2.25rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-8xl{font-size:6rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[9px\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-\[1\.1\]{line-height:1.1}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-\[\#070708\]{--tw-text-opacity:1;color:rgb(7 7 8/var(--tw-text-opacity,1))}.text-\[\#c9a227\]{--tw-text-opacity:1;color:rgb(201 162 39/var(--tw-text-opacity,1))}.text-\[\#c9a227\]\/70{color:#c9a227b3}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity,1))}.text-amber-600{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity,1))}.text-amber-700{--tw-text-opacity:1;color:rgb(180 83 9/var(--tw-text-opacity,1))}.text-amber-700\/60{color:#b4530999}.text-background{color:hsl(var(--background))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity,1))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-cyan-600{--tw-text-opacity:1;color:rgb(8 145 178/var(--tw-text-opacity,1))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-destructive\/30{color:hsl(var(--destructive) / .3)}.text-emerald-500{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity,1))}.text-emerald-600{--tw-text-opacity:1;color:rgb(5 150 105/var(--tw-text-opacity,1))}.text-emerald-700{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity,1))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/60{color:hsl(var(--foreground) / .6)}.text-fuchsia-600{--tw-text-opacity:1;color:rgb(192 38 211/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity,1))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity,1))}.text-indigo-700{--tw-text-opacity:1;color:rgb(67 56 202/var(--tw-text-opacity,1))}.text-lime-600{--tw-text-opacity:1;color:rgb(101 163 13/var(--tw-text-opacity,1))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-muted-foreground\/30{color:hsl(var(--muted-foreground) / .3)}.text-muted-foreground\/50{color:hsl(var(--muted-foreground) / .5)}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity,1))}.text-pink-600{--tw-text-opacity:1;color:rgb(219 39 119/var(--tw-text-opacity,1))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-500{--tw-text-opacity:1;color:rgb(168 85 247/var(--tw-text-opacity,1))}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.text-rose-600{--tw-text-opacity:1;color:rgb(225 29 72/var(--tw-text-opacity,1))}.text-rose-700{--tw-text-opacity:1;color:rgb(190 18 60/var(--tw-text-opacity,1))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-sky-600{--tw-text-opacity:1;color:rgb(2 132 199/var(--tw-text-opacity,1))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity,1))}.text-violet-500{--tw-text-opacity:1;color:rgb(139 92 246/var(--tw-text-opacity,1))}.text-violet-600{--tw-text-opacity:1;color:rgb(124 58 237/var(--tw-text-opacity,1))}.text-violet-700{--tw-text-opacity:1;color:rgb(109 40 217/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-white\/30{color:#ffffff4d}.text-white\/35{color:#ffffff59}.text-white\/40{color:#fff6}.text-white\/70{color:#ffffffb3}.text-white\/90{color:#ffffffe6}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity,1))}.text-yellow-800{--tw-text-opacity:1;color:rgb(133 77 14/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-\[0\.03\]{opacity:.03}.bg-blend-color{background-blend-mode:color}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.shadow-amber-500\/25{--tw-shadow-color:#f59e0b40;--tw-shadow:var(--tw-shadow-colored)}.outline-none{outline-offset:2px;outline:2px solid #0000}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-4{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-\[3px\]{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-background{--tw-ring-color:hsl(var(--background))}.ring-foreground\/10{--tw-ring-color:hsl(var(--foreground) / .1)}.ring-primary{--tw-ring-color:hsl(var(--primary))}.ring-primary\/20{--tw-ring-color:hsl(var(--primary) / .2)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-3xl{--tw-blur:blur(64px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[6px\]{--tw-blur:blur(6px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-none{transition-property:none}.transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-shadow{transition-property:box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-property:transform;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0), var(--tw-enter-translate-y,0), 0) scale3d(var(--tw-enter-scale,1), var(--tw-enter-scale,1), var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0), var(--tw-exit-translate-y,0), 0) scale3d(var(--tw-exit-scale,1), var(--tw-exit-scale,1), var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.duration-100{animation-duration:.1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.prose{color:hsl(var(--foreground));max-width:none}.prose p{margin-top:.75em;margin-bottom:.75em;line-height:1.75}.prose h1,.prose h2,.prose h3,.prose h4{margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.3}.prose h1{font-size:1.5em}.prose h2{font-size:1.25em}.prose h3{font-size:1.125em}.prose ul,.prose ol{margin-top:.75em;margin-bottom:.75em;padding-left:1.5em}.prose ul{list-style-type:disc}.prose ol{list-style-type:decimal}.prose li{margin-top:.25em;margin-bottom:.25em}.prose strong{font-weight:600}.prose code{background-color:hsl(var(--muted));border-radius:.25rem;padding:.2em .4em;font-family:ui-monospace,monospace;font-size:.875em}.prose pre{color:#fafafa;border:1px solid hsl(var(--border));background-color:#09090b;border-radius:.5rem;margin-top:1em;margin-bottom:1em;padding:1em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875em;line-height:1.7;overflow-x:auto}.prose pre code{background-color:#0000;padding:0}.prose blockquote{border-left:4px solid hsl(var(--muted-foreground) / .2);color:hsl(var(--muted-foreground));margin-top:1em;margin-bottom:1em;padding-left:1em}.prose a{color:hsl(var(--primary));text-decoration:underline}.prose img{border-radius:.5rem;max-width:100%;height:auto}.prose-sm{font-size:.875rem;line-height:1.5}.dark\:prose-invert:is(.dark *){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-6::file-selector-button{height:1.5rem}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-white\/25::placeholder{color:#ffffff40}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-0:after{content:var(--tw-content);inset:0}.after\:-inset-x-3:after{content:var(--tw-content);left:-.75rem;right:-.75rem}.after\:-inset-y-2:after{content:var(--tw-content);top:-.5rem;bottom:-.5rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-border:after{content:var(--tw-content);border-color:hsl(var(--border))}.after\:bg-foreground:after{content:var(--tw-content);background-color:hsl(var(--foreground))}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:mix-blend-darken:after{content:var(--tw-content);mix-blend-mode:darken}.after\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.last\:border-b-0:last-child{border-bottom-width:0}.hover\:border-white\/20:hover{border-color:#fff3}.hover\:bg-\[\#d4b43a\]:hover{--tw-bg-opacity:1;background-color:rgb(212 180 58/var(--tw-bg-opacity,1))}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent) / .5)}.hover\:bg-amber-100:hover{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.hover\:bg-amber-500\/10:hover{background-color:#f59e0b1a}.hover\:bg-blue-100:hover{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.hover\:bg-destructive\/10:hover{background-color:hsl(var(--destructive) / .1)}.hover\:bg-destructive\/20:hover{background-color:hsl(var(--destructive) / .2)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-emerald-50:hover{--tw-bg-opacity:1;background-color:rgb(236 253 245/var(--tw-bg-opacity,1))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/30:hover{background-color:hsl(var(--muted) / .3)}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary\/20:hover{background-color:hsl(var(--primary) / .2)}.hover\:bg-red-500\/10:hover{background-color:#ef44441a}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-white\/\[0\.06\]:hover{background-color:#ffffff0f}.hover\:from-amber-600:hover{--tw-gradient-from:#d97706 var(--tw-gradient-from-position);--tw-gradient-to:#d9770600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-orange-600:hover{--tw-gradient-to:#ea580c var(--tw-gradient-to-position)}.hover\:text-amber-600:hover{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity,1))}.hover\:text-amber-700:hover{--tw-text-opacity:1;color:rgb(180 83 9/var(--tw-text-opacity,1))}.hover\:text-destructive:hover{color:hsl(var(--destructive))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-red-400:hover{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.hover\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.hover\:text-white\/70:hover{color:#ffffffb3}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.hover\:shadow-sm:hover{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.focus\:border-\[\#c9a227\]\/50:focus{border-color:#c9a22780}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline-offset:2px;outline:2px solid #0000}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.focus\:ring-\[\#c9a227\]\/20:focus{--tw-ring-color:#c9a22733}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus-visible\:border-destructive\/40:focus-visible{border-color:hsl(var(--destructive) / .4)}.focus-visible\:border-ring:focus-visible{border-color:hsl(var(--ring))}.focus-visible\:outline-1:focus-visible{outline-width:1px}.focus-visible\:outline-ring:focus-visible{outline-color:hsl(var(--ring))}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:hsl(var(--destructive) / .2)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:hsl(var(--ring) / .5)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-input\/50:disabled{background-color:hsl(var(--input) / .5)}.disabled\:opacity-0:disabled{opacity:0}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:scale-110{--tw-scale-x:1.1;--tw-scale-y:1.1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:opacity-50{opacity:.5}.group\/dropdown-menu-item:focus .group-focus\/dropdown-menu-item\:text-accent-foreground{color:hsl(var(--accent-foreground))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-50{opacity:.5}.has-\[\>img\:first-child\]\:pt-0:has(>img:first-child){padding-top:0}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-expanded\:bg-muted[aria-expanded=true]{background-color:hsl(var(--muted))}.aria-expanded\:bg-secondary[aria-expanded=true]{background-color:hsl(var(--secondary))}.aria-expanded\:text-foreground[aria-expanded=true]{color:hsl(var(--foreground))}.aria-expanded\:text-secondary-foreground[aria-expanded=true]{color:hsl(var(--secondary-foreground))}.data-\[side\=bottom\]\:inset-x-0[data-side=bottom]{left:0;right:0}.data-\[side\=left\]\:inset-y-0[data-side=left],.data-\[side\=right\]\:inset-y-0[data-side=right]{top:0;bottom:0}.data-\[side\=top\]\:inset-x-0[data-side=top]{left:0;right:0}.data-\[side\=bottom\]\:bottom-0[data-side=bottom]{bottom:0}.data-\[side\=bottom\]\:top-1[data-side=bottom]{top:.25rem}.data-\[side\=inline-end\]\:-left-1[data-side=inline-end]{left:-.25rem}.data-\[side\=inline-start\]\:-right-1[data-side=inline-start],.data-\[side\=left\]\:-right-1[data-side=left]{right:-.25rem}.data-\[side\=left\]\:left-0[data-side=left]{left:0}.data-\[side\=right\]\:-left-1[data-side=right]{left:-.25rem}.data-\[side\=right\]\:right-0[data-side=right]{right:0}.data-\[side\=top\]\:-bottom-2\.5[data-side=top]{bottom:-.625rem}.data-\[side\=top\]\:top-0[data-side=top]{top:0}.data-\[size\=lg\]\:size-10[data-size=lg]{width:2.5rem;height:2.5rem}.data-\[size\=sm\]\:size-6[data-size=sm]{width:1.5rem;height:1.5rem}.data-\[side\=bottom\]\:h-auto[data-side=bottom]{height:auto}.data-\[side\=left\]\:h-full[data-side=left],.data-\[side\=right\]\:h-full[data-side=right]{height:100%}.data-\[side\=top\]\:h-auto[data-side=top]{height:auto}.data-\[size\=default\]\:h-8[data-size=default]{height:2rem}.data-\[size\=default\]\:h-\[18\.4px\][data-size=default]{height:18.4px}.data-\[size\=sm\]\:h-7[data-size=sm]{height:1.75rem}.data-\[size\=sm\]\:h-\[14px\][data-size=sm]{height:14px}.data-\[side\=left\]\:w-3\/4[data-side=left],.data-\[side\=right\]\:w-3\/4[data-side=right]{width:75%}.data-\[size\=default\]\:w-\[32px\][data-size=default]{width:32px}.data-\[size\=sm\]\:w-\[24px\][data-size=sm]{width:24px}.data-\[side\=inline-end\]\:-translate-y-1\/2[data-side=inline-end],.data-\[side\=inline-start\]\:-translate-y-1\/2[data-side=inline-start],.data-\[side\=left\]\:-translate-y-1\/2[data-side=left],.data-\[side\=right\]\:-translate-y-1\/2[data-side=right]{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[align-trigger\=true\]\:animate-none[data-align-trigger=true]{animation:none}.data-\[size\=sm\]\:gap-3[data-size=sm]{gap:.75rem}.data-\[size\=sm\]\:rounded-\[min\(var\(--radius-md\)\,10px\)\][data-size=sm]{border-radius:min(var(--radius-md), 10px)}.data-\[variant\=line\]\:rounded-none[data-variant=line]{border-radius:0}.data-\[side\=bottom\]\:border-t[data-side=bottom]{border-top-width:1px}.data-\[side\=left\]\:border-r[data-side=left]{border-right-width:1px}.data-\[side\=right\]\:border-l[data-side=right]{border-left-width:1px}.data-\[side\=top\]\:border-b[data-side=top]{border-bottom-width:1px}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[size\=sm\]\:py-3[data-size=sm]{padding-top:.75rem;padding-bottom:.75rem}.data-\[variant\=destructive\]\:text-destructive[data-variant=destructive]{color:hsl(var(--destructive))}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.data-\[state\=delayed-open\]\:animate-in[data-state=delayed-open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.data-\[state\=delayed-open\]\:fade-in-0[data-state=delayed-open]{--tw-enter-opacity:0}.data-\[state\=delayed-open\]\:zoom-in-95[data-state=delayed-open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-.5rem}.data-\[side\=inline-end\]\:slide-in-from-left-2[data-side=inline-end]{--tw-enter-translate-x:-.5rem}.data-\[side\=inline-start\]\:slide-in-from-right-2[data-side=inline-start],.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:.5rem}.\*\:data-\[slot\=select-value\]\:line-clamp-1[data-slot=select-value]>*{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\*\:data-\[slot\=select-value\]\:flex[data-slot=select-value]>*{display:flex}.\*\:data-\[slot\=select-value\]\:items-center[data-slot=select-value]>*{align-items:center}.\*\:data-\[slot\=select-value\]\:gap-1\.5[data-slot=select-value]>*{gap:.375rem}.\*\:data-\[slot\=avatar\]\:ring-2[data-slot=avatar]>*{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.\*\:data-\[slot\=avatar\]\:ring-background[data-slot=avatar]>*{--tw-ring-color:hsl(var(--background))}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10:focus[data-variant=destructive]{background-color:hsl(var(--destructive) / .1)}.data-\[variant\=destructive\]\:focus\:text-destructive:focus[data-variant=destructive]{color:hsl(var(--destructive))}.group[data-disabled=true] .group-data-\[disabled\=true\]\:pointer-events-none{pointer-events:none}.group\/avatar[data-size=default] .group-data-\[size\=default\]\/avatar\:size-2\.5{width:.625rem;height:.625rem}.group\/switch[data-size=default] .group-data-\[size\=default\]\/switch\:size-4{width:1rem;height:1rem}.group\/avatar[data-size=lg] .group-data-\[size\=lg\]\/avatar\:size-3{width:.75rem;height:.75rem}.group\/avatar[data-size=sm] .group-data-\[size\=sm\]\/avatar\:size-2{width:.5rem;height:.5rem}.group\/switch[data-size=sm] .group-data-\[size\=sm\]\/switch\:size-3{width:.75rem;height:.75rem}.group\/tabs-list[data-variant=line] .group-data-\[variant\=line\]\/tabs-list\:bg-transparent{background-color:#0000}.group\/card[data-size=sm] .group-data-\[size\=sm\]\/card\:p-3{padding:.75rem}.group\/card[data-size=sm] .group-data-\[size\=sm\]\/card\:px-3{padding-left:.75rem;padding-right:.75rem}.group\/avatar[data-size=sm] .group-data-\[size\=sm\]\/avatar\:text-xs{font-size:.75rem;line-height:1rem}.group\/card[data-size=sm] .group-data-\[size\=sm\]\/card\:text-sm{font-size:.875rem;line-height:1.25rem}.group[data-disabled=true] .group-data-\[disabled\=true\]\:opacity-50{opacity:.5}.dark\:-rotate-90:is(.dark *){--tw-rotate:-90deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:rotate-0:is(.dark *){--tw-rotate:0deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-0:is(.dark *){--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-100:is(.dark *){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:border-amber-500\/20:is(.dark *){border-color:#f59e0b33}.dark\:border-amber-500\/30:is(.dark *){border-color:#f59e0b4d}.dark\:border-blue-500\/30:is(.dark *){border-color:#3b82f64d}.dark\:border-emerald-500\/30:is(.dark *){border-color:#10b9814d}.dark\:border-input:is(.dark *){border-color:hsl(var(--input))}.dark\:border-orange-500\/20:is(.dark *){border-color:#f9731633}.dark\:border-rose-500\/20:is(.dark *){border-color:#f43f5e33}.dark\:border-rose-500\/30:is(.dark *){border-color:#f43f5e4d}.dark\:border-slate-500\/30:is(.dark *){border-color:#64748b4d}.dark\:border-violet-500\/30:is(.dark *){border-color:#8b5cf64d}.dark\:bg-amber-500\/10:is(.dark *){background-color:#f59e0b1a}.dark\:bg-amber-500\/15:is(.dark *){background-color:#f59e0b26}.dark\:bg-blue-500\/10:is(.dark *){background-color:#3b82f61a}.dark\:bg-card\/80:is(.dark *){background-color:hsl(var(--card) / .8)}.dark\:bg-destructive\/20:is(.dark *){background-color:hsl(var(--destructive) / .2)}.dark\:bg-emerald-500\/10:is(.dark *){background-color:#10b9811a}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\:bg-green-900\/30:is(.dark *){background-color:#14532d4d}.dark\:bg-input\/30:is(.dark *){background-color:hsl(var(--input) / .3)}.dark\:bg-orange-500\/15:is(.dark *){background-color:#f9731626}.dark\:bg-primary\/10:is(.dark *){background-color:hsl(var(--primary) / .1)}.dark\:bg-rose-500\/10:is(.dark *){background-color:#f43f5e1a}.dark\:bg-rose-500\/15:is(.dark *){background-color:#f43f5e26}.dark\:bg-slate-500\/10:is(.dark *){background-color:#64748b1a}.dark\:bg-violet-500\/10:is(.dark *){background-color:#8b5cf61a}.dark\:from-amber-500\/10:is(.dark *){--tw-gradient-from:#f59e0b1a var(--tw-gradient-from-position);--tw-gradient-to:#f59e0b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-amber-500\/15:is(.dark *){--tw-gradient-from:#f59e0b26 var(--tw-gradient-from-position);--tw-gradient-to:#f59e0b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-blue-500\/40:is(.dark *){--tw-gradient-from:#3b82f666 var(--tw-gradient-from-position);--tw-gradient-to:#3b82f600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-violet-500\/40:is(.dark *){--tw-gradient-from:#8b5cf666 var(--tw-gradient-from-position);--tw-gradient-to:#8b5cf600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:via-orange-500\/40:is(.dark *){--tw-gradient-to:#f9731600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #f9731666 var(--tw-gradient-via-position), var(--tw-gradient-to)}.dark\:via-orange-500\/5:is(.dark *){--tw-gradient-to:#f9731600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #f973160d var(--tw-gradient-via-position), var(--tw-gradient-to)}.dark\:via-sky-500\/40:is(.dark *){--tw-gradient-to:#0ea5e900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #0ea5e966 var(--tw-gradient-via-position), var(--tw-gradient-to)}.dark\:to-orange-500\/15:is(.dark *){--tw-gradient-to:#f9731626 var(--tw-gradient-to-position)}.dark\:to-rose-500\/10:is(.dark *){--tw-gradient-to:#f43f5e1a var(--tw-gradient-to-position)}.dark\:to-transparent:is(.dark *){--tw-gradient-to:transparent var(--tw-gradient-to-position)}.dark\:text-amber-300:is(.dark *){--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity,1))}.dark\:text-amber-400\/60:is(.dark *){color:#fbbf2499}.dark\:text-blue-300:is(.dark *){--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}.dark\:text-emerald-300:is(.dark *){--tw-text-opacity:1;color:rgb(110 231 183/var(--tw-text-opacity,1))}.dark\:text-emerald-400:is(.dark *){--tw-text-opacity:1;color:rgb(52 211 153/var(--tw-text-opacity,1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.dark\:text-green-400:is(.dark *){--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity,1))}.dark\:text-indigo-300:is(.dark *){--tw-text-opacity:1;color:rgb(165 180 252/var(--tw-text-opacity,1))}.dark\:text-indigo-400:is(.dark *){--tw-text-opacity:1;color:rgb(129 140 248/var(--tw-text-opacity,1))}.dark\:text-muted-foreground:is(.dark *){color:hsl(var(--muted-foreground))}.dark\:text-orange-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 146 60/var(--tw-text-opacity,1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.dark\:text-rose-300:is(.dark *){--tw-text-opacity:1;color:rgb(253 164 175/var(--tw-text-opacity,1))}.dark\:text-rose-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 113 133/var(--tw-text-opacity,1))}.dark\:text-sky-400:is(.dark *){--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity,1))}.dark\:text-slate-300:is(.dark *){--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.dark\:text-slate-400:is(.dark *){--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.dark\:text-violet-300:is(.dark *){--tw-text-opacity:1;color:rgb(196 181 253/var(--tw-text-opacity,1))}.dark\:text-violet-400:is(.dark *){--tw-text-opacity:1;color:rgb(167 139 250/var(--tw-text-opacity,1))}.dark\:after\:mix-blend-lighten:is(.dark *):after{content:var(--tw-content);mix-blend-mode:lighten}.dark\:hover\:bg-amber-500\/20:hover:is(.dark *){background-color:#f59e0b33}.dark\:hover\:bg-destructive\/30:hover:is(.dark *){background-color:hsl(var(--destructive) / .3)}.dark\:hover\:bg-input\/50:hover:is(.dark *){background-color:hsl(var(--input) / .5)}.dark\:hover\:bg-muted\/50:hover:is(.dark *){background-color:hsl(var(--muted) / .5)}.dark\:hover\:text-amber-400:hover:is(.dark *){--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity,1))}.dark\:hover\:text-foreground:hover:is(.dark *){color:hsl(var(--foreground))}.dark\:focus-visible\:ring-destructive\/40:focus-visible:is(.dark *){--tw-ring-color:hsl(var(--destructive) / .4)}.dark\:disabled\:bg-input\/80:disabled:is(.dark *){background-color:hsl(var(--input) / .8)}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:focus[data-variant=destructive]:is(.dark *){background-color:hsl(var(--destructive) / .2)}@media (width>=640px){.sm\:max-w-\[400px\]{max-width:400px}.sm\:max-w-md{max-width:28rem}.sm\:max-w-sm{max-width:24rem}.sm\:max-w-xs{max-width:20rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.data-\[side\=left\]\:sm\:max-w-sm[data-side=left],.data-\[side\=right\]\:sm\:max-w-sm[data-side=right]{max-width:24rem}}@media (width>=768px){.md\:flex{display:flex}.md\:table-cell{display:table-cell}.md\:hidden{display:none}.md\:max-w-none{max-width:none}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:p-6{padding:1.5rem}.md\:p-8{padding:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (width>=1024px){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:max-w-\[500px\]{max-width:500px}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-\[55\%_45\%\]{grid-template-columns:55% 45%}.lg\:px-8{padding-left:2rem;padding-right:2rem}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:size-4>svg{width:1rem;height:1rem}.group\/avatar[data-size=sm] .group-data-\[size\=sm\]\/avatar\:\[\&\>svg\]\:hidden>svg{display:none}.group\/avatar[data-size=default] .group-data-\[size\=default\]\/avatar\:\[\&\>svg\]\:size-2>svg,.group\/avatar[data-size=lg] .group-data-\[size\=lg\]\/avatar\:\[\&\>svg\]\:size-2>svg{width:.5rem;height:.5rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*=size-]){width:.75rem;height:.75rem}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5 svg:not([class*=size-]){width:.875rem;height:.875rem}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:1rem;height:1rem}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}
|
|
@@ -157,7 +157,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
157
157
|
`)?e:e.replace(/(#{1,3}\s+[^#])/g,`
|
|
158
158
|
$1`).replace(/(\d+\.\s+[^\d])/g,`
|
|
159
159
|
$1`).replace(/(\s-\s)/g,`
|
|
160
|
-
- `).trim()}function l9(e){return new Date(e).toLocaleString(`zh-CN`,{year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`})}function Mme(){let[e,n]=(0,y.useState)(``),[r,i]=(0,y.useState)(null),a=ob(e=>e.hasPassword),o=ob(e=>e.unlock),s=async()=>{if(!e.trim()){i(`请输入密码`);return}if(!a){i(`您还没设置密码,请先设置密码`);return}await o(e)||i(`密码错误`)};return(0,K.jsxs)(`div`,{className:`rounded-lg border border-amber-500/30 bg-amber-500/5 p-8 text-center space-y-4`,children:[(0,K.jsx)(Em,{className:`h-10 w-10 text-amber-500 mx-auto`}),(0,K.jsx)(`h3`,{className:`text-lg font-semibold text-amber-500`,children:a?`Vault 已锁定`:`无法解锁`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground max-w-xs mx-auto`,children:a?`此记忆已加密,请输入 Vault 密码查看`:`您尚未设置 Vault 密码,请先前往设置`}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 max-w-xs mx-auto`,children:[(0,K.jsx)(hb,{type:`password`,placeholder:a?`输入密码...`:`请先设置密码...`,value:e,onChange:e=>{n(e.target.value),i(null)},onKeyDown:e=>e.key===`Enter`&&s(),className:r?`border-destructive`:``,disabled:!a}),(0,K.jsx)(J,{size:`sm`,onClick:s,disabled:!a,children:`解锁`})]}),r&&(0,K.jsx)(`p`,{className:`text-xs text-destructive`,children:r})]})}function Nme({memory:e}){let n=[{key:`l0_abstract`,label:`摘要`},{key:`l1_overview`,label:`概览`},{key:`l2_content`,label:`详情`},{key:`content`,label:`原文`}].filter(n=>{let r=e[n.key];return r!=null&&String(r).trim().length>0}),r=`omem-memory-tab-${e.id}`,[i,a]=(0,y.useState)(()=>{try{let e=sessionStorage.getItem(r);if(e&&n.some(n=>n.key===e))return e}catch{}return n.find(e=>e.key===`content`)?.key||n.find(e=>e.key===`l2_content`)?.key||n[0]?.key});if((0,y.useEffect)(()=>{(!i||!n.some(e=>e.key===i))&&a(n[0]?.key)},[n,i]),n.length===0)return(0,K.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-4 text-sm text-muted-foreground`,children:`无内容`});if(n.length===1){let r=e[n[0].key];return(0,K.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-4 prose prose-sm dark:prose-invert max-w-none break-words`,children:!r||r.trim().length===0?(0,K.jsx)(`div`,{className:`text-sm text-muted-foreground`,children:`无内容`}):(0,K.jsx)(p0,{remarkPlugins:[Y4],children:c9(r)})})}return(0,K.jsxs)(x7,{value:i,onValueChange:e=>{a(e);try{sessionStorage.setItem(r,e)}catch{}},className:`w-full`,children:[(0,K.jsx)(S7,{className:`mb-2`,children:n.map(e=>(0,K.jsxs)(C7,{value:e.key,children:[(0,K.jsx)(bm,{className:`size-3 mr-1`}),e.label]},e.key))}),n.map(n=>{let r=e[n.key],i=!r||r.trim().length===0;return(0,K.jsx)(w7,{value:n.key,children:(0,K.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-4 prose prose-sm dark:prose-invert max-w-none break-words`,children:i?(0,K.jsx)(`div`,{className:`text-sm text-muted-foreground`,children:`无内容`}):(0,K.jsx)(p0,{remarkPlugins:[Y4],children:c9(r)})})},n.key)})]})}function u9({label:e,value:n}){return(0,K.jsxs)(`div`,{className:`space-y-1`,children:[(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e}),(0,K.jsx)(`div`,{className:`text-sm font-medium`,children:n})]})}var Pme={supersedes:`#ef4444`,contextualizes:`#3b82f6`,supports:`#10b981`,contradicts:`#a855f7`,continues:`#06b6d4`,continued_by:`#06b6d4`};function Fme({memoryId:e,relations:n}){let r=(0,y.useRef)(null),i=et(),a=(0,y.useMemo)(()=>{let r=new Map;return n.forEach(e=>{r.has(e.target_id)||r.set(e.target_id,{id:e.target_id,name:e.target_id.slice(0,8),isCenter:!1})}),{nodes:[{id:e,name:e.slice(0,8),isCenter:!0},...Array.from(r.values())],links:n.map(n=>({source:e,target:n.target_id,color:Pme[n.relation_type]||`#6b7280`,relationType:n.relation_type,contextLabel:n.context_label}))}},[e,n]);return(0,K.jsx)(`div`,{ref:r,className:`h-[300px] w-full`,children:(0,K.jsx)(p7,{graphData:a,nodeCanvasObject:(e,n,r)=>{let i=e.x??0,a=e.y??0;if(!isFinite(i)||!isFinite(a))return;let o=e.isCenter,s=o?14:8;if(o){let e=n.createRadialGradient(i,a,s*.5,i,a,s*2.5);e.addColorStop(0,`rgba(245,158,11,0.25)`),e.addColorStop(1,`rgba(245,158,11,0)`),n.fillStyle=e,n.beginPath(),n.arc(i,a,s*2.5,0,Math.PI*2),n.fill()}if(o){let e=n.createRadialGradient(i-s*.3,a-s*.3,0,i,a,s);e.addColorStop(0,`#fbbf24`),e.addColorStop(1,`#f97316`),n.fillStyle=e,n.strokeStyle=`#f59e0b`,n.lineWidth=2}else n.fillStyle=`#3b82f6`,n.strokeStyle=`#60a5fa`,n.lineWidth=1.5;n.beginPath(),n.arc(i,a,s,0,Math.PI*2),n.fill(),n.stroke();let c=e.name;n.font=`${Math.max(10/r,8)}px sans-serif`,n.textAlign=`center`,n.textBaseline=`bottom`,n.fillStyle=o?`#fbbf24`:`#94a3b8`,n.fillText(c,i,a-s-4/r)},nodePointerAreaPaint:(e,n,r)=>{let i=e.x??0,a=e.y??0;if(!isFinite(i)||!isFinite(a))return;let o=e.isCenter?18:14;r.fillStyle=n,r.beginPath(),r.arc(i,a,o,0,Math.PI*2),r.fill()},nodeLabel:e=>{let n=e;if(n.isCenter)return`当前记忆: ${n.name}`;let r=a.links.find(e=>(typeof e.target==`string`?e.target:e.target.id)===n.id);if(!r)return n.name;let i=[`ID: ${n.name}`];return r.relationType&&i.push(`关系: ${r.relationType}`),r.contextLabel&&i.push(r.contextLabel),i.join(` | `)},linkDirectionalArrowLength:6,linkDirectionalArrowRelPos:1,linkCurvature:.15,linkColor:e=>e.color,linkWidth:1.5,backgroundColor:`transparent`,enableNodeDrag:!1,enableZoomInteraction:!0,enablePanInteraction:!0,nodeRelSize:0,dagMode:`radialout`,dagLevelDistance:70,onNodeClick:e=>{let n=e;!n.isCenter&&n.id&&i(`/memories/${n.id}`)}})})}function Ime({memory:e}){let n={peripheral:0,working:1,core:2},r={access_via_get:`访问触发`,access_via_search:`搜索触发`,access_via_recall:`召回触发`,access_via_cross_space_search:`跨空间搜索触发`,scheduled_evaluation:`定时评估`},i=[];if(e.tier_history)try{i=JSON.parse(e.tier_history)}catch{}return i.length===0?null:(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{className:`pb-3`,children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(nm,{className:`size-4 text-muted-foreground`}),`等级变更历史`]})}),(0,K.jsx)(wb,{children:(0,K.jsx)(`div`,{className:`overflow-x-auto`,children:(0,K.jsx)(`div`,{className:`flex items-start min-w-max`,children:i.map((e,a)=>{let o=(n[e.from]??0)<(n[e.to]??0);return(0,K.jsxs)(`div`,{className:`flex flex-col items-center`,style:{minWidth:`140px`},children:[(0,K.jsxs)(`div`,{className:`text-[11px] text-muted-foreground mb-3 whitespace-nowrap text-center`,children:[new Date(e.at).toLocaleDateString(`zh-CN`,{month:`2-digit`,day:`2-digit`}),(0,K.jsx)(`span`,{className:`text-[10px] ml-1 opacity-70`,children:new Date(e.at).toLocaleTimeString(`zh-CN`,{hour:`2-digit`,minute:`2-digit`})})]}),(0,K.jsxs)(`div`,{className:`flex items-center w-full`,children:[a>0&&(0,K.jsx)(`div`,{className:`flex-1 h-px bg-border`}),(0,K.jsx)(`div`,{className:`size-3 rounded-full border-2 shrink-0 z-10 ring-2 ring-background ${o?`bg-emerald-500/20 border-emerald-500`:`bg-red-500/20 border-red-500`}`}),a<i.length-1&&(0,K.jsx)(`div`,{className:`flex-1 h-px bg-border`})]}),(0,K.jsxs)(`div`,{className:`mt-3 flex flex-col items-center gap-1.5`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-1`,children:[o?(0,K.jsx)(Up,{className:`size-3.5 text-emerald-500 shrink-0`}):(0,K.jsx)(zp,{className:`size-3.5 text-red-500 shrink-0`}),(0,K.jsx)(hJ,{variant:`outline`,className:`text-[10px] px-1.5 py-0 ${EJ(e.from)}`,children:wJ(e.from)}),(0,K.jsx)(`span`,{className:`text-muted-foreground text-[10px]`,children:`→`}),(0,K.jsx)(hJ,{variant:`outline`,className:`text-[10px] px-1.5 py-0 ${EJ(e.to)}`,children:wJ(e.to)})]}),(0,K.jsxs)(`p`,{className:`text-[10px] text-muted-foreground text-center`,children:[r[e.reason]||e.reason,` · #`,e.access_count]})]})]},e.at+e.from+e.to)})})})})]})}function Lme(){let{id:e}=it(),n=et(),r=Ze(),i=()=>{let e=r.state?.from||sessionStorage.getItem(`memories-list-from`)||`/memories`;n(e.startsWith(`/`)?e:`/${e}`)},[a,o]=(0,y.useState)(null),[s,c]=(0,y.useState)(!0),[l,u]=(0,y.useState)(null),[d,f]=(0,y.useState)(!1),[p,m]=(0,y.useState)(!1),[h,g]=(0,y.useState)(!1),[_,v]=(0,y.useState)(!1),b=ob(e=>e.isUnlocked),x=ob(e=>e.lock);if((0,y.useEffect)(()=>{if(!e)return;async function n(){try{c(!0),u(null);let n=await ib.get(`/v1/memories/${e}`,{params:{skip_access:!0}});console.log(`Memory detail raw response:`,n),o({...n,l0_abstract:n.l0_abstract??n.abstract??``,l1_overview:n.l1_overview??n.overview??``,l2_content:n.l2_content??n.detail??``})}catch(e){console.error(`Failed to fetch memory:`,e),u(`加载记忆详情失败`)}finally{c(!1)}}n()},[e]),s)return(0,K.jsxs)(`div`,{className:`space-y-6 max-w-6xl mx-auto`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsx)(Tb,{className:`h-8 w-8`}),(0,K.jsx)(Tb,{className:`h-6 w-32`})]}),(0,K.jsx)(Tb,{className:`h-8 w-3/4`}),(0,K.jsx)(Tb,{className:`h-4 w-1/2`}),(0,K.jsxs)(`div`,{className:`space-y-3`,children:[(0,K.jsx)(Tb,{className:`h-4 w-full`}),(0,K.jsx)(Tb,{className:`h-4 w-full`}),(0,K.jsx)(Tb,{className:`h-4 w-4/5`})]})]});if(l||!a)return(0,K.jsxs)(`div`,{className:`space-y-4`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>i(),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-6 text-sm text-destructive`,children:l||`记忆不存在`})]});let S=xJ(a.tags,a.visibility),C=!S||b;return(0,K.jsxs)(`div`,{className:`space-y-6 max-w-6xl mx-auto`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>i(),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),S&&(0,K.jsxs)(hJ,{variant:`outline`,className:`border-amber-500/50 text-amber-500 bg-amber-500/10`,children:[(0,K.jsx)(Em,{className:`size-3 mr-1`}),`私密记忆`]}),(0,K.jsx)(hJ,{variant:`outline`,className:EJ(a.tier),children:wJ(a.tier)})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[C&&(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,className:`text-muted-foreground hover:text-destructive`,onClick:()=>f(!0),children:[(0,K.jsx)(Xm,{className:`size-3.5 mr-1.5`}),`删除`]}),b&&S&&(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>{x()},children:[(0,K.jsx)(Em,{className:`size-3.5 mr-1.5`}),`锁定`]})]})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:S&&!C?`🔒 私密记忆`:`记忆详情`}),(0,K.jsxs)(`div`,{className:`flex items-center gap-4 text-sm text-muted-foreground flex-wrap`,children:[(0,K.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(qp,{className:`size-3.5`}),l9(a.created_at)]}),a.updated_at!==a.created_at&&(0,K.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(nm,{className:`size-3.5`}),l9(a.updated_at)]}),(0,K.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(om,{className:`size-3.5`}),`访问 `,a.access_count||0,` 次`]}),(0,K.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(pm,{className:`size-3.5`}),a.id.slice(0,8),`...`]})]})]}),(0,K.jsx)(m7,{}),C?(0,K.jsxs)(`div`,{className:`flex gap-6`,children:[(0,K.jsxs)(`div`,{className:`flex-1 min-w-0 space-y-6`,children:[(0,K.jsx)(Ime,{memory:a}),(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(bm,{className:`size-4 text-muted-foreground`}),`内容`,S&&(0,K.jsxs)(`span`,{className:`flex items-center gap-1 text-xs text-amber-500 ml-auto font-normal`,children:[(0,K.jsx)(Tm,{className:`size-3`}),`已解锁`]})]})}),(0,K.jsx)(wb,{children:(0,K.jsx)(Nme,{memory:a})})]}),a.tags&&a.tags.length>0&&(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(Jm,{className:`size-4 text-muted-foreground`}),`标签`]})}),(0,K.jsx)(wb,{children:(0,K.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:a.tags.map(e=>(0,K.jsxs)(hJ,{variant:`outline`,className:bJ(e),children:[e===`私密`&&(0,K.jsx)(Em,{className:`size-2.5 mr-1`}),e]},e))})})]}),(0,K.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-3 gap-4`,children:[(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(vm,{className:`size-4 text-muted-foreground`}),`基本信息`]})}),(0,K.jsxs)(wb,{className:`space-y-3`,children:[(0,K.jsx)(u9,{label:`分类`,value:a.category||`—`}),(0,K.jsx)(u9,{label:`类型`,value:a.memory_type||`—`}),(0,K.jsx)(u9,{label:`状态`,value:a.state||`—`}),(0,K.jsx)(u9,{label:`等级`,value:(0,K.jsx)(hJ,{variant:`outline`,className:EJ(a.tier),children:wJ(a.tier)})})]})]}),(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(Jp,{className:`size-4 text-muted-foreground`}),`质量指标`]})}),(0,K.jsxs)(wb,{className:`space-y-3`,children:[(0,K.jsx)(u9,{label:`重要性`,value:a.importance?.toFixed(2)??`—`}),(0,K.jsx)(u9,{label:`置信度`,value:a.confidence?.toFixed(2)??`—`}),(0,K.jsx)(u9,{label:`访问次数`,value:a.access_count??`—`})]})]}),(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(fm,{className:`size-4 text-muted-foreground`}),`来源信息`]})}),(0,K.jsxs)(wb,{className:`space-y-3`,children:[(0,K.jsx)(u9,{label:`来源`,value:a.source||`—`}),a.project_path&&(0,K.jsx)(u9,{label:`项目路径`,value:a.project_path}),(0,K.jsxs)(`div`,{className:`space-y-1`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`范围`}),h?null:(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,className:`h-5 px-1.5 text-xs text-muted-foreground hover:text-foreground`,onClick:()=>g(!0),children:[(0,K.jsx)(Pm,{className:`size-3 mr-1`}),`编辑`]})]}),h?(0,K.jsxs)(r9,{defaultValue:a.scope||`global`,onValueChange:async e=>{if(!a||!e||e===a.scope){g(!1);return}v(!0);try{await ib.post(`/v1/memories/batch-visibility`,{memory_ids:[a.id],scope:e}),o(n=>n?{...n,scope:e}:null),G.success(`范围已更新`)}catch(e){console.error(`Update scope failed:`,e),G.error(`更新失败,请重试`)}finally{v(!1),g(!1)}},disabled:_,children:[(0,K.jsx)(a9,{className:`h-8 text-sm`,children:(0,K.jsx)(i9,{})}),(0,K.jsxs)(o9,{children:[(0,K.jsx)(s9,{value:`public`,children:`public`}),(0,K.jsx)(s9,{value:`private`,children:`private`}),(0,K.jsx)(s9,{value:`global`,children:`global`})]})]}):(0,K.jsx)(`div`,{className:`text-sm font-medium`,children:a.scope||`—`})]}),(0,K.jsx)(u9,{label:`Agent ID`,value:a.agent_id||`—`}),(0,K.jsx)(u9,{label:`Session ID`,value:a.session_id||`—`})]})]})]})]}),a.relations&&a.relations.length>0&&(0,K.jsx)(`div`,{className:`w-80 shrink-0`,children:(0,K.jsxs)(bb,{className:`h-full`,children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(Cm,{className:`size-4 text-muted-foreground`}),`关联图谱`]})}),(0,K.jsx)(wb,{className:`p-2`,children:(0,K.jsx)(Fme,{memoryId:a.id,relations:a.relations},a.id+a.relations.length)})]})})]}):(0,K.jsx)(Mme,{}),(0,K.jsx)(aJ,{open:d,onOpenChange:e=>{!e&&!p&&f(!1)},children:(0,K.jsxs)(oJ,{children:[(0,K.jsxs)(sJ,{children:[(0,K.jsx)(lJ,{children:`确认删除记忆`}),(0,K.jsx)(uJ,{children:`确定要删除这条记忆吗?此操作不可撤销。`})]}),(0,K.jsxs)(cJ,{children:[(0,K.jsx)(fJ,{disabled:p,children:`取消`}),(0,K.jsx)(dJ,{disabled:p,onClick:async()=>{m(!0);try{await ib.delete(`/v1/memories/${e}`),G.success(`记忆已删除`),n(`/memories`)}catch(e){console.error(`Delete failed:`,e),G.error(`删除失败,请重试`),f(!1)}finally{m(!1)}},className:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,children:p?`删除中...`:`删除`})]})]})})]})}function d9({className:e,...n}){return(0,K.jsx)(`textarea`,{"data-slot":`textarea`,className:wp(`flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,e),...n})}function Rme(e){return e.split(/[,,]/).map(e=>e.trim()).filter(e=>e.length>0)}function zme(e){return e.join(`, `)}function f9(){let{id:e}=it(),n=et(),r=!!e,[i,a]=(0,y.useState)({content:``,tags:[],source:``}),[o,s]=(0,y.useState)(``),[c,l]=(0,y.useState)(r),[u,d]=(0,y.useState)(!1),[f,p]=(0,y.useState)(null),[m,h]=(0,y.useState)(!1),g=ob(e=>e.isUnlocked);(0,y.useEffect)(()=>{if(!r)return;async function n(){try{l(!0);let n=await ib.get(`/v1/memories/${e}`);a({content:n.content||``,tags:n.tags||[],source:n.source||``}),s(zme(n.tags||[])),h(xJ(n.tags,n.visibility))}catch(e){console.error(`Failed to fetch memory:`,e),p(`加载记忆失败`)}finally{l(!1)}}n()},[e,r]);let _=async()=>{if(!i.content.trim()){p(`内容不能为空`);return}try{d(!0),p(null);let a={content:i.content.trim(),tags:i.tags,source:i.source.trim()||void 0};r?(await ib.put(`/v1/memories/${e}`,a),n(`/memories/${e}`)):n(`/memories/${(await ib.post(`/v1/memories`,a)).id}`)}catch(e){console.error(`Failed to save memory:`,e),p(r?`保存记忆失败`:`创建记忆失败`)}finally{d(!1)}},v=e=>{s(e),a(n=>({...n,tags:Rme(e)}))},b=e=>{if(e.key===`Enter`){e.preventDefault();let n=o.trim();n&&!i.tags.includes(n)&&(a(e=>({...e,tags:[...e.tags,n]})),s(``))}},x=e=>{a(n=>({...n,tags:n.tags.filter(n=>n!==e)}))};return c?(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsx)(Tb,{className:`h-8 w-32`}),(0,K.jsxs)(`div`,{className:`space-y-4`,children:[(0,K.jsx)(Tb,{className:`h-4 w-16`}),(0,K.jsx)(Tb,{className:`h-32 w-full`}),(0,K.jsx)(Tb,{className:`h-4 w-16`}),(0,K.jsx)(Tb,{className:`h-10 w-full`})]})]}):r&&m&&!g?(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>n(-1),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsxs)(`div`,{className:`rounded-lg border border-amber-500/30 bg-amber-500/5 p-8 text-center space-y-4`,children:[(0,K.jsx)(Em,{className:`h-10 w-10 text-amber-500 mx-auto`}),(0,K.jsx)(`h3`,{className:`text-lg font-semibold text-amber-500`,children:`Vault 已锁定`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground max-w-xs mx-auto`,children:`此记忆为私密记忆,请先解锁 Vault 后再进行编辑`}),(0,K.jsx)(J,{size:`sm`,onClick:()=>n(`/memories/${e}`),children:`返回详情页`})]})]}):(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>n(-1),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsx)(`h1`,{className:`text-xl font-semibold`,children:r?`编辑记忆`:`新建记忆`})]}),f&&(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-4 text-sm text-destructive`,children:f}),(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(gb,{htmlFor:`content`,children:[`内容 `,(0,K.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,K.jsx)(d9,{id:`content`,value:i.content,onChange:e=>a(n=>({...n,content:e.target.value})),placeholder:`输入记忆内容...`,rows:8,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`tags`,children:`标签`}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(hb,{id:`tags`,value:o,onChange:e=>v(e.target.value),onKeyDown:b,placeholder:`输入标签,按回车或逗号分隔...`}),(0,K.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:i.tags.map(e=>(0,K.jsxs)(hJ,{variant:`outline`,className:bJ(e,`cursor-pointer hover:opacity-60`),onClick:()=>x(e),title:`点击移除`,children:[e,` ×`]},e))})]})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`source`,children:`来源`}),(0,K.jsx)(hb,{id:`source`,value:i.source,onChange:e=>a(n=>({...n,source:e.target.value})),placeholder:`记忆来源(可选)...`})]}),(0,K.jsxs)(`div`,{className:`flex justify-end gap-3 pt-4`,children:[(0,K.jsx)(J,{variant:`outline`,onClick:()=>n(-1),disabled:u,children:`取消`}),(0,K.jsx)(J,{onClick:_,disabled:u,children:u?`保存中...`:r?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Bm,{className:`size-4 mr-1.5`}),`保存`]}):(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Lm,{className:`size-4 mr-1.5`}),`创建`]})})]})]})]})}function Bme(e){return e.split(/[,,]/).map(e=>e.trim()).filter(e=>e.length>0)}function Vme(e){return e.join(`, `)}function Hme(){let{id:e}=it(),n=et(),[r,i]=(0,y.useState)({l0_abstract:``,l1_overview:``,l2_content:``,content:``,tags:[],source:``}),[a,o]=(0,y.useState)(``),[s,c]=(0,y.useState)(!0),[l,u]=(0,y.useState)(!1),[d,f]=(0,y.useState)(null),[p,m]=(0,y.useState)(!1),h=ob(e=>e.isUnlocked);(0,y.useEffect)(()=>{if(!e)return;async function n(){try{c(!0);let n=await ib.get(`/v1/memories/${e}`);i({l0_abstract:n.l0_abstract??n.abstract??``,l1_overview:n.l1_overview??n.overview??``,l2_content:n.l2_content??n.detail??``,content:n.content||``,tags:n.tags||[],source:n.source||``}),o(Vme(n.tags||[])),m(xJ(n.tags,n.visibility))}catch(e){console.error(`Failed to fetch memory:`,e),f(`加载记忆失败`)}finally{c(!1)}}n()},[e]);let g=async()=>{if(!r.content.trim()){f(`原文内容不能为空`);return}try{u(!0),f(null);let i={content:r.content.trim(),l0_abstract:r.l0_abstract.trim()||void 0,l1_overview:r.l1_overview.trim()||void 0,l2_content:r.l2_content.trim()||void 0,tags:r.tags,source:r.source.trim()||void 0};await ib.put(`/v1/memories/${e}`,i),n(`/memories/${e}`)}catch(e){console.error(`Failed to save memory:`,e),f(`保存记忆失败`)}finally{u(!1)}},_=e=>{o(e),i(n=>({...n,tags:Bme(e)}))},v=e=>{if(e.key===`Enter`){e.preventDefault();let n=a.trim();n&&!r.tags.includes(n)&&(i(e=>({...e,tags:[...e.tags,n]})),o(``))}},b=e=>{i(n=>({...n,tags:n.tags.filter(n=>n!==e)}))};return s?(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsx)(Tb,{className:`h-8 w-32`}),(0,K.jsxs)(`div`,{className:`space-y-4`,children:[(0,K.jsx)(Tb,{className:`h-4 w-16`}),(0,K.jsx)(Tb,{className:`h-32 w-full`}),(0,K.jsx)(Tb,{className:`h-4 w-16`}),(0,K.jsx)(Tb,{className:`h-10 w-full`})]})]}):p&&!h?(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>n(-1),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsxs)(`div`,{className:`rounded-lg border border-amber-500/30 bg-amber-500/5 p-8 text-center space-y-4`,children:[(0,K.jsx)(Em,{className:`h-10 w-10 text-amber-500 mx-auto`}),(0,K.jsx)(`h3`,{className:`text-lg font-semibold text-amber-500`,children:`Vault 已锁定`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground max-w-xs mx-auto`,children:`此记忆为私密记忆,请先解锁 Vault 后再进行编辑`}),(0,K.jsx)(J,{size:`sm`,onClick:()=>n(`/memories/${e}`),children:`返回详情页`})]})]}):(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>n(-1),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsx)(`h1`,{className:`text-xl font-semibold`,children:`编辑 Insight 记忆`})]}),d&&(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-4 text-sm text-destructive`,children:d}),(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`l0_abstract`,children:`摘要`}),(0,K.jsx)(d9,{id:`l0_abstract`,value:r.l0_abstract,onChange:e=>i(n=>({...n,l0_abstract:e.target.value})),placeholder:`输入摘要...`,rows:3,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`l1_overview`,children:`概览`}),(0,K.jsx)(d9,{id:`l1_overview`,value:r.l1_overview,onChange:e=>i(n=>({...n,l1_overview:e.target.value})),placeholder:`输入概览...`,rows:4,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(gb,{htmlFor:`l2_content`,children:[`详情 `,(0,K.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,K.jsx)(d9,{id:`l2_content`,value:r.l2_content,onChange:e=>i(n=>({...n,l2_content:e.target.value})),placeholder:`输入详情内容...`,rows:6,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(gb,{htmlFor:`content`,children:[`原文 `,(0,K.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,K.jsx)(d9,{id:`content`,value:r.content,onChange:e=>i(n=>({...n,content:e.target.value})),placeholder:`输入原文内容...`,rows:6,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`tags`,children:`标签`}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(hb,{id:`tags`,value:a,onChange:e=>_(e.target.value),onKeyDown:v,placeholder:`输入标签,按回车或逗号分隔...`}),(0,K.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:r.tags.map(e=>(0,K.jsxs)(hJ,{variant:`outline`,className:bJ(e,`cursor-pointer hover:opacity-60`),onClick:()=>b(e),title:`点击移除`,children:[e,` ×`]},e))})]})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`source`,children:`来源`}),(0,K.jsx)(hb,{id:`source`,value:r.source,onChange:e=>i(n=>({...n,source:e.target.value})),placeholder:`记忆来源(可选)...`})]}),(0,K.jsxs)(`div`,{className:`flex justify-end gap-3 pt-4`,children:[(0,K.jsx)(J,{variant:`outline`,onClick:()=>n(-1),disabled:l,children:`取消`}),(0,K.jsx)(J,{onClick:g,disabled:l,children:l?`保存中...`:(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Bm,{className:`size-4 mr-1.5`}),`保存`]})})]})]})]})}var Ume=300;function Wme({onUnlock:e}){let[n,r]=(0,y.useState)(``),[i,a]=(0,y.useState)(null),[o,s]=(0,y.useState)(!1),c=ob(e=>e.setPassword),l=ob(e=>e.verifyPassword),u=ob(e=>e.checkStatus),d=ob(e=>e.hasPassword);(0,y.useEffect)(()=>{u().then(()=>{s(!d)})},[u,d]);let f=async()=>{if(!n.trim()){a(`请输入密码`);return}o?(await c(n),e()):await l(n)?(a(null),e()):a(`密码错误`)};return(0,K.jsxs)(`div`,{className:`rounded-lg border border-amber-500/30 bg-amber-500/5 p-8 text-center space-y-4 max-w-md mx-auto mt-12`,children:[(0,K.jsx)(Em,{className:`h-10 w-10 text-amber-500 mx-auto`}),(0,K.jsx)(`h3`,{className:`text-lg font-semibold text-amber-500`,children:o?`设置 Vault 密码`:`Vault 已锁定`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground max-w-xs mx-auto`,children:o?`首次查看私密记忆,请设置 Vault 密码`:`私密记忆已加密,请输入 Vault 密码查看`}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 max-w-xs mx-auto`,children:[(0,K.jsx)(hb,{type:`password`,placeholder:o?`设置密码...`:`输入密码...`,value:n,onChange:e=>{r(e.target.value),a(null)},onKeyDown:e=>e.key===`Enter`&&f(),className:i?`border-destructive`:``}),(0,K.jsx)(J,{size:`sm`,onClick:f,children:o?`设置`:`解锁`})]}),i&&(0,K.jsx)(`p`,{className:`text-xs text-destructive`,children:i})]})}function Gme(){let e=et(),n=ob(e=>e.isUnlocked),r=ob(e=>e.lock),[i,a]=(0,y.useState)(!1),[o,s]=(0,y.useState)([]),[c,l]=(0,y.useState)(!0),[u,d]=(0,y.useState)(null),[f,p]=(0,y.useState)(1),[m,h]=(0,y.useState)(``),[g,_]=(0,y.useState)(0),[v,b]=(0,y.useState)(`all`),[x,S]=(0,y.useState)(`created_at`),[C,w]=(0,y.useState)(50),[T,E]=(0,y.useState)(null),[D,O]=(0,y.useState)(!1),k=n||i,A=(0,y.useCallback)(async(e,n)=>{try{l(!0),d(null);let r={offset:(e-1)*C,limit:C,search:n||void 0,sort:x};v!==`all`&&(r.tier=v);let i=await ib.get(`/v1/memories`,{params:r});s(i.memories||[]),_(i.total_count||0)}catch(e){console.error(`Failed to fetch memories:`,e),d(`加载记忆列表失败`)}finally{l(!1)}},[v,x,C]);(0,y.useEffect)(()=>{if(!k)return;let e=setTimeout(()=>{p(1),A(1,m)},Ume);return()=>clearTimeout(e)},[m,A,k]),(0,y.useEffect)(()=>{k&&A(f,m)},[f,m,A,k]);let j=o.filter(e=>xJ(e.tags,e.visibility)),M=n=>{e(`/memories/${n}`)},N=e=>{h(e.target.value)},P=()=>{f>1&&p(f-1)},F=()=>{f*C<g&&p(f+1)},I=(e,n)=>{n.stopPropagation(),E(e)},L=async()=>{if(!T)return;let e=T,n=o;s(n=>n.filter(n=>n.id!==e)),O(!0);try{await ib.delete(`/v1/memories/${e}`),G.success(`记忆已删除`),E(null),n.filter(n=>n.id!==e).length===0&&f>1?(p(f-1),A(f-1,m)):A(f,m)}catch(e){console.error(`Failed to delete memory:`,e),G.error(`删除失败,请重试`),s(n),E(null)}finally{O(!1)}},R=f*C<g,z=f>1;return k?(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(`h1`,{className:`text-2xl font-semibold tracking-tight flex items-center gap-2`,children:[(0,K.jsx)(Em,{className:`size-6 text-amber-500`}),`私密记忆`]}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`管理您的私密记忆内容`})]}),(0,K.jsxs)(J,{variant:`outline`,size:`sm`,onClick:()=>r(),children:[(0,K.jsx)(Em,{className:`size-3.5 mr-1.5`}),`锁定 Vault`]})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-4 flex-wrap`,children:[(0,K.jsxs)(`div`,{className:`relative flex-1 max-w-md`,children:[(0,K.jsx)(Vm,{className:`absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground`}),(0,K.jsx)(hb,{type:`text`,placeholder:`搜索私密记忆内容...`,value:m,onChange:N,className:`pl-9`})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsx)(Wm,{className:`size-3.5 text-muted-foreground`}),(0,K.jsxs)(`select`,{value:v,onChange:e=>{b(e.target.value),p(1)},className:`h-9 rounded-md border border-input bg-background px-3 text-sm`,children:[(0,K.jsx)(`option`,{value:`all`,children:`全部分类`}),(0,K.jsx)(`option`,{value:`core`,children:`核心`}),(0,K.jsx)(`option`,{value:`working`,children:`工作区`}),(0,K.jsx)(`option`,{value:`peripheral`,children:`边缘`})]}),(0,K.jsx)(Hp,{className:`size-3.5 text-muted-foreground`}),(0,K.jsxs)(`select`,{value:x,onChange:e=>{S(e.target.value),p(1)},className:`h-9 rounded-md border border-input bg-background px-3 text-sm`,children:[(0,K.jsx)(`option`,{value:`updated_at`,children:`按更新时间`}),(0,K.jsx)(`option`,{value:`created_at`,children:`按创建时间`}),(0,K.jsx)(`option`,{value:`importance`,children:`按重要性`}),(0,K.jsx)(`option`,{value:`confidence`,children:`按置信度`}),(0,K.jsx)(`option`,{value:`access_count`,children:`按访问次数`})]}),(0,K.jsxs)(`select`,{value:C,onChange:e=>{w(Number(e.target.value)),p(1)},className:`h-9 rounded-md border border-input bg-background px-3 text-sm`,children:[(0,K.jsx)(`option`,{value:20,children:`20条/页`}),(0,K.jsx)(`option`,{value:50,children:`50条/页`}),(0,K.jsx)(`option`,{value:100,children:`100条/页`})]})]})]}),u&&(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-4 text-sm text-destructive`,children:u}),(0,K.jsx)(`div`,{className:`space-y-3`,children:c?[1,2,3,4,5].map(e=>(0,K.jsxs)(`div`,{className:`rounded-lg border border-border bg-card p-4 space-y-2`,children:[(0,K.jsx)(Tb,{className:`h-4 w-[95%]`}),(0,K.jsx)(Tb,{className:`h-4 w-[80%]`}),(0,K.jsxs)(`div`,{className:`flex gap-2 pt-2`,children:[(0,K.jsx)(Tb,{className:`h-5 w-16`}),(0,K.jsx)(Tb,{className:`h-5 w-12`})]})]},`sk-${e}`)):j.length===0?(0,K.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-8 text-center text-muted-foreground`,children:`暂无私密记忆`}):j.map(e=>(0,K.jsxs)(`button`,{type:`button`,onClick:()=>M(e.id),className:wp(`w-full text-left rounded-lg border p-4 cursor-pointer transition-colors`,`border-amber-500/30 bg-amber-500/5 hover:bg-amber-500/10`),children:[(0,K.jsxs)(`div`,{className:`space-y-1`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,K.jsx)(Em,{className:`h-3 w-3 text-amber-500`}),(0,K.jsx)(`span`,{className:`text-xs text-amber-500 font-medium`,children:`私密记忆`})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 text-sm text-muted-foreground`,children:[(0,K.jsx)(Em,{className:`h-3.5 w-3.5 text-amber-500`}),(0,K.jsx)(`span`,{children:`🔒 已加密,请点击解锁`})]})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 mt-3 flex-wrap`,children:[(0,K.jsx)(hJ,{variant:`outline`,className:`font-normal text-xs`,children:e.category||`未分类`}),(0,K.jsx)(hJ,{variant:TJ(e.tier),className:`text-xs`,children:wJ(e.tier)}),(0,K.jsxs)(hJ,{variant:`outline`,className:bJ(`私密`,`text-xs`),children:[(0,K.jsx)(Em,{className:`size-2.5 mr-1`}),`私密`]}),(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground ml-auto`,children:kJ(e.created_at)}),(0,K.jsx)(`button`,{type:`button`,onClick:n=>I(e.id,n),className:`ml-2 p-1 rounded hover:bg-destructive/10 text-muted-foreground hover:text-destructive transition-colors`,title:`删除`,children:(0,K.jsx)(Xm,{className:`size-3.5`})})]})]},e.id))}),!c&&(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`本页共 `,j.length,` 条私密记忆`]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsxs)(J,{variant:`outline`,size:`sm`,onClick:P,disabled:!z||c,children:[(0,K.jsx)(Zp,{className:`size-4`}),`上一页`]}),(0,K.jsxs)(J,{variant:`outline`,size:`sm`,onClick:F,disabled:!R||c,children:[`下一页`,(0,K.jsx)(Qp,{className:`size-4`})]})]})]}),(0,K.jsx)(aJ,{open:!!T,onOpenChange:e=>{!e&&!D&&E(null)},children:(0,K.jsxs)(oJ,{children:[(0,K.jsxs)(sJ,{children:[(0,K.jsx)(lJ,{children:`确认删除记忆`}),(0,K.jsx)(uJ,{children:`确定要删除这条记忆吗?此操作不可撤销。`})]}),(0,K.jsxs)(cJ,{children:[(0,K.jsx)(fJ,{onClick:()=>E(null),disabled:D,children:`取消`}),(0,K.jsx)(dJ,{disabled:D,onClick:L,className:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,children:D?`删除中...`:`删除`})]})]})})]}):(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(`h1`,{className:`text-2xl font-semibold tracking-tight flex items-center gap-2`,children:[(0,K.jsx)(Em,{className:`size-6 text-amber-500`}),`私密记忆`]}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`管理您的私密记忆内容`})]}),(0,K.jsx)(Wme,{onUnlock:()=>a(!0)})]})}var p9=20;function Kme(e){return new Date(e).toLocaleString(`zh-CN`,{year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`})}function m9(e){return e?e.length<=16?e:e.slice(0,8)+`...`+e.slice(-8):`—`}function qme(){let e=et(),n=Ze(),[r,i]=(0,y.useState)([]),[a,o]=(0,y.useState)(!0),[s,c]=(0,y.useState)(null),[l,u]=(0,y.useState)(``),[d,f]=(0,y.useState)(1),[p,m]=(0,y.useState)(null),[h,g]=(0,y.useState)(!1),[_,v]=(0,y.useState)(new Set),[b,x]=(0,y.useState)(!1),[S,C]=(0,y.useState)(!1);(0,y.useEffect)(()=>{async function e(){try{o(!0),c(null),i((await ib.get(`/v1/session-recalls/groups`,{params:{limit:1e3,offset:0}}))?.groups||[])}catch(e){console.error(`Failed to fetch session groups:`,e),c(`加载 Session 记忆注入记录失败`),G.error(`加载 Session 记忆注入记录失败`)}finally{o(!1)}}e()},[]);let w=(0,y.useMemo)(()=>[...r].sort((e,n)=>new Date(n.last_injected_at).getTime()-new Date(e.last_injected_at).getTime()),[r]),T=(0,y.useMemo)(()=>{if(!l.trim())return w;let e=l.trim().toLowerCase();return w.filter(n=>n.session_id.toLowerCase().includes(e)||n.latest_query.toLowerCase().includes(e))},[w,l]),E=Math.ceil(T.length/p9),D=(0,y.useMemo)(()=>{let e=(d-1)*p9;return T.slice(e,e+p9)},[T,d]),O=r=>{e(`/sessions/${encodeURIComponent(r)}`,{state:{from:n.pathname+n.search}})},k=(e,n)=>{n.stopPropagation(),m(e)},A=async()=>{if(p){C(!0);try{await ib.delete(`/v1/session-recalls/session/${encodeURIComponent(p)}`),i(e=>e.filter(e=>e.session_id!==p)),G.success(`删除成功`)}catch(e){console.error(`Failed to delete session:`,e),G.error(`删除失败`)}finally{C(!1),m(null)}}},j=e=>{v(n=>{let r=new Set(n);return r.has(e)?r.delete(e):r.add(e),r})},M=()=>{v(new Set(D.map(e=>e.session_id)))},N=()=>{v(new Set)},P=async()=>{if(_.size===0)return;let e=Array.from(_);C(!0);try{await Promise.all(e.map(e=>ib.delete(`/v1/session-recalls/session/${encodeURIComponent(e)}`))),i(n=>n.filter(n=>!e.includes(n.session_id))),v(new Set),x(!1),G.success(`已删除 ${e.length} 个 Session`)}catch(e){console.error(`Failed to batch delete sessions:`,e),G.error(`批量删除失败`)}finally{C(!1)}};return(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:`Session 记忆注入记录`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`查看各 Session 的记忆注入统计与分布`})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-4 flex-wrap`,children:[(0,K.jsxs)(`div`,{className:`relative w-80`,children:[(0,K.jsx)(Vm,{className:`absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground`}),(0,K.jsx)(hb,{type:`text`,placeholder:`搜索 Session ID 或对话内容...`,value:l,onChange:e=>{u(e.target.value),f(1)},className:`pl-9`})]}),(0,K.jsx)(J,{variant:h?`default`:`outline`,size:`sm`,onClick:()=>{g(!h),h&&N()},children:h?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(rh,{className:`size-3.5 mr-1.5`}),`退出管理`]}):(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Wm,{className:`size-3.5 mr-1.5`}),`批量管理`]})}),!a&&T.length>0&&E>1&&(0,K.jsxs)(`div`,{className:`flex items-center gap-2 shrink-0`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(J,{variant:`ghost`,size:`icon`,className:`h-6 w-6`,onClick:()=>f(e=>Math.max(1,e-1)),disabled:d===1,children:(0,K.jsx)(Zp,{className:`size-3`})}),(0,K.jsxs)(`span`,{className:`text-xs text-muted-foreground min-w-[3ch] text-center`,children:[d,`/`,E]}),(0,K.jsx)(J,{variant:`ghost`,size:`icon`,className:`h-6 w-6`,onClick:()=>f(e=>Math.min(E,e+1)),disabled:d===E,children:(0,K.jsx)(Qp,{className:`size-3`})})]}),(0,K.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`共 `,T.length,` 个`]})]})]}),h&&(0,K.jsxs)(`div`,{className:`flex items-center justify-between bg-muted/50 rounded-lg px-4 py-3`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,K.jsxs)(`span`,{className:`text-sm font-medium`,children:[`已选择 `,_.size,` 个 Session`]}),_.size>0&&(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(J,{variant:`ghost`,size:`sm`,className:`h-7 text-xs`,onClick:N,children:`取消选择`}),(0,K.jsx)(J,{variant:`ghost`,size:`sm`,className:`h-7 text-xs`,onClick:M,children:`全选本页`})]})]}),_.size>0&&(0,K.jsxs)(J,{variant:`destructive`,size:`sm`,className:`h-7`,onClick:()=>x(!0),children:[(0,K.jsx)(Xm,{className:`size-3.5 mr-1`}),`删除 (`,_.size,`)`]})]}),s&&(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-4 text-sm text-destructive`,children:s}),(0,K.jsx)(`div`,{className:`space-y-3`,children:a?[1,2,3,4,5].map(e=>(0,K.jsxs)(`div`,{className:`rounded-lg border border-border bg-card p-4 space-y-2`,children:[(0,K.jsx)(Tb,{className:`h-4 w-[40%]`}),(0,K.jsx)(Tb,{className:`h-4 w-[60%]`}),(0,K.jsxs)(`div`,{className:`flex gap-2 pt-2`,children:[(0,K.jsx)(Tb,{className:`h-5 w-16`}),(0,K.jsx)(Tb,{className:`h-5 w-12`})]})]},`sk-${e}`)):D.length===0?(0,K.jsxs)(`div`,{className:`rounded-lg border border-border bg-card p-12 text-center space-y-4`,children:[(0,K.jsx)(_m,{className:`h-12 w-12 text-muted-foreground mx-auto`}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(`p`,{className:`text-sm font-medium text-muted-foreground`,children:l?`未找到匹配的 Session`:`暂无 Session 记忆注入记录`}),(0,K.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:l?`尝试调整搜索条件`:`注入记忆后此处将显示记录`})]})]}):D.map(e=>{let n=_.has(e.session_id);return(0,K.jsxs)(`div`,{onClick:()=>h?j(e.session_id):O(e.session_id),className:`w-full text-left rounded-lg border border-border bg-card p-4 cursor-pointer transition-colors hover:bg-muted/50 group relative ${h&&n?`ring-2 ring-primary bg-primary/5`:``}`,children:[h&&(0,K.jsx)(`div`,{className:`absolute left-3 top-1/2 -translate-y-1/2 z-10`,children:(0,K.jsx)(`input`,{type:`checkbox`,checked:n,onChange:n=>{n.stopPropagation(),j(e.session_id)},onClick:e=>e.stopPropagation(),className:`size-4 cursor-pointer`})}),(0,K.jsxs)(`div`,{className:h?`pl-8`:``,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between gap-4`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-3 flex-1 min-w-0`,children:[(0,K.jsx)(`code`,{className:`text-sm font-mono bg-muted px-2 py-0.5 rounded shrink-0`,children:m9(e.session_id)}),e.latest_query&&(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground truncate max-w-[300px] sm:max-w-[400px] lg:max-w-[500px]`,children:e.latest_query})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 text-muted-foreground shrink-0`,children:[(0,K.jsxs)(`span`,{className:`text-xs flex items-center gap-1 whitespace-nowrap`,children:[(0,K.jsx)(nm,{className:`size-3.5`}),Kme(e.last_injected_at)]}),(0,K.jsx)(Qp,{className:`size-4 opacity-0 group-hover:opacity-50 transition-opacity`})]})]}),(0,K.jsxs)(`div`,{className:`mt-2 flex items-center justify-between`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap`,children:[(0,K.jsxs)(hJ,{variant:`secondary`,className:`text-xs font-normal`,children:[(0,K.jsx)(ih,{className:`size-3 mr-1`}),`自动 `,e.auto_count]}),e.manual_count>0&&(0,K.jsxs)(hJ,{variant:`outline`,className:`text-xs font-normal`,children:[(0,K.jsx)(Mm,{className:`size-3 mr-1`}),`手动 `,e.manual_count]}),(0,K.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`共 `,(0,K.jsx)(`span`,{className:`font-medium text-foreground`,children:e.count}),` 条`]})]}),!h&&(0,K.jsx)(J,{variant:`ghost`,size:`sm`,className:`h-7 w-7 p-0 opacity-0 group-hover:opacity-100 transition-opacity`,onClick:n=>k(e.session_id,n),children:(0,K.jsx)(Xm,{className:`size-4 text-destructive`})})]})]})]},e.session_id)})}),!a&&T.length>0&&(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`共 `,T.length,` 个 Session`]}),E>1&&(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsx)(J,{variant:`outline`,size:`sm`,onClick:()=>f(e=>Math.max(1,e-1)),disabled:d===1,children:(0,K.jsx)(Zp,{className:`size-4`})}),(0,K.jsxs)(`span`,{className:`text-sm text-muted-foreground`,children:[d,` / `,E]}),(0,K.jsx)(J,{variant:`outline`,size:`sm`,onClick:()=>f(e=>Math.min(E,e+1)),disabled:d===E,children:(0,K.jsx)(Qp,{className:`size-4`})})]})]}),(0,K.jsx)(aJ,{open:!!p,onOpenChange:e=>{!e&&!S&&m(null)},children:(0,K.jsxs)(oJ,{children:[(0,K.jsxs)(sJ,{children:[(0,K.jsx)(lJ,{children:`确认删除 Session`}),(0,K.jsxs)(uJ,{children:[`此操作不可撤销。将删除 Session `,p?m9(p):``,` 的所有注入记录。`]})]}),(0,K.jsxs)(cJ,{children:[(0,K.jsx)(fJ,{onClick:()=>m(null),disabled:S,children:`取消`}),(0,K.jsx)(dJ,{disabled:S,onClick:A,className:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,children:S?`删除中...`:`删除`})]})]})}),(0,K.jsx)(aJ,{open:b,onOpenChange:e=>{!e&&!S&&x(!1)},children:(0,K.jsxs)(oJ,{children:[(0,K.jsxs)(sJ,{children:[(0,K.jsx)(lJ,{children:`确认批量删除`}),(0,K.jsxs)(uJ,{children:[`确定要删除选中的 `,_.size,` 个 Session 吗?此操作不可撤销。`]})]}),(0,K.jsxs)(cJ,{children:[(0,K.jsx)(fJ,{onClick:()=>x(!1),disabled:S,children:`取消`}),(0,K.jsx)(dJ,{disabled:S,onClick:e=>{e.preventDefault(),P()},className:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,children:S?`删除中...`:`删除 ${_.size} 个`})]})]})})]})}function Jme(e){return!e||e.includes(`
|
|
160
|
+
- `).trim()}function l9(e){return new Date(e).toLocaleString(`zh-CN`,{year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`})}function Mme(){let[e,n]=(0,y.useState)(``),[r,i]=(0,y.useState)(null),a=ob(e=>e.hasPassword),o=ob(e=>e.unlock),s=async()=>{if(!e.trim()){i(`请输入密码`);return}if(!a){i(`您还没设置密码,请先设置密码`);return}await o(e)||i(`密码错误`)};return(0,K.jsxs)(`div`,{className:`rounded-lg border border-amber-500/30 bg-amber-500/5 p-8 text-center space-y-4`,children:[(0,K.jsx)(Em,{className:`h-10 w-10 text-amber-500 mx-auto`}),(0,K.jsx)(`h3`,{className:`text-lg font-semibold text-amber-500`,children:a?`Vault 已锁定`:`无法解锁`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground max-w-xs mx-auto`,children:a?`此记忆已加密,请输入 Vault 密码查看`:`您尚未设置 Vault 密码,请先前往设置`}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 max-w-xs mx-auto`,children:[(0,K.jsx)(hb,{type:`password`,placeholder:a?`输入密码...`:`请先设置密码...`,value:e,onChange:e=>{n(e.target.value),i(null)},onKeyDown:e=>e.key===`Enter`&&s(),className:r?`border-destructive`:``,disabled:!a}),(0,K.jsx)(J,{size:`sm`,onClick:s,disabled:!a,children:`解锁`})]}),r&&(0,K.jsx)(`p`,{className:`text-xs text-destructive`,children:r})]})}function Nme({memory:e}){let n=[{key:`l0_abstract`,label:`摘要`},{key:`l1_overview`,label:`概览`},{key:`l2_content`,label:`详情`},{key:`content`,label:`原文`}].filter(n=>{let r=e[n.key];return r!=null&&String(r).trim().length>0}),r=`omem-memory-tab-${e.id}`,[i,a]=(0,y.useState)(()=>{try{let e=sessionStorage.getItem(r);if(e&&n.some(n=>n.key===e))return e}catch{}return n.find(e=>e.key===`content`)?.key||n.find(e=>e.key===`l2_content`)?.key||n[0]?.key});if((0,y.useEffect)(()=>{(!i||!n.some(e=>e.key===i))&&a(n[0]?.key)},[n,i]),n.length===0)return(0,K.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-4 text-sm text-muted-foreground`,children:`无内容`});if(n.length===1){let r=e[n[0].key];return(0,K.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-4 prose prose-sm dark:prose-invert max-w-none break-words`,children:!r||r.trim().length===0?(0,K.jsx)(`div`,{className:`text-sm text-muted-foreground`,children:`无内容`}):(0,K.jsx)(p0,{remarkPlugins:[Y4],children:c9(r)})})}return(0,K.jsxs)(x7,{value:i,onValueChange:e=>{a(e);try{sessionStorage.setItem(r,e)}catch{}},className:`w-full`,children:[(0,K.jsx)(S7,{className:`mb-2`,children:n.map(e=>(0,K.jsxs)(C7,{value:e.key,children:[(0,K.jsx)(bm,{className:`size-3 mr-1`}),e.label]},e.key))}),n.map(n=>{let r=e[n.key],i=!r||r.trim().length===0;return(0,K.jsx)(w7,{value:n.key,children:(0,K.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-4 prose prose-sm dark:prose-invert max-w-none break-words`,children:i?(0,K.jsx)(`div`,{className:`text-sm text-muted-foreground`,children:`无内容`}):(0,K.jsx)(p0,{remarkPlugins:[Y4],children:c9(r)})})},n.key)})]})}function u9({label:e,value:n}){return(0,K.jsxs)(`div`,{className:`space-y-1`,children:[(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e}),(0,K.jsx)(`div`,{className:`text-sm font-medium`,children:n})]})}var Pme={supersedes:`#ef4444`,contextualizes:`#3b82f6`,supports:`#10b981`,contradicts:`#a855f7`,continues:`#06b6d4`,continued_by:`#06b6d4`};function Fme({memoryId:e,relations:n}){let r=(0,y.useRef)(null),i=(0,y.useRef)(null),a=et(),o=(0,y.useMemo)(()=>{let r=new Map;return n.forEach(e=>{r.has(e.target_id)||r.set(e.target_id,{id:e.target_id,name:e.target_id.slice(0,8),isCenter:!1})}),{nodes:[{id:e,name:e.slice(0,8),isCenter:!0},...Array.from(r.values())],links:n.map(n=>({source:e,target:n.target_id,color:Pme[n.relation_type]||`#6b7280`,relationType:n.relation_type,contextLabel:n.context_label}))}},[e,n]);return(0,K.jsx)(`div`,{ref:r,className:`h-[300px] w-full`,children:(0,K.jsx)(p7,{ref:i,graphData:o,nodeCanvasObject:(e,n,r)=>{let i=e.x??0,a=e.y??0;if(!isFinite(i)||!isFinite(a))return;let o=e.isCenter,s=o?14:8;if(o){let e=n.createRadialGradient(i,a,s*.5,i,a,s*2.5);e.addColorStop(0,`rgba(245,158,11,0.25)`),e.addColorStop(1,`rgba(245,158,11,0)`),n.fillStyle=e,n.beginPath(),n.arc(i,a,s*2.5,0,Math.PI*2),n.fill()}if(o){let e=n.createRadialGradient(i-s*.3,a-s*.3,0,i,a,s);e.addColorStop(0,`#fbbf24`),e.addColorStop(1,`#f97316`),n.fillStyle=e,n.strokeStyle=`#f59e0b`,n.lineWidth=2}else n.fillStyle=`#3b82f6`,n.strokeStyle=`#60a5fa`,n.lineWidth=1.5;n.beginPath(),n.arc(i,a,s,0,Math.PI*2),n.fill(),n.stroke();let c=e.name;n.font=`${Math.max(10/r,8)}px sans-serif`,n.textAlign=`center`,n.textBaseline=`bottom`,n.fillStyle=o?`#fbbf24`:`#94a3b8`,n.fillText(c,i,a-s-4/r)},nodePointerAreaPaint:(e,n,r)=>{let i=e.x??0,a=e.y??0;if(!isFinite(i)||!isFinite(a))return;let o=e.isCenter?18:14;r.fillStyle=n,r.beginPath(),r.arc(i,a,o,0,Math.PI*2),r.fill()},nodeLabel:e=>{let n=e;if(n.isCenter)return`当前记忆: ${n.name}`;let r=o.links.find(e=>(typeof e.target==`string`?e.target:e.target.id)===n.id);if(!r)return n.name;let i=[`ID: ${n.name}`];return r.relationType&&i.push(`关系: ${r.relationType}`),r.contextLabel&&i.push(r.contextLabel),i.join(` | `)},linkDirectionalArrowLength:6,linkDirectionalArrowRelPos:1,linkCurvature:.15,linkColor:e=>e.color,linkWidth:1.5,backgroundColor:`transparent`,enableNodeDrag:!1,enableZoomInteraction:!0,enablePanInteraction:!0,nodeRelSize:0,cooldownTime:2e3,onEngineStop:()=>{i.current&&i.current.zoomToFit(0,30)},onNodeClick:e=>{let n=e;!n.isCenter&&n.id&&a(`/memories/${n.id}`)}})})}function Ime({memory:e}){let n={peripheral:0,working:1,core:2},r={access_via_get:`访问触发`,access_via_search:`搜索触发`,access_via_recall:`召回触发`,access_via_cross_space_search:`跨空间搜索触发`,scheduled_evaluation:`定时评估`},i=[];if(e.tier_history)try{i=JSON.parse(e.tier_history)}catch{}return i.length===0?null:(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{className:`pb-3`,children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(nm,{className:`size-4 text-muted-foreground`}),`等级变更历史`]})}),(0,K.jsx)(wb,{children:(0,K.jsx)(`div`,{className:`overflow-x-auto`,children:(0,K.jsx)(`div`,{className:`flex items-start min-w-max`,children:i.map((e,a)=>{let o=(n[e.from]??0)<(n[e.to]??0);return(0,K.jsxs)(`div`,{className:`flex flex-col items-center`,style:{minWidth:`140px`},children:[(0,K.jsxs)(`div`,{className:`text-[11px] text-muted-foreground mb-3 whitespace-nowrap text-center`,children:[new Date(e.at).toLocaleDateString(`zh-CN`,{month:`2-digit`,day:`2-digit`}),(0,K.jsx)(`span`,{className:`text-[10px] ml-1 opacity-70`,children:new Date(e.at).toLocaleTimeString(`zh-CN`,{hour:`2-digit`,minute:`2-digit`})})]}),(0,K.jsxs)(`div`,{className:`flex items-center w-full`,children:[a>0&&(0,K.jsx)(`div`,{className:`flex-1 h-px bg-border`}),(0,K.jsx)(`div`,{className:`size-3 rounded-full border-2 shrink-0 z-10 ring-2 ring-background ${o?`bg-emerald-500/20 border-emerald-500`:`bg-red-500/20 border-red-500`}`}),a<i.length-1&&(0,K.jsx)(`div`,{className:`flex-1 h-px bg-border`})]}),(0,K.jsxs)(`div`,{className:`mt-3 flex flex-col items-center gap-1.5`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-1`,children:[o?(0,K.jsx)(Up,{className:`size-3.5 text-emerald-500 shrink-0`}):(0,K.jsx)(zp,{className:`size-3.5 text-red-500 shrink-0`}),(0,K.jsx)(hJ,{variant:`outline`,className:`text-[10px] px-1.5 py-0 ${EJ(e.from)}`,children:wJ(e.from)}),(0,K.jsx)(`span`,{className:`text-muted-foreground text-[10px]`,children:`→`}),(0,K.jsx)(hJ,{variant:`outline`,className:`text-[10px] px-1.5 py-0 ${EJ(e.to)}`,children:wJ(e.to)})]}),(0,K.jsxs)(`p`,{className:`text-[10px] text-muted-foreground text-center`,children:[r[e.reason]||e.reason,` · #`,e.access_count]})]})]},e.at+e.from+e.to)})})})})]})}function Lme(){let{id:e}=it(),n=et(),r=Ze(),i=()=>{let e=r.state?.from||sessionStorage.getItem(`memories-list-from`)||`/memories`;n(e.startsWith(`/`)?e:`/${e}`)},[a,o]=(0,y.useState)(null),[s,c]=(0,y.useState)(!0),[l,u]=(0,y.useState)(null),[d,f]=(0,y.useState)(!1),[p,m]=(0,y.useState)(!1),[h,g]=(0,y.useState)(!1),[_,v]=(0,y.useState)(!1),b=ob(e=>e.isUnlocked),x=ob(e=>e.lock);if((0,y.useEffect)(()=>{if(!e)return;async function n(){try{c(!0),u(null);let n=await ib.get(`/v1/memories/${e}`,{params:{skip_access:!0}});console.log(`Memory detail raw response:`,n),o({...n,l0_abstract:n.l0_abstract??n.abstract??``,l1_overview:n.l1_overview??n.overview??``,l2_content:n.l2_content??n.detail??``})}catch(e){console.error(`Failed to fetch memory:`,e),u(`加载记忆详情失败`)}finally{c(!1)}}n()},[e]),s)return(0,K.jsxs)(`div`,{className:`space-y-6 max-w-6xl mx-auto`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsx)(Tb,{className:`h-8 w-8`}),(0,K.jsx)(Tb,{className:`h-6 w-32`})]}),(0,K.jsx)(Tb,{className:`h-8 w-3/4`}),(0,K.jsx)(Tb,{className:`h-4 w-1/2`}),(0,K.jsxs)(`div`,{className:`space-y-3`,children:[(0,K.jsx)(Tb,{className:`h-4 w-full`}),(0,K.jsx)(Tb,{className:`h-4 w-full`}),(0,K.jsx)(Tb,{className:`h-4 w-4/5`})]})]});if(l||!a)return(0,K.jsxs)(`div`,{className:`space-y-4`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>i(),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-6 text-sm text-destructive`,children:l||`记忆不存在`})]});let S=xJ(a.tags,a.visibility),C=!S||b;return(0,K.jsxs)(`div`,{className:`space-y-6 max-w-6xl mx-auto`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>i(),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),S&&(0,K.jsxs)(hJ,{variant:`outline`,className:`border-amber-500/50 text-amber-500 bg-amber-500/10`,children:[(0,K.jsx)(Em,{className:`size-3 mr-1`}),`私密记忆`]}),(0,K.jsx)(hJ,{variant:`outline`,className:EJ(a.tier),children:wJ(a.tier)})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[C&&(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,className:`text-muted-foreground hover:text-destructive`,onClick:()=>f(!0),children:[(0,K.jsx)(Xm,{className:`size-3.5 mr-1.5`}),`删除`]}),b&&S&&(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>{x()},children:[(0,K.jsx)(Em,{className:`size-3.5 mr-1.5`}),`锁定`]})]})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:S&&!C?`🔒 私密记忆`:`记忆详情`}),(0,K.jsxs)(`div`,{className:`flex items-center gap-4 text-sm text-muted-foreground flex-wrap`,children:[(0,K.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(qp,{className:`size-3.5`}),l9(a.created_at)]}),a.updated_at!==a.created_at&&(0,K.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(nm,{className:`size-3.5`}),l9(a.updated_at)]}),(0,K.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(om,{className:`size-3.5`}),`访问 `,a.access_count||0,` 次`]}),(0,K.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(pm,{className:`size-3.5`}),a.id.slice(0,8),`...`]})]})]}),(0,K.jsx)(m7,{}),C?(0,K.jsxs)(`div`,{className:`flex gap-6`,children:[(0,K.jsxs)(`div`,{className:`flex-1 min-w-0 space-y-6`,children:[(0,K.jsx)(Ime,{memory:a}),(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(bm,{className:`size-4 text-muted-foreground`}),`内容`,S&&(0,K.jsxs)(`span`,{className:`flex items-center gap-1 text-xs text-amber-500 ml-auto font-normal`,children:[(0,K.jsx)(Tm,{className:`size-3`}),`已解锁`]})]})}),(0,K.jsx)(wb,{children:(0,K.jsx)(Nme,{memory:a})})]}),a.tags&&a.tags.length>0&&(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(Jm,{className:`size-4 text-muted-foreground`}),`标签`]})}),(0,K.jsx)(wb,{children:(0,K.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:a.tags.map(e=>(0,K.jsxs)(hJ,{variant:`outline`,className:bJ(e),children:[e===`私密`&&(0,K.jsx)(Em,{className:`size-2.5 mr-1`}),e]},e))})})]}),(0,K.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-3 gap-4`,children:[(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(vm,{className:`size-4 text-muted-foreground`}),`基本信息`]})}),(0,K.jsxs)(wb,{className:`space-y-3`,children:[(0,K.jsx)(u9,{label:`分类`,value:a.category||`—`}),(0,K.jsx)(u9,{label:`类型`,value:a.memory_type||`—`}),(0,K.jsx)(u9,{label:`状态`,value:a.state||`—`}),(0,K.jsx)(u9,{label:`等级`,value:(0,K.jsx)(hJ,{variant:`outline`,className:EJ(a.tier),children:wJ(a.tier)})})]})]}),(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(Jp,{className:`size-4 text-muted-foreground`}),`质量指标`]})}),(0,K.jsxs)(wb,{className:`space-y-3`,children:[(0,K.jsx)(u9,{label:`重要性`,value:a.importance?.toFixed(2)??`—`}),(0,K.jsx)(u9,{label:`置信度`,value:a.confidence?.toFixed(2)??`—`}),(0,K.jsx)(u9,{label:`访问次数`,value:a.access_count??`—`})]})]}),(0,K.jsxs)(bb,{children:[(0,K.jsx)(xb,{children:(0,K.jsxs)(Sb,{className:`flex items-center gap-1.5 text-base`,children:[(0,K.jsx)(fm,{className:`size-4 text-muted-foreground`}),`来源信息`]})}),(0,K.jsxs)(wb,{className:`space-y-3`,children:[(0,K.jsx)(u9,{label:`来源`,value:a.source||`—`}),a.project_path&&(0,K.jsx)(u9,{label:`项目路径`,value:a.project_path}),(0,K.jsxs)(`div`,{className:`space-y-1`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`范围`}),h?null:(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,className:`h-5 px-1.5 text-xs text-muted-foreground hover:text-foreground`,onClick:()=>g(!0),children:[(0,K.jsx)(Pm,{className:`size-3 mr-1`}),`编辑`]})]}),h?(0,K.jsxs)(r9,{defaultValue:a.scope||`global`,onValueChange:async e=>{if(!a||!e||e===a.scope){g(!1);return}v(!0);try{await ib.post(`/v1/memories/batch-visibility`,{memory_ids:[a.id],scope:e}),o(n=>n?{...n,scope:e}:null),G.success(`范围已更新`)}catch(e){console.error(`Update scope failed:`,e),G.error(`更新失败,请重试`)}finally{v(!1),g(!1)}},disabled:_,children:[(0,K.jsx)(a9,{className:`h-8 text-sm`,children:(0,K.jsx)(i9,{})}),(0,K.jsxs)(o9,{children:[(0,K.jsx)(s9,{value:`public`,children:`public`}),(0,K.jsx)(s9,{value:`private`,children:`private`}),(0,K.jsx)(s9,{value:`global`,children:`global`})]})]}):(0,K.jsx)(`div`,{className:`text-sm font-medium`,children:a.scope||`—`})]}),(0,K.jsx)(u9,{label:`Agent ID`,value:a.agent_id||`—`}),(0,K.jsx)(u9,{label:`Session ID`,value:a.session_id||`—`})]})]})]})]}),a.relations&&a.relations.length>0&&(0,K.jsxs)(`div`,{className:`w-80 shrink-0 sticky top-6`,children:[(0,K.jsxs)(`div`,{className:`text-xs text-muted-foreground mb-2 flex items-center gap-1.5`,children:[(0,K.jsx)(Cm,{className:`size-3.5`}),`关联图谱`]}),(0,K.jsx)(Fme,{memoryId:a.id,relations:a.relations},a.id+a.relations.length)]})]}):(0,K.jsx)(Mme,{}),(0,K.jsx)(aJ,{open:d,onOpenChange:e=>{!e&&!p&&f(!1)},children:(0,K.jsxs)(oJ,{children:[(0,K.jsxs)(sJ,{children:[(0,K.jsx)(lJ,{children:`确认删除记忆`}),(0,K.jsx)(uJ,{children:`确定要删除这条记忆吗?此操作不可撤销。`})]}),(0,K.jsxs)(cJ,{children:[(0,K.jsx)(fJ,{disabled:p,children:`取消`}),(0,K.jsx)(dJ,{disabled:p,onClick:async()=>{m(!0);try{await ib.delete(`/v1/memories/${e}`),G.success(`记忆已删除`),n(`/memories`)}catch(e){console.error(`Delete failed:`,e),G.error(`删除失败,请重试`),f(!1)}finally{m(!1)}},className:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,children:p?`删除中...`:`删除`})]})]})})]})}function d9({className:e,...n}){return(0,K.jsx)(`textarea`,{"data-slot":`textarea`,className:wp(`flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,e),...n})}function Rme(e){return e.split(/[,,]/).map(e=>e.trim()).filter(e=>e.length>0)}function zme(e){return e.join(`, `)}function f9(){let{id:e}=it(),n=et(),r=!!e,[i,a]=(0,y.useState)({content:``,tags:[],source:``}),[o,s]=(0,y.useState)(``),[c,l]=(0,y.useState)(r),[u,d]=(0,y.useState)(!1),[f,p]=(0,y.useState)(null),[m,h]=(0,y.useState)(!1),g=ob(e=>e.isUnlocked);(0,y.useEffect)(()=>{if(!r)return;async function n(){try{l(!0);let n=await ib.get(`/v1/memories/${e}`);a({content:n.content||``,tags:n.tags||[],source:n.source||``}),s(zme(n.tags||[])),h(xJ(n.tags,n.visibility))}catch(e){console.error(`Failed to fetch memory:`,e),p(`加载记忆失败`)}finally{l(!1)}}n()},[e,r]);let _=async()=>{if(!i.content.trim()){p(`内容不能为空`);return}try{d(!0),p(null);let a={content:i.content.trim(),tags:i.tags,source:i.source.trim()||void 0};r?(await ib.put(`/v1/memories/${e}`,a),n(`/memories/${e}`)):n(`/memories/${(await ib.post(`/v1/memories`,a)).id}`)}catch(e){console.error(`Failed to save memory:`,e),p(r?`保存记忆失败`:`创建记忆失败`)}finally{d(!1)}},v=e=>{s(e),a(n=>({...n,tags:Rme(e)}))},b=e=>{if(e.key===`Enter`){e.preventDefault();let n=o.trim();n&&!i.tags.includes(n)&&(a(e=>({...e,tags:[...e.tags,n]})),s(``))}},x=e=>{a(n=>({...n,tags:n.tags.filter(n=>n!==e)}))};return c?(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsx)(Tb,{className:`h-8 w-32`}),(0,K.jsxs)(`div`,{className:`space-y-4`,children:[(0,K.jsx)(Tb,{className:`h-4 w-16`}),(0,K.jsx)(Tb,{className:`h-32 w-full`}),(0,K.jsx)(Tb,{className:`h-4 w-16`}),(0,K.jsx)(Tb,{className:`h-10 w-full`})]})]}):r&&m&&!g?(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>n(-1),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsxs)(`div`,{className:`rounded-lg border border-amber-500/30 bg-amber-500/5 p-8 text-center space-y-4`,children:[(0,K.jsx)(Em,{className:`h-10 w-10 text-amber-500 mx-auto`}),(0,K.jsx)(`h3`,{className:`text-lg font-semibold text-amber-500`,children:`Vault 已锁定`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground max-w-xs mx-auto`,children:`此记忆为私密记忆,请先解锁 Vault 后再进行编辑`}),(0,K.jsx)(J,{size:`sm`,onClick:()=>n(`/memories/${e}`),children:`返回详情页`})]})]}):(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>n(-1),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsx)(`h1`,{className:`text-xl font-semibold`,children:r?`编辑记忆`:`新建记忆`})]}),f&&(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-4 text-sm text-destructive`,children:f}),(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(gb,{htmlFor:`content`,children:[`内容 `,(0,K.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,K.jsx)(d9,{id:`content`,value:i.content,onChange:e=>a(n=>({...n,content:e.target.value})),placeholder:`输入记忆内容...`,rows:8,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`tags`,children:`标签`}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(hb,{id:`tags`,value:o,onChange:e=>v(e.target.value),onKeyDown:b,placeholder:`输入标签,按回车或逗号分隔...`}),(0,K.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:i.tags.map(e=>(0,K.jsxs)(hJ,{variant:`outline`,className:bJ(e,`cursor-pointer hover:opacity-60`),onClick:()=>x(e),title:`点击移除`,children:[e,` ×`]},e))})]})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`source`,children:`来源`}),(0,K.jsx)(hb,{id:`source`,value:i.source,onChange:e=>a(n=>({...n,source:e.target.value})),placeholder:`记忆来源(可选)...`})]}),(0,K.jsxs)(`div`,{className:`flex justify-end gap-3 pt-4`,children:[(0,K.jsx)(J,{variant:`outline`,onClick:()=>n(-1),disabled:u,children:`取消`}),(0,K.jsx)(J,{onClick:_,disabled:u,children:u?`保存中...`:r?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Bm,{className:`size-4 mr-1.5`}),`保存`]}):(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Lm,{className:`size-4 mr-1.5`}),`创建`]})})]})]})]})}function Bme(e){return e.split(/[,,]/).map(e=>e.trim()).filter(e=>e.length>0)}function Vme(e){return e.join(`, `)}function Hme(){let{id:e}=it(),n=et(),[r,i]=(0,y.useState)({l0_abstract:``,l1_overview:``,l2_content:``,content:``,tags:[],source:``}),[a,o]=(0,y.useState)(``),[s,c]=(0,y.useState)(!0),[l,u]=(0,y.useState)(!1),[d,f]=(0,y.useState)(null),[p,m]=(0,y.useState)(!1),h=ob(e=>e.isUnlocked);(0,y.useEffect)(()=>{if(!e)return;async function n(){try{c(!0);let n=await ib.get(`/v1/memories/${e}`);i({l0_abstract:n.l0_abstract??n.abstract??``,l1_overview:n.l1_overview??n.overview??``,l2_content:n.l2_content??n.detail??``,content:n.content||``,tags:n.tags||[],source:n.source||``}),o(Vme(n.tags||[])),m(xJ(n.tags,n.visibility))}catch(e){console.error(`Failed to fetch memory:`,e),f(`加载记忆失败`)}finally{c(!1)}}n()},[e]);let g=async()=>{if(!r.content.trim()){f(`原文内容不能为空`);return}try{u(!0),f(null);let i={content:r.content.trim(),l0_abstract:r.l0_abstract.trim()||void 0,l1_overview:r.l1_overview.trim()||void 0,l2_content:r.l2_content.trim()||void 0,tags:r.tags,source:r.source.trim()||void 0};await ib.put(`/v1/memories/${e}`,i),n(`/memories/${e}`)}catch(e){console.error(`Failed to save memory:`,e),f(`保存记忆失败`)}finally{u(!1)}},_=e=>{o(e),i(n=>({...n,tags:Bme(e)}))},v=e=>{if(e.key===`Enter`){e.preventDefault();let n=a.trim();n&&!r.tags.includes(n)&&(i(e=>({...e,tags:[...e.tags,n]})),o(``))}},b=e=>{i(n=>({...n,tags:n.tags.filter(n=>n!==e)}))};return s?(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsx)(Tb,{className:`h-8 w-32`}),(0,K.jsxs)(`div`,{className:`space-y-4`,children:[(0,K.jsx)(Tb,{className:`h-4 w-16`}),(0,K.jsx)(Tb,{className:`h-32 w-full`}),(0,K.jsx)(Tb,{className:`h-4 w-16`}),(0,K.jsx)(Tb,{className:`h-10 w-full`})]})]}):p&&!h?(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>n(-1),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsxs)(`div`,{className:`rounded-lg border border-amber-500/30 bg-amber-500/5 p-8 text-center space-y-4`,children:[(0,K.jsx)(Em,{className:`h-10 w-10 text-amber-500 mx-auto`}),(0,K.jsx)(`h3`,{className:`text-lg font-semibold text-amber-500`,children:`Vault 已锁定`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground max-w-xs mx-auto`,children:`此记忆为私密记忆,请先解锁 Vault 后再进行编辑`}),(0,K.jsx)(J,{size:`sm`,onClick:()=>n(`/memories/${e}`),children:`返回详情页`})]})]}):(0,K.jsxs)(`div`,{className:`space-y-6 max-w-2xl`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>n(-1),children:[(0,K.jsx)(Bp,{className:`size-4 mr-1.5`}),`返回`]}),(0,K.jsx)(`h1`,{className:`text-xl font-semibold`,children:`编辑 Insight 记忆`})]}),d&&(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-4 text-sm text-destructive`,children:d}),(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`l0_abstract`,children:`摘要`}),(0,K.jsx)(d9,{id:`l0_abstract`,value:r.l0_abstract,onChange:e=>i(n=>({...n,l0_abstract:e.target.value})),placeholder:`输入摘要...`,rows:3,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`l1_overview`,children:`概览`}),(0,K.jsx)(d9,{id:`l1_overview`,value:r.l1_overview,onChange:e=>i(n=>({...n,l1_overview:e.target.value})),placeholder:`输入概览...`,rows:4,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(gb,{htmlFor:`l2_content`,children:[`详情 `,(0,K.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,K.jsx)(d9,{id:`l2_content`,value:r.l2_content,onChange:e=>i(n=>({...n,l2_content:e.target.value})),placeholder:`输入详情内容...`,rows:6,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(gb,{htmlFor:`content`,children:[`原文 `,(0,K.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,K.jsx)(d9,{id:`content`,value:r.content,onChange:e=>i(n=>({...n,content:e.target.value})),placeholder:`输入原文内容...`,rows:6,className:`resize-none`})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`tags`,children:`标签`}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(hb,{id:`tags`,value:a,onChange:e=>_(e.target.value),onKeyDown:v,placeholder:`输入标签,按回车或逗号分隔...`}),(0,K.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:r.tags.map(e=>(0,K.jsxs)(hJ,{variant:`outline`,className:bJ(e,`cursor-pointer hover:opacity-60`),onClick:()=>b(e),title:`点击移除`,children:[e,` ×`]},e))})]})]}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(gb,{htmlFor:`source`,children:`来源`}),(0,K.jsx)(hb,{id:`source`,value:r.source,onChange:e=>i(n=>({...n,source:e.target.value})),placeholder:`记忆来源(可选)...`})]}),(0,K.jsxs)(`div`,{className:`flex justify-end gap-3 pt-4`,children:[(0,K.jsx)(J,{variant:`outline`,onClick:()=>n(-1),disabled:l,children:`取消`}),(0,K.jsx)(J,{onClick:g,disabled:l,children:l?`保存中...`:(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Bm,{className:`size-4 mr-1.5`}),`保存`]})})]})]})]})}var Ume=300;function Wme({onUnlock:e}){let[n,r]=(0,y.useState)(``),[i,a]=(0,y.useState)(null),[o,s]=(0,y.useState)(!1),c=ob(e=>e.setPassword),l=ob(e=>e.verifyPassword),u=ob(e=>e.checkStatus),d=ob(e=>e.hasPassword);(0,y.useEffect)(()=>{u().then(()=>{s(!d)})},[u,d]);let f=async()=>{if(!n.trim()){a(`请输入密码`);return}o?(await c(n),e()):await l(n)?(a(null),e()):a(`密码错误`)};return(0,K.jsxs)(`div`,{className:`rounded-lg border border-amber-500/30 bg-amber-500/5 p-8 text-center space-y-4 max-w-md mx-auto mt-12`,children:[(0,K.jsx)(Em,{className:`h-10 w-10 text-amber-500 mx-auto`}),(0,K.jsx)(`h3`,{className:`text-lg font-semibold text-amber-500`,children:o?`设置 Vault 密码`:`Vault 已锁定`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground max-w-xs mx-auto`,children:o?`首次查看私密记忆,请设置 Vault 密码`:`私密记忆已加密,请输入 Vault 密码查看`}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 max-w-xs mx-auto`,children:[(0,K.jsx)(hb,{type:`password`,placeholder:o?`设置密码...`:`输入密码...`,value:n,onChange:e=>{r(e.target.value),a(null)},onKeyDown:e=>e.key===`Enter`&&f(),className:i?`border-destructive`:``}),(0,K.jsx)(J,{size:`sm`,onClick:f,children:o?`设置`:`解锁`})]}),i&&(0,K.jsx)(`p`,{className:`text-xs text-destructive`,children:i})]})}function Gme(){let e=et(),n=ob(e=>e.isUnlocked),r=ob(e=>e.lock),[i,a]=(0,y.useState)(!1),[o,s]=(0,y.useState)([]),[c,l]=(0,y.useState)(!0),[u,d]=(0,y.useState)(null),[f,p]=(0,y.useState)(1),[m,h]=(0,y.useState)(``),[g,_]=(0,y.useState)(0),[v,b]=(0,y.useState)(`all`),[x,S]=(0,y.useState)(`created_at`),[C,w]=(0,y.useState)(50),[T,E]=(0,y.useState)(null),[D,O]=(0,y.useState)(!1),k=n||i,A=(0,y.useCallback)(async(e,n)=>{try{l(!0),d(null);let r={offset:(e-1)*C,limit:C,search:n||void 0,sort:x};v!==`all`&&(r.tier=v);let i=await ib.get(`/v1/memories`,{params:r});s(i.memories||[]),_(i.total_count||0)}catch(e){console.error(`Failed to fetch memories:`,e),d(`加载记忆列表失败`)}finally{l(!1)}},[v,x,C]);(0,y.useEffect)(()=>{if(!k)return;let e=setTimeout(()=>{p(1),A(1,m)},Ume);return()=>clearTimeout(e)},[m,A,k]),(0,y.useEffect)(()=>{k&&A(f,m)},[f,m,A,k]);let j=o.filter(e=>xJ(e.tags,e.visibility)),M=n=>{e(`/memories/${n}`)},N=e=>{h(e.target.value)},P=()=>{f>1&&p(f-1)},F=()=>{f*C<g&&p(f+1)},I=(e,n)=>{n.stopPropagation(),E(e)},L=async()=>{if(!T)return;let e=T,n=o;s(n=>n.filter(n=>n.id!==e)),O(!0);try{await ib.delete(`/v1/memories/${e}`),G.success(`记忆已删除`),E(null),n.filter(n=>n.id!==e).length===0&&f>1?(p(f-1),A(f-1,m)):A(f,m)}catch(e){console.error(`Failed to delete memory:`,e),G.error(`删除失败,请重试`),s(n),E(null)}finally{O(!1)}},R=f*C<g,z=f>1;return k?(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(`h1`,{className:`text-2xl font-semibold tracking-tight flex items-center gap-2`,children:[(0,K.jsx)(Em,{className:`size-6 text-amber-500`}),`私密记忆`]}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`管理您的私密记忆内容`})]}),(0,K.jsxs)(J,{variant:`outline`,size:`sm`,onClick:()=>r(),children:[(0,K.jsx)(Em,{className:`size-3.5 mr-1.5`}),`锁定 Vault`]})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-4 flex-wrap`,children:[(0,K.jsxs)(`div`,{className:`relative flex-1 max-w-md`,children:[(0,K.jsx)(Vm,{className:`absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground`}),(0,K.jsx)(hb,{type:`text`,placeholder:`搜索私密记忆内容...`,value:m,onChange:N,className:`pl-9`})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsx)(Wm,{className:`size-3.5 text-muted-foreground`}),(0,K.jsxs)(`select`,{value:v,onChange:e=>{b(e.target.value),p(1)},className:`h-9 rounded-md border border-input bg-background px-3 text-sm`,children:[(0,K.jsx)(`option`,{value:`all`,children:`全部分类`}),(0,K.jsx)(`option`,{value:`core`,children:`核心`}),(0,K.jsx)(`option`,{value:`working`,children:`工作区`}),(0,K.jsx)(`option`,{value:`peripheral`,children:`边缘`})]}),(0,K.jsx)(Hp,{className:`size-3.5 text-muted-foreground`}),(0,K.jsxs)(`select`,{value:x,onChange:e=>{S(e.target.value),p(1)},className:`h-9 rounded-md border border-input bg-background px-3 text-sm`,children:[(0,K.jsx)(`option`,{value:`updated_at`,children:`按更新时间`}),(0,K.jsx)(`option`,{value:`created_at`,children:`按创建时间`}),(0,K.jsx)(`option`,{value:`importance`,children:`按重要性`}),(0,K.jsx)(`option`,{value:`confidence`,children:`按置信度`}),(0,K.jsx)(`option`,{value:`access_count`,children:`按访问次数`})]}),(0,K.jsxs)(`select`,{value:C,onChange:e=>{w(Number(e.target.value)),p(1)},className:`h-9 rounded-md border border-input bg-background px-3 text-sm`,children:[(0,K.jsx)(`option`,{value:20,children:`20条/页`}),(0,K.jsx)(`option`,{value:50,children:`50条/页`}),(0,K.jsx)(`option`,{value:100,children:`100条/页`})]})]})]}),u&&(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-4 text-sm text-destructive`,children:u}),(0,K.jsx)(`div`,{className:`space-y-3`,children:c?[1,2,3,4,5].map(e=>(0,K.jsxs)(`div`,{className:`rounded-lg border border-border bg-card p-4 space-y-2`,children:[(0,K.jsx)(Tb,{className:`h-4 w-[95%]`}),(0,K.jsx)(Tb,{className:`h-4 w-[80%]`}),(0,K.jsxs)(`div`,{className:`flex gap-2 pt-2`,children:[(0,K.jsx)(Tb,{className:`h-5 w-16`}),(0,K.jsx)(Tb,{className:`h-5 w-12`})]})]},`sk-${e}`)):j.length===0?(0,K.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-8 text-center text-muted-foreground`,children:`暂无私密记忆`}):j.map(e=>(0,K.jsxs)(`button`,{type:`button`,onClick:()=>M(e.id),className:wp(`w-full text-left rounded-lg border p-4 cursor-pointer transition-colors`,`border-amber-500/30 bg-amber-500/5 hover:bg-amber-500/10`),children:[(0,K.jsxs)(`div`,{className:`space-y-1`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,K.jsx)(Em,{className:`h-3 w-3 text-amber-500`}),(0,K.jsx)(`span`,{className:`text-xs text-amber-500 font-medium`,children:`私密记忆`})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 text-sm text-muted-foreground`,children:[(0,K.jsx)(Em,{className:`h-3.5 w-3.5 text-amber-500`}),(0,K.jsx)(`span`,{children:`🔒 已加密,请点击解锁`})]})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 mt-3 flex-wrap`,children:[(0,K.jsx)(hJ,{variant:`outline`,className:`font-normal text-xs`,children:e.category||`未分类`}),(0,K.jsx)(hJ,{variant:TJ(e.tier),className:`text-xs`,children:wJ(e.tier)}),(0,K.jsxs)(hJ,{variant:`outline`,className:bJ(`私密`,`text-xs`),children:[(0,K.jsx)(Em,{className:`size-2.5 mr-1`}),`私密`]}),(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground ml-auto`,children:kJ(e.created_at)}),(0,K.jsx)(`button`,{type:`button`,onClick:n=>I(e.id,n),className:`ml-2 p-1 rounded hover:bg-destructive/10 text-muted-foreground hover:text-destructive transition-colors`,title:`删除`,children:(0,K.jsx)(Xm,{className:`size-3.5`})})]})]},e.id))}),!c&&(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`本页共 `,j.length,` 条私密记忆`]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsxs)(J,{variant:`outline`,size:`sm`,onClick:P,disabled:!z||c,children:[(0,K.jsx)(Zp,{className:`size-4`}),`上一页`]}),(0,K.jsxs)(J,{variant:`outline`,size:`sm`,onClick:F,disabled:!R||c,children:[`下一页`,(0,K.jsx)(Qp,{className:`size-4`})]})]})]}),(0,K.jsx)(aJ,{open:!!T,onOpenChange:e=>{!e&&!D&&E(null)},children:(0,K.jsxs)(oJ,{children:[(0,K.jsxs)(sJ,{children:[(0,K.jsx)(lJ,{children:`确认删除记忆`}),(0,K.jsx)(uJ,{children:`确定要删除这条记忆吗?此操作不可撤销。`})]}),(0,K.jsxs)(cJ,{children:[(0,K.jsx)(fJ,{onClick:()=>E(null),disabled:D,children:`取消`}),(0,K.jsx)(dJ,{disabled:D,onClick:L,className:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,children:D?`删除中...`:`删除`})]})]})})]}):(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsxs)(`h1`,{className:`text-2xl font-semibold tracking-tight flex items-center gap-2`,children:[(0,K.jsx)(Em,{className:`size-6 text-amber-500`}),`私密记忆`]}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`管理您的私密记忆内容`})]}),(0,K.jsx)(Wme,{onUnlock:()=>a(!0)})]})}var p9=20;function Kme(e){return new Date(e).toLocaleString(`zh-CN`,{year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`})}function m9(e){return e?e.length<=16?e:e.slice(0,8)+`...`+e.slice(-8):`—`}function qme(){let e=et(),n=Ze(),[r,i]=(0,y.useState)([]),[a,o]=(0,y.useState)(!0),[s,c]=(0,y.useState)(null),[l,u]=(0,y.useState)(``),[d,f]=(0,y.useState)(1),[p,m]=(0,y.useState)(null),[h,g]=(0,y.useState)(!1),[_,v]=(0,y.useState)(new Set),[b,x]=(0,y.useState)(!1),[S,C]=(0,y.useState)(!1);(0,y.useEffect)(()=>{async function e(){try{o(!0),c(null),i((await ib.get(`/v1/session-recalls/groups`,{params:{limit:1e3,offset:0}}))?.groups||[])}catch(e){console.error(`Failed to fetch session groups:`,e),c(`加载 Session 记忆注入记录失败`),G.error(`加载 Session 记忆注入记录失败`)}finally{o(!1)}}e()},[]);let w=(0,y.useMemo)(()=>[...r].sort((e,n)=>new Date(n.last_injected_at).getTime()-new Date(e.last_injected_at).getTime()),[r]),T=(0,y.useMemo)(()=>{if(!l.trim())return w;let e=l.trim().toLowerCase();return w.filter(n=>n.session_id.toLowerCase().includes(e)||n.latest_query.toLowerCase().includes(e))},[w,l]),E=Math.ceil(T.length/p9),D=(0,y.useMemo)(()=>{let e=(d-1)*p9;return T.slice(e,e+p9)},[T,d]),O=r=>{e(`/sessions/${encodeURIComponent(r)}`,{state:{from:n.pathname+n.search}})},k=(e,n)=>{n.stopPropagation(),m(e)},A=async()=>{if(p){C(!0);try{await ib.delete(`/v1/session-recalls/session/${encodeURIComponent(p)}`),i(e=>e.filter(e=>e.session_id!==p)),G.success(`删除成功`)}catch(e){console.error(`Failed to delete session:`,e),G.error(`删除失败`)}finally{C(!1),m(null)}}},j=e=>{v(n=>{let r=new Set(n);return r.has(e)?r.delete(e):r.add(e),r})},M=()=>{v(new Set(D.map(e=>e.session_id)))},N=()=>{v(new Set)},P=async()=>{if(_.size===0)return;let e=Array.from(_);C(!0);try{await Promise.all(e.map(e=>ib.delete(`/v1/session-recalls/session/${encodeURIComponent(e)}`))),i(n=>n.filter(n=>!e.includes(n.session_id))),v(new Set),x(!1),G.success(`已删除 ${e.length} 个 Session`)}catch(e){console.error(`Failed to batch delete sessions:`,e),G.error(`批量删除失败`)}finally{C(!1)}};return(0,K.jsxs)(`div`,{className:`space-y-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:`Session 记忆注入记录`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`查看各 Session 的记忆注入统计与分布`})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-4 flex-wrap`,children:[(0,K.jsxs)(`div`,{className:`relative w-80`,children:[(0,K.jsx)(Vm,{className:`absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground`}),(0,K.jsx)(hb,{type:`text`,placeholder:`搜索 Session ID 或对话内容...`,value:l,onChange:e=>{u(e.target.value),f(1)},className:`pl-9`})]}),(0,K.jsx)(J,{variant:h?`default`:`outline`,size:`sm`,onClick:()=>{g(!h),h&&N()},children:h?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(rh,{className:`size-3.5 mr-1.5`}),`退出管理`]}):(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Wm,{className:`size-3.5 mr-1.5`}),`批量管理`]})}),!a&&T.length>0&&E>1&&(0,K.jsxs)(`div`,{className:`flex items-center gap-2 shrink-0`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,K.jsx)(J,{variant:`ghost`,size:`icon`,className:`h-6 w-6`,onClick:()=>f(e=>Math.max(1,e-1)),disabled:d===1,children:(0,K.jsx)(Zp,{className:`size-3`})}),(0,K.jsxs)(`span`,{className:`text-xs text-muted-foreground min-w-[3ch] text-center`,children:[d,`/`,E]}),(0,K.jsx)(J,{variant:`ghost`,size:`icon`,className:`h-6 w-6`,onClick:()=>f(e=>Math.min(E,e+1)),disabled:d===E,children:(0,K.jsx)(Qp,{className:`size-3`})})]}),(0,K.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`共 `,T.length,` 个`]})]})]}),h&&(0,K.jsxs)(`div`,{className:`flex items-center justify-between bg-muted/50 rounded-lg px-4 py-3`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,K.jsxs)(`span`,{className:`text-sm font-medium`,children:[`已选择 `,_.size,` 个 Session`]}),_.size>0&&(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(J,{variant:`ghost`,size:`sm`,className:`h-7 text-xs`,onClick:N,children:`取消选择`}),(0,K.jsx)(J,{variant:`ghost`,size:`sm`,className:`h-7 text-xs`,onClick:M,children:`全选本页`})]})]}),_.size>0&&(0,K.jsxs)(J,{variant:`destructive`,size:`sm`,className:`h-7`,onClick:()=>x(!0),children:[(0,K.jsx)(Xm,{className:`size-3.5 mr-1`}),`删除 (`,_.size,`)`]})]}),s&&(0,K.jsx)(`div`,{className:`rounded-lg border border-destructive/50 bg-destructive/10 p-4 text-sm text-destructive`,children:s}),(0,K.jsx)(`div`,{className:`space-y-3`,children:a?[1,2,3,4,5].map(e=>(0,K.jsxs)(`div`,{className:`rounded-lg border border-border bg-card p-4 space-y-2`,children:[(0,K.jsx)(Tb,{className:`h-4 w-[40%]`}),(0,K.jsx)(Tb,{className:`h-4 w-[60%]`}),(0,K.jsxs)(`div`,{className:`flex gap-2 pt-2`,children:[(0,K.jsx)(Tb,{className:`h-5 w-16`}),(0,K.jsx)(Tb,{className:`h-5 w-12`})]})]},`sk-${e}`)):D.length===0?(0,K.jsxs)(`div`,{className:`rounded-lg border border-border bg-card p-12 text-center space-y-4`,children:[(0,K.jsx)(_m,{className:`h-12 w-12 text-muted-foreground mx-auto`}),(0,K.jsxs)(`div`,{className:`space-y-2`,children:[(0,K.jsx)(`p`,{className:`text-sm font-medium text-muted-foreground`,children:l?`未找到匹配的 Session`:`暂无 Session 记忆注入记录`}),(0,K.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:l?`尝试调整搜索条件`:`注入记忆后此处将显示记录`})]})]}):D.map(e=>{let n=_.has(e.session_id);return(0,K.jsxs)(`div`,{onClick:()=>h?j(e.session_id):O(e.session_id),className:`w-full text-left rounded-lg border border-border bg-card p-4 cursor-pointer transition-colors hover:bg-muted/50 group relative ${h&&n?`ring-2 ring-primary bg-primary/5`:``}`,children:[h&&(0,K.jsx)(`div`,{className:`absolute left-3 top-1/2 -translate-y-1/2 z-10`,children:(0,K.jsx)(`input`,{type:`checkbox`,checked:n,onChange:n=>{n.stopPropagation(),j(e.session_id)},onClick:e=>e.stopPropagation(),className:`size-4 cursor-pointer`})}),(0,K.jsxs)(`div`,{className:h?`pl-8`:``,children:[(0,K.jsxs)(`div`,{className:`flex items-center justify-between gap-4`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-3 flex-1 min-w-0`,children:[(0,K.jsx)(`code`,{className:`text-sm font-mono bg-muted px-2 py-0.5 rounded shrink-0`,children:m9(e.session_id)}),e.latest_query&&(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground truncate max-w-[300px] sm:max-w-[400px] lg:max-w-[500px]`,children:e.latest_query})]}),(0,K.jsxs)(`div`,{className:`flex items-center gap-2 text-muted-foreground shrink-0`,children:[(0,K.jsxs)(`span`,{className:`text-xs flex items-center gap-1 whitespace-nowrap`,children:[(0,K.jsx)(nm,{className:`size-3.5`}),Kme(e.last_injected_at)]}),(0,K.jsx)(Qp,{className:`size-4 opacity-0 group-hover:opacity-50 transition-opacity`})]})]}),(0,K.jsxs)(`div`,{className:`mt-2 flex items-center justify-between`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap`,children:[(0,K.jsxs)(hJ,{variant:`secondary`,className:`text-xs font-normal`,children:[(0,K.jsx)(ih,{className:`size-3 mr-1`}),`自动 `,e.auto_count]}),e.manual_count>0&&(0,K.jsxs)(hJ,{variant:`outline`,className:`text-xs font-normal`,children:[(0,K.jsx)(Mm,{className:`size-3 mr-1`}),`手动 `,e.manual_count]}),(0,K.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`共 `,(0,K.jsx)(`span`,{className:`font-medium text-foreground`,children:e.count}),` 条`]})]}),!h&&(0,K.jsx)(J,{variant:`ghost`,size:`sm`,className:`h-7 w-7 p-0 opacity-0 group-hover:opacity-100 transition-opacity`,onClick:n=>k(e.session_id,n),children:(0,K.jsx)(Xm,{className:`size-4 text-destructive`})})]})]})]},e.session_id)})}),!a&&T.length>0&&(0,K.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,K.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`共 `,T.length,` 个 Session`]}),E>1&&(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsx)(J,{variant:`outline`,size:`sm`,onClick:()=>f(e=>Math.max(1,e-1)),disabled:d===1,children:(0,K.jsx)(Zp,{className:`size-4`})}),(0,K.jsxs)(`span`,{className:`text-sm text-muted-foreground`,children:[d,` / `,E]}),(0,K.jsx)(J,{variant:`outline`,size:`sm`,onClick:()=>f(e=>Math.min(E,e+1)),disabled:d===E,children:(0,K.jsx)(Qp,{className:`size-4`})})]})]}),(0,K.jsx)(aJ,{open:!!p,onOpenChange:e=>{!e&&!S&&m(null)},children:(0,K.jsxs)(oJ,{children:[(0,K.jsxs)(sJ,{children:[(0,K.jsx)(lJ,{children:`确认删除 Session`}),(0,K.jsxs)(uJ,{children:[`此操作不可撤销。将删除 Session `,p?m9(p):``,` 的所有注入记录。`]})]}),(0,K.jsxs)(cJ,{children:[(0,K.jsx)(fJ,{onClick:()=>m(null),disabled:S,children:`取消`}),(0,K.jsx)(dJ,{disabled:S,onClick:A,className:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,children:S?`删除中...`:`删除`})]})]})}),(0,K.jsx)(aJ,{open:b,onOpenChange:e=>{!e&&!S&&x(!1)},children:(0,K.jsxs)(oJ,{children:[(0,K.jsxs)(sJ,{children:[(0,K.jsx)(lJ,{children:`确认批量删除`}),(0,K.jsxs)(uJ,{children:[`确定要删除选中的 `,_.size,` 个 Session 吗?此操作不可撤销。`]})]}),(0,K.jsxs)(cJ,{children:[(0,K.jsx)(fJ,{onClick:()=>x(!1),disabled:S,children:`取消`}),(0,K.jsx)(dJ,{disabled:S,onClick:e=>{e.preventDefault(),P()},className:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,children:S?`删除中...`:`删除 ${_.size} 个`})]})]})})]})}function Jme(e){return!e||e.includes(`
|
|
161
161
|
`)?e:e.replace(/(#{1,3}\s+[^#])/g,`
|
|
162
162
|
$1`).replace(/(\d+\.\s+[^\d])/g,`
|
|
163
163
|
$1`).replace(/(\s-\s)/g,`
|
package/web/index.html
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<script>window.__OMEM_API_URL__ = "__OMEM_API_URL__";</script>
|
|
8
8
|
<title>omem - 记忆管理</title>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
10
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-OR03Q22A.js"></script>
|
|
10
|
+
<link rel="stylesheet" crossorigin href="/assets/index-B_7AC9Gn.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
13
13
|
<div id="root"></div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@theme inline{--animation-delay-0: 0s; --animation-delay-75: 75ms; --animation-delay-100: .1s; --animation-delay-150: .15s; --animation-delay-200: .2s; --animation-delay-300: .3s; --animation-delay-500: .5s; --animation-delay-700: .7s; --animation-delay-1000: 1s; --animation-repeat-0: 0; --animation-repeat-1: 1; --animation-repeat-infinite: infinite; --animation-direction-normal: normal; --animation-direction-reverse: reverse; --animation-direction-alternate: alternate; --animation-direction-alternate-reverse: alternate-reverse; --animation-fill-mode-none: none; --animation-fill-mode-forwards: forwards; --animation-fill-mode-backwards: backwards; --animation-fill-mode-both: both; --percentage-0: 0; --percentage-5: .05; --percentage-10: .1; --percentage-15: .15; --percentage-20: .2; --percentage-25: .25; --percentage-30: .3; --percentage-35: .35; --percentage-40: .4; --percentage-45: .45; --percentage-50: .5; --percentage-55: .55; --percentage-60: .6; --percentage-65: .65; --percentage-70: .7; --percentage-75: .75; --percentage-80: .8; --percentage-85: .85; --percentage-90: .9; --percentage-95: .95; --percentage-100: 1; --percentage-translate-full: 1; --animate-in: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-out: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes enter { from { opacity: var(--tw-enter-opacity,1); transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0)); filter: blur(var(--tw-enter-blur,0)); }}@keyframes exit { to { opacity: var(--tw-exit-opacity,1); transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0)); filter: blur(var(--tw-exit-blur,0)); }}--animate-accordion-down: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-accordion-up: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-down: collapsible-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-up: collapsible-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes accordion-down { from { height: 0; }to { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto))))); }}@keyframes accordion-up { from { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto))))); }to { height: 0; }}@keyframes collapsible-down { from { height: 0; }to { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }}@keyframes collapsible-up { from { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }to { height: 0; }}--animate-caret-blink: caret-blink 1.25s ease-out infinite; @keyframes caret-blink { 0%,70%,100% { opacity: 1; }20%,50% { opacity: 0; }}}@utility animation-duration-*{--tw-animation-duration: calc(--value(number)*1ms); --tw-animation-duration: --value(--animation-duration-*,[duration],"initial",[*]); animation-duration: calc(--value(number)*1ms); animation-duration: --value(--animation-duration-*,[duration],"initial",[*]);}@utility delay-*{animation-delay: calc(--value(number)*1ms); animation-delay: --value(--animation-delay-*,[duration],"initial",[*]); --tw-animation-delay: calc(--value(number)*1ms); --tw-animation-delay: --value(--animation-delay-*,[duration],"initial",[*]);}@utility repeat-*{animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]); --tw-animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]);}@utility direction-*{animation-direction: --value(--animation-direction-*,"initial",[*]); --tw-animation-direction: --value(--animation-direction-*,"initial",[*]);}@utility fill-mode-*{animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]); --tw-animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]);}@utility running{animation-play-state: running;}@utility paused{animation-play-state: paused;}@utility play-state-*{animation-play-state: --value("initial",[*]);}@utility blur-in{--tw-enter-blur: 20px;}@utility blur-in-*{--tw-enter-blur: calc(--value(number)*1px); --tw-enter-blur: --value(--blur-*,[*]);}@utility blur-out{--tw-exit-blur: 20px;}@utility blur-out-*{--tw-exit-blur: calc(--value(number)*1px); --tw-exit-blur: --value(--blur-*,[*]);}@utility fade-in{--tw-enter-opacity: 0;}@utility fade-in-*{--tw-enter-opacity: calc(--value(number)/100); --tw-enter-opacity: --value(--percentage-*,[*]);}@utility fade-out{--tw-exit-opacity: 0;}@utility fade-out-*{--tw-exit-opacity: calc(--value(number)/100); --tw-exit-opacity: --value(--percentage-*,[*]);}@utility zoom-in{--tw-enter-scale: 0;}@utility zoom-in-*{--tw-enter-scale: calc(--value(number)*1%); --tw-enter-scale: calc(--value(ratio)); --tw-enter-scale: --value(--percentage-*,[*]);}@utility -zoom-in-*{--tw-enter-scale: calc(--value(number)*-1%); --tw-enter-scale: calc(--value(ratio)*-1); --tw-enter-scale: --value(--percentage-*,[*]);}@utility zoom-out{--tw-exit-scale: 0;}@utility zoom-out-*{--tw-exit-scale: calc(--value(number)*1%); --tw-exit-scale: calc(--value(ratio)); --tw-exit-scale: --value(--percentage-*,[*]);}@utility -zoom-out-*{--tw-exit-scale: calc(--value(number)*-1%); --tw-exit-scale: calc(--value(ratio)*-1); --tw-exit-scale: --value(--percentage-*,[*]);}@utility spin-in{--tw-enter-rotate: 30deg;}@utility spin-in-*{--tw-enter-rotate: calc(--value(number)*1deg); --tw-enter-rotate: calc(--value(ratio)*360deg); --tw-enter-rotate: --value(--rotate-*,[*]);}@utility -spin-in{--tw-enter-rotate: -30deg;}@utility -spin-in-*{--tw-enter-rotate: calc(--value(number)*-1deg); --tw-enter-rotate: calc(--value(ratio)*-360deg); --tw-enter-rotate: --value(--rotate-*,[*]);}@utility spin-out{--tw-exit-rotate: 30deg;}@utility spin-out-*{--tw-exit-rotate: calc(--value(number)*1deg); --tw-exit-rotate: calc(--value(ratio)*360deg); --tw-exit-rotate: --value(--rotate-*,[*]);}@utility -spin-out{--tw-exit-rotate: -30deg;}@utility -spin-out-*{--tw-exit-rotate: calc(--value(number)*-1deg); --tw-exit-rotate: calc(--value(ratio)*-360deg); --tw-exit-rotate: --value(--rotate-*,[*]);}@utility slide-in-from-top{--tw-enter-translate-y: -100%;}@utility slide-in-from-top-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-y: calc(--value(ratio)*-100%); --tw-enter-translate-y: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-in-from-bottom{--tw-enter-translate-y: 100%;}@utility slide-in-from-bottom-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-y: calc(--value(ratio)*100%); --tw-enter-translate-y: --value(--translate-*,[percentage],[length]);}@utility slide-in-from-left{--tw-enter-translate-x: -100%;}@utility slide-in-from-left-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-in-from-right{--tw-enter-translate-x: 100%;}@utility slide-in-from-right-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]);}@utility slide-in-from-start{&:dir(ltr){ --tw-enter-translate-x: -100%; }&:dir(rtl){ --tw-enter-translate-x: 100%; }}@utility slide-in-from-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }}@utility slide-in-from-end{&:dir(ltr){ --tw-enter-translate-x: 100%; }&:dir(rtl){ --tw-enter-translate-x: -100%; }}@utility slide-in-from-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }}@utility slide-out-to-top{--tw-exit-translate-y: -100%;}@utility slide-out-to-top-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-y: calc(--value(ratio)*-100%); --tw-exit-translate-y: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-out-to-bottom{--tw-exit-translate-y: 100%;}@utility slide-out-to-bottom-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-y: calc(--value(ratio)*100%); --tw-exit-translate-y: --value(--translate-*,[percentage],[length]);}@utility slide-out-to-left{--tw-exit-translate-x: -100%;}@utility slide-out-to-left-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-out-to-right{--tw-exit-translate-x: 100%;}@utility slide-out-to-right-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]);}@utility slide-out-to-start{&:dir(ltr){ --tw-exit-translate-x: -100%; }&:dir(rtl){ --tw-exit-translate-x: 100%; }}@utility slide-out-to-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }}@utility slide-out-to-end{&:dir(ltr){ --tw-exit-translate-x: 100%; }&:dir(rtl){ --tw-exit-translate-x: -100%; }}@utility slide-out-to-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-wght-normal-CHSlOQsW.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-ext-wght-normal-DMtmJ5ZE.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-wght-normal-Dm3htQBi.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background:0 0% 100%;--foreground:240 10% 3.9%;--card:0 0% 100%;--card-foreground:240 10% 3.9%;--popover:0 0% 100%;--popover-foreground:240 10% 3.9%;--primary:240 5.9% 10%;--primary-foreground:0 0% 98%;--secondary:240 4.8% 95.9%;--secondary-foreground:240 5.9% 10%;--muted:240 4.8% 95.9%;--muted-foreground:240 3.8% 46.1%;--accent:240 4.8% 95.9%;--accent-foreground:240 5.9% 10%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:240 5.9% 90%;--input:240 5.9% 90%;--ring:240 5.9% 10%;--radius:.625rem}.dark{--background:240 10% 3.9%;--foreground:0 0% 98%;--card:240 10% 3.9%;--card-foreground:0 0% 98%;--popover:240 10% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:240 5.9% 10%;--secondary:240 3.7% 15.9%;--secondary-foreground:0 0% 98%;--muted:240 3.7% 15.9%;--muted-foreground:240 5% 64.9%;--accent:240 3.7% 15.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:240 3.7% 15.9%;--input:240 3.7% 15.9%;--ring:240 4.9% 83.9%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Geist Variable,system-ui,sans-serif}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground) / .2);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground) / .35)}*{scrollbar-width:thin;scrollbar-color:hsl(var(--muted-foreground) / .2) transparent}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:#1118271a;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-left-6{left:-1.5rem}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.left-0{left:0}.left-1\/2{left:50%}.left-2\.5{left:.625rem}.left-3{left:.75rem}.left-\[11px\]{left:11px}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-mb-4{margin-bottom:-1rem}.-mb-6{margin-bottom:-1.5rem}.-ml-2{margin-left:-.5rem}.-ml-6{margin-left:-1.5rem}.-mr-8{margin-right:-2rem}.-mt-8{margin-top:-2rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-auto{margin-right:auto}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-row{display:table-row}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1}.size-12{width:3rem;height:3rem}.size-14{width:3.5rem;height:3.5rem}.size-2\.5{width:.625rem;height:.625rem}.size-3{width:.75rem;height:.75rem}.size-3\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-9{width:2.25rem;height:2.25rem}.size-\[22px\]{width:22px;height:22px}.size-full{width:100%;height:100%}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[240px\]{height:240px}.h-\[300px\]{height:300px}.h-\[calc\(100\%-1px\)\]{height:calc(100% - 1px)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:12rem}.max-h-60{max-height:15rem}.max-h-96{max-height:24rem}.max-h-\[80vh\]{max-height:80vh}.min-h-16{min-height:4rem}.min-h-\[240px\]{min-height:240px}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/3{width:66.6667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[130px\]{width:130px}.w-\[180px\]{width:180px}.w-\[40\%\]{width:40%}.w-\[60\%\]{width:60%}.w-\[80\%\]{width:80%}.w-\[95\%\]{width:95%}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-32{min-width:8rem}.min-w-36{min-width:9rem}.min-w-\[200px\]{min-width:200px}.min-w-\[3ch\]{min-width:3ch}.min-w-\[96px\]{min-width:96px}.min-w-max{min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-\[120px\]{max-width:120px}.max-w-\[180px\]{max-width:180px}.max-w-\[200px\]{max-width:200px}.max-w-\[300px\]{max-width:300px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1}.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[calc\(-50\%-2px\)\]{--tw-translate-y:calc(-50% - 2px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate:0deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate:45deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-110{--tw-scale-x:1.1;--tw-scale-y:1.1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:1s linear infinite spin}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.scroll-my-1{scroll-margin-top:.25rem;scroll-margin-bottom:.25rem}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\[auto_1fr_80px_60px\]{grid-template-columns:auto 1fr 80px 60px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(-.5rem * var(--tw-space-x-reverse));margin-left:calc(-.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-start{align-self:flex-start}.justify-self-end{justify-self:end}.justify-self-center{justify-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[4px\]{border-radius:4px}.rounded-\[inherit\]{border-radius:inherit}.rounded-\[min\(var\(--radius-md\)\,10px\)\]{border-radius:min(var(--radius-md), 10px)}.rounded-\[min\(var\(--radius-md\)\,12px\)\]{border-radius:min(var(--radius-md), 12px)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[\#070708\]\/30{border-color:#0707084d}.border-\[\#c9a227\]\/20{border-color:#c9a22733}.border-\[\#c9a227\]\/30{border-color:#c9a2274d}.border-amber-200{--tw-border-opacity:1;border-color:rgb(253 230 138/var(--tw-border-opacity,1))}.border-amber-200\/50{border-color:#fde68a80}.border-amber-200\/60{border-color:#fde68a99}.border-amber-500\/20{border-color:#f59e0b33}.border-amber-500\/30{border-color:#f59e0b4d}.border-amber-500\/50{border-color:#f59e0b80}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity,1))}.border-blue-500\/30{border-color:#3b82f64d}.border-border{border-color:hsl(var(--border))}.border-border\/40{border-color:hsl(var(--border) / .4)}.border-border\/60{border-color:hsl(var(--border) / .6)}.border-cyan-500\/30{border-color:#06b6d44d}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-emerald-200{--tw-border-opacity:1;border-color:rgb(167 243 208/var(--tw-border-opacity,1))}.border-emerald-500{--tw-border-opacity:1;border-color:rgb(16 185 129/var(--tw-border-opacity,1))}.border-emerald-500\/20{border-color:#10b98133}.border-emerald-500\/30{border-color:#10b9814d}.border-fuchsia-500\/30{border-color:#d946ef4d}.border-green-500\/30{border-color:#22c55e4d}.border-indigo-500\/20{border-color:#6366f133}.border-indigo-500\/30{border-color:#6366f14d}.border-input{border-color:hsl(var(--input))}.border-lime-500\/30{border-color:#84cc164d}.border-orange-200\/60{border-color:#fed7aa99}.border-orange-500\/30{border-color:#f973164d}.border-pink-500\/30{border-color:#ec48994d}.border-primary{border-color:hsl(var(--primary))}.border-primary\/20{border-color:hsl(var(--primary) / .2)}.border-primary\/30{border-color:hsl(var(--primary) / .3)}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-red-500\/20{border-color:#ef444433}.border-red-500\/30{border-color:#ef44444d}.border-rose-200{--tw-border-opacity:1;border-color:rgb(254 205 211/var(--tw-border-opacity,1))}.border-rose-200\/60{border-color:#fecdd399}.border-rose-500\/30{border-color:#f43f5e4d}.border-sky-500\/30{border-color:#0ea5e94d}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-500\/30{border-color:#64748b4d}.border-teal-500\/30{border-color:#14b8a64d}.border-transparent{border-color:#0000}.border-violet-200{--tw-border-opacity:1;border-color:rgb(221 214 254/var(--tw-border-opacity,1))}.border-violet-500\/30{border-color:#8b5cf64d}.border-white\/10{border-color:#ffffff1a}.border-white\/\[0\.08\]{border-color:#ffffff14}.border-yellow-500\/30{border-color:#eab3084d}.border-t-\[\#070708\]{--tw-border-opacity:1;border-top-color:rgb(7 7 8/var(--tw-border-opacity,1))}.bg-\[\#070708\]{--tw-bg-opacity:1;background-color:rgb(7 7 8/var(--tw-bg-opacity,1))}.bg-\[\#22c55e\]{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity,1))}.bg-\[\#c9a227\]{--tw-bg-opacity:1;background-color:rgb(201 162 39/var(--tw-bg-opacity,1))}.bg-\[\#c9a227\]\/10{background-color:#c9a2271a}.bg-\[\#c9a227\]\/5{background-color:#c9a2270d}.bg-\[\#ef4444\]{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-accent{background-color:hsl(var(--accent))}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-400\/15{background-color:#fbbf2426}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.bg-amber-500\/10{background-color:#f59e0b1a}.bg-amber-500\/5{background-color:#f59e0b0d}.bg-background{background-color:hsl(var(--background))}.bg-black\/10{background-color:#0000001a}.bg-black\/20{background-color:#0003}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.bg-blue-200{--tw-bg-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity,1))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.bg-blue-50\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity,1))}.bg-blue-500\/10{background-color:#3b82f61a}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-cyan-500\/10{background-color:#06b6d41a}.bg-destructive{background-color:hsl(var(--destructive))}.bg-destructive\/10{background-color:hsl(var(--destructive) / .1)}.bg-emerald-100{--tw-bg-opacity:1;background-color:rgb(209 250 229/var(--tw-bg-opacity,1))}.bg-emerald-50{--tw-bg-opacity:1;background-color:rgb(236 253 245/var(--tw-bg-opacity,1))}.bg-emerald-500\/10{background-color:#10b9811a}.bg-emerald-500\/20{background-color:#10b98133}.bg-emerald-500\/5{background-color:#10b9810d}.bg-foreground{background-color:hsl(var(--foreground))}.bg-fuchsia-500\/10{background-color:#d946ef1a}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))}.bg-green-500\/10{background-color:#22c55e1a}.bg-indigo-500\/10{background-color:#6366f11a}.bg-indigo-500\/5{background-color:#6366f10d}.bg-lime-500\/10{background-color:#84cc161a}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted) / .3)}.bg-muted\/40{background-color:hsl(var(--muted) / .4)}.bg-muted\/50{background-color:hsl(var(--muted) / .5)}.bg-muted\/60{background-color:hsl(var(--muted) / .6)}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity,1))}.bg-orange-400\/10{background-color:#fb923c1a}.bg-orange-500\/10{background-color:#f973161a}.bg-pink-500\/10{background-color:#ec48991a}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/5{background-color:hsl(var(--primary) / .05)}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.bg-red-500\/10{background-color:#ef44441a}.bg-red-500\/20{background-color:#ef444433}.bg-rose-100{--tw-bg-opacity:1;background-color:rgb(255 228 230/var(--tw-bg-opacity,1))}.bg-rose-50{--tw-bg-opacity:1;background-color:rgb(255 241 242/var(--tw-bg-opacity,1))}.bg-rose-500\/10{background-color:#f43f5e1a}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sky-500\/10{background-color:#0ea5e91a}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-slate-500\/10{background-color:#64748b1a}.bg-teal-500\/10{background-color:#14b8a61a}.bg-transparent{background-color:#0000}.bg-violet-50{--tw-bg-opacity:1;background-color:rgb(245 243 255/var(--tw-bg-opacity,1))}.bg-violet-500\/10{background-color:#8b5cf61a}.bg-white\/10{background-color:#ffffff1a}.bg-white\/80{background-color:#fffc}.bg-white\/\[0\.03\]{background-color:#ffffff08}.bg-white\/\[0\.05\]{background-color:#ffffff0d}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity,1))}.bg-yellow-500\/10{background-color:#eab3081a}.bg-gradient-to-b{background-image:linear-gradient(to bottom, var(--tw-gradient-stops))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right, var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right, var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top, var(--tw-gradient-stops))}.from-amber-100{--tw-gradient-from:#fef3c7 var(--tw-gradient-from-position);--tw-gradient-to:#fef3c700 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-400{--tw-gradient-from:#fbbf24 var(--tw-gradient-from-position);--tw-gradient-to:#fbbf2400 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-50{--tw-gradient-from:#fffbeb var(--tw-gradient-from-position);--tw-gradient-to:#fffbeb00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-500{--tw-gradient-from:#f59e0b var(--tw-gradient-from-position);--tw-gradient-to:#f59e0b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-background{--tw-gradient-from:hsl(var(--background)) var(--tw-gradient-from-position);--tw-gradient-to:hsl(var(--background) / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-300{--tw-gradient-from:#93c5fd var(--tw-gradient-from-position);--tw-gradient-to:#93c5fd00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-400{--tw-gradient-from:#60a5fa var(--tw-gradient-from-position);--tw-gradient-to:#60a5fa00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-emerald-400{--tw-gradient-from:#34d399 var(--tw-gradient-from-position);--tw-gradient-to:#34d39900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-rose-400{--tw-gradient-from:#fb7185 var(--tw-gradient-from-position);--tw-gradient-to:#fb718500 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.from-violet-300{--tw-gradient-from:#c4b5fd var(--tw-gradient-from-position);--tw-gradient-to:#c4b5fd00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.via-background{--tw-gradient-to:hsl(var(--background) / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), hsl(var(--background)) var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-orange-300{--tw-gradient-to:#fdba7400 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #fdba74 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-orange-50{--tw-gradient-to:#fff7ed00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #fff7ed var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-sky-300{--tw-gradient-to:#7dd3fc00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #7dd3fc var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-muted\/30{--tw-gradient-to:hsl(var(--muted) / .3) var(--tw-gradient-to-position)}.to-orange-100{--tw-gradient-to:#ffedd5 var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to:#fb923c var(--tw-gradient-to-position)}.to-orange-500{--tw-gradient-to:#f97316 var(--tw-gradient-to-position)}.to-red-400{--tw-gradient-to:#f87171 var(--tw-gradient-to-position)}.to-rose-50{--tw-gradient-to:#fff1f2 var(--tw-gradient-to-position)}.to-sky-400{--tw-gradient-to:#38bdf8 var(--tw-gradient-to-position)}.to-teal-400{--tw-gradient-to:#2dd4bf var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:transparent var(--tw-gradient-to-position)}.bg-clip-padding{background-clip:padding-box}.fill-foreground{fill:hsl(var(--foreground))}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-12{padding:3rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-3\.5{padding:.875rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[3px\]{padding:3px}.p-px{padding:1px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-1\.5{padding-left:.375rem}.pl-2\.5{padding-left:.625rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pl-9{padding-left:2.25rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-8xl{font-size:6rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[9px\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-\[1\.1\]{line-height:1.1}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-\[\#070708\]{--tw-text-opacity:1;color:rgb(7 7 8/var(--tw-text-opacity,1))}.text-\[\#c9a227\]{--tw-text-opacity:1;color:rgb(201 162 39/var(--tw-text-opacity,1))}.text-\[\#c9a227\]\/70{color:#c9a227b3}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity,1))}.text-amber-600{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity,1))}.text-amber-700{--tw-text-opacity:1;color:rgb(180 83 9/var(--tw-text-opacity,1))}.text-amber-700\/60{color:#b4530999}.text-background{color:hsl(var(--background))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity,1))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-cyan-600{--tw-text-opacity:1;color:rgb(8 145 178/var(--tw-text-opacity,1))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-destructive\/30{color:hsl(var(--destructive) / .3)}.text-emerald-500{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity,1))}.text-emerald-600{--tw-text-opacity:1;color:rgb(5 150 105/var(--tw-text-opacity,1))}.text-emerald-700{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity,1))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/60{color:hsl(var(--foreground) / .6)}.text-fuchsia-600{--tw-text-opacity:1;color:rgb(192 38 211/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity,1))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity,1))}.text-indigo-700{--tw-text-opacity:1;color:rgb(67 56 202/var(--tw-text-opacity,1))}.text-lime-600{--tw-text-opacity:1;color:rgb(101 163 13/var(--tw-text-opacity,1))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-muted-foreground\/30{color:hsl(var(--muted-foreground) / .3)}.text-muted-foreground\/50{color:hsl(var(--muted-foreground) / .5)}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity,1))}.text-pink-600{--tw-text-opacity:1;color:rgb(219 39 119/var(--tw-text-opacity,1))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-500{--tw-text-opacity:1;color:rgb(168 85 247/var(--tw-text-opacity,1))}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.text-rose-600{--tw-text-opacity:1;color:rgb(225 29 72/var(--tw-text-opacity,1))}.text-rose-700{--tw-text-opacity:1;color:rgb(190 18 60/var(--tw-text-opacity,1))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-sky-600{--tw-text-opacity:1;color:rgb(2 132 199/var(--tw-text-opacity,1))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity,1))}.text-violet-500{--tw-text-opacity:1;color:rgb(139 92 246/var(--tw-text-opacity,1))}.text-violet-600{--tw-text-opacity:1;color:rgb(124 58 237/var(--tw-text-opacity,1))}.text-violet-700{--tw-text-opacity:1;color:rgb(109 40 217/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-white\/30{color:#ffffff4d}.text-white\/35{color:#ffffff59}.text-white\/40{color:#fff6}.text-white\/70{color:#ffffffb3}.text-white\/90{color:#ffffffe6}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity,1))}.text-yellow-800{--tw-text-opacity:1;color:rgb(133 77 14/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-\[0\.03\]{opacity:.03}.bg-blend-color{background-blend-mode:color}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.shadow-amber-500\/25{--tw-shadow-color:#f59e0b40;--tw-shadow:var(--tw-shadow-colored)}.outline-none{outline-offset:2px;outline:2px solid #0000}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-4{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-\[3px\]{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-background{--tw-ring-color:hsl(var(--background))}.ring-foreground\/10{--tw-ring-color:hsl(var(--foreground) / .1)}.ring-primary{--tw-ring-color:hsl(var(--primary))}.ring-primary\/20{--tw-ring-color:hsl(var(--primary) / .2)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-3xl{--tw-blur:blur(64px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[6px\]{--tw-blur:blur(6px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-none{transition-property:none}.transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-shadow{transition-property:box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-property:transform;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0), var(--tw-enter-translate-y,0), 0) scale3d(var(--tw-enter-scale,1), var(--tw-enter-scale,1), var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0), var(--tw-exit-translate-y,0), 0) scale3d(var(--tw-exit-scale,1), var(--tw-exit-scale,1), var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.duration-100{animation-duration:.1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.prose{color:hsl(var(--foreground));max-width:none}.prose p{margin-top:.75em;margin-bottom:.75em;line-height:1.75}.prose h1,.prose h2,.prose h3,.prose h4{margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.3}.prose h1{font-size:1.5em}.prose h2{font-size:1.25em}.prose h3{font-size:1.125em}.prose ul,.prose ol{margin-top:.75em;margin-bottom:.75em;padding-left:1.5em}.prose ul{list-style-type:disc}.prose ol{list-style-type:decimal}.prose li{margin-top:.25em;margin-bottom:.25em}.prose strong{font-weight:600}.prose code{background-color:hsl(var(--muted));border-radius:.25rem;padding:.2em .4em;font-family:ui-monospace,monospace;font-size:.875em}.prose pre{color:#fafafa;border:1px solid hsl(var(--border));background-color:#09090b;border-radius:.5rem;margin-top:1em;margin-bottom:1em;padding:1em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875em;line-height:1.7;overflow-x:auto}.prose pre code{background-color:#0000;padding:0}.prose blockquote{border-left:4px solid hsl(var(--muted-foreground) / .2);color:hsl(var(--muted-foreground));margin-top:1em;margin-bottom:1em;padding-left:1em}.prose a{color:hsl(var(--primary));text-decoration:underline}.prose img{border-radius:.5rem;max-width:100%;height:auto}.prose-sm{font-size:.875rem;line-height:1.5}.dark\:prose-invert:is(.dark *){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-6::file-selector-button{height:1.5rem}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-white\/25::placeholder{color:#ffffff40}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-0:after{content:var(--tw-content);inset:0}.after\:-inset-x-3:after{content:var(--tw-content);left:-.75rem;right:-.75rem}.after\:-inset-y-2:after{content:var(--tw-content);top:-.5rem;bottom:-.5rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-border:after{content:var(--tw-content);border-color:hsl(var(--border))}.after\:bg-foreground:after{content:var(--tw-content);background-color:hsl(var(--foreground))}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:mix-blend-darken:after{content:var(--tw-content);mix-blend-mode:darken}.after\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.last\:border-b-0:last-child{border-bottom-width:0}.hover\:border-white\/20:hover{border-color:#fff3}.hover\:bg-\[\#d4b43a\]:hover{--tw-bg-opacity:1;background-color:rgb(212 180 58/var(--tw-bg-opacity,1))}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent) / .5)}.hover\:bg-amber-100:hover{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.hover\:bg-amber-500\/10:hover{background-color:#f59e0b1a}.hover\:bg-blue-100:hover{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.hover\:bg-destructive\/10:hover{background-color:hsl(var(--destructive) / .1)}.hover\:bg-destructive\/20:hover{background-color:hsl(var(--destructive) / .2)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-emerald-50:hover{--tw-bg-opacity:1;background-color:rgb(236 253 245/var(--tw-bg-opacity,1))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/30:hover{background-color:hsl(var(--muted) / .3)}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary\/20:hover{background-color:hsl(var(--primary) / .2)}.hover\:bg-red-500\/10:hover{background-color:#ef44441a}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-white\/\[0\.06\]:hover{background-color:#ffffff0f}.hover\:from-amber-600:hover{--tw-gradient-from:#d97706 var(--tw-gradient-from-position);--tw-gradient-to:#d9770600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-orange-600:hover{--tw-gradient-to:#ea580c var(--tw-gradient-to-position)}.hover\:text-amber-600:hover{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity,1))}.hover\:text-amber-700:hover{--tw-text-opacity:1;color:rgb(180 83 9/var(--tw-text-opacity,1))}.hover\:text-destructive:hover{color:hsl(var(--destructive))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-red-400:hover{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.hover\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.hover\:text-white\/70:hover{color:#ffffffb3}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.hover\:shadow-sm:hover{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.focus\:border-\[\#c9a227\]\/50:focus{border-color:#c9a22780}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline-offset:2px;outline:2px solid #0000}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.focus\:ring-\[\#c9a227\]\/20:focus{--tw-ring-color:#c9a22733}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus-visible\:border-destructive\/40:focus-visible{border-color:hsl(var(--destructive) / .4)}.focus-visible\:border-ring:focus-visible{border-color:hsl(var(--ring))}.focus-visible\:outline-1:focus-visible{outline-width:1px}.focus-visible\:outline-ring:focus-visible{outline-color:hsl(var(--ring))}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:hsl(var(--destructive) / .2)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:hsl(var(--ring) / .5)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-input\/50:disabled{background-color:hsl(var(--input) / .5)}.disabled\:opacity-0:disabled{opacity:0}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:scale-110{--tw-scale-x:1.1;--tw-scale-y:1.1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:opacity-50{opacity:.5}.group\/dropdown-menu-item:focus .group-focus\/dropdown-menu-item\:text-accent-foreground{color:hsl(var(--accent-foreground))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-50{opacity:.5}.has-\[\>img\:first-child\]\:pt-0:has(>img:first-child){padding-top:0}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-expanded\:bg-muted[aria-expanded=true]{background-color:hsl(var(--muted))}.aria-expanded\:bg-secondary[aria-expanded=true]{background-color:hsl(var(--secondary))}.aria-expanded\:text-foreground[aria-expanded=true]{color:hsl(var(--foreground))}.aria-expanded\:text-secondary-foreground[aria-expanded=true]{color:hsl(var(--secondary-foreground))}.data-\[side\=bottom\]\:inset-x-0[data-side=bottom]{left:0;right:0}.data-\[side\=left\]\:inset-y-0[data-side=left],.data-\[side\=right\]\:inset-y-0[data-side=right]{top:0;bottom:0}.data-\[side\=top\]\:inset-x-0[data-side=top]{left:0;right:0}.data-\[side\=bottom\]\:bottom-0[data-side=bottom]{bottom:0}.data-\[side\=bottom\]\:top-1[data-side=bottom]{top:.25rem}.data-\[side\=inline-end\]\:-left-1[data-side=inline-end]{left:-.25rem}.data-\[side\=inline-start\]\:-right-1[data-side=inline-start],.data-\[side\=left\]\:-right-1[data-side=left]{right:-.25rem}.data-\[side\=left\]\:left-0[data-side=left]{left:0}.data-\[side\=right\]\:-left-1[data-side=right]{left:-.25rem}.data-\[side\=right\]\:right-0[data-side=right]{right:0}.data-\[side\=top\]\:-bottom-2\.5[data-side=top]{bottom:-.625rem}.data-\[side\=top\]\:top-0[data-side=top]{top:0}.data-\[size\=lg\]\:size-10[data-size=lg]{width:2.5rem;height:2.5rem}.data-\[size\=sm\]\:size-6[data-size=sm]{width:1.5rem;height:1.5rem}.data-\[side\=bottom\]\:h-auto[data-side=bottom]{height:auto}.data-\[side\=left\]\:h-full[data-side=left],.data-\[side\=right\]\:h-full[data-side=right]{height:100%}.data-\[side\=top\]\:h-auto[data-side=top]{height:auto}.data-\[size\=default\]\:h-8[data-size=default]{height:2rem}.data-\[size\=default\]\:h-\[18\.4px\][data-size=default]{height:18.4px}.data-\[size\=sm\]\:h-7[data-size=sm]{height:1.75rem}.data-\[size\=sm\]\:h-\[14px\][data-size=sm]{height:14px}.data-\[side\=left\]\:w-3\/4[data-side=left],.data-\[side\=right\]\:w-3\/4[data-side=right]{width:75%}.data-\[size\=default\]\:w-\[32px\][data-size=default]{width:32px}.data-\[size\=sm\]\:w-\[24px\][data-size=sm]{width:24px}.data-\[side\=inline-end\]\:-translate-y-1\/2[data-side=inline-end],.data-\[side\=inline-start\]\:-translate-y-1\/2[data-side=inline-start],.data-\[side\=left\]\:-translate-y-1\/2[data-side=left],.data-\[side\=right\]\:-translate-y-1\/2[data-side=right]{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[align-trigger\=true\]\:animate-none[data-align-trigger=true]{animation:none}.data-\[size\=sm\]\:gap-3[data-size=sm]{gap:.75rem}.data-\[size\=sm\]\:rounded-\[min\(var\(--radius-md\)\,10px\)\][data-size=sm]{border-radius:min(var(--radius-md), 10px)}.data-\[variant\=line\]\:rounded-none[data-variant=line]{border-radius:0}.data-\[side\=bottom\]\:border-t[data-side=bottom]{border-top-width:1px}.data-\[side\=left\]\:border-r[data-side=left]{border-right-width:1px}.data-\[side\=right\]\:border-l[data-side=right]{border-left-width:1px}.data-\[side\=top\]\:border-b[data-side=top]{border-bottom-width:1px}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[size\=sm\]\:py-3[data-size=sm]{padding-top:.75rem;padding-bottom:.75rem}.data-\[variant\=destructive\]\:text-destructive[data-variant=destructive]{color:hsl(var(--destructive))}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.data-\[state\=delayed-open\]\:animate-in[data-state=delayed-open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.data-\[state\=delayed-open\]\:fade-in-0[data-state=delayed-open]{--tw-enter-opacity:0}.data-\[state\=delayed-open\]\:zoom-in-95[data-state=delayed-open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-.5rem}.data-\[side\=inline-end\]\:slide-in-from-left-2[data-side=inline-end]{--tw-enter-translate-x:-.5rem}.data-\[side\=inline-start\]\:slide-in-from-right-2[data-side=inline-start],.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:.5rem}.\*\:data-\[slot\=select-value\]\:line-clamp-1[data-slot=select-value]>*{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\*\:data-\[slot\=select-value\]\:flex[data-slot=select-value]>*{display:flex}.\*\:data-\[slot\=select-value\]\:items-center[data-slot=select-value]>*{align-items:center}.\*\:data-\[slot\=select-value\]\:gap-1\.5[data-slot=select-value]>*{gap:.375rem}.\*\:data-\[slot\=avatar\]\:ring-2[data-slot=avatar]>*{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.\*\:data-\[slot\=avatar\]\:ring-background[data-slot=avatar]>*{--tw-ring-color:hsl(var(--background))}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10:focus[data-variant=destructive]{background-color:hsl(var(--destructive) / .1)}.data-\[variant\=destructive\]\:focus\:text-destructive:focus[data-variant=destructive]{color:hsl(var(--destructive))}.group[data-disabled=true] .group-data-\[disabled\=true\]\:pointer-events-none{pointer-events:none}.group\/avatar[data-size=default] .group-data-\[size\=default\]\/avatar\:size-2\.5{width:.625rem;height:.625rem}.group\/switch[data-size=default] .group-data-\[size\=default\]\/switch\:size-4{width:1rem;height:1rem}.group\/avatar[data-size=lg] .group-data-\[size\=lg\]\/avatar\:size-3{width:.75rem;height:.75rem}.group\/avatar[data-size=sm] .group-data-\[size\=sm\]\/avatar\:size-2{width:.5rem;height:.5rem}.group\/switch[data-size=sm] .group-data-\[size\=sm\]\/switch\:size-3{width:.75rem;height:.75rem}.group\/tabs-list[data-variant=line] .group-data-\[variant\=line\]\/tabs-list\:bg-transparent{background-color:#0000}.group\/card[data-size=sm] .group-data-\[size\=sm\]\/card\:p-3{padding:.75rem}.group\/card[data-size=sm] .group-data-\[size\=sm\]\/card\:px-3{padding-left:.75rem;padding-right:.75rem}.group\/avatar[data-size=sm] .group-data-\[size\=sm\]\/avatar\:text-xs{font-size:.75rem;line-height:1rem}.group\/card[data-size=sm] .group-data-\[size\=sm\]\/card\:text-sm{font-size:.875rem;line-height:1.25rem}.group[data-disabled=true] .group-data-\[disabled\=true\]\:opacity-50{opacity:.5}.dark\:-rotate-90:is(.dark *){--tw-rotate:-90deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:rotate-0:is(.dark *){--tw-rotate:0deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-0:is(.dark *){--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-100:is(.dark *){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:border-amber-500\/20:is(.dark *){border-color:#f59e0b33}.dark\:border-amber-500\/30:is(.dark *){border-color:#f59e0b4d}.dark\:border-blue-500\/30:is(.dark *){border-color:#3b82f64d}.dark\:border-emerald-500\/30:is(.dark *){border-color:#10b9814d}.dark\:border-input:is(.dark *){border-color:hsl(var(--input))}.dark\:border-orange-500\/20:is(.dark *){border-color:#f9731633}.dark\:border-rose-500\/20:is(.dark *){border-color:#f43f5e33}.dark\:border-rose-500\/30:is(.dark *){border-color:#f43f5e4d}.dark\:border-slate-500\/30:is(.dark *){border-color:#64748b4d}.dark\:border-violet-500\/30:is(.dark *){border-color:#8b5cf64d}.dark\:bg-amber-500\/10:is(.dark *){background-color:#f59e0b1a}.dark\:bg-amber-500\/15:is(.dark *){background-color:#f59e0b26}.dark\:bg-blue-500\/10:is(.dark *){background-color:#3b82f61a}.dark\:bg-card\/80:is(.dark *){background-color:hsl(var(--card) / .8)}.dark\:bg-destructive\/20:is(.dark *){background-color:hsl(var(--destructive) / .2)}.dark\:bg-emerald-500\/10:is(.dark *){background-color:#10b9811a}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\:bg-green-900\/30:is(.dark *){background-color:#14532d4d}.dark\:bg-input\/30:is(.dark *){background-color:hsl(var(--input) / .3)}.dark\:bg-orange-500\/15:is(.dark *){background-color:#f9731626}.dark\:bg-primary\/10:is(.dark *){background-color:hsl(var(--primary) / .1)}.dark\:bg-rose-500\/10:is(.dark *){background-color:#f43f5e1a}.dark\:bg-rose-500\/15:is(.dark *){background-color:#f43f5e26}.dark\:bg-slate-500\/10:is(.dark *){background-color:#64748b1a}.dark\:bg-violet-500\/10:is(.dark *){background-color:#8b5cf61a}.dark\:from-amber-500\/10:is(.dark *){--tw-gradient-from:#f59e0b1a var(--tw-gradient-from-position);--tw-gradient-to:#f59e0b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-amber-500\/15:is(.dark *){--tw-gradient-from:#f59e0b26 var(--tw-gradient-from-position);--tw-gradient-to:#f59e0b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-blue-500\/40:is(.dark *){--tw-gradient-from:#3b82f666 var(--tw-gradient-from-position);--tw-gradient-to:#3b82f600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-violet-500\/40:is(.dark *){--tw-gradient-from:#8b5cf666 var(--tw-gradient-from-position);--tw-gradient-to:#8b5cf600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:via-orange-500\/40:is(.dark *){--tw-gradient-to:#f9731600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #f9731666 var(--tw-gradient-via-position), var(--tw-gradient-to)}.dark\:via-orange-500\/5:is(.dark *){--tw-gradient-to:#f9731600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #f973160d var(--tw-gradient-via-position), var(--tw-gradient-to)}.dark\:via-sky-500\/40:is(.dark *){--tw-gradient-to:#0ea5e900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #0ea5e966 var(--tw-gradient-via-position), var(--tw-gradient-to)}.dark\:to-orange-500\/15:is(.dark *){--tw-gradient-to:#f9731626 var(--tw-gradient-to-position)}.dark\:to-rose-500\/10:is(.dark *){--tw-gradient-to:#f43f5e1a var(--tw-gradient-to-position)}.dark\:to-transparent:is(.dark *){--tw-gradient-to:transparent var(--tw-gradient-to-position)}.dark\:text-amber-300:is(.dark *){--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity,1))}.dark\:text-amber-400\/60:is(.dark *){color:#fbbf2499}.dark\:text-blue-300:is(.dark *){--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}.dark\:text-emerald-300:is(.dark *){--tw-text-opacity:1;color:rgb(110 231 183/var(--tw-text-opacity,1))}.dark\:text-emerald-400:is(.dark *){--tw-text-opacity:1;color:rgb(52 211 153/var(--tw-text-opacity,1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.dark\:text-green-400:is(.dark *){--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity,1))}.dark\:text-indigo-300:is(.dark *){--tw-text-opacity:1;color:rgb(165 180 252/var(--tw-text-opacity,1))}.dark\:text-indigo-400:is(.dark *){--tw-text-opacity:1;color:rgb(129 140 248/var(--tw-text-opacity,1))}.dark\:text-muted-foreground:is(.dark *){color:hsl(var(--muted-foreground))}.dark\:text-orange-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 146 60/var(--tw-text-opacity,1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.dark\:text-rose-300:is(.dark *){--tw-text-opacity:1;color:rgb(253 164 175/var(--tw-text-opacity,1))}.dark\:text-rose-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 113 133/var(--tw-text-opacity,1))}.dark\:text-sky-400:is(.dark *){--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity,1))}.dark\:text-slate-300:is(.dark *){--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.dark\:text-slate-400:is(.dark *){--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.dark\:text-violet-300:is(.dark *){--tw-text-opacity:1;color:rgb(196 181 253/var(--tw-text-opacity,1))}.dark\:text-violet-400:is(.dark *){--tw-text-opacity:1;color:rgb(167 139 250/var(--tw-text-opacity,1))}.dark\:after\:mix-blend-lighten:is(.dark *):after{content:var(--tw-content);mix-blend-mode:lighten}.dark\:hover\:bg-amber-500\/20:hover:is(.dark *){background-color:#f59e0b33}.dark\:hover\:bg-destructive\/30:hover:is(.dark *){background-color:hsl(var(--destructive) / .3)}.dark\:hover\:bg-input\/50:hover:is(.dark *){background-color:hsl(var(--input) / .5)}.dark\:hover\:bg-muted\/50:hover:is(.dark *){background-color:hsl(var(--muted) / .5)}.dark\:hover\:text-amber-400:hover:is(.dark *){--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity,1))}.dark\:hover\:text-foreground:hover:is(.dark *){color:hsl(var(--foreground))}.dark\:focus-visible\:ring-destructive\/40:focus-visible:is(.dark *){--tw-ring-color:hsl(var(--destructive) / .4)}.dark\:disabled\:bg-input\/80:disabled:is(.dark *){background-color:hsl(var(--input) / .8)}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:focus[data-variant=destructive]:is(.dark *){background-color:hsl(var(--destructive) / .2)}@media (width>=640px){.sm\:max-w-\[400px\]{max-width:400px}.sm\:max-w-md{max-width:28rem}.sm\:max-w-sm{max-width:24rem}.sm\:max-w-xs{max-width:20rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.data-\[side\=left\]\:sm\:max-w-sm[data-side=left],.data-\[side\=right\]\:sm\:max-w-sm[data-side=right]{max-width:24rem}}@media (width>=768px){.md\:flex{display:flex}.md\:table-cell{display:table-cell}.md\:hidden{display:none}.md\:max-w-none{max-width:none}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:p-6{padding:1.5rem}.md\:p-8{padding:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (width>=1024px){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:max-w-\[500px\]{max-width:500px}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-\[55\%_45\%\]{grid-template-columns:55% 45%}.lg\:px-8{padding-left:2rem;padding-right:2rem}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:size-4>svg{width:1rem;height:1rem}.group\/avatar[data-size=sm] .group-data-\[size\=sm\]\/avatar\:\[\&\>svg\]\:hidden>svg{display:none}.group\/avatar[data-size=default] .group-data-\[size\=default\]\/avatar\:\[\&\>svg\]\:size-2>svg,.group\/avatar[data-size=lg] .group-data-\[size\=lg\]\/avatar\:\[\&\>svg\]\:size-2>svg{width:.5rem;height:.5rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*=size-]){width:.75rem;height:.75rem}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5 svg:not([class*=size-]){width:.875rem;height:.875rem}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:1rem;height:1rem}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}
|