xmlui 0.9.45 → 0.9.46

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.
@@ -1,12 +1,12 @@
1
- (function(ve,d){typeof exports=="object"&&typeof module<"u"?d(exports,require("react/jsx-runtime"),require("react"),require("classnames"),require("@radix-ui/react-visually-hidden"),require("lodash-es"),require("@remix-run/react"),require("react-day-picker"),require("date-fns"),require("@radix-ui/react-popover"),require("@radix-ui/react-dropdown-menu"),require("react-dom"),require("immer"),require("@radix-ui/react-dialog"),require("use-context-selector"),require("react-dropzone"),require("@radix-ui/react-select"),require("cmdk"),require("@radix-ui/react-radio-group"),require("react-textarea-autosize"),require("@radix-ui/react-slider"),require("@internationalized/number"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("@radix-ui/react-accordion"),require("@eslint-community/regexpp"),require("embla-carousel-react"),require("embla-carousel-autoplay")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","classnames","@radix-ui/react-visually-hidden","lodash-es","@remix-run/react","react-day-picker","date-fns","@radix-ui/react-popover","@radix-ui/react-dropdown-menu","react-dom","immer","@radix-ui/react-dialog","use-context-selector","react-dropzone","@radix-ui/react-select","cmdk","@radix-ui/react-radio-group","react-textarea-autosize","@radix-ui/react-slider","@internationalized/number","@tanstack/react-table","@tanstack/react-virtual","@radix-ui/react-accordion","@eslint-community/regexpp","embla-carousel-react","embla-carousel-autoplay"],d):(ve=typeof globalThis<"u"?globalThis:ve||self,d(ve["xmlui-metadata"]={},ve["react/jsx-runtime"],ve.React,ve.classnames,ve.VisuallyHidden$1,ve.lodashEs,ve.react,ve.reactDayPicker,ve.dateFns,ve.reactPopover,ve.ReactDropdownMenu,ve.ReactDOM,ve.produce,ve.SheetPrimitive,ve.useContextSelector,ve.dropzone,ve.reactSelect,ve.cmdk,ve.InnerRadioGroup,ve.TextareaAutosize,ve.reactSlider,ve.number,ve.reactTable,ve.reactVirtual,ve.RAccordion,ve.regexpp,ve.useEmblaCarousel,ve.Autoplay))})(this,function(ve,d,s,re,Oi,Be,Ba,Li,ut,Dt,nr,_i,Nr,vs,Vi,xs,vt,Ot,fs,gs,_o,Ai,Vo,Ts,Cs,Wi,ys,Hs){"use strict";function zr(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const ze=zr(s),Ss=zr(Oi),Ao=zr(nr),ao=zr(vs),ks=zr(xs),$a=zr(fs),ws=zr(Cs),Ye={themeVars:`'{"padding-Button": "var(--xmlui-padding-Button)", "paddingHorizontal-Button": "var(--xmlui-paddingHorizontal-Button, var(--xmlui-padding-Button))", "paddingVertical-Button": "var(--xmlui-paddingVertical-Button, var(--xmlui-padding-Button))", "paddingLeft-Button": "var(--xmlui-paddingLeft-Button, var(--xmlui-paddingHorizontal-Button, var(--xmlui-padding-Button)))", "paddingRight-Button": "var(--xmlui-paddingRight-Button, var(--xmlui-paddingHorizontal-Button, var(--xmlui-padding-Button)))", "paddingTop-Button": "var(--xmlui-paddingTop-Button, var(--xmlui-paddingVertical-Button, var(--xmlui-padding-Button)))", "paddingBottom-Button": "var(--xmlui-paddingBottom-Button, var(--xmlui-paddingVertical-Button, var(--xmlui-padding-Button)))", "padding-Button-xs": "var(--xmlui-padding-Button-xs)", "paddingHorizontal-Button-xs": "var(--xmlui-paddingHorizontal-Button-xs, var(--xmlui-padding-Button-xs))", "paddingVertical-Button-xs": "var(--xmlui-paddingVertical-Button-xs, var(--xmlui-padding-Button-xs))", "paddingLeft-Button-xs": "var(--xmlui-paddingLeft-Button-xs, var(--xmlui-paddingHorizontal-Button-xs, var(--xmlui-padding-Button-xs)))", "paddingRight-Button-xs": "var(--xmlui-paddingRight-Button-xs, var(--xmlui-paddingHorizontal-Button-xs, var(--xmlui-padding-Button-xs)))", "paddingTop-Button-xs": "var(--xmlui-paddingTop-Button-xs, var(--xmlui-paddingVertical-Button-xs, var(--xmlui-padding-Button-xs)))", "paddingBottom-Button-xs": "var(--xmlui-paddingBottom-Button-xs, var(--xmlui-paddingVertical-Button-xs, var(--xmlui-padding-Button-xs)))", "padding-Button-sm": "var(--xmlui-padding-Button-sm)", "paddingHorizontal-Button-sm": "var(--xmlui-paddingHorizontal-Button-sm, var(--xmlui-padding-Button-sm))", "paddingVertical-Button-sm": "var(--xmlui-paddingVertical-Button-sm, var(--xmlui-padding-Button-sm))", "paddingLeft-Button-sm": "var(--xmlui-paddingLeft-Button-sm, var(--xmlui-paddingHorizontal-Button-sm, var(--xmlui-padding-Button-sm)))", "paddingRight-Button-sm": "var(--xmlui-paddingRight-Button-sm, var(--xmlui-paddingHorizontal-Button-sm, var(--xmlui-padding-Button-sm)))", "paddingTop-Button-sm": "var(--xmlui-paddingTop-Button-sm, var(--xmlui-paddingVertical-Button-sm, var(--xmlui-padding-Button-sm)))", "paddingBottom-Button-sm": "var(--xmlui-paddingBottom-Button-sm, var(--xmlui-paddingVertical-Button-sm, var(--xmlui-padding-Button-sm)))", "padding-Button-md": "var(--xmlui-padding-Button-md)", "paddingHorizontal-Button-md": "var(--xmlui-paddingHorizontal-Button-md, var(--xmlui-padding-Button-md))", "paddingVertical-Button-md": "var(--xmlui-paddingVertical-Button-md, var(--xmlui-padding-Button-md))", "paddingLeft-Button-md": "var(--xmlui-paddingLeft-Button-md, var(--xmlui-paddingHorizontal-Button-md, var(--xmlui-padding-Button-md)))", "paddingRight-Button-md": "var(--xmlui-paddingRight-Button-md, var(--xmlui-paddingHorizontal-Button-md, var(--xmlui-padding-Button-md)))", "paddingTop-Button-md": "var(--xmlui-paddingTop-Button-md, var(--xmlui-paddingVertical-Button-md, var(--xmlui-padding-Button-md)))", "paddingBottom-Button-md": "var(--xmlui-paddingBottom-Button-md, var(--xmlui-paddingVertical-Button-md, var(--xmlui-padding-Button-md)))", "padding-Button-lg": "var(--xmlui-padding-Button-lg)", "paddingHorizontal-Button-lg": "var(--xmlui-paddingHorizontal-Button-lg, var(--xmlui-padding-Button-lg))", "paddingVertical-Button-lg": "var(--xmlui-paddingVertical-Button-lg, var(--xmlui-padding-Button-lg))", "paddingLeft-Button-lg": "var(--xmlui-paddingLeft-Button-lg, var(--xmlui-paddingHorizontal-Button-lg, var(--xmlui-padding-Button-lg)))", "paddingRight-Button-lg": "var(--xmlui-paddingRight-Button-lg, var(--xmlui-paddingHorizontal-Button-lg, var(--xmlui-padding-Button-lg)))", "paddingTop-Button-lg": "var(--xmlui-paddingTop-Button-lg, var(--xmlui-paddingVertical-Button-lg, var(--xmlui-padding-Button-lg)))", "paddingBottom-Button-lg": "var(--xmlui-paddingBottom-Button-lg, var(--xmlui-paddingVertical-Button-lg, var(--xmlui-padding-Button-lg)))", "width-Button": "var(--xmlui-width-Button)", "height-Button": "var(--xmlui-height-Button)", "fontFamily-Button-primary-solid": "var(--xmlui-fontFamily-Button-primary-solid)", "fontSize-Button-primary-solid": "var(--xmlui-fontSize-Button-primary-solid)", "fontWeight-Button-primary-solid": "var(--xmlui-fontWeight-Button-primary-solid)", "borderRadius-Button-primary-solid": "var(--xmlui-borderRadius-Button-primary-solid)", "borderWidth-Button-primary-solid": "var(--xmlui-borderWidth-Button-primary-solid)", "borderColor-Button-primary-solid": "var(--xmlui-borderColor-Button-primary-solid)", "borderStyle-Button-primary-solid": "var(--xmlui-borderStyle-Button-primary-solid)", "backgroundColor-Button-primary-solid": "var(--xmlui-backgroundColor-Button-primary-solid)", "textColor-Button-primary-solid": "var(--xmlui-textColor-Button-primary-solid)", "boxShadow-Button-primary-solid": "var(--xmlui-boxShadow-Button-primary-solid)", "outlineWidth-Button-primary-solid--focus": "var(--xmlui-outlineWidth-Button-primary-solid--focus)", "outlineColor-Button-primary-solid--focus": "var(--xmlui-outlineColor-Button-primary-solid--focus)", "outlineStyle-Button-primary-solid--focus": "var(--xmlui-outlineStyle-Button-primary-solid--focus)", "outlineOffset-Button-primary-solid--focus": "var(--xmlui-outlineOffset-Button-primary-solid--focus)", "borderColor-Button-primary-solid--hover": "var(--xmlui-borderColor-Button-primary-solid--hover)", "textColor-Button-primary-solid--hover": "var(--xmlui-textColor-Button-primary-solid--hover)", "backgroundColor-Button-primary-solid--hover": "var(--xmlui-backgroundColor-Button-primary-solid--hover)", "borderColor-Button-primary-solid--active": "var(--xmlui-borderColor-Button-primary-solid--active)", "textColor-Button-primary-solid--active": "var(--xmlui-textColor-Button-primary-solid--active)", "boxShadow-Button-primary-solid--active": "var(--xmlui-boxShadow-Button-primary-solid--active)", "backgroundColor-Button-primary-solid--active": "var(--xmlui-backgroundColor-Button-primary-solid--active)", "backgroundColor-Button--disabled": "var(--xmlui-backgroundColor-Button--disabled)", "textColor-Button--disabled": "var(--xmlui-textColor-Button--disabled)", "borderColor-Button--disabled": "var(--xmlui-borderColor-Button--disabled)", "fontFamily-Button-secondary-solid": "var(--xmlui-fontFamily-Button-secondary-solid)", "fontSize-Button-secondary-solid": "var(--xmlui-fontSize-Button-secondary-solid)", "fontWeight-Button-secondary-solid": "var(--xmlui-fontWeight-Button-secondary-solid)", "borderRadius-Button-secondary-solid": "var(--xmlui-borderRadius-Button-secondary-solid)", "borderWidth-Button-secondary-solid": "var(--xmlui-borderWidth-Button-secondary-solid)", "borderColor-Button-secondary-solid": "var(--xmlui-borderColor-Button-secondary-solid)", "borderStyle-Button-secondary-solid": "var(--xmlui-borderStyle-Button-secondary-solid)", "backgroundColor-Button-secondary-solid": "var(--xmlui-backgroundColor-Button-secondary-solid)", "textColor-Button-secondary-solid": "var(--xmlui-textColor-Button-secondary-solid)", "boxShadow-Button-secondary-solid": "var(--xmlui-boxShadow-Button-secondary-solid)", "outlineWidth-Button-secondary-solid--focus": "var(--xmlui-outlineWidth-Button-secondary-solid--focus)", "outlineColor-Button-secondary-solid--focus": "var(--xmlui-outlineColor-Button-secondary-solid--focus)", "outlineStyle-Button-secondary-solid--focus": "var(--xmlui-outlineStyle-Button-secondary-solid--focus)", "outlineOffset-Button-secondary-solid--focus": "var(--xmlui-outlineOffset-Button-secondary-solid--focus)", "borderColor-Button-secondary-solid--hover": "var(--xmlui-borderColor-Button-secondary-solid--hover)", "textColor-Button-secondary-solid--hover": "var(--xmlui-textColor-Button-secondary-solid--hover)", "backgroundColor-Button-secondary-solid--hover": "var(--xmlui-backgroundColor-Button-secondary-solid--hover)", "borderColor-Button-secondary-solid--active": "var(--xmlui-borderColor-Button-secondary-solid--active)", "textColor-Button-secondary-solid--active": "var(--xmlui-textColor-Button-secondary-solid--active)", "boxShadow-Button-secondary-solid--active": "var(--xmlui-boxShadow-Button-secondary-solid--active)", "backgroundColor-Button-secondary-solid--active": "var(--xmlui-backgroundColor-Button-secondary-solid--active)", "fontFamily-Button-attention-solid": "var(--xmlui-fontFamily-Button-attention-solid)", "fontSize-Button-attention-solid": "var(--xmlui-fontSize-Button-attention-solid)", "fontWeight-Button-attention-solid": "var(--xmlui-fontWeight-Button-attention-solid)", "borderRadius-Button-attention-solid": "var(--xmlui-borderRadius-Button-attention-solid)", "borderWidth-Button-attention-solid": "var(--xmlui-borderWidth-Button-attention-solid)", "borderColor-Button-attention-solid": "var(--xmlui-borderColor-Button-attention-solid)", "borderStyle-Button-attention-solid": "var(--xmlui-borderStyle-Button-attention-solid)", "backgroundColor-Button-attention-solid": "var(--xmlui-backgroundColor-Button-attention-solid)", "textColor-Button-attention-solid": "var(--xmlui-textColor-Button-attention-solid)", "boxShadow-Button-attention-solid": "var(--xmlui-boxShadow-Button-attention-solid)", "outlineWidth-Button-attention-solid--focus": "var(--xmlui-outlineWidth-Button-attention-solid--focus)", "outlineColor-Button-attention-solid--focus": "var(--xmlui-outlineColor-Button-attention-solid--focus)", "outlineStyle-Button-attention-solid--focus": "var(--xmlui-outlineStyle-Button-attention-solid--focus)", "outlineOffset-Button-attention-solid--focus": "var(--xmlui-outlineOffset-Button-attention-solid--focus)", "borderColor-Button-attention-solid--hover": "var(--xmlui-borderColor-Button-attention-solid--hover)", "textColor-Button-attention-solid--hover": "var(--xmlui-textColor-Button-attention-solid--hover)", "backgroundColor-Button-attention-solid--hover": "var(--xmlui-backgroundColor-Button-attention-solid--hover)", "borderColor-Button-attention-solid--active": "var(--xmlui-borderColor-Button-attention-solid--active)", "textColor-Button-attention-solid--active": "var(--xmlui-textColor-Button-attention-solid--active)", "boxShadow-Button-attention-solid--active": "var(--xmlui-boxShadow-Button-attention-solid--active)", "backgroundColor-Button-attention-solid--active": "var(--xmlui-backgroundColor-Button-attention-solid--active)", "fontFamily-Button-primary-outlined": "var(--xmlui-fontFamily-Button-primary-outlined)", "fontSize-Button-primary-outlined": "var(--xmlui-fontSize-Button-primary-outlined)", "fontWeight-Button-primary-outlined": "var(--xmlui-fontWeight-Button-primary-outlined)", "borderRadius-Button-primary-outlined": "var(--xmlui-borderRadius-Button-primary-outlined)", "borderWidth-Button-primary-outlined": "var(--xmlui-borderWidth-Button-primary-outlined)", "borderColor-Button-primary-outlined": "var(--xmlui-borderColor-Button-primary-outlined)", "borderStyle-Button-primary-outlined": "var(--xmlui-borderStyle-Button-primary-outlined)", "textColor-Button-primary-outlined": "var(--xmlui-textColor-Button-primary-outlined)", "boxShadow-Button-primary-outlined": "var(--xmlui-boxShadow-Button-primary-outlined)", "outlineWidth-Button-primary-outlined--focus": "var(--xmlui-outlineWidth-Button-primary-outlined--focus)", "outlineColor-Button-primary-outlined--focus": "var(--xmlui-outlineColor-Button-primary-outlined--focus)", "outlineStyle-Button-primary-outlined--focus": "var(--xmlui-outlineStyle-Button-primary-outlined--focus)", "outlineOffset-Button-primary-outlined--focus": "var(--xmlui-outlineOffset-Button-primary-outlined--focus)", "borderColor-Button-primary-outlined--hover": "var(--xmlui-borderColor-Button-primary-outlined--hover)", "backgroundColor-Button-primary-outlined--hover": "var(--xmlui-backgroundColor-Button-primary-outlined--hover)", "textColor-Button-primary-outlined--hover": "var(--xmlui-textColor-Button-primary-outlined--hover)", "borderColor-Button-primary-outlined--active": "var(--xmlui-borderColor-Button-primary-outlined--active)", "backgroundColor-Button-primary-outlined--active": "var(--xmlui-backgroundColor-Button-primary-outlined--active)", "textColor-Button-primary-outlined--active": "var(--xmlui-textColor-Button-primary-outlined--active)", "fontFamily-Button-secondary-outlined": "var(--xmlui-fontFamily-Button-secondary-outlined)", "fontSize-Button-secondary-outlined": "var(--xmlui-fontSize-Button-secondary-outlined)", "fontWeight-Button-secondary-outlined": "var(--xmlui-fontWeight-Button-secondary-outlined)", "borderRadius-Button-secondary-outlined": "var(--xmlui-borderRadius-Button-secondary-outlined)", "borderWidth-Button-secondary-outlined": "var(--xmlui-borderWidth-Button-secondary-outlined)", "borderColor-Button-secondary-outlined": "var(--xmlui-borderColor-Button-secondary-outlined)", "borderStyle-Button-secondary-outlined": "var(--xmlui-borderStyle-Button-secondary-outlined)", "textColor-Button-secondary-outlined": "var(--xmlui-textColor-Button-secondary-outlined)", "boxShadow-Button-secondary-outlined": "var(--xmlui-boxShadow-Button-secondary-outlined)", "outlineWidth-Button-secondary-outlined--focus": "var(--xmlui-outlineWidth-Button-secondary-outlined--focus)", "outlineColor-Button-secondary-outlined--focus": "var(--xmlui-outlineColor-Button-secondary-outlined--focus)", "outlineStyle-Button-secondary-outlined--focus": "var(--xmlui-outlineStyle-Button-secondary-outlined--focus)", "outlineOffset-Button-secondary-outlined--focus": "var(--xmlui-outlineOffset-Button-secondary-outlined--focus)", "borderColor-Button-secondary-outlined--hover": "var(--xmlui-borderColor-Button-secondary-outlined--hover)", "backgroundColor-Button-secondary-outlined--hover": "var(--xmlui-backgroundColor-Button-secondary-outlined--hover)", "textColor-Button-secondary-outlined--hover": "var(--xmlui-textColor-Button-secondary-outlined--hover)", "borderColor-Button-secondary-outlined--active": "var(--xmlui-borderColor-Button-secondary-outlined--active)", "backgroundColor-Button-secondary-outlined--active": "var(--xmlui-backgroundColor-Button-secondary-outlined--active)", "textColor-Button-secondary-outlined--active": "var(--xmlui-textColor-Button-secondary-outlined--active)", "fontFamily-Button-attention-outlined": "var(--xmlui-fontFamily-Button-attention-outlined)", "fontSize-Button-attention-outlined": "var(--xmlui-fontSize-Button-attention-outlined)", "fontWeight-Button-attention-outlined": "var(--xmlui-fontWeight-Button-attention-outlined)", "borderRadius-Button-attention-outlined": "var(--xmlui-borderRadius-Button-attention-outlined)", "borderWidth-Button-attention-outlined": "var(--xmlui-borderWidth-Button-attention-outlined)", "borderColor-Button-attention-outlined": "var(--xmlui-borderColor-Button-attention-outlined)", "borderStyle-Button-attention-outlined": "var(--xmlui-borderStyle-Button-attention-outlined)", "textColor-Button-attention-outlined": "var(--xmlui-textColor-Button-attention-outlined)", "boxShadow-Button-attention-outlined": "var(--xmlui-boxShadow-Button-attention-outlined)", "outlineWidth-Button-attention-outlined--focus": "var(--xmlui-outlineWidth-Button-attention-outlined--focus)", "outlineColor-Button-attention-outlined--focus": "var(--xmlui-outlineColor-Button-attention-outlined--focus)", "outlineStyle-Button-attention-outlined--focus": "var(--xmlui-outlineStyle-Button-attention-outlined--focus)", "outlineOffset-Button-attention-outlined--focus": "var(--xmlui-outlineOffset-Button-attention-outlined--focus)", "borderColor-Button-attention-outlined--hover": "var(--xmlui-borderColor-Button-attention-outlined--hover)", "backgroundColor-Button-attention-outlined--hover": "var(--xmlui-backgroundColor-Button-attention-outlined--hover)", "textColor-Button-attention-outlined--hover": "var(--xmlui-textColor-Button-attention-outlined--hover)", "borderColor-Button-attention-outlined--active": "var(--xmlui-borderColor-Button-attention-outlined--active)", "backgroundColor-Button-attention-outlined--active": "var(--xmlui-backgroundColor-Button-attention-outlined--active)", "textColor-Button-attention-outlined--active": "var(--xmlui-textColor-Button-attention-outlined--active)", "fontFamily-Button-primary-ghost": "var(--xmlui-fontFamily-Button-primary-ghost)", "fontSize-Button-primary-ghost": "var(--xmlui-fontSize-Button-primary-ghost)", "fontWeight-Button-primary-ghost": "var(--xmlui-fontWeight-Button-primary-ghost)", "borderRadius-Button-primary-ghost": "var(--xmlui-borderRadius-Button-primary-ghost)", "borderWidth-Button-primary-ghost": "var(--xmlui-borderWidth-Button-primary-ghost)", "textColor-Button-primary-ghost": "var(--xmlui-textColor-Button-primary-ghost)", "outlineWidth-Button-primary-ghost--focus": "var(--xmlui-outlineWidth-Button-primary-ghost--focus)", "outlineColor-Button-primary-ghost--focus": "var(--xmlui-outlineColor-Button-primary-ghost--focus)", "outlineStyle-Button-primary-ghost--focus": "var(--xmlui-outlineStyle-Button-primary-ghost--focus)", "outlineOffset-Button-primary-ghost--focus": "var(--xmlui-outlineOffset-Button-primary-ghost--focus)", "backgroundColor-Button-primary-ghost--hover": "var(--xmlui-backgroundColor-Button-primary-ghost--hover)", "textColor-Button-primary-ghost--hover": "var(--xmlui-textColor-Button-primary-ghost--hover)", "backgroundColor-Button-primary-ghost--active": "var(--xmlui-backgroundColor-Button-primary-ghost--active)", "textColor-Button-primary-ghost--active": "var(--xmlui-textColor-Button-primary-ghost--active)", "fontFamily-Button-secondary-ghost": "var(--xmlui-fontFamily-Button-secondary-ghost)", "fontSize-Button-secondary-ghost": "var(--xmlui-fontSize-Button-secondary-ghost)", "fontWeight-Button-secondary-ghost": "var(--xmlui-fontWeight-Button-secondary-ghost)", "borderRadius-Button-secondary-ghost": "var(--xmlui-borderRadius-Button-secondary-ghost)", "borderWidth-Button-secondary-ghost": "var(--xmlui-borderWidth-Button-secondary-ghost)", "textColor-Button-secondary-ghost": "var(--xmlui-textColor-Button-secondary-ghost)", "outlineWidth-Button-secondary-ghost--focus": "var(--xmlui-outlineWidth-Button-secondary-ghost--focus)", "outlineColor-Button-secondary-ghost--focus": "var(--xmlui-outlineColor-Button-secondary-ghost--focus)", "outlineStyle-Button-secondary-ghost--focus": "var(--xmlui-outlineStyle-Button-secondary-ghost--focus)", "outlineOffset-Button-secondary-ghost--focus": "var(--xmlui-outlineOffset-Button-secondary-ghost--focus)", "backgroundColor-Button-secondary-ghost--hover": "var(--xmlui-backgroundColor-Button-secondary-ghost--hover)", "textColor-Button-secondary-ghost--hover": "var(--xmlui-textColor-Button-secondary-ghost--hover)", "backgroundColor-Button-secondary-ghost--active": "var(--xmlui-backgroundColor-Button-secondary-ghost--active)", "textColor-Button-secondary-ghost--active": "var(--xmlui-textColor-Button-secondary-ghost--active)", "fontFamily-Button-attention-ghost": "var(--xmlui-fontFamily-Button-attention-ghost)", "fontSize-Button-attention-ghost": "var(--xmlui-fontSize-Button-attention-ghost)", "fontWeight-Button-attention-ghost": "var(--xmlui-fontWeight-Button-attention-ghost)", "borderRadius-Button-attention-ghost": "var(--xmlui-borderRadius-Button-attention-ghost)", "borderWidth-Button-attention-ghost": "var(--xmlui-borderWidth-Button-attention-ghost)", "textColor-Button-attention-ghost": "var(--xmlui-textColor-Button-attention-ghost)", "outlineWidth-Button-attention-ghost--focus": "var(--xmlui-outlineWidth-Button-attention-ghost--focus)", "outlineColor-Button-attention-ghost--focus": "var(--xmlui-outlineColor-Button-attention-ghost--focus)", "outlineStyle-Button-attention-ghost--focus": "var(--xmlui-outlineStyle-Button-attention-ghost--focus)", "outlineOffset-Button-attention-ghost--focus": "var(--xmlui-outlineOffset-Button-attention-ghost--focus)", "backgroundColor-Button-attention-ghost--hover": "var(--xmlui-backgroundColor-Button-attention-ghost--hover)", "textColor-Button-attention-ghost--hover": "var(--xmlui-textColor-Button-attention-ghost--hover)", "backgroundColor-Button-attention-ghost--active": "var(--xmlui-backgroundColor-Button-attention-ghost--active)", "textColor-Button-attention-ghost--active": "var(--xmlui-textColor-Button-attention-ghost--active)"}'`,button:"_button_1rnn4_13",alignStart:"_alignStart_1rnn4_29",alignEnd:"_alignEnd_1rnn4_32",buttonHorizontal:"_buttonHorizontal_1rnn4_38",xs:"_xs_1rnn4_41",sm:"_sm_1rnn4_48",md:"_md_1rnn4_55",lg:"_lg_1rnn4_62",buttonVertical:"_buttonVertical_1rnn4_69",solidPrimary:"_solidPrimary_1rnn4_103",solidSecondary:"_solidSecondary_1rnn4_138",solidAttention:"_solidAttention_1rnn4_173",outlinedPrimary:"_outlinedPrimary_1rnn4_208",outlinedSecondary:"_outlinedSecondary_1rnn4_241",outlinedAttention:"_outlinedAttention_1rnn4_274",ghostPrimary:"_ghostPrimary_1rnn4_307",ghostSecondary:"_ghostSecondary_1rnn4_336",ghostAttention:"_ghostAttention_1rnn4_365"};function Ox(e){return e}function m(e,r,t,o,a,l){return{description:e,isRequired:l,availableValues:r,valueType:t,defaultValue:o,isValid:a}}const Ni=[{value:"_self",description:"The link will open in the same frame as it was clicked."},{value:"_blank",description:"The link will open in a new window or tab."},{value:"_parent",description:"The link will open in the parent frame. If no parent, behaves as _self."},{value:"_top",description:"The topmost browsing context. The link will open in the full body of the window. If no ancestors, behaves as _self."},{value:"_unfencedTop",description:"Allows embedded fenced frames to navigate the top-level frame, i.e. traversing beyond the root of the fenced frame."}],Oa=[{value:"xs",description:"Extra small button"},{value:"sm",description:"Small button"},{value:"md",description:"Medium button"},{value:"lg",description:"Large button"}],Is=[...["attention","primary","secondary"]],zi=[{value:"attention",description:"Attention state theme color"},{value:"primary",description:"Primary theme color"},{value:"secondary",description:"Secondary theme color"}],Bs=[{value:"button",description:"Regular behavior that only executes logic if explicitly determined."},{value:"submit",description:"The button submits the form data to the server. This is the default for buttons in a Form or NativeForm component."},{value:"reset",description:"Resets all the controls to their initial values. Using it is ill advised for UX reasons."}],$s=[...["solid","outlined","ghost"]],Ei=[{value:"solid",description:"A button with a border and a filled background."},{value:"outlined",description:"The button is displayed with a border and a transparent background."},{value:"ghost",description:"A button with no border and fill. Only the label is visible; the background is colored when hovered or clicked."}],Pi=["start","center","end"],Mi=[{value:"center",description:"Place the content in the middle"},{value:"start",description:"Justify the content to the left (to the right if in right-to-left)"},{value:"end",description:"Justify the content to the right (to the left if in right-to-left)"}],ea=[{value:"horizontal",description:"The component will fill the available space horizontally"},{value:"vertical",description:"The component will fill the available space vertically"}],Os=[...["start","end"]],La=[{value:"start",description:"The icon will appear at the start (left side when the left-to-right direction is set)"},{value:"end",description:"The icon will appear at the end (right side when the left-to-right direction is set)"}],Di=[{value:"start",description:"The left side of the input (left-to-right) or the right side of the input (right-to-left)"},{value:"end",description:"The right side of the input (left-to-right) or the left side of the input (right-to-left)"},{value:"top",description:"The top of the input"},{value:"bottom",description:"The bottom of the input"}],Ls=[...["start","end"]],_s=[{value:"valid",description:"Visual indicator for an input that is accepted"},{value:"warning",description:"Visual indicator for an input that produced a warning"},{value:"error",description:"Visual indicator for an input that produced an error"}],Vs=["top","bottom"],Ri={abbr:"abbr",cite:"cite",code:"code",codefence:"pre",deleted:"del",inserted:"ins",keyboard:"kbd",marked:"mark",sample:"samp",sub:"sub",sup:"sup",var:"var",mono:"pre",strong:"strong",em:"em",title:"span",subtitle:"span",small:"span",caption:"span",placeholder:"span",paragraph:"p",subheading:"h6",tableheading:"h6",secondary:"span"},As=[{value:"abbr",description:"Represents an abbreviation or acronym"},{value:"caption",description:"Represents the caption (or title) of a table"},{value:"cite",description:"Is used to mark up the title of a cited work"},{value:"code",description:"Represents a line of code"},{value:"codefence",description:"Handles the display of code blocks if combined with a `code` variant"},{value:"deleted",description:"Represents text that has been deleted"},{value:"em",description:"Marks text to stress emphasis"},{value:"inserted",description:"Represents a range of text that has been added to a document"},{value:"keyboard",description:"Represents a span of text denoting textual user input from a keyboard or voice input"},{value:"marked",description:"Represents text which is marked or highlighted for reference or notation"},{value:"mono",description:"Text using a mono style font family"},{value:"paragraph",description:"Represents a paragraph"},{value:"placeholder",description:"Text that is mostly used as the placeholder style in input controls"},{value:"sample",description:"Represents sample (or quoted) output from a computer program"},{value:"secondary",description:"Represents a bit dimmed secondary text"},{value:"small",description:"Represents side-comments and small print"},{value:"sub",description:"Specifies inline text as subscript"},{value:"strong",description:"Contents have strong importance"},{value:"subheading",description:"Indicates that the text is the subtitle in a heading"},{value:"subtitle",description:"Indicates that the text is the subtitle of some other content"},{value:"sup",description:"Specifies inline text as superscript"},{value:"tableheading",description:"Indicates that the text is a table heading"},{value:"title",description:"Indicates that the text is the title of some other content"},{value:"var",description:"Represents the name of a variable in a mathematical expression"}],Fi=["get","post","put","delete","patch","head","options","trace","connect"],Ui={keyPrefix:"xmlui",themeVars:'"[]"'};function Y(e){if(!e||typeof e!="string")return e;let r=e.replace(/(^['"])|(['"]$)/g,"");try{return JSON.parse(r)}catch{try{return JSON.parse(e.replace("(","{").replace(")","}").replace(/: ?([^,}]+)([,}])/g,': "$1"$2').replace(/([\s{,])(?!")([^:\s]+)+:/g,'$1"$2":'))}catch{return r}}}Y(Ui.keyPrefix),Y(Ui.themeVars);function Xe(e){return{description:e??"This property is for internal use only.",isInternal:!0}}function io(e){return{description:`This event is triggered when the ${e} is clicked.`}}function xt(e){return{description:`This event is triggered when the ${e} has received the focus.`}}function ft(e){return{description:`This event is triggered when the ${e} has lost the focus.`}}function at(e){return{description:`This event is triggered when value of ${e} has changed.`}}function qi(e){return{description:"The `true` value of this property signals that the component is in an _intedeterminate state_.",defaultValue:e}}function qe(){return{description:"This property sets the label of the component.",valueType:"string"}}function gt(e){return{description:"Places the label at the given position of the component.",availableValues:Di,defaultValue:e??"top"}}function Lt(e){return{description:`This property sets the width of the \`${e}\`.`}}function _t(e){return{description:`This boolean value indicates if the \`${e}\` labels can be split into multiple lines if it would overflow the available label width.`,valueType:"boolean",defaultValue:!1}}function it(){return{description:"If this property is set to `true`, the component gets the focus automatically when displayed.",valueType:"boolean",defaultValue:!1}}function Tt(e){return{description:"This property sets the component's initial value.",defaultValue:e}}function Vt(e){return{description:"Set this property to `true` to disallow changing the component value.",valueType:"boolean",defaultValue:e??!1}}function Ze(e){return{description:"This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).",valueType:"boolean",defaultValue:e??!0}}function Gi(){return{description:"The `true` value of the property indicates if the user can select multiple items.",valueType:"boolean",defaultValue:!1}}function At(e){return{description:"This property allows you to set the validation status of the input component.",availableValues:_s,defaultValue:e??"none"}}function ji(){return{description:"You can query this read-only API property to query the component's current value (`true`: checked, `false`: unchecked)."}}function Qt(){return{description:"You can use this method to set the component's current value programmatically (`true`: checked, `false`: unchecked)."}}function $e(e){return{description:e,valueType:"ComponentDef"}}function Er(){return{description:"A placeholder text that is visible in the input field when its empty.",valueType:"string"}}function ta(){return{description:"This property sets the maximum length of the input it accepts.",valueType:"number"}}function Wt(){return{description:"Set this property to `true` to indicate it must have a value before submitting the containing form.",valueType:"boolean"}}function _a(){return{description:"This property sets a text to appear at the start (left side when the left-to-right direction is set) of the input.",valueType:"string"}}function Va(){return{description:"This property sets an icon to appear at the start (left side when the left-to-right direction is set) of the input.",valueType:"string"}}function Aa(){return{description:"This property sets a text to appear on the end (right side when the left-to-right direction is set) of the input.",valueType:"string"}}function Wa(){return{description:"This property sets an icon to appear on the end (right side when the left-to-right direction is set) of the input.",valueType:"string"}}function Ws(e){return{description:`This property indicates if the ${e} is expanded (\`true\`) or collapsed (\`false\`).`}}function Ns(e){return{description:`This method expands the ${e}.`}}function zs(e){return{description:`This method collapses the ${e}.`}}function Jt(e){return{description:`This method sets the focus on the ${e}.`}}function ra(){return{description:"You can query the component's value. If no value is set, it will retrieve `undefined`."}}function Xi(e){return{description:`This property allows you to define a custom trigger instead of the default one provided by \`${e}\`.`,valueType:"ComponentDef"}}function Es(e,r=!1){return{description:"This property sets the main axis along which the nested components are rendered.",availableValues:ea,valueType:"string",defaultValue:e,isRequired:r}}const Yi={themeVars:`'{"size-Icon": "var(--xmlui-size-Icon)"}'`,base:"_base_4gxxt_13"};function oa(e){return e[0].toUpperCase()+e.substring(1)}const Ce=e=>{const r=s.useRef(e);return s.useInsertionEffect(()=>{r.current=e},[e]),s.useCallback((...t)=>{const o=r.current;return o==null?void 0:o(...t)},[r])};function Ps(e,r,t){const o=Be.throttle((a,l,i)=>{e(...i).then(a).catch(l)},r,t);return(...a)=>new Promise((l,i)=>{o(l,i,a)})}const Ms=s.createContext(void 0);s.createContext(void 0);function Nt(){return s.useContext(Ms)}function Na(e){const{getResourceUrl:r}=Nt();return r(e)}const Qe=Object.freeze([]),xr=Object.freeze({}),ae=(...e)=>({}),Zi=(e,r)=>{const t=e==null?void 0:e.current,o=s.useRef();s.useEffect(()=>{o!=null&&o.current&&t&&o.current.unobserve(t),o.current=new ResizeObserver(r),e&&e.current&&o.current&&o.current.observe(e.current)},[r,t,e])};function Qi(e){const r=s.useRef();return s.useEffect(()=>{r.current=e},[e]),r.current}function Ji(e){const[r,t]=s.useState(!1);return s.useEffect(()=>{if(!window){t(!1);return}const o=window.matchMedia(e);return a(),o.addEventListener("change",a),()=>{o.removeEventListener("change",a)};function a(){t(o.matches)}},[e]),r}function Ds(e){const r=s.useRef({mountedFired:!1});s.useEffect(()=>{r.current.mountedFired||(r.current.mountedFired=!0,e==null||e())},[e])}const Wo=typeof document<"u"?s.useLayoutEffect:s.useEffect,Rs=(e,r,t)=>{const[o,a]=s.useState(0),l=Ce(()=>{if(!e)return 0;const i=r.current,n=t.current;if(i&&n){const c=i.getBoundingClientRect(),b=n.getBoundingClientRect(),h=n.scrollTop;return c.top-b.top+h}return 0});return Zi(t,()=>{a(l())}),o},Fs=s.createContext(null);function Ki(){return s.useContext(Fs)}const Us={accentheight:"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baseprofile:"baseProfile",baselineshift:"baselineShift",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight",clip:"clip",clippath:"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule",colorinterpolation:"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters",colorprofile:"colorProfile",colorrendering:"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity",fillrule:"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodcolor:"floodColor",floodopacity:"floodOpacity",focusable:"focusable",fontfamily:"fontFamily",fontsize:"fontSize",fontsizeadjust:"fontSizeAdjust",fontstretch:"fontStretch",fontstyle:"fontStyle",fontvariant:"fontVariant",fontweight:"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX",horizoriginx:"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering",in:"in",in2:"in2",intercept:"intercept",k:"k",k1:"k1",k2:"k2",k3:"k3",k4:"k4",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing",lightingcolor:"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd",markerheight:"markerHeight",markermid:"markerMid",markerstart:"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition",overlinethickness:"overlineThickness",paintorder:"paintOrder",panose1:"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",restart:"restart",result:"result",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",seed:"seed",shaperendering:"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor",stopopacity:"stopOpacity",strikethroughposition:"strikethroughPosition",strikethroughthickness:"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray",strokedashoffset:"strokeDashoffset",strokelinecap:"strokeLinecap",strokelinejoin:"strokeLinejoin",strokemiterlimit:"strokeMiterlimit",strokeopacity:"strokeOpacity",strokewidth:"strokeWidth",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor",textdecoration:"textDecoration",textlength:"textLength",textrendering:"textRendering",to:"to",transform:"transform",u1:"u1",u2:"u2",underlineposition:"underlinePosition",underlinethickness:"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi",unicoderange:"unicodeRange",unitsperem:"unitsPerEm",valphabetic:"vAlphabetic",vhanging:"vHanging",videographic:"vIdeographic",vmathematical:"vMathematical",values:"values",vectoreffect:"vectorEffect",version:"version",vertadvy:"vertAdvY",vertoriginx:"vertOriginX",vertoriginy:"vertOriginY",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",widths:"widths",wordspacing:"wordSpacing",writingmode:"writingMode",x:"x",x1:"x1",x2:"x2",xchannelselector:"xChannelSelector",xheight:"xHeight",xlinkactuate:"xlinkActuate",xlinkarcrole:"xlinkArcrole",xlinkhref:"xlinkHref",xlinkrole:"xlinkRole",xlinkshow:"xlinkShow",xlinktitle:"xlinkTitle",xlinktype:"xlinkType",xmlns:"xmlns",xmlnsxlink:"xmlnsXlink",xmlbase:"xmlBase",xmllang:"xmlLang",xmlspace:"xmlSpace",y:"y",y1:"y1",y2:"y2",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qs=/[-:]/g;function Gs(e){const{ensureCustomSvgIcon:r,customSvgs:t}=Ki();Wo(()=>{e&&r(e)},[r,e]);const o=e?t[e]:null,a=s.useCallback(({style:l,className:i})=>{if(!o)return null;const{attributes:n,name:c}=o,b={};return Object.entries(n).forEach(([h,p])=>{let C=h;/^(data-|aria-)/.test(h)?C=h:C=h.replace(qs,"").toLowerCase(),b[Us[C]||h]=p}),d.jsx("svg",{...b,style:l,className:i,children:d.jsx("use",{href:`#${c}`})})},[o]);return e?a:null}const za="xmlui";function el(e){if(typeof e=="string")return`var(--${za}-${e.substring(1)})`;if(e.defaultValue&&e.defaultValue.length>0){let r="";for(const t of e.defaultValue)r+=typeof t=="string"?t:el(t);return`var(--${za}-${e.id.substring(1)}, ${r})`}else return`var(--${za}-${e.id.substring(1)})`}const me=s.forwardRef(function({name:r,fallback:t,style:o,className:a,size:l,...i},n){var g;const c=Zs(r,t),b=typeof l=="string"?Ys(l):l,h=b||i.width,p=b||i.height,C={className:re(Yi.base,a),...i,size:b,width:h,height:p,style:{...o,"--icon-width":h,"--icon-height":p}},x=Xs(r);return x?d.jsx(js,{...C,url:x,name:r}):((g=c==null?void 0:c.renderer)==null?void 0:g.call(c,C))||null});function js(e){var h;const{url:r,width:t,height:o,name:a,style:l,className:i}=e,n=Na(r),c=(h=n==null?void 0:n.toLowerCase())==null?void 0:h.endsWith(".svg"),b=Gs(n);if(n&&c){const p=b==null?void 0:b({style:l,className:i});return p||d.jsx("span",{style:l,className:i})}return d.jsx("img",{src:n,style:{width:t,height:o,...l},alt:a})}function Xs(e){const{getResourceUrl:r}=Nt();return e&&r(`resource:icon.${e}`)}function Ys(e){return/^\$[a-zA-Z0-9_$-]+$/g.test(e)?el(e):{xs:"0.75em",sm:"1em",md:"1.5rem",lg:"2em"}[e]||e}function Zs(e,r){const t=Ki();if(e&&typeof e=="string"){const o=":",a=e.split(o);if(a.length>1){const l=t.lookupIconRenderer(`${a[0].toLowerCase()}${o}${a[1]}`);if(l)return l}if(a.length===1){const l=t.lookupIconRenderer(a[0]);if(l)return l}}if(r&&typeof r=="string"){const o=t.lookupIconRenderer(r.toLowerCase());if(o)return o}return null}function tl(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function sr(...e){return r=>{let t=!1;const o=e.map(a=>{const l=tl(a,r);return!t&&typeof l=="function"&&(t=!0),l});if(t)return()=>{for(let a=0;a<o.length;a++){const l=o[a];typeof l=="function"?l():tl(e[a],null)}}}}const Qs=({children:e,...r})=>d.jsx(Oi.VisuallyHidden,{...r,children:e}),rt={type:"button",iconPosition:"start",contentPosition:"center",orientation:"horizontal",variant:"solid",themeColor:"primary",size:"sm",autoFocus:!1},ot=s.forwardRef(function({id:r,type:t=rt.type,icon:o,iconPosition:a=rt.iconPosition,contentPosition:l=rt.contentPosition,orientation:i=rt.orientation,variant:n=rt.variant,themeColor:c=rt.themeColor,size:b=rt.size,disabled:h,children:p,formId:C,onClick:x,onFocus:g,onBlur:T,style:y,gap:$,className:w,autoFocus:O=rt.autoFocus,contextualLabel:V,...P},Z){const E=s.useRef(null),j=Z?sr(Z,E):E;s.useEffect(()=>{O&&setTimeout(()=>{var M;(M=E.current)==null||M.focus()},0)},[O]);const U=a==="start";return d.jsxs("button",{...P,id:r,type:t,ref:j,className:re(w,Ye.button,{[Ye.buttonHorizontal]:i==="horizontal",[Ye.buttonVertical]:i==="vertical",[Ye.xs]:b==="xs",[Ye.sm]:b==="sm",[Ye.md]:b==="md",[Ye.lg]:b==="lg",[Ye.solidPrimary]:n==="solid"&&c==="primary",[Ye.solidSecondary]:n==="solid"&&c==="secondary",[Ye.solidAttention]:n==="solid"&&c==="attention",[Ye.outlinedPrimary]:n==="outlined"&&c==="primary",[Ye.outlinedSecondary]:n==="outlined"&&c==="secondary",[Ye.outlinedAttention]:n==="outlined"&&c==="attention",[Ye.ghostPrimary]:n==="ghost"&&c==="primary",[Ye.ghostSecondary]:n==="ghost"&&c==="secondary",[Ye.ghostAttention]:n==="ghost"&&c==="attention",[Ye.alignStart]:l==="start",[Ye.alignEnd]:l==="end"}),autoFocus:O,disabled:h,form:C,style:y,onClick:x,onFocus:g,onBlur:T,children:[o&&U&&d.jsx(d.Fragment,{children:o}),p,o&&!p&&d.jsx(Js,{icon:o,accessibleName:V}),o&&!U&&d.jsx(d.Fragment,{children:o})]})}),Js=({icon:e,accessibleName:r=""})=>{const t=e.props;return d.jsx(Qs,{children:d.jsx("span",{children:r||(t==null?void 0:t.name)||(t==null?void 0:t.alt)})})},K="Button",Ks={description:"Button is an interactive element that triggers an action when clicked.",status:"stable",props:{autoFocus:{description:"Indicates if the button should receive focus when the page loads.",isRequired:!1,type:"boolean",defaultValue:rt.autoFocus},variant:{description:"The button variant determines the level of emphasis the button should possess.",isRequired:!1,type:"string",availableValues:Ei,defaultValue:rt.variant},themeColor:{description:"Sets the button color scheme defined in the application theme.",isRequired:!1,type:"string",availableValues:zi,defaultValue:rt.themeColor},size:{description:"Sets the size of the button.",isRequired:!1,type:"string",availableValues:Oa,defaultValue:rt.size},label:{description:`This property is an optional string to set a label for the ${K}. If no label is specified and an icon is set, the ${K} will modify its styling to look like a small icon button. When the ${K} has nested children, it will display them and ignore the value of the \`label\` prop.`,type:"string"},type:{description:`This optional string describes how the ${K} appears in an HTML context. You rarely need to set this property explicitly.`,availableValues:Bs,valueType:"string",defaultValue:rt.type},enabled:{description:"The value of this property indicates whether the button accepts actions (`true`) or does not react to them (`false`).",type:"boolean",defaultValue:!0},orientation:Es(rt.orientation),icon:{description:`This string value denotes an icon name. The framework will render an icon if XMLUI recognizes the icon by its name. If no label is specified and an icon is set, the ${K} displays only that icon.`,type:"string"},iconPosition:{description:`This optional string determines the location of the icon in the ${K}.`,availableValues:La,type:"string",defaultValue:rt.iconPosition},contentPosition:{description:`This optional value determines how the label and icon (or nested children) should be placedinside the ${K} component.`,availableValues:Mi,type:"string",defaultValue:rt.contentPosition},contextualLabel:{description:`This optional value is used to provide an accessible name for the ${K} in the context of its usage.`,type:"string"}},events:{click:io(K),gotFocus:xt(K),lostFocus:ft(K)},themeVars:Y(Ye.themeVars),defaultThemeVars:{[`width-${K}`]:"fit-content",[`height-${K}`]:"fit-content",[`borderRadius-${K}`]:"$borderRadius",[`fontSize-${K}`]:"$fontSize-small",[`fontWeight-${K}`]:"$fontWeight-medium",[`backgroundColor-${K}-primary`]:"$color-primary-500",[`backgroundColor-${K}-attention`]:"$backgroundColor-attention",[`borderColor-${K}-attention`]:"$color-attention",[`backgroundColor-${K}--disabled`]:"$backgroundColor--disabled",[`borderColor-${K}--disabled`]:"$borderColor--disabled",[`borderStyle-${K}`]:"solid",[`textColor-${K}--disabled`]:"$textColor--disabled",[`outlineColor-${K}--focus`]:"$outlineColor--focus",[`borderWidth-${K}`]:"1px",[`outlineWidth-${K}--focus`]:"$outlineWidth--focus",[`outlineStyle-${K}--focus`]:"$outlineStyle--focus",[`outlineOffset-${K}--focus`]:"$outlineOffset--focus",[`paddingHorizontal-${K}-xs`]:"$space-1",[`paddingVertical-${K}-xs`]:"$space-0_5",[`paddingHorizontal-${K}-sm`]:"$space-4",[`paddingVertical-${K}-sm`]:"$space-2",[`paddingHorizontal-${K}-md`]:"$space-4",[`paddingVertical-${K}-md`]:"$space-3",[`paddingHorizontal-${K}-lg`]:"$space-5",[`paddingVertical-${K}-lg`]:"$space-4",[`textColor-${K}`]:"$color-surface-950",[`textColor-${K}-solid`]:"$const-color-surface-50",[`borderColor-${K}-primary`]:"$color-primary-500",[`backgroundColor-${K}-primary--hover`]:"$color-primary-400",[`backgroundColor-${K}-primary--active`]:"$color-primary-500",[`backgroundColor-${K}-primary-outlined--hover`]:"$color-primary-50",[`backgroundColor-${K}-primary-outlined--active`]:"$color-primary-100",[`borderColor-${K}-primary-outlined`]:"$color-primary-600",[`borderColor-${K}-primary-outlined--hover`]:"$color-primary-500",[`textColor-${K}-primary-outlined`]:"$color-primary-900",[`textColor-${K}-primary-outlined--hover`]:"$color-primary-950",[`textColor-${K}-primary-outlined--active`]:"$color-primary-900",[`backgroundColor-${K}-primary-ghost--hover`]:"$color-primary-50",[`backgroundColor-${K}-primary-ghost--active`]:"$color-primary-100",[`borderColor-${K}-secondary`]:"$color-secondary-100",[`backgroundColor-${K}-secondary`]:"$color-secondary-500",[`backgroundColor-${K}-secondary--hover`]:"$color-secondary-400",[`backgroundColor-${K}-secondary--active`]:"$color-secondary-500",[`backgroundColor-${K}-secondary-outlined--hover`]:"$color-secondary-50",[`backgroundColor-${K}-secondary-outlined--active`]:"$color-secondary-100",[`backgroundColor-${K}-secondary-ghost--hover`]:"$color-secondary-100",[`backgroundColor-${K}-secondary-ghost--active`]:"$color-secondary-100",[`backgroundColor-${K}-attention--hover`]:"$color-danger-400",[`backgroundColor-${K}-attention--active`]:"$color-danger-500",[`backgroundColor-${K}-attention-outlined--hover`]:"$color-danger-50",[`backgroundColor-${K}-attention-outlined--active`]:"$color-danger-100",[`backgroundColor-${K}-attention-ghost--hover`]:"$color-danger-50",[`backgroundColor-${K}-attention-ghost--active`]:"$color-danger-100"}},Rt={themeVars:'"[]"',base:"_base_724s4_13",hoverContainer:"_hoverContainer_724s4_22",handlesClick:"_handlesClick_724s4_35",vertical:"_vertical_724s4_39",reverse:"_reverse_724s4_43",horizontal:"_horizontal_724s4_47",justifyItemsStart:"_justifyItemsStart_724s4_55",justifyItemsCenter:"_justifyItemsCenter_724s4_59",justifyItemsStretch:"_justifyItemsStretch_724s4_63",justifyItemsEnd:"_justifyItemsEnd_724s4_67",alignItemsStart:"_alignItemsStart_724s4_72",alignItemsCenter:"_alignItemsCenter_724s4_76",alignItemsStretch:"_alignItemsStretch_724s4_80",alignItemsEnd:"_alignItemsEnd_724s4_84",alignItemsBaseline:"_alignItemsBaseline_724s4_88"};function ed(e,r,t){return s.useMemo(()=>e==="horizontal"?{horizontal:r&&Rt[`justifyItems${oa(r)}`],vertical:t&&Rt[`alignItems${oa(t)}`]}:{horizontal:r&&Rt[`alignItems${oa(r)}`],vertical:t&&Rt[`justifyItems${oa(t)}`]},[e,r,t])}const rl="vertical",Ea=s.forwardRef(function({uid:r,children:t,orientation:o=rl,horizontalAlignment:a,verticalAlignment:l,style:i,reverse:n,hoverContainer:c,visibleOnHover:b,onClick:h,onMount:p,...C},x){Ds(p);const{horizontal:g,vertical:T}=ed(o,a,l);return d.jsx("div",{...C,onClick:h,ref:x,style:i,className:re(Rt.base,{[Rt.vertical]:o==="vertical",[Rt.horizontal]:o==="horizontal",[Rt.reverse]:n,[Rt.hoverContainer]:c,"display-on-hover":b,[Rt.handlesClick]:!!h},g??"",T??""),children:t})}),No="Stack",aa={description:"`Stack` is a layout container displaying children in a horizontal or vertical stack.",props:{gap:{description:"Optional size value indicating the gap between child elements.",valueType:"string",defaultValue:"$gap-normal"},reverse:{description:"Optional boolean property to reverse the order of child elements.",valueType:"boolean",defaultValue:!1},wrapContent:{description:"Optional boolean which wraps the content if set to true and the available space is not big enough. Works only with horizontal orientations.",valueType:"boolean",defaultValue:!1},orientation:{description:"An optional property that governs the Stack's orientation (whether the Stack lays out its children in a row or a column).",availableValues:["horizontal","vertical"],valueType:"string",defaultValue:rl},horizontalAlignment:{description:"Manages the horizontal content alignment for each child element in the Stack.",availableValues:Pi,valueType:"string",defaultValue:"start"},verticalAlignment:{description:"Manages the vertical content alignment for each child element in the Stack.",availableValues:Pi,valueType:"string",defaultValue:"start"},hoverContainer:Xe("Reserved for future use"),visibleOnHover:Xe("Reserved for future use")},events:{click:io(No),mounted:Xe("Reserved for future use")},themeVars:Y(Rt.themeVars)},zo={...aa,props:{...aa.props}},td={...zo,specializedFrom:No,description:"This component represents a stack rendering its contents vertically.",props:{...aa.props}},rd={...zo,specializedFrom:No,description:"This component represents a stack rendering its contents horizontally.",props:{...aa.props}},od={...zo,specializedFrom:No,description:"This component represents a stack that renders its contents vertically and aligns that in the center along both axes."},ad={...zo,specializedFrom:No,description:"This component represents a stack that renders its contents horizontally and aligns that in the center along both axes."},Ft={themeVars:`'{"Input:gap-adornment-TextBox": "var(--xmlui-gap-adornment-TextBox)", "Input:borderRadius-TextBox-default": "var(--xmlui-borderRadius-TextBox-default)", "Input:borderColor-TextBox-default": "var(--xmlui-borderColor-TextBox-default)", "Input:borderWidth-TextBox-default": "var(--xmlui-borderWidth-TextBox-default)", "Input:borderStyle-TextBox-default": "var(--xmlui-borderStyle-TextBox-default)", "Input:fontSize-TextBox-default": "var(--xmlui-fontSize-TextBox-default)", "Input:padding-TextBox-default": "var(--xmlui-padding-TextBox-default)", "Input:backgroundColor-TextBox-default": "var(--xmlui-backgroundColor-TextBox-default)", "Input:boxShadow-TextBox-default": "var(--xmlui-boxShadow-TextBox-default)", "Input:textColor-TextBox-default": "var(--xmlui-textColor-TextBox-default)", "Input:borderColor-TextBox-default--hover": "var(--xmlui-borderColor-TextBox-default--hover)", "Input:backgroundColor-TextBox-default--hover": "var(--xmlui-backgroundColor-TextBox-default--hover)", "Input:boxShadow-TextBox-default--hover": "var(--xmlui-boxShadow-TextBox-default--hover)", "Input:textColor-TextBox-default--hover": "var(--xmlui-textColor-TextBox-default--hover)", "Input:borderColor-TextBox-default--focus": "var(--xmlui-borderColor-TextBox-default--focus)", "Input:backgroundColor-TextBox-default--focus": "var(--xmlui-backgroundColor-TextBox-default--focus)", "Input:boxShadow-TextBox-default--focus": "var(--xmlui-boxShadow-TextBox-default--focus)", "Input:textColor-TextBox-default--focus": "var(--xmlui-textColor-TextBox-default--focus)", "Input:outlineWidth-TextBox-default--focus": "var(--xmlui-outlineWidth-TextBox-default--focus)", "Input:outlineColor-TextBox-default--focus": "var(--xmlui-outlineColor-TextBox-default--focus)", "Input:outlineStyle-TextBox-default--focus": "var(--xmlui-outlineStyle-TextBox-default--focus)", "Input:outlineOffset-TextBox-default--focus": "var(--xmlui-outlineOffset-TextBox-default--focus)", "Input:color-placeholder-TextBox-default": "var(--xmlui-color-placeholder-TextBox-default)", "Input:color-adornment-TextBox-default": "var(--xmlui-color-adornment-TextBox-default)", "Input:borderRadius-TextBox-error": "var(--xmlui-borderRadius-TextBox-error)", "Input:borderColor-TextBox-error": "var(--xmlui-borderColor-TextBox-error)", "Input:borderWidth-TextBox-error": "var(--xmlui-borderWidth-TextBox-error)", "Input:borderStyle-TextBox-error": "var(--xmlui-borderStyle-TextBox-error)", "Input:fontSize-TextBox-error": "var(--xmlui-fontSize-TextBox-error)", "Input:padding-TextBox-error": "var(--xmlui-padding-TextBox-error)", "Input:backgroundColor-TextBox-error": "var(--xmlui-backgroundColor-TextBox-error)", "Input:boxShadow-TextBox-error": "var(--xmlui-boxShadow-TextBox-error)", "Input:textColor-TextBox-error": "var(--xmlui-textColor-TextBox-error)", "Input:borderColor-TextBox-error--hover": "var(--xmlui-borderColor-TextBox-error--hover)", "Input:backgroundColor-TextBox-error--hover": "var(--xmlui-backgroundColor-TextBox-error--hover)", "Input:boxShadow-TextBox-error--hover": "var(--xmlui-boxShadow-TextBox-error--hover)", "Input:textColor-TextBox-error--hover": "var(--xmlui-textColor-TextBox-error--hover)", "Input:borderColor-TextBox-error--focus": "var(--xmlui-borderColor-TextBox-error--focus)", "Input:backgroundColor-TextBox-error--focus": "var(--xmlui-backgroundColor-TextBox-error--focus)", "Input:boxShadow-TextBox-error--focus": "var(--xmlui-boxShadow-TextBox-error--focus)", "Input:textColor-TextBox-error--focus": "var(--xmlui-textColor-TextBox-error--focus)", "Input:outlineWidth-TextBox-error--focus": "var(--xmlui-outlineWidth-TextBox-error--focus)", "Input:outlineColor-TextBox-error--focus": "var(--xmlui-outlineColor-TextBox-error--focus)", "Input:outlineStyle-TextBox-error--focus": "var(--xmlui-outlineStyle-TextBox-error--focus)", "Input:outlineOffset-TextBox-error--focus": "var(--xmlui-outlineOffset-TextBox-error--focus)", "Input:color-placeholder-TextBox-error": "var(--xmlui-color-placeholder-TextBox-error)", "Input:color-adornment-TextBox-error": "var(--xmlui-color-adornment-TextBox-error)", "Input:borderRadius-TextBox-warning": "var(--xmlui-borderRadius-TextBox-warning)", "Input:borderColor-TextBox-warning": "var(--xmlui-borderColor-TextBox-warning)", "Input:borderWidth-TextBox-warning": "var(--xmlui-borderWidth-TextBox-warning)", "Input:borderStyle-TextBox-warning": "var(--xmlui-borderStyle-TextBox-warning)", "Input:fontSize-TextBox-warning": "var(--xmlui-fontSize-TextBox-warning)", "Input:padding-TextBox-warning": "var(--xmlui-padding-TextBox-warning)", "Input:backgroundColor-TextBox-warning": "var(--xmlui-backgroundColor-TextBox-warning)", "Input:boxShadow-TextBox-warning": "var(--xmlui-boxShadow-TextBox-warning)", "Input:textColor-TextBox-warning": "var(--xmlui-textColor-TextBox-warning)", "Input:borderColor-TextBox-warning--hover": "var(--xmlui-borderColor-TextBox-warning--hover)", "Input:backgroundColor-TextBox-warning--hover": "var(--xmlui-backgroundColor-TextBox-warning--hover)", "Input:boxShadow-TextBox-warning--hover": "var(--xmlui-boxShadow-TextBox-warning--hover)", "Input:textColor-TextBox-warning--hover": "var(--xmlui-textColor-TextBox-warning--hover)", "Input:borderColor-TextBox-warning--focus": "var(--xmlui-borderColor-TextBox-warning--focus)", "Input:backgroundColor-TextBox-warning--focus": "var(--xmlui-backgroundColor-TextBox-warning--focus)", "Input:boxShadow-TextBox-warning--focus": "var(--xmlui-boxShadow-TextBox-warning--focus)", "Input:textColor-TextBox-warning--focus": "var(--xmlui-textColor-TextBox-warning--focus)", "Input:outlineWidth-TextBox-warning--focus": "var(--xmlui-outlineWidth-TextBox-warning--focus)", "Input:outlineColor-TextBox-warning--focus": "var(--xmlui-outlineColor-TextBox-warning--focus)", "Input:outlineStyle-TextBox-warning--focus": "var(--xmlui-outlineStyle-TextBox-warning--focus)", "Input:outlineOffset-TextBox-warning--focus": "var(--xmlui-outlineOffset-TextBox-warning--focus)", "Input:color-placeholder-TextBox-warning": "var(--xmlui-color-placeholder-TextBox-warning)", "Input:color-adornment-TextBox-warning": "var(--xmlui-color-adornment-TextBox-warning)", "Input:borderRadius-TextBox-success": "var(--xmlui-borderRadius-TextBox-success)", "Input:borderColor-TextBox-success": "var(--xmlui-borderColor-TextBox-success)", "Input:borderWidth-TextBox-success": "var(--xmlui-borderWidth-TextBox-success)", "Input:borderStyle-TextBox-success": "var(--xmlui-borderStyle-TextBox-success)", "Input:fontSize-TextBox-success": "var(--xmlui-fontSize-TextBox-success)", "Input:padding-TextBox-success": "var(--xmlui-padding-TextBox-success)", "Input:backgroundColor-TextBox-success": "var(--xmlui-backgroundColor-TextBox-success)", "Input:boxShadow-TextBox-success": "var(--xmlui-boxShadow-TextBox-success)", "Input:textColor-TextBox-success": "var(--xmlui-textColor-TextBox-success)", "Input:borderColor-TextBox-success--hover": "var(--xmlui-borderColor-TextBox-success--hover)", "Input:backgroundColor-TextBox-success--hover": "var(--xmlui-backgroundColor-TextBox-success--hover)", "Input:boxShadow-TextBox-success--hover": "var(--xmlui-boxShadow-TextBox-success--hover)", "Input:textColor-TextBox-success--hover": "var(--xmlui-textColor-TextBox-success--hover)", "Input:borderColor-TextBox-success--focus": "var(--xmlui-borderColor-TextBox-success--focus)", "Input:backgroundColor-TextBox-success--focus": "var(--xmlui-backgroundColor-TextBox-success--focus)", "Input:boxShadow-TextBox-success--focus": "var(--xmlui-boxShadow-TextBox-success--focus)", "Input:textColor-TextBox-success--focus": "var(--xmlui-textColor-TextBox-success--focus)", "Input:outlineWidth-TextBox-success--focus": "var(--xmlui-outlineWidth-TextBox-success--focus)", "Input:outlineColor-TextBox-success--focus": "var(--xmlui-outlineColor-TextBox-success--focus)", "Input:outlineStyle-TextBox-success--focus": "var(--xmlui-outlineStyle-TextBox-success--focus)", "Input:outlineOffset-TextBox-success--focus": "var(--xmlui-outlineOffset-TextBox-success--focus)", "Input:color-placeholder-TextBox-success": "var(--xmlui-color-placeholder-TextBox-success)", "Input:color-adornment-TextBox-success": "var(--xmlui-color-adornment-TextBox-success)", "Input:backgroundColor-TextBox--disabled": "var(--xmlui-backgroundColor-TextBox--disabled)", "Input:textColor-TextBox--disabled": "var(--xmlui-textColor-TextBox--disabled)", "Input:borderColor-TextBox--disabled": "var(--xmlui-borderColor-TextBox--disabled)"}'`,inputRoot:"_inputRoot_qxt8y_13",input:"_input_qxt8y_13",adornment:"_adornment_qxt8y_53",error:"_error_qxt8y_56",warning:"_warning_qxt8y_91",valid:"_valid_qxt8y_126",readOnly:"_readOnly_qxt8y_181"},id={wrapper:"_wrapper_wg0td_13"},lo={themeVars:`'{"marginTop-Text-default": "var(--xmlui-marginTop-Text-default)", "marginBottom-Text-default": "var(--xmlui-marginBottom-Text-default)", "marginLeft-Text-default": "var(--xmlui-marginLeft-Text-default)", "marginRight-Text-default": "var(--xmlui-marginRight-Text-default)", "verticalAlign-Text-default": "var(--xmlui-verticalAlign-Text-default)", "marginTop-Text-markdown": "var(--xmlui-marginTop-Text-markdown)", "marginBottom-Text-markdown": "var(--xmlui-marginBottom-Text-markdown)", "marginLeft-Text-markdown": "var(--xmlui-marginLeft-Text-markdown)", "marginRight-Text-markdown": "var(--xmlui-marginRight-Text-markdown)", "verticalAlign-Text-markdown": "var(--xmlui-verticalAlign-Text-markdown)", "marginTop-Text-abbr": "var(--xmlui-marginTop-Text-abbr)", "marginBottom-Text-abbr": "var(--xmlui-marginBottom-Text-abbr)", "marginLeft-Text-abbr": "var(--xmlui-marginLeft-Text-abbr)", "marginRight-Text-abbr": "var(--xmlui-marginRight-Text-abbr)", "verticalAlign-Text-abbr": "var(--xmlui-verticalAlign-Text-abbr)", "marginTop-Text-cite": "var(--xmlui-marginTop-Text-cite)", "marginBottom-Text-cite": "var(--xmlui-marginBottom-Text-cite)", "marginLeft-Text-cite": "var(--xmlui-marginLeft-Text-cite)", "marginRight-Text-cite": "var(--xmlui-marginRight-Text-cite)", "verticalAlign-Text-cite": "var(--xmlui-verticalAlign-Text-cite)", "marginTop-Text-em": "var(--xmlui-marginTop-Text-em)", "marginBottom-Text-em": "var(--xmlui-marginBottom-Text-em)", "marginLeft-Text-em": "var(--xmlui-marginLeft-Text-em)", "marginRight-Text-em": "var(--xmlui-marginRight-Text-em)", "verticalAlign-Text-em": "var(--xmlui-verticalAlign-Text-em)", "marginTop-Text-codefence": "var(--xmlui-marginTop-Text-codefence)", "marginBottom-Text-codefence": "var(--xmlui-marginBottom-Text-codefence)", "marginTop-Text-code": "var(--xmlui-marginTop-Text-code)", "marginBottom-Text-code": "var(--xmlui-marginBottom-Text-code)", "marginLeft-Text-code": "var(--xmlui-marginLeft-Text-code)", "marginRight-Text-code": "var(--xmlui-marginRight-Text-code)", "verticalAlign-Text-code": "var(--xmlui-verticalAlign-Text-code)", "marginLeft-Text-codefence": "var(--xmlui-marginLeft-Text-codefence)", "marginRight-Text-codefence": "var(--xmlui-marginRight-Text-codefence)", "verticalAlign-Text-codefence": "var(--xmlui-verticalAlign-Text-codefence)", "marginTop-Text-deleted": "var(--xmlui-marginTop-Text-deleted)", "marginBottom-Text-deleted": "var(--xmlui-marginBottom-Text-deleted)", "marginLeft-Text-deleted": "var(--xmlui-marginLeft-Text-deleted)", "marginRight-Text-deleted": "var(--xmlui-marginRight-Text-deleted)", "verticalAlign-Text-deleted": "var(--xmlui-verticalAlign-Text-deleted)", "marginTop-Text-inserted": "var(--xmlui-marginTop-Text-inserted)", "marginBottom-Text-inserted": "var(--xmlui-marginBottom-Text-inserted)", "marginLeft-Text-inserted": "var(--xmlui-marginLeft-Text-inserted)", "marginRight-Text-inserted": "var(--xmlui-marginRight-Text-inserted)", "verticalAlign-Text-inserted": "var(--xmlui-verticalAlign-Text-inserted)", "marginTop-Text-keyboard": "var(--xmlui-marginTop-Text-keyboard)", "marginBottom-Text-keyboard": "var(--xmlui-marginBottom-Text-keyboard)", "marginLeft-Text-keyboard": "var(--xmlui-marginLeft-Text-keyboard)", "marginRight-Text-keyboard": "var(--xmlui-marginRight-Text-keyboard)", "verticalAlign-Text-keyboard": "var(--xmlui-verticalAlign-Text-keyboard)", "marginTop-Text-marked": "var(--xmlui-marginTop-Text-marked)", "marginBottom-Text-marked": "var(--xmlui-marginBottom-Text-marked)", "marginLeft-Text-marked": "var(--xmlui-marginLeft-Text-marked)", "marginRight-Text-marked": "var(--xmlui-marginRight-Text-marked)", "verticalAlign-Text-marked": "var(--xmlui-verticalAlign-Text-marked)", "marginTop-Text-mono": "var(--xmlui-marginTop-Text-mono)", "marginBottom-Text-mono": "var(--xmlui-marginBottom-Text-mono)", "marginLeft-Text-mono": "var(--xmlui-marginLeft-Text-mono)", "marginRight-Text-mono": "var(--xmlui-marginRight-Text-mono)", "verticalAlign-Text-mono": "var(--xmlui-verticalAlign-Text-mono)", "marginTop-Text-sample": "var(--xmlui-marginTop-Text-sample)", "marginBottom-Text-sample": "var(--xmlui-marginBottom-Text-sample)", "marginLeft-Text-sample": "var(--xmlui-marginLeft-Text-sample)", "marginRight-Text-sample": "var(--xmlui-marginRight-Text-sample)", "verticalAlign-Text-sample": "var(--xmlui-verticalAlign-Text-sample)", "marginTop-Text-sup": "var(--xmlui-marginTop-Text-sup)", "marginBottom-Text-sup": "var(--xmlui-marginBottom-Text-sup)", "marginLeft-Text-sup": "var(--xmlui-marginLeft-Text-sup)", "marginRight-Text-sup": "var(--xmlui-marginRight-Text-sup)", "verticalAlign-Text-sup": "var(--xmlui-verticalAlign-Text-sup)", "marginTop-Text-sub": "var(--xmlui-marginTop-Text-sub)", "marginBottom-Text-sub": "var(--xmlui-marginBottom-Text-sub)", "marginLeft-Text-sub": "var(--xmlui-marginLeft-Text-sub)", "marginRight-Text-sub": "var(--xmlui-marginRight-Text-sub)", "verticalAlign-Text-sub": "var(--xmlui-verticalAlign-Text-sub)", "marginTop-Text-var": "var(--xmlui-marginTop-Text-var)", "marginBottom-Text-var": "var(--xmlui-marginBottom-Text-var)", "marginLeft-Text-var": "var(--xmlui-marginLeft-Text-var)", "marginRight-Text-var": "var(--xmlui-marginRight-Text-var)", "verticalAlign-Text-var": "var(--xmlui-verticalAlign-Text-var)", "marginTop-Text-title": "var(--xmlui-marginTop-Text-title)", "marginBottom-Text-title": "var(--xmlui-marginBottom-Text-title)", "marginLeft-Text-title": "var(--xmlui-marginLeft-Text-title)", "marginRight-Text-title": "var(--xmlui-marginRight-Text-title)", "verticalAlign-Text-title": "var(--xmlui-verticalAlign-Text-title)", "marginTop-Text-subtitle": "var(--xmlui-marginTop-Text-subtitle)", "marginBottom-Text-subtitle": "var(--xmlui-marginBottom-Text-subtitle)", "marginLeft-Text-subtitle": "var(--xmlui-marginLeft-Text-subtitle)", "marginRight-Text-subtitle": "var(--xmlui-marginRight-Text-subtitle)", "verticalAlign-Text-subtitle": "var(--xmlui-verticalAlign-Text-subtitle)", "marginTop-Text-small": "var(--xmlui-marginTop-Text-small)", "marginBottom-Text-small": "var(--xmlui-marginBottom-Text-small)", "marginLeft-Text-small": "var(--xmlui-marginLeft-Text-small)", "marginRight-Text-small": "var(--xmlui-marginRight-Text-small)", "verticalAlign-Text-small": "var(--xmlui-verticalAlign-Text-small)", "marginTop-Text-caption": "var(--xmlui-marginTop-Text-caption)", "marginBottom-Text-caption": "var(--xmlui-marginBottom-Text-caption)", "marginLeft-Text-caption": "var(--xmlui-marginLeft-Text-caption)", "marginRight-Text-caption": "var(--xmlui-marginRight-Text-caption)", "verticalAlign-Text-caption": "var(--xmlui-verticalAlign-Text-caption)", "marginTop-Text-placeholder": "var(--xmlui-marginTop-Text-placeholder)", "marginBottom-Text-placeholder": "var(--xmlui-marginBottom-Text-placeholder)", "marginLeft-Text-placeholder": "var(--xmlui-marginLeft-Text-placeholder)", "marginRight-Text-placeholder": "var(--xmlui-marginRight-Text-placeholder)", "verticalAlign-Text-placeholder": "var(--xmlui-verticalAlign-Text-placeholder)", "marginTop-Text-paragraph": "var(--xmlui-marginTop-Text-paragraph)", "marginBottom-Text-paragraph": "var(--xmlui-marginBottom-Text-paragraph)", "marginLeft-Text-paragraph": "var(--xmlui-marginLeft-Text-paragraph)", "marginRight-Text-paragraph": "var(--xmlui-marginRight-Text-paragraph)", "verticalAlign-Text-paragraph": "var(--xmlui-verticalAlign-Text-paragraph)", "marginTop-Text-subheading": "var(--xmlui-marginTop-Text-subheading)", "marginBottom-Text-subheading": "var(--xmlui-marginBottom-Text-subheading)", "marginLeft-Text-subheading": "var(--xmlui-marginLeft-Text-subheading)", "marginRight-Text-subheading": "var(--xmlui-marginRight-Text-subheading)", "verticalAlign-Text-subheading": "var(--xmlui-verticalAlign-Text-subheading)", "marginTop-Text-tableheading": "var(--xmlui-marginTop-Text-tableheading)", "marginBottom-Text-tableheading": "var(--xmlui-marginBottom-Text-tableheading)", "marginLeft-Text-tableheading": "var(--xmlui-marginLeft-Text-tableheading)", "marginRight-Text-tableheading": "var(--xmlui-marginRight-Text-tableheading)", "verticalAlign-Text-tableheading": "var(--xmlui-verticalAlign-Text-tableheading)", "marginTop-Text-secondary": "var(--xmlui-marginTop-Text-secondary)", "marginBottom-Text-secondary": "var(--xmlui-marginBottom-Text-secondary)", "marginLeft-Text-secondary": "var(--xmlui-marginLeft-Text-secondary)", "marginRight-Text-secondary": "var(--xmlui-marginRight-Text-secondary)", "verticalAlign-Text-secondary": "var(--xmlui-verticalAlign-Text-secondary)"}'`,text:"_text_1ktch_13",markdown:"_markdown_1ktch_75",abbr:"_abbr_1ktch_132",cite:"_cite_1ktch_189",em:"_em_1ktch_246",codefence:"_codefence_1ktch_303",code:"_code_1ktch_303",textcode:"_textcode_1ktch_308",deleted:"_deleted_1ktch_455",inserted:"_inserted_1ktch_527",keyboard:"_keyboard_1ktch_599",marked:"_marked_1ktch_656",mono:"_mono_1ktch_728",sample:"_sample_1ktch_785",sup:"_sup_1ktch_842",sub:"_sub_1ktch_899",var:"_var_1ktch_956",title:"_title_1ktch_1013",subtitle:"_subtitle_1ktch_1070",small:"_small_1ktch_1127",caption:"_caption_1ktch_1184",placeholder:"_placeholder_1ktch_1241",paragraph:"_paragraph_1ktch_1298",subheading:"_subheading_1ktch_1355",tableheading:"_tableheading_1ktch_1412",secondary:"_secondary_1ktch_1469",strong:"_strong_1ktch_1526",truncateOverflow:"_truncateOverflow_1ktch_1534",preserveLinebreaks:"_preserveLinebreaks_1ktch_1541",noEllipsis:"_noEllipsis_1ktch_1545"};function ld(e){if(typeof e=="number")return e+"px";const r=e.trim();if(r.startsWith("var("))return r;const t=parseFloat(r),o=t.toString(),a=r.replace(o,"");return Number.isNaN(t)?"0px":a===""?o+"px":r}function ol(e){const r=e&&e>0?e:0;return r>1?{WebkitLineClamp:r,lineClamp:r,display:"-webkit-box",WebkitBoxOrient:"vertical",boxOrient:"vertical",whiteSpace:"initial"}:xr}function al(e){if(typeof e=="number")return e+"px";if(typeof e=="string"&&/^\d+$/.test(e.trim())){const r=parseInt(e,10);if(!isNaN(r))return r+"px"}return e==null?void 0:e.toString()}const no=s.forwardRef(function({uid:r,variant:t,maxLines:o=0,style:a,children:l,preserveLinebreaks:i,ellipses:n=!0,...c},b){const h=s.useRef(null),p=b?sr(h,b):h,{syntaxHighlightClasses:C,...x}=c,g=s.useMemo(()=>!t||!Ri[t]?"div":Ri[t],[t]);return d.jsx(d.Fragment,{children:d.jsx(g,{...x,ref:p,className:re([C,lo.text,lo[t||"default"],{[lo.truncateOverflow]:o>0,[lo.preserveLinebreaks]:i,[lo.noEllipsis]:!n}]),style:{...a,...ol(o)},children:l})})});function fr({iconName:e,text:r,className:t}){return d.jsx(d.Fragment,{children:e||r?d.jsxs("div",{className:re(id.wrapper,t),role:"presentation",children:[d.jsx(me,{name:e,style:{color:"inherit"}}),r&&d.jsx("div",{style:{display:"flex",userSelect:"none"},children:d.jsx(no,{style:{fontSize:"inherit"},children:r})})]}):null})}function nd(e){const r=sd(e),t=ze.forwardRef((o,a)=>{const{children:l,...i}=o,n=ze.Children.toArray(l),c=n.find(ud);if(c){const b=c.props.children,h=n.map(p=>p===c?ze.Children.count(b)>1?ze.Children.only(null):ze.isValidElement(b)?b.props.children:null:p);return d.jsx(r,{...i,ref:a,children:ze.isValidElement(b)?ze.cloneElement(b,void 0,h):null})}return d.jsx(r,{...i,ref:a,children:l})});return t.displayName=`${e}.Slot`,t}var il=nd("Slot");function sd(e){const r=ze.forwardRef((t,o)=>{const{children:a,...l}=t;if(ze.isValidElement(a)){const i=md(a),n=cd(l,a.props);return a.type!==ze.Fragment&&(n.ref=o?sr(o,i):i),ze.cloneElement(a,n)}return ze.Children.count(a)>1?ze.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var dd=Symbol("radix.slottable");function ud(e){return ze.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dd}function cd(e,r){const t={...r};for(const o in r){const a=e[o],l=r[o];/^on[A-Z]/.test(o)?a&&l?t[o]=(...n)=>{l(...n),a(...n)}:a&&(t[o]=a):o==="style"?t[o]={...a,...l}:o==="className"&&(t[o]=[a,l].filter(Boolean).join(" "))}return{...e,...t}}function md(e){var o,a;let r=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}const Ct={themeVars:`'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)", "fontFamily-FormItemLabel": "var(--xmlui-fontFamily-FormItemLabel)", "fontSize-FormItemLabel": "var(--xmlui-fontSize-FormItemLabel)", "fontWeight-FormItemLabel": "var(--xmlui-fontWeight-FormItemLabel)", "fontStyle-FormItemLabel": "var(--xmlui-fontStyle-FormItemLabel)", "textTransform-FormItemLabel": "var(--xmlui-textTransform-FormItemLabel)", "textColor-FormItemLabel-required": "var(--xmlui-textColor-FormItemLabel-required)", "fontSize-FormItemLabel-required": "var(--xmlui-fontSize-FormItemLabel-required)", "fontWeight-FormItemLabel-required": "var(--xmlui-fontWeight-FormItemLabel-required)", "fontStyle-FormItemLabel-required": "var(--xmlui-fontStyle-FormItemLabel-required)", "textTransform-FormItemLabel-required": "var(--xmlui-textTransform-FormItemLabel-required)", "textColor-FormItemLabel-requiredMark": "var(--xmlui-textColor-FormItemLabel-requiredMark)"}'`,container:"_container_1cgc4_13",top:"_top_1cgc4_20",end:"_end_1cgc4_25",bottom:"_bottom_1cgc4_31",start:"_start_1cgc4_36",shrinkToLabel:"_shrinkToLabel_1cgc4_42",itemWithLabel:"_itemWithLabel_1cgc4_45",inputLabel:"_inputLabel_1cgc4_48",disabled:"_disabled_1cgc4_61",labelBreak:"_labelBreak_1cgc4_65",required:"_required_1cgc4_70",requiredMark:"_requiredMark_1cgc4_77"},Pa={themeVars:`'{"size-Spinner": "var(--xmlui-size-Spinner)", "thickness-Spinner": "var(--xmlui-thickness-Spinner)", "borderColor-Spinner": "var(--xmlui-borderColor-Spinner)"}'`,"lds-ring":"_lds-ring_xat8c_13",fullScreenSpinnerWrapper:"_fullScreenSpinnerWrapper_xat8c_54"},ll=s.forwardRef(function({delay:r=400,fullScreen:t=!1,style:o},a){const[l,i]=s.useState(r===0);s.useEffect(()=>{const c=setTimeout(()=>{i(!0)},r);return()=>{clearTimeout(c)}},[r]);const n=d.jsx(d.Fragment,{children:d.jsxs("div",{className:Pa["lds-ring"],style:o,ref:a,children:[d.jsx("div",{}),d.jsx("div",{}),d.jsx("div",{}),d.jsx("div",{})]})});return l?t?d.jsx("div",{className:Pa.fullScreenSpinnerWrapper,children:n}):n:null}),pd=/^[0-9]+$/,lt=s.forwardRef(function({id:r,labelPosition:t="top",style:o,label:a,labelBreak:l=!0,labelWidth:i,enabled:n=!0,required:c=!1,children:b,validationInProgress:h=!1,shrinkToLabel:p=!1,onFocus:C,onBlur:x,labelStyle:g,validationResult:T,isInputTemplateUsed:y=!1},$){const w=s.useId(),O=r||w;return a===void 0&&!T?d.jsx(il,{style:o,id:O,ref:$,children:b}):d.jsxs("div",{style:o,ref:$,className:Ct.itemWithLabel,children:[d.jsxs("div",{className:re(Ct.container,{[Ct.top]:t==="top",[Ct.bottom]:t==="bottom",[Ct.start]:t==="start",[Ct.end]:t==="end",[Ct.shrinkToLabel]:p}),children:[a&&d.jsxs("label",{htmlFor:O,onClick:()=>document.getElementById(O).focus(),style:{...g,width:i&&pd.test(i)?`${i}px`:i,flexShrink:i!==void 0?0:void 0},className:re(Ct.inputLabel,{[Ct.required]:c,[Ct.disabled]:!n,[Ct.labelBreak]:l}),children:[a," ",c&&d.jsx("span",{className:Ct.requiredMark,children:"*"}),h&&d.jsx(ll,{style:{height:"1em",width:"1em",marginLeft:"1em",alignSelf:"center"}})]}),d.jsx(il,{id:y?void 0:O,children:b})]}),T]})}),Ma=s.forwardRef(function({id:r,type:t="text",value:o="",updateState:a=ae,initialValue:l="",style:i,maxLength:n,enabled:c=!0,placeholder:b,validationStatus:h="none",onDidChange:p=ae,onFocus:C=ae,onBlur:x=ae,registerComponentApi:g,startText:T,startIcon:y,endText:$,endIcon:w,gap:O,autoFocus:V,readOnly:P,tabIndex:Z,label:E,labelPosition:j,labelWidth:U,labelBreak:M,required:f},v){const H=s.useId();r=r||H;const S=s.useRef(null);s.useEffect(()=>{V&&setTimeout(()=>{var W;(W=S.current)==null||W.focus()},0)},[V]);const[L,F]=s.useState(o);s.useEffect(()=>{F(o)},[o]),s.useEffect(()=>{a({value:l},{initial:!0})},[l,a]);const N=s.useCallback(W=>{F(W),a({value:W}),p(W)},[p,a]),D=s.useCallback(W=>{N(W.target.value)},[N]),X=s.useCallback(()=>{C==null||C()},[C]),q=s.useCallback(()=>{x==null||x()},[x]),I=s.useCallback(()=>{var W;(W=S.current)==null||W.focus()},[]),B=Ce(W=>{N(W)});return s.useEffect(()=>{g==null||g({focus:I,setValue:B})},[I,g,B]),d.jsx(lt,{id:r,labelPosition:j,label:E,labelWidth:U,labelBreak:M,required:f,enabled:c,style:i,ref:v,children:d.jsxs("div",{className:re(Ft.inputRoot,{[Ft.disabled]:!c,[Ft.readOnly]:P,[Ft.error]:h==="error",[Ft.warning]:h==="warning",[Ft.valid]:h==="valid"}),tabIndex:-1,onFocus:I,style:{gap:O},children:[d.jsx(fr,{text:T,iconName:y,className:Ft.adornment}),d.jsx("input",{id:r,type:t,className:re(Ft.input,{[Ft.readOnly]:P}),disabled:!c,value:L,maxLength:n,placeholder:b,onChange:D,onFocus:X,onBlur:q,ref:S,readOnly:P,autoFocus:V,tabIndex:c?Z:-1,required:f}),d.jsx(fr,{text:$,iconName:w,className:Ft.adornment})]})})}),Pr="TextBox",nl={status:"experimental",description:`The \`${Pr}\` is an input component that allows users to input and edit textual data.`,props:{placeholder:Er(),initialValue:Tt(),label:qe(),labelPosition:gt("top"),labelWidth:Lt(Pr),labelBreak:_t(Pr),maxLength:ta(),autoFocus:it(),required:Wt(),readOnly:Vt(),enabled:Ze(),validationStatus:At(),startText:_a(),startIcon:Va(),endText:Aa(),endIcon:Wa(),gap:{description:"This property defines the gap between the adornments and the input area."}},events:{gotFocus:xt(Pr),lostFocus:ft(Pr),didChange:at(Pr)},apis:{focus:Jt(Pr),value:m("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Qt()},themeVars:Y(Ft.themeVars),defaultThemeVars:{"borderRadius-Input":"$borderRadius","textColor-Input":"$textColor-primary","backgroundColor-Input--disabled":"$backgroundColor--disabled","borderWidth-Input":"1px","minHeight-Input":"39px","padding-Input":"$space-2","gap-adornment-Input":"$space-2","borderStyle-Input":"solid","borderColor-Input--disabled":"$borderColor--disabled","textColor-Input--disabled":"$textColor--disabled","borderColor-Input-error":"$borderColor-Input-default--error","borderColor-Input-warning":"$borderColor-Input-default--warning","borderColor-Input-success":"$borderColor-Input-default--success","color-placeholder-Input":"$textColor-subtitle","color-adornment-Input":"$textColor-subtitle","outlineColor-Input--focus":"$outlineColor--focus","outlineWidth-Input--focus":"$outlineWidth--focus","outlineStyle-Input--focus":"$outlineStyle--focus","outlineOffset-Input--focus":"$outlineOffset--focus",light:{},dark:{}}},hd={...nl,description:"The `Password` component is a specialized version of the `TextBox` component that allows users to input and edit passwords."};function bd(e){return typeof e=="string"&&(e==null?void 0:e.startsWith("$"))}const vd={$colorSurface0:"$color-surface-0",$colorSurface50:"$color-surface-50",$colorSurface100:"$color-surface-100",$colorSurface200:"$color-surface-200",$colorSurface600:"$color-surface-600",$colorPrimary50:"$color-primary-50",$colorWarn700:"$color-warn-700",$colorDanger600:"$color-danger-600",$colorSuccess600:"$color-success-600"},{$colorSurface0:xd,$colorSurface50:sl,$colorSurface100:fd,$colorSurface200:Da,$colorSurface600:Ra,$colorPrimary50:gd,$colorWarn700:Td,$colorDanger600:dl,$colorSuccess600:Cd}=vd,yd={id:"root",resources:{},themeVars:{"space-base":"0.25rem","const-color-surface-0":"white","const-color-surface-50":"hsl(204, 30.3%, 96.5%)","const-color-surface-100":"hsl(204, 30.3%, 93%)","const-color-surface-200":"hsl(204, 30.3%, 85%)","const-color-surface-300":"hsl(204, 30.3%, 75%)","const-color-surface-400":"hsl(204, 30.3%, 65%)","const-color-surface-500":"hsl(204, 30.3%, 52%)","const-color-surface-600":"hsl(204, 30.3%, 45%)","const-color-surface-700":"hsl(204, 30.3%, 35%)","const-color-surface-800":"hsl(204, 30.3%, 27%)","const-color-surface-900":"hsl(204, 30.3%, 16%)","const-color-surface-950":"hsl(204, 30.3%, 13%)","const-color-surface-1000":"hsl(204, 30.3%, 9%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(212,71.9%,94.5%)","const-color-primary-100":"hsl(212,71.9%,89.1%)","const-color-primary-200":"hsl(212,71.9%,78.1%)","const-color-primary-300":"hsl(212,71.9%,67.2%)","const-color-primary-400":"hsl(212,71.9%,56.3%)","const-color-primary-500":"#206bc4","const-color-primary-600":"hsl(212,71.9%,36.3%)","const-color-primary-700":"hsl(212,71.9%,27.2%)","const-color-primary-800":"hsl(212,71.9%,18.1%)","const-color-primary-900":"hsl(212,71.9%,9.1%)","const-color-primary-950":"hsl(212,71.9%,4.5%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(211.7,21.2%,96.9%)","const-color-secondary-100":"hsl(211.7,21.2%,93.7%)","const-color-secondary-200":"hsl(211.7,21.2%,87.4%)","const-color-secondary-300":"hsl(211.7,21.2%,81.1%)","const-color-secondary-400":"hsl(211.7,21.2%,74.8%)","const-color-secondary-500":"#6c7a91","const-color-secondary-600":"hsl(211.7,21.2%,54.8%)","const-color-secondary-700":"hsl(211.7,21.2%,41.1%)","const-color-secondary-800":"hsl(211.7,21.2%,27.4%)","const-color-secondary-900":"hsl(211.7,21.2%,13.7%)","const-color-secondary-950":"hsl(211.7,21.2%,6.9%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(45, 100%, 97%)","const-color-warn-100":"hsl(45, 100%, 91%)","const-color-warn-200":"hsl(45, 100%, 80%)","const-color-warn-300":"hsl(45, 100%, 70%)","const-color-warn-400":"hsl(45, 100%, 60%)","const-color-warn-500":"hsl(35, 100%, 50%)","const-color-warn-600":"hsl(35, 100%, 45%)","const-color-warn-700":"hsl(35, 100%, 40%)","const-color-warn-800":"hsl(35, 100%, 35%)","const-color-warn-900":"hsl(35, 100%, 30%)","const-color-warn-950":"hsl(35, 100%, 15%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(356, 100%, 95%)","const-color-danger-100":"hsl(356, 100%, 91%)","const-color-danger-200":"hsl(356, 100%, 80%)","const-color-danger-300":"hsl(356, 100%, 70%)","const-color-danger-400":"hsl(356, 100%, 60%)","const-color-danger-500":"hsl(356, 100%, 50%)","const-color-danger-600":"hsl(356, 100%, 45%)","const-color-danger-700":"hsl(356, 100%, 40%)","const-color-danger-800":"hsl(356, 100%, 35%)","const-color-danger-900":"hsl(356, 100%, 30%)","const-color-danger-950":"hsl(356, 100%, 15%)","const-color-danger":"$const-color-danger-600","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(129.5, 58.4%, 96.4%)","const-color-success-100":"hsl(129.5, 58.4%, 92.9%)","const-color-success-200":"hsl(129.5, 58.4%, 85.7%)","const-color-success-300":"hsl(129.5, 58.4%, 78.6%)","const-color-success-400":"hsl(129.5, 58.4%, 71.5%)","const-color-success-500":"hsl(129.5, 58.4%, 51.5%)","const-color-success-600":"hsl(129.5, 58.4%, 45%)","const-color-success-700":"hsl(129.5, 58.4%, 38.6%)","const-color-success-800":"hsl(129.5, 58.4%, 25.7%)","const-color-success-900":"hsl(129.5, 58.4%, 12.9%)","const-color-success-950":"hsl(129.5, 58.4%, 6.4%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(183, 97%, 95%)","const-color-info-100":"hsl(183, 97%, 90%)","const-color-info-200":"hsl(183, 97%, 80%)","const-color-info-300":"hsl(183, 97%, 70%)","const-color-info-400":"hsl(183, 97%, 60%)","const-color-info-500":"hsl(183, 97%, 50%)","const-color-info-600":"hsl(183, 97%, 45%)","const-color-info-700":"hsl(183, 97%, 35%)","const-color-info-800":"hsl(183, 97%, 25%)","const-color-info-900":"hsl(183, 97%, 15%)","const-color-info-950":"hsl(183, 97%, 10%)","fontWeight-light":"300","fontWeight-normal":"400","fontWeight-medium":"500","fontWeight-bold":"600","fontWeight-extra-bold":"900","textColor-primary":"$color-surface-950","textColor-attention":"$color-danger-600","textColor-subtitle":"$color-surface-500","textColor--disabled":"$color-surface-400","backgroundColor-primary":"$color-surface-50","backgroundColor-secondary":"$color-surface-50","backgroundColor-attention":"$color-attention","backgroundColor--disabled":"$color-surface-50","backgroundColor--selected":"$color-primary-50","color-info":"$color-info-500","color-valid":"$color-success-600","color-warning":"$color-warn-700","color-error":"$color-danger-600","lineHeight-none":"1","lineHeight-tight":"1.25","lineHeight-snug":"1.375","lineHeight-normal":"1.5","lineHeight-relaxed":"1.625","lineHeight-loose":"2","fontFamily-sans-serif":"'Inter', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif","fontFamily-monospace":"Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace","font-feature-settings":"'cv03', 'cv04', 'cv11'","maxWidth-phone":"576px","maxWidth-landscape-phone":"768px","maxWidth-tablet":"992px","maxWidth-desktop":"1200px","maxWidth-large-desktop":"1400px",borderRadius:"4px","outlineColor--focus":"rgba($color-primary-500-rgb, .5)","outlineWidth--focus":"2px","outlineStyle--focus":"solid","outlineOffset--focus":"0",fontFamily:"$fontFamily-sans-serif","fontSize-gigantic":"3rem","fontSize-larger":"2.15rem","fontSize-large":"1.5rem","fontSize-medium":"1.25rem","fontSize-normal":"1rem","fontSize-small":"0.875rem","fontSize-smaller":"0.75rem","fontSize-tiny":"0.625rem",fontSize:"$fontSize-normal","gap-none":"$space-0","gap-tight":"$space-2","gap-normal":"$space-4","gap-loose":"$space-8","padding-none":"$space-0","padding-tight":"$space-2","padding-normal":"$space-4","padding-loose":"$space-8","space-none":"$space-0","space-tight":"$space-2","space-normal":"$space-4","space-loose":"$space-8",fontWeight:"$fontWeight-normal","borderColor-dropdown-item":"$borderColor",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06)","boxShadow-md":"0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06)","boxShadow-xl":"0 16px 24px 2px rgba(0, 0, 0, 0.07), 0 6px 30px 5px rgba(0, 0, 0, 0.06), 0 8px 10px -5px rgba(0, 0, 0, 0.1)","boxShadow-xxl":"0 8px 17px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)","boxShadow-spread":"0px 0px 30px rgba(0, 0, 0, 0.1)","boxShadow-spread-2":"-6px -4px 40px 10px rgba(0, 0, 0, 0.1)","boxShadow-spread-2-xl":"-6px -4px 40px 18px rgba(0, 0, 0, 0.1)","maxWidth-content":"1320px",backgroundColor:"$color-surface-subtle","backgroundColor-overlay":"rgba(0, 0, 0, 0.2)","backgroundColor-dropdown-item--hover":sl,"backgroundColor-dropdown-item--active":fd,"backgroundColor-dropdown-item--active-hover":sl,"backgroundColor-tree-row--selected--before":gd,borderColor:Da,"borderColor--disabled":Da,"textColor-secondary":Ra,"backgroundColor-Input-default":xd,"borderColor-Input-default":Da,"borderColor-Input-default--hover":Ra,"borderColor-Input-default--focus":Ra,"borderColor-Input-default--success":Cd,"borderColor-Input-default--warning":Td,"borderColor-Input-default--error":dl,"textColor-InputLabel-required":dl},tones:{light:{themeVars:{"color-surface-0":"$const-color-surface-0","color-surface-50":"$const-color-surface-50","color-surface-100":"$const-color-surface-100","color-surface-200":"$const-color-surface-200","color-surface-300":"$const-color-surface-300","color-surface-400":"$const-color-surface-400","color-surface-500":"$const-color-surface-500","color-surface-600":"$const-color-surface-600","color-surface-700":"$const-color-surface-700","color-surface-800":"$const-color-surface-800","color-surface-900":"$const-color-surface-900","color-surface-950":"$const-color-surface-950","color-surface-1000":"$const-color-surface-1000","color-surface":"$const-color-surface-500","color-surface-base":"$color-surface-0","color-surface-lower":"$color-surface-100","color-surface-raised":"$color-surface-0","color-surface-subtle":"$color-surface-50","color-primary-50":"$const-color-primary-50","color-primary-100":"$const-color-primary-100","color-primary-200":"$const-color-primary-200","color-primary-300":"$const-color-primary-300","color-primary-400":"$const-color-primary-400","color-primary-500":"$const-color-primary-500","color-primary-600":"$const-color-primary-600","color-primary-700":"$const-color-primary-700","color-primary-800":"$const-color-primary-800","color-primary-900":"$const-color-primary-900","color-primary-950":"$const-color-primary-950","color-primary":"$const-color-primary-500","color-secondary-50":"$const-color-secondary-50","color-secondary-100":"$const-color-secondary-100","color-secondary-200":"$const-color-secondary-200","color-secondary-300":"$const-color-secondary-300","color-secondary-400":"$const-color-secondary-400","color-secondary-500":"$const-color-secondary-500","color-secondary-600":"$const-color-secondary-600","color-secondary-700":"$const-color-secondary-700","color-secondary-800":"$const-color-secondary-800","color-secondary-900":"$const-color-secondary-900","color-secondary-950":"$const-color-secondary-950","color-secondary":"$const-color-secondary-500","color-warn-50":"$const-color-warn-50","color-warn-100":"$const-color-warn-100","color-warn-200":"$const-color-warn-200","color-warn-300":"$const-color-warn-300","color-warn-400":"$const-color-warn-400","color-warn-500":"$const-color-warn-500","color-warn-600":"$const-color-warn-600","color-warn-700":"$const-color-warn-700","color-warn-800":"$const-color-warn-800","color-warn-900":"$const-color-warn-900","color-warn-950":"$const-color-warn-950","color-warn":"$const-color-warn-500","color-danger-50":"$const-color-danger-50","color-danger-100":"$const-color-danger-100","color-danger-200":"$const-color-danger-200","color-danger-300":"$const-color-danger-300","color-danger-400":"$const-color-danger-400","color-danger-500":"$const-color-danger-500","color-danger-600":"$const-color-danger-600","color-danger-700":"$const-color-danger-700","color-danger-800":"$const-color-danger-800","color-danger-900":"$const-color-danger-900","color-danger-950":"$const-color-danger-950","color-danger":"$const-color-danger-600","color-attention":"$const-color-danger-500","color-success-50":"$const-color-success-50","color-success-100":"$const-color-success-100","color-success-200":"$const-color-success-200","color-success-300":"$const-color-success-300","color-success-400":"$const-color-success-400","color-success-500":"$const-color-success-500","color-success-600":"$const-color-success-600","color-success-700":"$const-color-success-700","color-success-800":"$const-color-success-800","color-success-900":"$const-color-success-900","color-success-950":"$const-color-success-950","color-success":"$const-color-success-500","color-info-50 ":"$const-color-info-50 ","color-info-100":"$const-color-info-100","color-info-200":"$const-color-info-200","color-info-300":"$const-color-info-300","color-info-400":"$const-color-info-400","color-info-500":"$const-color-info-500","color-info-600":"$const-color-info-600","color-info-700":"$const-color-info-700","color-info-800":"$const-color-info-800","color-info-900":"$const-color-info-900","color-info-950":"$const-color-info-950","color-info":"$const-color-info-800"}},dark:{themeVars:{"color-surface-0":"$const-color-surface-1000","color-surface-50":"$const-color-surface-950","color-surface-100":"$const-color-surface-900","color-surface-200":"$const-color-surface-800","color-surface-300":"$const-color-surface-700","color-surface-400":"$const-color-surface-600","color-surface-500":"$const-color-surface-500","color-surface-600":"$const-color-surface-400","color-surface-700":"$const-color-surface-300","color-surface-800":"$const-color-surface-200","color-surface-900":"$const-color-surface-100","color-surface-950":"$const-color-surface-50","color-surface-1000":"$const-color-surface-0","color-surface":"$const-color-surface-500","color-surface-base":"$color-surface-0","color-surface-lower":"$color-surface-0","color-surface-raised":"$color-surface-100","color-surface-subtle":"$color-surface-50","color-primary-50":"$const-color-primary-950","color-primary-100":"$const-color-primary-900","color-primary-200":"$const-color-primary-800","color-primary-300":"$const-color-primary-700","color-primary-400":"$const-color-primary-600","color-primary-500":"$const-color-primary-500","color-primary-600":"$const-color-primary-400","color-primary-700":"$const-color-primary-300","color-primary-800":"$const-color-primary-200","color-primary-900":"$const-color-primary-100","color-primary-950":"$const-color-primary-50","color-primary":"$const-color-primary-500","color-secondary-50":"$const-color-secondary-950","color-secondary-100":"$const-color-secondary-900","color-secondary-200":"$const-color-secondary-800","color-secondary-300":"$const-color-secondary-700","color-secondary-400":"$const-color-secondary-600","color-secondary-500":"$const-color-secondary-500","color-secondary-600":"$const-color-secondary-400","color-secondary-700":"$const-color-secondary-300","color-secondary-800":"$const-color-secondary-200","color-secondary-900":"$const-color-secondary-100","color-secondary-950":"$const-color-secondary-50","color-secondary":"$const-color-secondary-500","color-warn-50":"$const-color-warn-950","color-warn-100":"$const-color-warn-900","color-warn-200":"$const-color-warn-800","color-warn-300":"$const-color-warn-700","color-warn-400":"$const-color-warn-600","color-warn-500":"$const-color-warn-500","color-warn-600":"$const-color-warn-400","color-warn-700":"$const-color-warn-300","color-warn-800":"$const-color-warn-200","color-warn-900":"$const-color-warn-100","color-warn-950":"$const-color-warn-50","color-warn":"$const-color-warn-500","color-danger-50":"$const-color-danger-950","color-danger-100":"$const-color-danger-900","color-danger-200":"$const-color-danger-800","color-danger-300":"$const-color-danger-700","color-danger-400":"$const-color-danger-600","color-danger-500":"$const-color-danger-500","color-danger-600":"$const-color-danger-400","color-danger-700":"$const-color-danger-300","color-danger-800":"$const-color-danger-200","color-danger-900":"$const-color-danger-100","color-danger-950":"$const-color-danger-50","color-danger":"$const-color-danger-500","color-attention":"$const-color-danger-400","color-success-50":"$const-color-success-950","color-success-100":"$const-color-success-900","color-success-200":"$const-color-success-800","color-success-300":"$const-color-success-700","color-success-400":"$const-color-success-600","color-success-500":"$const-color-success-500","color-success-600":"$const-color-success-400","color-success-700":"$const-color-success-300","color-success-800":"$const-color-success-200","color-success-900":"$const-color-success-100","color-success-950":"$const-color-success-50","color-success":"$const-color-success-500","color-info-50 ":"$const-color-info-950 ","color-info-100":"$const-color-info-900","color-info-200":"$const-color-info-800","color-info-300":"$const-color-info-700","color-info-400":"$const-color-info-600","color-info-500":"$const-color-info-500","color-info-600":"$const-color-info-400","color-info-700":"$const-color-info-300","color-info-800":"$const-color-info-200","color-info-900":"$const-color-info-100","color-info-950":"$const-color-info-50","color-info":"$const-color-info-200"}}}},Hd={"const-color-surface-50":"hsl(144, 20%, 96.5%)","const-color-surface-100":"hsl(144, 20%, 93%)","const-color-surface-200":"hsl(144, 20%, 85%)","const-color-surface-300":"hsl(144, 20%, 75%)","const-color-surface-400":"hsl(144, 20%, 65%)","const-color-surface-500":"hsl(144, 20%, 61%)","const-color-surface-600":"hsl(144, 20%, 45%)","const-color-surface-700":"hsl(144, 20%, 35%)","const-color-surface-800":"hsl(144, 20%, 27%)","const-color-surface-900":"hsl(144, 20%, 16%)","const-color-surface-950":"hsl(144, 20%, 13%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(158, 85%, 94.5%)","const-color-primary-100":"hsl(158, 85%, 89.1%)","const-color-primary-200":"hsl(158, 85%, 78.1%)","const-color-primary-300":"hsl(158, 85%, 67.2%)","const-color-primary-400":"hsl(158, 85%, 56.3%)","const-color-primary-500":"hsl(158, 85%, 33%)","const-color-primary-600":"hsl(158, 85%, 29.7%)","const-color-primary-700":"hsl(158, 85%, 27.2%)","const-color-primary-800":"hsl(158, 85%, 18.1%)","const-color-primary-900":"hsl(158, 85%, 9.1%)","const-color-primary-950":"hsl(158, 85%, 4.5%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(198, 100%, 94.5%)","const-color-secondary-100":"hsl(198, 100%, 89.1%)","const-color-secondary-200":"hsl(198, 100%, 78.1%)","const-color-secondary-300":"hsl(198, 100%, 67.2%)","const-color-secondary-400":"hsl(198, 100%, 56.3%)","const-color-secondary-500":"hsl(198, 100%, 29%)","const-color-secondary-600":"hsl(198, 100%, 25%)","const-color-secondary-700":"hsl(198, 100%, 20%)","const-color-secondary-800":"hsl(198, 100%, 15%)","const-color-secondary-900":"hsl(198, 100%, 10%)","const-color-secondary-950":"hsl(198, 100%, 5%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(36, 100%, 93%)","const-color-warn-100":"hsl(36, 100%, 86%)","const-color-warn-200":"hsl(36, 100%, 72%)","const-color-warn-300":"hsl(36, 100%, 58%)","const-color-warn-400":"hsl(36, 100%, 44%)","const-color-warn-500":"hsl(36, 77%, 60%)","const-color-warn-600":"hsl(36, 77%, 54%)","const-color-warn-700":"hsl(36, 77%, 48%)","const-color-warn-800":"hsl(36, 77%, 42%)","const-color-warn-900":"hsl(36, 77%, 36%)","const-color-warn-950":"hsl(36, 77%, 30%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(355, 95%, 95%)","const-color-danger-100":"hsl(355, 95%, 85%)","const-color-danger-200":"hsl(355, 95%, 75%)","const-color-danger-300":"hsl(355, 95%, 65%)","const-color-danger-400":"hsl(355, 95%, 55%)","const-color-danger-500":"hsl(355, 95%, 66%)","const-color-danger-600":"hsl(355, 95%, 60%)","const-color-danger-700":"hsl(355, 95%, 54%)","const-color-danger-800":"hsl(355, 95%, 48%)","const-color-danger-900":"hsl(355, 95%, 42%)","const-color-danger-950":"hsl(355, 95%, 36%)","const-color-danger":"$const-color-danger-500","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(158, 85%, 94.5%)","const-color-success-100":"hsl(158, 85%, 89.1%)","const-color-success-200":"hsl(158, 85%, 78.1%)","const-color-success-300":"hsl(158, 85%, 67.2%)","const-color-success-400":"hsl(158, 85%, 56.3%)","const-color-success-500":"hsl(158, 85%, 33%)","const-color-success-600":"hsl(158, 85%, 29.7%)","const-color-success-700":"hsl(158, 85%, 27.2%)","const-color-success-800":"hsl(158, 85%, 18.1%)","const-color-success-900":"hsl(158, 85%, 9.1%)","const-color-success-950":"hsl(158, 85%, 4.5%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(202, 95%, 95%)","const-color-info-100":"hsl(202, 95%, 90%)","const-color-info-200":"hsl(202, 95%, 80%)","const-color-info-300":"hsl(202, 95%, 70%)","const-color-info-400":"hsl(202, 95%, 60%)","const-color-info-500":"hsl(202, 95%, 50%)","const-color-info-600":"hsl(202, 95%, 45%)","const-color-info-700":"hsl(202, 95%, 35%)","const-color-info-800":"hsl(202, 95%, 25%)","const-color-info-900":"hsl(202, 95%, 15%)","const-color-info-950":"hsl(202, 95%, 10%)","const-color-info":"$const-color-info-500"},Sd={"const-color-surface-50":"hsl(0, 0%, 98%)","const-color-surface-100":"hsl(0, 0%, 95%)","const-color-surface-200":"hsl(0, 0%, 83%)","const-color-surface-300":"hsl(0, 0%, 75%)","const-color-surface-400":"hsl(0, 0%, 63%)","const-color-surface-500":"hsl(0, 0%, 70%)","const-color-surface-600":"hsl(0, 0%, 60%)","const-color-surface-700":"hsl(0, 0%, 50%)","const-color-surface-800":"hsl(0, 0%, 40%)","const-color-surface-900":"hsl(0, 0%, 30%)","const-color-surface-950":"hsl(0, 0%, 20%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(0, 0%, 94.5%)","const-color-primary-100":"hsl(0, 0%, 89.1%)","const-color-primary-200":"hsl(0, 0%, 78.1%)","const-color-primary-300":"hsl(0, 0%, 67.2%)","const-color-primary-400":"hsl(0, 0%, 56.3%)","const-color-primary-500":"hsl(0, 0%, 36.9%)","const-color-primary-600":"hsl(0, 0%, 33%)","const-color-primary-700":"hsl(0, 0%, 29%)","const-color-primary-800":"hsl(0, 0%, 25%)","const-color-primary-900":"hsl(0, 0%, 21%)","const-color-primary-950":"hsl(0, 0%, 17%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(0, 0%, 94.5%)","const-color-secondary-100":"hsl(0, 0%, 89.1%)","const-color-secondary-200":"hsl(0, 0%, 78.1%)","const-color-secondary-300":"hsl(0, 0%, 67.2%)","const-color-secondary-400":"hsl(0, 0%, 56.3%)","const-color-secondary-500":"hsl(0, 0%, 57.6%)","const-color-secondary-600":"hsl(0, 0%, 52%)","const-color-secondary-700":"hsl(0, 0%, 46%)","const-color-secondary-800":"hsl(0, 0%, 40%)","const-color-secondary-900":"hsl(0, 0%, 34%)","const-color-secondary-950":"hsl(0, 0%, 28%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(36, 85%, 93%)","const-color-warn-100":"hsl(36, 85%, 86%)","const-color-warn-200":"hsl(36, 85%, 72%)","const-color-warn-300":"hsl(36, 85%, 58%)","const-color-warn-400":"hsl(36, 85%, 44%)","const-color-warn-500":"hsl(36, 85%, 56%)","const-color-warn-600":"hsl(36, 85%, 50%)","const-color-warn-700":"hsl(36, 85%, 44%)","const-color-warn-800":"hsl(36, 85%, 38%)","const-color-warn-900":"hsl(36, 85%, 32%)","const-color-warn-950":"hsl(36, 85%, 26%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(18, 87%, 95%)","const-color-danger-100":"hsl(18, 87%, 85%)","const-color-danger-200":"hsl(18, 87%, 75%)","const-color-danger-300":"hsl(18, 87%, 65%)","const-color-danger-400":"hsl(18, 87%, 55%)","const-color-danger-500":"hsl(18, 87%, 68%)","const-color-danger-600":"hsl(18, 87%, 60%)","const-color-danger-700":"hsl(18, 87%, 50%)","const-color-danger-800":"hsl(18, 87%, 40%)","const-color-danger-900":"hsl(18, 87%, 30%)","const-color-danger-950":"hsl(18, 87%, 20%)","const-color-danger":"$const-color-danger-500","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(168, 100%, 95%)","const-color-success-100":"hsl(168, 100%, 85%)","const-color-success-200":"hsl(168, 100%, 75%)","const-color-success-300":"hsl(168, 100%, 65%)","const-color-success-400":"hsl(168, 100%, 55%)","const-color-success-500":"hsl(168, 100%, 39%)","const-color-success-600":"hsl(168, 100%, 35%)","const-color-success-700":"hsl(168, 100%, 30%)","const-color-success-800":"hsl(168, 100%, 25%)","const-color-success-900":"hsl(168, 100%, 20%)","const-color-success-950":"hsl(168, 100%, 15%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(204, 98%, 95%)","const-color-info-100":"hsl(204, 98%, 90%)","const-color-info-200":"hsl(204, 98%, 80%)","const-color-info-300":"hsl(204, 98%, 70%)","const-color-info-400":"hsl(204, 98%, 60%)","const-color-info-500":"hsl(204, 98%, 50%)","const-color-info-600":"hsl(204, 98%, 45%)","const-color-info-700":"hsl(204, 98%, 35%)","const-color-info-800":"hsl(204, 98%, 25%)","const-color-info-900":"hsl(204, 98%, 15%)","const-color-info-950":"hsl(204, 98%, 10%)","const-color-info":"$const-color-info-500"},kd={"const-color-surface-50":"hsl(220, 3%, 98%)","const-color-surface-100":"hsl(220, 3%, 95%)","const-color-surface-200":"hsl(220, 3%, 83%)","const-color-surface-300":"hsl(220, 3%, 75%)","const-color-surface-400":"hsl(220, 3%, 63%)","const-color-surface-500":"hsl(220, 3%, 63%)","const-color-surface-600":"hsl(220, 3%, 60%)","const-color-surface-700":"hsl(220, 3%, 50%)","const-color-surface-800":"hsl(220, 3%, 40%)","const-color-surface-900":"hsl(220, 3%, 30%)","const-color-surface-950":"hsl(220, 3%, 20%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(36, 100%, 95%)","const-color-primary-100":"hsl(36, 100%, 85%)","const-color-primary-200":"hsl(36, 100%, 75%)","const-color-primary-300":"hsl(36, 100%, 65%)","const-color-primary-400":"hsl(36, 100%, 55%)","const-color-primary-500":"hsl(36, 100%, 57%)","const-color-primary-600":"hsl(36, 100%, 50%)","const-color-primary-700":"hsl(36, 100%, 45%)","const-color-primary-800":"hsl(36, 100%, 40%)","const-color-primary-900":"hsl(36, 100%, 35%)","const-color-primary-950":"hsl(36, 100%, 30%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(204, 33%, 94.5%)","const-color-secondary-100":"hsl(204, 33%, 89.1%)","const-color-secondary-200":"hsl(204, 33%, 78.1%)","const-color-secondary-300":"hsl(204, 33%, 67.2%)","const-color-secondary-400":"hsl(204, 33%, 56.3%)","const-color-secondary-500":"hsl(204, 33%, 26%)","const-color-secondary-600":"hsl(204, 33%, 23%)","const-color-secondary-700":"hsl(204, 33%, 20%)","const-color-secondary-800":"hsl(204, 33%, 17%)","const-color-secondary-900":"hsl(204, 33%, 14%)","const-color-secondary-950":"hsl(204, 33%, 11%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(20, 100%, 95%)","const-color-warn-100":"hsl(20, 100%, 85%)","const-color-warn-200":"hsl(20, 100%, 75%)","const-color-warn-300":"hsl(20, 100%, 65%)","const-color-warn-400":"hsl(20, 100%, 55%)","const-color-warn-500":"hsl(20, 100%, 55%)","const-color-warn-600":"hsl(20, 100%, 45%)","const-color-warn-700":"hsl(20, 100%, 40%)","const-color-warn-800":"hsl(20, 100%, 35%)","const-color-warn-900":"hsl(20, 100%, 30%)","const-color-warn-950":"hsl(20, 100%, 25%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(0, 60%, 95%)","const-color-danger-100":"hsl(0, 60%, 85%)","const-color-danger-200":"hsl(0, 60%, 75%)","const-color-danger-300":"hsl(0, 60%, 65%)","const-color-danger-400":"hsl(0, 60%, 55%)","const-color-danger-500":"hsl(0, 60%, 55%)","const-color-danger-600":"hsl(0, 60%, 45%)","const-color-danger-700":"hsl(0, 60%, 40%)","const-color-danger-800":"hsl(0, 60%, 35%)","const-color-danger-900":"hsl(0, 60%, 30%)","const-color-danger-950":"hsl(0, 60%, 25%)","const-color-danger":"$const-color-danger-500","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(134, 38%, 95%)","const-color-success-100":"hsl(134, 38%, 85%)","const-color-success-200":"hsl(134, 38%, 75%)","const-color-success-300":"hsl(134, 38%, 65%)","const-color-success-400":"hsl(134, 38%, 55%)","const-color-success-500":"hsl(134, 38%, 45%)","const-color-success-600":"hsl(134, 38%, 40%)","const-color-success-700":"hsl(134, 38%, 35%)","const-color-success-800":"hsl(134, 38%, 30%)","const-color-success-900":"hsl(134, 38%, 25%)","const-color-success-950":"hsl(134, 38%, 20%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(197, 100%, 95%)","const-color-info-100":"hsl(197, 100%, 90%)","const-color-info-200":"hsl(197, 100%, 80%)","const-color-info-300":"hsl(197, 100%, 70%)","const-color-info-400":"hsl(197, 100%, 60%)","const-color-info-500":"hsl(197, 100%, 50%)","const-color-info-600":"hsl(197, 100%, 45%)","const-color-info-700":"hsl(197, 100%, 35%)","const-color-info-800":"hsl(197, 100%, 25%)","const-color-info-900":"hsl(197, 100%, 15%)","const-color-info-950":"hsl(197, 100%, 10%)","const-color-info":"$const-color-info-500"},wd={"const-color-surface-50":"hsl(0, 0%, 96%)","const-color-surface-100":"hsl(0, 0%, 90%)","const-color-surface-200":"hsl(0, 0%, 80%)","const-color-surface-300":"hsl(0, 0%, 70%)","const-color-surface-400":"hsl(0, 0%, 60%)","const-color-surface-500":"hsl(0, 0%, 59%)","const-color-surface-600":"hsl(0, 0%, 50%)","const-color-surface-700":"hsl(0, 0%, 40%)","const-color-surface-800":"hsl(0, 0%, 30%)","const-color-surface-900":"hsl(0, 0%, 20%)","const-color-surface-950":"hsl(0, 0%, 10%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(300, 42%, 95%)","const-color-primary-100":"hsl(300, 42%, 85%)","const-color-primary-200":"hsl(300, 42%, 75%)","const-color-primary-300":"hsl(300, 42%, 65%)","const-color-primary-400":"hsl(300, 42%, 55%)","const-color-primary-500":"hsl(300, 42%, 31%)","const-color-primary-600":"hsl(300, 42%, 28%)","const-color-primary-700":"hsl(300, 42%, 25%)","const-color-primary-800":"hsl(300, 42%, 22%)","const-color-primary-900":"hsl(300, 42%, 19%)","const-color-primary-950":"hsl(300, 42%, 16%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(204, 100%, 95%)","const-color-secondary-100":"hsl(204, 100%, 85%)","const-color-secondary-200":"hsl(204, 100%, 75%)","const-color-secondary-300":"hsl(204, 100%, 65%)","const-color-secondary-400":"hsl(204, 100%, 55%)","const-color-secondary-500":"hsl(204, 100%, 38%)","const-color-secondary-600":"hsl(204, 100%, 35%)","const-color-secondary-700":"hsl(204, 100%, 30%)","const-color-secondary-800":"hsl(204, 100%, 25%)","const-color-secondary-900":"hsl(204, 100%, 20%)","const-color-secondary-950":"hsl(204, 100%, 15%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(20, 95%, 95%)","const-color-warn-100":"hsl(20, 95%, 85%)","const-color-warn-200":"hsl(20, 95%, 75%)","const-color-warn-300":"hsl(20, 95%, 65%)","const-color-warn-400":"hsl(20, 95%, 55%)","const-color-warn-500":"hsl(20, 95%, 66%)","const-color-warn-600":"hsl(20, 95%, 60%)","const-color-warn-700":"hsl(20, 95%, 55%)","const-color-warn-800":"hsl(20, 95%, 50%)","const-color-warn-900":"hsl(20, 95%, 45%)","const-color-warn-950":"hsl(20, 95%, 40%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(355, 65%, 95%)","const-color-danger-100":"hsl(355, 65%, 85%)","const-color-danger-200":"hsl(355, 65%, 75%)","const-color-danger-300":"hsl(355, 65%, 65%)","const-color-danger-400":"hsl(355, 65%, 55%)","const-color-danger-500":"hsl(355, 65%, 60%)","const-color-danger-600":"hsl(355, 65%, 50%)","const-color-danger-700":"hsl(355, 65%, 45%)","const-color-danger-800":"hsl(355, 65%, 40%)","const-color-danger-900":"hsl(355, 65%, 35%)","const-color-danger-950":"hsl(355, 65%, 30%)","const-color-danger":"$const-color-danger-500","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(178, 100%, 95%)","const-color-success-100":"hsl(178, 100%, 85%)","const-color-success-200":"hsl(178, 100%, 75%)","const-color-success-300":"hsl(178, 100%, 65%)","const-color-success-400":"hsl(178, 100%, 55%)","const-color-success-500":"hsl(178, 100%, 27%)","const-color-success-600":"hsl(178, 100%, 36%)","const-color-success-700":"hsl(178, 100%, 32%)","const-color-success-800":"hsl(178, 100%, 28%)","const-color-success-900":"hsl(178, 100%, 24%)","const-color-success-950":"hsl(178, 100%, 20%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(183, 66%, 92%)","const-color-info-100":"hsl(183, 66%, 84%)","const-color-info-200":"hsl(183, 66%, 76%)","const-color-info-300":"hsl(183, 66%, 68%)","const-color-info-400":"hsl(183, 66%, 60%)","const-color-info-500":"hsl(183, 66%, 50%)","const-color-info-600":"hsl(183, 66%, 45%)","const-color-info-700":"hsl(183, 66%, 35%)","const-color-info-800":"hsl(183, 66%, 25%)","const-color-info-900":"hsl(183, 66%, 15%)","const-color-info-950":"hsl(183, 66%, 10%)","const-color-info":"$const-color-info-500"},Id={"const-color-surface-50":"hsl(180, 15%, 95%)","const-color-surface-100":"hsl(180, 15%, 85%)","const-color-surface-200":"hsl(180, 15%, 75%)","const-color-surface-300":"hsl(180, 15%, 65%)","const-color-surface-400":"hsl(180, 15%, 55%)","const-color-surface-500":"hsl(180, 15%, 52%)","const-color-surface-600":"hsl(180, 15%, 45%)","const-color-surface-700":"hsl(180, 15%, 40%)","const-color-surface-800":"hsl(180, 15%, 35%)","const-color-surface-900":"hsl(180, 15%, 30%)","const-color-surface-950":"hsl(180, 15%, 25%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(180, 100%, 95%)","const-color-primary-100":"hsl(180, 100%, 85%)","const-color-primary-200":"hsl(180, 100%, 75%)","const-color-primary-300":"hsl(180, 100%, 65%)","const-color-primary-400":"hsl(180, 100%, 55%)","const-color-primary-500":"hsl(180, 100%, 35%)","const-color-primary-600":"hsl(180, 100%, 32%)","const-color-primary-700":"hsl(180, 100%, 28%)","const-color-primary-800":"hsl(180, 100%, 24%)","const-color-primary-900":"hsl(180, 100%, 20%)","const-color-primary-950":"hsl(180, 100%, 16%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(227, 60%, 95%)","const-color-secondary-100":"hsl(227, 60%, 85%)","const-color-secondary-200":"hsl(227, 60%, 75%)","const-color-secondary-300":"hsl(227, 60%, 65%)","const-color-secondary-400":"hsl(227, 60%, 55%)","const-color-secondary-500":"hsl(227, 60%, 45%)","const-color-secondary-600":"hsl(227, 60%, 40%)","const-color-secondary-700":"hsl(227, 60%, 35%)","const-color-secondary-800":"hsl(227, 60%, 30%)","const-color-secondary-900":"hsl(227, 60%, 25%)","const-color-secondary-950":"hsl(227, 60%, 20%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(20, 100%, 95%)","const-color-warn-100":"hsl(20, 100%, 85%)","const-color-warn-200":"hsl(20, 100%, 75%)","const-color-warn-300":"hsl(20, 100%, 65%)","const-color-warn-400":"hsl(20, 100%, 55%)","const-color-warn-500":"hsl(20, 98%, 56%)","const-color-warn-600":"hsl(20, 100%, 50%)","const-color-warn-700":"hsl(20, 100%, 45%)","const-color-warn-800":"hsl(20, 100%, 40%)","const-color-warn-900":"hsl(20, 100%, 35%)","const-color-warn-950":"hsl(20, 100%, 30%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(356, 100%, 95%)","const-color-danger-100":"hsl(356, 100%, 85%)","const-color-danger-200":"hsl(356, 100%, 75%)","const-color-danger-300":"hsl(356, 100%, 65%)","const-color-danger-400":"hsl(356, 100%, 55%)","const-color-danger-500":"hsl(356, 97%, 55%)","const-color-danger-600":"hsl(356, 100%, 50%)","const-color-danger-700":"hsl(356, 100%, 45%)","const-color-danger-800":"hsl(356, 100%, 40%)","const-color-danger-900":"hsl(356, 100%, 35%)","const-color-danger-950":"hsl(356, 100%, 30%)","const-color-danger":"$const-color-danger-600","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(168, 80%, 95%)","const-color-success-100":"hsl(168, 80%, 85%)","const-color-success-200":"hsl(168, 80%, 75%)","const-color-success-300":"hsl(168, 80%, 65%)","const-color-success-400":"hsl(168, 80%, 55%)","const-color-success-500":"hsl(168, 82%, 28%)","const-color-success-600":"hsl(168, 80%, 25%)","const-color-success-700":"hsl(168, 80%, 22%)","const-color-success-800":"hsl(168, 80%, 19%)","const-color-success-900":"hsl(168, 80%, 16%)","const-color-success-950":"hsl(168, 80%, 13%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(204, 100%, 92%)","const-color-info-100":"hsl(204, 100%, 84%)","const-color-info-200":"hsl(204, 100%, 76%)","const-color-info-300":"hsl(204, 100%, 68%)","const-color-info-400":"hsl(204, 100%, 60%)","const-color-info-500":"hsl(204, 100%, 50%)","const-color-info-600":"hsl(204, 100%, 45%)","const-color-info-700":"hsl(204, 100%, 35%)","const-color-info-800":"hsl(204, 100%, 25%)","const-color-info-900":"hsl(204, 100%, 15%)","const-color-info-950":"hsl(204, 100%, 10%)","const-color-info":"$const-color-info-500"},Bd={"const-color-surface-50":"hsl(0, 0%, 95%)","const-color-surface-100":"hsl(0, 0%, 85%)","const-color-surface-200":"hsl(0, 0%, 75%)","const-color-surface-300":"hsl(0, 0%, 65%)","const-color-surface-400":"hsl(0, 0%, 55%)","const-color-surface-500":"hsl(0, 0%, 50%)","const-color-surface-600":"hsl(0, 0%, 45%)","const-color-surface-700":"hsl(0, 0%, 40%)","const-color-surface-800":"hsl(0, 0%, 35%)","const-color-surface-900":"hsl(0, 0%, 30%)","const-color-surface-950":"hsl(0, 0%, 25%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(354, 89%, 95%)","const-color-primary-100":"hsl(354, 89%, 85%)","const-color-primary-200":"hsl(354, 89%, 75%)","const-color-primary-300":"hsl(354, 89%, 65%)","const-color-primary-400":"hsl(354, 89%, 55%)","const-color-primary-500":"hsl(354, 89%, 63%)","const-color-primary-600":"hsl(354, 89%, 50%)","const-color-primary-700":"hsl(354, 89%, 45%)","const-color-primary-800":"hsl(354, 89%, 40%)","const-color-primary-900":"hsl(354, 89%, 35%)","const-color-primary-950":"hsl(354, 89%, 30%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(210, 64%, 95%)","const-color-secondary-100":"hsl(210, 64%, 85%)","const-color-secondary-200":"hsl(210, 64%, 75%)","const-color-secondary-300":"hsl(210, 64%, 65%)","const-color-secondary-400":"hsl(210, 64%, 55%)","const-color-secondary-500":"hsl(210, 64%, 39%)","const-color-secondary-600":"hsl(210, 64%, 35%)","const-color-secondary-700":"hsl(210, 64%, 30%)","const-color-secondary-800":"hsl(210, 64%, 25%)","const-color-secondary-900":"hsl(210, 64%, 20%)","const-color-secondary-950":"hsl(210, 64%, 15%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(36, 85%, 95%)","const-color-warn-100":"hsl(36, 85%, 85%)","const-color-warn-200":"hsl(36, 85%, 75%)","const-color-warn-300":"hsl(36, 85%, 65%)","const-color-warn-400":"hsl(36, 85%, 55%)","const-color-warn-500":"hsl(36, 85%, 53%)","const-color-warn-600":"hsl(36, 85%, 45%)","const-color-warn-700":"hsl(36, 85%, 40%)","const-color-warn-800":"hsl(36, 85%, 35%)","const-color-warn-900":"hsl(36, 85%, 30%)","const-color-warn-950":"hsl(36, 85%, 25%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(356, 100%, 95%)","const-color-danger-100":"hsl(356, 100%, 85%)","const-color-danger-200":"hsl(356, 100%, 75%)","const-color-danger-300":"hsl(356, 100%, 65%)","const-color-danger-400":"hsl(356, 100%, 55%)","const-color-danger-500":"hsl(356, 100%, 45%)","const-color-danger-600":"hsl(356, 100%, 40%)","const-color-danger-700":"hsl(356, 100%, 35%)","const-color-danger-800":"hsl(356, 100%, 30%)","const-color-danger-900":"hsl(356, 100%, 25%)","const-color-danger-950":"hsl(356, 100%, 20%)","const-color-danger":"$const-color-danger-600","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(156, 80%, 95%)","const-color-success-100":"hsl(156, 80%, 85%)","const-color-success-200":"hsl(156, 80%, 75%)","const-color-success-300":"hsl(156, 80%, 65%)","const-color-success-400":"hsl(156, 80%, 55%)","const-color-success-500":"hsl(156, 80%, 35%)","const-color-success-600":"hsl(156, 80%, 30%)","const-color-success-700":"hsl(156, 80%, 25%)","const-color-success-800":"hsl(156, 80%, 20%)","const-color-success-900":"hsl(156, 80%, 15%)","const-color-success-950":"hsl(156, 80%, 10%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(197, 98%, 92%)","const-color-info-100":"hsl(197, 98%, 84%)","const-color-info-200":"hsl(197, 98%, 76%)","const-color-info-300":"hsl(197, 98%, 68%)","const-color-info-400":"hsl(197, 98%, 60%)","const-color-info-500":"hsl(197, 98%, 50%)","const-color-info-600":"hsl(197, 98%, 45%)","const-color-info-700":"hsl(197, 98%, 35%)","const-color-info-800":"hsl(197, 98%, 25%)","const-color-info-900":"hsl(197, 98%, 15%)","const-color-info-950":"hsl(197, 98%, 10%)","const-color-info":"$const-color-info-500"},$d={id:"xmlui",resources:{},themeVars:{"font-size":"15px","boxShadow-Input":"$boxShadow-sm"},tones:{light:{themeVars:{"backgroundColor-ModalDialog":"white","backgroundColor-checked-RadioGroupOption":"$color-primary-400"}},dark:{themeVars:{"color-error":"$color-danger-400"}}}},Od={id:"xmlui-green",extends:"xmlui",themeVars:{...Hd}},Ld={id:"xmlui-gray",extends:"xmlui",themeVars:{...Sd}},_d={id:"xmlui-orange",extends:"xmlui",themeVars:{...kd}},Vd={id:"xmlui-purple",extends:"xmlui",themeVars:{...wd}},Ad={id:"xmlui-cyan",extends:"xmlui",themeVars:{...Id}},Wd={id:"xmlui-red",extends:"xmlui",themeVars:{...Bd}};var ul={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},cl=s.createContext&&s.createContext(ul),gr=function(){return gr=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},gr.apply(this,arguments)},Nd=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)r.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]]);return t};function ml(e){return e&&e.map(function(r,t){return s.createElement(r.tag,gr({key:t},r.attr),ml(r.child))})}function so(e){return function(r){return s.createElement(zd,gr({attr:gr({},e.attr)},r),ml(e.child))}}function zd(e){var r=function(t){var o=e.attr,a=e.size,l=e.title,i=Nd(e,["attr","size","title"]),n=a||t.size||"1em",c;return t.className&&(c=t.className),e.className&&(c=(c?c+" ":"")+e.className),s.createElement("svg",gr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,i,{className:c,style:gr(gr({color:e.color||t.color},t.style),e.style),height:n,width:n,xmlns:"http://www.w3.org/2000/svg"}),l&&s.createElement("title",null,l),e.children)};return cl!==void 0?s.createElement(cl.Consumer,null,function(t){return r(t)}):r(ul)}const pl="Theme",Ed={description:`The \`${pl}\` component provides a way to define a particular theming context for its nested components. The XMLUI framework uses \`${pl}\` to define the default theming context for all of its child components. Theme variables and theme settings only work in this context.`,allowArbitraryProps:!0,props:{themeId:m("This property specifies which theme to use by setting the theme's id."),tone:{description:"This property allows the setting of the current theme's tone.",availableValues:["light","dark"],valueType:"string",defaultValue:"light"},root:m("This property indicates whether the component is at the root of the application.")},opaque:!0},Pd={themeVars:`'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "backgroundColor-navPanel-App": "var(--xmlui-backgroundColor-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "maxWidth-App": "var(--xmlui-maxWidth-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`},Md=[{value:"vertical",description:"This layout puts the navigation bar on the left side and displays its items vertically. The main content is aligned to the right (including the header and the footer), and its content is a single scroll container; every part of it moves as you scroll the page. This layout does not display the logo in the app header."},{value:"vertical-sticky",description:"Similar to `vertical`, the header and the navigation bar dock to the top of the main content's viewport, while the footer sticks to the bottom. This layout does not display the logo in the app header."},{value:"vertical-full-header",description:"Similar to `vertical-sticky`. However, the header and the navigation bar dock to the top of the app's window, while the footer sticks to the bottom."},{value:"condensed",description:"Similar to `horizontal`. However, the header and the navigation bar are in a single header block. (default)"},{value:"condensed-sticky",description:"However, the header and the navigation bar are in a single header block."},{value:"horizontal",description:"This layout stacks the layout sections in a single column in this order: header, navigation bar, main content, and footer. The application is a single scroll container; every part moves as you scroll the page."},{value:"horizontal-sticky",description:"Similar to `horizontal`, the header and the navigation bar dock to the top of the viewport, while the footer sticks to the bottom."}],Dd=s.createContext(null);function ia(){return s.useContext(Dd)}const Fa=s.createContext(null),Rd={themeVars:`'{"padding-AppHeader": "var(--xmlui-padding-AppHeader)", "paddingHorizontal-AppHeader": "var(--xmlui-paddingHorizontal-AppHeader, var(--xmlui-padding-AppHeader))", "paddingVertical-AppHeader": "var(--xmlui-paddingVertical-AppHeader, var(--xmlui-padding-AppHeader))", "paddingLeft-AppHeader": "var(--xmlui-paddingLeft-AppHeader, var(--xmlui-paddingHorizontal-AppHeader, var(--xmlui-padding-AppHeader)))", "paddingRight-AppHeader": "var(--xmlui-paddingRight-AppHeader, var(--xmlui-paddingHorizontal-AppHeader, var(--xmlui-padding-AppHeader)))", "paddingTop-AppHeader": "var(--xmlui-paddingTop-AppHeader, var(--xmlui-paddingVertical-AppHeader, var(--xmlui-padding-AppHeader)))", "paddingBottom-AppHeader": "var(--xmlui-paddingBottom-AppHeader, var(--xmlui-paddingVertical-AppHeader, var(--xmlui-padding-AppHeader)))", "padding-logo-AppHeader": "var(--xmlui-padding-logo-AppHeader)", "paddingHorizontal-logo-AppHeader": "var(--xmlui-paddingHorizontal-logo-AppHeader, var(--xmlui-padding-logo-AppHeader))", "paddingVertical-logo-AppHeader": "var(--xmlui-paddingVertical-logo-AppHeader, var(--xmlui-padding-logo-AppHeader))", "paddingLeft-logo-AppHeader": "var(--xmlui-paddingLeft-logo-AppHeader, var(--xmlui-paddingHorizontal-logo-AppHeader, var(--xmlui-padding-logo-AppHeader)))", "paddingRight-logo-AppHeader": "var(--xmlui-paddingRight-logo-AppHeader, var(--xmlui-paddingHorizontal-logo-AppHeader, var(--xmlui-padding-logo-AppHeader)))", "paddingTop-logo-AppHeader": "var(--xmlui-paddingTop-logo-AppHeader, var(--xmlui-paddingVertical-logo-AppHeader, var(--xmlui-padding-logo-AppHeader)))", "paddingBottom-logo-AppHeader": "var(--xmlui-paddingBottom-logo-AppHeader, var(--xmlui-paddingVertical-logo-AppHeader, var(--xmlui-padding-logo-AppHeader)))", "border-AppHeader": "var(--xmlui-border-AppHeader)", "borderHorizontal-AppHeader": "var(--xmlui-borderHorizontal-AppHeader, var(--xmlui-border-AppHeader))", "borderVertical-AppHeader": "var(--xmlui-borderVertical-AppHeader, var(--xmlui-border-AppHeader))", "borderLeft-AppHeader": "var(--xmlui-borderLeft-AppHeader, var(--xmlui-borderHorizontal-AppHeader, var(--xmlui-border-AppHeader)))", "borderRight-AppHeader": "var(--xmlui-borderRight-AppHeader, var(--xmlui-borderHorizontal-AppHeader, var(--xmlui-border-AppHeader)))", "borderTop-AppHeader": "var(--xmlui-borderTop-AppHeader, var(--xmlui-borderVertical-AppHeader, var(--xmlui-border-AppHeader)))", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader, var(--xmlui-borderVertical-AppHeader, var(--xmlui-border-AppHeader)))", "borderWidth-AppHeader": "var(--xmlui-borderWidth-AppHeader)", "borderHorizontalWidth-AppHeader": "var(--xmlui-borderHorizontalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader))", "borderLeftWidth-AppHeader": "var(--xmlui-borderLeftWidth-AppHeader, var(--xmlui-borderHorizontalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader)))", "borderRightWidth-AppHeader": "var(--xmlui-borderRightWidth-AppHeader, var(--xmlui-borderHorizontalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader)))", "borderVerticalWidth-AppHeader": "var(--xmlui-borderVerticalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader))", "borderTopWidth-AppHeader": "var(--xmlui-borderTopWidth-AppHeader, var(--xmlui-borderVerticalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader)))", "borderBottomWidth-AppHeader": "var(--xmlui-borderBottomWidth-AppHeader, var(--xmlui-borderVerticalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader)))", "borderStyle-AppHeader": "var(--xmlui-borderStyle-AppHeader)", "borderHorizontalStyle-AppHeader": "var(--xmlui-borderHorizontalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader))", "borderLeftStyle-AppHeader": "var(--xmlui-borderLeftStyle-AppHeader, var(--xmlui-borderHorizontalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader)))", "borderRightStyle-AppHeader": "var(--xmlui-borderRightStyle-AppHeader, var(--xmlui-borderHorizontalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader)))", "borderVerticalStyle-AppHeader": "var(--xmlui-borderVerticalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader))", "borderTopStyle-AppHeader": "var(--xmlui-borderTopStyle-AppHeader, var(--xmlui-borderVerticalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader)))", "borderBottomStyle-AppHeader": "var(--xmlui-borderBottomStyle-AppHeader, var(--xmlui-borderVerticalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader)))", "borderColor-AppHeader": "var(--xmlui-borderColor-AppHeader)", "borderHorizontalColor-AppHeader": "var(--xmlui-borderHorizontalColor-AppHeader, var(--xmlui-borderColor-AppHeader))", "borderLeftColor-AppHeader": "var(--xmlui-borderLeftColor-AppHeader, var(--xmlui-borderHorizontalColor-AppHeader, var(--xmlui-borderColor-AppHeader)))", "borderRightColor-AppHeader": "var(--xmlui-borderRightColor-AppHeader, var(--xmlui-borderHorizontalColor-AppHeader, var(--xmlui-borderColor-AppHeader)))", "borderVerticalColor-AppHeader": "var(--xmlui-borderVerticalColor-AppHeader, var(--xmlui-borderColor-AppHeader))", "borderTopColor-AppHeader": "var(--xmlui-borderTopColor-AppHeader, var(--xmlui-borderVerticalColor-AppHeader, var(--xmlui-borderColor-AppHeader)))", "borderBottomColor-AppHeader": "var(--xmlui-borderBottomColor-AppHeader, var(--xmlui-borderVerticalColor-AppHeader, var(--xmlui-borderColor-AppHeader)))", "borderStartStartRadius-AppHeader": "var(--xmlui-borderStartStartRadius-AppHeader, var(--xmlui-borderRadius-AppHeader))", "borderStartEndRadius-AppHeader": "var(--xmlui-borderStartEndRadius-AppHeader, var(--xmlui-borderRadius-AppHeader))", "borderEndStartRadius-AppHeader": "var(--xmlui-borderEndStartRadius-AppHeader, var(--xmlui-borderRadius-AppHeader))", "borderEndEndRadius-AppHeader": "var(--xmlui-borderEndEndRadius-AppHeader, var(--xmlui-borderRadius-AppHeader))", "width-logo-AppHeader": "var(--xmlui-width-logo-AppHeader)", "align-content-AppHeader": "var(--xmlui-align-content-AppHeader)", "height-AppHeader": "var(--xmlui-height-AppHeader)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "maxWidth-content-AppHeader": "var(--xmlui-maxWidth-content-AppHeader)", "maxWidth-AppHeader": "var(--xmlui-maxWidth-AppHeader)"}'`},Ua={themeVars:'"[]"',img:"_img_dk2s3_13",clickable:"_clickable_dk2s3_19"},Fd=s.forwardRef(function({src:r,alt:t,fit:o="contain",style:a,onClick:l,aspectRatio:i,lazyLoad:n,inline:c},b){return d.jsx("img",{src:r,ref:b,alt:t,loading:n?"lazy":"eager",className:re(Ua.img,{[Ua.clickable]:!!l}),style:{objectFit:o,boxShadow:"none",...a,flexShrink:1,aspectRatio:i,...c?{display:"inline"}:{}},onClick:l})}),hl=s.forwardRef(function({style:r},t){const o=Gd();return o?d.jsx(Fd,{ref:t,src:o,alt:"Logo",style:{width:"auto",boxShadow:"none",...r}}):null}),dr={themeVars:`'{"padding-NavLink": "var(--xmlui-padding-NavLink)", "paddingHorizontal-NavLink": "var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink))", "paddingVertical-NavLink": "var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink))", "paddingLeft-NavLink": "var(--xmlui-paddingLeft-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)))", "paddingRight-NavLink": "var(--xmlui-paddingRight-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)))", "paddingTop-NavLink": "var(--xmlui-paddingTop-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)))", "paddingBottom-NavLink": "var(--xmlui-paddingBottom-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)))", "border-NavLink": "var(--xmlui-border-NavLink)", "borderHorizontal-NavLink": "var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink))", "borderVertical-NavLink": "var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink))", "borderLeft-NavLink": "var(--xmlui-borderLeft-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)))", "borderRight-NavLink": "var(--xmlui-borderRight-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)))", "borderTop-NavLink": "var(--xmlui-borderTop-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)))", "borderBottom-NavLink": "var(--xmlui-borderBottom-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)))", "borderWidth-NavLink": "var(--xmlui-borderWidth-NavLink)", "borderHorizontalWidth-NavLink": "var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink))", "borderLeftWidth-NavLink": "var(--xmlui-borderLeftWidth-NavLink, var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderRightWidth-NavLink": "var(--xmlui-borderRightWidth-NavLink, var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderVerticalWidth-NavLink": "var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink))", "borderTopWidth-NavLink": "var(--xmlui-borderTopWidth-NavLink, var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderBottomWidth-NavLink": "var(--xmlui-borderBottomWidth-NavLink, var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderStyle-NavLink": "var(--xmlui-borderStyle-NavLink)", "borderHorizontalStyle-NavLink": "var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink))", "borderLeftStyle-NavLink": "var(--xmlui-borderLeftStyle-NavLink, var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderRightStyle-NavLink": "var(--xmlui-borderRightStyle-NavLink, var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderVerticalStyle-NavLink": "var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink))", "borderTopStyle-NavLink": "var(--xmlui-borderTopStyle-NavLink, var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderBottomStyle-NavLink": "var(--xmlui-borderBottomStyle-NavLink, var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderColor-NavLink": "var(--xmlui-borderColor-NavLink)", "borderHorizontalColor-NavLink": "var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink))", "borderLeftColor-NavLink": "var(--xmlui-borderLeftColor-NavLink, var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderRightColor-NavLink": "var(--xmlui-borderRightColor-NavLink, var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderVerticalColor-NavLink": "var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink))", "borderTopColor-NavLink": "var(--xmlui-borderTopColor-NavLink, var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderBottomColor-NavLink": "var(--xmlui-borderBottomColor-NavLink, var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderStartStartRadius-NavLink": "var(--xmlui-borderStartStartRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderStartEndRadius-NavLink": "var(--xmlui-borderStartEndRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderEndStartRadius-NavLink": "var(--xmlui-borderEndStartRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderEndEndRadius-NavLink": "var(--xmlui-borderEndEndRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "backgroundColor-NavLink": "var(--xmlui-backgroundColor-NavLink)", "backgroundColor-NavLink--hover": "var(--xmlui-backgroundColor-NavLink--hover)", "backgroundColor-NavLink--hover--active": "var(--xmlui-backgroundColor-NavLink--hover--active)", "backgroundColor-NavLink--active": "var(--xmlui-backgroundColor-NavLink--active)", "backgroundColor-NavLink--pressed": "var(--xmlui-backgroundColor-NavLink--pressed)", "backgroundColor-NavLink--pressed--active": "var(--xmlui-backgroundColor-NavLink--pressed--active)", "fontSize-NavLink": "var(--xmlui-fontSize-NavLink)", "wordWrap-NavLink": "var(--xmlui-wordWrap-NavLink)", "textColor-NavLink": "var(--xmlui-textColor-NavLink)", "textColor-NavLink--hover": "var(--xmlui-textColor-NavLink--hover)", "textColor-NavLink--active": "var(--xmlui-textColor-NavLink--active)", "textColor-NavLink--hover--active": "var(--xmlui-textColor-NavLink--hover--active)", "textColor-NavLink--pressed": "var(--xmlui-textColor-NavLink--pressed)", "textColor-NavLink--pressed--active": "var(--xmlui-textColor-NavLink--pressed--active)", "color-icon-NavLink": "var(--xmlui-color-icon-NavLink)", "fontFamily-NavLink": "var(--xmlui-fontFamily-NavLink)", "fontWeight-NavLink": "var(--xmlui-fontWeight-NavLink)", "fontWeight-NavLink--pressed": "var(--xmlui-fontWeight-NavLink--pressed)", "fontWeight-NavLink--active": "var(--xmlui-fontWeight-NavLink--active)", "borderRadius-indicator-NavLink": "var(--xmlui-borderRadius-indicator-NavLink)", "thickness-indicator-NavLink": "var(--xmlui-thickness-indicator-NavLink)", "color-indicator-NavLink": "var(--xmlui-color-indicator-NavLink)", "color-indicator-NavLink--hover": "var(--xmlui-color-indicator-NavLink--hover)", "color-indicator-NavLink--active": "var(--xmlui-color-indicator-NavLink--active)", "color-indicator-NavLink--pressed": "var(--xmlui-color-indicator-NavLink--pressed)", "outlineWidth-NavLink--focus": "var(--xmlui-outlineWidth-NavLink--focus)", "outlineColor-NavLink--focus": "var(--xmlui-outlineColor-NavLink--focus)", "outlineStyle-NavLink--focus": "var(--xmlui-outlineStyle-NavLink--focus)", "outlineOffset-NavLink--focus": "var(--xmlui-outlineOffset-NavLink--focus)"}'`,content:"_content_buj87_13",base:"_base_buj87_13",includeHoverIndicator:"_includeHoverIndicator_buj87_62",displayActive:"_displayActive_buj87_72",navItemActive:"_navItemActive_buj87_109",disabled:"_disabled_buj87_144",vertical:"_vertical_buj87_148"};function bl(e){return!e||typeof e=="string"||typeof e=="number"?e:e.queryParams!==void 0?{...e,search:new URLSearchParams(Be.omitBy(e.queryParams,Be.isUndefined)).toString()}:e}const Ut={themeVars:`'{"border-NavPanel": "var(--xmlui-border-NavPanel)", "borderHorizontal-NavPanel": "var(--xmlui-borderHorizontal-NavPanel, var(--xmlui-border-NavPanel))", "borderVertical-NavPanel": "var(--xmlui-borderVertical-NavPanel, var(--xmlui-border-NavPanel))", "borderLeft-NavPanel": "var(--xmlui-borderLeft-NavPanel, var(--xmlui-borderHorizontal-NavPanel, var(--xmlui-border-NavPanel)))", "borderRight-NavPanel": "var(--xmlui-borderRight-NavPanel, var(--xmlui-borderHorizontal-NavPanel, var(--xmlui-border-NavPanel)))", "borderTop-NavPanel": "var(--xmlui-borderTop-NavPanel, var(--xmlui-borderVertical-NavPanel, var(--xmlui-border-NavPanel)))", "borderBottom-NavPanel": "var(--xmlui-borderBottom-NavPanel, var(--xmlui-borderVertical-NavPanel, var(--xmlui-border-NavPanel)))", "borderWidth-NavPanel": "var(--xmlui-borderWidth-NavPanel)", "borderHorizontalWidth-NavPanel": "var(--xmlui-borderHorizontalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel))", "borderLeftWidth-NavPanel": "var(--xmlui-borderLeftWidth-NavPanel, var(--xmlui-borderHorizontalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel)))", "borderRightWidth-NavPanel": "var(--xmlui-borderRightWidth-NavPanel, var(--xmlui-borderHorizontalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel)))", "borderVerticalWidth-NavPanel": "var(--xmlui-borderVerticalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel))", "borderTopWidth-NavPanel": "var(--xmlui-borderTopWidth-NavPanel, var(--xmlui-borderVerticalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel)))", "borderBottomWidth-NavPanel": "var(--xmlui-borderBottomWidth-NavPanel, var(--xmlui-borderVerticalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel)))", "borderStyle-NavPanel": "var(--xmlui-borderStyle-NavPanel)", "borderHorizontalStyle-NavPanel": "var(--xmlui-borderHorizontalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel))", "borderLeftStyle-NavPanel": "var(--xmlui-borderLeftStyle-NavPanel, var(--xmlui-borderHorizontalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel)))", "borderRightStyle-NavPanel": "var(--xmlui-borderRightStyle-NavPanel, var(--xmlui-borderHorizontalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel)))", "borderVerticalStyle-NavPanel": "var(--xmlui-borderVerticalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel))", "borderTopStyle-NavPanel": "var(--xmlui-borderTopStyle-NavPanel, var(--xmlui-borderVerticalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel)))", "borderBottomStyle-NavPanel": "var(--xmlui-borderBottomStyle-NavPanel, var(--xmlui-borderVerticalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel)))", "borderColor-NavPanel": "var(--xmlui-borderColor-NavPanel)", "borderHorizontalColor-NavPanel": "var(--xmlui-borderHorizontalColor-NavPanel, var(--xmlui-borderColor-NavPanel))", "borderLeftColor-NavPanel": "var(--xmlui-borderLeftColor-NavPanel, var(--xmlui-borderHorizontalColor-NavPanel, var(--xmlui-borderColor-NavPanel)))", "borderRightColor-NavPanel": "var(--xmlui-borderRightColor-NavPanel, var(--xmlui-borderHorizontalColor-NavPanel, var(--xmlui-borderColor-NavPanel)))", "borderVerticalColor-NavPanel": "var(--xmlui-borderVerticalColor-NavPanel, var(--xmlui-borderColor-NavPanel))", "borderTopColor-NavPanel": "var(--xmlui-borderTopColor-NavPanel, var(--xmlui-borderVerticalColor-NavPanel, var(--xmlui-borderColor-NavPanel)))", "borderBottomColor-NavPanel": "var(--xmlui-borderBottomColor-NavPanel, var(--xmlui-borderVerticalColor-NavPanel, var(--xmlui-borderColor-NavPanel)))", "borderStartStartRadius-NavPanel": "var(--xmlui-borderStartStartRadius-NavPanel, var(--xmlui-borderRadius-NavPanel))", "borderStartEndRadius-NavPanel": "var(--xmlui-borderStartEndRadius-NavPanel, var(--xmlui-borderRadius-NavPanel))", "borderEndStartRadius-NavPanel": "var(--xmlui-borderEndStartRadius-NavPanel, var(--xmlui-borderRadius-NavPanel))", "borderEndEndRadius-NavPanel": "var(--xmlui-borderEndEndRadius-NavPanel, var(--xmlui-borderRadius-NavPanel))", "backgroundColor-NavPanel": "var(--xmlui-backgroundColor-NavPanel)", "boxShadow-NavPanel": "var(--xmlui-boxShadow-NavPanel)", "padding-NavPanel": "var(--xmlui-padding-NavPanel)", "paddingHorizontal-NavPanel": "var(--xmlui-paddingHorizontal-NavPanel)", "paddingVertical-NavPanel": "var(--xmlui-paddingVertical-NavPanel, var(--xmlui-padding-NavPanel))", "paddingLeft-NavPanel": "var(--xmlui-paddingLeft-NavPanel, var(--xmlui-paddingHorizontal-NavPanel, var(--xmlui-padding-NavPanel)))", "paddingRight-NavPanel": "var(--xmlui-paddingRight-NavPanel, var(--xmlui-paddingHorizontal-NavPanel, var(--xmlui-padding-NavPanel)))", "paddingTop-NavPanel": "var(--xmlui-paddingTop-NavPanel, var(--xmlui-paddingVertical-NavPanel, var(--xmlui-padding-NavPanel)))", "paddingBottom-NavPanel": "var(--xmlui-paddingBottom-NavPanel, var(--xmlui-paddingVertical-NavPanel, var(--xmlui-padding-NavPanel)))", "padding-logo-NavPanel": "var(--xmlui-padding-logo-NavPanel)", "paddingHorizontal-logo-NavPanel": "var(--xmlui-paddingHorizontal-logo-NavPanel)", "paddingVertical-logo-NavPanel": "var(--xmlui-paddingVertical-logo-NavPanel)", "paddingLeft-logo-NavPanel": "var(--xmlui-paddingLeft-logo-NavPanel, var(--xmlui-paddingHorizontal-logo-NavPanel, var(--xmlui-padding-logo-NavPanel)))", "paddingRight-logo-NavPanel": "var(--xmlui-paddingRight-logo-NavPanel, var(--xmlui-paddingHorizontal-logo-NavPanel, var(--xmlui-padding-logo-NavPanel)))", "paddingTop-logo-NavPanel": "var(--xmlui-paddingTop-logo-NavPanel, var(--xmlui-paddingVertical-logo-NavPanel, var(--xmlui-padding-logo-NavPanel)))", "paddingBottom-logo-NavPanel": "var(--xmlui-paddingBottom-logo-NavPanel, var(--xmlui-paddingVertical-logo-NavPanel, var(--xmlui-padding-logo-NavPanel)))", "marginBottom-logo-NavPanel": "var(--xmlui-marginBottom-logo-NavPanel)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "height-AppHeader": "var(--xmlui-height-AppHeader)", "paddingVertical-AppHeader": "var(--xmlui-paddingVertical-AppHeader)", "align-content-AppHeader": "var(--xmlui-align-content-AppHeader)"}'`,wrapper:"_wrapper_19swn_13",condensed:"_condensed_19swn_50",vertical:"_vertical_19swn_53",horizontal:"_horizontal_19swn_56",wrapperInner:"_wrapperInner_19swn_60",logoWrapper:"_logoWrapper_19swn_79",inDrawer:"_inDrawer_19swn_89"},qa=s.createContext(null),Ud={inDrawer:!0};function qd({logoContent:e,children:r,className:t,style:o}){const a=s.useRef(null);return d.jsx(qa.Provider,{value:Ud,children:d.jsx("div",{ref:a,className:re(Ut.wrapper,t),children:d.jsxs(Fa.Provider,{value:a,children:[d.jsx("div",{className:re(Ut.logoWrapper,Ut.inDrawer),children:e||d.jsx(hl,{})}),d.jsx("div",{className:Ut.wrapperInner,style:o,children:r})]})})})}s.forwardRef(function({children:r,style:t,logoContent:o,className:a,inDrawer:l,renderChild:i},n){var y,$;const c=s.useRef(null),b=n?sr(c,n):c,h=ia(),p=xl(h==null?void 0:h.layout)==="horizontal",C=(h==null?void 0:h.layout)==="vertical"||(h==null?void 0:h.layout)==="vertical-sticky",x=(y=h==null?void 0:h.layout)==null?void 0:y.startsWith("condensed"),g=($=h==null?void 0:h.layout)==null?void 0:$.startsWith("vertical"),T=o||i(h==null?void 0:h.logoContentDef);return l?d.jsx(qd,{style:t,logoContent:T,className:a,children:r}):d.jsx("div",{ref:b,className:re(Ut.wrapper,a,{[Ut.horizontal]:p,[Ut.vertical]:g,[Ut.condensed]:x}),children:d.jsxs(Fa.Provider,{value:c,children:[C&&d.jsx("div",{className:re(Ut.logoWrapper),children:T||d.jsx(hl,{})}),d.jsx("div",{className:Ut.wrapperInner,style:t,children:r})]})})});const vl=s.forwardRef(function({uid:r,children:t,disabled:o,to:a,sx:l={},displayActive:i=!0,vertical:n,style:c,onClick:b,icon:h,forceActive:p,...C},x){const g=ia(),T=s.useContext(qa);let y=n;g&&y===void 0&&(y=xl(g.layout)==="vertical"||(T==null?void 0:T.inDrawer));const $=s.useMemo(()=>{if(a)return bl(a)},[a]),w={...l,...c},O=re(dr.content,dr.base,{[dr.disabled]:o,[dr.vertical]:y,[dr.includeHoverIndicator]:i,[dr.navItemActive]:i&&p});let V;return o||!$?V=d.jsxs("button",{...C,ref:x,onClick:b,className:O,style:w,disabled:o,children:[h,t]}):V=d.jsxs(Ba.NavLink,{id:r,...C,ref:x,to:$,style:w,onClick:b,className:({isActive:P})=>re(O,{[dr.displayActive]:i,[dr.navItemActive]:i&&(P||p)}),children:[h,t]}),V});function Gd(){const{logo:e,logoLight:r,logoDark:t}=ia()||{},o={light:r,dark:t},{activeThemeTone:a}=Nt(),l=Na("resource:logo")||e;return Na(`resource:logo-${a}`)||o[a]||l}function xl(e){switch(e){case"vertical":case"vertical-sticky":case"vertical-full-header":return"vertical";default:return"horizontal"}}const Tr="App",jd={status:"stable",description:`The \`${Tr}\` component provides a UI frame for XMLUI apps. According to predefined (and run-time configurable) structure templates, \`${Tr}\` allows you to display your preferred layout.`,props:{layout:{description:"This property sets the layout template of the app. This setting determines the position and size of the app parts (such as header, navigation bar, footer, etc.) and the app's scroll behavior.",availableValues:Md},loggedInUser:{description:"Stores information about the currently logged in user.",valueType:"string"},logoTemplate:$e("Optional template of the app logo"),logo:{description:"Optional logo path",valueType:"string"},"logo-dark":{description:"Optional logo path in dark tone",valueType:"string"},"logo-light":{description:"Optional logo path in light tone",valueType:"string"},name:{description:"Optional application name (visible in the browser tab)",valueType:"string"},scrollWholePage:{description:"This boolean property specifies whether the whole page should scroll (`true`) or just the content area (`false`). The default value is `true`.",valueType:"boolean",defaultValue:!0},noScrollbarGutters:{description:"This boolean property specifies whether the scrollbar gutters should be hidden.",valueType:"boolean",defaultValue:!1},defaultTone:{description:`This property sets the app's default tone ("light" or "dark").`,valueType:"string",defaultValue:"light",availableValues:["light","dark"]},defaultTheme:{description:"This property sets the app's default theme.",valueType:"string",defaultValue:"xmlui"}},events:{ready:m(`This event fires when the \`${Tr}\` component finishes rendering on the page.`)},themeVars:Y(Pd.themeVars),themeVarDescriptions:{"maxWidth-content-App":"This theme variable defines the maximum width of the main content. If the main content is broader, the engine adds margins to keep the expected maximum size.","boxShadow‑header‑App":"This theme variable sets the shadow of the app's header section.","boxShadow‑navPanel‑App":"This theme variable sets the shadow of the app's navigation panel section (visible only in vertical layouts).","width‑navPanel‑App":"This theme variable sets the width of the navigation panel when the app is displayed with one of the vertical layouts."},defaultThemeVars:{[`width-navPanel-${Tr}`]:"$space-64",[`backgroundColor-navPanel-${Tr}`]:"$backgroundColor",[`maxWidth-content-${Tr}`]:"$maxWidth-content",[`boxShadow-header-${Tr}`]:"$boxShadow-spread",[`boxShadow-navPanel-${Tr}`]:"$boxShadow-spread","scroll-padding-block-Pages":"$space-4","backgroundColor-content-App":"$backgroundColor",light:{},dark:{}}};function Ga(e,r){return{[`paddingLeft-${e}`]:(r==null?void 0:r.left)??`$paddingHorizontal-${e}`,[`paddingRight-${e}`]:(r==null?void 0:r.right)??`$paddingHorizontal-${e}`,[`paddingTop-${e}`]:(r==null?void 0:r.top)??`$paddingVertical-${e}`,[`paddingBottom-${e}`]:(r==null?void 0:r.bottom)??`$paddingVertical-${e}`,[`paddingHorizontal-${e}`]:(r==null?void 0:r.horizontal)??"",[`paddingVertical-${e}`]:(r==null?void 0:r.vertical)??"",[`padding-${e}`]:(r==null?void 0:r.all)??`$paddingTop-${e} $paddingRight-${e} $paddingBottom-${e} $paddingLeft-${e}`}}const zt="AppHeader",Xd={status:"experimental",description:`\`${zt}\` is a placeholder within \`App\` to define a custom application header.`,props:{profileMenuTemplate:$e(`This property makes the profile menu slot of the \`${zt}\` component customizable.`),logoTemplate:$e("This property defines the template to use for the logo. With this property, you can construct your custom logo instead of using a single image."),titleTemplate:$e("This property defines the template to use for the title. With this property, you can construct your custom title instead of using a single image."),title:{description:"Title for the application logo",valueType:"string"},showLogo:{description:"Show the logo in the header",valueType:"boolean",defaultValue:!0}},themeVars:Y(Rd.themeVars),themeVarDescriptions:{[`padding‑logo‑${zt}`]:"This theme variable sets the padding of the logo in the app header (including all `padding` variants, such as `paddingLeft-logo-AppHeader` and others).",[`width‑logo‑${zt}`]:"Sets the width of the displayed logo"},defaultThemeVars:{[`height-${zt}`]:"$space-14",[`maxWidth-content-${zt}`]:"$maxWidth-content-App",[`maxWidth-${zt}`]:"$maxWidth-App",[`borderBottom-${zt}`]:"1px solid $borderColor",...Ga(`logo-${zt}`,{horizontal:"$space-0",vertical:"$space-4"}),...Ga(zt,{horizontal:"$space-4",vertical:"$space-0"}),[`borderRadius-${zt}`]:"0px",[`backgroundColor-${zt}`]:"$color-surface-raised"}},Eo="AppState",Yd={description:`${Eo} is a functional component (without a visible user interface) that helps store and manage the app's state.`,props:{bucket:{description:`This property is the identifier of the bucket to which the \`${Eo}\` instance is bound. Multiple \`${Eo}\` instances with the same bucket will share the same state object: any of them updating the state will cause the other instances to view the new, updated state.`,valueType:"string",defaultValue:"default"},initialValue:{description:`This property contains the initial state value. Though you can use multiple \`${Eo}\`component instances for the same bucket with their \`initialValue\` set, it may result in faulty app logic. When xmlui instantiates an \`${Eo}\` with an explicit initial value, that value is immediately set. Multiple initial values may result in undesired initialization.`}},apis:{update:m("This method updates the application state object bound to the `AppState` instance. The function's single argument is an object that specifies the new state value.")},nonVisual:!0},Mr={themeVars:`'{"border-Avatar": "var(--xmlui-border-Avatar)", "borderHorizontal-Avatar": "var(--xmlui-borderHorizontal-Avatar, var(--xmlui-border-Avatar))", "borderVertical-Avatar": "var(--xmlui-borderVertical-Avatar, var(--xmlui-border-Avatar))", "borderLeft-Avatar": "var(--xmlui-borderLeft-Avatar, var(--xmlui-borderHorizontal-Avatar, var(--xmlui-border-Avatar)))", "borderRight-Avatar": "var(--xmlui-borderRight-Avatar, var(--xmlui-borderHorizontal-Avatar, var(--xmlui-border-Avatar)))", "borderTop-Avatar": "var(--xmlui-borderTop-Avatar, var(--xmlui-borderVertical-Avatar, var(--xmlui-border-Avatar)))", "borderBottom-Avatar": "var(--xmlui-borderBottom-Avatar, var(--xmlui-borderVertical-Avatar, var(--xmlui-border-Avatar)))", "borderWidth-Avatar": "var(--xmlui-borderWidth-Avatar)", "borderHorizontalWidth-Avatar": "var(--xmlui-borderHorizontalWidth-Avatar, var(--xmlui-borderWidth-Avatar))", "borderLeftWidth-Avatar": "var(--xmlui-borderLeftWidth-Avatar, var(--xmlui-borderHorizontalWidth-Avatar, var(--xmlui-borderWidth-Avatar)))", "borderRightWidth-Avatar": "var(--xmlui-borderRightWidth-Avatar, var(--xmlui-borderHorizontalWidth-Avatar, var(--xmlui-borderWidth-Avatar)))", "borderVerticalWidth-Avatar": "var(--xmlui-borderVerticalWidth-Avatar, var(--xmlui-borderWidth-Avatar))", "borderTopWidth-Avatar": "var(--xmlui-borderTopWidth-Avatar, var(--xmlui-borderVerticalWidth-Avatar, var(--xmlui-borderWidth-Avatar)))", "borderBottomWidth-Avatar": "var(--xmlui-borderBottomWidth-Avatar, var(--xmlui-borderVerticalWidth-Avatar, var(--xmlui-borderWidth-Avatar)))", "borderStyle-Avatar": "var(--xmlui-borderStyle-Avatar)", "borderHorizontalStyle-Avatar": "var(--xmlui-borderHorizontalStyle-Avatar, var(--xmlui-borderStyle-Avatar))", "borderLeftStyle-Avatar": "var(--xmlui-borderLeftStyle-Avatar, var(--xmlui-borderHorizontalStyle-Avatar, var(--xmlui-borderStyle-Avatar)))", "borderRightStyle-Avatar": "var(--xmlui-borderRightStyle-Avatar, var(--xmlui-borderHorizontalStyle-Avatar, var(--xmlui-borderStyle-Avatar)))", "borderVerticalStyle-Avatar": "var(--xmlui-borderVerticalStyle-Avatar, var(--xmlui-borderStyle-Avatar))", "borderTopStyle-Avatar": "var(--xmlui-borderTopStyle-Avatar, var(--xmlui-borderVerticalStyle-Avatar, var(--xmlui-borderStyle-Avatar)))", "borderBottomStyle-Avatar": "var(--xmlui-borderBottomStyle-Avatar, var(--xmlui-borderVerticalStyle-Avatar, var(--xmlui-borderStyle-Avatar)))", "borderColor-Avatar": "var(--xmlui-borderColor-Avatar)", "borderHorizontalColor-Avatar": "var(--xmlui-borderHorizontalColor-Avatar, var(--xmlui-borderColor-Avatar))", "borderLeftColor-Avatar": "var(--xmlui-borderLeftColor-Avatar, var(--xmlui-borderHorizontalColor-Avatar, var(--xmlui-borderColor-Avatar)))", "borderRightColor-Avatar": "var(--xmlui-borderRightColor-Avatar, var(--xmlui-borderHorizontalColor-Avatar, var(--xmlui-borderColor-Avatar)))", "borderVerticalColor-Avatar": "var(--xmlui-borderVerticalColor-Avatar, var(--xmlui-borderColor-Avatar))", "borderTopColor-Avatar": "var(--xmlui-borderTopColor-Avatar, var(--xmlui-borderVerticalColor-Avatar, var(--xmlui-borderColor-Avatar)))", "borderBottomColor-Avatar": "var(--xmlui-borderBottomColor-Avatar, var(--xmlui-borderVerticalColor-Avatar, var(--xmlui-borderColor-Avatar)))", "borderStartStartRadius-Avatar": "var(--xmlui-borderStartStartRadius-Avatar, var(--xmlui-borderRadius-Avatar))", "borderStartEndRadius-Avatar": "var(--xmlui-borderStartEndRadius-Avatar, var(--xmlui-borderRadius-Avatar))", "borderEndStartRadius-Avatar": "var(--xmlui-borderEndStartRadius-Avatar, var(--xmlui-borderRadius-Avatar))", "borderEndEndRadius-Avatar": "var(--xmlui-borderEndEndRadius-Avatar, var(--xmlui-borderRadius-Avatar))", "backgroundColor-Avatar": "var(--xmlui-backgroundColor-Avatar)", "boxShadow-Avatar": "var(--xmlui-boxShadow-Avatar)", "textColor-Avatar": "var(--xmlui-textColor-Avatar)", "fontWeight-Avatar": "var(--xmlui-fontWeight-Avatar)"}'`,container:"_container_17cih_13",xs:"_xs_17cih_50",sm:"_sm_17cih_57",md:"_md_17cih_64",lg:"_lg_17cih_71",clickable:"_clickable_17cih_78"},fl={size:"sm"},Zd=s.forwardRef(function({size:r=fl.size,url:t,name:o,style:a,onClick:l,...i},n){let c=null;return!t&&o&&(c=o.trim().split(" ").filter(b=>!!b.trim().length).map(b=>b[0].toUpperCase()).slice(0,3)),d.jsx("div",{...i,ref:n,className:re(Mr.container,{[Mr.xs]:r==="xs",[Mr.sm]:r==="sm",[Mr.md]:r==="md",[Mr.lg]:r==="lg",[Mr.clickable]:!!l}),style:{backgroundImage:t?`url(${t})`:"none",...a},onClick:l,children:c})}),Kt="Avatar",Qd={description:`The \`${Kt}\` component represents a user, group (or other entity's) avatar with a small image or initials.`,props:{size:{description:`This property defines the display size of the ${Kt}.`,availableValues:Oa,valueType:"string",defaultValue:fl.size},name:{description:`This property sets the name value the ${Kt} uses to display initials.`,valueType:"string"},url:{description:`This property specifies the URL of the image to display in the ${Kt}.`,valueType:"string"}},events:{click:m("This event is triggered when the avatar is clicked.")},themeVars:Y(Mr.themeVars),defaultThemeVars:{[`borderRadius-${Kt}`]:"4px",[`boxShadow-${Kt}`]:"inset 0 0 0 1px rgba(4,32,69,0.1)",[`textColor-${Kt}`]:"$textColor-secondary",[`fontWeight-${Kt}`]:"$fontWeight-bold",[`border-${Kt}`]:"0px solid $color-surface-400A80",[`backgroundColor-${Kt}`]:"$color-surface-100"}},ja={themeVars:`'{"border-Badge": "var(--xmlui-border-Badge)", "borderHorizontal-Badge": "var(--xmlui-borderHorizontal-Badge, var(--xmlui-border-Badge))", "borderVertical-Badge": "var(--xmlui-borderVertical-Badge, var(--xmlui-border-Badge))", "borderLeft-Badge": "var(--xmlui-borderLeft-Badge, var(--xmlui-borderHorizontal-Badge, var(--xmlui-border-Badge)))", "borderRight-Badge": "var(--xmlui-borderRight-Badge, var(--xmlui-borderHorizontal-Badge, var(--xmlui-border-Badge)))", "borderTop-Badge": "var(--xmlui-borderTop-Badge, var(--xmlui-borderVertical-Badge, var(--xmlui-border-Badge)))", "borderBottom-Badge": "var(--xmlui-borderBottom-Badge, var(--xmlui-borderVertical-Badge, var(--xmlui-border-Badge)))", "borderWidth-Badge": "var(--xmlui-borderWidth-Badge)", "borderHorizontalWidth-Badge": "var(--xmlui-borderHorizontalWidth-Badge, var(--xmlui-borderWidth-Badge))", "borderLeftWidth-Badge": "var(--xmlui-borderLeftWidth-Badge, var(--xmlui-borderHorizontalWidth-Badge, var(--xmlui-borderWidth-Badge)))", "borderRightWidth-Badge": "var(--xmlui-borderRightWidth-Badge, var(--xmlui-borderHorizontalWidth-Badge, var(--xmlui-borderWidth-Badge)))", "borderVerticalWidth-Badge": "var(--xmlui-borderVerticalWidth-Badge, var(--xmlui-borderWidth-Badge))", "borderTopWidth-Badge": "var(--xmlui-borderTopWidth-Badge, var(--xmlui-borderVerticalWidth-Badge, var(--xmlui-borderWidth-Badge)))", "borderBottomWidth-Badge": "var(--xmlui-borderBottomWidth-Badge, var(--xmlui-borderVerticalWidth-Badge, var(--xmlui-borderWidth-Badge)))", "borderStyle-Badge": "var(--xmlui-borderStyle-Badge)", "borderHorizontalStyle-Badge": "var(--xmlui-borderHorizontalStyle-Badge, var(--xmlui-borderStyle-Badge))", "borderLeftStyle-Badge": "var(--xmlui-borderLeftStyle-Badge, var(--xmlui-borderHorizontalStyle-Badge, var(--xmlui-borderStyle-Badge)))", "borderRightStyle-Badge": "var(--xmlui-borderRightStyle-Badge, var(--xmlui-borderHorizontalStyle-Badge, var(--xmlui-borderStyle-Badge)))", "borderVerticalStyle-Badge": "var(--xmlui-borderVerticalStyle-Badge, var(--xmlui-borderStyle-Badge))", "borderTopStyle-Badge": "var(--xmlui-borderTopStyle-Badge, var(--xmlui-borderVerticalStyle-Badge, var(--xmlui-borderStyle-Badge)))", "borderBottomStyle-Badge": "var(--xmlui-borderBottomStyle-Badge, var(--xmlui-borderVerticalStyle-Badge, var(--xmlui-borderStyle-Badge)))", "borderColor-Badge": "var(--xmlui-borderColor-Badge)", "borderHorizontalColor-Badge": "var(--xmlui-borderHorizontalColor-Badge, var(--xmlui-borderColor-Badge))", "borderLeftColor-Badge": "var(--xmlui-borderLeftColor-Badge, var(--xmlui-borderHorizontalColor-Badge, var(--xmlui-borderColor-Badge)))", "borderRightColor-Badge": "var(--xmlui-borderRightColor-Badge, var(--xmlui-borderHorizontalColor-Badge, var(--xmlui-borderColor-Badge)))", "borderVerticalColor-Badge": "var(--xmlui-borderVerticalColor-Badge, var(--xmlui-borderColor-Badge))", "borderTopColor-Badge": "var(--xmlui-borderTopColor-Badge, var(--xmlui-borderVerticalColor-Badge, var(--xmlui-borderColor-Badge)))", "borderBottomColor-Badge": "var(--xmlui-borderBottomColor-Badge, var(--xmlui-borderVerticalColor-Badge, var(--xmlui-borderColor-Badge)))", "borderStartStartRadius-Badge": "var(--xmlui-borderStartStartRadius-Badge, var(--xmlui-borderRadius-Badge))", "borderStartEndRadius-Badge": "var(--xmlui-borderStartEndRadius-Badge, var(--xmlui-borderRadius-Badge))", "borderEndStartRadius-Badge": "var(--xmlui-borderEndStartRadius-Badge, var(--xmlui-borderRadius-Badge))", "borderEndEndRadius-Badge": "var(--xmlui-borderEndEndRadius-Badge, var(--xmlui-borderRadius-Badge))", "padding-Badge": "var(--xmlui-padding-Badge)", "paddingHorizontal-Badge": "var(--xmlui-paddingHorizontal-Badge, var(--xmlui-padding-Badge))", "paddingVertical-Badge": "var(--xmlui-paddingVertical-Badge, var(--xmlui-padding-Badge))", "paddingLeft-Badge": "var(--xmlui-paddingLeft-Badge, var(--xmlui-paddingHorizontal-Badge, var(--xmlui-padding-Badge)))", "paddingRight-Badge": "var(--xmlui-paddingRight-Badge, var(--xmlui-paddingHorizontal-Badge, var(--xmlui-padding-Badge)))", "paddingTop-Badge": "var(--xmlui-paddingTop-Badge, var(--xmlui-paddingVertical-Badge, var(--xmlui-padding-Badge)))", "paddingBottom-Badge": "var(--xmlui-paddingBottom-Badge, var(--xmlui-paddingVertical-Badge, var(--xmlui-padding-Badge)))", "textColor-Badge": "var(--xmlui-textColor-Badge)", "fontFamily-Badge": "var(--xmlui-fontFamily-Badge)", "fontSize-Badge": "var(--xmlui-fontSize-Badge)", "fontStyle-Badge": "var(--xmlui-fontStyle-Badge)", "fontVariant-Badge": "var(--xmlui-fontVariant-Badge)", "fontWeight-Badge": "var(--xmlui-fontWeight-Badge)", "fontStretch-Badge": "var(--xmlui-fontStretch-Badge)", "textDecorationLine-Badge": "var(--xmlui-textDecorationLine-Badge)", "textDecorationColor-Badge": "var(--xmlui-textDecorationColor-Badge)", "textDecorationStyle-Badge": "var(--xmlui-textDecorationStyle-Badge)", "textDecorationThickness-Badge": "var(--xmlui-textDecorationThickness-Badge)", "textUnderlineOffset-Badge": "var(--xmlui-textUnderlineOffset-Badge)", "lineHeight-Badge": "var(--xmlui-lineHeight-Badge)", "backgroundColor-Badge": "var(--xmlui-backgroundColor-Badge)", "textTransform-Badge": "var(--xmlui-textTransform-Badge)", "letterSpacing-Badge": "var(--xmlui-letterSpacing-Badge)", "wordSpacing-Badge": "var(--xmlui-wordSpacing-Badge)", "textShadow-Badge": "var(--xmlui-textShadow-Badge)", "textIndent-Badge": "var(--xmlui-textIndent-Badge)", "textAlign-Badge": "var(--xmlui-textAlign-Badge)", "textAlignLast-Badge": "var(--xmlui-textAlignLast-Badge)", "wordBreak-Badge": "var(--xmlui-wordBreak-Badge)", "wordWrap-Badge": "var(--xmlui-wordWrap-Badge)", "direction-Badge": "var(--xmlui-direction-Badge)", "writingMode-Badge": "var(--xmlui-writingMode-Badge)", "lineBreak-Badge": "var(--xmlui-lineBreak-Badge)", "border-Badge-pill": "var(--xmlui-border-Badge-pill)", "borderHorizontal-Badge-pill": "var(--xmlui-borderHorizontal-Badge-pill, var(--xmlui-border-Badge-pill))", "borderVertical-Badge-pill": "var(--xmlui-borderVertical-Badge-pill, var(--xmlui-border-Badge-pill))", "borderLeft-Badge-pill": "var(--xmlui-borderLeft-Badge-pill, var(--xmlui-borderHorizontal-Badge-pill, var(--xmlui-border-Badge-pill)))", "borderRight-Badge-pill": "var(--xmlui-borderRight-Badge-pill, var(--xmlui-borderHorizontal-Badge-pill, var(--xmlui-border-Badge-pill)))", "borderTop-Badge-pill": "var(--xmlui-borderTop-Badge-pill, var(--xmlui-borderVertical-Badge-pill, var(--xmlui-border-Badge-pill)))", "borderBottom-Badge-pill": "var(--xmlui-borderBottom-Badge-pill, var(--xmlui-borderVertical-Badge-pill, var(--xmlui-border-Badge-pill)))", "borderWidth-Badge-pill": "var(--xmlui-borderWidth-Badge-pill)", "borderHorizontalWidth-Badge-pill": "var(--xmlui-borderHorizontalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill))", "borderLeftWidth-Badge-pill": "var(--xmlui-borderLeftWidth-Badge-pill, var(--xmlui-borderHorizontalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill)))", "borderRightWidth-Badge-pill": "var(--xmlui-borderRightWidth-Badge-pill, var(--xmlui-borderHorizontalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill)))", "borderVerticalWidth-Badge-pill": "var(--xmlui-borderVerticalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill))", "borderTopWidth-Badge-pill": "var(--xmlui-borderTopWidth-Badge-pill, var(--xmlui-borderVerticalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill)))", "borderBottomWidth-Badge-pill": "var(--xmlui-borderBottomWidth-Badge-pill, var(--xmlui-borderVerticalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill)))", "borderStyle-Badge-pill": "var(--xmlui-borderStyle-Badge-pill)", "borderHorizontalStyle-Badge-pill": "var(--xmlui-borderHorizontalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill))", "borderLeftStyle-Badge-pill": "var(--xmlui-borderLeftStyle-Badge-pill, var(--xmlui-borderHorizontalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill)))", "borderRightStyle-Badge-pill": "var(--xmlui-borderRightStyle-Badge-pill, var(--xmlui-borderHorizontalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill)))", "borderVerticalStyle-Badge-pill": "var(--xmlui-borderVerticalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill))", "borderTopStyle-Badge-pill": "var(--xmlui-borderTopStyle-Badge-pill, var(--xmlui-borderVerticalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill)))", "borderBottomStyle-Badge-pill": "var(--xmlui-borderBottomStyle-Badge-pill, var(--xmlui-borderVerticalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill)))", "borderColor-Badge-pill": "var(--xmlui-borderColor-Badge-pill)", "borderHorizontalColor-Badge-pill": "var(--xmlui-borderHorizontalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill))", "borderLeftColor-Badge-pill": "var(--xmlui-borderLeftColor-Badge-pill, var(--xmlui-borderHorizontalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill)))", "borderRightColor-Badge-pill": "var(--xmlui-borderRightColor-Badge-pill, var(--xmlui-borderHorizontalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill)))", "borderVerticalColor-Badge-pill": "var(--xmlui-borderVerticalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill))", "borderTopColor-Badge-pill": "var(--xmlui-borderTopColor-Badge-pill, var(--xmlui-borderVerticalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill)))", "borderBottomColor-Badge-pill": "var(--xmlui-borderBottomColor-Badge-pill, var(--xmlui-borderVerticalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill)))", "borderStartStartRadius-Badge-pill": "var(--xmlui-borderStartStartRadius-Badge-pill, var(--xmlui-borderRadius-Badge-pill))", "borderStartEndRadius-Badge-pill": "var(--xmlui-borderStartEndRadius-Badge-pill, var(--xmlui-borderRadius-Badge-pill))", "borderEndStartRadius-Badge-pill": "var(--xmlui-borderEndStartRadius-Badge-pill, var(--xmlui-borderRadius-Badge-pill))", "borderEndEndRadius-Badge-pill": "var(--xmlui-borderEndEndRadius-Badge-pill, var(--xmlui-borderRadius-Badge-pill))", "padding-Badge-pill": "var(--xmlui-padding-Badge-pill)", "paddingHorizontal-Badge-pill": "var(--xmlui-paddingHorizontal-Badge-pill, var(--xmlui-padding-Badge-pill))", "paddingVertical-Badge-pill": "var(--xmlui-paddingVertical-Badge-pill, var(--xmlui-padding-Badge-pill))", "paddingLeft-Badge-pill": "var(--xmlui-paddingLeft-Badge-pill, var(--xmlui-paddingHorizontal-Badge-pill, var(--xmlui-padding-Badge-pill)))", "paddingRight-Badge-pill": "var(--xmlui-paddingRight-Badge-pill, var(--xmlui-paddingHorizontal-Badge-pill, var(--xmlui-padding-Badge-pill)))", "paddingTop-Badge-pill": "var(--xmlui-paddingTop-Badge-pill, var(--xmlui-paddingVertical-Badge-pill, var(--xmlui-padding-Badge-pill)))", "paddingBottom-Badge-pill": "var(--xmlui-paddingBottom-Badge-pill, var(--xmlui-paddingVertical-Badge-pill, var(--xmlui-padding-Badge-pill)))", "textColor-Badge-pill": "var(--xmlui-textColor-Badge-pill)", "fontFamily-Badge-pill": "var(--xmlui-fontFamily-Badge-pill)", "fontSize-Badge-pill": "var(--xmlui-fontSize-Badge-pill)", "fontStyle-Badge-pill": "var(--xmlui-fontStyle-Badge-pill)", "fontVariant-Badge-pill": "var(--xmlui-fontVariant-Badge-pill)", "fontWeight-Badge-pill": "var(--xmlui-fontWeight-Badge-pill)", "fontStretch-Badge-pill": "var(--xmlui-fontStretch-Badge-pill)", "textDecorationLine-Badge-pill": "var(--xmlui-textDecorationLine-Badge-pill)", "textDecorationColor-Badge-pill": "var(--xmlui-textDecorationColor-Badge-pill)", "textDecorationStyle-Badge-pill": "var(--xmlui-textDecorationStyle-Badge-pill)", "textDecorationThickness-Badge-pill": "var(--xmlui-textDecorationThickness-Badge-pill)", "textUnderlineOffset-Badge-pill": "var(--xmlui-textUnderlineOffset-Badge-pill)", "lineHeight-Badge-pill": "var(--xmlui-lineHeight-Badge-pill)", "backgroundColor-Badge-pill": "var(--xmlui-backgroundColor-Badge-pill)", "textTransform-Badge-pill": "var(--xmlui-textTransform-Badge-pill)", "letterSpacing-Badge-pill": "var(--xmlui-letterSpacing-Badge-pill)", "wordSpacing-Badge-pill": "var(--xmlui-wordSpacing-Badge-pill)", "textShadow-Badge-pill": "var(--xmlui-textShadow-Badge-pill)", "textIndent-Badge-pill": "var(--xmlui-textIndent-Badge-pill)", "textAlign-Badge-pill": "var(--xmlui-textAlign-Badge-pill)", "textAlignLast-Badge-pill": "var(--xmlui-textAlignLast-Badge-pill)", "wordBreak-Badge-pill": "var(--xmlui-wordBreak-Badge-pill)", "wordWrap-Badge-pill": "var(--xmlui-wordWrap-Badge-pill)", "direction-Badge-pill": "var(--xmlui-direction-Badge-pill)", "writingMode-Badge-pill": "var(--xmlui-writingMode-Badge-pill)", "lineBreak-Badge-pill": "var(--xmlui-lineBreak-Badge-pill)"}'`,badge:"_badge_fs4n2_13",pill:"_pill_fs4n2_73"},Jd=["badge","pill"],Kd={variant:"badge"};s.forwardRef(function({children:r,color:t,variant:o=Kd.variant,style:a},l){return d.jsx("div",{ref:l,className:re({[ja.badge]:o==="badge",[ja.pill]:o==="pill"}),style:{...t?typeof t=="string"?{backgroundColor:t}:{backgroundColor:t.background,color:t.label}:{},...a},children:r})});const er="Badge",eu={status:"stable",description:`The \`${er}\` is a text label that accepts a color map to define its background color and, optionally, its label color.`,props:{value:{description:"The text that the component displays",type:"string",isRequired:!0},variant:{description:"Modifies the shape of the component. Comes in the regular `badge` variant or the `pill` variant with fully rounded corners.",type:"string",availableValues:Jd,defaultValue:"badge"},colorMap:{description:`The \`${er}\` component supports the mapping of a list of colors using the \`value\` prop as the key. Provide the component with a list or key-value pairs in two ways:`},themeColor:Xe("(**NOT IMPLEMENTED YET**) The theme color of the component."),indicatorText:Xe("(**NOT IMPLEMENTED YET**) This property defines the text to display in the indicator. If it is not defined or empty, no indicator is displayed unless the `forceIndicator` property is set."),forceIndicator:Xe("(**NOT IMPLEMENTED YET**) This property forces the display of the indicator, even if the `indicatorText` property is not defined or empty."),indicatorThemeColor:Xe("(**NOT IMPLEMENTED YET**) The theme color of the indicator."),indicatorPosition:Xe("(**NOT IMPLEMENTED YET**) The position of the indicator.")},events:{},themeVars:Y(ja.themeVars),defaultThemeVars:{[`padding-${er}`]:"$space-0_5 $space-2",[`border-${er}`]:"0px solid $borderColor",[`padding-${er}-pill`]:"$space-0_5 $space-2",[`borderRadius-${er}`]:"4px",[`fontSize-${er}`]:"0.8em",[`fontSize-${er}-pill`]:"0.8em",[`backgroundColor-${er}`]:"rgba($color-secondary-500-rgb, .6)",[`textColor-${er}`]:"$const-color-surface-0"}},tu=s.createContext(null),ru={description:"As its name suggests, this component places a bookmark into its parent component's view. The component has an `id` that you can use in links to navigate (scroll to) the bookmark's location.",opaque:!0,props:{uid:{description:"The unique identifier of the bookmark. You can use this identifier in links to navigate to this component's location.",valueType:"string"},level:{description:"The level of the bookmark. The level is used to determine the bookmark's position in the table of contents.",valueType:"number",defaultValue:1},title:{description:"Defines the text to display the bookmark in the table of contents. If this property is empty, the text falls back to the value of `id`.",valueType:"string"},omitFromToc:{description:"If true, this bookmark will be excluded from the table of contents.",valueType:"boolean",defaultValue:!1}}},Dr={themeVars:`'{"padding-Card": "var(--xmlui-padding-Card)", "paddingHorizontal-Card": "var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card))", "paddingVertical-Card": "var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card))", "paddingLeft-Card": "var(--xmlui-paddingLeft-Card, var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card)))", "paddingRight-Card": "var(--xmlui-paddingRight-Card, var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card)))", "paddingTop-Card": "var(--xmlui-paddingTop-Card, var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card)))", "paddingBottom-Card": "var(--xmlui-paddingBottom-Card, var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card)))", "border-Card": "var(--xmlui-border-Card)", "borderHorizontal-Card": "var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card))", "borderVertical-Card": "var(--xmlui-borderVertical-Card, var(--xmlui-border-Card))", "borderLeft-Card": "var(--xmlui-borderLeft-Card, var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card)))", "borderRight-Card": "var(--xmlui-borderRight-Card, var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card)))", "borderTop-Card": "var(--xmlui-borderTop-Card, var(--xmlui-borderVertical-Card, var(--xmlui-border-Card)))", "borderBottom-Card": "var(--xmlui-borderBottom-Card, var(--xmlui-borderVertical-Card, var(--xmlui-border-Card)))", "borderWidth-Card": "var(--xmlui-borderWidth-Card)", "borderHorizontalWidth-Card": "var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card))", "borderLeftWidth-Card": "var(--xmlui-borderLeftWidth-Card, var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderRightWidth-Card": "var(--xmlui-borderRightWidth-Card, var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderVerticalWidth-Card": "var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card))", "borderTopWidth-Card": "var(--xmlui-borderTopWidth-Card, var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderBottomWidth-Card": "var(--xmlui-borderBottomWidth-Card, var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderStyle-Card": "var(--xmlui-borderStyle-Card)", "borderHorizontalStyle-Card": "var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card))", "borderLeftStyle-Card": "var(--xmlui-borderLeftStyle-Card, var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderRightStyle-Card": "var(--xmlui-borderRightStyle-Card, var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderVerticalStyle-Card": "var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card))", "borderTopStyle-Card": "var(--xmlui-borderTopStyle-Card, var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderBottomStyle-Card": "var(--xmlui-borderBottomStyle-Card, var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderColor-Card": "var(--xmlui-borderColor-Card)", "borderHorizontalColor-Card": "var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card))", "borderLeftColor-Card": "var(--xmlui-borderLeftColor-Card, var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card)))", "borderRightColor-Card": "var(--xmlui-borderRightColor-Card, var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card)))", "borderVerticalColor-Card": "var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card))", "borderTopColor-Card": "var(--xmlui-borderTopColor-Card, var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card)))", "borderBottomColor-Card": "var(--xmlui-borderBottomColor-Card, var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card)))", "borderStartStartRadius-Card": "var(--xmlui-borderStartStartRadius-Card, var(--xmlui-borderRadius-Card))", "borderStartEndRadius-Card": "var(--xmlui-borderStartEndRadius-Card, var(--xmlui-borderRadius-Card))", "borderEndStartRadius-Card": "var(--xmlui-borderEndStartRadius-Card, var(--xmlui-borderRadius-Card))", "borderEndEndRadius-Card": "var(--xmlui-borderEndEndRadius-Card, var(--xmlui-borderRadius-Card))", "boxShadow-Card": "var(--xmlui-boxShadow-Card)", "backgroundColor-Card": "var(--xmlui-backgroundColor-Card)", "borderRadius-Card": "var(--xmlui-borderRadius-Card)", "gap-Card": "var(--xmlui-gap-Card)", "gap-title-Card": "var(--xmlui-gap-title-Card)", "gap-avatar-Card": "var(--xmlui-gap-avatar-Card)", "horizontalAlignment-title-Card": "var(--xmlui-horizontalAlignment-title-Card)", "verticalAlignment-title-Card": "var(--xmlui-verticalAlignment-title-Card)"}'`,wrapper:"_wrapper_1arn2_13",avatarWrapper:"_avatarWrapper_1arn2_46",titleWrapper:"_titleWrapper_1arn2_52",horizontal:"_horizontal_1arn2_59",vertical:"_vertical_1arn2_63",isClickable:"_isClickable_1arn2_66"},uo={themeVars:`'{"padding-Link": "var(--xmlui-padding-Link)", "paddingHorizontal-Link": "var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link))", "paddingVertical-Link": "var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link))", "paddingLeft-Link": "var(--xmlui-paddingLeft-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingRight-Link": "var(--xmlui-paddingRight-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingTop-Link": "var(--xmlui-paddingTop-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "paddingBottom-Link": "var(--xmlui-paddingBottom-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "padding-icon-Link": "var(--xmlui-padding-icon-Link)", "paddingHorizontal-icon-Link": "var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link))", "paddingVertical-icon-Link": "var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link))", "paddingLeft-icon-Link": "var(--xmlui-paddingLeft-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingRight-icon-Link": "var(--xmlui-paddingRight-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingTop-icon-Link": "var(--xmlui-paddingTop-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingBottom-icon-Link": "var(--xmlui-paddingBottom-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "border-Link": "var(--xmlui-border-Link)", "borderHorizontal-Link": "var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link))", "borderVertical-Link": "var(--xmlui-borderVertical-Link, var(--xmlui-border-Link))", "borderLeft-Link": "var(--xmlui-borderLeft-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderRight-Link": "var(--xmlui-borderRight-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderTop-Link": "var(--xmlui-borderTop-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderBottom-Link": "var(--xmlui-borderBottom-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderWidth-Link": "var(--xmlui-borderWidth-Link)", "borderHorizontalWidth-Link": "var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link))", "borderLeftWidth-Link": "var(--xmlui-borderLeftWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderRightWidth-Link": "var(--xmlui-borderRightWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderVerticalWidth-Link": "var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link))", "borderTopWidth-Link": "var(--xmlui-borderTopWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderBottomWidth-Link": "var(--xmlui-borderBottomWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderStyle-Link": "var(--xmlui-borderStyle-Link)", "borderHorizontalStyle-Link": "var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link))", "borderLeftStyle-Link": "var(--xmlui-borderLeftStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderRightStyle-Link": "var(--xmlui-borderRightStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderVerticalStyle-Link": "var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link))", "borderTopStyle-Link": "var(--xmlui-borderTopStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderBottomStyle-Link": "var(--xmlui-borderBottomStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderColor-Link": "var(--xmlui-borderColor-Link)", "borderHorizontalColor-Link": "var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link))", "borderLeftColor-Link": "var(--xmlui-borderLeftColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderRightColor-Link": "var(--xmlui-borderRightColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderVerticalColor-Link": "var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link))", "borderTopColor-Link": "var(--xmlui-borderTopColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderBottomColor-Link": "var(--xmlui-borderBottomColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderStartStartRadius-Link": "var(--xmlui-borderStartStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderStartEndRadius-Link": "var(--xmlui-borderStartEndRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndStartRadius-Link": "var(--xmlui-borderEndStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndEndRadius-Link": "var(--xmlui-borderEndEndRadius-Link, var(--xmlui-borderRadius-Link))", "textColor-Link": "var(--xmlui-textColor-Link)", "fontFamily-Link": "var(--xmlui-fontFamily-Link)", "fontSize-Link": "var(--xmlui-fontSize-Link)", "fontStyle-Link": "var(--xmlui-fontStyle-Link)", "fontVariant-Link": "var(--xmlui-fontVariant-Link)", "fontWeight-Link": "var(--xmlui-fontWeight-Link)", "fontStretch-Link": "var(--xmlui-fontStretch-Link)", "textDecorationLine-Link": "var(--xmlui-textDecorationLine-Link)", "textDecorationColor-Link": "var(--xmlui-textDecorationColor-Link)", "textDecorationStyle-Link": "var(--xmlui-textDecorationStyle-Link)", "textDecorationThickness-Link": "var(--xmlui-textDecorationThickness-Link)", "textUnderlineOffset-Link": "var(--xmlui-textUnderlineOffset-Link)", "lineHeight-Link": "var(--xmlui-lineHeight-Link)", "backgroundColor-Link": "var(--xmlui-backgroundColor-Link)", "textTransform-Link": "var(--xmlui-textTransform-Link)", "letterSpacing-Link": "var(--xmlui-letterSpacing-Link)", "wordSpacing-Link": "var(--xmlui-wordSpacing-Link)", "textShadow-Link": "var(--xmlui-textShadow-Link)", "textIndent-Link": "var(--xmlui-textIndent-Link)", "textAlign-Link": "var(--xmlui-textAlign-Link)", "textAlignLast-Link": "var(--xmlui-textAlignLast-Link)", "wordBreak-Link": "var(--xmlui-wordBreak-Link)", "wordWrap-Link": "var(--xmlui-wordWrap-Link)", "direction-Link": "var(--xmlui-direction-Link)", "writingMode-Link": "var(--xmlui-writingMode-Link)", "lineBreak-Link": "var(--xmlui-lineBreak-Link)", "textColor-Link--active": "var(--xmlui-textColor-Link--active)", "textColor-Link--hover": "var(--xmlui-textColor-Link--hover)", "textColor-Link--hover--active": "var(--xmlui-textColor-Link--hover--active)", "fontWeight-Link--active": "var(--xmlui-fontWeight-Link--active)", "gap-icon-Link": "var(--xmlui-gap-icon-Link)", "outlineWidth-Link--focus": "var(--xmlui-outlineWidth-Link--focus)", "outlineColor-Link--focus": "var(--xmlui-outlineColor-Link--focus)", "outlineStyle-Link--focus": "var(--xmlui-outlineStyle-Link--focus)", "outlineOffset-Link--focus": "var(--xmlui-outlineOffset-Link--focus)"}'`,container:"_container_gmmz2_13",active:"_active_gmmz2_74",disabled:"_disabled_gmmz2_78",iconWrapper:"_iconWrapper_gmmz2_94"},ou=s.forwardRef(function(r,t){const{to:o,children:a,icon:l,active:i,onClick:n,target:c,disabled:b,style:h,...p}=au(r),C=!!l&&!a,x=s.useMemo(()=>bl(o),[o]),g=o?Ba.Link:"div";return d.jsxs(g,{ref:t,to:x,style:h,target:c,onClick:n,className:re(uo.container,{[uo.iconLink]:C,[uo.active]:i,[uo.disabled]:b}),...p,children:[l&&d.jsx("div",{className:uo.iconWrapper,children:d.jsx(me,{name:l})}),a]})});function au(e){const{target:r,referrerPolicy:t}=e;return{...e,target:r,referrerPolicy:t}}const yt={themeVars:`'{"border-H1": "var(--xmlui-border-H1)", "borderHorizontal-H1": "var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1))", "borderVertical-H1": "var(--xmlui-borderVertical-H1, var(--xmlui-border-H1))", "borderLeft-H1": "var(--xmlui-borderLeft-H1, var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1)))", "borderRight-H1": "var(--xmlui-borderRight-H1, var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1)))", "borderTop-H1": "var(--xmlui-borderTop-H1, var(--xmlui-borderVertical-H1, var(--xmlui-border-H1)))", "borderBottom-H1": "var(--xmlui-borderBottom-H1, var(--xmlui-borderVertical-H1, var(--xmlui-border-H1)))", "borderWidth-H1": "var(--xmlui-borderWidth-H1)", "borderHorizontalWidth-H1": "var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1))", "borderLeftWidth-H1": "var(--xmlui-borderLeftWidth-H1, var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderRightWidth-H1": "var(--xmlui-borderRightWidth-H1, var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderVerticalWidth-H1": "var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1))", "borderTopWidth-H1": "var(--xmlui-borderTopWidth-H1, var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderBottomWidth-H1": "var(--xmlui-borderBottomWidth-H1, var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderStyle-H1": "var(--xmlui-borderStyle-H1)", "borderHorizontalStyle-H1": "var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1))", "borderLeftStyle-H1": "var(--xmlui-borderLeftStyle-H1, var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderRightStyle-H1": "var(--xmlui-borderRightStyle-H1, var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderVerticalStyle-H1": "var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1))", "borderTopStyle-H1": "var(--xmlui-borderTopStyle-H1, var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderBottomStyle-H1": "var(--xmlui-borderBottomStyle-H1, var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderColor-H1": "var(--xmlui-borderColor-H1)", "borderHorizontalColor-H1": "var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1))", "borderLeftColor-H1": "var(--xmlui-borderLeftColor-H1, var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1)))", "borderRightColor-H1": "var(--xmlui-borderRightColor-H1, var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1)))", "borderVerticalColor-H1": "var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1))", "borderTopColor-H1": "var(--xmlui-borderTopColor-H1, var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1)))", "borderBottomColor-H1": "var(--xmlui-borderBottomColor-H1, var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1)))", "borderStartStartRadius-H1": "var(--xmlui-borderStartStartRadius-H1, var(--xmlui-borderRadius-H1))", "borderStartEndRadius-H1": "var(--xmlui-borderStartEndRadius-H1, var(--xmlui-borderRadius-H1))", "borderEndStartRadius-H1": "var(--xmlui-borderEndStartRadius-H1, var(--xmlui-borderRadius-H1))", "borderEndEndRadius-H1": "var(--xmlui-borderEndEndRadius-H1, var(--xmlui-borderRadius-H1))", "padding-H1": "var(--xmlui-padding-H1)", "paddingHorizontal-H1": "var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1))", "paddingVertical-H1": "var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1))", "paddingLeft-H1": "var(--xmlui-paddingLeft-H1, var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1)))", "paddingRight-H1": "var(--xmlui-paddingRight-H1, var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1)))", "paddingTop-H1": "var(--xmlui-paddingTop-H1, var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1)))", "paddingBottom-H1": "var(--xmlui-paddingBottom-H1, var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1)))", "textColor-H1": "var(--xmlui-textColor-H1)", "fontFamily-H1": "var(--xmlui-fontFamily-H1)", "fontSize-H1": "var(--xmlui-fontSize-H1)", "fontStyle-H1": "var(--xmlui-fontStyle-H1)", "fontVariant-H1": "var(--xmlui-fontVariant-H1)", "fontWeight-H1": "var(--xmlui-fontWeight-H1)", "fontStretch-H1": "var(--xmlui-fontStretch-H1)", "textDecorationLine-H1": "var(--xmlui-textDecorationLine-H1)", "textDecorationColor-H1": "var(--xmlui-textDecorationColor-H1)", "textDecorationStyle-H1": "var(--xmlui-textDecorationStyle-H1)", "textDecorationThickness-H1": "var(--xmlui-textDecorationThickness-H1)", "textUnderlineOffset-H1": "var(--xmlui-textUnderlineOffset-H1)", "lineHeight-H1": "var(--xmlui-lineHeight-H1)", "backgroundColor-H1": "var(--xmlui-backgroundColor-H1)", "textTransform-H1": "var(--xmlui-textTransform-H1)", "letterSpacing-H1": "var(--xmlui-letterSpacing-H1)", "wordSpacing-H1": "var(--xmlui-wordSpacing-H1)", "textShadow-H1": "var(--xmlui-textShadow-H1)", "textIndent-H1": "var(--xmlui-textIndent-H1)", "textAlign-H1": "var(--xmlui-textAlign-H1)", "textAlignLast-H1": "var(--xmlui-textAlignLast-H1)", "wordBreak-H1": "var(--xmlui-wordBreak-H1)", "wordWrap-H1": "var(--xmlui-wordWrap-H1)", "direction-H1": "var(--xmlui-direction-H1)", "writingMode-H1": "var(--xmlui-writingMode-H1)", "lineBreak-H1": "var(--xmlui-lineBreak-H1)", "border-H2": "var(--xmlui-border-H2)", "borderHorizontal-H2": "var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2))", "borderVertical-H2": "var(--xmlui-borderVertical-H2, var(--xmlui-border-H2))", "borderLeft-H2": "var(--xmlui-borderLeft-H2, var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2)))", "borderRight-H2": "var(--xmlui-borderRight-H2, var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2)))", "borderTop-H2": "var(--xmlui-borderTop-H2, var(--xmlui-borderVertical-H2, var(--xmlui-border-H2)))", "borderBottom-H2": "var(--xmlui-borderBottom-H2, var(--xmlui-borderVertical-H2, var(--xmlui-border-H2)))", "borderWidth-H2": "var(--xmlui-borderWidth-H2)", "borderHorizontalWidth-H2": "var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2))", "borderLeftWidth-H2": "var(--xmlui-borderLeftWidth-H2, var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderRightWidth-H2": "var(--xmlui-borderRightWidth-H2, var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderVerticalWidth-H2": "var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2))", "borderTopWidth-H2": "var(--xmlui-borderTopWidth-H2, var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderBottomWidth-H2": "var(--xmlui-borderBottomWidth-H2, var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderStyle-H2": "var(--xmlui-borderStyle-H2)", "borderHorizontalStyle-H2": "var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2))", "borderLeftStyle-H2": "var(--xmlui-borderLeftStyle-H2, var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderRightStyle-H2": "var(--xmlui-borderRightStyle-H2, var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderVerticalStyle-H2": "var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2))", "borderTopStyle-H2": "var(--xmlui-borderTopStyle-H2, var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderBottomStyle-H2": "var(--xmlui-borderBottomStyle-H2, var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderColor-H2": "var(--xmlui-borderColor-H2)", "borderHorizontalColor-H2": "var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2))", "borderLeftColor-H2": "var(--xmlui-borderLeftColor-H2, var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2)))", "borderRightColor-H2": "var(--xmlui-borderRightColor-H2, var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2)))", "borderVerticalColor-H2": "var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2))", "borderTopColor-H2": "var(--xmlui-borderTopColor-H2, var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2)))", "borderBottomColor-H2": "var(--xmlui-borderBottomColor-H2, var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2)))", "borderStartStartRadius-H2": "var(--xmlui-borderStartStartRadius-H2, var(--xmlui-borderRadius-H2))", "borderStartEndRadius-H2": "var(--xmlui-borderStartEndRadius-H2, var(--xmlui-borderRadius-H2))", "borderEndStartRadius-H2": "var(--xmlui-borderEndStartRadius-H2, var(--xmlui-borderRadius-H2))", "borderEndEndRadius-H2": "var(--xmlui-borderEndEndRadius-H2, var(--xmlui-borderRadius-H2))", "padding-H2": "var(--xmlui-padding-H2)", "paddingHorizontal-H2": "var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2))", "paddingVertical-H2": "var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2))", "paddingLeft-H2": "var(--xmlui-paddingLeft-H2, var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2)))", "paddingRight-H2": "var(--xmlui-paddingRight-H2, var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2)))", "paddingTop-H2": "var(--xmlui-paddingTop-H2, var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2)))", "paddingBottom-H2": "var(--xmlui-paddingBottom-H2, var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2)))", "textColor-H2": "var(--xmlui-textColor-H2)", "fontFamily-H2": "var(--xmlui-fontFamily-H2)", "fontSize-H2": "var(--xmlui-fontSize-H2)", "fontStyle-H2": "var(--xmlui-fontStyle-H2)", "fontVariant-H2": "var(--xmlui-fontVariant-H2)", "fontWeight-H2": "var(--xmlui-fontWeight-H2)", "fontStretch-H2": "var(--xmlui-fontStretch-H2)", "textDecorationLine-H2": "var(--xmlui-textDecorationLine-H2)", "textDecorationColor-H2": "var(--xmlui-textDecorationColor-H2)", "textDecorationStyle-H2": "var(--xmlui-textDecorationStyle-H2)", "textDecorationThickness-H2": "var(--xmlui-textDecorationThickness-H2)", "textUnderlineOffset-H2": "var(--xmlui-textUnderlineOffset-H2)", "lineHeight-H2": "var(--xmlui-lineHeight-H2)", "backgroundColor-H2": "var(--xmlui-backgroundColor-H2)", "textTransform-H2": "var(--xmlui-textTransform-H2)", "letterSpacing-H2": "var(--xmlui-letterSpacing-H2)", "wordSpacing-H2": "var(--xmlui-wordSpacing-H2)", "textShadow-H2": "var(--xmlui-textShadow-H2)", "textIndent-H2": "var(--xmlui-textIndent-H2)", "textAlign-H2": "var(--xmlui-textAlign-H2)", "textAlignLast-H2": "var(--xmlui-textAlignLast-H2)", "wordBreak-H2": "var(--xmlui-wordBreak-H2)", "wordWrap-H2": "var(--xmlui-wordWrap-H2)", "direction-H2": "var(--xmlui-direction-H2)", "writingMode-H2": "var(--xmlui-writingMode-H2)", "lineBreak-H2": "var(--xmlui-lineBreak-H2)", "border-H3": "var(--xmlui-border-H3)", "borderHorizontal-H3": "var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3))", "borderVertical-H3": "var(--xmlui-borderVertical-H3, var(--xmlui-border-H3))", "borderLeft-H3": "var(--xmlui-borderLeft-H3, var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3)))", "borderRight-H3": "var(--xmlui-borderRight-H3, var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3)))", "borderTop-H3": "var(--xmlui-borderTop-H3, var(--xmlui-borderVertical-H3, var(--xmlui-border-H3)))", "borderBottom-H3": "var(--xmlui-borderBottom-H3, var(--xmlui-borderVertical-H3, var(--xmlui-border-H3)))", "borderWidth-H3": "var(--xmlui-borderWidth-H3)", "borderHorizontalWidth-H3": "var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3))", "borderLeftWidth-H3": "var(--xmlui-borderLeftWidth-H3, var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderRightWidth-H3": "var(--xmlui-borderRightWidth-H3, var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderVerticalWidth-H3": "var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3))", "borderTopWidth-H3": "var(--xmlui-borderTopWidth-H3, var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderBottomWidth-H3": "var(--xmlui-borderBottomWidth-H3, var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderStyle-H3": "var(--xmlui-borderStyle-H3)", "borderHorizontalStyle-H3": "var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3))", "borderLeftStyle-H3": "var(--xmlui-borderLeftStyle-H3, var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderRightStyle-H3": "var(--xmlui-borderRightStyle-H3, var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderVerticalStyle-H3": "var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3))", "borderTopStyle-H3": "var(--xmlui-borderTopStyle-H3, var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderBottomStyle-H3": "var(--xmlui-borderBottomStyle-H3, var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderColor-H3": "var(--xmlui-borderColor-H3)", "borderHorizontalColor-H3": "var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3))", "borderLeftColor-H3": "var(--xmlui-borderLeftColor-H3, var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3)))", "borderRightColor-H3": "var(--xmlui-borderRightColor-H3, var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3)))", "borderVerticalColor-H3": "var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3))", "borderTopColor-H3": "var(--xmlui-borderTopColor-H3, var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3)))", "borderBottomColor-H3": "var(--xmlui-borderBottomColor-H3, var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3)))", "borderStartStartRadius-H3": "var(--xmlui-borderStartStartRadius-H3, var(--xmlui-borderRadius-H3))", "borderStartEndRadius-H3": "var(--xmlui-borderStartEndRadius-H3, var(--xmlui-borderRadius-H3))", "borderEndStartRadius-H3": "var(--xmlui-borderEndStartRadius-H3, var(--xmlui-borderRadius-H3))", "borderEndEndRadius-H3": "var(--xmlui-borderEndEndRadius-H3, var(--xmlui-borderRadius-H3))", "padding-H3": "var(--xmlui-padding-H3)", "paddingHorizontal-H3": "var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3))", "paddingVertical-H3": "var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3))", "paddingLeft-H3": "var(--xmlui-paddingLeft-H3, var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3)))", "paddingRight-H3": "var(--xmlui-paddingRight-H3, var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3)))", "paddingTop-H3": "var(--xmlui-paddingTop-H3, var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3)))", "paddingBottom-H3": "var(--xmlui-paddingBottom-H3, var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3)))", "textColor-H3": "var(--xmlui-textColor-H3)", "fontFamily-H3": "var(--xmlui-fontFamily-H3)", "fontSize-H3": "var(--xmlui-fontSize-H3)", "fontStyle-H3": "var(--xmlui-fontStyle-H3)", "fontVariant-H3": "var(--xmlui-fontVariant-H3)", "fontWeight-H3": "var(--xmlui-fontWeight-H3)", "fontStretch-H3": "var(--xmlui-fontStretch-H3)", "textDecorationLine-H3": "var(--xmlui-textDecorationLine-H3)", "textDecorationColor-H3": "var(--xmlui-textDecorationColor-H3)", "textDecorationStyle-H3": "var(--xmlui-textDecorationStyle-H3)", "textDecorationThickness-H3": "var(--xmlui-textDecorationThickness-H3)", "textUnderlineOffset-H3": "var(--xmlui-textUnderlineOffset-H3)", "lineHeight-H3": "var(--xmlui-lineHeight-H3)", "backgroundColor-H3": "var(--xmlui-backgroundColor-H3)", "textTransform-H3": "var(--xmlui-textTransform-H3)", "letterSpacing-H3": "var(--xmlui-letterSpacing-H3)", "wordSpacing-H3": "var(--xmlui-wordSpacing-H3)", "textShadow-H3": "var(--xmlui-textShadow-H3)", "textIndent-H3": "var(--xmlui-textIndent-H3)", "textAlign-H3": "var(--xmlui-textAlign-H3)", "textAlignLast-H3": "var(--xmlui-textAlignLast-H3)", "wordBreak-H3": "var(--xmlui-wordBreak-H3)", "wordWrap-H3": "var(--xmlui-wordWrap-H3)", "direction-H3": "var(--xmlui-direction-H3)", "writingMode-H3": "var(--xmlui-writingMode-H3)", "lineBreak-H3": "var(--xmlui-lineBreak-H3)", "border-H4": "var(--xmlui-border-H4)", "borderHorizontal-H4": "var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4))", "borderVertical-H4": "var(--xmlui-borderVertical-H4, var(--xmlui-border-H4))", "borderLeft-H4": "var(--xmlui-borderLeft-H4, var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4)))", "borderRight-H4": "var(--xmlui-borderRight-H4, var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4)))", "borderTop-H4": "var(--xmlui-borderTop-H4, var(--xmlui-borderVertical-H4, var(--xmlui-border-H4)))", "borderBottom-H4": "var(--xmlui-borderBottom-H4, var(--xmlui-borderVertical-H4, var(--xmlui-border-H4)))", "borderWidth-H4": "var(--xmlui-borderWidth-H4)", "borderHorizontalWidth-H4": "var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4))", "borderLeftWidth-H4": "var(--xmlui-borderLeftWidth-H4, var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderRightWidth-H4": "var(--xmlui-borderRightWidth-H4, var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderVerticalWidth-H4": "var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4))", "borderTopWidth-H4": "var(--xmlui-borderTopWidth-H4, var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderBottomWidth-H4": "var(--xmlui-borderBottomWidth-H4, var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderStyle-H4": "var(--xmlui-borderStyle-H4)", "borderHorizontalStyle-H4": "var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4))", "borderLeftStyle-H4": "var(--xmlui-borderLeftStyle-H4, var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderRightStyle-H4": "var(--xmlui-borderRightStyle-H4, var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderVerticalStyle-H4": "var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4))", "borderTopStyle-H4": "var(--xmlui-borderTopStyle-H4, var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderBottomStyle-H4": "var(--xmlui-borderBottomStyle-H4, var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderColor-H4": "var(--xmlui-borderColor-H4)", "borderHorizontalColor-H4": "var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4))", "borderLeftColor-H4": "var(--xmlui-borderLeftColor-H4, var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4)))", "borderRightColor-H4": "var(--xmlui-borderRightColor-H4, var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4)))", "borderVerticalColor-H4": "var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4))", "borderTopColor-H4": "var(--xmlui-borderTopColor-H4, var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4)))", "borderBottomColor-H4": "var(--xmlui-borderBottomColor-H4, var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4)))", "borderStartStartRadius-H4": "var(--xmlui-borderStartStartRadius-H4, var(--xmlui-borderRadius-H4))", "borderStartEndRadius-H4": "var(--xmlui-borderStartEndRadius-H4, var(--xmlui-borderRadius-H4))", "borderEndStartRadius-H4": "var(--xmlui-borderEndStartRadius-H4, var(--xmlui-borderRadius-H4))", "borderEndEndRadius-H4": "var(--xmlui-borderEndEndRadius-H4, var(--xmlui-borderRadius-H4))", "padding-H4": "var(--xmlui-padding-H4)", "paddingHorizontal-H4": "var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4))", "paddingVertical-H4": "var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4))", "paddingLeft-H4": "var(--xmlui-paddingLeft-H4, var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4)))", "paddingRight-H4": "var(--xmlui-paddingRight-H4, var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4)))", "paddingTop-H4": "var(--xmlui-paddingTop-H4, var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4)))", "paddingBottom-H4": "var(--xmlui-paddingBottom-H4, var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4)))", "textColor-H4": "var(--xmlui-textColor-H4)", "fontFamily-H4": "var(--xmlui-fontFamily-H4)", "fontSize-H4": "var(--xmlui-fontSize-H4)", "fontStyle-H4": "var(--xmlui-fontStyle-H4)", "fontVariant-H4": "var(--xmlui-fontVariant-H4)", "fontWeight-H4": "var(--xmlui-fontWeight-H4)", "fontStretch-H4": "var(--xmlui-fontStretch-H4)", "textDecorationLine-H4": "var(--xmlui-textDecorationLine-H4)", "textDecorationColor-H4": "var(--xmlui-textDecorationColor-H4)", "textDecorationStyle-H4": "var(--xmlui-textDecorationStyle-H4)", "textDecorationThickness-H4": "var(--xmlui-textDecorationThickness-H4)", "textUnderlineOffset-H4": "var(--xmlui-textUnderlineOffset-H4)", "lineHeight-H4": "var(--xmlui-lineHeight-H4)", "backgroundColor-H4": "var(--xmlui-backgroundColor-H4)", "textTransform-H4": "var(--xmlui-textTransform-H4)", "letterSpacing-H4": "var(--xmlui-letterSpacing-H4)", "wordSpacing-H4": "var(--xmlui-wordSpacing-H4)", "textShadow-H4": "var(--xmlui-textShadow-H4)", "textIndent-H4": "var(--xmlui-textIndent-H4)", "textAlign-H4": "var(--xmlui-textAlign-H4)", "textAlignLast-H4": "var(--xmlui-textAlignLast-H4)", "wordBreak-H4": "var(--xmlui-wordBreak-H4)", "wordWrap-H4": "var(--xmlui-wordWrap-H4)", "direction-H4": "var(--xmlui-direction-H4)", "writingMode-H4": "var(--xmlui-writingMode-H4)", "lineBreak-H4": "var(--xmlui-lineBreak-H4)", "border-H5": "var(--xmlui-border-H5)", "borderHorizontal-H5": "var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5))", "borderVertical-H5": "var(--xmlui-borderVertical-H5, var(--xmlui-border-H5))", "borderLeft-H5": "var(--xmlui-borderLeft-H5, var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5)))", "borderRight-H5": "var(--xmlui-borderRight-H5, var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5)))", "borderTop-H5": "var(--xmlui-borderTop-H5, var(--xmlui-borderVertical-H5, var(--xmlui-border-H5)))", "borderBottom-H5": "var(--xmlui-borderBottom-H5, var(--xmlui-borderVertical-H5, var(--xmlui-border-H5)))", "borderWidth-H5": "var(--xmlui-borderWidth-H5)", "borderHorizontalWidth-H5": "var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5))", "borderLeftWidth-H5": "var(--xmlui-borderLeftWidth-H5, var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderRightWidth-H5": "var(--xmlui-borderRightWidth-H5, var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderVerticalWidth-H5": "var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5))", "borderTopWidth-H5": "var(--xmlui-borderTopWidth-H5, var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderBottomWidth-H5": "var(--xmlui-borderBottomWidth-H5, var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderStyle-H5": "var(--xmlui-borderStyle-H5)", "borderHorizontalStyle-H5": "var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5))", "borderLeftStyle-H5": "var(--xmlui-borderLeftStyle-H5, var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderRightStyle-H5": "var(--xmlui-borderRightStyle-H5, var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderVerticalStyle-H5": "var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5))", "borderTopStyle-H5": "var(--xmlui-borderTopStyle-H5, var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderBottomStyle-H5": "var(--xmlui-borderBottomStyle-H5, var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderColor-H5": "var(--xmlui-borderColor-H5)", "borderHorizontalColor-H5": "var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5))", "borderLeftColor-H5": "var(--xmlui-borderLeftColor-H5, var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5)))", "borderRightColor-H5": "var(--xmlui-borderRightColor-H5, var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5)))", "borderVerticalColor-H5": "var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5))", "borderTopColor-H5": "var(--xmlui-borderTopColor-H5, var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5)))", "borderBottomColor-H5": "var(--xmlui-borderBottomColor-H5, var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5)))", "borderStartStartRadius-H5": "var(--xmlui-borderStartStartRadius-H5, var(--xmlui-borderRadius-H5))", "borderStartEndRadius-H5": "var(--xmlui-borderStartEndRadius-H5, var(--xmlui-borderRadius-H5))", "borderEndStartRadius-H5": "var(--xmlui-borderEndStartRadius-H5, var(--xmlui-borderRadius-H5))", "borderEndEndRadius-H5": "var(--xmlui-borderEndEndRadius-H5, var(--xmlui-borderRadius-H5))", "padding-H5": "var(--xmlui-padding-H5)", "paddingHorizontal-H5": "var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5))", "paddingVertical-H5": "var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5))", "paddingLeft-H5": "var(--xmlui-paddingLeft-H5, var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5)))", "paddingRight-H5": "var(--xmlui-paddingRight-H5, var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5)))", "paddingTop-H5": "var(--xmlui-paddingTop-H5, var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5)))", "paddingBottom-H5": "var(--xmlui-paddingBottom-H5, var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5)))", "textColor-H5": "var(--xmlui-textColor-H5)", "fontFamily-H5": "var(--xmlui-fontFamily-H5)", "fontSize-H5": "var(--xmlui-fontSize-H5)", "fontStyle-H5": "var(--xmlui-fontStyle-H5)", "fontVariant-H5": "var(--xmlui-fontVariant-H5)", "fontWeight-H5": "var(--xmlui-fontWeight-H5)", "fontStretch-H5": "var(--xmlui-fontStretch-H5)", "textDecorationLine-H5": "var(--xmlui-textDecorationLine-H5)", "textDecorationColor-H5": "var(--xmlui-textDecorationColor-H5)", "textDecorationStyle-H5": "var(--xmlui-textDecorationStyle-H5)", "textDecorationThickness-H5": "var(--xmlui-textDecorationThickness-H5)", "textUnderlineOffset-H5": "var(--xmlui-textUnderlineOffset-H5)", "lineHeight-H5": "var(--xmlui-lineHeight-H5)", "backgroundColor-H5": "var(--xmlui-backgroundColor-H5)", "textTransform-H5": "var(--xmlui-textTransform-H5)", "letterSpacing-H5": "var(--xmlui-letterSpacing-H5)", "wordSpacing-H5": "var(--xmlui-wordSpacing-H5)", "textShadow-H5": "var(--xmlui-textShadow-H5)", "textIndent-H5": "var(--xmlui-textIndent-H5)", "textAlign-H5": "var(--xmlui-textAlign-H5)", "textAlignLast-H5": "var(--xmlui-textAlignLast-H5)", "wordBreak-H5": "var(--xmlui-wordBreak-H5)", "wordWrap-H5": "var(--xmlui-wordWrap-H5)", "direction-H5": "var(--xmlui-direction-H5)", "writingMode-H5": "var(--xmlui-writingMode-H5)", "lineBreak-H5": "var(--xmlui-lineBreak-H5)", "border-H6": "var(--xmlui-border-H6)", "borderHorizontal-H6": "var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6))", "borderVertical-H6": "var(--xmlui-borderVertical-H6, var(--xmlui-border-H6))", "borderLeft-H6": "var(--xmlui-borderLeft-H6, var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6)))", "borderRight-H6": "var(--xmlui-borderRight-H6, var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6)))", "borderTop-H6": "var(--xmlui-borderTop-H6, var(--xmlui-borderVertical-H6, var(--xmlui-border-H6)))", "borderBottom-H6": "var(--xmlui-borderBottom-H6, var(--xmlui-borderVertical-H6, var(--xmlui-border-H6)))", "borderWidth-H6": "var(--xmlui-borderWidth-H6)", "borderHorizontalWidth-H6": "var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6))", "borderLeftWidth-H6": "var(--xmlui-borderLeftWidth-H6, var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderRightWidth-H6": "var(--xmlui-borderRightWidth-H6, var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderVerticalWidth-H6": "var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6))", "borderTopWidth-H6": "var(--xmlui-borderTopWidth-H6, var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderBottomWidth-H6": "var(--xmlui-borderBottomWidth-H6, var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderStyle-H6": "var(--xmlui-borderStyle-H6)", "borderHorizontalStyle-H6": "var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6))", "borderLeftStyle-H6": "var(--xmlui-borderLeftStyle-H6, var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderRightStyle-H6": "var(--xmlui-borderRightStyle-H6, var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderVerticalStyle-H6": "var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6))", "borderTopStyle-H6": "var(--xmlui-borderTopStyle-H6, var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderBottomStyle-H6": "var(--xmlui-borderBottomStyle-H6, var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderColor-H6": "var(--xmlui-borderColor-H6)", "borderHorizontalColor-H6": "var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6))", "borderLeftColor-H6": "var(--xmlui-borderLeftColor-H6, var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6)))", "borderRightColor-H6": "var(--xmlui-borderRightColor-H6, var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6)))", "borderVerticalColor-H6": "var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6))", "borderTopColor-H6": "var(--xmlui-borderTopColor-H6, var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6)))", "borderBottomColor-H6": "var(--xmlui-borderBottomColor-H6, var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6)))", "borderStartStartRadius-H6": "var(--xmlui-borderStartStartRadius-H6, var(--xmlui-borderRadius-H6))", "borderStartEndRadius-H6": "var(--xmlui-borderStartEndRadius-H6, var(--xmlui-borderRadius-H6))", "borderEndStartRadius-H6": "var(--xmlui-borderEndStartRadius-H6, var(--xmlui-borderRadius-H6))", "borderEndEndRadius-H6": "var(--xmlui-borderEndEndRadius-H6, var(--xmlui-borderRadius-H6))", "padding-H6": "var(--xmlui-padding-H6)", "paddingHorizontal-H6": "var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6))", "paddingVertical-H6": "var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6))", "paddingLeft-H6": "var(--xmlui-paddingLeft-H6, var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6)))", "paddingRight-H6": "var(--xmlui-paddingRight-H6, var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6)))", "paddingTop-H6": "var(--xmlui-paddingTop-H6, var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6)))", "paddingBottom-H6": "var(--xmlui-paddingBottom-H6, var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6)))", "textColor-H6": "var(--xmlui-textColor-H6)", "fontFamily-H6": "var(--xmlui-fontFamily-H6)", "fontSize-H6": "var(--xmlui-fontSize-H6)", "fontStyle-H6": "var(--xmlui-fontStyle-H6)", "fontVariant-H6": "var(--xmlui-fontVariant-H6)", "fontWeight-H6": "var(--xmlui-fontWeight-H6)", "fontStretch-H6": "var(--xmlui-fontStretch-H6)", "textDecorationLine-H6": "var(--xmlui-textDecorationLine-H6)", "textDecorationColor-H6": "var(--xmlui-textDecorationColor-H6)", "textDecorationStyle-H6": "var(--xmlui-textDecorationStyle-H6)", "textDecorationThickness-H6": "var(--xmlui-textDecorationThickness-H6)", "textUnderlineOffset-H6": "var(--xmlui-textUnderlineOffset-H6)", "lineHeight-H6": "var(--xmlui-lineHeight-H6)", "backgroundColor-H6": "var(--xmlui-backgroundColor-H6)", "textTransform-H6": "var(--xmlui-textTransform-H6)", "letterSpacing-H6": "var(--xmlui-letterSpacing-H6)", "wordSpacing-H6": "var(--xmlui-wordSpacing-H6)", "textShadow-H6": "var(--xmlui-textShadow-H6)", "textIndent-H6": "var(--xmlui-textIndent-H6)", "textAlign-H6": "var(--xmlui-textAlign-H6)", "textAlignLast-H6": "var(--xmlui-textAlignLast-H6)", "wordBreak-H6": "var(--xmlui-wordBreak-H6)", "wordWrap-H6": "var(--xmlui-wordWrap-H6)", "direction-H6": "var(--xmlui-direction-H6)", "writingMode-H6": "var(--xmlui-writingMode-H6)", "lineBreak-H6": "var(--xmlui-lineBreak-H6)", "color-anchor-Heading": "var(--xmlui-color-anchor-Heading)", "gap-anchor-Heading": "var(--xmlui-gap-anchor-Heading)", "textDecorationLine-anchor-Heading": "var(--xmlui-textDecorationLine-anchor-Heading)", "Heading:textColor-H1": "var(--xmlui-textColor-H1)", "Heading:letterSpacing-H1": "var(--xmlui-letterSpacing-H1)", "Heading:fontFamily-H1": "var(--xmlui-fontFamily-H1)", "Heading:fontWeight-H1": "var(--xmlui-fontWeight-H1)", "marginTop-H1": "var(--xmlui-marginTop-H1)", "marginBottom-H1": "var(--xmlui-marginBottom-H1)", "Heading:textDecorationLine-H1": "var(--xmlui-textDecorationLine-H1)", "Heading:textDecorationColor-H1": "var(--xmlui-textDecorationColor-H1)", "Heading:textDecorationStyle-H1": "var(--xmlui-textDecorationStyle-H1)", "Heading:textDecorationThickness-H1": "var(--xmlui-textDecorationThickness-H1)", "Heading:textUnderlineOffset-H1": "var(--xmlui-textUnderlineOffset-H1)", "Heading:textColor-H2": "var(--xmlui-textColor-H2)", "Heading:letterSpacing-H2": "var(--xmlui-letterSpacing-H2)", "Heading:fontFamily-H2": "var(--xmlui-fontFamily-H2)", "Heading:fontWeight-H2": "var(--xmlui-fontWeight-H2)", "marginTop-H2": "var(--xmlui-marginTop-H2)", "marginBottom-H2": "var(--xmlui-marginBottom-H2)", "Heading:textDecorationLine-H2": "var(--xmlui-textDecorationLine-H2)", "Heading:textDecorationColor-H2": "var(--xmlui-textDecorationColor-H2)", "Heading:textDecorationStyle-H2": "var(--xmlui-textDecorationStyle-H2)", "Heading:textDecorationThickness-H2": "var(--xmlui-textDecorationThickness-H2)", "Heading:textUnderlineOffset-H2": "var(--xmlui-textUnderlineOffset-H2)", "Heading:textColor-H3": "var(--xmlui-textColor-H3)", "Heading:letterSpacing-H3": "var(--xmlui-letterSpacing-H3)", "Heading:fontFamily-H3": "var(--xmlui-fontFamily-H3)", "Heading:fontWeight-H3": "var(--xmlui-fontWeight-H3)", "marginTop-H3": "var(--xmlui-marginTop-H3)", "marginBottom-H3": "var(--xmlui-marginBottom-H3)", "Heading:textDecorationLine-H3": "var(--xmlui-textDecorationLine-H3)", "Heading:textDecorationColor-H3": "var(--xmlui-textDecorationColor-H3)", "Heading:textDecorationStyle-H3": "var(--xmlui-textDecorationStyle-H3)", "Heading:textDecorationThickness-H3": "var(--xmlui-textDecorationThickness-H3)", "Heading:textUnderlineOffset-H3": "var(--xmlui-textUnderlineOffset-H3)", "Heading:textColor-H4": "var(--xmlui-textColor-H4)", "Heading:letterSpacing-H4": "var(--xmlui-letterSpacing-H4)", "Heading:fontFamily-H4": "var(--xmlui-fontFamily-H4)", "Heading:fontWeight-H4": "var(--xmlui-fontWeight-H4)", "marginTop-H4": "var(--xmlui-marginTop-H4)", "marginBottom-H4": "var(--xmlui-marginBottom-H4)", "Heading:textDecorationLine-H4": "var(--xmlui-textDecorationLine-H4)", "Heading:textDecorationColor-H4": "var(--xmlui-textDecorationColor-H4)", "Heading:textDecorationStyle-H4": "var(--xmlui-textDecorationStyle-H4)", "Heading:textDecorationThickness-H4": "var(--xmlui-textDecorationThickness-H4)", "Heading:textUnderlineOffset-H4": "var(--xmlui-textUnderlineOffset-H4)", "Heading:textColor-H5": "var(--xmlui-textColor-H5)", "Heading:letterSpacing-H5": "var(--xmlui-letterSpacing-H5)", "Heading:fontFamily-H5": "var(--xmlui-fontFamily-H5)", "Heading:fontWeight-H5": "var(--xmlui-fontWeight-H5)", "marginTop-H5": "var(--xmlui-marginTop-H5)", "marginBottom-H5": "var(--xmlui-marginBottom-H5)", "Heading:textDecorationLine-H5": "var(--xmlui-textDecorationLine-H5)", "Heading:textDecorationColor-H5": "var(--xmlui-textDecorationColor-H5)", "Heading:textDecorationStyle-H5": "var(--xmlui-textDecorationStyle-H5)", "Heading:textDecorationThickness-H5": "var(--xmlui-textDecorationThickness-H5)", "Heading:textUnderlineOffset-H5": "var(--xmlui-textUnderlineOffset-H5)", "Heading:textColor-H6": "var(--xmlui-textColor-H6)", "Heading:letterSpacing-H6": "var(--xmlui-letterSpacing-H6)", "Heading:fontFamily-H6": "var(--xmlui-fontFamily-H6)", "Heading:fontWeight-H6": "var(--xmlui-fontWeight-H6)", "marginTop-H6": "var(--xmlui-marginTop-H6)", "marginBottom-H6": "var(--xmlui-marginBottom-H6)", "Heading:textDecorationLine-H6": "var(--xmlui-textDecorationLine-H6)", "Heading:textDecorationColor-H6": "var(--xmlui-textDecorationColor-H6)", "Heading:textDecorationStyle-H6": "var(--xmlui-textDecorationStyle-H6)", "Heading:textDecorationThickness-H6": "var(--xmlui-textDecorationThickness-H6)", "Heading:textUnderlineOffset-H6": "var(--xmlui-textUnderlineOffset-H6)"}'`,heading:"_heading_1y8d6_13",h1:"_h1_1y8d6_17",h2:"_h2_1y8d6_80",h3:"_h3_1y8d6_143",h4:"_h4_1y8d6_206",h5:"_h5_1y8d6_269",h6:"_h6_1y8d6_332",anchorRef:"_anchorRef_1y8d6_406",truncateOverflow:"_truncateOverflow_1y8d6_417",preserveLinebreaks:"_preserveLinebreaks_1y8d6_423",noEllipsis:"_noEllipsis_1y8d6_427"},Rr={level:"h1",ellipses:!0,omitFromToc:!1,maxLines:0},gl=s.forwardRef(function({uid:r,level:t=Rr.level,children:o,sx:a,style:l,title:i,maxLines:n=Rr.maxLines,preserveLinebreaks:c,ellipses:b=Rr.ellipses,className:h,omitFromToc:p=Rr.omitFromToc,showAnchor:C,...x},g){const T=t==null?void 0:t.toLowerCase(),y=s.useRef(null),[$,w]=s.useState(null),O=s.useRef(null),V=s.useContext(tu),P=V==null?void 0:V.registerHeading,Z=g?sr(y,g):y;return s.useEffect(()=>{var E,j,U,M;if(y.current){const f=(M=(U=(j=(E=y.current.textContent)==null?void 0:E.trim())==null?void 0:j.replace(/[^\w\s-]/g,""))==null?void 0:U.replace(/\s+/g,"-"))==null?void 0:M.toLowerCase();w(f||null)}},[]),Wo(()=>{if(y.current&&$&&!p)return P==null?void 0:P({id:$,level:parseInt(t.replace("h","")),text:y.current.textContent.trim().replace(/#$/,""),anchor:O.current})},[$,P,t,p]),d.jsxs(T,{ref:Z,id:r,title:i,style:{...a,...l,...ol(n)},className:re(yt.heading,yt[T],h||"",{[yt.truncateOverflow]:n>0,[yt.preserveLinebreaks]:c,[yt.noEllipsis]:!b}),...x,children:[$&&d.jsx("span",{ref:O,id:$,className:yt.anchorRef,"data-anchor":!0}),o,C&&$&&d.jsx(Ba.Link,{to:`#${$}`,"aria-hidden":"true",onClick:E=>{V&&(!E.ctrlKey&&!E.metaKey&&!E.metaKey&&E.preventDefault(),V.scrollToAnchor($,!0))},children:"#"})]})}),la={orientation:"vertical",showAvatar:!1};s.forwardRef(function({children:r,orientation:t=la.orientation,style:o,title:a,subtitle:l,linkTo:i,avatarUrl:n,showAvatar:c=!!n||la.showAvatar,avatarSize:b,onClick:h},p){const C={level:"h2"};return d.jsxs("div",{ref:p,className:re(Dr.wrapper,{[Dr.isClickable]:!!h,[Dr.vertical]:t==="vertical",[Dr.horizontal]:t==="horizontal"}),style:o,onClick:h,children:[[a,l,n,c].some(Boolean)&&d.jsxs("div",{className:Dr.avatarWrapper,children:[c&&d.jsx(Zd,{url:n,name:a,size:b}),d.jsxs("div",{className:Dr.titleWrapper,children:[i?a?d.jsx(ou,{to:i+"",children:d.jsx(gl,{...C,children:a})}):null:a?d.jsx(gl,{...C,children:a}):null,l!==void 0&&d.jsx(d.Fragment,{children:d.jsx(no,{variant:"small",children:l})})]})]}),r]})});const Ge="Card",iu={description:`The \`${Ge}\` component is a container for cohesive elements, often rendered visually as a card.`,props:{avatarUrl:{description:`Show the avatar (\`true\`) or not (\`false\`). If not specified, the ${Ge} will show the first letters of the [\`title\`](#title).`,type:"string"},showAvatar:{description:`Indicates whether the ${Ge} should be displayed`,valueType:"boolean",defaultValue:la.showAvatar},avatarSize:{description:"This prop sets the size of the avatar. The default value is `sm`.",availableValues:["xs","sm","md","lg"],valueType:"string"},title:{description:"This prop sets the prestyled title.",valueType:"string"},subtitle:{description:"This prop sets the prestyled subtitle.",valueType:"string"},linkTo:{description:"This property wraps the title in a `Link` component that is clickable to navigate.",valueType:"string"},orientation:{description:`An optional property that governs the ${Ge}'s orientation (whether the ${Ge} lays out its children in a row or a column). If the orientation is set to \`horizontal\`, the ${Ge} will display its children in a row, except for its [\`title\`](#title) and [\`subtitle\`](#subtitle).`,availableValues:ea,valueType:"string",defaultValue:la.orientation}},events:{click:io(Ge)},themeVars:Y(Dr.themeVars),defaultThemeVars:{[`padding-${Ge}`]:"$space-4",[`border-${Ge}`]:"1px solid $borderColor",[`borderRadius-${Ge}`]:"$borderRadius",[`boxShadow-${Ge}`]:"none",[`backgroundColor-${Ge}`]:"$color-surface-raised",[`gap-${Ge}`]:"var(--stack-gap-default)",[`gap-title-${Ge}`]:"$gap-normal",[`gap-avatar-${Ge}`]:"$gap-normal",[`verticalAlignment-title-${Ge}`]:"center"},themeVarDescriptions:{[`gap-${Ge}`]:"The gap between the component's children.",[`gap-title-${Ge}`]:"The gap between the title and the subtitle",[`gap-avatar-${Ge}`]:"The gap between the avatar and the title panel",[`horizontalAlignment-title-${Ge}`]:"The horizontal alignment of panel with the title and subtitle",[`verticalAlignment-title-${Ge}`]:"The vertical alignment of the title and subtitle to the avatar"}},lu={throttleWaitInMs:0},Tl="ChangeListener",nu={description:`\`${Tl}\` is a functional component (it renders no UI) to trigger an action when a particular value (component property, state, etc.) changes.`,props:{listenTo:{description:"Value to the changes of which this component listens.",valueType:"any"},throttleWaitInMs:{description:"This variable sets a throttling time (in milliseconds) to apply when executing the `didChange` event handler. All changes within that throttling time will only fire the `didChange` event once.",valueType:"number",defaultValue:lu.throttleWaitInMs}},events:{didChange:at(Tl)}},tr={themeVars:`'{"Input:borderRadius-Checkbox-default": "var(--xmlui-borderRadius-Checkbox-default)", "Input:borderColor-Checkbox-default": "var(--xmlui-borderColor-Checkbox-default)", "Input:backgroundColor-Checkbox-default": "var(--xmlui-backgroundColor-Checkbox-default)", "Input:outlineWidth-Checkbox-default--focus": "var(--xmlui-outlineWidth-Checkbox-default--focus)", "Input:outlineColor-Checkbox-default--focus": "var(--xmlui-outlineColor-Checkbox-default--focus)", "Input:outlineStyle-Checkbox-default--focus": "var(--xmlui-outlineStyle-Checkbox-default--focus)", "Input:outlineOffset-Checkbox-default--focus": "var(--xmlui-outlineOffset-Checkbox-default--focus)", "Input:borderColor-Checkbox-default--hover": "var(--xmlui-borderColor-Checkbox-default--hover)", "Input:backgroundColor-Checkbox--disabled": "var(--xmlui-backgroundColor-Checkbox--disabled)", "Input:borderColor-Checkbox--disabled": "var(--xmlui-borderColor-Checkbox--disabled)", "Input:borderRadius-Checkbox-error": "var(--xmlui-borderRadius-Checkbox-error)", "Input:borderColor-Checkbox-error": "var(--xmlui-borderColor-Checkbox-error)", "Input:backgroundColor-Checkbox-error": "var(--xmlui-backgroundColor-Checkbox-error)", "Input:outlineWidth-Checkbox-error--focus": "var(--xmlui-outlineWidth-Checkbox-error--focus)", "Input:outlineColor-Checkbox-error--focus": "var(--xmlui-outlineColor-Checkbox-error--focus)", "Input:outlineStyle-Checkbox-error--focus": "var(--xmlui-outlineStyle-Checkbox-error--focus)", "Input:outlineOffset-Checkbox-error--focus": "var(--xmlui-outlineOffset-Checkbox-error--focus)", "Input:borderRadius-Checkbox-warning": "var(--xmlui-borderRadius-Checkbox-warning)", "Input:borderColor-Checkbox-warning": "var(--xmlui-borderColor-Checkbox-warning)", "Input:backgroundColor-Checkbox-warning": "var(--xmlui-backgroundColor-Checkbox-warning)", "Input:outlineWidth-Checkbox-warning--focus": "var(--xmlui-outlineWidth-Checkbox-warning--focus)", "Input:outlineColor-Checkbox-warning--focus": "var(--xmlui-outlineColor-Checkbox-warning--focus)", "Input:outlineStyle-Checkbox-warning--focus": "var(--xmlui-outlineStyle-Checkbox-warning--focus)", "Input:outlineOffset-Checkbox-warning--focus": "var(--xmlui-outlineOffset-Checkbox-warning--focus)", "Input:borderRadius-Checkbox-success": "var(--xmlui-borderRadius-Checkbox-success)", "Input:borderColor-Checkbox-success": "var(--xmlui-borderColor-Checkbox-success)", "Input:backgroundColor-Checkbox-success": "var(--xmlui-backgroundColor-Checkbox-success)", "Input:outlineWidth-Checkbox-success--focus": "var(--xmlui-outlineWidth-Checkbox-success--focus)", "Input:outlineColor-Checkbox-success--focus": "var(--xmlui-outlineColor-Checkbox-success--focus)", "Input:outlineStyle-Checkbox-success--focus": "var(--xmlui-outlineStyle-Checkbox-success--focus)", "Input:outlineOffset-Checkbox-success--focus": "var(--xmlui-outlineOffset-Checkbox-success--focus)", "backgroundColor-indicator-Checkbox": "var(--xmlui-backgroundColor-indicator-Checkbox)", "Input:borderColor-checked-Checkbox": "var(--xmlui-borderColor-checked-Checkbox)", "Input:backgroundColor-checked-Checkbox": "var(--xmlui-backgroundColor-checked-Checkbox)", "Input:borderColor-checked-Checkbox-error": "var(--xmlui-borderColor-checked-Checkbox-error)", "Input:backgroundColor-checked-Checkbox-error": "var(--xmlui-backgroundColor-checked-Checkbox-error)", "Input:borderColor-checked-Checkbox-warning": "var(--xmlui-borderColor-checked-Checkbox-warning)", "Input:backgroundColor-checked-Checkbox-warning": "var(--xmlui-backgroundColor-checked-Checkbox-warning)", "Input:borderColor-checked-Checkbox-success": "var(--xmlui-borderColor-checked-Checkbox-success)", "Input:backgroundColor-checked-Checkbox-success": "var(--xmlui-backgroundColor-checked-Checkbox-success)", "Input:borderColor-Switch": "var(--xmlui-borderColor-Switch)", "Input:backgroundColor-Switch": "var(--xmlui-backgroundColor-Switch)", "Input:borderColor-Switch-default--hover": "var(--xmlui-borderColor-Switch-default--hover)", "Input:backgroundColor-Switch--disabled": "var(--xmlui-backgroundColor-Switch--disabled)", "Input:borderColor-Switch--disabled": "var(--xmlui-borderColor-Switch--disabled)", "Input:borderColor-Switch-error": "var(--xmlui-borderColor-Switch-error)", "Input:borderColor-Switch-warning": "var(--xmlui-borderColor-Switch-warning)", "Input:borderColor-Switch-success": "var(--xmlui-borderColor-Switch-success)", "backgroundColor-indicator-Switch": "var(--xmlui-backgroundColor-indicator-Switch)", "Input:borderColor-checked-Switch": "var(--xmlui-borderColor-checked-Switch)", "Input:backgroundColor-checked-Switch": "var(--xmlui-backgroundColor-checked-Switch)", "Input:borderColor-checked-Switch-error": "var(--xmlui-borderColor-checked-Switch-error)", "Input:backgroundColor-checked-Switch-error": "var(--xmlui-backgroundColor-checked-Switch-error)", "Input:borderColor-checked-Switch-warning": "var(--xmlui-borderColor-checked-Switch-warning)", "Input:backgroundColor-checked-Switch-warning": "var(--xmlui-backgroundColor-checked-Switch-warning)", "Input:borderColor-checked-Switch-success": "var(--xmlui-borderColor-checked-Switch-success)", "Input:backgroundColor-checked-Switch-success": "var(--xmlui-backgroundColor-checked-Switch-success)", "Input:outlineWidth-Switch--focus": "var(--xmlui-outlineWidth-Switch--focus)", "Input:outlineColor-Switch--focus": "var(--xmlui-outlineColor-Switch--focus)", "Input:outlineStyle-Switch--focus": "var(--xmlui-outlineStyle-Switch--focus)", "Input:outlineOffset-Switch--focus": "var(--xmlui-outlineOffset-Switch--focus)", "backgroundColor-indicator-checked-Switch": "var(--xmlui-backgroundColor-indicator-checked-Switch)"}'`,resetAppearance:"_resetAppearance_1j250_13",label:"_label_1j250_21",inputContainer:"_inputContainer_1j250_25",checkbox:"_checkbox_1j250_33",error:"_error_1j250_62",warning:"_warning_1j250_73",valid:"_valid_1j250_84",switch:"_switch_1j250_144"},qt={initialValue:!1,value:!1,enabled:!0,validationStatus:"none",indeterminate:!1},Xa=s.forwardRef(function({id:r,initialValue:t=qt.initialValue,value:o=qt.value,enabled:a=qt.enabled,style:l,readOnly:i,validationStatus:n=qt.validationStatus,updateState:c=ae,onDidChange:b=ae,onFocus:h=ae,onBlur:p=ae,variant:C="checkbox",indeterminate:x=qt.indeterminate,className:g,label:T,labelPosition:y="end",labelWidth:$,labelBreak:w,required:O,registerComponentApi:V,inputRenderer:P},Z){const E=s.useId(),j=r||E,U=s.useRef(null);s.useEffect(()=>{c({value:t},{initial:!0})},[t,c]);const M=s.useCallback(N=>{var D;((D=U.current)==null?void 0:D.checked)!==N&&(c({value:N}),b(N))},[b,c]),f=s.useCallback(N=>{i||(c({value:N.target.checked}),b(N.target.checked))},[b,i,c]),v=s.useCallback(()=>{h==null||h()},[h]),H=s.useCallback(()=>{p==null||p()},[p]);s.useEffect(()=>{typeof x=="boolean"&&U.current&&(U.current.indeterminate=x)},[x]);const S=s.useCallback(()=>{var N;(N=U.current)==null||N.focus()},[]),L=Ce(N=>{M(N)});s.useEffect(()=>{V==null||V({focus:S,setValue:L})},[S,V,L]);const F=s.useMemo(()=>d.jsx("input",{id:j,ref:U,type:"checkbox",role:C,checked:o,disabled:!a,required:O,readOnly:i,"aria-readonly":i,"aria-checked":o,onChange:f,onFocus:v,onBlur:H,className:re(tr.resetAppearance,g,{[tr.checkbox]:C==="checkbox",[tr.switch]:C==="switch",[tr.error]:n==="error",[tr.warning]:n==="warning",[tr.valid]:n==="valid"})}),[j,g,a,H,v,f,i,O,n,o,C]);return d.jsx(lt,{ref:Z,id:j,label:T,style:l,labelPosition:y,labelWidth:$,labelBreak:w,required:O,enabled:a,isInputTemplateUsed:!!P,shrinkToLabel:!0,labelStyle:{pointerEvents:i?"none":void 0},children:P?d.jsxs("label",{className:tr.label,children:[d.jsx("div",{className:tr.inputContainer,children:F}),P({$checked:o})]}):F})}),Ee="Checkbox",su={status:"stable",description:`The \`${Ee}\` component allows users to make binary choices, typically between checked or unchecked. It consists of a small box that can be toggled on or off by clicking on it.`,props:{indeterminate:qi(qt.indeterminate),label:qe(),labelPosition:gt("end"),labelWidth:Lt(Ee),labelBreak:_t(Ee),required:Wt(),initialValue:Tt(qt.initialValue),autoFocus:it(),readOnly:Vt(),enabled:Ze(),validationStatus:At(qt.validationStatus),description:Xe(`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${Ee} besides its label.`),inputTemplate:{description:"This property is used to define a custom checkbox input template"}},childrenAsTemplate:"inputTemplate",events:{gotFocus:xt(Ee),lostFocus:ft(Ee),didChange:at(Ee)},apis:{value:ji(),setValue:Qt()},themeVars:Y(tr.themeVars),defaultThemeVars:{[`borderColor-checked-${Ee}-error`]:`$borderColor-${Ee}-error`,[`backgroundColor-checked-${Ee}-error`]:`$borderColor-${Ee}-error`,[`borderColor-checked-${Ee}-warning`]:`$borderColor-${Ee}-warning`,[`backgroundColor-checked-${Ee}-warning`]:`$borderColor-${Ee}-warning`,[`borderColor-checked-${Ee}-success`]:`$borderColor-${Ee}-success`,[`backgroundColor-checked-${Ee}-success`]:`$borderColor-${Ee}-success`,[`backgroundColor-indicator-${Ee}`]:"$backgroundColor-primary",[`borderColor-checked-${Ee}`]:"$color-primary-500",[`backgroundColor-checked-${Ee}`]:"$color-primary-500",[`backgroundColor-${Ee}--disabled`]:"$color-surface-200"}},du={themeVars:`'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "size-ContentSeparator": "var(--xmlui-size-ContentSeparator)"}'`},uu={orientation:"horizontal"},Ya="ContentSeparator",cu={description:`A \`${Ya}\` is a component that divides or separates content visually within a layout. It serves as a visual cue to distinguish between different sections or groups of content, helping to improve readability and organization.`,props:{size:{description:"This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical).",valueType:"any"},orientation:{description:"Sets the main axis of the component",availableValues:ea,defaultValue:uu.orientation,valueType:"string"}},themeVars:Y(du.themeVars),defaultThemeVars:{[`backgroundColor-${Ya}`]:"$borderColor",[`size-${Ya}`]:"1px",light:{},dark:{}}},ct={themeVars:`'{"Input:backgroundColor-item-DatePicker--active": "var(--xmlui-backgroundColor-item-DatePicker--active)", "Input:backgroundColor-item-DatePicker--hover": "var(--xmlui-backgroundColor-item-DatePicker--hover)", "Input:textColor-value-DatePicker": "var(--xmlui-textColor-value-DatePicker)", "Input:minHeight-DatePicker": "var(--xmlui-minHeight-DatePicker)", "Input:borderColor-selectedItem-DatePicker": "var(--xmlui-borderColor-selectedItem-DatePicker)", "Input:fontSize-DatePicker": "var(--xmlui-fontSize-DatePicker)", "Input:borderRadius-DatePicker-default": "var(--xmlui-borderRadius-DatePicker-default)", "Input:borderColor-DatePicker-default": "var(--xmlui-borderColor-DatePicker-default)", "Input:borderWidth-DatePicker-default": "var(--xmlui-borderWidth-DatePicker-default)", "Input:borderStyle-DatePicker-default": "var(--xmlui-borderStyle-DatePicker-default)", "Input:backgroundColor-DatePicker-default": "var(--xmlui-backgroundColor-DatePicker-default)", "Input:boxShadow-DatePicker-default": "var(--xmlui-boxShadow-DatePicker-default)", "Input:textColor-DatePicker-default": "var(--xmlui-textColor-DatePicker-default)", "Input:padding-DatePicker-default": "var(--xmlui-padding-DatePicker-default)", "Input:borderColor-DatePicker-default--hover": "var(--xmlui-borderColor-DatePicker-default--hover)", "Input:backgroundColor-DatePicker-default--hover": "var(--xmlui-backgroundColor-DatePicker-default--hover)", "Input:boxShadow-DatePicker-default--hover": "var(--xmlui-boxShadow-DatePicker-default--hover)", "Input:textColor-DatePicker-default--hover": "var(--xmlui-textColor-DatePicker-default--hover)", "Input:outlineWidth-DatePicker-default--focus": "var(--xmlui-outlineWidth-DatePicker-default--focus)", "Input:outlineColor-DatePicker-default--focus": "var(--xmlui-outlineColor-DatePicker-default--focus)", "Input:outlineStyle-DatePicker-default--focus": "var(--xmlui-outlineStyle-DatePicker-default--focus)", "Input:outlineOffset-DatePicker-default--focus": "var(--xmlui-outlineOffset-DatePicker-default--focus)", "Input:textColor-placeholder-DatePicker-default": "var(--xmlui-textColor-placeholder-DatePicker-default)", "Input:textColor-adornment-DatePicker-default": "var(--xmlui-textColor-adornment-DatePicker-default)", "Input:borderRadius-DatePicker-error": "var(--xmlui-borderRadius-DatePicker-error)", "Input:borderColor-DatePicker-error": "var(--xmlui-borderColor-DatePicker-error)", "Input:borderWidth-DatePicker-error": "var(--xmlui-borderWidth-DatePicker-error)", "Input:borderStyle-DatePicker-error": "var(--xmlui-borderStyle-DatePicker-error)", "Input:backgroundColor-DatePicker-error": "var(--xmlui-backgroundColor-DatePicker-error)", "Input:boxShadow-DatePicker-error": "var(--xmlui-boxShadow-DatePicker-error)", "Input:textColor-DatePicker-error": "var(--xmlui-textColor-DatePicker-error)", "Input:padding-DatePicker-error": "var(--xmlui-padding-DatePicker-error)", "Input:borderColor-DatePicker-error--hover": "var(--xmlui-borderColor-DatePicker-error--hover)", "Input:backgroundColor-DatePicker-error--hover": "var(--xmlui-backgroundColor-DatePicker-error--hover)", "Input:boxShadow-DatePicker-error--hover": "var(--xmlui-boxShadow-DatePicker-error--hover)", "Input:textColor-DatePicker-error--hover": "var(--xmlui-textColor-DatePicker-error--hover)", "Input:outlineWidth-DatePicker-error--focus": "var(--xmlui-outlineWidth-DatePicker-error--focus)", "Input:outlineColor-DatePicker-error--focus": "var(--xmlui-outlineColor-DatePicker-error--focus)", "Input:outlineStyle-DatePicker-error--focus": "var(--xmlui-outlineStyle-DatePicker-error--focus)", "Input:outlineOffset-DatePicker-error--focus": "var(--xmlui-outlineOffset-DatePicker-error--focus)", "Input:textColor-placeholder-DatePicker-error": "var(--xmlui-textColor-placeholder-DatePicker-error)", "Input:textColor-adornment-DatePicker-error": "var(--xmlui-textColor-adornment-DatePicker-error)", "Input:borderRadius-DatePicker-warning": "var(--xmlui-borderRadius-DatePicker-warning)", "Input:borderColor-DatePicker-warning": "var(--xmlui-borderColor-DatePicker-warning)", "Input:borderWidth-DatePicker-warning": "var(--xmlui-borderWidth-DatePicker-warning)", "Input:borderStyle-DatePicker-warning": "var(--xmlui-borderStyle-DatePicker-warning)", "Input:backgroundColor-DatePicker-warning": "var(--xmlui-backgroundColor-DatePicker-warning)", "Input:boxShadow-DatePicker-warning": "var(--xmlui-boxShadow-DatePicker-warning)", "Input:textColor-DatePicker-warning": "var(--xmlui-textColor-DatePicker-warning)", "Input:padding-DatePicker-warning": "var(--xmlui-padding-DatePicker-warning)", "Input:borderColor-DatePicker-warning--hover": "var(--xmlui-borderColor-DatePicker-warning--hover)", "Input:backgroundColor-DatePicker-warning--hover": "var(--xmlui-backgroundColor-DatePicker-warning--hover)", "Input:boxShadow-DatePicker-warning--hover": "var(--xmlui-boxShadow-DatePicker-warning--hover)", "Input:textColor-DatePicker-warning--hover": "var(--xmlui-textColor-DatePicker-warning--hover)", "Input:outlineWidth-DatePicker-warning--focus": "var(--xmlui-outlineWidth-DatePicker-warning--focus)", "Input:outlineColor-DatePicker-warning--focus": "var(--xmlui-outlineColor-DatePicker-warning--focus)", "Input:outlineStyle-DatePicker-warning--focus": "var(--xmlui-outlineStyle-DatePicker-warning--focus)", "Input:outlineOffset-DatePicker-warning--focus": "var(--xmlui-outlineOffset-DatePicker-warning--focus)", "Input:textColor-placeholder-DatePicker-warning": "var(--xmlui-textColor-placeholder-DatePicker-warning)", "Input:textColor-adornment-DatePicker-warning": "var(--xmlui-textColor-adornment-DatePicker-warning)", "Input:borderRadius-DatePicker-success": "var(--xmlui-borderRadius-DatePicker-success)", "Input:borderColor-DatePicker-success": "var(--xmlui-borderColor-DatePicker-success)", "Input:borderWidth-DatePicker-success": "var(--xmlui-borderWidth-DatePicker-success)", "Input:borderStyle-DatePicker-success": "var(--xmlui-borderStyle-DatePicker-success)", "Input:backgroundColor-DatePicker-success": "var(--xmlui-backgroundColor-DatePicker-success)", "Input:boxShadow-DatePicker-success": "var(--xmlui-boxShadow-DatePicker-success)", "Input:textColor-DatePicker-success": "var(--xmlui-textColor-DatePicker-success)", "Input:padding-DatePicker-success": "var(--xmlui-padding-DatePicker-success)", "Input:borderColor-DatePicker-success--hover": "var(--xmlui-borderColor-DatePicker-success--hover)", "Input:backgroundColor-DatePicker-success--hover": "var(--xmlui-backgroundColor-DatePicker-success--hover)", "Input:boxShadow-DatePicker-success--hover": "var(--xmlui-boxShadow-DatePicker-success--hover)", "Input:textColor-DatePicker-success--hover": "var(--xmlui-textColor-DatePicker-success--hover)", "Input:outlineWidth-DatePicker-success--focus": "var(--xmlui-outlineWidth-DatePicker-success--focus)", "Input:outlineColor-DatePicker-success--focus": "var(--xmlui-outlineColor-DatePicker-success--focus)", "Input:outlineStyle-DatePicker-success--focus": "var(--xmlui-outlineStyle-DatePicker-success--focus)", "Input:outlineOffset-DatePicker-success--focus": "var(--xmlui-outlineOffset-DatePicker-success--focus)", "Input:textColor-placeholder-DatePicker-success": "var(--xmlui-textColor-placeholder-DatePicker-success)", "Input:textColor-adornment-DatePicker-success": "var(--xmlui-textColor-adornment-DatePicker-success)", "Input:backgroundColor-DatePicker--disabled": "var(--xmlui-backgroundColor-DatePicker--disabled)", "Input:textColor-DatePicker--disabled": "var(--xmlui-textColor-DatePicker--disabled)", "Input:borderColor-DatePicker--disabled": "var(--xmlui-borderColor-DatePicker--disabled)", "Input:boxShadow-menu-DatePicker": "var(--xmlui-boxShadow-menu-DatePicker)", "Input:backgroundColor-menu-DatePicker": "var(--xmlui-backgroundColor-menu-DatePicker)", "Input:borderRadius-menu-DatePicker": "var(--xmlui-borderRadius-menu-DatePicker)"}'`,datePicker:"_datePicker_f1yys_13",placeholder:"_placeholder_f1yys_47",adornment:"_adornment_f1yys_50",error:"_error_f1yys_53",warning:"_warning_f1yys_81",valid:"_valid_f1yys_109",disabled:"_disabled_f1yys_137",indicator:"_indicator_f1yys_143",datePickerInput:"_datePickerInput_f1yys_143",inlinePickerMenu:"_inlinePickerMenu_f1yys_147",datePickerMenu:"_datePickerMenu_f1yys_265",root:"_root_f1yys_277",day:"_day_f1yys_331",day_button:"_day_button_f1yys_337",caption_label:"_caption_label_f1yys_360",dropdown:"_dropdown_f1yys_369",button_next:"_button_next_f1yys_373",button_previous:"_button_previous_f1yys_374",chevron:"_chevron_f1yys_405",nav:"_nav_f1yys_410",dropdowns:"_dropdowns_f1yys_415",dropdown_root:"_dropdown_root_f1yys_439",month_caption:"_month_caption_f1yys_453",month:"_month_f1yys_453",months:"_months_f1yys_491",month_grid:"_month_grid_f1yys_499",weekday:"_weekday_f1yys_512",week_number:"_week_number_f1yys_522",today:"_today_f1yys_534",outside:"_outside_f1yys_534",selected:"_selected_f1yys_538",hidden:"_hidden_f1yys_555",range_start:"_range_start_f1yys_560",range_middle:"_range_middle_f1yys_569",range_end:"_range_end_f1yys_580",focusable:"_focusable_f1yys_594",datePickerValue:"_datePickerValue_f1yys_598",weeks_before_enter:"_weeks_before_enter_f1yys_635","rdp-slide_in_left":"_rdp-slide_in_left_f1yys_1",weeks_before_exit:"_weeks_before_exit_f1yys_639","rdp-slide_out_left":"_rdp-slide_out_left_f1yys_1",weeks_after_enter:"_weeks_after_enter_f1yys_643","rdp-slide_in_right":"_rdp-slide_in_right_f1yys_1",weeks_after_exit:"_weeks_after_exit_f1yys_647","rdp-slide_out_right":"_rdp-slide_out_right_f1yys_1",caption_after_enter:"_caption_after_enter_f1yys_683","rdp-fade_in":"_rdp-fade_in_f1yys_1",caption_after_exit:"_caption_after_exit_f1yys_687","rdp-fade_out":"_rdp-fade_out_f1yys_1",caption_before_enter:"_caption_before_enter_f1yys_691",caption_before_exit:"_caption_before_exit_f1yys_695"},mu=["single","range"];var Cr=(e=>(e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e))(Cr||{});const na=["MM/dd/yyyy","MM-dd-yyyy","yyyy/MM/dd","yyyy-MM-dd","dd/MM/yyyy","dd-MM-yyyy","yyyyMMdd","MMddyyyy"],nt={mode:"single",validationStatus:"none",enabled:!0,inline:!1,dateFormat:"MM/dd/yyyy",showWeekNumber:!1,weekStartsOn:0,disabledDates:[]},pu=s.forwardRef(function({id:r,initialValue:t,value:o,mode:a=nt.mode,enabled:l=nt.enabled,placeholder:i,updateState:n=ae,validationStatus:c=nt.validationStatus,onDidChange:b=ae,onFocus:h=ae,onBlur:p=ae,dateFormat:C=nt.dateFormat,showWeekNumber:x=nt.showWeekNumber,weekStartsOn:g=nt.weekStartsOn,minValue:T,maxValue:y,disabledDates:$=nt.disabledDates,style:w,registerComponentApi:O,inline:V=nt.inline,startText:P,startIcon:Z,endText:E,endIcon:j,label:U,labelPosition:M,labelWidth:f,labelBreak:v,readOnly:H=!1,required:S,autoFocus:L=!1},F){const N=g>=0&&g<=6?g:0,[D,X]=s.useState(!1),[q,I]=s.useState(!1),[B,W]=s.useState(null),A=s.useId(),z=r||A,R=s.useMemo(()=>{if(a==="single"&&typeof o=="string")return Za(o)||sa(o);if(a==="range"&&typeof o=="object")return{from:Za(o==null?void 0:o.from)||sa(o==null?void 0:o.from),to:Za(o==null?void 0:o.to)||sa(o==null?void 0:o.to)}},[o,a]);s.useEffect(()=>{if(!na.includes(C))throw new Error(`Invalid dateFormat: ${C}. Supported formats are: ${na.join(", ")}`)},[C]);const ie=s.useMemo(()=>T?ut.parse(T,C,new Date):void 0,[T,C]),ce=s.useMemo(()=>y?ut.parse(y,C,new Date):void 0,[y,C]),Te=s.useMemo(()=>$==null?void 0:$.map(J=>ut.parse(J,C,new Date)),[$,C]),[oe,se]=s.useState(!1),{root:_e}=Nt(),Ae=()=>{I(!0)},Ne=()=>{I(!1)},ee=s.useCallback(()=>{B==null||B.focus()},[B]),He=Ce(J=>{const ge=sa(J);be(ge)});s.useEffect(()=>{O==null||O({focus:ee,setValue:He})},[ee,O,He]),s.useEffect(()=>{!D&&!q&&(p==null||p()),(D||q)&&(h==null||h())},[D,q,h,p]),s.useEffect(()=>{n({value:t},{initial:!0})},[t,n]);const be=s.useCallback(J=>{if(!H){if(!J)n({value:void 0}),b("");else if(a==="single"){const ge=J,de=ut.format(ge,C);n({value:de}),b(de)}else{const ge=J,de={from:ge.from?ut.format(ge.from,C):"",to:ge.to?ut.format(ge.to,C):""};n({value:de}),b(de)}a==="single"&&se(!1)}},[b,n,a,C]);return d.jsx(lt,{id:z,labelPosition:M,label:U,labelWidth:f,labelBreak:v,required:S,enabled:l,onFocus:h,onBlur:p,style:w,ref:F,children:V?d.jsx("div",{className:ct.inlinePickerMenu,ref:J=>W(J),children:d.jsx(Li.DayPicker,{id:z,required:void 0,captionLayout:"dropdown",fixedWeeks:!0,startMonth:ie,endMonth:ce,disabled:Te,weekStartsOn:N,showWeekNumber:x,showOutsideDays:!0,classNames:ct,mode:a==="single"?"single":"range",selected:R,onSelect:be,autoFocus:L,numberOfMonths:a==="range"?2:1})}):d.jsxs(Dt.Popover,{open:oe,onOpenChange:se,modal:!1,children:[d.jsxs(Dt.PopoverTrigger,{ref:W,id:z,"aria-haspopup":!0,disabled:!l,style:w,"aria-expanded":oe,className:re(ct.datePicker,{[ct.disabled]:!l,[ct.error]:c==="error",[ct.warning]:c==="warning",[ct.valid]:c==="valid"}),autoFocus:L,onFocus:h,onBlur:p,children:[d.jsx(fr,{text:P,iconName:Z,className:ct.adornment}),d.jsx("div",{className:ct.datePickerValue,children:a==="single"&&R?d.jsx(d.Fragment,{children:ut.format(R,C)}):a==="range"&&typeof R=="object"&&R.from?R.to?d.jsxs(d.Fragment,{children:[ut.format(R.from,C)," - ",ut.format(R.to,C)]}):d.jsx(d.Fragment,{children:ut.format(R.from,C)}):i?d.jsx("span",{className:ct.placeholder,placeholder:i,children:i}):d.jsx("span",{children:" "})}),d.jsx(fr,{text:E,iconName:j,className:ct.adornment})]}),d.jsx(Dt.PopoverPortal,{container:_e,children:d.jsx(Dt.PopoverContent,{role:"menu",align:"start",sideOffset:5,className:ct.datePickerMenu,onFocus:Ae,onBlur:Ne,onInteractOutside:Ne,children:d.jsx(Li.DayPicker,{required:void 0,animate:!0,fixedWeeks:!0,autoFocus:L,classNames:ct,captionLayout:"dropdown",startMonth:ie,endMonth:ce,disabled:Te,weekStartsOn:N,showWeekNumber:x,showOutsideDays:!0,mode:a==="single"?"single":"range",selected:R,onSelect:be,numberOfMonths:a==="range"?2:1})})})]})})}),hu=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/,Za=e=>{if(e&&hu.test(e)){const r=ut.parseISO(e);if(ut.isValid(r))return r}},sa=e=>{if(e)for(const r of na){const t=ut.parse(e,r,new Date);if(ut.isValid(t))return t}},Ht="DatePicker",bu={status:"experimental",description:"A datepicker component enables the selection of a date or a range of dates in a specified format from an interactive display.",props:{placeholder:Er(),initialValue:Tt(),autoFocus:it(),readOnly:Vt(),enabled:Ze(nt.enabled),validationStatus:At(nt.validationStatus),label:qe(),labelPosition:gt("top"),labelWidth:Lt(Ht),labelBreak:_t(Ht),mode:{description:"The mode of the datepicker (single or range)",valueType:"string",availableValues:mu,defaultValue:nt.mode},dateFormat:{description:"The format of the date displayed in the input field",valueType:"string",defaultValue:nt.dateFormat,availableValues:na},showWeekNumber:{description:"Whether to show the week number in the calendar",valueType:"boolean",defaultValue:nt.showWeekNumber},weekStartsOn:{description:"The first day of the week. 0 is Sunday, 1 is Monday, etc.",valueType:"number",defaultValue:nt.weekStartsOn,availableValues:[{value:Cr.Sunday,description:"Sunday"},{value:Cr.Monday,description:"Monday"},{value:Cr.Tuesday,description:"Tuesday"},{value:Cr.Wednesday,description:"Wednesday"},{value:Cr.Thursday,description:"Thursday"},{value:Cr.Friday,description:"Friday"},{value:Cr.Saturday,description:"Saturday"}]},minValue:{description:"The start date of the range of selectable dates",valueType:"string"},maxValue:{description:"The end date of the range of selectable dates",valueType:"string"},disabledDates:{description:"An array of dates that are disabled",valueType:"any"},inline:{description:"Whether to display the datepicker inline",valueType:"boolean",defaultValue:nt.inline},startText:_a(),startIcon:Va(),endText:Aa(),endIcon:Wa()},events:{didChange:at(Ht),gotFocus:xt(Ht),lostFocus:ft(Ht)},apis:{focus:Jt(Ht),value:m("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Qt()},themeVars:Y(ct.themeVars),defaultThemeVars:{[`boxShadow-menu-${Ht}`]:"$boxShadow-md",[`borderRadius-menu-${Ht}`]:"$borderRadius",[`textColor-value-${Ht}`]:"$textColor-primary",[`borderColor-selectedItem-${Ht}`]:"$color-primary-200",[`backgroundColor-menu-${Ht}`]:"$color-surface-50",[`backgroundColor-item-${Ht}--hover`]:"$color-surface-100",[`backgroundColor-item-${Ht}--active`]:"$color-surface-200"}},yr={themeVars:`'{"backgroundColor-DropdownMenu": "var(--xmlui-backgroundColor-DropdownMenu)", "borderRadius-DropdownMenu": "var(--xmlui-borderRadius-DropdownMenu)", "boxShadow-DropdownMenu": "var(--xmlui-boxShadow-DropdownMenu)", "borderColor-DropdownMenu-content": "var(--xmlui-borderColor-DropdownMenu-content)", "borderWidth-DropdownMenu-content": "var(--xmlui-borderWidth-DropdownMenu-content)", "borderStyle-DropdownMenu-content": "var(--xmlui-borderStyle-DropdownMenu-content)", "minWidth-DropdownMenu": "var(--xmlui-minWidth-DropdownMenu)", "backgroundColor-MenuItem": "var(--xmlui-backgroundColor-MenuItem)", "color-MenuItem": "var(--xmlui-color-MenuItem)", "fontFamily-MenuItem": "var(--xmlui-fontFamily-MenuItem)", "gap-MenuItem": "var(--xmlui-gap-MenuItem)", "fontSize-MenuItem": "var(--xmlui-fontSize-MenuItem)", "paddingVertical-MenuItem": "var(--xmlui-paddingVertical-MenuItem)", "paddingHorizontal-MenuItem": "var(--xmlui-paddingHorizontal-MenuItem)", "backgroundColor-MenuItem--hover": "var(--xmlui-backgroundColor-MenuItem--hover)", "backgroundColor-MenuItem--active": "var(--xmlui-backgroundColor-MenuItem--active)", "backgroundColor-MenuItem--active--hover": "var(--xmlui-backgroundColor-MenuItem--active--hover)", "color-MenuItem--hover": "var(--xmlui-color-MenuItem--hover)", "color-MenuItem--active": "var(--xmlui-color-MenuItem--active)", "color-MenuItem--active--hover": "var(--xmlui-color-MenuItem--active--hover)", "color-MenuItem--disabled": "var(--xmlui-color-MenuItem--disabled)", "marginTop-MenuSeparator": "var(--xmlui-marginTop-MenuSeparator)", "marginBottom-MenuSeparator": "var(--xmlui-marginBottom-MenuSeparator)", "width-MenuSeparator": "var(--xmlui-width-MenuSeparator)", "height-MenuSeparator": "var(--xmlui-height-MenuSeparator)", "color-MenuSeparator": "var(--xmlui-color-MenuSeparator)"}'`,DropdownMenuContent:"_DropdownMenuContent_1ty8e_13",DropdownMenuItem:"_DropdownMenuItem_1ty8e_26",active:"_active_1ty8e_50",disabled:"_disabled_1ty8e_60",wrapper:"_wrapper_1ty8e_71"},rr={alignment:"start",triggerButtonVariant:"ghost",triggerButtonThemeColor:"primary",triggerButtonIcon:"triggerButton:DropdownMenu",triggerButtonIconPosition:"end"};s.forwardRef(function({triggerTemplate:r,children:t,label:o,registerComponentApi:a,style:l,onWillOpen:i,alignment:n=rr.alignment,disabled:c=!1,triggerButtonVariant:b=rr.triggerButtonVariant,triggerButtonThemeColor:h=rr.triggerButtonThemeColor,triggerButtonIcon:p=rr.triggerButtonIcon,triggerButtonIconPosition:C=rr.triggerButtonIconPosition},x){const{root:g}=Nt(),[T,y]=s.useState(!1);return s.useEffect(()=>{a==null||a({close:()=>y(!1)})},[a]),d.jsxs(Ao.Root,{open:T,onOpenChange:async $=>{$&&await(i==null?void 0:i())===!1||y($)},children:[d.jsx(Ao.Trigger,{asChild:!0,disabled:c,ref:x,children:r||d.jsx(ot,{icon:d.jsx(me,{name:p,fallback:"chevrondown"}),iconPosition:C,type:"button",variant:b,themeColor:h,disabled:c,children:o})}),d.jsx(Ao.Portal,{container:g,children:d.jsx(Ao.Content,{align:n,style:l,className:yr.DropdownMenuContent,children:t})})]})});const da={iconPosition:"start",active:!1};s.forwardRef(function({children:r,onClick:t=ae,label:o,style:a,icon:l,iconPosition:i=da.iconPosition,active:n=da.active,enabled:c=!0},b){const h=i==="start";return d.jsxs(Ao.Item,{style:a,className:re(yr.DropdownMenuItem,{[yr.active]:n,[yr.disabled]:!c}),onClick:p=>{if(!c){p.preventDefault(),p.stopPropagation();return}p.stopPropagation(),c&&t(p)},ref:b,children:[h&&l,d.jsx("div",{className:yr.wrapper,children:o??r}),!h&&l]})});const Gt="DropdownMenu",vu={description:"This component represents a dropdown menu with a trigger. When the user clicks the trigger, the dropdown menu displays its items.",props:{label:qe(),triggerTemplate:Xi(Gt),alignment:{description:"This property allows you to determine the alignment of the dropdown panel with the displayed menu items.",valueType:"string",availableValues:Mi,defaultValue:rr.alignment},enabled:Ze(),triggerButtonVariant:{description:"This property defines the theme variant of the `Button` as the dropdown menu's trigger. It has no effect when a custom trigger is defined with `triggerTemplate`.",valueType:"string",availableValues:Ei,defaultValue:rr.triggerButtonVariant},triggerButtonThemeColor:{description:"This property defines the theme color of the `Button` as the dropdown menu's trigger. It has no effect when a custom trigger is defined with `triggerTemplate`.",valueType:"string",availableValues:zi,defaultValue:rr.triggerButtonThemeColor},triggerButtonIcon:{description:`This property defines the icon to display on the trigger button. You can change the default icon for all ${Gt} instances with the "icon.triggerButton:DropdownMenu" declaration in the app configuration file.`,defaultValue:rr.triggerButtonIcon,valueType:"string"},triggerButtonIconPosition:{description:"This property defines the position of the icon on the trigger button.",defaultValue:rr.triggerButtonIconPosition,valueType:"string",availableValues:La}},events:{willOpen:m(`This event fires when the \`${Gt}\` component is opened.`)},apis:{close:m("This method command closes the dropdown.")},themeVars:Y(yr.themeVars),defaultThemeVars:{[`backgroundColor-${Gt}`]:"$color-surface-raised",[`minWidth-${Gt}`]:"160px",[`boxShadow-${Gt}`]:"$boxShadow-xl",[`borderStyle-${Gt}-content`]:"solid",[`borderRadius-${Gt}`]:"$borderRadius"}},St="MenuItem",xu={description:"This property represents a leaf item in a menu hierarchy. Clicking the item triggers an action.",docFolder:Gt,props:{iconPosition:{description:"This property allows you to determine the position of the icon displayed in the menu item.",valueType:"string",availableValues:La,defaultValue:da.iconPosition},icon:{description:'This property names an optional icon to display with the menu item. You can use component-specific icons in the format "iconName:MenuItem".',valueType:"string"},label:qe(),to:{description:"This property defines the URL of the menu item. If this property is defined (and the `click` event does not have an event handler), clicking the menu item navigates to this link.",valueType:"string"},active:{description:"This property indicates if the specified menu item is active.",valueType:"boolean",defaultValue:da.active},enabled:Ze()},events:{click:io(St)},themeVars:Y(yr.themeVars),defaultThemeVars:{[`backgroundColor-${St}`]:"$backgroundColor-dropdown-item",[`color-${St}`]:"$textColor-primary",[`color-${St}--disabled`]:"$textColor--disabled",[`fontFamily-${St}`]:"$fontFamily",[`fontSize-${St}`]:"$fontSize-small",[`paddingVertical-${St}`]:"$space-2",[`paddingHorizontal-${St}`]:"$space-3",[`backgroundColor-${St}--hover`]:"$backgroundColor-dropdown-item--hover",[`color-${St}--hover`]:"inherit",[`gap-${St}`]:"$space-2",[`color-${St}--active`]:"$color-primary",[`backgroundColor-${St}--active`]:"$backgroundColor-dropdown-item--active",light:{},dark:{}}},fu={description:"This component represents a nested menu item within another menu or menu item.",docFolder:Gt,props:{label:qe(),triggerTemplate:Xi("SubMenuItem")}},co="MenuSeparator",gu={description:"This component displays a separator line between menu items.",docFolder:Gt,themeVars:Y(yr.themeVars),defaultThemeVars:{[`marginTop-${co}`]:"$space-1",[`marginBottom-${co}`]:"$space-1",[`width-${co}`]:"100%",[`height-${co}`]:"1px",[`color-${co}`]:"$borderColor-dropdown-item",[`marginHorizontal-${co}`]:"12px"}},Tu={status:"experimental",description:"The `EmojiSelector` component provides users with a graphical interface to browse, search and select emojis to insert into text fields, messages, or other forms of communication.",props:{autoFocus:it()},events:{select:m("This event is fired when the user selects an emoticon from this component.")}},mo={themeVars:'"[]"',container:"_container_1hin1_13",buttonStart:"_buttonStart_1hin1_22",buttonEnd:"_buttonEnd_1hin1_26",textBoxWrapper:"_textBoxWrapper_1hin1_30",button:"_button_1hin1_22"},{useDropzone:Cu}=ks,yu=({id:e,enabled:r=!0,style:t,placeholder:o,buttonPosition:a="end",buttonLabel:l="Browse",buttonIcon:i,buttonIconPosition:n,variant:c,buttonThemeColor:b,buttonSize:h,autoFocus:p,validationStatus:C,updateState:x=ae,onDidChange:g=ae,onFocus:T=ae,onBlur:y=ae,registerComponentApi:$,value:w,initialValue:O,acceptsFileType:V,multiple:P=!1,directory:Z=!1,label:E,labelPosition:j,labelWidth:U,labelBreak:M,required:f})=>{const v=Cl(O)?O:void 0,H=Cl(w)?w:void 0,S=s.useRef(null),L=typeof V=="string"?V:V==null?void 0:V.join(",");s.useEffect(()=>{p&&setTimeout(()=>{var A;(A=S.current)==null||A.focus()},0)},[p]),s.useEffect(()=>{x({value:v},{initial:!0})},[v,x]);const F=s.useCallback(()=>{y==null||y()},[y]),N=s.useCallback(()=>{var A;(A=S.current)==null||A.focus()},[]),D=s.useCallback(A=>{A.length&&(x({value:A}),g(A))},[x,g]),{getRootProps:X,getInputProps:q,open:I}=Cu({disabled:!r,multiple:P||Z,onDrop:D,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,useFsAccessApi:Z===!1}),B=s.useCallback(()=>{T==null||T()},[T]),W=Ce(()=>{I()});return s.useEffect(()=>{$==null||$({focus:N,open:W})},[N,W,$]),d.jsx(lt,{labelPosition:j,label:E,labelWidth:U,labelBreak:M,required:f,enabled:r,onFocus:T,onBlur:y,style:t,children:d.jsxs("div",{className:re(mo.container,{[mo.buttonStart]:a==="start",[mo.buttonEnd]:a==="end"}),children:[d.jsxs("button",{...X({tabIndex:0,onFocus:B,onBlur:F,disabled:!r,className:mo.textBoxWrapper,onClick:I,ref:S,type:"button"}),children:[d.jsx(Ss.Root,{children:d.jsx("input",{...q({webkitdirectory:Z?"true":void 0}),accept:L})}),d.jsx(Ma,{placeholder:o,enabled:r,value:(H==null?void 0:H.map(A=>A.name).join(", "))||"",validationStatus:C,readOnly:!0,tabIndex:-1})]}),d.jsx(ot,{id:e,disabled:!r,type:"button",onClick:I,icon:i,iconPosition:n,variant:c,themeColor:b,size:h,className:mo.button,autoFocus:p,children:l})]})})};function Hu(e){return e instanceof File}function Cl(e){return Array.isArray(e)&&e.every(Hu)}const Hr="FileInput",Su={description:`The \`${Hr}\` is a user interface component that allows users to select files from their device's file system for upload (or processing its content otherwise).`,status:"experimental",props:{placeholder:Er(),initialValue:Tt(),autoFocus:it(),required:Wt(),readOnly:Vt(),enabled:Ze(),validationStatus:At(),label:qe(),labelPosition:gt("top"),labelWidth:Lt(Hr),labelBreak:_t(Hr),buttonVariant:m("The button variant to use",$s),buttonLabel:m("This property is an optional string to set a label for the button part."),buttonIcon:m(`The ID of the icon to display in the button. You can change the default icon for all ${Hr} instances with the "icon.browse:FileInput" declaration in the app configuration file.`),buttonIconPosition:m("This optional string determines the location of the button icon.",Os),acceptsFileType:m("A list of file types the input controls accepts provided as a string array."),multiple:m("This boolean property enables to add not just one (`false`), but multiple files to the field (`true`). This is done either by dragging onto the field or by selecting multiple files in the browser menu after clicking the input field button.",null,"boolean",!1),directory:m("This boolean property indicates whether the component allows selecting directories (`true`) or files only (`false`).",null,"boolean",!1),buttonPosition:m('This property determines the position of the button relative to the input field. The default is "end".',["start","end"]),buttonSize:m("The size of the button (small, medium, large)",Oa),buttonThemeColor:m("The button color scheme (primary, secondary, attention)",Is)},events:{didChange:at(Hr),gotFocus:xt(Hr),lostFocus:ft(Hr)},apis:{value:m("By setting an ID for the component, you can refer to the value of the field if set. If no value is set, the value will be undefined."),setValue:m("(**NOT IMPLEMENTED YET**) You can use this method to set the component's current value programmatically."),focus:Jt(Hr),open:m("This API command triggers the file browsing dialog to open.")},themeVars:Y(mo.themeVars)},ku={themeVars:`'{"backgroundColor-FileUploadDropZone": "var(--xmlui-backgroundColor-FileUploadDropZone)", "textColor-FileUploadDropZone": "var(--xmlui-textColor-FileUploadDropZone)", "backgroundColor-dropping-FileUploadDropZone": "var(--xmlui-backgroundColor-dropping-FileUploadDropZone)", "opacity-dropping-FileUploadDropZone": "var(--xmlui-opacity-dropping-FileUploadDropZone)"}'`},wu={description:"The `FileUploadDropZone` component allows users to upload files to a web application by dragging and dropping files from their local file system onto a designated area within the UI.",props:{text:{description:"With this property, you can change the default text to display when files are dragged over the drop zone.",defaultValue:"Drop files here",type:"string"},allowPaste:{description:"This property indicates if the drop zone accepts files pasted from the clipboard (`true`) or only dragged files (`false`).",type:"boolean",defaultValue:!0},enabled:m("If set to `false`, the drop zone will be disabled and users will not be able to upload files.",null,"boolean",!0)},events:{upload:m("This component accepts files for upload but does not perform the actual operation. It fires the `upload` event and passes the list files to upload in the method's argument. You can use the passed file information to implement the upload (according to the protocol your backend supports).")},themeVars:Y(ku.themeVars),defaultThemeVars:{"backgroundColor-FileUploadDropZone":"$backgroundColor","backgroundColor-dropping-FileUploadDropZone":"$backgroundColor--selected","opacity-dropping-FileUploadDropZone":"0.5","textColor-FileUploadDropZone":"$textColor",light:{},dark:{}}},Sr={themeVars:'"[]"',outer:"_outer_aarhe_13",flowContainer:"_flowContainer_aarhe_17",horizontal:"_horizontal_aarhe_21",flowItem:"_flowItem_aarhe_24",break:"_break_aarhe_47",forceBreak:"_forceBreak_aarhe_47",starSized:"_starSized_aarhe_47"},Iu="xmlui",Bu=/(\$[a-zA-Z][a-zA-Z0-9-_]*)/g,$u=/^(true|false)$/,Qa=/^\d*\*$/,Ou={cssProps:{},issues:new Set};function Lu(e=xr,r){const t={cssProps:{},issues:new Set};w(r)&&(t.cssProps.flexShrink=0),g("width");const o=T(t.cssProps.width,r);o!==null&&(t.cssProps.flex=o,t.cssProps.flexShrink=1),g("minWidth"),g("maxWidth"),g("height");const a=y(t.cssProps.height,r);a!==null&&(t.cssProps.flex=a,t.cssProps.flexShrink=1),g("minHeight"),g("maxHeight"),g("top"),g("right"),g("bottom"),g("left"),g("gap"),g("padding");const l=x("paddingHorizontal");l&&(t.cssProps.paddingLeft=l,t.cssProps.paddingRight=l),g("paddingRight"),g("paddingLeft");const i=x("paddingVertical");i&&(t.cssProps.paddingTop=i,t.cssProps.paddingBottom=i),g("paddingTop"),g("paddingBottom"),g("margin");const n=x("marginHorizontal");n&&(t.cssProps.marginLeft=n,t.cssProps.marginRight=n),g("marginRight"),g("marginLeft");const c=x("marginVertical");c&&(t.cssProps.marginTop=c,t.cssProps.marginBottom=c),g("marginTop"),g("marginBottom"),g("border");const b=x("borderHorizontal");b&&(t.cssProps.borderLeft=b,t.cssProps.borderRight=b),g("borderRight"),g("borderLeft");const h=x("borderVertical");h&&(t.cssProps.borderTop=h,t.cssProps.borderBottom=h),g("borderTop"),g("borderBottom"),g("borderColor"),g("borderStyle"),g("borderWidth"),g("borderRadius"),g("radiusTopLeft","borderTopLeftRadius"),g("radiusTopRight","borderTopRightRadius"),g("radiusBottomLeft","borderBottomLeftRadius"),g("radiusBottomRight","borderBottomRightRadius"),g("color"),g("fontFamily"),g("fontSize"),g("fontWeight"),g("fontStyle"),g("textDecoration"),g("textDecorationLine"),g("textDecorationColor"),g("textDecorationStyle"),g("textDecorationThickness"),g("textUnderlineOffset"),g("userSelect"),g("letterSpacing"),g("textTransform"),g("lineHeight"),g("textAlign"),g("textAlignLast"),g("textWrap"),g("backgroundColor"),g("background"),g("boxShadow"),g("direction"),g("overflowX"),g("overflowY"),g("zIndex"),g("opacity"),g("zoom"),g("cursor"),g("whiteSpace"),g("outline"),g("outlineWidth"),g("outlineColor"),g("outlineStyle"),g("outlineOffset");const p=x("wrapContent");p&&(t.cssProps.flexWrap=p==="true"?"wrap":"nowrap"),g("canShrink","flexShrink");const C=x("canShrink");if(C&&(t.cssProps.flexShrink=C==="true"?1:0),Be.isEmpty(t.cssProps)&&Be.isEmpty(t.issues))return Ou;return t;function x(O){var Z,E;const V=P();if(((Z=r==null?void 0:r.mediaSize)==null?void 0:Z.sizeIndex)!==void 0){const j=(E=r.mediaSize)==null?void 0:E.sizeIndex,U=P("xs"),M=P("sm"),f=P("md"),v=P("lg"),H=P("xl"),S=P("xxl");let L;switch(j){case 0:L=U??M??f;break;case 1:L=M??f;break;case 2:L=f;break;case 3:L=v;break;case 4:L=H??v;break;case 5:L=S??H??v;break}return L??V}return V;function P(j=""){const U=j?`${O}-${j}`:O;let M=e[U];if(M==null)return;typeof M=="string"?M=M.trim():M=M.toString();const f=M?M.replace(Bu,H=>_u(H.trim())):void 0;if(M!==f)return f;const v=Vu[O];if(!v||v.length===0)return f;for(const H of v)if(H.test(f))return f;return t.issues.add(U),f}}function g(O,V=""){const P=x(O);P&&(t.cssProps[V||O]=P)}function T(O,V){return O&&w(V)==="horizontal"&&Qa.test(O.toString())?$(O.toString()):null}function y(O,V){return O&&w(V)==="vertical"&&Qa.test(O.toString())?$(O.toString()):null}function $(O){if(Qa.test(O)){const V=O.slice(0,-1);return V===""?1:parseInt(V,10)}return null}function w(O){if(!O)return;let V=(O==null?void 0:O.type)==="Stack"&&(O==null?void 0:O.orientation);return V==null?void 0:V.toString()}}function _u(e){return`var(--${Iu}-${e.substring(1)})`}const Vu={width:[],minWidth:[],maxWidth:[],height:[],minHeight:[],maxHeight:[],gap:[],top:[],right:[],bottom:[],left:[],border:[],borderTop:[],borderRight:[],borderBottom:[],borderLeft:[],borderColor:[],borderStyle:[],borderWidth:[],borderHorizontal:[],borderVertical:[],borderRadius:[],radiusTopLeft:[],radiusTopRight:[],radiusBottomLeft:[],radiusBottomRight:[],padding:[],paddingHorizontal:[],paddingVertical:[],paddingTop:[],paddingRight:[],paddingBottom:[],paddingLeft:[],margin:[],marginHorizontal:[],marginVertical:[],marginTop:[],marginRight:[],marginBottom:[],marginLeft:[],backgroundColor:[],background:[],boxShadow:[],direction:[],overflowX:[],overflowY:[],zIndex:[],opacity:[],color:[],fontFamily:[],fontSize:[],fontWeight:[],fontStyle:[$u],textDecoration:[],userSelect:[],letterSpacing:[],textTransform:[],lineHeight:[],textAlign:[],textWrap:[],textAlignLast:[],wrapContent:[],canShrink:[],cursor:[],zoom:[],whiteSpace:[],textDecorationLine:[],textDecorationColor:[],textDecorationStyle:[],textDecorationThickness:[],textUnderlineOffset:[],outline:[],outlineWidth:[],outlineColor:[],outlineStyle:[],outlineOffset:[]},Ja={},yl=s.createContext({rowGap:0,columnGap:0,setNumberOfChildren:Be.noop}),Au=({force:e})=>d.jsx("div",{className:re(Sr.break,{[Sr.forceBreak]:e})});s.forwardRef(function({children:r,forceBreak:t,...o},a){const{rowGap:l,columnGap:i,setNumberOfChildren:n}=s.useContext(yl);Wo(()=>(n(j=>j+1),()=>{n(j=>j-1)}),[n]);const{activeTheme:c,root:b}=Nt(),h=o.width||"100%",p=o.minWidth||void 0,C=o.maxWidth||void 0,{width:x=h,minWidth:g,maxWidth:T,flex:y}=s.useMemo(()=>Lu({width:h,maxWidth:C,minWidth:p},{type:"Stack",orientation:"horizontal"}).cssProps||{},[C,p,h,c.themeVars]),$=s.useMemo(()=>{if(x&&typeof x=="string"&&x.startsWith("var(")){if(!Ja[x]){const j=x.substring(4,x.length-1),U=getComputedStyle(b).getPropertyValue(j);Ja[x]=U||h}return Ja[x]}return x||h},[h,b,x]),w=typeof $=="string"&&$.endsWith("%"),O=ld(i),V=Ji("(max-width: 420px)"),P=Ji("(max-width: 800px)"),Z={minWidth:g,maxWidth:T,width:w?`min(${x} * ${V?"8":P?"4":"1"}, 100%)`:`min(calc(${x} + ${O}), 100%)`,paddingBottom:l,flex:y},E=y!==void 0;return E&&(Z.width="100%",Z.minWidth=g||"1px"),d.jsxs(d.Fragment,{children:[d.jsx("div",{style:{...Z,paddingRight:O},className:re(Sr.flowItem,{[Sr.starSized]:E}),ref:a,children:r}),E&&d.jsx(Au,{})]})});const Hl={columnGap:"$gap-normal",rowGap:"$gap-normal"};s.forwardRef(function({style:r,columnGap:t=0,rowGap:o=0,children:a},l){const[i,n]=s.useState(0),c=i===1?0:t,b=al(o),h=al(c),p=s.useMemo(()=>({marginRight:`calc(-1 * ${h})`,marginBottom:`calc(-1 * ${b})`}),[h,b]),C=s.useMemo(()=>({rowGap:b,columnGap:h,setNumberOfChildren:n}),[h,b]);return d.jsx(yl.Provider,{value:C,children:d.jsx("div",{style:r,ref:l,children:d.jsx("div",{className:Sr.outer,children:d.jsx("div",{className:re(Sr.flowContainer,Sr.horizontal),style:p,children:a})})})})});const Sl="FlowLayout",Wu={description:"This layout component is used to position content in rows with an auto wrapping feature: if the length of the items exceed the available space the layout will wrap into a new line.",props:{gap:{description:`This property defines the gap between items in the same row and between rows. The ${Sl} component creates a new row when an item is about to overflow the current row.`,type:"string",defaultValue:"$gap-normal"},columnGap:{description:"The `columnGap` property specifies the space between items in a single row; it overrides the `gap` value.",defaultValue:Hl.columnGap},rowGap:{description:`The \`rowGap\` property specifies the space between the ${Sl} rows; it overrides the \`gap\` value.`,defaultValue:Hl.rowGap}},themeVars:Y(Sr.themeVars)},Nu={themeVars:`'{"padding-Footer": "var(--xmlui-padding-Footer)", "paddingHorizontal-Footer": "var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer))", "paddingVertical-Footer": "var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer))", "paddingLeft-Footer": "var(--xmlui-paddingLeft-Footer, var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer)))", "paddingRight-Footer": "var(--xmlui-paddingRight-Footer, var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer)))", "paddingTop-Footer": "var(--xmlui-paddingTop-Footer, var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer)))", "paddingBottom-Footer": "var(--xmlui-paddingBottom-Footer, var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer)))", "border-Footer": "var(--xmlui-border-Footer)", "borderHorizontal-Footer": "var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer))", "borderVertical-Footer": "var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer))", "borderLeft-Footer": "var(--xmlui-borderLeft-Footer, var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer)))", "borderRight-Footer": "var(--xmlui-borderRight-Footer, var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer)))", "borderTop-Footer": "var(--xmlui-borderTop-Footer, var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer)))", "borderBottom-Footer": "var(--xmlui-borderBottom-Footer, var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer)))", "borderWidth-Footer": "var(--xmlui-borderWidth-Footer)", "borderHorizontalWidth-Footer": "var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer))", "borderLeftWidth-Footer": "var(--xmlui-borderLeftWidth-Footer, var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderRightWidth-Footer": "var(--xmlui-borderRightWidth-Footer, var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderVerticalWidth-Footer": "var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer))", "borderTopWidth-Footer": "var(--xmlui-borderTopWidth-Footer, var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderBottomWidth-Footer": "var(--xmlui-borderBottomWidth-Footer, var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderStyle-Footer": "var(--xmlui-borderStyle-Footer)", "borderHorizontalStyle-Footer": "var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer))", "borderLeftStyle-Footer": "var(--xmlui-borderLeftStyle-Footer, var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderRightStyle-Footer": "var(--xmlui-borderRightStyle-Footer, var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderVerticalStyle-Footer": "var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer))", "borderTopStyle-Footer": "var(--xmlui-borderTopStyle-Footer, var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderBottomStyle-Footer": "var(--xmlui-borderBottomStyle-Footer, var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderColor-Footer": "var(--xmlui-borderColor-Footer)", "borderHorizontalColor-Footer": "var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer))", "borderLeftColor-Footer": "var(--xmlui-borderLeftColor-Footer, var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderRightColor-Footer": "var(--xmlui-borderRightColor-Footer, var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderVerticalColor-Footer": "var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer))", "borderTopColor-Footer": "var(--xmlui-borderTopColor-Footer, var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderBottomColor-Footer": "var(--xmlui-borderBottomColor-Footer, var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderStartStartRadius-Footer": "var(--xmlui-borderStartStartRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderStartEndRadius-Footer": "var(--xmlui-borderStartEndRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderEndStartRadius-Footer": "var(--xmlui-borderEndStartRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderEndEndRadius-Footer": "var(--xmlui-borderEndEndRadius-Footer, var(--xmlui-borderRadius-Footer))", "backgroundColor-Footer": "var(--xmlui-backgroundColor-Footer)", "textColor-Footer": "var(--xmlui-textColor-Footer)", "height-Footer": "var(--xmlui-height-Footer)", "fontSize-Footer": "var(--xmlui-fontSize-Footer)", "verticalAlign-Footer": "var(--xmlui-verticalAlign-Footer)", "maxWidth-content-Footer": "var(--xmlui-maxWidth-content-Footer)", "maxWidth-App": "var(--xmlui-maxWidth-App)"}'`},kr="Footer",zu={description:`The \`${kr}\` is a component that acts as a placeholder within \`App\`.`,themeVars:Y(Nu.themeVars),defaultThemeVars:{[`backgroundColor-${kr}`]:"$backgroundColor-AppHeader",[`verticalAlign-${kr}`]:"center",[`fontSize-${kr}`]:"$fontSize-small",[`textColor-${kr}`]:"$textColor-secondary",[`maxWidth-content-${kr}`]:"$maxWidth-content",[`borderTop-${kr}`]:"1px solid $borderColor",[`padding-${kr}`]:"$space-2 $space-4",light:{},dark:{}}},Ka={themeVars:`'{"gap-Form": "var(--xmlui-gap-Form)", "gap-buttonRow-Form": "var(--xmlui-gap-buttonRow-Form)"}'`,wrapper:"_wrapper_wscb6_13",buttonRow:"_buttonRow_wscb6_19"},kl="__UNBOUND_FIELD__";var kt=(e=>(e.FIELD_LOST_FOCUS="FormActionKind:FIELD_LOST_FOCUS",e.FIELD_VALUE_CHANGED="FormActionKind:FIELD_VALUE_CHANGED",e.FIELD_FOCUSED="FormActionKind:FIELD_FOCUSED",e.FIELD_VALIDATED="FormActionKind:FIELD_VALIDATED",e.FIELD_INITIALIZED="FormActionKind:FIELD_INITIALIZED",e.FIELD_REMOVED="FormActionKind:FIELD_REMOVED",e.TRIED_TO_SUBMIT="FormActionKind:TRIED_TO_SUBMIT",e.BACKEND_VALIDATION_ARRIVED="FormActionKind:BACKEND_VALIDATION_ARRIVED",e.SUBMITTING="FormActionKind:SUBMITTING",e.SUBMITTED="FormActionKind:SUBMITTED",e.RESET="FormActionKind:RESET",e))(kt||{});function Eu(e,r,t=!1){return{type:"FormActionKind:FIELD_INITIALIZED",payload:{uid:e,value:r,force:t}}}function Pu(e,r){return{type:"FormActionKind:FIELD_VALUE_CHANGED",payload:{uid:e,value:r}}}function Mu(e){return{type:"FormActionKind:FIELD_FOCUSED",payload:{uid:e}}}function Du(e){return{type:"FormActionKind:FIELD_LOST_FOCUS",payload:{uid:e}}}function wl(e,r){return{type:"FormActionKind:FIELD_VALIDATED",payload:{uid:e,validationResult:r}}}function Ru(e){return{type:"FormActionKind:FIELD_REMOVED",payload:{uid:e}}}function Fu(){return{type:"FormActionKind:TRIED_TO_SUBMIT",payload:{}}}function Uu(){return{type:"FormActionKind:SUBMITTING",payload:{}}}function qu(){return{type:"FormActionKind:SUBMITTED",payload:{}}}function Gu(e){return{type:"FormActionKind:RESET",payload:{originalSubject:e}}}function ju({generalValidationResults:e=[],fieldValidationResults:r={}}){return{type:"FormActionKind:BACKEND_VALIDATION_ARRIVED",payload:{generalValidationResults:e,fieldValidationResults:r}}}const wr={themeVars:`'{"padding-ModalDialog": "var(--xmlui-padding-ModalDialog)", "paddingHorizontal-ModalDialog": "var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingVertical-ModalDialog": "var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingLeft-ModalDialog": "var(--xmlui-paddingLeft-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingRight-ModalDialog": "var(--xmlui-paddingRight-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingTop-ModalDialog": "var(--xmlui-paddingTop-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingBottom-ModalDialog": "var(--xmlui-paddingBottom-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "padding-overlay-ModalDialog": "var(--xmlui-padding-overlay-ModalDialog)", "paddingHorizontal-overlay-ModalDialog": "var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingVertical-overlay-ModalDialog": "var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingLeft-overlay-ModalDialog": "var(--xmlui-paddingLeft-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingRight-overlay-ModalDialog": "var(--xmlui-paddingRight-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingTop-overlay-ModalDialog": "var(--xmlui-paddingTop-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingBottom-overlay-ModalDialog": "var(--xmlui-paddingBottom-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "Dialog:backgroundColor-ModalDialog": "var(--xmlui-backgroundColor-ModalDialog)", "Dialog:backgroundColor-overlay-ModalDialog": "var(--xmlui-backgroundColor-overlay-ModalDialog)", "Dialog:borderRadius-ModalDialog": "var(--xmlui-borderRadius-ModalDialog)", "Dialog:fontFamily-ModalDialog": "var(--xmlui-fontFamily-ModalDialog)", "Dialog:textColor-ModalDialog": "var(--xmlui-textColor-ModalDialog)", "Dialog:minWidth-ModalDialog": "var(--xmlui-minWidth-ModalDialog)", "Dialog:maxWidth-ModalDialog": "var(--xmlui-maxWidth-ModalDialog)", "Dialog:marginBottom-title-ModalDialog": "var(--xmlui-marginBottom-title-ModalDialog)"}'`,overlay:"_overlay_it5gt_13",fullScreen:"_fullScreen_it5gt_21",content:"_content_it5gt_27",overlayBg:"_overlayBg_it5gt_36",dialogTitle:"_dialogTitle_it5gt_70",innerContent:"_innerContent_it5gt_76",closeButton:"_closeButton_it5gt_102"},Il=s.createContext(null),Xu=()=>{const e=s.useId(),{registerForm:r,unRegisterForm:t,requestClose:o,amITheSingleForm:a}=s.useContext(Il)||{};return s.useEffect(()=>{if(r)return r(e),()=>{t==null||t(e)}},[e,r,t]),s.useCallback(()=>{if(o&&a(e))return o()},[a,e,o])};s.forwardRef(({isInitiallyOpen:e,onOpen:r,onClose:t,registerComponentApi:o,renderDialog:a},l)=>{const i=$l(e,r,t),{doOpen:n,doClose:c,isOpen:b,openParams:h}=i;return s.useEffect(()=>{o==null||o({open:n,close:c})},[c,n,o]),b?d.jsx(Bl.Provider,{value:i,children:a({openParams:h,ref:l})}):null});const Bl=s.createContext(null);function $l(e,r,t){const[o,a]=s.useState(e),l=s.useRef(!1),[i,n]=s.useState(null),c=Ce((...h)=>{n(h),r==null||r(),a(!0)}),b=Ce(async()=>{if(!l.current)try{if(l.current=!0,await(t==null?void 0:t())===!1)return}finally{l.current=!1}a(!1)});return s.useMemo(()=>({isOpen:o,doClose:b,doOpen:c,openParams:i}),[b,c,o,i])}function Yu(e=!0,r,t){const o=s.useContext(Bl),a=$l(e,r,t);return o||a}const Ol=s.forwardRef(({children:e,style:r,isInitiallyOpen:t,fullScreen:o,title:a,closeButtonVisible:l=!0,onOpen:i,onClose:n},c)=>{const{root:b}=Nt(),h=s.useRef(null),p=c?sr(c,h):h,{isOpen:C,doClose:x,doOpen:g}=Yu(t,i,n);s.useEffect(()=>{var $;C&&(($=h.current)==null||$.focus())},[C]),s.useEffect(()=>{if(C){const $=setTimeout(()=>{document.body.style.pointerEvents=""},0);return()=>clearTimeout($)}else document.body.style.pointerEvents="auto"},[C]);const T=s.useRef(new Set),y=s.useMemo(()=>({registerForm:$=>{T.current.add($)},unRegisterForm:$=>{T.current.delete($)},amITheSingleForm:$=>T.current.size===1&&T.current.has($),requestClose:()=>x()}),[x]);return b?d.jsx(ao.Root,{open:C,onOpenChange:$=>$?g():x(),children:d.jsxs(ao.Portal,{container:b,children:[!o&&d.jsx("div",{className:wr.overlayBg}),d.jsx(ao.Overlay,{className:re(wr.overlay,{[wr.fullScreen]:o}),children:d.jsxs(ao.Content,{className:re(wr.content),onPointerDownOutside:$=>{$.target instanceof Element&&$.target.closest("._debug-inspect-button")!==null&&$.preventDefault()},ref:p,style:{...r,gap:void 0},children:[!!a&&d.jsx(ao.Title,{style:{marginTop:0},children:d.jsx("header",{id:"dialogTitle",className:wr.dialogTitle,children:a})}),d.jsx("div",{className:wr.innerContent,style:{gap:r==null?void 0:r.gap},children:d.jsx(Il.Provider,{value:y,children:e})}),l&&d.jsx(ao.Close,{asChild:!0,children:d.jsx(ot,{variant:"ghost",themeColor:"secondary",className:wr.closeButton,"aria-label":"Close",icon:d.jsx(me,{name:"close",size:"sm"}),orientation:"vertical"})})]})})]})}):null});Ol.displayName="ModalDialog";const Ll=new Set,mt=new WeakMap,po=new WeakMap,Fr=new WeakMap,ei=new WeakMap,Zu=new WeakMap,ho=new WeakMap,ua=new WeakMap,Po=new WeakSet;let Ur;const ur="__aa_tgt",ti="__aa_del",Qu=e=>{const r=rc(e);r&&r.forEach(t=>oc(t))},Ju=e=>{e.forEach(r=>{r.target===Ur&&ec(),mt.has(r.target)&&qr(r.target)})};function Ku(e){const r=ei.get(e);r==null||r.disconnect();let t=mt.get(e),o=0;const a=5;t||(t=vo(e),mt.set(e,t));const{offsetWidth:l,offsetHeight:i}=Ur,c=[t.top-a,l-(t.left+a+t.width),i-(t.top+a+t.height),t.left-a].map(h=>`${-1*Math.floor(h)}px`).join(" "),b=new IntersectionObserver(()=>{++o>1&&qr(e)},{root:Ur,threshold:1,rootMargin:c});b.observe(e),ei.set(e,b)}function qr(e){clearTimeout(ua.get(e));const r=ca(e),t=typeof r=="function"?500:r.duration;ua.set(e,setTimeout(async()=>{const o=Fr.get(e);try{await(o==null?void 0:o.finished),mt.set(e,vo(e)),Ku(e)}catch{}},t))}function ec(){clearTimeout(ua.get(Ur)),ua.set(Ur,setTimeout(()=>{Ll.forEach(e=>Wl(e,r=>_l(()=>qr(r))))},100))}function tc(e){setTimeout(()=>{Zu.set(e,setInterval(()=>_l(qr.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function _l(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let ri,bo;typeof window<"u"&&(Ur=document.documentElement,ri=new MutationObserver(Qu),bo=new ResizeObserver(Ju),bo.observe(Ur));function rc(e){return e.reduce((o,a)=>[...o,...Array.from(a.addedNodes),...Array.from(a.removedNodes)],[]).every(o=>o.nodeName==="#comment")?!1:e.reduce((o,a)=>{if(o===!1)return!1;if(a.target instanceof Element){if(oi(a.target),!o.has(a.target)){o.add(a.target);for(let l=0;l<a.target.children.length;l++){const i=a.target.children.item(l);if(i){if(ti in i)return!1;oi(a.target,i),o.add(i)}}}if(a.removedNodes.length)for(let l=0;l<a.removedNodes.length;l++){const i=a.removedNodes[l];if(ti in i)return!1;i instanceof Element&&(o.add(i),oi(a.target,i),po.set(i,[a.previousSibling,a.nextSibling]))}}return o},new Set)}function oi(e,r){!r&&!(ur in e)?Object.defineProperty(e,ur,{value:e}):r&&!(ur in r)&&Object.defineProperty(r,ur,{value:e})}function oc(e){var r;const t=e.isConnected,o=mt.has(e);t&&po.has(e)&&po.delete(e),Fr.has(e)&&((r=Fr.get(e))===null||r===void 0||r.cancel()),o&&t?ic(e):o&&!t?nc(e):lc(e)}function or(e){return Number(e.replace(/[^0-9.\-]/g,""))}function ac(e){let r=e.parentElement;for(;r;){if(r.scrollLeft||r.scrollTop)return{x:r.scrollLeft,y:r.scrollTop};r=r.parentElement}return{x:0,y:0}}function vo(e){const r=e.getBoundingClientRect(),{x:t,y:o}=ac(e);return{top:r.top+o,left:r.left+t,width:r.width,height:r.height}}function Vl(e,r,t){let o=r.width,a=r.height,l=t.width,i=t.height;const n=getComputedStyle(e);if(n.getPropertyValue("box-sizing")==="content-box"){const b=or(n.paddingTop)+or(n.paddingBottom)+or(n.borderTopWidth)+or(n.borderBottomWidth),h=or(n.paddingLeft)+or(n.paddingRight)+or(n.borderRightWidth)+or(n.borderLeftWidth);o-=h,l-=h,a-=b,i-=b}return[o,l,a,i].map(Math.round)}function ca(e){return ur in e&&ho.has(e[ur])?ho.get(e[ur]):{duration:250,easing:"ease-in-out"}}function Al(e){if(ur in e)return e[ur]}function ai(e){const r=Al(e);return r?Po.has(r):!1}function Wl(e,...r){r.forEach(t=>t(e,ho.has(e)));for(let t=0;t<e.children.length;t++){const o=e.children.item(t);o&&r.forEach(a=>a(o,ho.has(o)))}}function ic(e){const r=mt.get(e),t=vo(e);if(!ai(e))return mt.set(e,t);let o;if(!r)return;const a=ca(e);if(typeof a!="function"){const l=r.left-t.left,i=r.top-t.top,[n,c,b,h]=Vl(e,r,t),p={transform:`translate(${l}px, ${i}px)`},C={transform:"translate(0, 0)"};n!==c&&(p.width=`${n}px`,C.width=`${c}px`),b!==h&&(p.height=`${b}px`,C.height=`${h}px`),o=e.animate([p,C],{duration:a.duration,easing:a.easing})}else o=new Animation(a(e,"remain",r,t)),o.play();Fr.set(e,o),mt.set(e,t),o.addEventListener("finish",qr.bind(null,e))}function lc(e){const r=vo(e);mt.set(e,r);const t=ca(e);if(!ai(e))return;let o;typeof t!="function"?o=e.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:t.duration*1.5,easing:"ease-in"}):(o=new Animation(t(e,"add",r)),o.play()),Fr.set(e,o),o.addEventListener("finish",qr.bind(null,e))}function nc(e){var r;if(!po.has(e)||!mt.has(e))return;const[t,o]=po.get(e);Object.defineProperty(e,ti,{value:!0}),o&&o.parentNode&&o.parentNode instanceof Element?o.parentNode.insertBefore(e,o):t&&t.parentNode?t.parentNode.appendChild(e):(r=Al(e))===null||r===void 0||r.appendChild(e);function a(){var C;e.remove(),mt.delete(e),po.delete(e),Fr.delete(e),(C=ei.get(e))===null||C===void 0||C.disconnect()}if(!ai(e))return a();const[l,i,n,c]=sc(e),b=ca(e),h=mt.get(e);let p;Object.assign(e.style,{position:"absolute",top:`${l}px`,left:`${i}px`,width:`${n}px`,height:`${c}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),typeof b!="function"?p=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:b.duration,easing:"ease-out"}):(p=new Animation(b(e,"remove",h)),p.play()),Fr.set(e,p),p.addEventListener("finish",a)}function sc(e){const r=mt.get(e),[t,,o]=Vl(e,r,vo(e));let a=e.parentElement;for(;a&&(getComputedStyle(a).position==="static"||a instanceof HTMLBodyElement);)a=a.parentElement;a||(a=document.body);const l=getComputedStyle(a),i=mt.get(a)||vo(a),n=Math.round(r.top-i.top)-or(l.borderTopWidth),c=Math.round(r.left-i.left)-or(l.borderLeftWidth);return[n,c,t,o]}function dc(e,r={}){return ri&&bo&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&typeof r!="function"&&!r.disrespectUserMotionPreference||(Po.add(e),getComputedStyle(e).position==="static"&&Object.assign(e.style,{position:"relative"}),Wl(e,qr,tc,a=>bo==null?void 0:bo.observe(a)),typeof r=="function"?ho.set(e,r):ho.set(e,{duration:250,easing:"ease-in-out",...r}),ri.observe(e,{childList:!0}),Ll.add(e))),Object.freeze({parent:e,enable:()=>{Po.add(e)},disable:()=>{Po.delete(e)},isEnabled:()=>Po.has(e)})}function ii(e){const[r,t]=s.useState();return[s.useCallback(l=>{l instanceof HTMLElement?t(dc(l,e)):t(void 0)},[]),l=>{r&&(l?r.enable():r.disable())}]}const Ir={summaryContainer:"_summaryContainer_1sc6r_13",validationContainer:"_validationContainer_1sc6r_22",error:"_error_1sc6r_52",heading:"_heading_1sc6r_58",warning:"_warning_1sc6r_62",info:"_info_1sc6r_72",valid:"_valid_1sc6r_22"},Nl={themeVars:'"[]"',spacer:"_spacer_1414d_13"},uc=()=>d.jsx("div",{className:Nl.spacer});function zl({fieldValidationResults:e=xr,generalValidationResults:r=Qe}){const[t]=ii({duration:100}),o=s.useMemo(()=>{const a={};return Object.entries(e).forEach(([l,i])=>{i.validations.forEach(n=>{n.isValid||(a[n.severity]=a[n.severity]||[],a[n.severity].push({field:l,message:n.invalidMessage||""}))})}),r.forEach(l=>{a[l.severity]=a[l.severity]||[],a[l.severity].push({message:l.invalidMessage||""})}),a},[e,r]);return d.jsxs("div",{ref:t,className:Ir.summaryContainer,"data-validation-summary":!0,children:[d.jsx(El,{issues:o.warning,severity:"warning",heading:"Validation warnings"}),d.jsx(El,{issues:o.error,severity:"error",heading:"Validation errors"})]})}const El=({heading:e,issues:r=Qe,severity:t="error",onClose:o})=>{const[a]=ii({duration:100});return r.length===0?null:d.jsxs("div",{className:re(Ir.validationContainer,{[Ir.valid]:t==="valid",[Ir.info]:t==="info",[Ir.warning]:t==="warning",[Ir.error]:t==="error"}),style:{paddingTop:o?void 0:"0.5rem"},"data-validation-display-severity":t,children:[d.jsxs(Ea,{orientation:"horizontal",verticalAlignment:"center",style:{gap:"0.5rem"},children:[d.jsx(me,{className:Ir.heading,name:t,size:"md"}),d.jsx("div",{className:Ir.heading,children:d.jsx(no,{children:e})}),!!o&&d.jsxs(d.Fragment,{children:[d.jsx(uc,{}),d.jsx(ot,{onClick:o,variant:"ghost",themeColor:"secondary",icon:d.jsx(me,{name:"close",size:"sm"}),orientation:"vertical"})]})]}),d.jsx("ul",{ref:a,children:r.map((l,i)=>d.jsx(cc,{issue:l},i))})]})},cc=({issue:e})=>{const{field:r,message:t}=e;return d.jsx("li",{children:d.jsxs("span",{style:{display:"inline-flex",gap:r?"0.25rem":void 0},children:[r&&d.jsx(no,{variant:"small",fontWeight:"bold",children:`${r}:`}),d.jsx(no,{variant:"small",preserveLinebreaks:!0,children:t})]})})},mc=["error","warning","valid","none"],Pl="errorLate",pc=[{value:"errorLate",description:"Display the error when the field loses focus.If an error is already displayed, continue for every keystroke until input is accepted."},{value:"onChanged",description:"Display error (if present) for every keystroke."},{value:"onLostFocus",description:"Show/hide error (if present) only if the field loses focus."}],Ml=Vi.createContext(void 0);function cr(e){return Vi.useContextSelector(Ml,e)}const hc=[{value:"text",description:"Renders TextBox"},{value:"password",description:"Renders TextBox with `password` type"},{value:"textarea",description:"Renders Textarea"},{value:"checkbox",description:"Renders Checkbox"},{value:"number",description:"Renders NumberBox"},{value:"integer",description:"Renders NumberBox with `integersOnly` set to true"},{value:"file",description:"Renders FileInput"},{value:"datePicker",description:"Renders DatePicker"},{value:"radioGroup",description:"Renders RadioGroup"},{value:"switch",description:"Renders Switch"},{value:"select",description:"Renders Select"},{value:"autocomplete",description:"Renders AutoComplete"},{value:"slider",description:"Renders Slider"},{value:"colorpicker",description:"Renders ColorPicker"},{value:"items",description:"Renders Items"},{value:"custom",description:"Custom control specified in children"}];function bc(e){return e==null||e===""?!0:typeof e=="string"?e.trim().length===0:Be.isEmpty(e)}function Dl(e="",r){return typeof e=="string"?e.length>=r:(console.warn("minLength can only be used on strings"),!0)}function Rl(e="",r){return typeof e=="string"?e.length<=r:(console.warn("maxLength can only be used on strings"),!0)}function Fl(e="",r){return typeof e!="string"&&!Be.isNumber(e)&&console.warn("Range can only be used on strings and numbers"),Number(e)>=r}function Ul(e="",r){return typeof e!="string"&&!Be.isNumber(e)&&console.warn("Range can only be used on strings and numbers"),Number(e)<=r}function vc(e="",r){if(typeof e=="string")return t(r).test(e);return console.warn("Regex can only be used on strings"),!0;function t(o){const a=o.match(/^([/~@;%#'])(.*?)\1([gimsuy]*)$/);return a?new RegExp(a[2],a[3]):new RegExp(o)}}class ql{constructor(r,t,o){this.validations=r,this.onValidate=t,this.value=o,this.preValidate=()=>{const a=this.validateRequired();let l=[a];return(!a||a.isValid)&&l.push(this.validateLength(),this.validateRange(),this.validatePattern(),this.validateRegex()),l=l.filter(i=>i!==void 0),{isValid:l.find(i=>!i.isValid)===void 0,validatedValue:this.value,partial:this.onValidate!==void 0,validations:l}},this.validate=async()=>{const a=this.preValidate(),l=await this.validateCustom()||[];return a.validations.push(...l.map(i=>({...i,async:!0}))),{isValid:a.validations.find(i=>!i.isValid)===void 0,validatedValue:this.value,partial:!1,validations:a.validations}}}validateRequired(){const{required:r,requiredInvalidMessage:t}=this.validations;if(r)return{isValid:!bc(this.value),invalidMessage:t||"This field is required",severity:"error"}}validateLength(){const{minLength:r,maxLength:t,lengthInvalidMessage:o,lengthInvalidSeverity:a="error"}=this.validations;if(!(r===void 0&&t===void 0))return r!==void 0&&t===void 0?{isValid:Dl(this.value,r),invalidMessage:o||`Input should be at least ${r} ${jl(r,"character")}`,severity:a}:r===void 0&&t!==void 0?{isValid:Rl(this.value,t),invalidMessage:o||`Input should be up to ${t} ${jl(t,"character")}`,severity:a}:{isValid:Dl(this.value,r)&&Rl(this.value,t),invalidMessage:o||`Input length should be between ${r} and ${t}`,severity:a}}validateRange(){const{minValue:r,maxValue:t,rangeInvalidMessage:o,rangeInvalidSeverity:a="error"}=this.validations;if(!(r===void 0&&t===void 0))return r!==void 0&&t===void 0?{isValid:Fl(this.value,r),invalidMessage:o||`Input should be bigger than ${r}`,severity:a}:r===void 0&&t!==void 0?{isValid:Ul(this.value,t),invalidMessage:o||`Input should be smaller than ${t}`,severity:a}:{isValid:Fl(this.value,r)&&Ul(this.value,t),invalidMessage:o||`Input should be between ${r} and ${t}`,severity:a}}validatePattern(){const{pattern:r,patternInvalidMessage:t,patternInvalidSeverity:o="error"}=this.validations;if(r)switch(r.toLowerCase()){case"email":return{isValid:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(this.value),invalidMessage:t||"Not a valid email address",severity:o};case"phone":return{isValid:/^[a-zA-Z0-9#*)(+.\-_&']+$/g.test(this.value),invalidMessage:t||"Not a valid phone number",severity:o};case"url":let a;try{a=new URL(this.value)}catch{}return!a||a.protocol&&!["http:","https:"].includes(a.protocol)?{isValid:!1,invalidMessage:"Not a valid URL",severity:o}:{isValid:!0,severity:"valid"};default:return console.warn("Unknown pattern provided"),{isValid:!0,severity:"valid"}}}validateRegex(){const{regex:r,regexInvalidMessage:t,regexInvalidSeverity:o="error"}=this.validations;if(r!==void 0)return{isValid:vc(this.value,r),invalidMessage:t||"Input is not in the correct format",severity:o}}async validateCustom(){if(!this.onValidate)return;const r=await this.onValidate(this.value);return typeof r=="boolean"?[{isValid:r,invalidMessage:"Invalid input",severity:"error"}]:Be.isArray(r)?r:[r]}}async function Gl(e,r,t){return await new ql(e,r,t).validate()}function xc(e,r,t,o,a,l=0){const i=s.useDeferredValue(t),n=s.useMemo(()=>l!==0?Ps(Gl,l,{trailing:!0,leading:!0}):Gl,[l]);s.useEffect(function(){const b=new ql(e,r,i);let h=!1;const p=b.preValidate();return h||(o(wl(a,p)),p.partial&&(async()=>{const C=await n(e,r,i);h||o(wl(a,C))})()),()=>{h=!0}},[a,i,o,r,n,e])}function fc(e,r,t,o=Pl){const a=cr($=>$.interactionFlags[e])||xr,l=a.forceShowValidationResult,i=a.focused,n=a.isValidLostFocus,c=a.isValidOnFocus,b=a.invalidToValid,h=!t||t.validatedValue!==r,p=a.isDirty,C=(t==null?void 0:t.isValid)===!0;let x="none";for(const $ of(t==null?void 0:t.validations)||[])if(!$.isValid&&(x!=="error"&&$.severity==="warning"&&(x="warning"),$.severity==="error")){x="error";break}let g=!1;switch(o){case"errorLate":g=p&&(i?!b&&!c:!n);break;case"onChanged":g=p;break;case"onLostFocus":g=p&&(!i&&!C||!n&&!C)}g=g||l;const[T,y]=s.useState(g);return T!==g&&!h&&y(g),h&&(g=T),{isHelperTextShown:g,validationStatus:g?x:"none"}}function gc(e){const r={error:[],warning:[],valid:[],none:[]};return Object.entries(e).forEach(([t,o])=>{o.validations.forEach(a=>{a.isValid||(r[a.severity]=r[a.severity]||[],r[a.severity].push(a))})}),r}function jl(e,r){return e===1?r:r+"s"}const Xl=(e,r)=>Be.get(e,r);Nr((e,r)=>{var o,a,l,i;const{uid:t}=r.payload;switch(t!==void 0&&!e.interactionFlags[t]&&(e.interactionFlags[t]={isDirty:!1,invalidToValid:!1,isValidOnFocus:!1,isValidLostFocus:!1,focused:!1,forceShowValidationResult:!1}),r.type){case kt.FIELD_INITIALIZED:{(!e.interactionFlags[t].isDirty||r.payload.force)&&Be.set(e.subject,t,r.payload.value);break}case kt.FIELD_REMOVED:{delete e.validationResults[t],delete e.interactionFlags[t];break}case kt.FIELD_VALUE_CHANGED:{Be.set(e.subject,t,r.payload.value),e.interactionFlags[t].isDirty=!0,e.interactionFlags[t].forceShowValidationResult=!1;break}case kt.FIELD_VALIDATED:{if(r.payload.validationResult.validations.length===0){delete e.validationResults[t];break}const n=(o=e.validationResults[t])==null?void 0:o.isValid;if(r.payload.validationResult.partial){const c=[...r.payload.validationResult.validations,...(((a=e.validationResults[t])==null?void 0:a.validations.filter(b=>b.async))||[]).map(b=>({...b,stale:!0}))];e.validationResults[t]={...r.payload.validationResult,isValid:c.find(b=>!b.isValid)===void 0,validations:c}}else e.validationResults[t]=r.payload.validationResult;e.interactionFlags[t].invalidToValid=!n&&e.validationResults[t].isValid;break}case kt.FIELD_FOCUSED:{e.interactionFlags[t].isValidOnFocus=!!((l=e.validationResults[t])!=null&&l.isValid),e.interactionFlags[t].focused=!0;break}case kt.FIELD_LOST_FOCUS:{e.interactionFlags[t].isValidLostFocus=!!((i=e.validationResults[t])!=null&&i.isValid),e.interactionFlags[t].focused=!1;break}case kt.TRIED_TO_SUBMIT:{Object.keys(e.interactionFlags).forEach(n=>{e.interactionFlags[n].forceShowValidationResult=!0});break}case kt.SUBMITTING:{e.submitInProgress=!0;break}case kt.SUBMITTED:{e.submitInProgress=!1,e.generalValidationResults=[],e.interactionFlags={},Object.keys(e.validationResults).forEach(n=>{var c;e.validationResults[n].validations=(c=e.validationResults[n].validations)==null?void 0:c.filter(b=>!b.fromBackend),e.validationResults[n].isValid=e.validationResults[n].validations.find(b=>!b.isValid)===void 0});break}case kt.BACKEND_VALIDATION_ARRIVED:{e.submitInProgress=!1,e.generalValidationResults=r.payload.generalValidationResults,Object.keys(e.validationResults).forEach(n=>{var c;e.validationResults[n].validations=(c=e.validationResults[n].validations)==null?void 0:c.filter(b=>!b.fromBackend)}),Object.entries(r.payload.fieldValidationResults).forEach(([n,c])=>{var b;e.validationResults[n]||(e.validationResults[n]={isValid:!1,validations:[],partial:!1,validatedValue:e.subject[n]}),e.validationResults[n].validations=[...((b=e.validationResults[n])==null?void 0:b.validations)||[],...c||[]],e.validationResults[n].isValid=e.validationResults[n].validations.find(h=>!h.isValid)===void 0});break}case kt.RESET:{const{originalSubject:n}=r.payload;return{...Tc,subject:n,resetVersion:(e.resetVersion??0)+1}}}});const Tc={subject:{},validationResults:{},generalValidationResults:[],interactionFlags:{},submitInProgress:!1,resetVersion:0},xo={cancelLabel:"Cancel",saveLabel:"Save",saveInProgressLabel:"Saving...",itemLabelPosition:"top",itemLabelBreak:!0,keepModalOpenOnSubmit:!1};function Cc(e){return Object.entries(e||{}).reduce((r,[t,o])=>(t.endsWith(kl)||(r[t]=o),r),{})}const yc=s.forwardRef(function({formState:e,dispatch:r,initialValue:t=xr,children:o,style:a,enabled:l=!0,cancelLabel:i="Cancel",saveLabel:n="Save",saveInProgressLabel:c="Saving...",swapCancelAndSave:b,onSubmit:h,onCancel:p,onReset:C,buttonRow:x,id:g,registerComponentApi:T,itemLabelBreak:y=!0,itemLabelWidth:$,itemLabelPosition:w="top",keepModalOpenOnSubmit:O=!1},V){const P=s.useRef(null);s.useImperativeHandle(V,()=>P.current);const[Z,E]=s.useState(!1),j=Xu(),U=l&&!e.submitInProgress,M=s.useMemo(()=>({itemLabelBreak:y,itemLabelWidth:$,itemLabelPosition:w,subject:e.subject,originalSubject:t,validationResults:e.validationResults,interactionFlags:e.interactionFlags,dispatch:r,enabled:U}),[r,e.interactionFlags,e.subject,e.validationResults,t,U,y,w,$]),f=Ce(()=>{p==null||p(),j()}),v=Ce(async N=>{var I;if(N==null||N.preventDefault(),!U)return;E(!1),r(Fu());const{error:D,warning:X}=gc(Object.values(e.validationResults));if(D.length)return;if(X.length&&!Z){E(!0);return}const q=document.activeElement;r(Uu());try{const B=Cc(e.subject);await(h==null?void 0:h(B,{passAsDefaultBody:!0})),r(qu()),O||j(),t===xr&&_i.flushSync(()=>{H()}),q&&typeof q.focus=="function"&&q.focus()}catch(B){const W=[],A={};B instanceof Error&&"errorCategory"in B&&B.errorCategory==="GenericBackendError"&&((I=B.details)!=null&&I.issues)&&Array.isArray(B.details.issues)?B.details.issues.forEach(z=>{const R={isValid:!1,invalidMessage:z.message,severity:z.severity||"error",fromBackend:!0};z.field!==void 0?(A[z.field]=A[z.field]||[],A[z.field].push(R)):W.push(R)}):W.push({isValid:!1,invalidMessage:B.message||"Couldn't save the form.",severity:"error",fromBackend:!0}),r(ju({generalValidationResults:W,fieldValidationResults:A}))}}),H=Ce(()=>{r(Gu(t)),C==null||C()}),S=Ce(N=>{typeof N!="object"||N===null||N===void 0||Object.entries(N).forEach(([D,X])=>{r({type:kt.FIELD_VALUE_CHANGED,payload:{uid:D,value:X}})})}),L=i===""?null:d.jsx(ot,{type:"button",themeColor:"secondary",variant:"ghost",onClick:f,children:i},"cancel"),F=s.useMemo(()=>d.jsx(ot,{type:"submit",disabled:!U,children:e.submitInProgress?c:n},"submit"),[U,e.submitInProgress,c,n]);return s.useEffect(()=>{T==null||T({reset:H,update:S})},[H,S,T]),d.jsxs(d.Fragment,{children:[d.jsxs("form",{style:a,className:Ka.wrapper,onSubmit:v,onReset:H,id:g,ref:P,children:[d.jsx(zl,{generalValidationResults:e.generalValidationResults}),d.jsx(Ml.Provider,{value:M,children:o}),x||d.jsxs("div",{className:Ka.buttonRow,children:[b&&[F,L],!b&&[L,F]]})]},e.resetVersion),Z&&d.jsx(Ol,{onClose:()=>E(!1),isInitiallyOpen:!0,title:"Are you sure want to move forward?",children:d.jsxs(Ea,{orientation:"vertical",style:{gap:"0.5rem"},children:[d.jsx(no,{children:"The following warnings were found during validation. Please make sure you are willing to move forward despite these issues."}),d.jsx(zl,{generalValidationResults:e.generalValidationResults,fieldValidationResults:e.validationResults}),d.jsxs(Ea,{orientation:"horizontal",horizontalAlignment:"end",style:{gap:"1em"},children:[d.jsx(ot,{variant:"ghost",themeColor:"secondary",onClick:()=>E(!1),children:"No"}),d.jsx(ot,{onClick:()=>v(),autoFocus:!0,children:"Yes, proceed"})]})]})})]})});yc.displayName="Form";const Hc={status:"experimental",description:"A `Form` is a fundamental component that displays user interfaces that allow users to input (or change) data and submit it to the app (a server) for further processing.",props:{buttonRowTemplate:$e("This property allows defining a custom component to display the buttons at the bottom of the form."),itemLabelPosition:{description:"This property sets the position of the item labels within the form.Individual `FormItem` instances can override this property.",availableValues:Di,type:"string",defaultValue:xo.itemLabelPosition},itemLabelWidth:{description:"This property sets the width of the item labels within the form. Individual `FormItem` instances can override this property.",type:"string"},itemLabelBreak:{description:"This boolean value indicates if form item labels can be split into multiple lines if it would overflow the available label width. Individual `FormItem` instances can override this property.",type:"boolean",defaultValue:xo.itemLabelBreak},keepModalOpenOnSubmit:{description:"This property prevents the modal from closing when the form is submitted.",type:"boolean",defaultValue:xo.keepModalOpenOnSubmit},data:{description:"This property sets the initial value of the form's data structure. The form infrastructure uses this value to set the initial state of form items within the form."},cancelLabel:{description:"This property defines the label of the Cancel button.",type:"string",defaultValue:xo.cancelLabel},saveLabel:{description:"This property defines the label of the Save button.",type:"string",defaultValue:xo.saveLabel},saveInProgressLabel:{description:"This property defines the label of the Save button to display during the form data submit (save) operation.",type:"string",defaultValue:xo.saveInProgressLabel},swapCancelAndSave:{description:"By default, the Cancel button is to the left of the Save button. Set this property to `true` to swap them or `false` to keep their original location.",type:"boolean"},submitUrl:m("URL to submit the form data."),submitMethod:{description:"This property sets the HTTP method to use when submitting the form data. If not defined, `put` is used when the form has initial data; otherwise, `post`."},enabled:m("Whether the form is enabled or not. The default value is `true`."),_data_url:Xe("when we have an api bound data prop, we inject the url here")},events:{submit:m("The form infrastructure fires this event when the form is submitted. The event argument is the current `data` value to save."),cancel:m("The form infrastructure fires this event when the form is canceled."),reset:m("The form infrastructure fires this event when the form is reset.")},contextVars:{$data:m("This property represents the value of the form data. You can access the fields of the form using the IDs in the `bindTo` property of nested `FormItem` instances. `$data` also provides an `update` method as a shortcut to the Form's exposed `update` method.")},apis:{reset:m("Call this event to reset the form to its initial state."),update:m("You can pass a data object to update the form data. The properties in the passed data object are updated to their values accordingly. Other form properties remain intact.")},themeVars:Y(Ka.themeVars),defaultThemeVars:{"gap-Form":"$space-4","gap-buttonRow-Form":"$space-4","backgroundColor-ValidationDisplay-error":"$color-danger-100","backgroundColor-ValidationDisplay-warning":"$color-warn-100","backgroundColor-ValidationDisplay-info":"$color-primary-100","backgroundColor-ValidationDisplay-valid":"$color-success-100","color-accent-ValidationDisplay-error":"$color-error","color-accent-ValidationDisplay-warning":"$color-warning","color-accent-ValidationDisplay-info":"$color-info","color-accent-ValidationDisplay-valid":"$color-valid","textColor-ValidationDisplay-error":"$color-error","textColor-ValidationDisplay-warning":"$color-warning","textColor-ValidationDisplay-info":"$color-info","textColor-ValidationDisplay-valid":"$color-valid"}},li=1,Mo=2,Sc=3,kc=5,wc=6,Yl=7,Ic=8,Bc=9,$c=10,Oc=11,Lc=12,_c=13,Vc=14,Do=15,ma=16,Ac=17,Wc=18,Nc=19,ni=20,zc=100,pt=101,Gr=102,Ec=103,Pc=104,Mc=105,Dc=106,je=107,Rc=108,wt=109,jr=110,Xr=111,Yr=112,Fc=113,Ro=114,si=115,Uc=116,qc=117,Gc=118,Zl=200,di=201,mr=202,Br=203,jc=204;class Ql{constructor(r){this.source=r,this._pos=0,this._line=1,this._column=0}get position(){return this._pos}get line(){return this._line}get column(){return this._column}peek(){return this.ahead(0)}ahead(r=1){return this._pos+r>this.source.length-1?null:this.source[this._pos+r]}get(){if(this._pos>=this.source.length)return null;const r=this.source[this._pos++];return r===`
2
- `?(this._line++,this._column=0):this._column++,r}getTail(r){var t;return((t=this.source)==null?void 0:t.substring(r))??""}}var u=(e=>(e[e.Eof=-1]="Eof",e[e.Ws=-2]="Ws",e[e.BlockComment=-3]="BlockComment",e[e.EolComment=-4]="EolComment",e[e.Unknown=0]="Unknown",e[e.LParent=1]="LParent",e[e.RParent=2]="RParent",e[e.Identifier=3]="Identifier",e[e.Exponent=4]="Exponent",e[e.Divide=5]="Divide",e[e.Multiply=6]="Multiply",e[e.Remainder=7]="Remainder",e[e.Plus=8]="Plus",e[e.Minus=9]="Minus",e[e.BitwiseXor=10]="BitwiseXor",e[e.BitwiseOr=11]="BitwiseOr",e[e.LogicalOr=12]="LogicalOr",e[e.BitwiseAnd=13]="BitwiseAnd",e[e.LogicalAnd=14]="LogicalAnd",e[e.IncOp=15]="IncOp",e[e.DecOp=16]="DecOp",e[e.Assignment=17]="Assignment",e[e.AddAssignment=18]="AddAssignment",e[e.SubtractAssignment=19]="SubtractAssignment",e[e.ExponentAssignment=20]="ExponentAssignment",e[e.MultiplyAssignment=21]="MultiplyAssignment",e[e.DivideAssignment=22]="DivideAssignment",e[e.RemainderAssignment=23]="RemainderAssignment",e[e.ShiftLeftAssignment=24]="ShiftLeftAssignment",e[e.ShiftRightAssignment=25]="ShiftRightAssignment",e[e.SignedShiftRightAssignment=26]="SignedShiftRightAssignment",e[e.BitwiseAndAssignment=27]="BitwiseAndAssignment",e[e.BitwiseXorAssignment=28]="BitwiseXorAssignment",e[e.BitwiseOrAssignment=29]="BitwiseOrAssignment",e[e.LogicalAndAssignment=30]="LogicalAndAssignment",e[e.LogicalOrAssignment=31]="LogicalOrAssignment",e[e.NullCoalesceAssignment=32]="NullCoalesceAssignment",e[e.Semicolon=33]="Semicolon",e[e.Comma=34]="Comma",e[e.Colon=35]="Colon",e[e.LSquare=36]="LSquare",e[e.RSquare=37]="RSquare",e[e.QuestionMark=38]="QuestionMark",e[e.NullCoalesce=39]="NullCoalesce",e[e.OptionalChaining=40]="OptionalChaining",e[e.BinaryNot=41]="BinaryNot",e[e.LBrace=42]="LBrace",e[e.RBrace=43]="RBrace",e[e.Equal=44]="Equal",e[e.StrictEqual=45]="StrictEqual",e[e.LogicalNot=46]="LogicalNot",e[e.NotEqual=47]="NotEqual",e[e.StrictNotEqual=48]="StrictNotEqual",e[e.LessThan=49]="LessThan",e[e.LessThanOrEqual=50]="LessThanOrEqual",e[e.ShiftLeft=51]="ShiftLeft",e[e.GreaterThan=52]="GreaterThan",e[e.GreaterThanOrEqual=53]="GreaterThanOrEqual",e[e.ShiftRight=54]="ShiftRight",e[e.SignedShiftRight=55]="SignedShiftRight",e[e.Dot=56]="Dot",e[e.Spread=57]="Spread",e[e.Global=58]="Global",e[e.Backtick=59]="Backtick",e[e.DollarLBrace=60]="DollarLBrace",e[e.Arrow=61]="Arrow",e[e.DecimalLiteral=62]="DecimalLiteral",e[e.HexadecimalLiteral=63]="HexadecimalLiteral",e[e.BinaryLiteral=64]="BinaryLiteral",e[e.RealLiteral=65]="RealLiteral",e[e.StringLiteral=66]="StringLiteral",e[e.Infinity=67]="Infinity",e[e.NaN=68]="NaN",e[e.True=69]="True",e[e.False=70]="False",e[e.Typeof=71]="Typeof",e[e.Null=72]="Null",e[e.Undefined=73]="Undefined",e[e.In=74]="In",e[e.Let=75]="Let",e[e.Const=76]="Const",e[e.Var=77]="Var",e[e.If=78]="If",e[e.Else=79]="Else",e[e.Return=80]="Return",e[e.Break=81]="Break",e[e.Continue=82]="Continue",e[e.Do=83]="Do",e[e.While=84]="While",e[e.For=85]="For",e[e.Of=86]="Of",e[e.Try=87]="Try",e[e.Catch=88]="Catch",e[e.Finally=89]="Finally",e[e.Throw=90]="Throw",e[e.Switch=91]="Switch",e[e.Case=92]="Case",e[e.Default=93]="Default",e[e.Delete=94]="Delete",e[e.Function=95]="Function",e[e.As=96]="As",e[e.From=97]="From",e))(u||{});class Jl{constructor(r){this.input=r,this._ahead=[],this._prefetched=null,this._prefetchedPos=null,this._prefetchedColumn=null,this._lastFetchPosition=0,this._phaseExternallySet=null}peek(r=!1){return this.ahead(0,r)}ahead(r=1,t=!1){if(r>16)throw new Error("Cannot look ahead more than 16 tokens");for(;this._ahead.length<=r;){const o=this.fetch();if(Kl(o))return o;(t||!t&&!en(o))&&this._ahead.push(o)}return this._ahead[r]}get(r=!1){if(this._ahead.length>0){const t=this._ahead.shift();if(!t)throw new Error("Token expected");return t}for(;;){const t=this.fetch();if(Kl(t)||r||!r&&!en(t))return t}}getRegEx(){return this.fetchRegEx()}getTail(){return this._ahead.length>0?this.input.getTail(this._ahead[0].startPosition):this.input.getTail(this._lastFetchPosition)}setStartingPhaseToTemplateLiteral(){this._phaseExternallySet=34}fetchNextChar(){return this._prefetched||(this._prefetchedPos=this.input.position,this._prefetchedColumn=this.input.column,this._prefetched=this.input.get()),this._prefetched}fetch(){const r=this,t=this.input,o=this._prefetchedPos||t.position,a=t.line,l=this._prefetchedColumn||t.column;this._lastFetchPosition=this.input.position;let i=null,n="",c=u.Eof,b=t.position,h=t.column,p=null,C=!1,x=this.getStartingPhaseThenReset();for(;;){if(p=this.fetchNextChar(),p===null)return T();c===u.Eof&&(c=u.Unknown);e:switch(x){case 0:switch(p){case" ":case" ":case`
3
- `:case"\r":x=1,c=u.Ws;break;case"/":x=5,c=u.Divide;break;case"$":x=6,c=u.Identifier;break;case"*":x=8,c=u.Multiply;break;case"%":x=54,c=u.Remainder;break;case"+":x=51,c=u.Plus;break;case"-":x=52,c=u.Minus;break;case"^":x=58,c=u.BitwiseXor;break;case"|":x=7,c=u.BitwiseOr;break;case"&":x=9,c=u.BitwiseAnd;break;case"?":x=22,c=u.QuestionMark;break;case";":return y(u.Semicolon);case",":return y(u.Comma);case"(":return y(u.LParent);case")":return y(u.RParent);case":":x=20,c=u.Colon;break;case"`":return y(u.Backtick);case"[":return y(u.LSquare);case"]":return y(u.RSquare);case"~":return y(u.BinaryNot);case"{":return y(u.LBrace);case"}":return y(u.RBrace);case"=":x=10,c=u.Assignment;break;case"!":x=13,c=u.LogicalNot;break;case"<":x=14,c=u.LessThan;break;case">":x=15,c=u.GreaterThan;break;case"0":x=21,c=u.DecimalLiteral;break;case".":x=18,c=u.Dot;break;case'"':case"'":i=p,x=35;break;default:tn(p)?(C=!0,x=17,c=u.Identifier):ar(p)?(x=27,c=u.DecimalLiteral):y(u.Unknown);break}break;case 1:if(p!==" "&&p!==" "&&p!=="\r"&&p!==`
4
- `)return T();break;case 3:p==="*"&&(x=4);break;case 4:if(p==="/")return y(u.BlockComment);break;case 2:if(p===`
5
- `)return y();break;case 17:if(!rn(p))return T();break;case 20:return p===":"?y(u.Global):T();case 5:if(p==="*")x=3;else if(p==="/")x=2,c=u.EolComment;else return p==="="?y(u.DivideAssignment):T();break;case 51:return p==="+"?y(u.IncOp):p==="="?y(u.AddAssignment):T();case 52:return p==="-"?y(u.DecOp):p==="="?y(u.SubtractAssignment):T();case 54:return p==="="?y(u.RemainderAssignment):T();case 58:return p==="="?y(u.BitwiseXorAssignment):T();case 7:if(p==="=")return y(u.BitwiseOrAssignment);if(p==="|"){x=59,c=u.LogicalOr;break}return T();case 59:return p==="="?y(u.LogicalOrAssignment):T();case 9:if(p==="=")return y(u.BitwiseAndAssignment);if(p==="&"){x=57,c=u.LogicalAnd;break}return T();case 57:return p==="="?y(u.LogicalAndAssignment):T();case 8:if(p==="*"){x=50,c=u.Exponent;break}else if(p==="=")return y(u.MultiplyAssignment);return T();case 50:return p==="="?y(u.ExponentAssignment):T();case 22:if(p==="?"){x=60,c=u.NullCoalesce;break}return p==="."?y(u.OptionalChaining):T();case 60:return p==="="?y(u.NullCoalesceAssignment):T();case 10:if(p===">")return y(u.Arrow);if(p==="="){x=11,c=u.Equal;break}return T();case 11:return p==="="?y(u.StrictEqual):T();case 13:if(p==="="){x=12,c=u.NotEqual;break}return T();case 12:return p==="="?y(u.StrictNotEqual):T();case 14:if(p==="=")return y(u.LessThanOrEqual);if(p==="<"){x=55,c=u.ShiftLeft;break}return T();case 55:return p==="="?y(u.ShiftLeftAssignment):T();case 15:if(p==="=")return y(u.GreaterThanOrEqual);if(p===">"){x=16,c=u.SignedShiftRight;break}return T();case 16:if(p===">"){x=56,c=u.ShiftRight;break}return p==="="?y(u.SignedShiftRightAssignment):T();case 56:return p==="="?y(u.ShiftRightAssignment):T();case 21:if(p==="x")x=23,c=u.Unknown;else if(p==="b")x=25,c=u.Unknown;else if(ar(p)||p==="_")x=27;else if(p===".")x=28,c=u.Unknown;else if(p==="e"||p==="E")x=30,c=u.Unknown;else return T();break;case 18:if(p==="."){x=19,c=u.Unknown;break}if(!ar(p))return T();x=29,c=u.RealLiteral;break;case 19:return p==="."?y(u.Spread):T();case 23:if(p==="_")break;if(!ht(p))return T();x=24,c=u.HexadecimalLiteral;break;case 24:if(!ht(p)&&p!=="_")return T();break;case 25:if(p==="_")break;if(!on(p))return T();x=26,c=u.BinaryLiteral;break;case 26:if(!on(p)&&p!=="_")return T();c=u.BinaryLiteral;break;case 27:if(ar(p)||p==="_")break;if(p==="."&&(this.input.peek()===null||ar(this.input.peek())))x=28,c=u.Unknown;else if(p==="e"||p==="E")x=30,c=u.Unknown;else return T();break;case 28:if(ar(p))x=29,c=u.RealLiteral;else if(p==="e"||p==="E")x=30;else return T();break;case 29:if(p==="e"||p==="E")x=30,c=u.Unknown;else if(!ar(p)&&p!=="_")return T();break;case 30:if(p==="+"||p==="-")x=31;else if(ar(p))x=32,c=u.RealLiteral;else return T();break;case 31:if(ar(p))x=32,c=u.RealLiteral;else return T();break;case 32:if(!ar(p))return T();break;case 6:if(p==="{")return y(u.DollarLBrace);x=17,C=!0,c=u.Identifier,rn(p)||T();break;case 33:{x=34;const O=this.input.ahead(0),V=this.input.ahead(1);if(O==="`"||O==="$"&&V==="{")return y(u.StringLiteral);break}case 34:switch(p){case"\\":x=33,c=u.Unknown;break e;case"`":return y(u.Backtick);case"$":if(this.input.ahead(0)==="{")return g(),this.fetchNextChar(),y(u.DollarLBrace)}const $=this.input.ahead(0),w=this.input.ahead(1);if($==="`"||$==="$"&&w==="{")return y(u.StringLiteral);break;case 35:if(p===i)return y(u.StringLiteral);if(Xc(p))return y(u.Unknown);p==="\\"&&(x=36,c=u.Unknown);break;case 36:switch(p){case"b":case"f":case"n":case"r":case"t":case"v":case"S":case"0":case"'":case'"':case"`":case"\\":x=35;break;case"x":x=37;break;case"u":x=39;break;default:x=35;break}break;case 37:if(ht(p))x=38;else return y(u.Unknown);break;case 38:if(ht(p))x=35;else return y(u.Unknown);break;case 39:if(p==="{"){x=43;break}if(ht(p))x=40;else return y(u.Unknown);break;case 40:if(ht(p))x=41;else return y(u.Unknown);break;case 41:if(ht(p))x=42;else return y(u.Unknown);break;case 42:if(ht(p))x=35;else return y(u.Unknown);break;case 43:if(ht(p))x=44;else return y(u.Unknown);break;case 44:if(p==="}")x=35;else if(ht(p))x=45;else return y(u.Unknown);break;case 45:if(p==="}")x=35;else if(ht(p))x=46;else return y(u.Unknown);break;case 46:if(p==="}")x=35;else if(ht(p))x=47;else return y(u.Unknown);break;case 47:if(p==="}")x=35;else if(ht(p))x=48;else return y(u.Unknown);break;case 48:if(p==="}")x=35;else if(ht(p))x=49;else return y(u.Unknown);break;case 49:if(p==="}")x=35;else return y(u.Unknown);break;default:return T()}g()}function g(){n+=p,r._prefetched=null,r._prefetchedPos=null,r._prefetchedColumn=null,b=t.position,h=t.position}function T(){return C&&(c=ye.get(n)??(tn(n[0])&&n[n.length-1]!=="'"?u.Identifier:u.Unknown)),{text:n,type:c,startPosition:o,endPosition:b,startLine:a,endLine:a,startColumn:l,endColumn:h}}function y($){return g(),$!==void 0&&(c=$),T()}}getStartingPhaseThenReset(){if(this._phaseExternallySet!==null){const r=this._phaseExternallySet;return this._phaseExternallySet=null,r}return 0}fetchRegEx(){const r=this._ahead.length>0?this._ahead[0].startPosition:this._lastFetchPosition,t=this.input.getTail(r);try{const o=Wi.parseRegExpLiteral(t),a=o.raw;for(let l=1;l<a.length;l++)this.fetchNextChar(),this._prefetched=null,this._prefetchedPos=null,this._prefetchedColumn=null;return this._ahead.length=0,{success:!0,pattern:o.pattern.raw,flags:o.flags.raw,length:a.length}}catch(o){let a=o.index;if(o.toString().includes("Invalid flag"))for(;a<t.length&&"dgimsuy".includes(t[a]);)a++;if(a===void 0)return{success:!1,pattern:t[0]};const l=t.substring(0,a);try{const i=Wi.parseRegExpLiteral(l),n=i.raw;for(let c=1;c<n.length;c++)this.fetchNextChar(),this._prefetched=null,this._prefetchedPos=null,this._prefetchedColumn=null;return this._ahead.length=0,{success:!0,pattern:i.pattern.raw,flags:i.flags.raw,length:n.length}}catch{return{success:!1,pattern:l}}}}}const ye=new Map;ye.set("typeof",u.Typeof),ye.set("Infinity",u.Infinity),ye.set("NaN",u.NaN),ye.set("true",u.True),ye.set("false",u.False),ye.set("undefined",u.Undefined),ye.set("null",u.Null),ye.set("in",u.In),ye.set("let",u.Let),ye.set("const",u.Const),ye.set("var",u.Var),ye.set("if",u.If),ye.set("else",u.Else),ye.set("return",u.Return),ye.set("break",u.Break),ye.set("continue",u.Continue),ye.set("do",u.Do),ye.set("while",u.While),ye.set("for",u.For),ye.set("of",u.Of),ye.set("try",u.Try),ye.set("catch",u.Catch),ye.set("finally",u.Finally),ye.set("throw",u.Throw),ye.set("switch",u.Switch),ye.set("case",u.Case),ye.set("default",u.Default),ye.set("delete",u.Delete),ye.set("function",u.Function),ye.set("as",u.As),ye.set("from",u.From);function Kl(e){return e.type===u.Eof}function en(e){return e.type<=u.Ws}function tn(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="_"||e==="$"}function rn(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="_"||e==="$"}function on(e){return e==="0"||e==="1"}function ar(e){return e>="0"&&e<="9"}function ht(e){return e>="0"&&e<="9"||e>="A"&&e<="F"||e>="a"&&e<="f"}function Xc(e){return e==="\r"||e===`
6
- `||e==="…"||e==="\u2028"||e==="\u2029"}let Yc=class bs extends Error{constructor(r,t){super(r),this.code=t,Object.setPrototypeOf(this,bs.prototype)}};const pa={W001:"An expression expected",W002:"Unexpected token: {0}",W003:"An identifier expected",W004:"'}' expected",W005:"']' expected",W006:"')' expected",W007:"Invalid object property name type",W008:"':' expected",W009:"'=' expected",W010:"Invalid argument list",W011:"For loop variable must be initialized",W012:"'{' expected",W013:"'catch' or 'finally' expected",W014:"'(' or expected",W015:"'case' or 'default' expected",W016:"'default' case can be used only once within a switch statement",W017:"Invalid sequence expression",W018:"Invalid object literal",W019:"Identifier '{0}' is already imported",W020:"Function '{0}' is already defined in the module",W021:"'{0}' is already exported from the module",W022:"Cannot find module '{0}'",W023:"Module '{0}' does not export '{1}'",W024:"'function' expected",W025:"'from' expected",W026:"A string literal expected",W027:"Cannot declare var ('{0}') in an imported module",W028:"Invalid statement used in a module.",W029:"An imported module can contain only exported functions",W030:"Nested declarations cannot be exported",W031:"An identifier in a declaration cannot start with '$'"},Zr={[u.Eof]:{},[u.Ws]:{},[u.DollarLBrace]:{},[u.Backtick]:{expressionStart:!0},[u.BlockComment]:{},[u.EolComment]:{},[u.Unknown]:{},[u.LParent]:{expressionStart:!0},[u.RParent]:{},[u.Identifier]:{expressionStart:!0,keywordLike:!0,isPropLiteral:!0},[u.Exponent]:{},[u.Divide]:{},[u.Multiply]:{},[u.Remainder]:{},[u.Plus]:{expressionStart:!0,canBeUnary:!0},[u.Minus]:{expressionStart:!0,canBeUnary:!0},[u.BitwiseXor]:{},[u.BitwiseOr]:{},[u.LogicalOr]:{},[u.BitwiseAnd]:{},[u.LogicalAnd]:{},[u.Assignment]:{isAssignment:!0},[u.AddAssignment]:{isAssignment:!0},[u.SubtractAssignment]:{isAssignment:!0},[u.ExponentAssignment]:{isAssignment:!0},[u.MultiplyAssignment]:{isAssignment:!0},[u.DivideAssignment]:{isAssignment:!0},[u.RemainderAssignment]:{isAssignment:!0},[u.ShiftLeftAssignment]:{isAssignment:!0},[u.ShiftRightAssignment]:{isAssignment:!0},[u.SignedShiftRightAssignment]:{isAssignment:!0},[u.BitwiseAndAssignment]:{isAssignment:!0},[u.BitwiseXorAssignment]:{isAssignment:!0},[u.BitwiseOrAssignment]:{isAssignment:!0},[u.LogicalAndAssignment]:{isAssignment:!0},[u.LogicalOrAssignment]:{isAssignment:!0},[u.NullCoalesceAssignment]:{isAssignment:!0},[u.Semicolon]:{},[u.Comma]:{},[u.Colon]:{},[u.LSquare]:{expressionStart:!0},[u.RSquare]:{},[u.QuestionMark]:{},[u.NullCoalesce]:{},[u.OptionalChaining]:{},[u.BinaryNot]:{expressionStart:!0,canBeUnary:!0},[u.LBrace]:{expressionStart:!0},[u.RBrace]:{},[u.Equal]:{},[u.StrictEqual]:{},[u.LogicalNot]:{expressionStart:!0,canBeUnary:!0},[u.NotEqual]:{},[u.StrictNotEqual]:{},[u.LessThan]:{},[u.LessThanOrEqual]:{},[u.ShiftLeft]:{},[u.GreaterThan]:{},[u.GreaterThanOrEqual]:{},[u.ShiftRight]:{},[u.SignedShiftRight]:{},[u.Dot]:{},[u.Spread]:{expressionStart:!0,isPropLiteral:!0},[u.Global]:{expressionStart:!0},[u.DecimalLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.HexadecimalLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.BinaryLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.RealLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.StringLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.IncOp]:{expressionStart:!0},[u.DecOp]:{expressionStart:!0},[u.Infinity]:{expressionStart:!0,keywordLike:!0},[u.NaN]:{expressionStart:!0,keywordLike:!0},[u.True]:{expressionStart:!0,keywordLike:!0,isPropLiteral:!0},[u.False]:{expressionStart:!0,keywordLike:!0,isPropLiteral:!0},[u.Typeof]:{expressionStart:!0,canBeUnary:!0,keywordLike:!0},[u.Null]:{expressionStart:!0,keywordLike:!0},[u.Undefined]:{expressionStart:!0,keywordLike:!0},[u.In]:{keywordLike:!0},[u.Let]:{keywordLike:!0},[u.Const]:{keywordLike:!0},[u.Var]:{keywordLike:!0},[u.If]:{keywordLike:!0},[u.Else]:{keywordLike:!0},[u.Arrow]:{keywordLike:!0},[u.Return]:{keywordLike:!0},[u.Break]:{keywordLike:!0},[u.Continue]:{keywordLike:!0},[u.Do]:{keywordLike:!0},[u.While]:{keywordLike:!0},[u.For]:{keywordLike:!0},[u.Of]:{keywordLike:!0},[u.Throw]:{keywordLike:!0},[u.Try]:{keywordLike:!0},[u.Catch]:{keywordLike:!0},[u.Finally]:{keywordLike:!0},[u.Switch]:{keywordLike:!0},[u.Case]:{keywordLike:!0},[u.Default]:{keywordLike:!0},[u.Delete]:{expressionStart:!0,canBeUnary:!0,keywordLike:!0},[u.Function]:{keywordLike:!0,expressionStart:!0},[u.As]:{keywordLike:!0},[u.From]:{keywordLike:!0}};let Zc=0;function ha(){return++Zc}class ui{constructor(r){this._parseErrors=[],this._statementLevel=0,this._lexer=new Jl(new Ql(r??""))}setSource(r){this._lexer=new Jl(new Ql(r))}get errors(){return this._parseErrors}get current(){return this._lexer.peek()}get isEof(){return this._lexer.peek().type===u.Eof}getTail(){return this._lexer.getTail()}parseStatements(){this._statementLevel=0;const r=[];for(;!this.isEof;){const t=this.parseStatement();if(!t)return null;r.push(t),t.type!==Mo&&this.skipToken(u.Semicolon)}return r}parseStatement(r=!0){this._statementLevel++;try{const t=this._lexer.peek();switch(t.type){case u.Semicolon:return this.parseEmptyStatement();case u.Let:return this.parseLetStatement();case u.Const:return this.parseConstStatement();case u.Var:return this.parseVarStatement();case u.LBrace:return this.parseBlockStatement();case u.If:return this.parseIfStatement();case u.Do:return this.parseDoWhileStatement();case u.While:return this.parseWhileStatement();case u.Return:return this.parseReturnStatement();case u.Break:return this._lexer.get(),this.createStatementNode($c,{},t,t);case u.Continue:return this._lexer.get(),this.createStatementNode(Oc,{},t,t);case u.For:return this.parseForStatement();case u.Throw:return this.parseThrowStatement();case u.Try:return this.parseTryStatement();case u.Switch:return this.parseSwitchStatement();case u.Function:return this.parseFunctionDeclaration();default:return this.isExpressionStart(t)?this.parseExpressionStatement(r):(this.reportError("W002",t,t.text),null)}}finally{this._statementLevel--}}parseEmptyStatement(){const r=this._lexer.get();return this.createStatementNode(Mo,{},r,r)}parseExpressionStatement(r=!0){const t=this._lexer.peek(),o=this.getExpression(r);return o?this.createStatementNode(Sc,{expr:o},t,o.endToken):null}parseLetStatement(){const r=this._lexer.get();let t=r;const o=[];for(;;){const a=this._lexer.peek();let l={};if(a.type===u.LBrace){t=this._lexer.ahead(1);const c=this.parseObjectDestructure();if(c===null)return null;l={oDestr:c},t=c.length>0?c[c.length-1].endToken:t}else if(a.type===u.LSquare){t=this._lexer.ahead(1);const c=this.parseArrayDestructure();if(c===null)return null;l={aDestr:c},t=c.length>0?c[c.length-1].endToken:t}else if(a.type===u.Identifier){if(a.text.startsWith("$"))return this.reportError("W031"),null;t=this._lexer.get(),l={id:a.text}}else return this.reportError("W003"),null;const i=this._lexer.peek();let n=null;if(i.type===u.Assignment){if(this._lexer.get(),n=this.getExpression(!1),n===null)return null;l.expr=n,t=n.endToken}else if(l.aDestr||l.oDestr)return this.reportError("W009",i),null;if(o.push(this.createExpressionNode(Zl,l,a,t)),this._lexer.peek().type!==u.Comma)break;this._lexer.get()}return this.createStatementNode(kc,{decls:o},r,t)}parseConstStatement(){const r=this._lexer.get();let t=r;const o=[];for(;;){const a=this._lexer.peek();let l={};if(a.type===u.LBrace){t=this._lexer.ahead(1);const n=this.parseObjectDestructure();if(n===null)return null;l={oDestr:n},t=n.length>0?n[n.length-1].endToken:t}else if(a.type===u.LSquare){t=this._lexer.ahead(1);const n=this.parseArrayDestructure();if(n===null)return null;l={aDestr:n},t=n.length>0?n[n.length-1].endToken:t}else if(a.type===u.Identifier){if(a.text.startsWith("$"))return this.reportError("W031"),null;t=this._lexer.get(),l={id:a.text}}else return this.reportError("W003"),null;this.expectToken(u.Assignment);const i=this.getExpression(!1);if(i===null)return null;if(l.expr=i,t=i.endToken,o.push(this.createExpressionNode(Zl,l,a,t)),this._lexer.peek().type!==u.Comma)break;this._lexer.get()}return this.createStatementNode(wc,{decls:o},r,t)}parseVarStatement(){const r=this._lexer.get();let t=r;const o=[];for(;;){const a=this._lexer.peek();let l={};if(a.type===u.Identifier){if(a.text.startsWith("$"))return this.reportError("W031"),null;t=this._lexer.get(),l={id:{type:je,name:a.text,startToken:a,endToken:t}}}else return this.reportError("W003"),null;this.expectToken(u.Assignment);const i=this.getExpression(!1);if(i===null)return null;if(l.expr=i,t=i.endToken,o.push(this.createExpressionNode(Gc,l,a,t)),this._lexer.peek().type!==u.Comma)break;this._lexer.get()}return this.createStatementNode(Yl,{decls:o},r,t)}parseObjectDestructure(){const r=[],t=this._lexer.get();let o=t,a=this._lexer.peek();for(;a.type===u.Identifier;){const l=a.text;if(l.startsWith("$"))return this.reportError("W031"),null;let i,n,c;if(this._lexer.get(),a=this._lexer.peek(),a.type===u.Colon){if(this._lexer.get(),a=this._lexer.peek(),a.type===u.Identifier)i=a.text,o=a,this._lexer.get();else if(a.type===u.LSquare){if(n=this.parseArrayDestructure(),n===null)return null;o=n[n.length-1].endToken}else if(a.type===u.LBrace){if(c=this.parseObjectDestructure(),c===null)return null;o=c[c.length-1].endToken}}a=this._lexer.peek(),(a.type===u.Comma||a.type===u.RBrace)&&(r.push(this.createExpressionNode(Br,{id:l,alias:i,aDestr:n,oDestr:c},t,o)),a.type===u.Comma&&(this._lexer.get(),a=this._lexer.peek()))}return this.expectToken(u.RBrace,"W004"),r}parseArrayDestructure(){const r=[],t=this._lexer.get();let o=t;do{let a=this._lexer.peek(),l,i,n;if(a.type===u.Identifier){if(l=a.text,l.startsWith("$"))return this.reportError("W031"),null;o=a,a=this._lexer.get()}else if(a.type===u.LSquare){if(i=this.parseArrayDestructure(),i===null)return null;o=i[i.length-1].endToken}else if(a.type===u.LBrace){if(n=this.parseObjectDestructure(),n===null)return null;o=n[n.length-1].endToken}if(a=this._lexer.peek(),a.type===u.Comma)r.push(this.createExpressionNode(mr,{id:l,aDestr:i,oDestr:n},t,o)),this._lexer.get();else if(a.type===u.RSquare){(l||i||n)&&r.push(this.createExpressionNode(mr,{id:l,aDestr:i,oDestr:n},t,o));break}else return this.reportError("W002",a),null}while(!0);return this.expectToken(u.RSquare,"W005"),r}parseBlockStatement(){const r=this._lexer.get(),t=[];for(;this._lexer.peek().type!==u.RBrace;){const a=this.parseStatement();if(!a)return null;t.push(a),a.type!==Mo&&this.skipToken(u.Semicolon)}const o=this._lexer.get();return this.createStatementNode(li,{stmts:t},r,o)}parseIfStatement(){const r=this._lexer.get();let t=r;this.expectToken(u.LParent,"W014");const o=this.getExpression();if(!o)return null;this.expectToken(u.RParent,"W006");const a=this.parseStatement();if(!a)return null;t=a.endToken;let l=!0;a.type!==li&&(this._lexer.peek().type===u.Semicolon?this._lexer.get():l=!1);let i=null;if(l&&this._lexer.peek().type===u.Else){if(this._lexer.get(),i=this.parseStatement(),!i)return null;t=i.endToken}return this.createStatementNode(Ic,{cond:o,thenB:a,elseB:i},r,t)}parseWhileStatement(){const r=this._lexer.get();this.expectToken(u.LParent,"W014");const t=this.getExpression();if(!t)return null;this.expectToken(u.RParent,"W006");const o=this.parseStatement();return o?this.createStatementNode(Lc,{cond:t,body:o},r,o.endToken):null}parseDoWhileStatement(){const r=this._lexer.get(),t=this.parseStatement();if(!t)return null;t.type!==li&&t.type!==Mo&&this.expectToken(u.Semicolon),this.expectToken(u.While),this.expectToken(u.LParent,"W014");const o=this.getExpression();if(!o)return null;const a=this._lexer.peek();return this.expectToken(u.RParent,"W006"),this.createStatementNode(_c,{cond:o,body:t},r,a)}parseReturnStatement(){const r=this._lexer.peek();let t=this._lexer.get(),o;if(Zr[this._lexer.peek().type].expressionStart){if(o=this.getExpression(),o===null)return null;t=o.endToken}return this.createStatementNode(Bc,{expr:o},r,t)}parseForStatement(){const r=this._lexer.peek();this._lexer.get(),this.expectToken(u.LParent,"W014");let t=this._lexer.peek();if(t.type===u.Identifier){if(this._lexer.ahead(1).type===u.In)return this.parseForInOfStatement(r,"none",t,Do);if(this._lexer.ahead(1).type===u.Of)return this.parseForInOfStatement(r,"none",t,ma)}else if(t.type===u.Let){const n=this._lexer.ahead(1);if(n.type===u.Identifier){const c=this._lexer.ahead(2);if(c.type===u.In)return this.parseForInOfStatement(r,"let",n,Do);if(c.type===u.Of)return this.parseForInOfStatement(r,"let",n,ma)}}else if(t.type===u.Const){const n=this._lexer.ahead(1);if(n.type===u.Identifier){const c=this._lexer.ahead(2);if(c.type===u.In)return this.parseForInOfStatement(r,"const",n,Do);if(c.type===u.Of)return this.parseForInOfStatement(r,"const",n,ma)}}let o;if(t=this._lexer.peek(),t.type===u.Semicolon)this._lexer.get();else if(t.type===u.Let){const n=this.parseLetStatement();if(n===null)return null;if(o=n,o.decls.some(c=>!c.expr))return this.reportError("W011"),null;this.expectToken(u.Semicolon)}else if(Zr[t.type].expressionStart){const n=this.parseExpressionStatement();if(n===null)return null;o=n,this.expectToken(u.Semicolon)}let a;if(t=this._lexer.peek(),t.type===u.Semicolon)this._lexer.get();else{if(a=this.getExpression(),a===null)return null;this.expectToken(u.Semicolon)}let l;if(t=this._lexer.peek(),t.type!==u.RParent&&(l=this.getExpression(),l===null))return null;this.expectToken(u.RParent,"W006");const i=this.parseStatement();return i?this.createStatementNode(Vc,{init:o,cond:a,upd:l,body:i},r,i.endToken):null}parseForInOfStatement(r,t,o,a){if(t!=="none"){if(o.text.startsWith("$"))return this.reportError("W031"),null;this._lexer.get()}this._lexer.get(),this._lexer.get();const l=this.getExpression(!0);this.expectToken(u.RParent,"W006");const i=this.parseStatement();return i?a===Do?this.createStatementNode(Do,{varB:t,id:{type:je,name:o.text,startToken:o,endToken:o},expr:l,body:i},r,i.endToken):this.createStatementNode(ma,{varB:t,id:{type:je,name:o.text,startToken:o,endToken:o},expr:l,body:i},r,i.endToken):null}parseThrowStatement(){const r=this._lexer.peek();this._lexer.get();let t;return t=this.getExpression(),t===null?null:this.createStatementNode(Ac,{expr:t},r,t.endToken)}parseTryStatement(){const r=this._lexer.peek();let t=this._lexer.get();const o=this,a=b();let l,i,n,c=this._lexer.peek();if(c.type===u.Catch){if(this._lexer.get(),c=this._lexer.peek(),c.type===u.LParent){if(this._lexer.get(),c=this._lexer.peek(),c.type!==u.Identifier)return this.reportError("W003",c),null;i={type:je,nodeId:ha(),name:c.text,startToken:c,endToken:c},this._lexer.get(),this.expectToken(u.RParent,"W006")}l=b(),t=l.endToken,this._lexer.peek().type===u.Finally&&(this._lexer.get(),n=b(),t=n.endToken)}else if(c.type===u.Finally)this._lexer.get(),n=b(),t=n.endToken;else return this.reportError("W013",c),null;return this.createStatementNode(Wc,{tryB:a,catchB:l,catchV:i,finallyB:n},r,t);function b(){const h=o._lexer.peek();return h.type!==u.LBrace?(o.reportError("W012",h),null):o.parseBlockStatement()}}parseSwitchStatement(){const r=this._lexer.get();this.expectToken(u.LParent,"W014");const t=this.getExpression();if(!t)return null;this.expectToken(u.RParent,"W006"),this.expectToken(u.LBrace,"W012");const o=[];let a=!1;for(;;){let i=this._lexer.peek(),n;if(i.type===u.Case){if(this._lexer.get(),n=this.getExpression(),!n)return null}else if(i.type===u.Default){if(a)return this.reportError("W016"),null;a=!0,this._lexer.get()}else{if(i.type===u.RBrace)break;return this.reportError("W015"),null}this.expectToken(u.Colon,"W008");let c=[],b=!1;for(;!b;)switch(this._lexer.peek().type){case u.Case:case u.Default:case u.RBrace:b=!0;break;default:const p=this.parseStatement();if(p===null){b=!0;break}c.push(p),p.type!==Mo&&this.skipToken(u.Semicolon)}o.push(this.createNode(jc,{caseE:n,stmts:c},r))}const l=this._lexer.peek();return this.expectToken(u.RBrace,"W004"),this.createStatementNode(Nc,{expr:t,cases:o},r,l)}parseFunctionDeclaration(r=!1){const t=this._lexer.get();let o;const a=this._lexer.peek();if(r){if(a.type!==u.LParent){if(a.type!==u.Identifier)return this.reportError("W003",a),null;o=a.text,this._lexer.get()}}else{if(a.type!==u.Identifier)return this.reportError("W003",a),null;o=a.text,this._lexer.get()}const l=this._lexer.peek();if(l.type!==u.LParent)return this.reportError("W014",l),null;const i=this.getExpression(!0);let n;const c=[];switch(i.type){case Ro:n=!0;break;case je:n=(i.parenthesized??0)<=1,c.push(i);break;case Gr:n=i.parenthesized===1;let h=!1;if(n)for(const p of i.exprs){if(h){n=!1;break}switch(p.type){case je:n=!p.parenthesized,c.push(p);break;case Xr:{if(n=!p.parenthesized,n){const C=this.convertToObjectDestructure(p);C&&c.push(C)}break}case jr:{if(n=!p.parenthesized,n){const C=this.convertToArrayDestructure(p);C&&c.push(C)}break}case Yr:{if(h=!0,p.expr.type!==je){n=!1;break}c.push(p);break}default:n=!1;break}}break;case Xr:if(n=i.parenthesized===1,n){const p=this.convertToObjectDestructure(i);p&&c.push(p)}break;case jr:if(n=i.parenthesized===1,n){const p=this.convertToArrayDestructure(i);p&&c.push(p)}break;case Yr:if(i.expr.type!==je){n=!1;break}n=!0,c.push(i);break;default:n=!1}if(!n)return this.reportError("W010",t),null;if(this._lexer.peek().type!==u.LBrace)return this.reportError("W012",this._lexer.peek()),null;const b=this.parseBlockStatement();return b?this.createStatementNode(ni,{id:{type:je,name:o},args:c,stmt:b},t,b.endToken):null}parseExpr(r=!0){return r?this.parseSequenceExpression():this.parseCondOrSpreadOrAsgnOrArrowExpr()}parseSequenceExpression(){const r=this._lexer.peek();let t=r,o=this.parseCondOrSpreadOrAsgnOrArrowExpr();if(!o)return null;t=o.endToken;const a=[];let l=!1;if(this._lexer.peek().type===u.Comma)for(a.push(o);this.skipToken(u.Comma);)if(this._lexer.peek().type===u.Comma)l=!0,t=this._lexer.peek(),a.push(this.createExpressionNode(Ro,{},t,t));else{const i=this.parseCondOrSpreadOrAsgnOrArrowExpr();if(!i)break;t=i.endToken,a.push(i)}return a.length&&(o=this.createExpressionNode(Gr,{exprs:a,loose:l},r,t),l&&(o=this.convertToArrayDestructure(o))),o}parseCondOrSpreadOrAsgnOrArrowExpr(){const r=this._lexer.peek();if(r.type===u.Spread){this._lexer.get();const a=this.parseNullCoalescingExpr();return a?this.createExpressionNode(Yr,{expr:a},r,a.endToken):null}if(r.type===u.Function){const a=this.parseFunctionDeclaration(!0);return a?this.createExpressionNode(si,{name:a.id.name,args:a.args,statement:a.stmt},r,a.endToken):null}const t=this.parseNullCoalescingExpr();if(!t)return null;const o=this._lexer.peek();if(o.type===u.Arrow)return this.parseArrowExpression(r,t);if(o.type===u.QuestionMark){this._lexer.get();const a=this.getExpression(!1);this.expectToken(u.Colon);const l=this.getExpression(!1);return this.createExpressionNode(Ec,{cond:t,thenE:a,elseE:l},r,l.endToken)}if(Zr[o.type].isAssignment){this._lexer.get();const a=this.getExpression();return a?this.createExpressionNode(Fc,{leftValue:t,op:o.text,expr:a},r,a.endToken):null}return t}parseArrowExpression(r,t){let o;const a=[];switch(t.type){case Ro:o=!0;break;case je:o=(t.parenthesized??0)<=1,a.push(t);break;case Gr:o=t.parenthesized===1;let i=!1;if(o)for(const n of t.exprs){if(i){o=!1;break}switch(n.type){case je:o=!n.parenthesized,a.push(n);break;case Xr:{if(o=!n.parenthesized,o){const c=this.convertToObjectDestructure(n);c&&a.push(c)}break}case jr:{if(o=!n.parenthesized,o){const c=this.convertToArrayDestructure(n);c&&a.push(c)}break}case Yr:{if(i=!0,n.expr.type!==je){o=!1;break}a.push(n);break}default:o=!1;break}}break;case Xr:if(o=t.parenthesized===1,o){const n=this.convertToObjectDestructure(t);n&&a.push(n)}break;case jr:if(o=t.parenthesized===1,o){const n=this.convertToArrayDestructure(t);n&&a.push(n)}break;case Yr:o=t.expr.type===je,o&&a.push(t);break;default:o=!1}if(!o)return this.reportError("W010",r),null;this._lexer.get();const l=this.parseStatement(!1);return l?this.createExpressionNode(si,{args:a,statement:l},r,l.endToken):null}parseNullCoalescingExpr(){const r=this._lexer.peek();let t=this.parseLogicalOrExpr();if(!t)return null;for(;this.skipToken(u.NullCoalesce);){const o=this.parseLogicalOrExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;t=this.createExpressionNode(pt,{op:"??",left:t,right:o},r,a)}return t}parseLogicalOrExpr(){const r=this._lexer.peek();let t=this.parseLogicalAndExpr();if(!t)return null;for(;this.skipToken(u.LogicalOr);){const o=this.parseLogicalAndExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;t=this.createExpressionNode(pt,{op:"||",left:t,right:o},r,a)}return t}parseLogicalAndExpr(){const r=this._lexer.peek();let t=this.parseBitwiseOrExpr();if(!t)return null;for(;this.skipToken(u.LogicalAnd);){const o=this.parseBitwiseOrExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;t=this.createExpressionNode(pt,{op:"&&",left:t,right:o},r,a)}return t}parseBitwiseOrExpr(){const r=this._lexer.peek();let t=this.parseBitwiseXorExpr();if(!t)return null;for(;this.skipToken(u.BitwiseOr);){const o=this.parseBitwiseXorExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;t=this.createExpressionNode(pt,{op:"|",left:t,right:o},r,a)}return t}parseBitwiseXorExpr(){const r=this._lexer.peek();let t=this.parseBitwiseAndExpr();if(!t)return null;for(;this.skipToken(u.BitwiseXor);){const o=this.parseBitwiseAndExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;t=this.createExpressionNode(pt,{op:"^",left:t,right:o},r,a)}return t}parseBitwiseAndExpr(){const r=this._lexer.peek();let t=this.parseEquExpr();if(!t)return null;for(;this.skipToken(u.BitwiseAnd);){const o=this.parseEquExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;t=this.createExpressionNode(pt,{op:"&",left:t,right:o},r,a)}return t}parseEquExpr(){const r=this._lexer.peek();let t=this.parseRelOrInExpr();if(!t)return null;let o;for(;o=this.skipTokens(u.Equal,u.StrictEqual,u.NotEqual,u.StrictNotEqual);){const a=this.parseRelOrInExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;t=this.createExpressionNode(pt,{op:o.text,left:t,right:a},r,l)}return t}parseRelOrInExpr(){const r=this._lexer.peek();let t=this.parseShiftExpr();if(!t)return null;let o;for(;o=this.skipTokens(u.LessThan,u.LessThanOrEqual,u.GreaterThan,u.GreaterThanOrEqual,u.In);){const a=this.parseShiftExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;t=this.createExpressionNode(pt,{op:o.text,left:t,right:a},r,l)}return t}parseShiftExpr(){const r=this._lexer.peek();let t=this.parseAddExpr();if(!t)return null;let o;for(;o=this.skipTokens(u.ShiftLeft,u.ShiftRight,u.SignedShiftRight);){const a=this.parseAddExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;t=this.createExpressionNode(pt,{op:o.text,left:t,right:a},r,l)}return t}parseAddExpr(){const r=this._lexer.peek();let t=this.parseMultExpr();if(!t)return null;let o;for(;o=this.skipTokens(u.Plus,u.Minus);){const a=this.parseMultExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;t=this.createExpressionNode(pt,{op:o.text,left:t,right:a},r,l)}return t}parseMultExpr(){const r=this._lexer.peek();let t=this.parseExponentialExpr();if(!t)return null;let o;for(;o=this.skipTokens(u.Multiply,u.Divide,u.Remainder);){const a=this.parseExponentialExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;t=this.createExpressionNode(pt,{op:o.text,left:t,right:a},r,l)}return t}parseExponentialExpr(){const r=this._lexer.peek();let t=this.parseUnaryOrPrefixExpr();if(!t)return null;let o,a=0;for(;o=this.skipToken(u.Exponent);){let l=this.parseUnaryOrPrefixExpr();if(!l)return this.reportError("W001"),null;let i=l.endToken;if(a===0)t=this.createExpressionNode(pt,{op:o.text,left:t,right:l},r,i);else{const n=t;t=this.createExpressionNode(pt,{op:o.text,left:n.left,right:{type:pt,op:o.text,left:n.right,right:l}},r,i)}a++}return t}parseUnaryOrPrefixExpr(){const r=this._lexer.peek();if(Zr[r.type].canBeUnary){this._lexer.get();const t=this.parseUnaryOrPrefixExpr();return t?this.createExpressionNode(zc,{op:r.text,expr:t},r,t.endToken):null}if(r.type===u.IncOp||r.type===u.DecOp){this._lexer.get();const t=this.parseMemberOrInvocationExpr();return t?this.createExpressionNode(Uc,{op:r.text,expr:t},r,t.endToken):null}return this.parseMemberOrInvocationExpr()}parseMemberOrInvocationExpr(){const r=this._lexer.peek();let t=this.parsePrimaryExpr();if(!t)return null;let o=!1;do{const l=this._lexer.peek();switch(l.type){case u.LParent:{this._lexer.get();let h=[];if(this._lexer.peek().type!==u.RParent){const C=this.parseExpr();if(!C)return this.reportError("W001"),null;h=C.type===Gr?C.exprs:[C]}const p=this._lexer.peek();this.expectToken(u.RParent,"W006"),t=this.createExpressionNode(Pc,{obj:t,arguments:h},r,p);break}case u.Dot:case u.OptionalChaining:this._lexer.get();const i=this._lexer.get();if(!Zr[i.type].keywordLike)return this.reportError("W003"),null;t=this.createExpressionNode(Mc,{obj:t,member:i.text,opt:l.type===u.OptionalChaining},r,i);break;case u.LSquare:this._lexer.get();const c=this.getExpression();if(!c)return null;const b=this._lexer.peek();this.expectToken(u.RSquare,"W005"),t=this.createExpressionNode(Dc,{obj:t,member:c},r,b);break;default:o=!0;break}}while(!o);const a=this._lexer.peek();return a.type===u.IncOp||a.type===u.DecOp?(this._lexer.get(),this.createExpressionNode(qc,{op:a.text,expr:t},r,a)):t}parsePrimaryExpr(){const r=this._lexer.peek();switch(r.type){case u.LParent:if(this._lexer.get(),this._lexer.peek().type===u.RParent){const a=this._lexer.get();return this.createExpressionNode(Ro,{},r,a)}let t=this.parseExpr();if(!t)return null;const o=this._lexer.peek();return this.expectToken(u.RParent,"W006"),{...t,parenthesized:(t.parenthesized??0)+1,startToken:r,endToken:o};case u.Identifier:{const a=this._lexer.get();return this.createExpressionNode(je,{name:a.text},a,a)}case u.Global:{this._lexer.get();const a=this._lexer.get();return a.type!==u.Identifier?(this.reportError("W003"),null):this.createExpressionNode(je,{name:a.text,isGlobal:!0},a,a)}case u.Backtick:return this.parseTemplateLiteral();case u.False:case u.True:return this._lexer.get(),this.createExpressionNode(wt,{value:r.type===u.True},r,r);case u.BinaryLiteral:return this._lexer.get(),this.parseBinaryLiteral(r);case u.DecimalLiteral:return this._lexer.get(),this.parseDecimalLiteral(r);case u.HexadecimalLiteral:return this._lexer.get(),this.parseHexadecimalLiteral(r);case u.RealLiteral:return this._lexer.get(),this.parseRealLiteral(r);case u.StringLiteral:return this._lexer.get(),this.parseStringLiteral(r);case u.Infinity:return this._lexer.get(),this.createExpressionNode(wt,{value:1/0},r,r);case u.NaN:return this._lexer.get(),this.createExpressionNode(wt,{value:NaN},r,r);case u.Null:return this._lexer.get(),this.createExpressionNode(wt,{value:null},r,r);case u.Undefined:return this._lexer.get(),this.createExpressionNode(wt,{value:void 0},r,r);case u.LSquare:return this.parseArrayLiteral();case u.LBrace:return this.parseObjectLiteral();case u.Divide:return this.parseRegExpLiteral()}return null}parseTemplateLiteral(){const r=this._lexer.get();this._lexer.setStartingPhaseToTemplateLiteral();const t=[];e:for(;;){let a=this._lexer.peek();switch(a.type){case u.StringLiteral:this._lexer.get();const l=this.parseStringLiteral(a,!1);t.push(l);break;case u.DollarLBrace:this._lexer.get();const i=this.parseExpr();t.push(i),this.expectToken(u.RBrace,"W004"),this._lexer.setStartingPhaseToTemplateLiteral();break;case u.Backtick:break e;default:this.reportError("W004")}}const o=this._lexer.get();return this.createExpressionNode(Rc,{segments:t},r,o)}parseArrayLiteral(){const r=this._lexer.get();let t=[];if(this._lexer.peek().type!==u.RSquare){const a=this.getExpression();a&&(t=a.type===Gr?a.exprs:[a])}const o=this._lexer.peek();return this.expectToken(u.RSquare),this.createExpressionNode(jr,{items:t},r,o)}parseObjectLiteral(){const r=this._lexer.get();let t=[];if(this._lexer.peek().type!==u.RBrace)for(;this._lexer.peek().type!==u.RBrace;){const a=this._lexer.peek(),l=Zr[a.type];let i;if(l.expressionStart)if(a.type===u.LSquare){if(this._lexer.get(),i=this.getExpression(),!i)return null;this.expectToken(u.RSquare,"W005"),i=this.createExpressionNode(Gr,{exprs:[i]},r)}else if(l.isPropLiteral){if(i=this.getExpression(!1),!i)return null;if(i.type!==je&&i.type!==wt&&i.type!==Yr)return this.reportError("W007"),null}else return this.reportError("W007"),null;else if(l.keywordLike)i={type:je,nodeId:ha(),name:a.text,startToken:a,endToken:a},this._lexer.get();else return this.reportError("W001"),null;const n=i.type;if(n===Yr)t.push(i);else{if(n===wt){const h=i.value;if(typeof h!="number"&&typeof h!="string")return this.expectToken(u.RBrace,"W007"),null}let b=null;if(n===je){const h=this._lexer.peek();(h.type===u.Comma||h.type===u.RBrace)&&(b={...i})}if(!b&&(this.expectToken(u.Colon,"W008"),b=this.getExpression(!1),!b))return null;t.push([i,b])}const c=this._lexer.peek().type;if(c===u.Comma)this._lexer.get();else if(c!==u.RBrace)break}const o=this._lexer.peek();return this.expectToken(u.RBrace,"W004"),this.createExpressionNode(Xr,{props:t},r,o)}parseRegExpLiteral(){const r=this._lexer.peek(),t=this._lexer.getRegEx();return t.success?this.createExpressionNode(wt,{value:new RegExp(t.pattern,t.flags)},r,this._lexer.peek()):(this.reportError("W002",r,t.pattern??""),null)}getExpression(r=!0){const t=this.parseExpr(r);return t||(this.reportError("W001"),null)}expectToken(r,t,o){const a=this._lexer.peek();return a.type===r||o&&a.type===u.Eof?this._lexer.get():(this.reportError(t??"W002",a,a.text),null)}skipToken(r){const t=this._lexer.peek();return t.type===r?(this._lexer.get(),t):null}skipTokens(...r){const t=this._lexer.peek();for(const o of r)if(t.type===o)return this._lexer.get(),t;return null}reportError(r,t,...o){let a=pa[r]??"Unkonwn error";throw o&&o.forEach((i,n)=>a=l(a,`{${n}}`,o[n].toString())),t||(t=this._lexer.peek()),this._parseErrors.push({code:r,text:a,line:t.startLine,column:t.startColumn}),new Yc(a,r);function l(i,n,c){do i=i.replace(n,c);while(i.includes(n));return i}}createNode(r,t,o,a){return a||(a=this._lexer.peek()),Object.assign({},t,{type:r,startToken:o,endToken:a})}createExpressionNode(r,t={},o,a){return a||(a=this._lexer.peek()),o||(o=a),Object.assign({},t,{type:r,nodeId:ha(),startToken:o,endToken:a})}createStatementNode(r,t,o,a){return Object.assign({},t,{type:r,nodeId:ha(),startToken:o,endToken:a})}parseBinaryLiteral(r){let t;const o=BigInt(r.text.replace(/[_']/g,""));return o<Number.MIN_SAFE_INTEGER||o>Number.MAX_SAFE_INTEGER?t=o:t=parseInt(r.text.substring(2).replace(/[_']/g,""),2),this.createExpressionNode(wt,{value:t},r,r)}parseDecimalLiteral(r){let t;const o=BigInt(r.text.replace(/[_']/g,""));return o<Number.MIN_SAFE_INTEGER||o>Number.MAX_SAFE_INTEGER?t=o:t=parseInt(r.text.replace(/[_']/g,""),10),this.createExpressionNode(wt,{value:t},r,r)}parseHexadecimalLiteral(r){let t;const o=BigInt(r.text.replace(/[_']/g,""));return o<Number.MIN_SAFE_INTEGER||o>Number.MAX_SAFE_INTEGER?t=o:t=parseInt(r.text.substring(2).replace(/[_']/g,""),16),this.createExpressionNode(wt,{value:t},r,r)}parseRealLiteral(r){let t=parseFloat(r.text.replace(/[_']/g,""));return this.createExpressionNode(wt,{value:t},r,r)}parseStringLiteral(r,t=!0){let o=r.text;t&&(o=r.text.length<2?"":o.substring(1,o.length-1));let a="",l=0,i=0;for(const c of o)switch(l){case 0:c==="\\"?l=1:a+=c;break;case 1:switch(l=0,c){case"b":a+="\b";break;case"f":a+="\f";break;case"n":a+=`
7
- `;break;case"r":a+="\r";break;case"t":a+=" ";break;case"v":a+="\v";break;case"S":a+=" ";break;case"0":a+="\0";break;case"'":a+="'";break;case'"':a+='"';break;case"\\":a+="\\";break;case"x":l=2;break;case"u":l=4;break;default:a+=c;break}break;case 2:n(c)?(i=parseInt(c,16),l=3):(a+="x",l=0);break;case 3:n(c)?(i=i*16+parseInt(c,16),a+=String.fromCharCode(i),l=0):(a+=String.fromCharCode(i),a+=c,l=0);break;case 4:if(c==="{"){l=8;break}n(c)?(i=parseInt(c,16),l=5):(a+="x",l=0);break;case 5:n(c)?(i=i*16+parseInt(c,16),l=6):(a+=String.fromCharCode(i),a+=c,l=0);break;case 6:n(c)?(i=i*16+parseInt(c,16),l=7):(a+=String.fromCharCode(i),a+=c,l=0);break;case 7:n(c)?(i=i*16+parseInt(c,16),a+=String.fromCharCode(i),l=0):(a+=String.fromCharCode(i),a+=c,l=0);break;case 8:n(c)?(i=parseInt(c,16),l=9):(a+="x",l=0);break;case 9:n(c)?(i=i*16+parseInt(c,16),l=10):(a+=String.fromCharCode(i),a+=c,l=0);break;case 10:n(c)?(i=i*16+parseInt(c,16),l=11):(a+=String.fromCharCode(i),a+=c,l=0);break;case 11:n(c)?(i=i*16+parseInt(c,16),l=12):(a+=String.fromCharCode(i),a+=c,l=0);break;case 12:n(c)?(i=i*16+parseInt(c,16),l=13):(a+=String.fromCharCode(i),a+=c,l=0);break;case 13:n(c)?(i=i*16+parseInt(c,16),l=14):(a+=String.fromCharCode(i),a+=c,l=0);break;case 14:a+=String.fromCharCode(i),c!=="}"&&(a+=c),l=0;break}switch(l){case 1:a+="\\";break;case 2:a+="x";break;case 3:a+=String.fromCharCode(i);break}return this.createExpressionNode(wt,{value:a},r,r);function n(c){return c>="0"&&c<="9"||c>="a"&&c<="f"||c>="A"&&c<="F"}}convertToArrayDestructure(r){var a;const t=r.type===Gr?r.exprs:r.items,o=this.createExpressionNode(di,{aDestr:[]},r.startToken,r.endToken);for(const l of t){let i;switch(l.type){case Ro:i=this.createExpressionNode(mr,{},l.startToken,l.endToken);break;case je:i=this.createExpressionNode(mr,{id:l.name},l.startToken,l.endToken);break;case di:o.aDestr.push(...l.aDestr);break;case mr:i=l;break;case jr:{const n=this.convertToArrayDestructure(l);n&&(i=this.createExpressionNode(mr,{aDestr:n.aDestr},l.startToken,l.endToken));break}case Br:i=this.createExpressionNode(mr,{oDestr:l},l.startToken,l.endToken);break;case Xr:{const n=this.convertToObjectDestructure(l);n&&(i=this.createExpressionNode(mr,{oDestr:n.oDestr},l.startToken,l.endToken));break}default:return this.reportError("W017"),null}i&&((a=o.aDestr)==null||a.push(i))}return o}convertToObjectDestructure(r){var o;const t=this.createExpressionNode(di,{oDestr:[]},r.startToken,r.endToken);for(const a of r.props){if(!Array.isArray(a))return reportError("W018"),null;const[l,i]=a;if(l.type!==je)return reportError("W018"),null;let n;switch(i.type){case je:i.name===l.name?n=this.createExpressionNode(Br,{id:l.name},i.startToken,i.endToken):n=this.createExpressionNode(Br,{id:l.name,alias:i.name},i.startToken,i.endToken);break;case mr:{n=this.createExpressionNode(Br,{id:l.name,aDestr:i},l.startToken,i.endToken);break}case jr:{const c=this.convertToArrayDestructure(i);c&&(n=this.createExpressionNode(Br,{id:l.name,aDestr:c.aDestr},l.startToken,i.endToken));break}case Br:n=i;break;case Xr:{const c=this.convertToObjectDestructure(i);c&&(n=this.createExpressionNode(Br,{id:l.name,oDestr:c.oDestr},l.startToken,i.endToken));break}default:return this.reportError("W018"),null}n&&((o=t.oDestr)==null||o.push(n))}return t}isExpressionStart(r){var t;return((t=Zr[r.type])==null?void 0:t.expressionStart)??!1}}function Qc(e,r){if(e==null)return r;if(typeof e=="number")return e!==0;if(typeof e=="string"){if(e=e.trim().toLowerCase(),e==="")return!1;if(e==="true")return!0;if(e==="false")return!1;if(e!=="")return!0}if(typeof e=="boolean")return e;throw new Error(`A boolean value expected but ${typeof e} received.`)}const Oe={themeVars:`'{"Input:gap-adornment-NumberBox": "var(--xmlui-gap-adornment-NumberBox)", "Input:borderRadius-NumberBox-default": "var(--xmlui-borderRadius-NumberBox-default)", "Input:borderColor-NumberBox-default": "var(--xmlui-borderColor-NumberBox-default)", "Input:borderWidth-NumberBox-default": "var(--xmlui-borderWidth-NumberBox-default)", "Input:borderStyle-NumberBox-default": "var(--xmlui-borderStyle-NumberBox-default)", "Input:fontSize-NumberBox-default": "var(--xmlui-fontSize-NumberBox-default)", "Input:backgroundColor-NumberBox-default": "var(--xmlui-backgroundColor-NumberBox-default)", "Input:boxShadow-NumberBox-default": "var(--xmlui-boxShadow-NumberBox-default)", "Input:textColor-NumberBox-default": "var(--xmlui-textColor-NumberBox-default)", "Input:borderColor-NumberBox-default--hover": "var(--xmlui-borderColor-NumberBox-default--hover)", "Input:backgroundColor-NumberBox-default--hover": "var(--xmlui-backgroundColor-NumberBox-default--hover)", "Input:boxShadow-NumberBox-default--hover": "var(--xmlui-boxShadow-NumberBox-default--hover)", "Input:textColor-NumberBox-default--hover": "var(--xmlui-textColor-NumberBox-default--hover)", "Input:borderColor-NumberBox-default--focus": "var(--xmlui-borderColor-NumberBox-default--focus)", "Input:backgroundColor-NumberBox-default--focus": "var(--xmlui-backgroundColor-NumberBox-default--focus)", "Input:boxShadow-NumberBox-default--focus": "var(--xmlui-boxShadow-NumberBox-default--focus)", "Input:textColor-NumberBox-default--focus": "var(--xmlui-textColor-NumberBox-default--focus)", "Input:outlineWidth-NumberBox-default--focus": "var(--xmlui-outlineWidth-NumberBox-default--focus)", "Input:outlineColor-NumberBox-default--focus": "var(--xmlui-outlineColor-NumberBox-default--focus)", "Input:outlineStyle-NumberBox-default--focus": "var(--xmlui-outlineStyle-NumberBox-default--focus)", "Input:outlineOffset-NumberBox-default--focus": "var(--xmlui-outlineOffset-NumberBox-default--focus)", "Input:textColor-placeholder-NumberBox-default": "var(--xmlui-textColor-placeholder-NumberBox-default)", "Input:textColor-adornment-NumberBox-default": "var(--xmlui-textColor-adornment-NumberBox-default)", "Input:borderRadius-NumberBox-error": "var(--xmlui-borderRadius-NumberBox-error)", "Input:borderColor-NumberBox-error": "var(--xmlui-borderColor-NumberBox-error)", "Input:borderWidth-NumberBox-error": "var(--xmlui-borderWidth-NumberBox-error)", "Input:borderStyle-NumberBox-error": "var(--xmlui-borderStyle-NumberBox-error)", "Input:fontSize-NumberBox-error": "var(--xmlui-fontSize-NumberBox-error)", "Input:backgroundColor-NumberBox-error": "var(--xmlui-backgroundColor-NumberBox-error)", "Input:boxShadow-NumberBox-error": "var(--xmlui-boxShadow-NumberBox-error)", "Input:textColor-NumberBox-error": "var(--xmlui-textColor-NumberBox-error)", "Input:borderColor-NumberBox-error--hover": "var(--xmlui-borderColor-NumberBox-error--hover)", "Input:backgroundColor-NumberBox-error--hover": "var(--xmlui-backgroundColor-NumberBox-error--hover)", "Input:boxShadow-NumberBox-error--hover": "var(--xmlui-boxShadow-NumberBox-error--hover)", "Input:textColor-NumberBox-error--hover": "var(--xmlui-textColor-NumberBox-error--hover)", "Input:borderColor-NumberBox-error--focus": "var(--xmlui-borderColor-NumberBox-error--focus)", "Input:backgroundColor-NumberBox-error--focus": "var(--xmlui-backgroundColor-NumberBox-error--focus)", "Input:boxShadow-NumberBox-error--focus": "var(--xmlui-boxShadow-NumberBox-error--focus)", "Input:textColor-NumberBox-error--focus": "var(--xmlui-textColor-NumberBox-error--focus)", "Input:outlineWidth-NumberBox-error--focus": "var(--xmlui-outlineWidth-NumberBox-error--focus)", "Input:outlineColor-NumberBox-error--focus": "var(--xmlui-outlineColor-NumberBox-error--focus)", "Input:outlineStyle-NumberBox-error--focus": "var(--xmlui-outlineStyle-NumberBox-error--focus)", "Input:outlineOffset-NumberBox-error--focus": "var(--xmlui-outlineOffset-NumberBox-error--focus)", "Input:textColor-placeholder-NumberBox-error": "var(--xmlui-textColor-placeholder-NumberBox-error)", "Input:textColor-adornment-NumberBox-error": "var(--xmlui-textColor-adornment-NumberBox-error)", "Input:borderRadius-NumberBox-warning": "var(--xmlui-borderRadius-NumberBox-warning)", "Input:borderColor-NumberBox-warning": "var(--xmlui-borderColor-NumberBox-warning)", "Input:borderWidth-NumberBox-warning": "var(--xmlui-borderWidth-NumberBox-warning)", "Input:borderStyle-NumberBox-warning": "var(--xmlui-borderStyle-NumberBox-warning)", "Input:fontSize-NumberBox-warning": "var(--xmlui-fontSize-NumberBox-warning)", "Input:backgroundColor-NumberBox-warning": "var(--xmlui-backgroundColor-NumberBox-warning)", "Input:boxShadow-NumberBox-warning": "var(--xmlui-boxShadow-NumberBox-warning)", "Input:textColor-NumberBox-warning": "var(--xmlui-textColor-NumberBox-warning)", "Input:borderColor-NumberBox-warning--hover": "var(--xmlui-borderColor-NumberBox-warning--hover)", "Input:backgroundColor-NumberBox-warning--hover": "var(--xmlui-backgroundColor-NumberBox-warning--hover)", "Input:boxShadow-NumberBox-warning--hover": "var(--xmlui-boxShadow-NumberBox-warning--hover)", "Input:textColor-NumberBox-warning--hover": "var(--xmlui-textColor-NumberBox-warning--hover)", "Input:borderColor-NumberBox-warning--focus": "var(--xmlui-borderColor-NumberBox-warning--focus)", "Input:backgroundColor-NumberBox-warning--focus": "var(--xmlui-backgroundColor-NumberBox-warning--focus)", "Input:boxShadow-NumberBox-warning--focus": "var(--xmlui-boxShadow-NumberBox-warning--focus)", "Input:textColor-NumberBox-warning--focus": "var(--xmlui-textColor-NumberBox-warning--focus)", "Input:outlineWidth-NumberBox-warning--focus": "var(--xmlui-outlineWidth-NumberBox-warning--focus)", "Input:outlineColor-NumberBox-warning--focus": "var(--xmlui-outlineColor-NumberBox-warning--focus)", "Input:outlineStyle-NumberBox-warning--focus": "var(--xmlui-outlineStyle-NumberBox-warning--focus)", "Input:outlineOffset-NumberBox-warning--focus": "var(--xmlui-outlineOffset-NumberBox-warning--focus)", "Input:textColor-placeholder-NumberBox-warning": "var(--xmlui-textColor-placeholder-NumberBox-warning)", "Input:textColor-adornment-NumberBox-warning": "var(--xmlui-textColor-adornment-NumberBox-warning)", "Input:borderRadius-NumberBox-success": "var(--xmlui-borderRadius-NumberBox-success)", "Input:borderColor-NumberBox-success": "var(--xmlui-borderColor-NumberBox-success)", "Input:borderWidth-NumberBox-success": "var(--xmlui-borderWidth-NumberBox-success)", "Input:borderStyle-NumberBox-success": "var(--xmlui-borderStyle-NumberBox-success)", "Input:fontSize-NumberBox-success": "var(--xmlui-fontSize-NumberBox-success)", "Input:backgroundColor-NumberBox-success": "var(--xmlui-backgroundColor-NumberBox-success)", "Input:boxShadow-NumberBox-success": "var(--xmlui-boxShadow-NumberBox-success)", "Input:textColor-NumberBox-success": "var(--xmlui-textColor-NumberBox-success)", "Input:borderColor-NumberBox-success--hover": "var(--xmlui-borderColor-NumberBox-success--hover)", "Input:backgroundColor-NumberBox-success--hover": "var(--xmlui-backgroundColor-NumberBox-success--hover)", "Input:boxShadow-NumberBox-success--hover": "var(--xmlui-boxShadow-NumberBox-success--hover)", "Input:textColor-NumberBox-success--hover": "var(--xmlui-textColor-NumberBox-success--hover)", "Input:borderColor-NumberBox-success--focus": "var(--xmlui-borderColor-NumberBox-success--focus)", "Input:backgroundColor-NumberBox-success--focus": "var(--xmlui-backgroundColor-NumberBox-success--focus)", "Input:boxShadow-NumberBox-success--focus": "var(--xmlui-boxShadow-NumberBox-success--focus)", "Input:textColor-NumberBox-success--focus": "var(--xmlui-textColor-NumberBox-success--focus)", "Input:outlineWidth-NumberBox-success--focus": "var(--xmlui-outlineWidth-NumberBox-success--focus)", "Input:outlineColor-NumberBox-success--focus": "var(--xmlui-outlineColor-NumberBox-success--focus)", "Input:outlineStyle-NumberBox-success--focus": "var(--xmlui-outlineStyle-NumberBox-success--focus)", "Input:outlineOffset-NumberBox-success--focus": "var(--xmlui-outlineOffset-NumberBox-success--focus)", "Input:textColor-placeholder-NumberBox-success": "var(--xmlui-textColor-placeholder-NumberBox-success)", "Input:textColor-adornment-NumberBox-success": "var(--xmlui-textColor-adornment-NumberBox-success)", "Input:backgroundColor-NumberBox--disabled": "var(--xmlui-backgroundColor-NumberBox--disabled)", "Input:textColor-NumberBox--disabled": "var(--xmlui-textColor-NumberBox--disabled)", "Input:borderColor-NumberBox--disabled": "var(--xmlui-borderColor-NumberBox--disabled)"}'`,inputRoot:"_inputRoot_1ynbq_13",input:"_input_1ynbq_13",adornment:"_adornment_1ynbq_53",error:"_error_1ynbq_56",warning:"_warning_1ynbq_90",valid:"_valid_1ynbq_124",spinnerBox:"_spinnerBox_1ynbq_184",spinnerButton:"_spinnerButton_1ynbq_191",readOnly:"_readOnly_1ynbq_197"},fo=999999999999999,ci=".",ba="e",Jc=/^-?\d+$/,Kc=/^-?\d+(\.\d+)?([eE][+-]?\d+)?$/,an=1;function go(e){return typeof e>"u"||e===null||e===""}function mi(e){return typeof e=="string"?e:typeof e=="number"?e.toString():""}function Qr(e,r,t){let o=e;return e<r&&(o=r),e>t&&(o=t),o}function Fo(e,r=!1){return(r?rm:em)(e)?(typeof e=="string"&&(e=r?Number.parseInt(e):+e),e):null}function em(e){return typeof e=="string"&&e.length>0?!Number.isNaN(+e)&&tm(e):typeof e=="number"}function tm(e){const r=e.split(".")[0];return Math.abs(Number.parseInt(r))<=fo}function rm(e){return typeof e=="string"&&e.length>0&&![ba,ci].some(r=>e.includes(r))?Number.isSafeInteger(+e):typeof e=="number"?Number.isSafeInteger(e):!1}const om=s.forwardRef(function({id:r,value:t,initialValue:o,style:a,enabled:l=!0,placeholder:i,validationStatus:n="none",hasSpinBox:c=!0,step:b,integersOnly:h=!1,zeroOrPositive:p=!1,min:C=p?0:-999999999999999,max:x=fo,maxLength:g,updateState:T=ae,onDidChange:y=ae,onFocus:$=ae,onBlur:w=ae,registerComponentApi:O,startText:V,startIcon:P,endText:Z,endIcon:E,gap:j,spinnerUpIcon:U,spinnerDownIcon:M,autoFocus:f,readOnly:v,required:H,label:S,labelPosition:L,labelWidth:F,labelBreak:N},D){C=Math.max(p?0:-999999999999999,C);const X=Fo(b,!0)??an,q=s.useRef(null),I=s.useRef(null),B=s.useRef(null);s.useEffect(()=>{f&&setTimeout(()=>{var ee;(ee=q.current)==null||ee.focus()},0)},[f]);const[W,A]=s.useState(mi(t));s.useEffect(()=>{A(mi(t))},[t]),s.useEffect(()=>{T({value:o},{initial:!0})},[o,T]);const z=s.useCallback((ee,He)=>{A(He),T({value:ee}),y(ee)},[y,T]),R=s.useCallback(ee=>{const He=ee.target.value;z(He,He)},[z]),ie=s.useCallback(()=>{if(v)return;const ee=ln(W,X,C,x,h);ee!==void 0&&z(ee,ee.toString())},[W,X,C,x,h,z,v]),ce=s.useCallback(()=>{if(v)return;const ee=ln(W,-X,C,x,h);ee!==void 0&&z(ee,ee.toString())},[W,X,C,x,h,z,v]);nn(I.current,ie),nn(B.current,ce);const Te=ee=>{var le;let He=!1;const be=ee.target.value??"",J=ee.target.selectionStart,de=be.substring(0,ee.target.selectionStart).indexOf(ba);switch(ee.data){case"-":He=!0,de===-1?be.startsWith("-")||G("-"+be,J+1):be[de+1]!=="-"&&G(be.substring(0,de+1)+"-"+be.substring(de+1),J+1);break;case"+":He=!0,de===-1?be.startsWith("-")&&G(be.substring(1),J-1):be[de+1]==="-"&&G(be.substring(0,de+1)+be.substring(de+2),J-1);break;case ci:(h||be.includes(ci)||de!==-1)&&(He=!0);break;case ba:if(h){He=!0;break}(be.includes(ba)||te(J,2))&&(He=!0);break;default:let pe=ee.data;const tt=ee.target.selectionStart;if(((le=ee.data)==null?void 0:le.length)>0){if(pe.startsWith("-")){if(tt>0){He=!0;break}}else if(pe.startsWith("+")){He=!0;break}const Bt=be.substring(0,tt)+pe+be.substring(ee.target.selectionEnd);h&&!Jc.test(Bt)?He=!0:Kc.test(Bt)||(He=!0);break}if(ee.data<"0"||ee.data>"9"){He=!0;break}if(be.startsWith("-")&&tt===0){He=!0;break}de!==-1&&te(de+1,1)&&(He=!0);break}He&&ee.preventDefault();return;function te(pe,tt){let Bt=0;for(;pe<be.length;)if(/\d/.test(be[pe++]))Bt++;else{Bt=tt+1;break}return Bt>tt}function G(pe,tt){var Bt;ee.target.value=pe,z(pe,pe),(Bt=q.current)==null||Bt.setSelectionRange(tt,tt)}},oe=s.useCallback(ee=>{ee.code==="ArrowUp"&&(ee.preventDefault(),ie()),ee.code==="ArrowDown"&&(ee.preventDefault(),ce())},[ie,ce]),se=s.useCallback(()=>{$==null||$()},[$]),_e=s.useCallback(()=>{A(mi(t)),w==null||w()},[t,w]),Ae=s.useCallback(()=>{var ee;(ee=q.current)==null||ee.focus()},[]),Ne=Ce(ee=>{z(ee,go(ee)?"":String(ee))});return s.useEffect(()=>{O==null||O({focus:Ae,setValue:Ne})},[Ae,O,Ne]),d.jsx(lt,{ref:D,labelPosition:L,label:S,labelWidth:F,labelBreak:N,required:H,enabled:l,onFocus:$,onBlur:w,style:a,children:d.jsxs("div",{className:re(Oe.inputRoot,{[Oe.readOnly]:v,[Oe.disabled]:!l,[Oe.noSpinBox]:!c,[Oe.error]:n==="error",[Oe.warning]:n==="warning",[Oe.valid]:n==="valid"}),tabIndex:-1,onFocus:()=>{var ee;(ee=q.current)==null||ee.focus()},style:{gap:j},children:[d.jsx(fr,{text:V,iconName:P,className:Oe.adornment}),d.jsx("input",{id:r,type:"text",inputMode:"numeric",className:re(Oe.input,{[Oe.readOnly]:v}),disabled:!l,value:W,step:b,placeholder:i,onChange:R,onFocus:se,onBlur:_e,onBeforeInput:Te,onKeyDown:oe,readOnly:v,ref:q,autoFocus:f,maxLength:g,required:H}),d.jsx(fr,{text:Z,iconName:E,className:Oe.adornment}),c&&d.jsxs("div",{className:Oe.spinnerBox,children:[d.jsx(ot,{"data-spinner":"up",type:"button",variant:"ghost",themeColor:"secondary",tabIndex:-1,className:Oe.spinnerButton,disabled:!l||v,ref:I,children:d.jsx(me,{name:U||"spinnerUp:NumberBox",fallback:"chevronup",size:"sm"})}),d.jsx(ot,{"data-spinner":"down",type:"button",tabIndex:-1,variant:"ghost",themeColor:"secondary",className:Oe.spinnerButton,disabled:!l||v,ref:B,children:d.jsx(me,{name:M||"spinnerDown:NumberBox",fallback:"chevrondown",size:"sm"})})]})]})})});function ln(e,r,t,o,a){const l=Fo(e,a);if(!go(l))return Qr(l+r,t,o)}function nn(e,r,t=500){const o=s.useRef(0),a=s.useRef(0),l=s.useRef(r);s.useEffect(()=>{l.current=r},[r]),s.useEffect(()=>{const i=()=>{var b;(b=l.current)==null||b.call(l),o.current=window.setTimeout(()=>{a.current=window.setInterval(()=>{var h;(h=l.current)==null||h.call(l)},100)},t)},n=()=>{clearTimeout(o.current),clearInterval(a.current)},c=()=>{clearTimeout(o.current),clearInterval(a.current)};return e==null||e.addEventListener("mousedown",i),e==null||e.addEventListener("mouseup",n),e==null||e.addEventListener("mouseout",c),()=>{e==null||e.removeEventListener("mousedown",i),e==null||e.removeEventListener("mouseup",n),e==null||e.removeEventListener("mouseout",c)}},[e,r,t])}function To(){return To=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},To.apply(null,arguments)}function am(e,r){typeof e=="function"?e(r):e!=null&&(e.current=r)}function sn(...e){return r=>e.forEach(t=>am(t,r))}function im(...e){return s.useCallback(sn(...e),e)}const dn=s.forwardRef((e,r)=>{const{children:t,...o}=e,a=s.Children.toArray(t),l=a.find(nm);if(l){const i=l.props.children,n=a.map(c=>c===l?s.Children.count(i)>1?s.Children.only(null):s.isValidElement(i)?i.props.children:null:c);return s.createElement(pi,To({},o,{ref:r}),s.isValidElement(i)?s.cloneElement(i,void 0,n):null)}return s.createElement(pi,To({},o,{ref:r}),t)});dn.displayName="Slot";const pi=s.forwardRef((e,r)=>{const{children:t,...o}=e;return s.isValidElement(t)?s.cloneElement(t,{...sm(o,t.props),ref:r?sn(r,t.ref):t.ref}):s.Children.count(t)>1?s.Children.only(null):null});pi.displayName="SlotClone";const lm=({children:e})=>s.createElement(s.Fragment,null,e);function nm(e){return s.isValidElement(e)&&e.type===lm}function sm(e,r){const t={...r};for(const o in r){const a=e[o],l=r[o];/^on[A-Z]/.test(o)?a&&l?t[o]=(...n)=>{l(...n),a(...n)}:a&&(t[o]=a):o==="style"?t[o]={...a,...l}:o==="className"&&(t[o]=[a,l].filter(Boolean).join(" "))}return{...e,...t}}const dm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,r)=>{const t=s.forwardRef((o,a)=>{const{asChild:l,...i}=o,n=l?dn:r;return s.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),s.createElement(n,To({},i,{ref:a}))});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function un(e){const r=s.useRef(e);return s.useEffect(()=>{r.current=e}),s.useMemo(()=>(...t)=>{var o;return(o=r.current)===null||o===void 0?void 0:o.call(r,...t)},[])}const hi="focusScope.autoFocusOnMount",bi="focusScope.autoFocusOnUnmount",cn={bubbles:!1,cancelable:!0},um=s.forwardRef((e,r)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:a,onUnmountAutoFocus:l,...i}=e,[n,c]=s.useState(null),b=un(a),h=un(l),p=s.useRef(null),C=im(r,T=>c(T)),x=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(o){let T=function(O){if(x.paused||!n)return;const V=O.target;n.contains(V)?p.current=V:$r(p.current,{select:!0})},y=function(O){if(x.paused||!n)return;const V=O.relatedTarget;V!==null&&(n.contains(V)||$r(p.current,{select:!0}))},$=function(O){if(document.activeElement===document.body)for(const P of O)P.removedNodes.length>0&&$r(n)};document.addEventListener("focusin",T),document.addEventListener("focusout",y);const w=new MutationObserver($);return n&&w.observe(n,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",T),document.removeEventListener("focusout",y),w.disconnect()}}},[o,n,x.paused]),s.useEffect(()=>{if(n){hn.add(x);const T=document.activeElement;if(!n.contains(T)){const $=new CustomEvent(hi,cn);n.addEventListener(hi,b),n.dispatchEvent($),$.defaultPrevented||(cm(vm(mn(n)),{select:!0}),document.activeElement===T&&$r(n))}return()=>{n.removeEventListener(hi,b),setTimeout(()=>{const $=new CustomEvent(bi,cn);n.addEventListener(bi,h),n.dispatchEvent($),$.defaultPrevented||$r(T??document.body,{select:!0}),n.removeEventListener(bi,h),hn.remove(x)},0)}}},[n,b,h,x]);const g=s.useCallback(T=>{if(!t&&!o||x.paused)return;const y=T.key==="Tab"&&!T.altKey&&!T.ctrlKey&&!T.metaKey,$=document.activeElement;if(y&&$){const w=T.currentTarget,[O,V]=mm(w);O&&V?!T.shiftKey&&$===V?(T.preventDefault(),t&&$r(O,{select:!0})):T.shiftKey&&$===O&&(T.preventDefault(),t&&$r(V,{select:!0})):$===w&&T.preventDefault()}},[t,o,x.paused]);return s.createElement(dm.div,To({tabIndex:-1},i,{ref:C,onKeyDown:g}))});function cm(e,{select:r=!1}={}){const t=document.activeElement;for(const o of e)if($r(o,{select:r}),document.activeElement!==t)return}function mm(e){const r=mn(e),t=pn(r,e),o=pn(r.reverse(),e);return[t,o]}function mn(e){const r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const a=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||a?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)r.push(t.currentNode);return r}function pn(e,r){for(const t of e)if(!pm(t,{upTo:r}))return t}function pm(e,{upTo:r}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(r!==void 0&&e===r)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function hm(e){return e instanceof HTMLInputElement&&"select"in e}function $r(e,{select:r=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&hm(e)&&r&&e.select()}}const hn=bm();function bm(){let e=[];return{add(r){const t=e[0];r!==t&&(t==null||t.pause()),e=bn(e,r),e.unshift(r)},remove(r){var t;e=bn(e,r),(t=e[0])===null||t===void 0||t.resume()}}}function bn(e,r){const t=[...e],o=t.indexOf(r);return o!==-1&&t.splice(o,1),t}function vm(e){return e.filter(r=>r.tagName!=="A")}const xe={themeVars:`'{"padding-item-Select": "var(--xmlui-padding-item-Select)", "paddingHorizontal-item-Select": "var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select))", "paddingVertical-item-Select": "var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select))", "paddingLeft-item-Select": "var(--xmlui-paddingLeft-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingRight-item-Select": "var(--xmlui-paddingRight-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingTop-item-Select": "var(--xmlui-paddingTop-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "paddingBottom-item-Select": "var(--xmlui-paddingBottom-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "Input:fontSize-Select-default": "var(--xmlui-fontSize-Select-default)", "Input:textColor-placeholder-Select-default": "var(--xmlui-textColor-placeholder-Select-default)", "Input:textColor-Select-default": "var(--xmlui-textColor-Select-default)", "Input:fontSize-Select-error": "var(--xmlui-fontSize-Select-error)", "Input:textColor-placeholder-Select-error": "var(--xmlui-textColor-placeholder-Select-error)", "Input:textColor-Select-error": "var(--xmlui-textColor-Select-error)", "Input:fontSize-Select-warning": "var(--xmlui-fontSize-Select-warning)", "Input:textColor-placeholder-Select-warning": "var(--xmlui-textColor-placeholder-Select-warning)", "Input:textColor-Select-warning": "var(--xmlui-textColor-Select-warning)", "Input:fontSize-Select-success": "var(--xmlui-fontSize-Select-success)", "Input:textColor-placeholder-Select-success": "var(--xmlui-textColor-placeholder-Select-success)", "Input:textColor-Select-success": "var(--xmlui-textColor-Select-success)", "Input:borderRadius-Select-default": "var(--xmlui-borderRadius-Select-default)", "Input:borderColor-Select-default": "var(--xmlui-borderColor-Select-default)", "Input:borderWidth-Select-default": "var(--xmlui-borderWidth-Select-default)", "Input:borderStyle-Select-default": "var(--xmlui-borderStyle-Select-default)", "Input:backgroundColor-Select-default": "var(--xmlui-backgroundColor-Select-default)", "Input:boxShadow-Select-default": "var(--xmlui-boxShadow-Select-default)", "Input:borderColor-Select-default--hover": "var(--xmlui-borderColor-Select-default--hover)", "Input:backgroundColor-Select-default--hover": "var(--xmlui-backgroundColor-Select-default--hover)", "Input:boxShadow-Select-default--hover": "var(--xmlui-boxShadow-Select-default--hover)", "Input:textColor-Select-default--hover": "var(--xmlui-textColor-Select-default--hover)", "Input:outlineWidth-Select-default--focus": "var(--xmlui-outlineWidth-Select-default--focus)", "Input:outlineColor-Select-default--focus": "var(--xmlui-outlineColor-Select-default--focus)", "Input:outlineStyle-Select-default--focus": "var(--xmlui-outlineStyle-Select-default--focus)", "Input:outlineOffset-Select-default--focus": "var(--xmlui-outlineOffset-Select-default--focus)", "Input:borderRadius-Select-error": "var(--xmlui-borderRadius-Select-error)", "Input:borderColor-Select-error": "var(--xmlui-borderColor-Select-error)", "Input:borderWidth-Select-error": "var(--xmlui-borderWidth-Select-error)", "Input:borderStyle-Select-error": "var(--xmlui-borderStyle-Select-error)", "Input:backgroundColor-Select-error": "var(--xmlui-backgroundColor-Select-error)", "Input:boxShadow-Select-error": "var(--xmlui-boxShadow-Select-error)", "Input:borderColor-Select-error--hover": "var(--xmlui-borderColor-Select-error--hover)", "Input:backgroundColor-Select-error--hover": "var(--xmlui-backgroundColor-Select-error--hover)", "Input:boxShadow-Select-error--hover": "var(--xmlui-boxShadow-Select-error--hover)", "Input:textColor-Select-error--hover": "var(--xmlui-textColor-Select-error--hover)", "Input:outlineWidth-Select-error--focus": "var(--xmlui-outlineWidth-Select-error--focus)", "Input:outlineColor-Select-error--focus": "var(--xmlui-outlineColor-Select-error--focus)", "Input:outlineStyle-Select-error--focus": "var(--xmlui-outlineStyle-Select-error--focus)", "Input:outlineOffset-Select-error--focus": "var(--xmlui-outlineOffset-Select-error--focus)", "Input:borderRadius-Select-warning": "var(--xmlui-borderRadius-Select-warning)", "Input:borderColor-Select-warning": "var(--xmlui-borderColor-Select-warning)", "Input:borderWidth-Select-warning": "var(--xmlui-borderWidth-Select-warning)", "Input:borderStyle-Select-warning": "var(--xmlui-borderStyle-Select-warning)", "Input:backgroundColor-Select-warning": "var(--xmlui-backgroundColor-Select-warning)", "Input:boxShadow-Select-warning": "var(--xmlui-boxShadow-Select-warning)", "Input:borderColor-Select-warning--hover": "var(--xmlui-borderColor-Select-warning--hover)", "Input:backgroundColor-Select-warning--hover": "var(--xmlui-backgroundColor-Select-warning--hover)", "Input:boxShadow-Select-warning--hover": "var(--xmlui-boxShadow-Select-warning--hover)", "Input:textColor-Select-warning--hover": "var(--xmlui-textColor-Select-warning--hover)", "Input:outlineWidth-Select-warning--focus": "var(--xmlui-outlineWidth-Select-warning--focus)", "Input:outlineColor-Select-warning--focus": "var(--xmlui-outlineColor-Select-warning--focus)", "Input:outlineStyle-Select-warning--focus": "var(--xmlui-outlineStyle-Select-warning--focus)", "Input:outlineOffset-Select-warning--focus": "var(--xmlui-outlineOffset-Select-warning--focus)", "Input:borderRadius-Select-success": "var(--xmlui-borderRadius-Select-success)", "Input:borderColor-Select-success": "var(--xmlui-borderColor-Select-success)", "Input:borderWidth-Select-success": "var(--xmlui-borderWidth-Select-success)", "Input:borderStyle-Select-success": "var(--xmlui-borderStyle-Select-success)", "Input:backgroundColor-Select-success": "var(--xmlui-backgroundColor-Select-success)", "Input:boxShadow-Select-success": "var(--xmlui-boxShadow-Select-success)", "Input:borderColor-Select-success--hover": "var(--xmlui-borderColor-Select-success--hover)", "Input:backgroundColor-Select-success--hover": "var(--xmlui-backgroundColor-Select-success--hover)", "Input:boxShadow-Select-success--hover": "var(--xmlui-boxShadow-Select-success--hover)", "Input:textColor-Select-success--hover": "var(--xmlui-textColor-Select-success--hover)", "Input:outlineWidth-Select-success--focus": "var(--xmlui-outlineWidth-Select-success--focus)", "Input:outlineColor-Select-success--focus": "var(--xmlui-outlineColor-Select-success--focus)", "Input:outlineStyle-Select-success--focus": "var(--xmlui-outlineStyle-Select-success--focus)", "Input:outlineOffset-Select-success--focus": "var(--xmlui-outlineOffset-Select-success--focus)", "opacity-Select--disabled": "var(--xmlui-opacity-Select--disabled)", "Input:backgroundColor-Select--disabled": "var(--xmlui-backgroundColor-Select--disabled)", "Input:textColor-Select--disabled": "var(--xmlui-textColor-Select--disabled)", "Input:borderColor-Select--disabled": "var(--xmlui-borderColor-Select--disabled)", "paddingVertical-Select-badge": "var(--xmlui-paddingVertical-Select-badge)", "paddingHorizontal-Select-badge": "var(--xmlui-paddingHorizontal-Select-badge)", "Input:fontSize-Select-badge": "var(--xmlui-fontSize-Select-badge)", "Input:backgroundColor-Select-badge": "var(--xmlui-backgroundColor-Select-badge)", "Input:textColor-Select-badge": "var(--xmlui-textColor-Select-badge)", "Input:backgroundColor-Select-badge--hover": "var(--xmlui-backgroundColor-Select-badge--hover)", "Input:textColor-Select-badge--hover": "var(--xmlui-textColor-Select-badge--hover)", "Input:backgroundColor-Select-badge--active": "var(--xmlui-backgroundColor-Select-badge--active)", "Input:textColor-Select-badge--active": "var(--xmlui-textColor-Select-badge--active)", "Input:textColor-placeholder-Select": "var(--xmlui-textColor-placeholder-Select)", "Input:backgroundColor-menu-Select": "var(--xmlui-backgroundColor-menu-Select)", "Input:borderRadius-menu-Select": "var(--xmlui-borderRadius-menu-Select)", "Input:boxShadow-menu-Select": "var(--xmlui-boxShadow-menu-Select)", "Input:borderWidth-menu-Select": "var(--xmlui-borderWidth-menu-Select)", "Input:borderColor-menu-Select": "var(--xmlui-borderColor-menu-Select)", "backgroundColor-item-Select": "var(--xmlui-backgroundColor-item-Select)", "backgroundColor-item-Select--hover": "var(--xmlui-backgroundColor-item-Select--hover)", "opacity-text-item-Select--disabled": "var(--xmlui-opacity-text-item-Select--disabled)", "fontSize-Select": "var(--xmlui-fontSize-Select)", "backgroundColor-item-Select--active": "var(--xmlui-backgroundColor-item-Select--active)", "textColor-indicator-Select": "var(--xmlui-textColor-indicator-Select)"}'`,selectValue:"_selectValue_1cwq0_13",error:"_error_1cwq0_21",warning:"_warning_1cwq0_29",valid:"_valid_1cwq0_37",selectTrigger:"_selectTrigger_1cwq0_46",badgeListContainer:"_badgeListContainer_1cwq0_170",badgeList:"_badgeList_1cwq0_170",badge:"_badge_1cwq0_170",actions:"_actions_1cwq0_210",placeholder:"_placeholder_1cwq0_216",emptyList:"_emptyList_1cwq0_221",selectScrollUpButton:"_selectScrollUpButton_1cwq0_231",selectScrollDownButton:"_selectScrollDownButton_1cwq0_240",command:"_command_1cwq0_249",commandInputContainer:"_commandInputContainer_1cwq0_259",commandInput:"_commandInput_1cwq0_259",commandList:"_commandList_1cwq0_284",selectContent:"_selectContent_1cwq0_289",fadeIn:"_fadeIn_1cwq0_1",zoomIn:"_zoomIn_1cwq0_1",fadeOut:"_fadeOut_1cwq0_1",zoomOut:"_zoomOut_1cwq0_1",slideInFromTop:"_slideInFromTop_1cwq0_1",slideInFromRight:"_slideInFromRight_1cwq0_1",slideInFromLeft:"_slideInFromLeft_1cwq0_1",slideInFromBottom:"_slideInFromBottom_1cwq0_1",multiComboboxOption:"_multiComboboxOption_1cwq0_331",multiComboboxOptionContent:"_multiComboboxOptionContent_1cwq0_331",selectItem:"_selectItem_1cwq0_356",selectItemContent:"_selectItemContent_1cwq0_371",selectItemIndicator:"_selectItemIndicator_1cwq0_392",selectViewport:"_selectViewport_1cwq0_403",selectEmpty:"_selectEmpty_1cwq0_409",loading:"_loading_1cwq0_420",srOnly:"_srOnly_1cwq0_424"},vn=s.createContext(null);function xn(){return s.useContext(vn)}const fn=s.createContext(null);function xm(){return s.useContext(fn)}function vi({children:e,Component:r}){return d.jsx(fn.Provider,{value:r,children:e})}const xi=s.createContext({onOptionAdd:()=>{},onOptionRemove:()=>{}});function gn(){return s.useContext(xi)}function Tn(e){const{optionRenderer:r,label:t}=e,{onOptionRemove:o,onOptionAdd:a}=gn(),[l,i]=s.useState(null),n=s.useMemo(()=>({...e,label:t??(l==null?void 0:l.textContent)??"",keywords:[t??(l==null?void 0:l.textContent)??""]}),[e,l]);return s.useEffect(()=>(a(n),()=>o(n)),[n,a,o]),d.jsx("div",{ref:c=>i(c),style:{display:"none"},children:r==null?void 0:r({})})}const fm=s.forwardRef(function(r,t){var Z;const{root:o}=Nt(),{enabled:a,onBlur:l,autoFocus:i,onValueChange:n,validationStatus:c,value:b,height:h,style:p,placeholder:C,id:x,triggerRef:g,onFocus:T,options:y,children:$,readOnly:w}=r,O=t?sr(g,t):g,V=s.useMemo(()=>b!=null?b+"":void 0,[b]),P=s.useCallback(E=>{if(w)return;const j=Array.from(y).find(U=>`${U.value}`===E);n((j==null?void 0:j.value)??E)},[n,y]);return d.jsxs(vt.Root,{value:V,onValueChange:P,children:[d.jsxs(vt.Trigger,{id:x,"aria-haspopup":"listbox",style:p,onFocus:T,onBlur:l,disabled:!a,className:re(xe.selectTrigger,{[xe.error]:c==="error",[xe.warning]:c==="warning",[xe.valid]:c==="valid"}),ref:O,autoFocus:i,children:[d.jsx("div",{className:xe.selectValue,children:w?((Z=Array.from(y).find(E=>`${E.value}`===V))==null?void 0:Z.label)||d.jsx("span",{"aria-placeholder":C,children:C}):d.jsx(vt.Value,{"aria-placeholder":C,placeholder:C})}),d.jsx(vt.Icon,{asChild:!0,children:d.jsx(me,{name:"chevrondown"})})]}),d.jsx(vt.Portal,{container:o,children:d.jsxs(vt.Content,{className:xe.selectContent,position:"popper",style:{height:h},children:[d.jsx(vt.ScrollUpButton,{className:xe.selectScrollUpButton,children:d.jsx(me,{name:"chevronup"})}),d.jsx(vt.SelectViewport,{className:xe.selectViewport,role:"listbox",children:$}),d.jsx(vt.ScrollDownButton,{className:xe.selectScrollDownButton,children:d.jsx(me,{name:"chevrondown"})})]})})]})}),gm=s.forwardRef(function({id:r,initialValue:t,value:o,enabled:a=!0,placeholder:l,updateState:i=ae,validationStatus:n="none",onDidChange:c=ae,onFocus:b=ae,onBlur:h=ae,registerComponentApi:p,emptyListTemplate:C,optionLabelRenderer:x,optionRenderer:g,valueRenderer:T,style:y,dropdownHeight:$,children:w,autoFocus:O=!1,searchable:V=!1,multiSelect:P=!1,label:Z,labelPosition:E,labelWidth:j,labelBreak:U=!1,required:M=!1,inProgress:f=!1,inProgressNotificationMessage:v="Loading...",readOnly:H=!1},S){var be;const[L,F]=s.useState(null),[N,D]=s.useState(!1),[X,q]=s.useState(0),I=s.useRef(),{root:B}=Nt(),[W,A]=s.useState(new Set),z=s.useId(),R=r||z;s.useEffect(()=>{t!==void 0&&i({value:t},{initial:!0})},[t,i]),s.useEffect(()=>{var ge;const J=L;return(ge=I.current)==null||ge.disconnect(),J&&(I.current=new ResizeObserver(()=>q(J.clientWidth)),I.current.observe(J)),()=>{var de;(de=I.current)==null||de.disconnect()}},[L]);const ie=s.useCallback(J=>{const ge=P?Array.isArray(o)?o.includes(J)?o.filter(de=>de!==J):[...o,J]:[J]:J===o?null:J;i({value:ge}),c(ge),P||D(!1)},[P,o,i,c]),ce=s.useCallback(()=>{const J=P?[]:"";i({value:J}),c(J)},[P,i,c]),Te=s.useCallback(()=>{L==null||L.focus()},[L]),oe=Ce(J=>{ie(J)}),se=Ce(()=>{t!==void 0?(i({value:t}),c(t)):ce()});s.useEffect(()=>{p==null||p({focus:Te,setValue:oe,reset:se})},[Te,p,oe,se]);const _e=s.useMemo(()=>C??d.jsxs("div",{className:xe.selectEmpty,children:[d.jsx(me,{name:"noresult"}),d.jsx("span",{children:"List is empty"})]}),[C]),Ae=s.useCallback(J=>{A(ge=>new Set(ge).add(J))},[]),Ne=s.useCallback(J=>{A(ge=>{const de=new Set(ge);return de.delete(J),de})},[]),ee=s.useMemo(()=>({onOptionAdd:Ae,onOptionRemove:Ne}),[Ae,Ne]),He=s.useMemo(()=>({multiSelect:P,value:o,optionLabelRenderer:x,optionRenderer:g,onChange:ie,setOpen:D}),[P,ie,o,x,g]);return d.jsx(vn.Provider,{value:He,children:d.jsx(xi.Provider,{value:ee,children:d.jsxs(vi,{Component:Tn,children:[d.jsx(lt,{ref:S,id:R,labelPosition:E,label:Z,labelWidth:j,labelBreak:U,required:M,enabled:a,onFocus:b,onBlur:h,style:y,children:V||P?d.jsxs(Dt.Popover,{open:N,onOpenChange:D,modal:!1,children:[d.jsxs(Dt.PopoverTrigger,{id:R,"aria-haspopup":"listbox",style:y,ref:F,onFocus:b,onBlur:h,disabled:!a,"aria-expanded":N,onClick:()=>D(J=>!J),className:re(xe.selectTrigger,xe[n],{[xe.disabled]:!a,[xe.multi]:P}),autoFocus:O,children:[P?Array.isArray(o)&&o.length>0?d.jsx("div",{className:xe.badgeListContainer,children:d.jsx("div",{className:xe.badgeList,children:o.map(J=>{var ge;return T?T(Array.from(W).find(de=>de.value===`${J}`),()=>{ie(J)}):d.jsxs("span",{className:xe.badge,children:[(ge=Array.from(W).find(de=>de.value===`${J}`))==null?void 0:ge.label,d.jsx(me,{name:"close",size:"sm",onClick:de=>{de.stopPropagation(),ie(J)}})]},J)})})}):d.jsx("span",{placeholder:l,className:xe.placeholder,children:l}):o!=null?d.jsx("div",{children:(be=Array.from(W).find(J=>J.value===o))==null?void 0:be.label}):d.jsx("span",{"aria-placeholder":l,className:xe.placeholder,children:l||""}),d.jsxs("div",{className:xe.actions,children:[P&&Array.isArray(o)&&o.length>0&&d.jsx(me,{name:"close",onClick:J=>{J.stopPropagation(),ce()}}),d.jsx(me,{name:"chevrondown"})]})]}),N&&d.jsx(vt.Portal,{container:B,children:d.jsx(um,{asChild:!0,loop:!0,trapped:!0,children:d.jsx(Dt.PopoverContent,{style:{width:X,height:$},className:xe.selectContent,children:d.jsxs(Ot.Command,{className:xe.command,shouldFilter:V,filter:(J,ge,de)=>(J+" "+de.join(" ")).toLowerCase().includes(ge.toLowerCase())?1:0,children:[V?d.jsxs("div",{className:xe.commandInputContainer,children:[d.jsx(me,{name:"search"}),d.jsx(Ot.CommandInput,{className:re(xe.commandInput),placeholder:"Search..."})]}):d.jsx("button",{autoFocus:!0,"aria-hidden":"true",className:xe.srOnly}),d.jsxs(Ot.CommandList,{className:xe.commandList,children:[f&&d.jsx("div",{className:xe.loading,children:v}),Array.from(W).map(({value:J,label:ge,enabled:de,keywords:te})=>d.jsx(Tm,{readOnly:H,value:J,label:ge,enabled:de,keywords:te},J)),!f&&d.jsx(Ot.CommandEmpty,{children:_e})]})]})})})})]}):d.jsx(fm,{readOnly:!!H,ref:S,value:o,options:W,onValueChange:ie,id:R,style:y,onFocus:b,onBlur:h,enabled:a,validationStatus:n,triggerRef:F,autoFocus:O,placeholder:l,height:$,children:W.size>0?Array.from(W).map(J=>d.jsx(Cn,{value:J.value,label:J.label,enabled:J.enabled},J.value)):_e})}),w]})})})}),Tm=s.forwardRef(function(r,t){const o=s.useId(),{label:a,value:l,enabled:i=!0,keywords:n,readOnly:c}=r,{value:b,onChange:h,multiSelect:p,optionLabelRenderer:C,optionRenderer:x,setOpen:g}=xn(),T=s.useMemo(()=>Array.isArray(b)&&p?b.includes(l):b===l,[b,l,p]);return d.jsx(Ot.CommandItem,{id:o,ref:t,disabled:!i,value:l,className:xe.multiComboboxOption,onSelect:()=>{if(c){g(!1);return}h(l)},"data-state":T?"checked":void 0,keywords:n,children:d.jsx("div",{className:xe.multiComboboxOptionContent,children:x?x({label:a,value:l,enabled:i,keywords:n},b,!1):d.jsxs(d.Fragment,{children:[C?C({label:a,value:l}):a,T&&d.jsx(me,{name:"checkmark"})]})})},o)}),Cn=s.forwardRef((e,r)=>{const{value:t,label:o,enabled:a=!0}=e,{optionLabelRenderer:l,optionRenderer:i,value:n}=xn();return d.jsx(vt.Item,{ref:r,className:xe.selectItem,value:t+"",disabled:!a,"data-state":n===t&&"checked",children:d.jsx("div",{className:xe.selectItemContent,children:i?i({label:o,value:t,enabled:a},n,!1):d.jsxs(d.Fragment,{children:[d.jsx(vt.ItemText,{className:xe.selectItemContent,children:l?l({value:t,label:o}):o}),n===t&&d.jsx("span",{className:xe.selectItemIndicator,children:d.jsx(vt.ItemIndicator,{children:d.jsx(me,{name:"checkmark"})})})]})})})});Cn.displayName="SelectOption";const st={themeVars:`'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Input:backgroundColor-RadioGroupOption-default": "var(--xmlui-backgroundColor-RadioGroupOption-default)", "borderWidth-RadioGroupOption": "var(--xmlui-borderWidth-RadioGroupOption)", "Input:borderColor-RadioGroupOption-default": "var(--xmlui-borderColor-RadioGroupOption-default)", "Input:borderColor-RadioGroupOption-default--hover": "var(--xmlui-borderColor-RadioGroupOption-default--hover)", "Input:borderColor-RadioGroupOption-default--active": "var(--xmlui-borderColor-RadioGroupOption-default--active)", "Input:borderColor-RadioGroupOption--disabled": "var(--xmlui-borderColor-RadioGroupOption--disabled)", "Input:color-RadioGroupOption--disabled": "var(--xmlui-color-RadioGroupOption--disabled)", "Input:borderColor-RadioGroupOption-error": "var(--xmlui-borderColor-RadioGroupOption-error)", "Input:borderColor-RadioGroupOption-warning": "var(--xmlui-borderColor-RadioGroupOption-warning)", "Input:borderColor-RadioGroupOption-success": "var(--xmlui-borderColor-RadioGroupOption-success)", "Input:backgroundColor-checked-RadioGroupOption-indicator": "var(--xmlui-backgroundColor-checked-RadioGroupOption-indicator)", "backgroundColor-checked-RadioGroupOption-default": "var(--xmlui-backgroundColor-checked-RadioGroupOption-default)", "backgroundColor-checked-RadioGroupOption--disabled": "var(--xmlui-backgroundColor-checked-RadioGroupOption--disabled)", "backgroundColor-checked-RadioGroupOption-error": "var(--xmlui-backgroundColor-checked-RadioGroupOption-error)", "backgroundColor-checked-RadioGroupOption-warning": "var(--xmlui-backgroundColor-checked-RadioGroupOption-warning)", "backgroundColor-checked-RadioGroupOption-success": "var(--xmlui-backgroundColor-checked-RadioGroupOption-success)", "Input:fontSize-RadioGroupOption": "var(--xmlui-fontSize-RadioGroupOption)", "Input:fontWeight-RadioGroupOption": "var(--xmlui-fontWeight-RadioGroupOption)", "Input:color-RadioGroupOption-default": "var(--xmlui-color-RadioGroupOption-default)", "Input:color-RadioGroupOption-error": "var(--xmlui-color-RadioGroupOption-error)", "Input:color-RadioGroupOption-warning": "var(--xmlui-color-RadioGroupOption-warning)", "Input:color-RadioGroupOption-success": "var(--xmlui-color-RadioGroupOption-success)", "Input:outlineWidth-RadioGroupOption--focus": "var(--xmlui-outlineWidth-RadioGroupOption--focus)", "Input:outlineColor-RadioGroupOption--focus": "var(--xmlui-outlineColor-RadioGroupOption--focus)", "Input:outlineStyle-RadioGroupOption--focus": "var(--xmlui-outlineStyle-RadioGroupOption--focus)", "Input:outlineOffset-RadioGroupOption--focus": "var(--xmlui-outlineOffset-RadioGroupOption--focus)"}'`,radioGroupContainer:"_radioGroupContainer_1easy_13",radioOptionContainer:"_radioOptionContainer_1easy_20",radioOption:"_radioOption_1easy_20",error:"_error_1easy_55",warning:"_warning_1easy_58",valid:"_valid_1easy_61",checked:"_checked_1easy_64",indicator:"_indicator_1easy_68",disabled:"_disabled_1easy_84",itemContainer:"_itemContainer_1easy_97",optionLabel:"_optionLabel_1easy_105",label:"_label_1easy_110"},fi=s.createContext({status:"none"}),Cm=s.forwardRef(function({id:r,value:t="",initialValue:o="",enabled:a=!0,validationStatus:l="none",label:i,labelPosition:n,labelWidth:c,labelBreak:b,required:h=!1,updateState:p=ae,onDidChange:C=ae,onFocus:x=ae,onBlur:g=ae,children:T,registerComponentApi:y,style:$},w){const[O,V]=s.useState(!1);s.useEffect(()=>{p({value:o},{initial:!0})},[o,p]);const P=s.useCallback(f=>{p({value:f}),C(f)},[C,p]),Z=s.useCallback(f=>{P(f)},[P]),E=s.useCallback(()=>{V(!0),x==null||x()},[x]),j=s.useCallback(()=>{V(!1),g==null||g()},[g]),U=Ce(f=>{P(f)});s.useEffect(()=>{y==null||y({setValue:U})},[y,U]);const M=s.useMemo(()=>({value:t,status:l}),[t,l]);return d.jsx(lt,{ref:w,labelPosition:n,label:i,labelWidth:c,labelBreak:b,required:h,enabled:a,onFocus:x,onBlur:g,style:$,children:d.jsx(vi,{Component:Hm,children:d.jsx(fi.Provider,{value:M,children:d.jsx($a.Root,{id:r,onBlur:j,onFocus:E,onValueChange:Z,value:t,disabled:!a,className:re(st.radioGroupContainer,{[st.focused]:O,[st.disabled]:!a}),children:T})})})})});function ym(){const e=s.useContext(fi);if(!e)throw new Error("useRadioGroupValue must be used within a RadioGroup");const{value:r}=e,t=s.useCallback(o=>r===o,[r]);return{value:r,isChecked:t}}const Hm=({value:e,label:r,enabled:t=!0,optionRenderer:o,style:a})=>{const l=s.useId(),i=s.useContext(fi),{isChecked:n}=ym(),c=s.useMemo(()=>({[st.disabled]:!t,[st.error]:e===i.value&&i.status==="error",[st.warning]:e===i.value&&i.status==="warning",[st.valid]:e===i.value&&i.status==="valid"}),[t,i.status,i.value,e]),b=s.useMemo(()=>d.jsxs(d.Fragment,{children:[d.jsx($a.Item,{className:re(st.radioOption,c,{[st.checked]:n(e)}),value:e,disabled:!t,id:l,children:d.jsx($a.Indicator,{className:re(st.indicator,c)})}),d.jsx("label",{htmlFor:l,className:re(st.label,c),children:r??e})]}),[t,l,r,c,e]);return d.jsx("div",{className:st.radioOptionContainer,style:a,children:o?d.jsxs("label",{className:st.optionLabel,children:[d.jsx("div",{className:st.itemContainer,children:b}),o({$checked:e===i.value})]}):b},l)},ir={themeVars:`'{"Input:borderRadius-Textarea-default": "var(--xmlui-borderRadius-Textarea-default)", "Input:borderColor-Textarea-default": "var(--xmlui-borderColor-Textarea-default)", "Input:borderWidth-Textarea-default": "var(--xmlui-borderWidth-Textarea-default)", "Input:borderStyle-Textarea-default": "var(--xmlui-borderStyle-Textarea-default)", "Input:fontSize-Textarea-default": "var(--xmlui-fontSize-Textarea-default)", "Input:padding-Textarea-default": "var(--xmlui-padding-Textarea-default)", "Input:backgroundColor-Textarea-default": "var(--xmlui-backgroundColor-Textarea-default)", "Input:boxShadow-Textarea-default": "var(--xmlui-boxShadow-Textarea-default)", "Input:textColor-Textarea-default": "var(--xmlui-textColor-Textarea-default)", "Input:borderColor-Textarea-default--hover": "var(--xmlui-borderColor-Textarea-default--hover)", "Input:backgroundColor-Textarea-default--hover": "var(--xmlui-backgroundColor-Textarea-default--hover)", "Input:boxShadow-Textarea-default--hover": "var(--xmlui-boxShadow-Textarea-default--hover)", "Input:textColor-Textarea-default--hover": "var(--xmlui-textColor-Textarea-default--hover)", "Input:borderColor-Textarea-default--focus": "var(--xmlui-borderColor-Textarea-default--focus)", "Input:backgroundColor-Textarea-default--focus": "var(--xmlui-backgroundColor-Textarea-default--focus)", "Input:boxShadow-Textarea-default--focus": "var(--xmlui-boxShadow-Textarea-default--focus)", "Input:textColor-Textarea-default--focus": "var(--xmlui-textColor-Textarea-default--focus)", "Input:outlineWidth-Textarea-default--focus": "var(--xmlui-outlineWidth-Textarea-default--focus)", "Input:outlineColor-Textarea-default--focus": "var(--xmlui-outlineColor-Textarea-default--focus)", "Input:outlineStyle-Textarea-default--focus": "var(--xmlui-outlineStyle-Textarea-default--focus)", "Input:outlineOffset-Textarea-default--focus": "var(--xmlui-outlineOffset-Textarea-default--focus)", "Input:color-placeholder-Textarea-default": "var(--xmlui-color-placeholder-Textarea-default)", "Input:borderRadius-Textarea-error": "var(--xmlui-borderRadius-Textarea-error)", "Input:borderColor-Textarea-error": "var(--xmlui-borderColor-Textarea-error)", "Input:borderWidth-Textarea-error": "var(--xmlui-borderWidth-Textarea-error)", "Input:borderStyle-Textarea-error": "var(--xmlui-borderStyle-Textarea-error)", "Input:fontSize-Textarea-error": "var(--xmlui-fontSize-Textarea-error)", "Input:padding-Textarea-error": "var(--xmlui-padding-Textarea-error)", "Input:backgroundColor-Textarea-error": "var(--xmlui-backgroundColor-Textarea-error)", "Input:boxShadow-Textarea-error": "var(--xmlui-boxShadow-Textarea-error)", "Input:textColor-Textarea-error": "var(--xmlui-textColor-Textarea-error)", "Input:borderColor-Textarea-error--hover": "var(--xmlui-borderColor-Textarea-error--hover)", "Input:backgroundColor-Textarea-error--hover": "var(--xmlui-backgroundColor-Textarea-error--hover)", "Input:boxShadow-Textarea-error--hover": "var(--xmlui-boxShadow-Textarea-error--hover)", "Input:textColor-Textarea-error--hover": "var(--xmlui-textColor-Textarea-error--hover)", "Input:borderColor-Textarea-error--focus": "var(--xmlui-borderColor-Textarea-error--focus)", "Input:backgroundColor-Textarea-error--focus": "var(--xmlui-backgroundColor-Textarea-error--focus)", "Input:boxShadow-Textarea-error--focus": "var(--xmlui-boxShadow-Textarea-error--focus)", "Input:textColor-Textarea-error--focus": "var(--xmlui-textColor-Textarea-error--focus)", "Input:outlineWidth-Textarea-error--focus": "var(--xmlui-outlineWidth-Textarea-error--focus)", "Input:outlineColor-Textarea-error--focus": "var(--xmlui-outlineColor-Textarea-error--focus)", "Input:outlineStyle-Textarea-error--focus": "var(--xmlui-outlineStyle-Textarea-error--focus)", "Input:outlineOffset-Textarea-error--focus": "var(--xmlui-outlineOffset-Textarea-error--focus)", "Input:color-placeholder-Textarea-error": "var(--xmlui-color-placeholder-Textarea-error)", "Input:borderRadius-Textarea-warning": "var(--xmlui-borderRadius-Textarea-warning)", "Input:borderColor-Textarea-warning": "var(--xmlui-borderColor-Textarea-warning)", "Input:borderWidth-Textarea-warning": "var(--xmlui-borderWidth-Textarea-warning)", "Input:borderStyle-Textarea-warning": "var(--xmlui-borderStyle-Textarea-warning)", "Input:fontSize-Textarea-warning": "var(--xmlui-fontSize-Textarea-warning)", "Input:padding-Textarea-warning": "var(--xmlui-padding-Textarea-warning)", "Input:backgroundColor-Textarea-warning": "var(--xmlui-backgroundColor-Textarea-warning)", "Input:boxShadow-Textarea-warning": "var(--xmlui-boxShadow-Textarea-warning)", "Input:textColor-Textarea-warning": "var(--xmlui-textColor-Textarea-warning)", "Input:borderColor-Textarea-warning--hover": "var(--xmlui-borderColor-Textarea-warning--hover)", "Input:backgroundColor-Textarea-warning--hover": "var(--xmlui-backgroundColor-Textarea-warning--hover)", "Input:boxShadow-Textarea-warning--hover": "var(--xmlui-boxShadow-Textarea-warning--hover)", "Input:textColor-Textarea-warning--hover": "var(--xmlui-textColor-Textarea-warning--hover)", "Input:borderColor-Textarea-warning--focus": "var(--xmlui-borderColor-Textarea-warning--focus)", "Input:backgroundColor-Textarea-warning--focus": "var(--xmlui-backgroundColor-Textarea-warning--focus)", "Input:boxShadow-Textarea-warning--focus": "var(--xmlui-boxShadow-Textarea-warning--focus)", "Input:textColor-Textarea-warning--focus": "var(--xmlui-textColor-Textarea-warning--focus)", "Input:outlineWidth-Textarea-warning--focus": "var(--xmlui-outlineWidth-Textarea-warning--focus)", "Input:outlineColor-Textarea-warning--focus": "var(--xmlui-outlineColor-Textarea-warning--focus)", "Input:outlineStyle-Textarea-warning--focus": "var(--xmlui-outlineStyle-Textarea-warning--focus)", "Input:outlineOffset-Textarea-warning--focus": "var(--xmlui-outlineOffset-Textarea-warning--focus)", "Input:color-placeholder-Textarea-warning": "var(--xmlui-color-placeholder-Textarea-warning)", "Input:borderRadius-Textarea-success": "var(--xmlui-borderRadius-Textarea-success)", "Input:borderColor-Textarea-success": "var(--xmlui-borderColor-Textarea-success)", "Input:borderWidth-Textarea-success": "var(--xmlui-borderWidth-Textarea-success)", "Input:borderStyle-Textarea-success": "var(--xmlui-borderStyle-Textarea-success)", "Input:fontSize-Textarea-success": "var(--xmlui-fontSize-Textarea-success)", "Input:padding-Textarea-success": "var(--xmlui-padding-Textarea-success)", "Input:backgroundColor-Textarea-success": "var(--xmlui-backgroundColor-Textarea-success)", "Input:boxShadow-Textarea-success": "var(--xmlui-boxShadow-Textarea-success)", "Input:textColor-Textarea-success": "var(--xmlui-textColor-Textarea-success)", "Input:borderColor-Textarea-success--hover": "var(--xmlui-borderColor-Textarea-success--hover)", "Input:backgroundColor-Textarea-success--hover": "var(--xmlui-backgroundColor-Textarea-success--hover)", "Input:boxShadow-Textarea-success--hover": "var(--xmlui-boxShadow-Textarea-success--hover)", "Input:textColor-Textarea-success--hover": "var(--xmlui-textColor-Textarea-success--hover)", "Input:borderColor-Textarea-success--focus": "var(--xmlui-borderColor-Textarea-success--focus)", "Input:backgroundColor-Textarea-success--focus": "var(--xmlui-backgroundColor-Textarea-success--focus)", "Input:boxShadow-Textarea-success--focus": "var(--xmlui-boxShadow-Textarea-success--focus)", "Input:textColor-Textarea-success--focus": "var(--xmlui-textColor-Textarea-success--focus)", "Input:outlineWidth-Textarea-success--focus": "var(--xmlui-outlineWidth-Textarea-success--focus)", "Input:outlineColor-Textarea-success--focus": "var(--xmlui-outlineColor-Textarea-success--focus)", "Input:outlineStyle-Textarea-success--focus": "var(--xmlui-outlineStyle-Textarea-success--focus)", "Input:outlineOffset-Textarea-success--focus": "var(--xmlui-outlineOffset-Textarea-success--focus)", "Input:color-placeholder-Textarea-success": "var(--xmlui-color-placeholder-Textarea-success)", "Input:backgroundColor-Textarea--disabled": "var(--xmlui-backgroundColor-Textarea--disabled)", "Input:textColor-Textarea--disabled": "var(--xmlui-textColor-Textarea--disabled)", "Input:borderColor-Textarea--disabled": "var(--xmlui-borderColor-Textarea--disabled)"}'`,textarea:"_textarea_y6osp_13",error:"_error_y6osp_53",warning:"_warning_y6osp_85",valid:"_valid_y6osp_117",resizeHorizontal:"_resizeHorizontal_y6osp_156",resizeVertical:"_resizeVertical_y6osp_160",resizeBoth:"_resizeBoth_y6osp_164"},yn=(e,r)=>{if(typeof e=="function"){e(r);return}e.current=r},Sm=(e,r)=>{const t=ze.useRef();return ze.useCallback(o=>{e.current=o,t.current&&yn(t.current,null),t.current=r,r&&yn(r,o)},[r])},km=()=>{},wm=({maxRows:e,minRows:r,onChange:t=km,style:o,...a},l)=>{const i=s.useRef(null),n=Sm(i,l),[c,b]=ze.useState(),[h,p]=ze.useState();return s.useEffect(()=>{if(!i.current)return;const C=getComputedStyle(i.current),x=parseFloat(C.lineHeight),g=parseFloat(C.paddingTop)+parseFloat(C.paddingBottom),T=parseFloat(C.borderTop)+parseFloat(C.borderBottom),y=(C.boxSizing==="border-box"?T:0)+g;b(x*(r??1)+y),p(x*(e??1e4)+y)},[i.current,e,r]),d.jsx("textarea",{ref:n,...a,onChange:t,style:{...o,minHeight:c,maxHeight:h}})},Im=ze.forwardRef(wm),Bm={horizontal:ir.resizeHorizontal,vertical:ir.resizeVertical,both:ir.resizeBoth},$m=s.forwardRef(function({id:r,value:t="",placeholder:o="",required:a=!1,readOnly:l=!1,allowCopy:i=!0,updateState:n=ae,validationStatus:c,autoFocus:b=!1,initialValue:h="",resize:p,onDidChange:C=ae,onFocus:x=ae,onBlur:g=ae,controlled:T=!0,enterSubmits:y=!0,escResets:$,style:w,registerComponentApi:O,autoSize:V,maxRows:P,minRows:Z,maxLength:E,rows:j=2,enabled:U=!0,label:M,labelPosition:f,labelWidth:v,labelBreak:H},S){const L=s.useRef(null),[F,N]=s.useState(null),[D,X]=s.useState(!1),q=s.useCallback(oe=>{n({value:oe}),C(oe)},[C,n]),I=s.useCallback(oe=>{q(oe.target.value)},[q]);s.useEffect(()=>{n({value:h},{initial:!0})},[h,n]);const B=oe=>i?!0:(oe.preventDefault(),!1),W=()=>{X(!0),x==null||x()},A=()=>{X(!1),g==null||g()},z=s.useCallback(()=>{setTimeout(()=>{var oe;(oe=L.current)==null||oe.focus()},0)},[]),R=s.useCallback(oe=>{const se=L==null?void 0:L.current;if(se&&oe){const _e=se.selectionStart,Ae=se.value;I({target:{value:Ae.substring(0,_e)+oe+Ae.substring(_e)}}),N(_e+oe.length)}},[L,I]),ie=Ce(oe=>{q(oe)});s.useEffect(()=>{if(F){const oe=L==null?void 0:L.current;oe&&(oe.setSelectionRange(F,F),N(null))}},[t,F,L]),s.useEffect(()=>{O==null||O({focus:z,insert:R,setValue:ie})},[z,R,O,ie]);const ce=s.useCallback(oe=>{var se,_e;oe.currentTarget.form&&y&&oe.key.toLowerCase()==="enter"&&!oe.shiftKey&&(oe.preventDefault(),(se=oe.currentTarget.form)==null||se.requestSubmit()),oe.currentTarget.form&&$&&oe.key.toLowerCase()==="escape"&&!oe.shiftKey&&(oe.preventDefault(),(_e=oe.currentTarget.form)==null||_e.reset())},[y,$]),Te={className:re(ir.textarea,p?Bm[p]:"",{[ir.focused]:D,[ir.disabled]:!U,[ir.error]:c==="error",[ir.warning]:c==="warning",[ir.valid]:c==="valid"}),ref:L,style:w,value:T?t||"":void 0,disabled:!U,autoFocus:b,name:r,placeholder:o,required:a,maxLength:E,"aria-multiline":!0,"aria-readonly":l,readOnly:l,onChange:I,onCopy:B,onFocus:W,onBlur:A,onKeyDown:ce,autoComplete:"off"};return p==="both"||p==="horizontal"||p==="vertical"?d.jsx(lt,{ref:S,labelPosition:f,label:M,labelWidth:v,labelBreak:H,required:a,enabled:U,onFocus:x,onBlur:g,style:w,children:d.jsx(Im,{...Te,style:w,maxRows:P,minRows:Z,rows:j})}):V||!Be.isNil(P)||!Be.isNil(Z)?d.jsx(lt,{ref:S,labelPosition:f,label:M,labelWidth:v,labelBreak:H,required:a,enabled:U,onFocus:x,onBlur:g,style:w,children:d.jsx(gs,{...Te,style:w,maxRows:P,minRows:Z,rows:j})}):d.jsx(lt,{ref:S,labelPosition:f,label:M,labelWidth:v,labelBreak:H,required:a,enabled:U,onFocus:x,onBlur:g,style:w,children:d.jsx("textarea",{...Te,rows:j})})}),Je={themeVars:`'{"border-AutoComplete": "var(--xmlui-border-AutoComplete)", "borderHorizontal-AutoComplete": "var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete))", "borderVertical-AutoComplete": "var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete))", "borderLeft-AutoComplete": "var(--xmlui-borderLeft-AutoComplete, var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderRight-AutoComplete": "var(--xmlui-borderRight-AutoComplete, var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderTop-AutoComplete": "var(--xmlui-borderTop-AutoComplete, var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderBottom-AutoComplete": "var(--xmlui-borderBottom-AutoComplete, var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderWidth-AutoComplete": "var(--xmlui-borderWidth-AutoComplete)", "borderHorizontalWidth-AutoComplete": "var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete))", "borderLeftWidth-AutoComplete": "var(--xmlui-borderLeftWidth-AutoComplete, var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderRightWidth-AutoComplete": "var(--xmlui-borderRightWidth-AutoComplete, var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderVerticalWidth-AutoComplete": "var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete))", "borderTopWidth-AutoComplete": "var(--xmlui-borderTopWidth-AutoComplete, var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderBottomWidth-AutoComplete": "var(--xmlui-borderBottomWidth-AutoComplete, var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderStyle-AutoComplete": "var(--xmlui-borderStyle-AutoComplete)", "borderHorizontalStyle-AutoComplete": "var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete))", "borderLeftStyle-AutoComplete": "var(--xmlui-borderLeftStyle-AutoComplete, var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderRightStyle-AutoComplete": "var(--xmlui-borderRightStyle-AutoComplete, var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderVerticalStyle-AutoComplete": "var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete))", "borderTopStyle-AutoComplete": "var(--xmlui-borderTopStyle-AutoComplete, var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderBottomStyle-AutoComplete": "var(--xmlui-borderBottomStyle-AutoComplete, var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderColor-AutoComplete": "var(--xmlui-borderColor-AutoComplete)", "borderHorizontalColor-AutoComplete": "var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete))", "borderLeftColor-AutoComplete": "var(--xmlui-borderLeftColor-AutoComplete, var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderRightColor-AutoComplete": "var(--xmlui-borderRightColor-AutoComplete, var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderVerticalColor-AutoComplete": "var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete))", "borderTopColor-AutoComplete": "var(--xmlui-borderTopColor-AutoComplete, var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderBottomColor-AutoComplete": "var(--xmlui-borderBottomColor-AutoComplete, var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderStartStartRadius-AutoComplete": "var(--xmlui-borderStartStartRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderStartEndRadius-AutoComplete": "var(--xmlui-borderStartEndRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderEndStartRadius-AutoComplete": "var(--xmlui-borderEndStartRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderEndEndRadius-AutoComplete": "var(--xmlui-borderEndEndRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "Input:borderRadius-AutoComplete-default": "var(--xmlui-borderRadius-AutoComplete-default)", "Input:borderColor-AutoComplete-default": "var(--xmlui-borderColor-AutoComplete-default)", "Input:borderWidth-AutoComplete-default": "var(--xmlui-borderWidth-AutoComplete-default)", "Input:borderStyle-AutoComplete-default": "var(--xmlui-borderStyle-AutoComplete-default)", "Input:fontSize-AutoComplete-default": "var(--xmlui-fontSize-AutoComplete-default)", "Input:backgroundColor-AutoComplete-default": "var(--xmlui-backgroundColor-AutoComplete-default)", "Input:boxShadow-AutoComplete-default": "var(--xmlui-boxShadow-AutoComplete-default)", "Input:textColor-AutoComplete-default": "var(--xmlui-textColor-AutoComplete-default)", "Input:borderColor-AutoComplete-default--hover": "var(--xmlui-borderColor-AutoComplete-default--hover)", "Input:backgroundColor-AutoComplete-default--hover": "var(--xmlui-backgroundColor-AutoComplete-default--hover)", "Input:boxShadow-AutoComplete-default--hover": "var(--xmlui-boxShadow-AutoComplete-default--hover)", "Input:textColor-AutoComplete-default--hover": "var(--xmlui-textColor-AutoComplete-default--hover)", "Input:textColor-placeholder-AutoComplete-default": "var(--xmlui-textColor-placeholder-AutoComplete-default)", "Input:borderRadius-AutoComplete-error": "var(--xmlui-borderRadius-AutoComplete-error)", "Input:borderColor-AutoComplete-error": "var(--xmlui-borderColor-AutoComplete-error)", "Input:borderWidth-AutoComplete-error": "var(--xmlui-borderWidth-AutoComplete-error)", "Input:borderStyle-AutoComplete-error": "var(--xmlui-borderStyle-AutoComplete-error)", "Input:fontSize-AutoComplete-error": "var(--xmlui-fontSize-AutoComplete-error)", "Input:backgroundColor-AutoComplete-error": "var(--xmlui-backgroundColor-AutoComplete-error)", "Input:boxShadow-AutoComplete-error": "var(--xmlui-boxShadow-AutoComplete-error)", "Input:textColor-AutoComplete-error": "var(--xmlui-textColor-AutoComplete-error)", "Input:borderColor-AutoComplete-error--hover": "var(--xmlui-borderColor-AutoComplete-error--hover)", "Input:backgroundColor-AutoComplete-error--hover": "var(--xmlui-backgroundColor-AutoComplete-error--hover)", "Input:boxShadow-AutoComplete-error--hover": "var(--xmlui-boxShadow-AutoComplete-error--hover)", "Input:textColor-AutoComplete-error--hover": "var(--xmlui-textColor-AutoComplete-error--hover)", "Input:textColor-placeholder-AutoComplete-error": "var(--xmlui-textColor-placeholder-AutoComplete-error)", "Input:borderRadius-AutoComplete-warning": "var(--xmlui-borderRadius-AutoComplete-warning)", "Input:borderColor-AutoComplete-warning": "var(--xmlui-borderColor-AutoComplete-warning)", "Input:borderWidth-AutoComplete-warning": "var(--xmlui-borderWidth-AutoComplete-warning)", "Input:borderStyle-AutoComplete-warning": "var(--xmlui-borderStyle-AutoComplete-warning)", "Input:fontSize-AutoComplete-warning": "var(--xmlui-fontSize-AutoComplete-warning)", "Input:backgroundColor-AutoComplete-warning": "var(--xmlui-backgroundColor-AutoComplete-warning)", "Input:boxShadow-AutoComplete-warning": "var(--xmlui-boxShadow-AutoComplete-warning)", "Input:textColor-AutoComplete-warning": "var(--xmlui-textColor-AutoComplete-warning)", "Input:borderColor-AutoComplete-warning--hover": "var(--xmlui-borderColor-AutoComplete-warning--hover)", "Input:backgroundColor-AutoComplete-warning--hover": "var(--xmlui-backgroundColor-AutoComplete-warning--hover)", "Input:boxShadow-AutoComplete-warning--hover": "var(--xmlui-boxShadow-AutoComplete-warning--hover)", "Input:textColor-AutoComplete-warning--hover": "var(--xmlui-textColor-AutoComplete-warning--hover)", "Input:textColor-placeholder-AutoComplete-warning": "var(--xmlui-textColor-placeholder-AutoComplete-warning)", "Input:borderRadius-AutoComplete-success": "var(--xmlui-borderRadius-AutoComplete-success)", "Input:borderColor-AutoComplete-success": "var(--xmlui-borderColor-AutoComplete-success)", "Input:borderWidth-AutoComplete-success": "var(--xmlui-borderWidth-AutoComplete-success)", "Input:borderStyle-AutoComplete-success": "var(--xmlui-borderStyle-AutoComplete-success)", "Input:fontSize-AutoComplete-success": "var(--xmlui-fontSize-AutoComplete-success)", "Input:backgroundColor-AutoComplete-success": "var(--xmlui-backgroundColor-AutoComplete-success)", "Input:boxShadow-AutoComplete-success": "var(--xmlui-boxShadow-AutoComplete-success)", "Input:textColor-AutoComplete-success": "var(--xmlui-textColor-AutoComplete-success)", "Input:borderColor-AutoComplete-success--hover": "var(--xmlui-borderColor-AutoComplete-success--hover)", "Input:backgroundColor-AutoComplete-success--hover": "var(--xmlui-backgroundColor-AutoComplete-success--hover)", "Input:boxShadow-AutoComplete-success--hover": "var(--xmlui-boxShadow-AutoComplete-success--hover)", "Input:textColor-AutoComplete-success--hover": "var(--xmlui-textColor-AutoComplete-success--hover)", "Input:textColor-placeholder-AutoComplete-success": "var(--xmlui-textColor-placeholder-AutoComplete-success)", "Input:backgroundColor-AutoComplete--disabled": "var(--xmlui-backgroundColor-AutoComplete--disabled)", "Input:textColor-AutoComplete--disabled": "var(--xmlui-textColor-AutoComplete--disabled)", "Input:borderColor-AutoComplete--disabled": "var(--xmlui-borderColor-AutoComplete--disabled)", "Input:outlineWidth-AutoComplete--focus": "var(--xmlui-outlineWidth-AutoComplete--focus)", "Input:outlineColor-AutoComplete--focus": "var(--xmlui-outlineColor-AutoComplete--focus)", "Input:outlineStyle-AutoComplete--focus": "var(--xmlui-outlineStyle-AutoComplete--focus)", "Input:outlineOffset-AutoComplete--focus": "var(--xmlui-outlineOffset-AutoComplete--focus)", "paddingVertical-AutoComplete-badge": "var(--xmlui-paddingVertical-AutoComplete-badge)", "paddingHorizontal-AutoComplete-badge": "var(--xmlui-paddingHorizontal-AutoComplete-badge)", "Input:fontSize-AutoComplete-badge": "var(--xmlui-fontSize-AutoComplete-badge)", "Input:backgroundColor-AutoComplete-badge": "var(--xmlui-backgroundColor-AutoComplete-badge)", "Input:textColor-AutoComplete-badge": "var(--xmlui-textColor-AutoComplete-badge)", "Input:backgroundColor-AutoComplete-badge--hover": "var(--xmlui-backgroundColor-AutoComplete-badge--hover)", "Input:textColor-AutoComplete-badge--hover": "var(--xmlui-textColor-AutoComplete-badge--hover)", "Input:backgroundColor-AutoComplete-badge--active": "var(--xmlui-backgroundColor-AutoComplete-badge--active)", "Input:textColor-AutoComplete-badge--active": "var(--xmlui-textColor-AutoComplete-badge--active)", "Input:textColor-placeholder-AutoComplete": "var(--xmlui-textColor-placeholder-AutoComplete)", "Input:backgroundColor-menu-AutoComplete": "var(--xmlui-backgroundColor-menu-AutoComplete)", "Input:borderRadius-menu-AutoComplete": "var(--xmlui-borderRadius-menu-AutoComplete)", "Input:boxShadow-menu-AutoComplete": "var(--xmlui-boxShadow-menu-AutoComplete)", "backgroundColor-item-AutoComplete": "var(--xmlui-backgroundColor-item-AutoComplete)", "backgroundColor-item-AutoComplete--hover": "var(--xmlui-backgroundColor-item-AutoComplete--hover)", "textColor-item-AutoComplete--disabled": "var(--xmlui-textColor-item-AutoComplete--disabled)"}'`,command:"_command_xh4ul_13",badgeListWrapper:"_badgeListWrapper_xh4ul_20",error:"_error_xh4ul_45",warning:"_warning_xh4ul_64",valid:"_valid_xh4ul_83",disabled:"_disabled_xh4ul_102",focused:"_focused_xh4ul_109",badgeList:"_badgeList_xh4ul_20",badge:"_badge_xh4ul_20",commandInput:"_commandInput_xh4ul_150",actions:"_actions_xh4ul_166",action:"_action_xh4ul_166",autoCompleteEmpty:"_autoCompleteEmpty_xh4ul_176",commandList:"_commandList_xh4ul_186","fade-in":"_fade-in_xh4ul_1",autoCompleteOption:"_autoCompleteOption_xh4ul_199"},Hn=s.createContext({value:null,onChange:e=>{},optionRenderer:e=>d.jsx("div",{children:e.label}),inputValue:"",options:new Set,open:!1,setOpen:e=>{}});function Sn(){return s.useContext(Hn)}function Om(e){return d.jsx("div",{children:e.label})}function Lm(e,r){return r.some(t=>Array.from(e).some(o=>o.value===t.value||o.label===t.label))}const _m=s.forwardRef(function({id:r,initialValue:t,value:o,enabled:a=!0,placeholder:l,updateState:i=ae,validationStatus:n="none",onDidChange:c=ae,onFocus:b=ae,onBlur:h=ae,registerComponentApi:p,optionRenderer:C=Om,emptyListTemplate:x,style:g,children:T,readOnly:y=!1,autoFocus:$=!1,dropdownHeight:w,multi:O=!1,label:V,labelPosition:P,labelWidth:Z,labelBreak:E,required:j=!1,creatable:U=!1},M){const[f,v]=s.useState(null),H=s.useRef(null),[S,L]=s.useState(!1),F=s.useRef(null),[N,D]=s.useState(new Set),[X,q]=s.useState(""),{root:I}=Nt(),[B,W]=s.useState(0),A=s.useRef(),z=s.useId(),R=r||z,[ie,ce]=s.useState(""),[Te,oe]=s.useState(!1);s.useEffect(()=>{t!==void 0&&i({value:t||[]},{initial:!0})},[t,i]),s.useEffect(()=>{var G;const te=f;return(G=A.current)==null||G.disconnect(),te&&(A.current=new ResizeObserver(()=>W(te.clientWidth)),A.current.observe(te)),()=>{var le;(le=A.current)==null||le.disconnect()}},[f]);const se=s.useMemo(()=>{const te=Array.from(N);return Array.isArray(o)?o.length===0?[]:te.filter(G=>o.includes(`${G.value}`)):te.find(G=>`${G.value}`==`${o}`)},[o,N]),_e=s.useCallback(te=>{var le;if(O?(q(""),ce("")):L(!0),te==="")return;const G=O?Array.isArray(o)?o.includes(te)?o.filter(pe=>pe!==te):[...o,te]:[te]:te===o?null:te;i({value:G}),c(G),(le=H.current)==null||le.focus()},[O,o,i,c,H.current]);s.useEffect(()=>{Array.isArray(se)||(q((se==null?void 0:se.label)||""),ce(""))},[O,se]);const Ae=s.useCallback(()=>{const te=O?[]:"";q(""),i({value:te}),c(te)},[O,i,c]),Ne=s.useCallback(te=>{D(G=>new Set(G).add(te))},[]),ee=s.useCallback(te=>{D(G=>{const le=new Set(G);return le.delete(te),le})},[]),He=s.useMemo(()=>x??d.jsxs("div",{className:Je.autoCompleteEmpty,children:[d.jsx(me,{name:"noresult"}),d.jsx("span",{children:"List is empty"})]}),[x]),be=s.useCallback(()=>{var te;(te=H==null?void 0:H.current)==null||te.focus()},[H==null?void 0:H.current]),J=Ce(te=>{i({value:te})});s.useEffect(()=>{p==null||p({focus:be,setValue:J})},[be,p,J]);const ge=s.useMemo(()=>({onOptionAdd:Ne,onOptionRemove:ee}),[Ne,ee]),de=s.useMemo(()=>({multi:O,value:o,onChange:_e,optionRenderer:C,options:N,inputValue:X,open:S,setOpen:L}),[X,O,C,N,_e,o,S,L]);return d.jsx(Hn.Provider,{value:de,children:d.jsx(vi,{Component:Tn,children:d.jsxs(xi.Provider,{value:ge,children:[d.jsx(lt,{id:R,ref:M,labelPosition:P,label:V,labelWidth:Z,labelBreak:E,required:j,enabled:a,onFocus:b,onBlur:h,style:g,children:d.jsx(Dt.Popover,{open:S,onOpenChange:te=>{y||L(te)},modal:!1,children:d.jsxs(Ot.Command,{ref:F,className:Je.command,filter:(te,G,le)=>y||!ie||ie.trim()===""||(te+" "+le.join(" ")).toLowerCase().includes(G.toLowerCase())?1:0,children:[d.jsx(Dt.PopoverTrigger,{asChild:!0,children:d.jsxs("div",{id:R,ref:v,style:{width:"100%",...g},className:re(Je.badgeListWrapper,Je[n],{[Je.disabled]:!a,[Je.focused]:Te}),children:[Array.isArray(se)&&d.jsx("div",{className:Je.badgeList,children:se.map((te,G)=>d.jsxs("span",{className:Je.badge,children:[te==null?void 0:te.label,!y&&d.jsx(me,{name:"close",size:"sm",onClick:le=>{le.stopPropagation(),_e(te.value)}})]},G))}),d.jsx(Ot.CommandInput,{onFocus:()=>{oe(!0),b()},onBlur:()=>{X===""&&!O?Ae():!Array.isArray(se)&&X!==(se==null?void 0:se.label)?q(se==null?void 0:se.label):q(""),h(),oe(!1)},onKeyDown:te=>{y||(te.key==="ArrowDown"&&L(!0),te.key==="Enter"&&L(G=>!G))},id:r,readOnly:y,autoFocus:$,ref:H,value:X,disabled:!a,onValueChange:te=>{L(!0),q(te),ce(te)},placeholder:y?"":l,className:Je.commandInput}),d.jsxs("div",{className:Je.actions,children:[(o==null?void 0:o.length)>0&&a&&!y&&d.jsx("span",{className:Je.action,onClick:te=>{te.stopPropagation(),Ae()},children:d.jsx(me,{name:"close"})}),d.jsx("span",{className:Je.action,onClick:()=>{y||L(!S)},children:d.jsx(me,{name:"chevrondown"})})]})]})}),S&&d.jsx(Dt.Portal,{container:I,children:d.jsx(Dt.PopoverContent,{asChild:!0,style:{width:B,height:w},className:Je.popoverContent,align:"start",onOpenAutoFocus:te=>te.preventDefault(),children:d.jsxs(Ot.CommandList,{role:"listbox",className:Je.commandList,style:{height:w},children:[d.jsx(Ot.CommandEmpty,{children:He}),U&&d.jsx(Vm,{}),d.jsx(Ot.CommandGroup,{children:Array.from(N).map(({value:te,label:G,enabled:le,keywords:pe})=>d.jsx(Am,{value:te,label:G,enabled:le,keywords:pe,readOnly:y},te))})]})})})]})})}),T]})})})});function Vm(){const{value:e,options:r,inputValue:t,onChange:o,setOpen:a}=Sn(),{onOptionAdd:l}=gn();if(Lm(r,[{value:t,label:t}])||Array.isArray(e)&&(e!=null&&e.find(n=>n===t))||t===e)return d.jsx("span",{style:{display:"none"}});const i=d.jsx(Ot.CommandItem,{value:t,className:Je.autoCompleteOption,onMouseDown:n=>{n.preventDefault(),n.stopPropagation()},onSelect:n=>{l({value:n,label:n,enabled:!0}),o(n),a(!1)},children:`Create "${t}"`});return t.length>0?i:d.jsx("span",{style:{display:"none"}})}function Am({value:e,label:r,enabled:t=!0,keywords:o,readOnly:a}){const l=s.useId(),{value:i,onChange:n,optionRenderer:c,multi:b,setOpen:h}=Sn(),p=b?i==null?void 0:i.includes(e):i===e;return d.jsxs(Ot.CommandItem,{id:l,disabled:!t,value:`${e}`,className:re(Je.autoCompleteOption,{[Je.disabledOption]:!t}),onMouseDown:C=>{C.preventDefault(),C.stopPropagation()},onSelect:()=>{!a&&t&&n(e),h(!1)},"data-state":t?p?"checked":void 0:"disabled",keywords:o,children:[c({label:r,value:e}),p&&d.jsx(me,{name:"checkmark"})]},l)}const dt={themeVars:`'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor-track-Slider)", "Input:borderRadius-Slider-default": "var(--xmlui-borderRadius-Slider-default)", "Input:borderColor-Slider-default": "var(--xmlui-borderColor-Slider-default)", "Input:borderWidth-Slider-default": "var(--xmlui-borderWidth-Slider-default)", "Input:borderStyle-Slider-default": "var(--xmlui-borderStyle-Slider-default)", "Input:boxShadow-Slider-default": "var(--xmlui-boxShadow-Slider-default)", "Input:borderColor-Slider-default--hover": "var(--xmlui-borderColor-Slider-default--hover)", "Input:boxShadow-Slider-default--hover": "var(--xmlui-boxShadow-Slider-default--hover)", "Input:borderColor-Slider-default--focus": "var(--xmlui-borderColor-Slider-default--focus)", "Input:boxShadow-Slider-default--focus": "var(--xmlui-boxShadow-Slider-default--focus)", "Input:borderRadius-Slider-error": "var(--xmlui-borderRadius-Slider-error)", "Input:borderColor-Slider-error": "var(--xmlui-borderColor-Slider-error)", "Input:borderWidth-Slider-error": "var(--xmlui-borderWidth-Slider-error)", "Input:borderStyle-Slider-error": "var(--xmlui-borderStyle-Slider-error)", "Input:boxShadow-Slider-error": "var(--xmlui-boxShadow-Slider-error)", "Input:borderColor-Slider-error--hover": "var(--xmlui-borderColor-Slider-error--hover)", "Input:boxShadow-Slider-error--hover": "var(--xmlui-boxShadow-Slider-error--hover)", "Input:borderColor-Slider-error--focus": "var(--xmlui-borderColor-Slider-error--focus)", "Input:boxShadow-Slider-error--focus": "var(--xmlui-boxShadow-Slider-error--focus)", "Input:borderRadius-Slider-warning": "var(--xmlui-borderRadius-Slider-warning)", "Input:borderColor-Slider-warning": "var(--xmlui-borderColor-Slider-warning)", "Input:borderWidth-Slider-warning": "var(--xmlui-borderWidth-Slider-warning)", "Input:borderStyle-Slider-warning": "var(--xmlui-borderStyle-Slider-warning)", "Input:boxShadow-Slider-warning": "var(--xmlui-boxShadow-Slider-warning)", "Input:borderColor-Slider-warning--hover": "var(--xmlui-borderColor-Slider-warning--hover)", "Input:boxShadow-Slider-warning--hover": "var(--xmlui-boxShadow-Slider-warning--hover)", "Input:borderColor-Slider-warning--focus": "var(--xmlui-borderColor-Slider-warning--focus)", "Input:boxShadow-Slider-warning--focus": "var(--xmlui-boxShadow-Slider-warning--focus)", "Input:borderRadius-Slider-success": "var(--xmlui-borderRadius-Slider-success)", "Input:borderColor-Slider-success": "var(--xmlui-borderColor-Slider-success)", "Input:borderWidth-Slider-success": "var(--xmlui-borderWidth-Slider-success)", "Input:borderStyle-Slider-success": "var(--xmlui-borderStyle-Slider-success)", "Input:boxShadow-Slider-success": "var(--xmlui-boxShadow-Slider-success)", "Input:borderColor-Slider-success--hover": "var(--xmlui-borderColor-Slider-success--hover)", "Input:boxShadow-Slider-success--hover": "var(--xmlui-boxShadow-Slider-success--hover)", "Input:borderColor-Slider-success--focus": "var(--xmlui-borderColor-Slider-success--focus)", "Input:boxShadow-Slider-success--focus": "var(--xmlui-boxShadow-Slider-success--focus)", "Input:backgroundColor-track-Slider--disabled": "var(--xmlui-backgroundColor-track-Slider--disabled)", "Input:backgroundColor-range-Slider": "var(--xmlui-backgroundColor-range-Slider)", "Input:backgroundColor-range-Slider--disabled": "var(--xmlui-backgroundColor-range-Slider--disabled)", "Input:borderWidth-thumb-Slider": "var(--xmlui-borderWidth-thumb-Slider)", "Input:borderStyle-thumb-Slider": "var(--xmlui-borderStyle-thumb-Slider)", "Input:borderColor-thumb-Slider": "var(--xmlui-borderColor-thumb-Slider)", "Input:backgroundColor-thumb-Slider": "var(--xmlui-backgroundColor-thumb-Slider)", "Input:boxShadow-thumb-Slider": "var(--xmlui-boxShadow-thumb-Slider)"}'`,sliderContainer:"_sliderContainer_d4hsx_13",sliderRoot:"_sliderRoot_d4hsx_19",sliderTrack:"_sliderTrack_d4hsx_29",error:"_error_d4hsx_51",warning:"_warning_d4hsx_66",valid:"_valid_d4hsx_81",disabled:"_disabled_d4hsx_96",sliderRange:"_sliderRange_d4hsx_100",sliderThumb:"_sliderThumb_d4hsx_110",readOnly:"_readOnly_d4hsx_133"},kn=(e,r=0)=>e===void 0?[r]:typeof e=="number"?[e]:Array.isArray(e)&&e.length>0?e:[r],wn=s.forwardRef(({style:e,step:r=1,min:t=0,max:o=10,inverted:a,updateState:l,onDidChange:i=ae,onFocus:n=ae,onBlur:c=ae,registerComponentApi:b,enabled:h=!0,value:p,autoFocus:C,readOnly:x,tabIndex:g=-1,label:T,labelPosition:y,labelWidth:$,labelBreak:w,required:O,validationStatus:V="none",initialValue:P,minStepsBetweenThumbs:Z,rangeStyle:E,thumbStyle:j,showValues:U=!0,valueFormat:M=v=>v.toString()},f)=>{const v=s.useRef(null),[H,S]=s.useState([]);s.useEffect(()=>{let A;if(typeof P=="string")try{A=JSON.parse(P)}catch{const ie=parseFloat(P);isNaN(ie)||(A=ie)}else A=P;const z=kn(A,t);S(z),l&&l({value:z.length===1?z[0]:z},{initial:!0})},[P,t,l]),s.useEffect(()=>{if(p!==void 0){const A=kn(p,t);S(A)}},[p,t]);const L=s.useCallback(A=>{l&&l({value:A}),i(A)},[i,l]),F=s.useCallback(A=>{S(A),v.current&&(v.current.value=A),A.length>1?L(A):A.length===1&&L(A[0])},[L]),N=s.useCallback(()=>{n==null||n()},[n]),D=s.useCallback(()=>{c==null||c()},[c]),X=s.useCallback(()=>{var A;(A=v.current)==null||A.focus()},[]),q=Ce(A=>{L(A)});s.useEffect(()=>{b==null||b({focus:X,setValue:q})},[X,b,q]);const I=H.length>0?H:[t],B=I.map(A=>M(A)).join(", "),W=T?U?`${T} ${B}`:T:U?B:"";return d.jsx(lt,{labelPosition:y,label:W,labelWidth:$,labelBreak:w,required:O,enabled:h,onFocus:n,onBlur:c,style:e,ref:f,children:d.jsx("div",{className:dt.sliderContainer,children:d.jsxs(_o.Root,{minStepsBetweenThumbs:Z||1,ref:v,tabIndex:g,"aria-readonly":x,className:re(dt.sliderRoot,{[dt.disabled]:!h,[dt.readOnly]:x}),style:e,max:o,min:t,inverted:a,step:r,disabled:!h,onFocus:N,onBlur:D,onValueChange:F,"aria-required":O,value:I,autoFocus:C,children:[d.jsx(_o.Track,{className:re(dt.sliderTrack,{[dt.disabled]:!h,[dt.readOnly]:x,[dt.error]:V==="error",[dt.warning]:V==="warning",[dt.valid]:V==="valid"}),style:E?{...E}:void 0,children:d.jsx(_o.Range,{className:re(dt.sliderRange,{[dt.disabled]:!h})})}),I.map((A,z)=>d.jsx(_o.Thumb,{className:re(dt.sliderThumb,{[dt.disabled]:!h}),style:j?{...j}:void 0},z))]})})})});wn.displayName=_o.Root.displayName;const Co={themeVars:`'{"Input:backgroundColor-ColorPicker": "var(--xmlui-backgroundColor-ColorPicker)", "Input:borderRadius-ColorPicker-default": "var(--xmlui-borderRadius-ColorPicker-default)", "Input:borderColor-ColorPicker-default": "var(--xmlui-borderColor-ColorPicker-default)", "Input:borderWidth-ColorPicker-default": "var(--xmlui-borderWidth-ColorPicker-default)", "Input:borderStyle-ColorPicker-default": "var(--xmlui-borderStyle-ColorPicker-default)", "Input:boxShadow-ColorPicker-default": "var(--xmlui-boxShadow-ColorPicker-default)", "Input:borderColor-ColorPicker-default--hover": "var(--xmlui-borderColor-ColorPicker-default--hover)", "Input:boxShadow-ColorPicker-default--hover": "var(--xmlui-boxShadow-ColorPicker-default--hover)", "Input:borderColor-ColorPicker-default--focus": "var(--xmlui-borderColor-ColorPicker-default--focus)", "Input:boxShadow-ColorPicker-default--focus": "var(--xmlui-boxShadow-ColorPicker-default--focus)", "Input:borderRadius-ColorPicker-error": "var(--xmlui-borderRadius-ColorPicker-error)", "Input:borderColor-ColorPicker-error": "var(--xmlui-borderColor-ColorPicker-error)", "Input:borderWidth-ColorPicker-error": "var(--xmlui-borderWidth-ColorPicker-error)", "Input:borderStyle-ColorPicker-error": "var(--xmlui-borderStyle-ColorPicker-error)", "Input:boxShadow-ColorPicker-error": "var(--xmlui-boxShadow-ColorPicker-error)", "Input:borderColor-ColorPicker-error--hover": "var(--xmlui-borderColor-ColorPicker-error--hover)", "Input:boxShadow-ColorPicker-error--hover": "var(--xmlui-boxShadow-ColorPicker-error--hover)", "Input:borderColor-ColorPicker-error--focus": "var(--xmlui-borderColor-ColorPicker-error--focus)", "Input:boxShadow-ColorPicker-error--focus": "var(--xmlui-boxShadow-ColorPicker-error--focus)", "Input:borderRadius-ColorPicker-warning": "var(--xmlui-borderRadius-ColorPicker-warning)", "Input:borderColor-ColorPicker-warning": "var(--xmlui-borderColor-ColorPicker-warning)", "Input:borderWidth-ColorPicker-warning": "var(--xmlui-borderWidth-ColorPicker-warning)", "Input:borderStyle-ColorPicker-warning": "var(--xmlui-borderStyle-ColorPicker-warning)", "Input:boxShadow-ColorPicker-warning": "var(--xmlui-boxShadow-ColorPicker-warning)", "Input:borderColor-ColorPicker-warning--hover": "var(--xmlui-borderColor-ColorPicker-warning--hover)", "Input:boxShadow-ColorPicker-warning--hover": "var(--xmlui-boxShadow-ColorPicker-warning--hover)", "Input:borderColor-ColorPicker-warning--focus": "var(--xmlui-borderColor-ColorPicker-warning--focus)", "Input:boxShadow-ColorPicker-warning--focus": "var(--xmlui-boxShadow-ColorPicker-warning--focus)", "Input:borderRadius-ColorPicker-success": "var(--xmlui-borderRadius-ColorPicker-success)", "Input:borderColor-ColorPicker-success": "var(--xmlui-borderColor-ColorPicker-success)", "Input:borderWidth-ColorPicker-success": "var(--xmlui-borderWidth-ColorPicker-success)", "Input:borderStyle-ColorPicker-success": "var(--xmlui-borderStyle-ColorPicker-success)", "Input:boxShadow-ColorPicker-success": "var(--xmlui-boxShadow-ColorPicker-success)", "Input:borderColor-ColorPicker-success--hover": "var(--xmlui-borderColor-ColorPicker-success--hover)", "Input:boxShadow-ColorPicker-success--hover": "var(--xmlui-boxShadow-ColorPicker-success--hover)", "Input:borderColor-ColorPicker-success--focus": "var(--xmlui-borderColor-ColorPicker-success--focus)", "Input:boxShadow-ColorPicker-success--focus": "var(--xmlui-boxShadow-ColorPicker-success--focus)"}'`,colorInput:"_colorInput_ays9f_13",error:"_error_ays9f_41",warning:"_warning_ays9f_56",valid:"_valid_ays9f_71"},Uo={initialValue:"",value:"",enabled:!0,validationStatus:"none"},In=s.forwardRef(({style:e,updateState:r,onDidChange:t=ae,onFocus:o=ae,onBlur:a=ae,registerComponentApi:l,enabled:i=Uo.enabled,value:n=Uo.value,autoFocus:c,tabIndex:b=-1,label:h,labelPosition:p,labelWidth:C,labelBreak:x,required:g,validationStatus:T=Uo.validationStatus,initialValue:y=Uo.initialValue},$)=>{const w=s.useRef(null),O=s.useCallback(U=>{r({value:U}),t(U)},[t,r]),V=s.useCallback(U=>{O(U.target.value)},[O]);s.useEffect(()=>{r({value:y},{initial:!0})},[y,r]);const P=s.useCallback(()=>{o==null||o()},[o]),Z=s.useCallback(()=>{a==null||a()},[a]),E=s.useCallback(()=>{var U;(U=w.current)==null||U.focus()},[]),j=Ce(U=>{O(U)});return s.useEffect(()=>{l==null||l({focus:E,setValue:j})},[E,l,j]),d.jsx(lt,{labelPosition:p,label:h,labelWidth:C,labelBreak:x,required:g,enabled:i,onFocus:o,onBlur:a,style:e,ref:$,children:d.jsx("input",{className:re(Co.colorInput,{[Co.disabled]:!i,[Co.error]:T==="error",[Co.warning]:T==="warning",[Co.valid]:T==="valid"}),disabled:!i,onFocus:P,onChange:V,autoFocus:c,onBlur:Z,required:g,type:"color",inputMode:"text",ref:w,value:n,tabIndex:b})})});In.displayName="ColorPicker";const qo={helper:"_helper_1qbfk_13",helperText:"_helperText_1qbfk_24",valid:"_valid_1qbfk_29",error:"_error_1qbfk_34",warning:"_warning_1qbfk_39"};function Wm(e){return so({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]})(e)}const Nm=e=>d.jsx(Wm,{...e});function zm(e){return so({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.953 2C6.465 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.493 2 11.953 2zM12 20c-4.411 0-8-3.589-8-8s3.567-8 7.953-8C16.391 4 20 7.589 20 12s-3.589 8-8 8z"}},{tag:"path",attr:{d:"M11 7h2v7h-2zm0 8h2v2h-2z"}}]})(e)}const Em=e=>d.jsx(zm,{...e}),Bn=({text:e="",status:r,style:t})=>{const o=()=>{if(r==="warning")return d.jsx(Nm,{color:"var(--xmlui-color-warning)"});if(r==="error")return d.jsx(Em,{color:"var(--xmlui-color-error)"})};return d.jsxs("div",{"data-validation-status":r,style:t,className:re(qo.helper,{[qo.valid]:r==="valid",[qo.warning]:r==="warning",[qo.error]:r==="error"}),children:[r&&d.jsx("div",{style:{flexShrink:0},children:o()}),e&&d.jsx("div",{className:qo.helperText,children:e})]})},Pm=s.forwardRef(function({id:r,style:t,value:o,initialValue:a,zeroOrPositive:l=!1,min:i=l?0:-999999999999999,max:n=fo,maxFractionDigits:c=3,enabled:b=!0,placeholder:h,step:p,integersOnly:C=!1,validationStatus:x="none",hasSpinBox:g=!0,updateState:T=ae,onDidChange:y=ae,onFocus:$=ae,onBlur:w=ae,registerComponentApi:O,startText:V,startIcon:P,endText:Z,endIcon:E,spinnerUpIcon:j,spinnerDownIcon:U,autoFocus:M,readOnly:f,required:v,label:H,labelPosition:S,labelWidth:L,labelBreak:F},N){const D=s.useRef(null),X=s.useRef(null),q=s.useRef(null),I="en-US",B=s.useMemo(()=>({useGrouping:!1,minimumFractionDigits:0,maximumFractionDigits:C?0:c}),[c,C]),W=Mm(I,B),A=Dm(I,B);i=Qr(Fo(i,!0)??(l?0:-999999999999999),l?0:-999999999999999,fo),n=Qr(Fo(n,!0)??(l?0:-999999999999999),l?0:-999999999999999,fo);const z=s.useCallback((G,le="")=>go(G)||Be.isNaN(A.parse(G.toString()))?le:W.format(Qr(+G,i,n)),[W,A,i,n]),[R,ie]=s.useState(z(o));s.useLayoutEffect(()=>{ie(z(o))},[o,z]);const ce=Gm(R,D),Te=Fo(p,!0)??an,oe=s.useMemo(()=>W.resolvedOptions().maximumFractionDigits>0?"decimal":"numeric",[W]);s.useEffect(()=>{T({value:a},{initial:!0})},[a,T]);const se=s.useCallback(G=>Qr(G,i,n),[i,n]),_e=s.useCallback(G=>{if(go(G)){T({value:null});return}if(G=G.toString(),!G.length){T({value:null});return}let le=A.parse(G);if(le=se(le),Be.isNaN(le)){T({value:G});return}ie(pe=>{const tt=W.format(le);return pe!==tt?tt:pe}),T({value:le})},[se,T,A,W]),Ae=s.useCallback(()=>{if(!b||f)return;const G=go(o)||Be.isNaN(o)?"0":o.toString(),le=On(G,A,"increase",Te,i,n);T({value:le})},[o,b,f,A,Te,i,n,T]),Ne=s.useCallback(()=>{if(!b||f)return;const G=go(o)||Be.isNaN(o)?"0":o.toString(),le=On(G,A,"decrease",Te,i,n);T({value:le})},[o,b,f,A,Te,i,n,T]);$n(X.current,Ae),$n(q.current,Ne);const ee=s.useCallback(G=>{const le=G.target,pe=A.parse(le.value.slice(0,le.selectionStart??void 0)+(G.nativeEvent.data??"")+le.value.slice(le.selectionEnd??void 0)).toString();A.isValidPartialNumber(pe,i,n)||G.preventDefault()},[A,i,n]),He=s.useCallback(G=>{const le=G.target.value;let pe=se(A.parse(G.target.value));C&&Number.isInteger(pe)&&(pe=Math.trunc(pe)),Rm(le,I,B)?T({value:pe}):ie(le),ce(G),y(pe)},[se,A,y,I,B,ce,T,C]),be=s.useCallback(()=>{$==null||$()},[$]),J=s.useCallback(G=>{const le=G.target.value;_e(le),w()},[_e,w]),ge=s.useCallback(G=>{G.key==="Enter"&&_e(o),G.code==="ArrowUp"&&(G.preventDefault(),Ae()),G.code==="ArrowDown"&&(G.preventDefault(),Ne())},[_e,Ae,Ne,o]),de=s.useCallback(()=>{var G;(G=D.current)==null||G.focus()},[]);s.useEffect(()=>{M&&setTimeout(()=>{var G;(G=D.current)==null||G.focus()},0)},[M]);const te=Ce(G=>{T({value:G})});return s.useEffect(()=>{O==null||O({focus:de,setValue:te})},[de,O,te]),d.jsx(lt,{ref:N,labelPosition:S,label:H,labelWidth:L,labelBreak:F,required:v,enabled:b,onFocus:$,onBlur:w,style:t,children:d.jsxs("div",{className:re(Oe.inputRoot,{[Oe.readOnly]:f,[Oe.disabled]:!b,[Oe.noSpinBox]:!g,[Oe.error]:x==="error",[Oe.warning]:x==="warning",[Oe.valid]:x==="valid"}),tabIndex:-1,onFocus:()=>{var G;(G=D.current)==null||G.focus()},children:[d.jsx(fr,{text:V,iconName:P,className:Oe.adornment}),d.jsx("input",{id:r,ref:D,type:"text",placeholder:h,required:v,readOnly:f,disabled:!b,inputMode:oe,className:re(Oe.input),value:R,min:i,max:n,autoFocus:M,onBeforeInput:ee,onChange:He,onFocus:be,onBlur:J,onKeyDown:ge}),d.jsx(fr,{text:Z,iconName:E,className:Oe.adornment}),g&&d.jsxs("div",{className:Oe.spinnerBox,children:[d.jsx(ot,{"data-spinner":"up",type:"button",variant:"ghost",themeColor:"secondary",tabIndex:-1,className:Oe.spinnerButton,disabled:!b||f,ref:X,children:d.jsx(me,{name:j||"spinnerUp:NumberBox",fallback:"chevronup",size:"sm"})}),d.jsx(ot,{"data-spinner":"down",type:"button",tabIndex:-1,variant:"ghost",themeColor:"secondary",className:Oe.spinnerButton,disabled:!b||f,ref:q,children:d.jsx(me,{name:U||"spinnerDown:NumberBox",fallback:"chevrondown",size:"sm"})})]})]})})});function Mm(e,r){return s.useMemo(()=>new Ai.NumberFormatter(e,r),[e,r])}function Dm(e,r){return s.useMemo(()=>new Ai.NumberParser(e,r),[e,r])}function $n(e,r,t=500){const o=s.useRef(0),a=s.useRef(0),l=s.useRef(r);s.useEffect(()=>{l.current=r},[r]),s.useEffect(()=>{const i=()=>{var b;(b=l.current)==null||b.call(l),o.current=window.setTimeout(()=>{a.current=window.setInterval(()=>{var h;(h=l.current)==null||h.call(l)},100)},t)},n=()=>{clearTimeout(o.current),clearInterval(a.current)},c=()=>{clearTimeout(o.current),clearInterval(a.current)};return e==null||e.addEventListener("mousedown",i),e==null||e.addEventListener("mouseup",n),e==null||e.addEventListener("mouseout",c),()=>{e==null||e.removeEventListener("mousedown",i),e==null||e.removeEventListener("mouseup",n),e==null||e.removeEventListener("mouseout",c)}},[e,r,t])}function On(e,r,t,o=1,a=-999999999999999,l=fo){const i=r.parse(e??"");return Be.isNaN(i)?a??0:Qr(t==="increase"?i+(o??1):i-(o??1),a,l)}function Rm(e,r,t){return e.trim()===""?!0:!(Be.isNaN(e)||Fm(e,r,t)||Um(e,r,t)||qm(e,r,t))}function Fm(e,r="en-US",t){var C,x;const a=new Intl.NumberFormat(r,t).formatToParts(1234.5),l=((C=a.find(g=>g.type==="group"))==null?void 0:C.value)||"",i=((x=a.find(g=>g.type==="decimal"))==null?void 0:x.value)||"",n=(l===""?e:e.replace(new RegExp(`\\${l}`,"g"),"")).replace(i,".");if(!/^-?\d*\.?\d*$/.test(n))return!1;const[c,b]=n.split(".");if(!b)return c.length>1&&c.startsWith("0");const h=c.startsWith("0")&&c.length>=1,p=(b.match(/^0+/)||[""])[0].length>=2;return h||p}function Um(e,r="en-US",t){var h,p;const a=new Intl.NumberFormat(r,t).formatToParts(1234.5),l=((h=a.find(C=>C.type==="group"))==null?void 0:h.value)||"",i=((p=a.find(C=>C.type==="decimal"))==null?void 0:p.value)||".",n=(l===""?e:e.replace(new RegExp(`\\${l}`,"g"),"")).replace(i,".");if(!/^-?\d*\.?\d*$/.test(n)||!n.includes("."))return!1;const[c,b]=n.split(".");return!b||b.length===0?!0:/0+$/.test(b)}function qm(e,r="en-US",t){var h,p;const a=new Intl.NumberFormat(r,t).formatToParts(1234.5),l=((h=a.find(C=>C.type==="group"))==null?void 0:h.value)||"",i=((p=a.find(C=>C.type==="decimal"))==null?void 0:p.value)||"",n=(l===""?e:e.replace(new RegExp(`\\${l}`,"g"),"")).replace(i,".");if(!/^-?\d*\.?\d*$/.test(n))return!1;const[c,b]=n.split(".");return b?b.length>t.maximumFractionDigits:!1}function Gm(e,r){const t=s.useRef({beforeStart:0,beforeEnd:0});return s.useLayoutEffect(()=>{r.current.setSelectionRange(t.current.beforeStart,t.current.beforeEnd)},[e]),a=>{t.current.beforeStart=a.target.selectionStart,t.current.beforeEnd=a.target.selectionEnd}}function jm({items:e,renderItem:r,reverse:t=!1}){const o=s.useMemo(()=>{if(!e)return[];let a=e;return Be.isPlainObject(e)&&(a=Object.values(e)),t?[...a].reverse():a},[e,t]);return!o||!Array.isArray(o)?null:d.jsx(d.Fragment,{children:o.map((a,l)=>d.jsx(s.Fragment,{children:r==null?void 0:r({$item:a,$itemIndex:l,$isFirst:l===0,$isLast:l===o.length-1},l)},l))})}const Xm={checkbox:"end"},Jr={type:"text",labelBreak:!0,enabled:!0,customValidationsDebounce:0},Ln=s.createContext({parentFormItemId:null});function Ym({children:e,formItemId:r,registerComponentApi:t,value:o=Qe,updateState:a}){const l=s.useMemo(()=>({parentFormItemId:r}),[r]),i=Ce(c=>{a({value:[...o,c]})}),n=Ce(c=>{a({value:o.filter((b,h)=>h!==c)})});return s.useEffect(()=>{t==null||t({addItem:i,removeItem:n})},[i,t,n]),d.jsx(Ln.Provider,{value:l,children:e})}s.memo(function({style:r,bindTo:t,type:o=Jr.type,label:a,enabled:l=Jr.enabled,labelPosition:i,labelWidth:n,labelBreak:c=Jr.labelBreak,children:b,validations:h,onValidate:p,customValidationsDebounce:C=Jr.customValidationsDebounce,validationMode:x,registerComponentApi:g,maxTextLength:T,inputRenderer:y,itemIndex:$,initialValue:w,gap:O,...V}){const P=s.useId(),{parentFormItemId:Z}=s.useContext(Ln),E=s.useMemo(()=>{const z=t||`${P}${kl}`;if(Z){if($!==void 0){let R=`${Z}[${$}]`;return t!==void 0&&t.trim()===""?R:`${R}.${z}`}}else return z},[t,P,$,Z]),j=cr(z=>n||z.itemLabelWidth),U=cr(z=>c!==void 0?c:z.itemLabelBreak),M=cr(z=>i||z.itemLabelPosition||Xm[o]),f=cr(z=>Xl(z.originalSubject,E)),v=f===void 0?w:f,H=cr(z=>Xl(z.subject,E)),S=cr(z=>z.validationResults[E]),L=cr(z=>z.dispatch),F=cr(z=>z.enabled),N=l&&F;s.useEffect(()=>{v!==void 0&&L(Eu(E,v))},[L,E,v]),xc(h,p,H,L,E,C);const D=s.useCallback(({value:z},R)=>{R!=null&&R.initial||L(Pu(E,z))},[E,L]);s.useEffect(()=>()=>{L(Ru(E))},[E,L]);const{validationStatus:X,isHelperTextShown:q}=fc(E,H,S,x);let I=null;switch(o){case"select":{I=d.jsx(gm,{...V,value:H,updateState:D,registerComponentApi:g,enabled:N,validationStatus:X,children:b});break}case"autocomplete":{I=d.jsx(_m,{...V,value:H,updateState:D,registerComponentApi:g,enabled:N,validationStatus:X,children:b});break}case"datePicker":{I=d.jsx(pu,{...V,value:H,updateState:D,enabled:N,validationStatus:X});break}case"radioGroup":{I=d.jsx(Cm,{...V,value:H,updateState:D,enabled:N,validationStatus:X,children:b});break}case"number":case"integer":{I=d.jsx(om,{...V,value:H,updateState:D,registerComponentApi:g,enabled:N,integersOnly:o==="integer",validationStatus:X,min:h.minValue,max:h.maxValue,maxLength:T??(h==null?void 0:h.maxLength),gap:O});break}case"integer2":case"number2":{I=d.jsx(Pm,{...V,value:H,updateState:D,registerComponentApi:g,enabled:N,min:h.minValue,max:h.maxValue,integersOnly:o==="integer2"});break}case"switch":case"checkbox":{I=d.jsx(Xa,{...V,value:H,updateState:D,enabled:N,validationStatus:X,variant:o,inputRenderer:y});break}case"file":{I=d.jsx(yu,{...V,value:H,updateState:D,registerComponentApi:g,enabled:N,validationStatus:X,multiple:Qc(V.multiple,!1)});break}case"text":{I=d.jsx(Ma,{...V,value:H,updateState:D,registerComponentApi:g,enabled:N,validationStatus:X,maxLength:T??(h==null?void 0:h.maxLength),gap:O});break}case"password":{I=d.jsx(Ma,{...V,type:"password",value:H,updateState:D,registerComponentApi:g,enabled:N,validationStatus:X,maxLength:T??(h==null?void 0:h.maxLength)});break}case"textarea":{I=d.jsx($m,{...V,value:H,updateState:D,registerComponentApi:g,enabled:N,validationStatus:X,maxLength:T??(h==null?void 0:h.maxLength)});break}case"slider":{I=d.jsx(wn,{...V,value:H,updateState:D,registerComponentApi:g,enabled:N,validationStatus:X,min:h.minValue,max:h.maxValue});break}case"colorpicker":{I=d.jsx(In,{...V,value:H,updateState:D,registerComponentApi:g,enabled:N,validationStatus:X});break}case"items":{I=d.jsx(Ym,{formItemId:E,registerComponentApi:g,updateState:D,value:H,children:d.jsx(jm,{items:H,renderItem:y})});break}case"custom":{I=b;break}default:{console.warn(`unknown form item type ${o}`),I=d.jsx("div",{children:H});break}}const B=Ce(()=>{L(Mu(E))}),W=Ce(()=>{L(Du(E))}),[A]=ii({duration:100});return d.jsx(lt,{labelPosition:M,label:a,labelWidth:j,labelBreak:U,enabled:N,required:h.required,validationInProgress:S==null?void 0:S.partial,onFocus:B,onBlur:W,style:r,validationResult:d.jsx("div",{ref:A,children:q&&(S==null?void 0:S.validations.map((z,R)=>d.jsxs(s.Fragment,{children:[z.isValid&&!!z.validMessage&&d.jsx(Bn,{text:z.validMessage,status:"valid",style:{opacity:z.stale?.5:void 0}}),!z.isValid&&!!z.invalidMessage&&d.jsx(Bn,{text:z.invalidMessage,status:z.severity,style:{opacity:z.stale?.5:void 0}})]},R)))}),children:I})});const yo="FormItem",va=mc.filter(e=>e!=="none"),Zm={status:"experimental",description:`A \`${yo}\` component represents a single input element within a \`Form\`. The value within the \`${yo}\` may be associated with a particular property within the encapsulating \`Form\` component's data.`,props:{bindTo:{description:"This property binds a particular input field to one of the attributes of the `Form` data. It names the property of the form's `data` data to get the input's initial value.When the field is saved, its value will be stored in the `data` property with this name."},autoFocus:it(),label:qe(),labelPosition:gt(),labelWidth:m("This property sets the width of the item label."),labelBreak:{description:"This boolean value indicates if the label can be split into multiple lines if it would overflow the available label width.",type:"boolean",defaultValue:Jr.labelBreak},enabled:Ze(),type:{description:"This property is used to determine the specific input control the FormItem will wrap around. Note that the control names start with a lowercase letter and map to input components found in XMLUI.",availableValues:hc,defaultValue:Jr.type,valueType:"string"},customValidationsDebounce:{description:"This optional number prop determines the time interval between two runs of a custom validation.",type:"number",defaultValue:Jr.customValidationsDebounce},validationMode:{description:"This property sets what kind of validation mode or strategy to employ for a particular input field.",availableValues:pc,defaultValue:Pl},initialValue:Tt(),required:Wt(),requiredInvalidMessage:{description:"This optional string property is used to customize the message that is displayed if the field is not filled in.",valueType:"string"},minLength:{description:"Checks whether the input has a minimum length of a specified value.",valueType:"number"},maxLength:{description:"Checks whether the input has a maximum length of a specified value.",valueType:"number"},maxTextLength:{description:"The maximum length of the text in the input field",valueType:"number"},lengthInvalidMessage:{description:"This optional string property is used to customize the message that is displayed on a failed length check: [minLength](#minlength) or [maxLength](#maxlength).",valueType:"string"},lengthInvalidSeverity:{description:"This property sets the severity level of the length validation.",valueType:"string",availableValues:va,defaultValue:"error"},minValue:{description:"Checks whether the input has the minimum specified value.",valueType:"number"},maxValue:{description:"Checks whether the input has the maximum specified value.",valueType:"number"},rangeInvalidMessage:{description:"This optional string property is used to customize the message that is displayed when a value is out of range.",valueType:"string"},rangeInvalidSeverity:{description:"This property sets the severity level of the value range validation.",valueType:"string",availableValues:va,defaultValue:"error"},pattern:{description:"Checks whether the input fits a predefined regular expression.",valueType:"string"},patternInvalidMessage:{description:"This optional string property is used to customize the message that is displayed on a failed pattern test.",valueType:"string"},patternInvalidSeverity:{description:"This property sets the severity level of the pattern validation.",valueType:"string",availableValues:va,defaultValue:"error"},regex:{description:"Checks whether the input fits the provided regular expression.",valueType:"string"},regexInvalidMessage:{description:"This optional string property is used to customize the message that is displayed on a failed regular expression test.",valueType:"string"},regexInvalidSeverity:{description:"This property sets the severity level of regular expression validation.",valueType:"string",availableValues:va,defaultValue:"error"},inputTemplate:{description:"This property is used to define a custom input template."},gap:{description:"This property defines the gap between the adornments and the input area."}},events:{validate:m("This event is used to define a custom validation function.")},contextVars:{$value:m(`The context variable represents the current value of the \`${yo}\`. It can be used in expressions and code snippets within the \`${yo}\` instance.`),$setValue:m(`This function can be invoked to set the \`${yo}\` instance's value. The function has a single argument, the new value to set.`),$validationResult:m(`This variable represents the result of the latest validation of the \`${yo}\` instance.`)},themeVars:Y(Ct.themeVars),defaultThemeVars:{"textColor-FormItemLabel":"$textColor-primary","fontSize-FormItemLabel":"$fontSize-small","fontWeight-FormItemLabel":"$fontWeight-medium","fontStyle-FormItemLabel":"normal","textTransform-FormItemLabel":"none","textColor-FormItemLabel-requiredMark":"$color-danger-400"}},bt="Heading",Kr=m(`This property determines the text displayed in the heading. \`${bt}\` also accepts nested text instead of specifying the \`value\`. If both \`value\` and a nested text are used, the \`value\` will be displayed.`),eo=m("This property determines the maximum number of lines the component can wrap to. If there is not enough space for all of the text, the component wraps the text up to as many lines as specified."),Qm={description:"This property indicates whether ellipses should be displayed (`true`) when the heading text is cropped or not (`false`).",type:"boolean",defaultValue:Rr.ellipses},Jm=m("This property indicates whether linebreaks should be preserved when displaying text."),Ho=e=>`Represents a heading level ${e} text`,to={description:"If true, this heading will be excluded from the table of contents.",type:"boolean",defaultValue:Rr.omitFromToc},Km={description:"Represents a heading text",props:{value:Kr,level:{description:"This property sets the visual significance (level) of the heading.",availableValues:["h1","h2","h3","h4","h5","h6"],defaultValue:Rr.level},maxLines:eo,ellipses:Qm,preserveLinebreaks:Jm,omitFromToc:to},themeVars:Y(yt.themeVars),defaultThemeVars:{[`fontFamily-${bt}`]:"$fontFamily",[`textColor-${bt}`]:"inherit",[`fontWeight-${bt}`]:"$fontWeight-bold",[`letterSpacing-${bt} `]:"0",[`color-anchor-${bt} `]:"$color-surface-400",[`gap-anchor-${bt} `]:"$space-2",[`textDecorationLine-anchor-${bt} `]:"underline",light:{},dark:{}}},So="H1",ep={description:Ho(1),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(yt.themeVars),defaultThemeVars:{[`fontSize-${So}`]:"$fontSize-large",[`marginTop-${So}`]:"0",[`marginBottom-${So}`]:"0",[`fontSize-${So}-markdown`]:"$fontSize-large",[`marginTop-${So}-markdown`]:"0",[`marginBottom-${So}-markdown`]:"$space-6",light:{},dark:{}}},Go="H2",tp={description:Ho(2),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(yt.themeVars),defaultThemeVars:{[`fontSize-${Go}`]:"$fontSize-medium",[`marginTop-${Go}`]:"0",[`marginBottom-${Go}`]:"0",[`marginTop-${Go}-markdown`]:"$space-10",[`marginBottom-${Go}-markdown`]:"$space-3",light:{},dark:{}}},jo="H3",rp={description:Ho(3),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(yt.themeVars),defaultThemeVars:{[`fontSize-${jo}`]:"$fontSize-normal",[`marginTop-${jo}`]:"0",[`marginBottom-${jo}`]:"0",[`marginTop-${jo}-markdown`]:"$space-6",[`marginBottom-${jo}-markdown`]:"$space-2",light:{},dark:{}}},Xo="H4",op={description:Ho(4),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(yt.themeVars),defaultThemeVars:{[`fontSize-${Xo}`]:"$fontSize-small",[`marginTop-${Xo}`]:"0",[`marginBottom-${Xo}`]:"0",[`marginTop-${Xo}-markdown`]:"$space-5",[`marginBottom-${Xo}-markdown`]:"$space-1",light:{},dark:{}}},Yo="H5",ap={description:Ho(5),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(yt.themeVars),defaultThemeVars:{[`fontSize-${Yo}`]:"$fontSize-smaller",[`marginTop-${Yo}`]:"0",[`marginBottom-${Yo}`]:"0",[`marginTop-${Yo}-markdown`]:"0",[`marginBottom-${Yo}-markdown`]:"$space-0",light:{},dark:{}}},Zo="H6",ip={description:Ho(6),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(yt.themeVars),defaultThemeVars:{[`fontSize-${Zo}`]:"$fontSize-tiny",[`marginTop-${Zo}`]:"0",[`marginBottom-${Zo}`]:"0",[`marginTop-${Zo}-markdown`]:"0",[`marginBottom-${Zo}-markdown`]:"$space-0",light:{},dark:{}}},lp={status:"deprecated",description:"(**OBSOLETE**) This component displays some content when its parent component is hovered.",props:{triggerTemplate:$e("The component that opens the hover card when hovered.")}},_n="Icon",np={status:"experimental",description:"This component is the representation of an icon.",props:{name:m("This string property specifies the name of the icon to display. All icons have unique names and identifying the name is case-sensitive."),size:{description:`This property defines the size of the \`${_n}\`. Note that setting the \`height\` and/or the \`width\` of the component will override this property.`,availableValues:["xs","sm","md","lg"]},fallback:m("This optional property provides a way to handle situations when the provided [icon name](#name) is not found in the registry.")},themeVars:Y(Yi.themeVars),defaultThemeVars:{[`size-${_n}`]:"1.25em"}},Vn="Image",sp={description:`The \`${Vn}\` component represents or depicts an object, scene, idea, or other concept with a picture.`,props:{src:m("This property is used to indicate the source (path) of the image to display."),alt:m("This property specifies an alternate text for the image."),fit:{description:"This property sets how the image content should be resized to fit its container.",type:"string",defaultValue:"contain"},lazyLoad:m("Lazy loading instructs the browser to load the image only when it is imminently needed (e.g. user scrolls to it). The default value is eager (`false`)."),aspectRatio:m("This property sets a preferred aspect ratio for the image, which will be used in the calculation of auto sizes and some other layout functions."),inline:m("When set to true, the image will be displayed as an inline element instead of a block element."),animation:m("The animation object to be applied to the component")},events:{click:io(Vn)},themeVars:Y(Ua.themeVars)},dp={description:"The `Items` component maps sequential data items into component instances, representing each data item as a particular component.",props:{items:Xe("This property contains the list of data items this component renders."),data:m("This property contains the list of data items (obtained from a data source) this component renders."),reverse:{description:"This property reverses the order in which data is mapped to template components."},itemTemplate:$e("The component template to display a single item")},childrenAsTemplate:"itemTemplate",contextVars:{$item:$e("This value represents the current iteration item while the component renders its children."),$itemIndex:$e("This integer value represents the current iteration index (zero-based) while rendering children."),$isFirst:$e("This boolean value indicates if the component renders its first item."),$isLast:$e("This boolean value indicates if the component renders its last item.")},opaque:!0},Pe="Link",up={description:`A \`${Pe}\` component represents a navigation target within the app or a reference to an external web URL.`,props:{to:m("This property defines the URL of the link."),enabled:Ze(),active:{description:"Indicates whether this link is active or not. If so, it will have a distinct visual appearance.",type:"boolean",defaultValue:!1},target:{description:`This property specifies where to open the link represented by the \`${Pe}\`. This property accepts the following values (in accordance with the HTML standard):`,availableValues:Ni,type:"string",defaultValue:"_self"},label:qe(),icon:m("This property allows you to add an icon (specify the icon's name) to the link.")},themeVars:Y(uo.themeVars),themeVarDescriptions:{[`gap-icon-${Pe}`]:"This property defines the size of the gap between the icon and the label."},defaultThemeVars:{[`border-${Pe}`]:"0px solid $borderColor",[`textColor-${Pe}--hover--active`]:`$textColor-${Pe}--active`,[`textDecorationColor-${Pe}--hover`]:"$color-primary-400",[`textColor-${Pe}--hover`]:"$color-primary-400",[`textDecorationColor-${Pe}--active`]:"$color-primary-200",[`fontWeight-${Pe}--active`]:"$fontWeight-bold",[`textDecorationColor-${Pe}`]:"$color-primary-400",[`textUnderlineOffset-${Pe}`]:"$space-1",[`textDecorationLine-${Pe}`]:"underline",[`textDecorationStyle-${Pe}`]:"solid",[`outlineColor-${Pe}--focus`]:"$outlineColor--focus",[`outlineWidth-${Pe}--focus`]:"$outlineWidth--focus",[`outlineStyle-${Pe}--focus`]:"$outlineStyle--focus",[`outlineOffset-${Pe}--focus`]:"$outlineOffset--focus",[`fontSize-${Pe}`]:"inherit",[`gap-icon-${Pe}`]:"$gap-tight",[`padding-icon-${Pe}`]:"$space-0_5",[`textColor-${Pe}`]:"$color-primary-500",[`textColor-${Pe}--active`]:"$color-primary-500"}},cp={themeVars:'"[]"'},ko="List",mp={status:"experimental",description:`The \`${ko}\` component is a robust layout container that renders associated data items as a list of components. \`${ko}\` is virtualized; it renders only items that are visible in the viewport.`,props:{data:m("The component receives data via this property. The `data` property is a list of items that the `List` can display."),items:Xe("You can use `items` as an alias for the `data` property. When you bind the list to a data source (e.g. an API endpoint), the `data` acts as the property that accepts a URL to fetch information from an API.When both `items` and `data` are used, `items` has priority."),loading:m("This property delays the rendering of children until it is set to `false`, or the component receives usable list items via the [`data`](#data) property."),limit:m(`This property limits the number of items displayed in the \`${ko}\`.`),scrollAnchor:{description:"This property pins the scroll position to a specified location of the list. Available values are shown below.",availableValues:Vs,type:"string",defaultValue:"top"},groupBy:m("This property sets which attribute of the data is used to group the list items. If the attribute does not appear in the data, it will be ignored."),orderBy:m("This property enables the ordering of list items by specifying an attribute in the data."),availableGroups:m(`This property is an array of group names that the \`${ko}\` will display.`),groupHeaderTemplate:$e("Enables the customization of how the groups are displayed, similarly to the [`itemTemplate`](#itemtemplate). You can use the `$item` context variable to access an item group and map its individual attributes."),groupFooterTemplate:$e("Enables the customization of how the the footer of each group is displayed. Combine with [`groupHeaderTemplate`](#groupHeaderTemplate) to customize sections. You can use the `$item` context variable to access an item group and map its individual attributes."),itemTemplate:$e("This property allows the customization of mapping data items to components. You can use the `$item` context variable to access an item and map its individual attributes."),emptyListTemplate:$e("This property defines the template to display when the list is empty."),pageInfo:m(`This property contains the current page information. Setting this property also enures the \`${ko}\` uses pagination.`),idKey:{description:"Denotes which attribute of an item acts as the ID or key of the item",type:"string",defaultValue:"id"},groupsInitiallyExpanded:m("This Boolean property defines whether the list groups are initially expanded."),defaultGroups:m(`This property adds a list of default groups for the \`${ko}\` and displays the group headers in the specified order. If the data contains group headers not in this list, those headers are also displayed (after the ones in this list); however, their order is not deterministic.`),hideEmptyGroups:{description:"This boolean property indicates if empty groups should be hidden (no header and footer are displayed).",valueType:"boolean",defaultValue:!0},borderCollapse:{description:"Collapse items borders",valueType:"boolean",defaultValue:!0}},childrenAsTemplate:"itemTemplate",apis:{scrollToTop:m("This method scrolls the list to the top."),scrollToBottom:m("This method scrolls the list to the bottom."),scrollToIndex:m("This method scrolls the list to a specific index. The method accepts an index as a parameter."),scrollToId:m("This method scrolls the list to a specific item. The method accepts an item ID as a parameter.")},contextVars:{$item:m("This property represents the value of an item in the data list."),$itemIndex:$e("This integer value represents the current row index (zero-based) while rendering children."),$isFirst:$e("This boolean value indicates if the component renders its first item."),$isLast:$e("This boolean value indicates if the component renders its last item.")},themeVars:Y(cp.themeVars)},pp={status:"experimental",description:"The `Logo` component represents a logo or a brand symbol. Usually, you use this component in the [`AppHeader`](./AppHeader.mdx#logotemplate)."},hp={themeVars:`'{"paddingTop-Markdown": "var(--xmlui-paddingTop-Markdown)", "paddingBottom-Markdown": "var(--xmlui-paddingBottom-Markdown)", "backgroundColor-Markdown": "var(--xmlui-backgroundColor-Markdown)", "padding-Blockquote": "var(--xmlui-padding-Blockquote)", "paddingHorizontal-Blockquote": "var(--xmlui-paddingHorizontal-Blockquote, var(--xmlui-padding-Blockquote))", "paddingVertical-Blockquote": "var(--xmlui-paddingVertical-Blockquote, var(--xmlui-padding-Blockquote))", "paddingLeft-Blockquote": "var(--xmlui-paddingLeft-Blockquote)", "paddingRight-Blockquote": "var(--xmlui-paddingRight-Blockquote, var(--xmlui-paddingHorizontal-Blockquote, var(--xmlui-padding-Blockquote)))", "paddingTop-Blockquote": "var(--xmlui-paddingTop-Blockquote, var(--xmlui-paddingVertical-Blockquote, var(--xmlui-padding-Blockquote)))", "paddingBottom-Blockquote": "var(--xmlui-paddingBottom-Blockquote, var(--xmlui-paddingVertical-Blockquote, var(--xmlui-padding-Blockquote)))", "border-Blockquote": "var(--xmlui-border-Blockquote)", "borderHorizontal-Blockquote": "var(--xmlui-borderHorizontal-Blockquote, var(--xmlui-border-Blockquote))", "borderVertical-Blockquote": "var(--xmlui-borderVertical-Blockquote, var(--xmlui-border-Blockquote))", "borderLeft-Blockquote": "var(--xmlui-borderLeft-Blockquote, var(--xmlui-borderHorizontal-Blockquote, var(--xmlui-border-Blockquote)))", "borderRight-Blockquote": "var(--xmlui-borderRight-Blockquote, var(--xmlui-borderHorizontal-Blockquote, var(--xmlui-border-Blockquote)))", "borderTop-Blockquote": "var(--xmlui-borderTop-Blockquote, var(--xmlui-borderVertical-Blockquote, var(--xmlui-border-Blockquote)))", "borderBottom-Blockquote": "var(--xmlui-borderBottom-Blockquote, var(--xmlui-borderVertical-Blockquote, var(--xmlui-border-Blockquote)))", "borderWidth-Blockquote": "var(--xmlui-borderWidth-Blockquote)", "borderHorizontalWidth-Blockquote": "var(--xmlui-borderHorizontalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote))", "borderLeftWidth-Blockquote": "var(--xmlui-borderLeftWidth-Blockquote, var(--xmlui-borderHorizontalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote)))", "borderRightWidth-Blockquote": "var(--xmlui-borderRightWidth-Blockquote, var(--xmlui-borderHorizontalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote)))", "borderVerticalWidth-Blockquote": "var(--xmlui-borderVerticalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote))", "borderTopWidth-Blockquote": "var(--xmlui-borderTopWidth-Blockquote, var(--xmlui-borderVerticalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote)))", "borderBottomWidth-Blockquote": "var(--xmlui-borderBottomWidth-Blockquote, var(--xmlui-borderVerticalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote)))", "borderStyle-Blockquote": "var(--xmlui-borderStyle-Blockquote)", "borderHorizontalStyle-Blockquote": "var(--xmlui-borderHorizontalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote))", "borderLeftStyle-Blockquote": "var(--xmlui-borderLeftStyle-Blockquote, var(--xmlui-borderHorizontalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote)))", "borderRightStyle-Blockquote": "var(--xmlui-borderRightStyle-Blockquote, var(--xmlui-borderHorizontalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote)))", "borderVerticalStyle-Blockquote": "var(--xmlui-borderVerticalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote))", "borderTopStyle-Blockquote": "var(--xmlui-borderTopStyle-Blockquote, var(--xmlui-borderVerticalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote)))", "borderBottomStyle-Blockquote": "var(--xmlui-borderBottomStyle-Blockquote, var(--xmlui-borderVerticalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote)))", "borderColor-Blockquote": "var(--xmlui-borderColor-Blockquote)", "borderHorizontalColor-Blockquote": "var(--xmlui-borderHorizontalColor-Blockquote, var(--xmlui-borderColor-Blockquote))", "borderLeftColor-Blockquote": "var(--xmlui-borderLeftColor-Blockquote, var(--xmlui-borderHorizontalColor-Blockquote, var(--xmlui-borderColor-Blockquote)))", "borderRightColor-Blockquote": "var(--xmlui-borderRightColor-Blockquote, var(--xmlui-borderHorizontalColor-Blockquote, var(--xmlui-borderColor-Blockquote)))", "borderVerticalColor-Blockquote": "var(--xmlui-borderVerticalColor-Blockquote, var(--xmlui-borderColor-Blockquote))", "borderTopColor-Blockquote": "var(--xmlui-borderTopColor-Blockquote, var(--xmlui-borderVerticalColor-Blockquote, var(--xmlui-borderColor-Blockquote)))", "borderBottomColor-Blockquote": "var(--xmlui-borderBottomColor-Blockquote, var(--xmlui-borderVerticalColor-Blockquote, var(--xmlui-borderColor-Blockquote)))", "borderStartStartRadius-Blockquote": "var(--xmlui-borderStartStartRadius-Blockquote, var(--xmlui-borderRadius-Blockquote))", "borderStartEndRadius-Blockquote": "var(--xmlui-borderStartEndRadius-Blockquote, var(--xmlui-borderRadius-Blockquote))", "borderEndStartRadius-Blockquote": "var(--xmlui-borderEndStartRadius-Blockquote, var(--xmlui-borderRadius-Blockquote))", "borderEndEndRadius-Blockquote": "var(--xmlui-borderEndEndRadius-Blockquote, var(--xmlui-borderRadius-Blockquote))", "accentColor-Blockquote": "var(--xmlui-accentColor-Blockquote)", "accentWidth-Blockquote": "var(--xmlui-accentWidth-Blockquote)", "backgroundColor-Blockquote": "var(--xmlui-backgroundColor-Blockquote)", "borderRadius-Blockquote": "var(--xmlui-borderRadius-Blockquote)", "marginTop-Blockquote": "var(--xmlui-marginTop-Blockquote)", "marginBottom-Blockquote": "var(--xmlui-marginBottom-Blockquote)", "padding-Admonition": "var(--xmlui-padding-Admonition)", "paddingHorizontal-Admonition": "var(--xmlui-paddingHorizontal-Admonition, var(--xmlui-padding-Admonition))", "paddingVertical-Admonition": "var(--xmlui-paddingVertical-Admonition, var(--xmlui-padding-Admonition))", "paddingLeft-Admonition": "var(--xmlui-paddingLeft-Admonition, var(--xmlui-paddingHorizontal-Admonition, var(--xmlui-padding-Admonition)))", "paddingRight-Admonition": "var(--xmlui-paddingRight-Admonition, var(--xmlui-paddingHorizontal-Admonition, var(--xmlui-padding-Admonition)))", "paddingTop-Admonition": "var(--xmlui-paddingTop-Admonition, var(--xmlui-paddingVertical-Admonition, var(--xmlui-padding-Admonition)))", "paddingBottom-Admonition": "var(--xmlui-paddingBottom-Admonition, var(--xmlui-paddingVertical-Admonition, var(--xmlui-padding-Admonition)))", "border-Admonition": "var(--xmlui-border-Admonition)", "borderHorizontal-Admonition": "var(--xmlui-borderHorizontal-Admonition, var(--xmlui-border-Admonition))", "borderVertical-Admonition": "var(--xmlui-borderVertical-Admonition, var(--xmlui-border-Admonition))", "borderLeft-Admonition": "var(--xmlui-borderLeft-Admonition, var(--xmlui-borderHorizontal-Admonition, var(--xmlui-border-Admonition)))", "borderRight-Admonition": "var(--xmlui-borderRight-Admonition, var(--xmlui-borderHorizontal-Admonition, var(--xmlui-border-Admonition)))", "borderTop-Admonition": "var(--xmlui-borderTop-Admonition, var(--xmlui-borderVertical-Admonition, var(--xmlui-border-Admonition)))", "borderBottom-Admonition": "var(--xmlui-borderBottom-Admonition, var(--xmlui-borderVertical-Admonition, var(--xmlui-border-Admonition)))", "borderWidth-Admonition": "var(--xmlui-borderWidth-Admonition)", "borderHorizontalWidth-Admonition": "var(--xmlui-borderHorizontalWidth-Admonition, var(--xmlui-borderWidth-Admonition))", "borderLeftWidth-Admonition": "var(--xmlui-borderLeftWidth-Admonition, var(--xmlui-borderHorizontalWidth-Admonition, var(--xmlui-borderWidth-Admonition)))", "borderRightWidth-Admonition": "var(--xmlui-borderRightWidth-Admonition, var(--xmlui-borderHorizontalWidth-Admonition, var(--xmlui-borderWidth-Admonition)))", "borderVerticalWidth-Admonition": "var(--xmlui-borderVerticalWidth-Admonition, var(--xmlui-borderWidth-Admonition))", "borderTopWidth-Admonition": "var(--xmlui-borderTopWidth-Admonition, var(--xmlui-borderVerticalWidth-Admonition, var(--xmlui-borderWidth-Admonition)))", "borderBottomWidth-Admonition": "var(--xmlui-borderBottomWidth-Admonition, var(--xmlui-borderVerticalWidth-Admonition, var(--xmlui-borderWidth-Admonition)))", "borderStyle-Admonition": "var(--xmlui-borderStyle-Admonition)", "borderHorizontalStyle-Admonition": "var(--xmlui-borderHorizontalStyle-Admonition, var(--xmlui-borderStyle-Admonition))", "borderLeftStyle-Admonition": "var(--xmlui-borderLeftStyle-Admonition, var(--xmlui-borderHorizontalStyle-Admonition, var(--xmlui-borderStyle-Admonition)))", "borderRightStyle-Admonition": "var(--xmlui-borderRightStyle-Admonition, var(--xmlui-borderHorizontalStyle-Admonition, var(--xmlui-borderStyle-Admonition)))", "borderVerticalStyle-Admonition": "var(--xmlui-borderVerticalStyle-Admonition, var(--xmlui-borderStyle-Admonition))", "borderTopStyle-Admonition": "var(--xmlui-borderTopStyle-Admonition, var(--xmlui-borderVerticalStyle-Admonition, var(--xmlui-borderStyle-Admonition)))", "borderBottomStyle-Admonition": "var(--xmlui-borderBottomStyle-Admonition, var(--xmlui-borderVerticalStyle-Admonition, var(--xmlui-borderStyle-Admonition)))", "borderColor-Admonition": "var(--xmlui-borderColor-Admonition)", "borderHorizontalColor-Admonition": "var(--xmlui-borderHorizontalColor-Admonition, var(--xmlui-borderColor-Admonition))", "borderLeftColor-Admonition": "var(--xmlui-borderLeftColor-Admonition, var(--xmlui-borderHorizontalColor-Admonition, var(--xmlui-borderColor-Admonition)))", "borderRightColor-Admonition": "var(--xmlui-borderRightColor-Admonition, var(--xmlui-borderHorizontalColor-Admonition, var(--xmlui-borderColor-Admonition)))", "borderVerticalColor-Admonition": "var(--xmlui-borderVerticalColor-Admonition, var(--xmlui-borderColor-Admonition))", "borderTopColor-Admonition": "var(--xmlui-borderTopColor-Admonition, var(--xmlui-borderVerticalColor-Admonition, var(--xmlui-borderColor-Admonition)))", "borderBottomColor-Admonition": "var(--xmlui-borderBottomColor-Admonition, var(--xmlui-borderVerticalColor-Admonition, var(--xmlui-borderColor-Admonition)))", "borderStartStartRadius-Admonition": "var(--xmlui-borderStartStartRadius-Admonition, var(--xmlui-borderRadius-Admonition))", "borderStartEndRadius-Admonition": "var(--xmlui-borderStartEndRadius-Admonition, var(--xmlui-borderRadius-Admonition))", "borderEndStartRadius-Admonition": "var(--xmlui-borderEndStartRadius-Admonition, var(--xmlui-borderRadius-Admonition))", "borderEndEndRadius-Admonition": "var(--xmlui-borderEndEndRadius-Admonition, var(--xmlui-borderRadius-Admonition))", "backgroundColor-Admonition": "var(--xmlui-backgroundColor-Admonition)", "borderRadius-Admonition": "var(--xmlui-borderRadius-Admonition)", "iconSize-Admonition": "var(--xmlui-iconSize-Admonition)", "marginTop-Admonition": "var(--xmlui-marginTop-Admonition)", "marginBottom-Admonition": "var(--xmlui-marginBottom-Admonition)", "marginLeft-Admonition-content": "var(--xmlui-marginLeft-Admonition-content)", "marginTop-HtmlVideo": "var(--xmlui-marginTop-HtmlVideo)", "marginBottom-HtmlVideo": "var(--xmlui-marginBottom-HtmlVideo)", "marginTop-H1-markdown": "var(--xmlui-marginTop-H1-markdown)", "marginBottom-H1-markdown": "var(--xmlui-marginBottom-H1-markdown)", "fontSize-H1-markdown": "var(--xmlui-fontSize-H1-markdown)", "marginTop-H2-markdown": "var(--xmlui-marginTop-H2-markdown)", "marginBottom-H2-markdown": "var(--xmlui-marginBottom-H2-markdown)", "marginTop-H3-markdown": "var(--xmlui-marginTop-H3-markdown)", "marginBottom-H3-markdown": "var(--xmlui-marginBottom-H3-markdown)", "marginTop-H4-markdown": "var(--xmlui-marginTop-H4-markdown)", "marginBottom-H4-markdown": "var(--xmlui-marginBottom-H4-markdown)", "marginTop-H5-markdown": "var(--xmlui-marginTop-H5-markdown)", "marginBottom-H5-markdown": "var(--xmlui-marginBottom-H5-markdown)", "marginTop-H6-markdown": "var(--xmlui-marginTop-H6-markdown)", "marginBottom-H6-markdown": "var(--xmlui-marginBottom-H6-markdown)", "backgroundColor-Admonition-info": "var(--xmlui-backgroundColor-Admonition-info)", "borderColor-Admonition-info": "var(--xmlui-borderColor-Admonition-info)", "backgroundColor-Admonition-warning": "var(--xmlui-backgroundColor-Admonition-warning)", "borderColor-Admonition-warning": "var(--xmlui-borderColor-Admonition-warning)", "backgroundColor-Admonition-danger": "var(--xmlui-backgroundColor-Admonition-danger)", "borderColor-Admonition-danger": "var(--xmlui-borderColor-Admonition-danger)", "backgroundColor-Admonition-note": "var(--xmlui-backgroundColor-Admonition-note)", "borderColor-Admonition-note": "var(--xmlui-borderColor-Admonition-note)", "backgroundColor-Admonition-tip": "var(--xmlui-backgroundColor-Admonition-tip)", "borderColor-Admonition-tip": "var(--xmlui-borderColor-Admonition-tip)", "borderColor-HorizontalRule": "var(--xmlui-borderColor-HorizontalRule)", "borderStyle-HorizontalRule": "var(--xmlui-borderStyle-HorizontalRule)", "borderWidth-HorizontalRule": "var(--xmlui-borderWidth-HorizontalRule)"}'`},et={themeVarsTable:`'{"textColor-HtmlTable": "var(--xmlui-textColor-HtmlTable)", "backgroundColor-HtmlTable": "var(--xmlui-backgroundColor-HtmlTable)", "fontFamily-HtmlTable": "var(--xmlui-fontFamily-HtmlTable)", "fontSize-HtmlTable": "var(--xmlui-fontSize-HtmlTable)", "fontWeight-HtmlTable": "var(--xmlui-fontWeight-HtmlTable)", "textTransform-HtmlTable": "var(--xmlui-textTransform-HtmlTable)", "marginTop-HtmlTable": "var(--xmlui-marginTop-HtmlTable)", "marginBottom-HtmlTable": "var(--xmlui-marginBottom-HtmlTable)", "width-HtmlTable": "var(--xmlui-width-HtmlTable)", "border-HtmlTable": "var(--xmlui-border-HtmlTable)", "borderHorizontal-HtmlTable": "var(--xmlui-borderHorizontal-HtmlTable, var(--xmlui-border-HtmlTable))", "borderVertical-HtmlTable": "var(--xmlui-borderVertical-HtmlTable, var(--xmlui-border-HtmlTable))", "borderLeft-HtmlTable": "var(--xmlui-borderLeft-HtmlTable, var(--xmlui-borderHorizontal-HtmlTable, var(--xmlui-border-HtmlTable)))", "borderRight-HtmlTable": "var(--xmlui-borderRight-HtmlTable, var(--xmlui-borderHorizontal-HtmlTable, var(--xmlui-border-HtmlTable)))", "borderTop-HtmlTable": "var(--xmlui-borderTop-HtmlTable, var(--xmlui-borderVertical-HtmlTable, var(--xmlui-border-HtmlTable)))", "borderBottom-HtmlTable": "var(--xmlui-borderBottom-HtmlTable, var(--xmlui-borderVertical-HtmlTable, var(--xmlui-border-HtmlTable)))", "borderWidth-HtmlTable": "var(--xmlui-borderWidth-HtmlTable)", "borderHorizontalWidth-HtmlTable": "var(--xmlui-borderHorizontalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable))", "borderLeftWidth-HtmlTable": "var(--xmlui-borderLeftWidth-HtmlTable, var(--xmlui-borderHorizontalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable)))", "borderRightWidth-HtmlTable": "var(--xmlui-borderRightWidth-HtmlTable, var(--xmlui-borderHorizontalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable)))", "borderVerticalWidth-HtmlTable": "var(--xmlui-borderVerticalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable))", "borderTopWidth-HtmlTable": "var(--xmlui-borderTopWidth-HtmlTable, var(--xmlui-borderVerticalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable)))", "borderBottomWidth-HtmlTable": "var(--xmlui-borderBottomWidth-HtmlTable, var(--xmlui-borderVerticalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable)))", "borderStyle-HtmlTable": "var(--xmlui-borderStyle-HtmlTable)", "borderHorizontalStyle-HtmlTable": "var(--xmlui-borderHorizontalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable))", "borderLeftStyle-HtmlTable": "var(--xmlui-borderLeftStyle-HtmlTable, var(--xmlui-borderHorizontalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable)))", "borderRightStyle-HtmlTable": "var(--xmlui-borderRightStyle-HtmlTable, var(--xmlui-borderHorizontalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable)))", "borderVerticalStyle-HtmlTable": "var(--xmlui-borderVerticalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable))", "borderTopStyle-HtmlTable": "var(--xmlui-borderTopStyle-HtmlTable, var(--xmlui-borderVerticalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable)))", "borderBottomStyle-HtmlTable": "var(--xmlui-borderBottomStyle-HtmlTable, var(--xmlui-borderVerticalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable)))", "borderColor-HtmlTable": "var(--xmlui-borderColor-HtmlTable)", "borderHorizontalColor-HtmlTable": "var(--xmlui-borderHorizontalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable))", "borderLeftColor-HtmlTable": "var(--xmlui-borderLeftColor-HtmlTable, var(--xmlui-borderHorizontalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable)))", "borderRightColor-HtmlTable": "var(--xmlui-borderRightColor-HtmlTable, var(--xmlui-borderHorizontalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable)))", "borderVerticalColor-HtmlTable": "var(--xmlui-borderVerticalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable))", "borderTopColor-HtmlTable": "var(--xmlui-borderTopColor-HtmlTable, var(--xmlui-borderVerticalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable)))", "borderBottomColor-HtmlTable": "var(--xmlui-borderBottomColor-HtmlTable, var(--xmlui-borderVerticalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable)))", "borderStartStartRadius-HtmlTable": "var(--xmlui-borderStartStartRadius-HtmlTable, var(--xmlui-borderRadius-HtmlTable))", "borderStartEndRadius-HtmlTable": "var(--xmlui-borderStartEndRadius-HtmlTable, var(--xmlui-borderRadius-HtmlTable))", "borderEndStartRadius-HtmlTable": "var(--xmlui-borderEndStartRadius-HtmlTable, var(--xmlui-borderRadius-HtmlTable))", "borderEndEndRadius-HtmlTable": "var(--xmlui-borderEndEndRadius-HtmlTable, var(--xmlui-borderRadius-HtmlTable))", "padding-HtmlTable": "var(--xmlui-padding-HtmlTable)", "paddingHorizontal-HtmlTable": "var(--xmlui-paddingHorizontal-HtmlTable, var(--xmlui-padding-HtmlTable))", "paddingVertical-HtmlTable": "var(--xmlui-paddingVertical-HtmlTable, var(--xmlui-padding-HtmlTable))", "paddingLeft-HtmlTable": "var(--xmlui-paddingLeft-HtmlTable, var(--xmlui-paddingHorizontal-HtmlTable, var(--xmlui-padding-HtmlTable)))", "paddingRight-HtmlTable": "var(--xmlui-paddingRight-HtmlTable, var(--xmlui-paddingHorizontal-HtmlTable, var(--xmlui-padding-HtmlTable)))", "paddingTop-HtmlTable": "var(--xmlui-paddingTop-HtmlTable, var(--xmlui-paddingVertical-HtmlTable, var(--xmlui-padding-HtmlTable)))", "paddingBottom-HtmlTable": "var(--xmlui-paddingBottom-HtmlTable, var(--xmlui-paddingVertical-HtmlTable, var(--xmlui-padding-HtmlTable)))"}'`,themeVarsThead:`'{"backgroundColor-HtmlThead": "var(--xmlui-backgroundColor-HtmlThead)", "textColor-HtmlThead": "var(--xmlui-textColor-HtmlThead)", "fontWeight-HtmlThead": "var(--xmlui-fontWeight-HtmlThead)", "fontSize-HtmlThead": "var(--xmlui-fontSize-HtmlThead)", "textTransform-HtmlThead": "var(--xmlui-textTransform-HtmlThead)", "border-HtmlThead": "var(--xmlui-border-HtmlThead)", "borderHorizontal-HtmlThead": "var(--xmlui-borderHorizontal-HtmlThead, var(--xmlui-border-HtmlThead))", "borderVertical-HtmlThead": "var(--xmlui-borderVertical-HtmlThead, var(--xmlui-border-HtmlThead))", "borderLeft-HtmlThead": "var(--xmlui-borderLeft-HtmlThead, var(--xmlui-borderHorizontal-HtmlThead, var(--xmlui-border-HtmlThead)))", "borderRight-HtmlThead": "var(--xmlui-borderRight-HtmlThead, var(--xmlui-borderHorizontal-HtmlThead, var(--xmlui-border-HtmlThead)))", "borderTop-HtmlThead": "var(--xmlui-borderTop-HtmlThead, var(--xmlui-borderVertical-HtmlThead, var(--xmlui-border-HtmlThead)))", "borderBottom-HtmlThead": "var(--xmlui-borderBottom-HtmlThead, var(--xmlui-borderVertical-HtmlThead, var(--xmlui-border-HtmlThead)))", "borderWidth-HtmlThead": "var(--xmlui-borderWidth-HtmlThead)", "borderHorizontalWidth-HtmlThead": "var(--xmlui-borderHorizontalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead))", "borderLeftWidth-HtmlThead": "var(--xmlui-borderLeftWidth-HtmlThead, var(--xmlui-borderHorizontalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead)))", "borderRightWidth-HtmlThead": "var(--xmlui-borderRightWidth-HtmlThead, var(--xmlui-borderHorizontalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead)))", "borderVerticalWidth-HtmlThead": "var(--xmlui-borderVerticalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead))", "borderTopWidth-HtmlThead": "var(--xmlui-borderTopWidth-HtmlThead, var(--xmlui-borderVerticalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead)))", "borderBottomWidth-HtmlThead": "var(--xmlui-borderBottomWidth-HtmlThead, var(--xmlui-borderVerticalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead)))", "borderStyle-HtmlThead": "var(--xmlui-borderStyle-HtmlThead)", "borderHorizontalStyle-HtmlThead": "var(--xmlui-borderHorizontalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead))", "borderLeftStyle-HtmlThead": "var(--xmlui-borderLeftStyle-HtmlThead, var(--xmlui-borderHorizontalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead)))", "borderRightStyle-HtmlThead": "var(--xmlui-borderRightStyle-HtmlThead, var(--xmlui-borderHorizontalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead)))", "borderVerticalStyle-HtmlThead": "var(--xmlui-borderVerticalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead))", "borderTopStyle-HtmlThead": "var(--xmlui-borderTopStyle-HtmlThead, var(--xmlui-borderVerticalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead)))", "borderBottomStyle-HtmlThead": "var(--xmlui-borderBottomStyle-HtmlThead, var(--xmlui-borderVerticalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead)))", "borderColor-HtmlThead": "var(--xmlui-borderColor-HtmlThead)", "borderHorizontalColor-HtmlThead": "var(--xmlui-borderHorizontalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead))", "borderLeftColor-HtmlThead": "var(--xmlui-borderLeftColor-HtmlThead, var(--xmlui-borderHorizontalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead)))", "borderRightColor-HtmlThead": "var(--xmlui-borderRightColor-HtmlThead, var(--xmlui-borderHorizontalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead)))", "borderVerticalColor-HtmlThead": "var(--xmlui-borderVerticalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead))", "borderTopColor-HtmlThead": "var(--xmlui-borderTopColor-HtmlThead, var(--xmlui-borderVerticalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead)))", "borderBottomColor-HtmlThead": "var(--xmlui-borderBottomColor-HtmlThead, var(--xmlui-borderVerticalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead)))", "borderStartStartRadius-HtmlThead": "var(--xmlui-borderStartStartRadius-HtmlThead, var(--xmlui-borderRadius-HtmlThead))", "borderStartEndRadius-HtmlThead": "var(--xmlui-borderStartEndRadius-HtmlThead, var(--xmlui-borderRadius-HtmlThead))", "borderEndStartRadius-HtmlThead": "var(--xmlui-borderEndStartRadius-HtmlThead, var(--xmlui-borderRadius-HtmlThead))", "borderEndEndRadius-HtmlThead": "var(--xmlui-borderEndEndRadius-HtmlThead, var(--xmlui-borderRadius-HtmlThead))", "padding-HtmlThead": "var(--xmlui-padding-HtmlThead)", "paddingHorizontal-HtmlThead": "var(--xmlui-paddingHorizontal-HtmlThead, var(--xmlui-padding-HtmlThead))", "paddingVertical-HtmlThead": "var(--xmlui-paddingVertical-HtmlThead, var(--xmlui-padding-HtmlThead))", "paddingLeft-HtmlThead": "var(--xmlui-paddingLeft-HtmlThead, var(--xmlui-paddingHorizontal-HtmlThead, var(--xmlui-padding-HtmlThead)))", "paddingRight-HtmlThead": "var(--xmlui-paddingRight-HtmlThead, var(--xmlui-paddingHorizontal-HtmlThead, var(--xmlui-padding-HtmlThead)))", "paddingTop-HtmlThead": "var(--xmlui-paddingTop-HtmlThead, var(--xmlui-paddingVertical-HtmlThead, var(--xmlui-padding-HtmlThead)))", "paddingBottom-HtmlThead": "var(--xmlui-paddingBottom-HtmlThead, var(--xmlui-paddingVertical-HtmlThead, var(--xmlui-padding-HtmlThead)))"}'`,themeVarsTbody:`'{"backgroundColor-HtmlTbody": "var(--xmlui-backgroundColor-HtmlTbody)", "textColor-HtmlTbody": "var(--xmlui-textColor-HtmlTbody)", "textAlign-HtmlTbody": "var(--xmlui-textAlign-HtmlTbody)", "verticalAlign-HtmlTbody": "var(--xmlui-verticalAlign-HtmlTbody)", "textTransform-HtmlTbody": "var(--xmlui-textTransform-HtmlTbody)"}'`,themeVarsTfoot:`'{"backgroundColor-HtmlTfoot": "var(--xmlui-backgroundColor-HtmlTfoot)", "textColor-HtmlTfoot": "var(--xmlui-textColor-HtmlTfoot)"}'`,themeVarsTh:`'{"backgroundColor-HtmlTh": "var(--xmlui-backgroundColor-HtmlTh)", "textColor-HtmlTh": "var(--xmlui-textColor-HtmlTh)", "fontWeight-HtmlTh": "var(--xmlui-fontWeight-HtmlTh)", "fontSize-HtmlTh": "var(--xmlui-fontSize-HtmlTh)", "backgroundColor-HtmlTh--hover": "var(--xmlui-backgroundColor-HtmlTh--hover)", "border-HtmlTh": "var(--xmlui-border-HtmlTh)", "borderHorizontal-HtmlTh": "var(--xmlui-borderHorizontal-HtmlTh, var(--xmlui-border-HtmlTh))", "borderVertical-HtmlTh": "var(--xmlui-borderVertical-HtmlTh, var(--xmlui-border-HtmlTh))", "borderLeft-HtmlTh": "var(--xmlui-borderLeft-HtmlTh, var(--xmlui-borderHorizontal-HtmlTh, var(--xmlui-border-HtmlTh)))", "borderRight-HtmlTh": "var(--xmlui-borderRight-HtmlTh, var(--xmlui-borderHorizontal-HtmlTh, var(--xmlui-border-HtmlTh)))", "borderTop-HtmlTh": "var(--xmlui-borderTop-HtmlTh, var(--xmlui-borderVertical-HtmlTh, var(--xmlui-border-HtmlTh)))", "borderBottom-HtmlTh": "var(--xmlui-borderBottom-HtmlTh, var(--xmlui-borderVertical-HtmlTh, var(--xmlui-border-HtmlTh)))", "borderWidth-HtmlTh": "var(--xmlui-borderWidth-HtmlTh)", "borderHorizontalWidth-HtmlTh": "var(--xmlui-borderHorizontalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh))", "borderLeftWidth-HtmlTh": "var(--xmlui-borderLeftWidth-HtmlTh, var(--xmlui-borderHorizontalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh)))", "borderRightWidth-HtmlTh": "var(--xmlui-borderRightWidth-HtmlTh, var(--xmlui-borderHorizontalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh)))", "borderVerticalWidth-HtmlTh": "var(--xmlui-borderVerticalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh))", "borderTopWidth-HtmlTh": "var(--xmlui-borderTopWidth-HtmlTh, var(--xmlui-borderVerticalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh)))", "borderBottomWidth-HtmlTh": "var(--xmlui-borderBottomWidth-HtmlTh, var(--xmlui-borderVerticalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh)))", "borderStyle-HtmlTh": "var(--xmlui-borderStyle-HtmlTh)", "borderHorizontalStyle-HtmlTh": "var(--xmlui-borderHorizontalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh))", "borderLeftStyle-HtmlTh": "var(--xmlui-borderLeftStyle-HtmlTh, var(--xmlui-borderHorizontalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh)))", "borderRightStyle-HtmlTh": "var(--xmlui-borderRightStyle-HtmlTh, var(--xmlui-borderHorizontalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh)))", "borderVerticalStyle-HtmlTh": "var(--xmlui-borderVerticalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh))", "borderTopStyle-HtmlTh": "var(--xmlui-borderTopStyle-HtmlTh, var(--xmlui-borderVerticalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh)))", "borderBottomStyle-HtmlTh": "var(--xmlui-borderBottomStyle-HtmlTh, var(--xmlui-borderVerticalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh)))", "borderColor-HtmlTh": "var(--xmlui-borderColor-HtmlTh)", "borderHorizontalColor-HtmlTh": "var(--xmlui-borderHorizontalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh))", "borderLeftColor-HtmlTh": "var(--xmlui-borderLeftColor-HtmlTh, var(--xmlui-borderHorizontalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh)))", "borderRightColor-HtmlTh": "var(--xmlui-borderRightColor-HtmlTh, var(--xmlui-borderHorizontalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh)))", "borderVerticalColor-HtmlTh": "var(--xmlui-borderVerticalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh))", "borderTopColor-HtmlTh": "var(--xmlui-borderTopColor-HtmlTh, var(--xmlui-borderVerticalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh)))", "borderBottomColor-HtmlTh": "var(--xmlui-borderBottomColor-HtmlTh, var(--xmlui-borderVerticalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh)))", "borderStartStartRadius-HtmlTh": "var(--xmlui-borderStartStartRadius-HtmlTh, var(--xmlui-borderRadius-HtmlTh))", "borderStartEndRadius-HtmlTh": "var(--xmlui-borderStartEndRadius-HtmlTh, var(--xmlui-borderRadius-HtmlTh))", "borderEndStartRadius-HtmlTh": "var(--xmlui-borderEndStartRadius-HtmlTh, var(--xmlui-borderRadius-HtmlTh))", "borderEndEndRadius-HtmlTh": "var(--xmlui-borderEndEndRadius-HtmlTh, var(--xmlui-borderRadius-HtmlTh))", "padding-HtmlTh": "var(--xmlui-padding-HtmlTh)", "paddingHorizontal-HtmlTh": "var(--xmlui-paddingHorizontal-HtmlTh, var(--xmlui-padding-HtmlTh))", "paddingVertical-HtmlTh": "var(--xmlui-paddingVertical-HtmlTh, var(--xmlui-padding-HtmlTh))", "paddingLeft-HtmlTh": "var(--xmlui-paddingLeft-HtmlTh, var(--xmlui-paddingHorizontal-HtmlTh, var(--xmlui-padding-HtmlTh)))", "paddingRight-HtmlTh": "var(--xmlui-paddingRight-HtmlTh, var(--xmlui-paddingHorizontal-HtmlTh, var(--xmlui-padding-HtmlTh)))", "paddingTop-HtmlTh": "var(--xmlui-paddingTop-HtmlTh, var(--xmlui-paddingVertical-HtmlTh, var(--xmlui-padding-HtmlTh)))", "paddingBottom-HtmlTh": "var(--xmlui-paddingBottom-HtmlTh, var(--xmlui-paddingVertical-HtmlTh, var(--xmlui-padding-HtmlTh)))"}'`,themeVarsTr:`'{"backgroundColor-HtmlTr": "var(--xmlui-backgroundColor-HtmlTr)", "backgroundColor-HtmlTr--hover": "var(--xmlui-backgroundColor-HtmlTr--hover)", "backgroundColor-even-HtmlTr": "var(--xmlui-backgroundColor-even-HtmlTr)", "textColor-HtmlTr": "var(--xmlui-textColor-HtmlTr)", "textColor-HtmlTr--hover": "var(--xmlui-textColor-HtmlTr--hover)", "fontSize-HtmlTr": "var(--xmlui-fontSize-HtmlTr)", "fontWeight-HtmlTr": "var(--xmlui-fontWeight-HtmlTr)", "border-HtmlTr": "var(--xmlui-border-HtmlTr)", "borderHorizontal-HtmlTr": "var(--xmlui-borderHorizontal-HtmlTr, var(--xmlui-border-HtmlTr))", "borderVertical-HtmlTr": "var(--xmlui-borderVertical-HtmlTr, var(--xmlui-border-HtmlTr))", "borderLeft-HtmlTr": "var(--xmlui-borderLeft-HtmlTr, var(--xmlui-borderHorizontal-HtmlTr, var(--xmlui-border-HtmlTr)))", "borderRight-HtmlTr": "var(--xmlui-borderRight-HtmlTr, var(--xmlui-borderHorizontal-HtmlTr, var(--xmlui-border-HtmlTr)))", "borderTop-HtmlTr": "var(--xmlui-borderTop-HtmlTr, var(--xmlui-borderVertical-HtmlTr, var(--xmlui-border-HtmlTr)))", "borderBottom-HtmlTr": "var(--xmlui-borderBottom-HtmlTr, var(--xmlui-borderVertical-HtmlTr, var(--xmlui-border-HtmlTr)))", "borderWidth-HtmlTr": "var(--xmlui-borderWidth-HtmlTr)", "borderHorizontalWidth-HtmlTr": "var(--xmlui-borderHorizontalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr))", "borderLeftWidth-HtmlTr": "var(--xmlui-borderLeftWidth-HtmlTr, var(--xmlui-borderHorizontalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr)))", "borderRightWidth-HtmlTr": "var(--xmlui-borderRightWidth-HtmlTr, var(--xmlui-borderHorizontalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr)))", "borderVerticalWidth-HtmlTr": "var(--xmlui-borderVerticalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr))", "borderTopWidth-HtmlTr": "var(--xmlui-borderTopWidth-HtmlTr, var(--xmlui-borderVerticalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr)))", "borderBottomWidth-HtmlTr": "var(--xmlui-borderBottomWidth-HtmlTr, var(--xmlui-borderVerticalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr)))", "borderStyle-HtmlTr": "var(--xmlui-borderStyle-HtmlTr)", "borderHorizontalStyle-HtmlTr": "var(--xmlui-borderHorizontalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr))", "borderLeftStyle-HtmlTr": "var(--xmlui-borderLeftStyle-HtmlTr, var(--xmlui-borderHorizontalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr)))", "borderRightStyle-HtmlTr": "var(--xmlui-borderRightStyle-HtmlTr, var(--xmlui-borderHorizontalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr)))", "borderVerticalStyle-HtmlTr": "var(--xmlui-borderVerticalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr))", "borderTopStyle-HtmlTr": "var(--xmlui-borderTopStyle-HtmlTr, var(--xmlui-borderVerticalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr)))", "borderBottomStyle-HtmlTr": "var(--xmlui-borderBottomStyle-HtmlTr, var(--xmlui-borderVerticalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr)))", "borderColor-HtmlTr": "var(--xmlui-borderColor-HtmlTr)", "borderHorizontalColor-HtmlTr": "var(--xmlui-borderHorizontalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr))", "borderLeftColor-HtmlTr": "var(--xmlui-borderLeftColor-HtmlTr, var(--xmlui-borderHorizontalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr)))", "borderRightColor-HtmlTr": "var(--xmlui-borderRightColor-HtmlTr, var(--xmlui-borderHorizontalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr)))", "borderVerticalColor-HtmlTr": "var(--xmlui-borderVerticalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr))", "borderTopColor-HtmlTr": "var(--xmlui-borderTopColor-HtmlTr, var(--xmlui-borderVerticalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr)))", "borderBottomColor-HtmlTr": "var(--xmlui-borderBottomColor-HtmlTr, var(--xmlui-borderVerticalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr)))", "borderStartStartRadius-HtmlTr": "var(--xmlui-borderStartStartRadius-HtmlTr, var(--xmlui-borderRadius-HtmlTr))", "borderStartEndRadius-HtmlTr": "var(--xmlui-borderStartEndRadius-HtmlTr, var(--xmlui-borderRadius-HtmlTr))", "borderEndStartRadius-HtmlTr": "var(--xmlui-borderEndStartRadius-HtmlTr, var(--xmlui-borderRadius-HtmlTr))", "borderEndEndRadius-HtmlTr": "var(--xmlui-borderEndEndRadius-HtmlTr, var(--xmlui-borderRadius-HtmlTr))"}'`,themeVarsTd:`'{"backgroundColor-HtmlTd": "var(--xmlui-backgroundColor-HtmlTd)", "text-align-HtmlTd": "var(--xmlui-text-align-HtmlTd)", "verticalAlign-HtmlTd": "var(--xmlui-verticalAlign-HtmlTd)", "fontSize-HtmlTd": "var(--xmlui-fontSize-HtmlTd)", "fontWeight-HtmlTd": "var(--xmlui-fontWeight-HtmlTd)", "border-HtmlTd": "var(--xmlui-border-HtmlTd)", "borderHorizontal-HtmlTd": "var(--xmlui-borderHorizontal-HtmlTd, var(--xmlui-border-HtmlTd))", "borderVertical-HtmlTd": "var(--xmlui-borderVertical-HtmlTd, var(--xmlui-border-HtmlTd))", "borderLeft-HtmlTd": "var(--xmlui-borderLeft-HtmlTd, var(--xmlui-borderHorizontal-HtmlTd, var(--xmlui-border-HtmlTd)))", "borderRight-HtmlTd": "var(--xmlui-borderRight-HtmlTd, var(--xmlui-borderHorizontal-HtmlTd, var(--xmlui-border-HtmlTd)))", "borderTop-HtmlTd": "var(--xmlui-borderTop-HtmlTd, var(--xmlui-borderVertical-HtmlTd, var(--xmlui-border-HtmlTd)))", "borderBottom-HtmlTd": "var(--xmlui-borderBottom-HtmlTd, var(--xmlui-borderVertical-HtmlTd, var(--xmlui-border-HtmlTd)))", "borderWidth-HtmlTd": "var(--xmlui-borderWidth-HtmlTd)", "borderHorizontalWidth-HtmlTd": "var(--xmlui-borderHorizontalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd))", "borderLeftWidth-HtmlTd": "var(--xmlui-borderLeftWidth-HtmlTd, var(--xmlui-borderHorizontalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd)))", "borderRightWidth-HtmlTd": "var(--xmlui-borderRightWidth-HtmlTd, var(--xmlui-borderHorizontalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd)))", "borderVerticalWidth-HtmlTd": "var(--xmlui-borderVerticalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd))", "borderTopWidth-HtmlTd": "var(--xmlui-borderTopWidth-HtmlTd, var(--xmlui-borderVerticalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd)))", "borderBottomWidth-HtmlTd": "var(--xmlui-borderBottomWidth-HtmlTd, var(--xmlui-borderVerticalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd)))", "borderStyle-HtmlTd": "var(--xmlui-borderStyle-HtmlTd)", "borderHorizontalStyle-HtmlTd": "var(--xmlui-borderHorizontalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd))", "borderLeftStyle-HtmlTd": "var(--xmlui-borderLeftStyle-HtmlTd, var(--xmlui-borderHorizontalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd)))", "borderRightStyle-HtmlTd": "var(--xmlui-borderRightStyle-HtmlTd, var(--xmlui-borderHorizontalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd)))", "borderVerticalStyle-HtmlTd": "var(--xmlui-borderVerticalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd))", "borderTopStyle-HtmlTd": "var(--xmlui-borderTopStyle-HtmlTd, var(--xmlui-borderVerticalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd)))", "borderBottomStyle-HtmlTd": "var(--xmlui-borderBottomStyle-HtmlTd, var(--xmlui-borderVerticalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd)))", "borderColor-HtmlTd": "var(--xmlui-borderColor-HtmlTd)", "borderHorizontalColor-HtmlTd": "var(--xmlui-borderHorizontalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd))", "borderLeftColor-HtmlTd": "var(--xmlui-borderLeftColor-HtmlTd, var(--xmlui-borderHorizontalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd)))", "borderRightColor-HtmlTd": "var(--xmlui-borderRightColor-HtmlTd, var(--xmlui-borderHorizontalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd)))", "borderVerticalColor-HtmlTd": "var(--xmlui-borderVerticalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd))", "borderTopColor-HtmlTd": "var(--xmlui-borderTopColor-HtmlTd, var(--xmlui-borderVerticalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd)))", "borderBottomColor-HtmlTd": "var(--xmlui-borderBottomColor-HtmlTd, var(--xmlui-borderVerticalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd)))", "borderStartStartRadius-HtmlTd": "var(--xmlui-borderStartStartRadius-HtmlTd, var(--xmlui-borderRadius-HtmlTd))", "borderStartEndRadius-HtmlTd": "var(--xmlui-borderStartEndRadius-HtmlTd, var(--xmlui-borderRadius-HtmlTd))", "borderEndStartRadius-HtmlTd": "var(--xmlui-borderEndStartRadius-HtmlTd, var(--xmlui-borderRadius-HtmlTd))", "borderEndEndRadius-HtmlTd": "var(--xmlui-borderEndEndRadius-HtmlTd, var(--xmlui-borderRadius-HtmlTd))", "padding-HtmlTd": "var(--xmlui-padding-HtmlTd)", "paddingHorizontal-HtmlTd": "var(--xmlui-paddingHorizontal-HtmlTd, var(--xmlui-padding-HtmlTd))", "paddingVertical-HtmlTd": "var(--xmlui-paddingVertical-HtmlTd, var(--xmlui-padding-HtmlTd))", "paddingLeft-HtmlTd": "var(--xmlui-paddingLeft-HtmlTd, var(--xmlui-paddingHorizontal-HtmlTd, var(--xmlui-padding-HtmlTd)))", "paddingRight-HtmlTd": "var(--xmlui-paddingRight-HtmlTd, var(--xmlui-paddingHorizontal-HtmlTd, var(--xmlui-padding-HtmlTd)))", "paddingTop-HtmlTd": "var(--xmlui-paddingTop-HtmlTd, var(--xmlui-paddingVertical-HtmlTd, var(--xmlui-padding-HtmlTd)))", "paddingBottom-HtmlTd": "var(--xmlui-paddingBottom-HtmlTd, var(--xmlui-paddingVertical-HtmlTd, var(--xmlui-padding-HtmlTd)))"}'`,themeVarsList:`'{"border-HtmlOl": "var(--xmlui-border-HtmlOl)", "borderHorizontal-HtmlOl": "var(--xmlui-borderHorizontal-HtmlOl, var(--xmlui-border-HtmlOl))", "borderVertical-HtmlOl": "var(--xmlui-borderVertical-HtmlOl, var(--xmlui-border-HtmlOl))", "borderLeft-HtmlOl": "var(--xmlui-borderLeft-HtmlOl, var(--xmlui-borderHorizontal-HtmlOl, var(--xmlui-border-HtmlOl)))", "borderRight-HtmlOl": "var(--xmlui-borderRight-HtmlOl, var(--xmlui-borderHorizontal-HtmlOl, var(--xmlui-border-HtmlOl)))", "borderTop-HtmlOl": "var(--xmlui-borderTop-HtmlOl, var(--xmlui-borderVertical-HtmlOl, var(--xmlui-border-HtmlOl)))", "borderBottom-HtmlOl": "var(--xmlui-borderBottom-HtmlOl, var(--xmlui-borderVertical-HtmlOl, var(--xmlui-border-HtmlOl)))", "borderWidth-HtmlOl": "var(--xmlui-borderWidth-HtmlOl)", "borderHorizontalWidth-HtmlOl": "var(--xmlui-borderHorizontalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl))", "borderLeftWidth-HtmlOl": "var(--xmlui-borderLeftWidth-HtmlOl, var(--xmlui-borderHorizontalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl)))", "borderRightWidth-HtmlOl": "var(--xmlui-borderRightWidth-HtmlOl, var(--xmlui-borderHorizontalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl)))", "borderVerticalWidth-HtmlOl": "var(--xmlui-borderVerticalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl))", "borderTopWidth-HtmlOl": "var(--xmlui-borderTopWidth-HtmlOl, var(--xmlui-borderVerticalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl)))", "borderBottomWidth-HtmlOl": "var(--xmlui-borderBottomWidth-HtmlOl, var(--xmlui-borderVerticalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl)))", "borderStyle-HtmlOl": "var(--xmlui-borderStyle-HtmlOl)", "borderHorizontalStyle-HtmlOl": "var(--xmlui-borderHorizontalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl))", "borderLeftStyle-HtmlOl": "var(--xmlui-borderLeftStyle-HtmlOl, var(--xmlui-borderHorizontalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl)))", "borderRightStyle-HtmlOl": "var(--xmlui-borderRightStyle-HtmlOl, var(--xmlui-borderHorizontalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl)))", "borderVerticalStyle-HtmlOl": "var(--xmlui-borderVerticalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl))", "borderTopStyle-HtmlOl": "var(--xmlui-borderTopStyle-HtmlOl, var(--xmlui-borderVerticalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl)))", "borderBottomStyle-HtmlOl": "var(--xmlui-borderBottomStyle-HtmlOl, var(--xmlui-borderVerticalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl)))", "borderColor-HtmlOl": "var(--xmlui-borderColor-HtmlOl)", "borderHorizontalColor-HtmlOl": "var(--xmlui-borderHorizontalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl))", "borderLeftColor-HtmlOl": "var(--xmlui-borderLeftColor-HtmlOl, var(--xmlui-borderHorizontalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl)))", "borderRightColor-HtmlOl": "var(--xmlui-borderRightColor-HtmlOl, var(--xmlui-borderHorizontalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl)))", "borderVerticalColor-HtmlOl": "var(--xmlui-borderVerticalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl))", "borderTopColor-HtmlOl": "var(--xmlui-borderTopColor-HtmlOl, var(--xmlui-borderVerticalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl)))", "borderBottomColor-HtmlOl": "var(--xmlui-borderBottomColor-HtmlOl, var(--xmlui-borderVerticalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl)))", "borderStartStartRadius-HtmlOl": "var(--xmlui-borderStartStartRadius-HtmlOl, var(--xmlui-borderRadius-HtmlOl))", "borderStartEndRadius-HtmlOl": "var(--xmlui-borderStartEndRadius-HtmlOl, var(--xmlui-borderRadius-HtmlOl))", "borderEndStartRadius-HtmlOl": "var(--xmlui-borderEndStartRadius-HtmlOl, var(--xmlui-borderRadius-HtmlOl))", "borderEndEndRadius-HtmlOl": "var(--xmlui-borderEndEndRadius-HtmlOl, var(--xmlui-borderRadius-HtmlOl))", "padding-HtmlOl": "var(--xmlui-padding-HtmlOl)", "paddingHorizontal-HtmlOl": "var(--xmlui-paddingHorizontal-HtmlOl, var(--xmlui-padding-HtmlOl))", "paddingVertical-HtmlOl": "var(--xmlui-paddingVertical-HtmlOl, var(--xmlui-padding-HtmlOl))", "paddingLeft-HtmlOl": "var(--xmlui-paddingLeft-HtmlOl, var(--xmlui-paddingHorizontal-HtmlOl, var(--xmlui-padding-HtmlOl)))", "paddingRight-HtmlOl": "var(--xmlui-paddingRight-HtmlOl, var(--xmlui-paddingHorizontal-HtmlOl, var(--xmlui-padding-HtmlOl)))", "paddingTop-HtmlOl": "var(--xmlui-paddingTop-HtmlOl, var(--xmlui-paddingVertical-HtmlOl, var(--xmlui-padding-HtmlOl)))", "paddingBottom-HtmlOl": "var(--xmlui-paddingBottom-HtmlOl, var(--xmlui-paddingVertical-HtmlOl, var(--xmlui-padding-HtmlOl)))", "marginTop-HtmlOl": "var(--xmlui-marginTop-HtmlOl)", "marginBottom-HtmlOl": "var(--xmlui-marginBottom-HtmlOl)", "border-HtmlUl": "var(--xmlui-border-HtmlUl)", "borderHorizontal-HtmlUl": "var(--xmlui-borderHorizontal-HtmlUl, var(--xmlui-border-HtmlUl))", "borderVertical-HtmlUl": "var(--xmlui-borderVertical-HtmlUl, var(--xmlui-border-HtmlUl))", "borderLeft-HtmlUl": "var(--xmlui-borderLeft-HtmlUl, var(--xmlui-borderHorizontal-HtmlUl, var(--xmlui-border-HtmlUl)))", "borderRight-HtmlUl": "var(--xmlui-borderRight-HtmlUl, var(--xmlui-borderHorizontal-HtmlUl, var(--xmlui-border-HtmlUl)))", "borderTop-HtmlUl": "var(--xmlui-borderTop-HtmlUl, var(--xmlui-borderVertical-HtmlUl, var(--xmlui-border-HtmlUl)))", "borderBottom-HtmlUl": "var(--xmlui-borderBottom-HtmlUl, var(--xmlui-borderVertical-HtmlUl, var(--xmlui-border-HtmlUl)))", "borderWidth-HtmlUl": "var(--xmlui-borderWidth-HtmlUl)", "borderHorizontalWidth-HtmlUl": "var(--xmlui-borderHorizontalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl))", "borderLeftWidth-HtmlUl": "var(--xmlui-borderLeftWidth-HtmlUl, var(--xmlui-borderHorizontalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl)))", "borderRightWidth-HtmlUl": "var(--xmlui-borderRightWidth-HtmlUl, var(--xmlui-borderHorizontalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl)))", "borderVerticalWidth-HtmlUl": "var(--xmlui-borderVerticalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl))", "borderTopWidth-HtmlUl": "var(--xmlui-borderTopWidth-HtmlUl, var(--xmlui-borderVerticalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl)))", "borderBottomWidth-HtmlUl": "var(--xmlui-borderBottomWidth-HtmlUl, var(--xmlui-borderVerticalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl)))", "borderStyle-HtmlUl": "var(--xmlui-borderStyle-HtmlUl)", "borderHorizontalStyle-HtmlUl": "var(--xmlui-borderHorizontalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl))", "borderLeftStyle-HtmlUl": "var(--xmlui-borderLeftStyle-HtmlUl, var(--xmlui-borderHorizontalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl)))", "borderRightStyle-HtmlUl": "var(--xmlui-borderRightStyle-HtmlUl, var(--xmlui-borderHorizontalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl)))", "borderVerticalStyle-HtmlUl": "var(--xmlui-borderVerticalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl))", "borderTopStyle-HtmlUl": "var(--xmlui-borderTopStyle-HtmlUl, var(--xmlui-borderVerticalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl)))", "borderBottomStyle-HtmlUl": "var(--xmlui-borderBottomStyle-HtmlUl, var(--xmlui-borderVerticalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl)))", "borderColor-HtmlUl": "var(--xmlui-borderColor-HtmlUl)", "borderHorizontalColor-HtmlUl": "var(--xmlui-borderHorizontalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl))", "borderLeftColor-HtmlUl": "var(--xmlui-borderLeftColor-HtmlUl, var(--xmlui-borderHorizontalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl)))", "borderRightColor-HtmlUl": "var(--xmlui-borderRightColor-HtmlUl, var(--xmlui-borderHorizontalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl)))", "borderVerticalColor-HtmlUl": "var(--xmlui-borderVerticalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl))", "borderTopColor-HtmlUl": "var(--xmlui-borderTopColor-HtmlUl, var(--xmlui-borderVerticalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl)))", "borderBottomColor-HtmlUl": "var(--xmlui-borderBottomColor-HtmlUl, var(--xmlui-borderVerticalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl)))", "borderStartStartRadius-HtmlUl": "var(--xmlui-borderStartStartRadius-HtmlUl, var(--xmlui-borderRadius-HtmlUl))", "borderStartEndRadius-HtmlUl": "var(--xmlui-borderStartEndRadius-HtmlUl, var(--xmlui-borderRadius-HtmlUl))", "borderEndStartRadius-HtmlUl": "var(--xmlui-borderEndStartRadius-HtmlUl, var(--xmlui-borderRadius-HtmlUl))", "borderEndEndRadius-HtmlUl": "var(--xmlui-borderEndEndRadius-HtmlUl, var(--xmlui-borderRadius-HtmlUl))", "padding-HtmlUl": "var(--xmlui-padding-HtmlUl)", "paddingHorizontal-HtmlUl": "var(--xmlui-paddingHorizontal-HtmlUl, var(--xmlui-padding-HtmlUl))", "paddingVertical-HtmlUl": "var(--xmlui-paddingVertical-HtmlUl, var(--xmlui-padding-HtmlUl))", "paddingLeft-HtmlUl": "var(--xmlui-paddingLeft-HtmlUl, var(--xmlui-paddingHorizontal-HtmlUl, var(--xmlui-padding-HtmlUl)))", "paddingRight-HtmlUl": "var(--xmlui-paddingRight-HtmlUl, var(--xmlui-paddingHorizontal-HtmlUl, var(--xmlui-padding-HtmlUl)))", "paddingTop-HtmlUl": "var(--xmlui-paddingTop-HtmlUl, var(--xmlui-paddingVertical-HtmlUl, var(--xmlui-padding-HtmlUl)))", "paddingBottom-HtmlUl": "var(--xmlui-paddingBottom-HtmlUl, var(--xmlui-paddingVertical-HtmlUl, var(--xmlui-padding-HtmlUl)))", "marginTop-HtmlUl": "var(--xmlui-marginTop-HtmlUl)", "marginBottom-HtmlUl": "var(--xmlui-marginBottom-HtmlUl)", "border-HtmlLi": "var(--xmlui-border-HtmlLi)", "borderHorizontal-HtmlLi": "var(--xmlui-borderHorizontal-HtmlLi, var(--xmlui-border-HtmlLi))", "borderVertical-HtmlLi": "var(--xmlui-borderVertical-HtmlLi, var(--xmlui-border-HtmlLi))", "borderLeft-HtmlLi": "var(--xmlui-borderLeft-HtmlLi, var(--xmlui-borderHorizontal-HtmlLi, var(--xmlui-border-HtmlLi)))", "borderRight-HtmlLi": "var(--xmlui-borderRight-HtmlLi, var(--xmlui-borderHorizontal-HtmlLi, var(--xmlui-border-HtmlLi)))", "borderTop-HtmlLi": "var(--xmlui-borderTop-HtmlLi, var(--xmlui-borderVertical-HtmlLi, var(--xmlui-border-HtmlLi)))", "borderBottom-HtmlLi": "var(--xmlui-borderBottom-HtmlLi, var(--xmlui-borderVertical-HtmlLi, var(--xmlui-border-HtmlLi)))", "borderWidth-HtmlLi": "var(--xmlui-borderWidth-HtmlLi)", "borderHorizontalWidth-HtmlLi": "var(--xmlui-borderHorizontalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi))", "borderLeftWidth-HtmlLi": "var(--xmlui-borderLeftWidth-HtmlLi, var(--xmlui-borderHorizontalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi)))", "borderRightWidth-HtmlLi": "var(--xmlui-borderRightWidth-HtmlLi, var(--xmlui-borderHorizontalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi)))", "borderVerticalWidth-HtmlLi": "var(--xmlui-borderVerticalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi))", "borderTopWidth-HtmlLi": "var(--xmlui-borderTopWidth-HtmlLi, var(--xmlui-borderVerticalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi)))", "borderBottomWidth-HtmlLi": "var(--xmlui-borderBottomWidth-HtmlLi, var(--xmlui-borderVerticalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi)))", "borderStyle-HtmlLi": "var(--xmlui-borderStyle-HtmlLi)", "borderHorizontalStyle-HtmlLi": "var(--xmlui-borderHorizontalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi))", "borderLeftStyle-HtmlLi": "var(--xmlui-borderLeftStyle-HtmlLi, var(--xmlui-borderHorizontalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi)))", "borderRightStyle-HtmlLi": "var(--xmlui-borderRightStyle-HtmlLi, var(--xmlui-borderHorizontalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi)))", "borderVerticalStyle-HtmlLi": "var(--xmlui-borderVerticalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi))", "borderTopStyle-HtmlLi": "var(--xmlui-borderTopStyle-HtmlLi, var(--xmlui-borderVerticalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi)))", "borderBottomStyle-HtmlLi": "var(--xmlui-borderBottomStyle-HtmlLi, var(--xmlui-borderVerticalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi)))", "borderColor-HtmlLi": "var(--xmlui-borderColor-HtmlLi)", "borderHorizontalColor-HtmlLi": "var(--xmlui-borderHorizontalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi))", "borderLeftColor-HtmlLi": "var(--xmlui-borderLeftColor-HtmlLi, var(--xmlui-borderHorizontalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi)))", "borderRightColor-HtmlLi": "var(--xmlui-borderRightColor-HtmlLi, var(--xmlui-borderHorizontalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi)))", "borderVerticalColor-HtmlLi": "var(--xmlui-borderVerticalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi))", "borderTopColor-HtmlLi": "var(--xmlui-borderTopColor-HtmlLi, var(--xmlui-borderVerticalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi)))", "borderBottomColor-HtmlLi": "var(--xmlui-borderBottomColor-HtmlLi, var(--xmlui-borderVerticalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi)))", "borderStartStartRadius-HtmlLi": "var(--xmlui-borderStartStartRadius-HtmlLi, var(--xmlui-borderRadius-HtmlLi))", "borderStartEndRadius-HtmlLi": "var(--xmlui-borderStartEndRadius-HtmlLi, var(--xmlui-borderRadius-HtmlLi))", "borderEndStartRadius-HtmlLi": "var(--xmlui-borderEndStartRadius-HtmlLi, var(--xmlui-borderRadius-HtmlLi))", "borderEndEndRadius-HtmlLi": "var(--xmlui-borderEndEndRadius-HtmlLi, var(--xmlui-borderRadius-HtmlLi))", "padding-HtmlLi": "var(--xmlui-padding-HtmlLi)", "paddingHorizontal-HtmlLi": "var(--xmlui-paddingHorizontal-HtmlLi, var(--xmlui-padding-HtmlLi))", "paddingVertical-HtmlLi": "var(--xmlui-paddingVertical-HtmlLi, var(--xmlui-padding-HtmlLi))", "paddingLeft-HtmlLi": "var(--xmlui-paddingLeft-HtmlLi, var(--xmlui-paddingHorizontal-HtmlLi, var(--xmlui-padding-HtmlLi)))", "paddingRight-HtmlLi": "var(--xmlui-paddingRight-HtmlLi, var(--xmlui-paddingHorizontal-HtmlLi, var(--xmlui-padding-HtmlLi)))", "paddingTop-HtmlLi": "var(--xmlui-paddingTop-HtmlLi, var(--xmlui-paddingVertical-HtmlLi, var(--xmlui-padding-HtmlLi)))", "paddingBottom-HtmlLi": "var(--xmlui-paddingBottom-HtmlLi, var(--xmlui-paddingVertical-HtmlLi, var(--xmlui-padding-HtmlLi)))", "marginLeft-HtmlLi": "var(--xmlui-marginLeft-HtmlLi)", "marginTop-HtmlLi": "var(--xmlui-marginTop-HtmlLi)", "marginBottom-HtmlLi": "var(--xmlui-marginBottom-HtmlLi)", "listStyleType-HtmlLi": "var(--xmlui-listStyleType-HtmlLi)"}'`,themeVarsHeading:`'{"marginTop-HtmlHeading": "var(--xmlui-marginTop-HtmlHeading)", "marginBottom-HtmlHeading": "var(--xmlui-marginBottom-HtmlHeading)"}'`,themeVarsVideo:`'{"marginTop-HtmlVideo": "var(--xmlui-marginTop-HtmlVideo)", "marginBottom-HtmlVideo": "var(--xmlui-marginBottom-HtmlVideo)"}'`,themeVarsDetails:`'{"marginTop-HtmlDetails": "var(--xmlui-marginTop-HtmlDetails)", "marginBottom-HtmlDetails": "var(--xmlui-marginBottom-HtmlDetails)"}'`},bp={description:"The `SpaceFiller` is a component that works well in layout containers to fill the remaining (unused) space. Its behavior depends on the layout container in which it is used.",themeVars:Y(Nl.themeVars)},jt="TextArea",vp=[{value:"(undefined)",description:"No resizing"},{value:"horizontal",description:"Can only resize horizontally"},{value:"vertical",description:"Can only resize vertically"},{value:"both",description:"Can resize in both dimensions"}],xp={status:"experimental",description:`\`${jt}\` is a component that provides a multiline text input area.`,props:{enterSubmits:{description:"This optional boolean property indicates whether pressing the `Enter` key on the keyboard prompts the parent `Form` component to submit.",valueType:"boolean",defaultValue:!0},escResets:{description:`This boolean property indicates whether the ${jt} contents should be reset when pressing the ESC key.`,valueType:"boolean",defaultValue:!1},maxRows:m(`This optional property sets the maximum number of text rows the \`${jt}\` can grow.`),minRows:m(`This optional property sets the minimum number of text rows the \`${jt}\` can shrink.`),rows:{description:"Specifies the number of rows the component initially has.",valueType:"number",defaultValue:2},autoSize:{description:`If set to \`true\`, this boolean property enables the \`${jt}\` to resize automatically based on the number of lines inside it.`,valueType:"boolean",defaultValue:!1},placeholder:Er(),initialValue:Tt(),label:qe(),labelPosition:gt("top"),labelWidth:Lt(jt),labelBreak:_t(jt),maxLength:ta(),autoFocus:it(),required:Wt(),readOnly:Vt(),enabled:Ze(),validationStatus:At(),resize:{description:"This optional property specifies in which dimensions can the `TextArea` be resized by the user.",availableValues:vp}},events:{gotFocus:xt(jt),lostFocus:ft(jt),didChange:at(jt)},apis:{focus:Jt(jt),value:m("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Qt()},themeVars:Y(ir.themeVars)},We="NavLink",fp={description:`The \`${We}\` component defines a navigation target (app navigation menu item) within the app; it is associated with a particular in-app navigation target (or an external link).`,props:{to:m("This property defines the URL of the link."),enabled:Ze(),active:{description:"This property indicates if the particular navigation is an active link. An active link has a particular visual appearance, provided its [`displayActive`](#displayactive) property is set to `true`.",valueType:"boolean",defaultValue:!1},target:{description:"This property specifies how to open the clicked link.",availableValues:Ni,type:"string",defaultValue:"_self"},label:qe(),vertical:{description:`This property sets how the active status is displayed on the \`${We}\` component. If set to true, the indicator is displayed on the side which lends itself to a vertically aligned navigation menu.`,valueType:"boolean",defaultValue:!1},displayActive:{description:"This Boolean property indicates if the active state of a link should have a visual indication. Setting it to `false` removes the visual indication of an active link.",valueType:"boolean",defaultValue:!0},icon:m("This property allows you to add an icon (specify the icon's name) to the navigation link.")},events:{click:io(We)},themeVars:Y(dr.themeVars),themeVarDescriptions:{[`color-indicator-${We}`]:"Provides the following states: `--hover`, `--active`, `--pressed`"},defaultThemeVars:{[`border-${We}`]:"0px solid $borderColor",[`borderRadius-${We}`]:"$borderRadius",[`backgroundColor-${We}`]:"transparent",[`paddingHorizontal-${We}`]:"$space-4",[`paddingVertical-${We}`]:"$space-2",[`fontSize-${We}`]:"$fontSize-small",[`fontWeight-${We}`]:"$fontWeight-normal",[`fontFamily-${We}`]:"$fontFamily",[`textColor-${We}`]:"$textColor-primary",[`fontWeight-${We}--pressed`]:"$fontWeight-normal",[`thickness-indicator-${We}`]:"$space-0_5",[`outlineColor-${We}--focus`]:"$outlineColor--focus",[`outlineWidth-${We}--focus`]:"$outlineWidth--focus",[`outlineStyle-${We}--focus`]:"$outlineStyle--focus",[`outlineOffset-${We}--focus`]:"-1px",[`borderRadius-indicator-${We}`]:"$borderRadius",[`color-icon-${We}`]:"$color-surface-500",[`color-indicator-${We}--active`]:"$color-primary-500",[`color-indicator-${We}--pressed`]:"$color-primary-500",[`color-indicator-${We}--hover`]:"$color-primary-600"}},gp={status:"in progress",description:"The `Tree` component is a virtualized tree component that displays hierarchical data.",props:{data:{description:"The data source of the tree.",required:!0},selectedUid:{description:"The ID (optional) of the selected tree row."},itemTemplate:$e("The template for each item in the tree.")}},Q="Text",Tp={description:`The \`${Q}\` component displays textual information in a number of optional styles and variants.`,props:{value:m(`The text to be displayed. This value can also be set via nesting the text into the \`${Q}\` component.`),variant:{description:"An optional string value that provides named presets for text variants with a unique combination of font style, weight, size, color, and other parameters. If not defined, the text uses the current style of its context.",availableValues:As},maxLines:m("This property determines the maximum number of lines the component can wrap to. If there is no space to display all the contents, the component displays up to as many lines as specified in this property. When the value is not defined, there is no limit on the displayed lines."),preserveLinebreaks:{description:"This property indicates if linebreaks should be preserved when displaying text.",valueType:"boolean",defaultValue:"false"},ellipses:{description:"This property indicates whether ellipses should be displayed when the text is cropped (`true`) or not (`false`).",valueType:"boolean",defaultValue:!1}},themeVars:Y(lo.themeVars),defaultThemeVars:{[`borderRadius-${Q}`]:"$borderRadius",[`borderStyle-${Q}`]:"solid",[`fontSize-${Q}`]:"$fontSize-small",[`borderWidth-${Q}`]:"$space-0",[`fontWeight-${Q}-abbr`]:"$fontWeight-bold",[`textTransform-${Q}-abbr`]:"uppercase",[`fontSize-${Q}-secondary`]:"$fontSize-small",[`fontStyle-${Q}-cite`]:"italic",[`textColor-${Q}`]:"$textColor-primary",[`fontFamily-${Q}`]:"$fontFamily",[`fontWeight-${Q}`]:"$fontWeight-normal",[`fontSize-${Q}-codefence`]:"$fontSize-small",[`fontFamily-${Q}-code`]:"$fontFamily-monospace",[`fontSize-${Q}-code`]:"$fontSize-small",[`borderWidth-${Q}-code`]:"1px",[`borderStyle-${Q}-code`]:"solid",[`borderRadius-${Q}-code`]:"4px",[`paddingHorizontal-${Q}-code`]:"$space-1",[`paddingBottom-${Q}-code`]:"2px",[`textDecorationLine-${Q}-deleted`]:"line-through",[`textDecorationLine-${Q}-inserted`]:"underline",[`fontFamily-${Q}-keyboard`]:"$fontFamily-monospace",[`fontSize-${Q}-keyboard`]:"$fontSize-small",[`fontWeight-${Q}-keyboard`]:"$fontWeight-bold",[`borderWidth-${Q}-keyboard`]:"1px",[`paddingHorizontal-${Q}-keyboard`]:"$space-1",[`fontFamily-${Q}-sample`]:"$fontFamily-monospace",[`fontSize-${Q}-sample`]:"$fontSize-small",[`fontSize-${Q}-sup`]:"$fontSize-smaller",[`verticalAlign-${Q}-sup`]:"super",[`fontSize-${Q}-sub`]:"$fontSize-smaller",[`verticalAlign-${Q}-sub`]:"sub",[`fontStyle-${Q}-var`]:"italic",[`fontStyle-${Q}-em`]:"italic",[`fontFamily-${Q}-mono`]:"$fontFamily-monospace",[`fontSize-${Q}-title`]:"$fontSize-large",[`fontSize-${Q}-subtitle`]:"$fontSize-medium",[`fontSize-${Q}-small`]:"$fontSize-small",[`lineHeight-${Q}-small`]:"$lineHeight-tight",[`letterSpacing-${Q}-caption`]:"0.05rem",[`fontSize-${Q}-placeholder`]:"$fontSize-small",[`fontFamily-${Q}-codefence`]:"$fontFamily-monospace",[`paddingHorizontal-${Q}-codefence`]:"$space-3",[`paddingVertical-${Q}-codefence`]:"$space-2",[`paddingVertical-${Q}-paragraph`]:"$space-1",[`fontSize-${Q}-subheading`]:"$fontSize-H6",[`fontWeight-${Q}-subheading`]:"$fontWeight-bold",[`letterSpacing-${Q}-subheading`]:"0.04em",[`textTransform-${Q}-subheading`]:"uppercase",[`marginTop-${Q}-tableheading`]:"$space-1",[`marginBottom-${Q}-tableheading`]:"$space-4",[`paddingHorizontal-${Q}-tableheading`]:"$space-1",[`fontWeight-${Q}-tableheading`]:"$fontWeight-bold",[`marginTop-${Q}-markdown`]:"$space-3",[`marginBottom-${Q}-markdown`]:"$space-6",[`fontSize-${Q}-markdown`]:"$fontSize-normal",[`backgroundColor-${Q}-code`]:"rgba($color-surface-100-rgb, .4)",[`borderColor-${Q}-code`]:"$color-surface-100",[`backgroundColor-${Q}-keyboard`]:"rgba($color-surface-100-rgb, .4)",[`borderColor-${Q}-keyboard`]:"$color-surface-300",[`backgroundColor-${Q}-marked`]:"rgba($color-primary-200-rgb, .4)",[`color-${Q}-placeholder`]:"$color-surface-500",[`color-${Q}-codefence`]:"$color-surface-900",[`color-${Q}-subheading`]:"$textColor-secondary",[`color-${Q}-secondary`]:"$textColor-secondary"}},Cp={description:"The `Fragment` component encloses multiple child components into a single root component, so it can be used where only a single component definition is allowed.",opaque:!0},ke={themeVars:`'{"textColor-pagination-Table": "var(--xmlui-textColor-pagination-Table)", "backgroundColor-Table": "var(--xmlui-backgroundColor-Table)", "textColor-Table": "var(--xmlui-textColor-Table)", "backgroundColor-row-Table": "var(--xmlui-backgroundColor-row-Table)", "backgroundColor-row-Table--hover": "var(--xmlui-backgroundColor-row-Table--hover)", "backgroundColor-selected-Table": "var(--xmlui-backgroundColor-selected-Table)", "backgroundColor-selected-Table--hover": "var(--xmlui-backgroundColor-selected-Table--hover)", "backgroundColor-heading-Table": "var(--xmlui-backgroundColor-heading-Table)", "backgroundColor-heading-Table--hover": "var(--xmlui-backgroundColor-heading-Table--hover)", "backgroundColor-heading-Table--active": "var(--xmlui-backgroundColor-heading-Table--active)", "padding-heading-Table": "var(--xmlui-padding-heading-Table)", "paddingHorizontal-heading-Table": "var(--xmlui-paddingHorizontal-heading-Table, var(--xmlui-padding-heading-Table))", "paddingVertical-heading-Table": "var(--xmlui-paddingVertical-heading-Table, var(--xmlui-padding-heading-Table))", "paddingLeft-heading-Table": "var(--xmlui-paddingLeft-heading-Table, var(--xmlui-paddingHorizontal-heading-Table, var(--xmlui-padding-heading-Table)))", "paddingRight-heading-Table": "var(--xmlui-paddingRight-heading-Table, var(--xmlui-paddingHorizontal-heading-Table, var(--xmlui-padding-heading-Table)))", "paddingTop-heading-Table": "var(--xmlui-paddingTop-heading-Table, var(--xmlui-paddingVertical-heading-Table, var(--xmlui-padding-heading-Table)))", "paddingBottom-heading-Table": "var(--xmlui-paddingBottom-heading-Table, var(--xmlui-paddingVertical-heading-Table, var(--xmlui-padding-heading-Table)))", "padding-cell-Table": "var(--xmlui-padding-cell-Table)", "paddingHorizontal-cell-Table": "var(--xmlui-paddingHorizontal-cell-Table, var(--xmlui-padding-cell-Table))", "paddingVertical-cell-Table": "var(--xmlui-paddingVertical-cell-Table, var(--xmlui-padding-cell-Table))", "paddingLeft-cell-Table": "var(--xmlui-paddingLeft-cell-Table, var(--xmlui-paddingHorizontal-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingRight-cell-Table": "var(--xmlui-paddingRight-cell-Table, var(--xmlui-paddingHorizontal-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingTop-cell-Table": "var(--xmlui-paddingTop-cell-Table, var(--xmlui-paddingVertical-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingBottom-cell-Table": "var(--xmlui-paddingBottom-cell-Table, var(--xmlui-paddingVertical-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingHorizontal-cell-first-Table": "var(--xmlui-paddingHorizontal-cell-first-Table)", "paddingHorizontal-cell-last-Table": "var(--xmlui-paddingHorizontal-cell-last-Table)", "border-cell-Table": "var(--xmlui-border-cell-Table)", "borderHorizontal-cell-Table": "var(--xmlui-borderHorizontal-cell-Table, var(--xmlui-border-cell-Table))", "borderVertical-cell-Table": "var(--xmlui-borderVertical-cell-Table, var(--xmlui-border-cell-Table))", "borderLeft-cell-Table": "var(--xmlui-borderLeft-cell-Table, var(--xmlui-borderHorizontal-cell-Table, var(--xmlui-border-cell-Table)))", "borderRight-cell-Table": "var(--xmlui-borderRight-cell-Table, var(--xmlui-borderHorizontal-cell-Table, var(--xmlui-border-cell-Table)))", "borderTop-cell-Table": "var(--xmlui-borderTop-cell-Table, var(--xmlui-borderVertical-cell-Table, var(--xmlui-border-cell-Table)))", "borderBottom-cell-Table": "var(--xmlui-borderBottom-cell-Table)", "borderWidth-cell-Table": "var(--xmlui-borderWidth-cell-Table)", "borderHorizontalWidth-cell-Table": "var(--xmlui-borderHorizontalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table))", "borderLeftWidth-cell-Table": "var(--xmlui-borderLeftWidth-cell-Table, var(--xmlui-borderHorizontalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderRightWidth-cell-Table": "var(--xmlui-borderRightWidth-cell-Table, var(--xmlui-borderHorizontalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderVerticalWidth-cell-Table": "var(--xmlui-borderVerticalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table))", "borderTopWidth-cell-Table": "var(--xmlui-borderTopWidth-cell-Table, var(--xmlui-borderVerticalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderBottomWidth-cell-Table": "var(--xmlui-borderBottomWidth-cell-Table, var(--xmlui-borderVerticalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderStyle-cell-Table": "var(--xmlui-borderStyle-cell-Table)", "borderHorizontalStyle-cell-Table": "var(--xmlui-borderHorizontalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table))", "borderLeftStyle-cell-Table": "var(--xmlui-borderLeftStyle-cell-Table, var(--xmlui-borderHorizontalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderRightStyle-cell-Table": "var(--xmlui-borderRightStyle-cell-Table, var(--xmlui-borderHorizontalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderVerticalStyle-cell-Table": "var(--xmlui-borderVerticalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table))", "borderTopStyle-cell-Table": "var(--xmlui-borderTopStyle-cell-Table, var(--xmlui-borderVerticalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderBottomStyle-cell-Table": "var(--xmlui-borderBottomStyle-cell-Table, var(--xmlui-borderVerticalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderColor-cell-Table": "var(--xmlui-borderColor-cell-Table)", "borderHorizontalColor-cell-Table": "var(--xmlui-borderHorizontalColor-cell-Table, var(--xmlui-borderColor-cell-Table))", "borderLeftColor-cell-Table": "var(--xmlui-borderLeftColor-cell-Table, var(--xmlui-borderHorizontalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderRightColor-cell-Table": "var(--xmlui-borderRightColor-cell-Table, var(--xmlui-borderHorizontalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderVerticalColor-cell-Table": "var(--xmlui-borderVerticalColor-cell-Table, var(--xmlui-borderColor-cell-Table))", "borderTopColor-cell-Table": "var(--xmlui-borderTopColor-cell-Table, var(--xmlui-borderVerticalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderBottomColor-cell-Table": "var(--xmlui-borderBottomColor-cell-Table, var(--xmlui-borderVerticalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderStartStartRadius-cell-Table": "var(--xmlui-borderStartStartRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "borderStartEndRadius-cell-Table": "var(--xmlui-borderStartEndRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "borderEndStartRadius-cell-Table": "var(--xmlui-borderEndStartRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "borderEndEndRadius-cell-Table": "var(--xmlui-borderEndEndRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "backgroundColor-pagination-Table": "var(--xmlui-backgroundColor-pagination-Table)", "textColor-heading-Table": "var(--xmlui-textColor-heading-Table)", "fontWeight-row-Table": "var(--xmlui-fontWeight-row-Table)", "fontSize-row-Table": "var(--xmlui-fontSize-row-Table)", "fontWeight-heading-Table": "var(--xmlui-fontWeight-heading-Table)", "fontSize-heading-Table": "var(--xmlui-fontSize-heading-Table)", "textTransform-heading-Table": "var(--xmlui-textTransform-heading-Table)", "outlineWidth-heading-Table--focus": "var(--xmlui-outlineWidth-heading-Table--focus)", "outlineColor-heading-Table--focus": "var(--xmlui-outlineColor-heading-Table--focus)", "outlineStyle-heading-Table--focus": "var(--xmlui-outlineStyle-heading-Table--focus)", "outlineOffset-heading-Table--focus": "var(--xmlui-outlineOffset-heading-Table--focus)"}'`,wrapper:"_wrapper_1oc6q_13",noScroll:"_noScroll_1oc6q_19",headerWrapper:"_headerWrapper_1oc6q_23",tableBody:"_tableBody_1oc6q_23",clickableHeader:"_clickableHeader_1oc6q_29",headerContent:"_headerContent_1oc6q_43",headerRow:"_headerRow_1oc6q_77",columnCell:"_columnCell_1oc6q_82",cell:"_cell_1oc6q_82",table:"_table_1oc6q_23",row:"_row_1oc6q_94",checkBoxWrapper:"_checkBoxWrapper_1oc6q_100",showInHeader:"_showInHeader_1oc6q_104",selected:"_selected_1oc6q_107",allSelected:"_allSelected_1oc6q_107",focused:"_focused_1oc6q_153",disabled:"_disabled_1oc6q_165",noBottomBorder:"_noBottomBorder_1oc6q_169",noRows:"_noRows_1oc6q_197",pagination:"_pagination_1oc6q_203",paginationLabel:"_paginationLabel_1oc6q_219",paginationSelect:"_paginationSelect_1oc6q_224",paginationButtons:"_paginationButtons_1oc6q_230",loadingWrapper:"_loadingWrapper_1oc6q_242",resizer:"_resizer_1oc6q_257",isResizing:"_isResizing_1oc6q_279"},An=s.createContext({registerColumn:(e,r)=>{},unRegisterColumn:e=>{}}),yp={value:Qe},Hp=({children:e})=>{const[r,t]=s.useState(yp);return d.jsx(Sp,{updateState:t,selectedItems:r.value,children:e})},Sp=({updateState:e=Be.noop,idKey:r="id",children:t,selectedItems:o=Qe,registerComponentApi:a=Be.noop})=>{const[l,i]=s.useState(o),n=s.useRef(!1),c=Ce((C=Qe)=>{const x=C||Qe,g=o||Qe;i(x);let T=x.filter(y=>!!g.find($=>$&&y&&$[r]===y[r]));(!Be.isEqual(g,T)||!n.current)&&(n.current=!0,e({value:T}))}),b=Ce(C=>{e({value:(l||Qe).filter(g=>C.includes(g[r]))})}),h=Ce(()=>{b(Qe)});s.useLayoutEffect(()=>{a({clearSelection:h,setSelectedRowIds:b,refreshSelection:c})},[h,b,a,c]);const p=s.useMemo(()=>({selectedItems:o,setSelectedRowIds:b,refreshSelection:c,idKey:r}),[c,o,b,r]);return d.jsx(Wn.Provider,{value:p,children:t})},Wn=s.createContext(null);function Nn(){return s.useContext(Wn)}function kp(e){return so({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 18 9 12 15 6"}}]})(e)}function wp(e){return so({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(e)}function Ip(e){return so({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"11 17 6 12 11 7"}},{tag:"polyline",attr:{points:"18 17 13 12 18 7"}}]})(e)}function Bp(e){return so({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"13 17 18 12 13 7"}},{tag:"polyline",attr:{points:"6 17 11 12 6 7"}}]})(e)}function $p({items:e=Qe,visibleItems:r=e,rowsSelectable:t,enableMultiRowSelection:o,onSelectionDidChange:a}){const[l,i]=s.useState(-1),[n,c]=s.useState(null),{selectedItems:b,setSelectedRowIds:h,refreshSelection:p,idKey:C}=Nn(),x=s.useMemo(()=>r.map(M=>M[C]),[C,r]);s.useEffect(()=>{p(t?e:Qe)},[p,e,t]);const g=Qi(o);s.useEffect(()=>{g&&!o&&b.length>1&&h([b[0][C]])},[o,C,g,b,h]),s.useEffect(()=>{t&&l!==-1&&!x[l]&&x[0]&&i(0)},[l,t,i,x]);const T=Ce((M,f={})=>{if(!t)return;const v=x[M],{shiftKey:H,metaKey:S,ctrlKey:L}=f,F=!o||!H&&!S&&!L;let N,D=[...b.map(X=>X[C])];if(F)N={from:v,to:v},D=[v];else if(H){let X,q,I,B;if(n){let A=x.indexOf(n.from),z=x.indexOf(n.to),R=Math.min(A,z),ie=Math.max(A,z);const ce=x.slice(R,ie+1);D=D.filter(se=>!ce.includes(se)),I=n.from,B=v;let Te=x.indexOf(I),oe=x.indexOf(B);X=Math.min(Te,oe),q=Math.max(Te,oe)}else I=v,B=v,X=M,q=M;const W=x.slice(X,q+1);D=Be.union(D,W),N={from:I,to:B}}else N={from:v,to:v},S||L?D.includes(v)?D=D.filter(X=>X!==v):D.push(v):D=[v];i(M),h(Be.uniq(D)),c(N)}),y=Ce((M,f)=>{if(!t)return;const v=x.indexOf(M[C]);T(v,f)}),$=Ce(M=>{if(t){if(M.key==="ArrowDown"){M.preventDefault();let f=Math.min(r.length-1,l+1);l!==r.length-1&&T(f,M)}if(M.key==="PageDown"){M.preventDefault();const f=Math.min(r.length-1,l+8);T(f,M)}if(M.key==="ArrowUp"){M.preventDefault();let f=Math.max(0,l-1);l>=0&&T(f,M)}if(M.key==="PageUp"){M.preventDefault();const f=Math.max(0,l-8);T(f,M)}}});s.useEffect(()=>{a==null||a(b)},[b,a]);const w=Ce(M=>{t&&(!o&&M||h(M?e.map(f=>f[C]):[]))}),O=s.useMemo(()=>{let M={};return b.forEach(f=>{M[f[C]]=!0}),M},[C,b]),V=s.useCallback(()=>b,[b]),P=s.useCallback(()=>b.map(M=>M[C]),[C,b]),Z=s.useCallback(()=>{w(!1)},[w]),E=s.useCallback(()=>{w(!0)},[w]),j=s.useCallback(M=>{if(!t)return;let f=Array.isArray(M)?M:[M];f.length>1&&!o&&(f=[f[0]]),h(f)},[o,t,h]),U=s.useMemo(()=>({getSelectedItems:V,getSelectedIds:P,clearSelection:Z,selectAll:E,selectId:j}),[Z,P,V,E,j]);return{onKeyDown:$,focusedIndex:l,toggleRowIndex:T,toggleRow:y,checkAllRows:w,selectedRowIdMap:O,selectedItems:b,idKey:C,selectionApi:U}}function Op(e){return!1}const Lp=42,_p=[10],zn=e=>{const r=e.getIsPinned();return{left:r==="left"?`${e.getStart("left")}px`:void 0,right:r==="right"?`${e.getAfter("right")}px`:void 0,opacity:r?.95:void 0,position:r?"sticky":"relative",backgroundColor:r?"inherit":void 0,zIndex:r?1:void 0}},Vp=s.forwardRef(({data:e=Qe,columns:r=Qe,isPaginated:t=!1,loading:o=!1,headerHeight:a,rowsSelectable:l=!1,enableMultiRowSelection:i=!0,pageSizes:n=_p,rowDisabledPredicate:c=Op,sortBy:b,sortingDirection:h="ascending",iconSortAsc:p,iconSortDesc:C,iconNoSort:x,sortingDidChange:g,willSort:T,style:y,noDataRenderer:$,autoFocus:w=!1,hideHeader:O=!1,hideNoDataView:V=!1,alwaysShowSelectionHeader:P=!1,registerComponentApi:Z,onSelectionDidChange:E,noBottomBorder:j=!1},U)=>{var ds,us,cs,ms;const{getThemeVar:M}=Nt(),f=Array.isArray(e)?e:Qe,v=s.useRef(null),H=U?sr(v,U):v,S=s.useRef(null),L=s.useRef(null),F=b!==void 0,N=s.useMemo(()=>r||(f.length?Object.keys(f[0]).map(ne=>({header:ne,accessorKey:ne})):Qe),[r,f]);s.useEffect(()=>{w&&v.current.focus()},[w]);const[D,X]=s.useState(Qe),{toggleRow:q,checkAllRows:I,focusedIndex:B,onKeyDown:W,selectedRowIdMap:A,idKey:z,selectionApi:R}=$p({items:f,visibleItems:D,rowsSelectable:l,enableMultiRowSelection:i,onSelectionDidChange:E}),ie=s.useMemo(()=>f.map((ne,Ie)=>({...ne,order:Ie+1})),[f]),[ce,Te]=s.useState(b),[oe,se]=s.useState(h);s.useLayoutEffect(()=>{Te(b)},[b]),s.useLayoutEffect(()=>{se(h)},[h]);const _e=s.useMemo(()=>!ce||F?ie:Be.orderBy(ie,ce,oe==="ascending"?"asc":"desc"),[ce,oe,ie,F]),Ae=s.useCallback(async ne=>{let Ie="ascending",ue=ne;ce===ne&&(oe==="ascending"?Ie="descending":ue=void 0),await(T==null?void 0:T(ue,Ie))!==!1&&(se(Ie),Te(ue),g==null||g(ue,Ie))},[ce,T,g,oe]),Ne=s.useMemo(()=>N.map((ne,Ie)=>{const{width:ue,starSizedWidth:Se}=Mt(ne.width,!0,"width"),{width:Zt}=Mt(ne.minWidth,!1,"minWidth"),{width:Ue}=Mt(ne.maxWidth,!1,"maxWidth");return{...ne,header:ne.header??ne.accessorKey??" ",id:"col_"+Ie,size:ue,minSize:Zt,maxSize:Ue,enableResizing:ne.canResize,enableSorting:ne.canSort,enablePinning:ne.pinTo!==void 0,meta:{starSizedWidth:Se,pinTo:ne.pinTo,style:ne.style,accessorKey:ne.accessorKey,cellRenderer:ne.cellRenderer}};function Mt($t,lr,dx){let Ko,Ia;const oo=bd($t)?M($t):$t;if(typeof oo=="number")Ia=oo;else if(typeof oo=="string"){const ux=oo.match(/^\s*\*\s*$/);if(lr&&ux)Ko="1*";else{const ps=oo.match(/^\s*(\d+)\s*\*\s*$/);if(lr&&ps)Ko=ps[1]+"*";else{const hs=oo.match(/^\s*(\d+)\s*(px)?\s*$/);if(hs)Ia=Number(hs[1]);else throw new Error(`Invalid TableColumnDef '${dx}' value: ${oo}`)}}}return Ia===void 0&&Ko===void 0&&lr&&(Ko="1*"),{width:Ia,starSizedWidth:Ko}}}),[M,N]),ee=s.useMemo(()=>l?[{id:"select",size:Lp,enableResizing:!1,enablePinning:!0,meta:{pinTo:"left"},header:({table:Ie})=>i?d.jsx(Xa,{className:re(ke.checkBoxWrapper,{[ke.showInHeader]:P}),value:Ie.getIsAllRowsSelected(),indeterminate:Ie.getIsSomeRowsSelected(),onDidChange:ue=>{I(ue)}}):null,cell:({row:Ie})=>d.jsx(Xa,{className:ke.checkBoxWrapper,value:Ie.getIsSelected(),indeterminate:Ie.getIsSomeSelected(),onDidChange:()=>{q(Ie.original,{metaKey:!0})}})},...Ne]:Ne,[l,Ne,i,P,I,q]),[He,be]=s.useState({pageSize:t?n[0]:Number.MAX_VALUE,pageIndex:0}),J=Qi(t);s.useEffect(()=>{!J&&t&&be(ne=>({...ne,pageSize:n[0]})),J&&!t&&be(ne=>({pageIndex:0,pageSize:Number.MAX_VALUE}))},[t,n,J]);const[ge,de]=s.useState({}),te=s.useMemo(()=>{const ne=[],Ie=[];return ee.forEach(ue=>{var Se,Zt;((Se=ue.meta)==null?void 0:Se.pinTo)==="right"&&Ie.push(ue.id),((Zt=ue.meta)==null?void 0:Zt.pinTo)==="left"&&ne.push(ue.id)}),{left:ne,right:Ie}},[ee]),G=Vo.useReactTable({columns:ee,data:_e,getCoreRowModel:Vo.getCoreRowModel(),getPaginationRowModel:t?Vo.getPaginationRowModel():void 0,enableRowSelection:l,enableMultiRowSelection:i,columnResizeMode:"onChange",getRowId:s.useCallback(ne=>ne[z]+"",[z]),state:s.useMemo(()=>({pagination:He,rowSelection:A,columnSizing:ge,columnPinning:te}),[te,ge,He,A]),onColumnSizingChange:de,onPaginationChange:be}),le=G.getRowModel().rows;s.useEffect(()=>{X(le.map(ne=>ne.original))},[le]);const pe=s.useContext(Fa),tt=pe&&(y==null?void 0:y.maxHeight)===void 0&&(y==null?void 0:y.height)===void 0&&(y==null?void 0:y.flex)===void 0,Bt=Rs(tt,v,pe),Wr=Ts.useVirtualizer({count:le.length,getScrollElement:s.useCallback(()=>tt&&(pe!=null&&pe.current)?pe==null?void 0:pe.current:v.current,[pe,tt]),scrollMargin:Bt,estimateSize:s.useCallback(()=>L.current||30,[]),overscan:5}),ls=Wr.getVirtualItems().length>0&&((us=(ds=Wr.getVirtualItems())==null?void 0:ds[0])==null?void 0:us.start)-Bt||0,ns=Wr.getVirtualItems().length>0?Wr.getTotalSize()-(((ms=(cs=Wr.getVirtualItems())==null?void 0:cs[Wr.getVirtualItems().length-1])==null?void 0:ms.end)-Bt||0):0,ka=f.length!==0,$i=s.useRef({}),ss=s.useCallback(ne=>{$i.current[ne]=!0},[]),wa=Ce(()=>{if(!S.current)return;let ne=S.current.clientWidth-1;const Ie={},ue=[],Se={};G.getAllColumns().forEach(Ue=>{var vr,Mt;if(Ue.columnDef.size!==void 0||$i.current[Ue.id])ne-=ge[Ue.id]||Ue.columnDef.size||0;else{ue.push(Ue);let $t;(vr=Ue.columnDef.meta)!=null&&vr.starSizedWidth?$t=Number((Mt=Ue.columnDef.meta)==null?void 0:Mt.starSizedWidth.replace("*","").trim())||1:$t=1,Se[Ue.id]=$t}});const Zt=Object.values(Se).reduce((Ue,vr)=>Ue+vr,0);ue.forEach(Ue=>{Ie[Ue.id]=Math.floor(ne*(Se[Ue.id]/Zt))}),_i.flushSync(()=>{de(Ue=>({...Ue,...Ie}))})});return Zi(S,wa),Wo(()=>{queueMicrotask(()=>{wa()})},[wa,N]),Wo(()=>{Z(R)},[Z,R]),d.jsxs("div",{className:re(ke.wrapper,{[ke.noScroll]:tt}),tabIndex:-1,onKeyDown:W,ref:H,style:y,children:[d.jsxs("table",{className:ke.table,ref:S,style:{borderRight:"1px solid transparent"},children:[!O&&d.jsx("thead",{style:{height:a},className:ke.headerWrapper,children:G.getHeaderGroups().map((ne,Ie)=>d.jsx("tr",{className:re(ke.headerRow,{[ke.allSelected]:G.getIsAllRowsSelected()}),children:ne.headers.map((ue,Se)=>{var Mt,$t;const{width:Zt,...Ue}=((Mt=ue.column.columnDef.meta)==null?void 0:Mt.style)||{},vr=ue.getSize();return d.jsxs("th",{className:ke.columnCell,colSpan:ue.colSpan,style:{position:"relative",width:vr,...zn(ue.column)},children:[d.jsx(Ap,{hasSorting:ue.column.columnDef.enableSorting,updateSorting:()=>{var lr;return Ae((lr=ue.column.columnDef.meta)==null?void 0:lr.accessorKey)},children:d.jsxs("div",{className:ke.headerContent,style:Ue,children:[Vo.flexRender(ue.column.columnDef.header,ue.getContext()),ue.column.columnDef.enableSorting&&d.jsx("span",{style:{display:"inline-flex",maxWidth:16},children:d.jsx(Wp,{iconSortAsc:p,iconSortDesc:C,iconNoSort:x,direction:(($t=ue.column.columnDef.meta)==null?void 0:$t.accessorKey)===ce?oe:void 0})})]})}),ue.column.getCanResize()&&d.jsx("div",{onDoubleClick:()=>{$i.current[ue.column.id]=!1,ue.column.columnDef.size!==void 0?ue.column.resetSize():wa()},onMouseDown:lr=>{ss(ue.column.id),ue.getResizeHandler()(lr)},onTouchStart:lr=>{ss(ue.column.id),ue.getResizeHandler()(lr)},className:re(ke.resizer,{[ke.isResizing]:ue.column.getIsResizing()})})]},`${ue.id}-${Se}`)})},`${ne.id}-${Ie}`))}),ka&&d.jsxs("tbody",{className:ke.tableBody,children:[ls>0&&d.jsx("tr",{children:d.jsx("td",{style:{height:`${ls}px`}})}),Wr.getVirtualItems().map(ne=>{const Ie=ne.index,ue=le[Ie];return d.jsx("tr",{"data-index":Ie,className:re(ke.row,{[ke.selected]:ue.getIsSelected(),[ke.focused]:B===Ie,[ke.disabled]:c(ue.original),[ke.noBottomBorder]:j}),ref:Se=>{Se&&L.current===null&&(L.current=Math.round(Se.getBoundingClientRect().height)),Wr.measureElement(Se)},onClick:Se=>{Se.defaultPrevented||Se.target.tagName.toLowerCase()==="input"||q(ue.original,Se)},children:ue.getVisibleCells().map((Se,Zt)=>{var Mt,$t;const Ue=($t=(Mt=Se.column.columnDef)==null?void 0:Mt.meta)==null?void 0:$t.cellRenderer,vr=Se.column.getSize();return d.jsx("td",{className:ke.cell,style:{width:vr,...zn(Se.column)},children:Ue?Ue(Se.row.original,Ie,Zt,Se==null?void 0:Se.getValue()):Vo.flexRender(Se.column.columnDef.cell,Se.getContext())},`${Se.id}-${Zt}`)})},`${ue.id}-${Ie}`)}),ns>0&&d.jsx("tr",{children:d.jsx("td",{style:{height:`${ns}px`}})})]})]}),o&&!ka&&d.jsx("div",{className:ke.loadingWrapper,children:d.jsx(ll,{})}),!V&&!o&&!ka&&($?$():d.jsx("div",{className:ke.noRows,children:"No data available"})),t&&ka&&le.length>0&&He&&d.jsxs("div",{className:ke.pagination,children:[d.jsx("div",{style:{flex:1},children:d.jsxs("span",{className:ke.paginationLabel,children:["Showing ",le[0].original.order," to ",le[le.length-1].original.order," of"," ",f.length," entries"]})}),n.length>1&&d.jsxs("div",{children:[d.jsx("span",{className:ke.paginationLabel,children:"Rows per page"}),d.jsx("select",{className:ke.paginationSelect,value:He.pageSize,onChange:ne=>{G.setPageSize(Number(ne.target.value))},children:n.map(ne=>d.jsx("option",{value:ne,children:ne},ne))})]}),d.jsxs("div",{className:ke.paginationButtons,children:[d.jsx(ot,{onClick:()=>G.setPageIndex(0),disabled:!G.getCanPreviousPage(),type:"button",variant:"ghost",children:d.jsx(Ip,{})}),d.jsx(ot,{onClick:()=>G.previousPage(),disabled:!G.getCanPreviousPage(),type:"button",variant:"ghost",children:d.jsx(kp,{})}),d.jsx(ot,{onClick:()=>G.nextPage(),disabled:!G.getCanNextPage(),type:"button",variant:"ghost",children:d.jsx(wp,{})}),d.jsx(ot,{onClick:()=>G.setPageIndex(G.getPageCount()-1),disabled:!G.getCanNextPage(),type:"button",variant:"ghost",children:d.jsx(Bp,{})})]})]})]})});function Ap({hasSorting:e,updateSorting:r,children:t}){return e?d.jsx("button",{className:ke.clickableHeader,onClick:r,children:t}):d.jsx(d.Fragment,{children:t})}function Wp({direction:e,iconSortAsc:r="sortasc:Table",iconSortDesc:t="sortdesc:Table",iconNoSort:o="nosort:Table"}){return e==="ascending"?d.jsx(me,{name:r,fallback:"sortasc",size:"12"}):e==="descending"?d.jsx(me,{name:t,fallback:"sortdesc",size:"12"}):o!=="-"?d.jsx(me,{name:o,fallback:"nosort",size:"12"}):d.jsx(me,{name:o,size:"12"})}const fe="Table",Np={description:`\`${fe}\` is a component that displays cells organized into rows and columns. The \`${fe}\` component is virtualized so it only renders visible cells.`,props:{items:Xe("You can use `items` as an alias for the `data` property. When you bind the table to a data source (e.g. an API endpoint), the `data` acts as the property that accepts a URL to fetch information from an API. When both `items` and `data` are used, `items` has priority."),data:m("The component receives data via this property. The `data` property is a list of items that the `Table` can display."),isPaginated:{description:`This property adds pagination controls to the \`${fe}\`.`,valueType:"boolean",defaultValue:!1},loading:m("This boolean property indicates if the component is fetching (or processing) data. This property is useful when data is loaded conditionally or receiving it takes some time."),headerHeight:m("This optional property is used to specify the height of the table header."),rowsSelectable:m("Indicates whether the rows are selectable (`true`) or not (`false`)."),pageSizes:{description:"This property holds an array of page sizes (numbers) the user can select for pagination. If this property is not defined, the component allows only a page size of 10 items."},rowDisabledPredicate:m("This property defines a predicate function with a return value that determines if the row should be disabled. The function retrieves the item to display and should return a Boolean-like value."),noDataTemplate:$e("A property to customize what to display if the table does not contain any data."),sortBy:m("This property is used to determine which data attributes to sort by."),sortDirection:m("This property determines the sort order to be `ascending` or `descending`. This property only works if the [`sortBy`](#sortby) property is also set."),autoFocus:it(),hideHeader:{description:"Set the header visibility using this property. Set it to `true` to hide the header.",valueType:"boolean",defaultValue:!1},iconNoSort:m(`Allows setting the icon displayed in the ${fe} column header when sorting is enabled, but the column remains unsorted. You can change the default icon for all ${fe} instances with the "icon.nosort:Table" declaration in the app configuration file.`),iconSortAsc:m(`Allows setting the icon displayed in the ${fe} column header when sorting is enabled, and the column is sorted in ascending order. You can change the default icon for all ${fe} instances with the "icon.sortasc:Table" declaration in the app configuration file.`),iconSortDesc:m(`Allows setting the icon displayed in the ${fe} column header when sorting is enabled, and the column is sorted in descending order. You can change the default icon for all ${fe} instances with the "icon.sortdesc:Table" declaration in the app configuration file.`),enableMultiRowSelection:{description:"This boolean property indicates whether you can select multiple rows in the table. This property only has an effect when the rowsSelectable property is set. Setting it to `false` limits selection to a single row.",valueType:"boolean",defaultValue:!0},alwaysShowSelectionHeader:{description:"This property indicates when the row selection header is displayed. When the value is `true,` the selection header is always visible. Otherwise, it is displayed only when hovered.",valueType:"boolean",defaultValue:!1},noBottomBorder:{description:"This property indicates whether the table should have a bottom border. When set to `true`, the table does not have a bottom border. Otherwise, it has a bottom border.",valueType:"boolean",defaultValue:!1}},events:{sortingDidChange:m("This event is fired when the table data sorting has changed. It has two arguments: the column's name and the sort direction. When the column name is empty, the table displays the data list as it received it."),willSort:m("This event is fired before the table data is sorted. It has two arguments: the column's name and the sort direction. When the method returns a literal `false` value (and not any other falsy one), the method indicates that the sorting should be aborted."),selectionDidChange:m("This event is triggered when the table's current selection (the rows selected) changes. Its parameter is an array of the selected table row items. ")},apis:{clearSelection:m("This method clears the list of currently selected table rows."),getSelectedItems:m("This method returns the list of currently selected table rows items."),getSelectedIds:m("This method returns the list of currently selected table rows IDs."),selectAll:m("This method selects all the rows in the table. This method has no effect if the rowsSelectable property is set to `false`."),selectId:m("This method selects the row with the specified ID. This method has no effect if the `rowsSelectable` property is set to `false`. The method argument can be a single id or an array of them.")},themeVars:Y(ke.themeVars),defaultThemeVars:{[`padding-heading-${fe}`]:"$space-2",[`paddingHorizontal-cell-${fe}`]:"$space-2",[`paddingHorizontal-cell-first-${fe}`]:"$space-5",[`paddingHorizontal-cell-last-${fe}`]:"$space-5",[`paddingVertical-cell-${fe}`]:"$space-2",[`border-cell-${fe}`]:"1px solid $borderColor",[`outlineWidth-heading-${fe}--focus`]:"$outlineWidth--focus",[`outlineStyle-heading-${fe}--focus`]:"$outlineStyle--focus",[`outlineOffset-heading-${fe}--focus`]:"$outlineOffset--focus",[`fontSize-heading-${fe}`]:"$fontSize-tiny",[`fontWeight-heading-${fe}`]:"$fontWeight-bold",[`textTransform-heading-${fe}`]:"uppercase",[`fontSize-row-${fe}`]:"$fontSize-small",[`backgroundColor-selected-${fe}--hover`]:`$backgroundColor-row-${fe}--hover`,[`backgroundColor-pagination-${fe}`]:`$backgroundColor-${fe}`,[`outlineColor-heading-${fe}--focus`]:"$outlineColor--focus",[`textColor-pagination-${fe}`]:"$color-secondary",[`backgroundColor-row-${fe}--hover`]:"$color-primary-50",[`backgroundColor-selected-${fe}`]:"$color-primary-100",[`backgroundColor-heading-${fe}--hover`]:"$color-surface-200",[`backgroundColor-heading-${fe}--active`]:"$color-surface-300",[`backgroundColor-heading-${fe}`]:"$color-surface-100",[`textColor-heading-${fe}`]:"$color-surface-500"}};s.forwardRef(({extractValue:e,node:r,renderChild:t,lookupEventHandler:o,lookupSyncCallback:a,layoutCss:l,registerComponentApi:i},n)=>{var P,Z,E,j,U,M;const c=e(r.props.items)||e(r.props.data),[b,h]=s.useState(Qe),[p,C]=s.useState(xr),x=s.useRef([]),[g,T]=s.useState(0),y=s.useMemo(()=>({registerColumn:(f,v)=>{h(Nr(H=>{H.findIndex(L=>L===v)<0&&H.push(v)})),C(Nr(H=>{H[v]=f}))},unRegisterColumn:f=>{h(Nr(v=>v.filter(H=>H!==f))),C(Nr(v=>{delete v[f]}))}}),[]),$=s.useMemo(()=>({registerColumn:(f,v)=>{x.current.find(H=>H===v)||(T(H=>H+1),x.current.push(v))},unRegisterColumn:f=>{x.current.find(v=>v===f)&&(x.current=x.current.filter(v=>v!==f),T(v=>v+1))}}),[]),w=s.useMemo(()=>b.map(f=>p[f]),[b,p]),O=Nn(),V=d.jsxs(d.Fragment,{children:[d.jsx(An.Provider,{value:y,children:t(r.children)},g),d.jsx(An.Provider,{value:$,children:t(r.children)}),d.jsx(Vp,{ref:n,data:c,columns:w,pageSizes:e(r.props.pageSizes),rowsSelectable:e.asOptionalBoolean(r.props.rowsSelectable),registerComponentApi:i,noDataRenderer:r.props.noDataTemplate&&(()=>t(r.props.noDataTemplate)),hideNoDataView:r.props.noDataTemplate===null||r.props.noDataTemplate==="",loading:e.asOptionalBoolean(r.props.loading),isPaginated:e.asOptionalBoolean((P=r.props)==null?void 0:P.isPaginated),headerHeight:e.asSize(r.props.headerHeight),rowDisabledPredicate:a(r.props.rowDisabledPredicate),sortBy:e((Z=r.props)==null?void 0:Z.sortBy),sortingDirection:e((E=r.props)==null?void 0:E.sortDirection),iconSortAsc:e.asOptionalString((j=r.props)==null?void 0:j.iconSortAsc),iconSortDesc:e.asOptionalString((U=r.props)==null?void 0:U.iconSortDesc),iconNoSort:e.asOptionalString((M=r.props)==null?void 0:M.iconNoSort),sortingDidChange:o("sortingDidChange"),onSelectionDidChange:o("selectionDidChange"),willSort:o("willSort"),style:l,uid:r.uid,autoFocus:e.asOptionalBoolean(r.props.autoFocus),hideHeader:e.asOptionalBoolean(r.props.hideHeader),enableMultiRowSelection:e.asOptionalBoolean(r.props.enableMultiRowSelection),alwaysShowSelectionHeader:e.asOptionalBoolean(r.props.alwaysShowSelectionHeader),noBottomBorder:e.asOptionalBoolean(r.props.noBottomBorder)})]});return O===null?d.jsx(Hp,{children:V}):V});const zp={themeVars:'"[]"'},En="StickyBox",Ep={status:"experimental",description:`The \`${En}\` is a component that "sticks" or remains fixed at the top or bottom position on the screen as the user scrolls.`,props:{to:{description:"This property determines whether the StickyBox should be anchored to the `top` or `bottom`.",availableValues:["top","bottom"],valueType:"string",defaultValue:"top"}},themeVars:Y(zp.themeVars),defaultThemeVars:{[`backgroundColor-${En}`]:"$backgroundColor"}},Et="ModalDialog",Pp={description:`The \`${Et}\` component defines a modal dialog UI element that can be displayed over the existing UI - triggered by some action.`,props:{fullScreen:{description:"Toggles whether the dialog encompasses the whole UI (`true`) or not and has a minimum width and height (`false`).",valueType:"boolean",defaultValue:!1},title:m("Provides a prestyled heading to display the intent of the dialog."),closeButtonVisible:{description:"Shows (`true`) or hides (`false`) the visibility of the close button on the dialog.",valueType:"boolean",defaultValue:!0}},events:{open:m(`This event is fired when the \`${Et}\` is opened either via a \`when\` or an imperative API call (\`open()\`).`),close:m(`This event is fired when the close button is pressed or the user clicks outside the \`${Et}\`.`)},apis:{close:m(`This method is used to close the \`${Et}\`. Invoke it using \`modalId.close()\` where \`modalId\` refers to a \`ModalDialog\` component.`),open:m("This method imperatively opens the modal dialog. You can pass an arbitrary number of parameters to the method. In the `ModalDialog` instance, you can access those with the `$paramq` and `$params` context values.")},contextVars:{$param:m("This value represents the first parameters passed to the `open()` method to display the modal dialog."),$params:m("This value represents the array of parameters passed to the `open()` method. You can use `$params[0]` to access the first and `$params[1]` to access the second (and so on) parameters. `$param` is the same as `$params[0]`.")},themeVars:Y(wr.themeVars),defaultThemeVars:{...Ga(Et,{all:"$space-7"}),[`backgroundColor-${Et}`]:"$backgroundColor-primary",[`backgroundColor-overlay-${Et}`]:"$backgroundColor-overlay",[`textColor-${Et}`]:"$textColor-primary",[`borderRadius-${Et}`]:"$borderRadius",[`fontFamily-${Et}`]:"$fontFamily",[`maxWidth-${Et}`]:"450px",[`marginBottom-title-${Et}`]:"0"}},Mp={themeVars:`'{"padding-NoResult": "var(--xmlui-padding-NoResult)", "paddingHorizontal-NoResult": "var(--xmlui-paddingHorizontal-NoResult, var(--xmlui-padding-NoResult))", "paddingVertical-NoResult": "var(--xmlui-paddingVertical-NoResult, var(--xmlui-padding-NoResult))", "paddingLeft-NoResult": "var(--xmlui-paddingLeft-NoResult, var(--xmlui-paddingHorizontal-NoResult, var(--xmlui-padding-NoResult)))", "paddingRight-NoResult": "var(--xmlui-paddingRight-NoResult, var(--xmlui-paddingHorizontal-NoResult, var(--xmlui-padding-NoResult)))", "paddingTop-NoResult": "var(--xmlui-paddingTop-NoResult, var(--xmlui-paddingVertical-NoResult, var(--xmlui-padding-NoResult)))", "paddingBottom-NoResult": "var(--xmlui-paddingBottom-NoResult, var(--xmlui-paddingVertical-NoResult, var(--xmlui-padding-NoResult)))", "border-NoResult": "var(--xmlui-border-NoResult)", "borderHorizontal-NoResult": "var(--xmlui-borderHorizontal-NoResult, var(--xmlui-border-NoResult))", "borderVertical-NoResult": "var(--xmlui-borderVertical-NoResult, var(--xmlui-border-NoResult))", "borderLeft-NoResult": "var(--xmlui-borderLeft-NoResult, var(--xmlui-borderHorizontal-NoResult, var(--xmlui-border-NoResult)))", "borderRight-NoResult": "var(--xmlui-borderRight-NoResult, var(--xmlui-borderHorizontal-NoResult, var(--xmlui-border-NoResult)))", "borderTop-NoResult": "var(--xmlui-borderTop-NoResult, var(--xmlui-borderVertical-NoResult, var(--xmlui-border-NoResult)))", "borderBottom-NoResult": "var(--xmlui-borderBottom-NoResult, var(--xmlui-borderVertical-NoResult, var(--xmlui-border-NoResult)))", "borderWidth-NoResult": "var(--xmlui-borderWidth-NoResult)", "borderHorizontalWidth-NoResult": "var(--xmlui-borderHorizontalWidth-NoResult, var(--xmlui-borderWidth-NoResult))", "borderLeftWidth-NoResult": "var(--xmlui-borderLeftWidth-NoResult, var(--xmlui-borderHorizontalWidth-NoResult, var(--xmlui-borderWidth-NoResult)))", "borderRightWidth-NoResult": "var(--xmlui-borderRightWidth-NoResult, var(--xmlui-borderHorizontalWidth-NoResult, var(--xmlui-borderWidth-NoResult)))", "borderVerticalWidth-NoResult": "var(--xmlui-borderVerticalWidth-NoResult, var(--xmlui-borderWidth-NoResult))", "borderTopWidth-NoResult": "var(--xmlui-borderTopWidth-NoResult, var(--xmlui-borderVerticalWidth-NoResult, var(--xmlui-borderWidth-NoResult)))", "borderBottomWidth-NoResult": "var(--xmlui-borderBottomWidth-NoResult, var(--xmlui-borderVerticalWidth-NoResult, var(--xmlui-borderWidth-NoResult)))", "borderStyle-NoResult": "var(--xmlui-borderStyle-NoResult)", "borderHorizontalStyle-NoResult": "var(--xmlui-borderHorizontalStyle-NoResult, var(--xmlui-borderStyle-NoResult))", "borderLeftStyle-NoResult": "var(--xmlui-borderLeftStyle-NoResult, var(--xmlui-borderHorizontalStyle-NoResult, var(--xmlui-borderStyle-NoResult)))", "borderRightStyle-NoResult": "var(--xmlui-borderRightStyle-NoResult, var(--xmlui-borderHorizontalStyle-NoResult, var(--xmlui-borderStyle-NoResult)))", "borderVerticalStyle-NoResult": "var(--xmlui-borderVerticalStyle-NoResult, var(--xmlui-borderStyle-NoResult))", "borderTopStyle-NoResult": "var(--xmlui-borderTopStyle-NoResult, var(--xmlui-borderVerticalStyle-NoResult, var(--xmlui-borderStyle-NoResult)))", "borderBottomStyle-NoResult": "var(--xmlui-borderBottomStyle-NoResult, var(--xmlui-borderVerticalStyle-NoResult, var(--xmlui-borderStyle-NoResult)))", "borderColor-NoResult": "var(--xmlui-borderColor-NoResult)", "borderHorizontalColor-NoResult": "var(--xmlui-borderHorizontalColor-NoResult, var(--xmlui-borderColor-NoResult))", "borderLeftColor-NoResult": "var(--xmlui-borderLeftColor-NoResult, var(--xmlui-borderHorizontalColor-NoResult, var(--xmlui-borderColor-NoResult)))", "borderRightColor-NoResult": "var(--xmlui-borderRightColor-NoResult, var(--xmlui-borderHorizontalColor-NoResult, var(--xmlui-borderColor-NoResult)))", "borderVerticalColor-NoResult": "var(--xmlui-borderVerticalColor-NoResult, var(--xmlui-borderColor-NoResult))", "borderTopColor-NoResult": "var(--xmlui-borderTopColor-NoResult, var(--xmlui-borderVerticalColor-NoResult, var(--xmlui-borderColor-NoResult)))", "borderBottomColor-NoResult": "var(--xmlui-borderBottomColor-NoResult, var(--xmlui-borderVerticalColor-NoResult, var(--xmlui-borderColor-NoResult)))", "borderStartStartRadius-NoResult": "var(--xmlui-borderStartStartRadius-NoResult, var(--xmlui-borderRadius-NoResult))", "borderStartEndRadius-NoResult": "var(--xmlui-borderStartEndRadius-NoResult, var(--xmlui-borderRadius-NoResult))", "borderEndStartRadius-NoResult": "var(--xmlui-borderEndStartRadius-NoResult, var(--xmlui-borderRadius-NoResult))", "borderEndEndRadius-NoResult": "var(--xmlui-borderEndEndRadius-NoResult, var(--xmlui-borderRadius-NoResult))", "gap-icon-NoResult": "var(--xmlui-gap-icon-NoResult)", "size-icon-NoResult": "var(--xmlui-size-icon-NoResult)"}'`},Qo="NoResult",Dp={description:`\`${Qo}\` is a component that displays a visual indication that some data query (search) resulted in no (zero) items.`,props:{label:qe(),icon:m("This property defines the icon to display with the component."),hideIcon:{description:"This boolean property indicates if the icon should be hidden.",valueType:"boolean",defaultValue:"false"}},themeVars:Y(Mp.themeVars),defaultThemeVars:{[`border-${Qo}`]:"0px solid $borderColor",[`paddingVertical-${Qo}`]:"$space-2",[`gap-icon-${Qo}`]:"$space-2",[`size-icon-${Qo}`]:"$space-8",light:{},dark:{}}},Rp={status:"deprecated",description:"The `SelectionStore` is a non-visual component that may wrap components (items) and manage their selection state to accommodate the usage of other actions.",props:{idKey:m('The selected items in the selection store needs to have a unique ID to use as an unambiguous key for that particular item. This property uniquely identifies the selected object item via a given property. By default, the key attribute is `"id"`.')}},Fp={description:"A PageMetaTitle component allows setting up (or changing) the app title to display with the current browser tab.",props:{value:m("This property sets the page's title to display in the browser tab.")}},Up={themeVars:`'{"backgroundColor-ProgressBar": "var(--xmlui-backgroundColor-ProgressBar)", "color-indicator-ProgressBar": "var(--xmlui-color-indicator-ProgressBar)", "borderRadius-ProgressBar": "var(--xmlui-borderRadius-ProgressBar)", "borderRadius-indicator-ProgressBar": "var(--xmlui-borderRadius-indicator-ProgressBar)", "thickness-ProgressBar": "var(--xmlui-thickness-ProgressBar)"}'`},wo="ProgressBar",qp={description:`A \`${wo}\` component visually represents the progress of a task or process.`,props:{value:{description:"This property defines the progress value with a number between 0 and 1.",valueType:"number",defaultValue:0}},themeVars:Y(Up.themeVars),defaultThemeVars:{[`borderRadius-${wo}`]:"$borderRadius",[`borderRadius-indicator-${wo}`]:"0px",[`thickness-${wo}`]:"$space-2",[`backgroundColor-${wo}`]:"$color-surface-200",[`color-indicator-${wo}`]:"$color-primary-500"}},Gp={themeVars:`'{"boxShadow-Splitter": "var(--xmlui-boxShadow-Splitter)", "backgroundColor-Splitter": "var(--xmlui-backgroundColor-Splitter)", "borderRadius-Splitter": "var(--xmlui-borderRadius-Splitter)", "borderColor-Splitter": "var(--xmlui-borderColor-Splitter)", "borderWidth-Splitter": "var(--xmlui-borderWidth-Splitter)", "borderStyle-Splitter": "var(--xmlui-borderStyle-Splitter)", "border-Splitter": "var(--xmlui-border-Splitter)", "backgroundColor-resizer-Splitter": "var(--xmlui-backgroundColor-resizer-Splitter)", "thickness-resizer-Splitter": "var(--xmlui-thickness-resizer-Splitter)", "cursor-resizer-horizontal-Splitter": "var(--xmlui-cursor-resizer-horizontal-Splitter)", "cursor-resizer-vertical-Splitter": "var(--xmlui-cursor-resizer-vertical-Splitter)"}'`},Or="Splitter",xa={description:`The \`${Or}\` component divides a container (such as a window, panel, pane, etc.) into two resizable sections.`,props:{swapped:{description:`This optional booelan property indicates whether the \`${Or}\` sections are layed out as primary and secondary (\`false\`) or secondary and primary (\`true\`) from left to right.`,valueType:"boolean",defaultValue:!1},splitterTemplate:$e("The divider can be customized using XMLUI components via this property."),initialPrimarySize:{description:"This optional number property sets the initial size of the primary section. The unit of the size value is in pixels or percentages.",valueType:"string",defaultValue:"50%"},minPrimarySize:{description:"This property sets the minimum size the primary section can have. The unit of the size value is in pixels or percentages.",valueType:"string",defaultValue:"0%"},maxPrimarySize:{description:"This property sets the maximum size the primary section can have. The unit of the size value is in pixels or percentages.",valueType:"string",defaultValue:"100%"},floating:{description:"Toggles whether the resizer is visible (`false`) or not (`true`) when not hovered or dragged. The default value is `false`, meaning the resizer is visible all the time.",valueType:"boolean",defaultValue:!1},orientation:{description:"Sets whether the `Splitter` divides the container horizontally and lays out the section on top of each other (`vertical`), or vertically by placing the sections next to each other (`horizontal`).",valueType:"string",availableValues:["horizontal","vertical"],defaultValue:"vertical"}},events:{resize:m("This event fires when the component is resized.")},themeVars:Y(Gp.themeVars),defaultThemeVars:{[`backgroundColor-resizer-${Or}`]:"$color-surface-100",[`thickness-resizer-${Or}`]:"5px",[`cursor-resizer-horizontal-${Or}`]:"ew-resize",[`cursor-resizer-vertical-${Or}`]:"ns-resize"}},jp={...xa,props:{...xa.props}},Xp={...xa,specializedFrom:Or},Yp={...xa,specializedFrom:Or},Zp={description:"The `Queue` component provides an API to enqueue elements and defines events to process queued elements in a FIFO order.",props:{progressFeedback:m("This property defines the component template of the UI that displays progress information whenever, the queue's `progressReport` function in invoked."),resultFeedback:m("This property defines the component template of the UI that displays result information when the queue becomes empty after processing all queued items."),clearAfterFinish:m("This property indicates the completed items (successful or error) should be removed from the queue after completion.")},nonVisual:!0,events:{willProcess:m("This event is triggered to process a particular item."),process:m("This event is fired to process the next item in the queue. If the processing cannot proceed because of some error, raise an exception, and the queue will handle that."),didProcess:m("This event is fired when the processing of a queued item has been successfully processed."),processError:m("This event is fired when processing an item raises an error. The event handler method receives two parameters. The first is the error raised during the processing of the item; the second is an object with these properties:"),complete:m("The queue fires this event when the queue gets empty after processing all items. The event handler has no arguments.")},apis:{enqueueItem:m("This method enqueues the item passed in the method parameter. The new item will be processed after the current queue items have been handled. The method retrieves the unique ID of the newly added item; this ID can be used later in other methods, such as `remove`."),enqueueItems:m("This method enqueues the array of items passed in the method parameter. The new items will be processed after the current queue items have been handled. The method retrieves an array of unique IDs, one for each new item. An item ID can be used later in other methods, such as `remove`."),getQueuedItems:m("You can use this method to return the items in the queue. These items contain all entries not removed from the queue yet, including pending, in-progress, and completed items."),getQueueLength:m("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet."),remove:m("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet.")},contextVars:{$completedItems:m("A list containing the queue items that have been completed (fully processed)."),$queuedItems:m("A list containing the items waiting in the queue, icluding the completed items.")}},Qp={themeVars:'"[]"'},Jp={status:"deprecated",description:"(**OBSOLETE**) This component was created for the ChatEngine app.",props:{visibleOnHover:m("No description")},themeVars:Y(Qp.themeVars)},Kp={status:"experimental",description:"`RealTimeAdapter` is a non-visual component that listens to real-time events through long-polling.",props:{url:m("This property specifies the URL to use for long-polling.")},events:{eventArrived:m("This event is raised when data arrives from the backend using long-polling.")}},Xt="NumberBox",eh={status:"experimental",description:`A \`${Xt}\` component allows users to input numeric values: either integer or floating point numbers. It also accepts empty values, where the stored value will be of type \`null\`.`,props:{placeholder:Er(),initialValue:Tt(),label:qe(),labelPosition:gt("top"),labelWidth:Lt(Xt),labelBreak:_t(Xt),maxLength:ta(),autoFocus:it(),required:Wt(),readOnly:Vt(),enabled:Ze(),validationStatus:At(),startText:_a(),startIcon:Va(),endText:Aa(),endIcon:Wa(),gap:{description:"This property defines the gap between the adornments and the input area."},hasSpinBox:{description:"This boolean prop shows (`true`) or hides (`false`) the spinner buttons for the input field.",valueType:"boolean",defaultValue:!0},spinnerUpIcon:m(`Allows setting the icon displayed in the ${Xt} spinner for incrementing values. You can change the default icon for all ${Xt} instances with the "icon.spinnerUp:NumberBox" declaration in the app configuration file.`),spinnerDownIcon:m(`Allows setting the icon displayed in the ${Xt} spinner for decrementing values. You can change the default icon for all ${Xt} instances with the "icon.spinnerDown:NumberBox" declaration in the app configuration file.`),step:{description:"This prop governs how big the step when clicking on the spinner of the field.",valueType:"number",defaultValue:1},integersOnly:{description:"This boolean property signs whether the input field accepts integers only (`true`) or not (`false`).",valueType:"boolean",defaultValue:!1},zeroOrPositive:{description:"This boolean property determines whether the input value can only be 0 or positive numbers (`true`) or also negative (`false`).",valueType:"boolean",defaultValue:!1},minValue:m("The minimum value the input field allows. Can be a float or an integer if [`integersOnly`](#integersonly) is set to `false`, otherwise it can only be an integer."),maxValue:m("The maximum value the input field allows. Can be a float or an integer if [`integersOnly`](#integersonly) is set to `false`, otherwise it can only be an integer.")},events:{gotFocus:xt(Xt),lostFocus:ft(Xt),didChange:at(Xt)},apis:{focus:Jt(Xt),value:ra(),setValue:Qt()},themeVars:Y(Oe.themeVars)},Lr="NavPanel",th={description:`\`${Lr}\` is a placeholder within \`App\` to define the app's navigation (menu) structure.`,props:{logoTemplate:$e("This property defines the logo template to display in the navigation panel with the `vertical` and `vertical-sticky` layout.")},themeVars:Y(Ut.themeVars),defaultThemeVars:{[`backgroundColor-${Lr}`]:"$backgroundColor",[`border-${Lr}`]:"0px solid $borderColor",[`paddingHorizontal-${Lr}`]:"0",[`paddingVertical-logo-${Lr}`]:"$space-4",[`paddingHorizontal-logo-${Lr}`]:"$space-4",[`marginBottom-logo-${Lr}`]:"$space-4",[`boxShadow-${Lr}-vertical`]:"4px 0 4px 0 rgb(0 0 0 / 10%)"}},Pn="Page",rh={status:"stable",docFolder:Pn,description:`The \`${Pn}\` component defines what content is displayed when the user navigates to a particular URL that is associated with the page.`,props:{url:m("The URL of the route associated with the content."),navLabel:m("The label of the page that is displayed in the navigation panel. If provided, the a new entry will be added to the navigation panel.")}},oh={description:"The `Pages` component is used as a container for [`Page`](/components/Page) components within an [`App`](/components/App).",props:{defaultRoute:m("The default route when displaying the app")}},Mn={themeVars:`'{"backgroundColor-dropdown-NavGroup": "var(--xmlui-backgroundColor-dropdown-NavGroup)", "boxShadow-dropdown-NavGroup": "var(--xmlui-boxShadow-dropdown-NavGroup)", "borderRadius-dropdown-NavGroup": "var(--xmlui-borderRadius-dropdown-NavGroup)"}'`,dropdownList:"_dropdownList_qxju2_13"};function Dn(e,r){const t={...r};for(const o in r){const a=e[o],l=r[o];/^on[A-Z]/.test(o)?a&&l?t[o]=(...n)=>{l(...n),a(...n)}:a&&(t[o]=a):o==="style"?t[o]=l?{...l,...a}:a:o==="className"&&(t[o]=l?[l,a].filter(Boolean).join(" "):a)}return{...e,...t}}const Pt={iconHorizontalExpanded:"chevronright",iconHorizontalCollapsed:"chevronright",iconVerticalExpanded:"chevrondown",iconVerticalCollapsed:"chevronright"},fa=s.createContext({level:-1,iconHorizontalCollapsed:Pt.iconHorizontalCollapsed,iconHorizontalExpanded:Pt.iconHorizontalExpanded,iconVerticalCollapsed:Pt.iconVerticalCollapsed,iconVerticalExpanded:Pt.iconVerticalExpanded});s.forwardRef(function({node:r,style:t,label:o,icon:a,renderChild:l,to:i,disabled:n=!1,initiallyExpanded:c,iconHorizontalCollapsed:b,iconHorizontalExpanded:h,iconVerticalCollapsed:p,iconVerticalExpanded:C},x){const{level:g}=s.useContext(fa),T=ia(),y=s.useContext(qa);let $=(T==null?void 0:T.layout)==="vertical"||(T==null?void 0:T.layout)==="vertical-sticky"||(T==null?void 0:T.layout)==="vertical-full-header";y!==null&&($=y.inDrawer);const w=s.useMemo(()=>({level:g+1,iconHorizontalCollapsed:b??Pt.iconHorizontalCollapsed,iconHorizontalExpanded:h??Pt.iconHorizontalExpanded,iconVerticalCollapsed:p??Pt.iconVerticalCollapsed,iconVerticalExpanded:C??Pt.iconVerticalExpanded}),[b,h,p,C,g]);return d.jsx(fa.Provider,{value:w,children:$?d.jsx(ah,{to:i,style:t,label:o,icon:a,node:r,renderChild:l,ref:x,initiallyExpanded:c,disabled:n}):d.jsx(ih,{label:o,icon:a,node:r,renderChild:l,ref:x,to:i,disabled:n})})});const ah=s.forwardRef(function({style:r=xr,label:t,icon:o,renderChild:a,node:l,to:i,initiallyExpanded:n=!1,disabled:c=!1},b){const{level:h,iconVerticalCollapsed:p,iconVerticalExpanded:C}=s.useContext(fa),[x,g]=s.useState(n),T={...r,paddingLeft:h>=1?h*2+"em":void 0};return d.jsxs(d.Fragment,{children:[d.jsxs(vl,{style:T,onClick:()=>g(y=>!y),icon:o,to:i,disabled:c,children:[t,d.jsx("div",{style:{flex:1}}),d.jsx(me,{name:x?C:p})]}),x&&a(l.children,{wrapChild:({node:y},$)=>{if(y.type==="NavLink"){const w=$;return s.cloneElement(w,{...Dn($.props,{style:{paddingLeft:(h+1)*2+"em"}})})}return $}})]})}),ih=s.forwardRef(function({style:r,label:t,icon:o,renderChild:a,node:l,to:i,disabled:n=!1},c){const{level:b,iconHorizontalCollapsed:h,iconHorizontalExpanded:p,iconVerticalExpanded:C}=s.useContext(fa),{root:x}=Nt();let g=nr.DropdownMenu,T=nr.DropdownMenuTrigger,y=nr.DropdownMenuContent;b>=1&&(g=nr.DropdownMenuSub,T=nr.DropdownMenuSubTrigger,y=nr.DropdownMenuSubContent);const[$,w]=s.useState(!1);return d.jsxs(g,{onOpenChange:O=>w(O),children:[d.jsx(T,{asChild:!0,disabled:n,children:d.jsxs(vl,{icon:o,style:{flexShrink:0},vertical:b>=1,to:i,disabled:n,children:[t,d.jsx("div",{style:{flex:1}}),b===0&&d.jsx(me,{name:C}),b>=1&&d.jsx(me,{name:$?p:h})]})}),d.jsx(nr.DropdownMenuPortal,{container:x,children:d.jsx(y,{className:Mn.dropdownList,style:{display:"flex",flexDirection:"column"},side:"bottom",align:"start",children:a(l.children,{wrapChild:({node:O},V,P)=>{if(P!=null&&P.opaque||O.type==="List"||O.type==="NavGroup")return V;let Z=V;return O.type==="NavLink"&&(Z=s.cloneElement(V,{...Dn(V.props,{vertical:!0})})),d.jsx(nr.DropdownMenuItem,{asChild:!0,children:Z})}})})})]})}),Jo="NavGroup",lh={description:`The \`${Jo}\` component is a container for grouping related navigation targets (\`NavLink\` components). It can be displayed as a submenu in the App's UI.`,props:{label:qe(),initiallyExpanded:m("This property defines whether the group is initially expanded or collapsed."),enabled:Ze(),to:{description:"This property defines an optional navigation link.",valueType:"string"},icon:{description:`This property defines an optional icon to display along with the \`${Jo}\` label.`,valueType:"string"},iconHorizontalExpanded:{description:"Set a custom icon to display when the navigation menu is expanded, is in a **horizontal** app layout, and is in a navigation submenu.",valueType:"string",defaultValue:Pt.iconHorizontalExpanded},iconVerticalExpanded:{description:"Set a custom icon to display when the navigation menu is expanded, is in a **vertical** app layout, or is in a **horizontal** layout and is the top-level navigation item in the menu.",valueType:"string",defaultValue:Pt.iconVerticalExpanded},iconHorizontalCollapsed:{description:"Set a custom icon to display when the navigation menu is collapsed, is in a **horizontal** app layout, and is in a navigation submenu.",valueType:"string",defaultValue:Pt.iconHorizontalCollapsed},iconVerticalCollapsed:{description:"Set a custom icon to display when the navigation menu is collapsed, is in a **vertical** app layout, or is in a **horizontal** layout and is the top-level navigation item in the menu.",valueType:"string",defaultValue:Pt.iconVerticalCollapsed}},themeVars:Y(Mn.themeVars),defaultThemeVars:{[`backgroundColor-dropdown-${Jo}`]:"$backgroundColor-primary",[`borderRadius-dropdown-${Jo}`]:"$borderRadius",[`boxShadow-dropdown-${Jo}`]:"$boxShadow-spread"}},Io="RadioGroup",Me="RadioGroupOption",nh={description:`The \`${Io}\` input component is a group of radio buttons ([\`RadioGroupOption\`](./RadioGroupOption.mdx) components) that allow users to select only one option from the group at a time.`,props:{initialValue:Tt(),autoFocus:it(),required:Wt(),readOnly:Vt(),enabled:Ze(),validationStatus:At(),orientation:m("(*** NOT IMPLEMENTED YET ***) This property sets the orientation of the options within the radio group."),label:qe(),labelPosition:gt("top"),labelWidth:Lt(Io),labelBreak:_t(Io)},events:{gotFocus:xt(Io),lostFocus:ft(Io),didChange:at(Io)},themeVars:Y(st.themeVars),defaultThemeVars:{[`gap-${Me}`]:"$space-1_5",[`borderWidth-${Me}`]:"1px",[`backgroundColor-checked-${Me}-indicator`]:"$backgroundColor-primary",[`backgroundColor-checked-${Me}--disabled]`]:`$borderColor-${Me}--disabled`,[`backgroundColor-checked-${Me}-error`]:`$borderColor-${Me}-error`,[`backgroundColor-checked-${Me}-warning`]:`$borderColor-${Me}-warning`,[`backgroundColor-checked-${Me}-success`]:`$borderColor-${Me}-success`,[`fontSize-${Me}`]:"$fontSize-small",[`fontWeight-${Me}`]:"$fontWeight-bold",[`textColor-${Me}-error`]:`$borderColor-${Me}-error`,[`textColor-${Me}-warning`]:`$borderColor-${Me}-warning`,[`textColor-${Me}-success`]:`$borderColor-${Me}-success`,[`backgroundColor-checked-${Me}-default`]:"$color-primary-500",[`borderColor-${Me}-default`]:"$color-surface-500",[`borderColor-${Me}-default--hover`]:"$color-surface-700",[`borderColor-${Me}-default--active`]:"$color-primary-500"}},ga="Spinner",sh={description:`The \`${ga}\` component is an animated indicator that represents a particular action in progress without a deterministic progress value.`,props:{delay:{description:"The delay in milliseconds before the spinner is displayed.",valueType:"number",defaultValue:400},fullScreen:{description:"If set to `true`, the component will be rendered in a full screen container.",valueType:"boolean",defaultValue:!1}},themeVars:Y(Pa.themeVars),defaultThemeVars:{[`size-${ga}`]:"$space-10",[`thickness-${ga}`]:"$space-0_5",[`borderColor-${ga}`]:"$color-surface-400"}},Ve="Select",dh={description:"Provides a dropdown with a list of options to choose from.",status:"experimental",props:{placeholder:Er(),initialValue:Tt(),autoFocus:it(),required:Wt(),readOnly:Vt(),enabled:Ze(),validationStatus:At(),label:qe(),labelPosition:gt("top"),labelWidth:Lt(Ve),labelBreak:_t(Ve),optionLabelTemplate:$e("This property allows replacing the default template to display an option in the dropdown list."),optionTemplate:$e("This property allows replacing the default template to display an option in the dropdown list."),valueTemplate:$e("This property allows replacing the default template to display a selected value when multiple selections (`multiSelect` is `true`) are enabled."),dropdownHeight:m("This property sets the height of the dropdown list."),emptyListTemplate:m("This optional property provides the ability to customize what is displayed when the list of options is empty."),multiSelect:Gi(),searchable:m("This property enables the search functionality in the dropdown list."),inProgress:m("This property indicates whether the component is in progress. It can be used to show a loading message."),inProgressNotificationMessage:m("This property indicates the message to display when the component is in progress.")},events:{gotFocus:xt(Ve),lostFocus:ft(Ve),didChange:at(Ve)},apis:{focus:Jt(Ve),setValue:Qt(),value:ra(),reset:m("This method resets the component to its initial value, or clears the selection if no initial value was provided.")},contextVars:{$item:m("This property represents the value of an item in the dropdown list."),$itemContext:m("This property provides a `removeItem` method to delete the particular value from the selection.")},themeVars:Y(xe.themeVars),defaultThemeVars:{[`backgroundColor-menu-${Ve}`]:"$color-surface-raised",[`boxShadow-menu-${Ve}`]:"$boxShadow-md",[`borderRadius-menu-${Ve}`]:"$borderRadius",[`borderWidth-menu-${Ve}`]:"1px",[`borderColor-menu-${Ve}`]:"$borderColor",[`backgroundColor-item-${Ve}`]:"$backgroundColor-dropdown-item",[`backgroundColor-item-${Ve}--hover`]:"$backgroundColor-dropdown-item--active",[`backgroundColor-item-${Ve}--active`]:"$backgroundColor-dropdown-item--active","minHeight-Input":"39px",[`backgroundColor-${Ve}-badge`]:"$color-primary-500",[`fontSize-${Ve}-badge`]:"$fontSize-small",[`paddingHorizontal-${Ve}-badge`]:"$space-1",[`paddingVertical-${Ve}-badge`]:"$space-1",[`paddingHorizontal-item-${Ve}`]:"$space-2",[`paddingVertical-item-${Ve}`]:"$space-2",[`opacity-text-item-${Ve}--disabled`]:"0.5",[`opacity-${Ve}--disabled`]:"0.5",[`backgroundColor-${Ve}-badge--hover`]:"$color-primary-400",[`backgroundColor-${Ve}-badge--active`]:"$color-primary-500",[`textColor-item-${Ve}--disabled`]:"$color-surface-200",[`textColor-${Ve}-badge`]:"$color-surface-50"}};var _=(e=>(e[e.EOF=-1]="EOF",e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e.replacementCharacter=65533]="replacementCharacter",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab",e))(_||{}),Bo=(e=>(e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Information=3]="Information",e[e.Hint=4]="Hint",e))(Bo||{}),_r=(e=>(e.onlyOneElem="U002",e.expTagOpen="U003",e.expTagName="U004",e.expCloseStart="U005",e.expEndOrClose="U006",e.tagNameMismatch="U007",e.expEnd="U008",e.expAttrIdent="U009",e.expEq="U010",e.expAttrValue="U011",e.duplAttr="U012",e.uppercaseAttr="U013",e.tagNameExpAfterNamespace="U014",e.invalidChar="W001",e.untermStr="W002",e.untermComment="W007",e.untermCData="W008",e.untermScript="W009",e))(_r||{});const gi={code:"W001",category:1,message:"Invalid character."},uh={code:"W002",category:1,message:"Unterminated string literal."},ch={code:"W007",category:1,message:"Unterminated comment"},mh={code:"W008",category:1,message:"Unterminated CDATA section"},ph={code:"W009",category:1,message:"Unterminated script section"},hh={category:1,code:"U008",message:"A '>' token expected."},bh={category:1,code:"U005",message:"A '</' token expected."},Ti={category:1,code:"U004",message:"A tag name expected."},vh={category:1,code:"U011",message:"An attribute value expected."},xh={category:1,code:"U003",message:"A '<' token expected."},Ci={category:1,code:"U006",message:"A '>' or '/>' token expected."},Rn={category:1,code:"U009",message:"An attribute identifier expected."};var k=(e=>(e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.CommentTrivia=2]="CommentTrivia",e[e.NewLineTrivia=3]="NewLineTrivia",e[e.WhitespaceTrivia=4]="WhitespaceTrivia",e[e.Identifier=5]="Identifier",e[e.OpenNodeStart=6]="OpenNodeStart",e[e.CloseNodeStart=7]="CloseNodeStart",e[e.NodeEnd=8]="NodeEnd",e[e.NodeClose=9]="NodeClose",e[e.Colon=10]="Colon",e[e.Equal=11]="Equal",e[e.StringLiteral=12]="StringLiteral",e[e.CData=13]="CData",e[e.Script=14]="Script",e[e.TextNode=15]="TextNode",e[e.AmpersandEntity=16]="AmpersandEntity",e[e.LessThanEntity=17]="LessThanEntity",e[e.GreaterThanEntity=18]="GreaterThanEntity",e[e.SingleQuoteEntity=19]="SingleQuoteEntity",e[e.DoubleQuoteEntity=20]="DoubleQuoteEntity",e[e.ElementNode=21]="ElementNode",e[e.AttributeNode=22]="AttributeNode",e[e.AttributeKeyNode=23]="AttributeKeyNode",e[e.ContentListNode=24]="ContentListNode",e[e.AttributeListNode=25]="AttributeListNode",e[e.TagNameNode=26]="TagNameNode",e[e.ErrorNode=27]="ErrorNode",e))(k||{});function fh(e){return e>=2&&e<=4}function Fn(e){switch(e){case 0:return"Unknown";case 1:return"EndOfFileToken";case 2:return"CommentTrivia";case 3:return"NewLineTrivia";case 4:return"WhitespaceTrivia";case 5:return"Identifier";case 6:return"OpenNodeStart";case 7:return"CloseNodeStart";case 8:return"NodeEnd";case 9:return"NodeClose";case 10:return"Colon";case 11:return"Equal";case 12:return"StringLiteral";case 13:return"CData";case 14:return"Script";case 16:return"AmpersandEntity";case 17:return"LessThanEntity";case 18:return"GreaterThanEntity";case 19:return"SingleQuoteEntity";case 20:return"DoubleQuoteEntity";case 21:return"ElementNode";case 22:return"AttributeNode";case 15:return"TextNode";case 24:return"ContentListNode";case 25:return"AttributeListNode";case 26:return"TagNameNode";case 27:return"ErrorNode";case 23:return"AttributeKeyNode"}return gh()}function gh(e){throw new Error("Didn't expect to get here")}function Th(e,r,t,o,a){let l=r,i,n,c,b,h,p;return P(l,o,a),{getStartPos:()=>c,getTokenEnd:()=>i,getToken:()=>h,getTokenStart:()=>b,getTokenText:()=>l.substring(b,i),getTokenValue:()=>p,isIdentifier:()=>h===k.Identifier,peekChar:C,scanChar:x,scan:g,scanTrivia:T,scanText:y,getText:$,setText:P,setOnError:Z,resetTokenState:E,back:j};function C(H){if(i+(H??0)>=n)return null;const S=O(i+(H??0));return isNaN(S)?null:S}function x(){if(i>=n)return null;const H=O(i);return i+=pr(H),H}function g(){for(c=i;;){if(b=i,i>=n)return h=k.EndOfFileToken;const H=O(i);switch(H){case _.lineFeed:case _.carriageReturn:return H===_.carriageReturn&&i+1<n&&w(i+1)===_.lineFeed?i+=2:i++,h=k.NewLineTrivia;case _.tab:case _.verticalTab:case _.formFeed:case _.space:case _.nonBreakingSpace:case _.ogham:case _.enQuad:case _.emQuad:case _.enSpace:case _.emSpace:case _.threePerEmSpace:case _.fourPerEmSpace:case _.sixPerEmSpace:case _.figureSpace:case _.punctuationSpace:case _.thinSpace:case _.hairSpace:case _.zeroWidthSpace:case _.narrowNoBreakSpace:case _.mathematicalSpace:case _.ideographicSpace:case _.byteOrderMark:{for(;i<n&&qn(w(i));)i++;return h=k.WhitespaceTrivia}case _.doubleQuote:case _.singleQuote:case _.backtick:return p=f(),h=k.StringLiteral;case _.ampersand:return w(i+1)===_.a&&w(i+2)===_.m&&w(i+3)===_.p&&w(i+4)===_.semicolon?(i+=5,h=k.AmpersandEntity):w(i+1)===_.l&&w(i+2)===_.t&&w(i+3)===_.semicolon?(i+=4,h=k.LessThanEntity):w(i+1)===_.g&&w(i+2)===_.t&&w(i+3)===_.semicolon?(i+=4,h=k.GreaterThanEntity):w(i+1)===_.q&&w(i+2)===_.u&&w(i+3)===_.o&&w(i+4)===_.t&&w(i+5)===_.semicolon?(i+=6,h=k.DoubleQuoteEntity):w(i+1)===_.a&&w(i+2)===_.p&&w(i+3)===_.o&&w(i+4)===_.s&&w(i+5)===_.semicolon?(i+=6,h=k.SingleQuoteEntity):(i++,v(gi,1),h=k.Unknown);case _.equals:return i++,h=k.Equal;case _.colon:return i++,h=k.Colon;case _.lessThan:if(w(i+1)===_.slash)return i+=2,h=k.CloseNodeStart;if(w(i+1)===_.exclamation&&w(i+2)===_.minus&&w(i+3)===_.minus){for(i+=4;i<n;){if(w(i)===_.minus&&w(i+1)===_.minus&&w(i+2)===_.greaterThan)return i+=3,h=k.CommentTrivia;i+=pr(w(i))}return v(ch,4),h=k.Unknown}else if(w(i+1)===_.exclamation&&w(i+2)===_.openBracket&&w(i+3)===_.C&&w(i+4)===_.D&&w(i+5)===_.A&&w(i+6)===_.T&&w(i+7)===_.A&&w(i+8)===_.openBracket){for(i+=9;i<n;){if(w(i)===_.closeBracket&&w(i+1)===_.closeBracket&&w(i+2)===_.greaterThan)return i+=3,h=k.CData;i+=pr(w(i))}return v(mh,9),h=k.CData}else if(w(i+1)===_.s&&w(i+2)===_.c&&w(i+3)===_.r&&w(i+4)===_.i&&w(i+5)===_.p&&w(i+6)===_.t&&w(i+7)===_.greaterThan){for(i+=8;i<n;){if(w(i)===_.lessThan&&w(i+1)===_.slash&&w(i+2)===_.s&&w(i+3)===_.c&&w(i+4)===_.r&&w(i+5)===_.i&&w(i+6)===_.p&&w(i+7)===_.t&&w(i+8)===_.greaterThan)return i+=9,h=k.Script;i+=pr(w(i))}return v(ph,9),h=k.Script}return i++,h=k.OpenNodeStart;case _.slash:return w(i+1)===_.greaterThan?(i+=2,h=k.NodeClose):(i++,v(gi,1),h=k.Unknown);case _.greaterThan:return i++,h=k.NodeEnd;default:const S=U(H);if(S)return h=S;if(qn(H)){i+=pr(H);continue}else if(kh(H)){i+=pr(H);continue}const L=pr(H);return i+=L,v(gi,L),h=k.Unknown}}}function T(){const H=i,S=g();return fh(S)?S:(E(H),null)}function y(){return k.Unknown}function $(){return l}function w(H){return l.charCodeAt(H)}function O(H){return V(l,H)}function V(H,S){return H.codePointAt(S)??0}function P(H,S,L){l=H||"",n=L===void 0?l.length:S+L,E(S||0)}function Z(H){t=H}function E(H){i=H,c=H,b=H,h=k.Unknown,p=void 0}function j(){E(c)}function U(H){let S=H;if(Hh(S)){for(i+=pr(S);i<n&&Sh(S=O(i));)i+=pr(S);return p=l.substring(b,i),M()}}function M(){return h=k.Identifier}function f(){const H=w(i);i++;let S="",L=i;for(;;){if(i>=n){S+=l.substring(L,i),v(uh,1);break}if(w(i)===H){S+=l.substring(L,i),i++;break}i++}return S}function v(H,S=0){t&&t(H,S)}}function pr(e){return e>=65536?2:e===_.EOF?0:1}function Un(e){return e>=_.A&&e<=_.Z||e>=_.a&&e<=_.z}function Ch(e){return Un(e)||yh(e)||e===_._}function yh(e){return e>=_._0&&e<=_._9}function Hh(e){return Un(e)||e===_.$||e===_._}function Sh(e){return Ch(e)||e===_.$||e===_.minus||e===_.dot}function qn(e){return e===_.space||e===_.tab||e===_.verticalTab||e===_.formFeed||e===_.nonBreakingSpace||e===_.nextLine||e===_.ogham||e>=_.enQuad&&e<=_.zeroWidthSpace||e===_.narrowNoBreakSpace||e===_.mathematicalSpace||e===_.ideographicSpace||e===_.byteOrderMark}function kh(e){return e===_.lineFeed||e===_.carriageReturn||e===_.lineSeparator||e===_.paragraphSeparator}function wh(e,r,t){var l,i;const o=((l=e.children)==null?void 0:l.filter(n=>n.kind!==k.ErrorNode))??[],a=((i=r.children)==null?void 0:i.filter(n=>n.kind!==k.ErrorNode))??[];if(o.length!==a.length)return!1;for(let n=0;n<o.length;++n)if(t(o[n])!==t(a[n]))return!1;return!0}const Ta={uppercaseAttr:function(e){return{category:Bo.Error,code:_r.uppercaseAttr,message:`Attribute name '${e}' cannot start with an uppercase letter.`}},duplAttr:function(e){return{category:Bo.Error,code:_r.duplAttr,message:`Duplicated attribute: '${e}'.`}},tagNameMismatch:function(e,r){return{category:Bo.Error,code:_r.tagNameMismatch,message:`Opening and closing tag names should match. Opening tag has a name '${e}', but the closing tag name is '${r}'.`}},invalidChar:function(e){return{category:Bo.Error,code:_r.invalidChar,message:`Invalid character '${e}'.`}}};function Ih(e){return{parse:()=>Bh(e),getText:(r,t=!0)=>e.substring(t?r.pos??r.start??0:r.start??r.pos??0,r.end)}}function Bh(e){const r=[],t=[];let o,a={children:[]},l;const n=Th(!1,e,function(I,B){l={message:I,prefixLength:B}});function c(I,B=!0){return e.substring(B?I.pos:I.start,I.end)}function b(){F();e:for(;;){const I=H();switch(I.kind){case k.TextNode:case k.StringLiteral:S(I.kind);break;case k.CloseNodeStart:break e;case k.EndOfFileToken:break e;default:p();break}}a.children&&a.children.length>0?N(k.ContentListNode):X()}function h(){for(;;)switch(H().kind){case k.EndOfFileToken:L();return;default:p();break}}function p(){!V(k.CData)&&!V(k.Script)&&(O(k.OpenNodeStart)?C():j(xh))}function C(){F(),S(k.OpenNodeStart);let I=!1,B;if(O(k.Identifier))B=g();else{I=!0;const W=Z([k.OpenNodeStart,k.NodeEnd,k.NodeClose,k.CloseNodeStart,k.CData,k.Script]);W?M(Ti,W.pos,W.end):U(Ti)}switch(I||T(),v().kind){case k.NodeClose:{L(),N(k.ElementNode);return}case k.NodeEnd:{L(),b(),x(B),N(k.ElementNode);return}case k.OpenNodeStart:case k.Script:case k.CData:{N(k.ElementNode),U(Ci);return}case k.CloseNodeStart:{U(Ci),x(B),N(k.ElementNode);return}default:U(Ci)}}function x(I){if(V(k.CloseNodeStart)){if(O(k.Identifier)){const B=g();I!==void 0&&!wh(I,B,c)&&U(Ta.tagNameMismatch(c(I),c(B)))}else E(Ti,[k.NodeEnd]);V(k.NodeEnd)||U(hh)}else U(bh)}function g(){return F(),S(k.Identifier),V(k.Colon)&&V(k.Identifier),N(k.TagNameNode)}function T(){F();const I=[];for(;!P([k.EndOfFileToken,k.NodeEnd,k.NodeClose]);)y(I);a.children.length===0?X():N(k.AttributeListNode)}function y(I){if(F(),O(k.Identifier))$(I);else{const B=[k.Equal];if(!E(Rn,B))return}if(V(k.Equal)&&!V(k.StringLiteral)){const B=[k.NodeEnd,k.NodeClose];E(vh,B)}N(k.AttributeNode)}function $(I){const B=v();let W;F(),S(k.Identifier),V(k.Colon)&&(O(k.Identifier)?W=S(k.Identifier):E(Rn,[k.NodeClose,k.NodeEnd,k.Equal])),w(I,{nsIdent:W,nameIdent:B}),N(k.AttributeKeyNode)}function w(I,{nameIdent:B,nsIdent:W}){const A=c(B),z=W===void 0?void 0:c(W),R=({ns:oe,name:se})=>se===A&&oe===z,ie=I.findIndex(R)!==-1,ce="A"<=A[0]&&A[0]<="Z",Te=ie||ce;ie&&M(Ta.duplAttr(A),B.pos,B.end),ce&&M(Ta.uppercaseAttr(A),B.pos,B.end),Te||I.push({name:A})}function O(I){return v().kind===I}function V(I){const B=O(I);return B&&L(),B}function P(I){return I.includes(v().kind)}function Z(I){return F(),f(I),a.children.length===0?(X(),null):N(k.ErrorNode)}function E(I,B){return P(B)||O(k.EndOfFileToken)?(U(I),!0):(F(),U(I),L(),N(k.ErrorNode),!1)}function j(I){E(I,[])}function U({code:I,message:B,category:W}){const{pos:A,end:z}=v();r.push({category:W,code:I,message:B,pos:A,end:z})}function M({code:I,message:B,category:W},A,z){r.push({category:W,code:I,message:B,pos:A,end:z})}function f(I){for(let B=v();B.kind!==k.EndOfFileToken&&!I.includes(B.kind);L(),B=v());}function v(I=!1){return o!==void 0||(o=D(I)),o}function H(){const I=v(!0);if(I.kind===k.EndOfFileToken||I.kind===k.OpenNodeStart||I.kind===k.Script||I.kind===k.CData||I.kind===k.CloseNodeStart)return I;const B=I.triviaBefore,W=(B==null?void 0:B.length)??0;let A=0,z=[],R=-1;for(;A<W;++A)if(B[A].kind===k.CommentTrivia)z.push(B[A]);else{R=A;break}let ie=-1;for(;A<W;++A)if(B[A].kind===k.CommentTrivia){ie=A;break}let ce=!1;if(I.kind===k.StringLiteral){const Ne=I.end,ee=D(!0);ce=ee.kind===k.CData||ee.kind===k.CloseNodeStart||ee.kind===k.Script||ee.kind===k.OpenNodeStart,n.resetTokenState(Ne)}let Te;ce?Te=I.pos:z.length>0?Te=z[z.length-1].end:R!==-1?Te=B[R].pos:Te=I.start;let oe=Te,se;z.length>0&&(se=z,oe=z[0].pos);let _e=k.TextNode,Ae=-1;if(ie!==-1)Ae=B[ie].pos,n.resetTokenState(Ae);else if(ce)_e=k.StringLiteral,Ae=I.end;else{for(;;){const Ne=n.peekChar();if(Ne===null||Ne===_.lessThan)break;n.scanChar()}Ae=n.getTokenEnd()}return o={kind:_e,start:oe,pos:Te,end:Ae,triviaBefore:se},o}function S(I){const B=L();if(B.kind!==I)throw new Error(`expected ${Fn(I)}, bumped a ${Fn(B.kind)}`);return B}function L(){if(o){a.children.push(o);const B=o;return o=void 0,B}const I=D(!1);return a.children.push(I),I}function F(){t.push(a),a={children:[]}}function N(I){const B=Gn(I,a.children),W=t[t.length-1];return W.children.push(B),a=W,t.pop(),B}function D(I){let B,W=[],A=null;for(;;){if(B=n.scan(),A===null&&(A=n.getTokenStart()),l!==void 0){let z;l.message.code===_r.invalidChar?z=Ta.invalidChar(n.getTokenText()):z=l.message;const R=n.getTokenStart(),ie={kind:B,start:A,pos:R,end:n.getTokenEnd(),triviaBefore:W.length>0?W:void 0};if(W=[],I&&z.code===_r.invalidChar)return l=void 0,ie;const ce=R+l.prefixLength;return ie.end=ce,n.resetTokenState(ce),F(),a.children.push(ie),M(z,R,ce),N(k.ErrorNode),l=void 0,D(I)}switch(B){case k.CommentTrivia:case k.NewLineTrivia:case k.WhitespaceTrivia:W.push({kind:B,start:A,pos:n.getTokenStart(),end:n.getTokenEnd()});break;default:return{kind:B,start:A,pos:n.getTokenStart(),end:n.getTokenEnd(),triviaBefore:W.length>0?W:void 0}}}}function X(){const I=t[t.length-1];I.children.push(...a.children),a=I,t.pop()}return h(),{node:Gn(k.ContentListNode,a.children),errors:r}}function Gn(e,r){const t=r[0],o=r[r.length-1];return{kind:e,start:t.start,pos:t.pos,end:o.end,children:r}}function $h(e){return e.type!=="ScriptModule"}function Oh(e,r){const t=new Map,o={},a=l(e,r);return!a||Object.keys(o).length>0?o:a;function l(i,n){if(t.has(i))return t.get(i);const c=new ui(n);let b=[];try{b=c.parseStatements()}catch{return o[i]=c.errors,null}const h=c.current;if(h.type!==u.Eof)return o[i]??(o[i]=[]),o[i].push({code:"W002",text:pa.W002.replace(/\{(\d+)}/g,()=>h.text),position:h.startLine,line:h.startLine,column:h.startColumn}),null;const p=[],C={};b.filter(T=>T.type===ni).forEach(T=>{const y=T;if(C[y.id.name]){g("W020",T,y.id.name);return}C[y.id.name]=y});const x={type:"ScriptModule",name:i,functions:C,statements:b,sources:new Map};if(t.set(i,x),p.length>0)return o[i]=p,null;return x;function g(T,y,...$){var O,V,P;let w=pa[T];$&&$.forEach((Z,E)=>w=w.replaceAll(`{${E}}`,$[E].toString())),p.push({code:T,text:pa[T].replace(/\{(\d+)}/g,(Z,E)=>$[E]),position:(O=y.startToken)==null?void 0:O.startPosition,line:(V=y.startToken)==null?void 0:V.startLine,column:(P=y.startToken)==null?void 0:P.startColumn})}}}const yi="__PARSED__";function Lh(e,r){const t={vars:{},moduleErrors:{},functions:{}},o={},a=Oh(e,r);if($h(a))return{...t,moduleErrors:a};return a.statements.forEach(i=>{switch(i.type){case Yl:i.decls.forEach(n=>{if(n.id.name in t.vars)throw new Error(`Duplicated var declaration: '${n.id.name}'`);t.vars[n.id.name]={[yi]:!0,tree:n.expr}});break;case ni:l(i);break;default:throw new Error("Only reactive variable and function definitions are allowed in a code-behind module.")}}),t;function l(i){if((o==null?void 0:o[i.id.name])!==void 0)return;if(i.id.name in t.functions)throw new Error(`Duplicated function declaration: '${i.id.name}'`);const n={type:si,args:i.args.slice(),statement:i.stmt};o[i.id.name]={[yi]:!0,tree:n},t.functions[i.id.name]={[yi]:!0,tree:n}}}class Ca extends Error{constructor(r,t){super(`${t?`${t}: `:""}${r}`),this.code=t,Object.setPrototypeOf(this,Ca.prototype)}}const _h={U001:"Unexpected token: {0}.",U002:"A component definition can have exactly one XMLUI element.",U003:"A '<' token expected.",U004:"A node identifier expected.",U005:"A '</' token expected.",U006:"A '>' or '/>' token expected.",U007:"An '{0}' ID expected in the closing tag but '{1}' received.",U008:"A '>' token expected.",U009:"An attribute identifier expected.",U010:"An '=' token expected.",U011:"An attribute value expected.",U012:"Duplicated attribute: '{0}'.",U013:"Attribute name cannot start with an uppercase letter.",U014:"An '{0}' ID expected in the closing tag's namespace but '{1}' received.",U015:"Unexpected token in text element: {0}.",T001:"A component definition must have exactly one XMLUI element.",T002:"A component definition's name must start with an uppercase letter.",T003:"A reusable component must have a non-empty name.",T004:"A reusable component's name must start with an uppercase letter.",T005:"A reusable component must have at least one nested component definition.",T006:"A reusable component definition cannot nest another one.",T007:"Invalid attribute name: '{0}'",T008:"Event attribute names should not start with 'on' prefix: '{0}'",T009:"Invalid node name '{0}' in a component definition",T010:"The '{0}' element does not accept a text child",T011:"Only 'name', 'value', and type hint attributes are accepted in '{0}'.",T012:"The 'name' attribute in '{0}' is required.",T013:"A loader element must have an id.",T014:"A loader element must not have '{0}'.",T015:"The uses element must define only a non-empty 'value' attribute.",T016:"Only 'field' or 'item' are accepted as a child element.",T017:"Cannot mix 'field' and 'item' nodes within an element.",T018:"The '{0}' node cannot have a 'name' attribute.",T019:"The 'value' attribute in '{0}' is required.",T020:"Cannot mix nested components and non-component children.",T021:"Invalid reusable component attribute '{0}'.",T022:"The 'script' tag must not have any attribute.",T023:"A 'script' tag cannot nest other child nodes, only text.",T024:"Cannot put a reusable component definitions into a slot.",T025:"Duplicate xmlns found: '{0}'.",T026:"The top level component's name cannot have a namespace.",T027:"Cannot resolve namespace '{0}'. It was not defined in any of the ancestor components.",T028:"Incorrect namespace value '{0}'. {1}",T029:"Incorrect scheme specified before ':' (colon) in namespace {0}. Delete it to get the default '{1}'."},jn="Component",Hi=/^[A-Z]/,Xn=/^on[A-Z]/,Vh=["name","value"],Ah=9,Si="component-ns",Wh="app-ns",Nh="#app-ns",zh="core-ns",Eh="#xmlui-core-ns",Vr={property:"property",event:"event",variable:"variable",loaders:"loaders",uses:"uses",method:"method",item:"item",field:"field"};let Ph=0;function Mh(e,r,t){const o=f=>f.text??r(f),a=Fh(e),l=V(a),i=[],n=[];return c(i,l);function c(f,v){const H=Kn(v,o,n);if(H===jn)return h(v);let S={type:H,debug:{source:{start:v.start,end:v.end,fileId:t}}};return p(f,S,v),S}function b(f,v){const H=Kn(v,o,n);H===jn&&he("T006");let S={type:H,debug:{source:{start:v.start,end:v.end,fileId:t}}};return p(f,S,v),S}function h(f){const v=$o(f).map(w),H=v.find(R=>R.name==="name");H||he("T003"),Hi.test(H.value)||he("T004");let S;const L=v.filter(R=>R.startSegment==="method");L.length>0&&(S={},L.forEach(R=>{S[R.name]=R.value}));let F;const N=v.filter(R=>R.startSegment==="var");N.length>0&&(F={},N.forEach(R=>{F[R.name]=R.value}));const D=Oo(f),X=D.filter(R=>R.kind===k.ElementNode&&!(hr(R,o)in Vr));X.length===0&&X.push(Yn(""));const q=[],I=[];for(let R of D)if(R.kind===k.ElementNode){const ie=hr(R,o);ie===Vr.variable?I.push(R):ie in Vr&&q.push(R)}let B;X.length>1||I.length>0?B=Zn([...I,...X]):B=X[0],n.push(new Map),v.filter(R=>R.namespace==="xmlns").forEach(R=>{Jn(n,B,R.unsegmentedName,R.value)});let W=b(i,B);n.pop();const A={name:H.value,component:W,debug:{source:{start:f.start,end:f.end,fileId:t}}};S&&(A.api=S),F&&(W.vars={...W.vars,...F}),W.debug={source:{start:B.start,end:B.end,fileId:t}};const z=Qn(f,q);return p(i,A,z),A}function p(f,v,H){var X;const S=!Yt(v),L=$o(H);if(n.push(new Map),L.forEach(q=>{C(v,q)}),Oo(H).forEach(q=>{if(q.kind===k.Script){$o(q).length>0&&he("T022");const B=o(q),W=B.slice(B.indexOf(">")+1,B.lastIndexOf("</"));v.script??(v.script=""),v.script.length>0&&(v.script+=`
8
- `),v.script+=W;return}if(q.kind===k.TextNode&&!S){v.children=ya(v.children,o(q));return}const I=hr(q,o);if(!(S&&q.kind===k.ElementNode&&!(I in Vr))){if(!(I in Vr)&&!S){const B=b(f,q);B&&(v.children?typeof v.children=="string"?v.children=[v.children,B]:Array.isArray(v.children)&&v.children.push(B):v.children=[B]);return}switch(I){case"property":y(f,v,q,B=>{var W;return Yt(v)?(W=v.props)==null?void 0:W[B]:void 0},(B,W)=>{Yt(v)&&(v.props??(v.props={}),v.props[B]=W)});return;case"event":y(f,v,q,B=>{var W;return Yt(v)?(W=v.events)==null?void 0:W[B]:void 0},(B,W)=>{Yt(v)&&(v.events??(v.events={}),v.events[B]=M(W))},B=>{Xn.test(B)&&he("T008",B)});return;case Vr.variable:y(f,v,q,B=>{var W;return Yt(v)?(W=v.vars)==null?void 0:W[B]:void 0},(B,W)=>{Yt(v)&&(v.vars??(v.vars={}),v.vars[B]=W)});return;case"loaders":T(f,v,q);return;case"uses":$(v,q);return;case"method":y(f,v,q,B=>{var W;return Yt(v)?(W=v.api)==null?void 0:W[B]:void 0},(B,W)=>{v.api??(v.api={}),v.api[B]=W});return;default:he("T009",I);return}}}),n.pop(),!v.script||v.script.trim().length===0)return;const N=new ui(v.script);try{N.parseStatements(),v.scriptCollected=Lh("Main",v.script)}catch(q){N.errors&&N.errors.length>0?v.scriptError=N.errors:v.scriptError=q}const D=((X=v.scriptCollected)==null?void 0:X.moduleErrors)??{};Object.keys(D).length>0&&(v.scriptError=D)}function C(f,v){const{namespace:H,startSegment:S,name:L,value:F,unsegmentedName:N}=w(v);if(H==="xmlns")return Jn(n,f,N,F);if(!Yt(f)){if(S&&S!=="method"&&S!=="var"){he("T021");return}if(L==="name"&&!S)return;!S&&L&&he("T021",L);return}switch(L){case"id":f.uid=F;return;case"testId":f.testId=F;return;case"when":f.when=F;return;default:if(S==="var")f.vars??(f.vars={}),f.vars[L]=F;else if(S==="method")f.api??(f.api={}),f.api[L]=F;else if(S==="event")f.events??(f.events={}),f.events[L]=M(F);else if(Xn.test(L)){f.events??(f.events={});const X=L[2].toLowerCase()+L.substring(3);f.events[X]=M(F)}else f.props??(f.props={}),f.props[L]=F;return}}function x(f,v){let H=null;if(!v)return H;let S=null;return v.forEach(L=>{if(L.kind===k.TextNode){H=ya(H,o(L));return}if(L.kind!==k.ElementNode)return;const F=hr(L,o);if(F!=="field"&&F!=="item"){he("T016");return}if(F==="field"){if(!S)S=F,H={};else if(S!==F){he("T017");return}}else if(F==="item"){if(!S)S=F,H=[];else if(S!==F){he("T017");return}}let N=g(f,L,F==="field");if(!N)return null;S==="field"?H[N.name]=N.value:H.push(N.value)}),H}function g(f,v,H=!0){const S=hr(v,o),L=Oo(v),F=L.filter(A=>A.kind===k.ElementNode&&Hi.test(hr(A,o))),N=L.filter(A=>A.kind===k.ElementNode&&!Hi.test(hr(A,o))),D=$o(v).map(w),X=D.filter(A=>Vh.indexOf(A.name)>=0);if(D.length>X.length)return he("T011",S),null;const q=X.find(A=>A.name==="name");if(H){if(!(q!=null&&q.value))return he("T012",S),null}else if(q)return he("T018",S),null;const I=q==null?void 0:q.value,B=X.find(A=>A.name==="value");if(B&&B.value===void 0)return he("T019",S),null;if(I&&F.length>=1){if(N.length>0)return he("T020"),null;const A=F.map(z=>b(f,z));return{name:I,value:A.length===1?A[0]:A}}let W=B==null?void 0:B.value;return W===null?null:typeof W=="string"?{name:I,value:W}:{name:I,value:x(f,L)}}function T(f,v,H){var F;if(!Yt(v)){he("T009","loaders");return}const S=Oo(H);if(S.length===0&&(v.loaders??(v.loaders=[])),(F=H.children)==null?void 0:F.some(N=>N.kind===k.AttributeListNode)){he("T014","attributes");return}S.forEach(N=>{if(N.kind===k.TextNode){he("T010","loader");return}const D=b(f,N);if(!D.uid){he("T013");return}if(D.vars){he("T014","vars");return}if(D.loaders){he("T014","loaders");return}if(D.uses){he("T014","uses");return}v.loaders??(v.loaders=[]),v.loaders.push(D)})}function y(f,v,H,S,L,F){const N=g(f,H);if(!N)return;F==null||F((N==null?void 0:N.name)??"");const D=N.name,X=N.value;if((N==null?void 0:N.value)!==void 0)L(D,ya(S(D),X));else{const q=Oo(H),I=x(f,q);let B=S(D);B=ya(B,I),L(D,B)}}function $(f,v){if(!Yt(f)){he("T009","uses");return}const H=$o(v).map(w),S=H.find(L=>L.name==="value");if(!(S!=null&&S.value)||H.length!==1){he("T015","uses");return}f.uses??(f.uses=S.value.split(",").map(L=>L.trim()))}function w(f){let v=f.children[0];const H=v.children.length===3;let S;H&&(S=o(v.children[0]));let L=o(v.children[v.children.length-1]);const F=L.split(".");F.length>2&&he("T007",f,v);let N,D;F.length===2?(D=F[0],N=F[1],N.trim()===""&&he("T007",f,N)):N=L;const X=o(f.children[2]),q=X.substring(1,X.length-1);return{namespace:S,startSegment:D,name:N,value:q,unsegmentedName:L}}function O(f){for(let v of f){const H=v.children[v.children.length-1],S=j(o(H));S!==null&&(H.text=S)}}function V(f){const v=Oo(f),H=hr(f,o),L=!(H in Vr)||H==="property",F=H!=="event"&&H!=="method",N=$o(f);Rh(N),O(N),E(v),U(v,F);let D=!1,X=!1;for(let W=0;W<v.length;++W){const A=v[W];let z;if(A.kind==k.Script){X=!0;continue}if(A.kind===k.ElementNode){z=V(A),v[W]=z;continue}let R=o(A);A.kind===k.StringLiteral?R=R.slice(1,-1):A.kind===k.CData&&(D=!0),L?D?z=Dh(R):z=Yn(R):z={kind:k.TextNode,text:R},v[W]=z}const q=[],I=[];let B=!1;for(const W of v){if(W.kind===k.ElementNode){if((hr(W,o)??void 0)in Vr){q.push(W);continue}B=!0}I.push(W)}if(X&&B){const W=Zn(I);return q.push(W),Qn(f,q)}return f}function P(f){for(let v=0;v<f.length;++v)if(f[v].kind===k.StringLiteral||f[v].kind===k.TextNode){const H=/[\f\n\r\t\v\u0020\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/g;f[v].text=o(f[v]).replace(H," ")}}function Z(f){for(let v=0;v<f.length;++v)f[v].kind===k.CData&&(f[v].text=o(f[v]).slice(Ah,-3))}function E(f){for(let v of f)if(v.kind===k.StringLiteral||v.kind===k.TextNode){const H=j(o(v));H!==null&&(v.text=H)}}function j(f){let v="",H=0;for(let S=0;S<f.length;++S)if(f.charCodeAt(S)===_.ampersand)switch(f.charCodeAt(S+1)){case _.a:switch(f.charCodeAt(S+2)){case _.m:f.charCodeAt(S+3)===_.p&&f.charCodeAt(S+4)===_.semicolon&&(v=v+f.substring(H,S)+"&",S+=4,H=S+1);break;case _.p:f.charCodeAt(S+3)===_.o&&f.charCodeAt(S+4)===_.s&&f.charCodeAt(S+5)===_.semicolon&&(v=v+f.substring(H,S)+"'",S+=5,H=S+1);break}break;case _.g:f.charCodeAt(S+2)===_.t&&f.charCodeAt(S+3)===_.semicolon&&(v=v+f.substring(H,S)+">",S+=3,H=S+1);break;case _.l:f.charCodeAt(S+2)===_.t&&f.charCodeAt(S+3)===_.semicolon&&(v=v+f.substring(H,S)+"<",S+=3,H=S+1);break;case _.q:f.charCodeAt(S+2)===_.u&&f.charCodeAt(S+3)===_.o&&f.charCodeAt(S+4)===_.t&&f.charCodeAt(S+5)===_.semicolon&&(v=v+f.substring(H,S)+'"',S+=5,H=S+1);break;case _.n:f.charCodeAt(S+2)===_.b&&f.charCodeAt(S+3)===_.s&&f.charCodeAt(S+4)===_.p&&f.charCodeAt(S+5)===_.semicolon&&(v=v+f.substring(H,S)+" ",S+=5,H=S+1);break}return H===0?null:(v+=f.substring(H),v)}function U(f,v){v&&P(f),Z(f);for(let H=f.length-1;H>0;--H){const S=f[H-1],L=f[H];S.kind===k.StringLiteral&&L.kind===k.CData?(f[H-1]={kind:k.CData,text:o(S).slice(1,-1)+o(L)},f.pop()):S.kind===k.CData&&L.kind===k.StringLiteral?(f[H-1]={kind:k.CData,text:o(S)+o(L).slice(1,-1)},f.pop()):S.kind===k.CData&&L.kind===k.TextNode?(f[H-1]={kind:k.CData,text:o(S)+o(L)},f.pop()):S.kind===k.CData&&L.kind===k.CData?(f[H-1]={kind:k.CData,text:o(S)+o(L)},f.pop()):S.kind===k.TextNode&&L.kind===k.TextNode?(o(S).endsWith(" ")&&o(L).startsWith(" ")&&(S.text=o(S).trimEnd()),f[H-1]={kind:k.TextNode,text:o(S)+o(L)},f.pop()):S.kind===k.TextNode&&L.kind===k.CData&&(f[H-1]={kind:k.CData,text:o(S)+o(L)},f.pop())}}function M(f){if(typeof f!="string")return f;const v=new ui(f);try{return{__PARSED:!0,statements:v.parseStatements(),parseId:++Ph,source:f}}catch{if(v.errors.length>0){const H=v.errors[0];throw new Ca(`${H.text} [${H.line}: ${H.column}]`,H.code)}}}}function Dh(e){return{kind:k.ElementNode,children:[{kind:k.OpenNodeStart},{kind:k.TagNameNode,children:[{kind:k.Identifier,text:"TextNodeCData"}]},{kind:k.AttributeListNode,children:[{kind:k.AttributeNode,children:[{kind:k.AttributeKeyNode,children:[{kind:k.Identifier,text:"value"}]},{kind:k.Equal},{kind:k.Identifier,text:`"${e}"`}]}]},{kind:k.NodeClose}]}}function Yn(e){return{kind:k.ElementNode,children:[{kind:k.OpenNodeStart},{kind:k.TagNameNode,children:[{kind:k.Identifier,text:"TextNode"}]},{kind:k.AttributeListNode,children:[{kind:k.AttributeNode,children:[{kind:k.AttributeKeyNode,children:[{kind:k.Identifier,text:"value"}]},{kind:k.Equal},{kind:k.Identifier,text:`"${e}"`}]}]},{kind:k.NodeClose}]}}function he(e,...r){let t=_h[e]??"Unknown error";throw r&&r.forEach((a,l)=>t=o(t,`{${l}}`,a.toString())),new Ca(t,e);function o(a,l,i){do a=a.replace(l,i);while(a.includes(l));return a}}function Yt(e){return e.type}function ya(e,r){return e?Array.isArray(e)?typeof e=="string"?[e,r]:(e.push(r),e):[e,r]:r}function Zn(e){const r={kind:k.TagNameNode,children:[{kind:k.Identifier,text:"Fragment"}]};return{kind:k.ElementNode,start:e[0].start,pos:e[0].pos,end:e[e.length-1].end,children:[{kind:k.OpenNodeStart},r,{kind:k.NodeEnd},{kind:k.ContentListNode,children:e},{kind:k.CloseNodeStart},r,{kind:k.NodeEnd}]}}function $o(e){var r,t;return((t=(r=e.children)==null?void 0:r.find(o=>o.kind===k.AttributeListNode))==null?void 0:t.children)??[]}function Oo(e){var r,t;return((t=(r=e.children)==null?void 0:r.find(o=>o.kind===k.ContentListNode))==null?void 0:t.children)??[]}function Qn(e,r){var o;const t=(o=e.children)==null?void 0:o.findIndex(a=>a.kind===k.ContentListNode);return t===void 0||t===-1?e:{...e,children:[...e.children.slice(0,t),{...e.children[t],children:r},...e.children.slice(t)]}}function Rh(e){var r;for(let t of e)if(((r=t.children)==null?void 0:r.length)===1){const o={kind:k.Equal},a={kind:k.StringLiteral,text:'"true"'};t.children.push(o,a)}}function Jn(e,r,t,o){let a=o.split(":");if(a.length>2)return he("T028",o,"Namespace cannot contain multiple ':' (colon).");let l=o;if(a.length===2){if(a[0]!=Si)return he("T029",o,Si);l=a[1]}if(l.includes("#"))return he("T028",l,"Namespace cannot contain character '#'.");switch(l){case Si:l=t;break;case Wh:l=Nh;break;case zh:l=Eh;break}const i=e[e.length-1];if(i.has(t))return he("T025",t);i.set(t,l),r.namespaces??(r.namespaces={}),r.namespaces[t]=l}function Fh(e,r){e.children.length!==2&&he("T001");const t=e.children[0];return t.kind!==k.ElementNode&&he("T001"),t}function hr(e,r){const t=e.children.find(a=>a.kind===k.TagNameNode).children;return r(t.at(-1))}function Kn(e,r,t){const o=e.children.find(n=>n.kind===k.TagNameNode).children,a=r(o.at(-1));if(o.length===1)return a;const l=r(o[0]);t.length===0&&he("T026");let i;for(let n=t.length-1;n>=0&&(i=t[n].get(l),i===void 0);--n);return i===void 0&&he("T027",l),i+"."+a}function Uh(e,r=0){const{parse:t,getText:o}=Ih(e),{node:a,errors:l}=t();if(l.length>0){const i=[];for(let b=0;b<e.length;++b)e[b]===`
9
- `&&i.push(b);const n=qh(l,i),c=es(a,o);return{component:null,errors:n,erroneousCompoundComponentName:c}}try{return{component:Mh(a,o,r),errors:[]}}catch(i){const n=es(a,o),c={message:i.message,col:0,line:0,code:_r.expEq,category:Bo.Error,pos:0,end:0};return{component:null,erroneousCompoundComponentName:n,errors:[c]}}}function qh(e,r){if(r.length===0){for(let t of e)t.line=1,t.col=t.pos+1;return e}for(let t of e){let o=0;for(;o<r.length;++o){const l=r[o];if(t.pos<l){t.line=o+1,t.col=t.pos-(r[o-1]??0)+1;break}}const a=r[r.length-1];t.pos>=a&&(t.line=r.length+1,t.col=t.pos-a+0)}return e}function es(e,r){var c,b,h,p,C,x;const t=(c=e==null?void 0:e.children)==null?void 0:c[0],o=(h=(b=t==null?void 0:t.children)==null?void 0:b.find(g=>g.kind===k.TagNameNode))==null?void 0:h.children,a=o==null?void 0:o[o.length-1];if(a===void 0||r(a)!=="Component")return;const l=(C=(p=t.children)==null?void 0:p.find(g=>g.kind===k.AttributeListNode))==null?void 0:C.children,i=(x=l==null?void 0:l.find(g=>g.kind===k.AttributeNode&&r(g==null?void 0:g.children[0])==="name"))==null?void 0:x.children,n=i==null?void 0:i[i.length-1];if(n!==void 0&&n.kind===k.StringLiteral){const g=r(n);return g.substring(1,g.length-1)}}function Gh(e,r){const t=Uh(r).component;if(!t)throw new Error(`Failed to parse ${e} component definition during build.`);return t}const ki="FormSection",jh={status:"experimental",description:`The \`${ki}\` is a component that groups cohesive elements together within a \`Form\`. This grouping is indicated visually: the child components of the \`${ki}\` are placed in a [\`FlowLayout\`](./FlowLayout.mdx) component.`};Gh(ki,`
1
+ (function(xe,d){typeof exports=="object"&&typeof module<"u"?d(exports,require("react/jsx-runtime"),require("react"),require("classnames"),require("@radix-ui/react-visually-hidden"),require("lodash-es"),require("@remix-run/react"),require("react-day-picker"),require("date-fns"),require("@radix-ui/react-popover"),require("@radix-ui/react-dropdown-menu"),require("react-dom"),require("immer"),require("@radix-ui/react-dialog"),require("use-context-selector"),require("react-dropzone"),require("@radix-ui/react-select"),require("cmdk"),require("@radix-ui/react-radio-group"),require("react-textarea-autosize"),require("@radix-ui/react-slider"),require("@internationalized/number"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("@radix-ui/react-accordion"),require("@eslint-community/regexpp"),require("embla-carousel-react"),require("embla-carousel-autoplay")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","classnames","@radix-ui/react-visually-hidden","lodash-es","@remix-run/react","react-day-picker","date-fns","@radix-ui/react-popover","@radix-ui/react-dropdown-menu","react-dom","immer","@radix-ui/react-dialog","use-context-selector","react-dropzone","@radix-ui/react-select","cmdk","@radix-ui/react-radio-group","react-textarea-autosize","@radix-ui/react-slider","@internationalized/number","@tanstack/react-table","@tanstack/react-virtual","@radix-ui/react-accordion","@eslint-community/regexpp","embla-carousel-react","embla-carousel-autoplay"],d):(xe=typeof globalThis<"u"?globalThis:xe||self,d(xe["xmlui-metadata"]={},xe["react/jsx-runtime"],xe.React,xe.classnames,xe.VisuallyHidden$1,xe.lodashEs,xe.react,xe.reactDayPicker,xe.dateFns,xe.reactPopover,xe.ReactDropdownMenu,xe.ReactDOM,xe.produce,xe.SheetPrimitive,xe.useContextSelector,xe.dropzone,xe.reactSelect,xe.cmdk,xe.InnerRadioGroup,xe.TextareaAutosize,xe.reactSlider,xe.number,xe.reactTable,xe.reactVirtual,xe.RAccordion,xe.regexpp,xe.useEmblaCarousel,xe.Autoplay))})(this,function(xe,d,s,re,Oi,Be,Ba,Li,ut,Dt,nr,_i,Nr,xs,Vi,vs,xt,Lt,fs,gs,_o,Ai,Vo,Ts,Cs,Wi,ys,Hs){"use strict";function zr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const ze=zr(s),Ss=zr(Oi),Ao=zr(nr),ao=zr(xs),ks=zr(vs),$a=zr(fs),ws=zr(Cs),Ye={themeVars:`'{"padding-Button": "var(--xmlui-padding-Button)", "paddingHorizontal-Button": "var(--xmlui-paddingHorizontal-Button, var(--xmlui-padding-Button))", "paddingVertical-Button": "var(--xmlui-paddingVertical-Button, var(--xmlui-padding-Button))", "paddingLeft-Button": "var(--xmlui-paddingLeft-Button, var(--xmlui-paddingHorizontal-Button, var(--xmlui-padding-Button)))", "paddingRight-Button": "var(--xmlui-paddingRight-Button, var(--xmlui-paddingHorizontal-Button, var(--xmlui-padding-Button)))", "paddingTop-Button": "var(--xmlui-paddingTop-Button, var(--xmlui-paddingVertical-Button, var(--xmlui-padding-Button)))", "paddingBottom-Button": "var(--xmlui-paddingBottom-Button, var(--xmlui-paddingVertical-Button, var(--xmlui-padding-Button)))", "padding-Button-xs": "var(--xmlui-padding-Button-xs)", "paddingHorizontal-Button-xs": "var(--xmlui-paddingHorizontal-Button-xs, var(--xmlui-padding-Button-xs))", "paddingVertical-Button-xs": "var(--xmlui-paddingVertical-Button-xs, var(--xmlui-padding-Button-xs))", "paddingLeft-Button-xs": "var(--xmlui-paddingLeft-Button-xs, var(--xmlui-paddingHorizontal-Button-xs, var(--xmlui-padding-Button-xs)))", "paddingRight-Button-xs": "var(--xmlui-paddingRight-Button-xs, var(--xmlui-paddingHorizontal-Button-xs, var(--xmlui-padding-Button-xs)))", "paddingTop-Button-xs": "var(--xmlui-paddingTop-Button-xs, var(--xmlui-paddingVertical-Button-xs, var(--xmlui-padding-Button-xs)))", "paddingBottom-Button-xs": "var(--xmlui-paddingBottom-Button-xs, var(--xmlui-paddingVertical-Button-xs, var(--xmlui-padding-Button-xs)))", "padding-Button-sm": "var(--xmlui-padding-Button-sm)", "paddingHorizontal-Button-sm": "var(--xmlui-paddingHorizontal-Button-sm, var(--xmlui-padding-Button-sm))", "paddingVertical-Button-sm": "var(--xmlui-paddingVertical-Button-sm, var(--xmlui-padding-Button-sm))", "paddingLeft-Button-sm": "var(--xmlui-paddingLeft-Button-sm, var(--xmlui-paddingHorizontal-Button-sm, var(--xmlui-padding-Button-sm)))", "paddingRight-Button-sm": "var(--xmlui-paddingRight-Button-sm, var(--xmlui-paddingHorizontal-Button-sm, var(--xmlui-padding-Button-sm)))", "paddingTop-Button-sm": "var(--xmlui-paddingTop-Button-sm, var(--xmlui-paddingVertical-Button-sm, var(--xmlui-padding-Button-sm)))", "paddingBottom-Button-sm": "var(--xmlui-paddingBottom-Button-sm, var(--xmlui-paddingVertical-Button-sm, var(--xmlui-padding-Button-sm)))", "padding-Button-md": "var(--xmlui-padding-Button-md)", "paddingHorizontal-Button-md": "var(--xmlui-paddingHorizontal-Button-md, var(--xmlui-padding-Button-md))", "paddingVertical-Button-md": "var(--xmlui-paddingVertical-Button-md, var(--xmlui-padding-Button-md))", "paddingLeft-Button-md": "var(--xmlui-paddingLeft-Button-md, var(--xmlui-paddingHorizontal-Button-md, var(--xmlui-padding-Button-md)))", "paddingRight-Button-md": "var(--xmlui-paddingRight-Button-md, var(--xmlui-paddingHorizontal-Button-md, var(--xmlui-padding-Button-md)))", "paddingTop-Button-md": "var(--xmlui-paddingTop-Button-md, var(--xmlui-paddingVertical-Button-md, var(--xmlui-padding-Button-md)))", "paddingBottom-Button-md": "var(--xmlui-paddingBottom-Button-md, var(--xmlui-paddingVertical-Button-md, var(--xmlui-padding-Button-md)))", "padding-Button-lg": "var(--xmlui-padding-Button-lg)", "paddingHorizontal-Button-lg": "var(--xmlui-paddingHorizontal-Button-lg, var(--xmlui-padding-Button-lg))", "paddingVertical-Button-lg": "var(--xmlui-paddingVertical-Button-lg, var(--xmlui-padding-Button-lg))", "paddingLeft-Button-lg": "var(--xmlui-paddingLeft-Button-lg, var(--xmlui-paddingHorizontal-Button-lg, var(--xmlui-padding-Button-lg)))", "paddingRight-Button-lg": "var(--xmlui-paddingRight-Button-lg, var(--xmlui-paddingHorizontal-Button-lg, var(--xmlui-padding-Button-lg)))", "paddingTop-Button-lg": "var(--xmlui-paddingTop-Button-lg, var(--xmlui-paddingVertical-Button-lg, var(--xmlui-padding-Button-lg)))", "paddingBottom-Button-lg": "var(--xmlui-paddingBottom-Button-lg, var(--xmlui-paddingVertical-Button-lg, var(--xmlui-padding-Button-lg)))", "width-Button": "var(--xmlui-width-Button)", "height-Button": "var(--xmlui-height-Button)", "fontFamily-Button-primary-solid": "var(--xmlui-fontFamily-Button-primary-solid)", "fontSize-Button-primary-solid": "var(--xmlui-fontSize-Button-primary-solid)", "fontWeight-Button-primary-solid": "var(--xmlui-fontWeight-Button-primary-solid)", "borderRadius-Button-primary-solid": "var(--xmlui-borderRadius-Button-primary-solid)", "borderWidth-Button-primary-solid": "var(--xmlui-borderWidth-Button-primary-solid)", "borderColor-Button-primary-solid": "var(--xmlui-borderColor-Button-primary-solid)", "borderStyle-Button-primary-solid": "var(--xmlui-borderStyle-Button-primary-solid)", "backgroundColor-Button-primary-solid": "var(--xmlui-backgroundColor-Button-primary-solid)", "textColor-Button-primary-solid": "var(--xmlui-textColor-Button-primary-solid)", "boxShadow-Button-primary-solid": "var(--xmlui-boxShadow-Button-primary-solid)", "outlineWidth-Button-primary-solid--focus": "var(--xmlui-outlineWidth-Button-primary-solid--focus)", "outlineColor-Button-primary-solid--focus": "var(--xmlui-outlineColor-Button-primary-solid--focus)", "outlineStyle-Button-primary-solid--focus": "var(--xmlui-outlineStyle-Button-primary-solid--focus)", "outlineOffset-Button-primary-solid--focus": "var(--xmlui-outlineOffset-Button-primary-solid--focus)", "borderColor-Button-primary-solid--hover": "var(--xmlui-borderColor-Button-primary-solid--hover)", "textColor-Button-primary-solid--hover": "var(--xmlui-textColor-Button-primary-solid--hover)", "backgroundColor-Button-primary-solid--hover": "var(--xmlui-backgroundColor-Button-primary-solid--hover)", "borderColor-Button-primary-solid--active": "var(--xmlui-borderColor-Button-primary-solid--active)", "textColor-Button-primary-solid--active": "var(--xmlui-textColor-Button-primary-solid--active)", "boxShadow-Button-primary-solid--active": "var(--xmlui-boxShadow-Button-primary-solid--active)", "backgroundColor-Button-primary-solid--active": "var(--xmlui-backgroundColor-Button-primary-solid--active)", "backgroundColor-Button--disabled": "var(--xmlui-backgroundColor-Button--disabled)", "textColor-Button--disabled": "var(--xmlui-textColor-Button--disabled)", "borderColor-Button--disabled": "var(--xmlui-borderColor-Button--disabled)", "fontFamily-Button-secondary-solid": "var(--xmlui-fontFamily-Button-secondary-solid)", "fontSize-Button-secondary-solid": "var(--xmlui-fontSize-Button-secondary-solid)", "fontWeight-Button-secondary-solid": "var(--xmlui-fontWeight-Button-secondary-solid)", "borderRadius-Button-secondary-solid": "var(--xmlui-borderRadius-Button-secondary-solid)", "borderWidth-Button-secondary-solid": "var(--xmlui-borderWidth-Button-secondary-solid)", "borderColor-Button-secondary-solid": "var(--xmlui-borderColor-Button-secondary-solid)", "borderStyle-Button-secondary-solid": "var(--xmlui-borderStyle-Button-secondary-solid)", "backgroundColor-Button-secondary-solid": "var(--xmlui-backgroundColor-Button-secondary-solid)", "textColor-Button-secondary-solid": "var(--xmlui-textColor-Button-secondary-solid)", "boxShadow-Button-secondary-solid": "var(--xmlui-boxShadow-Button-secondary-solid)", "outlineWidth-Button-secondary-solid--focus": "var(--xmlui-outlineWidth-Button-secondary-solid--focus)", "outlineColor-Button-secondary-solid--focus": "var(--xmlui-outlineColor-Button-secondary-solid--focus)", "outlineStyle-Button-secondary-solid--focus": "var(--xmlui-outlineStyle-Button-secondary-solid--focus)", "outlineOffset-Button-secondary-solid--focus": "var(--xmlui-outlineOffset-Button-secondary-solid--focus)", "borderColor-Button-secondary-solid--hover": "var(--xmlui-borderColor-Button-secondary-solid--hover)", "textColor-Button-secondary-solid--hover": "var(--xmlui-textColor-Button-secondary-solid--hover)", "backgroundColor-Button-secondary-solid--hover": "var(--xmlui-backgroundColor-Button-secondary-solid--hover)", "borderColor-Button-secondary-solid--active": "var(--xmlui-borderColor-Button-secondary-solid--active)", "textColor-Button-secondary-solid--active": "var(--xmlui-textColor-Button-secondary-solid--active)", "boxShadow-Button-secondary-solid--active": "var(--xmlui-boxShadow-Button-secondary-solid--active)", "backgroundColor-Button-secondary-solid--active": "var(--xmlui-backgroundColor-Button-secondary-solid--active)", "fontFamily-Button-attention-solid": "var(--xmlui-fontFamily-Button-attention-solid)", "fontSize-Button-attention-solid": "var(--xmlui-fontSize-Button-attention-solid)", "fontWeight-Button-attention-solid": "var(--xmlui-fontWeight-Button-attention-solid)", "borderRadius-Button-attention-solid": "var(--xmlui-borderRadius-Button-attention-solid)", "borderWidth-Button-attention-solid": "var(--xmlui-borderWidth-Button-attention-solid)", "borderColor-Button-attention-solid": "var(--xmlui-borderColor-Button-attention-solid)", "borderStyle-Button-attention-solid": "var(--xmlui-borderStyle-Button-attention-solid)", "backgroundColor-Button-attention-solid": "var(--xmlui-backgroundColor-Button-attention-solid)", "textColor-Button-attention-solid": "var(--xmlui-textColor-Button-attention-solid)", "boxShadow-Button-attention-solid": "var(--xmlui-boxShadow-Button-attention-solid)", "outlineWidth-Button-attention-solid--focus": "var(--xmlui-outlineWidth-Button-attention-solid--focus)", "outlineColor-Button-attention-solid--focus": "var(--xmlui-outlineColor-Button-attention-solid--focus)", "outlineStyle-Button-attention-solid--focus": "var(--xmlui-outlineStyle-Button-attention-solid--focus)", "outlineOffset-Button-attention-solid--focus": "var(--xmlui-outlineOffset-Button-attention-solid--focus)", "borderColor-Button-attention-solid--hover": "var(--xmlui-borderColor-Button-attention-solid--hover)", "textColor-Button-attention-solid--hover": "var(--xmlui-textColor-Button-attention-solid--hover)", "backgroundColor-Button-attention-solid--hover": "var(--xmlui-backgroundColor-Button-attention-solid--hover)", "borderColor-Button-attention-solid--active": "var(--xmlui-borderColor-Button-attention-solid--active)", "textColor-Button-attention-solid--active": "var(--xmlui-textColor-Button-attention-solid--active)", "boxShadow-Button-attention-solid--active": "var(--xmlui-boxShadow-Button-attention-solid--active)", "backgroundColor-Button-attention-solid--active": "var(--xmlui-backgroundColor-Button-attention-solid--active)", "fontFamily-Button-primary-outlined": "var(--xmlui-fontFamily-Button-primary-outlined)", "fontSize-Button-primary-outlined": "var(--xmlui-fontSize-Button-primary-outlined)", "fontWeight-Button-primary-outlined": "var(--xmlui-fontWeight-Button-primary-outlined)", "borderRadius-Button-primary-outlined": "var(--xmlui-borderRadius-Button-primary-outlined)", "borderWidth-Button-primary-outlined": "var(--xmlui-borderWidth-Button-primary-outlined)", "borderColor-Button-primary-outlined": "var(--xmlui-borderColor-Button-primary-outlined)", "borderStyle-Button-primary-outlined": "var(--xmlui-borderStyle-Button-primary-outlined)", "textColor-Button-primary-outlined": "var(--xmlui-textColor-Button-primary-outlined)", "boxShadow-Button-primary-outlined": "var(--xmlui-boxShadow-Button-primary-outlined)", "outlineWidth-Button-primary-outlined--focus": "var(--xmlui-outlineWidth-Button-primary-outlined--focus)", "outlineColor-Button-primary-outlined--focus": "var(--xmlui-outlineColor-Button-primary-outlined--focus)", "outlineStyle-Button-primary-outlined--focus": "var(--xmlui-outlineStyle-Button-primary-outlined--focus)", "outlineOffset-Button-primary-outlined--focus": "var(--xmlui-outlineOffset-Button-primary-outlined--focus)", "borderColor-Button-primary-outlined--hover": "var(--xmlui-borderColor-Button-primary-outlined--hover)", "backgroundColor-Button-primary-outlined--hover": "var(--xmlui-backgroundColor-Button-primary-outlined--hover)", "textColor-Button-primary-outlined--hover": "var(--xmlui-textColor-Button-primary-outlined--hover)", "borderColor-Button-primary-outlined--active": "var(--xmlui-borderColor-Button-primary-outlined--active)", "backgroundColor-Button-primary-outlined--active": "var(--xmlui-backgroundColor-Button-primary-outlined--active)", "textColor-Button-primary-outlined--active": "var(--xmlui-textColor-Button-primary-outlined--active)", "fontFamily-Button-secondary-outlined": "var(--xmlui-fontFamily-Button-secondary-outlined)", "fontSize-Button-secondary-outlined": "var(--xmlui-fontSize-Button-secondary-outlined)", "fontWeight-Button-secondary-outlined": "var(--xmlui-fontWeight-Button-secondary-outlined)", "borderRadius-Button-secondary-outlined": "var(--xmlui-borderRadius-Button-secondary-outlined)", "borderWidth-Button-secondary-outlined": "var(--xmlui-borderWidth-Button-secondary-outlined)", "borderColor-Button-secondary-outlined": "var(--xmlui-borderColor-Button-secondary-outlined)", "borderStyle-Button-secondary-outlined": "var(--xmlui-borderStyle-Button-secondary-outlined)", "textColor-Button-secondary-outlined": "var(--xmlui-textColor-Button-secondary-outlined)", "boxShadow-Button-secondary-outlined": "var(--xmlui-boxShadow-Button-secondary-outlined)", "outlineWidth-Button-secondary-outlined--focus": "var(--xmlui-outlineWidth-Button-secondary-outlined--focus)", "outlineColor-Button-secondary-outlined--focus": "var(--xmlui-outlineColor-Button-secondary-outlined--focus)", "outlineStyle-Button-secondary-outlined--focus": "var(--xmlui-outlineStyle-Button-secondary-outlined--focus)", "outlineOffset-Button-secondary-outlined--focus": "var(--xmlui-outlineOffset-Button-secondary-outlined--focus)", "borderColor-Button-secondary-outlined--hover": "var(--xmlui-borderColor-Button-secondary-outlined--hover)", "backgroundColor-Button-secondary-outlined--hover": "var(--xmlui-backgroundColor-Button-secondary-outlined--hover)", "textColor-Button-secondary-outlined--hover": "var(--xmlui-textColor-Button-secondary-outlined--hover)", "borderColor-Button-secondary-outlined--active": "var(--xmlui-borderColor-Button-secondary-outlined--active)", "backgroundColor-Button-secondary-outlined--active": "var(--xmlui-backgroundColor-Button-secondary-outlined--active)", "textColor-Button-secondary-outlined--active": "var(--xmlui-textColor-Button-secondary-outlined--active)", "fontFamily-Button-attention-outlined": "var(--xmlui-fontFamily-Button-attention-outlined)", "fontSize-Button-attention-outlined": "var(--xmlui-fontSize-Button-attention-outlined)", "fontWeight-Button-attention-outlined": "var(--xmlui-fontWeight-Button-attention-outlined)", "borderRadius-Button-attention-outlined": "var(--xmlui-borderRadius-Button-attention-outlined)", "borderWidth-Button-attention-outlined": "var(--xmlui-borderWidth-Button-attention-outlined)", "borderColor-Button-attention-outlined": "var(--xmlui-borderColor-Button-attention-outlined)", "borderStyle-Button-attention-outlined": "var(--xmlui-borderStyle-Button-attention-outlined)", "textColor-Button-attention-outlined": "var(--xmlui-textColor-Button-attention-outlined)", "boxShadow-Button-attention-outlined": "var(--xmlui-boxShadow-Button-attention-outlined)", "outlineWidth-Button-attention-outlined--focus": "var(--xmlui-outlineWidth-Button-attention-outlined--focus)", "outlineColor-Button-attention-outlined--focus": "var(--xmlui-outlineColor-Button-attention-outlined--focus)", "outlineStyle-Button-attention-outlined--focus": "var(--xmlui-outlineStyle-Button-attention-outlined--focus)", "outlineOffset-Button-attention-outlined--focus": "var(--xmlui-outlineOffset-Button-attention-outlined--focus)", "borderColor-Button-attention-outlined--hover": "var(--xmlui-borderColor-Button-attention-outlined--hover)", "backgroundColor-Button-attention-outlined--hover": "var(--xmlui-backgroundColor-Button-attention-outlined--hover)", "textColor-Button-attention-outlined--hover": "var(--xmlui-textColor-Button-attention-outlined--hover)", "borderColor-Button-attention-outlined--active": "var(--xmlui-borderColor-Button-attention-outlined--active)", "backgroundColor-Button-attention-outlined--active": "var(--xmlui-backgroundColor-Button-attention-outlined--active)", "textColor-Button-attention-outlined--active": "var(--xmlui-textColor-Button-attention-outlined--active)", "fontFamily-Button-primary-ghost": "var(--xmlui-fontFamily-Button-primary-ghost)", "fontSize-Button-primary-ghost": "var(--xmlui-fontSize-Button-primary-ghost)", "fontWeight-Button-primary-ghost": "var(--xmlui-fontWeight-Button-primary-ghost)", "borderRadius-Button-primary-ghost": "var(--xmlui-borderRadius-Button-primary-ghost)", "borderWidth-Button-primary-ghost": "var(--xmlui-borderWidth-Button-primary-ghost)", "textColor-Button-primary-ghost": "var(--xmlui-textColor-Button-primary-ghost)", "outlineWidth-Button-primary-ghost--focus": "var(--xmlui-outlineWidth-Button-primary-ghost--focus)", "outlineColor-Button-primary-ghost--focus": "var(--xmlui-outlineColor-Button-primary-ghost--focus)", "outlineStyle-Button-primary-ghost--focus": "var(--xmlui-outlineStyle-Button-primary-ghost--focus)", "outlineOffset-Button-primary-ghost--focus": "var(--xmlui-outlineOffset-Button-primary-ghost--focus)", "backgroundColor-Button-primary-ghost--hover": "var(--xmlui-backgroundColor-Button-primary-ghost--hover)", "textColor-Button-primary-ghost--hover": "var(--xmlui-textColor-Button-primary-ghost--hover)", "backgroundColor-Button-primary-ghost--active": "var(--xmlui-backgroundColor-Button-primary-ghost--active)", "textColor-Button-primary-ghost--active": "var(--xmlui-textColor-Button-primary-ghost--active)", "fontFamily-Button-secondary-ghost": "var(--xmlui-fontFamily-Button-secondary-ghost)", "fontSize-Button-secondary-ghost": "var(--xmlui-fontSize-Button-secondary-ghost)", "fontWeight-Button-secondary-ghost": "var(--xmlui-fontWeight-Button-secondary-ghost)", "borderRadius-Button-secondary-ghost": "var(--xmlui-borderRadius-Button-secondary-ghost)", "borderWidth-Button-secondary-ghost": "var(--xmlui-borderWidth-Button-secondary-ghost)", "textColor-Button-secondary-ghost": "var(--xmlui-textColor-Button-secondary-ghost)", "outlineWidth-Button-secondary-ghost--focus": "var(--xmlui-outlineWidth-Button-secondary-ghost--focus)", "outlineColor-Button-secondary-ghost--focus": "var(--xmlui-outlineColor-Button-secondary-ghost--focus)", "outlineStyle-Button-secondary-ghost--focus": "var(--xmlui-outlineStyle-Button-secondary-ghost--focus)", "outlineOffset-Button-secondary-ghost--focus": "var(--xmlui-outlineOffset-Button-secondary-ghost--focus)", "backgroundColor-Button-secondary-ghost--hover": "var(--xmlui-backgroundColor-Button-secondary-ghost--hover)", "textColor-Button-secondary-ghost--hover": "var(--xmlui-textColor-Button-secondary-ghost--hover)", "backgroundColor-Button-secondary-ghost--active": "var(--xmlui-backgroundColor-Button-secondary-ghost--active)", "textColor-Button-secondary-ghost--active": "var(--xmlui-textColor-Button-secondary-ghost--active)", "fontFamily-Button-attention-ghost": "var(--xmlui-fontFamily-Button-attention-ghost)", "fontSize-Button-attention-ghost": "var(--xmlui-fontSize-Button-attention-ghost)", "fontWeight-Button-attention-ghost": "var(--xmlui-fontWeight-Button-attention-ghost)", "borderRadius-Button-attention-ghost": "var(--xmlui-borderRadius-Button-attention-ghost)", "borderWidth-Button-attention-ghost": "var(--xmlui-borderWidth-Button-attention-ghost)", "textColor-Button-attention-ghost": "var(--xmlui-textColor-Button-attention-ghost)", "outlineWidth-Button-attention-ghost--focus": "var(--xmlui-outlineWidth-Button-attention-ghost--focus)", "outlineColor-Button-attention-ghost--focus": "var(--xmlui-outlineColor-Button-attention-ghost--focus)", "outlineStyle-Button-attention-ghost--focus": "var(--xmlui-outlineStyle-Button-attention-ghost--focus)", "outlineOffset-Button-attention-ghost--focus": "var(--xmlui-outlineOffset-Button-attention-ghost--focus)", "backgroundColor-Button-attention-ghost--hover": "var(--xmlui-backgroundColor-Button-attention-ghost--hover)", "textColor-Button-attention-ghost--hover": "var(--xmlui-textColor-Button-attention-ghost--hover)", "backgroundColor-Button-attention-ghost--active": "var(--xmlui-backgroundColor-Button-attention-ghost--active)", "textColor-Button-attention-ghost--active": "var(--xmlui-textColor-Button-attention-ghost--active)"}'`,button:"_button_1rnn4_13",alignStart:"_alignStart_1rnn4_29",alignEnd:"_alignEnd_1rnn4_32",buttonHorizontal:"_buttonHorizontal_1rnn4_38",xs:"_xs_1rnn4_41",sm:"_sm_1rnn4_48",md:"_md_1rnn4_55",lg:"_lg_1rnn4_62",buttonVertical:"_buttonVertical_1rnn4_69",solidPrimary:"_solidPrimary_1rnn4_103",solidSecondary:"_solidSecondary_1rnn4_138",solidAttention:"_solidAttention_1rnn4_173",outlinedPrimary:"_outlinedPrimary_1rnn4_208",outlinedSecondary:"_outlinedSecondary_1rnn4_241",outlinedAttention:"_outlinedAttention_1rnn4_274",ghostPrimary:"_ghostPrimary_1rnn4_307",ghostSecondary:"_ghostSecondary_1rnn4_336",ghostAttention:"_ghostAttention_1rnn4_365"};function _v(e){return e}function m(e,t,r,o,a,l){return{description:e,isRequired:l,availableValues:t,valueType:r,defaultValue:o,isValid:a}}const Ni=[{value:"_self",description:"The link will open in the same frame as it was clicked."},{value:"_blank",description:"The link will open in a new window or tab."},{value:"_parent",description:"The link will open in the parent frame. If no parent, behaves as _self."},{value:"_top",description:"The topmost browsing context. The link will open in the full body of the window. If no ancestors, behaves as _self."},{value:"_unfencedTop",description:"Allows embedded fenced frames to navigate the top-level frame, i.e. traversing beyond the root of the fenced frame."}],Oa=[{value:"xs",description:"Extra small button"},{value:"sm",description:"Small button"},{value:"md",description:"Medium button"},{value:"lg",description:"Large button"}],Is=[...["attention","primary","secondary"]],zi=[{value:"attention",description:"Attention state theme color"},{value:"primary",description:"Primary theme color"},{value:"secondary",description:"Secondary theme color"}],Bs=[{value:"button",description:"Regular behavior that only executes logic if explicitly determined."},{value:"submit",description:"The button submits the form data to the server. This is the default for buttons in a Form or NativeForm component."},{value:"reset",description:"Resets all the controls to their initial values. Using it is ill advised for UX reasons."}],$s=[...["solid","outlined","ghost"]],Ei=[{value:"solid",description:"A button with a border and a filled background."},{value:"outlined",description:"The button is displayed with a border and a transparent background."},{value:"ghost",description:"A button with no border and fill. Only the label is visible; the background is colored when hovered or clicked."}],Pi=["start","center","end"],Mi=[{value:"center",description:"Place the content in the middle"},{value:"start",description:"Justify the content to the left (to the right if in right-to-left)"},{value:"end",description:"Justify the content to the right (to the left if in right-to-left)"}],ea=[{value:"horizontal",description:"The component will fill the available space horizontally"},{value:"vertical",description:"The component will fill the available space vertically"}],Os=[...["start","end"]],La=[{value:"start",description:"The icon will appear at the start (left side when the left-to-right direction is set)"},{value:"end",description:"The icon will appear at the end (right side when the left-to-right direction is set)"}],Di=[{value:"start",description:"The left side of the input (left-to-right) or the right side of the input (right-to-left)"},{value:"end",description:"The right side of the input (left-to-right) or the left side of the input (right-to-left)"},{value:"top",description:"The top of the input"},{value:"bottom",description:"The bottom of the input"}],Ls=[...["start","end"]],_s=[{value:"valid",description:"Visual indicator for an input that is accepted"},{value:"warning",description:"Visual indicator for an input that produced a warning"},{value:"error",description:"Visual indicator for an input that produced an error"}],Vs=["top","bottom"],Ri={abbr:"abbr",cite:"cite",code:"code",codefence:"pre",deleted:"del",inserted:"ins",keyboard:"kbd",marked:"mark",sample:"samp",sub:"sub",sup:"sup",var:"var",mono:"pre",strong:"strong",em:"em",title:"span",subtitle:"span",small:"span",caption:"span",placeholder:"span",paragraph:"p",subheading:"h6",tableheading:"h6",secondary:"span"},As=[{value:"abbr",description:"Represents an abbreviation or acronym"},{value:"caption",description:"Represents the caption (or title) of a table"},{value:"cite",description:"Is used to mark up the title of a cited work"},{value:"code",description:"Represents a line of code"},{value:"codefence",description:"Handles the display of code blocks if combined with a `code` variant"},{value:"deleted",description:"Represents text that has been deleted"},{value:"em",description:"Marks text to stress emphasis"},{value:"inserted",description:"Represents a range of text that has been added to a document"},{value:"keyboard",description:"Represents a span of text denoting textual user input from a keyboard or voice input"},{value:"marked",description:"Represents text which is marked or highlighted for reference or notation"},{value:"mono",description:"Text using a mono style font family"},{value:"paragraph",description:"Represents a paragraph"},{value:"placeholder",description:"Text that is mostly used as the placeholder style in input controls"},{value:"sample",description:"Represents sample (or quoted) output from a computer program"},{value:"secondary",description:"Represents a bit dimmed secondary text"},{value:"small",description:"Represents side-comments and small print"},{value:"sub",description:"Specifies inline text as subscript"},{value:"strong",description:"Contents have strong importance"},{value:"subheading",description:"Indicates that the text is the subtitle in a heading"},{value:"subtitle",description:"Indicates that the text is the subtitle of some other content"},{value:"sup",description:"Specifies inline text as superscript"},{value:"tableheading",description:"Indicates that the text is a table heading"},{value:"title",description:"Indicates that the text is the title of some other content"},{value:"var",description:"Represents the name of a variable in a mathematical expression"}],Fi=["get","post","put","delete","patch","head","options","trace","connect"],Ui={keyPrefix:"xmlui",themeVars:'"[]"'};function Y(e){if(!e||typeof e!="string")return e;let t=e.replace(/(^['"])|(['"]$)/g,"");try{return JSON.parse(t)}catch{try{return JSON.parse(e.replace("(","{").replace(")","}").replace(/: ?([^,}]+)([,}])/g,': "$1"$2').replace(/([\s{,])(?!")([^:\s]+)+:/g,'$1"$2":'))}catch{return t}}}Y(Ui.keyPrefix),Y(Ui.themeVars);function Xe(e){return{description:e??"This property is for internal use only.",isInternal:!0}}function io(e){return{description:`This event is triggered when the ${e} is clicked.`}}function vt(e){return{description:`This event is triggered when the ${e} has received the focus.`}}function ft(e){return{description:`This event is triggered when the ${e} has lost the focus.`}}function at(e){return{description:`This event is triggered when value of ${e} has changed.`}}function qi(e){return{description:"The `true` value of this property signals that the component is in an _intedeterminate state_.",defaultValue:e}}function qe(){return{description:"This property sets the label of the component.",valueType:"string"}}function gt(e){return{description:"Places the label at the given position of the component.",availableValues:Di,defaultValue:e??"top"}}function _t(e){return{description:`This property sets the width of the \`${e}\`.`}}function Vt(e){return{description:`This boolean value indicates if the \`${e}\` labels can be split into multiple lines if it would overflow the available label width.`,valueType:"boolean",defaultValue:!1}}function it(){return{description:"If this property is set to `true`, the component gets the focus automatically when displayed.",valueType:"boolean",defaultValue:!1}}function Tt(e){return{description:"This property sets the component's initial value.",defaultValue:e}}function At(e){return{description:"Set this property to `true` to disallow changing the component value.",valueType:"boolean",defaultValue:e??!1}}function Ze(e){return{description:"This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).",valueType:"boolean",defaultValue:e??!0}}function Gi(){return{description:"The `true` value of the property indicates if the user can select multiple items.",valueType:"boolean",defaultValue:!1}}function Wt(e){return{description:"This property allows you to set the validation status of the input component.",availableValues:_s,defaultValue:e??"none"}}function ji(){return{description:"You can query this read-only API property to query the component's current value (`true`: checked, `false`: unchecked)."}}function Qt(){return{description:"You can use this method to set the component's current value programmatically (`true`: checked, `false`: unchecked)."}}function $e(e){return{description:e,valueType:"ComponentDef"}}function Er(){return{description:"A placeholder text that is visible in the input field when its empty.",valueType:"string"}}function ta(){return{description:"This property sets the maximum length of the input it accepts.",valueType:"number"}}function Nt(){return{description:"Set this property to `true` to indicate it must have a value before submitting the containing form.",valueType:"boolean"}}function _a(){return{description:"This property sets a text to appear at the start (left side when the left-to-right direction is set) of the input.",valueType:"string"}}function Va(){return{description:"This property sets an icon to appear at the start (left side when the left-to-right direction is set) of the input.",valueType:"string"}}function Aa(){return{description:"This property sets a text to appear on the end (right side when the left-to-right direction is set) of the input.",valueType:"string"}}function Wa(){return{description:"This property sets an icon to appear on the end (right side when the left-to-right direction is set) of the input.",valueType:"string"}}function Ws(e){return{description:`This property indicates if the ${e} is expanded (\`true\`) or collapsed (\`false\`).`}}function Ns(e){return{description:`This method expands the ${e}.`}}function zs(e){return{description:`This method collapses the ${e}.`}}function Jt(e){return{description:`This method sets the focus on the ${e}.`}}function ra(){return{description:"You can query the component's value. If no value is set, it will retrieve `undefined`."}}function Xi(e){return{description:`This property allows you to define a custom trigger instead of the default one provided by \`${e}\`.`,valueType:"ComponentDef"}}function Es(e,t=!1){return{description:"This property sets the main axis along which the nested components are rendered.",availableValues:ea,valueType:"string",defaultValue:e,isRequired:t}}const Yi={themeVars:`'{"size-Icon": "var(--xmlui-size-Icon)"}'`,base:"_base_4gxxt_13"};function oa(e){return e[0].toUpperCase()+e.substring(1)}const Ce=e=>{const t=s.useRef(e);return s.useInsertionEffect(()=>{t.current=e},[e]),s.useCallback((...r)=>{const o=t.current;return o==null?void 0:o(...r)},[t])};function Ps(e,t,r){const o=Be.throttle((a,l,i)=>{e(...i).then(a).catch(l)},t,r);return(...a)=>new Promise((l,i)=>{o(l,i,a)})}const Ms=s.createContext(void 0);s.createContext(void 0);function zt(){return s.useContext(Ms)}function Na(e){const{getResourceUrl:t}=zt();return t(e)}const Qe=Object.freeze([]),vr=Object.freeze({}),ae=(...e)=>({}),Zi=(e,t)=>{const r=e==null?void 0:e.current,o=s.useRef();s.useEffect(()=>{o!=null&&o.current&&r&&o.current.unobserve(r),o.current=new ResizeObserver(t),e&&e.current&&o.current&&o.current.observe(e.current)},[t,r,e])};function Qi(e){const t=s.useRef();return s.useEffect(()=>{t.current=e},[e]),t.current}function Ji(e){const[t,r]=s.useState(!1);return s.useEffect(()=>{if(!window){r(!1);return}const o=window.matchMedia(e);return a(),o.addEventListener("change",a),()=>{o.removeEventListener("change",a)};function a(){r(o.matches)}},[e]),t}function Ds(e){const t=s.useRef({mountedFired:!1});s.useEffect(()=>{t.current.mountedFired||(t.current.mountedFired=!0,e==null||e())},[e])}const Wo=typeof document<"u"?s.useLayoutEffect:s.useEffect,Rs=(e,t,r)=>{const[o,a]=s.useState(0),l=Ce(()=>{if(!e)return 0;const i=t.current,n=r.current;if(i&&n){const c=i.getBoundingClientRect(),b=n.getBoundingClientRect(),h=n.scrollTop;return c.top-b.top+h}return 0});return Zi(r,()=>{a(l())}),o},Fs=s.createContext(null);function Ki(){return s.useContext(Fs)}const Us={accentheight:"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baseprofile:"baseProfile",baselineshift:"baselineShift",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight",clip:"clip",clippath:"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule",colorinterpolation:"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters",colorprofile:"colorProfile",colorrendering:"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity",fillrule:"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodcolor:"floodColor",floodopacity:"floodOpacity",focusable:"focusable",fontfamily:"fontFamily",fontsize:"fontSize",fontsizeadjust:"fontSizeAdjust",fontstretch:"fontStretch",fontstyle:"fontStyle",fontvariant:"fontVariant",fontweight:"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX",horizoriginx:"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering",in:"in",in2:"in2",intercept:"intercept",k:"k",k1:"k1",k2:"k2",k3:"k3",k4:"k4",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing",lightingcolor:"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd",markerheight:"markerHeight",markermid:"markerMid",markerstart:"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition",overlinethickness:"overlineThickness",paintorder:"paintOrder",panose1:"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",restart:"restart",result:"result",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",seed:"seed",shaperendering:"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor",stopopacity:"stopOpacity",strikethroughposition:"strikethroughPosition",strikethroughthickness:"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray",strokedashoffset:"strokeDashoffset",strokelinecap:"strokeLinecap",strokelinejoin:"strokeLinejoin",strokemiterlimit:"strokeMiterlimit",strokeopacity:"strokeOpacity",strokewidth:"strokeWidth",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor",textdecoration:"textDecoration",textlength:"textLength",textrendering:"textRendering",to:"to",transform:"transform",u1:"u1",u2:"u2",underlineposition:"underlinePosition",underlinethickness:"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi",unicoderange:"unicodeRange",unitsperem:"unitsPerEm",valphabetic:"vAlphabetic",vhanging:"vHanging",videographic:"vIdeographic",vmathematical:"vMathematical",values:"values",vectoreffect:"vectorEffect",version:"version",vertadvy:"vertAdvY",vertoriginx:"vertOriginX",vertoriginy:"vertOriginY",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",widths:"widths",wordspacing:"wordSpacing",writingmode:"writingMode",x:"x",x1:"x1",x2:"x2",xchannelselector:"xChannelSelector",xheight:"xHeight",xlinkactuate:"xlinkActuate",xlinkarcrole:"xlinkArcrole",xlinkhref:"xlinkHref",xlinkrole:"xlinkRole",xlinkshow:"xlinkShow",xlinktitle:"xlinkTitle",xlinktype:"xlinkType",xmlns:"xmlns",xmlnsxlink:"xmlnsXlink",xmlbase:"xmlBase",xmllang:"xmlLang",xmlspace:"xmlSpace",y:"y",y1:"y1",y2:"y2",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qs=/[-:]/g;function Gs(e){const{ensureCustomSvgIcon:t,customSvgs:r}=Ki();Wo(()=>{e&&t(e)},[t,e]);const o=e?r[e]:null,a=s.useCallback(({style:l,className:i})=>{if(!o)return null;const{attributes:n,name:c}=o,b={};return Object.entries(n).forEach(([h,p])=>{let C=h;/^(data-|aria-)/.test(h)?C=h:C=h.replace(qs,"").toLowerCase(),b[Us[C]||h]=p}),d.jsx("svg",{...b,style:l,className:i,children:d.jsx("use",{href:`#${c}`})})},[o]);return e?a:null}const za="xmlui";function el(e){if(typeof e=="string")return`var(--${za}-${e.substring(1)})`;if(e.defaultValue&&e.defaultValue.length>0){let t="";for(const r of e.defaultValue)t+=typeof r=="string"?r:el(r);return`var(--${za}-${e.id.substring(1)}, ${t})`}else return`var(--${za}-${e.id.substring(1)})`}const ce=s.forwardRef(function({name:t,fallback:r,style:o,className:a,size:l,...i},n){var g;const c=Zs(t,r),b=typeof l=="string"?Ys(l):l,h=b||i.width,p=b||i.height,C={className:re(Yi.base,a),...i,size:b,width:h,height:p,style:{...o,"--icon-width":h,"--icon-height":p}},v=Xs(t);return v?d.jsx(js,{...C,url:v,name:t}):((g=c==null?void 0:c.renderer)==null?void 0:g.call(c,C))||null});function js(e){var h;const{url:t,width:r,height:o,name:a,style:l,className:i}=e,n=Na(t),c=(h=n==null?void 0:n.toLowerCase())==null?void 0:h.endsWith(".svg"),b=Gs(n);if(n&&c){const p=b==null?void 0:b({style:l,className:i});return p||d.jsx("span",{style:l,className:i})}return d.jsx("img",{src:n,style:{width:r,height:o,...l},alt:a})}function Xs(e){const{getResourceUrl:t}=zt();return e&&t(`resource:icon.${e}`)}function Ys(e){return/^\$[a-zA-Z0-9_$-]+$/g.test(e)?el(e):{xs:"0.75em",sm:"1em",md:"1.5rem",lg:"2em"}[e]||e}function Zs(e,t){const r=Ki();if(e&&typeof e=="string"){const o=":",a=e.split(o);if(a.length>1){const l=r.lookupIconRenderer(`${a[0].toLowerCase()}${o}${a[1]}`);if(l)return l}if(a.length===1){const l=r.lookupIconRenderer(a[0]);if(l)return l}}if(t&&typeof t=="string"){const o=r.lookupIconRenderer(t.toLowerCase());if(o)return o}return null}function tl(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function sr(...e){return t=>{let r=!1;const o=e.map(a=>{const l=tl(a,t);return!r&&typeof l=="function"&&(r=!0),l});if(r)return()=>{for(let a=0;a<o.length;a++){const l=o[a];typeof l=="function"?l():tl(e[a],null)}}}}const Qs=({children:e,...t})=>d.jsx(Oi.VisuallyHidden,{...t,children:e}),rt={type:"button",iconPosition:"start",contentPosition:"center",orientation:"horizontal",variant:"solid",themeColor:"primary",size:"sm",autoFocus:!1},ot=s.forwardRef(function({id:t,type:r=rt.type,icon:o,iconPosition:a=rt.iconPosition,contentPosition:l=rt.contentPosition,orientation:i=rt.orientation,variant:n=rt.variant,themeColor:c=rt.themeColor,size:b=rt.size,disabled:h,children:p,formId:C,onClick:v,onFocus:g,onBlur:T,style:y,gap:$,className:w,autoFocus:_=rt.autoFocus,contextualLabel:A,...P},Z){const E=s.useRef(null),j=Z?sr(Z,E):E;s.useEffect(()=>{_&&setTimeout(()=>{var M;(M=E.current)==null||M.focus()},0)},[_]);const U=a==="start";return d.jsxs("button",{...P,id:t,type:r,ref:j,className:re(w,Ye.button,{[Ye.buttonHorizontal]:i==="horizontal",[Ye.buttonVertical]:i==="vertical",[Ye.xs]:b==="xs",[Ye.sm]:b==="sm",[Ye.md]:b==="md",[Ye.lg]:b==="lg",[Ye.solidPrimary]:n==="solid"&&c==="primary",[Ye.solidSecondary]:n==="solid"&&c==="secondary",[Ye.solidAttention]:n==="solid"&&c==="attention",[Ye.outlinedPrimary]:n==="outlined"&&c==="primary",[Ye.outlinedSecondary]:n==="outlined"&&c==="secondary",[Ye.outlinedAttention]:n==="outlined"&&c==="attention",[Ye.ghostPrimary]:n==="ghost"&&c==="primary",[Ye.ghostSecondary]:n==="ghost"&&c==="secondary",[Ye.ghostAttention]:n==="ghost"&&c==="attention",[Ye.alignStart]:l==="start",[Ye.alignEnd]:l==="end"}),autoFocus:_,disabled:h,form:C,style:y,onClick:v,onFocus:g,onBlur:T,children:[o&&U&&d.jsx(d.Fragment,{children:o}),p,o&&!p&&d.jsx(Js,{icon:o,accessibleName:A}),o&&!U&&d.jsx(d.Fragment,{children:o})]})}),Js=({icon:e,accessibleName:t=""})=>{const r=e.props;return d.jsx(Qs,{children:d.jsx("span",{children:t||(r==null?void 0:r.name)||(r==null?void 0:r.alt)})})},K="Button",Ks={description:"Button is an interactive element that triggers an action when clicked.",status:"stable",props:{autoFocus:{description:"Indicates if the button should receive focus when the page loads.",isRequired:!1,type:"boolean",defaultValue:rt.autoFocus},variant:{description:"The button variant determines the level of emphasis the button should possess.",isRequired:!1,type:"string",availableValues:Ei,defaultValue:rt.variant},themeColor:{description:"Sets the button color scheme defined in the application theme.",isRequired:!1,type:"string",availableValues:zi,defaultValue:rt.themeColor},size:{description:"Sets the size of the button.",isRequired:!1,type:"string",availableValues:Oa,defaultValue:rt.size},label:{description:`This property is an optional string to set a label for the ${K}. If no label is specified and an icon is set, the ${K} will modify its styling to look like a small icon button. When the ${K} has nested children, it will display them and ignore the value of the \`label\` prop.`,type:"string"},type:{description:`This optional string describes how the ${K} appears in an HTML context. You rarely need to set this property explicitly.`,availableValues:Bs,valueType:"string",defaultValue:rt.type},enabled:{description:"The value of this property indicates whether the button accepts actions (`true`) or does not react to them (`false`).",type:"boolean",defaultValue:!0},orientation:Es(rt.orientation),icon:{description:`This string value denotes an icon name. The framework will render an icon if XMLUI recognizes the icon by its name. If no label is specified and an icon is set, the ${K} displays only that icon.`,type:"string"},iconPosition:{description:`This optional string determines the location of the icon in the ${K}.`,availableValues:La,type:"string",defaultValue:rt.iconPosition},contentPosition:{description:`This optional value determines how the label and icon (or nested children) should be placedinside the ${K} component.`,availableValues:Mi,type:"string",defaultValue:rt.contentPosition},contextualLabel:{description:`This optional value is used to provide an accessible name for the ${K} in the context of its usage.`,type:"string"}},events:{click:io(K),gotFocus:vt(K),lostFocus:ft(K)},themeVars:Y(Ye.themeVars),defaultThemeVars:{[`width-${K}`]:"fit-content",[`height-${K}`]:"fit-content",[`borderRadius-${K}`]:"$borderRadius",[`fontSize-${K}`]:"$fontSize-small",[`fontWeight-${K}`]:"$fontWeight-medium",[`backgroundColor-${K}-primary`]:"$color-primary-500",[`backgroundColor-${K}-attention`]:"$backgroundColor-attention",[`borderColor-${K}-attention`]:"$color-attention",[`backgroundColor-${K}--disabled`]:"$backgroundColor--disabled",[`borderColor-${K}--disabled`]:"$borderColor--disabled",[`borderStyle-${K}`]:"solid",[`textColor-${K}--disabled`]:"$textColor--disabled",[`outlineColor-${K}--focus`]:"$outlineColor--focus",[`borderWidth-${K}`]:"1px",[`outlineWidth-${K}--focus`]:"$outlineWidth--focus",[`outlineStyle-${K}--focus`]:"$outlineStyle--focus",[`outlineOffset-${K}--focus`]:"$outlineOffset--focus",[`paddingHorizontal-${K}-xs`]:"$space-1",[`paddingVertical-${K}-xs`]:"$space-0_5",[`paddingHorizontal-${K}-sm`]:"$space-4",[`paddingVertical-${K}-sm`]:"$space-2",[`paddingHorizontal-${K}-md`]:"$space-4",[`paddingVertical-${K}-md`]:"$space-3",[`paddingHorizontal-${K}-lg`]:"$space-5",[`paddingVertical-${K}-lg`]:"$space-4",[`textColor-${K}`]:"$color-surface-950",[`textColor-${K}-solid`]:"$const-color-surface-50",[`borderColor-${K}-primary`]:"$color-primary-500",[`backgroundColor-${K}-primary--hover`]:"$color-primary-400",[`backgroundColor-${K}-primary--active`]:"$color-primary-500",[`backgroundColor-${K}-primary-outlined--hover`]:"$color-primary-50",[`backgroundColor-${K}-primary-outlined--active`]:"$color-primary-100",[`borderColor-${K}-primary-outlined`]:"$color-primary-600",[`borderColor-${K}-primary-outlined--hover`]:"$color-primary-500",[`textColor-${K}-primary-outlined`]:"$color-primary-900",[`textColor-${K}-primary-outlined--hover`]:"$color-primary-950",[`textColor-${K}-primary-outlined--active`]:"$color-primary-900",[`backgroundColor-${K}-primary-ghost--hover`]:"$color-primary-50",[`backgroundColor-${K}-primary-ghost--active`]:"$color-primary-100",[`borderColor-${K}-secondary`]:"$color-secondary-100",[`backgroundColor-${K}-secondary`]:"$color-secondary-500",[`backgroundColor-${K}-secondary--hover`]:"$color-secondary-400",[`backgroundColor-${K}-secondary--active`]:"$color-secondary-500",[`backgroundColor-${K}-secondary-outlined--hover`]:"$color-secondary-50",[`backgroundColor-${K}-secondary-outlined--active`]:"$color-secondary-100",[`backgroundColor-${K}-secondary-ghost--hover`]:"$color-secondary-100",[`backgroundColor-${K}-secondary-ghost--active`]:"$color-secondary-100",[`backgroundColor-${K}-attention--hover`]:"$color-danger-400",[`backgroundColor-${K}-attention--active`]:"$color-danger-500",[`backgroundColor-${K}-attention-outlined--hover`]:"$color-danger-50",[`backgroundColor-${K}-attention-outlined--active`]:"$color-danger-100",[`backgroundColor-${K}-attention-ghost--hover`]:"$color-danger-50",[`backgroundColor-${K}-attention-ghost--active`]:"$color-danger-100"}},Rt={themeVars:'"[]"',base:"_base_724s4_13",hoverContainer:"_hoverContainer_724s4_22",handlesClick:"_handlesClick_724s4_35",vertical:"_vertical_724s4_39",reverse:"_reverse_724s4_43",horizontal:"_horizontal_724s4_47",justifyItemsStart:"_justifyItemsStart_724s4_55",justifyItemsCenter:"_justifyItemsCenter_724s4_59",justifyItemsStretch:"_justifyItemsStretch_724s4_63",justifyItemsEnd:"_justifyItemsEnd_724s4_67",alignItemsStart:"_alignItemsStart_724s4_72",alignItemsCenter:"_alignItemsCenter_724s4_76",alignItemsStretch:"_alignItemsStretch_724s4_80",alignItemsEnd:"_alignItemsEnd_724s4_84",alignItemsBaseline:"_alignItemsBaseline_724s4_88"};function ed(e,t,r){return s.useMemo(()=>e==="horizontal"?{horizontal:t&&Rt[`justifyItems${oa(t)}`],vertical:r&&Rt[`alignItems${oa(r)}`]}:{horizontal:t&&Rt[`alignItems${oa(t)}`],vertical:r&&Rt[`justifyItems${oa(r)}`]},[e,t,r])}const rl="vertical",Ea=s.forwardRef(function({uid:t,children:r,orientation:o=rl,horizontalAlignment:a,verticalAlignment:l,style:i,reverse:n,hoverContainer:c,visibleOnHover:b,onClick:h,onMount:p,...C},v){Ds(p);const{horizontal:g,vertical:T}=ed(o,a,l);return d.jsx("div",{...C,onClick:h,ref:v,style:i,className:re(Rt.base,{[Rt.vertical]:o==="vertical",[Rt.horizontal]:o==="horizontal",[Rt.reverse]:n,[Rt.hoverContainer]:c,"display-on-hover":b,[Rt.handlesClick]:!!h},g??"",T??""),children:r})}),No="Stack",aa={description:"`Stack` is a layout container displaying children in a horizontal or vertical stack.",props:{gap:{description:"Optional size value indicating the gap between child elements.",valueType:"string",defaultValue:"$gap-normal"},reverse:{description:"Optional boolean property to reverse the order of child elements.",valueType:"boolean",defaultValue:!1},wrapContent:{description:"Optional boolean which wraps the content if set to true and the available space is not big enough. Works only with horizontal orientations.",valueType:"boolean",defaultValue:!1},orientation:{description:"An optional property that governs the Stack's orientation (whether the Stack lays out its children in a row or a column).",availableValues:["horizontal","vertical"],valueType:"string",defaultValue:rl},horizontalAlignment:{description:"Manages the horizontal content alignment for each child element in the Stack.",availableValues:Pi,valueType:"string",defaultValue:"start"},verticalAlignment:{description:"Manages the vertical content alignment for each child element in the Stack.",availableValues:Pi,valueType:"string",defaultValue:"start"},hoverContainer:Xe("Reserved for future use"),visibleOnHover:Xe("Reserved for future use")},events:{click:io(No),mounted:Xe("Reserved for future use")},themeVars:Y(Rt.themeVars)},zo={...aa,props:{...aa.props}},td={...zo,specializedFrom:No,description:"This component represents a stack rendering its contents vertically.",props:{...aa.props}},rd={...zo,specializedFrom:No,description:"This component represents a stack rendering its contents horizontally.",props:{...aa.props}},od={...zo,specializedFrom:No,description:"This component represents a stack that renders its contents vertically and aligns that in the center along both axes."},ad={...zo,specializedFrom:No,description:"This component represents a stack that renders its contents horizontally and aligns that in the center along both axes."},Ft={themeVars:`'{"Input:gap-adornment-TextBox": "var(--xmlui-gap-adornment-TextBox)", "Input:borderRadius-TextBox-default": "var(--xmlui-borderRadius-TextBox-default)", "Input:borderColor-TextBox-default": "var(--xmlui-borderColor-TextBox-default)", "Input:borderWidth-TextBox-default": "var(--xmlui-borderWidth-TextBox-default)", "Input:borderStyle-TextBox-default": "var(--xmlui-borderStyle-TextBox-default)", "Input:fontSize-TextBox-default": "var(--xmlui-fontSize-TextBox-default)", "Input:padding-TextBox-default": "var(--xmlui-padding-TextBox-default)", "Input:backgroundColor-TextBox-default": "var(--xmlui-backgroundColor-TextBox-default)", "Input:boxShadow-TextBox-default": "var(--xmlui-boxShadow-TextBox-default)", "Input:textColor-TextBox-default": "var(--xmlui-textColor-TextBox-default)", "Input:borderColor-TextBox-default--hover": "var(--xmlui-borderColor-TextBox-default--hover)", "Input:backgroundColor-TextBox-default--hover": "var(--xmlui-backgroundColor-TextBox-default--hover)", "Input:boxShadow-TextBox-default--hover": "var(--xmlui-boxShadow-TextBox-default--hover)", "Input:textColor-TextBox-default--hover": "var(--xmlui-textColor-TextBox-default--hover)", "Input:borderColor-TextBox-default--focus": "var(--xmlui-borderColor-TextBox-default--focus)", "Input:backgroundColor-TextBox-default--focus": "var(--xmlui-backgroundColor-TextBox-default--focus)", "Input:boxShadow-TextBox-default--focus": "var(--xmlui-boxShadow-TextBox-default--focus)", "Input:textColor-TextBox-default--focus": "var(--xmlui-textColor-TextBox-default--focus)", "Input:outlineWidth-TextBox-default--focus": "var(--xmlui-outlineWidth-TextBox-default--focus)", "Input:outlineColor-TextBox-default--focus": "var(--xmlui-outlineColor-TextBox-default--focus)", "Input:outlineStyle-TextBox-default--focus": "var(--xmlui-outlineStyle-TextBox-default--focus)", "Input:outlineOffset-TextBox-default--focus": "var(--xmlui-outlineOffset-TextBox-default--focus)", "Input:color-placeholder-TextBox-default": "var(--xmlui-color-placeholder-TextBox-default)", "Input:color-adornment-TextBox-default": "var(--xmlui-color-adornment-TextBox-default)", "Input:borderRadius-TextBox-error": "var(--xmlui-borderRadius-TextBox-error)", "Input:borderColor-TextBox-error": "var(--xmlui-borderColor-TextBox-error)", "Input:borderWidth-TextBox-error": "var(--xmlui-borderWidth-TextBox-error)", "Input:borderStyle-TextBox-error": "var(--xmlui-borderStyle-TextBox-error)", "Input:fontSize-TextBox-error": "var(--xmlui-fontSize-TextBox-error)", "Input:padding-TextBox-error": "var(--xmlui-padding-TextBox-error)", "Input:backgroundColor-TextBox-error": "var(--xmlui-backgroundColor-TextBox-error)", "Input:boxShadow-TextBox-error": "var(--xmlui-boxShadow-TextBox-error)", "Input:textColor-TextBox-error": "var(--xmlui-textColor-TextBox-error)", "Input:borderColor-TextBox-error--hover": "var(--xmlui-borderColor-TextBox-error--hover)", "Input:backgroundColor-TextBox-error--hover": "var(--xmlui-backgroundColor-TextBox-error--hover)", "Input:boxShadow-TextBox-error--hover": "var(--xmlui-boxShadow-TextBox-error--hover)", "Input:textColor-TextBox-error--hover": "var(--xmlui-textColor-TextBox-error--hover)", "Input:borderColor-TextBox-error--focus": "var(--xmlui-borderColor-TextBox-error--focus)", "Input:backgroundColor-TextBox-error--focus": "var(--xmlui-backgroundColor-TextBox-error--focus)", "Input:boxShadow-TextBox-error--focus": "var(--xmlui-boxShadow-TextBox-error--focus)", "Input:textColor-TextBox-error--focus": "var(--xmlui-textColor-TextBox-error--focus)", "Input:outlineWidth-TextBox-error--focus": "var(--xmlui-outlineWidth-TextBox-error--focus)", "Input:outlineColor-TextBox-error--focus": "var(--xmlui-outlineColor-TextBox-error--focus)", "Input:outlineStyle-TextBox-error--focus": "var(--xmlui-outlineStyle-TextBox-error--focus)", "Input:outlineOffset-TextBox-error--focus": "var(--xmlui-outlineOffset-TextBox-error--focus)", "Input:color-placeholder-TextBox-error": "var(--xmlui-color-placeholder-TextBox-error)", "Input:color-adornment-TextBox-error": "var(--xmlui-color-adornment-TextBox-error)", "Input:borderRadius-TextBox-warning": "var(--xmlui-borderRadius-TextBox-warning)", "Input:borderColor-TextBox-warning": "var(--xmlui-borderColor-TextBox-warning)", "Input:borderWidth-TextBox-warning": "var(--xmlui-borderWidth-TextBox-warning)", "Input:borderStyle-TextBox-warning": "var(--xmlui-borderStyle-TextBox-warning)", "Input:fontSize-TextBox-warning": "var(--xmlui-fontSize-TextBox-warning)", "Input:padding-TextBox-warning": "var(--xmlui-padding-TextBox-warning)", "Input:backgroundColor-TextBox-warning": "var(--xmlui-backgroundColor-TextBox-warning)", "Input:boxShadow-TextBox-warning": "var(--xmlui-boxShadow-TextBox-warning)", "Input:textColor-TextBox-warning": "var(--xmlui-textColor-TextBox-warning)", "Input:borderColor-TextBox-warning--hover": "var(--xmlui-borderColor-TextBox-warning--hover)", "Input:backgroundColor-TextBox-warning--hover": "var(--xmlui-backgroundColor-TextBox-warning--hover)", "Input:boxShadow-TextBox-warning--hover": "var(--xmlui-boxShadow-TextBox-warning--hover)", "Input:textColor-TextBox-warning--hover": "var(--xmlui-textColor-TextBox-warning--hover)", "Input:borderColor-TextBox-warning--focus": "var(--xmlui-borderColor-TextBox-warning--focus)", "Input:backgroundColor-TextBox-warning--focus": "var(--xmlui-backgroundColor-TextBox-warning--focus)", "Input:boxShadow-TextBox-warning--focus": "var(--xmlui-boxShadow-TextBox-warning--focus)", "Input:textColor-TextBox-warning--focus": "var(--xmlui-textColor-TextBox-warning--focus)", "Input:outlineWidth-TextBox-warning--focus": "var(--xmlui-outlineWidth-TextBox-warning--focus)", "Input:outlineColor-TextBox-warning--focus": "var(--xmlui-outlineColor-TextBox-warning--focus)", "Input:outlineStyle-TextBox-warning--focus": "var(--xmlui-outlineStyle-TextBox-warning--focus)", "Input:outlineOffset-TextBox-warning--focus": "var(--xmlui-outlineOffset-TextBox-warning--focus)", "Input:color-placeholder-TextBox-warning": "var(--xmlui-color-placeholder-TextBox-warning)", "Input:color-adornment-TextBox-warning": "var(--xmlui-color-adornment-TextBox-warning)", "Input:borderRadius-TextBox-success": "var(--xmlui-borderRadius-TextBox-success)", "Input:borderColor-TextBox-success": "var(--xmlui-borderColor-TextBox-success)", "Input:borderWidth-TextBox-success": "var(--xmlui-borderWidth-TextBox-success)", "Input:borderStyle-TextBox-success": "var(--xmlui-borderStyle-TextBox-success)", "Input:fontSize-TextBox-success": "var(--xmlui-fontSize-TextBox-success)", "Input:padding-TextBox-success": "var(--xmlui-padding-TextBox-success)", "Input:backgroundColor-TextBox-success": "var(--xmlui-backgroundColor-TextBox-success)", "Input:boxShadow-TextBox-success": "var(--xmlui-boxShadow-TextBox-success)", "Input:textColor-TextBox-success": "var(--xmlui-textColor-TextBox-success)", "Input:borderColor-TextBox-success--hover": "var(--xmlui-borderColor-TextBox-success--hover)", "Input:backgroundColor-TextBox-success--hover": "var(--xmlui-backgroundColor-TextBox-success--hover)", "Input:boxShadow-TextBox-success--hover": "var(--xmlui-boxShadow-TextBox-success--hover)", "Input:textColor-TextBox-success--hover": "var(--xmlui-textColor-TextBox-success--hover)", "Input:borderColor-TextBox-success--focus": "var(--xmlui-borderColor-TextBox-success--focus)", "Input:backgroundColor-TextBox-success--focus": "var(--xmlui-backgroundColor-TextBox-success--focus)", "Input:boxShadow-TextBox-success--focus": "var(--xmlui-boxShadow-TextBox-success--focus)", "Input:textColor-TextBox-success--focus": "var(--xmlui-textColor-TextBox-success--focus)", "Input:outlineWidth-TextBox-success--focus": "var(--xmlui-outlineWidth-TextBox-success--focus)", "Input:outlineColor-TextBox-success--focus": "var(--xmlui-outlineColor-TextBox-success--focus)", "Input:outlineStyle-TextBox-success--focus": "var(--xmlui-outlineStyle-TextBox-success--focus)", "Input:outlineOffset-TextBox-success--focus": "var(--xmlui-outlineOffset-TextBox-success--focus)", "Input:color-placeholder-TextBox-success": "var(--xmlui-color-placeholder-TextBox-success)", "Input:color-adornment-TextBox-success": "var(--xmlui-color-adornment-TextBox-success)", "Input:backgroundColor-TextBox--disabled": "var(--xmlui-backgroundColor-TextBox--disabled)", "Input:textColor-TextBox--disabled": "var(--xmlui-textColor-TextBox--disabled)", "Input:borderColor-TextBox--disabled": "var(--xmlui-borderColor-TextBox--disabled)"}'`,inputRoot:"_inputRoot_bbu09_13",input:"_input_bbu09_13",adornment:"_adornment_bbu09_53",error:"_error_bbu09_56",warning:"_warning_bbu09_91",valid:"_valid_bbu09_126",readOnly:"_readOnly_bbu09_185"},id={wrapper:"_wrapper_wg0td_13"},lo={themeVars:`'{"marginTop-Text": "var(--xmlui-marginTop-Text)", "marginBottom-Text": "var(--xmlui-marginBottom-Text)", "marginLeft-Text": "var(--xmlui-marginLeft-Text)", "marginRight-Text": "var(--xmlui-marginRight-Text)", "verticalAlign-Text": "var(--xmlui-verticalAlign-Text)", "marginTop-Text-markdown": "var(--xmlui-marginTop-Text-markdown)", "marginBottom-Text-markdown": "var(--xmlui-marginBottom-Text-markdown)", "marginLeft-Text-markdown": "var(--xmlui-marginLeft-Text-markdown)", "marginRight-Text-markdown": "var(--xmlui-marginRight-Text-markdown)", "verticalAlign-Text-markdown": "var(--xmlui-verticalAlign-Text-markdown)", "marginTop-Text-abbr": "var(--xmlui-marginTop-Text-abbr)", "marginBottom-Text-abbr": "var(--xmlui-marginBottom-Text-abbr)", "marginLeft-Text-abbr": "var(--xmlui-marginLeft-Text-abbr)", "marginRight-Text-abbr": "var(--xmlui-marginRight-Text-abbr)", "verticalAlign-Text-abbr": "var(--xmlui-verticalAlign-Text-abbr)", "marginTop-Text-cite": "var(--xmlui-marginTop-Text-cite)", "marginBottom-Text-cite": "var(--xmlui-marginBottom-Text-cite)", "marginLeft-Text-cite": "var(--xmlui-marginLeft-Text-cite)", "marginRight-Text-cite": "var(--xmlui-marginRight-Text-cite)", "verticalAlign-Text-cite": "var(--xmlui-verticalAlign-Text-cite)", "marginTop-Text-em": "var(--xmlui-marginTop-Text-em)", "marginBottom-Text-em": "var(--xmlui-marginBottom-Text-em)", "marginLeft-Text-em": "var(--xmlui-marginLeft-Text-em)", "marginRight-Text-em": "var(--xmlui-marginRight-Text-em)", "verticalAlign-Text-em": "var(--xmlui-verticalAlign-Text-em)", "marginTop-Text-codefence": "var(--xmlui-marginTop-Text-codefence)", "marginBottom-Text-codefence": "var(--xmlui-marginBottom-Text-codefence)", "marginTop-Text-code": "var(--xmlui-marginTop-Text-code)", "marginBottom-Text-code": "var(--xmlui-marginBottom-Text-code)", "marginLeft-Text-code": "var(--xmlui-marginLeft-Text-code)", "marginRight-Text-code": "var(--xmlui-marginRight-Text-code)", "verticalAlign-Text-code": "var(--xmlui-verticalAlign-Text-code)", "marginLeft-Text-codefence": "var(--xmlui-marginLeft-Text-codefence)", "marginRight-Text-codefence": "var(--xmlui-marginRight-Text-codefence)", "verticalAlign-Text-codefence": "var(--xmlui-verticalAlign-Text-codefence)", "marginTop-Text-deleted": "var(--xmlui-marginTop-Text-deleted)", "marginBottom-Text-deleted": "var(--xmlui-marginBottom-Text-deleted)", "marginLeft-Text-deleted": "var(--xmlui-marginLeft-Text-deleted)", "marginRight-Text-deleted": "var(--xmlui-marginRight-Text-deleted)", "verticalAlign-Text-deleted": "var(--xmlui-verticalAlign-Text-deleted)", "marginTop-Text-inserted": "var(--xmlui-marginTop-Text-inserted)", "marginBottom-Text-inserted": "var(--xmlui-marginBottom-Text-inserted)", "marginLeft-Text-inserted": "var(--xmlui-marginLeft-Text-inserted)", "marginRight-Text-inserted": "var(--xmlui-marginRight-Text-inserted)", "verticalAlign-Text-inserted": "var(--xmlui-verticalAlign-Text-inserted)", "marginTop-Text-keyboard": "var(--xmlui-marginTop-Text-keyboard)", "marginBottom-Text-keyboard": "var(--xmlui-marginBottom-Text-keyboard)", "marginLeft-Text-keyboard": "var(--xmlui-marginLeft-Text-keyboard)", "marginRight-Text-keyboard": "var(--xmlui-marginRight-Text-keyboard)", "verticalAlign-Text-keyboard": "var(--xmlui-verticalAlign-Text-keyboard)", "marginTop-Text-marked": "var(--xmlui-marginTop-Text-marked)", "marginBottom-Text-marked": "var(--xmlui-marginBottom-Text-marked)", "marginLeft-Text-marked": "var(--xmlui-marginLeft-Text-marked)", "marginRight-Text-marked": "var(--xmlui-marginRight-Text-marked)", "verticalAlign-Text-marked": "var(--xmlui-verticalAlign-Text-marked)", "marginTop-Text-mono": "var(--xmlui-marginTop-Text-mono)", "marginBottom-Text-mono": "var(--xmlui-marginBottom-Text-mono)", "marginLeft-Text-mono": "var(--xmlui-marginLeft-Text-mono)", "marginRight-Text-mono": "var(--xmlui-marginRight-Text-mono)", "verticalAlign-Text-mono": "var(--xmlui-verticalAlign-Text-mono)", "marginTop-Text-sample": "var(--xmlui-marginTop-Text-sample)", "marginBottom-Text-sample": "var(--xmlui-marginBottom-Text-sample)", "marginLeft-Text-sample": "var(--xmlui-marginLeft-Text-sample)", "marginRight-Text-sample": "var(--xmlui-marginRight-Text-sample)", "verticalAlign-Text-sample": "var(--xmlui-verticalAlign-Text-sample)", "marginTop-Text-sup": "var(--xmlui-marginTop-Text-sup)", "marginBottom-Text-sup": "var(--xmlui-marginBottom-Text-sup)", "marginLeft-Text-sup": "var(--xmlui-marginLeft-Text-sup)", "marginRight-Text-sup": "var(--xmlui-marginRight-Text-sup)", "verticalAlign-Text-sup": "var(--xmlui-verticalAlign-Text-sup)", "marginTop-Text-sub": "var(--xmlui-marginTop-Text-sub)", "marginBottom-Text-sub": "var(--xmlui-marginBottom-Text-sub)", "marginLeft-Text-sub": "var(--xmlui-marginLeft-Text-sub)", "marginRight-Text-sub": "var(--xmlui-marginRight-Text-sub)", "verticalAlign-Text-sub": "var(--xmlui-verticalAlign-Text-sub)", "marginTop-Text-var": "var(--xmlui-marginTop-Text-var)", "marginBottom-Text-var": "var(--xmlui-marginBottom-Text-var)", "marginLeft-Text-var": "var(--xmlui-marginLeft-Text-var)", "marginRight-Text-var": "var(--xmlui-marginRight-Text-var)", "verticalAlign-Text-var": "var(--xmlui-verticalAlign-Text-var)", "marginTop-Text-title": "var(--xmlui-marginTop-Text-title)", "marginBottom-Text-title": "var(--xmlui-marginBottom-Text-title)", "marginLeft-Text-title": "var(--xmlui-marginLeft-Text-title)", "marginRight-Text-title": "var(--xmlui-marginRight-Text-title)", "verticalAlign-Text-title": "var(--xmlui-verticalAlign-Text-title)", "marginTop-Text-subtitle": "var(--xmlui-marginTop-Text-subtitle)", "marginBottom-Text-subtitle": "var(--xmlui-marginBottom-Text-subtitle)", "marginLeft-Text-subtitle": "var(--xmlui-marginLeft-Text-subtitle)", "marginRight-Text-subtitle": "var(--xmlui-marginRight-Text-subtitle)", "verticalAlign-Text-subtitle": "var(--xmlui-verticalAlign-Text-subtitle)", "marginTop-Text-small": "var(--xmlui-marginTop-Text-small)", "marginBottom-Text-small": "var(--xmlui-marginBottom-Text-small)", "marginLeft-Text-small": "var(--xmlui-marginLeft-Text-small)", "marginRight-Text-small": "var(--xmlui-marginRight-Text-small)", "verticalAlign-Text-small": "var(--xmlui-verticalAlign-Text-small)", "marginTop-Text-caption": "var(--xmlui-marginTop-Text-caption)", "marginBottom-Text-caption": "var(--xmlui-marginBottom-Text-caption)", "marginLeft-Text-caption": "var(--xmlui-marginLeft-Text-caption)", "marginRight-Text-caption": "var(--xmlui-marginRight-Text-caption)", "verticalAlign-Text-caption": "var(--xmlui-verticalAlign-Text-caption)", "marginTop-Text-placeholder": "var(--xmlui-marginTop-Text-placeholder)", "marginBottom-Text-placeholder": "var(--xmlui-marginBottom-Text-placeholder)", "marginLeft-Text-placeholder": "var(--xmlui-marginLeft-Text-placeholder)", "marginRight-Text-placeholder": "var(--xmlui-marginRight-Text-placeholder)", "verticalAlign-Text-placeholder": "var(--xmlui-verticalAlign-Text-placeholder)", "marginTop-Text-paragraph": "var(--xmlui-marginTop-Text-paragraph)", "marginBottom-Text-paragraph": "var(--xmlui-marginBottom-Text-paragraph)", "marginLeft-Text-paragraph": "var(--xmlui-marginLeft-Text-paragraph)", "marginRight-Text-paragraph": "var(--xmlui-marginRight-Text-paragraph)", "verticalAlign-Text-paragraph": "var(--xmlui-verticalAlign-Text-paragraph)", "marginTop-Text-subheading": "var(--xmlui-marginTop-Text-subheading)", "marginBottom-Text-subheading": "var(--xmlui-marginBottom-Text-subheading)", "marginLeft-Text-subheading": "var(--xmlui-marginLeft-Text-subheading)", "marginRight-Text-subheading": "var(--xmlui-marginRight-Text-subheading)", "verticalAlign-Text-subheading": "var(--xmlui-verticalAlign-Text-subheading)", "marginTop-Text-tableheading": "var(--xmlui-marginTop-Text-tableheading)", "marginBottom-Text-tableheading": "var(--xmlui-marginBottom-Text-tableheading)", "marginLeft-Text-tableheading": "var(--xmlui-marginLeft-Text-tableheading)", "marginRight-Text-tableheading": "var(--xmlui-marginRight-Text-tableheading)", "verticalAlign-Text-tableheading": "var(--xmlui-verticalAlign-Text-tableheading)", "marginTop-Text-secondary": "var(--xmlui-marginTop-Text-secondary)", "marginBottom-Text-secondary": "var(--xmlui-marginBottom-Text-secondary)", "marginLeft-Text-secondary": "var(--xmlui-marginLeft-Text-secondary)", "marginRight-Text-secondary": "var(--xmlui-marginRight-Text-secondary)", "verticalAlign-Text-secondary": "var(--xmlui-verticalAlign-Text-secondary)"}'`,text:"_text_bnvfx_13",markdown:"_markdown_bnvfx_75",abbr:"_abbr_bnvfx_132",cite:"_cite_bnvfx_189",em:"_em_bnvfx_246",codefence:"_codefence_bnvfx_303",code:"_code_bnvfx_303",textcode:"_textcode_bnvfx_308",deleted:"_deleted_bnvfx_455",inserted:"_inserted_bnvfx_527",keyboard:"_keyboard_bnvfx_599",marked:"_marked_bnvfx_656",mono:"_mono_bnvfx_728",sample:"_sample_bnvfx_785",sup:"_sup_bnvfx_842",sub:"_sub_bnvfx_899",var:"_var_bnvfx_956",title:"_title_bnvfx_1013",subtitle:"_subtitle_bnvfx_1070",small:"_small_bnvfx_1127",caption:"_caption_bnvfx_1184",placeholder:"_placeholder_bnvfx_1241",paragraph:"_paragraph_bnvfx_1298",subheading:"_subheading_bnvfx_1355",tableheading:"_tableheading_bnvfx_1412",secondary:"_secondary_bnvfx_1469",strong:"_strong_bnvfx_1526",truncateOverflow:"_truncateOverflow_bnvfx_1534",preserveLinebreaks:"_preserveLinebreaks_bnvfx_1541",noEllipsis:"_noEllipsis_bnvfx_1545"};function ld(e){if(typeof e=="number")return e+"px";const t=e.trim();if(t.startsWith("var("))return t;const r=parseFloat(t),o=r.toString(),a=t.replace(o,"");return Number.isNaN(r)?"0px":a===""?o+"px":t}function ol(e){const t=e&&e>0?e:0;return t>1?{WebkitLineClamp:t,lineClamp:t,display:"-webkit-box",WebkitBoxOrient:"vertical",boxOrient:"vertical",whiteSpace:"initial"}:vr}function al(e){if(typeof e=="number")return e+"px";if(typeof e=="string"&&/^\d+$/.test(e.trim())){const t=parseInt(e,10);if(!isNaN(t))return t+"px"}return e==null?void 0:e.toString()}const no=s.forwardRef(function({uid:t,variant:r,maxLines:o=0,style:a,children:l,preserveLinebreaks:i,ellipses:n=!0,...c},b){const h=s.useRef(null),p=b?sr(h,b):h,{syntaxHighlightClasses:C,...v}=c,g=s.useMemo(()=>!r||!Ri[r]?"div":Ri[r],[r]);return d.jsx(d.Fragment,{children:d.jsx(g,{...v,ref:p,className:re([C,lo.text,lo[r||"default"],{[lo.truncateOverflow]:o>0,[lo.preserveLinebreaks]:i,[lo.noEllipsis]:!n}]),style:{...a,...ol(o)},children:l})})});function fr({iconName:e,text:t,className:r}){return d.jsx(d.Fragment,{children:e||t?d.jsxs("div",{className:re(id.wrapper,r),role:"presentation",children:[d.jsx(ce,{name:e,style:{color:"inherit"}}),t&&d.jsx("div",{style:{display:"flex",userSelect:"none"},children:d.jsx(no,{style:{fontSize:"inherit"},children:t})})]}):null})}function nd(e){const t=sd(e),r=ze.forwardRef((o,a)=>{const{children:l,...i}=o,n=ze.Children.toArray(l),c=n.find(ud);if(c){const b=c.props.children,h=n.map(p=>p===c?ze.Children.count(b)>1?ze.Children.only(null):ze.isValidElement(b)?b.props.children:null:p);return d.jsx(t,{...i,ref:a,children:ze.isValidElement(b)?ze.cloneElement(b,void 0,h):null})}return d.jsx(t,{...i,ref:a,children:l})});return r.displayName=`${e}.Slot`,r}var il=nd("Slot");function sd(e){const t=ze.forwardRef((r,o)=>{const{children:a,...l}=r;if(ze.isValidElement(a)){const i=md(a),n=cd(l,a.props);return a.type!==ze.Fragment&&(n.ref=o?sr(o,i):i),ze.cloneElement(a,n)}return ze.Children.count(a)>1?ze.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var dd=Symbol("radix.slottable");function ud(e){return ze.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dd}function cd(e,t){const r={...t};for(const o in t){const a=e[o],l=t[o];/^on[A-Z]/.test(o)?a&&l?r[o]=(...n)=>{l(...n),a(...n)}:a&&(r[o]=a):o==="style"?r[o]={...a,...l}:o==="className"&&(r[o]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}function md(e){var o,a;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const Ct={themeVars:`'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)", "fontFamily-FormItemLabel": "var(--xmlui-fontFamily-FormItemLabel)", "fontSize-FormItemLabel": "var(--xmlui-fontSize-FormItemLabel)", "fontWeight-FormItemLabel": "var(--xmlui-fontWeight-FormItemLabel)", "fontStyle-FormItemLabel": "var(--xmlui-fontStyle-FormItemLabel)", "textTransform-FormItemLabel": "var(--xmlui-textTransform-FormItemLabel)", "textColor-FormItemLabel-required": "var(--xmlui-textColor-FormItemLabel-required)", "fontSize-FormItemLabel-required": "var(--xmlui-fontSize-FormItemLabel-required)", "fontWeight-FormItemLabel-required": "var(--xmlui-fontWeight-FormItemLabel-required)", "fontStyle-FormItemLabel-required": "var(--xmlui-fontStyle-FormItemLabel-required)", "textTransform-FormItemLabel-required": "var(--xmlui-textTransform-FormItemLabel-required)", "textColor-FormItemLabel-requiredMark": "var(--xmlui-textColor-FormItemLabel-requiredMark)"}'`,container:"_container_1cgc4_13",top:"_top_1cgc4_20",end:"_end_1cgc4_25",bottom:"_bottom_1cgc4_31",start:"_start_1cgc4_36",shrinkToLabel:"_shrinkToLabel_1cgc4_42",itemWithLabel:"_itemWithLabel_1cgc4_45",inputLabel:"_inputLabel_1cgc4_48",disabled:"_disabled_1cgc4_61",labelBreak:"_labelBreak_1cgc4_65",required:"_required_1cgc4_70",requiredMark:"_requiredMark_1cgc4_77"},Pa={themeVars:`'{"size-Spinner": "var(--xmlui-size-Spinner)", "thickness-Spinner": "var(--xmlui-thickness-Spinner)", "borderColor-Spinner": "var(--xmlui-borderColor-Spinner)"}'`,"lds-ring":"_lds-ring_xat8c_13",fullScreenSpinnerWrapper:"_fullScreenSpinnerWrapper_xat8c_54"},ll=s.forwardRef(function({delay:t=400,fullScreen:r=!1,style:o},a){const[l,i]=s.useState(t===0);s.useEffect(()=>{const c=setTimeout(()=>{i(!0)},t);return()=>{clearTimeout(c)}},[t]);const n=d.jsx(d.Fragment,{children:d.jsxs("div",{className:Pa["lds-ring"],style:o,ref:a,children:[d.jsx("div",{}),d.jsx("div",{}),d.jsx("div",{}),d.jsx("div",{})]})});return l?r?d.jsx("div",{className:Pa.fullScreenSpinnerWrapper,children:n}):n:null}),pd=/^[0-9]+$/,lt=s.forwardRef(function({id:t,labelPosition:r="top",style:o,label:a,labelBreak:l=!0,labelWidth:i,enabled:n=!0,required:c=!1,children:b,validationInProgress:h=!1,shrinkToLabel:p=!1,onFocus:C,onBlur:v,labelStyle:g,validationResult:T,isInputTemplateUsed:y=!1},$){const w=s.useId(),_=t||w;return a===void 0&&!T?d.jsx(il,{style:o,id:_,ref:$,children:b}):d.jsxs("div",{style:o,ref:$,className:Ct.itemWithLabel,children:[d.jsxs("div",{className:re(Ct.container,{[Ct.top]:r==="top",[Ct.bottom]:r==="bottom",[Ct.start]:r==="start",[Ct.end]:r==="end",[Ct.shrinkToLabel]:p}),children:[a&&d.jsxs("label",{htmlFor:_,onClick:()=>document.getElementById(_).focus(),style:{...g,width:i&&pd.test(i)?`${i}px`:i,flexShrink:i!==void 0?0:void 0},className:re(Ct.inputLabel,{[Ct.required]:c,[Ct.disabled]:!n,[Ct.labelBreak]:l}),children:[a," ",c&&d.jsx("span",{className:Ct.requiredMark,children:"*"}),h&&d.jsx(ll,{style:{height:"1em",width:"1em",marginLeft:"1em",alignSelf:"center"}})]}),d.jsx(il,{id:y?void 0:_,children:b})]}),T]})}),Ma=s.forwardRef(function({id:t,type:r="text",value:o="",updateState:a=ae,initialValue:l="",style:i,maxLength:n,enabled:c=!0,placeholder:b,validationStatus:h="none",onDidChange:p=ae,onFocus:C=ae,onBlur:v=ae,onKeyDown:g=ae,registerComponentApi:T,startText:y,startIcon:$,endText:w,endIcon:_,gap:A,autoFocus:P,readOnly:Z,tabIndex:E,label:j,labelPosition:U,labelWidth:M,labelBreak:f,required:x},H){const S=s.useId();t=t||S;const O=s.useRef(null);s.useEffect(()=>{P&&setTimeout(()=>{var L;(L=O.current)==null||L.focus()},0)},[P]);const[F,W]=s.useState(o);s.useEffect(()=>{W(o)},[o]),s.useEffect(()=>{a({value:l},{initial:!0})},[l,a]);const D=s.useCallback(L=>{W(L),a({value:L}),p(L)},[p,a]),X=s.useCallback(L=>{D(L.target.value)},[D]),q=s.useCallback(()=>{C==null||C()},[C]),B=s.useCallback(()=>{v==null||v()},[v]),I=s.useCallback(()=>{var L;(L=O.current)==null||L.focus()},[]),z=Ce(L=>{D(L)});return s.useEffect(()=>{T==null||T({focus:I,setValue:z})},[I,T,z]),d.jsx(lt,{id:t,labelPosition:U,label:j,labelWidth:M,labelBreak:f,required:x,enabled:c,style:i,ref:H,children:d.jsxs("div",{className:re(Ft.inputRoot,{[Ft.disabled]:!c,[Ft.readOnly]:Z,[Ft.error]:h==="error",[Ft.warning]:h==="warning",[Ft.valid]:h==="valid"}),tabIndex:-1,onFocus:I,style:{gap:A},children:[d.jsx(fr,{text:y,iconName:$,className:Ft.adornment}),d.jsx("input",{id:t,type:r,className:re(Ft.input,{[Ft.readOnly]:Z}),disabled:!c,value:F,maxLength:n,placeholder:b,onChange:X,onFocus:q,onBlur:B,onKeyDown:g,ref:O,readOnly:Z,autoFocus:P,tabIndex:c?E:-1,required:x}),d.jsx(fr,{text:w,iconName:_,className:Ft.adornment})]})})}),Pr="TextBox",nl={status:"experimental",description:`The \`${Pr}\` is an input component that allows users to input and edit textual data.`,props:{placeholder:Er(),initialValue:Tt(),label:qe(),labelPosition:gt("top"),labelWidth:_t(Pr),labelBreak:Vt(Pr),maxLength:ta(),autoFocus:it(),required:Nt(),readOnly:At(),enabled:Ze(),validationStatus:Wt(),startText:_a(),startIcon:Va(),endText:Aa(),endIcon:Wa(),gap:{description:"This property defines the gap between the adornments and the input area."}},events:{gotFocus:vt(Pr),lostFocus:ft(Pr),didChange:at(Pr)},apis:{focus:Jt(Pr),value:m("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Qt()},themeVars:Y(Ft.themeVars),defaultThemeVars:{"borderRadius-Input":"$borderRadius","textColor-Input":"$textColor-primary","backgroundColor-Input--disabled":"$backgroundColor--disabled","borderWidth-Input":"1px","minHeight-Input":"39px","padding-Input":"$space-2","gap-adornment-Input":"$space-2","borderStyle-Input":"solid","borderColor-Input--disabled":"$borderColor--disabled","textColor-Input--disabled":"$textColor--disabled","borderColor-Input-error":"$borderColor-Input-default--error","borderColor-Input-warning":"$borderColor-Input-default--warning","borderColor-Input-success":"$borderColor-Input-default--success","color-placeholder-Input":"$textColor-subtitle","color-adornment-Input":"$textColor-subtitle","outlineColor-Input--focus":"$outlineColor--focus","outlineWidth-Input--focus":"$outlineWidth--focus","outlineStyle-Input--focus":"$outlineStyle--focus","outlineOffset-Input--focus":"$outlineOffset--focus",light:{},dark:{}}},hd={...nl,description:"The `Password` component is a specialized version of the `TextBox` component that allows users to input and edit passwords."};function bd(e){return typeof e=="string"&&(e==null?void 0:e.startsWith("$"))}const xd={$colorSurface0:"$color-surface-0",$colorSurface50:"$color-surface-50",$colorSurface100:"$color-surface-100",$colorSurface200:"$color-surface-200",$colorSurface600:"$color-surface-600",$colorPrimary50:"$color-primary-50",$colorWarn700:"$color-warn-700",$colorDanger500:"$color-danger-500",$colorDanger600:"$color-danger-600",$colorSuccess600:"$color-success-600"},{$colorSurface0:vd,$colorSurface50:sl,$colorSurface100:fd,$colorSurface200:Da,$colorSurface600:Ra,$colorPrimary50:gd,$colorWarn700:Td,$colorDanger500:Cd,$colorDanger600:yd,$colorSuccess600:Hd}=xd,Sd={id:"root",resources:{},themeVars:{"space-base":"0.25rem","const-color-surface-0":"white","const-color-surface-50":"hsl(204, 30.3%, 96.5%)","const-color-surface-100":"hsl(204, 30.3%, 93%)","const-color-surface-200":"hsl(204, 30.3%, 85%)","const-color-surface-300":"hsl(204, 30.3%, 75%)","const-color-surface-400":"hsl(204, 30.3%, 65%)","const-color-surface-500":"hsl(204, 30.3%, 52%)","const-color-surface-600":"hsl(204, 30.3%, 45%)","const-color-surface-700":"hsl(204, 30.3%, 35%)","const-color-surface-800":"hsl(204, 30.3%, 27%)","const-color-surface-900":"hsl(204, 30.3%, 16%)","const-color-surface-950":"hsl(204, 30.3%, 13%)","const-color-surface-1000":"hsl(204, 30.3%, 9%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(212,71.9%,94.5%)","const-color-primary-100":"hsl(212,71.9%,89.1%)","const-color-primary-200":"hsl(212,71.9%,78.1%)","const-color-primary-300":"hsl(212,71.9%,67.2%)","const-color-primary-400":"hsl(212,71.9%,56.3%)","const-color-primary-500":"#206bc4","const-color-primary-600":"hsl(212,71.9%,36.3%)","const-color-primary-700":"hsl(212,71.9%,27.2%)","const-color-primary-800":"hsl(212,71.9%,18.1%)","const-color-primary-900":"hsl(212,71.9%,9.1%)","const-color-primary-950":"hsl(212,71.9%,4.5%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(211.7,21.2%,96.9%)","const-color-secondary-100":"hsl(211.7,21.2%,93.7%)","const-color-secondary-200":"hsl(211.7,21.2%,87.4%)","const-color-secondary-300":"hsl(211.7,21.2%,81.1%)","const-color-secondary-400":"hsl(211.7,21.2%,74.8%)","const-color-secondary-500":"#6c7a91","const-color-secondary-600":"hsl(211.7,21.2%,54.8%)","const-color-secondary-700":"hsl(211.7,21.2%,41.1%)","const-color-secondary-800":"hsl(211.7,21.2%,27.4%)","const-color-secondary-900":"hsl(211.7,21.2%,13.7%)","const-color-secondary-950":"hsl(211.7,21.2%,6.9%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(45, 100%, 97%)","const-color-warn-100":"hsl(45, 100%, 91%)","const-color-warn-200":"hsl(45, 100%, 80%)","const-color-warn-300":"hsl(45, 100%, 70%)","const-color-warn-400":"hsl(45, 100%, 60%)","const-color-warn-500":"hsl(35, 100%, 50%)","const-color-warn-600":"hsl(35, 100%, 45%)","const-color-warn-700":"hsl(35, 100%, 40%)","const-color-warn-800":"hsl(35, 100%, 35%)","const-color-warn-900":"hsl(35, 100%, 30%)","const-color-warn-950":"hsl(35, 100%, 15%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(356, 100%, 95%)","const-color-danger-100":"hsl(356, 100%, 91%)","const-color-danger-200":"hsl(356, 100%, 80%)","const-color-danger-300":"hsl(356, 100%, 70%)","const-color-danger-400":"hsl(356, 100%, 60%)","const-color-danger-500":"hsl(356, 100%, 50%)","const-color-danger-600":"hsl(356, 100%, 45%)","const-color-danger-700":"hsl(356, 100%, 40%)","const-color-danger-800":"hsl(356, 100%, 35%)","const-color-danger-900":"hsl(356, 100%, 30%)","const-color-danger-950":"hsl(356, 100%, 15%)","const-color-danger":"$const-color-danger-600","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(129.5, 58.4%, 96.4%)","const-color-success-100":"hsl(129.5, 58.4%, 92.9%)","const-color-success-200":"hsl(129.5, 58.4%, 85.7%)","const-color-success-300":"hsl(129.5, 58.4%, 78.6%)","const-color-success-400":"hsl(129.5, 58.4%, 71.5%)","const-color-success-500":"hsl(129.5, 58.4%, 51.5%)","const-color-success-600":"hsl(129.5, 58.4%, 45%)","const-color-success-700":"hsl(129.5, 58.4%, 38.6%)","const-color-success-800":"hsl(129.5, 58.4%, 25.7%)","const-color-success-900":"hsl(129.5, 58.4%, 12.9%)","const-color-success-950":"hsl(129.5, 58.4%, 6.4%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(183, 97%, 95%)","const-color-info-100":"hsl(183, 97%, 90%)","const-color-info-200":"hsl(183, 97%, 80%)","const-color-info-300":"hsl(183, 97%, 70%)","const-color-info-400":"hsl(183, 97%, 60%)","const-color-info-500":"hsl(183, 97%, 50%)","const-color-info-600":"hsl(183, 97%, 45%)","const-color-info-700":"hsl(183, 97%, 35%)","const-color-info-800":"hsl(183, 97%, 25%)","const-color-info-900":"hsl(183, 97%, 15%)","const-color-info-950":"hsl(183, 97%, 10%)","fontWeight-light":"300","fontWeight-normal":"400","fontWeight-medium":"500","fontWeight-bold":"600","fontWeight-extra-bold":"900","textColor-primary":"$color-surface-950","textColor-attention":"$color-danger-600","textColor-subtitle":"$color-surface-500","textColor--disabled":"$color-surface-400","backgroundColor-primary":"$color-surface-50","backgroundColor-secondary":"$color-surface-50","backgroundColor-attention":"$color-attention","backgroundColor--disabled":"$color-surface-50","backgroundColor--selected":"$color-primary-50","color-info":"$color-info-500","color-valid":"$color-success-600","color-warning":"$color-warn-700","color-error":"$color-danger-500","lineHeight-none":"1","lineHeight-tight":"1.25","lineHeight-snug":"1.375","lineHeight-normal":"1.5","lineHeight-relaxed":"1.625","lineHeight-loose":"2","fontFamily-sans-serif":"'Inter', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif","fontFamily-monospace":"Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace","font-feature-settings":"'cv03', 'cv04', 'cv11'","maxWidth-phone":"576px","maxWidth-landscape-phone":"768px","maxWidth-tablet":"992px","maxWidth-desktop":"1200px","maxWidth-large-desktop":"1400px",borderRadius:"4px","outlineColor--focus":"rgba($color-primary-500-rgb, .5)","outlineWidth--focus":"2px","outlineStyle--focus":"solid","outlineOffset--focus":"0",fontFamily:"$fontFamily-sans-serif","fontSize-gigantic":"3rem","fontSize-larger":"2.15rem","fontSize-large":"1.5rem","fontSize-medium":"1.25rem","fontSize-normal":"1rem","fontSize-small":"0.875rem","fontSize-smaller":"0.75rem","fontSize-tiny":"0.625rem",fontSize:"$fontSize-normal","gap-none":"$space-0","gap-tight":"$space-2","gap-normal":"$space-4","gap-loose":"$space-8","padding-none":"$space-0","padding-tight":"$space-2","padding-normal":"$space-4","padding-loose":"$space-8","space-none":"$space-0","space-tight":"$space-2","space-normal":"$space-4","space-loose":"$space-8",fontWeight:"$fontWeight-normal","borderColor-dropdown-item":"$borderColor",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06)","boxShadow-md":"0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06)","boxShadow-xl":"0 16px 24px 2px rgba(0, 0, 0, 0.07), 0 6px 30px 5px rgba(0, 0, 0, 0.06), 0 8px 10px -5px rgba(0, 0, 0, 0.1)","boxShadow-xxl":"0 8px 17px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)","boxShadow-spread":"0px 0px 30px rgba(0, 0, 0, 0.1)","boxShadow-spread-2":"-6px -4px 40px 10px rgba(0, 0, 0, 0.1)","boxShadow-spread-2-xl":"-6px -4px 40px 18px rgba(0, 0, 0, 0.1)","maxWidth-content":"1320px",backgroundColor:"$color-surface-subtle","backgroundColor-overlay":"rgba(0, 0, 0, 0.2)","backgroundColor-dropdown-item--hover":sl,"backgroundColor-dropdown-item--active":fd,"backgroundColor-dropdown-item--active-hover":sl,"backgroundColor-tree-row--selected--before":gd,borderColor:Da,"borderColor--disabled":Da,"textColor-secondary":Ra,"backgroundColor-Input-default":vd,"borderColor-Input-default":Da,"borderColor-Input-default--hover":Ra,"borderColor-Input-default--focus":Ra,"borderColor-Input-default--success":Hd,"borderColor-Input-default--warning":Td,"borderColor-Input-default--error":Cd,"textColor-InputLabel-required":yd},tones:{light:{themeVars:{"color-surface-0":"$const-color-surface-0","color-surface-50":"$const-color-surface-50","color-surface-100":"$const-color-surface-100","color-surface-200":"$const-color-surface-200","color-surface-300":"$const-color-surface-300","color-surface-400":"$const-color-surface-400","color-surface-500":"$const-color-surface-500","color-surface-600":"$const-color-surface-600","color-surface-700":"$const-color-surface-700","color-surface-800":"$const-color-surface-800","color-surface-900":"$const-color-surface-900","color-surface-950":"$const-color-surface-950","color-surface-1000":"$const-color-surface-1000","color-surface":"$const-color-surface-500","color-surface-base":"$color-surface-0","color-surface-lower":"$color-surface-100","color-surface-raised":"$color-surface-0","color-surface-subtle":"$color-surface-50","color-primary-50":"$const-color-primary-50","color-primary-100":"$const-color-primary-100","color-primary-200":"$const-color-primary-200","color-primary-300":"$const-color-primary-300","color-primary-400":"$const-color-primary-400","color-primary-500":"$const-color-primary-500","color-primary-600":"$const-color-primary-600","color-primary-700":"$const-color-primary-700","color-primary-800":"$const-color-primary-800","color-primary-900":"$const-color-primary-900","color-primary-950":"$const-color-primary-950","color-primary":"$const-color-primary-500","color-secondary-50":"$const-color-secondary-50","color-secondary-100":"$const-color-secondary-100","color-secondary-200":"$const-color-secondary-200","color-secondary-300":"$const-color-secondary-300","color-secondary-400":"$const-color-secondary-400","color-secondary-500":"$const-color-secondary-500","color-secondary-600":"$const-color-secondary-600","color-secondary-700":"$const-color-secondary-700","color-secondary-800":"$const-color-secondary-800","color-secondary-900":"$const-color-secondary-900","color-secondary-950":"$const-color-secondary-950","color-secondary":"$const-color-secondary-500","color-warn-50":"$const-color-warn-50","color-warn-100":"$const-color-warn-100","color-warn-200":"$const-color-warn-200","color-warn-300":"$const-color-warn-300","color-warn-400":"$const-color-warn-400","color-warn-500":"$const-color-warn-500","color-warn-600":"$const-color-warn-600","color-warn-700":"$const-color-warn-700","color-warn-800":"$const-color-warn-800","color-warn-900":"$const-color-warn-900","color-warn-950":"$const-color-warn-950","color-warn":"$const-color-warn-500","color-danger-50":"$const-color-danger-50","color-danger-100":"$const-color-danger-100","color-danger-200":"$const-color-danger-200","color-danger-300":"$const-color-danger-300","color-danger-400":"$const-color-danger-400","color-danger-500":"$const-color-danger-500","color-danger-600":"$const-color-danger-600","color-danger-700":"$const-color-danger-700","color-danger-800":"$const-color-danger-800","color-danger-900":"$const-color-danger-900","color-danger-950":"$const-color-danger-950","color-danger":"$const-color-danger-600","color-attention":"$const-color-danger-500","color-success-50":"$const-color-success-50","color-success-100":"$const-color-success-100","color-success-200":"$const-color-success-200","color-success-300":"$const-color-success-300","color-success-400":"$const-color-success-400","color-success-500":"$const-color-success-500","color-success-600":"$const-color-success-600","color-success-700":"$const-color-success-700","color-success-800":"$const-color-success-800","color-success-900":"$const-color-success-900","color-success-950":"$const-color-success-950","color-success":"$const-color-success-500","color-info-50 ":"$const-color-info-50 ","color-info-100":"$const-color-info-100","color-info-200":"$const-color-info-200","color-info-300":"$const-color-info-300","color-info-400":"$const-color-info-400","color-info-500":"$const-color-info-500","color-info-600":"$const-color-info-600","color-info-700":"$const-color-info-700","color-info-800":"$const-color-info-800","color-info-900":"$const-color-info-900","color-info-950":"$const-color-info-950","color-info":"$const-color-info-800"}},dark:{themeVars:{"color-surface-0":"$const-color-surface-1000","color-surface-50":"$const-color-surface-950","color-surface-100":"$const-color-surface-900","color-surface-200":"$const-color-surface-800","color-surface-300":"$const-color-surface-700","color-surface-400":"$const-color-surface-600","color-surface-500":"$const-color-surface-500","color-surface-600":"$const-color-surface-400","color-surface-700":"$const-color-surface-300","color-surface-800":"$const-color-surface-200","color-surface-900":"$const-color-surface-100","color-surface-950":"$const-color-surface-50","color-surface-1000":"$const-color-surface-0","color-surface":"$const-color-surface-500","color-surface-base":"$color-surface-0","color-surface-lower":"$color-surface-0","color-surface-raised":"$color-surface-100","color-surface-subtle":"$color-surface-50","color-primary-50":"$const-color-primary-950","color-primary-100":"$const-color-primary-900","color-primary-200":"$const-color-primary-800","color-primary-300":"$const-color-primary-700","color-primary-400":"$const-color-primary-600","color-primary-500":"$const-color-primary-500","color-primary-600":"$const-color-primary-400","color-primary-700":"$const-color-primary-300","color-primary-800":"$const-color-primary-200","color-primary-900":"$const-color-primary-100","color-primary-950":"$const-color-primary-50","color-primary":"$const-color-primary-500","color-secondary-50":"$const-color-secondary-950","color-secondary-100":"$const-color-secondary-900","color-secondary-200":"$const-color-secondary-800","color-secondary-300":"$const-color-secondary-700","color-secondary-400":"$const-color-secondary-600","color-secondary-500":"$const-color-secondary-500","color-secondary-600":"$const-color-secondary-400","color-secondary-700":"$const-color-secondary-300","color-secondary-800":"$const-color-secondary-200","color-secondary-900":"$const-color-secondary-100","color-secondary-950":"$const-color-secondary-50","color-secondary":"$const-color-secondary-500","color-warn-50":"$const-color-warn-950","color-warn-100":"$const-color-warn-900","color-warn-200":"$const-color-warn-800","color-warn-300":"$const-color-warn-700","color-warn-400":"$const-color-warn-600","color-warn-500":"$const-color-warn-500","color-warn-600":"$const-color-warn-400","color-warn-700":"$const-color-warn-300","color-warn-800":"$const-color-warn-200","color-warn-900":"$const-color-warn-100","color-warn-950":"$const-color-warn-50","color-warn":"$const-color-warn-500","color-danger-50":"$const-color-danger-950","color-danger-100":"$const-color-danger-900","color-danger-200":"$const-color-danger-800","color-danger-300":"$const-color-danger-700","color-danger-400":"$const-color-danger-600","color-danger-500":"$const-color-danger-500","color-danger-600":"$const-color-danger-400","color-danger-700":"$const-color-danger-300","color-danger-800":"$const-color-danger-200","color-danger-900":"$const-color-danger-100","color-danger-950":"$const-color-danger-50","color-danger":"$const-color-danger-500","color-attention":"$const-color-danger-400","color-success-50":"$const-color-success-950","color-success-100":"$const-color-success-900","color-success-200":"$const-color-success-800","color-success-300":"$const-color-success-700","color-success-400":"$const-color-success-600","color-success-500":"$const-color-success-500","color-success-600":"$const-color-success-400","color-success-700":"$const-color-success-300","color-success-800":"$const-color-success-200","color-success-900":"$const-color-success-100","color-success-950":"$const-color-success-50","color-success":"$const-color-success-500","color-info-50 ":"$const-color-info-950 ","color-info-100":"$const-color-info-900","color-info-200":"$const-color-info-800","color-info-300":"$const-color-info-700","color-info-400":"$const-color-info-600","color-info-500":"$const-color-info-500","color-info-600":"$const-color-info-400","color-info-700":"$const-color-info-300","color-info-800":"$const-color-info-200","color-info-900":"$const-color-info-100","color-info-950":"$const-color-info-50","color-info":"$const-color-info-200"}}}},kd={"const-color-surface-50":"hsl(144, 20%, 96.5%)","const-color-surface-100":"hsl(144, 20%, 93%)","const-color-surface-200":"hsl(144, 20%, 85%)","const-color-surface-300":"hsl(144, 20%, 75%)","const-color-surface-400":"hsl(144, 20%, 65%)","const-color-surface-500":"hsl(144, 20%, 61%)","const-color-surface-600":"hsl(144, 20%, 45%)","const-color-surface-700":"hsl(144, 20%, 35%)","const-color-surface-800":"hsl(144, 20%, 27%)","const-color-surface-900":"hsl(144, 20%, 16%)","const-color-surface-950":"hsl(144, 20%, 13%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(158, 85%, 94.5%)","const-color-primary-100":"hsl(158, 85%, 89.1%)","const-color-primary-200":"hsl(158, 85%, 78.1%)","const-color-primary-300":"hsl(158, 85%, 67.2%)","const-color-primary-400":"hsl(158, 85%, 56.3%)","const-color-primary-500":"hsl(158, 85%, 33%)","const-color-primary-600":"hsl(158, 85%, 29.7%)","const-color-primary-700":"hsl(158, 85%, 27.2%)","const-color-primary-800":"hsl(158, 85%, 18.1%)","const-color-primary-900":"hsl(158, 85%, 9.1%)","const-color-primary-950":"hsl(158, 85%, 4.5%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(198, 100%, 94.5%)","const-color-secondary-100":"hsl(198, 100%, 89.1%)","const-color-secondary-200":"hsl(198, 100%, 78.1%)","const-color-secondary-300":"hsl(198, 100%, 67.2%)","const-color-secondary-400":"hsl(198, 100%, 56.3%)","const-color-secondary-500":"hsl(198, 100%, 29%)","const-color-secondary-600":"hsl(198, 100%, 25%)","const-color-secondary-700":"hsl(198, 100%, 20%)","const-color-secondary-800":"hsl(198, 100%, 15%)","const-color-secondary-900":"hsl(198, 100%, 10%)","const-color-secondary-950":"hsl(198, 100%, 5%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(36, 100%, 93%)","const-color-warn-100":"hsl(36, 100%, 86%)","const-color-warn-200":"hsl(36, 100%, 72%)","const-color-warn-300":"hsl(36, 100%, 58%)","const-color-warn-400":"hsl(36, 100%, 44%)","const-color-warn-500":"hsl(36, 77%, 60%)","const-color-warn-600":"hsl(36, 77%, 54%)","const-color-warn-700":"hsl(36, 77%, 48%)","const-color-warn-800":"hsl(36, 77%, 42%)","const-color-warn-900":"hsl(36, 77%, 36%)","const-color-warn-950":"hsl(36, 77%, 30%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(355, 95%, 95%)","const-color-danger-100":"hsl(355, 95%, 85%)","const-color-danger-200":"hsl(355, 95%, 75%)","const-color-danger-300":"hsl(355, 95%, 65%)","const-color-danger-400":"hsl(355, 95%, 55%)","const-color-danger-500":"hsl(355, 95%, 66%)","const-color-danger-600":"hsl(355, 95%, 60%)","const-color-danger-700":"hsl(355, 95%, 54%)","const-color-danger-800":"hsl(355, 95%, 48%)","const-color-danger-900":"hsl(355, 95%, 42%)","const-color-danger-950":"hsl(355, 95%, 36%)","const-color-danger":"$const-color-danger-500","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(158, 85%, 94.5%)","const-color-success-100":"hsl(158, 85%, 89.1%)","const-color-success-200":"hsl(158, 85%, 78.1%)","const-color-success-300":"hsl(158, 85%, 67.2%)","const-color-success-400":"hsl(158, 85%, 56.3%)","const-color-success-500":"hsl(158, 85%, 33%)","const-color-success-600":"hsl(158, 85%, 29.7%)","const-color-success-700":"hsl(158, 85%, 27.2%)","const-color-success-800":"hsl(158, 85%, 18.1%)","const-color-success-900":"hsl(158, 85%, 9.1%)","const-color-success-950":"hsl(158, 85%, 4.5%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(202, 95%, 95%)","const-color-info-100":"hsl(202, 95%, 90%)","const-color-info-200":"hsl(202, 95%, 80%)","const-color-info-300":"hsl(202, 95%, 70%)","const-color-info-400":"hsl(202, 95%, 60%)","const-color-info-500":"hsl(202, 95%, 50%)","const-color-info-600":"hsl(202, 95%, 45%)","const-color-info-700":"hsl(202, 95%, 35%)","const-color-info-800":"hsl(202, 95%, 25%)","const-color-info-900":"hsl(202, 95%, 15%)","const-color-info-950":"hsl(202, 95%, 10%)","const-color-info":"$const-color-info-500"},wd={"const-color-surface-50":"hsl(0, 0%, 98%)","const-color-surface-100":"hsl(0, 0%, 95%)","const-color-surface-200":"hsl(0, 0%, 83%)","const-color-surface-300":"hsl(0, 0%, 75%)","const-color-surface-400":"hsl(0, 0%, 63%)","const-color-surface-500":"hsl(0, 0%, 70%)","const-color-surface-600":"hsl(0, 0%, 60%)","const-color-surface-700":"hsl(0, 0%, 50%)","const-color-surface-800":"hsl(0, 0%, 40%)","const-color-surface-900":"hsl(0, 0%, 30%)","const-color-surface-950":"hsl(0, 0%, 20%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(0, 0%, 94.5%)","const-color-primary-100":"hsl(0, 0%, 89.1%)","const-color-primary-200":"hsl(0, 0%, 78.1%)","const-color-primary-300":"hsl(0, 0%, 67.2%)","const-color-primary-400":"hsl(0, 0%, 56.3%)","const-color-primary-500":"hsl(0, 0%, 36.9%)","const-color-primary-600":"hsl(0, 0%, 33%)","const-color-primary-700":"hsl(0, 0%, 29%)","const-color-primary-800":"hsl(0, 0%, 25%)","const-color-primary-900":"hsl(0, 0%, 21%)","const-color-primary-950":"hsl(0, 0%, 17%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(0, 0%, 94.5%)","const-color-secondary-100":"hsl(0, 0%, 89.1%)","const-color-secondary-200":"hsl(0, 0%, 78.1%)","const-color-secondary-300":"hsl(0, 0%, 67.2%)","const-color-secondary-400":"hsl(0, 0%, 56.3%)","const-color-secondary-500":"hsl(0, 0%, 57.6%)","const-color-secondary-600":"hsl(0, 0%, 52%)","const-color-secondary-700":"hsl(0, 0%, 46%)","const-color-secondary-800":"hsl(0, 0%, 40%)","const-color-secondary-900":"hsl(0, 0%, 34%)","const-color-secondary-950":"hsl(0, 0%, 28%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(36, 85%, 93%)","const-color-warn-100":"hsl(36, 85%, 86%)","const-color-warn-200":"hsl(36, 85%, 72%)","const-color-warn-300":"hsl(36, 85%, 58%)","const-color-warn-400":"hsl(36, 85%, 44%)","const-color-warn-500":"hsl(36, 85%, 56%)","const-color-warn-600":"hsl(36, 85%, 50%)","const-color-warn-700":"hsl(36, 85%, 44%)","const-color-warn-800":"hsl(36, 85%, 38%)","const-color-warn-900":"hsl(36, 85%, 32%)","const-color-warn-950":"hsl(36, 85%, 26%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(18, 87%, 95%)","const-color-danger-100":"hsl(18, 87%, 85%)","const-color-danger-200":"hsl(18, 87%, 75%)","const-color-danger-300":"hsl(18, 87%, 65%)","const-color-danger-400":"hsl(18, 87%, 55%)","const-color-danger-500":"hsl(18, 87%, 68%)","const-color-danger-600":"hsl(18, 87%, 60%)","const-color-danger-700":"hsl(18, 87%, 50%)","const-color-danger-800":"hsl(18, 87%, 40%)","const-color-danger-900":"hsl(18, 87%, 30%)","const-color-danger-950":"hsl(18, 87%, 20%)","const-color-danger":"$const-color-danger-500","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(168, 100%, 95%)","const-color-success-100":"hsl(168, 100%, 85%)","const-color-success-200":"hsl(168, 100%, 75%)","const-color-success-300":"hsl(168, 100%, 65%)","const-color-success-400":"hsl(168, 100%, 55%)","const-color-success-500":"hsl(168, 100%, 39%)","const-color-success-600":"hsl(168, 100%, 35%)","const-color-success-700":"hsl(168, 100%, 30%)","const-color-success-800":"hsl(168, 100%, 25%)","const-color-success-900":"hsl(168, 100%, 20%)","const-color-success-950":"hsl(168, 100%, 15%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(204, 98%, 95%)","const-color-info-100":"hsl(204, 98%, 90%)","const-color-info-200":"hsl(204, 98%, 80%)","const-color-info-300":"hsl(204, 98%, 70%)","const-color-info-400":"hsl(204, 98%, 60%)","const-color-info-500":"hsl(204, 98%, 50%)","const-color-info-600":"hsl(204, 98%, 45%)","const-color-info-700":"hsl(204, 98%, 35%)","const-color-info-800":"hsl(204, 98%, 25%)","const-color-info-900":"hsl(204, 98%, 15%)","const-color-info-950":"hsl(204, 98%, 10%)","const-color-info":"$const-color-info-500"},Id={"const-color-surface-50":"hsl(220, 3%, 98%)","const-color-surface-100":"hsl(220, 3%, 95%)","const-color-surface-200":"hsl(220, 3%, 83%)","const-color-surface-300":"hsl(220, 3%, 75%)","const-color-surface-400":"hsl(220, 3%, 63%)","const-color-surface-500":"hsl(220, 3%, 63%)","const-color-surface-600":"hsl(220, 3%, 60%)","const-color-surface-700":"hsl(220, 3%, 50%)","const-color-surface-800":"hsl(220, 3%, 40%)","const-color-surface-900":"hsl(220, 3%, 30%)","const-color-surface-950":"hsl(220, 3%, 20%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(36, 100%, 95%)","const-color-primary-100":"hsl(36, 100%, 85%)","const-color-primary-200":"hsl(36, 100%, 75%)","const-color-primary-300":"hsl(36, 100%, 65%)","const-color-primary-400":"hsl(36, 100%, 55%)","const-color-primary-500":"hsl(36, 100%, 57%)","const-color-primary-600":"hsl(36, 100%, 50%)","const-color-primary-700":"hsl(36, 100%, 45%)","const-color-primary-800":"hsl(36, 100%, 40%)","const-color-primary-900":"hsl(36, 100%, 35%)","const-color-primary-950":"hsl(36, 100%, 30%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(204, 33%, 94.5%)","const-color-secondary-100":"hsl(204, 33%, 89.1%)","const-color-secondary-200":"hsl(204, 33%, 78.1%)","const-color-secondary-300":"hsl(204, 33%, 67.2%)","const-color-secondary-400":"hsl(204, 33%, 56.3%)","const-color-secondary-500":"hsl(204, 33%, 26%)","const-color-secondary-600":"hsl(204, 33%, 23%)","const-color-secondary-700":"hsl(204, 33%, 20%)","const-color-secondary-800":"hsl(204, 33%, 17%)","const-color-secondary-900":"hsl(204, 33%, 14%)","const-color-secondary-950":"hsl(204, 33%, 11%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(20, 100%, 95%)","const-color-warn-100":"hsl(20, 100%, 85%)","const-color-warn-200":"hsl(20, 100%, 75%)","const-color-warn-300":"hsl(20, 100%, 65%)","const-color-warn-400":"hsl(20, 100%, 55%)","const-color-warn-500":"hsl(20, 100%, 55%)","const-color-warn-600":"hsl(20, 100%, 45%)","const-color-warn-700":"hsl(20, 100%, 40%)","const-color-warn-800":"hsl(20, 100%, 35%)","const-color-warn-900":"hsl(20, 100%, 30%)","const-color-warn-950":"hsl(20, 100%, 25%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(0, 60%, 95%)","const-color-danger-100":"hsl(0, 60%, 85%)","const-color-danger-200":"hsl(0, 60%, 75%)","const-color-danger-300":"hsl(0, 60%, 65%)","const-color-danger-400":"hsl(0, 60%, 55%)","const-color-danger-500":"hsl(0, 60%, 55%)","const-color-danger-600":"hsl(0, 60%, 45%)","const-color-danger-700":"hsl(0, 60%, 40%)","const-color-danger-800":"hsl(0, 60%, 35%)","const-color-danger-900":"hsl(0, 60%, 30%)","const-color-danger-950":"hsl(0, 60%, 25%)","const-color-danger":"$const-color-danger-500","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(134, 38%, 95%)","const-color-success-100":"hsl(134, 38%, 85%)","const-color-success-200":"hsl(134, 38%, 75%)","const-color-success-300":"hsl(134, 38%, 65%)","const-color-success-400":"hsl(134, 38%, 55%)","const-color-success-500":"hsl(134, 38%, 45%)","const-color-success-600":"hsl(134, 38%, 40%)","const-color-success-700":"hsl(134, 38%, 35%)","const-color-success-800":"hsl(134, 38%, 30%)","const-color-success-900":"hsl(134, 38%, 25%)","const-color-success-950":"hsl(134, 38%, 20%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(197, 100%, 95%)","const-color-info-100":"hsl(197, 100%, 90%)","const-color-info-200":"hsl(197, 100%, 80%)","const-color-info-300":"hsl(197, 100%, 70%)","const-color-info-400":"hsl(197, 100%, 60%)","const-color-info-500":"hsl(197, 100%, 50%)","const-color-info-600":"hsl(197, 100%, 45%)","const-color-info-700":"hsl(197, 100%, 35%)","const-color-info-800":"hsl(197, 100%, 25%)","const-color-info-900":"hsl(197, 100%, 15%)","const-color-info-950":"hsl(197, 100%, 10%)","const-color-info":"$const-color-info-500"},Bd={"const-color-surface-50":"hsl(0, 0%, 96%)","const-color-surface-100":"hsl(0, 0%, 90%)","const-color-surface-200":"hsl(0, 0%, 80%)","const-color-surface-300":"hsl(0, 0%, 70%)","const-color-surface-400":"hsl(0, 0%, 60%)","const-color-surface-500":"hsl(0, 0%, 59%)","const-color-surface-600":"hsl(0, 0%, 50%)","const-color-surface-700":"hsl(0, 0%, 40%)","const-color-surface-800":"hsl(0, 0%, 30%)","const-color-surface-900":"hsl(0, 0%, 20%)","const-color-surface-950":"hsl(0, 0%, 10%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(300, 42%, 95%)","const-color-primary-100":"hsl(300, 42%, 85%)","const-color-primary-200":"hsl(300, 42%, 75%)","const-color-primary-300":"hsl(300, 42%, 65%)","const-color-primary-400":"hsl(300, 42%, 55%)","const-color-primary-500":"hsl(300, 42%, 31%)","const-color-primary-600":"hsl(300, 42%, 28%)","const-color-primary-700":"hsl(300, 42%, 25%)","const-color-primary-800":"hsl(300, 42%, 22%)","const-color-primary-900":"hsl(300, 42%, 19%)","const-color-primary-950":"hsl(300, 42%, 16%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(204, 100%, 95%)","const-color-secondary-100":"hsl(204, 100%, 85%)","const-color-secondary-200":"hsl(204, 100%, 75%)","const-color-secondary-300":"hsl(204, 100%, 65%)","const-color-secondary-400":"hsl(204, 100%, 55%)","const-color-secondary-500":"hsl(204, 100%, 38%)","const-color-secondary-600":"hsl(204, 100%, 35%)","const-color-secondary-700":"hsl(204, 100%, 30%)","const-color-secondary-800":"hsl(204, 100%, 25%)","const-color-secondary-900":"hsl(204, 100%, 20%)","const-color-secondary-950":"hsl(204, 100%, 15%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(20, 95%, 95%)","const-color-warn-100":"hsl(20, 95%, 85%)","const-color-warn-200":"hsl(20, 95%, 75%)","const-color-warn-300":"hsl(20, 95%, 65%)","const-color-warn-400":"hsl(20, 95%, 55%)","const-color-warn-500":"hsl(20, 95%, 66%)","const-color-warn-600":"hsl(20, 95%, 60%)","const-color-warn-700":"hsl(20, 95%, 55%)","const-color-warn-800":"hsl(20, 95%, 50%)","const-color-warn-900":"hsl(20, 95%, 45%)","const-color-warn-950":"hsl(20, 95%, 40%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(355, 65%, 95%)","const-color-danger-100":"hsl(355, 65%, 85%)","const-color-danger-200":"hsl(355, 65%, 75%)","const-color-danger-300":"hsl(355, 65%, 65%)","const-color-danger-400":"hsl(355, 65%, 55%)","const-color-danger-500":"hsl(355, 65%, 60%)","const-color-danger-600":"hsl(355, 65%, 50%)","const-color-danger-700":"hsl(355, 65%, 45%)","const-color-danger-800":"hsl(355, 65%, 40%)","const-color-danger-900":"hsl(355, 65%, 35%)","const-color-danger-950":"hsl(355, 65%, 30%)","const-color-danger":"$const-color-danger-500","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(178, 100%, 95%)","const-color-success-100":"hsl(178, 100%, 85%)","const-color-success-200":"hsl(178, 100%, 75%)","const-color-success-300":"hsl(178, 100%, 65%)","const-color-success-400":"hsl(178, 100%, 55%)","const-color-success-500":"hsl(178, 100%, 27%)","const-color-success-600":"hsl(178, 100%, 36%)","const-color-success-700":"hsl(178, 100%, 32%)","const-color-success-800":"hsl(178, 100%, 28%)","const-color-success-900":"hsl(178, 100%, 24%)","const-color-success-950":"hsl(178, 100%, 20%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(183, 66%, 92%)","const-color-info-100":"hsl(183, 66%, 84%)","const-color-info-200":"hsl(183, 66%, 76%)","const-color-info-300":"hsl(183, 66%, 68%)","const-color-info-400":"hsl(183, 66%, 60%)","const-color-info-500":"hsl(183, 66%, 50%)","const-color-info-600":"hsl(183, 66%, 45%)","const-color-info-700":"hsl(183, 66%, 35%)","const-color-info-800":"hsl(183, 66%, 25%)","const-color-info-900":"hsl(183, 66%, 15%)","const-color-info-950":"hsl(183, 66%, 10%)","const-color-info":"$const-color-info-500"},$d={"const-color-surface-50":"hsl(180, 15%, 95%)","const-color-surface-100":"hsl(180, 15%, 85%)","const-color-surface-200":"hsl(180, 15%, 75%)","const-color-surface-300":"hsl(180, 15%, 65%)","const-color-surface-400":"hsl(180, 15%, 55%)","const-color-surface-500":"hsl(180, 15%, 52%)","const-color-surface-600":"hsl(180, 15%, 45%)","const-color-surface-700":"hsl(180, 15%, 40%)","const-color-surface-800":"hsl(180, 15%, 35%)","const-color-surface-900":"hsl(180, 15%, 30%)","const-color-surface-950":"hsl(180, 15%, 25%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(180, 100%, 95%)","const-color-primary-100":"hsl(180, 100%, 85%)","const-color-primary-200":"hsl(180, 100%, 75%)","const-color-primary-300":"hsl(180, 100%, 65%)","const-color-primary-400":"hsl(180, 100%, 55%)","const-color-primary-500":"hsl(180, 100%, 35%)","const-color-primary-600":"hsl(180, 100%, 32%)","const-color-primary-700":"hsl(180, 100%, 28%)","const-color-primary-800":"hsl(180, 100%, 24%)","const-color-primary-900":"hsl(180, 100%, 20%)","const-color-primary-950":"hsl(180, 100%, 16%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(227, 60%, 95%)","const-color-secondary-100":"hsl(227, 60%, 85%)","const-color-secondary-200":"hsl(227, 60%, 75%)","const-color-secondary-300":"hsl(227, 60%, 65%)","const-color-secondary-400":"hsl(227, 60%, 55%)","const-color-secondary-500":"hsl(227, 60%, 45%)","const-color-secondary-600":"hsl(227, 60%, 40%)","const-color-secondary-700":"hsl(227, 60%, 35%)","const-color-secondary-800":"hsl(227, 60%, 30%)","const-color-secondary-900":"hsl(227, 60%, 25%)","const-color-secondary-950":"hsl(227, 60%, 20%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(20, 100%, 95%)","const-color-warn-100":"hsl(20, 100%, 85%)","const-color-warn-200":"hsl(20, 100%, 75%)","const-color-warn-300":"hsl(20, 100%, 65%)","const-color-warn-400":"hsl(20, 100%, 55%)","const-color-warn-500":"hsl(20, 98%, 56%)","const-color-warn-600":"hsl(20, 100%, 50%)","const-color-warn-700":"hsl(20, 100%, 45%)","const-color-warn-800":"hsl(20, 100%, 40%)","const-color-warn-900":"hsl(20, 100%, 35%)","const-color-warn-950":"hsl(20, 100%, 30%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(356, 100%, 95%)","const-color-danger-100":"hsl(356, 100%, 85%)","const-color-danger-200":"hsl(356, 100%, 75%)","const-color-danger-300":"hsl(356, 100%, 65%)","const-color-danger-400":"hsl(356, 100%, 55%)","const-color-danger-500":"hsl(356, 97%, 55%)","const-color-danger-600":"hsl(356, 100%, 50%)","const-color-danger-700":"hsl(356, 100%, 45%)","const-color-danger-800":"hsl(356, 100%, 40%)","const-color-danger-900":"hsl(356, 100%, 35%)","const-color-danger-950":"hsl(356, 100%, 30%)","const-color-danger":"$const-color-danger-600","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(168, 80%, 95%)","const-color-success-100":"hsl(168, 80%, 85%)","const-color-success-200":"hsl(168, 80%, 75%)","const-color-success-300":"hsl(168, 80%, 65%)","const-color-success-400":"hsl(168, 80%, 55%)","const-color-success-500":"hsl(168, 82%, 28%)","const-color-success-600":"hsl(168, 80%, 25%)","const-color-success-700":"hsl(168, 80%, 22%)","const-color-success-800":"hsl(168, 80%, 19%)","const-color-success-900":"hsl(168, 80%, 16%)","const-color-success-950":"hsl(168, 80%, 13%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(204, 100%, 92%)","const-color-info-100":"hsl(204, 100%, 84%)","const-color-info-200":"hsl(204, 100%, 76%)","const-color-info-300":"hsl(204, 100%, 68%)","const-color-info-400":"hsl(204, 100%, 60%)","const-color-info-500":"hsl(204, 100%, 50%)","const-color-info-600":"hsl(204, 100%, 45%)","const-color-info-700":"hsl(204, 100%, 35%)","const-color-info-800":"hsl(204, 100%, 25%)","const-color-info-900":"hsl(204, 100%, 15%)","const-color-info-950":"hsl(204, 100%, 10%)","const-color-info":"$const-color-info-500"},Od={"const-color-surface-50":"hsl(0, 0%, 95%)","const-color-surface-100":"hsl(0, 0%, 85%)","const-color-surface-200":"hsl(0, 0%, 75%)","const-color-surface-300":"hsl(0, 0%, 65%)","const-color-surface-400":"hsl(0, 0%, 55%)","const-color-surface-500":"hsl(0, 0%, 50%)","const-color-surface-600":"hsl(0, 0%, 45%)","const-color-surface-700":"hsl(0, 0%, 40%)","const-color-surface-800":"hsl(0, 0%, 35%)","const-color-surface-900":"hsl(0, 0%, 30%)","const-color-surface-950":"hsl(0, 0%, 25%)","const-color-surface":"$const-color-surface-500","const-color-primary-50":"hsl(354, 89%, 95%)","const-color-primary-100":"hsl(354, 89%, 85%)","const-color-primary-200":"hsl(354, 89%, 75%)","const-color-primary-300":"hsl(354, 89%, 65%)","const-color-primary-400":"hsl(354, 89%, 55%)","const-color-primary-500":"hsl(354, 89%, 63%)","const-color-primary-600":"hsl(354, 89%, 50%)","const-color-primary-700":"hsl(354, 89%, 45%)","const-color-primary-800":"hsl(354, 89%, 40%)","const-color-primary-900":"hsl(354, 89%, 35%)","const-color-primary-950":"hsl(354, 89%, 30%)","const-color-primary":"$const-color-primary-500","const-color-secondary-50":"hsl(210, 64%, 95%)","const-color-secondary-100":"hsl(210, 64%, 85%)","const-color-secondary-200":"hsl(210, 64%, 75%)","const-color-secondary-300":"hsl(210, 64%, 65%)","const-color-secondary-400":"hsl(210, 64%, 55%)","const-color-secondary-500":"hsl(210, 64%, 39%)","const-color-secondary-600":"hsl(210, 64%, 35%)","const-color-secondary-700":"hsl(210, 64%, 30%)","const-color-secondary-800":"hsl(210, 64%, 25%)","const-color-secondary-900":"hsl(210, 64%, 20%)","const-color-secondary-950":"hsl(210, 64%, 15%)","const-color-secondary":"$const-color-secondary-500","const-color-warn-50":"hsl(36, 85%, 95%)","const-color-warn-100":"hsl(36, 85%, 85%)","const-color-warn-200":"hsl(36, 85%, 75%)","const-color-warn-300":"hsl(36, 85%, 65%)","const-color-warn-400":"hsl(36, 85%, 55%)","const-color-warn-500":"hsl(36, 85%, 53%)","const-color-warn-600":"hsl(36, 85%, 45%)","const-color-warn-700":"hsl(36, 85%, 40%)","const-color-warn-800":"hsl(36, 85%, 35%)","const-color-warn-900":"hsl(36, 85%, 30%)","const-color-warn-950":"hsl(36, 85%, 25%)","const-color-warn":"$const-color-warn-500","const-color-danger-50":"hsl(356, 100%, 95%)","const-color-danger-100":"hsl(356, 100%, 85%)","const-color-danger-200":"hsl(356, 100%, 75%)","const-color-danger-300":"hsl(356, 100%, 65%)","const-color-danger-400":"hsl(356, 100%, 55%)","const-color-danger-500":"hsl(356, 100%, 45%)","const-color-danger-600":"hsl(356, 100%, 40%)","const-color-danger-700":"hsl(356, 100%, 35%)","const-color-danger-800":"hsl(356, 100%, 30%)","const-color-danger-900":"hsl(356, 100%, 25%)","const-color-danger-950":"hsl(356, 100%, 20%)","const-color-danger":"$const-color-danger-600","const-color-attention":"$const-color-danger-500","const-color-success-50":"hsl(156, 80%, 95%)","const-color-success-100":"hsl(156, 80%, 85%)","const-color-success-200":"hsl(156, 80%, 75%)","const-color-success-300":"hsl(156, 80%, 65%)","const-color-success-400":"hsl(156, 80%, 55%)","const-color-success-500":"hsl(156, 80%, 35%)","const-color-success-600":"hsl(156, 80%, 30%)","const-color-success-700":"hsl(156, 80%, 25%)","const-color-success-800":"hsl(156, 80%, 20%)","const-color-success-900":"hsl(156, 80%, 15%)","const-color-success-950":"hsl(156, 80%, 10%)","const-color-success":"$const-color-success-500","const-color-info-50":"hsl(197, 98%, 92%)","const-color-info-100":"hsl(197, 98%, 84%)","const-color-info-200":"hsl(197, 98%, 76%)","const-color-info-300":"hsl(197, 98%, 68%)","const-color-info-400":"hsl(197, 98%, 60%)","const-color-info-500":"hsl(197, 98%, 50%)","const-color-info-600":"hsl(197, 98%, 45%)","const-color-info-700":"hsl(197, 98%, 35%)","const-color-info-800":"hsl(197, 98%, 25%)","const-color-info-900":"hsl(197, 98%, 15%)","const-color-info-950":"hsl(197, 98%, 10%)","const-color-info":"$const-color-info-500"},Ld={id:"xmlui",resources:{},themeVars:{"font-size":"15px","boxShadow-Input":"$boxShadow-sm"},tones:{light:{themeVars:{"backgroundColor-ModalDialog":"white","backgroundColor-checked-RadioGroupOption":"$color-primary-400"}},dark:{themeVars:{"color-error":"$color-danger-400"}}}},_d={id:"xmlui-green",extends:"xmlui",themeVars:{...kd}},Vd={id:"xmlui-gray",extends:"xmlui",themeVars:{...wd}},Ad={id:"xmlui-orange",extends:"xmlui",themeVars:{...Id}},Wd={id:"xmlui-purple",extends:"xmlui",themeVars:{...Bd}},Nd={id:"xmlui-cyan",extends:"xmlui",themeVars:{...$d}},zd={id:"xmlui-red",extends:"xmlui",themeVars:{...Od}};var dl={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ul=s.createContext&&s.createContext(dl),gr=function(){return gr=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},gr.apply(this,arguments)},Ed=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(r[o[a]]=e[o[a]]);return r};function cl(e){return e&&e.map(function(t,r){return s.createElement(t.tag,gr({key:r},t.attr),cl(t.child))})}function so(e){return function(t){return s.createElement(Pd,gr({attr:gr({},e.attr)},t),cl(e.child))}}function Pd(e){var t=function(r){var o=e.attr,a=e.size,l=e.title,i=Ed(e,["attr","size","title"]),n=a||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),s.createElement("svg",gr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,o,i,{className:c,style:gr(gr({color:e.color||r.color},r.style),e.style),height:n,width:n,xmlns:"http://www.w3.org/2000/svg"}),l&&s.createElement("title",null,l),e.children)};return ul!==void 0?s.createElement(ul.Consumer,null,function(r){return t(r)}):t(dl)}const ml="Theme",Md={description:`The \`${ml}\` component provides a way to define a particular theming context for its nested components. The XMLUI framework uses \`${ml}\` to define the default theming context for all of its child components. Theme variables and theme settings only work in this context.`,allowArbitraryProps:!0,props:{themeId:m("This property specifies which theme to use by setting the theme's id."),tone:{description:"This property allows the setting of the current theme's tone.",availableValues:["light","dark"],valueType:"string",defaultValue:"light"},root:m("This property indicates whether the component is at the root of the application.")},opaque:!0},Dd={themeVars:`'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "backgroundColor-navPanel-App": "var(--xmlui-backgroundColor-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "maxWidth-App": "var(--xmlui-maxWidth-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`},Rd=[{value:"vertical",description:"This layout puts the navigation bar on the left side and displays its items vertically. The main content is aligned to the right (including the header and the footer), and its content is a single scroll container; every part of it moves as you scroll the page. This layout does not display the logo in the app header."},{value:"vertical-sticky",description:"Similar to `vertical`, the header and the navigation bar dock to the top of the main content's viewport, while the footer sticks to the bottom. This layout does not display the logo in the app header."},{value:"vertical-full-header",description:"Similar to `vertical-sticky`. However, the header and the navigation bar dock to the top of the app's window, while the footer sticks to the bottom."},{value:"condensed",description:"Similar to `horizontal`. However, the header and the navigation bar are in a single header block. (default)"},{value:"condensed-sticky",description:"However, the header and the navigation bar are in a single header block."},{value:"horizontal",description:"This layout stacks the layout sections in a single column in this order: header, navigation bar, main content, and footer. The application is a single scroll container; every part moves as you scroll the page."},{value:"horizontal-sticky",description:"Similar to `horizontal`, the header and the navigation bar dock to the top of the viewport, while the footer sticks to the bottom."}],Fd=s.createContext(null);function ia(){return s.useContext(Fd)}const Fa=s.createContext(null),Ud={themeVars:`'{"padding-AppHeader": "var(--xmlui-padding-AppHeader)", "paddingHorizontal-AppHeader": "var(--xmlui-paddingHorizontal-AppHeader, var(--xmlui-padding-AppHeader))", "paddingVertical-AppHeader": "var(--xmlui-paddingVertical-AppHeader, var(--xmlui-padding-AppHeader))", "paddingLeft-AppHeader": "var(--xmlui-paddingLeft-AppHeader, var(--xmlui-paddingHorizontal-AppHeader, var(--xmlui-padding-AppHeader)))", "paddingRight-AppHeader": "var(--xmlui-paddingRight-AppHeader, var(--xmlui-paddingHorizontal-AppHeader, var(--xmlui-padding-AppHeader)))", "paddingTop-AppHeader": "var(--xmlui-paddingTop-AppHeader, var(--xmlui-paddingVertical-AppHeader, var(--xmlui-padding-AppHeader)))", "paddingBottom-AppHeader": "var(--xmlui-paddingBottom-AppHeader, var(--xmlui-paddingVertical-AppHeader, var(--xmlui-padding-AppHeader)))", "padding-logo-AppHeader": "var(--xmlui-padding-logo-AppHeader)", "paddingHorizontal-logo-AppHeader": "var(--xmlui-paddingHorizontal-logo-AppHeader, var(--xmlui-padding-logo-AppHeader))", "paddingVertical-logo-AppHeader": "var(--xmlui-paddingVertical-logo-AppHeader, var(--xmlui-padding-logo-AppHeader))", "paddingLeft-logo-AppHeader": "var(--xmlui-paddingLeft-logo-AppHeader, var(--xmlui-paddingHorizontal-logo-AppHeader, var(--xmlui-padding-logo-AppHeader)))", "paddingRight-logo-AppHeader": "var(--xmlui-paddingRight-logo-AppHeader, var(--xmlui-paddingHorizontal-logo-AppHeader, var(--xmlui-padding-logo-AppHeader)))", "paddingTop-logo-AppHeader": "var(--xmlui-paddingTop-logo-AppHeader, var(--xmlui-paddingVertical-logo-AppHeader, var(--xmlui-padding-logo-AppHeader)))", "paddingBottom-logo-AppHeader": "var(--xmlui-paddingBottom-logo-AppHeader, var(--xmlui-paddingVertical-logo-AppHeader, var(--xmlui-padding-logo-AppHeader)))", "border-AppHeader": "var(--xmlui-border-AppHeader)", "borderHorizontal-AppHeader": "var(--xmlui-borderHorizontal-AppHeader, var(--xmlui-border-AppHeader))", "borderVertical-AppHeader": "var(--xmlui-borderVertical-AppHeader, var(--xmlui-border-AppHeader))", "borderLeft-AppHeader": "var(--xmlui-borderLeft-AppHeader, var(--xmlui-borderHorizontal-AppHeader, var(--xmlui-border-AppHeader)))", "borderRight-AppHeader": "var(--xmlui-borderRight-AppHeader, var(--xmlui-borderHorizontal-AppHeader, var(--xmlui-border-AppHeader)))", "borderTop-AppHeader": "var(--xmlui-borderTop-AppHeader, var(--xmlui-borderVertical-AppHeader, var(--xmlui-border-AppHeader)))", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader, var(--xmlui-borderVertical-AppHeader, var(--xmlui-border-AppHeader)))", "borderWidth-AppHeader": "var(--xmlui-borderWidth-AppHeader)", "borderHorizontalWidth-AppHeader": "var(--xmlui-borderHorizontalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader))", "borderLeftWidth-AppHeader": "var(--xmlui-borderLeftWidth-AppHeader, var(--xmlui-borderHorizontalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader)))", "borderRightWidth-AppHeader": "var(--xmlui-borderRightWidth-AppHeader, var(--xmlui-borderHorizontalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader)))", "borderVerticalWidth-AppHeader": "var(--xmlui-borderVerticalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader))", "borderTopWidth-AppHeader": "var(--xmlui-borderTopWidth-AppHeader, var(--xmlui-borderVerticalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader)))", "borderBottomWidth-AppHeader": "var(--xmlui-borderBottomWidth-AppHeader, var(--xmlui-borderVerticalWidth-AppHeader, var(--xmlui-borderWidth-AppHeader)))", "borderStyle-AppHeader": "var(--xmlui-borderStyle-AppHeader)", "borderHorizontalStyle-AppHeader": "var(--xmlui-borderHorizontalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader))", "borderLeftStyle-AppHeader": "var(--xmlui-borderLeftStyle-AppHeader, var(--xmlui-borderHorizontalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader)))", "borderRightStyle-AppHeader": "var(--xmlui-borderRightStyle-AppHeader, var(--xmlui-borderHorizontalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader)))", "borderVerticalStyle-AppHeader": "var(--xmlui-borderVerticalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader))", "borderTopStyle-AppHeader": "var(--xmlui-borderTopStyle-AppHeader, var(--xmlui-borderVerticalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader)))", "borderBottomStyle-AppHeader": "var(--xmlui-borderBottomStyle-AppHeader, var(--xmlui-borderVerticalStyle-AppHeader, var(--xmlui-borderStyle-AppHeader)))", "borderColor-AppHeader": "var(--xmlui-borderColor-AppHeader)", "borderHorizontalColor-AppHeader": "var(--xmlui-borderHorizontalColor-AppHeader, var(--xmlui-borderColor-AppHeader))", "borderLeftColor-AppHeader": "var(--xmlui-borderLeftColor-AppHeader, var(--xmlui-borderHorizontalColor-AppHeader, var(--xmlui-borderColor-AppHeader)))", "borderRightColor-AppHeader": "var(--xmlui-borderRightColor-AppHeader, var(--xmlui-borderHorizontalColor-AppHeader, var(--xmlui-borderColor-AppHeader)))", "borderVerticalColor-AppHeader": "var(--xmlui-borderVerticalColor-AppHeader, var(--xmlui-borderColor-AppHeader))", "borderTopColor-AppHeader": "var(--xmlui-borderTopColor-AppHeader, var(--xmlui-borderVerticalColor-AppHeader, var(--xmlui-borderColor-AppHeader)))", "borderBottomColor-AppHeader": "var(--xmlui-borderBottomColor-AppHeader, var(--xmlui-borderVerticalColor-AppHeader, var(--xmlui-borderColor-AppHeader)))", "borderStartStartRadius-AppHeader": "var(--xmlui-borderStartStartRadius-AppHeader, var(--xmlui-borderRadius-AppHeader))", "borderStartEndRadius-AppHeader": "var(--xmlui-borderStartEndRadius-AppHeader, var(--xmlui-borderRadius-AppHeader))", "borderEndStartRadius-AppHeader": "var(--xmlui-borderEndStartRadius-AppHeader, var(--xmlui-borderRadius-AppHeader))", "borderEndEndRadius-AppHeader": "var(--xmlui-borderEndEndRadius-AppHeader, var(--xmlui-borderRadius-AppHeader))", "width-logo-AppHeader": "var(--xmlui-width-logo-AppHeader)", "align-content-AppHeader": "var(--xmlui-align-content-AppHeader)", "height-AppHeader": "var(--xmlui-height-AppHeader)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "maxWidth-content-AppHeader": "var(--xmlui-maxWidth-content-AppHeader)", "maxWidth-AppHeader": "var(--xmlui-maxWidth-AppHeader)", "padding-drawerToggle-AppHeader": "var(--xmlui-padding-drawerToggle-AppHeader)"}'`},Ua={themeVars:'"[]"',img:"_img_dk2s3_13",clickable:"_clickable_dk2s3_19"},qd=s.forwardRef(function({src:t,alt:r,fit:o="contain",style:a,onClick:l,aspectRatio:i,lazyLoad:n,inline:c},b){return d.jsx("img",{src:t,ref:b,alt:r,loading:n?"lazy":"eager",className:re(Ua.img,{[Ua.clickable]:!!l}),style:{objectFit:o,boxShadow:"none",...a,flexShrink:1,aspectRatio:i,...c?{display:"inline"}:{}},onClick:l})}),pl=s.forwardRef(function({style:t},r){const o=Xd();return o?d.jsx(qd,{ref:r,src:o,alt:"Logo",style:{width:"auto",boxShadow:"none",...t}}):null}),dr={themeVars:`'{"padding-NavLink": "var(--xmlui-padding-NavLink)", "paddingHorizontal-NavLink": "var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink))", "paddingVertical-NavLink": "var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink))", "paddingLeft-NavLink": "var(--xmlui-paddingLeft-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)))", "paddingRight-NavLink": "var(--xmlui-paddingRight-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)))", "paddingTop-NavLink": "var(--xmlui-paddingTop-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)))", "paddingBottom-NavLink": "var(--xmlui-paddingBottom-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)))", "border-NavLink": "var(--xmlui-border-NavLink)", "borderHorizontal-NavLink": "var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink))", "borderVertical-NavLink": "var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink))", "borderLeft-NavLink": "var(--xmlui-borderLeft-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)))", "borderRight-NavLink": "var(--xmlui-borderRight-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)))", "borderTop-NavLink": "var(--xmlui-borderTop-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)))", "borderBottom-NavLink": "var(--xmlui-borderBottom-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)))", "borderWidth-NavLink": "var(--xmlui-borderWidth-NavLink)", "borderHorizontalWidth-NavLink": "var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink))", "borderLeftWidth-NavLink": "var(--xmlui-borderLeftWidth-NavLink, var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderRightWidth-NavLink": "var(--xmlui-borderRightWidth-NavLink, var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderVerticalWidth-NavLink": "var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink))", "borderTopWidth-NavLink": "var(--xmlui-borderTopWidth-NavLink, var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderBottomWidth-NavLink": "var(--xmlui-borderBottomWidth-NavLink, var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderStyle-NavLink": "var(--xmlui-borderStyle-NavLink)", "borderHorizontalStyle-NavLink": "var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink))", "borderLeftStyle-NavLink": "var(--xmlui-borderLeftStyle-NavLink, var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderRightStyle-NavLink": "var(--xmlui-borderRightStyle-NavLink, var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderVerticalStyle-NavLink": "var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink))", "borderTopStyle-NavLink": "var(--xmlui-borderTopStyle-NavLink, var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderBottomStyle-NavLink": "var(--xmlui-borderBottomStyle-NavLink, var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderColor-NavLink": "var(--xmlui-borderColor-NavLink)", "borderHorizontalColor-NavLink": "var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink))", "borderLeftColor-NavLink": "var(--xmlui-borderLeftColor-NavLink, var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderRightColor-NavLink": "var(--xmlui-borderRightColor-NavLink, var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderVerticalColor-NavLink": "var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink))", "borderTopColor-NavLink": "var(--xmlui-borderTopColor-NavLink, var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderBottomColor-NavLink": "var(--xmlui-borderBottomColor-NavLink, var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderStartStartRadius-NavLink": "var(--xmlui-borderStartStartRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderStartEndRadius-NavLink": "var(--xmlui-borderStartEndRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderEndStartRadius-NavLink": "var(--xmlui-borderEndStartRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderEndEndRadius-NavLink": "var(--xmlui-borderEndEndRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "backgroundColor-NavLink": "var(--xmlui-backgroundColor-NavLink)", "backgroundColor-NavLink--hover": "var(--xmlui-backgroundColor-NavLink--hover)", "backgroundColor-NavLink--hover--active": "var(--xmlui-backgroundColor-NavLink--hover--active)", "backgroundColor-NavLink--active": "var(--xmlui-backgroundColor-NavLink--active)", "backgroundColor-NavLink--pressed": "var(--xmlui-backgroundColor-NavLink--pressed)", "backgroundColor-NavLink--pressed--active": "var(--xmlui-backgroundColor-NavLink--pressed--active)", "fontSize-NavLink": "var(--xmlui-fontSize-NavLink)", "wordWrap-NavLink": "var(--xmlui-wordWrap-NavLink)", "textColor-NavLink": "var(--xmlui-textColor-NavLink)", "textColor-NavLink--hover": "var(--xmlui-textColor-NavLink--hover)", "textColor-NavLink--active": "var(--xmlui-textColor-NavLink--active)", "textColor-NavLink--hover--active": "var(--xmlui-textColor-NavLink--hover--active)", "textColor-NavLink--pressed": "var(--xmlui-textColor-NavLink--pressed)", "textColor-NavLink--pressed--active": "var(--xmlui-textColor-NavLink--pressed--active)", "color-icon-NavLink": "var(--xmlui-color-icon-NavLink)", "fontFamily-NavLink": "var(--xmlui-fontFamily-NavLink)", "fontWeight-NavLink": "var(--xmlui-fontWeight-NavLink)", "fontWeight-NavLink--pressed": "var(--xmlui-fontWeight-NavLink--pressed)", "fontWeight-NavLink--active": "var(--xmlui-fontWeight-NavLink--active)", "borderRadius-indicator-NavLink": "var(--xmlui-borderRadius-indicator-NavLink)", "thickness-indicator-NavLink": "var(--xmlui-thickness-indicator-NavLink)", "color-indicator-NavLink": "var(--xmlui-color-indicator-NavLink)", "color-indicator-NavLink--hover": "var(--xmlui-color-indicator-NavLink--hover)", "color-indicator-NavLink--active": "var(--xmlui-color-indicator-NavLink--active)", "color-indicator-NavLink--pressed": "var(--xmlui-color-indicator-NavLink--pressed)", "outlineWidth-NavLink--focus": "var(--xmlui-outlineWidth-NavLink--focus)", "outlineColor-NavLink--focus": "var(--xmlui-outlineColor-NavLink--focus)", "outlineStyle-NavLink--focus": "var(--xmlui-outlineStyle-NavLink--focus)", "outlineOffset-NavLink--focus": "var(--xmlui-outlineOffset-NavLink--focus)"}'`,content:"_content_buj87_13",base:"_base_buj87_13",includeHoverIndicator:"_includeHoverIndicator_buj87_62",displayActive:"_displayActive_buj87_72",navItemActive:"_navItemActive_buj87_109",disabled:"_disabled_buj87_144",vertical:"_vertical_buj87_148"};function hl(e){return!e||typeof e=="string"||typeof e=="number"?e:e.queryParams!==void 0?{...e,search:new URLSearchParams(Be.omitBy(e.queryParams,Be.isUndefined)).toString()}:e}const Ut={themeVars:`'{"border-NavPanel": "var(--xmlui-border-NavPanel)", "borderHorizontal-NavPanel": "var(--xmlui-borderHorizontal-NavPanel, var(--xmlui-border-NavPanel))", "borderVertical-NavPanel": "var(--xmlui-borderVertical-NavPanel, var(--xmlui-border-NavPanel))", "borderLeft-NavPanel": "var(--xmlui-borderLeft-NavPanel, var(--xmlui-borderHorizontal-NavPanel, var(--xmlui-border-NavPanel)))", "borderRight-NavPanel": "var(--xmlui-borderRight-NavPanel, var(--xmlui-borderHorizontal-NavPanel, var(--xmlui-border-NavPanel)))", "borderTop-NavPanel": "var(--xmlui-borderTop-NavPanel, var(--xmlui-borderVertical-NavPanel, var(--xmlui-border-NavPanel)))", "borderBottom-NavPanel": "var(--xmlui-borderBottom-NavPanel, var(--xmlui-borderVertical-NavPanel, var(--xmlui-border-NavPanel)))", "borderWidth-NavPanel": "var(--xmlui-borderWidth-NavPanel)", "borderHorizontalWidth-NavPanel": "var(--xmlui-borderHorizontalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel))", "borderLeftWidth-NavPanel": "var(--xmlui-borderLeftWidth-NavPanel, var(--xmlui-borderHorizontalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel)))", "borderRightWidth-NavPanel": "var(--xmlui-borderRightWidth-NavPanel, var(--xmlui-borderHorizontalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel)))", "borderVerticalWidth-NavPanel": "var(--xmlui-borderVerticalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel))", "borderTopWidth-NavPanel": "var(--xmlui-borderTopWidth-NavPanel, var(--xmlui-borderVerticalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel)))", "borderBottomWidth-NavPanel": "var(--xmlui-borderBottomWidth-NavPanel, var(--xmlui-borderVerticalWidth-NavPanel, var(--xmlui-borderWidth-NavPanel)))", "borderStyle-NavPanel": "var(--xmlui-borderStyle-NavPanel)", "borderHorizontalStyle-NavPanel": "var(--xmlui-borderHorizontalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel))", "borderLeftStyle-NavPanel": "var(--xmlui-borderLeftStyle-NavPanel, var(--xmlui-borderHorizontalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel)))", "borderRightStyle-NavPanel": "var(--xmlui-borderRightStyle-NavPanel, var(--xmlui-borderHorizontalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel)))", "borderVerticalStyle-NavPanel": "var(--xmlui-borderVerticalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel))", "borderTopStyle-NavPanel": "var(--xmlui-borderTopStyle-NavPanel, var(--xmlui-borderVerticalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel)))", "borderBottomStyle-NavPanel": "var(--xmlui-borderBottomStyle-NavPanel, var(--xmlui-borderVerticalStyle-NavPanel, var(--xmlui-borderStyle-NavPanel)))", "borderColor-NavPanel": "var(--xmlui-borderColor-NavPanel)", "borderHorizontalColor-NavPanel": "var(--xmlui-borderHorizontalColor-NavPanel, var(--xmlui-borderColor-NavPanel))", "borderLeftColor-NavPanel": "var(--xmlui-borderLeftColor-NavPanel, var(--xmlui-borderHorizontalColor-NavPanel, var(--xmlui-borderColor-NavPanel)))", "borderRightColor-NavPanel": "var(--xmlui-borderRightColor-NavPanel, var(--xmlui-borderHorizontalColor-NavPanel, var(--xmlui-borderColor-NavPanel)))", "borderVerticalColor-NavPanel": "var(--xmlui-borderVerticalColor-NavPanel, var(--xmlui-borderColor-NavPanel))", "borderTopColor-NavPanel": "var(--xmlui-borderTopColor-NavPanel, var(--xmlui-borderVerticalColor-NavPanel, var(--xmlui-borderColor-NavPanel)))", "borderBottomColor-NavPanel": "var(--xmlui-borderBottomColor-NavPanel, var(--xmlui-borderVerticalColor-NavPanel, var(--xmlui-borderColor-NavPanel)))", "borderStartStartRadius-NavPanel": "var(--xmlui-borderStartStartRadius-NavPanel, var(--xmlui-borderRadius-NavPanel))", "borderStartEndRadius-NavPanel": "var(--xmlui-borderStartEndRadius-NavPanel, var(--xmlui-borderRadius-NavPanel))", "borderEndStartRadius-NavPanel": "var(--xmlui-borderEndStartRadius-NavPanel, var(--xmlui-borderRadius-NavPanel))", "borderEndEndRadius-NavPanel": "var(--xmlui-borderEndEndRadius-NavPanel, var(--xmlui-borderRadius-NavPanel))", "backgroundColor-NavPanel": "var(--xmlui-backgroundColor-NavPanel)", "boxShadow-NavPanel": "var(--xmlui-boxShadow-NavPanel)", "padding-NavPanel": "var(--xmlui-padding-NavPanel)", "paddingHorizontal-NavPanel": "var(--xmlui-paddingHorizontal-NavPanel)", "paddingVertical-NavPanel": "var(--xmlui-paddingVertical-NavPanel, var(--xmlui-padding-NavPanel))", "paddingLeft-NavPanel": "var(--xmlui-paddingLeft-NavPanel, var(--xmlui-paddingHorizontal-NavPanel, var(--xmlui-padding-NavPanel)))", "paddingRight-NavPanel": "var(--xmlui-paddingRight-NavPanel, var(--xmlui-paddingHorizontal-NavPanel, var(--xmlui-padding-NavPanel)))", "paddingTop-NavPanel": "var(--xmlui-paddingTop-NavPanel, var(--xmlui-paddingVertical-NavPanel, var(--xmlui-padding-NavPanel)))", "paddingBottom-NavPanel": "var(--xmlui-paddingBottom-NavPanel, var(--xmlui-paddingVertical-NavPanel, var(--xmlui-padding-NavPanel)))", "padding-logo-NavPanel": "var(--xmlui-padding-logo-NavPanel)", "paddingHorizontal-logo-NavPanel": "var(--xmlui-paddingHorizontal-logo-NavPanel)", "paddingVertical-logo-NavPanel": "var(--xmlui-paddingVertical-logo-NavPanel)", "paddingLeft-logo-NavPanel": "var(--xmlui-paddingLeft-logo-NavPanel, var(--xmlui-paddingHorizontal-logo-NavPanel, var(--xmlui-padding-logo-NavPanel)))", "paddingRight-logo-NavPanel": "var(--xmlui-paddingRight-logo-NavPanel, var(--xmlui-paddingHorizontal-logo-NavPanel, var(--xmlui-padding-logo-NavPanel)))", "paddingTop-logo-NavPanel": "var(--xmlui-paddingTop-logo-NavPanel, var(--xmlui-paddingVertical-logo-NavPanel, var(--xmlui-padding-logo-NavPanel)))", "paddingBottom-logo-NavPanel": "var(--xmlui-paddingBottom-logo-NavPanel, var(--xmlui-paddingVertical-logo-NavPanel, var(--xmlui-padding-logo-NavPanel)))", "marginBottom-logo-NavPanel": "var(--xmlui-marginBottom-logo-NavPanel)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "height-AppHeader": "var(--xmlui-height-AppHeader)", "paddingVertical-AppHeader": "var(--xmlui-paddingVertical-AppHeader)", "align-content-AppHeader": "var(--xmlui-align-content-AppHeader)"}'`,wrapper:"_wrapper_19swn_13",condensed:"_condensed_19swn_50",vertical:"_vertical_19swn_53",horizontal:"_horizontal_19swn_56",wrapperInner:"_wrapperInner_19swn_60",logoWrapper:"_logoWrapper_19swn_79",inDrawer:"_inDrawer_19swn_89"},qa=s.createContext(null),Gd={inDrawer:!0};function jd({logoContent:e,children:t,className:r,style:o}){const a=s.useRef(null);return d.jsx(qa.Provider,{value:Gd,children:d.jsx("div",{ref:a,className:re(Ut.wrapper,r),children:d.jsxs(Fa.Provider,{value:a,children:[d.jsx("div",{className:re(Ut.logoWrapper,Ut.inDrawer),children:e||d.jsx(pl,{})}),d.jsx("div",{className:Ut.wrapperInner,style:o,children:t})]})})})}s.forwardRef(function({children:t,style:r,logoContent:o,className:a,inDrawer:l,renderChild:i},n){var y,$;const c=s.useRef(null),b=n?sr(c,n):c,h=ia(),p=xl(h==null?void 0:h.layout)==="horizontal",C=(h==null?void 0:h.layout)==="vertical"||(h==null?void 0:h.layout)==="vertical-sticky",v=(y=h==null?void 0:h.layout)==null?void 0:y.startsWith("condensed"),g=($=h==null?void 0:h.layout)==null?void 0:$.startsWith("vertical"),T=o||i(h==null?void 0:h.logoContentDef);return l?d.jsx(jd,{style:r,logoContent:T,className:a,children:t}):d.jsx("div",{ref:b,className:re(Ut.wrapper,a,{[Ut.horizontal]:p,[Ut.vertical]:g,[Ut.condensed]:v}),children:d.jsxs(Fa.Provider,{value:c,children:[C&&d.jsx("div",{className:re(Ut.logoWrapper),children:T||d.jsx(pl,{})}),d.jsx("div",{className:Ut.wrapperInner,style:r,children:t})]})})});const bl=s.forwardRef(function({uid:t,children:r,disabled:o,to:a,sx:l={},displayActive:i=!0,vertical:n,style:c,onClick:b,icon:h,forceActive:p,...C},v){const g=ia(),T=s.useContext(qa);let y=n;g&&y===void 0&&(y=xl(g.layout)==="vertical"||(T==null?void 0:T.inDrawer));const $=s.useMemo(()=>{if(a)return hl(a)},[a]),w={...l,...c},_=re(dr.content,dr.base,{[dr.disabled]:o,[dr.vertical]:y,[dr.includeHoverIndicator]:i,[dr.navItemActive]:i&&p});let A;return o||!$?A=d.jsxs("button",{...C,ref:v,onClick:b,className:_,style:w,disabled:o,children:[h,r]}):A=d.jsxs(Ba.NavLink,{id:t,...C,ref:v,to:$,style:w,onClick:b,className:({isActive:P})=>re(_,{[dr.displayActive]:i,[dr.navItemActive]:i&&(P||p)}),children:[h,r]}),A});function Xd(){const{logo:e,logoLight:t,logoDark:r}=ia()||{},o={light:t,dark:r},{activeThemeTone:a}=zt(),l=Na("resource:logo")||e;return Na(`resource:logo-${a}`)||o[a]||l}function xl(e){switch(e){case"vertical":case"vertical-sticky":case"vertical-full-header":return"vertical";default:return"horizontal"}}const Tr="App",Yd={status:"stable",description:`The \`${Tr}\` component provides a UI frame for XMLUI apps. According to predefined (and run-time configurable) structure templates, \`${Tr}\` allows you to display your preferred layout.`,props:{layout:{description:"This property sets the layout template of the app. This setting determines the position and size of the app parts (such as header, navigation bar, footer, etc.) and the app's scroll behavior.",availableValues:Rd},loggedInUser:{description:"Stores information about the currently logged in user.",valueType:"string"},logoTemplate:$e("Optional template of the app logo"),logo:{description:"Optional logo path",valueType:"string"},"logo-dark":{description:"Optional logo path in dark tone",valueType:"string"},"logo-light":{description:"Optional logo path in light tone",valueType:"string"},name:{description:"Optional application name (visible in the browser tab)",valueType:"string"},scrollWholePage:{description:"This boolean property specifies whether the whole page should scroll (`true`) or just the content area (`false`). The default value is `true`.",valueType:"boolean",defaultValue:!0},noScrollbarGutters:{description:"This boolean property specifies whether the scrollbar gutters should be hidden.",valueType:"boolean",defaultValue:!1},defaultTone:{description:`This property sets the app's default tone ("light" or "dark").`,valueType:"string",defaultValue:"light",availableValues:["light","dark"]},defaultTheme:{description:"This property sets the app's default theme.",valueType:"string",defaultValue:"xmlui"}},events:{ready:m(`This event fires when the \`${Tr}\` component finishes rendering on the page.`)},themeVars:Y(Dd.themeVars),themeVarDescriptions:{"maxWidth-content-App":"This theme variable defines the maximum width of the main content. If the main content is broader, the engine adds margins to keep the expected maximum size.","boxShadow‑header‑App":"This theme variable sets the shadow of the app's header section.","boxShadow‑navPanel‑App":"This theme variable sets the shadow of the app's navigation panel section (visible only in vertical layouts).","width‑navPanel‑App":"This theme variable sets the width of the navigation panel when the app is displayed with one of the vertical layouts."},defaultThemeVars:{[`width-navPanel-${Tr}`]:"$space-64",[`backgroundColor-navPanel-${Tr}`]:"$backgroundColor",[`maxWidth-content-${Tr}`]:"$maxWidth-content",[`boxShadow-header-${Tr}`]:"$boxShadow-spread",[`boxShadow-navPanel-${Tr}`]:"$boxShadow-spread","scroll-padding-block-Pages":"$space-4","backgroundColor-content-App":"$backgroundColor",light:{},dark:{}}};function Ga(e,t){return{[`paddingLeft-${e}`]:(t==null?void 0:t.left)??`$paddingHorizontal-${e}`,[`paddingRight-${e}`]:(t==null?void 0:t.right)??`$paddingHorizontal-${e}`,[`paddingTop-${e}`]:(t==null?void 0:t.top)??`$paddingVertical-${e}`,[`paddingBottom-${e}`]:(t==null?void 0:t.bottom)??`$paddingVertical-${e}`,[`paddingHorizontal-${e}`]:(t==null?void 0:t.horizontal)??"",[`paddingVertical-${e}`]:(t==null?void 0:t.vertical)??"",[`padding-${e}`]:(t==null?void 0:t.all)??`$paddingTop-${e} $paddingRight-${e} $paddingBottom-${e} $paddingLeft-${e}`}}const yt="AppHeader",Zd={status:"experimental",description:`\`${yt}\` is a placeholder within \`App\` to define a custom application header.`,props:{profileMenuTemplate:$e(`This property makes the profile menu slot of the \`${yt}\` component customizable.`),logoTemplate:$e("This property defines the template to use for the logo. With this property, you can construct your custom logo instead of using a single image."),titleTemplate:$e("This property defines the template to use for the title. With this property, you can construct your custom title instead of using a single image."),title:{description:"Title for the application logo",valueType:"string"},showLogo:{description:"Show the logo in the header",valueType:"boolean",defaultValue:!0}},themeVars:Y(Ud.themeVars),themeVarDescriptions:{[`padding‑logo‑${yt}`]:"This theme variable sets the padding of the logo in the app header (including all `padding` variants, such as `paddingLeft-logo-AppHeader` and others).",[`width‑logo‑${yt}`]:"Sets the width of the displayed logo"},defaultThemeVars:{[`padding-drawerToggle-${yt}`]:"$space-0_5",[`height-${yt}`]:"$space-14",[`maxWidth-content-${yt}`]:"$maxWidth-content-App",[`maxWidth-${yt}`]:"$maxWidth-App",[`borderBottom-${yt}`]:"1px solid $borderColor",...Ga(`logo-${yt}`,{horizontal:"$space-0",vertical:"$space-4"}),...Ga(yt,{horizontal:"$space-4",vertical:"$space-0"}),[`borderRadius-${yt}`]:"0px",[`backgroundColor-${yt}`]:"$color-surface-raised"}},Eo="AppState",Qd={description:`${Eo} is a functional component (without a visible user interface) that helps store and manage the app's state.`,props:{bucket:{description:`This property is the identifier of the bucket to which the \`${Eo}\` instance is bound. Multiple \`${Eo}\` instances with the same bucket will share the same state object: any of them updating the state will cause the other instances to view the new, updated state.`,valueType:"string",defaultValue:"default"},initialValue:{description:`This property contains the initial state value. Though you can use multiple \`${Eo}\`component instances for the same bucket with their \`initialValue\` set, it may result in faulty app logic. When xmlui instantiates an \`${Eo}\` with an explicit initial value, that value is immediately set. Multiple initial values may result in undesired initialization.`}},apis:{update:m("This method updates the application state object bound to the `AppState` instance. The function's single argument is an object that specifies the new state value.")},nonVisual:!0},Mr={themeVars:`'{"border-Avatar": "var(--xmlui-border-Avatar)", "borderHorizontal-Avatar": "var(--xmlui-borderHorizontal-Avatar, var(--xmlui-border-Avatar))", "borderVertical-Avatar": "var(--xmlui-borderVertical-Avatar, var(--xmlui-border-Avatar))", "borderLeft-Avatar": "var(--xmlui-borderLeft-Avatar, var(--xmlui-borderHorizontal-Avatar, var(--xmlui-border-Avatar)))", "borderRight-Avatar": "var(--xmlui-borderRight-Avatar, var(--xmlui-borderHorizontal-Avatar, var(--xmlui-border-Avatar)))", "borderTop-Avatar": "var(--xmlui-borderTop-Avatar, var(--xmlui-borderVertical-Avatar, var(--xmlui-border-Avatar)))", "borderBottom-Avatar": "var(--xmlui-borderBottom-Avatar, var(--xmlui-borderVertical-Avatar, var(--xmlui-border-Avatar)))", "borderWidth-Avatar": "var(--xmlui-borderWidth-Avatar)", "borderHorizontalWidth-Avatar": "var(--xmlui-borderHorizontalWidth-Avatar, var(--xmlui-borderWidth-Avatar))", "borderLeftWidth-Avatar": "var(--xmlui-borderLeftWidth-Avatar, var(--xmlui-borderHorizontalWidth-Avatar, var(--xmlui-borderWidth-Avatar)))", "borderRightWidth-Avatar": "var(--xmlui-borderRightWidth-Avatar, var(--xmlui-borderHorizontalWidth-Avatar, var(--xmlui-borderWidth-Avatar)))", "borderVerticalWidth-Avatar": "var(--xmlui-borderVerticalWidth-Avatar, var(--xmlui-borderWidth-Avatar))", "borderTopWidth-Avatar": "var(--xmlui-borderTopWidth-Avatar, var(--xmlui-borderVerticalWidth-Avatar, var(--xmlui-borderWidth-Avatar)))", "borderBottomWidth-Avatar": "var(--xmlui-borderBottomWidth-Avatar, var(--xmlui-borderVerticalWidth-Avatar, var(--xmlui-borderWidth-Avatar)))", "borderStyle-Avatar": "var(--xmlui-borderStyle-Avatar)", "borderHorizontalStyle-Avatar": "var(--xmlui-borderHorizontalStyle-Avatar, var(--xmlui-borderStyle-Avatar))", "borderLeftStyle-Avatar": "var(--xmlui-borderLeftStyle-Avatar, var(--xmlui-borderHorizontalStyle-Avatar, var(--xmlui-borderStyle-Avatar)))", "borderRightStyle-Avatar": "var(--xmlui-borderRightStyle-Avatar, var(--xmlui-borderHorizontalStyle-Avatar, var(--xmlui-borderStyle-Avatar)))", "borderVerticalStyle-Avatar": "var(--xmlui-borderVerticalStyle-Avatar, var(--xmlui-borderStyle-Avatar))", "borderTopStyle-Avatar": "var(--xmlui-borderTopStyle-Avatar, var(--xmlui-borderVerticalStyle-Avatar, var(--xmlui-borderStyle-Avatar)))", "borderBottomStyle-Avatar": "var(--xmlui-borderBottomStyle-Avatar, var(--xmlui-borderVerticalStyle-Avatar, var(--xmlui-borderStyle-Avatar)))", "borderColor-Avatar": "var(--xmlui-borderColor-Avatar)", "borderHorizontalColor-Avatar": "var(--xmlui-borderHorizontalColor-Avatar, var(--xmlui-borderColor-Avatar))", "borderLeftColor-Avatar": "var(--xmlui-borderLeftColor-Avatar, var(--xmlui-borderHorizontalColor-Avatar, var(--xmlui-borderColor-Avatar)))", "borderRightColor-Avatar": "var(--xmlui-borderRightColor-Avatar, var(--xmlui-borderHorizontalColor-Avatar, var(--xmlui-borderColor-Avatar)))", "borderVerticalColor-Avatar": "var(--xmlui-borderVerticalColor-Avatar, var(--xmlui-borderColor-Avatar))", "borderTopColor-Avatar": "var(--xmlui-borderTopColor-Avatar, var(--xmlui-borderVerticalColor-Avatar, var(--xmlui-borderColor-Avatar)))", "borderBottomColor-Avatar": "var(--xmlui-borderBottomColor-Avatar, var(--xmlui-borderVerticalColor-Avatar, var(--xmlui-borderColor-Avatar)))", "borderStartStartRadius-Avatar": "var(--xmlui-borderStartStartRadius-Avatar, var(--xmlui-borderRadius-Avatar))", "borderStartEndRadius-Avatar": "var(--xmlui-borderStartEndRadius-Avatar, var(--xmlui-borderRadius-Avatar))", "borderEndStartRadius-Avatar": "var(--xmlui-borderEndStartRadius-Avatar, var(--xmlui-borderRadius-Avatar))", "borderEndEndRadius-Avatar": "var(--xmlui-borderEndEndRadius-Avatar, var(--xmlui-borderRadius-Avatar))", "backgroundColor-Avatar": "var(--xmlui-backgroundColor-Avatar)", "boxShadow-Avatar": "var(--xmlui-boxShadow-Avatar)", "textColor-Avatar": "var(--xmlui-textColor-Avatar)", "fontWeight-Avatar": "var(--xmlui-fontWeight-Avatar)"}'`,container:"_container_17cih_13",xs:"_xs_17cih_50",sm:"_sm_17cih_57",md:"_md_17cih_64",lg:"_lg_17cih_71",clickable:"_clickable_17cih_78"},vl={size:"sm"},Jd=s.forwardRef(function({size:t=vl.size,url:r,name:o,style:a,onClick:l,...i},n){let c=null;return!r&&o&&(c=o.trim().split(" ").filter(b=>!!b.trim().length).map(b=>b[0].toUpperCase()).slice(0,3)),d.jsx("div",{...i,ref:n,className:re(Mr.container,{[Mr.xs]:t==="xs",[Mr.sm]:t==="sm",[Mr.md]:t==="md",[Mr.lg]:t==="lg",[Mr.clickable]:!!l}),style:{backgroundImage:r?`url(${r})`:"none",...a},onClick:l,children:c})}),Kt="Avatar",Kd={description:`The \`${Kt}\` component represents a user, group (or other entity's) avatar with a small image or initials.`,props:{size:{description:`This property defines the display size of the ${Kt}.`,availableValues:Oa,valueType:"string",defaultValue:vl.size},name:{description:`This property sets the name value the ${Kt} uses to display initials.`,valueType:"string"},url:{description:`This property specifies the URL of the image to display in the ${Kt}.`,valueType:"string"}},events:{click:m("This event is triggered when the avatar is clicked.")},themeVars:Y(Mr.themeVars),defaultThemeVars:{[`borderRadius-${Kt}`]:"4px",[`boxShadow-${Kt}`]:"inset 0 0 0 1px rgba(4,32,69,0.1)",[`textColor-${Kt}`]:"$textColor-secondary",[`fontWeight-${Kt}`]:"$fontWeight-bold",[`border-${Kt}`]:"0px solid $color-surface-400A80",[`backgroundColor-${Kt}`]:"$color-surface-100"}},ja={themeVars:`'{"border-Badge": "var(--xmlui-border-Badge)", "borderHorizontal-Badge": "var(--xmlui-borderHorizontal-Badge, var(--xmlui-border-Badge))", "borderVertical-Badge": "var(--xmlui-borderVertical-Badge, var(--xmlui-border-Badge))", "borderLeft-Badge": "var(--xmlui-borderLeft-Badge, var(--xmlui-borderHorizontal-Badge, var(--xmlui-border-Badge)))", "borderRight-Badge": "var(--xmlui-borderRight-Badge, var(--xmlui-borderHorizontal-Badge, var(--xmlui-border-Badge)))", "borderTop-Badge": "var(--xmlui-borderTop-Badge, var(--xmlui-borderVertical-Badge, var(--xmlui-border-Badge)))", "borderBottom-Badge": "var(--xmlui-borderBottom-Badge, var(--xmlui-borderVertical-Badge, var(--xmlui-border-Badge)))", "borderWidth-Badge": "var(--xmlui-borderWidth-Badge)", "borderHorizontalWidth-Badge": "var(--xmlui-borderHorizontalWidth-Badge, var(--xmlui-borderWidth-Badge))", "borderLeftWidth-Badge": "var(--xmlui-borderLeftWidth-Badge, var(--xmlui-borderHorizontalWidth-Badge, var(--xmlui-borderWidth-Badge)))", "borderRightWidth-Badge": "var(--xmlui-borderRightWidth-Badge, var(--xmlui-borderHorizontalWidth-Badge, var(--xmlui-borderWidth-Badge)))", "borderVerticalWidth-Badge": "var(--xmlui-borderVerticalWidth-Badge, var(--xmlui-borderWidth-Badge))", "borderTopWidth-Badge": "var(--xmlui-borderTopWidth-Badge, var(--xmlui-borderVerticalWidth-Badge, var(--xmlui-borderWidth-Badge)))", "borderBottomWidth-Badge": "var(--xmlui-borderBottomWidth-Badge, var(--xmlui-borderVerticalWidth-Badge, var(--xmlui-borderWidth-Badge)))", "borderStyle-Badge": "var(--xmlui-borderStyle-Badge)", "borderHorizontalStyle-Badge": "var(--xmlui-borderHorizontalStyle-Badge, var(--xmlui-borderStyle-Badge))", "borderLeftStyle-Badge": "var(--xmlui-borderLeftStyle-Badge, var(--xmlui-borderHorizontalStyle-Badge, var(--xmlui-borderStyle-Badge)))", "borderRightStyle-Badge": "var(--xmlui-borderRightStyle-Badge, var(--xmlui-borderHorizontalStyle-Badge, var(--xmlui-borderStyle-Badge)))", "borderVerticalStyle-Badge": "var(--xmlui-borderVerticalStyle-Badge, var(--xmlui-borderStyle-Badge))", "borderTopStyle-Badge": "var(--xmlui-borderTopStyle-Badge, var(--xmlui-borderVerticalStyle-Badge, var(--xmlui-borderStyle-Badge)))", "borderBottomStyle-Badge": "var(--xmlui-borderBottomStyle-Badge, var(--xmlui-borderVerticalStyle-Badge, var(--xmlui-borderStyle-Badge)))", "borderColor-Badge": "var(--xmlui-borderColor-Badge)", "borderHorizontalColor-Badge": "var(--xmlui-borderHorizontalColor-Badge, var(--xmlui-borderColor-Badge))", "borderLeftColor-Badge": "var(--xmlui-borderLeftColor-Badge, var(--xmlui-borderHorizontalColor-Badge, var(--xmlui-borderColor-Badge)))", "borderRightColor-Badge": "var(--xmlui-borderRightColor-Badge, var(--xmlui-borderHorizontalColor-Badge, var(--xmlui-borderColor-Badge)))", "borderVerticalColor-Badge": "var(--xmlui-borderVerticalColor-Badge, var(--xmlui-borderColor-Badge))", "borderTopColor-Badge": "var(--xmlui-borderTopColor-Badge, var(--xmlui-borderVerticalColor-Badge, var(--xmlui-borderColor-Badge)))", "borderBottomColor-Badge": "var(--xmlui-borderBottomColor-Badge, var(--xmlui-borderVerticalColor-Badge, var(--xmlui-borderColor-Badge)))", "borderStartStartRadius-Badge": "var(--xmlui-borderStartStartRadius-Badge, var(--xmlui-borderRadius-Badge))", "borderStartEndRadius-Badge": "var(--xmlui-borderStartEndRadius-Badge, var(--xmlui-borderRadius-Badge))", "borderEndStartRadius-Badge": "var(--xmlui-borderEndStartRadius-Badge, var(--xmlui-borderRadius-Badge))", "borderEndEndRadius-Badge": "var(--xmlui-borderEndEndRadius-Badge, var(--xmlui-borderRadius-Badge))", "padding-Badge": "var(--xmlui-padding-Badge)", "paddingHorizontal-Badge": "var(--xmlui-paddingHorizontal-Badge, var(--xmlui-padding-Badge))", "paddingVertical-Badge": "var(--xmlui-paddingVertical-Badge, var(--xmlui-padding-Badge))", "paddingLeft-Badge": "var(--xmlui-paddingLeft-Badge, var(--xmlui-paddingHorizontal-Badge, var(--xmlui-padding-Badge)))", "paddingRight-Badge": "var(--xmlui-paddingRight-Badge, var(--xmlui-paddingHorizontal-Badge, var(--xmlui-padding-Badge)))", "paddingTop-Badge": "var(--xmlui-paddingTop-Badge, var(--xmlui-paddingVertical-Badge, var(--xmlui-padding-Badge)))", "paddingBottom-Badge": "var(--xmlui-paddingBottom-Badge, var(--xmlui-paddingVertical-Badge, var(--xmlui-padding-Badge)))", "textColor-Badge": "var(--xmlui-textColor-Badge)", "fontFamily-Badge": "var(--xmlui-fontFamily-Badge)", "fontSize-Badge": "var(--xmlui-fontSize-Badge)", "fontStyle-Badge": "var(--xmlui-fontStyle-Badge)", "fontVariant-Badge": "var(--xmlui-fontVariant-Badge)", "fontWeight-Badge": "var(--xmlui-fontWeight-Badge)", "fontStretch-Badge": "var(--xmlui-fontStretch-Badge)", "textDecorationLine-Badge": "var(--xmlui-textDecorationLine-Badge)", "textDecorationColor-Badge": "var(--xmlui-textDecorationColor-Badge)", "textDecorationStyle-Badge": "var(--xmlui-textDecorationStyle-Badge)", "textDecorationThickness-Badge": "var(--xmlui-textDecorationThickness-Badge)", "textUnderlineOffset-Badge": "var(--xmlui-textUnderlineOffset-Badge)", "lineHeight-Badge": "var(--xmlui-lineHeight-Badge)", "backgroundColor-Badge": "var(--xmlui-backgroundColor-Badge)", "textTransform-Badge": "var(--xmlui-textTransform-Badge)", "letterSpacing-Badge": "var(--xmlui-letterSpacing-Badge)", "wordSpacing-Badge": "var(--xmlui-wordSpacing-Badge)", "textShadow-Badge": "var(--xmlui-textShadow-Badge)", "textIndent-Badge": "var(--xmlui-textIndent-Badge)", "textAlign-Badge": "var(--xmlui-textAlign-Badge)", "textAlignLast-Badge": "var(--xmlui-textAlignLast-Badge)", "wordBreak-Badge": "var(--xmlui-wordBreak-Badge)", "wordWrap-Badge": "var(--xmlui-wordWrap-Badge)", "direction-Badge": "var(--xmlui-direction-Badge)", "writingMode-Badge": "var(--xmlui-writingMode-Badge)", "lineBreak-Badge": "var(--xmlui-lineBreak-Badge)", "border-Badge-pill": "var(--xmlui-border-Badge-pill)", "borderHorizontal-Badge-pill": "var(--xmlui-borderHorizontal-Badge-pill, var(--xmlui-border-Badge-pill))", "borderVertical-Badge-pill": "var(--xmlui-borderVertical-Badge-pill, var(--xmlui-border-Badge-pill))", "borderLeft-Badge-pill": "var(--xmlui-borderLeft-Badge-pill, var(--xmlui-borderHorizontal-Badge-pill, var(--xmlui-border-Badge-pill)))", "borderRight-Badge-pill": "var(--xmlui-borderRight-Badge-pill, var(--xmlui-borderHorizontal-Badge-pill, var(--xmlui-border-Badge-pill)))", "borderTop-Badge-pill": "var(--xmlui-borderTop-Badge-pill, var(--xmlui-borderVertical-Badge-pill, var(--xmlui-border-Badge-pill)))", "borderBottom-Badge-pill": "var(--xmlui-borderBottom-Badge-pill, var(--xmlui-borderVertical-Badge-pill, var(--xmlui-border-Badge-pill)))", "borderWidth-Badge-pill": "var(--xmlui-borderWidth-Badge-pill)", "borderHorizontalWidth-Badge-pill": "var(--xmlui-borderHorizontalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill))", "borderLeftWidth-Badge-pill": "var(--xmlui-borderLeftWidth-Badge-pill, var(--xmlui-borderHorizontalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill)))", "borderRightWidth-Badge-pill": "var(--xmlui-borderRightWidth-Badge-pill, var(--xmlui-borderHorizontalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill)))", "borderVerticalWidth-Badge-pill": "var(--xmlui-borderVerticalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill))", "borderTopWidth-Badge-pill": "var(--xmlui-borderTopWidth-Badge-pill, var(--xmlui-borderVerticalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill)))", "borderBottomWidth-Badge-pill": "var(--xmlui-borderBottomWidth-Badge-pill, var(--xmlui-borderVerticalWidth-Badge-pill, var(--xmlui-borderWidth-Badge-pill)))", "borderStyle-Badge-pill": "var(--xmlui-borderStyle-Badge-pill)", "borderHorizontalStyle-Badge-pill": "var(--xmlui-borderHorizontalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill))", "borderLeftStyle-Badge-pill": "var(--xmlui-borderLeftStyle-Badge-pill, var(--xmlui-borderHorizontalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill)))", "borderRightStyle-Badge-pill": "var(--xmlui-borderRightStyle-Badge-pill, var(--xmlui-borderHorizontalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill)))", "borderVerticalStyle-Badge-pill": "var(--xmlui-borderVerticalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill))", "borderTopStyle-Badge-pill": "var(--xmlui-borderTopStyle-Badge-pill, var(--xmlui-borderVerticalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill)))", "borderBottomStyle-Badge-pill": "var(--xmlui-borderBottomStyle-Badge-pill, var(--xmlui-borderVerticalStyle-Badge-pill, var(--xmlui-borderStyle-Badge-pill)))", "borderColor-Badge-pill": "var(--xmlui-borderColor-Badge-pill)", "borderHorizontalColor-Badge-pill": "var(--xmlui-borderHorizontalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill))", "borderLeftColor-Badge-pill": "var(--xmlui-borderLeftColor-Badge-pill, var(--xmlui-borderHorizontalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill)))", "borderRightColor-Badge-pill": "var(--xmlui-borderRightColor-Badge-pill, var(--xmlui-borderHorizontalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill)))", "borderVerticalColor-Badge-pill": "var(--xmlui-borderVerticalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill))", "borderTopColor-Badge-pill": "var(--xmlui-borderTopColor-Badge-pill, var(--xmlui-borderVerticalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill)))", "borderBottomColor-Badge-pill": "var(--xmlui-borderBottomColor-Badge-pill, var(--xmlui-borderVerticalColor-Badge-pill, var(--xmlui-borderColor-Badge-pill)))", "borderStartStartRadius-Badge-pill": "var(--xmlui-borderStartStartRadius-Badge-pill, var(--xmlui-borderRadius-Badge-pill))", "borderStartEndRadius-Badge-pill": "var(--xmlui-borderStartEndRadius-Badge-pill, var(--xmlui-borderRadius-Badge-pill))", "borderEndStartRadius-Badge-pill": "var(--xmlui-borderEndStartRadius-Badge-pill, var(--xmlui-borderRadius-Badge-pill))", "borderEndEndRadius-Badge-pill": "var(--xmlui-borderEndEndRadius-Badge-pill, var(--xmlui-borderRadius-Badge-pill))", "padding-Badge-pill": "var(--xmlui-padding-Badge-pill)", "paddingHorizontal-Badge-pill": "var(--xmlui-paddingHorizontal-Badge-pill, var(--xmlui-padding-Badge-pill))", "paddingVertical-Badge-pill": "var(--xmlui-paddingVertical-Badge-pill, var(--xmlui-padding-Badge-pill))", "paddingLeft-Badge-pill": "var(--xmlui-paddingLeft-Badge-pill, var(--xmlui-paddingHorizontal-Badge-pill, var(--xmlui-padding-Badge-pill)))", "paddingRight-Badge-pill": "var(--xmlui-paddingRight-Badge-pill, var(--xmlui-paddingHorizontal-Badge-pill, var(--xmlui-padding-Badge-pill)))", "paddingTop-Badge-pill": "var(--xmlui-paddingTop-Badge-pill, var(--xmlui-paddingVertical-Badge-pill, var(--xmlui-padding-Badge-pill)))", "paddingBottom-Badge-pill": "var(--xmlui-paddingBottom-Badge-pill, var(--xmlui-paddingVertical-Badge-pill, var(--xmlui-padding-Badge-pill)))", "textColor-Badge-pill": "var(--xmlui-textColor-Badge-pill)", "fontFamily-Badge-pill": "var(--xmlui-fontFamily-Badge-pill)", "fontSize-Badge-pill": "var(--xmlui-fontSize-Badge-pill)", "fontStyle-Badge-pill": "var(--xmlui-fontStyle-Badge-pill)", "fontVariant-Badge-pill": "var(--xmlui-fontVariant-Badge-pill)", "fontWeight-Badge-pill": "var(--xmlui-fontWeight-Badge-pill)", "fontStretch-Badge-pill": "var(--xmlui-fontStretch-Badge-pill)", "textDecorationLine-Badge-pill": "var(--xmlui-textDecorationLine-Badge-pill)", "textDecorationColor-Badge-pill": "var(--xmlui-textDecorationColor-Badge-pill)", "textDecorationStyle-Badge-pill": "var(--xmlui-textDecorationStyle-Badge-pill)", "textDecorationThickness-Badge-pill": "var(--xmlui-textDecorationThickness-Badge-pill)", "textUnderlineOffset-Badge-pill": "var(--xmlui-textUnderlineOffset-Badge-pill)", "lineHeight-Badge-pill": "var(--xmlui-lineHeight-Badge-pill)", "backgroundColor-Badge-pill": "var(--xmlui-backgroundColor-Badge-pill)", "textTransform-Badge-pill": "var(--xmlui-textTransform-Badge-pill)", "letterSpacing-Badge-pill": "var(--xmlui-letterSpacing-Badge-pill)", "wordSpacing-Badge-pill": "var(--xmlui-wordSpacing-Badge-pill)", "textShadow-Badge-pill": "var(--xmlui-textShadow-Badge-pill)", "textIndent-Badge-pill": "var(--xmlui-textIndent-Badge-pill)", "textAlign-Badge-pill": "var(--xmlui-textAlign-Badge-pill)", "textAlignLast-Badge-pill": "var(--xmlui-textAlignLast-Badge-pill)", "wordBreak-Badge-pill": "var(--xmlui-wordBreak-Badge-pill)", "wordWrap-Badge-pill": "var(--xmlui-wordWrap-Badge-pill)", "direction-Badge-pill": "var(--xmlui-direction-Badge-pill)", "writingMode-Badge-pill": "var(--xmlui-writingMode-Badge-pill)", "lineBreak-Badge-pill": "var(--xmlui-lineBreak-Badge-pill)"}'`,badge:"_badge_fs4n2_13",pill:"_pill_fs4n2_73"},eu=["badge","pill"],tu={variant:"badge"};s.forwardRef(function({children:t,color:r,variant:o=tu.variant,style:a},l){return d.jsx("div",{ref:l,className:re({[ja.badge]:o==="badge",[ja.pill]:o==="pill"}),style:{...r?typeof r=="string"?{backgroundColor:r}:{backgroundColor:r.background,color:r.label}:{},...a},children:t})});const er="Badge",ru={status:"stable",description:`The \`${er}\` is a text label that accepts a color map to define its background color and, optionally, its label color.`,props:{value:{description:"The text that the component displays",type:"string",isRequired:!0},variant:{description:"Modifies the shape of the component. Comes in the regular `badge` variant or the `pill` variant with fully rounded corners.",type:"string",availableValues:eu,defaultValue:"badge"},colorMap:{description:`The \`${er}\` component supports the mapping of a list of colors using the \`value\` prop as the key. Provide the component with a list or key-value pairs in two ways:`},themeColor:Xe("(**NOT IMPLEMENTED YET**) The theme color of the component."),indicatorText:Xe("(**NOT IMPLEMENTED YET**) This property defines the text to display in the indicator. If it is not defined or empty, no indicator is displayed unless the `forceIndicator` property is set."),forceIndicator:Xe("(**NOT IMPLEMENTED YET**) This property forces the display of the indicator, even if the `indicatorText` property is not defined or empty."),indicatorThemeColor:Xe("(**NOT IMPLEMENTED YET**) The theme color of the indicator."),indicatorPosition:Xe("(**NOT IMPLEMENTED YET**) The position of the indicator.")},events:{},themeVars:Y(ja.themeVars),defaultThemeVars:{[`padding-${er}`]:"$space-0_5 $space-2",[`border-${er}`]:"0px solid $borderColor",[`padding-${er}-pill`]:"$space-0_5 $space-2",[`borderRadius-${er}`]:"4px",[`fontSize-${er}`]:"0.8em",[`fontSize-${er}-pill`]:"0.8em",[`backgroundColor-${er}`]:"rgba($color-secondary-500-rgb, .6)",[`textColor-${er}`]:"$const-color-surface-0"}},ou=s.createContext(null),au={description:"As its name suggests, this component places a bookmark into its parent component's view. The component has an `id` that you can use in links to navigate (scroll to) the bookmark's location.",opaque:!0,props:{uid:{description:"The unique identifier of the bookmark. You can use this identifier in links to navigate to this component's location.",valueType:"string"},level:{description:"The level of the bookmark. The level is used to determine the bookmark's position in the table of contents.",valueType:"number",defaultValue:1},title:{description:"Defines the text to display the bookmark in the table of contents. If this property is empty, the text falls back to the value of `id`.",valueType:"string"},omitFromToc:{description:"If true, this bookmark will be excluded from the table of contents.",valueType:"boolean",defaultValue:!1}}},Dr={themeVars:`'{"padding-Card": "var(--xmlui-padding-Card)", "paddingHorizontal-Card": "var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card))", "paddingVertical-Card": "var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card))", "paddingLeft-Card": "var(--xmlui-paddingLeft-Card, var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card)))", "paddingRight-Card": "var(--xmlui-paddingRight-Card, var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card)))", "paddingTop-Card": "var(--xmlui-paddingTop-Card, var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card)))", "paddingBottom-Card": "var(--xmlui-paddingBottom-Card, var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card)))", "border-Card": "var(--xmlui-border-Card)", "borderHorizontal-Card": "var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card))", "borderVertical-Card": "var(--xmlui-borderVertical-Card, var(--xmlui-border-Card))", "borderLeft-Card": "var(--xmlui-borderLeft-Card, var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card)))", "borderRight-Card": "var(--xmlui-borderRight-Card, var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card)))", "borderTop-Card": "var(--xmlui-borderTop-Card, var(--xmlui-borderVertical-Card, var(--xmlui-border-Card)))", "borderBottom-Card": "var(--xmlui-borderBottom-Card, var(--xmlui-borderVertical-Card, var(--xmlui-border-Card)))", "borderWidth-Card": "var(--xmlui-borderWidth-Card)", "borderHorizontalWidth-Card": "var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card))", "borderLeftWidth-Card": "var(--xmlui-borderLeftWidth-Card, var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderRightWidth-Card": "var(--xmlui-borderRightWidth-Card, var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderVerticalWidth-Card": "var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card))", "borderTopWidth-Card": "var(--xmlui-borderTopWidth-Card, var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderBottomWidth-Card": "var(--xmlui-borderBottomWidth-Card, var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderStyle-Card": "var(--xmlui-borderStyle-Card)", "borderHorizontalStyle-Card": "var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card))", "borderLeftStyle-Card": "var(--xmlui-borderLeftStyle-Card, var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderRightStyle-Card": "var(--xmlui-borderRightStyle-Card, var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderVerticalStyle-Card": "var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card))", "borderTopStyle-Card": "var(--xmlui-borderTopStyle-Card, var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderBottomStyle-Card": "var(--xmlui-borderBottomStyle-Card, var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderColor-Card": "var(--xmlui-borderColor-Card)", "borderHorizontalColor-Card": "var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card))", "borderLeftColor-Card": "var(--xmlui-borderLeftColor-Card, var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card)))", "borderRightColor-Card": "var(--xmlui-borderRightColor-Card, var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card)))", "borderVerticalColor-Card": "var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card))", "borderTopColor-Card": "var(--xmlui-borderTopColor-Card, var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card)))", "borderBottomColor-Card": "var(--xmlui-borderBottomColor-Card, var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card)))", "borderStartStartRadius-Card": "var(--xmlui-borderStartStartRadius-Card, var(--xmlui-borderRadius-Card))", "borderStartEndRadius-Card": "var(--xmlui-borderStartEndRadius-Card, var(--xmlui-borderRadius-Card))", "borderEndStartRadius-Card": "var(--xmlui-borderEndStartRadius-Card, var(--xmlui-borderRadius-Card))", "borderEndEndRadius-Card": "var(--xmlui-borderEndEndRadius-Card, var(--xmlui-borderRadius-Card))", "boxShadow-Card": "var(--xmlui-boxShadow-Card)", "backgroundColor-Card": "var(--xmlui-backgroundColor-Card)", "borderRadius-Card": "var(--xmlui-borderRadius-Card)", "gap-Card": "var(--xmlui-gap-Card)", "gap-title-Card": "var(--xmlui-gap-title-Card)", "gap-avatar-Card": "var(--xmlui-gap-avatar-Card)", "horizontalAlignment-title-Card": "var(--xmlui-horizontalAlignment-title-Card)", "verticalAlignment-title-Card": "var(--xmlui-verticalAlignment-title-Card)"}'`,wrapper:"_wrapper_1arn2_13",avatarWrapper:"_avatarWrapper_1arn2_46",titleWrapper:"_titleWrapper_1arn2_52",horizontal:"_horizontal_1arn2_59",vertical:"_vertical_1arn2_63",isClickable:"_isClickable_1arn2_66"},uo={themeVars:`'{"padding-Link": "var(--xmlui-padding-Link)", "paddingHorizontal-Link": "var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link))", "paddingVertical-Link": "var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link))", "paddingLeft-Link": "var(--xmlui-paddingLeft-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingRight-Link": "var(--xmlui-paddingRight-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingTop-Link": "var(--xmlui-paddingTop-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "paddingBottom-Link": "var(--xmlui-paddingBottom-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "padding-icon-Link": "var(--xmlui-padding-icon-Link)", "paddingHorizontal-icon-Link": "var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link))", "paddingVertical-icon-Link": "var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link))", "paddingLeft-icon-Link": "var(--xmlui-paddingLeft-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingRight-icon-Link": "var(--xmlui-paddingRight-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingTop-icon-Link": "var(--xmlui-paddingTop-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingBottom-icon-Link": "var(--xmlui-paddingBottom-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "border-Link": "var(--xmlui-border-Link)", "borderHorizontal-Link": "var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link))", "borderVertical-Link": "var(--xmlui-borderVertical-Link, var(--xmlui-border-Link))", "borderLeft-Link": "var(--xmlui-borderLeft-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderRight-Link": "var(--xmlui-borderRight-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderTop-Link": "var(--xmlui-borderTop-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderBottom-Link": "var(--xmlui-borderBottom-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderWidth-Link": "var(--xmlui-borderWidth-Link)", "borderHorizontalWidth-Link": "var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link))", "borderLeftWidth-Link": "var(--xmlui-borderLeftWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderRightWidth-Link": "var(--xmlui-borderRightWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderVerticalWidth-Link": "var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link))", "borderTopWidth-Link": "var(--xmlui-borderTopWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderBottomWidth-Link": "var(--xmlui-borderBottomWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderStyle-Link": "var(--xmlui-borderStyle-Link)", "borderHorizontalStyle-Link": "var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link))", "borderLeftStyle-Link": "var(--xmlui-borderLeftStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderRightStyle-Link": "var(--xmlui-borderRightStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderVerticalStyle-Link": "var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link))", "borderTopStyle-Link": "var(--xmlui-borderTopStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderBottomStyle-Link": "var(--xmlui-borderBottomStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderColor-Link": "var(--xmlui-borderColor-Link)", "borderHorizontalColor-Link": "var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link))", "borderLeftColor-Link": "var(--xmlui-borderLeftColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderRightColor-Link": "var(--xmlui-borderRightColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderVerticalColor-Link": "var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link))", "borderTopColor-Link": "var(--xmlui-borderTopColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderBottomColor-Link": "var(--xmlui-borderBottomColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderStartStartRadius-Link": "var(--xmlui-borderStartStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderStartEndRadius-Link": "var(--xmlui-borderStartEndRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndStartRadius-Link": "var(--xmlui-borderEndStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndEndRadius-Link": "var(--xmlui-borderEndEndRadius-Link, var(--xmlui-borderRadius-Link))", "textColor-Link": "var(--xmlui-textColor-Link)", "fontFamily-Link": "var(--xmlui-fontFamily-Link)", "fontSize-Link": "var(--xmlui-fontSize-Link)", "fontStyle-Link": "var(--xmlui-fontStyle-Link)", "fontVariant-Link": "var(--xmlui-fontVariant-Link)", "fontWeight-Link": "var(--xmlui-fontWeight-Link)", "fontStretch-Link": "var(--xmlui-fontStretch-Link)", "textDecorationLine-Link": "var(--xmlui-textDecorationLine-Link)", "textDecorationColor-Link": "var(--xmlui-textDecorationColor-Link)", "textDecorationStyle-Link": "var(--xmlui-textDecorationStyle-Link)", "textDecorationThickness-Link": "var(--xmlui-textDecorationThickness-Link)", "textUnderlineOffset-Link": "var(--xmlui-textUnderlineOffset-Link)", "lineHeight-Link": "var(--xmlui-lineHeight-Link)", "backgroundColor-Link": "var(--xmlui-backgroundColor-Link)", "textTransform-Link": "var(--xmlui-textTransform-Link)", "letterSpacing-Link": "var(--xmlui-letterSpacing-Link)", "wordSpacing-Link": "var(--xmlui-wordSpacing-Link)", "textShadow-Link": "var(--xmlui-textShadow-Link)", "textIndent-Link": "var(--xmlui-textIndent-Link)", "textAlign-Link": "var(--xmlui-textAlign-Link)", "textAlignLast-Link": "var(--xmlui-textAlignLast-Link)", "wordBreak-Link": "var(--xmlui-wordBreak-Link)", "wordWrap-Link": "var(--xmlui-wordWrap-Link)", "direction-Link": "var(--xmlui-direction-Link)", "writingMode-Link": "var(--xmlui-writingMode-Link)", "lineBreak-Link": "var(--xmlui-lineBreak-Link)", "textColor-Link--active": "var(--xmlui-textColor-Link--active)", "textColor-Link--hover": "var(--xmlui-textColor-Link--hover)", "textColor-Link--hover--active": "var(--xmlui-textColor-Link--hover--active)", "fontWeight-Link--active": "var(--xmlui-fontWeight-Link--active)", "gap-icon-Link": "var(--xmlui-gap-icon-Link)", "outlineWidth-Link--focus": "var(--xmlui-outlineWidth-Link--focus)", "outlineColor-Link--focus": "var(--xmlui-outlineColor-Link--focus)", "outlineStyle-Link--focus": "var(--xmlui-outlineStyle-Link--focus)", "outlineOffset-Link--focus": "var(--xmlui-outlineOffset-Link--focus)"}'`,container:"_container_gmmz2_13",active:"_active_gmmz2_74",disabled:"_disabled_gmmz2_78",iconWrapper:"_iconWrapper_gmmz2_94"},iu=s.forwardRef(function(t,r){const{to:o,children:a,icon:l,active:i,onClick:n,target:c,disabled:b,style:h,...p}=lu(t),C=!!l&&!a,v=s.useMemo(()=>hl(o),[o]),g=o?Ba.Link:"div";return d.jsxs(g,{ref:r,to:v,style:h,target:c,onClick:n,className:re(uo.container,{[uo.iconLink]:C,[uo.active]:i,[uo.disabled]:b}),...p,children:[l&&d.jsx("div",{className:uo.iconWrapper,children:d.jsx(ce,{name:l})}),a]})});function lu(e){const{target:t,referrerPolicy:r}=e;return{...e,target:t,referrerPolicy:r}}const Ht={themeVars:`'{"border-H1": "var(--xmlui-border-H1)", "borderHorizontal-H1": "var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1))", "borderVertical-H1": "var(--xmlui-borderVertical-H1, var(--xmlui-border-H1))", "borderLeft-H1": "var(--xmlui-borderLeft-H1, var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1)))", "borderRight-H1": "var(--xmlui-borderRight-H1, var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1)))", "borderTop-H1": "var(--xmlui-borderTop-H1, var(--xmlui-borderVertical-H1, var(--xmlui-border-H1)))", "borderBottom-H1": "var(--xmlui-borderBottom-H1, var(--xmlui-borderVertical-H1, var(--xmlui-border-H1)))", "borderWidth-H1": "var(--xmlui-borderWidth-H1)", "borderHorizontalWidth-H1": "var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1))", "borderLeftWidth-H1": "var(--xmlui-borderLeftWidth-H1, var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderRightWidth-H1": "var(--xmlui-borderRightWidth-H1, var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderVerticalWidth-H1": "var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1))", "borderTopWidth-H1": "var(--xmlui-borderTopWidth-H1, var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderBottomWidth-H1": "var(--xmlui-borderBottomWidth-H1, var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderStyle-H1": "var(--xmlui-borderStyle-H1)", "borderHorizontalStyle-H1": "var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1))", "borderLeftStyle-H1": "var(--xmlui-borderLeftStyle-H1, var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderRightStyle-H1": "var(--xmlui-borderRightStyle-H1, var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderVerticalStyle-H1": "var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1))", "borderTopStyle-H1": "var(--xmlui-borderTopStyle-H1, var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderBottomStyle-H1": "var(--xmlui-borderBottomStyle-H1, var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderColor-H1": "var(--xmlui-borderColor-H1)", "borderHorizontalColor-H1": "var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1))", "borderLeftColor-H1": "var(--xmlui-borderLeftColor-H1, var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1)))", "borderRightColor-H1": "var(--xmlui-borderRightColor-H1, var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1)))", "borderVerticalColor-H1": "var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1))", "borderTopColor-H1": "var(--xmlui-borderTopColor-H1, var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1)))", "borderBottomColor-H1": "var(--xmlui-borderBottomColor-H1, var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1)))", "borderStartStartRadius-H1": "var(--xmlui-borderStartStartRadius-H1, var(--xmlui-borderRadius-H1))", "borderStartEndRadius-H1": "var(--xmlui-borderStartEndRadius-H1, var(--xmlui-borderRadius-H1))", "borderEndStartRadius-H1": "var(--xmlui-borderEndStartRadius-H1, var(--xmlui-borderRadius-H1))", "borderEndEndRadius-H1": "var(--xmlui-borderEndEndRadius-H1, var(--xmlui-borderRadius-H1))", "padding-H1": "var(--xmlui-padding-H1)", "paddingHorizontal-H1": "var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1))", "paddingVertical-H1": "var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1))", "paddingLeft-H1": "var(--xmlui-paddingLeft-H1, var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1)))", "paddingRight-H1": "var(--xmlui-paddingRight-H1, var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1)))", "paddingTop-H1": "var(--xmlui-paddingTop-H1, var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1)))", "paddingBottom-H1": "var(--xmlui-paddingBottom-H1, var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1)))", "textColor-H1": "var(--xmlui-textColor-H1)", "fontFamily-H1": "var(--xmlui-fontFamily-H1)", "fontSize-H1": "var(--xmlui-fontSize-H1)", "fontStyle-H1": "var(--xmlui-fontStyle-H1)", "fontVariant-H1": "var(--xmlui-fontVariant-H1)", "fontWeight-H1": "var(--xmlui-fontWeight-H1)", "fontStretch-H1": "var(--xmlui-fontStretch-H1)", "textDecorationLine-H1": "var(--xmlui-textDecorationLine-H1)", "textDecorationColor-H1": "var(--xmlui-textDecorationColor-H1)", "textDecorationStyle-H1": "var(--xmlui-textDecorationStyle-H1)", "textDecorationThickness-H1": "var(--xmlui-textDecorationThickness-H1)", "textUnderlineOffset-H1": "var(--xmlui-textUnderlineOffset-H1)", "lineHeight-H1": "var(--xmlui-lineHeight-H1)", "backgroundColor-H1": "var(--xmlui-backgroundColor-H1)", "textTransform-H1": "var(--xmlui-textTransform-H1)", "letterSpacing-H1": "var(--xmlui-letterSpacing-H1)", "wordSpacing-H1": "var(--xmlui-wordSpacing-H1)", "textShadow-H1": "var(--xmlui-textShadow-H1)", "textIndent-H1": "var(--xmlui-textIndent-H1)", "textAlign-H1": "var(--xmlui-textAlign-H1)", "textAlignLast-H1": "var(--xmlui-textAlignLast-H1)", "wordBreak-H1": "var(--xmlui-wordBreak-H1)", "wordWrap-H1": "var(--xmlui-wordWrap-H1)", "direction-H1": "var(--xmlui-direction-H1)", "writingMode-H1": "var(--xmlui-writingMode-H1)", "lineBreak-H1": "var(--xmlui-lineBreak-H1)", "border-H2": "var(--xmlui-border-H2)", "borderHorizontal-H2": "var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2))", "borderVertical-H2": "var(--xmlui-borderVertical-H2, var(--xmlui-border-H2))", "borderLeft-H2": "var(--xmlui-borderLeft-H2, var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2)))", "borderRight-H2": "var(--xmlui-borderRight-H2, var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2)))", "borderTop-H2": "var(--xmlui-borderTop-H2, var(--xmlui-borderVertical-H2, var(--xmlui-border-H2)))", "borderBottom-H2": "var(--xmlui-borderBottom-H2, var(--xmlui-borderVertical-H2, var(--xmlui-border-H2)))", "borderWidth-H2": "var(--xmlui-borderWidth-H2)", "borderHorizontalWidth-H2": "var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2))", "borderLeftWidth-H2": "var(--xmlui-borderLeftWidth-H2, var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderRightWidth-H2": "var(--xmlui-borderRightWidth-H2, var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderVerticalWidth-H2": "var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2))", "borderTopWidth-H2": "var(--xmlui-borderTopWidth-H2, var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderBottomWidth-H2": "var(--xmlui-borderBottomWidth-H2, var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderStyle-H2": "var(--xmlui-borderStyle-H2)", "borderHorizontalStyle-H2": "var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2))", "borderLeftStyle-H2": "var(--xmlui-borderLeftStyle-H2, var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderRightStyle-H2": "var(--xmlui-borderRightStyle-H2, var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderVerticalStyle-H2": "var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2))", "borderTopStyle-H2": "var(--xmlui-borderTopStyle-H2, var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderBottomStyle-H2": "var(--xmlui-borderBottomStyle-H2, var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderColor-H2": "var(--xmlui-borderColor-H2)", "borderHorizontalColor-H2": "var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2))", "borderLeftColor-H2": "var(--xmlui-borderLeftColor-H2, var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2)))", "borderRightColor-H2": "var(--xmlui-borderRightColor-H2, var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2)))", "borderVerticalColor-H2": "var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2))", "borderTopColor-H2": "var(--xmlui-borderTopColor-H2, var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2)))", "borderBottomColor-H2": "var(--xmlui-borderBottomColor-H2, var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2)))", "borderStartStartRadius-H2": "var(--xmlui-borderStartStartRadius-H2, var(--xmlui-borderRadius-H2))", "borderStartEndRadius-H2": "var(--xmlui-borderStartEndRadius-H2, var(--xmlui-borderRadius-H2))", "borderEndStartRadius-H2": "var(--xmlui-borderEndStartRadius-H2, var(--xmlui-borderRadius-H2))", "borderEndEndRadius-H2": "var(--xmlui-borderEndEndRadius-H2, var(--xmlui-borderRadius-H2))", "padding-H2": "var(--xmlui-padding-H2)", "paddingHorizontal-H2": "var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2))", "paddingVertical-H2": "var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2))", "paddingLeft-H2": "var(--xmlui-paddingLeft-H2, var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2)))", "paddingRight-H2": "var(--xmlui-paddingRight-H2, var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2)))", "paddingTop-H2": "var(--xmlui-paddingTop-H2, var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2)))", "paddingBottom-H2": "var(--xmlui-paddingBottom-H2, var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2)))", "textColor-H2": "var(--xmlui-textColor-H2)", "fontFamily-H2": "var(--xmlui-fontFamily-H2)", "fontSize-H2": "var(--xmlui-fontSize-H2)", "fontStyle-H2": "var(--xmlui-fontStyle-H2)", "fontVariant-H2": "var(--xmlui-fontVariant-H2)", "fontWeight-H2": "var(--xmlui-fontWeight-H2)", "fontStretch-H2": "var(--xmlui-fontStretch-H2)", "textDecorationLine-H2": "var(--xmlui-textDecorationLine-H2)", "textDecorationColor-H2": "var(--xmlui-textDecorationColor-H2)", "textDecorationStyle-H2": "var(--xmlui-textDecorationStyle-H2)", "textDecorationThickness-H2": "var(--xmlui-textDecorationThickness-H2)", "textUnderlineOffset-H2": "var(--xmlui-textUnderlineOffset-H2)", "lineHeight-H2": "var(--xmlui-lineHeight-H2)", "backgroundColor-H2": "var(--xmlui-backgroundColor-H2)", "textTransform-H2": "var(--xmlui-textTransform-H2)", "letterSpacing-H2": "var(--xmlui-letterSpacing-H2)", "wordSpacing-H2": "var(--xmlui-wordSpacing-H2)", "textShadow-H2": "var(--xmlui-textShadow-H2)", "textIndent-H2": "var(--xmlui-textIndent-H2)", "textAlign-H2": "var(--xmlui-textAlign-H2)", "textAlignLast-H2": "var(--xmlui-textAlignLast-H2)", "wordBreak-H2": "var(--xmlui-wordBreak-H2)", "wordWrap-H2": "var(--xmlui-wordWrap-H2)", "direction-H2": "var(--xmlui-direction-H2)", "writingMode-H2": "var(--xmlui-writingMode-H2)", "lineBreak-H2": "var(--xmlui-lineBreak-H2)", "border-H3": "var(--xmlui-border-H3)", "borderHorizontal-H3": "var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3))", "borderVertical-H3": "var(--xmlui-borderVertical-H3, var(--xmlui-border-H3))", "borderLeft-H3": "var(--xmlui-borderLeft-H3, var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3)))", "borderRight-H3": "var(--xmlui-borderRight-H3, var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3)))", "borderTop-H3": "var(--xmlui-borderTop-H3, var(--xmlui-borderVertical-H3, var(--xmlui-border-H3)))", "borderBottom-H3": "var(--xmlui-borderBottom-H3, var(--xmlui-borderVertical-H3, var(--xmlui-border-H3)))", "borderWidth-H3": "var(--xmlui-borderWidth-H3)", "borderHorizontalWidth-H3": "var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3))", "borderLeftWidth-H3": "var(--xmlui-borderLeftWidth-H3, var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderRightWidth-H3": "var(--xmlui-borderRightWidth-H3, var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderVerticalWidth-H3": "var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3))", "borderTopWidth-H3": "var(--xmlui-borderTopWidth-H3, var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderBottomWidth-H3": "var(--xmlui-borderBottomWidth-H3, var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderStyle-H3": "var(--xmlui-borderStyle-H3)", "borderHorizontalStyle-H3": "var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3))", "borderLeftStyle-H3": "var(--xmlui-borderLeftStyle-H3, var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderRightStyle-H3": "var(--xmlui-borderRightStyle-H3, var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderVerticalStyle-H3": "var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3))", "borderTopStyle-H3": "var(--xmlui-borderTopStyle-H3, var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderBottomStyle-H3": "var(--xmlui-borderBottomStyle-H3, var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderColor-H3": "var(--xmlui-borderColor-H3)", "borderHorizontalColor-H3": "var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3))", "borderLeftColor-H3": "var(--xmlui-borderLeftColor-H3, var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3)))", "borderRightColor-H3": "var(--xmlui-borderRightColor-H3, var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3)))", "borderVerticalColor-H3": "var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3))", "borderTopColor-H3": "var(--xmlui-borderTopColor-H3, var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3)))", "borderBottomColor-H3": "var(--xmlui-borderBottomColor-H3, var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3)))", "borderStartStartRadius-H3": "var(--xmlui-borderStartStartRadius-H3, var(--xmlui-borderRadius-H3))", "borderStartEndRadius-H3": "var(--xmlui-borderStartEndRadius-H3, var(--xmlui-borderRadius-H3))", "borderEndStartRadius-H3": "var(--xmlui-borderEndStartRadius-H3, var(--xmlui-borderRadius-H3))", "borderEndEndRadius-H3": "var(--xmlui-borderEndEndRadius-H3, var(--xmlui-borderRadius-H3))", "padding-H3": "var(--xmlui-padding-H3)", "paddingHorizontal-H3": "var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3))", "paddingVertical-H3": "var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3))", "paddingLeft-H3": "var(--xmlui-paddingLeft-H3, var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3)))", "paddingRight-H3": "var(--xmlui-paddingRight-H3, var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3)))", "paddingTop-H3": "var(--xmlui-paddingTop-H3, var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3)))", "paddingBottom-H3": "var(--xmlui-paddingBottom-H3, var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3)))", "textColor-H3": "var(--xmlui-textColor-H3)", "fontFamily-H3": "var(--xmlui-fontFamily-H3)", "fontSize-H3": "var(--xmlui-fontSize-H3)", "fontStyle-H3": "var(--xmlui-fontStyle-H3)", "fontVariant-H3": "var(--xmlui-fontVariant-H3)", "fontWeight-H3": "var(--xmlui-fontWeight-H3)", "fontStretch-H3": "var(--xmlui-fontStretch-H3)", "textDecorationLine-H3": "var(--xmlui-textDecorationLine-H3)", "textDecorationColor-H3": "var(--xmlui-textDecorationColor-H3)", "textDecorationStyle-H3": "var(--xmlui-textDecorationStyle-H3)", "textDecorationThickness-H3": "var(--xmlui-textDecorationThickness-H3)", "textUnderlineOffset-H3": "var(--xmlui-textUnderlineOffset-H3)", "lineHeight-H3": "var(--xmlui-lineHeight-H3)", "backgroundColor-H3": "var(--xmlui-backgroundColor-H3)", "textTransform-H3": "var(--xmlui-textTransform-H3)", "letterSpacing-H3": "var(--xmlui-letterSpacing-H3)", "wordSpacing-H3": "var(--xmlui-wordSpacing-H3)", "textShadow-H3": "var(--xmlui-textShadow-H3)", "textIndent-H3": "var(--xmlui-textIndent-H3)", "textAlign-H3": "var(--xmlui-textAlign-H3)", "textAlignLast-H3": "var(--xmlui-textAlignLast-H3)", "wordBreak-H3": "var(--xmlui-wordBreak-H3)", "wordWrap-H3": "var(--xmlui-wordWrap-H3)", "direction-H3": "var(--xmlui-direction-H3)", "writingMode-H3": "var(--xmlui-writingMode-H3)", "lineBreak-H3": "var(--xmlui-lineBreak-H3)", "border-H4": "var(--xmlui-border-H4)", "borderHorizontal-H4": "var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4))", "borderVertical-H4": "var(--xmlui-borderVertical-H4, var(--xmlui-border-H4))", "borderLeft-H4": "var(--xmlui-borderLeft-H4, var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4)))", "borderRight-H4": "var(--xmlui-borderRight-H4, var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4)))", "borderTop-H4": "var(--xmlui-borderTop-H4, var(--xmlui-borderVertical-H4, var(--xmlui-border-H4)))", "borderBottom-H4": "var(--xmlui-borderBottom-H4, var(--xmlui-borderVertical-H4, var(--xmlui-border-H4)))", "borderWidth-H4": "var(--xmlui-borderWidth-H4)", "borderHorizontalWidth-H4": "var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4))", "borderLeftWidth-H4": "var(--xmlui-borderLeftWidth-H4, var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderRightWidth-H4": "var(--xmlui-borderRightWidth-H4, var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderVerticalWidth-H4": "var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4))", "borderTopWidth-H4": "var(--xmlui-borderTopWidth-H4, var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderBottomWidth-H4": "var(--xmlui-borderBottomWidth-H4, var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderStyle-H4": "var(--xmlui-borderStyle-H4)", "borderHorizontalStyle-H4": "var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4))", "borderLeftStyle-H4": "var(--xmlui-borderLeftStyle-H4, var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderRightStyle-H4": "var(--xmlui-borderRightStyle-H4, var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderVerticalStyle-H4": "var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4))", "borderTopStyle-H4": "var(--xmlui-borderTopStyle-H4, var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderBottomStyle-H4": "var(--xmlui-borderBottomStyle-H4, var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderColor-H4": "var(--xmlui-borderColor-H4)", "borderHorizontalColor-H4": "var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4))", "borderLeftColor-H4": "var(--xmlui-borderLeftColor-H4, var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4)))", "borderRightColor-H4": "var(--xmlui-borderRightColor-H4, var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4)))", "borderVerticalColor-H4": "var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4))", "borderTopColor-H4": "var(--xmlui-borderTopColor-H4, var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4)))", "borderBottomColor-H4": "var(--xmlui-borderBottomColor-H4, var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4)))", "borderStartStartRadius-H4": "var(--xmlui-borderStartStartRadius-H4, var(--xmlui-borderRadius-H4))", "borderStartEndRadius-H4": "var(--xmlui-borderStartEndRadius-H4, var(--xmlui-borderRadius-H4))", "borderEndStartRadius-H4": "var(--xmlui-borderEndStartRadius-H4, var(--xmlui-borderRadius-H4))", "borderEndEndRadius-H4": "var(--xmlui-borderEndEndRadius-H4, var(--xmlui-borderRadius-H4))", "padding-H4": "var(--xmlui-padding-H4)", "paddingHorizontal-H4": "var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4))", "paddingVertical-H4": "var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4))", "paddingLeft-H4": "var(--xmlui-paddingLeft-H4, var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4)))", "paddingRight-H4": "var(--xmlui-paddingRight-H4, var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4)))", "paddingTop-H4": "var(--xmlui-paddingTop-H4, var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4)))", "paddingBottom-H4": "var(--xmlui-paddingBottom-H4, var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4)))", "textColor-H4": "var(--xmlui-textColor-H4)", "fontFamily-H4": "var(--xmlui-fontFamily-H4)", "fontSize-H4": "var(--xmlui-fontSize-H4)", "fontStyle-H4": "var(--xmlui-fontStyle-H4)", "fontVariant-H4": "var(--xmlui-fontVariant-H4)", "fontWeight-H4": "var(--xmlui-fontWeight-H4)", "fontStretch-H4": "var(--xmlui-fontStretch-H4)", "textDecorationLine-H4": "var(--xmlui-textDecorationLine-H4)", "textDecorationColor-H4": "var(--xmlui-textDecorationColor-H4)", "textDecorationStyle-H4": "var(--xmlui-textDecorationStyle-H4)", "textDecorationThickness-H4": "var(--xmlui-textDecorationThickness-H4)", "textUnderlineOffset-H4": "var(--xmlui-textUnderlineOffset-H4)", "lineHeight-H4": "var(--xmlui-lineHeight-H4)", "backgroundColor-H4": "var(--xmlui-backgroundColor-H4)", "textTransform-H4": "var(--xmlui-textTransform-H4)", "letterSpacing-H4": "var(--xmlui-letterSpacing-H4)", "wordSpacing-H4": "var(--xmlui-wordSpacing-H4)", "textShadow-H4": "var(--xmlui-textShadow-H4)", "textIndent-H4": "var(--xmlui-textIndent-H4)", "textAlign-H4": "var(--xmlui-textAlign-H4)", "textAlignLast-H4": "var(--xmlui-textAlignLast-H4)", "wordBreak-H4": "var(--xmlui-wordBreak-H4)", "wordWrap-H4": "var(--xmlui-wordWrap-H4)", "direction-H4": "var(--xmlui-direction-H4)", "writingMode-H4": "var(--xmlui-writingMode-H4)", "lineBreak-H4": "var(--xmlui-lineBreak-H4)", "border-H5": "var(--xmlui-border-H5)", "borderHorizontal-H5": "var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5))", "borderVertical-H5": "var(--xmlui-borderVertical-H5, var(--xmlui-border-H5))", "borderLeft-H5": "var(--xmlui-borderLeft-H5, var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5)))", "borderRight-H5": "var(--xmlui-borderRight-H5, var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5)))", "borderTop-H5": "var(--xmlui-borderTop-H5, var(--xmlui-borderVertical-H5, var(--xmlui-border-H5)))", "borderBottom-H5": "var(--xmlui-borderBottom-H5, var(--xmlui-borderVertical-H5, var(--xmlui-border-H5)))", "borderWidth-H5": "var(--xmlui-borderWidth-H5)", "borderHorizontalWidth-H5": "var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5))", "borderLeftWidth-H5": "var(--xmlui-borderLeftWidth-H5, var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderRightWidth-H5": "var(--xmlui-borderRightWidth-H5, var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderVerticalWidth-H5": "var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5))", "borderTopWidth-H5": "var(--xmlui-borderTopWidth-H5, var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderBottomWidth-H5": "var(--xmlui-borderBottomWidth-H5, var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderStyle-H5": "var(--xmlui-borderStyle-H5)", "borderHorizontalStyle-H5": "var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5))", "borderLeftStyle-H5": "var(--xmlui-borderLeftStyle-H5, var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderRightStyle-H5": "var(--xmlui-borderRightStyle-H5, var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderVerticalStyle-H5": "var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5))", "borderTopStyle-H5": "var(--xmlui-borderTopStyle-H5, var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderBottomStyle-H5": "var(--xmlui-borderBottomStyle-H5, var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderColor-H5": "var(--xmlui-borderColor-H5)", "borderHorizontalColor-H5": "var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5))", "borderLeftColor-H5": "var(--xmlui-borderLeftColor-H5, var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5)))", "borderRightColor-H5": "var(--xmlui-borderRightColor-H5, var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5)))", "borderVerticalColor-H5": "var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5))", "borderTopColor-H5": "var(--xmlui-borderTopColor-H5, var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5)))", "borderBottomColor-H5": "var(--xmlui-borderBottomColor-H5, var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5)))", "borderStartStartRadius-H5": "var(--xmlui-borderStartStartRadius-H5, var(--xmlui-borderRadius-H5))", "borderStartEndRadius-H5": "var(--xmlui-borderStartEndRadius-H5, var(--xmlui-borderRadius-H5))", "borderEndStartRadius-H5": "var(--xmlui-borderEndStartRadius-H5, var(--xmlui-borderRadius-H5))", "borderEndEndRadius-H5": "var(--xmlui-borderEndEndRadius-H5, var(--xmlui-borderRadius-H5))", "padding-H5": "var(--xmlui-padding-H5)", "paddingHorizontal-H5": "var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5))", "paddingVertical-H5": "var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5))", "paddingLeft-H5": "var(--xmlui-paddingLeft-H5, var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5)))", "paddingRight-H5": "var(--xmlui-paddingRight-H5, var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5)))", "paddingTop-H5": "var(--xmlui-paddingTop-H5, var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5)))", "paddingBottom-H5": "var(--xmlui-paddingBottom-H5, var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5)))", "textColor-H5": "var(--xmlui-textColor-H5)", "fontFamily-H5": "var(--xmlui-fontFamily-H5)", "fontSize-H5": "var(--xmlui-fontSize-H5)", "fontStyle-H5": "var(--xmlui-fontStyle-H5)", "fontVariant-H5": "var(--xmlui-fontVariant-H5)", "fontWeight-H5": "var(--xmlui-fontWeight-H5)", "fontStretch-H5": "var(--xmlui-fontStretch-H5)", "textDecorationLine-H5": "var(--xmlui-textDecorationLine-H5)", "textDecorationColor-H5": "var(--xmlui-textDecorationColor-H5)", "textDecorationStyle-H5": "var(--xmlui-textDecorationStyle-H5)", "textDecorationThickness-H5": "var(--xmlui-textDecorationThickness-H5)", "textUnderlineOffset-H5": "var(--xmlui-textUnderlineOffset-H5)", "lineHeight-H5": "var(--xmlui-lineHeight-H5)", "backgroundColor-H5": "var(--xmlui-backgroundColor-H5)", "textTransform-H5": "var(--xmlui-textTransform-H5)", "letterSpacing-H5": "var(--xmlui-letterSpacing-H5)", "wordSpacing-H5": "var(--xmlui-wordSpacing-H5)", "textShadow-H5": "var(--xmlui-textShadow-H5)", "textIndent-H5": "var(--xmlui-textIndent-H5)", "textAlign-H5": "var(--xmlui-textAlign-H5)", "textAlignLast-H5": "var(--xmlui-textAlignLast-H5)", "wordBreak-H5": "var(--xmlui-wordBreak-H5)", "wordWrap-H5": "var(--xmlui-wordWrap-H5)", "direction-H5": "var(--xmlui-direction-H5)", "writingMode-H5": "var(--xmlui-writingMode-H5)", "lineBreak-H5": "var(--xmlui-lineBreak-H5)", "border-H6": "var(--xmlui-border-H6)", "borderHorizontal-H6": "var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6))", "borderVertical-H6": "var(--xmlui-borderVertical-H6, var(--xmlui-border-H6))", "borderLeft-H6": "var(--xmlui-borderLeft-H6, var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6)))", "borderRight-H6": "var(--xmlui-borderRight-H6, var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6)))", "borderTop-H6": "var(--xmlui-borderTop-H6, var(--xmlui-borderVertical-H6, var(--xmlui-border-H6)))", "borderBottom-H6": "var(--xmlui-borderBottom-H6, var(--xmlui-borderVertical-H6, var(--xmlui-border-H6)))", "borderWidth-H6": "var(--xmlui-borderWidth-H6)", "borderHorizontalWidth-H6": "var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6))", "borderLeftWidth-H6": "var(--xmlui-borderLeftWidth-H6, var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderRightWidth-H6": "var(--xmlui-borderRightWidth-H6, var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderVerticalWidth-H6": "var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6))", "borderTopWidth-H6": "var(--xmlui-borderTopWidth-H6, var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderBottomWidth-H6": "var(--xmlui-borderBottomWidth-H6, var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderStyle-H6": "var(--xmlui-borderStyle-H6)", "borderHorizontalStyle-H6": "var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6))", "borderLeftStyle-H6": "var(--xmlui-borderLeftStyle-H6, var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderRightStyle-H6": "var(--xmlui-borderRightStyle-H6, var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderVerticalStyle-H6": "var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6))", "borderTopStyle-H6": "var(--xmlui-borderTopStyle-H6, var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderBottomStyle-H6": "var(--xmlui-borderBottomStyle-H6, var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderColor-H6": "var(--xmlui-borderColor-H6)", "borderHorizontalColor-H6": "var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6))", "borderLeftColor-H6": "var(--xmlui-borderLeftColor-H6, var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6)))", "borderRightColor-H6": "var(--xmlui-borderRightColor-H6, var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6)))", "borderVerticalColor-H6": "var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6))", "borderTopColor-H6": "var(--xmlui-borderTopColor-H6, var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6)))", "borderBottomColor-H6": "var(--xmlui-borderBottomColor-H6, var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6)))", "borderStartStartRadius-H6": "var(--xmlui-borderStartStartRadius-H6, var(--xmlui-borderRadius-H6))", "borderStartEndRadius-H6": "var(--xmlui-borderStartEndRadius-H6, var(--xmlui-borderRadius-H6))", "borderEndStartRadius-H6": "var(--xmlui-borderEndStartRadius-H6, var(--xmlui-borderRadius-H6))", "borderEndEndRadius-H6": "var(--xmlui-borderEndEndRadius-H6, var(--xmlui-borderRadius-H6))", "padding-H6": "var(--xmlui-padding-H6)", "paddingHorizontal-H6": "var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6))", "paddingVertical-H6": "var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6))", "paddingLeft-H6": "var(--xmlui-paddingLeft-H6, var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6)))", "paddingRight-H6": "var(--xmlui-paddingRight-H6, var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6)))", "paddingTop-H6": "var(--xmlui-paddingTop-H6, var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6)))", "paddingBottom-H6": "var(--xmlui-paddingBottom-H6, var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6)))", "textColor-H6": "var(--xmlui-textColor-H6)", "fontFamily-H6": "var(--xmlui-fontFamily-H6)", "fontSize-H6": "var(--xmlui-fontSize-H6)", "fontStyle-H6": "var(--xmlui-fontStyle-H6)", "fontVariant-H6": "var(--xmlui-fontVariant-H6)", "fontWeight-H6": "var(--xmlui-fontWeight-H6)", "fontStretch-H6": "var(--xmlui-fontStretch-H6)", "textDecorationLine-H6": "var(--xmlui-textDecorationLine-H6)", "textDecorationColor-H6": "var(--xmlui-textDecorationColor-H6)", "textDecorationStyle-H6": "var(--xmlui-textDecorationStyle-H6)", "textDecorationThickness-H6": "var(--xmlui-textDecorationThickness-H6)", "textUnderlineOffset-H6": "var(--xmlui-textUnderlineOffset-H6)", "lineHeight-H6": "var(--xmlui-lineHeight-H6)", "backgroundColor-H6": "var(--xmlui-backgroundColor-H6)", "textTransform-H6": "var(--xmlui-textTransform-H6)", "letterSpacing-H6": "var(--xmlui-letterSpacing-H6)", "wordSpacing-H6": "var(--xmlui-wordSpacing-H6)", "textShadow-H6": "var(--xmlui-textShadow-H6)", "textIndent-H6": "var(--xmlui-textIndent-H6)", "textAlign-H6": "var(--xmlui-textAlign-H6)", "textAlignLast-H6": "var(--xmlui-textAlignLast-H6)", "wordBreak-H6": "var(--xmlui-wordBreak-H6)", "wordWrap-H6": "var(--xmlui-wordWrap-H6)", "direction-H6": "var(--xmlui-direction-H6)", "writingMode-H6": "var(--xmlui-writingMode-H6)", "lineBreak-H6": "var(--xmlui-lineBreak-H6)", "color-anchor-Heading": "var(--xmlui-color-anchor-Heading)", "gap-anchor-Heading": "var(--xmlui-gap-anchor-Heading)", "textDecorationLine-anchor-Heading": "var(--xmlui-textDecorationLine-anchor-Heading)", "Heading:textColor-H1": "var(--xmlui-textColor-H1)", "Heading:letterSpacing-H1": "var(--xmlui-letterSpacing-H1)", "Heading:fontFamily-H1": "var(--xmlui-fontFamily-H1)", "Heading:fontWeight-H1": "var(--xmlui-fontWeight-H1)", "marginTop-H1": "var(--xmlui-marginTop-H1)", "marginBottom-H1": "var(--xmlui-marginBottom-H1)", "Heading:textDecorationLine-H1": "var(--xmlui-textDecorationLine-H1)", "Heading:textDecorationColor-H1": "var(--xmlui-textDecorationColor-H1)", "Heading:textDecorationStyle-H1": "var(--xmlui-textDecorationStyle-H1)", "Heading:textDecorationThickness-H1": "var(--xmlui-textDecorationThickness-H1)", "Heading:textUnderlineOffset-H1": "var(--xmlui-textUnderlineOffset-H1)", "Heading:textColor-H2": "var(--xmlui-textColor-H2)", "Heading:letterSpacing-H2": "var(--xmlui-letterSpacing-H2)", "Heading:fontFamily-H2": "var(--xmlui-fontFamily-H2)", "Heading:fontWeight-H2": "var(--xmlui-fontWeight-H2)", "marginTop-H2": "var(--xmlui-marginTop-H2)", "marginBottom-H2": "var(--xmlui-marginBottom-H2)", "Heading:textDecorationLine-H2": "var(--xmlui-textDecorationLine-H2)", "Heading:textDecorationColor-H2": "var(--xmlui-textDecorationColor-H2)", "Heading:textDecorationStyle-H2": "var(--xmlui-textDecorationStyle-H2)", "Heading:textDecorationThickness-H2": "var(--xmlui-textDecorationThickness-H2)", "Heading:textUnderlineOffset-H2": "var(--xmlui-textUnderlineOffset-H2)", "Heading:textColor-H3": "var(--xmlui-textColor-H3)", "Heading:letterSpacing-H3": "var(--xmlui-letterSpacing-H3)", "Heading:fontFamily-H3": "var(--xmlui-fontFamily-H3)", "Heading:fontWeight-H3": "var(--xmlui-fontWeight-H3)", "marginTop-H3": "var(--xmlui-marginTop-H3)", "marginBottom-H3": "var(--xmlui-marginBottom-H3)", "Heading:textDecorationLine-H3": "var(--xmlui-textDecorationLine-H3)", "Heading:textDecorationColor-H3": "var(--xmlui-textDecorationColor-H3)", "Heading:textDecorationStyle-H3": "var(--xmlui-textDecorationStyle-H3)", "Heading:textDecorationThickness-H3": "var(--xmlui-textDecorationThickness-H3)", "Heading:textUnderlineOffset-H3": "var(--xmlui-textUnderlineOffset-H3)", "Heading:textColor-H4": "var(--xmlui-textColor-H4)", "Heading:letterSpacing-H4": "var(--xmlui-letterSpacing-H4)", "Heading:fontFamily-H4": "var(--xmlui-fontFamily-H4)", "Heading:fontWeight-H4": "var(--xmlui-fontWeight-H4)", "marginTop-H4": "var(--xmlui-marginTop-H4)", "marginBottom-H4": "var(--xmlui-marginBottom-H4)", "Heading:textDecorationLine-H4": "var(--xmlui-textDecorationLine-H4)", "Heading:textDecorationColor-H4": "var(--xmlui-textDecorationColor-H4)", "Heading:textDecorationStyle-H4": "var(--xmlui-textDecorationStyle-H4)", "Heading:textDecorationThickness-H4": "var(--xmlui-textDecorationThickness-H4)", "Heading:textUnderlineOffset-H4": "var(--xmlui-textUnderlineOffset-H4)", "Heading:textColor-H5": "var(--xmlui-textColor-H5)", "Heading:letterSpacing-H5": "var(--xmlui-letterSpacing-H5)", "Heading:fontFamily-H5": "var(--xmlui-fontFamily-H5)", "Heading:fontWeight-H5": "var(--xmlui-fontWeight-H5)", "marginTop-H5": "var(--xmlui-marginTop-H5)", "marginBottom-H5": "var(--xmlui-marginBottom-H5)", "Heading:textDecorationLine-H5": "var(--xmlui-textDecorationLine-H5)", "Heading:textDecorationColor-H5": "var(--xmlui-textDecorationColor-H5)", "Heading:textDecorationStyle-H5": "var(--xmlui-textDecorationStyle-H5)", "Heading:textDecorationThickness-H5": "var(--xmlui-textDecorationThickness-H5)", "Heading:textUnderlineOffset-H5": "var(--xmlui-textUnderlineOffset-H5)", "Heading:textColor-H6": "var(--xmlui-textColor-H6)", "Heading:letterSpacing-H6": "var(--xmlui-letterSpacing-H6)", "Heading:fontFamily-H6": "var(--xmlui-fontFamily-H6)", "Heading:fontWeight-H6": "var(--xmlui-fontWeight-H6)", "marginTop-H6": "var(--xmlui-marginTop-H6)", "marginBottom-H6": "var(--xmlui-marginBottom-H6)", "Heading:textDecorationLine-H6": "var(--xmlui-textDecorationLine-H6)", "Heading:textDecorationColor-H6": "var(--xmlui-textDecorationColor-H6)", "Heading:textDecorationStyle-H6": "var(--xmlui-textDecorationStyle-H6)", "Heading:textDecorationThickness-H6": "var(--xmlui-textDecorationThickness-H6)", "Heading:textUnderlineOffset-H6": "var(--xmlui-textUnderlineOffset-H6)"}'`,heading:"_heading_1y8d6_13",h1:"_h1_1y8d6_17",h2:"_h2_1y8d6_80",h3:"_h3_1y8d6_143",h4:"_h4_1y8d6_206",h5:"_h5_1y8d6_269",h6:"_h6_1y8d6_332",anchorRef:"_anchorRef_1y8d6_406",truncateOverflow:"_truncateOverflow_1y8d6_417",preserveLinebreaks:"_preserveLinebreaks_1y8d6_423",noEllipsis:"_noEllipsis_1y8d6_427"},Rr={level:"h1",ellipses:!0,omitFromToc:!1,maxLines:0},fl=s.forwardRef(function({uid:t,level:r=Rr.level,children:o,sx:a,style:l,title:i,maxLines:n=Rr.maxLines,preserveLinebreaks:c,ellipses:b=Rr.ellipses,className:h,omitFromToc:p=Rr.omitFromToc,showAnchor:C,...v},g){const T=r==null?void 0:r.toLowerCase(),y=s.useRef(null),[$,w]=s.useState(null),_=s.useRef(null),A=s.useContext(ou),P=A==null?void 0:A.registerHeading,Z=g?sr(y,g):y;return s.useEffect(()=>{var E,j,U,M;if(y.current){const f=(M=(U=(j=(E=y.current.textContent)==null?void 0:E.trim())==null?void 0:j.replace(/[^\w\s-]/g,""))==null?void 0:U.replace(/\s+/g,"-"))==null?void 0:M.toLowerCase();w(f||null)}},[]),Wo(()=>{if(y.current&&$&&!p)return P==null?void 0:P({id:$,level:parseInt(r.replace("h","")),text:y.current.textContent.trim().replace(/#$/,""),anchor:_.current})},[$,P,r,p]),d.jsxs(T,{ref:Z,id:t,title:i,style:{...a,...l,...ol(n)},className:re(Ht.heading,Ht[T],h||"",{[Ht.truncateOverflow]:n>0,[Ht.preserveLinebreaks]:c,[Ht.noEllipsis]:!b}),...v,children:[$&&d.jsx("span",{ref:_,id:$,className:Ht.anchorRef,"data-anchor":!0}),o,C&&$&&d.jsx(Ba.Link,{to:`#${$}`,"aria-hidden":"true",onClick:E=>{A&&(!E.ctrlKey&&!E.metaKey&&!E.metaKey&&E.preventDefault(),A.scrollToAnchor($,!0))},children:"#"})]})}),la={orientation:"vertical",showAvatar:!1};s.forwardRef(function({children:t,orientation:r=la.orientation,style:o,title:a,subtitle:l,linkTo:i,avatarUrl:n,showAvatar:c=!!n||la.showAvatar,avatarSize:b,onClick:h},p){const C={level:"h2"};return d.jsxs("div",{ref:p,className:re(Dr.wrapper,{[Dr.isClickable]:!!h,[Dr.vertical]:r==="vertical",[Dr.horizontal]:r==="horizontal"}),style:o,onClick:h,children:[[a,l,n,c].some(Boolean)&&d.jsxs("div",{className:Dr.avatarWrapper,children:[c&&d.jsx(Jd,{url:n,name:a,size:b}),d.jsxs("div",{className:Dr.titleWrapper,children:[i?a?d.jsx(iu,{to:i+"",children:d.jsx(fl,{...C,children:a})}):null:a?d.jsx(fl,{...C,children:a}):null,l!==void 0&&d.jsx(d.Fragment,{children:d.jsx(no,{variant:"small",children:l})})]})]}),t]})});const Ge="Card",nu={description:`The \`${Ge}\` component is a container for cohesive elements, often rendered visually as a card.`,props:{avatarUrl:{description:`Show the avatar (\`true\`) or not (\`false\`). If not specified, the ${Ge} will show the first letters of the [\`title\`](#title).`,type:"string"},showAvatar:{description:`Indicates whether the ${Ge} should be displayed`,valueType:"boolean",defaultValue:la.showAvatar},avatarSize:{description:"This prop sets the size of the avatar. The default value is `sm`.",availableValues:["xs","sm","md","lg"],valueType:"string"},title:{description:"This prop sets the prestyled title.",valueType:"string"},subtitle:{description:"This prop sets the prestyled subtitle.",valueType:"string"},linkTo:{description:"This property wraps the title in a `Link` component that is clickable to navigate.",valueType:"string"},orientation:{description:`An optional property that governs the ${Ge}'s orientation (whether the ${Ge} lays out its children in a row or a column). If the orientation is set to \`horizontal\`, the ${Ge} will display its children in a row, except for its [\`title\`](#title) and [\`subtitle\`](#subtitle).`,availableValues:ea,valueType:"string",defaultValue:la.orientation}},events:{click:io(Ge)},themeVars:Y(Dr.themeVars),defaultThemeVars:{[`padding-${Ge}`]:"$space-4",[`border-${Ge}`]:"1px solid $borderColor",[`borderRadius-${Ge}`]:"$borderRadius",[`boxShadow-${Ge}`]:"none",[`backgroundColor-${Ge}`]:"$color-surface-raised",[`gap-${Ge}`]:"var(--stack-gap-default)",[`gap-title-${Ge}`]:"$gap-normal",[`gap-avatar-${Ge}`]:"$gap-normal",[`verticalAlignment-title-${Ge}`]:"center"},themeVarDescriptions:{[`gap-${Ge}`]:"The gap between the component's children.",[`gap-title-${Ge}`]:"The gap between the title and the subtitle",[`gap-avatar-${Ge}`]:"The gap between the avatar and the title panel",[`horizontalAlignment-title-${Ge}`]:"The horizontal alignment of panel with the title and subtitle",[`verticalAlignment-title-${Ge}`]:"The vertical alignment of the title and subtitle to the avatar"}},su={throttleWaitInMs:0},gl="ChangeListener",du={description:`\`${gl}\` is a functional component (it renders no UI) to trigger an action when a particular value (component property, state, etc.) changes.`,props:{listenTo:{description:"Value to the changes of which this component listens.",valueType:"any"},throttleWaitInMs:{description:"This variable sets a throttling time (in milliseconds) to apply when executing the `didChange` event handler. All changes within that throttling time will only fire the `didChange` event once.",valueType:"number",defaultValue:su.throttleWaitInMs}},events:{didChange:at(gl)}},tr={themeVars:`'{"Input:borderRadius-Checkbox-default": "var(--xmlui-borderRadius-Checkbox-default)", "Input:borderColor-Checkbox-default": "var(--xmlui-borderColor-Checkbox-default)", "Input:backgroundColor-Checkbox-default": "var(--xmlui-backgroundColor-Checkbox-default)", "Input:outlineWidth-Checkbox-default--focus": "var(--xmlui-outlineWidth-Checkbox-default--focus)", "Input:outlineColor-Checkbox-default--focus": "var(--xmlui-outlineColor-Checkbox-default--focus)", "Input:outlineStyle-Checkbox-default--focus": "var(--xmlui-outlineStyle-Checkbox-default--focus)", "Input:outlineOffset-Checkbox-default--focus": "var(--xmlui-outlineOffset-Checkbox-default--focus)", "Input:borderColor-Checkbox-default--hover": "var(--xmlui-borderColor-Checkbox-default--hover)", "Input:backgroundColor-Checkbox--disabled": "var(--xmlui-backgroundColor-Checkbox--disabled)", "Input:borderColor-Checkbox--disabled": "var(--xmlui-borderColor-Checkbox--disabled)", "Input:borderRadius-Checkbox-error": "var(--xmlui-borderRadius-Checkbox-error)", "Input:borderColor-Checkbox-error": "var(--xmlui-borderColor-Checkbox-error)", "Input:backgroundColor-Checkbox-error": "var(--xmlui-backgroundColor-Checkbox-error)", "Input:outlineWidth-Checkbox-error--focus": "var(--xmlui-outlineWidth-Checkbox-error--focus)", "Input:outlineColor-Checkbox-error--focus": "var(--xmlui-outlineColor-Checkbox-error--focus)", "Input:outlineStyle-Checkbox-error--focus": "var(--xmlui-outlineStyle-Checkbox-error--focus)", "Input:outlineOffset-Checkbox-error--focus": "var(--xmlui-outlineOffset-Checkbox-error--focus)", "Input:borderRadius-Checkbox-warning": "var(--xmlui-borderRadius-Checkbox-warning)", "Input:borderColor-Checkbox-warning": "var(--xmlui-borderColor-Checkbox-warning)", "Input:backgroundColor-Checkbox-warning": "var(--xmlui-backgroundColor-Checkbox-warning)", "Input:outlineWidth-Checkbox-warning--focus": "var(--xmlui-outlineWidth-Checkbox-warning--focus)", "Input:outlineColor-Checkbox-warning--focus": "var(--xmlui-outlineColor-Checkbox-warning--focus)", "Input:outlineStyle-Checkbox-warning--focus": "var(--xmlui-outlineStyle-Checkbox-warning--focus)", "Input:outlineOffset-Checkbox-warning--focus": "var(--xmlui-outlineOffset-Checkbox-warning--focus)", "Input:borderRadius-Checkbox-success": "var(--xmlui-borderRadius-Checkbox-success)", "Input:borderColor-Checkbox-success": "var(--xmlui-borderColor-Checkbox-success)", "Input:backgroundColor-Checkbox-success": "var(--xmlui-backgroundColor-Checkbox-success)", "Input:outlineWidth-Checkbox-success--focus": "var(--xmlui-outlineWidth-Checkbox-success--focus)", "Input:outlineColor-Checkbox-success--focus": "var(--xmlui-outlineColor-Checkbox-success--focus)", "Input:outlineStyle-Checkbox-success--focus": "var(--xmlui-outlineStyle-Checkbox-success--focus)", "Input:outlineOffset-Checkbox-success--focus": "var(--xmlui-outlineOffset-Checkbox-success--focus)", "backgroundColor-indicator-Checkbox": "var(--xmlui-backgroundColor-indicator-Checkbox)", "Input:borderColor-checked-Checkbox": "var(--xmlui-borderColor-checked-Checkbox)", "Input:backgroundColor-checked-Checkbox": "var(--xmlui-backgroundColor-checked-Checkbox)", "Input:borderColor-checked-Checkbox-error": "var(--xmlui-borderColor-checked-Checkbox-error)", "Input:backgroundColor-checked-Checkbox-error": "var(--xmlui-backgroundColor-checked-Checkbox-error)", "Input:borderColor-checked-Checkbox-warning": "var(--xmlui-borderColor-checked-Checkbox-warning)", "Input:backgroundColor-checked-Checkbox-warning": "var(--xmlui-backgroundColor-checked-Checkbox-warning)", "Input:borderColor-checked-Checkbox-success": "var(--xmlui-borderColor-checked-Checkbox-success)", "Input:backgroundColor-checked-Checkbox-success": "var(--xmlui-backgroundColor-checked-Checkbox-success)", "Input:borderColor-Switch": "var(--xmlui-borderColor-Switch)", "Input:backgroundColor-Switch": "var(--xmlui-backgroundColor-Switch)", "Input:borderColor-Switch-default--hover": "var(--xmlui-borderColor-Switch-default--hover)", "Input:backgroundColor-Switch--disabled": "var(--xmlui-backgroundColor-Switch--disabled)", "Input:borderColor-Switch--disabled": "var(--xmlui-borderColor-Switch--disabled)", "Input:borderColor-Switch-error": "var(--xmlui-borderColor-Switch-error)", "Input:borderColor-Switch-warning": "var(--xmlui-borderColor-Switch-warning)", "Input:borderColor-Switch-success": "var(--xmlui-borderColor-Switch-success)", "backgroundColor-indicator-Switch": "var(--xmlui-backgroundColor-indicator-Switch)", "Input:borderColor-checked-Switch": "var(--xmlui-borderColor-checked-Switch)", "Input:backgroundColor-checked-Switch": "var(--xmlui-backgroundColor-checked-Switch)", "Input:borderColor-checked-Switch-error": "var(--xmlui-borderColor-checked-Switch-error)", "Input:backgroundColor-checked-Switch-error": "var(--xmlui-backgroundColor-checked-Switch-error)", "Input:borderColor-checked-Switch-warning": "var(--xmlui-borderColor-checked-Switch-warning)", "Input:backgroundColor-checked-Switch-warning": "var(--xmlui-backgroundColor-checked-Switch-warning)", "Input:borderColor-checked-Switch-success": "var(--xmlui-borderColor-checked-Switch-success)", "Input:backgroundColor-checked-Switch-success": "var(--xmlui-backgroundColor-checked-Switch-success)", "Input:outlineWidth-Switch--focus": "var(--xmlui-outlineWidth-Switch--focus)", "Input:outlineColor-Switch--focus": "var(--xmlui-outlineColor-Switch--focus)", "Input:outlineStyle-Switch--focus": "var(--xmlui-outlineStyle-Switch--focus)", "Input:outlineOffset-Switch--focus": "var(--xmlui-outlineOffset-Switch--focus)", "backgroundColor-indicator-checked-Switch": "var(--xmlui-backgroundColor-indicator-checked-Switch)"}'`,resetAppearance:"_resetAppearance_1j250_13",label:"_label_1j250_21",inputContainer:"_inputContainer_1j250_25",checkbox:"_checkbox_1j250_33",error:"_error_1j250_62",warning:"_warning_1j250_73",valid:"_valid_1j250_84",switch:"_switch_1j250_144"},qt={initialValue:!1,value:!1,enabled:!0,validationStatus:"none",indeterminate:!1},Xa=s.forwardRef(function({id:t,initialValue:r=qt.initialValue,value:o=qt.value,enabled:a=qt.enabled,style:l,readOnly:i,validationStatus:n=qt.validationStatus,updateState:c=ae,onDidChange:b=ae,onFocus:h=ae,onBlur:p=ae,variant:C="checkbox",indeterminate:v=qt.indeterminate,className:g,label:T,labelPosition:y="end",labelWidth:$,labelBreak:w,required:_,registerComponentApi:A,inputRenderer:P},Z){const E=s.useId(),j=t||E,U=s.useRef(null);s.useEffect(()=>{c({value:r},{initial:!0})},[r,c]);const M=s.useCallback(W=>{var D;((D=U.current)==null?void 0:D.checked)!==W&&(c({value:W}),b(W))},[b,c]),f=s.useCallback(W=>{i||(c({value:W.target.checked}),b(W.target.checked))},[b,i,c]),x=s.useCallback(()=>{h==null||h()},[h]),H=s.useCallback(()=>{p==null||p()},[p]);s.useEffect(()=>{typeof v=="boolean"&&U.current&&(U.current.indeterminate=v)},[v]);const S=s.useCallback(()=>{var W;(W=U.current)==null||W.focus()},[]),O=Ce(W=>{M(W)});s.useEffect(()=>{A==null||A({focus:S,setValue:O})},[S,A,O]);const F=s.useMemo(()=>d.jsx("input",{id:j,ref:U,type:"checkbox",role:C,checked:o,disabled:!a,required:_,readOnly:i,"aria-readonly":i,"aria-checked":o,onChange:f,onFocus:x,onBlur:H,className:re(tr.resetAppearance,g,{[tr.checkbox]:C==="checkbox",[tr.switch]:C==="switch",[tr.error]:n==="error",[tr.warning]:n==="warning",[tr.valid]:n==="valid"})}),[j,g,a,H,x,f,i,_,n,o,C]);return d.jsx(lt,{ref:Z,id:j,label:T,style:l,labelPosition:y,labelWidth:$,labelBreak:w,required:_,enabled:a,isInputTemplateUsed:!!P,shrinkToLabel:!0,labelStyle:{pointerEvents:i?"none":void 0},children:P?d.jsxs("label",{className:tr.label,children:[d.jsx("div",{className:tr.inputContainer,children:F}),P({$checked:o})]}):F})}),Ee="Checkbox",uu={status:"stable",description:`The \`${Ee}\` component allows users to make binary choices, typically between checked or unchecked. It consists of a small box that can be toggled on or off by clicking on it.`,props:{indeterminate:qi(qt.indeterminate),label:qe(),labelPosition:gt("end"),labelWidth:_t(Ee),labelBreak:Vt(Ee),required:Nt(),initialValue:Tt(qt.initialValue),autoFocus:it(),readOnly:At(),enabled:Ze(),validationStatus:Wt(qt.validationStatus),description:Xe(`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${Ee} besides its label.`),inputTemplate:{description:"This property is used to define a custom checkbox input template"}},childrenAsTemplate:"inputTemplate",events:{gotFocus:vt(Ee),lostFocus:ft(Ee),didChange:at(Ee)},apis:{value:ji(),setValue:Qt()},themeVars:Y(tr.themeVars),defaultThemeVars:{[`borderColor-checked-${Ee}-error`]:`$borderColor-${Ee}-error`,[`backgroundColor-checked-${Ee}-error`]:`$borderColor-${Ee}-error`,[`borderColor-checked-${Ee}-warning`]:`$borderColor-${Ee}-warning`,[`backgroundColor-checked-${Ee}-warning`]:`$borderColor-${Ee}-warning`,[`borderColor-checked-${Ee}-success`]:`$borderColor-${Ee}-success`,[`backgroundColor-checked-${Ee}-success`]:`$borderColor-${Ee}-success`,[`backgroundColor-indicator-${Ee}`]:"$backgroundColor-primary",[`borderColor-checked-${Ee}`]:"$color-primary-500",[`backgroundColor-checked-${Ee}`]:"$color-primary-500",[`backgroundColor-${Ee}--disabled`]:"$color-surface-200"}},cu={themeVars:`'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "size-ContentSeparator": "var(--xmlui-size-ContentSeparator)"}'`},mu={orientation:"horizontal"},Ya="ContentSeparator",pu={description:`A \`${Ya}\` is a component that divides or separates content visually within a layout. It serves as a visual cue to distinguish between different sections or groups of content, helping to improve readability and organization.`,props:{size:{description:"This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical).",valueType:"any"},orientation:{description:"Sets the main axis of the component",availableValues:ea,defaultValue:mu.orientation,valueType:"string"}},themeVars:Y(cu.themeVars),defaultThemeVars:{[`backgroundColor-${Ya}`]:"$borderColor",[`size-${Ya}`]:"1px",light:{},dark:{}}},ct={themeVars:`'{"Input:backgroundColor-item-DatePicker--active": "var(--xmlui-backgroundColor-item-DatePicker--active)", "Input:backgroundColor-item-DatePicker--hover": "var(--xmlui-backgroundColor-item-DatePicker--hover)", "Input:textColor-value-DatePicker": "var(--xmlui-textColor-value-DatePicker)", "Input:minHeight-DatePicker": "var(--xmlui-minHeight-DatePicker)", "Input:borderColor-selectedItem-DatePicker": "var(--xmlui-borderColor-selectedItem-DatePicker)", "Input:fontSize-DatePicker": "var(--xmlui-fontSize-DatePicker)", "Input:borderRadius-DatePicker-default": "var(--xmlui-borderRadius-DatePicker-default)", "Input:borderColor-DatePicker-default": "var(--xmlui-borderColor-DatePicker-default)", "Input:borderWidth-DatePicker-default": "var(--xmlui-borderWidth-DatePicker-default)", "Input:borderStyle-DatePicker-default": "var(--xmlui-borderStyle-DatePicker-default)", "Input:backgroundColor-DatePicker-default": "var(--xmlui-backgroundColor-DatePicker-default)", "Input:boxShadow-DatePicker-default": "var(--xmlui-boxShadow-DatePicker-default)", "Input:textColor-DatePicker-default": "var(--xmlui-textColor-DatePicker-default)", "Input:padding-DatePicker-default": "var(--xmlui-padding-DatePicker-default)", "Input:borderColor-DatePicker-default--hover": "var(--xmlui-borderColor-DatePicker-default--hover)", "Input:backgroundColor-DatePicker-default--hover": "var(--xmlui-backgroundColor-DatePicker-default--hover)", "Input:boxShadow-DatePicker-default--hover": "var(--xmlui-boxShadow-DatePicker-default--hover)", "Input:textColor-DatePicker-default--hover": "var(--xmlui-textColor-DatePicker-default--hover)", "Input:outlineWidth-DatePicker-default--focus": "var(--xmlui-outlineWidth-DatePicker-default--focus)", "Input:outlineColor-DatePicker-default--focus": "var(--xmlui-outlineColor-DatePicker-default--focus)", "Input:outlineStyle-DatePicker-default--focus": "var(--xmlui-outlineStyle-DatePicker-default--focus)", "Input:outlineOffset-DatePicker-default--focus": "var(--xmlui-outlineOffset-DatePicker-default--focus)", "Input:textColor-placeholder-DatePicker-default": "var(--xmlui-textColor-placeholder-DatePicker-default)", "Input:textColor-adornment-DatePicker-default": "var(--xmlui-textColor-adornment-DatePicker-default)", "Input:borderRadius-DatePicker-error": "var(--xmlui-borderRadius-DatePicker-error)", "Input:borderColor-DatePicker-error": "var(--xmlui-borderColor-DatePicker-error)", "Input:borderWidth-DatePicker-error": "var(--xmlui-borderWidth-DatePicker-error)", "Input:borderStyle-DatePicker-error": "var(--xmlui-borderStyle-DatePicker-error)", "Input:backgroundColor-DatePicker-error": "var(--xmlui-backgroundColor-DatePicker-error)", "Input:boxShadow-DatePicker-error": "var(--xmlui-boxShadow-DatePicker-error)", "Input:textColor-DatePicker-error": "var(--xmlui-textColor-DatePicker-error)", "Input:padding-DatePicker-error": "var(--xmlui-padding-DatePicker-error)", "Input:borderColor-DatePicker-error--hover": "var(--xmlui-borderColor-DatePicker-error--hover)", "Input:backgroundColor-DatePicker-error--hover": "var(--xmlui-backgroundColor-DatePicker-error--hover)", "Input:boxShadow-DatePicker-error--hover": "var(--xmlui-boxShadow-DatePicker-error--hover)", "Input:textColor-DatePicker-error--hover": "var(--xmlui-textColor-DatePicker-error--hover)", "Input:outlineWidth-DatePicker-error--focus": "var(--xmlui-outlineWidth-DatePicker-error--focus)", "Input:outlineColor-DatePicker-error--focus": "var(--xmlui-outlineColor-DatePicker-error--focus)", "Input:outlineStyle-DatePicker-error--focus": "var(--xmlui-outlineStyle-DatePicker-error--focus)", "Input:outlineOffset-DatePicker-error--focus": "var(--xmlui-outlineOffset-DatePicker-error--focus)", "Input:textColor-placeholder-DatePicker-error": "var(--xmlui-textColor-placeholder-DatePicker-error)", "Input:textColor-adornment-DatePicker-error": "var(--xmlui-textColor-adornment-DatePicker-error)", "Input:borderRadius-DatePicker-warning": "var(--xmlui-borderRadius-DatePicker-warning)", "Input:borderColor-DatePicker-warning": "var(--xmlui-borderColor-DatePicker-warning)", "Input:borderWidth-DatePicker-warning": "var(--xmlui-borderWidth-DatePicker-warning)", "Input:borderStyle-DatePicker-warning": "var(--xmlui-borderStyle-DatePicker-warning)", "Input:backgroundColor-DatePicker-warning": "var(--xmlui-backgroundColor-DatePicker-warning)", "Input:boxShadow-DatePicker-warning": "var(--xmlui-boxShadow-DatePicker-warning)", "Input:textColor-DatePicker-warning": "var(--xmlui-textColor-DatePicker-warning)", "Input:padding-DatePicker-warning": "var(--xmlui-padding-DatePicker-warning)", "Input:borderColor-DatePicker-warning--hover": "var(--xmlui-borderColor-DatePicker-warning--hover)", "Input:backgroundColor-DatePicker-warning--hover": "var(--xmlui-backgroundColor-DatePicker-warning--hover)", "Input:boxShadow-DatePicker-warning--hover": "var(--xmlui-boxShadow-DatePicker-warning--hover)", "Input:textColor-DatePicker-warning--hover": "var(--xmlui-textColor-DatePicker-warning--hover)", "Input:outlineWidth-DatePicker-warning--focus": "var(--xmlui-outlineWidth-DatePicker-warning--focus)", "Input:outlineColor-DatePicker-warning--focus": "var(--xmlui-outlineColor-DatePicker-warning--focus)", "Input:outlineStyle-DatePicker-warning--focus": "var(--xmlui-outlineStyle-DatePicker-warning--focus)", "Input:outlineOffset-DatePicker-warning--focus": "var(--xmlui-outlineOffset-DatePicker-warning--focus)", "Input:textColor-placeholder-DatePicker-warning": "var(--xmlui-textColor-placeholder-DatePicker-warning)", "Input:textColor-adornment-DatePicker-warning": "var(--xmlui-textColor-adornment-DatePicker-warning)", "Input:borderRadius-DatePicker-success": "var(--xmlui-borderRadius-DatePicker-success)", "Input:borderColor-DatePicker-success": "var(--xmlui-borderColor-DatePicker-success)", "Input:borderWidth-DatePicker-success": "var(--xmlui-borderWidth-DatePicker-success)", "Input:borderStyle-DatePicker-success": "var(--xmlui-borderStyle-DatePicker-success)", "Input:backgroundColor-DatePicker-success": "var(--xmlui-backgroundColor-DatePicker-success)", "Input:boxShadow-DatePicker-success": "var(--xmlui-boxShadow-DatePicker-success)", "Input:textColor-DatePicker-success": "var(--xmlui-textColor-DatePicker-success)", "Input:padding-DatePicker-success": "var(--xmlui-padding-DatePicker-success)", "Input:borderColor-DatePicker-success--hover": "var(--xmlui-borderColor-DatePicker-success--hover)", "Input:backgroundColor-DatePicker-success--hover": "var(--xmlui-backgroundColor-DatePicker-success--hover)", "Input:boxShadow-DatePicker-success--hover": "var(--xmlui-boxShadow-DatePicker-success--hover)", "Input:textColor-DatePicker-success--hover": "var(--xmlui-textColor-DatePicker-success--hover)", "Input:outlineWidth-DatePicker-success--focus": "var(--xmlui-outlineWidth-DatePicker-success--focus)", "Input:outlineColor-DatePicker-success--focus": "var(--xmlui-outlineColor-DatePicker-success--focus)", "Input:outlineStyle-DatePicker-success--focus": "var(--xmlui-outlineStyle-DatePicker-success--focus)", "Input:outlineOffset-DatePicker-success--focus": "var(--xmlui-outlineOffset-DatePicker-success--focus)", "Input:textColor-placeholder-DatePicker-success": "var(--xmlui-textColor-placeholder-DatePicker-success)", "Input:textColor-adornment-DatePicker-success": "var(--xmlui-textColor-adornment-DatePicker-success)", "Input:backgroundColor-DatePicker--disabled": "var(--xmlui-backgroundColor-DatePicker--disabled)", "Input:textColor-DatePicker--disabled": "var(--xmlui-textColor-DatePicker--disabled)", "Input:borderColor-DatePicker--disabled": "var(--xmlui-borderColor-DatePicker--disabled)", "Input:boxShadow-menu-DatePicker": "var(--xmlui-boxShadow-menu-DatePicker)", "Input:backgroundColor-menu-DatePicker": "var(--xmlui-backgroundColor-menu-DatePicker)", "Input:borderRadius-menu-DatePicker": "var(--xmlui-borderRadius-menu-DatePicker)"}'`,datePicker:"_datePicker_1v90x_13",placeholder:"_placeholder_1v90x_47",adornment:"_adornment_1v90x_50",error:"_error_1v90x_53",warning:"_warning_1v90x_81",valid:"_valid_1v90x_109",disabled:"_disabled_1v90x_137",indicator:"_indicator_1v90x_143",datePickerInput:"_datePickerInput_1v90x_143",inlinePickerMenu:"_inlinePickerMenu_1v90x_147",datePickerMenu:"_datePickerMenu_1v90x_265",root:"_root_1v90x_277",day:"_day_1v90x_331",day_button:"_day_button_1v90x_337",caption_label:"_caption_label_1v90x_360",dropdown:"_dropdown_1v90x_371",button_next:"_button_next_1v90x_375",button_previous:"_button_previous_1v90x_376",chevron:"_chevron_1v90x_407",nav:"_nav_1v90x_412",dropdowns:"_dropdowns_1v90x_417",dropdown_root:"_dropdown_root_1v90x_441",month_caption:"_month_caption_1v90x_456",month:"_month_1v90x_456",months:"_months_1v90x_494",month_grid:"_month_grid_1v90x_502",weekday:"_weekday_1v90x_515",week_number:"_week_number_1v90x_525",today:"_today_1v90x_537",outside:"_outside_1v90x_537",selected:"_selected_1v90x_541",hidden:"_hidden_1v90x_558",range_start:"_range_start_1v90x_563",range_middle:"_range_middle_1v90x_572",range_end:"_range_end_1v90x_583",focusable:"_focusable_1v90x_597",datePickerValue:"_datePickerValue_1v90x_601",weeks_before_enter:"_weeks_before_enter_1v90x_638","rdp-slide_in_left":"_rdp-slide_in_left_1v90x_1",weeks_before_exit:"_weeks_before_exit_1v90x_642","rdp-slide_out_left":"_rdp-slide_out_left_1v90x_1",weeks_after_enter:"_weeks_after_enter_1v90x_646","rdp-slide_in_right":"_rdp-slide_in_right_1v90x_1",weeks_after_exit:"_weeks_after_exit_1v90x_650","rdp-slide_out_right":"_rdp-slide_out_right_1v90x_1",caption_after_enter:"_caption_after_enter_1v90x_686","rdp-fade_in":"_rdp-fade_in_1v90x_1",caption_after_exit:"_caption_after_exit_1v90x_690","rdp-fade_out":"_rdp-fade_out_1v90x_1",caption_before_enter:"_caption_before_enter_1v90x_694",caption_before_exit:"_caption_before_exit_1v90x_698"},hu=["single","range"];var Cr=(e=>(e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e))(Cr||{});const na=["MM/dd/yyyy","MM-dd-yyyy","yyyy/MM/dd","yyyy-MM-dd","dd/MM/yyyy","dd-MM-yyyy","yyyyMMdd","MMddyyyy"],nt={mode:"single",validationStatus:"none",enabled:!0,inline:!1,dateFormat:"MM/dd/yyyy",showWeekNumber:!1,weekStartsOn:0,disabledDates:[]},Tl=({...e})=>{const{orientation:t="left"}=e;if(t==="up")return d.jsx(ce,{name:"chevronup",size:"sm"});if(t==="down")return d.jsx(ce,{name:"chevrondown",size:"sm"});if(t==="left")return d.jsx(ce,{name:"chevronleft",size:"lg"});if(t==="right")return d.jsx(ce,{name:"chevronright",size:"lg"})},bu=s.forwardRef(function({id:t,initialValue:r,value:o,mode:a=nt.mode,enabled:l=nt.enabled,placeholder:i,updateState:n=ae,validationStatus:c=nt.validationStatus,onDidChange:b=ae,onFocus:h=ae,onBlur:p=ae,dateFormat:C=nt.dateFormat,showWeekNumber:v=nt.showWeekNumber,weekStartsOn:g=nt.weekStartsOn,minValue:T,maxValue:y,disabledDates:$=nt.disabledDates,style:w,registerComponentApi:_,inline:A=nt.inline,startText:P,startIcon:Z,endText:E,endIcon:j,label:U,labelPosition:M,labelWidth:f,labelBreak:x,readOnly:H=!1,required:S,autoFocus:O=!1},F){const W=g>=0&&g<=6?g:0,[D,X]=s.useState(!1),[q,B]=s.useState(!1),[I,z]=s.useState(null),L=s.useId(),N=t||L,R=s.useMemo(()=>{if(a==="single"&&typeof o=="string")return Za(o)||sa(o);if(a==="range"&&typeof o=="object")return{from:Za(o==null?void 0:o.from)||sa(o==null?void 0:o.from),to:Za(o==null?void 0:o.to)||sa(o==null?void 0:o.to)}},[o,a]);s.useEffect(()=>{if(!na.includes(C))throw new Error(`Invalid dateFormat: ${C}. Supported formats are: ${na.join(", ")}`)},[C]);const ie=s.useMemo(()=>T?ut.parse(T,C,new Date):void 0,[T,C]),me=s.useMemo(()=>y?ut.parse(y,C,new Date):void 0,[y,C]),Te=s.useMemo(()=>$==null?void 0:$.map(J=>ut.parse(J,C,new Date)),[$,C]),[oe,se]=s.useState(!1),{root:_e}=zt(),Ae=()=>{B(!0)},Ne=()=>{B(!1)},ee=s.useCallback(()=>{I==null||I.focus()},[I]),He=Ce(J=>{const ge=sa(J);be(ge)});s.useEffect(()=>{_==null||_({focus:ee,setValue:He})},[ee,_,He]),s.useEffect(()=>{!D&&!q&&(p==null||p()),(D||q)&&(h==null||h())},[D,q,h,p]),s.useEffect(()=>{n({value:r},{initial:!0})},[r,n]);const be=s.useCallback(J=>{if(!H){if(!J)n({value:void 0}),b("");else if(a==="single"){const ge=J,de=ut.format(ge,C);n({value:de}),b(de)}else{const ge=J,de={from:ge.from?ut.format(ge.from,C):"",to:ge.to?ut.format(ge.to,C):""};n({value:de}),b(de)}a==="single"&&se(!1)}},[b,n,a,C]);return d.jsx(lt,{id:N,labelPosition:M,label:U,labelWidth:f,labelBreak:x,required:S,enabled:l,onFocus:h,onBlur:p,style:w,ref:F,children:A?d.jsx("div",{className:ct.inlinePickerMenu,ref:J=>z(J),children:d.jsx(Li.DayPicker,{id:N,required:void 0,captionLayout:"dropdown",fixedWeeks:!0,startMonth:ie,endMonth:me,disabled:Te,weekStartsOn:W,showWeekNumber:v,showOutsideDays:!0,classNames:ct,mode:a==="single"?"single":"range",selected:R,onSelect:be,autoFocus:O,numberOfMonths:a==="range"?2:1,components:{Chevron:Tl}})}):d.jsxs(Dt.Popover,{open:oe,onOpenChange:se,modal:!1,children:[d.jsxs(Dt.PopoverTrigger,{ref:z,id:N,"aria-haspopup":!0,disabled:!l,style:w,"aria-expanded":oe,className:re(ct.datePicker,{[ct.disabled]:!l,[ct.error]:c==="error",[ct.warning]:c==="warning",[ct.valid]:c==="valid"}),autoFocus:O,onFocus:h,onBlur:p,children:[d.jsx(fr,{text:P,iconName:Z,className:ct.adornment}),d.jsx("div",{className:ct.datePickerValue,children:a==="single"&&R?d.jsx(d.Fragment,{children:ut.format(R,C)}):a==="range"&&typeof R=="object"&&R.from?R.to?d.jsxs(d.Fragment,{children:[ut.format(R.from,C)," - ",ut.format(R.to,C)]}):d.jsx(d.Fragment,{children:ut.format(R.from,C)}):i?d.jsx("span",{className:ct.placeholder,placeholder:i,children:i}):d.jsx("span",{children:" "})}),d.jsx(fr,{text:E,iconName:j,className:ct.adornment})]}),d.jsx(Dt.PopoverPortal,{container:_e,children:d.jsx(Dt.PopoverContent,{role:"menu",align:"start",sideOffset:5,className:ct.datePickerMenu,onFocus:Ae,onBlur:Ne,onInteractOutside:Ne,children:d.jsx(Li.DayPicker,{required:void 0,animate:!0,fixedWeeks:!0,autoFocus:O,classNames:ct,captionLayout:"dropdown",startMonth:ie,endMonth:me,disabled:Te,weekStartsOn:W,showWeekNumber:v,showOutsideDays:!0,mode:a==="single"?"single":"range",selected:R,onSelect:be,numberOfMonths:a==="range"?2:1,components:{Chevron:Tl}})})})]})})}),xu=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/,Za=e=>{if(e&&xu.test(e)){const t=ut.parseISO(e);if(ut.isValid(t))return t}},sa=e=>{if(e)for(const t of na){const r=ut.parse(e,t,new Date);if(ut.isValid(r))return r}},St="DatePicker",vu={status:"experimental",description:"A datepicker component enables the selection of a date or a range of dates in a specified format from an interactive display.",props:{placeholder:Er(),initialValue:Tt(),autoFocus:it(),readOnly:At(),enabled:Ze(nt.enabled),validationStatus:Wt(nt.validationStatus),label:qe(),labelPosition:gt("top"),labelWidth:_t(St),labelBreak:Vt(St),mode:{description:"The mode of the datepicker (single or range)",valueType:"string",availableValues:hu,defaultValue:nt.mode},dateFormat:{description:"The format of the date displayed in the input field",valueType:"string",defaultValue:nt.dateFormat,availableValues:na},showWeekNumber:{description:"Whether to show the week number in the calendar",valueType:"boolean",defaultValue:nt.showWeekNumber},weekStartsOn:{description:"The first day of the week. 0 is Sunday, 1 is Monday, etc.",valueType:"number",defaultValue:nt.weekStartsOn,availableValues:[{value:Cr.Sunday,description:"Sunday"},{value:Cr.Monday,description:"Monday"},{value:Cr.Tuesday,description:"Tuesday"},{value:Cr.Wednesday,description:"Wednesday"},{value:Cr.Thursday,description:"Thursday"},{value:Cr.Friday,description:"Friday"},{value:Cr.Saturday,description:"Saturday"}]},minValue:{description:"The start date of the range of selectable dates",valueType:"string"},maxValue:{description:"The end date of the range of selectable dates",valueType:"string"},disabledDates:{description:"An array of dates that are disabled",valueType:"any"},inline:{description:"Whether to display the datepicker inline",valueType:"boolean",defaultValue:nt.inline},startText:_a(),startIcon:Va(),endText:Aa(),endIcon:Wa()},events:{didChange:at(St),gotFocus:vt(St),lostFocus:ft(St)},apis:{focus:Jt(St),value:m("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Qt()},themeVars:Y(ct.themeVars),defaultThemeVars:{[`boxShadow-menu-${St}`]:"$boxShadow-md",[`borderRadius-menu-${St}`]:"$borderRadius",[`textColor-value-${St}`]:"$textColor-primary",[`borderColor-selectedItem-${St}`]:"$color-primary-200",[`backgroundColor-menu-${St}`]:"$color-surface-50",[`backgroundColor-item-${St}--hover`]:"$color-surface-100",[`backgroundColor-item-${St}--active`]:"$color-surface-200"}},yr={themeVars:`'{"backgroundColor-DropdownMenu": "var(--xmlui-backgroundColor-DropdownMenu)", "borderRadius-DropdownMenu": "var(--xmlui-borderRadius-DropdownMenu)", "boxShadow-DropdownMenu": "var(--xmlui-boxShadow-DropdownMenu)", "borderColor-DropdownMenu-content": "var(--xmlui-borderColor-DropdownMenu-content)", "borderWidth-DropdownMenu-content": "var(--xmlui-borderWidth-DropdownMenu-content)", "borderStyle-DropdownMenu-content": "var(--xmlui-borderStyle-DropdownMenu-content)", "minWidth-DropdownMenu": "var(--xmlui-minWidth-DropdownMenu)", "backgroundColor-MenuItem": "var(--xmlui-backgroundColor-MenuItem)", "color-MenuItem": "var(--xmlui-color-MenuItem)", "fontFamily-MenuItem": "var(--xmlui-fontFamily-MenuItem)", "gap-MenuItem": "var(--xmlui-gap-MenuItem)", "fontSize-MenuItem": "var(--xmlui-fontSize-MenuItem)", "paddingVertical-MenuItem": "var(--xmlui-paddingVertical-MenuItem)", "paddingHorizontal-MenuItem": "var(--xmlui-paddingHorizontal-MenuItem)", "backgroundColor-MenuItem--hover": "var(--xmlui-backgroundColor-MenuItem--hover)", "backgroundColor-MenuItem--active": "var(--xmlui-backgroundColor-MenuItem--active)", "backgroundColor-MenuItem--active--hover": "var(--xmlui-backgroundColor-MenuItem--active--hover)", "color-MenuItem--hover": "var(--xmlui-color-MenuItem--hover)", "color-MenuItem--active": "var(--xmlui-color-MenuItem--active)", "color-MenuItem--active--hover": "var(--xmlui-color-MenuItem--active--hover)", "color-MenuItem--disabled": "var(--xmlui-color-MenuItem--disabled)", "marginTop-MenuSeparator": "var(--xmlui-marginTop-MenuSeparator)", "marginBottom-MenuSeparator": "var(--xmlui-marginBottom-MenuSeparator)", "width-MenuSeparator": "var(--xmlui-width-MenuSeparator)", "height-MenuSeparator": "var(--xmlui-height-MenuSeparator)", "color-MenuSeparator": "var(--xmlui-color-MenuSeparator)"}'`,DropdownMenuContent:"_DropdownMenuContent_1ty8e_13",DropdownMenuItem:"_DropdownMenuItem_1ty8e_26",active:"_active_1ty8e_50",disabled:"_disabled_1ty8e_60",wrapper:"_wrapper_1ty8e_71"},rr={alignment:"start",triggerButtonVariant:"ghost",triggerButtonThemeColor:"primary",triggerButtonIcon:"triggerButton:DropdownMenu",triggerButtonIconPosition:"end"};s.forwardRef(function({triggerTemplate:t,children:r,label:o,registerComponentApi:a,style:l,onWillOpen:i,alignment:n=rr.alignment,disabled:c=!1,triggerButtonVariant:b=rr.triggerButtonVariant,triggerButtonThemeColor:h=rr.triggerButtonThemeColor,triggerButtonIcon:p=rr.triggerButtonIcon,triggerButtonIconPosition:C=rr.triggerButtonIconPosition},v){const{root:g}=zt(),[T,y]=s.useState(!1);return s.useEffect(()=>{a==null||a({close:()=>y(!1)})},[a]),d.jsxs(Ao.Root,{open:T,onOpenChange:async $=>{$&&await(i==null?void 0:i())===!1||y($)},children:[d.jsx(Ao.Trigger,{asChild:!0,disabled:c,ref:v,children:t||d.jsx(ot,{icon:d.jsx(ce,{name:p,fallback:"chevrondown"}),iconPosition:C,type:"button",variant:b,themeColor:h,disabled:c,children:o})}),d.jsx(Ao.Portal,{container:g,children:d.jsx(Ao.Content,{align:n,style:l,className:yr.DropdownMenuContent,children:r})})]})});const da={iconPosition:"start",active:!1};s.forwardRef(function({children:t,onClick:r=ae,label:o,style:a,icon:l,iconPosition:i=da.iconPosition,active:n=da.active,enabled:c=!0},b){const h=i==="start";return d.jsxs(Ao.Item,{style:a,className:re(yr.DropdownMenuItem,{[yr.active]:n,[yr.disabled]:!c}),onClick:p=>{if(!c){p.preventDefault(),p.stopPropagation();return}p.stopPropagation(),c&&r(p)},ref:b,children:[h&&l,d.jsx("div",{className:yr.wrapper,children:o??t}),!h&&l]})});const Gt="DropdownMenu",fu={description:"This component represents a dropdown menu with a trigger. When the user clicks the trigger, the dropdown menu displays its items.",props:{label:qe(),triggerTemplate:Xi(Gt),alignment:{description:"This property allows you to determine the alignment of the dropdown panel with the displayed menu items.",valueType:"string",availableValues:Mi,defaultValue:rr.alignment},enabled:Ze(),triggerButtonVariant:{description:"This property defines the theme variant of the `Button` as the dropdown menu's trigger. It has no effect when a custom trigger is defined with `triggerTemplate`.",valueType:"string",availableValues:Ei,defaultValue:rr.triggerButtonVariant},triggerButtonThemeColor:{description:"This property defines the theme color of the `Button` as the dropdown menu's trigger. It has no effect when a custom trigger is defined with `triggerTemplate`.",valueType:"string",availableValues:zi,defaultValue:rr.triggerButtonThemeColor},triggerButtonIcon:{description:`This property defines the icon to display on the trigger button. You can change the default icon for all ${Gt} instances with the "icon.triggerButton:DropdownMenu" declaration in the app configuration file.`,defaultValue:rr.triggerButtonIcon,valueType:"string"},triggerButtonIconPosition:{description:"This property defines the position of the icon on the trigger button.",defaultValue:rr.triggerButtonIconPosition,valueType:"string",availableValues:La}},events:{willOpen:m(`This event fires when the \`${Gt}\` component is opened.`)},apis:{close:m("This method command closes the dropdown.")},themeVars:Y(yr.themeVars),defaultThemeVars:{[`backgroundColor-${Gt}`]:"$color-surface-raised",[`minWidth-${Gt}`]:"160px",[`boxShadow-${Gt}`]:"$boxShadow-xl",[`borderStyle-${Gt}-content`]:"solid",[`borderRadius-${Gt}`]:"$borderRadius"}},kt="MenuItem",gu={description:"This property represents a leaf item in a menu hierarchy. Clicking the item triggers an action.",docFolder:Gt,props:{iconPosition:{description:"This property allows you to determine the position of the icon displayed in the menu item.",valueType:"string",availableValues:La,defaultValue:da.iconPosition},icon:{description:'This property names an optional icon to display with the menu item. You can use component-specific icons in the format "iconName:MenuItem".',valueType:"string"},label:qe(),to:{description:"This property defines the URL of the menu item. If this property is defined (and the `click` event does not have an event handler), clicking the menu item navigates to this link.",valueType:"string"},active:{description:"This property indicates if the specified menu item is active.",valueType:"boolean",defaultValue:da.active},enabled:Ze()},events:{click:io(kt)},themeVars:Y(yr.themeVars),defaultThemeVars:{[`backgroundColor-${kt}`]:"$backgroundColor-dropdown-item",[`color-${kt}`]:"$textColor-primary",[`color-${kt}--disabled`]:"$textColor--disabled",[`fontFamily-${kt}`]:"$fontFamily",[`fontSize-${kt}`]:"$fontSize-small",[`paddingVertical-${kt}`]:"$space-2",[`paddingHorizontal-${kt}`]:"$space-3",[`backgroundColor-${kt}--hover`]:"$backgroundColor-dropdown-item--hover",[`color-${kt}--hover`]:"inherit",[`gap-${kt}`]:"$space-2",[`color-${kt}--active`]:"$color-primary",[`backgroundColor-${kt}--active`]:"$backgroundColor-dropdown-item--active",light:{},dark:{}}},Tu={description:"This component represents a nested menu item within another menu or menu item.",docFolder:Gt,props:{label:qe(),triggerTemplate:Xi("SubMenuItem")}},co="MenuSeparator",Cu={description:"This component displays a separator line between menu items.",docFolder:Gt,themeVars:Y(yr.themeVars),defaultThemeVars:{[`marginTop-${co}`]:"$space-1",[`marginBottom-${co}`]:"$space-1",[`width-${co}`]:"100%",[`height-${co}`]:"1px",[`color-${co}`]:"$borderColor-dropdown-item",[`marginHorizontal-${co}`]:"12px"}},yu={status:"experimental",description:"The `EmojiSelector` component provides users with a graphical interface to browse, search and select emojis to insert into text fields, messages, or other forms of communication.",props:{autoFocus:it()},events:{select:m("This event is fired when the user selects an emoticon from this component.")}},mo={themeVars:'"[]"',container:"_container_1hin1_13",buttonStart:"_buttonStart_1hin1_22",buttonEnd:"_buttonEnd_1hin1_26",textBoxWrapper:"_textBoxWrapper_1hin1_30",button:"_button_1hin1_22"},{useDropzone:Hu}=ks,Su=({id:e,enabled:t=!0,style:r,placeholder:o,buttonPosition:a="end",buttonLabel:l="Browse",buttonIcon:i,buttonIconPosition:n,variant:c,buttonThemeColor:b,buttonSize:h,autoFocus:p,validationStatus:C,updateState:v=ae,onDidChange:g=ae,onFocus:T=ae,onBlur:y=ae,registerComponentApi:$,value:w,initialValue:_,acceptsFileType:A,multiple:P=!1,directory:Z=!1,label:E,labelPosition:j,labelWidth:U,labelBreak:M,required:f})=>{const x=Cl(_)?_:void 0,H=Cl(w)?w:void 0,S=s.useRef(null),O=typeof A=="string"?A:A==null?void 0:A.join(",");s.useEffect(()=>{p&&setTimeout(()=>{var L;(L=S.current)==null||L.focus()},0)},[p]),s.useEffect(()=>{v({value:x},{initial:!0})},[x,v]);const F=s.useCallback(()=>{y==null||y()},[y]),W=s.useCallback(()=>{var L;(L=S.current)==null||L.focus()},[]),D=s.useCallback(L=>{L.length&&(v({value:L}),g(L))},[v,g]),{getRootProps:X,getInputProps:q,open:B}=Hu({disabled:!t,multiple:P||Z,onDrop:D,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,useFsAccessApi:Z===!1}),I=s.useCallback(()=>{T==null||T()},[T]),z=Ce(()=>{B()});return s.useEffect(()=>{$==null||$({focus:W,open:z})},[W,z,$]),d.jsx(lt,{labelPosition:j,label:E,labelWidth:U,labelBreak:M,required:f,enabled:t,onFocus:T,onBlur:y,style:r,children:d.jsxs("div",{className:re(mo.container,{[mo.buttonStart]:a==="start",[mo.buttonEnd]:a==="end"}),children:[d.jsxs("button",{...X({tabIndex:0,onFocus:I,onBlur:F,disabled:!t,className:mo.textBoxWrapper,onClick:B,ref:S,type:"button"}),children:[d.jsx(Ss.Root,{children:d.jsx("input",{...q({webkitdirectory:Z?"true":void 0}),accept:O})}),d.jsx(Ma,{placeholder:o,enabled:t,value:(H==null?void 0:H.map(L=>L.name).join(", "))||"",validationStatus:C,readOnly:!0,tabIndex:-1})]}),d.jsx(ot,{id:e,disabled:!t,type:"button",onClick:B,icon:i,iconPosition:n,variant:c,themeColor:b,size:h,className:mo.button,autoFocus:p,children:l})]})})};function ku(e){return e instanceof File}function Cl(e){return Array.isArray(e)&&e.every(ku)}const Hr="FileInput",wu={description:`The \`${Hr}\` is a user interface component that allows users to select files from their device's file system for upload (or processing its content otherwise).`,status:"experimental",props:{placeholder:Er(),initialValue:Tt(),autoFocus:it(),required:Nt(),readOnly:At(),enabled:Ze(),validationStatus:Wt(),label:qe(),labelPosition:gt("top"),labelWidth:_t(Hr),labelBreak:Vt(Hr),buttonVariant:m("The button variant to use",$s),buttonLabel:m("This property is an optional string to set a label for the button part."),buttonIcon:m(`The ID of the icon to display in the button. You can change the default icon for all ${Hr} instances with the "icon.browse:FileInput" declaration in the app configuration file.`),buttonIconPosition:m("This optional string determines the location of the button icon.",Os),acceptsFileType:m("A list of file types the input controls accepts provided as a string array."),multiple:m("This boolean property enables to add not just one (`false`), but multiple files to the field (`true`). This is done either by dragging onto the field or by selecting multiple files in the browser menu after clicking the input field button.",null,"boolean",!1),directory:m("This boolean property indicates whether the component allows selecting directories (`true`) or files only (`false`).",null,"boolean",!1),buttonPosition:m('This property determines the position of the button relative to the input field. The default is "end".',["start","end"]),buttonSize:m("The size of the button (small, medium, large)",Oa),buttonThemeColor:m("The button color scheme (primary, secondary, attention)",Is)},events:{didChange:at(Hr),gotFocus:vt(Hr),lostFocus:ft(Hr)},apis:{value:m("By setting an ID for the component, you can refer to the value of the field if set. If no value is set, the value will be undefined."),setValue:m("(**NOT IMPLEMENTED YET**) You can use this method to set the component's current value programmatically."),focus:Jt(Hr),open:m("This API command triggers the file browsing dialog to open.")},themeVars:Y(mo.themeVars)},Iu={themeVars:`'{"backgroundColor-FileUploadDropZone": "var(--xmlui-backgroundColor-FileUploadDropZone)", "textColor-FileUploadDropZone": "var(--xmlui-textColor-FileUploadDropZone)", "backgroundColor-dropping-FileUploadDropZone": "var(--xmlui-backgroundColor-dropping-FileUploadDropZone)", "opacity-dropping-FileUploadDropZone": "var(--xmlui-opacity-dropping-FileUploadDropZone)"}'`},Bu={description:"The `FileUploadDropZone` component allows users to upload files to a web application by dragging and dropping files from their local file system onto a designated area within the UI.",props:{text:{description:"With this property, you can change the default text to display when files are dragged over the drop zone.",defaultValue:"Drop files here",type:"string"},allowPaste:{description:"This property indicates if the drop zone accepts files pasted from the clipboard (`true`) or only dragged files (`false`).",type:"boolean",defaultValue:!0},enabled:m("If set to `false`, the drop zone will be disabled and users will not be able to upload files.",null,"boolean",!0)},events:{upload:m("This component accepts files for upload but does not perform the actual operation. It fires the `upload` event and passes the list files to upload in the method's argument. You can use the passed file information to implement the upload (according to the protocol your backend supports).")},themeVars:Y(Iu.themeVars),defaultThemeVars:{"backgroundColor-FileUploadDropZone":"$backgroundColor","backgroundColor-dropping-FileUploadDropZone":"$backgroundColor--selected","opacity-dropping-FileUploadDropZone":"0.5","textColor-FileUploadDropZone":"$textColor",light:{},dark:{}}},Sr={themeVars:'"[]"',outer:"_outer_aarhe_13",flowContainer:"_flowContainer_aarhe_17",horizontal:"_horizontal_aarhe_21",flowItem:"_flowItem_aarhe_24",break:"_break_aarhe_47",forceBreak:"_forceBreak_aarhe_47",starSized:"_starSized_aarhe_47"},$u="xmlui",Ou=/(\$[a-zA-Z][a-zA-Z0-9-_]*)/g,Lu=/^(true|false)$/,Qa=/^\d*\*$/,_u={cssProps:{},issues:new Set};function Vu(e=vr,t){const r={cssProps:{},issues:new Set};w(t)&&(r.cssProps.flexShrink=0),g("width");const o=T(r.cssProps.width,t);o!==null&&(r.cssProps.flex=o,r.cssProps.flexShrink=1),g("minWidth"),g("maxWidth"),g("height");const a=y(r.cssProps.height,t);a!==null&&(r.cssProps.flex=a,r.cssProps.flexShrink=1),g("minHeight"),g("maxHeight"),g("top"),g("right"),g("bottom"),g("left"),g("gap"),g("padding");const l=v("paddingHorizontal");l&&(r.cssProps.paddingLeft=l,r.cssProps.paddingRight=l),g("paddingRight"),g("paddingLeft");const i=v("paddingVertical");i&&(r.cssProps.paddingTop=i,r.cssProps.paddingBottom=i),g("paddingTop"),g("paddingBottom"),g("margin");const n=v("marginHorizontal");n&&(r.cssProps.marginLeft=n,r.cssProps.marginRight=n),g("marginRight"),g("marginLeft");const c=v("marginVertical");c&&(r.cssProps.marginTop=c,r.cssProps.marginBottom=c),g("marginTop"),g("marginBottom"),g("border");const b=v("borderHorizontal");b&&(r.cssProps.borderLeft=b,r.cssProps.borderRight=b),g("borderRight"),g("borderLeft");const h=v("borderVertical");h&&(r.cssProps.borderTop=h,r.cssProps.borderBottom=h),g("borderTop"),g("borderBottom"),g("borderColor"),g("borderStyle"),g("borderWidth"),g("borderRadius"),g("radiusTopLeft","borderTopLeftRadius"),g("radiusTopRight","borderTopRightRadius"),g("radiusBottomLeft","borderBottomLeftRadius"),g("radiusBottomRight","borderBottomRightRadius"),g("color"),g("fontFamily"),g("fontSize"),g("fontWeight"),g("fontStyle"),g("textDecoration"),g("textDecorationLine"),g("textDecorationColor"),g("textDecorationStyle"),g("textDecorationThickness"),g("textUnderlineOffset"),g("userSelect"),g("letterSpacing"),g("textTransform"),g("lineHeight"),g("textAlign"),g("textAlignLast"),g("textWrap"),g("backgroundColor"),g("background"),g("boxShadow"),g("direction"),g("overflowX"),g("overflowY"),g("zIndex"),g("opacity"),g("zoom"),g("cursor"),g("whiteSpace"),g("outline"),g("outlineWidth"),g("outlineColor"),g("outlineStyle"),g("outlineOffset");const p=v("wrapContent");p&&(r.cssProps.flexWrap=p==="true"?"wrap":"nowrap"),g("canShrink","flexShrink");const C=v("canShrink");if(C&&(r.cssProps.flexShrink=C==="true"?1:0),Be.isEmpty(r.cssProps)&&Be.isEmpty(r.issues))return _u;return r;function v(_){var Z,E;const A=P();if(((Z=t==null?void 0:t.mediaSize)==null?void 0:Z.sizeIndex)!==void 0){const j=(E=t.mediaSize)==null?void 0:E.sizeIndex,U=P("xs"),M=P("sm"),f=P("md"),x=P("lg"),H=P("xl"),S=P("xxl");let O;switch(j){case 0:O=U??M??f;break;case 1:O=M??f;break;case 2:O=f;break;case 3:O=x;break;case 4:O=H??x;break;case 5:O=S??H??x;break}return O??A}return A;function P(j=""){const U=j?`${_}-${j}`:_;let M=e[U];if(M==null)return;typeof M=="string"?M=M.trim():M=M.toString();const f=M?M.replace(Ou,H=>Au(H.trim())):void 0;if(M!==f)return f;const x=Wu[_];if(!x||x.length===0)return f;for(const H of x)if(H.test(f))return f;return r.issues.add(U),f}}function g(_,A=""){const P=v(_);P&&(r.cssProps[A||_]=P)}function T(_,A){return _&&w(A)==="horizontal"&&Qa.test(_.toString())?$(_.toString()):null}function y(_,A){return _&&w(A)==="vertical"&&Qa.test(_.toString())?$(_.toString()):null}function $(_){if(Qa.test(_)){const A=_.slice(0,-1);return A===""?1:parseInt(A,10)}return null}function w(_){if(!_)return;let A=(_==null?void 0:_.type)==="Stack"&&(_==null?void 0:_.orientation);return A==null?void 0:A.toString()}}function Au(e){return`var(--${$u}-${e.substring(1)})`}const Wu={width:[],minWidth:[],maxWidth:[],height:[],minHeight:[],maxHeight:[],gap:[],top:[],right:[],bottom:[],left:[],border:[],borderTop:[],borderRight:[],borderBottom:[],borderLeft:[],borderColor:[],borderStyle:[],borderWidth:[],borderHorizontal:[],borderVertical:[],borderRadius:[],radiusTopLeft:[],radiusTopRight:[],radiusBottomLeft:[],radiusBottomRight:[],padding:[],paddingHorizontal:[],paddingVertical:[],paddingTop:[],paddingRight:[],paddingBottom:[],paddingLeft:[],margin:[],marginHorizontal:[],marginVertical:[],marginTop:[],marginRight:[],marginBottom:[],marginLeft:[],backgroundColor:[],background:[],boxShadow:[],direction:[],overflowX:[],overflowY:[],zIndex:[],opacity:[],color:[],fontFamily:[],fontSize:[],fontWeight:[],fontStyle:[Lu],textDecoration:[],userSelect:[],letterSpacing:[],textTransform:[],lineHeight:[],textAlign:[],textWrap:[],textAlignLast:[],wrapContent:[],canShrink:[],cursor:[],zoom:[],whiteSpace:[],textDecorationLine:[],textDecorationColor:[],textDecorationStyle:[],textDecorationThickness:[],textUnderlineOffset:[],outline:[],outlineWidth:[],outlineColor:[],outlineStyle:[],outlineOffset:[]},Ja={},yl=s.createContext({rowGap:0,columnGap:0,setNumberOfChildren:Be.noop}),Nu=({force:e})=>d.jsx("div",{className:re(Sr.break,{[Sr.forceBreak]:e})});s.forwardRef(function({children:t,forceBreak:r,...o},a){const{rowGap:l,columnGap:i,setNumberOfChildren:n}=s.useContext(yl);Wo(()=>(n(j=>j+1),()=>{n(j=>j-1)}),[n]);const{activeTheme:c,root:b}=zt(),h=o.width||"100%",p=o.minWidth||void 0,C=o.maxWidth||void 0,{width:v=h,minWidth:g,maxWidth:T,flex:y}=s.useMemo(()=>Vu({width:h,maxWidth:C,minWidth:p},{type:"Stack",orientation:"horizontal"}).cssProps||{},[C,p,h,c.themeVars]),$=s.useMemo(()=>{if(v&&typeof v=="string"&&v.startsWith("var(")){if(!Ja[v]){const j=v.substring(4,v.length-1),U=getComputedStyle(b).getPropertyValue(j);Ja[v]=U||h}return Ja[v]}return v||h},[h,b,v]),w=typeof $=="string"&&$.endsWith("%"),_=ld(i),A=Ji("(max-width: 420px)"),P=Ji("(max-width: 800px)"),Z={minWidth:g,maxWidth:T,width:w?`min(${v} * ${A?"8":P?"4":"1"}, 100%)`:`min(calc(${v} + ${_}), 100%)`,paddingBottom:l,flex:y},E=y!==void 0;return E&&(Z.width="100%",Z.minWidth=g||"1px"),d.jsxs(d.Fragment,{children:[d.jsx("div",{style:{...Z,paddingRight:_},className:re(Sr.flowItem,{[Sr.starSized]:E}),ref:a,children:t}),E&&d.jsx(Nu,{})]})});const Hl={columnGap:"$gap-normal",rowGap:"$gap-normal"};s.forwardRef(function({style:t,columnGap:r=0,rowGap:o=0,children:a},l){const[i,n]=s.useState(0),c=i===1?0:r,b=al(o),h=al(c),p=s.useMemo(()=>({marginRight:`calc(-1 * ${h})`,marginBottom:`calc(-1 * ${b})`}),[h,b]),C=s.useMemo(()=>({rowGap:b,columnGap:h,setNumberOfChildren:n}),[h,b]);return d.jsx(yl.Provider,{value:C,children:d.jsx("div",{style:t,ref:l,children:d.jsx("div",{className:Sr.outer,children:d.jsx("div",{className:re(Sr.flowContainer,Sr.horizontal),style:p,children:a})})})})});const Sl="FlowLayout",zu={description:"This layout component is used to position content in rows with an auto wrapping feature: if the length of the items exceed the available space the layout will wrap into a new line.",props:{gap:{description:`This property defines the gap between items in the same row and between rows. The ${Sl} component creates a new row when an item is about to overflow the current row.`,type:"string",defaultValue:"$gap-normal"},columnGap:{description:"The `columnGap` property specifies the space between items in a single row; it overrides the `gap` value.",defaultValue:Hl.columnGap},rowGap:{description:`The \`rowGap\` property specifies the space between the ${Sl} rows; it overrides the \`gap\` value.`,defaultValue:Hl.rowGap}},themeVars:Y(Sr.themeVars)},Eu={themeVars:`'{"padding-Footer": "var(--xmlui-padding-Footer)", "paddingHorizontal-Footer": "var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer))", "paddingVertical-Footer": "var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer))", "paddingLeft-Footer": "var(--xmlui-paddingLeft-Footer, var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer)))", "paddingRight-Footer": "var(--xmlui-paddingRight-Footer, var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer)))", "paddingTop-Footer": "var(--xmlui-paddingTop-Footer, var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer)))", "paddingBottom-Footer": "var(--xmlui-paddingBottom-Footer, var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer)))", "border-Footer": "var(--xmlui-border-Footer)", "borderHorizontal-Footer": "var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer))", "borderVertical-Footer": "var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer))", "borderLeft-Footer": "var(--xmlui-borderLeft-Footer, var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer)))", "borderRight-Footer": "var(--xmlui-borderRight-Footer, var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer)))", "borderTop-Footer": "var(--xmlui-borderTop-Footer, var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer)))", "borderBottom-Footer": "var(--xmlui-borderBottom-Footer, var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer)))", "borderWidth-Footer": "var(--xmlui-borderWidth-Footer)", "borderHorizontalWidth-Footer": "var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer))", "borderLeftWidth-Footer": "var(--xmlui-borderLeftWidth-Footer, var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderRightWidth-Footer": "var(--xmlui-borderRightWidth-Footer, var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderVerticalWidth-Footer": "var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer))", "borderTopWidth-Footer": "var(--xmlui-borderTopWidth-Footer, var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderBottomWidth-Footer": "var(--xmlui-borderBottomWidth-Footer, var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderStyle-Footer": "var(--xmlui-borderStyle-Footer)", "borderHorizontalStyle-Footer": "var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer))", "borderLeftStyle-Footer": "var(--xmlui-borderLeftStyle-Footer, var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderRightStyle-Footer": "var(--xmlui-borderRightStyle-Footer, var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderVerticalStyle-Footer": "var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer))", "borderTopStyle-Footer": "var(--xmlui-borderTopStyle-Footer, var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderBottomStyle-Footer": "var(--xmlui-borderBottomStyle-Footer, var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderColor-Footer": "var(--xmlui-borderColor-Footer)", "borderHorizontalColor-Footer": "var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer))", "borderLeftColor-Footer": "var(--xmlui-borderLeftColor-Footer, var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderRightColor-Footer": "var(--xmlui-borderRightColor-Footer, var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderVerticalColor-Footer": "var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer))", "borderTopColor-Footer": "var(--xmlui-borderTopColor-Footer, var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderBottomColor-Footer": "var(--xmlui-borderBottomColor-Footer, var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderStartStartRadius-Footer": "var(--xmlui-borderStartStartRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderStartEndRadius-Footer": "var(--xmlui-borderStartEndRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderEndStartRadius-Footer": "var(--xmlui-borderEndStartRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderEndEndRadius-Footer": "var(--xmlui-borderEndEndRadius-Footer, var(--xmlui-borderRadius-Footer))", "backgroundColor-Footer": "var(--xmlui-backgroundColor-Footer)", "textColor-Footer": "var(--xmlui-textColor-Footer)", "height-Footer": "var(--xmlui-height-Footer)", "fontSize-Footer": "var(--xmlui-fontSize-Footer)", "verticalAlign-Footer": "var(--xmlui-verticalAlign-Footer)", "maxWidth-content-Footer": "var(--xmlui-maxWidth-content-Footer)", "maxWidth-App": "var(--xmlui-maxWidth-App)"}'`},kr="Footer",Pu={description:`The \`${kr}\` is a component that acts as a placeholder within \`App\`.`,themeVars:Y(Eu.themeVars),defaultThemeVars:{[`backgroundColor-${kr}`]:"$backgroundColor-AppHeader",[`verticalAlign-${kr}`]:"center",[`fontSize-${kr}`]:"$fontSize-small",[`textColor-${kr}`]:"$textColor-secondary",[`maxWidth-content-${kr}`]:"$maxWidth-content",[`borderTop-${kr}`]:"1px solid $borderColor",[`padding-${kr}`]:"$space-2 $space-4",light:{},dark:{}}},Ka={themeVars:`'{"gap-Form": "var(--xmlui-gap-Form)", "gap-buttonRow-Form": "var(--xmlui-gap-buttonRow-Form)"}'`,wrapper:"_wrapper_wscb6_13",buttonRow:"_buttonRow_wscb6_19"},kl="__UNBOUND_FIELD__";var wt=(e=>(e.FIELD_LOST_FOCUS="FormActionKind:FIELD_LOST_FOCUS",e.FIELD_VALUE_CHANGED="FormActionKind:FIELD_VALUE_CHANGED",e.FIELD_FOCUSED="FormActionKind:FIELD_FOCUSED",e.FIELD_VALIDATED="FormActionKind:FIELD_VALIDATED",e.FIELD_INITIALIZED="FormActionKind:FIELD_INITIALIZED",e.FIELD_REMOVED="FormActionKind:FIELD_REMOVED",e.TRIED_TO_SUBMIT="FormActionKind:TRIED_TO_SUBMIT",e.BACKEND_VALIDATION_ARRIVED="FormActionKind:BACKEND_VALIDATION_ARRIVED",e.SUBMITTING="FormActionKind:SUBMITTING",e.SUBMITTED="FormActionKind:SUBMITTED",e.RESET="FormActionKind:RESET",e))(wt||{});function Mu(e,t,r=!1){return{type:"FormActionKind:FIELD_INITIALIZED",payload:{uid:e,value:t,force:r}}}function Du(e,t){return{type:"FormActionKind:FIELD_VALUE_CHANGED",payload:{uid:e,value:t}}}function Ru(e){return{type:"FormActionKind:FIELD_FOCUSED",payload:{uid:e}}}function Fu(e){return{type:"FormActionKind:FIELD_LOST_FOCUS",payload:{uid:e}}}function wl(e,t){return{type:"FormActionKind:FIELD_VALIDATED",payload:{uid:e,validationResult:t}}}function Uu(e){return{type:"FormActionKind:FIELD_REMOVED",payload:{uid:e}}}function qu(){return{type:"FormActionKind:TRIED_TO_SUBMIT",payload:{}}}function Gu(){return{type:"FormActionKind:SUBMITTING",payload:{}}}function ju(){return{type:"FormActionKind:SUBMITTED",payload:{}}}function Xu(e){return{type:"FormActionKind:RESET",payload:{originalSubject:e}}}function Yu({generalValidationResults:e=[],fieldValidationResults:t={}}){return{type:"FormActionKind:BACKEND_VALIDATION_ARRIVED",payload:{generalValidationResults:e,fieldValidationResults:t}}}const wr={themeVars:`'{"padding-ModalDialog": "var(--xmlui-padding-ModalDialog)", "paddingHorizontal-ModalDialog": "var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingVertical-ModalDialog": "var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingLeft-ModalDialog": "var(--xmlui-paddingLeft-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingRight-ModalDialog": "var(--xmlui-paddingRight-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingTop-ModalDialog": "var(--xmlui-paddingTop-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingBottom-ModalDialog": "var(--xmlui-paddingBottom-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "padding-overlay-ModalDialog": "var(--xmlui-padding-overlay-ModalDialog)", "paddingHorizontal-overlay-ModalDialog": "var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingVertical-overlay-ModalDialog": "var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingLeft-overlay-ModalDialog": "var(--xmlui-paddingLeft-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingRight-overlay-ModalDialog": "var(--xmlui-paddingRight-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingTop-overlay-ModalDialog": "var(--xmlui-paddingTop-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingBottom-overlay-ModalDialog": "var(--xmlui-paddingBottom-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "Dialog:backgroundColor-ModalDialog": "var(--xmlui-backgroundColor-ModalDialog)", "Dialog:backgroundColor-overlay-ModalDialog": "var(--xmlui-backgroundColor-overlay-ModalDialog)", "Dialog:borderRadius-ModalDialog": "var(--xmlui-borderRadius-ModalDialog)", "Dialog:fontFamily-ModalDialog": "var(--xmlui-fontFamily-ModalDialog)", "Dialog:textColor-ModalDialog": "var(--xmlui-textColor-ModalDialog)", "Dialog:minWidth-ModalDialog": "var(--xmlui-minWidth-ModalDialog)", "Dialog:maxWidth-ModalDialog": "var(--xmlui-maxWidth-ModalDialog)", "Dialog:marginBottom-title-ModalDialog": "var(--xmlui-marginBottom-title-ModalDialog)"}'`,overlay:"_overlay_it5gt_13",fullScreen:"_fullScreen_it5gt_21",content:"_content_it5gt_27",overlayBg:"_overlayBg_it5gt_36",dialogTitle:"_dialogTitle_it5gt_70",innerContent:"_innerContent_it5gt_76",closeButton:"_closeButton_it5gt_102"},Il=s.createContext(null),Zu=()=>{const e=s.useId(),{registerForm:t,unRegisterForm:r,requestClose:o,amITheSingleForm:a}=s.useContext(Il)||{};return s.useEffect(()=>{if(t)return t(e),()=>{r==null||r(e)}},[e,t,r]),s.useCallback(()=>{if(o&&a(e))return o()},[a,e,o])};s.forwardRef(({isInitiallyOpen:e,onOpen:t,onClose:r,registerComponentApi:o,renderDialog:a},l)=>{const i=$l(e,t,r),{doOpen:n,doClose:c,isOpen:b,openParams:h}=i;return s.useEffect(()=>{o==null||o({open:n,close:c})},[c,n,o]),b?d.jsx(Bl.Provider,{value:i,children:a({openParams:h,ref:l})}):null});const Bl=s.createContext(null);function $l(e,t,r){const[o,a]=s.useState(e),l=s.useRef(!1),[i,n]=s.useState(null),c=Ce((...h)=>{n(h),t==null||t(),a(!0)}),b=Ce(async()=>{if(!l.current)try{if(l.current=!0,await(r==null?void 0:r())===!1)return}finally{l.current=!1}a(!1)});return s.useMemo(()=>({isOpen:o,doClose:b,doOpen:c,openParams:i}),[b,c,o,i])}function Qu(e=!0,t,r){const o=s.useContext(Bl),a=$l(e,t,r);return o||a}const Ol=s.forwardRef(({children:e,style:t,isInitiallyOpen:r,fullScreen:o,title:a,closeButtonVisible:l=!0,onOpen:i,onClose:n},c)=>{const{root:b}=zt(),h=s.useRef(null),p=c?sr(c,h):h,{isOpen:C,doClose:v,doOpen:g}=Qu(r,i,n);s.useEffect(()=>{var $;C&&(($=h.current)==null||$.focus())},[C]),s.useEffect(()=>{if(C){const $=setTimeout(()=>{document.body.style.pointerEvents=""},0);return()=>clearTimeout($)}else document.body.style.pointerEvents="auto"},[C]);const T=s.useRef(new Set),y=s.useMemo(()=>({registerForm:$=>{T.current.add($)},unRegisterForm:$=>{T.current.delete($)},amITheSingleForm:$=>T.current.size===1&&T.current.has($),requestClose:()=>v()}),[v]);return b?d.jsx(ao.Root,{open:C,onOpenChange:$=>$?g():v(),children:d.jsxs(ao.Portal,{container:b,children:[!o&&d.jsx("div",{className:wr.overlayBg}),d.jsx(ao.Overlay,{className:re(wr.overlay,{[wr.fullScreen]:o}),children:d.jsxs(ao.Content,{className:re(wr.content),onPointerDownOutside:$=>{$.target instanceof Element&&$.target.closest("._debug-inspect-button")!==null&&$.preventDefault()},ref:p,style:{...t,gap:void 0},children:[!!a&&d.jsx(ao.Title,{style:{marginTop:0},children:d.jsx("header",{id:"dialogTitle",className:wr.dialogTitle,children:a})}),d.jsx("div",{className:wr.innerContent,style:{gap:t==null?void 0:t.gap},children:d.jsx(Il.Provider,{value:y,children:e})}),l&&d.jsx(ao.Close,{asChild:!0,children:d.jsx(ot,{variant:"ghost",themeColor:"secondary",className:wr.closeButton,"aria-label":"Close",icon:d.jsx(ce,{name:"close",size:"sm"}),orientation:"vertical"})})]})})]})}):null});Ol.displayName="ModalDialog";const Ll=new Set,mt=new WeakMap,po=new WeakMap,Fr=new WeakMap,ei=new WeakMap,Ju=new WeakMap,ho=new WeakMap,ua=new WeakMap,Po=new WeakSet;let Ur;const ur="__aa_tgt",ti="__aa_del",Ku=e=>{const t=ac(e);t&&t.forEach(r=>ic(r))},ec=e=>{e.forEach(t=>{t.target===Ur&&rc(),mt.has(t.target)&&qr(t.target)})};function tc(e){const t=ei.get(e);t==null||t.disconnect();let r=mt.get(e),o=0;const a=5;r||(r=xo(e),mt.set(e,r));const{offsetWidth:l,offsetHeight:i}=Ur,c=[r.top-a,l-(r.left+a+r.width),i-(r.top+a+r.height),r.left-a].map(h=>`${-1*Math.floor(h)}px`).join(" "),b=new IntersectionObserver(()=>{++o>1&&qr(e)},{root:Ur,threshold:1,rootMargin:c});b.observe(e),ei.set(e,b)}function qr(e){clearTimeout(ua.get(e));const t=ca(e),r=typeof t=="function"?500:t.duration;ua.set(e,setTimeout(async()=>{const o=Fr.get(e);try{await(o==null?void 0:o.finished),mt.set(e,xo(e)),tc(e)}catch{}},r))}function rc(){clearTimeout(ua.get(Ur)),ua.set(Ur,setTimeout(()=>{Ll.forEach(e=>Wl(e,t=>_l(()=>qr(t))))},100))}function oc(e){setTimeout(()=>{Ju.set(e,setInterval(()=>_l(qr.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function _l(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let ri,bo;typeof window<"u"&&(Ur=document.documentElement,ri=new MutationObserver(Ku),bo=new ResizeObserver(ec),bo.observe(Ur));function ac(e){return e.reduce((o,a)=>[...o,...Array.from(a.addedNodes),...Array.from(a.removedNodes)],[]).every(o=>o.nodeName==="#comment")?!1:e.reduce((o,a)=>{if(o===!1)return!1;if(a.target instanceof Element){if(oi(a.target),!o.has(a.target)){o.add(a.target);for(let l=0;l<a.target.children.length;l++){const i=a.target.children.item(l);if(i){if(ti in i)return!1;oi(a.target,i),o.add(i)}}}if(a.removedNodes.length)for(let l=0;l<a.removedNodes.length;l++){const i=a.removedNodes[l];if(ti in i)return!1;i instanceof Element&&(o.add(i),oi(a.target,i),po.set(i,[a.previousSibling,a.nextSibling]))}}return o},new Set)}function oi(e,t){!t&&!(ur in e)?Object.defineProperty(e,ur,{value:e}):t&&!(ur in t)&&Object.defineProperty(t,ur,{value:e})}function ic(e){var t;const r=e.isConnected,o=mt.has(e);r&&po.has(e)&&po.delete(e),Fr.has(e)&&((t=Fr.get(e))===null||t===void 0||t.cancel()),o&&r?nc(e):o&&!r?dc(e):sc(e)}function or(e){return Number(e.replace(/[^0-9.\-]/g,""))}function lc(e){let t=e.parentElement;for(;t;){if(t.scrollLeft||t.scrollTop)return{x:t.scrollLeft,y:t.scrollTop};t=t.parentElement}return{x:0,y:0}}function xo(e){const t=e.getBoundingClientRect(),{x:r,y:o}=lc(e);return{top:t.top+o,left:t.left+r,width:t.width,height:t.height}}function Vl(e,t,r){let o=t.width,a=t.height,l=r.width,i=r.height;const n=getComputedStyle(e);if(n.getPropertyValue("box-sizing")==="content-box"){const b=or(n.paddingTop)+or(n.paddingBottom)+or(n.borderTopWidth)+or(n.borderBottomWidth),h=or(n.paddingLeft)+or(n.paddingRight)+or(n.borderRightWidth)+or(n.borderLeftWidth);o-=h,l-=h,a-=b,i-=b}return[o,l,a,i].map(Math.round)}function ca(e){return ur in e&&ho.has(e[ur])?ho.get(e[ur]):{duration:250,easing:"ease-in-out"}}function Al(e){if(ur in e)return e[ur]}function ai(e){const t=Al(e);return t?Po.has(t):!1}function Wl(e,...t){t.forEach(r=>r(e,ho.has(e)));for(let r=0;r<e.children.length;r++){const o=e.children.item(r);o&&t.forEach(a=>a(o,ho.has(o)))}}function nc(e){const t=mt.get(e),r=xo(e);if(!ai(e))return mt.set(e,r);let o;if(!t)return;const a=ca(e);if(typeof a!="function"){const l=t.left-r.left,i=t.top-r.top,[n,c,b,h]=Vl(e,t,r),p={transform:`translate(${l}px, ${i}px)`},C={transform:"translate(0, 0)"};n!==c&&(p.width=`${n}px`,C.width=`${c}px`),b!==h&&(p.height=`${b}px`,C.height=`${h}px`),o=e.animate([p,C],{duration:a.duration,easing:a.easing})}else o=new Animation(a(e,"remain",t,r)),o.play();Fr.set(e,o),mt.set(e,r),o.addEventListener("finish",qr.bind(null,e))}function sc(e){const t=xo(e);mt.set(e,t);const r=ca(e);if(!ai(e))return;let o;typeof r!="function"?o=e.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:r.duration*1.5,easing:"ease-in"}):(o=new Animation(r(e,"add",t)),o.play()),Fr.set(e,o),o.addEventListener("finish",qr.bind(null,e))}function dc(e){var t;if(!po.has(e)||!mt.has(e))return;const[r,o]=po.get(e);Object.defineProperty(e,ti,{value:!0}),o&&o.parentNode&&o.parentNode instanceof Element?o.parentNode.insertBefore(e,o):r&&r.parentNode?r.parentNode.appendChild(e):(t=Al(e))===null||t===void 0||t.appendChild(e);function a(){var C;e.remove(),mt.delete(e),po.delete(e),Fr.delete(e),(C=ei.get(e))===null||C===void 0||C.disconnect()}if(!ai(e))return a();const[l,i,n,c]=uc(e),b=ca(e),h=mt.get(e);let p;Object.assign(e.style,{position:"absolute",top:`${l}px`,left:`${i}px`,width:`${n}px`,height:`${c}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),typeof b!="function"?p=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:b.duration,easing:"ease-out"}):(p=new Animation(b(e,"remove",h)),p.play()),Fr.set(e,p),p.addEventListener("finish",a)}function uc(e){const t=mt.get(e),[r,,o]=Vl(e,t,xo(e));let a=e.parentElement;for(;a&&(getComputedStyle(a).position==="static"||a instanceof HTMLBodyElement);)a=a.parentElement;a||(a=document.body);const l=getComputedStyle(a),i=mt.get(a)||xo(a),n=Math.round(t.top-i.top)-or(l.borderTopWidth),c=Math.round(t.left-i.left)-or(l.borderLeftWidth);return[n,c,r,o]}function cc(e,t={}){return ri&&bo&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&typeof t!="function"&&!t.disrespectUserMotionPreference||(Po.add(e),getComputedStyle(e).position==="static"&&Object.assign(e.style,{position:"relative"}),Wl(e,qr,oc,a=>bo==null?void 0:bo.observe(a)),typeof t=="function"?ho.set(e,t):ho.set(e,{duration:250,easing:"ease-in-out",...t}),ri.observe(e,{childList:!0}),Ll.add(e))),Object.freeze({parent:e,enable:()=>{Po.add(e)},disable:()=>{Po.delete(e)},isEnabled:()=>Po.has(e)})}function ii(e){const[t,r]=s.useState();return[s.useCallback(l=>{l instanceof HTMLElement?r(cc(l,e)):r(void 0)},[]),l=>{t&&(l?t.enable():t.disable())}]}const Ir={summaryContainer:"_summaryContainer_1sc6r_13",validationContainer:"_validationContainer_1sc6r_22",error:"_error_1sc6r_52",heading:"_heading_1sc6r_58",warning:"_warning_1sc6r_62",info:"_info_1sc6r_72",valid:"_valid_1sc6r_22"},Nl={themeVars:'"[]"',spacer:"_spacer_1414d_13"},mc=()=>d.jsx("div",{className:Nl.spacer});function zl({fieldValidationResults:e=vr,generalValidationResults:t=Qe}){const[r]=ii({duration:100}),o=s.useMemo(()=>{const a={};return Object.entries(e).forEach(([l,i])=>{i.validations.forEach(n=>{n.isValid||(a[n.severity]=a[n.severity]||[],a[n.severity].push({field:l,message:n.invalidMessage||""}))})}),t.forEach(l=>{a[l.severity]=a[l.severity]||[],a[l.severity].push({message:l.invalidMessage||""})}),a},[e,t]);return d.jsxs("div",{ref:r,className:Ir.summaryContainer,"data-validation-summary":!0,children:[d.jsx(El,{issues:o.warning,severity:"warning",heading:"Validation warnings"}),d.jsx(El,{issues:o.error,severity:"error",heading:"Validation errors"})]})}const El=({heading:e,issues:t=Qe,severity:r="error",onClose:o})=>{const[a]=ii({duration:100});return t.length===0?null:d.jsxs("div",{className:re(Ir.validationContainer,{[Ir.valid]:r==="valid",[Ir.info]:r==="info",[Ir.warning]:r==="warning",[Ir.error]:r==="error"}),style:{paddingTop:o?void 0:"0.5rem"},"data-validation-display-severity":r,children:[d.jsxs(Ea,{orientation:"horizontal",verticalAlignment:"center",style:{gap:"0.5rem"},children:[d.jsx(ce,{className:Ir.heading,name:r,size:"md"}),d.jsx("div",{className:Ir.heading,children:d.jsx(no,{children:e})}),!!o&&d.jsxs(d.Fragment,{children:[d.jsx(mc,{}),d.jsx(ot,{onClick:o,variant:"ghost",themeColor:"secondary",icon:d.jsx(ce,{name:"close",size:"sm"}),orientation:"vertical"})]})]}),d.jsx("ul",{ref:a,children:t.map((l,i)=>d.jsx(pc,{issue:l},i))})]})},pc=({issue:e})=>{const{field:t,message:r}=e;return d.jsx("li",{children:d.jsxs("span",{style:{display:"inline-flex",gap:t?"0.25rem":void 0},children:[t&&d.jsx(no,{variant:"small",fontWeight:"bold",children:`${t}:`}),d.jsx(no,{variant:"small",preserveLinebreaks:!0,children:r})]})})},hc=["error","warning","valid","none"],Pl="errorLate",bc=[{value:"errorLate",description:"Display the error when the field loses focus.If an error is already displayed, continue for every keystroke until input is accepted."},{value:"onChanged",description:"Display error (if present) for every keystroke."},{value:"onLostFocus",description:"Show/hide error (if present) only if the field loses focus."}],Ml=Vi.createContext(void 0);function cr(e){return Vi.useContextSelector(Ml,e)}const xc=[{value:"text",description:"Renders TextBox"},{value:"password",description:"Renders TextBox with `password` type"},{value:"textarea",description:"Renders Textarea"},{value:"checkbox",description:"Renders Checkbox"},{value:"number",description:"Renders NumberBox"},{value:"integer",description:"Renders NumberBox with `integersOnly` set to true"},{value:"file",description:"Renders FileInput"},{value:"datePicker",description:"Renders DatePicker"},{value:"radioGroup",description:"Renders RadioGroup"},{value:"switch",description:"Renders Switch"},{value:"select",description:"Renders Select"},{value:"autocomplete",description:"Renders AutoComplete"},{value:"slider",description:"Renders Slider"},{value:"colorpicker",description:"Renders ColorPicker"},{value:"items",description:"Renders Items"},{value:"custom",description:"Custom control specified in children"}];function vc(e){return e==null||e===""?!0:typeof e=="string"?e.trim().length===0:Be.isEmpty(e)}function Dl(e="",t){return typeof e=="string"?e.length>=t:(console.warn("minLength can only be used on strings"),!0)}function Rl(e="",t){return typeof e=="string"?e.length<=t:(console.warn("maxLength can only be used on strings"),!0)}function Fl(e="",t){return typeof e!="string"&&!Be.isNumber(e)&&console.warn("Range can only be used on strings and numbers"),Number(e)>=t}function Ul(e="",t){return typeof e!="string"&&!Be.isNumber(e)&&console.warn("Range can only be used on strings and numbers"),Number(e)<=t}function fc(e="",t){if(typeof e=="string")return r(t).test(e);return console.warn("Regex can only be used on strings"),!0;function r(o){const a=o.match(/^([/~@;%#'])(.*?)\1([gimsuy]*)$/);return a?new RegExp(a[2],a[3]):new RegExp(o)}}class ql{constructor(t,r,o){this.validations=t,this.onValidate=r,this.value=o,this.preValidate=()=>{const a=this.validateRequired();let l=[a];return(!a||a.isValid)&&l.push(this.validateLength(),this.validateRange(),this.validatePattern(),this.validateRegex()),l=l.filter(i=>i!==void 0),{isValid:l.find(i=>!i.isValid)===void 0,validatedValue:this.value,partial:this.onValidate!==void 0,validations:l}},this.validate=async()=>{const a=this.preValidate(),l=await this.validateCustom()||[];return a.validations.push(...l.map(i=>({...i,async:!0}))),{isValid:a.validations.find(i=>!i.isValid)===void 0,validatedValue:this.value,partial:!1,validations:a.validations}}}validateRequired(){const{required:t,requiredInvalidMessage:r}=this.validations;if(t)return{isValid:!vc(this.value),invalidMessage:r||"This field is required",severity:"error"}}validateLength(){const{minLength:t,maxLength:r,lengthInvalidMessage:o,lengthInvalidSeverity:a="error"}=this.validations;if(!(t===void 0&&r===void 0))return t!==void 0&&r===void 0?{isValid:Dl(this.value,t),invalidMessage:o||`Input should be at least ${t} ${jl(t,"character")}`,severity:a}:t===void 0&&r!==void 0?{isValid:Rl(this.value,r),invalidMessage:o||`Input should be up to ${r} ${jl(r,"character")}`,severity:a}:{isValid:Dl(this.value,t)&&Rl(this.value,r),invalidMessage:o||`Input length should be between ${t} and ${r}`,severity:a}}validateRange(){const{minValue:t,maxValue:r,rangeInvalidMessage:o,rangeInvalidSeverity:a="error"}=this.validations;if(!(t===void 0&&r===void 0))return t!==void 0&&r===void 0?{isValid:Fl(this.value,t),invalidMessage:o||`Input should be bigger than ${t}`,severity:a}:t===void 0&&r!==void 0?{isValid:Ul(this.value,r),invalidMessage:o||`Input should be smaller than ${r}`,severity:a}:{isValid:Fl(this.value,t)&&Ul(this.value,r),invalidMessage:o||`Input should be between ${t} and ${r}`,severity:a}}validatePattern(){const{pattern:t,patternInvalidMessage:r,patternInvalidSeverity:o="error"}=this.validations;if(t)switch(t.toLowerCase()){case"email":return{isValid:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(this.value),invalidMessage:r||"Not a valid email address",severity:o};case"phone":return{isValid:/^[a-zA-Z0-9#*)(+.\-_&']+$/g.test(this.value),invalidMessage:r||"Not a valid phone number",severity:o};case"url":let a;try{a=new URL(this.value)}catch{}return!a||a.protocol&&!["http:","https:"].includes(a.protocol)?{isValid:!1,invalidMessage:"Not a valid URL",severity:o}:{isValid:!0,severity:"valid"};default:return console.warn("Unknown pattern provided"),{isValid:!0,severity:"valid"}}}validateRegex(){const{regex:t,regexInvalidMessage:r,regexInvalidSeverity:o="error"}=this.validations;if(t!==void 0)return{isValid:fc(this.value,t),invalidMessage:r||"Input is not in the correct format",severity:o}}async validateCustom(){if(!this.onValidate)return;const t=await this.onValidate(this.value);return typeof t=="boolean"?[{isValid:t,invalidMessage:"Invalid input",severity:"error"}]:Be.isArray(t)?t:[t]}}async function Gl(e,t,r){return await new ql(e,t,r).validate()}function gc(e,t,r,o,a,l=0){const i=s.useDeferredValue(r),n=s.useMemo(()=>l!==0?Ps(Gl,l,{trailing:!0,leading:!0}):Gl,[l]);s.useEffect(function(){const b=new ql(e,t,i);let h=!1;const p=b.preValidate();return h||(o(wl(a,p)),p.partial&&(async()=>{const C=await n(e,t,i);h||o(wl(a,C))})()),()=>{h=!0}},[a,i,o,t,n,e])}function Tc(e,t,r,o=Pl){const a=cr($=>$.interactionFlags[e])||vr,l=a.forceShowValidationResult,i=a.focused,n=a.isValidLostFocus,c=a.isValidOnFocus,b=a.invalidToValid,h=!r||r.validatedValue!==t,p=a.isDirty,C=(r==null?void 0:r.isValid)===!0;let v="none";for(const $ of(r==null?void 0:r.validations)||[])if(!$.isValid&&(v!=="error"&&$.severity==="warning"&&(v="warning"),$.severity==="error")){v="error";break}let g=!1;switch(o){case"errorLate":g=p&&(i?!b&&!c:!n);break;case"onChanged":g=p;break;case"onLostFocus":g=p&&(!i&&!C||!n&&!C)}g=g||l;const[T,y]=s.useState(g);return T!==g&&!h&&y(g),h&&(g=T),{isHelperTextShown:g,validationStatus:g?v:"none"}}function Cc(e){const t={error:[],warning:[],valid:[],none:[]};return Object.entries(e).forEach(([r,o])=>{o.validations.forEach(a=>{a.isValid||(t[a.severity]=t[a.severity]||[],t[a.severity].push(a))})}),t}function jl(e,t){return e===1?t:t+"s"}const Xl=(e,t)=>Be.get(e,t);Nr((e,t)=>{var o,a,l,i;const{uid:r}=t.payload;switch(r!==void 0&&!e.interactionFlags[r]&&(e.interactionFlags[r]={isDirty:!1,invalidToValid:!1,isValidOnFocus:!1,isValidLostFocus:!1,focused:!1,forceShowValidationResult:!1}),t.type){case wt.FIELD_INITIALIZED:{(!e.interactionFlags[r].isDirty||t.payload.force)&&Be.set(e.subject,r,t.payload.value);break}case wt.FIELD_REMOVED:{delete e.validationResults[r],delete e.interactionFlags[r];break}case wt.FIELD_VALUE_CHANGED:{Be.set(e.subject,r,t.payload.value),e.interactionFlags[r].isDirty=!0,e.interactionFlags[r].forceShowValidationResult=!1;break}case wt.FIELD_VALIDATED:{if(t.payload.validationResult.validations.length===0){delete e.validationResults[r];break}const n=(o=e.validationResults[r])==null?void 0:o.isValid;if(t.payload.validationResult.partial){const c=[...t.payload.validationResult.validations,...(((a=e.validationResults[r])==null?void 0:a.validations.filter(b=>b.async))||[]).map(b=>({...b,stale:!0}))];e.validationResults[r]={...t.payload.validationResult,isValid:c.find(b=>!b.isValid)===void 0,validations:c}}else e.validationResults[r]=t.payload.validationResult;e.interactionFlags[r].invalidToValid=!n&&e.validationResults[r].isValid;break}case wt.FIELD_FOCUSED:{e.interactionFlags[r].isValidOnFocus=!!((l=e.validationResults[r])!=null&&l.isValid),e.interactionFlags[r].focused=!0;break}case wt.FIELD_LOST_FOCUS:{e.interactionFlags[r].isValidLostFocus=!!((i=e.validationResults[r])!=null&&i.isValid),e.interactionFlags[r].focused=!1;break}case wt.TRIED_TO_SUBMIT:{Object.keys(e.interactionFlags).forEach(n=>{e.interactionFlags[n].forceShowValidationResult=!0});break}case wt.SUBMITTING:{e.submitInProgress=!0;break}case wt.SUBMITTED:{e.submitInProgress=!1,e.generalValidationResults=[],e.interactionFlags={},Object.keys(e.validationResults).forEach(n=>{var c;e.validationResults[n].validations=(c=e.validationResults[n].validations)==null?void 0:c.filter(b=>!b.fromBackend),e.validationResults[n].isValid=e.validationResults[n].validations.find(b=>!b.isValid)===void 0});break}case wt.BACKEND_VALIDATION_ARRIVED:{e.submitInProgress=!1,e.generalValidationResults=t.payload.generalValidationResults,Object.keys(e.validationResults).forEach(n=>{var c;e.validationResults[n].validations=(c=e.validationResults[n].validations)==null?void 0:c.filter(b=>!b.fromBackend)}),Object.entries(t.payload.fieldValidationResults).forEach(([n,c])=>{var b;e.validationResults[n]||(e.validationResults[n]={isValid:!1,validations:[],partial:!1,validatedValue:e.subject[n]}),e.validationResults[n].validations=[...((b=e.validationResults[n])==null?void 0:b.validations)||[],...c||[]],e.validationResults[n].isValid=e.validationResults[n].validations.find(h=>!h.isValid)===void 0});break}case wt.RESET:{const{originalSubject:n}=t.payload;return{...yc,subject:n,resetVersion:(e.resetVersion??0)+1}}}});const yc={subject:{},validationResults:{},generalValidationResults:[],interactionFlags:{},submitInProgress:!1,resetVersion:0},vo={cancelLabel:"Cancel",saveLabel:"Save",saveInProgressLabel:"Saving...",itemLabelPosition:"top",itemLabelBreak:!0,keepModalOpenOnSubmit:!1};function Hc(e){return Object.entries(e||{}).reduce((t,[r,o])=>(r.endsWith(kl)||(t[r]=o),t),{})}const Sc=s.forwardRef(function({formState:e,dispatch:t,initialValue:r=vr,children:o,style:a,enabled:l=!0,cancelLabel:i="Cancel",saveLabel:n="Save",saveInProgressLabel:c="Saving...",swapCancelAndSave:b,onSubmit:h,onCancel:p,onReset:C,buttonRow:v,id:g,registerComponentApi:T,itemLabelBreak:y=!0,itemLabelWidth:$,itemLabelPosition:w="top",keepModalOpenOnSubmit:_=!1},A){const P=s.useRef(null);s.useImperativeHandle(A,()=>P.current);const[Z,E]=s.useState(!1),j=Zu(),U=l&&!e.submitInProgress,M=s.useMemo(()=>({itemLabelBreak:y,itemLabelWidth:$,itemLabelPosition:w,subject:e.subject,originalSubject:r,validationResults:e.validationResults,interactionFlags:e.interactionFlags,dispatch:t,enabled:U}),[t,e.interactionFlags,e.subject,e.validationResults,r,U,y,w,$]),f=Ce(()=>{p==null||p(),j()}),x=Ce(async W=>{var B;if(W==null||W.preventDefault(),!U)return;E(!1),t(qu());const{error:D,warning:X}=Cc(Object.values(e.validationResults));if(D.length)return;if(X.length&&!Z){E(!0);return}const q=document.activeElement;t(Gu());try{const I=Hc(e.subject);await(h==null?void 0:h(I,{passAsDefaultBody:!0})),t(ju()),_||j(),r===vr&&_i.flushSync(()=>{H()}),q&&typeof q.focus=="function"&&q.focus()}catch(I){const z=[],L={};I instanceof Error&&"errorCategory"in I&&I.errorCategory==="GenericBackendError"&&((B=I.details)!=null&&B.issues)&&Array.isArray(I.details.issues)?I.details.issues.forEach(N=>{const R={isValid:!1,invalidMessage:N.message,severity:N.severity||"error",fromBackend:!0};N.field!==void 0?(L[N.field]=L[N.field]||[],L[N.field].push(R)):z.push(R)}):z.push({isValid:!1,invalidMessage:I.message||"Couldn't save the form.",severity:"error",fromBackend:!0}),t(Yu({generalValidationResults:z,fieldValidationResults:L}))}}),H=Ce(()=>{t(Xu(r)),C==null||C()}),S=Ce(W=>{typeof W!="object"||W===null||W===void 0||Object.entries(W).forEach(([D,X])=>{t({type:wt.FIELD_VALUE_CHANGED,payload:{uid:D,value:X}})})}),O=i===""?null:d.jsx(ot,{type:"button",themeColor:"secondary",variant:"ghost",onClick:f,children:i},"cancel"),F=s.useMemo(()=>d.jsx(ot,{type:"submit",disabled:!U,children:e.submitInProgress?c:n},"submit"),[U,e.submitInProgress,c,n]);return s.useEffect(()=>{T==null||T({reset:H,update:S})},[H,S,T]),d.jsxs(d.Fragment,{children:[d.jsxs("form",{style:a,className:Ka.wrapper,onSubmit:x,onReset:H,id:g,ref:P,children:[d.jsx(zl,{generalValidationResults:e.generalValidationResults}),d.jsx(Ml.Provider,{value:M,children:o}),v||d.jsxs("div",{className:Ka.buttonRow,children:[b&&[F,O],!b&&[O,F]]})]},e.resetVersion),Z&&d.jsx(Ol,{onClose:()=>E(!1),isInitiallyOpen:!0,title:"Are you sure want to move forward?",children:d.jsxs(Ea,{orientation:"vertical",style:{gap:"0.5rem"},children:[d.jsx(no,{children:"The following warnings were found during validation. Please make sure you are willing to move forward despite these issues."}),d.jsx(zl,{generalValidationResults:e.generalValidationResults,fieldValidationResults:e.validationResults}),d.jsxs(Ea,{orientation:"horizontal",horizontalAlignment:"end",style:{gap:"1em"},children:[d.jsx(ot,{variant:"ghost",themeColor:"secondary",onClick:()=>E(!1),children:"No"}),d.jsx(ot,{onClick:()=>x(),autoFocus:!0,children:"Yes, proceed"})]})]})})]})});Sc.displayName="Form";const kc={status:"experimental",description:"A `Form` is a fundamental component that displays user interfaces that allow users to input (or change) data and submit it to the app (a server) for further processing.",props:{buttonRowTemplate:$e("This property allows defining a custom component to display the buttons at the bottom of the form."),itemLabelPosition:{description:"This property sets the position of the item labels within the form.Individual `FormItem` instances can override this property.",availableValues:Di,type:"string",defaultValue:vo.itemLabelPosition},itemLabelWidth:{description:"This property sets the width of the item labels within the form. Individual `FormItem` instances can override this property.",type:"string"},itemLabelBreak:{description:"This boolean value indicates if form item labels can be split into multiple lines if it would overflow the available label width. Individual `FormItem` instances can override this property.",type:"boolean",defaultValue:vo.itemLabelBreak},keepModalOpenOnSubmit:{description:"This property prevents the modal from closing when the form is submitted.",type:"boolean",defaultValue:vo.keepModalOpenOnSubmit},data:{description:"This property sets the initial value of the form's data structure. The form infrastructure uses this value to set the initial state of form items within the form."},cancelLabel:{description:"This property defines the label of the Cancel button.",type:"string",defaultValue:vo.cancelLabel},saveLabel:{description:"This property defines the label of the Save button.",type:"string",defaultValue:vo.saveLabel},saveInProgressLabel:{description:"This property defines the label of the Save button to display during the form data submit (save) operation.",type:"string",defaultValue:vo.saveInProgressLabel},swapCancelAndSave:{description:"By default, the Cancel button is to the left of the Save button. Set this property to `true` to swap them or `false` to keep their original location.",type:"boolean"},submitUrl:m("URL to submit the form data."),submitMethod:{description:"This property sets the HTTP method to use when submitting the form data. If not defined, `put` is used when the form has initial data; otherwise, `post`."},enabled:m("Whether the form is enabled or not. The default value is `true`."),_data_url:Xe("when we have an api bound data prop, we inject the url here")},events:{submit:m("The form infrastructure fires this event when the form is submitted. The event argument is the current `data` value to save."),cancel:m("The form infrastructure fires this event when the form is canceled."),reset:m("The form infrastructure fires this event when the form is reset.")},contextVars:{$data:m("This property represents the value of the form data. You can access the fields of the form using the IDs in the `bindTo` property of nested `FormItem` instances. `$data` also provides an `update` method as a shortcut to the Form's exposed `update` method.")},apis:{reset:m("Call this event to reset the form to its initial state."),update:m("You can pass a data object to update the form data. The properties in the passed data object are updated to their values accordingly. Other form properties remain intact.")},themeVars:Y(Ka.themeVars),defaultThemeVars:{"gap-Form":"$space-4","gap-buttonRow-Form":"$space-4","backgroundColor-ValidationDisplay-error":"$color-danger-100","backgroundColor-ValidationDisplay-warning":"$color-warn-100","backgroundColor-ValidationDisplay-info":"$color-primary-100","backgroundColor-ValidationDisplay-valid":"$color-success-100","color-accent-ValidationDisplay-error":"$color-error","color-accent-ValidationDisplay-warning":"$color-warning","color-accent-ValidationDisplay-info":"$color-info","color-accent-ValidationDisplay-valid":"$color-valid","textColor-ValidationDisplay-error":"$color-error","textColor-ValidationDisplay-warning":"$color-warning","textColor-ValidationDisplay-info":"$color-info","textColor-ValidationDisplay-valid":"$color-valid"}},li=1,Mo=2,wc=3,Ic=5,Bc=6,Yl=7,$c=8,Oc=9,Lc=10,_c=11,Vc=12,Ac=13,Wc=14,Do=15,ma=16,Nc=17,zc=18,Ec=19,ni=20,Pc=100,pt=101,Gr=102,Mc=103,Dc=104,Rc=105,Fc=106,je=107,Uc=108,It=109,jr=110,Xr=111,Yr=112,qc=113,Ro=114,si=115,Gc=116,jc=117,Xc=118,Zl=200,di=201,mr=202,Br=203,Yc=204;class Ql{constructor(t){this.source=t,this._pos=0,this._line=1,this._column=0}get position(){return this._pos}get line(){return this._line}get column(){return this._column}peek(){return this.ahead(0)}ahead(t=1){return this._pos+t>this.source.length-1?null:this.source[this._pos+t]}get(){if(this._pos>=this.source.length)return null;const t=this.source[this._pos++];return t===`
2
+ `?(this._line++,this._column=0):this._column++,t}getTail(t){var r;return((r=this.source)==null?void 0:r.substring(t))??""}}var u=(e=>(e[e.Eof=-1]="Eof",e[e.Ws=-2]="Ws",e[e.BlockComment=-3]="BlockComment",e[e.EolComment=-4]="EolComment",e[e.Unknown=0]="Unknown",e[e.LParent=1]="LParent",e[e.RParent=2]="RParent",e[e.Identifier=3]="Identifier",e[e.Exponent=4]="Exponent",e[e.Divide=5]="Divide",e[e.Multiply=6]="Multiply",e[e.Remainder=7]="Remainder",e[e.Plus=8]="Plus",e[e.Minus=9]="Minus",e[e.BitwiseXor=10]="BitwiseXor",e[e.BitwiseOr=11]="BitwiseOr",e[e.LogicalOr=12]="LogicalOr",e[e.BitwiseAnd=13]="BitwiseAnd",e[e.LogicalAnd=14]="LogicalAnd",e[e.IncOp=15]="IncOp",e[e.DecOp=16]="DecOp",e[e.Assignment=17]="Assignment",e[e.AddAssignment=18]="AddAssignment",e[e.SubtractAssignment=19]="SubtractAssignment",e[e.ExponentAssignment=20]="ExponentAssignment",e[e.MultiplyAssignment=21]="MultiplyAssignment",e[e.DivideAssignment=22]="DivideAssignment",e[e.RemainderAssignment=23]="RemainderAssignment",e[e.ShiftLeftAssignment=24]="ShiftLeftAssignment",e[e.ShiftRightAssignment=25]="ShiftRightAssignment",e[e.SignedShiftRightAssignment=26]="SignedShiftRightAssignment",e[e.BitwiseAndAssignment=27]="BitwiseAndAssignment",e[e.BitwiseXorAssignment=28]="BitwiseXorAssignment",e[e.BitwiseOrAssignment=29]="BitwiseOrAssignment",e[e.LogicalAndAssignment=30]="LogicalAndAssignment",e[e.LogicalOrAssignment=31]="LogicalOrAssignment",e[e.NullCoalesceAssignment=32]="NullCoalesceAssignment",e[e.Semicolon=33]="Semicolon",e[e.Comma=34]="Comma",e[e.Colon=35]="Colon",e[e.LSquare=36]="LSquare",e[e.RSquare=37]="RSquare",e[e.QuestionMark=38]="QuestionMark",e[e.NullCoalesce=39]="NullCoalesce",e[e.OptionalChaining=40]="OptionalChaining",e[e.BinaryNot=41]="BinaryNot",e[e.LBrace=42]="LBrace",e[e.RBrace=43]="RBrace",e[e.Equal=44]="Equal",e[e.StrictEqual=45]="StrictEqual",e[e.LogicalNot=46]="LogicalNot",e[e.NotEqual=47]="NotEqual",e[e.StrictNotEqual=48]="StrictNotEqual",e[e.LessThan=49]="LessThan",e[e.LessThanOrEqual=50]="LessThanOrEqual",e[e.ShiftLeft=51]="ShiftLeft",e[e.GreaterThan=52]="GreaterThan",e[e.GreaterThanOrEqual=53]="GreaterThanOrEqual",e[e.ShiftRight=54]="ShiftRight",e[e.SignedShiftRight=55]="SignedShiftRight",e[e.Dot=56]="Dot",e[e.Spread=57]="Spread",e[e.Global=58]="Global",e[e.Backtick=59]="Backtick",e[e.DollarLBrace=60]="DollarLBrace",e[e.Arrow=61]="Arrow",e[e.DecimalLiteral=62]="DecimalLiteral",e[e.HexadecimalLiteral=63]="HexadecimalLiteral",e[e.BinaryLiteral=64]="BinaryLiteral",e[e.RealLiteral=65]="RealLiteral",e[e.StringLiteral=66]="StringLiteral",e[e.Infinity=67]="Infinity",e[e.NaN=68]="NaN",e[e.True=69]="True",e[e.False=70]="False",e[e.Typeof=71]="Typeof",e[e.Null=72]="Null",e[e.Undefined=73]="Undefined",e[e.In=74]="In",e[e.Let=75]="Let",e[e.Const=76]="Const",e[e.Var=77]="Var",e[e.If=78]="If",e[e.Else=79]="Else",e[e.Return=80]="Return",e[e.Break=81]="Break",e[e.Continue=82]="Continue",e[e.Do=83]="Do",e[e.While=84]="While",e[e.For=85]="For",e[e.Of=86]="Of",e[e.Try=87]="Try",e[e.Catch=88]="Catch",e[e.Finally=89]="Finally",e[e.Throw=90]="Throw",e[e.Switch=91]="Switch",e[e.Case=92]="Case",e[e.Default=93]="Default",e[e.Delete=94]="Delete",e[e.Function=95]="Function",e[e.As=96]="As",e[e.From=97]="From",e))(u||{});class Jl{constructor(t){this.input=t,this._ahead=[],this._prefetched=null,this._prefetchedPos=null,this._prefetchedColumn=null,this._lastFetchPosition=0,this._phaseExternallySet=null}peek(t=!1){return this.ahead(0,t)}ahead(t=1,r=!1){if(t>16)throw new Error("Cannot look ahead more than 16 tokens");for(;this._ahead.length<=t;){const o=this.fetch();if(Kl(o))return o;(r||!r&&!en(o))&&this._ahead.push(o)}return this._ahead[t]}get(t=!1){if(this._ahead.length>0){const r=this._ahead.shift();if(!r)throw new Error("Token expected");return r}for(;;){const r=this.fetch();if(Kl(r)||t||!t&&!en(r))return r}}getRegEx(){return this.fetchRegEx()}getTail(){return this._ahead.length>0?this.input.getTail(this._ahead[0].startPosition):this.input.getTail(this._lastFetchPosition)}setStartingPhaseToTemplateLiteral(){this._phaseExternallySet=34}fetchNextChar(){return this._prefetched||(this._prefetchedPos=this.input.position,this._prefetchedColumn=this.input.column,this._prefetched=this.input.get()),this._prefetched}fetch(){const t=this,r=this.input,o=this._prefetchedPos||r.position,a=r.line,l=this._prefetchedColumn||r.column;this._lastFetchPosition=this.input.position;let i=null,n="",c=u.Eof,b=r.position,h=r.column,p=null,C=!1,v=this.getStartingPhaseThenReset();for(;;){if(p=this.fetchNextChar(),p===null)return T();c===u.Eof&&(c=u.Unknown);e:switch(v){case 0:switch(p){case" ":case" ":case`
3
+ `:case"\r":v=1,c=u.Ws;break;case"/":v=5,c=u.Divide;break;case"$":v=6,c=u.Identifier;break;case"*":v=8,c=u.Multiply;break;case"%":v=54,c=u.Remainder;break;case"+":v=51,c=u.Plus;break;case"-":v=52,c=u.Minus;break;case"^":v=58,c=u.BitwiseXor;break;case"|":v=7,c=u.BitwiseOr;break;case"&":v=9,c=u.BitwiseAnd;break;case"?":v=22,c=u.QuestionMark;break;case";":return y(u.Semicolon);case",":return y(u.Comma);case"(":return y(u.LParent);case")":return y(u.RParent);case":":v=20,c=u.Colon;break;case"`":return y(u.Backtick);case"[":return y(u.LSquare);case"]":return y(u.RSquare);case"~":return y(u.BinaryNot);case"{":return y(u.LBrace);case"}":return y(u.RBrace);case"=":v=10,c=u.Assignment;break;case"!":v=13,c=u.LogicalNot;break;case"<":v=14,c=u.LessThan;break;case">":v=15,c=u.GreaterThan;break;case"0":v=21,c=u.DecimalLiteral;break;case".":v=18,c=u.Dot;break;case'"':case"'":i=p,v=35;break;default:tn(p)?(C=!0,v=17,c=u.Identifier):ar(p)?(v=27,c=u.DecimalLiteral):y(u.Unknown);break}break;case 1:if(p!==" "&&p!==" "&&p!=="\r"&&p!==`
4
+ `)return T();break;case 3:p==="*"&&(v=4);break;case 4:if(p==="/")return y(u.BlockComment);break;case 2:if(p===`
5
+ `)return y();break;case 17:if(!rn(p))return T();break;case 20:return p===":"?y(u.Global):T();case 5:if(p==="*")v=3;else if(p==="/")v=2,c=u.EolComment;else return p==="="?y(u.DivideAssignment):T();break;case 51:return p==="+"?y(u.IncOp):p==="="?y(u.AddAssignment):T();case 52:return p==="-"?y(u.DecOp):p==="="?y(u.SubtractAssignment):T();case 54:return p==="="?y(u.RemainderAssignment):T();case 58:return p==="="?y(u.BitwiseXorAssignment):T();case 7:if(p==="=")return y(u.BitwiseOrAssignment);if(p==="|"){v=59,c=u.LogicalOr;break}return T();case 59:return p==="="?y(u.LogicalOrAssignment):T();case 9:if(p==="=")return y(u.BitwiseAndAssignment);if(p==="&"){v=57,c=u.LogicalAnd;break}return T();case 57:return p==="="?y(u.LogicalAndAssignment):T();case 8:if(p==="*"){v=50,c=u.Exponent;break}else if(p==="=")return y(u.MultiplyAssignment);return T();case 50:return p==="="?y(u.ExponentAssignment):T();case 22:if(p==="?"){v=60,c=u.NullCoalesce;break}return p==="."?y(u.OptionalChaining):T();case 60:return p==="="?y(u.NullCoalesceAssignment):T();case 10:if(p===">")return y(u.Arrow);if(p==="="){v=11,c=u.Equal;break}return T();case 11:return p==="="?y(u.StrictEqual):T();case 13:if(p==="="){v=12,c=u.NotEqual;break}return T();case 12:return p==="="?y(u.StrictNotEqual):T();case 14:if(p==="=")return y(u.LessThanOrEqual);if(p==="<"){v=55,c=u.ShiftLeft;break}return T();case 55:return p==="="?y(u.ShiftLeftAssignment):T();case 15:if(p==="=")return y(u.GreaterThanOrEqual);if(p===">"){v=16,c=u.SignedShiftRight;break}return T();case 16:if(p===">"){v=56,c=u.ShiftRight;break}return p==="="?y(u.SignedShiftRightAssignment):T();case 56:return p==="="?y(u.ShiftRightAssignment):T();case 21:if(p==="x")v=23,c=u.Unknown;else if(p==="b")v=25,c=u.Unknown;else if(ar(p)||p==="_")v=27;else if(p===".")v=28,c=u.Unknown;else if(p==="e"||p==="E")v=30,c=u.Unknown;else return T();break;case 18:if(p==="."){v=19,c=u.Unknown;break}if(!ar(p))return T();v=29,c=u.RealLiteral;break;case 19:return p==="."?y(u.Spread):T();case 23:if(p==="_")break;if(!ht(p))return T();v=24,c=u.HexadecimalLiteral;break;case 24:if(!ht(p)&&p!=="_")return T();break;case 25:if(p==="_")break;if(!on(p))return T();v=26,c=u.BinaryLiteral;break;case 26:if(!on(p)&&p!=="_")return T();c=u.BinaryLiteral;break;case 27:if(ar(p)||p==="_")break;if(p==="."&&(this.input.peek()===null||ar(this.input.peek())))v=28,c=u.Unknown;else if(p==="e"||p==="E")v=30,c=u.Unknown;else return T();break;case 28:if(ar(p))v=29,c=u.RealLiteral;else if(p==="e"||p==="E")v=30;else return T();break;case 29:if(p==="e"||p==="E")v=30,c=u.Unknown;else if(!ar(p)&&p!=="_")return T();break;case 30:if(p==="+"||p==="-")v=31;else if(ar(p))v=32,c=u.RealLiteral;else return T();break;case 31:if(ar(p))v=32,c=u.RealLiteral;else return T();break;case 32:if(!ar(p))return T();break;case 6:if(p==="{")return y(u.DollarLBrace);v=17,C=!0,c=u.Identifier,rn(p)||T();break;case 33:{v=34;const _=this.input.ahead(0),A=this.input.ahead(1);if(_==="`"||_==="$"&&A==="{")return y(u.StringLiteral);break}case 34:switch(p){case"\\":v=33,c=u.Unknown;break e;case"`":return y(u.Backtick);case"$":if(this.input.ahead(0)==="{")return g(),this.fetchNextChar(),y(u.DollarLBrace)}const $=this.input.ahead(0),w=this.input.ahead(1);if($==="`"||$==="$"&&w==="{")return y(u.StringLiteral);break;case 35:if(p===i)return y(u.StringLiteral);if(Zc(p))return y(u.Unknown);p==="\\"&&(v=36,c=u.Unknown);break;case 36:switch(p){case"b":case"f":case"n":case"r":case"t":case"v":case"S":case"0":case"'":case'"':case"`":case"\\":v=35;break;case"x":v=37;break;case"u":v=39;break;default:v=35;break}break;case 37:if(ht(p))v=38;else return y(u.Unknown);break;case 38:if(ht(p))v=35;else return y(u.Unknown);break;case 39:if(p==="{"){v=43;break}if(ht(p))v=40;else return y(u.Unknown);break;case 40:if(ht(p))v=41;else return y(u.Unknown);break;case 41:if(ht(p))v=42;else return y(u.Unknown);break;case 42:if(ht(p))v=35;else return y(u.Unknown);break;case 43:if(ht(p))v=44;else return y(u.Unknown);break;case 44:if(p==="}")v=35;else if(ht(p))v=45;else return y(u.Unknown);break;case 45:if(p==="}")v=35;else if(ht(p))v=46;else return y(u.Unknown);break;case 46:if(p==="}")v=35;else if(ht(p))v=47;else return y(u.Unknown);break;case 47:if(p==="}")v=35;else if(ht(p))v=48;else return y(u.Unknown);break;case 48:if(p==="}")v=35;else if(ht(p))v=49;else return y(u.Unknown);break;case 49:if(p==="}")v=35;else return y(u.Unknown);break;default:return T()}g()}function g(){n+=p,t._prefetched=null,t._prefetchedPos=null,t._prefetchedColumn=null,b=r.position,h=r.position}function T(){return C&&(c=ye.get(n)??(tn(n[0])&&n[n.length-1]!=="'"?u.Identifier:u.Unknown)),{text:n,type:c,startPosition:o,endPosition:b,startLine:a,endLine:a,startColumn:l,endColumn:h}}function y($){return g(),$!==void 0&&(c=$),T()}}getStartingPhaseThenReset(){if(this._phaseExternallySet!==null){const t=this._phaseExternallySet;return this._phaseExternallySet=null,t}return 0}fetchRegEx(){const t=this._ahead.length>0?this._ahead[0].startPosition:this._lastFetchPosition,r=this.input.getTail(t);try{const o=Wi.parseRegExpLiteral(r),a=o.raw;for(let l=1;l<a.length;l++)this.fetchNextChar(),this._prefetched=null,this._prefetchedPos=null,this._prefetchedColumn=null;return this._ahead.length=0,{success:!0,pattern:o.pattern.raw,flags:o.flags.raw,length:a.length}}catch(o){let a=o.index;if(o.toString().includes("Invalid flag"))for(;a<r.length&&"dgimsuy".includes(r[a]);)a++;if(a===void 0)return{success:!1,pattern:r[0]};const l=r.substring(0,a);try{const i=Wi.parseRegExpLiteral(l),n=i.raw;for(let c=1;c<n.length;c++)this.fetchNextChar(),this._prefetched=null,this._prefetchedPos=null,this._prefetchedColumn=null;return this._ahead.length=0,{success:!0,pattern:i.pattern.raw,flags:i.flags.raw,length:n.length}}catch{return{success:!1,pattern:l}}}}}const ye=new Map;ye.set("typeof",u.Typeof),ye.set("Infinity",u.Infinity),ye.set("NaN",u.NaN),ye.set("true",u.True),ye.set("false",u.False),ye.set("undefined",u.Undefined),ye.set("null",u.Null),ye.set("in",u.In),ye.set("let",u.Let),ye.set("const",u.Const),ye.set("var",u.Var),ye.set("if",u.If),ye.set("else",u.Else),ye.set("return",u.Return),ye.set("break",u.Break),ye.set("continue",u.Continue),ye.set("do",u.Do),ye.set("while",u.While),ye.set("for",u.For),ye.set("of",u.Of),ye.set("try",u.Try),ye.set("catch",u.Catch),ye.set("finally",u.Finally),ye.set("throw",u.Throw),ye.set("switch",u.Switch),ye.set("case",u.Case),ye.set("default",u.Default),ye.set("delete",u.Delete),ye.set("function",u.Function),ye.set("as",u.As),ye.set("from",u.From);function Kl(e){return e.type===u.Eof}function en(e){return e.type<=u.Ws}function tn(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="_"||e==="$"}function rn(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="_"||e==="$"}function on(e){return e==="0"||e==="1"}function ar(e){return e>="0"&&e<="9"}function ht(e){return e>="0"&&e<="9"||e>="A"&&e<="F"||e>="a"&&e<="f"}function Zc(e){return e==="\r"||e===`
6
+ `||e==="…"||e==="\u2028"||e==="\u2029"}let Qc=class bs extends Error{constructor(t,r){super(t),this.code=r,Object.setPrototypeOf(this,bs.prototype)}};const pa={W001:"An expression expected",W002:"Unexpected token: {0}",W003:"An identifier expected",W004:"'}' expected",W005:"']' expected",W006:"')' expected",W007:"Invalid object property name type",W008:"':' expected",W009:"'=' expected",W010:"Invalid argument list",W011:"For loop variable must be initialized",W012:"'{' expected",W013:"'catch' or 'finally' expected",W014:"'(' or expected",W015:"'case' or 'default' expected",W016:"'default' case can be used only once within a switch statement",W017:"Invalid sequence expression",W018:"Invalid object literal",W019:"Identifier '{0}' is already imported",W020:"Function '{0}' is already defined in the module",W021:"'{0}' is already exported from the module",W022:"Cannot find module '{0}'",W023:"Module '{0}' does not export '{1}'",W024:"'function' expected",W025:"'from' expected",W026:"A string literal expected",W027:"Cannot declare var ('{0}') in an imported module",W028:"Invalid statement used in a module.",W029:"An imported module can contain only exported functions",W030:"Nested declarations cannot be exported",W031:"An identifier in a declaration cannot start with '$'"},Zr={[u.Eof]:{},[u.Ws]:{},[u.DollarLBrace]:{},[u.Backtick]:{expressionStart:!0},[u.BlockComment]:{},[u.EolComment]:{},[u.Unknown]:{},[u.LParent]:{expressionStart:!0},[u.RParent]:{},[u.Identifier]:{expressionStart:!0,keywordLike:!0,isPropLiteral:!0},[u.Exponent]:{},[u.Divide]:{},[u.Multiply]:{},[u.Remainder]:{},[u.Plus]:{expressionStart:!0,canBeUnary:!0},[u.Minus]:{expressionStart:!0,canBeUnary:!0},[u.BitwiseXor]:{},[u.BitwiseOr]:{},[u.LogicalOr]:{},[u.BitwiseAnd]:{},[u.LogicalAnd]:{},[u.Assignment]:{isAssignment:!0},[u.AddAssignment]:{isAssignment:!0},[u.SubtractAssignment]:{isAssignment:!0},[u.ExponentAssignment]:{isAssignment:!0},[u.MultiplyAssignment]:{isAssignment:!0},[u.DivideAssignment]:{isAssignment:!0},[u.RemainderAssignment]:{isAssignment:!0},[u.ShiftLeftAssignment]:{isAssignment:!0},[u.ShiftRightAssignment]:{isAssignment:!0},[u.SignedShiftRightAssignment]:{isAssignment:!0},[u.BitwiseAndAssignment]:{isAssignment:!0},[u.BitwiseXorAssignment]:{isAssignment:!0},[u.BitwiseOrAssignment]:{isAssignment:!0},[u.LogicalAndAssignment]:{isAssignment:!0},[u.LogicalOrAssignment]:{isAssignment:!0},[u.NullCoalesceAssignment]:{isAssignment:!0},[u.Semicolon]:{},[u.Comma]:{},[u.Colon]:{},[u.LSquare]:{expressionStart:!0},[u.RSquare]:{},[u.QuestionMark]:{},[u.NullCoalesce]:{},[u.OptionalChaining]:{},[u.BinaryNot]:{expressionStart:!0,canBeUnary:!0},[u.LBrace]:{expressionStart:!0},[u.RBrace]:{},[u.Equal]:{},[u.StrictEqual]:{},[u.LogicalNot]:{expressionStart:!0,canBeUnary:!0},[u.NotEqual]:{},[u.StrictNotEqual]:{},[u.LessThan]:{},[u.LessThanOrEqual]:{},[u.ShiftLeft]:{},[u.GreaterThan]:{},[u.GreaterThanOrEqual]:{},[u.ShiftRight]:{},[u.SignedShiftRight]:{},[u.Dot]:{},[u.Spread]:{expressionStart:!0,isPropLiteral:!0},[u.Global]:{expressionStart:!0},[u.DecimalLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.HexadecimalLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.BinaryLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.RealLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.StringLiteral]:{expressionStart:!0,isPropLiteral:!0},[u.IncOp]:{expressionStart:!0},[u.DecOp]:{expressionStart:!0},[u.Infinity]:{expressionStart:!0,keywordLike:!0},[u.NaN]:{expressionStart:!0,keywordLike:!0},[u.True]:{expressionStart:!0,keywordLike:!0,isPropLiteral:!0},[u.False]:{expressionStart:!0,keywordLike:!0,isPropLiteral:!0},[u.Typeof]:{expressionStart:!0,canBeUnary:!0,keywordLike:!0},[u.Null]:{expressionStart:!0,keywordLike:!0},[u.Undefined]:{expressionStart:!0,keywordLike:!0},[u.In]:{keywordLike:!0},[u.Let]:{keywordLike:!0},[u.Const]:{keywordLike:!0},[u.Var]:{keywordLike:!0},[u.If]:{keywordLike:!0},[u.Else]:{keywordLike:!0},[u.Arrow]:{keywordLike:!0},[u.Return]:{keywordLike:!0},[u.Break]:{keywordLike:!0},[u.Continue]:{keywordLike:!0},[u.Do]:{keywordLike:!0},[u.While]:{keywordLike:!0},[u.For]:{keywordLike:!0},[u.Of]:{keywordLike:!0},[u.Throw]:{keywordLike:!0},[u.Try]:{keywordLike:!0},[u.Catch]:{keywordLike:!0},[u.Finally]:{keywordLike:!0},[u.Switch]:{keywordLike:!0},[u.Case]:{keywordLike:!0},[u.Default]:{keywordLike:!0},[u.Delete]:{expressionStart:!0,canBeUnary:!0,keywordLike:!0},[u.Function]:{keywordLike:!0,expressionStart:!0},[u.As]:{keywordLike:!0},[u.From]:{keywordLike:!0}};let Jc=0;function ha(){return++Jc}class ui{constructor(t){this._parseErrors=[],this._statementLevel=0,this._lexer=new Jl(new Ql(t??""))}setSource(t){this._lexer=new Jl(new Ql(t))}get errors(){return this._parseErrors}get current(){return this._lexer.peek()}get isEof(){return this._lexer.peek().type===u.Eof}getTail(){return this._lexer.getTail()}parseStatements(){this._statementLevel=0;const t=[];for(;!this.isEof;){const r=this.parseStatement();if(!r)return null;t.push(r),r.type!==Mo&&this.skipToken(u.Semicolon)}return t}parseStatement(t=!0){this._statementLevel++;try{const r=this._lexer.peek();switch(r.type){case u.Semicolon:return this.parseEmptyStatement();case u.Let:return this.parseLetStatement();case u.Const:return this.parseConstStatement();case u.Var:return this.parseVarStatement();case u.LBrace:return this.parseBlockStatement();case u.If:return this.parseIfStatement();case u.Do:return this.parseDoWhileStatement();case u.While:return this.parseWhileStatement();case u.Return:return this.parseReturnStatement();case u.Break:return this._lexer.get(),this.createStatementNode(Lc,{},r,r);case u.Continue:return this._lexer.get(),this.createStatementNode(_c,{},r,r);case u.For:return this.parseForStatement();case u.Throw:return this.parseThrowStatement();case u.Try:return this.parseTryStatement();case u.Switch:return this.parseSwitchStatement();case u.Function:return this.parseFunctionDeclaration();default:return this.isExpressionStart(r)?this.parseExpressionStatement(t):(this.reportError("W002",r,r.text),null)}}finally{this._statementLevel--}}parseEmptyStatement(){const t=this._lexer.get();return this.createStatementNode(Mo,{},t,t)}parseExpressionStatement(t=!0){const r=this._lexer.peek(),o=this.getExpression(t);return o?this.createStatementNode(wc,{expr:o},r,o.endToken):null}parseLetStatement(){const t=this._lexer.get();let r=t;const o=[];for(;;){const a=this._lexer.peek();let l={};if(a.type===u.LBrace){r=this._lexer.ahead(1);const c=this.parseObjectDestructure();if(c===null)return null;l={oDestr:c},r=c.length>0?c[c.length-1].endToken:r}else if(a.type===u.LSquare){r=this._lexer.ahead(1);const c=this.parseArrayDestructure();if(c===null)return null;l={aDestr:c},r=c.length>0?c[c.length-1].endToken:r}else if(a.type===u.Identifier){if(a.text.startsWith("$"))return this.reportError("W031"),null;r=this._lexer.get(),l={id:a.text}}else return this.reportError("W003"),null;const i=this._lexer.peek();let n=null;if(i.type===u.Assignment){if(this._lexer.get(),n=this.getExpression(!1),n===null)return null;l.expr=n,r=n.endToken}else if(l.aDestr||l.oDestr)return this.reportError("W009",i),null;if(o.push(this.createExpressionNode(Zl,l,a,r)),this._lexer.peek().type!==u.Comma)break;this._lexer.get()}return this.createStatementNode(Ic,{decls:o},t,r)}parseConstStatement(){const t=this._lexer.get();let r=t;const o=[];for(;;){const a=this._lexer.peek();let l={};if(a.type===u.LBrace){r=this._lexer.ahead(1);const n=this.parseObjectDestructure();if(n===null)return null;l={oDestr:n},r=n.length>0?n[n.length-1].endToken:r}else if(a.type===u.LSquare){r=this._lexer.ahead(1);const n=this.parseArrayDestructure();if(n===null)return null;l={aDestr:n},r=n.length>0?n[n.length-1].endToken:r}else if(a.type===u.Identifier){if(a.text.startsWith("$"))return this.reportError("W031"),null;r=this._lexer.get(),l={id:a.text}}else return this.reportError("W003"),null;this.expectToken(u.Assignment);const i=this.getExpression(!1);if(i===null)return null;if(l.expr=i,r=i.endToken,o.push(this.createExpressionNode(Zl,l,a,r)),this._lexer.peek().type!==u.Comma)break;this._lexer.get()}return this.createStatementNode(Bc,{decls:o},t,r)}parseVarStatement(){const t=this._lexer.get();let r=t;const o=[];for(;;){const a=this._lexer.peek();let l={};if(a.type===u.Identifier){if(a.text.startsWith("$"))return this.reportError("W031"),null;r=this._lexer.get(),l={id:{type:je,name:a.text,startToken:a,endToken:r}}}else return this.reportError("W003"),null;this.expectToken(u.Assignment);const i=this.getExpression(!1);if(i===null)return null;if(l.expr=i,r=i.endToken,o.push(this.createExpressionNode(Xc,l,a,r)),this._lexer.peek().type!==u.Comma)break;this._lexer.get()}return this.createStatementNode(Yl,{decls:o},t,r)}parseObjectDestructure(){const t=[],r=this._lexer.get();let o=r,a=this._lexer.peek();for(;a.type===u.Identifier;){const l=a.text;if(l.startsWith("$"))return this.reportError("W031"),null;let i,n,c;if(this._lexer.get(),a=this._lexer.peek(),a.type===u.Colon){if(this._lexer.get(),a=this._lexer.peek(),a.type===u.Identifier)i=a.text,o=a,this._lexer.get();else if(a.type===u.LSquare){if(n=this.parseArrayDestructure(),n===null)return null;o=n[n.length-1].endToken}else if(a.type===u.LBrace){if(c=this.parseObjectDestructure(),c===null)return null;o=c[c.length-1].endToken}}a=this._lexer.peek(),(a.type===u.Comma||a.type===u.RBrace)&&(t.push(this.createExpressionNode(Br,{id:l,alias:i,aDestr:n,oDestr:c},r,o)),a.type===u.Comma&&(this._lexer.get(),a=this._lexer.peek()))}return this.expectToken(u.RBrace,"W004"),t}parseArrayDestructure(){const t=[],r=this._lexer.get();let o=r;do{let a=this._lexer.peek(),l,i,n;if(a.type===u.Identifier){if(l=a.text,l.startsWith("$"))return this.reportError("W031"),null;o=a,a=this._lexer.get()}else if(a.type===u.LSquare){if(i=this.parseArrayDestructure(),i===null)return null;o=i[i.length-1].endToken}else if(a.type===u.LBrace){if(n=this.parseObjectDestructure(),n===null)return null;o=n[n.length-1].endToken}if(a=this._lexer.peek(),a.type===u.Comma)t.push(this.createExpressionNode(mr,{id:l,aDestr:i,oDestr:n},r,o)),this._lexer.get();else if(a.type===u.RSquare){(l||i||n)&&t.push(this.createExpressionNode(mr,{id:l,aDestr:i,oDestr:n},r,o));break}else return this.reportError("W002",a),null}while(!0);return this.expectToken(u.RSquare,"W005"),t}parseBlockStatement(){const t=this._lexer.get(),r=[];for(;this._lexer.peek().type!==u.RBrace;){const a=this.parseStatement();if(!a)return null;r.push(a),a.type!==Mo&&this.skipToken(u.Semicolon)}const o=this._lexer.get();return this.createStatementNode(li,{stmts:r},t,o)}parseIfStatement(){const t=this._lexer.get();let r=t;this.expectToken(u.LParent,"W014");const o=this.getExpression();if(!o)return null;this.expectToken(u.RParent,"W006");const a=this.parseStatement();if(!a)return null;r=a.endToken;let l=!0;a.type!==li&&(this._lexer.peek().type===u.Semicolon?this._lexer.get():l=!1);let i=null;if(l&&this._lexer.peek().type===u.Else){if(this._lexer.get(),i=this.parseStatement(),!i)return null;r=i.endToken}return this.createStatementNode($c,{cond:o,thenB:a,elseB:i},t,r)}parseWhileStatement(){const t=this._lexer.get();this.expectToken(u.LParent,"W014");const r=this.getExpression();if(!r)return null;this.expectToken(u.RParent,"W006");const o=this.parseStatement();return o?this.createStatementNode(Vc,{cond:r,body:o},t,o.endToken):null}parseDoWhileStatement(){const t=this._lexer.get(),r=this.parseStatement();if(!r)return null;r.type!==li&&r.type!==Mo&&this.expectToken(u.Semicolon),this.expectToken(u.While),this.expectToken(u.LParent,"W014");const o=this.getExpression();if(!o)return null;const a=this._lexer.peek();return this.expectToken(u.RParent,"W006"),this.createStatementNode(Ac,{cond:o,body:r},t,a)}parseReturnStatement(){const t=this._lexer.peek();let r=this._lexer.get(),o;if(Zr[this._lexer.peek().type].expressionStart){if(o=this.getExpression(),o===null)return null;r=o.endToken}return this.createStatementNode(Oc,{expr:o},t,r)}parseForStatement(){const t=this._lexer.peek();this._lexer.get(),this.expectToken(u.LParent,"W014");let r=this._lexer.peek();if(r.type===u.Identifier){if(this._lexer.ahead(1).type===u.In)return this.parseForInOfStatement(t,"none",r,Do);if(this._lexer.ahead(1).type===u.Of)return this.parseForInOfStatement(t,"none",r,ma)}else if(r.type===u.Let){const n=this._lexer.ahead(1);if(n.type===u.Identifier){const c=this._lexer.ahead(2);if(c.type===u.In)return this.parseForInOfStatement(t,"let",n,Do);if(c.type===u.Of)return this.parseForInOfStatement(t,"let",n,ma)}}else if(r.type===u.Const){const n=this._lexer.ahead(1);if(n.type===u.Identifier){const c=this._lexer.ahead(2);if(c.type===u.In)return this.parseForInOfStatement(t,"const",n,Do);if(c.type===u.Of)return this.parseForInOfStatement(t,"const",n,ma)}}let o;if(r=this._lexer.peek(),r.type===u.Semicolon)this._lexer.get();else if(r.type===u.Let){const n=this.parseLetStatement();if(n===null)return null;if(o=n,o.decls.some(c=>!c.expr))return this.reportError("W011"),null;this.expectToken(u.Semicolon)}else if(Zr[r.type].expressionStart){const n=this.parseExpressionStatement();if(n===null)return null;o=n,this.expectToken(u.Semicolon)}let a;if(r=this._lexer.peek(),r.type===u.Semicolon)this._lexer.get();else{if(a=this.getExpression(),a===null)return null;this.expectToken(u.Semicolon)}let l;if(r=this._lexer.peek(),r.type!==u.RParent&&(l=this.getExpression(),l===null))return null;this.expectToken(u.RParent,"W006");const i=this.parseStatement();return i?this.createStatementNode(Wc,{init:o,cond:a,upd:l,body:i},t,i.endToken):null}parseForInOfStatement(t,r,o,a){if(r!=="none"){if(o.text.startsWith("$"))return this.reportError("W031"),null;this._lexer.get()}this._lexer.get(),this._lexer.get();const l=this.getExpression(!0);this.expectToken(u.RParent,"W006");const i=this.parseStatement();return i?a===Do?this.createStatementNode(Do,{varB:r,id:{type:je,name:o.text,startToken:o,endToken:o},expr:l,body:i},t,i.endToken):this.createStatementNode(ma,{varB:r,id:{type:je,name:o.text,startToken:o,endToken:o},expr:l,body:i},t,i.endToken):null}parseThrowStatement(){const t=this._lexer.peek();this._lexer.get();let r;return r=this.getExpression(),r===null?null:this.createStatementNode(Nc,{expr:r},t,r.endToken)}parseTryStatement(){const t=this._lexer.peek();let r=this._lexer.get();const o=this,a=b();let l,i,n,c=this._lexer.peek();if(c.type===u.Catch){if(this._lexer.get(),c=this._lexer.peek(),c.type===u.LParent){if(this._lexer.get(),c=this._lexer.peek(),c.type!==u.Identifier)return this.reportError("W003",c),null;i={type:je,nodeId:ha(),name:c.text,startToken:c,endToken:c},this._lexer.get(),this.expectToken(u.RParent,"W006")}l=b(),r=l.endToken,this._lexer.peek().type===u.Finally&&(this._lexer.get(),n=b(),r=n.endToken)}else if(c.type===u.Finally)this._lexer.get(),n=b(),r=n.endToken;else return this.reportError("W013",c),null;return this.createStatementNode(zc,{tryB:a,catchB:l,catchV:i,finallyB:n},t,r);function b(){const h=o._lexer.peek();return h.type!==u.LBrace?(o.reportError("W012",h),null):o.parseBlockStatement()}}parseSwitchStatement(){const t=this._lexer.get();this.expectToken(u.LParent,"W014");const r=this.getExpression();if(!r)return null;this.expectToken(u.RParent,"W006"),this.expectToken(u.LBrace,"W012");const o=[];let a=!1;for(;;){let i=this._lexer.peek(),n;if(i.type===u.Case){if(this._lexer.get(),n=this.getExpression(),!n)return null}else if(i.type===u.Default){if(a)return this.reportError("W016"),null;a=!0,this._lexer.get()}else{if(i.type===u.RBrace)break;return this.reportError("W015"),null}this.expectToken(u.Colon,"W008");let c=[],b=!1;for(;!b;)switch(this._lexer.peek().type){case u.Case:case u.Default:case u.RBrace:b=!0;break;default:const p=this.parseStatement();if(p===null){b=!0;break}c.push(p),p.type!==Mo&&this.skipToken(u.Semicolon)}o.push(this.createNode(Yc,{caseE:n,stmts:c},t))}const l=this._lexer.peek();return this.expectToken(u.RBrace,"W004"),this.createStatementNode(Ec,{expr:r,cases:o},t,l)}parseFunctionDeclaration(t=!1){const r=this._lexer.get();let o;const a=this._lexer.peek();if(t){if(a.type!==u.LParent){if(a.type!==u.Identifier)return this.reportError("W003",a),null;o=a.text,this._lexer.get()}}else{if(a.type!==u.Identifier)return this.reportError("W003",a),null;o=a.text,this._lexer.get()}const l=this._lexer.peek();if(l.type!==u.LParent)return this.reportError("W014",l),null;const i=this.getExpression(!0);let n;const c=[];switch(i.type){case Ro:n=!0;break;case je:n=(i.parenthesized??0)<=1,c.push(i);break;case Gr:n=i.parenthesized===1;let h=!1;if(n)for(const p of i.exprs){if(h){n=!1;break}switch(p.type){case je:n=!p.parenthesized,c.push(p);break;case Xr:{if(n=!p.parenthesized,n){const C=this.convertToObjectDestructure(p);C&&c.push(C)}break}case jr:{if(n=!p.parenthesized,n){const C=this.convertToArrayDestructure(p);C&&c.push(C)}break}case Yr:{if(h=!0,p.expr.type!==je){n=!1;break}c.push(p);break}default:n=!1;break}}break;case Xr:if(n=i.parenthesized===1,n){const p=this.convertToObjectDestructure(i);p&&c.push(p)}break;case jr:if(n=i.parenthesized===1,n){const p=this.convertToArrayDestructure(i);p&&c.push(p)}break;case Yr:if(i.expr.type!==je){n=!1;break}n=!0,c.push(i);break;default:n=!1}if(!n)return this.reportError("W010",r),null;if(this._lexer.peek().type!==u.LBrace)return this.reportError("W012",this._lexer.peek()),null;const b=this.parseBlockStatement();return b?this.createStatementNode(ni,{id:{type:je,name:o},args:c,stmt:b},r,b.endToken):null}parseExpr(t=!0){return t?this.parseSequenceExpression():this.parseCondOrSpreadOrAsgnOrArrowExpr()}parseSequenceExpression(){const t=this._lexer.peek();let r=t,o=this.parseCondOrSpreadOrAsgnOrArrowExpr();if(!o)return null;r=o.endToken;const a=[];let l=!1;if(this._lexer.peek().type===u.Comma)for(a.push(o);this.skipToken(u.Comma);)if(this._lexer.peek().type===u.Comma)l=!0,r=this._lexer.peek(),a.push(this.createExpressionNode(Ro,{},r,r));else{const i=this.parseCondOrSpreadOrAsgnOrArrowExpr();if(!i)break;r=i.endToken,a.push(i)}return a.length&&(o=this.createExpressionNode(Gr,{exprs:a,loose:l},t,r),l&&(o=this.convertToArrayDestructure(o))),o}parseCondOrSpreadOrAsgnOrArrowExpr(){const t=this._lexer.peek();if(t.type===u.Spread){this._lexer.get();const a=this.parseNullCoalescingExpr();return a?this.createExpressionNode(Yr,{expr:a},t,a.endToken):null}if(t.type===u.Function){const a=this.parseFunctionDeclaration(!0);return a?this.createExpressionNode(si,{name:a.id.name,args:a.args,statement:a.stmt},t,a.endToken):null}const r=this.parseNullCoalescingExpr();if(!r)return null;const o=this._lexer.peek();if(o.type===u.Arrow)return this.parseArrowExpression(t,r);if(o.type===u.QuestionMark){this._lexer.get();const a=this.getExpression(!1);this.expectToken(u.Colon);const l=this.getExpression(!1);return this.createExpressionNode(Mc,{cond:r,thenE:a,elseE:l},t,l.endToken)}if(Zr[o.type].isAssignment){this._lexer.get();const a=this.getExpression();return a?this.createExpressionNode(qc,{leftValue:r,op:o.text,expr:a},t,a.endToken):null}return r}parseArrowExpression(t,r){let o;const a=[];switch(r.type){case Ro:o=!0;break;case je:o=(r.parenthesized??0)<=1,a.push(r);break;case Gr:o=r.parenthesized===1;let i=!1;if(o)for(const n of r.exprs){if(i){o=!1;break}switch(n.type){case je:o=!n.parenthesized,a.push(n);break;case Xr:{if(o=!n.parenthesized,o){const c=this.convertToObjectDestructure(n);c&&a.push(c)}break}case jr:{if(o=!n.parenthesized,o){const c=this.convertToArrayDestructure(n);c&&a.push(c)}break}case Yr:{if(i=!0,n.expr.type!==je){o=!1;break}a.push(n);break}default:o=!1;break}}break;case Xr:if(o=r.parenthesized===1,o){const n=this.convertToObjectDestructure(r);n&&a.push(n)}break;case jr:if(o=r.parenthesized===1,o){const n=this.convertToArrayDestructure(r);n&&a.push(n)}break;case Yr:o=r.expr.type===je,o&&a.push(r);break;default:o=!1}if(!o)return this.reportError("W010",t),null;this._lexer.get();const l=this.parseStatement(!1);return l?this.createExpressionNode(si,{args:a,statement:l},t,l.endToken):null}parseNullCoalescingExpr(){const t=this._lexer.peek();let r=this.parseLogicalOrExpr();if(!r)return null;for(;this.skipToken(u.NullCoalesce);){const o=this.parseLogicalOrExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;r=this.createExpressionNode(pt,{op:"??",left:r,right:o},t,a)}return r}parseLogicalOrExpr(){const t=this._lexer.peek();let r=this.parseLogicalAndExpr();if(!r)return null;for(;this.skipToken(u.LogicalOr);){const o=this.parseLogicalAndExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;r=this.createExpressionNode(pt,{op:"||",left:r,right:o},t,a)}return r}parseLogicalAndExpr(){const t=this._lexer.peek();let r=this.parseBitwiseOrExpr();if(!r)return null;for(;this.skipToken(u.LogicalAnd);){const o=this.parseBitwiseOrExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;r=this.createExpressionNode(pt,{op:"&&",left:r,right:o},t,a)}return r}parseBitwiseOrExpr(){const t=this._lexer.peek();let r=this.parseBitwiseXorExpr();if(!r)return null;for(;this.skipToken(u.BitwiseOr);){const o=this.parseBitwiseXorExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;r=this.createExpressionNode(pt,{op:"|",left:r,right:o},t,a)}return r}parseBitwiseXorExpr(){const t=this._lexer.peek();let r=this.parseBitwiseAndExpr();if(!r)return null;for(;this.skipToken(u.BitwiseXor);){const o=this.parseBitwiseAndExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;r=this.createExpressionNode(pt,{op:"^",left:r,right:o},t,a)}return r}parseBitwiseAndExpr(){const t=this._lexer.peek();let r=this.parseEquExpr();if(!r)return null;for(;this.skipToken(u.BitwiseAnd);){const o=this.parseEquExpr();if(!o)return this.reportError("W001"),null;let a=o.endToken;r=this.createExpressionNode(pt,{op:"&",left:r,right:o},t,a)}return r}parseEquExpr(){const t=this._lexer.peek();let r=this.parseRelOrInExpr();if(!r)return null;let o;for(;o=this.skipTokens(u.Equal,u.StrictEqual,u.NotEqual,u.StrictNotEqual);){const a=this.parseRelOrInExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;r=this.createExpressionNode(pt,{op:o.text,left:r,right:a},t,l)}return r}parseRelOrInExpr(){const t=this._lexer.peek();let r=this.parseShiftExpr();if(!r)return null;let o;for(;o=this.skipTokens(u.LessThan,u.LessThanOrEqual,u.GreaterThan,u.GreaterThanOrEqual,u.In);){const a=this.parseShiftExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;r=this.createExpressionNode(pt,{op:o.text,left:r,right:a},t,l)}return r}parseShiftExpr(){const t=this._lexer.peek();let r=this.parseAddExpr();if(!r)return null;let o;for(;o=this.skipTokens(u.ShiftLeft,u.ShiftRight,u.SignedShiftRight);){const a=this.parseAddExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;r=this.createExpressionNode(pt,{op:o.text,left:r,right:a},t,l)}return r}parseAddExpr(){const t=this._lexer.peek();let r=this.parseMultExpr();if(!r)return null;let o;for(;o=this.skipTokens(u.Plus,u.Minus);){const a=this.parseMultExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;r=this.createExpressionNode(pt,{op:o.text,left:r,right:a},t,l)}return r}parseMultExpr(){const t=this._lexer.peek();let r=this.parseExponentialExpr();if(!r)return null;let o;for(;o=this.skipTokens(u.Multiply,u.Divide,u.Remainder);){const a=this.parseExponentialExpr();if(!a)return this.reportError("W001"),null;let l=a.endToken;r=this.createExpressionNode(pt,{op:o.text,left:r,right:a},t,l)}return r}parseExponentialExpr(){const t=this._lexer.peek();let r=this.parseUnaryOrPrefixExpr();if(!r)return null;let o,a=0;for(;o=this.skipToken(u.Exponent);){let l=this.parseUnaryOrPrefixExpr();if(!l)return this.reportError("W001"),null;let i=l.endToken;if(a===0)r=this.createExpressionNode(pt,{op:o.text,left:r,right:l},t,i);else{const n=r;r=this.createExpressionNode(pt,{op:o.text,left:n.left,right:{type:pt,op:o.text,left:n.right,right:l}},t,i)}a++}return r}parseUnaryOrPrefixExpr(){const t=this._lexer.peek();if(Zr[t.type].canBeUnary){this._lexer.get();const r=this.parseUnaryOrPrefixExpr();return r?this.createExpressionNode(Pc,{op:t.text,expr:r},t,r.endToken):null}if(t.type===u.IncOp||t.type===u.DecOp){this._lexer.get();const r=this.parseMemberOrInvocationExpr();return r?this.createExpressionNode(Gc,{op:t.text,expr:r},t,r.endToken):null}return this.parseMemberOrInvocationExpr()}parseMemberOrInvocationExpr(){const t=this._lexer.peek();let r=this.parsePrimaryExpr();if(!r)return null;let o=!1;do{const l=this._lexer.peek();switch(l.type){case u.LParent:{this._lexer.get();let h=[];if(this._lexer.peek().type!==u.RParent){const C=this.parseExpr();if(!C)return this.reportError("W001"),null;h=C.type===Gr?C.exprs:[C]}const p=this._lexer.peek();this.expectToken(u.RParent,"W006"),r=this.createExpressionNode(Dc,{obj:r,arguments:h},t,p);break}case u.Dot:case u.OptionalChaining:this._lexer.get();const i=this._lexer.get();if(!Zr[i.type].keywordLike)return this.reportError("W003"),null;r=this.createExpressionNode(Rc,{obj:r,member:i.text,opt:l.type===u.OptionalChaining},t,i);break;case u.LSquare:this._lexer.get();const c=this.getExpression();if(!c)return null;const b=this._lexer.peek();this.expectToken(u.RSquare,"W005"),r=this.createExpressionNode(Fc,{obj:r,member:c},t,b);break;default:o=!0;break}}while(!o);const a=this._lexer.peek();return a.type===u.IncOp||a.type===u.DecOp?(this._lexer.get(),this.createExpressionNode(jc,{op:a.text,expr:r},t,a)):r}parsePrimaryExpr(){const t=this._lexer.peek();switch(t.type){case u.LParent:if(this._lexer.get(),this._lexer.peek().type===u.RParent){const a=this._lexer.get();return this.createExpressionNode(Ro,{},t,a)}let r=this.parseExpr();if(!r)return null;const o=this._lexer.peek();return this.expectToken(u.RParent,"W006"),{...r,parenthesized:(r.parenthesized??0)+1,startToken:t,endToken:o};case u.Identifier:{const a=this._lexer.get();return this.createExpressionNode(je,{name:a.text},a,a)}case u.Global:{this._lexer.get();const a=this._lexer.get();return a.type!==u.Identifier?(this.reportError("W003"),null):this.createExpressionNode(je,{name:a.text,isGlobal:!0},a,a)}case u.Backtick:return this.parseTemplateLiteral();case u.False:case u.True:return this._lexer.get(),this.createExpressionNode(It,{value:t.type===u.True},t,t);case u.BinaryLiteral:return this._lexer.get(),this.parseBinaryLiteral(t);case u.DecimalLiteral:return this._lexer.get(),this.parseDecimalLiteral(t);case u.HexadecimalLiteral:return this._lexer.get(),this.parseHexadecimalLiteral(t);case u.RealLiteral:return this._lexer.get(),this.parseRealLiteral(t);case u.StringLiteral:return this._lexer.get(),this.parseStringLiteral(t);case u.Infinity:return this._lexer.get(),this.createExpressionNode(It,{value:1/0},t,t);case u.NaN:return this._lexer.get(),this.createExpressionNode(It,{value:NaN},t,t);case u.Null:return this._lexer.get(),this.createExpressionNode(It,{value:null},t,t);case u.Undefined:return this._lexer.get(),this.createExpressionNode(It,{value:void 0},t,t);case u.LSquare:return this.parseArrayLiteral();case u.LBrace:return this.parseObjectLiteral();case u.Divide:return this.parseRegExpLiteral()}return null}parseTemplateLiteral(){const t=this._lexer.get();this._lexer.setStartingPhaseToTemplateLiteral();const r=[];e:for(;;){let a=this._lexer.peek();switch(a.type){case u.StringLiteral:this._lexer.get();const l=this.parseStringLiteral(a,!1);r.push(l);break;case u.DollarLBrace:this._lexer.get();const i=this.parseExpr();r.push(i),this.expectToken(u.RBrace,"W004"),this._lexer.setStartingPhaseToTemplateLiteral();break;case u.Backtick:break e;default:this.reportError("W004")}}const o=this._lexer.get();return this.createExpressionNode(Uc,{segments:r},t,o)}parseArrayLiteral(){const t=this._lexer.get();let r=[];if(this._lexer.peek().type!==u.RSquare){const a=this.getExpression();a&&(r=a.type===Gr?a.exprs:[a])}const o=this._lexer.peek();return this.expectToken(u.RSquare),this.createExpressionNode(jr,{items:r},t,o)}parseObjectLiteral(){const t=this._lexer.get();let r=[];if(this._lexer.peek().type!==u.RBrace)for(;this._lexer.peek().type!==u.RBrace;){const a=this._lexer.peek(),l=Zr[a.type];let i;if(l.expressionStart)if(a.type===u.LSquare){if(this._lexer.get(),i=this.getExpression(),!i)return null;this.expectToken(u.RSquare,"W005"),i=this.createExpressionNode(Gr,{exprs:[i]},t)}else if(l.isPropLiteral){if(i=this.getExpression(!1),!i)return null;if(i.type!==je&&i.type!==It&&i.type!==Yr)return this.reportError("W007"),null}else return this.reportError("W007"),null;else if(l.keywordLike)i={type:je,nodeId:ha(),name:a.text,startToken:a,endToken:a},this._lexer.get();else return this.reportError("W001"),null;const n=i.type;if(n===Yr)r.push(i);else{if(n===It){const h=i.value;if(typeof h!="number"&&typeof h!="string")return this.expectToken(u.RBrace,"W007"),null}let b=null;if(n===je){const h=this._lexer.peek();(h.type===u.Comma||h.type===u.RBrace)&&(b={...i})}if(!b&&(this.expectToken(u.Colon,"W008"),b=this.getExpression(!1),!b))return null;r.push([i,b])}const c=this._lexer.peek().type;if(c===u.Comma)this._lexer.get();else if(c!==u.RBrace)break}const o=this._lexer.peek();return this.expectToken(u.RBrace,"W004"),this.createExpressionNode(Xr,{props:r},t,o)}parseRegExpLiteral(){const t=this._lexer.peek(),r=this._lexer.getRegEx();return r.success?this.createExpressionNode(It,{value:new RegExp(r.pattern,r.flags)},t,this._lexer.peek()):(this.reportError("W002",t,r.pattern??""),null)}getExpression(t=!0){const r=this.parseExpr(t);return r||(this.reportError("W001"),null)}expectToken(t,r,o){const a=this._lexer.peek();return a.type===t||o&&a.type===u.Eof?this._lexer.get():(this.reportError(r??"W002",a,a.text),null)}skipToken(t){const r=this._lexer.peek();return r.type===t?(this._lexer.get(),r):null}skipTokens(...t){const r=this._lexer.peek();for(const o of t)if(r.type===o)return this._lexer.get(),r;return null}reportError(t,r,...o){let a=pa[t]??"Unkonwn error";throw o&&o.forEach((i,n)=>a=l(a,`{${n}}`,o[n].toString())),r||(r=this._lexer.peek()),this._parseErrors.push({code:t,text:a,line:r.startLine,column:r.startColumn}),new Qc(a,t);function l(i,n,c){do i=i.replace(n,c);while(i.includes(n));return i}}createNode(t,r,o,a){return a||(a=this._lexer.peek()),Object.assign({},r,{type:t,startToken:o,endToken:a})}createExpressionNode(t,r={},o,a){return a||(a=this._lexer.peek()),o||(o=a),Object.assign({},r,{type:t,nodeId:ha(),startToken:o,endToken:a})}createStatementNode(t,r,o,a){return Object.assign({},r,{type:t,nodeId:ha(),startToken:o,endToken:a})}parseBinaryLiteral(t){let r;const o=BigInt(t.text.replace(/[_']/g,""));return o<Number.MIN_SAFE_INTEGER||o>Number.MAX_SAFE_INTEGER?r=o:r=parseInt(t.text.substring(2).replace(/[_']/g,""),2),this.createExpressionNode(It,{value:r},t,t)}parseDecimalLiteral(t){let r;const o=BigInt(t.text.replace(/[_']/g,""));return o<Number.MIN_SAFE_INTEGER||o>Number.MAX_SAFE_INTEGER?r=o:r=parseInt(t.text.replace(/[_']/g,""),10),this.createExpressionNode(It,{value:r},t,t)}parseHexadecimalLiteral(t){let r;const o=BigInt(t.text.replace(/[_']/g,""));return o<Number.MIN_SAFE_INTEGER||o>Number.MAX_SAFE_INTEGER?r=o:r=parseInt(t.text.substring(2).replace(/[_']/g,""),16),this.createExpressionNode(It,{value:r},t,t)}parseRealLiteral(t){let r=parseFloat(t.text.replace(/[_']/g,""));return this.createExpressionNode(It,{value:r},t,t)}parseStringLiteral(t,r=!0){let o=t.text;r&&(o=t.text.length<2?"":o.substring(1,o.length-1));let a="",l=0,i=0;for(const c of o)switch(l){case 0:c==="\\"?l=1:a+=c;break;case 1:switch(l=0,c){case"b":a+="\b";break;case"f":a+="\f";break;case"n":a+=`
7
+ `;break;case"r":a+="\r";break;case"t":a+=" ";break;case"v":a+="\v";break;case"S":a+=" ";break;case"0":a+="\0";break;case"'":a+="'";break;case'"':a+='"';break;case"\\":a+="\\";break;case"x":l=2;break;case"u":l=4;break;default:a+=c;break}break;case 2:n(c)?(i=parseInt(c,16),l=3):(a+="x",l=0);break;case 3:n(c)?(i=i*16+parseInt(c,16),a+=String.fromCharCode(i),l=0):(a+=String.fromCharCode(i),a+=c,l=0);break;case 4:if(c==="{"){l=8;break}n(c)?(i=parseInt(c,16),l=5):(a+="x",l=0);break;case 5:n(c)?(i=i*16+parseInt(c,16),l=6):(a+=String.fromCharCode(i),a+=c,l=0);break;case 6:n(c)?(i=i*16+parseInt(c,16),l=7):(a+=String.fromCharCode(i),a+=c,l=0);break;case 7:n(c)?(i=i*16+parseInt(c,16),a+=String.fromCharCode(i),l=0):(a+=String.fromCharCode(i),a+=c,l=0);break;case 8:n(c)?(i=parseInt(c,16),l=9):(a+="x",l=0);break;case 9:n(c)?(i=i*16+parseInt(c,16),l=10):(a+=String.fromCharCode(i),a+=c,l=0);break;case 10:n(c)?(i=i*16+parseInt(c,16),l=11):(a+=String.fromCharCode(i),a+=c,l=0);break;case 11:n(c)?(i=i*16+parseInt(c,16),l=12):(a+=String.fromCharCode(i),a+=c,l=0);break;case 12:n(c)?(i=i*16+parseInt(c,16),l=13):(a+=String.fromCharCode(i),a+=c,l=0);break;case 13:n(c)?(i=i*16+parseInt(c,16),l=14):(a+=String.fromCharCode(i),a+=c,l=0);break;case 14:a+=String.fromCharCode(i),c!=="}"&&(a+=c),l=0;break}switch(l){case 1:a+="\\";break;case 2:a+="x";break;case 3:a+=String.fromCharCode(i);break}return this.createExpressionNode(It,{value:a},t,t);function n(c){return c>="0"&&c<="9"||c>="a"&&c<="f"||c>="A"&&c<="F"}}convertToArrayDestructure(t){var a;const r=t.type===Gr?t.exprs:t.items,o=this.createExpressionNode(di,{aDestr:[]},t.startToken,t.endToken);for(const l of r){let i;switch(l.type){case Ro:i=this.createExpressionNode(mr,{},l.startToken,l.endToken);break;case je:i=this.createExpressionNode(mr,{id:l.name},l.startToken,l.endToken);break;case di:o.aDestr.push(...l.aDestr);break;case mr:i=l;break;case jr:{const n=this.convertToArrayDestructure(l);n&&(i=this.createExpressionNode(mr,{aDestr:n.aDestr},l.startToken,l.endToken));break}case Br:i=this.createExpressionNode(mr,{oDestr:l},l.startToken,l.endToken);break;case Xr:{const n=this.convertToObjectDestructure(l);n&&(i=this.createExpressionNode(mr,{oDestr:n.oDestr},l.startToken,l.endToken));break}default:return this.reportError("W017"),null}i&&((a=o.aDestr)==null||a.push(i))}return o}convertToObjectDestructure(t){var o;const r=this.createExpressionNode(di,{oDestr:[]},t.startToken,t.endToken);for(const a of t.props){if(!Array.isArray(a))return reportError("W018"),null;const[l,i]=a;if(l.type!==je)return reportError("W018"),null;let n;switch(i.type){case je:i.name===l.name?n=this.createExpressionNode(Br,{id:l.name},i.startToken,i.endToken):n=this.createExpressionNode(Br,{id:l.name,alias:i.name},i.startToken,i.endToken);break;case mr:{n=this.createExpressionNode(Br,{id:l.name,aDestr:i},l.startToken,i.endToken);break}case jr:{const c=this.convertToArrayDestructure(i);c&&(n=this.createExpressionNode(Br,{id:l.name,aDestr:c.aDestr},l.startToken,i.endToken));break}case Br:n=i;break;case Xr:{const c=this.convertToObjectDestructure(i);c&&(n=this.createExpressionNode(Br,{id:l.name,oDestr:c.oDestr},l.startToken,i.endToken));break}default:return this.reportError("W018"),null}n&&((o=r.oDestr)==null||o.push(n))}return r}isExpressionStart(t){var r;return((r=Zr[t.type])==null?void 0:r.expressionStart)??!1}}function Kc(e,t){if(e==null)return t;if(typeof e=="number")return e!==0;if(typeof e=="string"){if(e=e.trim().toLowerCase(),e==="")return!1;if(e==="true")return!0;if(e==="false")return!1;if(e!=="")return!0}if(typeof e=="boolean")return e;throw new Error(`A boolean value expected but ${typeof e} received.`)}const Oe={themeVars:`'{"Input:gap-adornment-NumberBox": "var(--xmlui-gap-adornment-NumberBox)", "Input:borderRadius-NumberBox-default": "var(--xmlui-borderRadius-NumberBox-default)", "Input:borderColor-NumberBox-default": "var(--xmlui-borderColor-NumberBox-default)", "Input:borderWidth-NumberBox-default": "var(--xmlui-borderWidth-NumberBox-default)", "Input:borderStyle-NumberBox-default": "var(--xmlui-borderStyle-NumberBox-default)", "Input:fontSize-NumberBox-default": "var(--xmlui-fontSize-NumberBox-default)", "Input:backgroundColor-NumberBox-default": "var(--xmlui-backgroundColor-NumberBox-default)", "Input:boxShadow-NumberBox-default": "var(--xmlui-boxShadow-NumberBox-default)", "Input:textColor-NumberBox-default": "var(--xmlui-textColor-NumberBox-default)", "Input:borderColor-NumberBox-default--hover": "var(--xmlui-borderColor-NumberBox-default--hover)", "Input:backgroundColor-NumberBox-default--hover": "var(--xmlui-backgroundColor-NumberBox-default--hover)", "Input:boxShadow-NumberBox-default--hover": "var(--xmlui-boxShadow-NumberBox-default--hover)", "Input:textColor-NumberBox-default--hover": "var(--xmlui-textColor-NumberBox-default--hover)", "Input:borderColor-NumberBox-default--focus": "var(--xmlui-borderColor-NumberBox-default--focus)", "Input:backgroundColor-NumberBox-default--focus": "var(--xmlui-backgroundColor-NumberBox-default--focus)", "Input:boxShadow-NumberBox-default--focus": "var(--xmlui-boxShadow-NumberBox-default--focus)", "Input:textColor-NumberBox-default--focus": "var(--xmlui-textColor-NumberBox-default--focus)", "Input:outlineWidth-NumberBox-default--focus": "var(--xmlui-outlineWidth-NumberBox-default--focus)", "Input:outlineColor-NumberBox-default--focus": "var(--xmlui-outlineColor-NumberBox-default--focus)", "Input:outlineStyle-NumberBox-default--focus": "var(--xmlui-outlineStyle-NumberBox-default--focus)", "Input:outlineOffset-NumberBox-default--focus": "var(--xmlui-outlineOffset-NumberBox-default--focus)", "Input:textColor-placeholder-NumberBox-default": "var(--xmlui-textColor-placeholder-NumberBox-default)", "Input:textColor-adornment-NumberBox-default": "var(--xmlui-textColor-adornment-NumberBox-default)", "Input:borderRadius-NumberBox-error": "var(--xmlui-borderRadius-NumberBox-error)", "Input:borderColor-NumberBox-error": "var(--xmlui-borderColor-NumberBox-error)", "Input:borderWidth-NumberBox-error": "var(--xmlui-borderWidth-NumberBox-error)", "Input:borderStyle-NumberBox-error": "var(--xmlui-borderStyle-NumberBox-error)", "Input:fontSize-NumberBox-error": "var(--xmlui-fontSize-NumberBox-error)", "Input:backgroundColor-NumberBox-error": "var(--xmlui-backgroundColor-NumberBox-error)", "Input:boxShadow-NumberBox-error": "var(--xmlui-boxShadow-NumberBox-error)", "Input:textColor-NumberBox-error": "var(--xmlui-textColor-NumberBox-error)", "Input:borderColor-NumberBox-error--hover": "var(--xmlui-borderColor-NumberBox-error--hover)", "Input:backgroundColor-NumberBox-error--hover": "var(--xmlui-backgroundColor-NumberBox-error--hover)", "Input:boxShadow-NumberBox-error--hover": "var(--xmlui-boxShadow-NumberBox-error--hover)", "Input:textColor-NumberBox-error--hover": "var(--xmlui-textColor-NumberBox-error--hover)", "Input:borderColor-NumberBox-error--focus": "var(--xmlui-borderColor-NumberBox-error--focus)", "Input:backgroundColor-NumberBox-error--focus": "var(--xmlui-backgroundColor-NumberBox-error--focus)", "Input:boxShadow-NumberBox-error--focus": "var(--xmlui-boxShadow-NumberBox-error--focus)", "Input:textColor-NumberBox-error--focus": "var(--xmlui-textColor-NumberBox-error--focus)", "Input:outlineWidth-NumberBox-error--focus": "var(--xmlui-outlineWidth-NumberBox-error--focus)", "Input:outlineColor-NumberBox-error--focus": "var(--xmlui-outlineColor-NumberBox-error--focus)", "Input:outlineStyle-NumberBox-error--focus": "var(--xmlui-outlineStyle-NumberBox-error--focus)", "Input:outlineOffset-NumberBox-error--focus": "var(--xmlui-outlineOffset-NumberBox-error--focus)", "Input:textColor-placeholder-NumberBox-error": "var(--xmlui-textColor-placeholder-NumberBox-error)", "Input:textColor-adornment-NumberBox-error": "var(--xmlui-textColor-adornment-NumberBox-error)", "Input:borderRadius-NumberBox-warning": "var(--xmlui-borderRadius-NumberBox-warning)", "Input:borderColor-NumberBox-warning": "var(--xmlui-borderColor-NumberBox-warning)", "Input:borderWidth-NumberBox-warning": "var(--xmlui-borderWidth-NumberBox-warning)", "Input:borderStyle-NumberBox-warning": "var(--xmlui-borderStyle-NumberBox-warning)", "Input:fontSize-NumberBox-warning": "var(--xmlui-fontSize-NumberBox-warning)", "Input:backgroundColor-NumberBox-warning": "var(--xmlui-backgroundColor-NumberBox-warning)", "Input:boxShadow-NumberBox-warning": "var(--xmlui-boxShadow-NumberBox-warning)", "Input:textColor-NumberBox-warning": "var(--xmlui-textColor-NumberBox-warning)", "Input:borderColor-NumberBox-warning--hover": "var(--xmlui-borderColor-NumberBox-warning--hover)", "Input:backgroundColor-NumberBox-warning--hover": "var(--xmlui-backgroundColor-NumberBox-warning--hover)", "Input:boxShadow-NumberBox-warning--hover": "var(--xmlui-boxShadow-NumberBox-warning--hover)", "Input:textColor-NumberBox-warning--hover": "var(--xmlui-textColor-NumberBox-warning--hover)", "Input:borderColor-NumberBox-warning--focus": "var(--xmlui-borderColor-NumberBox-warning--focus)", "Input:backgroundColor-NumberBox-warning--focus": "var(--xmlui-backgroundColor-NumberBox-warning--focus)", "Input:boxShadow-NumberBox-warning--focus": "var(--xmlui-boxShadow-NumberBox-warning--focus)", "Input:textColor-NumberBox-warning--focus": "var(--xmlui-textColor-NumberBox-warning--focus)", "Input:outlineWidth-NumberBox-warning--focus": "var(--xmlui-outlineWidth-NumberBox-warning--focus)", "Input:outlineColor-NumberBox-warning--focus": "var(--xmlui-outlineColor-NumberBox-warning--focus)", "Input:outlineStyle-NumberBox-warning--focus": "var(--xmlui-outlineStyle-NumberBox-warning--focus)", "Input:outlineOffset-NumberBox-warning--focus": "var(--xmlui-outlineOffset-NumberBox-warning--focus)", "Input:textColor-placeholder-NumberBox-warning": "var(--xmlui-textColor-placeholder-NumberBox-warning)", "Input:textColor-adornment-NumberBox-warning": "var(--xmlui-textColor-adornment-NumberBox-warning)", "Input:borderRadius-NumberBox-success": "var(--xmlui-borderRadius-NumberBox-success)", "Input:borderColor-NumberBox-success": "var(--xmlui-borderColor-NumberBox-success)", "Input:borderWidth-NumberBox-success": "var(--xmlui-borderWidth-NumberBox-success)", "Input:borderStyle-NumberBox-success": "var(--xmlui-borderStyle-NumberBox-success)", "Input:fontSize-NumberBox-success": "var(--xmlui-fontSize-NumberBox-success)", "Input:backgroundColor-NumberBox-success": "var(--xmlui-backgroundColor-NumberBox-success)", "Input:boxShadow-NumberBox-success": "var(--xmlui-boxShadow-NumberBox-success)", "Input:textColor-NumberBox-success": "var(--xmlui-textColor-NumberBox-success)", "Input:borderColor-NumberBox-success--hover": "var(--xmlui-borderColor-NumberBox-success--hover)", "Input:backgroundColor-NumberBox-success--hover": "var(--xmlui-backgroundColor-NumberBox-success--hover)", "Input:boxShadow-NumberBox-success--hover": "var(--xmlui-boxShadow-NumberBox-success--hover)", "Input:textColor-NumberBox-success--hover": "var(--xmlui-textColor-NumberBox-success--hover)", "Input:borderColor-NumberBox-success--focus": "var(--xmlui-borderColor-NumberBox-success--focus)", "Input:backgroundColor-NumberBox-success--focus": "var(--xmlui-backgroundColor-NumberBox-success--focus)", "Input:boxShadow-NumberBox-success--focus": "var(--xmlui-boxShadow-NumberBox-success--focus)", "Input:textColor-NumberBox-success--focus": "var(--xmlui-textColor-NumberBox-success--focus)", "Input:outlineWidth-NumberBox-success--focus": "var(--xmlui-outlineWidth-NumberBox-success--focus)", "Input:outlineColor-NumberBox-success--focus": "var(--xmlui-outlineColor-NumberBox-success--focus)", "Input:outlineStyle-NumberBox-success--focus": "var(--xmlui-outlineStyle-NumberBox-success--focus)", "Input:outlineOffset-NumberBox-success--focus": "var(--xmlui-outlineOffset-NumberBox-success--focus)", "Input:textColor-placeholder-NumberBox-success": "var(--xmlui-textColor-placeholder-NumberBox-success)", "Input:textColor-adornment-NumberBox-success": "var(--xmlui-textColor-adornment-NumberBox-success)", "Input:backgroundColor-NumberBox--disabled": "var(--xmlui-backgroundColor-NumberBox--disabled)", "Input:textColor-NumberBox--disabled": "var(--xmlui-textColor-NumberBox--disabled)", "Input:borderColor-NumberBox--disabled": "var(--xmlui-borderColor-NumberBox--disabled)"}'`,inputRoot:"_inputRoot_1ynbq_13",input:"_input_1ynbq_13",adornment:"_adornment_1ynbq_53",error:"_error_1ynbq_56",warning:"_warning_1ynbq_90",valid:"_valid_1ynbq_124",spinnerBox:"_spinnerBox_1ynbq_184",spinnerButton:"_spinnerButton_1ynbq_191",readOnly:"_readOnly_1ynbq_197"},fo=999999999999999,ci=".",ba="e",em=/^-?\d+$/,tm=/^-?\d+(\.\d+)?([eE][+-]?\d+)?$/,an=1;function go(e){return typeof e>"u"||e===null||e===""}function mi(e){return typeof e=="string"?e:typeof e=="number"?e.toString():""}function Qr(e,t,r){let o=e;return e<t&&(o=t),e>r&&(o=r),o}function Fo(e,t=!1){return(t?am:rm)(e)?(typeof e=="string"&&(e=t?Number.parseInt(e):+e),e):null}function rm(e){return typeof e=="string"&&e.length>0?!Number.isNaN(+e)&&om(e):typeof e=="number"}function om(e){const t=e.split(".")[0];return Math.abs(Number.parseInt(t))<=fo}function am(e){return typeof e=="string"&&e.length>0&&![ba,ci].some(t=>e.includes(t))?Number.isSafeInteger(+e):typeof e=="number"?Number.isSafeInteger(e):!1}const im=s.forwardRef(function({id:t,value:r,initialValue:o,style:a,enabled:l=!0,placeholder:i,validationStatus:n="none",hasSpinBox:c=!0,step:b,integersOnly:h=!1,zeroOrPositive:p=!1,min:C=p?0:-999999999999999,max:v=fo,maxLength:g,updateState:T=ae,onDidChange:y=ae,onFocus:$=ae,onBlur:w=ae,registerComponentApi:_,startText:A,startIcon:P,endText:Z,endIcon:E,gap:j,spinnerUpIcon:U,spinnerDownIcon:M,autoFocus:f,readOnly:x,required:H,label:S,labelPosition:O,labelWidth:F,labelBreak:W},D){C=Math.max(p?0:-999999999999999,C);const X=Fo(b,!0)??an,q=s.useRef(null),B=s.useRef(null),I=s.useRef(null);s.useEffect(()=>{f&&setTimeout(()=>{var ee;(ee=q.current)==null||ee.focus()},0)},[f]);const[z,L]=s.useState(mi(r));s.useEffect(()=>{L(mi(r))},[r]),s.useEffect(()=>{T({value:o},{initial:!0})},[o,T]);const N=s.useCallback((ee,He)=>{L(He),T({value:ee}),y(ee)},[y,T]),R=s.useCallback(ee=>{const He=ee.target.value;N(He,He)},[N]),ie=s.useCallback(()=>{if(x)return;const ee=ln(z,X,C,v,h);ee!==void 0&&N(ee,ee.toString())},[z,X,C,v,h,N,x]),me=s.useCallback(()=>{if(x)return;const ee=ln(z,-X,C,v,h);ee!==void 0&&N(ee,ee.toString())},[z,X,C,v,h,N,x]);nn(B.current,ie),nn(I.current,me);const Te=ee=>{var le;let He=!1;const be=ee.target.value??"",J=ee.target.selectionStart,de=be.substring(0,ee.target.selectionStart).indexOf(ba);switch(ee.data){case"-":He=!0,de===-1?be.startsWith("-")||G("-"+be,J+1):be[de+1]!=="-"&&G(be.substring(0,de+1)+"-"+be.substring(de+1),J+1);break;case"+":He=!0,de===-1?be.startsWith("-")&&G(be.substring(1),J-1):be[de+1]==="-"&&G(be.substring(0,de+1)+be.substring(de+2),J-1);break;case ci:(h||be.includes(ci)||de!==-1)&&(He=!0);break;case ba:if(h){He=!0;break}(be.includes(ba)||te(J,2))&&(He=!0);break;default:let pe=ee.data;const tt=ee.target.selectionStart;if(((le=ee.data)==null?void 0:le.length)>0){if(pe.startsWith("-")){if(tt>0){He=!0;break}}else if(pe.startsWith("+")){He=!0;break}const $t=be.substring(0,tt)+pe+be.substring(ee.target.selectionEnd);h&&!em.test($t)?He=!0:tm.test($t)||(He=!0);break}if(ee.data<"0"||ee.data>"9"){He=!0;break}if(be.startsWith("-")&&tt===0){He=!0;break}de!==-1&&te(de+1,1)&&(He=!0);break}He&&ee.preventDefault();return;function te(pe,tt){let $t=0;for(;pe<be.length;)if(/\d/.test(be[pe++]))$t++;else{$t=tt+1;break}return $t>tt}function G(pe,tt){var $t;ee.target.value=pe,N(pe,pe),($t=q.current)==null||$t.setSelectionRange(tt,tt)}},oe=s.useCallback(ee=>{ee.code==="ArrowUp"&&(ee.preventDefault(),ie()),ee.code==="ArrowDown"&&(ee.preventDefault(),me())},[ie,me]),se=s.useCallback(()=>{$==null||$()},[$]),_e=s.useCallback(()=>{L(mi(r)),w==null||w()},[r,w]),Ae=s.useCallback(()=>{var ee;(ee=q.current)==null||ee.focus()},[]),Ne=Ce(ee=>{N(ee,go(ee)?"":String(ee))});return s.useEffect(()=>{_==null||_({focus:Ae,setValue:Ne})},[Ae,_,Ne]),d.jsx(lt,{ref:D,labelPosition:O,label:S,labelWidth:F,labelBreak:W,required:H,enabled:l,onFocus:$,onBlur:w,style:a,children:d.jsxs("div",{className:re(Oe.inputRoot,{[Oe.readOnly]:x,[Oe.disabled]:!l,[Oe.noSpinBox]:!c,[Oe.error]:n==="error",[Oe.warning]:n==="warning",[Oe.valid]:n==="valid"}),tabIndex:-1,onFocus:()=>{var ee;(ee=q.current)==null||ee.focus()},style:{gap:j},children:[d.jsx(fr,{text:A,iconName:P,className:Oe.adornment}),d.jsx("input",{id:t,type:"text",inputMode:"numeric",className:re(Oe.input,{[Oe.readOnly]:x}),disabled:!l,value:z,step:b,placeholder:i,onChange:R,onFocus:se,onBlur:_e,onBeforeInput:Te,onKeyDown:oe,readOnly:x,ref:q,autoFocus:f,maxLength:g,required:H}),d.jsx(fr,{text:Z,iconName:E,className:Oe.adornment}),c&&d.jsxs("div",{className:Oe.spinnerBox,children:[d.jsx(ot,{"data-spinner":"up",type:"button",variant:"ghost",themeColor:"secondary",tabIndex:-1,className:Oe.spinnerButton,disabled:!l||x,ref:B,children:d.jsx(ce,{name:U||"spinnerUp:NumberBox",fallback:"chevronup",size:"sm"})}),d.jsx(ot,{"data-spinner":"down",type:"button",tabIndex:-1,variant:"ghost",themeColor:"secondary",className:Oe.spinnerButton,disabled:!l||x,ref:I,children:d.jsx(ce,{name:M||"spinnerDown:NumberBox",fallback:"chevrondown",size:"sm"})})]})]})})});function ln(e,t,r,o,a){const l=Fo(e,a);if(!go(l))return Qr(l+t,r,o)}function nn(e,t,r=500){const o=s.useRef(0),a=s.useRef(0),l=s.useRef(t);s.useEffect(()=>{l.current=t},[t]),s.useEffect(()=>{const i=()=>{var b;(b=l.current)==null||b.call(l),o.current=window.setTimeout(()=>{a.current=window.setInterval(()=>{var h;(h=l.current)==null||h.call(l)},100)},r)},n=()=>{clearTimeout(o.current),clearInterval(a.current)},c=()=>{clearTimeout(o.current),clearInterval(a.current)};return e==null||e.addEventListener("mousedown",i),e==null||e.addEventListener("mouseup",n),e==null||e.addEventListener("mouseout",c),()=>{e==null||e.removeEventListener("mousedown",i),e==null||e.removeEventListener("mouseup",n),e==null||e.removeEventListener("mouseout",c)}},[e,t,r])}function To(){return To=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},To.apply(null,arguments)}function lm(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function sn(...e){return t=>e.forEach(r=>lm(r,t))}function nm(...e){return s.useCallback(sn(...e),e)}const dn=s.forwardRef((e,t)=>{const{children:r,...o}=e,a=s.Children.toArray(r),l=a.find(dm);if(l){const i=l.props.children,n=a.map(c=>c===l?s.Children.count(i)>1?s.Children.only(null):s.isValidElement(i)?i.props.children:null:c);return s.createElement(pi,To({},o,{ref:t}),s.isValidElement(i)?s.cloneElement(i,void 0,n):null)}return s.createElement(pi,To({},o,{ref:t}),r)});dn.displayName="Slot";const pi=s.forwardRef((e,t)=>{const{children:r,...o}=e;return s.isValidElement(r)?s.cloneElement(r,{...um(o,r.props),ref:t?sn(t,r.ref):r.ref}):s.Children.count(r)>1?s.Children.only(null):null});pi.displayName="SlotClone";const sm=({children:e})=>s.createElement(s.Fragment,null,e);function dm(e){return s.isValidElement(e)&&e.type===sm}function um(e,t){const r={...t};for(const o in t){const a=e[o],l=t[o];/^on[A-Z]/.test(o)?a&&l?r[o]=(...n)=>{l(...n),a(...n)}:a&&(r[o]=a):o==="style"?r[o]={...a,...l}:o==="className"&&(r[o]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}const cm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=s.forwardRef((o,a)=>{const{asChild:l,...i}=o,n=l?dn:t;return s.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),s.createElement(n,To({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function un(e){const t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...r)=>{var o;return(o=t.current)===null||o===void 0?void 0:o.call(t,...r)},[])}const hi="focusScope.autoFocusOnMount",bi="focusScope.autoFocusOnUnmount",cn={bubbles:!1,cancelable:!0},mm=s.forwardRef((e,t)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:a,onUnmountAutoFocus:l,...i}=e,[n,c]=s.useState(null),b=un(a),h=un(l),p=s.useRef(null),C=nm(t,T=>c(T)),v=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(o){let T=function(_){if(v.paused||!n)return;const A=_.target;n.contains(A)?p.current=A:$r(p.current,{select:!0})},y=function(_){if(v.paused||!n)return;const A=_.relatedTarget;A!==null&&(n.contains(A)||$r(p.current,{select:!0}))},$=function(_){if(document.activeElement===document.body)for(const P of _)P.removedNodes.length>0&&$r(n)};document.addEventListener("focusin",T),document.addEventListener("focusout",y);const w=new MutationObserver($);return n&&w.observe(n,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",T),document.removeEventListener("focusout",y),w.disconnect()}}},[o,n,v.paused]),s.useEffect(()=>{if(n){hn.add(v);const T=document.activeElement;if(!n.contains(T)){const $=new CustomEvent(hi,cn);n.addEventListener(hi,b),n.dispatchEvent($),$.defaultPrevented||(pm(fm(mn(n)),{select:!0}),document.activeElement===T&&$r(n))}return()=>{n.removeEventListener(hi,b),setTimeout(()=>{const $=new CustomEvent(bi,cn);n.addEventListener(bi,h),n.dispatchEvent($),$.defaultPrevented||$r(T??document.body,{select:!0}),n.removeEventListener(bi,h),hn.remove(v)},0)}}},[n,b,h,v]);const g=s.useCallback(T=>{if(!r&&!o||v.paused)return;const y=T.key==="Tab"&&!T.altKey&&!T.ctrlKey&&!T.metaKey,$=document.activeElement;if(y&&$){const w=T.currentTarget,[_,A]=hm(w);_&&A?!T.shiftKey&&$===A?(T.preventDefault(),r&&$r(_,{select:!0})):T.shiftKey&&$===_&&(T.preventDefault(),r&&$r(A,{select:!0})):$===w&&T.preventDefault()}},[r,o,v.paused]);return s.createElement(cm.div,To({tabIndex:-1},i,{ref:C,onKeyDown:g}))});function pm(e,{select:t=!1}={}){const r=document.activeElement;for(const o of e)if($r(o,{select:t}),document.activeElement!==r)return}function hm(e){const t=mn(e),r=pn(t,e),o=pn(t.reverse(),e);return[r,o]}function mn(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const a=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||a?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function pn(e,t){for(const r of e)if(!bm(r,{upTo:t}))return r}function bm(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function xm(e){return e instanceof HTMLInputElement&&"select"in e}function $r(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&xm(e)&&t&&e.select()}}const hn=vm();function vm(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=bn(e,t),e.unshift(t)},remove(t){var r;e=bn(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function bn(e,t){const r=[...e],o=r.indexOf(t);return o!==-1&&r.splice(o,1),r}function fm(e){return e.filter(t=>t.tagName!=="A")}const ve={themeVars:`'{"padding-item-Select": "var(--xmlui-padding-item-Select)", "paddingHorizontal-item-Select": "var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select))", "paddingVertical-item-Select": "var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select))", "paddingLeft-item-Select": "var(--xmlui-paddingLeft-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingRight-item-Select": "var(--xmlui-paddingRight-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingTop-item-Select": "var(--xmlui-paddingTop-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "paddingBottom-item-Select": "var(--xmlui-paddingBottom-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "Input:fontSize-Select-default": "var(--xmlui-fontSize-Select-default)", "Input:textColor-placeholder-Select-default": "var(--xmlui-textColor-placeholder-Select-default)", "Input:textColor-Select-default": "var(--xmlui-textColor-Select-default)", "Input:fontSize-Select-error": "var(--xmlui-fontSize-Select-error)", "Input:textColor-placeholder-Select-error": "var(--xmlui-textColor-placeholder-Select-error)", "Input:textColor-Select-error": "var(--xmlui-textColor-Select-error)", "Input:fontSize-Select-warning": "var(--xmlui-fontSize-Select-warning)", "Input:textColor-placeholder-Select-warning": "var(--xmlui-textColor-placeholder-Select-warning)", "Input:textColor-Select-warning": "var(--xmlui-textColor-Select-warning)", "Input:fontSize-Select-success": "var(--xmlui-fontSize-Select-success)", "Input:textColor-placeholder-Select-success": "var(--xmlui-textColor-placeholder-Select-success)", "Input:textColor-Select-success": "var(--xmlui-textColor-Select-success)", "Input:borderRadius-Select-default": "var(--xmlui-borderRadius-Select-default)", "Input:borderColor-Select-default": "var(--xmlui-borderColor-Select-default)", "Input:borderWidth-Select-default": "var(--xmlui-borderWidth-Select-default)", "Input:borderStyle-Select-default": "var(--xmlui-borderStyle-Select-default)", "Input:backgroundColor-Select-default": "var(--xmlui-backgroundColor-Select-default)", "Input:boxShadow-Select-default": "var(--xmlui-boxShadow-Select-default)", "Input:borderColor-Select-default--hover": "var(--xmlui-borderColor-Select-default--hover)", "Input:backgroundColor-Select-default--hover": "var(--xmlui-backgroundColor-Select-default--hover)", "Input:boxShadow-Select-default--hover": "var(--xmlui-boxShadow-Select-default--hover)", "Input:textColor-Select-default--hover": "var(--xmlui-textColor-Select-default--hover)", "Input:outlineWidth-Select-default--focus": "var(--xmlui-outlineWidth-Select-default--focus)", "Input:outlineColor-Select-default--focus": "var(--xmlui-outlineColor-Select-default--focus)", "Input:outlineStyle-Select-default--focus": "var(--xmlui-outlineStyle-Select-default--focus)", "Input:outlineOffset-Select-default--focus": "var(--xmlui-outlineOffset-Select-default--focus)", "Input:borderRadius-Select-error": "var(--xmlui-borderRadius-Select-error)", "Input:borderColor-Select-error": "var(--xmlui-borderColor-Select-error)", "Input:borderWidth-Select-error": "var(--xmlui-borderWidth-Select-error)", "Input:borderStyle-Select-error": "var(--xmlui-borderStyle-Select-error)", "Input:backgroundColor-Select-error": "var(--xmlui-backgroundColor-Select-error)", "Input:boxShadow-Select-error": "var(--xmlui-boxShadow-Select-error)", "Input:borderColor-Select-error--hover": "var(--xmlui-borderColor-Select-error--hover)", "Input:backgroundColor-Select-error--hover": "var(--xmlui-backgroundColor-Select-error--hover)", "Input:boxShadow-Select-error--hover": "var(--xmlui-boxShadow-Select-error--hover)", "Input:textColor-Select-error--hover": "var(--xmlui-textColor-Select-error--hover)", "Input:outlineWidth-Select-error--focus": "var(--xmlui-outlineWidth-Select-error--focus)", "Input:outlineColor-Select-error--focus": "var(--xmlui-outlineColor-Select-error--focus)", "Input:outlineStyle-Select-error--focus": "var(--xmlui-outlineStyle-Select-error--focus)", "Input:outlineOffset-Select-error--focus": "var(--xmlui-outlineOffset-Select-error--focus)", "Input:borderRadius-Select-warning": "var(--xmlui-borderRadius-Select-warning)", "Input:borderColor-Select-warning": "var(--xmlui-borderColor-Select-warning)", "Input:borderWidth-Select-warning": "var(--xmlui-borderWidth-Select-warning)", "Input:borderStyle-Select-warning": "var(--xmlui-borderStyle-Select-warning)", "Input:backgroundColor-Select-warning": "var(--xmlui-backgroundColor-Select-warning)", "Input:boxShadow-Select-warning": "var(--xmlui-boxShadow-Select-warning)", "Input:borderColor-Select-warning--hover": "var(--xmlui-borderColor-Select-warning--hover)", "Input:backgroundColor-Select-warning--hover": "var(--xmlui-backgroundColor-Select-warning--hover)", "Input:boxShadow-Select-warning--hover": "var(--xmlui-boxShadow-Select-warning--hover)", "Input:textColor-Select-warning--hover": "var(--xmlui-textColor-Select-warning--hover)", "Input:outlineWidth-Select-warning--focus": "var(--xmlui-outlineWidth-Select-warning--focus)", "Input:outlineColor-Select-warning--focus": "var(--xmlui-outlineColor-Select-warning--focus)", "Input:outlineStyle-Select-warning--focus": "var(--xmlui-outlineStyle-Select-warning--focus)", "Input:outlineOffset-Select-warning--focus": "var(--xmlui-outlineOffset-Select-warning--focus)", "Input:borderRadius-Select-success": "var(--xmlui-borderRadius-Select-success)", "Input:borderColor-Select-success": "var(--xmlui-borderColor-Select-success)", "Input:borderWidth-Select-success": "var(--xmlui-borderWidth-Select-success)", "Input:borderStyle-Select-success": "var(--xmlui-borderStyle-Select-success)", "Input:backgroundColor-Select-success": "var(--xmlui-backgroundColor-Select-success)", "Input:boxShadow-Select-success": "var(--xmlui-boxShadow-Select-success)", "Input:borderColor-Select-success--hover": "var(--xmlui-borderColor-Select-success--hover)", "Input:backgroundColor-Select-success--hover": "var(--xmlui-backgroundColor-Select-success--hover)", "Input:boxShadow-Select-success--hover": "var(--xmlui-boxShadow-Select-success--hover)", "Input:textColor-Select-success--hover": "var(--xmlui-textColor-Select-success--hover)", "Input:outlineWidth-Select-success--focus": "var(--xmlui-outlineWidth-Select-success--focus)", "Input:outlineColor-Select-success--focus": "var(--xmlui-outlineColor-Select-success--focus)", "Input:outlineStyle-Select-success--focus": "var(--xmlui-outlineStyle-Select-success--focus)", "Input:outlineOffset-Select-success--focus": "var(--xmlui-outlineOffset-Select-success--focus)", "opacity-Select--disabled": "var(--xmlui-opacity-Select--disabled)", "Input:backgroundColor-Select--disabled": "var(--xmlui-backgroundColor-Select--disabled)", "Input:textColor-Select--disabled": "var(--xmlui-textColor-Select--disabled)", "Input:borderColor-Select--disabled": "var(--xmlui-borderColor-Select--disabled)", "paddingVertical-Select-badge": "var(--xmlui-paddingVertical-Select-badge)", "paddingHorizontal-Select-badge": "var(--xmlui-paddingHorizontal-Select-badge)", "Input:fontSize-Select-badge": "var(--xmlui-fontSize-Select-badge)", "Input:backgroundColor-Select-badge": "var(--xmlui-backgroundColor-Select-badge)", "Input:textColor-Select-badge": "var(--xmlui-textColor-Select-badge)", "Input:backgroundColor-Select-badge--hover": "var(--xmlui-backgroundColor-Select-badge--hover)", "Input:textColor-Select-badge--hover": "var(--xmlui-textColor-Select-badge--hover)", "Input:backgroundColor-Select-badge--active": "var(--xmlui-backgroundColor-Select-badge--active)", "Input:textColor-Select-badge--active": "var(--xmlui-textColor-Select-badge--active)", "Input:textColor-placeholder-Select": "var(--xmlui-textColor-placeholder-Select)", "Input:backgroundColor-menu-Select": "var(--xmlui-backgroundColor-menu-Select)", "Input:borderRadius-menu-Select": "var(--xmlui-borderRadius-menu-Select)", "Input:boxShadow-menu-Select": "var(--xmlui-boxShadow-menu-Select)", "Input:borderWidth-menu-Select": "var(--xmlui-borderWidth-menu-Select)", "Input:borderColor-menu-Select": "var(--xmlui-borderColor-menu-Select)", "backgroundColor-item-Select": "var(--xmlui-backgroundColor-item-Select)", "backgroundColor-item-Select--hover": "var(--xmlui-backgroundColor-item-Select--hover)", "opacity-text-item-Select--disabled": "var(--xmlui-opacity-text-item-Select--disabled)", "fontSize-Select": "var(--xmlui-fontSize-Select)", "backgroundColor-item-Select--active": "var(--xmlui-backgroundColor-item-Select--active)", "textColor-indicator-Select": "var(--xmlui-textColor-indicator-Select)"}'`,selectValue:"_selectValue_1cwq0_13",error:"_error_1cwq0_21",warning:"_warning_1cwq0_29",valid:"_valid_1cwq0_37",selectTrigger:"_selectTrigger_1cwq0_46",badgeListContainer:"_badgeListContainer_1cwq0_170",badgeList:"_badgeList_1cwq0_170",badge:"_badge_1cwq0_170",actions:"_actions_1cwq0_210",placeholder:"_placeholder_1cwq0_216",emptyList:"_emptyList_1cwq0_221",selectScrollUpButton:"_selectScrollUpButton_1cwq0_231",selectScrollDownButton:"_selectScrollDownButton_1cwq0_240",command:"_command_1cwq0_249",commandInputContainer:"_commandInputContainer_1cwq0_259",commandInput:"_commandInput_1cwq0_259",commandList:"_commandList_1cwq0_284",selectContent:"_selectContent_1cwq0_289",fadeIn:"_fadeIn_1cwq0_1",zoomIn:"_zoomIn_1cwq0_1",fadeOut:"_fadeOut_1cwq0_1",zoomOut:"_zoomOut_1cwq0_1",slideInFromTop:"_slideInFromTop_1cwq0_1",slideInFromRight:"_slideInFromRight_1cwq0_1",slideInFromLeft:"_slideInFromLeft_1cwq0_1",slideInFromBottom:"_slideInFromBottom_1cwq0_1",multiComboboxOption:"_multiComboboxOption_1cwq0_331",multiComboboxOptionContent:"_multiComboboxOptionContent_1cwq0_331",selectItem:"_selectItem_1cwq0_356",selectItemContent:"_selectItemContent_1cwq0_371",selectItemIndicator:"_selectItemIndicator_1cwq0_392",selectViewport:"_selectViewport_1cwq0_403",selectEmpty:"_selectEmpty_1cwq0_409",loading:"_loading_1cwq0_420",srOnly:"_srOnly_1cwq0_424"},xn=s.createContext(null);function vn(){return s.useContext(xn)}const fn=s.createContext(null);function gm(){return s.useContext(fn)}function xi({children:e,Component:t}){return d.jsx(fn.Provider,{value:t,children:e})}const vi=s.createContext({onOptionAdd:()=>{},onOptionRemove:()=>{}});function gn(){return s.useContext(vi)}function Tn(e){const{optionRenderer:t,label:r}=e,{onOptionRemove:o,onOptionAdd:a}=gn(),[l,i]=s.useState(null),n=s.useMemo(()=>({...e,label:r??(l==null?void 0:l.textContent)??"",keywords:[r??(l==null?void 0:l.textContent)??""]}),[e,l]);return s.useEffect(()=>(a(n),()=>o(n)),[n,a,o]),d.jsx("div",{ref:c=>i(c),style:{display:"none"},children:t==null?void 0:t({})})}const Tm=s.forwardRef(function(t,r){var Z;const{root:o}=zt(),{enabled:a,onBlur:l,autoFocus:i,onValueChange:n,validationStatus:c,value:b,height:h,style:p,placeholder:C,id:v,triggerRef:g,onFocus:T,options:y,children:$,readOnly:w}=t,_=r?sr(g,r):g,A=s.useMemo(()=>b!=null?b+"":void 0,[b]),P=s.useCallback(E=>{if(w)return;const j=Array.from(y).find(U=>`${U.value}`===E);n((j==null?void 0:j.value)??E)},[n,y]);return d.jsxs(xt.Root,{value:A,onValueChange:P,children:[d.jsxs(xt.Trigger,{id:v,"aria-haspopup":"listbox",style:p,onFocus:T,onBlur:l,disabled:!a,className:re(ve.selectTrigger,{[ve.error]:c==="error",[ve.warning]:c==="warning",[ve.valid]:c==="valid"}),ref:_,autoFocus:i,children:[d.jsx("div",{className:ve.selectValue,children:w?((Z=Array.from(y).find(E=>`${E.value}`===A))==null?void 0:Z.label)||d.jsx("span",{"aria-placeholder":C,children:C}):d.jsx(xt.Value,{"aria-placeholder":C,placeholder:C})}),d.jsx(xt.Icon,{asChild:!0,children:d.jsx(ce,{name:"chevrondown"})})]}),d.jsx(xt.Portal,{container:o,children:d.jsxs(xt.Content,{className:ve.selectContent,position:"popper",style:{height:h},children:[d.jsx(xt.ScrollUpButton,{className:ve.selectScrollUpButton,children:d.jsx(ce,{name:"chevronup"})}),d.jsx(xt.SelectViewport,{className:ve.selectViewport,role:"listbox",children:$}),d.jsx(xt.ScrollDownButton,{className:ve.selectScrollDownButton,children:d.jsx(ce,{name:"chevrondown"})})]})})]})}),Cm=s.forwardRef(function({id:t,initialValue:r,value:o,enabled:a=!0,placeholder:l,updateState:i=ae,validationStatus:n="none",onDidChange:c=ae,onFocus:b=ae,onBlur:h=ae,registerComponentApi:p,emptyListTemplate:C,optionLabelRenderer:v,optionRenderer:g,valueRenderer:T,style:y,dropdownHeight:$,children:w,autoFocus:_=!1,searchable:A=!1,multiSelect:P=!1,label:Z,labelPosition:E,labelWidth:j,labelBreak:U=!1,required:M=!1,inProgress:f=!1,inProgressNotificationMessage:x="Loading...",readOnly:H=!1},S){var be;const[O,F]=s.useState(null),[W,D]=s.useState(!1),[X,q]=s.useState(0),B=s.useRef(),{root:I}=zt(),[z,L]=s.useState(new Set),N=s.useId(),R=t||N;s.useEffect(()=>{r!==void 0&&i({value:r},{initial:!0})},[r,i]),s.useEffect(()=>{var ge;const J=O;return(ge=B.current)==null||ge.disconnect(),J&&(B.current=new ResizeObserver(()=>q(J.clientWidth)),B.current.observe(J)),()=>{var de;(de=B.current)==null||de.disconnect()}},[O]);const ie=s.useCallback(J=>{const ge=P?Array.isArray(o)?o.includes(J)?o.filter(de=>de!==J):[...o,J]:[J]:J===o?null:J;i({value:ge}),c(ge),P||D(!1)},[P,o,i,c]),me=s.useCallback(()=>{const J=P?[]:"";i({value:J}),c(J)},[P,i,c]),Te=s.useCallback(()=>{O==null||O.focus()},[O]),oe=Ce(J=>{ie(J)}),se=Ce(()=>{r!==void 0?(i({value:r}),c(r)):me()});s.useEffect(()=>{p==null||p({focus:Te,setValue:oe,reset:se})},[Te,p,oe,se]);const _e=s.useMemo(()=>C??d.jsxs("div",{className:ve.selectEmpty,children:[d.jsx(ce,{name:"noresult"}),d.jsx("span",{children:"List is empty"})]}),[C]),Ae=s.useCallback(J=>{L(ge=>new Set(ge).add(J))},[]),Ne=s.useCallback(J=>{L(ge=>{const de=new Set(ge);return de.delete(J),de})},[]),ee=s.useMemo(()=>({onOptionAdd:Ae,onOptionRemove:Ne}),[Ae,Ne]),He=s.useMemo(()=>({multiSelect:P,value:o,optionLabelRenderer:v,optionRenderer:g,onChange:ie,setOpen:D}),[P,ie,o,v,g]);return d.jsx(xn.Provider,{value:He,children:d.jsx(vi.Provider,{value:ee,children:d.jsxs(xi,{Component:Tn,children:[d.jsx(lt,{ref:S,id:R,labelPosition:E,label:Z,labelWidth:j,labelBreak:U,required:M,enabled:a,onFocus:b,onBlur:h,style:y,children:A||P?d.jsxs(Dt.Popover,{open:W,onOpenChange:D,modal:!1,children:[d.jsxs(Dt.PopoverTrigger,{id:R,"aria-haspopup":"listbox",style:y,ref:F,onFocus:b,onBlur:h,disabled:!a,"aria-expanded":W,onClick:()=>D(J=>!J),className:re(ve.selectTrigger,ve[n],{[ve.disabled]:!a,[ve.multi]:P}),autoFocus:_,children:[P?Array.isArray(o)&&o.length>0?d.jsx("div",{className:ve.badgeListContainer,children:d.jsx("div",{className:ve.badgeList,children:o.map(J=>{var ge;return T?T(Array.from(z).find(de=>de.value===`${J}`),()=>{ie(J)}):d.jsxs("span",{className:ve.badge,children:[(ge=Array.from(z).find(de=>de.value===`${J}`))==null?void 0:ge.label,d.jsx(ce,{name:"close",size:"sm",onClick:de=>{de.stopPropagation(),ie(J)}})]},J)})})}):d.jsx("span",{placeholder:l,className:ve.placeholder,children:l}):o!=null?d.jsx("div",{children:(be=Array.from(z).find(J=>J.value===o))==null?void 0:be.label}):d.jsx("span",{"aria-placeholder":l,className:ve.placeholder,children:l||""}),d.jsxs("div",{className:ve.actions,children:[P&&Array.isArray(o)&&o.length>0&&d.jsx(ce,{name:"close",onClick:J=>{J.stopPropagation(),me()}}),d.jsx(ce,{name:"chevrondown"})]})]}),W&&d.jsx(xt.Portal,{container:I,children:d.jsx(mm,{asChild:!0,loop:!0,trapped:!0,children:d.jsx(Dt.PopoverContent,{style:{width:X,height:$},className:ve.selectContent,children:d.jsxs(Lt.Command,{className:ve.command,shouldFilter:A,filter:(J,ge,de)=>(J+" "+de.join(" ")).toLowerCase().includes(ge.toLowerCase())?1:0,children:[A?d.jsxs("div",{className:ve.commandInputContainer,children:[d.jsx(ce,{name:"search"}),d.jsx(Lt.CommandInput,{className:re(ve.commandInput),placeholder:"Search..."})]}):d.jsx("button",{autoFocus:!0,"aria-hidden":"true",className:ve.srOnly}),d.jsxs(Lt.CommandList,{className:ve.commandList,children:[f&&d.jsx("div",{className:ve.loading,children:x}),Array.from(z).map(({value:J,label:ge,enabled:de,keywords:te})=>d.jsx(ym,{readOnly:H,value:J,label:ge,enabled:de,keywords:te},J)),!f&&d.jsx(Lt.CommandEmpty,{children:_e})]})]})})})})]}):d.jsx(Tm,{readOnly:!!H,ref:S,value:o,options:z,onValueChange:ie,id:R,style:y,onFocus:b,onBlur:h,enabled:a,validationStatus:n,triggerRef:F,autoFocus:_,placeholder:l,height:$,children:z.size>0?Array.from(z).map(J=>d.jsx(Cn,{value:J.value,label:J.label,enabled:J.enabled},J.value)):_e})}),w]})})})}),ym=s.forwardRef(function(t,r){const o=s.useId(),{label:a,value:l,enabled:i=!0,keywords:n,readOnly:c}=t,{value:b,onChange:h,multiSelect:p,optionLabelRenderer:C,optionRenderer:v,setOpen:g}=vn(),T=s.useMemo(()=>Array.isArray(b)&&p?b.includes(l):b===l,[b,l,p]);return d.jsx(Lt.CommandItem,{id:o,ref:r,disabled:!i,value:l,className:ve.multiComboboxOption,onSelect:()=>{if(c){g(!1);return}h(l)},"data-state":T?"checked":void 0,keywords:n,children:d.jsx("div",{className:ve.multiComboboxOptionContent,children:v?v({label:a,value:l,enabled:i,keywords:n},b,!1):d.jsxs(d.Fragment,{children:[C?C({label:a,value:l}):a,T&&d.jsx(ce,{name:"checkmark"})]})})},o)}),Cn=s.forwardRef((e,t)=>{const{value:r,label:o,enabled:a=!0}=e,{optionLabelRenderer:l,optionRenderer:i,value:n}=vn();return d.jsx(xt.Item,{ref:t,className:ve.selectItem,value:r+"",disabled:!a,"data-state":n===r&&"checked",children:d.jsx("div",{className:ve.selectItemContent,children:i?i({label:o,value:r,enabled:a},n,!1):d.jsxs(d.Fragment,{children:[d.jsx(xt.ItemText,{className:ve.selectItemContent,children:l?l({value:r,label:o}):o}),n===r&&d.jsx("span",{className:ve.selectItemIndicator,children:d.jsx(xt.ItemIndicator,{children:d.jsx(ce,{name:"checkmark"})})})]})})})});Cn.displayName="SelectOption";const st={themeVars:`'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Input:backgroundColor-RadioGroupOption-default": "var(--xmlui-backgroundColor-RadioGroupOption-default)", "borderWidth-RadioGroupOption": "var(--xmlui-borderWidth-RadioGroupOption)", "Input:borderColor-RadioGroupOption-default": "var(--xmlui-borderColor-RadioGroupOption-default)", "Input:borderColor-RadioGroupOption-default--hover": "var(--xmlui-borderColor-RadioGroupOption-default--hover)", "Input:borderColor-RadioGroupOption-default--active": "var(--xmlui-borderColor-RadioGroupOption-default--active)", "Input:borderColor-RadioGroupOption--disabled": "var(--xmlui-borderColor-RadioGroupOption--disabled)", "Input:color-RadioGroupOption--disabled": "var(--xmlui-color-RadioGroupOption--disabled)", "Input:borderColor-RadioGroupOption-error": "var(--xmlui-borderColor-RadioGroupOption-error)", "Input:borderColor-RadioGroupOption-warning": "var(--xmlui-borderColor-RadioGroupOption-warning)", "Input:borderColor-RadioGroupOption-success": "var(--xmlui-borderColor-RadioGroupOption-success)", "Input:backgroundColor-checked-RadioGroupOption-indicator": "var(--xmlui-backgroundColor-checked-RadioGroupOption-indicator)", "backgroundColor-checked-RadioGroupOption-default": "var(--xmlui-backgroundColor-checked-RadioGroupOption-default)", "backgroundColor-checked-RadioGroupOption--disabled": "var(--xmlui-backgroundColor-checked-RadioGroupOption--disabled)", "backgroundColor-checked-RadioGroupOption-error": "var(--xmlui-backgroundColor-checked-RadioGroupOption-error)", "backgroundColor-checked-RadioGroupOption-warning": "var(--xmlui-backgroundColor-checked-RadioGroupOption-warning)", "backgroundColor-checked-RadioGroupOption-success": "var(--xmlui-backgroundColor-checked-RadioGroupOption-success)", "Input:fontSize-RadioGroupOption": "var(--xmlui-fontSize-RadioGroupOption)", "Input:fontWeight-RadioGroupOption": "var(--xmlui-fontWeight-RadioGroupOption)", "Input:color-RadioGroupOption-default": "var(--xmlui-color-RadioGroupOption-default)", "Input:color-RadioGroupOption-error": "var(--xmlui-color-RadioGroupOption-error)", "Input:color-RadioGroupOption-warning": "var(--xmlui-color-RadioGroupOption-warning)", "Input:color-RadioGroupOption-success": "var(--xmlui-color-RadioGroupOption-success)", "Input:outlineWidth-RadioGroupOption--focus": "var(--xmlui-outlineWidth-RadioGroupOption--focus)", "Input:outlineColor-RadioGroupOption--focus": "var(--xmlui-outlineColor-RadioGroupOption--focus)", "Input:outlineStyle-RadioGroupOption--focus": "var(--xmlui-outlineStyle-RadioGroupOption--focus)", "Input:outlineOffset-RadioGroupOption--focus": "var(--xmlui-outlineOffset-RadioGroupOption--focus)"}'`,radioGroupContainer:"_radioGroupContainer_1easy_13",radioOptionContainer:"_radioOptionContainer_1easy_20",radioOption:"_radioOption_1easy_20",error:"_error_1easy_55",warning:"_warning_1easy_58",valid:"_valid_1easy_61",checked:"_checked_1easy_64",indicator:"_indicator_1easy_68",disabled:"_disabled_1easy_84",itemContainer:"_itemContainer_1easy_97",optionLabel:"_optionLabel_1easy_105",label:"_label_1easy_110"},fi=s.createContext({status:"none"}),Hm=s.forwardRef(function({id:t,value:r="",initialValue:o="",enabled:a=!0,validationStatus:l="none",label:i,labelPosition:n,labelWidth:c,labelBreak:b,required:h=!1,updateState:p=ae,onDidChange:C=ae,onFocus:v=ae,onBlur:g=ae,children:T,registerComponentApi:y,style:$},w){const[_,A]=s.useState(!1);s.useEffect(()=>{p({value:o},{initial:!0})},[o,p]);const P=s.useCallback(f=>{p({value:f}),C(f)},[C,p]),Z=s.useCallback(f=>{P(f)},[P]),E=s.useCallback(()=>{A(!0),v==null||v()},[v]),j=s.useCallback(()=>{A(!1),g==null||g()},[g]),U=Ce(f=>{P(f)});s.useEffect(()=>{y==null||y({setValue:U})},[y,U]);const M=s.useMemo(()=>({value:r,status:l}),[r,l]);return d.jsx(lt,{ref:w,labelPosition:n,label:i,labelWidth:c,labelBreak:b,required:h,enabled:a,onFocus:v,onBlur:g,style:$,children:d.jsx(xi,{Component:km,children:d.jsx(fi.Provider,{value:M,children:d.jsx($a.Root,{id:t,onBlur:j,onFocus:E,onValueChange:Z,value:r,disabled:!a,className:re(st.radioGroupContainer,{[st.focused]:_,[st.disabled]:!a}),children:T})})})})});function Sm(){const e=s.useContext(fi);if(!e)throw new Error("useRadioGroupValue must be used within a RadioGroup");const{value:t}=e,r=s.useCallback(o=>t===o,[t]);return{value:t,isChecked:r}}const km=({value:e,label:t,enabled:r=!0,optionRenderer:o,style:a})=>{const l=s.useId(),i=s.useContext(fi),{isChecked:n}=Sm(),c=s.useMemo(()=>({[st.disabled]:!r,[st.error]:e===i.value&&i.status==="error",[st.warning]:e===i.value&&i.status==="warning",[st.valid]:e===i.value&&i.status==="valid"}),[r,i.status,i.value,e]),b=s.useMemo(()=>d.jsxs(d.Fragment,{children:[d.jsx($a.Item,{className:re(st.radioOption,c,{[st.checked]:n(e)}),value:e,disabled:!r,id:l,children:d.jsx($a.Indicator,{className:re(st.indicator,c)})}),d.jsx("label",{htmlFor:l,className:re(st.label,c),children:t??e})]}),[r,l,t,c,e]);return d.jsx("div",{className:st.radioOptionContainer,style:a,children:o?d.jsxs("label",{className:st.optionLabel,children:[d.jsx("div",{className:st.itemContainer,children:b}),o({$checked:e===i.value})]}):b},l)},ir={themeVars:`'{"Input:borderRadius-Textarea-default": "var(--xmlui-borderRadius-Textarea-default)", "Input:borderColor-Textarea-default": "var(--xmlui-borderColor-Textarea-default)", "Input:borderWidth-Textarea-default": "var(--xmlui-borderWidth-Textarea-default)", "Input:borderStyle-Textarea-default": "var(--xmlui-borderStyle-Textarea-default)", "Input:fontSize-Textarea-default": "var(--xmlui-fontSize-Textarea-default)", "Input:padding-Textarea-default": "var(--xmlui-padding-Textarea-default)", "Input:backgroundColor-Textarea-default": "var(--xmlui-backgroundColor-Textarea-default)", "Input:boxShadow-Textarea-default": "var(--xmlui-boxShadow-Textarea-default)", "Input:textColor-Textarea-default": "var(--xmlui-textColor-Textarea-default)", "Input:borderColor-Textarea-default--hover": "var(--xmlui-borderColor-Textarea-default--hover)", "Input:backgroundColor-Textarea-default--hover": "var(--xmlui-backgroundColor-Textarea-default--hover)", "Input:boxShadow-Textarea-default--hover": "var(--xmlui-boxShadow-Textarea-default--hover)", "Input:textColor-Textarea-default--hover": "var(--xmlui-textColor-Textarea-default--hover)", "Input:borderColor-Textarea-default--focus": "var(--xmlui-borderColor-Textarea-default--focus)", "Input:backgroundColor-Textarea-default--focus": "var(--xmlui-backgroundColor-Textarea-default--focus)", "Input:boxShadow-Textarea-default--focus": "var(--xmlui-boxShadow-Textarea-default--focus)", "Input:textColor-Textarea-default--focus": "var(--xmlui-textColor-Textarea-default--focus)", "Input:outlineWidth-Textarea-default--focus": "var(--xmlui-outlineWidth-Textarea-default--focus)", "Input:outlineColor-Textarea-default--focus": "var(--xmlui-outlineColor-Textarea-default--focus)", "Input:outlineStyle-Textarea-default--focus": "var(--xmlui-outlineStyle-Textarea-default--focus)", "Input:outlineOffset-Textarea-default--focus": "var(--xmlui-outlineOffset-Textarea-default--focus)", "Input:color-placeholder-Textarea-default": "var(--xmlui-color-placeholder-Textarea-default)", "Input:borderRadius-Textarea-error": "var(--xmlui-borderRadius-Textarea-error)", "Input:borderColor-Textarea-error": "var(--xmlui-borderColor-Textarea-error)", "Input:borderWidth-Textarea-error": "var(--xmlui-borderWidth-Textarea-error)", "Input:borderStyle-Textarea-error": "var(--xmlui-borderStyle-Textarea-error)", "Input:fontSize-Textarea-error": "var(--xmlui-fontSize-Textarea-error)", "Input:padding-Textarea-error": "var(--xmlui-padding-Textarea-error)", "Input:backgroundColor-Textarea-error": "var(--xmlui-backgroundColor-Textarea-error)", "Input:boxShadow-Textarea-error": "var(--xmlui-boxShadow-Textarea-error)", "Input:textColor-Textarea-error": "var(--xmlui-textColor-Textarea-error)", "Input:borderColor-Textarea-error--hover": "var(--xmlui-borderColor-Textarea-error--hover)", "Input:backgroundColor-Textarea-error--hover": "var(--xmlui-backgroundColor-Textarea-error--hover)", "Input:boxShadow-Textarea-error--hover": "var(--xmlui-boxShadow-Textarea-error--hover)", "Input:textColor-Textarea-error--hover": "var(--xmlui-textColor-Textarea-error--hover)", "Input:borderColor-Textarea-error--focus": "var(--xmlui-borderColor-Textarea-error--focus)", "Input:backgroundColor-Textarea-error--focus": "var(--xmlui-backgroundColor-Textarea-error--focus)", "Input:boxShadow-Textarea-error--focus": "var(--xmlui-boxShadow-Textarea-error--focus)", "Input:textColor-Textarea-error--focus": "var(--xmlui-textColor-Textarea-error--focus)", "Input:outlineWidth-Textarea-error--focus": "var(--xmlui-outlineWidth-Textarea-error--focus)", "Input:outlineColor-Textarea-error--focus": "var(--xmlui-outlineColor-Textarea-error--focus)", "Input:outlineStyle-Textarea-error--focus": "var(--xmlui-outlineStyle-Textarea-error--focus)", "Input:outlineOffset-Textarea-error--focus": "var(--xmlui-outlineOffset-Textarea-error--focus)", "Input:color-placeholder-Textarea-error": "var(--xmlui-color-placeholder-Textarea-error)", "Input:borderRadius-Textarea-warning": "var(--xmlui-borderRadius-Textarea-warning)", "Input:borderColor-Textarea-warning": "var(--xmlui-borderColor-Textarea-warning)", "Input:borderWidth-Textarea-warning": "var(--xmlui-borderWidth-Textarea-warning)", "Input:borderStyle-Textarea-warning": "var(--xmlui-borderStyle-Textarea-warning)", "Input:fontSize-Textarea-warning": "var(--xmlui-fontSize-Textarea-warning)", "Input:padding-Textarea-warning": "var(--xmlui-padding-Textarea-warning)", "Input:backgroundColor-Textarea-warning": "var(--xmlui-backgroundColor-Textarea-warning)", "Input:boxShadow-Textarea-warning": "var(--xmlui-boxShadow-Textarea-warning)", "Input:textColor-Textarea-warning": "var(--xmlui-textColor-Textarea-warning)", "Input:borderColor-Textarea-warning--hover": "var(--xmlui-borderColor-Textarea-warning--hover)", "Input:backgroundColor-Textarea-warning--hover": "var(--xmlui-backgroundColor-Textarea-warning--hover)", "Input:boxShadow-Textarea-warning--hover": "var(--xmlui-boxShadow-Textarea-warning--hover)", "Input:textColor-Textarea-warning--hover": "var(--xmlui-textColor-Textarea-warning--hover)", "Input:borderColor-Textarea-warning--focus": "var(--xmlui-borderColor-Textarea-warning--focus)", "Input:backgroundColor-Textarea-warning--focus": "var(--xmlui-backgroundColor-Textarea-warning--focus)", "Input:boxShadow-Textarea-warning--focus": "var(--xmlui-boxShadow-Textarea-warning--focus)", "Input:textColor-Textarea-warning--focus": "var(--xmlui-textColor-Textarea-warning--focus)", "Input:outlineWidth-Textarea-warning--focus": "var(--xmlui-outlineWidth-Textarea-warning--focus)", "Input:outlineColor-Textarea-warning--focus": "var(--xmlui-outlineColor-Textarea-warning--focus)", "Input:outlineStyle-Textarea-warning--focus": "var(--xmlui-outlineStyle-Textarea-warning--focus)", "Input:outlineOffset-Textarea-warning--focus": "var(--xmlui-outlineOffset-Textarea-warning--focus)", "Input:color-placeholder-Textarea-warning": "var(--xmlui-color-placeholder-Textarea-warning)", "Input:borderRadius-Textarea-success": "var(--xmlui-borderRadius-Textarea-success)", "Input:borderColor-Textarea-success": "var(--xmlui-borderColor-Textarea-success)", "Input:borderWidth-Textarea-success": "var(--xmlui-borderWidth-Textarea-success)", "Input:borderStyle-Textarea-success": "var(--xmlui-borderStyle-Textarea-success)", "Input:fontSize-Textarea-success": "var(--xmlui-fontSize-Textarea-success)", "Input:padding-Textarea-success": "var(--xmlui-padding-Textarea-success)", "Input:backgroundColor-Textarea-success": "var(--xmlui-backgroundColor-Textarea-success)", "Input:boxShadow-Textarea-success": "var(--xmlui-boxShadow-Textarea-success)", "Input:textColor-Textarea-success": "var(--xmlui-textColor-Textarea-success)", "Input:borderColor-Textarea-success--hover": "var(--xmlui-borderColor-Textarea-success--hover)", "Input:backgroundColor-Textarea-success--hover": "var(--xmlui-backgroundColor-Textarea-success--hover)", "Input:boxShadow-Textarea-success--hover": "var(--xmlui-boxShadow-Textarea-success--hover)", "Input:textColor-Textarea-success--hover": "var(--xmlui-textColor-Textarea-success--hover)", "Input:borderColor-Textarea-success--focus": "var(--xmlui-borderColor-Textarea-success--focus)", "Input:backgroundColor-Textarea-success--focus": "var(--xmlui-backgroundColor-Textarea-success--focus)", "Input:boxShadow-Textarea-success--focus": "var(--xmlui-boxShadow-Textarea-success--focus)", "Input:textColor-Textarea-success--focus": "var(--xmlui-textColor-Textarea-success--focus)", "Input:outlineWidth-Textarea-success--focus": "var(--xmlui-outlineWidth-Textarea-success--focus)", "Input:outlineColor-Textarea-success--focus": "var(--xmlui-outlineColor-Textarea-success--focus)", "Input:outlineStyle-Textarea-success--focus": "var(--xmlui-outlineStyle-Textarea-success--focus)", "Input:outlineOffset-Textarea-success--focus": "var(--xmlui-outlineOffset-Textarea-success--focus)", "Input:color-placeholder-Textarea-success": "var(--xmlui-color-placeholder-Textarea-success)", "Input:backgroundColor-Textarea--disabled": "var(--xmlui-backgroundColor-Textarea--disabled)", "Input:textColor-Textarea--disabled": "var(--xmlui-textColor-Textarea--disabled)", "Input:borderColor-Textarea--disabled": "var(--xmlui-borderColor-Textarea--disabled)"}'`,textarea:"_textarea_y6osp_13",error:"_error_y6osp_53",warning:"_warning_y6osp_85",valid:"_valid_y6osp_117",resizeHorizontal:"_resizeHorizontal_y6osp_156",resizeVertical:"_resizeVertical_y6osp_160",resizeBoth:"_resizeBoth_y6osp_164"},yn=(e,t)=>{if(typeof e=="function"){e(t);return}e.current=t},wm=(e,t)=>{const r=ze.useRef();return ze.useCallback(o=>{e.current=o,r.current&&yn(r.current,null),r.current=t,t&&yn(t,o)},[t])},Im=()=>{},Bm=({maxRows:e,minRows:t,onChange:r=Im,style:o,...a},l)=>{const i=s.useRef(null),n=wm(i,l),[c,b]=ze.useState(),[h,p]=ze.useState();return s.useEffect(()=>{if(!i.current)return;const C=getComputedStyle(i.current),v=parseFloat(C.lineHeight),g=parseFloat(C.paddingTop)+parseFloat(C.paddingBottom),T=parseFloat(C.borderTop)+parseFloat(C.borderBottom),y=(C.boxSizing==="border-box"?T:0)+g;b(v*(t??1)+y),p(v*(e??1e4)+y)},[i.current,e,t]),d.jsx("textarea",{ref:n,...a,onChange:r,style:{...o,minHeight:c,maxHeight:h}})},$m=ze.forwardRef(Bm),Om={horizontal:ir.resizeHorizontal,vertical:ir.resizeVertical,both:ir.resizeBoth},Lm=s.forwardRef(function({id:t,value:r="",placeholder:o="",required:a=!1,readOnly:l=!1,allowCopy:i=!0,updateState:n=ae,validationStatus:c,autoFocus:b=!1,initialValue:h="",resize:p,onDidChange:C=ae,onFocus:v=ae,onBlur:g=ae,controlled:T=!0,enterSubmits:y=!0,escResets:$,style:w,registerComponentApi:_,autoSize:A,maxRows:P,minRows:Z,maxLength:E,rows:j=2,enabled:U=!0,label:M,labelPosition:f,labelWidth:x,labelBreak:H},S){const O=s.useRef(null),[F,W]=s.useState(null),[D,X]=s.useState(!1),q=s.useCallback(oe=>{n({value:oe}),C(oe)},[C,n]),B=s.useCallback(oe=>{q(oe.target.value)},[q]);s.useEffect(()=>{n({value:h},{initial:!0})},[h,n]);const I=oe=>i?!0:(oe.preventDefault(),!1),z=()=>{X(!0),v==null||v()},L=()=>{X(!1),g==null||g()},N=s.useCallback(()=>{setTimeout(()=>{var oe;(oe=O.current)==null||oe.focus()},0)},[]),R=s.useCallback(oe=>{const se=O==null?void 0:O.current;if(se&&oe){const _e=se.selectionStart,Ae=se.value;B({target:{value:Ae.substring(0,_e)+oe+Ae.substring(_e)}}),W(_e+oe.length)}},[O,B]),ie=Ce(oe=>{q(oe)});s.useEffect(()=>{if(F){const oe=O==null?void 0:O.current;oe&&(oe.setSelectionRange(F,F),W(null))}},[r,F,O]),s.useEffect(()=>{_==null||_({focus:N,insert:R,setValue:ie})},[N,R,_,ie]);const me=s.useCallback(oe=>{var se,_e;oe.currentTarget.form&&y&&oe.key.toLowerCase()==="enter"&&!oe.shiftKey&&(oe.preventDefault(),(se=oe.currentTarget.form)==null||se.requestSubmit()),oe.currentTarget.form&&$&&oe.key.toLowerCase()==="escape"&&!oe.shiftKey&&(oe.preventDefault(),(_e=oe.currentTarget.form)==null||_e.reset())},[y,$]),Te={className:re(ir.textarea,p?Om[p]:"",{[ir.focused]:D,[ir.disabled]:!U,[ir.error]:c==="error",[ir.warning]:c==="warning",[ir.valid]:c==="valid"}),ref:O,style:w,value:T?r||"":void 0,disabled:!U,autoFocus:b,name:t,placeholder:o,required:a,maxLength:E,"aria-multiline":!0,"aria-readonly":l,readOnly:l,onChange:B,onCopy:I,onFocus:z,onBlur:L,onKeyDown:me,autoComplete:"off"};return p==="both"||p==="horizontal"||p==="vertical"?d.jsx(lt,{ref:S,labelPosition:f,label:M,labelWidth:x,labelBreak:H,required:a,enabled:U,onFocus:v,onBlur:g,style:w,children:d.jsx($m,{...Te,style:w,maxRows:P,minRows:Z,rows:j})}):A||!Be.isNil(P)||!Be.isNil(Z)?d.jsx(lt,{ref:S,labelPosition:f,label:M,labelWidth:x,labelBreak:H,required:a,enabled:U,onFocus:v,onBlur:g,style:w,children:d.jsx(gs,{...Te,style:w,maxRows:P,minRows:Z,rows:j})}):d.jsx(lt,{ref:S,labelPosition:f,label:M,labelWidth:x,labelBreak:H,required:a,enabled:U,onFocus:v,onBlur:g,style:w,children:d.jsx("textarea",{...Te,rows:j})})}),Je={themeVars:`'{"border-AutoComplete": "var(--xmlui-border-AutoComplete)", "borderHorizontal-AutoComplete": "var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete))", "borderVertical-AutoComplete": "var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete))", "borderLeft-AutoComplete": "var(--xmlui-borderLeft-AutoComplete, var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderRight-AutoComplete": "var(--xmlui-borderRight-AutoComplete, var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderTop-AutoComplete": "var(--xmlui-borderTop-AutoComplete, var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderBottom-AutoComplete": "var(--xmlui-borderBottom-AutoComplete, var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderWidth-AutoComplete": "var(--xmlui-borderWidth-AutoComplete)", "borderHorizontalWidth-AutoComplete": "var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete))", "borderLeftWidth-AutoComplete": "var(--xmlui-borderLeftWidth-AutoComplete, var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderRightWidth-AutoComplete": "var(--xmlui-borderRightWidth-AutoComplete, var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderVerticalWidth-AutoComplete": "var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete))", "borderTopWidth-AutoComplete": "var(--xmlui-borderTopWidth-AutoComplete, var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderBottomWidth-AutoComplete": "var(--xmlui-borderBottomWidth-AutoComplete, var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderStyle-AutoComplete": "var(--xmlui-borderStyle-AutoComplete)", "borderHorizontalStyle-AutoComplete": "var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete))", "borderLeftStyle-AutoComplete": "var(--xmlui-borderLeftStyle-AutoComplete, var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderRightStyle-AutoComplete": "var(--xmlui-borderRightStyle-AutoComplete, var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderVerticalStyle-AutoComplete": "var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete))", "borderTopStyle-AutoComplete": "var(--xmlui-borderTopStyle-AutoComplete, var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderBottomStyle-AutoComplete": "var(--xmlui-borderBottomStyle-AutoComplete, var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderColor-AutoComplete": "var(--xmlui-borderColor-AutoComplete)", "borderHorizontalColor-AutoComplete": "var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete))", "borderLeftColor-AutoComplete": "var(--xmlui-borderLeftColor-AutoComplete, var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderRightColor-AutoComplete": "var(--xmlui-borderRightColor-AutoComplete, var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderVerticalColor-AutoComplete": "var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete))", "borderTopColor-AutoComplete": "var(--xmlui-borderTopColor-AutoComplete, var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderBottomColor-AutoComplete": "var(--xmlui-borderBottomColor-AutoComplete, var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderStartStartRadius-AutoComplete": "var(--xmlui-borderStartStartRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderStartEndRadius-AutoComplete": "var(--xmlui-borderStartEndRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderEndStartRadius-AutoComplete": "var(--xmlui-borderEndStartRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderEndEndRadius-AutoComplete": "var(--xmlui-borderEndEndRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "Input:borderRadius-AutoComplete-default": "var(--xmlui-borderRadius-AutoComplete-default)", "Input:borderColor-AutoComplete-default": "var(--xmlui-borderColor-AutoComplete-default)", "Input:borderWidth-AutoComplete-default": "var(--xmlui-borderWidth-AutoComplete-default)", "Input:borderStyle-AutoComplete-default": "var(--xmlui-borderStyle-AutoComplete-default)", "Input:fontSize-AutoComplete-default": "var(--xmlui-fontSize-AutoComplete-default)", "Input:backgroundColor-AutoComplete-default": "var(--xmlui-backgroundColor-AutoComplete-default)", "Input:boxShadow-AutoComplete-default": "var(--xmlui-boxShadow-AutoComplete-default)", "Input:textColor-AutoComplete-default": "var(--xmlui-textColor-AutoComplete-default)", "Input:borderColor-AutoComplete-default--hover": "var(--xmlui-borderColor-AutoComplete-default--hover)", "Input:backgroundColor-AutoComplete-default--hover": "var(--xmlui-backgroundColor-AutoComplete-default--hover)", "Input:boxShadow-AutoComplete-default--hover": "var(--xmlui-boxShadow-AutoComplete-default--hover)", "Input:textColor-AutoComplete-default--hover": "var(--xmlui-textColor-AutoComplete-default--hover)", "Input:textColor-placeholder-AutoComplete-default": "var(--xmlui-textColor-placeholder-AutoComplete-default)", "Input:borderRadius-AutoComplete-error": "var(--xmlui-borderRadius-AutoComplete-error)", "Input:borderColor-AutoComplete-error": "var(--xmlui-borderColor-AutoComplete-error)", "Input:borderWidth-AutoComplete-error": "var(--xmlui-borderWidth-AutoComplete-error)", "Input:borderStyle-AutoComplete-error": "var(--xmlui-borderStyle-AutoComplete-error)", "Input:fontSize-AutoComplete-error": "var(--xmlui-fontSize-AutoComplete-error)", "Input:backgroundColor-AutoComplete-error": "var(--xmlui-backgroundColor-AutoComplete-error)", "Input:boxShadow-AutoComplete-error": "var(--xmlui-boxShadow-AutoComplete-error)", "Input:textColor-AutoComplete-error": "var(--xmlui-textColor-AutoComplete-error)", "Input:borderColor-AutoComplete-error--hover": "var(--xmlui-borderColor-AutoComplete-error--hover)", "Input:backgroundColor-AutoComplete-error--hover": "var(--xmlui-backgroundColor-AutoComplete-error--hover)", "Input:boxShadow-AutoComplete-error--hover": "var(--xmlui-boxShadow-AutoComplete-error--hover)", "Input:textColor-AutoComplete-error--hover": "var(--xmlui-textColor-AutoComplete-error--hover)", "Input:textColor-placeholder-AutoComplete-error": "var(--xmlui-textColor-placeholder-AutoComplete-error)", "Input:borderRadius-AutoComplete-warning": "var(--xmlui-borderRadius-AutoComplete-warning)", "Input:borderColor-AutoComplete-warning": "var(--xmlui-borderColor-AutoComplete-warning)", "Input:borderWidth-AutoComplete-warning": "var(--xmlui-borderWidth-AutoComplete-warning)", "Input:borderStyle-AutoComplete-warning": "var(--xmlui-borderStyle-AutoComplete-warning)", "Input:fontSize-AutoComplete-warning": "var(--xmlui-fontSize-AutoComplete-warning)", "Input:backgroundColor-AutoComplete-warning": "var(--xmlui-backgroundColor-AutoComplete-warning)", "Input:boxShadow-AutoComplete-warning": "var(--xmlui-boxShadow-AutoComplete-warning)", "Input:textColor-AutoComplete-warning": "var(--xmlui-textColor-AutoComplete-warning)", "Input:borderColor-AutoComplete-warning--hover": "var(--xmlui-borderColor-AutoComplete-warning--hover)", "Input:backgroundColor-AutoComplete-warning--hover": "var(--xmlui-backgroundColor-AutoComplete-warning--hover)", "Input:boxShadow-AutoComplete-warning--hover": "var(--xmlui-boxShadow-AutoComplete-warning--hover)", "Input:textColor-AutoComplete-warning--hover": "var(--xmlui-textColor-AutoComplete-warning--hover)", "Input:textColor-placeholder-AutoComplete-warning": "var(--xmlui-textColor-placeholder-AutoComplete-warning)", "Input:borderRadius-AutoComplete-success": "var(--xmlui-borderRadius-AutoComplete-success)", "Input:borderColor-AutoComplete-success": "var(--xmlui-borderColor-AutoComplete-success)", "Input:borderWidth-AutoComplete-success": "var(--xmlui-borderWidth-AutoComplete-success)", "Input:borderStyle-AutoComplete-success": "var(--xmlui-borderStyle-AutoComplete-success)", "Input:fontSize-AutoComplete-success": "var(--xmlui-fontSize-AutoComplete-success)", "Input:backgroundColor-AutoComplete-success": "var(--xmlui-backgroundColor-AutoComplete-success)", "Input:boxShadow-AutoComplete-success": "var(--xmlui-boxShadow-AutoComplete-success)", "Input:textColor-AutoComplete-success": "var(--xmlui-textColor-AutoComplete-success)", "Input:borderColor-AutoComplete-success--hover": "var(--xmlui-borderColor-AutoComplete-success--hover)", "Input:backgroundColor-AutoComplete-success--hover": "var(--xmlui-backgroundColor-AutoComplete-success--hover)", "Input:boxShadow-AutoComplete-success--hover": "var(--xmlui-boxShadow-AutoComplete-success--hover)", "Input:textColor-AutoComplete-success--hover": "var(--xmlui-textColor-AutoComplete-success--hover)", "Input:textColor-placeholder-AutoComplete-success": "var(--xmlui-textColor-placeholder-AutoComplete-success)", "Input:backgroundColor-AutoComplete--disabled": "var(--xmlui-backgroundColor-AutoComplete--disabled)", "Input:textColor-AutoComplete--disabled": "var(--xmlui-textColor-AutoComplete--disabled)", "Input:borderColor-AutoComplete--disabled": "var(--xmlui-borderColor-AutoComplete--disabled)", "Input:outlineWidth-AutoComplete--focus": "var(--xmlui-outlineWidth-AutoComplete--focus)", "Input:outlineColor-AutoComplete--focus": "var(--xmlui-outlineColor-AutoComplete--focus)", "Input:outlineStyle-AutoComplete--focus": "var(--xmlui-outlineStyle-AutoComplete--focus)", "Input:outlineOffset-AutoComplete--focus": "var(--xmlui-outlineOffset-AutoComplete--focus)", "paddingVertical-AutoComplete-badge": "var(--xmlui-paddingVertical-AutoComplete-badge)", "paddingHorizontal-AutoComplete-badge": "var(--xmlui-paddingHorizontal-AutoComplete-badge)", "Input:fontSize-AutoComplete-badge": "var(--xmlui-fontSize-AutoComplete-badge)", "Input:backgroundColor-AutoComplete-badge": "var(--xmlui-backgroundColor-AutoComplete-badge)", "Input:textColor-AutoComplete-badge": "var(--xmlui-textColor-AutoComplete-badge)", "Input:backgroundColor-AutoComplete-badge--hover": "var(--xmlui-backgroundColor-AutoComplete-badge--hover)", "Input:textColor-AutoComplete-badge--hover": "var(--xmlui-textColor-AutoComplete-badge--hover)", "Input:backgroundColor-AutoComplete-badge--active": "var(--xmlui-backgroundColor-AutoComplete-badge--active)", "Input:textColor-AutoComplete-badge--active": "var(--xmlui-textColor-AutoComplete-badge--active)", "Input:textColor-placeholder-AutoComplete": "var(--xmlui-textColor-placeholder-AutoComplete)", "Input:backgroundColor-menu-AutoComplete": "var(--xmlui-backgroundColor-menu-AutoComplete)", "Input:borderRadius-menu-AutoComplete": "var(--xmlui-borderRadius-menu-AutoComplete)", "Input:boxShadow-menu-AutoComplete": "var(--xmlui-boxShadow-menu-AutoComplete)", "backgroundColor-item-AutoComplete": "var(--xmlui-backgroundColor-item-AutoComplete)", "backgroundColor-item-AutoComplete--hover": "var(--xmlui-backgroundColor-item-AutoComplete--hover)", "textColor-item-AutoComplete--disabled": "var(--xmlui-textColor-item-AutoComplete--disabled)"}'`,command:"_command_xh4ul_13",badgeListWrapper:"_badgeListWrapper_xh4ul_20",error:"_error_xh4ul_45",warning:"_warning_xh4ul_64",valid:"_valid_xh4ul_83",disabled:"_disabled_xh4ul_102",focused:"_focused_xh4ul_109",badgeList:"_badgeList_xh4ul_20",badge:"_badge_xh4ul_20",commandInput:"_commandInput_xh4ul_150",actions:"_actions_xh4ul_166",action:"_action_xh4ul_166",autoCompleteEmpty:"_autoCompleteEmpty_xh4ul_176",commandList:"_commandList_xh4ul_186","fade-in":"_fade-in_xh4ul_1",autoCompleteOption:"_autoCompleteOption_xh4ul_199"},Hn=s.createContext({value:null,onChange:e=>{},optionRenderer:e=>d.jsx("div",{children:e.label}),inputValue:"",options:new Set,open:!1,setOpen:e=>{}});function Sn(){return s.useContext(Hn)}function _m(e){return d.jsx("div",{children:e.label})}function Vm(e,t){return t.some(r=>Array.from(e).some(o=>o.value===r.value||o.label===r.label))}const Am=s.forwardRef(function({id:t,initialValue:r,value:o,enabled:a=!0,placeholder:l,updateState:i=ae,validationStatus:n="none",onDidChange:c=ae,onFocus:b=ae,onBlur:h=ae,registerComponentApi:p,optionRenderer:C=_m,emptyListTemplate:v,style:g,children:T,readOnly:y=!1,autoFocus:$=!1,dropdownHeight:w,multi:_=!1,label:A,labelPosition:P,labelWidth:Z,labelBreak:E,required:j=!1,creatable:U=!1},M){const[f,x]=s.useState(null),H=s.useRef(null),[S,O]=s.useState(!1),F=s.useRef(null),[W,D]=s.useState(new Set),[X,q]=s.useState(""),{root:B}=zt(),[I,z]=s.useState(0),L=s.useRef(),N=s.useId(),R=t||N,[ie,me]=s.useState(""),[Te,oe]=s.useState(!1);s.useEffect(()=>{r!==void 0&&i({value:r||[]},{initial:!0})},[r,i]),s.useEffect(()=>{var G;const te=f;return(G=L.current)==null||G.disconnect(),te&&(L.current=new ResizeObserver(()=>z(te.clientWidth)),L.current.observe(te)),()=>{var le;(le=L.current)==null||le.disconnect()}},[f]);const se=s.useMemo(()=>{const te=Array.from(W);return Array.isArray(o)?o.length===0?[]:te.filter(G=>o.includes(`${G.value}`)):te.find(G=>`${G.value}`==`${o}`)},[o,W]),_e=s.useCallback(te=>{var le;if(_?(q(""),me("")):O(!0),te==="")return;const G=_?Array.isArray(o)?o.includes(te)?o.filter(pe=>pe!==te):[...o,te]:[te]:te===o?null:te;i({value:G}),c(G),(le=H.current)==null||le.focus()},[_,o,i,c,H.current]);s.useEffect(()=>{Array.isArray(se)||(q((se==null?void 0:se.label)||""),me(""))},[_,se]);const Ae=s.useCallback(()=>{const te=_?[]:"";q(""),i({value:te}),c(te)},[_,i,c]),Ne=s.useCallback(te=>{D(G=>new Set(G).add(te))},[]),ee=s.useCallback(te=>{D(G=>{const le=new Set(G);return le.delete(te),le})},[]),He=s.useMemo(()=>v??d.jsxs("div",{className:Je.autoCompleteEmpty,children:[d.jsx(ce,{name:"noresult"}),d.jsx("span",{children:"List is empty"})]}),[v]),be=s.useCallback(()=>{var te;(te=H==null?void 0:H.current)==null||te.focus()},[H==null?void 0:H.current]),J=Ce(te=>{i({value:te})});s.useEffect(()=>{p==null||p({focus:be,setValue:J})},[be,p,J]);const ge=s.useMemo(()=>({onOptionAdd:Ne,onOptionRemove:ee}),[Ne,ee]),de=s.useMemo(()=>({multi:_,value:o,onChange:_e,optionRenderer:C,options:W,inputValue:X,open:S,setOpen:O}),[X,_,C,W,_e,o,S,O]);return d.jsx(Hn.Provider,{value:de,children:d.jsx(xi,{Component:Tn,children:d.jsxs(vi.Provider,{value:ge,children:[d.jsx(lt,{id:R,ref:M,labelPosition:P,label:A,labelWidth:Z,labelBreak:E,required:j,enabled:a,onFocus:b,onBlur:h,style:g,children:d.jsx(Dt.Popover,{open:S,onOpenChange:te=>{y||O(te)},modal:!1,children:d.jsxs(Lt.Command,{ref:F,className:Je.command,filter:(te,G,le)=>y||!ie||ie.trim()===""||(te+" "+le.join(" ")).toLowerCase().includes(G.toLowerCase())?1:0,children:[d.jsx(Dt.PopoverTrigger,{asChild:!0,children:d.jsxs("div",{id:R,ref:x,style:{width:"100%",...g},className:re(Je.badgeListWrapper,Je[n],{[Je.disabled]:!a,[Je.focused]:Te}),children:[Array.isArray(se)&&d.jsx("div",{className:Je.badgeList,children:se.map((te,G)=>d.jsxs("span",{className:Je.badge,children:[te==null?void 0:te.label,!y&&d.jsx(ce,{name:"close",size:"sm",onClick:le=>{le.stopPropagation(),_e(te.value)}})]},G))}),d.jsx(Lt.CommandInput,{onFocus:()=>{oe(!0),b()},onBlur:()=>{X===""&&!_?Ae():!Array.isArray(se)&&X!==(se==null?void 0:se.label)?q(se==null?void 0:se.label):q(""),h(),oe(!1)},onKeyDown:te=>{y||(te.key==="ArrowDown"&&O(!0),te.key==="Enter"&&O(G=>!G))},id:t,readOnly:y,autoFocus:$,ref:H,value:X,disabled:!a,onValueChange:te=>{O(!0),q(te),me(te)},placeholder:y?"":l,className:Je.commandInput}),d.jsxs("div",{className:Je.actions,children:[(o==null?void 0:o.length)>0&&a&&!y&&d.jsx("span",{className:Je.action,onClick:te=>{te.stopPropagation(),Ae()},children:d.jsx(ce,{name:"close"})}),d.jsx("span",{className:Je.action,onClick:()=>{y||O(!S)},children:d.jsx(ce,{name:"chevrondown"})})]})]})}),S&&d.jsx(Dt.Portal,{container:B,children:d.jsx(Dt.PopoverContent,{asChild:!0,style:{width:I,height:w},className:Je.popoverContent,align:"start",onOpenAutoFocus:te=>te.preventDefault(),children:d.jsxs(Lt.CommandList,{role:"listbox",className:Je.commandList,style:{height:w},children:[d.jsx(Lt.CommandEmpty,{children:He}),U&&d.jsx(Wm,{}),d.jsx(Lt.CommandGroup,{children:Array.from(W).map(({value:te,label:G,enabled:le,keywords:pe})=>d.jsx(Nm,{value:te,label:G,enabled:le,keywords:pe,readOnly:y},te))})]})})})]})})}),T]})})})});function Wm(){const{value:e,options:t,inputValue:r,onChange:o,setOpen:a}=Sn(),{onOptionAdd:l}=gn();if(Vm(t,[{value:r,label:r}])||Array.isArray(e)&&(e!=null&&e.find(n=>n===r))||r===e)return d.jsx("span",{style:{display:"none"}});const i=d.jsx(Lt.CommandItem,{value:r,className:Je.autoCompleteOption,onMouseDown:n=>{n.preventDefault(),n.stopPropagation()},onSelect:n=>{l({value:n,label:n,enabled:!0}),o(n),a(!1)},children:`Create "${r}"`});return r.length>0?i:d.jsx("span",{style:{display:"none"}})}function Nm({value:e,label:t,enabled:r=!0,keywords:o,readOnly:a}){const l=s.useId(),{value:i,onChange:n,optionRenderer:c,multi:b,setOpen:h}=Sn(),p=b?i==null?void 0:i.includes(e):i===e;return d.jsxs(Lt.CommandItem,{id:l,disabled:!r,value:`${e}`,className:re(Je.autoCompleteOption,{[Je.disabledOption]:!r}),onMouseDown:C=>{C.preventDefault(),C.stopPropagation()},onSelect:()=>{!a&&r&&n(e),h(!1)},"data-state":r?p?"checked":void 0:"disabled",keywords:o,children:[c({label:t,value:e}),p&&d.jsx(ce,{name:"checkmark"})]},l)}const dt={themeVars:`'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor-track-Slider)", "Input:borderRadius-Slider-default": "var(--xmlui-borderRadius-Slider-default)", "Input:borderColor-Slider-default": "var(--xmlui-borderColor-Slider-default)", "Input:borderWidth-Slider-default": "var(--xmlui-borderWidth-Slider-default)", "Input:borderStyle-Slider-default": "var(--xmlui-borderStyle-Slider-default)", "Input:boxShadow-Slider-default": "var(--xmlui-boxShadow-Slider-default)", "Input:borderColor-Slider-default--hover": "var(--xmlui-borderColor-Slider-default--hover)", "Input:boxShadow-Slider-default--hover": "var(--xmlui-boxShadow-Slider-default--hover)", "Input:borderColor-Slider-default--focus": "var(--xmlui-borderColor-Slider-default--focus)", "Input:boxShadow-Slider-default--focus": "var(--xmlui-boxShadow-Slider-default--focus)", "Input:borderRadius-Slider-error": "var(--xmlui-borderRadius-Slider-error)", "Input:borderColor-Slider-error": "var(--xmlui-borderColor-Slider-error)", "Input:borderWidth-Slider-error": "var(--xmlui-borderWidth-Slider-error)", "Input:borderStyle-Slider-error": "var(--xmlui-borderStyle-Slider-error)", "Input:boxShadow-Slider-error": "var(--xmlui-boxShadow-Slider-error)", "Input:borderColor-Slider-error--hover": "var(--xmlui-borderColor-Slider-error--hover)", "Input:boxShadow-Slider-error--hover": "var(--xmlui-boxShadow-Slider-error--hover)", "Input:borderColor-Slider-error--focus": "var(--xmlui-borderColor-Slider-error--focus)", "Input:boxShadow-Slider-error--focus": "var(--xmlui-boxShadow-Slider-error--focus)", "Input:borderRadius-Slider-warning": "var(--xmlui-borderRadius-Slider-warning)", "Input:borderColor-Slider-warning": "var(--xmlui-borderColor-Slider-warning)", "Input:borderWidth-Slider-warning": "var(--xmlui-borderWidth-Slider-warning)", "Input:borderStyle-Slider-warning": "var(--xmlui-borderStyle-Slider-warning)", "Input:boxShadow-Slider-warning": "var(--xmlui-boxShadow-Slider-warning)", "Input:borderColor-Slider-warning--hover": "var(--xmlui-borderColor-Slider-warning--hover)", "Input:boxShadow-Slider-warning--hover": "var(--xmlui-boxShadow-Slider-warning--hover)", "Input:borderColor-Slider-warning--focus": "var(--xmlui-borderColor-Slider-warning--focus)", "Input:boxShadow-Slider-warning--focus": "var(--xmlui-boxShadow-Slider-warning--focus)", "Input:borderRadius-Slider-success": "var(--xmlui-borderRadius-Slider-success)", "Input:borderColor-Slider-success": "var(--xmlui-borderColor-Slider-success)", "Input:borderWidth-Slider-success": "var(--xmlui-borderWidth-Slider-success)", "Input:borderStyle-Slider-success": "var(--xmlui-borderStyle-Slider-success)", "Input:boxShadow-Slider-success": "var(--xmlui-boxShadow-Slider-success)", "Input:borderColor-Slider-success--hover": "var(--xmlui-borderColor-Slider-success--hover)", "Input:boxShadow-Slider-success--hover": "var(--xmlui-boxShadow-Slider-success--hover)", "Input:borderColor-Slider-success--focus": "var(--xmlui-borderColor-Slider-success--focus)", "Input:boxShadow-Slider-success--focus": "var(--xmlui-boxShadow-Slider-success--focus)", "Input:backgroundColor-track-Slider--disabled": "var(--xmlui-backgroundColor-track-Slider--disabled)", "Input:backgroundColor-range-Slider": "var(--xmlui-backgroundColor-range-Slider)", "Input:backgroundColor-range-Slider--disabled": "var(--xmlui-backgroundColor-range-Slider--disabled)", "Input:borderWidth-thumb-Slider": "var(--xmlui-borderWidth-thumb-Slider)", "Input:borderStyle-thumb-Slider": "var(--xmlui-borderStyle-thumb-Slider)", "Input:borderColor-thumb-Slider": "var(--xmlui-borderColor-thumb-Slider)", "Input:backgroundColor-thumb-Slider": "var(--xmlui-backgroundColor-thumb-Slider)", "Input:boxShadow-thumb-Slider": "var(--xmlui-boxShadow-thumb-Slider)"}'`,sliderContainer:"_sliderContainer_lamaf_13",sliderRoot:"_sliderRoot_lamaf_19",sliderTrack:"_sliderTrack_lamaf_29",error:"_error_lamaf_51",warning:"_warning_lamaf_66",valid:"_valid_lamaf_81",disabled:"_disabled_lamaf_96",sliderRange:"_sliderRange_lamaf_100",sliderThumb:"_sliderThumb_lamaf_110",readOnly:"_readOnly_lamaf_134"},kn=(e,t=0)=>e===void 0?[t]:typeof e=="number"?[e]:Array.isArray(e)&&e.length>0?e:[t],wn=s.forwardRef(({style:e,step:t=1,min:r=0,max:o=10,inverted:a,updateState:l,onDidChange:i=ae,onFocus:n=ae,onBlur:c=ae,registerComponentApi:b,enabled:h=!0,value:p,autoFocus:C,readOnly:v,tabIndex:g=-1,label:T,labelPosition:y,labelWidth:$,labelBreak:w,required:_,validationStatus:A="none",initialValue:P,minStepsBetweenThumbs:Z,rangeStyle:E,thumbStyle:j,showValues:U=!0,valueFormat:M=x=>x.toString()},f)=>{const x=s.useRef(null),[H,S]=s.useState([]);s.useEffect(()=>{let L;if(typeof P=="string")try{L=JSON.parse(P)}catch{const ie=parseFloat(P);isNaN(ie)||(L=ie)}else L=P;const N=kn(L,r);S(N),l&&l({value:N.length===1?N[0]:N},{initial:!0})},[P,r,l]),s.useEffect(()=>{if(p!==void 0){const L=kn(p,r);S(L)}},[p,r]);const O=s.useCallback(L=>{l&&l({value:L}),i(L)},[i,l]),F=s.useCallback(L=>{S(L),x.current&&(x.current.value=L),L.length>1?O(L):L.length===1&&O(L[0])},[O]),W=s.useCallback(()=>{n==null||n()},[n]),D=s.useCallback(()=>{c==null||c()},[c]),X=s.useCallback(()=>{var L;(L=x.current)==null||L.focus()},[]),q=Ce(L=>{O(L)});s.useEffect(()=>{b==null||b({focus:X,setValue:q})},[X,b,q]);const B=H.length>0?H:[r],I=B.map(L=>M(L)).join(", "),z=T?U?`${T} ${I}`:T:U?I:"";return d.jsx(lt,{labelPosition:y,label:z,labelWidth:$,labelBreak:w,required:_,enabled:h,onFocus:n,onBlur:c,style:e,ref:f,children:d.jsx("div",{className:dt.sliderContainer,children:d.jsxs(_o.Root,{minStepsBetweenThumbs:Z||1,ref:x,tabIndex:g,"aria-readonly":v,className:re(dt.sliderRoot,{[dt.disabled]:!h,[dt.readOnly]:v}),style:e,max:o,min:r,inverted:a,step:t,disabled:!h,onFocus:W,onBlur:D,onValueChange:F,"aria-required":_,value:B,autoFocus:C,children:[d.jsx(_o.Track,{className:re(dt.sliderTrack,{[dt.disabled]:!h,[dt.readOnly]:v,[dt.error]:A==="error",[dt.warning]:A==="warning",[dt.valid]:A==="valid"}),style:E?{...E}:void 0,children:d.jsx(_o.Range,{className:re(dt.sliderRange,{[dt.disabled]:!h})})}),B.map((L,N)=>d.jsx(_o.Thumb,{className:re(dt.sliderThumb,{[dt.disabled]:!h}),style:j?{...j}:void 0},N))]})})})});wn.displayName=_o.Root.displayName;const Co={themeVars:`'{"Input:backgroundColor-ColorPicker": "var(--xmlui-backgroundColor-ColorPicker)", "Input:borderRadius-ColorPicker-default": "var(--xmlui-borderRadius-ColorPicker-default)", "Input:borderColor-ColorPicker-default": "var(--xmlui-borderColor-ColorPicker-default)", "Input:borderWidth-ColorPicker-default": "var(--xmlui-borderWidth-ColorPicker-default)", "Input:borderStyle-ColorPicker-default": "var(--xmlui-borderStyle-ColorPicker-default)", "Input:boxShadow-ColorPicker-default": "var(--xmlui-boxShadow-ColorPicker-default)", "Input:borderColor-ColorPicker-default--hover": "var(--xmlui-borderColor-ColorPicker-default--hover)", "Input:boxShadow-ColorPicker-default--hover": "var(--xmlui-boxShadow-ColorPicker-default--hover)", "Input:borderColor-ColorPicker-default--focus": "var(--xmlui-borderColor-ColorPicker-default--focus)", "Input:boxShadow-ColorPicker-default--focus": "var(--xmlui-boxShadow-ColorPicker-default--focus)", "Input:borderRadius-ColorPicker-error": "var(--xmlui-borderRadius-ColorPicker-error)", "Input:borderColor-ColorPicker-error": "var(--xmlui-borderColor-ColorPicker-error)", "Input:borderWidth-ColorPicker-error": "var(--xmlui-borderWidth-ColorPicker-error)", "Input:borderStyle-ColorPicker-error": "var(--xmlui-borderStyle-ColorPicker-error)", "Input:boxShadow-ColorPicker-error": "var(--xmlui-boxShadow-ColorPicker-error)", "Input:borderColor-ColorPicker-error--hover": "var(--xmlui-borderColor-ColorPicker-error--hover)", "Input:boxShadow-ColorPicker-error--hover": "var(--xmlui-boxShadow-ColorPicker-error--hover)", "Input:borderColor-ColorPicker-error--focus": "var(--xmlui-borderColor-ColorPicker-error--focus)", "Input:boxShadow-ColorPicker-error--focus": "var(--xmlui-boxShadow-ColorPicker-error--focus)", "Input:borderRadius-ColorPicker-warning": "var(--xmlui-borderRadius-ColorPicker-warning)", "Input:borderColor-ColorPicker-warning": "var(--xmlui-borderColor-ColorPicker-warning)", "Input:borderWidth-ColorPicker-warning": "var(--xmlui-borderWidth-ColorPicker-warning)", "Input:borderStyle-ColorPicker-warning": "var(--xmlui-borderStyle-ColorPicker-warning)", "Input:boxShadow-ColorPicker-warning": "var(--xmlui-boxShadow-ColorPicker-warning)", "Input:borderColor-ColorPicker-warning--hover": "var(--xmlui-borderColor-ColorPicker-warning--hover)", "Input:boxShadow-ColorPicker-warning--hover": "var(--xmlui-boxShadow-ColorPicker-warning--hover)", "Input:borderColor-ColorPicker-warning--focus": "var(--xmlui-borderColor-ColorPicker-warning--focus)", "Input:boxShadow-ColorPicker-warning--focus": "var(--xmlui-boxShadow-ColorPicker-warning--focus)", "Input:borderRadius-ColorPicker-success": "var(--xmlui-borderRadius-ColorPicker-success)", "Input:borderColor-ColorPicker-success": "var(--xmlui-borderColor-ColorPicker-success)", "Input:borderWidth-ColorPicker-success": "var(--xmlui-borderWidth-ColorPicker-success)", "Input:borderStyle-ColorPicker-success": "var(--xmlui-borderStyle-ColorPicker-success)", "Input:boxShadow-ColorPicker-success": "var(--xmlui-boxShadow-ColorPicker-success)", "Input:borderColor-ColorPicker-success--hover": "var(--xmlui-borderColor-ColorPicker-success--hover)", "Input:boxShadow-ColorPicker-success--hover": "var(--xmlui-boxShadow-ColorPicker-success--hover)", "Input:borderColor-ColorPicker-success--focus": "var(--xmlui-borderColor-ColorPicker-success--focus)", "Input:boxShadow-ColorPicker-success--focus": "var(--xmlui-boxShadow-ColorPicker-success--focus)"}'`,colorInput:"_colorInput_ays9f_13",error:"_error_ays9f_41",warning:"_warning_ays9f_56",valid:"_valid_ays9f_71"},Uo={initialValue:"",value:"",enabled:!0,validationStatus:"none"},In=s.forwardRef(({style:e,updateState:t,onDidChange:r=ae,onFocus:o=ae,onBlur:a=ae,registerComponentApi:l,enabled:i=Uo.enabled,value:n=Uo.value,autoFocus:c,tabIndex:b=-1,label:h,labelPosition:p,labelWidth:C,labelBreak:v,required:g,validationStatus:T=Uo.validationStatus,initialValue:y=Uo.initialValue},$)=>{const w=s.useRef(null),_=s.useCallback(U=>{t({value:U}),r(U)},[r,t]),A=s.useCallback(U=>{_(U.target.value)},[_]);s.useEffect(()=>{t({value:y},{initial:!0})},[y,t]);const P=s.useCallback(()=>{o==null||o()},[o]),Z=s.useCallback(()=>{a==null||a()},[a]),E=s.useCallback(()=>{var U;(U=w.current)==null||U.focus()},[]),j=Ce(U=>{_(U)});return s.useEffect(()=>{l==null||l({focus:E,setValue:j})},[E,l,j]),d.jsx(lt,{labelPosition:p,label:h,labelWidth:C,labelBreak:v,required:g,enabled:i,onFocus:o,onBlur:a,style:e,ref:$,children:d.jsx("input",{className:re(Co.colorInput,{[Co.disabled]:!i,[Co.error]:T==="error",[Co.warning]:T==="warning",[Co.valid]:T==="valid"}),disabled:!i,onFocus:P,onChange:A,autoFocus:c,onBlur:Z,required:g,type:"color",inputMode:"text",ref:w,value:n,tabIndex:b})})});In.displayName="ColorPicker";const qo={helper:"_helper_1qbfk_13",helperText:"_helperText_1qbfk_24",valid:"_valid_1qbfk_29",error:"_error_1qbfk_34",warning:"_warning_1qbfk_39"};function zm(e){return so({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]})(e)}const Em=e=>d.jsx(zm,{...e});function Pm(e){return so({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.953 2C6.465 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.493 2 11.953 2zM12 20c-4.411 0-8-3.589-8-8s3.567-8 7.953-8C16.391 4 20 7.589 20 12s-3.589 8-8 8z"}},{tag:"path",attr:{d:"M11 7h2v7h-2zm0 8h2v2h-2z"}}]})(e)}const Mm=e=>d.jsx(Pm,{...e}),Bn=({text:e="",status:t,style:r})=>{const o=()=>{if(t==="warning")return d.jsx(Em,{color:"var(--xmlui-color-warning)"});if(t==="error")return d.jsx(Mm,{color:"var(--xmlui-color-error)"})};return d.jsxs("div",{"data-validation-status":t,style:r,className:re(qo.helper,{[qo.valid]:t==="valid",[qo.warning]:t==="warning",[qo.error]:t==="error"}),children:[t&&d.jsx("div",{style:{flexShrink:0},children:o()}),e&&d.jsx("div",{className:qo.helperText,children:e})]})},Dm=s.forwardRef(function({id:t,style:r,value:o,initialValue:a,zeroOrPositive:l=!1,min:i=l?0:-999999999999999,max:n=fo,maxFractionDigits:c=3,enabled:b=!0,placeholder:h,step:p,integersOnly:C=!1,validationStatus:v="none",hasSpinBox:g=!0,updateState:T=ae,onDidChange:y=ae,onFocus:$=ae,onBlur:w=ae,registerComponentApi:_,startText:A,startIcon:P,endText:Z,endIcon:E,spinnerUpIcon:j,spinnerDownIcon:U,autoFocus:M,readOnly:f,required:x,label:H,labelPosition:S,labelWidth:O,labelBreak:F},W){const D=s.useRef(null),X=s.useRef(null),q=s.useRef(null),B="en-US",I=s.useMemo(()=>({useGrouping:!1,minimumFractionDigits:0,maximumFractionDigits:C?0:c}),[c,C]),z=Rm(B,I),L=Fm(B,I);i=Qr(Fo(i,!0)??(l?0:-999999999999999),l?0:-999999999999999,fo),n=Qr(Fo(n,!0)??(l?0:-999999999999999),l?0:-999999999999999,fo);const N=s.useCallback((G,le="")=>go(G)||Be.isNaN(L.parse(G.toString()))?le:z.format(Qr(+G,i,n)),[z,L,i,n]),[R,ie]=s.useState(N(o));s.useLayoutEffect(()=>{ie(N(o))},[o,N]);const me=Xm(R,D),Te=Fo(p,!0)??an,oe=s.useMemo(()=>z.resolvedOptions().maximumFractionDigits>0?"decimal":"numeric",[z]);s.useEffect(()=>{T({value:a},{initial:!0})},[a,T]);const se=s.useCallback(G=>Qr(G,i,n),[i,n]),_e=s.useCallback(G=>{if(go(G)){T({value:null});return}if(G=G.toString(),!G.length){T({value:null});return}let le=L.parse(G);if(le=se(le),Be.isNaN(le)){T({value:G});return}ie(pe=>{const tt=z.format(le);return pe!==tt?tt:pe}),T({value:le})},[se,T,L,z]),Ae=s.useCallback(()=>{if(!b||f)return;const G=go(o)||Be.isNaN(o)?"0":o.toString(),le=On(G,L,"increase",Te,i,n);T({value:le})},[o,b,f,L,Te,i,n,T]),Ne=s.useCallback(()=>{if(!b||f)return;const G=go(o)||Be.isNaN(o)?"0":o.toString(),le=On(G,L,"decrease",Te,i,n);T({value:le})},[o,b,f,L,Te,i,n,T]);$n(X.current,Ae),$n(q.current,Ne);const ee=s.useCallback(G=>{const le=G.target,pe=L.parse(le.value.slice(0,le.selectionStart??void 0)+(G.nativeEvent.data??"")+le.value.slice(le.selectionEnd??void 0)).toString();L.isValidPartialNumber(pe,i,n)||G.preventDefault()},[L,i,n]),He=s.useCallback(G=>{const le=G.target.value;let pe=se(L.parse(G.target.value));C&&Number.isInteger(pe)&&(pe=Math.trunc(pe)),Um(le,B,I)?T({value:pe}):ie(le),me(G),y(pe)},[se,L,y,B,I,me,T,C]),be=s.useCallback(()=>{$==null||$()},[$]),J=s.useCallback(G=>{const le=G.target.value;_e(le),w()},[_e,w]),ge=s.useCallback(G=>{G.key==="Enter"&&_e(o),G.code==="ArrowUp"&&(G.preventDefault(),Ae()),G.code==="ArrowDown"&&(G.preventDefault(),Ne())},[_e,Ae,Ne,o]),de=s.useCallback(()=>{var G;(G=D.current)==null||G.focus()},[]);s.useEffect(()=>{M&&setTimeout(()=>{var G;(G=D.current)==null||G.focus()},0)},[M]);const te=Ce(G=>{T({value:G})});return s.useEffect(()=>{_==null||_({focus:de,setValue:te})},[de,_,te]),d.jsx(lt,{ref:W,labelPosition:S,label:H,labelWidth:O,labelBreak:F,required:x,enabled:b,onFocus:$,onBlur:w,style:r,children:d.jsxs("div",{className:re(Oe.inputRoot,{[Oe.readOnly]:f,[Oe.disabled]:!b,[Oe.noSpinBox]:!g,[Oe.error]:v==="error",[Oe.warning]:v==="warning",[Oe.valid]:v==="valid"}),tabIndex:-1,onFocus:()=>{var G;(G=D.current)==null||G.focus()},children:[d.jsx(fr,{text:A,iconName:P,className:Oe.adornment}),d.jsx("input",{id:t,ref:D,type:"text",placeholder:h,required:x,readOnly:f,disabled:!b,inputMode:oe,className:re(Oe.input),value:R,min:i,max:n,autoFocus:M,onBeforeInput:ee,onChange:He,onFocus:be,onBlur:J,onKeyDown:ge}),d.jsx(fr,{text:Z,iconName:E,className:Oe.adornment}),g&&d.jsxs("div",{className:Oe.spinnerBox,children:[d.jsx(ot,{"data-spinner":"up",type:"button",variant:"ghost",themeColor:"secondary",tabIndex:-1,className:Oe.spinnerButton,disabled:!b||f,ref:X,children:d.jsx(ce,{name:j||"spinnerUp:NumberBox",fallback:"chevronup",size:"sm"})}),d.jsx(ot,{"data-spinner":"down",type:"button",tabIndex:-1,variant:"ghost",themeColor:"secondary",className:Oe.spinnerButton,disabled:!b||f,ref:q,children:d.jsx(ce,{name:U||"spinnerDown:NumberBox",fallback:"chevrondown",size:"sm"})})]})]})})});function Rm(e,t){return s.useMemo(()=>new Ai.NumberFormatter(e,t),[e,t])}function Fm(e,t){return s.useMemo(()=>new Ai.NumberParser(e,t),[e,t])}function $n(e,t,r=500){const o=s.useRef(0),a=s.useRef(0),l=s.useRef(t);s.useEffect(()=>{l.current=t},[t]),s.useEffect(()=>{const i=()=>{var b;(b=l.current)==null||b.call(l),o.current=window.setTimeout(()=>{a.current=window.setInterval(()=>{var h;(h=l.current)==null||h.call(l)},100)},r)},n=()=>{clearTimeout(o.current),clearInterval(a.current)},c=()=>{clearTimeout(o.current),clearInterval(a.current)};return e==null||e.addEventListener("mousedown",i),e==null||e.addEventListener("mouseup",n),e==null||e.addEventListener("mouseout",c),()=>{e==null||e.removeEventListener("mousedown",i),e==null||e.removeEventListener("mouseup",n),e==null||e.removeEventListener("mouseout",c)}},[e,t,r])}function On(e,t,r,o=1,a=-999999999999999,l=fo){const i=t.parse(e??"");return Be.isNaN(i)?a??0:Qr(r==="increase"?i+(o??1):i-(o??1),a,l)}function Um(e,t,r){return e.trim()===""?!0:!(Be.isNaN(e)||qm(e,t,r)||Gm(e,t,r)||jm(e,t,r))}function qm(e,t="en-US",r){var C,v;const a=new Intl.NumberFormat(t,r).formatToParts(1234.5),l=((C=a.find(g=>g.type==="group"))==null?void 0:C.value)||"",i=((v=a.find(g=>g.type==="decimal"))==null?void 0:v.value)||"",n=(l===""?e:e.replace(new RegExp(`\\${l}`,"g"),"")).replace(i,".");if(!/^-?\d*\.?\d*$/.test(n))return!1;const[c,b]=n.split(".");if(!b)return c.length>1&&c.startsWith("0");const h=c.startsWith("0")&&c.length>=1,p=(b.match(/^0+/)||[""])[0].length>=2;return h||p}function Gm(e,t="en-US",r){var h,p;const a=new Intl.NumberFormat(t,r).formatToParts(1234.5),l=((h=a.find(C=>C.type==="group"))==null?void 0:h.value)||"",i=((p=a.find(C=>C.type==="decimal"))==null?void 0:p.value)||".",n=(l===""?e:e.replace(new RegExp(`\\${l}`,"g"),"")).replace(i,".");if(!/^-?\d*\.?\d*$/.test(n)||!n.includes("."))return!1;const[c,b]=n.split(".");return!b||b.length===0?!0:/0+$/.test(b)}function jm(e,t="en-US",r){var h,p;const a=new Intl.NumberFormat(t,r).formatToParts(1234.5),l=((h=a.find(C=>C.type==="group"))==null?void 0:h.value)||"",i=((p=a.find(C=>C.type==="decimal"))==null?void 0:p.value)||"",n=(l===""?e:e.replace(new RegExp(`\\${l}`,"g"),"")).replace(i,".");if(!/^-?\d*\.?\d*$/.test(n))return!1;const[c,b]=n.split(".");return b?b.length>r.maximumFractionDigits:!1}function Xm(e,t){const r=s.useRef({beforeStart:0,beforeEnd:0});return s.useLayoutEffect(()=>{t.current.setSelectionRange(r.current.beforeStart,r.current.beforeEnd)},[e]),a=>{r.current.beforeStart=a.target.selectionStart,r.current.beforeEnd=a.target.selectionEnd}}function Ym({items:e,renderItem:t,reverse:r=!1}){const o=s.useMemo(()=>{if(!e)return[];let a=e;return Be.isPlainObject(e)&&(a=Object.values(e)),r?[...a].reverse():a},[e,r]);return!o||!Array.isArray(o)?null:d.jsx(d.Fragment,{children:o.map((a,l)=>d.jsx(s.Fragment,{children:t==null?void 0:t({$item:a,$itemIndex:l,$isFirst:l===0,$isLast:l===o.length-1},l)},l))})}const Zm={checkbox:"end"},Jr={type:"text",labelBreak:!0,enabled:!0,customValidationsDebounce:0},Ln=s.createContext({parentFormItemId:null});function Qm({children:e,formItemId:t,registerComponentApi:r,value:o=Qe,updateState:a}){const l=s.useMemo(()=>({parentFormItemId:t}),[t]),i=Ce(c=>{a({value:[...o,c]})}),n=Ce(c=>{a({value:o.filter((b,h)=>h!==c)})});return s.useEffect(()=>{r==null||r({addItem:i,removeItem:n})},[i,r,n]),d.jsx(Ln.Provider,{value:l,children:e})}s.memo(function({style:t,bindTo:r,type:o=Jr.type,label:a,enabled:l=Jr.enabled,labelPosition:i,labelWidth:n,labelBreak:c=Jr.labelBreak,children:b,validations:h,onValidate:p,customValidationsDebounce:C=Jr.customValidationsDebounce,validationMode:v,registerComponentApi:g,maxTextLength:T,inputRenderer:y,itemIndex:$,initialValue:w,gap:_,...A}){const P=s.useId(),{parentFormItemId:Z}=s.useContext(Ln),E=s.useMemo(()=>{const N=r||`${P}${kl}`;if(Z){if($!==void 0){let R=`${Z}[${$}]`;return r!==void 0&&r.trim()===""?R:`${R}.${N}`}}else return N},[r,P,$,Z]),j=cr(N=>n||N.itemLabelWidth),U=cr(N=>c!==void 0?c:N.itemLabelBreak),M=cr(N=>i||N.itemLabelPosition||Zm[o]),f=cr(N=>Xl(N.originalSubject,E)),x=f===void 0?w:f,H=cr(N=>Xl(N.subject,E)),S=cr(N=>N.validationResults[E]),O=cr(N=>N.dispatch),F=cr(N=>N.enabled),W=l&&F;s.useEffect(()=>{x!==void 0&&O(Mu(E,x))},[O,E,x]),gc(h,p,H,O,E,C);const D=s.useCallback(({value:N},R)=>{R!=null&&R.initial||O(Du(E,N))},[E,O]);s.useEffect(()=>()=>{O(Uu(E))},[E,O]);const{validationStatus:X,isHelperTextShown:q}=Tc(E,H,S,v);let B=null;switch(o){case"select":{B=d.jsx(Cm,{...A,value:H,updateState:D,registerComponentApi:g,enabled:W,validationStatus:X,children:b});break}case"autocomplete":{B=d.jsx(Am,{...A,value:H,updateState:D,registerComponentApi:g,enabled:W,validationStatus:X,children:b});break}case"datePicker":{B=d.jsx(bu,{...A,value:H,updateState:D,enabled:W,validationStatus:X});break}case"radioGroup":{B=d.jsx(Hm,{...A,value:H,updateState:D,enabled:W,validationStatus:X,children:b});break}case"number":case"integer":{B=d.jsx(im,{...A,value:H,updateState:D,registerComponentApi:g,enabled:W,integersOnly:o==="integer",validationStatus:X,min:h.minValue,max:h.maxValue,maxLength:T??(h==null?void 0:h.maxLength),gap:_});break}case"integer2":case"number2":{B=d.jsx(Dm,{...A,value:H,updateState:D,registerComponentApi:g,enabled:W,min:h.minValue,max:h.maxValue,integersOnly:o==="integer2"});break}case"switch":case"checkbox":{B=d.jsx(Xa,{...A,value:H,updateState:D,enabled:W,validationStatus:X,variant:o,inputRenderer:y});break}case"file":{B=d.jsx(Su,{...A,value:H,updateState:D,registerComponentApi:g,enabled:W,validationStatus:X,multiple:Kc(A.multiple,!1)});break}case"text":{B=d.jsx(Ma,{...A,value:H,updateState:D,registerComponentApi:g,enabled:W,validationStatus:X,maxLength:T??(h==null?void 0:h.maxLength),gap:_});break}case"password":{B=d.jsx(Ma,{...A,type:"password",value:H,updateState:D,registerComponentApi:g,enabled:W,validationStatus:X,maxLength:T??(h==null?void 0:h.maxLength)});break}case"textarea":{B=d.jsx(Lm,{...A,value:H,updateState:D,registerComponentApi:g,enabled:W,validationStatus:X,maxLength:T??(h==null?void 0:h.maxLength)});break}case"slider":{B=d.jsx(wn,{...A,value:H,updateState:D,registerComponentApi:g,enabled:W,validationStatus:X,min:h.minValue,max:h.maxValue});break}case"colorpicker":{B=d.jsx(In,{...A,value:H,updateState:D,registerComponentApi:g,enabled:W,validationStatus:X});break}case"items":{B=d.jsx(Qm,{formItemId:E,registerComponentApi:g,updateState:D,value:H,children:d.jsx(Ym,{items:H,renderItem:y})});break}case"custom":{B=b;break}default:{console.warn(`unknown form item type ${o}`),B=d.jsx("div",{children:H});break}}const I=Ce(()=>{O(Ru(E))}),z=Ce(()=>{O(Fu(E))}),[L]=ii({duration:100});return d.jsx(lt,{labelPosition:M,label:a,labelWidth:j,labelBreak:U,enabled:W,required:h.required,validationInProgress:S==null?void 0:S.partial,onFocus:I,onBlur:z,style:t,validationResult:d.jsx("div",{ref:L,children:q&&(S==null?void 0:S.validations.map((N,R)=>d.jsxs(s.Fragment,{children:[N.isValid&&!!N.validMessage&&d.jsx(Bn,{text:N.validMessage,status:"valid",style:{opacity:N.stale?.5:void 0}}),!N.isValid&&!!N.invalidMessage&&d.jsx(Bn,{text:N.invalidMessage,status:N.severity,style:{opacity:N.stale?.5:void 0}})]},R)))}),children:B})});const yo="FormItem",xa=hc.filter(e=>e!=="none"),Jm={status:"experimental",description:`A \`${yo}\` component represents a single input element within a \`Form\`. The value within the \`${yo}\` may be associated with a particular property within the encapsulating \`Form\` component's data.`,props:{bindTo:{description:"This property binds a particular input field to one of the attributes of the `Form` data. It names the property of the form's `data` data to get the input's initial value.When the field is saved, its value will be stored in the `data` property with this name."},autoFocus:it(),label:qe(),labelPosition:gt(),labelWidth:m("This property sets the width of the item label."),labelBreak:{description:"This boolean value indicates if the label can be split into multiple lines if it would overflow the available label width.",type:"boolean",defaultValue:Jr.labelBreak},enabled:Ze(),type:{description:"This property is used to determine the specific input control the FormItem will wrap around. Note that the control names start with a lowercase letter and map to input components found in XMLUI.",availableValues:xc,defaultValue:Jr.type,valueType:"string"},customValidationsDebounce:{description:"This optional number prop determines the time interval between two runs of a custom validation.",type:"number",defaultValue:Jr.customValidationsDebounce},validationMode:{description:"This property sets what kind of validation mode or strategy to employ for a particular input field.",availableValues:bc,defaultValue:Pl},initialValue:Tt(),required:Nt(),requiredInvalidMessage:{description:"This optional string property is used to customize the message that is displayed if the field is not filled in.",valueType:"string"},minLength:{description:"Checks whether the input has a minimum length of a specified value.",valueType:"number"},maxLength:{description:"Checks whether the input has a maximum length of a specified value.",valueType:"number"},maxTextLength:{description:"The maximum length of the text in the input field",valueType:"number"},lengthInvalidMessage:{description:"This optional string property is used to customize the message that is displayed on a failed length check: [minLength](#minlength) or [maxLength](#maxlength).",valueType:"string"},lengthInvalidSeverity:{description:"This property sets the severity level of the length validation.",valueType:"string",availableValues:xa,defaultValue:"error"},minValue:{description:"Checks whether the input has the minimum specified value.",valueType:"number"},maxValue:{description:"Checks whether the input has the maximum specified value.",valueType:"number"},rangeInvalidMessage:{description:"This optional string property is used to customize the message that is displayed when a value is out of range.",valueType:"string"},rangeInvalidSeverity:{description:"This property sets the severity level of the value range validation.",valueType:"string",availableValues:xa,defaultValue:"error"},pattern:{description:"Checks whether the input fits a predefined regular expression.",valueType:"string"},patternInvalidMessage:{description:"This optional string property is used to customize the message that is displayed on a failed pattern test.",valueType:"string"},patternInvalidSeverity:{description:"This property sets the severity level of the pattern validation.",valueType:"string",availableValues:xa,defaultValue:"error"},regex:{description:"Checks whether the input fits the provided regular expression.",valueType:"string"},regexInvalidMessage:{description:"This optional string property is used to customize the message that is displayed on a failed regular expression test.",valueType:"string"},regexInvalidSeverity:{description:"This property sets the severity level of regular expression validation.",valueType:"string",availableValues:xa,defaultValue:"error"},inputTemplate:{description:"This property is used to define a custom input template."},gap:{description:"This property defines the gap between the adornments and the input area."}},events:{validate:m("This event is used to define a custom validation function.")},contextVars:{$value:m(`The context variable represents the current value of the \`${yo}\`. It can be used in expressions and code snippets within the \`${yo}\` instance.`),$setValue:m(`This function can be invoked to set the \`${yo}\` instance's value. The function has a single argument, the new value to set.`),$validationResult:m(`This variable represents the result of the latest validation of the \`${yo}\` instance.`)},themeVars:Y(Ct.themeVars),defaultThemeVars:{"textColor-FormItemLabel":"$textColor-primary","fontSize-FormItemLabel":"$fontSize-small","fontWeight-FormItemLabel":"$fontWeight-medium","fontStyle-FormItemLabel":"normal","textTransform-FormItemLabel":"none","textColor-FormItemLabel-requiredMark":"$color-danger-400"}},bt="Heading",Kr=m(`This property determines the text displayed in the heading. \`${bt}\` also accepts nested text instead of specifying the \`value\`. If both \`value\` and a nested text are used, the \`value\` will be displayed.`),eo=m("This property determines the maximum number of lines the component can wrap to. If there is not enough space for all of the text, the component wraps the text up to as many lines as specified."),Km={description:"This property indicates whether ellipses should be displayed (`true`) when the heading text is cropped or not (`false`).",type:"boolean",defaultValue:Rr.ellipses},ep=m("This property indicates whether linebreaks should be preserved when displaying text."),Ho=e=>`Represents a heading level ${e} text`,to={description:"If true, this heading will be excluded from the table of contents.",type:"boolean",defaultValue:Rr.omitFromToc},tp={description:"Represents a heading text",props:{value:Kr,level:{description:"This property sets the visual significance (level) of the heading.",availableValues:["h1","h2","h3","h4","h5","h6"],defaultValue:Rr.level},maxLines:eo,ellipses:Km,preserveLinebreaks:ep,omitFromToc:to},themeVars:Y(Ht.themeVars),defaultThemeVars:{[`fontFamily-${bt}`]:"$fontFamily",[`textColor-${bt}`]:"inherit",[`fontWeight-${bt}`]:"$fontWeight-bold",[`letterSpacing-${bt} `]:"0",[`color-anchor-${bt} `]:"$color-surface-400",[`gap-anchor-${bt} `]:"$space-2",[`textDecorationLine-anchor-${bt} `]:"underline",light:{},dark:{}}},So="H1",rp={description:Ho(1),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(Ht.themeVars),defaultThemeVars:{[`fontSize-${So}`]:"$fontSize-large",[`marginTop-${So}`]:"0",[`marginBottom-${So}`]:"0",[`fontSize-${So}-markdown`]:"$fontSize-large",[`marginTop-${So}-markdown`]:"0",[`marginBottom-${So}-markdown`]:"$space-6",light:{},dark:{}}},Go="H2",op={description:Ho(2),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(Ht.themeVars),defaultThemeVars:{[`fontSize-${Go}`]:"$fontSize-medium",[`marginTop-${Go}`]:"0",[`marginBottom-${Go}`]:"0",[`marginTop-${Go}-markdown`]:"$space-10",[`marginBottom-${Go}-markdown`]:"$space-3",light:{},dark:{}}},jo="H3",ap={description:Ho(3),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(Ht.themeVars),defaultThemeVars:{[`fontSize-${jo}`]:"$fontSize-normal",[`marginTop-${jo}`]:"0",[`marginBottom-${jo}`]:"0",[`marginTop-${jo}-markdown`]:"$space-6",[`marginBottom-${jo}-markdown`]:"$space-2",light:{},dark:{}}},Xo="H4",ip={description:Ho(4),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(Ht.themeVars),defaultThemeVars:{[`fontSize-${Xo}`]:"$fontSize-small",[`marginTop-${Xo}`]:"0",[`marginBottom-${Xo}`]:"0",[`marginTop-${Xo}-markdown`]:"$space-5",[`marginBottom-${Xo}-markdown`]:"$space-1",light:{},dark:{}}},Yo="H5",lp={description:Ho(5),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(Ht.themeVars),defaultThemeVars:{[`fontSize-${Yo}`]:"$fontSize-smaller",[`marginTop-${Yo}`]:"0",[`marginBottom-${Yo}`]:"0",[`marginTop-${Yo}-markdown`]:"0",[`marginBottom-${Yo}-markdown`]:"$space-0",light:{},dark:{}}},Zo="H6",np={description:Ho(6),specializedFrom:bt,props:{value:Kr,maxLines:eo,omitFromToc:to},themeVars:Y(Ht.themeVars),defaultThemeVars:{[`fontSize-${Zo}`]:"$fontSize-tiny",[`marginTop-${Zo}`]:"0",[`marginBottom-${Zo}`]:"0",[`marginTop-${Zo}-markdown`]:"0",[`marginBottom-${Zo}-markdown`]:"$space-0",light:{},dark:{}}},sp={status:"deprecated",description:"(**OBSOLETE**) This component displays some content when its parent component is hovered.",props:{triggerTemplate:$e("The component that opens the hover card when hovered.")}},_n="Icon",dp={status:"experimental",description:"This component is the representation of an icon.",props:{name:m("This string property specifies the name of the icon to display. All icons have unique names and identifying the name is case-sensitive."),size:{description:`This property defines the size of the \`${_n}\`. Note that setting the \`height\` and/or the \`width\` of the component will override this property.`,availableValues:["xs","sm","md","lg"]},fallback:m("This optional property provides a way to handle situations when the provided [icon name](#name) is not found in the registry.")},themeVars:Y(Yi.themeVars),defaultThemeVars:{[`size-${_n}`]:"1.25em"}},Vn="Image",up={description:`The \`${Vn}\` component represents or depicts an object, scene, idea, or other concept with a picture.`,props:{src:m("This property is used to indicate the source (path) of the image to display."),alt:m("This property specifies an alternate text for the image."),fit:{description:"This property sets how the image content should be resized to fit its container.",type:"string",defaultValue:"contain"},lazyLoad:m("Lazy loading instructs the browser to load the image only when it is imminently needed (e.g. user scrolls to it). The default value is eager (`false`)."),aspectRatio:m("This property sets a preferred aspect ratio for the image, which will be used in the calculation of auto sizes and some other layout functions."),inline:m("When set to true, the image will be displayed as an inline element instead of a block element."),animation:m("The animation object to be applied to the component")},events:{click:io(Vn)},themeVars:Y(Ua.themeVars)},cp={description:"The `Items` component maps sequential data items into component instances, representing each data item as a particular component.",props:{items:Xe("This property contains the list of data items this component renders."),data:m("This property contains the list of data items (obtained from a data source) this component renders."),reverse:{description:"This property reverses the order in which data is mapped to template components."},itemTemplate:$e("The component template to display a single item")},childrenAsTemplate:"itemTemplate",contextVars:{$item:$e("This value represents the current iteration item while the component renders its children."),$itemIndex:$e("This integer value represents the current iteration index (zero-based) while rendering children."),$isFirst:$e("This boolean value indicates if the component renders its first item."),$isLast:$e("This boolean value indicates if the component renders its last item.")},opaque:!0},Pe="Link",mp={description:`A \`${Pe}\` component represents a navigation target within the app or a reference to an external web URL.`,props:{to:m("This property defines the URL of the link."),enabled:Ze(),active:{description:"Indicates whether this link is active or not. If so, it will have a distinct visual appearance.",type:"boolean",defaultValue:!1},target:{description:`This property specifies where to open the link represented by the \`${Pe}\`. This property accepts the following values (in accordance with the HTML standard):`,availableValues:Ni,type:"string",defaultValue:"_self"},label:qe(),icon:m("This property allows you to add an icon (specify the icon's name) to the link.")},themeVars:Y(uo.themeVars),themeVarDescriptions:{[`gap-icon-${Pe}`]:"This property defines the size of the gap between the icon and the label."},defaultThemeVars:{[`border-${Pe}`]:"0px solid $borderColor",[`textColor-${Pe}--hover--active`]:`$textColor-${Pe}--active`,[`textDecorationColor-${Pe}--hover`]:"$color-primary-400",[`textColor-${Pe}--hover`]:"$color-primary-400",[`textDecorationColor-${Pe}--active`]:"$color-primary-200",[`fontWeight-${Pe}--active`]:"$fontWeight-bold",[`textDecorationColor-${Pe}`]:"$color-primary-400",[`textUnderlineOffset-${Pe}`]:"$space-1",[`textDecorationLine-${Pe}`]:"underline",[`textDecorationStyle-${Pe}`]:"solid",[`outlineColor-${Pe}--focus`]:"$outlineColor--focus",[`outlineWidth-${Pe}--focus`]:"$outlineWidth--focus",[`outlineStyle-${Pe}--focus`]:"$outlineStyle--focus",[`outlineOffset-${Pe}--focus`]:"$outlineOffset--focus",[`fontSize-${Pe}`]:"inherit",[`gap-icon-${Pe}`]:"$gap-tight",[`padding-icon-${Pe}`]:"$space-0_5",[`textColor-${Pe}`]:"$color-primary-500",[`textColor-${Pe}--active`]:"$color-primary-500"}},pp={themeVars:'"[]"'},ko="List",hp={status:"experimental",description:`The \`${ko}\` component is a robust layout container that renders associated data items as a list of components. \`${ko}\` is virtualized; it renders only items that are visible in the viewport.`,props:{data:m("The component receives data via this property. The `data` property is a list of items that the `List` can display."),items:Xe("You can use `items` as an alias for the `data` property. When you bind the list to a data source (e.g. an API endpoint), the `data` acts as the property that accepts a URL to fetch information from an API.When both `items` and `data` are used, `items` has priority."),loading:m("This property delays the rendering of children until it is set to `false`, or the component receives usable list items via the [`data`](#data) property."),limit:m(`This property limits the number of items displayed in the \`${ko}\`.`),scrollAnchor:{description:"This property pins the scroll position to a specified location of the list. Available values are shown below.",availableValues:Vs,type:"string",defaultValue:"top"},groupBy:m("This property sets which attribute of the data is used to group the list items. If the attribute does not appear in the data, it will be ignored."),orderBy:m("This property enables the ordering of list items by specifying an attribute in the data."),availableGroups:m(`This property is an array of group names that the \`${ko}\` will display.`),groupHeaderTemplate:$e("Enables the customization of how the groups are displayed, similarly to the [`itemTemplate`](#itemtemplate). You can use the `$item` context variable to access an item group and map its individual attributes."),groupFooterTemplate:$e("Enables the customization of how the the footer of each group is displayed. Combine with [`groupHeaderTemplate`](#groupHeaderTemplate) to customize sections. You can use the `$item` context variable to access an item group and map its individual attributes."),itemTemplate:$e("This property allows the customization of mapping data items to components. You can use the `$item` context variable to access an item and map its individual attributes."),emptyListTemplate:$e("This property defines the template to display when the list is empty."),pageInfo:m(`This property contains the current page information. Setting this property also enures the \`${ko}\` uses pagination.`),idKey:{description:"Denotes which attribute of an item acts as the ID or key of the item",type:"string",defaultValue:"id"},groupsInitiallyExpanded:m("This Boolean property defines whether the list groups are initially expanded."),defaultGroups:m(`This property adds a list of default groups for the \`${ko}\` and displays the group headers in the specified order. If the data contains group headers not in this list, those headers are also displayed (after the ones in this list); however, their order is not deterministic.`),hideEmptyGroups:{description:"This boolean property indicates if empty groups should be hidden (no header and footer are displayed).",valueType:"boolean",defaultValue:!0},borderCollapse:{description:"Collapse items borders",valueType:"boolean",defaultValue:!0}},childrenAsTemplate:"itemTemplate",apis:{scrollToTop:m("This method scrolls the list to the top."),scrollToBottom:m("This method scrolls the list to the bottom."),scrollToIndex:m("This method scrolls the list to a specific index. The method accepts an index as a parameter."),scrollToId:m("This method scrolls the list to a specific item. The method accepts an item ID as a parameter.")},contextVars:{$item:m("This property represents the value of an item in the data list."),$itemIndex:$e("This integer value represents the current row index (zero-based) while rendering children."),$isFirst:$e("This boolean value indicates if the component renders its first item."),$isLast:$e("This boolean value indicates if the component renders its last item.")},themeVars:Y(pp.themeVars)},bp={status:"experimental",description:"The `Logo` component represents a logo or a brand symbol. Usually, you use this component in the [`AppHeader`](./AppHeader.mdx#logotemplate)."},xp={themeVars:`'{"textColor-Text": "var(--xmlui-textColor-Text)", "fontFamily-Text": "var(--xmlui-fontFamily-Text)", "fontSize-Text": "var(--xmlui-fontSize-Text)", "fontStyle-Text": "var(--xmlui-fontStyle-Text)", "fontVariant-Text": "var(--xmlui-fontVariant-Text)", "fontWeight-Text": "var(--xmlui-fontWeight-Text)", "fontStretch-Text": "var(--xmlui-fontStretch-Text)", "textDecorationLine-Text": "var(--xmlui-textDecorationLine-Text)", "textDecorationColor-Text": "var(--xmlui-textDecorationColor-Text)", "textDecorationStyle-Text": "var(--xmlui-textDecorationStyle-Text)", "textDecorationThickness-Text": "var(--xmlui-textDecorationThickness-Text)", "textUnderlineOffset-Text": "var(--xmlui-textUnderlineOffset-Text)", "lineHeight-Text": "var(--xmlui-lineHeight-Text)", "backgroundColor-Text": "var(--xmlui-backgroundColor-Text)", "textTransform-Text": "var(--xmlui-textTransform-Text)", "letterSpacing-Text": "var(--xmlui-letterSpacing-Text)", "wordSpacing-Text": "var(--xmlui-wordSpacing-Text)", "textShadow-Text": "var(--xmlui-textShadow-Text)", "textIndent-Text": "var(--xmlui-textIndent-Text)", "textAlign-Text": "var(--xmlui-textAlign-Text)", "textAlignLast-Text": "var(--xmlui-textAlignLast-Text)", "wordBreak-Text": "var(--xmlui-wordBreak-Text)", "wordWrap-Text": "var(--xmlui-wordWrap-Text)", "direction-Text": "var(--xmlui-direction-Text)", "writingMode-Text": "var(--xmlui-writingMode-Text)", "lineBreak-Text": "var(--xmlui-lineBreak-Text)", "paddingTop-Markdown": "var(--xmlui-paddingTop-Markdown)", "paddingBottom-Markdown": "var(--xmlui-paddingBottom-Markdown)", "backgroundColor-Markdown": "var(--xmlui-backgroundColor-Markdown)", "padding-Blockquote": "var(--xmlui-padding-Blockquote)", "paddingHorizontal-Blockquote": "var(--xmlui-paddingHorizontal-Blockquote, var(--xmlui-padding-Blockquote))", "paddingVertical-Blockquote": "var(--xmlui-paddingVertical-Blockquote, var(--xmlui-padding-Blockquote))", "paddingLeft-Blockquote": "var(--xmlui-paddingLeft-Blockquote)", "paddingRight-Blockquote": "var(--xmlui-paddingRight-Blockquote, var(--xmlui-paddingHorizontal-Blockquote, var(--xmlui-padding-Blockquote)))", "paddingTop-Blockquote": "var(--xmlui-paddingTop-Blockquote, var(--xmlui-paddingVertical-Blockquote, var(--xmlui-padding-Blockquote)))", "paddingBottom-Blockquote": "var(--xmlui-paddingBottom-Blockquote, var(--xmlui-paddingVertical-Blockquote, var(--xmlui-padding-Blockquote)))", "border-Blockquote": "var(--xmlui-border-Blockquote)", "borderHorizontal-Blockquote": "var(--xmlui-borderHorizontal-Blockquote, var(--xmlui-border-Blockquote))", "borderVertical-Blockquote": "var(--xmlui-borderVertical-Blockquote, var(--xmlui-border-Blockquote))", "borderLeft-Blockquote": "var(--xmlui-borderLeft-Blockquote, var(--xmlui-borderHorizontal-Blockquote, var(--xmlui-border-Blockquote)))", "borderRight-Blockquote": "var(--xmlui-borderRight-Blockquote, var(--xmlui-borderHorizontal-Blockquote, var(--xmlui-border-Blockquote)))", "borderTop-Blockquote": "var(--xmlui-borderTop-Blockquote, var(--xmlui-borderVertical-Blockquote, var(--xmlui-border-Blockquote)))", "borderBottom-Blockquote": "var(--xmlui-borderBottom-Blockquote, var(--xmlui-borderVertical-Blockquote, var(--xmlui-border-Blockquote)))", "borderWidth-Blockquote": "var(--xmlui-borderWidth-Blockquote)", "borderHorizontalWidth-Blockquote": "var(--xmlui-borderHorizontalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote))", "borderLeftWidth-Blockquote": "var(--xmlui-borderLeftWidth-Blockquote, var(--xmlui-borderHorizontalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote)))", "borderRightWidth-Blockquote": "var(--xmlui-borderRightWidth-Blockquote, var(--xmlui-borderHorizontalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote)))", "borderVerticalWidth-Blockquote": "var(--xmlui-borderVerticalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote))", "borderTopWidth-Blockquote": "var(--xmlui-borderTopWidth-Blockquote, var(--xmlui-borderVerticalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote)))", "borderBottomWidth-Blockquote": "var(--xmlui-borderBottomWidth-Blockquote, var(--xmlui-borderVerticalWidth-Blockquote, var(--xmlui-borderWidth-Blockquote)))", "borderStyle-Blockquote": "var(--xmlui-borderStyle-Blockquote)", "borderHorizontalStyle-Blockquote": "var(--xmlui-borderHorizontalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote))", "borderLeftStyle-Blockquote": "var(--xmlui-borderLeftStyle-Blockquote, var(--xmlui-borderHorizontalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote)))", "borderRightStyle-Blockquote": "var(--xmlui-borderRightStyle-Blockquote, var(--xmlui-borderHorizontalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote)))", "borderVerticalStyle-Blockquote": "var(--xmlui-borderVerticalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote))", "borderTopStyle-Blockquote": "var(--xmlui-borderTopStyle-Blockquote, var(--xmlui-borderVerticalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote)))", "borderBottomStyle-Blockquote": "var(--xmlui-borderBottomStyle-Blockquote, var(--xmlui-borderVerticalStyle-Blockquote, var(--xmlui-borderStyle-Blockquote)))", "borderColor-Blockquote": "var(--xmlui-borderColor-Blockquote)", "borderHorizontalColor-Blockquote": "var(--xmlui-borderHorizontalColor-Blockquote, var(--xmlui-borderColor-Blockquote))", "borderLeftColor-Blockquote": "var(--xmlui-borderLeftColor-Blockquote, var(--xmlui-borderHorizontalColor-Blockquote, var(--xmlui-borderColor-Blockquote)))", "borderRightColor-Blockquote": "var(--xmlui-borderRightColor-Blockquote, var(--xmlui-borderHorizontalColor-Blockquote, var(--xmlui-borderColor-Blockquote)))", "borderVerticalColor-Blockquote": "var(--xmlui-borderVerticalColor-Blockquote, var(--xmlui-borderColor-Blockquote))", "borderTopColor-Blockquote": "var(--xmlui-borderTopColor-Blockquote, var(--xmlui-borderVerticalColor-Blockquote, var(--xmlui-borderColor-Blockquote)))", "borderBottomColor-Blockquote": "var(--xmlui-borderBottomColor-Blockquote, var(--xmlui-borderVerticalColor-Blockquote, var(--xmlui-borderColor-Blockquote)))", "borderStartStartRadius-Blockquote": "var(--xmlui-borderStartStartRadius-Blockquote, var(--xmlui-borderRadius-Blockquote))", "borderStartEndRadius-Blockquote": "var(--xmlui-borderStartEndRadius-Blockquote, var(--xmlui-borderRadius-Blockquote))", "borderEndStartRadius-Blockquote": "var(--xmlui-borderEndStartRadius-Blockquote, var(--xmlui-borderRadius-Blockquote))", "borderEndEndRadius-Blockquote": "var(--xmlui-borderEndEndRadius-Blockquote, var(--xmlui-borderRadius-Blockquote))", "accentColor-Blockquote": "var(--xmlui-accentColor-Blockquote)", "accentWidth-Blockquote": "var(--xmlui-accentWidth-Blockquote)", "backgroundColor-Blockquote": "var(--xmlui-backgroundColor-Blockquote)", "borderRadius-Blockquote": "var(--xmlui-borderRadius-Blockquote)", "marginTop-Blockquote": "var(--xmlui-marginTop-Blockquote)", "marginBottom-Blockquote": "var(--xmlui-marginBottom-Blockquote)", "padding-Admonition": "var(--xmlui-padding-Admonition)", "paddingHorizontal-Admonition": "var(--xmlui-paddingHorizontal-Admonition, var(--xmlui-padding-Admonition))", "paddingVertical-Admonition": "var(--xmlui-paddingVertical-Admonition, var(--xmlui-padding-Admonition))", "paddingLeft-Admonition": "var(--xmlui-paddingLeft-Admonition, var(--xmlui-paddingHorizontal-Admonition, var(--xmlui-padding-Admonition)))", "paddingRight-Admonition": "var(--xmlui-paddingRight-Admonition, var(--xmlui-paddingHorizontal-Admonition, var(--xmlui-padding-Admonition)))", "paddingTop-Admonition": "var(--xmlui-paddingTop-Admonition, var(--xmlui-paddingVertical-Admonition, var(--xmlui-padding-Admonition)))", "paddingBottom-Admonition": "var(--xmlui-paddingBottom-Admonition, var(--xmlui-paddingVertical-Admonition, var(--xmlui-padding-Admonition)))", "border-Admonition": "var(--xmlui-border-Admonition)", "borderHorizontal-Admonition": "var(--xmlui-borderHorizontal-Admonition, var(--xmlui-border-Admonition))", "borderVertical-Admonition": "var(--xmlui-borderVertical-Admonition, var(--xmlui-border-Admonition))", "borderLeft-Admonition": "var(--xmlui-borderLeft-Admonition, var(--xmlui-borderHorizontal-Admonition, var(--xmlui-border-Admonition)))", "borderRight-Admonition": "var(--xmlui-borderRight-Admonition, var(--xmlui-borderHorizontal-Admonition, var(--xmlui-border-Admonition)))", "borderTop-Admonition": "var(--xmlui-borderTop-Admonition, var(--xmlui-borderVertical-Admonition, var(--xmlui-border-Admonition)))", "borderBottom-Admonition": "var(--xmlui-borderBottom-Admonition, var(--xmlui-borderVertical-Admonition, var(--xmlui-border-Admonition)))", "borderWidth-Admonition": "var(--xmlui-borderWidth-Admonition)", "borderHorizontalWidth-Admonition": "var(--xmlui-borderHorizontalWidth-Admonition, var(--xmlui-borderWidth-Admonition))", "borderLeftWidth-Admonition": "var(--xmlui-borderLeftWidth-Admonition, var(--xmlui-borderHorizontalWidth-Admonition, var(--xmlui-borderWidth-Admonition)))", "borderRightWidth-Admonition": "var(--xmlui-borderRightWidth-Admonition, var(--xmlui-borderHorizontalWidth-Admonition, var(--xmlui-borderWidth-Admonition)))", "borderVerticalWidth-Admonition": "var(--xmlui-borderVerticalWidth-Admonition, var(--xmlui-borderWidth-Admonition))", "borderTopWidth-Admonition": "var(--xmlui-borderTopWidth-Admonition, var(--xmlui-borderVerticalWidth-Admonition, var(--xmlui-borderWidth-Admonition)))", "borderBottomWidth-Admonition": "var(--xmlui-borderBottomWidth-Admonition, var(--xmlui-borderVerticalWidth-Admonition, var(--xmlui-borderWidth-Admonition)))", "borderStyle-Admonition": "var(--xmlui-borderStyle-Admonition)", "borderHorizontalStyle-Admonition": "var(--xmlui-borderHorizontalStyle-Admonition, var(--xmlui-borderStyle-Admonition))", "borderLeftStyle-Admonition": "var(--xmlui-borderLeftStyle-Admonition, var(--xmlui-borderHorizontalStyle-Admonition, var(--xmlui-borderStyle-Admonition)))", "borderRightStyle-Admonition": "var(--xmlui-borderRightStyle-Admonition, var(--xmlui-borderHorizontalStyle-Admonition, var(--xmlui-borderStyle-Admonition)))", "borderVerticalStyle-Admonition": "var(--xmlui-borderVerticalStyle-Admonition, var(--xmlui-borderStyle-Admonition))", "borderTopStyle-Admonition": "var(--xmlui-borderTopStyle-Admonition, var(--xmlui-borderVerticalStyle-Admonition, var(--xmlui-borderStyle-Admonition)))", "borderBottomStyle-Admonition": "var(--xmlui-borderBottomStyle-Admonition, var(--xmlui-borderVerticalStyle-Admonition, var(--xmlui-borderStyle-Admonition)))", "borderColor-Admonition": "var(--xmlui-borderColor-Admonition)", "borderHorizontalColor-Admonition": "var(--xmlui-borderHorizontalColor-Admonition, var(--xmlui-borderColor-Admonition))", "borderLeftColor-Admonition": "var(--xmlui-borderLeftColor-Admonition, var(--xmlui-borderHorizontalColor-Admonition, var(--xmlui-borderColor-Admonition)))", "borderRightColor-Admonition": "var(--xmlui-borderRightColor-Admonition, var(--xmlui-borderHorizontalColor-Admonition, var(--xmlui-borderColor-Admonition)))", "borderVerticalColor-Admonition": "var(--xmlui-borderVerticalColor-Admonition, var(--xmlui-borderColor-Admonition))", "borderTopColor-Admonition": "var(--xmlui-borderTopColor-Admonition, var(--xmlui-borderVerticalColor-Admonition, var(--xmlui-borderColor-Admonition)))", "borderBottomColor-Admonition": "var(--xmlui-borderBottomColor-Admonition, var(--xmlui-borderVerticalColor-Admonition, var(--xmlui-borderColor-Admonition)))", "borderStartStartRadius-Admonition": "var(--xmlui-borderStartStartRadius-Admonition, var(--xmlui-borderRadius-Admonition))", "borderStartEndRadius-Admonition": "var(--xmlui-borderStartEndRadius-Admonition, var(--xmlui-borderRadius-Admonition))", "borderEndStartRadius-Admonition": "var(--xmlui-borderEndStartRadius-Admonition, var(--xmlui-borderRadius-Admonition))", "borderEndEndRadius-Admonition": "var(--xmlui-borderEndEndRadius-Admonition, var(--xmlui-borderRadius-Admonition))", "backgroundColor-Admonition": "var(--xmlui-backgroundColor-Admonition)", "borderRadius-Admonition": "var(--xmlui-borderRadius-Admonition)", "iconSize-Admonition": "var(--xmlui-iconSize-Admonition)", "marginTop-Admonition": "var(--xmlui-marginTop-Admonition)", "marginBottom-Admonition": "var(--xmlui-marginBottom-Admonition)", "marginLeft-Admonition-content": "var(--xmlui-marginLeft-Admonition-content)", "marginTop-HtmlVideo": "var(--xmlui-marginTop-HtmlVideo)", "marginBottom-HtmlVideo": "var(--xmlui-marginBottom-HtmlVideo)", "marginTop-H1-markdown": "var(--xmlui-marginTop-H1-markdown)", "marginBottom-H1-markdown": "var(--xmlui-marginBottom-H1-markdown)", "fontSize-H1-markdown": "var(--xmlui-fontSize-H1-markdown)", "marginTop-H2-markdown": "var(--xmlui-marginTop-H2-markdown)", "marginBottom-H2-markdown": "var(--xmlui-marginBottom-H2-markdown)", "marginTop-H3-markdown": "var(--xmlui-marginTop-H3-markdown)", "marginBottom-H3-markdown": "var(--xmlui-marginBottom-H3-markdown)", "marginTop-H4-markdown": "var(--xmlui-marginTop-H4-markdown)", "marginBottom-H4-markdown": "var(--xmlui-marginBottom-H4-markdown)", "marginTop-H5-markdown": "var(--xmlui-marginTop-H5-markdown)", "marginBottom-H5-markdown": "var(--xmlui-marginBottom-H5-markdown)", "marginTop-H6-markdown": "var(--xmlui-marginTop-H6-markdown)", "marginBottom-H6-markdown": "var(--xmlui-marginBottom-H6-markdown)", "backgroundColor-Admonition-info": "var(--xmlui-backgroundColor-Admonition-info)", "borderColor-Admonition-info": "var(--xmlui-borderColor-Admonition-info)", "backgroundColor-Admonition-warning": "var(--xmlui-backgroundColor-Admonition-warning)", "borderColor-Admonition-warning": "var(--xmlui-borderColor-Admonition-warning)", "backgroundColor-Admonition-danger": "var(--xmlui-backgroundColor-Admonition-danger)", "borderColor-Admonition-danger": "var(--xmlui-borderColor-Admonition-danger)", "backgroundColor-Admonition-note": "var(--xmlui-backgroundColor-Admonition-note)", "borderColor-Admonition-note": "var(--xmlui-borderColor-Admonition-note)", "backgroundColor-Admonition-tip": "var(--xmlui-backgroundColor-Admonition-tip)", "borderColor-Admonition-tip": "var(--xmlui-borderColor-Admonition-tip)", "borderColor-HorizontalRule": "var(--xmlui-borderColor-HorizontalRule)", "borderStyle-HorizontalRule": "var(--xmlui-borderStyle-HorizontalRule)", "borderWidth-HorizontalRule": "var(--xmlui-borderWidth-HorizontalRule)"}'`},et={themeVarsTable:`'{"textColor-HtmlTable": "var(--xmlui-textColor-HtmlTable)", "backgroundColor-HtmlTable": "var(--xmlui-backgroundColor-HtmlTable)", "fontFamily-HtmlTable": "var(--xmlui-fontFamily-HtmlTable)", "fontSize-HtmlTable": "var(--xmlui-fontSize-HtmlTable)", "fontWeight-HtmlTable": "var(--xmlui-fontWeight-HtmlTable)", "textTransform-HtmlTable": "var(--xmlui-textTransform-HtmlTable)", "marginTop-HtmlTable": "var(--xmlui-marginTop-HtmlTable)", "marginBottom-HtmlTable": "var(--xmlui-marginBottom-HtmlTable)", "width-HtmlTable": "var(--xmlui-width-HtmlTable)", "border-HtmlTable": "var(--xmlui-border-HtmlTable)", "borderHorizontal-HtmlTable": "var(--xmlui-borderHorizontal-HtmlTable, var(--xmlui-border-HtmlTable))", "borderVertical-HtmlTable": "var(--xmlui-borderVertical-HtmlTable, var(--xmlui-border-HtmlTable))", "borderLeft-HtmlTable": "var(--xmlui-borderLeft-HtmlTable, var(--xmlui-borderHorizontal-HtmlTable, var(--xmlui-border-HtmlTable)))", "borderRight-HtmlTable": "var(--xmlui-borderRight-HtmlTable, var(--xmlui-borderHorizontal-HtmlTable, var(--xmlui-border-HtmlTable)))", "borderTop-HtmlTable": "var(--xmlui-borderTop-HtmlTable, var(--xmlui-borderVertical-HtmlTable, var(--xmlui-border-HtmlTable)))", "borderBottom-HtmlTable": "var(--xmlui-borderBottom-HtmlTable, var(--xmlui-borderVertical-HtmlTable, var(--xmlui-border-HtmlTable)))", "borderWidth-HtmlTable": "var(--xmlui-borderWidth-HtmlTable)", "borderHorizontalWidth-HtmlTable": "var(--xmlui-borderHorizontalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable))", "borderLeftWidth-HtmlTable": "var(--xmlui-borderLeftWidth-HtmlTable, var(--xmlui-borderHorizontalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable)))", "borderRightWidth-HtmlTable": "var(--xmlui-borderRightWidth-HtmlTable, var(--xmlui-borderHorizontalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable)))", "borderVerticalWidth-HtmlTable": "var(--xmlui-borderVerticalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable))", "borderTopWidth-HtmlTable": "var(--xmlui-borderTopWidth-HtmlTable, var(--xmlui-borderVerticalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable)))", "borderBottomWidth-HtmlTable": "var(--xmlui-borderBottomWidth-HtmlTable, var(--xmlui-borderVerticalWidth-HtmlTable, var(--xmlui-borderWidth-HtmlTable)))", "borderStyle-HtmlTable": "var(--xmlui-borderStyle-HtmlTable)", "borderHorizontalStyle-HtmlTable": "var(--xmlui-borderHorizontalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable))", "borderLeftStyle-HtmlTable": "var(--xmlui-borderLeftStyle-HtmlTable, var(--xmlui-borderHorizontalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable)))", "borderRightStyle-HtmlTable": "var(--xmlui-borderRightStyle-HtmlTable, var(--xmlui-borderHorizontalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable)))", "borderVerticalStyle-HtmlTable": "var(--xmlui-borderVerticalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable))", "borderTopStyle-HtmlTable": "var(--xmlui-borderTopStyle-HtmlTable, var(--xmlui-borderVerticalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable)))", "borderBottomStyle-HtmlTable": "var(--xmlui-borderBottomStyle-HtmlTable, var(--xmlui-borderVerticalStyle-HtmlTable, var(--xmlui-borderStyle-HtmlTable)))", "borderColor-HtmlTable": "var(--xmlui-borderColor-HtmlTable)", "borderHorizontalColor-HtmlTable": "var(--xmlui-borderHorizontalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable))", "borderLeftColor-HtmlTable": "var(--xmlui-borderLeftColor-HtmlTable, var(--xmlui-borderHorizontalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable)))", "borderRightColor-HtmlTable": "var(--xmlui-borderRightColor-HtmlTable, var(--xmlui-borderHorizontalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable)))", "borderVerticalColor-HtmlTable": "var(--xmlui-borderVerticalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable))", "borderTopColor-HtmlTable": "var(--xmlui-borderTopColor-HtmlTable, var(--xmlui-borderVerticalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable)))", "borderBottomColor-HtmlTable": "var(--xmlui-borderBottomColor-HtmlTable, var(--xmlui-borderVerticalColor-HtmlTable, var(--xmlui-borderColor-HtmlTable)))", "borderStartStartRadius-HtmlTable": "var(--xmlui-borderStartStartRadius-HtmlTable, var(--xmlui-borderRadius-HtmlTable))", "borderStartEndRadius-HtmlTable": "var(--xmlui-borderStartEndRadius-HtmlTable, var(--xmlui-borderRadius-HtmlTable))", "borderEndStartRadius-HtmlTable": "var(--xmlui-borderEndStartRadius-HtmlTable, var(--xmlui-borderRadius-HtmlTable))", "borderEndEndRadius-HtmlTable": "var(--xmlui-borderEndEndRadius-HtmlTable, var(--xmlui-borderRadius-HtmlTable))", "padding-HtmlTable": "var(--xmlui-padding-HtmlTable)", "paddingHorizontal-HtmlTable": "var(--xmlui-paddingHorizontal-HtmlTable, var(--xmlui-padding-HtmlTable))", "paddingVertical-HtmlTable": "var(--xmlui-paddingVertical-HtmlTable, var(--xmlui-padding-HtmlTable))", "paddingLeft-HtmlTable": "var(--xmlui-paddingLeft-HtmlTable, var(--xmlui-paddingHorizontal-HtmlTable, var(--xmlui-padding-HtmlTable)))", "paddingRight-HtmlTable": "var(--xmlui-paddingRight-HtmlTable, var(--xmlui-paddingHorizontal-HtmlTable, var(--xmlui-padding-HtmlTable)))", "paddingTop-HtmlTable": "var(--xmlui-paddingTop-HtmlTable, var(--xmlui-paddingVertical-HtmlTable, var(--xmlui-padding-HtmlTable)))", "paddingBottom-HtmlTable": "var(--xmlui-paddingBottom-HtmlTable, var(--xmlui-paddingVertical-HtmlTable, var(--xmlui-padding-HtmlTable)))"}'`,themeVarsThead:`'{"backgroundColor-HtmlThead": "var(--xmlui-backgroundColor-HtmlThead)", "textColor-HtmlThead": "var(--xmlui-textColor-HtmlThead)", "fontWeight-HtmlThead": "var(--xmlui-fontWeight-HtmlThead)", "fontSize-HtmlThead": "var(--xmlui-fontSize-HtmlThead)", "textTransform-HtmlThead": "var(--xmlui-textTransform-HtmlThead)", "border-HtmlThead": "var(--xmlui-border-HtmlThead)", "borderHorizontal-HtmlThead": "var(--xmlui-borderHorizontal-HtmlThead, var(--xmlui-border-HtmlThead))", "borderVertical-HtmlThead": "var(--xmlui-borderVertical-HtmlThead, var(--xmlui-border-HtmlThead))", "borderLeft-HtmlThead": "var(--xmlui-borderLeft-HtmlThead, var(--xmlui-borderHorizontal-HtmlThead, var(--xmlui-border-HtmlThead)))", "borderRight-HtmlThead": "var(--xmlui-borderRight-HtmlThead, var(--xmlui-borderHorizontal-HtmlThead, var(--xmlui-border-HtmlThead)))", "borderTop-HtmlThead": "var(--xmlui-borderTop-HtmlThead, var(--xmlui-borderVertical-HtmlThead, var(--xmlui-border-HtmlThead)))", "borderBottom-HtmlThead": "var(--xmlui-borderBottom-HtmlThead, var(--xmlui-borderVertical-HtmlThead, var(--xmlui-border-HtmlThead)))", "borderWidth-HtmlThead": "var(--xmlui-borderWidth-HtmlThead)", "borderHorizontalWidth-HtmlThead": "var(--xmlui-borderHorizontalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead))", "borderLeftWidth-HtmlThead": "var(--xmlui-borderLeftWidth-HtmlThead, var(--xmlui-borderHorizontalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead)))", "borderRightWidth-HtmlThead": "var(--xmlui-borderRightWidth-HtmlThead, var(--xmlui-borderHorizontalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead)))", "borderVerticalWidth-HtmlThead": "var(--xmlui-borderVerticalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead))", "borderTopWidth-HtmlThead": "var(--xmlui-borderTopWidth-HtmlThead, var(--xmlui-borderVerticalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead)))", "borderBottomWidth-HtmlThead": "var(--xmlui-borderBottomWidth-HtmlThead, var(--xmlui-borderVerticalWidth-HtmlThead, var(--xmlui-borderWidth-HtmlThead)))", "borderStyle-HtmlThead": "var(--xmlui-borderStyle-HtmlThead)", "borderHorizontalStyle-HtmlThead": "var(--xmlui-borderHorizontalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead))", "borderLeftStyle-HtmlThead": "var(--xmlui-borderLeftStyle-HtmlThead, var(--xmlui-borderHorizontalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead)))", "borderRightStyle-HtmlThead": "var(--xmlui-borderRightStyle-HtmlThead, var(--xmlui-borderHorizontalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead)))", "borderVerticalStyle-HtmlThead": "var(--xmlui-borderVerticalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead))", "borderTopStyle-HtmlThead": "var(--xmlui-borderTopStyle-HtmlThead, var(--xmlui-borderVerticalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead)))", "borderBottomStyle-HtmlThead": "var(--xmlui-borderBottomStyle-HtmlThead, var(--xmlui-borderVerticalStyle-HtmlThead, var(--xmlui-borderStyle-HtmlThead)))", "borderColor-HtmlThead": "var(--xmlui-borderColor-HtmlThead)", "borderHorizontalColor-HtmlThead": "var(--xmlui-borderHorizontalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead))", "borderLeftColor-HtmlThead": "var(--xmlui-borderLeftColor-HtmlThead, var(--xmlui-borderHorizontalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead)))", "borderRightColor-HtmlThead": "var(--xmlui-borderRightColor-HtmlThead, var(--xmlui-borderHorizontalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead)))", "borderVerticalColor-HtmlThead": "var(--xmlui-borderVerticalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead))", "borderTopColor-HtmlThead": "var(--xmlui-borderTopColor-HtmlThead, var(--xmlui-borderVerticalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead)))", "borderBottomColor-HtmlThead": "var(--xmlui-borderBottomColor-HtmlThead, var(--xmlui-borderVerticalColor-HtmlThead, var(--xmlui-borderColor-HtmlThead)))", "borderStartStartRadius-HtmlThead": "var(--xmlui-borderStartStartRadius-HtmlThead, var(--xmlui-borderRadius-HtmlThead))", "borderStartEndRadius-HtmlThead": "var(--xmlui-borderStartEndRadius-HtmlThead, var(--xmlui-borderRadius-HtmlThead))", "borderEndStartRadius-HtmlThead": "var(--xmlui-borderEndStartRadius-HtmlThead, var(--xmlui-borderRadius-HtmlThead))", "borderEndEndRadius-HtmlThead": "var(--xmlui-borderEndEndRadius-HtmlThead, var(--xmlui-borderRadius-HtmlThead))", "padding-HtmlThead": "var(--xmlui-padding-HtmlThead)", "paddingHorizontal-HtmlThead": "var(--xmlui-paddingHorizontal-HtmlThead, var(--xmlui-padding-HtmlThead))", "paddingVertical-HtmlThead": "var(--xmlui-paddingVertical-HtmlThead, var(--xmlui-padding-HtmlThead))", "paddingLeft-HtmlThead": "var(--xmlui-paddingLeft-HtmlThead, var(--xmlui-paddingHorizontal-HtmlThead, var(--xmlui-padding-HtmlThead)))", "paddingRight-HtmlThead": "var(--xmlui-paddingRight-HtmlThead, var(--xmlui-paddingHorizontal-HtmlThead, var(--xmlui-padding-HtmlThead)))", "paddingTop-HtmlThead": "var(--xmlui-paddingTop-HtmlThead, var(--xmlui-paddingVertical-HtmlThead, var(--xmlui-padding-HtmlThead)))", "paddingBottom-HtmlThead": "var(--xmlui-paddingBottom-HtmlThead, var(--xmlui-paddingVertical-HtmlThead, var(--xmlui-padding-HtmlThead)))"}'`,themeVarsTbody:`'{"backgroundColor-HtmlTbody": "var(--xmlui-backgroundColor-HtmlTbody)", "textColor-HtmlTbody": "var(--xmlui-textColor-HtmlTbody)", "textAlign-HtmlTbody": "var(--xmlui-textAlign-HtmlTbody)", "verticalAlign-HtmlTbody": "var(--xmlui-verticalAlign-HtmlTbody)", "textTransform-HtmlTbody": "var(--xmlui-textTransform-HtmlTbody)"}'`,themeVarsTfoot:`'{"backgroundColor-HtmlTfoot": "var(--xmlui-backgroundColor-HtmlTfoot)", "textColor-HtmlTfoot": "var(--xmlui-textColor-HtmlTfoot)"}'`,themeVarsTh:`'{"backgroundColor-HtmlTh": "var(--xmlui-backgroundColor-HtmlTh)", "textColor-HtmlTh": "var(--xmlui-textColor-HtmlTh)", "fontWeight-HtmlTh": "var(--xmlui-fontWeight-HtmlTh)", "fontSize-HtmlTh": "var(--xmlui-fontSize-HtmlTh)", "backgroundColor-HtmlTh--hover": "var(--xmlui-backgroundColor-HtmlTh--hover)", "border-HtmlTh": "var(--xmlui-border-HtmlTh)", "borderHorizontal-HtmlTh": "var(--xmlui-borderHorizontal-HtmlTh, var(--xmlui-border-HtmlTh))", "borderVertical-HtmlTh": "var(--xmlui-borderVertical-HtmlTh, var(--xmlui-border-HtmlTh))", "borderLeft-HtmlTh": "var(--xmlui-borderLeft-HtmlTh, var(--xmlui-borderHorizontal-HtmlTh, var(--xmlui-border-HtmlTh)))", "borderRight-HtmlTh": "var(--xmlui-borderRight-HtmlTh, var(--xmlui-borderHorizontal-HtmlTh, var(--xmlui-border-HtmlTh)))", "borderTop-HtmlTh": "var(--xmlui-borderTop-HtmlTh, var(--xmlui-borderVertical-HtmlTh, var(--xmlui-border-HtmlTh)))", "borderBottom-HtmlTh": "var(--xmlui-borderBottom-HtmlTh, var(--xmlui-borderVertical-HtmlTh, var(--xmlui-border-HtmlTh)))", "borderWidth-HtmlTh": "var(--xmlui-borderWidth-HtmlTh)", "borderHorizontalWidth-HtmlTh": "var(--xmlui-borderHorizontalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh))", "borderLeftWidth-HtmlTh": "var(--xmlui-borderLeftWidth-HtmlTh, var(--xmlui-borderHorizontalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh)))", "borderRightWidth-HtmlTh": "var(--xmlui-borderRightWidth-HtmlTh, var(--xmlui-borderHorizontalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh)))", "borderVerticalWidth-HtmlTh": "var(--xmlui-borderVerticalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh))", "borderTopWidth-HtmlTh": "var(--xmlui-borderTopWidth-HtmlTh, var(--xmlui-borderVerticalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh)))", "borderBottomWidth-HtmlTh": "var(--xmlui-borderBottomWidth-HtmlTh, var(--xmlui-borderVerticalWidth-HtmlTh, var(--xmlui-borderWidth-HtmlTh)))", "borderStyle-HtmlTh": "var(--xmlui-borderStyle-HtmlTh)", "borderHorizontalStyle-HtmlTh": "var(--xmlui-borderHorizontalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh))", "borderLeftStyle-HtmlTh": "var(--xmlui-borderLeftStyle-HtmlTh, var(--xmlui-borderHorizontalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh)))", "borderRightStyle-HtmlTh": "var(--xmlui-borderRightStyle-HtmlTh, var(--xmlui-borderHorizontalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh)))", "borderVerticalStyle-HtmlTh": "var(--xmlui-borderVerticalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh))", "borderTopStyle-HtmlTh": "var(--xmlui-borderTopStyle-HtmlTh, var(--xmlui-borderVerticalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh)))", "borderBottomStyle-HtmlTh": "var(--xmlui-borderBottomStyle-HtmlTh, var(--xmlui-borderVerticalStyle-HtmlTh, var(--xmlui-borderStyle-HtmlTh)))", "borderColor-HtmlTh": "var(--xmlui-borderColor-HtmlTh)", "borderHorizontalColor-HtmlTh": "var(--xmlui-borderHorizontalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh))", "borderLeftColor-HtmlTh": "var(--xmlui-borderLeftColor-HtmlTh, var(--xmlui-borderHorizontalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh)))", "borderRightColor-HtmlTh": "var(--xmlui-borderRightColor-HtmlTh, var(--xmlui-borderHorizontalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh)))", "borderVerticalColor-HtmlTh": "var(--xmlui-borderVerticalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh))", "borderTopColor-HtmlTh": "var(--xmlui-borderTopColor-HtmlTh, var(--xmlui-borderVerticalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh)))", "borderBottomColor-HtmlTh": "var(--xmlui-borderBottomColor-HtmlTh, var(--xmlui-borderVerticalColor-HtmlTh, var(--xmlui-borderColor-HtmlTh)))", "borderStartStartRadius-HtmlTh": "var(--xmlui-borderStartStartRadius-HtmlTh, var(--xmlui-borderRadius-HtmlTh))", "borderStartEndRadius-HtmlTh": "var(--xmlui-borderStartEndRadius-HtmlTh, var(--xmlui-borderRadius-HtmlTh))", "borderEndStartRadius-HtmlTh": "var(--xmlui-borderEndStartRadius-HtmlTh, var(--xmlui-borderRadius-HtmlTh))", "borderEndEndRadius-HtmlTh": "var(--xmlui-borderEndEndRadius-HtmlTh, var(--xmlui-borderRadius-HtmlTh))", "padding-HtmlTh": "var(--xmlui-padding-HtmlTh)", "paddingHorizontal-HtmlTh": "var(--xmlui-paddingHorizontal-HtmlTh, var(--xmlui-padding-HtmlTh))", "paddingVertical-HtmlTh": "var(--xmlui-paddingVertical-HtmlTh, var(--xmlui-padding-HtmlTh))", "paddingLeft-HtmlTh": "var(--xmlui-paddingLeft-HtmlTh, var(--xmlui-paddingHorizontal-HtmlTh, var(--xmlui-padding-HtmlTh)))", "paddingRight-HtmlTh": "var(--xmlui-paddingRight-HtmlTh, var(--xmlui-paddingHorizontal-HtmlTh, var(--xmlui-padding-HtmlTh)))", "paddingTop-HtmlTh": "var(--xmlui-paddingTop-HtmlTh, var(--xmlui-paddingVertical-HtmlTh, var(--xmlui-padding-HtmlTh)))", "paddingBottom-HtmlTh": "var(--xmlui-paddingBottom-HtmlTh, var(--xmlui-paddingVertical-HtmlTh, var(--xmlui-padding-HtmlTh)))"}'`,themeVarsTr:`'{"backgroundColor-HtmlTr": "var(--xmlui-backgroundColor-HtmlTr)", "backgroundColor-HtmlTr--hover": "var(--xmlui-backgroundColor-HtmlTr--hover)", "backgroundColor-even-HtmlTr": "var(--xmlui-backgroundColor-even-HtmlTr)", "textColor-HtmlTr": "var(--xmlui-textColor-HtmlTr)", "textColor-HtmlTr--hover": "var(--xmlui-textColor-HtmlTr--hover)", "fontSize-HtmlTr": "var(--xmlui-fontSize-HtmlTr)", "fontWeight-HtmlTr": "var(--xmlui-fontWeight-HtmlTr)", "border-HtmlTr": "var(--xmlui-border-HtmlTr)", "borderHorizontal-HtmlTr": "var(--xmlui-borderHorizontal-HtmlTr, var(--xmlui-border-HtmlTr))", "borderVertical-HtmlTr": "var(--xmlui-borderVertical-HtmlTr, var(--xmlui-border-HtmlTr))", "borderLeft-HtmlTr": "var(--xmlui-borderLeft-HtmlTr, var(--xmlui-borderHorizontal-HtmlTr, var(--xmlui-border-HtmlTr)))", "borderRight-HtmlTr": "var(--xmlui-borderRight-HtmlTr, var(--xmlui-borderHorizontal-HtmlTr, var(--xmlui-border-HtmlTr)))", "borderTop-HtmlTr": "var(--xmlui-borderTop-HtmlTr, var(--xmlui-borderVertical-HtmlTr, var(--xmlui-border-HtmlTr)))", "borderBottom-HtmlTr": "var(--xmlui-borderBottom-HtmlTr, var(--xmlui-borderVertical-HtmlTr, var(--xmlui-border-HtmlTr)))", "borderWidth-HtmlTr": "var(--xmlui-borderWidth-HtmlTr)", "borderHorizontalWidth-HtmlTr": "var(--xmlui-borderHorizontalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr))", "borderLeftWidth-HtmlTr": "var(--xmlui-borderLeftWidth-HtmlTr, var(--xmlui-borderHorizontalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr)))", "borderRightWidth-HtmlTr": "var(--xmlui-borderRightWidth-HtmlTr, var(--xmlui-borderHorizontalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr)))", "borderVerticalWidth-HtmlTr": "var(--xmlui-borderVerticalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr))", "borderTopWidth-HtmlTr": "var(--xmlui-borderTopWidth-HtmlTr, var(--xmlui-borderVerticalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr)))", "borderBottomWidth-HtmlTr": "var(--xmlui-borderBottomWidth-HtmlTr, var(--xmlui-borderVerticalWidth-HtmlTr, var(--xmlui-borderWidth-HtmlTr)))", "borderStyle-HtmlTr": "var(--xmlui-borderStyle-HtmlTr)", "borderHorizontalStyle-HtmlTr": "var(--xmlui-borderHorizontalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr))", "borderLeftStyle-HtmlTr": "var(--xmlui-borderLeftStyle-HtmlTr, var(--xmlui-borderHorizontalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr)))", "borderRightStyle-HtmlTr": "var(--xmlui-borderRightStyle-HtmlTr, var(--xmlui-borderHorizontalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr)))", "borderVerticalStyle-HtmlTr": "var(--xmlui-borderVerticalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr))", "borderTopStyle-HtmlTr": "var(--xmlui-borderTopStyle-HtmlTr, var(--xmlui-borderVerticalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr)))", "borderBottomStyle-HtmlTr": "var(--xmlui-borderBottomStyle-HtmlTr, var(--xmlui-borderVerticalStyle-HtmlTr, var(--xmlui-borderStyle-HtmlTr)))", "borderColor-HtmlTr": "var(--xmlui-borderColor-HtmlTr)", "borderHorizontalColor-HtmlTr": "var(--xmlui-borderHorizontalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr))", "borderLeftColor-HtmlTr": "var(--xmlui-borderLeftColor-HtmlTr, var(--xmlui-borderHorizontalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr)))", "borderRightColor-HtmlTr": "var(--xmlui-borderRightColor-HtmlTr, var(--xmlui-borderHorizontalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr)))", "borderVerticalColor-HtmlTr": "var(--xmlui-borderVerticalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr))", "borderTopColor-HtmlTr": "var(--xmlui-borderTopColor-HtmlTr, var(--xmlui-borderVerticalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr)))", "borderBottomColor-HtmlTr": "var(--xmlui-borderBottomColor-HtmlTr, var(--xmlui-borderVerticalColor-HtmlTr, var(--xmlui-borderColor-HtmlTr)))", "borderStartStartRadius-HtmlTr": "var(--xmlui-borderStartStartRadius-HtmlTr, var(--xmlui-borderRadius-HtmlTr))", "borderStartEndRadius-HtmlTr": "var(--xmlui-borderStartEndRadius-HtmlTr, var(--xmlui-borderRadius-HtmlTr))", "borderEndStartRadius-HtmlTr": "var(--xmlui-borderEndStartRadius-HtmlTr, var(--xmlui-borderRadius-HtmlTr))", "borderEndEndRadius-HtmlTr": "var(--xmlui-borderEndEndRadius-HtmlTr, var(--xmlui-borderRadius-HtmlTr))"}'`,themeVarsTd:`'{"backgroundColor-HtmlTd": "var(--xmlui-backgroundColor-HtmlTd)", "text-align-HtmlTd": "var(--xmlui-text-align-HtmlTd)", "verticalAlign-HtmlTd": "var(--xmlui-verticalAlign-HtmlTd)", "fontSize-HtmlTd": "var(--xmlui-fontSize-HtmlTd)", "fontWeight-HtmlTd": "var(--xmlui-fontWeight-HtmlTd)", "border-HtmlTd": "var(--xmlui-border-HtmlTd)", "borderHorizontal-HtmlTd": "var(--xmlui-borderHorizontal-HtmlTd, var(--xmlui-border-HtmlTd))", "borderVertical-HtmlTd": "var(--xmlui-borderVertical-HtmlTd, var(--xmlui-border-HtmlTd))", "borderLeft-HtmlTd": "var(--xmlui-borderLeft-HtmlTd, var(--xmlui-borderHorizontal-HtmlTd, var(--xmlui-border-HtmlTd)))", "borderRight-HtmlTd": "var(--xmlui-borderRight-HtmlTd, var(--xmlui-borderHorizontal-HtmlTd, var(--xmlui-border-HtmlTd)))", "borderTop-HtmlTd": "var(--xmlui-borderTop-HtmlTd, var(--xmlui-borderVertical-HtmlTd, var(--xmlui-border-HtmlTd)))", "borderBottom-HtmlTd": "var(--xmlui-borderBottom-HtmlTd, var(--xmlui-borderVertical-HtmlTd, var(--xmlui-border-HtmlTd)))", "borderWidth-HtmlTd": "var(--xmlui-borderWidth-HtmlTd)", "borderHorizontalWidth-HtmlTd": "var(--xmlui-borderHorizontalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd))", "borderLeftWidth-HtmlTd": "var(--xmlui-borderLeftWidth-HtmlTd, var(--xmlui-borderHorizontalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd)))", "borderRightWidth-HtmlTd": "var(--xmlui-borderRightWidth-HtmlTd, var(--xmlui-borderHorizontalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd)))", "borderVerticalWidth-HtmlTd": "var(--xmlui-borderVerticalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd))", "borderTopWidth-HtmlTd": "var(--xmlui-borderTopWidth-HtmlTd, var(--xmlui-borderVerticalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd)))", "borderBottomWidth-HtmlTd": "var(--xmlui-borderBottomWidth-HtmlTd, var(--xmlui-borderVerticalWidth-HtmlTd, var(--xmlui-borderWidth-HtmlTd)))", "borderStyle-HtmlTd": "var(--xmlui-borderStyle-HtmlTd)", "borderHorizontalStyle-HtmlTd": "var(--xmlui-borderHorizontalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd))", "borderLeftStyle-HtmlTd": "var(--xmlui-borderLeftStyle-HtmlTd, var(--xmlui-borderHorizontalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd)))", "borderRightStyle-HtmlTd": "var(--xmlui-borderRightStyle-HtmlTd, var(--xmlui-borderHorizontalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd)))", "borderVerticalStyle-HtmlTd": "var(--xmlui-borderVerticalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd))", "borderTopStyle-HtmlTd": "var(--xmlui-borderTopStyle-HtmlTd, var(--xmlui-borderVerticalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd)))", "borderBottomStyle-HtmlTd": "var(--xmlui-borderBottomStyle-HtmlTd, var(--xmlui-borderVerticalStyle-HtmlTd, var(--xmlui-borderStyle-HtmlTd)))", "borderColor-HtmlTd": "var(--xmlui-borderColor-HtmlTd)", "borderHorizontalColor-HtmlTd": "var(--xmlui-borderHorizontalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd))", "borderLeftColor-HtmlTd": "var(--xmlui-borderLeftColor-HtmlTd, var(--xmlui-borderHorizontalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd)))", "borderRightColor-HtmlTd": "var(--xmlui-borderRightColor-HtmlTd, var(--xmlui-borderHorizontalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd)))", "borderVerticalColor-HtmlTd": "var(--xmlui-borderVerticalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd))", "borderTopColor-HtmlTd": "var(--xmlui-borderTopColor-HtmlTd, var(--xmlui-borderVerticalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd)))", "borderBottomColor-HtmlTd": "var(--xmlui-borderBottomColor-HtmlTd, var(--xmlui-borderVerticalColor-HtmlTd, var(--xmlui-borderColor-HtmlTd)))", "borderStartStartRadius-HtmlTd": "var(--xmlui-borderStartStartRadius-HtmlTd, var(--xmlui-borderRadius-HtmlTd))", "borderStartEndRadius-HtmlTd": "var(--xmlui-borderStartEndRadius-HtmlTd, var(--xmlui-borderRadius-HtmlTd))", "borderEndStartRadius-HtmlTd": "var(--xmlui-borderEndStartRadius-HtmlTd, var(--xmlui-borderRadius-HtmlTd))", "borderEndEndRadius-HtmlTd": "var(--xmlui-borderEndEndRadius-HtmlTd, var(--xmlui-borderRadius-HtmlTd))", "padding-HtmlTd": "var(--xmlui-padding-HtmlTd)", "paddingHorizontal-HtmlTd": "var(--xmlui-paddingHorizontal-HtmlTd, var(--xmlui-padding-HtmlTd))", "paddingVertical-HtmlTd": "var(--xmlui-paddingVertical-HtmlTd, var(--xmlui-padding-HtmlTd))", "paddingLeft-HtmlTd": "var(--xmlui-paddingLeft-HtmlTd, var(--xmlui-paddingHorizontal-HtmlTd, var(--xmlui-padding-HtmlTd)))", "paddingRight-HtmlTd": "var(--xmlui-paddingRight-HtmlTd, var(--xmlui-paddingHorizontal-HtmlTd, var(--xmlui-padding-HtmlTd)))", "paddingTop-HtmlTd": "var(--xmlui-paddingTop-HtmlTd, var(--xmlui-paddingVertical-HtmlTd, var(--xmlui-padding-HtmlTd)))", "paddingBottom-HtmlTd": "var(--xmlui-paddingBottom-HtmlTd, var(--xmlui-paddingVertical-HtmlTd, var(--xmlui-padding-HtmlTd)))"}'`,themeVarsList:`'{"border-HtmlOl": "var(--xmlui-border-HtmlOl)", "borderHorizontal-HtmlOl": "var(--xmlui-borderHorizontal-HtmlOl, var(--xmlui-border-HtmlOl))", "borderVertical-HtmlOl": "var(--xmlui-borderVertical-HtmlOl, var(--xmlui-border-HtmlOl))", "borderLeft-HtmlOl": "var(--xmlui-borderLeft-HtmlOl, var(--xmlui-borderHorizontal-HtmlOl, var(--xmlui-border-HtmlOl)))", "borderRight-HtmlOl": "var(--xmlui-borderRight-HtmlOl, var(--xmlui-borderHorizontal-HtmlOl, var(--xmlui-border-HtmlOl)))", "borderTop-HtmlOl": "var(--xmlui-borderTop-HtmlOl, var(--xmlui-borderVertical-HtmlOl, var(--xmlui-border-HtmlOl)))", "borderBottom-HtmlOl": "var(--xmlui-borderBottom-HtmlOl, var(--xmlui-borderVertical-HtmlOl, var(--xmlui-border-HtmlOl)))", "borderWidth-HtmlOl": "var(--xmlui-borderWidth-HtmlOl)", "borderHorizontalWidth-HtmlOl": "var(--xmlui-borderHorizontalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl))", "borderLeftWidth-HtmlOl": "var(--xmlui-borderLeftWidth-HtmlOl, var(--xmlui-borderHorizontalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl)))", "borderRightWidth-HtmlOl": "var(--xmlui-borderRightWidth-HtmlOl, var(--xmlui-borderHorizontalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl)))", "borderVerticalWidth-HtmlOl": "var(--xmlui-borderVerticalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl))", "borderTopWidth-HtmlOl": "var(--xmlui-borderTopWidth-HtmlOl, var(--xmlui-borderVerticalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl)))", "borderBottomWidth-HtmlOl": "var(--xmlui-borderBottomWidth-HtmlOl, var(--xmlui-borderVerticalWidth-HtmlOl, var(--xmlui-borderWidth-HtmlOl)))", "borderStyle-HtmlOl": "var(--xmlui-borderStyle-HtmlOl)", "borderHorizontalStyle-HtmlOl": "var(--xmlui-borderHorizontalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl))", "borderLeftStyle-HtmlOl": "var(--xmlui-borderLeftStyle-HtmlOl, var(--xmlui-borderHorizontalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl)))", "borderRightStyle-HtmlOl": "var(--xmlui-borderRightStyle-HtmlOl, var(--xmlui-borderHorizontalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl)))", "borderVerticalStyle-HtmlOl": "var(--xmlui-borderVerticalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl))", "borderTopStyle-HtmlOl": "var(--xmlui-borderTopStyle-HtmlOl, var(--xmlui-borderVerticalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl)))", "borderBottomStyle-HtmlOl": "var(--xmlui-borderBottomStyle-HtmlOl, var(--xmlui-borderVerticalStyle-HtmlOl, var(--xmlui-borderStyle-HtmlOl)))", "borderColor-HtmlOl": "var(--xmlui-borderColor-HtmlOl)", "borderHorizontalColor-HtmlOl": "var(--xmlui-borderHorizontalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl))", "borderLeftColor-HtmlOl": "var(--xmlui-borderLeftColor-HtmlOl, var(--xmlui-borderHorizontalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl)))", "borderRightColor-HtmlOl": "var(--xmlui-borderRightColor-HtmlOl, var(--xmlui-borderHorizontalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl)))", "borderVerticalColor-HtmlOl": "var(--xmlui-borderVerticalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl))", "borderTopColor-HtmlOl": "var(--xmlui-borderTopColor-HtmlOl, var(--xmlui-borderVerticalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl)))", "borderBottomColor-HtmlOl": "var(--xmlui-borderBottomColor-HtmlOl, var(--xmlui-borderVerticalColor-HtmlOl, var(--xmlui-borderColor-HtmlOl)))", "borderStartStartRadius-HtmlOl": "var(--xmlui-borderStartStartRadius-HtmlOl, var(--xmlui-borderRadius-HtmlOl))", "borderStartEndRadius-HtmlOl": "var(--xmlui-borderStartEndRadius-HtmlOl, var(--xmlui-borderRadius-HtmlOl))", "borderEndStartRadius-HtmlOl": "var(--xmlui-borderEndStartRadius-HtmlOl, var(--xmlui-borderRadius-HtmlOl))", "borderEndEndRadius-HtmlOl": "var(--xmlui-borderEndEndRadius-HtmlOl, var(--xmlui-borderRadius-HtmlOl))", "padding-HtmlOl": "var(--xmlui-padding-HtmlOl)", "paddingHorizontal-HtmlOl": "var(--xmlui-paddingHorizontal-HtmlOl, var(--xmlui-padding-HtmlOl))", "paddingVertical-HtmlOl": "var(--xmlui-paddingVertical-HtmlOl, var(--xmlui-padding-HtmlOl))", "paddingLeft-HtmlOl": "var(--xmlui-paddingLeft-HtmlOl, var(--xmlui-paddingHorizontal-HtmlOl, var(--xmlui-padding-HtmlOl)))", "paddingRight-HtmlOl": "var(--xmlui-paddingRight-HtmlOl, var(--xmlui-paddingHorizontal-HtmlOl, var(--xmlui-padding-HtmlOl)))", "paddingTop-HtmlOl": "var(--xmlui-paddingTop-HtmlOl, var(--xmlui-paddingVertical-HtmlOl, var(--xmlui-padding-HtmlOl)))", "paddingBottom-HtmlOl": "var(--xmlui-paddingBottom-HtmlOl, var(--xmlui-paddingVertical-HtmlOl, var(--xmlui-padding-HtmlOl)))", "marginTop-HtmlOl": "var(--xmlui-marginTop-HtmlOl)", "marginBottom-HtmlOl": "var(--xmlui-marginBottom-HtmlOl)", "border-HtmlUl": "var(--xmlui-border-HtmlUl)", "borderHorizontal-HtmlUl": "var(--xmlui-borderHorizontal-HtmlUl, var(--xmlui-border-HtmlUl))", "borderVertical-HtmlUl": "var(--xmlui-borderVertical-HtmlUl, var(--xmlui-border-HtmlUl))", "borderLeft-HtmlUl": "var(--xmlui-borderLeft-HtmlUl, var(--xmlui-borderHorizontal-HtmlUl, var(--xmlui-border-HtmlUl)))", "borderRight-HtmlUl": "var(--xmlui-borderRight-HtmlUl, var(--xmlui-borderHorizontal-HtmlUl, var(--xmlui-border-HtmlUl)))", "borderTop-HtmlUl": "var(--xmlui-borderTop-HtmlUl, var(--xmlui-borderVertical-HtmlUl, var(--xmlui-border-HtmlUl)))", "borderBottom-HtmlUl": "var(--xmlui-borderBottom-HtmlUl, var(--xmlui-borderVertical-HtmlUl, var(--xmlui-border-HtmlUl)))", "borderWidth-HtmlUl": "var(--xmlui-borderWidth-HtmlUl)", "borderHorizontalWidth-HtmlUl": "var(--xmlui-borderHorizontalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl))", "borderLeftWidth-HtmlUl": "var(--xmlui-borderLeftWidth-HtmlUl, var(--xmlui-borderHorizontalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl)))", "borderRightWidth-HtmlUl": "var(--xmlui-borderRightWidth-HtmlUl, var(--xmlui-borderHorizontalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl)))", "borderVerticalWidth-HtmlUl": "var(--xmlui-borderVerticalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl))", "borderTopWidth-HtmlUl": "var(--xmlui-borderTopWidth-HtmlUl, var(--xmlui-borderVerticalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl)))", "borderBottomWidth-HtmlUl": "var(--xmlui-borderBottomWidth-HtmlUl, var(--xmlui-borderVerticalWidth-HtmlUl, var(--xmlui-borderWidth-HtmlUl)))", "borderStyle-HtmlUl": "var(--xmlui-borderStyle-HtmlUl)", "borderHorizontalStyle-HtmlUl": "var(--xmlui-borderHorizontalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl))", "borderLeftStyle-HtmlUl": "var(--xmlui-borderLeftStyle-HtmlUl, var(--xmlui-borderHorizontalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl)))", "borderRightStyle-HtmlUl": "var(--xmlui-borderRightStyle-HtmlUl, var(--xmlui-borderHorizontalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl)))", "borderVerticalStyle-HtmlUl": "var(--xmlui-borderVerticalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl))", "borderTopStyle-HtmlUl": "var(--xmlui-borderTopStyle-HtmlUl, var(--xmlui-borderVerticalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl)))", "borderBottomStyle-HtmlUl": "var(--xmlui-borderBottomStyle-HtmlUl, var(--xmlui-borderVerticalStyle-HtmlUl, var(--xmlui-borderStyle-HtmlUl)))", "borderColor-HtmlUl": "var(--xmlui-borderColor-HtmlUl)", "borderHorizontalColor-HtmlUl": "var(--xmlui-borderHorizontalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl))", "borderLeftColor-HtmlUl": "var(--xmlui-borderLeftColor-HtmlUl, var(--xmlui-borderHorizontalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl)))", "borderRightColor-HtmlUl": "var(--xmlui-borderRightColor-HtmlUl, var(--xmlui-borderHorizontalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl)))", "borderVerticalColor-HtmlUl": "var(--xmlui-borderVerticalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl))", "borderTopColor-HtmlUl": "var(--xmlui-borderTopColor-HtmlUl, var(--xmlui-borderVerticalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl)))", "borderBottomColor-HtmlUl": "var(--xmlui-borderBottomColor-HtmlUl, var(--xmlui-borderVerticalColor-HtmlUl, var(--xmlui-borderColor-HtmlUl)))", "borderStartStartRadius-HtmlUl": "var(--xmlui-borderStartStartRadius-HtmlUl, var(--xmlui-borderRadius-HtmlUl))", "borderStartEndRadius-HtmlUl": "var(--xmlui-borderStartEndRadius-HtmlUl, var(--xmlui-borderRadius-HtmlUl))", "borderEndStartRadius-HtmlUl": "var(--xmlui-borderEndStartRadius-HtmlUl, var(--xmlui-borderRadius-HtmlUl))", "borderEndEndRadius-HtmlUl": "var(--xmlui-borderEndEndRadius-HtmlUl, var(--xmlui-borderRadius-HtmlUl))", "padding-HtmlUl": "var(--xmlui-padding-HtmlUl)", "paddingHorizontal-HtmlUl": "var(--xmlui-paddingHorizontal-HtmlUl, var(--xmlui-padding-HtmlUl))", "paddingVertical-HtmlUl": "var(--xmlui-paddingVertical-HtmlUl, var(--xmlui-padding-HtmlUl))", "paddingLeft-HtmlUl": "var(--xmlui-paddingLeft-HtmlUl, var(--xmlui-paddingHorizontal-HtmlUl, var(--xmlui-padding-HtmlUl)))", "paddingRight-HtmlUl": "var(--xmlui-paddingRight-HtmlUl, var(--xmlui-paddingHorizontal-HtmlUl, var(--xmlui-padding-HtmlUl)))", "paddingTop-HtmlUl": "var(--xmlui-paddingTop-HtmlUl, var(--xmlui-paddingVertical-HtmlUl, var(--xmlui-padding-HtmlUl)))", "paddingBottom-HtmlUl": "var(--xmlui-paddingBottom-HtmlUl, var(--xmlui-paddingVertical-HtmlUl, var(--xmlui-padding-HtmlUl)))", "marginTop-HtmlUl": "var(--xmlui-marginTop-HtmlUl)", "marginBottom-HtmlUl": "var(--xmlui-marginBottom-HtmlUl)", "border-HtmlLi": "var(--xmlui-border-HtmlLi)", "borderHorizontal-HtmlLi": "var(--xmlui-borderHorizontal-HtmlLi, var(--xmlui-border-HtmlLi))", "borderVertical-HtmlLi": "var(--xmlui-borderVertical-HtmlLi, var(--xmlui-border-HtmlLi))", "borderLeft-HtmlLi": "var(--xmlui-borderLeft-HtmlLi, var(--xmlui-borderHorizontal-HtmlLi, var(--xmlui-border-HtmlLi)))", "borderRight-HtmlLi": "var(--xmlui-borderRight-HtmlLi, var(--xmlui-borderHorizontal-HtmlLi, var(--xmlui-border-HtmlLi)))", "borderTop-HtmlLi": "var(--xmlui-borderTop-HtmlLi, var(--xmlui-borderVertical-HtmlLi, var(--xmlui-border-HtmlLi)))", "borderBottom-HtmlLi": "var(--xmlui-borderBottom-HtmlLi, var(--xmlui-borderVertical-HtmlLi, var(--xmlui-border-HtmlLi)))", "borderWidth-HtmlLi": "var(--xmlui-borderWidth-HtmlLi)", "borderHorizontalWidth-HtmlLi": "var(--xmlui-borderHorizontalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi))", "borderLeftWidth-HtmlLi": "var(--xmlui-borderLeftWidth-HtmlLi, var(--xmlui-borderHorizontalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi)))", "borderRightWidth-HtmlLi": "var(--xmlui-borderRightWidth-HtmlLi, var(--xmlui-borderHorizontalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi)))", "borderVerticalWidth-HtmlLi": "var(--xmlui-borderVerticalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi))", "borderTopWidth-HtmlLi": "var(--xmlui-borderTopWidth-HtmlLi, var(--xmlui-borderVerticalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi)))", "borderBottomWidth-HtmlLi": "var(--xmlui-borderBottomWidth-HtmlLi, var(--xmlui-borderVerticalWidth-HtmlLi, var(--xmlui-borderWidth-HtmlLi)))", "borderStyle-HtmlLi": "var(--xmlui-borderStyle-HtmlLi)", "borderHorizontalStyle-HtmlLi": "var(--xmlui-borderHorizontalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi))", "borderLeftStyle-HtmlLi": "var(--xmlui-borderLeftStyle-HtmlLi, var(--xmlui-borderHorizontalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi)))", "borderRightStyle-HtmlLi": "var(--xmlui-borderRightStyle-HtmlLi, var(--xmlui-borderHorizontalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi)))", "borderVerticalStyle-HtmlLi": "var(--xmlui-borderVerticalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi))", "borderTopStyle-HtmlLi": "var(--xmlui-borderTopStyle-HtmlLi, var(--xmlui-borderVerticalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi)))", "borderBottomStyle-HtmlLi": "var(--xmlui-borderBottomStyle-HtmlLi, var(--xmlui-borderVerticalStyle-HtmlLi, var(--xmlui-borderStyle-HtmlLi)))", "borderColor-HtmlLi": "var(--xmlui-borderColor-HtmlLi)", "borderHorizontalColor-HtmlLi": "var(--xmlui-borderHorizontalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi))", "borderLeftColor-HtmlLi": "var(--xmlui-borderLeftColor-HtmlLi, var(--xmlui-borderHorizontalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi)))", "borderRightColor-HtmlLi": "var(--xmlui-borderRightColor-HtmlLi, var(--xmlui-borderHorizontalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi)))", "borderVerticalColor-HtmlLi": "var(--xmlui-borderVerticalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi))", "borderTopColor-HtmlLi": "var(--xmlui-borderTopColor-HtmlLi, var(--xmlui-borderVerticalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi)))", "borderBottomColor-HtmlLi": "var(--xmlui-borderBottomColor-HtmlLi, var(--xmlui-borderVerticalColor-HtmlLi, var(--xmlui-borderColor-HtmlLi)))", "borderStartStartRadius-HtmlLi": "var(--xmlui-borderStartStartRadius-HtmlLi, var(--xmlui-borderRadius-HtmlLi))", "borderStartEndRadius-HtmlLi": "var(--xmlui-borderStartEndRadius-HtmlLi, var(--xmlui-borderRadius-HtmlLi))", "borderEndStartRadius-HtmlLi": "var(--xmlui-borderEndStartRadius-HtmlLi, var(--xmlui-borderRadius-HtmlLi))", "borderEndEndRadius-HtmlLi": "var(--xmlui-borderEndEndRadius-HtmlLi, var(--xmlui-borderRadius-HtmlLi))", "padding-HtmlLi": "var(--xmlui-padding-HtmlLi)", "paddingHorizontal-HtmlLi": "var(--xmlui-paddingHorizontal-HtmlLi, var(--xmlui-padding-HtmlLi))", "paddingVertical-HtmlLi": "var(--xmlui-paddingVertical-HtmlLi, var(--xmlui-padding-HtmlLi))", "paddingLeft-HtmlLi": "var(--xmlui-paddingLeft-HtmlLi, var(--xmlui-paddingHorizontal-HtmlLi, var(--xmlui-padding-HtmlLi)))", "paddingRight-HtmlLi": "var(--xmlui-paddingRight-HtmlLi, var(--xmlui-paddingHorizontal-HtmlLi, var(--xmlui-padding-HtmlLi)))", "paddingTop-HtmlLi": "var(--xmlui-paddingTop-HtmlLi, var(--xmlui-paddingVertical-HtmlLi, var(--xmlui-padding-HtmlLi)))", "paddingBottom-HtmlLi": "var(--xmlui-paddingBottom-HtmlLi, var(--xmlui-paddingVertical-HtmlLi, var(--xmlui-padding-HtmlLi)))", "marginLeft-HtmlLi": "var(--xmlui-marginLeft-HtmlLi)", "marginTop-HtmlLi": "var(--xmlui-marginTop-HtmlLi)", "marginBottom-HtmlLi": "var(--xmlui-marginBottom-HtmlLi)", "listStyleType-HtmlLi": "var(--xmlui-listStyleType-HtmlLi)"}'`,themeVarsHeading:`'{"marginTop-HtmlHeading": "var(--xmlui-marginTop-HtmlHeading)", "marginBottom-HtmlHeading": "var(--xmlui-marginBottom-HtmlHeading)"}'`,themeVarsVideo:`'{"marginTop-HtmlVideo": "var(--xmlui-marginTop-HtmlVideo)", "marginBottom-HtmlVideo": "var(--xmlui-marginBottom-HtmlVideo)"}'`,themeVarsDetails:`'{"marginTop-HtmlDetails": "var(--xmlui-marginTop-HtmlDetails)", "marginBottom-HtmlDetails": "var(--xmlui-marginBottom-HtmlDetails)"}'`},vp={description:"The `SpaceFiller` is a component that works well in layout containers to fill the remaining (unused) space. Its behavior depends on the layout container in which it is used.",themeVars:Y(Nl.themeVars)},jt="TextArea",fp=[{value:"(undefined)",description:"No resizing"},{value:"horizontal",description:"Can only resize horizontally"},{value:"vertical",description:"Can only resize vertically"},{value:"both",description:"Can resize in both dimensions"}],gp={status:"experimental",description:`\`${jt}\` is a component that provides a multiline text input area.`,props:{enterSubmits:{description:"This optional boolean property indicates whether pressing the `Enter` key on the keyboard prompts the parent `Form` component to submit.",valueType:"boolean",defaultValue:!0},escResets:{description:`This boolean property indicates whether the ${jt} contents should be reset when pressing the ESC key.`,valueType:"boolean",defaultValue:!1},maxRows:m(`This optional property sets the maximum number of text rows the \`${jt}\` can grow.`),minRows:m(`This optional property sets the minimum number of text rows the \`${jt}\` can shrink.`),rows:{description:"Specifies the number of rows the component initially has.",valueType:"number",defaultValue:2},autoSize:{description:`If set to \`true\`, this boolean property enables the \`${jt}\` to resize automatically based on the number of lines inside it.`,valueType:"boolean",defaultValue:!1},placeholder:Er(),initialValue:Tt(),label:qe(),labelPosition:gt("top"),labelWidth:_t(jt),labelBreak:Vt(jt),maxLength:ta(),autoFocus:it(),required:Nt(),readOnly:At(),enabled:Ze(),validationStatus:Wt(),resize:{description:"This optional property specifies in which dimensions can the `TextArea` be resized by the user.",availableValues:fp}},events:{gotFocus:vt(jt),lostFocus:ft(jt),didChange:at(jt)},apis:{focus:Jt(jt),value:m("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Qt()},themeVars:Y(ir.themeVars)},We="NavLink",Tp={description:`The \`${We}\` component defines a navigation target (app navigation menu item) within the app; it is associated with a particular in-app navigation target (or an external link).`,props:{to:m("This property defines the URL of the link."),enabled:Ze(),active:{description:"This property indicates if the particular navigation is an active link. An active link has a particular visual appearance, provided its [`displayActive`](#displayactive) property is set to `true`.",valueType:"boolean",defaultValue:!1},target:{description:"This property specifies how to open the clicked link.",availableValues:Ni,type:"string",defaultValue:"_self"},label:qe(),vertical:{description:`This property sets how the active status is displayed on the \`${We}\` component. If set to true, the indicator is displayed on the side which lends itself to a vertically aligned navigation menu.`,valueType:"boolean",defaultValue:!1},displayActive:{description:"This Boolean property indicates if the active state of a link should have a visual indication. Setting it to `false` removes the visual indication of an active link.",valueType:"boolean",defaultValue:!0},icon:m("This property allows you to add an icon (specify the icon's name) to the navigation link.")},events:{click:io(We)},themeVars:Y(dr.themeVars),themeVarDescriptions:{[`color-indicator-${We}`]:"Provides the following states: `--hover`, `--active`, `--pressed`"},defaultThemeVars:{[`border-${We}`]:"0px solid $borderColor",[`borderRadius-${We}`]:"$borderRadius",[`backgroundColor-${We}`]:"transparent",[`paddingHorizontal-${We}`]:"$space-4",[`paddingVertical-${We}`]:"$space-2",[`fontSize-${We}`]:"$fontSize-small",[`fontWeight-${We}`]:"$fontWeight-normal",[`fontFamily-${We}`]:"$fontFamily",[`textColor-${We}`]:"$textColor-primary",[`fontWeight-${We}--pressed`]:"$fontWeight-normal",[`thickness-indicator-${We}`]:"$space-0_5",[`outlineColor-${We}--focus`]:"$outlineColor--focus",[`outlineWidth-${We}--focus`]:"$outlineWidth--focus",[`outlineStyle-${We}--focus`]:"$outlineStyle--focus",[`outlineOffset-${We}--focus`]:"-1px",[`borderRadius-indicator-${We}`]:"$borderRadius",[`color-icon-${We}`]:"$color-surface-500",[`color-indicator-${We}--active`]:"$color-primary-500",[`color-indicator-${We}--pressed`]:"$color-primary-500",[`color-indicator-${We}--hover`]:"$color-primary-600"}},Cp={status:"in progress",description:"The `Tree` component is a virtualized tree component that displays hierarchical data.",props:{data:{description:"The data source of the tree.",required:!0},selectedUid:{description:"The ID (optional) of the selected tree row."},itemTemplate:$e("The template for each item in the tree.")}},Q="Text",yp={description:`The \`${Q}\` component displays textual information in a number of optional styles and variants.`,props:{value:m(`The text to be displayed. This value can also be set via nesting the text into the \`${Q}\` component.`),variant:{description:"An optional string value that provides named presets for text variants with a unique combination of font style, weight, size, color, and other parameters. If not defined, the text uses the current style of its context.",availableValues:As},maxLines:m("This property determines the maximum number of lines the component can wrap to. If there is no space to display all the contents, the component displays up to as many lines as specified in this property. When the value is not defined, there is no limit on the displayed lines."),preserveLinebreaks:{description:"This property indicates if linebreaks should be preserved when displaying text.",valueType:"boolean",defaultValue:"false"},ellipses:{description:"This property indicates whether ellipses should be displayed when the text is cropped (`true`) or not (`false`).",valueType:"boolean",defaultValue:!1}},themeVars:Y(lo.themeVars),defaultThemeVars:{[`borderRadius-${Q}`]:"$borderRadius",[`borderStyle-${Q}`]:"solid",[`fontSize-${Q}`]:"$fontSize-small",[`borderWidth-${Q}`]:"$space-0",[`fontWeight-${Q}-abbr`]:"$fontWeight-bold",[`textTransform-${Q}-abbr`]:"uppercase",[`fontSize-${Q}-secondary`]:"$fontSize-small",[`fontStyle-${Q}-cite`]:"italic",[`textColor-${Q}`]:"$textColor-primary",[`fontFamily-${Q}`]:"$fontFamily",[`fontWeight-${Q}`]:"$fontWeight-normal",[`fontSize-${Q}-codefence`]:"$fontSize-small",[`fontFamily-${Q}-code`]:"$fontFamily-monospace",[`fontSize-${Q}-code`]:"$fontSize-small",[`borderWidth-${Q}-code`]:"1px",[`borderStyle-${Q}-code`]:"solid",[`borderRadius-${Q}-code`]:"4px",[`paddingHorizontal-${Q}-code`]:"$space-1",[`paddingBottom-${Q}-code`]:"2px",[`textDecorationLine-${Q}-deleted`]:"line-through",[`textDecorationLine-${Q}-inserted`]:"underline",[`fontFamily-${Q}-keyboard`]:"$fontFamily-monospace",[`fontSize-${Q}-keyboard`]:"$fontSize-small",[`fontWeight-${Q}-keyboard`]:"$fontWeight-bold",[`borderWidth-${Q}-keyboard`]:"1px",[`paddingHorizontal-${Q}-keyboard`]:"$space-1",[`fontFamily-${Q}-sample`]:"$fontFamily-monospace",[`fontSize-${Q}-sample`]:"$fontSize-small",[`fontSize-${Q}-sup`]:"$fontSize-smaller",[`verticalAlign-${Q}-sup`]:"super",[`fontSize-${Q}-sub`]:"$fontSize-smaller",[`verticalAlign-${Q}-sub`]:"sub",[`fontStyle-${Q}-var`]:"italic",[`fontStyle-${Q}-em`]:"italic",[`fontFamily-${Q}-mono`]:"$fontFamily-monospace",[`fontSize-${Q}-title`]:"$fontSize-large",[`fontSize-${Q}-subtitle`]:"$fontSize-medium",[`fontSize-${Q}-small`]:"$fontSize-small",[`lineHeight-${Q}-small`]:"$lineHeight-tight",[`letterSpacing-${Q}-caption`]:"0.05rem",[`fontSize-${Q}-placeholder`]:"$fontSize-small",[`fontFamily-${Q}-codefence`]:"$fontFamily-monospace",[`paddingHorizontal-${Q}-codefence`]:"$space-3",[`paddingVertical-${Q}-codefence`]:"$space-2",[`paddingVertical-${Q}-paragraph`]:"$space-1",[`fontSize-${Q}-subheading`]:"$fontSize-H6",[`fontWeight-${Q}-subheading`]:"$fontWeight-bold",[`letterSpacing-${Q}-subheading`]:"0.04em",[`textTransform-${Q}-subheading`]:"uppercase",[`marginTop-${Q}-tableheading`]:"$space-1",[`marginBottom-${Q}-tableheading`]:"$space-4",[`paddingHorizontal-${Q}-tableheading`]:"$space-1",[`fontWeight-${Q}-tableheading`]:"$fontWeight-bold",[`marginTop-${Q}-markdown`]:"$space-3",[`marginBottom-${Q}-markdown`]:"$space-6",[`backgroundColor-${Q}-code`]:"rgba($color-surface-100-rgb, .4)",[`borderColor-${Q}-code`]:"$color-surface-100",[`backgroundColor-${Q}-keyboard`]:"rgba($color-surface-100-rgb, .4)",[`borderColor-${Q}-keyboard`]:"$color-surface-300",[`backgroundColor-${Q}-marked`]:"rgba($color-primary-200-rgb, .4)",[`color-${Q}-placeholder`]:"$color-surface-500",[`color-${Q}-codefence`]:"$color-surface-900",[`color-${Q}-subheading`]:"$textColor-secondary",[`color-${Q}-secondary`]:"$textColor-secondary"}},Hp={description:"The `Fragment` component encloses multiple child components into a single root component, so it can be used where only a single component definition is allowed.",opaque:!0},ke={themeVars:`'{"textColor-pagination-Table": "var(--xmlui-textColor-pagination-Table)", "backgroundColor-Table": "var(--xmlui-backgroundColor-Table)", "textColor-Table": "var(--xmlui-textColor-Table)", "backgroundColor-row-Table": "var(--xmlui-backgroundColor-row-Table)", "backgroundColor-row-Table--hover": "var(--xmlui-backgroundColor-row-Table--hover)", "backgroundColor-selected-Table": "var(--xmlui-backgroundColor-selected-Table)", "backgroundColor-selected-Table--hover": "var(--xmlui-backgroundColor-selected-Table--hover)", "backgroundColor-heading-Table": "var(--xmlui-backgroundColor-heading-Table)", "backgroundColor-heading-Table--hover": "var(--xmlui-backgroundColor-heading-Table--hover)", "backgroundColor-heading-Table--active": "var(--xmlui-backgroundColor-heading-Table--active)", "padding-heading-Table": "var(--xmlui-padding-heading-Table)", "paddingHorizontal-heading-Table": "var(--xmlui-paddingHorizontal-heading-Table, var(--xmlui-padding-heading-Table))", "paddingVertical-heading-Table": "var(--xmlui-paddingVertical-heading-Table, var(--xmlui-padding-heading-Table))", "paddingLeft-heading-Table": "var(--xmlui-paddingLeft-heading-Table, var(--xmlui-paddingHorizontal-heading-Table, var(--xmlui-padding-heading-Table)))", "paddingRight-heading-Table": "var(--xmlui-paddingRight-heading-Table, var(--xmlui-paddingHorizontal-heading-Table, var(--xmlui-padding-heading-Table)))", "paddingTop-heading-Table": "var(--xmlui-paddingTop-heading-Table, var(--xmlui-paddingVertical-heading-Table, var(--xmlui-padding-heading-Table)))", "paddingBottom-heading-Table": "var(--xmlui-paddingBottom-heading-Table, var(--xmlui-paddingVertical-heading-Table, var(--xmlui-padding-heading-Table)))", "padding-cell-Table": "var(--xmlui-padding-cell-Table)", "paddingHorizontal-cell-Table": "var(--xmlui-paddingHorizontal-cell-Table, var(--xmlui-padding-cell-Table))", "paddingVertical-cell-Table": "var(--xmlui-paddingVertical-cell-Table, var(--xmlui-padding-cell-Table))", "paddingLeft-cell-Table": "var(--xmlui-paddingLeft-cell-Table, var(--xmlui-paddingHorizontal-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingRight-cell-Table": "var(--xmlui-paddingRight-cell-Table, var(--xmlui-paddingHorizontal-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingTop-cell-Table": "var(--xmlui-paddingTop-cell-Table, var(--xmlui-paddingVertical-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingBottom-cell-Table": "var(--xmlui-paddingBottom-cell-Table, var(--xmlui-paddingVertical-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingHorizontal-cell-first-Table": "var(--xmlui-paddingHorizontal-cell-first-Table)", "paddingHorizontal-cell-last-Table": "var(--xmlui-paddingHorizontal-cell-last-Table)", "border-cell-Table": "var(--xmlui-border-cell-Table)", "borderHorizontal-cell-Table": "var(--xmlui-borderHorizontal-cell-Table, var(--xmlui-border-cell-Table))", "borderVertical-cell-Table": "var(--xmlui-borderVertical-cell-Table, var(--xmlui-border-cell-Table))", "borderLeft-cell-Table": "var(--xmlui-borderLeft-cell-Table, var(--xmlui-borderHorizontal-cell-Table, var(--xmlui-border-cell-Table)))", "borderRight-cell-Table": "var(--xmlui-borderRight-cell-Table, var(--xmlui-borderHorizontal-cell-Table, var(--xmlui-border-cell-Table)))", "borderTop-cell-Table": "var(--xmlui-borderTop-cell-Table, var(--xmlui-borderVertical-cell-Table, var(--xmlui-border-cell-Table)))", "borderBottom-cell-Table": "var(--xmlui-borderBottom-cell-Table)", "borderWidth-cell-Table": "var(--xmlui-borderWidth-cell-Table)", "borderHorizontalWidth-cell-Table": "var(--xmlui-borderHorizontalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table))", "borderLeftWidth-cell-Table": "var(--xmlui-borderLeftWidth-cell-Table, var(--xmlui-borderHorizontalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderRightWidth-cell-Table": "var(--xmlui-borderRightWidth-cell-Table, var(--xmlui-borderHorizontalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderVerticalWidth-cell-Table": "var(--xmlui-borderVerticalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table))", "borderTopWidth-cell-Table": "var(--xmlui-borderTopWidth-cell-Table, var(--xmlui-borderVerticalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderBottomWidth-cell-Table": "var(--xmlui-borderBottomWidth-cell-Table, var(--xmlui-borderVerticalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderStyle-cell-Table": "var(--xmlui-borderStyle-cell-Table)", "borderHorizontalStyle-cell-Table": "var(--xmlui-borderHorizontalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table))", "borderLeftStyle-cell-Table": "var(--xmlui-borderLeftStyle-cell-Table, var(--xmlui-borderHorizontalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderRightStyle-cell-Table": "var(--xmlui-borderRightStyle-cell-Table, var(--xmlui-borderHorizontalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderVerticalStyle-cell-Table": "var(--xmlui-borderVerticalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table))", "borderTopStyle-cell-Table": "var(--xmlui-borderTopStyle-cell-Table, var(--xmlui-borderVerticalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderBottomStyle-cell-Table": "var(--xmlui-borderBottomStyle-cell-Table, var(--xmlui-borderVerticalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderColor-cell-Table": "var(--xmlui-borderColor-cell-Table)", "borderHorizontalColor-cell-Table": "var(--xmlui-borderHorizontalColor-cell-Table, var(--xmlui-borderColor-cell-Table))", "borderLeftColor-cell-Table": "var(--xmlui-borderLeftColor-cell-Table, var(--xmlui-borderHorizontalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderRightColor-cell-Table": "var(--xmlui-borderRightColor-cell-Table, var(--xmlui-borderHorizontalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderVerticalColor-cell-Table": "var(--xmlui-borderVerticalColor-cell-Table, var(--xmlui-borderColor-cell-Table))", "borderTopColor-cell-Table": "var(--xmlui-borderTopColor-cell-Table, var(--xmlui-borderVerticalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderBottomColor-cell-Table": "var(--xmlui-borderBottomColor-cell-Table, var(--xmlui-borderVerticalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderStartStartRadius-cell-Table": "var(--xmlui-borderStartStartRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "borderStartEndRadius-cell-Table": "var(--xmlui-borderStartEndRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "borderEndStartRadius-cell-Table": "var(--xmlui-borderEndStartRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "borderEndEndRadius-cell-Table": "var(--xmlui-borderEndEndRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "backgroundColor-pagination-Table": "var(--xmlui-backgroundColor-pagination-Table)", "textColor-heading-Table": "var(--xmlui-textColor-heading-Table)", "fontWeight-row-Table": "var(--xmlui-fontWeight-row-Table)", "fontSize-row-Table": "var(--xmlui-fontSize-row-Table)", "fontWeight-heading-Table": "var(--xmlui-fontWeight-heading-Table)", "fontSize-heading-Table": "var(--xmlui-fontSize-heading-Table)", "textTransform-heading-Table": "var(--xmlui-textTransform-heading-Table)", "outlineWidth-heading-Table--focus": "var(--xmlui-outlineWidth-heading-Table--focus)", "outlineColor-heading-Table--focus": "var(--xmlui-outlineColor-heading-Table--focus)", "outlineStyle-heading-Table--focus": "var(--xmlui-outlineStyle-heading-Table--focus)", "outlineOffset-heading-Table--focus": "var(--xmlui-outlineOffset-heading-Table--focus)"}'`,wrapper:"_wrapper_1oc6q_13",noScroll:"_noScroll_1oc6q_19",headerWrapper:"_headerWrapper_1oc6q_23",tableBody:"_tableBody_1oc6q_23",clickableHeader:"_clickableHeader_1oc6q_29",headerContent:"_headerContent_1oc6q_43",headerRow:"_headerRow_1oc6q_77",columnCell:"_columnCell_1oc6q_82",cell:"_cell_1oc6q_82",table:"_table_1oc6q_23",row:"_row_1oc6q_94",checkBoxWrapper:"_checkBoxWrapper_1oc6q_100",showInHeader:"_showInHeader_1oc6q_104",selected:"_selected_1oc6q_107",allSelected:"_allSelected_1oc6q_107",focused:"_focused_1oc6q_153",disabled:"_disabled_1oc6q_165",noBottomBorder:"_noBottomBorder_1oc6q_169",noRows:"_noRows_1oc6q_197",pagination:"_pagination_1oc6q_203",paginationLabel:"_paginationLabel_1oc6q_219",paginationSelect:"_paginationSelect_1oc6q_224",paginationButtons:"_paginationButtons_1oc6q_230",loadingWrapper:"_loadingWrapper_1oc6q_242",resizer:"_resizer_1oc6q_257",isResizing:"_isResizing_1oc6q_279"},An=s.createContext({registerColumn:(e,t)=>{},unRegisterColumn:e=>{}}),Sp={value:Qe},kp=({children:e})=>{const[t,r]=s.useState(Sp);return d.jsx(wp,{updateState:r,selectedItems:t.value,children:e})},wp=({updateState:e=Be.noop,idKey:t="id",children:r,selectedItems:o=Qe,registerComponentApi:a=Be.noop})=>{const[l,i]=s.useState(o),n=s.useRef(!1),c=Ce((C=Qe)=>{const v=C||Qe,g=o||Qe;i(v);let T=v.filter(y=>!!g.find($=>$&&y&&$[t]===y[t]));(!Be.isEqual(g,T)||!n.current)&&(n.current=!0,e({value:T}))}),b=Ce(C=>{e({value:(l||Qe).filter(g=>C.includes(g[t]))})}),h=Ce(()=>{b(Qe)});s.useLayoutEffect(()=>{a({clearSelection:h,setSelectedRowIds:b,refreshSelection:c})},[h,b,a,c]);const p=s.useMemo(()=>({selectedItems:o,setSelectedRowIds:b,refreshSelection:c,idKey:t}),[c,o,b,t]);return d.jsx(Wn.Provider,{value:p,children:r})},Wn=s.createContext(null);function Nn(){return s.useContext(Wn)}function Ip(e){return so({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 18 9 12 15 6"}}]})(e)}function Bp(e){return so({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(e)}function $p(e){return so({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"11 17 6 12 11 7"}},{tag:"polyline",attr:{points:"18 17 13 12 18 7"}}]})(e)}function Op(e){return so({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"13 17 18 12 13 7"}},{tag:"polyline",attr:{points:"6 17 11 12 6 7"}}]})(e)}function Lp({items:e=Qe,visibleItems:t=e,rowsSelectable:r,enableMultiRowSelection:o,onSelectionDidChange:a}){const[l,i]=s.useState(-1),[n,c]=s.useState(null),{selectedItems:b,setSelectedRowIds:h,refreshSelection:p,idKey:C}=Nn(),v=s.useMemo(()=>t.map(M=>M[C]),[C,t]);s.useEffect(()=>{p(r?e:Qe)},[p,e,r]);const g=Qi(o);s.useEffect(()=>{g&&!o&&b.length>1&&h([b[0][C]])},[o,C,g,b,h]),s.useEffect(()=>{r&&l!==-1&&!v[l]&&v[0]&&i(0)},[l,r,i,v]);const T=Ce((M,f={})=>{if(!r)return;const x=v[M],{shiftKey:H,metaKey:S,ctrlKey:O}=f,F=!o||!H&&!S&&!O;let W,D=[...b.map(X=>X[C])];if(F)W={from:x,to:x},D=[x];else if(H){let X,q,B,I;if(n){let L=v.indexOf(n.from),N=v.indexOf(n.to),R=Math.min(L,N),ie=Math.max(L,N);const me=v.slice(R,ie+1);D=D.filter(se=>!me.includes(se)),B=n.from,I=x;let Te=v.indexOf(B),oe=v.indexOf(I);X=Math.min(Te,oe),q=Math.max(Te,oe)}else B=x,I=x,X=M,q=M;const z=v.slice(X,q+1);D=Be.union(D,z),W={from:B,to:I}}else W={from:x,to:x},S||O?D.includes(x)?D=D.filter(X=>X!==x):D.push(x):D=[x];i(M),h(Be.uniq(D)),c(W)}),y=Ce((M,f)=>{if(!r)return;const x=v.indexOf(M[C]);T(x,f)}),$=Ce(M=>{if(r){if(M.key==="ArrowDown"){M.preventDefault();let f=Math.min(t.length-1,l+1);l!==t.length-1&&T(f,M)}if(M.key==="PageDown"){M.preventDefault();const f=Math.min(t.length-1,l+8);T(f,M)}if(M.key==="ArrowUp"){M.preventDefault();let f=Math.max(0,l-1);l>=0&&T(f,M)}if(M.key==="PageUp"){M.preventDefault();const f=Math.max(0,l-8);T(f,M)}}});s.useEffect(()=>{a==null||a(b)},[b,a]);const w=Ce(M=>{r&&(!o&&M||h(M?e.map(f=>f[C]):[]))}),_=s.useMemo(()=>{let M={};return b.forEach(f=>{M[f[C]]=!0}),M},[C,b]),A=s.useCallback(()=>b,[b]),P=s.useCallback(()=>b.map(M=>M[C]),[C,b]),Z=s.useCallback(()=>{w(!1)},[w]),E=s.useCallback(()=>{w(!0)},[w]),j=s.useCallback(M=>{if(!r)return;let f=Array.isArray(M)?M:[M];f.length>1&&!o&&(f=[f[0]]),h(f)},[o,r,h]),U=s.useMemo(()=>({getSelectedItems:A,getSelectedIds:P,clearSelection:Z,selectAll:E,selectId:j}),[Z,P,A,E,j]);return{onKeyDown:$,focusedIndex:l,toggleRowIndex:T,toggleRow:y,checkAllRows:w,selectedRowIdMap:_,selectedItems:b,idKey:C,selectionApi:U}}function _p(e){return!1}const Vp=42,Ap=[10],zn=e=>{const t=e.getIsPinned();return{left:t==="left"?`${e.getStart("left")}px`:void 0,right:t==="right"?`${e.getAfter("right")}px`:void 0,opacity:t?.95:void 0,position:t?"sticky":"relative",backgroundColor:t?"inherit":void 0,zIndex:t?1:void 0}},Wp=s.forwardRef(({data:e=Qe,columns:t=Qe,isPaginated:r=!1,loading:o=!1,headerHeight:a,rowsSelectable:l=!1,enableMultiRowSelection:i=!0,pageSizes:n=Ap,rowDisabledPredicate:c=_p,sortBy:b,sortingDirection:h="ascending",iconSortAsc:p,iconSortDesc:C,iconNoSort:v,sortingDidChange:g,willSort:T,style:y,noDataRenderer:$,autoFocus:w=!1,hideHeader:_=!1,hideNoDataView:A=!1,alwaysShowSelectionHeader:P=!1,registerComponentApi:Z,onSelectionDidChange:E,noBottomBorder:j=!1},U)=>{var ds,us,cs,ms;const{getThemeVar:M}=zt(),f=Array.isArray(e)?e:Qe,x=s.useRef(null),H=U?sr(x,U):x,S=s.useRef(null),O=s.useRef(null),F=b!==void 0,W=s.useMemo(()=>t||(f.length?Object.keys(f[0]).map(ne=>({header:ne,accessorKey:ne})):Qe),[t,f]);s.useEffect(()=>{w&&x.current.focus()},[w]);const[D,X]=s.useState(Qe),{toggleRow:q,checkAllRows:B,focusedIndex:I,onKeyDown:z,selectedRowIdMap:L,idKey:N,selectionApi:R}=Lp({items:f,visibleItems:D,rowsSelectable:l,enableMultiRowSelection:i,onSelectionDidChange:E}),ie=s.useMemo(()=>f.map((ne,Ie)=>({...ne,order:Ie+1})),[f]),[me,Te]=s.useState(b),[oe,se]=s.useState(h);s.useLayoutEffect(()=>{Te(b)},[b]),s.useLayoutEffect(()=>{se(h)},[h]);const _e=s.useMemo(()=>!me||F?ie:Be.orderBy(ie,me,oe==="ascending"?"asc":"desc"),[me,oe,ie,F]),Ae=s.useCallback(async ne=>{let Ie="ascending",ue=ne;me===ne&&(oe==="ascending"?Ie="descending":ue=void 0),await(T==null?void 0:T(ue,Ie))!==!1&&(se(Ie),Te(ue),g==null||g(ue,Ie))},[me,T,g,oe]),Ne=s.useMemo(()=>W.map((ne,Ie)=>{const{width:ue,starSizedWidth:Se}=Mt(ne.width,!0,"width"),{width:Zt}=Mt(ne.minWidth,!1,"minWidth"),{width:Ue}=Mt(ne.maxWidth,!1,"maxWidth");return{...ne,header:ne.header??ne.accessorKey??" ",id:"col_"+Ie,size:ue,minSize:Zt,maxSize:Ue,enableResizing:ne.canResize,enableSorting:ne.canSort,enablePinning:ne.pinTo!==void 0,meta:{starSizedWidth:Se,pinTo:ne.pinTo,style:ne.style,accessorKey:ne.accessorKey,cellRenderer:ne.cellRenderer}};function Mt(Ot,lr,cv){let Ko,Ia;const oo=bd(Ot)?M(Ot):Ot;if(typeof oo=="number")Ia=oo;else if(typeof oo=="string"){const mv=oo.match(/^\s*\*\s*$/);if(lr&&mv)Ko="1*";else{const ps=oo.match(/^\s*(\d+)\s*\*\s*$/);if(lr&&ps)Ko=ps[1]+"*";else{const hs=oo.match(/^\s*(\d+)\s*(px)?\s*$/);if(hs)Ia=Number(hs[1]);else throw new Error(`Invalid TableColumnDef '${cv}' value: ${oo}`)}}}return Ia===void 0&&Ko===void 0&&lr&&(Ko="1*"),{width:Ia,starSizedWidth:Ko}}}),[M,W]),ee=s.useMemo(()=>l?[{id:"select",size:Vp,enableResizing:!1,enablePinning:!0,meta:{pinTo:"left"},header:({table:Ie})=>i?d.jsx(Xa,{className:re(ke.checkBoxWrapper,{[ke.showInHeader]:P}),value:Ie.getIsAllRowsSelected(),indeterminate:Ie.getIsSomeRowsSelected(),onDidChange:ue=>{B(ue)}}):null,cell:({row:Ie})=>d.jsx(Xa,{className:ke.checkBoxWrapper,value:Ie.getIsSelected(),indeterminate:Ie.getIsSomeSelected(),onDidChange:()=>{q(Ie.original,{metaKey:!0})}})},...Ne]:Ne,[l,Ne,i,P,B,q]),[He,be]=s.useState({pageSize:r?n[0]:Number.MAX_VALUE,pageIndex:0}),J=Qi(r);s.useEffect(()=>{!J&&r&&be(ne=>({...ne,pageSize:n[0]})),J&&!r&&be(ne=>({pageIndex:0,pageSize:Number.MAX_VALUE}))},[r,n,J]);const[ge,de]=s.useState({}),te=s.useMemo(()=>{const ne=[],Ie=[];return ee.forEach(ue=>{var Se,Zt;((Se=ue.meta)==null?void 0:Se.pinTo)==="right"&&Ie.push(ue.id),((Zt=ue.meta)==null?void 0:Zt.pinTo)==="left"&&ne.push(ue.id)}),{left:ne,right:Ie}},[ee]),G=Vo.useReactTable({columns:ee,data:_e,getCoreRowModel:Vo.getCoreRowModel(),getPaginationRowModel:r?Vo.getPaginationRowModel():void 0,enableRowSelection:l,enableMultiRowSelection:i,columnResizeMode:"onChange",getRowId:s.useCallback(ne=>ne[N]+"",[N]),state:s.useMemo(()=>({pagination:He,rowSelection:L,columnSizing:ge,columnPinning:te}),[te,ge,He,L]),onColumnSizingChange:de,onPaginationChange:be}),le=G.getRowModel().rows;s.useEffect(()=>{X(le.map(ne=>ne.original))},[le]);const pe=s.useContext(Fa),tt=pe&&(y==null?void 0:y.maxHeight)===void 0&&(y==null?void 0:y.height)===void 0&&(y==null?void 0:y.flex)===void 0,$t=Rs(tt,x,pe),Wr=Ts.useVirtualizer({count:le.length,getScrollElement:s.useCallback(()=>tt&&(pe!=null&&pe.current)?pe==null?void 0:pe.current:x.current,[pe,tt]),scrollMargin:$t,estimateSize:s.useCallback(()=>O.current||30,[]),overscan:5}),ls=Wr.getVirtualItems().length>0&&((us=(ds=Wr.getVirtualItems())==null?void 0:ds[0])==null?void 0:us.start)-$t||0,ns=Wr.getVirtualItems().length>0?Wr.getTotalSize()-(((ms=(cs=Wr.getVirtualItems())==null?void 0:cs[Wr.getVirtualItems().length-1])==null?void 0:ms.end)-$t||0):0,ka=f.length!==0,$i=s.useRef({}),ss=s.useCallback(ne=>{$i.current[ne]=!0},[]),wa=Ce(()=>{if(!S.current)return;let ne=S.current.clientWidth-1;const Ie={},ue=[],Se={};G.getAllColumns().forEach(Ue=>{var xr,Mt;if(Ue.columnDef.size!==void 0||$i.current[Ue.id])ne-=ge[Ue.id]||Ue.columnDef.size||0;else{ue.push(Ue);let Ot;(xr=Ue.columnDef.meta)!=null&&xr.starSizedWidth?Ot=Number((Mt=Ue.columnDef.meta)==null?void 0:Mt.starSizedWidth.replace("*","").trim())||1:Ot=1,Se[Ue.id]=Ot}});const Zt=Object.values(Se).reduce((Ue,xr)=>Ue+xr,0);ue.forEach(Ue=>{Ie[Ue.id]=Math.floor(ne*(Se[Ue.id]/Zt))}),_i.flushSync(()=>{de(Ue=>({...Ue,...Ie}))})});return Zi(S,wa),Wo(()=>{queueMicrotask(()=>{wa()})},[wa,W]),Wo(()=>{Z(R)},[Z,R]),d.jsxs("div",{className:re(ke.wrapper,{[ke.noScroll]:tt}),tabIndex:-1,onKeyDown:z,ref:H,style:y,children:[d.jsxs("table",{className:ke.table,ref:S,style:{borderRight:"1px solid transparent"},children:[!_&&d.jsx("thead",{style:{height:a},className:ke.headerWrapper,children:G.getHeaderGroups().map((ne,Ie)=>d.jsx("tr",{className:re(ke.headerRow,{[ke.allSelected]:G.getIsAllRowsSelected()}),children:ne.headers.map((ue,Se)=>{var Mt,Ot;const{width:Zt,...Ue}=((Mt=ue.column.columnDef.meta)==null?void 0:Mt.style)||{},xr=ue.getSize();return d.jsxs("th",{className:ke.columnCell,colSpan:ue.colSpan,style:{position:"relative",width:xr,...zn(ue.column)},children:[d.jsx(Np,{hasSorting:ue.column.columnDef.enableSorting,updateSorting:()=>{var lr;return Ae((lr=ue.column.columnDef.meta)==null?void 0:lr.accessorKey)},children:d.jsxs("div",{className:ke.headerContent,style:Ue,children:[Vo.flexRender(ue.column.columnDef.header,ue.getContext()),ue.column.columnDef.enableSorting&&d.jsx("span",{style:{display:"inline-flex",maxWidth:16},children:d.jsx(zp,{iconSortAsc:p,iconSortDesc:C,iconNoSort:v,direction:((Ot=ue.column.columnDef.meta)==null?void 0:Ot.accessorKey)===me?oe:void 0})})]})}),ue.column.getCanResize()&&d.jsx("div",{onDoubleClick:()=>{$i.current[ue.column.id]=!1,ue.column.columnDef.size!==void 0?ue.column.resetSize():wa()},onMouseDown:lr=>{ss(ue.column.id),ue.getResizeHandler()(lr)},onTouchStart:lr=>{ss(ue.column.id),ue.getResizeHandler()(lr)},className:re(ke.resizer,{[ke.isResizing]:ue.column.getIsResizing()})})]},`${ue.id}-${Se}`)})},`${ne.id}-${Ie}`))}),ka&&d.jsxs("tbody",{className:ke.tableBody,children:[ls>0&&d.jsx("tr",{children:d.jsx("td",{style:{height:`${ls}px`}})}),Wr.getVirtualItems().map(ne=>{const Ie=ne.index,ue=le[Ie];return d.jsx("tr",{"data-index":Ie,className:re(ke.row,{[ke.selected]:ue.getIsSelected(),[ke.focused]:I===Ie,[ke.disabled]:c(ue.original),[ke.noBottomBorder]:j}),ref:Se=>{Se&&O.current===null&&(O.current=Math.round(Se.getBoundingClientRect().height)),Wr.measureElement(Se)},onClick:Se=>{Se.defaultPrevented||Se.target.tagName.toLowerCase()==="input"||q(ue.original,Se)},children:ue.getVisibleCells().map((Se,Zt)=>{var Mt,Ot;const Ue=(Ot=(Mt=Se.column.columnDef)==null?void 0:Mt.meta)==null?void 0:Ot.cellRenderer,xr=Se.column.getSize();return d.jsx("td",{className:ke.cell,style:{width:xr,...zn(Se.column)},children:Ue?Ue(Se.row.original,Ie,Zt,Se==null?void 0:Se.getValue()):Vo.flexRender(Se.column.columnDef.cell,Se.getContext())},`${Se.id}-${Zt}`)})},`${ue.id}-${Ie}`)}),ns>0&&d.jsx("tr",{children:d.jsx("td",{style:{height:`${ns}px`}})})]})]}),o&&!ka&&d.jsx("div",{className:ke.loadingWrapper,children:d.jsx(ll,{})}),!A&&!o&&!ka&&($?$():d.jsx("div",{className:ke.noRows,children:"No data available"})),r&&ka&&le.length>0&&He&&d.jsxs("div",{className:ke.pagination,children:[d.jsx("div",{style:{flex:1},children:d.jsxs("span",{className:ke.paginationLabel,children:["Showing ",le[0].original.order," to ",le[le.length-1].original.order," of"," ",f.length," entries"]})}),n.length>1&&d.jsxs("div",{children:[d.jsx("span",{className:ke.paginationLabel,children:"Rows per page"}),d.jsx("select",{className:ke.paginationSelect,value:He.pageSize,onChange:ne=>{G.setPageSize(Number(ne.target.value))},children:n.map(ne=>d.jsx("option",{value:ne,children:ne},ne))})]}),d.jsxs("div",{className:ke.paginationButtons,children:[d.jsx(ot,{onClick:()=>G.setPageIndex(0),disabled:!G.getCanPreviousPage(),type:"button",variant:"ghost",children:d.jsx($p,{})}),d.jsx(ot,{onClick:()=>G.previousPage(),disabled:!G.getCanPreviousPage(),type:"button",variant:"ghost",children:d.jsx(Ip,{})}),d.jsx(ot,{onClick:()=>G.nextPage(),disabled:!G.getCanNextPage(),type:"button",variant:"ghost",children:d.jsx(Bp,{})}),d.jsx(ot,{onClick:()=>G.setPageIndex(G.getPageCount()-1),disabled:!G.getCanNextPage(),type:"button",variant:"ghost",children:d.jsx(Op,{})})]})]})]})});function Np({hasSorting:e,updateSorting:t,children:r}){return e?d.jsx("button",{className:ke.clickableHeader,onClick:t,children:r}):d.jsx(d.Fragment,{children:r})}function zp({direction:e,iconSortAsc:t="sortasc:Table",iconSortDesc:r="sortdesc:Table",iconNoSort:o="nosort:Table"}){return e==="ascending"?d.jsx(ce,{name:t,fallback:"sortasc",size:"12"}):e==="descending"?d.jsx(ce,{name:r,fallback:"sortdesc",size:"12"}):o!=="-"?d.jsx(ce,{name:o,fallback:"nosort",size:"12"}):d.jsx(ce,{name:o,size:"12"})}const fe="Table",Ep={description:`\`${fe}\` is a component that displays cells organized into rows and columns. The \`${fe}\` component is virtualized so it only renders visible cells.`,props:{items:Xe("You can use `items` as an alias for the `data` property. When you bind the table to a data source (e.g. an API endpoint), the `data` acts as the property that accepts a URL to fetch information from an API. When both `items` and `data` are used, `items` has priority."),data:m("The component receives data via this property. The `data` property is a list of items that the `Table` can display."),isPaginated:{description:`This property adds pagination controls to the \`${fe}\`.`,valueType:"boolean",defaultValue:!1},loading:m("This boolean property indicates if the component is fetching (or processing) data. This property is useful when data is loaded conditionally or receiving it takes some time."),headerHeight:m("This optional property is used to specify the height of the table header."),rowsSelectable:m("Indicates whether the rows are selectable (`true`) or not (`false`)."),pageSizes:{description:"This property holds an array of page sizes (numbers) the user can select for pagination. If this property is not defined, the component allows only a page size of 10 items."},rowDisabledPredicate:m("This property defines a predicate function with a return value that determines if the row should be disabled. The function retrieves the item to display and should return a Boolean-like value."),noDataTemplate:$e("A property to customize what to display if the table does not contain any data."),sortBy:m("This property is used to determine which data attributes to sort by."),sortDirection:m("This property determines the sort order to be `ascending` or `descending`. This property only works if the [`sortBy`](#sortby) property is also set."),autoFocus:it(),hideHeader:{description:"Set the header visibility using this property. Set it to `true` to hide the header.",valueType:"boolean",defaultValue:!1},iconNoSort:m(`Allows setting the icon displayed in the ${fe} column header when sorting is enabled, but the column remains unsorted. You can change the default icon for all ${fe} instances with the "icon.nosort:Table" declaration in the app configuration file.`),iconSortAsc:m(`Allows setting the icon displayed in the ${fe} column header when sorting is enabled, and the column is sorted in ascending order. You can change the default icon for all ${fe} instances with the "icon.sortasc:Table" declaration in the app configuration file.`),iconSortDesc:m(`Allows setting the icon displayed in the ${fe} column header when sorting is enabled, and the column is sorted in descending order. You can change the default icon for all ${fe} instances with the "icon.sortdesc:Table" declaration in the app configuration file.`),enableMultiRowSelection:{description:"This boolean property indicates whether you can select multiple rows in the table. This property only has an effect when the rowsSelectable property is set. Setting it to `false` limits selection to a single row.",valueType:"boolean",defaultValue:!0},alwaysShowSelectionHeader:{description:"This property indicates when the row selection header is displayed. When the value is `true,` the selection header is always visible. Otherwise, it is displayed only when hovered.",valueType:"boolean",defaultValue:!1},noBottomBorder:{description:"This property indicates whether the table should have a bottom border. When set to `true`, the table does not have a bottom border. Otherwise, it has a bottom border.",valueType:"boolean",defaultValue:!1}},events:{sortingDidChange:m("This event is fired when the table data sorting has changed. It has two arguments: the column's name and the sort direction. When the column name is empty, the table displays the data list as it received it."),willSort:m("This event is fired before the table data is sorted. It has two arguments: the column's name and the sort direction. When the method returns a literal `false` value (and not any other falsy one), the method indicates that the sorting should be aborted."),selectionDidChange:m("This event is triggered when the table's current selection (the rows selected) changes. Its parameter is an array of the selected table row items. ")},apis:{clearSelection:m("This method clears the list of currently selected table rows."),getSelectedItems:m("This method returns the list of currently selected table rows items."),getSelectedIds:m("This method returns the list of currently selected table rows IDs."),selectAll:m("This method selects all the rows in the table. This method has no effect if the rowsSelectable property is set to `false`."),selectId:m("This method selects the row with the specified ID. This method has no effect if the `rowsSelectable` property is set to `false`. The method argument can be a single id or an array of them.")},themeVars:Y(ke.themeVars),defaultThemeVars:{[`padding-heading-${fe}`]:"$space-2",[`paddingHorizontal-cell-${fe}`]:"$space-2",[`paddingHorizontal-cell-first-${fe}`]:"$space-5",[`paddingHorizontal-cell-last-${fe}`]:"$space-5",[`paddingVertical-cell-${fe}`]:"$space-2",[`border-cell-${fe}`]:"1px solid $borderColor",[`outlineWidth-heading-${fe}--focus`]:"$outlineWidth--focus",[`outlineStyle-heading-${fe}--focus`]:"$outlineStyle--focus",[`outlineOffset-heading-${fe}--focus`]:"$outlineOffset--focus",[`fontSize-heading-${fe}`]:"$fontSize-tiny",[`fontWeight-heading-${fe}`]:"$fontWeight-bold",[`textTransform-heading-${fe}`]:"uppercase",[`fontSize-row-${fe}`]:"$fontSize-small",[`backgroundColor-selected-${fe}--hover`]:`$backgroundColor-row-${fe}--hover`,[`backgroundColor-pagination-${fe}`]:`$backgroundColor-${fe}`,[`outlineColor-heading-${fe}--focus`]:"$outlineColor--focus",[`textColor-pagination-${fe}`]:"$color-secondary",[`backgroundColor-row-${fe}--hover`]:"$color-primary-50",[`backgroundColor-selected-${fe}`]:"$color-primary-100",[`backgroundColor-heading-${fe}--hover`]:"$color-surface-200",[`backgroundColor-heading-${fe}--active`]:"$color-surface-300",[`backgroundColor-heading-${fe}`]:"$color-surface-100",[`textColor-heading-${fe}`]:"$color-surface-500"}};s.forwardRef(({extractValue:e,node:t,renderChild:r,lookupEventHandler:o,lookupSyncCallback:a,layoutCss:l,registerComponentApi:i},n)=>{var P,Z,E,j,U,M;const c=e(t.props.items)||e(t.props.data),[b,h]=s.useState(Qe),[p,C]=s.useState(vr),v=s.useRef([]),[g,T]=s.useState(0),y=s.useMemo(()=>({registerColumn:(f,x)=>{h(Nr(H=>{H.findIndex(O=>O===x)<0&&H.push(x)})),C(Nr(H=>{H[x]=f}))},unRegisterColumn:f=>{h(Nr(x=>x.filter(H=>H!==f))),C(Nr(x=>{delete x[f]}))}}),[]),$=s.useMemo(()=>({registerColumn:(f,x)=>{v.current.find(H=>H===x)||(T(H=>H+1),v.current.push(x))},unRegisterColumn:f=>{v.current.find(x=>x===f)&&(v.current=v.current.filter(x=>x!==f),T(x=>x+1))}}),[]),w=s.useMemo(()=>b.map(f=>p[f]),[b,p]),_=Nn(),A=d.jsxs(d.Fragment,{children:[d.jsx(An.Provider,{value:y,children:r(t.children)},g),d.jsx(An.Provider,{value:$,children:r(t.children)}),d.jsx(Wp,{ref:n,data:c,columns:w,pageSizes:e(t.props.pageSizes),rowsSelectable:e.asOptionalBoolean(t.props.rowsSelectable),registerComponentApi:i,noDataRenderer:t.props.noDataTemplate&&(()=>r(t.props.noDataTemplate)),hideNoDataView:t.props.noDataTemplate===null||t.props.noDataTemplate==="",loading:e.asOptionalBoolean(t.props.loading),isPaginated:e.asOptionalBoolean((P=t.props)==null?void 0:P.isPaginated),headerHeight:e.asSize(t.props.headerHeight),rowDisabledPredicate:a(t.props.rowDisabledPredicate),sortBy:e((Z=t.props)==null?void 0:Z.sortBy),sortingDirection:e((E=t.props)==null?void 0:E.sortDirection),iconSortAsc:e.asOptionalString((j=t.props)==null?void 0:j.iconSortAsc),iconSortDesc:e.asOptionalString((U=t.props)==null?void 0:U.iconSortDesc),iconNoSort:e.asOptionalString((M=t.props)==null?void 0:M.iconNoSort),sortingDidChange:o("sortingDidChange"),onSelectionDidChange:o("selectionDidChange"),willSort:o("willSort"),style:l,uid:t.uid,autoFocus:e.asOptionalBoolean(t.props.autoFocus),hideHeader:e.asOptionalBoolean(t.props.hideHeader),enableMultiRowSelection:e.asOptionalBoolean(t.props.enableMultiRowSelection),alwaysShowSelectionHeader:e.asOptionalBoolean(t.props.alwaysShowSelectionHeader),noBottomBorder:e.asOptionalBoolean(t.props.noBottomBorder)})]});return _===null?d.jsx(kp,{children:A}):A});const Pp={themeVars:'"[]"'},En="StickyBox",Mp={status:"experimental",description:`The \`${En}\` is a component that "sticks" or remains fixed at the top or bottom position on the screen as the user scrolls.`,props:{to:{description:"This property determines whether the StickyBox should be anchored to the `top` or `bottom`.",availableValues:["top","bottom"],valueType:"string",defaultValue:"top"}},themeVars:Y(Pp.themeVars),defaultThemeVars:{[`backgroundColor-${En}`]:"$backgroundColor"}},Et="ModalDialog",Dp={description:`The \`${Et}\` component defines a modal dialog UI element that can be displayed over the existing UI - triggered by some action.`,props:{fullScreen:{description:"Toggles whether the dialog encompasses the whole UI (`true`) or not and has a minimum width and height (`false`).",valueType:"boolean",defaultValue:!1},title:m("Provides a prestyled heading to display the intent of the dialog."),closeButtonVisible:{description:"Shows (`true`) or hides (`false`) the visibility of the close button on the dialog.",valueType:"boolean",defaultValue:!0}},events:{open:m(`This event is fired when the \`${Et}\` is opened either via a \`when\` or an imperative API call (\`open()\`).`),close:m(`This event is fired when the close button is pressed or the user clicks outside the \`${Et}\`.`)},apis:{close:m(`This method is used to close the \`${Et}\`. Invoke it using \`modalId.close()\` where \`modalId\` refers to a \`ModalDialog\` component.`),open:m("This method imperatively opens the modal dialog. You can pass an arbitrary number of parameters to the method. In the `ModalDialog` instance, you can access those with the `$paramq` and `$params` context values.")},contextVars:{$param:m("This value represents the first parameters passed to the `open()` method to display the modal dialog."),$params:m("This value represents the array of parameters passed to the `open()` method. You can use `$params[0]` to access the first and `$params[1]` to access the second (and so on) parameters. `$param` is the same as `$params[0]`.")},themeVars:Y(wr.themeVars),defaultThemeVars:{...Ga(Et,{all:"$space-7"}),[`backgroundColor-${Et}`]:"$backgroundColor-primary",[`backgroundColor-overlay-${Et}`]:"$backgroundColor-overlay",[`textColor-${Et}`]:"$textColor-primary",[`borderRadius-${Et}`]:"$borderRadius",[`fontFamily-${Et}`]:"$fontFamily",[`maxWidth-${Et}`]:"450px",[`marginBottom-title-${Et}`]:"0"}},Rp={themeVars:`'{"padding-NoResult": "var(--xmlui-padding-NoResult)", "paddingHorizontal-NoResult": "var(--xmlui-paddingHorizontal-NoResult, var(--xmlui-padding-NoResult))", "paddingVertical-NoResult": "var(--xmlui-paddingVertical-NoResult, var(--xmlui-padding-NoResult))", "paddingLeft-NoResult": "var(--xmlui-paddingLeft-NoResult, var(--xmlui-paddingHorizontal-NoResult, var(--xmlui-padding-NoResult)))", "paddingRight-NoResult": "var(--xmlui-paddingRight-NoResult, var(--xmlui-paddingHorizontal-NoResult, var(--xmlui-padding-NoResult)))", "paddingTop-NoResult": "var(--xmlui-paddingTop-NoResult, var(--xmlui-paddingVertical-NoResult, var(--xmlui-padding-NoResult)))", "paddingBottom-NoResult": "var(--xmlui-paddingBottom-NoResult, var(--xmlui-paddingVertical-NoResult, var(--xmlui-padding-NoResult)))", "border-NoResult": "var(--xmlui-border-NoResult)", "borderHorizontal-NoResult": "var(--xmlui-borderHorizontal-NoResult, var(--xmlui-border-NoResult))", "borderVertical-NoResult": "var(--xmlui-borderVertical-NoResult, var(--xmlui-border-NoResult))", "borderLeft-NoResult": "var(--xmlui-borderLeft-NoResult, var(--xmlui-borderHorizontal-NoResult, var(--xmlui-border-NoResult)))", "borderRight-NoResult": "var(--xmlui-borderRight-NoResult, var(--xmlui-borderHorizontal-NoResult, var(--xmlui-border-NoResult)))", "borderTop-NoResult": "var(--xmlui-borderTop-NoResult, var(--xmlui-borderVertical-NoResult, var(--xmlui-border-NoResult)))", "borderBottom-NoResult": "var(--xmlui-borderBottom-NoResult, var(--xmlui-borderVertical-NoResult, var(--xmlui-border-NoResult)))", "borderWidth-NoResult": "var(--xmlui-borderWidth-NoResult)", "borderHorizontalWidth-NoResult": "var(--xmlui-borderHorizontalWidth-NoResult, var(--xmlui-borderWidth-NoResult))", "borderLeftWidth-NoResult": "var(--xmlui-borderLeftWidth-NoResult, var(--xmlui-borderHorizontalWidth-NoResult, var(--xmlui-borderWidth-NoResult)))", "borderRightWidth-NoResult": "var(--xmlui-borderRightWidth-NoResult, var(--xmlui-borderHorizontalWidth-NoResult, var(--xmlui-borderWidth-NoResult)))", "borderVerticalWidth-NoResult": "var(--xmlui-borderVerticalWidth-NoResult, var(--xmlui-borderWidth-NoResult))", "borderTopWidth-NoResult": "var(--xmlui-borderTopWidth-NoResult, var(--xmlui-borderVerticalWidth-NoResult, var(--xmlui-borderWidth-NoResult)))", "borderBottomWidth-NoResult": "var(--xmlui-borderBottomWidth-NoResult, var(--xmlui-borderVerticalWidth-NoResult, var(--xmlui-borderWidth-NoResult)))", "borderStyle-NoResult": "var(--xmlui-borderStyle-NoResult)", "borderHorizontalStyle-NoResult": "var(--xmlui-borderHorizontalStyle-NoResult, var(--xmlui-borderStyle-NoResult))", "borderLeftStyle-NoResult": "var(--xmlui-borderLeftStyle-NoResult, var(--xmlui-borderHorizontalStyle-NoResult, var(--xmlui-borderStyle-NoResult)))", "borderRightStyle-NoResult": "var(--xmlui-borderRightStyle-NoResult, var(--xmlui-borderHorizontalStyle-NoResult, var(--xmlui-borderStyle-NoResult)))", "borderVerticalStyle-NoResult": "var(--xmlui-borderVerticalStyle-NoResult, var(--xmlui-borderStyle-NoResult))", "borderTopStyle-NoResult": "var(--xmlui-borderTopStyle-NoResult, var(--xmlui-borderVerticalStyle-NoResult, var(--xmlui-borderStyle-NoResult)))", "borderBottomStyle-NoResult": "var(--xmlui-borderBottomStyle-NoResult, var(--xmlui-borderVerticalStyle-NoResult, var(--xmlui-borderStyle-NoResult)))", "borderColor-NoResult": "var(--xmlui-borderColor-NoResult)", "borderHorizontalColor-NoResult": "var(--xmlui-borderHorizontalColor-NoResult, var(--xmlui-borderColor-NoResult))", "borderLeftColor-NoResult": "var(--xmlui-borderLeftColor-NoResult, var(--xmlui-borderHorizontalColor-NoResult, var(--xmlui-borderColor-NoResult)))", "borderRightColor-NoResult": "var(--xmlui-borderRightColor-NoResult, var(--xmlui-borderHorizontalColor-NoResult, var(--xmlui-borderColor-NoResult)))", "borderVerticalColor-NoResult": "var(--xmlui-borderVerticalColor-NoResult, var(--xmlui-borderColor-NoResult))", "borderTopColor-NoResult": "var(--xmlui-borderTopColor-NoResult, var(--xmlui-borderVerticalColor-NoResult, var(--xmlui-borderColor-NoResult)))", "borderBottomColor-NoResult": "var(--xmlui-borderBottomColor-NoResult, var(--xmlui-borderVerticalColor-NoResult, var(--xmlui-borderColor-NoResult)))", "borderStartStartRadius-NoResult": "var(--xmlui-borderStartStartRadius-NoResult, var(--xmlui-borderRadius-NoResult))", "borderStartEndRadius-NoResult": "var(--xmlui-borderStartEndRadius-NoResult, var(--xmlui-borderRadius-NoResult))", "borderEndStartRadius-NoResult": "var(--xmlui-borderEndStartRadius-NoResult, var(--xmlui-borderRadius-NoResult))", "borderEndEndRadius-NoResult": "var(--xmlui-borderEndEndRadius-NoResult, var(--xmlui-borderRadius-NoResult))", "gap-icon-NoResult": "var(--xmlui-gap-icon-NoResult)", "size-icon-NoResult": "var(--xmlui-size-icon-NoResult)"}'`},Qo="NoResult",Fp={description:`\`${Qo}\` is a component that displays a visual indication that some data query (search) resulted in no (zero) items.`,props:{label:qe(),icon:m("This property defines the icon to display with the component."),hideIcon:{description:"This boolean property indicates if the icon should be hidden.",valueType:"boolean",defaultValue:"false"}},themeVars:Y(Rp.themeVars),defaultThemeVars:{[`border-${Qo}`]:"0px solid $borderColor",[`paddingVertical-${Qo}`]:"$space-2",[`gap-icon-${Qo}`]:"$space-2",[`size-icon-${Qo}`]:"$space-8",light:{},dark:{}}},Up={status:"deprecated",description:"The `SelectionStore` is a non-visual component that may wrap components (items) and manage their selection state to accommodate the usage of other actions.",props:{idKey:m('The selected items in the selection store needs to have a unique ID to use as an unambiguous key for that particular item. This property uniquely identifies the selected object item via a given property. By default, the key attribute is `"id"`.')}},qp={description:"A PageMetaTitle component allows setting up (or changing) the app title to display with the current browser tab.",props:{value:m("This property sets the page's title to display in the browser tab.")}},Gp={themeVars:`'{"backgroundColor-ProgressBar": "var(--xmlui-backgroundColor-ProgressBar)", "color-indicator-ProgressBar": "var(--xmlui-color-indicator-ProgressBar)", "borderRadius-ProgressBar": "var(--xmlui-borderRadius-ProgressBar)", "borderRadius-indicator-ProgressBar": "var(--xmlui-borderRadius-indicator-ProgressBar)", "thickness-ProgressBar": "var(--xmlui-thickness-ProgressBar)"}'`},wo="ProgressBar",jp={description:`A \`${wo}\` component visually represents the progress of a task or process.`,props:{value:{description:"This property defines the progress value with a number between 0 and 1.",valueType:"number",defaultValue:0}},themeVars:Y(Gp.themeVars),defaultThemeVars:{[`borderRadius-${wo}`]:"$borderRadius",[`borderRadius-indicator-${wo}`]:"0px",[`thickness-${wo}`]:"$space-2",[`backgroundColor-${wo}`]:"$color-surface-200",[`color-indicator-${wo}`]:"$color-primary-500"}},Xp={themeVars:`'{"boxShadow-Splitter": "var(--xmlui-boxShadow-Splitter)", "backgroundColor-Splitter": "var(--xmlui-backgroundColor-Splitter)", "borderRadius-Splitter": "var(--xmlui-borderRadius-Splitter)", "borderColor-Splitter": "var(--xmlui-borderColor-Splitter)", "borderWidth-Splitter": "var(--xmlui-borderWidth-Splitter)", "borderStyle-Splitter": "var(--xmlui-borderStyle-Splitter)", "border-Splitter": "var(--xmlui-border-Splitter)", "backgroundColor-resizer-Splitter": "var(--xmlui-backgroundColor-resizer-Splitter)", "thickness-resizer-Splitter": "var(--xmlui-thickness-resizer-Splitter)", "cursor-resizer-horizontal-Splitter": "var(--xmlui-cursor-resizer-horizontal-Splitter)", "cursor-resizer-vertical-Splitter": "var(--xmlui-cursor-resizer-vertical-Splitter)"}'`},Or="Splitter",va={description:`The \`${Or}\` component divides a container (such as a window, panel, pane, etc.) into two resizable sections.`,props:{swapped:{description:`This optional booelan property indicates whether the \`${Or}\` sections are layed out as primary and secondary (\`false\`) or secondary and primary (\`true\`) from left to right.`,valueType:"boolean",defaultValue:!1},splitterTemplate:$e("The divider can be customized using XMLUI components via this property."),initialPrimarySize:{description:"This optional number property sets the initial size of the primary section. The unit of the size value is in pixels or percentages.",valueType:"string",defaultValue:"50%"},minPrimarySize:{description:"This property sets the minimum size the primary section can have. The unit of the size value is in pixels or percentages.",valueType:"string",defaultValue:"0%"},maxPrimarySize:{description:"This property sets the maximum size the primary section can have. The unit of the size value is in pixels or percentages.",valueType:"string",defaultValue:"100%"},floating:{description:"Toggles whether the resizer is visible (`false`) or not (`true`) when not hovered or dragged. The default value is `false`, meaning the resizer is visible all the time.",valueType:"boolean",defaultValue:!1},orientation:{description:"Sets whether the `Splitter` divides the container horizontally and lays out the section on top of each other (`vertical`), or vertically by placing the sections next to each other (`horizontal`).",valueType:"string",availableValues:["horizontal","vertical"],defaultValue:"vertical"}},events:{resize:m("This event fires when the component is resized.")},themeVars:Y(Xp.themeVars),defaultThemeVars:{[`backgroundColor-resizer-${Or}`]:"$color-surface-100",[`thickness-resizer-${Or}`]:"5px",[`cursor-resizer-horizontal-${Or}`]:"ew-resize",[`cursor-resizer-vertical-${Or}`]:"ns-resize"}},Yp={...va,props:{...va.props}},Zp={...va,specializedFrom:Or},Qp={...va,specializedFrom:Or},Jp={description:"The `Queue` component provides an API to enqueue elements and defines events to process queued elements in a FIFO order.",props:{progressFeedback:m("This property defines the component template of the UI that displays progress information whenever, the queue's `progressReport` function in invoked."),resultFeedback:m("This property defines the component template of the UI that displays result information when the queue becomes empty after processing all queued items."),clearAfterFinish:m("This property indicates the completed items (successful or error) should be removed from the queue after completion.")},nonVisual:!0,events:{willProcess:m("This event is triggered to process a particular item."),process:m("This event is fired to process the next item in the queue. If the processing cannot proceed because of some error, raise an exception, and the queue will handle that."),didProcess:m("This event is fired when the processing of a queued item has been successfully processed."),processError:m("This event is fired when processing an item raises an error. The event handler method receives two parameters. The first is the error raised during the processing of the item; the second is an object with these properties:"),complete:m("The queue fires this event when the queue gets empty after processing all items. The event handler has no arguments.")},apis:{enqueueItem:m("This method enqueues the item passed in the method parameter. The new item will be processed after the current queue items have been handled. The method retrieves the unique ID of the newly added item; this ID can be used later in other methods, such as `remove`."),enqueueItems:m("This method enqueues the array of items passed in the method parameter. The new items will be processed after the current queue items have been handled. The method retrieves an array of unique IDs, one for each new item. An item ID can be used later in other methods, such as `remove`."),getQueuedItems:m("You can use this method to return the items in the queue. These items contain all entries not removed from the queue yet, including pending, in-progress, and completed items."),getQueueLength:m("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet."),remove:m("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet.")},contextVars:{$completedItems:m("A list containing the queue items that have been completed (fully processed)."),$queuedItems:m("A list containing the items waiting in the queue, icluding the completed items.")}},Kp={themeVars:'"[]"'},eh={status:"deprecated",description:"(**OBSOLETE**) This component was created for the ChatEngine app.",props:{visibleOnHover:m("No description")},themeVars:Y(Kp.themeVars)},th={status:"experimental",description:"`RealTimeAdapter` is a non-visual component that listens to real-time events through long-polling.",props:{url:m("This property specifies the URL to use for long-polling.")},events:{eventArrived:m("This event is raised when data arrives from the backend using long-polling.")}},Xt="NumberBox",rh={status:"experimental",description:`A \`${Xt}\` component allows users to input numeric values: either integer or floating point numbers. It also accepts empty values, where the stored value will be of type \`null\`.`,props:{placeholder:Er(),initialValue:Tt(),label:qe(),labelPosition:gt("top"),labelWidth:_t(Xt),labelBreak:Vt(Xt),maxLength:ta(),autoFocus:it(),required:Nt(),readOnly:At(),enabled:Ze(),validationStatus:Wt(),startText:_a(),startIcon:Va(),endText:Aa(),endIcon:Wa(),gap:{description:"This property defines the gap between the adornments and the input area."},hasSpinBox:{description:"This boolean prop shows (`true`) or hides (`false`) the spinner buttons for the input field.",valueType:"boolean",defaultValue:!0},spinnerUpIcon:m(`Allows setting the icon displayed in the ${Xt} spinner for incrementing values. You can change the default icon for all ${Xt} instances with the "icon.spinnerUp:NumberBox" declaration in the app configuration file.`),spinnerDownIcon:m(`Allows setting the icon displayed in the ${Xt} spinner for decrementing values. You can change the default icon for all ${Xt} instances with the "icon.spinnerDown:NumberBox" declaration in the app configuration file.`),step:{description:"This prop governs how big the step when clicking on the spinner of the field.",valueType:"number",defaultValue:1},integersOnly:{description:"This boolean property signs whether the input field accepts integers only (`true`) or not (`false`).",valueType:"boolean",defaultValue:!1},zeroOrPositive:{description:"This boolean property determines whether the input value can only be 0 or positive numbers (`true`) or also negative (`false`).",valueType:"boolean",defaultValue:!1},minValue:m("The minimum value the input field allows. Can be a float or an integer if [`integersOnly`](#integersonly) is set to `false`, otherwise it can only be an integer."),maxValue:m("The maximum value the input field allows. Can be a float or an integer if [`integersOnly`](#integersonly) is set to `false`, otherwise it can only be an integer.")},events:{gotFocus:vt(Xt),lostFocus:ft(Xt),didChange:at(Xt)},apis:{focus:Jt(Xt),value:ra(),setValue:Qt()},themeVars:Y(Oe.themeVars)},Lr="NavPanel",oh={description:`\`${Lr}\` is a placeholder within \`App\` to define the app's navigation (menu) structure.`,props:{logoTemplate:$e("This property defines the logo template to display in the navigation panel with the `vertical` and `vertical-sticky` layout.")},themeVars:Y(Ut.themeVars),defaultThemeVars:{[`backgroundColor-${Lr}`]:"$backgroundColor",[`border-${Lr}`]:"0px solid $borderColor",[`paddingHorizontal-${Lr}`]:"0",[`paddingVertical-logo-${Lr}`]:"$space-4",[`paddingHorizontal-logo-${Lr}`]:"$space-4",[`marginBottom-logo-${Lr}`]:"$space-4",[`boxShadow-${Lr}-vertical`]:"4px 0 4px 0 rgb(0 0 0 / 10%)"}},Pn="Page",ah={status:"stable",docFolder:Pn,description:`The \`${Pn}\` component defines what content is displayed when the user navigates to a particular URL that is associated with the page.`,props:{url:m("The URL of the route associated with the content."),navLabel:m("The label of the page that is displayed in the navigation panel. If provided, the a new entry will be added to the navigation panel.")}},ih={description:"The `Pages` component is used as a container for [`Page`](/components/Page) components within an [`App`](/components/App).",props:{defaultRoute:m("The default route when displaying the app")}},Mn={themeVars:`'{"backgroundColor-dropdown-NavGroup": "var(--xmlui-backgroundColor-dropdown-NavGroup)", "boxShadow-dropdown-NavGroup": "var(--xmlui-boxShadow-dropdown-NavGroup)", "borderRadius-dropdown-NavGroup": "var(--xmlui-borderRadius-dropdown-NavGroup)"}'`,dropdownList:"_dropdownList_qxju2_13"};function Dn(e,t){const r={...t};for(const o in t){const a=e[o],l=t[o];/^on[A-Z]/.test(o)?a&&l?r[o]=(...n)=>{l(...n),a(...n)}:a&&(r[o]=a):o==="style"?r[o]=l?{...l,...a}:a:o==="className"&&(r[o]=l?[l,a].filter(Boolean).join(" "):a)}return{...e,...r}}const Pt={iconHorizontalExpanded:"chevronright",iconHorizontalCollapsed:"chevronright",iconVerticalExpanded:"chevrondown",iconVerticalCollapsed:"chevronright"},fa=s.createContext({level:-1,iconHorizontalCollapsed:Pt.iconHorizontalCollapsed,iconHorizontalExpanded:Pt.iconHorizontalExpanded,iconVerticalCollapsed:Pt.iconVerticalCollapsed,iconVerticalExpanded:Pt.iconVerticalExpanded});s.forwardRef(function({node:t,style:r,label:o,icon:a,renderChild:l,to:i,disabled:n=!1,initiallyExpanded:c,iconHorizontalCollapsed:b,iconHorizontalExpanded:h,iconVerticalCollapsed:p,iconVerticalExpanded:C},v){const{level:g}=s.useContext(fa),T=ia(),y=s.useContext(qa);let $=(T==null?void 0:T.layout)==="vertical"||(T==null?void 0:T.layout)==="vertical-sticky"||(T==null?void 0:T.layout)==="vertical-full-header";y!==null&&($=y.inDrawer);const w=s.useMemo(()=>({level:g+1,iconHorizontalCollapsed:b??Pt.iconHorizontalCollapsed,iconHorizontalExpanded:h??Pt.iconHorizontalExpanded,iconVerticalCollapsed:p??Pt.iconVerticalCollapsed,iconVerticalExpanded:C??Pt.iconVerticalExpanded}),[b,h,p,C,g]);return d.jsx(fa.Provider,{value:w,children:$?d.jsx(lh,{to:i,style:r,label:o,icon:a,node:t,renderChild:l,ref:v,initiallyExpanded:c,disabled:n}):d.jsx(nh,{label:o,icon:a,node:t,renderChild:l,ref:v,to:i,disabled:n})})});const lh=s.forwardRef(function({style:t=vr,label:r,icon:o,renderChild:a,node:l,to:i,initiallyExpanded:n=!1,disabled:c=!1},b){const{level:h,iconVerticalCollapsed:p,iconVerticalExpanded:C}=s.useContext(fa),[v,g]=s.useState(n),T={...t,paddingLeft:h>=1?h*2+"em":void 0};return d.jsxs(d.Fragment,{children:[d.jsxs(bl,{style:T,onClick:()=>g(y=>!y),icon:o,to:i,disabled:c,children:[r,d.jsx("div",{style:{flex:1}}),d.jsx(ce,{name:v?C:p})]}),v&&a(l.children,{wrapChild:({node:y},$)=>{if(y.type==="NavLink"){const w=$;return s.cloneElement(w,{...Dn($.props,{style:{paddingLeft:(h+1)*2+"em"}})})}return $}})]})}),nh=s.forwardRef(function({style:t,label:r,icon:o,renderChild:a,node:l,to:i,disabled:n=!1},c){const{level:b,iconHorizontalCollapsed:h,iconHorizontalExpanded:p,iconVerticalExpanded:C}=s.useContext(fa),{root:v}=zt();let g=nr.DropdownMenu,T=nr.DropdownMenuTrigger,y=nr.DropdownMenuContent;b>=1&&(g=nr.DropdownMenuSub,T=nr.DropdownMenuSubTrigger,y=nr.DropdownMenuSubContent);const[$,w]=s.useState(!1);return d.jsxs(g,{onOpenChange:_=>w(_),children:[d.jsx(T,{asChild:!0,disabled:n,children:d.jsxs(bl,{icon:o,style:{flexShrink:0},vertical:b>=1,to:i,disabled:n,children:[r,d.jsx("div",{style:{flex:1}}),b===0&&d.jsx(ce,{name:C}),b>=1&&d.jsx(ce,{name:$?p:h})]})}),d.jsx(nr.DropdownMenuPortal,{container:v,children:d.jsx(y,{className:Mn.dropdownList,style:{display:"flex",flexDirection:"column"},side:"bottom",align:"start",children:a(l.children,{wrapChild:({node:_},A,P)=>{if(P!=null&&P.opaque||_.type==="List"||_.type==="NavGroup")return A;let Z=A;return _.type==="NavLink"&&(Z=s.cloneElement(A,{...Dn(A.props,{vertical:!0})})),d.jsx(nr.DropdownMenuItem,{asChild:!0,children:Z})}})})})]})}),Jo="NavGroup",sh={description:`The \`${Jo}\` component is a container for grouping related navigation targets (\`NavLink\` components). It can be displayed as a submenu in the App's UI.`,props:{label:qe(),initiallyExpanded:m("This property defines whether the group is initially expanded or collapsed."),enabled:Ze(),to:{description:"This property defines an optional navigation link.",valueType:"string"},icon:{description:`This property defines an optional icon to display along with the \`${Jo}\` label.`,valueType:"string"},iconHorizontalExpanded:{description:"Set a custom icon to display when the navigation menu is expanded, is in a **horizontal** app layout, and is in a navigation submenu.",valueType:"string",defaultValue:Pt.iconHorizontalExpanded},iconVerticalExpanded:{description:"Set a custom icon to display when the navigation menu is expanded, is in a **vertical** app layout, or is in a **horizontal** layout and is the top-level navigation item in the menu.",valueType:"string",defaultValue:Pt.iconVerticalExpanded},iconHorizontalCollapsed:{description:"Set a custom icon to display when the navigation menu is collapsed, is in a **horizontal** app layout, and is in a navigation submenu.",valueType:"string",defaultValue:Pt.iconHorizontalCollapsed},iconVerticalCollapsed:{description:"Set a custom icon to display when the navigation menu is collapsed, is in a **vertical** app layout, or is in a **horizontal** layout and is the top-level navigation item in the menu.",valueType:"string",defaultValue:Pt.iconVerticalCollapsed}},themeVars:Y(Mn.themeVars),defaultThemeVars:{[`backgroundColor-dropdown-${Jo}`]:"$backgroundColor-primary",[`borderRadius-dropdown-${Jo}`]:"$borderRadius",[`boxShadow-dropdown-${Jo}`]:"$boxShadow-spread"}},Io="RadioGroup",Me="RadioGroupOption",dh={description:`The \`${Io}\` input component is a group of radio buttons ([\`RadioGroupOption\`](./RadioGroupOption.mdx) components) that allow users to select only one option from the group at a time.`,props:{initialValue:Tt(),autoFocus:it(),required:Nt(),readOnly:At(),enabled:Ze(),validationStatus:Wt(),orientation:m("(*** NOT IMPLEMENTED YET ***) This property sets the orientation of the options within the radio group."),label:qe(),labelPosition:gt("top"),labelWidth:_t(Io),labelBreak:Vt(Io)},events:{gotFocus:vt(Io),lostFocus:ft(Io),didChange:at(Io)},themeVars:Y(st.themeVars),defaultThemeVars:{[`gap-${Me}`]:"$space-1_5",[`borderWidth-${Me}`]:"1px",[`backgroundColor-checked-${Me}-indicator`]:"$backgroundColor-primary",[`backgroundColor-checked-${Me}--disabled]`]:`$borderColor-${Me}--disabled`,[`backgroundColor-checked-${Me}-error`]:`$borderColor-${Me}-error`,[`backgroundColor-checked-${Me}-warning`]:`$borderColor-${Me}-warning`,[`backgroundColor-checked-${Me}-success`]:`$borderColor-${Me}-success`,[`fontSize-${Me}`]:"$fontSize-small",[`fontWeight-${Me}`]:"$fontWeight-bold",[`textColor-${Me}-error`]:`$borderColor-${Me}-error`,[`textColor-${Me}-warning`]:`$borderColor-${Me}-warning`,[`textColor-${Me}-success`]:`$borderColor-${Me}-success`,[`backgroundColor-checked-${Me}-default`]:"$color-primary-500",[`borderColor-${Me}-default`]:"$color-surface-500",[`borderColor-${Me}-default--hover`]:"$color-surface-700",[`borderColor-${Me}-default--active`]:"$color-primary-500"}},ga="Spinner",uh={description:`The \`${ga}\` component is an animated indicator that represents a particular action in progress without a deterministic progress value.`,props:{delay:{description:"The delay in milliseconds before the spinner is displayed.",valueType:"number",defaultValue:400},fullScreen:{description:"If set to `true`, the component will be rendered in a full screen container.",valueType:"boolean",defaultValue:!1}},themeVars:Y(Pa.themeVars),defaultThemeVars:{[`size-${ga}`]:"$space-10",[`thickness-${ga}`]:"$space-0_5",[`borderColor-${ga}`]:"$color-surface-400"}},Ve="Select",ch={description:"Provides a dropdown with a list of options to choose from.",status:"experimental",props:{placeholder:Er(),initialValue:Tt(),autoFocus:it(),required:Nt(),readOnly:At(),enabled:Ze(),validationStatus:Wt(),label:qe(),labelPosition:gt("top"),labelWidth:_t(Ve),labelBreak:Vt(Ve),optionLabelTemplate:$e("This property allows replacing the default template to display an option in the dropdown list."),optionTemplate:$e("This property allows replacing the default template to display an option in the dropdown list."),valueTemplate:$e("This property allows replacing the default template to display a selected value when multiple selections (`multiSelect` is `true`) are enabled."),dropdownHeight:m("This property sets the height of the dropdown list."),emptyListTemplate:m("This optional property provides the ability to customize what is displayed when the list of options is empty."),multiSelect:Gi(),searchable:m("This property enables the search functionality in the dropdown list."),inProgress:m("This property indicates whether the component is in progress. It can be used to show a loading message."),inProgressNotificationMessage:m("This property indicates the message to display when the component is in progress.")},events:{gotFocus:vt(Ve),lostFocus:ft(Ve),didChange:at(Ve)},apis:{focus:Jt(Ve),setValue:Qt(),value:ra(),reset:m("This method resets the component to its initial value, or clears the selection if no initial value was provided.")},contextVars:{$item:m("This property represents the value of an item in the dropdown list."),$itemContext:m("This property provides a `removeItem` method to delete the particular value from the selection.")},themeVars:Y(ve.themeVars),defaultThemeVars:{[`backgroundColor-menu-${Ve}`]:"$color-surface-raised",[`boxShadow-menu-${Ve}`]:"$boxShadow-md",[`borderRadius-menu-${Ve}`]:"$borderRadius",[`borderWidth-menu-${Ve}`]:"1px",[`borderColor-menu-${Ve}`]:"$borderColor","minHeight-Input":"39px",[`backgroundColor-${Ve}-badge`]:"$color-primary-500",[`fontSize-${Ve}-badge`]:"$fontSize-small",[`paddingHorizontal-${Ve}-badge`]:"$space-1",[`paddingVertical-${Ve}-badge`]:"$space-1",[`paddingHorizontal-item-${Ve}`]:"$space-2",[`paddingVertical-item-${Ve}`]:"$space-2",[`opacity-text-item-${Ve}--disabled`]:"0.5",[`opacity-${Ve}--disabled`]:"0.5",[`backgroundColor-${Ve}-badge--hover`]:"$color-primary-400",[`backgroundColor-${Ve}-badge--active`]:"$color-primary-500",[`textColor-item-${Ve}--disabled`]:"$color-surface-200",[`textColor-${Ve}-badge`]:"$color-surface-50",[`backgroundColor-item-${Ve}`]:"$backgroundColor-dropdown-item",[`backgroundColor-item-${Ve}--hover`]:"$backgroundColor-dropdown-item--hover",[`backgroundColor-item-${Ve}--active`]:"$backgroundColor-dropdown-item--active"}};var V=(e=>(e[e.EOF=-1]="EOF",e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e.replacementCharacter=65533]="replacementCharacter",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab",e))(V||{}),Bo=(e=>(e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Information=3]="Information",e[e.Hint=4]="Hint",e))(Bo||{}),_r=(e=>(e.onlyOneElem="U002",e.expTagOpen="U003",e.expTagName="U004",e.expCloseStart="U005",e.expEndOrClose="U006",e.tagNameMismatch="U007",e.expEnd="U008",e.expAttrIdent="U009",e.expEq="U010",e.expAttrValue="U011",e.duplAttr="U012",e.uppercaseAttr="U013",e.tagNameExpAfterNamespace="U014",e.invalidChar="W001",e.untermStr="W002",e.untermComment="W007",e.untermCData="W008",e.untermScript="W009",e))(_r||{});const gi={code:"W001",category:1,message:"Invalid character."},mh={code:"W002",category:1,message:"Unterminated string literal."},ph={code:"W007",category:1,message:"Unterminated comment"},hh={code:"W008",category:1,message:"Unterminated CDATA section"},bh={code:"W009",category:1,message:"Unterminated script section"},xh={category:1,code:"U008",message:"A '>' token expected."},vh={category:1,code:"U005",message:"A '</' token expected."},Ti={category:1,code:"U004",message:"A tag name expected."},fh={category:1,code:"U011",message:"An attribute value expected."},gh={category:1,code:"U003",message:"A '<' token expected."},Ci={category:1,code:"U006",message:"A '>' or '/>' token expected."},Rn={category:1,code:"U009",message:"An attribute identifier expected."};var k=(e=>(e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.CommentTrivia=2]="CommentTrivia",e[e.NewLineTrivia=3]="NewLineTrivia",e[e.WhitespaceTrivia=4]="WhitespaceTrivia",e[e.Identifier=5]="Identifier",e[e.OpenNodeStart=6]="OpenNodeStart",e[e.CloseNodeStart=7]="CloseNodeStart",e[e.NodeEnd=8]="NodeEnd",e[e.NodeClose=9]="NodeClose",e[e.Colon=10]="Colon",e[e.Equal=11]="Equal",e[e.StringLiteral=12]="StringLiteral",e[e.CData=13]="CData",e[e.Script=14]="Script",e[e.TextNode=15]="TextNode",e[e.AmpersandEntity=16]="AmpersandEntity",e[e.LessThanEntity=17]="LessThanEntity",e[e.GreaterThanEntity=18]="GreaterThanEntity",e[e.SingleQuoteEntity=19]="SingleQuoteEntity",e[e.DoubleQuoteEntity=20]="DoubleQuoteEntity",e[e.ElementNode=21]="ElementNode",e[e.AttributeNode=22]="AttributeNode",e[e.AttributeKeyNode=23]="AttributeKeyNode",e[e.ContentListNode=24]="ContentListNode",e[e.AttributeListNode=25]="AttributeListNode",e[e.TagNameNode=26]="TagNameNode",e[e.ErrorNode=27]="ErrorNode",e))(k||{});function Th(e){return e>=2&&e<=4}function Fn(e){switch(e){case 0:return"Unknown";case 1:return"EndOfFileToken";case 2:return"CommentTrivia";case 3:return"NewLineTrivia";case 4:return"WhitespaceTrivia";case 5:return"Identifier";case 6:return"OpenNodeStart";case 7:return"CloseNodeStart";case 8:return"NodeEnd";case 9:return"NodeClose";case 10:return"Colon";case 11:return"Equal";case 12:return"StringLiteral";case 13:return"CData";case 14:return"Script";case 16:return"AmpersandEntity";case 17:return"LessThanEntity";case 18:return"GreaterThanEntity";case 19:return"SingleQuoteEntity";case 20:return"DoubleQuoteEntity";case 21:return"ElementNode";case 22:return"AttributeNode";case 15:return"TextNode";case 24:return"ContentListNode";case 25:return"AttributeListNode";case 26:return"TagNameNode";case 27:return"ErrorNode";case 23:return"AttributeKeyNode"}return Ch()}function Ch(e){throw new Error("Didn't expect to get here")}function yh(e,t,r,o,a){let l=t,i,n,c,b,h,p;return P(l,o,a),{getStartPos:()=>c,getTokenEnd:()=>i,getToken:()=>h,getTokenStart:()=>b,getTokenText:()=>l.substring(b,i),getTokenValue:()=>p,isIdentifier:()=>h===k.Identifier,peekChar:C,scanChar:v,scan:g,scanTrivia:T,scanText:y,getText:$,setText:P,setOnError:Z,resetTokenState:E,back:j};function C(H){if(i+(H??0)>=n)return null;const S=_(i+(H??0));return isNaN(S)?null:S}function v(){if(i>=n)return null;const H=_(i);return i+=pr(H),H}function g(){for(c=i;;){if(b=i,i>=n)return h=k.EndOfFileToken;const H=_(i);switch(H){case V.lineFeed:case V.carriageReturn:return H===V.carriageReturn&&i+1<n&&w(i+1)===V.lineFeed?i+=2:i++,h=k.NewLineTrivia;case V.tab:case V.verticalTab:case V.formFeed:case V.space:case V.nonBreakingSpace:case V.ogham:case V.enQuad:case V.emQuad:case V.enSpace:case V.emSpace:case V.threePerEmSpace:case V.fourPerEmSpace:case V.sixPerEmSpace:case V.figureSpace:case V.punctuationSpace:case V.thinSpace:case V.hairSpace:case V.zeroWidthSpace:case V.narrowNoBreakSpace:case V.mathematicalSpace:case V.ideographicSpace:case V.byteOrderMark:{for(;i<n&&qn(w(i));)i++;return h=k.WhitespaceTrivia}case V.doubleQuote:case V.singleQuote:case V.backtick:return p=f(),h=k.StringLiteral;case V.ampersand:return w(i+1)===V.a&&w(i+2)===V.m&&w(i+3)===V.p&&w(i+4)===V.semicolon?(i+=5,h=k.AmpersandEntity):w(i+1)===V.l&&w(i+2)===V.t&&w(i+3)===V.semicolon?(i+=4,h=k.LessThanEntity):w(i+1)===V.g&&w(i+2)===V.t&&w(i+3)===V.semicolon?(i+=4,h=k.GreaterThanEntity):w(i+1)===V.q&&w(i+2)===V.u&&w(i+3)===V.o&&w(i+4)===V.t&&w(i+5)===V.semicolon?(i+=6,h=k.DoubleQuoteEntity):w(i+1)===V.a&&w(i+2)===V.p&&w(i+3)===V.o&&w(i+4)===V.s&&w(i+5)===V.semicolon?(i+=6,h=k.SingleQuoteEntity):(i++,x(gi,1),h=k.Unknown);case V.equals:return i++,h=k.Equal;case V.colon:return i++,h=k.Colon;case V.lessThan:if(w(i+1)===V.slash)return i+=2,h=k.CloseNodeStart;if(w(i+1)===V.exclamation&&w(i+2)===V.minus&&w(i+3)===V.minus){for(i+=4;i<n;){if(w(i)===V.minus&&w(i+1)===V.minus&&w(i+2)===V.greaterThan)return i+=3,h=k.CommentTrivia;i+=pr(w(i))}return x(ph,4),h=k.Unknown}else if(w(i+1)===V.exclamation&&w(i+2)===V.openBracket&&w(i+3)===V.C&&w(i+4)===V.D&&w(i+5)===V.A&&w(i+6)===V.T&&w(i+7)===V.A&&w(i+8)===V.openBracket){for(i+=9;i<n;){if(w(i)===V.closeBracket&&w(i+1)===V.closeBracket&&w(i+2)===V.greaterThan)return i+=3,h=k.CData;i+=pr(w(i))}return x(hh,9),h=k.CData}else if(w(i+1)===V.s&&w(i+2)===V.c&&w(i+3)===V.r&&w(i+4)===V.i&&w(i+5)===V.p&&w(i+6)===V.t&&w(i+7)===V.greaterThan){for(i+=8;i<n;){if(w(i)===V.lessThan&&w(i+1)===V.slash&&w(i+2)===V.s&&w(i+3)===V.c&&w(i+4)===V.r&&w(i+5)===V.i&&w(i+6)===V.p&&w(i+7)===V.t&&w(i+8)===V.greaterThan)return i+=9,h=k.Script;i+=pr(w(i))}return x(bh,9),h=k.Script}return i++,h=k.OpenNodeStart;case V.slash:return w(i+1)===V.greaterThan?(i+=2,h=k.NodeClose):(i++,x(gi,1),h=k.Unknown);case V.greaterThan:return i++,h=k.NodeEnd;default:const S=U(H);if(S)return h=S;if(qn(H)){i+=pr(H);continue}else if(Ih(H)){i+=pr(H);continue}const O=pr(H);return i+=O,x(gi,O),h=k.Unknown}}}function T(){const H=i,S=g();return Th(S)?S:(E(H),null)}function y(){return k.Unknown}function $(){return l}function w(H){return l.charCodeAt(H)}function _(H){return A(l,H)}function A(H,S){return H.codePointAt(S)??0}function P(H,S,O){l=H||"",n=O===void 0?l.length:S+O,E(S||0)}function Z(H){r=H}function E(H){i=H,c=H,b=H,h=k.Unknown,p=void 0}function j(){E(c)}function U(H){let S=H;if(kh(S)){for(i+=pr(S);i<n&&wh(S=_(i));)i+=pr(S);return p=l.substring(b,i),M()}}function M(){return h=k.Identifier}function f(){const H=w(i);i++;let S="",O=i;for(;;){if(i>=n){S+=l.substring(O,i),x(mh,1);break}if(w(i)===H){S+=l.substring(O,i),i++;break}i++}return S}function x(H,S=0){r&&r(H,S)}}function pr(e){return e>=65536?2:e===V.EOF?0:1}function Un(e){return e>=V.A&&e<=V.Z||e>=V.a&&e<=V.z}function Hh(e){return Un(e)||Sh(e)||e===V._}function Sh(e){return e>=V._0&&e<=V._9}function kh(e){return Un(e)||e===V.$||e===V._}function wh(e){return Hh(e)||e===V.$||e===V.minus||e===V.dot}function qn(e){return e===V.space||e===V.tab||e===V.verticalTab||e===V.formFeed||e===V.nonBreakingSpace||e===V.nextLine||e===V.ogham||e>=V.enQuad&&e<=V.zeroWidthSpace||e===V.narrowNoBreakSpace||e===V.mathematicalSpace||e===V.ideographicSpace||e===V.byteOrderMark}function Ih(e){return e===V.lineFeed||e===V.carriageReturn||e===V.lineSeparator||e===V.paragraphSeparator}function Bh(e,t,r){var l,i;const o=((l=e.children)==null?void 0:l.filter(n=>n.kind!==k.ErrorNode))??[],a=((i=t.children)==null?void 0:i.filter(n=>n.kind!==k.ErrorNode))??[];if(o.length!==a.length)return!1;for(let n=0;n<o.length;++n)if(r(o[n])!==r(a[n]))return!1;return!0}const Ta={uppercaseAttr:function(e){return{category:Bo.Error,code:_r.uppercaseAttr,message:`Attribute name '${e}' cannot start with an uppercase letter.`}},duplAttr:function(e){return{category:Bo.Error,code:_r.duplAttr,message:`Duplicated attribute: '${e}'.`}},tagNameMismatch:function(e,t){return{category:Bo.Error,code:_r.tagNameMismatch,message:`Opening and closing tag names should match. Opening tag has a name '${e}', but the closing tag name is '${t}'.`}},invalidChar:function(e){return{category:Bo.Error,code:_r.invalidChar,message:`Invalid character '${e}'.`}}};function $h(e){return{parse:()=>Oh(e),getText:(t,r=!0)=>e.substring(r?t.pos??t.start??0:t.start??t.pos??0,t.end)}}function Oh(e){const t=[],r=[];let o,a={children:[]},l;const n=yh(!1,e,function(B,I){l={message:B,prefixLength:I}});function c(B,I=!0){return e.substring(I?B.pos:B.start,B.end)}function b(){F();e:for(;;){const B=H();switch(B.kind){case k.TextNode:case k.StringLiteral:S(B.kind);break;case k.CloseNodeStart:break e;case k.EndOfFileToken:break e;default:p();break}}a.children&&a.children.length>0?W(k.ContentListNode):X()}function h(){for(;;)switch(H().kind){case k.EndOfFileToken:O();return;default:p();break}}function p(){!A(k.CData)&&!A(k.Script)&&(_(k.OpenNodeStart)?C():j(gh))}function C(){F(),S(k.OpenNodeStart);let B=!1,I;if(_(k.Identifier))I=g();else{B=!0;const z=Z([k.OpenNodeStart,k.NodeEnd,k.NodeClose,k.CloseNodeStart,k.CData,k.Script]);z?M(Ti,z.pos,z.end):U(Ti)}switch(B||T(),x().kind){case k.NodeClose:{O(),W(k.ElementNode);return}case k.NodeEnd:{O(),b(),v(I),W(k.ElementNode);return}case k.OpenNodeStart:case k.Script:case k.CData:{W(k.ElementNode),U(Ci);return}case k.CloseNodeStart:{U(Ci),v(I),W(k.ElementNode);return}default:U(Ci)}}function v(B){if(A(k.CloseNodeStart)){if(_(k.Identifier)){const I=g();B!==void 0&&!Bh(B,I,c)&&U(Ta.tagNameMismatch(c(B),c(I)))}else E(Ti,[k.NodeEnd]);A(k.NodeEnd)||U(xh)}else U(vh)}function g(){return F(),S(k.Identifier),A(k.Colon)&&A(k.Identifier),W(k.TagNameNode)}function T(){F();const B=[];for(;!P([k.EndOfFileToken,k.NodeEnd,k.NodeClose]);)y(B);a.children.length===0?X():W(k.AttributeListNode)}function y(B){if(F(),_(k.Identifier))$(B);else{const I=[k.Equal];if(!E(Rn,I))return}if(A(k.Equal)&&!A(k.StringLiteral)){const I=[k.NodeEnd,k.NodeClose];E(fh,I)}W(k.AttributeNode)}function $(B){const I=x();let z;F(),S(k.Identifier),A(k.Colon)&&(_(k.Identifier)?z=S(k.Identifier):E(Rn,[k.NodeClose,k.NodeEnd,k.Equal])),w(B,{nsIdent:z,nameIdent:I}),W(k.AttributeKeyNode)}function w(B,{nameIdent:I,nsIdent:z}){const L=c(I),N=z===void 0?void 0:c(z),R=({ns:oe,name:se})=>se===L&&oe===N,ie=B.findIndex(R)!==-1,me="A"<=L[0]&&L[0]<="Z",Te=ie||me;ie&&M(Ta.duplAttr(L),I.pos,I.end),me&&M(Ta.uppercaseAttr(L),I.pos,I.end),Te||B.push({name:L})}function _(B){return x().kind===B}function A(B){const I=_(B);return I&&O(),I}function P(B){return B.includes(x().kind)}function Z(B){return F(),f(B),a.children.length===0?(X(),null):W(k.ErrorNode)}function E(B,I){return P(I)||_(k.EndOfFileToken)?(U(B),!0):(F(),U(B),O(),W(k.ErrorNode),!1)}function j(B){E(B,[])}function U({code:B,message:I,category:z}){const{pos:L,end:N}=x();t.push({category:z,code:B,message:I,pos:L,end:N})}function M({code:B,message:I,category:z},L,N){t.push({category:z,code:B,message:I,pos:L,end:N})}function f(B){for(let I=x();I.kind!==k.EndOfFileToken&&!B.includes(I.kind);O(),I=x());}function x(B=!1){return o!==void 0||(o=D(B)),o}function H(){const B=x(!0);if(B.kind===k.EndOfFileToken||B.kind===k.OpenNodeStart||B.kind===k.Script||B.kind===k.CData||B.kind===k.CloseNodeStart)return B;const I=B.triviaBefore,z=(I==null?void 0:I.length)??0;let L=0,N=[],R=-1;for(;L<z;++L)if(I[L].kind===k.CommentTrivia)N.push(I[L]);else{R=L;break}let ie=-1;for(;L<z;++L)if(I[L].kind===k.CommentTrivia){ie=L;break}let me=!1;if(B.kind===k.StringLiteral){const Ne=B.end,ee=D(!0);me=ee.kind===k.CData||ee.kind===k.CloseNodeStart||ee.kind===k.Script||ee.kind===k.OpenNodeStart,n.resetTokenState(Ne)}let Te;me?Te=B.pos:N.length>0?Te=N[N.length-1].end:R!==-1?Te=I[R].pos:Te=B.start;let oe=Te,se;N.length>0&&(se=N,oe=N[0].pos);let _e=k.TextNode,Ae=-1;if(ie!==-1)Ae=I[ie].pos,n.resetTokenState(Ae);else if(me)_e=k.StringLiteral,Ae=B.end;else{for(;;){const Ne=n.peekChar();if(Ne===null||Ne===V.lessThan)break;n.scanChar()}Ae=n.getTokenEnd()}return o={kind:_e,start:oe,pos:Te,end:Ae,triviaBefore:se},o}function S(B){const I=O();if(I.kind!==B)throw new Error(`expected ${Fn(B)}, bumped a ${Fn(I.kind)}`);return I}function O(){if(o){a.children.push(o);const I=o;return o=void 0,I}const B=D(!1);return a.children.push(B),B}function F(){r.push(a),a={children:[]}}function W(B){const I=Gn(B,a.children),z=r[r.length-1];return z.children.push(I),a=z,r.pop(),I}function D(B){let I,z=[],L=null;for(;;){if(I=n.scan(),L===null&&(L=n.getTokenStart()),l!==void 0){let N;l.message.code===_r.invalidChar?N=Ta.invalidChar(n.getTokenText()):N=l.message;const R=n.getTokenStart(),ie={kind:I,start:L,pos:R,end:n.getTokenEnd(),triviaBefore:z.length>0?z:void 0};if(z=[],B&&N.code===_r.invalidChar)return l=void 0,ie;const me=R+l.prefixLength;return ie.end=me,n.resetTokenState(me),F(),a.children.push(ie),M(N,R,me),W(k.ErrorNode),l=void 0,D(B)}switch(I){case k.CommentTrivia:case k.NewLineTrivia:case k.WhitespaceTrivia:z.push({kind:I,start:L,pos:n.getTokenStart(),end:n.getTokenEnd()});break;default:return{kind:I,start:L,pos:n.getTokenStart(),end:n.getTokenEnd(),triviaBefore:z.length>0?z:void 0}}}}function X(){const B=r[r.length-1];B.children.push(...a.children),a=B,r.pop()}return h(),{node:Gn(k.ContentListNode,a.children),errors:t}}function Gn(e,t){const r=t[0],o=t[t.length-1];return{kind:e,start:r.start,pos:r.pos,end:o.end,children:t}}function Lh(e){return e.type!=="ScriptModule"}function _h(e,t){const r=new Map,o={},a=l(e,t);return!a||Object.keys(o).length>0?o:a;function l(i,n){if(r.has(i))return r.get(i);const c=new ui(n);let b=[];try{b=c.parseStatements()}catch{return o[i]=c.errors,null}const h=c.current;if(h.type!==u.Eof)return o[i]??(o[i]=[]),o[i].push({code:"W002",text:pa.W002.replace(/\{(\d+)}/g,()=>h.text),position:h.startLine,line:h.startLine,column:h.startColumn}),null;const p=[],C={};b.filter(T=>T.type===ni).forEach(T=>{const y=T;if(C[y.id.name]){g("W020",T,y.id.name);return}C[y.id.name]=y});const v={type:"ScriptModule",name:i,functions:C,statements:b,sources:new Map};if(r.set(i,v),p.length>0)return o[i]=p,null;return v;function g(T,y,...$){var _,A,P;let w=pa[T];$&&$.forEach((Z,E)=>w=w.replaceAll(`{${E}}`,$[E].toString())),p.push({code:T,text:pa[T].replace(/\{(\d+)}/g,(Z,E)=>$[E]),position:(_=y.startToken)==null?void 0:_.startPosition,line:(A=y.startToken)==null?void 0:A.startLine,column:(P=y.startToken)==null?void 0:P.startColumn})}}}const yi="__PARSED__";function Vh(e,t){const r={vars:{},moduleErrors:{},functions:{}},o={},a=_h(e,t);if(Lh(a))return{...r,moduleErrors:a};return a.statements.forEach(i=>{switch(i.type){case Yl:i.decls.forEach(n=>{if(n.id.name in r.vars)throw new Error(`Duplicated var declaration: '${n.id.name}'`);r.vars[n.id.name]={[yi]:!0,tree:n.expr}});break;case ni:l(i);break;default:throw new Error("Only reactive variable and function definitions are allowed in a code-behind module.")}}),r;function l(i){if((o==null?void 0:o[i.id.name])!==void 0)return;if(i.id.name in r.functions)throw new Error(`Duplicated function declaration: '${i.id.name}'`);const n={type:si,args:i.args.slice(),statement:i.stmt};o[i.id.name]={[yi]:!0,tree:n},r.functions[i.id.name]={[yi]:!0,tree:n}}}class Ca extends Error{constructor(t,r){super(`${r?`${r}: `:""}${t}`),this.code=r,Object.setPrototypeOf(this,Ca.prototype)}}const Ah={U001:"Unexpected token: {0}.",U002:"A component definition can have exactly one XMLUI element.",U003:"A '<' token expected.",U004:"A node identifier expected.",U005:"A '</' token expected.",U006:"A '>' or '/>' token expected.",U007:"An '{0}' ID expected in the closing tag but '{1}' received.",U008:"A '>' token expected.",U009:"An attribute identifier expected.",U010:"An '=' token expected.",U011:"An attribute value expected.",U012:"Duplicated attribute: '{0}'.",U013:"Attribute name cannot start with an uppercase letter.",U014:"An '{0}' ID expected in the closing tag's namespace but '{1}' received.",U015:"Unexpected token in text element: {0}.",T001:"A component definition must have exactly one XMLUI element.",T002:"A component definition's name must start with an uppercase letter.",T003:"A reusable component must have a non-empty name.",T004:"A reusable component's name must start with an uppercase letter.",T005:"A reusable component must have at least one nested component definition.",T006:"A reusable component definition cannot nest another one.",T007:"Invalid attribute name: '{0}'",T008:"Event attribute names should not start with 'on' prefix: '{0}'",T009:"Invalid node name '{0}' in a component definition",T010:"The '{0}' element does not accept a text child",T011:"Only 'name', 'value', and type hint attributes are accepted in '{0}'.",T012:"The 'name' attribute in '{0}' is required.",T013:"A loader element must have an id.",T014:"A loader element must not have '{0}'.",T015:"The uses element must define only a non-empty 'value' attribute.",T016:"Only 'field' or 'item' are accepted as a child element.",T017:"Cannot mix 'field' and 'item' nodes within an element.",T018:"The '{0}' node cannot have a 'name' attribute.",T019:"The 'value' attribute in '{0}' is required.",T020:"Cannot mix nested components and non-component children.",T021:"Invalid reusable component attribute '{0}'.",T022:"The 'script' tag must not have any attribute.",T023:"A 'script' tag cannot nest other child nodes, only text.",T024:"Cannot put a reusable component definitions into a slot.",T025:"Duplicate xmlns found: '{0}'.",T026:"The top level component's name cannot have a namespace.",T027:"Cannot resolve namespace '{0}'. It was not defined in any of the ancestor components.",T028:"Incorrect namespace value '{0}'. {1}",T029:"Incorrect scheme specified before ':' (colon) in namespace {0}. Delete it to get the default '{1}'."},jn="Component",Hi=/^[A-Z]/,Xn=/^on[A-Z]/,Wh=["name","value"],Nh=9,Si="component-ns",zh="app-ns",Eh="#app-ns",Ph="core-ns",Mh="#xmlui-core-ns",Vr={property:"property",event:"event",variable:"variable",loaders:"loaders",uses:"uses",method:"method",item:"item",field:"field"};let Dh=0;function Rh(e,t,r){const o=f=>f.text??t(f),a=qh(e),l=A(a),i=[],n=[];return c(i,l);function c(f,x){const H=Kn(x,o,n);if(H===jn)return h(x);let S={type:H,debug:{source:{start:x.start,end:x.end,fileId:r}}};return p(f,S,x),S}function b(f,x){const H=Kn(x,o,n);H===jn&&he("T006");let S={type:H,debug:{source:{start:x.start,end:x.end,fileId:r}}};return p(f,S,x),S}function h(f){const x=$o(f).map(w),H=x.find(R=>R.name==="name");H||he("T003"),Hi.test(H.value)||he("T004");let S;const O=x.filter(R=>R.startSegment==="method");O.length>0&&(S={},O.forEach(R=>{S[R.name]=R.value}));let F;const W=x.filter(R=>R.startSegment==="var");W.length>0&&(F={},W.forEach(R=>{F[R.name]=R.value}));const D=Oo(f),X=D.filter(R=>R.kind===k.ElementNode&&!(hr(R,o)in Vr));X.length===0&&X.push(Yn(""));const q=[],B=[];for(let R of D)if(R.kind===k.ElementNode){const ie=hr(R,o);ie===Vr.variable?B.push(R):ie in Vr&&q.push(R)}let I;X.length>1||B.length>0?I=Zn([...B,...X]):I=X[0],n.push(new Map),x.filter(R=>R.namespace==="xmlns").forEach(R=>{Jn(n,I,R.unsegmentedName,R.value)});let z=b(i,I);n.pop();const L={name:H.value,component:z,debug:{source:{start:f.start,end:f.end,fileId:r}}};S&&(L.api=S),F&&(z.vars={...z.vars,...F}),z.debug={source:{start:I.start,end:I.end,fileId:r}};const N=Qn(f,q);return p(i,L,N),L}function p(f,x,H){var X;const S=!Yt(x),O=$o(H);if(n.push(new Map),O.forEach(q=>{C(x,q)}),Oo(H).forEach(q=>{if(q.kind===k.Script){$o(q).length>0&&he("T022");const I=o(q),z=I.slice(I.indexOf(">")+1,I.lastIndexOf("</"));x.script??(x.script=""),x.script.length>0&&(x.script+=`
8
+ `),x.script+=z;return}if(q.kind===k.TextNode&&!S){x.children=ya(x.children,o(q));return}const B=hr(q,o);if(!(S&&q.kind===k.ElementNode&&!(B in Vr))){if(!(B in Vr)&&!S){const I=b(f,q);I&&(x.children?typeof x.children=="string"?x.children=[x.children,I]:Array.isArray(x.children)&&x.children.push(I):x.children=[I]);return}switch(B){case"property":y(f,x,q,I=>{var z;return Yt(x)?(z=x.props)==null?void 0:z[I]:void 0},(I,z)=>{Yt(x)&&(x.props??(x.props={}),x.props[I]=z)});return;case"event":y(f,x,q,I=>{var z;return Yt(x)?(z=x.events)==null?void 0:z[I]:void 0},(I,z)=>{Yt(x)&&(x.events??(x.events={}),x.events[I]=M(z))},I=>{Xn.test(I)&&he("T008",I)});return;case Vr.variable:y(f,x,q,I=>{var z;return Yt(x)?(z=x.vars)==null?void 0:z[I]:void 0},(I,z)=>{Yt(x)&&(x.vars??(x.vars={}),x.vars[I]=z)});return;case"loaders":T(f,x,q);return;case"uses":$(x,q);return;case"method":y(f,x,q,I=>{var z;return Yt(x)?(z=x.api)==null?void 0:z[I]:void 0},(I,z)=>{x.api??(x.api={}),x.api[I]=z});return;default:he("T009",B);return}}}),n.pop(),!x.script||x.script.trim().length===0)return;const W=new ui(x.script);try{W.parseStatements(),x.scriptCollected=Vh("Main",x.script)}catch(q){W.errors&&W.errors.length>0?x.scriptError=W.errors:x.scriptError=q}const D=((X=x.scriptCollected)==null?void 0:X.moduleErrors)??{};Object.keys(D).length>0&&(x.scriptError=D)}function C(f,x){const{namespace:H,startSegment:S,name:O,value:F,unsegmentedName:W}=w(x);if(H==="xmlns")return Jn(n,f,W,F);if(!Yt(f)){if(S&&S!=="method"&&S!=="var"){he("T021");return}if(O==="name"&&!S)return;!S&&O&&he("T021",O);return}switch(O){case"id":f.uid=F;return;case"testId":f.testId=F;return;case"when":f.when=F;return;default:if(S==="var")f.vars??(f.vars={}),f.vars[O]=F;else if(S==="method")f.api??(f.api={}),f.api[O]=F;else if(S==="event")f.events??(f.events={}),f.events[O]=M(F);else if(Xn.test(O)){f.events??(f.events={});const X=O[2].toLowerCase()+O.substring(3);f.events[X]=M(F)}else f.props??(f.props={}),f.props[O]=F;return}}function v(f,x){let H=null;if(!x)return H;let S=null;return x.forEach(O=>{if(O.kind===k.TextNode){H=ya(H,o(O));return}if(O.kind!==k.ElementNode)return;const F=hr(O,o);if(F!=="field"&&F!=="item"){he("T016");return}if(F==="field"){if(!S)S=F,H={};else if(S!==F){he("T017");return}}else if(F==="item"){if(!S)S=F,H=[];else if(S!==F){he("T017");return}}let W=g(f,O,F==="field");if(!W)return null;S==="field"?H[W.name]=W.value:H.push(W.value)}),H}function g(f,x,H=!0){const S=hr(x,o),O=Oo(x),F=O.filter(L=>L.kind===k.ElementNode&&Hi.test(hr(L,o))),W=O.filter(L=>L.kind===k.ElementNode&&!Hi.test(hr(L,o))),D=$o(x).map(w),X=D.filter(L=>Wh.indexOf(L.name)>=0);if(D.length>X.length)return he("T011",S),null;const q=X.find(L=>L.name==="name");if(H){if(!(q!=null&&q.value))return he("T012",S),null}else if(q)return he("T018",S),null;const B=q==null?void 0:q.value,I=X.find(L=>L.name==="value");if(I&&I.value===void 0)return he("T019",S),null;if(B&&F.length>=1){if(W.length>0)return he("T020"),null;const L=F.map(N=>b(f,N));return{name:B,value:L.length===1?L[0]:L}}let z=I==null?void 0:I.value;return z===null?null:typeof z=="string"?{name:B,value:z}:{name:B,value:v(f,O)}}function T(f,x,H){var F;if(!Yt(x)){he("T009","loaders");return}const S=Oo(H);if(S.length===0&&(x.loaders??(x.loaders=[])),(F=H.children)==null?void 0:F.some(W=>W.kind===k.AttributeListNode)){he("T014","attributes");return}S.forEach(W=>{if(W.kind===k.TextNode){he("T010","loader");return}const D=b(f,W);if(!D.uid){he("T013");return}if(D.vars){he("T014","vars");return}if(D.loaders){he("T014","loaders");return}if(D.uses){he("T014","uses");return}x.loaders??(x.loaders=[]),x.loaders.push(D)})}function y(f,x,H,S,O,F){const W=g(f,H);if(!W)return;F==null||F((W==null?void 0:W.name)??"");const D=W.name,X=W.value;if((W==null?void 0:W.value)!==void 0)O(D,ya(S(D),X));else{const q=Oo(H),B=v(f,q);let I=S(D);I=ya(I,B),O(D,I)}}function $(f,x){if(!Yt(f)){he("T009","uses");return}const H=$o(x).map(w),S=H.find(O=>O.name==="value");if(!(S!=null&&S.value)||H.length!==1){he("T015","uses");return}f.uses??(f.uses=S.value.split(",").map(O=>O.trim()))}function w(f){let x=f.children[0];const H=x.children.length===3;let S;H&&(S=o(x.children[0]));let O=o(x.children[x.children.length-1]);const F=O.split(".");F.length>2&&he("T007",f,x);let W,D;F.length===2?(D=F[0],W=F[1],W.trim()===""&&he("T007",f,W)):W=O;const X=o(f.children[2]),q=X.substring(1,X.length-1);return{namespace:S,startSegment:D,name:W,value:q,unsegmentedName:O}}function _(f){for(let x of f){const H=x.children[x.children.length-1],S=j(o(H));S!==null&&(H.text=S)}}function A(f){const x=Oo(f),H=hr(f,o),O=!(H in Vr)||H==="property",F=H!=="event"&&H!=="method",W=$o(f);Uh(W),_(W),E(x),U(x,F);let D=!1,X=!1;for(let z=0;z<x.length;++z){const L=x[z];let N;if(L.kind==k.Script){X=!0;continue}if(L.kind===k.ElementNode){N=A(L),x[z]=N;continue}let R=o(L);L.kind===k.StringLiteral?R=R.slice(1,-1):L.kind===k.CData&&(D=!0),O?D?N=Fh(R):N=Yn(R):N={kind:k.TextNode,text:R},x[z]=N}const q=[],B=[];let I=!1;for(const z of x){if(z.kind===k.ElementNode){if((hr(z,o)??void 0)in Vr){q.push(z);continue}I=!0}B.push(z)}if(X&&I){const z=Zn(B);return q.push(z),Qn(f,q)}return f}function P(f){for(let x=0;x<f.length;++x)if(f[x].kind===k.StringLiteral||f[x].kind===k.TextNode){const H=/[\f\n\r\t\v\u0020\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/g;f[x].text=o(f[x]).replace(H," ")}}function Z(f){for(let x=0;x<f.length;++x)f[x].kind===k.CData&&(f[x].text=o(f[x]).slice(Nh,-3))}function E(f){for(let x of f)if(x.kind===k.StringLiteral||x.kind===k.TextNode){const H=j(o(x));H!==null&&(x.text=H)}}function j(f){let x="",H=0;for(let S=0;S<f.length;++S)if(f.charCodeAt(S)===V.ampersand)switch(f.charCodeAt(S+1)){case V.a:switch(f.charCodeAt(S+2)){case V.m:f.charCodeAt(S+3)===V.p&&f.charCodeAt(S+4)===V.semicolon&&(x=x+f.substring(H,S)+"&",S+=4,H=S+1);break;case V.p:f.charCodeAt(S+3)===V.o&&f.charCodeAt(S+4)===V.s&&f.charCodeAt(S+5)===V.semicolon&&(x=x+f.substring(H,S)+"'",S+=5,H=S+1);break}break;case V.g:f.charCodeAt(S+2)===V.t&&f.charCodeAt(S+3)===V.semicolon&&(x=x+f.substring(H,S)+">",S+=3,H=S+1);break;case V.l:f.charCodeAt(S+2)===V.t&&f.charCodeAt(S+3)===V.semicolon&&(x=x+f.substring(H,S)+"<",S+=3,H=S+1);break;case V.q:f.charCodeAt(S+2)===V.u&&f.charCodeAt(S+3)===V.o&&f.charCodeAt(S+4)===V.t&&f.charCodeAt(S+5)===V.semicolon&&(x=x+f.substring(H,S)+'"',S+=5,H=S+1);break;case V.n:f.charCodeAt(S+2)===V.b&&f.charCodeAt(S+3)===V.s&&f.charCodeAt(S+4)===V.p&&f.charCodeAt(S+5)===V.semicolon&&(x=x+f.substring(H,S)+" ",S+=5,H=S+1);break}return H===0?null:(x+=f.substring(H),x)}function U(f,x){x&&P(f),Z(f);for(let H=f.length-1;H>0;--H){const S=f[H-1],O=f[H];S.kind===k.StringLiteral&&O.kind===k.CData?(f[H-1]={kind:k.CData,text:o(S).slice(1,-1)+o(O)},f.pop()):S.kind===k.CData&&O.kind===k.StringLiteral?(f[H-1]={kind:k.CData,text:o(S)+o(O).slice(1,-1)},f.pop()):S.kind===k.CData&&O.kind===k.TextNode?(f[H-1]={kind:k.CData,text:o(S)+o(O)},f.pop()):S.kind===k.CData&&O.kind===k.CData?(f[H-1]={kind:k.CData,text:o(S)+o(O)},f.pop()):S.kind===k.TextNode&&O.kind===k.TextNode?(o(S).endsWith(" ")&&o(O).startsWith(" ")&&(S.text=o(S).trimEnd()),f[H-1]={kind:k.TextNode,text:o(S)+o(O)},f.pop()):S.kind===k.TextNode&&O.kind===k.CData&&(f[H-1]={kind:k.CData,text:o(S)+o(O)},f.pop())}}function M(f){if(typeof f!="string")return f;const x=new ui(f);try{return{__PARSED:!0,statements:x.parseStatements(),parseId:++Dh,source:f}}catch{if(x.errors.length>0){const H=x.errors[0];throw new Ca(`${H.text} [${H.line}: ${H.column}]`,H.code)}}}}function Fh(e){return{kind:k.ElementNode,children:[{kind:k.OpenNodeStart},{kind:k.TagNameNode,children:[{kind:k.Identifier,text:"TextNodeCData"}]},{kind:k.AttributeListNode,children:[{kind:k.AttributeNode,children:[{kind:k.AttributeKeyNode,children:[{kind:k.Identifier,text:"value"}]},{kind:k.Equal},{kind:k.Identifier,text:`"${e}"`}]}]},{kind:k.NodeClose}]}}function Yn(e){return{kind:k.ElementNode,children:[{kind:k.OpenNodeStart},{kind:k.TagNameNode,children:[{kind:k.Identifier,text:"TextNode"}]},{kind:k.AttributeListNode,children:[{kind:k.AttributeNode,children:[{kind:k.AttributeKeyNode,children:[{kind:k.Identifier,text:"value"}]},{kind:k.Equal},{kind:k.Identifier,text:`"${e}"`}]}]},{kind:k.NodeClose}]}}function he(e,...t){let r=Ah[e]??"Unknown error";throw t&&t.forEach((a,l)=>r=o(r,`{${l}}`,a.toString())),new Ca(r,e);function o(a,l,i){do a=a.replace(l,i);while(a.includes(l));return a}}function Yt(e){return e.type}function ya(e,t){return e?Array.isArray(e)?typeof e=="string"?[e,t]:(e.push(t),e):[e,t]:t}function Zn(e){const t={kind:k.TagNameNode,children:[{kind:k.Identifier,text:"Fragment"}]};return{kind:k.ElementNode,start:e[0].start,pos:e[0].pos,end:e[e.length-1].end,children:[{kind:k.OpenNodeStart},t,{kind:k.NodeEnd},{kind:k.ContentListNode,children:e},{kind:k.CloseNodeStart},t,{kind:k.NodeEnd}]}}function $o(e){var t,r;return((r=(t=e.children)==null?void 0:t.find(o=>o.kind===k.AttributeListNode))==null?void 0:r.children)??[]}function Oo(e){var t,r;return((r=(t=e.children)==null?void 0:t.find(o=>o.kind===k.ContentListNode))==null?void 0:r.children)??[]}function Qn(e,t){var o;const r=(o=e.children)==null?void 0:o.findIndex(a=>a.kind===k.ContentListNode);return r===void 0||r===-1?e:{...e,children:[...e.children.slice(0,r),{...e.children[r],children:t},...e.children.slice(r)]}}function Uh(e){var t;for(let r of e)if(((t=r.children)==null?void 0:t.length)===1){const o={kind:k.Equal},a={kind:k.StringLiteral,text:'"true"'};r.children.push(o,a)}}function Jn(e,t,r,o){let a=o.split(":");if(a.length>2)return he("T028",o,"Namespace cannot contain multiple ':' (colon).");let l=o;if(a.length===2){if(a[0]!=Si)return he("T029",o,Si);l=a[1]}if(l.includes("#"))return he("T028",l,"Namespace cannot contain character '#'.");switch(l){case Si:l=r;break;case zh:l=Eh;break;case Ph:l=Mh;break}const i=e[e.length-1];if(i.has(r))return he("T025",r);i.set(r,l),t.namespaces??(t.namespaces={}),t.namespaces[r]=l}function qh(e,t){e.children.length!==2&&he("T001");const r=e.children[0];return r.kind!==k.ElementNode&&he("T001"),r}function hr(e,t){const r=e.children.find(a=>a.kind===k.TagNameNode).children;return t(r.at(-1))}function Kn(e,t,r){const o=e.children.find(n=>n.kind===k.TagNameNode).children,a=t(o.at(-1));if(o.length===1)return a;const l=t(o[0]);r.length===0&&he("T026");let i;for(let n=r.length-1;n>=0&&(i=r[n].get(l),i===void 0);--n);return i===void 0&&he("T027",l),i+"."+a}function Gh(e,t=0){const{parse:r,getText:o}=$h(e),{node:a,errors:l}=r();if(l.length>0){const i=[];for(let b=0;b<e.length;++b)e[b]===`
9
+ `&&i.push(b);const n=jh(l,i),c=es(a,o);return{component:null,errors:n,erroneousCompoundComponentName:c}}try{return{component:Rh(a,o,t),errors:[]}}catch(i){const n=es(a,o),c={message:i.message,col:0,line:0,code:_r.expEq,category:Bo.Error,pos:0,end:0};return{component:null,erroneousCompoundComponentName:n,errors:[c]}}}function jh(e,t){if(t.length===0){for(let r of e)r.line=1,r.col=r.pos+1;return e}for(let r of e){let o=0;for(;o<t.length;++o){const l=t[o];if(r.pos<l){r.line=o+1,r.col=r.pos-(t[o-1]??0)+1;break}}const a=t[t.length-1];r.pos>=a&&(r.line=t.length+1,r.col=r.pos-a+0)}return e}function es(e,t){var c,b,h,p,C,v;const r=(c=e==null?void 0:e.children)==null?void 0:c[0],o=(h=(b=r==null?void 0:r.children)==null?void 0:b.find(g=>g.kind===k.TagNameNode))==null?void 0:h.children,a=o==null?void 0:o[o.length-1];if(a===void 0||t(a)!=="Component")return;const l=(C=(p=r.children)==null?void 0:p.find(g=>g.kind===k.AttributeListNode))==null?void 0:C.children,i=(v=l==null?void 0:l.find(g=>g.kind===k.AttributeNode&&t(g==null?void 0:g.children[0])==="name"))==null?void 0:v.children,n=i==null?void 0:i[i.length-1];if(n!==void 0&&n.kind===k.StringLiteral){const g=t(n);return g.substring(1,g.length-1)}}function Xh(e,t){const r=Gh(t).component;if(!r)throw new Error(`Failed to parse ${e} component definition during build.`);return r}const ki="FormSection",Yh={status:"experimental",description:`The \`${ki}\` is a component that groups cohesive elements together within a \`Form\`. This grouping is indicated visually: the child components of the \`${ki}\` are placed in a [\`FlowLayout\`](./FlowLayout.mdx) component.`};Xh(ki,`
10
10
  <Component name="FormSection">
11
11
  <VStack paddingBottom="{$props.paddingBottom ?? '1rem'}" gap="0" width="100%">
12
12
  <Heading
@@ -29,4 +29,4 @@
29
29
  </FlowLayout>
30
30
  </VStack>
31
31
  </Component>
32
- `);const Le="Switch",Xh={description:`The \`${Le}\` component is a user interface element that allows users to toggle between two states: on and off. It consists of a small rectangular or circular button that can be moved left or right to change its state.`,props:{indeterminate:qi(qt.indeterminate),label:qe(),labelPosition:gt("end"),labelWidth:Lt(Le),labelBreak:_t(Le),required:Wt(),initialValue:Tt(qt.initialValue),autoFocus:it(),readOnly:Vt(),enabled:Ze(),validationStatus:At(qt.validationStatus),description:Xe(`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${Le} besides its label.`)},events:{gotFocus:xt(Le),lostFocus:ft(Le),didChange:at(Le)},apis:{value:ji(),setValue:Qt()},themeVars:Y(tr.themeVars),defaultThemeVars:{[`borderColor-checked-${Le}-error`]:`$borderColor-${Le}-error`,[`backgroundColor-checked-${Le}-error`]:`$borderColor-${Le}-error`,[`borderColor-checked-${Le}-warning`]:`$borderColor-${Le}-warning`,[`backgroundColor-checked-${Le}-warning`]:`$borderColor-${Le}-warning`,[`borderColor-checked-${Le}-success`]:`$borderColor-${Le}-success`,[`backgroundColor-checked-${Le}-success`]:`$borderColor-${Le}-success`,[`backgroundColor-${Le}`]:"$backgroundColor-primary",[`borderColor-${Le}`]:"$color-surface-200",[`borderWidth-${Le}`]:"1px",[`backgroundColor-indicator-${Le}`]:"$color-surface-200",[`backgroundColor-indicator-checked-${Le}`]:"$backgroundColor-primary",[`borderColor-checked-${Le}`]:"$color-primary-500",[`backgroundColor-checked-${Le}`]:"$color-primary-500",[`backgroundColor-${Le}--disabled`]:"$color-surface-200"}},Yh={description:"The `Column` component can be used within a `Table` to define a particular table column's visual properties and data bindings.",props:{bindTo:{description:"Indicates what part of the data to lay out in the column.",valueType:"string"},header:{description:"Adds a label for a particular column.",valueType:"string"},width:{description:"This property defines the width of the column. You can use a numeric value, a pixel value (such as `100px`), or a star size value (such as `*`, `2*`, etc.). You will get an error if you use any other unit (or value).",valueType:"any"},minWidth:{description:"Indicates the minimum width a particular column can have. Same rules apply as with [width](#width).",valueType:"any"},maxWidth:{description:"Indicates the maximum width a particular column can have. Same rules apply as with [width](#width).",valueType:"any"},canSort:{description:"This property sets whether the user can sort by a column by clicking on its header (`true`) or not (`false`).",valueType:"boolean"},pinTo:{description:"This property allows the column to be pinned to the `left` (left-to-right writing style) or `right` (left-to-right writing style) edge of the table. If the writing style is right-to-left, the locations are switched.",availableValues:["left","right"],valueType:"string"},canResize:{description:"This property indicates whether the user can resize the column. If set to `true`, the column can be resized by dragging the column border. If set to `false`, the column cannot be resized. Double-clicking the column border resets to the original size.",valueType:"boolean"}},contextVars:{$item:{description:"The data item being rendered."},$row:{description:"The data item being rendered (the same as `$item`)."},$itemIndex:{description:"The index of the data item being rendered."},$rowIndex:{description:"The index of the data item being rendered (the same as `$itemIndex`)."},$colIndex:{description:"The index of the column being rendered."},$cell:{description:"The value of the cell being rendered."}}},Zh={description:"`Redirect` is a component that immediately redirects the browser to the URL in its `to` property when it gets visible (its `when` property gets `true`). The redirection works only within the app.",props:{to:m("This property defines the URL to which this component is about to redirect requests.")}},Qh={themeVars:`'{"padding-trigger-Tabs": "var(--xmlui-padding-trigger-Tabs)", "paddingHorizontal-trigger-Tabs": "var(--xmlui-paddingHorizontal-trigger-Tabs, var(--xmlui-padding-trigger-Tabs))", "paddingVertical-trigger-Tabs": "var(--xmlui-paddingVertical-trigger-Tabs, var(--xmlui-padding-trigger-Tabs))", "paddingLeft-trigger-Tabs": "var(--xmlui-paddingLeft-trigger-Tabs, var(--xmlui-paddingHorizontal-trigger-Tabs, var(--xmlui-padding-trigger-Tabs)))", "paddingRight-trigger-Tabs": "var(--xmlui-paddingRight-trigger-Tabs, var(--xmlui-paddingHorizontal-trigger-Tabs, var(--xmlui-padding-trigger-Tabs)))", "paddingTop-trigger-Tabs": "var(--xmlui-paddingTop-trigger-Tabs, var(--xmlui-paddingVertical-trigger-Tabs, var(--xmlui-padding-trigger-Tabs)))", "paddingBottom-trigger-Tabs": "var(--xmlui-paddingBottom-trigger-Tabs, var(--xmlui-paddingVertical-trigger-Tabs, var(--xmlui-padding-trigger-Tabs)))", "backgroundColor-Tabs": "var(--xmlui-backgroundColor-Tabs)", "borderColor-Tabs": "var(--xmlui-borderColor-Tabs)", "borderWidth-Tabs": "var(--xmlui-borderWidth-Tabs)", "borderColor-active-Tabs": "var(--xmlui-borderColor-active-Tabs)", "backgroundColor-trigger-Tabs": "var(--xmlui-backgroundColor-trigger-Tabs)", "borderRadius-trigger-Tabs": "var(--xmlui-borderRadius-trigger-Tabs)", "border-trigger-Tabs": "var(--xmlui-border-trigger-Tabs)", "textColor-trigger-Tabs": "var(--xmlui-textColor-trigger-Tabs)", "backgroundColor-trigger-Tabs--hover": "var(--xmlui-backgroundColor-trigger-Tabs--hover)", "backgroundColor-trigger-Tabs--active": "var(--xmlui-backgroundColor-trigger-Tabs--active)", "backgroundColor-list-Tabs": "var(--xmlui-backgroundColor-list-Tabs)", "borderRadius-list-Tabs": "var(--xmlui-borderRadius-list-Tabs)", "border-list-Tabs": "var(--xmlui-border-list-Tabs)"}'`},ro="Tabs",Jh={status:"experimental",description:`The \`${ro}\` component provides a tabbed layout where each tab has a clickable label and content.`,props:{activeTab:m("This property indicates the index of the active tab. The indexing starts from 0, representing the starting (leftmost) tab."),orientation:{description:"This property indicates the orientation of the component. In horizontal orientation, the tab sections are laid out on the left side of the content panel, while in vertical orientation, the buttons are at the top.",availableValues:["horizontal","vertical"],defaultValue:"vertical",valueType:"string"},tabTemplate:$e("This property declares the template for the clickable tab area.")},apis:{next:m("This method selects the next tab.")},themeVars:Y(Qh.themeVars),defaultThemeVars:{[`borderStyle-${ro}`]:"solid",[`borderColor-${ro}`]:"$borderColor",[`borderColor-active-${ro}`]:"$color-primary",[`borderWidth-${ro}`]:"2px",[`backgroundColor-trigger-${ro}--hover`]:"$color-surface-100",[`padding-trigger-${ro}`]:"$space-4"}},Kh={themeVars:`'{"backgroundColor-TableOfContents": "var(--xmlui-backgroundColor-TableOfContents)", "width-TableOfContents": "var(--xmlui-width-TableOfContents)", "height-TableOfContents": "var(--xmlui-height-TableOfContents)", "border-TableOfContents": "var(--xmlui-border-TableOfContents)", "borderHorizontal-TableOfContents": "var(--xmlui-borderHorizontal-TableOfContents, var(--xmlui-border-TableOfContents))", "borderVertical-TableOfContents": "var(--xmlui-borderVertical-TableOfContents, var(--xmlui-border-TableOfContents))", "borderLeft-TableOfContents": "var(--xmlui-borderLeft-TableOfContents, var(--xmlui-borderHorizontal-TableOfContents, var(--xmlui-border-TableOfContents)))", "borderRight-TableOfContents": "var(--xmlui-borderRight-TableOfContents, var(--xmlui-borderHorizontal-TableOfContents, var(--xmlui-border-TableOfContents)))", "borderTop-TableOfContents": "var(--xmlui-borderTop-TableOfContents, var(--xmlui-borderVertical-TableOfContents, var(--xmlui-border-TableOfContents)))", "borderBottom-TableOfContents": "var(--xmlui-borderBottom-TableOfContents, var(--xmlui-borderVertical-TableOfContents, var(--xmlui-border-TableOfContents)))", "borderWidth-TableOfContents": "var(--xmlui-borderWidth-TableOfContents)", "borderHorizontalWidth-TableOfContents": "var(--xmlui-borderHorizontalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents))", "borderLeftWidth-TableOfContents": "var(--xmlui-borderLeftWidth-TableOfContents, var(--xmlui-borderHorizontalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents)))", "borderRightWidth-TableOfContents": "var(--xmlui-borderRightWidth-TableOfContents, var(--xmlui-borderHorizontalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents)))", "borderVerticalWidth-TableOfContents": "var(--xmlui-borderVerticalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents))", "borderTopWidth-TableOfContents": "var(--xmlui-borderTopWidth-TableOfContents, var(--xmlui-borderVerticalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents)))", "borderBottomWidth-TableOfContents": "var(--xmlui-borderBottomWidth-TableOfContents, var(--xmlui-borderVerticalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents)))", "borderStyle-TableOfContents": "var(--xmlui-borderStyle-TableOfContents)", "borderHorizontalStyle-TableOfContents": "var(--xmlui-borderHorizontalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents))", "borderLeftStyle-TableOfContents": "var(--xmlui-borderLeftStyle-TableOfContents, var(--xmlui-borderHorizontalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents)))", "borderRightStyle-TableOfContents": "var(--xmlui-borderRightStyle-TableOfContents, var(--xmlui-borderHorizontalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents)))", "borderVerticalStyle-TableOfContents": "var(--xmlui-borderVerticalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents))", "borderTopStyle-TableOfContents": "var(--xmlui-borderTopStyle-TableOfContents, var(--xmlui-borderVerticalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents)))", "borderBottomStyle-TableOfContents": "var(--xmlui-borderBottomStyle-TableOfContents, var(--xmlui-borderVerticalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents)))", "borderColor-TableOfContents": "var(--xmlui-borderColor-TableOfContents)", "borderHorizontalColor-TableOfContents": "var(--xmlui-borderHorizontalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents))", "borderLeftColor-TableOfContents": "var(--xmlui-borderLeftColor-TableOfContents, var(--xmlui-borderHorizontalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents)))", "borderRightColor-TableOfContents": "var(--xmlui-borderRightColor-TableOfContents, var(--xmlui-borderHorizontalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents)))", "borderVerticalColor-TableOfContents": "var(--xmlui-borderVerticalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents))", "borderTopColor-TableOfContents": "var(--xmlui-borderTopColor-TableOfContents, var(--xmlui-borderVerticalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents)))", "borderBottomColor-TableOfContents": "var(--xmlui-borderBottomColor-TableOfContents, var(--xmlui-borderVerticalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents)))", "borderStartStartRadius-TableOfContents": "var(--xmlui-borderStartStartRadius-TableOfContents, var(--xmlui-borderRadius-TableOfContents))", "borderStartEndRadius-TableOfContents": "var(--xmlui-borderStartEndRadius-TableOfContents, var(--xmlui-borderRadius-TableOfContents))", "borderEndStartRadius-TableOfContents": "var(--xmlui-borderEndStartRadius-TableOfContents, var(--xmlui-borderRadius-TableOfContents))", "borderEndEndRadius-TableOfContents": "var(--xmlui-borderEndEndRadius-TableOfContents, var(--xmlui-borderRadius-TableOfContents))", "padding-TableOfContents": "var(--xmlui-padding-TableOfContents)", "paddingHorizontal-TableOfContents": "var(--xmlui-paddingHorizontal-TableOfContents, var(--xmlui-padding-TableOfContents))", "paddingVertical-TableOfContents": "var(--xmlui-paddingVertical-TableOfContents, var(--xmlui-padding-TableOfContents))", "paddingLeft-TableOfContents": "var(--xmlui-paddingLeft-TableOfContents, var(--xmlui-paddingHorizontal-TableOfContents, var(--xmlui-padding-TableOfContents)))", "paddingRight-TableOfContents": "var(--xmlui-paddingRight-TableOfContents, var(--xmlui-paddingHorizontal-TableOfContents, var(--xmlui-padding-TableOfContents)))", "paddingTop-TableOfContents": "var(--xmlui-paddingTop-TableOfContents, var(--xmlui-paddingVertical-TableOfContents, var(--xmlui-padding-TableOfContents)))", "paddingBottom-TableOfContents": "var(--xmlui-paddingBottom-TableOfContents, var(--xmlui-paddingVertical-TableOfContents, var(--xmlui-padding-TableOfContents)))", "textColor-TableOfContentsItem": "var(--xmlui-textColor-TableOfContentsItem)", "fontFamily-TableOfContentsItem": "var(--xmlui-fontFamily-TableOfContentsItem)", "fontSize-TableOfContentsItem": "var(--xmlui-fontSize-TableOfContentsItem)", "fontStyle-TableOfContentsItem": "var(--xmlui-fontStyle-TableOfContentsItem)", "fontVariant-TableOfContentsItem": "var(--xmlui-fontVariant-TableOfContentsItem)", "fontWeight-TableOfContentsItem": "var(--xmlui-fontWeight-TableOfContentsItem)", "fontStretch-TableOfContentsItem": "var(--xmlui-fontStretch-TableOfContentsItem)", "textDecorationLine-TableOfContentsItem": "var(--xmlui-textDecorationLine-TableOfContentsItem)", "textDecorationColor-TableOfContentsItem": "var(--xmlui-textDecorationColor-TableOfContentsItem)", "textDecorationStyle-TableOfContentsItem": "var(--xmlui-textDecorationStyle-TableOfContentsItem)", "textDecorationThickness-TableOfContentsItem": "var(--xmlui-textDecorationThickness-TableOfContentsItem)", "textUnderlineOffset-TableOfContentsItem": "var(--xmlui-textUnderlineOffset-TableOfContentsItem)", "lineHeight-TableOfContentsItem": "var(--xmlui-lineHeight-TableOfContentsItem)", "backgroundColor-TableOfContentsItem": "var(--xmlui-backgroundColor-TableOfContentsItem)", "textTransform-TableOfContentsItem": "var(--xmlui-textTransform-TableOfContentsItem)", "letterSpacing-TableOfContentsItem": "var(--xmlui-letterSpacing-TableOfContentsItem)", "wordSpacing-TableOfContentsItem": "var(--xmlui-wordSpacing-TableOfContentsItem)", "textShadow-TableOfContentsItem": "var(--xmlui-textShadow-TableOfContentsItem)", "textIndent-TableOfContentsItem": "var(--xmlui-textIndent-TableOfContentsItem)", "textAlign-TableOfContentsItem": "var(--xmlui-textAlign-TableOfContentsItem)", "textAlignLast-TableOfContentsItem": "var(--xmlui-textAlignLast-TableOfContentsItem)", "wordBreak-TableOfContentsItem": "var(--xmlui-wordBreak-TableOfContentsItem)", "wordWrap-TableOfContentsItem": "var(--xmlui-wordWrap-TableOfContentsItem)", "direction-TableOfContentsItem": "var(--xmlui-direction-TableOfContentsItem)", "writingMode-TableOfContentsItem": "var(--xmlui-writingMode-TableOfContentsItem)", "lineBreak-TableOfContentsItem": "var(--xmlui-lineBreak-TableOfContentsItem)", "border-TableOfContentsItem": "var(--xmlui-border-TableOfContentsItem)", "borderHorizontal-TableOfContentsItem": "var(--xmlui-borderHorizontal-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem))", "borderVertical-TableOfContentsItem": "var(--xmlui-borderVertical-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem))", "borderLeft-TableOfContentsItem": "var(--xmlui-borderLeft-TableOfContentsItem, var(--xmlui-borderHorizontal-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem)))", "borderRight-TableOfContentsItem": "var(--xmlui-borderRight-TableOfContentsItem, var(--xmlui-borderHorizontal-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem)))", "borderTop-TableOfContentsItem": "var(--xmlui-borderTop-TableOfContentsItem, var(--xmlui-borderVertical-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem)))", "borderBottom-TableOfContentsItem": "var(--xmlui-borderBottom-TableOfContentsItem, var(--xmlui-borderVertical-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem)))", "borderWidth-TableOfContentsItem": "var(--xmlui-borderWidth-TableOfContentsItem)", "borderHorizontalWidth-TableOfContentsItem": "var(--xmlui-borderHorizontalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem))", "borderLeftWidth-TableOfContentsItem": "var(--xmlui-borderLeftWidth-TableOfContentsItem, var(--xmlui-borderHorizontalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem)))", "borderRightWidth-TableOfContentsItem": "var(--xmlui-borderRightWidth-TableOfContentsItem, var(--xmlui-borderHorizontalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem)))", "borderVerticalWidth-TableOfContentsItem": "var(--xmlui-borderVerticalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem))", "borderTopWidth-TableOfContentsItem": "var(--xmlui-borderTopWidth-TableOfContentsItem, var(--xmlui-borderVerticalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem)))", "borderBottomWidth-TableOfContentsItem": "var(--xmlui-borderBottomWidth-TableOfContentsItem, var(--xmlui-borderVerticalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem)))", "borderStyle-TableOfContentsItem": "var(--xmlui-borderStyle-TableOfContentsItem)", "borderHorizontalStyle-TableOfContentsItem": "var(--xmlui-borderHorizontalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem))", "borderLeftStyle-TableOfContentsItem": "var(--xmlui-borderLeftStyle-TableOfContentsItem, var(--xmlui-borderHorizontalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem)))", "borderRightStyle-TableOfContentsItem": "var(--xmlui-borderRightStyle-TableOfContentsItem, var(--xmlui-borderHorizontalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem)))", "borderVerticalStyle-TableOfContentsItem": "var(--xmlui-borderVerticalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem))", "borderTopStyle-TableOfContentsItem": "var(--xmlui-borderTopStyle-TableOfContentsItem, var(--xmlui-borderVerticalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem)))", "borderBottomStyle-TableOfContentsItem": "var(--xmlui-borderBottomStyle-TableOfContentsItem, var(--xmlui-borderVerticalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem)))", "borderColor-TableOfContentsItem": "var(--xmlui-borderColor-TableOfContentsItem)", "borderHorizontalColor-TableOfContentsItem": "var(--xmlui-borderHorizontalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem))", "borderLeftColor-TableOfContentsItem": "var(--xmlui-borderLeftColor-TableOfContentsItem, var(--xmlui-borderHorizontalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem)))", "borderRightColor-TableOfContentsItem": "var(--xmlui-borderRightColor-TableOfContentsItem, var(--xmlui-borderHorizontalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem)))", "borderVerticalColor-TableOfContentsItem": "var(--xmlui-borderVerticalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem))", "borderTopColor-TableOfContentsItem": "var(--xmlui-borderTopColor-TableOfContentsItem, var(--xmlui-borderVerticalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem)))", "borderBottomColor-TableOfContentsItem": "var(--xmlui-borderBottomColor-TableOfContentsItem, var(--xmlui-borderVerticalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem)))", "borderStartStartRadius-TableOfContentsItem": "var(--xmlui-borderStartStartRadius-TableOfContentsItem, var(--xmlui-borderRadius-TableOfContentsItem))", "borderStartEndRadius-TableOfContentsItem": "var(--xmlui-borderStartEndRadius-TableOfContentsItem, var(--xmlui-borderRadius-TableOfContentsItem))", "borderEndStartRadius-TableOfContentsItem": "var(--xmlui-borderEndStartRadius-TableOfContentsItem, var(--xmlui-borderRadius-TableOfContentsItem))", "borderEndEndRadius-TableOfContentsItem": "var(--xmlui-borderEndEndRadius-TableOfContentsItem, var(--xmlui-borderRadius-TableOfContentsItem))", "border-TableOfContentsItem--hover": "var(--xmlui-border-TableOfContentsItem--hover)", "borderHorizontal-TableOfContentsItem--hover": "var(--xmlui-borderHorizontal-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover))", "borderVertical-TableOfContentsItem--hover": "var(--xmlui-borderVertical-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover))", "borderLeft-TableOfContentsItem--hover": "var(--xmlui-borderLeft-TableOfContentsItem--hover, var(--xmlui-borderHorizontal-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover)))", "borderRight-TableOfContentsItem--hover": "var(--xmlui-borderRight-TableOfContentsItem--hover, var(--xmlui-borderHorizontal-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover)))", "borderTop-TableOfContentsItem--hover": "var(--xmlui-borderTop-TableOfContentsItem--hover, var(--xmlui-borderVertical-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover)))", "borderBottom-TableOfContentsItem--hover": "var(--xmlui-borderBottom-TableOfContentsItem--hover, var(--xmlui-borderVertical-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover)))", "borderWidth-TableOfContentsItem--hover": "var(--xmlui-borderWidth-TableOfContentsItem--hover)", "borderHorizontalWidth-TableOfContentsItem--hover": "var(--xmlui-borderHorizontalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover))", "borderLeftWidth-TableOfContentsItem--hover": "var(--xmlui-borderLeftWidth-TableOfContentsItem--hover, var(--xmlui-borderHorizontalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover)))", "borderRightWidth-TableOfContentsItem--hover": "var(--xmlui-borderRightWidth-TableOfContentsItem--hover, var(--xmlui-borderHorizontalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover)))", "borderVerticalWidth-TableOfContentsItem--hover": "var(--xmlui-borderVerticalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover))", "borderTopWidth-TableOfContentsItem--hover": "var(--xmlui-borderTopWidth-TableOfContentsItem--hover, var(--xmlui-borderVerticalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover)))", "borderBottomWidth-TableOfContentsItem--hover": "var(--xmlui-borderBottomWidth-TableOfContentsItem--hover, var(--xmlui-borderVerticalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover)))", "borderStyle-TableOfContentsItem--hover": "var(--xmlui-borderStyle-TableOfContentsItem--hover)", "borderHorizontalStyle-TableOfContentsItem--hover": "var(--xmlui-borderHorizontalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover))", "borderLeftStyle-TableOfContentsItem--hover": "var(--xmlui-borderLeftStyle-TableOfContentsItem--hover, var(--xmlui-borderHorizontalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover)))", "borderRightStyle-TableOfContentsItem--hover": "var(--xmlui-borderRightStyle-TableOfContentsItem--hover, var(--xmlui-borderHorizontalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover)))", "borderVerticalStyle-TableOfContentsItem--hover": "var(--xmlui-borderVerticalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover))", "borderTopStyle-TableOfContentsItem--hover": "var(--xmlui-borderTopStyle-TableOfContentsItem--hover, var(--xmlui-borderVerticalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover)))", "borderBottomStyle-TableOfContentsItem--hover": "var(--xmlui-borderBottomStyle-TableOfContentsItem--hover, var(--xmlui-borderVerticalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover)))", "borderColor-TableOfContentsItem--hover": "var(--xmlui-borderColor-TableOfContentsItem--hover)", "borderHorizontalColor-TableOfContentsItem--hover": "var(--xmlui-borderHorizontalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover))", "borderLeftColor-TableOfContentsItem--hover": "var(--xmlui-borderLeftColor-TableOfContentsItem--hover, var(--xmlui-borderHorizontalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover)))", "borderRightColor-TableOfContentsItem--hover": "var(--xmlui-borderRightColor-TableOfContentsItem--hover, var(--xmlui-borderHorizontalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover)))", "borderVerticalColor-TableOfContentsItem--hover": "var(--xmlui-borderVerticalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover))", "borderTopColor-TableOfContentsItem--hover": "var(--xmlui-borderTopColor-TableOfContentsItem--hover, var(--xmlui-borderVerticalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover)))", "borderBottomColor-TableOfContentsItem--hover": "var(--xmlui-borderBottomColor-TableOfContentsItem--hover, var(--xmlui-borderVerticalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover)))", "borderStartStartRadius-TableOfContentsItem--hover": "var(--xmlui-borderStartStartRadius-TableOfContentsItem--hover, var(--xmlui-borderRadius-TableOfContentsItem--hover))", "borderStartEndRadius-TableOfContentsItem--hover": "var(--xmlui-borderStartEndRadius-TableOfContentsItem--hover, var(--xmlui-borderRadius-TableOfContentsItem--hover))", "borderEndStartRadius-TableOfContentsItem--hover": "var(--xmlui-borderEndStartRadius-TableOfContentsItem--hover, var(--xmlui-borderRadius-TableOfContentsItem--hover))", "borderEndEndRadius-TableOfContentsItem--hover": "var(--xmlui-borderEndEndRadius-TableOfContentsItem--hover, var(--xmlui-borderRadius-TableOfContentsItem--hover))", "border-TableOfContentsItem--active": "var(--xmlui-border-TableOfContentsItem--active)", "borderHorizontal-TableOfContentsItem--active": "var(--xmlui-borderHorizontal-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active))", "borderVertical-TableOfContentsItem--active": "var(--xmlui-borderVertical-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active))", "borderLeft-TableOfContentsItem--active": "var(--xmlui-borderLeft-TableOfContentsItem--active, var(--xmlui-borderHorizontal-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active)))", "borderRight-TableOfContentsItem--active": "var(--xmlui-borderRight-TableOfContentsItem--active, var(--xmlui-borderHorizontal-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active)))", "borderTop-TableOfContentsItem--active": "var(--xmlui-borderTop-TableOfContentsItem--active, var(--xmlui-borderVertical-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active)))", "borderBottom-TableOfContentsItem--active": "var(--xmlui-borderBottom-TableOfContentsItem--active, var(--xmlui-borderVertical-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active)))", "borderWidth-TableOfContentsItem--active": "var(--xmlui-borderWidth-TableOfContentsItem--active)", "borderHorizontalWidth-TableOfContentsItem--active": "var(--xmlui-borderHorizontalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active))", "borderLeftWidth-TableOfContentsItem--active": "var(--xmlui-borderLeftWidth-TableOfContentsItem--active, var(--xmlui-borderHorizontalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active)))", "borderRightWidth-TableOfContentsItem--active": "var(--xmlui-borderRightWidth-TableOfContentsItem--active, var(--xmlui-borderHorizontalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active)))", "borderVerticalWidth-TableOfContentsItem--active": "var(--xmlui-borderVerticalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active))", "borderTopWidth-TableOfContentsItem--active": "var(--xmlui-borderTopWidth-TableOfContentsItem--active, var(--xmlui-borderVerticalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active)))", "borderBottomWidth-TableOfContentsItem--active": "var(--xmlui-borderBottomWidth-TableOfContentsItem--active, var(--xmlui-borderVerticalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active)))", "borderStyle-TableOfContentsItem--active": "var(--xmlui-borderStyle-TableOfContentsItem--active)", "borderHorizontalStyle-TableOfContentsItem--active": "var(--xmlui-borderHorizontalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active))", "borderLeftStyle-TableOfContentsItem--active": "var(--xmlui-borderLeftStyle-TableOfContentsItem--active, var(--xmlui-borderHorizontalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active)))", "borderRightStyle-TableOfContentsItem--active": "var(--xmlui-borderRightStyle-TableOfContentsItem--active, var(--xmlui-borderHorizontalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active)))", "borderVerticalStyle-TableOfContentsItem--active": "var(--xmlui-borderVerticalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active))", "borderTopStyle-TableOfContentsItem--active": "var(--xmlui-borderTopStyle-TableOfContentsItem--active, var(--xmlui-borderVerticalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active)))", "borderBottomStyle-TableOfContentsItem--active": "var(--xmlui-borderBottomStyle-TableOfContentsItem--active, var(--xmlui-borderVerticalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active)))", "borderColor-TableOfContentsItem--active": "var(--xmlui-borderColor-TableOfContentsItem--active)", "borderHorizontalColor-TableOfContentsItem--active": "var(--xmlui-borderHorizontalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active))", "borderLeftColor-TableOfContentsItem--active": "var(--xmlui-borderLeftColor-TableOfContentsItem--active, var(--xmlui-borderHorizontalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active)))", "borderRightColor-TableOfContentsItem--active": "var(--xmlui-borderRightColor-TableOfContentsItem--active, var(--xmlui-borderHorizontalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active)))", "borderVerticalColor-TableOfContentsItem--active": "var(--xmlui-borderVerticalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active))", "borderTopColor-TableOfContentsItem--active": "var(--xmlui-borderTopColor-TableOfContentsItem--active, var(--xmlui-borderVerticalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active)))", "borderBottomColor-TableOfContentsItem--active": "var(--xmlui-borderBottomColor-TableOfContentsItem--active, var(--xmlui-borderVerticalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active)))", "borderStartStartRadius-TableOfContentsItem--active": "var(--xmlui-borderStartStartRadius-TableOfContentsItem--active, var(--xmlui-borderRadius-TableOfContentsItem--active))", "borderStartEndRadius-TableOfContentsItem--active": "var(--xmlui-borderStartEndRadius-TableOfContentsItem--active, var(--xmlui-borderRadius-TableOfContentsItem--active))", "borderEndStartRadius-TableOfContentsItem--active": "var(--xmlui-borderEndStartRadius-TableOfContentsItem--active, var(--xmlui-borderRadius-TableOfContentsItem--active))", "borderEndEndRadius-TableOfContentsItem--active": "var(--xmlui-borderEndEndRadius-TableOfContentsItem--active, var(--xmlui-borderRadius-TableOfContentsItem--active))", "padding-TableOfContentsItem": "var(--xmlui-padding-TableOfContentsItem)", "paddingHorizontal-TableOfContentsItem": "var(--xmlui-paddingHorizontal-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem))", "paddingVertical-TableOfContentsItem": "var(--xmlui-paddingVertical-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem))", "paddingLeft-TableOfContentsItem": "var(--xmlui-paddingLeft-TableOfContentsItem, var(--xmlui-paddingHorizontal-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem)))", "paddingRight-TableOfContentsItem": "var(--xmlui-paddingRight-TableOfContentsItem, var(--xmlui-paddingHorizontal-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem)))", "paddingTop-TableOfContentsItem": "var(--xmlui-paddingTop-TableOfContentsItem, var(--xmlui-paddingVertical-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem)))", "paddingBottom-TableOfContentsItem": "var(--xmlui-paddingBottom-TableOfContentsItem, var(--xmlui-paddingVertical-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem)))", "padding-TableOfContentsItem-level-1": "var(--xmlui-padding-TableOfContentsItem-level-1)", "paddingHorizontal-TableOfContentsItem-level-1": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1))", "paddingVertical-TableOfContentsItem-level-1": "var(--xmlui-paddingVertical-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1))", "paddingLeft-TableOfContentsItem-level-1": "var(--xmlui-paddingLeft-TableOfContentsItem-level-1, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1)))", "paddingRight-TableOfContentsItem-level-1": "var(--xmlui-paddingRight-TableOfContentsItem-level-1, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1)))", "paddingTop-TableOfContentsItem-level-1": "var(--xmlui-paddingTop-TableOfContentsItem-level-1, var(--xmlui-paddingVertical-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1)))", "paddingBottom-TableOfContentsItem-level-1": "var(--xmlui-paddingBottom-TableOfContentsItem-level-1, var(--xmlui-paddingVertical-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1)))", "textColor-TableOfContentsItem-level-1": "var(--xmlui-textColor-TableOfContentsItem-level-1)", "fontFamily-TableOfContentsItem-level-1": "var(--xmlui-fontFamily-TableOfContentsItem-level-1)", "fontSize-TableOfContentsItem-level-1": "var(--xmlui-fontSize-TableOfContentsItem-level-1)", "fontStyle-TableOfContentsItem-level-1": "var(--xmlui-fontStyle-TableOfContentsItem-level-1)", "fontVariant-TableOfContentsItem-level-1": "var(--xmlui-fontVariant-TableOfContentsItem-level-1)", "fontWeight-TableOfContentsItem-level-1": "var(--xmlui-fontWeight-TableOfContentsItem-level-1)", "fontStretch-TableOfContentsItem-level-1": "var(--xmlui-fontStretch-TableOfContentsItem-level-1)", "textDecorationLine-TableOfContentsItem-level-1": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-1)", "textDecorationColor-TableOfContentsItem-level-1": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-1)", "textDecorationStyle-TableOfContentsItem-level-1": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-1)", "textDecorationThickness-TableOfContentsItem-level-1": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-1)", "textUnderlineOffset-TableOfContentsItem-level-1": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-1)", "lineHeight-TableOfContentsItem-level-1": "var(--xmlui-lineHeight-TableOfContentsItem-level-1)", "backgroundColor-TableOfContentsItem-level-1": "var(--xmlui-backgroundColor-TableOfContentsItem-level-1)", "textTransform-TableOfContentsItem-level-1": "var(--xmlui-textTransform-TableOfContentsItem-level-1)", "letterSpacing-TableOfContentsItem-level-1": "var(--xmlui-letterSpacing-TableOfContentsItem-level-1)", "wordSpacing-TableOfContentsItem-level-1": "var(--xmlui-wordSpacing-TableOfContentsItem-level-1)", "textShadow-TableOfContentsItem-level-1": "var(--xmlui-textShadow-TableOfContentsItem-level-1)", "textIndent-TableOfContentsItem-level-1": "var(--xmlui-textIndent-TableOfContentsItem-level-1)", "textAlign-TableOfContentsItem-level-1": "var(--xmlui-textAlign-TableOfContentsItem-level-1)", "textAlignLast-TableOfContentsItem-level-1": "var(--xmlui-textAlignLast-TableOfContentsItem-level-1)", "wordBreak-TableOfContentsItem-level-1": "var(--xmlui-wordBreak-TableOfContentsItem-level-1)", "wordWrap-TableOfContentsItem-level-1": "var(--xmlui-wordWrap-TableOfContentsItem-level-1)", "direction-TableOfContentsItem-level-1": "var(--xmlui-direction-TableOfContentsItem-level-1)", "writingMode-TableOfContentsItem-level-1": "var(--xmlui-writingMode-TableOfContentsItem-level-1)", "lineBreak-TableOfContentsItem-level-1": "var(--xmlui-lineBreak-TableOfContentsItem-level-1)", "padding-TableOfContentsItem-level-2": "var(--xmlui-padding-TableOfContentsItem-level-2)", "paddingHorizontal-TableOfContentsItem-level-2": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2))", "paddingVertical-TableOfContentsItem-level-2": "var(--xmlui-paddingVertical-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2))", "paddingLeft-TableOfContentsItem-level-2": "var(--xmlui-paddingLeft-TableOfContentsItem-level-2, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2)))", "paddingRight-TableOfContentsItem-level-2": "var(--xmlui-paddingRight-TableOfContentsItem-level-2, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2)))", "paddingTop-TableOfContentsItem-level-2": "var(--xmlui-paddingTop-TableOfContentsItem-level-2, var(--xmlui-paddingVertical-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2)))", "paddingBottom-TableOfContentsItem-level-2": "var(--xmlui-paddingBottom-TableOfContentsItem-level-2, var(--xmlui-paddingVertical-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2)))", "textColor-TableOfContentsItem-level-2": "var(--xmlui-textColor-TableOfContentsItem-level-2)", "fontFamily-TableOfContentsItem-level-2": "var(--xmlui-fontFamily-TableOfContentsItem-level-2)", "fontSize-TableOfContentsItem-level-2": "var(--xmlui-fontSize-TableOfContentsItem-level-2)", "fontStyle-TableOfContentsItem-level-2": "var(--xmlui-fontStyle-TableOfContentsItem-level-2)", "fontVariant-TableOfContentsItem-level-2": "var(--xmlui-fontVariant-TableOfContentsItem-level-2)", "fontWeight-TableOfContentsItem-level-2": "var(--xmlui-fontWeight-TableOfContentsItem-level-2)", "fontStretch-TableOfContentsItem-level-2": "var(--xmlui-fontStretch-TableOfContentsItem-level-2)", "textDecorationLine-TableOfContentsItem-level-2": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-2)", "textDecorationColor-TableOfContentsItem-level-2": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-2)", "textDecorationStyle-TableOfContentsItem-level-2": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-2)", "textDecorationThickness-TableOfContentsItem-level-2": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-2)", "textUnderlineOffset-TableOfContentsItem-level-2": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-2)", "lineHeight-TableOfContentsItem-level-2": "var(--xmlui-lineHeight-TableOfContentsItem-level-2)", "backgroundColor-TableOfContentsItem-level-2": "var(--xmlui-backgroundColor-TableOfContentsItem-level-2)", "textTransform-TableOfContentsItem-level-2": "var(--xmlui-textTransform-TableOfContentsItem-level-2)", "letterSpacing-TableOfContentsItem-level-2": "var(--xmlui-letterSpacing-TableOfContentsItem-level-2)", "wordSpacing-TableOfContentsItem-level-2": "var(--xmlui-wordSpacing-TableOfContentsItem-level-2)", "textShadow-TableOfContentsItem-level-2": "var(--xmlui-textShadow-TableOfContentsItem-level-2)", "textIndent-TableOfContentsItem-level-2": "var(--xmlui-textIndent-TableOfContentsItem-level-2)", "textAlign-TableOfContentsItem-level-2": "var(--xmlui-textAlign-TableOfContentsItem-level-2)", "textAlignLast-TableOfContentsItem-level-2": "var(--xmlui-textAlignLast-TableOfContentsItem-level-2)", "wordBreak-TableOfContentsItem-level-2": "var(--xmlui-wordBreak-TableOfContentsItem-level-2)", "wordWrap-TableOfContentsItem-level-2": "var(--xmlui-wordWrap-TableOfContentsItem-level-2)", "direction-TableOfContentsItem-level-2": "var(--xmlui-direction-TableOfContentsItem-level-2)", "writingMode-TableOfContentsItem-level-2": "var(--xmlui-writingMode-TableOfContentsItem-level-2)", "lineBreak-TableOfContentsItem-level-2": "var(--xmlui-lineBreak-TableOfContentsItem-level-2)", "padding-TableOfContentsItem-level-3": "var(--xmlui-padding-TableOfContentsItem-level-3)", "paddingHorizontal-TableOfContentsItem-level-3": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3))", "paddingVertical-TableOfContentsItem-level-3": "var(--xmlui-paddingVertical-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3))", "paddingLeft-TableOfContentsItem-level-3": "var(--xmlui-paddingLeft-TableOfContentsItem-level-3, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3)))", "paddingRight-TableOfContentsItem-level-3": "var(--xmlui-paddingRight-TableOfContentsItem-level-3, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3)))", "paddingTop-TableOfContentsItem-level-3": "var(--xmlui-paddingTop-TableOfContentsItem-level-3, var(--xmlui-paddingVertical-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3)))", "paddingBottom-TableOfContentsItem-level-3": "var(--xmlui-paddingBottom-TableOfContentsItem-level-3, var(--xmlui-paddingVertical-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3)))", "textColor-TableOfContentsItem-level-3": "var(--xmlui-textColor-TableOfContentsItem-level-3)", "fontFamily-TableOfContentsItem-level-3": "var(--xmlui-fontFamily-TableOfContentsItem-level-3)", "fontSize-TableOfContentsItem-level-3": "var(--xmlui-fontSize-TableOfContentsItem-level-3)", "fontStyle-TableOfContentsItem-level-3": "var(--xmlui-fontStyle-TableOfContentsItem-level-3)", "fontVariant-TableOfContentsItem-level-3": "var(--xmlui-fontVariant-TableOfContentsItem-level-3)", "fontWeight-TableOfContentsItem-level-3": "var(--xmlui-fontWeight-TableOfContentsItem-level-3)", "fontStretch-TableOfContentsItem-level-3": "var(--xmlui-fontStretch-TableOfContentsItem-level-3)", "textDecorationLine-TableOfContentsItem-level-3": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-3)", "textDecorationColor-TableOfContentsItem-level-3": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-3)", "textDecorationStyle-TableOfContentsItem-level-3": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-3)", "textDecorationThickness-TableOfContentsItem-level-3": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-3)", "textUnderlineOffset-TableOfContentsItem-level-3": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-3)", "lineHeight-TableOfContentsItem-level-3": "var(--xmlui-lineHeight-TableOfContentsItem-level-3)", "backgroundColor-TableOfContentsItem-level-3": "var(--xmlui-backgroundColor-TableOfContentsItem-level-3)", "textTransform-TableOfContentsItem-level-3": "var(--xmlui-textTransform-TableOfContentsItem-level-3)", "letterSpacing-TableOfContentsItem-level-3": "var(--xmlui-letterSpacing-TableOfContentsItem-level-3)", "wordSpacing-TableOfContentsItem-level-3": "var(--xmlui-wordSpacing-TableOfContentsItem-level-3)", "textShadow-TableOfContentsItem-level-3": "var(--xmlui-textShadow-TableOfContentsItem-level-3)", "textIndent-TableOfContentsItem-level-3": "var(--xmlui-textIndent-TableOfContentsItem-level-3)", "textAlign-TableOfContentsItem-level-3": "var(--xmlui-textAlign-TableOfContentsItem-level-3)", "textAlignLast-TableOfContentsItem-level-3": "var(--xmlui-textAlignLast-TableOfContentsItem-level-3)", "wordBreak-TableOfContentsItem-level-3": "var(--xmlui-wordBreak-TableOfContentsItem-level-3)", "wordWrap-TableOfContentsItem-level-3": "var(--xmlui-wordWrap-TableOfContentsItem-level-3)", "direction-TableOfContentsItem-level-3": "var(--xmlui-direction-TableOfContentsItem-level-3)", "writingMode-TableOfContentsItem-level-3": "var(--xmlui-writingMode-TableOfContentsItem-level-3)", "lineBreak-TableOfContentsItem-level-3": "var(--xmlui-lineBreak-TableOfContentsItem-level-3)", "padding-TableOfContentsItem-level-4": "var(--xmlui-padding-TableOfContentsItem-level-4)", "paddingHorizontal-TableOfContentsItem-level-4": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4))", "paddingVertical-TableOfContentsItem-level-4": "var(--xmlui-paddingVertical-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4))", "paddingLeft-TableOfContentsItem-level-4": "var(--xmlui-paddingLeft-TableOfContentsItem-level-4, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4)))", "paddingRight-TableOfContentsItem-level-4": "var(--xmlui-paddingRight-TableOfContentsItem-level-4, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4)))", "paddingTop-TableOfContentsItem-level-4": "var(--xmlui-paddingTop-TableOfContentsItem-level-4, var(--xmlui-paddingVertical-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4)))", "paddingBottom-TableOfContentsItem-level-4": "var(--xmlui-paddingBottom-TableOfContentsItem-level-4, var(--xmlui-paddingVertical-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4)))", "textColor-TableOfContentsItem-level-4": "var(--xmlui-textColor-TableOfContentsItem-level-4)", "fontFamily-TableOfContentsItem-level-4": "var(--xmlui-fontFamily-TableOfContentsItem-level-4)", "fontSize-TableOfContentsItem-level-4": "var(--xmlui-fontSize-TableOfContentsItem-level-4)", "fontStyle-TableOfContentsItem-level-4": "var(--xmlui-fontStyle-TableOfContentsItem-level-4)", "fontVariant-TableOfContentsItem-level-4": "var(--xmlui-fontVariant-TableOfContentsItem-level-4)", "fontWeight-TableOfContentsItem-level-4": "var(--xmlui-fontWeight-TableOfContentsItem-level-4)", "fontStretch-TableOfContentsItem-level-4": "var(--xmlui-fontStretch-TableOfContentsItem-level-4)", "textDecorationLine-TableOfContentsItem-level-4": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-4)", "textDecorationColor-TableOfContentsItem-level-4": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-4)", "textDecorationStyle-TableOfContentsItem-level-4": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-4)", "textDecorationThickness-TableOfContentsItem-level-4": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-4)", "textUnderlineOffset-TableOfContentsItem-level-4": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-4)", "lineHeight-TableOfContentsItem-level-4": "var(--xmlui-lineHeight-TableOfContentsItem-level-4)", "backgroundColor-TableOfContentsItem-level-4": "var(--xmlui-backgroundColor-TableOfContentsItem-level-4)", "textTransform-TableOfContentsItem-level-4": "var(--xmlui-textTransform-TableOfContentsItem-level-4)", "letterSpacing-TableOfContentsItem-level-4": "var(--xmlui-letterSpacing-TableOfContentsItem-level-4)", "wordSpacing-TableOfContentsItem-level-4": "var(--xmlui-wordSpacing-TableOfContentsItem-level-4)", "textShadow-TableOfContentsItem-level-4": "var(--xmlui-textShadow-TableOfContentsItem-level-4)", "textIndent-TableOfContentsItem-level-4": "var(--xmlui-textIndent-TableOfContentsItem-level-4)", "textAlign-TableOfContentsItem-level-4": "var(--xmlui-textAlign-TableOfContentsItem-level-4)", "textAlignLast-TableOfContentsItem-level-4": "var(--xmlui-textAlignLast-TableOfContentsItem-level-4)", "wordBreak-TableOfContentsItem-level-4": "var(--xmlui-wordBreak-TableOfContentsItem-level-4)", "wordWrap-TableOfContentsItem-level-4": "var(--xmlui-wordWrap-TableOfContentsItem-level-4)", "direction-TableOfContentsItem-level-4": "var(--xmlui-direction-TableOfContentsItem-level-4)", "writingMode-TableOfContentsItem-level-4": "var(--xmlui-writingMode-TableOfContentsItem-level-4)", "lineBreak-TableOfContentsItem-level-4": "var(--xmlui-lineBreak-TableOfContentsItem-level-4)", "padding-TableOfContentsItem-level-5": "var(--xmlui-padding-TableOfContentsItem-level-5)", "paddingHorizontal-TableOfContentsItem-level-5": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5))", "paddingVertical-TableOfContentsItem-level-5": "var(--xmlui-paddingVertical-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5))", "paddingLeft-TableOfContentsItem-level-5": "var(--xmlui-paddingLeft-TableOfContentsItem-level-5, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5)))", "paddingRight-TableOfContentsItem-level-5": "var(--xmlui-paddingRight-TableOfContentsItem-level-5, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5)))", "paddingTop-TableOfContentsItem-level-5": "var(--xmlui-paddingTop-TableOfContentsItem-level-5, var(--xmlui-paddingVertical-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5)))", "paddingBottom-TableOfContentsItem-level-5": "var(--xmlui-paddingBottom-TableOfContentsItem-level-5, var(--xmlui-paddingVertical-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5)))", "textColor-TableOfContentsItem-level-5": "var(--xmlui-textColor-TableOfContentsItem-level-5)", "fontFamily-TableOfContentsItem-level-5": "var(--xmlui-fontFamily-TableOfContentsItem-level-5)", "fontSize-TableOfContentsItem-level-5": "var(--xmlui-fontSize-TableOfContentsItem-level-5)", "fontStyle-TableOfContentsItem-level-5": "var(--xmlui-fontStyle-TableOfContentsItem-level-5)", "fontVariant-TableOfContentsItem-level-5": "var(--xmlui-fontVariant-TableOfContentsItem-level-5)", "fontWeight-TableOfContentsItem-level-5": "var(--xmlui-fontWeight-TableOfContentsItem-level-5)", "fontStretch-TableOfContentsItem-level-5": "var(--xmlui-fontStretch-TableOfContentsItem-level-5)", "textDecorationLine-TableOfContentsItem-level-5": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-5)", "textDecorationColor-TableOfContentsItem-level-5": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-5)", "textDecorationStyle-TableOfContentsItem-level-5": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-5)", "textDecorationThickness-TableOfContentsItem-level-5": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-5)", "textUnderlineOffset-TableOfContentsItem-level-5": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-5)", "lineHeight-TableOfContentsItem-level-5": "var(--xmlui-lineHeight-TableOfContentsItem-level-5)", "backgroundColor-TableOfContentsItem-level-5": "var(--xmlui-backgroundColor-TableOfContentsItem-level-5)", "textTransform-TableOfContentsItem-level-5": "var(--xmlui-textTransform-TableOfContentsItem-level-5)", "letterSpacing-TableOfContentsItem-level-5": "var(--xmlui-letterSpacing-TableOfContentsItem-level-5)", "wordSpacing-TableOfContentsItem-level-5": "var(--xmlui-wordSpacing-TableOfContentsItem-level-5)", "textShadow-TableOfContentsItem-level-5": "var(--xmlui-textShadow-TableOfContentsItem-level-5)", "textIndent-TableOfContentsItem-level-5": "var(--xmlui-textIndent-TableOfContentsItem-level-5)", "textAlign-TableOfContentsItem-level-5": "var(--xmlui-textAlign-TableOfContentsItem-level-5)", "textAlignLast-TableOfContentsItem-level-5": "var(--xmlui-textAlignLast-TableOfContentsItem-level-5)", "wordBreak-TableOfContentsItem-level-5": "var(--xmlui-wordBreak-TableOfContentsItem-level-5)", "wordWrap-TableOfContentsItem-level-5": "var(--xmlui-wordWrap-TableOfContentsItem-level-5)", "direction-TableOfContentsItem-level-5": "var(--xmlui-direction-TableOfContentsItem-level-5)", "writingMode-TableOfContentsItem-level-5": "var(--xmlui-writingMode-TableOfContentsItem-level-5)", "lineBreak-TableOfContentsItem-level-5": "var(--xmlui-lineBreak-TableOfContentsItem-level-5)", "padding-TableOfContentsItem-level-6": "var(--xmlui-padding-TableOfContentsItem-level-6)", "paddingHorizontal-TableOfContentsItem-level-6": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6))", "paddingVertical-TableOfContentsItem-level-6": "var(--xmlui-paddingVertical-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6))", "paddingLeft-TableOfContentsItem-level-6": "var(--xmlui-paddingLeft-TableOfContentsItem-level-6, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6)))", "paddingRight-TableOfContentsItem-level-6": "var(--xmlui-paddingRight-TableOfContentsItem-level-6, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6)))", "paddingTop-TableOfContentsItem-level-6": "var(--xmlui-paddingTop-TableOfContentsItem-level-6, var(--xmlui-paddingVertical-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6)))", "paddingBottom-TableOfContentsItem-level-6": "var(--xmlui-paddingBottom-TableOfContentsItem-level-6, var(--xmlui-paddingVertical-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6)))", "textColor-TableOfContentsItem-level-6": "var(--xmlui-textColor-TableOfContentsItem-level-6)", "fontFamily-TableOfContentsItem-level-6": "var(--xmlui-fontFamily-TableOfContentsItem-level-6)", "fontSize-TableOfContentsItem-level-6": "var(--xmlui-fontSize-TableOfContentsItem-level-6)", "fontStyle-TableOfContentsItem-level-6": "var(--xmlui-fontStyle-TableOfContentsItem-level-6)", "fontVariant-TableOfContentsItem-level-6": "var(--xmlui-fontVariant-TableOfContentsItem-level-6)", "fontWeight-TableOfContentsItem-level-6": "var(--xmlui-fontWeight-TableOfContentsItem-level-6)", "fontStretch-TableOfContentsItem-level-6": "var(--xmlui-fontStretch-TableOfContentsItem-level-6)", "textDecorationLine-TableOfContentsItem-level-6": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-6)", "textDecorationColor-TableOfContentsItem-level-6": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-6)", "textDecorationStyle-TableOfContentsItem-level-6": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-6)", "textDecorationThickness-TableOfContentsItem-level-6": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-6)", "textUnderlineOffset-TableOfContentsItem-level-6": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-6)", "lineHeight-TableOfContentsItem-level-6": "var(--xmlui-lineHeight-TableOfContentsItem-level-6)", "backgroundColor-TableOfContentsItem-level-6": "var(--xmlui-backgroundColor-TableOfContentsItem-level-6)", "textTransform-TableOfContentsItem-level-6": "var(--xmlui-textTransform-TableOfContentsItem-level-6)", "letterSpacing-TableOfContentsItem-level-6": "var(--xmlui-letterSpacing-TableOfContentsItem-level-6)", "wordSpacing-TableOfContentsItem-level-6": "var(--xmlui-wordSpacing-TableOfContentsItem-level-6)", "textShadow-TableOfContentsItem-level-6": "var(--xmlui-textShadow-TableOfContentsItem-level-6)", "textIndent-TableOfContentsItem-level-6": "var(--xmlui-textIndent-TableOfContentsItem-level-6)", "textAlign-TableOfContentsItem-level-6": "var(--xmlui-textAlign-TableOfContentsItem-level-6)", "textAlignLast-TableOfContentsItem-level-6": "var(--xmlui-textAlignLast-TableOfContentsItem-level-6)", "wordBreak-TableOfContentsItem-level-6": "var(--xmlui-wordBreak-TableOfContentsItem-level-6)", "wordWrap-TableOfContentsItem-level-6": "var(--xmlui-wordWrap-TableOfContentsItem-level-6)", "direction-TableOfContentsItem-level-6": "var(--xmlui-direction-TableOfContentsItem-level-6)", "writingMode-TableOfContentsItem-level-6": "var(--xmlui-writingMode-TableOfContentsItem-level-6)", "lineBreak-TableOfContentsItem-level-6": "var(--xmlui-lineBreak-TableOfContentsItem-level-6)", "marginTop-TableOfContents": "var(--xmlui-marginTop-TableOfContents)", "marginBottom-TableOfContents": "var(--xmlui-marginBottom-TableOfContents)", "backgroundColor-TableOfContentsItem--hover": "var(--xmlui-backgroundColor-TableOfContentsItem--hover)", "fontWeight-TableOfContentsItem--hover": "var(--xmlui-fontWeight-TableOfContentsItem--hover)", "textColor-TableOfContentsItem--hover": "var(--xmlui-textColor-TableOfContentsItem--hover)", "fontWeight-TableOfContentsItem-level-1--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-1--hover)", "fontWeight-TableOfContentsItem-level-2--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-2--hover)", "fontWeight-TableOfContentsItem-level-3--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-3--hover)", "fontWeight-TableOfContentsItem-level-4--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-4--hover)", "fontWeight-TableOfContentsItem-level-5--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-5--hover)", "fontWeight-TableOfContentsItem-level-6--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-6--hover)", "backgroundColor-TableOfContentsItem--active": "var(--xmlui-backgroundColor-TableOfContentsItem--active)", "color-TableOfContentsItem--active": "var(--xmlui-color-TableOfContentsItem--active)", "fontWeight-TableOfContentsItem--active": "var(--xmlui-fontWeight-TableOfContentsItem--active)", "fontWeight-TableOfContentsItem-level-1--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-1--active)", "fontWeight-TableOfContentsItem-level-2--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-2--active)", "fontWeight-TableOfContentsItem-level-3--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-3--active)", "fontWeight-TableOfContentsItem-level-4--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-4--active)", "fontWeight-TableOfContentsItem-level-5--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-5--active)", "fontWeight-TableOfContentsItem-level-6--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-6--active)"}'`},ts="TableOfContents",br="TableOfContentsItem",eb={status:"experimental",description:`The \`${ts}\` component collects headings and bookmarks within the current page and displays them in a tree representing their hierarchy. When you select an item in this tree, the component navigates the page to the selected position.`,props:{smoothScrolling:{description:"This property indicates that smooth scrolling is used while scrolling the selected table of contents items into view.",valueType:"boolean",defaultValue:"false"},maxHeadingLevel:{description:"Defines the maximum heading level (1 to 6) to include in the table of contents. For example, if it is 2, then `H1` and `H2` are displayed, but lower levels (`H3` to `H6`) are not.",valueType:"number",defaultValue:"6"}},themeVars:Y(Kh.themeVars),defaultThemeVars:{[`padding-${ts}`]:"$space-2",[`textColor-${br}`]:"$color-secondary-500",[`textColor-${br}--hover`]:"$textColor-primary",[`fontSize-${br}`]:"$fontSize-small",[`wordWrap-${br}`]:"break-word",[`paddingVertical-${br}`]:"$space-1",[`paddingHorizontal-${br}`]:"$space-1",[`fontWeight-${br}`]:"$fontWeight-bold",[`fontStyle-${br}-level-6`]:"italic",[`color-${br}--active`]:"$color-primary-500"}},rs={themeVars:`'{"border-Accordion": "var(--xmlui-border-Accordion)", "borderHorizontal-Accordion": "var(--xmlui-borderHorizontal-Accordion, var(--xmlui-border-Accordion))", "borderVertical-Accordion": "var(--xmlui-borderVertical-Accordion, var(--xmlui-border-Accordion))", "borderLeft-Accordion": "var(--xmlui-borderLeft-Accordion, var(--xmlui-borderHorizontal-Accordion, var(--xmlui-border-Accordion)))", "borderRight-Accordion": "var(--xmlui-borderRight-Accordion, var(--xmlui-borderHorizontal-Accordion, var(--xmlui-border-Accordion)))", "borderTop-Accordion": "var(--xmlui-borderTop-Accordion, var(--xmlui-borderVertical-Accordion, var(--xmlui-border-Accordion)))", "borderBottom-Accordion": "var(--xmlui-borderBottom-Accordion, var(--xmlui-borderVertical-Accordion, var(--xmlui-border-Accordion)))", "borderWidth-Accordion": "var(--xmlui-borderWidth-Accordion)", "borderHorizontalWidth-Accordion": "var(--xmlui-borderHorizontalWidth-Accordion, var(--xmlui-borderWidth-Accordion))", "borderLeftWidth-Accordion": "var(--xmlui-borderLeftWidth-Accordion, var(--xmlui-borderHorizontalWidth-Accordion, var(--xmlui-borderWidth-Accordion)))", "borderRightWidth-Accordion": "var(--xmlui-borderRightWidth-Accordion, var(--xmlui-borderHorizontalWidth-Accordion, var(--xmlui-borderWidth-Accordion)))", "borderVerticalWidth-Accordion": "var(--xmlui-borderVerticalWidth-Accordion, var(--xmlui-borderWidth-Accordion))", "borderTopWidth-Accordion": "var(--xmlui-borderTopWidth-Accordion, var(--xmlui-borderVerticalWidth-Accordion, var(--xmlui-borderWidth-Accordion)))", "borderBottomWidth-Accordion": "var(--xmlui-borderBottomWidth-Accordion, var(--xmlui-borderVerticalWidth-Accordion, var(--xmlui-borderWidth-Accordion)))", "borderStyle-Accordion": "var(--xmlui-borderStyle-Accordion)", "borderHorizontalStyle-Accordion": "var(--xmlui-borderHorizontalStyle-Accordion, var(--xmlui-borderStyle-Accordion))", "borderLeftStyle-Accordion": "var(--xmlui-borderLeftStyle-Accordion, var(--xmlui-borderHorizontalStyle-Accordion, var(--xmlui-borderStyle-Accordion)))", "borderRightStyle-Accordion": "var(--xmlui-borderRightStyle-Accordion, var(--xmlui-borderHorizontalStyle-Accordion, var(--xmlui-borderStyle-Accordion)))", "borderVerticalStyle-Accordion": "var(--xmlui-borderVerticalStyle-Accordion, var(--xmlui-borderStyle-Accordion))", "borderTopStyle-Accordion": "var(--xmlui-borderTopStyle-Accordion, var(--xmlui-borderVerticalStyle-Accordion, var(--xmlui-borderStyle-Accordion)))", "borderBottomStyle-Accordion": "var(--xmlui-borderBottomStyle-Accordion, var(--xmlui-borderVerticalStyle-Accordion, var(--xmlui-borderStyle-Accordion)))", "borderColor-Accordion": "var(--xmlui-borderColor-Accordion)", "borderHorizontalColor-Accordion": "var(--xmlui-borderHorizontalColor-Accordion, var(--xmlui-borderColor-Accordion))", "borderLeftColor-Accordion": "var(--xmlui-borderLeftColor-Accordion, var(--xmlui-borderHorizontalColor-Accordion, var(--xmlui-borderColor-Accordion)))", "borderRightColor-Accordion": "var(--xmlui-borderRightColor-Accordion, var(--xmlui-borderHorizontalColor-Accordion, var(--xmlui-borderColor-Accordion)))", "borderVerticalColor-Accordion": "var(--xmlui-borderVerticalColor-Accordion, var(--xmlui-borderColor-Accordion))", "borderTopColor-Accordion": "var(--xmlui-borderTopColor-Accordion, var(--xmlui-borderVerticalColor-Accordion, var(--xmlui-borderColor-Accordion)))", "borderBottomColor-Accordion": "var(--xmlui-borderBottomColor-Accordion, var(--xmlui-borderVerticalColor-Accordion, var(--xmlui-borderColor-Accordion)))", "borderStartStartRadius-Accordion": "var(--xmlui-borderStartStartRadius-Accordion, var(--xmlui-borderRadius-Accordion))", "borderStartEndRadius-Accordion": "var(--xmlui-borderStartEndRadius-Accordion, var(--xmlui-borderRadius-Accordion))", "borderEndStartRadius-Accordion": "var(--xmlui-borderEndStartRadius-Accordion, var(--xmlui-borderRadius-Accordion))", "borderEndEndRadius-Accordion": "var(--xmlui-borderEndEndRadius-Accordion, var(--xmlui-borderRadius-Accordion))", "padding-Accordion": "var(--xmlui-padding-Accordion)", "paddingHorizontal-Accordion": "var(--xmlui-paddingHorizontal-Accordion, var(--xmlui-padding-Accordion))", "paddingVertical-Accordion": "var(--xmlui-paddingVertical-Accordion, var(--xmlui-padding-Accordion))", "paddingLeft-Accordion": "var(--xmlui-paddingLeft-Accordion, var(--xmlui-paddingHorizontal-Accordion, var(--xmlui-padding-Accordion)))", "paddingRight-Accordion": "var(--xmlui-paddingRight-Accordion, var(--xmlui-paddingHorizontal-Accordion, var(--xmlui-padding-Accordion)))", "paddingTop-Accordion": "var(--xmlui-paddingTop-Accordion, var(--xmlui-paddingVertical-Accordion, var(--xmlui-padding-Accordion)))", "paddingBottom-Accordion": "var(--xmlui-paddingBottom-Accordion, var(--xmlui-paddingVertical-Accordion, var(--xmlui-padding-Accordion)))", "borderRadius-Accordion": "var(--xmlui-borderRadius-Accordion)", "verticalAlign-header-Accordion": "var(--xmlui-verticalAlign-header-Accordion)", "fontSize-header-Accordion": "var(--xmlui-fontSize-header-Accordion)", "fontWeight-header-Accordion": "var(--xmlui-fontWeight-header-Accordion)", "fontStyle-header-Accordion": "var(--xmlui-fontStyle-header-Accordion)", "paddingVertical-header-Accordion": "var(--xmlui-paddingVertical-header-Accordion)", "paddingHorizontal-header-Accordion": "var(--xmlui-paddingHorizontal-header-Accordion)", "backgroundColor-header-Accordion": "var(--xmlui-backgroundColor-header-Accordion)", "color-header-Accordion": "var(--xmlui-color-header-Accordion)", "backgroundColor-header-Accordion-hover": "var(--xmlui-backgroundColor-header-Accordion-hover)", "color-content-Accordion": "var(--xmlui-color-content-Accordion)", "backgroundColor-content-Accordion": "var(--xmlui-backgroundColor-content-Accordion)", "width-icon-Accordion": "var(--xmlui-width-icon-Accordion)", "height-icon-Accordion": "var(--xmlui-height-icon-Accordion)", "color-icon-Accordion": "var(--xmlui-color-icon-Accordion)"}'`,root:"_root_1usiy_13"},tb=s.createContext({expandedItems:null,rotateExpanded:null,expandItem:ae,register:ae,unRegister:ae,hideIcon:null,expandedIcon:null,collapsedIcon:null,triggerPosition:null}),Ar={hideIcon:!1,collapsedIcon:"chevrondown",triggerPosition:"end",rotateExpanded:"180deg"};s.forwardRef(function({style:r,children:t,hideIcon:o=Ar.hideIcon,expandedIcon:a,collapsedIcon:l=Ar.collapsedIcon,triggerPosition:i=Ar.triggerPosition,onDisplayDidChange:n=ae,registerComponentApi:c,rotateExpanded:b=Ar.rotateExpanded},h){const[p,C]=s.useState([]),[x,g]=s.useState(new Set),T=s.useCallback(E=>{C(j=>j.filter(U=>U!==`${E}`))},[C]),y=s.useCallback(E=>{p.includes(`${E}`)||C(j=>[...j,`${E}`])},[C,p]),$=s.useCallback(E=>{p.includes(`${E}`)?T(E):y(E)},[T,y,p]),w=s.useCallback(E=>{g(j=>(j.add(E),j))},[g]),O=s.useCallback(E=>{g(j=>(j.delete(E),j))},[g]),V=s.useCallback(E=>{if(x.has(`trigger_${E}`)){const j=document.getElementById(`trigger_${E}`);j&&j.focus()}},[x]),P=s.useCallback(E=>p.includes(`${E}`),[p]);s.useEffect(()=>{c==null||c({expanded:P,expand:y,collapse:T,toggle:$,focus:V})},[c,y,T,$,V,P]);const Z=s.useMemo(()=>({register:w,unRegister:O,expandItem:y,expandedItems:p,hideIcon:o,expandedIcon:a,collapsedIcon:l,triggerPosition:i,rotateExpanded:b}),[w,O,p,o,a,l,i,y,b]);return s.useEffect(()=>{n==null||n(p)},[p,n]),d.jsx(tb.Provider,{value:Z,children:d.jsx(ws.Root,{style:r,ref:h,value:p,type:"multiple",className:rs.root,onValueChange:E=>C(E),children:t})})});const Re="Accordion",rb={status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${Re}\` component is a collapsible container that toggles the display of content sections. It helps organize information by expanding or collapsing it based on user interaction.`,props:{triggerPosition:{description:"This property indicates the position where the trigger icon should be displayed. The `start` value signs the trigger is before the header text (template), and `end` indicates that it follows the header.",defaultValue:Ar.triggerPosition,valueType:"string",availableValues:Ls},collapsedIcon:{description:"This property is the name of the icon that is displayed when the accordion is collapsed.",valueType:"string",defaultValue:Ar.collapsedIcon},expandedIcon:{description:"This property is the name of the icon that is displayed when the accordion is expanded.",valueType:"string"},hideIcon:{description:"This property indicates that the trigger icon is not displayed (`true`).",defaultValue:Ar.hideIcon,valueType:"boolean"},rotateExpanded:{description:"This optional property defines the rotation angle of the expanded icon (relative to the collapsed icon).",valueType:"string",defaultValue:Ar.rotateExpanded}},events:{displayDidChange:at(Re)},apis:{expanded:Ws(Re),expand:Ns(Re),collapse:zs(Re),toggle:m(`This method toggles the state of the ${Re} between expanded and collapsed.`),focus:Jt(Re)},themeVars:Y(rs.themeVars),defaultThemeVars:{[`paddingHorizontal-header-${Re}`]:"$space-3",[`paddingVertical-header-${Re}`]:"$space-3",[`verticalAlign-header-${Re}`]:"center",[`fontSize-header-${Re}`]:"$fontSize-normal",[`fontWeight-header-${Re}`]:"$fontWeight-normal",[`fontFamily-header-${Re}`]:"$fontFamily",[`border-${Re}`]:"0px solid $borderColor",[`width-icon-${Re}`]:"",[`height-icon-${Re}`]:"",[`backgroundColor-header-${Re}`]:"$color-primary-500",[`backgroundColor-header-${Re}-hover`]:"$color-primary-400",[`color-header-${Re}`]:"$color-surface-50",[`color-content-${Re}`]:"$textColor-primary",[`backgroundColor-content-${Re}`]:"transparent",[`color-icon-${Re}`]:"$color-surface-50"}},os="TabItem",ob={description:`\`${os}\` is a non-visual component describing a tab. Tabs component may use nested ${os} instances from which the user can select.`,props:{label:qe()}},we="Slider",ab={status:"experimental",description:`The \`${we}\` component allows you to select a numeric value between a range specified by minimum and maximum values.`,props:{initialValue:Tt(),label:qe(),labelPosition:gt("top"),labelWidth:Lt(we),labelBreak:_t(we),minValue:m("This property specifies the minimum value of the allowed input range.",null,"number",0),maxValue:m("This property specifies the maximum value of the allowed input range.",null,"number",10),step:m("This property defines the increment value for the slider, determining the allowed intervals between selectable values."),minStepsBetweenThumbs:m("This property sets the minimum number of steps required between multiple thumbs on the slider, ensuring they maintain a specified distance."),enabled:Ze(),autoFocus:it(),required:Wt(),readOnly:Vt(),validationStatus:At(),rangeStyle:m("This property allows you to apply custom styles to the range element of the slider."),thumbStyle:m("This property allows you to apply custom styles to the thumb elements of the slider."),showValues:m("This property controls whether the slider shows the current values of the thumbs.",null,"boolean",!0),valueFormat:m("This property allows you to customize how the values are displayed.",null,"any")},events:{didChange:at(we),gotFocus:xt(we),lostFocus:ft(we)},apis:{focus:Jt(we),value:ra(),setValue:Qt()},themeVars:Y(dt.themeVars),defaultThemeVars:{[`backgroundColor-track-${we}`]:"$color-surface-200",[`backgroundColor-range-${we}`]:"$color-primary",[`borderWidth-thumb-${we}`]:"2px",[`borderStyle-thumb-${we}`]:"solid",[`borderColor-thumb-${we}`]:"$color-surface-50",[`backgroundColor-thumb-${we}`]:"$color-primary",[`boxShadow-thumb-${we}`]:"$boxShadow-md",[`boxShadow-thumb-${we}--hover`]:"$boxShadow-lg",[`boxShadow-thumb-${we}--focus`]:"$boxShadow-xl",[`borderRadius-${we}-default`]:"$borderRadius",[`borderColor-${we}-default`]:"transparent",[`borderWidth-${we}-default`]:"0",[`borderStyle-${we}-default`]:"solid",[`boxShadow-${we}-default`]:"none",light:{[`backgroundColor-track-${we}--disabled`]:"$color-surface-300",[`backgroundColor-range-${we}--disabled`]:"$color-surface-400",[`backgroundColor-thumb-${we}`]:"$color-primary-500",[`borderColor-thumb-${we}`]:"$color-surface-50"},dark:{[`backgroundColor-track-${we}--disabled`]:"$color-surface-600",[`backgroundColor-range-${we}--disabled`]:"$color-surface-800",[`backgroundColor-thumb-${we}`]:"$color-primary-400",[`borderColor-thumb-${we}`]:"$color-surface-950"}}},It={themeVars:`'{"width-Carousel": "var(--xmlui-width-Carousel)", "height-Carousel": "var(--xmlui-height-Carousel)", "height-control-Carousel": "var(--xmlui-height-control-Carousel)", "width-control-Carousel": "var(--xmlui-width-control-Carousel)", "textColor-control-Carousel": "var(--xmlui-textColor-control-Carousel)", "backgroundColor-control-Carousel": "var(--xmlui-backgroundColor-control-Carousel)", "borderRadius-control-Carousel": "var(--xmlui-borderRadius-control-Carousel)", "backgroundColor-control-hover-Carousel": "var(--xmlui-backgroundColor-control-hover-Carousel)", "textColor-control-hover-Carousel": "var(--xmlui-textColor-control-hover-Carousel)", "backgroundColor-control-active-Carousel": "var(--xmlui-backgroundColor-control-active-Carousel)", "textColor-control-active-Carousel": "var(--xmlui-textColor-control-active-Carousel)", "textColor-control-disabled-Carousel": "var(--xmlui-textColor-control-disabled-Carousel)", "backgroundColor-control-disabled-Carousel": "var(--xmlui-backgroundColor-control-disabled-Carousel)", "width-indicator-Carousel": "var(--xmlui-width-indicator-Carousel)", "height-indicator-Carousel": "var(--xmlui-height-indicator-Carousel)", "textColor-indicator-Carousel": "var(--xmlui-textColor-indicator-Carousel)", "backgroundColor-indicator-Carousel": "var(--xmlui-backgroundColor-indicator-Carousel)", "backgroundColor-indicator-hover-Carousel": "var(--xmlui-backgroundColor-indicator-hover-Carousel)", "textColor-indicator-hover-Carousel": "var(--xmlui-textColor-indicator-hover-Carousel)", "backgroundColor-indicator-active-Carousel": "var(--xmlui-backgroundColor-indicator-active-Carousel)", "textColor-indicator-active-Carousel": "var(--xmlui-textColor-indicator-active-Carousel)"}'`,carousel:"_carousel_1jsvj_13",carouselContentWrapper:"_carouselContentWrapper_1jsvj_30",carouselContent:"_carouselContent_1jsvj_30",vertical:"_vertical_1jsvj_40",controls:"_controls_1jsvj_51",controlButton:"_controlButton_1jsvj_60",indicators:"_indicators_1jsvj_87",indicator:"_indicator_1jsvj_87",active:"_active_1jsvj_107"},ib=s.createContext({register:e=>{},unRegister:e=>{}});function lb(){const[e,r]=s.useState([]),t=s.useMemo(()=>({register:o=>{r(Nr(a=>{const l=a.findIndex(i=>i.id===o.id);l<0?a.push(o):a[l]=o}))},unRegister:o=>{r(Nr(a=>a.filter(l=>l.id!==o)))}}),[r]);return{carouselItems:e,carouselContextValue:t}}const Ke={orientation:"horizontal",indicators:!0,autoplay:!1,controls:!0,loop:!1,startIndex:0,transitionDuration:25,autoplayInterval:5e3,stopAutoplayOnInteraction:!0};s.forwardRef(function({orientation:r=Ke.orientation,children:t,style:o,indicators:a=Ke.indicators,onDisplayDidChange:l=ae,autoplay:i=Ke.autoplay,controls:n=Ke.controls,loop:c=Ke.loop,startIndex:b=Ke.startIndex,prevIcon:h,nextIcon:p,transitionDuration:C=Ke.transitionDuration,autoplayInterval:x=Ke.autoplayInterval,stopAutoplayOnInteraction:g=Ke.stopAutoplayOnInteraction,registerComponentApi:T},y){const $=s.useRef(null),[w,O]=s.useState(0),[V,P]=s.useState([]),[Z,E]=s.useState(!1),{carouselContextValue:j,carouselItems:U}=lb(),M=y?sr($,y):$,[f,v]=ys({axis:r==="horizontal"?"x":"y",loop:c,startIndex:b,duration:C},V),H=h||r==="horizontal"?"arrowleft":"arrowup",S=p||r==="horizontal"?"arrowright":"arrowdown";s.useEffect(()=>{i&&P([Hs({delay:x,stopOnInteraction:g})])},[x,i,g]);const L=s.useCallback(()=>{var ie;const z=(ie=v==null?void 0:v.plugins())==null?void 0:ie.autoplay;if(!z)return;(z.isPlaying()?z.stop:z.play)()},[v]);s.useEffect(()=>{var R;const z=(R=v==null?void 0:v.plugins())==null?void 0:R.autoplay;z&&(E(z.isPlaying()),v.on("autoplay:play",()=>E(!0)).on("autoplay:stop",()=>E(!1)).on("reInit",()=>E(z.isPlaying())))},[v]);const F=s.useCallback(z=>{v==null||v.scrollTo(z)},[v]),[N,D]=ze.useState(!1),[X,q]=ze.useState(!1),I=ze.useCallback(z=>{if(!z)return;const R=z.selectedScrollSnap();l(R),O(R),D(z.canScrollPrev()),q(z.canScrollNext())},[l]),B=s.useCallback(()=>{v&&(v==null||v.scrollPrev())},[v]),W=s.useCallback(()=>{v==null||v.scrollNext()},[v]),A=s.useCallback(z=>{r==="horizontal"?z.key==="ArrowLeft"?(z.preventDefault(),B()):z.key==="ArrowRight"&&(z.preventDefault(),W()):z.key==="ArrowUp"?(z.preventDefault(),B()):z.key==="ArrowDown"&&(z.preventDefault(),W())},[r,B,W]);return s.useEffect(()=>{T==null||T({scrollTo:F,scrollPrev:B,scrollNext:W,canScrollPrev:()=>N,canScrollNext:()=>X})},[T,F,B,W,N,X]),ze.useEffect(()=>{if(v)return I(v),v.on("init",I),v.on("reInit",I),v.on("select",I),()=>{v==null||v.off("select",I)}},[v,I]),s.useEffect(()=>{$!=null&&$.current&&$.current.addEventListener("keydown",A)},[M,A]),d.jsx(ib.Provider,{value:j,children:d.jsxs("div",{style:o,ref:M,className:re(It.carousel),role:"region",tabIndex:-1,"aria-roledescription":"carousel",children:[d.jsx("div",{ref:f,className:It.carouselContentWrapper,children:d.jsx("div",{className:re(It.carouselContent,{[It.horizontal]:r==="horizontal",[It.vertical]:r==="vertical"}),children:t})}),n&&d.jsxs("div",{className:It.controls,children:[i&&d.jsx("button",{className:It.controlButton,onClick:L,children:Z?d.jsx(me,{name:"pause"}):d.jsx(me,{name:"play"})}),d.jsx("button",{className:It.controlButton,disabled:!N,onClick:B,children:d.jsx(me,{name:H})}),d.jsx("button",{className:It.controlButton,onClick:W,disabled:!X,children:d.jsx(me,{name:S})})]}),a&&d.jsx("div",{className:It.indicators,children:U.map((z,R)=>d.jsx("button",{type:"button",onClick:()=>F(R),className:re(It.indicator,{[It.active]:R===w}),"aria-current":R===w},R))})]})})});const De="Carousel",nb={status:"in progress",description:"This component displays a slideshow by cycling through elements (images, text, or custom slides) like a carousel.",props:{orientation:{description:"This property indicates the orientation of the carousel. The `horizontal` value indicates that the carousel moves horizontally, and the `vertical` value indicates that the carousel moves vertically.",availableValues:ea,valueType:"string",defaultValue:Ke.orientation},indicators:{description:"This property indicates whether the carousel displays the indicators.",valueType:"boolean",defaultValue:Ke.indicators},controls:{description:"This property indicates whether the carousel displays the controls.",valueType:"boolean",defaultValue:Ke.controls},autoplay:{description:"This property indicates whether the carousel automatically scrolls.",valueType:"boolean",defaultValue:Ke.autoplay},loop:{description:"This property indicates whether the carousel loops.",valueType:"boolean",defaultValue:Ke.loop},startIndex:{description:"This property indicates the index of the first slide to display.",valueType:"number",defaultValue:Ke.startIndex},transitionDuration:{description:"This property indicates the duration of the transition between slides.",valueType:"number",defaultValue:Ke.transitionDuration},autoplayInterval:{description:"This property specifies the interval between autoplay transitions.",valueType:"number",defaultValue:Ke.autoplayInterval},stopAutoplayOnInteraction:{description:"This property indicates whether autoplay stops on interaction.",valueType:"boolean",defaultValue:Ke.stopAutoplayOnInteraction},prevIcon:{description:"This property specifies the icon to display for the previous control.",valueType:"string"},nextIcon:{description:"This property specifies the icon to display for the next control.",valueType:"string"},keyboard:{description:"This property indicates whether the carousel responds to keyboard events.",valueType:"boolean"}},events:{displayDidChange:at(De)},apis:{canScrollPrev:m("This method returns `true` if the carousel can scroll to the previous slide."),canScrollNext:m("This method returns `true` if the carousel can scroll to the next slide."),scrollTo:m("This method scrolls the carousel to the specified slide index."),scrollPrev:m("This method scrolls the carousel to the previous slide."),scrollNext:m("This method scrolls the carousel to the next slide.")},themeVars:Y(It.themeVars),themeVarDescriptions:{[`width-indicator-${De}`]:"Sets the width of the indicator."},defaultThemeVars:{[`backgroundColor-control-${De}`]:"$color-primary",[`textColor-control-${De}`]:"$textColor",[`backgroundColor-control-hover-${De}`]:"$color-primary",[`textColor-control-hover-${De}`]:"$textColor",[`backgroundColor-control-active-${De}`]:"$color-primary",[`backgroundColor-control-disabled-${De}`]:"$color-surface-200",[`textColor-control-disabled-${De}`]:"$textColor-disabled",[`textColor-control-active-${De}`]:"$color-primary",[`backgroundColor-indicator-${De}`]:"$color-surface-200",[`backgroundColor-indicator-active-${De}`]:"$color-primary",[`textColor-indicator-${De}`]:"$color-primary",[`textColor-indicator-active-${De}`]:"$color-primary",[`backgroundColor-indicator-hover-${De}`]:"$color-surface-200",[`textColor-indicator-hover-${De}`]:"$color-primary",[`width-indicator-${De}`]:"25px",[`height-indicator-${De}`]:"6px",[`height-control-${De}`]:"36px",[`width-control-${De}`]:"36px",[`borderRadius-control-${De}`]:"50%",[`height-${De}`]:"100%",[`width-${De}`]:"100%"}},sb={description:"The `Breakout` component creates a breakout section. It allows its child to occupy the entire width of the UI even if the app or the parent container constrains the maximum content width."},wi="ToneChangerButton",db={status:"experimental",description:`The \`${wi}\` component is a component that allows the user to change the tone of the app.`,props:{lightToDarkIcon:m(`The icon displayed when the theme is in light mode and will switch to dark. You can change the default icon for all ${wi} instances with the "icon.lightToDark:ToneChangerButton" declaration in the app configuration file.`),darkToLightIcon:m(`The icon displayed when the theme is in dark mode and will switch to light. You can change the default icon for all ${wi} instances with the "icon.darkToLight:ToneChangerButton" declaration in the app configuration file.`)}},Ha="APICall",ub={description:`\`${Ha}\` is used to mutate (create, update or delete) some data on the backend. It is similar in nature to the \`DataSource\` component which retrieves data from the backend.`,props:{method:{description:"The method of data manipulation can be done via setting this property.",valueType:"string",availableValues:Fi,defaultValue:"get"},url:{description:"Use this property to set the URL to send data to.",isRequired:!0,valueType:"string"},rawBody:{description:"This property sets the request body to the value provided here without any conversion. Use the * `body` property if you want the object sent in JSON. When you define `body` and `rawBody`, the latest one prevails.",valueType:"string"},body:{description:"This property sets the request body. The object you pass here will be serialized to JSON when sending the request. Use the `rawBody` property to send another request body using its native format. When you define `body` and `rawBody`, the latest one prevails.",valueType:"string"},queryParams:{description:"This property sets the query parameters for the request. The object you pass here will be serialized to a query string and appended to the request URL. You can specify key and value pairs where the key is the name of a particular query parameter and the value is that parameter's value."},headers:{description:"You can define request header values as key and value pairs, where the key is the ID of the particular header and the value is that header's value."},confirmTitle:{description:`This optional string sets the title in the confirmation dialog that is displayed before the \`${Ha}\` is executed.`,valueType:"string"},confirmMessage:{description:`This optional string sets the message in the confirmation dialog that is displayed before the \`${Ha}\` is executed.`,valueType:"string"},confirmButtonLabel:{description:`This optional string property enables the customization of the submit button in the confirmation dialog that is displayed before the \`${Ha}\` is executed.`,valueType:"string"},inProgressNotificationMessage:{description:"This property customizes the message that is displayed in a toast while the API operation is in progress.",valueType:"string"},errorNotificationMessage:{description:"This property defines the message to display automatically when the operation results in an error.",valueType:"string"},completedNotificationMessage:{description:"This property defines the message to display automatically when the operation has been completed.",valueType:"string"},payloadType:Xe(),invalidates:Xe(),updates:Xe(),optimisticValue:Xe(),getOptimisticValue:Xe()},events:{beforeRequest:m("This event fires before the request is sent. Returning an explicit boolean`false` value will prevent the request from being sent."),success:m("This event fires when a request results in a success."),error:m("This event fires when a request results in an error."),progress:Xe()},contextVars:{$param:m("This value represents the first parameters passed to the `execute()` method to display the modal dialog."),$params:m("This value represents the array of parameters passed to the `execute()` method. You can use `$params[0]` to access the first and `$params[1]` to access the second (and so on) parameters. `$param` is the same as `$params[0]`.")},apis:{execute:m("This method triggers the invocation of the API. You can pass an arbitrary number of parameters to the method. In the `APICall` instance, you can access those with the `$param` and `$params` context values.")}},cb={description:"`Option` is a non-visual component describing a selection option. Other components (such as `Select`, `AutoComplete`, and others) may use nested `Option` instances from which the user can select.",props:{label:m("This property defines the text to display for the option. If `label` is not defined, `Option` will use the `value` as the label."),value:m("This property defines the value of the option. If `value` is not defined, `Option` will use the `label` as the value."),enabled:Ze(),optionTemplate:m("This property is used to define a custom option template")},childrenAsTemplate:"optionTemplate"},mb=s.memo(e=>{const r=xm();return r?d.jsx(r,{...e}):null});mb.displayName="OptionNative";const Fe="AutoComplete",pb={description:"This component is a dropdown with a list of options. According to the `multi` property, the user can select one or more items.",status:"experimental",props:{placeholder:Er(),initialValue:Tt(),maxLength:ta(),autoFocus:it(),required:Wt(),readOnly:Vt(),enabled:Ze(),creatable:m("This property allows the user to create new items that are not present in the list of options."),validationStatus:At(),label:qe(),labelPosition:gt("top"),labelWidth:Lt(Fe),labelBreak:_t(Fe),dropdownHeight:m("This property sets the height of the dropdown list."),multi:Gi(),optionTemplate:$e("This property enables the customization of list items. To access the attributes of a list item use the `$item` context variable."),emptyListTemplate:m("This property defines the template to display when the list of options is empty.")},events:{gotFocus:xt(Fe),lostFocus:ft(Fe),didChange:at(Fe)},apis:{focus:Jt(Fe),value:m("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Qt()},contextVars:{$item:m("This context value represents an item when you define an option item template. Use `$item.value` and `$item.label` to refer to the value and label of the particular option.")},themeVars:Y(Je.themeVars),defaultThemeVars:{[`backgroundColor-menu-${Fe}`]:"$backgroundColor-primary",[`boxShadow-menu-${Fe}`]:"$boxShadow-md",[`borderRadius-menu-${Fe}`]:"$borderRadius",[`borderWidth-menu-${Fe}`]:"1px",[`borderColor-menu-${Fe}`]:"$borderColor",[`backgroundColor-item-${Fe}`]:"$backgroundColor-dropdown-item",[`backgroundColor-item-${Fe}--hover`]:"$backgroundColor-dropdown-item--active",[`backgroundColor-item-${Fe}--active`]:"$backgroundColor-dropdown-item--active","minHeight-Input":"39px",[`backgroundColor-${Fe}-badge`]:"$color-primary-500",[`fontSize-${Fe}-badge`]:"$fontSize-small",[`paddingHorizontal-${Fe}-badge`]:"$space-2",[`paddingVertical-${Fe}-badge`]:"$space-1",[`backgroundColor-${Fe}-badge--hover`]:"$color-primary-400",[`backgroundColor-${Fe}-badge--active`]:"$color-primary-500",[`textColor-item-${Fe}--disabled`]:"$color-surface-200",[`textColor-${Fe}-badge`]:"$const-color-surface-50"}},Sa={themeVars:'"[]"',backdropContainer:"_backdropContainer_18iuc_13",backdrop:"_backdrop_18iuc_13",overlay:"_overlay_18iuc_26"},Ii={backgroundColor:"black",opacity:"0.1"};s.forwardRef(function({style:r,children:t,overlayTemplate:o,backgroundColor:a=Ii.backgroundColor,opacity:l=Ii.opacity},i){const n={...r,width:void 0};return d.jsxs("div",{className:Sa.backdropContainer,style:{width:r.width??"fit-content"},ref:i,children:[t,d.jsx("div",{className:Sa.backdrop,style:{...n,backgroundColor:a,opacity:l}}),o&&d.jsx("div",{className:Sa.overlay,children:o})]})});const hb={status:"stable",description:"The `Backdrop` component is a semi-transparent overlay that appears on top of its child component to obscure or highlight the content behind it.",props:{overlayTemplate:$e("This property defines the component template for an optional overlay to display over the component."),backgroundColor:{description:"The background color of the backdrop.",valueType:"string",defaultValue:Ii.backgroundColor},opacity:{description:"The opacity of the backdrop.",valueType:"number",defaultValue:.1}},themeVars:Y(Sa.themeVars)},bb={status:"experimental",description:"This component renders an HTML `a` tag.",isHtmlTag:!0,props:{href:m("Specifies the URL of the page the link goes to"),target:m("Specifies where to open the linked document"),rel:m("Specifies the relationship between the current document and the linked document"),download:m("Indicates that the target will be downloaded when a user clicks on the hyperlink"),hreflang:m("Specifies the language of the linked document"),type:m("Specifies the MIME type of the linked document"),ping:m("Specifies a space-separated list of URLs to be notified if the user follows the hyperlink"),referrerPolicy:m("Specifies the referrer policy for the element"),disabled:m("Specifies that the link should be disabled")}},vb={status:"experimental",description:"This component renders an HTML `address` tag.",isHtmlTag:!0},xb={status:"experimental",description:"This component renders an HTML `area` tag.",isHtmlTag:!0,props:{alt:m("Specifies an alternate text for the area"),coords:m("Specifies the coordinates of the area"),download:m("Indicates that the target will be downloaded when a user clicks on the area"),href:m("Specifies the URL of the linked document"),hrefLang:m("Specifies the language of the linked document"),referrerPolicy:m("Specifies the referrer policy for the area"),rel:m("Specifies the relationship between the current document and the linked document"),shape:m("Specifies the shape of the area"),target:m("Specifies where to open the linked document"),media:m("Specifies a media query for the linked resource")}},fb={status:"experimental",description:"This component renders an HTML `article` tag.",isHtmlTag:!0},gb={status:"experimental",description:"This component renders an HTML `aside` tag.",isHtmlTag:!0},Tb={status:"experimental",description:"This component renders an HTML `audio` tag.",isHtmlTag:!0,props:{autoPlay:m("Specifies that the audio will start playing as soon as it is ready"),controls:m("Specifies that audio controls should be displayed"),crossOrigin:m("Specifies how the element handles cross-origin requests"),loop:m("Specifies that the audio will start over again every time it is finished"),muted:m("Specifies that the audio output should be muted"),preload:m("Specifies if and how the author thinks the audio should be loaded when the page loads"),src:m("Specifies the URL of the audio file")}},Cb={status:"experimental",description:"This component renders an HTML `b` tag.",isHtmlTag:!0},yb={status:"experimental",description:"This component renders an HTML `bdi` tag.",isHtmlTag:!0},Hb={status:"experimental",description:"This component renders an HTML `bdo` tag.",isHtmlTag:!0,props:{dir:m("Specifies the text direction override")}},Sb={status:"experimental",description:"This component renders an HTML `blockquote` tag.",isHtmlTag:!0,props:{cite:m("Specifies the source of the quotation")}},kb={status:"experimental",description:"This component renders an HTML `br` tag.",isHtmlTag:!0},wb={status:"experimental",description:"This component renders an HTML `button` tag.",isHtmlTag:!0,props:{autoFocus:m("Specifies that the button should automatically get focus when the page loads"),disabled:m("Specifies that the button should be disabled"),form:m("Specifies the form the button belongs to"),formAction:m("Specifies the URL of a file that processes the information submitted by the button"),formEncType:m("Specifies how the form-data should be encoded when submitting it to the server"),formMethod:m("Specifies the HTTP method to use when sending form-data"),formNoValidate:m("Specifies that the form should not be validated when submitted"),formTarget:m("Specifies where to display the response after submitting the form"),name:m("Specifies a name for the button"),type:m("Specifies the type of the button"),value:m("Specifies the value associated with the button")}},Ib={status:"experimental",description:"This component renders an HTML `canvas` tag.",isHtmlTag:!0,props:{width:m("Specifies the width of the canvas"),height:m("Specifies the height of the canvas")}},Bb={status:"experimental",description:"This component renders an HTML `caption` tag.",isHtmlTag:!0},$b={status:"experimental",description:"This component renders an HTML `cite` tag.",isHtmlTag:!0},as={status:"experimental",description:"This component renders an HTML `code` tag.",isHtmlTag:!0},Ob={status:"experimental",description:"This component renders an HTML `col` tag.",isHtmlTag:!0,props:{span:m("Specifies the number of columns a `col` element should span")}},Lb={status:"experimental",description:"This component renders an HTML `colgroup` tag.",isHtmlTag:!0,props:{span:m("Specifies the number of columns in a `colgroup`")}},_b={status:"experimental",description:"This component renders an HTML `data` tag.",isHtmlTag:!0,props:{value:m("Specifies the machine-readable value of the element")}},Vb={status:"experimental",description:"This component renders an HTML `datalist` tag.",isHtmlTag:!0},Ab={status:"experimental",description:"This component renders an HTML `dd` tag.",isHtmlTag:!0},Wb={status:"experimental",description:"This component renders an HTML `del` tag.",isHtmlTag:!0,props:{cite:m("Specifies the source of the quotation"),dateTime:m("Specifies the date and time of the edit")}},Nb={status:"experimental",description:"This component renders an HTML `details` tag.",isHtmlTag:!0,props:{open:m("Specifies that the details are visible (open)")},themeVars:Y(et.themeVarsDetails),defaultThemeVars:{"marginTop-HtmlDetails":"1rem","marginBottom-HtmlDetails":"1rem"}},zb={status:"experimental",description:"This component renders an HTML `dfn` tag.",isHtmlTag:!0},Eb={status:"experimental",description:"This component renders an HTML `dialog` tag.",isHtmlTag:!0,props:{open:m("Specifies that the dialog is open")}},Pb={status:"experimental",description:"This component renders an HTML `div` tag.",isHtmlTag:!0},Mb={status:"experimental",description:"This component renders an HTML `dl` tag.",isHtmlTag:!0},Db={status:"experimental",description:"This component renders an HTML `dt` tag.",isHtmlTag:!0},is={status:"experimental",description:"This component renders an HTML `em` tag.",isHtmlTag:!0},Rb={status:"experimental",description:"This component renders an HTML `embed` tag.",isHtmlTag:!0,props:{src:m("Specifies the URL of the resource"),type:m("Specifies the type of the resource"),width:m("Specifies the width of the embed"),height:m("Specifies the height of the embed")}},Fb={status:"experimental",description:"This component renders an HTML `fieldset` tag.",isHtmlTag:!0,props:{disabled:m("Specifies that the fieldset should be disabled"),form:m("Specifies the form the fieldset belongs to"),name:m("Specifies a name for the fieldset")}},Ub={status:"experimental",description:"This component renders an HTML `figcaption` tag.",isHtmlTag:!0},qb={status:"experimental",description:"This component renders an HTML `figure` tag.",isHtmlTag:!0},Gb={status:"experimental",description:"This component renders an HTML `footer` tag.",isHtmlTag:!0},jb={status:"experimental",description:"This component renders an HTML `form` tag.",isHtmlTag:!0,props:{acceptCharset:m("Specifies the character encodings that are to be used for the form submission"),action:m("Specifies where to send the form-data when a form is submitted"),autoComplete:m("Specifies whether a form should have auto-completion"),encType:m("Specifies how the form-data should be encoded when submitting it to the server"),method:m("Specifies the HTTP method to use when sending form-data"),name:m("Specifies the name of the form"),noValidate:m("Specifies that the form should not be validated when submitted"),target:m("Specifies where to display the response after submitting the form")}},Xb={status:"experimental",description:"This component renders an HTML `h1` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},Yb={status:"experimental",description:"This component renders an HTML `h2` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},Zb={status:"experimental",description:"This component renders an HTML `h3` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},Qb={status:"experimental",description:"This component renders an HTML `h4` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},Jb={status:"experimental",description:"This component renders an HTML `h5` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},Kb={status:"experimental",description:"This component renders an HTML `h6` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},ev={status:"experimental",description:"This component renders an HTML `header` tag.",isHtmlTag:!0},tv={status:"experimental",description:"This component renders an HTML `hr` tag.",isHtmlTag:!0},rv={status:"experimental",description:"This component renders an HTML `i` tag.",isHtmlTag:!0},ov={status:"experimental",description:"This component renders an HTML `iframe` tag.",isHtmlTag:!0,props:{src:m("Specifies the URL of the page to embed"),srcDoc:m("Specifies the HTML content of the page to embed"),name:m("Specifies the name of the iframe"),sandbox:m("Specifies a set of extra restrictions for the content in the iframe"),allow:m("Specifies a feature policy for the iframe"),allowFullScreen:m("Specifies that the iframe can be displayed in full-screen mode"),width:m("Specifies the width of the iframe"),height:m("Specifies the height of the iframe"),loading:m("Specifies the loading behavior of the iframe"),referrerPolicy:m("Specifies the referrer policy for the iframe")}},av={status:"experimental",description:"This component renders an HTML `img` tag.",isHtmlTag:!0,props:{alt:m("Specifies an alternate text for an image"),height:m("Specifies the height of an image"),src:m("Specifies the path to the image"),width:m("Specifies the width of an image"),useMap:m("Specifies an image as a client-side image map"),loading:m("Specifies the loading behavior of the image"),referrerPolicy:m("Specifies the referrer policy for the image"),sizes:m("Specifies image sizes for different page layouts")}},iv={status:"experimental",description:"This component renders an HTML `input` tag.",isHtmlTag:!0,props:{type:m("Specifies the type of input"),value:m("Specifies the value of the input"),placeholder:m("Specifies a short hint that describes the expected value of the input"),autoFocus:m("Specifies that the input should automatically get focus when the page loads"),checked:m("Specifies that the input should be pre-selected"),disabled:m("Specifies that the input should be disabled"),form:m("Specifies the form the input belongs to"),name:m("Specifies the name of the input"),list:m("Specifies the id of a datalist element that contains pre-defined options for the input"),max:m("Specifies the maximum value for an input"),maxLength:m("Specifies the maximum number of characters allowed in an input"),min:m("Specifies the minimum value for an input"),minLength:m("Specifies the minimum number of characters allowed in an input"),multiple:m("Specifies that a user can enter more than one value"),pattern:m("Specifies a regular expression that an input's value is checked against"),readOnly:m("Specifies that the input is read-only"),required:m("Specifies that the input is required"),size:m("Specifies the width, in characters, of an input"),step:m("Specifies the legal number intervals for an input")}},lv={status:"experimental",description:"This component renders an HTML `ins` tag.",isHtmlTag:!0,props:{cite:m("Specifies the source URL for the inserted text"),dateTime:m("Specifies the date and time when the text was inserted")}},nv={status:"experimental",description:"This component renders an HTML `kbd` tag.",isHtmlTag:!0},sv={status:"experimental",description:"This component renders an HTML `label` tag.",isHtmlTag:!0,props:{htmlFor:m("Specifies which form element a label is bound to")}},dv={status:"experimental",description:"This component renders an HTML `legend` tag.",isHtmlTag:!0},uv={status:"experimental",description:"This component renders an HTML `li` tag.",isHtmlTag:!0,props:{value:m("Specifies the value of the list item (if the parent is an ordered list)")},defaultThemeVars:{"marginLeft-HtmlLi":"$space-6","paddingLeft-HtmlLi":"$space-1"}},cv={status:"experimental",description:"This component renders an HTML `main` tag.",isHtmlTag:!0},mv={status:"experimental",description:"This component renders an HTML `map` tag.",isHtmlTag:!0,props:{name:m("Specifies the name of the map")}},pv={status:"experimental",description:"This component renders an HTML `mark` tag.",isHtmlTag:!0},hv={status:"experimental",description:"This component renders an HTML `menu` tag.",isHtmlTag:!0,props:{type:m("Specifies the type of the menu")}},bv={status:"experimental",description:"This component renders an HTML `meter` tag.",isHtmlTag:!0,props:{min:m("Specifies the minimum value"),max:m("Specifies the maximum value"),low:m("Specifies the lower bound of the high value"),high:m("Specifies the upper bound of the low value"),optimum:m("Specifies the optimal value"),value:m("Specifies the current value")}},vv={status:"experimental",description:"This component renders an HTML `nav` tag.",isHtmlTag:!0},xv={status:"experimental",description:"This component renders an HTML `object` tag.",isHtmlTag:!0,props:{data:m("Specifies the URL of the resource"),type:m("Specifies the MIME type of the resource"),name:m("Specifies the name of the object"),form:m("Specifies the form the object belongs to"),width:m("Specifies the width of the object"),height:m("Specifies the height of the object")}},fv={status:"experimental",description:"This component renders an HTML `ol` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsList),defaultThemeVars:{"marginTop-HtmlOl":"$space-5","marginBottom-HtmlOl":"$space-5"}},gv={status:"experimental",description:"This component renders an HTML `optgroup` tag.",isHtmlTag:!0,props:{label:m("Specifies the label for the option group"),disabled:m("Specifies that the option group is disabled")}},Tv={status:"experimental",description:"This component renders an HTML `option` tag.",isHtmlTag:!0,props:{disabled:m("Specifies that the option should be disabled"),label:m("Specifies the label of the option"),selected:m("Specifies that the option should be pre-selected"),value:m("Specifies the value of the option")}},Cv={status:"experimental",description:"This component renders an HTML `output` tag.",isHtmlTag:!0,props:{form:m("Specifies the form element that the output is associated with"),htmlFor:m("Specifies the IDs of the elements that this output is related to"),name:m("Specifies the name of the output")}},yv={status:"experimental",description:"This component renders an HTML `p` tag.",isHtmlTag:!0},Hv={status:"experimental",description:"This component renders an HTML `param` tag.",isHtmlTag:!0,props:{name:m("Specifies the name of the parameter"),value:m("Specifies the value of the parameter")}},Sv={status:"experimental",description:"This component renders an HTML `picture` tag.",isHtmlTag:!0},kv={status:"experimental",description:"This component renders an HTML `pre` tag.",isHtmlTag:!0},wv={status:"experimental",description:"This component renders an HTML `progress` tag.",isHtmlTag:!0,props:{max:m("Specifies the maximum value of the progress element"),value:m("Specifies the current value of the progress element")}},Iv={status:"experimental",description:"This component renders an HTML `q` tag.",isHtmlTag:!0,props:{cite:m("Specifies the source URL of the quotation")}},Bv={status:"experimental",description:"This component renders an HTML `rp` tag.",isHtmlTag:!0},$v={status:"experimental",description:"This component renders an HTML `rt` tag.",isHtmlTag:!0},Ov={status:"experimental",description:"This component renders an HTML `ruby` tag.",isHtmlTag:!0},Lv={status:"experimental",description:"This component renders an HTML `s` tag.",isHtmlTag:!0},_v={status:"experimental",description:"This component renders an HTML `samp` tag.",isHtmlTag:!0},Vv={status:"experimental",description:"This component renders an HTML `section` tag.",isHtmlTag:!0},Av={status:"experimental",description:"This component renders an HTML `select` tag.",isHtmlTag:!0,props:{autoFocus:m("Specifies that the select should automatically get focus when the page loads"),disabled:m("Specifies that the select should be disabled"),form:m("Specifies the form the select belongs to"),multiple:m("Specifies that multiple options can be selected at once"),name:m("Specifies the name of the select"),required:m("Specifies that the select is required"),size:m("Specifies the number of visible options in the select")}},Wv={status:"experimental",description:"This component renders an HTML `small` tag.",isHtmlTag:!0},Nv={status:"experimental",description:"This component renders an HTML `source` tag.",isHtmlTag:!0,props:{src:m("Specifies the URL of the media file"),type:m("Specifies the type of the media file"),media:m("Specifies a media query for the media file"),srcSet:m("Specifies the source set for responsive images"),sizes:m("Specifies the sizes attribute for responsive images")}},zv={status:"experimental",description:"This component renders an HTML `span` tag.",isHtmlTag:!0},Ev={status:"experimental",description:"This component renders an HTML `strong` tag.",isHtmlTag:!0},Pv={status:"experimental",description:"This component renders an HTML `sub` tag.",isHtmlTag:!0},Mv={status:"experimental",description:"This component renders an HTML `summary` tag.",isHtmlTag:!0},Dv={status:"experimental",description:"This component renders an HTML `sup` tag.",isHtmlTag:!0},Rv={status:"experimental",description:"This component renders an HTML `table` tag.",isHtmlTag:!0,props:{border:m("Specifies the width of the border around the table"),cellPadding:m("Specifies the space between the cell content and its borders"),cellSpacing:m("Specifies the space between cells"),summary:m("Provides a summary of the table's purpose and structure"),width:m("Specifies the width of the table"),align:m("Specifies the alignment of the table"),frame:m("Specifies which parts of the table frame to render"),rules:m("Specifies which rules to draw between cells")},themeVars:Y(et.themeVarsTable),defaultThemeVars:{"backgroundColor-HtmlTable":"$backgroundColor","border-HtmlTable":"1px solid $borderColor","marginBottom-HtmlTable":"$space-4","marginTop-HtmlTable":"$space-4"}},Fv={status:"experimental",description:"This component renders an HTML `tbody` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsTbody)},Uv={status:"experimental",description:"This component renders an HTML `td` tag.",isHtmlTag:!0,props:{align:m("Specifies the horizontal alignment of the content in the cell"),colSpan:m("Specifies the number of columns a cell should span"),headers:m("Specifies a list of header cells the current cell is related to"),rowSpan:m("Specifies the number of rows a cell should span"),valign:m("Specifies the vertical alignment of the content in the cell"),scope:m("Specifies whether a cell is a header for a column, row, or group of columns or rows"),abbr:m("Specifies an abbreviated version of the content in the cell"),height:m("Specifies the height of the cell"),width:m("Specifies the width of the cell")},themeVars:Y(et.themeVarsTd),defaultThemeVars:{"padding-HtmlTd":"$space-2","borderBottom-HtmlTd":"1px solid $borderColor"}},qv={status:"experimental",description:"This component renders an HTML `template` tag.",isHtmlTag:!0},Gv={status:"experimental",description:"This component renders an HTML `textarea` tag.",isHtmlTag:!0,props:{autoFocus:m("Specifies that the textarea should automatically get focus when the page loads"),cols:m("Specifies the visible width of the text area in average character widths"),dirName:m("Specifies the text directionality"),disabled:m("Specifies that the textarea should be disabled"),form:m("Specifies the form the textarea belongs to"),maxLength:m("Specifies the maximum number of characters allowed in the textarea"),minLength:m("Specifies the minimum number of characters allowed in the textarea"),name:m("Specifies the name of the textarea"),placeholder:m("Specifies a short hint that describes the expected value"),readOnly:m("Specifies that the textarea is read-only"),required:m("Specifies that the textarea is required"),rows:m("Specifies the visible number of lines in the textarea"),value:m("Specifies the current value of the textarea"),wrap:m("Specifies how the text in a textarea is to be wrapped when submitted")}},jv={status:"experimental",description:"This component renders an HTML `tfoot` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsTfoot)},Xv={status:"experimental",description:"This component renders an HTML `th` tag.",isHtmlTag:!0,props:{abbr:m("Specifies an abbreviated version of the content in the header cell"),align:m("Specifies the horizontal alignment of the content in the header cell"),colSpan:m("Specifies the number of columns a header cell should span"),headers:m("Specifies a list of header cells the current header cell is related to"),rowSpan:m("Specifies the number of rows a header cell should span"),scope:m("Specifies whether a header cell is a header for a column, row, or group of columns or rows")},themeVars:Y(et.themeVarsTh),defaultThemeVars:{"padding-HtmlTh":"$space-2","fontSize-HtmlTh":"$fontSize-tiny","fontWeight-HtmlTh":"$fontWeight-bold"}},Yv={status:"experimental",description:"This component renders an HTML `thead` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsThead),defaultThemeVars:{"textTransform-HtmlThead":"uppercase","backgroundColor-HtmlThead":"$color-surface-100","textColor-HtmlThead":"$color-surface-500"}},Zv={status:"experimental",description:"This component renders an HTML `time` tag.",isHtmlTag:!0,props:{dateTime:m("Specifies the date and time in a machine-readable format")}},Qv={status:"experimental",description:"This component renders an HTML `tr` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsTr),defaultThemeVars:{"fontSize-HtmlTr":"$fontSize-small","backgroundColor-row-HtmlTr":"inherit"}},Jv={status:"experimental",description:"This component renders an HTML `track` tag.",isHtmlTag:!0,props:{default:m("Specifies that the track is to be enabled if no other track is more suitable"),kind:m("Specifies the kind of text track"),label:m("Specifies the title of the text track"),src:m("Specifies the URL of the track file"),srcLang:m("Specifies the language of the track text data")}},Kv={status:"experimental",description:"This component renders an HTML `u` tag.",isHtmlTag:!0},ex={status:"experimental",description:"This component renders an HTML `ul` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsList),defaultThemeVars:{"marginTop-HtmlUl":"$space-5","marginBottom-HtmlUl":"$space-5"}},tx={status:"experimental",description:"This component renders an HTML `var` tag.",isHtmlTag:!0},rx={status:"experimental",description:"This component renders an HTML `video` tag.",isHtmlTag:!0,props:{autoPlay:m("Specifies that the video will start playing as soon as it is ready"),controls:m("Specifies that video controls should be displayed"),height:m("Specifies the height of the video player"),loop:m("Specifies that the video will start over again when finished"),muted:m("Specifies that the video output should be muted"),poster:m("Specifies an image to be shown while the video is downloading"),preload:m("Specifies if and how the author thinks the video should be loaded when the page loads"),src:m("Specifies the URL of the video file"),width:m("Specifies the width of the video player")},themeVars:Y(et.themeVarsVideo),defaultThemeVars:{"marginTop-HtmlVideo":"1rem","marginBottom-HtmlVideo":"1rem"}},ox={status:"experimental",description:"This component renders an HTML `wbr` tag.",isHtmlTag:!0},Lo="ColorPicker",ax={description:"This component allows the user to select a color with the browser's default color picker control.",props:{initialValue:Tt(),label:qe(),labelPosition:gt(),labelWidth:Lt(Lo),labelBreak:_t(Lo),enabled:Ze(),autoFocus:it(),required:Wt(),readOnly:Vt(),validationStatus:At(Uo.validationStatus)},events:{didChange:at(Lo),gotFocus:xt(Lo),lostFocus:ft(Lo)},apis:{focus:Jt(Lo),value:ra(),setValue:Qt()},themeVars:Y(Co.themeVars)},ix={description:"`Markdown` displays plain text styled using markdown syntax.",themeVars:Y(hp.themeVars),props:{content:m("This property sets the markdown content to display."),codeHighlighter:{description:"This property sets the code highlighter to use.",isInternal:!0},removeIndents:{description:"This boolean property specifies whether leading indents should be removed from the markdown content. If set to `true`, the shortest indent found at the start of the content lines is removed from the beginning of every line.",valueType:"boolean",defaultValue:!0},showHeadingAnchors:{description:"This boolean property specifies whether heading anchors should be displayed. If set to `true`, heading anchors will be displayed on hover next to headings.",valueType:"boolean",defaultValue:!1}},defaultThemeVars:{"backgroundColor-Admonition":"$color-primary-100","border-Admonition":"1px solid $color-primary-300","backgroundColor-Admonition-warning":"$color-warn-100","borderColor-Admonition-warning":"$color-warn-300","backgroundColor-Admonition-danger":"$color-danger-100","borderColor-Admonition-danger":"$color-danger-300","borderRadius-Admonition":"$space-2","iconSize-Admonition":"$space-5","paddingLeft-Admonition":"$space-2","paddingRight-Admonition":"$space-6","paddingTop-Admonition":"$space-3","paddingBottom-Admonition":"$space-2","marginLeft-Admonition-content":"$space-1_5","marginTop-Admonition":"$space-7","marginBottom-Admonition":"$space-7","marginTop-Blockquote":"$space-7","marginBottom-Blockquote":"$space-7","paddingHorizontal-Blockquote":"$space-6","paddingTop-Blockquote":"$space-3","paddingBottom-Blockquote":"$space-2_5","backgroundColor-Blockquote":"$color-surface-100","accentWidth-Blockquote":"3px","accentColor-Blockquote":"$color-surface-500","marginTop-HtmlLi":"$space-2_5","marginBottom-HtmlLi":"$space-2_5",light:{},dark:{"backgroundColor-Blockquote":"$color-surface-50","backgroundColor-Admonition":"$color-primary-200"}}},Bi="DataSource",lx={status:"stable",description:`The \`${Bi}\` component manages fetching data from an API endpoint. This component automatically manages the complexity of the fetch operation and caching. To manipulate data on the backend, use the [\`APICall\`](./APICall.mdx) component.`,props:{method:{description:"Set the HTTP method.",defaultValue:"get",availableValues:Fi},id:{description:"Set the ID used by other components to access the retrieved data in the `value`property of a `DataSource`, or status info in the `loaded` and `error` properties.",isRequired:!0,valueType:"string"},url:{description:"Set the URL.",isRequired:!0,valueType:"string"},body:{description:"Set the request body. The object you pass is serialized as a JSON string.",valueType:"any"},rawBody:{description:"Set the request body with no serialization. Use it to send a payload that has already been serialized to a JSON string.",valueType:"string"},queryParams:{description:"Append key/value pairs to the URL.",valueType:"any"},headers:{description:"Set request headers. Pass an object whose keys are header names and values are header values.",valueType:"any"},pollIntervalInSeconds:{description:"Set the interval for periodic data fetching. If the data changes on refresh, XMLUI will re-render components that refer directly or indirectly to the `DataSource`. ",valueType:"number"},inProgressNotificationMessage:{description:"Set the message to display when the data fetch is in progress.",valueType:"string"},completedNotificationMessage:{description:"Set the message to display when the data fetch completes.",valueType:"string"},errorNotificationMessage:{description:"Set the message to display when the there is an error.",valueType:"string"},resultSelector:{description:"Set an object key to extract a subset of the response data.",valueType:"string"},transformResult:{description:"Set a function to perform a final transformation of the response data."},prevPageSelector:{description:`When using \`${Bi}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the previous page information from the response deserialized to an object.`},nextPageSelector:{description:`When using \`${Bi}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the next page information from the response deserialized to an object.`},structuralSharing:{description:"This property allows structural sharing. When turned on, `DataSource` will keep the original reference if nothing has changed in the data. If a subset has changed, `DataSource` will keep the unchanged parts and only replace the changed parts. If you do not need this behavior, set this property to `false`.",defaultValue:"true"}},events:{loaded:m("The component triggers this event when the fetch operation has been completed and the data is loaded. The event has two arguments. The first is the data loaded; the second indicates if the event is a result of a refetch."),error:m("This event fires when a request results in an error.")},apis:{value:m("This property retrieves the data queried from the source after optional transformations."),inProgress:m("This property indicates if the data is being fetched."),isRefetching:m("This property indicates if the data is being re-fetched."),loaded:m("This property indicates if the data has been loaded."),refetch:m("This method requests the re-fetch of the data.")}},nx={a:bb,address:vb,area:xb,article:fb,aside:gb,audio:Tb,b:Cb,bdi:yb,bdo:Hb,blockquote:Sb,br:kb,button:wb,canvas:Ib,caption:Bb,cite:$b,code:as,col:Ob,colgroup:Lb,data:_b,datalist:Vb,dd:Ab,del:Wb,details:Nb,dfn:zb,dialog:Eb,div:Pb,dl:Mb,dt:Db,em:is,embed:Rb,fieldset:Fb,figcaption:Ub,figure:qb,footer:Gb,form:jb,h1:Xb,h2:Yb,h3:Zb,h4:Qb,h5:Jb,h6:Kb,header:ev,hr:tv,i:rv,iframe:ov,img:av,input:iv,ins:lv,kbd:nv,label:sv,legend:dv,li:uv,main:cv,map:mv,mark:pv,menu:hv,meter:bv,nav:vv,object:xv,ol:fv,optgroup:gv,option:Tv,output:Cv,p:yv,param:Hv,picture:Sv,pre:kv,progress:wv,q:Iv,rp:Bv,rt:$v,ruby:Ov,s:Lv,samp:_v,section:Vv,select:Av,small:Wv,source:Nv,span:zv,strong:Ev,sub:Pv,summary:Mv,sup:Dv,table:Rv,tbody:Fv,td:Uv,template:qv,textarea:Gv,tfoot:jv,th:Xv,thead:Yv,time:Zv,tr:Qv,track:Jv,u:Kv,ul:ex,var:tx,video:rx,wbr:ox,Accordion:rb,APICall:ub,App:jd,AppHeader:Xd,AppState:Yd,AutoComplete:pb,Avatar:Qd,Backdrop:hb,Badge:eu,Bookmark:ru,Breakout:sb,Button:Ks,Card:iu,Carousel:nb,ChangeListener:nu,Checkbox:su,CODE:as,ColorPicker:ax,Column:Yh,ContentSeparator:cu,DataSource:lx,DatePicker:bu,DropdownMenu:vu,EM:is,Fragment:Cp,MenuItem:xu,SubMenuItem:fu,EmojiSelector:Tu,FileInput:Su,FileUploadDropZone:wu,FlowLayout:Wu,Footer:zu,Form:Hc,FormItem:Zm,FormSection:jh,Heading:Km,H1:ep,H2:tp,H3:rp,H4:op,H5:ap,H6:ip,HoverCard:lp,Icon:np,Image:sp,Items:dp,Link:up,List:mp,Logo:pp,Markdown:ix,MenuSeparator:gu,ModalDialog:Pp,NavGroup:lh,NavLink:fp,NavPanel:th,NoResult:Dp,NumberBox:eh,Option:cb,PageMetaTitle:Fp,Page:rh,Pages:oh,PositionedContainer:Jp,ProgressBar:qp,Queue:Zp,RadioGroup:nh,RealTimeAdapter:Kp,Redirect:Zh,Select:dh,SelectionStore:Rp,Slider:ab,SpaceFiller:bp,Spinner:sh,Splitter:jp,HSplitter:Xp,VSplitter:Yp,Stack:zo,CHStack:ad,CVStack:od,HStack:rd,VStack:td,StickyBox:Ep,Switch:Xh,Table:Np,TableOfContents:eb,TabItem:ob,Tabs:Jh,Text:Tp,TextArea:xp,TextBox:nl,PasswordInput:hd,Theme:Ed,ToneChangerButton:db,Tree:gp},sx={root:yd,xmlui:$d,xmluiGreen:Od,xmluiGray:Ld,xmluiOrange:_d,xmluiPurple:Vd,xmluiCyan:Ad,xmluiRed:Wd};ve.collectedComponentMetadata=nx,ve.collectedThemes=sx,Object.defineProperty(ve,Symbol.toStringTag,{value:"Module"})});
32
+ `);const Le="Switch",Zh={description:`The \`${Le}\` component is a user interface element that allows users to toggle between two states: on and off. It consists of a small rectangular or circular button that can be moved left or right to change its state.`,props:{indeterminate:qi(qt.indeterminate),label:qe(),labelPosition:gt("end"),labelWidth:_t(Le),labelBreak:Vt(Le),required:Nt(),initialValue:Tt(qt.initialValue),autoFocus:it(),readOnly:At(),enabled:Ze(),validationStatus:Wt(qt.validationStatus),description:Xe(`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${Le} besides its label.`)},events:{gotFocus:vt(Le),lostFocus:ft(Le),didChange:at(Le)},apis:{value:ji(),setValue:Qt()},themeVars:Y(tr.themeVars),defaultThemeVars:{[`borderColor-checked-${Le}-error`]:`$borderColor-${Le}-error`,[`backgroundColor-checked-${Le}-error`]:`$borderColor-${Le}-error`,[`borderColor-checked-${Le}-warning`]:`$borderColor-${Le}-warning`,[`backgroundColor-checked-${Le}-warning`]:`$borderColor-${Le}-warning`,[`borderColor-checked-${Le}-success`]:`$borderColor-${Le}-success`,[`backgroundColor-checked-${Le}-success`]:`$borderColor-${Le}-success`,[`backgroundColor-${Le}`]:"$backgroundColor-primary",[`borderColor-${Le}`]:"$color-surface-200",[`borderWidth-${Le}`]:"1px",[`backgroundColor-indicator-${Le}`]:"$color-surface-200",[`backgroundColor-indicator-checked-${Le}`]:"$backgroundColor-primary",[`borderColor-checked-${Le}`]:"$color-primary-500",[`backgroundColor-checked-${Le}`]:"$color-primary-500",[`backgroundColor-${Le}--disabled`]:"$color-surface-200"}},Qh={description:"The `Column` component can be used within a `Table` to define a particular table column's visual properties and data bindings.",props:{bindTo:{description:"Indicates what part of the data to lay out in the column.",valueType:"string"},header:{description:"Adds a label for a particular column.",valueType:"string"},width:{description:"This property defines the width of the column. You can use a numeric value, a pixel value (such as `100px`), or a star size value (such as `*`, `2*`, etc.). You will get an error if you use any other unit (or value).",valueType:"any"},minWidth:{description:"Indicates the minimum width a particular column can have. Same rules apply as with [width](#width).",valueType:"any"},maxWidth:{description:"Indicates the maximum width a particular column can have. Same rules apply as with [width](#width).",valueType:"any"},canSort:{description:"This property sets whether the user can sort by a column by clicking on its header (`true`) or not (`false`).",valueType:"boolean"},pinTo:{description:"This property allows the column to be pinned to the `left` (left-to-right writing style) or `right` (left-to-right writing style) edge of the table. If the writing style is right-to-left, the locations are switched.",availableValues:["left","right"],valueType:"string"},canResize:{description:"This property indicates whether the user can resize the column. If set to `true`, the column can be resized by dragging the column border. If set to `false`, the column cannot be resized. Double-clicking the column border resets to the original size.",valueType:"boolean"}},contextVars:{$item:{description:"The data item being rendered."},$row:{description:"The data item being rendered (the same as `$item`)."},$itemIndex:{description:"The index of the data item being rendered."},$rowIndex:{description:"The index of the data item being rendered (the same as `$itemIndex`)."},$colIndex:{description:"The index of the column being rendered."},$cell:{description:"The value of the cell being rendered."}}},Jh={description:"`Redirect` is a component that immediately redirects the browser to the URL in its `to` property when it gets visible (its `when` property gets `true`). The redirection works only within the app.",props:{to:m("This property defines the URL to which this component is about to redirect requests.")}},Kh={themeVars:`'{"padding-trigger-Tabs": "var(--xmlui-padding-trigger-Tabs)", "paddingHorizontal-trigger-Tabs": "var(--xmlui-paddingHorizontal-trigger-Tabs, var(--xmlui-padding-trigger-Tabs))", "paddingVertical-trigger-Tabs": "var(--xmlui-paddingVertical-trigger-Tabs, var(--xmlui-padding-trigger-Tabs))", "paddingLeft-trigger-Tabs": "var(--xmlui-paddingLeft-trigger-Tabs, var(--xmlui-paddingHorizontal-trigger-Tabs, var(--xmlui-padding-trigger-Tabs)))", "paddingRight-trigger-Tabs": "var(--xmlui-paddingRight-trigger-Tabs, var(--xmlui-paddingHorizontal-trigger-Tabs, var(--xmlui-padding-trigger-Tabs)))", "paddingTop-trigger-Tabs": "var(--xmlui-paddingTop-trigger-Tabs, var(--xmlui-paddingVertical-trigger-Tabs, var(--xmlui-padding-trigger-Tabs)))", "paddingBottom-trigger-Tabs": "var(--xmlui-paddingBottom-trigger-Tabs, var(--xmlui-paddingVertical-trigger-Tabs, var(--xmlui-padding-trigger-Tabs)))", "backgroundColor-Tabs": "var(--xmlui-backgroundColor-Tabs)", "borderColor-Tabs": "var(--xmlui-borderColor-Tabs)", "borderWidth-Tabs": "var(--xmlui-borderWidth-Tabs)", "borderColor-active-Tabs": "var(--xmlui-borderColor-active-Tabs)", "backgroundColor-trigger-Tabs": "var(--xmlui-backgroundColor-trigger-Tabs)", "borderRadius-trigger-Tabs": "var(--xmlui-borderRadius-trigger-Tabs)", "border-trigger-Tabs": "var(--xmlui-border-trigger-Tabs)", "textColor-trigger-Tabs": "var(--xmlui-textColor-trigger-Tabs)", "backgroundColor-trigger-Tabs--hover": "var(--xmlui-backgroundColor-trigger-Tabs--hover)", "backgroundColor-trigger-Tabs--active": "var(--xmlui-backgroundColor-trigger-Tabs--active)", "backgroundColor-list-Tabs": "var(--xmlui-backgroundColor-list-Tabs)", "borderRadius-list-Tabs": "var(--xmlui-borderRadius-list-Tabs)", "border-list-Tabs": "var(--xmlui-border-list-Tabs)"}'`},ro="Tabs",eb={status:"experimental",description:`The \`${ro}\` component provides a tabbed layout where each tab has a clickable label and content.`,props:{activeTab:m("This property indicates the index of the active tab. The indexing starts from 0, representing the starting (leftmost) tab."),orientation:{description:"This property indicates the orientation of the component. In horizontal orientation, the tab sections are laid out on the left side of the content panel, while in vertical orientation, the buttons are at the top.",availableValues:["horizontal","vertical"],defaultValue:"vertical",valueType:"string"},tabTemplate:$e("This property declares the template for the clickable tab area.")},apis:{next:m("This method selects the next tab.")},themeVars:Y(Kh.themeVars),defaultThemeVars:{[`borderStyle-${ro}`]:"solid",[`borderColor-${ro}`]:"$borderColor",[`borderColor-active-${ro}`]:"$color-primary",[`borderWidth-${ro}`]:"2px",[`backgroundColor-trigger-${ro}--hover`]:"$color-surface-100",[`padding-trigger-${ro}`]:"$space-4"}},tb={themeVars:`'{"backgroundColor-TableOfContents": "var(--xmlui-backgroundColor-TableOfContents)", "width-TableOfContents": "var(--xmlui-width-TableOfContents)", "height-TableOfContents": "var(--xmlui-height-TableOfContents)", "border-TableOfContents": "var(--xmlui-border-TableOfContents)", "borderHorizontal-TableOfContents": "var(--xmlui-borderHorizontal-TableOfContents, var(--xmlui-border-TableOfContents))", "borderVertical-TableOfContents": "var(--xmlui-borderVertical-TableOfContents, var(--xmlui-border-TableOfContents))", "borderLeft-TableOfContents": "var(--xmlui-borderLeft-TableOfContents, var(--xmlui-borderHorizontal-TableOfContents, var(--xmlui-border-TableOfContents)))", "borderRight-TableOfContents": "var(--xmlui-borderRight-TableOfContents, var(--xmlui-borderHorizontal-TableOfContents, var(--xmlui-border-TableOfContents)))", "borderTop-TableOfContents": "var(--xmlui-borderTop-TableOfContents, var(--xmlui-borderVertical-TableOfContents, var(--xmlui-border-TableOfContents)))", "borderBottom-TableOfContents": "var(--xmlui-borderBottom-TableOfContents, var(--xmlui-borderVertical-TableOfContents, var(--xmlui-border-TableOfContents)))", "borderWidth-TableOfContents": "var(--xmlui-borderWidth-TableOfContents)", "borderHorizontalWidth-TableOfContents": "var(--xmlui-borderHorizontalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents))", "borderLeftWidth-TableOfContents": "var(--xmlui-borderLeftWidth-TableOfContents, var(--xmlui-borderHorizontalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents)))", "borderRightWidth-TableOfContents": "var(--xmlui-borderRightWidth-TableOfContents, var(--xmlui-borderHorizontalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents)))", "borderVerticalWidth-TableOfContents": "var(--xmlui-borderVerticalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents))", "borderTopWidth-TableOfContents": "var(--xmlui-borderTopWidth-TableOfContents, var(--xmlui-borderVerticalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents)))", "borderBottomWidth-TableOfContents": "var(--xmlui-borderBottomWidth-TableOfContents, var(--xmlui-borderVerticalWidth-TableOfContents, var(--xmlui-borderWidth-TableOfContents)))", "borderStyle-TableOfContents": "var(--xmlui-borderStyle-TableOfContents)", "borderHorizontalStyle-TableOfContents": "var(--xmlui-borderHorizontalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents))", "borderLeftStyle-TableOfContents": "var(--xmlui-borderLeftStyle-TableOfContents, var(--xmlui-borderHorizontalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents)))", "borderRightStyle-TableOfContents": "var(--xmlui-borderRightStyle-TableOfContents, var(--xmlui-borderHorizontalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents)))", "borderVerticalStyle-TableOfContents": "var(--xmlui-borderVerticalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents))", "borderTopStyle-TableOfContents": "var(--xmlui-borderTopStyle-TableOfContents, var(--xmlui-borderVerticalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents)))", "borderBottomStyle-TableOfContents": "var(--xmlui-borderBottomStyle-TableOfContents, var(--xmlui-borderVerticalStyle-TableOfContents, var(--xmlui-borderStyle-TableOfContents)))", "borderColor-TableOfContents": "var(--xmlui-borderColor-TableOfContents)", "borderHorizontalColor-TableOfContents": "var(--xmlui-borderHorizontalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents))", "borderLeftColor-TableOfContents": "var(--xmlui-borderLeftColor-TableOfContents, var(--xmlui-borderHorizontalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents)))", "borderRightColor-TableOfContents": "var(--xmlui-borderRightColor-TableOfContents, var(--xmlui-borderHorizontalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents)))", "borderVerticalColor-TableOfContents": "var(--xmlui-borderVerticalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents))", "borderTopColor-TableOfContents": "var(--xmlui-borderTopColor-TableOfContents, var(--xmlui-borderVerticalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents)))", "borderBottomColor-TableOfContents": "var(--xmlui-borderBottomColor-TableOfContents, var(--xmlui-borderVerticalColor-TableOfContents, var(--xmlui-borderColor-TableOfContents)))", "borderStartStartRadius-TableOfContents": "var(--xmlui-borderStartStartRadius-TableOfContents, var(--xmlui-borderRadius-TableOfContents))", "borderStartEndRadius-TableOfContents": "var(--xmlui-borderStartEndRadius-TableOfContents, var(--xmlui-borderRadius-TableOfContents))", "borderEndStartRadius-TableOfContents": "var(--xmlui-borderEndStartRadius-TableOfContents, var(--xmlui-borderRadius-TableOfContents))", "borderEndEndRadius-TableOfContents": "var(--xmlui-borderEndEndRadius-TableOfContents, var(--xmlui-borderRadius-TableOfContents))", "padding-TableOfContents": "var(--xmlui-padding-TableOfContents)", "paddingHorizontal-TableOfContents": "var(--xmlui-paddingHorizontal-TableOfContents, var(--xmlui-padding-TableOfContents))", "paddingVertical-TableOfContents": "var(--xmlui-paddingVertical-TableOfContents, var(--xmlui-padding-TableOfContents))", "paddingLeft-TableOfContents": "var(--xmlui-paddingLeft-TableOfContents, var(--xmlui-paddingHorizontal-TableOfContents, var(--xmlui-padding-TableOfContents)))", "paddingRight-TableOfContents": "var(--xmlui-paddingRight-TableOfContents, var(--xmlui-paddingHorizontal-TableOfContents, var(--xmlui-padding-TableOfContents)))", "paddingTop-TableOfContents": "var(--xmlui-paddingTop-TableOfContents, var(--xmlui-paddingVertical-TableOfContents, var(--xmlui-padding-TableOfContents)))", "paddingBottom-TableOfContents": "var(--xmlui-paddingBottom-TableOfContents, var(--xmlui-paddingVertical-TableOfContents, var(--xmlui-padding-TableOfContents)))", "textColor-TableOfContentsItem": "var(--xmlui-textColor-TableOfContentsItem)", "fontFamily-TableOfContentsItem": "var(--xmlui-fontFamily-TableOfContentsItem)", "fontSize-TableOfContentsItem": "var(--xmlui-fontSize-TableOfContentsItem)", "fontStyle-TableOfContentsItem": "var(--xmlui-fontStyle-TableOfContentsItem)", "fontVariant-TableOfContentsItem": "var(--xmlui-fontVariant-TableOfContentsItem)", "fontWeight-TableOfContentsItem": "var(--xmlui-fontWeight-TableOfContentsItem)", "fontStretch-TableOfContentsItem": "var(--xmlui-fontStretch-TableOfContentsItem)", "textDecorationLine-TableOfContentsItem": "var(--xmlui-textDecorationLine-TableOfContentsItem)", "textDecorationColor-TableOfContentsItem": "var(--xmlui-textDecorationColor-TableOfContentsItem)", "textDecorationStyle-TableOfContentsItem": "var(--xmlui-textDecorationStyle-TableOfContentsItem)", "textDecorationThickness-TableOfContentsItem": "var(--xmlui-textDecorationThickness-TableOfContentsItem)", "textUnderlineOffset-TableOfContentsItem": "var(--xmlui-textUnderlineOffset-TableOfContentsItem)", "lineHeight-TableOfContentsItem": "var(--xmlui-lineHeight-TableOfContentsItem)", "backgroundColor-TableOfContentsItem": "var(--xmlui-backgroundColor-TableOfContentsItem)", "textTransform-TableOfContentsItem": "var(--xmlui-textTransform-TableOfContentsItem)", "letterSpacing-TableOfContentsItem": "var(--xmlui-letterSpacing-TableOfContentsItem)", "wordSpacing-TableOfContentsItem": "var(--xmlui-wordSpacing-TableOfContentsItem)", "textShadow-TableOfContentsItem": "var(--xmlui-textShadow-TableOfContentsItem)", "textIndent-TableOfContentsItem": "var(--xmlui-textIndent-TableOfContentsItem)", "textAlign-TableOfContentsItem": "var(--xmlui-textAlign-TableOfContentsItem)", "textAlignLast-TableOfContentsItem": "var(--xmlui-textAlignLast-TableOfContentsItem)", "wordBreak-TableOfContentsItem": "var(--xmlui-wordBreak-TableOfContentsItem)", "wordWrap-TableOfContentsItem": "var(--xmlui-wordWrap-TableOfContentsItem)", "direction-TableOfContentsItem": "var(--xmlui-direction-TableOfContentsItem)", "writingMode-TableOfContentsItem": "var(--xmlui-writingMode-TableOfContentsItem)", "lineBreak-TableOfContentsItem": "var(--xmlui-lineBreak-TableOfContentsItem)", "border-TableOfContentsItem": "var(--xmlui-border-TableOfContentsItem)", "borderHorizontal-TableOfContentsItem": "var(--xmlui-borderHorizontal-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem))", "borderVertical-TableOfContentsItem": "var(--xmlui-borderVertical-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem))", "borderLeft-TableOfContentsItem": "var(--xmlui-borderLeft-TableOfContentsItem, var(--xmlui-borderHorizontal-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem)))", "borderRight-TableOfContentsItem": "var(--xmlui-borderRight-TableOfContentsItem, var(--xmlui-borderHorizontal-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem)))", "borderTop-TableOfContentsItem": "var(--xmlui-borderTop-TableOfContentsItem, var(--xmlui-borderVertical-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem)))", "borderBottom-TableOfContentsItem": "var(--xmlui-borderBottom-TableOfContentsItem, var(--xmlui-borderVertical-TableOfContentsItem, var(--xmlui-border-TableOfContentsItem)))", "borderWidth-TableOfContentsItem": "var(--xmlui-borderWidth-TableOfContentsItem)", "borderHorizontalWidth-TableOfContentsItem": "var(--xmlui-borderHorizontalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem))", "borderLeftWidth-TableOfContentsItem": "var(--xmlui-borderLeftWidth-TableOfContentsItem, var(--xmlui-borderHorizontalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem)))", "borderRightWidth-TableOfContentsItem": "var(--xmlui-borderRightWidth-TableOfContentsItem, var(--xmlui-borderHorizontalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem)))", "borderVerticalWidth-TableOfContentsItem": "var(--xmlui-borderVerticalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem))", "borderTopWidth-TableOfContentsItem": "var(--xmlui-borderTopWidth-TableOfContentsItem, var(--xmlui-borderVerticalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem)))", "borderBottomWidth-TableOfContentsItem": "var(--xmlui-borderBottomWidth-TableOfContentsItem, var(--xmlui-borderVerticalWidth-TableOfContentsItem, var(--xmlui-borderWidth-TableOfContentsItem)))", "borderStyle-TableOfContentsItem": "var(--xmlui-borderStyle-TableOfContentsItem)", "borderHorizontalStyle-TableOfContentsItem": "var(--xmlui-borderHorizontalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem))", "borderLeftStyle-TableOfContentsItem": "var(--xmlui-borderLeftStyle-TableOfContentsItem, var(--xmlui-borderHorizontalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem)))", "borderRightStyle-TableOfContentsItem": "var(--xmlui-borderRightStyle-TableOfContentsItem, var(--xmlui-borderHorizontalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem)))", "borderVerticalStyle-TableOfContentsItem": "var(--xmlui-borderVerticalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem))", "borderTopStyle-TableOfContentsItem": "var(--xmlui-borderTopStyle-TableOfContentsItem, var(--xmlui-borderVerticalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem)))", "borderBottomStyle-TableOfContentsItem": "var(--xmlui-borderBottomStyle-TableOfContentsItem, var(--xmlui-borderVerticalStyle-TableOfContentsItem, var(--xmlui-borderStyle-TableOfContentsItem)))", "borderColor-TableOfContentsItem": "var(--xmlui-borderColor-TableOfContentsItem)", "borderHorizontalColor-TableOfContentsItem": "var(--xmlui-borderHorizontalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem))", "borderLeftColor-TableOfContentsItem": "var(--xmlui-borderLeftColor-TableOfContentsItem, var(--xmlui-borderHorizontalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem)))", "borderRightColor-TableOfContentsItem": "var(--xmlui-borderRightColor-TableOfContentsItem, var(--xmlui-borderHorizontalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem)))", "borderVerticalColor-TableOfContentsItem": "var(--xmlui-borderVerticalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem))", "borderTopColor-TableOfContentsItem": "var(--xmlui-borderTopColor-TableOfContentsItem, var(--xmlui-borderVerticalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem)))", "borderBottomColor-TableOfContentsItem": "var(--xmlui-borderBottomColor-TableOfContentsItem, var(--xmlui-borderVerticalColor-TableOfContentsItem, var(--xmlui-borderColor-TableOfContentsItem)))", "borderStartStartRadius-TableOfContentsItem": "var(--xmlui-borderStartStartRadius-TableOfContentsItem, var(--xmlui-borderRadius-TableOfContentsItem))", "borderStartEndRadius-TableOfContentsItem": "var(--xmlui-borderStartEndRadius-TableOfContentsItem, var(--xmlui-borderRadius-TableOfContentsItem))", "borderEndStartRadius-TableOfContentsItem": "var(--xmlui-borderEndStartRadius-TableOfContentsItem, var(--xmlui-borderRadius-TableOfContentsItem))", "borderEndEndRadius-TableOfContentsItem": "var(--xmlui-borderEndEndRadius-TableOfContentsItem, var(--xmlui-borderRadius-TableOfContentsItem))", "border-TableOfContentsItem--hover": "var(--xmlui-border-TableOfContentsItem--hover)", "borderHorizontal-TableOfContentsItem--hover": "var(--xmlui-borderHorizontal-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover))", "borderVertical-TableOfContentsItem--hover": "var(--xmlui-borderVertical-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover))", "borderLeft-TableOfContentsItem--hover": "var(--xmlui-borderLeft-TableOfContentsItem--hover, var(--xmlui-borderHorizontal-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover)))", "borderRight-TableOfContentsItem--hover": "var(--xmlui-borderRight-TableOfContentsItem--hover, var(--xmlui-borderHorizontal-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover)))", "borderTop-TableOfContentsItem--hover": "var(--xmlui-borderTop-TableOfContentsItem--hover, var(--xmlui-borderVertical-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover)))", "borderBottom-TableOfContentsItem--hover": "var(--xmlui-borderBottom-TableOfContentsItem--hover, var(--xmlui-borderVertical-TableOfContentsItem--hover, var(--xmlui-border-TableOfContentsItem--hover)))", "borderWidth-TableOfContentsItem--hover": "var(--xmlui-borderWidth-TableOfContentsItem--hover)", "borderHorizontalWidth-TableOfContentsItem--hover": "var(--xmlui-borderHorizontalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover))", "borderLeftWidth-TableOfContentsItem--hover": "var(--xmlui-borderLeftWidth-TableOfContentsItem--hover, var(--xmlui-borderHorizontalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover)))", "borderRightWidth-TableOfContentsItem--hover": "var(--xmlui-borderRightWidth-TableOfContentsItem--hover, var(--xmlui-borderHorizontalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover)))", "borderVerticalWidth-TableOfContentsItem--hover": "var(--xmlui-borderVerticalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover))", "borderTopWidth-TableOfContentsItem--hover": "var(--xmlui-borderTopWidth-TableOfContentsItem--hover, var(--xmlui-borderVerticalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover)))", "borderBottomWidth-TableOfContentsItem--hover": "var(--xmlui-borderBottomWidth-TableOfContentsItem--hover, var(--xmlui-borderVerticalWidth-TableOfContentsItem--hover, var(--xmlui-borderWidth-TableOfContentsItem--hover)))", "borderStyle-TableOfContentsItem--hover": "var(--xmlui-borderStyle-TableOfContentsItem--hover)", "borderHorizontalStyle-TableOfContentsItem--hover": "var(--xmlui-borderHorizontalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover))", "borderLeftStyle-TableOfContentsItem--hover": "var(--xmlui-borderLeftStyle-TableOfContentsItem--hover, var(--xmlui-borderHorizontalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover)))", "borderRightStyle-TableOfContentsItem--hover": "var(--xmlui-borderRightStyle-TableOfContentsItem--hover, var(--xmlui-borderHorizontalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover)))", "borderVerticalStyle-TableOfContentsItem--hover": "var(--xmlui-borderVerticalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover))", "borderTopStyle-TableOfContentsItem--hover": "var(--xmlui-borderTopStyle-TableOfContentsItem--hover, var(--xmlui-borderVerticalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover)))", "borderBottomStyle-TableOfContentsItem--hover": "var(--xmlui-borderBottomStyle-TableOfContentsItem--hover, var(--xmlui-borderVerticalStyle-TableOfContentsItem--hover, var(--xmlui-borderStyle-TableOfContentsItem--hover)))", "borderColor-TableOfContentsItem--hover": "var(--xmlui-borderColor-TableOfContentsItem--hover)", "borderHorizontalColor-TableOfContentsItem--hover": "var(--xmlui-borderHorizontalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover))", "borderLeftColor-TableOfContentsItem--hover": "var(--xmlui-borderLeftColor-TableOfContentsItem--hover, var(--xmlui-borderHorizontalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover)))", "borderRightColor-TableOfContentsItem--hover": "var(--xmlui-borderRightColor-TableOfContentsItem--hover, var(--xmlui-borderHorizontalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover)))", "borderVerticalColor-TableOfContentsItem--hover": "var(--xmlui-borderVerticalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover))", "borderTopColor-TableOfContentsItem--hover": "var(--xmlui-borderTopColor-TableOfContentsItem--hover, var(--xmlui-borderVerticalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover)))", "borderBottomColor-TableOfContentsItem--hover": "var(--xmlui-borderBottomColor-TableOfContentsItem--hover, var(--xmlui-borderVerticalColor-TableOfContentsItem--hover, var(--xmlui-borderColor-TableOfContentsItem--hover)))", "borderStartStartRadius-TableOfContentsItem--hover": "var(--xmlui-borderStartStartRadius-TableOfContentsItem--hover, var(--xmlui-borderRadius-TableOfContentsItem--hover))", "borderStartEndRadius-TableOfContentsItem--hover": "var(--xmlui-borderStartEndRadius-TableOfContentsItem--hover, var(--xmlui-borderRadius-TableOfContentsItem--hover))", "borderEndStartRadius-TableOfContentsItem--hover": "var(--xmlui-borderEndStartRadius-TableOfContentsItem--hover, var(--xmlui-borderRadius-TableOfContentsItem--hover))", "borderEndEndRadius-TableOfContentsItem--hover": "var(--xmlui-borderEndEndRadius-TableOfContentsItem--hover, var(--xmlui-borderRadius-TableOfContentsItem--hover))", "border-TableOfContentsItem--active": "var(--xmlui-border-TableOfContentsItem--active)", "borderHorizontal-TableOfContentsItem--active": "var(--xmlui-borderHorizontal-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active))", "borderVertical-TableOfContentsItem--active": "var(--xmlui-borderVertical-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active))", "borderLeft-TableOfContentsItem--active": "var(--xmlui-borderLeft-TableOfContentsItem--active, var(--xmlui-borderHorizontal-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active)))", "borderRight-TableOfContentsItem--active": "var(--xmlui-borderRight-TableOfContentsItem--active, var(--xmlui-borderHorizontal-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active)))", "borderTop-TableOfContentsItem--active": "var(--xmlui-borderTop-TableOfContentsItem--active, var(--xmlui-borderVertical-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active)))", "borderBottom-TableOfContentsItem--active": "var(--xmlui-borderBottom-TableOfContentsItem--active, var(--xmlui-borderVertical-TableOfContentsItem--active, var(--xmlui-border-TableOfContentsItem--active)))", "borderWidth-TableOfContentsItem--active": "var(--xmlui-borderWidth-TableOfContentsItem--active)", "borderHorizontalWidth-TableOfContentsItem--active": "var(--xmlui-borderHorizontalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active))", "borderLeftWidth-TableOfContentsItem--active": "var(--xmlui-borderLeftWidth-TableOfContentsItem--active, var(--xmlui-borderHorizontalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active)))", "borderRightWidth-TableOfContentsItem--active": "var(--xmlui-borderRightWidth-TableOfContentsItem--active, var(--xmlui-borderHorizontalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active)))", "borderVerticalWidth-TableOfContentsItem--active": "var(--xmlui-borderVerticalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active))", "borderTopWidth-TableOfContentsItem--active": "var(--xmlui-borderTopWidth-TableOfContentsItem--active, var(--xmlui-borderVerticalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active)))", "borderBottomWidth-TableOfContentsItem--active": "var(--xmlui-borderBottomWidth-TableOfContentsItem--active, var(--xmlui-borderVerticalWidth-TableOfContentsItem--active, var(--xmlui-borderWidth-TableOfContentsItem--active)))", "borderStyle-TableOfContentsItem--active": "var(--xmlui-borderStyle-TableOfContentsItem--active)", "borderHorizontalStyle-TableOfContentsItem--active": "var(--xmlui-borderHorizontalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active))", "borderLeftStyle-TableOfContentsItem--active": "var(--xmlui-borderLeftStyle-TableOfContentsItem--active, var(--xmlui-borderHorizontalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active)))", "borderRightStyle-TableOfContentsItem--active": "var(--xmlui-borderRightStyle-TableOfContentsItem--active, var(--xmlui-borderHorizontalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active)))", "borderVerticalStyle-TableOfContentsItem--active": "var(--xmlui-borderVerticalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active))", "borderTopStyle-TableOfContentsItem--active": "var(--xmlui-borderTopStyle-TableOfContentsItem--active, var(--xmlui-borderVerticalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active)))", "borderBottomStyle-TableOfContentsItem--active": "var(--xmlui-borderBottomStyle-TableOfContentsItem--active, var(--xmlui-borderVerticalStyle-TableOfContentsItem--active, var(--xmlui-borderStyle-TableOfContentsItem--active)))", "borderColor-TableOfContentsItem--active": "var(--xmlui-borderColor-TableOfContentsItem--active)", "borderHorizontalColor-TableOfContentsItem--active": "var(--xmlui-borderHorizontalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active))", "borderLeftColor-TableOfContentsItem--active": "var(--xmlui-borderLeftColor-TableOfContentsItem--active, var(--xmlui-borderHorizontalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active)))", "borderRightColor-TableOfContentsItem--active": "var(--xmlui-borderRightColor-TableOfContentsItem--active, var(--xmlui-borderHorizontalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active)))", "borderVerticalColor-TableOfContentsItem--active": "var(--xmlui-borderVerticalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active))", "borderTopColor-TableOfContentsItem--active": "var(--xmlui-borderTopColor-TableOfContentsItem--active, var(--xmlui-borderVerticalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active)))", "borderBottomColor-TableOfContentsItem--active": "var(--xmlui-borderBottomColor-TableOfContentsItem--active, var(--xmlui-borderVerticalColor-TableOfContentsItem--active, var(--xmlui-borderColor-TableOfContentsItem--active)))", "borderStartStartRadius-TableOfContentsItem--active": "var(--xmlui-borderStartStartRadius-TableOfContentsItem--active, var(--xmlui-borderRadius-TableOfContentsItem--active))", "borderStartEndRadius-TableOfContentsItem--active": "var(--xmlui-borderStartEndRadius-TableOfContentsItem--active, var(--xmlui-borderRadius-TableOfContentsItem--active))", "borderEndStartRadius-TableOfContentsItem--active": "var(--xmlui-borderEndStartRadius-TableOfContentsItem--active, var(--xmlui-borderRadius-TableOfContentsItem--active))", "borderEndEndRadius-TableOfContentsItem--active": "var(--xmlui-borderEndEndRadius-TableOfContentsItem--active, var(--xmlui-borderRadius-TableOfContentsItem--active))", "padding-TableOfContentsItem": "var(--xmlui-padding-TableOfContentsItem)", "paddingHorizontal-TableOfContentsItem": "var(--xmlui-paddingHorizontal-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem))", "paddingVertical-TableOfContentsItem": "var(--xmlui-paddingVertical-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem))", "paddingLeft-TableOfContentsItem": "var(--xmlui-paddingLeft-TableOfContentsItem, var(--xmlui-paddingHorizontal-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem)))", "paddingRight-TableOfContentsItem": "var(--xmlui-paddingRight-TableOfContentsItem, var(--xmlui-paddingHorizontal-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem)))", "paddingTop-TableOfContentsItem": "var(--xmlui-paddingTop-TableOfContentsItem, var(--xmlui-paddingVertical-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem)))", "paddingBottom-TableOfContentsItem": "var(--xmlui-paddingBottom-TableOfContentsItem, var(--xmlui-paddingVertical-TableOfContentsItem, var(--xmlui-padding-TableOfContentsItem)))", "padding-TableOfContentsItem-level-1": "var(--xmlui-padding-TableOfContentsItem-level-1)", "paddingHorizontal-TableOfContentsItem-level-1": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1))", "paddingVertical-TableOfContentsItem-level-1": "var(--xmlui-paddingVertical-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1))", "paddingLeft-TableOfContentsItem-level-1": "var(--xmlui-paddingLeft-TableOfContentsItem-level-1, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1)))", "paddingRight-TableOfContentsItem-level-1": "var(--xmlui-paddingRight-TableOfContentsItem-level-1, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1)))", "paddingTop-TableOfContentsItem-level-1": "var(--xmlui-paddingTop-TableOfContentsItem-level-1, var(--xmlui-paddingVertical-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1)))", "paddingBottom-TableOfContentsItem-level-1": "var(--xmlui-paddingBottom-TableOfContentsItem-level-1, var(--xmlui-paddingVertical-TableOfContentsItem-level-1, var(--xmlui-padding-TableOfContentsItem-level-1)))", "textColor-TableOfContentsItem-level-1": "var(--xmlui-textColor-TableOfContentsItem-level-1)", "fontFamily-TableOfContentsItem-level-1": "var(--xmlui-fontFamily-TableOfContentsItem-level-1)", "fontSize-TableOfContentsItem-level-1": "var(--xmlui-fontSize-TableOfContentsItem-level-1)", "fontStyle-TableOfContentsItem-level-1": "var(--xmlui-fontStyle-TableOfContentsItem-level-1)", "fontVariant-TableOfContentsItem-level-1": "var(--xmlui-fontVariant-TableOfContentsItem-level-1)", "fontWeight-TableOfContentsItem-level-1": "var(--xmlui-fontWeight-TableOfContentsItem-level-1)", "fontStretch-TableOfContentsItem-level-1": "var(--xmlui-fontStretch-TableOfContentsItem-level-1)", "textDecorationLine-TableOfContentsItem-level-1": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-1)", "textDecorationColor-TableOfContentsItem-level-1": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-1)", "textDecorationStyle-TableOfContentsItem-level-1": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-1)", "textDecorationThickness-TableOfContentsItem-level-1": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-1)", "textUnderlineOffset-TableOfContentsItem-level-1": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-1)", "lineHeight-TableOfContentsItem-level-1": "var(--xmlui-lineHeight-TableOfContentsItem-level-1)", "backgroundColor-TableOfContentsItem-level-1": "var(--xmlui-backgroundColor-TableOfContentsItem-level-1)", "textTransform-TableOfContentsItem-level-1": "var(--xmlui-textTransform-TableOfContentsItem-level-1)", "letterSpacing-TableOfContentsItem-level-1": "var(--xmlui-letterSpacing-TableOfContentsItem-level-1)", "wordSpacing-TableOfContentsItem-level-1": "var(--xmlui-wordSpacing-TableOfContentsItem-level-1)", "textShadow-TableOfContentsItem-level-1": "var(--xmlui-textShadow-TableOfContentsItem-level-1)", "textIndent-TableOfContentsItem-level-1": "var(--xmlui-textIndent-TableOfContentsItem-level-1)", "textAlign-TableOfContentsItem-level-1": "var(--xmlui-textAlign-TableOfContentsItem-level-1)", "textAlignLast-TableOfContentsItem-level-1": "var(--xmlui-textAlignLast-TableOfContentsItem-level-1)", "wordBreak-TableOfContentsItem-level-1": "var(--xmlui-wordBreak-TableOfContentsItem-level-1)", "wordWrap-TableOfContentsItem-level-1": "var(--xmlui-wordWrap-TableOfContentsItem-level-1)", "direction-TableOfContentsItem-level-1": "var(--xmlui-direction-TableOfContentsItem-level-1)", "writingMode-TableOfContentsItem-level-1": "var(--xmlui-writingMode-TableOfContentsItem-level-1)", "lineBreak-TableOfContentsItem-level-1": "var(--xmlui-lineBreak-TableOfContentsItem-level-1)", "padding-TableOfContentsItem-level-2": "var(--xmlui-padding-TableOfContentsItem-level-2)", "paddingHorizontal-TableOfContentsItem-level-2": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2))", "paddingVertical-TableOfContentsItem-level-2": "var(--xmlui-paddingVertical-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2))", "paddingLeft-TableOfContentsItem-level-2": "var(--xmlui-paddingLeft-TableOfContentsItem-level-2, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2)))", "paddingRight-TableOfContentsItem-level-2": "var(--xmlui-paddingRight-TableOfContentsItem-level-2, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2)))", "paddingTop-TableOfContentsItem-level-2": "var(--xmlui-paddingTop-TableOfContentsItem-level-2, var(--xmlui-paddingVertical-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2)))", "paddingBottom-TableOfContentsItem-level-2": "var(--xmlui-paddingBottom-TableOfContentsItem-level-2, var(--xmlui-paddingVertical-TableOfContentsItem-level-2, var(--xmlui-padding-TableOfContentsItem-level-2)))", "textColor-TableOfContentsItem-level-2": "var(--xmlui-textColor-TableOfContentsItem-level-2)", "fontFamily-TableOfContentsItem-level-2": "var(--xmlui-fontFamily-TableOfContentsItem-level-2)", "fontSize-TableOfContentsItem-level-2": "var(--xmlui-fontSize-TableOfContentsItem-level-2)", "fontStyle-TableOfContentsItem-level-2": "var(--xmlui-fontStyle-TableOfContentsItem-level-2)", "fontVariant-TableOfContentsItem-level-2": "var(--xmlui-fontVariant-TableOfContentsItem-level-2)", "fontWeight-TableOfContentsItem-level-2": "var(--xmlui-fontWeight-TableOfContentsItem-level-2)", "fontStretch-TableOfContentsItem-level-2": "var(--xmlui-fontStretch-TableOfContentsItem-level-2)", "textDecorationLine-TableOfContentsItem-level-2": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-2)", "textDecorationColor-TableOfContentsItem-level-2": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-2)", "textDecorationStyle-TableOfContentsItem-level-2": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-2)", "textDecorationThickness-TableOfContentsItem-level-2": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-2)", "textUnderlineOffset-TableOfContentsItem-level-2": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-2)", "lineHeight-TableOfContentsItem-level-2": "var(--xmlui-lineHeight-TableOfContentsItem-level-2)", "backgroundColor-TableOfContentsItem-level-2": "var(--xmlui-backgroundColor-TableOfContentsItem-level-2)", "textTransform-TableOfContentsItem-level-2": "var(--xmlui-textTransform-TableOfContentsItem-level-2)", "letterSpacing-TableOfContentsItem-level-2": "var(--xmlui-letterSpacing-TableOfContentsItem-level-2)", "wordSpacing-TableOfContentsItem-level-2": "var(--xmlui-wordSpacing-TableOfContentsItem-level-2)", "textShadow-TableOfContentsItem-level-2": "var(--xmlui-textShadow-TableOfContentsItem-level-2)", "textIndent-TableOfContentsItem-level-2": "var(--xmlui-textIndent-TableOfContentsItem-level-2)", "textAlign-TableOfContentsItem-level-2": "var(--xmlui-textAlign-TableOfContentsItem-level-2)", "textAlignLast-TableOfContentsItem-level-2": "var(--xmlui-textAlignLast-TableOfContentsItem-level-2)", "wordBreak-TableOfContentsItem-level-2": "var(--xmlui-wordBreak-TableOfContentsItem-level-2)", "wordWrap-TableOfContentsItem-level-2": "var(--xmlui-wordWrap-TableOfContentsItem-level-2)", "direction-TableOfContentsItem-level-2": "var(--xmlui-direction-TableOfContentsItem-level-2)", "writingMode-TableOfContentsItem-level-2": "var(--xmlui-writingMode-TableOfContentsItem-level-2)", "lineBreak-TableOfContentsItem-level-2": "var(--xmlui-lineBreak-TableOfContentsItem-level-2)", "padding-TableOfContentsItem-level-3": "var(--xmlui-padding-TableOfContentsItem-level-3)", "paddingHorizontal-TableOfContentsItem-level-3": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3))", "paddingVertical-TableOfContentsItem-level-3": "var(--xmlui-paddingVertical-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3))", "paddingLeft-TableOfContentsItem-level-3": "var(--xmlui-paddingLeft-TableOfContentsItem-level-3, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3)))", "paddingRight-TableOfContentsItem-level-3": "var(--xmlui-paddingRight-TableOfContentsItem-level-3, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3)))", "paddingTop-TableOfContentsItem-level-3": "var(--xmlui-paddingTop-TableOfContentsItem-level-3, var(--xmlui-paddingVertical-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3)))", "paddingBottom-TableOfContentsItem-level-3": "var(--xmlui-paddingBottom-TableOfContentsItem-level-3, var(--xmlui-paddingVertical-TableOfContentsItem-level-3, var(--xmlui-padding-TableOfContentsItem-level-3)))", "textColor-TableOfContentsItem-level-3": "var(--xmlui-textColor-TableOfContentsItem-level-3)", "fontFamily-TableOfContentsItem-level-3": "var(--xmlui-fontFamily-TableOfContentsItem-level-3)", "fontSize-TableOfContentsItem-level-3": "var(--xmlui-fontSize-TableOfContentsItem-level-3)", "fontStyle-TableOfContentsItem-level-3": "var(--xmlui-fontStyle-TableOfContentsItem-level-3)", "fontVariant-TableOfContentsItem-level-3": "var(--xmlui-fontVariant-TableOfContentsItem-level-3)", "fontWeight-TableOfContentsItem-level-3": "var(--xmlui-fontWeight-TableOfContentsItem-level-3)", "fontStretch-TableOfContentsItem-level-3": "var(--xmlui-fontStretch-TableOfContentsItem-level-3)", "textDecorationLine-TableOfContentsItem-level-3": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-3)", "textDecorationColor-TableOfContentsItem-level-3": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-3)", "textDecorationStyle-TableOfContentsItem-level-3": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-3)", "textDecorationThickness-TableOfContentsItem-level-3": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-3)", "textUnderlineOffset-TableOfContentsItem-level-3": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-3)", "lineHeight-TableOfContentsItem-level-3": "var(--xmlui-lineHeight-TableOfContentsItem-level-3)", "backgroundColor-TableOfContentsItem-level-3": "var(--xmlui-backgroundColor-TableOfContentsItem-level-3)", "textTransform-TableOfContentsItem-level-3": "var(--xmlui-textTransform-TableOfContentsItem-level-3)", "letterSpacing-TableOfContentsItem-level-3": "var(--xmlui-letterSpacing-TableOfContentsItem-level-3)", "wordSpacing-TableOfContentsItem-level-3": "var(--xmlui-wordSpacing-TableOfContentsItem-level-3)", "textShadow-TableOfContentsItem-level-3": "var(--xmlui-textShadow-TableOfContentsItem-level-3)", "textIndent-TableOfContentsItem-level-3": "var(--xmlui-textIndent-TableOfContentsItem-level-3)", "textAlign-TableOfContentsItem-level-3": "var(--xmlui-textAlign-TableOfContentsItem-level-3)", "textAlignLast-TableOfContentsItem-level-3": "var(--xmlui-textAlignLast-TableOfContentsItem-level-3)", "wordBreak-TableOfContentsItem-level-3": "var(--xmlui-wordBreak-TableOfContentsItem-level-3)", "wordWrap-TableOfContentsItem-level-3": "var(--xmlui-wordWrap-TableOfContentsItem-level-3)", "direction-TableOfContentsItem-level-3": "var(--xmlui-direction-TableOfContentsItem-level-3)", "writingMode-TableOfContentsItem-level-3": "var(--xmlui-writingMode-TableOfContentsItem-level-3)", "lineBreak-TableOfContentsItem-level-3": "var(--xmlui-lineBreak-TableOfContentsItem-level-3)", "padding-TableOfContentsItem-level-4": "var(--xmlui-padding-TableOfContentsItem-level-4)", "paddingHorizontal-TableOfContentsItem-level-4": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4))", "paddingVertical-TableOfContentsItem-level-4": "var(--xmlui-paddingVertical-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4))", "paddingLeft-TableOfContentsItem-level-4": "var(--xmlui-paddingLeft-TableOfContentsItem-level-4, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4)))", "paddingRight-TableOfContentsItem-level-4": "var(--xmlui-paddingRight-TableOfContentsItem-level-4, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4)))", "paddingTop-TableOfContentsItem-level-4": "var(--xmlui-paddingTop-TableOfContentsItem-level-4, var(--xmlui-paddingVertical-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4)))", "paddingBottom-TableOfContentsItem-level-4": "var(--xmlui-paddingBottom-TableOfContentsItem-level-4, var(--xmlui-paddingVertical-TableOfContentsItem-level-4, var(--xmlui-padding-TableOfContentsItem-level-4)))", "textColor-TableOfContentsItem-level-4": "var(--xmlui-textColor-TableOfContentsItem-level-4)", "fontFamily-TableOfContentsItem-level-4": "var(--xmlui-fontFamily-TableOfContentsItem-level-4)", "fontSize-TableOfContentsItem-level-4": "var(--xmlui-fontSize-TableOfContentsItem-level-4)", "fontStyle-TableOfContentsItem-level-4": "var(--xmlui-fontStyle-TableOfContentsItem-level-4)", "fontVariant-TableOfContentsItem-level-4": "var(--xmlui-fontVariant-TableOfContentsItem-level-4)", "fontWeight-TableOfContentsItem-level-4": "var(--xmlui-fontWeight-TableOfContentsItem-level-4)", "fontStretch-TableOfContentsItem-level-4": "var(--xmlui-fontStretch-TableOfContentsItem-level-4)", "textDecorationLine-TableOfContentsItem-level-4": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-4)", "textDecorationColor-TableOfContentsItem-level-4": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-4)", "textDecorationStyle-TableOfContentsItem-level-4": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-4)", "textDecorationThickness-TableOfContentsItem-level-4": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-4)", "textUnderlineOffset-TableOfContentsItem-level-4": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-4)", "lineHeight-TableOfContentsItem-level-4": "var(--xmlui-lineHeight-TableOfContentsItem-level-4)", "backgroundColor-TableOfContentsItem-level-4": "var(--xmlui-backgroundColor-TableOfContentsItem-level-4)", "textTransform-TableOfContentsItem-level-4": "var(--xmlui-textTransform-TableOfContentsItem-level-4)", "letterSpacing-TableOfContentsItem-level-4": "var(--xmlui-letterSpacing-TableOfContentsItem-level-4)", "wordSpacing-TableOfContentsItem-level-4": "var(--xmlui-wordSpacing-TableOfContentsItem-level-4)", "textShadow-TableOfContentsItem-level-4": "var(--xmlui-textShadow-TableOfContentsItem-level-4)", "textIndent-TableOfContentsItem-level-4": "var(--xmlui-textIndent-TableOfContentsItem-level-4)", "textAlign-TableOfContentsItem-level-4": "var(--xmlui-textAlign-TableOfContentsItem-level-4)", "textAlignLast-TableOfContentsItem-level-4": "var(--xmlui-textAlignLast-TableOfContentsItem-level-4)", "wordBreak-TableOfContentsItem-level-4": "var(--xmlui-wordBreak-TableOfContentsItem-level-4)", "wordWrap-TableOfContentsItem-level-4": "var(--xmlui-wordWrap-TableOfContentsItem-level-4)", "direction-TableOfContentsItem-level-4": "var(--xmlui-direction-TableOfContentsItem-level-4)", "writingMode-TableOfContentsItem-level-4": "var(--xmlui-writingMode-TableOfContentsItem-level-4)", "lineBreak-TableOfContentsItem-level-4": "var(--xmlui-lineBreak-TableOfContentsItem-level-4)", "padding-TableOfContentsItem-level-5": "var(--xmlui-padding-TableOfContentsItem-level-5)", "paddingHorizontal-TableOfContentsItem-level-5": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5))", "paddingVertical-TableOfContentsItem-level-5": "var(--xmlui-paddingVertical-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5))", "paddingLeft-TableOfContentsItem-level-5": "var(--xmlui-paddingLeft-TableOfContentsItem-level-5, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5)))", "paddingRight-TableOfContentsItem-level-5": "var(--xmlui-paddingRight-TableOfContentsItem-level-5, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5)))", "paddingTop-TableOfContentsItem-level-5": "var(--xmlui-paddingTop-TableOfContentsItem-level-5, var(--xmlui-paddingVertical-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5)))", "paddingBottom-TableOfContentsItem-level-5": "var(--xmlui-paddingBottom-TableOfContentsItem-level-5, var(--xmlui-paddingVertical-TableOfContentsItem-level-5, var(--xmlui-padding-TableOfContentsItem-level-5)))", "textColor-TableOfContentsItem-level-5": "var(--xmlui-textColor-TableOfContentsItem-level-5)", "fontFamily-TableOfContentsItem-level-5": "var(--xmlui-fontFamily-TableOfContentsItem-level-5)", "fontSize-TableOfContentsItem-level-5": "var(--xmlui-fontSize-TableOfContentsItem-level-5)", "fontStyle-TableOfContentsItem-level-5": "var(--xmlui-fontStyle-TableOfContentsItem-level-5)", "fontVariant-TableOfContentsItem-level-5": "var(--xmlui-fontVariant-TableOfContentsItem-level-5)", "fontWeight-TableOfContentsItem-level-5": "var(--xmlui-fontWeight-TableOfContentsItem-level-5)", "fontStretch-TableOfContentsItem-level-5": "var(--xmlui-fontStretch-TableOfContentsItem-level-5)", "textDecorationLine-TableOfContentsItem-level-5": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-5)", "textDecorationColor-TableOfContentsItem-level-5": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-5)", "textDecorationStyle-TableOfContentsItem-level-5": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-5)", "textDecorationThickness-TableOfContentsItem-level-5": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-5)", "textUnderlineOffset-TableOfContentsItem-level-5": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-5)", "lineHeight-TableOfContentsItem-level-5": "var(--xmlui-lineHeight-TableOfContentsItem-level-5)", "backgroundColor-TableOfContentsItem-level-5": "var(--xmlui-backgroundColor-TableOfContentsItem-level-5)", "textTransform-TableOfContentsItem-level-5": "var(--xmlui-textTransform-TableOfContentsItem-level-5)", "letterSpacing-TableOfContentsItem-level-5": "var(--xmlui-letterSpacing-TableOfContentsItem-level-5)", "wordSpacing-TableOfContentsItem-level-5": "var(--xmlui-wordSpacing-TableOfContentsItem-level-5)", "textShadow-TableOfContentsItem-level-5": "var(--xmlui-textShadow-TableOfContentsItem-level-5)", "textIndent-TableOfContentsItem-level-5": "var(--xmlui-textIndent-TableOfContentsItem-level-5)", "textAlign-TableOfContentsItem-level-5": "var(--xmlui-textAlign-TableOfContentsItem-level-5)", "textAlignLast-TableOfContentsItem-level-5": "var(--xmlui-textAlignLast-TableOfContentsItem-level-5)", "wordBreak-TableOfContentsItem-level-5": "var(--xmlui-wordBreak-TableOfContentsItem-level-5)", "wordWrap-TableOfContentsItem-level-5": "var(--xmlui-wordWrap-TableOfContentsItem-level-5)", "direction-TableOfContentsItem-level-5": "var(--xmlui-direction-TableOfContentsItem-level-5)", "writingMode-TableOfContentsItem-level-5": "var(--xmlui-writingMode-TableOfContentsItem-level-5)", "lineBreak-TableOfContentsItem-level-5": "var(--xmlui-lineBreak-TableOfContentsItem-level-5)", "padding-TableOfContentsItem-level-6": "var(--xmlui-padding-TableOfContentsItem-level-6)", "paddingHorizontal-TableOfContentsItem-level-6": "var(--xmlui-paddingHorizontal-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6))", "paddingVertical-TableOfContentsItem-level-6": "var(--xmlui-paddingVertical-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6))", "paddingLeft-TableOfContentsItem-level-6": "var(--xmlui-paddingLeft-TableOfContentsItem-level-6, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6)))", "paddingRight-TableOfContentsItem-level-6": "var(--xmlui-paddingRight-TableOfContentsItem-level-6, var(--xmlui-paddingHorizontal-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6)))", "paddingTop-TableOfContentsItem-level-6": "var(--xmlui-paddingTop-TableOfContentsItem-level-6, var(--xmlui-paddingVertical-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6)))", "paddingBottom-TableOfContentsItem-level-6": "var(--xmlui-paddingBottom-TableOfContentsItem-level-6, var(--xmlui-paddingVertical-TableOfContentsItem-level-6, var(--xmlui-padding-TableOfContentsItem-level-6)))", "textColor-TableOfContentsItem-level-6": "var(--xmlui-textColor-TableOfContentsItem-level-6)", "fontFamily-TableOfContentsItem-level-6": "var(--xmlui-fontFamily-TableOfContentsItem-level-6)", "fontSize-TableOfContentsItem-level-6": "var(--xmlui-fontSize-TableOfContentsItem-level-6)", "fontStyle-TableOfContentsItem-level-6": "var(--xmlui-fontStyle-TableOfContentsItem-level-6)", "fontVariant-TableOfContentsItem-level-6": "var(--xmlui-fontVariant-TableOfContentsItem-level-6)", "fontWeight-TableOfContentsItem-level-6": "var(--xmlui-fontWeight-TableOfContentsItem-level-6)", "fontStretch-TableOfContentsItem-level-6": "var(--xmlui-fontStretch-TableOfContentsItem-level-6)", "textDecorationLine-TableOfContentsItem-level-6": "var(--xmlui-textDecorationLine-TableOfContentsItem-level-6)", "textDecorationColor-TableOfContentsItem-level-6": "var(--xmlui-textDecorationColor-TableOfContentsItem-level-6)", "textDecorationStyle-TableOfContentsItem-level-6": "var(--xmlui-textDecorationStyle-TableOfContentsItem-level-6)", "textDecorationThickness-TableOfContentsItem-level-6": "var(--xmlui-textDecorationThickness-TableOfContentsItem-level-6)", "textUnderlineOffset-TableOfContentsItem-level-6": "var(--xmlui-textUnderlineOffset-TableOfContentsItem-level-6)", "lineHeight-TableOfContentsItem-level-6": "var(--xmlui-lineHeight-TableOfContentsItem-level-6)", "backgroundColor-TableOfContentsItem-level-6": "var(--xmlui-backgroundColor-TableOfContentsItem-level-6)", "textTransform-TableOfContentsItem-level-6": "var(--xmlui-textTransform-TableOfContentsItem-level-6)", "letterSpacing-TableOfContentsItem-level-6": "var(--xmlui-letterSpacing-TableOfContentsItem-level-6)", "wordSpacing-TableOfContentsItem-level-6": "var(--xmlui-wordSpacing-TableOfContentsItem-level-6)", "textShadow-TableOfContentsItem-level-6": "var(--xmlui-textShadow-TableOfContentsItem-level-6)", "textIndent-TableOfContentsItem-level-6": "var(--xmlui-textIndent-TableOfContentsItem-level-6)", "textAlign-TableOfContentsItem-level-6": "var(--xmlui-textAlign-TableOfContentsItem-level-6)", "textAlignLast-TableOfContentsItem-level-6": "var(--xmlui-textAlignLast-TableOfContentsItem-level-6)", "wordBreak-TableOfContentsItem-level-6": "var(--xmlui-wordBreak-TableOfContentsItem-level-6)", "wordWrap-TableOfContentsItem-level-6": "var(--xmlui-wordWrap-TableOfContentsItem-level-6)", "direction-TableOfContentsItem-level-6": "var(--xmlui-direction-TableOfContentsItem-level-6)", "writingMode-TableOfContentsItem-level-6": "var(--xmlui-writingMode-TableOfContentsItem-level-6)", "lineBreak-TableOfContentsItem-level-6": "var(--xmlui-lineBreak-TableOfContentsItem-level-6)", "marginTop-TableOfContents": "var(--xmlui-marginTop-TableOfContents)", "marginBottom-TableOfContents": "var(--xmlui-marginBottom-TableOfContents)", "backgroundColor-TableOfContentsItem--hover": "var(--xmlui-backgroundColor-TableOfContentsItem--hover)", "fontWeight-TableOfContentsItem--hover": "var(--xmlui-fontWeight-TableOfContentsItem--hover)", "textColor-TableOfContentsItem--hover": "var(--xmlui-textColor-TableOfContentsItem--hover)", "fontWeight-TableOfContentsItem-level-1--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-1--hover)", "fontWeight-TableOfContentsItem-level-2--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-2--hover)", "fontWeight-TableOfContentsItem-level-3--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-3--hover)", "fontWeight-TableOfContentsItem-level-4--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-4--hover)", "fontWeight-TableOfContentsItem-level-5--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-5--hover)", "fontWeight-TableOfContentsItem-level-6--hover": "var(--xmlui-fontWeight-TableOfContentsItem-level-6--hover)", "backgroundColor-TableOfContentsItem--active": "var(--xmlui-backgroundColor-TableOfContentsItem--active)", "color-TableOfContentsItem--active": "var(--xmlui-color-TableOfContentsItem--active)", "fontWeight-TableOfContentsItem--active": "var(--xmlui-fontWeight-TableOfContentsItem--active)", "fontWeight-TableOfContentsItem-level-1--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-1--active)", "fontWeight-TableOfContentsItem-level-2--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-2--active)", "fontWeight-TableOfContentsItem-level-3--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-3--active)", "fontWeight-TableOfContentsItem-level-4--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-4--active)", "fontWeight-TableOfContentsItem-level-5--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-5--active)", "fontWeight-TableOfContentsItem-level-6--active": "var(--xmlui-fontWeight-TableOfContentsItem-level-6--active)"}'`},ts="TableOfContents",br="TableOfContentsItem",rb={status:"experimental",description:`The \`${ts}\` component collects headings and bookmarks within the current page and displays them in a tree representing their hierarchy. When you select an item in this tree, the component navigates the page to the selected position.`,props:{smoothScrolling:{description:"This property indicates that smooth scrolling is used while scrolling the selected table of contents items into view.",valueType:"boolean",defaultValue:"false"},maxHeadingLevel:{description:"Defines the maximum heading level (1 to 6) to include in the table of contents. For example, if it is 2, then `H1` and `H2` are displayed, but lower levels (`H3` to `H6`) are not.",valueType:"number",defaultValue:"6"}},themeVars:Y(tb.themeVars),defaultThemeVars:{[`padding-${ts}`]:"$space-2",[`textColor-${br}`]:"$color-secondary-500",[`textColor-${br}--hover`]:"$textColor-primary",[`fontSize-${br}`]:"$fontSize-small",[`wordWrap-${br}`]:"break-word",[`paddingVertical-${br}`]:"$space-1",[`paddingHorizontal-${br}`]:"$space-1",[`fontWeight-${br}`]:"$fontWeight-bold",[`fontStyle-${br}-level-6`]:"italic",[`color-${br}--active`]:"$color-primary-500"}},rs={themeVars:`'{"border-Accordion": "var(--xmlui-border-Accordion)", "borderHorizontal-Accordion": "var(--xmlui-borderHorizontal-Accordion, var(--xmlui-border-Accordion))", "borderVertical-Accordion": "var(--xmlui-borderVertical-Accordion, var(--xmlui-border-Accordion))", "borderLeft-Accordion": "var(--xmlui-borderLeft-Accordion, var(--xmlui-borderHorizontal-Accordion, var(--xmlui-border-Accordion)))", "borderRight-Accordion": "var(--xmlui-borderRight-Accordion, var(--xmlui-borderHorizontal-Accordion, var(--xmlui-border-Accordion)))", "borderTop-Accordion": "var(--xmlui-borderTop-Accordion, var(--xmlui-borderVertical-Accordion, var(--xmlui-border-Accordion)))", "borderBottom-Accordion": "var(--xmlui-borderBottom-Accordion, var(--xmlui-borderVertical-Accordion, var(--xmlui-border-Accordion)))", "borderWidth-Accordion": "var(--xmlui-borderWidth-Accordion)", "borderHorizontalWidth-Accordion": "var(--xmlui-borderHorizontalWidth-Accordion, var(--xmlui-borderWidth-Accordion))", "borderLeftWidth-Accordion": "var(--xmlui-borderLeftWidth-Accordion, var(--xmlui-borderHorizontalWidth-Accordion, var(--xmlui-borderWidth-Accordion)))", "borderRightWidth-Accordion": "var(--xmlui-borderRightWidth-Accordion, var(--xmlui-borderHorizontalWidth-Accordion, var(--xmlui-borderWidth-Accordion)))", "borderVerticalWidth-Accordion": "var(--xmlui-borderVerticalWidth-Accordion, var(--xmlui-borderWidth-Accordion))", "borderTopWidth-Accordion": "var(--xmlui-borderTopWidth-Accordion, var(--xmlui-borderVerticalWidth-Accordion, var(--xmlui-borderWidth-Accordion)))", "borderBottomWidth-Accordion": "var(--xmlui-borderBottomWidth-Accordion, var(--xmlui-borderVerticalWidth-Accordion, var(--xmlui-borderWidth-Accordion)))", "borderStyle-Accordion": "var(--xmlui-borderStyle-Accordion)", "borderHorizontalStyle-Accordion": "var(--xmlui-borderHorizontalStyle-Accordion, var(--xmlui-borderStyle-Accordion))", "borderLeftStyle-Accordion": "var(--xmlui-borderLeftStyle-Accordion, var(--xmlui-borderHorizontalStyle-Accordion, var(--xmlui-borderStyle-Accordion)))", "borderRightStyle-Accordion": "var(--xmlui-borderRightStyle-Accordion, var(--xmlui-borderHorizontalStyle-Accordion, var(--xmlui-borderStyle-Accordion)))", "borderVerticalStyle-Accordion": "var(--xmlui-borderVerticalStyle-Accordion, var(--xmlui-borderStyle-Accordion))", "borderTopStyle-Accordion": "var(--xmlui-borderTopStyle-Accordion, var(--xmlui-borderVerticalStyle-Accordion, var(--xmlui-borderStyle-Accordion)))", "borderBottomStyle-Accordion": "var(--xmlui-borderBottomStyle-Accordion, var(--xmlui-borderVerticalStyle-Accordion, var(--xmlui-borderStyle-Accordion)))", "borderColor-Accordion": "var(--xmlui-borderColor-Accordion)", "borderHorizontalColor-Accordion": "var(--xmlui-borderHorizontalColor-Accordion, var(--xmlui-borderColor-Accordion))", "borderLeftColor-Accordion": "var(--xmlui-borderLeftColor-Accordion, var(--xmlui-borderHorizontalColor-Accordion, var(--xmlui-borderColor-Accordion)))", "borderRightColor-Accordion": "var(--xmlui-borderRightColor-Accordion, var(--xmlui-borderHorizontalColor-Accordion, var(--xmlui-borderColor-Accordion)))", "borderVerticalColor-Accordion": "var(--xmlui-borderVerticalColor-Accordion, var(--xmlui-borderColor-Accordion))", "borderTopColor-Accordion": "var(--xmlui-borderTopColor-Accordion, var(--xmlui-borderVerticalColor-Accordion, var(--xmlui-borderColor-Accordion)))", "borderBottomColor-Accordion": "var(--xmlui-borderBottomColor-Accordion, var(--xmlui-borderVerticalColor-Accordion, var(--xmlui-borderColor-Accordion)))", "borderStartStartRadius-Accordion": "var(--xmlui-borderStartStartRadius-Accordion, var(--xmlui-borderRadius-Accordion))", "borderStartEndRadius-Accordion": "var(--xmlui-borderStartEndRadius-Accordion, var(--xmlui-borderRadius-Accordion))", "borderEndStartRadius-Accordion": "var(--xmlui-borderEndStartRadius-Accordion, var(--xmlui-borderRadius-Accordion))", "borderEndEndRadius-Accordion": "var(--xmlui-borderEndEndRadius-Accordion, var(--xmlui-borderRadius-Accordion))", "padding-Accordion": "var(--xmlui-padding-Accordion)", "paddingHorizontal-Accordion": "var(--xmlui-paddingHorizontal-Accordion, var(--xmlui-padding-Accordion))", "paddingVertical-Accordion": "var(--xmlui-paddingVertical-Accordion, var(--xmlui-padding-Accordion))", "paddingLeft-Accordion": "var(--xmlui-paddingLeft-Accordion, var(--xmlui-paddingHorizontal-Accordion, var(--xmlui-padding-Accordion)))", "paddingRight-Accordion": "var(--xmlui-paddingRight-Accordion, var(--xmlui-paddingHorizontal-Accordion, var(--xmlui-padding-Accordion)))", "paddingTop-Accordion": "var(--xmlui-paddingTop-Accordion, var(--xmlui-paddingVertical-Accordion, var(--xmlui-padding-Accordion)))", "paddingBottom-Accordion": "var(--xmlui-paddingBottom-Accordion, var(--xmlui-paddingVertical-Accordion, var(--xmlui-padding-Accordion)))", "borderRadius-Accordion": "var(--xmlui-borderRadius-Accordion)", "verticalAlign-header-Accordion": "var(--xmlui-verticalAlign-header-Accordion)", "fontSize-header-Accordion": "var(--xmlui-fontSize-header-Accordion)", "fontWeight-header-Accordion": "var(--xmlui-fontWeight-header-Accordion)", "fontStyle-header-Accordion": "var(--xmlui-fontStyle-header-Accordion)", "paddingVertical-header-Accordion": "var(--xmlui-paddingVertical-header-Accordion)", "paddingHorizontal-header-Accordion": "var(--xmlui-paddingHorizontal-header-Accordion)", "backgroundColor-header-Accordion": "var(--xmlui-backgroundColor-header-Accordion)", "color-header-Accordion": "var(--xmlui-color-header-Accordion)", "backgroundColor-header-Accordion-hover": "var(--xmlui-backgroundColor-header-Accordion-hover)", "color-content-Accordion": "var(--xmlui-color-content-Accordion)", "backgroundColor-content-Accordion": "var(--xmlui-backgroundColor-content-Accordion)", "width-icon-Accordion": "var(--xmlui-width-icon-Accordion)", "height-icon-Accordion": "var(--xmlui-height-icon-Accordion)", "color-icon-Accordion": "var(--xmlui-color-icon-Accordion)"}'`,root:"_root_1usiy_13"},ob=s.createContext({expandedItems:null,rotateExpanded:null,expandItem:ae,register:ae,unRegister:ae,hideIcon:null,expandedIcon:null,collapsedIcon:null,triggerPosition:null}),Ar={hideIcon:!1,collapsedIcon:"chevrondown",triggerPosition:"end",rotateExpanded:"180deg"};s.forwardRef(function({style:t,children:r,hideIcon:o=Ar.hideIcon,expandedIcon:a,collapsedIcon:l=Ar.collapsedIcon,triggerPosition:i=Ar.triggerPosition,onDisplayDidChange:n=ae,registerComponentApi:c,rotateExpanded:b=Ar.rotateExpanded},h){const[p,C]=s.useState([]),[v,g]=s.useState(new Set),T=s.useCallback(E=>{C(j=>j.filter(U=>U!==`${E}`))},[C]),y=s.useCallback(E=>{p.includes(`${E}`)||C(j=>[...j,`${E}`])},[C,p]),$=s.useCallback(E=>{p.includes(`${E}`)?T(E):y(E)},[T,y,p]),w=s.useCallback(E=>{g(j=>(j.add(E),j))},[g]),_=s.useCallback(E=>{g(j=>(j.delete(E),j))},[g]),A=s.useCallback(E=>{if(v.has(`trigger_${E}`)){const j=document.getElementById(`trigger_${E}`);j&&j.focus()}},[v]),P=s.useCallback(E=>p.includes(`${E}`),[p]);s.useEffect(()=>{c==null||c({expanded:P,expand:y,collapse:T,toggle:$,focus:A})},[c,y,T,$,A,P]);const Z=s.useMemo(()=>({register:w,unRegister:_,expandItem:y,expandedItems:p,hideIcon:o,expandedIcon:a,collapsedIcon:l,triggerPosition:i,rotateExpanded:b}),[w,_,p,o,a,l,i,y,b]);return s.useEffect(()=>{n==null||n(p)},[p,n]),d.jsx(ob.Provider,{value:Z,children:d.jsx(ws.Root,{style:t,ref:h,value:p,type:"multiple",className:rs.root,onValueChange:E=>C(E),children:r})})});const Re="Accordion",ab={status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${Re}\` component is a collapsible container that toggles the display of content sections. It helps organize information by expanding or collapsing it based on user interaction.`,props:{triggerPosition:{description:"This property indicates the position where the trigger icon should be displayed. The `start` value signs the trigger is before the header text (template), and `end` indicates that it follows the header.",defaultValue:Ar.triggerPosition,valueType:"string",availableValues:Ls},collapsedIcon:{description:"This property is the name of the icon that is displayed when the accordion is collapsed.",valueType:"string",defaultValue:Ar.collapsedIcon},expandedIcon:{description:"This property is the name of the icon that is displayed when the accordion is expanded.",valueType:"string"},hideIcon:{description:"This property indicates that the trigger icon is not displayed (`true`).",defaultValue:Ar.hideIcon,valueType:"boolean"},rotateExpanded:{description:"This optional property defines the rotation angle of the expanded icon (relative to the collapsed icon).",valueType:"string",defaultValue:Ar.rotateExpanded}},events:{displayDidChange:at(Re)},apis:{expanded:Ws(Re),expand:Ns(Re),collapse:zs(Re),toggle:m(`This method toggles the state of the ${Re} between expanded and collapsed.`),focus:Jt(Re)},themeVars:Y(rs.themeVars),defaultThemeVars:{[`paddingHorizontal-header-${Re}`]:"$space-3",[`paddingVertical-header-${Re}`]:"$space-3",[`verticalAlign-header-${Re}`]:"center",[`fontSize-header-${Re}`]:"$fontSize-normal",[`fontWeight-header-${Re}`]:"$fontWeight-normal",[`fontFamily-header-${Re}`]:"$fontFamily",[`border-${Re}`]:"0px solid $borderColor",[`width-icon-${Re}`]:"",[`height-icon-${Re}`]:"",[`backgroundColor-header-${Re}`]:"$color-primary-500",[`backgroundColor-header-${Re}-hover`]:"$color-primary-400",[`color-header-${Re}`]:"$color-surface-50",[`color-content-${Re}`]:"$textColor-primary",[`backgroundColor-content-${Re}`]:"transparent",[`color-icon-${Re}`]:"$color-surface-50"}},os="TabItem",ib={description:`\`${os}\` is a non-visual component describing a tab. Tabs component may use nested ${os} instances from which the user can select.`,props:{label:qe()}},we="Slider",lb={status:"experimental",description:`The \`${we}\` component allows you to select a numeric value between a range specified by minimum and maximum values.`,props:{initialValue:Tt(),label:qe(),labelPosition:gt("top"),labelWidth:_t(we),labelBreak:Vt(we),minValue:m("This property specifies the minimum value of the allowed input range.",null,"number",0),maxValue:m("This property specifies the maximum value of the allowed input range.",null,"number",10),step:m("This property defines the increment value for the slider, determining the allowed intervals between selectable values."),minStepsBetweenThumbs:m("This property sets the minimum number of steps required between multiple thumbs on the slider, ensuring they maintain a specified distance."),enabled:Ze(),autoFocus:it(),required:Nt(),readOnly:At(),validationStatus:Wt(),rangeStyle:m("This property allows you to apply custom styles to the range element of the slider."),thumbStyle:m("This property allows you to apply custom styles to the thumb elements of the slider."),showValues:m("This property controls whether the slider shows the current values of the thumbs.",null,"boolean",!0),valueFormat:m("This property allows you to customize how the values are displayed.",null,"any")},events:{didChange:at(we),gotFocus:vt(we),lostFocus:ft(we)},apis:{focus:Jt(we),value:ra(),setValue:Qt()},themeVars:Y(dt.themeVars),defaultThemeVars:{[`backgroundColor-track-${we}`]:"$color-surface-200",[`backgroundColor-range-${we}`]:"$color-primary",[`borderWidth-thumb-${we}`]:"2px",[`borderStyle-thumb-${we}`]:"solid",[`borderColor-thumb-${we}`]:"$color-surface-50",[`backgroundColor-thumb-${we}`]:"$color-primary",[`boxShadow-thumb-${we}`]:"$boxShadow-md",[`boxShadow-thumb-${we}--hover`]:"$boxShadow-lg",[`boxShadow-thumb-${we}--focus`]:"$boxShadow-xl",[`borderRadius-${we}-default`]:"$borderRadius",[`borderColor-${we}-default`]:"transparent",[`borderWidth-${we}-default`]:"0",[`borderStyle-${we}-default`]:"solid",[`boxShadow-${we}-default`]:"none",light:{[`backgroundColor-track-${we}--disabled`]:"$color-surface-300",[`backgroundColor-range-${we}--disabled`]:"$color-surface-400",[`backgroundColor-thumb-${we}`]:"$color-primary-500",[`borderColor-thumb-${we}`]:"$color-surface-50"},dark:{[`backgroundColor-track-${we}--disabled`]:"$color-surface-600",[`backgroundColor-range-${we}--disabled`]:"$color-surface-800",[`backgroundColor-thumb-${we}`]:"$color-primary-400",[`borderColor-thumb-${we}`]:"$color-surface-950"}}},Bt={themeVars:`'{"width-Carousel": "var(--xmlui-width-Carousel)", "height-Carousel": "var(--xmlui-height-Carousel)", "height-control-Carousel": "var(--xmlui-height-control-Carousel)", "width-control-Carousel": "var(--xmlui-width-control-Carousel)", "textColor-control-Carousel": "var(--xmlui-textColor-control-Carousel)", "backgroundColor-control-Carousel": "var(--xmlui-backgroundColor-control-Carousel)", "borderRadius-control-Carousel": "var(--xmlui-borderRadius-control-Carousel)", "backgroundColor-control-hover-Carousel": "var(--xmlui-backgroundColor-control-hover-Carousel)", "textColor-control-hover-Carousel": "var(--xmlui-textColor-control-hover-Carousel)", "backgroundColor-control-active-Carousel": "var(--xmlui-backgroundColor-control-active-Carousel)", "textColor-control-active-Carousel": "var(--xmlui-textColor-control-active-Carousel)", "textColor-control-disabled-Carousel": "var(--xmlui-textColor-control-disabled-Carousel)", "backgroundColor-control-disabled-Carousel": "var(--xmlui-backgroundColor-control-disabled-Carousel)", "width-indicator-Carousel": "var(--xmlui-width-indicator-Carousel)", "height-indicator-Carousel": "var(--xmlui-height-indicator-Carousel)", "textColor-indicator-Carousel": "var(--xmlui-textColor-indicator-Carousel)", "backgroundColor-indicator-Carousel": "var(--xmlui-backgroundColor-indicator-Carousel)", "backgroundColor-indicator-hover-Carousel": "var(--xmlui-backgroundColor-indicator-hover-Carousel)", "textColor-indicator-hover-Carousel": "var(--xmlui-textColor-indicator-hover-Carousel)", "backgroundColor-indicator-active-Carousel": "var(--xmlui-backgroundColor-indicator-active-Carousel)", "textColor-indicator-active-Carousel": "var(--xmlui-textColor-indicator-active-Carousel)"}'`,carousel:"_carousel_1jsvj_13",carouselContentWrapper:"_carouselContentWrapper_1jsvj_30",carouselContent:"_carouselContent_1jsvj_30",vertical:"_vertical_1jsvj_40",controls:"_controls_1jsvj_51",controlButton:"_controlButton_1jsvj_60",indicators:"_indicators_1jsvj_87",indicator:"_indicator_1jsvj_87",active:"_active_1jsvj_107"},nb=s.createContext({register:e=>{},unRegister:e=>{}});function sb(){const[e,t]=s.useState([]),r=s.useMemo(()=>({register:o=>{t(Nr(a=>{const l=a.findIndex(i=>i.id===o.id);l<0?a.push(o):a[l]=o}))},unRegister:o=>{t(Nr(a=>a.filter(l=>l.id!==o)))}}),[t]);return{carouselItems:e,carouselContextValue:r}}const Ke={orientation:"horizontal",indicators:!0,autoplay:!1,controls:!0,loop:!1,startIndex:0,transitionDuration:25,autoplayInterval:5e3,stopAutoplayOnInteraction:!0};s.forwardRef(function({orientation:t=Ke.orientation,children:r,style:o,indicators:a=Ke.indicators,onDisplayDidChange:l=ae,autoplay:i=Ke.autoplay,controls:n=Ke.controls,loop:c=Ke.loop,startIndex:b=Ke.startIndex,prevIcon:h,nextIcon:p,transitionDuration:C=Ke.transitionDuration,autoplayInterval:v=Ke.autoplayInterval,stopAutoplayOnInteraction:g=Ke.stopAutoplayOnInteraction,registerComponentApi:T},y){const $=s.useRef(null),[w,_]=s.useState(0),[A,P]=s.useState([]),[Z,E]=s.useState(!1),{carouselContextValue:j,carouselItems:U}=sb(),M=y?sr($,y):$,[f,x]=ys({axis:t==="horizontal"?"x":"y",loop:c,startIndex:b,duration:C},A),H=h||t==="horizontal"?"arrowleft":"arrowup",S=p||t==="horizontal"?"arrowright":"arrowdown";s.useEffect(()=>{i&&P([Hs({delay:v,stopOnInteraction:g})])},[v,i,g]);const O=s.useCallback(()=>{var ie;const N=(ie=x==null?void 0:x.plugins())==null?void 0:ie.autoplay;if(!N)return;(N.isPlaying()?N.stop:N.play)()},[x]);s.useEffect(()=>{var R;const N=(R=x==null?void 0:x.plugins())==null?void 0:R.autoplay;N&&(E(N.isPlaying()),x.on("autoplay:play",()=>E(!0)).on("autoplay:stop",()=>E(!1)).on("reInit",()=>E(N.isPlaying())))},[x]);const F=s.useCallback(N=>{x==null||x.scrollTo(N)},[x]),[W,D]=ze.useState(!1),[X,q]=ze.useState(!1),B=ze.useCallback(N=>{if(!N)return;const R=N.selectedScrollSnap();l(R),_(R),D(N.canScrollPrev()),q(N.canScrollNext())},[l]),I=s.useCallback(()=>{x&&(x==null||x.scrollPrev())},[x]),z=s.useCallback(()=>{x==null||x.scrollNext()},[x]),L=s.useCallback(N=>{t==="horizontal"?N.key==="ArrowLeft"?(N.preventDefault(),I()):N.key==="ArrowRight"&&(N.preventDefault(),z()):N.key==="ArrowUp"?(N.preventDefault(),I()):N.key==="ArrowDown"&&(N.preventDefault(),z())},[t,I,z]);return s.useEffect(()=>{T==null||T({scrollTo:F,scrollPrev:I,scrollNext:z,canScrollPrev:()=>W,canScrollNext:()=>X})},[T,F,I,z,W,X]),ze.useEffect(()=>{if(x)return B(x),x.on("init",B),x.on("reInit",B),x.on("select",B),()=>{x==null||x.off("select",B)}},[x,B]),s.useEffect(()=>{$!=null&&$.current&&$.current.addEventListener("keydown",L)},[M,L]),d.jsx(nb.Provider,{value:j,children:d.jsxs("div",{style:o,ref:M,className:re(Bt.carousel),role:"region",tabIndex:-1,"aria-roledescription":"carousel",children:[d.jsx("div",{ref:f,className:Bt.carouselContentWrapper,children:d.jsx("div",{className:re(Bt.carouselContent,{[Bt.horizontal]:t==="horizontal",[Bt.vertical]:t==="vertical"}),children:r})}),n&&d.jsxs("div",{className:Bt.controls,children:[i&&d.jsx("button",{className:Bt.controlButton,onClick:O,children:Z?d.jsx(ce,{name:"pause"}):d.jsx(ce,{name:"play"})}),d.jsx("button",{className:Bt.controlButton,disabled:!W,onClick:I,children:d.jsx(ce,{name:H})}),d.jsx("button",{className:Bt.controlButton,onClick:z,disabled:!X,children:d.jsx(ce,{name:S})})]}),a&&d.jsx("div",{className:Bt.indicators,children:U.map((N,R)=>d.jsx("button",{type:"button",onClick:()=>F(R),className:re(Bt.indicator,{[Bt.active]:R===w}),"aria-current":R===w},R))})]})})});const De="Carousel",db={status:"in progress",description:"This component displays a slideshow by cycling through elements (images, text, or custom slides) like a carousel.",props:{orientation:{description:"This property indicates the orientation of the carousel. The `horizontal` value indicates that the carousel moves horizontally, and the `vertical` value indicates that the carousel moves vertically.",availableValues:ea,valueType:"string",defaultValue:Ke.orientation},indicators:{description:"This property indicates whether the carousel displays the indicators.",valueType:"boolean",defaultValue:Ke.indicators},controls:{description:"This property indicates whether the carousel displays the controls.",valueType:"boolean",defaultValue:Ke.controls},autoplay:{description:"This property indicates whether the carousel automatically scrolls.",valueType:"boolean",defaultValue:Ke.autoplay},loop:{description:"This property indicates whether the carousel loops.",valueType:"boolean",defaultValue:Ke.loop},startIndex:{description:"This property indicates the index of the first slide to display.",valueType:"number",defaultValue:Ke.startIndex},transitionDuration:{description:"This property indicates the duration of the transition between slides.",valueType:"number",defaultValue:Ke.transitionDuration},autoplayInterval:{description:"This property specifies the interval between autoplay transitions.",valueType:"number",defaultValue:Ke.autoplayInterval},stopAutoplayOnInteraction:{description:"This property indicates whether autoplay stops on interaction.",valueType:"boolean",defaultValue:Ke.stopAutoplayOnInteraction},prevIcon:{description:"This property specifies the icon to display for the previous control.",valueType:"string"},nextIcon:{description:"This property specifies the icon to display for the next control.",valueType:"string"},keyboard:{description:"This property indicates whether the carousel responds to keyboard events.",valueType:"boolean"}},events:{displayDidChange:at(De)},apis:{canScrollPrev:m("This method returns `true` if the carousel can scroll to the previous slide."),canScrollNext:m("This method returns `true` if the carousel can scroll to the next slide."),scrollTo:m("This method scrolls the carousel to the specified slide index."),scrollPrev:m("This method scrolls the carousel to the previous slide."),scrollNext:m("This method scrolls the carousel to the next slide.")},themeVars:Y(Bt.themeVars),themeVarDescriptions:{[`width-indicator-${De}`]:"Sets the width of the indicator."},defaultThemeVars:{[`backgroundColor-control-${De}`]:"$color-primary",[`textColor-control-${De}`]:"$textColor",[`backgroundColor-control-hover-${De}`]:"$color-primary",[`textColor-control-hover-${De}`]:"$textColor",[`backgroundColor-control-active-${De}`]:"$color-primary",[`backgroundColor-control-disabled-${De}`]:"$color-surface-200",[`textColor-control-disabled-${De}`]:"$textColor-disabled",[`textColor-control-active-${De}`]:"$color-primary",[`backgroundColor-indicator-${De}`]:"$color-surface-200",[`backgroundColor-indicator-active-${De}`]:"$color-primary",[`textColor-indicator-${De}`]:"$color-primary",[`textColor-indicator-active-${De}`]:"$color-primary",[`backgroundColor-indicator-hover-${De}`]:"$color-surface-200",[`textColor-indicator-hover-${De}`]:"$color-primary",[`width-indicator-${De}`]:"25px",[`height-indicator-${De}`]:"6px",[`height-control-${De}`]:"36px",[`width-control-${De}`]:"36px",[`borderRadius-control-${De}`]:"50%",[`height-${De}`]:"100%",[`width-${De}`]:"100%"}},ub={description:"The `Breakout` component creates a breakout section. It allows its child to occupy the entire width of the UI even if the app or the parent container constrains the maximum content width."},wi="ToneChangerButton",cb={status:"experimental",description:`The \`${wi}\` component is a component that allows the user to change the tone of the app.`,props:{lightToDarkIcon:m(`The icon displayed when the theme is in light mode and will switch to dark. You can change the default icon for all ${wi} instances with the "icon.lightToDark:ToneChangerButton" declaration in the app configuration file.`),darkToLightIcon:m(`The icon displayed when the theme is in dark mode and will switch to light. You can change the default icon for all ${wi} instances with the "icon.darkToLight:ToneChangerButton" declaration in the app configuration file.`)}},Ha="APICall",mb={description:`\`${Ha}\` is used to mutate (create, update or delete) some data on the backend. It is similar in nature to the \`DataSource\` component which retrieves data from the backend.`,props:{method:{description:"The method of data manipulation can be done via setting this property.",valueType:"string",availableValues:Fi,defaultValue:"get"},url:{description:"Use this property to set the URL to send data to.",isRequired:!0,valueType:"string"},rawBody:{description:"This property sets the request body to the value provided here without any conversion. Use the * `body` property if you want the object sent in JSON. When you define `body` and `rawBody`, the latest one prevails.",valueType:"string"},body:{description:"This property sets the request body. The object you pass here will be serialized to JSON when sending the request. Use the `rawBody` property to send another request body using its native format. When you define `body` and `rawBody`, the latest one prevails.",valueType:"string"},queryParams:{description:"This property sets the query parameters for the request. The object you pass here will be serialized to a query string and appended to the request URL. You can specify key and value pairs where the key is the name of a particular query parameter and the value is that parameter's value."},headers:{description:"You can define request header values as key and value pairs, where the key is the ID of the particular header and the value is that header's value."},confirmTitle:{description:`This optional string sets the title in the confirmation dialog that is displayed before the \`${Ha}\` is executed.`,valueType:"string"},confirmMessage:{description:`This optional string sets the message in the confirmation dialog that is displayed before the \`${Ha}\` is executed.`,valueType:"string"},confirmButtonLabel:{description:`This optional string property enables the customization of the submit button in the confirmation dialog that is displayed before the \`${Ha}\` is executed.`,valueType:"string"},inProgressNotificationMessage:{description:"This property customizes the message that is displayed in a toast while the API operation is in progress.",valueType:"string"},errorNotificationMessage:{description:"This property defines the message to display automatically when the operation results in an error.",valueType:"string"},completedNotificationMessage:{description:"This property defines the message to display automatically when the operation has been completed.",valueType:"string"},payloadType:Xe(),invalidates:Xe(),updates:Xe(),optimisticValue:Xe(),getOptimisticValue:Xe()},events:{beforeRequest:m("This event fires before the request is sent. Returning an explicit boolean`false` value will prevent the request from being sent."),success:m("This event fires when a request results in a success."),error:m("This event fires when a request results in an error."),progress:Xe()},contextVars:{$param:m("This value represents the first parameters passed to the `execute()` method to display the modal dialog."),$params:m("This value represents the array of parameters passed to the `execute()` method. You can use `$params[0]` to access the first and `$params[1]` to access the second (and so on) parameters. `$param` is the same as `$params[0]`.")},apis:{execute:m("This method triggers the invocation of the API. You can pass an arbitrary number of parameters to the method. In the `APICall` instance, you can access those with the `$param` and `$params` context values.")}},pb={description:"`Option` is a non-visual component describing a selection option. Other components (such as `Select`, `AutoComplete`, and others) may use nested `Option` instances from which the user can select.",props:{label:m("This property defines the text to display for the option. If `label` is not defined, `Option` will use the `value` as the label."),value:m("This property defines the value of the option. If `value` is not defined, `Option` will use the `label` as the value."),enabled:Ze(),optionTemplate:m("This property is used to define a custom option template")},childrenAsTemplate:"optionTemplate"},hb=s.memo(e=>{const t=gm();return t?d.jsx(t,{...e}):null});hb.displayName="OptionNative";const Fe="AutoComplete",bb={description:"This component is a dropdown with a list of options. According to the `multi` property, the user can select one or more items.",status:"experimental",props:{placeholder:Er(),initialValue:Tt(),maxLength:ta(),autoFocus:it(),required:Nt(),readOnly:At(),enabled:Ze(),creatable:m("This property allows the user to create new items that are not present in the list of options."),validationStatus:Wt(),label:qe(),labelPosition:gt("top"),labelWidth:_t(Fe),labelBreak:Vt(Fe),dropdownHeight:m("This property sets the height of the dropdown list."),multi:Gi(),optionTemplate:$e("This property enables the customization of list items. To access the attributes of a list item use the `$item` context variable."),emptyListTemplate:m("This property defines the template to display when the list of options is empty.")},events:{gotFocus:vt(Fe),lostFocus:ft(Fe),didChange:at(Fe)},apis:{focus:Jt(Fe),value:m("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Qt()},contextVars:{$item:m("This context value represents an item when you define an option item template. Use `$item.value` and `$item.label` to refer to the value and label of the particular option.")},themeVars:Y(Je.themeVars),defaultThemeVars:{[`backgroundColor-menu-${Fe}`]:"$backgroundColor-primary",[`boxShadow-menu-${Fe}`]:"$boxShadow-md",[`borderRadius-menu-${Fe}`]:"$borderRadius",[`borderWidth-menu-${Fe}`]:"1px",[`borderColor-menu-${Fe}`]:"$borderColor",[`backgroundColor-item-${Fe}`]:"$backgroundColor-dropdown-item",[`backgroundColor-item-${Fe}--hover`]:"$backgroundColor-dropdown-item--active",[`backgroundColor-item-${Fe}--active`]:"$backgroundColor-dropdown-item--active","minHeight-Input":"39px",[`backgroundColor-${Fe}-badge`]:"$color-primary-500",[`fontSize-${Fe}-badge`]:"$fontSize-small",[`paddingHorizontal-${Fe}-badge`]:"$space-2",[`paddingVertical-${Fe}-badge`]:"$space-1",[`backgroundColor-${Fe}-badge--hover`]:"$color-primary-400",[`backgroundColor-${Fe}-badge--active`]:"$color-primary-500",[`textColor-item-${Fe}--disabled`]:"$color-surface-200",[`textColor-${Fe}-badge`]:"$const-color-surface-50"}},Sa={themeVars:'"[]"',backdropContainer:"_backdropContainer_18iuc_13",backdrop:"_backdrop_18iuc_13",overlay:"_overlay_18iuc_26"},Ii={backgroundColor:"black",opacity:"0.1"};s.forwardRef(function({style:t,children:r,overlayTemplate:o,backgroundColor:a=Ii.backgroundColor,opacity:l=Ii.opacity},i){const n={...t,width:void 0};return d.jsxs("div",{className:Sa.backdropContainer,style:{width:t.width??"fit-content"},ref:i,children:[r,d.jsx("div",{className:Sa.backdrop,style:{...n,backgroundColor:a,opacity:l}}),o&&d.jsx("div",{className:Sa.overlay,children:o})]})});const xb={status:"stable",description:"The `Backdrop` component is a semi-transparent overlay that appears on top of its child component to obscure or highlight the content behind it.",props:{overlayTemplate:$e("This property defines the component template for an optional overlay to display over the component."),backgroundColor:{description:"The background color of the backdrop.",valueType:"string",defaultValue:Ii.backgroundColor},opacity:{description:"The opacity of the backdrop.",valueType:"number",defaultValue:.1}},themeVars:Y(Sa.themeVars)},vb={status:"experimental",description:"This component renders an HTML `a` tag.",isHtmlTag:!0,props:{href:m("Specifies the URL of the page the link goes to"),target:m("Specifies where to open the linked document"),rel:m("Specifies the relationship between the current document and the linked document"),download:m("Indicates that the target will be downloaded when a user clicks on the hyperlink"),hreflang:m("Specifies the language of the linked document"),type:m("Specifies the MIME type of the linked document"),ping:m("Specifies a space-separated list of URLs to be notified if the user follows the hyperlink"),referrerPolicy:m("Specifies the referrer policy for the element"),disabled:m("Specifies that the link should be disabled")}},fb={status:"experimental",description:"This component renders an HTML `address` tag.",isHtmlTag:!0},gb={status:"experimental",description:"This component renders an HTML `area` tag.",isHtmlTag:!0,props:{alt:m("Specifies an alternate text for the area"),coords:m("Specifies the coordinates of the area"),download:m("Indicates that the target will be downloaded when a user clicks on the area"),href:m("Specifies the URL of the linked document"),hrefLang:m("Specifies the language of the linked document"),referrerPolicy:m("Specifies the referrer policy for the area"),rel:m("Specifies the relationship between the current document and the linked document"),shape:m("Specifies the shape of the area"),target:m("Specifies where to open the linked document"),media:m("Specifies a media query for the linked resource")}},Tb={status:"experimental",description:"This component renders an HTML `article` tag.",isHtmlTag:!0},Cb={status:"experimental",description:"This component renders an HTML `aside` tag.",isHtmlTag:!0},yb={status:"experimental",description:"This component renders an HTML `audio` tag.",isHtmlTag:!0,props:{autoPlay:m("Specifies that the audio will start playing as soon as it is ready"),controls:m("Specifies that audio controls should be displayed"),crossOrigin:m("Specifies how the element handles cross-origin requests"),loop:m("Specifies that the audio will start over again every time it is finished"),muted:m("Specifies that the audio output should be muted"),preload:m("Specifies if and how the author thinks the audio should be loaded when the page loads"),src:m("Specifies the URL of the audio file")}},Hb={status:"experimental",description:"This component renders an HTML `b` tag.",isHtmlTag:!0},Sb={status:"experimental",description:"This component renders an HTML `bdi` tag.",isHtmlTag:!0},kb={status:"experimental",description:"This component renders an HTML `bdo` tag.",isHtmlTag:!0,props:{dir:m("Specifies the text direction override")}},wb={status:"experimental",description:"This component renders an HTML `blockquote` tag.",isHtmlTag:!0,props:{cite:m("Specifies the source of the quotation")}},Ib={status:"experimental",description:"This component renders an HTML `br` tag.",isHtmlTag:!0},Bb={status:"experimental",description:"This component renders an HTML `button` tag.",isHtmlTag:!0,props:{autoFocus:m("Specifies that the button should automatically get focus when the page loads"),disabled:m("Specifies that the button should be disabled"),form:m("Specifies the form the button belongs to"),formAction:m("Specifies the URL of a file that processes the information submitted by the button"),formEncType:m("Specifies how the form-data should be encoded when submitting it to the server"),formMethod:m("Specifies the HTTP method to use when sending form-data"),formNoValidate:m("Specifies that the form should not be validated when submitted"),formTarget:m("Specifies where to display the response after submitting the form"),name:m("Specifies a name for the button"),type:m("Specifies the type of the button"),value:m("Specifies the value associated with the button")}},$b={status:"experimental",description:"This component renders an HTML `canvas` tag.",isHtmlTag:!0,props:{width:m("Specifies the width of the canvas"),height:m("Specifies the height of the canvas")}},Ob={status:"experimental",description:"This component renders an HTML `caption` tag.",isHtmlTag:!0},Lb={status:"experimental",description:"This component renders an HTML `cite` tag.",isHtmlTag:!0},as={status:"experimental",description:"This component renders an HTML `code` tag.",isHtmlTag:!0},_b={status:"experimental",description:"This component renders an HTML `col` tag.",isHtmlTag:!0,props:{span:m("Specifies the number of columns a `col` element should span")}},Vb={status:"experimental",description:"This component renders an HTML `colgroup` tag.",isHtmlTag:!0,props:{span:m("Specifies the number of columns in a `colgroup`")}},Ab={status:"experimental",description:"This component renders an HTML `data` tag.",isHtmlTag:!0,props:{value:m("Specifies the machine-readable value of the element")}},Wb={status:"experimental",description:"This component renders an HTML `datalist` tag.",isHtmlTag:!0},Nb={status:"experimental",description:"This component renders an HTML `dd` tag.",isHtmlTag:!0},zb={status:"experimental",description:"This component renders an HTML `del` tag.",isHtmlTag:!0,props:{cite:m("Specifies the source of the quotation"),dateTime:m("Specifies the date and time of the edit")}},Eb={status:"experimental",description:"This component renders an HTML `details` tag.",isHtmlTag:!0,props:{open:m("Specifies that the details are visible (open)")},themeVars:Y(et.themeVarsDetails),defaultThemeVars:{"marginTop-HtmlDetails":"1rem","marginBottom-HtmlDetails":"1rem"}},Pb={status:"experimental",description:"This component renders an HTML `dfn` tag.",isHtmlTag:!0},Mb={status:"experimental",description:"This component renders an HTML `dialog` tag.",isHtmlTag:!0,props:{open:m("Specifies that the dialog is open")}},Db={status:"experimental",description:"This component renders an HTML `div` tag.",isHtmlTag:!0},Rb={status:"experimental",description:"This component renders an HTML `dl` tag.",isHtmlTag:!0},Fb={status:"experimental",description:"This component renders an HTML `dt` tag.",isHtmlTag:!0},is={status:"experimental",description:"This component renders an HTML `em` tag.",isHtmlTag:!0},Ub={status:"experimental",description:"This component renders an HTML `embed` tag.",isHtmlTag:!0,props:{src:m("Specifies the URL of the resource"),type:m("Specifies the type of the resource"),width:m("Specifies the width of the embed"),height:m("Specifies the height of the embed")}},qb={status:"experimental",description:"This component renders an HTML `fieldset` tag.",isHtmlTag:!0,props:{disabled:m("Specifies that the fieldset should be disabled"),form:m("Specifies the form the fieldset belongs to"),name:m("Specifies a name for the fieldset")}},Gb={status:"experimental",description:"This component renders an HTML `figcaption` tag.",isHtmlTag:!0},jb={status:"experimental",description:"This component renders an HTML `figure` tag.",isHtmlTag:!0},Xb={status:"experimental",description:"This component renders an HTML `footer` tag.",isHtmlTag:!0},Yb={status:"experimental",description:"This component renders an HTML `form` tag.",isHtmlTag:!0,props:{acceptCharset:m("Specifies the character encodings that are to be used for the form submission"),action:m("Specifies where to send the form-data when a form is submitted"),autoComplete:m("Specifies whether a form should have auto-completion"),encType:m("Specifies how the form-data should be encoded when submitting it to the server"),method:m("Specifies the HTTP method to use when sending form-data"),name:m("Specifies the name of the form"),noValidate:m("Specifies that the form should not be validated when submitted"),target:m("Specifies where to display the response after submitting the form")}},Zb={status:"experimental",description:"This component renders an HTML `h1` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},Qb={status:"experimental",description:"This component renders an HTML `h2` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},Jb={status:"experimental",description:"This component renders an HTML `h3` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},Kb={status:"experimental",description:"This component renders an HTML `h4` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},ex={status:"experimental",description:"This component renders an HTML `h5` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},tx={status:"experimental",description:"This component renders an HTML `h6` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsHeading),defaultThemeVars:{"marginTop-HtmlHeading":"1rem","marginBottom-HtmlHeading":".5rem"}},rx={status:"experimental",description:"This component renders an HTML `header` tag.",isHtmlTag:!0},ox={status:"experimental",description:"This component renders an HTML `hr` tag.",isHtmlTag:!0},ax={status:"experimental",description:"This component renders an HTML `i` tag.",isHtmlTag:!0},ix={status:"experimental",description:"This component renders an HTML `iframe` tag.",isHtmlTag:!0,props:{src:m("Specifies the URL of the page to embed"),srcDoc:m("Specifies the HTML content of the page to embed"),name:m("Specifies the name of the iframe"),sandbox:m("Specifies a set of extra restrictions for the content in the iframe"),allow:m("Specifies a feature policy for the iframe"),allowFullScreen:m("Specifies that the iframe can be displayed in full-screen mode"),width:m("Specifies the width of the iframe"),height:m("Specifies the height of the iframe"),loading:m("Specifies the loading behavior of the iframe"),referrerPolicy:m("Specifies the referrer policy for the iframe")}},lx={status:"experimental",description:"This component renders an HTML `img` tag.",isHtmlTag:!0,props:{alt:m("Specifies an alternate text for an image"),height:m("Specifies the height of an image"),src:m("Specifies the path to the image"),width:m("Specifies the width of an image"),useMap:m("Specifies an image as a client-side image map"),loading:m("Specifies the loading behavior of the image"),referrerPolicy:m("Specifies the referrer policy for the image"),sizes:m("Specifies image sizes for different page layouts")}},nx={status:"experimental",description:"This component renders an HTML `input` tag.",isHtmlTag:!0,props:{type:m("Specifies the type of input"),value:m("Specifies the value of the input"),placeholder:m("Specifies a short hint that describes the expected value of the input"),autoFocus:m("Specifies that the input should automatically get focus when the page loads"),checked:m("Specifies that the input should be pre-selected"),disabled:m("Specifies that the input should be disabled"),form:m("Specifies the form the input belongs to"),name:m("Specifies the name of the input"),list:m("Specifies the id of a datalist element that contains pre-defined options for the input"),max:m("Specifies the maximum value for an input"),maxLength:m("Specifies the maximum number of characters allowed in an input"),min:m("Specifies the minimum value for an input"),minLength:m("Specifies the minimum number of characters allowed in an input"),multiple:m("Specifies that a user can enter more than one value"),pattern:m("Specifies a regular expression that an input's value is checked against"),readOnly:m("Specifies that the input is read-only"),required:m("Specifies that the input is required"),size:m("Specifies the width, in characters, of an input"),step:m("Specifies the legal number intervals for an input")}},sx={status:"experimental",description:"This component renders an HTML `ins` tag.",isHtmlTag:!0,props:{cite:m("Specifies the source URL for the inserted text"),dateTime:m("Specifies the date and time when the text was inserted")}},dx={status:"experimental",description:"This component renders an HTML `kbd` tag.",isHtmlTag:!0},ux={status:"experimental",description:"This component renders an HTML `label` tag.",isHtmlTag:!0,props:{htmlFor:m("Specifies which form element a label is bound to")}},cx={status:"experimental",description:"This component renders an HTML `legend` tag.",isHtmlTag:!0},mx={status:"experimental",description:"This component renders an HTML `li` tag.",isHtmlTag:!0,props:{value:m("Specifies the value of the list item (if the parent is an ordered list)")},defaultThemeVars:{"marginLeft-HtmlLi":"$space-6","paddingLeft-HtmlLi":"$space-1"}},px={status:"experimental",description:"This component renders an HTML `main` tag.",isHtmlTag:!0},hx={status:"experimental",description:"This component renders an HTML `map` tag.",isHtmlTag:!0,props:{name:m("Specifies the name of the map")}},bx={status:"experimental",description:"This component renders an HTML `mark` tag.",isHtmlTag:!0},xx={status:"experimental",description:"This component renders an HTML `menu` tag.",isHtmlTag:!0,props:{type:m("Specifies the type of the menu")}},vx={status:"experimental",description:"This component renders an HTML `meter` tag.",isHtmlTag:!0,props:{min:m("Specifies the minimum value"),max:m("Specifies the maximum value"),low:m("Specifies the lower bound of the high value"),high:m("Specifies the upper bound of the low value"),optimum:m("Specifies the optimal value"),value:m("Specifies the current value")}},fx={status:"experimental",description:"This component renders an HTML `nav` tag.",isHtmlTag:!0},gx={status:"experimental",description:"This component renders an HTML `object` tag.",isHtmlTag:!0,props:{data:m("Specifies the URL of the resource"),type:m("Specifies the MIME type of the resource"),name:m("Specifies the name of the object"),form:m("Specifies the form the object belongs to"),width:m("Specifies the width of the object"),height:m("Specifies the height of the object")}},Tx={status:"experimental",description:"This component renders an HTML `ol` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsList),defaultThemeVars:{"marginTop-HtmlOl":"$space-5","marginBottom-HtmlOl":"$space-5"}},Cx={status:"experimental",description:"This component renders an HTML `optgroup` tag.",isHtmlTag:!0,props:{label:m("Specifies the label for the option group"),disabled:m("Specifies that the option group is disabled")}},yx={status:"experimental",description:"This component renders an HTML `option` tag.",isHtmlTag:!0,props:{disabled:m("Specifies that the option should be disabled"),label:m("Specifies the label of the option"),selected:m("Specifies that the option should be pre-selected"),value:m("Specifies the value of the option")}},Hx={status:"experimental",description:"This component renders an HTML `output` tag.",isHtmlTag:!0,props:{form:m("Specifies the form element that the output is associated with"),htmlFor:m("Specifies the IDs of the elements that this output is related to"),name:m("Specifies the name of the output")}},Sx={status:"experimental",description:"This component renders an HTML `p` tag.",isHtmlTag:!0},kx={status:"experimental",description:"This component renders an HTML `param` tag.",isHtmlTag:!0,props:{name:m("Specifies the name of the parameter"),value:m("Specifies the value of the parameter")}},wx={status:"experimental",description:"This component renders an HTML `picture` tag.",isHtmlTag:!0},Ix={status:"experimental",description:"This component renders an HTML `pre` tag.",isHtmlTag:!0},Bx={status:"experimental",description:"This component renders an HTML `progress` tag.",isHtmlTag:!0,props:{max:m("Specifies the maximum value of the progress element"),value:m("Specifies the current value of the progress element")}},$x={status:"experimental",description:"This component renders an HTML `q` tag.",isHtmlTag:!0,props:{cite:m("Specifies the source URL of the quotation")}},Ox={status:"experimental",description:"This component renders an HTML `rp` tag.",isHtmlTag:!0},Lx={status:"experimental",description:"This component renders an HTML `rt` tag.",isHtmlTag:!0},_x={status:"experimental",description:"This component renders an HTML `ruby` tag.",isHtmlTag:!0},Vx={status:"experimental",description:"This component renders an HTML `s` tag.",isHtmlTag:!0},Ax={status:"experimental",description:"This component renders an HTML `samp` tag.",isHtmlTag:!0},Wx={status:"experimental",description:"This component renders an HTML `section` tag.",isHtmlTag:!0},Nx={status:"experimental",description:"This component renders an HTML `select` tag.",isHtmlTag:!0,props:{autoFocus:m("Specifies that the select should automatically get focus when the page loads"),disabled:m("Specifies that the select should be disabled"),form:m("Specifies the form the select belongs to"),multiple:m("Specifies that multiple options can be selected at once"),name:m("Specifies the name of the select"),required:m("Specifies that the select is required"),size:m("Specifies the number of visible options in the select")}},zx={status:"experimental",description:"This component renders an HTML `small` tag.",isHtmlTag:!0},Ex={status:"experimental",description:"This component renders an HTML `source` tag.",isHtmlTag:!0,props:{src:m("Specifies the URL of the media file"),type:m("Specifies the type of the media file"),media:m("Specifies a media query for the media file"),srcSet:m("Specifies the source set for responsive images"),sizes:m("Specifies the sizes attribute for responsive images")}},Px={status:"experimental",description:"This component renders an HTML `span` tag.",isHtmlTag:!0},Mx={status:"experimental",description:"This component renders an HTML `strong` tag.",isHtmlTag:!0},Dx={status:"experimental",description:"This component renders an HTML `sub` tag.",isHtmlTag:!0},Rx={status:"experimental",description:"This component renders an HTML `summary` tag.",isHtmlTag:!0},Fx={status:"experimental",description:"This component renders an HTML `sup` tag.",isHtmlTag:!0},Ux={status:"experimental",description:"This component renders an HTML `table` tag.",isHtmlTag:!0,props:{border:m("Specifies the width of the border around the table"),cellPadding:m("Specifies the space between the cell content and its borders"),cellSpacing:m("Specifies the space between cells"),summary:m("Provides a summary of the table's purpose and structure"),width:m("Specifies the width of the table"),align:m("Specifies the alignment of the table"),frame:m("Specifies which parts of the table frame to render"),rules:m("Specifies which rules to draw between cells")},themeVars:Y(et.themeVarsTable),defaultThemeVars:{"backgroundColor-HtmlTable":"$backgroundColor","border-HtmlTable":"1px solid $borderColor","marginBottom-HtmlTable":"$space-4","marginTop-HtmlTable":"$space-4"}},qx={status:"experimental",description:"This component renders an HTML `tbody` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsTbody)},Gx={status:"experimental",description:"This component renders an HTML `td` tag.",isHtmlTag:!0,props:{align:m("Specifies the horizontal alignment of the content in the cell"),colSpan:m("Specifies the number of columns a cell should span"),headers:m("Specifies a list of header cells the current cell is related to"),rowSpan:m("Specifies the number of rows a cell should span"),valign:m("Specifies the vertical alignment of the content in the cell"),scope:m("Specifies whether a cell is a header for a column, row, or group of columns or rows"),abbr:m("Specifies an abbreviated version of the content in the cell"),height:m("Specifies the height of the cell"),width:m("Specifies the width of the cell")},themeVars:Y(et.themeVarsTd),defaultThemeVars:{"padding-HtmlTd":"$space-2","borderBottom-HtmlTd":"1px solid $borderColor"}},jx={status:"experimental",description:"This component renders an HTML `template` tag.",isHtmlTag:!0},Xx={status:"experimental",description:"This component renders an HTML `textarea` tag.",isHtmlTag:!0,props:{autoFocus:m("Specifies that the textarea should automatically get focus when the page loads"),cols:m("Specifies the visible width of the text area in average character widths"),dirName:m("Specifies the text directionality"),disabled:m("Specifies that the textarea should be disabled"),form:m("Specifies the form the textarea belongs to"),maxLength:m("Specifies the maximum number of characters allowed in the textarea"),minLength:m("Specifies the minimum number of characters allowed in the textarea"),name:m("Specifies the name of the textarea"),placeholder:m("Specifies a short hint that describes the expected value"),readOnly:m("Specifies that the textarea is read-only"),required:m("Specifies that the textarea is required"),rows:m("Specifies the visible number of lines in the textarea"),value:m("Specifies the current value of the textarea"),wrap:m("Specifies how the text in a textarea is to be wrapped when submitted")}},Yx={status:"experimental",description:"This component renders an HTML `tfoot` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsTfoot)},Zx={status:"experimental",description:"This component renders an HTML `th` tag.",isHtmlTag:!0,props:{abbr:m("Specifies an abbreviated version of the content in the header cell"),align:m("Specifies the horizontal alignment of the content in the header cell"),colSpan:m("Specifies the number of columns a header cell should span"),headers:m("Specifies a list of header cells the current header cell is related to"),rowSpan:m("Specifies the number of rows a header cell should span"),scope:m("Specifies whether a header cell is a header for a column, row, or group of columns or rows")},themeVars:Y(et.themeVarsTh),defaultThemeVars:{"padding-HtmlTh":"$space-2","fontSize-HtmlTh":"$fontSize-tiny","fontWeight-HtmlTh":"$fontWeight-bold"}},Qx={status:"experimental",description:"This component renders an HTML `thead` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsThead),defaultThemeVars:{"textTransform-HtmlThead":"uppercase","backgroundColor-HtmlThead":"$color-surface-100","textColor-HtmlThead":"$color-surface-500"}},Jx={status:"experimental",description:"This component renders an HTML `time` tag.",isHtmlTag:!0,props:{dateTime:m("Specifies the date and time in a machine-readable format")}},Kx={status:"experimental",description:"This component renders an HTML `tr` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsTr),defaultThemeVars:{"fontSize-HtmlTr":"$fontSize-small","backgroundColor-row-HtmlTr":"inherit"}},ev={status:"experimental",description:"This component renders an HTML `track` tag.",isHtmlTag:!0,props:{default:m("Specifies that the track is to be enabled if no other track is more suitable"),kind:m("Specifies the kind of text track"),label:m("Specifies the title of the text track"),src:m("Specifies the URL of the track file"),srcLang:m("Specifies the language of the track text data")}},tv={status:"experimental",description:"This component renders an HTML `u` tag.",isHtmlTag:!0},rv={status:"experimental",description:"This component renders an HTML `ul` tag.",isHtmlTag:!0,themeVars:Y(et.themeVarsList),defaultThemeVars:{"marginTop-HtmlUl":"$space-5","marginBottom-HtmlUl":"$space-5"}},ov={status:"experimental",description:"This component renders an HTML `var` tag.",isHtmlTag:!0},av={status:"experimental",description:"This component renders an HTML `video` tag.",isHtmlTag:!0,props:{autoPlay:m("Specifies that the video will start playing as soon as it is ready"),controls:m("Specifies that video controls should be displayed"),height:m("Specifies the height of the video player"),loop:m("Specifies that the video will start over again when finished"),muted:m("Specifies that the video output should be muted"),poster:m("Specifies an image to be shown while the video is downloading"),preload:m("Specifies if and how the author thinks the video should be loaded when the page loads"),src:m("Specifies the URL of the video file"),width:m("Specifies the width of the video player")},themeVars:Y(et.themeVarsVideo),defaultThemeVars:{"marginTop-HtmlVideo":"1rem","marginBottom-HtmlVideo":"1rem"}},iv={status:"experimental",description:"This component renders an HTML `wbr` tag.",isHtmlTag:!0},Lo="ColorPicker",lv={description:"This component allows the user to select a color with the browser's default color picker control.",props:{initialValue:Tt(),label:qe(),labelPosition:gt(),labelWidth:_t(Lo),labelBreak:Vt(Lo),enabled:Ze(),autoFocus:it(),required:Nt(),readOnly:At(),validationStatus:Wt(Uo.validationStatus)},events:{didChange:at(Lo),gotFocus:vt(Lo),lostFocus:ft(Lo)},apis:{focus:Jt(Lo),value:ra(),setValue:Qt()},themeVars:Y(Co.themeVars)},nv={description:"`Markdown` displays plain text styled using markdown syntax.",themeVars:Y(xp.themeVars),props:{content:m("This property sets the markdown content to display."),codeHighlighter:{description:"This property sets the code highlighter to use.",isInternal:!0},removeIndents:{description:"This boolean property specifies whether leading indents should be removed from the markdown content. If set to `true`, the shortest indent found at the start of the content lines is removed from the beginning of every line.",valueType:"boolean",defaultValue:!0},showHeadingAnchors:{description:"This boolean property specifies whether heading anchors should be displayed. If set to `true`, heading anchors will be displayed on hover next to headings.",valueType:"boolean",defaultValue:!1}},defaultThemeVars:{"backgroundColor-Admonition":"$color-primary-100","border-Admonition":"1px solid $color-primary-300","backgroundColor-Admonition-warning":"$color-warn-100","borderColor-Admonition-warning":"$color-warn-300","backgroundColor-Admonition-danger":"$color-danger-100","borderColor-Admonition-danger":"$color-danger-300","borderRadius-Admonition":"$space-2","iconSize-Admonition":"$space-5","paddingLeft-Admonition":"$space-2","paddingRight-Admonition":"$space-6","paddingTop-Admonition":"$space-3","paddingBottom-Admonition":"$space-2","marginLeft-Admonition-content":"$space-1_5","marginTop-Admonition":"$space-7","marginBottom-Admonition":"$space-7","marginTop-Blockquote":"$space-7","marginBottom-Blockquote":"$space-7","paddingHorizontal-Blockquote":"$space-6","paddingTop-Blockquote":"$space-3","paddingBottom-Blockquote":"$space-2_5","backgroundColor-Blockquote":"$color-surface-100","accentWidth-Blockquote":"3px","accentColor-Blockquote":"$color-surface-500","marginTop-HtmlLi":"$space-2_5","marginBottom-HtmlLi":"$space-2_5",light:{},dark:{"backgroundColor-Blockquote":"$color-surface-50","backgroundColor-Admonition":"$color-primary-200"}}},Bi="DataSource",sv={status:"stable",description:`The \`${Bi}\` component manages fetching data from an API endpoint. This component automatically manages the complexity of the fetch operation and caching. To manipulate data on the backend, use the [\`APICall\`](./APICall.mdx) component.`,props:{method:{description:"Set the HTTP method.",defaultValue:"get",availableValues:Fi},id:{description:"Set the ID used by other components to access the retrieved data in the `value`property of a `DataSource`, or status info in the `loaded` and `error` properties.",isRequired:!0,valueType:"string"},url:{description:"Set the URL.",isRequired:!0,valueType:"string"},body:{description:"Set the request body. The object you pass is serialized as a JSON string.",valueType:"any"},rawBody:{description:"Set the request body with no serialization. Use it to send a payload that has already been serialized to a JSON string.",valueType:"string"},queryParams:{description:"Append key/value pairs to the URL.",valueType:"any"},headers:{description:"Set request headers. Pass an object whose keys are header names and values are header values.",valueType:"any"},pollIntervalInSeconds:{description:"Set the interval for periodic data fetching. If the data changes on refresh, XMLUI will re-render components that refer directly or indirectly to the `DataSource`. ",valueType:"number"},inProgressNotificationMessage:{description:"Set the message to display when the data fetch is in progress.",valueType:"string"},completedNotificationMessage:{description:"Set the message to display when the data fetch completes.",valueType:"string"},errorNotificationMessage:{description:"Set the message to display when the there is an error.",valueType:"string"},resultSelector:{description:"Set an object key to extract a subset of the response data.",valueType:"string"},transformResult:{description:"Set a function to perform a final transformation of the response data."},prevPageSelector:{description:`When using \`${Bi}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the previous page information from the response deserialized to an object.`},nextPageSelector:{description:`When using \`${Bi}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the next page information from the response deserialized to an object.`},structuralSharing:{description:"This property allows structural sharing. When turned on, `DataSource` will keep the original reference if nothing has changed in the data. If a subset has changed, `DataSource` will keep the unchanged parts and only replace the changed parts. If you do not need this behavior, set this property to `false`.",defaultValue:"true"}},events:{loaded:m("The component triggers this event when the fetch operation has been completed and the data is loaded. The event has two arguments. The first is the data loaded; the second indicates if the event is a result of a refetch."),error:m("This event fires when a request results in an error.")},apis:{value:m("This property retrieves the data queried from the source after optional transformations."),inProgress:m("This property indicates if the data is being fetched."),isRefetching:m("This property indicates if the data is being re-fetched."),loaded:m("This property indicates if the data has been loaded."),refetch:m("This method requests the re-fetch of the data.")}},dv={a:vb,address:fb,area:gb,article:Tb,aside:Cb,audio:yb,b:Hb,bdi:Sb,bdo:kb,blockquote:wb,br:Ib,button:Bb,canvas:$b,caption:Ob,cite:Lb,code:as,col:_b,colgroup:Vb,data:Ab,datalist:Wb,dd:Nb,del:zb,details:Eb,dfn:Pb,dialog:Mb,div:Db,dl:Rb,dt:Fb,em:is,embed:Ub,fieldset:qb,figcaption:Gb,figure:jb,footer:Xb,form:Yb,h1:Zb,h2:Qb,h3:Jb,h4:Kb,h5:ex,h6:tx,header:rx,hr:ox,i:ax,iframe:ix,img:lx,input:nx,ins:sx,kbd:dx,label:ux,legend:cx,li:mx,main:px,map:hx,mark:bx,menu:xx,meter:vx,nav:fx,object:gx,ol:Tx,optgroup:Cx,option:yx,output:Hx,p:Sx,param:kx,picture:wx,pre:Ix,progress:Bx,q:$x,rp:Ox,rt:Lx,ruby:_x,s:Vx,samp:Ax,section:Wx,select:Nx,small:zx,source:Ex,span:Px,strong:Mx,sub:Dx,summary:Rx,sup:Fx,table:Ux,tbody:qx,td:Gx,template:jx,textarea:Xx,tfoot:Yx,th:Zx,thead:Qx,time:Jx,tr:Kx,track:ev,u:tv,ul:rv,var:ov,video:av,wbr:iv,Accordion:ab,APICall:mb,App:Yd,AppHeader:Zd,AppState:Qd,AutoComplete:bb,Avatar:Kd,Backdrop:xb,Badge:ru,Bookmark:au,Breakout:ub,Button:Ks,Card:nu,Carousel:db,ChangeListener:du,Checkbox:uu,CODE:as,ColorPicker:lv,Column:Qh,ContentSeparator:pu,DataSource:sv,DatePicker:vu,DropdownMenu:fu,EM:is,Fragment:Hp,MenuItem:gu,SubMenuItem:Tu,EmojiSelector:yu,FileInput:wu,FileUploadDropZone:Bu,FlowLayout:zu,Footer:Pu,Form:kc,FormItem:Jm,FormSection:Yh,Heading:tp,H1:rp,H2:op,H3:ap,H4:ip,H5:lp,H6:np,HoverCard:sp,Icon:dp,Image:up,Items:cp,Link:mp,List:hp,Logo:bp,Markdown:nv,MenuSeparator:Cu,ModalDialog:Dp,NavGroup:sh,NavLink:Tp,NavPanel:oh,NoResult:Fp,NumberBox:rh,Option:pb,PageMetaTitle:qp,Page:ah,Pages:ih,PositionedContainer:eh,ProgressBar:jp,Queue:Jp,RadioGroup:dh,RealTimeAdapter:th,Redirect:Jh,Select:ch,SelectionStore:Up,Slider:lb,SpaceFiller:vp,Spinner:uh,Splitter:Yp,HSplitter:Zp,VSplitter:Qp,Stack:zo,CHStack:ad,CVStack:od,HStack:rd,VStack:td,StickyBox:Mp,Switch:Zh,Table:Ep,TableOfContents:rb,TabItem:ib,Tabs:eb,Text:yp,TextArea:gp,TextBox:nl,PasswordInput:hd,Theme:Md,ToneChangerButton:cb,Tree:Cp},uv={root:Sd,xmlui:Ld,xmluiGreen:_d,xmluiGray:Vd,xmluiOrange:Ad,xmluiPurple:Wd,xmluiCyan:Nd,xmluiRed:zd};xe.collectedComponentMetadata=dv,xe.collectedThemes=uv,Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"})});