@inf-monkeys-tech/monkeys-design 2.0.326 → 2.0.327

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/{RenderTreeHost.d-072199e76a39.d.ts → RenderTreeHost.d-4b86b4c357ba.d.ts} +1 -1
  2. package/dist/{RenderTreeHost.d-9e2c99a5ee32.d.mts → RenderTreeHost.d-742cc7114e3e.d.mts} +1 -1
  3. package/dist/RenderTreeRuntimeHost.d-24d5330d38fe.d.mts +1 -1
  4. package/dist/RenderTreeRuntimeHost.d-fdb6c1d5ff67.d.ts +1 -1
  5. package/dist/components/assembly/index.js +1 -1
  6. package/dist/components/assembly/index.mjs +1 -1
  7. package/dist/components/capabilities/index.d.mts +1 -1
  8. package/dist/components/capabilities/index.d.ts +1 -1
  9. package/dist/components/capabilities/index.js +99 -99
  10. package/dist/components/capabilities/index.js.map +1 -1
  11. package/dist/components/capabilities/index.mjs +13 -13
  12. package/dist/components/capabilities/index.mjs.map +1 -1
  13. package/dist/components/runtime/index.d.mts +2 -2
  14. package/dist/components/runtime/index.d.ts +2 -2
  15. package/dist/components/runtime/index.js +20 -20
  16. package/dist/components/runtime/index.js.map +1 -1
  17. package/dist/components/runtime/index.mjs +4 -4
  18. package/dist/components/runtime/index.mjs.map +1 -1
  19. package/dist/components/workbench/index.d.mts +1 -1
  20. package/dist/components/workbench/index.d.ts +1 -1
  21. package/dist/contracts.d-0186561cdb39.d.ts +1 -1
  22. package/dist/contracts.d-fb3821943b55.d.mts +1 -1
  23. package/dist/icons/runtime/index.d.mts +1 -1
  24. package/dist/icons/runtime/index.d.ts +1 -1
  25. package/dist/sources/{eca493c6eb8fac0f654cb168297609dc99dbffade3d78ff92a545dede62f09c4.tsx → c34d2e5c19583b1bbcbf52ea99ce0ac5f3ec508f4f535c4937594d4df072f414.tsx} +116 -26
  26. package/package.json +1 -1
@@ -3,7 +3,7 @@
3
3
  var runtime = require('@inf-monkeys-tech/monkeys/runtime');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
  var react = require('react');
6
- var _ = require('@radix-ui/react-dialog');
6
+ var j = require('@radix-ui/react-dialog');
7
7
  require('react-dom');
8
8
  var tailwindMerge = require('tailwind-merge');
9
9
  var reactSlot = require('@radix-ui/react-slot');
@@ -26,27 +26,27 @@ function _interopNamespace(e) {
26
26
  return Object.freeze(n);
27
27
  }
28
28
 
29
- var ___namespace = /*#__PURE__*/_interopNamespace(_);
29
+ var j__namespace = /*#__PURE__*/_interopNamespace(j);
30
30
 
31
- var Ft=Object.defineProperty;var o=(e,t)=>Ft(e,"name",{value:t,configurable:true});function Vt({handoff:e,targetPath:t=e.target.path,targetOrigin:r,children:n,onActivate:s,...l}){let u=r?.trim(),m=u?new URL(t,u).toString():t;return jsxRuntime.jsx("a",{...l,href:runtime.buildApplicationHandoffUrl(m,e),"data-monkeys-handoff-id":e.handoffId,"data-monkeys-handoff-source":e.source.product,"data-monkeys-handoff-target":e.target.product,onClick:R=>s?.(e,R),children:n})}o(Vt,"ApplicationHandoffLink");var je=Symbol.for("@inf-monkeys-tech/monkeys-design/bento-depth@1"),Fe=globalThis,We=Fe[je]??(Fe[je]=react.createContext(0));function Se(){return react.useContext(We)}o(Se,"useBentoDepth");function Ve({children:e,depth:t}){return jsxRuntime.jsx(We.Provider,{value:t,children:e})}o(Ve,"BentoDepthProvider");function se({children:e}){return jsxRuntime.jsx(Ve,{depth:0,children:e})}o(se,"BentoScope");var Ce={locale:"en-US",messages:{canvas:{replaceImage:"Replace image",cropImage:"Crop image",downloadImage:"Download image",useImageReference:"Use as reference",saturationValue:"Saturation and brightness",hue:"Hue",dots:"Dot grid",group:"Group",hexPlaceholder:"#F5F5F5",controls:"Canvas controls",background:"Canvas background",layers:"Layers",minimap:"Minimap",zoom:"Zoom",zoomIn:"Zoom in",zoomOut:"Zoom out",fit:"Show all elements",zoomTo:o(({percent:e})=>`Zoom to ${e}%`,"zoomTo"),color:o(({value:e})=>`Use ${e}`,"color"),hex:"Hex color",close:"Close",empty:"No layers",element:o(({type:e})=>e,"element")},pagination:{navigation:"Pagination",first:"First",previous:"Previous",next:"Next",last:"Last",page:o(({page:e,pageCount:t})=>`Page ${e} of ${t}`,"page"),currentPage:o(({page:e,pageCount:t})=>`Page ${e} of ${t}, current page`,"currentPage"),emptyResults:"0 results",range:o(({start:e,end:t,total:r})=>`${e}-${t} of ${r}`,"range"),selected:o(({count:e})=>`${e} selected`,"selected"),pageSize:"Items per page",loadBatchSize:"Items per load",perLoad:"Items per load",jumpToPage:"Jump to page",pages:"pages",clickToJump:"Click to jump to a page"},dialog:{close:"Close dialog"},dropdownMenu:{actions:"Actions"},loading:{spinner:"Loading"},layout:{resizePanels:"Resize panels",expandPanel:"Expand",collapsePanel:"Collapse",movePanel:"Move",moveBefore:"Move earlier",moveAfter:"Move later"},steps:{label:"Progress",current:"Current",completed:"Completed",error:"Error",disabled:"Disabled"},numberInput:{increment:"Increase value",decrement:"Decrease value"},passwordInput:{showPassword:"Show password",hidePassword:"Hide password"},multiSelect:{placeholder:"Select options",empty:"No options",removeOption:o(({value:e})=>`Remove ${e}`,"removeOption")},table:{dragColumn:o(({columnId:e})=>`Drag column ${e}`,"dragColumn"),resizeColumn:o(({columnId:e})=>`Resize column ${e}`,"resizeColumn"),sortColumn:o(({columnId:e})=>e?`Sort column ${e}`:"Sort column","sortColumn"),loadingRow:"Loading table row"},toolbar:{theme:{label:"Appearance",toggle:"Toggle theme",auto:"Auto",light:"Light",dark:"Dark"},language:{label:"Language",switch:"Switch language"}},toast:{errorTitle:"Error",warningTitle:"Warning",defaultErrorDescription:"Something went wrong.",defaultWarningDescription:"Please check and try again."},dataExplorer:{viewTree:{actions:"More actions",expand:"Expand",collapse:"Collapse",loading:"Loading...",empty:"No views",error:"Unable to load views"}},workbench:{relationshipGraph:{zoomOut:"Zoom out",zoomIn:"Zoom in",zoomToFit:"Fit graph",minimap:"Graph overview"},collection:{label:"Collection",loading:"Loading items",empty:"No items",loadError:"Unable to load items",refreshError:"Unable to refresh items",retry:"Retry",loadingMore:"Loading more items",permission:"You do not have permission to view this content",offline:"You appear to be offline",requestAccess:"Request access"},interactiveTable:{columnActions:"Column actions",freezeColumn:"Freeze to left",freezeEndColumn:"Freeze to right",unfreezeColumn:"Unfreeze from left",unfreezeEndColumn:"Unfreeze from right",unfreezeAllColumns:"Unfreeze all columns",resetColumnWidth:"Reset column width",frozenColumnTitle:"Frozen column"}},agentWorkbench:{label:"Session activity",reasoning:"Reasoning",plan:"Plan",taskNoDetail:"No additional details",modes:{chat:"Chat",work:"Work"},composer:{send:"Send message",stop:"Stop generating",queue:"Queue message",attach:"Add photos or files",voice:"Start voice input",webSearch:"Web search",chatMode:"Chat mode",model:"Model",reasoning:"Reasoning effort",permissions:"Permissions",removeAttachment:"Remove attachment",editQueued:"Edit queued message",deleteQueued:"Delete queued message",moveUp:"Move message up",moveDown:"Move message down",queued:"Queued messages",uploading:"Uploading",uploadFailed:"Upload failed",retryAttachment:"Retry attachment upload",noModels:"No models available",message:"Message",attachmentOnly:"Attachment",reasoningOptions:{low:"Low",medium:"Medium",high:"High",xhigh:"Extra high"},permissionOptions:{"approval-required":"Approval required","auto-approve":"Auto approve","full-access":"Full access"}},quickStart:{label:"Quick start",back:"Back",addFile:"Add file"},tool:{input:"Input",output:"Output",status:{pending:"Pending",running:"Running",completed:"Completed",failed:"Error",denied:"Denied"}},approval:{approve:"Approve",reject:"Reject",approved:"Approved",rejected:"Rejected"},artifact:{pending:"Preparing",ready:"Ready",failed:"Failed",open:o(({name:e})=>`Open ${e}`,"open")},run:{stopping:"Stopping...",stoppedAfter:o(({duration:e})=>`You stopped after ${e}`,"stoppedAfter")},process:{running:"Working",queued:"Queued",waitingApproval:"Waiting for approval",failed:"Failed",stopped:"Stopped",processed:"Processed",processedFor:o(({duration:e})=>`Worked for ${e}`,"processedFor"),completedCount:o(({completed:e,total:t})=>`${e}/${t} completed`,"completedCount")},artifactWorkspace:{outputs:"Outputs",sources:"Sources",viewAll:"View all",toggleSummary:"Toggle files",tabs:"Open files",closeTab:o(({name:e})=>`Close ${e}`,"closeTab"),closeWorkspace:"Close workspace",close:"Close",closeOthers:"Close other tabs",closeRight:"Close tabs to the right",closeAll:"Close all tabs",kinds:{audio:"Audio",canvas:"Canvas",file:"File",html:"HTML",image:"Image",markdown:"Markdown",pdf:"PDF",presentation:"Presentation",video:"Video",web:"Web page"},collapse:"Collapse",maximize:"Full screen",restore:"Exit full screen",download:o(({name:e})=>`Download ${e}`,"download"),openExternal:o(({name:e})=>`Open ${e} in a new window`,"openExternal"),loading:"Loading preview...",failed:"Preview unavailable",retry:"Try again"},usage:{label:"Context usage",context:o(({used:e,total:t})=>`${e} / ${t} tokens`,"context")},navigation:{search:"Search agents and sessions",searchSessions:"Search sessions",searchShortcut:"Focus search",clearSearch:"Clear search",tabsLabel:"Agent workbench navigation",agents:"Agents",sessions:"Sessions",newAgent:"New Agent",newSession:"New Session",capabilities:"Capabilities & Extensions",settings:"Agent Settings",allAgents:"All Agents",recentSessions:"Recent Sessions",chat:"Chat",work:"Work",chats:"Chats",builtIn:"Built-in",noDescription:"No description",loading:"Loading...",emptyAgents:"No agents yet",emptySessions:"No sessions yet",noResults:"No matching results",retry:"Retry",pin:"Pin",unpin:"Unpin",rename:"Rename",delete:"Delete",actions:"Actions",save:"Save",cancel:"Cancel",running:"Running",completed:"Completed",failed:"Failed",contextUsage:o(({percent:e})=>`${e}% context used`,"contextUsage")},details:{title:"Task details",description:"Summary and workspace activity",duration:"Duration",updated:"Updated",model:"Model",mode:"Mode",permissions:"Permissions",tokenUsage:"Token usage",summary:"Summary",summaryEmpty:"No summary is available yet.",summaryFailed:"The summary could not be generated.",highlights:"Highlights",pendingItems:"Pending items",tabs:{label:"Task detail views",summary:"Summary",workspace:"Workspace"},status:{queued:"Queued",running:"Running",waiting_approval:"Waiting for approval",stopping:"Stopping",stopped:"Stopped",completed:"Completed",failed:"Failed"},state:{loading:{title:"Loading task details",description:"Restoring the latest session activity."},empty:{title:"No task selected",description:"Select a task to inspect its details."},error:{title:"Unable to load task details",description:"Try again after the session is available."}},actions:{close:"Close task details",copySummary:"Copy summary",retry:"Retry",retrySummary:"Retry summary",resume:"Resume",continueInNewTask:"Continue in new task",editAndRerun:"Edit and rerun",export:"Export"},workspace:{diffs:"Code changes",files:"Files",terminals:"Terminals",tests:"Tests",artifacts:"Artifacts",exitCode:o(({code:e})=>`Exit code ${e}`,"exitCode"),diffStatus:{added:"Added",modified:"Modified",deleted:"Deleted",renamed:"Renamed"},fileOperation:{upsert:"Updated",delete:"Deleted"}}}}}};function qe(e,t){return t?{canvas:{...e.canvas,...t.canvas},beautiful:{...e.beautiful,...t.beautiful},pagination:{...e.pagination,...t.pagination},dialog:{...e.dialog,...t.dialog},dropdownMenu:{...e.dropdownMenu,...t.dropdownMenu},loading:{...e.loading,...t.loading},layout:{...e.layout,...t.layout},steps:{...e.steps,...t.steps},numberInput:{...e.numberInput,...t.numberInput},passwordInput:{...e.passwordInput,...t.passwordInput},multiSelect:{...e.multiSelect,...t.multiSelect},table:{...e.table,...t.table},toolbar:{theme:{...e.toolbar.theme,...t.toolbar?.theme},language:{...e.toolbar.language,...t.toolbar?.language}},toast:{...e.toast,...t.toast},dataExplorer:{viewTree:{...e.dataExplorer.viewTree,...t.dataExplorer?.viewTree}},workbench:{relationshipGraph:{zoomOut:"Zoom out",zoomIn:"Zoom in",zoomToFit:"Fit graph",minimap:"Graph overview",...e.workbench.relationshipGraph,...t.workbench?.relationshipGraph},collection:{...e.workbench.collection,...t.workbench?.collection},interactiveTable:{...e.workbench.interactiveTable,...t.workbench?.interactiveTable}},agentWorkbench:{...e.agentWorkbench,...t.agentWorkbench,modes:{...e.agentWorkbench.modes,...t.agentWorkbench?.modes},composer:{...e.agentWorkbench.composer,...t.agentWorkbench?.composer},quickStart:{...e.agentWorkbench.quickStart,...t.agentWorkbench?.quickStart},tool:{...e.agentWorkbench.tool,...t.agentWorkbench?.tool,status:{...e.agentWorkbench.tool.status,...t.agentWorkbench?.tool?.status}},approval:{...e.agentWorkbench.approval,...t.agentWorkbench?.approval},artifact:{...e.agentWorkbench.artifact,...t.agentWorkbench?.artifact},run:{...e.agentWorkbench.run,...t.agentWorkbench?.run},process:{...e.agentWorkbench.process,...t.agentWorkbench?.process},artifactWorkspace:{...e.agentWorkbench.artifactWorkspace,...t.agentWorkbench?.artifactWorkspace},usage:{...e.agentWorkbench.usage,...t.agentWorkbench?.usage},navigation:{...e.agentWorkbench.navigation,...t.agentWorkbench?.navigation},details:{...e.agentWorkbench.details,...t.agentWorkbench?.details,tabs:{...e.agentWorkbench.details.tabs,...t.agentWorkbench?.details?.tabs},status:{...e.agentWorkbench.details.status,...t.agentWorkbench?.details?.status},state:{loading:{...e.agentWorkbench.details.state.loading,...t.agentWorkbench?.details?.state?.loading},empty:{...e.agentWorkbench.details.state.empty,...t.agentWorkbench?.details?.state?.empty},error:{...e.agentWorkbench.details.state.error,...t.agentWorkbench?.details?.state?.error}},actions:{...e.agentWorkbench.details.actions,...t.agentWorkbench?.details?.actions},workspace:{...e.agentWorkbench.details.workspace,...t.agentWorkbench?.details?.workspace,diffStatus:{...e.agentWorkbench.details.workspace.diffStatus,...t.agentWorkbench?.details?.workspace?.diffStatus},fileOperation:{...e.agentWorkbench.details.workspace.fileOperation,...t.agentWorkbench?.details?.workspace?.fileOperation}}}}}:e}o(qe,"mergeMonkeysLocaleMessages");var Me={locale:Ce.locale,messages:qe(Ce.messages)};var Gt=Object.freeze({}),Jt=Object.freeze({}),Qe=Symbol.for("@inf-monkeys-tech/monkeys-design/provider-context@1");function Kt(){return Object.freeze({locale:react.createContext({...Me,provided:false}),theme:react.createContext({provided:false}),direction:react.createContext({provided:false}),environment:react.createContext({provided:false,environment:Gt,portal:Jt})})}o(Kt,"createMonkeysProviderContexts");function Zt(){let e=globalThis,t=e[Qe];if(t)return t;let r=Kt();return Object.defineProperty(e,Qe,{value:r,enumerable:false,configurable:false,writable:false}),r}o(Zt,"getMonkeysProviderContexts");var xe=Zt(),Je=xe.locale,Ke=xe.theme,Yt=xe.direction,Ze=xe.environment;function Xt(e,t){return t===void 0?e:e===void 0?t:{...e,...t,slots:e.slots||t.slots?{...e.slots,...t.slots}:void 0,styles:e.styles||t.styles?{...e.styles,...t.styles}:void 0}}o(Xt,"mergeAppearance");function Ye(){return react.useContext(Je).messages}o(Ye,"useMonkeysLocaleMessages");function Xe(e){let t=react.useContext(Ke).baseAppearance;return react.useMemo(()=>Xt(t,e),[e,t])}o(Xe,"useMonkeysBaseAppearance");function et(){return react.useContext(Ze).environment}o(et,"useMonkeysEnvironment");function tt(){return react.useContext(Ze).portal}o(tt,"useMonkeysPortalOptions");function ot(){let e=react.useContext(Je),t=react.useContext(Ke),r=react.useContext(Yt),n=e.provided||t.provided||r.provided;return react.useMemo(()=>n?{dir:r.direction,"data-monkeys-direction":r.direction,"data-monkeys-locale":e.locale,"data-monkeys-theme":t.themeId,"data-monkeys-theme-mode":t.resolvedTheme?.colorMode}:{},[r.direction,e.locale,n,t.resolvedTheme?.colorMode,t.themeId])}o(ot,"useMonkeysComponentAttributes");function Ie(e,t){let r=typeof e=="function"?e():e;if(r===null)return null;if(!r||typeof r!="object"||r.nodeType!==1)throw new TypeError(`${t} must resolve to an Element or null.`);return r}o(Ie,"resolveContainerValue");function rt({explicitProvided:e,explicitContainer:t,providerProvided:r,providerContainer:n,getDocument:s}){if(e)return Ie(t,"BasePortal container");if(r)return Ie(n,"MonkeysProvider portal.container");if(!s)return null;let l=s();if(l===null)return null;if(!l||typeof l!="object"||!("body"in l))throw new TypeError("MonkeysProvider environment.getDocument must resolve to a Document or null.");return Ie(l.body,"MonkeysProvider environment.getDocument().body")}o(rt,"resolveBasePortalContainer");function oo({mounted:e,explicitDisabled:t,explicitContainer:r,providerDisabled:n,providerContainer:s,getDocument:l}){let u=t??n??false;if(!e||u)return {mounted:e,disabled:u,shouldPortal:false,container:null,radixPortalProps:void 0};let m=rt({explicitProvided:r!==void 0,explicitContainer:r,providerProvided:s!==void 0,providerContainer:s,getDocument:l});return m?{mounted:true,disabled:false,shouldPortal:true,container:m,radixPortalProps:Object.freeze({container:m})}:{mounted:true,disabled:false,shouldPortal:false,container:null,radixPortalProps:void 0}}o(oo,"resolveBaseOverlayPortalState");function ro(){return globalThis.document??null}o(ro,"getDefaultDocument");function nt(e={}){let t=et(),r=tt(),[n,s]=react.useState(false);return react.useEffect(()=>{s(true);},[]),oo({mounted:n,explicitDisabled:e.disabled,explicitContainer:e.container,providerDisabled:r.disabled,providerContainer:r.container,getDocument:t.getDocument??ro})}o(nt,"useBaseOverlayPortal");function a(...e){return tailwindMerge.twMerge(e.filter(Boolean).join(" "))}o(a,"cn");function oe(e){return e!=null&&typeof e!="boolean"}o(oe,"hasRenderableNode");function at(e,t){let r=new WeakMap,n=new Map,s=1;return (...l)=>{let u=l.slice(0,-1),m=l[l.length-1],R=u.map(y=>{if(!y)return 0;let b=r.get(y);return b===void 0&&(b=s++,r.set(y,b)),b}).join(":"),E=n.get(R);if(!E){let y={};for(let b of e)y[b]=t(...u.map(h=>h?.[b]));E=Object.freeze(y),n.size>=64&&n.delete(n.keys().next().value),n.set(R,E);}let P={...E};if(m)for(let y of e){let b=m[y];b&&(P[y]=t(...u.map(h=>h?.[y]),b));}return P}}o(at,"createStaticSlotMerger");var ao={},M="motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",K="motion-safe:transition-all motion-safe:duration-300 motion-safe:ease-out",ye="motion-safe:transition-transform motion-safe:duration-300 motion-safe:ease-out",st=a("[scrollbar-width:thin]","[scrollbar-color:hsl(var(--muted-foreground)/0.45)_transparent]","[&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar]:w-2","[&::-webkit-scrollbar-button]:hidden [&::-webkit-scrollbar-button]:h-0 [&::-webkit-scrollbar-button]:w-0 [&::-webkit-scrollbar-button]:bg-transparent","[&::-webkit-scrollbar-button:single-button]:hidden [&::-webkit-scrollbar-button:single-button]:h-0 [&::-webkit-scrollbar-button:single-button]:w-0","[&::-webkit-scrollbar-button:double-button]:hidden [&::-webkit-scrollbar-button:double-button]:h-0 [&::-webkit-scrollbar-button:double-button]:w-0","[&::-webkit-scrollbar-corner]:bg-transparent","[&::-webkit-scrollbar-track]:bg-transparent","[&:has(thead.sticky)::-webkit-scrollbar-track]:mt-[var(--base-table-header-height)]","[&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-muted-foreground/40","hover:[&::-webkit-scrollbar-thumb]:bg-muted-foreground/55"),so=a("[&.sticky_th]:sticky [&.sticky_th]:top-0 [&.sticky_th]:z-[2]","[&.sticky_th]:bg-[var(--base-table-sticky-header-bg)]","[&.sticky_th]:shadow-[inset_0_-1px_0_var(--base-table-header-separator)]"),dt={buttonBase:a("group/button inline-flex min-w-0 items-center justify-center gap-2 rounded-md border px-3 text-sm font-medium focus-visible:outline-hidden","cursor-pointer disabled:!cursor-not-allowed",K),buttonDefault:"border-border bg-background text-foreground hover:bg-accent/60",buttonPrimary:"border-primary/20 bg-primary/10 text-primary hover:bg-primary/15",buttonSuccess:"border-[hsl(var(--success,142_72%_29%)_/_0.30)] bg-[hsl(var(--success,142_72%_29%)_/_0.10)] text-[hsl(var(--success,142_72%_29%))] hover:bg-[hsl(var(--success,142_72%_29%)_/_0.15)]",buttonWarning:"border-[hsl(var(--warning,45_93%_47%)_/_0.30)] bg-[hsl(var(--warning,45_93%_47%)_/_0.10)] text-[hsl(var(--warning-foreground,28_73%_26%))] hover:bg-[hsl(var(--warning,45_93%_47%)_/_0.15)]",buttonDanger:"border-destructive/20 bg-destructive/10 text-destructive-text hover:bg-destructive/15",buttonMuted:"border-border/60 bg-muted/45 text-muted-foreground hover:bg-muted/70 hover:text-foreground",buttonActive:"border-primary/35 bg-primary/10 text-primary",buttonDisabled:"!cursor-not-allowed opacity-60",buttonIconOnly:"w-9 px-0",buttonIcon:"inline-flex h-4 w-4 shrink-0 items-center justify-center text-[inherit] [&_*]:!text-[inherit] [&_svg]:!stroke-current [&_svg_*]:!stroke-current",buttonLabel:"min-w-0 truncate",badgeBase:a("inline-flex max-w-full items-center gap-1.5 rounded-full border px-2 py-0.5 text-xs font-medium",M),badgeDefault:"border-border/60 bg-background text-foreground",badgePrimary:"border-primary/30 bg-primary/10 text-primary",badgeSuccess:"border-[hsl(var(--success,142_72%_29%)_/_0.30)] bg-[hsl(var(--success,142_72%_29%)_/_0.10)] text-[hsl(var(--success,142_72%_29%))]",badgeWarning:"border-[hsl(var(--warning,45_93%_47%)_/_0.30)] bg-[hsl(var(--warning,45_93%_47%)_/_0.10)] text-[hsl(var(--warning-foreground,28_73%_26%))]",badgeDanger:"border-destructive/30 bg-destructive/10 text-destructive-text",badgeMuted:"border-border/60 bg-muted text-muted-foreground",badgeIcon:"inline-flex h-3.5 w-3.5 shrink-0 items-center justify-center",badgeLabel:"min-w-0 truncate",textRoot:"min-w-0 break-words leading-6",textSizeXs:"text-xs",textSizeSm:"text-sm",textSizeMd:"text-base",textSizeLg:"text-lg",textSizeXl:"text-xl",typographyToneDefault:"text-foreground",typographyToneMuted:"text-muted-foreground",typographyTonePrimary:"text-primary",typographyToneSuccess:"text-emerald-700 dark:text-emerald-400",typographyToneWarning:"text-amber-700 dark:text-amber-400",typographyToneDanger:"text-destructive-text",typographyToneInherit:"text-inherit",headingRoot:"min-w-0 break-words font-semibold tracking-tight",headingSizeXs:"text-sm leading-5",headingSizeSm:"text-base leading-6",headingSizeMd:"text-lg leading-7",headingSizeLg:"text-xl leading-7",headingSizeXl:"text-2xl leading-8",headingSize2xl:"text-3xl leading-9",linkRoot:"inline break-words underline decoration-current/40 underline-offset-4 hover:decoration-current focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30",codeInline:"rounded border border-border/70 bg-muted/60 px-1.5 py-0.5 font-mono text-[0.875em] leading-[1.45] text-foreground",codeBlock:"m-0 max-w-full overflow-x-auto rounded-md border border-border/70 bg-muted/60 p-4 text-foreground",codeContent:"font-mono text-sm leading-6",kbdRoot:"inline-flex min-h-5 items-center rounded border border-border bg-muted/70 px-1.5 font-mono text-[0.75em] font-medium leading-5 text-foreground shadow-[inset_0_-1px_0_hsl(var(--monkeys-color-border))]",listRoot:"m-0 min-w-0 list-outside break-words ps-5 text-foreground",listSpacingCompact:"[&>li+li]:mt-1",listSpacingDefault:"[&>li+li]:mt-2",listSpacingRelaxed:"[&>li+li]:mt-3",listMarkerNone:"list-none ps-0",listMarkerDisc:"list-disc",listMarkerCircle:"list-[circle]",listMarkerSquare:"list-[square]",listMarkerDecimal:"list-decimal",listMarkerLowerAlpha:"list-[lower-alpha]",listMarkerUpperAlpha:"list-[upper-alpha]",listItem:"min-w-0 ps-1 leading-6 marker:text-muted-foreground",stackRoot:"flex min-w-0 flex-col",inlineRoot:"flex min-w-0 flex-row",gridRoot:"grid min-w-0",containerRoot:"mx-auto w-full min-w-0",aspectRatioRoot:"relative min-w-0 overflow-hidden [&>*]:h-full [&>*]:w-full",spinnerRoot:"inline-flex shrink-0 items-center justify-center text-current align-middle",spinnerIndicator:"h-5 w-5 rounded-full border-2 border-current border-r-transparent motion-safe:animate-spin motion-reduce:animate-none",visuallyHiddenRoot:"sr-only",visuallyHiddenFocusable:"focus:not-sr-only focus:fixed focus:left-4 focus:top-4 focus:z-[1000] focus:rounded-md focus:bg-background focus:px-4 focus:py-2 focus:text-foreground focus:shadow-lg focus:outline-hidden focus:ring-2 focus:ring-ring focus-within:not-sr-only focus-within:fixed focus-within:left-4 focus-within:top-4 focus-within:z-[1000] focus-within:rounded-md focus-within:bg-background focus-within:px-4 focus-within:py-2 focus-within:text-foreground focus-within:shadow-lg focus-within:ring-2 focus-within:ring-ring",fieldsetRoot:"min-w-0 border-0 p-0 text-foreground",fieldsetLegend:"min-w-0 text-sm font-semibold leading-6 text-foreground",fieldsetDescription:"mt-1 text-sm leading-5 text-muted-foreground",fieldsetError:"mt-1 text-sm leading-5 text-destructive-text",fieldsetContent:"mt-3 grid min-w-0 gap-3",stepsRoot:"m-0 min-w-0 list-none p-0 text-foreground",stepsHorizontal:"flex w-full max-w-full items-start overflow-x-auto pb-2",stepsVertical:"grid",stepsItem:"relative min-w-0",stepsItemHorizontal:"flex min-w-52 flex-1 items-start",stepsItemVertical:"pb-6 last:pb-0",stepsTrigger:"flex min-w-0 flex-1 items-start gap-3 rounded-md border-0 bg-transparent p-1 text-start text-inherit",stepsTriggerInteractive:"cursor-pointer hover:bg-accent/50 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",stepsTriggerDisabled:"!cursor-not-allowed opacity-60",stepsIndicator:"relative z-[1] inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full border text-xs font-semibold",stepsIndicatorPending:"border-border bg-background text-muted-foreground",stepsIndicatorCurrent:"border-primary/50 bg-primary/10 text-primary",stepsIndicatorCompleted:"border-primary bg-primary text-primary-foreground",stepsIndicatorError:"border-destructive bg-destructive text-destructive-foreground",stepsContent:"grid min-w-0 gap-1 pt-0.5",stepsLabel:"min-w-0 break-words text-sm font-medium leading-5",stepsDescription:"min-w-0 break-words text-sm leading-5 text-muted-foreground",stepsStatus:"sr-only",stepsConnector:"shrink-0 bg-border",stepsConnectorHorizontal:"mt-3.5 h-px w-8",stepsConnectorVertical:"absolute bottom-0 top-8 start-3.5 w-px -translate-x-1/2",stepsConnectorCompleted:"bg-primary/60",stepsConnectorError:"bg-destructive/60",scrollAreaViewport:"min-h-0 min-w-0",numberInputControl:"tabular-nums",numberInputStepControls:"me-1 flex shrink-0 self-stretch overflow-hidden border-s border-border",numberInputStepButton:"flex min-h-6 w-7 cursor-pointer items-center justify-center border-0 bg-transparent px-1 text-xs leading-none text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:z-[1] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring disabled:!cursor-not-allowed disabled:opacity-40",passwordInputControl:"pe-2",passwordInputToggle:"me-1 inline-flex min-h-7 shrink-0 cursor-pointer items-center justify-center rounded px-2 text-xs font-medium text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:!cursor-not-allowed disabled:opacity-40",inputGroupRoot:a("relative flex min-w-0 items-stretch overflow-hidden rounded-md border border-border bg-background text-foreground focus-within:border-primary/50 focus-within:ring-2 focus-within:ring-ring/30",M),inputGroupInvalid:"border-destructive/55 focus-within:border-destructive/70 focus-within:ring-destructive/25",inputGroupDisabled:"!cursor-not-allowed bg-muted/35",inputGroupContent:"flex min-w-0 flex-1 items-stretch [&>*]:min-w-0",inputGroupStartElement:"inline-flex shrink-0 items-center justify-center ps-3 pe-1 text-foreground/75",inputGroupEndElement:"inline-flex shrink-0 items-center justify-center ps-1 pe-3 text-foreground/75",inputGroupStartAddon:"inline-flex max-w-[min(40%,16rem)] shrink-0 items-center overflow-hidden border-e border-border bg-muted/60 px-3 text-sm text-foreground/75 text-ellipsis whitespace-nowrap [&>*]:min-w-0",inputGroupEndAddon:"inline-flex max-w-[min(40%,16rem)] shrink-0 items-center overflow-hidden border-s border-border bg-muted/60 px-3 text-sm text-foreground/75 text-ellipsis whitespace-nowrap [&>*]:min-w-0",panelRoot:a("group relative flex min-w-0 flex-col overflow-hidden rounded-lg border border-border/70 bg-background",K),panelInteractive:"cursor-pointer hover:shadow-md",panelSelected:"border-primary/45 bg-primary/5",panelDisabled:"!cursor-not-allowed opacity-60",panelMedia:"shrink-0 overflow-hidden",panelHeader:"min-w-0 p-token-lg",panelTitle:"min-w-0 truncate text-sm font-semibold leading-none text-foreground",panelDescription:"mt-1 text-sm leading-5 text-foreground/75",panelBody:"min-w-0 px-token-lg pb-token-lg text-sm text-foreground",panelBodyStandalone:"pt-token-lg",panelFooter:"shrink-0 border-t border-border/60 px-token-lg py-token-md",stateRoot:a("flex min-h-48 flex-col items-center justify-center rounded-lg border border-border/70 bg-background px-6 py-10 text-center",M),stateIcon:"mb-token-lg flex h-12 w-12 items-center justify-center rounded-full bg-muted text-muted-foreground motion-safe:animate-in motion-safe:fade-in",stateTitle:"text-sm font-semibold text-foreground",stateDescription:"mt-2 max-w-md text-sm leading-6 text-muted-foreground",stateActions:"mt-token-xl flex flex-wrap items-center justify-center gap-token-sm",loadingSpinner:"h-5 w-5 motion-safe:animate-spin motion-reduce:animate-none",fieldRoot:"grid min-w-0 gap-token-md",fieldLabelRow:"flex min-w-0 items-center justify-between gap-token-md",fieldLabel:"min-w-0 text-sm font-medium leading-none text-foreground",fieldRequired:"text-destructive-text",fieldDescription:"text-sm leading-5 text-muted-foreground",fieldMessage:"text-sm leading-5 text-muted-foreground",fieldControl:"min-w-0",controlWrapper:a("relative flex min-w-0 items-center rounded-md border border-border bg-background text-foreground focus-within:border-primary/35",M),controlBase:"min-w-0 flex-1 bg-transparent px-3 text-sm text-foreground outline-hidden placeholder:text-muted-foreground disabled:!cursor-not-allowed",controlInput:"h-9",controlTextarea:"min-h-24 resize-y py-2 leading-6",controlSelect:"h-9 cursor-pointer appearance-none pr-9 disabled:!cursor-not-allowed",controlIcon:"pointer-events-none ml-3 inline-flex h-4 w-4 shrink-0 items-center justify-center text-muted-foreground",controlTrailing:"mr-3 inline-flex shrink-0 items-center justify-center text-muted-foreground",controlInvalid:"border-destructive/45 focus-within:border-destructive/60",controlDisabled:"!cursor-not-allowed opacity-60",controlReadOnly:"bg-muted/35",selectChevron:a("pointer-events-none absolute right-3 top-1/2 h-2 w-2 -translate-y-1/2 rotate-45 border-b border-r border-current text-muted-foreground",ye),selectMenu:"absolute left-0 right-0 top-[calc(100%+0.375rem)] z-50 max-h-60 overflow-auto rounded-md border border-border bg-background p-1 text-sm text-foreground shadow-lg outline-hidden",selectOption:a("flex min-h-8 w-full min-w-0 cursor-pointer items-center rounded-sm px-2.5 py-1.5 text-left text-sm text-foreground",K),selectOptionActive:"bg-accent text-accent-foreground",selectOptionSelected:"bg-primary/10 text-primary",selectOptionDisabled:"!cursor-not-allowed opacity-50",selectPlaceholder:"text-muted-foreground",selectNative:"sr-only",switchRoot:"inline-flex min-w-0 cursor-pointer items-start gap-3",switchInput:"sr-only",switchTrack:a("relative mt-0.5 inline-flex h-6 w-10 shrink-0 items-center rounded-full border border-border bg-muted focus-within:border-primary/35",M),switchThumb:a("h-4 w-4 translate-x-1 rounded-full bg-background shadow-sm",ye),switchChecked:"border-primary/40 bg-primary/80 text-primary-foreground",switchDisabled:"!cursor-not-allowed opacity-60",switchContent:"grid min-w-0 gap-1",switchLabel:"text-sm font-medium leading-none text-foreground",switchDescription:"text-sm leading-5 text-muted-foreground",checkboxRoot:"inline-flex min-w-0 cursor-pointer items-start gap-3",checkboxInput:"sr-only",checkboxBox:a("mt-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded border border-border bg-background text-primary focus-within:border-primary/40",M),checkboxBoxChecked:"border-primary/45 bg-primary text-primary-foreground",checkboxBoxInvalid:"border-destructive/50",checkboxIndicator:"text-xs font-bold leading-none",checkboxDisabled:"!cursor-not-allowed opacity-60",checkboxContent:"grid min-w-0 gap-1",checkboxLabel:"text-sm font-medium leading-none text-foreground",checkboxDescription:"text-sm leading-5 text-muted-foreground",radioGroupRoot:"grid min-w-0 gap-2",radioOption:a("inline-flex min-w-0 cursor-pointer items-start gap-3 rounded-md border border-border/60 bg-background px-3 py-2 text-sm",K,"hover:bg-muted/35"),radioInput:"sr-only",radioMarker:a("mt-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full border border-border bg-background text-primary focus-within:border-primary/40",M),radioMarkerChecked:"border-primary/50 bg-primary/10",radioIndicator:"h-2 w-2 rounded-full bg-primary",radioOptionDisabled:"!cursor-not-allowed opacity-60 hover:bg-background",radioContent:"grid min-w-0 gap-1",radioLabel:"text-sm font-medium leading-none text-foreground",radioDescription:"text-sm leading-5 text-muted-foreground",dialogRoot:"relative",dialogTrigger:"",dialogTriggerDisabled:"!cursor-not-allowed opacity-60",dialogOverlay:"fixed inset-0 z-50 bg-background/70 backdrop-blur-sm motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out",dialogContent:"pointer-events-none fixed inset-0 z-50 flex min-h-0 items-center justify-center p-4",dialogPanel:a("pointer-events-auto relative flex max-h-[min(85vh,720px)] w-full max-w-lg min-w-0 flex-col overflow-hidden rounded-lg border border-border/70 bg-background text-foreground shadow-xl","motion-safe:animate-in motion-safe:fade-in motion-safe:zoom-in-95 motion-safe:duration-300 motion-safe:ease-out"),dialogHeader:"grid min-w-0 gap-1 border-b border-border/60 px-5 py-4",dialogTitle:"min-w-0 pr-8 text-base font-semibold leading-6 text-foreground",dialogDescription:"text-sm leading-6 text-muted-foreground",dialogBody:"min-h-0 min-w-0 overflow-auto px-5 py-4 text-sm text-foreground",dialogFooter:"flex shrink-0 flex-wrap items-center justify-end gap-2 border-t border-border/60 px-5 py-4",dialogClose:a("absolute right-3 top-3 inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted/60 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30",K),dropdownRoot:"relative inline-flex min-w-0",dropdownTrigger:"",dropdownTriggerDisabled:"!cursor-not-allowed opacity-60",dropdownMenu:"z-50 min-w-48 overflow-hidden rounded-md border border-border bg-background p-1 text-sm text-foreground shadow-lg motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out",dropdownMenuTop:"bottom-[calc(100%+0.375rem)] top-auto",dropdownMenuEnd:"left-auto right-0",dropdownLabel:"px-2.5 py-1.5 text-xs font-semibold uppercase tracking-[0.12em] text-muted-foreground",dropdownSeparator:"my-1 h-px bg-border/70",dropdownItem:a("flex min-w-0 cursor-pointer items-center gap-2 rounded-sm px-2.5 py-2 text-left text-sm text-foreground hover:bg-accent/60 focus:bg-accent/60 data-[highlighted]:bg-accent/60 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30",K),dropdownItemDanger:"text-destructive-text hover:bg-destructive/10 focus:bg-destructive/10 data-[highlighted]:bg-destructive/10",dropdownItemDisabled:"!cursor-not-allowed opacity-50 hover:bg-transparent focus:bg-transparent data-[highlighted]:bg-transparent",dropdownItemIcon:"inline-flex h-4 w-4 shrink-0 items-center justify-center",dropdownItemContent:"grid min-w-0 flex-1 gap-0.5",dropdownItemLabel:"min-w-0 truncate",dropdownItemDescription:"min-w-0 truncate text-xs leading-4 text-muted-foreground",dropdownItemShortcut:"ml-3 shrink-0 text-xs font-medium text-muted-foreground",tooltipRoot:"relative inline-flex min-w-0",tooltipTrigger:"inline-flex min-w-0",tooltipContent:"pointer-events-none z-50 max-w-xs rounded-md border border-border bg-popover px-2.5 py-1.5 text-xs leading-5 text-popover-foreground shadow-lg motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out",noticeBase:a("flex min-w-0 gap-3 rounded-lg border px-4 py-3 text-sm",M,"motion-safe:animate-in motion-safe:fade-in"),noticeDefault:"border-border bg-background text-foreground",noticePrimary:"border-primary/25 bg-primary/10 text-primary",noticeSuccess:"border-[hsl(var(--success,142_72%_29%)_/_0.30)] bg-[hsl(var(--success,142_72%_29%)_/_0.10)] text-foreground",noticeWarning:"border-[hsl(var(--warning,45_93%_47%)_/_0.30)] bg-[hsl(var(--warning,45_93%_47%)_/_0.10)] text-[hsl(var(--warning-foreground,28_73%_26%))]",noticeDanger:"border-destructive/30 bg-destructive/10 text-destructive-text",noticeMuted:"border-border/60 bg-muted/35 text-muted-foreground",noticeIcon:"mt-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center motion-safe:animate-in motion-safe:fade-in",noticeTitle:"font-semibold leading-5",noticeDescription:"leading-6",noticeActions:"mt-3 flex flex-wrap items-center gap-2",dividerRoot:a("shrink-0 border-border/70",M),dividerLabel:"mx-3 shrink-0 text-xs font-medium uppercase tracking-[0.12em] text-muted-foreground motion-safe:animate-in motion-safe:fade-in",sectionHeaderRoot:"flex min-w-0 flex-wrap items-start justify-between gap-token-md motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out",sectionHeaderContent:"grid min-w-0 gap-1",sectionHeaderEyebrow:"text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground",sectionHeaderTitle:"text-base font-semibold leading-6 text-foreground",sectionHeaderDescription:"max-w-2xl text-sm leading-6 text-muted-foreground",sectionHeaderActions:"flex shrink-0 flex-wrap items-center gap-2",tabsRoot:"grid min-w-0 gap-token-md",tabsList:a("inline-flex min-w-0 flex-wrap items-center gap-token-xs rounded-lg border border-border/70 bg-muted/30 p-token-xs",M),tabsTrigger:a("inline-flex min-w-0 cursor-pointer items-center justify-center rounded-md px-3 py-1.5 text-sm font-medium text-muted-foreground hover:bg-background/70 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:ring-offset-1 motion-reduce:transition-none",K),tabsTriggerActive:"bg-background text-foreground shadow-sm",tabsTriggerDisabled:"!cursor-not-allowed opacity-50 hover:bg-transparent",tabsPanel:"min-w-0 rounded-lg border border-border/70 bg-background p-4 text-sm text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out motion-reduce:transition-none",segmentedRoot:a("inline-flex min-w-0 items-center gap-1 rounded-lg border border-border/70 bg-muted/30 p-1",M),segmentedItem:a("inline-flex min-w-0 cursor-pointer items-center justify-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium text-muted-foreground hover:bg-background/70 hover:text-foreground focus-visible:outline-hidden",K),segmentedItemActive:"bg-background text-foreground shadow-sm",segmentedItemDisabled:"!cursor-not-allowed opacity-50 hover:bg-transparent",progressRoot:"grid min-w-0 gap-2",progressTrack:"h-2 w-full overflow-hidden rounded-full bg-muted",progressIndicator:"h-full rounded-full bg-primary motion-safe:transition-[width] motion-safe:duration-500 motion-safe:ease-out",progressLabelRow:"flex min-w-0 items-center justify-between gap-3",progressLabel:"min-w-0 truncate text-sm font-medium text-foreground",progressValue:"shrink-0 text-xs font-medium text-muted-foreground",skeletonRoot:"relative overflow-hidden rounded-md bg-muted/70",avatarRoot:"relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full border border-border bg-muted text-sm font-semibold text-muted-foreground motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",avatarImage:"h-full w-full object-cover",avatarFallback:"flex h-full w-full items-center justify-center bg-muted text-foreground",avatarStatus:"absolute bottom-0 right-0 h-2.5 w-2.5 rounded-full border-2 border-background bg-muted-foreground motion-safe:animate-pulse",avatarText:"min-w-0 truncate text-sm font-medium text-foreground",toolbarRoot:a("flex min-w-0 flex-wrap items-center justify-between gap-token-md rounded-lg border border-border/70 bg-background px-token-lg py-token-md",M),toolbarLeading:"flex min-w-0 items-center gap-token-md",toolbarTitle:"min-w-0 truncate text-sm font-semibold text-foreground",toolbarDescription:"mt-0.5 text-sm leading-5 text-muted-foreground",toolbarContent:"min-w-0 flex-1",toolbarActions:"flex shrink-0 flex-wrap items-center gap-token-sm",breadcrumbRoot:"min-w-0 text-sm text-muted-foreground",breadcrumbList:"flex min-w-0 flex-wrap items-center gap-1.5",breadcrumbItem:"inline-flex min-w-0 items-center gap-1.5",breadcrumbLink:"min-w-0 cursor-pointer truncate text-muted-foreground hover:text-foreground disabled:!cursor-not-allowed disabled:opacity-50 aria-disabled:!cursor-not-allowed aria-disabled:opacity-50 aria-disabled:hover:text-muted-foreground motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",breadcrumbCurrent:"min-w-0 truncate font-medium text-foreground",breadcrumbSeparator:"shrink-0 text-muted-foreground/70",paginationRoot:"flex min-w-0 flex-wrap items-center justify-between gap-3 text-sm",paginationInfo:"min-w-0 text-muted-foreground",paginationControls:"flex min-w-0 flex-wrap items-center justify-end gap-1.5",paginationButton:"inline-flex h-8 min-w-8 cursor-pointer items-center justify-center whitespace-nowrap rounded-md border border-border bg-background px-2.5 text-sm font-medium text-foreground hover:bg-accent/60 disabled:!cursor-not-allowed disabled:opacity-50 motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",paginationButtonDisabled:"!cursor-not-allowed opacity-50",paginationPage:"inline-flex h-8 min-w-8 cursor-default items-center justify-center rounded-md bg-muted/50 px-2.5 text-sm font-medium text-foreground hover:bg-muted/50",paginationEllipsis:"inline-flex h-8 min-w-6 items-center justify-center px-1 text-sm text-muted-foreground",descriptionListRoot:"grid min-w-0 gap-3 text-sm",descriptionListItem:"grid min-w-0 gap-1 rounded-md border border-border/60 bg-background px-3 py-2 motion-safe:transition motion-safe:duration-300 motion-safe:ease-out hover:shadow-sm",descriptionListTerm:"min-w-0 truncate text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground",descriptionListValue:"min-w-0 text-sm leading-6 text-foreground",accordionRoot:"grid min-w-0 gap-2",accordionItem:"overflow-hidden rounded-lg border border-border/70 bg-background motion-safe:transition motion-safe:duration-300 motion-safe:ease-out motion-reduce:transition-none",accordionTrigger:"flex w-full min-w-0 cursor-pointer items-center justify-between gap-3 px-4 py-3 text-start text-sm font-medium text-foreground hover:bg-muted/40 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring disabled:!cursor-not-allowed disabled:opacity-50 motion-safe:transition motion-safe:duration-300 motion-safe:ease-out motion-reduce:transition-none",accordionTriggerIcon:a("h-2 w-2 shrink-0 rotate-45 border-b border-r border-current text-muted-foreground",ye,"motion-reduce:transition-none"),accordionPanel:"border-t border-border/60 px-4 py-3 text-sm leading-6 text-muted-foreground motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out motion-reduce:animate-none",menuTrigger:"inline-flex min-w-0",menuContent:"z-50 min-w-44 overflow-hidden rounded-md border border-border bg-background p-1 text-sm text-foreground shadow-lg outline-hidden motion-safe:animate-in motion-safe:fade-in motion-safe:zoom-in-95 motion-safe:duration-300 motion-safe:ease-out",menuLabel:"px-2 py-1.5 text-xs font-medium text-muted-foreground",menuSeparator:"-mx-1 my-1 h-px bg-border",menuItem:a("relative flex min-h-8 min-w-0 cursor-pointer select-none items-center gap-2 rounded-sm px-2.5 py-1.5 text-sm text-foreground outline-hidden focus:bg-accent focus:text-accent-foreground data-[disabled]:!cursor-not-allowed data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",K),menuItemDefault:"text-foreground",menuItemPrimary:"text-primary focus:text-primary data-[highlighted]:text-primary",menuItemSuccess:"text-[hsl(var(--success,142_72%_29%))] focus:text-[hsl(var(--success,142_72%_29%))] data-[highlighted]:text-[hsl(var(--success,142_72%_29%))]",menuItemWarning:"text-[hsl(var(--warning-foreground,28_73%_26%))] focus:text-[hsl(var(--warning-foreground,28_73%_26%))] data-[highlighted]:text-[hsl(var(--warning-foreground,28_73%_26%))]",menuItemDanger:"text-destructive-text focus:text-destructive-text data-[highlighted]:text-destructive-text",menuItemMuted:"text-muted-foreground focus:text-foreground data-[highlighted]:text-foreground",menuItemDisabled:"!cursor-not-allowed opacity-50 data-[disabled]:pointer-events-none",menuItemIcon:"inline-flex h-4 w-4 shrink-0 items-center justify-center",menuItemLabel:"min-w-0 flex-1 truncate",menuItemShortcut:"ml-4 shrink-0 text-xs font-medium text-muted-foreground",menuCheckboxIndicator:"absolute left-2 inline-flex h-4 w-4 items-center justify-center text-current",menuRadioIndicator:"absolute left-2 inline-flex h-4 w-4 items-center justify-center text-current",menuSubTrigger:a("relative flex min-h-8 min-w-0 cursor-pointer select-none items-center gap-2 rounded-sm px-2.5 py-1.5 text-sm text-foreground outline-hidden focus:bg-accent focus:text-accent-foreground data-[disabled]:!cursor-not-allowed data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",K),menuSubTriggerIcon:"ml-auto inline-flex h-4 w-4 shrink-0 items-center justify-center text-muted-foreground",menuSubContent:"z-50 min-w-40 overflow-hidden rounded-md border border-border bg-background p-1 text-sm text-foreground shadow-lg outline-hidden motion-safe:animate-in motion-safe:fade-in motion-safe:zoom-in-95 motion-safe:duration-300 motion-safe:ease-out",tableContainer:a("relative isolate min-w-0 overflow-auto rounded-lg border border-border/70 bg-background/95 bg-clip-padding [scrollbar-gutter:stable]","[--base-table-header-height:2.75rem] [--base-table-split-scrollbar-gutter:0.75rem]","[--base-table-sticky-header-bg:hsl(var(--background))] [--base-table-header-separator:hsl(var(--border)_/_0.7)]",st,M),tableContainerFooterAttached:"!rounded-b-none !shadow-none",tableRoot:"w-full caption-bottom border-separate border-spacing-0 text-sm text-foreground",tableCaption:"mt-3 text-sm text-muted-foreground",tableHeader:a("relative z-[2] bg-transparent [&_tr]:bg-transparent",so),tableBody:"[&_tr:last-child>*]:border-b-0",tableFooter:"bg-muted/30 font-medium [&_tr>*]:border-t [&_tr>*]:border-border/70",tableFooterBar:a("flex min-w-0 flex-wrap items-center justify-between gap-3 rounded-lg border border-border/70 bg-muted/20 px-4 py-3 text-sm text-foreground shadow-none",M),tableFooterBarAttached:"-mt-px rounded-t-none border-t border-border/70 shadow-none",tableFooterBarLeading:"flex min-w-0 items-center gap-2",tableFooterBarContent:"min-w-0 flex-1",tableFooterBarActions:"ms-auto flex shrink-0 flex-wrap items-center gap-2",tableSplitRoot:"grid w-full min-w-0 grid-cols-[minmax(0,1fr)] grid-rows-[auto_minmax(0,1fr)_auto] caption-bottom border-separate border-spacing-0 text-sm text-foreground",tableSplitHeader:"block w-full min-w-0 shrink-0 overflow-x-hidden overflow-y-hidden bg-transparent",tableSplitBody:a("block min-h-0 w-full min-w-0 max-w-full justify-self-stretch overflow-auto [scrollbar-gutter:stable]",st),tableSplitFooter:"block w-full min-w-0 shrink-0 overflow-x-hidden overflow-y-hidden",tableSplitRow:"grid w-max min-w-full [grid-template-columns:var(--base-table-column-template)]",tableSplitHead:"flex min-w-0 overflow-hidden",tableSplitCell:"block min-w-0 overflow-hidden [overflow-wrap:anywhere]",tableRow:a("[&>*]:border-b [&>*]:border-border/60 data-[state=selected]:bg-primary/5 data-[state=selected]:[&>*]:bg-primary/5",M),tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--muted)_/_0.35)] hover:bg-[var(--base-table-row-hover-bg)] hover:[&>td]:bg-[var(--base-table-row-hover-bg)] hover:[&>th]:bg-[var(--base-table-row-hover-bg)]",tableRowSelected:"bg-primary/5 [&>*]:bg-primary/5",tableRowDisabled:"!cursor-not-allowed opacity-60",tableHead:"relative h-11 whitespace-nowrap px-3 py-2 text-left align-middle text-xs font-semibold text-muted-foreground shadow-[inset_0_-1px_0_var(--base-table-header-separator)]",tableHeadContent:"flex min-w-0 items-center justify-between gap-2",tableHeadMain:"flex min-w-0 items-center gap-2",tableHeadIcon:"inline-flex h-4 w-4 shrink-0 items-center justify-center text-muted-foreground",tableHeadText:"grid min-w-0 gap-0.5",tableHeadLabel:"min-w-0 truncate text-xs font-semibold leading-4 text-foreground",tableHeadDescription:"min-w-0 truncate text-xs font-normal leading-4 text-muted-foreground",tableHeadMeta:"shrink-0 text-xs font-medium text-muted-foreground",tableHeadActions:"flex shrink-0 items-center gap-1",tableHeadSortButton:a("inline-flex min-w-0 cursor-pointer items-center gap-1 rounded-sm text-left focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 disabled:!cursor-not-allowed disabled:opacity-60",M),tableHeadSortIcon:a("inline-flex h-3 w-3 shrink-0 items-center justify-center text-muted-foreground",ye),tableHeadDragHandle:a("inline-flex h-5 w-4 shrink-0 cursor-grab items-center justify-center rounded-sm text-muted-foreground hover:bg-muted active:cursor-grabbing focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 disabled:!cursor-not-allowed disabled:opacity-50",M),tableHeadResizeHandle:a("absolute end-0 top-1/2 h-7 w-2 -translate-y-1/2 cursor-col-resize touch-none rounded-sm after:absolute after:start-1/2 after:top-1/2 after:h-5 after:w-px after:-translate-x-1/2 after:-translate-y-1/2 after:bg-border hover:after:bg-primary focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 disabled:!cursor-not-allowed disabled:opacity-50",M),tableCell:"min-w-0 px-3 py-2 align-middle text-sm text-foreground [overflow-wrap:anywhere]",tableCellAlignCenter:"text-center",tableCellAlignRight:"text-right",tableEmptyRow:"[&>*]:border-b [&>*]:border-border/60",tableEmptyCell:"px-4 py-10 text-center",tableEmptyContent:"mx-auto flex max-w-md flex-col items-center justify-center text-center",tableEmptyIcon:"mb-3 flex h-10 w-10 items-center justify-center rounded-full bg-muted text-muted-foreground",tableEmptyTitle:"text-sm font-semibold text-foreground",tableEmptyDescription:"mt-1 text-sm leading-6 text-muted-foreground",tableEmptyActions:"mt-4 flex flex-wrap items-center justify-center gap-2",tableLoadingRow:"[&>*]:border-b [&>*]:border-border/60",tableLoadingCell:"px-3 py-2",tableLoadingSkeleton:"h-4 w-full rounded-md bg-muted/70",layoutRoot:a("grid min-w-0 overflow-hidden grid-rows-[auto_minmax(0,1fr)_auto] gap-3 rounded-lg border border-border/70 bg-background p-3 text-foreground",M),layoutRootFull:"h-full min-h-0",layoutHeader:"min-w-0",layoutBody:"grid min-h-0 min-w-0 overflow-hidden gap-token-md",layoutSidebar:"min-h-0 min-w-0 overflow-hidden",layoutMain:"min-h-0 min-w-0 overflow-hidden",layoutAside:"min-h-0 min-w-0 overflow-hidden",layoutFooter:"min-w-0",layoutPane:a("h-full max-h-full min-h-0 min-w-0 overflow-hidden rounded-lg bg-background text-foreground",M),layoutPaneScrollable:"overflow-auto",layoutPaneBordered:"border border-border/70",layoutPaneMuted:"bg-muted/25",layoutPaneSoft:"bg-background/95 shadow-sm",layoutPaneTransparent:"bg-transparent shadow-none",layoutSplitRoot:"grid min-h-0 min-w-0 overflow-hidden",layoutSplitHorizontal:"grid-flow-col",layoutSplitVertical:"grid-flow-row",layoutSplitPane:"min-h-0 min-w-0 overflow-hidden",layoutSplitPrimary:"",layoutSplitSecondary:"",layoutResizeHandle:a("group/resize relative z-10 flex shrink-0 items-center justify-center bg-transparent text-muted-foreground hover:bg-border/60 active:bg-border/70 focus-visible:bg-border/60 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30",K),layoutResizeHandleHorizontal:"w-2 cursor-col-resize",layoutResizeHandleVertical:"h-2 cursor-row-resize",layoutResizeHandleDisabled:"cursor-default opacity-60",layoutResizeHandleIndicator:"rounded-full bg-muted-foreground/45 group-hover/resize:bg-primary/70"},io={compact:{buttonBase:"h-8 px-2.5 text-xs",buttonIconOnly:"h-8 w-8 px-0",badgeBase:"px-1.5 py-0 text-xs",panelHeader:"p-token-md",panelBody:"px-token-md pb-token-md text-xs",panelBodyStandalone:"pt-token-md",panelFooter:"px-token-md py-token-md",stateRoot:"min-h-36 px-4 py-7",stateIcon:"mb-3 h-10 w-10",fieldRoot:"gap-token-sm",fieldLabel:"text-xs",fieldDescription:"text-xs leading-5",fieldMessage:"text-xs leading-5",controlInput:"h-8 text-xs",controlTextarea:"min-h-20 text-xs",controlSelect:"h-8 text-xs",selectMenu:"text-xs",selectOption:"min-h-7 px-2 py-1 text-xs",switchTrack:"h-5 w-9",switchThumb:"h-3.5 w-3.5",checkboxBox:"h-3.5 w-3.5",checkboxLabel:"text-xs",checkboxDescription:"text-xs leading-5",radioOption:"px-2 py-1.5 text-xs",radioMarker:"h-3.5 w-3.5",radioIndicator:"h-1.5 w-1.5",radioLabel:"text-xs",radioDescription:"text-xs leading-5",dialogPanel:"max-w-md",dialogHeader:"px-4 py-3",dialogTitle:"text-sm leading-5",dialogDescription:"text-xs leading-5",dialogBody:"px-4 py-3 text-xs",dialogFooter:"px-4 py-3",dropdownMenu:"min-w-44 text-xs",dropdownItem:"px-2 py-1.5 text-xs",tooltipContent:"text-xs leading-4",noticeBase:"px-3 py-2 text-xs",dividerLabel:"text-xs",sectionHeaderRoot:"gap-token-sm",sectionHeaderTitle:"text-sm leading-5",sectionHeaderDescription:"text-xs leading-5",tabsList:"gap-token-xs p-token-xs",tabsTrigger:"px-2 py-1 text-xs",tabsPanel:"p-3 text-xs",segmentedRoot:"gap-token-xs p-token-xs",segmentedItem:"px-2 py-1 text-xs",progressTrack:"h-1.5",avatarRoot:"text-xs",toolbarRoot:"gap-token-sm px-token-md py-token-md",toolbarTitle:"text-xs",toolbarDescription:"text-xs leading-5",paginationButton:"h-7 min-w-7 px-2 text-xs",paginationPage:"h-7 min-w-7 px-2 text-xs",descriptionListRoot:"gap-2 text-xs",descriptionListItem:"px-2 py-1.5",descriptionListTerm:"text-xs",descriptionListValue:"text-xs leading-5",accordionTrigger:"px-3 py-2 text-xs",accordionPanel:"px-3 py-2 text-xs leading-5",menuContent:"min-w-40 p-0.5 text-xs",menuSubContent:"min-w-36 p-0.5 text-xs",menuLabel:"px-2 py-1 text-xs",menuItem:"min-h-7 px-2 py-1 text-xs",menuSubTrigger:"min-h-7 px-2 py-1 text-xs",menuItemShortcut:"text-xs",tableContainer:"[--base-table-header-height:2.25rem]",tableHead:"h-9 px-2 py-1.5 text-xs",tableCell:"px-2 py-1.5 text-xs",tableHeadLabel:"text-xs",tableHeadDescription:"text-xs leading-3",tableLoadingCell:"px-2 py-1.5",layoutRoot:"gap-token-md p-token-md",layoutBody:"gap-token-md",layoutPane:"rounded-md text-xs",layoutResizeHandleHorizontal:"w-1.5",layoutResizeHandleVertical:"h-1.5"},default:{buttonBase:"h-9"},comfortable:{buttonBase:"h-10 px-3.5",buttonIconOnly:"h-10 w-10 px-0",badgeBase:"px-2.5 py-1",panelHeader:"p-token-xl",panelBody:"px-token-xl pb-token-xl",panelBodyStandalone:"pt-token-xl",panelFooter:"px-token-xl py-token-lg",stateRoot:"min-h-56 px-8 py-12",stateIcon:"mb-5 h-14 w-14",fieldRoot:"gap-token-md",controlInput:"h-10",controlTextarea:"min-h-28",controlSelect:"h-10",selectMenu:"p-1.5",selectOption:"min-h-9 px-3 py-2",switchTrack:"h-7 w-12",switchThumb:"h-5 w-5",checkboxBox:"h-5 w-5",radioOption:"px-4 py-3",radioMarker:"h-5 w-5",radioIndicator:"h-2.5 w-2.5",dialogPanel:"max-w-xl",dialogHeader:"px-6 py-5",dialogBody:"px-6 py-5",dialogFooter:"px-6 py-5",dropdownMenu:"min-w-56",dropdownItem:"px-3 py-2.5",noticeBase:"px-5 py-4",sectionHeaderTitle:"text-lg leading-7",tabsTrigger:"px-3.5 py-2",tabsPanel:"p-5",segmentedItem:"px-3.5 py-2",progressTrack:"h-2.5",toolbarRoot:"px-token-xl py-token-lg",paginationButton:"h-9 min-w-9 px-3",paginationPage:"h-9 min-w-9 px-3",descriptionListItem:"px-4 py-3",accordionTrigger:"px-5 py-4",accordionPanel:"px-5 py-4",menuContent:"min-w-48 p-1.5",menuSubContent:"min-w-44 p-1.5",menuItem:"min-h-9 px-3 py-2",menuSubTrigger:"min-h-9 px-3 py-2",tableContainer:"[--base-table-header-height:3rem]",tableHead:"h-12 px-4 py-3",tableCell:"px-4 py-3",tableLoadingCell:"px-4 py-3",layoutRoot:"gap-token-lg p-token-lg",layoutBody:"gap-token-lg",layoutPane:"rounded-xl",layoutResizeHandleHorizontal:"w-2.5",layoutResizeHandleVertical:"h-2.5"}},lo={none:{buttonBase:"rounded-none",badgeBase:"rounded-none",panelRoot:"rounded-none",stateRoot:"rounded-none",stateIcon:"rounded-none",controlWrapper:"rounded-none",selectMenu:"rounded-none",selectOption:"rounded-none",switchTrack:"rounded-none",switchThumb:"rounded-none",checkboxBox:"rounded-none",radioOption:"rounded-none",dialogPanel:"rounded-none",dialogClose:"rounded-none",dropdownMenu:"rounded-none",dropdownItem:"rounded-none",tooltipContent:"rounded-none",noticeBase:"rounded-none",tabsList:"rounded-none",tabsTrigger:"rounded-none",tabsPanel:"rounded-none",segmentedRoot:"rounded-none",segmentedItem:"rounded-none",progressTrack:"rounded-none",progressIndicator:"rounded-none",skeletonRoot:"rounded-none",avatarRoot:"rounded-none",avatarStatus:"rounded-none",toolbarRoot:"rounded-none",paginationButton:"rounded-none",paginationPage:"rounded-none",descriptionListItem:"rounded-none",accordionItem:"rounded-none",menuContent:"rounded-none",menuItem:"rounded-none",menuSubTrigger:"rounded-none",menuSubContent:"rounded-none",tableContainer:"rounded-none",tableEmptyIcon:"rounded-none",tableLoadingSkeleton:"rounded-none",layoutRoot:"rounded-none",layoutPane:"rounded-none"},sm:{buttonBase:"rounded-sm",badgeBase:"rounded-sm",panelRoot:"rounded-sm",stateRoot:"rounded-sm",stateIcon:"rounded-sm",controlWrapper:"rounded-sm",selectMenu:"rounded-sm",selectOption:"rounded-sm",switchTrack:"rounded-sm",switchThumb:"rounded-sm",checkboxBox:"rounded-sm",radioOption:"rounded-sm",dialogPanel:"rounded-sm",dialogClose:"rounded-sm",dropdownMenu:"rounded-sm",dropdownItem:"rounded-sm",tooltipContent:"rounded-sm",noticeBase:"rounded-sm",tabsList:"rounded-sm",tabsTrigger:"rounded-sm",tabsPanel:"rounded-sm",segmentedRoot:"rounded-sm",segmentedItem:"rounded-sm",progressTrack:"rounded-sm",progressIndicator:"rounded-sm",skeletonRoot:"rounded-sm",avatarRoot:"rounded-sm",avatarStatus:"rounded-sm",toolbarRoot:"rounded-sm",paginationButton:"rounded-sm",paginationPage:"rounded-sm",descriptionListItem:"rounded-sm",accordionItem:"rounded-sm",menuContent:"rounded-sm",menuItem:"rounded-sm",menuSubTrigger:"rounded-sm",menuSubContent:"rounded-sm",tableContainer:"rounded-sm",tableEmptyIcon:"rounded-sm",tableLoadingSkeleton:"rounded-sm",layoutRoot:"rounded-sm",layoutPane:"rounded-sm"},md:{},lg:{buttonBase:"rounded-lg",badgeBase:"rounded-lg",panelRoot:"rounded-xl",stateRoot:"rounded-xl",stateIcon:"rounded-xl",controlWrapper:"rounded-lg",selectMenu:"rounded-lg",selectOption:"rounded-md",switchTrack:"rounded-full",switchThumb:"rounded-full",checkboxBox:"rounded-md",radioOption:"rounded-xl",dialogPanel:"rounded-xl",dialogClose:"rounded-lg",dropdownMenu:"rounded-lg",dropdownItem:"rounded-md",tooltipContent:"rounded-md",noticeBase:"rounded-xl",tabsList:"rounded-xl",tabsTrigger:"rounded-lg",tabsPanel:"rounded-xl",segmentedRoot:"rounded-xl",segmentedItem:"rounded-lg",skeletonRoot:"rounded-lg",toolbarRoot:"rounded-xl",descriptionListItem:"rounded-lg",accordionItem:"rounded-xl",menuContent:"rounded-lg",menuItem:"rounded-md",menuSubTrigger:"rounded-md",menuSubContent:"rounded-lg",tableContainer:"rounded-xl",tableEmptyIcon:"rounded-xl",tableLoadingSkeleton:"rounded-lg",layoutRoot:"rounded-xl",layoutPane:"rounded-xl"},xl:{buttonBase:"rounded-xl",badgeBase:"rounded-xl",panelRoot:"rounded-2xl",stateRoot:"rounded-2xl",stateIcon:"rounded-2xl",controlWrapper:"rounded-xl",selectMenu:"rounded-xl",selectOption:"rounded-lg",switchTrack:"rounded-full",switchThumb:"rounded-full",checkboxBox:"rounded-lg",radioOption:"rounded-2xl",dialogPanel:"rounded-2xl",dialogClose:"rounded-xl",dropdownMenu:"rounded-xl",dropdownItem:"rounded-lg",tooltipContent:"rounded-lg",noticeBase:"rounded-2xl",tabsList:"rounded-2xl",tabsTrigger:"rounded-xl",tabsPanel:"rounded-2xl",segmentedRoot:"rounded-2xl",segmentedItem:"rounded-xl",skeletonRoot:"rounded-xl",toolbarRoot:"rounded-2xl",paginationButton:"rounded-xl",paginationPage:"rounded-xl",descriptionListItem:"rounded-xl",accordionItem:"rounded-2xl",menuContent:"rounded-xl",menuItem:"rounded-lg",menuSubTrigger:"rounded-lg",menuSubContent:"rounded-xl",tableContainer:"rounded-2xl",tableEmptyIcon:"rounded-2xl",tableLoadingSkeleton:"rounded-xl",layoutRoot:"rounded-2xl",layoutPane:"rounded-2xl"},full:{buttonBase:"rounded-full",badgeBase:"rounded-full",panelRoot:"rounded-2xl",stateRoot:"rounded-2xl",stateIcon:"rounded-full",controlWrapper:"rounded-full",selectMenu:"rounded-2xl",selectOption:"rounded-full",switchTrack:"rounded-full",switchThumb:"rounded-full",checkboxBox:"rounded-full",radioOption:"rounded-2xl",dialogPanel:"rounded-2xl",dialogClose:"rounded-full",dropdownMenu:"rounded-2xl",dropdownItem:"rounded-full",tooltipContent:"rounded-full",noticeBase:"rounded-2xl",tabsList:"rounded-full",tabsTrigger:"rounded-full",tabsPanel:"rounded-2xl",segmentedRoot:"rounded-full",segmentedItem:"rounded-full",progressTrack:"rounded-full",progressIndicator:"rounded-full",skeletonRoot:"rounded-full",avatarRoot:"rounded-full",avatarStatus:"rounded-full",toolbarRoot:"rounded-2xl",paginationButton:"rounded-full",paginationPage:"rounded-full",descriptionListItem:"rounded-2xl",accordionItem:"rounded-2xl",menuContent:"rounded-2xl",menuItem:"rounded-full",menuSubTrigger:"rounded-full",menuSubContent:"rounded-2xl",tableContainer:"rounded-2xl",tableEmptyIcon:"rounded-full",tableLoadingSkeleton:"rounded-full",layoutRoot:"rounded-2xl",layoutPane:"rounded-2xl"}},uo={none:{buttonBase:"border-transparent",badgeBase:"border-transparent",panelRoot:"border-transparent",panelFooter:"border-transparent",stateRoot:"border-transparent",controlWrapper:"border-transparent",selectMenu:"border-transparent",switchTrack:"border-transparent",checkboxBox:"border-transparent",radioOption:"border-transparent",radioMarker:"border-transparent",dialogPanel:"border-transparent",dialogHeader:"border-transparent",dialogFooter:"border-transparent",dropdownMenu:"border-transparent",tooltipContent:"border-transparent",noticeBase:"border-transparent",dividerRoot:"border-transparent",tabsList:"border-transparent",tabsPanel:"border-transparent",segmentedRoot:"border-transparent",avatarRoot:"border-transparent",toolbarRoot:"border-transparent",paginationButton:"border-transparent",descriptionListItem:"border-transparent",accordionItem:"border-transparent",accordionPanel:"border-transparent",menuContent:"border-transparent",menuSeparator:"bg-transparent",menuSubContent:"border-transparent",tableContainer:"border-transparent [--base-table-header-separator:transparent]",tableHeader:"border-transparent",tableFooter:"[&_tr>*]:border-transparent",tableFooterBar:"border-transparent",tableFooterBarAttached:"border-t border-transparent",tableRow:"[&>*]:border-transparent",tableEmptyRow:"[&>*]:border-transparent",tableLoadingRow:"[&>*]:border-transparent",layoutRoot:"border-transparent",layoutPaneBordered:"border-transparent",layoutResizeHandle:"bg-transparent hover:bg-transparent active:bg-transparent focus-visible:bg-transparent"},subtle:{buttonDefault:"border-border/60",badgeDefault:"border-border/60",panelRoot:"border-border/60",panelFooter:"border-border/60",stateRoot:"border-border/60",controlWrapper:"border-border/60",selectMenu:"border-border/60",switchTrack:"border-border/60",checkboxBox:"border-border/60",radioOption:"border-border/60",radioMarker:"border-border/60",dialogPanel:"border-border/60",dialogHeader:"border-border/60",dialogFooter:"border-border/60",dropdownMenu:"border-border/60",tooltipContent:"border-border/60",noticeDefault:"border-border/60",dividerRoot:"border-border/60",tabsList:"border-border/60",tabsPanel:"border-border/60",segmentedRoot:"border-border/60",avatarRoot:"border-border/60",toolbarRoot:"border-border/60",paginationButton:"border-border/60",descriptionListItem:"border-border/60",accordionItem:"border-border/60",accordionPanel:"border-border/60",menuContent:"border-border/60",menuSeparator:"bg-border/60",menuSubContent:"border-border/60",tableContainer:"border-border/60 [--base-table-header-separator:hsl(var(--border)_/_0.6)]",tableHeader:"border-border/60",tableFooter:"[&_tr>*]:border-border/60",tableFooterBar:"border-border/60",tableFooterBarAttached:"border-t border-border/60",tableRow:"[&>*]:border-border/50",tableEmptyRow:"[&>*]:border-border/50",tableLoadingRow:"[&>*]:border-border/50",layoutRoot:"border-border/60",layoutPaneBordered:"border-border/60"},solid:{},strong:{buttonDefault:"border-foreground/20",badgeDefault:"border-foreground/20",panelRoot:"border-foreground/20",panelFooter:"border-foreground/20",stateRoot:"border-foreground/20",controlWrapper:"border-foreground/20",selectMenu:"border-foreground/20",switchTrack:"border-foreground/20",checkboxBox:"border-foreground/20",radioOption:"border-foreground/20",radioMarker:"border-foreground/20",dialogPanel:"border-foreground/20",dialogHeader:"border-foreground/15",dialogFooter:"border-foreground/15",dropdownMenu:"border-foreground/20",tooltipContent:"border-foreground/20",noticeDefault:"border-foreground/20",dividerRoot:"border-foreground/20",tabsList:"border-foreground/20",tabsPanel:"border-foreground/20",segmentedRoot:"border-foreground/20",avatarRoot:"border-foreground/20",toolbarRoot:"border-foreground/20",paginationButton:"border-foreground/20",descriptionListItem:"border-foreground/20",accordionItem:"border-foreground/20",accordionPanel:"border-foreground/20",menuContent:"border-foreground/20",menuSeparator:"bg-foreground/15",menuSubContent:"border-foreground/20",tableContainer:"border-foreground/20 [--base-table-header-separator:hsl(var(--foreground)_/_0.15)]",tableHeader:"border-foreground/20",tableFooter:"[&_tr>*]:border-foreground/20",tableFooterBar:"border-foreground/20",tableFooterBarAttached:"border-t border-foreground/20",tableRow:"[&>*]:border-foreground/15",tableEmptyRow:"[&>*]:border-foreground/15",tableLoadingRow:"[&>*]:border-foreground/15",layoutRoot:"border-foreground/20",layoutPaneBordered:"border-foreground/20",layoutResizeHandle:"hover:bg-foreground/15 active:bg-foreground/20 focus-visible:bg-foreground/15"}},co={plain:{},muted:{buttonDefault:"bg-muted/20 hover:bg-muted/45",panelRoot:"bg-card",panelFooter:"bg-muted/20",stateRoot:"bg-muted/20",controlWrapper:"bg-background",selectMenu:"bg-background",selectOptionActive:"bg-muted/70 text-foreground",checkboxBox:"bg-background",radioOption:"bg-card hover:bg-muted/45",radioMarker:"bg-background",dialogPanel:"bg-card",dropdownMenu:"bg-background",dropdownItem:"hover:bg-muted/60",tooltipContent:"bg-popover",noticeDefault:"bg-muted/20",tabsList:"bg-muted/35",tabsTriggerActive:"bg-background",tabsPanel:"bg-card",segmentedRoot:"bg-muted/35",segmentedItemActive:"bg-background",progressTrack:"bg-muted/60",skeletonRoot:"bg-muted",toolbarRoot:"bg-card",paginationButton:"bg-background hover:bg-muted/60",paginationPage:"bg-muted/60",descriptionListItem:"bg-card",accordionItem:"bg-card",menuContent:"bg-background",menuItem:"focus:bg-muted/70 data-[highlighted]:bg-muted/70",menuSubTrigger:"focus:bg-muted/70 data-[highlighted]:bg-muted/70 data-[state=open]:bg-muted/70",menuSubContent:"bg-background",tableContainer:"bg-background/95 [scrollbar-gutter:stable]",tableFooter:"bg-muted/35",tableFooterBar:"bg-muted/30 shadow-none",tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--muted)_/_0.45)]",tableLoadingSkeleton:"bg-muted",layoutRoot:"bg-card",layoutPane:"bg-card",layoutPaneMuted:"bg-muted/35",layoutResizeHandle:"hover:bg-border/70 active:bg-border/80 focus-visible:bg-border/70"},soft:{buttonDefault:"bg-muted/30 hover:bg-muted/55",panelRoot:"bg-background/95 shadow-sm",stateRoot:"bg-background/95 shadow-sm",controlWrapper:"bg-background/95",selectMenu:"bg-background/95 shadow-xl",selectOptionActive:"bg-muted/60 text-foreground",checkboxBox:"bg-background/95",radioOption:"bg-background/95 shadow-sm hover:bg-muted/35",radioMarker:"bg-background/95",dialogPanel:"bg-background/95 shadow-xl",dropdownMenu:"bg-background/95 shadow-xl",dropdownItem:"hover:bg-muted/55",tooltipContent:"bg-popover shadow-xl",noticeDefault:"bg-background/95 shadow-sm",tabsList:"bg-background/60 shadow-sm",tabsTriggerActive:"bg-background",tabsPanel:"bg-background/95 shadow-sm",segmentedRoot:"bg-background/60 shadow-sm",segmentedItemActive:"bg-background",skeletonRoot:"bg-background/80",toolbarRoot:"bg-background/95 shadow-sm",paginationButton:"bg-background/95 hover:bg-muted/55",descriptionListItem:"bg-background/95 shadow-sm",accordionItem:"bg-background/95 shadow-sm",menuContent:"bg-background/95 shadow-xl",menuItem:"focus:bg-muted/60 data-[highlighted]:bg-muted/60",menuSubTrigger:"focus:bg-muted/60 data-[highlighted]:bg-muted/60 data-[state=open]:bg-muted/60",menuSubContent:"bg-background/95 shadow-xl",tableContainer:"bg-background/95 shadow-sm [scrollbar-gutter:stable]",tableFooter:"bg-muted/25",tableFooterBar:"bg-muted/25 shadow-none",tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--muted)_/_0.35)]",tableLoadingSkeleton:"bg-muted/65",layoutRoot:"bg-background/95 shadow-sm",layoutPane:"bg-background/95 shadow-sm",layoutPaneSoft:"bg-background/95 shadow-md"},glass:{buttonBase:"backdrop-blur-md",buttonDefault:"border-white/10 bg-white/[0.08] text-foreground hover:bg-white/[0.14]",badgeDefault:"border-white/10 bg-white/[0.08] text-foreground",panelRoot:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",panelFooter:"border-white/10 bg-white/[0.05]",stateRoot:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",stateIcon:"bg-white/10 text-foreground",controlWrapper:"border-white/10 bg-white/[0.08] text-foreground backdrop-blur-md",selectMenu:"border-foreground/10 bg-background/10 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",selectOption:"text-foreground",selectOptionActive:"bg-white/[0.14] text-foreground",selectOptionSelected:"bg-white/[0.18] text-foreground",switchTrack:"border-white/10 bg-white/[0.12] backdrop-blur-md",checkboxBox:"border-white/10 bg-white/[0.08] backdrop-blur-md",checkboxBoxChecked:"border-white/20 bg-white/[0.22] text-foreground",radioOption:"border-white/10 bg-white/[0.06] backdrop-blur-md hover:bg-white/[0.10]",radioMarker:"border-white/10 bg-white/[0.08] backdrop-blur-md",radioMarkerChecked:"border-white/25 bg-white/[0.16]",dialogOverlay:"bg-background/45 backdrop-blur-md",dialogPanel:"border-white/10 bg-white/[0.08] shadow-2xl backdrop-blur-md",dialogHeader:"border-white/10",dialogFooter:"border-white/10",dropdownMenu:"border-foreground/10 bg-background/10 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",dropdownItem:"text-foreground hover:bg-white/[0.14]",tooltipContent:"border-foreground/10 bg-background/15 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",noticeDefault:"border-white/10 bg-white/[0.08] text-foreground backdrop-blur-md",dividerRoot:"border-white/15",tabsList:"border-white/10 bg-white/[0.08] backdrop-blur-md",tabsTrigger:"text-muted-foreground hover:bg-white/[0.12] hover:text-foreground",tabsTriggerActive:"bg-white/[0.16] text-foreground shadow-none",tabsPanel:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",segmentedRoot:"border-white/10 bg-white/[0.08] backdrop-blur-md",segmentedItem:"text-muted-foreground hover:bg-white/[0.12] hover:text-foreground",segmentedItemActive:"bg-white/[0.16] text-foreground shadow-none",progressTrack:"bg-white/[0.12]",skeletonRoot:"bg-white/[0.16]",avatarRoot:"border-white/10 bg-white/[0.12] text-foreground",avatarFallback:"bg-white/[0.12] text-foreground",avatarStatus:"border-background",toolbarRoot:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",paginationButton:"border-white/10 bg-white/[0.08] text-foreground hover:bg-white/[0.14]",paginationPage:"bg-white/[0.12] text-foreground",descriptionListItem:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",accordionItem:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",accordionPanel:"border-white/10",menuContent:"border-foreground/10 bg-background/10 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",menuSeparator:"bg-white/10",menuItem:"text-foreground focus:bg-white/[0.14] focus:text-foreground data-[highlighted]:bg-white/[0.14] data-[highlighted]:text-foreground",menuSubTrigger:"text-foreground focus:bg-white/[0.14] focus:text-foreground data-[highlighted]:bg-white/[0.14] data-[highlighted]:text-foreground data-[state=open]:bg-white/[0.16]",menuSubContent:"border-foreground/10 bg-background/10 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",tableContainer:"border-foreground/10 bg-background/[0.06] shadow-none backdrop-blur-md [scrollbar-gutter:stable] [--base-table-sticky-header-bg:hsl(var(--background)/0.94)] [--base-table-header-separator:hsl(var(--foreground)/0.24)]",tableHeader:"border-white/10",tableFooter:"bg-white/[0.05] [&_tr>*]:border-white/10",tableFooterBar:"border-white/10 bg-white/[0.05] shadow-none backdrop-blur-md",tableFooterBarAttached:"border-t border-white/10",tableRow:"[&>*]:border-white/10",tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--foreground)/0.08)]",tableHeadLabel:"text-foreground",tableLoadingSkeleton:"bg-white/[0.16]",layoutRoot:"border-white/10 bg-white/[0.05] shadow-none backdrop-blur-md",layoutPane:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",layoutPaneMuted:"bg-white/[0.08]",layoutPaneSoft:"bg-white/[0.10] shadow-none backdrop-blur-md",layoutResizeHandle:"text-foreground/65 hover:bg-white/10 active:bg-white/15 focus-visible:bg-white/10",layoutResizeHandleIndicator:"bg-white/45 group-hover/resize:bg-white/75"},dark:{buttonBase:"border-white/15 text-white shadow-lg backdrop-blur",buttonDefault:"bg-black/30 hover:bg-black/[0.45]",buttonPrimary:"border-white/25 bg-white/20 text-white hover:bg-white/25",buttonMuted:"border-white/10 bg-black/20 text-white/70 hover:bg-black/[0.35] hover:text-white",badgeDefault:"border-white/10 bg-white/[0.08] text-white",badgeMuted:"border-white/10 bg-black/20 text-white/70",panelRoot:"border-white/10 bg-slate-950 text-white shadow-none",panelTitle:"text-white",panelDescription:"text-white/65",panelBody:"text-white/85",panelFooter:"border-white/10 bg-white/[0.04]",stateRoot:"border-white/10 bg-slate-950 text-white shadow-none",stateIcon:"bg-white/10 text-white/75",stateTitle:"text-white",stateDescription:"text-white/65",fieldLabel:"text-white",fieldDescription:"text-white/65",fieldMessage:"text-white/65",controlWrapper:"border-white/15 bg-black/30 text-white shadow-lg backdrop-blur focus-within:border-white/35",controlBase:"text-white placeholder:text-white/45",selectChevron:"text-white/65",selectMenu:"border-white/15 bg-slate-950 text-white shadow-2xl",selectOption:"text-white",selectOptionActive:"bg-white/[0.12] text-white",selectOptionSelected:"bg-white/[0.16] text-white",selectPlaceholder:"text-white/45",switchTrack:"border-white/15 bg-black/30 shadow-lg backdrop-blur",switchChecked:"border-white/25 bg-white/25 text-white",switchLabel:"text-white",switchDescription:"text-white/65",checkboxBox:"border-white/15 bg-black/30 text-white shadow-lg backdrop-blur",checkboxBoxChecked:"border-white/25 bg-white/25 text-white",checkboxLabel:"text-white",checkboxDescription:"text-white/65",radioOption:"border-white/10 bg-white/[0.06] text-white hover:bg-white/[0.08]",radioMarker:"border-white/15 bg-black/30 text-white shadow-lg backdrop-blur",radioMarkerChecked:"border-white/25 bg-white/25",radioIndicator:"bg-white",radioLabel:"text-white",radioDescription:"text-white/65",dialogOverlay:"bg-slate-950/75",dialogPanel:"border-white/10 bg-slate-950 text-white shadow-2xl",dialogHeader:"border-white/10",dialogTitle:"text-white",dialogDescription:"text-white/65",dialogBody:"text-white/85",dialogFooter:"border-white/10",dialogClose:"text-white/65 hover:bg-white/[0.08] hover:text-white",dropdownMenu:"border-white/15 bg-slate-950 text-white shadow-2xl",dropdownLabel:"text-white/55",dropdownSeparator:"bg-white/15",dropdownItem:"text-white hover:bg-white/[0.10]",dropdownItemDescription:"text-white/55",dropdownItemShortcut:"text-white/55",tooltipContent:"border-white/15 bg-slate-950 text-white shadow-2xl",noticeDefault:"border-white/10 bg-white/[0.08] text-white",noticeMuted:"border-white/10 bg-black/20 text-white/70",dividerRoot:"border-white/15",dividerLabel:"text-white/55",sectionHeaderEyebrow:"text-white/55",sectionHeaderTitle:"text-white",sectionHeaderDescription:"text-white/65",tabsList:"border-white/10 bg-white/[0.08]",tabsTrigger:"text-white/65 hover:bg-white/[0.12] hover:text-white",tabsTriggerActive:"bg-white/[0.16] text-white shadow-none",tabsPanel:"border-white/10 bg-white/[0.06] text-white",segmentedRoot:"border-white/10 bg-white/[0.08]",segmentedItem:"text-white/65 hover:bg-white/[0.12] hover:text-white",segmentedItemActive:"bg-white/[0.16] text-white shadow-none",progressTrack:"bg-white/[0.12]",progressLabel:"text-white",progressValue:"text-white/65",skeletonRoot:"bg-white/[0.14]",avatarRoot:"border-white/15 bg-white/[0.10] text-white",avatarFallback:"bg-white/[0.10] text-white/75",avatarText:"text-white",avatarStatus:"border-slate-950",toolbarRoot:"border-white/10 bg-white/[0.06] text-white",toolbarTitle:"text-white",toolbarDescription:"text-white/65",breadcrumbLink:"text-white/65 hover:text-white",breadcrumbCurrent:"text-white",breadcrumbSeparator:"text-white/45",paginationInfo:"text-white/65",paginationButton:"border-white/10 bg-white/[0.08] text-white hover:bg-white/[0.14]",paginationPage:"bg-white/[0.14] text-white",descriptionListItem:"border-white/10 bg-white/[0.06]",descriptionListTerm:"text-white/55",descriptionListValue:"text-white",accordionItem:"border-white/10 bg-white/[0.06]",accordionTrigger:"text-white hover:bg-white/[0.08]",accordionPanel:"border-white/10 text-white/70",tableContainer:"border-foreground/10 bg-background text-foreground shadow-none [scrollbar-gutter:stable] [--base-table-sticky-header-bg:hsl(var(--background)/0.98)] [--base-table-header-separator:hsl(var(--foreground)/0.16)]",tableRoot:"text-white",tableHeader:"border-white/10",tableFooter:"bg-white/[0.05] [&_tr>*]:border-white/10",tableFooterBar:"border-white/10 bg-white/[0.05] text-white/65",tableFooterBarAttached:"border-t border-white/10",tableRow:"[&>*]:border-white/10",tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--foreground)/0.06)]",tableHead:"text-white/65",tableHeadLabel:"text-white",tableHeadDescription:"text-white/55",tableHeadMeta:"text-white/55",tableHeadIcon:"text-white/55",tableHeadSortIcon:"text-white/55",tableHeadDragHandle:"text-white/55 hover:bg-white/[0.08]",tableHeadResizeHandle:"after:bg-white/20 hover:after:bg-white/60",tableCell:"text-white/85",tableEmptyIcon:"bg-white/10 text-white/65",tableEmptyTitle:"text-white",tableEmptyDescription:"text-white/60",menuContent:"border-white/10 bg-slate-950 text-white shadow-2xl",menuLabel:"text-white/55",menuSeparator:"bg-white/10",menuItem:"text-white focus:bg-white/[0.10] focus:text-white data-[highlighted]:bg-white/[0.10] data-[highlighted]:text-white",menuItemDefault:"text-white",menuItemPrimary:"text-primary focus:text-primary data-[highlighted]:text-primary",menuItemSuccess:"text-[hsl(var(--success,142_69%_58%))] focus:text-[hsl(var(--success,142_69%_58%))] data-[highlighted]:text-[hsl(var(--success,142_69%_58%))]",menuItemWarning:"text-[hsl(var(--warning-foreground,53_98%_77%))] focus:text-[hsl(var(--warning-foreground,53_98%_77%))] data-[highlighted]:text-[hsl(var(--warning-foreground,53_98%_77%))]",menuItemDanger:"text-destructive-text focus:text-destructive-text data-[highlighted]:text-destructive-text",menuItemMuted:"text-white/65 focus:text-white data-[highlighted]:text-white",menuItemShortcut:"text-white/45",menuSubTrigger:"text-white focus:bg-white/[0.10] focus:text-white data-[highlighted]:bg-white/[0.10] data-[highlighted]:text-white data-[state=open]:bg-white/[0.12]",menuSubTriggerIcon:"text-white/55",menuSubContent:"border-white/10 bg-slate-950 text-white shadow-2xl",tableLoadingSkeleton:"bg-white/[0.14]",layoutRoot:"border-white/10 bg-slate-950 text-white shadow-none",layoutPane:"border-white/10 bg-slate-950 text-white shadow-none",layoutPaneMuted:"bg-white/[0.06]",layoutPaneSoft:"bg-white/[0.08] shadow-none",layoutResizeHandle:"text-white/65 hover:bg-white/10 active:bg-white/15 focus-visible:bg-white/10",layoutResizeHandleIndicator:"bg-white/45 group-hover/resize:bg-white/75"}},it={default:{density:"default",radius:"md",border:"solid",background:"plain"},soft:{density:"default",radius:"lg",border:"subtle",background:"soft"},compact:{density:"compact",radius:"md",border:"subtle",background:"muted"},"tinted-glass":{density:"default",radius:"lg",border:"subtle",background:"glass"},glass:{density:"default",radius:"xl",border:"subtle",background:"glass"},"hard-edge":{density:"compact",radius:"none",border:"strong",background:"plain"}},mo={soft:{buttonBase:"font-medium",panelRoot:"border-border/70",controlWrapper:"font-medium",tabsTrigger:"font-medium",segmentedItem:"font-medium",toolbarRoot:"border-border/70",tableContainer:"border-border/70",tableFooterBar:"border-border/70",tableHeadLabel:"font-semibold",menuItemLabel:"font-medium"},compact:{buttonBase:"text-xs",badgeBase:"text-xs",fieldLabel:"text-xs",controlBase:"text-xs",selectOption:"text-xs",menuItem:"text-xs",menuSubTrigger:"text-xs",noticeBase:"text-xs",sectionHeaderTitle:"text-sm",tabsTrigger:"text-xs",segmentedItem:"text-xs",toolbarTitle:"text-xs",paginationRoot:"text-xs"},"tinted-glass":{buttonPrimary:"border-primary/25 bg-primary/15 text-primary-foreground hover:bg-primary/20",badgePrimary:"border-primary/25 bg-primary/15 text-primary-foreground",noticePrimary:"border-primary/25 bg-primary/15 text-primary-foreground",progressIndicator:"bg-primary",avatarStatus:"border-background"},glass:{panelRoot:"shadow-[0_24px_80px_hsl(var(--foreground)/0.12)]",stateRoot:"shadow-[0_24px_80px_hsl(var(--foreground)/0.12)]",noticeBase:"shadow-[0_18px_60px_hsl(var(--foreground)/0.10)]",tabsPanel:"shadow-[0_18px_60px_hsl(var(--foreground)/0.10)]",toolbarRoot:"shadow-[0_18px_60px_hsl(var(--foreground)/0.10)]",descriptionListItem:"shadow-[0_12px_40px_hsl(var(--foreground)/0.08)]",accordionItem:"shadow-[0_12px_40px_hsl(var(--foreground)/0.08)]"},"hard-edge":{buttonBase:"shadow-none",panelRoot:"shadow-none",stateRoot:"shadow-none",controlWrapper:"shadow-none",selectMenu:"shadow-none",menuContent:"shadow-none",menuSubContent:"shadow-none",noticeBase:"shadow-none",tabsList:"shadow-none",tabsTriggerActive:"shadow-none",tabsPanel:"shadow-none",segmentedRoot:"shadow-none",segmentedItemActive:"shadow-none",toolbarRoot:"shadow-none",descriptionListItem:"shadow-none",accordionItem:"shadow-none"}};function go(e){return it[e]??it.default}o(go,"getPresetDefaults");var po=Object.keys(dt),bo=at(po,a);function fo(...e){return Object.assign({},...e.filter(Boolean))}o(fo,"mergeStyles");function lt(e){let t=e?.preset??"default",r=e?.variant??"default",n=go(t),s=e?.density??n.density??"default",l=e?.state??"idle",u=e?.radius??n.radius??"md",m=e?.border??n.border??"solid",R=e?.background??n.background??"plain";return {preset:t,variant:r,density:s,state:l,radius:u,border:m,background:R,styles:fo(ao,e?.styles),slots:bo(dt,mo[t],io[s],lo[u],uo[m],co[R],e?.slots)}}o(lt,"resolveBaseAppearance");function ut(e,t="default",r=false){return a(t==="default"&&e.slots.buttonDefault,t==="primary"&&e.slots.buttonPrimary,t==="success"&&e.slots.buttonSuccess,t==="warning"&&e.slots.buttonWarning,t==="danger"&&e.slots.buttonDanger,t==="muted"&&e.slots.buttonMuted,r&&e.slots.buttonActive)}o(ut,"getBaseButtonToneClassName");var wo=["default","primary","success","warning","danger","muted"];function Z(e,t){if(typeof e!="boolean")throw new TypeError(`BaseDialog ${t} must be a boolean.`)}o(Z,"validateBoolean");function vo(e){if(!wo.includes(e))throw new TypeError('BaseDialog triggerTone must be "default", "primary", "success", "warning", "danger", or "muted".')}o(vo,"validateTriggerTone");function ko({trigger:e,triggerLabel:t,triggerIcon:r,triggerTone:n,triggerDisabled:s,theme:l}){return oe(e)?jsxRuntime.jsx("span",{role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,onKeyDown:u=>{s||(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),u.currentTarget.click());},children:e}):oe(t)?jsxRuntime.jsxs("button",{type:"button",disabled:s,"aria-label":typeof t=="string"&&t.trim()?t:void 0,className:a(l.slots.buttonBase,ut(l,n),s&&l.slots.buttonDisabled),style:{...l.styles.button,...s?l.styles.buttonDisabled:void 0},children:[oe(r)?jsxRuntime.jsx("span",{"data-slot":"icon",className:l.slots.buttonIcon,children:r}):null,jsxRuntime.jsx("span",{"data-slot":"label",className:l.slots.buttonLabel,children:t})]}):null}o(ko,"renderTrigger");var mt=react.forwardRef(o(function({open:t,defaultOpen:r=false,size:n="default",title:s,description:l,header:u,footer:m,trigger:R,triggerLabel:E,triggerIcon:P,triggerTone:y="default",triggerDisabled:b=false,closeLabel:h,closeOnEscape:W=true,closeOnOverlayClick:D=true,showCloseButton:z=true,keepMounted:w=false,trapFocus:B=true,restoreFocus:U=true,initialFocus:v="first-interactive",initialFocusRef:d,zIndex:c,portal:g=false,appearance:k,className:ne,classNames:f,style:O,children:i,onOpenChange:$,id:C,...A},j){if(t!==void 0&&Z(t,"open"),Z(r,"defaultOpen"),!["default","viewport","page"].includes(n))throw new TypeError("BaseDialog size must be default, viewport or page.");if(Z(b,"triggerDisabled"),Z(W,"closeOnEscape"),Z(D,"closeOnOverlayClick"),Z(z,"showCloseButton"),Z(w,"keepMounted"),Z(B,"trapFocus"),Z(U,"restoreFocus"),Z(g,"portal"),vo(y),v!=="first-interactive"&&v!=="container"&&v!=="explicit")throw new TypeError('BaseDialog initialFocus must be "first-interactive", "container", or "explicit".');if(c!==void 0&&!Number.isFinite(c))throw new TypeError("BaseDialog zIndex must be a finite number.");let I=Ye().dialog,H=Xe(k),x=ot(),Y=h===void 0?I.close:h,T=lt(H),F=nt({disabled:!g}),[V,Q]=react.useState(r),G=react.useRef(null),X=react.useRef(null),le=t!==void 0,N=le?t:V,p=g&&F.shouldPortal?"portaled":"inline",ee=oe(s),ae=oe(l),te=oe(u);if(z&&(typeof Y!="string"||!Y.trim()))throw new TypeError("BaseDialog closeLabel must be a non-empty string when showCloseButton is true.");let ue=o(S=>{le||Q(S),$?.(S);},"handleOpenChange");react.useEffect(()=>{if(!N||!w)return;let S=G.current,q=S?.ownerDocument,de=q?.defaultView;if(!S||!q||!de)return;X.current=q.activeElement instanceof de.HTMLElement?q.activeElement:null;let He=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),$t=o(()=>{let J=S.querySelector(He);(v==="container"?S:v==="explicit"?d?.current??S:J??S).focus();},"focusInitial"),jt=de.requestAnimationFrame($t),_e=o(J=>{if(J.key==="Escape"&&W){J.preventDefault(),J.stopPropagation(),ue(false);return}if(J.key!=="Tab"||!B)return;let ce=Array.from(S.querySelectorAll(He));if(ce.length===0){J.preventDefault(),S.focus();return}let ze=ce[0],$e=ce[ce.length-1];J.shiftKey&&q.activeElement===ze?(J.preventDefault(),$e.focus()):!J.shiftKey&&q.activeElement===$e&&(J.preventDefault(),ze.focus());},"handleKeyDown");return de.addEventListener("keydown",_e),()=>{de.cancelAnimationFrame(jt),de.removeEventListener("keydown",_e),U&&X.current?.isConnected&&X.current.focus();}},[W,v,d,N,w,U,B]);let zt=te||ee||ae?jsxRuntime.jsxs("div",{...x,"data-monkeys-component":"dialog","data-slot":"header","data-state":N?"open":"closed","data-portal":p,className:a(T.slots.dialogHeader,f?.header,n==="page"&&"sr-only"),children:[te?u:null,ee?jsxRuntime.jsx(___namespace.Title,{...x,"data-monkeys-component":"dialog","data-slot":"title","data-state":N?"open":"closed","data-portal":p,className:te?"sr-only":a(T.slots.dialogTitle,f?.title),children:s}):null,ae?jsxRuntime.jsx(___namespace.Description,{...x,"data-monkeys-component":"dialog","data-slot":"description","data-state":N?"open":"closed","data-portal":p,className:te?"sr-only":a(T.slots.dialogDescription,f?.description),children:l}):null]}):null,Oe=ko({trigger:R,triggerLabel:E,triggerIcon:P,triggerTone:y,triggerDisabled:b,theme:T}),Ae=N||w?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(___namespace.Overlay,{forceMount:w||void 0,hidden:!N,...x,"aria-hidden":"true","data-monkeys-component":"dialog","data-slot":"overlay","data-portal":p,className:a(T.slots.dialogOverlay,f?.overlay),style:{...T.styles.dialogOverlay,zIndex:c,...n==="page"?{background:"transparent",backdropFilter:"none"}:{}}}),jsxRuntime.jsx("div",{...x,hidden:!N,"data-monkeys-component":"dialog","data-slot":"content","data-state":N?"open":"closed","data-portal":p,className:a(T.slots.dialogContent,f?.content),style:{zIndex:c,...n==="page"?{padding:0,inset:0}:{}},children:jsxRuntime.jsx(___namespace.Content,{forceMount:w||void 0,...x,...ee?{}:{"aria-labelledby":void 0},...ae?{}:{"aria-describedby":void 0},asChild:true,onOpenAutoFocus:S=>{if(w){S.preventDefault();return}let q=G.current;X.current=q?.ownerDocument.activeElement,(v==="container"||v==="explicit")&&(S.preventDefault(),(v==="explicit"?d?.current??q:q)?.focus({preventScroll:true}));},onCloseAutoFocus:S=>{if(w||!U){S.preventDefault();return}let q=X.current;q?.isConnected&&(S.preventDefault(),q.focus({preventScroll:true}));},onEscapeKeyDown:S=>{(w||!W)&&S.preventDefault();},onPointerDownOutside:S=>{D||S.preventDefault();},children:jsxRuntime.jsxs("div",{...x,ref:G,tabIndex:-1,"aria-modal":"true","data-monkeys-component":"dialog","data-slot":"panel","data-portal":p,className:a(T.slots.dialogPanel,f?.panel),"data-presentation":n,style:{...T.styles.dialogPanel,...n!=="default"?{width:n==="page"?"100vw":"96vw",maxWidth:"none",height:n==="page"?"100dvh":"94dvh",maxHeight:n==="page"?"100dvh":"94dvh",display:"flex",flexDirection:"column"}:{},...n==="page"?{borderRadius:0,border:0,boxShadow:"none",margin:0,animation:"none"}:{}},children:[zt,z?jsxRuntime.jsx(___namespace.Close,{asChild:true,children:jsxRuntime.jsx("button",{...x,type:"button","aria-label":Y,title:Y,"data-monkeys-component":"dialog","data-slot":"close","data-state":N?"open":"closed","data-portal":p,className:a(T.slots.dialogClose,f?.close),children:"\xD7"})}):null,jsxRuntime.jsx("div",{...x,"data-monkeys-component":"dialog","data-slot":"body","data-state":N?"open":"closed","data-portal":p,className:a(T.slots.dialogBody,f?.body),style:n!=="default"?{minHeight:0,flex:"1 1 0%",overflow:"hidden",padding:0}:void 0,children:i}),oe(m)?jsxRuntime.jsx("div",{...x,"data-monkeys-component":"dialog","data-slot":"footer","data-state":N?"open":"closed","data-portal":p,className:a(T.slots.dialogFooter,f?.footer),children:m}):null]})})})]}):null;return jsxRuntime.jsx("div",{...x,...A,ref:j,id:C,"data-monkeys-component":"dialog","data-slot":"root","data-state":N?"open":"closed","data-portal":p,className:a(T.slots.dialogRoot,f?.root,ne),style:O,children:jsxRuntime.jsxs(___namespace.Root,{open:N,onOpenChange:ue,modal:!w&&B,children:[Oe?jsxRuntime.jsx(___namespace.Trigger,{...x,asChild:true,disabled:b,"data-monkeys-component":"dialog","data-slot":"trigger","data-portal":p,"data-tone":y,"data-disabled":b||void 0,className:a(T.slots.dialogTrigger,b&&T.slots.dialogTriggerDisabled,f?.trigger),children:Oe}):null,g&&F.shouldPortal?jsxRuntime.jsx(se,{children:jsxRuntime.jsx(___namespace.Portal,{...F.radixPortalProps,forceMount:w||void 0,children:Ae})}):jsxRuntime.jsx(se,{children:Ae})]})})},"BaseDialog"));function gt(e,t){let r=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[^a-zA-Z0-9]+/g,"-").replace(/^-+|-+$/g,"").toLowerCase();return `--${t}-${r}`}o(gt,"toCssVariableName");var To={"semantic.color.background":"--background","semantic.color.foreground":"--foreground","semantic.color.card":"--card","semantic.color.card-foreground":"--card-foreground","semantic.color.popover":"--popover","semantic.color.popover-foreground":"--popover-foreground","semantic.color.primary":"--primary","semantic.color.primary-foreground":"--primary-foreground","semantic.color.secondary":"--secondary","semantic.color.secondary-foreground":"--secondary-foreground","semantic.color.muted":"--muted","semantic.color.muted-foreground":"--muted-foreground","semantic.color.accent":"--accent","semantic.color.accent-foreground":"--accent-foreground","semantic.color.destructive":"--destructive","semantic.color.destructive-foreground":"--destructive-foreground","semantic.color.success":"--success","semantic.color.success-foreground":"--success-foreground","semantic.color.warning":"--warning","semantic.color.warning-foreground":"--warning-foreground","semantic.color.border":"--border","semantic.color.input":"--input","semantic.color.ring":"--ring","semantic.color.media-surface":"--media-surface","semantic.color.media-foreground":"--media-foreground","semantic.color.media-overlay":"--media-overlay","semantic.color.radar-canvas":"--radar-canvas","semantic.color.radar-panel":"--radar-panel","semantic.color.radar-border":"--radar-border","semantic.color.radar-shell-border":"--radar-shell-border","semantic.color.radar-grid":"--radar-grid","semantic.color.radar-axis":"--radar-axis","semantic.color.radar-series-one":"--radar-series-one","semantic.color.radar-series-two":"--radar-series-two","semantic.color.radar-series-three":"--radar-series-three","semantic.color.radar-series-four":"--radar-series-four"},So=Object.freeze({...Object.fromEntries(["grid","axis","fillStart","fillEnd","glow","label","value"].map(e=>[`component.chart.radar.${e}`,{variableName:gt(`chart.radar.${e}`,"monkeys"),axis:"colorMode",expectedType:"color",format:"css"}])),...Object.fromEntries(Object.entries(To).map(([e,t])=>[e,{variableName:t,axis:"colorMode",expectedType:"color",format:"hsl"}])),"semantic.color.neocard":{variableName:"--neocard",axis:"colorMode",expectedType:"color",format:"css"},"semantic.radius.base":{variableName:"--radius",axis:"colorMode",expectedType:"dimension",format:"css"},"semantic.spacing.global":{variableName:"--global-spacing",axis:"density",expectedType:"dimension",format:"css"},"semantic.gradient.brand":{variableName:"--monkeys-gradient",axis:"colorMode",expectedType:"gradient",format:"css"},"semantic.font.body":{variableName:"--font-sans",axis:"colorMode",expectedType:"fontFamily",format:"css"}});function Pe(e){let t=e.startsWith("$")?e.slice(1).trim():e.trim();if(!/^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$/i.test(t))throw new TypeError(`Invalid Design Token path ${e}.`);let r=So[t];return r?r.format==="hsl"?`hsl(var(${r.variableName}))`:`var(${r.variableName})`:`var(${gt(t,"monkeys")})`}o(Pe,"resolveThemeTokenCssVariable");var re=o(e=>e?.id,"refIdentity"),ke=o(e=>({"data-monkeys-node-id":e.nodeId,"data-monkeys-node-kind":e.kind,"data-monkeys-node-version":e.version,"data-monkeys-owner":e.ownerRepo,"data-monkeys-parent-node":e.parentNodeId,"data-monkeys-slot":e.slot,"data-monkeys-page-id":re(e.pageRef),"data-monkeys-semantic-id":re(e.semanticRef),"data-monkeys-data-context-id":re(e.dataContextRef),"data-monkeys-capability-id":re(e.capabilityRef),"data-monkeys-provider-id":re(e.providerRef),"data-monkeys-state-id":re(e.stateRef),"data-monkeys-frame-owner":e.surface.frameOwner,"data-monkeys-surface-tone":e.surface.tone,"data-monkeys-density":e.surface.density,"data-monkeys-scroll-owner":e.scroll.owner,"data-monkeys-scroll-axis":e.scroll.axis,"data-monkeys-scroll-restore-key":e.scroll.restoreKey,"data-monkeys-virtualization-boundary":e.scroll.virtualizationBoundary,"data-monkeys-activation-id":e.activation.activationId,"data-monkeys-activation-mode":e.activation.mode,"data-monkeys-mount-policy":e.lifecycle.mountPolicy,"data-monkeys-query-policy":e.lifecycle.queryPolicy,"data-monkeys-deep-link":e.lifecycle.deepLink,"data-monkeys-focus-return":e.lifecycle.focusReturn,"data-monkeys-layout-mode":e.layout.mode,"data-monkeys-responsive-rules":e.responsive.length,"data-monkeys-child-count":e.children.length,"data-monkeys-access-id":re(e.accessRef),"data-monkeys-evidence-id":re(e.evidenceRef),"data-monkeys-render-state":e.state}),"getRenderNodeDataAttributes"),Be=o(e=>`monkeys.render.scroll.${e}`,"sessionStorageKey"),xt={read(e){if(!(typeof window>"u"))try{let t=window.sessionStorage.getItem(Be(e));if(!t)return;let r=JSON.parse(t);return typeof r.x=="number"&&typeof r.y=="number"?{x:r.x,y:r.y}:void 0}catch{return}},write(e,t){if(!(typeof window>"u"))try{window.sessionStorage.setItem(Be(e),JSON.stringify(t));}catch{}},remove(e){if(!(typeof window>"u"))try{window.sessionStorage.removeItem(Be(e));}catch{}}},yt=o((e,t)=>{if(t===void 0)return e.layout;let r=e.responsive.filter(n=>(n.minWidthPx===void 0||t>=n.minWidthPx)&&(n.maxWidthPx===void 0||t<=n.maxWidthPx));return r.length===0?e.layout:r[r.length-1].layout},"resolveRenderNodeLayout"),wt=o((e,t,r)=>{let n=r===void 0?[]:t.filter(s=>(s.minWidthPx===void 0||r>=s.minWidthPx)&&(s.maxWidthPx===void 0||r<=s.maxWidthPx)&&s.style);return n.length===0?e:n.reduce((s,l)=>({...s,...l.style}),{...e??{}})},"resolveRenderNodeResponsiveStyle"),Po={contents:"contents",block:"block",flex:"flex",grid:"grid",absolute:"absolute"},Bo={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch"},No={start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around"},vt=o(e=>Pe(e),"tokenPathToCssVariable"),Lo=o(e=>e?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,typeof r=="string"&&r.startsWith("$")?vt(r):r])):void 0,"resolveRenderNodeStyle"),Eo=o(e=>{if(e.gapTokenRef)return {gap:vt(`$${e.gapTokenRef.id}`)}},"resolveRenderNodeGap"),Do=o(e=>a(Po[e.mode],e.mode==="flex"&&(e.direction==="row"?"flex-row":"flex-col"),e.align&&Bo[e.align],e.justify&&No[e.justify]),"getRenderLayoutClassName"),Ne=o((e,t,r)=>e.lifecycle.mountPolicy==="always"?true:e.lifecycle.mountPolicy==="when-visible"?r:t,"shouldMountNode"),Oo=o((e,t,r,n)=>e.lifecycle.queryPolicy==="always"?true:e.lifecycle.queryPolicy==="when-visible"?r:e.lifecycle.queryPolicy==="when-active"?t:n,"shouldQueryNode"),kt=o((e,t)=>{let r=Ne(e,t.active,t.visible);return {active:t.active,visible:t.visible,mounted:r||e.lifecycle.retainOnDeactivate&&t.previouslyMounted===true,queryEnabled:Oo(e,t.active,t.visible,t.manualQueryEnabled===true)}},"resolveRenderNodePolicyState"),bt=o((e,t,r,n,s)=>e.state==="loading"&&r!==void 0?r:e.state==="empty"&&n!==void 0?n:e.state==="error"&&s!==void 0?s:t,"resolveRenderNodeContent"),ft=o((e,t)=>{typeof e=="function"?e(t):e&&(e.current=t);},"assignRef"),pe=react.forwardRef(o(function({node:t,as:r="div",active:n=true,visible:s=n,manualQueryEnabled:l=false,asChild:u=false,unframed:m=false,children:R,loading:E,empty:P,error:y,elementRef:b,scrollRestoration:h=xt,onActivate:W,onManualQueryEnabledChange:D,onRuntimeStateChange:z,onScroll:w,className:B,hidden:U,role:v,"aria-live":d,"aria-atomic":c,...g},k){let ne=Se(),f=u?reactSlot.Slot:r,O=react.useRef(null),[i,$]=react.useState(()=>typeof window>"u"?void 0:window.innerWidth),[C,A]=react.useState(()=>Ne(t,n,s)?t.nodeId:void 0),j=Ne(t,n,s);react.useEffect(()=>{if(t.responsive.length===0||typeof window>"u")return;let p=o(()=>$(window.innerWidth),"handleResize");return p(),window.addEventListener("resize",p,{passive:true}),()=>window.removeEventListener("resize",p)},[t.responsive.length]);let I=react.useMemo(()=>yt(t,i),[t,i]),H=react.useMemo(()=>wt(t.style,t.responsive,i),[t.responsive,t.style,i]);react.useEffect(()=>{if(!n||!s||!t.lifecycle.deepLink||!["page","record"].includes(t.kind))return;let p=O.current;!p||p.style.display==="contents"||p.focus({preventScroll:true});},[n,t.kind,t.lifecycle.deepLink,t.nodeId,s]),react.useEffect(()=>{j?A(t.nodeId):t.lifecycle.retainOnDeactivate||A(void 0);},[t.lifecycle.retainOnDeactivate,t.nodeId,j]);let x=react.useMemo(()=>kt(t,{active:n,visible:s,manualQueryEnabled:l,previouslyMounted:C===t.nodeId}),[n,l,C,t,s]),Y=react.useCallback(()=>{W?.(t.activation,t);},[t,W]),T=react.useCallback(p=>{D?.(p,t);},[t,D]),F=react.useMemo(()=>({...x,activate:Y,setManualQueryEnabled:T}),[Y,x,T]);react.useEffect(()=>{z?.(x,t);},[t,z,x]);let V=react.useCallback(p=>{O.current=p,ft(b,p),ft(k,p);},[b,k]),Q=h===false?void 0:h,G=Q!==void 0&&t.scroll.owner!=="provider"&&!t.scroll.virtualizationBoundary&&t.scroll.axis!=="none"&&t.scroll.restoreKey!==void 0,X=react.useCallback(()=>{let p=O.current;return p?{x:t.scroll.axis==="y"?0:p.scrollLeft,y:t.scroll.axis==="x"?0:p.scrollTop}:{x:0,y:0}},[t.scroll.axis]);if(react.useEffect(()=>{if(!x.mounted||!G||!Q)return;let p=t.scroll.restoreKey,ee=O.current,ae=Q.read(p),te;if(ee&&ae){let ue=o(()=>ee.scrollTo({left:t.scroll.axis==="y"?ee.scrollLeft:ae.x,top:t.scroll.axis==="x"?ee.scrollTop:ae.y,behavior:"auto"}),"restore");typeof window<"u"&&typeof window.requestAnimationFrame=="function"?te=window.requestAnimationFrame(ue):ue();}return ()=>{te!==void 0&&typeof window<"u"&&window.cancelAnimationFrame(te),Q.write(p,X());}},[t.scroll.axis,t.scroll.restoreKey,x.mounted,X,G,Q]),!x.mounted)return null;let le={...g,...ke(t),ref:V,className:a((!m||I.mode!=="contents")&&Do(I),B),style:{...I.mode==="grid"&&I.columns?{gridTemplateColumns:`repeat(${I.columns}, minmax(0, 1fr))`}:{},...ne>0&&["flex","grid"].includes(I.mode)?{gap:"var(--monkeys-bento-gap, var(--global-spacing, 0.75rem))"}:{},...Eo(I),...Lo(H),...g.style},hidden:U||!x.visible||void 0,role:v??(t.state==="error"?"alert":t.state==="loading"||t.state==="empty"?"status":void 0),tabIndex:g.tabIndex??(t.lifecycle.deepLink&&["page","record"].includes(t.kind)?-1:void 0),"data-monkeys-active":x.active,"data-monkeys-mounted":x.mounted,"data-monkeys-query-enabled":x.queryEnabled,"aria-busy":t.state==="loading"||void 0,"aria-disabled":t.state==="disabled"||void 0,"aria-hidden":!x.visible||void 0,"aria-live":d??(t.state==="error"?"assertive":t.state==="loading"||t.state==="empty"?"polite":void 0),"aria-atomic":c??(t.state==="loading"||t.state==="empty"||t.state==="error"?true:void 0),onScroll:o(p=>{G&&Q&&t.scroll.restoreKey&&Q.write(t.scroll.restoreKey,X()),w?.(p);},"onScroll")},N=typeof R=="function"?R(m?{...F,elementProps:le}:F):R;return m?jsxRuntime.jsx(jsxRuntime.Fragment,{children:bt(t,N,E,P,y)}):jsxRuntime.jsx(f,{...le,ref:V,children:bt(t,N,E,P,y)})},"RenderNodeHost"));var _o={popover:40,drawer:50,modal:60,fullscreen:70,system:80},Mt=o(e=>_o[e],"getOverlayZIndex"),zo={drawer:{content:"!items-stretch !justify-end !p-0",panel:"!h-dvh !max-h-none !w-full !max-w-[min(100vw,40rem)] !rounded-none !border-y-0 !border-r-0",body:"min-h-0 flex-1 overflow-auto"},modal:{},fullscreen:{content:"!items-stretch !justify-stretch !p-0",panel:"!h-dvh !max-h-none !w-screen !max-w-none !rounded-none !border-0",body:"min-h-0 flex-1 overflow-auto"}},It=o(e=>({...zo[e]}),"getOverlayPresentationClassNames"),$o=o((e,t)=>e.startsWith("/")&&!e.startsWith("//")?`${t.pathname}${t.search}${t.hash}`:t.toString(),"relativeUrl"),Re=o((e,t)=>new URL(t,"https://monkeys.local").searchParams.get(e.url.parameter)===e.url.value,"isOverlayUrlActive"),Pt=o((e,t,r)=>{let n=new URL(t,"https://monkeys.local");return r?n.searchParams.set(e.url.parameter,e.url.value):n.searchParams.get(e.url.parameter)===e.url.value&&n.searchParams.delete(e.url.parameter),$o(t,n)},"buildOverlayUrl"),Bt={getCurrentUrl(){return typeof window>"u"?"https://monkeys.local/":window.location.href},push(e){typeof window<"u"&&window.history.pushState(window.history.state,"",e);},replace(e){typeof window<"u"&&window.history.replaceState(window.history.state,"",e);},back(){typeof window<"u"&&window.history.back();},subscribe(e){if(typeof window>"u")return ()=>{};let t=o(()=>e(window.location.href),"handlePopState");return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)}},jo=o(e=>{e?.isConnected&&(typeof window<"u"&&typeof window.requestAnimationFrame=="function"?window.requestAnimationFrame(()=>e.focus()):e.focus());},"scheduleFocus");function Fo({node:e,open:t,renderStrategy:r="dialog",title:n,description:s,footer:l,closeLabel:u,children:m,appearance:R,className:E,classNames:P,initialFocusRef:y,focusReturnRef:b,historyAdapter:h=Bt,manualQueryEnabled:W=false,onActivate:D,onRuntimeStateChange:z,onOpenChange:w}){let B=react.useRef(false),U=react.useRef(false),v=Mt(e.zIndexLane),d=react.useCallback(f=>{if(!e.renderNode.lifecycle.deepLink||h===false)return;let O=h.getCurrentUrl();if(Re(e,O)===f)return;let i=Pt(e,O,f);if(f){e.url.openMode==="push"?(h.push(i),B.current=true):(h.replace(i),B.current=false);return}e.url.closeMode==="back"&&B.current?(B.current=false,h.back()):(h.replace(i),B.current=false);},[h,e]),c=react.useCallback(f=>{d(f),w(f);},[w,d]);react.useEffect(()=>{if(!e.renderNode.lifecycle.deepLink||h===false)return;let f=Re(e,h.getCurrentUrl());return U.current?f!==t&&d(t):(U.current=true,f&&!t?w(true):!f&&t&&d(true)),h.subscribe(O=>{B.current=false;let i=Re(e,O);i!==t&&w(i);})},[h,e,w,t,d]),react.useEffect(()=>{if(!t||!e.renderNode.lifecycle.focusReturn||typeof document>"u")return;let f=b?.current??(document.activeElement instanceof HTMLElement?document.activeElement:null);return ()=>jo(b?.current??f)},[b,e.renderNode.lifecycle.focusReturn,t]);let g=react.useMemo(()=>ke(e.renderNode),[e.renderNode]),k=It(e.presentation),ne={...P,body:P?.body??k.body,content:P?.content??k.content,panel:P?.panel??k.panel};return jsxRuntime.jsx(pe,{node:e.renderNode,active:t,visible:t,manualQueryEnabled:W,className:E,style:r==="delegate"?{display:"contents"}:void 0,onActivate:D,onRuntimeStateChange:z,children:f=>{let O={...f,open:t,zIndexLane:e.zIndexLane,zIndex:v,initialFocusRef:y,focusReturnRef:b,renderNodeAttributes:g,onOpenChange:c,requestClose:o(()=>c(false),"requestClose")},i=typeof m=="function"?m(O):m;return r==="delegate"?i:jsxRuntime.jsx(mt,{id:e.overlayId,open:t,title:n,description:s,footer:l,closeLabel:u,closeOnEscape:e.close.escape,closeOnOverlayClick:e.close.backdrop,keepMounted:e.renderNode.lifecycle.retainOnDeactivate,trapFocus:e.focus.trap,restoreFocus:false,initialFocus:e.focus.initial,initialFocusRef:y,zIndex:v,appearance:R,classNames:ne,"data-monkeys-overlay-presentation":e.presentation,"data-monkeys-overlay-z-index-lane":e.zIndexLane,onOpenChange:c,children:i})}})}o(Fo,"OverlayNodeHost");var qo=o(e=>e.kind==="shell"?"main":e.kind==="navigation"?"nav":e.kind==="detail"?"aside":e.kind==="record"?"article":"section","defaultElementForNode");function Le({tree:e,maxMaterializedNodes:t=4096,resolveNodeInstances:r,wrapNode:n,activeNodeIds:s,visibleNodeIds:l,manualQueryNodeIds:u,loading:m,empty:R,error:E,elementForNode:P=qo,asChildForNode:y,unframedForNode:b,classNameForNode:h,elementRefForNode:W,scrollRestoration:D,renderNode:z,onActivate:w,onManualQueryEnabledChange:B,onRuntimeStateChange:U}){let v=react.useMemo(()=>runtime.compileRenderTree(e),[e]),d=react.useMemo(()=>new Map(v.traversal.map(i=>[i.nodeId,v.childrenOf(i.nodeId)])),[v]),c=react.useRef(),g=new Map;react.useEffect(()=>{c.current={compiled:v,entries:g};});let k=o((i,$,C)=>{let A=c.current?.compiled===v?c.current.entries.get(i):void 0,j=A&&A.inputs.length===$.length&&$.every((I,H)=>Object.is(I,A.inputs[H]))?A:{inputs:$,element:C()};return g.set(i,j),j.element},"reuse");if(!Number.isSafeInteger(t)||t<1||t>4096)throw new RangeError("RenderTree materialization budget must be an integer from 1 to 4096.");let ne=0,f=o((i,$,C)=>{let A=r?.(i,$);if(A===void 0)return O(i,$,C);let j=new Set,I=A.map(({key:H,scope:x})=>{if(!H||j.has(H))throw new TypeError(`RenderNode ${i.nodeId} requires unique non-empty instance keys.`);return j.add(H),O(i,x,JSON.stringify([C??null,i.nodeId,H]))});return I.length===1?I[0]:k(JSON.stringify(["branch",i.nodeId,C??null]),I,()=>I)},"renderBranch"),O=o((i,$,C)=>{if(++ne>t)throw new RangeError("RenderTree materialization budget exceeded.");let A=d.get(i.nodeId),j=A.map(H=>f(H,$,C)),I={as:P(i),asChild:y?.(i),unframed:b?.(i),active:s?.has(i.nodeId)??true,visible:l?.has(i.nodeId)??true,manualQueryEnabled:u?.has(i.nodeId)??false,loading:m,empty:R,error:E,className:h?.(i),elementRef:W?.(i),scrollRestoration:D,onActivate:w,onManualQueryEnabledChange:B,onRuntimeStateChange:U};return k(JSON.stringify(["node",i.nodeId,C??null]),[i,$,z,n,...Object.values(I),...j],()=>{let H=C&&i.scroll.restoreKey?{...i,scroll:{...i.scroll,restoreKey:JSON.stringify([i.scroll.restoreKey,C])}}:i,x=A.reduce((F,V,Q)=>{let G=V.slot??V.nodeId;return (F[G]??(F[G]=[])).push(j[Q]),F},{}),Y=Object.freeze(Object.fromEntries(Object.entries(x).map(([F,V])=>[F,V.length===1?V[0]:jsxRuntime.jsx(jsxRuntime.Fragment,{children:V})]))),T=jsxRuntime.jsx(pe,{node:H,"data-monkeys-instance-key":C,...I,children:F=>{let V=z?.({...F,node:H,scope:$,instanceKey:C,children:j,childNodes:A,childrenBySlot:Y})??j;return n?n({node:H,scope:$,instanceKey:C,content:V}):V}},JSON.stringify([i.nodeId,C??null]));return i.kind==="page"||i.kind==="overlay"?jsxRuntime.jsx(se,{children:T},JSON.stringify([i.nodeId,C??null])):T})},"renderInstance");return jsxRuntime.jsx(jsxRuntime.Fragment,{children:f(v.root)})}o(Le,"RenderTreeHost");var Ht="__monkeysRenderTree",At=o(()=>{if(typeof window>"u")return;let e=window.history.state?.[Ht];return e?.contract==="RenderTreeRuntimeSnapshot"?e:void 0},"readBrowserSnapshot"),Ee=o(e=>({...typeof window>"u"||!window.history.state||typeof window.history.state!="object"?{}:window.history.state,[Ht]:e}),"withSnapshot"),Go=o(()=>{typeof window>"u"||window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}));},"notifyBrowserHistory"),_t={read:At,replace(e){typeof window<"u"&&window.history.replaceState(Ee(e),"",window.location.href);},push(e){typeof window<"u"&&window.history.pushState(Ee(e),"",window.location.href);},navigate(e,t,r){typeof window>"u"||(window.history[t==="replace"?"replaceState":"pushState"](Ee(r),"",e),Go());},subscribe(e){if(typeof window>"u")return ()=>{};let t=o(()=>e(At()),"onPopState");return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)}},Jo=o(e=>{e?.isConnected&&(typeof window<"u"&&typeof window.requestAnimationFrame=="function"?window.requestAnimationFrame(()=>e.focus({preventScroll:true})):e.focus({preventScroll:true}));},"scheduleFocus");function De({tree:e,historyAdapter:t=_t,onActivate:r,onRuntimeStateChange:n,...s}){let l=react.useMemo(()=>runtime.compileRenderTree(e),[e]),u=react.useMemo(()=>new Set(l.traversal.map(d=>d.nodeId)),[l]),[m,R]=react.useState(()=>new Set(u)),[E,P]=react.useState(()=>new Set),y=react.useRef(),b=react.useRef(m),h=react.useRef(E),W=react.useRef(new Map),D=react.useCallback((d=b.current,c=h.current,g=y.current)=>({contract:"RenderTreeRuntimeSnapshot",treeId:e.treeId,activeNodeIds:[...d],manualQueryNodeIds:[...c],selectedActivationId:g}),[e.treeId]),z=react.useCallback(d=>{if(!d||d.treeId!==e.treeId||d.activeNodeIds.some(k=>!u.has(k))||d.manualQueryNodeIds.some(k=>!u.has(k)))return false;let c=new Set(d.activeNodeIds);if(!c.has(e.rootNodeId))return false;let g=new Set(d.manualQueryNodeIds);return y.current=d.selectedActivationId,b.current=c,h.current=g,R(c),P(g),true},[u,e.rootNodeId,e.treeId]);react.useEffect(()=>{let d=t===false?void 0:t.read();if(!z(d)){let c=new Set(u),g=new Set;b.current=c,h.current=g,y.current=void 0,R(c),P(g),t!==false&&t.replace(D(c,g));}return t===false?void 0:t.subscribe(z)},[u,z,t,D]);let w=react.useCallback(d=>{let c=new Set(l.ancestorsOf(d.nodeId).map(k=>k.nodeId)),g=o(k=>{c.add(k.nodeId),l.childrenOf(k.nodeId).forEach(g);},"addDescendants");return g(d),c},[l]),B=react.useCallback((d,c)=>{c.lifecycle.focusReturn&&typeof document<"u"&&document.activeElement instanceof HTMLElement&&W.current.set(c.nodeId,document.activeElement),y.current=d.activationId;let g=d.mode==="select"||d.mode==="inline"?w(c):b.current;b.current=g,R(g);let k=D(g);if(d.mode==="navigate"){if(!d.targetPath)throw new TypeError(`Navigate activation ${d.activationId} has no targetPath.`);t!==false&&t.navigate(d.targetPath,d.history??"push",k);}else t!==false&&c.lifecycle.deepLink&&(d.history==="push"?t.push(k):t.replace(k));r?.(d,c);},[t,r,w,D]),U=react.useCallback((d,c)=>{let g=new Set(h.current);d?g.add(c.nodeId):g.delete(c.nodeId),h.current=g,P(g),t!==false&&t.replace(D(b.current,g));},[t,D]),v=react.useRef(m);return react.useEffect(()=>{for(let d of v.current){if(m.has(d))continue;l.nodesById.get(d)?.lifecycle.focusReturn&&Jo(W.current.get(d));}v.current=m;},[m,l.nodesById]),jsxRuntime.jsx(Le,{...s,tree:e,activeNodeIds:m,visibleNodeIds:m,manualQueryNodeIds:E,onActivate:B,onManualQueryEnabledChange:U,onRuntimeStateChange:n})}o(De,"RenderTreeRuntimeHost");var Zo=o((e,t)=>{let r=e.dataContextRef?.id;return r?t[r]:void 0},"defaultResolveBinding");function Yo({tree:e,components:t,bindings:r={},resolveBinding:n=Zo,renderMissingComponent:s,...l}){return jsxRuntime.jsx(De,{...l,tree:e,renderNode:u=>{let m=t[u.node.capabilityRef.id];return m?m({...u,binding:n(u.node,r),model:u.node.renderModel}):s?.(u)??u.children}})}o(Yo,"RenderTreeRegistryHost");
31
+ var Ut=Object.defineProperty;var o=(e,t)=>Ut(e,"name",{value:t,configurable:true});function Qt({handoff:e,targetPath:t=e.target.path,targetOrigin:r,children:n,onActivate:s,...d}){let u=r?.trim(),c=u?new URL(t,u).toString():t;return jsxRuntime.jsx("a",{...d,href:runtime.buildApplicationHandoffUrl(c,e),"data-monkeys-handoff-id":e.handoffId,"data-monkeys-handoff-source":e.source.product,"data-monkeys-handoff-target":e.target.product,onClick:w=>s?.(e,w),children:n})}o(Qt,"ApplicationHandoffLink");var We=Symbol.for("@inf-monkeys-tech/monkeys-design/bento-depth@1"),Ve=globalThis,Ue=Ve[We]??(Ve[We]=react.createContext(0));function Me(){return react.useContext(Ue)}o(Me,"useBentoDepth");function qe({children:e,depth:t}){return jsxRuntime.jsx(Ue.Provider,{value:t,children:e})}o(qe,"BentoDepthProvider");function se({children:e}){return jsxRuntime.jsx(qe,{depth:0,children:e})}o(se,"BentoScope");var Ie={locale:"en-US",messages:{canvas:{replaceImage:"Replace image",cropImage:"Crop image",downloadImage:"Download image",useImageReference:"Use as reference",saturationValue:"Saturation and brightness",hue:"Hue",dots:"Dot grid",group:"Group",hexPlaceholder:"#F5F5F5",controls:"Canvas controls",background:"Canvas background",layers:"Layers",minimap:"Minimap",zoom:"Zoom",zoomIn:"Zoom in",zoomOut:"Zoom out",fit:"Show all elements",zoomTo:o(({percent:e})=>`Zoom to ${e}%`,"zoomTo"),color:o(({value:e})=>`Use ${e}`,"color"),hex:"Hex color",close:"Close",empty:"No layers",element:o(({type:e})=>e,"element")},pagination:{navigation:"Pagination",first:"First",previous:"Previous",next:"Next",last:"Last",page:o(({page:e,pageCount:t})=>`Page ${e} of ${t}`,"page"),currentPage:o(({page:e,pageCount:t})=>`Page ${e} of ${t}, current page`,"currentPage"),emptyResults:"0 results",range:o(({start:e,end:t,total:r})=>`${e}-${t} of ${r}`,"range"),selected:o(({count:e})=>`${e} selected`,"selected"),pageSize:"Items per page",loadBatchSize:"Items per load",perLoad:"Items per load",jumpToPage:"Jump to page",pages:"pages",clickToJump:"Click to jump to a page"},dialog:{close:"Close dialog"},dropdownMenu:{actions:"Actions"},loading:{spinner:"Loading"},layout:{resizePanels:"Resize panels",expandPanel:"Expand",collapsePanel:"Collapse",movePanel:"Move",moveBefore:"Move earlier",moveAfter:"Move later"},steps:{label:"Progress",current:"Current",completed:"Completed",error:"Error",disabled:"Disabled"},numberInput:{increment:"Increase value",decrement:"Decrease value"},passwordInput:{showPassword:"Show password",hidePassword:"Hide password"},multiSelect:{placeholder:"Select options",empty:"No options",removeOption:o(({value:e})=>`Remove ${e}`,"removeOption")},table:{dragColumn:o(({columnId:e})=>`Drag column ${e}`,"dragColumn"),resizeColumn:o(({columnId:e})=>`Resize column ${e}`,"resizeColumn"),sortColumn:o(({columnId:e})=>e?`Sort column ${e}`:"Sort column","sortColumn"),loadingRow:"Loading table row"},toolbar:{theme:{label:"Appearance",toggle:"Toggle theme",auto:"Auto",light:"Light",dark:"Dark"},language:{label:"Language",switch:"Switch language"}},toast:{errorTitle:"Error",warningTitle:"Warning",defaultErrorDescription:"Something went wrong.",defaultWarningDescription:"Please check and try again."},dataExplorer:{viewTree:{actions:"More actions",expand:"Expand",collapse:"Collapse",loading:"Loading...",empty:"No views",error:"Unable to load views"}},workbench:{relationshipGraph:{zoomOut:"Zoom out",zoomIn:"Zoom in",zoomToFit:"Fit graph",minimap:"Graph overview"},collection:{label:"Collection",loading:"Loading items",empty:"No items",loadError:"Unable to load items",refreshError:"Unable to refresh items",retry:"Retry",loadingMore:"Loading more items",permission:"You do not have permission to view this content",offline:"You appear to be offline",requestAccess:"Request access"},interactiveTable:{columnActions:"Column actions",freezeColumn:"Freeze to left",freezeEndColumn:"Freeze to right",unfreezeColumn:"Unfreeze from left",unfreezeEndColumn:"Unfreeze from right",unfreezeAllColumns:"Unfreeze all columns",resetColumnWidth:"Reset column width",frozenColumnTitle:"Frozen column"}},agentWorkbench:{label:"Session activity",reasoning:"Reasoning",plan:"Plan",taskNoDetail:"No additional details",modes:{chat:"Chat",work:"Work"},composer:{send:"Send message",stop:"Stop generating",queue:"Queue message",attach:"Add photos or files",voice:"Start voice input",webSearch:"Web search",chatMode:"Chat mode",model:"Model",reasoning:"Reasoning effort",permissions:"Permissions",removeAttachment:"Remove attachment",editQueued:"Edit queued message",deleteQueued:"Delete queued message",moveUp:"Move message up",moveDown:"Move message down",queued:"Queued messages",uploading:"Uploading",uploadFailed:"Upload failed",retryAttachment:"Retry attachment upload",noModels:"No models available",message:"Message",attachmentOnly:"Attachment",reasoningOptions:{low:"Low",medium:"Medium",high:"High",xhigh:"Extra high"},permissionOptions:{"approval-required":"Approval required","auto-approve":"Auto approve","full-access":"Full access"}},quickStart:{label:"Quick start",back:"Back",addFile:"Add file"},tool:{input:"Input",output:"Output",status:{pending:"Pending",running:"Running",completed:"Completed",failed:"Error",denied:"Denied"}},approval:{approve:"Approve",reject:"Reject",approved:"Approved",rejected:"Rejected"},artifact:{pending:"Preparing",ready:"Ready",failed:"Failed",open:o(({name:e})=>`Open ${e}`,"open")},run:{stopping:"Stopping...",stoppedAfter:o(({duration:e})=>`You stopped after ${e}`,"stoppedAfter")},process:{running:"Working",queued:"Queued",waitingApproval:"Waiting for approval",failed:"Failed",stopped:"Stopped",processed:"Processed",processedFor:o(({duration:e})=>`Worked for ${e}`,"processedFor"),completedCount:o(({completed:e,total:t})=>`${e}/${t} completed`,"completedCount")},artifactWorkspace:{outputs:"Outputs",sources:"Sources",viewAll:"View all",toggleSummary:"Toggle files",tabs:"Open files",closeTab:o(({name:e})=>`Close ${e}`,"closeTab"),closeWorkspace:"Close workspace",close:"Close",closeOthers:"Close other tabs",closeRight:"Close tabs to the right",closeAll:"Close all tabs",kinds:{audio:"Audio",canvas:"Canvas",file:"File",html:"HTML",image:"Image",markdown:"Markdown",pdf:"PDF",presentation:"Presentation",video:"Video",web:"Web page"},collapse:"Collapse",maximize:"Full screen",restore:"Exit full screen",download:o(({name:e})=>`Download ${e}`,"download"),openExternal:o(({name:e})=>`Open ${e} in a new window`,"openExternal"),loading:"Loading preview...",failed:"Preview unavailable",retry:"Try again"},usage:{label:"Context usage",context:o(({used:e,total:t})=>`${e} / ${t} tokens`,"context")},navigation:{search:"Search agents and sessions",searchSessions:"Search sessions",searchShortcut:"Focus search",clearSearch:"Clear search",tabsLabel:"Agent workbench navigation",agents:"Agents",sessions:"Sessions",newAgent:"New Agent",newSession:"New Session",capabilities:"Capabilities & Extensions",settings:"Agent Settings",allAgents:"All Agents",recentSessions:"Recent Sessions",chat:"Chat",work:"Work",chats:"Chats",builtIn:"Built-in",noDescription:"No description",loading:"Loading...",emptyAgents:"No agents yet",emptySessions:"No sessions yet",noResults:"No matching results",retry:"Retry",pin:"Pin",unpin:"Unpin",rename:"Rename",delete:"Delete",actions:"Actions",save:"Save",cancel:"Cancel",running:"Running",completed:"Completed",failed:"Failed",contextUsage:o(({percent:e})=>`${e}% context used`,"contextUsage")},details:{title:"Task details",description:"Summary and workspace activity",duration:"Duration",updated:"Updated",model:"Model",mode:"Mode",permissions:"Permissions",tokenUsage:"Token usage",summary:"Summary",summaryEmpty:"No summary is available yet.",summaryFailed:"The summary could not be generated.",highlights:"Highlights",pendingItems:"Pending items",tabs:{label:"Task detail views",summary:"Summary",workspace:"Workspace"},status:{queued:"Queued",running:"Running",waiting_approval:"Waiting for approval",stopping:"Stopping",stopped:"Stopped",completed:"Completed",failed:"Failed"},state:{loading:{title:"Loading task details",description:"Restoring the latest session activity."},empty:{title:"No task selected",description:"Select a task to inspect its details."},error:{title:"Unable to load task details",description:"Try again after the session is available."}},actions:{close:"Close task details",copySummary:"Copy summary",retry:"Retry",retrySummary:"Retry summary",resume:"Resume",continueInNewTask:"Continue in new task",editAndRerun:"Edit and rerun",export:"Export"},workspace:{diffs:"Code changes",files:"Files",terminals:"Terminals",tests:"Tests",artifacts:"Artifacts",exitCode:o(({code:e})=>`Exit code ${e}`,"exitCode"),diffStatus:{added:"Added",modified:"Modified",deleted:"Deleted",renamed:"Renamed"},fileOperation:{upsert:"Updated",delete:"Deleted"}}}}}};function Je(e,t){return t?{canvas:{...e.canvas,...t.canvas},beautiful:{...e.beautiful,...t.beautiful},pagination:{...e.pagination,...t.pagination},dialog:{...e.dialog,...t.dialog},dropdownMenu:{...e.dropdownMenu,...t.dropdownMenu},loading:{...e.loading,...t.loading},layout:{...e.layout,...t.layout},steps:{...e.steps,...t.steps},numberInput:{...e.numberInput,...t.numberInput},passwordInput:{...e.passwordInput,...t.passwordInput},multiSelect:{...e.multiSelect,...t.multiSelect},table:{...e.table,...t.table},toolbar:{theme:{...e.toolbar.theme,...t.toolbar?.theme},language:{...e.toolbar.language,...t.toolbar?.language}},toast:{...e.toast,...t.toast},dataExplorer:{viewTree:{...e.dataExplorer.viewTree,...t.dataExplorer?.viewTree}},workbench:{relationshipGraph:{zoomOut:"Zoom out",zoomIn:"Zoom in",zoomToFit:"Fit graph",minimap:"Graph overview",...e.workbench.relationshipGraph,...t.workbench?.relationshipGraph},collection:{...e.workbench.collection,...t.workbench?.collection},interactiveTable:{...e.workbench.interactiveTable,...t.workbench?.interactiveTable}},agentWorkbench:{...e.agentWorkbench,...t.agentWorkbench,modes:{...e.agentWorkbench.modes,...t.agentWorkbench?.modes},composer:{...e.agentWorkbench.composer,...t.agentWorkbench?.composer},quickStart:{...e.agentWorkbench.quickStart,...t.agentWorkbench?.quickStart},tool:{...e.agentWorkbench.tool,...t.agentWorkbench?.tool,status:{...e.agentWorkbench.tool.status,...t.agentWorkbench?.tool?.status}},approval:{...e.agentWorkbench.approval,...t.agentWorkbench?.approval},artifact:{...e.agentWorkbench.artifact,...t.agentWorkbench?.artifact},run:{...e.agentWorkbench.run,...t.agentWorkbench?.run},process:{...e.agentWorkbench.process,...t.agentWorkbench?.process},artifactWorkspace:{...e.agentWorkbench.artifactWorkspace,...t.agentWorkbench?.artifactWorkspace},usage:{...e.agentWorkbench.usage,...t.agentWorkbench?.usage},navigation:{...e.agentWorkbench.navigation,...t.agentWorkbench?.navigation},details:{...e.agentWorkbench.details,...t.agentWorkbench?.details,tabs:{...e.agentWorkbench.details.tabs,...t.agentWorkbench?.details?.tabs},status:{...e.agentWorkbench.details.status,...t.agentWorkbench?.details?.status},state:{loading:{...e.agentWorkbench.details.state.loading,...t.agentWorkbench?.details?.state?.loading},empty:{...e.agentWorkbench.details.state.empty,...t.agentWorkbench?.details?.state?.empty},error:{...e.agentWorkbench.details.state.error,...t.agentWorkbench?.details?.state?.error}},actions:{...e.agentWorkbench.details.actions,...t.agentWorkbench?.details?.actions},workspace:{...e.agentWorkbench.details.workspace,...t.agentWorkbench?.details?.workspace,diffStatus:{...e.agentWorkbench.details.workspace.diffStatus,...t.agentWorkbench?.details?.workspace?.diffStatus},fileOperation:{...e.agentWorkbench.details.workspace.fileOperation,...t.agentWorkbench?.details?.workspace?.fileOperation}}}}}:e}o(Je,"mergeMonkeysLocaleMessages");var Pe={locale:Ie.locale,messages:Je(Ie.messages)};var Zt=Object.freeze({}),Yt=Object.freeze({}),Ge=Symbol.for("@inf-monkeys-tech/monkeys-design/provider-context@1");function Xt(){return Object.freeze({locale:react.createContext({...Pe,provided:false}),theme:react.createContext({provided:false}),direction:react.createContext({provided:false}),environment:react.createContext({provided:false,environment:Zt,portal:Yt})})}o(Xt,"createMonkeysProviderContexts");function eo(){let e=globalThis,t=e[Ge];if(t)return t;let r=Xt();return Object.defineProperty(e,Ge,{value:r,enumerable:false,configurable:false,writable:false}),r}o(eo,"getMonkeysProviderContexts");var we=eo(),Ze=we.locale,Ye=we.theme,to=we.direction,Xe=we.environment;function oo(e,t){return t===void 0?e:e===void 0?t:{...e,...t,slots:e.slots||t.slots?{...e.slots,...t.slots}:void 0,styles:e.styles||t.styles?{...e.styles,...t.styles}:void 0}}o(oo,"mergeAppearance");function et(){return react.useContext(Ze).messages}o(et,"useMonkeysLocaleMessages");function tt(e){let t=react.useContext(Ye).baseAppearance;return react.useMemo(()=>oo(t,e),[e,t])}o(tt,"useMonkeysBaseAppearance");function ot(){return react.useContext(Xe).environment}o(ot,"useMonkeysEnvironment");function rt(){return react.useContext(Xe).portal}o(rt,"useMonkeysPortalOptions");function nt(){let e=react.useContext(Ze),t=react.useContext(Ye),r=react.useContext(to),n=e.provided||t.provided||r.provided;return react.useMemo(()=>n?{dir:r.direction,"data-monkeys-direction":r.direction,"data-monkeys-locale":e.locale,"data-monkeys-theme":t.themeId,"data-monkeys-theme-mode":t.resolvedTheme?.colorMode}:{},[r.direction,e.locale,n,t.resolvedTheme?.colorMode,t.themeId])}o(nt,"useMonkeysComponentAttributes");function Ne(e,t){let r=typeof e=="function"?e():e;if(r===null)return null;if(!r||typeof r!="object"||r.nodeType!==1)throw new TypeError(`${t} must resolve to an Element or null.`);return r}o(Ne,"resolveContainerValue");function at({explicitProvided:e,explicitContainer:t,providerProvided:r,providerContainer:n,getDocument:s}){if(e)return Ne(t,"BasePortal container");if(r)return Ne(n,"MonkeysProvider portal.container");if(!s)return null;let d=s();if(d===null)return null;if(!d||typeof d!="object"||!("body"in d))throw new TypeError("MonkeysProvider environment.getDocument must resolve to a Document or null.");return Ne(d.body,"MonkeysProvider environment.getDocument().body")}o(at,"resolveBasePortalContainer");function ao({mounted:e,explicitDisabled:t,explicitContainer:r,providerDisabled:n,providerContainer:s,getDocument:d}){let u=t??n??false;if(!e||u)return {mounted:e,disabled:u,shouldPortal:false,container:null,radixPortalProps:void 0};let c=at({explicitProvided:r!==void 0,explicitContainer:r,providerProvided:s!==void 0,providerContainer:s,getDocument:d});return c?{mounted:true,disabled:false,shouldPortal:true,container:c,radixPortalProps:Object.freeze({container:c})}:{mounted:true,disabled:false,shouldPortal:false,container:null,radixPortalProps:void 0}}o(ao,"resolveBaseOverlayPortalState");function so(){return globalThis.document??null}o(so,"getDefaultDocument");function st(e={}){let t=ot(),r=rt(),[n,s]=react.useState(false);return react.useEffect(()=>{s(true);},[]),ao({mounted:n,explicitDisabled:e.disabled,explicitContainer:e.container,providerDisabled:r.disabled,providerContainer:r.container,getDocument:t.getDocument??so})}o(st,"useBaseOverlayPortal");function a(...e){return tailwindMerge.twMerge(e.filter(Boolean).join(" "))}o(a,"cn");function ee(e){return e!=null&&typeof e!="boolean"}o(ee,"hasRenderableNode");function it(e,t){let r=new WeakMap,n=new Map,s=1;return (...d)=>{let u=d.slice(0,-1),c=d[d.length-1],w=u.map(x=>{if(!x)return 0;let b=r.get(x);return b===void 0&&(b=s++,r.set(x,b)),b}).join(":"),_=n.get(w);if(!_){let x={};for(let b of e)x[b]=t(...u.map(h=>h?.[b]));_=Object.freeze(x),n.size>=64&&n.delete(n.keys().next().value),n.set(w,_);}let M={..._};if(c)for(let x of e){let b=c[x];b&&(M[x]=t(...u.map(h=>h?.[x]),b));}return M}}o(it,"createStaticSlotMerger");var lo={},N="motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",K="motion-safe:transition-all motion-safe:duration-300 motion-safe:ease-out",ve="motion-safe:transition-transform motion-safe:duration-300 motion-safe:ease-out",dt=a("[scrollbar-width:thin]","[scrollbar-color:hsl(var(--muted-foreground)/0.45)_transparent]","[&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar]:w-2","[&::-webkit-scrollbar-button]:hidden [&::-webkit-scrollbar-button]:h-0 [&::-webkit-scrollbar-button]:w-0 [&::-webkit-scrollbar-button]:bg-transparent","[&::-webkit-scrollbar-button:single-button]:hidden [&::-webkit-scrollbar-button:single-button]:h-0 [&::-webkit-scrollbar-button:single-button]:w-0","[&::-webkit-scrollbar-button:double-button]:hidden [&::-webkit-scrollbar-button:double-button]:h-0 [&::-webkit-scrollbar-button:double-button]:w-0","[&::-webkit-scrollbar-corner]:bg-transparent","[&::-webkit-scrollbar-track]:bg-transparent","[&:has(thead.sticky)::-webkit-scrollbar-track]:mt-[var(--base-table-header-height)]","[&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-muted-foreground/40","hover:[&::-webkit-scrollbar-thumb]:bg-muted-foreground/55"),uo=a("[&.sticky_th]:sticky [&.sticky_th]:top-0 [&.sticky_th]:z-[2]","[&.sticky_th]:bg-[var(--base-table-sticky-header-bg)]","[&.sticky_th]:shadow-[inset_0_-1px_0_var(--base-table-header-separator)]"),ut={buttonBase:a("group/button inline-flex min-w-0 items-center justify-center gap-2 rounded-md border px-3 text-sm font-medium focus-visible:outline-hidden","cursor-pointer disabled:!cursor-not-allowed",K),buttonDefault:"border-border bg-background text-foreground hover:bg-accent/60",buttonPrimary:"border-primary/20 bg-primary/10 text-primary hover:bg-primary/15",buttonSuccess:"border-[hsl(var(--success,142_72%_29%)_/_0.30)] bg-[hsl(var(--success,142_72%_29%)_/_0.10)] text-[hsl(var(--success,142_72%_29%))] hover:bg-[hsl(var(--success,142_72%_29%)_/_0.15)]",buttonWarning:"border-[hsl(var(--warning,45_93%_47%)_/_0.30)] bg-[hsl(var(--warning,45_93%_47%)_/_0.10)] text-[hsl(var(--warning-foreground,28_73%_26%))] hover:bg-[hsl(var(--warning,45_93%_47%)_/_0.15)]",buttonDanger:"border-destructive/20 bg-destructive/10 text-destructive-text hover:bg-destructive/15",buttonMuted:"border-border/60 bg-muted/45 text-muted-foreground hover:bg-muted/70 hover:text-foreground",buttonActive:"border-primary/35 bg-primary/10 text-primary",buttonDisabled:"!cursor-not-allowed opacity-60",buttonIconOnly:"w-9 px-0",buttonIcon:"inline-flex h-4 w-4 shrink-0 items-center justify-center text-[inherit] [&_*]:!text-[inherit] [&_svg]:!stroke-current [&_svg_*]:!stroke-current",buttonLabel:"min-w-0 truncate",badgeBase:a("inline-flex max-w-full items-center gap-1.5 rounded-full border px-2 py-0.5 text-xs font-medium",N),badgeDefault:"border-border/60 bg-background text-foreground",badgePrimary:"border-primary/30 bg-primary/10 text-primary",badgeSuccess:"border-[hsl(var(--success,142_72%_29%)_/_0.30)] bg-[hsl(var(--success,142_72%_29%)_/_0.10)] text-[hsl(var(--success,142_72%_29%))]",badgeWarning:"border-[hsl(var(--warning,45_93%_47%)_/_0.30)] bg-[hsl(var(--warning,45_93%_47%)_/_0.10)] text-[hsl(var(--warning-foreground,28_73%_26%))]",badgeDanger:"border-destructive/30 bg-destructive/10 text-destructive-text",badgeMuted:"border-border/60 bg-muted text-muted-foreground",badgeIcon:"inline-flex h-3.5 w-3.5 shrink-0 items-center justify-center",badgeLabel:"min-w-0 truncate",textRoot:"min-w-0 break-words leading-6",textSizeXs:"text-xs",textSizeSm:"text-sm",textSizeMd:"text-base",textSizeLg:"text-lg",textSizeXl:"text-xl",typographyToneDefault:"text-foreground",typographyToneMuted:"text-muted-foreground",typographyTonePrimary:"text-primary",typographyToneSuccess:"text-emerald-700 dark:text-emerald-400",typographyToneWarning:"text-amber-700 dark:text-amber-400",typographyToneDanger:"text-destructive-text",typographyToneInherit:"text-inherit",headingRoot:"min-w-0 break-words font-semibold tracking-tight",headingSizeXs:"text-sm leading-5",headingSizeSm:"text-base leading-6",headingSizeMd:"text-lg leading-7",headingSizeLg:"text-xl leading-7",headingSizeXl:"text-2xl leading-8",headingSize2xl:"text-3xl leading-9",linkRoot:"inline break-words underline decoration-current/40 underline-offset-4 hover:decoration-current focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30",codeInline:"rounded border border-border/70 bg-muted/60 px-1.5 py-0.5 font-mono text-[0.875em] leading-[1.45] text-foreground",codeBlock:"m-0 max-w-full overflow-x-auto rounded-md border border-border/70 bg-muted/60 p-4 text-foreground",codeContent:"font-mono text-sm leading-6",kbdRoot:"inline-flex min-h-5 items-center rounded border border-border bg-muted/70 px-1.5 font-mono text-[0.75em] font-medium leading-5 text-foreground shadow-[inset_0_-1px_0_hsl(var(--monkeys-color-border))]",listRoot:"m-0 min-w-0 list-outside break-words ps-5 text-foreground",listSpacingCompact:"[&>li+li]:mt-1",listSpacingDefault:"[&>li+li]:mt-2",listSpacingRelaxed:"[&>li+li]:mt-3",listMarkerNone:"list-none ps-0",listMarkerDisc:"list-disc",listMarkerCircle:"list-[circle]",listMarkerSquare:"list-[square]",listMarkerDecimal:"list-decimal",listMarkerLowerAlpha:"list-[lower-alpha]",listMarkerUpperAlpha:"list-[upper-alpha]",listItem:"min-w-0 ps-1 leading-6 marker:text-muted-foreground",stackRoot:"flex min-w-0 flex-col",inlineRoot:"flex min-w-0 flex-row",gridRoot:"grid min-w-0",containerRoot:"mx-auto w-full min-w-0",aspectRatioRoot:"relative min-w-0 overflow-hidden [&>*]:h-full [&>*]:w-full",spinnerRoot:"inline-flex shrink-0 items-center justify-center text-current align-middle",spinnerIndicator:"h-5 w-5 rounded-full border-2 border-current border-r-transparent motion-safe:animate-spin motion-reduce:animate-none",visuallyHiddenRoot:"sr-only",visuallyHiddenFocusable:"focus:not-sr-only focus:fixed focus:left-4 focus:top-4 focus:z-[1000] focus:rounded-md focus:bg-background focus:px-4 focus:py-2 focus:text-foreground focus:shadow-lg focus:outline-hidden focus:ring-2 focus:ring-ring focus-within:not-sr-only focus-within:fixed focus-within:left-4 focus-within:top-4 focus-within:z-[1000] focus-within:rounded-md focus-within:bg-background focus-within:px-4 focus-within:py-2 focus-within:text-foreground focus-within:shadow-lg focus-within:ring-2 focus-within:ring-ring",fieldsetRoot:"min-w-0 border-0 p-0 text-foreground",fieldsetLegend:"min-w-0 text-sm font-semibold leading-6 text-foreground",fieldsetDescription:"mt-1 text-sm leading-5 text-muted-foreground",fieldsetError:"mt-1 text-sm leading-5 text-destructive-text",fieldsetContent:"mt-3 grid min-w-0 gap-3",stepsRoot:"m-0 min-w-0 list-none p-0 text-foreground",stepsHorizontal:"flex w-full max-w-full items-start overflow-x-auto pb-2",stepsVertical:"grid",stepsItem:"relative min-w-0",stepsItemHorizontal:"flex min-w-52 flex-1 items-start",stepsItemVertical:"pb-6 last:pb-0",stepsTrigger:"flex min-w-0 flex-1 items-start gap-3 rounded-md border-0 bg-transparent p-1 text-start text-inherit",stepsTriggerInteractive:"cursor-pointer hover:bg-accent/50 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",stepsTriggerDisabled:"!cursor-not-allowed opacity-60",stepsIndicator:"relative z-[1] inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full border text-xs font-semibold",stepsIndicatorPending:"border-border bg-background text-muted-foreground",stepsIndicatorCurrent:"border-primary/50 bg-primary/10 text-primary",stepsIndicatorCompleted:"border-primary bg-primary text-primary-foreground",stepsIndicatorError:"border-destructive bg-destructive text-destructive-foreground",stepsContent:"grid min-w-0 gap-1 pt-0.5",stepsLabel:"min-w-0 break-words text-sm font-medium leading-5",stepsDescription:"min-w-0 break-words text-sm leading-5 text-muted-foreground",stepsStatus:"sr-only",stepsConnector:"shrink-0 bg-border",stepsConnectorHorizontal:"mt-3.5 h-px w-8",stepsConnectorVertical:"absolute bottom-0 top-8 start-3.5 w-px -translate-x-1/2",stepsConnectorCompleted:"bg-primary/60",stepsConnectorError:"bg-destructive/60",scrollAreaViewport:"min-h-0 min-w-0",numberInputControl:"tabular-nums",numberInputStepControls:"me-1 flex shrink-0 self-stretch overflow-hidden border-s border-border",numberInputStepButton:"flex min-h-6 w-7 cursor-pointer items-center justify-center border-0 bg-transparent px-1 text-xs leading-none text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:z-[1] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring disabled:!cursor-not-allowed disabled:opacity-40",passwordInputControl:"pe-2",passwordInputToggle:"me-1 inline-flex min-h-7 shrink-0 cursor-pointer items-center justify-center rounded px-2 text-xs font-medium text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:!cursor-not-allowed disabled:opacity-40",inputGroupRoot:a("relative flex min-w-0 items-stretch overflow-hidden rounded-md border border-border bg-background text-foreground focus-within:border-primary/50 focus-within:ring-2 focus-within:ring-ring/30",N),inputGroupInvalid:"border-destructive/55 focus-within:border-destructive/70 focus-within:ring-destructive/25",inputGroupDisabled:"!cursor-not-allowed bg-muted/35",inputGroupContent:"flex min-w-0 flex-1 items-stretch [&>*]:min-w-0",inputGroupStartElement:"inline-flex shrink-0 items-center justify-center ps-3 pe-1 text-foreground/75",inputGroupEndElement:"inline-flex shrink-0 items-center justify-center ps-1 pe-3 text-foreground/75",inputGroupStartAddon:"inline-flex max-w-[min(40%,16rem)] shrink-0 items-center overflow-hidden border-e border-border bg-muted/60 px-3 text-sm text-foreground/75 text-ellipsis whitespace-nowrap [&>*]:min-w-0",inputGroupEndAddon:"inline-flex max-w-[min(40%,16rem)] shrink-0 items-center overflow-hidden border-s border-border bg-muted/60 px-3 text-sm text-foreground/75 text-ellipsis whitespace-nowrap [&>*]:min-w-0",panelRoot:a("group relative flex min-w-0 flex-col overflow-hidden rounded-lg border border-border/70 bg-background",K),panelInteractive:"cursor-pointer hover:shadow-md",panelSelected:"border-primary/45 bg-primary/5",panelDisabled:"!cursor-not-allowed opacity-60",panelMedia:"shrink-0 overflow-hidden",panelHeader:"min-w-0 p-token-lg",panelTitle:"min-w-0 truncate text-sm font-semibold leading-none text-foreground",panelDescription:"mt-1 text-sm leading-5 text-foreground/75",panelBody:"min-w-0 px-token-lg pb-token-lg text-sm text-foreground",panelBodyStandalone:"pt-token-lg",panelFooter:"shrink-0 border-t border-border/60 px-token-lg py-token-md",stateRoot:a("flex min-h-48 flex-col items-center justify-center rounded-lg border border-border/70 bg-background px-6 py-10 text-center",N),stateIcon:"mb-token-lg flex h-12 w-12 items-center justify-center rounded-full bg-muted text-muted-foreground motion-safe:animate-in motion-safe:fade-in",stateTitle:"text-sm font-semibold text-foreground",stateDescription:"mt-2 max-w-md text-sm leading-6 text-muted-foreground",stateActions:"mt-token-xl flex flex-wrap items-center justify-center gap-token-sm",loadingSpinner:"h-5 w-5 motion-safe:animate-spin motion-reduce:animate-none",fieldRoot:"grid min-w-0 gap-token-md",fieldLabelRow:"flex min-w-0 items-center justify-between gap-token-md",fieldLabel:"min-w-0 text-sm font-medium leading-none text-foreground",fieldRequired:"text-destructive-text",fieldDescription:"text-sm leading-5 text-muted-foreground",fieldMessage:"text-sm leading-5 text-muted-foreground",fieldControl:"min-w-0",controlWrapper:a("relative flex min-w-0 items-center rounded-md border border-border bg-background text-foreground focus-within:border-primary/35",N),controlBase:"min-w-0 flex-1 bg-transparent px-3 text-sm text-foreground outline-hidden placeholder:text-muted-foreground disabled:!cursor-not-allowed",controlInput:"h-9",controlTextarea:"min-h-24 resize-y py-2 leading-6",controlSelect:"h-9 cursor-pointer appearance-none pr-9 disabled:!cursor-not-allowed",controlIcon:"pointer-events-none ml-3 inline-flex h-4 w-4 shrink-0 items-center justify-center text-muted-foreground",controlTrailing:"mr-3 inline-flex shrink-0 items-center justify-center text-muted-foreground",controlInvalid:"border-destructive/45 focus-within:border-destructive/60",controlDisabled:"!cursor-not-allowed opacity-60",controlReadOnly:"bg-muted/35",selectChevron:a("pointer-events-none absolute right-3 top-1/2 h-2 w-2 -translate-y-1/2 rotate-45 border-b border-r border-current text-muted-foreground",ve),selectMenu:"absolute left-0 right-0 top-[calc(100%+0.375rem)] z-50 max-h-60 overflow-auto rounded-md border border-border bg-background p-1 text-sm text-foreground shadow-lg outline-hidden",selectOption:a("flex min-h-8 w-full min-w-0 cursor-pointer items-center rounded-sm px-2.5 py-1.5 text-left text-sm text-foreground",K),selectOptionActive:"bg-accent text-accent-foreground",selectOptionSelected:"bg-primary/10 text-primary",selectOptionDisabled:"!cursor-not-allowed opacity-50",selectPlaceholder:"text-muted-foreground",selectNative:"sr-only",switchRoot:"inline-flex min-w-0 cursor-pointer items-start gap-3",switchInput:"sr-only",switchTrack:a("relative mt-0.5 inline-flex h-6 w-10 shrink-0 items-center rounded-full border border-border bg-muted focus-within:border-primary/35",N),switchThumb:a("h-4 w-4 translate-x-1 rounded-full bg-background shadow-sm",ve),switchChecked:"border-primary/40 bg-primary/80 text-primary-foreground",switchDisabled:"!cursor-not-allowed opacity-60",switchContent:"grid min-w-0 gap-1",switchLabel:"text-sm font-medium leading-none text-foreground",switchDescription:"text-sm leading-5 text-muted-foreground",checkboxRoot:"inline-flex min-w-0 cursor-pointer items-start gap-3",checkboxInput:"sr-only",checkboxBox:a("mt-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded border border-border bg-background text-primary focus-within:border-primary/40",N),checkboxBoxChecked:"border-primary/45 bg-primary text-primary-foreground",checkboxBoxInvalid:"border-destructive/50",checkboxIndicator:"text-xs font-bold leading-none",checkboxDisabled:"!cursor-not-allowed opacity-60",checkboxContent:"grid min-w-0 gap-1",checkboxLabel:"text-sm font-medium leading-none text-foreground",checkboxDescription:"text-sm leading-5 text-muted-foreground",radioGroupRoot:"grid min-w-0 gap-2",radioOption:a("inline-flex min-w-0 cursor-pointer items-start gap-3 rounded-md border border-border/60 bg-background px-3 py-2 text-sm",K,"hover:bg-muted/35"),radioInput:"sr-only",radioMarker:a("mt-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full border border-border bg-background text-primary focus-within:border-primary/40",N),radioMarkerChecked:"border-primary/50 bg-primary/10",radioIndicator:"h-2 w-2 rounded-full bg-primary",radioOptionDisabled:"!cursor-not-allowed opacity-60 hover:bg-background",radioContent:"grid min-w-0 gap-1",radioLabel:"text-sm font-medium leading-none text-foreground",radioDescription:"text-sm leading-5 text-muted-foreground",dialogRoot:"relative",dialogTrigger:"",dialogTriggerDisabled:"!cursor-not-allowed opacity-60",dialogOverlay:"fixed inset-0 z-50 bg-background/70 backdrop-blur-sm motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out",dialogContent:"pointer-events-none fixed inset-0 z-50 flex min-h-0 items-center justify-center p-4",dialogPanel:a("pointer-events-auto relative flex max-h-[min(85vh,720px)] w-full max-w-lg min-w-0 flex-col overflow-hidden rounded-lg border border-border/70 bg-background text-foreground shadow-xl","motion-safe:animate-in motion-safe:fade-in motion-safe:zoom-in-95 motion-safe:duration-300 motion-safe:ease-out"),dialogHeader:"grid min-w-0 gap-1 border-b border-border/60 px-5 py-4",dialogTitle:"min-w-0 pr-8 text-base font-semibold leading-6 text-foreground",dialogDescription:"text-sm leading-6 text-muted-foreground",dialogBody:"min-h-0 min-w-0 overflow-auto px-5 py-4 text-sm text-foreground",dialogFooter:"flex shrink-0 flex-wrap items-center justify-end gap-2 border-t border-border/60 px-5 py-4",dialogClose:a("absolute right-3 top-3 inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted/60 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30",K),dropdownRoot:"relative inline-flex min-w-0",dropdownTrigger:"",dropdownTriggerDisabled:"!cursor-not-allowed opacity-60",dropdownMenu:"z-50 min-w-48 overflow-hidden rounded-md border border-border bg-background p-1 text-sm text-foreground shadow-lg motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out",dropdownMenuTop:"bottom-[calc(100%+0.375rem)] top-auto",dropdownMenuEnd:"left-auto right-0",dropdownLabel:"px-2.5 py-1.5 text-xs font-semibold uppercase tracking-[0.12em] text-muted-foreground",dropdownSeparator:"my-1 h-px bg-border/70",dropdownItem:a("flex min-w-0 cursor-pointer items-center gap-2 rounded-sm px-2.5 py-2 text-left text-sm text-foreground hover:bg-accent/60 focus:bg-accent/60 data-[highlighted]:bg-accent/60 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30",K),dropdownItemDanger:"text-destructive-text hover:bg-destructive/10 focus:bg-destructive/10 data-[highlighted]:bg-destructive/10",dropdownItemDisabled:"!cursor-not-allowed opacity-50 hover:bg-transparent focus:bg-transparent data-[highlighted]:bg-transparent",dropdownItemIcon:"inline-flex h-4 w-4 shrink-0 items-center justify-center",dropdownItemContent:"grid min-w-0 flex-1 gap-0.5",dropdownItemLabel:"min-w-0 truncate",dropdownItemDescription:"min-w-0 truncate text-xs leading-4 text-muted-foreground",dropdownItemShortcut:"ml-3 shrink-0 text-xs font-medium text-muted-foreground",tooltipRoot:"relative inline-flex min-w-0",tooltipTrigger:"inline-flex min-w-0",tooltipContent:"pointer-events-none z-50 max-w-xs rounded-md border border-border bg-popover px-2.5 py-1.5 text-xs leading-5 text-popover-foreground shadow-lg motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out",noticeBase:a("flex min-w-0 gap-3 rounded-lg border px-4 py-3 text-sm",N,"motion-safe:animate-in motion-safe:fade-in"),noticeDefault:"border-border bg-background text-foreground",noticePrimary:"border-primary/25 bg-primary/10 text-primary",noticeSuccess:"border-[hsl(var(--success,142_72%_29%)_/_0.30)] bg-[hsl(var(--success,142_72%_29%)_/_0.10)] text-foreground",noticeWarning:"border-[hsl(var(--warning,45_93%_47%)_/_0.30)] bg-[hsl(var(--warning,45_93%_47%)_/_0.10)] text-[hsl(var(--warning-foreground,28_73%_26%))]",noticeDanger:"border-destructive/30 bg-destructive/10 text-destructive-text",noticeMuted:"border-border/60 bg-muted/35 text-muted-foreground",noticeIcon:"mt-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center motion-safe:animate-in motion-safe:fade-in",noticeTitle:"font-semibold leading-5",noticeDescription:"leading-6",noticeActions:"mt-3 flex flex-wrap items-center gap-2",dividerRoot:a("shrink-0 border-border/70",N),dividerLabel:"mx-3 shrink-0 text-xs font-medium uppercase tracking-[0.12em] text-muted-foreground motion-safe:animate-in motion-safe:fade-in",sectionHeaderRoot:"flex min-w-0 flex-wrap items-start justify-between gap-token-md motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out",sectionHeaderContent:"grid min-w-0 gap-1",sectionHeaderEyebrow:"text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground",sectionHeaderTitle:"text-base font-semibold leading-6 text-foreground",sectionHeaderDescription:"max-w-2xl text-sm leading-6 text-muted-foreground",sectionHeaderActions:"flex shrink-0 flex-wrap items-center gap-2",tabsRoot:"grid min-w-0 gap-token-md",tabsList:a("inline-flex min-w-0 flex-wrap items-center gap-token-xs rounded-lg border border-border/70 bg-muted/30 p-token-xs",N),tabsTrigger:a("inline-flex min-w-0 cursor-pointer items-center justify-center rounded-md px-3 py-1.5 text-sm font-medium text-muted-foreground hover:bg-background/70 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:ring-offset-1 motion-reduce:transition-none",K),tabsTriggerActive:"bg-background text-foreground shadow-sm",tabsTriggerDisabled:"!cursor-not-allowed opacity-50 hover:bg-transparent",tabsPanel:"min-w-0 rounded-lg border border-border/70 bg-background p-4 text-sm text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out motion-reduce:transition-none",segmentedRoot:a("inline-flex min-w-0 items-center gap-1 rounded-lg border border-border/70 bg-muted/30 p-1",N),segmentedItem:a("inline-flex min-w-0 cursor-pointer items-center justify-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium text-muted-foreground hover:bg-background/70 hover:text-foreground focus-visible:outline-hidden",K),segmentedItemActive:"bg-background text-foreground shadow-sm",segmentedItemDisabled:"!cursor-not-allowed opacity-50 hover:bg-transparent",progressRoot:"grid min-w-0 gap-2",progressTrack:"h-2 w-full overflow-hidden rounded-full bg-muted",progressIndicator:"h-full rounded-full bg-primary motion-safe:transition-[width] motion-safe:duration-500 motion-safe:ease-out",progressLabelRow:"flex min-w-0 items-center justify-between gap-3",progressLabel:"min-w-0 truncate text-sm font-medium text-foreground",progressValue:"shrink-0 text-xs font-medium text-muted-foreground",skeletonRoot:"relative overflow-hidden rounded-md bg-muted/70",avatarRoot:"relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full border border-border bg-muted text-sm font-semibold text-muted-foreground motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",avatarImage:"h-full w-full object-cover",avatarFallback:"flex h-full w-full items-center justify-center bg-muted text-foreground",avatarStatus:"absolute bottom-0 right-0 h-2.5 w-2.5 rounded-full border-2 border-background bg-muted-foreground motion-safe:animate-pulse",avatarText:"min-w-0 truncate text-sm font-medium text-foreground",toolbarRoot:a("flex min-w-0 flex-wrap items-center justify-between gap-token-md rounded-lg border border-border/70 bg-background px-token-lg py-token-md",N),toolbarLeading:"flex min-w-0 items-center gap-token-md",toolbarTitle:"min-w-0 truncate text-sm font-semibold text-foreground",toolbarDescription:"mt-0.5 text-sm leading-5 text-muted-foreground",toolbarContent:"min-w-0 flex-1",toolbarActions:"flex shrink-0 flex-wrap items-center gap-token-sm",breadcrumbRoot:"min-w-0 text-sm text-muted-foreground",breadcrumbList:"flex min-w-0 flex-wrap items-center gap-1.5",breadcrumbItem:"inline-flex min-w-0 items-center gap-1.5",breadcrumbLink:"min-w-0 cursor-pointer truncate text-muted-foreground hover:text-foreground disabled:!cursor-not-allowed disabled:opacity-50 aria-disabled:!cursor-not-allowed aria-disabled:opacity-50 aria-disabled:hover:text-muted-foreground motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",breadcrumbCurrent:"min-w-0 truncate font-medium text-foreground",breadcrumbSeparator:"shrink-0 text-muted-foreground/70",paginationRoot:"flex min-w-0 flex-wrap items-center justify-between gap-3 text-sm",paginationInfo:"min-w-0 text-muted-foreground",paginationControls:"flex min-w-0 flex-wrap items-center justify-end gap-1.5",paginationButton:"inline-flex h-8 min-w-8 cursor-pointer items-center justify-center whitespace-nowrap rounded-md border border-border bg-background px-2.5 text-sm font-medium text-foreground hover:bg-accent/60 disabled:!cursor-not-allowed disabled:opacity-50 motion-safe:transition motion-safe:duration-300 motion-safe:ease-out",paginationButtonDisabled:"!cursor-not-allowed opacity-50",paginationPage:"inline-flex h-8 min-w-8 cursor-default items-center justify-center rounded-md bg-muted/50 px-2.5 text-sm font-medium text-foreground hover:bg-muted/50",paginationEllipsis:"inline-flex h-8 min-w-6 items-center justify-center px-1 text-sm text-muted-foreground",descriptionListRoot:"grid min-w-0 gap-3 text-sm",descriptionListItem:"grid min-w-0 gap-1 rounded-md border border-border/60 bg-background px-3 py-2 motion-safe:transition motion-safe:duration-300 motion-safe:ease-out hover:shadow-sm",descriptionListTerm:"min-w-0 truncate text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground",descriptionListValue:"min-w-0 text-sm leading-6 text-foreground",accordionRoot:"grid min-w-0 gap-2",accordionItem:"overflow-hidden rounded-lg border border-border/70 bg-background motion-safe:transition motion-safe:duration-300 motion-safe:ease-out motion-reduce:transition-none",accordionTrigger:"flex w-full min-w-0 cursor-pointer items-center justify-between gap-3 px-4 py-3 text-start text-sm font-medium text-foreground hover:bg-muted/40 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring disabled:!cursor-not-allowed disabled:opacity-50 motion-safe:transition motion-safe:duration-300 motion-safe:ease-out motion-reduce:transition-none",accordionTriggerIcon:a("h-2 w-2 shrink-0 rotate-45 border-b border-r border-current text-muted-foreground",ve,"motion-reduce:transition-none"),accordionPanel:"border-t border-border/60 px-4 py-3 text-sm leading-6 text-muted-foreground motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300 motion-safe:ease-out motion-reduce:animate-none",menuTrigger:"inline-flex min-w-0",menuContent:"z-50 min-w-44 overflow-hidden rounded-md border border-border bg-background p-1 text-sm text-foreground shadow-lg outline-hidden motion-safe:animate-in motion-safe:fade-in motion-safe:zoom-in-95 motion-safe:duration-300 motion-safe:ease-out",menuLabel:"px-2 py-1.5 text-xs font-medium text-muted-foreground",menuSeparator:"-mx-1 my-1 h-px bg-border",menuItem:a("relative flex min-h-8 min-w-0 cursor-pointer select-none items-center gap-2 rounded-sm px-2.5 py-1.5 text-sm text-foreground outline-hidden focus:bg-accent focus:text-accent-foreground data-[disabled]:!cursor-not-allowed data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",K),menuItemDefault:"text-foreground",menuItemPrimary:"text-primary focus:text-primary data-[highlighted]:text-primary",menuItemSuccess:"text-[hsl(var(--success,142_72%_29%))] focus:text-[hsl(var(--success,142_72%_29%))] data-[highlighted]:text-[hsl(var(--success,142_72%_29%))]",menuItemWarning:"text-[hsl(var(--warning-foreground,28_73%_26%))] focus:text-[hsl(var(--warning-foreground,28_73%_26%))] data-[highlighted]:text-[hsl(var(--warning-foreground,28_73%_26%))]",menuItemDanger:"text-destructive-text focus:text-destructive-text data-[highlighted]:text-destructive-text",menuItemMuted:"text-muted-foreground focus:text-foreground data-[highlighted]:text-foreground",menuItemDisabled:"!cursor-not-allowed opacity-50 data-[disabled]:pointer-events-none",menuItemIcon:"inline-flex h-4 w-4 shrink-0 items-center justify-center",menuItemLabel:"min-w-0 flex-1 truncate",menuItemShortcut:"ml-4 shrink-0 text-xs font-medium text-muted-foreground",menuCheckboxIndicator:"absolute left-2 inline-flex h-4 w-4 items-center justify-center text-current",menuRadioIndicator:"absolute left-2 inline-flex h-4 w-4 items-center justify-center text-current",menuSubTrigger:a("relative flex min-h-8 min-w-0 cursor-pointer select-none items-center gap-2 rounded-sm px-2.5 py-1.5 text-sm text-foreground outline-hidden focus:bg-accent focus:text-accent-foreground data-[disabled]:!cursor-not-allowed data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",K),menuSubTriggerIcon:"ml-auto inline-flex h-4 w-4 shrink-0 items-center justify-center text-muted-foreground",menuSubContent:"z-50 min-w-40 overflow-hidden rounded-md border border-border bg-background p-1 text-sm text-foreground shadow-lg outline-hidden motion-safe:animate-in motion-safe:fade-in motion-safe:zoom-in-95 motion-safe:duration-300 motion-safe:ease-out",tableContainer:a("relative isolate min-w-0 overflow-auto rounded-lg border border-border/70 bg-background/95 bg-clip-padding [scrollbar-gutter:stable]","[--base-table-header-height:2.75rem] [--base-table-split-scrollbar-gutter:0.75rem]","[--base-table-sticky-header-bg:hsl(var(--background))] [--base-table-header-separator:hsl(var(--border)_/_0.7)]",dt,N),tableContainerFooterAttached:"!rounded-b-none !shadow-none",tableRoot:"w-full caption-bottom border-separate border-spacing-0 text-sm text-foreground",tableCaption:"mt-3 text-sm text-muted-foreground",tableHeader:a("relative z-[2] bg-transparent [&_tr]:bg-transparent",uo),tableBody:"[&_tr:last-child>*]:border-b-0",tableFooter:"bg-muted/30 font-medium [&_tr>*]:border-t [&_tr>*]:border-border/70",tableFooterBar:a("flex min-w-0 flex-wrap items-center justify-between gap-3 rounded-lg border border-border/70 bg-muted/20 px-4 py-3 text-sm text-foreground shadow-none",N),tableFooterBarAttached:"-mt-px rounded-t-none border-t border-border/70 shadow-none",tableFooterBarLeading:"flex min-w-0 items-center gap-2",tableFooterBarContent:"min-w-0 flex-1",tableFooterBarActions:"ms-auto flex shrink-0 flex-wrap items-center gap-2",tableSplitRoot:"grid w-full min-w-0 grid-cols-[minmax(0,1fr)] grid-rows-[auto_minmax(0,1fr)_auto] caption-bottom border-separate border-spacing-0 text-sm text-foreground",tableSplitHeader:"block w-full min-w-0 shrink-0 overflow-x-hidden overflow-y-hidden bg-transparent",tableSplitBody:a("block min-h-0 w-full min-w-0 max-w-full justify-self-stretch overflow-auto [scrollbar-gutter:stable]",dt),tableSplitFooter:"block w-full min-w-0 shrink-0 overflow-x-hidden overflow-y-hidden",tableSplitRow:"grid w-max min-w-full [grid-template-columns:var(--base-table-column-template)]",tableSplitHead:"flex min-w-0 overflow-hidden",tableSplitCell:"block min-w-0 overflow-hidden [overflow-wrap:anywhere]",tableRow:a("[&>*]:border-b [&>*]:border-border/60 data-[state=selected]:bg-primary/5 data-[state=selected]:[&>*]:bg-primary/5",N),tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--muted)_/_0.35)] hover:bg-[var(--base-table-row-hover-bg)] hover:[&>td]:bg-[var(--base-table-row-hover-bg)] hover:[&>th]:bg-[var(--base-table-row-hover-bg)]",tableRowSelected:"bg-primary/5 [&>*]:bg-primary/5",tableRowDisabled:"!cursor-not-allowed opacity-60",tableHead:"relative h-11 whitespace-nowrap px-3 py-2 text-left align-middle text-xs font-semibold text-muted-foreground shadow-[inset_0_-1px_0_var(--base-table-header-separator)]",tableHeadContent:"flex min-w-0 items-center justify-between gap-2",tableHeadMain:"flex min-w-0 items-center gap-2",tableHeadIcon:"inline-flex h-4 w-4 shrink-0 items-center justify-center text-muted-foreground",tableHeadText:"grid min-w-0 gap-0.5",tableHeadLabel:"min-w-0 truncate text-xs font-semibold leading-4 text-foreground",tableHeadDescription:"min-w-0 truncate text-xs font-normal leading-4 text-muted-foreground",tableHeadMeta:"shrink-0 text-xs font-medium text-muted-foreground",tableHeadActions:"flex shrink-0 items-center gap-1",tableHeadSortButton:a("inline-flex min-w-0 cursor-pointer items-center gap-1 rounded-sm text-left focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 disabled:!cursor-not-allowed disabled:opacity-60",N),tableHeadSortIcon:a("inline-flex h-3 w-3 shrink-0 items-center justify-center text-muted-foreground",ve),tableHeadDragHandle:a("inline-flex h-5 w-4 shrink-0 cursor-grab items-center justify-center rounded-sm text-muted-foreground hover:bg-muted active:cursor-grabbing focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 disabled:!cursor-not-allowed disabled:opacity-50",N),tableHeadResizeHandle:a("absolute end-0 top-1/2 h-7 w-2 -translate-y-1/2 cursor-col-resize touch-none rounded-sm after:absolute after:start-1/2 after:top-1/2 after:h-5 after:w-px after:-translate-x-1/2 after:-translate-y-1/2 after:bg-border hover:after:bg-primary focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30 disabled:!cursor-not-allowed disabled:opacity-50",N),tableCell:"min-w-0 px-3 py-2 align-middle text-sm text-foreground [overflow-wrap:anywhere]",tableCellAlignCenter:"text-center",tableCellAlignRight:"text-right",tableEmptyRow:"[&>*]:border-b [&>*]:border-border/60",tableEmptyCell:"px-4 py-10 text-center",tableEmptyContent:"mx-auto flex max-w-md flex-col items-center justify-center text-center",tableEmptyIcon:"mb-3 flex h-10 w-10 items-center justify-center rounded-full bg-muted text-muted-foreground",tableEmptyTitle:"text-sm font-semibold text-foreground",tableEmptyDescription:"mt-1 text-sm leading-6 text-muted-foreground",tableEmptyActions:"mt-4 flex flex-wrap items-center justify-center gap-2",tableLoadingRow:"[&>*]:border-b [&>*]:border-border/60",tableLoadingCell:"px-3 py-2",tableLoadingSkeleton:"h-4 w-full rounded-md bg-muted/70",layoutRoot:a("grid min-w-0 overflow-hidden grid-rows-[auto_minmax(0,1fr)_auto] gap-3 rounded-lg border border-border/70 bg-background p-3 text-foreground",N),layoutRootFull:"h-full min-h-0",layoutHeader:"min-w-0",layoutBody:"grid min-h-0 min-w-0 overflow-hidden gap-token-md",layoutSidebar:"min-h-0 min-w-0 overflow-hidden",layoutMain:"min-h-0 min-w-0 overflow-hidden",layoutAside:"min-h-0 min-w-0 overflow-hidden",layoutFooter:"min-w-0",layoutPane:a("h-full max-h-full min-h-0 min-w-0 overflow-hidden rounded-lg bg-background text-foreground",N),layoutPaneScrollable:"overflow-auto",layoutPaneBordered:"border border-border/70",layoutPaneMuted:"bg-muted/25",layoutPaneSoft:"bg-background/95 shadow-sm",layoutPaneTransparent:"bg-transparent shadow-none",layoutSplitRoot:"grid min-h-0 min-w-0 overflow-hidden",layoutSplitHorizontal:"grid-flow-col",layoutSplitVertical:"grid-flow-row",layoutSplitPane:"min-h-0 min-w-0 overflow-hidden",layoutSplitPrimary:"",layoutSplitSecondary:"",layoutResizeHandle:a("group/resize relative z-10 flex shrink-0 items-center justify-center bg-transparent text-muted-foreground hover:bg-border/60 active:bg-border/70 focus-visible:bg-border/60 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/30",K),layoutResizeHandleHorizontal:"w-2 cursor-col-resize",layoutResizeHandleVertical:"h-2 cursor-row-resize",layoutResizeHandleDisabled:"cursor-default opacity-60",layoutResizeHandleIndicator:"rounded-full bg-muted-foreground/45 group-hover/resize:bg-primary/70"},co={compact:{buttonBase:"h-8 px-2.5 text-xs",buttonIconOnly:"h-8 w-8 px-0",badgeBase:"px-1.5 py-0 text-xs",panelHeader:"p-token-md",panelBody:"px-token-md pb-token-md text-xs",panelBodyStandalone:"pt-token-md",panelFooter:"px-token-md py-token-md",stateRoot:"min-h-36 px-4 py-7",stateIcon:"mb-3 h-10 w-10",fieldRoot:"gap-token-sm",fieldLabel:"text-xs",fieldDescription:"text-xs leading-5",fieldMessage:"text-xs leading-5",controlInput:"h-8 text-xs",controlTextarea:"min-h-20 text-xs",controlSelect:"h-8 text-xs",selectMenu:"text-xs",selectOption:"min-h-7 px-2 py-1 text-xs",switchTrack:"h-5 w-9",switchThumb:"h-3.5 w-3.5",checkboxBox:"h-3.5 w-3.5",checkboxLabel:"text-xs",checkboxDescription:"text-xs leading-5",radioOption:"px-2 py-1.5 text-xs",radioMarker:"h-3.5 w-3.5",radioIndicator:"h-1.5 w-1.5",radioLabel:"text-xs",radioDescription:"text-xs leading-5",dialogPanel:"max-w-md",dialogHeader:"px-4 py-3",dialogTitle:"text-sm leading-5",dialogDescription:"text-xs leading-5",dialogBody:"px-4 py-3 text-xs",dialogFooter:"px-4 py-3",dropdownMenu:"min-w-44 text-xs",dropdownItem:"px-2 py-1.5 text-xs",tooltipContent:"text-xs leading-4",noticeBase:"px-3 py-2 text-xs",dividerLabel:"text-xs",sectionHeaderRoot:"gap-token-sm",sectionHeaderTitle:"text-sm leading-5",sectionHeaderDescription:"text-xs leading-5",tabsList:"gap-token-xs p-token-xs",tabsTrigger:"px-2 py-1 text-xs",tabsPanel:"p-3 text-xs",segmentedRoot:"gap-token-xs p-token-xs",segmentedItem:"px-2 py-1 text-xs",progressTrack:"h-1.5",avatarRoot:"text-xs",toolbarRoot:"gap-token-sm px-token-md py-token-md",toolbarTitle:"text-xs",toolbarDescription:"text-xs leading-5",paginationButton:"h-7 min-w-7 px-2 text-xs",paginationPage:"h-7 min-w-7 px-2 text-xs",descriptionListRoot:"gap-2 text-xs",descriptionListItem:"px-2 py-1.5",descriptionListTerm:"text-xs",descriptionListValue:"text-xs leading-5",accordionTrigger:"px-3 py-2 text-xs",accordionPanel:"px-3 py-2 text-xs leading-5",menuContent:"min-w-40 p-0.5 text-xs",menuSubContent:"min-w-36 p-0.5 text-xs",menuLabel:"px-2 py-1 text-xs",menuItem:"min-h-7 px-2 py-1 text-xs",menuSubTrigger:"min-h-7 px-2 py-1 text-xs",menuItemShortcut:"text-xs",tableContainer:"[--base-table-header-height:2.25rem]",tableHead:"h-9 px-2 py-1.5 text-xs",tableCell:"px-2 py-1.5 text-xs",tableHeadLabel:"text-xs",tableHeadDescription:"text-xs leading-3",tableLoadingCell:"px-2 py-1.5",layoutRoot:"gap-token-md p-token-md",layoutBody:"gap-token-md",layoutPane:"rounded-md text-xs",layoutResizeHandleHorizontal:"w-1.5",layoutResizeHandleVertical:"h-1.5"},default:{buttonBase:"h-9"},comfortable:{buttonBase:"h-10 px-3.5",buttonIconOnly:"h-10 w-10 px-0",badgeBase:"px-2.5 py-1",panelHeader:"p-token-xl",panelBody:"px-token-xl pb-token-xl",panelBodyStandalone:"pt-token-xl",panelFooter:"px-token-xl py-token-lg",stateRoot:"min-h-56 px-8 py-12",stateIcon:"mb-5 h-14 w-14",fieldRoot:"gap-token-md",controlInput:"h-10",controlTextarea:"min-h-28",controlSelect:"h-10",selectMenu:"p-1.5",selectOption:"min-h-9 px-3 py-2",switchTrack:"h-7 w-12",switchThumb:"h-5 w-5",checkboxBox:"h-5 w-5",radioOption:"px-4 py-3",radioMarker:"h-5 w-5",radioIndicator:"h-2.5 w-2.5",dialogPanel:"max-w-xl",dialogHeader:"px-6 py-5",dialogBody:"px-6 py-5",dialogFooter:"px-6 py-5",dropdownMenu:"min-w-56",dropdownItem:"px-3 py-2.5",noticeBase:"px-5 py-4",sectionHeaderTitle:"text-lg leading-7",tabsTrigger:"px-3.5 py-2",tabsPanel:"p-5",segmentedItem:"px-3.5 py-2",progressTrack:"h-2.5",toolbarRoot:"px-token-xl py-token-lg",paginationButton:"h-9 min-w-9 px-3",paginationPage:"h-9 min-w-9 px-3",descriptionListItem:"px-4 py-3",accordionTrigger:"px-5 py-4",accordionPanel:"px-5 py-4",menuContent:"min-w-48 p-1.5",menuSubContent:"min-w-44 p-1.5",menuItem:"min-h-9 px-3 py-2",menuSubTrigger:"min-h-9 px-3 py-2",tableContainer:"[--base-table-header-height:3rem]",tableHead:"h-12 px-4 py-3",tableCell:"px-4 py-3",tableLoadingCell:"px-4 py-3",layoutRoot:"gap-token-lg p-token-lg",layoutBody:"gap-token-lg",layoutPane:"rounded-xl",layoutResizeHandleHorizontal:"w-2.5",layoutResizeHandleVertical:"h-2.5"}},mo={none:{buttonBase:"rounded-none",badgeBase:"rounded-none",panelRoot:"rounded-none",stateRoot:"rounded-none",stateIcon:"rounded-none",controlWrapper:"rounded-none",selectMenu:"rounded-none",selectOption:"rounded-none",switchTrack:"rounded-none",switchThumb:"rounded-none",checkboxBox:"rounded-none",radioOption:"rounded-none",dialogPanel:"rounded-none",dialogClose:"rounded-none",dropdownMenu:"rounded-none",dropdownItem:"rounded-none",tooltipContent:"rounded-none",noticeBase:"rounded-none",tabsList:"rounded-none",tabsTrigger:"rounded-none",tabsPanel:"rounded-none",segmentedRoot:"rounded-none",segmentedItem:"rounded-none",progressTrack:"rounded-none",progressIndicator:"rounded-none",skeletonRoot:"rounded-none",avatarRoot:"rounded-none",avatarStatus:"rounded-none",toolbarRoot:"rounded-none",paginationButton:"rounded-none",paginationPage:"rounded-none",descriptionListItem:"rounded-none",accordionItem:"rounded-none",menuContent:"rounded-none",menuItem:"rounded-none",menuSubTrigger:"rounded-none",menuSubContent:"rounded-none",tableContainer:"rounded-none",tableEmptyIcon:"rounded-none",tableLoadingSkeleton:"rounded-none",layoutRoot:"rounded-none",layoutPane:"rounded-none"},sm:{buttonBase:"rounded-sm",badgeBase:"rounded-sm",panelRoot:"rounded-sm",stateRoot:"rounded-sm",stateIcon:"rounded-sm",controlWrapper:"rounded-sm",selectMenu:"rounded-sm",selectOption:"rounded-sm",switchTrack:"rounded-sm",switchThumb:"rounded-sm",checkboxBox:"rounded-sm",radioOption:"rounded-sm",dialogPanel:"rounded-sm",dialogClose:"rounded-sm",dropdownMenu:"rounded-sm",dropdownItem:"rounded-sm",tooltipContent:"rounded-sm",noticeBase:"rounded-sm",tabsList:"rounded-sm",tabsTrigger:"rounded-sm",tabsPanel:"rounded-sm",segmentedRoot:"rounded-sm",segmentedItem:"rounded-sm",progressTrack:"rounded-sm",progressIndicator:"rounded-sm",skeletonRoot:"rounded-sm",avatarRoot:"rounded-sm",avatarStatus:"rounded-sm",toolbarRoot:"rounded-sm",paginationButton:"rounded-sm",paginationPage:"rounded-sm",descriptionListItem:"rounded-sm",accordionItem:"rounded-sm",menuContent:"rounded-sm",menuItem:"rounded-sm",menuSubTrigger:"rounded-sm",menuSubContent:"rounded-sm",tableContainer:"rounded-sm",tableEmptyIcon:"rounded-sm",tableLoadingSkeleton:"rounded-sm",layoutRoot:"rounded-sm",layoutPane:"rounded-sm"},md:{},lg:{buttonBase:"rounded-lg",badgeBase:"rounded-lg",panelRoot:"rounded-xl",stateRoot:"rounded-xl",stateIcon:"rounded-xl",controlWrapper:"rounded-lg",selectMenu:"rounded-lg",selectOption:"rounded-md",switchTrack:"rounded-full",switchThumb:"rounded-full",checkboxBox:"rounded-md",radioOption:"rounded-xl",dialogPanel:"rounded-xl",dialogClose:"rounded-lg",dropdownMenu:"rounded-lg",dropdownItem:"rounded-md",tooltipContent:"rounded-md",noticeBase:"rounded-xl",tabsList:"rounded-xl",tabsTrigger:"rounded-lg",tabsPanel:"rounded-xl",segmentedRoot:"rounded-xl",segmentedItem:"rounded-lg",skeletonRoot:"rounded-lg",toolbarRoot:"rounded-xl",descriptionListItem:"rounded-lg",accordionItem:"rounded-xl",menuContent:"rounded-lg",menuItem:"rounded-md",menuSubTrigger:"rounded-md",menuSubContent:"rounded-lg",tableContainer:"rounded-xl",tableEmptyIcon:"rounded-xl",tableLoadingSkeleton:"rounded-lg",layoutRoot:"rounded-xl",layoutPane:"rounded-xl"},xl:{buttonBase:"rounded-xl",badgeBase:"rounded-xl",panelRoot:"rounded-2xl",stateRoot:"rounded-2xl",stateIcon:"rounded-2xl",controlWrapper:"rounded-xl",selectMenu:"rounded-xl",selectOption:"rounded-lg",switchTrack:"rounded-full",switchThumb:"rounded-full",checkboxBox:"rounded-lg",radioOption:"rounded-2xl",dialogPanel:"rounded-2xl",dialogClose:"rounded-xl",dropdownMenu:"rounded-xl",dropdownItem:"rounded-lg",tooltipContent:"rounded-lg",noticeBase:"rounded-2xl",tabsList:"rounded-2xl",tabsTrigger:"rounded-xl",tabsPanel:"rounded-2xl",segmentedRoot:"rounded-2xl",segmentedItem:"rounded-xl",skeletonRoot:"rounded-xl",toolbarRoot:"rounded-2xl",paginationButton:"rounded-xl",paginationPage:"rounded-xl",descriptionListItem:"rounded-xl",accordionItem:"rounded-2xl",menuContent:"rounded-xl",menuItem:"rounded-lg",menuSubTrigger:"rounded-lg",menuSubContent:"rounded-xl",tableContainer:"rounded-2xl",tableEmptyIcon:"rounded-2xl",tableLoadingSkeleton:"rounded-xl",layoutRoot:"rounded-2xl",layoutPane:"rounded-2xl"},full:{buttonBase:"rounded-full",badgeBase:"rounded-full",panelRoot:"rounded-2xl",stateRoot:"rounded-2xl",stateIcon:"rounded-full",controlWrapper:"rounded-full",selectMenu:"rounded-2xl",selectOption:"rounded-full",switchTrack:"rounded-full",switchThumb:"rounded-full",checkboxBox:"rounded-full",radioOption:"rounded-2xl",dialogPanel:"rounded-2xl",dialogClose:"rounded-full",dropdownMenu:"rounded-2xl",dropdownItem:"rounded-full",tooltipContent:"rounded-full",noticeBase:"rounded-2xl",tabsList:"rounded-full",tabsTrigger:"rounded-full",tabsPanel:"rounded-2xl",segmentedRoot:"rounded-full",segmentedItem:"rounded-full",progressTrack:"rounded-full",progressIndicator:"rounded-full",skeletonRoot:"rounded-full",avatarRoot:"rounded-full",avatarStatus:"rounded-full",toolbarRoot:"rounded-2xl",paginationButton:"rounded-full",paginationPage:"rounded-full",descriptionListItem:"rounded-2xl",accordionItem:"rounded-2xl",menuContent:"rounded-2xl",menuItem:"rounded-full",menuSubTrigger:"rounded-full",menuSubContent:"rounded-2xl",tableContainer:"rounded-2xl",tableEmptyIcon:"rounded-full",tableLoadingSkeleton:"rounded-full",layoutRoot:"rounded-2xl",layoutPane:"rounded-2xl"}},go={none:{buttonBase:"border-transparent",badgeBase:"border-transparent",panelRoot:"border-transparent",panelFooter:"border-transparent",stateRoot:"border-transparent",controlWrapper:"border-transparent",selectMenu:"border-transparent",switchTrack:"border-transparent",checkboxBox:"border-transparent",radioOption:"border-transparent",radioMarker:"border-transparent",dialogPanel:"border-transparent",dialogHeader:"border-transparent",dialogFooter:"border-transparent",dropdownMenu:"border-transparent",tooltipContent:"border-transparent",noticeBase:"border-transparent",dividerRoot:"border-transparent",tabsList:"border-transparent",tabsPanel:"border-transparent",segmentedRoot:"border-transparent",avatarRoot:"border-transparent",toolbarRoot:"border-transparent",paginationButton:"border-transparent",descriptionListItem:"border-transparent",accordionItem:"border-transparent",accordionPanel:"border-transparent",menuContent:"border-transparent",menuSeparator:"bg-transparent",menuSubContent:"border-transparent",tableContainer:"border-transparent [--base-table-header-separator:transparent]",tableHeader:"border-transparent",tableFooter:"[&_tr>*]:border-transparent",tableFooterBar:"border-transparent",tableFooterBarAttached:"border-t border-transparent",tableRow:"[&>*]:border-transparent",tableEmptyRow:"[&>*]:border-transparent",tableLoadingRow:"[&>*]:border-transparent",layoutRoot:"border-transparent",layoutPaneBordered:"border-transparent",layoutResizeHandle:"bg-transparent hover:bg-transparent active:bg-transparent focus-visible:bg-transparent"},subtle:{buttonDefault:"border-border/60",badgeDefault:"border-border/60",panelRoot:"border-border/60",panelFooter:"border-border/60",stateRoot:"border-border/60",controlWrapper:"border-border/60",selectMenu:"border-border/60",switchTrack:"border-border/60",checkboxBox:"border-border/60",radioOption:"border-border/60",radioMarker:"border-border/60",dialogPanel:"border-border/60",dialogHeader:"border-border/60",dialogFooter:"border-border/60",dropdownMenu:"border-border/60",tooltipContent:"border-border/60",noticeDefault:"border-border/60",dividerRoot:"border-border/60",tabsList:"border-border/60",tabsPanel:"border-border/60",segmentedRoot:"border-border/60",avatarRoot:"border-border/60",toolbarRoot:"border-border/60",paginationButton:"border-border/60",descriptionListItem:"border-border/60",accordionItem:"border-border/60",accordionPanel:"border-border/60",menuContent:"border-border/60",menuSeparator:"bg-border/60",menuSubContent:"border-border/60",tableContainer:"border-border/60 [--base-table-header-separator:hsl(var(--border)_/_0.6)]",tableHeader:"border-border/60",tableFooter:"[&_tr>*]:border-border/60",tableFooterBar:"border-border/60",tableFooterBarAttached:"border-t border-border/60",tableRow:"[&>*]:border-border/50",tableEmptyRow:"[&>*]:border-border/50",tableLoadingRow:"[&>*]:border-border/50",layoutRoot:"border-border/60",layoutPaneBordered:"border-border/60"},solid:{},strong:{buttonDefault:"border-foreground/20",badgeDefault:"border-foreground/20",panelRoot:"border-foreground/20",panelFooter:"border-foreground/20",stateRoot:"border-foreground/20",controlWrapper:"border-foreground/20",selectMenu:"border-foreground/20",switchTrack:"border-foreground/20",checkboxBox:"border-foreground/20",radioOption:"border-foreground/20",radioMarker:"border-foreground/20",dialogPanel:"border-foreground/20",dialogHeader:"border-foreground/15",dialogFooter:"border-foreground/15",dropdownMenu:"border-foreground/20",tooltipContent:"border-foreground/20",noticeDefault:"border-foreground/20",dividerRoot:"border-foreground/20",tabsList:"border-foreground/20",tabsPanel:"border-foreground/20",segmentedRoot:"border-foreground/20",avatarRoot:"border-foreground/20",toolbarRoot:"border-foreground/20",paginationButton:"border-foreground/20",descriptionListItem:"border-foreground/20",accordionItem:"border-foreground/20",accordionPanel:"border-foreground/20",menuContent:"border-foreground/20",menuSeparator:"bg-foreground/15",menuSubContent:"border-foreground/20",tableContainer:"border-foreground/20 [--base-table-header-separator:hsl(var(--foreground)_/_0.15)]",tableHeader:"border-foreground/20",tableFooter:"[&_tr>*]:border-foreground/20",tableFooterBar:"border-foreground/20",tableFooterBarAttached:"border-t border-foreground/20",tableRow:"[&>*]:border-foreground/15",tableEmptyRow:"[&>*]:border-foreground/15",tableLoadingRow:"[&>*]:border-foreground/15",layoutRoot:"border-foreground/20",layoutPaneBordered:"border-foreground/20",layoutResizeHandle:"hover:bg-foreground/15 active:bg-foreground/20 focus-visible:bg-foreground/15"}},po={plain:{},muted:{buttonDefault:"bg-muted/20 hover:bg-muted/45",panelRoot:"bg-card",panelFooter:"bg-muted/20",stateRoot:"bg-muted/20",controlWrapper:"bg-background",selectMenu:"bg-background",selectOptionActive:"bg-muted/70 text-foreground",checkboxBox:"bg-background",radioOption:"bg-card hover:bg-muted/45",radioMarker:"bg-background",dialogPanel:"bg-card",dropdownMenu:"bg-background",dropdownItem:"hover:bg-muted/60",tooltipContent:"bg-popover",noticeDefault:"bg-muted/20",tabsList:"bg-muted/35",tabsTriggerActive:"bg-background",tabsPanel:"bg-card",segmentedRoot:"bg-muted/35",segmentedItemActive:"bg-background",progressTrack:"bg-muted/60",skeletonRoot:"bg-muted",toolbarRoot:"bg-card",paginationButton:"bg-background hover:bg-muted/60",paginationPage:"bg-muted/60",descriptionListItem:"bg-card",accordionItem:"bg-card",menuContent:"bg-background",menuItem:"focus:bg-muted/70 data-[highlighted]:bg-muted/70",menuSubTrigger:"focus:bg-muted/70 data-[highlighted]:bg-muted/70 data-[state=open]:bg-muted/70",menuSubContent:"bg-background",tableContainer:"bg-background/95 [scrollbar-gutter:stable]",tableFooter:"bg-muted/35",tableFooterBar:"bg-muted/30 shadow-none",tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--muted)_/_0.45)]",tableLoadingSkeleton:"bg-muted",layoutRoot:"bg-card",layoutPane:"bg-card",layoutPaneMuted:"bg-muted/35",layoutResizeHandle:"hover:bg-border/70 active:bg-border/80 focus-visible:bg-border/70"},soft:{buttonDefault:"bg-muted/30 hover:bg-muted/55",panelRoot:"bg-background/95 shadow-sm",stateRoot:"bg-background/95 shadow-sm",controlWrapper:"bg-background/95",selectMenu:"bg-background/95 shadow-xl",selectOptionActive:"bg-muted/60 text-foreground",checkboxBox:"bg-background/95",radioOption:"bg-background/95 shadow-sm hover:bg-muted/35",radioMarker:"bg-background/95",dialogPanel:"bg-background/95 shadow-xl",dropdownMenu:"bg-background/95 shadow-xl",dropdownItem:"hover:bg-muted/55",tooltipContent:"bg-popover shadow-xl",noticeDefault:"bg-background/95 shadow-sm",tabsList:"bg-background/60 shadow-sm",tabsTriggerActive:"bg-background",tabsPanel:"bg-background/95 shadow-sm",segmentedRoot:"bg-background/60 shadow-sm",segmentedItemActive:"bg-background",skeletonRoot:"bg-background/80",toolbarRoot:"bg-background/95 shadow-sm",paginationButton:"bg-background/95 hover:bg-muted/55",descriptionListItem:"bg-background/95 shadow-sm",accordionItem:"bg-background/95 shadow-sm",menuContent:"bg-background/95 shadow-xl",menuItem:"focus:bg-muted/60 data-[highlighted]:bg-muted/60",menuSubTrigger:"focus:bg-muted/60 data-[highlighted]:bg-muted/60 data-[state=open]:bg-muted/60",menuSubContent:"bg-background/95 shadow-xl",tableContainer:"bg-background/95 shadow-sm [scrollbar-gutter:stable]",tableFooter:"bg-muted/25",tableFooterBar:"bg-muted/25 shadow-none",tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--muted)_/_0.35)]",tableLoadingSkeleton:"bg-muted/65",layoutRoot:"bg-background/95 shadow-sm",layoutPane:"bg-background/95 shadow-sm",layoutPaneSoft:"bg-background/95 shadow-md"},glass:{buttonBase:"backdrop-blur-md",buttonDefault:"border-white/10 bg-white/[0.08] text-foreground hover:bg-white/[0.14]",badgeDefault:"border-white/10 bg-white/[0.08] text-foreground",panelRoot:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",panelFooter:"border-white/10 bg-white/[0.05]",stateRoot:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",stateIcon:"bg-white/10 text-foreground",controlWrapper:"border-white/10 bg-white/[0.08] text-foreground backdrop-blur-md",selectMenu:"border-foreground/10 bg-background/10 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",selectOption:"text-foreground",selectOptionActive:"bg-white/[0.14] text-foreground",selectOptionSelected:"bg-white/[0.18] text-foreground",switchTrack:"border-white/10 bg-white/[0.12] backdrop-blur-md",checkboxBox:"border-white/10 bg-white/[0.08] backdrop-blur-md",checkboxBoxChecked:"border-white/20 bg-white/[0.22] text-foreground",radioOption:"border-white/10 bg-white/[0.06] backdrop-blur-md hover:bg-white/[0.10]",radioMarker:"border-white/10 bg-white/[0.08] backdrop-blur-md",radioMarkerChecked:"border-white/25 bg-white/[0.16]",dialogOverlay:"bg-background/45 backdrop-blur-md",dialogPanel:"border-white/10 bg-white/[0.08] shadow-2xl backdrop-blur-md",dialogHeader:"border-white/10",dialogFooter:"border-white/10",dropdownMenu:"border-foreground/10 bg-background/10 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",dropdownItem:"text-foreground hover:bg-white/[0.14]",tooltipContent:"border-foreground/10 bg-background/15 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",noticeDefault:"border-white/10 bg-white/[0.08] text-foreground backdrop-blur-md",dividerRoot:"border-white/15",tabsList:"border-white/10 bg-white/[0.08] backdrop-blur-md",tabsTrigger:"text-muted-foreground hover:bg-white/[0.12] hover:text-foreground",tabsTriggerActive:"bg-white/[0.16] text-foreground shadow-none",tabsPanel:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",segmentedRoot:"border-white/10 bg-white/[0.08] backdrop-blur-md",segmentedItem:"text-muted-foreground hover:bg-white/[0.12] hover:text-foreground",segmentedItemActive:"bg-white/[0.16] text-foreground shadow-none",progressTrack:"bg-white/[0.12]",skeletonRoot:"bg-white/[0.16]",avatarRoot:"border-white/10 bg-white/[0.12] text-foreground",avatarFallback:"bg-white/[0.12] text-foreground",avatarStatus:"border-background",toolbarRoot:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",paginationButton:"border-white/10 bg-white/[0.08] text-foreground hover:bg-white/[0.14]",paginationPage:"bg-white/[0.12] text-foreground",descriptionListItem:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",accordionItem:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",accordionPanel:"border-white/10",menuContent:"border-foreground/10 bg-background/10 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",menuSeparator:"bg-white/10",menuItem:"text-foreground focus:bg-white/[0.14] focus:text-foreground data-[highlighted]:bg-white/[0.14] data-[highlighted]:text-foreground",menuSubTrigger:"text-foreground focus:bg-white/[0.14] focus:text-foreground data-[highlighted]:bg-white/[0.14] data-[highlighted]:text-foreground data-[state=open]:bg-white/[0.16]",menuSubContent:"border-foreground/10 bg-background/10 text-foreground shadow-[0_18px_60px_hsl(var(--foreground)/0.18)] backdrop-blur-md",tableContainer:"border-foreground/10 bg-background/[0.06] shadow-none backdrop-blur-md [scrollbar-gutter:stable] [--base-table-sticky-header-bg:hsl(var(--background)/0.94)] [--base-table-header-separator:hsl(var(--foreground)/0.24)]",tableHeader:"border-white/10",tableFooter:"bg-white/[0.05] [&_tr>*]:border-white/10",tableFooterBar:"border-white/10 bg-white/[0.05] shadow-none backdrop-blur-md",tableFooterBarAttached:"border-t border-white/10",tableRow:"[&>*]:border-white/10",tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--foreground)/0.08)]",tableHeadLabel:"text-foreground",tableLoadingSkeleton:"bg-white/[0.16]",layoutRoot:"border-white/10 bg-white/[0.05] shadow-none backdrop-blur-md",layoutPane:"border-white/10 bg-white/[0.06] shadow-none backdrop-blur-md",layoutPaneMuted:"bg-white/[0.08]",layoutPaneSoft:"bg-white/[0.10] shadow-none backdrop-blur-md",layoutResizeHandle:"text-foreground/65 hover:bg-white/10 active:bg-white/15 focus-visible:bg-white/10",layoutResizeHandleIndicator:"bg-white/45 group-hover/resize:bg-white/75"},dark:{buttonBase:"border-white/15 text-white shadow-lg backdrop-blur",buttonDefault:"bg-black/30 hover:bg-black/[0.45]",buttonPrimary:"border-white/25 bg-white/20 text-white hover:bg-white/25",buttonMuted:"border-white/10 bg-black/20 text-white/70 hover:bg-black/[0.35] hover:text-white",badgeDefault:"border-white/10 bg-white/[0.08] text-white",badgeMuted:"border-white/10 bg-black/20 text-white/70",panelRoot:"border-white/10 bg-slate-950 text-white shadow-none",panelTitle:"text-white",panelDescription:"text-white/65",panelBody:"text-white/85",panelFooter:"border-white/10 bg-white/[0.04]",stateRoot:"border-white/10 bg-slate-950 text-white shadow-none",stateIcon:"bg-white/10 text-white/75",stateTitle:"text-white",stateDescription:"text-white/65",fieldLabel:"text-white",fieldDescription:"text-white/65",fieldMessage:"text-white/65",controlWrapper:"border-white/15 bg-black/30 text-white shadow-lg backdrop-blur focus-within:border-white/35",controlBase:"text-white placeholder:text-white/45",selectChevron:"text-white/65",selectMenu:"border-white/15 bg-slate-950 text-white shadow-2xl",selectOption:"text-white",selectOptionActive:"bg-white/[0.12] text-white",selectOptionSelected:"bg-white/[0.16] text-white",selectPlaceholder:"text-white/45",switchTrack:"border-white/15 bg-black/30 shadow-lg backdrop-blur",switchChecked:"border-white/25 bg-white/25 text-white",switchLabel:"text-white",switchDescription:"text-white/65",checkboxBox:"border-white/15 bg-black/30 text-white shadow-lg backdrop-blur",checkboxBoxChecked:"border-white/25 bg-white/25 text-white",checkboxLabel:"text-white",checkboxDescription:"text-white/65",radioOption:"border-white/10 bg-white/[0.06] text-white hover:bg-white/[0.08]",radioMarker:"border-white/15 bg-black/30 text-white shadow-lg backdrop-blur",radioMarkerChecked:"border-white/25 bg-white/25",radioIndicator:"bg-white",radioLabel:"text-white",radioDescription:"text-white/65",dialogOverlay:"bg-slate-950/75",dialogPanel:"border-white/10 bg-slate-950 text-white shadow-2xl",dialogHeader:"border-white/10",dialogTitle:"text-white",dialogDescription:"text-white/65",dialogBody:"text-white/85",dialogFooter:"border-white/10",dialogClose:"text-white/65 hover:bg-white/[0.08] hover:text-white",dropdownMenu:"border-white/15 bg-slate-950 text-white shadow-2xl",dropdownLabel:"text-white/55",dropdownSeparator:"bg-white/15",dropdownItem:"text-white hover:bg-white/[0.10]",dropdownItemDescription:"text-white/55",dropdownItemShortcut:"text-white/55",tooltipContent:"border-white/15 bg-slate-950 text-white shadow-2xl",noticeDefault:"border-white/10 bg-white/[0.08] text-white",noticeMuted:"border-white/10 bg-black/20 text-white/70",dividerRoot:"border-white/15",dividerLabel:"text-white/55",sectionHeaderEyebrow:"text-white/55",sectionHeaderTitle:"text-white",sectionHeaderDescription:"text-white/65",tabsList:"border-white/10 bg-white/[0.08]",tabsTrigger:"text-white/65 hover:bg-white/[0.12] hover:text-white",tabsTriggerActive:"bg-white/[0.16] text-white shadow-none",tabsPanel:"border-white/10 bg-white/[0.06] text-white",segmentedRoot:"border-white/10 bg-white/[0.08]",segmentedItem:"text-white/65 hover:bg-white/[0.12] hover:text-white",segmentedItemActive:"bg-white/[0.16] text-white shadow-none",progressTrack:"bg-white/[0.12]",progressLabel:"text-white",progressValue:"text-white/65",skeletonRoot:"bg-white/[0.14]",avatarRoot:"border-white/15 bg-white/[0.10] text-white",avatarFallback:"bg-white/[0.10] text-white/75",avatarText:"text-white",avatarStatus:"border-slate-950",toolbarRoot:"border-white/10 bg-white/[0.06] text-white",toolbarTitle:"text-white",toolbarDescription:"text-white/65",breadcrumbLink:"text-white/65 hover:text-white",breadcrumbCurrent:"text-white",breadcrumbSeparator:"text-white/45",paginationInfo:"text-white/65",paginationButton:"border-white/10 bg-white/[0.08] text-white hover:bg-white/[0.14]",paginationPage:"bg-white/[0.14] text-white",descriptionListItem:"border-white/10 bg-white/[0.06]",descriptionListTerm:"text-white/55",descriptionListValue:"text-white",accordionItem:"border-white/10 bg-white/[0.06]",accordionTrigger:"text-white hover:bg-white/[0.08]",accordionPanel:"border-white/10 text-white/70",tableContainer:"border-foreground/10 bg-background text-foreground shadow-none [scrollbar-gutter:stable] [--base-table-sticky-header-bg:hsl(var(--background)/0.98)] [--base-table-header-separator:hsl(var(--foreground)/0.16)]",tableRoot:"text-white",tableHeader:"border-white/10",tableFooter:"bg-white/[0.05] [&_tr>*]:border-white/10",tableFooterBar:"border-white/10 bg-white/[0.05] text-white/65",tableFooterBarAttached:"border-t border-white/10",tableRow:"[&>*]:border-white/10",tableRowInteractive:"cursor-pointer [--base-table-row-hover-bg:hsl(var(--foreground)/0.06)]",tableHead:"text-white/65",tableHeadLabel:"text-white",tableHeadDescription:"text-white/55",tableHeadMeta:"text-white/55",tableHeadIcon:"text-white/55",tableHeadSortIcon:"text-white/55",tableHeadDragHandle:"text-white/55 hover:bg-white/[0.08]",tableHeadResizeHandle:"after:bg-white/20 hover:after:bg-white/60",tableCell:"text-white/85",tableEmptyIcon:"bg-white/10 text-white/65",tableEmptyTitle:"text-white",tableEmptyDescription:"text-white/60",menuContent:"border-white/10 bg-slate-950 text-white shadow-2xl",menuLabel:"text-white/55",menuSeparator:"bg-white/10",menuItem:"text-white focus:bg-white/[0.10] focus:text-white data-[highlighted]:bg-white/[0.10] data-[highlighted]:text-white",menuItemDefault:"text-white",menuItemPrimary:"text-primary focus:text-primary data-[highlighted]:text-primary",menuItemSuccess:"text-[hsl(var(--success,142_69%_58%))] focus:text-[hsl(var(--success,142_69%_58%))] data-[highlighted]:text-[hsl(var(--success,142_69%_58%))]",menuItemWarning:"text-[hsl(var(--warning-foreground,53_98%_77%))] focus:text-[hsl(var(--warning-foreground,53_98%_77%))] data-[highlighted]:text-[hsl(var(--warning-foreground,53_98%_77%))]",menuItemDanger:"text-destructive-text focus:text-destructive-text data-[highlighted]:text-destructive-text",menuItemMuted:"text-white/65 focus:text-white data-[highlighted]:text-white",menuItemShortcut:"text-white/45",menuSubTrigger:"text-white focus:bg-white/[0.10] focus:text-white data-[highlighted]:bg-white/[0.10] data-[highlighted]:text-white data-[state=open]:bg-white/[0.12]",menuSubTriggerIcon:"text-white/55",menuSubContent:"border-white/10 bg-slate-950 text-white shadow-2xl",tableLoadingSkeleton:"bg-white/[0.14]",layoutRoot:"border-white/10 bg-slate-950 text-white shadow-none",layoutPane:"border-white/10 bg-slate-950 text-white shadow-none",layoutPaneMuted:"bg-white/[0.06]",layoutPaneSoft:"bg-white/[0.08] shadow-none",layoutResizeHandle:"text-white/65 hover:bg-white/10 active:bg-white/15 focus-visible:bg-white/10",layoutResizeHandleIndicator:"bg-white/45 group-hover/resize:bg-white/75"}},lt={default:{density:"default",radius:"md",border:"solid",background:"plain"},soft:{density:"default",radius:"lg",border:"subtle",background:"soft"},compact:{density:"compact",radius:"md",border:"subtle",background:"muted"},"tinted-glass":{density:"default",radius:"lg",border:"subtle",background:"glass"},glass:{density:"default",radius:"xl",border:"subtle",background:"glass"},"hard-edge":{density:"compact",radius:"none",border:"strong",background:"plain"}},bo={soft:{buttonBase:"font-medium",panelRoot:"border-border/70",controlWrapper:"font-medium",tabsTrigger:"font-medium",segmentedItem:"font-medium",toolbarRoot:"border-border/70",tableContainer:"border-border/70",tableFooterBar:"border-border/70",tableHeadLabel:"font-semibold",menuItemLabel:"font-medium"},compact:{buttonBase:"text-xs",badgeBase:"text-xs",fieldLabel:"text-xs",controlBase:"text-xs",selectOption:"text-xs",menuItem:"text-xs",menuSubTrigger:"text-xs",noticeBase:"text-xs",sectionHeaderTitle:"text-sm",tabsTrigger:"text-xs",segmentedItem:"text-xs",toolbarTitle:"text-xs",paginationRoot:"text-xs"},"tinted-glass":{buttonPrimary:"border-primary/25 bg-primary/15 text-primary-foreground hover:bg-primary/20",badgePrimary:"border-primary/25 bg-primary/15 text-primary-foreground",noticePrimary:"border-primary/25 bg-primary/15 text-primary-foreground",progressIndicator:"bg-primary",avatarStatus:"border-background"},glass:{panelRoot:"shadow-[0_24px_80px_hsl(var(--foreground)/0.12)]",stateRoot:"shadow-[0_24px_80px_hsl(var(--foreground)/0.12)]",noticeBase:"shadow-[0_18px_60px_hsl(var(--foreground)/0.10)]",tabsPanel:"shadow-[0_18px_60px_hsl(var(--foreground)/0.10)]",toolbarRoot:"shadow-[0_18px_60px_hsl(var(--foreground)/0.10)]",descriptionListItem:"shadow-[0_12px_40px_hsl(var(--foreground)/0.08)]",accordionItem:"shadow-[0_12px_40px_hsl(var(--foreground)/0.08)]"},"hard-edge":{buttonBase:"shadow-none",panelRoot:"shadow-none",stateRoot:"shadow-none",controlWrapper:"shadow-none",selectMenu:"shadow-none",menuContent:"shadow-none",menuSubContent:"shadow-none",noticeBase:"shadow-none",tabsList:"shadow-none",tabsTriggerActive:"shadow-none",tabsPanel:"shadow-none",segmentedRoot:"shadow-none",segmentedItemActive:"shadow-none",toolbarRoot:"shadow-none",descriptionListItem:"shadow-none",accordionItem:"shadow-none"}};function fo(e){return lt[e]??lt.default}o(fo,"getPresetDefaults");var ho=Object.keys(ut),xo=it(ho,a);function yo(...e){return Object.assign({},...e.filter(Boolean))}o(yo,"mergeStyles");function ct(e){let t=e?.preset??"default",r=e?.variant??"default",n=fo(t),s=e?.density??n.density??"default",d=e?.state??"idle",u=e?.radius??n.radius??"md",c=e?.border??n.border??"solid",w=e?.background??n.background??"plain";return {preset:t,variant:r,density:s,state:d,radius:u,border:c,background:w,styles:yo(lo,e?.styles),slots:xo(ut,bo[t],co[s],mo[u],go[c],po[w],e?.slots)}}o(ct,"resolveBaseAppearance");function mt(e,t="default",r=false){return a(t==="default"&&e.slots.buttonDefault,t==="primary"&&e.slots.buttonPrimary,t==="success"&&e.slots.buttonSuccess,t==="warning"&&e.slots.buttonWarning,t==="danger"&&e.slots.buttonDanger,t==="muted"&&e.slots.buttonMuted,r&&e.slots.buttonActive)}o(mt,"getBaseButtonToneClassName");var Ro=["default","primary","success","warning","danger","muted"];function Z(e,t){if(typeof e!="boolean")throw new TypeError(`BaseDialog ${t} must be a boolean.`)}o(Z,"validateBoolean");function To(e){if(!Ro.includes(e))throw new TypeError('BaseDialog triggerTone must be "default", "primary", "success", "warning", "danger", or "muted".')}o(To,"validateTriggerTone");function So({trigger:e,triggerLabel:t,triggerIcon:r,triggerTone:n,triggerDisabled:s,theme:d}){return ee(e)?jsxRuntime.jsx("span",{role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,onKeyDown:u=>{s||(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),u.currentTarget.click());},children:e}):ee(t)?jsxRuntime.jsxs("button",{type:"button",disabled:s,"aria-label":typeof t=="string"&&t.trim()?t:void 0,className:a(d.slots.buttonBase,mt(d,n),s&&d.slots.buttonDisabled),style:{...d.styles.button,...s?d.styles.buttonDisabled:void 0},children:[ee(r)?jsxRuntime.jsx("span",{"data-slot":"icon",className:d.slots.buttonIcon,children:r}):null,jsxRuntime.jsx("span",{"data-slot":"label",className:d.slots.buttonLabel,children:t})]}):null}o(So,"renderTrigger");var pt=react.forwardRef(o(function({open:t,defaultOpen:r=false,size:n="default",title:s,description:d,header:u,footer:c,trigger:w,triggerLabel:_,triggerIcon:M,triggerTone:x="default",triggerDisabled:b=false,closeLabel:h,closeOnEscape:W=true,closeOnOverlayClick:z=true,showCloseButton:V=true,keepMounted:v=false,trapFocus:A=true,restoreFocus:U=true,initialFocus:B="first-interactive",initialFocusRef:l,zIndex:g,portal:p=false,appearance:R,className:oe,classNames:f,style:F,children:I,onOpenChange:de,id:re,...Y},le){if(t!==void 0&&Z(t,"open"),Z(r,"defaultOpen"),!["default","viewport","page"].includes(n))throw new TypeError("BaseDialog size must be default, viewport or page.");if(Z(b,"triggerDisabled"),Z(W,"closeOnEscape"),Z(z,"closeOnOverlayClick"),Z(V,"showCloseButton"),Z(v,"keepMounted"),Z(A,"trapFocus"),Z(U,"restoreFocus"),Z(p,"portal"),To(x),B!=="first-interactive"&&B!=="container"&&B!=="explicit")throw new TypeError('BaseDialog initialFocus must be "first-interactive", "container", or "explicit".');if(g!==void 0&&!Number.isFinite(g))throw new TypeError("BaseDialog zIndex must be a finite number.");let Q=et().dialog,ne=tt(R),y=nt(),X=h===void 0?Q.close:h,i=ct(ne),P=st({disabled:!p}),[k,T]=react.useState(r),E=react.useRef(null),L=react.useRef(null),D=t!==void 0,S=D?t:k,m=p&&P.shouldPortal?"portaled":"inline",J=ee(s),$=ee(d),O=ee(u);if(V&&(typeof X!="string"||!X.trim()))throw new TypeError("BaseDialog closeLabel must be a non-empty string when showCloseButton is true.");let ae=o(C=>{D||T(C),de?.(C);},"handleOpenChange");react.useEffect(()=>{if(!S||!v)return;let C=E.current,q=C?.ownerDocument,ue=q?.defaultView;if(!C||!q||!ue)return;L.current=q.activeElement instanceof ue.HTMLElement?q.activeElement:null;let ze=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),Wt=o(()=>{let G=C.querySelector(ze);(B==="container"?C:B==="explicit"?l?.current??C:G??C).focus();},"focusInitial"),Vt=ue.requestAnimationFrame(Wt),$e=o(G=>{if(G.key==="Escape"&&W){G.preventDefault(),G.stopPropagation(),ae(false);return}if(G.key!=="Tab"||!A)return;let ge=Array.from(C.querySelectorAll(ze));if(ge.length===0){G.preventDefault(),C.focus();return}let je=ge[0],Fe=ge[ge.length-1];G.shiftKey&&q.activeElement===je?(G.preventDefault(),Fe.focus()):!G.shiftKey&&q.activeElement===Fe&&(G.preventDefault(),je.focus());},"handleKeyDown");return ue.addEventListener("keydown",$e),()=>{ue.cancelAnimationFrame(Vt),ue.removeEventListener("keydown",$e),U&&L.current?.isConnected&&L.current.focus();}},[W,B,l,S,v,U,A]);let me=O||J||$?jsxRuntime.jsxs("div",{...y,"data-monkeys-component":"dialog","data-slot":"header","data-state":S?"open":"closed","data-portal":m,className:a(i.slots.dialogHeader,f?.header,n==="page"&&"sr-only"),children:[O?u:null,J?jsxRuntime.jsx(j__namespace.Title,{...y,"data-monkeys-component":"dialog","data-slot":"title","data-state":S?"open":"closed","data-portal":m,className:O?"sr-only":a(i.slots.dialogTitle,f?.title),children:s}):null,$?jsxRuntime.jsx(j__namespace.Description,{...y,"data-monkeys-component":"dialog","data-slot":"description","data-state":S?"open":"closed","data-portal":m,className:O?"sr-only":a(i.slots.dialogDescription,f?.description),children:d}):null]}):null,He=So({trigger:w,triggerLabel:_,triggerIcon:M,triggerTone:x,triggerDisabled:b,theme:i}),_e=S||v?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(j__namespace.Overlay,{forceMount:v||void 0,hidden:!S,...y,"aria-hidden":"true","data-monkeys-component":"dialog","data-slot":"overlay","data-portal":m,className:a(i.slots.dialogOverlay,f?.overlay),style:{...i.styles.dialogOverlay,zIndex:g,...n==="page"?{background:"transparent",backdropFilter:"none"}:{}}}),jsxRuntime.jsx("div",{...y,hidden:!S,"data-monkeys-component":"dialog","data-slot":"content","data-state":S?"open":"closed","data-portal":m,className:a(i.slots.dialogContent,f?.content),style:{zIndex:g,...n==="page"?{padding:0,inset:0}:{}},children:jsxRuntime.jsx(j__namespace.Content,{forceMount:v||void 0,...y,...J?{}:{"aria-labelledby":void 0},...$?{}:{"aria-describedby":void 0},asChild:true,onOpenAutoFocus:C=>{if(v){C.preventDefault();return}let q=E.current;L.current=q?.ownerDocument.activeElement,(B==="container"||B==="explicit")&&(C.preventDefault(),(B==="explicit"?l?.current??q:q)?.focus({preventScroll:true}));},onCloseAutoFocus:C=>{if(v||!U){C.preventDefault();return}let q=L.current;q?.isConnected&&(C.preventDefault(),q.focus({preventScroll:true}));},onEscapeKeyDown:C=>{(v||!W)&&C.preventDefault();},onPointerDownOutside:C=>{z||C.preventDefault();},children:jsxRuntime.jsxs("div",{...y,ref:E,tabIndex:-1,"aria-modal":"true","data-monkeys-component":"dialog","data-slot":"panel","data-portal":m,className:a(i.slots.dialogPanel,f?.panel),"data-presentation":n,style:{...i.styles.dialogPanel,...n!=="default"?{width:n==="page"?"100vw":"96vw",maxWidth:"none",height:n==="page"?"100dvh":"94dvh",maxHeight:n==="page"?"100dvh":"94dvh",display:"flex",flexDirection:"column"}:{},...n==="page"?{borderRadius:0,border:0,boxShadow:"none",margin:0,animation:"none"}:{}},children:[me,V?jsxRuntime.jsx(j__namespace.Close,{asChild:true,children:jsxRuntime.jsx("button",{...y,type:"button","aria-label":X,title:X,"data-monkeys-component":"dialog","data-slot":"close","data-state":S?"open":"closed","data-portal":m,className:a(i.slots.dialogClose,f?.close),children:"\xD7"})}):null,jsxRuntime.jsx("div",{...y,"data-monkeys-component":"dialog","data-slot":"body","data-state":S?"open":"closed","data-portal":m,className:a(i.slots.dialogBody,f?.body),style:n!=="default"?{minHeight:0,flex:"1 1 0%",overflow:"hidden",padding:0}:void 0,children:I}),ee(c)?jsxRuntime.jsx("div",{...y,"data-monkeys-component":"dialog","data-slot":"footer","data-state":S?"open":"closed","data-portal":m,className:a(i.slots.dialogFooter,f?.footer),children:c}):null]})})})]}):null;return jsxRuntime.jsx("div",{...y,...Y,ref:le,id:re,"data-monkeys-component":"dialog","data-slot":"root","data-state":S?"open":"closed","data-portal":m,className:a(i.slots.dialogRoot,f?.root,oe),style:F,children:jsxRuntime.jsxs(j__namespace.Root,{open:S,onOpenChange:ae,modal:!v&&A,children:[He?jsxRuntime.jsx(j__namespace.Trigger,{...y,asChild:true,disabled:b,"data-monkeys-component":"dialog","data-slot":"trigger","data-portal":m,"data-tone":x,"data-disabled":b||void 0,className:a(i.slots.dialogTrigger,b&&i.slots.dialogTriggerDisabled,f?.trigger),children:He}):null,p&&P.shouldPortal?jsxRuntime.jsx(se,{children:jsxRuntime.jsx(j__namespace.Portal,{...P.radixPortalProps,forceMount:v||void 0,children:_e})}):jsxRuntime.jsx(se,{children:_e})]})})},"BaseDialog"));function bt(e,t){let r=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[^a-zA-Z0-9]+/g,"-").replace(/^-+|-+$/g,"").toLowerCase();return `--${t}-${r}`}o(bt,"toCssVariableName");var Mo={"semantic.color.background":"--background","semantic.color.foreground":"--foreground","semantic.color.card":"--card","semantic.color.card-foreground":"--card-foreground","semantic.color.popover":"--popover","semantic.color.popover-foreground":"--popover-foreground","semantic.color.primary":"--primary","semantic.color.primary-foreground":"--primary-foreground","semantic.color.secondary":"--secondary","semantic.color.secondary-foreground":"--secondary-foreground","semantic.color.muted":"--muted","semantic.color.muted-foreground":"--muted-foreground","semantic.color.accent":"--accent","semantic.color.accent-foreground":"--accent-foreground","semantic.color.destructive":"--destructive","semantic.color.destructive-foreground":"--destructive-foreground","semantic.color.success":"--success","semantic.color.success-foreground":"--success-foreground","semantic.color.warning":"--warning","semantic.color.warning-foreground":"--warning-foreground","semantic.color.border":"--border","semantic.color.input":"--input","semantic.color.ring":"--ring","semantic.color.media-surface":"--media-surface","semantic.color.media-foreground":"--media-foreground","semantic.color.media-overlay":"--media-overlay","semantic.color.radar-canvas":"--radar-canvas","semantic.color.radar-panel":"--radar-panel","semantic.color.radar-border":"--radar-border","semantic.color.radar-shell-border":"--radar-shell-border","semantic.color.radar-grid":"--radar-grid","semantic.color.radar-axis":"--radar-axis","semantic.color.radar-series-one":"--radar-series-one","semantic.color.radar-series-two":"--radar-series-two","semantic.color.radar-series-three":"--radar-series-three","semantic.color.radar-series-four":"--radar-series-four"},Io=Object.freeze({...Object.fromEntries(["grid","axis","fillStart","fillEnd","glow","label","value"].map(e=>[`component.chart.radar.${e}`,{variableName:bt(`chart.radar.${e}`,"monkeys"),axis:"colorMode",expectedType:"color",format:"css"}])),...Object.fromEntries(Object.entries(Mo).map(([e,t])=>[e,{variableName:t,axis:"colorMode",expectedType:"color",format:"hsl"}])),"semantic.color.neocard":{variableName:"--neocard",axis:"colorMode",expectedType:"color",format:"css"},"semantic.radius.base":{variableName:"--radius",axis:"colorMode",expectedType:"dimension",format:"css"},"semantic.spacing.global":{variableName:"--global-spacing",axis:"density",expectedType:"dimension",format:"css"},"semantic.gradient.brand":{variableName:"--monkeys-gradient",axis:"colorMode",expectedType:"gradient",format:"css"},"semantic.font.body":{variableName:"--font-sans",axis:"colorMode",expectedType:"fontFamily",format:"css"}});function Be(e){let t=e.startsWith("$")?e.slice(1).trim():e.trim();if(!/^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$/i.test(t))throw new TypeError(`Invalid Design Token path ${e}.`);let r=Io[t];return r?r.format==="hsl"?`hsl(var(${r.variableName}))`:`var(${r.variableName})`:`var(${bt(t,"monkeys")})`}o(Be,"resolveThemeTokenCssVariable");var te=o(e=>e?.id,"refIdentity"),Te=o(e=>({"data-monkeys-node-id":e.nodeId,"data-monkeys-node-kind":e.kind,"data-monkeys-node-version":e.version,"data-monkeys-owner":e.ownerRepo,"data-monkeys-parent-node":e.parentNodeId,"data-monkeys-slot":e.slot,"data-monkeys-page-id":te(e.pageRef),"data-monkeys-semantic-id":te(e.semanticRef),"data-monkeys-data-context-id":te(e.dataContextRef),"data-monkeys-capability-id":te(e.capabilityRef),"data-monkeys-provider-id":te(e.providerRef),"data-monkeys-state-id":te(e.stateRef),"data-monkeys-frame-owner":e.surface.frameOwner,"data-monkeys-surface-tone":e.surface.tone,"data-monkeys-density":e.surface.density,"data-monkeys-scroll-owner":e.scroll.owner,"data-monkeys-scroll-axis":e.scroll.axis,"data-monkeys-scroll-restore-key":e.scroll.restoreKey,"data-monkeys-virtualization-boundary":e.scroll.virtualizationBoundary,"data-monkeys-activation-id":e.activation.activationId,"data-monkeys-activation-mode":e.activation.mode,"data-monkeys-mount-policy":e.lifecycle.mountPolicy,"data-monkeys-query-policy":e.lifecycle.queryPolicy,"data-monkeys-deep-link":e.lifecycle.deepLink,"data-monkeys-focus-return":e.lifecycle.focusReturn,"data-monkeys-layout-mode":e.layout.mode,"data-monkeys-responsive-rules":e.responsive.length,"data-monkeys-child-count":e.children.length,"data-monkeys-access-id":te(e.accessRef),"data-monkeys-evidence-id":te(e.evidenceRef),"data-monkeys-render-state":e.state}),"getRenderNodeDataAttributes"),Le=o(e=>`monkeys.render.scroll.${e}`,"sessionStorageKey"),wt={read(e){if(!(typeof window>"u"))try{let t=window.sessionStorage.getItem(Le(e));if(!t)return;let r=JSON.parse(t);return typeof r.x=="number"&&typeof r.y=="number"?{x:r.x,y:r.y}:void 0}catch{return}},write(e,t){if(!(typeof window>"u"))try{window.sessionStorage.setItem(Le(e),JSON.stringify(t));}catch{}},remove(e){if(!(typeof window>"u"))try{window.sessionStorage.removeItem(Le(e));}catch{}}},vt=o((e,t)=>{if(t===void 0)return e.layout;let r=e.responsive.filter(n=>(n.minWidthPx===void 0||t>=n.minWidthPx)&&(n.maxWidthPx===void 0||t<=n.maxWidthPx));return r.length===0?e.layout:r[r.length-1].layout},"resolveRenderNodeLayout"),kt=o((e,t,r)=>{let n=r===void 0?[]:t.filter(s=>(s.minWidthPx===void 0||r>=s.minWidthPx)&&(s.maxWidthPx===void 0||r<=s.maxWidthPx)&&s.style);return n.length===0?e:n.reduce((s,d)=>({...s,...d.style}),{...e??{}})},"resolveRenderNodeResponsiveStyle"),Lo={contents:"contents",block:"block",flex:"flex",grid:"grid",absolute:"absolute"},Eo={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch"},Do={start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around"},Rt=o(e=>Be(e),"tokenPathToCssVariable"),Oo=o(e=>e?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,typeof r=="string"&&r.startsWith("$")?Rt(r):r])):void 0,"resolveRenderNodeStyle"),Ao=o(e=>{if(e.gapTokenRef)return {gap:Rt(`$${e.gapTokenRef.id}`)}},"resolveRenderNodeGap"),Ho=o(e=>a(Lo[e.mode],e.mode==="flex"&&(e.direction==="row"?"flex-row":"flex-col"),e.align&&Eo[e.align],e.justify&&Do[e.justify]),"getRenderLayoutClassName"),Ee=o((e,t,r)=>e.lifecycle.mountPolicy==="always"?true:e.lifecycle.mountPolicy==="when-visible"?r:t,"shouldMountNode"),_o=o((e,t,r,n)=>e.lifecycle.queryPolicy==="always"?true:e.lifecycle.queryPolicy==="when-visible"?r:e.lifecycle.queryPolicy==="when-active"?t:n,"shouldQueryNode"),Tt=o((e,t)=>{let r=Ee(e,t.active,t.visible);return {active:t.active,visible:t.visible,mounted:r||e.lifecycle.retainOnDeactivate&&t.previouslyMounted===true,queryEnabled:_o(e,t.active,t.visible,t.manualQueryEnabled===true)}},"resolveRenderNodePolicyState"),ht=o((e,t,r,n,s)=>e.state==="loading"&&r!==void 0?r:e.state==="empty"&&n!==void 0?n:e.state==="error"&&s!==void 0?s:t,"resolveRenderNodeContent"),xt=o((e,t)=>{typeof e=="function"?e(t):e&&(e.current=t);},"assignRef"),fe=react.forwardRef(o(function({node:t,as:r="div",active:n=true,visible:s=n,manualQueryEnabled:d=false,asChild:u=false,unframed:c=false,children:w,loading:_,empty:M,error:x,elementRef:b,scrollRestoration:h=wt,onActivate:W,onManualQueryEnabledChange:z,onRuntimeStateChange:V,onScroll:v,className:A,hidden:U,role:B,"aria-live":l,"aria-atomic":g,...p},R){let oe=Me(),f=u?reactSlot.Slot:r,F=react.useRef(null),[I,de]=react.useState(()=>typeof window>"u"?void 0:window.innerWidth),[re,Y]=react.useState(()=>Ee(t,n,s)?t.nodeId:void 0),le=Ee(t,n,s);react.useEffect(()=>{if(t.responsive.length===0||typeof window>"u")return;let m=o(()=>de(window.innerWidth),"handleResize");return m(),window.addEventListener("resize",m,{passive:true}),()=>window.removeEventListener("resize",m)},[t.responsive.length]);let Q=react.useMemo(()=>vt(t,I),[t,I]),ne=react.useMemo(()=>kt(t.style,t.responsive,I),[t.responsive,t.style,I]);react.useEffect(()=>{if(!n||!s||!t.lifecycle.deepLink||!["page","record"].includes(t.kind))return;let m=F.current;!m||m.style.display==="contents"||m.focus({preventScroll:true});},[n,t.kind,t.lifecycle.deepLink,t.nodeId,s]),react.useEffect(()=>{le?Y(t.nodeId):t.lifecycle.retainOnDeactivate||Y(void 0);},[t.lifecycle.retainOnDeactivate,t.nodeId,le]);let y=react.useMemo(()=>Tt(t,{active:n,visible:s,manualQueryEnabled:d,previouslyMounted:re===t.nodeId}),[n,d,re,t,s]),X=react.useCallback(()=>{W?.(t.activation,t);},[t,W]),i=react.useCallback(m=>{z?.(m,t);},[t,z]),P=react.useMemo(()=>({...y,activate:X,setManualQueryEnabled:i}),[X,y,i]);react.useEffect(()=>{V?.(y,t);},[t,V,y]);let k=react.useCallback(m=>{F.current=m,xt(b,m),xt(R,m);},[b,R]),T=h===false?void 0:h,E=T!==void 0&&t.scroll.owner!=="provider"&&!t.scroll.virtualizationBoundary&&t.scroll.axis!=="none"&&t.scroll.restoreKey!==void 0,L=react.useCallback(()=>{let m=F.current;return m?{x:t.scroll.axis==="y"?0:m.scrollLeft,y:t.scroll.axis==="x"?0:m.scrollTop}:{x:0,y:0}},[t.scroll.axis]);if(react.useEffect(()=>{if(!y.mounted||!E||!T)return;let m=t.scroll.restoreKey,J=F.current,$=T.read(m),O;if(J&&$){let ae=o(()=>J.scrollTo({left:t.scroll.axis==="y"?J.scrollLeft:$.x,top:t.scroll.axis==="x"?J.scrollTop:$.y,behavior:"auto"}),"restore");typeof window<"u"&&typeof window.requestAnimationFrame=="function"?O=window.requestAnimationFrame(ae):ae();}return ()=>{O!==void 0&&typeof window<"u"&&window.cancelAnimationFrame(O),T.write(m,L());}},[t.scroll.axis,t.scroll.restoreKey,y.mounted,L,E,T]),!y.mounted)return null;let D={...p,...Te(t),ref:k,className:a((!c||Q.mode!=="contents")&&Ho(Q),A),style:{...Q.mode==="grid"&&Q.columns?{gridTemplateColumns:`repeat(${Q.columns}, minmax(0, 1fr))`}:{},...oe>0&&["flex","grid"].includes(Q.mode)?{gap:"var(--monkeys-bento-gap, var(--global-spacing, 0.75rem))"}:{},...Ao(Q),...Oo(ne),...p.style},hidden:U||!y.visible||void 0,role:B??(t.state==="error"?"alert":t.state==="loading"||t.state==="empty"?"status":void 0),tabIndex:p.tabIndex??(t.lifecycle.deepLink&&["page","record"].includes(t.kind)?-1:void 0),"data-monkeys-active":y.active,"data-monkeys-mounted":y.mounted,"data-monkeys-query-enabled":y.queryEnabled,"aria-busy":t.state==="loading"||void 0,"aria-disabled":t.state==="disabled"||void 0,"aria-hidden":!y.visible||void 0,"aria-live":l??(t.state==="error"?"assertive":t.state==="loading"||t.state==="empty"?"polite":void 0),"aria-atomic":g??(t.state==="loading"||t.state==="empty"||t.state==="error"?true:void 0),onScroll:o(m=>{E&&T&&t.scroll.restoreKey&&T.write(t.scroll.restoreKey,L()),v?.(m);},"onScroll")},S=typeof w=="function"?w(c?{...P,elementProps:D}:P):w;return c?jsxRuntime.jsx(jsxRuntime.Fragment,{children:ht(t,S,_,M,x)}):jsxRuntime.jsx(f,{...D,ref:k,children:ht(t,S,_,M,x)})},"RenderNodeHost"));var jo={popover:40,drawer:50,modal:60,fullscreen:70,system:80},Pt=o(e=>jo[e],"getOverlayZIndex"),Fo={drawer:{content:"!items-stretch !justify-end !p-0",panel:"!h-dvh !max-h-none !w-full !max-w-[min(100vw,40rem)] !rounded-none !border-y-0 !border-r-0",body:"min-h-0 flex-1 overflow-auto"},modal:{},fullscreen:{content:"!items-stretch !justify-stretch !p-0",panel:"!h-dvh !max-h-none !w-screen !max-w-none !rounded-none !border-0",body:"min-h-0 flex-1 overflow-auto"}},Nt=o(e=>({...Fo[e]}),"getOverlayPresentationClassNames"),Wo=o((e,t)=>e.startsWith("/")&&!e.startsWith("//")?`${t.pathname}${t.search}${t.hash}`:t.toString(),"relativeUrl"),Se=o((e,t)=>new URL(t,"https://monkeys.local").searchParams.get(e.url.parameter)===e.url.value,"isOverlayUrlActive"),Bt=o((e,t,r)=>{let n=new URL(t,"https://monkeys.local");return r?n.searchParams.set(e.url.parameter,e.url.value):n.searchParams.get(e.url.parameter)===e.url.value&&n.searchParams.delete(e.url.parameter),Wo(t,n)},"buildOverlayUrl"),Lt={getCurrentUrl(){return typeof window>"u"?"https://monkeys.local/":window.location.href},push(e){typeof window<"u"&&window.history.pushState(window.history.state,"",e);},replace(e){typeof window<"u"&&window.history.replaceState(window.history.state,"",e);},back(){typeof window<"u"&&window.history.back();},subscribe(e){if(typeof window>"u")return ()=>{};let t=o(()=>e(window.location.href),"handlePopState");return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)}},Vo=o(e=>{e?.isConnected&&(typeof window<"u"&&typeof window.requestAnimationFrame=="function"?window.requestAnimationFrame(()=>e.focus()):e.focus());},"scheduleFocus");function Uo({node:e,open:t,renderStrategy:r="dialog",title:n,description:s,footer:d,closeLabel:u,children:c,appearance:w,className:_,classNames:M,initialFocusRef:x,focusReturnRef:b,historyAdapter:h=Lt,manualQueryEnabled:W=false,onActivate:z,onRuntimeStateChange:V,onOpenChange:v}){let A=react.useRef(false),U=react.useRef(false),B=Pt(e.zIndexLane),l=react.useCallback(f=>{if(!e.renderNode.lifecycle.deepLink||h===false)return;let F=h.getCurrentUrl();if(Se(e,F)===f)return;let I=Bt(e,F,f);if(f){e.url.openMode==="push"?(h.push(I),A.current=true):(h.replace(I),A.current=false);return}e.url.closeMode==="back"&&A.current?(A.current=false,h.back()):(h.replace(I),A.current=false);},[h,e]),g=react.useCallback(f=>{l(f),v(f);},[v,l]);react.useEffect(()=>{if(!e.renderNode.lifecycle.deepLink||h===false)return;let f=Se(e,h.getCurrentUrl());return U.current?f!==t&&l(t):(U.current=true,f&&!t?v(true):!f&&t&&l(true)),h.subscribe(F=>{A.current=false;let I=Se(e,F);I!==t&&v(I);})},[h,e,v,t,l]),react.useEffect(()=>{if(!t||!e.renderNode.lifecycle.focusReturn||typeof document>"u")return;let f=b?.current??(document.activeElement instanceof HTMLElement?document.activeElement:null);return ()=>Vo(b?.current??f)},[b,e.renderNode.lifecycle.focusReturn,t]);let p=react.useMemo(()=>Te(e.renderNode),[e.renderNode]),R=Nt(e.presentation),oe={...M,body:M?.body??R.body,content:M?.content??R.content,panel:M?.panel??R.panel};return jsxRuntime.jsx(fe,{node:e.renderNode,active:t,visible:t,manualQueryEnabled:W,className:_,style:r==="delegate"?{display:"contents"}:void 0,onActivate:z,onRuntimeStateChange:V,children:f=>{let F={...f,open:t,zIndexLane:e.zIndexLane,zIndex:B,initialFocusRef:x,focusReturnRef:b,renderNodeAttributes:p,onOpenChange:g,requestClose:o(()=>g(false),"requestClose")},I=typeof c=="function"?c(F):c;return r==="delegate"?I:jsxRuntime.jsx(pt,{id:e.overlayId,open:t,title:n,description:s,footer:d,closeLabel:u,closeOnEscape:e.close.escape,closeOnOverlayClick:e.close.backdrop,keepMounted:e.renderNode.lifecycle.retainOnDeactivate,trapFocus:e.focus.trap,restoreFocus:false,initialFocus:e.focus.initial,initialFocusRef:x,zIndex:B,appearance:w,classNames:oe,"data-monkeys-overlay-presentation":e.presentation,"data-monkeys-overlay-z-index-lane":e.zIndexLane,onOpenChange:g,children:I})}})}o(Uo,"OverlayNodeHost");var Jo=o(e=>e.kind==="shell"?"main":e.kind==="navigation"?"nav":e.kind==="detail"?"aside":e.kind==="record"?"article":"section","defaultElementForNode");function De(e){let{tree:t,maxMaterializedNodes:r=4096}=e;if(!Number.isSafeInteger(r)||r<1||r>4096)throw new RangeError("RenderTree materialization budget must be an integer from 1 to 4096.");let n=react.useMemo(()=>runtime.compileRenderTree(t),[t]),s=react.useMemo(()=>new Map(n.traversal.map(c=>[c.nodeId,n.childrenOf(c.nodeId)])),[n]),d=react.useMemo(()=>new Set(n.traversal.filter(c=>c.scroll.virtualizationBoundary).flatMap(c=>n.childrenOf(c.nodeId).map(w=>w.nodeId))),[n]),u=react.useMemo(()=>({chunks:new Map,limit:r}),[n,r]);return jsxRuntime.jsx(At,{options:e,compiled:n,childrenByNode:s,deferredNodeIds:d,budget:u,root:n.root})}o(De,"RenderTreeHost");function At({options:e,compiled:t,childrenByNode:r,deferredNodeIds:n,budget:s,root:d,scope:u,instanceKey:c}){let{maxMaterializedNodes:w=4096,resolveNodeInstances:_,wrapNode:M,activeNodeIds:x,visibleNodeIds:b,manualQueryNodeIds:h,loading:W,empty:z,error:V,elementForNode:v=Jo,asChildForNode:A,unframedForNode:U,classNameForNode:B,elementRefForNode:l,scrollRestoration:g,renderNode:p,onActivate:R,onManualQueryEnabledChange:oe,onRuntimeStateChange:f}=e,F=react.useRef({}),I=react.useRef(),de=new Map;react.useEffect(()=>{I.current={compiled:t,entries:de};});let re=o((i,P,k)=>{let T=I.current?.compiled===t?I.current.entries.get(i):void 0,E=T&&T.inputs.length===P.length&&P.every((L,D)=>Object.is(L,T.inputs[D]))?T:{inputs:P,element:k()};return de.set(i,E),E.element},"reuse"),Y=0,le=0,Q=o((i,P,k)=>{let T=_?.(i,P);if(T===void 0)return ne(i,P,k);let E=new Set,L=T.map(({key:D,scope:S})=>{if(!D||E.has(D))throw new TypeError(`RenderNode ${i.nodeId} requires unique non-empty instance keys.`);return E.add(D),ne(i,S,JSON.stringify([k??null,i.nodeId,D]))});return L.length===1?L[0]:re(JSON.stringify(["branch",i.nodeId,k??null]),L,()=>L)},"renderBranch"),ne=o((i,P,k)=>{if(i!==d&&n.has(i.nodeId)){if(++le>w)throw new RangeError("RenderTree materialization budget exceeded.");return jsxRuntime.jsx(At,{options:e,compiled:t,childrenByNode:r,deferredNodeIds:n,budget:s,root:i,scope:P,instanceKey:k},JSON.stringify([i.nodeId,k??null]))}if(++Y>w)throw new RangeError("RenderTree materialization budget exceeded.");let T=r.get(i.nodeId),E=T.map(D=>Q(D,P,k)),L={as:v(i),asChild:A?.(i),unframed:U?.(i),active:x?.has(i.nodeId)??true,visible:b?.has(i.nodeId)??true,manualQueryEnabled:h?.has(i.nodeId)??false,loading:W,empty:z,error:V,className:B?.(i),elementRef:l?.(i),scrollRestoration:g,onActivate:R,onManualQueryEnabledChange:oe,onRuntimeStateChange:f};return re(JSON.stringify(["node",i.nodeId,k??null]),[i,P,p,M,...Object.values(L),...E],()=>{let D=k&&i.scroll.restoreKey?{...i,scroll:{...i.scroll,restoreKey:JSON.stringify([i.scroll.restoreKey,k])}}:i,S=T.reduce(($,O,ae)=>{let me=O.slot??O.nodeId;return ($[me]??($[me]=[])).push(E[ae]),$},{}),m=Object.freeze(Object.fromEntries(Object.entries(S).map(([$,O])=>[$,O.length===1?O[0]:jsxRuntime.jsx(jsxRuntime.Fragment,{children:O})]))),J=jsxRuntime.jsx(fe,{node:D,"data-monkeys-instance-key":k,...L,children:$=>{let O=p?.({...$,node:D,scope:P,instanceKey:k,children:E,childNodes:T,childrenBySlot:m})??E;return M?M({node:D,scope:P,instanceKey:k,content:O}):O}},JSON.stringify([i.nodeId,k??null]));return i.kind==="page"||i.kind==="overlay"?jsxRuntime.jsx(se,{children:J},JSON.stringify([i.nodeId,k??null])):J})},"renderInstance"),y=d===t.root?Q(d,u,c):ne(d,u,c);return (typeof window>"u"?react.useEffect:react.useLayoutEffect)(()=>{let i=F.current;if(s.chunks.set(i,Y),[...s.chunks.values()].reduce((k,T)=>k+T,0)>s.limit)throw s.chunks.delete(i),new RangeError("RenderTree materialization budget exceeded.");return ()=>{s.chunks.delete(i);}},[s,Y]),jsxRuntime.jsx(jsxRuntime.Fragment,{children:y})}o(At,"MaterializedBranch");var jt="__monkeysRenderTree",$t=o(()=>{if(typeof window>"u")return;let e=window.history.state?.[jt];return e?.contract==="RenderTreeRuntimeSnapshot"?e:void 0},"readBrowserSnapshot"),Oe=o(e=>({...typeof window>"u"||!window.history.state||typeof window.history.state!="object"?{}:window.history.state,[jt]:e}),"withSnapshot"),Ko=o(()=>{typeof window>"u"||window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}));},"notifyBrowserHistory"),Ft={read:$t,replace(e){typeof window<"u"&&window.history.replaceState(Oe(e),"",window.location.href);},push(e){typeof window<"u"&&window.history.pushState(Oe(e),"",window.location.href);},navigate(e,t,r){typeof window>"u"||(window.history[t==="replace"?"replaceState":"pushState"](Oe(r),"",e),Ko());},subscribe(e){if(typeof window>"u")return ()=>{};let t=o(()=>e($t()),"onPopState");return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)}},Zo=o(e=>{e?.isConnected&&(typeof window<"u"&&typeof window.requestAnimationFrame=="function"?window.requestAnimationFrame(()=>e.focus({preventScroll:true})):e.focus({preventScroll:true}));},"scheduleFocus");function Ae({tree:e,historyAdapter:t=Ft,onActivate:r,onRuntimeStateChange:n,...s}){let d=react.useMemo(()=>runtime.compileRenderTree(e),[e]),u=react.useMemo(()=>new Set(d.traversal.map(l=>l.nodeId)),[d]),[c,w]=react.useState(()=>new Set(u)),[_,M]=react.useState(()=>new Set),x=react.useRef(),b=react.useRef(c),h=react.useRef(_),W=react.useRef(new Map),z=react.useCallback((l=b.current,g=h.current,p=x.current)=>({contract:"RenderTreeRuntimeSnapshot",treeId:e.treeId,activeNodeIds:[...l],manualQueryNodeIds:[...g],selectedActivationId:p}),[e.treeId]),V=react.useCallback(l=>{if(!l||l.treeId!==e.treeId||l.activeNodeIds.some(R=>!u.has(R))||l.manualQueryNodeIds.some(R=>!u.has(R)))return false;let g=new Set(l.activeNodeIds);if(!g.has(e.rootNodeId))return false;let p=new Set(l.manualQueryNodeIds);return x.current=l.selectedActivationId,b.current=g,h.current=p,w(g),M(p),true},[u,e.rootNodeId,e.treeId]);react.useEffect(()=>{let l=t===false?void 0:t.read();if(!V(l)){let g=new Set(u),p=new Set;b.current=g,h.current=p,x.current=void 0,w(g),M(p),t!==false&&t.replace(z(g,p));}return t===false?void 0:t.subscribe(V)},[u,V,t,z]);let v=react.useCallback(l=>{let g=new Set(d.ancestorsOf(l.nodeId).map(R=>R.nodeId)),p=o(R=>{g.add(R.nodeId),d.childrenOf(R.nodeId).forEach(p);},"addDescendants");return p(l),g},[d]),A=react.useCallback((l,g)=>{g.lifecycle.focusReturn&&typeof document<"u"&&document.activeElement instanceof HTMLElement&&W.current.set(g.nodeId,document.activeElement),x.current=l.activationId;let p=l.mode==="select"||l.mode==="inline"?v(g):b.current;b.current=p,w(p);let R=z(p);if(l.mode==="navigate"){if(!l.targetPath)throw new TypeError(`Navigate activation ${l.activationId} has no targetPath.`);t!==false&&t.navigate(l.targetPath,l.history??"push",R);}else t!==false&&g.lifecycle.deepLink&&(l.history==="push"?t.push(R):t.replace(R));r?.(l,g);},[t,r,v,z]),U=react.useCallback((l,g)=>{let p=new Set(h.current);l?p.add(g.nodeId):p.delete(g.nodeId),h.current=p,M(p),t!==false&&t.replace(z(b.current,p));},[t,z]),B=react.useRef(c);return react.useEffect(()=>{for(let l of B.current){if(c.has(l))continue;d.nodesById.get(l)?.lifecycle.focusReturn&&Zo(W.current.get(l));}B.current=c;},[c,d.nodesById]),jsxRuntime.jsx(De,{...s,tree:e,activeNodeIds:c,visibleNodeIds:c,manualQueryNodeIds:_,onActivate:A,onManualQueryEnabledChange:U,onRuntimeStateChange:n})}o(Ae,"RenderTreeRuntimeHost");var Xo=o((e,t)=>{let r=e.dataContextRef?.id;return r?t[r]:void 0},"defaultResolveBinding");function er({tree:e,components:t,bindings:r={},resolveBinding:n=Xo,renderMissingComponent:s,...d}){return jsxRuntime.jsx(Ae,{...d,tree:e,renderNode:u=>{let c=t[u.node.capabilityRef.id];return c?c({...u,binding:n(u.node,r),model:u.node.renderModel}):s?.(u)??u.children}})}o(er,"RenderTreeRegistryHost");
32
32
 
33
- exports.ApplicationHandoffLink = Vt;
33
+ exports.ApplicationHandoffLink = Qt;
34
34
  exports.BentoScope = se;
35
- exports.OverlayNodeHost = Fo;
36
- exports.RenderNodeHost = pe;
37
- exports.RenderTreeHost = Le;
38
- exports.RenderTreeRegistryHost = Yo;
39
- exports.RenderTreeRuntimeHost = De;
40
- exports.browserOverlayHistoryAdapter = Bt;
41
- exports.browserRenderTreeHistoryAdapter = _t;
42
- exports.buildOverlayUrl = Pt;
43
- exports.getOverlayPresentationClassNames = It;
44
- exports.getOverlayZIndex = Mt;
45
- exports.getRenderNodeDataAttributes = ke;
46
- exports.isOverlayUrlActive = Re;
47
- exports.resolveRenderNodeLayout = yt;
48
- exports.resolveRenderNodePolicyState = kt;
49
- exports.resolveRenderNodeResponsiveStyle = wt;
50
- exports.sessionRenderNodeScrollRestoration = xt;
35
+ exports.OverlayNodeHost = Uo;
36
+ exports.RenderNodeHost = fe;
37
+ exports.RenderTreeHost = De;
38
+ exports.RenderTreeRegistryHost = er;
39
+ exports.RenderTreeRuntimeHost = Ae;
40
+ exports.browserOverlayHistoryAdapter = Lt;
41
+ exports.browserRenderTreeHistoryAdapter = Ft;
42
+ exports.buildOverlayUrl = Bt;
43
+ exports.getOverlayPresentationClassNames = Nt;
44
+ exports.getOverlayZIndex = Pt;
45
+ exports.getRenderNodeDataAttributes = Te;
46
+ exports.isOverlayUrlActive = Se;
47
+ exports.resolveRenderNodeLayout = vt;
48
+ exports.resolveRenderNodePolicyState = Tt;
49
+ exports.resolveRenderNodeResponsiveStyle = kt;
50
+ exports.sessionRenderNodeScrollRestoration = wt;
51
51
  //# sourceMappingURL=index.js.map
52
52
  //# sourceMappingURL=index.js.map