xmlui 0.9.74 → 0.9.75

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,7 +1,7 @@
1
1
  (function(pA,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react/jsx-runtime"),require("react"),require("classnames"),require("@radix-ui/react-visually-hidden"),require("react-helmet-async"),require("react-dom"),require("color"),require("lodash-es"),require("react-hot-toast"),require("@remix-run/react"),require("@radix-ui/react-dialog"),require("@radix-ui/react-dropdown-menu"),require("use-context-selector"),require("react-day-picker"),require("date-fns"),require("@radix-ui/react-popover"),require("emoji-picker-react"),require("react-dropzone"),require("immer"),require("memoize-one"),require("@radix-ui/react-select"),require("cmdk"),require("@radix-ui/react-focus-scope"),require("@radix-ui/react-radio-group"),require("react-textarea-autosize"),require("@radix-ui/react-slider"),require("@internationalized/number"),require("@radix-ui/react-hover-card"),require("virtua"),require("react-markdown"),require("remark-gfm"),require("rehype-raw"),require("unist-util-visit"),require("@tanstack/react-query"),require("react-window"),require("react-virtualized-auto-sizer"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("react-sticky-el"),require("papaparse"),require("@radix-ui/react-tabs"),require("scroll-into-view-if-needed"),require("@radix-ui/react-accordion"),require("embla-carousel-react"),require("embla-carousel-autoplay"),require("react-popper"),require("recharts"),require("@tiptap/react"),require("@tiptap/starter-kit"),require("@tiptap/extension-table"),require("@tiptap/extension-table-row"),require("@tiptap/extension-table-cell"),require("@tiptap/extension-table-header"),require("turndown"),require("react-router-dom"),require("@radix-ui/react-tooltip"),require("msw"),require("@eslint-community/regexpp"),require("dexie")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","classnames","@radix-ui/react-visually-hidden","react-helmet-async","react-dom","color","lodash-es","react-hot-toast","@remix-run/react","@radix-ui/react-dialog","@radix-ui/react-dropdown-menu","use-context-selector","react-day-picker","date-fns","@radix-ui/react-popover","emoji-picker-react","react-dropzone","immer","memoize-one","@radix-ui/react-select","cmdk","@radix-ui/react-focus-scope","@radix-ui/react-radio-group","react-textarea-autosize","@radix-ui/react-slider","@internationalized/number","@radix-ui/react-hover-card","virtua","react-markdown","remark-gfm","rehype-raw","unist-util-visit","@tanstack/react-query","react-window","react-virtualized-auto-sizer","@tanstack/react-table","@tanstack/react-virtual","react-sticky-el","papaparse","@radix-ui/react-tabs","scroll-into-view-if-needed","@radix-ui/react-accordion","embla-carousel-react","embla-carousel-autoplay","react-popper","recharts","@tiptap/react","@tiptap/starter-kit","@tiptap/extension-table","@tiptap/extension-table-row","@tiptap/extension-table-cell","@tiptap/extension-table-header","turndown","react-router-dom","@radix-ui/react-tooltip","msw","@eslint-community/regexpp","dexie"],c):(pA=typeof globalThis<"u"?globalThis:pA||self,c(pA["xmlui-metadata"]={},pA["react/jsx-runtime"],pA.React,pA.classnames,pA.VisuallyHidden$1,pA.reactHelmetAsync,pA.ReactDOM,pA.Color,pA.lodashEs,pA.toast,pA.react,pA.SheetPrimitive,pA.ReactDropdownMenu,pA.useContextSelector,pA.reactDayPicker,pA.dateFns,pA.reactPopover,pA.EmojiPicker,pA.dropzone,pA.produce,pA.memoizeOne,pA.reactSelect,pA.cmdk,pA.reactFocusScope,pA.InnerRadioGroup,pA.TextareaAutosize,pA.reactSlider,pA.number$1,pA.HoverCard,pA.virtua,pA.ReactMarkdown,pA.remarkGfm,pA.rehypeRaw,pA.unistUtilVisit,pA.reactQuery,pA.reactWindow,pA.AutoSizer,pA.reactTable,pA.reactVirtual,pA.reactStickyEl,pA.Papa,pA.RTabs,pA.scrollIntoView,pA.RAccordion,pA.useEmblaCarousel,pA.Autoplay,pA.reactPopper,pA.RechartsPrimitive,pA.react$1,pA.StarterKit,pA.Table$1,pA.TableRow,pA.TableCell,pA.TableHeader,pA.TurndownService,pA.reactRouterDom,pA.RadixTooltip,pA.msw,pA.regexpp,pA.Dexie))})(this,function(pA,c,d,aA,Lg,Ia,Pn,_B,hA,ke,Ue,ky,Hr,Gn,WB,se,Fo,Tg,Hy,Qe,ki,Gt,mo,Sy,My,Ly,Hi,JB,Ty,Ny,Fy,Py,Gy,$B,Us,Oy,Ry,Si,Uy,Ky,Yy,zB,jy,_y,Wy,Jy,$y,Ee,qB,zy,qy,Vy,Zy,Xy,Ax,Ks,ex,$r,VB,ZB){"use strict";var yj=Object.defineProperty;var Dy=pA=>{throw TypeError(pA)};var xj=(pA,c,d)=>c in pA?yj(pA,c,{enumerable:!0,configurable:!0,writable:!0,value:d}):pA[c]=d;var tA=(pA,c,d)=>xj(pA,typeof c!="symbol"?c+"":c,d),YB=(pA,c,d)=>c.has(pA)||Dy("Cannot "+d);var tr=(pA,c,d)=>(YB(pA,c,"read from private field"),d?d.call(pA):c.get(pA)),yi=(pA,c,d)=>c.has(pA)?Dy("Cannot add the same private member more than once"):c instanceof WeakSet?c.add(pA):c.set(pA,d),xi=(pA,c,d,aA)=>(YB(pA,c,"write to private field"),aA?aA.call(pA,d):c.set(pA,d),d),Ea=(pA,c,d)=>(YB(pA,c,"access private method"),d);var Mn,wi,_r,Lo,Ln,fi,Sg,Iy,Tn,bi,Mg,wy;function Po(A){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(A){for(const t in A)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(A,t);Object.defineProperty(e,t,o.get?o:{enumerable:!0,get:()=>A[t]})}}return e.default=A,Object.freeze(e)}const Ce=Po(d),tx=Po(Lg),lt=Po(ky),or=Po(Hr),XB=Po(Hy),Ng=Po(My),Ys=Po(Ty),js=Po(zB),Mi=Po(_y),ox=Po(Ee),Li=Po(ex),Je={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"},Ap=[{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."}],_s=[{value:"xs",description:"Extra small button"},{value:"sm",description:"Small button"},{value:"md",description:"Medium button"},{value:"lg",description:"Large button"}],rx=[...["attention","primary","secondary"]],Fg=[{value:"attention",description:"Attention state theme color"},{value:"primary",description:"Primary theme color"},{value:"secondary",description:"Secondary theme color"}],nx=[{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."}],ax=[...["solid","outlined","ghost"]],Pg=[{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."}],ep=["start","center","end"],tp=[{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)"}],Ws=[{value:"horizontal",description:"The component will fill the available space horizontally"},{value:"vertical",description:"The component will fill the available space vertically"}],ix=[...["start","end"]],Js=[{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)"}],op=[{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"}],sx=[...["start","end"]],lx=[{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"}],cx=["top","bottom"],rp={abbr:"abbr",cite:"cite",code:"code",codefence:"pre",deleted:"del",inherit:"span",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"},gx=[{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:"inherit",description:"Represents text that inherits the style from its parent element"},{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"}],ux=["title"],dx=["cite","dateTime"],Bx=[...ux,...dx],np=["get","post","put","delete","patch","head","options","trace","connect"];function $(A,e,t){return{type:A,renderer:t,metadata:e}}function $s(A,e){return $(A,e,()=>{throw new Error("Prop holder component, shouldn't render")})}function zs(A,e,t){return{type:A,renderer:e,hints:t}}const ap={keyPrefix:"xmlui",themeVars:'"[]"'};function CA(A){if(!A||typeof A!="string")return A;let e=A.replace(/(^['"])|(['"]$)/g,"");try{return JSON.parse(e)}catch{try{return JSON.parse(A.replace("(","{").replace(")","}").replace(/: ?([^,}]+)([,}])/g,': "$1"$2').replace(/([\s{,])(?!")([^:\s]+)+:/g,'$1"$2":'))}catch{return e}}}let Gg=CA(ap.keyPrefix)||"",px=CA(ap.themeVars);const ip={keyPrefix:Gg,themeVars:px};function wa(A){return Gg?`--${Gg}-${A}`:`--${A}`}function A_(A){return A}function k(A,e,t,o,r,n){return{description:A,isRequired:n,availableValues:e,valueType:t,defaultValue:o,isValid:r}}function He(A){return{description:A??"This property is for internal use only.",isInternal:!0}}function fa(A){return{description:`This event is triggered when the ${A} is clicked.`}}function Ot(A){return{description:`This event is triggered when the ${A} has received the focus.`}}function Rt(A){return{description:`This event is triggered when the ${A} has lost the focus.`}}function ct(A){return{description:`This event is triggered when value of ${A} has changed.`}}function sp(A){return{description:"The `true` value of this property signals that the component is in an _intedeterminate state_.",defaultValue:A}}function Fe(){return{description:"This property sets the label of the component. If not set, the component will not display a label.",valueType:"string"}}function Ut(A){return{description:"Places the label at the given position of the component.",availableValues:op,defaultValue:A??"top"}}function Kt(A){return{description:`This property sets the width of the \`${A}\` component's label. If not defined, the label's width will be determined by its content and the available space.`}}function Ao(A){return{description:`This boolean value indicates if the \`${A}\` label can be split into multiple lines if it would overflow the available label width.`,valueType:"boolean",defaultValue:!1}}function mt(){return{description:"If this property is set to `true`, the component gets the focus automatically when displayed.",valueType:"boolean",defaultValue:!1}}function Yt(A){return{description:"This property sets the component's initial value.",defaultValue:A}}function eo(A){return{description:"Set this property to `true` to disallow changing the component value.",valueType:"boolean",defaultValue:A??!1}}function Ke(A){return{description:"This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).",valueType:"boolean",defaultValue:A??!0}}function lp(){return{description:"The `true` value of the property indicates if the user can select multiple items.",valueType:"boolean",defaultValue:!1}}function to(A){return{description:"This property allows you to set the validation status of the input component.",availableValues:lx,defaultValue:A??"none"}}function cp(){return{description:"You can query this read-only API property to query the component's current value (`true`: checked, `false`: unchecked)."}}function ho(){return{description:"You can use this method to set the component's current value programmatically (`true`: checked, `false`: unchecked)."}}function qA(A){return{description:A,valueType:"ComponentDef"}}function zr(){return{description:"An optional placeholder text that is visible in the input field when its empty.",valueType:"string"}}function Ti(){return{description:"This property sets the maximum length of the input it accepts.",valueType:"number"}}function oo(){return{description:"Set this property to `true` to indicate it must have a value before submitting the containing form.",valueType:"boolean",defaultValue:!1}}function qs(){return{description:"This property sets an optional text to appear at the start (left side when the left-to-right direction is set) of the input.",valueType:"string"}}function Vs(){return{description:"This property sets an optional icon to appear at the start (left side when the left-to-right direction is set) of the input.",valueType:"string"}}function Zs(){return{description:"This property sets an optional text to appear on the end (right side when the left-to-right direction is set) of the input.",valueType:"string"}}function Xs(){return{description:"This property sets an optional icon to appear on the end (right side when the left-to-right direction is set) of the input.",valueType:"string"}}function Cx(A){return{description:`This property indicates if the ${A} is expanded (\`true\`) or collapsed (\`false\`).`}}function mx(A){return{description:`This method expands the ${A}.`}}function hx(A){return{description:`This method collapses the ${A}.`}}function Go(A){return{description:`This method sets the focus on the ${A}.`}}function ba(){return{description:"You can query the component's value. If no value is set, it will retrieve `undefined`."}}function gp(A){return{description:`This property allows you to define a custom trigger instead of the default one provided by \`${A}\`.`,valueType:"ComponentDef"}}function Qx(A,e=!1){return{description:"This property sets the main axis along which the nested components are rendered.",availableValues:Ws,valueType:"string",defaultValue:A,isRequired:e}}const Og={themeVars:`'{"size-Icon": "var(--xmlui-size-Icon)"}'`,base:"_base_19zi6_13",clickable:"_clickable_19zi6_21"};let Ex=1;function Ni(){return`$qid_${Ex++}`}function Rg(){return crypto!=null&&crypto.randomUUID?crypto==null?void 0:crypto.randomUUID():("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,A=>(A^crypto.getRandomValues(new Uint8Array(1))[0]&15>>A/4).toString(16))}const Ix=A=>new Promise(e=>setTimeout(e,A));function Fi(A){return A[0].toUpperCase()+A.substring(1)}function Ug(A){if(typeof A=="object")for(const e in A)A[e]===null||A[e]===void 0?delete A[e]:Ug(A[e])}const PA=A=>{const e=d.useRef(A);return d.useInsertionEffect(()=>{e.current=A},[A]),d.useCallback((...t)=>{const o=e.current;return o==null?void 0:o(...t)},[e])};function wx(A,e=!1,t=1){const o=e?1e3:1024;if(Math.abs(A)<o)return A+" B";const r=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let n=-1;const a=10**t;do A/=o,++n;while(Math.round(Math.abs(A)*a)/a>=o&&n<r.length-1);return A.toFixed(t)+" "+r[n]}function fx(A,e,t){const o=se.formatDistanceToNow(new Date(A),{includeSeconds:!0}),r=e||o;return t&&o.includes(t)?r:o}function bx(A,e){var r;const t=A!=null&&A.includes(".")?(r=A==null?void 0:A.split(".").pop())==null?void 0:r.toLowerCase():void 0;if(!e)return t;const o=Dx.get(e.split(";")[0]||"");return!t&&o?o:t===o?t:void 0}const Dx=new Map([["text/html","html"],["text/css","css"],["text/xml","xml"],["image/gif","gif"],["image/jpeg","jpg"],["application/x-javascript","js"],["application/atom+xml","atom"],["application/rss+xml","rss"],["text/mathml","mml"],["text/plain","txt"],["text/vnd.sun.j2me.app-descriptor","jad"],["text/vnd.wap.wml","wml"],["text/x-component","htc"],["image/png","png"],["image/tiff","tif"],["image/vnd.wap.wbmp","wbmp"],["image/x-icon","ico"],["image/x-jng","jng"],["image/x-ms-bmp","bmp"],["image/svg+xml","svg"],["image/webp","webp"],["application/java-archive","jar"],["application/mac-binhex40","hqx"],["application/msword","doc"],["application/pdf","pdf"],["application/postscript","ps"],["application/rtf","rtf"],["application/vnd.ms-excel","xls"],["application/vnd.ms-powerpoint","ppt"],["application/vnd.wap.wmlc","wmlc"],["application/vnd.google-earth.kml+xml","kml"],["application/vnd.google-earth.kmz","kmz"],["application/x-7z-compressed","7z"],["application/x-cocoa","cco"],["application/x-java-archive-diff","jardiff"],["application/x-java-jnlp-file","jnlp"],["application/x-makeself","run"],["application/x-perl","pl"],["application/x-pilot","prc"],["application/x-rar-compressed","rar"],["application/x-redhat-package-manager","rpm"],["application/x-sea","sea"],["application/x-shockwave-flash","swf"],["application/x-stuffit","sit"],["application/x-tcl","tcl"],["application/x-x509-ca-cert","pem"],["application/x-xpinstall","xpi"],["application/xhtml+xml","xhtml"],["application/zip","zip"],["application/octet-stream","exe"],["audio/midi","mid"],["audio/mpeg","mp3"],["audio/ogg","ogg"],["audio/x-realaudio","ra"],["video/3gpp","3gpp"],["video/mpeg","mpeg"],["video/quicktime","mov"],["video/x-flv","flv"],["video/x-mng","mng"],["video/x-ms-asf","asf"],["video/x-ms-wmv","wmv"],["video/x-msvideo","avi"],["video/mp4","mp4"]]);function Da(A,e){return new Promise(t=>setTimeout(async()=>{await(e==null?void 0:e()),t==null||t()},A))}function up(A){if(!A)return;if(A.startsWith("http://")||A.startsWith("https://")||typeof window>"u")return A;const e=window.__PUBLIC_PATH||"";if(!e)return A;const t=e.endsWith("/")?e.slice(0,-1):e,o=A.startsWith("/")?A.slice(1):A;return`${t}/${o}`}function Kg(A){return typeof A!="string"}async function Yg(A,...e){if(!e.length)return A;let t=0;const o=[];for(;t<e.length;){const n=e[t];let a;if(typeof n=="string")a={mapperFn:i=>i[n]};else if(typeof n=="function")a={mapperFn:i=>n(i)};else{t++;continue}t++,t<e.length&&typeof e[t]=="boolean"&&(a.desc=!0,t++),o.push(a)}const r=[];for(const n of o){const a=new Map;for(let i=0;i<A.length;i++)a.set(A[i],await n.mapperFn(A[i]));r.push(a)}return A.sort((n,a)=>{for(let i=0;i<o.length;i++){const s=o[i],l=r[i].get(n),g=r[i].get(a);if(l!==g)return l<g?s.desc?1:-1:s.desc?-1:1}return 0})}const Pi=(A,e)=>vx(A,e);function vx(A,e){const t=Array.isArray(A),o=Array.isArray(e);return typeof A=="string"||typeof e=="string"?A===e:t!==o?!1:t&&o?yx(A,e):xx(A,e)}function yx(A,e){if(A===e)return!0;if(!A||!e)return!1;const t=A.length;if(e.length!==t)return!1;for(let o=0;o<t;o++)if(A[o]!==e[o])return!1;return!0}function xx(A,e){if(A===e)return!0;if(!A||!e)return!1;const t=Reflect.ownKeys(A),o=Reflect.ownKeys(e),r=t.length;if(o.length!==r)return!1;for(let n=0;n<r;n++){const a=t[n];if(A[a]!==e[a]||!Object.prototype.hasOwnProperty.call(e,a))return!1}return!0}const Al=(A,e)=>{const t={};return e.forEach(o=>{hA.get(A,o)!==void 0&&(t[o]=hA.get(A,o))}),t},kx=A=>Object(A)!==A;function Hx(A){return A?wx(A):"-"}function Sx(A,e){return bx(A,e)}function Mx(A,e,t){return A===1?`${A} ${e}`:`${A} ${t}`}function Lx(A,e,t){return(A??[]).reduce((o,r)=>(o[r[e]]=r[t],o),{})}function Tx(A,e,t){return(A??[]).find(o=>o[e||""]===t)}function Nx(A){return!Array.isArray(A)||!A||!A.length?[]:Array.from(new Set(A))}function Fx(A,e,t){const o=hA.throttle((r,n,a)=>{A(...a).then(r).catch(n)},e,t);return(...r)=>new Promise((n,a)=>{o(n,a,r)})}const jg=d.createContext(void 0),dp=d.createContext(void 0);function le(){return d.useContext(jg)}function el(){return d.useContext(dp)}function _g(A){const{getResourceUrl:e}=le();return e(A)}const Ae=Object.freeze([]),YA=Object.freeze({}),vA=(...A)=>({}),Px=async(...A)=>{},tl=(A,e)=>{const t=A==null?void 0:A.current,o=d.useRef();d.useEffect(()=>{o!=null&&o.current&&t&&o.current.unobserve(t),o.current=new ResizeObserver(e),A&&A.current&&o.current&&o.current.observe(A.current)},[e,t,A])};function Sr(A){const e=d.useRef();return d.useEffect(()=>{e.current=A},[A]),e.current}function Gx(){return d.useMemo(()=>{try{return window.self!==window.top}catch{return!0}},[])}const Bp=()=>typeof document<"u"&&document.hasFocus();function Ox(){const[A,e]=d.useState(Bp);return d.useEffect(()=>{e(Bp());const t=()=>e(!0),o=()=>e(!1);return window.addEventListener("focus",t),window.addEventListener("blur",o),()=>{window.removeEventListener("focus",t),window.removeEventListener("blur",o)}},[]),A}function va(A){const[e,t]=d.useState(!1);return d.useEffect(()=>{if(!window){t(!1);return}const o=window.matchMedia(A);return r(),o.addEventListener("change",r),()=>{o.removeEventListener("change",r)};function r(){t(o.matches)}},[A]),e}function Rx(A){const e=PA(A);d.useEffect(()=>(document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}),[e])}function Ux(A){const e=d.useRef({mountedFired:!1});d.useEffect(()=>{e.current.mountedFired||(e.current.mountedFired=!0,A==null||A())},[A])}function et(A){const e=d.useRef(A),t=d.useRef(0);return Pi(A,e.current)||(e.current=A,t.current++),d.useMemo(()=>e.current,[t.current])}function ol(A){return et(d.useMemo(()=>{const e={};if(Reflect.ownKeys(A).length===0)return YA;for(const t of Object.getOwnPropertySymbols(A)){const o=A[t];t.description&&(e[t.description]=o)}return e},[A]))}const De=typeof document<"u"?d.useLayoutEffect:d.useEffect;function Kx(A){let e=getComputedStyle(A);const t=e.position==="absolute",o=/(auto|scroll)/;if(e.position==="fixed")return document.body;for(let r=A;;r=r.parentElement){if(!r)return null;if(e=getComputedStyle(r),!(t&&e.position==="static")&&o.test(e.overflow+e.overflowY+e.overflowX))return r}return document.body}const pp=A=>{const[e,t]=d.useState(null);return De(()=>{t(A?Kx(A):null)},[A]),e},Yx=(A,{onScrollStart:e,onScrollEnd:t})=>{const o=d.useRef({scrolling:!1});De(()=>{let r,n=()=>{o.current.scrolling||e==null||e(),o.current.scrolling=!0,clearTimeout(r),r=setTimeout(()=>{o.current.scrolling=!1,t==null||t()},50)};return A==null||A.addEventListener("scroll",n),()=>{A==null||A.removeEventListener("scroll",n)}},[A,t,e])};function Cp(A){let e="rgba(0, 0, 0, 0)",t="transparent";if(!A)return e;let o=getComputedStyle(A).backgroundColor;return o===e||o===t?Cp(A.parentElement):o}const jx=A=>{const{activeThemeTone:e,activeThemeId:t}=le(),[o,r]=d.useState(0);return d.useEffect(()=>r(n=>n+1),[e,t]),d.useMemo(()=>A?Cp(A):"transparent",[A,o])},mp=(A,e,t)=>{const[o,r]=d.useState(0),n=PA(()=>{if(!A)return 0;const a=e.current,i=t.current;if(a&&i){const s=a.getBoundingClientRect(),l=i.getBoundingClientRect(),g=i.scrollTop;return s.top-l.top+g}return 0});return tl(t,()=>{r(n())}),o},hp=d.createContext(null);function Qp(){return d.useContext(hp)}const _x={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"},Wx=/[-:]/g;function Jx(A){const{ensureCustomSvgIcon:e,customSvgs:t}=Qp();De(()=>{A&&e(A)},[e,A]);const o=A?t[A]:null,r=d.useCallback(({style:n,className:a})=>{if(!o)return null;const{attributes:i,name:s}=o,l={};return Object.entries(i).forEach(([g,u])=>{let p=g;/^(data-|aria-)/.test(g)?p=g:p=g.replace(Wx,"").toLowerCase(),l[_x[p]||g]=u}),c.jsx("svg",{...l,style:n,className:a,children:c.jsx("use",{href:`#${s}`})})},[o]);return A?r:null}class Wg extends Error{constructor(e,t){super(e),this.code=t,Object.setPrototypeOf(this,Wg.prototype)}}const $x={S001:"A numeric value expected",S002:"A dimension unit expected",S003:"An alignment value expected",S004:"A border style value expected",S005:"A color value or expression expected",S006:"Unknown color function name '{0}'",S007:"'(' expected, but '{0}' received",S008:"A color channel percentage value expected between 0 and 100",S009:"A color channel value expected between 0 and 255",S010:"')' expected, but '{0}' received",S011:"An alpha channel value expected between 0.0 and 1.0",S012:"A scrolling value expected",S013:"A direction value expected",S014:"A fontFamily value expected",S015:"A fontWeight value expected",S016:"Unexpected token found",S017:"A Boolean value expected",S018:"An orientation value expected",S019:"']' expected",S020:"A user-select value expected",S021:"A text transform value expected"};class zx{constructor(e){this.source=e,this._pos=0}get position(){return this._pos}peek(){return this.ahead(0)}ahead(e=1){return this._pos+e>this.source.length-1?null:this.source[this._pos+e]}get(){return this._pos>=this.source.length?null:this.source[this._pos++]}getTail(e){var t;return((t=this.source)==null?void 0:t.substring(e))??""}}var N=(A=>(A[A.Eof=-1]="Eof",A[A.Ws=-2]="Ws",A[A.Unknown=0]="Unknown",A[A.Identifier=1]="Identifier",A[A.Star=2]="Star",A[A.Percentage=3]="Percentage",A[A.Number=4]="Number",A[A.LParent=5]="LParent",A[A.RParent=6]="RParent",A[A.Comma=7]="Comma",A[A.Slash=8]="Slash",A[A.Reset=9]="Reset",A[A.None=10]="None",A[A.UserSelect=11]="UserSelect",A[A.SizeUnit=12]="SizeUnit",A[A.FitToContent=13]="FitToContent",A[A.Auto=14]="Auto",A[A.Alignment=15]="Alignment",A[A.TextAlignment=16]="TextAlignment",A[A.BorderStyle=17]="BorderStyle",A[A.Scrolling=18]="Scrolling",A[A.TextTransform=19]="TextTransform",A[A.Direction=20]="Direction",A[A.Angle=21]="Angle",A[A.HexaColor=22]="HexaColor",A[A.ColorFunc=23]="ColorFunc",A[A.FontFamily=24]="FontFamily",A[A.ColorName=25]="ColorName",A[A.FontWeight=26]="FontWeight",A[A.DecorationLine=27]="DecorationLine",A[A.Orientation=28]="Orientation",A[A.Cursor=29]="Cursor",A[A.Default=30]="Default",A[A.Boolean=31]="Boolean",A[A.String=32]="String",A))(N||{});class qx{constructor(e){this.input=e,this._ahead=[],this._prefetched=null,this._prefetchedPos=null,this._lastFetchPosition=0}peek(e=!1){return this.ahead(0,e)}ahead(e=1,t=!1){if(e>16)throw new Error("Cannot look ahead more than 16 tokens");for(;this._ahead.length<=e;){const o=this.fetch();if(Ep(o))return o;(t||!t&&!Ip(o))&&this._ahead.push(o)}return this._ahead[e]}get(e=!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(Ep(t)||e||!e&&!Ip(t))return t}}getTail(){return this._ahead.length>0?this.input.getTail(this._ahead[0].start):this.input.getTail(this._lastFetchPosition)}fetch(){const e=this,t=this.input,o=this._prefetchedPos||t.position;this._lastFetchPosition=this.input.position;let r="",n=N.Eof,a=t.position,i=null,s=!1,l="",g=0;for(;;){if(i=p(),i===null)return B();switch(n===N.Eof&&(n=N.Unknown),g){case 0:switch(i){case" ":case" ":case`
2
2
  `:case"\r":g=1,n=N.Ws;break;case"-":g=4;break;case"*":return C(N.Star);case"%":return C(N.Percentage);case"(":return C(N.LParent);case")":return C(N.RParent);case",":return C(N.Comma);case"/":return C(N.Slash);case"#":g=7;break;case".":g=6;break;case"'":case'"':l=i,g=8;break;default:wp(i)?(s=!0,g=2,n=N.Identifier):rl(i)?(g=5,n=N.Number):C(N.Unknown);break}break;case 1:if(i!==" "&&i!==" "&&i!=="\r"&&i!==`
3
3
  `)return B();break;case 2:if(!fp(i))return B();break;case 4:if(i===".")g=6;else if(rl(i))g=5,n=N.Number;else if(fp(i))g=2,n=N.Identifier;else return B();break;case 5:if(rl(i))break;if(i===".")g=6,n=N.Unknown;else return B();break;case 6:if(!rl(i))return B();n=N.Number;break;case 7:if(Vx(i)){n=r.length===3||r.length===6||r.length===4||r.length===8?N.HexaColor:N.Unknown;break}else return B();case 8:if(i===l)return l="",C(N.String);break;default:return B()}u()}function u(){r+=i,e._prefetched=null,e._prefetchedPos=null,a=t.position}function p(){return e._prefetched||(e._prefetchedPos=t.position,e._prefetched=t.get()),e._prefetched}function B(){return s&&(n=Zx[r]??(wp(r[0])?N.Identifier:N.Unknown)),{text:r,type:n,start:o,end:a}}function C(m){return u(),m!==void 0&&(n=m),B()}}}function Ep(A){return A.type===N.Eof}function Ip(A){return A.type<=N.Ws}function wp(A){return A>="a"&&A<="z"||A>="A"&&A<="Z"||A==="-"||A==="_"||A==="$"}function fp(A){return A>="a"&&A<="z"||A>="A"&&A<="Z"||A>="0"&&A<="9"||A==="-"||A==="_"||A==="$"}function rl(A){return A>="0"&&A<="9"}function Vx(A){return A>="0"&&A<="9"||A>="A"&&A<="F"||A>="a"&&A<="f"}const Zx={none:N.None,auto:N.Auto,px:N.SizeUnit,cm:N.SizeUnit,mm:N.SizeUnit,in:N.SizeUnit,pt:N.SizeUnit,pc:N.SizeUnit,em:N.SizeUnit,rem:N.SizeUnit,vw:N.SizeUnit,vh:N.SizeUnit,ex:N.SizeUnit,ch:N.SizeUnit,vmin:N.SizeUnit,vmax:N.SizeUnit,start:N.Alignment,center:N.Alignment,end:N.Alignment,left:N.TextAlignment,right:N.TextAlignment,justify:N.TextAlignment,vertical:N.Orientation,horizontal:N.Orientation,ltr:N.Direction,rtl:N.Direction,serif:N.FontFamily,sansSerif:N.FontFamily,mono:N.FontFamily,visible:N.Scrolling,hidden:N.Scrolling,scroll:N.Scrolling,capitalize:N.TextTransform,uppercase:N.TextTransform,lowercase:N.TextTransform,"full-width":N.TextTransform,"full-size-kana":N.TextTransform,dotted:N.BorderStyle,dashed:N.BorderStyle,solid:N.BorderStyle,double:N.BorderStyle,groove:N.BorderStyle,ridge:N.BorderStyle,inset:N.BorderStyle,outset:N.BorderStyle,deg:N.Angle,rad:N.Angle,grad:N.Angle,turn:N.Angle,lighter:N.FontWeight,normal:N.FontWeight,bold:N.FontWeight,bolder:N.FontWeight,true:N.Boolean,false:N.Boolean,yes:N.Boolean,no:N.Boolean,on:N.Boolean,off:N.Boolean,rgb:N.ColorFunc,rgba:N.ColorFunc,hsl:N.ColorFunc,hsla:N.ColorFunc,underline:N.DecorationLine,overline:N.DecorationLine,"line-through":N.DecorationLine,all:N.UserSelect,text:N.UserSelect,contain:N.UserSelect,reset:N.Reset,transparent:N.ColorName,black:N.ColorName,silver:N.ColorName,gray:N.ColorName,white:N.ColorName,maroon:N.ColorName,red:N.ColorName,purple:N.ColorName,fuchsia:N.ColorName,green:N.ColorName,lime:N.ColorName,olive:N.ColorName,yellow:N.ColorName,navy:N.ColorName,blue:N.ColorName,teal:N.ColorName,aqua:N.ColorName,orange:N.ColorName,aliceblue:N.ColorName,antiquewhite:N.ColorName,aquamarine:N.ColorName,azure:N.ColorName,beige:N.ColorName,bisque:N.ColorName,blanchedalmond:N.ColorName,blueviolet:N.ColorName,brown:N.ColorName,burlywood:N.ColorName,cadetblue:N.ColorName,chartreuse:N.ColorName,chocolate:N.ColorName,coral:N.ColorName,cornflowerblue:N.ColorName,cornsilk:N.ColorName,crimson:N.ColorName,cyan:N.ColorName,darkblue:N.ColorName,darkcyan:N.ColorName,darkgoldenrod:N.ColorName,darkgray:N.ColorName,darkgreen:N.ColorName,darkgrey:N.ColorName,darkkhaki:N.ColorName,darkmagenta:N.ColorName,darkolivegreen:N.ColorName,darkorange:N.ColorName,darkorchid:N.ColorName,darkred:N.ColorName,darksalmon:N.ColorName,darkseagreen:N.ColorName,darkslateblue:N.ColorName,darkslategray:N.ColorName,darkslategrey:N.ColorName,darkturquoise:N.ColorName,darkviolet:N.ColorName,deeppink:N.ColorName,deepskyblue:N.ColorName,dimgray:N.ColorName,dimgrey:N.ColorName,dodgerblue:N.ColorName,firebrick:N.ColorName,floralwhite:N.ColorName,forestgreen:N.ColorName,gainsboro:N.ColorName,ghostwhite:N.ColorName,gold:N.ColorName,goldenrod:N.ColorName,greenyellow:N.ColorName,grey:N.ColorName,honeydew:N.ColorName,hotpink:N.ColorName,indianred:N.ColorName,indigo:N.ColorName,ivory:N.ColorName,khaki:N.ColorName,lavender:N.ColorName,lavenderblush:N.ColorName,lawngreen:N.ColorName,lemonchiffon:N.ColorName,lightblue:N.ColorName,lightcoral:N.ColorName,lightcyan:N.ColorName,lightgoldenrodyellow:N.ColorName,lightgray:N.ColorName,lightgreen:N.ColorName,lightgrey:N.ColorName,lightpink:N.ColorName,lightsalmon:N.ColorName,lightseagreen:N.ColorName,lightskyblue:N.ColorName,lightslategray:N.ColorName,lightslategrey:N.ColorName,lightsteelblue:N.ColorName,lightyellow:N.ColorName,limegreen:N.ColorName,linen:N.ColorName,magenta:N.ColorName,mediumaquamarine:N.ColorName,mediumblue:N.ColorName,mediumorchid:N.ColorName,mediumpurple:N.ColorName,mediumseagreen:N.ColorName,mediumslateblue:N.ColorName,mediumspringgreen:N.ColorName,mediumturquoise:N.ColorName,mediumvioletred:N.ColorName,midnightblue:N.ColorName,mintcream:N.ColorName,mistyrose:N.ColorName,moccasin:N.ColorName,navajowhite:N.ColorName,oldlace:N.ColorName,olivedrab:N.ColorName,orangered:N.ColorName,orchid:N.ColorName,palegoldenrod:N.ColorName,palegreen:N.ColorName,paleturquoise:N.ColorName,palevioletred:N.ColorName,papayawhip:N.ColorName,peachpuff:N.ColorName,peru:N.ColorName,pink:N.ColorName,plum:N.ColorName,powderblue:N.ColorName,rosybrown:N.ColorName,royalblue:N.ColorName,saddlebrown:N.ColorName,salmon:N.ColorName,sandybrown:N.ColorName,seagreen:N.ColorName,seashell:N.ColorName,sienna:N.ColorName,skyblue:N.ColorName,slateblue:N.ColorName,slategray:N.ColorName,slategrey:N.ColorName,snow:N.ColorName,springgreen:N.ColorName,steelblue:N.ColorName,tan:N.ColorName,thistle:N.ColorName,tomato:N.ColorName,turquoise:N.ColorName,violet:N.ColorName,wheat:N.ColorName,whitesmoke:N.ColorName,yellowgreen:N.ColorName,rebeccapurple:N.ColorName,default:N.Default,"context-menu":N.Cursor,help:N.Cursor,pointer:N.Cursor,progress:N.Cursor,wait:N.Cursor,cell:N.Cursor,crosshair:N.Cursor,"vertical-text":N.Cursor,alias:N.Cursor,copy:N.Cursor,move:N.Cursor,"no-drop":N.Cursor,"not-allowed":N.Cursor,grab:N.Cursor,grabbing:N.Cursor,"all-scroll":N.Cursor,"col-resize":N.Cursor,"row-resize":N.Cursor,"n-resize":N.Cursor,"e-resize":N.Cursor,"s-resize":N.Cursor,"w-resize":N.Cursor,"ne-resize":N.Cursor,"nw-resize":N.Cursor,"se-resize":N.Cursor,"sw-resize":N.Cursor,"ew-resize":N.Cursor,"ns-resize":N.Cursor,"nesw-resize":N.Cursor,"nwse-resize":N.Cursor,"zoom-in":N.Cursor,"zoom-out":N.Cursor},Jg="xmlui";class bp{constructor(e){this.source=e,this._parseErrors=[],this._lexer=new qx(new zx(e))}testCompleted(){const e=this._lexer.peek(!0);return e.type===N.Eof?!0:e.type===N.Ws?(this._lexer.get(!0),this._lexer.peek().type===N.Eof):!1}parseSize(){return this.parseSizeLike("px")}parseBorder(){const e=this._lexer.peek(),t=this.tryThemeId();let o,r=3;if(t){if(this.testCompleted())return t;r=2,o=t.themeId}let n=null,a=null,i=null,s,l;for(let g=0;g<r;g++){const u=this._lexer.peek();if(Dp(u))o?s?l=this.parseThemeId():s=this.parseThemeId():o=this.parseThemeId();else switch(u.type){case N.Number:if(n)return this.reportError("S016",u),null;n=this.parseSize();break;case N.BorderStyle:if(a)return this.reportError("S016",u),null;a=this.parseBorderStyle();break;case N.ColorName:case N.ColorFunc:case N.HexaColor:if(i)return this.reportError("S016",u),null;i=this.parseColor();break;default:return this.reportError("S016",u),null}const p=this._lexer.peek(!0);if(p.type===N.Eof)break;p.type===N.Ws&&this._lexer.get(!0)}return this.createNode("Border",{themeId1:o,themeId2:s,themeId3:l,widthValue:n==null?void 0:n.value,widthUnit:n==null?void 0:n.unit,color:i==null?void 0:i.value,styleValue:a==null?void 0:a.value},e)}parseBorderStyle(){const e=this._lexer.peek();return e.type!==N.BorderStyle&&e.type!==N.None?(this.reportError("S004",e),null):(this._lexer.get(),this.createNode("BorderStyle",{value:e.text},e))}parseColor(){const e=this._lexer.peek(),t=this.tryThemeId();if(t)return t;const o=this;switch(e.type){case N.ColorName:return this._lexer.get(),this.createNode("Color",{value:e.text.toLowerCase()},e);case N.HexaColor:return this._lexer.get(),this.createNode("Color",{value:e.text},e);case N.ColorFunc:let n=!1;switch(e.text){case"rgb":n=r(["V%","V%","V%"]);break;case"rgba":n=r(["V%","V%","V%","alpha"]);break;case"hsl":n=r(["angle","%","%"]);break;case"hsla":n=r(["angle","%","%","alpha"]);break;default:return this.reportError("S006",e,e.text),null}return n?{type:"Color",startPosition:e.start,endPosition:this._lexer.peek().start,value:this.getSource(e,this._lexer.peek())}:null;default:return this.reportError("S005",e),null}function r(n){o._lexer.get(),o.expectToken(N.LParent,"S007");for(let i=0;i<n.length;i++){const s=o.getNumber();if(s===null)return!1;const l=o._lexer.peek(!0);switch(n[i]){case"V%":if(l.type===N.Percentage){if(s<0||s>100)return o.reportError("S008"),!1;o._lexer.get()}else if(s<0||s>255)return o.reportError("S009"),!1;break;case"%":if(l.type!==N.Percentage||s<0||s>100)return o.reportError("S008"),!1;o._lexer.get();break;case"angle":l.type===N.Angle&&o._lexer.get();break;case"alpha":if(l.type===N.Percentage){if(s<0||s>100)return o.reportError("S008"),!1;o._lexer.get()}else if(s<0||s>1)return o.reportError("S011"),!1;break}if(i===n.length-1)continue;let g=o._lexer.peek(!0);g.type===N.Ws?(o._lexer.get(),g=o._lexer.peek(!0),g.type===N.Comma&&o._lexer.get()):o.expectToken(N.Comma),g=o._lexer.peek(),g.type===N.Ws&&o._lexer.get()}return o._lexer.peek().type===N.Ws&&o._lexer.get(),o.expectToken(N.RParent,"S010"),!0}}getNumber(){const e=this._lexer.get();return e.type===N.Number?parseFloat(e.text):(this.reportError("S001",e),null)}expectToken(e,t,o){const r=this._lexer.peek();return r.type===e||o&&r.type===N.Eof?this._lexer.get():(this.reportError(t??"S007",r,r.text),null)}reportError(e,t,...o){let r=$x[e]??"Unknown error";throw o&&o.forEach((a,i)=>r=n(r,`{${i}}`,o[i].toString())),t||(t=this._lexer.peek(!0)),this._parseErrors.push({code:e,text:r,position:t.start}),new Wg(r,e);function n(a,i,s){do a=a.replace(i,s);while(a.includes(i));return a}}createNode(e,t,o,r,n){r||(r=this._lexer.peek(!0));const a=o.start,i=r.start;return Object.assign({},t,{type:e,startPosition:a,endPosition:i,source:n??this.getSource(o,r)})}getSource(e,t){return t||(t=this._lexer.peek()),this.source.substring(e.start,t.start)}tryThemeId(){const e=this._lexer.peek();return Dp(e)?this.createNode("Boolean",{themeId:this.parseThemeId()},e):null}parseThemeId(){const e=this._lexer.peek();return this._lexer.get(),{id:e.text}}parseSizeLike(e=""){const t=this._lexer.peek(),o=this.tryThemeId();if(o)return o;if(t.type===N.Star){this._lexer.get();const i=this._lexer.peek(!0);if(i.type===N.Ws)this._lexer.get(!0);else if(i.type!==N.Eof)return this.reportError("S016",i),null;return this.createNode("Size",{value:1,unit:"*"},t)}const r=this.getNumber();if(r===null)return null;let n="";const a=this._lexer.peek(!0);if(a.type===N.SizeUnit||a.type===N.Star||a.type===N.Percentage)n=this._lexer.get(!0).text;else if(a.type===N.Ws)this._lexer.get(!0);else if(a.type!==N.Eof)return this.reportError("S016",a),null;return this.createNode("Size",{value:r,unit:n||(r?e:"")},t)}}function Dp(A){return A.type===N.Identifier&&A.text.charAt(0)==="$"}function nl(A){if(typeof A=="string")return`var(--${Jg}-${A.substring(1)})`;if(A.defaultValue&&A.defaultValue.length>0){let e="";for(const t of A.defaultValue)e+=typeof t=="string"?t:nl(t);return`var(--${Jg}-${A.id.substring(1)}, ${e})`}else return`var(--${Jg}-${A.id.substring(1)})`}const yA=d.forwardRef(function({name:e,fallback:t,style:o,className:r,size:n,onClick:a,...i},s){var m;const l=tk(e,t),g=typeof n=="string"?ek(n):n,u=g||i.width,p=g||i.height,B={className:aA(Og.base,r,{[Og.clickable]:!!a}),...i,size:g,width:u,height:p,style:{...o,"--icon-width":u,"--icon-height":p},onClick:a},C=Ak(e);return C?c.jsx(Xx,{...B,url:C,name:e}):((m=l==null?void 0:l.renderer)==null?void 0:m.call(l,B))||null});function Xx(A){var g;const{url:e,width:t,height:o,name:r,style:n,className:a}=A,i=_g(e),s=(g=i==null?void 0:i.toLowerCase())==null?void 0:g.endsWith(".svg"),l=Jx(i);if(i&&s){const u=l==null?void 0:l({style:n,className:a});return u||c.jsx("span",{style:n,className:a})}return c.jsx("img",{src:i,style:{width:t,height:o,...n},alt:r})}function Ak(A){const{getResourceUrl:e}=le();return A&&e(`resource:icon.${A}`)}function ek(A){return/^\$[a-zA-Z0-9_$-]+$/g.test(A)?nl(A):{xs:"0.75em",sm:"1em",md:"1.5rem",lg:"2em"}[A]||A}function tk(A,e){const t=Qp();if(A&&typeof A=="string"){const o=":",r=A.split(o);if(r.length>1){const n=t.lookupIconRenderer(`${r[0].toLowerCase()}${o}${r[1]}`);if(n)return n}if(r.length===1){const n=t.lookupIconRenderer(r[0]);if(n)return n}}if(e&&typeof e=="string"){const o=t.lookupIconRenderer(e.toLowerCase());if(o)return o}return null}function vp(A,e){if(typeof A=="function")return A(e);A!=null&&(A.current=e)}function Dt(...A){return e=>{let t=!1;const o=A.map(r=>{const n=vp(r,e);return!t&&typeof n=="function"&&(t=!0),n});if(t)return()=>{for(let r=0;r<o.length;r++){const n=o[r];typeof n=="function"?n():vp(A[r],null)}}}}const ok=({children:A,...e})=>c.jsx(Lg.VisuallyHidden,{...e,children:A}),ht={type:"button",iconPosition:"start",contentPosition:"center",orientation:"horizontal",variant:"solid",themeColor:"primary",size:"sm",autoFocus:!1},ae=d.forwardRef(function({id:e,type:t=ht.type,icon:o,iconPosition:r=ht.iconPosition,contentPosition:n=ht.contentPosition,orientation:a=ht.orientation,variant:i=ht.variant,themeColor:s=ht.themeColor,size:l=ht.size,disabled:g,children:u,formId:p,onClick:B,onFocus:C,onBlur:m,style:h,gap:Q,className:E,autoFocus:D=ht.autoFocus,contextualLabel:I,...w},v){const f=d.useRef(null),M=v?Dt(v,f):f;d.useEffect(()=>{D&&setTimeout(()=>{var G;(G=f.current)==null||G.focus()},0)},[D]);const S=r==="start";return c.jsxs("button",{...w,id:e,type:t,ref:M,className:aA(E,Je.button,{[Je.buttonHorizontal]:a==="horizontal",[Je.buttonVertical]:a==="vertical",[Je.xs]:l==="xs",[Je.sm]:l==="sm",[Je.md]:l==="md",[Je.lg]:l==="lg",[Je.solidPrimary]:i==="solid"&&s==="primary",[Je.solidSecondary]:i==="solid"&&s==="secondary",[Je.solidAttention]:i==="solid"&&s==="attention",[Je.outlinedPrimary]:i==="outlined"&&s==="primary",[Je.outlinedSecondary]:i==="outlined"&&s==="secondary",[Je.outlinedAttention]:i==="outlined"&&s==="attention",[Je.ghostPrimary]:i==="ghost"&&s==="primary",[Je.ghostSecondary]:i==="ghost"&&s==="secondary",[Je.ghostAttention]:i==="ghost"&&s==="attention",[Je.alignStart]:n==="start",[Je.alignEnd]:n==="end"}),autoFocus:D,disabled:g,form:p,style:h,onClick:B,onFocus:C,onBlur:m,children:[o&&S&&c.jsx(c.Fragment,{children:o}),u,o&&!u&&c.jsx(rk,{icon:o,accessibleName:I}),o&&!S&&c.jsx(c.Fragment,{children:o})]})}),rk=({icon:A,accessibleName:e=""})=>{const t=A.props;return c.jsx(ok,{children:c.jsx("span",{children:e||(t==null?void 0:t.name)||(t==null?void 0:t.alt)})})},xA="Button",yp={status:"stable",description:"`Button` is the primary interactive component for triggering actions like form submissions, navigation, opening modals, and API calls. It supports multiple visual styles and sizes to match different UI contexts and importance levels.",props:{autoFocus:{description:"Indicates if the button should receive focus when the page loads.",isRequired:!1,type:"boolean",defaultValue:ht.autoFocus},variant:{description:"The button variant determines the level of emphasis the button should possess.",isRequired:!1,type:"string",availableValues:Pg,defaultValue:ht.variant},themeColor:{description:"Sets the button color scheme defined in the application theme.",isRequired:!1,type:"string",availableValues:Fg,defaultValue:ht.themeColor},size:{description:"Sets the size of the button.",isRequired:!1,type:"string",availableValues:_s,defaultValue:ht.size},label:{description:`This property is an optional string to set a label for the ${xA}. If no label is specified and an icon is set, the ${xA} will modify its styling to look like a small icon button. When the ${xA} 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 ${xA} appears in an HTML context. You rarely need to set this property explicitly.`,availableValues:nx,valueType:"string",defaultValue:ht.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:Qx(ht.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 ${xA} displays only that icon.`,type:"string"},iconPosition:{description:`This optional string determines the location of the icon in the ${xA}.`,availableValues:Js,type:"string",defaultValue:ht.iconPosition},contentPosition:{description:`This optional value determines how the label and icon (or nested children) should be placedinside the ${xA} component.`,availableValues:tp,type:"string",defaultValue:ht.contentPosition},contextualLabel:{description:`This optional value is used to provide an accessible name for the ${xA} in the context of its usage.`,type:"string"}},events:{click:fa(xA),gotFocus:Ot(xA),lostFocus:Rt(xA)},themeVars:CA(Je.themeVars),defaultThemeVars:{[`width-${xA}`]:"fit-content",[`height-${xA}`]:"fit-content",[`borderRadius-${xA}`]:"$borderRadius",[`fontSize-${xA}`]:"$fontSize-small",[`fontWeight-${xA}`]:"$fontWeight-medium",[`backgroundColor-${xA}-primary`]:"$color-primary-500",[`backgroundColor-${xA}-attention`]:"$backgroundColor-attention",[`borderColor-${xA}-attention`]:"$color-attention",[`backgroundColor-${xA}--disabled`]:"$backgroundColor--disabled",[`borderColor-${xA}--disabled`]:"$borderColor--disabled",[`borderStyle-${xA}`]:"solid",[`textColor-${xA}--disabled`]:"$textColor--disabled",[`outlineColor-${xA}--focus`]:"$outlineColor--focus",[`borderWidth-${xA}`]:"1px",[`outlineWidth-${xA}--focus`]:"$outlineWidth--focus",[`outlineStyle-${xA}--focus`]:"$outlineStyle--focus",[`outlineOffset-${xA}--focus`]:"$outlineOffset--focus",[`paddingHorizontal-${xA}-xs`]:"$space-1",[`paddingVertical-${xA}-xs`]:"$space-0_5",[`paddingHorizontal-${xA}-sm`]:"$space-4",[`paddingVertical-${xA}-sm`]:"$space-2",[`paddingHorizontal-${xA}-md`]:"$space-4",[`paddingVertical-${xA}-md`]:"$space-3",[`paddingHorizontal-${xA}-lg`]:"$space-5",[`paddingVertical-${xA}-lg`]:"$space-4",[`textColor-${xA}`]:"$color-surface-950",[`textColor-${xA}-solid`]:"$const-color-surface-50",[`borderColor-${xA}-primary`]:"$color-primary-500",[`backgroundColor-${xA}-primary--hover`]:"$color-primary-400",[`backgroundColor-${xA}-primary--active`]:"$color-primary-500",[`backgroundColor-${xA}-primary-outlined--hover`]:"$color-primary-50",[`backgroundColor-${xA}-primary-outlined--active`]:"$color-primary-100",[`borderColor-${xA}-primary-outlined`]:"$color-primary-600",[`borderColor-${xA}-primary-outlined--hover`]:"$color-primary-500",[`textColor-${xA}-primary-outlined`]:"$color-primary-900",[`textColor-${xA}-primary-outlined--hover`]:"$color-primary-950",[`textColor-${xA}-primary-outlined--active`]:"$color-primary-900",[`backgroundColor-${xA}-primary-ghost--hover`]:"$color-primary-50",[`backgroundColor-${xA}-primary-ghost--active`]:"$color-primary-100",[`borderColor-${xA}-secondary`]:"$color-secondary-100",[`backgroundColor-${xA}-secondary`]:"$color-secondary-500",[`backgroundColor-${xA}-secondary--hover`]:"$color-secondary-400",[`backgroundColor-${xA}-secondary--active`]:"$color-secondary-500",[`backgroundColor-${xA}-secondary-outlined--hover`]:"$color-secondary-50",[`backgroundColor-${xA}-secondary-outlined--active`]:"$color-secondary-100",[`backgroundColor-${xA}-secondary-ghost--hover`]:"$color-secondary-100",[`backgroundColor-${xA}-secondary-ghost--active`]:"$color-secondary-100",[`backgroundColor-${xA}-attention--hover`]:"$color-danger-400",[`backgroundColor-${xA}-attention--active`]:"$color-danger-500",[`backgroundColor-${xA}-attention-outlined--hover`]:"$color-danger-50",[`backgroundColor-${xA}-attention-outlined--active`]:"$color-danger-100",[`backgroundColor-${xA}-attention-ghost--hover`]:"$color-danger-50",[`backgroundColor-${xA}-attention-ghost--active`]:"$color-danger-100"}},nk=$("Button",yp,({node:A,extractValue:e,renderChild:t,lookupEventHandler:o,layoutCss:r})=>{const n=e.asString(A.props.icon),a=e.asDisplayText(A.props.label);return c.jsx(ae,{type:e.asOptionalString(A.props.type),variant:e.asOptionalString(A.props.variant),themeColor:e.asOptionalString(A.props.themeColor),autoFocus:e.asOptionalBoolean(A.props.autoFocus),size:e.asOptionalString(A.props.size),icon:n&&c.jsx(yA,{name:n,"aria-hidden":!0}),iconPosition:e.asOptionalString(A.props.iconPosition),orientation:e.asOptionalString(A.props.orientation),contentPosition:e.asOptionalString(A.props.contentPosition),disabled:!e.asOptionalBoolean(A.props.enabled,!0),onClick:o("click"),onFocus:o("gotFocus"),onBlur:o("lostFocus"),style:r,contextualLabel:e.asOptionalString(A.props.contextualLabel),children:t(A.children,{type:"Stack",orientation:"horizontal"})||a})}),Oo={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"};class On extends Error{constructor(e){super(e),Object.setPrototypeOf(this,On.prototype)}}class al extends On{constructor(e,t){let o="";e!=null&&e.code&&(o+=`[Error code: ${e.code}]
4
- `),e!=null&&e.details&&typeof e.details=="string"?o+=`${e.details}`:e!=null&&e.message&&(o+=`${e.message}`),super(o||(e==null?void 0:e.message)||"Unknown error"),this.info=e,this.errorCategory="GenericBackendError",this.details=e,this.statusCode=t,Object.setPrototypeOf(this,al.prototype)}}class Gi extends On{constructor(e,t,o){e=`Parser Error: ${e}`,super(e),this.source=t,this.position=o,this.errorCategory="ScriptParserError",Object.setPrototypeOf(this,Gi.prototype)}}class Oi extends On{constructor(e,t){super(e),this.source=t,this.errorCategory="StatementExecutionError",Object.setPrototypeOf(this,Oi.prototype)}}class Ri extends On{constructor(){super("Must be a component definition, cannot use dynamic children here..."),this.errorCategory="NotAComponentError",Object.setPrototypeOf(this,Ri.prototype)}}class rr extends On{constructor(e){const t=typeof e=="string"?e:(e==null?void 0:e.message)||"Error without message";super(t),this.errorObject=e,this.errorCategory="ThrowStatementError",this.message=t,Object.setPrototypeOf(this,rr.prototype)}}function ak(A,e,t){return d.useMemo(()=>A==="horizontal"?{horizontal:e&&Oo[`justifyItems${Fi(e)}`],vertical:t&&Oo[`alignItems${Fi(t)}`]}:{horizontal:e&&Oo[`alignItems${Fi(e)}`],vertical:t&&Oo[`justifyItems${Fi(t)}`]},[A,e,t])}const xp="vertical",qr={orientation:xp,reverse:!1,hoverContainer:!1,visibleOnHover:!1},ya=d.forwardRef(function({uid:e,children:t,orientation:o=qr.orientation,horizontalAlignment:r,verticalAlignment:n,style:a,reverse:i=qr.reverse,hoverContainer:s=qr.hoverContainer,visibleOnHover:l=qr.visibleOnHover,onClick:g,onMount:u,...p},B){Ux(u);const{horizontal:C,vertical:m}=ak(o,r,n);return c.jsx("div",{...p,onClick:g,ref:B,style:a,className:aA(Oo.base,{[Oo.vertical]:o==="vertical",[Oo.horizontal]:o==="horizontal",[Oo.reverse]:i,[Oo.hoverContainer]:s,"display-on-hover":l,[Oo.handlesClick]:!!g},C??"",m??""),children:t})}),xa="Stack",ik={description:"Manages the horizontal content alignment for each child element in the Stack.",availableValues:ep,valueType:"string",defaultValue:"start"},sk={description:"Manages the vertical content alignment for each child element in the Stack.",availableValues:ep,valueType:"string",defaultValue:"start"},il={status:"stable",description:"`Stack` is the fundamental layout container that organizes child elements in configurable horizontal or vertical arrangements. As the most versatile building block in XMLUI's layout system, it provides comprehensive alignment, spacing, and flow control options that serve as the foundation for all specialized stack variants.",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:qr.reverse},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:qr.orientation},horizontalAlignment:ik,verticalAlignment:sk,hoverContainer:{...He("Reserved for future use"),defaultValue:qr.hoverContainer},visibleOnHover:{...He("Reserved for future use"),defaultValue:qr.visibleOnHover}},events:{click:fa(xa),mounted:He("Reserved for future use")},themeVars:CA(Oo.themeVars)},ka={...il,props:{...il.props}},kp={...ka,specializedFrom:xa,description:"This component represents a stack rendering its contents vertically.",props:{...il.props}},Hp={...ka,specializedFrom:xa,description:"This component represents a stack rendering its contents horizontally.",props:{...il.props}},Sp={...ka,specializedFrom:xa,description:"This component represents a stack that renders its contents vertically and aligns that in the center along both axes."},Mp={...ka,specializedFrom:xa,description:"This component represents a stack that renders its contents horizontally and aligns that in the center along both axes."};function Ui({node:A,extractValue:e,layoutCss:t,orientation:o,horizontalAlignment:r,verticalAlignment:n,lookupEventHandler:a,renderChild:i}){var s,l,g;if(!Kg(A.children))throw new Ri;return c.jsx(ya,{orientation:o,horizontalAlignment:r,verticalAlignment:n,reverse:e((s=A.props)==null?void 0:s.reverse),hoverContainer:e((l=A.props)==null?void 0:l.hoverContainer),visibleOnHover:e((g=A.props)==null?void 0:g.visibleOnHover),style:t,onMount:a("mounted"),children:i(A.children,{type:"Stack",orientation:o})})}const lk=$(xa,ka,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>{var s,l,g;const n=e((s=A.props)==null?void 0:s.orientation)||xp,a=e((l=A.props)==null?void 0:l.horizontalAlignment),i=e((g=A.props)==null?void 0:g.verticalAlignment);return Ui({node:A,extractValue:e,layoutCss:o,orientation:n,horizontalAlignment:a,verticalAlignment:i,lookupEventHandler:r,renderChild:t})}),ck=$("VStack",kp,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>{var i,s;const n=e((i=A.props)==null?void 0:i.horizontalAlignment),a=e((s=A.props)==null?void 0:s.verticalAlignment);return Ui({node:A,extractValue:e,layoutCss:o,lookupEventHandler:r,renderChild:t,orientation:"vertical",horizontalAlignment:n,verticalAlignment:a})}),gk=$("HStack",Hp,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>{var i,s;const n=e((i=A.props)==null?void 0:i.horizontalAlignment),a=e((s=A.props)==null?void 0:s.verticalAlignment);return Ui({node:A,extractValue:e,layoutCss:o,lookupEventHandler:r,renderChild:t,orientation:"horizontal",horizontalAlignment:n,verticalAlignment:a})}),uk=$("CVStack",Sp,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>Ui({node:A,extractValue:e,layoutCss:o,lookupEventHandler:r,renderChild:t,orientation:"vertical",horizontalAlignment:"center",verticalAlignment:"center"})),dk=$("CHStack",Mp,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>Ui({node:A,extractValue:e,layoutCss:o,lookupEventHandler:r,renderChild:t,orientation:"horizontal",horizontalAlignment:"center",verticalAlignment:"center"})),Ro={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:textColor-placeholder-TextBox-default": "var(--xmlui-textColor-placeholder-TextBox-default)", "Input:fontSize-placeholder-TextBox-default": "var(--xmlui-fontSize-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:textColor-placeholder-TextBox-error": "var(--xmlui-textColor-placeholder-TextBox-error)", "Input:fontSize-placeholder-TextBox-error": "var(--xmlui-fontSize-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:textColor-placeholder-TextBox-warning": "var(--xmlui-textColor-placeholder-TextBox-warning)", "Input:fontSize-placeholder-TextBox-warning": "var(--xmlui-fontSize-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:textColor-placeholder-TextBox-success": "var(--xmlui-textColor-placeholder-TextBox-success)", "Input:fontSize-placeholder-TextBox-success": "var(--xmlui-fontSize-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_1a54x_13",input:"_input_1a54x_13",adornment:"_adornment_1a54x_54",error:"_error_1a54x_57",warning:"_warning_1a54x_93",valid:"_valid_1a54x_129",readOnly:"_readOnly_1a54x_189"},Bk={wrapper:"_wrapper_wg0td_13"},Ha={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)", "verticalAlignment-Text": "var(--xmlui-verticalAlignment-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)", "verticalAlignment-Text-markdown": "var(--xmlui-verticalAlignment-Text-markdown)", "fontWeight-Text-abbr": "var(--xmlui-fontWeight-Text-abbr)", "textTransform-Text-abbr": "var(--xmlui-textTransform-Text-abbr)", "fontStyle-Text-cite": "var(--xmlui-fontStyle-Text-cite)", "fontStyle-Text-em": "var(--xmlui-fontStyle-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)", "verticalAlignment-Text-code": "var(--xmlui-verticalAlignment-Text-code)", "marginLeft-Text-codefence": "var(--xmlui-marginLeft-Text-codefence)", "marginRight-Text-codefence": "var(--xmlui-marginRight-Text-codefence)", "verticalAlignment-Text-codefence": "var(--xmlui-verticalAlignment-Text-codefence)", "fontFamily-Text-codefence": "var(--xmlui-fontFamily-Text-codefence)", "textDecorationLine-Text-deleted": "var(--xmlui-textDecorationLine-Text-deleted)", "textDecorationColor-Text-deleted": "var(--xmlui-textDecorationColor-Text-deleted)", "textDecorationStyle-Text-deleted": "var(--xmlui-textDecorationStyle-Text-deleted)", "textDecorationThickness-Text-deleted": "var(--xmlui-textDecorationThickness-Text-deleted)", "textDecorationLine-Text-inserted": "var(--xmlui-textDecorationLine-Text-inserted)", "textDecorationColor-Text-inserted": "var(--xmlui-textDecorationColor-Text-inserted)", "textDecorationStyle-Text-inserted": "var(--xmlui-textDecorationStyle-Text-inserted)", "textDecorationThickness-Text-inserted": "var(--xmlui-textDecorationThickness-Text-inserted)", "backgroundColor-Text-keyboard": "var(--xmlui-backgroundColor-Text-keyboard)", "fontFamily-Text-keyboard": "var(--xmlui-fontFamily-Text-keyboard)", "fontWeight-Text-keyboard": "var(--xmlui-fontWeight-Text-keyboard)", "fontSize-Text-keyboard": "var(--xmlui-fontSize-Text-keyboard)", "borderWidth-Text-keyboard": "var(--xmlui-borderWidth-Text-keyboard)", "borderColor-Text-keyboard": "var(--xmlui-borderColor-Text-keyboard)", "borderStyle-Text-keyboard": "var(--xmlui-borderStyle-Text-keyboard)", "borderRadius-Text-keyboard": "var(--xmlui-borderRadius-Text-keyboard)", "paddingHorizontal-Text-keyboard": "var(--xmlui-paddingHorizontal-Text-keyboard)", "backgroundColor-Text-marked": "var(--xmlui-backgroundColor-Text-marked)", "color-Text-marked": "var(--xmlui-color-Text-marked)", "fontWeight-Text-marked": "var(--xmlui-fontWeight-Text-marked)", "fontStyle-Text-marked": "var(--xmlui-fontStyle-Text-marked)", "lineHeight-Text-marked": "var(--xmlui-lineHeight-Text-marked)", "fontFamily-Text-mono": "var(--xmlui-fontFamily-Text-mono)", "fontFamily-Text-sample": "var(--xmlui-fontFamily-Text-sample)", "fontSize-Text-sample": "var(--xmlui-fontSize-Text-sample)", "fontSize-Text-sup": "var(--xmlui-fontSize-Text-sup)", "verticalAlignment-Text-sup": "var(--xmlui-verticalAlignment-Text-sup)", "fontSize-Text-sub": "var(--xmlui-fontSize-Text-sub)", "verticalAlignment-Text-sub": "var(--xmlui-verticalAlignment-Text-sub)", "fontStyle-Text-var": "var(--xmlui-fontStyle-Text-var)", "fontSize-Text-title": "var(--xmlui-fontSize-Text-title)", "fontSize-Text-subtitle": "var(--xmlui-fontSize-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)", "verticalAlignment-Text-small": "var(--xmlui-verticalAlignment-Text-small)", "letterSpacing-Text-caption": "var(--xmlui-letterSpacing-Text-caption)", "color-Text-placeholder": "var(--xmlui-color-Text-placeholder)", "fontStyle-Text-placeholder": "var(--xmlui-fontStyle-Text-placeholder)", "fontWeight-Text-placeholder": "var(--xmlui-fontWeight-Text-placeholder)", "fontSize-Text-placeholder": "var(--xmlui-fontSize-Text-placeholder)", "fontSize-Text-paragraph": "var(--xmlui-fontSize-Text-paragraph)", "paddingVertical-Text-paragraph": "var(--xmlui-paddingVertical-Text-paragraph)", "fontSize-Text-subheading": "var(--xmlui-fontSize-Text-subheading)", "fontWeight-Text-subheading": "var(--xmlui-fontWeight-Text-subheading)", "fontStyle-Text-subheading": "var(--xmlui-fontStyle-Text-subheading)", "letterSpacing-Text-subheading": "var(--xmlui-letterSpacing-Text-subheading)", "textTransform-Text-subheading": "var(--xmlui-textTransform-Text-subheading)", "color-Text-subheading": "var(--xmlui-color-Text-subheading)", "marginTop-Text-tableheading": "var(--xmlui-marginTop-Text-tableheading)", "marginBottom-Text-tableheading": "var(--xmlui-marginBottom-Text-tableheading)", "paddingHorizontal-Text-tableheading": "var(--xmlui-paddingHorizontal-Text-tableheading)", "fontSize-Text-tableheading": "var(--xmlui-fontSize-Text-tableheading)", "fontWeight-Text-tableheading": "var(--xmlui-fontWeight-Text-tableheading)", "fontSize-Text-secondary": "var(--xmlui-fontSize-Text-secondary)", "color-Text-secondary": "var(--xmlui-color-Text-secondary)"}'`,text:"_text_1kisi_13",default:"_default_1kisi_20",inherit:"_inherit_1kisi_77",markdown:"_markdown_1kisi_104",abbr:"_abbr_1kisi_162",cite:"_cite_1kisi_166",em:"_em_1kisi_169",codefence:"_codefence_1kisi_172",code:"_code_1kisi_172",textcode:"_textcode_1kisi_178",deleted:"_deleted_1kisi_325",inserted:"_inserted_1kisi_346",keyboard:"_keyboard_1kisi_367",marked:"_marked_1kisi_379",mono:"_mono_1kisi_401",sample:"_sample_1kisi_404",sup:"_sup_1kisi_408",sub:"_sub_1kisi_412",var:"_var_1kisi_416",title:"_title_1kisi_419",subtitle:"_subtitle_1kisi_422",small:"_small_1kisi_425",caption:"_caption_1kisi_482",placeholder:"_placeholder_1kisi_485",paragraph:"_paragraph_1kisi_491",subheading:"_subheading_1kisi_496",tableheading:"_tableheading_1kisi_504",secondary:"_secondary_1kisi_512",strong:"_strong_1kisi_516",truncateOverflow:"_truncateOverflow_1kisi_524",preserveLinebreaks:"_preserveLinebreaks_1kisi_531",noEllipsis:"_noEllipsis_1kisi_535"};function pk(A){if(typeof A=="number")return A+"px";const e=A.trim();if(e.startsWith("var("))return e;const t=parseFloat(e),o=t.toString(),r=e.replace(o,"");return Number.isNaN(t)?"0px":r===""?o+"px":e}function Lp(A){const e=A&&A>0?A:0;return e>1?{WebkitLineClamp:e,lineClamp:e,display:"-webkit-box",WebkitBoxOrient:"vertical",boxOrient:"vertical",whiteSpace:"initial"}:YA}function Tp(A){if(typeof A=="number")return A+"px";if(typeof A=="string"&&/^\d+$/.test(A.trim())){const e=parseInt(A,10);if(!isNaN(e))return e+"px"}return A==null?void 0:A.toString()}const Ck=()=>{const A=d.useRef(!1),e=d.useRef(0);if(d.useEffect(()=>{function r(){A.current=!1}return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[]),A.current)return e.current;if(typeof document>"u")return 0;const t=document.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll",document.body.appendChild(t);const o=t.offsetWidth-t.clientWidth;return t.parentNode.removeChild(t),A.current=!0,e.current=o,window.devicePixelRatio!==Math.round(window.devicePixelRatio)&&(e.current=o-.5),e.current},Rn={maxLines:0,preserveLinebreaks:!1,ellipses:!0},ZA=d.forwardRef(function({uid:e,variant:t,maxLines:o=Rn.maxLines,style:r,children:n,preserveLinebreaks:a=Rn.preserveLinebreaks,ellipses:i=Rn.ellipses,...s},l){const g=d.useRef(null),u=l?Dt(g,l):g,{syntaxHighlightClasses:p,...B}=s,C=d.useMemo(()=>!t||!rp[t]?"div":rp[t],[t]);return c.jsx(c.Fragment,{children:c.jsx(C,{...B,ref:u,className:aA([p,Ha.text,Ha[t||"default"],{[Ha.truncateOverflow]:o>0,[Ha.preserveLinebreaks]:a,[Ha.noEllipsis]:!i}]),style:{...r,...Lp(o)},children:n})})});function Vr({iconName:A,text:e,className:t}){return c.jsx(c.Fragment,{children:A||e?c.jsxs("div",{className:aA(Bk.wrapper,t),role:"presentation",children:[c.jsx(yA,{name:A,style:{color:"inherit"}}),e&&c.jsx("div",{style:{display:"flex",userSelect:"none"},children:c.jsx(ZA,{style:{fontSize:"inherit"},children:e})})]}):null})}function mk(A){const e=hk(A),t=Ce.forwardRef((o,r)=>{const{children:n,...a}=o,i=Ce.Children.toArray(n),s=i.find(Ek);if(s){const l=s.props.children,g=i.map(u=>u===s?Ce.Children.count(l)>1?Ce.Children.only(null):Ce.isValidElement(l)?l.props.children:null:u);return c.jsx(e,{...a,ref:r,children:Ce.isValidElement(l)?Ce.cloneElement(l,void 0,g):null})}return c.jsx(e,{...a,ref:r,children:n})});return t.displayName=`${A}.Slot`,t}var Np=mk("Slot");function hk(A){const e=Ce.forwardRef((t,o)=>{const{children:r,...n}=t;if(Ce.isValidElement(r)){const a=wk(r),i=Ik(n,r.props);return r.type!==Ce.Fragment&&(i.ref=o?Dt(o,a):a),Ce.cloneElement(r,i)}return Ce.Children.count(r)>1?Ce.Children.only(null):null});return e.displayName=`${A}.SlotClone`,e}var Qk=Symbol("radix.slottable");function Ek(A){return Ce.isValidElement(A)&&typeof A.type=="function"&&"__radixId"in A.type&&A.type.__radixId===Qk}function Ik(A,e){const t={...e};for(const o in e){const r=A[o],n=e[o];/^on[A-Z]/.test(o)?r&&n?t[o]=(...i)=>{n(...i),r(...i)}:r&&(t[o]=r):o==="style"?t[o]={...r,...n}:o==="className"&&(t[o]=[r,n].filter(Boolean).join(" "))}return{...A,...t}}function wk(A){var o,r;let e=(o=Object.getOwnPropertyDescriptor(A.props,"ref"))==null?void 0:o.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?A.ref:(e=(r=Object.getOwnPropertyDescriptor(A,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?A.props.ref:A.props.ref||A.ref)}const ro={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"},$g={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"},sl={delay:400,fullScreen:!1},ll=d.forwardRef(function({delay:e=sl.delay,fullScreen:t=sl.fullScreen,style:o},r){const[n,a]=d.useState(e===0);d.useEffect(()=>{const s=setTimeout(()=>{a(!0)},e);return()=>{clearTimeout(s)}},[e]);const i=c.jsx(c.Fragment,{children:c.jsxs("div",{className:$g["lds-ring"],style:o,ref:r,children:[c.jsx("div",{}),c.jsx("div",{}),c.jsx("div",{}),c.jsx("div",{})]})});return n?t?c.jsx("div",{className:$g.fullScreenSpinnerWrapper,children:i}):i:null}),fk=/^[0-9]+$/,vt=d.forwardRef(function({id:e,labelPosition:t="top",style:o,label:r,labelBreak:n=!0,labelWidth:a,enabled:i=!0,required:s=!1,children:l,validationInProgress:g=!1,shrinkToLabel:u=!1,onFocus:p,onBlur:B,labelStyle:C,validationResult:m,isInputTemplateUsed:h=!1},Q){const E=d.useId(),D=e||E;return r===void 0&&!m?c.jsx(Np,{style:o,id:D,ref:Q,children:l}):c.jsxs("div",{style:o,ref:Q,className:ro.itemWithLabel,children:[c.jsxs("div",{className:aA(ro.container,{[ro.top]:t==="top",[ro.bottom]:t==="bottom",[ro.start]:t==="start",[ro.end]:t==="end",[ro.shrinkToLabel]:u}),children:[r&&c.jsxs("label",{htmlFor:D,onClick:()=>{var I;return(I=document.getElementById(D))==null?void 0:I.focus()},style:{...C,width:a&&fk.test(a)?`${a}px`:a,flexShrink:a!==void 0?0:void 0},className:aA(ro.inputLabel,{[ro.required]:s,[ro.disabled]:!i,[ro.labelBreak]:n}),children:[r," ",s&&c.jsx("span",{className:ro.requiredMark,children:"*"}),g&&c.jsx(ll,{style:{height:"1em",width:"1em",marginLeft:"1em",alignSelf:"center"}})]}),c.jsx(Np,{id:h?void 0:D,children:l})]}),m]})}),no={type:"text",value:"",initialValue:"",enabled:!0,validationStatus:"none",onDidChange:vA,onFocus:vA,onBlur:vA,onKeyDown:vA,updateState:vA},cl=d.forwardRef(function({id:e,type:t=no.type,value:o=no.value,updateState:r=no.updateState,initialValue:n=no.initialValue,style:a,maxLength:i,enabled:s=no.enabled,placeholder:l,validationStatus:g=no.validationStatus,onDidChange:u=no.onDidChange,onFocus:p=no.onFocus,onBlur:B=no.onBlur,onKeyDown:C=no.onKeyDown,registerComponentApi:m,startText:h,startIcon:Q,endText:E,endIcon:D,gap:I,autoFocus:w,readOnly:v,tabIndex:f,label:M,labelPosition:S,labelWidth:G,labelBreak:b,required:x},L){const T=d.useId();e=e||T;const H=d.useRef(null);d.useEffect(()=>{w&&setTimeout(()=>{var K;(K=H.current)==null||K.focus()},0)},[w]);const[_,j]=d.useState(o);d.useEffect(()=>{j(o)},[o]),d.useEffect(()=>{r({value:n},{initial:!0})},[n,r]);const O=d.useCallback(K=>{j(K),r({value:K}),u(K)},[u,r]),U=d.useCallback(K=>{O(K.target.value)},[O]),J=d.useCallback(()=>{p==null||p()},[p]),V=d.useCallback(()=>{B==null||B()},[B]),Z=d.useCallback(()=>{var K;(K=H.current)==null||K.focus()},[]),R=PA(K=>{O(K)});return d.useEffect(()=>{m==null||m({focus:Z,setValue:R})},[Z,m,R]),c.jsx(vt,{id:e,labelPosition:S,label:M,labelWidth:G,labelBreak:b,required:x,enabled:s,style:a,ref:L,children:c.jsxs("div",{className:aA(Ro.inputRoot,{[Ro.disabled]:!s,[Ro.readOnly]:v,[Ro.error]:g==="error",[Ro.warning]:g==="warning",[Ro.valid]:g==="valid"}),tabIndex:-1,onFocus:Z,style:{gap:I},children:[c.jsx(Vr,{text:h,iconName:Q,className:Ro.adornment}),c.jsx("input",{id:e,type:t,className:aA(Ro.input,{[Ro.readOnly]:v}),disabled:!s,value:_,maxLength:i,placeholder:l,onChange:U,onFocus:J,onBlur:V,onKeyDown:C,ref:H,readOnly:v,autoFocus:w,tabIndex:s?f:-1,required:x}),c.jsx(Vr,{text:E,iconName:D,className:Ro.adornment})]})})}),Un="TextBox",zg={status:"stable",description:"`TextBox` captures user text input for forms, search fields, and data entry with support for validation, icons, and formatting hints.",props:{placeholder:zr(),initialValue:{...Yt(),defaultValue:no.initialValue},label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(Un),labelBreak:Ao(Un),maxLength:Ti(),autoFocus:mt(),required:oo(),readOnly:eo(),enabled:{...Ke(),defaultValue:no.enabled},validationStatus:{...to(),defaultValue:no.validationStatus},startText:qs(),startIcon:Vs(),endText:Zs(),endIcon:Xs(),gap:{description:"This property defines the gap between the adornments and the input area. If not set, the gap declared by the current theme is used."}},events:{gotFocus:Ot(Un),lostFocus:Rt(Un),didChange:ct(Un)},apis:{focus:Go(Un),value:k("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:ho()},themeVars:CA(Ro.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","textColor-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:{}}};function Fp(A,e,t,o,r,n,a,i="text"){return delete A.gap,c.jsx(cl,{type:i,style:A,value:e.value,updateState:t,initialValue:o(r.props.initialValue),maxLength:o(r.props.maxLength),enabled:o.asOptionalBoolean(r.props.enabled),placeholder:o.asOptionalString(r.props.placeholder),validationStatus:o(r.props.validationStatus),onDidChange:n("didChange"),onFocus:n("gotFocus"),onBlur:n("lostFocus"),registerComponentApi:a,startText:o.asOptionalString(r.props.startText),startIcon:o.asOptionalString(r.props.startIcon),endText:o.asOptionalString(r.props.endText),endIcon:o.asOptionalString(r.props.endIcon),gap:o.asOptionalString(r.props.gap),autoFocus:o.asOptionalBoolean(r.props.autoFocus),readOnly:o.asOptionalBoolean(r.props.readOnly),label:o.asOptionalString(r.props.label),labelPosition:o(r.props.labelPosition),labelWidth:o.asOptionalString(r.props.labelWidth),labelBreak:o.asOptionalBoolean(r.props.labelBreak),required:o.asOptionalBoolean(r.props.required)})}const bk=$(Un,zg,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:a})=>Fp(n,e,t,r,A,o,a)),Pp={...zg,description:"`Password` is a specialized [TextBox](/components/TextBox) that enables users to input and edit passwords."},Dk=$("PasswordInput",Pp,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:a})=>Fp(n,e,t,r,A,o,a,"password")),qg={wrapper:"_wrapper_w821k_13",baseRootComponent:"_baseRootComponent_w821k_17"},Sa={};function Vg(A){if(Sa[A]!==void 0)return Sa[A];const e=A.split(/-[A-Z]+/);if(e.length!==2)return Sa[A]=null,Sa[A];const t=e[0],o=t.split(":"),r=o[o.length-1],n=o.length>1?o.slice(0,o.length-1):[],a=A.substring(t.length+1),[i,...s]=a.split("-"),l=a.substring(i.length).split("--"),g=[],u=[];return l.forEach(p=>{!p.includes("-")&&p?g.push(p):p.split("-").forEach(B=>{B&&u.push(B)})}),Sa[A]={classes:n,attribute:r,component:i,traits:u,states:g},Sa[A]}function Gp(A=[]){const e=[];for(let t=1;t<=A.length;t++)for(let o=0;o<=A.length-t;o++)e.push(A.slice(o,o+t));return e.sort((t,o)=>o.length-t.length)}function vk(A,e=[]){const t=Vg(A);if(!t)return;const o=Gp(t.states),r=Gp(t.traits),n=[];r.forEach(u=>{let p="";u.forEach(B=>{p=`${p}-${B}`}),n.push(p)}),n.push("");const a=[];o.forEach(u=>{let p="";u.forEach(B=>{p=`${p}--${B}`}),a.push(p)}),a.push("");const i=[t.component,...t.classes],s=[];a.forEach(u=>{n.forEach(p=>{i.forEach(B=>{s.push(`${t.attribute}-${B}${p}${u}`)})})});let l;for(let u=e.length-1;u>=0;u--){const p=e[u];let B=s.find(C=>p[C]!==void 0);if(B){l=B;break}}return{forValue:s[0],matchedValue:l,from:s}}const yk="xmlui",xk=/(\$[a-zA-Z][a-zA-Z0-9-_]*)/g,kk=/^(true|false)$/,Zg=/^\d*\*$/,Hk={cssProps:{},issues:new Set};function Op(A=YA,e){const t={cssProps:{},issues:new Set};E(e)&&(t.cssProps.flexShrink=0),C("width");const o=m(t.cssProps.width,e);o!==null&&(t.cssProps.flex=o,t.cssProps.flexShrink=1),C("minWidth"),C("maxWidth"),C("height");const r=h(t.cssProps.height,e);r!==null&&(t.cssProps.flex=r,t.cssProps.flexShrink=1),C("minHeight"),C("maxHeight"),C("top"),C("right"),C("bottom"),C("left"),C("gap"),C("padding");const n=B("paddingHorizontal");n&&(t.cssProps.paddingLeft=n,t.cssProps.paddingRight=n),C("paddingRight"),C("paddingLeft");const a=B("paddingVertical");a&&(t.cssProps.paddingTop=a,t.cssProps.paddingBottom=a),C("paddingTop"),C("paddingBottom"),C("margin");const i=B("marginHorizontal");i&&(t.cssProps.marginLeft=i,t.cssProps.marginRight=i),C("marginRight"),C("marginLeft");const s=B("marginVertical");s&&(t.cssProps.marginTop=s,t.cssProps.marginBottom=s),C("marginTop"),C("marginBottom"),C("border");const l=B("borderHorizontal");l&&(t.cssProps.borderLeft=l,t.cssProps.borderRight=l),C("borderRight"),C("borderLeft");const g=B("borderVertical");g&&(t.cssProps.borderTop=g,t.cssProps.borderBottom=g),C("borderTop"),C("borderBottom"),C("borderColor"),C("borderStyle"),C("borderWidth"),C("borderRadius"),C("radiusTopLeft","borderTopLeftRadius"),C("radiusTopRight","borderTopRightRadius"),C("radiusBottomLeft","borderBottomLeftRadius"),C("radiusBottomRight","borderBottomRightRadius"),C("color"),C("fontFamily"),C("fontSize"),C("fontWeight"),C("fontStyle"),C("fontVariant"),C("lineBreak"),C("textDecoration"),C("textDecorationLine"),C("textDecorationColor"),C("textDecorationStyle"),C("textDecorationThickness"),C("textIndent"),C("textShadow"),C("textUnderlineOffset"),C("userSelect"),C("letterSpacing"),C("textTransform"),C("lineHeight"),C("textAlign"),C("textAlignLast"),C("textWrap"),C("wordBreak"),C("wordSpacing"),C("wordWrap"),C("writingMode"),C("backgroundColor"),C("background"),C("boxShadow"),C("direction"),C("overflowX"),C("overflowY"),C("zIndex"),C("opacity"),C("zoom"),C("cursor"),C("whiteSpace"),C("outline"),C("outlineWidth"),C("outlineColor"),C("outlineStyle"),C("outlineOffset");const u=B("wrapContent");u&&(t.cssProps.flexWrap=u==="true"?"wrap":"nowrap"),C("canShrink","flexShrink");const p=B("canShrink");if(p&&(t.cssProps.flexShrink=p==="true"?1:0),hA.isEmpty(t.cssProps)&&hA.isEmpty(t.issues))return Hk;return t;function B(D){var v,f;const I=w();if(((v=e==null?void 0:e.mediaSize)==null?void 0:v.sizeIndex)!==void 0){const M=(f=e.mediaSize)==null?void 0:f.sizeIndex,S=w("xs"),G=w("sm"),b=w("md"),x=w("lg"),L=w("xl"),T=w("xxl");let H;switch(M){case 0:H=S??G??b;break;case 1:H=G??b;break;case 2:H=b;break;case 3:H=x;break;case 4:H=L??x;break;case 5:H=T??L??x;break}return H??I}return I;function w(M=""){const S=M?`${D}-${M}`:D;let G=A[S];if(G==null)return;typeof G=="string"?G=G.trim():G=G.toString();const b=G?G.replace(xk,L=>ao(L.trim())):void 0;if(G!==b)return b;const x=Sk[D];if(!x||x.length===0)return b;for(const L of x)if(L.test(b))return b;return t.issues.add(S),b}}function C(D,I=""){const w=B(D);w&&(t.cssProps[I||D]=w)}function m(D,I){return D&&E(I)==="horizontal"&&Zg.test(D.toString())?Q(D.toString()):null}function h(D,I){return D&&E(I)==="vertical"&&Zg.test(D.toString())?Q(D.toString()):null}function Q(D){if(Zg.test(D)){const I=D.slice(0,-1);return I===""?1:parseInt(I,10)}return null}function E(D){if(!D)return;let I=(D==null?void 0:D.type)==="Stack"&&(D==null?void 0:D.orientation);return I==null?void 0:I.toString()}}function ao(A){return`var(--${yk}-${A.substring(1)})`}const Sk={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:[kk],fontVariant:[],lineBreak:[],textDecoration:[],userSelect:[],letterSpacing:[],textTransform:[],lineHeight:[],textAlign:[],textWrap:[],textAlignLast:[],textIndent:[],textShadow:[],wordBreak:[],wordSpacing:[],wordWrap:[],writingMode:[],wrapContent:[],canShrink:[],cursor:[],zoom:[],whiteSpace:[],textDecorationLine:[],textDecorationColor:[],textDecorationStyle:[],textDecorationThickness:[],textUnderlineOffset:[],outline:[],outlineWidth:[],outlineColor:[],outlineStyle:[],outlineOffset:[],transition:[]};function Xg(A){return typeof A=="string"&&(A==null?void 0:A.startsWith("$"))}function Au(A,e={}){let t=A;Xg(A)&&(t=A.substring(1));const o=e[t];return typeof o=="string"&&Xg(o)?Au(o,e):o}function Mk(A){if(!A)return{};const e=Ki(A);return{...Kn("color-primary",e),...Kn("color-secondary",e),...Kn("color-info",e),...Kn("color-success",e),...Kn("color-warn",e),...Kn("color-danger",e),...Kn("color-surface",e,{distributeEven:!0})}}function Lk(A){if(!A)return{};const t=Ki(A)["space-base"];if(!t||typeof t!="string")return{};let o=t.trim();o.startsWith(".")&&(o=`0${o}`);const r=parseFloat(o);let n=o.replace(r+"","")||"px";if(Number.isNaN(r))return{};const a=[0,.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],i={};return a.forEach(s=>{i[`space-${(s+"").replace(".","_")}`]=`${s*r}${n}`}),i}function Tk(A){if(!A)return{};const t=Ki(A).fontSize;if(!t||typeof t!="string")return{};let o=t.trim();o.startsWith(".")&&(o=`0${o}`);const r=parseFloat(o);let n=o.replace(r+"","")||"px";if(Number.isNaN(r))return{};const a={};return a["fontSize-large"]=`${1.5*r}${n}`,a["fontSize-medium"]=`${1.25*r}${n}`,a["fontSize-semimedium"]=`${1.125*r}${n}`,a["fontSize-normal"]=t,a["fontSize-small"]=`${.875*r}${n}`,a["fontSize-code"]=`${.85*r}${n}`,a["fontSize-smaller"]=`${.75*r}${n}`,a["fontSize-tiny"]=`${.625*r}${n}`,a}function Nk(A){if(!A)return{};const t=Ki(A)["fontSize-Text"];if(!t||typeof t!="string")return{};const o={};return o["fontSize-Text-keyboard"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o["fontSize-Text-sample"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o["fontSize-Text-sup"]=`calc(${ao("$fontSize-Text")} * 0.625)`,o["fontSize-Text-sub"]=`calc(${ao("$fontSize-Text")} * 0.625)`,o["fontSize-Text-title"]=`calc(${ao("$fontSize-Text")} * 1.5)`,o["fontSize-Text-subtitle"]=`calc(${ao("$fontSize-Text")} * 1.25)`,o["fontSize-Text-small"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o["fontSize-Text-placeholder"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o["fontSize-Text-paragraph"]=ao("$fontSize-Text"),o["fontSize-Text-subheading"]=`calc(${ao("$fontSize-Text")} * 0.625)`,o["fontSize-Text-tableheading"]=`calc(${ao("$fontSize-Text")} * 0.625)`,o["fontSize-Text-secondary"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o}function Fk(A){if(!A)return{};const e=Ki(A),t=["primary","secondary","attention"];let o={};return t.forEach(r=>{const n=tu(eu(e,`color-Button-${r}-solid`),s=>({[`backgroundColor-Button-${r}-solid`]:s.base,[`backgroundColor-Button-${r}-solid--hover`]:s.tone1,[`backgroundColor-Button-${r}-solid--active`]:s.tone2,[`borderColor-Button-${r}-solid`]:s.base,[`borderColor-Button-${r}-solid--hover`]:s.base,[`borderColor-Button-${r}-solid--active`]:s.base,[`textColor-Button-${r}-solid`]:s.tone3,[`textColor-Button-${r}-solid--hover`]:s.tone3,[`textColor-Button-${r}-solid--active`]:s.tone3})),a=tu(eu(e,`color-Button-${r}-outlined`),s=>({[`backgroundColor-Button-${r}-outlined--hover`]:s.alpha1,[`backgroundColor-Button-${r}-outlined--active`]:s.alpha2,[`borderColor-Button-${r}-outlined`]:s.base,[`borderColor-Button-${r}-outlined--hover`]:s.tone1,[`borderColor-Button-${r}-outlined--active`]:s.tone2,[`textColor-Button-${r}-outlined`]:s.base,[`textColor-Button-${r}-outlined--hover`]:s.tone1,[`textColor-Button-${r}-outlined--active`]:s.tone2})),i=tu(eu(e,`color-Button-${r}-ghost`),s=>({[`backgroundColor-Button-${r}-ghost--active`]:s.alpha2,[`backgroundColor-Button-${r}-ghost--hover`]:s.alpha1,[`textColor-Button-${r}-ghost`]:s.base,[`textColor-Button-${r}-ghost--hover`]:s.tone1,[`textColor-Button-${r}-ghost--active`]:s.tone2}));o={...o,...n,...a,...i}}),o}const Pk=/^padding-(?!(?:horizontal|vertical|left|right|top|bottom)-)(.+)$/,Gk=/^paddingHorizontal-(.+)$/,Ok=/^paddingVertical-(.+)$/;function Rp(A){if(!A)return{};const e={...A};return Object.entries(A).forEach(([t,o])=>{var r,n,a,i,s,l,g,u,p,B,C,m,h,Q,E,D,I,w,v,f;if(o==null){delete e[t];return}let M=Gk.exec(t);if(M){const L=M[1];e[r=`paddingLeft-${L}`]??(e[r]=o),e[n=`paddingRight-${L}`]??(e[n]=o)}if(M=Ok.exec(t),M){const L=M[1];e[a=`paddingTop-${L}`]??(e[a]=o),e[i=`paddingBottom-${L}`]??(e[i]=o)}if(M=Pk.exec(t),!M)return;const S=M[1],G=A[`paddingHorizontal-${S}`],b=A[`paddingVertical-${S}`],x=o.trim().replace(/ +/g," ").split(" ");switch(x.length){case 1:e[s=`paddingTop-${S}`]??(e[s]=b??x[0]),e[l=`paddingRight-${S}`]??(e[l]=G??x[0]),e[g=`paddingBottom-${S}`]??(e[g]=b??x[0]),e[u=`paddingLeft-${S}`]??(e[u]=G??x[0]);break;case 2:e[p=`paddingTop-${S}`]??(e[p]=b??x[0]),e[B=`paddingRight-${S}`]??(e[B]=G??x[1]),e[C=`paddingBottom-${S}`]??(e[C]=b??x[0]),e[m=`paddingLeft-${S}`]??(e[m]=G??x[1]);break;case 3:e[h=`paddingTop-${S}`]??(e[h]=b??x[0]),e[Q=`paddingRight-${S}`]??(e[Q]=G??x[1]),e[E=`paddingBottom-${S}`]??(e[E]=b??x[2]),e[D=`paddingLeft-${S}`]??(e[D]=G??x[1]);break;case 4:e[I=`paddingTop-${S}`]??(e[I]=b??x[0]),e[w=`paddingRight-${S}`]??(e[w]=G??x[1]),e[v=`paddingBottom-${S}`]??(e[v]=b??x[2]),e[f=`paddingLeft-${S}`]??(e[f]=G??x[3]);break;default:return}}),e}const Rk=/^border-(.+)$/,Uk=/^borderWidth-(.+)$/,Kk=/^borderHorizontalWidth-(.+)$/,Yk=/^borderVerticalWidth-(.+)$/,jk=/^borderStyle-(.+)$/,_k=/^borderHorizontalStyle-(.+)$/,Wk=/^borderVerticalStyle-(.+)$/,Jk=/^borderLeft-(.+)$/,$k=/^borderRight-(.+)$/,zk=/^borderTop-(.+)$/,qk=/^borderBottom-(.+)$/,Vk=/^borderHorizontal-(.+)$/,Zk=/^borderVertical-(.+)$/,Xk=/^borderColor-(.+)$/,A2=/^borderHorizontalColor-(.+)$/,e2=/^borderVerticalColor-(.+)$/;function Up(A){if(!A)return{};const e={...A};return Object.entries(A).forEach(([o,r])=>{var n,a,i;let s=Rk.exec(o);if(s){const l=s[1];e[`borderLeft-${l}`]=r,e[`borderRight-${l}`]=r,e[`borderTop-${l}`]=r,e[`borderBottom-${l}`]=r;const g=t(r);e[n=`borderWidth-${l}`]??(e[n]=g.thickness),e[a=`borderStyle-${l}`]??(e[a]=g.style),e[i=`borderColor-${l}`]??(e[i]=g.color)}if(s=Uk.exec(o),s){const l=s[1];e[`borderLeftWidth-${l}`]=r,e[`borderRightWidth-${l}`]=r,e[`borderTopWidth-${l}`]=r,e[`borderBottomWidth-${l}`]=r}if(s=jk.exec(o),s){const l=s[1];e[`borderLeftStyle-${l}`]=r,e[`borderRightStyle-${l}`]=r,e[`borderTopStyle-${l}`]=r,e[`borderBottomStyle-${l}`]=r}if(s=Xk.exec(o),s){const l=s[1];e[`borderLeftColor-${l}`]=r,e[`borderRightColor-${l}`]=r,e[`borderTopColor-${l}`]=r,e[`borderBottomColor-${l}`]=r}if(s=Vk.exec(o),s){const l=s[1];e[`borderLeft-${l}`]=r,e[`borderRight-${l}`]=r;const g=t(r);g.thickness&&(e[`borderLeftWidth-${l}`]=g.thickness,e[`borderRightWidth-${l}`]=g.thickness),g.style&&(e[`borderLeftStyle-${l}`]=g.style,e[`borderRightStyle-${l}`]=g.style),g.color&&(e[`borderLeftColor-${l}`]=g.color,e[`borderRightColor-${l}`]=g.color)}if(s=Zk.exec(o),s){const l=s[1];e[`borderTop-${l}`]=r,e[`borderBottom-${l}`]=r;const g=t(r);g.thickness&&(e[`borderTopWidth-${l}`]=g.thickness,e[`borderBottomWidth-${l}`]=g.thickness),g.style&&(e[`borderTopStyle-${l}`]=g.style,e[`borderBottomStyle-${l}`]=g.style),g.color&&(e[`borderTopColor-${l}`]=g.color,e[`borderBottomColor-${l}`]=g.color)}if(s=Jk.exec(o),s){const l=s[1],g=t(r);g.thickness&&!A[`borderLeftWidth-${l}`]&&(e[`borderLeftWidth-${l}`]=g.thickness),g.style&&!A[`borderLeftStyle-${l}`]&&(e[`borderLeftStyle-${l}`]=g.style),g.color&&!A[`borderLeftColor-${l}`]&&(e[`borderLeftColor-${l}`]=g.color)}if(s=$k.exec(o),s){const l=s[1],g=t(r);g.thickness&&(e[`borderRightWidth-${l}`]=g.thickness),g.style&&(e[`borderRightStyle-${l}`]=g.style),g.color&&(e[`borderRightColor-${l}`]=g.color)}if(s=zk.exec(o),s){const l=s[1],g=t(r);g.thickness&&(e[`borderTopWidth-${l}`]=g.thickness),g.style&&(e[`borderTopStyle-${l}`]=g.style),g.color&&(e[`borderTopColor-${l}`]=g.color)}if(s=qk.exec(o),s){const l=s[1],g=t(r);g.thickness&&(e[`borderBottomWidth-${l}`]=g.thickness),g.style&&(e[`borderBottomStyle-${l}`]=g.style),g.color&&(e[`borderBottomColor-${l}`]=g.color)}if(s=Kk.exec(o),s){const l=s[1];e[`borderLeftWidth-${l}`]=r,e[`borderRightWidth-${l}`]=r}if(s=Yk.exec(o),s){const l=s[1];e[`borderTopWidth-${l}`]=r,e[`borderBottomWidth-${l}`]=r}if(s=_k.exec(o),s){const l=s[1];e[`borderLeftStyle-${l}`]=r,e[`borderRightStyle-${l}`]=r}if(s=Wk.exec(o),s){const l=s[1];e[`borderTopStyle-${l}`]=r,e[`borderBottomStyle-${l}`]=r}if(s=A2.exec(o),s){const l=s[1];e[`borderLeftColor-${l}`]=r,e[`borderRightColor-${l}`]=r}if(s=e2.exec(o),s){const l=s[1];e[`borderTopColor-${l}`]=r,e[`borderBottomColor-${l}`]=r}}),e;function t(o){var r,n,a;try{const s=new bp(o).parseBorder(),l={style:s.styleValue,thickness:s.widthValue!==void 0?`${s.widthValue}${s.widthUnit??"px"}`:void 0,color:s.color===void 0?void 0:typeof s.color=="string"?s.color:s.color.toString()};if(s.themeId1&&s.themeId2&&s.themeId3)return{thickness:s.themeId1.id,style:s.themeId2.id,color:s.themeId3.id};if(s.themeId1&&s.themeId2)return l.thickness?{thickness:l.thickness,style:s.themeId1.id,color:s.themeId2.id}:l.style?{thickness:s.themeId1.id,style:l.style,color:s.themeId2.id}:{thickness:s.themeId1.id,style:s.themeId2.id,color:l.color};if(s.themeId1){if(l.thickness&&l.style)return{thickness:l.thickness,style:l.style,color:s.themeId1.id};if(l.thickness&&l.color)return{thickness:l.thickness,style:s.themeId1.id,color:l.color};if(l.style&&l.color)return{thickness:s.themeId1.id,style:l.style,color:l.color}}return{thickness:(r=l.thickness)==null?void 0:r.trim(),style:(n=l.style)==null?void 0:n.trim(),color:(a=l.color)==null?void 0:a.trim()}}catch{return{thickness:void 0,style:void 0,color:void 0}}}}function eu(A,e){if(A[e])return A[e];const t=Vg(e);if(!t)return null;let o=null,r=null;return Object.keys(A).forEach(n=>{const a=Vg(n);if(!(!a||a.component!==t.component||a.attribute!==t.attribute)&&!a.states.length&&a.traits.every(i=>t.traits.includes(i))&&(!o||o.traits.length<=a.traits.length)){o=a,r=n;return}}),r?A[r]:null}function Ki(A){const e={};return Object.keys(A).forEach(t=>{e[t]=Au(t,A)}),e}function Kn(A,e,t={distributeEven:!1}){try{const{distributeEven:o}=t,r=e[A];if(!r||typeof r!="string")return{};const n=_B(r);let a,i,s,l,g,u,p,B,C,m,h,Q,E;if(o)a=n.lightness(100),i=n.lightness(98),s=n.lightness(95),l=n.lightness(83),g=n.lightness(75),u=n.lightness(63),p=n.lightness(52),B=n.lightness(40),C=n.lightness(32),m=n.lightness(27),h=n.lightness(16),Q=n.lightness(13),E=n.lightness(9);else{const D=n.hsl().l(),I=D/5,w=(100-D)/5;a=n.lightness(100),i=n.lightness(D+w*4.5),s=n.lightness(D+w*4),l=n.lightness(D+w*3),g=n.lightness(D+w*2),u=n.lightness(D+w*1),p=n,B=n.lightness(D-I*1),C=n.lightness(D-I*2),m=n.lightness(D-I*3),h=n.lightness(D-I*4),Q=n.lightness(D-I*4.5),E=n.lightness(D-I*5)}return{[`const-${A}-0`]:a.toString(),[`const-${A}-50`]:i.toString(),[`const-${A}-100`]:s.toString(),[`const-${A}-200`]:l.toString(),[`const-${A}-300`]:g.toString(),[`const-${A}-400`]:u.toString(),[`const-${A}-500`]:p.toString(),[`const-${A}-600`]:B.toString(),[`const-${A}-700`]:C.toString(),[`const-${A}-800`]:m.toString(),[`const-${A}-900`]:h.toString(),[`const-${A}-950`]:Q.toString(),[`const-${A}-1000`]:E.toString()}}catch{return console.error("Error generating base tones for color:",A),{}}}function tu(A,e){const t=t2(A);return t?e(t):{}}function t2(A){if(!A||typeof A!="string"||A.startsWith("$"))return null;const e=_B(A);let t,o,r;e.isLight()?(t=e.darken(.2).toString(),o=e.darken(.1).toString(),r=e.darken(.95).toString()):(t=e.lighten(.2).toString(),o=e.lighten(.1).toString(),r=e.lighten(.95).toString());const n=e.alpha(.1).toString(),a=e.alpha(.2).toString();return{base:A,tone1:t,tone2:o,tone3:r,alpha1:n,alpha2:a}}const o2={$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:gl,$colorSurface50:Kp,$colorSurface100:Yp,$colorSurface200:r2,$colorSurface600:ou,$colorPrimary50:n2,$colorWarn700:a2,$colorDanger500:i2,$colorDanger600:s2,$colorSuccess600:l2}=o2,ru={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":"rgb(from $color-primary-500 r g b / 0.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-semimedium":"1.125rem","fontSize-normal":"1rem","fontSize-small":"0.875rem","fontSize-code":"0.85rem","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":Kp,"backgroundColor-dropdown-item--active":Yp,"backgroundColor-dropdown-item--active-hover":Kp,"backgroundColor-tree-row--selected--before":n2,borderColor:"rgb(from $color-surface-900 r g b / 0.1)","borderColor--disabled":Yp,"textColor-secondary":ou,"backgroundColor-Input-default":gl,"backgroundColor-Input-success":gl,"backgroundColor-Input-warning":gl,"backgroundColor-Input-error":gl,"borderColor-Input-default":r2,"borderColor-Input-default--hover":ou,"borderColor-Input-default--focus":ou,"borderColor-Input-default--success":l2,"borderColor-Input-default--warning":a2,"borderColor-Input-default--error":i2,"textColor-InputLabel-required":s2},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"}}}};function jp(A,e){if(!A)return[];if(!A.extends)return[];const t=typeof A.extends=="string"?[A.extends]:A.extends,o=[];return t.forEach(r=>{const n=e.find(a=>a.id===r);n&&(o.push(...jp(n,e)),o.push(n))}),o}function c2(A,e,t){const o=hA.cloneDeep(ru.themeVars)||{},r=hA.cloneDeep(ru.tones)||{};return Object.entries(t).forEach(([a,i])=>{typeof i=="string"?o[a]=i:Object.entries(i).forEach(([s,l])=>{r[a]||(r[a]={themeVars:{}}),r[a].themeVars={...r[a].themeVars,[s]:l}})}),[{id:"root",themeVars:o,resources:{},tones:r},...jp(A,e),A]}const _p=d.createContext(null);function Yn(){return d.useContext(_p)}const g2={"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"},u2={"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"},d2={"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"},B2={"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"},p2={"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"},C2={"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"},Wp={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"}}}},Jp={id:"xmlui-green",extends:"xmlui",themeVars:{...g2}},$p={id:"xmlui-gray",extends:"xmlui",themeVars:{...u2}},zp={id:"xmlui-orange",extends:"xmlui",themeVars:{...d2}},qp={id:"xmlui-purple",extends:"xmlui",themeVars:{...B2}},Vp={id:"xmlui-cyan",extends:"xmlui",themeVars:{...p2}},Zp={id:"xmlui-red",extends:"xmlui",themeVars:{...C2}},ul=["light","dark"];function Xp(A,e,t=Ae,o=YA,r=YA){const n=Yn(),{componentThemeVars:a,componentDefaultThemeVars:i}=n,s=d.useMemo(()=>{if(A)return c2(A,t,i)},[A,i,t]),l=d.useMemo(()=>{let Q={};return s==null||s.forEach(E=>{var D,I;Q={...Q,...E.resources,...(I=(D=E.tones)==null?void 0:D[e])==null?void 0:I.resources}}),{...o,...Q}},[s,o,e]),g=d.useMemo(()=>{const Q=[];return Object.entries(l).forEach(([E,D])=>{E.startsWith("font.")&&(Q==null||Q.push(D))}),Q},[l]),u=d.useCallback(Q=>{let E=Q;if(Q!=null&&Q.startsWith("resource:")){const D=Q==null?void 0:Q.replace("resource:","");E=l[D]}return E&&(r[E]?r[E]:E.startsWith("/")&&r[E.substring(1)]?r[E.substring(1)]:up(E))},[l,r]),p=d.useMemo(()=>(g==null?void 0:g.filter(Q=>typeof Q=="string"))||[],[g]),B=d.useMemo(()=>{var D,I,w;if(!(s!=null&&s.length))return[];let Q={};return s==null||s.forEach(v=>{var f,M,S;Q={...Q,...v.themeVars,...(f=v.themeVars)==null?void 0:f[e],...(S=(M=v.tones)==null?void 0:M[e])==null?void 0:S.themeVars}}),[...s.map(v=>{var f,M,S;return{...v.themeVars,...(f=v.themeVars)==null?void 0:f[e],...(S=(M=v.tones)==null?void 0:M[e])==null?void 0:S.themeVars}}).slice(0,s.length-1),{...Lk(Q),...Tk(Q),...Rp(Q),...Up(Q),...Mk(Q),...Fk(Q)},{...s[s.length-1].themeVars,...Nk(Q),...(D=s[s.length-1].themeVars)==null?void 0:D[e],...(w=(I=s[s.length-1].tones)==null?void 0:I[e])==null?void 0:w.themeVars}]},[e,s]),C=d.useMemo(()=>{let Q={};B==null||B.forEach(D=>{D=Rp(D),D=Up(D),Q={...Q,...D}});const E={};return new Set([...Object.keys(ip.themeVars),...a]).forEach(D=>{const I=vk(D,B);I&&I.forValue&&I.matchedValue&&I.forValue!==I.matchedValue&&(E[I.forValue]=`$${I.matchedValue}`)}),Q2({...Q,...E})},[a,B]),m=d.useMemo(()=>{const Q={};return Object.entries(C).forEach(([E,D])=>{const I=`--${ip.keyPrefix}-${E}`;D&&(Q[I]=D)}),Q},[C]),h=d.useCallback(Q=>Au(Q,C),[C]);return d.useEffect(()=>{g.forEach(async Q=>{if(typeof Q!="string"){let D=`url(${u(Q.src)})`;Q.format&&(D=`${D} format('${Q.format}')`);const I=new FontFace(Q.fontFamily,D,{weight:Q.fontWeight,style:Q.fontStyle,display:Q.fontDisplay});try{const w=await I.load();document.fonts.add(w)}catch(w){console.error("loading fonts failed",w)}}})},[s,u,g]),{getResourceUrl:u,fontLinks:p,allThemeVarsWithResolvedHierarchicalVars:C,themeCssVars:m,getThemeVar:h}}const m2=[Wp,Jp,$p,zp,qp,Vp,Zp];function h2({children:A,themes:e=Ae,defaultTheme:t="xmlui",defaultTone:o="light",resources:r=YA,resourceMap:n=YA,localThemes:a=YA}){const[i,s]=d.useState(()=>o||ul[0]);d.useEffect(()=>{o&&s(o)},[o]);const l=d.useMemo(()=>[...e,...m2],[e]),g=d.useMemo(()=>[...new Set(l.map(v=>v.id))],[l]),[u,p]=d.useState(()=>t||g[0]);De(()=>{t&&g.includes(t)?p(t):p(g[0])},[g,t]);const B=d.useMemo(()=>{let v;if(u&&(v=l.find(f=>f.id===u)),!v)throw new Error(`Theme ${u} not found, available themes: ${g}`);return v},[u,g,l]),{allThemeVarsWithResolvedHierarchicalVars:C,themeCssVars:m,getResourceUrl:h,getThemeVar:Q}=Xp(B,i,l,r,n),[E,D]=d.useState(null),I=d.useMemo(()=>({root:E,setRoot:D,themes:l,resources:r,resourceMap:n,activeThemeId:u,activeThemeTone:i,setActiveThemeId:p,setActiveThemeTone:s,availableThemeIds:g,activeTheme:B,toggleThemeTone:()=>s(i==="light"?"dark":"light")}),[B,u,i,g,n,r,E,l]),w=d.useMemo(()=>({root:E,activeThemeId:u,activeThemeTone:i,activeTheme:B,themeStyles:m,themeVars:C,getResourceUrl:h,getThemeVar:Q}),[B,u,i,C,h,Q,E,m]);return c.jsx(dp.Provider,{value:I,children:c.jsx(jg.Provider,{value:w,children:A})})}function Q2(A){if(!A)return{};const e={};return Object.keys(A).forEach(r=>{e[r]=t(r,A)}),e;function t(r,n){const a=n[r];return typeof a=="string"&&a.includes("$")?o(a):a}function o(r){const n=/\$([a-zA-Z0-9_-]+)/gi,a=r.matchAll(n);if(a){let i=r;for(const s of a){const l=s[1];l&&(i=i.replace(s[0],`var(${wa(l)})`))}return i}return r}}const nu={errorOverlay:"_errorOverlay_1t96q_13",title:"_title_1t96q_21",errorItem:"_errorItem_1t96q_28"};class Yi extends d.Component{constructor(){super(...arguments),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error("Uncaught error:",e,t,this.props.location)}componentDidUpdate(e,t,o){e.node!==this.props.node&&this.setState({hasError:!1})}render(){var e;return this.state.hasError?c.jsxs("div",{className:nu.errorOverlay,children:[c.jsx("div",{className:nu.title,children:"There was an error!"}),c.jsx("div",{className:nu.errorItem,children:(e=this.state.error)==null?void 0:e.message})]}):this.props.children}}const E2={top:40,right:40,bottom:40,left:40,position:"absolute",overflowY:"hidden"};let AC=!1;const I2=({toastDuration:A})=>{const[e,t]=d.useState(!1);return d.useEffect(()=>{AC||(AC=!0,t(!0))},[]),e?c.jsx(ke.Toaster,{position:"top-right",containerStyle:E2,toastOptions:{style:{padding:"12px 16px"},duration:A},children:o=>c.jsx("div",{onClick:()=>ke.dismiss(o.id),children:c.jsx(ke.ToastBar,{position:o.position,toast:o,style:{wordBreak:"break-word"},children:({icon:r,message:n})=>c.jsxs(c.Fragment,{children:[r,n]})})})}):null},eC=d.createContext({indexing:!1});function dl(){return d.useContext(eC)}function w2(A){return`theme-${f2(A)}`}function f2(A){let e=0,t,o;if(A.length===0)return e;for(t=0;t<A.length;t++)o=A.charCodeAt(t),e=(e<<5)-e+o,e|=0;return e}const Bl={isRoot:!1,toastDuration:5e3,themeVars:YA,root:!1};function b2({id:A,isRoot:e=Bl.isRoot,renderChild:t,node:o,tone:r,toastDuration:n=Bl.toastDuration,themeVars:a=Bl.themeVars,layoutContext:i,children:s}){const l=d.useId(),{themes:g,resources:u,resourceMap:p,activeThemeId:B,setRoot:C,root:m}=el(),{activeTheme:h,activeThemeTone:Q}=le(),E=r||Q,D=d.useMemo(()=>{var j,O,U;const H=A?g.find(J=>J.id===A):h;if(!H)throw new Error(`Theme not found: requested="${A}", available=[${g.map(J=>J.id).join(", ")}]`);return{...H,id:l,tones:{...H.tones,[E]:{...(j=H.tones)==null?void 0:j[E],themeVars:{...(U=(O=H.tones)==null?void 0:O[E])==null?void 0:U.themeVars,...a}}}}},[h,l,A,E,a,g]),{themeCssVars:I,getResourceUrl:w,fontLinks:v,allThemeVarsWithResolvedHierarchicalVars:f,getThemeVar:M}=Xp(D,E,g,u,p),{css:S,className:G}=d.useMemo(()=>{const H={...I,"color-scheme":E};let _=Object.entries(H).map(([O,U])=>O+":"+U+";").join(" ");const j=w2(_);if(e){_+="--screenSize: 0;";const O=M("maxWidth-phone"),U=M("maxWidth-landscape-phone"),J=M("maxWidth-tablet"),V=M("maxWidth-desktop"),Z=M("maxWidth-large-desktop"),R=` @media (min-width: calc(${O} + 1px)) {
4
+ `),e!=null&&e.details&&typeof e.details=="string"?o+=`${e.details}`:e!=null&&e.message&&(o+=`${e.message}`),super(o||(e==null?void 0:e.message)||"Unknown error"),this.info=e,this.errorCategory="GenericBackendError",this.details=e,this.statusCode=t,Object.setPrototypeOf(this,al.prototype)}}class Gi extends On{constructor(e,t,o){e=`Parser Error: ${e}`,super(e),this.source=t,this.position=o,this.errorCategory="ScriptParserError",Object.setPrototypeOf(this,Gi.prototype)}}class Oi extends On{constructor(e,t){super(e),this.source=t,this.errorCategory="StatementExecutionError",Object.setPrototypeOf(this,Oi.prototype)}}class Ri extends On{constructor(){super("Must be a component definition, cannot use dynamic children here..."),this.errorCategory="NotAComponentError",Object.setPrototypeOf(this,Ri.prototype)}}class rr extends On{constructor(e){const t=typeof e=="string"?e:(e==null?void 0:e.message)||"Error without message";super(t),this.errorObject=e,this.errorCategory="ThrowStatementError",this.message=t,Object.setPrototypeOf(this,rr.prototype)}}function ak(A,e,t){return d.useMemo(()=>A==="horizontal"?{horizontal:e&&Oo[`justifyItems${Fi(e)}`],vertical:t&&Oo[`alignItems${Fi(t)}`]}:{horizontal:e&&Oo[`alignItems${Fi(e)}`],vertical:t&&Oo[`justifyItems${Fi(t)}`]},[A,e,t])}const xp="vertical",qr={orientation:xp,reverse:!1,hoverContainer:!1,visibleOnHover:!1},ya=d.forwardRef(function({uid:e,children:t,orientation:o=qr.orientation,horizontalAlignment:r,verticalAlignment:n,style:a,reverse:i=qr.reverse,hoverContainer:s=qr.hoverContainer,visibleOnHover:l=qr.visibleOnHover,onClick:g,onMount:u,...p},B){Ux(u);const{horizontal:C,vertical:m}=ak(o,r,n);return c.jsx("div",{...p,onClick:g,ref:B,style:a,className:aA(Oo.base,{[Oo.vertical]:o==="vertical",[Oo.horizontal]:o==="horizontal",[Oo.reverse]:i,[Oo.hoverContainer]:s,"display-on-hover":l,[Oo.handlesClick]:!!g},C??"",m??""),children:t})}),xa="Stack",ik={description:"Manages the horizontal content alignment for each child element in the Stack.",availableValues:ep,valueType:"string",defaultValue:"start"},sk={description:"Manages the vertical content alignment for each child element in the Stack.",availableValues:ep,valueType:"string",defaultValue:"start"},il={status:"stable",description:"`Stack` is the fundamental layout container that organizes child elements in configurable horizontal or vertical arrangements. As the most versatile building block in XMLUI's layout system, it provides comprehensive alignment, spacing, and flow control options that serve as the foundation for all specialized stack variants.",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:qr.reverse},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:qr.orientation},horizontalAlignment:ik,verticalAlignment:sk,hoverContainer:{...He("Reserved for future use"),defaultValue:qr.hoverContainer},visibleOnHover:{...He("Reserved for future use"),defaultValue:qr.visibleOnHover}},events:{click:fa(xa),mounted:He("Reserved for future use")},themeVars:CA(Oo.themeVars)},ka={...il,props:{...il.props}},kp={...ka,specializedFrom:xa,description:"This component represents a stack rendering its contents vertically.",props:{...il.props}},Hp={...ka,specializedFrom:xa,description:"This component represents a stack rendering its contents horizontally.",props:{...il.props}},Sp={...ka,specializedFrom:xa,description:"This component represents a stack that renders its contents vertically and aligns that in the center along both axes."},Mp={...ka,specializedFrom:xa,description:"This component represents a stack that renders its contents horizontally and aligns that in the center along both axes."};function Ui({node:A,extractValue:e,layoutCss:t,orientation:o,horizontalAlignment:r,verticalAlignment:n,lookupEventHandler:a,renderChild:i}){var s,l,g;if(!Kg(A.children))throw new Ri;return c.jsx(ya,{orientation:o,horizontalAlignment:r,verticalAlignment:n,reverse:e((s=A.props)==null?void 0:s.reverse),hoverContainer:e((l=A.props)==null?void 0:l.hoverContainer),visibleOnHover:e((g=A.props)==null?void 0:g.visibleOnHover),style:t,onMount:a("mounted"),children:i(A.children,{type:"Stack",orientation:o})})}const lk=$(xa,ka,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>{var s,l,g;const n=e((s=A.props)==null?void 0:s.orientation)||xp,a=e((l=A.props)==null?void 0:l.horizontalAlignment),i=e((g=A.props)==null?void 0:g.verticalAlignment);return Ui({node:A,extractValue:e,layoutCss:o,orientation:n,horizontalAlignment:a,verticalAlignment:i,lookupEventHandler:r,renderChild:t})}),ck=$("VStack",kp,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>{var i,s;const n=e((i=A.props)==null?void 0:i.horizontalAlignment),a=e((s=A.props)==null?void 0:s.verticalAlignment);return Ui({node:A,extractValue:e,layoutCss:o,lookupEventHandler:r,renderChild:t,orientation:"vertical",horizontalAlignment:n,verticalAlignment:a})}),gk=$("HStack",Hp,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>{var i,s;const n=e((i=A.props)==null?void 0:i.horizontalAlignment),a=e((s=A.props)==null?void 0:s.verticalAlignment);return Ui({node:A,extractValue:e,layoutCss:o,lookupEventHandler:r,renderChild:t,orientation:"horizontal",horizontalAlignment:n,verticalAlignment:a})}),uk=$("CVStack",Sp,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>Ui({node:A,extractValue:e,layoutCss:o,lookupEventHandler:r,renderChild:t,orientation:"vertical",horizontalAlignment:"center",verticalAlignment:"center"})),dk=$("CHStack",Mp,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>Ui({node:A,extractValue:e,layoutCss:o,lookupEventHandler:r,renderChild:t,orientation:"horizontal",horizontalAlignment:"center",verticalAlignment:"center"})),Ro={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:textColor-placeholder-TextBox-default": "var(--xmlui-textColor-placeholder-TextBox-default)", "Input:fontSize-placeholder-TextBox-default": "var(--xmlui-fontSize-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:textColor-placeholder-TextBox-error": "var(--xmlui-textColor-placeholder-TextBox-error)", "Input:fontSize-placeholder-TextBox-error": "var(--xmlui-fontSize-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:textColor-placeholder-TextBox-warning": "var(--xmlui-textColor-placeholder-TextBox-warning)", "Input:fontSize-placeholder-TextBox-warning": "var(--xmlui-fontSize-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:textColor-placeholder-TextBox-success": "var(--xmlui-textColor-placeholder-TextBox-success)", "Input:fontSize-placeholder-TextBox-success": "var(--xmlui-fontSize-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_1a54x_13",input:"_input_1a54x_13",adornment:"_adornment_1a54x_54",error:"_error_1a54x_57",warning:"_warning_1a54x_93",valid:"_valid_1a54x_129",readOnly:"_readOnly_1a54x_189"},Bk={wrapper:"_wrapper_wg0td_13"},Ha={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)", "verticalAlignment-Text": "var(--xmlui-verticalAlignment-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)", "verticalAlignment-Text-markdown": "var(--xmlui-verticalAlignment-Text-markdown)", "fontWeight-Text-abbr": "var(--xmlui-fontWeight-Text-abbr)", "textTransform-Text-abbr": "var(--xmlui-textTransform-Text-abbr)", "fontStyle-Text-cite": "var(--xmlui-fontStyle-Text-cite)", "fontStyle-Text-em": "var(--xmlui-fontStyle-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)", "verticalAlignment-Text-code": "var(--xmlui-verticalAlignment-Text-code)", "marginLeft-Text-codefence": "var(--xmlui-marginLeft-Text-codefence)", "marginRight-Text-codefence": "var(--xmlui-marginRight-Text-codefence)", "verticalAlignment-Text-codefence": "var(--xmlui-verticalAlignment-Text-codefence)", "fontFamily-Text-codefence": "var(--xmlui-fontFamily-Text-codefence)", "textDecorationLine-Text-deleted": "var(--xmlui-textDecorationLine-Text-deleted)", "textDecorationColor-Text-deleted": "var(--xmlui-textDecorationColor-Text-deleted)", "textDecorationStyle-Text-deleted": "var(--xmlui-textDecorationStyle-Text-deleted)", "textDecorationThickness-Text-deleted": "var(--xmlui-textDecorationThickness-Text-deleted)", "textDecorationLine-Text-inserted": "var(--xmlui-textDecorationLine-Text-inserted)", "textDecorationColor-Text-inserted": "var(--xmlui-textDecorationColor-Text-inserted)", "textDecorationStyle-Text-inserted": "var(--xmlui-textDecorationStyle-Text-inserted)", "textDecorationThickness-Text-inserted": "var(--xmlui-textDecorationThickness-Text-inserted)", "backgroundColor-Text-keyboard": "var(--xmlui-backgroundColor-Text-keyboard)", "fontFamily-Text-keyboard": "var(--xmlui-fontFamily-Text-keyboard)", "fontWeight-Text-keyboard": "var(--xmlui-fontWeight-Text-keyboard)", "fontSize-Text-keyboard": "var(--xmlui-fontSize-Text-keyboard)", "borderWidth-Text-keyboard": "var(--xmlui-borderWidth-Text-keyboard)", "borderColor-Text-keyboard": "var(--xmlui-borderColor-Text-keyboard)", "borderStyle-Text-keyboard": "var(--xmlui-borderStyle-Text-keyboard)", "borderRadius-Text-keyboard": "var(--xmlui-borderRadius-Text-keyboard)", "paddingHorizontal-Text-keyboard": "var(--xmlui-paddingHorizontal-Text-keyboard)", "backgroundColor-Text-marked": "var(--xmlui-backgroundColor-Text-marked)", "color-Text-marked": "var(--xmlui-color-Text-marked)", "fontWeight-Text-marked": "var(--xmlui-fontWeight-Text-marked)", "fontStyle-Text-marked": "var(--xmlui-fontStyle-Text-marked)", "lineHeight-Text-marked": "var(--xmlui-lineHeight-Text-marked)", "fontFamily-Text-mono": "var(--xmlui-fontFamily-Text-mono)", "fontFamily-Text-sample": "var(--xmlui-fontFamily-Text-sample)", "fontSize-Text-sample": "var(--xmlui-fontSize-Text-sample)", "fontSize-Text-sup": "var(--xmlui-fontSize-Text-sup)", "verticalAlignment-Text-sup": "var(--xmlui-verticalAlignment-Text-sup)", "fontSize-Text-sub": "var(--xmlui-fontSize-Text-sub)", "verticalAlignment-Text-sub": "var(--xmlui-verticalAlignment-Text-sub)", "fontStyle-Text-var": "var(--xmlui-fontStyle-Text-var)", "fontSize-Text-title": "var(--xmlui-fontSize-Text-title)", "fontSize-Text-subtitle": "var(--xmlui-fontSize-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)", "verticalAlignment-Text-small": "var(--xmlui-verticalAlignment-Text-small)", "letterSpacing-Text-caption": "var(--xmlui-letterSpacing-Text-caption)", "color-Text-placeholder": "var(--xmlui-color-Text-placeholder)", "fontStyle-Text-placeholder": "var(--xmlui-fontStyle-Text-placeholder)", "fontWeight-Text-placeholder": "var(--xmlui-fontWeight-Text-placeholder)", "fontSize-Text-placeholder": "var(--xmlui-fontSize-Text-placeholder)", "fontSize-Text-paragraph": "var(--xmlui-fontSize-Text-paragraph)", "paddingVertical-Text-paragraph": "var(--xmlui-paddingVertical-Text-paragraph)", "fontSize-Text-subheading": "var(--xmlui-fontSize-Text-subheading)", "fontWeight-Text-subheading": "var(--xmlui-fontWeight-Text-subheading)", "fontStyle-Text-subheading": "var(--xmlui-fontStyle-Text-subheading)", "letterSpacing-Text-subheading": "var(--xmlui-letterSpacing-Text-subheading)", "textTransform-Text-subheading": "var(--xmlui-textTransform-Text-subheading)", "color-Text-subheading": "var(--xmlui-color-Text-subheading)", "marginTop-Text-tableheading": "var(--xmlui-marginTop-Text-tableheading)", "marginBottom-Text-tableheading": "var(--xmlui-marginBottom-Text-tableheading)", "paddingHorizontal-Text-tableheading": "var(--xmlui-paddingHorizontal-Text-tableheading)", "fontSize-Text-tableheading": "var(--xmlui-fontSize-Text-tableheading)", "fontWeight-Text-tableheading": "var(--xmlui-fontWeight-Text-tableheading)", "fontSize-Text-secondary": "var(--xmlui-fontSize-Text-secondary)", "color-Text-secondary": "var(--xmlui-color-Text-secondary)"}'`,text:"_text_1kisi_13",default:"_default_1kisi_20",inherit:"_inherit_1kisi_77",markdown:"_markdown_1kisi_104",abbr:"_abbr_1kisi_162",cite:"_cite_1kisi_166",em:"_em_1kisi_169",codefence:"_codefence_1kisi_172",code:"_code_1kisi_172",textcode:"_textcode_1kisi_178",deleted:"_deleted_1kisi_325",inserted:"_inserted_1kisi_346",keyboard:"_keyboard_1kisi_367",marked:"_marked_1kisi_379",mono:"_mono_1kisi_401",sample:"_sample_1kisi_404",sup:"_sup_1kisi_408",sub:"_sub_1kisi_412",var:"_var_1kisi_416",title:"_title_1kisi_419",subtitle:"_subtitle_1kisi_422",small:"_small_1kisi_425",caption:"_caption_1kisi_482",placeholder:"_placeholder_1kisi_485",paragraph:"_paragraph_1kisi_491",subheading:"_subheading_1kisi_496",tableheading:"_tableheading_1kisi_504",secondary:"_secondary_1kisi_512",strong:"_strong_1kisi_516",truncateOverflow:"_truncateOverflow_1kisi_524",preserveLinebreaks:"_preserveLinebreaks_1kisi_531",noEllipsis:"_noEllipsis_1kisi_535"};function pk(A){if(typeof A=="number")return A+"px";const e=A.trim();if(e.startsWith("var("))return e;const t=parseFloat(e),o=t.toString(),r=e.replace(o,"");return Number.isNaN(t)?"0px":r===""?o+"px":e}function Lp(A){const e=A&&A>0?A:0;return e>1?{WebkitLineClamp:e,lineClamp:e,display:"-webkit-box",WebkitBoxOrient:"vertical",boxOrient:"vertical",whiteSpace:"initial"}:YA}function Tp(A){if(typeof A=="number")return A+"px";if(typeof A=="string"&&/^\d+$/.test(A.trim())){const e=parseInt(A,10);if(!isNaN(e))return e+"px"}return A==null?void 0:A.toString()}const Ck=()=>{const A=d.useRef(!1),e=d.useRef(0);if(d.useEffect(()=>{function r(){A.current=!1}return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[]),A.current)return e.current;if(typeof document>"u")return 0;const t=document.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll",document.body.appendChild(t);const o=t.offsetWidth-t.clientWidth;return t.parentNode.removeChild(t),A.current=!0,e.current=o,window.devicePixelRatio!==Math.round(window.devicePixelRatio)&&(e.current=o-.5),e.current},Rn={maxLines:0,preserveLinebreaks:!1,ellipses:!0},ZA=d.forwardRef(function({uid:e,variant:t,maxLines:o=Rn.maxLines,style:r,children:n,preserveLinebreaks:a=Rn.preserveLinebreaks,ellipses:i=Rn.ellipses,...s},l){const g=d.useRef(null),u=l?Dt(g,l):g,{syntaxHighlightClasses:p,...B}=s,C=d.useMemo(()=>!t||!rp[t]?"div":rp[t],[t]);return c.jsx(c.Fragment,{children:c.jsx(C,{...B,ref:u,className:aA([p,Ha.text,Ha[t||"default"],{[Ha.truncateOverflow]:o>0,[Ha.preserveLinebreaks]:a,[Ha.noEllipsis]:!i}]),style:{...r,...Lp(o)},children:n})})});function Vr({iconName:A,text:e,className:t}){return c.jsx(c.Fragment,{children:A||e?c.jsxs("div",{className:aA(Bk.wrapper,t),role:"presentation",children:[c.jsx(yA,{name:A,style:{color:"inherit"}}),e&&c.jsx("div",{style:{display:"flex",userSelect:"none"},children:c.jsx(ZA,{style:{fontSize:"inherit"},children:e})})]}):null})}function mk(A){const e=hk(A),t=Ce.forwardRef((o,r)=>{const{children:n,...a}=o,i=Ce.Children.toArray(n),s=i.find(Ek);if(s){const l=s.props.children,g=i.map(u=>u===s?Ce.Children.count(l)>1?Ce.Children.only(null):Ce.isValidElement(l)?l.props.children:null:u);return c.jsx(e,{...a,ref:r,children:Ce.isValidElement(l)?Ce.cloneElement(l,void 0,g):null})}return c.jsx(e,{...a,ref:r,children:n})});return t.displayName=`${A}.Slot`,t}var Np=mk("Slot");function hk(A){const e=Ce.forwardRef((t,o)=>{const{children:r,...n}=t;if(Ce.isValidElement(r)){const a=wk(r),i=Ik(n,r.props);return r.type!==Ce.Fragment&&(i.ref=o?Dt(o,a):a),Ce.cloneElement(r,i)}return Ce.Children.count(r)>1?Ce.Children.only(null):null});return e.displayName=`${A}.SlotClone`,e}var Qk=Symbol("radix.slottable");function Ek(A){return Ce.isValidElement(A)&&typeof A.type=="function"&&"__radixId"in A.type&&A.type.__radixId===Qk}function Ik(A,e){const t={...e};for(const o in e){const r=A[o],n=e[o];/^on[A-Z]/.test(o)?r&&n?t[o]=(...i)=>{n(...i),r(...i)}:r&&(t[o]=r):o==="style"?t[o]={...r,...n}:o==="className"&&(t[o]=[r,n].filter(Boolean).join(" "))}return{...A,...t}}function wk(A){var o,r;let e=(o=Object.getOwnPropertyDescriptor(A.props,"ref"))==null?void 0:o.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?A.ref:(e=(r=Object.getOwnPropertyDescriptor(A,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?A.props.ref:A.props.ref||A.ref)}const ro={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"},$g={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"},sl={delay:400,fullScreen:!1},ll=d.forwardRef(function({delay:e=sl.delay,fullScreen:t=sl.fullScreen,style:o},r){const[n,a]=d.useState(e===0);d.useEffect(()=>{const s=setTimeout(()=>{a(!0)},e);return()=>{clearTimeout(s)}},[e]);const i=c.jsx(c.Fragment,{children:c.jsxs("div",{className:$g["lds-ring"],style:o,ref:r,children:[c.jsx("div",{}),c.jsx("div",{}),c.jsx("div",{}),c.jsx("div",{})]})});return n?t?c.jsx("div",{className:$g.fullScreenSpinnerWrapper,children:i}):i:null}),fk=/^[0-9]+$/,vt=d.forwardRef(function({id:e,labelPosition:t="top",style:o,label:r,labelBreak:n=!0,labelWidth:a,enabled:i=!0,required:s=!1,children:l,validationInProgress:g=!1,shrinkToLabel:u=!1,onFocus:p,onBlur:B,labelStyle:C,validationResult:m,isInputTemplateUsed:h=!1},Q){const E=d.useId(),D=e||E;return r===void 0&&!m?c.jsx(Np,{style:o,id:D,ref:Q,children:l}):c.jsxs("div",{style:o,ref:Q,className:ro.itemWithLabel,children:[c.jsxs("div",{className:aA(ro.container,{[ro.top]:t==="top",[ro.bottom]:t==="bottom",[ro.start]:t==="start",[ro.end]:t==="end",[ro.shrinkToLabel]:u}),children:[r&&c.jsxs("label",{htmlFor:D,onClick:()=>{var I;return(I=document.getElementById(D))==null?void 0:I.focus()},style:{...C,width:a&&fk.test(a)?`${a}px`:a,flexShrink:a!==void 0?0:void 0},className:aA(ro.inputLabel,{[ro.required]:s,[ro.disabled]:!i,[ro.labelBreak]:n}),children:[r," ",s&&c.jsx("span",{className:ro.requiredMark,children:"*"}),g&&c.jsx(ll,{style:{height:"1em",width:"1em",marginLeft:"1em",alignSelf:"center"}})]}),c.jsx(Np,{id:h?void 0:D,children:l})]}),m]})}),no={type:"text",value:"",initialValue:"",enabled:!0,validationStatus:"none",onDidChange:vA,onFocus:vA,onBlur:vA,onKeyDown:vA,updateState:vA},cl=d.forwardRef(function({id:e,type:t=no.type,value:o=no.value,updateState:r=no.updateState,initialValue:n=no.initialValue,style:a,maxLength:i,enabled:s=no.enabled,placeholder:l,validationStatus:g=no.validationStatus,onDidChange:u=no.onDidChange,onFocus:p=no.onFocus,onBlur:B=no.onBlur,onKeyDown:C=no.onKeyDown,registerComponentApi:m,startText:h,startIcon:Q,endText:E,endIcon:D,gap:I,autoFocus:w,readOnly:v,tabIndex:f,label:M,labelPosition:S,labelWidth:G,labelBreak:b,required:x},L){const T=d.useId();e=e||T;const H=d.useRef(null);d.useEffect(()=>{w&&setTimeout(()=>{var K;(K=H.current)==null||K.focus()},0)},[w]);const[_,j]=d.useState(o);d.useEffect(()=>{j(o)},[o]),d.useEffect(()=>{r({value:n},{initial:!0})},[n,r]);const O=d.useCallback(K=>{j(K),r({value:K}),u(K)},[u,r]),U=d.useCallback(K=>{O(K.target.value)},[O]),J=d.useCallback(()=>{p==null||p()},[p]),V=d.useCallback(()=>{B==null||B()},[B]),Z=d.useCallback(()=>{var K;(K=H.current)==null||K.focus()},[]),R=PA(K=>{O(K)});return d.useEffect(()=>{m==null||m({focus:Z,setValue:R})},[Z,m,R]),c.jsx(vt,{id:e,labelPosition:S,label:M,labelWidth:G,labelBreak:b,required:x,enabled:s,style:a,ref:L,children:c.jsxs("div",{className:aA(Ro.inputRoot,{[Ro.disabled]:!s,[Ro.readOnly]:v,[Ro.error]:g==="error",[Ro.warning]:g==="warning",[Ro.valid]:g==="valid"}),tabIndex:-1,onFocus:Z,style:{gap:I},children:[c.jsx(Vr,{text:h,iconName:Q,className:Ro.adornment}),c.jsx("input",{id:e,type:t,className:aA(Ro.input,{[Ro.readOnly]:v}),disabled:!s,value:_,maxLength:i,placeholder:l,onChange:U,onFocus:J,onBlur:V,onKeyDown:C,ref:H,readOnly:v,autoFocus:w,tabIndex:s?f:-1,required:x}),c.jsx(Vr,{text:E,iconName:D,className:Ro.adornment})]})})}),Un="TextBox",zg={status:"stable",description:"`TextBox` captures user text input for forms, search fields, and data entry with support for validation, icons, and formatting hints.",props:{placeholder:zr(),initialValue:{...Yt(),defaultValue:no.initialValue},label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(Un),labelBreak:Ao(Un),maxLength:Ti(),autoFocus:mt(),required:oo(),readOnly:eo(),enabled:{...Ke(),defaultValue:no.enabled},validationStatus:{...to(),defaultValue:no.validationStatus},startText:qs(),startIcon:Vs(),endText:Zs(),endIcon:Xs(),gap:{description:"This property defines the gap between the adornments and the input area. If not set, the gap declared by the current theme is used."}},events:{gotFocus:Ot(Un),lostFocus:Rt(Un),didChange:ct(Un)},apis:{focus:Go(Un),value:k("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:ho()},themeVars:CA(Ro.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","textColor-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:{}}};function Fp(A,e,t,o,r,n,a,i="text"){return delete A.gap,c.jsx(cl,{type:i,style:A,value:e.value,updateState:t,initialValue:o(r.props.initialValue),maxLength:o(r.props.maxLength),enabled:o.asOptionalBoolean(r.props.enabled),placeholder:o.asOptionalString(r.props.placeholder),validationStatus:o(r.props.validationStatus),onDidChange:n("didChange"),onFocus:n("gotFocus"),onBlur:n("lostFocus"),registerComponentApi:a,startText:o.asOptionalString(r.props.startText),startIcon:o.asOptionalString(r.props.startIcon),endText:o.asOptionalString(r.props.endText),endIcon:o.asOptionalString(r.props.endIcon),gap:o.asOptionalString(r.props.gap),autoFocus:o.asOptionalBoolean(r.props.autoFocus),readOnly:o.asOptionalBoolean(r.props.readOnly),label:o.asOptionalString(r.props.label),labelPosition:o(r.props.labelPosition),labelWidth:o.asOptionalString(r.props.labelWidth),labelBreak:o.asOptionalBoolean(r.props.labelBreak),required:o.asOptionalBoolean(r.props.required)})}const bk=$(Un,zg,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:a})=>Fp(n,e,t,r,A,o,a)),Pp={...zg,description:"`Password` is a specialized [TextBox](/components/TextBox) that enables users to input and edit passwords."},Dk=$("PasswordInput",Pp,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:a})=>Fp(n,e,t,r,A,o,a,"password")),qg={wrapper:"_wrapper_w821k_13",baseRootComponent:"_baseRootComponent_w821k_17"},Sa={};function Vg(A){if(Sa[A]!==void 0)return Sa[A];const e=A.split(/-[A-Z]+/);if(e.length!==2)return Sa[A]=null,Sa[A];const t=e[0],o=t.split(":"),r=o[o.length-1],n=o.length>1?o.slice(0,o.length-1):[],a=A.substring(t.length+1),[i,...s]=a.split("-"),l=a.substring(i.length).split("--"),g=[],u=[];return l.forEach(p=>{!p.includes("-")&&p?g.push(p):p.split("-").forEach(B=>{B&&u.push(B)})}),Sa[A]={classes:n,attribute:r,component:i,traits:u,states:g},Sa[A]}function Gp(A=[]){const e=[];for(let t=1;t<=A.length;t++)for(let o=0;o<=A.length-t;o++)e.push(A.slice(o,o+t));return e.sort((t,o)=>o.length-t.length)}function vk(A,e=[]){const t=Vg(A);if(!t)return;const o=Gp(t.states),r=Gp(t.traits),n=[];r.forEach(u=>{let p="";u.forEach(B=>{p=`${p}-${B}`}),n.push(p)}),n.push("");const a=[];o.forEach(u=>{let p="";u.forEach(B=>{p=`${p}--${B}`}),a.push(p)}),a.push("");const i=[t.component,...t.classes],s=[];a.forEach(u=>{n.forEach(p=>{i.forEach(B=>{s.push(`${t.attribute}-${B}${p}${u}`)})})});let l;for(let u=e.length-1;u>=0;u--){const p=e[u];let B=s.find(C=>p[C]!==void 0);if(B){l=B;break}}return{forValue:s[0],matchedValue:l,from:s}}const yk="xmlui",xk=/(\$[a-zA-Z][a-zA-Z0-9-_]*)/g,kk=/^(true|false)$/,Zg=/^\d*\*$/,Hk={cssProps:{},issues:new Set};function Op(A=YA,e){const t={cssProps:{},issues:new Set};E(e)&&(t.cssProps.flexShrink=0),C("width");const o=m(t.cssProps.width,e);o!==null&&(t.cssProps.flex=o,t.cssProps.flexShrink=1),C("minWidth"),C("maxWidth"),C("height");const r=h(t.cssProps.height,e);r!==null&&(t.cssProps.flex=r,t.cssProps.flexShrink=1),C("minHeight"),C("maxHeight"),C("top"),C("right"),C("bottom"),C("left"),C("gap"),C("padding");const n=B("paddingHorizontal");n&&(t.cssProps.paddingLeft=n,t.cssProps.paddingRight=n),C("paddingRight"),C("paddingLeft");const a=B("paddingVertical");a&&(t.cssProps.paddingTop=a,t.cssProps.paddingBottom=a),C("paddingTop"),C("paddingBottom"),C("margin");const i=B("marginHorizontal");i&&(t.cssProps.marginLeft=i,t.cssProps.marginRight=i),C("marginRight"),C("marginLeft");const s=B("marginVertical");s&&(t.cssProps.marginTop=s,t.cssProps.marginBottom=s),C("marginTop"),C("marginBottom"),C("border");const l=B("borderHorizontal");l&&(t.cssProps.borderLeft=l,t.cssProps.borderRight=l),C("borderRight"),C("borderLeft");const g=B("borderVertical");g&&(t.cssProps.borderTop=g,t.cssProps.borderBottom=g),C("borderTop"),C("borderBottom"),C("borderColor"),C("borderStyle"),C("borderWidth"),C("borderRadius"),C("radiusTopLeft","borderTopLeftRadius"),C("radiusTopRight","borderTopRightRadius"),C("radiusBottomLeft","borderBottomLeftRadius"),C("radiusBottomRight","borderBottomRightRadius"),C("color"),C("fontFamily"),C("fontSize"),C("fontWeight"),C("fontStyle"),C("fontVariant"),C("lineBreak"),C("textDecoration"),C("textDecorationLine"),C("textDecorationColor"),C("textDecorationStyle"),C("textDecorationThickness"),C("textIndent"),C("textShadow"),C("textUnderlineOffset"),C("userSelect"),C("letterSpacing"),C("textTransform"),C("lineHeight"),C("textAlign"),C("textAlignLast"),C("textWrap"),C("wordBreak"),C("wordSpacing"),C("wordWrap"),C("writingMode"),C("backgroundColor"),C("background"),C("boxShadow"),C("direction"),C("overflowX"),C("overflowY"),C("zIndex"),C("opacity"),C("zoom"),C("cursor"),C("whiteSpace"),C("outline"),C("outlineWidth"),C("outlineColor"),C("outlineStyle"),C("outlineOffset");const u=B("wrapContent");u&&(t.cssProps.flexWrap=u==="true"?"wrap":"nowrap"),C("canShrink","flexShrink");const p=B("canShrink");if(p&&(t.cssProps.flexShrink=p==="true"?1:0),hA.isEmpty(t.cssProps)&&hA.isEmpty(t.issues))return Hk;return t;function B(D){var v,f;const I=w();if(((v=e==null?void 0:e.mediaSize)==null?void 0:v.sizeIndex)!==void 0){const M=(f=e.mediaSize)==null?void 0:f.sizeIndex,S=w("xs"),G=w("sm"),b=w("md"),x=w("lg"),L=w("xl"),T=w("xxl");let H;switch(M){case 0:H=S??G??b;break;case 1:H=G??b;break;case 2:H=b;break;case 3:H=x;break;case 4:H=L??x;break;case 5:H=T??L??x;break}return H??I}return I;function w(M=""){const S=M?`${D}-${M}`:D;let G=A[S];if(G==null)return;typeof G=="string"?G=G.trim():G=G.toString();const b=G?G.replace(xk,L=>ao(L.trim())):void 0;if(G!==b)return b;const x=Sk[D];if(!x||x.length===0)return b;for(const L of x)if(L.test(b))return b;return t.issues.add(S),b}}function C(D,I=""){const w=B(D);w&&(t.cssProps[I||D]=w)}function m(D,I){return D&&E(I)==="horizontal"&&Zg.test(D.toString())?Q(D.toString()):null}function h(D,I){return D&&E(I)==="vertical"&&Zg.test(D.toString())?Q(D.toString()):null}function Q(D){if(Zg.test(D)){const I=D.slice(0,-1);return I===""?1:parseInt(I,10)}return null}function E(D){if(!D)return;let I=(D==null?void 0:D.type)==="Stack"&&(D==null?void 0:D.orientation);return I==null?void 0:I.toString()}}function ao(A){return`var(--${yk}-${A.substring(1)})`}const Sk={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:[kk],fontVariant:[],lineBreak:[],textDecoration:[],userSelect:[],letterSpacing:[],textTransform:[],lineHeight:[],textAlign:[],textWrap:[],textAlignLast:[],textIndent:[],textShadow:[],wordBreak:[],wordSpacing:[],wordWrap:[],writingMode:[],wrapContent:[],canShrink:[],cursor:[],zoom:[],whiteSpace:[],textDecorationLine:[],textDecorationColor:[],textDecorationStyle:[],textDecorationThickness:[],textUnderlineOffset:[],outline:[],outlineWidth:[],outlineColor:[],outlineStyle:[],outlineOffset:[],transition:[]};function Xg(A){return typeof A=="string"&&(A==null?void 0:A.startsWith("$"))}function Au(A,e={}){let t=A;Xg(A)&&(t=A.substring(1));const o=e[t];return typeof o=="string"&&Xg(o)?Au(o,e):o}function Mk(A){if(!A)return{};const e=Ki(A);return{...Kn("color-primary",e),...Kn("color-secondary",e),...Kn("color-info",e),...Kn("color-success",e),...Kn("color-warn",e),...Kn("color-danger",e),...Kn("color-surface",e,{distributeEven:!0})}}function Lk(A){if(!A)return{};const t=Ki(A)["space-base"];if(!t||typeof t!="string")return{};let o=t.trim();o.startsWith(".")&&(o=`0${o}`);const r=parseFloat(o);let n=o.replace(r+"","")||"px";if(Number.isNaN(r))return{};const a=[0,.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],i={};return a.forEach(s=>{i[`space-${(s+"").replace(".","_")}`]=`${s*r}${n}`}),i}function Tk(A){if(!A)return{};const t=Ki(A).fontSize;if(!t||typeof t!="string")return{};let o=t.trim();o.startsWith(".")&&(o=`0${o}`);const r=parseFloat(o);let n=o.replace(r+"","")||"px";if(Number.isNaN(r))return{};const a={};return a["fontSize-large"]=`${1.5*r}${n}`,a["fontSize-medium"]=`${1.25*r}${n}`,a["fontSize-semimedium"]=`${1.125*r}${n}`,a["fontSize-normal"]=t,a["fontSize-small"]=`${.875*r}${n}`,a["fontSize-code"]=`${.85*r}${n}`,a["fontSize-smaller"]=`${.75*r}${n}`,a["fontSize-tiny"]=`${.625*r}${n}`,a}function Nk(A){if(!A)return{};const t=Ki(A)["fontSize-Text"];if(!t||typeof t!="string")return{};const o={};return o["fontSize-Text-keyboard"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o["fontSize-Text-sample"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o["fontSize-Text-sup"]=`calc(${ao("$fontSize-Text")} * 0.625)`,o["fontSize-Text-sub"]=`calc(${ao("$fontSize-Text")} * 0.625)`,o["fontSize-Text-title"]=`calc(${ao("$fontSize-Text")} * 1.5)`,o["fontSize-Text-subtitle"]=`calc(${ao("$fontSize-Text")} * 1.25)`,o["fontSize-Text-small"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o["fontSize-Text-placeholder"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o["fontSize-Text-paragraph"]=ao("$fontSize-Text"),o["fontSize-Text-subheading"]=`calc(${ao("$fontSize-Text")} * 0.625)`,o["fontSize-Text-tableheading"]=`calc(${ao("$fontSize-Text")} * 0.625)`,o["fontSize-Text-secondary"]=`calc(${ao("$fontSize-Text")} * 0.875)`,o}function Fk(A){if(!A)return{};const e=Ki(A),t=["primary","secondary","attention"];let o={};return t.forEach(r=>{const n=tu(eu(e,`color-Button-${r}-solid`),s=>({[`backgroundColor-Button-${r}-solid`]:s.base,[`backgroundColor-Button-${r}-solid--hover`]:s.tone1,[`backgroundColor-Button-${r}-solid--active`]:s.tone2,[`borderColor-Button-${r}-solid`]:s.base,[`borderColor-Button-${r}-solid--hover`]:s.base,[`borderColor-Button-${r}-solid--active`]:s.base,[`textColor-Button-${r}-solid`]:s.tone3,[`textColor-Button-${r}-solid--hover`]:s.tone3,[`textColor-Button-${r}-solid--active`]:s.tone3})),a=tu(eu(e,`color-Button-${r}-outlined`),s=>({[`backgroundColor-Button-${r}-outlined--hover`]:s.alpha1,[`backgroundColor-Button-${r}-outlined--active`]:s.alpha2,[`borderColor-Button-${r}-outlined`]:s.base,[`borderColor-Button-${r}-outlined--hover`]:s.tone1,[`borderColor-Button-${r}-outlined--active`]:s.tone2,[`textColor-Button-${r}-outlined`]:s.base,[`textColor-Button-${r}-outlined--hover`]:s.tone1,[`textColor-Button-${r}-outlined--active`]:s.tone2})),i=tu(eu(e,`color-Button-${r}-ghost`),s=>({[`backgroundColor-Button-${r}-ghost--active`]:s.alpha2,[`backgroundColor-Button-${r}-ghost--hover`]:s.alpha1,[`textColor-Button-${r}-ghost`]:s.base,[`textColor-Button-${r}-ghost--hover`]:s.tone1,[`textColor-Button-${r}-ghost--active`]:s.tone2}));o={...o,...n,...a,...i}}),o}const Pk=/^padding-(?!(?:horizontal|vertical|left|right|top|bottom)-)(.+)$/,Gk=/^paddingHorizontal-(.+)$/,Ok=/^paddingVertical-(.+)$/;function Rp(A){if(!A)return{};const e={...A};return Object.entries(A).forEach(([t,o])=>{var r,n,a,i,s,l,g,u,p,B,C,m,h,Q,E,D,I,w,v,f;if(o==null){delete e[t];return}let M=Gk.exec(t);if(M){const L=M[1];e[r=`paddingLeft-${L}`]??(e[r]=o),e[n=`paddingRight-${L}`]??(e[n]=o)}if(M=Ok.exec(t),M){const L=M[1];e[a=`paddingTop-${L}`]??(e[a]=o),e[i=`paddingBottom-${L}`]??(e[i]=o)}if(M=Pk.exec(t),!M)return;const S=M[1],G=A[`paddingHorizontal-${S}`],b=A[`paddingVertical-${S}`],x=o.trim().replace(/ +/g," ").split(" ");switch(x.length){case 1:e[s=`paddingTop-${S}`]??(e[s]=b??x[0]),e[l=`paddingRight-${S}`]??(e[l]=G??x[0]),e[g=`paddingBottom-${S}`]??(e[g]=b??x[0]),e[u=`paddingLeft-${S}`]??(e[u]=G??x[0]);break;case 2:e[p=`paddingTop-${S}`]??(e[p]=b??x[0]),e[B=`paddingRight-${S}`]??(e[B]=G??x[1]),e[C=`paddingBottom-${S}`]??(e[C]=b??x[0]),e[m=`paddingLeft-${S}`]??(e[m]=G??x[1]);break;case 3:e[h=`paddingTop-${S}`]??(e[h]=b??x[0]),e[Q=`paddingRight-${S}`]??(e[Q]=G??x[1]),e[E=`paddingBottom-${S}`]??(e[E]=b??x[2]),e[D=`paddingLeft-${S}`]??(e[D]=G??x[1]);break;case 4:e[I=`paddingTop-${S}`]??(e[I]=b??x[0]),e[w=`paddingRight-${S}`]??(e[w]=G??x[1]),e[v=`paddingBottom-${S}`]??(e[v]=b??x[2]),e[f=`paddingLeft-${S}`]??(e[f]=G??x[3]);break;default:return}}),e}const Rk=/^border-(.+)$/,Uk=/^borderWidth-(.+)$/,Kk=/^borderHorizontalWidth-(.+)$/,Yk=/^borderVerticalWidth-(.+)$/,jk=/^borderStyle-(.+)$/,_k=/^borderHorizontalStyle-(.+)$/,Wk=/^borderVerticalStyle-(.+)$/,Jk=/^borderLeft-(.+)$/,$k=/^borderRight-(.+)$/,zk=/^borderTop-(.+)$/,qk=/^borderBottom-(.+)$/,Vk=/^borderHorizontal-(.+)$/,Zk=/^borderVertical-(.+)$/,Xk=/^borderColor-(.+)$/,A2=/^borderHorizontalColor-(.+)$/,e2=/^borderVerticalColor-(.+)$/;function Up(A){if(!A)return{};const e={...A};return Object.entries(A).forEach(([o,r])=>{var n,a,i;let s=Rk.exec(o);if(s){const l=s[1];e[`borderLeft-${l}`]=r,e[`borderRight-${l}`]=r,e[`borderTop-${l}`]=r,e[`borderBottom-${l}`]=r;const g=t(r);e[n=`borderWidth-${l}`]??(e[n]=g.thickness),e[a=`borderStyle-${l}`]??(e[a]=g.style),e[i=`borderColor-${l}`]??(e[i]=g.color)}if(s=Uk.exec(o),s){const l=s[1];e[`borderLeftWidth-${l}`]=r,e[`borderRightWidth-${l}`]=r,e[`borderTopWidth-${l}`]=r,e[`borderBottomWidth-${l}`]=r}if(s=jk.exec(o),s){const l=s[1];e[`borderLeftStyle-${l}`]=r,e[`borderRightStyle-${l}`]=r,e[`borderTopStyle-${l}`]=r,e[`borderBottomStyle-${l}`]=r}if(s=Xk.exec(o),s){const l=s[1];e[`borderLeftColor-${l}`]=r,e[`borderRightColor-${l}`]=r,e[`borderTopColor-${l}`]=r,e[`borderBottomColor-${l}`]=r}if(s=Vk.exec(o),s){const l=s[1];e[`borderLeft-${l}`]=r,e[`borderRight-${l}`]=r;const g=t(r);g.thickness&&(e[`borderLeftWidth-${l}`]=g.thickness,e[`borderRightWidth-${l}`]=g.thickness),g.style&&(e[`borderLeftStyle-${l}`]=g.style,e[`borderRightStyle-${l}`]=g.style),g.color&&(e[`borderLeftColor-${l}`]=g.color,e[`borderRightColor-${l}`]=g.color)}if(s=Zk.exec(o),s){const l=s[1];e[`borderTop-${l}`]=r,e[`borderBottom-${l}`]=r;const g=t(r);g.thickness&&(e[`borderTopWidth-${l}`]=g.thickness,e[`borderBottomWidth-${l}`]=g.thickness),g.style&&(e[`borderTopStyle-${l}`]=g.style,e[`borderBottomStyle-${l}`]=g.style),g.color&&(e[`borderTopColor-${l}`]=g.color,e[`borderBottomColor-${l}`]=g.color)}if(s=Jk.exec(o),s){const l=s[1],g=t(r);g.thickness&&!A[`borderLeftWidth-${l}`]&&(e[`borderLeftWidth-${l}`]=g.thickness),g.style&&!A[`borderLeftStyle-${l}`]&&(e[`borderLeftStyle-${l}`]=g.style),g.color&&!A[`borderLeftColor-${l}`]&&(e[`borderLeftColor-${l}`]=g.color)}if(s=$k.exec(o),s){const l=s[1],g=t(r);g.thickness&&(e[`borderRightWidth-${l}`]=g.thickness),g.style&&(e[`borderRightStyle-${l}`]=g.style),g.color&&(e[`borderRightColor-${l}`]=g.color)}if(s=zk.exec(o),s){const l=s[1],g=t(r);g.thickness&&(e[`borderTopWidth-${l}`]=g.thickness),g.style&&(e[`borderTopStyle-${l}`]=g.style),g.color&&(e[`borderTopColor-${l}`]=g.color)}if(s=qk.exec(o),s){const l=s[1],g=t(r);g.thickness&&(e[`borderBottomWidth-${l}`]=g.thickness),g.style&&(e[`borderBottomStyle-${l}`]=g.style),g.color&&(e[`borderBottomColor-${l}`]=g.color)}if(s=Kk.exec(o),s){const l=s[1];e[`borderLeftWidth-${l}`]=r,e[`borderRightWidth-${l}`]=r}if(s=Yk.exec(o),s){const l=s[1];e[`borderTopWidth-${l}`]=r,e[`borderBottomWidth-${l}`]=r}if(s=_k.exec(o),s){const l=s[1];e[`borderLeftStyle-${l}`]=r,e[`borderRightStyle-${l}`]=r}if(s=Wk.exec(o),s){const l=s[1];e[`borderTopStyle-${l}`]=r,e[`borderBottomStyle-${l}`]=r}if(s=A2.exec(o),s){const l=s[1];e[`borderLeftColor-${l}`]=r,e[`borderRightColor-${l}`]=r}if(s=e2.exec(o),s){const l=s[1];e[`borderTopColor-${l}`]=r,e[`borderBottomColor-${l}`]=r}}),e;function t(o){var r,n,a;try{const s=new bp(o).parseBorder(),l={style:s.styleValue,thickness:s.widthValue!==void 0?`${s.widthValue}${s.widthUnit??"px"}`:void 0,color:s.color===void 0?void 0:typeof s.color=="string"?s.color:s.color.toString()};if(s.themeId1&&s.themeId2&&s.themeId3)return{thickness:s.themeId1.id,style:s.themeId2.id,color:s.themeId3.id};if(s.themeId1&&s.themeId2)return l.thickness?{thickness:l.thickness,style:s.themeId1.id,color:s.themeId2.id}:l.style?{thickness:s.themeId1.id,style:l.style,color:s.themeId2.id}:{thickness:s.themeId1.id,style:s.themeId2.id,color:l.color};if(s.themeId1){if(l.thickness&&l.style)return{thickness:l.thickness,style:l.style,color:s.themeId1.id};if(l.thickness&&l.color)return{thickness:l.thickness,style:s.themeId1.id,color:l.color};if(l.style&&l.color)return{thickness:s.themeId1.id,style:l.style,color:l.color}}return{thickness:(r=l.thickness)==null?void 0:r.trim(),style:(n=l.style)==null?void 0:n.trim(),color:(a=l.color)==null?void 0:a.trim()}}catch{return{thickness:void 0,style:void 0,color:void 0}}}}function eu(A,e){if(A[e])return A[e];const t=Vg(e);if(!t)return null;let o=null,r=null;return Object.keys(A).forEach(n=>{const a=Vg(n);if(!(!a||a.component!==t.component||a.attribute!==t.attribute)&&!a.states.length&&a.traits.every(i=>t.traits.includes(i))&&(!o||o.traits.length<=a.traits.length)){o=a,r=n;return}}),r?A[r]:null}function Ki(A){const e={};return Object.keys(A).forEach(t=>{e[t]=Au(t,A)}),e}function Kn(A,e,t={distributeEven:!1}){try{const{distributeEven:o}=t,r=e[A];if(!r||typeof r!="string")return{};const n=_B(r);let a,i,s,l,g,u,p,B,C,m,h,Q,E;if(o)a=n.lightness(100),i=n.lightness(98),s=n.lightness(95),l=n.lightness(83),g=n.lightness(75),u=n.lightness(63),p=n.lightness(52),B=n.lightness(40),C=n.lightness(32),m=n.lightness(27),h=n.lightness(16),Q=n.lightness(13),E=n.lightness(9);else{const D=n.hsl().l(),I=D/5,w=(100-D)/5;a=n.lightness(100),i=n.lightness(D+w*4.5),s=n.lightness(D+w*4),l=n.lightness(D+w*3),g=n.lightness(D+w*2),u=n.lightness(D+w*1),p=n.lightness(D),B=n.lightness(D-I*1),C=n.lightness(D-I*2),m=n.lightness(D-I*3),h=n.lightness(D-I*4),Q=n.lightness(D-I*4.5),E=n.lightness(D-I*5)}return{[`const-${A}-0`]:a.toString(),[`const-${A}-50`]:i.toString(),[`const-${A}-100`]:s.toString(),[`const-${A}-200`]:l.toString(),[`const-${A}-300`]:g.toString(),[`const-${A}-400`]:u.toString(),[`const-${A}-500`]:p.toString(),[`const-${A}-600`]:B.toString(),[`const-${A}-700`]:C.toString(),[`const-${A}-800`]:m.toString(),[`const-${A}-900`]:h.toString(),[`const-${A}-950`]:Q.toString(),[`const-${A}-1000`]:E.toString()}}catch{return console.error("Error generating base tones for color:",A),{}}}function tu(A,e){const t=t2(A);return t?e(t):{}}function t2(A){if(!A||typeof A!="string"||A.startsWith("$"))return null;const e=_B(A);let t,o,r;e.isLight()?(t=e.darken(.2).toString(),o=e.darken(.1).toString(),r=e.darken(.95).toString()):(t=e.lighten(.2).toString(),o=e.lighten(.1).toString(),r=e.lighten(.95).toString());const n=e.alpha(.1).toString(),a=e.alpha(.2).toString();return{base:A,tone1:t,tone2:o,tone3:r,alpha1:n,alpha2:a}}const o2={$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:gl,$colorSurface50:Kp,$colorSurface100:Yp,$colorSurface200:r2,$colorSurface600:ou,$colorPrimary50:n2,$colorWarn700:a2,$colorDanger500:i2,$colorDanger600:s2,$colorSuccess600:l2}=o2,ru={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":"rgb(from $color-primary-500 r g b / 0.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-semimedium":"1.125rem","fontSize-normal":"1rem","fontSize-small":"0.875rem","fontSize-code":"0.85rem","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":Kp,"backgroundColor-dropdown-item--active":Yp,"backgroundColor-dropdown-item--active-hover":Kp,"backgroundColor-tree-row--selected--before":n2,borderColor:"rgb(from $color-surface-900 r g b / 0.1)","borderColor--disabled":Yp,"textColor-secondary":ou,"backgroundColor-Input-default":gl,"backgroundColor-Input-success":gl,"backgroundColor-Input-warning":gl,"backgroundColor-Input-error":gl,"borderColor-Input-default":r2,"borderColor-Input-default--hover":ou,"borderColor-Input-default--focus":ou,"borderColor-Input-default--success":l2,"borderColor-Input-default--warning":a2,"borderColor-Input-default--error":i2,"textColor-InputLabel-required":s2},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"}}}};function jp(A,e){if(!A)return[];if(!A.extends)return[];const t=typeof A.extends=="string"?[A.extends]:A.extends,o=[];return t.forEach(r=>{const n=e.find(a=>a.id===r);n&&(o.push(...jp(n,e)),o.push(n))}),o}function c2(A,e,t){const o=hA.cloneDeep(ru.themeVars)||{},r=hA.cloneDeep(ru.tones)||{};return Object.entries(t).forEach(([a,i])=>{typeof i=="string"?o[a]=i:Object.entries(i).forEach(([s,l])=>{r[a]||(r[a]={themeVars:{}}),r[a].themeVars={...r[a].themeVars,[s]:l}})}),[{id:"root",themeVars:o,resources:{},tones:r},...jp(A,e),A]}const _p=d.createContext(null);function Yn(){return d.useContext(_p)}const g2={"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"},u2={"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"},d2={"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"},B2={"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"},p2={"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"},C2={"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"},Wp={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"}}}},Jp={id:"xmlui-green",extends:"xmlui",themeVars:{...g2}},$p={id:"xmlui-gray",extends:"xmlui",themeVars:{...u2}},zp={id:"xmlui-orange",extends:"xmlui",themeVars:{...d2}},qp={id:"xmlui-purple",extends:"xmlui",themeVars:{...B2}},Vp={id:"xmlui-cyan",extends:"xmlui",themeVars:{...p2}},Zp={id:"xmlui-red",extends:"xmlui",themeVars:{...C2}},ul=["light","dark"];function Xp(A,e,t=Ae,o=YA,r=YA){const n=Yn(),{componentThemeVars:a,componentDefaultThemeVars:i}=n,s=d.useMemo(()=>{if(A)return c2(A,t,i)},[A,i,t]),l=d.useMemo(()=>{let Q={};return s==null||s.forEach(E=>{var D,I;Q={...Q,...E.resources,...(I=(D=E.tones)==null?void 0:D[e])==null?void 0:I.resources}}),{...o,...Q}},[s,o,e]),g=d.useMemo(()=>{const Q=[];return Object.entries(l).forEach(([E,D])=>{E.startsWith("font.")&&(Q==null||Q.push(D))}),Q},[l]),u=d.useCallback(Q=>{let E=Q;if(Q!=null&&Q.startsWith("resource:")){const D=Q==null?void 0:Q.replace("resource:","");E=l[D]}return E&&(r[E]?r[E]:E.startsWith("/")&&r[E.substring(1)]?r[E.substring(1)]:up(E))},[l,r]),p=d.useMemo(()=>(g==null?void 0:g.filter(Q=>typeof Q=="string"))||[],[g]),B=d.useMemo(()=>{var D,I,w;if(!(s!=null&&s.length))return[];let Q={};return s==null||s.forEach(v=>{var f,M,S;Q={...Q,...v.themeVars,...(f=v.themeVars)==null?void 0:f[e],...(S=(M=v.tones)==null?void 0:M[e])==null?void 0:S.themeVars}}),[...s.map(v=>{var f,M,S;return{...v.themeVars,...(f=v.themeVars)==null?void 0:f[e],...(S=(M=v.tones)==null?void 0:M[e])==null?void 0:S.themeVars}}).slice(0,s.length-1),{...Lk(Q),...Tk(Q),...Rp(Q),...Up(Q),...Mk(Q),...Fk(Q)},{...s[s.length-1].themeVars,...Nk(Q),...(D=s[s.length-1].themeVars)==null?void 0:D[e],...(w=(I=s[s.length-1].tones)==null?void 0:I[e])==null?void 0:w.themeVars}]},[e,s]),C=d.useMemo(()=>{let Q={};B==null||B.forEach(D=>{D=Rp(D),D=Up(D),Q={...Q,...D}});const E={};return new Set([...Object.keys(ip.themeVars),...a]).forEach(D=>{const I=vk(D,B);I&&I.forValue&&I.matchedValue&&I.forValue!==I.matchedValue&&(E[I.forValue]=`$${I.matchedValue}`)}),Q2({...Q,...E})},[a,B]),m=d.useMemo(()=>{const Q={};return Object.entries(C).forEach(([E,D])=>{const I=`--${ip.keyPrefix}-${E}`;D&&(Q[I]=D)}),Q},[C]),h=d.useCallback(Q=>Au(Q,C),[C]);return d.useEffect(()=>{g.forEach(async Q=>{if(typeof Q!="string"){let D=`url(${u(Q.src)})`;Q.format&&(D=`${D} format('${Q.format}')`);const I=new FontFace(Q.fontFamily,D,{weight:Q.fontWeight,style:Q.fontStyle,display:Q.fontDisplay});try{const w=await I.load();document.fonts.add(w)}catch(w){console.error("loading fonts failed",w)}}})},[s,u,g]),{getResourceUrl:u,fontLinks:p,allThemeVarsWithResolvedHierarchicalVars:C,themeCssVars:m,getThemeVar:h}}const m2=[Wp,Jp,$p,zp,qp,Vp,Zp];function h2({children:A,themes:e=Ae,defaultTheme:t="xmlui",defaultTone:o="light",resources:r=YA,resourceMap:n=YA,localThemes:a=YA}){const[i,s]=d.useState(()=>o||ul[0]);d.useEffect(()=>{o&&s(o)},[o]);const l=d.useMemo(()=>[...e,...m2],[e]),g=d.useMemo(()=>[...new Set(l.map(v=>v.id))],[l]),[u,p]=d.useState(()=>t||g[0]);De(()=>{t&&g.includes(t)?p(t):p(g[0])},[g,t]);const B=d.useMemo(()=>{let v;if(u&&(v=l.find(f=>f.id===u)),!v)throw new Error(`Theme ${u} not found, available themes: ${g}`);return v},[u,g,l]),{allThemeVarsWithResolvedHierarchicalVars:C,themeCssVars:m,getResourceUrl:h,getThemeVar:Q}=Xp(B,i,l,r,n),[E,D]=d.useState(null),I=d.useMemo(()=>({root:E,setRoot:D,themes:l,resources:r,resourceMap:n,activeThemeId:u,activeThemeTone:i,setActiveThemeId:p,setActiveThemeTone:s,availableThemeIds:g,activeTheme:B,toggleThemeTone:()=>s(i==="light"?"dark":"light")}),[B,u,i,g,n,r,E,l]),w=d.useMemo(()=>({root:E,activeThemeId:u,activeThemeTone:i,activeTheme:B,themeStyles:m,themeVars:C,getResourceUrl:h,getThemeVar:Q}),[B,u,i,C,h,Q,E,m]);return c.jsx(dp.Provider,{value:I,children:c.jsx(jg.Provider,{value:w,children:A})})}function Q2(A){if(!A)return{};const e={};return Object.keys(A).forEach(r=>{e[r]=t(r,A)}),e;function t(r,n){const a=n[r];return typeof a=="string"&&a.includes("$")?o(a):a}function o(r){const n=/\$([a-zA-Z0-9_-]+)/gi,a=r.matchAll(n);if(a){let i=r;for(const s of a){const l=s[1];l&&(i=i.replace(s[0],`var(${wa(l)})`))}return i}return r}}const nu={errorOverlay:"_errorOverlay_1t96q_13",title:"_title_1t96q_21",errorItem:"_errorItem_1t96q_28"};class Yi extends d.Component{constructor(){super(...arguments),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error("Uncaught error:",e,t,this.props.location)}componentDidUpdate(e,t,o){e.node!==this.props.node&&this.setState({hasError:!1})}render(){var e;return this.state.hasError?c.jsxs("div",{className:nu.errorOverlay,children:[c.jsx("div",{className:nu.title,children:"There was an error!"}),c.jsx("div",{className:nu.errorItem,children:(e=this.state.error)==null?void 0:e.message})]}):this.props.children}}const E2={top:40,right:40,bottom:40,left:40,position:"absolute",overflowY:"hidden"};let AC=!1;const I2=({toastDuration:A})=>{const[e,t]=d.useState(!1);return d.useEffect(()=>{AC||(AC=!0,t(!0))},[]),e?c.jsx(ke.Toaster,{position:"top-right",containerStyle:E2,toastOptions:{style:{padding:"12px 16px"},duration:A},children:o=>c.jsx("div",{onClick:()=>ke.dismiss(o.id),children:c.jsx(ke.ToastBar,{position:o.position,toast:o,style:{wordBreak:"break-word"},children:({icon:r,message:n})=>c.jsxs(c.Fragment,{children:[r,n]})})})}):null},eC=d.createContext({indexing:!1});function dl(){return d.useContext(eC)}function w2(A){return`theme-${f2(A)}`}function f2(A){let e=0,t,o;if(A.length===0)return e;for(t=0;t<A.length;t++)o=A.charCodeAt(t),e=(e<<5)-e+o,e|=0;return e}const Bl={isRoot:!1,toastDuration:5e3,themeVars:YA,root:!1};function b2({id:A,isRoot:e=Bl.isRoot,renderChild:t,node:o,tone:r,toastDuration:n=Bl.toastDuration,themeVars:a=Bl.themeVars,layoutContext:i,children:s}){const l=d.useId(),{themes:g,resources:u,resourceMap:p,activeThemeId:B,setRoot:C,root:m}=el(),{activeTheme:h,activeThemeTone:Q}=le(),E=r||Q,D=d.useMemo(()=>{var j,O,U;const H=A?g.find(J=>J.id===A):h;if(!H)throw new Error(`Theme not found: requested="${A}", available=[${g.map(J=>J.id).join(", ")}]`);return{...H,id:l,tones:{...H.tones,[E]:{...(j=H.tones)==null?void 0:j[E],themeVars:{...(U=(O=H.tones)==null?void 0:O[E])==null?void 0:U.themeVars,...a}}}}},[h,l,A,E,a,g]),{themeCssVars:I,getResourceUrl:w,fontLinks:v,allThemeVarsWithResolvedHierarchicalVars:f,getThemeVar:M}=Xp(D,E,g,u,p),{css:S,className:G}=d.useMemo(()=>{const H={...I,"color-scheme":E};let _=Object.entries(H).map(([O,U])=>O+":"+U+";").join(" ");const j=w2(_);if(e){_+="--screenSize: 0;";const O=M("maxWidth-phone"),U=M("maxWidth-landscape-phone"),J=M("maxWidth-tablet"),V=M("maxWidth-desktop"),Z=M("maxWidth-large-desktop"),R=` @media (min-width: calc(${O} + 1px)) {
5
5
  --screenSize: 1;
6
6
  }
7
7
 
@@ -51,7 +51,7 @@ ${A.errorObject}`,o=["color: red","color: inherited"]);throw t&&console.log(t,..
51
51
  `)}function I8(A,e=""){return A?{[be.language.prop]:A[be.language.data],[be.copy.prop]:w8(A[be.copy.data]),[be.filename.prop]:A[be.filename.data],[be.highlightRows.prop]:f8(e,A[be.highlightRows.data]),[be.highlightSubstrings.prop]:Vh(e,A[be.highlightSubstrings.data]),[be.highlightSubstringsEmphasized.prop]:Vh(e,A[be.highlightSubstringsEmphasized.data],!0)}:{}}function w8(A){return A==="true"}function f8(A,e){if(!e)return[];if(e==="")return[];const t=A.split(`
52
52
  `);return e.split(",").map(a=>{a=a.trim();const i=a.split("-");let s=-1,l=-1;if(i.length===0)return{start:s,end:l,properties:{class:rs}};if(i.length>2)return{start:s,end:l,properties:{class:rs}};if(i[0]==="")return{start:s,end:l,properties:{class:rs}};if(i[1]==="")return{start:s,end:l,properties:{class:rs}};s=0,l=0;const g=r(o(i[0]));s=n(g);const u=i.length===1?g:r(o(i[1]));let p=0;return u>=0&&t[u]!==void 0&&(p=t[u].length),l=n(u)+p,{start:s,end:l,properties:{class:rs}}}).filter(a=>!(a.start<=-1||a.end<=-1||a.start>A.length||a.end>A.length));function o(a){const i=parseInt(a,10);return Number.isNaN(i)?-1:i}function r(a){return a-=1,a<0||a>=t.length?-1:a}function n(a){if(a<0)return-1;if(a===0)return 0;let i=0,s=0;for(;i<a&&s!==-1;)s=A.indexOf(`
53
53
  `,s),s!==-1&&(s++,i++);return s!==-1?s:-1}}function Vh(A,e,t=!1){if(!e)return[];if(!A)return[];return e.split(" ").map(r=>m8(r)).filter(r=>r.trim()!=="").reduce((r,n)=>r.concat(o(A,n)),[]);function o(r,n){const a=[];let i=0;const s=n.length;for(;i<=r.length-s;){const l=r.indexOf(n,i);if(l===-1)break;a.push({start:l,end:l+s,properties:{class:t?C8:p8}}),i=l+s}return a}}function b8(A){return A&&A.highlight&&typeof A.highlight=="function"&&A.availableLangs}const be={language:{data:"data-language",prop:"language"},copy:{data:"data-copy",prop:"copy"},filename:{data:"data-filename",prop:"filename"},rowNumbers:{data:"data-row-numbers",prop:"rowNumbers"},highlightRows:{data:"data-highlight-rows",prop:"highlightRows"},highlightSubstrings:{data:"data-highlight-substrings",prop:"highlightSubstrings"},highlightSubstringsEmphasized:{data:"data-highlight-substrings-emp",prop:"highlightSubstringsEmphasized"}},D8=Object.values(be).map(A=>A.data),mn={themeVars:`'{"padding-CodeBlock": "var(--xmlui-padding-CodeBlock)", "paddingHorizontal-CodeBlock": "var(--xmlui-paddingHorizontal-CodeBlock, var(--xmlui-padding-CodeBlock))", "paddingVertical-CodeBlock": "var(--xmlui-paddingVertical-CodeBlock, var(--xmlui-padding-CodeBlock))", "paddingLeft-CodeBlock": "var(--xmlui-paddingLeft-CodeBlock, var(--xmlui-paddingHorizontal-CodeBlock, var(--xmlui-padding-CodeBlock)))", "paddingRight-CodeBlock": "var(--xmlui-paddingRight-CodeBlock, var(--xmlui-paddingHorizontal-CodeBlock, var(--xmlui-padding-CodeBlock)))", "paddingTop-CodeBlock": "var(--xmlui-paddingTop-CodeBlock, var(--xmlui-paddingVertical-CodeBlock, var(--xmlui-padding-CodeBlock)))", "paddingBottom-CodeBlock": "var(--xmlui-paddingBottom-CodeBlock, var(--xmlui-paddingVertical-CodeBlock, var(--xmlui-padding-CodeBlock)))", "border-CodeBlock": "var(--xmlui-border-CodeBlock)", "borderHorizontal-CodeBlock": "var(--xmlui-borderHorizontal-CodeBlock, var(--xmlui-border-CodeBlock))", "borderVertical-CodeBlock": "var(--xmlui-borderVertical-CodeBlock, var(--xmlui-border-CodeBlock))", "borderLeft-CodeBlock": "var(--xmlui-borderLeft-CodeBlock, var(--xmlui-borderHorizontal-CodeBlock, var(--xmlui-border-CodeBlock)))", "borderRight-CodeBlock": "var(--xmlui-borderRight-CodeBlock, var(--xmlui-borderHorizontal-CodeBlock, var(--xmlui-border-CodeBlock)))", "borderTop-CodeBlock": "var(--xmlui-borderTop-CodeBlock, var(--xmlui-borderVertical-CodeBlock, var(--xmlui-border-CodeBlock)))", "borderBottom-CodeBlock": "var(--xmlui-borderBottom-CodeBlock, var(--xmlui-borderVertical-CodeBlock, var(--xmlui-border-CodeBlock)))", "borderWidth-CodeBlock": "var(--xmlui-borderWidth-CodeBlock)", "borderHorizontalWidth-CodeBlock": "var(--xmlui-borderHorizontalWidth-CodeBlock, var(--xmlui-borderWidth-CodeBlock))", "borderLeftWidth-CodeBlock": "var(--xmlui-borderLeftWidth-CodeBlock, var(--xmlui-borderHorizontalWidth-CodeBlock, var(--xmlui-borderWidth-CodeBlock)))", "borderRightWidth-CodeBlock": "var(--xmlui-borderRightWidth-CodeBlock, var(--xmlui-borderHorizontalWidth-CodeBlock, var(--xmlui-borderWidth-CodeBlock)))", "borderVerticalWidth-CodeBlock": "var(--xmlui-borderVerticalWidth-CodeBlock, var(--xmlui-borderWidth-CodeBlock))", "borderTopWidth-CodeBlock": "var(--xmlui-borderTopWidth-CodeBlock, var(--xmlui-borderVerticalWidth-CodeBlock, var(--xmlui-borderWidth-CodeBlock)))", "borderBottomWidth-CodeBlock": "var(--xmlui-borderBottomWidth-CodeBlock, var(--xmlui-borderVerticalWidth-CodeBlock, var(--xmlui-borderWidth-CodeBlock)))", "borderStyle-CodeBlock": "var(--xmlui-borderStyle-CodeBlock)", "borderHorizontalStyle-CodeBlock": "var(--xmlui-borderHorizontalStyle-CodeBlock, var(--xmlui-borderStyle-CodeBlock))", "borderLeftStyle-CodeBlock": "var(--xmlui-borderLeftStyle-CodeBlock, var(--xmlui-borderHorizontalStyle-CodeBlock, var(--xmlui-borderStyle-CodeBlock)))", "borderRightStyle-CodeBlock": "var(--xmlui-borderRightStyle-CodeBlock, var(--xmlui-borderHorizontalStyle-CodeBlock, var(--xmlui-borderStyle-CodeBlock)))", "borderVerticalStyle-CodeBlock": "var(--xmlui-borderVerticalStyle-CodeBlock, var(--xmlui-borderStyle-CodeBlock))", "borderTopStyle-CodeBlock": "var(--xmlui-borderTopStyle-CodeBlock, var(--xmlui-borderVerticalStyle-CodeBlock, var(--xmlui-borderStyle-CodeBlock)))", "borderBottomStyle-CodeBlock": "var(--xmlui-borderBottomStyle-CodeBlock, var(--xmlui-borderVerticalStyle-CodeBlock, var(--xmlui-borderStyle-CodeBlock)))", "borderColor-CodeBlock": "var(--xmlui-borderColor-CodeBlock)", "borderHorizontalColor-CodeBlock": "var(--xmlui-borderHorizontalColor-CodeBlock, var(--xmlui-borderColor-CodeBlock))", "borderLeftColor-CodeBlock": "var(--xmlui-borderLeftColor-CodeBlock, var(--xmlui-borderHorizontalColor-CodeBlock, var(--xmlui-borderColor-CodeBlock)))", "borderRightColor-CodeBlock": "var(--xmlui-borderRightColor-CodeBlock, var(--xmlui-borderHorizontalColor-CodeBlock, var(--xmlui-borderColor-CodeBlock)))", "borderVerticalColor-CodeBlock": "var(--xmlui-borderVerticalColor-CodeBlock, var(--xmlui-borderColor-CodeBlock))", "borderTopColor-CodeBlock": "var(--xmlui-borderTopColor-CodeBlock, var(--xmlui-borderVerticalColor-CodeBlock, var(--xmlui-borderColor-CodeBlock)))", "borderBottomColor-CodeBlock": "var(--xmlui-borderBottomColor-CodeBlock, var(--xmlui-borderVerticalColor-CodeBlock, var(--xmlui-borderColor-CodeBlock)))", "borderStartStartRadius-CodeBlock": "var(--xmlui-borderStartStartRadius-CodeBlock, var(--xmlui-borderRadius-CodeBlock))", "borderStartEndRadius-CodeBlock": "var(--xmlui-borderStartEndRadius-CodeBlock, var(--xmlui-borderRadius-CodeBlock))", "borderEndStartRadius-CodeBlock": "var(--xmlui-borderEndStartRadius-CodeBlock, var(--xmlui-borderRadius-CodeBlock))", "borderEndEndRadius-CodeBlock": "var(--xmlui-borderEndEndRadius-CodeBlock, var(--xmlui-borderRadius-CodeBlock))", "backgroundColor-CodeBlock": "var(--xmlui-backgroundColor-CodeBlock)", "backgroundColor-CodeBlock-header": "var(--xmlui-backgroundColor-CodeBlock-header)", "color-CodeBlock-headerSeparator": "var(--xmlui-color-CodeBlock-headerSeparator)", "marginTop-CodeBlock": "var(--xmlui-marginTop-CodeBlock)", "marginBottom-CodeBlock": "var(--xmlui-marginBottom-CodeBlock)", "backgroundColor-CodeBlock-highlightRow": "var(--xmlui-backgroundColor-CodeBlock-highlightRow)", "backgroundColor-CodeBlock-highlightString": "var(--xmlui-backgroundColor-CodeBlock-highlightString)", "borderColor-CodeBlock-highlightString-emphasis": "var(--xmlui-borderColor-CodeBlock-highlightString-emphasis)", "borderRadius-CodeBlock": "var(--xmlui-borderRadius-CodeBlock)", "boxShadow-CodeBlock": "var(--xmlui-boxShadow-CodeBlock)", "height-CodeBlock": "var(--xmlui-height-CodeBlock)", "paddingHorizontal-content-CodeBlock": "var(--xmlui-paddingHorizontal-content-CodeBlock)", "paddingVertical-content-CodeBlock": "var(--xmlui-paddingVertical-content-CodeBlock)"}'`,codeBlock:"_codeBlock_193w1_13",copyButton:"_copyButton_193w1_49",codeBlockHeader:"_codeBlockHeader_193w1_56",codeBlockContent:"_codeBlockContent_193w1_66",codeBlockCopyButton:"_codeBlockCopyButton_193w1_74"};function Vu({children:A,meta:e,textToCopy:t,style:o}){return e?c.jsxs("div",{className:aA(mn.codeBlock,"global-codeBlock"),style:o,children:[e.filename&&c.jsx("div",{className:mn.codeBlockHeader,children:c.jsx(ZA,{variant:"em",children:e.filename})}),c.jsxs("div",{className:mn.codeBlockContent,children:[A,e.copy!==!1&&c.jsx("div",{className:mn.codeBlockCopyButton,children:c.jsx(ae,{variant:"ghost",size:"xs",className:mn.copyButton,icon:c.jsx(yA,{name:"copy","aria-hidden":!0}),onClick:()=>{t&&(navigator.clipboard.writeText(t),ke.success("Code copied!"))}})})]})]}):c.jsx("div",{className:aA(mn.codeBlock,"global-codeBlock"),style:o,children:c.jsx("div",{className:mn.codeBlockContent,children:A})})}function v8(){return function(o){$B.visit(o,"code",A)};function A(t,o,r){var g;const{lang:n,meta:a}=t,i={hProperties:{}};if(n!==null&&(i.hProperties.dataLanguage=n,t.data=i),!r||!a)return;const s=(g=e(a))==null?void 0:g.filter(u=>u!=="").map(u=>u.trim());if(!s||s.length===0)return;const l=s.reduce((u,p)=>{if(p=p.trim(),p==="")return u;if(p.toLocaleLowerCase().startsWith("filename=")){const B=p.indexOf("=");u[be.filename.data]=p.substring(B+1).replace(/"(.+)"/,"$1").replace(/'(.+)'/,"$1")}if(p.startsWith("/")&&p.endsWith("/")){const B=u[be.highlightSubstrings.data],C=qh(p.substring(1,p.length-1));B?u[be.highlightSubstrings.data]=`${B} ${C}`:u[be.highlightSubstrings.data]=C}if(p.startsWith("!/")&&p.endsWith("/")){const B=u[be.highlightSubstringsEmphasized.data],C=qh(p.substring(2,p.length-1));B?u[be.highlightSubstringsEmphasized.data]=`${B} ${C}`:u[be.highlightSubstringsEmphasized.data]=C}if(p.startsWith("{")&&p.endsWith("}")){const B=u[be.highlightRows.data],C=p.substring(1,p.length-1);B?u[be.highlightRows.data]=`${B}, ${C}`:u[be.highlightRows.data]=C}return p==="copy"&&(u[be.copy.data]="true"),p==="rowNumbers"&&(u[be.rowNumbers.data]="true"),u},{});i.hProperties={...i.hProperties,...l},t.data=i}function e(t){return t.match(/(?:("|')[^"']*\1|\{[^{}]*\}|\/.*?\/|[^\s"'{}/])+/g)}}const Vt={themeVars:`'{"fontSize-TreeDisplay": "var(--xmlui-fontSize-TreeDisplay)", "border-TreeDisplay": "var(--xmlui-border-TreeDisplay)", "borderHorizontal-TreeDisplay": "var(--xmlui-borderHorizontal-TreeDisplay, var(--xmlui-border-TreeDisplay))", "borderVertical-TreeDisplay": "var(--xmlui-borderVertical-TreeDisplay, var(--xmlui-border-TreeDisplay))", "borderLeft-TreeDisplay": "var(--xmlui-borderLeft-TreeDisplay, var(--xmlui-borderHorizontal-TreeDisplay, var(--xmlui-border-TreeDisplay)))", "borderRight-TreeDisplay": "var(--xmlui-borderRight-TreeDisplay, var(--xmlui-borderHorizontal-TreeDisplay, var(--xmlui-border-TreeDisplay)))", "borderTop-TreeDisplay": "var(--xmlui-borderTop-TreeDisplay, var(--xmlui-borderVertical-TreeDisplay, var(--xmlui-border-TreeDisplay)))", "borderBottom-TreeDisplay": "var(--xmlui-borderBottom-TreeDisplay, var(--xmlui-borderVertical-TreeDisplay, var(--xmlui-border-TreeDisplay)))", "borderWidth-TreeDisplay": "var(--xmlui-borderWidth-TreeDisplay)", "borderHorizontalWidth-TreeDisplay": "var(--xmlui-borderHorizontalWidth-TreeDisplay, var(--xmlui-borderWidth-TreeDisplay))", "borderLeftWidth-TreeDisplay": "var(--xmlui-borderLeftWidth-TreeDisplay, var(--xmlui-borderHorizontalWidth-TreeDisplay, var(--xmlui-borderWidth-TreeDisplay)))", "borderRightWidth-TreeDisplay": "var(--xmlui-borderRightWidth-TreeDisplay, var(--xmlui-borderHorizontalWidth-TreeDisplay, var(--xmlui-borderWidth-TreeDisplay)))", "borderVerticalWidth-TreeDisplay": "var(--xmlui-borderVerticalWidth-TreeDisplay, var(--xmlui-borderWidth-TreeDisplay))", "borderTopWidth-TreeDisplay": "var(--xmlui-borderTopWidth-TreeDisplay, var(--xmlui-borderVerticalWidth-TreeDisplay, var(--xmlui-borderWidth-TreeDisplay)))", "borderBottomWidth-TreeDisplay": "var(--xmlui-borderBottomWidth-TreeDisplay, var(--xmlui-borderVerticalWidth-TreeDisplay, var(--xmlui-borderWidth-TreeDisplay)))", "borderStyle-TreeDisplay": "var(--xmlui-borderStyle-TreeDisplay)", "borderHorizontalStyle-TreeDisplay": "var(--xmlui-borderHorizontalStyle-TreeDisplay, var(--xmlui-borderStyle-TreeDisplay))", "borderLeftStyle-TreeDisplay": "var(--xmlui-borderLeftStyle-TreeDisplay, var(--xmlui-borderHorizontalStyle-TreeDisplay, var(--xmlui-borderStyle-TreeDisplay)))", "borderRightStyle-TreeDisplay": "var(--xmlui-borderRightStyle-TreeDisplay, var(--xmlui-borderHorizontalStyle-TreeDisplay, var(--xmlui-borderStyle-TreeDisplay)))", "borderVerticalStyle-TreeDisplay": "var(--xmlui-borderVerticalStyle-TreeDisplay, var(--xmlui-borderStyle-TreeDisplay))", "borderTopStyle-TreeDisplay": "var(--xmlui-borderTopStyle-TreeDisplay, var(--xmlui-borderVerticalStyle-TreeDisplay, var(--xmlui-borderStyle-TreeDisplay)))", "borderBottomStyle-TreeDisplay": "var(--xmlui-borderBottomStyle-TreeDisplay, var(--xmlui-borderVerticalStyle-TreeDisplay, var(--xmlui-borderStyle-TreeDisplay)))", "borderColor-TreeDisplay": "var(--xmlui-borderColor-TreeDisplay)", "borderHorizontalColor-TreeDisplay": "var(--xmlui-borderHorizontalColor-TreeDisplay, var(--xmlui-borderColor-TreeDisplay))", "borderLeftColor-TreeDisplay": "var(--xmlui-borderLeftColor-TreeDisplay, var(--xmlui-borderHorizontalColor-TreeDisplay, var(--xmlui-borderColor-TreeDisplay)))", "borderRightColor-TreeDisplay": "var(--xmlui-borderRightColor-TreeDisplay, var(--xmlui-borderHorizontalColor-TreeDisplay, var(--xmlui-borderColor-TreeDisplay)))", "borderVerticalColor-TreeDisplay": "var(--xmlui-borderVerticalColor-TreeDisplay, var(--xmlui-borderColor-TreeDisplay))", "borderTopColor-TreeDisplay": "var(--xmlui-borderTopColor-TreeDisplay, var(--xmlui-borderVerticalColor-TreeDisplay, var(--xmlui-borderColor-TreeDisplay)))", "borderBottomColor-TreeDisplay": "var(--xmlui-borderBottomColor-TreeDisplay, var(--xmlui-borderVerticalColor-TreeDisplay, var(--xmlui-borderColor-TreeDisplay)))", "borderStartStartRadius-TreeDisplay": "var(--xmlui-borderStartStartRadius-TreeDisplay, var(--xmlui-borderRadius-TreeDisplay))", "borderStartEndRadius-TreeDisplay": "var(--xmlui-borderStartEndRadius-TreeDisplay, var(--xmlui-borderRadius-TreeDisplay))", "borderEndStartRadius-TreeDisplay": "var(--xmlui-borderEndStartRadius-TreeDisplay, var(--xmlui-borderRadius-TreeDisplay))", "borderEndEndRadius-TreeDisplay": "var(--xmlui-borderEndEndRadius-TreeDisplay, var(--xmlui-borderRadius-TreeDisplay))", "backgroundColor-TreeDisplay": "var(--xmlui-backgroundColor-TreeDisplay)", "padding-TreeDisplay": "var(--xmlui-padding-TreeDisplay)", "paddingLeft-TreeDisplay": "var(--xmlui-paddingLeft-TreeDisplay)", "fontFamily-TreeDisplay": "var(--xmlui-fontFamily-TreeDisplay)", "color-TreeDisplay": "var(--xmlui-color-TreeDisplay)", "color-connect-TreeDisplay": "var(--xmlui-color-connect-TreeDisplay)"}'`,treeDisplay:"_treeDisplay_zfwya_13",content:"_content_zfwya_40",treeNode:"_treeNode_zfwya_48",treeNodeRow:"_treeNodeRow_zfwya_54",connectorArea:"_connectorArea_zfwya_61",connector:"_connector_zfwya_61",connectorLine:"_connectorLine_zfwya_72",treeNodeContent:"_treeNodeContent_zfwya_87",childrenContainer:"_childrenContainer_zfwya_94"},nc={content:"",itemHeight:20},y8=A=>{if(!A)return[];const e=A.split(`
54
- `).filter(n=>n.trim());if(e.length===0)return[];const t=[],o={};e.forEach(n=>{const i=n.length-n.trimLeft().length,l={label:n.trim(),level:i,children:[]};if(i===0){t.push(l),o[0]=t;return}let g=i-1;for(;g>=0;){if(o[g]&&o[g].length>0){o[g][o[g].length-1].children.push(l),o[i]||(o[i]=[]),o[i].push(l);return}g--}t.push(l)});const r=n=>{n.length>0&&(n[n.length-1].isLast=!0,n.forEach(a=>{a.children.length>0&&r(a.children)}))};return r(t),t},Zh=(A,e)=>A.children.length===0?e:e+A.children.reduce((t,o)=>t+Zh(o,e),0),Xh=(A,e,t,o=0,r=[])=>{const n=A.isLast,a=o===0,i=A.children.length>0,s=i?Zh(A,t):t,l=t/2;return c.jsxs("div",{className:Vt.treeNode,children:[c.jsxs("div",{className:Vt.treeNodeRow,style:{height:`${t}px`},children:[c.jsx("div",{className:Vt.connectorArea,style:{marginLeft:`${o*t}px`,width:`${t}px`,height:`${t}px`},children:c.jsxs("svg",{className:Vt.connector,width:t,height:i?s:t,viewBox:`0 0 ${t} ${i?s:t}`,style:{position:"absolute",top:0,left:0},children:[a&&c.jsx(c.Fragment,{children:c.jsx("line",{x1:l,y1:l,x2:t,y2:l,strokeWidth:"1.5",className:Vt.connectorLine})}),!a&&c.jsxs(c.Fragment,{children:[c.jsx("line",{x1:l,y1:0,x2:l,y2:n?l:t,strokeWidth:"1.5",className:Vt.connectorLine}),c.jsx("line",{x1:l,y1:l,x2:t,y2:l,strokeWidth:"1.5",className:Vt.connectorLine})]}),!n&&i&&c.jsx("line",{x1:l,y1:l,x2:l,y2:s,strokeWidth:"1.5",className:Vt.connectorLine}),r.map((g,u)=>g&&c.jsx("line",{x1:l-(o-u)*t,y1:0,x2:l-(o-u)*t,y2:s,strokeWidth:"1.5",className:Vt.connectorLine},`ancestor-${u}`))]})}),c.jsx("div",{className:Vt.treeNodeContent,style:{lineHeight:`${t}px`},children:A.label})]}),i&&c.jsx("div",{className:Vt.childrenContainer,children:A.children.map((g,u)=>{const p=[...r];for(;p.length<=o;)p.push(!1);return p[o]=u!==A.children.length-1,Xh(g,u,t,o+1,p)})})]},`${A.label}-${e}`)},AQ=d.forwardRef(function({style:e,children:t,content:o=nc.content,itemHeight:r=nc.itemHeight},n){const a=(o||(t==null?void 0:t.toString())||"").toString(),i=d.useMemo(()=>y8(a),[a]);return c.jsx("div",{className:Vt.treeDisplay,style:e,ref:n,children:c.jsx("div",{className:Vt.content,children:i.map((s,l)=>Xh(s,l,r,0,[]))})})}),vo={themeVars:`'{"border-ExpandableItem": "var(--xmlui-border-ExpandableItem)", "borderHorizontal-ExpandableItem": "var(--xmlui-borderHorizontal-ExpandableItem, var(--xmlui-border-ExpandableItem))", "borderVertical-ExpandableItem": "var(--xmlui-borderVertical-ExpandableItem, var(--xmlui-border-ExpandableItem))", "borderLeft-ExpandableItem": "var(--xmlui-borderLeft-ExpandableItem, var(--xmlui-borderHorizontal-ExpandableItem, var(--xmlui-border-ExpandableItem)))", "borderRight-ExpandableItem": "var(--xmlui-borderRight-ExpandableItem, var(--xmlui-borderHorizontal-ExpandableItem, var(--xmlui-border-ExpandableItem)))", "borderTop-ExpandableItem": "var(--xmlui-borderTop-ExpandableItem, var(--xmlui-borderVertical-ExpandableItem, var(--xmlui-border-ExpandableItem)))", "borderBottom-ExpandableItem": "var(--xmlui-borderBottom-ExpandableItem, var(--xmlui-borderVertical-ExpandableItem, var(--xmlui-border-ExpandableItem)))", "borderWidth-ExpandableItem": "var(--xmlui-borderWidth-ExpandableItem)", "borderHorizontalWidth-ExpandableItem": "var(--xmlui-borderHorizontalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem))", "borderLeftWidth-ExpandableItem": "var(--xmlui-borderLeftWidth-ExpandableItem, var(--xmlui-borderHorizontalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem)))", "borderRightWidth-ExpandableItem": "var(--xmlui-borderRightWidth-ExpandableItem, var(--xmlui-borderHorizontalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem)))", "borderVerticalWidth-ExpandableItem": "var(--xmlui-borderVerticalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem))", "borderTopWidth-ExpandableItem": "var(--xmlui-borderTopWidth-ExpandableItem, var(--xmlui-borderVerticalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem)))", "borderBottomWidth-ExpandableItem": "var(--xmlui-borderBottomWidth-ExpandableItem, var(--xmlui-borderVerticalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem)))", "borderStyle-ExpandableItem": "var(--xmlui-borderStyle-ExpandableItem)", "borderHorizontalStyle-ExpandableItem": "var(--xmlui-borderHorizontalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem))", "borderLeftStyle-ExpandableItem": "var(--xmlui-borderLeftStyle-ExpandableItem, var(--xmlui-borderHorizontalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem)))", "borderRightStyle-ExpandableItem": "var(--xmlui-borderRightStyle-ExpandableItem, var(--xmlui-borderHorizontalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem)))", "borderVerticalStyle-ExpandableItem": "var(--xmlui-borderVerticalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem))", "borderTopStyle-ExpandableItem": "var(--xmlui-borderTopStyle-ExpandableItem, var(--xmlui-borderVerticalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem)))", "borderBottomStyle-ExpandableItem": "var(--xmlui-borderBottomStyle-ExpandableItem, var(--xmlui-borderVerticalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem)))", "borderColor-ExpandableItem": "var(--xmlui-borderColor-ExpandableItem)", "borderHorizontalColor-ExpandableItem": "var(--xmlui-borderHorizontalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem))", "borderLeftColor-ExpandableItem": "var(--xmlui-borderLeftColor-ExpandableItem, var(--xmlui-borderHorizontalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem)))", "borderRightColor-ExpandableItem": "var(--xmlui-borderRightColor-ExpandableItem, var(--xmlui-borderHorizontalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem)))", "borderVerticalColor-ExpandableItem": "var(--xmlui-borderVerticalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem))", "borderTopColor-ExpandableItem": "var(--xmlui-borderTopColor-ExpandableItem, var(--xmlui-borderVerticalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem)))", "borderBottomColor-ExpandableItem": "var(--xmlui-borderBottomColor-ExpandableItem, var(--xmlui-borderVerticalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem)))", "borderStartStartRadius-ExpandableItem": "var(--xmlui-borderStartStartRadius-ExpandableItem, var(--xmlui-borderRadius-ExpandableItem))", "borderStartEndRadius-ExpandableItem": "var(--xmlui-borderStartEndRadius-ExpandableItem, var(--xmlui-borderRadius-ExpandableItem))", "borderEndStartRadius-ExpandableItem": "var(--xmlui-borderEndStartRadius-ExpandableItem, var(--xmlui-borderRadius-ExpandableItem))", "borderEndEndRadius-ExpandableItem": "var(--xmlui-borderEndEndRadius-ExpandableItem, var(--xmlui-borderRadius-ExpandableItem))", "padding-ExpandableItem": "var(--xmlui-padding-ExpandableItem)", "paddingHorizontal-ExpandableItem": "var(--xmlui-paddingHorizontal-ExpandableItem, var(--xmlui-padding-ExpandableItem))", "paddingVertical-ExpandableItem": "var(--xmlui-paddingVertical-ExpandableItem, var(--xmlui-padding-ExpandableItem))", "paddingLeft-ExpandableItem": "var(--xmlui-paddingLeft-ExpandableItem, var(--xmlui-paddingHorizontal-ExpandableItem, var(--xmlui-padding-ExpandableItem)))", "paddingRight-ExpandableItem": "var(--xmlui-paddingRight-ExpandableItem, var(--xmlui-paddingHorizontal-ExpandableItem, var(--xmlui-padding-ExpandableItem)))", "paddingTop-ExpandableItem": "var(--xmlui-paddingTop-ExpandableItem, var(--xmlui-paddingVertical-ExpandableItem, var(--xmlui-padding-ExpandableItem)))", "paddingBottom-ExpandableItem": "var(--xmlui-paddingBottom-ExpandableItem, var(--xmlui-paddingVertical-ExpandableItem, var(--xmlui-padding-ExpandableItem)))", "padding-content-ExpandableItem": "var(--xmlui-padding-content-ExpandableItem)", "paddingHorizontal-content-ExpandableItem": "var(--xmlui-paddingHorizontal-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem))", "paddingVertical-content-ExpandableItem": "var(--xmlui-paddingVertical-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem))", "paddingLeft-content-ExpandableItem": "var(--xmlui-paddingLeft-content-ExpandableItem, var(--xmlui-paddingHorizontal-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem)))", "paddingRight-content-ExpandableItem": "var(--xmlui-paddingRight-content-ExpandableItem, var(--xmlui-paddingHorizontal-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem)))", "paddingTop-content-ExpandableItem": "var(--xmlui-paddingTop-content-ExpandableItem, var(--xmlui-paddingVertical-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem)))", "paddingBottom-content-ExpandableItem": "var(--xmlui-paddingBottom-content-ExpandableItem, var(--xmlui-paddingVertical-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem)))", "backgroundColor-ExpandableItem": "var(--xmlui-backgroundColor-ExpandableItem)", "color-ExpandableItem": "var(--xmlui-color-ExpandableItem)", "color-ExpandableItem--disabled": "var(--xmlui-color-ExpandableItem--disabled)", "fontFamily-ExpandableItem": "var(--xmlui-fontFamily-ExpandableItem)", "fontSize-ExpandableItem": "var(--xmlui-fontSize-ExpandableItem)", "fontWeight-ExpandableItem": "var(--xmlui-fontWeight-ExpandableItem)", "paddingVertical-ExpandableItem-summary": "var(--xmlui-paddingVertical-ExpandableItem-summary)", "paddingHorizontal-ExpandableItem-summary": "var(--xmlui-paddingHorizontal-ExpandableItem-summary)", "gap-ExpandableItem": "var(--xmlui-gap-ExpandableItem)", "transition-ExpandableItem": "var(--xmlui-transition-ExpandableItem)"}'`,expandableItem:"_expandableItem_vpfvc_14",disabled:"_disabled_vpfvc_48",summary:"_summary_vpfvc_52",iconStart:"_iconStart_vpfvc_58",iconEnd:"_iconEnd_vpfvc_61",icon:"_icon_vpfvc_58",switch:"_switch_vpfvc_70",summaryContent:"_summaryContent_vpfvc_74",withSwitch:"_withSwitch_vpfvc_77",content:"_content_vpfvc_80"},nt={initiallyExpanded:!1,enabled:!0,iconExpanded:"chevrondown",iconCollapsed:"chevronright",iconPosition:"end",withSwitch:!1},eQ=d.forwardRef(function({summary:e,children:t,className:o,style:r,initiallyExpanded:n=nt.initiallyExpanded,enabled:a=nt.enabled,iconExpanded:i=nt.iconExpanded,iconCollapsed:s=nt.iconCollapsed,iconPosition:l=nt.iconPosition,withSwitch:g=nt.withSwitch,onExpandedChange:u,registerComponentApi:p},B){const[C,m]=d.useState(n),h=d.useCallback(()=>{if(!a)return;const S=!C;m(S),u==null||u(S)},[a,C,u]),Q=d.useCallback(()=>{!C&&a&&(m(!0),u==null||u(!0))},[a,C,u]),E=d.useCallback(()=>{C&&a&&(m(!1),u==null||u(!1))},[a,C,u]),D=d.useCallback(()=>{h()},[h]),I=d.useCallback(()=>C,[C]),w=d.useCallback(S=>{a&&(m(S),u==null||u(S))},[a,u]);d.useEffect(()=>{p==null||p({expand:Q,collapse:E,toggle:D,isExpanded:I})},[p,Q,E,D,I]);const v=d.useRef(),f=d.useRef(),M=d.useCallback(()=>{var G,b;if(!a||!g)return;const S=!C;m(S),u==null||u(S),l==="start"&&((G=v.current)!=null&&G.setValue)?v.current.setValue(S):l==="end"&&((b=f.current)!=null&&b.setValue)&&f.current.setValue(S)},[a,g,C,u,l]);return c.jsxs("div",{className:aA(vo.expandableItem,o,{[vo.open]:C,[vo.disabled]:!a,[vo.withSwitch]:g}),style:r,ref:B,children:[c.jsxs("div",{className:aA(vo.summary,{[vo.iconStart]:l==="start",[vo.iconEnd]:l==="end"}),onClick:a?g?M:h:void 0,children:[c.jsx("div",{className:g?vo.switch:vo.icon,children:g?c.jsx(Jn,{variant:"switch",value:C,enabled:a,onDidChange:w}):c.jsx(yA,{name:C?i:s,fallback:C?"chevrondown":"chevronright"})}),c.jsx("div",{className:vo.summaryContent,children:e})]}),C&&c.jsx("div",{className:vo.content,children:t})]})});var Zu={},tQ=Pn;Zu.createRoot=tQ.createRoot,Zu.hydrateRoot=tQ.hydrateRoot;const x8="SpaceFiller",oQ={status:"stable",description:"`SpaceFiller` works well in layout containers to fill remaining (unused) space. Its behavior depends on the layout container in which it is used.",themeVars:CA(sm.themeVars)},k8=$(x8,oQ,()=>c.jsx(lm,{})),qo="TextArea",H8=[{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"}],rQ={status:"stable",description:"`TextArea` 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:Bt.enterSubmits},escResets:{description:`This boolean property indicates whether the ${qo} contents should be reset when pressing the ESC key.`,valueType:"boolean",defaultValue:!1},maxRows:k(`This optional property sets the maximum number of text rows the \`${qo}\` can grow. If not set, the number of rows is unlimited.`),minRows:k(`This optional property sets the minimum number of text rows the \`${qo}\` can shrink. If not set, the minimum number of rows is 1.`),rows:{description:"Specifies the number of rows the component initially has.",valueType:"number",defaultValue:Bt.rows},autoSize:{description:`If set to \`true\`, this boolean property enables the \`${qo}\` to resize automatically based on the number of lines inside it.`,valueType:"boolean",defaultValue:!1},placeholder:zr(),initialValue:Yt(),label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(qo),labelBreak:Ao(qo),maxLength:Ti(),autoFocus:mt(),required:oo(),readOnly:eo(),enabled:Ke(),validationStatus:to(),resize:{description:"This optional property specifies in which dimensions can the `TextArea` be resized by the user.",availableValues:H8}},events:{gotFocus:Ot(qo),lostFocus:Rt(qo),didChange:ct(qo)},apis:{focus:Go(qo),value:k("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:ho()},themeVars:CA(hr.themeVars)},S8=$(qo,rQ,({node:A,extractValue:e,state:t,updateState:o,layoutCss:r,registerComponentApi:n,lookupEventHandler:a})=>{const i=e(A.props.initialValue);return c.jsx(Bh,{value:t==null?void 0:t.value,initialValue:i,updateState:o,autoFocus:e.asOptionalBoolean(A.props.autoFocus),enabled:e.asOptionalBoolean(A.props.enabled),placeholder:e(A.props.placeholder),onDidChange:a("didChange"),onFocus:a("gotFocus"),onBlur:a("lostFocus"),readOnly:e.asOptionalBoolean(A.props.readOnly),resize:A.props.resize,enterSubmits:e.asOptionalBoolean(A.props.enterSubmits),escResets:e.asOptionalBoolean(A.props.escResets),style:r,registerComponentApi:n,maxRows:e.asOptionalNumber(A.props.maxRows),minRows:e.asOptionalNumber(A.props.minRows),maxLength:e.asOptionalNumber(A.props.maxLength),rows:e.asOptionalNumber(A.props.rows),autoSize:e.asOptionalBoolean(A.props.autoSize),validationStatus:e(A.props.validationStatus),label:e(A.props.label),labelPosition:e(A.props.labelPosition),labelWidth:e(A.props.labelWidth),labelBreak:e.asOptionalBoolean(A.props.labelBreak),required:e.asOptionalBoolean(A.props.required)},`${A.uid}-${i}`)}),ye="NavLink",nQ={status:"stable",description:"`NavLink` creates interactive navigation items that connect users to different destinations within an app or external URLs. It automatically indicates active states, supports custom icons and labels, and can execute custom actions instead of navigation when needed.",props:{to:k("This property defines the URL of the link."),enabled:Ke(),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:lu.active},target:{description:"This optionally property specifies how to open the clicked link.",availableValues:Ap,type:"string"},label:Fe(),vertical:{description:`This property sets how the active status is displayed on the \`${ye}\` component. If set to true, the indicator is displayed on the side which lends itself to a vertically aligned navigation menu. By default, it displays a horizontal indicator.`,valueType:"boolean"},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:lu.displayActive},icon:k("This property allows you to add an optional icon (specify the icon's name) to the navigation link.")},events:{click:fa(ye)},themeVars:CA(Qo.themeVars),themeVarDescriptions:{[`color-indicator-${ye}`]:"Provides the following states: `--hover`, `--active`, `--pressed`"},defaultThemeVars:{[`border-${ye}`]:"0px solid $borderColor",[`borderRadius-${ye}`]:"$borderRadius",[`backgroundColor-${ye}`]:"transparent",[`paddingHorizontal-${ye}`]:"$space-4",[`paddingVertical-${ye}`]:"$space-2",[`fontSize-${ye}`]:"$fontSize-small",[`fontWeight-${ye}`]:"$fontWeight-normal",[`fontFamily-${ye}`]:"$fontFamily",[`textColor-${ye}`]:"$textColor-primary",[`fontWeight-${ye}--pressed`]:"$fontWeight-normal",[`thickness-indicator-${ye}`]:"$space-0_5",[`outlineColor-${ye}--focus`]:"$outlineColor--focus",[`outlineWidth-${ye}--focus`]:"$outlineWidth--focus",[`outlineStyle-${ye}--focus`]:"$outlineStyle--focus",[`outlineOffset-${ye}--focus`]:"-1px",[`borderRadius-indicator-${ye}`]:"$borderRadius",[`color-icon-${ye}`]:"$color-surface-500",[`color-indicator-${ye}--active`]:"$color-primary-500",[`color-indicator-${ye}--pressed`]:"$color-primary-500",[`color-indicator-${ye}--hover`]:"$color-primary-600"}},M8=$(ye,nQ,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>{var n;const r=e.asString(A.props.icon);return c.jsx(Wi,{uid:A.uid,to:e(A.props.to),disabled:!e.asOptionalBoolean(A.props.enabled??!0),vertical:e.asOptionalBoolean(A.props.vertical),displayActive:e.asOptionalBoolean(A.props.displayActive),forceActive:e.asOptionalBoolean(A.props.active),style:o,target:e((n=A.props)==null?void 0:n.target),icon:c.jsx(yA,{name:r,className:Qo.icon}),children:e.asDisplayText(A.props.label)||t(A.children)})}),Fr={wrapper:"_wrapper_1c1hh_14",rowWrapper:"_rowWrapper_1c1hh_18",selected:"_selected_1c1hh_28",gutter:"_gutter_1c1hh_42",toggleWrapper:"_toggleWrapper_1c1hh_50",hidden:"_hidden_1c1hh_59",expanded:"_expanded_1c1hh_70",depthPlaceholder:"_depthPlaceholder_1c1hh_74",labelWrapper:"_labelWrapper_1c1hh_78"};function aQ(A,e,t,o){const{children:r,uid:n}=A,a=o.includes(n);if(t.push({...A,hasChildren:!!r&&r.length>0,depth:e,isExpanded:a}),a&&r)for(let i of r)aQ(i,e+1,t,o)}function L8(A,e){const t=[];return A.forEach(o=>{aQ(o,0,t,e)}),t}const T8=d.memo(function({index:e,style:t,data:o}){const{nodes:r,toggleNode:n,selectedUid:a,itemRenderer:i}=o,s=r[e],l=d.useCallback(g=>{g.defaultPrevented||n(s)},[n,s]);return c.jsx("div",{style:{...t,width:"auto",minWidth:"100%",display:"flex"},children:c.jsxs("div",{className:aA(Fr.rowWrapper,{[Fr.selected]:a===s.key}),children:[c.jsxs("div",{onClick:l,className:Fr.gutter,children:[c.jsx("div",{style:{width:s.depth*10},className:Fr.depthPlaceholder}),c.jsx("div",{className:aA(Fr.toggleWrapper,{[Fr.expanded]:s.isExpanded,[Fr.hidden]:!s.hasChildren})})]}),c.jsx("div",{className:Fr.labelWrapper,onClick:s.selectable?void 0:l,style:{cursor:s.selectable?void 0:"pointer"},children:i(s)})]})})}),N8={treeData:[],treeItemsById:{}};function F8({data:A=N8,selectedUid:e,itemRenderer:t}){const{treeData:o,treeItemsById:r}=A,[n,a]=d.useState([]),i=d.useMemo(()=>L8(o,n),[n,o]);d.useEffect(()=>{if(e){const u=r[e];u&&a(p=>[...p,...u.parentIds])}},[e,r]);const s=d.useCallback(u=>{u.isExpanded?a(p=>p.filter(B=>B!==u.key)):a(p=>[...p,u.key])},[]),l=d.useMemo(()=>({nodes:i,toggleNode:s,selectedUid:e,itemRenderer:t}),[i,s,e,t]),g=d.useCallback((u,p)=>p.nodes[u].key,[]);return c.jsx("div",{className:Fr.wrapper,children:c.jsx(Ry,{children:({width:u,height:p})=>c.jsx(Oy.FixedSizeList,{height:p,itemCount:l.nodes.length,itemData:l,itemSize:35,itemKey:g,width:u,children:T8})})})}const iQ="Tree",sQ={status:"in progress",description:`The \`${iQ}\` 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:qA("The template for each item in the tree.")}},P8=$(iQ,sQ,({node:A,extractValue:e,renderChild:t})=>c.jsx(F8,{data:e(A.props.data),selectedUid:e(A.props.selectedUid),itemRenderer:o=>c.jsx(tt,{node:A.props.itemTemplate,item:o,renderChild:t})})),uo="TreeDisplay",G8={status:"stable",description:`The \`${uo}\` component displays hierarchical data in a tree structure. It accepts an indented text format where each line is an entry in the tree, and the number of leading spaces determines the nesting level. The component renders the tree with SVG lines and continuous vertical guides to clearly visualize parent-child relationships in the hierarchy.`,props:{content:{description:"The indented text content to display as a tree structure. Each level of indentation (using spaces) represents one level in the tree hierarchy.",valueType:"string",defaultValue:nc.content},itemHeight:{description:"The height of each tree item in pixels.",valueType:"number",defaultValue:nc.itemHeight}},themeVars:CA(Vt.themeVars),defaultThemeVars:{[`backgroundColor-${uo}`]:"$color-primary-50",[`borderRadius-${uo}`]:"8px",[`padding-${uo}`]:"$space-4",[`paddingLeft-${uo}`]:"$space-2",[`fontSize-${uo}`]:"$fontSize-code",[`fontWeight-${uo}`]:"$fontWeight-normal",[`fontFamily-${uo}`]:"$fontFamily-monospace",[`color-${uo}`]:"$textColor-primary",[`color-connect-${uo}`]:"$color-surface-200",[`boxShadow-${uo}`]:"none",[`border-${uo}`]:"0.5px solid $borderColor"}},O8=$(uo,G8,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>c.jsx(AQ,{style:o,content:e.asOptionalString(A.props.content),itemHeight:e.asOptionalNumber(A.props.itemHeight),children:t(A.children)})),Vo={themeVars:`'{"padding-HelloWorld": "var(--xmlui-padding-HelloWorld)", "paddingHorizontal-HelloWorld": "var(--xmlui-paddingHorizontal-HelloWorld, var(--xmlui-padding-HelloWorld))", "paddingVertical-HelloWorld": "var(--xmlui-paddingVertical-HelloWorld, var(--xmlui-padding-HelloWorld))", "paddingLeft-HelloWorld": "var(--xmlui-paddingLeft-HelloWorld, var(--xmlui-paddingHorizontal-HelloWorld, var(--xmlui-padding-HelloWorld)))", "paddingRight-HelloWorld": "var(--xmlui-paddingRight-HelloWorld, var(--xmlui-paddingHorizontal-HelloWorld, var(--xmlui-padding-HelloWorld)))", "paddingTop-HelloWorld": "var(--xmlui-paddingTop-HelloWorld, var(--xmlui-paddingVertical-HelloWorld, var(--xmlui-padding-HelloWorld)))", "paddingBottom-HelloWorld": "var(--xmlui-paddingBottom-HelloWorld, var(--xmlui-paddingVertical-HelloWorld, var(--xmlui-padding-HelloWorld)))", "border-HelloWorld": "var(--xmlui-border-HelloWorld)", "borderHorizontal-HelloWorld": "var(--xmlui-borderHorizontal-HelloWorld, var(--xmlui-border-HelloWorld))", "borderVertical-HelloWorld": "var(--xmlui-borderVertical-HelloWorld, var(--xmlui-border-HelloWorld))", "borderLeft-HelloWorld": "var(--xmlui-borderLeft-HelloWorld, var(--xmlui-borderHorizontal-HelloWorld, var(--xmlui-border-HelloWorld)))", "borderRight-HelloWorld": "var(--xmlui-borderRight-HelloWorld, var(--xmlui-borderHorizontal-HelloWorld, var(--xmlui-border-HelloWorld)))", "borderTop-HelloWorld": "var(--xmlui-borderTop-HelloWorld, var(--xmlui-borderVertical-HelloWorld, var(--xmlui-border-HelloWorld)))", "borderBottom-HelloWorld": "var(--xmlui-borderBottom-HelloWorld, var(--xmlui-borderVertical-HelloWorld, var(--xmlui-border-HelloWorld)))", "borderWidth-HelloWorld": "var(--xmlui-borderWidth-HelloWorld)", "borderHorizontalWidth-HelloWorld": "var(--xmlui-borderHorizontalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld))", "borderLeftWidth-HelloWorld": "var(--xmlui-borderLeftWidth-HelloWorld, var(--xmlui-borderHorizontalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld)))", "borderRightWidth-HelloWorld": "var(--xmlui-borderRightWidth-HelloWorld, var(--xmlui-borderHorizontalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld)))", "borderVerticalWidth-HelloWorld": "var(--xmlui-borderVerticalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld))", "borderTopWidth-HelloWorld": "var(--xmlui-borderTopWidth-HelloWorld, var(--xmlui-borderVerticalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld)))", "borderBottomWidth-HelloWorld": "var(--xmlui-borderBottomWidth-HelloWorld, var(--xmlui-borderVerticalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld)))", "borderStyle-HelloWorld": "var(--xmlui-borderStyle-HelloWorld)", "borderHorizontalStyle-HelloWorld": "var(--xmlui-borderHorizontalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld))", "borderLeftStyle-HelloWorld": "var(--xmlui-borderLeftStyle-HelloWorld, var(--xmlui-borderHorizontalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld)))", "borderRightStyle-HelloWorld": "var(--xmlui-borderRightStyle-HelloWorld, var(--xmlui-borderHorizontalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld)))", "borderVerticalStyle-HelloWorld": "var(--xmlui-borderVerticalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld))", "borderTopStyle-HelloWorld": "var(--xmlui-borderTopStyle-HelloWorld, var(--xmlui-borderVerticalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld)))", "borderBottomStyle-HelloWorld": "var(--xmlui-borderBottomStyle-HelloWorld, var(--xmlui-borderVerticalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld)))", "borderColor-HelloWorld": "var(--xmlui-borderColor-HelloWorld)", "borderHorizontalColor-HelloWorld": "var(--xmlui-borderHorizontalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld))", "borderLeftColor-HelloWorld": "var(--xmlui-borderLeftColor-HelloWorld, var(--xmlui-borderHorizontalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld)))", "borderRightColor-HelloWorld": "var(--xmlui-borderRightColor-HelloWorld, var(--xmlui-borderHorizontalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld)))", "borderVerticalColor-HelloWorld": "var(--xmlui-borderVerticalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld))", "borderTopColor-HelloWorld": "var(--xmlui-borderTopColor-HelloWorld, var(--xmlui-borderVerticalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld)))", "borderBottomColor-HelloWorld": "var(--xmlui-borderBottomColor-HelloWorld, var(--xmlui-borderVerticalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld)))", "borderStartStartRadius-HelloWorld": "var(--xmlui-borderStartStartRadius-HelloWorld, var(--xmlui-borderRadius-HelloWorld))", "borderStartEndRadius-HelloWorld": "var(--xmlui-borderStartEndRadius-HelloWorld, var(--xmlui-borderRadius-HelloWorld))", "borderEndStartRadius-HelloWorld": "var(--xmlui-borderEndStartRadius-HelloWorld, var(--xmlui-borderRadius-HelloWorld))", "borderEndEndRadius-HelloWorld": "var(--xmlui-borderEndEndRadius-HelloWorld, var(--xmlui-borderRadius-HelloWorld))", "textColor-HelloWorld": "var(--xmlui-textColor-HelloWorld, var(--xmlui-textColor-HelloWorld))", "fontFamily-HelloWorld": "var(--xmlui-fontFamily-HelloWorld, var(--xmlui-fontFamily-HelloWorld))", "fontSize-HelloWorld": "var(--xmlui-fontSize-HelloWorld, var(--xmlui-fontSize-HelloWorld))", "fontStyle-HelloWorld": "var(--xmlui-fontStyle-HelloWorld, var(--xmlui-fontStyle-HelloWorld))", "fontVariant-HelloWorld": "var(--xmlui-fontVariant-HelloWorld, var(--xmlui-fontVariant-HelloWorld))", "fontWeight-HelloWorld": "var(--xmlui-fontWeight-HelloWorld, var(--xmlui-fontWeight-HelloWorld))", "fontStretch-HelloWorld": "var(--xmlui-fontStretch-HelloWorld, var(--xmlui-fontStretch-HelloWorld))", "textDecorationLine-HelloWorld": "var(--xmlui-textDecorationLine-HelloWorld, var(--xmlui-textDecorationLine-HelloWorld))", "textDecorationColor-HelloWorld": "var(--xmlui-textDecorationColor-HelloWorld, var(--xmlui-textDecorationColor-HelloWorld))", "textDecorationStyle-HelloWorld": "var(--xmlui-textDecorationStyle-HelloWorld, var(--xmlui-textDecorationStyle-HelloWorld))", "textDecorationThickness-HelloWorld": "var(--xmlui-textDecorationThickness-HelloWorld, var(--xmlui-textDecorationThickness-HelloWorld))", "textUnderlineOffset-HelloWorld": "var(--xmlui-textUnderlineOffset-HelloWorld, var(--xmlui-textUnderlineOffset-HelloWorld))", "lineHeight-HelloWorld": "var(--xmlui-lineHeight-HelloWorld, var(--xmlui-lineHeight-HelloWorld))", "backgroundColor-HelloWorld": "var(--xmlui-backgroundColor-HelloWorld, var(--xmlui-backgroundColor-HelloWorld))", "textTransform-HelloWorld": "var(--xmlui-textTransform-HelloWorld, var(--xmlui-textTransform-HelloWorld))", "letterSpacing-HelloWorld": "var(--xmlui-letterSpacing-HelloWorld, var(--xmlui-letterSpacing-HelloWorld))", "wordSpacing-HelloWorld": "var(--xmlui-wordSpacing-HelloWorld, var(--xmlui-wordSpacing-HelloWorld))", "textShadow-HelloWorld": "var(--xmlui-textShadow-HelloWorld, var(--xmlui-textShadow-HelloWorld))", "textIndent-HelloWorld": "var(--xmlui-textIndent-HelloWorld, var(--xmlui-textIndent-HelloWorld))", "textAlign-HelloWorld": "var(--xmlui-textAlign-HelloWorld, var(--xmlui-textAlign-HelloWorld))", "textAlignLast-HelloWorld": "var(--xmlui-textAlignLast-HelloWorld, var(--xmlui-textAlignLast-HelloWorld))", "wordBreak-HelloWorld": "var(--xmlui-wordBreak-HelloWorld, var(--xmlui-wordBreak-HelloWorld))", "wordWrap-HelloWorld": "var(--xmlui-wordWrap-HelloWorld, var(--xmlui-wordWrap-HelloWorld))", "direction-HelloWorld": "var(--xmlui-direction-HelloWorld, var(--xmlui-direction-HelloWorld))", "writingMode-HelloWorld": "var(--xmlui-writingMode-HelloWorld, var(--xmlui-writingMode-HelloWorld))", "lineBreak-HelloWorld": "var(--xmlui-lineBreak-HelloWorld, var(--xmlui-lineBreak-HelloWorld))", "borderRadius-HelloWorld": "var(--xmlui-borderRadius-HelloWorld)", "maxWidth-HelloWorld": "var(--xmlui-maxWidth-HelloWorld)", "textAlign-HelloWorld-content": "var(--xmlui-textAlign-HelloWorld-content)", "marginBottom-HelloWorld-message": "var(--xmlui-marginBottom-HelloWorld-message)", "fontSize-HelloWorld-message": "var(--xmlui-fontSize-HelloWorld-message)", "fontWeight-HelloWorld-message": "var(--xmlui-fontWeight-HelloWorld-message)", "margin-HelloWorld-children": "var(--xmlui-margin-HelloWorld-children)", "padding-HelloWorld-children": "var(--xmlui-padding-HelloWorld-children)", "backgroundColor-HelloWorld-children": "var(--xmlui-backgroundColor-HelloWorld-children)", "borderRadius-HelloWorld-children": "var(--xmlui-borderRadius-HelloWorld-children)", "fontStyle-HelloWorld-children": "var(--xmlui-fontStyle-HelloWorld-children)", "gap-HelloWorld-interactive": "var(--xmlui-gap-HelloWorld-interactive)", "backgroundColor-HelloWorld-clickButton": "var(--xmlui-backgroundColor-HelloWorld-clickButton)", "textColor-HelloWorld-clickButton": "var(--xmlui-textColor-HelloWorld-clickButton)", "border-HelloWorld-clickButton": "var(--xmlui-border-HelloWorld-clickButton)", "borderRadius-HelloWorld-clickButton": "var(--xmlui-borderRadius-HelloWorld-clickButton)", "padding-HelloWorld-clickButton": "var(--xmlui-padding-HelloWorld-clickButton)", "fontSize-HelloWorld-clickButton": "var(--xmlui-fontSize-HelloWorld-clickButton)", "fontWeight-HelloWorld-clickButton": "var(--xmlui-fontWeight-HelloWorld-clickButton)", "transition-HelloWorld-clickButton": "var(--xmlui-transition-HelloWorld-clickButton)", "backgroundColor-HelloWorld-clickButton--hover": "var(--xmlui-backgroundColor-HelloWorld-clickButton--hover)", "transform-HelloWorld-clickButton--active": "var(--xmlui-transform-HelloWorld-clickButton--active)", "fontSize-HelloWorld-counter": "var(--xmlui-fontSize-HelloWorld-counter)", "fontWeight-HelloWorld-counter": "var(--xmlui-fontWeight-HelloWorld-counter)", "backgroundColor-HelloWorld-count": "var(--xmlui-backgroundColor-HelloWorld-count)", "textColor-HelloWorld-count": "var(--xmlui-textColor-HelloWorld-count)", "padding-HelloWorld-count": "var(--xmlui-padding-HelloWorld-count)", "borderRadius-HelloWorld-count": "var(--xmlui-borderRadius-HelloWorld-count)", "fontWeight-HelloWorld-count": "var(--xmlui-fontWeight-HelloWorld-count)", "minWidth-HelloWorld-count": "var(--xmlui-minWidth-HelloWorld-count)", "backgroundColor-HelloWorld-resetButton": "var(--xmlui-backgroundColor-HelloWorld-resetButton)", "textColor-HelloWorld-resetButton": "var(--xmlui-textColor-HelloWorld-resetButton)", "border-HelloWorld-resetButton": "var(--xmlui-border-HelloWorld-resetButton)", "borderRadius-HelloWorld-resetButton": "var(--xmlui-borderRadius-HelloWorld-resetButton)", "padding-HelloWorld-resetButton": "var(--xmlui-padding-HelloWorld-resetButton)", "fontSize-HelloWorld-resetButton": "var(--xmlui-fontSize-HelloWorld-resetButton)", "transition-HelloWorld-resetButton": "var(--xmlui-transition-HelloWorld-resetButton)", "backgroundColor-HelloWorld-resetButton--hover": "var(--xmlui-backgroundColor-HelloWorld-resetButton--hover)"}'`,helloWorld:"_helloWorld_1hfvu_13",content:"_content_1hfvu_68",message:"_message_1hfvu_72",children:"_children_1hfvu_78",interactive:"_interactive_1hfvu_86",clickButton:"_clickButton_1hfvu_93",counter:"_counter_1hfvu_111",count:"_count_1hfvu_111",resetButton:"_resetButton_1hfvu_127"},Xu={message:"Hello, World!",theme:"default"},R8=d.forwardRef(function({id:e,message:t=Xu.message,theme:o=Xu.theme,children:r,style:n,className:a,onClick:i,onReset:s,registerComponentApi:l,updateState:g,...u},p){const[B,C]=d.useState(0),m=PA(E=>{C(E),g==null||g({value:E})});d.useEffect(()=>{g==null||g({value:B})},[g,B]),d.useEffect(()=>{l==null||l({setValue:m})},[l,m]);const h=E=>{const D=B+1;C(D),g==null||g({value:D}),i==null||i(E)},Q=E=>{C(0),g==null||g({value:0}),s==null||s(E)};return c.jsx("div",{...u,id:e,ref:p,className:aA(a,Vo.helloWorld,{[Vo.success]:o==="success"}),style:n,children:c.jsxs("div",{className:Vo.content,children:[c.jsx("h3",{className:Vo.message,children:t}),r&&c.jsx("div",{className:Vo.children,children:r}),c.jsxs("div",{className:Vo.interactive,children:[c.jsx("button",{className:Vo.clickButton,onClick:h,children:"Click me!"}),c.jsxs("div",{className:Vo.counter,children:["Clicks: ",c.jsx("span",{className:Vo.count,children:B})]}),B>0&&c.jsx("button",{className:Vo.resetButton,onClick:Q,children:"Reset"})]})]})})}),RA="HelloWorld",U8={status:"experimental",description:"`HelloWorld` is a demonstration component that shows basic XMLUI patterns. It displays a customizable greeting message with an interactive click counter.",props:{id:{description:"The unique identifier for the component.",type:"string"},message:{description:"The greeting message to display.",type:"string",defaultValue:Xu.message}},events:{onClick:{description:"Triggered when the click button is pressed. Receives the current click count.",type:"function"},onReset:{description:"Triggered when the reset button is pressed. Called when count is reset to 0.",type:"function"}},apis:{value:ba(),setValue:ho()},themeVars:CA(Vo.themeVars),defaultThemeVars:{[`backgroundColor-${RA}`]:"$color-surface-50",[`borderColor-${RA}`]:"$color-surface-200",[`borderWidth-${RA}`]:"$space-2",[`borderStyle-${RA}`]:"solid",[`borderRadius-${RA}`]:"$borderRadius",[`padding-${RA}`]:"$space-4",[`textColor-${RA}`]:"$color-primary",[`maxWidth-${RA}`]:"400px",[`textAlign-${RA}-content`]:"center",[`marginBottom-${RA}-message`]:"$space-4",[`fontSize-${RA}-message`]:"$fontSize-lg",[`fontWeight-${RA}-message`]:"$fontWeight-semibold",[`margin-${RA}-children`]:"$space-4 0",[`padding-${RA}-children`]:"$space-3",[`backgroundColor-${RA}-children`]:"$color-surface-100",[`borderRadius-${RA}-children`]:"$borderRadius-sm",[`fontStyle-${RA}-children`]:"italic",[`gap-${RA}-interactive`]:"$space-3",[`backgroundColor-${RA}-clickButton`]:"$color-primary-500",[`textColor-${RA}-clickButton`]:"white",[`border-${RA}-clickButton`]:"none",[`borderRadius-${RA}-clickButton`]:"$borderRadius",[`padding-${RA}-clickButton`]:"$space-3 $space-6",[`fontSize-${RA}-clickButton`]:"$fontSize-base",[`fontWeight-${RA}-clickButton`]:"$fontWeight-medium",[`transition-${RA}-clickButton`]:"background-color 0.2s ease",[`backgroundColor-${RA}-clickButton--hover`]:"$color-primary-600",[`transform-${RA}-clickButton--active`]:"translateY(1px)",[`fontSize-${RA}-counter`]:"$fontSize-lg",[`fontWeight-${RA}-counter`]:"$fontWeight-medium",[`backgroundColor-${RA}-count`]:"$color-primary-100",[`textColor-${RA}-count`]:"$color-primary-700",[`padding-${RA}-count`]:"$space-1 $space-2",[`borderRadius-${RA}-count`]:"$borderRadius-sm",[`fontWeight-${RA}-count`]:"$fontWeight-bold",[`minWidth-${RA}-count`]:"24px",[`backgroundColor-${RA}-resetButton`]:"$color-surface-400",[`textColor-${RA}-resetButton`]:"white",[`border-${RA}-resetButton`]:"none",[`borderRadius-${RA}-resetButton`]:"$borderRadius-sm",[`padding-${RA}-resetButton`]:"$space-2 $space-4",[`fontSize-${RA}-resetButton`]:"$fontSize-sm",[`transition-${RA}-resetButton`]:"background-color 0.2s ease",[`backgroundColor-${RA}-resetButton--hover`]:"$color-surface-500"}},K8=$(RA,U8,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r,registerComponentApi:n,updateState:a})=>c.jsx(R8,{id:e.asOptionalString(A.props.id),message:e.asOptionalString(A.props.message),onClick:r("onClick"),onReset:r("onReset"),registerComponentApi:n,updateState:a,style:o,children:t(A.children)})),fA="Text",lQ={status:"stable",description:`The \`${fA}\` component displays textual information in a number of optional styles and variants.`,props:{value:k(`The text to be displayed. This value can also be set via nesting the text into the \`${fA}\` 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:gx},maxLines:k("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:Rn.preserveLinebreaks},ellipses:{description:"This property indicates whether ellipses should be displayed when the text is cropped (`true`) or not (`false`).",valueType:"boolean",defaultValue:Rn.ellipses}},themeVars:CA(Ha.themeVars),defaultThemeVars:{[`borderRadius-${fA}`]:"$borderRadius",[`borderStyle-${fA}`]:"solid",[`fontSize-${fA}`]:"$fontSize-small",[`borderWidth-${fA}`]:"$space-0",[`lineHeight-${fA}-codefence`]:"1.5",[`fontWeight-${fA}-abbr`]:"$fontWeight-bold",[`textTransform-${fA}-abbr`]:"uppercase",[`fontSize-${fA}-secondary`]:"$fontSize-small",[`fontStyle-${fA}-cite`]:"italic",[`textColor-${fA}`]:"$textColor-primary",[`fontFamily-${fA}`]:"$fontFamily",[`fontWeight-${fA}`]:"$fontWeight-normal",[`fontSize-${fA}-codefence`]:"$fontSize-code",[`fontFamily-${fA}-code`]:"$fontFamily-monospace",[`fontSize-${fA}-code`]:"$fontSize-small",[`borderWidth-${fA}-code`]:"1px",[`borderStyle-${fA}-code`]:"solid",[`borderRadius-${fA}-code`]:"4px",[`paddingHorizontal-${fA}-code`]:"$space-0_5",[`paddingBottom-${fA}-code`]:"2px",[`textDecorationLine-${fA}-deleted`]:"line-through",[`textDecorationLine-${fA}-inserted`]:"underline",[`fontFamily-${fA}-keyboard`]:"$fontFamily-monospace",[`fontSize-${fA}-keyboard`]:"$fontSize-small",[`fontWeight-${fA}-keyboard`]:"$fontWeight-bold",[`borderWidth-${fA}-keyboard`]:"1px",[`paddingHorizontal-${fA}-keyboard`]:"$space-1",[`fontFamily-${fA}-sample`]:"$fontFamily-monospace",[`fontSize-${fA}-sample`]:"$fontSize-small",[`fontSize-${fA}-sup`]:"$fontSize-smaller",[`verticalAlignment-${fA}-sup`]:"super",[`fontSize-${fA}-sub`]:"$fontSize-smaller",[`verticalAlignment-${fA}-sub`]:"sub",[`fontStyle-${fA}-var`]:"italic",[`fontStyle-${fA}-em`]:"italic",[`fontFamily-${fA}-mono`]:"$fontFamily-monospace",[`fontSize-${fA}-title`]:"$fontSize-large",[`fontSize-${fA}-subtitle`]:"$fontSize-medium",[`fontSize-${fA}-small`]:"$fontSize-small",[`lineHeight-${fA}-small`]:"$lineHeight-tight",[`letterSpacing-${fA}-caption`]:"0.05rem",[`fontSize-${fA}-placeholder`]:"$fontSize-smaller",[`fontFamily-${fA}-codefence`]:"$fontFamily-monospace",[`paddingHorizontal-${fA}-codefence`]:"$space-4",[`paddingVertical-${fA}-codefence`]:"$space-3",[`paddingVertical-${fA}-paragraph`]:"$space-1",[`fontSize-${fA}-subheading`]:"$fontSize-H6",[`fontWeight-${fA}-subheading`]:"$fontWeight-bold",[`letterSpacing-${fA}-subheading`]:"0.04em",[`textTransform-${fA}-subheading`]:"uppercase",[`marginTop-${fA}-tableheading`]:"$space-1",[`marginBottom-${fA}-tableheading`]:"$space-4",[`paddingHorizontal-${fA}-tableheading`]:"$space-1",[`fontSize-${fA}-tableheading`]:"$fontSize-H6",[`fontWeight-${fA}-tableheading`]:"$fontWeight-bold",[`marginTop-${fA}-markdown`]:"$space-3",[`marginBottom-${fA}-markdown`]:"$space-6",[`fontSize-${fA}-markdown`]:`fontSize-${fA}`,[`fontWeight-${fA}-markdown`]:`fontWeight-${fA}`,[`backgroundColor-${fA}-code`]:"rgb(from $color-surface-100 r g b / 0.4)",[`borderColor-${fA}-code`]:"$color-surface-100",[`backgroundColor-${fA}-keyboard`]:"rgb(from $color-surface-100 r g b / 0.4)",[`borderColor-${fA}-keyboard`]:"$color-surface-300",[`backgroundColor-${fA}-marked`]:"rgb(from $color-primary-200 r g b / 0.4)",[`color-${fA}-placeholder`]:"$color-surface-500",[`color-${fA}-codefence`]:"$color-surface-900",[`color-${fA}-subheading`]:"$textColor-secondary",[`color-${fA}-secondary`]:"$textColor-secondary",dark:{[`backgroundColor-${fA}-marked`]:"rgb(from $color-primary-400 r g b / 0.4)"}}},Y8=$(fA,lQ,({node:A,extractValue:e,layoutCss:t,renderChild:o})=>{const{variant:r,maxLines:n,preserveLinebreaks:a,ellipses:i,value:s,...l}=A.props,g=Object.fromEntries(Object.entries(l).filter(([u,p])=>Bx.includes(u)).map(([u,p])=>[u,e(p)]));return c.jsx(ZA,{variant:e(r),maxLines:e.asOptionalNumber(n),style:t,preserveLinebreaks:e.asOptionalBoolean(a,Rn.preserveLinebreaks),ellipses:e.asOptionalBoolean(i,Rn.ellipses),...g,children:e.asDisplayText(s)||o(A.children)})}),j8="Fragment",cQ={status:"stable",description:"`Fragment` provides conditional rendering. You can use `when=` on any component to render it conditionally, use `Fragment` to apply `when` to a group of components.",opaque:!0,props:{}},_8=$(j8,cQ,({node:A,extractValue:e,renderChild:t,layoutContext:o})=>c.jsx(d.Fragment,{children:t(A.children,o)},e(A.uid))),ie={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_1ljuz_13",noScroll:"_noScroll_1ljuz_19",headerWrapper:"_headerWrapper_1ljuz_23",tableBody:"_tableBody_1ljuz_23",clickableHeader:"_clickableHeader_1ljuz_29",headerContent:"_headerContent_1ljuz_43",headerRow:"_headerRow_1ljuz_77",columnCell:"_columnCell_1ljuz_82",cell:"_cell_1ljuz_82",table:"_table_1ljuz_23",row:"_row_1ljuz_95",checkBoxWrapper:"_checkBoxWrapper_1ljuz_101",showInHeader:"_showInHeader_1ljuz_105",selected:"_selected_1ljuz_108",allSelected:"_allSelected_1ljuz_108",cellContent:"_cellContent_1ljuz_129",focused:"_focused_1ljuz_154",disabled:"_disabled_1ljuz_166",noBottomBorder:"_noBottomBorder_1ljuz_170",noRows:"_noRows_1ljuz_199",pagination:"_pagination_1ljuz_205",paginationLabel:"_paginationLabel_1ljuz_221",paginationSelect:"_paginationSelect_1ljuz_226",paginationButtons:"_paginationButtons_1ljuz_232",loadingWrapper:"_loadingWrapper_1ljuz_244",resizer:"_resizer_1ljuz_259",isResizing:"_isResizing_1ljuz_281"},Ad=d.createContext({registerColumn:(A,e)=>{},unRegisterColumn:A=>{}});function W8(){return d.useContext(Ad)}const ed={idKey:"id",selectedItems:Ae},J8={value:Ae},$8=({children:A})=>{const[e,t]=d.useState(J8);return c.jsx(gQ,{updateState:t,selectedItems:e.value,children:A})},gQ=({updateState:A=hA.noop,idKey:e=ed.idKey,children:t,selectedItems:o=ed.selectedItems,registerComponentApi:r=hA.noop})=>{const[n,a]=d.useState(o),i=d.useRef(!1),s=PA((p=Ae)=>{const B=p||Ae,C=o||Ae;a(B);let m=B.filter(h=>!!C.find(Q=>Q&&h&&Q[e]===h[e]));(!hA.isEqual(C,m)||!i.current)&&(i.current=!0,A({value:m}))}),l=PA(p=>{A({value:(n||Ae).filter(C=>p.includes(C[e]))})}),g=PA(()=>{l(Ae)});d.useLayoutEffect(()=>{r({clearSelection:g,setSelectedRowIds:l,refreshSelection:s})},[g,l,r,s]);const u=d.useMemo(()=>({selectedItems:o,setSelectedRowIds:l,refreshSelection:s,idKey:e}),[s,o,l,e]);return c.jsx(uQ.Provider,{value:u,children:t})},uQ=d.createContext(null);function dQ(){return d.useContext(uQ)}function z8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12.01",y2:"16"}}]})(A)}function q8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"}}]})(A)}function V8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"}}]})(A)}function Z8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"}}]})(A)}function BQ(A){return mA({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"}}]})(A)}function pQ(A){return mA({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"}}]})(A)}function X8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"}}]})(A)}function AM(A){return mA({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"}}]})(A)}function eM(A){return mA({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"}}]})(A)}function tM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}},{tag:"rect",attr:{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}}]})(A)}function oM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"7 10 12 15 17 10"}},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"}}]})(A)}function rM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"}}]})(A)}function CQ(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"7",height:"7"}},{tag:"rect",attr:{x:"14",y:"3",width:"7",height:"7"}},{tag:"rect",attr:{x:"14",y:"14",width:"7",height:"7"}},{tag:"rect",attr:{x:"3",y:"14",width:"7",height:"7"}}]})(A)}function nM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"22",y1:"12",x2:"2",y2:"12"}},{tag:"path",attr:{d:"M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"}},{tag:"line",attr:{x1:"6",y1:"16",x2:"6.01",y2:"16"}},{tag:"line",attr:{x1:"10",y1:"16",x2:"10.01",y2:"16"}}]})(A)}function aM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"path",attr:{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"}}]})(A)}function iM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}},{tag:"polyline",attr:{points:"9 22 9 12 15 12 15 22"}}]})(A)}function sM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"}}]})(A)}function mQ(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"8",y1:"6",x2:"21",y2:"6"}},{tag:"line",attr:{x1:"8",y1:"12",x2:"21",y2:"12"}},{tag:"line",attr:{x1:"8",y1:"18",x2:"21",y2:"18"}},{tag:"line",attr:{x1:"3",y1:"6",x2:"3.01",y2:"6"}},{tag:"line",attr:{x1:"3",y1:"12",x2:"3.01",y2:"12"}},{tag:"line",attr:{x1:"3",y1:"18",x2:"3.01",y2:"18"}}]})(A)}function lM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M7 11V7a5 5 0 0 1 10 0v4"}}]})(A)}function cM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"1"}},{tag:"circle",attr:{cx:"19",cy:"12",r:"1"}},{tag:"circle",attr:{cx:"5",cy:"12",r:"1"}}]})(A)}function gM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"}}]})(A)}function uM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"1 4 1 10 7 10"}},{tag:"polyline",attr:{points:"23 20 23 14 17 14"}},{tag:"path",attr:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}}]})(A)}function dM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"}},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}}]})(A)}function BM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"4.93",y1:"4.93",x2:"19.07",y2:"19.07"}}]})(A)}function pM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"}}]})(A)}function CM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"17 8 12 3 7 8"}},{tag:"line",attr:{x1:"12",y1:"3",x2:"12",y2:"15"}}]})(A)}function mM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"8.5",cy:"7",r:"4"}},{tag:"line",attr:{x1:"23",y1:"11",x2:"17",y2:"11"}}]})(A)}function hM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"8.5",cy:"7",r:"4"}},{tag:"line",attr:{x1:"20",y1:"8",x2:"20",y2:"14"}},{tag:"line",attr:{x1:"23",y1:"11",x2:"17",y2:"11"}}]})(A)}function hQ(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"12",cy:"7",r:"4"}}]})(A)}function QM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"9",cy:"7",r:"4"}},{tag:"path",attr:{d:"M23 21v-2a4 4 0 0 0-3-3.87"}},{tag:"path",attr:{d:"M16 3.13a4 4 0 0 1 0 7.75"}}]})(A)}function EM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"}},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"}}]})(A)}function IM({items:A=Ae,visibleItems:e=A,rowsSelectable:t,enableMultiRowSelection:o,rowDisabledPredicate:r,onSelectionDidChange:n}){const[a,i]=d.useState(-1),[s,l]=d.useState(null),{selectedItems:g,setSelectedRowIds:u,refreshSelection:p,idKey:B}=dQ(),C=d.useMemo(()=>e.map(b=>b[B]),[B,e]);d.useEffect(()=>{p(t?A:Ae)},[p,A,t]);const m=Sr(o);d.useEffect(()=>{m&&!o&&g.length>1&&u([g[0][B]])},[o,B,m,g,u]),d.useEffect(()=>{t&&a!==-1&&!C[a]&&C[0]&&i(0)},[a,t,i,C]);const h=PA((b,x={})=>{if(!t)return;const L=C[b],{shiftKey:T,metaKey:H,ctrlKey:_}=x,j=!o||!T&&!H&&!_;let O,U=[...g.map(J=>J[B])];if(j)O={from:L,to:L},U=[L];else if(T){let J,V,Z,R;if(s){let z=C.indexOf(s.from),AA=C.indexOf(s.to),eA=Math.min(z,AA),cA=Math.max(z,AA);const wA=C.slice(eA,cA+1);U=U.filter(Y=>!wA.includes(Y)),Z=s.from,R=L;let uA=C.indexOf(Z),bA=C.indexOf(R);J=Math.min(uA,bA),V=Math.max(uA,bA)}else Z=L,R=L,J=b,V=b;const K=C.slice(J,V+1);U=hA.union(U,K),O={from:Z,to:R}}else O={from:L,to:L},H||_?U.includes(L)?U=U.filter(J=>J!==L):U.push(L):U=[L];i(b),u(hA.uniq(U)),l(O)}),Q=PA((b,x)=>{if(!t)return;const L=C.indexOf(b[B]);h(L,x)}),E=PA(b=>{if(t){if(b.key==="ArrowDown"){b.preventDefault();let x=Math.min(e.length-1,a+1);a!==e.length-1&&h(x,b)}if(b.key==="PageDown"){b.preventDefault();const x=Math.min(e.length-1,a+8);h(x,b)}if(b.key==="ArrowUp"){b.preventDefault();let x=Math.max(0,a-1);a>=0&&h(x,b)}if(b.key==="PageUp"){b.preventDefault();const x=Math.max(0,a-8);h(x,b)}}});d.useEffect(()=>{n==null||n(g)},[g,n]);const D=PA(b=>{t&&(!o&&b||u(b?A.filter(x=>r?!r(x):!0).map(x=>x[B]):[]))}),I=d.useMemo(()=>{let b={};return g.forEach(x=>{b[x[B]]=!0}),b},[B,g]),w=d.useCallback(()=>g,[g]),v=d.useCallback(()=>g.map(b=>b[B]),[B,g]),f=d.useCallback(()=>{D(!1)},[D]),M=d.useCallback(()=>{D(!0)},[D]),S=d.useCallback(b=>{if(!t)return;let x=Array.isArray(b)?b:[b];x.length>1&&!o&&(x=[x[0]]),u(x)},[o,t,u]),G=d.useMemo(()=>({getSelectedItems:w,getSelectedIds:v,clearSelection:f,selectAll:M,selectId:S}),[f,v,w,M,S]);return{onKeyDown:E,focusedIndex:a,toggleRowIndex:h,toggleRow:Q,checkAllRows:D,selectedRowIdMap:I,selectedItems:g,idKey:B,selectionApi:G}}function wM(A){return!1}const fM=42,QQ=A=>{const e=A.getIsPinned();return{left:e==="left"?`${A.getStart("left")}px`:void 0,right:e==="right"?`${A.getAfter("right")}px`:void 0,opacity:e?.95:void 0,position:e?"sticky":"relative",backgroundColor:e?"inherit":void 0,zIndex:e?1:void 0}},bM=d.forwardRef(({data:A=Qt.data,columns:e=Qt.columns,isPaginated:t=Qt.isPaginated,loading:o=Qt.loading,headerHeight:r,rowsSelectable:n=Qt.rowsSelectable,enableMultiRowSelection:a=Qt.enableMultiRowSelection,pageSizes:i=Qt.pageSizes,rowDisabledPredicate:s=wM,sortBy:l,sortingDirection:g=Qt.sortingDirection,iconSortAsc:u,iconSortDesc:p,iconNoSort:B,sortingDidChange:C,willSort:m,style:h,noDataRenderer:Q,autoFocus:E=Qt.autoFocus,hideHeader:D=Qt.hideHeader,hideNoDataView:I=Qt.hideNoDataView,alwaysShowSelectionHeader:w=Qt.alwaysShowSelectionHeader,registerComponentApi:v,onSelectionDidChange:f,noBottomBorder:M=Qt.noBottomBorder},S)=>{var Dg,vg,Di,$A;const{getThemeVar:G}=le(),b=Array.isArray(A)?A:Ae,x=d.useRef(null),L=S?Dt(x,S):x,T=d.useRef(null),H=d.useRef(null),_=l!==void 0,j=d.useMemo(()=>e||(b.length?Object.keys(b[0]).map(kA=>({header:kA,accessorKey:kA})):Ae),[e,b]);d.useEffect(()=>{E&&x.current.focus()},[E]);const[O,U]=d.useState(Ae),{toggleRow:J,checkAllRows:V,focusedIndex:Z,onKeyDown:R,selectedRowIdMap:K,idKey:z,selectionApi:AA}=IM({items:b,visibleItems:O,rowsSelectable:n,enableMultiRowSelection:a,rowDisabledPredicate:s,onSelectionDidChange:f}),eA=d.useMemo(()=>b.map((kA,jA)=>({...kA,order:jA+1})),[b]),[cA,wA]=d.useState(l),[uA,bA]=d.useState(g);d.useLayoutEffect(()=>{wA(l)},[l]),d.useLayoutEffect(()=>{bA(g)},[g]);const Y=d.useMemo(()=>!cA||_?eA:hA.orderBy(eA,cA,uA==="ascending"?"asc":"desc"),[cA,uA,eA,_]),F=d.useCallback(async kA=>{let jA="ascending",GA=kA;cA===kA&&(uA==="ascending"?jA="descending":GA=void 0),await(m==null?void 0:m(GA,jA))!==!1&&(bA(jA),wA(GA),C==null||C(GA,jA))},[cA,m,C,uA]),P=d.useMemo(()=>j.map((kA,jA)=>{const{width:GA,starSizedWidth:zA}=To(kA.width,!0,"width"),{width:er}=To(kA.minWidth,!1,"minWidth"),{width:Ge}=To(kA.maxWidth,!1,"maxWidth");return{...kA,header:kA.header??kA.accessorKey??" ",id:"col_"+jA,size:GA,minSize:er,maxSize:Ge,enableResizing:kA.canResize,enableSorting:kA.canSort&&!!kA.accessorKey,enablePinning:kA.pinTo!==void 0,meta:{starSizedWidth:zA,pinTo:kA.pinTo,style:kA.style,accessorKey:kA.accessorKey,cellRenderer:kA.cellRenderer}};function To(Co,vi,Fn){let Rs,yg;const Qa=Xg(Co)?G(Co):Co;if(typeof Qa=="number")yg=Qa;else if(typeof Qa=="string"){const vj=Qa.match(/^\s*\*\s*$/);if(vi&&vj)Rs="1*";else{const fy=Qa.match(/^\s*(\d+)\s*\*\s*$/);if(vi&&fy)Rs=fy[1]+"*";else{const by=Qa.match(/^\s*(\d+)\s*(px)?\s*$/);if(by)yg=Number(by[1]);else throw new Error(`Invalid TableColumnDef '${Fn}' value: ${Qa}`)}}}return yg===void 0&&Rs===void 0&&vi&&(Rs="1*"),{width:yg,starSizedWidth:Rs}}}),[G,j]),q=d.useMemo(()=>n?[{id:"select",size:fM,enableResizing:!1,enablePinning:!0,meta:{pinTo:"left"},header:({table:jA})=>a?c.jsx(Jn,{className:aA(ie.checkBoxWrapper,{[ie.showInHeader]:w}),value:jA.getIsAllRowsSelected(),indeterminate:jA.getIsSomeRowsSelected(),onDidChange:()=>{const GA=jA.getRowModel().rows.every(zA=>s(zA.original)||zA.getIsSelected());V(!GA)}}):null,cell:({row:jA})=>c.jsx(Jn,{className:ie.checkBoxWrapper,value:jA.getIsSelected(),indeterminate:jA.getIsSomeSelected(),onDidChange:()=>{J(jA.original,{metaKey:!0})}})},...P]:P,[n,P,a,w,V,J]),[X,iA]=d.useState({pageSize:t?i[0]:Number.MAX_VALUE,pageIndex:0}),sA=Sr(t);d.useEffect(()=>{!sA&&t&&iA(kA=>({...kA,pageSize:i[0]})),sA&&!t&&iA(kA=>({pageIndex:0,pageSize:Number.MAX_VALUE}))},[t,i,sA]);const[EA,QA]=d.useState({}),dA=d.useMemo(()=>{const kA=[],jA=[];return q.forEach(GA=>{var zA,er;((zA=GA.meta)==null?void 0:zA.pinTo)==="right"&&jA.push(GA.id),((er=GA.meta)==null?void 0:er.pinTo)==="left"&&kA.push(GA.id)}),{left:kA,right:jA}},[q]),rA=Si.useReactTable({columns:q,data:Y,getCoreRowModel:Si.getCoreRowModel(),getPaginationRowModel:t?Si.getPaginationRowModel():void 0,enableRowSelection:n,enableMultiRowSelection:a,columnResizeMode:"onChange",getRowId:d.useCallback(kA=>kA[z]+"",[z]),state:d.useMemo(()=>({pagination:X,rowSelection:K,columnSizing:EA,columnPinning:dA}),[dA,EA,X,K]),onColumnSizingChange:QA,onPaginationChange:iA}),DA=rA.getRowModel().rows;d.useEffect(()=>{U(DA.map(kA=>kA.original))},[DA]);const IA=d.useContext(nr),KA=IA&&(h==null?void 0:h.maxHeight)===void 0&&(h==null?void 0:h.height)===void 0&&(h==null?void 0:h.flex)===void 0,JA=mp(KA,x,IA),FA=Uy.useVirtualizer({count:DA.length,getScrollElement:d.useCallback(()=>KA&&(IA!=null&&IA.current)?IA==null?void 0:IA.current:x.current,[IA,KA]),scrollMargin:JA,estimateSize:d.useCallback(()=>H.current||30,[]),overscan:5}),MA=FA.getVirtualItems().length>0&&((vg=(Dg=FA.getVirtualItems())==null?void 0:Dg[0])==null?void 0:vg.start)-JA||0,pe=FA.getVirtualItems().length>0?FA.getTotalSize()-((($A=(Di=FA.getVirtualItems())==null?void 0:Di[FA.getVirtualItems().length-1])==null?void 0:$A.end)-JA||0):0,ne=b.length!==0,Nn=d.useRef({}),ha=d.useCallback(kA=>{Nn.current[kA]=!0},[]),Wr=PA(()=>{if(!T.current)return;let kA=T.current.clientWidth-1;const jA={},GA=[],zA={};rA.getAllColumns().forEach(Ge=>{var Jr,To;if(Ge.columnDef.size!==void 0||Nn.current[Ge.id])kA-=EA[Ge.id]||Ge.columnDef.size||0;else{GA.push(Ge);let Co;(Jr=Ge.columnDef.meta)!=null&&Jr.starSizedWidth?Co=Number((To=Ge.columnDef.meta)==null?void 0:To.starSizedWidth.replace("*","").trim())||1:Co=1,zA[Ge.id]=Co}});const er=Object.values(zA).reduce((Ge,Jr)=>Ge+Jr,0);GA.forEach(Ge=>{jA[Ge.id]=Math.floor(kA*(zA[Ge.id]/er))}),Pn.flushSync(()=>{QA(Ge=>({...Ge,...jA}))})});return tl(T,Wr),De(()=>{queueMicrotask(()=>{Wr()})},[Wr,j]),De(()=>{v(AA)},[v,AA]),c.jsxs("div",{className:aA(ie.wrapper,{[ie.noScroll]:KA}),tabIndex:-1,onKeyDown:R,ref:L,style:h,children:[c.jsxs("table",{className:ie.table,ref:T,style:{borderRight:"1px solid transparent"},children:[!D&&c.jsx("thead",{style:{height:r},className:ie.headerWrapper,children:rA.getHeaderGroups().map((kA,jA)=>c.jsx("tr",{className:aA(ie.headerRow,{[ie.allSelected]:rA.getIsAllRowsSelected()}),children:kA.headers.map((GA,zA)=>{var To,Co,vi;const{width:er,...Ge}=((To=GA.column.columnDef.meta)==null?void 0:To.style)||{},Jr=GA.getSize();return c.jsxs("th",{className:ie.columnCell,colSpan:GA.colSpan,style:{position:"relative",width:Jr,...QQ(GA.column)},children:[c.jsx(DM,{hasSorting:GA.column.columnDef.enableSorting&&!!((Co=GA.column.columnDef.meta)!=null&&Co.accessorKey),updateSorting:()=>{var Fn;return F((Fn=GA.column.columnDef.meta)==null?void 0:Fn.accessorKey)},children:c.jsxs("div",{className:ie.headerContent,style:Ge,children:[Si.flexRender(GA.column.columnDef.header,GA.getContext()),GA.column.columnDef.enableSorting&&c.jsx("span",{style:{display:"inline-flex",maxWidth:16},children:c.jsx(vM,{iconSortAsc:u,iconSortDesc:p,iconNoSort:B,direction:((vi=GA.column.columnDef.meta)==null?void 0:vi.accessorKey)===cA?uA:void 0})})]})}),GA.column.getCanResize()&&c.jsx("div",{onDoubleClick:()=>{Nn.current[GA.column.id]=!1,GA.column.columnDef.size!==void 0?GA.column.resetSize():Wr()},onMouseDown:Fn=>{ha(GA.column.id),GA.getResizeHandler()(Fn)},onTouchStart:Fn=>{ha(GA.column.id),GA.getResizeHandler()(Fn)},className:aA(ie.resizer,{[ie.isResizing]:GA.column.getIsResizing()})})]},`${GA.id}-${zA}`)})},`${kA.id}-${jA}`))}),ne&&c.jsxs("tbody",{className:ie.tableBody,children:[MA>0&&c.jsx("tr",{children:c.jsx("td",{style:{height:`${MA}px`}})}),FA.getVirtualItems().map(kA=>{const jA=kA.index,GA=DA[jA];return c.jsx("tr",{"data-index":jA,className:aA(ie.row,{[ie.selected]:GA.getIsSelected(),[ie.focused]:Z===jA,[ie.disabled]:s(GA.original),[ie.noBottomBorder]:M}),ref:zA=>{zA&&H.current===null&&(H.current=Math.round(zA.getBoundingClientRect().height)),FA.measureElement(zA)},onClick:zA=>{zA.defaultPrevented||zA.target.tagName.toLowerCase()==="input"||J(GA.original,zA)},children:GA.getVisibleCells().map((zA,er)=>{var To,Co;const Ge=(Co=(To=zA.column.columnDef)==null?void 0:To.meta)==null?void 0:Co.cellRenderer,Jr=zA.column.getSize();return c.jsx("td",{className:ie.cell,style:{width:Jr,...QQ(zA.column)},children:c.jsx("div",{className:ie.cellContent,children:Ge?Ge(zA.row.original,jA,er,zA==null?void 0:zA.getValue()):Si.flexRender(zA.column.columnDef.cell,zA.getContext())})},`${zA.id}-${er}`)})},`${GA.id}-${jA}`)}),pe>0&&c.jsx("tr",{children:c.jsx("td",{style:{height:`${pe}px`}})})]})]}),o&&!ne&&c.jsx("div",{className:ie.loadingWrapper,children:c.jsx(ll,{})}),!I&&!o&&!ne&&(Q?Q():c.jsx("div",{className:ie.noRows,children:"No data available"})),t&&ne&&DA.length>0&&X&&c.jsxs("div",{className:ie.pagination,children:[c.jsx("div",{style:{flex:1},children:c.jsxs("span",{className:ie.paginationLabel,children:["Showing ",DA[0].original.order," to ",DA[DA.length-1].original.order," of"," ",b.length," entries"]})}),i.length>1&&c.jsxs("div",{children:[c.jsx("span",{className:ie.paginationLabel,children:"Rows per page"}),c.jsx("select",{className:ie.paginationSelect,value:X.pageSize,onChange:kA=>{rA.setPageSize(Number(kA.target.value))},children:i.map(kA=>c.jsx("option",{value:kA,children:kA},kA))})]}),c.jsxs("div",{className:ie.paginationButtons,children:[c.jsx(ae,{onClick:()=>rA.setPageIndex(0),disabled:!rA.getCanPreviousPage(),type:"button",variant:"ghost",children:c.jsx(AM,{})}),c.jsx(ae,{onClick:()=>rA.previousPage(),disabled:!rA.getCanPreviousPage(),type:"button",variant:"ghost",children:c.jsx(BQ,{})}),c.jsx(ae,{onClick:()=>rA.nextPage(),disabled:!rA.getCanNextPage(),type:"button",variant:"ghost",children:c.jsx(pQ,{})}),c.jsx(ae,{onClick:()=>rA.setPageIndex(rA.getPageCount()-1),disabled:!rA.getCanNextPage(),type:"button",variant:"ghost",children:c.jsx(eM,{})})]})]})]})});function DM({hasSorting:A,updateSorting:e,children:t}){return A?c.jsx("button",{className:ie.clickableHeader,onClick:e,children:t}):c.jsx(c.Fragment,{children:t})}function vM({direction:A,iconSortAsc:e="sortasc:Table",iconSortDesc:t="sortdesc:Table",iconNoSort:o="nosort:Table"}){return A==="ascending"?c.jsx(yA,{name:e,fallback:"sortasc",size:"12"}):A==="descending"?c.jsx(yA,{name:t,fallback:"sortdesc",size:"12"}):o!=="-"?c.jsx(yA,{name:o,fallback:"nosort",size:"12"}):c.jsx(yA,{name:o,size:"12"})}const Qt={data:Ae,columns:Ae,isPaginated:!1,loading:!1,rowsSelectable:!1,enableMultiRowSelection:!0,pageSizes:[10],sortingDirection:"ascending",autoFocus:!1,hideHeader:!1,hideNoDataView:!1,alwaysShowSelectionHeader:!1,noBottomBorder:!1},te="Table",EQ={status:"stable",description:"`Table` presents structured data for viewing, sorting, selection, and interaction.",props:{items:He("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:k("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 \`${te}\`.`,valueType:"boolean",defaultValue:Qt.isPaginated},loading:k("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:k("This optional property is used to specify the height of the table header."),rowsSelectable:k("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:k("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:qA("A property to customize what to display if the table does not contain any data."),sortBy:k("This property is used to determine which data property to sort by. If not defined, the data is not sorted"),sortDirection:k("This property determines the sort order to be `ascending` or `descending`. This property only works if the [`sortBy`](#sortby) property is also set. By default ascending order is used."),autoFocus:mt(),hideHeader:{description:"Set the header visibility using this property. Set it to `true` to hide the header.",valueType:"boolean",defaultValue:Qt.hideHeader},iconNoSort:k(`Allows setting an alternate icon displayed in the ${te} column header when sorting is enabled, but the column remains unsorted. You can change the default icon for all ${te} instances with the "icon.nosort:Table" declaration in the app configuration file.`),iconSortAsc:k(`Allows setting an alernate icon displayed in the ${te} column header when sorting is enabled, and the column is sorted in ascending order. You can change the default icon for all ${te} instances with the "icon.sortasc:Table" declaration in the app configuration file.`),iconSortDesc:k(`Allows setting an alternate icon displayed in the ${te} column header when sorting is enabled, and the column is sorted in descending order. You can change the default icon for all ${te} 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:Qt.enableMultiRowSelection},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:k("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:k("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:k("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:k("This method clears the list of currently selected table rows."),getSelectedItems:k("This method returns the list of currently selected table rows items."),getSelectedIds:k("This method returns the list of currently selected table rows IDs."),selectAll:k("This method selects all the rows in the table. This method has no effect if the rowsSelectable property is set to `false`."),selectId:k("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:CA(ie.themeVars),defaultThemeVars:{[`padding-heading-${te}`]:"$space-2 $space-0 $space-2 $space-2",[`padding-cell-${te}`]:"$space-2 $space-0 $space-2 $space-2",[`paddingHorizontal-cell-first-${te}`]:"$space-5",[`paddingHorizontal-cell-last-${te}`]:"$space-0",[`border-cell-${te}`]:"1px solid $borderColor",[`outlineWidth-heading-${te}--focus`]:"$outlineWidth--focus",[`outlineStyle-heading-${te}--focus`]:"$outlineStyle--focus",[`outlineOffset-heading-${te}--focus`]:"$outlineOffset--focus",[`fontSize-heading-${te}`]:"$fontSize-tiny",[`fontWeight-heading-${te}`]:"$fontWeight-bold",[`textTransform-heading-${te}`]:"uppercase",[`fontSize-row-${te}`]:"$fontSize-small",[`backgroundColor-selected-${te}--hover`]:`$backgroundColor-row-${te}--hover`,[`backgroundColor-pagination-${te}`]:`$backgroundColor-${te}`,[`outlineColor-heading-${te}--focus`]:"$outlineColor--focus",[`textColor-pagination-${te}`]:"$color-secondary",[`backgroundColor-row-${te}--hover`]:"$color-primary-50",[`backgroundColor-selected-${te}`]:"$color-primary-100",[`backgroundColor-heading-${te}--hover`]:"$color-surface-200",[`backgroundColor-heading-${te}--active`]:"$color-surface-300",[`backgroundColor-heading-${te}`]:"$color-surface-100",[`textColor-heading-${te}`]:"$color-surface-500"}},yM=d.forwardRef(({extractValue:A,node:e,renderChild:t,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,registerComponentApi:a},i)=>{var w,v,f,M,S,G;const s=A(e.props.items)||A(e.props.data),[l,g]=d.useState(Ae),[u,p]=d.useState(YA),B=d.useRef([]),[C,m]=d.useState(0),h=d.useMemo(()=>({registerColumn:(b,x)=>{g(Qe(L=>{L.findIndex(H=>H===x)<0&&L.push(x)})),p(Qe(L=>{L[x]=b}))},unRegisterColumn:b=>{g(Qe(x=>x.filter(L=>L!==b))),p(Qe(x=>{delete x[b]}))}}),[]),Q=d.useMemo(()=>({registerColumn:(b,x)=>{B.current.find(L=>L===x)||(m(L=>L+1),B.current.push(x))},unRegisterColumn:b=>{B.current.find(x=>x===b)&&(B.current=B.current.filter(x=>x!==b),m(x=>x+1))}}),[]),E=d.useMemo(()=>l.map(b=>u[b]),[l,u]),D=dQ(),I=c.jsxs(c.Fragment,{children:[c.jsx(Ad.Provider,{value:h,children:t(e.children)},C),c.jsx(Ad.Provider,{value:Q,children:t(e.children)}),c.jsx(bM,{ref:i,data:s,columns:E,pageSizes:A(e.props.pageSizes),rowsSelectable:A.asOptionalBoolean(e.props.rowsSelectable),registerComponentApi:a,noDataRenderer:e.props.noDataTemplate&&(()=>t(e.props.noDataTemplate)),hideNoDataView:e.props.noDataTemplate===null||e.props.noDataTemplate==="",loading:A.asOptionalBoolean(e.props.loading),isPaginated:A.asOptionalBoolean((w=e.props)==null?void 0:w.isPaginated),headerHeight:A.asSize(e.props.headerHeight),rowDisabledPredicate:r(e.props.rowDisabledPredicate),sortBy:A((v=e.props)==null?void 0:v.sortBy),sortingDirection:A((f=e.props)==null?void 0:f.sortDirection),iconSortAsc:A.asOptionalString((M=e.props)==null?void 0:M.iconSortAsc),iconSortDesc:A.asOptionalString((S=e.props)==null?void 0:S.iconSortDesc),iconNoSort:A.asOptionalString((G=e.props)==null?void 0:G.iconNoSort),sortingDidChange:o("sortingDidChange"),onSelectionDidChange:o("selectionDidChange"),willSort:o("willSort"),style:n,uid:e.uid,autoFocus:A.asOptionalBoolean(e.props.autoFocus),hideHeader:A.asOptionalBoolean(e.props.hideHeader),enableMultiRowSelection:A.asOptionalBoolean(e.props.enableMultiRowSelection),alwaysShowSelectionHeader:A.asOptionalBoolean(e.props.alwaysShowSelectionHeader),noBottomBorder:A.asOptionalBoolean(e.props.noBottomBorder)})]});return D===null?c.jsx($8,{children:I}):I}),xM=$(te,EQ,({extractValue:A,node:e,renderChild:t,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,registerComponentApi:a})=>c.jsx(yM,{node:e,extractValue:A,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,renderChild:t,registerComponentApi:a})),td={themeVars:'"[]"',wrapper:"_wrapper_1c2sc_13",sentinel:"_sentinel_1c2sc_17"},IQ={to:"top"};function kM({children:A,uid:e,layout:t,to:o=IQ.to}){const r=d.useRef(null),[n,a]=d.useState(null),[i,s]=d.useState(!1),l=pp(r.current),g=jx(l);d.useEffect(()=>{n&&document.documentElement.style.setProperty("--xmlui-scroll-margin-top",n.clientHeight+"px")},[l,n]);const u=aA(td.wrapper),p={backgroundColor:g,...t},B="";return c.jsxs(c.Fragment,{children:[!!l&&c.jsx(Ky.RenderPropSticky,{mode:o,onFixedToggle:s,scrollElement:l,children:({isFixed:C,wrapperStyles:m,wrapperRef:h,holderStyles:Q,holderRef:E})=>c.jsx("div",{ref:E,style:Q,children:c.jsx("div",{className:`${u} ${C?B:""}`,style:C?{...m,...p}:m,ref:h,children:c.jsx("div",{ref:a,children:A})})})}),c.jsx("div",{style:{display:"none"},ref:r,className:o==="top"?td.sentinel:""})]})}const wQ="StickyBox",fQ={status:"stable",description:"`StickyBox` remains fixed at the top or bottom of 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:IQ.to}},themeVars:CA(td.themeVars),defaultThemeVars:{[`backgroundColor-${wQ}`]:"$backgroundColor"}},HM=$(wQ,fQ,({node:A,renderChild:e,extractValue:t,layoutCss:o})=>{var r;return c.jsx(kM,{uid:A.uid,layout:o,to:t((r=A.props)==null?void 0:r.to),children:e(A.children)})}),yo="ModalDialog",bQ={status:"stable",description:"`ModalDialog` creates overlay dialogs that appear on top of the main interface, ideal for forms, confirmations, detailed views, or any content that requires focused user attention. Dialogs are programmatically opened using the `open()` method and can receive parameters for dynamic content.",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:Hl.fullScreen},title:k("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:Hl.closeButtonVisible}},events:{open:k(`This event is fired when the \`${yo}\` is opened either via a \`when\` or an imperative API call (\`open()\`).`),close:k(`This event is fired when the close button is pressed or the user clicks outside the \`${yo}\`.`)},apis:{close:k(`This method is used to close the \`${yo}\`. Invoke it using \`modalId.close()\` where \`modalId\` refers to a \`ModalDialog\` component.`),open:k("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:k("First parameter passed to the `open()` method"),$params:k("Array of all parameters passed to `open()` method (access with `$params[0]`, `$params[1]`, etc.)")},themeVars:CA(on.themeVars),defaultThemeVars:{...du(yo,{all:"$space-7"}),[`backgroundColor-${yo}`]:"$backgroundColor-primary",[`backgroundColor-overlay-${yo}`]:"$backgroundColor-overlay",[`textColor-${yo}`]:"$textColor-primary",[`borderRadius-${yo}`]:"$borderRadius",[`fontFamily-${yo}`]:"$fontFamily",[`maxWidth-${yo}`]:"450px",[`marginBottom-title-${yo}`]:"0"}},SM=$(yo,bQ,({node:A,extractValue:e,layoutCss:t,renderChild:o,lookupEventHandler:r,registerComponentApi:n,layoutContext:a})=>{var i,s;return a!=null&&a._insideModalFrame?c.jsx(Sl,{style:t,fullScreen:e((i=A.props)==null?void 0:i.fullScreen),title:e((s=A.props)==null?void 0:s.title),closeButtonVisible:e.asOptionalBoolean(A.props.closeButtonVisible),children:o(A.children,{type:"Stack"})}):c.jsx(tH,{isInitiallyOpen:A.when!==void 0,registerComponentApi:n,onClose:r("close"),onOpen:r("open"),renderDialog:({openParams:l,ref:g})=>c.jsx(tt,{node:A,renderChild:o,layoutContext:{_insideModalFrame:!0},contextVars:{$param:l==null?void 0:l[0],$params:l}})})}),od={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)"}'`,wrapper:"_wrapper_1vx80_13",icon:"_icon_1vx80_45"},ac={hideIcon:!1,icon:"noresult"},MM=d.forwardRef(function({label:e,icon:t=ac.icon,hideIcon:o=ac.hideIcon,style:r},n){return c.jsxs("div",{className:od.wrapper,style:r,ref:n,children:[!o&&c.jsx(yA,{name:t,className:od.icon}),e]})}),ns="NoResult",DQ={status:"stable",description:"`NoResult` displays a visual indication that a query or search returned nothing.",props:{label:Fe(),icon:{description:"This property defines the icon to display with the component.",valueType:"string",defaultValue:ac.icon},hideIcon:{description:"This boolean property indicates if the icon should be hidden.",valueType:"boolean",defaultValue:ac.hideIcon}},themeVars:CA(od.themeVars),defaultThemeVars:{[`border-${ns}`]:"0px solid $borderColor",[`paddingVertical-${ns}`]:"$space-2",[`gap-icon-${ns}`]:"$space-2",[`size-icon-${ns}`]:"$space-8",light:{},dark:{}}},LM=$(ns,DQ,({node:A,extractValue:e,layoutCss:t})=>c.jsx(MM,{label:e.asDisplayText(A.props.label||A.children||"No results found"),icon:A.props.icon,hideIcon:e.asOptionalBoolean(A.props.hideIcon),style:t})),vQ="SelectionStore",yQ={status:"deprecated",description:`The \`${vQ}\` is a non-visual component that may wrap components (items) and manage their selection state to accommodate the usage of other actions.`,props:{idKey:{description:'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"`.',defaultValue:ed.idKey}}},TM=$(vQ,yQ,A=>{const{node:e,state:t,updateState:o,renderChild:r,registerComponentApi:n}=A;return c.jsx(gQ,{updateState:o,idKey:e.props.idKey,selectedItems:t==null?void 0:t.value,registerComponentApi:n,children:r(e.children)})}),xQ={title:"XMLUI Application"},NM=({title:A=xQ.title})=>c.jsx(Ia.Helmet,{title:A}),FM="PageMetaTitle",kQ={status:"stable",description:"`PageMetaTitle` dynamically sets or updates the browser tab title, enabling pages and components to override the default application name with context-specific titles.",props:{value:{description:"This property sets the page's title to display in the browser tab.",defaultValue:xQ.title}}},PM=$(FM,kQ,({node:A,extractValue:e,renderChild:t})=>c.jsx(NM,{title:e(A.props.value)||t(A.children)})),rd={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)"}'`,wrapper:"_wrapper_ek0mg_13",bar:"_bar_ek0mg_22"},HQ={value:0},GM=d.forwardRef(function({value:e=HQ.value,style:t},o){return c.jsx("div",{className:rd.wrapper,style:t,ref:o,children:c.jsx("div",{style:{width:`${e*100}%`},className:rd.bar})})}),ti="ProgressBar",SQ={status:"stable",description:"`ProgressBar` provides a visual indicator showing the completion percentage of tasks, processes, or any measurable progress. It displays as a horizontal bar that fills from left to right based on the provided value between 0 (empty) and 1 (complete).",props:{value:{description:"This property defines the progress value with a number between 0 and 1.",valueType:"number",defaultValue:HQ.value}},themeVars:CA(rd.themeVars),defaultThemeVars:{[`borderRadius-${ti}`]:"$borderRadius",[`borderRadius-indicator-${ti}`]:"0px",[`thickness-${ti}`]:"$space-2",[`backgroundColor-${ti}`]:"$color-surface-200",[`color-indicator-${ti}`]:"$color-primary-500"}},OM=$(ti,SQ,({node:A,extractValue:e,layoutCss:t})=>c.jsx(GM,{value:Math.max(0,Math.min(1,e(A.props.value))),style:t})),Lt={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)"}'`,splitter:"_splitter_12v45_13",vertical:"_vertical_12v45_26",horizontal:"_horizontal_12v45_29",panel:"_panel_12v45_33",primaryPanel:"_primaryPanel_12v45_40",secondaryPanel:"_secondaryPanel_12v45_47",resizer:"_resizer_12v45_53",floatingResizer:"_floatingResizer_12v45_67"},as=(A,e)=>{if(A.endsWith("px"))return parseInt(A,10);if(A.endsWith("%"))return parseInt(A,10)/100*e;throw new Error("Invalid size format. Use px or %.")},ic=(A,e)=>A/e*100,xo={initialPrimarySize:"50%",minPrimarySize:"0%",maxPrimarySize:"100%",orientation:"vertical",swapped:!1,floating:!1},RM=({initialPrimarySize:A=xo.initialPrimarySize,minPrimarySize:e=xo.minPrimarySize,maxPrimarySize:t=xo.maxPrimarySize,orientation:o=xo.orientation,children:r,style:n,swapped:a=xo.swapped,floating:i=xo.floating,splitterTemplate:s,resize:l=vA})=>{var w;const[g,u]=d.useState(0),[p,B]=d.useState(null),[C,m]=d.useState(!1),[h,Q]=d.useState(null),[E,D]=d.useState(null),I=d.useMemo(()=>i?E:h,[i,h,E]);return d.useEffect(()=>{if(p){const v=o==="horizontal"?p.getBoundingClientRect().width:p.getBoundingClientRect().height,f=as(A,v);u(f),l&&l([ic(f,v),ic(v-f,v)])}},[A,o,l,p,a]),d.useEffect(()=>{const v=S=>{if(p&&I){const G=o==="horizontal"?p.getBoundingClientRect().width:p.getBoundingClientRect().height,b=Math.min(Math.max(o==="horizontal"?S.clientX-p.getBoundingClientRect().left:S.clientY-p.getBoundingClientRect().top,as(e,G)),as(t,G));u(b),l&&l([ic(b,G),ic(G-b,G)])}},f=()=>{document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",f)},M=()=>{document.addEventListener("mousemove",v),document.addEventListener("mouseup",f)};return I&&I.addEventListener("mousedown",M),()=>{I&&I.removeEventListener("mousedown",M),document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",f)}},[e,t,o,l,i,I,p]),d.useEffect(()=>{const v=f=>{const M=o==="horizontal"?f.clientX:f.clientY;if(p){const G=(o==="horizontal"?p.getBoundingClientRect().left:p.getBoundingClientRect().top)+g;M>G-20&&M<G+20?m(!0):m(!1)}};return p&&(p.addEventListener("mousemove",v),p.addEventListener("mouseleave",()=>m(!1))),()=>{p&&(p.removeEventListener("mouseleave",()=>m(!1)),p.removeEventListener("mousemove",v))}},[g,o,p]),d.useEffect(()=>{E&&(E.style.opacity=C?"1":"0")},[E,C]),c.jsx("div",{ref:v=>B(v),className:aA(Lt.splitter,{[Lt.horizontal]:o==="horizontal",[Lt.vertical]:o==="vertical"}),style:n,children:d.Children.count(r)>1?c.jsxs(c.Fragment,{children:[c.jsx("div",{style:a?{}:{flexBasis:g},className:aA({[Lt.primaryPanel]:!a,[Lt.secondaryPanel]:a}),children:d.Children.toArray(r)[0]}),!i&&c.jsx("div",{className:aA(Lt.resizer,{[Lt.horizontal]:o==="horizontal",[Lt.vertical]:o==="vertical"}),ref:v=>Q(v),children:s}),c.jsx("div",{className:aA({[Lt.primaryPanel]:a,[Lt.secondaryPanel]:!a}),style:a?{flexBasis:g}:{},children:d.Children.toArray(r)[1]}),i&&c.jsx("div",{ref:v=>D(v),className:aA(Lt.floatingResizer,{[Lt.horizontal]:o==="horizontal",[Lt.vertical]:o==="vertical"}),style:{top:o==="horizontal"?0:g,left:o==="horizontal"?g:0},children:s})]}):c.jsx(c.Fragment,{children:((w=d.Children.toArray(r))==null?void 0:w[0])&&c.jsx("div",{className:Lt.panel,children:d.Children.toArray(r)[0]})})})},hn="Splitter",sc={status:"stable",description:"`Splitter` component divides a container into two resizable sections. These are are identified by their names: primary and secondary. They have a draggable bar between them.",props:{swapped:{description:`This optional booelan property indicates whether the \`${hn}\` sections are layed out as primary and secondary (\`false\`) or secondary and primary (\`true\`) from left to right.`,valueType:"boolean",defaultValue:xo.swapped},splitterTemplate:qA("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:xo.initialPrimarySize},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:xo.minPrimarySize},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:xo.maxPrimarySize},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:xo.floating},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:xo.orientation}},events:{resize:k("This event fires when the component is resized.")},themeVars:CA(Lt.themeVars),defaultThemeVars:{[`backgroundColor-resizer-${hn}`]:"$color-surface-100",[`thickness-resizer-${hn}`]:"5px",[`cursor-resizer-horizontal-${hn}`]:"ew-resize",[`cursor-resizer-vertical-${hn}`]:"ns-resize"}},MQ={...sc,props:{...sc.props}},LQ={...sc,specializedFrom:hn},TQ={...sc,specializedFrom:hn},UM="vertical";function nd({node:A,extractValue:e,layoutCss:t,renderChild:o,lookupEventHandler:r,orientation:n=e(A.props.orientation)??UM}){var a,i,s,l,g,u;if(!Kg(A.children))throw new Ri;return c.jsx(RM,{style:t,swapped:e.asOptionalBoolean((a=A.props)==null?void 0:a.swapped),orientation:n,splitterTemplate:o((i=A.props)==null?void 0:i.splitterTemplate),initialPrimarySize:e((s=A.props)==null?void 0:s.initialPrimarySize),minPrimarySize:e((l=A.props)==null?void 0:l.minPrimarySize),maxPrimarySize:e((g=A.props)==null?void 0:g.maxPrimarySize),floating:e.asOptionalBoolean((u=A.props)==null?void 0:u.floating),resize:r("resize"),children:o(A.children)})}const KM=$(hn,MQ,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>nd({node:A,extractValue:e,layoutCss:o,renderChild:t,lookupEventHandler:r})),YM=$("VSplitter",TQ,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>nd({node:A,extractValue:e,layoutCss:o,renderChild:t,orientation:"vertical",lookupEventHandler:r})),jM=$("HSplitter",LQ,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>nd({node:A,extractValue:e,layoutCss:o,renderChild:t,orientation:"horizontal",lookupEventHandler:r}));var Qn=(A=>(A.ACTION_ITEM_STARTED="ACTION_ITEM_STARTED",A.ACTION_ITEM_PROGRESS="ACTION_ITEM_PROGRESS",A.ACTION_ITEM_COMPLETED="ACTION_ITEM_COMPLETED",A.CLEAR_COMPLETED_ACTION_ITEMS="CLEAR_COMPLETED_ACTION_ITEMS",A.ACTION_ITEM_ERROR="ACTION_ITEM_ERROR",A.ACTION_QUEUE_INITIALIZED="ACTION_QUEUE_INITIALIZED",A.ACTION_ITEM_REMOVED="ACTION_ITEM_REMOVED",A))(Qn||{});function _M(A){return{type:"ACTION_ITEM_STARTED",payload:{actionItemId:A}}}function WM(A,e){return{type:"ACTION_ITEM_PROGRESS",payload:{actionItemId:A,progressEvent:e}}}function JM(A,e){return{type:"ACTION_ITEM_COMPLETED",payload:{actionItemId:A,result:e}}}function NQ(A){return{type:"ACTION_ITEM_REMOVED",payload:{actionItemId:A}}}function $M(){return{type:"CLEAR_COMPLETED_ACTION_ITEMS",payload:{}}}function zM(A,e){return{type:"ACTION_ITEM_ERROR",payload:{actionItemId:A,error:e}}}function FQ(A,e,t){return{type:"ACTION_QUEUE_INITIALIZED",payload:{queue:A,actionItemIds:t,batchId:e}}}const PQ={clearAfterFinish:!1},qM=Qe((A,e)=>{switch(e.type){case Qn.ACTION_QUEUE_INITIALIZED:{const t={},o={};e.payload.queue.forEach((n,a)=>{o[e.payload.actionItemIds[a]]=n});const r=Object.keys(o);return Object.entries(o).forEach(([n,a])=>{t[n]={batchId:e.payload.batchId,actionItemId:n,status:"pending",item:a}}),{queue:[...A.queue||[],...r],queueState:{...A.queueState,...t}}}case Qn.ACTION_ITEM_STARTED:{A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="started");break}case Qn.ACTION_ITEM_PROGRESS:{A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="in-progress",A.queueState[e.payload.actionItemId].progress=e.payload.progressEvent);break}case Qn.ACTION_ITEM_COMPLETED:{A.queue=A.queue.filter(t=>t!==e.payload.actionItemId),A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="completed",A.queueState[e.payload.actionItemId].result=e.payload.result);break}case Qn.ACTION_ITEM_REMOVED:{A.queue=A.queue.filter(t=>t!==e.payload.actionItemId),delete A.queueState[e.payload.actionItemId];break}case Qn.ACTION_ITEM_ERROR:{A.queue=A.queue.filter(t=>t!==e.payload.actionItemId),A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="error",A.queueState[e.payload.actionItemId].error=e.payload.error);break}case Qn.CLEAR_COMPLETED_ACTION_ITEMS:{A.queueState&&Object.entries(A.queueState).forEach(([t,o])=>{(o.status==="completed"||o.status==="error")&&delete A.queueState[t]});break}default:throw new Error}}),VM={queue:[],queueState:{}};function ZM({registerComponentApi:A,willProcessItem:e,processItem:t,didProcessItem:o,processItemError:r,onComplete:n,renderProgressFeedback:a,renderResultFeedback:i,clearAfterFinish:s=PQ.clearAfterFinish}){const l=d.useRef(new Set),[g,u]=d.useReducer(qM,VM);let p=$e();const B=PA(M=>{const S=Ni();return u(FQ([M],Ni(),[S])),S}),C=PA(M=>{const S=M.map(()=>Ni());return u(FQ(M,Ni(),S)),S}),m=d.useCallback(()=>{u($M())},[]),h=d.useCallback(M=>{M&&u(NQ(M))},[]),Q=d.useCallback(()=>g.queue.length,[g.queue.length]),E=d.useCallback(()=>Object.values(g.queueState),[g.queueState]);d.useEffect(()=>{A({enqueueItem:B,enqueueItems:C,clearCompleted:m,remove:h,getQueueLength:Q,getQueuedItems:E})},[A,B,C,m,h,Q,E]);const D=d.useCallback(async M=>{const S=g.queueState[M];if((S==null?void 0:S.status)!=="pending"||l.current.has(M))return;l.current.add(M);const G=S.item;let b={};try{const x=await(e==null?void 0:e({item:G,actionItemId:M,processItemContext:b}));if(b={...b,willProcessResult:x},x===!1){u(NQ(M));return}u(_M(M));const L=await(t==null?void 0:t({item:G,actionItemId:M,processItemContext:b,onProgress:T=>{u(WM(M,T))}}));b={...b,processResult:L},await(o==null?void 0:o({item:G,actionItemId:M,processItemContext:b})),u(JM(M,L))}catch(x){let L=await(r==null?void 0:r(x,{item:G,actionItemId:M,processItemContext:b}));u(zM(M,x)),L!==!1&&p.signError(x)}finally{l.current.delete(M)}},[p,o,u,t,r,g.queueState,e]),I=d.useRef(),w=g.queue,v=Sr(w),f=d.useCallback(()=>{n==null||n();const M=E(),S=E().filter(b=>b.status==="completed"),G=i==null?void 0:i(S,M);if(G&&S.length){let b=I.current;ke.success(c.jsx(c.Fragment,{children:G}),{id:b})}else if(I.current){let b=I.current;ke.dismiss(b)}s&&m()},[s,m,E,n,i]);return d.useLayoutEffect(()=>{if(w.length&&a){const M=E(),S=E().filter(b=>b.status==="completed"),G=a==null?void 0:a(S,M);G&&I.current?ke.loading(c.jsx(c.Fragment,{children:G}),{id:I.current}):I.current=ke.loading(c.jsx(c.Fragment,{children:G}))}},[a,w==null?void 0:w.length]),d.useEffect(()=>{if(!w||v===w||hA.isEqual(v,w))return;if(v!=null&&v.length&&!w.length){f();return}let M=w[0];(async()=>await D(M))()},[f,D,v,w]),null}const XM="Queue",GQ={status:"stable",description:"`Queue` manages sequential processing of items in FIFO (first-in, first-out) order. It is a non-visual component but provides UI progress reporting and result display.",props:{progressFeedback:k("This property defines the component template of the UI that displays progress information whenever, the queue's `progressReport` function in invoked. If not set, no progress feedback is displayed."),resultFeedback:k("This property defines the component template of the UI that displays result information when the queue becomes empty after processing all queued items. If not set, no result feedback is displayed."),clearAfterFinish:{description:"This property indicates the completed items (successful or error) should be removed from the queue after completion.",defaultValue:PQ.clearAfterFinish}},nonVisual:!0,events:{willProcess:k("This event is triggered to process a particular item."),process:k("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:k("This event is fired when the processing of a queued item has been successfully processed."),processError:k("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:k("The queue fires this event when the queue gets empty after processing all items. The event handler has no arguments.")},apis:{enqueueItem:k("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:k("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:k("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:k("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet."),remove:k("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet.")},contextVars:{$completedItems:k("A list containing the queue items that have been completed (fully processed)."),$queuedItems:k("A list containing the items waiting in the queue, icluding the completed items.")}},AL=$(XM,GQ,({node:A,registerComponentApi:e,lookupEventHandler:t,renderChild:o,extractValue:r})=>c.jsx(ZM,{registerComponentApi:e,renderResultFeedback:A.props.resultFeedback?(n,a)=>c.jsx(tt,{node:A.props.resultFeedback,contextVars:{$completedItems:n,$queuedItems:a},renderChild:o}):void 0,renderProgressFeedback:A.props.progressFeedback?(n,a)=>c.jsx(tt,{node:A.props.progressFeedback,contextVars:{$completedItems:n,$queuedItems:a},renderChild:o}):void 0,willProcessItem:t("willProcess"),processItem:t("process",{signError:!1}),didProcessItem:t("didProcess"),processItemError:t("processError"),onComplete:t("complete"),clearAfterFinish:r.asOptionalBoolean(A.props.clearAfterFinish)})),OQ=d.forwardRef(({node:A,lookupSyncCallback:e,lookupEventHandler:t,compound:o,api:r,scriptCollected:n,renderChild:a,extractValue:i,layoutContext:s,uid:l,updateState:g},u)=>{const p=d.useMemo(()=>{const S={};return A.props&&Object.entries(A.props).forEach(([G,b])=>{const x=i(b,!0);x!=null&&x._ARROW_EXPR_?S[G]=e(x):S[G]=x}),S},[i,e,A.props]),B=et(p),C=d.useMemo(()=>{var T;const{loaders:S,vars:G,functions:b,scriptError:x,...L}=o;return{type:"Container",uses:Ae,api:r,scriptCollected:n,loaders:S,vars:G,functions:b,scriptError:x,containerUid:l,props:{debug:(T=o.props)==null?void 0:T.debug},children:[L]}},[r,o,n,l]),m=PA((S,...G)=>{const b=t(S);if(b)return b(...G)}),h=PA(S=>!!t(S)),Q=d.useMemo(()=>({$props:B,...C.vars,emitEvent:m,hasEventHandler:h,updateState:g}),[C.vars,m,h,B,g]),E=et(Q),D=d.useMemo(()=>({...C,vars:E}),[C,E]),I=et(D),w=d.useMemo(()=>Object.entries(A.props).some(([S,G])=>{var b;return S.endsWith("Template")||hA.isObject(G)&&G.type!==void 0||hA.isArray(G)&&((b=G[0])==null?void 0:b.type)!==void 0}),[A.props]),v=d.useMemo(()=>{if(!(!w&&(!A.children||A.children.length===0)))return{renderChild:a,props:A.props,children:A.children}},[w,A.children,A.props,a]),f=s&&{...s,wrapChild:void 0},M=a(I,f,v);return u&&M&&d.isValidElement(M)?d.cloneElement(M,{ref:Dt(u,M.ref)}):d.isValidElement(M)?M:c.jsx(c.Fragment,{children:M})});OQ.displayName="CompoundComponent";const ad={themeVars:'"[]"',wrapper:"_wrapper_1hlil_13",visibleOnHover:"_visibleOnHover_1hlil_16"};function eL({children:A,top:e,right:t,bottom:o,left:r,visibleOnHover:n=!1}){return c.jsx("div",{style:{top:e,right:t,bottom:o,left:r},className:aA(ad.wrapper,{[ad.visibleOnHover]:n}),children:A})}const tL="PositionedContainer",RQ={status:"deprecated",description:"(**OBSOLETE**) This component was created for the ChatEngine app.",props:{visibleOnHover:k("No description")},themeVars:CA(ad.themeVars)},oL=$(tL,RQ,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>c.jsx(eL,{top:o.top,right:o.right,bottom:o.bottom,left:o.left,visibleOnHover:e.asOptionalBoolean(A.props.visibleOnHover),children:t(A.children)}));function UQ(A){return"data"in A}async function rL(A,e=!1){let t;if(UQ(A))t=A.data;else try{t=await A.clone().json()}catch{try{t=await A.clone().text()}catch{e&&console.error("Failed to parse response as text or JSON",A.body)}}return t}function id({key:A,value:e},t,o=A){if(e!=null){if(e instanceof File||e instanceof Blob){t.append(A,e);return}Array.isArray(e)?e.forEach(r=>{id({key:A,value:r},t,o)}):hA.isPlainObject(e)?Object.entries(e).forEach(([r,n])=>{const a=`${o}.${r}`;id({key:a,value:n},t,a)}):t.append(A,e.toString())}}class is{constructor(e){var a;this.execute=async({abortSignal:i,operation:s,params:l,parseOptions:g,resolveBindingExpressions:u=!1,transactionId:p=Rg(),onProgress:B})=>await this.executeOperation({operation:s,abortSignal:i,contextParams:l,resolveBindingExpressions:u,parseResponse:g!=null&&g.asFile?async C=>{var h;let m=s.fileName||"unknown";if(C.headers&&C.headers.get&&typeof C.headers.get=="function"){const Q=(h=C.headers.get("Content-Disposition"))==null?void 0:h.toString();if(Q){const E=Q.match(/filename="(.+)"/);E&&E.length===2&&(m=E[1])}}return UQ(C)?C.data:new File([await C.clone().blob()],m)}:void 0,transactionId:p,onUploadProgress:B}),this.upload=async({operation:i,params:s={},chunk:l,onUploadProgress:g,abortSignal:u,transactionId:p=Rg(),resolveBindingExpressions:B=!1})=>{const{file:C,asForm:m,formParams:h}=this.extractParam(B,i,s),Q={chunkStart:l==null?void 0:l.chunkStart,chunkEnd:l?(l==null?void 0:l.chunkEnd)-1:void 0,chunkLength:l?(l==null?void 0:l.chunkEnd)-(l==null?void 0:l.chunkStart):void 0,fileSize:C.size,urlSafeName:encodeURIComponent(C.name),fileName:C.name},E={...s,$uploadParams:Q};if(m){const D=new FormData;return D.append(C.name,(l==null?void 0:l.blob)||C),h&&Object.entries(this.extractParam(B,h,s)).forEach(([I,w])=>{D.append(I,w)}),await this.executeOperation({operation:i,contextParams:E,resolveBindingExpressions:B,rawBody:D,headers:{...this.extractParam(B,i.headers||{},E),"Content-Type":void 0},onUploadProgress:g,abortSignal:u,transactionId:p})}return new Promise((D,I)=>{const w=new FileReader;w.readAsArrayBuffer((l==null?void 0:l.blob)||C),w.onload=async v=>{try{if(v.target===null){I();return}D(await this.executeOperation({operation:i,contextParams:E,resolveBindingExpressions:B,rawBody:v.target.result,headers:{...this.extractParam(B,i.headers||{},E),"Content-Type":C.type},onUploadProgress:g,abortSignal:u,transactionId:p}))}catch(f){I(f)}},w.onerror=()=>{I()}})},this.resolveUrl=({operation:i,params:s={},resolveBindingExpressions:l=!1})=>this.generateFullApiUrl(this.extractParam(l,i.url,s),this.extractParam(l,i.queryParams,s)),this.extractParam=(i,s,l={},g)=>{var p,B;const u={$adapterConfig:this.config,...l};if(i)return LA(u,s,this.appContext,g);if(s!=null&&s._ARROW_EXPR_){const C={eventArgs:[u]};try{return Ou([{type:zt,expr:s}],C),(B=(p=C.mainThread)==null?void 0:p.blocks)!=null&&B.length?C.mainThread.blocks[C.mainThread.blocks.length-1].returnValue:void 0}catch(m){console.error(m);return}}return s},this.executeOperation=async({operation:i,contextParams:s,abortSignal:l,resolveBindingExpressions:g,relativePath:u=this.extractParam(g,i.url,s),method:p=this.extractParam(g,i.method,s),queryParams:B=this.extractParam(g,i.queryParams,s),body:C=this.extractParam(g,i.body,s,!0),rawBody:m=this.extractParam(g,i.rawBody,s),headers:h=this.extractParam(g,i.headers,s),payloadType:Q=this.extractParam(g,i.payloadType,s)||"json",onUploadProgress:E,parseResponse:D=this.tryParseResponse,transactionId:I})=>{var G,b,x,L;const w=p&&p!=="get"&&!!I,v={...this.getHeaders(),"Content-Type":void 0},f=hA.omitBy({...C?this.getHeaders():v,...h},hA.isUndefined);w&&(f["x-ue-client-tx-id"]=I);let M;if(m)M=m;else if(Q==="multipart-form"||Q==="form"){const T=new FormData;Object.entries(C).forEach(([H,_])=>{id({key:H,value:_},T)}),Q==="multipart-form"?(M=T,delete f["Content-Type"]):(M=new URLSearchParams(T).toString(),f["Content-Type"]="application/x-www-form-urlencoded")}else M=C?JSON.stringify(C):void 0;const S={method:p,headers:f,signal:l,body:M};if(E){console.log("Falling back to axios. Reason: onUploadProgress specified");const T=(await import("axios")).default;try{const H=await T.request({url:this.generateFullApiUrl(u,B),method:S.method,headers:f,data:S.body,onUploadProgress:E});return await D(H,((b=(G=this.appContext)==null?void 0:G.appGlobals)==null?void 0:b.logRestApiErrors)??!1)}catch(H){throw T.isAxiosError(H)&&H.response?await this.raiseError(H.response):H}}else{const T=await fetch(this.generateFullApiUrl(u,B),S);if(!T.clone().ok)throw await this.raiseError(T);return await D(T.clone(),((L=(x=this.appContext)==null?void 0:x.appGlobals)==null?void 0:L.logRestApiErrors)??!1)}},this.tryParseResponse=async(i,s=!1)=>await rL(i,s),this.raiseError=async i=>{if("config"in i)try{return new al(this.config.errorResponseTransform?this.extractParam(!0,this.config.errorResponseTransform,{$response:i.data}):i.data,i.status)}catch{}else try{const s=await i.json();return new al(this.config.errorResponseTransform?this.extractParam(!0,this.config.errorResponseTransform,{$response:s}):s,i.status)}catch{}return new Error(`[!] Server responded with an error: ${i.status} - ${i.statusText}`)},this.getHeaders=()=>({"Content-Type":"application/json; charset=UTF-8",...this.config.headers??{}});const t=(e==null?void 0:e.appGlobals)||{apiUrl:""},{apiUrl:o,errorResponseTransform:r}=t;this.appContext=e;const n={};this.config={apiUrl:o,errorResponseTransform:r,headers:{...(a=e==null?void 0:e.appGlobals)==null?void 0:a.headers,...n}}}generateFullApiUrl(e,t){let o="";if(t){const r=new URLSearchParams;Object.entries(t).forEach(([n,a])=>{Array.isArray(a)?a.forEach(i=>{r.append(n,i)}):a!==void 0&&r.append(n,a)}),o=`?${r}`}return e.startsWith("http://")||e.startsWith("https://")?`${e}${o}`:`${this.config.apiUrl||""}${e}${o}`}}const nL={url:""};class aL{constructor(e,t){this.url=e,this.appContext=t,this.handlers=[],this.tries=0,this.polling=!1,this.abortController=new AbortController}refreshAppContext(e){this.appContext=e}async poll(e){if(!(!this.polling||e.aborted))try{const t=await new is(this.appContext).execute({abortSignal:e,operation:{url:this.url,method:"get",headers:{"Cache-Control":"no-cache, no-store"},queryParams:{lastEventId:this.lastEventId}},resolveBindingExpressions:!0});this.eventArrived(t),await this.poll(e)}catch{this.tries<100?(this.tries++,await Da(this.tries*100),await this.poll(e)):this.stopPoll()}}startPoll(){this.polling||(this.polling=!0,this.tries=0,this.abortController=new AbortController,this.poll(this.abortController.signal))}stopPoll(){this.polling=!1,this.abortController.abort()}eventArrived(e){if(!e)return;let t=[e];Array.isArray(e)&&(t=e),this.lastEventId=t[t.length-1].id,this.handlers.forEach(o=>{o(t)})}subscribe(e){this.handlers.push(e),this.startPoll()}unsubscribe(e){this.handlers=this.handlers.filter(t=>e!==t),this.handlers.length||this.stopPoll()}}const lc={};function iL(A,e){return lc[A]||(lc[A]=new aL(A,e)),lc[A].refreshAppContext(e),lc[A]}function sL({url:A,onEvent:e}){const t=$e();return d.useEffect(()=>{const o=iL(A,t),r=n=>{n.forEach(a=>{e==null||e(a)})};return o.subscribe(r),()=>{o.unsubscribe(r)}},[t,e,A]),null}const lL="RealTimeAdapter",KQ={status:"experimental",description:"`RealTimeAdapter` is a non-visual component that listens to real-time events.",props:{url:{description:"This property specifies the URL to use for long-polling.",defaultValue:nL.url}},events:{eventArrived:k("This event is raised when data arrives from the backend using long-polling.")}},cL=$(lL,KQ,({node:A,lookupEventHandler:e,extractValue:t})=>c.jsx(sL,{url:t(A.props.url),onEvent:e("eventArrived")})),Zo="NumberBox",YQ={status:"stable",description:"`NumberBox` provides a specialized input field for numeric values with built-in validation, spinner buttons, and flexible formatting options. It supports both integer and floating-point numbers, handles empty states as null values, and integrates seamlessly with form validation.",props:{placeholder:zr(),initialValue:Yt(),label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(Zo),labelBreak:Ao(Zo),maxLength:Ti(),autoFocus:mt(),required:oo(),readOnly:eo(),enabled:Ke(),validationStatus:to(),startText:qs(),startIcon:Vs(),endText:Zs(),endIcon:Xs(),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:k(`Allows setting an alternate icon displayed in the ${Zo} spinner for incrementing values. You can change the default icon for all ${Zo} instances with the "icon.spinnerUp:NumberBox" declaration in the app configuration file.`),spinnerDownIcon:k(`Allows setting an alternate icon displayed in the ${Zo} spinner for decrementing values. You can change the default icon for all ${Zo} 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:k("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.If not set, no minimum value check is done."),maxValue:k("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.If not set, no maximum value check is done.")},events:{gotFocus:Ot(Zo),lostFocus:Rt(Zo),didChange:ct(Zo)},apis:{focus:Go(Zo),value:ba(),setValue:ho()},themeVars:CA(ce.themeVars)},gL=$(Zo,YQ,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:a})=>c.jsx(Ah,{style:n,value:e==null?void 0:e.value,initialValue:r.asOptionalString(A.props.initialValue),step:r(A.props.step),enabled:r.asOptionalBoolean(A.props.enabled),placeholder:r.asOptionalString(A.props.placeholder),validationStatus:r(A.props.validationStatus),updateState:t,onDidChange:o("didChange"),onFocus:o("gotFocus"),onBlur:o("lostFocus"),registerComponentApi:a,hasSpinBox:r.asOptionalBoolean(A.props.hasSpinBox),integersOnly:r.asOptionalBoolean(A.props.integersOnly),zeroOrPositive:r.asOptionalBoolean(A.props.zeroOrPositive),min:r.asOptionalNumber(A.props.minValue),max:r.asOptionalNumber(A.props.maxValue),startText:r.asOptionalString(A.props.startText),startIcon:r.asOptionalString(A.props.startIcon),endText:r.asOptionalString(A.props.endText),gap:r.asOptionalString(A.props.gap),endIcon:r.asOptionalString(A.props.endIcon),spinnerUpIcon:r.asOptionalString(A.props.spinnerUpIcon),spinnerDownIcon:r.asOptionalString(A.props.spinnerDownIcon),autoFocus:r.asOptionalBoolean(A.props.autoFocus),readOnly:r.asOptionalBoolean(A.props.readOnly),maxLength:r(A.props.maxLength),label:r(A.props.label),labelPosition:r(A.props.labelPosition),labelWidth:r(A.props.labelWidth),labelBreak:r.asOptionalBoolean(A.props.labelBreak),required:r.asOptionalBoolean(A.props.required)})),ko="NumberBox2",uL={status:"experimental",description:`A \`${ko}\` 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:zr(),initialValue:Yt(),label:Fe(),labelPosition:Ut(St.labelPosition),labelWidth:Kt(ko),labelBreak:Ao(ko),maxLength:Ti(),autoFocus:mt(),required:oo(),readOnly:eo(),enabled:Ke(),validationStatus:to(),startText:qs(),startIcon:Vs(),endText:Zs(),endIcon:Xs(),hasSpinBox:{description:"This boolean prop shows (`true`) or hides (`false`) the spinner buttons for the input field.",valueType:"boolean",defaultValue:St.hasSpinBox},spinnerUpIcon:k(`Allows setting the icon displayed in the ${ko} spinner for incrementing values. You can change the default icon for all ${ko} instances with the "icon.spinnerUp:NumberBox" declaration in the app configuration file.`),spinnerDownIcon:k(`Allows setting the icon displayed in the ${ko} spinner for decrementing values. You can change the default icon for all ${ko} 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:St.step},integersOnly:{description:"This boolean property signs whether the input field accepts integers only (`true`) or not (`false`).",valueType:"boolean",defaultValue:St.integersOnly},maxFractionDigits:{description:"This prop sets the maximum number of decimal places allowed in the input field. If the number of decimal places is greater than this value, the value will be truncated to the maximum allowed decimal places. ",valueType:"number",defaultValue:St.maxFractionDigits},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:St.zeroOrPositive},minValue:k("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:k("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:Ot(ko),lostFocus:Rt(ko),didChange:ct(ko)},apis:{focus:Go(ko),value:ba(),setValue:ho()},themeVars:CA(ce.themeVars)},dL=$(ko,uL,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:a})=>c.jsx(Dh,{style:n,value:e==null?void 0:e.value,initialValue:r.asOptionalString(A.props.initialValue),enabled:r.asOptionalBoolean(A.props.enabled),placeholder:r.asOptionalString(A.props.placeholder),validationStatus:r(A.props.validationStatus),updateState:t,onDidChange:o("didChange"),onFocus:o("gotFocus"),onBlur:o("lostFocus"),registerComponentApi:a,hasSpinBox:r.asOptionalBoolean(A.props.hasSpinBox),step:r(A.props.step),integersOnly:r.asOptionalBoolean(A.props.integersOnly),zeroOrPositive:r.asOptionalBoolean(A.props.zeroOrPositive),maxFractionDigits:r.asOptionalNumber(A.props.maxFractionDigits),min:r.asOptionalNumber(A.props.minValue),max:r.asOptionalNumber(A.props.maxValue),startText:r.asOptionalString(A.props.startText),startIcon:r.asOptionalString(A.props.startIcon),endText:r.asOptionalString(A.props.endText),endIcon:r.asOptionalString(A.props.endIcon),spinnerUpIcon:r.asOptionalString(A.props.spinnerUpIcon),spinnerDownIcon:r.asOptionalString(A.props.spinnerDownIcon),autoFocus:r.asOptionalBoolean(A.props.autoFocus),readOnly:r.asOptionalBoolean(A.props.readOnly),label:r(A.props.label),labelPosition:r(A.props.labelPosition),labelWidth:r(A.props.labelWidth),labelBreak:r.asOptionalBoolean(A.props.labelBreak),required:r.asOptionalBoolean(A.props.required)})),Qr="NavPanel",jQ={status:"stable",description:"`NavPanel` defines the navigation structure within an App, serving as a container for NavLink and NavGroup components that create your application's primary navigation menu. Its appearance and behavior automatically adapt based on the App's layout configuration.",props:{logoTemplate:qA("This property defines the logo template to display in the navigation panel with the `vertical` and `vertical-sticky` layout."),inDrawer:{description:"This property determines if the navigation panel is displayed in a drawer.",valueType:"boolean",defaultValue:cC.inDrawer}},themeVars:CA(Ko.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`horizontalAlignment-logo-${Qr}`]:"center",[`backgroundColor-${Qr}`]:"$backgroundColor",[`backgroundColor-${Qr}-horizontal`]:"$backgroundColor-AppHeader",[`border-${Qr}`]:"0px solid $borderColor",[`paddingHorizontal-${Qr}`]:"0",[`paddingVertical-logo-${Qr}`]:"$space-4",[`paddingHorizontal-logo-${Qr}`]:"$space-4",[`marginBottom-logo-${Qr}`]:"$space-4",[`boxShadow-${Qr}-vertical`]:"4px 0 4px 0 rgb(0 0 0 / 10%)"}};function BL({node:A,renderChild:e,layoutCss:t,layoutContext:o,extractValue:r}){const n=d.useMemo(()=>hl(A.children,r,void 0,[]),[r,A.children]);return c.jsx(F2,{style:t,logoContent:e(A.props.logoTemplate),className:o==null?void 0:o.themeClassName,inDrawer:o==null?void 0:o.inDrawer,renderChild:e,navLinks:n,children:e(A.children)})}const pL=$(Qr,jQ,({node:A,renderChild:e,layoutCss:t,layoutContext:o,extractValue:r})=>c.jsx(BL,{node:A,renderChild:e,layoutCss:t,layoutContext:o,extractValue:r})),CL={wrapper:"_wrapper_1gpge_13"},_Q={fallbackPath:"/"};function mL({childRoute:A=Ae,renderChild:e,layoutContext:t,style:o,uid:r}){const n=Ue.useParams(),a=d.useMemo(()=>Array.isArray(A)?{type:"Fragment",uid:r,vars:YA,children:A}:{type:"Fragment",uid:r,vars:YA,children:[A]},[A,r]),i=d.useMemo(()=>{const{padding:s,paddingLeft:l,paddingRight:g,paddingTop:u,paddingBottom:p,...B}=o;return{...B,"--page-padding-left-override":s||l,"--page-padding-right-override":s||g,"--page-padding-top-override":s||u,"--page-padding-bottom-override":s||p}},[o]);return c.jsx("div",{className:aA(CL.wrapper,"xmlui-page-root"),style:i,children:e(a,t)},JSON.stringify(n))}function hL({node:A,renderChild:e,extractValue:t,fallbackPath:o=_Q.fallbackPath}){var a;const r=[],n=[];return(a=A.children)==null||a.forEach(i=>{i.type==="Page"?r.push(i):n.push(i)}),c.jsxs(c.Fragment,{children:[c.jsxs(Ue.Routes,{children:[r.map((i,s)=>c.jsx(Ue.Route,{path:t(i.props.url),element:e(i)},s)),c.jsx(Ue.Route,{path:"*",element:c.jsx(Ue.Navigate,{to:o,replace:!0})})]}),e(n)]})}const QL="Page",WQ={status:"stable",docFolder:"Pages",description:"`Page` defines route endpoints within an application, mapping specific URL patterns to content that displays when users navigate to those routes. Each Page represents a distinct view or screen in your single-page application's routing system.",props:{url:k("The URL of the route associated with the content. If not set, the page is not available."),navLabel:He("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.")}},EL=$(QL,WQ,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>c.jsx(i1,{children:c.jsx(mL,{childRoute:A.children,uid:A.uid,renderChild:t,style:o},e(A.props.url))})),IL="Pages",JQ={status:"stable",description:"`Pages` serves as the routing coordinator within an [App](/components/App), managing which [Page](/components/Page) displays based on the current URL.",props:{fallbackPath:{description:"The fallback path when the current URL does not match any of the paths of the pages.",defaultValue:_Q.fallbackPath}}},wL=$(IL,JQ,({node:A,extractValue:e,renderChild:t})=>c.jsx(hL,{fallbackPath:e(A.props.fallbackPath),node:A,renderChild:t,extractValue:e})),ss="NavGroup",$Q={status:"stable",description:"`NavGroup` creates collapsible containers for organizing related navigation items into hierarchical menu structures. It groups `NavLink` components and other `NavGroup` components, providing expandable submenus with customizable icons and states.",props:{label:Fe(),initiallyExpanded:k("This property defines whether the group is initially expanded or collapsed. If not defined, the group is collapsed by default."),enabled:Ke(),to:{description:"This property defines an optional navigation link.",valueType:"string"},icon:{description:`This property defines an optional icon to display along with the \`${ss}\` 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:Eo.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:Eo.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:Eo.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:Eo.iconVerticalCollapsed}},themeVars:CA(ji.themeVars),defaultThemeVars:{[`backgroundColor-dropdown-${ss}`]:"$backgroundColor-primary",[`borderRadius-dropdown-${ss}`]:"$borderRadius",[`boxShadow-dropdown-${ss}`]:"$boxShadow-spread"}},fL=$(ss,$Q,({node:A,extractValue:e,renderChild:t})=>c.jsx(P2,{label:e.asDisplayText(A.props.label),disabled:!e.asOptionalBoolean(A.props.enabled??!0),to:e.asOptionalString(A.props.to),icon:c.jsx(yA,{name:e.asString(A.props.icon),className:Qo.icon}),node:A,initiallyExpanded:e.asOptionalBoolean(A.props.initiallyExpanded),renderChild:t,iconHorizontalExpanded:e.asOptionalString(A.props.iconHorizontalExpanded),iconVerticalExpanded:e.asOptionalString(A.props.iconVerticalExpanded),iconHorizontalCollapsed:e.asOptionalString(A.props.iconHorizontalCollapsed),iconVerticalCollapsed:e.asOptionalString(A.props.iconVerticalCollapsed)})),oi="RadioGroup",Tt="RadioGroupOption",zQ={status:"stable",description:"`RadioGroup` creates a mutually exclusive selection interface where users can choose only one option from a group of radio buttons. It manages the selection state and ensures that selecting one option automatically deselects all others in the group.",props:{initialValue:{...Yt(),defaultValue:mr.initialValue},autoFocus:mt(),required:{...oo(),defaultValue:mr.required},readOnly:eo(),enabled:{...Ke(),defaultValue:mr.enabled},validationStatus:{...to(),defaultValue:mr.validationStatus},orientation:He("(*** NOT IMPLEMENTED YET ***) This property sets the orientation of the options within the radio group."),label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(oi),labelBreak:Ao(oi)},events:{gotFocus:Ot(oi),lostFocus:Rt(oi),didChange:ct(oi)},themeVars:CA(xt.themeVars),defaultThemeVars:{[`gap-${Tt}`]:"$space-1_5",[`borderWidth-${Tt}`]:"1px",[`borderWidth-${Tt}-validation`]:"2px",[`borderColor-${Tt}-default`]:"$color-surface-500",[`borderColor-checked-${Tt}`]:"$color-primary-500",[`borderColor-${Tt}-default--hover`]:"$color-surface-700",[`borderColor-${Tt}-default--active`]:"$color-primary-500",[`borderColor-${Tt}-error`]:"$borderColor-Input-default--error",[`borderColor-${Tt}-warning`]:"$borderColor-Input-default--warning",[`borderColor-${Tt}-success`]:"$borderColor-Input-default--success",[`backgroundColor-${Tt}--disabled`]:"$backgroundColor--disabled",[`backgroundColor-checked-${Tt}`]:"$color-primary-500",[`backgroundColor-checked-${Tt}--disabled`]:"$textColor--disabled",[`fontSize-${Tt}`]:"$fontSize-small",[`fontWeight-${Tt}`]:"$fontWeight-bold"}},bL=$(oi,zQ,({node:A,extractValue:e,layoutCss:t,state:o,updateState:r,lookupEventHandler:n,renderChild:a,registerComponentApi:i})=>c.jsx(uh,{enabled:e.asOptionalBoolean(A.props.enabled),style:t,initialValue:e(A.props.initialValue),value:o==null?void 0:o.value,updateState:r,validationStatus:e(A.props.validationStatus),onDidChange:n("didChange"),onFocus:n("gotFocus"),onBlur:n("lostFocus"),registerComponentApi:i,label:e.asOptionalString(A.props.label),labelPosition:e(A.props.labelPosition),labelWidth:e(A.props.labelWidth),labelBreak:e(A.props.labelBreak),required:e.asOptionalBoolean(A.props.required),children:a(A.children)})),DL="Slot",vL={status:"experimental",description:"Placeholder in a reusable component. Signs the slot where the component's injected children should be rendered.",props:{name:k("This optional property defines the name of the slot.")},allowArbitraryProps:!0,opaque:!0},yL=$s(DL,vL),cc="Spinner",qQ={status:"stable",description:"`Spinner` is an animated indicator that represents an action in progress with no deterministic progress value.",props:{delay:{description:"The delay in milliseconds before the spinner is displayed.",valueType:"number",defaultValue:sl.delay},fullScreen:{description:"If set to `true`, the component will be rendered in a full screen container.",valueType:"boolean",defaultValue:sl.fullScreen}},themeVars:CA($g.themeVars),defaultThemeVars:{[`size-${cc}`]:"$space-10",[`thickness-${cc}`]:"$space-0_5",[`borderColor-${cc}`]:"$color-surface-400"}},xL=$(cc,qQ,({node:A,layoutCss:e,extractValue:t})=>(delete e.width,delete e.minWidth,delete e.maxWidth,delete e.height,delete e.minHeight,delete e.maxHeight,c.jsx(ll,{style:e,delay:t.asOptionalNumber(A.props.delay),fullScreen:t.asOptionalBoolean(A.props.fullScreen)}))),Be="Select",VQ={status:"stable",description:"`Select` provides a dropdown interface for choosing from a list of options, supporting both single and multiple selection modes. It offers extensive customization capabilities including search functionality, custom templates, and comprehensive form integration.",props:{placeholder:{...zr(),defaultValue:Oe.placeholder},initialValue:Yt(),autoFocus:{...mt(),defaultValue:Oe.autoFocus},required:{...oo(),defaultValue:Oe.required},readOnly:{...eo(),defaultValue:Oe.readOnly},enabled:{...Ke(),defaultValue:Oe.enabled},validationStatus:{...to(),defaultValue:Oe.validationStatus},label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(Be),labelBreak:{...Ao(Be),defaultValue:Oe.labelBreak},optionLabelTemplate:qA("This property allows replacing the default template to display an option in the dropdown list."),optionTemplate:qA("This property allows replacing the default template to display an option in the dropdown list."),valueTemplate:qA("This property allows replacing the default template to display a selected value when multiple selections (`multiSelect` is `true`) are enabled."),dropdownHeight:k("This property sets the height of the dropdown list. If not set, the height is determined automatically."),emptyListTemplate:qA("This optional property provides the ability to customize what is displayed when the list of options is empty."),multiSelect:{...lp(),defaultValue:Oe.multiSelect},searchable:{description:"This property enables the search functionality in the dropdown list.",defaultValue:Oe.searchable},inProgress:{description:"This property indicates whether the component is in progress. It can be used to show a loading message.",defaultValue:Oe.inProgress},inProgressNotificationMessage:{description:"This property indicates the message to display when the component is in progress.",defaultValue:Oe.inProgressNotificationMessage}},events:{gotFocus:Ot(Be),lostFocus:Rt(Be),didChange:ct(Be)},apis:{focus:Go(Be),setValue:ho(),value:ba(),reset:k("This method resets the component to its initial value, or clears the selection if no initial value was provided.")},contextVars:{$item:k("Represents the current option's data (label and value properties)"),$itemContext:k("Provides utility methods like `removeItem()` for multi-select scenarios")},themeVars:CA(XA.themeVars),defaultThemeVars:{[`backgroundColor-menu-${Be}`]:"$color-surface-raised",[`boxShadow-menu-${Be}`]:"$boxShadow-md",[`borderRadius-menu-${Be}`]:"$borderRadius",[`borderWidth-menu-${Be}`]:"1px",[`borderColor-menu-${Be}`]:"$borderColor",[`backgroundColor-${Be}-badge`]:"$color-primary-500",[`fontSize-${Be}-badge`]:"$fontSize-small",[`paddingHorizontal-${Be}-badge`]:"$space-1",[`paddingVertical-${Be}-badge`]:"$space-1",[`paddingHorizontal-item-${Be}`]:"$space-2",[`paddingVertical-item-${Be}`]:"$space-2",[`opacity-text-item-${Be}--disabled`]:"0.5",[`opacity-${Be}--disabled`]:"0.5",[`backgroundColor-${Be}-badge--hover`]:"$color-primary-400",[`backgroundColor-${Be}-badge--active`]:"$color-primary-500",[`textColor-item-${Be}--disabled`]:"$color-surface-200",[`textColor-${Be}-badge`]:"$color-surface-50",[`backgroundColor-item-${Be}`]:"$backgroundColor-dropdown-item",[`backgroundColor-item-${Be}--hover`]:"$backgroundColor-dropdown-item--hover",[`backgroundColor-item-${Be}--active`]:"$backgroundColor-dropdown-item--active",[`borderColor-${Be}--disabled`]:"initial"}},kL=$(Be,VQ,({node:A,state:e,updateState:t,extractValue:o,renderChild:r,lookupEventHandler:n,layoutCss:a,registerComponentApi:i})=>{const s=o.asOptionalBoolean(A.props.multiSelect),l=o.asOptionalBoolean(A.props.searchable);return c.jsx(sh,{multiSelect:s,style:a,inProgress:o.asOptionalBoolean(A.props.inProgress),inProgressNotificationMessage:o.asOptionalString(A.props.inProgressNotificationMessage),readOnly:o.asOptionalBoolean(A.props.readOnly),updateState:t,searchable:l,initialValue:o(A.props.initialValue),value:e==null?void 0:e.value,autoFocus:o.asOptionalBoolean(A.props.autoFocus),enabled:o.asOptionalBoolean(A.props.enabled),placeholder:o.asOptionalString(A.props.placeholder),validationStatus:o(A.props.validationStatus),onDidChange:n("didChange"),onFocus:n("gotFocus"),onBlur:n("lostFocus"),registerComponentApi:i,emptyListTemplate:r(A.props.emptyListTemplate),dropdownHeight:o(A.props.dropdownHeight),label:o(A.props.label),labelPosition:o(A.props.labelPosition),labelWidth:o(A.props.labelWidth),labelBreak:o.asOptionalBoolean(A.props.labelBreak),required:o.asOptionalBoolean(A.props.required),optionLabelRenderer:A.props.optionLabelTemplate?g=>c.jsx(tt,{node:A.props.optionLabelTemplate,item:g,renderChild:r}):void 0,optionRenderer:A.props.optionTemplate?(g,u,p)=>c.jsx(tt,{node:A.props.optionTemplate,item:g,contextVars:{$selectedValue:u,$inTrigger:p},renderChild:(...B)=>s||l?r(...B):c.jsx(Gt.SelectItemText,{children:r(...B)})}):void 0,valueRenderer:A.props.valueTemplate?(g,u)=>c.jsx(tt,{contextVars:{$itemContext:{removeItem:u}},node:A.props.valueTemplate,item:g,renderChild:r}):void 0,children:r(A.children)})});var W=(A=>(A[A.Unknown=0]="Unknown",A[A.EndOfFileToken=1]="EndOfFileToken",A[A.CommentTrivia=2]="CommentTrivia",A[A.NewLineTrivia=3]="NewLineTrivia",A[A.WhitespaceTrivia=4]="WhitespaceTrivia",A[A.Identifier=5]="Identifier",A[A.OpenNodeStart=6]="OpenNodeStart",A[A.CloseNodeStart=7]="CloseNodeStart",A[A.NodeEnd=8]="NodeEnd",A[A.NodeClose=9]="NodeClose",A[A.Colon=10]="Colon",A[A.Equal=11]="Equal",A[A.StringLiteral=12]="StringLiteral",A[A.CData=13]="CData",A[A.Script=14]="Script",A[A.TextNode=15]="TextNode",A[A.AmpersandEntity=16]="AmpersandEntity",A[A.LessThanEntity=17]="LessThanEntity",A[A.GreaterThanEntity=18]="GreaterThanEntity",A[A.SingleQuoteEntity=19]="SingleQuoteEntity",A[A.DoubleQuoteEntity=20]="DoubleQuoteEntity",A[A.ElementNode=21]="ElementNode",A[A.AttributeNode=22]="AttributeNode",A[A.AttributeKeyNode=23]="AttributeKeyNode",A[A.ContentListNode=24]="ContentListNode",A[A.AttributeListNode=25]="AttributeListNode",A[A.TagNameNode=26]="TagNameNode",A[A.ErrorNode=27]="ErrorNode",A))(W||{});function HL(A){return A>=2&&A<=4}function ZQ(A){switch(A){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 SL()}function SL(A){throw new Error("Didn't expect to get here")}function ML(A,e,t){var n,a;const o=((n=A.children)==null?void 0:n.filter(i=>i.kind!==W.ErrorNode))??[],r=((a=e.children)==null?void 0:a.filter(i=>i.kind!==W.ErrorNode))??[];if(o.length!==r.length)return!1;for(let i=0;i<o.length;++i)if(t(o[i])!==t(r[i]))return!1;return!0}function LL(A,e){const t=[A];let o;if(A.start>e||e>A.end)return;const r={chainAtPos:t,chainBeforePos:void 0,sharedParents:void 0};for(;A.children!==void 0&&A.children.length>0;){const n=A.children.findIndex(s=>s.start<=e&&(e<s.end||s.kind===W.EndOfFileToken&&s.start<=s.end)),a=A.children[n],i=A.children[n-1];if(i!==void 0&&e<=a.pos)return o=t.length,{chainBeforePos:t.concat(NL(i)),sharedParents:o,chainAtPos:t.concat(TL(a))};A=a,r.chainAtPos.push(A)}return r}function TL(A){const e=[A];for(;A.children!==void 0&&A.children.length>0;)A=A.children[0],e.push(A);return e}function NL(A){const e=[A];for(;A.children!==void 0&&A.children.length>0;)A=A.children[A.children.length-1],e.push(A);return e}let En=class{constructor(e,t,o,r,n){var a,i;this.kind=e,this.pos=t,this.end=o,this.triviaBefore=r,this.children=n,r?this.start=((a=r[0])==null?void 0:a.start)??t:n?this.start=((i=n[0])==null?void 0:i.start)??t:this.start=t}isElementNode(){return this.kind===W.ElementNode}isAttributeNode(){return this.kind===W.AttributeNode}isAttributeKeyNode(){return this.kind===W.AttributeKeyNode}isContentListNode(){return this.kind===W.ContentListNode}isAttributeListNode(){return this.kind===W.AttributeListNode}isTagNameNode(){return this.kind===W.TagNameNode}findTokenAtPos(e){return LL(this,e)}};var oA=(A=>(A[A.EOF=-1]="EOF",A[A.nullCharacter=0]="nullCharacter",A[A.maxAsciiCharacter=127]="maxAsciiCharacter",A[A.lineFeed=10]="lineFeed",A[A.carriageReturn=13]="carriageReturn",A[A.lineSeparator=8232]="lineSeparator",A[A.paragraphSeparator=8233]="paragraphSeparator",A[A.nextLine=133]="nextLine",A[A.space=32]="space",A[A.nonBreakingSpace=160]="nonBreakingSpace",A[A.enQuad=8192]="enQuad",A[A.emQuad=8193]="emQuad",A[A.enSpace=8194]="enSpace",A[A.emSpace=8195]="emSpace",A[A.threePerEmSpace=8196]="threePerEmSpace",A[A.fourPerEmSpace=8197]="fourPerEmSpace",A[A.sixPerEmSpace=8198]="sixPerEmSpace",A[A.figureSpace=8199]="figureSpace",A[A.punctuationSpace=8200]="punctuationSpace",A[A.thinSpace=8201]="thinSpace",A[A.hairSpace=8202]="hairSpace",A[A.zeroWidthSpace=8203]="zeroWidthSpace",A[A.narrowNoBreakSpace=8239]="narrowNoBreakSpace",A[A.ideographicSpace=12288]="ideographicSpace",A[A.mathematicalSpace=8287]="mathematicalSpace",A[A.ogham=5760]="ogham",A[A.replacementCharacter=65533]="replacementCharacter",A[A._=95]="_",A[A.$=36]="$",A[A._0=48]="_0",A[A._1=49]="_1",A[A._2=50]="_2",A[A._3=51]="_3",A[A._4=52]="_4",A[A._5=53]="_5",A[A._6=54]="_6",A[A._7=55]="_7",A[A._8=56]="_8",A[A._9=57]="_9",A[A.a=97]="a",A[A.b=98]="b",A[A.c=99]="c",A[A.d=100]="d",A[A.e=101]="e",A[A.f=102]="f",A[A.g=103]="g",A[A.h=104]="h",A[A.i=105]="i",A[A.j=106]="j",A[A.k=107]="k",A[A.l=108]="l",A[A.m=109]="m",A[A.n=110]="n",A[A.o=111]="o",A[A.p=112]="p",A[A.q=113]="q",A[A.r=114]="r",A[A.s=115]="s",A[A.t=116]="t",A[A.u=117]="u",A[A.v=118]="v",A[A.w=119]="w",A[A.x=120]="x",A[A.y=121]="y",A[A.z=122]="z",A[A.A=65]="A",A[A.B=66]="B",A[A.C=67]="C",A[A.D=68]="D",A[A.E=69]="E",A[A.F=70]="F",A[A.G=71]="G",A[A.H=72]="H",A[A.I=73]="I",A[A.J=74]="J",A[A.K=75]="K",A[A.L=76]="L",A[A.M=77]="M",A[A.N=78]="N",A[A.O=79]="O",A[A.P=80]="P",A[A.Q=81]="Q",A[A.R=82]="R",A[A.S=83]="S",A[A.T=84]="T",A[A.U=85]="U",A[A.V=86]="V",A[A.W=87]="W",A[A.X=88]="X",A[A.Y=89]="Y",A[A.Z=90]="Z",A[A.ampersand=38]="ampersand",A[A.asterisk=42]="asterisk",A[A.at=64]="at",A[A.backslash=92]="backslash",A[A.backtick=96]="backtick",A[A.bar=124]="bar",A[A.caret=94]="caret",A[A.closeBrace=125]="closeBrace",A[A.closeBracket=93]="closeBracket",A[A.closeParen=41]="closeParen",A[A.colon=58]="colon",A[A.comma=44]="comma",A[A.dot=46]="dot",A[A.doubleQuote=34]="doubleQuote",A[A.equals=61]="equals",A[A.exclamation=33]="exclamation",A[A.greaterThan=62]="greaterThan",A[A.hash=35]="hash",A[A.lessThan=60]="lessThan",A[A.minus=45]="minus",A[A.openBrace=123]="openBrace",A[A.openBracket=91]="openBracket",A[A.openParen=40]="openParen",A[A.percent=37]="percent",A[A.plus=43]="plus",A[A.question=63]="question",A[A.semicolon=59]="semicolon",A[A.singleQuote=39]="singleQuote",A[A.slash=47]="slash",A[A.tilde=126]="tilde",A[A.backspace=8]="backspace",A[A.formFeed=12]="formFeed",A[A.byteOrderMark=65279]="byteOrderMark",A[A.tab=9]="tab",A[A.verticalTab=11]="verticalTab",A))(oA||{}),XQ=(A=>(A[A.Error=1]="Error",A[A.Warning=2]="Warning",A[A.Information=3]="Information",A[A.Hint=4]="Hint",A))(XQ||{}),gc=(A=>(A.onlyOneElem="U002",A.expTagOpen="U003",A.expTagName="U004",A.expCloseStart="U005",A.expEndOrClose="U006",A.tagNameMismatch="U007",A.expEnd="U008",A.expAttrName="U009",A.expEq="U010",A.expAttrValue="U011",A.duplAttr="U012",A.uppercaseAttr="U013",A.expTagNameAfterNamespace="U014",A.expCloseStartWithName="U015",A.expAttrNameAfterNamespace="U016",A.invalidChar="W001",A.untermStr="W002",A.untermComment="W007",A.untermCData="W008",A.untermScript="W009",A))(gc||{});const Pe={expCloseStartWithName:function(A){return{category:1,code:"U015",message:`Opened tag has no closing pair. Expected to see '</${A}>'.`}},expCloseStart:{category:1,code:"U005",message:"A '</' token expected."},uppercaseAttr:function(A){return{category:1,code:"U013",message:`Attribute name '${A}' cannot start with an uppercase letter.`}},duplAttr:function(A){return{category:1,code:"U012",message:`Duplicated attribute: '${A}'.`}},tagNameMismatch:function(A,e){return{category:1,code:"U007",message:`Opening and closing tag names should match. Opening tag has a name '${A}', but the closing tag name is '${e}'.`}},invalidChar:function(A){return{category:1,code:"W001",message:`Invalid character '${A}'.`}},expEnd:{category:1,code:"U008",message:"A '>' token expected."},expTagName:{category:1,code:"U004",message:"A tag name expected."},expAttrStr:{category:1,code:"U011",message:"A string expected as an attribute value after '='."},expEq:{category:1,code:"U010",message:"An '=' token expected."},expTagOpen:{category:1,code:"U003",message:"A '<' token expected."},expEndOrClose:{category:1,code:"U006",message:"A '>' or '/>' token expected."},expAttrName:{category:1,code:"U009",message:"An attribute name expected."},expAttrNameAfterNamespace:{category:1,code:"U016",message:"An attribute name expected after a namespaces."},expTagNameAfterNamespace:{category:1,code:"U014",message:"A tag name expected after a namespaces."}},sd={code:"W001",category:1,message:"Invalid character."},FL={code:"W002",category:1,message:"Unterminated string literal."},PL={code:"W007",category:1,message:"Unterminated comment"},GL={code:"W008",category:1,message:"Unterminated CDATA section"},OL={code:"W009",category:1,message:"Unterminated script section"};function RL(A,e,t,o,r){let n=e??"",a,i,s,l,g,u;return w(n,o,r),{getStartPos:()=>s,getTokenEnd:()=>a,getToken:()=>g,getTokenStart:()=>l,getTokenText:()=>n.substring(l,a),getTokenValue:()=>u,isIdentifier:()=>g===W.Identifier,peekChar:p,scanChar:B,scan:C,scanTrivia:m,scanText:h,getText:Q,setText:w,setOnError:v,resetTokenState:f,back:M};function p(L){if(a+(L??0)>=i)return null;const T=D(a+(L??0));return isNaN(T)?null:T}function B(){if(a>=i)return null;const L=D(a);return a+=Pr(L),L}function C(){for(s=a;;){if(l=a,a>=i)return g=W.EndOfFileToken;const L=D(a);switch(L){case oA.lineFeed:case oA.carriageReturn:return L===oA.carriageReturn&&a+1<i&&E(a+1)===oA.lineFeed?a+=2:a++,g=W.NewLineTrivia;case oA.tab:case oA.verticalTab:case oA.formFeed:case oA.space:case oA.nonBreakingSpace:case oA.ogham:case oA.enQuad:case oA.emQuad:case oA.enSpace:case oA.emSpace:case oA.threePerEmSpace:case oA.fourPerEmSpace:case oA.sixPerEmSpace:case oA.figureSpace:case oA.punctuationSpace:case oA.thinSpace:case oA.hairSpace:case oA.zeroWidthSpace:case oA.narrowNoBreakSpace:case oA.mathematicalSpace:case oA.ideographicSpace:case oA.byteOrderMark:{for(;a<i&&eE(E(a));)a++;return g=W.WhitespaceTrivia}case oA.doubleQuote:case oA.singleQuote:case oA.backtick:return u=b(),g=W.StringLiteral;case oA.ampersand:return E(a+1)===oA.a&&E(a+2)===oA.m&&E(a+3)===oA.p&&E(a+4)===oA.semicolon?(a+=5,g=W.AmpersandEntity):E(a+1)===oA.l&&E(a+2)===oA.t&&E(a+3)===oA.semicolon?(a+=4,g=W.LessThanEntity):E(a+1)===oA.g&&E(a+2)===oA.t&&E(a+3)===oA.semicolon?(a+=4,g=W.GreaterThanEntity):E(a+1)===oA.q&&E(a+2)===oA.u&&E(a+3)===oA.o&&E(a+4)===oA.t&&E(a+5)===oA.semicolon?(a+=6,g=W.DoubleQuoteEntity):E(a+1)===oA.a&&E(a+2)===oA.p&&E(a+3)===oA.o&&E(a+4)===oA.s&&E(a+5)===oA.semicolon?(a+=6,g=W.SingleQuoteEntity):(a++,x(sd,1),g=W.Unknown);case oA.equals:return a++,g=W.Equal;case oA.colon:return a++,g=W.Colon;case oA.lessThan:if(E(a+1)===oA.slash)return a+=2,g=W.CloseNodeStart;if(E(a+1)===oA.exclamation&&E(a+2)===oA.minus&&E(a+3)===oA.minus){for(a+=4;a<i;){if(E(a)===oA.minus&&E(a+1)===oA.minus&&E(a+2)===oA.greaterThan)return a+=3,g=W.CommentTrivia;a+=Pr(E(a))}return x(PL,4),g=W.Unknown}else if(E(a+1)===oA.exclamation&&E(a+2)===oA.openBracket&&E(a+3)===oA.C&&E(a+4)===oA.D&&E(a+5)===oA.A&&E(a+6)===oA.T&&E(a+7)===oA.A&&E(a+8)===oA.openBracket){for(a+=9;a<i;){if(E(a)===oA.closeBracket&&E(a+1)===oA.closeBracket&&E(a+2)===oA.greaterThan)return a+=3,g=W.CData;a+=Pr(E(a))}return x(GL,9),g=W.CData}else if(E(a+1)===oA.s&&E(a+2)===oA.c&&E(a+3)===oA.r&&E(a+4)===oA.i&&E(a+5)===oA.p&&E(a+6)===oA.t&&E(a+7)===oA.greaterThan){for(a+=8;a<i;){if(E(a)===oA.lessThan&&E(a+1)===oA.slash&&E(a+2)===oA.s&&E(a+3)===oA.c&&E(a+4)===oA.r&&E(a+5)===oA.i&&E(a+6)===oA.p&&E(a+7)===oA.t&&E(a+8)===oA.greaterThan)return a+=9,g=W.Script;a+=Pr(E(a))}return x(OL,9),g=W.Script}return a++,g=W.OpenNodeStart;case oA.slash:return E(a+1)===oA.greaterThan?(a+=2,g=W.NodeClose):(a++,x(sd,1),g=W.Unknown);case oA.greaterThan:return a++,g=W.NodeEnd;default:const T=S(L);if(T)return g=T;if(eE(L)){a+=Pr(L);continue}else if(_L(L)){a+=Pr(L);continue}const H=Pr(L);return a+=H,x(sd,H),g=W.Unknown}}}function m(){const L=a,T=C();return HL(T)?T:(f(L),null)}function h(){return W.Unknown}function Q(){return n}function E(L){return n.charCodeAt(L)}function D(L){return I(n,L)}function I(L,T){return L.codePointAt(T)??0}function w(L,T,H){n=L||"",i=H===void 0?n.length:T+H,f(T||0)}function v(L){t=L}function f(L){a=L,s=L,l=L,g=W.Unknown,u=void 0}function M(){f(s)}function S(L){let T=L;if(YL(T)){for(a+=Pr(T);a<i&&jL(T=D(a));)a+=Pr(T);return u=n.substring(l,a),G()}}function G(){return g=W.Identifier}function b(){const L=E(a);a++;let T="",H=a;for(;;){if(a>=i){T+=n.substring(H,a),x(FL,1);break}if(E(a)===L){T+=n.substring(H,a),a++;break}a++}return T}function x(L,T=0){t&&t(L,T)}}function Pr(A){return A>=65536?2:A===oA.EOF?0:1}function AE(A){return A>=oA.A&&A<=oA.Z||A>=oA.a&&A<=oA.z}function UL(A){return AE(A)||KL(A)||A===oA._}function KL(A){return A>=oA._0&&A<=oA._9}function YL(A){return AE(A)||A===oA.$||A===oA._}function jL(A){return UL(A)||A===oA.$||A===oA.minus||A===oA.dot}function eE(A){return A===oA.space||A===oA.tab||A===oA.verticalTab||A===oA.formFeed||A===oA.nonBreakingSpace||A===oA.nextLine||A===oA.ogham||A>=oA.enQuad&&A<=oA.zeroWidthSpace||A===oA.narrowNoBreakSpace||A===oA.mathematicalSpace||A===oA.ideographicSpace||A===oA.byteOrderMark}function _L(A){return A===oA.lineFeed||A===oA.carriageReturn||A===oA.lineSeparator||A===oA.paragraphSeparator}const WL=[W.CData,W.Script,W.OpenNodeStart],ls=[W.OpenNodeStart,W.NodeEnd,W.NodeClose,W.CloseNodeStart,W.CData,W.Script],tE=[W.Identifier,...ls],JL=[W.TextNode,W.StringLiteral,W.CData,W.Script,W.OpenNodeStart,W.CloseNodeStart],$L=[W.NodeEnd,W.OpenNodeStart,W.CloseNodeStart,W.CData,W.Script];function zL(A){return{parse:()=>qL(A),getText:(e,t=!0)=>A.substring(t?e.pos??e.start??0:e.start??e.pos??0,e.end)}}function qL(A){const e=[],t=[];let o,r={children:[]},n;const i=RL(!1,A,function(O,U){n={message:O,prefixLength:U}});return{node:g(),errors:e};function l(O,U=!0){return A.substring(U?O.pos:O.start,O.end)}function g(){for(;;)switch(b().kind){case W.EndOfFileToken:return L(),oE(W.ContentListNode,r.children);case W.CData:case W.Script:L();break;case W.OpenNodeStart:p();break;default:const U=v(WL);w(Pe.expTagOpen,U.pos,U.end);break}}function u(){T();A:for(;;)switch(b().kind){case W.TextNode:case W.StringLiteral:case W.CData:case W.Script:L();break;case W.OpenNodeStart:p();break;case W.CloseNodeStart:case W.EndOfFileToken:break A;default:const U=v(JL);w(Pe.expTagOpen,U.pos,U.end);break}r.children&&r.children.length>0?H(W.ContentListNode):j()}function p(){T(),x(W.OpenNodeStart);let O=!0,U=null;if(S(W.Identifier)){const J=B();O=J.errInName,U=J.node}else{const J=v(ls);J?w(Pe.expTagName,J.pos,J.end):I(Pe.expTagName)}switch(O||C(),G().kind){case W.NodeClose:{L(),H(W.ElementNode);return}case W.NodeEnd:{L(),u(),Q(U,O),H(W.ElementNode);return}default:{H(W.ElementNode),I(Pe.expEndOrClose);return}}}function B(){if(T(),x(W.Identifier),M(W.Colon)&&!M(W.Identifier)){const O=H(W.TagNameNode);return w(Pe.expTagNameAfterNamespace,O.pos,O.end),v([W.Identifier,...ls]),{node:O,errInName:!0}}else return{node:H(W.TagNameNode),errInName:!1}}function C(){T();const O=[];A:for(;;)switch(G().kind){case W.EndOfFileToken:case W.OpenNodeStart:case W.NodeEnd:case W.NodeClose:case W.CloseNodeStart:case W.CData:case W.Script:break A;default:m(O)}r.children.length===0?j():H(W.AttributeListNode)}function m(O){if(T(),S(W.Identifier))h(O);else{const U=v(tE);U?(w(Pe.expAttrName,U.pos,U.end),H(W.AttributeNode)):(j(),I(Pe.expAttrName));return}if(M(W.Equal)&&!M(W.StringLiteral)){const U=v(tE);U?w(Pe.expAttrStr,U.pos,U.end):I(Pe.expAttrStr)}H(W.AttributeNode)}function h(O){let U=G(),J;if(T(),x(W.Identifier),M(W.Colon))if(S(W.Identifier))J=U,U=x(W.Identifier);else{const V=v([W.Equal,W.Identifier,...ls]);V?w(Pe.expAttrNameAfterNamespace,V.pos,V.end):I(Pe.expAttrNameAfterNamespace)}D(O,{nsIdent:J,nameIdent:U}),H(W.AttributeKeyNode)}function Q(O,U){if(M(W.CloseNodeStart)){if(S(W.Identifier)){const J=E();if(!U&&O!==null&&!ML(O,J,l)){const Z=Pe.tagNameMismatch(l(O),l(J));w(Z,J.pos,J.end)}}else{const J=v($L);J?w(Pe.expTagName,J.pos,J.end):I(Pe.expTagName)}M(W.NodeEnd)||I(Pe.expEnd)}else O?w(Pe.expCloseStartWithName(l(O)),O.pos,O.end):I(Pe.expCloseStart)}function E(){if(T(),x(W.Identifier),M(W.Colon)&&!M(W.Identifier)){const O=H(W.TagNameNode);return w(Pe.expTagNameAfterNamespace,O.pos,O.end),v(ls),O}else return H(W.TagNameNode)}function D(O,{nameIdent:U,nsIdent:J}){const V=l(U),Z=J&&l(J),R=({ns:eA,name:cA})=>cA===V&&eA===Z,K=O.findIndex(R)!==-1,z="A"<=V[0]&&V[0]<="Z",AA=K||z;K&&w(Pe.duplAttr(V),U.pos,U.end),!J&&z&&w(Pe.uppercaseAttr(V),U.pos,U.end),AA||O.push({name:V,ns:Z})}function I({code:O,message:U,category:J}){const{pos:V,end:Z}=G();e.push({category:J,code:O,message:U,pos:V,end:Z})}function w({code:O,message:U,category:J},V,Z){e.push({category:J,code:O,message:U,pos:V,end:Z})}function v(O){return T(),f(O),r.children.length===0?(j(),null):H(W.ErrorNode)}function f(O){for(let U=G();U.kind!==W.EndOfFileToken&&!O.includes(U.kind);L(),U=G());}function M(O){const U=S(O);return U&&L(),U}function S(O){return G().kind===O}function G(O=!1){return o!==void 0||(o=_(O)),o}function b(){const O=G(!0);if(O.kind===W.EndOfFileToken||O.kind===W.OpenNodeStart||O.kind===W.Script||O.kind===W.CData||O.kind===W.CloseNodeStart)return O;const U=O.triviaBefore,J=(U==null?void 0:U.length)??0;let V=0,Z=[],R=-1;for(;V<J;++V)if(U[V].kind===W.CommentTrivia)Z.push(U[V]);else{R=V;break}let K=-1;for(;V<J;++V)if(U[V].kind===W.CommentTrivia){K=V;break}let z=!1;if(O.kind===W.StringLiteral){const uA=O.end,bA=_(!0);z=bA.kind===W.CData||bA.kind===W.CloseNodeStart||bA.kind===W.Script||bA.kind===W.OpenNodeStart,i.resetTokenState(uA)}let AA;z?AA=O.pos:Z.length>0?AA=Z[Z.length-1].end:R!==-1?AA=U[R].pos:AA=O.start;let eA;Z.length>0&&(eA=Z);let cA=W.TextNode,wA=-1;if(K!==-1)wA=U[K].pos,i.resetTokenState(wA);else if(z)cA=W.StringLiteral,wA=O.end;else{for(;;){const uA=i.peekChar();if(uA===null||uA===oA.lessThan)break;i.scanChar()}wA=i.getTokenEnd()}return o=new En(cA,AA,wA,eA),o}function x(O){const U=L();if(U.kind!==O)throw new Error(`expected ${ZQ(O)}, bumped a ${ZQ(U.kind)}`);return U}function L(){if(o){r.children.push(o);const U=o;return o=void 0,U}const O=_(!1);return r.children.push(O),O}function T(){t.push(r),r={children:[]}}function H(O){const U=oE(O,r.children),J=t[t.length-1];return J.children.push(U),r=J,t.pop(),U}function _(O){let U,J=[],V=null;for(;;){if(U=i.scan(),V===null&&(V=i.getTokenStart()),n!==void 0){let Z;n.message.code===gc.invalidChar?Z=Pe.invalidChar(i.getTokenText()):Z=n.message;const R=i.getTokenStart(),K=J.length>0?J:void 0;if(J=[],O&&Z.code===gc.invalidChar)return n=void 0,new En(U,R,i.getTokenEnd(),K);const z=R+n.prefixLength,AA=new En(U,R,z,K);return i.resetTokenState(z),T(),r.children.push(AA),w(Z,R,z),H(W.ErrorNode),n=void 0,_(O)}switch(U){case W.CommentTrivia:case W.NewLineTrivia:case W.WhitespaceTrivia:J.push(new En(U,i.getTokenStart(),i.getTokenEnd()));break;default:return new En(U,i.getTokenStart(),i.getTokenEnd(),J.length>0?J:void 0)}}}function j(){const O=t[t.length-1];O.children.push(...r.children),r=O,t.pop()}}function oE(A,e){const t=e[0],o=e[e.length-1];return new En(A,t.pos,o.end,void 0,e)}function VL(A){return A.type!=="ScriptModule"}function ZL(A,e){const t=new Map,o={},r=n(A,e);return!r||Object.keys(o).length>0?o:r;function n(a,i){if(t.has(a))return t.get(a);const s=new Ya(i);let l=[];try{l=s.parseStatements()}catch{return o[a]=s.errors,null}const g=s.current;if(g.type!==y.Eof)return o[a]??(o[a]=[]),o[a].push({code:"W002",text:$l.W002.replace(/\{(\d+)}/g,()=>g.text),position:g.startLine,line:g.startLine,column:g.startColumn}),null;const u=[],p={};l.filter(m=>m.type===Ra).forEach(m=>{const h=m;if(p[h.id.name]){C("W020",m,h.id.name);return}p[h.id.name]=h});const B={type:"ScriptModule",name:a,functions:p,statements:l,sources:new Map};if(t.set(a,B),u.length>0)return o[a]=u,null;return B;function C(m,h,...Q){var D,I,w;let E=$l[m];Q&&Q.forEach((v,f)=>E=E.replaceAll(`{${f}}`,Q[f].toString())),u.push({code:m,text:$l[m].replace(/\{(\d+)}/g,(v,f)=>Q[f]),position:(D=h.startToken)==null?void 0:D.startPosition,line:(I=h.startToken)==null?void 0:I.startLine,column:(w=h.startToken)==null?void 0:w.startColumn})}}}const uc="__PARSED__";function XL(A,e){const t={vars:{},moduleErrors:{},functions:{}},o={},r=ZL(A,e);if(VL(r))return{...t,moduleErrors:r};return r.statements.forEach(a=>{switch(a.type){case Pl:a.decls.forEach(i=>{if(i.id.name in t.vars)throw new Error(`Duplicated var declaration: '${i.id.name}'`);t.vars[i.id.name]={[uc]:!0,tree:i.expr}});break;case Ra:n(a);break;default:throw new Error("Only reactive variable and function definitions are allowed in a code-behind module.")}}),t;function n(a){if((o==null?void 0:o[a.id.name])!==void 0)return;if(a.id.name in t.functions)throw new Error(`Duplicated function declaration: '${a.id.name}'`);const i={type:ve,args:a.args.slice(),statement:a.stmt};o[a.id.name]={[uc]:!0,tree:i},t.functions[a.id.name]={[uc]:!0,tree:i}}}class dc extends Error{constructor(e,t){super(`${t?`${t}: `:""}${e}`),this.code=t,Object.setPrototypeOf(this,dc.prototype)}}const AT={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}'."},rE="Component",ld=/^[A-Z]/,nE=/^on[A-Z]/,eT=["name","value"],tT=9,cd="component-ns",oT="app-ns",rT="#app-ns",nT="core-ns",aT="#xmlui-core-ns",In={property:"property",event:"event",variable:"variable",loaders:"loaders",uses:"uses",method:"method",item:"item",field:"field"};let iT=0;function sT(A,e,t){const o=b=>b.text??e(b),r=gT(A),n=I(r),a=[],i=[];return s(a,n);function s(b,x){const L=cE(x,o,i);if(L===rE)return g(x);let T={type:L,debug:{source:{start:x.start,end:x.end,fileId:t}}};return u(b,T,x),T}function l(b,x){const L=cE(x,o,i);L===rE&&VA("T006");let T={type:L,debug:{source:{start:x.start,end:x.end,fileId:t}}};return u(b,T,x),T}function g(b){const x=ri(b).map(E),L=x.find(eA=>eA.name==="name");L||VA("T003"),ld.test(L.value)||VA("T004");const T=x.find(eA=>eA.name==="codeBehind");let H;const _=x.filter(eA=>eA.startSegment==="method");_.length>0&&(H={},_.forEach(eA=>{H[eA.name]=eA.value}));let j;const O=x.filter(eA=>eA.startSegment==="var");O.length>0&&(j={},O.forEach(eA=>{j[eA.name]=eA.value}));const U=ni(b),J=U.filter(eA=>eA.kind===W.ElementNode&&!(Gr(eA,o)in In));J.length===0&&J.push(aE(""));const V=[],Z=[];for(let eA of U)if(eA.kind===W.ElementNode){const cA=Gr(eA,o);cA===In.variable?Z.push(eA):cA in In&&V.push(eA)}let R;J.length>1||Z.length>0?R=iE([...Z,...J]):R=J[0],i.push(new Map),x.filter(eA=>eA.namespace==="xmlns").forEach(eA=>{lE(i,R,eA.unsegmentedName,eA.value)});let K=l(a,R);i.pop();const z={name:L.value,component:K,debug:{source:{start:b.start,end:b.end,fileId:t}}};H&&(z.api=H),j&&(K.vars={...K.vars,...j}),T&&(z.codeBehind=T.value),K.debug={source:{start:R.start,end:R.end,fileId:t}};const AA=sE(b,V);return u(a,z,AA),z}function u(b,x,L){var U;const T=!Xo(x),H=ri(L);if(i.push(new Map),H.forEach(J=>{p(x,J)}),ni(L).forEach(J=>{if(J.kind===W.Script){ri(J).length>0&&VA("T022");const Z=o(J),R=Z.slice(Z.indexOf(">")+1,Z.lastIndexOf("</"));x.script??(x.script=""),x.script.length>0&&(x.script+=`
54
+ `).filter(n=>n.trim());if(e.length===0)return[];const t=[],o={};e.forEach(n=>{const i=n.length-n.trimLeft().length,l={label:n.trim(),level:i,children:[]};if(i===0){t.push(l),o[0]=t;return}let g=i-1;for(;g>=0;){if(o[g]&&o[g].length>0){o[g][o[g].length-1].children.push(l),o[i]||(o[i]=[]),o[i].push(l);return}g--}t.push(l)});const r=n=>{n.length>0&&(n[n.length-1].isLast=!0,n.forEach(a=>{a.children.length>0&&r(a.children)}))};return r(t),t},Zh=(A,e)=>A.children.length===0?e:e+A.children.reduce((t,o)=>t+Zh(o,e),0),Xh=(A,e,t,o=0,r=[])=>{const n=A.isLast,a=o===0,i=A.children.length>0,s=i?Zh(A,t):t,l=t/2;return c.jsxs("div",{className:Vt.treeNode,children:[c.jsxs("div",{className:Vt.treeNodeRow,style:{height:`${t}px`},children:[c.jsx("div",{className:Vt.connectorArea,style:{marginLeft:`${o*t}px`,width:`${t}px`,height:`${t}px`},children:c.jsxs("svg",{className:Vt.connector,width:t,height:i?s:t,viewBox:`0 0 ${t} ${i?s:t}`,style:{position:"absolute",top:0,left:0},children:[a&&c.jsx(c.Fragment,{children:c.jsx("line",{x1:l,y1:l,x2:t,y2:l,strokeWidth:"1.5",className:Vt.connectorLine})}),!a&&c.jsxs(c.Fragment,{children:[c.jsx("line",{x1:l,y1:0,x2:l,y2:n?l:t,strokeWidth:"1.5",className:Vt.connectorLine}),c.jsx("line",{x1:l,y1:l,x2:t,y2:l,strokeWidth:"1.5",className:Vt.connectorLine})]}),!n&&i&&c.jsx("line",{x1:l,y1:l,x2:l,y2:s,strokeWidth:"1.5",className:Vt.connectorLine}),r.map((g,u)=>g&&c.jsx("line",{x1:l-(o-u)*t,y1:0,x2:l-(o-u)*t,y2:s,strokeWidth:"1.5",className:Vt.connectorLine},`ancestor-${u}`))]})}),c.jsx("div",{className:Vt.treeNodeContent,style:{lineHeight:`${t}px`},children:A.label})]}),i&&c.jsx("div",{className:Vt.childrenContainer,children:A.children.map((g,u)=>{const p=[...r];for(;p.length<=o;)p.push(!1);return p[o]=u!==A.children.length-1,Xh(g,u,t,o+1,p)})})]},`${A.label}-${e}`)},AQ=d.forwardRef(function({style:e,children:t,content:o=nc.content,itemHeight:r=nc.itemHeight},n){const a=(o||(t==null?void 0:t.toString())||"").toString(),i=d.useMemo(()=>y8(a),[a]);return c.jsx("div",{className:Vt.treeDisplay,style:e,ref:n,children:c.jsx("div",{className:Vt.content,children:i.map((s,l)=>Xh(s,l,r,0,[]))})})}),vo={themeVars:`'{"border-ExpandableItem": "var(--xmlui-border-ExpandableItem)", "borderHorizontal-ExpandableItem": "var(--xmlui-borderHorizontal-ExpandableItem, var(--xmlui-border-ExpandableItem))", "borderVertical-ExpandableItem": "var(--xmlui-borderVertical-ExpandableItem, var(--xmlui-border-ExpandableItem))", "borderLeft-ExpandableItem": "var(--xmlui-borderLeft-ExpandableItem, var(--xmlui-borderHorizontal-ExpandableItem, var(--xmlui-border-ExpandableItem)))", "borderRight-ExpandableItem": "var(--xmlui-borderRight-ExpandableItem, var(--xmlui-borderHorizontal-ExpandableItem, var(--xmlui-border-ExpandableItem)))", "borderTop-ExpandableItem": "var(--xmlui-borderTop-ExpandableItem, var(--xmlui-borderVertical-ExpandableItem, var(--xmlui-border-ExpandableItem)))", "borderBottom-ExpandableItem": "var(--xmlui-borderBottom-ExpandableItem, var(--xmlui-borderVertical-ExpandableItem, var(--xmlui-border-ExpandableItem)))", "borderWidth-ExpandableItem": "var(--xmlui-borderWidth-ExpandableItem)", "borderHorizontalWidth-ExpandableItem": "var(--xmlui-borderHorizontalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem))", "borderLeftWidth-ExpandableItem": "var(--xmlui-borderLeftWidth-ExpandableItem, var(--xmlui-borderHorizontalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem)))", "borderRightWidth-ExpandableItem": "var(--xmlui-borderRightWidth-ExpandableItem, var(--xmlui-borderHorizontalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem)))", "borderVerticalWidth-ExpandableItem": "var(--xmlui-borderVerticalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem))", "borderTopWidth-ExpandableItem": "var(--xmlui-borderTopWidth-ExpandableItem, var(--xmlui-borderVerticalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem)))", "borderBottomWidth-ExpandableItem": "var(--xmlui-borderBottomWidth-ExpandableItem, var(--xmlui-borderVerticalWidth-ExpandableItem, var(--xmlui-borderWidth-ExpandableItem)))", "borderStyle-ExpandableItem": "var(--xmlui-borderStyle-ExpandableItem)", "borderHorizontalStyle-ExpandableItem": "var(--xmlui-borderHorizontalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem))", "borderLeftStyle-ExpandableItem": "var(--xmlui-borderLeftStyle-ExpandableItem, var(--xmlui-borderHorizontalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem)))", "borderRightStyle-ExpandableItem": "var(--xmlui-borderRightStyle-ExpandableItem, var(--xmlui-borderHorizontalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem)))", "borderVerticalStyle-ExpandableItem": "var(--xmlui-borderVerticalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem))", "borderTopStyle-ExpandableItem": "var(--xmlui-borderTopStyle-ExpandableItem, var(--xmlui-borderVerticalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem)))", "borderBottomStyle-ExpandableItem": "var(--xmlui-borderBottomStyle-ExpandableItem, var(--xmlui-borderVerticalStyle-ExpandableItem, var(--xmlui-borderStyle-ExpandableItem)))", "borderColor-ExpandableItem": "var(--xmlui-borderColor-ExpandableItem)", "borderHorizontalColor-ExpandableItem": "var(--xmlui-borderHorizontalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem))", "borderLeftColor-ExpandableItem": "var(--xmlui-borderLeftColor-ExpandableItem, var(--xmlui-borderHorizontalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem)))", "borderRightColor-ExpandableItem": "var(--xmlui-borderRightColor-ExpandableItem, var(--xmlui-borderHorizontalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem)))", "borderVerticalColor-ExpandableItem": "var(--xmlui-borderVerticalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem))", "borderTopColor-ExpandableItem": "var(--xmlui-borderTopColor-ExpandableItem, var(--xmlui-borderVerticalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem)))", "borderBottomColor-ExpandableItem": "var(--xmlui-borderBottomColor-ExpandableItem, var(--xmlui-borderVerticalColor-ExpandableItem, var(--xmlui-borderColor-ExpandableItem)))", "borderStartStartRadius-ExpandableItem": "var(--xmlui-borderStartStartRadius-ExpandableItem, var(--xmlui-borderRadius-ExpandableItem))", "borderStartEndRadius-ExpandableItem": "var(--xmlui-borderStartEndRadius-ExpandableItem, var(--xmlui-borderRadius-ExpandableItem))", "borderEndStartRadius-ExpandableItem": "var(--xmlui-borderEndStartRadius-ExpandableItem, var(--xmlui-borderRadius-ExpandableItem))", "borderEndEndRadius-ExpandableItem": "var(--xmlui-borderEndEndRadius-ExpandableItem, var(--xmlui-borderRadius-ExpandableItem))", "padding-ExpandableItem": "var(--xmlui-padding-ExpandableItem)", "paddingHorizontal-ExpandableItem": "var(--xmlui-paddingHorizontal-ExpandableItem, var(--xmlui-padding-ExpandableItem))", "paddingVertical-ExpandableItem": "var(--xmlui-paddingVertical-ExpandableItem, var(--xmlui-padding-ExpandableItem))", "paddingLeft-ExpandableItem": "var(--xmlui-paddingLeft-ExpandableItem, var(--xmlui-paddingHorizontal-ExpandableItem, var(--xmlui-padding-ExpandableItem)))", "paddingRight-ExpandableItem": "var(--xmlui-paddingRight-ExpandableItem, var(--xmlui-paddingHorizontal-ExpandableItem, var(--xmlui-padding-ExpandableItem)))", "paddingTop-ExpandableItem": "var(--xmlui-paddingTop-ExpandableItem, var(--xmlui-paddingVertical-ExpandableItem, var(--xmlui-padding-ExpandableItem)))", "paddingBottom-ExpandableItem": "var(--xmlui-paddingBottom-ExpandableItem, var(--xmlui-paddingVertical-ExpandableItem, var(--xmlui-padding-ExpandableItem)))", "padding-content-ExpandableItem": "var(--xmlui-padding-content-ExpandableItem)", "paddingHorizontal-content-ExpandableItem": "var(--xmlui-paddingHorizontal-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem))", "paddingVertical-content-ExpandableItem": "var(--xmlui-paddingVertical-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem))", "paddingLeft-content-ExpandableItem": "var(--xmlui-paddingLeft-content-ExpandableItem, var(--xmlui-paddingHorizontal-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem)))", "paddingRight-content-ExpandableItem": "var(--xmlui-paddingRight-content-ExpandableItem, var(--xmlui-paddingHorizontal-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem)))", "paddingTop-content-ExpandableItem": "var(--xmlui-paddingTop-content-ExpandableItem, var(--xmlui-paddingVertical-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem)))", "paddingBottom-content-ExpandableItem": "var(--xmlui-paddingBottom-content-ExpandableItem, var(--xmlui-paddingVertical-content-ExpandableItem, var(--xmlui-padding-content-ExpandableItem)))", "backgroundColor-ExpandableItem": "var(--xmlui-backgroundColor-ExpandableItem)", "color-ExpandableItem": "var(--xmlui-color-ExpandableItem)", "color-ExpandableItem--disabled": "var(--xmlui-color-ExpandableItem--disabled)", "fontFamily-ExpandableItem": "var(--xmlui-fontFamily-ExpandableItem)", "fontSize-ExpandableItem": "var(--xmlui-fontSize-ExpandableItem)", "fontWeight-ExpandableItem": "var(--xmlui-fontWeight-ExpandableItem)", "paddingVertical-ExpandableItem-summary": "var(--xmlui-paddingVertical-ExpandableItem-summary)", "paddingHorizontal-ExpandableItem-summary": "var(--xmlui-paddingHorizontal-ExpandableItem-summary)", "gap-ExpandableItem": "var(--xmlui-gap-ExpandableItem)", "transition-ExpandableItem": "var(--xmlui-transition-ExpandableItem)"}'`,expandableItem:"_expandableItem_vpfvc_14",disabled:"_disabled_vpfvc_48",summary:"_summary_vpfvc_52",iconStart:"_iconStart_vpfvc_58",iconEnd:"_iconEnd_vpfvc_61",icon:"_icon_vpfvc_58",switch:"_switch_vpfvc_70",summaryContent:"_summaryContent_vpfvc_74",withSwitch:"_withSwitch_vpfvc_77",content:"_content_vpfvc_80"},nt={initiallyExpanded:!1,enabled:!0,iconExpanded:"chevrondown",iconCollapsed:"chevronright",iconPosition:"end",withSwitch:!1},eQ=d.forwardRef(function({summary:e,children:t,className:o,style:r,initiallyExpanded:n=nt.initiallyExpanded,enabled:a=nt.enabled,iconExpanded:i=nt.iconExpanded,iconCollapsed:s=nt.iconCollapsed,iconPosition:l=nt.iconPosition,withSwitch:g=nt.withSwitch,onExpandedChange:u,registerComponentApi:p},B){const[C,m]=d.useState(n),h=d.useCallback(()=>{if(!a)return;const S=!C;m(S),u==null||u(S)},[a,C,u]),Q=d.useCallback(()=>{!C&&a&&(m(!0),u==null||u(!0))},[a,C,u]),E=d.useCallback(()=>{C&&a&&(m(!1),u==null||u(!1))},[a,C,u]),D=d.useCallback(()=>{h()},[h]),I=d.useCallback(()=>C,[C]),w=d.useCallback(S=>{a&&(m(S),u==null||u(S))},[a,u]);d.useEffect(()=>{p==null||p({expand:Q,collapse:E,toggle:D,isExpanded:I})},[p,Q,E,D,I]);const v=d.useRef(),f=d.useRef(),M=d.useCallback(()=>{var G,b;if(!a||!g)return;const S=!C;m(S),u==null||u(S),l==="start"&&((G=v.current)!=null&&G.setValue)?v.current.setValue(S):l==="end"&&((b=f.current)!=null&&b.setValue)&&f.current.setValue(S)},[a,g,C,u,l]);return c.jsxs("div",{className:aA(vo.expandableItem,o,{[vo.open]:C,[vo.disabled]:!a,[vo.withSwitch]:g}),style:r,ref:B,children:[c.jsxs("div",{className:aA(vo.summary,{[vo.iconStart]:l==="start",[vo.iconEnd]:l==="end"}),onClick:a?g?M:h:void 0,children:[c.jsx("div",{className:g?vo.switch:vo.icon,children:g?c.jsx(Jn,{variant:"switch",value:C,enabled:a,onDidChange:w}):c.jsx(yA,{name:C?i:s,fallback:C?"chevrondown":"chevronright"})}),c.jsx("div",{className:vo.summaryContent,children:e})]}),C&&c.jsx("div",{className:vo.content,children:t})]})});var Zu={},tQ=Pn;Zu.createRoot=tQ.createRoot,Zu.hydrateRoot=tQ.hydrateRoot;const x8="SpaceFiller",oQ={status:"stable",description:"`SpaceFiller` works well in layout containers to fill remaining (unused) space. Its behavior depends on the layout container in which it is used.",themeVars:CA(sm.themeVars)},k8=$(x8,oQ,()=>c.jsx(lm,{})),qo="TextArea",H8=[{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"}],rQ={status:"stable",description:"`TextArea` 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:Bt.enterSubmits},escResets:{description:`This boolean property indicates whether the ${qo} contents should be reset when pressing the ESC key.`,valueType:"boolean",defaultValue:!1},maxRows:k(`This optional property sets the maximum number of text rows the \`${qo}\` can grow. If not set, the number of rows is unlimited.`),minRows:k(`This optional property sets the minimum number of text rows the \`${qo}\` can shrink. If not set, the minimum number of rows is 1.`),rows:{description:"Specifies the number of rows the component initially has.",valueType:"number",defaultValue:Bt.rows},autoSize:{description:`If set to \`true\`, this boolean property enables the \`${qo}\` to resize automatically based on the number of lines inside it.`,valueType:"boolean",defaultValue:!1},placeholder:zr(),initialValue:Yt(),label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(qo),labelBreak:Ao(qo),maxLength:Ti(),autoFocus:mt(),required:oo(),readOnly:eo(),enabled:Ke(),validationStatus:to(),resize:{description:"This optional property specifies in which dimensions can the `TextArea` be resized by the user.",availableValues:H8}},events:{gotFocus:Ot(qo),lostFocus:Rt(qo),didChange:ct(qo)},apis:{focus:Go(qo),value:k("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:ho()},themeVars:CA(hr.themeVars)},S8=$(qo,rQ,({node:A,extractValue:e,state:t,updateState:o,layoutCss:r,registerComponentApi:n,lookupEventHandler:a})=>{const i=e(A.props.initialValue);return c.jsx(Bh,{value:t==null?void 0:t.value,initialValue:i,updateState:o,autoFocus:e.asOptionalBoolean(A.props.autoFocus),enabled:e.asOptionalBoolean(A.props.enabled),placeholder:e(A.props.placeholder),onDidChange:a("didChange"),onFocus:a("gotFocus"),onBlur:a("lostFocus"),readOnly:e.asOptionalBoolean(A.props.readOnly),resize:A.props.resize,enterSubmits:e.asOptionalBoolean(A.props.enterSubmits),escResets:e.asOptionalBoolean(A.props.escResets),style:r,registerComponentApi:n,maxRows:e.asOptionalNumber(A.props.maxRows),minRows:e.asOptionalNumber(A.props.minRows),maxLength:e.asOptionalNumber(A.props.maxLength),rows:e.asOptionalNumber(A.props.rows),autoSize:e.asOptionalBoolean(A.props.autoSize),validationStatus:e(A.props.validationStatus),label:e(A.props.label),labelPosition:e(A.props.labelPosition),labelWidth:e(A.props.labelWidth),labelBreak:e.asOptionalBoolean(A.props.labelBreak),required:e.asOptionalBoolean(A.props.required)},`${A.uid}-${i}`)}),ye="NavLink",nQ={status:"stable",description:"`NavLink` creates interactive navigation items that connect users to different destinations within an app or external URLs. It automatically indicates active states, supports custom icons and labels, and can execute custom actions instead of navigation when needed.",props:{to:k("This property defines the URL of the link."),enabled:Ke(),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:lu.active},target:{description:"This optionally property specifies how to open the clicked link.",availableValues:Ap,type:"string"},label:Fe(),vertical:{description:`This property sets how the active status is displayed on the \`${ye}\` component. If set to true, the indicator is displayed on the side which lends itself to a vertically aligned navigation menu. By default, it displays a horizontal indicator.`,valueType:"boolean"},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:lu.displayActive},icon:k("This property allows you to add an optional icon (specify the icon's name) to the navigation link.")},events:{click:fa(ye)},themeVars:CA(Qo.themeVars),themeVarDescriptions:{[`color-indicator-${ye}`]:"Provides the following states: `--hover`, `--active`, `--pressed`"},defaultThemeVars:{[`border-${ye}`]:"0px solid $borderColor",[`borderRadius-${ye}`]:"$borderRadius",[`backgroundColor-${ye}`]:"transparent",[`paddingHorizontal-${ye}`]:"$space-4",[`paddingVertical-${ye}`]:"$space-2",[`fontSize-${ye}`]:"$fontSize-small",[`fontWeight-${ye}`]:"$fontWeight-normal",[`fontFamily-${ye}`]:"$fontFamily",[`textColor-${ye}`]:"$textColor-primary",[`fontWeight-${ye}--pressed`]:"$fontWeight-normal",[`thickness-indicator-${ye}`]:"$space-0_5",[`outlineColor-${ye}--focus`]:"$outlineColor--focus",[`outlineWidth-${ye}--focus`]:"$outlineWidth--focus",[`outlineStyle-${ye}--focus`]:"$outlineStyle--focus",[`outlineOffset-${ye}--focus`]:"-1px",[`borderRadius-indicator-${ye}`]:"$borderRadius",[`color-icon-${ye}`]:"$color-surface-500",[`color-indicator-${ye}--active`]:"$color-primary-500",[`color-indicator-${ye}--pressed`]:"$color-primary-500",[`color-indicator-${ye}--hover`]:"$color-primary-600"}},M8=$(ye,nQ,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>{var n;const r=e.asString(A.props.icon);return c.jsx(Wi,{uid:A.uid,to:e(A.props.to),disabled:!e.asOptionalBoolean(A.props.enabled??!0),vertical:e.asOptionalBoolean(A.props.vertical),displayActive:e.asOptionalBoolean(A.props.displayActive),forceActive:e.asOptionalBoolean(A.props.active),style:o,target:e((n=A.props)==null?void 0:n.target),icon:c.jsx(yA,{name:r,className:Qo.icon}),children:e.asDisplayText(A.props.label)||t(A.children)})}),Fr={wrapper:"_wrapper_1c1hh_14",rowWrapper:"_rowWrapper_1c1hh_18",selected:"_selected_1c1hh_28",gutter:"_gutter_1c1hh_42",toggleWrapper:"_toggleWrapper_1c1hh_50",hidden:"_hidden_1c1hh_59",expanded:"_expanded_1c1hh_70",depthPlaceholder:"_depthPlaceholder_1c1hh_74",labelWrapper:"_labelWrapper_1c1hh_78"};function aQ(A,e,t,o){const{children:r,uid:n}=A,a=o.includes(n);if(t.push({...A,hasChildren:!!r&&r.length>0,depth:e,isExpanded:a}),a&&r)for(let i of r)aQ(i,e+1,t,o)}function L8(A,e){const t=[];return A.forEach(o=>{aQ(o,0,t,e)}),t}const T8=d.memo(function({index:e,style:t,data:o}){const{nodes:r,toggleNode:n,selectedUid:a,itemRenderer:i}=o,s=r[e],l=d.useCallback(g=>{g.defaultPrevented||n(s)},[n,s]);return c.jsx("div",{style:{...t,width:"auto",minWidth:"100%",display:"flex"},children:c.jsxs("div",{className:aA(Fr.rowWrapper,{[Fr.selected]:a===s.key}),children:[c.jsxs("div",{onClick:l,className:Fr.gutter,children:[c.jsx("div",{style:{width:s.depth*10},className:Fr.depthPlaceholder}),c.jsx("div",{className:aA(Fr.toggleWrapper,{[Fr.expanded]:s.isExpanded,[Fr.hidden]:!s.hasChildren})})]}),c.jsx("div",{className:Fr.labelWrapper,onClick:s.selectable?void 0:l,style:{cursor:s.selectable?void 0:"pointer"},children:i(s)})]})})}),N8={treeData:[],treeItemsById:{}};function F8({data:A=N8,selectedUid:e,itemRenderer:t}){const{treeData:o,treeItemsById:r}=A,[n,a]=d.useState([]),i=d.useMemo(()=>L8(o,n),[n,o]);d.useEffect(()=>{if(e){const u=r[e];u&&a(p=>[...p,...u.parentIds])}},[e,r]);const s=d.useCallback(u=>{u.isExpanded?a(p=>p.filter(B=>B!==u.key)):a(p=>[...p,u.key])},[]),l=d.useMemo(()=>({nodes:i,toggleNode:s,selectedUid:e,itemRenderer:t}),[i,s,e,t]),g=d.useCallback((u,p)=>p.nodes[u].key,[]);return c.jsx("div",{className:Fr.wrapper,children:c.jsx(Ry,{children:({width:u,height:p})=>c.jsx(Oy.FixedSizeList,{height:p,itemCount:l.nodes.length,itemData:l,itemSize:35,itemKey:g,width:u,children:T8})})})}const iQ="Tree",sQ={status:"in progress",description:`The \`${iQ}\` 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:qA("The template for each item in the tree.")}},P8=$(iQ,sQ,({node:A,extractValue:e,renderChild:t})=>c.jsx(F8,{data:e(A.props.data),selectedUid:e(A.props.selectedUid),itemRenderer:o=>c.jsx(tt,{node:A.props.itemTemplate,item:o,renderChild:t})})),uo="TreeDisplay",G8={status:"stable",description:`The \`${uo}\` component displays hierarchical data in a tree structure. It accepts an indented text format where each line is an entry in the tree, and the number of leading spaces determines the nesting level. The component renders the tree with SVG lines and continuous vertical guides to clearly visualize parent-child relationships in the hierarchy.`,props:{content:{description:"The indented text content to display as a tree structure. Each level of indentation (using spaces) represents one level in the tree hierarchy.",valueType:"string",defaultValue:nc.content},itemHeight:{description:"The height of each tree item in pixels.",valueType:"number",defaultValue:nc.itemHeight}},themeVars:CA(Vt.themeVars),defaultThemeVars:{[`backgroundColor-${uo}`]:"$backgroundColor-CodeBlock",[`borderRadius-${uo}`]:"8px",[`padding-${uo}`]:"$space-4",[`paddingLeft-${uo}`]:"$space-2",[`fontSize-${uo}`]:"$fontSize-code",[`fontWeight-${uo}`]:"$fontWeight-normal",[`fontFamily-${uo}`]:"$fontFamily-monospace",[`color-${uo}`]:"$textColor-primary",[`color-connect-${uo}`]:"$color-surface-200",[`boxShadow-${uo}`]:"none",[`border-${uo}`]:"0.5px solid $borderColor"}},O8=$(uo,G8,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>c.jsx(AQ,{style:o,content:e.asOptionalString(A.props.content),itemHeight:e.asOptionalNumber(A.props.itemHeight),children:t(A.children)})),Vo={themeVars:`'{"padding-HelloWorld": "var(--xmlui-padding-HelloWorld)", "paddingHorizontal-HelloWorld": "var(--xmlui-paddingHorizontal-HelloWorld, var(--xmlui-padding-HelloWorld))", "paddingVertical-HelloWorld": "var(--xmlui-paddingVertical-HelloWorld, var(--xmlui-padding-HelloWorld))", "paddingLeft-HelloWorld": "var(--xmlui-paddingLeft-HelloWorld, var(--xmlui-paddingHorizontal-HelloWorld, var(--xmlui-padding-HelloWorld)))", "paddingRight-HelloWorld": "var(--xmlui-paddingRight-HelloWorld, var(--xmlui-paddingHorizontal-HelloWorld, var(--xmlui-padding-HelloWorld)))", "paddingTop-HelloWorld": "var(--xmlui-paddingTop-HelloWorld, var(--xmlui-paddingVertical-HelloWorld, var(--xmlui-padding-HelloWorld)))", "paddingBottom-HelloWorld": "var(--xmlui-paddingBottom-HelloWorld, var(--xmlui-paddingVertical-HelloWorld, var(--xmlui-padding-HelloWorld)))", "border-HelloWorld": "var(--xmlui-border-HelloWorld)", "borderHorizontal-HelloWorld": "var(--xmlui-borderHorizontal-HelloWorld, var(--xmlui-border-HelloWorld))", "borderVertical-HelloWorld": "var(--xmlui-borderVertical-HelloWorld, var(--xmlui-border-HelloWorld))", "borderLeft-HelloWorld": "var(--xmlui-borderLeft-HelloWorld, var(--xmlui-borderHorizontal-HelloWorld, var(--xmlui-border-HelloWorld)))", "borderRight-HelloWorld": "var(--xmlui-borderRight-HelloWorld, var(--xmlui-borderHorizontal-HelloWorld, var(--xmlui-border-HelloWorld)))", "borderTop-HelloWorld": "var(--xmlui-borderTop-HelloWorld, var(--xmlui-borderVertical-HelloWorld, var(--xmlui-border-HelloWorld)))", "borderBottom-HelloWorld": "var(--xmlui-borderBottom-HelloWorld, var(--xmlui-borderVertical-HelloWorld, var(--xmlui-border-HelloWorld)))", "borderWidth-HelloWorld": "var(--xmlui-borderWidth-HelloWorld)", "borderHorizontalWidth-HelloWorld": "var(--xmlui-borderHorizontalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld))", "borderLeftWidth-HelloWorld": "var(--xmlui-borderLeftWidth-HelloWorld, var(--xmlui-borderHorizontalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld)))", "borderRightWidth-HelloWorld": "var(--xmlui-borderRightWidth-HelloWorld, var(--xmlui-borderHorizontalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld)))", "borderVerticalWidth-HelloWorld": "var(--xmlui-borderVerticalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld))", "borderTopWidth-HelloWorld": "var(--xmlui-borderTopWidth-HelloWorld, var(--xmlui-borderVerticalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld)))", "borderBottomWidth-HelloWorld": "var(--xmlui-borderBottomWidth-HelloWorld, var(--xmlui-borderVerticalWidth-HelloWorld, var(--xmlui-borderWidth-HelloWorld)))", "borderStyle-HelloWorld": "var(--xmlui-borderStyle-HelloWorld)", "borderHorizontalStyle-HelloWorld": "var(--xmlui-borderHorizontalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld))", "borderLeftStyle-HelloWorld": "var(--xmlui-borderLeftStyle-HelloWorld, var(--xmlui-borderHorizontalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld)))", "borderRightStyle-HelloWorld": "var(--xmlui-borderRightStyle-HelloWorld, var(--xmlui-borderHorizontalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld)))", "borderVerticalStyle-HelloWorld": "var(--xmlui-borderVerticalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld))", "borderTopStyle-HelloWorld": "var(--xmlui-borderTopStyle-HelloWorld, var(--xmlui-borderVerticalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld)))", "borderBottomStyle-HelloWorld": "var(--xmlui-borderBottomStyle-HelloWorld, var(--xmlui-borderVerticalStyle-HelloWorld, var(--xmlui-borderStyle-HelloWorld)))", "borderColor-HelloWorld": "var(--xmlui-borderColor-HelloWorld)", "borderHorizontalColor-HelloWorld": "var(--xmlui-borderHorizontalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld))", "borderLeftColor-HelloWorld": "var(--xmlui-borderLeftColor-HelloWorld, var(--xmlui-borderHorizontalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld)))", "borderRightColor-HelloWorld": "var(--xmlui-borderRightColor-HelloWorld, var(--xmlui-borderHorizontalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld)))", "borderVerticalColor-HelloWorld": "var(--xmlui-borderVerticalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld))", "borderTopColor-HelloWorld": "var(--xmlui-borderTopColor-HelloWorld, var(--xmlui-borderVerticalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld)))", "borderBottomColor-HelloWorld": "var(--xmlui-borderBottomColor-HelloWorld, var(--xmlui-borderVerticalColor-HelloWorld, var(--xmlui-borderColor-HelloWorld)))", "borderStartStartRadius-HelloWorld": "var(--xmlui-borderStartStartRadius-HelloWorld, var(--xmlui-borderRadius-HelloWorld))", "borderStartEndRadius-HelloWorld": "var(--xmlui-borderStartEndRadius-HelloWorld, var(--xmlui-borderRadius-HelloWorld))", "borderEndStartRadius-HelloWorld": "var(--xmlui-borderEndStartRadius-HelloWorld, var(--xmlui-borderRadius-HelloWorld))", "borderEndEndRadius-HelloWorld": "var(--xmlui-borderEndEndRadius-HelloWorld, var(--xmlui-borderRadius-HelloWorld))", "textColor-HelloWorld": "var(--xmlui-textColor-HelloWorld, var(--xmlui-textColor-HelloWorld))", "fontFamily-HelloWorld": "var(--xmlui-fontFamily-HelloWorld, var(--xmlui-fontFamily-HelloWorld))", "fontSize-HelloWorld": "var(--xmlui-fontSize-HelloWorld, var(--xmlui-fontSize-HelloWorld))", "fontStyle-HelloWorld": "var(--xmlui-fontStyle-HelloWorld, var(--xmlui-fontStyle-HelloWorld))", "fontVariant-HelloWorld": "var(--xmlui-fontVariant-HelloWorld, var(--xmlui-fontVariant-HelloWorld))", "fontWeight-HelloWorld": "var(--xmlui-fontWeight-HelloWorld, var(--xmlui-fontWeight-HelloWorld))", "fontStretch-HelloWorld": "var(--xmlui-fontStretch-HelloWorld, var(--xmlui-fontStretch-HelloWorld))", "textDecorationLine-HelloWorld": "var(--xmlui-textDecorationLine-HelloWorld, var(--xmlui-textDecorationLine-HelloWorld))", "textDecorationColor-HelloWorld": "var(--xmlui-textDecorationColor-HelloWorld, var(--xmlui-textDecorationColor-HelloWorld))", "textDecorationStyle-HelloWorld": "var(--xmlui-textDecorationStyle-HelloWorld, var(--xmlui-textDecorationStyle-HelloWorld))", "textDecorationThickness-HelloWorld": "var(--xmlui-textDecorationThickness-HelloWorld, var(--xmlui-textDecorationThickness-HelloWorld))", "textUnderlineOffset-HelloWorld": "var(--xmlui-textUnderlineOffset-HelloWorld, var(--xmlui-textUnderlineOffset-HelloWorld))", "lineHeight-HelloWorld": "var(--xmlui-lineHeight-HelloWorld, var(--xmlui-lineHeight-HelloWorld))", "backgroundColor-HelloWorld": "var(--xmlui-backgroundColor-HelloWorld, var(--xmlui-backgroundColor-HelloWorld))", "textTransform-HelloWorld": "var(--xmlui-textTransform-HelloWorld, var(--xmlui-textTransform-HelloWorld))", "letterSpacing-HelloWorld": "var(--xmlui-letterSpacing-HelloWorld, var(--xmlui-letterSpacing-HelloWorld))", "wordSpacing-HelloWorld": "var(--xmlui-wordSpacing-HelloWorld, var(--xmlui-wordSpacing-HelloWorld))", "textShadow-HelloWorld": "var(--xmlui-textShadow-HelloWorld, var(--xmlui-textShadow-HelloWorld))", "textIndent-HelloWorld": "var(--xmlui-textIndent-HelloWorld, var(--xmlui-textIndent-HelloWorld))", "textAlign-HelloWorld": "var(--xmlui-textAlign-HelloWorld, var(--xmlui-textAlign-HelloWorld))", "textAlignLast-HelloWorld": "var(--xmlui-textAlignLast-HelloWorld, var(--xmlui-textAlignLast-HelloWorld))", "wordBreak-HelloWorld": "var(--xmlui-wordBreak-HelloWorld, var(--xmlui-wordBreak-HelloWorld))", "wordWrap-HelloWorld": "var(--xmlui-wordWrap-HelloWorld, var(--xmlui-wordWrap-HelloWorld))", "direction-HelloWorld": "var(--xmlui-direction-HelloWorld, var(--xmlui-direction-HelloWorld))", "writingMode-HelloWorld": "var(--xmlui-writingMode-HelloWorld, var(--xmlui-writingMode-HelloWorld))", "lineBreak-HelloWorld": "var(--xmlui-lineBreak-HelloWorld, var(--xmlui-lineBreak-HelloWorld))", "borderRadius-HelloWorld": "var(--xmlui-borderRadius-HelloWorld)", "maxWidth-HelloWorld": "var(--xmlui-maxWidth-HelloWorld)", "textAlign-HelloWorld-content": "var(--xmlui-textAlign-HelloWorld-content)", "marginBottom-HelloWorld-message": "var(--xmlui-marginBottom-HelloWorld-message)", "fontSize-HelloWorld-message": "var(--xmlui-fontSize-HelloWorld-message)", "fontWeight-HelloWorld-message": "var(--xmlui-fontWeight-HelloWorld-message)", "margin-HelloWorld-children": "var(--xmlui-margin-HelloWorld-children)", "padding-HelloWorld-children": "var(--xmlui-padding-HelloWorld-children)", "backgroundColor-HelloWorld-children": "var(--xmlui-backgroundColor-HelloWorld-children)", "borderRadius-HelloWorld-children": "var(--xmlui-borderRadius-HelloWorld-children)", "fontStyle-HelloWorld-children": "var(--xmlui-fontStyle-HelloWorld-children)", "gap-HelloWorld-interactive": "var(--xmlui-gap-HelloWorld-interactive)", "backgroundColor-HelloWorld-clickButton": "var(--xmlui-backgroundColor-HelloWorld-clickButton)", "textColor-HelloWorld-clickButton": "var(--xmlui-textColor-HelloWorld-clickButton)", "border-HelloWorld-clickButton": "var(--xmlui-border-HelloWorld-clickButton)", "borderRadius-HelloWorld-clickButton": "var(--xmlui-borderRadius-HelloWorld-clickButton)", "padding-HelloWorld-clickButton": "var(--xmlui-padding-HelloWorld-clickButton)", "fontSize-HelloWorld-clickButton": "var(--xmlui-fontSize-HelloWorld-clickButton)", "fontWeight-HelloWorld-clickButton": "var(--xmlui-fontWeight-HelloWorld-clickButton)", "transition-HelloWorld-clickButton": "var(--xmlui-transition-HelloWorld-clickButton)", "backgroundColor-HelloWorld-clickButton--hover": "var(--xmlui-backgroundColor-HelloWorld-clickButton--hover)", "transform-HelloWorld-clickButton--active": "var(--xmlui-transform-HelloWorld-clickButton--active)", "fontSize-HelloWorld-counter": "var(--xmlui-fontSize-HelloWorld-counter)", "fontWeight-HelloWorld-counter": "var(--xmlui-fontWeight-HelloWorld-counter)", "backgroundColor-HelloWorld-count": "var(--xmlui-backgroundColor-HelloWorld-count)", "textColor-HelloWorld-count": "var(--xmlui-textColor-HelloWorld-count)", "padding-HelloWorld-count": "var(--xmlui-padding-HelloWorld-count)", "borderRadius-HelloWorld-count": "var(--xmlui-borderRadius-HelloWorld-count)", "fontWeight-HelloWorld-count": "var(--xmlui-fontWeight-HelloWorld-count)", "minWidth-HelloWorld-count": "var(--xmlui-minWidth-HelloWorld-count)", "backgroundColor-HelloWorld-resetButton": "var(--xmlui-backgroundColor-HelloWorld-resetButton)", "textColor-HelloWorld-resetButton": "var(--xmlui-textColor-HelloWorld-resetButton)", "border-HelloWorld-resetButton": "var(--xmlui-border-HelloWorld-resetButton)", "borderRadius-HelloWorld-resetButton": "var(--xmlui-borderRadius-HelloWorld-resetButton)", "padding-HelloWorld-resetButton": "var(--xmlui-padding-HelloWorld-resetButton)", "fontSize-HelloWorld-resetButton": "var(--xmlui-fontSize-HelloWorld-resetButton)", "transition-HelloWorld-resetButton": "var(--xmlui-transition-HelloWorld-resetButton)", "backgroundColor-HelloWorld-resetButton--hover": "var(--xmlui-backgroundColor-HelloWorld-resetButton--hover)"}'`,helloWorld:"_helloWorld_1hfvu_13",content:"_content_1hfvu_68",message:"_message_1hfvu_72",children:"_children_1hfvu_78",interactive:"_interactive_1hfvu_86",clickButton:"_clickButton_1hfvu_93",counter:"_counter_1hfvu_111",count:"_count_1hfvu_111",resetButton:"_resetButton_1hfvu_127"},Xu={message:"Hello, World!",theme:"default"},R8=d.forwardRef(function({id:e,message:t=Xu.message,theme:o=Xu.theme,children:r,style:n,className:a,onClick:i,onReset:s,registerComponentApi:l,updateState:g,...u},p){const[B,C]=d.useState(0),m=PA(E=>{C(E),g==null||g({value:E})});d.useEffect(()=>{g==null||g({value:B})},[g,B]),d.useEffect(()=>{l==null||l({setValue:m})},[l,m]);const h=E=>{const D=B+1;C(D),g==null||g({value:D}),i==null||i(E)},Q=E=>{C(0),g==null||g({value:0}),s==null||s(E)};return c.jsx("div",{...u,id:e,ref:p,className:aA(a,Vo.helloWorld,{[Vo.success]:o==="success"}),style:n,children:c.jsxs("div",{className:Vo.content,children:[c.jsx("h3",{className:Vo.message,children:t}),r&&c.jsx("div",{className:Vo.children,children:r}),c.jsxs("div",{className:Vo.interactive,children:[c.jsx("button",{className:Vo.clickButton,onClick:h,children:"Click me!"}),c.jsxs("div",{className:Vo.counter,children:["Clicks: ",c.jsx("span",{className:Vo.count,children:B})]}),B>0&&c.jsx("button",{className:Vo.resetButton,onClick:Q,children:"Reset"})]})]})})}),RA="HelloWorld",U8={status:"experimental",description:"`HelloWorld` is a demonstration component that shows basic XMLUI patterns. It displays a customizable greeting message with an interactive click counter.",props:{id:{description:"The unique identifier for the component.",type:"string"},message:{description:"The greeting message to display.",type:"string",defaultValue:Xu.message}},events:{onClick:{description:"Triggered when the click button is pressed. Receives the current click count.",type:"function"},onReset:{description:"Triggered when the reset button is pressed. Called when count is reset to 0.",type:"function"}},apis:{value:ba(),setValue:ho()},themeVars:CA(Vo.themeVars),defaultThemeVars:{[`backgroundColor-${RA}`]:"$color-surface-50",[`borderColor-${RA}`]:"$color-surface-200",[`borderWidth-${RA}`]:"$space-2",[`borderStyle-${RA}`]:"solid",[`borderRadius-${RA}`]:"$borderRadius",[`padding-${RA}`]:"$space-4",[`textColor-${RA}`]:"$color-primary",[`maxWidth-${RA}`]:"400px",[`textAlign-${RA}-content`]:"center",[`marginBottom-${RA}-message`]:"$space-4",[`fontSize-${RA}-message`]:"$fontSize-lg",[`fontWeight-${RA}-message`]:"$fontWeight-semibold",[`margin-${RA}-children`]:"$space-4 0",[`padding-${RA}-children`]:"$space-3",[`backgroundColor-${RA}-children`]:"$color-surface-100",[`borderRadius-${RA}-children`]:"$borderRadius-sm",[`fontStyle-${RA}-children`]:"italic",[`gap-${RA}-interactive`]:"$space-3",[`backgroundColor-${RA}-clickButton`]:"$color-primary-500",[`textColor-${RA}-clickButton`]:"white",[`border-${RA}-clickButton`]:"none",[`borderRadius-${RA}-clickButton`]:"$borderRadius",[`padding-${RA}-clickButton`]:"$space-3 $space-6",[`fontSize-${RA}-clickButton`]:"$fontSize-base",[`fontWeight-${RA}-clickButton`]:"$fontWeight-medium",[`transition-${RA}-clickButton`]:"background-color 0.2s ease",[`backgroundColor-${RA}-clickButton--hover`]:"$color-primary-600",[`transform-${RA}-clickButton--active`]:"translateY(1px)",[`fontSize-${RA}-counter`]:"$fontSize-lg",[`fontWeight-${RA}-counter`]:"$fontWeight-medium",[`backgroundColor-${RA}-count`]:"$color-primary-100",[`textColor-${RA}-count`]:"$color-primary-700",[`padding-${RA}-count`]:"$space-1 $space-2",[`borderRadius-${RA}-count`]:"$borderRadius-sm",[`fontWeight-${RA}-count`]:"$fontWeight-bold",[`minWidth-${RA}-count`]:"24px",[`backgroundColor-${RA}-resetButton`]:"$color-surface-400",[`textColor-${RA}-resetButton`]:"white",[`border-${RA}-resetButton`]:"none",[`borderRadius-${RA}-resetButton`]:"$borderRadius-sm",[`padding-${RA}-resetButton`]:"$space-2 $space-4",[`fontSize-${RA}-resetButton`]:"$fontSize-sm",[`transition-${RA}-resetButton`]:"background-color 0.2s ease",[`backgroundColor-${RA}-resetButton--hover`]:"$color-surface-500"}},K8=$(RA,U8,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r,registerComponentApi:n,updateState:a})=>c.jsx(R8,{id:e.asOptionalString(A.props.id),message:e.asOptionalString(A.props.message),onClick:r("onClick"),onReset:r("onReset"),registerComponentApi:n,updateState:a,style:o,children:t(A.children)})),fA="Text",lQ={status:"stable",description:`The \`${fA}\` component displays textual information in a number of optional styles and variants.`,props:{value:k(`The text to be displayed. This value can also be set via nesting the text into the \`${fA}\` 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:gx},maxLines:k("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:Rn.preserveLinebreaks},ellipses:{description:"This property indicates whether ellipses should be displayed when the text is cropped (`true`) or not (`false`).",valueType:"boolean",defaultValue:Rn.ellipses}},themeVars:CA(Ha.themeVars),defaultThemeVars:{[`borderRadius-${fA}`]:"$borderRadius",[`borderStyle-${fA}`]:"solid",[`fontSize-${fA}`]:"$fontSize-small",[`borderWidth-${fA}`]:"$space-0",[`lineHeight-${fA}-codefence`]:"1.5",[`fontWeight-${fA}-abbr`]:"$fontWeight-bold",[`textTransform-${fA}-abbr`]:"uppercase",[`fontSize-${fA}-secondary`]:"$fontSize-small",[`fontStyle-${fA}-cite`]:"italic",[`textColor-${fA}`]:"$textColor-primary",[`fontFamily-${fA}`]:"$fontFamily",[`fontWeight-${fA}`]:"$fontWeight-normal",[`fontSize-${fA}-codefence`]:"$fontSize-code",[`fontFamily-${fA}-code`]:"$fontFamily-monospace",[`fontSize-${fA}-code`]:"$fontSize-small",[`borderWidth-${fA}-code`]:"1px",[`borderStyle-${fA}-code`]:"solid",[`borderRadius-${fA}-code`]:"4px",[`paddingHorizontal-${fA}-code`]:"$space-0_5",[`paddingBottom-${fA}-code`]:"2px",[`textDecorationLine-${fA}-deleted`]:"line-through",[`textDecorationLine-${fA}-inserted`]:"underline",[`fontFamily-${fA}-keyboard`]:"$fontFamily-monospace",[`fontSize-${fA}-keyboard`]:"$fontSize-small",[`fontWeight-${fA}-keyboard`]:"$fontWeight-bold",[`borderWidth-${fA}-keyboard`]:"1px",[`paddingHorizontal-${fA}-keyboard`]:"$space-1",[`fontFamily-${fA}-sample`]:"$fontFamily-monospace",[`fontSize-${fA}-sample`]:"$fontSize-small",[`fontSize-${fA}-sup`]:"$fontSize-smaller",[`verticalAlignment-${fA}-sup`]:"super",[`fontSize-${fA}-sub`]:"$fontSize-smaller",[`verticalAlignment-${fA}-sub`]:"sub",[`fontStyle-${fA}-var`]:"italic",[`fontStyle-${fA}-em`]:"italic",[`fontFamily-${fA}-mono`]:"$fontFamily-monospace",[`fontSize-${fA}-title`]:"$fontSize-large",[`fontSize-${fA}-subtitle`]:"$fontSize-medium",[`fontSize-${fA}-small`]:"$fontSize-small",[`lineHeight-${fA}-small`]:"$lineHeight-tight",[`letterSpacing-${fA}-caption`]:"0.05rem",[`fontSize-${fA}-placeholder`]:"$fontSize-smaller",[`fontFamily-${fA}-codefence`]:"$fontFamily-monospace",[`paddingHorizontal-${fA}-codefence`]:"$space-4",[`paddingVertical-${fA}-codefence`]:"$space-3",[`paddingVertical-${fA}-paragraph`]:"$space-1",[`fontSize-${fA}-subheading`]:"$fontSize-H6",[`fontWeight-${fA}-subheading`]:"$fontWeight-bold",[`letterSpacing-${fA}-subheading`]:"0.04em",[`textTransform-${fA}-subheading`]:"uppercase",[`marginTop-${fA}-tableheading`]:"$space-1",[`marginBottom-${fA}-tableheading`]:"$space-4",[`paddingHorizontal-${fA}-tableheading`]:"$space-1",[`fontSize-${fA}-tableheading`]:"$fontSize-H6",[`fontWeight-${fA}-tableheading`]:"$fontWeight-bold",[`marginTop-${fA}-markdown`]:"$space-3",[`marginBottom-${fA}-markdown`]:"$space-6",[`fontSize-${fA}-markdown`]:`fontSize-${fA}`,[`fontWeight-${fA}-markdown`]:`fontWeight-${fA}`,[`backgroundColor-${fA}-code`]:"rgb(from $color-surface-100 r g b / 0.4)",[`borderColor-${fA}-code`]:"$color-surface-100",[`backgroundColor-${fA}-keyboard`]:"rgb(from $color-surface-100 r g b / 0.4)",[`borderColor-${fA}-keyboard`]:"$color-surface-300",[`backgroundColor-${fA}-marked`]:"rgb(from $color-primary-200 r g b / 0.4)",[`color-${fA}-placeholder`]:"$color-surface-500",[`color-${fA}-codefence`]:"$color-surface-900",[`color-${fA}-subheading`]:"$textColor-secondary",[`color-${fA}-secondary`]:"$textColor-secondary",dark:{[`backgroundColor-${fA}-marked`]:"rgb(from $color-primary-400 r g b / 0.4)"}}},Y8=$(fA,lQ,({node:A,extractValue:e,layoutCss:t,renderChild:o})=>{const{variant:r,maxLines:n,preserveLinebreaks:a,ellipses:i,value:s,...l}=A.props,g=Object.fromEntries(Object.entries(l).filter(([u,p])=>Bx.includes(u)).map(([u,p])=>[u,e(p)]));return c.jsx(ZA,{variant:e(r),maxLines:e.asOptionalNumber(n),style:t,preserveLinebreaks:e.asOptionalBoolean(a,Rn.preserveLinebreaks),ellipses:e.asOptionalBoolean(i,Rn.ellipses),...g,children:e.asDisplayText(s)||o(A.children)})}),j8="Fragment",cQ={status:"stable",description:"`Fragment` provides conditional rendering. You can use `when=` on any component to render it conditionally, use `Fragment` to apply `when` to a group of components.",opaque:!0,props:{}},_8=$(j8,cQ,({node:A,extractValue:e,renderChild:t,layoutContext:o})=>c.jsx(d.Fragment,{children:t(A.children,o)},e(A.uid))),ie={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_1ljuz_13",noScroll:"_noScroll_1ljuz_19",headerWrapper:"_headerWrapper_1ljuz_23",tableBody:"_tableBody_1ljuz_23",clickableHeader:"_clickableHeader_1ljuz_29",headerContent:"_headerContent_1ljuz_43",headerRow:"_headerRow_1ljuz_77",columnCell:"_columnCell_1ljuz_82",cell:"_cell_1ljuz_82",table:"_table_1ljuz_23",row:"_row_1ljuz_95",checkBoxWrapper:"_checkBoxWrapper_1ljuz_101",showInHeader:"_showInHeader_1ljuz_105",selected:"_selected_1ljuz_108",allSelected:"_allSelected_1ljuz_108",cellContent:"_cellContent_1ljuz_129",focused:"_focused_1ljuz_154",disabled:"_disabled_1ljuz_166",noBottomBorder:"_noBottomBorder_1ljuz_170",noRows:"_noRows_1ljuz_199",pagination:"_pagination_1ljuz_205",paginationLabel:"_paginationLabel_1ljuz_221",paginationSelect:"_paginationSelect_1ljuz_226",paginationButtons:"_paginationButtons_1ljuz_232",loadingWrapper:"_loadingWrapper_1ljuz_244",resizer:"_resizer_1ljuz_259",isResizing:"_isResizing_1ljuz_281"},Ad=d.createContext({registerColumn:(A,e)=>{},unRegisterColumn:A=>{}});function W8(){return d.useContext(Ad)}const ed={idKey:"id",selectedItems:Ae},J8={value:Ae},$8=({children:A})=>{const[e,t]=d.useState(J8);return c.jsx(gQ,{updateState:t,selectedItems:e.value,children:A})},gQ=({updateState:A=hA.noop,idKey:e=ed.idKey,children:t,selectedItems:o=ed.selectedItems,registerComponentApi:r=hA.noop})=>{const[n,a]=d.useState(o),i=d.useRef(!1),s=PA((p=Ae)=>{const B=p||Ae,C=o||Ae;a(B);let m=B.filter(h=>!!C.find(Q=>Q&&h&&Q[e]===h[e]));(!hA.isEqual(C,m)||!i.current)&&(i.current=!0,A({value:m}))}),l=PA(p=>{A({value:(n||Ae).filter(C=>p.includes(C[e]))})}),g=PA(()=>{l(Ae)});d.useLayoutEffect(()=>{r({clearSelection:g,setSelectedRowIds:l,refreshSelection:s})},[g,l,r,s]);const u=d.useMemo(()=>({selectedItems:o,setSelectedRowIds:l,refreshSelection:s,idKey:e}),[s,o,l,e]);return c.jsx(uQ.Provider,{value:u,children:t})},uQ=d.createContext(null);function dQ(){return d.useContext(uQ)}function z8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12.01",y2:"16"}}]})(A)}function q8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"}}]})(A)}function V8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"}}]})(A)}function Z8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"}}]})(A)}function BQ(A){return mA({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"}}]})(A)}function pQ(A){return mA({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"}}]})(A)}function X8(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"}}]})(A)}function AM(A){return mA({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"}}]})(A)}function eM(A){return mA({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"}}]})(A)}function tM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}},{tag:"rect",attr:{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}}]})(A)}function oM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"7 10 12 15 17 10"}},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"}}]})(A)}function rM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"}}]})(A)}function CQ(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"7",height:"7"}},{tag:"rect",attr:{x:"14",y:"3",width:"7",height:"7"}},{tag:"rect",attr:{x:"14",y:"14",width:"7",height:"7"}},{tag:"rect",attr:{x:"3",y:"14",width:"7",height:"7"}}]})(A)}function nM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"22",y1:"12",x2:"2",y2:"12"}},{tag:"path",attr:{d:"M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"}},{tag:"line",attr:{x1:"6",y1:"16",x2:"6.01",y2:"16"}},{tag:"line",attr:{x1:"10",y1:"16",x2:"10.01",y2:"16"}}]})(A)}function aM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"path",attr:{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"}}]})(A)}function iM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}},{tag:"polyline",attr:{points:"9 22 9 12 15 12 15 22"}}]})(A)}function sM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"}}]})(A)}function mQ(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"8",y1:"6",x2:"21",y2:"6"}},{tag:"line",attr:{x1:"8",y1:"12",x2:"21",y2:"12"}},{tag:"line",attr:{x1:"8",y1:"18",x2:"21",y2:"18"}},{tag:"line",attr:{x1:"3",y1:"6",x2:"3.01",y2:"6"}},{tag:"line",attr:{x1:"3",y1:"12",x2:"3.01",y2:"12"}},{tag:"line",attr:{x1:"3",y1:"18",x2:"3.01",y2:"18"}}]})(A)}function lM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M7 11V7a5 5 0 0 1 10 0v4"}}]})(A)}function cM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"1"}},{tag:"circle",attr:{cx:"19",cy:"12",r:"1"}},{tag:"circle",attr:{cx:"5",cy:"12",r:"1"}}]})(A)}function gM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"}}]})(A)}function uM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"1 4 1 10 7 10"}},{tag:"polyline",attr:{points:"23 20 23 14 17 14"}},{tag:"path",attr:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}}]})(A)}function dM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"}},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}}]})(A)}function BM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"4.93",y1:"4.93",x2:"19.07",y2:"19.07"}}]})(A)}function pM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"}}]})(A)}function CM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"17 8 12 3 7 8"}},{tag:"line",attr:{x1:"12",y1:"3",x2:"12",y2:"15"}}]})(A)}function mM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"8.5",cy:"7",r:"4"}},{tag:"line",attr:{x1:"23",y1:"11",x2:"17",y2:"11"}}]})(A)}function hM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"8.5",cy:"7",r:"4"}},{tag:"line",attr:{x1:"20",y1:"8",x2:"20",y2:"14"}},{tag:"line",attr:{x1:"23",y1:"11",x2:"17",y2:"11"}}]})(A)}function hQ(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"12",cy:"7",r:"4"}}]})(A)}function QM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"9",cy:"7",r:"4"}},{tag:"path",attr:{d:"M23 21v-2a4 4 0 0 0-3-3.87"}},{tag:"path",attr:{d:"M16 3.13a4 4 0 0 1 0 7.75"}}]})(A)}function EM(A){return mA({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"}},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"}}]})(A)}function IM({items:A=Ae,visibleItems:e=A,rowsSelectable:t,enableMultiRowSelection:o,rowDisabledPredicate:r,onSelectionDidChange:n}){const[a,i]=d.useState(-1),[s,l]=d.useState(null),{selectedItems:g,setSelectedRowIds:u,refreshSelection:p,idKey:B}=dQ(),C=d.useMemo(()=>e.map(b=>b[B]),[B,e]);d.useEffect(()=>{p(t?A:Ae)},[p,A,t]);const m=Sr(o);d.useEffect(()=>{m&&!o&&g.length>1&&u([g[0][B]])},[o,B,m,g,u]),d.useEffect(()=>{t&&a!==-1&&!C[a]&&C[0]&&i(0)},[a,t,i,C]);const h=PA((b,x={})=>{if(!t)return;const L=C[b],{shiftKey:T,metaKey:H,ctrlKey:_}=x,j=!o||!T&&!H&&!_;let O,U=[...g.map(J=>J[B])];if(j)O={from:L,to:L},U=[L];else if(T){let J,V,Z,R;if(s){let z=C.indexOf(s.from),AA=C.indexOf(s.to),eA=Math.min(z,AA),cA=Math.max(z,AA);const wA=C.slice(eA,cA+1);U=U.filter(Y=>!wA.includes(Y)),Z=s.from,R=L;let uA=C.indexOf(Z),bA=C.indexOf(R);J=Math.min(uA,bA),V=Math.max(uA,bA)}else Z=L,R=L,J=b,V=b;const K=C.slice(J,V+1);U=hA.union(U,K),O={from:Z,to:R}}else O={from:L,to:L},H||_?U.includes(L)?U=U.filter(J=>J!==L):U.push(L):U=[L];i(b),u(hA.uniq(U)),l(O)}),Q=PA((b,x)=>{if(!t)return;const L=C.indexOf(b[B]);h(L,x)}),E=PA(b=>{if(t){if(b.key==="ArrowDown"){b.preventDefault();let x=Math.min(e.length-1,a+1);a!==e.length-1&&h(x,b)}if(b.key==="PageDown"){b.preventDefault();const x=Math.min(e.length-1,a+8);h(x,b)}if(b.key==="ArrowUp"){b.preventDefault();let x=Math.max(0,a-1);a>=0&&h(x,b)}if(b.key==="PageUp"){b.preventDefault();const x=Math.max(0,a-8);h(x,b)}}});d.useEffect(()=>{n==null||n(g)},[g,n]);const D=PA(b=>{t&&(!o&&b||u(b?A.filter(x=>r?!r(x):!0).map(x=>x[B]):[]))}),I=d.useMemo(()=>{let b={};return g.forEach(x=>{b[x[B]]=!0}),b},[B,g]),w=d.useCallback(()=>g,[g]),v=d.useCallback(()=>g.map(b=>b[B]),[B,g]),f=d.useCallback(()=>{D(!1)},[D]),M=d.useCallback(()=>{D(!0)},[D]),S=d.useCallback(b=>{if(!t)return;let x=Array.isArray(b)?b:[b];x.length>1&&!o&&(x=[x[0]]),u(x)},[o,t,u]),G=d.useMemo(()=>({getSelectedItems:w,getSelectedIds:v,clearSelection:f,selectAll:M,selectId:S}),[f,v,w,M,S]);return{onKeyDown:E,focusedIndex:a,toggleRowIndex:h,toggleRow:Q,checkAllRows:D,selectedRowIdMap:I,selectedItems:g,idKey:B,selectionApi:G}}function wM(A){return!1}const fM=42,QQ=A=>{const e=A.getIsPinned();return{left:e==="left"?`${A.getStart("left")}px`:void 0,right:e==="right"?`${A.getAfter("right")}px`:void 0,opacity:e?.95:void 0,position:e?"sticky":"relative",backgroundColor:e?"inherit":void 0,zIndex:e?1:void 0}},bM=d.forwardRef(({data:A=Qt.data,columns:e=Qt.columns,isPaginated:t=Qt.isPaginated,loading:o=Qt.loading,headerHeight:r,rowsSelectable:n=Qt.rowsSelectable,enableMultiRowSelection:a=Qt.enableMultiRowSelection,pageSizes:i=Qt.pageSizes,rowDisabledPredicate:s=wM,sortBy:l,sortingDirection:g=Qt.sortingDirection,iconSortAsc:u,iconSortDesc:p,iconNoSort:B,sortingDidChange:C,willSort:m,style:h,noDataRenderer:Q,autoFocus:E=Qt.autoFocus,hideHeader:D=Qt.hideHeader,hideNoDataView:I=Qt.hideNoDataView,alwaysShowSelectionHeader:w=Qt.alwaysShowSelectionHeader,registerComponentApi:v,onSelectionDidChange:f,noBottomBorder:M=Qt.noBottomBorder},S)=>{var Dg,vg,Di,$A;const{getThemeVar:G}=le(),b=Array.isArray(A)?A:Ae,x=d.useRef(null),L=S?Dt(x,S):x,T=d.useRef(null),H=d.useRef(null),_=l!==void 0,j=d.useMemo(()=>e||(b.length?Object.keys(b[0]).map(kA=>({header:kA,accessorKey:kA})):Ae),[e,b]);d.useEffect(()=>{E&&x.current.focus()},[E]);const[O,U]=d.useState(Ae),{toggleRow:J,checkAllRows:V,focusedIndex:Z,onKeyDown:R,selectedRowIdMap:K,idKey:z,selectionApi:AA}=IM({items:b,visibleItems:O,rowsSelectable:n,enableMultiRowSelection:a,rowDisabledPredicate:s,onSelectionDidChange:f}),eA=d.useMemo(()=>b.map((kA,jA)=>({...kA,order:jA+1})),[b]),[cA,wA]=d.useState(l),[uA,bA]=d.useState(g);d.useLayoutEffect(()=>{wA(l)},[l]),d.useLayoutEffect(()=>{bA(g)},[g]);const Y=d.useMemo(()=>!cA||_?eA:hA.orderBy(eA,cA,uA==="ascending"?"asc":"desc"),[cA,uA,eA,_]),F=d.useCallback(async kA=>{let jA="ascending",GA=kA;cA===kA&&(uA==="ascending"?jA="descending":GA=void 0),await(m==null?void 0:m(GA,jA))!==!1&&(bA(jA),wA(GA),C==null||C(GA,jA))},[cA,m,C,uA]),P=d.useMemo(()=>j.map((kA,jA)=>{const{width:GA,starSizedWidth:zA}=To(kA.width,!0,"width"),{width:er}=To(kA.minWidth,!1,"minWidth"),{width:Ge}=To(kA.maxWidth,!1,"maxWidth");return{...kA,header:kA.header??kA.accessorKey??" ",id:"col_"+jA,size:GA,minSize:er,maxSize:Ge,enableResizing:kA.canResize,enableSorting:kA.canSort&&!!kA.accessorKey,enablePinning:kA.pinTo!==void 0,meta:{starSizedWidth:zA,pinTo:kA.pinTo,style:kA.style,accessorKey:kA.accessorKey,cellRenderer:kA.cellRenderer}};function To(Co,vi,Fn){let Rs,yg;const Qa=Xg(Co)?G(Co):Co;if(typeof Qa=="number")yg=Qa;else if(typeof Qa=="string"){const vj=Qa.match(/^\s*\*\s*$/);if(vi&&vj)Rs="1*";else{const fy=Qa.match(/^\s*(\d+)\s*\*\s*$/);if(vi&&fy)Rs=fy[1]+"*";else{const by=Qa.match(/^\s*(\d+)\s*(px)?\s*$/);if(by)yg=Number(by[1]);else throw new Error(`Invalid TableColumnDef '${Fn}' value: ${Qa}`)}}}return yg===void 0&&Rs===void 0&&vi&&(Rs="1*"),{width:yg,starSizedWidth:Rs}}}),[G,j]),q=d.useMemo(()=>n?[{id:"select",size:fM,enableResizing:!1,enablePinning:!0,meta:{pinTo:"left"},header:({table:jA})=>a?c.jsx(Jn,{className:aA(ie.checkBoxWrapper,{[ie.showInHeader]:w}),value:jA.getIsAllRowsSelected(),indeterminate:jA.getIsSomeRowsSelected(),onDidChange:()=>{const GA=jA.getRowModel().rows.every(zA=>s(zA.original)||zA.getIsSelected());V(!GA)}}):null,cell:({row:jA})=>c.jsx(Jn,{className:ie.checkBoxWrapper,value:jA.getIsSelected(),indeterminate:jA.getIsSomeSelected(),onDidChange:()=>{J(jA.original,{metaKey:!0})}})},...P]:P,[n,P,a,w,V,J]),[X,iA]=d.useState({pageSize:t?i[0]:Number.MAX_VALUE,pageIndex:0}),sA=Sr(t);d.useEffect(()=>{!sA&&t&&iA(kA=>({...kA,pageSize:i[0]})),sA&&!t&&iA(kA=>({pageIndex:0,pageSize:Number.MAX_VALUE}))},[t,i,sA]);const[EA,QA]=d.useState({}),dA=d.useMemo(()=>{const kA=[],jA=[];return q.forEach(GA=>{var zA,er;((zA=GA.meta)==null?void 0:zA.pinTo)==="right"&&jA.push(GA.id),((er=GA.meta)==null?void 0:er.pinTo)==="left"&&kA.push(GA.id)}),{left:kA,right:jA}},[q]),rA=Si.useReactTable({columns:q,data:Y,getCoreRowModel:Si.getCoreRowModel(),getPaginationRowModel:t?Si.getPaginationRowModel():void 0,enableRowSelection:n,enableMultiRowSelection:a,columnResizeMode:"onChange",getRowId:d.useCallback(kA=>kA[z]+"",[z]),state:d.useMemo(()=>({pagination:X,rowSelection:K,columnSizing:EA,columnPinning:dA}),[dA,EA,X,K]),onColumnSizingChange:QA,onPaginationChange:iA}),DA=rA.getRowModel().rows;d.useEffect(()=>{U(DA.map(kA=>kA.original))},[DA]);const IA=d.useContext(nr),KA=IA&&(h==null?void 0:h.maxHeight)===void 0&&(h==null?void 0:h.height)===void 0&&(h==null?void 0:h.flex)===void 0,JA=mp(KA,x,IA),FA=Uy.useVirtualizer({count:DA.length,getScrollElement:d.useCallback(()=>KA&&(IA!=null&&IA.current)?IA==null?void 0:IA.current:x.current,[IA,KA]),scrollMargin:JA,estimateSize:d.useCallback(()=>H.current||30,[]),overscan:5}),MA=FA.getVirtualItems().length>0&&((vg=(Dg=FA.getVirtualItems())==null?void 0:Dg[0])==null?void 0:vg.start)-JA||0,pe=FA.getVirtualItems().length>0?FA.getTotalSize()-((($A=(Di=FA.getVirtualItems())==null?void 0:Di[FA.getVirtualItems().length-1])==null?void 0:$A.end)-JA||0):0,ne=b.length!==0,Nn=d.useRef({}),ha=d.useCallback(kA=>{Nn.current[kA]=!0},[]),Wr=PA(()=>{if(!T.current)return;let kA=T.current.clientWidth-1;const jA={},GA=[],zA={};rA.getAllColumns().forEach(Ge=>{var Jr,To;if(Ge.columnDef.size!==void 0||Nn.current[Ge.id])kA-=EA[Ge.id]||Ge.columnDef.size||0;else{GA.push(Ge);let Co;(Jr=Ge.columnDef.meta)!=null&&Jr.starSizedWidth?Co=Number((To=Ge.columnDef.meta)==null?void 0:To.starSizedWidth.replace("*","").trim())||1:Co=1,zA[Ge.id]=Co}});const er=Object.values(zA).reduce((Ge,Jr)=>Ge+Jr,0);GA.forEach(Ge=>{jA[Ge.id]=Math.floor(kA*(zA[Ge.id]/er))}),Pn.flushSync(()=>{QA(Ge=>({...Ge,...jA}))})});return tl(T,Wr),De(()=>{queueMicrotask(()=>{Wr()})},[Wr,j]),De(()=>{v(AA)},[v,AA]),c.jsxs("div",{className:aA(ie.wrapper,{[ie.noScroll]:KA}),tabIndex:-1,onKeyDown:R,ref:L,style:h,children:[c.jsxs("table",{className:ie.table,ref:T,style:{borderRight:"1px solid transparent"},children:[!D&&c.jsx("thead",{style:{height:r},className:ie.headerWrapper,children:rA.getHeaderGroups().map((kA,jA)=>c.jsx("tr",{className:aA(ie.headerRow,{[ie.allSelected]:rA.getIsAllRowsSelected()}),children:kA.headers.map((GA,zA)=>{var To,Co,vi;const{width:er,...Ge}=((To=GA.column.columnDef.meta)==null?void 0:To.style)||{},Jr=GA.getSize();return c.jsxs("th",{className:ie.columnCell,colSpan:GA.colSpan,style:{position:"relative",width:Jr,...QQ(GA.column)},children:[c.jsx(DM,{hasSorting:GA.column.columnDef.enableSorting&&!!((Co=GA.column.columnDef.meta)!=null&&Co.accessorKey),updateSorting:()=>{var Fn;return F((Fn=GA.column.columnDef.meta)==null?void 0:Fn.accessorKey)},children:c.jsxs("div",{className:ie.headerContent,style:Ge,children:[Si.flexRender(GA.column.columnDef.header,GA.getContext()),GA.column.columnDef.enableSorting&&c.jsx("span",{style:{display:"inline-flex",maxWidth:16},children:c.jsx(vM,{iconSortAsc:u,iconSortDesc:p,iconNoSort:B,direction:((vi=GA.column.columnDef.meta)==null?void 0:vi.accessorKey)===cA?uA:void 0})})]})}),GA.column.getCanResize()&&c.jsx("div",{onDoubleClick:()=>{Nn.current[GA.column.id]=!1,GA.column.columnDef.size!==void 0?GA.column.resetSize():Wr()},onMouseDown:Fn=>{ha(GA.column.id),GA.getResizeHandler()(Fn)},onTouchStart:Fn=>{ha(GA.column.id),GA.getResizeHandler()(Fn)},className:aA(ie.resizer,{[ie.isResizing]:GA.column.getIsResizing()})})]},`${GA.id}-${zA}`)})},`${kA.id}-${jA}`))}),ne&&c.jsxs("tbody",{className:ie.tableBody,children:[MA>0&&c.jsx("tr",{children:c.jsx("td",{style:{height:`${MA}px`}})}),FA.getVirtualItems().map(kA=>{const jA=kA.index,GA=DA[jA];return c.jsx("tr",{"data-index":jA,className:aA(ie.row,{[ie.selected]:GA.getIsSelected(),[ie.focused]:Z===jA,[ie.disabled]:s(GA.original),[ie.noBottomBorder]:M}),ref:zA=>{zA&&H.current===null&&(H.current=Math.round(zA.getBoundingClientRect().height)),FA.measureElement(zA)},onClick:zA=>{zA.defaultPrevented||zA.target.tagName.toLowerCase()==="input"||J(GA.original,zA)},children:GA.getVisibleCells().map((zA,er)=>{var To,Co;const Ge=(Co=(To=zA.column.columnDef)==null?void 0:To.meta)==null?void 0:Co.cellRenderer,Jr=zA.column.getSize();return c.jsx("td",{className:ie.cell,style:{width:Jr,...QQ(zA.column)},children:c.jsx("div",{className:ie.cellContent,children:Ge?Ge(zA.row.original,jA,er,zA==null?void 0:zA.getValue()):Si.flexRender(zA.column.columnDef.cell,zA.getContext())})},`${zA.id}-${er}`)})},`${GA.id}-${jA}`)}),pe>0&&c.jsx("tr",{children:c.jsx("td",{style:{height:`${pe}px`}})})]})]}),o&&!ne&&c.jsx("div",{className:ie.loadingWrapper,children:c.jsx(ll,{})}),!I&&!o&&!ne&&(Q?Q():c.jsx("div",{className:ie.noRows,children:"No data available"})),t&&ne&&DA.length>0&&X&&c.jsxs("div",{className:ie.pagination,children:[c.jsx("div",{style:{flex:1},children:c.jsxs("span",{className:ie.paginationLabel,children:["Showing ",DA[0].original.order," to ",DA[DA.length-1].original.order," of"," ",b.length," entries"]})}),i.length>1&&c.jsxs("div",{children:[c.jsx("span",{className:ie.paginationLabel,children:"Rows per page"}),c.jsx("select",{className:ie.paginationSelect,value:X.pageSize,onChange:kA=>{rA.setPageSize(Number(kA.target.value))},children:i.map(kA=>c.jsx("option",{value:kA,children:kA},kA))})]}),c.jsxs("div",{className:ie.paginationButtons,children:[c.jsx(ae,{onClick:()=>rA.setPageIndex(0),disabled:!rA.getCanPreviousPage(),type:"button",variant:"ghost",children:c.jsx(AM,{})}),c.jsx(ae,{onClick:()=>rA.previousPage(),disabled:!rA.getCanPreviousPage(),type:"button",variant:"ghost",children:c.jsx(BQ,{})}),c.jsx(ae,{onClick:()=>rA.nextPage(),disabled:!rA.getCanNextPage(),type:"button",variant:"ghost",children:c.jsx(pQ,{})}),c.jsx(ae,{onClick:()=>rA.setPageIndex(rA.getPageCount()-1),disabled:!rA.getCanNextPage(),type:"button",variant:"ghost",children:c.jsx(eM,{})})]})]})]})});function DM({hasSorting:A,updateSorting:e,children:t}){return A?c.jsx("button",{className:ie.clickableHeader,onClick:e,children:t}):c.jsx(c.Fragment,{children:t})}function vM({direction:A,iconSortAsc:e="sortasc:Table",iconSortDesc:t="sortdesc:Table",iconNoSort:o="nosort:Table"}){return A==="ascending"?c.jsx(yA,{name:e,fallback:"sortasc",size:"12"}):A==="descending"?c.jsx(yA,{name:t,fallback:"sortdesc",size:"12"}):o!=="-"?c.jsx(yA,{name:o,fallback:"nosort",size:"12"}):c.jsx(yA,{name:o,size:"12"})}const Qt={data:Ae,columns:Ae,isPaginated:!1,loading:!1,rowsSelectable:!1,enableMultiRowSelection:!0,pageSizes:[10],sortingDirection:"ascending",autoFocus:!1,hideHeader:!1,hideNoDataView:!1,alwaysShowSelectionHeader:!1,noBottomBorder:!1},te="Table",EQ={status:"stable",description:"`Table` presents structured data for viewing, sorting, selection, and interaction.",props:{items:He("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:k("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 \`${te}\`.`,valueType:"boolean",defaultValue:Qt.isPaginated},loading:k("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:k("This optional property is used to specify the height of the table header."),rowsSelectable:k("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:k("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:qA("A property to customize what to display if the table does not contain any data."),sortBy:k("This property is used to determine which data property to sort by. If not defined, the data is not sorted"),sortDirection:k("This property determines the sort order to be `ascending` or `descending`. This property only works if the [`sortBy`](#sortby) property is also set. By default ascending order is used."),autoFocus:mt(),hideHeader:{description:"Set the header visibility using this property. Set it to `true` to hide the header.",valueType:"boolean",defaultValue:Qt.hideHeader},iconNoSort:k(`Allows setting an alternate icon displayed in the ${te} column header when sorting is enabled, but the column remains unsorted. You can change the default icon for all ${te} instances with the "icon.nosort:Table" declaration in the app configuration file.`),iconSortAsc:k(`Allows setting an alernate icon displayed in the ${te} column header when sorting is enabled, and the column is sorted in ascending order. You can change the default icon for all ${te} instances with the "icon.sortasc:Table" declaration in the app configuration file.`),iconSortDesc:k(`Allows setting an alternate icon displayed in the ${te} column header when sorting is enabled, and the column is sorted in descending order. You can change the default icon for all ${te} 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:Qt.enableMultiRowSelection},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:k("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:k("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:k("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:k("This method clears the list of currently selected table rows."),getSelectedItems:k("This method returns the list of currently selected table rows items."),getSelectedIds:k("This method returns the list of currently selected table rows IDs."),selectAll:k("This method selects all the rows in the table. This method has no effect if the rowsSelectable property is set to `false`."),selectId:k("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:CA(ie.themeVars),defaultThemeVars:{[`padding-heading-${te}`]:"$space-2 $space-0 $space-2 $space-2",[`padding-cell-${te}`]:"$space-2 $space-0 $space-2 $space-2",[`paddingHorizontal-cell-first-${te}`]:"$space-5",[`paddingHorizontal-cell-last-${te}`]:"$space-0",[`border-cell-${te}`]:"1px solid $borderColor",[`outlineWidth-heading-${te}--focus`]:"$outlineWidth--focus",[`outlineStyle-heading-${te}--focus`]:"$outlineStyle--focus",[`outlineOffset-heading-${te}--focus`]:"$outlineOffset--focus",[`fontSize-heading-${te}`]:"$fontSize-tiny",[`fontWeight-heading-${te}`]:"$fontWeight-bold",[`textTransform-heading-${te}`]:"uppercase",[`fontSize-row-${te}`]:"$fontSize-small",[`backgroundColor-selected-${te}--hover`]:`$backgroundColor-row-${te}--hover`,[`backgroundColor-pagination-${te}`]:`$backgroundColor-${te}`,[`outlineColor-heading-${te}--focus`]:"$outlineColor--focus",[`textColor-pagination-${te}`]:"$color-secondary",[`backgroundColor-row-${te}--hover`]:"$color-primary-50",[`backgroundColor-selected-${te}`]:"$color-primary-100",[`backgroundColor-heading-${te}--hover`]:"$color-surface-200",[`backgroundColor-heading-${te}--active`]:"$color-surface-300",[`backgroundColor-heading-${te}`]:"$color-surface-100",[`textColor-heading-${te}`]:"$color-surface-500"}},yM=d.forwardRef(({extractValue:A,node:e,renderChild:t,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,registerComponentApi:a},i)=>{var w,v,f,M,S,G;const s=A(e.props.items)||A(e.props.data),[l,g]=d.useState(Ae),[u,p]=d.useState(YA),B=d.useRef([]),[C,m]=d.useState(0),h=d.useMemo(()=>({registerColumn:(b,x)=>{g(Qe(L=>{L.findIndex(H=>H===x)<0&&L.push(x)})),p(Qe(L=>{L[x]=b}))},unRegisterColumn:b=>{g(Qe(x=>x.filter(L=>L!==b))),p(Qe(x=>{delete x[b]}))}}),[]),Q=d.useMemo(()=>({registerColumn:(b,x)=>{B.current.find(L=>L===x)||(m(L=>L+1),B.current.push(x))},unRegisterColumn:b=>{B.current.find(x=>x===b)&&(B.current=B.current.filter(x=>x!==b),m(x=>x+1))}}),[]),E=d.useMemo(()=>l.map(b=>u[b]),[l,u]),D=dQ(),I=c.jsxs(c.Fragment,{children:[c.jsx(Ad.Provider,{value:h,children:t(e.children)},C),c.jsx(Ad.Provider,{value:Q,children:t(e.children)}),c.jsx(bM,{ref:i,data:s,columns:E,pageSizes:A(e.props.pageSizes),rowsSelectable:A.asOptionalBoolean(e.props.rowsSelectable),registerComponentApi:a,noDataRenderer:e.props.noDataTemplate&&(()=>t(e.props.noDataTemplate)),hideNoDataView:e.props.noDataTemplate===null||e.props.noDataTemplate==="",loading:A.asOptionalBoolean(e.props.loading),isPaginated:A.asOptionalBoolean((w=e.props)==null?void 0:w.isPaginated),headerHeight:A.asSize(e.props.headerHeight),rowDisabledPredicate:r(e.props.rowDisabledPredicate),sortBy:A((v=e.props)==null?void 0:v.sortBy),sortingDirection:A((f=e.props)==null?void 0:f.sortDirection),iconSortAsc:A.asOptionalString((M=e.props)==null?void 0:M.iconSortAsc),iconSortDesc:A.asOptionalString((S=e.props)==null?void 0:S.iconSortDesc),iconNoSort:A.asOptionalString((G=e.props)==null?void 0:G.iconNoSort),sortingDidChange:o("sortingDidChange"),onSelectionDidChange:o("selectionDidChange"),willSort:o("willSort"),style:n,uid:e.uid,autoFocus:A.asOptionalBoolean(e.props.autoFocus),hideHeader:A.asOptionalBoolean(e.props.hideHeader),enableMultiRowSelection:A.asOptionalBoolean(e.props.enableMultiRowSelection),alwaysShowSelectionHeader:A.asOptionalBoolean(e.props.alwaysShowSelectionHeader),noBottomBorder:A.asOptionalBoolean(e.props.noBottomBorder)})]});return D===null?c.jsx($8,{children:I}):I}),xM=$(te,EQ,({extractValue:A,node:e,renderChild:t,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,registerComponentApi:a})=>c.jsx(yM,{node:e,extractValue:A,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,renderChild:t,registerComponentApi:a})),td={themeVars:'"[]"',wrapper:"_wrapper_1c2sc_13",sentinel:"_sentinel_1c2sc_17"},IQ={to:"top"};function kM({children:A,uid:e,layout:t,to:o=IQ.to}){const r=d.useRef(null),[n,a]=d.useState(null),[i,s]=d.useState(!1),l=pp(r.current),g=jx(l);d.useEffect(()=>{n&&document.documentElement.style.setProperty("--xmlui-scroll-margin-top",n.clientHeight+"px")},[l,n]);const u=aA(td.wrapper),p={backgroundColor:g,...t},B="";return c.jsxs(c.Fragment,{children:[!!l&&c.jsx(Ky.RenderPropSticky,{mode:o,onFixedToggle:s,scrollElement:l,children:({isFixed:C,wrapperStyles:m,wrapperRef:h,holderStyles:Q,holderRef:E})=>c.jsx("div",{ref:E,style:Q,children:c.jsx("div",{className:`${u} ${C?B:""}`,style:C?{...m,...p}:m,ref:h,children:c.jsx("div",{ref:a,children:A})})})}),c.jsx("div",{style:{display:"none"},ref:r,className:o==="top"?td.sentinel:""})]})}const wQ="StickyBox",fQ={status:"stable",description:"`StickyBox` remains fixed at the top or bottom of 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:IQ.to}},themeVars:CA(td.themeVars),defaultThemeVars:{[`backgroundColor-${wQ}`]:"$backgroundColor"}},HM=$(wQ,fQ,({node:A,renderChild:e,extractValue:t,layoutCss:o})=>{var r;return c.jsx(kM,{uid:A.uid,layout:o,to:t((r=A.props)==null?void 0:r.to),children:e(A.children)})}),yo="ModalDialog",bQ={status:"stable",description:"`ModalDialog` creates overlay dialogs that appear on top of the main interface, ideal for forms, confirmations, detailed views, or any content that requires focused user attention. Dialogs are programmatically opened using the `open()` method and can receive parameters for dynamic content.",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:Hl.fullScreen},title:k("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:Hl.closeButtonVisible}},events:{open:k(`This event is fired when the \`${yo}\` is opened either via a \`when\` or an imperative API call (\`open()\`).`),close:k(`This event is fired when the close button is pressed or the user clicks outside the \`${yo}\`.`)},apis:{close:k(`This method is used to close the \`${yo}\`. Invoke it using \`modalId.close()\` where \`modalId\` refers to a \`ModalDialog\` component.`),open:k("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:k("First parameter passed to the `open()` method"),$params:k("Array of all parameters passed to `open()` method (access with `$params[0]`, `$params[1]`, etc.)")},themeVars:CA(on.themeVars),defaultThemeVars:{...du(yo,{all:"$space-7"}),[`backgroundColor-${yo}`]:"$backgroundColor-primary",[`backgroundColor-overlay-${yo}`]:"$backgroundColor-overlay",[`textColor-${yo}`]:"$textColor-primary",[`borderRadius-${yo}`]:"$borderRadius",[`fontFamily-${yo}`]:"$fontFamily",[`maxWidth-${yo}`]:"450px",[`marginBottom-title-${yo}`]:"0"}},SM=$(yo,bQ,({node:A,extractValue:e,layoutCss:t,renderChild:o,lookupEventHandler:r,registerComponentApi:n,layoutContext:a})=>{var i,s;return a!=null&&a._insideModalFrame?c.jsx(Sl,{style:t,fullScreen:e((i=A.props)==null?void 0:i.fullScreen),title:e((s=A.props)==null?void 0:s.title),closeButtonVisible:e.asOptionalBoolean(A.props.closeButtonVisible),children:o(A.children,{type:"Stack"})}):c.jsx(tH,{isInitiallyOpen:A.when!==void 0,registerComponentApi:n,onClose:r("close"),onOpen:r("open"),renderDialog:({openParams:l,ref:g})=>c.jsx(tt,{node:A,renderChild:o,layoutContext:{_insideModalFrame:!0},contextVars:{$param:l==null?void 0:l[0],$params:l}})})}),od={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)"}'`,wrapper:"_wrapper_1vx80_13",icon:"_icon_1vx80_45"},ac={hideIcon:!1,icon:"noresult"},MM=d.forwardRef(function({label:e,icon:t=ac.icon,hideIcon:o=ac.hideIcon,style:r},n){return c.jsxs("div",{className:od.wrapper,style:r,ref:n,children:[!o&&c.jsx(yA,{name:t,className:od.icon}),e]})}),ns="NoResult",DQ={status:"stable",description:"`NoResult` displays a visual indication that a query or search returned nothing.",props:{label:Fe(),icon:{description:"This property defines the icon to display with the component.",valueType:"string",defaultValue:ac.icon},hideIcon:{description:"This boolean property indicates if the icon should be hidden.",valueType:"boolean",defaultValue:ac.hideIcon}},themeVars:CA(od.themeVars),defaultThemeVars:{[`border-${ns}`]:"0px solid $borderColor",[`paddingVertical-${ns}`]:"$space-2",[`gap-icon-${ns}`]:"$space-2",[`size-icon-${ns}`]:"$space-8",light:{},dark:{}}},LM=$(ns,DQ,({node:A,extractValue:e,layoutCss:t})=>c.jsx(MM,{label:e.asDisplayText(A.props.label||A.children||"No results found"),icon:A.props.icon,hideIcon:e.asOptionalBoolean(A.props.hideIcon),style:t})),vQ="SelectionStore",yQ={status:"deprecated",description:`The \`${vQ}\` is a non-visual component that may wrap components (items) and manage their selection state to accommodate the usage of other actions.`,props:{idKey:{description:'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"`.',defaultValue:ed.idKey}}},TM=$(vQ,yQ,A=>{const{node:e,state:t,updateState:o,renderChild:r,registerComponentApi:n}=A;return c.jsx(gQ,{updateState:o,idKey:e.props.idKey,selectedItems:t==null?void 0:t.value,registerComponentApi:n,children:r(e.children)})}),xQ={title:"XMLUI Application"},NM=({title:A=xQ.title})=>c.jsx(Ia.Helmet,{title:A}),FM="PageMetaTitle",kQ={status:"stable",description:"`PageMetaTitle` dynamically sets or updates the browser tab title, enabling pages and components to override the default application name with context-specific titles.",props:{value:{description:"This property sets the page's title to display in the browser tab.",defaultValue:xQ.title}}},PM=$(FM,kQ,({node:A,extractValue:e,renderChild:t})=>c.jsx(NM,{title:e(A.props.value)||t(A.children)})),rd={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)"}'`,wrapper:"_wrapper_ek0mg_13",bar:"_bar_ek0mg_22"},HQ={value:0},GM=d.forwardRef(function({value:e=HQ.value,style:t},o){return c.jsx("div",{className:rd.wrapper,style:t,ref:o,children:c.jsx("div",{style:{width:`${e*100}%`},className:rd.bar})})}),ti="ProgressBar",SQ={status:"stable",description:"`ProgressBar` provides a visual indicator showing the completion percentage of tasks, processes, or any measurable progress. It displays as a horizontal bar that fills from left to right based on the provided value between 0 (empty) and 1 (complete).",props:{value:{description:"This property defines the progress value with a number between 0 and 1.",valueType:"number",defaultValue:HQ.value}},themeVars:CA(rd.themeVars),defaultThemeVars:{[`borderRadius-${ti}`]:"$borderRadius",[`borderRadius-indicator-${ti}`]:"0px",[`thickness-${ti}`]:"$space-2",[`backgroundColor-${ti}`]:"$color-surface-200",[`color-indicator-${ti}`]:"$color-primary-500"}},OM=$(ti,SQ,({node:A,extractValue:e,layoutCss:t})=>c.jsx(GM,{value:Math.max(0,Math.min(1,e(A.props.value))),style:t})),Lt={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)"}'`,splitter:"_splitter_12v45_13",vertical:"_vertical_12v45_26",horizontal:"_horizontal_12v45_29",panel:"_panel_12v45_33",primaryPanel:"_primaryPanel_12v45_40",secondaryPanel:"_secondaryPanel_12v45_47",resizer:"_resizer_12v45_53",floatingResizer:"_floatingResizer_12v45_67"},as=(A,e)=>{if(A.endsWith("px"))return parseInt(A,10);if(A.endsWith("%"))return parseInt(A,10)/100*e;throw new Error("Invalid size format. Use px or %.")},ic=(A,e)=>A/e*100,xo={initialPrimarySize:"50%",minPrimarySize:"0%",maxPrimarySize:"100%",orientation:"vertical",swapped:!1,floating:!1},RM=({initialPrimarySize:A=xo.initialPrimarySize,minPrimarySize:e=xo.minPrimarySize,maxPrimarySize:t=xo.maxPrimarySize,orientation:o=xo.orientation,children:r,style:n,swapped:a=xo.swapped,floating:i=xo.floating,splitterTemplate:s,resize:l=vA})=>{var w;const[g,u]=d.useState(0),[p,B]=d.useState(null),[C,m]=d.useState(!1),[h,Q]=d.useState(null),[E,D]=d.useState(null),I=d.useMemo(()=>i?E:h,[i,h,E]);return d.useEffect(()=>{if(p){const v=o==="horizontal"?p.getBoundingClientRect().width:p.getBoundingClientRect().height,f=as(A,v);u(f),l&&l([ic(f,v),ic(v-f,v)])}},[A,o,l,p,a]),d.useEffect(()=>{const v=S=>{if(p&&I){const G=o==="horizontal"?p.getBoundingClientRect().width:p.getBoundingClientRect().height,b=Math.min(Math.max(o==="horizontal"?S.clientX-p.getBoundingClientRect().left:S.clientY-p.getBoundingClientRect().top,as(e,G)),as(t,G));u(b),l&&l([ic(b,G),ic(G-b,G)])}},f=()=>{document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",f)},M=()=>{document.addEventListener("mousemove",v),document.addEventListener("mouseup",f)};return I&&I.addEventListener("mousedown",M),()=>{I&&I.removeEventListener("mousedown",M),document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",f)}},[e,t,o,l,i,I,p]),d.useEffect(()=>{const v=f=>{const M=o==="horizontal"?f.clientX:f.clientY;if(p){const G=(o==="horizontal"?p.getBoundingClientRect().left:p.getBoundingClientRect().top)+g;M>G-20&&M<G+20?m(!0):m(!1)}};return p&&(p.addEventListener("mousemove",v),p.addEventListener("mouseleave",()=>m(!1))),()=>{p&&(p.removeEventListener("mouseleave",()=>m(!1)),p.removeEventListener("mousemove",v))}},[g,o,p]),d.useEffect(()=>{E&&(E.style.opacity=C?"1":"0")},[E,C]),c.jsx("div",{ref:v=>B(v),className:aA(Lt.splitter,{[Lt.horizontal]:o==="horizontal",[Lt.vertical]:o==="vertical"}),style:n,children:d.Children.count(r)>1?c.jsxs(c.Fragment,{children:[c.jsx("div",{style:a?{}:{flexBasis:g},className:aA({[Lt.primaryPanel]:!a,[Lt.secondaryPanel]:a}),children:d.Children.toArray(r)[0]}),!i&&c.jsx("div",{className:aA(Lt.resizer,{[Lt.horizontal]:o==="horizontal",[Lt.vertical]:o==="vertical"}),ref:v=>Q(v),children:s}),c.jsx("div",{className:aA({[Lt.primaryPanel]:a,[Lt.secondaryPanel]:!a}),style:a?{flexBasis:g}:{},children:d.Children.toArray(r)[1]}),i&&c.jsx("div",{ref:v=>D(v),className:aA(Lt.floatingResizer,{[Lt.horizontal]:o==="horizontal",[Lt.vertical]:o==="vertical"}),style:{top:o==="horizontal"?0:g,left:o==="horizontal"?g:0},children:s})]}):c.jsx(c.Fragment,{children:((w=d.Children.toArray(r))==null?void 0:w[0])&&c.jsx("div",{className:Lt.panel,children:d.Children.toArray(r)[0]})})})},hn="Splitter",sc={status:"stable",description:"`Splitter` component divides a container into two resizable sections. These are are identified by their names: primary and secondary. They have a draggable bar between them.",props:{swapped:{description:`This optional booelan property indicates whether the \`${hn}\` sections are layed out as primary and secondary (\`false\`) or secondary and primary (\`true\`) from left to right.`,valueType:"boolean",defaultValue:xo.swapped},splitterTemplate:qA("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:xo.initialPrimarySize},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:xo.minPrimarySize},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:xo.maxPrimarySize},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:xo.floating},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:xo.orientation}},events:{resize:k("This event fires when the component is resized.")},themeVars:CA(Lt.themeVars),defaultThemeVars:{[`backgroundColor-resizer-${hn}`]:"$color-surface-100",[`thickness-resizer-${hn}`]:"5px",[`cursor-resizer-horizontal-${hn}`]:"ew-resize",[`cursor-resizer-vertical-${hn}`]:"ns-resize"}},MQ={...sc,props:{...sc.props}},LQ={...sc,specializedFrom:hn},TQ={...sc,specializedFrom:hn},UM="vertical";function nd({node:A,extractValue:e,layoutCss:t,renderChild:o,lookupEventHandler:r,orientation:n=e(A.props.orientation)??UM}){var a,i,s,l,g,u;if(!Kg(A.children))throw new Ri;return c.jsx(RM,{style:t,swapped:e.asOptionalBoolean((a=A.props)==null?void 0:a.swapped),orientation:n,splitterTemplate:o((i=A.props)==null?void 0:i.splitterTemplate),initialPrimarySize:e((s=A.props)==null?void 0:s.initialPrimarySize),minPrimarySize:e((l=A.props)==null?void 0:l.minPrimarySize),maxPrimarySize:e((g=A.props)==null?void 0:g.maxPrimarySize),floating:e.asOptionalBoolean((u=A.props)==null?void 0:u.floating),resize:r("resize"),children:o(A.children)})}const KM=$(hn,MQ,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>nd({node:A,extractValue:e,layoutCss:o,renderChild:t,lookupEventHandler:r})),YM=$("VSplitter",TQ,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>nd({node:A,extractValue:e,layoutCss:o,renderChild:t,orientation:"vertical",lookupEventHandler:r})),jM=$("HSplitter",LQ,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>nd({node:A,extractValue:e,layoutCss:o,renderChild:t,orientation:"horizontal",lookupEventHandler:r}));var Qn=(A=>(A.ACTION_ITEM_STARTED="ACTION_ITEM_STARTED",A.ACTION_ITEM_PROGRESS="ACTION_ITEM_PROGRESS",A.ACTION_ITEM_COMPLETED="ACTION_ITEM_COMPLETED",A.CLEAR_COMPLETED_ACTION_ITEMS="CLEAR_COMPLETED_ACTION_ITEMS",A.ACTION_ITEM_ERROR="ACTION_ITEM_ERROR",A.ACTION_QUEUE_INITIALIZED="ACTION_QUEUE_INITIALIZED",A.ACTION_ITEM_REMOVED="ACTION_ITEM_REMOVED",A))(Qn||{});function _M(A){return{type:"ACTION_ITEM_STARTED",payload:{actionItemId:A}}}function WM(A,e){return{type:"ACTION_ITEM_PROGRESS",payload:{actionItemId:A,progressEvent:e}}}function JM(A,e){return{type:"ACTION_ITEM_COMPLETED",payload:{actionItemId:A,result:e}}}function NQ(A){return{type:"ACTION_ITEM_REMOVED",payload:{actionItemId:A}}}function $M(){return{type:"CLEAR_COMPLETED_ACTION_ITEMS",payload:{}}}function zM(A,e){return{type:"ACTION_ITEM_ERROR",payload:{actionItemId:A,error:e}}}function FQ(A,e,t){return{type:"ACTION_QUEUE_INITIALIZED",payload:{queue:A,actionItemIds:t,batchId:e}}}const PQ={clearAfterFinish:!1},qM=Qe((A,e)=>{switch(e.type){case Qn.ACTION_QUEUE_INITIALIZED:{const t={},o={};e.payload.queue.forEach((n,a)=>{o[e.payload.actionItemIds[a]]=n});const r=Object.keys(o);return Object.entries(o).forEach(([n,a])=>{t[n]={batchId:e.payload.batchId,actionItemId:n,status:"pending",item:a}}),{queue:[...A.queue||[],...r],queueState:{...A.queueState,...t}}}case Qn.ACTION_ITEM_STARTED:{A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="started");break}case Qn.ACTION_ITEM_PROGRESS:{A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="in-progress",A.queueState[e.payload.actionItemId].progress=e.payload.progressEvent);break}case Qn.ACTION_ITEM_COMPLETED:{A.queue=A.queue.filter(t=>t!==e.payload.actionItemId),A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="completed",A.queueState[e.payload.actionItemId].result=e.payload.result);break}case Qn.ACTION_ITEM_REMOVED:{A.queue=A.queue.filter(t=>t!==e.payload.actionItemId),delete A.queueState[e.payload.actionItemId];break}case Qn.ACTION_ITEM_ERROR:{A.queue=A.queue.filter(t=>t!==e.payload.actionItemId),A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="error",A.queueState[e.payload.actionItemId].error=e.payload.error);break}case Qn.CLEAR_COMPLETED_ACTION_ITEMS:{A.queueState&&Object.entries(A.queueState).forEach(([t,o])=>{(o.status==="completed"||o.status==="error")&&delete A.queueState[t]});break}default:throw new Error}}),VM={queue:[],queueState:{}};function ZM({registerComponentApi:A,willProcessItem:e,processItem:t,didProcessItem:o,processItemError:r,onComplete:n,renderProgressFeedback:a,renderResultFeedback:i,clearAfterFinish:s=PQ.clearAfterFinish}){const l=d.useRef(new Set),[g,u]=d.useReducer(qM,VM);let p=$e();const B=PA(M=>{const S=Ni();return u(FQ([M],Ni(),[S])),S}),C=PA(M=>{const S=M.map(()=>Ni());return u(FQ(M,Ni(),S)),S}),m=d.useCallback(()=>{u($M())},[]),h=d.useCallback(M=>{M&&u(NQ(M))},[]),Q=d.useCallback(()=>g.queue.length,[g.queue.length]),E=d.useCallback(()=>Object.values(g.queueState),[g.queueState]);d.useEffect(()=>{A({enqueueItem:B,enqueueItems:C,clearCompleted:m,remove:h,getQueueLength:Q,getQueuedItems:E})},[A,B,C,m,h,Q,E]);const D=d.useCallback(async M=>{const S=g.queueState[M];if((S==null?void 0:S.status)!=="pending"||l.current.has(M))return;l.current.add(M);const G=S.item;let b={};try{const x=await(e==null?void 0:e({item:G,actionItemId:M,processItemContext:b}));if(b={...b,willProcessResult:x},x===!1){u(NQ(M));return}u(_M(M));const L=await(t==null?void 0:t({item:G,actionItemId:M,processItemContext:b,onProgress:T=>{u(WM(M,T))}}));b={...b,processResult:L},await(o==null?void 0:o({item:G,actionItemId:M,processItemContext:b})),u(JM(M,L))}catch(x){let L=await(r==null?void 0:r(x,{item:G,actionItemId:M,processItemContext:b}));u(zM(M,x)),L!==!1&&p.signError(x)}finally{l.current.delete(M)}},[p,o,u,t,r,g.queueState,e]),I=d.useRef(),w=g.queue,v=Sr(w),f=d.useCallback(()=>{n==null||n();const M=E(),S=E().filter(b=>b.status==="completed"),G=i==null?void 0:i(S,M);if(G&&S.length){let b=I.current;ke.success(c.jsx(c.Fragment,{children:G}),{id:b})}else if(I.current){let b=I.current;ke.dismiss(b)}s&&m()},[s,m,E,n,i]);return d.useLayoutEffect(()=>{if(w.length&&a){const M=E(),S=E().filter(b=>b.status==="completed"),G=a==null?void 0:a(S,M);G&&I.current?ke.loading(c.jsx(c.Fragment,{children:G}),{id:I.current}):I.current=ke.loading(c.jsx(c.Fragment,{children:G}))}},[a,w==null?void 0:w.length]),d.useEffect(()=>{if(!w||v===w||hA.isEqual(v,w))return;if(v!=null&&v.length&&!w.length){f();return}let M=w[0];(async()=>await D(M))()},[f,D,v,w]),null}const XM="Queue",GQ={status:"stable",description:"`Queue` manages sequential processing of items in FIFO (first-in, first-out) order. It is a non-visual component but provides UI progress reporting and result display.",props:{progressFeedback:k("This property defines the component template of the UI that displays progress information whenever, the queue's `progressReport` function in invoked. If not set, no progress feedback is displayed."),resultFeedback:k("This property defines the component template of the UI that displays result information when the queue becomes empty after processing all queued items. If not set, no result feedback is displayed."),clearAfterFinish:{description:"This property indicates the completed items (successful or error) should be removed from the queue after completion.",defaultValue:PQ.clearAfterFinish}},nonVisual:!0,events:{willProcess:k("This event is triggered to process a particular item."),process:k("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:k("This event is fired when the processing of a queued item has been successfully processed."),processError:k("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:k("The queue fires this event when the queue gets empty after processing all items. The event handler has no arguments.")},apis:{enqueueItem:k("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:k("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:k("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:k("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet."),remove:k("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet.")},contextVars:{$completedItems:k("A list containing the queue items that have been completed (fully processed)."),$queuedItems:k("A list containing the items waiting in the queue, icluding the completed items.")}},AL=$(XM,GQ,({node:A,registerComponentApi:e,lookupEventHandler:t,renderChild:o,extractValue:r})=>c.jsx(ZM,{registerComponentApi:e,renderResultFeedback:A.props.resultFeedback?(n,a)=>c.jsx(tt,{node:A.props.resultFeedback,contextVars:{$completedItems:n,$queuedItems:a},renderChild:o}):void 0,renderProgressFeedback:A.props.progressFeedback?(n,a)=>c.jsx(tt,{node:A.props.progressFeedback,contextVars:{$completedItems:n,$queuedItems:a},renderChild:o}):void 0,willProcessItem:t("willProcess"),processItem:t("process",{signError:!1}),didProcessItem:t("didProcess"),processItemError:t("processError"),onComplete:t("complete"),clearAfterFinish:r.asOptionalBoolean(A.props.clearAfterFinish)})),OQ=d.forwardRef(({node:A,lookupSyncCallback:e,lookupEventHandler:t,compound:o,api:r,scriptCollected:n,renderChild:a,extractValue:i,layoutContext:s,uid:l,updateState:g},u)=>{const p=d.useMemo(()=>{const S={};return A.props&&Object.entries(A.props).forEach(([G,b])=>{const x=i(b,!0);x!=null&&x._ARROW_EXPR_?S[G]=e(x):S[G]=x}),S},[i,e,A.props]),B=et(p),C=d.useMemo(()=>{var T;const{loaders:S,vars:G,functions:b,scriptError:x,...L}=o;return{type:"Container",uses:Ae,api:r,scriptCollected:n,loaders:S,vars:G,functions:b,scriptError:x,containerUid:l,props:{debug:(T=o.props)==null?void 0:T.debug},children:[L]}},[r,o,n,l]),m=PA((S,...G)=>{const b=t(S);if(b)return b(...G)}),h=PA(S=>!!t(S)),Q=d.useMemo(()=>({$props:B,...C.vars,emitEvent:m,hasEventHandler:h,updateState:g}),[C.vars,m,h,B,g]),E=et(Q),D=d.useMemo(()=>({...C,vars:E}),[C,E]),I=et(D),w=d.useMemo(()=>Object.entries(A.props).some(([S,G])=>{var b;return S.endsWith("Template")||hA.isObject(G)&&G.type!==void 0||hA.isArray(G)&&((b=G[0])==null?void 0:b.type)!==void 0}),[A.props]),v=d.useMemo(()=>{if(!(!w&&(!A.children||A.children.length===0)))return{renderChild:a,props:A.props,children:A.children}},[w,A.children,A.props,a]),f=s&&{...s,wrapChild:void 0},M=a(I,f,v);return u&&M&&d.isValidElement(M)?d.cloneElement(M,{ref:Dt(u,M.ref)}):d.isValidElement(M)?M:c.jsx(c.Fragment,{children:M})});OQ.displayName="CompoundComponent";const ad={themeVars:'"[]"',wrapper:"_wrapper_1hlil_13",visibleOnHover:"_visibleOnHover_1hlil_16"};function eL({children:A,top:e,right:t,bottom:o,left:r,visibleOnHover:n=!1}){return c.jsx("div",{style:{top:e,right:t,bottom:o,left:r},className:aA(ad.wrapper,{[ad.visibleOnHover]:n}),children:A})}const tL="PositionedContainer",RQ={status:"deprecated",description:"(**OBSOLETE**) This component was created for the ChatEngine app.",props:{visibleOnHover:k("No description")},themeVars:CA(ad.themeVars)},oL=$(tL,RQ,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>c.jsx(eL,{top:o.top,right:o.right,bottom:o.bottom,left:o.left,visibleOnHover:e.asOptionalBoolean(A.props.visibleOnHover),children:t(A.children)}));function UQ(A){return"data"in A}async function rL(A,e=!1){let t;if(UQ(A))t=A.data;else try{t=await A.clone().json()}catch{try{t=await A.clone().text()}catch{e&&console.error("Failed to parse response as text or JSON",A.body)}}return t}function id({key:A,value:e},t,o=A){if(e!=null){if(e instanceof File||e instanceof Blob){t.append(A,e);return}Array.isArray(e)?e.forEach(r=>{id({key:A,value:r},t,o)}):hA.isPlainObject(e)?Object.entries(e).forEach(([r,n])=>{const a=`${o}.${r}`;id({key:a,value:n},t,a)}):t.append(A,e.toString())}}class is{constructor(e){var a;this.execute=async({abortSignal:i,operation:s,params:l,parseOptions:g,resolveBindingExpressions:u=!1,transactionId:p=Rg(),onProgress:B})=>await this.executeOperation({operation:s,abortSignal:i,contextParams:l,resolveBindingExpressions:u,parseResponse:g!=null&&g.asFile?async C=>{var h;let m=s.fileName||"unknown";if(C.headers&&C.headers.get&&typeof C.headers.get=="function"){const Q=(h=C.headers.get("Content-Disposition"))==null?void 0:h.toString();if(Q){const E=Q.match(/filename="(.+)"/);E&&E.length===2&&(m=E[1])}}return UQ(C)?C.data:new File([await C.clone().blob()],m)}:void 0,transactionId:p,onUploadProgress:B}),this.upload=async({operation:i,params:s={},chunk:l,onUploadProgress:g,abortSignal:u,transactionId:p=Rg(),resolveBindingExpressions:B=!1})=>{const{file:C,asForm:m,formParams:h}=this.extractParam(B,i,s),Q={chunkStart:l==null?void 0:l.chunkStart,chunkEnd:l?(l==null?void 0:l.chunkEnd)-1:void 0,chunkLength:l?(l==null?void 0:l.chunkEnd)-(l==null?void 0:l.chunkStart):void 0,fileSize:C.size,urlSafeName:encodeURIComponent(C.name),fileName:C.name},E={...s,$uploadParams:Q};if(m){const D=new FormData;return D.append(C.name,(l==null?void 0:l.blob)||C),h&&Object.entries(this.extractParam(B,h,s)).forEach(([I,w])=>{D.append(I,w)}),await this.executeOperation({operation:i,contextParams:E,resolveBindingExpressions:B,rawBody:D,headers:{...this.extractParam(B,i.headers||{},E),"Content-Type":void 0},onUploadProgress:g,abortSignal:u,transactionId:p})}return new Promise((D,I)=>{const w=new FileReader;w.readAsArrayBuffer((l==null?void 0:l.blob)||C),w.onload=async v=>{try{if(v.target===null){I();return}D(await this.executeOperation({operation:i,contextParams:E,resolveBindingExpressions:B,rawBody:v.target.result,headers:{...this.extractParam(B,i.headers||{},E),"Content-Type":C.type},onUploadProgress:g,abortSignal:u,transactionId:p}))}catch(f){I(f)}},w.onerror=()=>{I()}})},this.resolveUrl=({operation:i,params:s={},resolveBindingExpressions:l=!1})=>this.generateFullApiUrl(this.extractParam(l,i.url,s),this.extractParam(l,i.queryParams,s)),this.extractParam=(i,s,l={},g)=>{var p,B;const u={$adapterConfig:this.config,...l};if(i)return LA(u,s,this.appContext,g);if(s!=null&&s._ARROW_EXPR_){const C={eventArgs:[u]};try{return Ou([{type:zt,expr:s}],C),(B=(p=C.mainThread)==null?void 0:p.blocks)!=null&&B.length?C.mainThread.blocks[C.mainThread.blocks.length-1].returnValue:void 0}catch(m){console.error(m);return}}return s},this.executeOperation=async({operation:i,contextParams:s,abortSignal:l,resolveBindingExpressions:g,relativePath:u=this.extractParam(g,i.url,s),method:p=this.extractParam(g,i.method,s),queryParams:B=this.extractParam(g,i.queryParams,s),body:C=this.extractParam(g,i.body,s,!0),rawBody:m=this.extractParam(g,i.rawBody,s),headers:h=this.extractParam(g,i.headers,s),payloadType:Q=this.extractParam(g,i.payloadType,s)||"json",onUploadProgress:E,parseResponse:D=this.tryParseResponse,transactionId:I})=>{var G,b,x,L;const w=p&&p!=="get"&&!!I,v={...this.getHeaders(),"Content-Type":void 0},f=hA.omitBy({...C?this.getHeaders():v,...h},hA.isUndefined);w&&(f["x-ue-client-tx-id"]=I);let M;if(m)M=m;else if(Q==="multipart-form"||Q==="form"){const T=new FormData;Object.entries(C).forEach(([H,_])=>{id({key:H,value:_},T)}),Q==="multipart-form"?(M=T,delete f["Content-Type"]):(M=new URLSearchParams(T).toString(),f["Content-Type"]="application/x-www-form-urlencoded")}else M=C?JSON.stringify(C):void 0;const S={method:p,headers:f,signal:l,body:M};if(E){console.log("Falling back to axios. Reason: onUploadProgress specified");const T=(await import("axios")).default;try{const H=await T.request({url:this.generateFullApiUrl(u,B),method:S.method,headers:f,data:S.body,onUploadProgress:E});return await D(H,((b=(G=this.appContext)==null?void 0:G.appGlobals)==null?void 0:b.logRestApiErrors)??!1)}catch(H){throw T.isAxiosError(H)&&H.response?await this.raiseError(H.response):H}}else{const T=await fetch(this.generateFullApiUrl(u,B),S);if(!T.clone().ok)throw await this.raiseError(T);return await D(T.clone(),((L=(x=this.appContext)==null?void 0:x.appGlobals)==null?void 0:L.logRestApiErrors)??!1)}},this.tryParseResponse=async(i,s=!1)=>await rL(i,s),this.raiseError=async i=>{if("config"in i)try{return new al(this.config.errorResponseTransform?this.extractParam(!0,this.config.errorResponseTransform,{$response:i.data}):i.data,i.status)}catch{}else try{const s=await i.json();return new al(this.config.errorResponseTransform?this.extractParam(!0,this.config.errorResponseTransform,{$response:s}):s,i.status)}catch{}return new Error(`[!] Server responded with an error: ${i.status} - ${i.statusText}`)},this.getHeaders=()=>({"Content-Type":"application/json; charset=UTF-8",...this.config.headers??{}});const t=(e==null?void 0:e.appGlobals)||{apiUrl:""},{apiUrl:o,errorResponseTransform:r}=t;this.appContext=e;const n={};this.config={apiUrl:o,errorResponseTransform:r,headers:{...(a=e==null?void 0:e.appGlobals)==null?void 0:a.headers,...n}}}generateFullApiUrl(e,t){let o="";if(t){const r=new URLSearchParams;Object.entries(t).forEach(([n,a])=>{Array.isArray(a)?a.forEach(i=>{r.append(n,i)}):a!==void 0&&r.append(n,a)}),o=`?${r}`}return e.startsWith("http://")||e.startsWith("https://")?`${e}${o}`:`${this.config.apiUrl||""}${e}${o}`}}const nL={url:""};class aL{constructor(e,t){this.url=e,this.appContext=t,this.handlers=[],this.tries=0,this.polling=!1,this.abortController=new AbortController}refreshAppContext(e){this.appContext=e}async poll(e){if(!(!this.polling||e.aborted))try{const t=await new is(this.appContext).execute({abortSignal:e,operation:{url:this.url,method:"get",headers:{"Cache-Control":"no-cache, no-store"},queryParams:{lastEventId:this.lastEventId}},resolveBindingExpressions:!0});this.eventArrived(t),await this.poll(e)}catch{this.tries<100?(this.tries++,await Da(this.tries*100),await this.poll(e)):this.stopPoll()}}startPoll(){this.polling||(this.polling=!0,this.tries=0,this.abortController=new AbortController,this.poll(this.abortController.signal))}stopPoll(){this.polling=!1,this.abortController.abort()}eventArrived(e){if(!e)return;let t=[e];Array.isArray(e)&&(t=e),this.lastEventId=t[t.length-1].id,this.handlers.forEach(o=>{o(t)})}subscribe(e){this.handlers.push(e),this.startPoll()}unsubscribe(e){this.handlers=this.handlers.filter(t=>e!==t),this.handlers.length||this.stopPoll()}}const lc={};function iL(A,e){return lc[A]||(lc[A]=new aL(A,e)),lc[A].refreshAppContext(e),lc[A]}function sL({url:A,onEvent:e}){const t=$e();return d.useEffect(()=>{const o=iL(A,t),r=n=>{n.forEach(a=>{e==null||e(a)})};return o.subscribe(r),()=>{o.unsubscribe(r)}},[t,e,A]),null}const lL="RealTimeAdapter",KQ={status:"experimental",description:"`RealTimeAdapter` is a non-visual component that listens to real-time events.",props:{url:{description:"This property specifies the URL to use for long-polling.",defaultValue:nL.url}},events:{eventArrived:k("This event is raised when data arrives from the backend using long-polling.")}},cL=$(lL,KQ,({node:A,lookupEventHandler:e,extractValue:t})=>c.jsx(sL,{url:t(A.props.url),onEvent:e("eventArrived")})),Zo="NumberBox",YQ={status:"stable",description:"`NumberBox` provides a specialized input field for numeric values with built-in validation, spinner buttons, and flexible formatting options. It supports both integer and floating-point numbers, handles empty states as null values, and integrates seamlessly with form validation.",props:{placeholder:zr(),initialValue:Yt(),label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(Zo),labelBreak:Ao(Zo),maxLength:Ti(),autoFocus:mt(),required:oo(),readOnly:eo(),enabled:Ke(),validationStatus:to(),startText:qs(),startIcon:Vs(),endText:Zs(),endIcon:Xs(),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:k(`Allows setting an alternate icon displayed in the ${Zo} spinner for incrementing values. You can change the default icon for all ${Zo} instances with the "icon.spinnerUp:NumberBox" declaration in the app configuration file.`),spinnerDownIcon:k(`Allows setting an alternate icon displayed in the ${Zo} spinner for decrementing values. You can change the default icon for all ${Zo} 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:k("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.If not set, no minimum value check is done."),maxValue:k("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.If not set, no maximum value check is done.")},events:{gotFocus:Ot(Zo),lostFocus:Rt(Zo),didChange:ct(Zo)},apis:{focus:Go(Zo),value:ba(),setValue:ho()},themeVars:CA(ce.themeVars)},gL=$(Zo,YQ,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:a})=>c.jsx(Ah,{style:n,value:e==null?void 0:e.value,initialValue:r.asOptionalString(A.props.initialValue),step:r(A.props.step),enabled:r.asOptionalBoolean(A.props.enabled),placeholder:r.asOptionalString(A.props.placeholder),validationStatus:r(A.props.validationStatus),updateState:t,onDidChange:o("didChange"),onFocus:o("gotFocus"),onBlur:o("lostFocus"),registerComponentApi:a,hasSpinBox:r.asOptionalBoolean(A.props.hasSpinBox),integersOnly:r.asOptionalBoolean(A.props.integersOnly),zeroOrPositive:r.asOptionalBoolean(A.props.zeroOrPositive),min:r.asOptionalNumber(A.props.minValue),max:r.asOptionalNumber(A.props.maxValue),startText:r.asOptionalString(A.props.startText),startIcon:r.asOptionalString(A.props.startIcon),endText:r.asOptionalString(A.props.endText),gap:r.asOptionalString(A.props.gap),endIcon:r.asOptionalString(A.props.endIcon),spinnerUpIcon:r.asOptionalString(A.props.spinnerUpIcon),spinnerDownIcon:r.asOptionalString(A.props.spinnerDownIcon),autoFocus:r.asOptionalBoolean(A.props.autoFocus),readOnly:r.asOptionalBoolean(A.props.readOnly),maxLength:r(A.props.maxLength),label:r(A.props.label),labelPosition:r(A.props.labelPosition),labelWidth:r(A.props.labelWidth),labelBreak:r.asOptionalBoolean(A.props.labelBreak),required:r.asOptionalBoolean(A.props.required)})),ko="NumberBox2",uL={status:"experimental",description:`A \`${ko}\` 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:zr(),initialValue:Yt(),label:Fe(),labelPosition:Ut(St.labelPosition),labelWidth:Kt(ko),labelBreak:Ao(ko),maxLength:Ti(),autoFocus:mt(),required:oo(),readOnly:eo(),enabled:Ke(),validationStatus:to(),startText:qs(),startIcon:Vs(),endText:Zs(),endIcon:Xs(),hasSpinBox:{description:"This boolean prop shows (`true`) or hides (`false`) the spinner buttons for the input field.",valueType:"boolean",defaultValue:St.hasSpinBox},spinnerUpIcon:k(`Allows setting the icon displayed in the ${ko} spinner for incrementing values. You can change the default icon for all ${ko} instances with the "icon.spinnerUp:NumberBox" declaration in the app configuration file.`),spinnerDownIcon:k(`Allows setting the icon displayed in the ${ko} spinner for decrementing values. You can change the default icon for all ${ko} 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:St.step},integersOnly:{description:"This boolean property signs whether the input field accepts integers only (`true`) or not (`false`).",valueType:"boolean",defaultValue:St.integersOnly},maxFractionDigits:{description:"This prop sets the maximum number of decimal places allowed in the input field. If the number of decimal places is greater than this value, the value will be truncated to the maximum allowed decimal places. ",valueType:"number",defaultValue:St.maxFractionDigits},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:St.zeroOrPositive},minValue:k("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:k("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:Ot(ko),lostFocus:Rt(ko),didChange:ct(ko)},apis:{focus:Go(ko),value:ba(),setValue:ho()},themeVars:CA(ce.themeVars)},dL=$(ko,uL,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:a})=>c.jsx(Dh,{style:n,value:e==null?void 0:e.value,initialValue:r.asOptionalString(A.props.initialValue),enabled:r.asOptionalBoolean(A.props.enabled),placeholder:r.asOptionalString(A.props.placeholder),validationStatus:r(A.props.validationStatus),updateState:t,onDidChange:o("didChange"),onFocus:o("gotFocus"),onBlur:o("lostFocus"),registerComponentApi:a,hasSpinBox:r.asOptionalBoolean(A.props.hasSpinBox),step:r(A.props.step),integersOnly:r.asOptionalBoolean(A.props.integersOnly),zeroOrPositive:r.asOptionalBoolean(A.props.zeroOrPositive),maxFractionDigits:r.asOptionalNumber(A.props.maxFractionDigits),min:r.asOptionalNumber(A.props.minValue),max:r.asOptionalNumber(A.props.maxValue),startText:r.asOptionalString(A.props.startText),startIcon:r.asOptionalString(A.props.startIcon),endText:r.asOptionalString(A.props.endText),endIcon:r.asOptionalString(A.props.endIcon),spinnerUpIcon:r.asOptionalString(A.props.spinnerUpIcon),spinnerDownIcon:r.asOptionalString(A.props.spinnerDownIcon),autoFocus:r.asOptionalBoolean(A.props.autoFocus),readOnly:r.asOptionalBoolean(A.props.readOnly),label:r(A.props.label),labelPosition:r(A.props.labelPosition),labelWidth:r(A.props.labelWidth),labelBreak:r.asOptionalBoolean(A.props.labelBreak),required:r.asOptionalBoolean(A.props.required)})),Qr="NavPanel",jQ={status:"stable",description:"`NavPanel` defines the navigation structure within an App, serving as a container for NavLink and NavGroup components that create your application's primary navigation menu. Its appearance and behavior automatically adapt based on the App's layout configuration.",props:{logoTemplate:qA("This property defines the logo template to display in the navigation panel with the `vertical` and `vertical-sticky` layout."),inDrawer:{description:"This property determines if the navigation panel is displayed in a drawer.",valueType:"boolean",defaultValue:cC.inDrawer}},themeVars:CA(Ko.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`horizontalAlignment-logo-${Qr}`]:"center",[`backgroundColor-${Qr}`]:"$backgroundColor",[`backgroundColor-${Qr}-horizontal`]:"$backgroundColor-AppHeader",[`border-${Qr}`]:"0px solid $borderColor",[`paddingHorizontal-${Qr}`]:"0",[`paddingVertical-logo-${Qr}`]:"$space-4",[`paddingHorizontal-logo-${Qr}`]:"$space-4",[`marginBottom-logo-${Qr}`]:"$space-4",[`boxShadow-${Qr}-vertical`]:"4px 0 4px 0 rgb(0 0 0 / 10%)"}};function BL({node:A,renderChild:e,layoutCss:t,layoutContext:o,extractValue:r}){const n=d.useMemo(()=>hl(A.children,r,void 0,[]),[r,A.children]);return c.jsx(F2,{style:t,logoContent:e(A.props.logoTemplate),className:o==null?void 0:o.themeClassName,inDrawer:o==null?void 0:o.inDrawer,renderChild:e,navLinks:n,children:e(A.children)})}const pL=$(Qr,jQ,({node:A,renderChild:e,layoutCss:t,layoutContext:o,extractValue:r})=>c.jsx(BL,{node:A,renderChild:e,layoutCss:t,layoutContext:o,extractValue:r})),CL={wrapper:"_wrapper_1gpge_13"},_Q={fallbackPath:"/"};function mL({childRoute:A=Ae,renderChild:e,layoutContext:t,style:o,uid:r}){const n=Ue.useParams(),a=d.useMemo(()=>Array.isArray(A)?{type:"Fragment",uid:r,vars:YA,children:A}:{type:"Fragment",uid:r,vars:YA,children:[A]},[A,r]),i=d.useMemo(()=>{const{padding:s,paddingLeft:l,paddingRight:g,paddingTop:u,paddingBottom:p,...B}=o;return{...B,"--page-padding-left-override":s||l,"--page-padding-right-override":s||g,"--page-padding-top-override":s||u,"--page-padding-bottom-override":s||p}},[o]);return c.jsx("div",{className:aA(CL.wrapper,"xmlui-page-root"),style:i,children:e(a,t)},JSON.stringify(n))}function hL({node:A,renderChild:e,extractValue:t,fallbackPath:o=_Q.fallbackPath}){var a;const r=[],n=[];return(a=A.children)==null||a.forEach(i=>{i.type==="Page"?r.push(i):n.push(i)}),c.jsxs(c.Fragment,{children:[c.jsxs(Ue.Routes,{children:[r.map((i,s)=>c.jsx(Ue.Route,{path:t(i.props.url),element:e(i)},s)),c.jsx(Ue.Route,{path:"*",element:c.jsx(Ue.Navigate,{to:o,replace:!0})})]}),e(n)]})}const QL="Page",WQ={status:"stable",docFolder:"Pages",description:"`Page` defines route endpoints within an application, mapping specific URL patterns to content that displays when users navigate to those routes. Each Page represents a distinct view or screen in your single-page application's routing system.",props:{url:k("The URL of the route associated with the content. If not set, the page is not available."),navLabel:He("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.")}},EL=$(QL,WQ,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>c.jsx(i1,{children:c.jsx(mL,{childRoute:A.children,uid:A.uid,renderChild:t,style:o},e(A.props.url))})),IL="Pages",JQ={status:"stable",description:"`Pages` serves as the routing coordinator within an [App](/components/App), managing which [Page](/components/Page) displays based on the current URL.",props:{fallbackPath:{description:"The fallback path when the current URL does not match any of the paths of the pages.",defaultValue:_Q.fallbackPath}}},wL=$(IL,JQ,({node:A,extractValue:e,renderChild:t})=>c.jsx(hL,{fallbackPath:e(A.props.fallbackPath),node:A,renderChild:t,extractValue:e})),ss="NavGroup",$Q={status:"stable",description:"`NavGroup` creates collapsible containers for organizing related navigation items into hierarchical menu structures. It groups `NavLink` components and other `NavGroup` components, providing expandable submenus with customizable icons and states.",props:{label:Fe(),initiallyExpanded:k("This property defines whether the group is initially expanded or collapsed. If not defined, the group is collapsed by default."),enabled:Ke(),to:{description:"This property defines an optional navigation link.",valueType:"string"},icon:{description:`This property defines an optional icon to display along with the \`${ss}\` 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:Eo.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:Eo.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:Eo.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:Eo.iconVerticalCollapsed}},themeVars:CA(ji.themeVars),defaultThemeVars:{[`backgroundColor-dropdown-${ss}`]:"$backgroundColor-primary",[`borderRadius-dropdown-${ss}`]:"$borderRadius",[`boxShadow-dropdown-${ss}`]:"$boxShadow-spread"}},fL=$(ss,$Q,({node:A,extractValue:e,renderChild:t})=>c.jsx(P2,{label:e.asDisplayText(A.props.label),disabled:!e.asOptionalBoolean(A.props.enabled??!0),to:e.asOptionalString(A.props.to),icon:c.jsx(yA,{name:e.asString(A.props.icon),className:Qo.icon}),node:A,initiallyExpanded:e.asOptionalBoolean(A.props.initiallyExpanded),renderChild:t,iconHorizontalExpanded:e.asOptionalString(A.props.iconHorizontalExpanded),iconVerticalExpanded:e.asOptionalString(A.props.iconVerticalExpanded),iconHorizontalCollapsed:e.asOptionalString(A.props.iconHorizontalCollapsed),iconVerticalCollapsed:e.asOptionalString(A.props.iconVerticalCollapsed)})),oi="RadioGroup",Tt="RadioGroupOption",zQ={status:"stable",description:"`RadioGroup` creates a mutually exclusive selection interface where users can choose only one option from a group of radio buttons. It manages the selection state and ensures that selecting one option automatically deselects all others in the group.",props:{initialValue:{...Yt(),defaultValue:mr.initialValue},autoFocus:mt(),required:{...oo(),defaultValue:mr.required},readOnly:eo(),enabled:{...Ke(),defaultValue:mr.enabled},validationStatus:{...to(),defaultValue:mr.validationStatus},orientation:He("(*** NOT IMPLEMENTED YET ***) This property sets the orientation of the options within the radio group."),label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(oi),labelBreak:Ao(oi)},events:{gotFocus:Ot(oi),lostFocus:Rt(oi),didChange:ct(oi)},themeVars:CA(xt.themeVars),defaultThemeVars:{[`gap-${Tt}`]:"$space-1_5",[`borderWidth-${Tt}`]:"1px",[`borderWidth-${Tt}-validation`]:"2px",[`borderColor-${Tt}-default`]:"$color-surface-500",[`borderColor-checked-${Tt}`]:"$color-primary-500",[`borderColor-${Tt}-default--hover`]:"$color-surface-700",[`borderColor-${Tt}-default--active`]:"$color-primary-500",[`borderColor-${Tt}-error`]:"$borderColor-Input-default--error",[`borderColor-${Tt}-warning`]:"$borderColor-Input-default--warning",[`borderColor-${Tt}-success`]:"$borderColor-Input-default--success",[`backgroundColor-${Tt}--disabled`]:"$backgroundColor--disabled",[`backgroundColor-checked-${Tt}`]:"$color-primary-500",[`backgroundColor-checked-${Tt}--disabled`]:"$textColor--disabled",[`fontSize-${Tt}`]:"$fontSize-small",[`fontWeight-${Tt}`]:"$fontWeight-bold"}},bL=$(oi,zQ,({node:A,extractValue:e,layoutCss:t,state:o,updateState:r,lookupEventHandler:n,renderChild:a,registerComponentApi:i})=>c.jsx(uh,{enabled:e.asOptionalBoolean(A.props.enabled),style:t,initialValue:e(A.props.initialValue),value:o==null?void 0:o.value,updateState:r,validationStatus:e(A.props.validationStatus),onDidChange:n("didChange"),onFocus:n("gotFocus"),onBlur:n("lostFocus"),registerComponentApi:i,label:e.asOptionalString(A.props.label),labelPosition:e(A.props.labelPosition),labelWidth:e(A.props.labelWidth),labelBreak:e(A.props.labelBreak),required:e.asOptionalBoolean(A.props.required),children:a(A.children)})),DL="Slot",vL={status:"experimental",description:"Placeholder in a reusable component. Signs the slot where the component's injected children should be rendered.",props:{name:k("This optional property defines the name of the slot.")},allowArbitraryProps:!0,opaque:!0},yL=$s(DL,vL),cc="Spinner",qQ={status:"stable",description:"`Spinner` is an animated indicator that represents an action in progress with no deterministic progress value.",props:{delay:{description:"The delay in milliseconds before the spinner is displayed.",valueType:"number",defaultValue:sl.delay},fullScreen:{description:"If set to `true`, the component will be rendered in a full screen container.",valueType:"boolean",defaultValue:sl.fullScreen}},themeVars:CA($g.themeVars),defaultThemeVars:{[`size-${cc}`]:"$space-10",[`thickness-${cc}`]:"$space-0_5",[`borderColor-${cc}`]:"$color-surface-400"}},xL=$(cc,qQ,({node:A,layoutCss:e,extractValue:t})=>(delete e.width,delete e.minWidth,delete e.maxWidth,delete e.height,delete e.minHeight,delete e.maxHeight,c.jsx(ll,{style:e,delay:t.asOptionalNumber(A.props.delay),fullScreen:t.asOptionalBoolean(A.props.fullScreen)}))),Be="Select",VQ={status:"stable",description:"`Select` provides a dropdown interface for choosing from a list of options, supporting both single and multiple selection modes. It offers extensive customization capabilities including search functionality, custom templates, and comprehensive form integration.",props:{placeholder:{...zr(),defaultValue:Oe.placeholder},initialValue:Yt(),autoFocus:{...mt(),defaultValue:Oe.autoFocus},required:{...oo(),defaultValue:Oe.required},readOnly:{...eo(),defaultValue:Oe.readOnly},enabled:{...Ke(),defaultValue:Oe.enabled},validationStatus:{...to(),defaultValue:Oe.validationStatus},label:Fe(),labelPosition:Ut("top"),labelWidth:Kt(Be),labelBreak:{...Ao(Be),defaultValue:Oe.labelBreak},optionLabelTemplate:qA("This property allows replacing the default template to display an option in the dropdown list."),optionTemplate:qA("This property allows replacing the default template to display an option in the dropdown list."),valueTemplate:qA("This property allows replacing the default template to display a selected value when multiple selections (`multiSelect` is `true`) are enabled."),dropdownHeight:k("This property sets the height of the dropdown list. If not set, the height is determined automatically."),emptyListTemplate:qA("This optional property provides the ability to customize what is displayed when the list of options is empty."),multiSelect:{...lp(),defaultValue:Oe.multiSelect},searchable:{description:"This property enables the search functionality in the dropdown list.",defaultValue:Oe.searchable},inProgress:{description:"This property indicates whether the component is in progress. It can be used to show a loading message.",defaultValue:Oe.inProgress},inProgressNotificationMessage:{description:"This property indicates the message to display when the component is in progress.",defaultValue:Oe.inProgressNotificationMessage}},events:{gotFocus:Ot(Be),lostFocus:Rt(Be),didChange:ct(Be)},apis:{focus:Go(Be),setValue:ho(),value:ba(),reset:k("This method resets the component to its initial value, or clears the selection if no initial value was provided.")},contextVars:{$item:k("Represents the current option's data (label and value properties)"),$itemContext:k("Provides utility methods like `removeItem()` for multi-select scenarios")},themeVars:CA(XA.themeVars),defaultThemeVars:{[`backgroundColor-menu-${Be}`]:"$color-surface-raised",[`boxShadow-menu-${Be}`]:"$boxShadow-md",[`borderRadius-menu-${Be}`]:"$borderRadius",[`borderWidth-menu-${Be}`]:"1px",[`borderColor-menu-${Be}`]:"$borderColor",[`backgroundColor-${Be}-badge`]:"$color-primary-500",[`fontSize-${Be}-badge`]:"$fontSize-small",[`paddingHorizontal-${Be}-badge`]:"$space-1",[`paddingVertical-${Be}-badge`]:"$space-1",[`paddingHorizontal-item-${Be}`]:"$space-2",[`paddingVertical-item-${Be}`]:"$space-2",[`opacity-text-item-${Be}--disabled`]:"0.5",[`opacity-${Be}--disabled`]:"0.5",[`backgroundColor-${Be}-badge--hover`]:"$color-primary-400",[`backgroundColor-${Be}-badge--active`]:"$color-primary-500",[`textColor-item-${Be}--disabled`]:"$color-surface-200",[`textColor-${Be}-badge`]:"$color-surface-50",[`backgroundColor-item-${Be}`]:"$backgroundColor-dropdown-item",[`backgroundColor-item-${Be}--hover`]:"$backgroundColor-dropdown-item--hover",[`backgroundColor-item-${Be}--active`]:"$backgroundColor-dropdown-item--active",[`borderColor-${Be}--disabled`]:"initial"}},kL=$(Be,VQ,({node:A,state:e,updateState:t,extractValue:o,renderChild:r,lookupEventHandler:n,layoutCss:a,registerComponentApi:i})=>{const s=o.asOptionalBoolean(A.props.multiSelect),l=o.asOptionalBoolean(A.props.searchable);return c.jsx(sh,{multiSelect:s,style:a,inProgress:o.asOptionalBoolean(A.props.inProgress),inProgressNotificationMessage:o.asOptionalString(A.props.inProgressNotificationMessage),readOnly:o.asOptionalBoolean(A.props.readOnly),updateState:t,searchable:l,initialValue:o(A.props.initialValue),value:e==null?void 0:e.value,autoFocus:o.asOptionalBoolean(A.props.autoFocus),enabled:o.asOptionalBoolean(A.props.enabled),placeholder:o.asOptionalString(A.props.placeholder),validationStatus:o(A.props.validationStatus),onDidChange:n("didChange"),onFocus:n("gotFocus"),onBlur:n("lostFocus"),registerComponentApi:i,emptyListTemplate:r(A.props.emptyListTemplate),dropdownHeight:o(A.props.dropdownHeight),label:o(A.props.label),labelPosition:o(A.props.labelPosition),labelWidth:o(A.props.labelWidth),labelBreak:o.asOptionalBoolean(A.props.labelBreak),required:o.asOptionalBoolean(A.props.required),optionLabelRenderer:A.props.optionLabelTemplate?g=>c.jsx(tt,{node:A.props.optionLabelTemplate,item:g,renderChild:r}):void 0,optionRenderer:A.props.optionTemplate?(g,u,p)=>c.jsx(tt,{node:A.props.optionTemplate,item:g,contextVars:{$selectedValue:u,$inTrigger:p},renderChild:(...B)=>s||l?r(...B):c.jsx(Gt.SelectItemText,{children:r(...B)})}):void 0,valueRenderer:A.props.valueTemplate?(g,u)=>c.jsx(tt,{contextVars:{$itemContext:{removeItem:u}},node:A.props.valueTemplate,item:g,renderChild:r}):void 0,children:r(A.children)})});var W=(A=>(A[A.Unknown=0]="Unknown",A[A.EndOfFileToken=1]="EndOfFileToken",A[A.CommentTrivia=2]="CommentTrivia",A[A.NewLineTrivia=3]="NewLineTrivia",A[A.WhitespaceTrivia=4]="WhitespaceTrivia",A[A.Identifier=5]="Identifier",A[A.OpenNodeStart=6]="OpenNodeStart",A[A.CloseNodeStart=7]="CloseNodeStart",A[A.NodeEnd=8]="NodeEnd",A[A.NodeClose=9]="NodeClose",A[A.Colon=10]="Colon",A[A.Equal=11]="Equal",A[A.StringLiteral=12]="StringLiteral",A[A.CData=13]="CData",A[A.Script=14]="Script",A[A.TextNode=15]="TextNode",A[A.AmpersandEntity=16]="AmpersandEntity",A[A.LessThanEntity=17]="LessThanEntity",A[A.GreaterThanEntity=18]="GreaterThanEntity",A[A.SingleQuoteEntity=19]="SingleQuoteEntity",A[A.DoubleQuoteEntity=20]="DoubleQuoteEntity",A[A.ElementNode=21]="ElementNode",A[A.AttributeNode=22]="AttributeNode",A[A.AttributeKeyNode=23]="AttributeKeyNode",A[A.ContentListNode=24]="ContentListNode",A[A.AttributeListNode=25]="AttributeListNode",A[A.TagNameNode=26]="TagNameNode",A[A.ErrorNode=27]="ErrorNode",A))(W||{});function HL(A){return A>=2&&A<=4}function ZQ(A){switch(A){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 SL()}function SL(A){throw new Error("Didn't expect to get here")}function ML(A,e,t){var n,a;const o=((n=A.children)==null?void 0:n.filter(i=>i.kind!==W.ErrorNode))??[],r=((a=e.children)==null?void 0:a.filter(i=>i.kind!==W.ErrorNode))??[];if(o.length!==r.length)return!1;for(let i=0;i<o.length;++i)if(t(o[i])!==t(r[i]))return!1;return!0}function LL(A,e){const t=[A];let o;if(A.start>e||e>A.end)return;const r={chainAtPos:t,chainBeforePos:void 0,sharedParents:void 0};for(;A.children!==void 0&&A.children.length>0;){const n=A.children.findIndex(s=>s.start<=e&&(e<s.end||s.kind===W.EndOfFileToken&&s.start<=s.end)),a=A.children[n],i=A.children[n-1];if(i!==void 0&&e<=a.pos)return o=t.length,{chainBeforePos:t.concat(NL(i)),sharedParents:o,chainAtPos:t.concat(TL(a))};A=a,r.chainAtPos.push(A)}return r}function TL(A){const e=[A];for(;A.children!==void 0&&A.children.length>0;)A=A.children[0],e.push(A);return e}function NL(A){const e=[A];for(;A.children!==void 0&&A.children.length>0;)A=A.children[A.children.length-1],e.push(A);return e}let En=class{constructor(e,t,o,r,n){var a,i;this.kind=e,this.pos=t,this.end=o,this.triviaBefore=r,this.children=n,r?this.start=((a=r[0])==null?void 0:a.start)??t:n?this.start=((i=n[0])==null?void 0:i.start)??t:this.start=t}isElementNode(){return this.kind===W.ElementNode}isAttributeNode(){return this.kind===W.AttributeNode}isAttributeKeyNode(){return this.kind===W.AttributeKeyNode}isContentListNode(){return this.kind===W.ContentListNode}isAttributeListNode(){return this.kind===W.AttributeListNode}isTagNameNode(){return this.kind===W.TagNameNode}findTokenAtPos(e){return LL(this,e)}};var oA=(A=>(A[A.EOF=-1]="EOF",A[A.nullCharacter=0]="nullCharacter",A[A.maxAsciiCharacter=127]="maxAsciiCharacter",A[A.lineFeed=10]="lineFeed",A[A.carriageReturn=13]="carriageReturn",A[A.lineSeparator=8232]="lineSeparator",A[A.paragraphSeparator=8233]="paragraphSeparator",A[A.nextLine=133]="nextLine",A[A.space=32]="space",A[A.nonBreakingSpace=160]="nonBreakingSpace",A[A.enQuad=8192]="enQuad",A[A.emQuad=8193]="emQuad",A[A.enSpace=8194]="enSpace",A[A.emSpace=8195]="emSpace",A[A.threePerEmSpace=8196]="threePerEmSpace",A[A.fourPerEmSpace=8197]="fourPerEmSpace",A[A.sixPerEmSpace=8198]="sixPerEmSpace",A[A.figureSpace=8199]="figureSpace",A[A.punctuationSpace=8200]="punctuationSpace",A[A.thinSpace=8201]="thinSpace",A[A.hairSpace=8202]="hairSpace",A[A.zeroWidthSpace=8203]="zeroWidthSpace",A[A.narrowNoBreakSpace=8239]="narrowNoBreakSpace",A[A.ideographicSpace=12288]="ideographicSpace",A[A.mathematicalSpace=8287]="mathematicalSpace",A[A.ogham=5760]="ogham",A[A.replacementCharacter=65533]="replacementCharacter",A[A._=95]="_",A[A.$=36]="$",A[A._0=48]="_0",A[A._1=49]="_1",A[A._2=50]="_2",A[A._3=51]="_3",A[A._4=52]="_4",A[A._5=53]="_5",A[A._6=54]="_6",A[A._7=55]="_7",A[A._8=56]="_8",A[A._9=57]="_9",A[A.a=97]="a",A[A.b=98]="b",A[A.c=99]="c",A[A.d=100]="d",A[A.e=101]="e",A[A.f=102]="f",A[A.g=103]="g",A[A.h=104]="h",A[A.i=105]="i",A[A.j=106]="j",A[A.k=107]="k",A[A.l=108]="l",A[A.m=109]="m",A[A.n=110]="n",A[A.o=111]="o",A[A.p=112]="p",A[A.q=113]="q",A[A.r=114]="r",A[A.s=115]="s",A[A.t=116]="t",A[A.u=117]="u",A[A.v=118]="v",A[A.w=119]="w",A[A.x=120]="x",A[A.y=121]="y",A[A.z=122]="z",A[A.A=65]="A",A[A.B=66]="B",A[A.C=67]="C",A[A.D=68]="D",A[A.E=69]="E",A[A.F=70]="F",A[A.G=71]="G",A[A.H=72]="H",A[A.I=73]="I",A[A.J=74]="J",A[A.K=75]="K",A[A.L=76]="L",A[A.M=77]="M",A[A.N=78]="N",A[A.O=79]="O",A[A.P=80]="P",A[A.Q=81]="Q",A[A.R=82]="R",A[A.S=83]="S",A[A.T=84]="T",A[A.U=85]="U",A[A.V=86]="V",A[A.W=87]="W",A[A.X=88]="X",A[A.Y=89]="Y",A[A.Z=90]="Z",A[A.ampersand=38]="ampersand",A[A.asterisk=42]="asterisk",A[A.at=64]="at",A[A.backslash=92]="backslash",A[A.backtick=96]="backtick",A[A.bar=124]="bar",A[A.caret=94]="caret",A[A.closeBrace=125]="closeBrace",A[A.closeBracket=93]="closeBracket",A[A.closeParen=41]="closeParen",A[A.colon=58]="colon",A[A.comma=44]="comma",A[A.dot=46]="dot",A[A.doubleQuote=34]="doubleQuote",A[A.equals=61]="equals",A[A.exclamation=33]="exclamation",A[A.greaterThan=62]="greaterThan",A[A.hash=35]="hash",A[A.lessThan=60]="lessThan",A[A.minus=45]="minus",A[A.openBrace=123]="openBrace",A[A.openBracket=91]="openBracket",A[A.openParen=40]="openParen",A[A.percent=37]="percent",A[A.plus=43]="plus",A[A.question=63]="question",A[A.semicolon=59]="semicolon",A[A.singleQuote=39]="singleQuote",A[A.slash=47]="slash",A[A.tilde=126]="tilde",A[A.backspace=8]="backspace",A[A.formFeed=12]="formFeed",A[A.byteOrderMark=65279]="byteOrderMark",A[A.tab=9]="tab",A[A.verticalTab=11]="verticalTab",A))(oA||{}),XQ=(A=>(A[A.Error=1]="Error",A[A.Warning=2]="Warning",A[A.Information=3]="Information",A[A.Hint=4]="Hint",A))(XQ||{}),gc=(A=>(A.onlyOneElem="U002",A.expTagOpen="U003",A.expTagName="U004",A.expCloseStart="U005",A.expEndOrClose="U006",A.tagNameMismatch="U007",A.expEnd="U008",A.expAttrName="U009",A.expEq="U010",A.expAttrValue="U011",A.duplAttr="U012",A.uppercaseAttr="U013",A.expTagNameAfterNamespace="U014",A.expCloseStartWithName="U015",A.expAttrNameAfterNamespace="U016",A.invalidChar="W001",A.untermStr="W002",A.untermComment="W007",A.untermCData="W008",A.untermScript="W009",A))(gc||{});const Pe={expCloseStartWithName:function(A){return{category:1,code:"U015",message:`Opened tag has no closing pair. Expected to see '</${A}>'.`}},expCloseStart:{category:1,code:"U005",message:"A '</' token expected."},uppercaseAttr:function(A){return{category:1,code:"U013",message:`Attribute name '${A}' cannot start with an uppercase letter.`}},duplAttr:function(A){return{category:1,code:"U012",message:`Duplicated attribute: '${A}'.`}},tagNameMismatch:function(A,e){return{category:1,code:"U007",message:`Opening and closing tag names should match. Opening tag has a name '${A}', but the closing tag name is '${e}'.`}},invalidChar:function(A){return{category:1,code:"W001",message:`Invalid character '${A}'.`}},expEnd:{category:1,code:"U008",message:"A '>' token expected."},expTagName:{category:1,code:"U004",message:"A tag name expected."},expAttrStr:{category:1,code:"U011",message:"A string expected as an attribute value after '='."},expEq:{category:1,code:"U010",message:"An '=' token expected."},expTagOpen:{category:1,code:"U003",message:"A '<' token expected."},expEndOrClose:{category:1,code:"U006",message:"A '>' or '/>' token expected."},expAttrName:{category:1,code:"U009",message:"An attribute name expected."},expAttrNameAfterNamespace:{category:1,code:"U016",message:"An attribute name expected after a namespaces."},expTagNameAfterNamespace:{category:1,code:"U014",message:"A tag name expected after a namespaces."}},sd={code:"W001",category:1,message:"Invalid character."},FL={code:"W002",category:1,message:"Unterminated string literal."},PL={code:"W007",category:1,message:"Unterminated comment"},GL={code:"W008",category:1,message:"Unterminated CDATA section"},OL={code:"W009",category:1,message:"Unterminated script section"};function RL(A,e,t,o,r){let n=e??"",a,i,s,l,g,u;return w(n,o,r),{getStartPos:()=>s,getTokenEnd:()=>a,getToken:()=>g,getTokenStart:()=>l,getTokenText:()=>n.substring(l,a),getTokenValue:()=>u,isIdentifier:()=>g===W.Identifier,peekChar:p,scanChar:B,scan:C,scanTrivia:m,scanText:h,getText:Q,setText:w,setOnError:v,resetTokenState:f,back:M};function p(L){if(a+(L??0)>=i)return null;const T=D(a+(L??0));return isNaN(T)?null:T}function B(){if(a>=i)return null;const L=D(a);return a+=Pr(L),L}function C(){for(s=a;;){if(l=a,a>=i)return g=W.EndOfFileToken;const L=D(a);switch(L){case oA.lineFeed:case oA.carriageReturn:return L===oA.carriageReturn&&a+1<i&&E(a+1)===oA.lineFeed?a+=2:a++,g=W.NewLineTrivia;case oA.tab:case oA.verticalTab:case oA.formFeed:case oA.space:case oA.nonBreakingSpace:case oA.ogham:case oA.enQuad:case oA.emQuad:case oA.enSpace:case oA.emSpace:case oA.threePerEmSpace:case oA.fourPerEmSpace:case oA.sixPerEmSpace:case oA.figureSpace:case oA.punctuationSpace:case oA.thinSpace:case oA.hairSpace:case oA.zeroWidthSpace:case oA.narrowNoBreakSpace:case oA.mathematicalSpace:case oA.ideographicSpace:case oA.byteOrderMark:{for(;a<i&&eE(E(a));)a++;return g=W.WhitespaceTrivia}case oA.doubleQuote:case oA.singleQuote:case oA.backtick:return u=b(),g=W.StringLiteral;case oA.ampersand:return E(a+1)===oA.a&&E(a+2)===oA.m&&E(a+3)===oA.p&&E(a+4)===oA.semicolon?(a+=5,g=W.AmpersandEntity):E(a+1)===oA.l&&E(a+2)===oA.t&&E(a+3)===oA.semicolon?(a+=4,g=W.LessThanEntity):E(a+1)===oA.g&&E(a+2)===oA.t&&E(a+3)===oA.semicolon?(a+=4,g=W.GreaterThanEntity):E(a+1)===oA.q&&E(a+2)===oA.u&&E(a+3)===oA.o&&E(a+4)===oA.t&&E(a+5)===oA.semicolon?(a+=6,g=W.DoubleQuoteEntity):E(a+1)===oA.a&&E(a+2)===oA.p&&E(a+3)===oA.o&&E(a+4)===oA.s&&E(a+5)===oA.semicolon?(a+=6,g=W.SingleQuoteEntity):(a++,x(sd,1),g=W.Unknown);case oA.equals:return a++,g=W.Equal;case oA.colon:return a++,g=W.Colon;case oA.lessThan:if(E(a+1)===oA.slash)return a+=2,g=W.CloseNodeStart;if(E(a+1)===oA.exclamation&&E(a+2)===oA.minus&&E(a+3)===oA.minus){for(a+=4;a<i;){if(E(a)===oA.minus&&E(a+1)===oA.minus&&E(a+2)===oA.greaterThan)return a+=3,g=W.CommentTrivia;a+=Pr(E(a))}return x(PL,4),g=W.Unknown}else if(E(a+1)===oA.exclamation&&E(a+2)===oA.openBracket&&E(a+3)===oA.C&&E(a+4)===oA.D&&E(a+5)===oA.A&&E(a+6)===oA.T&&E(a+7)===oA.A&&E(a+8)===oA.openBracket){for(a+=9;a<i;){if(E(a)===oA.closeBracket&&E(a+1)===oA.closeBracket&&E(a+2)===oA.greaterThan)return a+=3,g=W.CData;a+=Pr(E(a))}return x(GL,9),g=W.CData}else if(E(a+1)===oA.s&&E(a+2)===oA.c&&E(a+3)===oA.r&&E(a+4)===oA.i&&E(a+5)===oA.p&&E(a+6)===oA.t&&E(a+7)===oA.greaterThan){for(a+=8;a<i;){if(E(a)===oA.lessThan&&E(a+1)===oA.slash&&E(a+2)===oA.s&&E(a+3)===oA.c&&E(a+4)===oA.r&&E(a+5)===oA.i&&E(a+6)===oA.p&&E(a+7)===oA.t&&E(a+8)===oA.greaterThan)return a+=9,g=W.Script;a+=Pr(E(a))}return x(OL,9),g=W.Script}return a++,g=W.OpenNodeStart;case oA.slash:return E(a+1)===oA.greaterThan?(a+=2,g=W.NodeClose):(a++,x(sd,1),g=W.Unknown);case oA.greaterThan:return a++,g=W.NodeEnd;default:const T=S(L);if(T)return g=T;if(eE(L)){a+=Pr(L);continue}else if(_L(L)){a+=Pr(L);continue}const H=Pr(L);return a+=H,x(sd,H),g=W.Unknown}}}function m(){const L=a,T=C();return HL(T)?T:(f(L),null)}function h(){return W.Unknown}function Q(){return n}function E(L){return n.charCodeAt(L)}function D(L){return I(n,L)}function I(L,T){return L.codePointAt(T)??0}function w(L,T,H){n=L||"",i=H===void 0?n.length:T+H,f(T||0)}function v(L){t=L}function f(L){a=L,s=L,l=L,g=W.Unknown,u=void 0}function M(){f(s)}function S(L){let T=L;if(YL(T)){for(a+=Pr(T);a<i&&jL(T=D(a));)a+=Pr(T);return u=n.substring(l,a),G()}}function G(){return g=W.Identifier}function b(){const L=E(a);a++;let T="",H=a;for(;;){if(a>=i){T+=n.substring(H,a),x(FL,1);break}if(E(a)===L){T+=n.substring(H,a),a++;break}a++}return T}function x(L,T=0){t&&t(L,T)}}function Pr(A){return A>=65536?2:A===oA.EOF?0:1}function AE(A){return A>=oA.A&&A<=oA.Z||A>=oA.a&&A<=oA.z}function UL(A){return AE(A)||KL(A)||A===oA._}function KL(A){return A>=oA._0&&A<=oA._9}function YL(A){return AE(A)||A===oA.$||A===oA._}function jL(A){return UL(A)||A===oA.$||A===oA.minus||A===oA.dot}function eE(A){return A===oA.space||A===oA.tab||A===oA.verticalTab||A===oA.formFeed||A===oA.nonBreakingSpace||A===oA.nextLine||A===oA.ogham||A>=oA.enQuad&&A<=oA.zeroWidthSpace||A===oA.narrowNoBreakSpace||A===oA.mathematicalSpace||A===oA.ideographicSpace||A===oA.byteOrderMark}function _L(A){return A===oA.lineFeed||A===oA.carriageReturn||A===oA.lineSeparator||A===oA.paragraphSeparator}const WL=[W.CData,W.Script,W.OpenNodeStart],ls=[W.OpenNodeStart,W.NodeEnd,W.NodeClose,W.CloseNodeStart,W.CData,W.Script],tE=[W.Identifier,...ls],JL=[W.TextNode,W.StringLiteral,W.CData,W.Script,W.OpenNodeStart,W.CloseNodeStart],$L=[W.NodeEnd,W.OpenNodeStart,W.CloseNodeStart,W.CData,W.Script];function zL(A){return{parse:()=>qL(A),getText:(e,t=!0)=>A.substring(t?e.pos??e.start??0:e.start??e.pos??0,e.end)}}function qL(A){const e=[],t=[];let o,r={children:[]},n;const i=RL(!1,A,function(O,U){n={message:O,prefixLength:U}});return{node:g(),errors:e};function l(O,U=!0){return A.substring(U?O.pos:O.start,O.end)}function g(){for(;;)switch(b().kind){case W.EndOfFileToken:return L(),oE(W.ContentListNode,r.children);case W.CData:case W.Script:L();break;case W.OpenNodeStart:p();break;default:const U=v(WL);w(Pe.expTagOpen,U.pos,U.end);break}}function u(){T();A:for(;;)switch(b().kind){case W.TextNode:case W.StringLiteral:case W.CData:case W.Script:L();break;case W.OpenNodeStart:p();break;case W.CloseNodeStart:case W.EndOfFileToken:break A;default:const U=v(JL);w(Pe.expTagOpen,U.pos,U.end);break}r.children&&r.children.length>0?H(W.ContentListNode):j()}function p(){T(),x(W.OpenNodeStart);let O=!0,U=null;if(S(W.Identifier)){const J=B();O=J.errInName,U=J.node}else{const J=v(ls);J?w(Pe.expTagName,J.pos,J.end):I(Pe.expTagName)}switch(O||C(),G().kind){case W.NodeClose:{L(),H(W.ElementNode);return}case W.NodeEnd:{L(),u(),Q(U,O),H(W.ElementNode);return}default:{H(W.ElementNode),I(Pe.expEndOrClose);return}}}function B(){if(T(),x(W.Identifier),M(W.Colon)&&!M(W.Identifier)){const O=H(W.TagNameNode);return w(Pe.expTagNameAfterNamespace,O.pos,O.end),v([W.Identifier,...ls]),{node:O,errInName:!0}}else return{node:H(W.TagNameNode),errInName:!1}}function C(){T();const O=[];A:for(;;)switch(G().kind){case W.EndOfFileToken:case W.OpenNodeStart:case W.NodeEnd:case W.NodeClose:case W.CloseNodeStart:case W.CData:case W.Script:break A;default:m(O)}r.children.length===0?j():H(W.AttributeListNode)}function m(O){if(T(),S(W.Identifier))h(O);else{const U=v(tE);U?(w(Pe.expAttrName,U.pos,U.end),H(W.AttributeNode)):(j(),I(Pe.expAttrName));return}if(M(W.Equal)&&!M(W.StringLiteral)){const U=v(tE);U?w(Pe.expAttrStr,U.pos,U.end):I(Pe.expAttrStr)}H(W.AttributeNode)}function h(O){let U=G(),J;if(T(),x(W.Identifier),M(W.Colon))if(S(W.Identifier))J=U,U=x(W.Identifier);else{const V=v([W.Equal,W.Identifier,...ls]);V?w(Pe.expAttrNameAfterNamespace,V.pos,V.end):I(Pe.expAttrNameAfterNamespace)}D(O,{nsIdent:J,nameIdent:U}),H(W.AttributeKeyNode)}function Q(O,U){if(M(W.CloseNodeStart)){if(S(W.Identifier)){const J=E();if(!U&&O!==null&&!ML(O,J,l)){const Z=Pe.tagNameMismatch(l(O),l(J));w(Z,J.pos,J.end)}}else{const J=v($L);J?w(Pe.expTagName,J.pos,J.end):I(Pe.expTagName)}M(W.NodeEnd)||I(Pe.expEnd)}else O?w(Pe.expCloseStartWithName(l(O)),O.pos,O.end):I(Pe.expCloseStart)}function E(){if(T(),x(W.Identifier),M(W.Colon)&&!M(W.Identifier)){const O=H(W.TagNameNode);return w(Pe.expTagNameAfterNamespace,O.pos,O.end),v(ls),O}else return H(W.TagNameNode)}function D(O,{nameIdent:U,nsIdent:J}){const V=l(U),Z=J&&l(J),R=({ns:eA,name:cA})=>cA===V&&eA===Z,K=O.findIndex(R)!==-1,z="A"<=V[0]&&V[0]<="Z",AA=K||z;K&&w(Pe.duplAttr(V),U.pos,U.end),!J&&z&&w(Pe.uppercaseAttr(V),U.pos,U.end),AA||O.push({name:V,ns:Z})}function I({code:O,message:U,category:J}){const{pos:V,end:Z}=G();e.push({category:J,code:O,message:U,pos:V,end:Z})}function w({code:O,message:U,category:J},V,Z){e.push({category:J,code:O,message:U,pos:V,end:Z})}function v(O){return T(),f(O),r.children.length===0?(j(),null):H(W.ErrorNode)}function f(O){for(let U=G();U.kind!==W.EndOfFileToken&&!O.includes(U.kind);L(),U=G());}function M(O){const U=S(O);return U&&L(),U}function S(O){return G().kind===O}function G(O=!1){return o!==void 0||(o=_(O)),o}function b(){const O=G(!0);if(O.kind===W.EndOfFileToken||O.kind===W.OpenNodeStart||O.kind===W.Script||O.kind===W.CData||O.kind===W.CloseNodeStart)return O;const U=O.triviaBefore,J=(U==null?void 0:U.length)??0;let V=0,Z=[],R=-1;for(;V<J;++V)if(U[V].kind===W.CommentTrivia)Z.push(U[V]);else{R=V;break}let K=-1;for(;V<J;++V)if(U[V].kind===W.CommentTrivia){K=V;break}let z=!1;if(O.kind===W.StringLiteral){const uA=O.end,bA=_(!0);z=bA.kind===W.CData||bA.kind===W.CloseNodeStart||bA.kind===W.Script||bA.kind===W.OpenNodeStart,i.resetTokenState(uA)}let AA;z?AA=O.pos:Z.length>0?AA=Z[Z.length-1].end:R!==-1?AA=U[R].pos:AA=O.start;let eA;Z.length>0&&(eA=Z);let cA=W.TextNode,wA=-1;if(K!==-1)wA=U[K].pos,i.resetTokenState(wA);else if(z)cA=W.StringLiteral,wA=O.end;else{for(;;){const uA=i.peekChar();if(uA===null||uA===oA.lessThan)break;i.scanChar()}wA=i.getTokenEnd()}return o=new En(cA,AA,wA,eA),o}function x(O){const U=L();if(U.kind!==O)throw new Error(`expected ${ZQ(O)}, bumped a ${ZQ(U.kind)}`);return U}function L(){if(o){r.children.push(o);const U=o;return o=void 0,U}const O=_(!1);return r.children.push(O),O}function T(){t.push(r),r={children:[]}}function H(O){const U=oE(O,r.children),J=t[t.length-1];return J.children.push(U),r=J,t.pop(),U}function _(O){let U,J=[],V=null;for(;;){if(U=i.scan(),V===null&&(V=i.getTokenStart()),n!==void 0){let Z;n.message.code===gc.invalidChar?Z=Pe.invalidChar(i.getTokenText()):Z=n.message;const R=i.getTokenStart(),K=J.length>0?J:void 0;if(J=[],O&&Z.code===gc.invalidChar)return n=void 0,new En(U,R,i.getTokenEnd(),K);const z=R+n.prefixLength,AA=new En(U,R,z,K);return i.resetTokenState(z),T(),r.children.push(AA),w(Z,R,z),H(W.ErrorNode),n=void 0,_(O)}switch(U){case W.CommentTrivia:case W.NewLineTrivia:case W.WhitespaceTrivia:J.push(new En(U,i.getTokenStart(),i.getTokenEnd()));break;default:return new En(U,i.getTokenStart(),i.getTokenEnd(),J.length>0?J:void 0)}}}function j(){const O=t[t.length-1];O.children.push(...r.children),r=O,t.pop()}}function oE(A,e){const t=e[0],o=e[e.length-1];return new En(A,t.pos,o.end,void 0,e)}function VL(A){return A.type!=="ScriptModule"}function ZL(A,e){const t=new Map,o={},r=n(A,e);return!r||Object.keys(o).length>0?o:r;function n(a,i){if(t.has(a))return t.get(a);const s=new Ya(i);let l=[];try{l=s.parseStatements()}catch{return o[a]=s.errors,null}const g=s.current;if(g.type!==y.Eof)return o[a]??(o[a]=[]),o[a].push({code:"W002",text:$l.W002.replace(/\{(\d+)}/g,()=>g.text),position:g.startLine,line:g.startLine,column:g.startColumn}),null;const u=[],p={};l.filter(m=>m.type===Ra).forEach(m=>{const h=m;if(p[h.id.name]){C("W020",m,h.id.name);return}p[h.id.name]=h});const B={type:"ScriptModule",name:a,functions:p,statements:l,sources:new Map};if(t.set(a,B),u.length>0)return o[a]=u,null;return B;function C(m,h,...Q){var D,I,w;let E=$l[m];Q&&Q.forEach((v,f)=>E=E.replaceAll(`{${f}}`,Q[f].toString())),u.push({code:m,text:$l[m].replace(/\{(\d+)}/g,(v,f)=>Q[f]),position:(D=h.startToken)==null?void 0:D.startPosition,line:(I=h.startToken)==null?void 0:I.startLine,column:(w=h.startToken)==null?void 0:w.startColumn})}}}const uc="__PARSED__";function XL(A,e){const t={vars:{},moduleErrors:{},functions:{}},o={},r=ZL(A,e);if(VL(r))return{...t,moduleErrors:r};return r.statements.forEach(a=>{switch(a.type){case Pl:a.decls.forEach(i=>{if(i.id.name in t.vars)throw new Error(`Duplicated var declaration: '${i.id.name}'`);t.vars[i.id.name]={[uc]:!0,tree:i.expr}});break;case Ra:n(a);break;default:throw new Error("Only reactive variable and function definitions are allowed in a code-behind module.")}}),t;function n(a){if((o==null?void 0:o[a.id.name])!==void 0)return;if(a.id.name in t.functions)throw new Error(`Duplicated function declaration: '${a.id.name}'`);const i={type:ve,args:a.args.slice(),statement:a.stmt};o[a.id.name]={[uc]:!0,tree:i},t.functions[a.id.name]={[uc]:!0,tree:i}}}class dc extends Error{constructor(e,t){super(`${t?`${t}: `:""}${e}`),this.code=t,Object.setPrototypeOf(this,dc.prototype)}}const AT={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}'."},rE="Component",ld=/^[A-Z]/,nE=/^on[A-Z]/,eT=["name","value"],tT=9,cd="component-ns",oT="app-ns",rT="#app-ns",nT="core-ns",aT="#xmlui-core-ns",In={property:"property",event:"event",variable:"variable",loaders:"loaders",uses:"uses",method:"method",item:"item",field:"field"};let iT=0;function sT(A,e,t){const o=b=>b.text??e(b),r=gT(A),n=I(r),a=[],i=[];return s(a,n);function s(b,x){const L=cE(x,o,i);if(L===rE)return g(x);let T={type:L,debug:{source:{start:x.start,end:x.end,fileId:t}}};return u(b,T,x),T}function l(b,x){const L=cE(x,o,i);L===rE&&VA("T006");let T={type:L,debug:{source:{start:x.start,end:x.end,fileId:t}}};return u(b,T,x),T}function g(b){const x=ri(b).map(E),L=x.find(eA=>eA.name==="name");L||VA("T003"),ld.test(L.value)||VA("T004");const T=x.find(eA=>eA.name==="codeBehind");let H;const _=x.filter(eA=>eA.startSegment==="method");_.length>0&&(H={},_.forEach(eA=>{H[eA.name]=eA.value}));let j;const O=x.filter(eA=>eA.startSegment==="var");O.length>0&&(j={},O.forEach(eA=>{j[eA.name]=eA.value}));const U=ni(b),J=U.filter(eA=>eA.kind===W.ElementNode&&!(Gr(eA,o)in In));J.length===0&&J.push(aE(""));const V=[],Z=[];for(let eA of U)if(eA.kind===W.ElementNode){const cA=Gr(eA,o);cA===In.variable?Z.push(eA):cA in In&&V.push(eA)}let R;J.length>1||Z.length>0?R=iE([...Z,...J]):R=J[0],i.push(new Map),x.filter(eA=>eA.namespace==="xmlns").forEach(eA=>{lE(i,R,eA.unsegmentedName,eA.value)});let K=l(a,R);i.pop();const z={name:L.value,component:K,debug:{source:{start:b.start,end:b.end,fileId:t}}};H&&(z.api=H),j&&(K.vars={...K.vars,...j}),T&&(z.codeBehind=T.value),K.debug={source:{start:R.start,end:R.end,fileId:t}};const AA=sE(b,V);return u(a,z,AA),z}function u(b,x,L){var U;const T=!Xo(x),H=ri(L);if(i.push(new Map),H.forEach(J=>{p(x,J)}),ni(L).forEach(J=>{if(J.kind===W.Script){ri(J).length>0&&VA("T022");const Z=o(J),R=Z.slice(Z.indexOf(">")+1,Z.lastIndexOf("</"));x.script??(x.script=""),x.script.length>0&&(x.script+=`
55
55
  `),x.script+=R;return}if(J.kind===W.TextNode&&!T){x.children=Bc(x.children,o(J));return}const V=Gr(J,o);if(!(T&&J.kind===W.ElementNode&&!(V in In))){if(!(V in In)&&!T){const Z=l(b,J);Z&&(x.children?typeof x.children=="string"?x.children=[x.children,Z]:Array.isArray(x.children)&&x.children.push(Z):x.children=[Z]);return}switch(V){case"property":h(b,x,J,Z=>{var R;return Xo(x)?(R=x.props)==null?void 0:R[Z]:void 0},(Z,R)=>{Xo(x)&&(x.props??(x.props={}),x.props[Z]=R)});return;case"event":h(b,x,J,Z=>{var R;return Xo(x)?(R=x.events)==null?void 0:R[Z]:void 0},(Z,R)=>{Xo(x)&&(x.events??(x.events={}),x.events[Z]=G(R))},Z=>{nE.test(Z)&&VA("T008",Z)});return;case In.variable:h(b,x,J,Z=>{var R;return Xo(x)?(R=x.vars)==null?void 0:R[Z]:void 0},(Z,R)=>{Xo(x)&&(x.vars??(x.vars={}),x.vars[Z]=R)});return;case"loaders":m(b,x,J);return;case"uses":Q(x,J);return;case"method":h(b,x,J,Z=>{var R;return Xo(x)?(R=x.api)==null?void 0:R[Z]:void 0},(Z,R)=>{x.api??(x.api={}),x.api[Z]=R});return;default:VA("T009",V);return}}}),i.pop(),!x.script||x.script.trim().length===0)return;const j=new Ya(x.script);try{j.parseStatements(),x.scriptCollected=XL("Main",x.script)}catch(J){j.errors&&j.errors.length>0?x.scriptError=j.errors:x.scriptError=J}const O=((U=x.scriptCollected)==null?void 0:U.moduleErrors)??{};Object.keys(O).length>0&&(x.scriptError=O)}function p(b,x){const{namespace:L,startSegment:T,name:H,value:_,unsegmentedName:j}=E(x);if(L==="xmlns")return lE(i,b,j,_);if(!Xo(b)){if(T&&T!=="method"&&T!=="var"){VA("T021");return}if(H==="name"&&!T||H==="codeBehind"&&!T)return;!T&&H&&VA("T021",H);return}switch(H){case"id":b.uid=_;return;case"testId":b.testId=_;return;case"when":b.when=_;return;default:if(T==="var")b.vars??(b.vars={}),b.vars[H]=_;else if(T==="method")b.api??(b.api={}),b.api[H]=_;else if(T==="event")b.events??(b.events={}),b.events[H]=G(_);else if(nE.test(H)){b.events??(b.events={});const U=H[2].toLowerCase()+H.substring(3);b.events[U]=G(_)}else b.props??(b.props={}),b.props[H]=_;return}}function B(b,x){let L=null;if(!x)return L;let T=null;return x.forEach(H=>{if(H.kind===W.TextNode){L=Bc(L,o(H));return}if(H.kind!==W.ElementNode)return;const _=Gr(H,o);if(_!=="field"&&_!=="item"){VA("T016");return}if(_==="field"){if(!T)T=_,L={};else if(T!==_){VA("T017");return}}else if(_==="item"){if(!T)T=_,L=[];else if(T!==_){VA("T017");return}}let j=C(b,H,_==="field");if(!j)return null;T==="field"?L[j.name]=j.value:L.push(j.value)}),L}function C(b,x,L=!0){const T=Gr(x,o),H=ni(x),_=H.filter(K=>K.kind===W.ElementNode&&ld.test(Gr(K,o))),j=H.filter(K=>K.kind===W.ElementNode&&!ld.test(Gr(K,o))),O=ri(x).map(E),U=O.filter(K=>eT.indexOf(K.name)>=0);if(O.length>U.length)return VA("T011",T),null;const J=U.find(K=>K.name==="name");if(L){if(!(J!=null&&J.value))return VA("T012",T),null}else if(J)return VA("T018",T),null;const V=J==null?void 0:J.value,Z=U.find(K=>K.name==="value");if(Z&&Z.value===void 0)return VA("T019",T),null;if(V&&_.length>=1){if(j.length>0)return VA("T020"),null;const K=_.map(z=>l(b,z));return{name:V,value:K.length===1?K[0]:K}}let R=Z==null?void 0:Z.value;return R===null?null:typeof R=="string"?{name:V,value:R}:{name:V,value:B(b,H)}}function m(b,x,L){var _;if(!Xo(x)){VA("T009","loaders");return}const T=ni(L);if(T.length===0&&(x.loaders??(x.loaders=[])),(_=L.children)==null?void 0:_.some(j=>j.kind===W.AttributeListNode)){VA("T014","attributes");return}T.forEach(j=>{if(j.kind===W.TextNode){VA("T010","loader");return}const O=l(b,j);if(!O.uid){VA("T013");return}if(O.vars){VA("T014","vars");return}if(O.loaders){VA("T014","loaders");return}if(O.uses){VA("T014","uses");return}x.loaders??(x.loaders=[]),x.loaders.push(O)})}function h(b,x,L,T,H,_){const j=C(b,L);if(!j)return;_==null||_((j==null?void 0:j.name)??"");const O=j.name,U=j.value;if((j==null?void 0:j.value)!==void 0)H(O,Bc(T(O),U));else{const J=ni(L),V=B(b,J);let Z=T(O);Z=Bc(Z,V),H(O,Z)}}function Q(b,x){if(!Xo(b)){VA("T009","uses");return}const L=ri(x).map(E),T=L.find(H=>H.name==="value");if(!(T!=null&&T.value)||L.length!==1){VA("T015","uses");return}b.uses??(b.uses=T.value.split(",").map(H=>H.trim()))}function E(b){let x=b.children[0];const L=x.children.length===3;let T;L&&(T=o(x.children[0]));let H=o(x.children[x.children.length-1]);const _=H.split(".");_.length>2&&VA("T007",b,x);let j,O;_.length===2?(O=_[0],j=_[1],j.trim()===""&&VA("T007",b,j)):j=H;const U=o(b.children[2]),J=U.substring(1,U.length-1);return{namespace:T,startSegment:O,name:j,value:J,unsegmentedName:H}}function D(b){for(let x of b){const L=x.children[x.children.length-1],T=M(o(L));T!==null&&(L.text=T)}}function I(b){const x=ni(b),L=Gr(b,o),H=!(L in In)||L==="property",_=L!=="event"&&L!=="method",j=ri(b);cT(j),D(j),f(x),S(x,_);let O=!1,U=!1;for(let R=0;R<x.length;++R){const K=x[R];let z;if(K.kind==W.Script){U=!0;continue}if(K.kind===W.ElementNode){z=I(K),x[R]=z;continue}let AA=o(K);K.kind===W.StringLiteral?AA=AA.slice(1,-1):K.kind===W.CData&&(O=!0),H?O?z=lT(AA):z=aE(AA):z={kind:W.TextNode,text:AA},x[R]=z}const J=[],V=[];let Z=!1;for(const R of x){if(R.kind===W.ElementNode){if((Gr(R,o)??void 0)in In){J.push(R);continue}Z=!0}V.push(R)}if(U&&Z){const R=iE(V);return J.push(R),sE(b,J)}return b}function w(b){for(let x=0;x<b.length;++x)if(b[x].kind===W.StringLiteral||b[x].kind===W.TextNode){const L=/[\f\n\r\t\v\u0020\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/g;b[x].text=o(b[x]).replace(L," ")}}function v(b){for(let x=0;x<b.length;++x)b[x].kind===W.CData&&(b[x].text=o(b[x]).slice(tT,-3))}function f(b){for(let x of b)if(x.kind===W.StringLiteral||x.kind===W.TextNode){const L=M(o(x));L!==null&&(x.text=L)}}function M(b){let x="",L=0;for(let T=0;T<b.length;++T)if(b.charCodeAt(T)===oA.ampersand)switch(b.charCodeAt(T+1)){case oA.a:switch(b.charCodeAt(T+2)){case oA.m:b.charCodeAt(T+3)===oA.p&&b.charCodeAt(T+4)===oA.semicolon&&(x=x+b.substring(L,T)+"&",T+=4,L=T+1);break;case oA.p:b.charCodeAt(T+3)===oA.o&&b.charCodeAt(T+4)===oA.s&&b.charCodeAt(T+5)===oA.semicolon&&(x=x+b.substring(L,T)+"'",T+=5,L=T+1);break}break;case oA.g:b.charCodeAt(T+2)===oA.t&&b.charCodeAt(T+3)===oA.semicolon&&(x=x+b.substring(L,T)+">",T+=3,L=T+1);break;case oA.l:b.charCodeAt(T+2)===oA.t&&b.charCodeAt(T+3)===oA.semicolon&&(x=x+b.substring(L,T)+"<",T+=3,L=T+1);break;case oA.q:b.charCodeAt(T+2)===oA.u&&b.charCodeAt(T+3)===oA.o&&b.charCodeAt(T+4)===oA.t&&b.charCodeAt(T+5)===oA.semicolon&&(x=x+b.substring(L,T)+'"',T+=5,L=T+1);break;case oA.n:b.charCodeAt(T+2)===oA.b&&b.charCodeAt(T+3)===oA.s&&b.charCodeAt(T+4)===oA.p&&b.charCodeAt(T+5)===oA.semicolon&&(x=x+b.substring(L,T)+" ",T+=5,L=T+1);break}return L===0?null:(x+=b.substring(L),x)}function S(b,x){x&&w(b),v(b);for(let L=b.length-1;L>0;--L){const T=b[L-1],H=b[L];T.kind===W.StringLiteral&&H.kind===W.CData?(b[L-1]={kind:W.CData,text:o(T).slice(1,-1)+o(H)},b.pop()):T.kind===W.CData&&H.kind===W.StringLiteral?(b[L-1]={kind:W.CData,text:o(T)+o(H).slice(1,-1)},b.pop()):T.kind===W.CData&&H.kind===W.TextNode?(b[L-1]={kind:W.CData,text:o(T)+o(H)},b.pop()):T.kind===W.CData&&H.kind===W.CData?(b[L-1]={kind:W.CData,text:o(T)+o(H)},b.pop()):T.kind===W.TextNode&&H.kind===W.TextNode?(o(T).endsWith(" ")&&o(H).startsWith(" ")&&(T.text=o(T).trimEnd()),b[L-1]={kind:W.TextNode,text:o(T)+o(H)},b.pop()):T.kind===W.TextNode&&H.kind===W.CData&&(b[L-1]={kind:W.CData,text:o(T)+o(H)},b.pop())}}function G(b){if(typeof b!="string")return b;const x=new Ya(b);try{return{__PARSED:!0,statements:x.parseStatements(),parseId:++iT,source:b}}catch{if(x.errors.length>0){const L=x.errors[0];throw new dc(`${L.text} [${L.line}: ${L.column}]`,L.code)}}}}function lT(A){return{kind:W.ElementNode,children:[{kind:W.OpenNodeStart},{kind:W.TagNameNode,children:[{kind:W.Identifier,text:"TextNodeCData"}]},{kind:W.AttributeListNode,children:[{kind:W.AttributeNode,children:[{kind:W.AttributeKeyNode,children:[{kind:W.Identifier,text:"value"}]},{kind:W.Equal},{kind:W.Identifier,text:`"${A}"`}]}]},{kind:W.NodeClose}]}}function aE(A){return{kind:W.ElementNode,children:[{kind:W.OpenNodeStart},{kind:W.TagNameNode,children:[{kind:W.Identifier,text:"TextNode"}]},{kind:W.AttributeListNode,children:[{kind:W.AttributeNode,children:[{kind:W.AttributeKeyNode,children:[{kind:W.Identifier,text:"value"}]},{kind:W.Equal},{kind:W.Identifier,text:`"${A}"`}]}]},{kind:W.NodeClose}]}}function VA(A,...e){let t=AT[A]??"Unknown error";throw e&&e.forEach((r,n)=>t=o(t,`{${n}}`,r.toString())),new dc(t,A);function o(r,n,a){do r=r.replace(n,a);while(r.includes(n));return r}}function Xo(A){return A.type}function Bc(A,e){return A?Array.isArray(A)?typeof A=="string"?[A,e]:(A.push(e),A):[A,e]:e}function iE(A){const e={kind:W.TagNameNode,children:[{kind:W.Identifier,text:"Fragment"}]};return{kind:W.ElementNode,start:A[0].start,pos:A[0].pos,end:A[A.length-1].end,children:[{kind:W.OpenNodeStart},e,{kind:W.NodeEnd},{kind:W.ContentListNode,children:A},{kind:W.CloseNodeStart},e,{kind:W.NodeEnd}]}}function ri(A){var e,t;return((t=(e=A.children)==null?void 0:e.find(o=>o.kind===W.AttributeListNode))==null?void 0:t.children)??[]}function ni(A){var e,t;return((t=(e=A.children)==null?void 0:e.find(o=>o.kind===W.ContentListNode))==null?void 0:t.children)??[]}function sE(A,e){var r;const t=(r=A.children)==null?void 0:r.findIndex(n=>n.kind===W.ContentListNode);if(t===void 0||t===-1)return A;const o=A.children[t];return new En(A.kind,A.pos??0,A.end??0,A.triviaBefore,[...A.children.slice(0,t),new En(o.kind,o.pos??0,o.end??0,void 0,e),...A.children.slice(t)])}function cT(A){var e;for(let t of A)if(((e=t.children)==null?void 0:e.length)===1){const o={kind:W.Equal},r={kind:W.StringLiteral,text:'"true"'};t.children.push(o,r)}}function lE(A,e,t,o){let r=o.split(":");if(r.length>2)return VA("T028",o,"Namespace cannot contain multiple ':' (colon).");let n=o;if(r.length===2){if(r[0]!=cd)return VA("T029",o,cd);n=r[1]}if(n.includes("#"))return VA("T028",n,"Namespace cannot contain character '#'.");switch(n){case cd:n=t;break;case oT:n=rT;break;case nT:n=aT;break}const a=A[A.length-1];if(a.has(t))return VA("T025",t);a.set(t,n)}function gT(A,e){A.children.length!==2&&VA("T001");const t=A.children[0];return t.kind!==W.ElementNode&&VA("T001"),t}function Gr(A,e){const t=A.children.find(r=>r.kind===W.TagNameNode).children;return e(t.at(-1))}function cE(A,e,t){const o=A.children.find(i=>i.kind===W.TagNameNode).children,r=e(o.at(-1));if(o.length===1)return r;const n=e(o[0]);t.length===0&&VA("T026");let a;for(let i=t.length-1;i>=0&&(a=t[i].get(n),a===void 0);--i);return a===void 0&&VA("T027",n),a+"."+r}function gd(A,e=0){const{parse:t,getText:o}=zL(A),{node:r,errors:n}=t();if(n.length>0){const a=[];for(let l=0;l<A.length;++l)A[l]===`
56
56
  `&&a.push(l);const i=uT(n,a),s=uE(r,o);return{component:null,errors:i,erroneousCompoundComponentName:s}}try{return{component:sT(r,o,e),errors:[]}}catch(a){const i=uE(r,o),s={message:a.message,col:0,line:0,code:gc.expEq,category:XQ.Error,pos:0,end:0};return{component:null,erroneousCompoundComponentName:i,errors:[s]}}}function gE(A,e,t){function o(){const n=A.sort((i,s)=>i.pos===void 0&&s.pos===void 0?0:i.pos===void 0?1:s.pos===void 0?-1:i.pos-s.pos).map((i,s)=>({type:"VStack",props:{gap:"0px"},children:[{type:"HStack",props:{gap:"0"},children:[{type:"Text",props:{value:`#${s+1}: ${e} (${i.line}:${i.col}): `,color:"$color-info"}},{type:"Text",props:{value:` ${i.message}`,fontWeight:"bold"}}]}]}));return{type:"VStack",props:{padding:"$padding-normal",gap:0},children:[{type:"H1",props:{value:`${n.length} ${n.length>1?"Errors":"Error"} found while processing XMLUI markup`,padding:"$padding-normal",backgroundColor:"$color-error",color:"white"}},{type:"VStack",props:{gap:"$gap-tight",padding:"$padding-normal"},children:n}]}}const r=o();return r.name=t,r.component=o(),r}function uT(A,e){if(e.length===0){for(let t of A)t.line=1,t.col=t.pos+1;return A}for(let t of A){let o=0;for(;o<e.length;++o){const n=e[o];if(t.pos<n){t.line=o+1,t.col=t.pos-(e[o-1]??0)+1;break}}const r=e[e.length-1];t.pos>=r&&(t.line=e.length+1,t.col=t.pos-r+0)}return A}function uE(A,e){var s,l,g,u,p,B;const t=(s=A==null?void 0:A.children)==null?void 0:s[0],o=(g=(l=t==null?void 0:t.children)==null?void 0:l.find(C=>C.kind===W.TagNameNode))==null?void 0:g.children,r=o==null?void 0:o[o.length-1];if(r===void 0||e(r)!=="Component")return;const n=(p=(u=t.children)==null?void 0:u.find(C=>C.kind===W.AttributeListNode))==null?void 0:p.children,a=(B=n==null?void 0:n.find(C=>C.kind===W.AttributeNode&&e(C==null?void 0:C.children[0])==="name"))==null?void 0:B.children,i=a==null?void 0:a[a.length-1];if(i!==void 0&&i.kind===W.StringLiteral){const C=e(i);return C.substring(1,C.length-1)}}function dT(A,e){const t=gd(e).component;if(!t)throw new Error(`Failed to parse ${A} component definition during build.`);return t}const BT="FormSection",dE={status:"experimental",description:"`FormSection` groups elements within a `Form`. Child components are placed in a [FlowLayout](/components/FlowLayout).",props:{heading:{description:"The heading text to be displayed at the top of the form section.",type:"string"},headingLevel:{description:"The semantic and visual level of the heading.",availableValues:["h1","h2","h3","h4","h5","h6"],defaultValue:"h3"},headingWeight:{description:"The font weight of the heading.",type:"string",defaultValue:"bold"},info:{description:"Informational text displayed below the heading.",type:"string"},infoFontSize:{description:"The font size of the informational text.",type:"string",defaultValue:"0.8rem"},paddingTop:{description:"The top padding of the FlowLayout where the section's children are placed.",type:"string",defaultValue:"$space-normal"},columnGap:{description:"The gap between columns of items within the section.",type:"string",defaultValue:"3rem"},rowGap:{description:"The gap between rows of items within the section.",type:"string",defaultValue:"$space-normal"}}},pT={compoundComponentDef:dT(BT,`
57
57
  <Component name="FormSection">
@@ -242,7 +242,7 @@ It supports both side-by-side and stacked layouts.`,props:{markdown:{description
242
242
  c0,0.26,0.23,0.51,0.5,0.5c0.27-0.01,0.5-0.22,0.5-0.5v-0.59h7v0.59c0,0.26,0.23,0.51,0.5,0.5c0.27-0.01,0.5-0.22,0.5-0.5v-0.59
243
243
  h1.94c0.83,0,1.5,0.67,1.5,1.5V9.035z`}},{tag:"path",attr:{d:`M11.492,17.173v-3.46c0-0.059-0.064-0.095-0.114-0.064l-0.638,0.392
244
244
  c-0.1,0.061-0.228-0.01-0.228-0.128v-0.651c0-0.105,0.055-0.203,0.146-0.257l0.764-0.457c0.047-0.028,0.1-0.043,0.154-0.043h0.626
245
- c0.166,0,0.3,0.134,0.3,0.3v4.367c0,0.166-0.134,0.3-0.3,0.3h-0.409C11.626,17.473,11.492,17.339,11.492,17.173z`}}]}]})(A)}const kG="data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208.5C16.9706%208.5%2021%207.15685%2021%205.5C21%203.84315%2016.9706%202.5%2012%202.5C7.02944%202.5%203%203.84315%203%205.5C3%207.15685%207.02944%208.5%2012%208.5Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2012.5C21%2014.16%2017%2015.5%2012%2015.5C7%2015.5%203%2014.16%203%2012.5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5V19.5C3%2021.16%207%2022.5%2012%2022.5C17%2022.5%2021%2021.16%2021%2019.5V5.5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",HG=A=>c.jsx(kG,{...A}),SG="data:image/svg+xml,%3csvg%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='16px'%20height='16px'%20viewBox='0%200%2016%2016'%20version='1.1'%3e%3cg%20id='surface1'%3e%3cpath%20stroke='none'%20fill-rule='nonzero'%20fill-opacity='1'%20d='M%209.886719%205.171875%20L%206.113281%208.941406%20C%205.855469%209.203125%205.855469%209.625%206.113281%209.886719%20C%206.375%2010.144531%206.796875%2010.144531%207.058594%209.886719%20L%2010.828125%206.113281%20C%2011.609375%205.332031%2011.609375%204.066406%2010.828125%203.285156%20C%2010.046875%202.503906%208.78125%202.503906%208%203.285156%20L%204.230469%207.058594%20C%202.925781%208.359375%202.925781%2010.46875%204.230469%2011.769531%20C%205.53125%2013.074219%207.640625%2013.074219%208.941406%2011.769531%20L%2012.714844%208%20L%2013.65625%208.941406%20L%209.886719%2012.714844%20C%208.0625%2014.535156%205.109375%2014.535156%203.285156%2012.714844%20C%201.464844%2010.890625%201.464844%207.9375%203.285156%206.113281%20L%207.058594%202.34375%20C%208.359375%201.042969%2010.46875%201.042969%2011.769531%202.34375%20C%2013.074219%203.644531%2013.074219%205.753906%2011.769531%207.058594%20L%208%2010.828125%20C%207.21875%2011.609375%205.953125%2011.609375%205.171875%2010.828125%20C%204.390625%2010.046875%204.390625%208.78125%205.171875%208%20L%208.941406%204.230469%20Z%20M%209.886719%205.171875%20'/%3e%3c/g%3e%3c/svg%3e",MG=A=>c.jsx(SG,{...A}),LG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2013C10.4295%2013.5741%2010.9774%2014.0491%2011.6066%2014.3929C12.2357%2014.7367%2012.9315%2014.9411%2013.6467%2014.9923C14.3618%2015.0435%2015.0796%2014.9403%2015.7513%2014.6897C16.4231%2014.4392%2017.0331%2014.047%2017.54%2013.54L20.54%2010.54C21.4508%209.59695%2021.9548%208.33394%2021.9434%207.02296C21.932%205.71198%2021.4061%204.45791%2020.4791%203.53087C19.5521%202.60383%2018.298%202.07799%2016.987%202.0666C15.676%202.0552%2014.413%202.55918%2013.47%203.46997L11.75%205.17997'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.0002%2011.0012C13.5707%2010.4271%2013.0228%209.95202%2012.3936%209.60826C11.7645%209.2645%2011.0687%209.06009%2010.3535%209.00887C9.63841%208.95765%208.92061%209.06083%208.24885%209.31142C7.5771%209.56201%206.96709%209.95413%206.4602%2010.4612L3.4602%2013.4612C2.54941%2014.4042%202.04544%2015.6672%202.05683%2016.9782C2.06822%2018.2892%202.59407%2019.5433%203.52111%2020.4703C4.44815%2021.3973%205.70221%2021.9232%207.01319%2021.9346C8.32418%2021.946%209.58719%2021.442%2010.5302%2020.5312L12.2402%2018.8212'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",TG={binding:"_binding_14mdd_1"},NG=A=>c.jsx(LG,{className:TG.binding,...A}),FG=A=>c.jsx(CQ,{...A}),PG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2010.6669V5.33359C13.9998%205.09978%2013.938%204.87013%2013.821%204.6677C13.704%204.46527%2013.5358%204.29717%2013.3333%204.18026L8.66667%201.51359C8.46397%201.39657%208.23405%201.33496%208%201.33496C7.76595%201.33496%207.53603%201.39657%207.33333%201.51359L2.66667%204.18026C2.46418%204.29717%202.29599%204.46527%202.17897%204.6677C2.06196%204.87013%202.00024%205.09978%202%205.33359V10.6669C2.00024%2010.9007%202.06196%2011.1304%202.17897%2011.3328C2.29599%2011.5353%202.46418%2011.7034%202.66667%2011.8203L7.33333%2014.4869C7.53603%2014.604%207.76595%2014.6656%208%2014.6656C8.23405%2014.6656%208.46397%2014.604%208.66667%2014.4869L13.3333%2011.8203C13.5358%2011.7034%2013.704%2011.5353%2013.821%2011.3328C13.938%2011.1304%2013.9998%2010.9007%2014%2010.6669Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.18018%204.63965L8.00018%208.00632L13.8202%204.63965'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%2014.72V8'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",GG=A=>c.jsx(PG,{...A}),OG=A=>c.jsx(V8,{...A}),RG=A=>c.jsx(BQ,{...A}),UG=A=>c.jsx(pQ,{...A}),KG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6665%201.33301H3.99984C3.64622%201.33301%203.30708%201.47348%203.05703%201.72353C2.80698%201.97358%202.6665%202.31272%202.6665%202.66634V13.333C2.6665%2013.6866%202.80698%2014.0258%203.05703%2014.2758C3.30708%2014.5259%203.64622%2014.6663%203.99984%2014.6663H11.9998C12.3535%2014.6663%2012.6926%2014.5259%2012.9426%2014.2758C13.1927%2014.0258%2013.3332%2013.6866%2013.3332%2013.333V5.99967L8.6665%201.33301Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.6665%201.33301V5.99967H13.3332'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.3335%2010.6667L10.6668%209.33333L9.3335%208'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.6665%208.00033L5.33317%209.33366L6.6665%2010.667'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",YG=A=>c.jsx(KG,{...A}),jG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2010.6669V5.33359C13.9998%205.09978%2013.938%204.87013%2013.821%204.6677C13.704%204.46527%2013.5358%204.29717%2013.3333%204.18026L8.66667%201.51359C8.46397%201.39657%208.23405%201.33496%208%201.33496C7.76595%201.33496%207.53603%201.39657%207.33333%201.51359L2.66667%204.18026C2.46418%204.29717%202.29599%204.46527%202.17897%204.6677C2.06196%204.87013%202.00024%205.09978%202%205.33359V10.6669C2.00024%2010.9007%202.06196%2011.1304%202.17897%2011.3328C2.29599%2011.5353%202.46418%2011.7034%202.66667%2011.8203L7.33333%2014.4869C7.53603%2014.604%207.76595%2014.6656%208%2014.6656C8.23405%2014.6656%208.46397%2014.604%208.66667%2014.4869L13.3333%2011.8203C13.5358%2011.7034%2013.704%2011.5353%2013.821%2011.3328C13.938%2011.1304%2013.9998%2010.9007%2014%2010.6669Z'%20stroke='%233B3B3B'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%202.80664L8%204.53997L11%202.80664'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2013.1933V9.73333L2%208'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14%208L11%209.73333V13.1933'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.18018%204.63965L8.00018%208.00632L13.8202%204.63965'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%2014.72V8'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",_G=A=>c.jsx(jG,{...A}),WG=A=>c.jsx(mQ,{...A}),JG=A=>c.jsx(lG,{...A}),$G="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208C16.9706%208%2021%206.65685%2021%205C21%203.34315%2016.9706%202%2012%202C7.02944%202%203%203.34315%203%205C3%206.65685%207.02944%208%2012%208Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2012C21%2013.66%2017%2015%2012%2015C7%2015%203%2013.66%203%2012'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205V19C3%2020.66%207%2022%2012%2022C17%2022%2021%2020.66%2021%2019V5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",zG={database:"_database_14jkq_1"},qG=A=>c.jsx($G,{className:zG.database,...A}),VG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.33317%201.33301H3.99984C3.64622%201.33301%203.30708%201.47348%203.05703%201.72353C2.80698%201.97358%202.6665%202.31272%202.6665%202.66634V13.333C2.6665%2013.6866%202.80698%2014.0258%203.05703%2014.2758C3.30708%2014.5259%203.64622%2014.6663%203.99984%2014.6663H11.9998C12.3535%2014.6663%2012.6926%2014.5259%2012.9426%2014.2758C13.1927%2014.0258%2013.3332%2013.6866%2013.3332%2013.333V5.33301L9.33317%201.33301Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.3335%201.33301V5.33301H13.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.6668%208.66699H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.6668%2011.333H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.66683%206H6.00016H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ZG=A=>c.jsx(VG,{...A}),XG="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_15061)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H2.76551C1.36355%200%200.227051%201.10179%200.227051%202.46094V25.5391C0.227051%2026.8982%201.36355%2028%202.76551%2028H19.6886C21.0906%2028%2022.2271%2026.8982%2022.2271%2025.5391V7.38281Z'%20fill='currentColor'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='currentColor'/%3e%3cpath%20d='M16.304%2013.1797H6.15011C5.68241%2013.1797%205.30396%2012.8128%205.30396%2012.3594C5.30396%2011.906%205.68241%2011.5391%206.15011%2011.5391H16.304C16.7717%2011.5391%2017.1501%2011.906%2017.1501%2012.3594C17.1501%2012.8128%2016.7717%2013.1797%2016.304%2013.1797Z'%20fill='white'/%3e%3cpath%20d='M16.304%2016.4609H6.15011C5.68241%2016.4609%205.30396%2016.094%205.30396%2015.6406C5.30396%2015.1872%205.68241%2014.8203%206.15011%2014.8203H16.304C16.7717%2014.8203%2017.1501%2015.1872%2017.1501%2015.6406C17.1501%2016.094%2016.7717%2016.4609%2016.304%2016.4609Z'%20fill='white'/%3e%3cpath%20d='M16.304%2019.7422H6.15011C5.68241%2019.7422%205.30396%2019.3753%205.30396%2018.9219C5.30396%2018.4685%205.68241%2018.1016%206.15011%2018.1016H16.304C16.7717%2018.1016%2017.1501%2018.4685%2017.1501%2018.9219C17.1501%2019.3753%2016.7717%2019.7422%2016.304%2019.7422Z'%20fill='white'/%3e%3cpath%20d='M12.9193%2023.0234H6.15011C5.68241%2023.0234%205.30396%2022.6565%205.30396%2022.2031C5.30396%2021.7497%205.68241%2021.3828%206.15011%2021.3828H12.9193C13.387%2021.3828%2013.7655%2021.7497%2013.7655%2022.2031C13.7655%2022.6565%2013.387%2023.0234%2012.9193%2023.0234Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_15061'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Fb=A=>c.jsx(XG,{...A}),A3=A=>c.jsx(eG,{...A}),e3=A=>c.jsx(tG,{...A}),t3=A=>c.jsx(sG,{...A}),o3="data:image/svg+xml,%3csvg%20viewBox='0%200%2030%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.58122%200H1C0.447715%200%200%200.447715%200%200.999999V21.0737H30V3.71273H12.0217L7.58122%200Z'%20fill='%23ADDAE9'/%3e%3cpath%20d='M10.9928%200.157898H29C29.5523%200.157898%2030%200.605613%2030%201.1579V20C30%2020.5523%2029.5523%2021%2029%2021H1.00002C0.447731%2021%201.71661e-05%2020.5523%201.71661e-05%2020V3.93087C1.71661e-05%203.37858%200.447733%202.93087%201.00002%202.93087H6.55236L10.9928%200.157898Z'%20fill='%23CAE9F3'/%3e%3c/svg%3e",r3=A=>c.jsx(o3,{...A}),n3="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21%2016.0019V8.00186C20.9996%207.65113%2020.9071%207.30667%2020.7315%207.00302C20.556%206.69937%2020.3037%206.44722%2020%206.27186L13%202.27186C12.696%202.09632%2012.3511%202.00391%2012%202.00391C11.6489%202.00391%2011.304%202.09632%2011%202.27186L4%206.27186C3.69626%206.44722%203.44398%206.69937%203.26846%207.00302C3.09294%207.30667%203.00036%207.65113%203%208.00186V16.0019C3.00036%2016.3526%203.09294%2016.697%203.26846%2017.0007C3.44398%2017.3043%203.69626%2017.5565%204%2017.7319L11%2021.7319C11.304%2021.9074%2011.6489%2021.9998%2012%2021.9998C12.3511%2021.9998%2012.696%2021.9074%2013%2021.7319L20%2017.7319C20.3037%2017.5565%2020.556%2017.3043%2020.7315%2017.0007C20.9071%2016.697%2020.9996%2016.3526%2021%2016.0019Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.26953%206.96094L11.9995%2012.0109L20.7295%206.96094'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%2022.08V12'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",a3=A=>c.jsx(n3,{...A}),i3=A=>c.jsx(fS,{...A}),s3="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%203H2L10%2012.46V19L14%2021V12.46L22%203Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",l3=A=>c.jsx(s3,{...A}),c3="data:image/svg+xml,%3csvg%20viewBox='0%200%2030%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.58122%200H1C0.447715%200%200%200.447715%200%200.999999V21.0737H30V3.71273H12.0217L7.58122%200Z'%20fill='%23ADDAE9'/%3e%3crect%20x='1.2179'%20y='2.44446'%20width='28.0128'%20height='15.8889'%20fill='white'/%3e%3cpath%20d='M10.9928%201.1579H29C29.5523%201.1579%2030%201.60561%2030%202.1579V21C30%2021.5523%2029.5523%2022%2029%2022H1.00002C0.447731%2022%201.71661e-05%2021.5523%201.71661e-05%2021V4.93087C1.71661e-05%204.37858%200.447733%203.93087%201.00002%203.93087H6.55236L10.9928%201.1579Z'%20fill='%23CAE9F3'/%3e%3c/svg%3e",g3=A=>c.jsx(c3,{...A}),u3=A=>c.jsx(aG,{...A}),d3=A=>c.jsx(iM,{...A}),B3=A=>c.jsx(iG,{...A}),p3="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1960_14704)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23E1E1E1'/%3e%3cpath%20d='M9%2017L14.1962%2021.5H3.80385L9%2017Z'%20fill='%238BDC6F'/%3e%3cpath%20d='M13%2014L18.1963%2021.5H7.80396L13%2014Z'%20fill='%238BDC6F'/%3e%3ccircle%20cx='7'%20cy='11'%20r='2'%20fill='%23EFC942'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1960_14704'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",C3=A=>c.jsx(p3,{...A});function m3(A){return mA({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M74.6 256c0-38.3 31.1-69.4 69.4-69.4h88V144h-88c-61.8 0-112 50.2-112 112s50.2 112 112 112h88v-42.6h-88c-38.3 0-69.4-31.1-69.4-69.4zm85.4 22h192v-44H160v44zm208-134h-88v42.6h88c38.3 0 69.4 31.1 69.4 69.4s-31.1 69.4-69.4 69.4h-88V368h88c61.8 0 112-50.2 112-112s-50.2-112-112-112z"}}]})(A)}const h3=A=>c.jsx(m3,{...A}),Q3=A=>c.jsx(mQ,{...A}),E3=A=>c.jsx(yG,{...A}),I3=A=>c.jsx(cM,{...A}),w3="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1813_15242)'%3e%3cpath%20d='M21.788%207.38281L16.3739%205.74219L14.827%200H3.22546C2.37112%200%201.67859%200.734508%201.67859%201.64062V26.3594C1.67859%2027.2655%202.37112%2028%203.22546%2028H20.2411C21.0954%2028%2021.788%2027.2655%2021.788%2026.3594V7.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7879%207.38281V26.3594C21.7879%2027.2655%2021.0954%2028%2020.2411%2028H11.8571V0H14.827L16.3739%205.74219L21.7879%207.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.788%207.38281H16.3739C15.5231%207.38281%2014.827%206.64453%2014.827%205.74219V0C15.0281%200%2015.2292%200.0820312%2015.3684%200.246148L21.5559%206.80865C21.7106%206.95625%2021.788%207.16953%2021.788%207.38281Z'%20fill='%23BDBDBD'/%3e%3cpath%20d='M20.5333%2022.4259C20.5333%2022.925%2020.1483%2023.3333%2019.6778%2023.3333H0.855556C0.385%2023.3333%200%2022.925%200%2022.4259V13.3519C0%2012.8528%200.385%2012.4445%200.855556%2012.4445H19.6778C20.1483%2012.4445%2020.5333%2012.8528%2020.5333%2013.3519V22.4259Z'%20fill='%23FF3E3E'/%3e%3cpath%20d='M4.25304%2017.732V16.448H4.98504C5.09304%2016.448%205.19704%2016.456%205.29704%2016.472C5.39704%2016.488%205.48504%2016.52%205.56104%2016.568C5.63704%2016.612%205.69704%2016.676%205.74104%2016.76C5.78904%2016.844%205.81304%2016.954%205.81304%2017.09C5.81304%2017.226%205.78904%2017.336%205.74104%2017.42C5.69704%2017.504%205.63704%2017.57%205.56104%2017.618C5.48504%2017.662%205.39704%2017.692%205.29704%2017.708C5.19704%2017.724%205.09304%2017.732%204.98504%2017.732H4.25304ZM3.31104%2015.716V20H4.25304V18.464H5.24304C5.51104%2018.464%205.73904%2018.426%205.92704%2018.35C6.11504%2018.27%206.26704%2018.166%206.38304%2018.038C6.50304%2017.91%206.58904%2017.764%206.64104%2017.6C6.69704%2017.432%206.72504%2017.262%206.72504%2017.09C6.72504%2016.914%206.69704%2016.744%206.64104%2016.58C6.58904%2016.416%206.50304%2016.27%206.38304%2016.142C6.26704%2016.014%206.11504%2015.912%205.92704%2015.836C5.73904%2015.756%205.51104%2015.716%205.24304%2015.716H3.31104Z'%20fill='white'/%3e%3cpath%20d='M8.85499%2019.208V16.508H9.52699C9.75899%2016.508%209.95299%2016.542%2010.109%2016.61C10.269%2016.674%2010.397%2016.768%2010.493%2016.892C10.589%2017.016%2010.657%2017.166%2010.697%2017.342C10.741%2017.514%2010.763%2017.708%2010.763%2017.924C10.763%2018.16%2010.733%2018.36%2010.673%2018.524C10.613%2018.688%2010.533%2018.822%2010.433%2018.926C10.333%2019.026%2010.219%2019.098%2010.091%2019.142C9.96299%2019.186%209.83099%2019.208%209.69499%2019.208H8.85499ZM7.91299%2015.716V20H9.76099C10.089%2020%2010.373%2019.946%2010.613%2019.838C10.857%2019.726%2011.059%2019.574%2011.219%2019.382C11.383%2019.19%2011.505%2018.962%2011.585%2018.698C11.665%2018.434%2011.705%2018.146%2011.705%2017.834C11.705%2017.478%2011.655%2017.168%2011.555%2016.904C11.459%2016.64%2011.323%2016.42%2011.147%2016.244C10.975%2016.068%2010.769%2015.936%2010.529%2015.848C10.293%2015.76%2010.037%2015.716%209.76099%2015.716H7.91299Z'%20fill='white'/%3e%3cpath%20d='M12.9603%2015.716V20H13.9023V18.23H15.6963V17.498H13.9023V16.508H15.9723V15.716H12.9603Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1813_15242'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",f3=A=>c.jsx(w3,{...A}),b3=A=>c.jsx(vG,{...A}),D3=A=>c.jsx(gM,{...A}),v3="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1960_14734)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23E1E1E1'/%3e%3cpath%20d='M9%2017L14.1962%2021.5H3.80385L9%2017Z'%20fill='%238BDC6F'/%3e%3cpath%20d='M13%2014L18.1963%2021.5H7.80396L13%2014Z'%20fill='%238BDC6F'/%3e%3ccircle%20cx='7'%20cy='11'%20r='2'%20fill='%23EFC942'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1960_14734'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",y3=A=>c.jsx(v3,{...A}),x3=A=>c.jsx(yS,{...A}),k3=A=>c.jsx(dM,{...A}),H3="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M18%208C19.6569%208%2021%206.65685%2021%205C21%203.34315%2019.6569%202%2018%202C16.3431%202%2015%203.34315%2015%205C15%206.65685%2016.3431%208%2018%208Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M6%2015C7.65685%2015%209%2013.6569%209%2012C9%2010.3431%207.65685%209%206%209C4.34315%209%203%2010.3431%203%2012C3%2013.6569%204.34315%2015%206%2015Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M18%2022C19.6569%2022%2021%2020.6569%2021%2019C21%2017.3431%2019.6569%2016%2018%2016C16.3431%2016%2015%2017.3431%2015%2019C15%2020.6569%2016.3431%2022%2018%2022Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M8.58984%2013.51L15.4198%2017.49'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M15.4098%206.51001L8.58984%2010.49'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e",S3=A=>c.jsx(H3,{...A}),M3=A=>c.jsx(nG,{...A}),L3="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_14941)'%3e%3cpath%20d='M21.7881%207.38281L16.374%205.74219L14.8271%200H3.22559C2.37125%200%201.67871%200.734508%201.67871%201.64062V26.3594C1.67871%2027.2655%202.37125%2028%203.22559%2028H20.2412C21.0956%2028%2021.7881%2027.2655%2021.7881%2026.3594V7.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7881%207.38281V26.3594C21.7881%2027.2655%2021.0955%2028%2020.2412%2028H11.8572V0H14.8271L16.374%205.74219L21.7881%207.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7881%207.38281H16.374C15.5232%207.38281%2014.8271%206.64453%2014.8271%205.74219V0C15.0282%200%2015.2293%200.0820312%2015.3685%200.246148L21.556%206.80865C21.7107%206.95625%2021.7881%207.16953%2021.7881%207.38281Z'%20fill='%23BDBDBD'/%3e%3cpath%20d='M20.5333%2022.4259C20.5333%2022.925%2020.1483%2023.3333%2019.6778%2023.3333H0.855556C0.385%2023.3333%200%2022.925%200%2022.4259V13.3519C0%2012.8528%200.385%2012.4444%200.855556%2012.4444H19.6778C20.1483%2012.4444%2020.5333%2012.8528%2020.5333%2013.3519V22.4259Z'%20fill='%23161C28'/%3e%3cpath%20d='M4.62629%2016.508V20H5.56828V16.508H6.85229V15.716H3.34229V16.508H4.62629Z'%20fill='white'/%3e%3cpath%20d='M8.99625%2017.756L7.50225%2020H8.55825L9.51225%2018.518L10.4483%2020H11.5703L10.0763%2017.762L11.4503%2015.716H10.4183L9.54825%2017.084L8.70825%2015.716H7.61625L8.99625%2017.756Z'%20fill='white'/%3e%3cpath%20d='M13.4962%2016.508V20H14.4382V16.508H15.7222V15.716H12.2122V16.508H13.4962Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_14941'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",T3=A=>c.jsx(L3,{...A}),N3="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_14989)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23C9E3F4'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23C9E3F4'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23AAC4D6'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_14989'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",F3=A=>c.jsx(N3,{...A}),P3="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2012.4503C10.3236%2012.894%2010.7365%2013.2612%2011.2106%2013.5269C11.6847%2013.7926%2012.209%2013.9505%2012.7479%2013.9901C13.2868%2014.0297%2013.8277%2013.95%2014.3339%2013.7563C14.8401%2013.5626%2015.2998%2013.2596%2015.6817%2012.8677L17.9424%2010.549C18.6287%209.82019%2019.0084%208.84404%2018.9999%207.83081C18.9913%206.81758%2018.595%205.84834%2017.8965%205.13185C17.1979%204.41536%2016.2529%204.00895%2015.265%204.00015C14.2771%203.99134%2013.3254%204.38085%2012.6148%205.08478L11.3187%206.4064'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13%2010.5497C12.6764%2010.106%2012.2635%209.73881%2011.7894%209.47313C11.3153%209.20745%2010.791%209.04946%2010.2521%209.00987C9.7132%208.97029%209.17231%209.05004%208.66611%209.24371C8.15991%209.43738%207.70024%209.74045%207.31828%2010.1323L5.05764%2012.451C4.37132%2013.1798%203.99156%2014.156%204.00014%2015.1692C4.00873%2016.1824%204.40497%2017.1517%205.10354%2017.8681C5.80211%2018.5846%206.7471%2018.991%207.73498%2018.9999C8.72287%2019.0087%209.6746%2018.6192%2010.3852%2017.9152L11.6738%2016.5936'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.1582%202.67383L9.06952%205.30645'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.4316%2017.667L16.8262%2015.3902'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%205.28906L7.23775%206.94848'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.7402%2014.2783L18.1301%2013.3044'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",G3=A=>c.jsx(P3,{...A}),O3=A=>c.jsx(hQ,{...A}),R3="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21.9982%207.38281L16.0756%205.74219L14.3835%200H1.69217C0.757586%200%200%200.734508%200%201.64062V26.3594C0%2027.2655%200.757586%2028%201.69217%2028H20.3061C21.2407%2028%2021.9982%2027.2655%2021.9982%2026.3594V7.38281Z'%20fill='%2359C36A'/%3e%3cpath%20d='M21.9982%207.38281V26.3594C21.9982%2027.2655%2021.2406%2028%2020.306%2028H11.1345V0H14.3834L16.0756%205.74219L21.9982%207.38281Z'%20fill='%2359C36A'/%3e%3cpath%20d='M16.0753%2011.5391H5.92226C5.4546%2011.5391%205.07617%2011.906%205.07617%2012.3594V22.2031C5.07617%2022.6565%205.4546%2023.0234%205.92226%2023.0234H16.0753C16.543%2023.0234%2016.9214%2022.6565%2016.9214%2022.2031V12.3594C16.9214%2011.906%2016.543%2011.5391%2016.0753%2011.5391ZM6.76834%2016.4609H10.1527V18.1016H6.76834V16.4609ZM11.8449%2016.4609H15.2292V18.1016H11.8449V16.4609ZM15.2292%2014.8203H11.8449V13.1797H15.2292V14.8203ZM10.1527%2013.1797V14.8203H6.76834V13.1797H10.1527ZM6.76834%2019.7422H10.1527V21.3828H6.76834V19.7422ZM11.8449%2021.3828V19.7422H15.2292V21.3828H11.8449Z'%20fill='white'/%3e%3cpath%20d='M16.0758%2011.5391H11.1365V23.0234H16.0758C16.5435%2023.0234%2016.9219%2022.6565%2016.9219%2022.2031V12.3594C16.9219%2011.906%2016.5435%2011.5391%2016.0758%2011.5391ZM15.2297%2021.3828H11.8454V19.7422H15.2297V21.3828ZM15.2297%2018.1016H11.8454V16.4609H15.2297V18.1016ZM15.2297%2014.8203H11.8454V13.1797H15.2297V14.8203Z'%20fill='white'/%3e%3cpath%20d='M21.9995%207.38281H16.0769C15.1462%207.38281%2014.3848%206.64453%2014.3848%205.74219V0C14.6047%200%2014.8247%200.0820312%2014.977%200.246148L21.7457%206.80865C21.9149%206.95625%2021.9995%207.16953%2021.9995%207.38281Z'%20fill='%23A0DEB0'/%3e%3c/svg%3e",U3=A=>c.jsx(R3,{...A}),K3="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon%20icon-tabler%20icon-tabler-trending-up'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20stroke-width='2'%20stroke='currentColor'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M3%2017l6%20-6l4%204l8%20-8'%20/%3e%3cpath%20d='M14%207l7%200l0%207'%20/%3e%3c/svg%3e",Y3=A=>c.jsx(K3,{...A}),j3="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon%20icon-tabler%20icon-tabler-trending-down'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20stroke-width='2'%20stroke='currentColor'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M3%207l6%206l4%20-4l8%208'%20/%3e%3cpath%20d='M21%2010l0%207l-7%200'%20/%3e%3c/svg%3e",_3=A=>c.jsx(j3,{...A}),W3=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor"}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),J3=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor"})]}),$3=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),z3="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='icon%20ms-1'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'%3e%3c/path%3e%3cpath%20d='M5%2012l14%200'%3e%3c/path%3e%3c/svg%3e",q3=A=>c.jsx(z3,{...A}),V3="data:image/svg+xml,%3csvg%20width='56'%20height='56'%20viewBox='0%200%2056%2056'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_8732_12671)'%3e%3crect%20x='10'%20y='10'%20width='36'%20height='36'%20rx='6'%20fill='%23143566'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M28.834%2018.6667H23.0007C22.5586%2018.6667%2022.1347%2018.8423%2021.8221%2019.1549C21.5096%2019.4675%2021.334%2019.8914%2021.334%2020.3334V33.6667C21.334%2034.1088%2021.5096%2034.5327%2021.8221%2034.8453C22.1347%2035.1578%2022.5586%2035.3334%2023.0007%2035.3334H33.0007C33.4427%2035.3334%2033.8666%2035.1578%2034.1792%2034.8453C34.4917%2034.5327%2034.6673%2034.1088%2034.6673%2033.6667V24.5001L28.834%2018.6667Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M28.834%2018.6667V24.5001H34.6673'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.666%2030.3333L31.3327%2028.6667L29.666%2027'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.334%2026.9999L24.6673%2028.6666L26.334%2030.3333'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_8732_12671'%20x='0'%20y='0'%20width='56'%20height='56'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.2%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_8732_12671'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_8732_12671'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",Z3=A=>c.jsx(V3,{...A}),X3="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='currentColor'%3e%3cpath%20d='M600-640%20480-760l120-120%20120%20120-120%20120Zm200%20120-80-80%2080-80%2080%2080-80%2080ZM483-80q-84%200-157.5-32t-128-86.5Q143-253%20111-326.5T79-484q0-146%2093-257.5T409-880q-18%2099%2011%20193.5T520-521q71%2071%20165.5%20100T879-410q-26%20144-138%20237T483-80Zm0-80q88%200%20163-44t118-121q-86-8-163-43.5T463-465q-61-61-97-138t-43-163q-77%2043-120.5%20118.5T159-484q0%20135%2094.5%20229.5T483-160Zm-20-305Z'/%3e%3c/svg%3e",AO=A=>c.jsx(X3,{...A}),eO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='currentColor'%3e%3cpath%20d='m354-287%20126-76%20126%2077-33-144%20111-96-146-13-58-136-58%20135-146%2013%20111%2097-33%20143ZM233-120l65-281L80-590l288-25%20112-265%20112%20265%20288%2025-218%20189%2065%20281-247-149-247%20149Zm457-560%2021-89-71-59%2094-8%2036-84%2036%2084%2094%208-71%2059%2021%2089-80-47-80%2047ZM480-481Z'/%3e%3c/svg%3e",tO=A=>c.jsx(eO,{...A}),oO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2016C14.2091%2016%2016%2014.2091%2016%2012C16%209.79086%2014.2091%208%2012%208V16Z'%20fill='%23394150'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%202C6.47715%202%202%206.47715%202%2012C2%2017.5228%206.47715%2022%2012%2022C17.5228%2022%2022%2017.5228%2022%2012C22%206.47715%2017.5228%202%2012%202ZM12%204V8C9.79086%208%208%209.79086%208%2012C8%2014.2091%209.79086%2016%2012%2016V20C16.4183%2020%2020%2016.4183%2020%2012C20%207.58172%2016.4183%204%2012%204Z'%20fill='%23394150'/%3e%3c/svg%3e",rO=A=>c.jsx(oO,{...A}),nO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208C9.7909%208%208%209.7909%208%2012C8%2014.2091%209.7909%2016%2012%2016L12%208Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%2022C17.5229%2022%2022%2017.5229%2022%2012C22%206.4772%2017.5228%202%2012%202C6.4772%202%202%206.4772%202%2012C2%2017.5229%206.4772%2022%2012%2022ZM12%2020L12%2016C14.2091%2016%2016%2014.2091%2016%2012C16%209.7909%2014.2091%208%2012%208L12%204C7.5817%204%204%207.5817%204%2012C4%2016.4183%207.5817%2020%2012%2020Z'%20fill='white'/%3e%3c/svg%3e",aO=A=>c.jsx(nO,{...A}),iO="data:image/svg+xml,%3csvg%20width='37'%20height='36'%20viewBox='0%200%2037%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6797%2030.6797H16.7538C16.4842%2030.6797%2016.2661%2030.8978%2016.2661%2031.1673V31.655C16.2661%2032.7308%2017.141%2033.6056%2018.2168%2033.6056C19.2925%2033.6056%2020.1674%2032.7308%2020.1674%2031.655V31.1673C20.1674%2030.8978%2019.9493%2030.6797%2019.6797%2030.6797Z'%20fill='%23868491'/%3e%3cpath%20d='M18.2163%2030.6797H16.7538C16.4842%2030.6797%2016.2661%2030.8978%2016.2661%2031.1673V31.655C16.2661%2032.7307%2017.1407%2033.6053%2018.2163%2033.6056V30.6797Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M25.8957%205.43603C23.6164%203.29393%2020.631%202.22101%2017.4998%202.41742C11.7935%202.7725%207.18363%207.53242%207.00551%2013.2541C6.87409%2017.4935%209.10093%2021.3967%2012.8174%2023.4411C13.7413%2023.9497%2014.3152%2024.9265%2014.3152%2025.9908V29.704C14.3152%2030.7798%2015.19%2031.6547%2016.2658%2031.6547H20.1671C21.2429%2031.6547%2022.1177%2030.7798%2022.1177%2029.704V25.9908C22.1177%2024.9274%2022.6959%2023.9483%2023.6274%2023.4349C27.2082%2021.4595%2029.4326%2017.6954%2029.4326%2013.6112C29.4326%2010.5281%2028.1435%207.54833%2025.8957%205.43603Z'%20fill='%23FFD93C'/%3e%3cpath%20d='M18.2172%2022.9604C23.3799%2022.9604%2027.5651%2018.7752%2027.5651%2013.6125C27.5651%208.44982%2023.3799%204.26465%2018.2172%204.26465C13.0546%204.26465%208.86938%208.44982%208.86938%2013.6125C8.86938%2018.7752%2013.0546%2022.9604%2018.2172%2022.9604Z'%20fill='%23FFE980'/%3e%3cpath%20d='M19.922%2016.5376C19.2738%2016.5376%2018.9424%2016.1594%2018.701%2015.8837C18.4881%2015.6408%2018.4033%2015.5622%2018.2133%2015.5622C18.0242%2015.5622%2017.94%2015.6408%2017.728%2015.8832C17.5004%2016.1437%2017.156%2016.5376%2016.5079%2016.5376C15.8602%2016.5376%2015.5159%2016.1437%2015.2883%2015.8832C15.0763%2015.6408%2014.9921%2015.5622%2014.803%2015.5622C14.5334%2015.5622%2014.3153%2015.3441%2014.3153%2015.0746C14.3153%2014.805%2014.5334%2014.5869%2014.803%2014.5869C15.4506%2014.5869%2015.7949%2014.9808%2016.0226%2015.2412C16.2346%2015.4837%2016.3188%2015.5622%2016.5079%2015.5622C16.697%2015.5622%2016.7817%2015.4837%2016.9937%2015.2412C17.2213%2014.9808%2017.5656%2014.5869%2018.2133%2014.5869C18.8615%2014.5869%2019.1929%2014.965%2019.4343%2015.2408C19.6472%2015.4837%2019.732%2015.5622%2019.922%2015.5622C20.1115%2015.5622%2020.1963%2015.4837%2020.4092%2015.2412C20.6373%2014.9808%2020.9816%2014.5869%2021.6302%2014.5869C21.8998%2014.5869%2022.1179%2014.805%2022.1179%2015.0746C22.1179%2015.3441%2021.8998%2015.5622%2021.6302%2015.5622C21.4402%2015.5622%2021.3554%2015.6408%2021.1425%2015.8837C20.9144%2016.1442%2020.5702%2016.5376%2019.922%2016.5376Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M16.7533%2025.8024C16.529%2025.8024%2016.3271%2025.6466%2016.277%2025.4185L13.8387%2014.2023C13.7815%2013.939%2013.9488%2013.6794%2014.2116%2013.6218C14.4764%2013.5637%2014.7345%2013.7319%2014.7921%2013.9947L17.2304%2025.2109C17.2876%2025.4742%2017.1204%2025.7338%2016.8575%2025.7914C16.8224%2025.7991%2016.7875%2025.8024%2016.7533%2025.8024Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M19.6802%2025.8022C19.6458%2025.8022%2019.6111%2025.7989%2019.5759%2025.7913C19.313%2025.7337%2019.1458%2025.4741%2019.203%2025.2108L21.6413%2013.9946C21.6989%2013.7317%2021.9561%2013.564%2022.2218%2013.6217C22.4847%2013.6793%2022.6518%2013.9389%2022.5947%2014.2022L20.1564%2025.4184C20.1064%2025.6466%2019.9045%2025.8022%2019.6802%2025.8022Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M14.2314%2025.3164C14.2833%2025.5354%2014.3152%2025.761%2014.3152%2025.9922V29.7053C14.3152%2030.7811%2015.1901%2031.656%2016.2658%2031.656H20.1671C21.2429%2031.656%2022.1178%2030.7811%2022.1178%2029.7053V25.9922C22.1178%2025.7612%2022.1499%2025.5355%2022.2021%2025.3164H14.2314Z'%20fill='%23B4B6BC'/%3e%3cpath%20d='M18.2162%2025.3164H14.2314C14.2833%2025.5354%2014.3152%2025.761%2014.3152%2025.9922V29.7053C14.3152%2030.7811%2015.1901%2031.656%2016.2658%2031.656H18.2162V25.3164Z'%20fill='%23B4B6BC'/%3e%3cpath%20d='M22.1175%2026.7773H18.2162V27.7527H22.1175V26.7773Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M22.1177%2028.7285H18.2164V29.7038H22.1177V28.7285Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M18.2162%2026.7773H14.3149V27.7527H18.2162V26.7773Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M18.2162%2028.7285H14.3149V29.7038H18.2162V28.7285Z'%20fill='%239A9A9A'/%3e%3c/svg%3e",sO=A=>c.jsx(iO,{...A}),lO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.8283%206C16.5981%204.66667%2018.5226%204.66667%2019.2924%206L31.8498%2027.75C32.6196%2029.0833%2031.6573%2030.75%2030.1177%2030.75H5.00298C3.46338%2030.75%202.50113%2029.0833%203.27093%2027.75L15.8283%206Z'%20fill='url(%23paint0_linear_11265_27105)'/%3e%3cpath%20d='M15.8278%206C16.5976%204.66667%2018.5229%204.66667%2019.2927%206L31.8493%2027.75C32.595%2029.0416%2031.7158%2030.646%2030.2605%2030.7451L30.1179%2030.75V29.75C30.8875%2029.7498%2031.3687%2028.9166%2030.9841%2028.25L18.4265%206.5C18.0657%205.87505%2017.1975%205.83607%2016.7731%206.38281L16.694%206.5L4.13643%2028.25C3.75177%2028.9166%204.23306%2029.7498%205.00264%2029.75V30.75L4.86006%2030.7451C3.4517%2030.6492%202.5826%2029.1436%203.20381%2027.876L3.2712%2027.75L15.8278%206ZM30.1179%2029.75V30.75H5.00264V29.75H30.1179Z'%20fill='%23FFD93C'/%3e%3cpath%20d='M18.9476%2012.0938L18.7226%2022.572H16.5272L16.309%2012.0938H18.9476ZM17.6249%2027.0938C17.2112%2027.0938%2016.8567%2026.9392%2016.5612%2026.63C16.2703%2026.3208%2016.1249%2025.944%2016.1249%2025.4995C16.1249%2025.0648%2016.2703%2024.6928%2016.5612%2024.3836C16.8567%2024.0744%2017.2112%2023.9198%2017.6249%2023.9198C18.0294%2023.9198%2018.3794%2024.0744%2018.6749%2024.3836C18.9749%2024.6928%2019.1249%2025.0648%2019.1249%2025.4995C19.1249%2025.7942%2019.0544%2026.0623%2018.9135%2026.3039C18.7772%2026.5454%2018.5953%2026.7387%2018.3681%2026.8836C18.1453%2027.0237%2017.8976%2027.0938%2017.6249%2027.0938Z'%20fill='black'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11265_27105'%20x1='17.5604'%20y1='3'%20x2='17.5604'%20y2='40'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFE980'/%3e%3cstop%20offset='0.932692'%20stop-color='%23FFD93C'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",cO=A=>c.jsx(lO,{...A}),gO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%206C11.3831%206%206%2011.3832%206%2018C6%2024.6168%2011.3831%2030%2018%2030C24.6169%2030%2030%2024.6168%2030%2018C30%2011.3832%2024.6169%206%2018%206ZM18%208.32256C20.2505%208.32256%2022.324%209.09473%2023.9696%2010.3881L10.3881%2023.9696C9.09478%2022.324%208.32256%2020.2505%208.32256%2018C8.32256%2012.6639%2012.6639%208.32256%2018%208.32256ZM18%2027.6774C15.7495%2027.6774%2013.676%2026.9053%2012.0304%2025.6119L25.6119%2012.0304C26.9053%2013.676%2027.6774%2015.7495%2027.6774%2018C27.6774%2023.3361%2023.3361%2027.6774%2018%2027.6774Z'%20fill='url(%23paint0_linear_11264_27095)'/%3e%3cpath%20d='M29.9167%2018C29.9167%2011.4292%2024.5709%206.08333%2018%206.08333C11.4291%206.08333%206.08333%2011.4292%206.08333%2018C6.08333%2024.5708%2011.4291%2029.9167%2018%2029.9167C24.5709%2029.9167%2029.9167%2024.5708%2029.9167%2018ZM26.527%2018C26.527%2016.4591%2026.1141%2015.0148%2025.3961%2013.7661L13.7661%2025.3961C15.0148%2026.1141%2016.4591%2026.527%2018%2026.527V27.6104L17.5832%2027.6008C15.5096%2027.5119%2013.6043%2026.763%2012.0723%2025.559L25.559%2012.0723C26.8433%2013.7064%2027.6104%2015.7652%2027.6104%2018L27.5977%2018.4941C27.3396%2023.5644%2023.1334%2027.6104%2018%2027.6104V26.527C22.7007%2026.527%2026.527%2022.7007%2026.527%2018ZM18.4168%208.39917C20.4904%208.4881%2022.3957%209.23699%2023.9277%2010.441L10.441%2023.9277C9.23704%2022.3957%208.4881%2020.4904%208.39917%2018.4168L8.38965%2018C8.38965%2012.7009%2012.7009%208.38965%2018%208.38965L18.4168%208.39917ZM9.47298%2018C9.47298%2019.5404%209.88531%2020.9844%2010.6029%2022.2328L22.2328%2010.6029C20.9844%209.8853%2019.5404%209.47298%2018%209.47298C13.2993%209.47298%209.47298%2013.2993%209.47298%2018ZM31%2018C31%2025.1691%2025.1692%2031%2018%2031C10.8308%2031%205%2025.1691%205%2018C5%2010.8309%2010.8308%205%2018%205C25.1692%205%2031%2010.8309%2031%2018Z'%20fill='url(%23paint1_linear_11264_27095)'/%3e%3cpath%20d='M31%2018C31%2010.9428%2025.35%205.18214%2018.335%205.00391L18%205C10.8308%205%205%2010.8309%205%2018L5.00391%2018.335C5.17931%2025.2386%2010.7613%2030.8207%2017.665%2030.9961L18%2031C25.0573%2031%2030.8179%2025.3499%2030.9961%2018.335L31%2018ZM29.6162%2018C29.6162%2011.5949%2024.4052%206.38379%2018%206.38379C11.5948%206.38379%206.38379%2011.5949%206.38379%2018C6.38379%2024.4051%2011.5948%2029.6162%2018%2029.6162V29.917L17.6934%2029.9131C11.3655%2029.7525%206.24754%2024.6344%206.08691%2018.3066L6.08301%2018C6.08301%2011.4292%2011.4291%206.08301%2018%206.08301L18.3066%206.08691C24.7364%206.25013%2029.917%2011.5317%2029.917%2018L29.9131%2018.3066C29.7499%2024.7363%2024.4684%2029.917%2018%2029.917V29.6162C24.4052%2029.6162%2029.6162%2024.4051%2029.6162%2018ZM25.7949%2011.8867C27.1191%2013.5716%2027.9102%2015.6954%2027.9102%2018V18.0078L27.8975%2018.502V18.5098C27.6311%2023.7386%2023.2939%2027.9102%2018%2027.9102H17.9932L17.5762%2027.9004H17.5703C15.4317%2027.8087%2013.4663%2027.0363%2011.8867%2025.7949L11.6211%2025.5859L25.5859%2011.6211L25.7949%2011.8867ZM12.0723%2025.5586C13.6042%2026.7626%2015.5095%2027.5116%2017.583%2027.6006L18%2027.6104C22.9728%2027.6104%2027.0751%2023.8136%2027.5615%2018.9668L27.5977%2018.4941L27.6104%2018C27.6104%2015.7652%2026.8429%2013.7063%2025.5586%2012.0723L12.0723%2025.5586ZM26.2266%2018C26.2266%2016.6539%2025.8993%2015.3851%2025.3232%2014.2627L14.2627%2025.3232C15.3851%2025.8993%2016.6539%2026.2266%2018%2026.2266C22.5351%2026.2266%2026.2266%2022.5351%2026.2266%2018ZM18.0068%208.08984L18.4238%208.09961H18.4297L18.8281%208.125C20.8122%208.28992%2022.6323%209.04117%2024.1133%2010.2051L24.3789%2010.4141L10.4141%2024.3789L10.2051%2024.1133C8.96372%2022.5337%208.19133%2020.5683%208.09961%2018.4297V18.4238L8.08984%2018.0068V18L8.10254%2017.4912C8.36824%2012.262%2012.7059%208.08984%2018%208.08984H18.0068ZM18%208.38965C12.7009%208.38965%208.38965%2012.7009%208.38965%2018L8.39941%2018.417C8.48838%2020.4905%209.23748%2022.3958%2010.4414%2023.9277L23.9277%2010.4414C22.3958%209.23743%2020.4905%208.48838%2018.417%208.39941L18%208.38965ZM18.2881%209.47754C19.7202%209.52552%2021.0622%209.93004%2022.2324%2010.6025L10.6025%2022.2324C9.93005%2021.0622%209.52552%2019.7202%209.47754%2018.2881L9.47266%2018C9.47266%2013.2993%2013.2993%209.47266%2018%209.47266L18.2881%209.47754ZM9.77344%2018C9.77344%2019.3452%2010.0995%2020.6135%2010.6748%2021.7354L21.7354%2010.6748C20.6135%2010.0995%2019.3452%209.77344%2018%209.77344C13.4649%209.77344%209.77344%2013.4649%209.77344%2018ZM26.5156%2018.4385C26.2865%2022.9364%2022.5537%2026.5273%2018%2026.5273C16.4593%2026.5273%2015.0152%2026.1143%2013.7666%2025.3965L25.3965%2013.7666C26.1143%2015.0152%2026.5273%2016.4593%2026.5273%2018L26.5156%2018.4385ZM31.2998%2018C31.2998%2025.3348%2025.3349%2031.2998%2018%2031.2998C10.6651%2031.2998%204.7002%2025.3348%204.7002%2018C4.7002%2010.6652%2010.6651%204.7002%2018%204.7002C25.3349%204.7002%2031.2998%2010.6652%2031.2998%2018Z'%20fill='url(%23paint2_linear_11264_27095)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11264_27095'%20x1='18'%20y1='6'%20x2='18'%20y2='30'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ED5A3B'/%3e%3cstop%20offset='1'%20stop-color='%23AF3117'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_11264_27095'%20x1='18'%20y1='5'%20x2='18'%20y2='31'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EC5A3A'/%3e%3cstop%20offset='1'%20stop-color='%23AF3117'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_11264_27095'%20x1='18'%20y1='5'%20x2='18'%20y2='31'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EB5A39'/%3e%3cstop%20offset='1'%20stop-color='%23B03117'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",uO=A=>c.jsx(gO,{...A}),dO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%205.15039H28C28.4694%205.15039%2028.8496%205.53056%2028.8496%206V26.6445C28.8496%2026.8769%2028.755%2027.0994%2028.5869%2027.2598L24.0205%2031.6152C23.8625%2031.766%2023.652%2031.8496%2023.4336%2031.8496H7C6.53056%2031.8496%206.15039%2031.4694%206.15039%2031V6C6.15039%205.53056%206.53056%205.15039%207%205.15039Z'%20fill='%23FEFEFE'%20stroke='%23666666'%20stroke-width='0.3'/%3e%3cpath%20d='M26.0982%2012.5596H8.58191V13.083H26.0982V12.5596Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2015.3857H8.58191V15.9092H26.0982V15.3857Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2018.2109H8.58191V18.7344H26.0982V18.2109Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2021.0039H8.58191V21.5273H26.0982V21.0039Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2023.8291H8.58191V24.3525H26.0982V23.8291Z'%20fill='%23666666'/%3e%3cpath%20d='M16.8516%2027.0947H8.58191V27.6181H16.8516V27.0947Z'%20fill='%23666666'/%3e%3cpath%20d='M23.9056%2032.3591L29%2027.2646H23.9056V32.3591Z'%20fill='%23F4F2F2'/%3e%3cpath%20d='M21%209H14V10H21V9Z'%20fill='%23535353'/%3e%3cpath%20d='M23.9339%2014.783L22.4576%2013.9355L21.6053%2015.4034L23.0816%2016.2508L23.9339%2014.783Z'%20fill='%23E0E1E2'/%3e%3cpath%20d='M25.6385%2011.8475L24.8948%2011.4206C24.7937%2011.3625%2024.6837%2011.3307%2024.5715%2011.3222C24.5154%2011.318%2024.4589%2011.3196%2024.4026%2011.3276C24.1208%2011.3654%2023.8457%2011.5452%2023.6789%2011.8325L22.4576%2013.9357L23.9339%2014.7831L25.6385%2011.8475Z'%20fill='%23E85738'/%3e%3cpath%20d='M24.9268%2017.3103L23.0815%2016.251L18.1808%2024.6911L20.0261%2025.7504L24.9268%2017.3103Z'%20fill='%23F2C91D'/%3e%3cpath%20d='M25.7791%2015.8425L23.9338%2014.7832L23.0815%2016.251L24.9268%2017.3104L25.7791%2015.8425Z'%20fill='%23C4C4C4'/%3e%3cpath%20d='M25.7791%2015.8427L27.0003%2013.7395C27.1671%2013.4522%2027.1541%2013.107%2026.9975%2012.8174C26.9664%2012.7598%2026.9289%2012.7036%2026.8866%2012.6514C26.8012%2012.5465%2026.6944%2012.4539%2026.568%2012.3813L25.6384%2011.8477L23.9338%2014.7833L25.7791%2015.8427Z'%20fill='%23B13218'/%3e%3cpath%20d='M20.0261%2025.7505L16.7046%2023.8438L16.6607%2027.7328L20.0261%2025.7505Z'%20fill='%23FDEDD9'/%3e%3cpath%20d='M17.8536%2026.95L16.7465%2026.3145L16.6608%2027.7331L17.8536%2026.95Z'%20fill='%234C4C4C'/%3e%3cpath%20d='M23.0816%2016.2508L21.6053%2015.4033L16.7046%2023.8434L18.1808%2024.6909L23.0816%2016.2508Z'%20fill='%23FFD93C'/%3e%3c/svg%3e",BO=A=>c.jsx(dO,{...A}),pO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.29297%205.15039H30.6719C31.2902%205.15044%2031.7575%205.5568%2031.8389%206.09961L31.8496%206.20215V24.1748C31.8496%2024.7617%2031.3364%2025.2273%2030.707%2025.2275H14.5459L14.5068%2025.2539L6.49219%2030.7158V25.2275H5.29297C4.63423%2025.2273%204.15039%2024.7343%204.15039%2024.1748V6.20215C4.15058%205.61545%204.66376%205.15058%205.29297%205.15039Z'%20fill='url(%23paint0_linear_11266_27250)'%20stroke='%23666666'%20stroke-width='0.3'/%3e%3cpath%20d='M25.6739%2012.3672H11V12.8057H25.6739V12.3672Z'%20fill='%23666666'/%3e%3cpath%20d='M25.6739%2014.7344H11V15.1729H25.6739V14.7344Z'%20fill='%23666666'/%3e%3cpath%20d='M25.6739%2017.0742H11V17.5127H25.6739V17.0742Z'%20fill='%23666666'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11266_27250'%20x1='16.7273'%20y1='21.25'%20x2='12.1155'%20y2='30.9251'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FEFEFE'/%3e%3cstop%20offset='1'%20stop-color='%23E0E0E0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",CO=A=>c.jsx(pO,{...A});function mO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"1.5",y1:"5.5",x2:"14.5",y2:"5.5"}),c.jsx("line",{x1:"1.5",y1:"9.5",x2:"14.5",y2:"9.5"}),c.jsx("line",{x1:"19",y1:"6",x2:"19",y2:"10"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}function hO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"1.5",y1:"5.5",x2:"14.5",y2:"5.5"}),c.jsx("line",{x1:"1.5",y1:"9.5",x2:"14.5",y2:"9.5"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}function QO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",width:"24",height:"16",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"5.5",y1:"3.5",x2:"5.5",y2:"11.5"}),c.jsx("line",{x1:"9",y1:"3.5",x2:"9",y2:"11.5"}),c.jsx("line",{x1:"19",y1:"6.5",x2:"19",y2:"9.5"}),c.jsx("line",{x1:"17.5",y1:"8",x2:"20.5",y2:"8"})]})}function EO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",width:"24",height:"16",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"5.5",y1:"3.5",x2:"5.5",y2:"11.5"}),c.jsx("line",{x1:"9",y1:"3.5",x2:"9",y2:"11.5"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}const Rc=new Map;function nA(A,e){typeof A=="object"?A.forEach(t=>{Rc.set(t,{renderer:e})}):Rc.set(A.toLowerCase(),{renderer:e})}nA("assign",A=>c.jsx(hQ,{...A})),nA("arrowup",A=>c.jsx(UP,{...A})),nA("arrowleft",A=>c.jsx(OP,{...A})),nA("arrowright",A=>c.jsx(RP,{...A})),nA("pause",A=>c.jsx(jP,{...A})),nA("play",A=>c.jsx(_P,{...A})),nA("date",A=>c.jsx(xG,{...A})),nA("hamburger",A=>c.jsx(DS,{...A})),nA("send",A=>c.jsx(xS,{...A})),nA("users",A=>c.jsx(QM,{...A})),nA("refresh",A=>c.jsx(uM,{...A})),nA("chevrondown",A=>c.jsx(Z8,{...A})),nA("chevronup",A=>c.jsx(X8,{...A})),nA("chevronright",A=>c.jsx(UG,{...A})),nA("chevronleft",A=>c.jsx(RG,{...A})),nA("dotmenu",A=>c.jsx(e3,{...A})),nA("dotmenuhorizontal",A=>c.jsx(A3,{...A})),nA("noresult",A=>c.jsx(BM,{...A})),nA("crm",A=>c.jsx(Tb,{...A})),nA("chat",A=>c.jsx(Tb,{...A})),nA("pencil",A=>c.jsx(oG,{...A})),nA("cube",A=>c.jsx(AG,{...A})),nA("apps",A=>c.jsx(CQ,{...A})),nA("permissions",A=>c.jsx(sM,{...A})),nA("close",A=>c.jsx(EM,{...A})),nA("star",A=>c.jsx(pM,{...A})),nA("help",A=>c.jsx(aM,{...A})),nA("compactlist",A=>c.jsx(WG,{...A})),nA("copy",A=>c.jsx(JG,{...A})),nA("move",A=>c.jsx(tM,{...A})),nA("rename",A=>c.jsx(cG,{...A})),nA("hyperlink",A=>c.jsx(B3,{...A})),nA("globe",A=>c.jsx(u3,{...A})),nA("link",A=>c.jsx(h3,{...A})),nA("looseList",A=>c.jsx(E3,{...A})),nA("options",A=>c.jsx(I3,{...A})),nA("search",A=>c.jsx(k3,{...A})),nA("filter",A=>c.jsx(l3,{...A})),nA("trash",A=>c.jsx(M3,{...A})),nA("pen",A=>c.jsx(b3,{...A})),nA("email",A=>c.jsx(t3,{...A})),nA("phone",A=>c.jsx(D3,{...A})),nA("home",A=>c.jsx(d3,{...A})),nA("user",A=>c.jsx(O3,{...A})),nA("exit",A=>c.jsx(QG,{...A})),nA("adduser",A=>c.jsx(hM,{...A})),nA("userminus",A=>c.jsx(mM,{...A})),nA("plus",A=>c.jsx(x3,{...A})),nA("inspect",A=>c.jsx(Z3,{...A})),nA("plus-circle",A=>c.jsx(vS,{...A})),nA("filledplus",A=>c.jsx(i3,{...A})),nA("darktolight",A=>c.jsx(aO,{...A})),nA("lighttodark",A=>c.jsx(rO,{...A})),nA("checkmark",A=>c.jsx(OG,{...A})),nA("valid",A=>c.jsx(q8,{...A})),nA("info",A=>c.jsx(z8,{...A})),nA("error",A=>c.jsx(fh,{...A})),nA("warning",A=>c.jsx(wh,{...A})),nA("board",A=>c.jsx(FG,{...A})),nA("list",A=>c.jsx(Q3,{...A})),nA("folder",A=>c.jsx(g3,{...A})),nA("folder-outline",A=>c.jsx(rM,{...A})),nA("emptyfolder",A=>c.jsx(r3,{...A})),nA("pdf",A=>c.jsx(f3,{...A})),nA("txt",A=>c.jsx(T3,{...A})),nA("doc",A=>c.jsx(Fb,{...A})),nA("docx",A=>c.jsx(Fb,{...A})),nA("doc-outline",A=>c.jsx(ZG,{...A})),nA("conf",A=>c.jsx(qP,{...A})),nA("code",A=>c.jsx(YG,{...A})),nA("codesandbox",A=>c.jsx(_G,{...A})),nA("box",A=>c.jsx(GG,{...A})),nA(["xls","xlsx"],A=>c.jsx(U3,{...A})),nA(["jpg","jpeg","png","webp","svg","gif","tif","ppt","pptx"],A=>c.jsx(C3,{...A})),nA("unknownfile",A=>c.jsx(F3,{...A})),nA("photo",A=>c.jsx(y3,{...A})),nA("previous",A=>c.jsx(XP,{...A})),nA("next",A=>c.jsx(ZP,{...A})),nA("like",A=>c.jsx(bS,{...A})),nA("reply",A=>c.jsx(WP,{...A})),nA("attach",A=>c.jsx(MG,{...A})),nA("attach2",A=>c.jsx(BG,{...A})),nA("emoji",A=>c.jsx(VP,{...A})),nA("message",A=>c.jsx(uG,{...A})),nA("upload",A=>c.jsx(CM,{...A})),nA("split-vertical",A=>c.jsx(hG,{...A})),nA("split-horizontal",A=>c.jsx(mG,{...A})),nA("swap",A=>c.jsx(rG,{...A})),nA("download",A=>c.jsx(oM,{...A})),nA("note",A=>c.jsx(dG,{...A})),nA("binding",A=>c.jsx(NG,{...A})),nA("database",A=>c.jsx(qG,{...A})),nA("unlink",A=>c.jsx(G3,{...A})),nA("api",A=>c.jsx(HG,{...A})),nA("expression",A=>c.jsx(a3,{...A})),nA("chat",A=>c.jsx(KP,{...A})),nA("hash",A=>c.jsx(YP,{...A})),nA("drive",A=>c.jsx(nM,{...A})),nA("lock",A=>c.jsx(lM,{...A})),nA("start",A=>c.jsx(pG,{...A})),nA("stop",A=>c.jsx(CG,{...A})),nA("restart",A=>c.jsx(fG,{...A})),nA("duplicate",A=>c.jsx(DG,{...A})),nA("connect",A=>c.jsx(EG,{...A})),nA("cog",A=>c.jsx(bG,{...A})),nA("sun",A=>c.jsx(IG,{...A})),nA("moon",A=>c.jsx(AO,{...A})),nA("stars",A=>c.jsx(tO,{...A})),nA("share",A=>c.jsx(S3,{...A})),nA("new-window",A=>c.jsx(Nb,{...A})),nA("paint",A=>c.jsx(wG,{...A})),nA("palette",A=>c.jsx(gG,{...A})),nA("trending-up",A=>c.jsx(Y3,{...A})),nA("trending-down",A=>c.jsx(_3,{...A})),nA("trending-level",A=>c.jsx(q3,{...A})),nA("sortasc",A=>c.jsx(W3,{...A})),nA("sortdesc",A=>c.jsx(J3,{...A})),nA("nosort",A=>c.jsx($3,{...A})),nA("admonition_info",A=>c.jsx(sO,{...A})),nA("admonition_warning",A=>c.jsx(cO,{...A})),nA("admonition_danger",A=>c.jsx(uO,{...A})),nA("admonition_note",A=>c.jsx(BO,{...A})),nA("admonition_tip",A=>c.jsx(CO,{...A})),nA("arrowdown",A=>c.jsx(GP,{...A})),nA("square",A=>c.jsx(zP,{...A})),nA("squarehalf",A=>c.jsx($P,{...A})),nA("squarefill",A=>c.jsx(JP,{...A})),nA("table-insert-row",A=>c.jsx(mO,{...A})),nA("table-delete-row",A=>c.jsx(hO,{...A})),nA("table-insert-column",A=>c.jsx(QO,{...A})),nA("table-delete-column",A=>c.jsx(EO,{...A}));function IO({children:A}){const e=d.useCallback(()=>Array.from(Rc.keys()),[]),t=d.useCallback(l=>Rc.get(l),[]),[o,r]=d.useState({}),n=d.useRef({}),a=d.useRef(null),i=d.useCallback(async l=>{if(n.current[l])return;const g=await(await fetch(l)).text(),u=document.createElement("div");u.style.display="none",u.innerHTML=g;const p={};for(let m=0;m<u.children[0].attributes.length;m++){const h=u.children[0].attributes[m];h.nodeName!=="class"&&(p[h.nodeName]=h.nodeValue)}Object.keys(p).forEach(m=>{u.children[0].removeAttribute(m)});const B=document.createElementNS("http://www.w3.org/2000/svg","symbol");B.innerHTML=u.children[0].innerHTML,B.id=l,B.setAttributeNS(null,"viewBox",p.viewBox),n.current[l]||(a.current.appendChild(B),n.current[l]=!0);const C={name:l,attributes:p};r(m=>({...m,[l]:C}))},[]),s=d.useMemo(()=>({getRegisteredIconNames:e,lookupIconRenderer:t,ensureCustomSvgIcon:i,customSvgs:o}),[o,i,e,t]);return c.jsxs(hp.Provider,{value:s,children:[A,c.jsx("svg",{style:{display:"none"},ref:a})]})}const wO="0.9.74",Pb={capitalize:hA.capitalize,pluralize:Mx,defaultTo:hA.defaultTo,toHashObject:Lx,findByField:Tx,distinct:Nx};function fO(A){return(A?new Date(A):new Date).toJSON()}function Gb(A){return new Date(A).toLocaleDateString()}function bO(A){return new Date(A).toLocaleString()}function DO(A){return new Date(A).toLocaleTimeString()}function vO(A){return se.format(new Date(A),"H:m")}function yO(A){return new Date(A).toLocaleDateString([],{month:"numeric",day:"2-digit"})}function Ob(A){return A?new Date(A):new Date}function xO(A,e,t){return A?fx(A,e,t):"-"}function kO(A){return A?se.isToday(new Date(A))?new Date(A).toLocaleTimeString():se.isThisWeek(new Date(A))?`${se.formatRelative(new Date(A),new Date)}`:new Date(A).toLocaleString():"-"}function HO(A){return A?se.isToday(new Date(A))?"Today":se.isYesterday(new Date(A))?"Yesterday":new Date(A).toLocaleDateString():"-"}function SO(A){return se.isToday(new Date(A))}function MO(A){return se.isYesterday(new Date(A))}function LO(A){return se.isTomorrow(new Date(A))}function TO(A,e=!1){const t=new Date,o=new Date(A),r=t.getTime()-o.getTime();if(r<0)return Gb(A);const n=Math.floor(r/1e3),a=Math.floor(n/60),i=Math.floor(a/60),s=Math.floor(i/24),l=Math.floor(s/7),g=Math.floor(s/30),u=Math.floor(s/365),p={second:{singular:e?"s":"second",plural:e?"s":"seconds"},minute:{singular:e?"min":"minute",plural:e?"min":"minutes"},hour:{singular:e?"hr":"hour",plural:e?"hrs":"hours"},day:{singular:e?"d":"day",plural:e?"d":"days"},week:{singular:e?"wk":"week",plural:e?"wks":"weeks"},month:{singular:e?"mo":"month",plural:e?"mos":"months"},year:{singular:e?"y":"year",plural:e?"yrs":"years"}};if(n<10)return"now";if(n<60){const C=n===1?p.second.singular:p.second.plural;return`${n} ${C} ago`}if(a<60){const C=a===1?p.minute.singular:p.minute.plural;return`${a} ${C} ago`}if(se.isToday(o)){const C=i===1?p.hour.singular:p.hour.plural;return`${i} ${C} ago`}if(se.isYesterday(o))return"yesterday";if(s<7){const C=s===1?p.day.singular:p.day.plural;return`${s} ${C} ago`}if(l<4){const C=l===1?p.week.singular:p.week.plural;return`${l} ${C} ago`}if(g<12){const C=g===1?p.month.singular:p.month.plural;return`${g} ${C} ago`}const B=u===1?p.year.singular:p.year.plural;return`${u} ${B} ago`}const Rb={isoDateString:fO,formatDate:Gb,formatDateTime:bO,formatTime:DO,formatTimeWithoutSeconds:vO,formatDateWithoutYear:yO,getDate:Ob,getDateUntilNow:xO,smartFormatDateTime:kO,smartFormatDate:HO,isToday:SO,isYesterday:MO,isTomorrow:LO,differenceInMinutes:se.differenceInMinutes,isSameDay:se.isSameDay,isThisYear:se.isThisYear,formatHumanElapsedTime:TO};function NO(A,e){if(A.length===0)return 0;const o=Ub(A)/A.length;return e?Number(o.toFixed(e)):o}function Ub(A){return A.reduce((e,t)=>e+t,0)}const FO={avg:NO,sum:Ub};var _e=(A=>(A.LOADER_LOADED="ContainerActionKind:LOADER_LOADED",A.LOADER_IN_PROGRESS_CHANGED="ContainerActionKind:LOADER_IN_PROGRESS_CHANGED",A.LOADER_IS_REFETCHING_CHANGED="ContainerActionKind:LOADER_IS_REFETCHING_CHANGED",A.LOADER_ERROR="ContainerActionKind:LOADER_ERROR",A.EVENT_HANDLER_STARTED="ContainerActionKind:EVENT_HANDLER_STARTED",A.EVENT_HANDLER_COMPLETED="ContainerActionKind:EVENT_HANDLER_COMPLETED",A.EVENT_HANDLER_ERROR="ContainerActionKind:EVENT_HANDLER_ERROR",A.COMPONENT_STATE_CHANGED="ContainerActionKind:COMPONENT_STATE_CHANGED",A.STATE_PART_CHANGED="ContainerActionKind:STATE_PART_CHANGED",A))(_e||{});function PO(A={}){const e=Object.keys(A);function t(r,n=new Set){if(!e.includes(r))return[r];n.add(r);const a=[];return A[r].forEach(i=>{n.has(i)||(n.add(i),a.push(...t(i,n)))}),a}const o={};return e.forEach(r=>{o[r]=[...new Set(t(r))]}),o}const GO=100;function OO(A){const e=A.collectStateTransitions;let t,o;return Qe((r,n)=>{const{uid:a}=n.payload;if(a===void 0&&n.type!==_e.STATE_PART_CHANGED)return console.error("uid not provided for control component",{state:r,action:n}),r;if(e)try{t=hA.cloneDeep(r[a])}catch(s){console.error("Error while cloning previous value",s)}switch(n.type){case _e.LOADER_IN_PROGRESS_CHANGED:{r[a]={...r[a],inProgress:n.payload.inProgress},i(r[a]);break}case _e.LOADER_IS_REFETCHING_CHANGED:{r[a]={...r[a],isRefetching:n.payload.isRefetching},i(r[a]);break}case _e.LOADER_LOADED:{const{data:s,pageInfo:l}=n.payload;r[a]={value:s,byId:Array.isArray(s)?hA.keyBy(s,g=>g.$id):void 0,inProgress:!1,loaded:s!==void 0,pageInfo:l},i(r[a]);break}case _e.LOADER_ERROR:{const{error:s}=n.payload;r[a]={...r[a],error:s,inProgress:!1,loaded:!0},i(r[a]);break}case _e.EVENT_HANDLER_STARTED:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!0},i(r[a]);break}case _e.EVENT_HANDLER_COMPLETED:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!1},i(r[a]);break}case _e.EVENT_HANDLER_ERROR:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!1},i(r[a]);break}case _e.COMPONENT_STATE_CHANGED:{const{state:s}=n.payload;r[a]={...r[a],...s},i(r[a]);break}case _e.STATE_PART_CHANGED:{const{path:s,value:l,target:g,actionType:u,localVars:p}=n.payload;if(u==="unset")hA.unset(r,s);else{let B=p;hA.setWith(r,s,l,(C,m,h)=>{if(B=B==null?void 0:B[m],C===void 0&&B===void 0&&hA.isPlainObject(g))return Object(C)}),i(r)}break}default:throw new Error}if(e){const s={action:n.type,uid:a,prevState:t,nextState:o};A.stateTransitions&&(A.stateTransitions.length>=GO&&A.stateTransitions.shift(),A.stateTransitions.push(s))}function i(s){if(e)try{o=hA.cloneDeep(s)}catch(l){console.error("Error while cloning next value",l)}}})}function Kb(A,e,t=[]){const o=n=>t.concat(n).join("."),r=new WeakMap;return new Proxy(A,{get:function(n,a,i){const s=Reflect.get(n,a,i);return s&&!s._ARROW_EXPR_&&!Object.isFrozen(s)&&typeof s=="object"&&["Array","Object"].includes(s.constructor.name)?(r.has(s)||r.set(s,Kb(s,e,t.concat(a))),r.get(s)):s},set:function(n,a,i,s){return e({action:"set",path:o(a),pathArray:t.concat(a),target:n,newValue:i,previousValue:Reflect.get(n,a,s)}),Reflect.set(n,a,i,s)},deleteProperty:function(n,a){return e({action:"unset",path:o(a),pathArray:t.concat(a),target:n}),Reflect.deleteProperty(n,a)}})}function RO(A,e,t){const o=Yr.get(A);return o?(e.unshift(t),o):A}const Yr=new Map;Yr.set(Array.prototype.filter,KO),Yr.set(Array.prototype.forEach,YO),Yr.set(Array.prototype.map,jO),Yr.set(Array.prototype.every,_O),Yr.set(Array.prototype.findIndex,JO),Yr.set(Array.prototype.find,WO),Yr.set(Array.prototype.flatMap,$O),Yr.set(Array.prototype.some,UO);async function UO(A,e){const t=await Promise.all(A.map(e));return A.some((o,r)=>t[r])}async function KO(A,e){const t=await Promise.all(A.map(e));return A.filter((o,r)=>t[r])}async function YO(A,e){for(let t=0;t<A.length;t++)await e(A[t],t,A)}async function jO(A,e){const t=[];for(let o=0;o<A.length;o++)t.push(await e(A[o],o,A));return t}async function _O(A,e){const t=await Promise.all(A.map(e));return t.every((o,r)=>t[r])}async function WO(A,e){const t=await Promise.all(A.map(e));return A.find((o,r)=>t[r])}async function JO(A,e){const t=await Promise.all(A.map(e));return A.findIndex((o,r)=>t[r])}async function $O(A,e){const t=await Promise.all(A.map(e));return A.flatMap((o,r)=>t[r])}async function Zt(A,e,t){const o=[];return Xi(e),t??(t=e.mainThread),await Kd(o,A,e,t??e.mainThread)}async function zO(A,e,t,...o){if(A.type!==ve)throw new Error("executeArrowExpression expects an 'ArrowExpression' object.");return await(await Uc(Kd,A))(A.args,e,t??e.mainThread,...o)}async function Kd(A,e,t,o){t.options||(t.options={defaultToOptionalMemberAccess:!0});const r=Kd;try{switch(e.type){case Fu:return iR(r,A,e,t,o);case Me:return Mm(A,e,o);case UA:return Lm(A,e,t,o);case Jo:return await qO(r,A,e,t,o);case an:return await VO(r,A,e,t,o);case dr:return await ZO(r,A,e,t,o);case Br:return await XO(r,A,e,t,o);case pr:return await AR(r,A,e,t,o);case _l:return await eR(r,A,e,t,o);case gt:return await tR(r,A,e,t,o);case Wl:return await oR(r,A,e,t,o);case sn:return await rR(r,A,e,t,o);case Ua:case Jl:return await nR(r,A,e,t,o);case qi:return await aR(r,A,e,t,o);case ve:return Om(A,e,o);case ut:throw new Error("Cannot use spread expression (...) with the current intermediate value.");default:throw new Error(`Unknown expression tree node: ${e.type}`)}}catch(n){throw n}}async function qO(A,e,t,o,r){return await A(e,t.obj,o,r),await Ft(t.obj,r),ql(e,t,o,r)}async function VO(A,e,t,o,r){return await A(e,t.obj,o,r),await Ft(t.obj,r),await A(e,t.member,o,r),e.pop(),await Ft(t.member,r),Tm(e,t,o,r)}async function ZO(A,e,t,o,r){if(!t.exprs||t.exprs.length===0)throw new Error("Missing expression sequence");const n=t.exprs.map(async i=>{const s=await A(e,i,o,r);return fe(i,{value:s},r),e.pop(),s}),a=n[n.length-1];return e.push(a),a}async function XO(A,e,t,o,r){const n=[];for(const a of t.items)if(a.type===ut){const i=await A(e,a.expr,o,r);if(e.pop(),!Array.isArray(i))throw new Error("Spread operator within an array literal expects an array operand.");n.push(...i)}else n.push(await A(e,a,o,r)),e.pop(),e.push(n);return fe(t,{value:n},r),e.push(n),n}async function AR(A,e,t,o,r){const n={};for(const a of t.props){if(!Array.isArray(a)){const s=await A(e,a.expr,o,r);if(e.pop(),Array.isArray(s))for(let l=0;l<s.length;l++)n[l]=s[l];else if(typeof s=="object")for(const[l,g]of Object.entries(s))n[l]=g;continue}let i;switch(a[0].type){case Me:i=a[0].value;break;case UA:i=a[0].name;break;default:i=await A(e,a[0],o,r),e.pop();break}n[i]=await A(e,a[1],o,r),e.pop()}return fe(t,{value:n},r),e.push(n),n}async function eR(A,e,t,o,r){return await A(e,t.expr,o,r),e.pop(),await Ft(t.expr,r),Nm(t,e,o,r)}async function tR(A,e,t,o,r){await A(e,t.left,o,r),e.pop();const n=await Ft(t.left,r);return t.op==="&&"&&!n?(fe(t,{value:n},r),n):t.op==="||"&&n?(fe(t,{value:n},r),n):(await A(e,t.right,o,r),e.pop(),await Ft(t.right,r),Fm(t,e,o,r))}async function oR(A,e,t,o,r){await A(e,t.cond,o,r),e.pop();const n=await Ft(t.cond,r),a=await A(e,n?t.thenE:t.elseE,o,r);return fe(t,{value:a},r),a}async function rR(A,e,t,o,r){const n=t.leftValue,a=gn(n,o,r),i=a&&a.type!=="block";i&&o.onWillUpdate&&o.onWillUpdate(a,a.name,"assignment"),await A(e,n,o,r),e.pop(),await Ft(n,r),await A(e,t.expr,o,r),e.pop(),await Ft(t.expr,r);const s=Pm(e,t,o,r);return i&&o.onDidUpdate&&o.onDidUpdate(a,a.name,"assignment"),s}async function nR(A,e,t,o,r){const n=gn(t.expr,o,r),a=n&&n.type!=="block";a&&o.onWillUpdate&&o.onWillUpdate(n,n.name,"pre-post"),await A(e,t.expr,o,r),e.pop(),await Ft(t.expr,r);const i=Gm(e,t,o,r);return a&&o.onDidUpdate&&o.onDidUpdate(n,n.name,"pre-post"),i}async function aR(A,e,t,o,r){var C,m;let n,a=null;if(t.obj.type===Jo){const h=await A(e,t.obj.obj,o,r);await Ft(t.obj.obj,r),n=ql(e,t.obj,o,r),t.obj.obj.type===UA&&(h!=null&&h._SUPPORT_IMPLICIT_CONTEXT)&&(a=h)}else await A(e,t.obj,o,r),n=await Ft(t.obj,r);e.pop();const i=[];if(n!=null&&n._ARROW_EXPR_)i.push(n.args,o,r,...t.arguments.map(h=>({...h,_EXPRESSION_:!0}))),n=await Uc(A,n);else if(t.obj.type===ve)i.push(t.obj.args.map(h=>h.name),o,r,...t.arguments.map(h=>({...h,_EXPRESSION_:!0})));else{for(let h=0;h<t.arguments.length;h++){const Q=t.arguments[h];if(Q.type===ut){await A([],Q.expr,o,r);const E=await Ft(Q.expr,r);if(!Array.isArray(E))throw new Error("Spread operator within a function invocation expects an array operand.");i.push(...E)}else if(Q.type===ve){const E=await Uc(A,Q),D=async(...I)=>E(Q.args,o,r,...I);i.push(D)}else{await A([],Q,o,r);const E=await Ft(Q,r);if(E!=null&&E._ARROW_EXPR_){const D=await Uc(A,E),I=(...w)=>D(E.args,o,r,...w);i.push(I)}else i.push(E)}}if(a)if(o.implicitContextGetter){const h=o.implicitContextGetter(a);i.unshift(h)}else throw new Error("Cannot use implicitContextGetter, it is undefined")}const s=$m(n);if(s.banned)throw new Error(`Function ${((C=s.func)==null?void 0:C.name)??"unknown"} is not allowed to call. ${(s==null?void 0:s.help)??""}`);const l=e.length>0?e.pop():o.localContext;n=RO(n,i,l);const g=gn(t.obj,o,r),u=g&&g.type!=="block";u&&o.onWillUpdate&&o.onWillUpdate(g,g.name,"function-call");const p=(m=o.options)!=null&&m.defaultToOptionalMemberAccess?n==null?void 0:n.call(l,...i):n.call(l,...i);let B=await Yb(p);return u&&o.onDidUpdate&&o.onDidUpdate(g,g.name,"function-call"),fe(t,{value:B},r),e.push(B),B}async function Uc(A,e){return async(...t)=>{const o=t[1],r=t[2],n={parent:r,childThreads:[],blocks:[{vars:{}}],loops:[],breakLabelValue:-1,closures:e.closureContext};if(r.childThreads.push(n),e.name){const p={vars:{}};n.blocks??(n.blocks=[]),n.blocks.push(p),p.vars[e.name]=e,p.constVars=new Set([e.name])}const a={vars:{}};n.blocks??(n.blocks=[]),n.blocks.push(a);const i=t[0];let s=!1;for(let p=0;p<i.length;p++){const B=i[p];let C;switch(B.type){case UA:{C={type:fo,id:B.name};break}case Ka:{C={type:fo,id:B.id,aDestr:B.aDestr,oDestr:B.oDestr};break}case ut:{s=!0,C={type:fo,id:B.expr.name};break}default:throw new Error("Unexpected arrow argument specification")}if(C)if(s){const m=t.slice(p+3);let h=[];for(const Q of m)Q!=null&&Q._EXPRESSION_?h.push(await A([],Q,o,r)):h.push(Q);await Kc(a,o,r,[C],!1,!0,h)}else{let m=t[p+3];m!=null&&m._EXPRESSION_&&(m=await A([],m,o,r)),await Kc(a,o,r,[C],!1,!0,m)}}let l,g;switch(e.statement.type){case _o:g=[];break;case Wo:g=[{type:Xn,expr:e.statement.expr}];break;case jo:g=e.statement.stmts;break;default:throw new Error(`Arrow expression with a body of '${e.statement.type}' is not supported yet.`)}await Yd(g,o,n),l=n.returnValue;const u=r.childThreads.indexOf(n);if(u<0)throw new Error("Cannot find thread to remove.");return r.childThreads.splice(u,1),n.blocks.pop(),l}}async function Yb(A){const e=new Map;return t(A);async function t(o){if(o==null)return o;const r=e.get(o);if(r)return r;if(Sm(o)){const n=await o;return e.set(o,n),t(n)}if(e.set(o,o),Array.isArray(o)){for(let n=0;n<o.length;n++){const a=await t(o[n]);o[n]!==a&&o.splice(n,1,a)}return o}if(hA.isPlainObject(o)){for(const n of Object.keys(o)){let a=await t(o[n]);o[n]!==a&&(o[n]=a)}return o}return o}}async function iR(A,e,t,o,r){const n=new Array(t.segments.length);for(let a=0;a<t.segments.length;++a){await A(e,t.segments[a],o,r),e.pop();const i=await Ft(t.segments[a],r);n[a]=i}return Um(n)}async function Ft(A,e){const t=$o(A,e),o=await Yb(t==null?void 0:t.value);return fe(A,{...t,value:o},e),o}async function Yd(A,e,t){var a,i,s;t||(t=Xi(e)),Xl(t,A);const o=new Km;o.push(me(Tr(A)));const r={processedStatements:0,maxQueueLength:o.length,unshiftedItems:0,clearToLabels:0,maxBlocks:0,maxLoops:0};let n=new Date().getTime();for(;o.length>0&&!((a=e.cancellationToken)!=null&&a.cancelled);){if(e.timeout&&new Date().getTime()-n>e.timeout)throw new Error("Script execution timeout");const l=o.dequeue();t.breakLabelValue=o.length>0?o.peek().label:-1;let g;try{await((i=e==null?void 0:e.onStatementStarted)==null?void 0:i.call(e,e,l.statement)),g=await sR(l.statement,(l==null?void 0:l.execInfo)??{},e,t)}catch(u){if(t.tryBlocks&&t.tryBlocks.length>0){const p=t.tryBlocks[t.tryBlocks.length-1];p.errorToThrow=u,p.errorSource=p.processingPhase,p.processingPhase="error",g={clearToLabel:p.tryLabel}}else u instanceof rr?_a(u):_a(new Oi(u),u)}g&&(g.toUnshift&&(o.unshift(g.toUnshift),r.unshiftedItems+=g.toUnshift.length),g.clearToLabel!==void 0&&(o.clearToLabel(g.clearToLabel),r.clearToLabels++)),await((s=e==null?void 0:e.onStatementCompleted)==null?void 0:s.call(e,e,l.statement)),o.length>r.maxQueueLength&&(r.maxQueueLength=o.length),t.blocks&&t.blocks.length>r.maxBlocks&&(r.maxBlocks=t.blocks.length),t.loops&&t.loops.length>r.maxLoops&&(r.maxLoops=t.loops.length),r.processedStatements++}return r}async function sR(A,e,t,o){let r=[],n;switch(A.type){case Ra:break;case Pl:if(o!==t.mainThread)throw new Error("'var' declarations are not allowed within functions");break;case _o:break;case jo:if(A.stmts.length===0)break;o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),Xl(o,A.stmts),r=me([...Tr(A.stmts),Zi()]);break;case Wo:const a=await Zt(A.expr,t,o);o.blocks&&o.blocks.length!==0&&(o.blocks[o.blocks.length-1].returnValue=a);break;case zt:const i=await zO(A.expr,t,o,...t.eventArgs??[]);o.blocks&&o.blocks.length!==0&&(o.blocks[o.blocks.length-1].returnValue=i);break;case Nl:{const l=ot(o);if(!l)throw new Error("Missing block scope");await Kc(l,t,o,A.decls);break}case Fl:{const l=ot(o);if(!l)throw new Error("Missing block scope");await Kc(l,t,o,A.decls,!0);break}case Gl:!!await Zt(A.cond,t,o)?r=Vl(A.thenB):A.elseB&&(r=Vl(A.elseB));break;case Xn:{if(ot(o)===void 0)throw new Error("Return requires a block scope");if(o.returnValue=A.expr?await Zt(A.expr,t,o):void 0,(o.tryBlocks??[]).length>0){const g=o.tryBlocks[0];g.exitType="return",g.processingPhase!=="postFinally"&&o.blocks.pop(),n=un(o).tryLabel}else n=-1;break}case Ol:{let l=e.guard?qe(o):bo(o);!!await Zt(A.cond,t,o)?r=ja(l,A,o.breakLabelValue):Ye(o);break}case Rl:{if(!e.guard){r=ja(bo(o),A,o.breakLabelValue);break}!!await Zt(A.cond,t,o)?r=ja(qe(o),A,o.breakLabelValue):Ye(o);break}case Nu:{if(!o.loops||o.loops.length===0)throw new Error("Missing loop scope");let l;for(;o.loops.length>0&&(l=qe(o),!!l.isSwitch);)o.loops.pop();if(!l)throw new Error("Missing loop scope");if(l.tryBlockDepth>=0&&l.tryBlockDepth<(o.tryBlocks??[]).length){for(let u=l.tryBlockDepth;u<o.tryBlocks.length;u++)o.tryBlocks[l.tryBlockDepth].exitType="continue";n=un(o).tryLabel}else n=l.continueLabel,Ye(o,!1);break}case Tu:{const l=qe(o);if(l===void 0)throw new Error("Missing loop scope");if(l.isSwitch){n=l.breakLabel;break}if(l.tryBlockDepth>=0&&l.tryBlockDepth<(o.tryBlocks??[]).length){for(let u=l.tryBlockDepth;u<o.tryBlocks.length;u++)o.tryBlocks[l.tryBlockDepth].exitType="break";n=un(o).tryLabel}else n=l.breakLabel,Ye(o);break}case Ul:if(e.guard)if(!A.cond||await Zt(A.cond,t,o)){const l=qe(o);if(A.upd){const g={statement:{type:Wo,nodeId:cn(),expr:A.upd}};r=me([{statement:A.body},g,{statement:A,execInfo:e}])}else r=me([{statement:A.body},{statement:A,execInfo:e}]);l.breakLabel=o.breakLabelValue??-1,l.continueLabel=r[1].label}else Ye(o);else{bo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}});const l=Nr(A);A.init?r=me([{statement:A.init},l]):r=me([l])}break;case nn:if(e.guard){if(e.keyIndex===void 0||e.keys===void 0)throw new Error("Keys information expected in for..in loop");if(e.keyIndex<e.keys.length){const l=e.keys[e.keyIndex++];switch(A.varB){case"none":{const u={type:sn,leftValue:{type:UA,name:A.id.name},op:"=",expr:{type:Me,value:l}};await Zt(u,t,o);break}case"const":case"let":{const u=ot(o);if(!u)throw new Error("Missing block scope");u.vars[A.id.name]=l,A.varB==="const"&&(u.constVars??(u.constVars=new Set),u.constVars.add(A.id.name))}break}const g=qe(o);r=me([{statement:A.body},{statement:A,execInfo:e}]),g.breakLabel=o.breakLabelValue??-1,g.continueLabel=r[1].label}else Ye(o)}else{const l=await Zt(A.expr,t,o);if(l==null)break;bo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),r=me([{statement:A,execInfo:{guard:!0,keys:Object.keys(l),keyIndex:0}}])}break;case Aa:if(e.guard){if(e.iterator===void 0)throw new Error("Iterator expected in for..of loop");const l=e.iterator.next();if(l.done){Ye(o);break}const g=l.value;switch(A.varB){case"none":{const p={type:sn,leftValue:{type:UA,name:A.id.name},op:"=",expr:{type:Me,value:g}};await Zt(p,t,o);break}case"const":case"let":{const p=ot(o);if(!p)throw new Error("Missing block scope");p.vars[A.id.name]=g,A.varB==="const"&&(p.constVars??(p.constVars=new Set),p.constVars.add(A.id.name))}break}const u=qe(o);r=me([{statement:A.body},{statement:A,execInfo:e}]),u.breakLabel=o.breakLabelValue??-1,u.continueLabel=r[1].label}else{const l=await Zt(A.expr,t,o);if(l==null||typeof l[Symbol.iterator]!="function")throw new Error("Object in for..of is not iterable");bo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),r=me([{statement:A,execInfo:{guard:!0,iterator:l[Symbol.iterator]()}}])}break;case Kl:throw new rr(await Zt(A.expr,t,o));case Yl:{if(!e.guard){r=_m(o,jm(o,A));break}const l=un(o);switch(l.processingPhase){case"error":switch(l.errorSource){case"try":if(o.blocks.pop(),A.catchB){if(l.statement.catchV){const u=ot(o);u.vars[l.statement.catchV.name]=l.errorToThrow instanceof rr?l.errorToThrow.errorObject:l.errorToThrow}delete l.errorToThrow,l.processingPhase="catch",r=Wm(o,l)}else l.statement.finallyB&&(l.processingPhase="finally",r=dn(o,l));break;case"catch":o.blocks.pop(),l.processingPhase="finally",r=dn(o,l);break;case"finally":o.blocks.pop(),l.processingPhase="postFinally",r=Zl(l);break}break;case"try":l.processingPhase="finally",A.finallyB&&(r=dn(o,l));break;case"catch":l.processingPhase="finally",A.finallyB&&(r=dn(o,l));break;case"finally":l.processingPhase="postFinally",r=Zl(l);break;case"postFinally":const g=o.tryBlocks.pop();switch(g.exitType){case"break":{const u=qe(o);if(u===void 0)throw new Error("Missing loop scope");Ye(o),n=u.breakLabel;break}case"continue":{const u=qe(o);if(u===void 0)throw new Error("Missing loop scope");n=u.continueLabel,Ye(o,!1);break}case"return":n=-1;break}if(g.errorToThrow)throw g.errorToThrow;break}break}case jl:{if(e.guard)Ye(o);else{let l=bo(o);l.isSwitch=!0,o.blocks.push({vars:{}});const g=await Zt(A.expr,t,o);let u=-1;for(let B=0;B<A.cases.length;B++){const C=A.cases[B];if(C.caseE===void 0){u=B;break}if(await Zt(C.caseE,t,o)===g){u=B;break}}const p=[];if(u>=0)for(let B=u;B<A.cases.length;B++)p.push(...A.cases[B].stmts);r=me([...Tr(p),Nr(A)]),l.breakLabel=r[r.length-1].label}break}}return e.removeBlockScope&&o.blocks&&o.blocks.length>0&&o.blocks.pop(),{toUnshift:r,clearToLabel:n}}async function Kc(A,e,t,o,r=!1,n=!1,a=void 0){for(let u=0;u<o.length;u++){let p;const B=o[u];n?p=a:B.expr&&(p=await Zt(B.expr,e,t)),i(A,B,p,r)}function i(u,p,B,C){if(p.id)s(u,p.id,B,C);else if(p.aDestr)l(u,p.aDestr,B,C);else if(p.oDestr)g(u,p.oDestr,B,C);else throw new Error("Unknown declaration specifier")}function s(u,p,B,C){if(u.vars[p])throw new Error(`Variable ${p} is already declared in the current scope.`);u.vars[p]=B,C&&(u.constVars??(u.constVars=new Set),u.constVars.add(p))}function l(u,p,B,C){for(let m=0;m<p.length;m++){const h=p[m],Q=B==null?void 0:B[m];h.id?s(u,h.id,Q,C):h.aDestr?l(u,h.aDestr,Q,C):h.oDestr&&g(u,h.oDestr,Q,C)}}function g(u,p,B,C){for(let m=0;m<p.length;m++){const h=p[m],Q=B==null?void 0:B[h.id];h.aDestr?l(u,h.aDestr,Q,C):h.oDestr?g(u,h.oDestr,Q,C):s(u,h.alias??h.id,Q,C)}}}function jb(A){const e=new Ya(A);let t=null;try{t=e.parseStatements()}catch(o){if(e.errors.length>0){const r=e.errors[0];_a(new Gi(`${r.code}(${r.line}, ${r.column}): ${e.errors[0].text}`,A,r.position))}else throw o}if(!e.isEof){const o=e.getTail();_a(new Gi("Invalid tail found",A,A.length-o.length+1))}return t}function jd(A,e){const t=(A==null?void 0:A.length)??0;if(t===0)return[{type:zt,expr:{type:ve,args:[],statement:{type:_o}}}];if(t===1){const n=A[0];if(n.type===Wo){if(e){if(n.expr.type===UA)return[r(n.expr)];if(o(n.expr))return[r(n.expr)]}return n.expr.type===ve?[{type:zt,expr:n.expr}]:[{type:zt,expr:{type:ve,args:[],statement:A[0]}}]}if(n.type===Xn)return[{type:zt,expr:{type:ve,args:[],statement:{type:jo,stmts:[n]}}}];if(n.type===jo)return n.stmts[0].type===Wo&&n.stmts[0].expr.type===ve?[{type:zt,expr:n.stmts[0].expr}]:[{type:zt,expr:{type:ve,args:[],statement:A[0]}}]}if(t>1)return[{type:zt,expr:{type:ve,args:[],statement:{type:jo,stmts:A}}}];return A;function o(n){return(n.type===Jo||n.type===an&&n.member.type===Me)&&(o(n.obj)||n.obj.type===UA)}function r(n){const a=e.eventArgs?e.eventArgs.map((s,l)=>({type:UA,name:`__arg@@#__${l}__`})):[];e.eventArgs&&e.eventArgs.forEach((s,l)=>{e.localContext[`__arg@@#__${l}__`]=s});const i={type:ve,args:a,statement:{type:Wo,expr:{type:qi,obj:n,arguments:[...a]}}};return{type:zt,expr:i}}}async function lR(A,e,t){const o=jd(jb(A));return await Yd(o,e,t)}function cR({node:A,state:e,dispatch:t,lookupAction:o,lookupSyncCallback:r,registerComponentApi:n,onUnmount:a,appContext:i,memoedVarsRef:s}){const l=Yn(),g=d.useMemo(()=>Symbol(A.uid),[A.uid]);d.useEffect(()=>()=>{a(g)},[a,g]);const u=d.useCallback(w=>{n(g,w)},[n,g]),p=d.useCallback((w,v)=>o(w,g,v),[o,g]),B=ol(e),C=d.useMemo(()=>Zm(e,i,B,s),[i,s,B,e]),m=d.useCallback(w=>{if(w)return r(C(w),g)},[r,g,C]),h=d.useCallback(w=>{t(gR(g,w))},[t,g]),Q=d.useCallback(w=>{t(uR(g,w))},[t,g]),E=d.useCallback((w,v)=>{t(dR(g,w,v))},[t,g]),D=d.useCallback(w=>{t(BR(g,w))},[t,g]),I=l.lookupLoaderRenderer(A.type);return I?I({loader:A,state:e,dispatch:t,loaderInProgressChanged:h,loaderIsRefetchingChanged:Q,loaderLoaded:E,loaderError:D,extractValue:C,registerComponentApi:u,lookupAction:p,lookupSyncCallback:m}):(console.error(`Loader ${A.type} is not available. Did you forget to register it in the loaderRegistry?`),null)}function gR(A,e){return{type:_e.LOADER_IN_PROGRESS_CHANGED,payload:{uid:A,inProgress:e}}}function uR(A,e){return{type:_e.LOADER_IS_REFETCHING_CHANGED,payload:{uid:A,isRefetching:e}}}function dR(A,e,t){return{type:_e.LOADER_LOADED,payload:{uid:A,data:e,pageInfo:t}}}function BR(A,e){return{type:_e.LOADER_ERROR,payload:{uid:A,error:e}}}const pR=d.memo(d.forwardRef(function({node:e,componentState:t,dispatch:o,parentDispatch:r,resolvedKey:n,version:a,setVersion:i,statePartChanged:s,registerComponentApi:l,parentRegisterComponentApi:g,layoutContextRef:u,parentRenderContext:p,memoedVarsRef:B,isImplicit:C,uidInfoRef:m,children:h},Q){var bA;const{apiBoundContainer:E}=e,D=C?r:o,I=C?g:l,w=$e(),{getThemeVar:v}=le(),f=Ue.useNavigate(),M=Ue.useLocation(),S=d.useRef({}),G=d.useRef(t);G.current=t;const b=d.useRef({}),[x,L]=d.useTransition(),T=d.useRef(!0),H=d.useRef(new Map);De(()=>{for(const Y of H.current.values())Y()},[a]),d.useEffect(()=>{T.current=!0;const Y=H.current;return()=>{T.current=!1;for(const F of Y.values())F()}},[]);const _=PA(async(Y,F,P,...q)=>{var dA,rA,DA;const X=()=>F.description!==void 0&&(P==null?void 0:P.eventName)!==void 0;let iA=[];const sA=()=>{iA.length=0;const IA=hA.cloneDeep({...G.current,...(P==null?void 0:P.context)||{}});return IA.$this=G.current[F],Kb(IA,KA=>{var FA;const JA=(FA=KA.pathArray)==null?void 0:FA[0];if(JA!=null&&JA.startsWith("$"))throw new Error("Cannot update a read-only variable");iA.push(KA)})},EA={...w,getThemeVar:v},QA={appContext:EA,eventArgs:q,localContext:sA(),implicitContextGetter:()=>({uid:F,state:G.current,getCurrentState:()=>G.current,dispatch:D,appContext:EA,navigate:f,location:M,lookupAction:(IA,KA,JA={})=>V(IA,KA,{...JA,ephemeral:!0})}),options:{defaultToOptionalMemberAccess:typeof((dA=w.appGlobals)==null?void 0:dA.defaultToOptionalMemberAccess)=="boolean"?w.appGlobals.defaultToOptionalMemberAccess:!0}};try{let IA;if(typeof Y=="string")b.current[Y]||(b.current[Y]=jd(jb(Y),QA)),IA=b.current[Y];else if(_b(Y)){const JA=Y.parseId.toString();b.current[JA]||(b.current[JA]=jd(Y.statements,QA)),IA=b.current[JA]}else IA=[{type:zt,expr:Y}];if(!(IA!=null&&IA.length))return;X()&&D({type:_e.EVENT_HANDLER_STARTED,payload:{uid:F.description,eventName:P.eventName}});let KA=0;if(QA.onStatementCompleted=async JA=>{if(iA.length){KA=0,iA.forEach(ne=>{s(ne.pathArray,hA.cloneDeep(ne.newValue),ne.target,ne.action)});let FA=null;const MA=new Promise(ne=>{FA=()=>{ne(null)}}),pe=Ni();H.current.set(pe,FA),L(()=>{i(ne=>ne+1)}),T.current?await MA:await Da(0),H.current.delete(pe),iA=[]}else KA++,KA>100&&(KA=0,await Da(0));JA.localContext=sA()},await Yd(IA,QA),X()&&D({type:_e.EVENT_HANDLER_COMPLETED,payload:{uid:F.description,eventName:P.eventName}}),(DA=(rA=QA.mainThread)==null?void 0:rA.blocks)!=null&&DA.length)return QA.mainThread.blocks[QA.mainThread.blocks.length-1].returnValue}catch(IA){throw(P==null?void 0:P.signError)!==!1&&w.signError(IA),X()&&D({type:_e.EVENT_HANDLER_ERROR,payload:{uid:F.description,eventName:P.eventName,error:IA}}),IA}}),j=d.useCallback((Y,...F)=>{var q,X;const P={localContext:hA.cloneDeep(G.current),appContext:w,eventArgs:F};try{if(Ou([{type:zt,expr:Y}],P),(X=(q=P.mainThread)==null?void 0:q.blocks)!=null&&X.length)return P.mainThread.blocks[P.mainThread.blocks.length-1].returnValue}catch(iA){throw console.error(iA),iA}},[w]),O=PA((Y,F,P)=>{var iA;if(Array.isArray(Y))throw new Error("Multiple event handlers are not supported");let q,X;if(typeof Y=="string")q=`${P==null?void 0:P.eventName};${Y}`,X=(...sA)=>_(Y,F,P,...hA.cloneDeep(sA));else if(_b(Y))q=`${P==null?void 0:P.eventName};${Y.parseId}`,X=(...sA)=>_(Y,F,P,...hA.cloneDeep(sA));else if(mR(Y))q=`${P==null?void 0:P.eventName};${Y.statement.nodeId}`,X=(...sA)=>_(Y,F,P,...hA.cloneDeep(sA));else if(Y.type)q=`${P==null?void 0:P.eventName};${JSON.stringify(Y)}`,X=(...sA)=>_(Y,F,P,...hA.cloneDeep(sA));else throw new Error("Invalid event handler");return P!=null&&P.ephemeral||P!=null&&P.context?X:((iA=S.current[F])!=null&&iA[q]||(S.current[F]=S.current[F]||{},S.current[F][q]=X),S.current[F][q])}),U=d.useCallback((Y,F)=>{var q;const P=`sync-callback-${Y.nodeId}`;return(q=S.current[F])!=null&&q[P]||(S.current[F]=S.current[F]||{},S.current[F][P]=ki(X=>(...iA)=>j(X,...iA))),S.current[F][P](Y)},[j]),J=d.useCallback((Y,F)=>{if(Y){if(typeof Y=="function")return Y;if(Y){if(typeof Y=="function")return Y;if(!Y._ARROW_EXPR_)throw new Error("Only arrow expression allowed in sync callback");return U(Y,F)}}},[U]),V=d.useCallback((Y,F,P)=>{let q=Y;if(!Y&&F.description&&(P!=null&&P.eventName)){const X=`${F.description}_on${Fi(P==null?void 0:P.eventName)}`;t[X]&&t[X]._ARROW_EXPR_&&(q=t[X])}if(q)return typeof q=="function"?q:O(q,F,P)},[t,O]),Z=d.useRef(!1);d.useEffect(()=>{if(!e.api||!e.containerUid||Z.current)return;Z.current=!0;const Y={},F=Symbol("$self");Object.entries(e.api).forEach(([P,q])=>{Y[P]=V(q,F)}),C||I(F,Y),g(e.containerUid,Y)},[V,e.api,e.containerUid,e.uid,C,g,I]);const R=PA(Y=>{delete S.current[Y]}),K=d.useCallback((Y,F,P,q,X)=>{if(typeof Y=="string")throw Error("should be resolved for now");const iA=hA.isArray(Y)?Y:[Y];if(!iA||!iA.length)return null;const sA=iA.length>1,EA=iA.map((QA,dA)=>{if(!QA)return;const rA=Zb({node:QA,state:t,dispatch:D,appContext:w,lookupAction:V,lookupSyncCallback:J,registerComponentApi:I,renderChild:K,statePartChanged:s,layoutContext:F,parentRenderContext:P,memoedVarsRef:B,cleanup:R,uidInfoRef:q});if(rA===void 0)return;let DA=rA;const IA=`${dA}_${QA.uid}`;return sA&&(d.isValidElement(rA)?DA=d.cloneElement(rA,{key:IA}):DA=c.jsx(d.Fragment,{children:rA},IA)),DA});return EA.length===1?X&&EA[0]&&d.isValidElement(EA[0])?d.cloneElement(EA[0],{ref:Dt(X,EA[0].ref)}):EA[0]:EA},[t,D,w,V,J,I,s,B,R]);(bA=e.props)!=null&&bA.debug&&console.log(`Container: ${n}`,{componentState:t,node:e});const z={},AA=d.useRef({}),eA=e.uses===void 0?m:AA,cA=K(e.children,u==null?void 0:u.current,p,eA,Q),wA=CR({uidInfo:z,uidInfoRef:eA,loaders:e.loaders,componentState:t,memoedVarsRef:B,dispatch:E?o:D,registerComponentApi:E?l:I,appContext:w,lookupAction:V,lookupSyncCallback:J,cleanup:R}),uA=c.jsxs(c.Fragment,{children:[wA,h&&d.isValidElement(cA)?d.cloneElement(cA,null,h):cA]});return c.jsx(d.Fragment,{children:uA},e.uid?`${n}>${LA(t,e.uid,w,!0)}`:void 0)}));function CR({uidInfo:A,uidInfoRef:e,loaders:t=Ae,componentState:o,dispatch:r,appContext:n,registerComponentApi:a,lookupAction:i,lookupSyncCallback:s,cleanup:l,memoedVarsRef:g}){return t.map(p=>{if(p!=null&&p.uid){if(A[p.uid])throw new Error(`Another ${A[p.uid]} definition in this container already uses the uid '${p.uid}'`);A[p.uid]="loader",e.current[p.uid]={type:"loader",value:"loaderValue",uid:p.uid}}const B=u({loader:p,componentState:o,dispatch:r,appContext:n,registerComponentApi:a,lookupAction:i,lookupSyncCallback:s,memoedVarsRef:g,cleanup:l});if(B!==void 0)return c.jsx(d.Fragment,{children:B},p.uid)});function u({loader:p,componentState:B,dispatch:C,appContext:m,registerComponentApi:h,lookupAction:Q,lookupSyncCallback:E,cleanup:D,memoedVarsRef:I}){return!p||!Uu(p.when,B,m)?null:c.jsx(cR,{onUnmount:D,node:p,state:B,dispatch:C,registerComponentApi:h,lookupAction:Q,lookupSyncCallback:E,memoedVarsRef:I,appContext:m})}}function _b(A){return A.__PARSED===!0}function mR(A){return A.type===ve}const hR=d.memo(d.forwardRef(function({node:e,resolvedKey:t,parentState:o,parentStatePartChanged:r,parentRegisterComponentApi:n,parentDispatch:a,parentRenderContext:i,layoutContextRef:s,uidInfoRef:l,isImplicit:g,children:u,...p},B){const[C,m]=d.useState(0),h=QR(),Q=d.useRef(new Map),E=et(d.useMemo(()=>ER(o,e.uses),[e.uses,o])),D=Sb(),I=OO(D),[w,v]=d.useReducer(I,YA),[f,M]=d.useState(YA),S=et(d.useMemo(()=>{const R={...w};for(const K of Object.getOwnPropertySymbols(w)){const z=w[K];K.description&&(R[K.description]=z)}if(Reflect.ownKeys(f).length===0)return R;for(const K of Object.getOwnPropertySymbols(f)){const z=f[K];if(K.description){const AA=K.description;R[AA]={...R[AA]||{},...z}}R[K]={...R[K],...z}}return R},[w,f])),G=Wb(E,S,e.contextVars),b=e.scriptCollected;if(b!=null&&b.moduleErrors&&!hA.isEmpty(b.moduleErrors))throw new Yc(b.moduleErrors);if(e.scriptError&&!hA.isEmpty(e.scriptError))throw new Yc(e.scriptError);const x=ol(w),L=et({...b==null?void 0:b.functions,...e.functions,...b==null?void 0:b.vars,...e.vars}),T=d.useMemo(()=>{const R={};return Object.entries(L).forEach(([K,z])=>{jc(z)&&z.tree.type===ve&&(R[K]=Ac(z.tree,x))}),PO(R)},[x,L]),H=Jb(L,T,G,d.useRef(new Map)),_=et({...H,...G}),j=Jb(L,T,_,Q),O=IR(j,S),U=Wb(E,e.contextVars,O,h),J=d.useCallback((R,K)=>{M(Qe(z=>{z[R]||(z[R]={}),Object.entries(K).forEach(([AA,eA])=>{z[R][AA]!==eA&&(z[R][AA]=eA)})}))},[]),V=d.useRef(S),Z=d.useCallback((R,K,z,AA)=>{const eA=R[0];eA in V.current||eA in j?v({type:_e.STATE_PART_CHANGED,payload:{path:R,value:K,target:z,actionType:AA,localVars:j}}):(!e.uses||e.uses.includes(eA))&&r(R,K,z,AA)},[j,e.uses,r]);return c.jsx(Yi,{node:e,location:"container",children:c.jsx(pR,{resolvedKey:t,node:e,componentState:U,dispatch:v,parentDispatch:a,setVersion:m,version:C,statePartChanged:Z,registerComponentApi:J,parentRegisterComponentApi:n,layoutContextRef:s,parentRenderContext:i,memoedVarsRef:Q,isImplicit:g,ref:B,uidInfoRef:l,...p,children:u})})})),QR=()=>{const[A]=Ue.useSearchParams(),e=Ue.useParams(),t=Ue.useLocation(),o=lC(),r=d.useMemo(()=>{var a;return((a=o==null?void 0:o.linkMap)==null?void 0:a.get(t.pathname))||YA},[o==null?void 0:o.linkMap,t.pathname]),n=d.useMemo(()=>{const a={};for(const[i,s]of Array.from(A.entries()))a[i]=s;return a},[A]);return d.useMemo(()=>({$pathname:t.pathname,$routeParams:e,$queryParams:n,$linkInfo:r}),[r,t.pathname,n,e])};function ER(A,e){return e?e.length===0?YA:hA.pick(A,e):A}function Wb(...A){const e=d.useMemo(()=>{let t={};return A.forEach((o=YA)=>{o!==YA&&(t={...t,...o})}),t},[A]);return et(e)}function IR(A,e){const t=d.useMemo(()=>{const o={...A};return Reflect.ownKeys(e).forEach(r=>{const n=e[r];o[r]===void 0?o[r]=n:hA.isPlainObject(o[r])&&hA.isPlainObject(n)||Array.isArray(o[r])&&Array.isArray(n)?o[r]=hA.merge(hA.cloneDeep(o[r]),n):o[r]=n}),o},[A,e]);return et(t)}function Jb(A=YA,e=YA,t,o){const r=$e(),n=ol(t),a=d.useMemo(()=>{const i={};return Object.entries(A).forEach(([s,l])=>{if(s==="$props")i[s]=l;else if(!jc(l)&&typeof l!="string")i[s]=l;else{o.current.has(l)||o.current.set(l,{getDependencies:ki((C,m)=>{if(jc(C))return Ac(C.tree,m);const h=Pu(C);let Q=new Set;return h.forEach(E=>{E.type==="expression"&&(Q=new Set([...Q,...Ac(E.value,m)]))}),Array.from(Q)}),obtainValue:ki((C,m,h,Q,E,D)=>{try{return jc(C)?dt(C.tree,{localContext:m,appContext:h,options:{defaultToOptionalMemberAccess:!0}}):LA(m,C,h,Q)}catch(I){throw console.log(m),new wR(C,I)}},([C,m,h,Q,E,D],[I,w,v,f,M,S])=>Pi(E,M)&&Pi(D,S))});const g={...i,...t};let u=[];e[s]?u=e[s]:(o.current.get(l).getDependencies(l,n).forEach(C=>{e[C]?u.push(...e[C]):u.push(C)}),u=[...new Set(u)]);const p=Al(g,u),B=Al(r,u);i[s]=o.current.get(l).obtainValue(l,g,r,!0,p,B)}}),i},[r,t,e,o,n,A]);return et(a)}class Yc extends Error{constructor(e){const o=(e.Main||[]).map(r=>{let n=`${r.code} : ${r.text}`;const a=[];return r.line!==void 0&&a.push(`line:${r.line}`),r.column!==void 0&&a.push(`column:${r.column}`),a.length&&(n=`${n} (${a.join(", ")})`),n});super(o.join(`
245
+ c0.166,0,0.3,0.134,0.3,0.3v4.367c0,0.166-0.134,0.3-0.3,0.3h-0.409C11.626,17.473,11.492,17.339,11.492,17.173z`}}]}]})(A)}const kG="data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208.5C16.9706%208.5%2021%207.15685%2021%205.5C21%203.84315%2016.9706%202.5%2012%202.5C7.02944%202.5%203%203.84315%203%205.5C3%207.15685%207.02944%208.5%2012%208.5Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2012.5C21%2014.16%2017%2015.5%2012%2015.5C7%2015.5%203%2014.16%203%2012.5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5V19.5C3%2021.16%207%2022.5%2012%2022.5C17%2022.5%2021%2021.16%2021%2019.5V5.5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",HG=A=>c.jsx(kG,{...A}),SG="data:image/svg+xml,%3csvg%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='16px'%20height='16px'%20viewBox='0%200%2016%2016'%20version='1.1'%3e%3cg%20id='surface1'%3e%3cpath%20stroke='none'%20fill-rule='nonzero'%20fill-opacity='1'%20d='M%209.886719%205.171875%20L%206.113281%208.941406%20C%205.855469%209.203125%205.855469%209.625%206.113281%209.886719%20C%206.375%2010.144531%206.796875%2010.144531%207.058594%209.886719%20L%2010.828125%206.113281%20C%2011.609375%205.332031%2011.609375%204.066406%2010.828125%203.285156%20C%2010.046875%202.503906%208.78125%202.503906%208%203.285156%20L%204.230469%207.058594%20C%202.925781%208.359375%202.925781%2010.46875%204.230469%2011.769531%20C%205.53125%2013.074219%207.640625%2013.074219%208.941406%2011.769531%20L%2012.714844%208%20L%2013.65625%208.941406%20L%209.886719%2012.714844%20C%208.0625%2014.535156%205.109375%2014.535156%203.285156%2012.714844%20C%201.464844%2010.890625%201.464844%207.9375%203.285156%206.113281%20L%207.058594%202.34375%20C%208.359375%201.042969%2010.46875%201.042969%2011.769531%202.34375%20C%2013.074219%203.644531%2013.074219%205.753906%2011.769531%207.058594%20L%208%2010.828125%20C%207.21875%2011.609375%205.953125%2011.609375%205.171875%2010.828125%20C%204.390625%2010.046875%204.390625%208.78125%205.171875%208%20L%208.941406%204.230469%20Z%20M%209.886719%205.171875%20'/%3e%3c/g%3e%3c/svg%3e",MG=A=>c.jsx(SG,{...A}),LG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2013C10.4295%2013.5741%2010.9774%2014.0491%2011.6066%2014.3929C12.2357%2014.7367%2012.9315%2014.9411%2013.6467%2014.9923C14.3618%2015.0435%2015.0796%2014.9403%2015.7513%2014.6897C16.4231%2014.4392%2017.0331%2014.047%2017.54%2013.54L20.54%2010.54C21.4508%209.59695%2021.9548%208.33394%2021.9434%207.02296C21.932%205.71198%2021.4061%204.45791%2020.4791%203.53087C19.5521%202.60383%2018.298%202.07799%2016.987%202.0666C15.676%202.0552%2014.413%202.55918%2013.47%203.46997L11.75%205.17997'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.0002%2011.0012C13.5707%2010.4271%2013.0228%209.95202%2012.3936%209.60826C11.7645%209.2645%2011.0687%209.06009%2010.3535%209.00887C9.63841%208.95765%208.92061%209.06083%208.24885%209.31142C7.5771%209.56201%206.96709%209.95413%206.4602%2010.4612L3.4602%2013.4612C2.54941%2014.4042%202.04544%2015.6672%202.05683%2016.9782C2.06822%2018.2892%202.59407%2019.5433%203.52111%2020.4703C4.44815%2021.3973%205.70221%2021.9232%207.01319%2021.9346C8.32418%2021.946%209.58719%2021.442%2010.5302%2020.5312L12.2402%2018.8212'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",TG={binding:"_binding_14mdd_1"},NG=A=>c.jsx(LG,{className:TG.binding,...A}),FG=A=>c.jsx(CQ,{...A}),PG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2010.6669V5.33359C13.9998%205.09978%2013.938%204.87013%2013.821%204.6677C13.704%204.46527%2013.5358%204.29717%2013.3333%204.18026L8.66667%201.51359C8.46397%201.39657%208.23405%201.33496%208%201.33496C7.76595%201.33496%207.53603%201.39657%207.33333%201.51359L2.66667%204.18026C2.46418%204.29717%202.29599%204.46527%202.17897%204.6677C2.06196%204.87013%202.00024%205.09978%202%205.33359V10.6669C2.00024%2010.9007%202.06196%2011.1304%202.17897%2011.3328C2.29599%2011.5353%202.46418%2011.7034%202.66667%2011.8203L7.33333%2014.4869C7.53603%2014.604%207.76595%2014.6656%208%2014.6656C8.23405%2014.6656%208.46397%2014.604%208.66667%2014.4869L13.3333%2011.8203C13.5358%2011.7034%2013.704%2011.5353%2013.821%2011.3328C13.938%2011.1304%2013.9998%2010.9007%2014%2010.6669Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.18018%204.63965L8.00018%208.00632L13.8202%204.63965'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%2014.72V8'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",GG=A=>c.jsx(PG,{...A}),OG=A=>c.jsx(V8,{...A}),RG=A=>c.jsx(BQ,{...A}),UG=A=>c.jsx(pQ,{...A}),KG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6665%201.33301H3.99984C3.64622%201.33301%203.30708%201.47348%203.05703%201.72353C2.80698%201.97358%202.6665%202.31272%202.6665%202.66634V13.333C2.6665%2013.6866%202.80698%2014.0258%203.05703%2014.2758C3.30708%2014.5259%203.64622%2014.6663%203.99984%2014.6663H11.9998C12.3535%2014.6663%2012.6926%2014.5259%2012.9426%2014.2758C13.1927%2014.0258%2013.3332%2013.6866%2013.3332%2013.333V5.99967L8.6665%201.33301Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.6665%201.33301V5.99967H13.3332'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.3335%2010.6667L10.6668%209.33333L9.3335%208'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.6665%208.00033L5.33317%209.33366L6.6665%2010.667'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",YG=A=>c.jsx(KG,{...A}),jG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2010.6669V5.33359C13.9998%205.09978%2013.938%204.87013%2013.821%204.6677C13.704%204.46527%2013.5358%204.29717%2013.3333%204.18026L8.66667%201.51359C8.46397%201.39657%208.23405%201.33496%208%201.33496C7.76595%201.33496%207.53603%201.39657%207.33333%201.51359L2.66667%204.18026C2.46418%204.29717%202.29599%204.46527%202.17897%204.6677C2.06196%204.87013%202.00024%205.09978%202%205.33359V10.6669C2.00024%2010.9007%202.06196%2011.1304%202.17897%2011.3328C2.29599%2011.5353%202.46418%2011.7034%202.66667%2011.8203L7.33333%2014.4869C7.53603%2014.604%207.76595%2014.6656%208%2014.6656C8.23405%2014.6656%208.46397%2014.604%208.66667%2014.4869L13.3333%2011.8203C13.5358%2011.7034%2013.704%2011.5353%2013.821%2011.3328C13.938%2011.1304%2013.9998%2010.9007%2014%2010.6669Z'%20stroke='%233B3B3B'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%202.80664L8%204.53997L11%202.80664'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2013.1933V9.73333L2%208'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14%208L11%209.73333V13.1933'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.18018%204.63965L8.00018%208.00632L13.8202%204.63965'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%2014.72V8'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",_G=A=>c.jsx(jG,{...A}),WG=A=>c.jsx(mQ,{...A}),JG=A=>c.jsx(lG,{...A}),$G="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208C16.9706%208%2021%206.65685%2021%205C21%203.34315%2016.9706%202%2012%202C7.02944%202%203%203.34315%203%205C3%206.65685%207.02944%208%2012%208Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2012C21%2013.66%2017%2015%2012%2015C7%2015%203%2013.66%203%2012'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205V19C3%2020.66%207%2022%2012%2022C17%2022%2021%2020.66%2021%2019V5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",zG={database:"_database_14jkq_1"},qG=A=>c.jsx($G,{className:zG.database,...A}),VG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.33317%201.33301H3.99984C3.64622%201.33301%203.30708%201.47348%203.05703%201.72353C2.80698%201.97358%202.6665%202.31272%202.6665%202.66634V13.333C2.6665%2013.6866%202.80698%2014.0258%203.05703%2014.2758C3.30708%2014.5259%203.64622%2014.6663%203.99984%2014.6663H11.9998C12.3535%2014.6663%2012.6926%2014.5259%2012.9426%2014.2758C13.1927%2014.0258%2013.3332%2013.6866%2013.3332%2013.333V5.33301L9.33317%201.33301Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.3335%201.33301V5.33301H13.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.6668%208.66699H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.6668%2011.333H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.66683%206H6.00016H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ZG=A=>c.jsx(VG,{...A}),XG="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_15061)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H2.76551C1.36355%200%200.227051%201.10179%200.227051%202.46094V25.5391C0.227051%2026.8982%201.36355%2028%202.76551%2028H19.6886C21.0906%2028%2022.2271%2026.8982%2022.2271%2025.5391V7.38281Z'%20fill='currentColor'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='currentColor'/%3e%3cpath%20d='M16.304%2013.1797H6.15011C5.68241%2013.1797%205.30396%2012.8128%205.30396%2012.3594C5.30396%2011.906%205.68241%2011.5391%206.15011%2011.5391H16.304C16.7717%2011.5391%2017.1501%2011.906%2017.1501%2012.3594C17.1501%2012.8128%2016.7717%2013.1797%2016.304%2013.1797Z'%20fill='white'/%3e%3cpath%20d='M16.304%2016.4609H6.15011C5.68241%2016.4609%205.30396%2016.094%205.30396%2015.6406C5.30396%2015.1872%205.68241%2014.8203%206.15011%2014.8203H16.304C16.7717%2014.8203%2017.1501%2015.1872%2017.1501%2015.6406C17.1501%2016.094%2016.7717%2016.4609%2016.304%2016.4609Z'%20fill='white'/%3e%3cpath%20d='M16.304%2019.7422H6.15011C5.68241%2019.7422%205.30396%2019.3753%205.30396%2018.9219C5.30396%2018.4685%205.68241%2018.1016%206.15011%2018.1016H16.304C16.7717%2018.1016%2017.1501%2018.4685%2017.1501%2018.9219C17.1501%2019.3753%2016.7717%2019.7422%2016.304%2019.7422Z'%20fill='white'/%3e%3cpath%20d='M12.9193%2023.0234H6.15011C5.68241%2023.0234%205.30396%2022.6565%205.30396%2022.2031C5.30396%2021.7497%205.68241%2021.3828%206.15011%2021.3828H12.9193C13.387%2021.3828%2013.7655%2021.7497%2013.7655%2022.2031C13.7655%2022.6565%2013.387%2023.0234%2012.9193%2023.0234Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_15061'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Fb=A=>c.jsx(XG,{...A}),A3=A=>c.jsx(eG,{...A}),e3=A=>c.jsx(tG,{...A}),t3=A=>c.jsx(sG,{...A}),o3="data:image/svg+xml,%3csvg%20viewBox='0%200%2030%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.58122%200H1C0.447715%200%200%200.447715%200%200.999999V21.0737H30V3.71273H12.0217L7.58122%200Z'%20fill='%23ADDAE9'/%3e%3cpath%20d='M10.9928%200.157898H29C29.5523%200.157898%2030%200.605613%2030%201.1579V20C30%2020.5523%2029.5523%2021%2029%2021H1.00002C0.447731%2021%201.71661e-05%2020.5523%201.71661e-05%2020V3.93087C1.71661e-05%203.37858%200.447733%202.93087%201.00002%202.93087H6.55236L10.9928%200.157898Z'%20fill='%23CAE9F3'/%3e%3c/svg%3e",r3=A=>c.jsx(o3,{...A}),n3="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21%2016.0019V8.00186C20.9996%207.65113%2020.9071%207.30667%2020.7315%207.00302C20.556%206.69937%2020.3037%206.44722%2020%206.27186L13%202.27186C12.696%202.09632%2012.3511%202.00391%2012%202.00391C11.6489%202.00391%2011.304%202.09632%2011%202.27186L4%206.27186C3.69626%206.44722%203.44398%206.69937%203.26846%207.00302C3.09294%207.30667%203.00036%207.65113%203%208.00186V16.0019C3.00036%2016.3526%203.09294%2016.697%203.26846%2017.0007C3.44398%2017.3043%203.69626%2017.5565%204%2017.7319L11%2021.7319C11.304%2021.9074%2011.6489%2021.9998%2012%2021.9998C12.3511%2021.9998%2012.696%2021.9074%2013%2021.7319L20%2017.7319C20.3037%2017.5565%2020.556%2017.3043%2020.7315%2017.0007C20.9071%2016.697%2020.9996%2016.3526%2021%2016.0019Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.26953%206.96094L11.9995%2012.0109L20.7295%206.96094'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%2022.08V12'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",a3=A=>c.jsx(n3,{...A}),i3=A=>c.jsx(fS,{...A}),s3="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%203H2L10%2012.46V19L14%2021V12.46L22%203Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",l3=A=>c.jsx(s3,{...A}),c3="data:image/svg+xml,%3csvg%20viewBox='0%200%2030%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.58122%200H1C0.447715%200%200%200.447715%200%200.999999V21.0737H30V3.71273H12.0217L7.58122%200Z'%20fill='%23ADDAE9'/%3e%3crect%20x='1.2179'%20y='2.44446'%20width='28.0128'%20height='15.8889'%20fill='white'/%3e%3cpath%20d='M10.9928%201.1579H29C29.5523%201.1579%2030%201.60561%2030%202.1579V21C30%2021.5523%2029.5523%2022%2029%2022H1.00002C0.447731%2022%201.71661e-05%2021.5523%201.71661e-05%2021V4.93087C1.71661e-05%204.37858%200.447733%203.93087%201.00002%203.93087H6.55236L10.9928%201.1579Z'%20fill='%23CAE9F3'/%3e%3c/svg%3e",g3=A=>c.jsx(c3,{...A}),u3=A=>c.jsx(aG,{...A}),d3=A=>c.jsx(iM,{...A}),B3=A=>c.jsx(iG,{...A}),p3="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1960_14704)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23E1E1E1'/%3e%3cpath%20d='M9%2017L14.1962%2021.5H3.80385L9%2017Z'%20fill='%238BDC6F'/%3e%3cpath%20d='M13%2014L18.1963%2021.5H7.80396L13%2014Z'%20fill='%238BDC6F'/%3e%3ccircle%20cx='7'%20cy='11'%20r='2'%20fill='%23EFC942'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1960_14704'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",C3=A=>c.jsx(p3,{...A});function m3(A){return mA({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M74.6 256c0-38.3 31.1-69.4 69.4-69.4h88V144h-88c-61.8 0-112 50.2-112 112s50.2 112 112 112h88v-42.6h-88c-38.3 0-69.4-31.1-69.4-69.4zm85.4 22h192v-44H160v44zm208-134h-88v42.6h88c38.3 0 69.4 31.1 69.4 69.4s-31.1 69.4-69.4 69.4h-88V368h88c61.8 0 112-50.2 112-112s-50.2-112-112-112z"}}]})(A)}const h3=A=>c.jsx(m3,{...A}),Q3=A=>c.jsx(mQ,{...A}),E3=A=>c.jsx(yG,{...A}),I3=A=>c.jsx(cM,{...A}),w3="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1813_15242)'%3e%3cpath%20d='M21.788%207.38281L16.3739%205.74219L14.827%200H3.22546C2.37112%200%201.67859%200.734508%201.67859%201.64062V26.3594C1.67859%2027.2655%202.37112%2028%203.22546%2028H20.2411C21.0954%2028%2021.788%2027.2655%2021.788%2026.3594V7.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7879%207.38281V26.3594C21.7879%2027.2655%2021.0954%2028%2020.2411%2028H11.8571V0H14.827L16.3739%205.74219L21.7879%207.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.788%207.38281H16.3739C15.5231%207.38281%2014.827%206.64453%2014.827%205.74219V0C15.0281%200%2015.2292%200.0820312%2015.3684%200.246148L21.5559%206.80865C21.7106%206.95625%2021.788%207.16953%2021.788%207.38281Z'%20fill='%23BDBDBD'/%3e%3cpath%20d='M20.5333%2022.4259C20.5333%2022.925%2020.1483%2023.3333%2019.6778%2023.3333H0.855556C0.385%2023.3333%200%2022.925%200%2022.4259V13.3519C0%2012.8528%200.385%2012.4445%200.855556%2012.4445H19.6778C20.1483%2012.4445%2020.5333%2012.8528%2020.5333%2013.3519V22.4259Z'%20fill='%23FF3E3E'/%3e%3cpath%20d='M4.25304%2017.732V16.448H4.98504C5.09304%2016.448%205.19704%2016.456%205.29704%2016.472C5.39704%2016.488%205.48504%2016.52%205.56104%2016.568C5.63704%2016.612%205.69704%2016.676%205.74104%2016.76C5.78904%2016.844%205.81304%2016.954%205.81304%2017.09C5.81304%2017.226%205.78904%2017.336%205.74104%2017.42C5.69704%2017.504%205.63704%2017.57%205.56104%2017.618C5.48504%2017.662%205.39704%2017.692%205.29704%2017.708C5.19704%2017.724%205.09304%2017.732%204.98504%2017.732H4.25304ZM3.31104%2015.716V20H4.25304V18.464H5.24304C5.51104%2018.464%205.73904%2018.426%205.92704%2018.35C6.11504%2018.27%206.26704%2018.166%206.38304%2018.038C6.50304%2017.91%206.58904%2017.764%206.64104%2017.6C6.69704%2017.432%206.72504%2017.262%206.72504%2017.09C6.72504%2016.914%206.69704%2016.744%206.64104%2016.58C6.58904%2016.416%206.50304%2016.27%206.38304%2016.142C6.26704%2016.014%206.11504%2015.912%205.92704%2015.836C5.73904%2015.756%205.51104%2015.716%205.24304%2015.716H3.31104Z'%20fill='white'/%3e%3cpath%20d='M8.85499%2019.208V16.508H9.52699C9.75899%2016.508%209.95299%2016.542%2010.109%2016.61C10.269%2016.674%2010.397%2016.768%2010.493%2016.892C10.589%2017.016%2010.657%2017.166%2010.697%2017.342C10.741%2017.514%2010.763%2017.708%2010.763%2017.924C10.763%2018.16%2010.733%2018.36%2010.673%2018.524C10.613%2018.688%2010.533%2018.822%2010.433%2018.926C10.333%2019.026%2010.219%2019.098%2010.091%2019.142C9.96299%2019.186%209.83099%2019.208%209.69499%2019.208H8.85499ZM7.91299%2015.716V20H9.76099C10.089%2020%2010.373%2019.946%2010.613%2019.838C10.857%2019.726%2011.059%2019.574%2011.219%2019.382C11.383%2019.19%2011.505%2018.962%2011.585%2018.698C11.665%2018.434%2011.705%2018.146%2011.705%2017.834C11.705%2017.478%2011.655%2017.168%2011.555%2016.904C11.459%2016.64%2011.323%2016.42%2011.147%2016.244C10.975%2016.068%2010.769%2015.936%2010.529%2015.848C10.293%2015.76%2010.037%2015.716%209.76099%2015.716H7.91299Z'%20fill='white'/%3e%3cpath%20d='M12.9603%2015.716V20H13.9023V18.23H15.6963V17.498H13.9023V16.508H15.9723V15.716H12.9603Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1813_15242'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",f3=A=>c.jsx(w3,{...A}),b3=A=>c.jsx(vG,{...A}),D3=A=>c.jsx(gM,{...A}),v3="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1960_14734)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23E1E1E1'/%3e%3cpath%20d='M9%2017L14.1962%2021.5H3.80385L9%2017Z'%20fill='%238BDC6F'/%3e%3cpath%20d='M13%2014L18.1963%2021.5H7.80396L13%2014Z'%20fill='%238BDC6F'/%3e%3ccircle%20cx='7'%20cy='11'%20r='2'%20fill='%23EFC942'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1960_14734'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",y3=A=>c.jsx(v3,{...A}),x3=A=>c.jsx(yS,{...A}),k3=A=>c.jsx(dM,{...A}),H3="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M18%208C19.6569%208%2021%206.65685%2021%205C21%203.34315%2019.6569%202%2018%202C16.3431%202%2015%203.34315%2015%205C15%206.65685%2016.3431%208%2018%208Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M6%2015C7.65685%2015%209%2013.6569%209%2012C9%2010.3431%207.65685%209%206%209C4.34315%209%203%2010.3431%203%2012C3%2013.6569%204.34315%2015%206%2015Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M18%2022C19.6569%2022%2021%2020.6569%2021%2019C21%2017.3431%2019.6569%2016%2018%2016C16.3431%2016%2015%2017.3431%2015%2019C15%2020.6569%2016.3431%2022%2018%2022Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M8.58984%2013.51L15.4198%2017.49'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M15.4098%206.51001L8.58984%2010.49'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e",S3=A=>c.jsx(H3,{...A}),M3=A=>c.jsx(nG,{...A}),L3="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_14941)'%3e%3cpath%20d='M21.7881%207.38281L16.374%205.74219L14.8271%200H3.22559C2.37125%200%201.67871%200.734508%201.67871%201.64062V26.3594C1.67871%2027.2655%202.37125%2028%203.22559%2028H20.2412C21.0956%2028%2021.7881%2027.2655%2021.7881%2026.3594V7.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7881%207.38281V26.3594C21.7881%2027.2655%2021.0955%2028%2020.2412%2028H11.8572V0H14.8271L16.374%205.74219L21.7881%207.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7881%207.38281H16.374C15.5232%207.38281%2014.8271%206.64453%2014.8271%205.74219V0C15.0282%200%2015.2293%200.0820312%2015.3685%200.246148L21.556%206.80865C21.7107%206.95625%2021.7881%207.16953%2021.7881%207.38281Z'%20fill='%23BDBDBD'/%3e%3cpath%20d='M20.5333%2022.4259C20.5333%2022.925%2020.1483%2023.3333%2019.6778%2023.3333H0.855556C0.385%2023.3333%200%2022.925%200%2022.4259V13.3519C0%2012.8528%200.385%2012.4444%200.855556%2012.4444H19.6778C20.1483%2012.4444%2020.5333%2012.8528%2020.5333%2013.3519V22.4259Z'%20fill='%23161C28'/%3e%3cpath%20d='M4.62629%2016.508V20H5.56828V16.508H6.85229V15.716H3.34229V16.508H4.62629Z'%20fill='white'/%3e%3cpath%20d='M8.99625%2017.756L7.50225%2020H8.55825L9.51225%2018.518L10.4483%2020H11.5703L10.0763%2017.762L11.4503%2015.716H10.4183L9.54825%2017.084L8.70825%2015.716H7.61625L8.99625%2017.756Z'%20fill='white'/%3e%3cpath%20d='M13.4962%2016.508V20H14.4382V16.508H15.7222V15.716H12.2122V16.508H13.4962Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_14941'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",T3=A=>c.jsx(L3,{...A}),N3="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_14989)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23C9E3F4'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23C9E3F4'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23AAC4D6'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_14989'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",F3=A=>c.jsx(N3,{...A}),P3="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2012.4503C10.3236%2012.894%2010.7365%2013.2612%2011.2106%2013.5269C11.6847%2013.7926%2012.209%2013.9505%2012.7479%2013.9901C13.2868%2014.0297%2013.8277%2013.95%2014.3339%2013.7563C14.8401%2013.5626%2015.2998%2013.2596%2015.6817%2012.8677L17.9424%2010.549C18.6287%209.82019%2019.0084%208.84404%2018.9999%207.83081C18.9913%206.81758%2018.595%205.84834%2017.8965%205.13185C17.1979%204.41536%2016.2529%204.00895%2015.265%204.00015C14.2771%203.99134%2013.3254%204.38085%2012.6148%205.08478L11.3187%206.4064'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13%2010.5497C12.6764%2010.106%2012.2635%209.73881%2011.7894%209.47313C11.3153%209.20745%2010.791%209.04946%2010.2521%209.00987C9.7132%208.97029%209.17231%209.05004%208.66611%209.24371C8.15991%209.43738%207.70024%209.74045%207.31828%2010.1323L5.05764%2012.451C4.37132%2013.1798%203.99156%2014.156%204.00014%2015.1692C4.00873%2016.1824%204.40497%2017.1517%205.10354%2017.8681C5.80211%2018.5846%206.7471%2018.991%207.73498%2018.9999C8.72287%2019.0087%209.6746%2018.6192%2010.3852%2017.9152L11.6738%2016.5936'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.1582%202.67383L9.06952%205.30645'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.4316%2017.667L16.8262%2015.3902'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%205.28906L7.23775%206.94848'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.7402%2014.2783L18.1301%2013.3044'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",G3=A=>c.jsx(P3,{...A}),O3=A=>c.jsx(hQ,{...A}),R3="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21.9982%207.38281L16.0756%205.74219L14.3835%200H1.69217C0.757586%200%200%200.734508%200%201.64062V26.3594C0%2027.2655%200.757586%2028%201.69217%2028H20.3061C21.2407%2028%2021.9982%2027.2655%2021.9982%2026.3594V7.38281Z'%20fill='%2359C36A'/%3e%3cpath%20d='M21.9982%207.38281V26.3594C21.9982%2027.2655%2021.2406%2028%2020.306%2028H11.1345V0H14.3834L16.0756%205.74219L21.9982%207.38281Z'%20fill='%2359C36A'/%3e%3cpath%20d='M16.0753%2011.5391H5.92226C5.4546%2011.5391%205.07617%2011.906%205.07617%2012.3594V22.2031C5.07617%2022.6565%205.4546%2023.0234%205.92226%2023.0234H16.0753C16.543%2023.0234%2016.9214%2022.6565%2016.9214%2022.2031V12.3594C16.9214%2011.906%2016.543%2011.5391%2016.0753%2011.5391ZM6.76834%2016.4609H10.1527V18.1016H6.76834V16.4609ZM11.8449%2016.4609H15.2292V18.1016H11.8449V16.4609ZM15.2292%2014.8203H11.8449V13.1797H15.2292V14.8203ZM10.1527%2013.1797V14.8203H6.76834V13.1797H10.1527ZM6.76834%2019.7422H10.1527V21.3828H6.76834V19.7422ZM11.8449%2021.3828V19.7422H15.2292V21.3828H11.8449Z'%20fill='white'/%3e%3cpath%20d='M16.0758%2011.5391H11.1365V23.0234H16.0758C16.5435%2023.0234%2016.9219%2022.6565%2016.9219%2022.2031V12.3594C16.9219%2011.906%2016.5435%2011.5391%2016.0758%2011.5391ZM15.2297%2021.3828H11.8454V19.7422H15.2297V21.3828ZM15.2297%2018.1016H11.8454V16.4609H15.2297V18.1016ZM15.2297%2014.8203H11.8454V13.1797H15.2297V14.8203Z'%20fill='white'/%3e%3cpath%20d='M21.9995%207.38281H16.0769C15.1462%207.38281%2014.3848%206.64453%2014.3848%205.74219V0C14.6047%200%2014.8247%200.0820312%2014.977%200.246148L21.7457%206.80865C21.9149%206.95625%2021.9995%207.16953%2021.9995%207.38281Z'%20fill='%23A0DEB0'/%3e%3c/svg%3e",U3=A=>c.jsx(R3,{...A}),K3="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon%20icon-tabler%20icon-tabler-trending-up'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20stroke-width='2'%20stroke='currentColor'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M3%2017l6%20-6l4%204l8%20-8'%20/%3e%3cpath%20d='M14%207l7%200l0%207'%20/%3e%3c/svg%3e",Y3=A=>c.jsx(K3,{...A}),j3="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon%20icon-tabler%20icon-tabler-trending-down'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20stroke-width='2'%20stroke='currentColor'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M3%207l6%206l4%20-4l8%208'%20/%3e%3cpath%20d='M21%2010l0%207l-7%200'%20/%3e%3c/svg%3e",_3=A=>c.jsx(j3,{...A}),W3=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor"}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),J3=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor"})]}),$3=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),z3="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='icon%20ms-1'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'%3e%3c/path%3e%3cpath%20d='M5%2012l14%200'%3e%3c/path%3e%3c/svg%3e",q3=A=>c.jsx(z3,{...A}),V3="data:image/svg+xml,%3csvg%20width='56'%20height='56'%20viewBox='0%200%2056%2056'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_8732_12671)'%3e%3crect%20x='10'%20y='10'%20width='36'%20height='36'%20rx='6'%20fill='%23143566'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M28.834%2018.6667H23.0007C22.5586%2018.6667%2022.1347%2018.8423%2021.8221%2019.1549C21.5096%2019.4675%2021.334%2019.8914%2021.334%2020.3334V33.6667C21.334%2034.1088%2021.5096%2034.5327%2021.8221%2034.8453C22.1347%2035.1578%2022.5586%2035.3334%2023.0007%2035.3334H33.0007C33.4427%2035.3334%2033.8666%2035.1578%2034.1792%2034.8453C34.4917%2034.5327%2034.6673%2034.1088%2034.6673%2033.6667V24.5001L28.834%2018.6667Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M28.834%2018.6667V24.5001H34.6673'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.666%2030.3333L31.3327%2028.6667L29.666%2027'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.334%2026.9999L24.6673%2028.6666L26.334%2030.3333'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_8732_12671'%20x='0'%20y='0'%20width='56'%20height='56'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.2%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_8732_12671'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_8732_12671'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",Z3=A=>c.jsx(V3,{...A}),X3="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='currentColor'%3e%3cpath%20d='M600-640%20480-760l120-120%20120%20120-120%20120Zm200%20120-80-80%2080-80%2080%2080-80%2080ZM483-80q-84%200-157.5-32t-128-86.5Q143-253%20111-326.5T79-484q0-146%2093-257.5T409-880q-18%2099%2011%20193.5T520-521q71%2071%20165.5%20100T879-410q-26%20144-138%20237T483-80Zm0-80q88%200%20163-44t118-121q-86-8-163-43.5T463-465q-61-61-97-138t-43-163q-77%2043-120.5%20118.5T159-484q0%20135%2094.5%20229.5T483-160Zm-20-305Z'/%3e%3c/svg%3e",AO=A=>c.jsx(X3,{...A}),eO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='currentColor'%3e%3cpath%20d='m354-287%20126-76%20126%2077-33-144%20111-96-146-13-58-136-58%20135-146%2013%20111%2097-33%20143ZM233-120l65-281L80-590l288-25%20112-265%20112%20265%20288%2025-218%20189%2065%20281-247-149-247%20149Zm457-560%2021-89-71-59%2094-8%2036-84%2036%2084%2094%208-71%2059%2021%2089-80-47-80%2047ZM480-481Z'/%3e%3c/svg%3e",tO=A=>c.jsx(eO,{...A}),oO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2016C14.2091%2016%2016%2014.2091%2016%2012C16%209.79086%2014.2091%208%2012%208V16Z'%20fill='%23394150'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%202C6.47715%202%202%206.47715%202%2012C2%2017.5228%206.47715%2022%2012%2022C17.5228%2022%2022%2017.5228%2022%2012C22%206.47715%2017.5228%202%2012%202ZM12%204V8C9.79086%208%208%209.79086%208%2012C8%2014.2091%209.79086%2016%2012%2016V20C16.4183%2020%2020%2016.4183%2020%2012C20%207.58172%2016.4183%204%2012%204Z'%20fill='%23394150'/%3e%3c/svg%3e",rO=A=>c.jsx(oO,{...A}),nO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208C9.7909%208%208%209.7909%208%2012C8%2014.2091%209.7909%2016%2012%2016L12%208Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%2022C17.5229%2022%2022%2017.5229%2022%2012C22%206.4772%2017.5228%202%2012%202C6.4772%202%202%206.4772%202%2012C2%2017.5229%206.4772%2022%2012%2022ZM12%2020L12%2016C14.2091%2016%2016%2014.2091%2016%2012C16%209.7909%2014.2091%208%2012%208L12%204C7.5817%204%204%207.5817%204%2012C4%2016.4183%207.5817%2020%2012%2020Z'%20fill='white'/%3e%3c/svg%3e",aO=A=>c.jsx(nO,{...A}),iO="data:image/svg+xml,%3csvg%20width='37'%20height='36'%20viewBox='0%200%2037%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6797%2030.6797H16.7538C16.4842%2030.6797%2016.2661%2030.8978%2016.2661%2031.1673V31.655C16.2661%2032.7308%2017.141%2033.6056%2018.2168%2033.6056C19.2925%2033.6056%2020.1674%2032.7308%2020.1674%2031.655V31.1673C20.1674%2030.8978%2019.9493%2030.6797%2019.6797%2030.6797Z'%20fill='%23868491'/%3e%3cpath%20d='M18.2163%2030.6797H16.7538C16.4842%2030.6797%2016.2661%2030.8978%2016.2661%2031.1673V31.655C16.2661%2032.7307%2017.1407%2033.6053%2018.2163%2033.6056V30.6797Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M25.8957%205.43603C23.6164%203.29393%2020.631%202.22101%2017.4998%202.41742C11.7935%202.7725%207.18363%207.53242%207.00551%2013.2541C6.87409%2017.4935%209.10093%2021.3967%2012.8174%2023.4411C13.7413%2023.9497%2014.3152%2024.9265%2014.3152%2025.9908V29.704C14.3152%2030.7798%2015.19%2031.6547%2016.2658%2031.6547H20.1671C21.2429%2031.6547%2022.1177%2030.7798%2022.1177%2029.704V25.9908C22.1177%2024.9274%2022.6959%2023.9483%2023.6274%2023.4349C27.2082%2021.4595%2029.4326%2017.6954%2029.4326%2013.6112C29.4326%2010.5281%2028.1435%207.54833%2025.8957%205.43603Z'%20fill='%23FFD93C'/%3e%3cpath%20d='M18.2172%2022.9604C23.3799%2022.9604%2027.5651%2018.7752%2027.5651%2013.6125C27.5651%208.44982%2023.3799%204.26465%2018.2172%204.26465C13.0546%204.26465%208.86938%208.44982%208.86938%2013.6125C8.86938%2018.7752%2013.0546%2022.9604%2018.2172%2022.9604Z'%20fill='%23FFE980'/%3e%3cpath%20d='M19.922%2016.5376C19.2738%2016.5376%2018.9424%2016.1594%2018.701%2015.8837C18.4881%2015.6408%2018.4033%2015.5622%2018.2133%2015.5622C18.0242%2015.5622%2017.94%2015.6408%2017.728%2015.8832C17.5004%2016.1437%2017.156%2016.5376%2016.5079%2016.5376C15.8602%2016.5376%2015.5159%2016.1437%2015.2883%2015.8832C15.0763%2015.6408%2014.9921%2015.5622%2014.803%2015.5622C14.5334%2015.5622%2014.3153%2015.3441%2014.3153%2015.0746C14.3153%2014.805%2014.5334%2014.5869%2014.803%2014.5869C15.4506%2014.5869%2015.7949%2014.9808%2016.0226%2015.2412C16.2346%2015.4837%2016.3188%2015.5622%2016.5079%2015.5622C16.697%2015.5622%2016.7817%2015.4837%2016.9937%2015.2412C17.2213%2014.9808%2017.5656%2014.5869%2018.2133%2014.5869C18.8615%2014.5869%2019.1929%2014.965%2019.4343%2015.2408C19.6472%2015.4837%2019.732%2015.5622%2019.922%2015.5622C20.1115%2015.5622%2020.1963%2015.4837%2020.4092%2015.2412C20.6373%2014.9808%2020.9816%2014.5869%2021.6302%2014.5869C21.8998%2014.5869%2022.1179%2014.805%2022.1179%2015.0746C22.1179%2015.3441%2021.8998%2015.5622%2021.6302%2015.5622C21.4402%2015.5622%2021.3554%2015.6408%2021.1425%2015.8837C20.9144%2016.1442%2020.5702%2016.5376%2019.922%2016.5376Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M16.7533%2025.8024C16.529%2025.8024%2016.3271%2025.6466%2016.277%2025.4185L13.8387%2014.2023C13.7815%2013.939%2013.9488%2013.6794%2014.2116%2013.6218C14.4764%2013.5637%2014.7345%2013.7319%2014.7921%2013.9947L17.2304%2025.2109C17.2876%2025.4742%2017.1204%2025.7338%2016.8575%2025.7914C16.8224%2025.7991%2016.7875%2025.8024%2016.7533%2025.8024Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M19.6802%2025.8022C19.6458%2025.8022%2019.6111%2025.7989%2019.5759%2025.7913C19.313%2025.7337%2019.1458%2025.4741%2019.203%2025.2108L21.6413%2013.9946C21.6989%2013.7317%2021.9561%2013.564%2022.2218%2013.6217C22.4847%2013.6793%2022.6518%2013.9389%2022.5947%2014.2022L20.1564%2025.4184C20.1064%2025.6466%2019.9045%2025.8022%2019.6802%2025.8022Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M14.2314%2025.3164C14.2833%2025.5354%2014.3152%2025.761%2014.3152%2025.9922V29.7053C14.3152%2030.7811%2015.1901%2031.656%2016.2658%2031.656H20.1671C21.2429%2031.656%2022.1178%2030.7811%2022.1178%2029.7053V25.9922C22.1178%2025.7612%2022.1499%2025.5355%2022.2021%2025.3164H14.2314Z'%20fill='%23B4B6BC'/%3e%3cpath%20d='M18.2162%2025.3164H14.2314C14.2833%2025.5354%2014.3152%2025.761%2014.3152%2025.9922V29.7053C14.3152%2030.7811%2015.1901%2031.656%2016.2658%2031.656H18.2162V25.3164Z'%20fill='%23B4B6BC'/%3e%3cpath%20d='M22.1175%2026.7773H18.2162V27.7527H22.1175V26.7773Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M22.1177%2028.7285H18.2164V29.7038H22.1177V28.7285Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M18.2162%2026.7773H14.3149V27.7527H18.2162V26.7773Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M18.2162%2028.7285H14.3149V29.7038H18.2162V28.7285Z'%20fill='%239A9A9A'/%3e%3c/svg%3e",sO=A=>c.jsx(iO,{...A}),lO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.8283%206C16.5981%204.66667%2018.5226%204.66667%2019.2924%206L31.8498%2027.75C32.6196%2029.0833%2031.6573%2030.75%2030.1177%2030.75H5.00298C3.46338%2030.75%202.50113%2029.0833%203.27093%2027.75L15.8283%206Z'%20fill='url(%23paint0_linear_11265_27105)'/%3e%3cpath%20d='M15.8278%206C16.5976%204.66667%2018.5229%204.66667%2019.2927%206L31.8493%2027.75C32.595%2029.0416%2031.7158%2030.646%2030.2605%2030.7451L30.1179%2030.75V29.75C30.8875%2029.7498%2031.3687%2028.9166%2030.9841%2028.25L18.4265%206.5C18.0657%205.87505%2017.1975%205.83607%2016.7731%206.38281L16.694%206.5L4.13643%2028.25C3.75177%2028.9166%204.23306%2029.7498%205.00264%2029.75V30.75L4.86006%2030.7451C3.4517%2030.6492%202.5826%2029.1436%203.20381%2027.876L3.2712%2027.75L15.8278%206ZM30.1179%2029.75V30.75H5.00264V29.75H30.1179Z'%20fill='%23FFD93C'/%3e%3cpath%20d='M18.9476%2012.0938L18.7226%2022.572H16.5272L16.309%2012.0938H18.9476ZM17.6249%2027.0938C17.2112%2027.0938%2016.8567%2026.9392%2016.5612%2026.63C16.2703%2026.3208%2016.1249%2025.944%2016.1249%2025.4995C16.1249%2025.0648%2016.2703%2024.6928%2016.5612%2024.3836C16.8567%2024.0744%2017.2112%2023.9198%2017.6249%2023.9198C18.0294%2023.9198%2018.3794%2024.0744%2018.6749%2024.3836C18.9749%2024.6928%2019.1249%2025.0648%2019.1249%2025.4995C19.1249%2025.7942%2019.0544%2026.0623%2018.9135%2026.3039C18.7772%2026.5454%2018.5953%2026.7387%2018.3681%2026.8836C18.1453%2027.0237%2017.8976%2027.0938%2017.6249%2027.0938Z'%20fill='black'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11265_27105'%20x1='17.5604'%20y1='3'%20x2='17.5604'%20y2='40'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFE980'/%3e%3cstop%20offset='0.932692'%20stop-color='%23FFD93C'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",cO=A=>c.jsx(lO,{...A}),gO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%206C11.3831%206%206%2011.3832%206%2018C6%2024.6168%2011.3831%2030%2018%2030C24.6169%2030%2030%2024.6168%2030%2018C30%2011.3832%2024.6169%206%2018%206ZM18%208.32256C20.2505%208.32256%2022.324%209.09473%2023.9696%2010.3881L10.3881%2023.9696C9.09478%2022.324%208.32256%2020.2505%208.32256%2018C8.32256%2012.6639%2012.6639%208.32256%2018%208.32256ZM18%2027.6774C15.7495%2027.6774%2013.676%2026.9053%2012.0304%2025.6119L25.6119%2012.0304C26.9053%2013.676%2027.6774%2015.7495%2027.6774%2018C27.6774%2023.3361%2023.3361%2027.6774%2018%2027.6774Z'%20fill='url(%23paint0_linear_11264_27095)'/%3e%3cpath%20d='M29.9167%2018C29.9167%2011.4292%2024.5709%206.08333%2018%206.08333C11.4291%206.08333%206.08333%2011.4292%206.08333%2018C6.08333%2024.5708%2011.4291%2029.9167%2018%2029.9167C24.5709%2029.9167%2029.9167%2024.5708%2029.9167%2018ZM26.527%2018C26.527%2016.4591%2026.1141%2015.0148%2025.3961%2013.7661L13.7661%2025.3961C15.0148%2026.1141%2016.4591%2026.527%2018%2026.527V27.6104L17.5832%2027.6008C15.5096%2027.5119%2013.6043%2026.763%2012.0723%2025.559L25.559%2012.0723C26.8433%2013.7064%2027.6104%2015.7652%2027.6104%2018L27.5977%2018.4941C27.3396%2023.5644%2023.1334%2027.6104%2018%2027.6104V26.527C22.7007%2026.527%2026.527%2022.7007%2026.527%2018ZM18.4168%208.39917C20.4904%208.4881%2022.3957%209.23699%2023.9277%2010.441L10.441%2023.9277C9.23704%2022.3957%208.4881%2020.4904%208.39917%2018.4168L8.38965%2018C8.38965%2012.7009%2012.7009%208.38965%2018%208.38965L18.4168%208.39917ZM9.47298%2018C9.47298%2019.5404%209.88531%2020.9844%2010.6029%2022.2328L22.2328%2010.6029C20.9844%209.8853%2019.5404%209.47298%2018%209.47298C13.2993%209.47298%209.47298%2013.2993%209.47298%2018ZM31%2018C31%2025.1691%2025.1692%2031%2018%2031C10.8308%2031%205%2025.1691%205%2018C5%2010.8309%2010.8308%205%2018%205C25.1692%205%2031%2010.8309%2031%2018Z'%20fill='url(%23paint1_linear_11264_27095)'/%3e%3cpath%20d='M31%2018C31%2010.9428%2025.35%205.18214%2018.335%205.00391L18%205C10.8308%205%205%2010.8309%205%2018L5.00391%2018.335C5.17931%2025.2386%2010.7613%2030.8207%2017.665%2030.9961L18%2031C25.0573%2031%2030.8179%2025.3499%2030.9961%2018.335L31%2018ZM29.6162%2018C29.6162%2011.5949%2024.4052%206.38379%2018%206.38379C11.5948%206.38379%206.38379%2011.5949%206.38379%2018C6.38379%2024.4051%2011.5948%2029.6162%2018%2029.6162V29.917L17.6934%2029.9131C11.3655%2029.7525%206.24754%2024.6344%206.08691%2018.3066L6.08301%2018C6.08301%2011.4292%2011.4291%206.08301%2018%206.08301L18.3066%206.08691C24.7364%206.25013%2029.917%2011.5317%2029.917%2018L29.9131%2018.3066C29.7499%2024.7363%2024.4684%2029.917%2018%2029.917V29.6162C24.4052%2029.6162%2029.6162%2024.4051%2029.6162%2018ZM25.7949%2011.8867C27.1191%2013.5716%2027.9102%2015.6954%2027.9102%2018V18.0078L27.8975%2018.502V18.5098C27.6311%2023.7386%2023.2939%2027.9102%2018%2027.9102H17.9932L17.5762%2027.9004H17.5703C15.4317%2027.8087%2013.4663%2027.0363%2011.8867%2025.7949L11.6211%2025.5859L25.5859%2011.6211L25.7949%2011.8867ZM12.0723%2025.5586C13.6042%2026.7626%2015.5095%2027.5116%2017.583%2027.6006L18%2027.6104C22.9728%2027.6104%2027.0751%2023.8136%2027.5615%2018.9668L27.5977%2018.4941L27.6104%2018C27.6104%2015.7652%2026.8429%2013.7063%2025.5586%2012.0723L12.0723%2025.5586ZM26.2266%2018C26.2266%2016.6539%2025.8993%2015.3851%2025.3232%2014.2627L14.2627%2025.3232C15.3851%2025.8993%2016.6539%2026.2266%2018%2026.2266C22.5351%2026.2266%2026.2266%2022.5351%2026.2266%2018ZM18.0068%208.08984L18.4238%208.09961H18.4297L18.8281%208.125C20.8122%208.28992%2022.6323%209.04117%2024.1133%2010.2051L24.3789%2010.4141L10.4141%2024.3789L10.2051%2024.1133C8.96372%2022.5337%208.19133%2020.5683%208.09961%2018.4297V18.4238L8.08984%2018.0068V18L8.10254%2017.4912C8.36824%2012.262%2012.7059%208.08984%2018%208.08984H18.0068ZM18%208.38965C12.7009%208.38965%208.38965%2012.7009%208.38965%2018L8.39941%2018.417C8.48838%2020.4905%209.23748%2022.3958%2010.4414%2023.9277L23.9277%2010.4414C22.3958%209.23743%2020.4905%208.48838%2018.417%208.39941L18%208.38965ZM18.2881%209.47754C19.7202%209.52552%2021.0622%209.93004%2022.2324%2010.6025L10.6025%2022.2324C9.93005%2021.0622%209.52552%2019.7202%209.47754%2018.2881L9.47266%2018C9.47266%2013.2993%2013.2993%209.47266%2018%209.47266L18.2881%209.47754ZM9.77344%2018C9.77344%2019.3452%2010.0995%2020.6135%2010.6748%2021.7354L21.7354%2010.6748C20.6135%2010.0995%2019.3452%209.77344%2018%209.77344C13.4649%209.77344%209.77344%2013.4649%209.77344%2018ZM26.5156%2018.4385C26.2865%2022.9364%2022.5537%2026.5273%2018%2026.5273C16.4593%2026.5273%2015.0152%2026.1143%2013.7666%2025.3965L25.3965%2013.7666C26.1143%2015.0152%2026.5273%2016.4593%2026.5273%2018L26.5156%2018.4385ZM31.2998%2018C31.2998%2025.3348%2025.3349%2031.2998%2018%2031.2998C10.6651%2031.2998%204.7002%2025.3348%204.7002%2018C4.7002%2010.6652%2010.6651%204.7002%2018%204.7002C25.3349%204.7002%2031.2998%2010.6652%2031.2998%2018Z'%20fill='url(%23paint2_linear_11264_27095)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11264_27095'%20x1='18'%20y1='6'%20x2='18'%20y2='30'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ED5A3B'/%3e%3cstop%20offset='1'%20stop-color='%23AF3117'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_11264_27095'%20x1='18'%20y1='5'%20x2='18'%20y2='31'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EC5A3A'/%3e%3cstop%20offset='1'%20stop-color='%23AF3117'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_11264_27095'%20x1='18'%20y1='5'%20x2='18'%20y2='31'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EB5A39'/%3e%3cstop%20offset='1'%20stop-color='%23B03117'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",uO=A=>c.jsx(gO,{...A}),dO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%205.15039H28C28.4694%205.15039%2028.8496%205.53056%2028.8496%206V26.6445C28.8496%2026.8769%2028.755%2027.0994%2028.5869%2027.2598L24.0205%2031.6152C23.8625%2031.766%2023.652%2031.8496%2023.4336%2031.8496H7C6.53056%2031.8496%206.15039%2031.4694%206.15039%2031V6C6.15039%205.53056%206.53056%205.15039%207%205.15039Z'%20fill='%23FEFEFE'%20stroke='%23666666'%20stroke-width='0.3'/%3e%3cpath%20d='M26.0982%2012.5596H8.58191V13.083H26.0982V12.5596Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2015.3857H8.58191V15.9092H26.0982V15.3857Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2018.2109H8.58191V18.7344H26.0982V18.2109Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2021.0039H8.58191V21.5273H26.0982V21.0039Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2023.8291H8.58191V24.3525H26.0982V23.8291Z'%20fill='%23666666'/%3e%3cpath%20d='M16.8516%2027.0947H8.58191V27.6181H16.8516V27.0947Z'%20fill='%23666666'/%3e%3cpath%20d='M23.9056%2032.3591L29%2027.2646H23.9056V32.3591Z'%20fill='%23F4F2F2'/%3e%3cpath%20d='M21%209H14V10H21V9Z'%20fill='%23535353'/%3e%3cpath%20d='M23.9339%2014.783L22.4576%2013.9355L21.6053%2015.4034L23.0816%2016.2508L23.9339%2014.783Z'%20fill='%23E0E1E2'/%3e%3cpath%20d='M25.6385%2011.8475L24.8948%2011.4206C24.7937%2011.3625%2024.6837%2011.3307%2024.5715%2011.3222C24.5154%2011.318%2024.4589%2011.3196%2024.4026%2011.3276C24.1208%2011.3654%2023.8457%2011.5452%2023.6789%2011.8325L22.4576%2013.9357L23.9339%2014.7831L25.6385%2011.8475Z'%20fill='%23E85738'/%3e%3cpath%20d='M24.9268%2017.3103L23.0815%2016.251L18.1808%2024.6911L20.0261%2025.7504L24.9268%2017.3103Z'%20fill='%23F2C91D'/%3e%3cpath%20d='M25.7791%2015.8425L23.9338%2014.7832L23.0815%2016.251L24.9268%2017.3104L25.7791%2015.8425Z'%20fill='%23C4C4C4'/%3e%3cpath%20d='M25.7791%2015.8427L27.0003%2013.7395C27.1671%2013.4522%2027.1541%2013.107%2026.9975%2012.8174C26.9664%2012.7598%2026.9289%2012.7036%2026.8866%2012.6514C26.8012%2012.5465%2026.6944%2012.4539%2026.568%2012.3813L25.6384%2011.8477L23.9338%2014.7833L25.7791%2015.8427Z'%20fill='%23B13218'/%3e%3cpath%20d='M20.0261%2025.7505L16.7046%2023.8438L16.6607%2027.7328L20.0261%2025.7505Z'%20fill='%23FDEDD9'/%3e%3cpath%20d='M17.8536%2026.95L16.7465%2026.3145L16.6608%2027.7331L17.8536%2026.95Z'%20fill='%234C4C4C'/%3e%3cpath%20d='M23.0816%2016.2508L21.6053%2015.4033L16.7046%2023.8434L18.1808%2024.6909L23.0816%2016.2508Z'%20fill='%23FFD93C'/%3e%3c/svg%3e",BO=A=>c.jsx(dO,{...A}),pO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.29297%205.15039H30.6719C31.2902%205.15044%2031.7575%205.5568%2031.8389%206.09961L31.8496%206.20215V24.1748C31.8496%2024.7617%2031.3364%2025.2273%2030.707%2025.2275H14.5459L14.5068%2025.2539L6.49219%2030.7158V25.2275H5.29297C4.63423%2025.2273%204.15039%2024.7343%204.15039%2024.1748V6.20215C4.15058%205.61545%204.66376%205.15058%205.29297%205.15039Z'%20fill='url(%23paint0_linear_11266_27250)'%20stroke='%23666666'%20stroke-width='0.3'/%3e%3cpath%20d='M25.6739%2012.3672H11V12.8057H25.6739V12.3672Z'%20fill='%23666666'/%3e%3cpath%20d='M25.6739%2014.7344H11V15.1729H25.6739V14.7344Z'%20fill='%23666666'/%3e%3cpath%20d='M25.6739%2017.0742H11V17.5127H25.6739V17.0742Z'%20fill='%23666666'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11266_27250'%20x1='16.7273'%20y1='21.25'%20x2='12.1155'%20y2='30.9251'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FEFEFE'/%3e%3cstop%20offset='1'%20stop-color='%23E0E0E0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",CO=A=>c.jsx(pO,{...A});function mO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"1.5",y1:"5.5",x2:"14.5",y2:"5.5"}),c.jsx("line",{x1:"1.5",y1:"9.5",x2:"14.5",y2:"9.5"}),c.jsx("line",{x1:"19",y1:"6",x2:"19",y2:"10"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}function hO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"1.5",y1:"5.5",x2:"14.5",y2:"5.5"}),c.jsx("line",{x1:"1.5",y1:"9.5",x2:"14.5",y2:"9.5"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}function QO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",width:"24",height:"16",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"5.5",y1:"3.5",x2:"5.5",y2:"11.5"}),c.jsx("line",{x1:"9",y1:"3.5",x2:"9",y2:"11.5"}),c.jsx("line",{x1:"19",y1:"6.5",x2:"19",y2:"9.5"}),c.jsx("line",{x1:"17.5",y1:"8",x2:"20.5",y2:"8"})]})}function EO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",width:"24",height:"16",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"5.5",y1:"3.5",x2:"5.5",y2:"11.5"}),c.jsx("line",{x1:"9",y1:"3.5",x2:"9",y2:"11.5"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}const Rc=new Map;function nA(A,e){typeof A=="object"?A.forEach(t=>{Rc.set(t,{renderer:e})}):Rc.set(A.toLowerCase(),{renderer:e})}nA("assign",A=>c.jsx(hQ,{...A})),nA("arrowup",A=>c.jsx(UP,{...A})),nA("arrowleft",A=>c.jsx(OP,{...A})),nA("arrowright",A=>c.jsx(RP,{...A})),nA("pause",A=>c.jsx(jP,{...A})),nA("play",A=>c.jsx(_P,{...A})),nA("date",A=>c.jsx(xG,{...A})),nA("hamburger",A=>c.jsx(DS,{...A})),nA("send",A=>c.jsx(xS,{...A})),nA("users",A=>c.jsx(QM,{...A})),nA("refresh",A=>c.jsx(uM,{...A})),nA("chevrondown",A=>c.jsx(Z8,{...A})),nA("chevronup",A=>c.jsx(X8,{...A})),nA("chevronright",A=>c.jsx(UG,{...A})),nA("chevronleft",A=>c.jsx(RG,{...A})),nA("dotmenu",A=>c.jsx(e3,{...A})),nA("dotmenuhorizontal",A=>c.jsx(A3,{...A})),nA("noresult",A=>c.jsx(BM,{...A})),nA("crm",A=>c.jsx(Tb,{...A})),nA("chat",A=>c.jsx(Tb,{...A})),nA("pencil",A=>c.jsx(oG,{...A})),nA("cube",A=>c.jsx(AG,{...A})),nA("apps",A=>c.jsx(CQ,{...A})),nA("permissions",A=>c.jsx(sM,{...A})),nA("close",A=>c.jsx(EM,{...A})),nA("star",A=>c.jsx(pM,{...A})),nA("help",A=>c.jsx(aM,{...A})),nA("compactlist",A=>c.jsx(WG,{...A})),nA("copy",A=>c.jsx(JG,{...A})),nA("move",A=>c.jsx(tM,{...A})),nA("rename",A=>c.jsx(cG,{...A})),nA("hyperlink",A=>c.jsx(B3,{...A})),nA("globe",A=>c.jsx(u3,{...A})),nA("link",A=>c.jsx(h3,{...A})),nA("looseList",A=>c.jsx(E3,{...A})),nA("options",A=>c.jsx(I3,{...A})),nA("search",A=>c.jsx(k3,{...A})),nA("filter",A=>c.jsx(l3,{...A})),nA("trash",A=>c.jsx(M3,{...A})),nA("pen",A=>c.jsx(b3,{...A})),nA("email",A=>c.jsx(t3,{...A})),nA("phone",A=>c.jsx(D3,{...A})),nA("home",A=>c.jsx(d3,{...A})),nA("user",A=>c.jsx(O3,{...A})),nA("exit",A=>c.jsx(QG,{...A})),nA("adduser",A=>c.jsx(hM,{...A})),nA("userminus",A=>c.jsx(mM,{...A})),nA("plus",A=>c.jsx(x3,{...A})),nA("inspect",A=>c.jsx(Z3,{...A})),nA("plus-circle",A=>c.jsx(vS,{...A})),nA("filledplus",A=>c.jsx(i3,{...A})),nA("darktolight",A=>c.jsx(aO,{...A})),nA("lighttodark",A=>c.jsx(rO,{...A})),nA("checkmark",A=>c.jsx(OG,{...A})),nA("valid",A=>c.jsx(q8,{...A})),nA("info",A=>c.jsx(z8,{...A})),nA("error",A=>c.jsx(fh,{...A})),nA("warning",A=>c.jsx(wh,{...A})),nA("board",A=>c.jsx(FG,{...A})),nA("list",A=>c.jsx(Q3,{...A})),nA("folder",A=>c.jsx(g3,{...A})),nA("folder-outline",A=>c.jsx(rM,{...A})),nA("emptyfolder",A=>c.jsx(r3,{...A})),nA("pdf",A=>c.jsx(f3,{...A})),nA("txt",A=>c.jsx(T3,{...A})),nA("doc",A=>c.jsx(Fb,{...A})),nA("docx",A=>c.jsx(Fb,{...A})),nA("doc-outline",A=>c.jsx(ZG,{...A})),nA("conf",A=>c.jsx(qP,{...A})),nA("code",A=>c.jsx(YG,{...A})),nA("codesandbox",A=>c.jsx(_G,{...A})),nA("box",A=>c.jsx(GG,{...A})),nA(["xls","xlsx"],A=>c.jsx(U3,{...A})),nA(["jpg","jpeg","png","webp","svg","gif","tif","ppt","pptx"],A=>c.jsx(C3,{...A})),nA("unknownfile",A=>c.jsx(F3,{...A})),nA("photo",A=>c.jsx(y3,{...A})),nA("previous",A=>c.jsx(XP,{...A})),nA("next",A=>c.jsx(ZP,{...A})),nA("like",A=>c.jsx(bS,{...A})),nA("reply",A=>c.jsx(WP,{...A})),nA("attach",A=>c.jsx(MG,{...A})),nA("attach2",A=>c.jsx(BG,{...A})),nA("emoji",A=>c.jsx(VP,{...A})),nA("message",A=>c.jsx(uG,{...A})),nA("upload",A=>c.jsx(CM,{...A})),nA("split-vertical",A=>c.jsx(hG,{...A})),nA("split-horizontal",A=>c.jsx(mG,{...A})),nA("swap",A=>c.jsx(rG,{...A})),nA("download",A=>c.jsx(oM,{...A})),nA("note",A=>c.jsx(dG,{...A})),nA("binding",A=>c.jsx(NG,{...A})),nA("database",A=>c.jsx(qG,{...A})),nA("unlink",A=>c.jsx(G3,{...A})),nA("api",A=>c.jsx(HG,{...A})),nA("expression",A=>c.jsx(a3,{...A})),nA("chat",A=>c.jsx(KP,{...A})),nA("hash",A=>c.jsx(YP,{...A})),nA("drive",A=>c.jsx(nM,{...A})),nA("lock",A=>c.jsx(lM,{...A})),nA("start",A=>c.jsx(pG,{...A})),nA("stop",A=>c.jsx(CG,{...A})),nA("restart",A=>c.jsx(fG,{...A})),nA("duplicate",A=>c.jsx(DG,{...A})),nA("connect",A=>c.jsx(EG,{...A})),nA("cog",A=>c.jsx(bG,{...A})),nA("sun",A=>c.jsx(IG,{...A})),nA("moon",A=>c.jsx(AO,{...A})),nA("stars",A=>c.jsx(tO,{...A})),nA("share",A=>c.jsx(S3,{...A})),nA("new-window",A=>c.jsx(Nb,{...A})),nA("paint",A=>c.jsx(wG,{...A})),nA("palette",A=>c.jsx(gG,{...A})),nA("trending-up",A=>c.jsx(Y3,{...A})),nA("trending-down",A=>c.jsx(_3,{...A})),nA("trending-level",A=>c.jsx(q3,{...A})),nA("sortasc",A=>c.jsx(W3,{...A})),nA("sortdesc",A=>c.jsx(J3,{...A})),nA("nosort",A=>c.jsx($3,{...A})),nA("admonition_info",A=>c.jsx(sO,{...A})),nA("admonition_warning",A=>c.jsx(cO,{...A})),nA("admonition_danger",A=>c.jsx(uO,{...A})),nA("admonition_note",A=>c.jsx(BO,{...A})),nA("admonition_tip",A=>c.jsx(CO,{...A})),nA("arrowdown",A=>c.jsx(GP,{...A})),nA("square",A=>c.jsx(zP,{...A})),nA("squarehalf",A=>c.jsx($P,{...A})),nA("squarefill",A=>c.jsx(JP,{...A})),nA("table-insert-row",A=>c.jsx(mO,{...A})),nA("table-delete-row",A=>c.jsx(hO,{...A})),nA("table-insert-column",A=>c.jsx(QO,{...A})),nA("table-delete-column",A=>c.jsx(EO,{...A}));function IO({children:A}){const e=d.useCallback(()=>Array.from(Rc.keys()),[]),t=d.useCallback(l=>Rc.get(l),[]),[o,r]=d.useState({}),n=d.useRef({}),a=d.useRef(null),i=d.useCallback(async l=>{if(n.current[l])return;const g=await(await fetch(l)).text(),u=document.createElement("div");u.style.display="none",u.innerHTML=g;const p={};for(let m=0;m<u.children[0].attributes.length;m++){const h=u.children[0].attributes[m];h.nodeName!=="class"&&(p[h.nodeName]=h.nodeValue)}Object.keys(p).forEach(m=>{u.children[0].removeAttribute(m)});const B=document.createElementNS("http://www.w3.org/2000/svg","symbol");B.innerHTML=u.children[0].innerHTML,B.id=l,B.setAttributeNS(null,"viewBox",p.viewBox),n.current[l]||(a.current.appendChild(B),n.current[l]=!0);const C={name:l,attributes:p};r(m=>({...m,[l]:C}))},[]),s=d.useMemo(()=>({getRegisteredIconNames:e,lookupIconRenderer:t,ensureCustomSvgIcon:i,customSvgs:o}),[o,i,e,t]);return c.jsxs(hp.Provider,{value:s,children:[A,c.jsx("svg",{style:{display:"none"},ref:a})]})}const wO="0.9.75",Pb={capitalize:hA.capitalize,pluralize:Mx,defaultTo:hA.defaultTo,toHashObject:Lx,findByField:Tx,distinct:Nx};function fO(A){return(A?new Date(A):new Date).toJSON()}function Gb(A){return new Date(A).toLocaleDateString()}function bO(A){return new Date(A).toLocaleString()}function DO(A){return new Date(A).toLocaleTimeString()}function vO(A){return se.format(new Date(A),"H:m")}function yO(A){return new Date(A).toLocaleDateString([],{month:"numeric",day:"2-digit"})}function Ob(A){return A?new Date(A):new Date}function xO(A,e,t){return A?fx(A,e,t):"-"}function kO(A){return A?se.isToday(new Date(A))?new Date(A).toLocaleTimeString():se.isThisWeek(new Date(A))?`${se.formatRelative(new Date(A),new Date)}`:new Date(A).toLocaleString():"-"}function HO(A){return A?se.isToday(new Date(A))?"Today":se.isYesterday(new Date(A))?"Yesterday":new Date(A).toLocaleDateString():"-"}function SO(A){return se.isToday(new Date(A))}function MO(A){return se.isYesterday(new Date(A))}function LO(A){return se.isTomorrow(new Date(A))}function TO(A,e=!1){const t=new Date,o=new Date(A),r=t.getTime()-o.getTime();if(r<0)return Gb(A);const n=Math.floor(r/1e3),a=Math.floor(n/60),i=Math.floor(a/60),s=Math.floor(i/24),l=Math.floor(s/7),g=Math.floor(s/30),u=Math.floor(s/365),p={second:{singular:e?"s":"second",plural:e?"s":"seconds"},minute:{singular:e?"min":"minute",plural:e?"min":"minutes"},hour:{singular:e?"hr":"hour",plural:e?"hrs":"hours"},day:{singular:e?"d":"day",plural:e?"d":"days"},week:{singular:e?"wk":"week",plural:e?"wks":"weeks"},month:{singular:e?"mo":"month",plural:e?"mos":"months"},year:{singular:e?"y":"year",plural:e?"yrs":"years"}};if(n<10)return"now";if(n<60){const C=n===1?p.second.singular:p.second.plural;return`${n} ${C} ago`}if(a<60){const C=a===1?p.minute.singular:p.minute.plural;return`${a} ${C} ago`}if(se.isToday(o)){const C=i===1?p.hour.singular:p.hour.plural;return`${i} ${C} ago`}if(se.isYesterday(o))return"yesterday";if(s<7){const C=s===1?p.day.singular:p.day.plural;return`${s} ${C} ago`}if(l<4){const C=l===1?p.week.singular:p.week.plural;return`${l} ${C} ago`}if(g<12){const C=g===1?p.month.singular:p.month.plural;return`${g} ${C} ago`}const B=u===1?p.year.singular:p.year.plural;return`${u} ${B} ago`}const Rb={isoDateString:fO,formatDate:Gb,formatDateTime:bO,formatTime:DO,formatTimeWithoutSeconds:vO,formatDateWithoutYear:yO,getDate:Ob,getDateUntilNow:xO,smartFormatDateTime:kO,smartFormatDate:HO,isToday:SO,isYesterday:MO,isTomorrow:LO,differenceInMinutes:se.differenceInMinutes,isSameDay:se.isSameDay,isThisYear:se.isThisYear,formatHumanElapsedTime:TO};function NO(A,e){if(A.length===0)return 0;const o=Ub(A)/A.length;return e?Number(o.toFixed(e)):o}function Ub(A){return A.reduce((e,t)=>e+t,0)}const FO={avg:NO,sum:Ub};var _e=(A=>(A.LOADER_LOADED="ContainerActionKind:LOADER_LOADED",A.LOADER_IN_PROGRESS_CHANGED="ContainerActionKind:LOADER_IN_PROGRESS_CHANGED",A.LOADER_IS_REFETCHING_CHANGED="ContainerActionKind:LOADER_IS_REFETCHING_CHANGED",A.LOADER_ERROR="ContainerActionKind:LOADER_ERROR",A.EVENT_HANDLER_STARTED="ContainerActionKind:EVENT_HANDLER_STARTED",A.EVENT_HANDLER_COMPLETED="ContainerActionKind:EVENT_HANDLER_COMPLETED",A.EVENT_HANDLER_ERROR="ContainerActionKind:EVENT_HANDLER_ERROR",A.COMPONENT_STATE_CHANGED="ContainerActionKind:COMPONENT_STATE_CHANGED",A.STATE_PART_CHANGED="ContainerActionKind:STATE_PART_CHANGED",A))(_e||{});function PO(A={}){const e=Object.keys(A);function t(r,n=new Set){if(!e.includes(r))return[r];n.add(r);const a=[];return A[r].forEach(i=>{n.has(i)||(n.add(i),a.push(...t(i,n)))}),a}const o={};return e.forEach(r=>{o[r]=[...new Set(t(r))]}),o}const GO=100;function OO(A){const e=A.collectStateTransitions;let t,o;return Qe((r,n)=>{const{uid:a}=n.payload;if(a===void 0&&n.type!==_e.STATE_PART_CHANGED)return console.error("uid not provided for control component",{state:r,action:n}),r;if(e)try{t=hA.cloneDeep(r[a])}catch(s){console.error("Error while cloning previous value",s)}switch(n.type){case _e.LOADER_IN_PROGRESS_CHANGED:{r[a]={...r[a],inProgress:n.payload.inProgress},i(r[a]);break}case _e.LOADER_IS_REFETCHING_CHANGED:{r[a]={...r[a],isRefetching:n.payload.isRefetching},i(r[a]);break}case _e.LOADER_LOADED:{const{data:s,pageInfo:l}=n.payload;r[a]={value:s,byId:Array.isArray(s)?hA.keyBy(s,g=>g.$id):void 0,inProgress:!1,loaded:s!==void 0,pageInfo:l},i(r[a]);break}case _e.LOADER_ERROR:{const{error:s}=n.payload;r[a]={...r[a],error:s,inProgress:!1,loaded:!0},i(r[a]);break}case _e.EVENT_HANDLER_STARTED:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!0},i(r[a]);break}case _e.EVENT_HANDLER_COMPLETED:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!1},i(r[a]);break}case _e.EVENT_HANDLER_ERROR:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!1},i(r[a]);break}case _e.COMPONENT_STATE_CHANGED:{const{state:s}=n.payload;r[a]={...r[a],...s},i(r[a]);break}case _e.STATE_PART_CHANGED:{const{path:s,value:l,target:g,actionType:u,localVars:p}=n.payload;if(u==="unset")hA.unset(r,s);else{let B=p;hA.setWith(r,s,l,(C,m,h)=>{if(B=B==null?void 0:B[m],C===void 0&&B===void 0&&hA.isPlainObject(g))return Object(C)}),i(r)}break}default:throw new Error}if(e){const s={action:n.type,uid:a,prevState:t,nextState:o};A.stateTransitions&&(A.stateTransitions.length>=GO&&A.stateTransitions.shift(),A.stateTransitions.push(s))}function i(s){if(e)try{o=hA.cloneDeep(s)}catch(l){console.error("Error while cloning next value",l)}}})}function Kb(A,e,t=[]){const o=n=>t.concat(n).join("."),r=new WeakMap;return new Proxy(A,{get:function(n,a,i){const s=Reflect.get(n,a,i);return s&&!s._ARROW_EXPR_&&!Object.isFrozen(s)&&typeof s=="object"&&["Array","Object"].includes(s.constructor.name)?(r.has(s)||r.set(s,Kb(s,e,t.concat(a))),r.get(s)):s},set:function(n,a,i,s){return e({action:"set",path:o(a),pathArray:t.concat(a),target:n,newValue:i,previousValue:Reflect.get(n,a,s)}),Reflect.set(n,a,i,s)},deleteProperty:function(n,a){return e({action:"unset",path:o(a),pathArray:t.concat(a),target:n}),Reflect.deleteProperty(n,a)}})}function RO(A,e,t){const o=Yr.get(A);return o?(e.unshift(t),o):A}const Yr=new Map;Yr.set(Array.prototype.filter,KO),Yr.set(Array.prototype.forEach,YO),Yr.set(Array.prototype.map,jO),Yr.set(Array.prototype.every,_O),Yr.set(Array.prototype.findIndex,JO),Yr.set(Array.prototype.find,WO),Yr.set(Array.prototype.flatMap,$O),Yr.set(Array.prototype.some,UO);async function UO(A,e){const t=await Promise.all(A.map(e));return A.some((o,r)=>t[r])}async function KO(A,e){const t=await Promise.all(A.map(e));return A.filter((o,r)=>t[r])}async function YO(A,e){for(let t=0;t<A.length;t++)await e(A[t],t,A)}async function jO(A,e){const t=[];for(let o=0;o<A.length;o++)t.push(await e(A[o],o,A));return t}async function _O(A,e){const t=await Promise.all(A.map(e));return t.every((o,r)=>t[r])}async function WO(A,e){const t=await Promise.all(A.map(e));return A.find((o,r)=>t[r])}async function JO(A,e){const t=await Promise.all(A.map(e));return A.findIndex((o,r)=>t[r])}async function $O(A,e){const t=await Promise.all(A.map(e));return A.flatMap((o,r)=>t[r])}async function Zt(A,e,t){const o=[];return Xi(e),t??(t=e.mainThread),await Kd(o,A,e,t??e.mainThread)}async function zO(A,e,t,...o){if(A.type!==ve)throw new Error("executeArrowExpression expects an 'ArrowExpression' object.");return await(await Uc(Kd,A))(A.args,e,t??e.mainThread,...o)}async function Kd(A,e,t,o){t.options||(t.options={defaultToOptionalMemberAccess:!0});const r=Kd;try{switch(e.type){case Fu:return iR(r,A,e,t,o);case Me:return Mm(A,e,o);case UA:return Lm(A,e,t,o);case Jo:return await qO(r,A,e,t,o);case an:return await VO(r,A,e,t,o);case dr:return await ZO(r,A,e,t,o);case Br:return await XO(r,A,e,t,o);case pr:return await AR(r,A,e,t,o);case _l:return await eR(r,A,e,t,o);case gt:return await tR(r,A,e,t,o);case Wl:return await oR(r,A,e,t,o);case sn:return await rR(r,A,e,t,o);case Ua:case Jl:return await nR(r,A,e,t,o);case qi:return await aR(r,A,e,t,o);case ve:return Om(A,e,o);case ut:throw new Error("Cannot use spread expression (...) with the current intermediate value.");default:throw new Error(`Unknown expression tree node: ${e.type}`)}}catch(n){throw n}}async function qO(A,e,t,o,r){return await A(e,t.obj,o,r),await Ft(t.obj,r),ql(e,t,o,r)}async function VO(A,e,t,o,r){return await A(e,t.obj,o,r),await Ft(t.obj,r),await A(e,t.member,o,r),e.pop(),await Ft(t.member,r),Tm(e,t,o,r)}async function ZO(A,e,t,o,r){if(!t.exprs||t.exprs.length===0)throw new Error("Missing expression sequence");const n=t.exprs.map(async i=>{const s=await A(e,i,o,r);return fe(i,{value:s},r),e.pop(),s}),a=n[n.length-1];return e.push(a),a}async function XO(A,e,t,o,r){const n=[];for(const a of t.items)if(a.type===ut){const i=await A(e,a.expr,o,r);if(e.pop(),!Array.isArray(i))throw new Error("Spread operator within an array literal expects an array operand.");n.push(...i)}else n.push(await A(e,a,o,r)),e.pop(),e.push(n);return fe(t,{value:n},r),e.push(n),n}async function AR(A,e,t,o,r){const n={};for(const a of t.props){if(!Array.isArray(a)){const s=await A(e,a.expr,o,r);if(e.pop(),Array.isArray(s))for(let l=0;l<s.length;l++)n[l]=s[l];else if(typeof s=="object")for(const[l,g]of Object.entries(s))n[l]=g;continue}let i;switch(a[0].type){case Me:i=a[0].value;break;case UA:i=a[0].name;break;default:i=await A(e,a[0],o,r),e.pop();break}n[i]=await A(e,a[1],o,r),e.pop()}return fe(t,{value:n},r),e.push(n),n}async function eR(A,e,t,o,r){return await A(e,t.expr,o,r),e.pop(),await Ft(t.expr,r),Nm(t,e,o,r)}async function tR(A,e,t,o,r){await A(e,t.left,o,r),e.pop();const n=await Ft(t.left,r);return t.op==="&&"&&!n?(fe(t,{value:n},r),n):t.op==="||"&&n?(fe(t,{value:n},r),n):(await A(e,t.right,o,r),e.pop(),await Ft(t.right,r),Fm(t,e,o,r))}async function oR(A,e,t,o,r){await A(e,t.cond,o,r),e.pop();const n=await Ft(t.cond,r),a=await A(e,n?t.thenE:t.elseE,o,r);return fe(t,{value:a},r),a}async function rR(A,e,t,o,r){const n=t.leftValue,a=gn(n,o,r),i=a&&a.type!=="block";i&&o.onWillUpdate&&o.onWillUpdate(a,a.name,"assignment"),await A(e,n,o,r),e.pop(),await Ft(n,r),await A(e,t.expr,o,r),e.pop(),await Ft(t.expr,r);const s=Pm(e,t,o,r);return i&&o.onDidUpdate&&o.onDidUpdate(a,a.name,"assignment"),s}async function nR(A,e,t,o,r){const n=gn(t.expr,o,r),a=n&&n.type!=="block";a&&o.onWillUpdate&&o.onWillUpdate(n,n.name,"pre-post"),await A(e,t.expr,o,r),e.pop(),await Ft(t.expr,r);const i=Gm(e,t,o,r);return a&&o.onDidUpdate&&o.onDidUpdate(n,n.name,"pre-post"),i}async function aR(A,e,t,o,r){var C,m;let n,a=null;if(t.obj.type===Jo){const h=await A(e,t.obj.obj,o,r);await Ft(t.obj.obj,r),n=ql(e,t.obj,o,r),t.obj.obj.type===UA&&(h!=null&&h._SUPPORT_IMPLICIT_CONTEXT)&&(a=h)}else await A(e,t.obj,o,r),n=await Ft(t.obj,r);e.pop();const i=[];if(n!=null&&n._ARROW_EXPR_)i.push(n.args,o,r,...t.arguments.map(h=>({...h,_EXPRESSION_:!0}))),n=await Uc(A,n);else if(t.obj.type===ve)i.push(t.obj.args.map(h=>h.name),o,r,...t.arguments.map(h=>({...h,_EXPRESSION_:!0})));else{for(let h=0;h<t.arguments.length;h++){const Q=t.arguments[h];if(Q.type===ut){await A([],Q.expr,o,r);const E=await Ft(Q.expr,r);if(!Array.isArray(E))throw new Error("Spread operator within a function invocation expects an array operand.");i.push(...E)}else if(Q.type===ve){const E=await Uc(A,Q),D=async(...I)=>E(Q.args,o,r,...I);i.push(D)}else{await A([],Q,o,r);const E=await Ft(Q,r);if(E!=null&&E._ARROW_EXPR_){const D=await Uc(A,E),I=(...w)=>D(E.args,o,r,...w);i.push(I)}else i.push(E)}}if(a)if(o.implicitContextGetter){const h=o.implicitContextGetter(a);i.unshift(h)}else throw new Error("Cannot use implicitContextGetter, it is undefined")}const s=$m(n);if(s.banned)throw new Error(`Function ${((C=s.func)==null?void 0:C.name)??"unknown"} is not allowed to call. ${(s==null?void 0:s.help)??""}`);const l=e.length>0?e.pop():o.localContext;n=RO(n,i,l);const g=gn(t.obj,o,r),u=g&&g.type!=="block";u&&o.onWillUpdate&&o.onWillUpdate(g,g.name,"function-call");const p=(m=o.options)!=null&&m.defaultToOptionalMemberAccess?n==null?void 0:n.call(l,...i):n.call(l,...i);let B=await Yb(p);return u&&o.onDidUpdate&&o.onDidUpdate(g,g.name,"function-call"),fe(t,{value:B},r),e.push(B),B}async function Uc(A,e){return async(...t)=>{const o=t[1],r=t[2],n={parent:r,childThreads:[],blocks:[{vars:{}}],loops:[],breakLabelValue:-1,closures:e.closureContext};if(r.childThreads.push(n),e.name){const p={vars:{}};n.blocks??(n.blocks=[]),n.blocks.push(p),p.vars[e.name]=e,p.constVars=new Set([e.name])}const a={vars:{}};n.blocks??(n.blocks=[]),n.blocks.push(a);const i=t[0];let s=!1;for(let p=0;p<i.length;p++){const B=i[p];let C;switch(B.type){case UA:{C={type:fo,id:B.name};break}case Ka:{C={type:fo,id:B.id,aDestr:B.aDestr,oDestr:B.oDestr};break}case ut:{s=!0,C={type:fo,id:B.expr.name};break}default:throw new Error("Unexpected arrow argument specification")}if(C)if(s){const m=t.slice(p+3);let h=[];for(const Q of m)Q!=null&&Q._EXPRESSION_?h.push(await A([],Q,o,r)):h.push(Q);await Kc(a,o,r,[C],!1,!0,h)}else{let m=t[p+3];m!=null&&m._EXPRESSION_&&(m=await A([],m,o,r)),await Kc(a,o,r,[C],!1,!0,m)}}let l,g;switch(e.statement.type){case _o:g=[];break;case Wo:g=[{type:Xn,expr:e.statement.expr}];break;case jo:g=e.statement.stmts;break;default:throw new Error(`Arrow expression with a body of '${e.statement.type}' is not supported yet.`)}await Yd(g,o,n),l=n.returnValue;const u=r.childThreads.indexOf(n);if(u<0)throw new Error("Cannot find thread to remove.");return r.childThreads.splice(u,1),n.blocks.pop(),l}}async function Yb(A){const e=new Map;return t(A);async function t(o){if(o==null)return o;const r=e.get(o);if(r)return r;if(Sm(o)){const n=await o;return e.set(o,n),t(n)}if(e.set(o,o),Array.isArray(o)){for(let n=0;n<o.length;n++){const a=await t(o[n]);o[n]!==a&&o.splice(n,1,a)}return o}if(hA.isPlainObject(o)){for(const n of Object.keys(o)){let a=await t(o[n]);o[n]!==a&&(o[n]=a)}return o}return o}}async function iR(A,e,t,o,r){const n=new Array(t.segments.length);for(let a=0;a<t.segments.length;++a){await A(e,t.segments[a],o,r),e.pop();const i=await Ft(t.segments[a],r);n[a]=i}return Um(n)}async function Ft(A,e){const t=$o(A,e),o=await Yb(t==null?void 0:t.value);return fe(A,{...t,value:o},e),o}async function Yd(A,e,t){var a,i,s;t||(t=Xi(e)),Xl(t,A);const o=new Km;o.push(me(Tr(A)));const r={processedStatements:0,maxQueueLength:o.length,unshiftedItems:0,clearToLabels:0,maxBlocks:0,maxLoops:0};let n=new Date().getTime();for(;o.length>0&&!((a=e.cancellationToken)!=null&&a.cancelled);){if(e.timeout&&new Date().getTime()-n>e.timeout)throw new Error("Script execution timeout");const l=o.dequeue();t.breakLabelValue=o.length>0?o.peek().label:-1;let g;try{await((i=e==null?void 0:e.onStatementStarted)==null?void 0:i.call(e,e,l.statement)),g=await sR(l.statement,(l==null?void 0:l.execInfo)??{},e,t)}catch(u){if(t.tryBlocks&&t.tryBlocks.length>0){const p=t.tryBlocks[t.tryBlocks.length-1];p.errorToThrow=u,p.errorSource=p.processingPhase,p.processingPhase="error",g={clearToLabel:p.tryLabel}}else u instanceof rr?_a(u):_a(new Oi(u),u)}g&&(g.toUnshift&&(o.unshift(g.toUnshift),r.unshiftedItems+=g.toUnshift.length),g.clearToLabel!==void 0&&(o.clearToLabel(g.clearToLabel),r.clearToLabels++)),await((s=e==null?void 0:e.onStatementCompleted)==null?void 0:s.call(e,e,l.statement)),o.length>r.maxQueueLength&&(r.maxQueueLength=o.length),t.blocks&&t.blocks.length>r.maxBlocks&&(r.maxBlocks=t.blocks.length),t.loops&&t.loops.length>r.maxLoops&&(r.maxLoops=t.loops.length),r.processedStatements++}return r}async function sR(A,e,t,o){let r=[],n;switch(A.type){case Ra:break;case Pl:if(o!==t.mainThread)throw new Error("'var' declarations are not allowed within functions");break;case _o:break;case jo:if(A.stmts.length===0)break;o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),Xl(o,A.stmts),r=me([...Tr(A.stmts),Zi()]);break;case Wo:const a=await Zt(A.expr,t,o);o.blocks&&o.blocks.length!==0&&(o.blocks[o.blocks.length-1].returnValue=a);break;case zt:const i=await zO(A.expr,t,o,...t.eventArgs??[]);o.blocks&&o.blocks.length!==0&&(o.blocks[o.blocks.length-1].returnValue=i);break;case Nl:{const l=ot(o);if(!l)throw new Error("Missing block scope");await Kc(l,t,o,A.decls);break}case Fl:{const l=ot(o);if(!l)throw new Error("Missing block scope");await Kc(l,t,o,A.decls,!0);break}case Gl:!!await Zt(A.cond,t,o)?r=Vl(A.thenB):A.elseB&&(r=Vl(A.elseB));break;case Xn:{if(ot(o)===void 0)throw new Error("Return requires a block scope");if(o.returnValue=A.expr?await Zt(A.expr,t,o):void 0,(o.tryBlocks??[]).length>0){const g=o.tryBlocks[0];g.exitType="return",g.processingPhase!=="postFinally"&&o.blocks.pop(),n=un(o).tryLabel}else n=-1;break}case Ol:{let l=e.guard?qe(o):bo(o);!!await Zt(A.cond,t,o)?r=ja(l,A,o.breakLabelValue):Ye(o);break}case Rl:{if(!e.guard){r=ja(bo(o),A,o.breakLabelValue);break}!!await Zt(A.cond,t,o)?r=ja(qe(o),A,o.breakLabelValue):Ye(o);break}case Nu:{if(!o.loops||o.loops.length===0)throw new Error("Missing loop scope");let l;for(;o.loops.length>0&&(l=qe(o),!!l.isSwitch);)o.loops.pop();if(!l)throw new Error("Missing loop scope");if(l.tryBlockDepth>=0&&l.tryBlockDepth<(o.tryBlocks??[]).length){for(let u=l.tryBlockDepth;u<o.tryBlocks.length;u++)o.tryBlocks[l.tryBlockDepth].exitType="continue";n=un(o).tryLabel}else n=l.continueLabel,Ye(o,!1);break}case Tu:{const l=qe(o);if(l===void 0)throw new Error("Missing loop scope");if(l.isSwitch){n=l.breakLabel;break}if(l.tryBlockDepth>=0&&l.tryBlockDepth<(o.tryBlocks??[]).length){for(let u=l.tryBlockDepth;u<o.tryBlocks.length;u++)o.tryBlocks[l.tryBlockDepth].exitType="break";n=un(o).tryLabel}else n=l.breakLabel,Ye(o);break}case Ul:if(e.guard)if(!A.cond||await Zt(A.cond,t,o)){const l=qe(o);if(A.upd){const g={statement:{type:Wo,nodeId:cn(),expr:A.upd}};r=me([{statement:A.body},g,{statement:A,execInfo:e}])}else r=me([{statement:A.body},{statement:A,execInfo:e}]);l.breakLabel=o.breakLabelValue??-1,l.continueLabel=r[1].label}else Ye(o);else{bo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}});const l=Nr(A);A.init?r=me([{statement:A.init},l]):r=me([l])}break;case nn:if(e.guard){if(e.keyIndex===void 0||e.keys===void 0)throw new Error("Keys information expected in for..in loop");if(e.keyIndex<e.keys.length){const l=e.keys[e.keyIndex++];switch(A.varB){case"none":{const u={type:sn,leftValue:{type:UA,name:A.id.name},op:"=",expr:{type:Me,value:l}};await Zt(u,t,o);break}case"const":case"let":{const u=ot(o);if(!u)throw new Error("Missing block scope");u.vars[A.id.name]=l,A.varB==="const"&&(u.constVars??(u.constVars=new Set),u.constVars.add(A.id.name))}break}const g=qe(o);r=me([{statement:A.body},{statement:A,execInfo:e}]),g.breakLabel=o.breakLabelValue??-1,g.continueLabel=r[1].label}else Ye(o)}else{const l=await Zt(A.expr,t,o);if(l==null)break;bo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),r=me([{statement:A,execInfo:{guard:!0,keys:Object.keys(l),keyIndex:0}}])}break;case Aa:if(e.guard){if(e.iterator===void 0)throw new Error("Iterator expected in for..of loop");const l=e.iterator.next();if(l.done){Ye(o);break}const g=l.value;switch(A.varB){case"none":{const p={type:sn,leftValue:{type:UA,name:A.id.name},op:"=",expr:{type:Me,value:g}};await Zt(p,t,o);break}case"const":case"let":{const p=ot(o);if(!p)throw new Error("Missing block scope");p.vars[A.id.name]=g,A.varB==="const"&&(p.constVars??(p.constVars=new Set),p.constVars.add(A.id.name))}break}const u=qe(o);r=me([{statement:A.body},{statement:A,execInfo:e}]),u.breakLabel=o.breakLabelValue??-1,u.continueLabel=r[1].label}else{const l=await Zt(A.expr,t,o);if(l==null||typeof l[Symbol.iterator]!="function")throw new Error("Object in for..of is not iterable");bo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),r=me([{statement:A,execInfo:{guard:!0,iterator:l[Symbol.iterator]()}}])}break;case Kl:throw new rr(await Zt(A.expr,t,o));case Yl:{if(!e.guard){r=_m(o,jm(o,A));break}const l=un(o);switch(l.processingPhase){case"error":switch(l.errorSource){case"try":if(o.blocks.pop(),A.catchB){if(l.statement.catchV){const u=ot(o);u.vars[l.statement.catchV.name]=l.errorToThrow instanceof rr?l.errorToThrow.errorObject:l.errorToThrow}delete l.errorToThrow,l.processingPhase="catch",r=Wm(o,l)}else l.statement.finallyB&&(l.processingPhase="finally",r=dn(o,l));break;case"catch":o.blocks.pop(),l.processingPhase="finally",r=dn(o,l);break;case"finally":o.blocks.pop(),l.processingPhase="postFinally",r=Zl(l);break}break;case"try":l.processingPhase="finally",A.finallyB&&(r=dn(o,l));break;case"catch":l.processingPhase="finally",A.finallyB&&(r=dn(o,l));break;case"finally":l.processingPhase="postFinally",r=Zl(l);break;case"postFinally":const g=o.tryBlocks.pop();switch(g.exitType){case"break":{const u=qe(o);if(u===void 0)throw new Error("Missing loop scope");Ye(o),n=u.breakLabel;break}case"continue":{const u=qe(o);if(u===void 0)throw new Error("Missing loop scope");n=u.continueLabel,Ye(o,!1);break}case"return":n=-1;break}if(g.errorToThrow)throw g.errorToThrow;break}break}case jl:{if(e.guard)Ye(o);else{let l=bo(o);l.isSwitch=!0,o.blocks.push({vars:{}});const g=await Zt(A.expr,t,o);let u=-1;for(let B=0;B<A.cases.length;B++){const C=A.cases[B];if(C.caseE===void 0){u=B;break}if(await Zt(C.caseE,t,o)===g){u=B;break}}const p=[];if(u>=0)for(let B=u;B<A.cases.length;B++)p.push(...A.cases[B].stmts);r=me([...Tr(p),Nr(A)]),l.breakLabel=r[r.length-1].label}break}}return e.removeBlockScope&&o.blocks&&o.blocks.length>0&&o.blocks.pop(),{toUnshift:r,clearToLabel:n}}async function Kc(A,e,t,o,r=!1,n=!1,a=void 0){for(let u=0;u<o.length;u++){let p;const B=o[u];n?p=a:B.expr&&(p=await Zt(B.expr,e,t)),i(A,B,p,r)}function i(u,p,B,C){if(p.id)s(u,p.id,B,C);else if(p.aDestr)l(u,p.aDestr,B,C);else if(p.oDestr)g(u,p.oDestr,B,C);else throw new Error("Unknown declaration specifier")}function s(u,p,B,C){if(u.vars[p])throw new Error(`Variable ${p} is already declared in the current scope.`);u.vars[p]=B,C&&(u.constVars??(u.constVars=new Set),u.constVars.add(p))}function l(u,p,B,C){for(let m=0;m<p.length;m++){const h=p[m],Q=B==null?void 0:B[m];h.id?s(u,h.id,Q,C):h.aDestr?l(u,h.aDestr,Q,C):h.oDestr&&g(u,h.oDestr,Q,C)}}function g(u,p,B,C){for(let m=0;m<p.length;m++){const h=p[m],Q=B==null?void 0:B[h.id];h.aDestr?l(u,h.aDestr,Q,C):h.oDestr?g(u,h.oDestr,Q,C):s(u,h.alias??h.id,Q,C)}}}function jb(A){const e=new Ya(A);let t=null;try{t=e.parseStatements()}catch(o){if(e.errors.length>0){const r=e.errors[0];_a(new Gi(`${r.code}(${r.line}, ${r.column}): ${e.errors[0].text}`,A,r.position))}else throw o}if(!e.isEof){const o=e.getTail();_a(new Gi("Invalid tail found",A,A.length-o.length+1))}return t}function jd(A,e){const t=(A==null?void 0:A.length)??0;if(t===0)return[{type:zt,expr:{type:ve,args:[],statement:{type:_o}}}];if(t===1){const n=A[0];if(n.type===Wo){if(e){if(n.expr.type===UA)return[r(n.expr)];if(o(n.expr))return[r(n.expr)]}return n.expr.type===ve?[{type:zt,expr:n.expr}]:[{type:zt,expr:{type:ve,args:[],statement:A[0]}}]}if(n.type===Xn)return[{type:zt,expr:{type:ve,args:[],statement:{type:jo,stmts:[n]}}}];if(n.type===jo)return n.stmts[0].type===Wo&&n.stmts[0].expr.type===ve?[{type:zt,expr:n.stmts[0].expr}]:[{type:zt,expr:{type:ve,args:[],statement:A[0]}}]}if(t>1)return[{type:zt,expr:{type:ve,args:[],statement:{type:jo,stmts:A}}}];return A;function o(n){return(n.type===Jo||n.type===an&&n.member.type===Me)&&(o(n.obj)||n.obj.type===UA)}function r(n){const a=e.eventArgs?e.eventArgs.map((s,l)=>({type:UA,name:`__arg@@#__${l}__`})):[];e.eventArgs&&e.eventArgs.forEach((s,l)=>{e.localContext[`__arg@@#__${l}__`]=s});const i={type:ve,args:a,statement:{type:Wo,expr:{type:qi,obj:n,arguments:[...a]}}};return{type:zt,expr:i}}}async function lR(A,e,t){const o=jd(jb(A));return await Yd(o,e,t)}function cR({node:A,state:e,dispatch:t,lookupAction:o,lookupSyncCallback:r,registerComponentApi:n,onUnmount:a,appContext:i,memoedVarsRef:s}){const l=Yn(),g=d.useMemo(()=>Symbol(A.uid),[A.uid]);d.useEffect(()=>()=>{a(g)},[a,g]);const u=d.useCallback(w=>{n(g,w)},[n,g]),p=d.useCallback((w,v)=>o(w,g,v),[o,g]),B=ol(e),C=d.useMemo(()=>Zm(e,i,B,s),[i,s,B,e]),m=d.useCallback(w=>{if(w)return r(C(w),g)},[r,g,C]),h=d.useCallback(w=>{t(gR(g,w))},[t,g]),Q=d.useCallback(w=>{t(uR(g,w))},[t,g]),E=d.useCallback((w,v)=>{t(dR(g,w,v))},[t,g]),D=d.useCallback(w=>{t(BR(g,w))},[t,g]),I=l.lookupLoaderRenderer(A.type);return I?I({loader:A,state:e,dispatch:t,loaderInProgressChanged:h,loaderIsRefetchingChanged:Q,loaderLoaded:E,loaderError:D,extractValue:C,registerComponentApi:u,lookupAction:p,lookupSyncCallback:m}):(console.error(`Loader ${A.type} is not available. Did you forget to register it in the loaderRegistry?`),null)}function gR(A,e){return{type:_e.LOADER_IN_PROGRESS_CHANGED,payload:{uid:A,inProgress:e}}}function uR(A,e){return{type:_e.LOADER_IS_REFETCHING_CHANGED,payload:{uid:A,isRefetching:e}}}function dR(A,e,t){return{type:_e.LOADER_LOADED,payload:{uid:A,data:e,pageInfo:t}}}function BR(A,e){return{type:_e.LOADER_ERROR,payload:{uid:A,error:e}}}const pR=d.memo(d.forwardRef(function({node:e,componentState:t,dispatch:o,parentDispatch:r,resolvedKey:n,version:a,setVersion:i,statePartChanged:s,registerComponentApi:l,parentRegisterComponentApi:g,layoutContextRef:u,parentRenderContext:p,memoedVarsRef:B,isImplicit:C,uidInfoRef:m,children:h},Q){var bA;const{apiBoundContainer:E}=e,D=C?r:o,I=C?g:l,w=$e(),{getThemeVar:v}=le(),f=Ue.useNavigate(),M=Ue.useLocation(),S=d.useRef({}),G=d.useRef(t);G.current=t;const b=d.useRef({}),[x,L]=d.useTransition(),T=d.useRef(!0),H=d.useRef(new Map);De(()=>{for(const Y of H.current.values())Y()},[a]),d.useEffect(()=>{T.current=!0;const Y=H.current;return()=>{T.current=!1;for(const F of Y.values())F()}},[]);const _=PA(async(Y,F,P,...q)=>{var dA,rA,DA;const X=()=>F.description!==void 0&&(P==null?void 0:P.eventName)!==void 0;let iA=[];const sA=()=>{iA.length=0;const IA=hA.cloneDeep({...G.current,...(P==null?void 0:P.context)||{}});return IA.$this=G.current[F],Kb(IA,KA=>{var FA;const JA=(FA=KA.pathArray)==null?void 0:FA[0];if(JA!=null&&JA.startsWith("$"))throw new Error("Cannot update a read-only variable");iA.push(KA)})},EA={...w,getThemeVar:v},QA={appContext:EA,eventArgs:q,localContext:sA(),implicitContextGetter:()=>({uid:F,state:G.current,getCurrentState:()=>G.current,dispatch:D,appContext:EA,navigate:f,location:M,lookupAction:(IA,KA,JA={})=>V(IA,KA,{...JA,ephemeral:!0})}),options:{defaultToOptionalMemberAccess:typeof((dA=w.appGlobals)==null?void 0:dA.defaultToOptionalMemberAccess)=="boolean"?w.appGlobals.defaultToOptionalMemberAccess:!0}};try{let IA;if(typeof Y=="string")b.current[Y]||(b.current[Y]=jd(jb(Y),QA)),IA=b.current[Y];else if(_b(Y)){const JA=Y.parseId.toString();b.current[JA]||(b.current[JA]=jd(Y.statements,QA)),IA=b.current[JA]}else IA=[{type:zt,expr:Y}];if(!(IA!=null&&IA.length))return;X()&&D({type:_e.EVENT_HANDLER_STARTED,payload:{uid:F.description,eventName:P.eventName}});let KA=0;if(QA.onStatementCompleted=async JA=>{if(iA.length){KA=0,iA.forEach(ne=>{s(ne.pathArray,hA.cloneDeep(ne.newValue),ne.target,ne.action)});let FA=null;const MA=new Promise(ne=>{FA=()=>{ne(null)}}),pe=Ni();H.current.set(pe,FA),L(()=>{i(ne=>ne+1)}),T.current?await MA:await Da(0),H.current.delete(pe),iA=[]}else KA++,KA>100&&(KA=0,await Da(0));JA.localContext=sA()},await Yd(IA,QA),X()&&D({type:_e.EVENT_HANDLER_COMPLETED,payload:{uid:F.description,eventName:P.eventName}}),(DA=(rA=QA.mainThread)==null?void 0:rA.blocks)!=null&&DA.length)return QA.mainThread.blocks[QA.mainThread.blocks.length-1].returnValue}catch(IA){throw(P==null?void 0:P.signError)!==!1&&w.signError(IA),X()&&D({type:_e.EVENT_HANDLER_ERROR,payload:{uid:F.description,eventName:P.eventName,error:IA}}),IA}}),j=d.useCallback((Y,...F)=>{var q,X;const P={localContext:hA.cloneDeep(G.current),appContext:w,eventArgs:F};try{if(Ou([{type:zt,expr:Y}],P),(X=(q=P.mainThread)==null?void 0:q.blocks)!=null&&X.length)return P.mainThread.blocks[P.mainThread.blocks.length-1].returnValue}catch(iA){throw console.error(iA),iA}},[w]),O=PA((Y,F,P)=>{var iA;if(Array.isArray(Y))throw new Error("Multiple event handlers are not supported");let q,X;if(typeof Y=="string")q=`${P==null?void 0:P.eventName};${Y}`,X=(...sA)=>_(Y,F,P,...hA.cloneDeep(sA));else if(_b(Y))q=`${P==null?void 0:P.eventName};${Y.parseId}`,X=(...sA)=>_(Y,F,P,...hA.cloneDeep(sA));else if(mR(Y))q=`${P==null?void 0:P.eventName};${Y.statement.nodeId}`,X=(...sA)=>_(Y,F,P,...hA.cloneDeep(sA));else if(Y.type)q=`${P==null?void 0:P.eventName};${JSON.stringify(Y)}`,X=(...sA)=>_(Y,F,P,...hA.cloneDeep(sA));else throw new Error("Invalid event handler");return P!=null&&P.ephemeral||P!=null&&P.context?X:((iA=S.current[F])!=null&&iA[q]||(S.current[F]=S.current[F]||{},S.current[F][q]=X),S.current[F][q])}),U=d.useCallback((Y,F)=>{var q;const P=`sync-callback-${Y.nodeId}`;return(q=S.current[F])!=null&&q[P]||(S.current[F]=S.current[F]||{},S.current[F][P]=ki(X=>(...iA)=>j(X,...iA))),S.current[F][P](Y)},[j]),J=d.useCallback((Y,F)=>{if(Y){if(typeof Y=="function")return Y;if(Y){if(typeof Y=="function")return Y;if(!Y._ARROW_EXPR_)throw new Error("Only arrow expression allowed in sync callback");return U(Y,F)}}},[U]),V=d.useCallback((Y,F,P)=>{let q=Y;if(!Y&&F.description&&(P!=null&&P.eventName)){const X=`${F.description}_on${Fi(P==null?void 0:P.eventName)}`;t[X]&&t[X]._ARROW_EXPR_&&(q=t[X])}if(q)return typeof q=="function"?q:O(q,F,P)},[t,O]),Z=d.useRef(!1);d.useEffect(()=>{if(!e.api||!e.containerUid||Z.current)return;Z.current=!0;const Y={},F=Symbol("$self");Object.entries(e.api).forEach(([P,q])=>{Y[P]=V(q,F)}),C||I(F,Y),g(e.containerUid,Y)},[V,e.api,e.containerUid,e.uid,C,g,I]);const R=PA(Y=>{delete S.current[Y]}),K=d.useCallback((Y,F,P,q,X)=>{if(typeof Y=="string")throw Error("should be resolved for now");const iA=hA.isArray(Y)?Y:[Y];if(!iA||!iA.length)return null;const sA=iA.length>1,EA=iA.map((QA,dA)=>{if(!QA)return;const rA=Zb({node:QA,state:t,dispatch:D,appContext:w,lookupAction:V,lookupSyncCallback:J,registerComponentApi:I,renderChild:K,statePartChanged:s,layoutContext:F,parentRenderContext:P,memoedVarsRef:B,cleanup:R,uidInfoRef:q});if(rA===void 0)return;let DA=rA;const IA=`${dA}_${QA.uid}`;return sA&&(d.isValidElement(rA)?DA=d.cloneElement(rA,{key:IA}):DA=c.jsx(d.Fragment,{children:rA},IA)),DA});return EA.length===1?X&&EA[0]&&d.isValidElement(EA[0])?d.cloneElement(EA[0],{ref:Dt(X,EA[0].ref)}):EA[0]:EA},[t,D,w,V,J,I,s,B,R]);(bA=e.props)!=null&&bA.debug&&console.log(`Container: ${n}`,{componentState:t,node:e});const z={},AA=d.useRef({}),eA=e.uses===void 0?m:AA,cA=K(e.children,u==null?void 0:u.current,p,eA,Q),wA=CR({uidInfo:z,uidInfoRef:eA,loaders:e.loaders,componentState:t,memoedVarsRef:B,dispatch:E?o:D,registerComponentApi:E?l:I,appContext:w,lookupAction:V,lookupSyncCallback:J,cleanup:R}),uA=c.jsxs(c.Fragment,{children:[wA,h&&d.isValidElement(cA)?d.cloneElement(cA,null,h):cA]});return c.jsx(d.Fragment,{children:uA},e.uid?`${n}>${LA(t,e.uid,w,!0)}`:void 0)}));function CR({uidInfo:A,uidInfoRef:e,loaders:t=Ae,componentState:o,dispatch:r,appContext:n,registerComponentApi:a,lookupAction:i,lookupSyncCallback:s,cleanup:l,memoedVarsRef:g}){return t.map(p=>{if(p!=null&&p.uid){if(A[p.uid])throw new Error(`Another ${A[p.uid]} definition in this container already uses the uid '${p.uid}'`);A[p.uid]="loader",e.current[p.uid]={type:"loader",value:"loaderValue",uid:p.uid}}const B=u({loader:p,componentState:o,dispatch:r,appContext:n,registerComponentApi:a,lookupAction:i,lookupSyncCallback:s,memoedVarsRef:g,cleanup:l});if(B!==void 0)return c.jsx(d.Fragment,{children:B},p.uid)});function u({loader:p,componentState:B,dispatch:C,appContext:m,registerComponentApi:h,lookupAction:Q,lookupSyncCallback:E,cleanup:D,memoedVarsRef:I}){return!p||!Uu(p.when,B,m)?null:c.jsx(cR,{onUnmount:D,node:p,state:B,dispatch:C,registerComponentApi:h,lookupAction:Q,lookupSyncCallback:E,memoedVarsRef:I,appContext:m})}}function _b(A){return A.__PARSED===!0}function mR(A){return A.type===ve}const hR=d.memo(d.forwardRef(function({node:e,resolvedKey:t,parentState:o,parentStatePartChanged:r,parentRegisterComponentApi:n,parentDispatch:a,parentRenderContext:i,layoutContextRef:s,uidInfoRef:l,isImplicit:g,children:u,...p},B){const[C,m]=d.useState(0),h=QR(),Q=d.useRef(new Map),E=et(d.useMemo(()=>ER(o,e.uses),[e.uses,o])),D=Sb(),I=OO(D),[w,v]=d.useReducer(I,YA),[f,M]=d.useState(YA),S=et(d.useMemo(()=>{const R={...w};for(const K of Object.getOwnPropertySymbols(w)){const z=w[K];K.description&&(R[K.description]=z)}if(Reflect.ownKeys(f).length===0)return R;for(const K of Object.getOwnPropertySymbols(f)){const z=f[K];if(K.description){const AA=K.description;R[AA]={...R[AA]||{},...z}}R[K]={...R[K],...z}}return R},[w,f])),G=Wb(E,S,e.contextVars),b=e.scriptCollected;if(b!=null&&b.moduleErrors&&!hA.isEmpty(b.moduleErrors))throw new Yc(b.moduleErrors);if(e.scriptError&&!hA.isEmpty(e.scriptError))throw new Yc(e.scriptError);const x=ol(w),L=et({...b==null?void 0:b.functions,...e.functions,...b==null?void 0:b.vars,...e.vars}),T=d.useMemo(()=>{const R={};return Object.entries(L).forEach(([K,z])=>{jc(z)&&z.tree.type===ve&&(R[K]=Ac(z.tree,x))}),PO(R)},[x,L]),H=Jb(L,T,G,d.useRef(new Map)),_=et({...H,...G}),j=Jb(L,T,_,Q),O=IR(j,S),U=Wb(E,e.contextVars,O,h),J=d.useCallback((R,K)=>{M(Qe(z=>{z[R]||(z[R]={}),Object.entries(K).forEach(([AA,eA])=>{z[R][AA]!==eA&&(z[R][AA]=eA)})}))},[]),V=d.useRef(S),Z=d.useCallback((R,K,z,AA)=>{const eA=R[0];eA in V.current||eA in j?v({type:_e.STATE_PART_CHANGED,payload:{path:R,value:K,target:z,actionType:AA,localVars:j}}):(!e.uses||e.uses.includes(eA))&&r(R,K,z,AA)},[j,e.uses,r]);return c.jsx(Yi,{node:e,location:"container",children:c.jsx(pR,{resolvedKey:t,node:e,componentState:U,dispatch:v,parentDispatch:a,setVersion:m,version:C,statePartChanged:Z,registerComponentApi:J,parentRegisterComponentApi:n,layoutContextRef:s,parentRenderContext:i,memoedVarsRef:Q,isImplicit:g,ref:B,uidInfoRef:l,...p,children:u})})})),QR=()=>{const[A]=Ue.useSearchParams(),e=Ue.useParams(),t=Ue.useLocation(),o=lC(),r=d.useMemo(()=>{var a;return((a=o==null?void 0:o.linkMap)==null?void 0:a.get(t.pathname))||YA},[o==null?void 0:o.linkMap,t.pathname]),n=d.useMemo(()=>{const a={};for(const[i,s]of Array.from(A.entries()))a[i]=s;return a},[A]);return d.useMemo(()=>({$pathname:t.pathname,$routeParams:e,$queryParams:n,$linkInfo:r}),[r,t.pathname,n,e])};function ER(A,e){return e?e.length===0?YA:hA.pick(A,e):A}function Wb(...A){const e=d.useMemo(()=>{let t={};return A.forEach((o=YA)=>{o!==YA&&(t={...t,...o})}),t},[A]);return et(e)}function IR(A,e){const t=d.useMemo(()=>{const o={...A};return Reflect.ownKeys(e).forEach(r=>{const n=e[r];o[r]===void 0?o[r]=n:hA.isPlainObject(o[r])&&hA.isPlainObject(n)||Array.isArray(o[r])&&Array.isArray(n)?o[r]=hA.merge(hA.cloneDeep(o[r]),n):o[r]=n}),o},[A,e]);return et(t)}function Jb(A=YA,e=YA,t,o){const r=$e(),n=ol(t),a=d.useMemo(()=>{const i={};return Object.entries(A).forEach(([s,l])=>{if(s==="$props")i[s]=l;else if(!jc(l)&&typeof l!="string")i[s]=l;else{o.current.has(l)||o.current.set(l,{getDependencies:ki((C,m)=>{if(jc(C))return Ac(C.tree,m);const h=Pu(C);let Q=new Set;return h.forEach(E=>{E.type==="expression"&&(Q=new Set([...Q,...Ac(E.value,m)]))}),Array.from(Q)}),obtainValue:ki((C,m,h,Q,E,D)=>{try{return jc(C)?dt(C.tree,{localContext:m,appContext:h,options:{defaultToOptionalMemberAccess:!0}}):LA(m,C,h,Q)}catch(I){throw console.log(m),new wR(C,I)}},([C,m,h,Q,E,D],[I,w,v,f,M,S])=>Pi(E,M)&&Pi(D,S))});const g={...i,...t};let u=[];e[s]?u=e[s]:(o.current.get(l).getDependencies(l,n).forEach(C=>{e[C]?u.push(...e[C]):u.push(C)}),u=[...new Set(u)]);const p=Al(g,u),B=Al(r,u);i[s]=o.current.get(l).obtainValue(l,g,r,!0,p,B)}}),i},[r,t,e,o,n,A]);return et(a)}class Yc extends Error{constructor(e){const o=(e.Main||[]).map(r=>{let n=`${r.code} : ${r.text}`;const a=[];return r.line!==void 0&&a.push(`line:${r.line}`),r.column!==void 0&&a.push(`column:${r.column}`),a.length&&(n=`${n} (${a.join(", ")})`),n});super(o.join(`
246
246
  `)),Object.setPrototypeOf(this,Yc.prototype)}}class wR extends Error{constructor(e,t){super(`Error on var: ${e} - ${(t==null?void 0:t.message)||"unknown"}`)}}function jc(A){return A&&typeof A=="object"&&A[uc]}function fR(A){return A.type==="Container"?!0:!!(A.loaders||A.vars||A.uses||A.contextVars||A.functions||A.scriptCollected)}const bR=d.memo(d.forwardRef(function({node:e,resolvedKey:t,parentState:o,parentStatePartChanged:r,parentRegisterComponentApi:n,parentDispatch:a,parentRenderContext:i,layoutContextRef:s,uidInfoRef:l,children:g,...u},p){const B=d.useMemo(()=>DR(e),[e]);return c.jsx(Yi,{node:e,location:"container",children:c.jsx(hR,{node:B,resolvedKey:t,parentState:o,parentStatePartChanged:r,parentRegisterComponentApi:n,parentDispatch:a,parentRenderContext:i,layoutContextRef:s,uidInfoRef:l,isImplicit:e.type!=="Container"&&B.uses===void 0,ref:p,...u,children:g})})})),DR=A=>{var t,o;if(A.type==="Container")return A;const e={...A,props:{...A.props}};return delete e.loaders,delete e.vars,delete e.functions,delete e.script,delete e.scriptCollected,delete e.scriptError,delete e.uses,(t=e.props)==null||delete t.uses,delete e.api,delete e.contextVars,{type:"Container",uid:A.uid,when:A.when,loaders:A.loaders,vars:A.vars,functions:A.functions,scriptCollected:A.scriptCollected,scriptError:A.scriptError,uses:A.uses,api:A.api,containerUid:A==null?void 0:A.containerUid,apiBoundContainer:A==null?void 0:A.apiBoundContainer,contextVars:A.contextVars,props:{debug:(o=A.props)==null?void 0:o.debug},children:[e]}},$b={position:"absolute",width:0,display:"none"},vR=d.forwardRef((A,e)=>{const t=d.useRef(null),o=d.useRef(null),{onTargetMounted:r}=A,n=d.useRef(null),a=d.useRef(null),[i,s]=d.useState(!1),l=d.useCallback(C=>{a.current=C,C!==null&&(r==null||r()),s(!0)},[r]),[g,u]=d.useState(0),p=et(A.attr),B=!A.allowOnlyRefdChild&&!i;return d.useLayoutEffect(()=>{let C;i?C=a.current:B&&(n.current?C=n.current:(C=(t.current.nextElementSibling===o.current?null:t.current.nextElementSibling)||null,n.current=C,u(m=>m++))),C&&Object.entries(p).forEach(([m,h])=>{h!==void 0?C.setAttribute(m,h):C.removeAttribute(m)})},[B,p,i]),c.jsxs(c.Fragment,{children:[!n.current&&B&&c.jsx("span",{style:$b,ref:t}),d.cloneElement(A.children,{ref:e?Dt(l,e):l}),!n.current&&B&&c.jsx("span",{style:$b,ref:o})]})});let yR=0;function xR(A){const e={__PARSED:!0,parseId:++yR,segments:[]};if(A==null)return e;let t=0,o="",r="";for(let n=0;n<A.length;n++){const a=A[n];switch(t){case 0:a==="\\"?(t=1,r="\\"):a==="{"?(o!==""&&e.segments.push({literal:o}),o="",t=2):o+=a;break;case 1:if(a==="\\"){r+=a;break}a==="{"?o+=r.substring(1)+a:o+=r+a,t=0;break;case 2:const i=A.substring(n),s=new Ya(A.substring(n));let l=null;try{l=s.parseExpr()}catch(u){throw new Error(`Cannot parse expression: '${i}': ${u}`)}const g=s.getTail();if(!g||g.trim().length<1||g.trim()[0]!=="}")throw new Error(`Unclosed expression: '${A}'
247
247
  '${i}'`);e.segments.push({expr:l}),n=A.length-g.length,o="",t=0;break}}switch(t){case 0:o!==""&&e.segments.push({literal:o});break;case 1:e.segments.push({literal:o+r});break;case 2:e.segments.push({literal:o+"{"});break}return e}function kR({uid:A,node:e,apiBoundProps:t,apiBoundEvents:o,renderChild:r,layoutContextRef:n,parentRendererContext:a}){const i=d.useMemo(()=>{function l(h){return`${e.uid}_data_${h}`}const g=[...e.loaders||[]],u={...e.events||{}},p={...e.props||{}},B={...e.vars||{}},C={...e.api||{}};o.forEach(h=>{const{type:Q}=e.events[h];switch(Q){case"FileUpload":{const E=e.events[h],{invalidates:D,asForm:I,formParams:w,queryParams:v,rawBody:f,body:M,url:S,headers:G,method:b,file:x}=E.props,{success:L,error:T}=E.events||{};u[h]=`(eventArgs) => {
248
248
  return Actions.upload({
@@ -297,7 +297,7 @@ It supports both side-by-side and stacked layouts.`,props:{markdown:{description
297
297
  getOptimisticValue: ${JSON.stringify(T)},
298
298
  invalidates: ${b===void 0?void 0:JSON.stringify(b)},
299
299
  when: ${D===void 0?void 0:JSON.stringify(D)} }, { resolveBindingExpressions: true });
300
- }`;break}default:throw new Error("Unknown event handler component type: ",Q)}}),t.forEach(h=>{var f,M,S;const Q=((f=e.props[h])==null?void 0:f.type)==="DataSourceRef",E=e.props[h].uid||l(h),D=e.props[h].props||e.props[h],I={};Object.entries(e.events||{}).forEach(([G,b])=>{if(G.startsWith(h)){const x=G.substring(h.length),L=x.charAt(0).toLowerCase()+x.slice(1);I[L]=b}}),h==="data"&&(p.__DATA_RESOLVED=!0),Q||(g.push({type:"DataLoader",uid:E,props:D,events:I}),C[`fetch_${h}`]=`() => { ${E}.refetch(); }`,C[`update_${h}`]=`(updaterFn) => { ${E}.update(updaterFn); }`,C[`addItem_${h}`]=`(element, index) => { ${E}.addItem(element, index); }`,C[`getItems_${h}`]=`() => { return ${E}.getItems(); }`,C[`deleteItem_${h}`]=`(element) => { ${E}.deleteItem(element); }`,h==="data"&&(p._data_url=D.url));let w=null;const{segments:v}=xR((M=D.url)==null?void 0:M.trim());(v==null?void 0:v.length)===1&&(v[0].literal?w=`"${v[0].literal}"`:v[0].expr&&(w=(S=D.url)==null?void 0:S.trim().substring(1,D.url.length-1))),w===null?p[h]=`{ ${E}.value }`:p[h]=`{ ${E}.value || ( appGlobals.prefetchedContent[${w}] || appGlobals.prefetchedContent['/' + ${w}] ) }`,p.loading=`{ ${E}.inProgress === undefined ? true : ${E}.inProgress}`,p.pageInfo=`{${E}.pageInfo}`,u.requestFetchPrevPage=`${E}.fetchPrevPage()`,u.requestFetchNextPage=`${E}.fetchNextPage()`,u.requestRefetch=`()=> ${E}.refetch();`});const m={...e,containerUid:A,apiBoundContainer:!0,props:p,events:u};return g.length&&(m.loaders=g),Object.keys(B).length&&(m.vars=B),Object.keys(C).length&&(m.api=C),m},[o,t,e,A]),s=r(i,n==null?void 0:n.current,a);return d.isValidElement(s)?s:c.jsx(c.Fragment,{children:s})}const HR=["horizontalAlignment","verticalAlignment","orientation","width","minWidth","maxWidth","height","minHeight","maxHeight","gap","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderStyle","borderWidth","borderHorizontal","borderVertical","borderRadius","radiusTopLeft","radiusTopRight","radiusBottomLeft","radiusBottomRight","padding","paddingHorizontal","paddingVertical","paddingTop","paddingRight","paddingBottom","paddingLeft","backgroundColor","background","boxShadow","direction","overflowX","overflowY","zIndex","color","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","wrapContent","canShrink","margin","marginHorizontal","marginVertical","marginTop","marginRight","marginBottom","marginLeft","userSelect","letterSpacing","textTransform","lineHeight","opacity","cursor","textWrap","textAlign","textAlignLast","top","right","bottom","left","zoom","whiteSpace","textDecoration","textDecorationLine","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","outline","outlineWidth","outlineColor","outlineStyle","outlineOffset","fontVariant","lineBreak","textIndent","textShadow","wordBreak","wordSpacing","wordWrap","writingMode","transition"];function SR(A,e){const t=a("click",A,e),o=a("mouseLeave",A,e),r=a("mouseEnter",A,e),n=a("doubleClick",A,e);if(e)return YA;return{onClick:t,onMouseLeave:o,onMouseEnter:r,onDoubleClick:n};function a(i,s,l){const g=l?void 0:s(i),u=d.useCallback(p=>{g&&(p==null||p.stopPropagation(),g(p))},[g]);return g?u:void 0}}const zb={errorOverlay:"_errorOverlay_1fts7_13",title:"_title_1fts7_20"};function MR({message:A}){return c.jsx("div",{className:zb.errorOverlay,children:c.jsxs("span",{className:zb.title,children:["Unknown component: ",A]})})}const _c={errorOverlay:"_errorOverlay_dnota_13",title:"_title_dnota_22",errorItems:"_errorItems_dnota_31",errorItem:"_errorItem_dnota_31"};function qb({errors:A=Ae,node:e,children:t}){return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:_c.errorOverlay,children:[c.jsx("div",{className:_c.title,children:c.jsxs("span",{children:[c.jsx("b",{children:e.type})," component problems:"]})}),c.jsx("ul",{className:_c.errorItems,children:A.map((o,r)=>c.jsx("li",{className:_c.errorItem,children:o},r))})]}),t]})}const LR=d.forwardRef(function({node:e,state:t,appContext:o,dispatch:r,lookupAction:n,lookupSyncCallback:a,renderChild:i,registerComponentApi:s,layoutContextRef:l,parentRenderContext:g,memoedVarsRef:u,onUnmount:p,uidInfoRef:B,children:C,...m},h){var z;const Q=d.useMemo(()=>({...e,props:e.props||YA,events:e.events||YA}),[e]),E=d.useMemo(()=>Symbol(Q.uid),[Q.uid]);d.useEffect(()=>()=>{p(E)},[p,E]);const D=d.useCallback(AA=>{s(E,AA)},[s,E]),I=d.useCallback(AA=>{r({type:_e.COMPONENT_STATE_CHANGED,payload:{uid:E,state:AA}})},[r,E]),w=ol(t),v=d.useMemo(()=>Zm(t,o,w,u),[o,u,w,t]),f=d.useCallback(AA=>a(v(AA),E),[a,E,v]),M=d.useCallback((AA,eA)=>n(AA,E,eA),[n,E]),S=d.useCallback((AA,eA,cA)=>i(AA,eA,cA||g,B),[i,g,B]),G=d.useMemo(()=>Vb(Q.props,"DataSource","DataSourceRef"),[Q.props]),b=d.useMemo(()=>Vb(Q.events,"APICall","FileDownload","FileUpload"),[Q.events]),x=G.length>0||b.length>0,L=Yn(),{renderer:T,descriptor:H,isCompoundComponent:_}=L.lookupComponentRenderer(Q.type)||{},j=d.useCallback((AA,eA)=>{var wA;const cA=((wA=Q.events)==null?void 0:wA[AA])||(eA==null?void 0:eA.defaultHandler);return n(cA,E,{eventName:AA,...eA})},[n,Q.events,E]),O=SR(j,(H==null?void 0:H.nonVisual)||x),{getResourceUrl:U}=le(),J=d.useCallback(AA=>{const eA=v(AA);return U(eA)},[U,v]),{cssProps:V}=d.useMemo(()=>{const AA={};return HR.forEach(eA=>{Q.props&&eA in Q.props&&(AA[eA]=v(Q.props[eA],!0))}),Op(AA,{...l==null?void 0:l.current,mediaSize:o.mediaSize})},[o.mediaSize,l,Q.props,v]),Z=et(V);let R=null,K=null;try{const AA={node:Q,state:t[E]||YA,updateState:I,appContext:o,extractValue:v,lookupEventHandler:j,lookupAction:M,lookupSyncCallback:f,extractResourceUrl:J,renderChild:S,registerComponentApi:D,layoutCss:Z,layoutContext:l==null?void 0:l.current,uid:E};if(Q.type==="Slot")R=TR(AA,g);else{if(!T)return console.error(`Component '${Q.type}' is not available. Did you forget to register it?`),c.jsx(MR,{message:`${Q.type}`});R=T(AA)}const{inspectId:eA,refreshInspection:cA}=KF(Q,E);if((o!=null&&o.decorateComponentsWithTestId&&(Q.uid!==void 0||Q.testId!==void 0)||eA!==void 0)&&(H==null?void 0:H.nonVisual)!==!0&&(H==null?void 0:H.opaque)!==!0){const wA=Q.testId||Q.uid,uA=LA(t,wA,o,!0);R=c.jsx(vR,{attr:{"data-testid":uA,"data-inspectId":eA},allowOnlyRefdChild:_||Q.type==="ModalDialog",onTargetMounted:Q.type==="ModalDialog"?cA:void 0,ref:h,children:d.cloneElement(R,{...su({...R.props,...O},m)})})}if(x)return c.jsx(kR,{uid:E,renderChild:S,node:Q,apiBoundEvents:b,apiBoundProps:G,layoutContextRef:l,parentRendererContext:g},Q.uid);(z=l.current)!=null&&z.wrapChild&&(R=l.current.wrapChild(AA,R,H))}catch(AA){K=(AA==null?void 0:AA.message)||"Internal error",console.error(AA)}if(K)return c.jsx(qb,{errors:[K],node:Q,children:R});if((h||!hA.isEmpty(O))&&R&&d.isValidElement(R)){const AA=C?Array.isArray(C)?C:[C]:[];return d.cloneElement(R,{ref:R.type===d.Fragment?void 0:h?Dt(h,R.ref):R.ref,...su({...R.props,...R.type!==d.Fragment?O:{}},m)},...AA)}return d.isValidElement(R)&&C?d.cloneElement(R,null,C):R});function TR({node:A,extractValue:e,renderChild:t,lookupAction:o,layoutContext:r},n){const a=e.asOptionalString(A.props.name);if(a&&!a.endsWith("Template"))return c.jsx(qb,{node:A,errors:[`Slot name '${a}' is not valid. A named slot should use a name ending with 'Template'.`]});let i=null;if(hA.isEmpty(A.props)||(i={},Object.keys(A.props).forEach(s=>{if(s!=="name"){let l=e(A.props[s],!0);l!=null&&l._ARROW_EXPR_&&(l=o(l)),i[s]=l}})),n){if(a===void 0)return i?c.jsx(Ql,{node:n.children,renderChild:n.renderChild,slotProps:i,layoutContext:r}):n.renderChild(n.children,r);if(n.props[a])return c.jsx(Ql,{node:n.props[a],renderChild:n.renderChild,slotProps:i,layoutContext:r})}if(A.children&&A.children.length>0)return c.jsx(Ql,{node:A.children,renderChild:t,slotProps:i??YA,layoutContext:r})}function Vb(A,...e){const t=[];if(!A)return t;const o=Object.entries(A);for(let r=0;r<o.length;r++){const[n,a]=o[r];hA.isPlainObject(a)&&e.includes(a.type)&&t.push(n)}return t}const NR=d.memo(d.forwardRef(function({node:e,resolvedKey:t,state:o,dispatch:r,appContext:n,lookupAction:a,lookupSyncCallback:i,registerComponentApi:s,renderChild:l,statePartChanged:g,layoutContext:u,parentRenderContext:p,memoedVarsRef:B,cleanup:C,uidInfoRef:m,children:h,...Q},E){var S;const D=Yn(),{descriptor:I}=D.lookupComponentRenderer(e.type)||{},w=d.useRef(u),v=d.useMemo(()=>{let G=e;return G=FR(G,I==null?void 0:I.childrenAsTemplate),G=PR(G),G=GR(G,m),G=RR(G),G},[I==null?void 0:I.childrenAsTemplate,e,m]),f=d.useMemo(()=>{var b;return typeof LA(o,(b=v.props)==null?void 0:b.data,n,!0)=="string"},[n,(S=v.props)==null?void 0:S.data,o]),M=d.useMemo(()=>OR(v,f,m),[v,f,m]);return fR(M)?c.jsx(bR,{resolvedKey:t,node:M,parentState:o,parentDispatch:r,layoutContextRef:w,parentRenderContext:p,parentStatePartChanged:g,parentRegisterComponentApi:s,uidInfoRef:m,ref:E,...Q,children:h}):c.jsx(LR,{onUnmount:C,memoedVarsRef:B,node:M,state:o,dispatch:r,appContext:n,lookupAction:a,lookupSyncCallback:i,registerComponentApi:s,renderChild:l,parentRenderContext:p,layoutContextRef:w,ref:E,uidInfoRef:m,...Q,children:h})}));function FR(A,e){if(!e||!A.children||A.children.length===0)return A;if(A.props[e])throw Error("'"+e+"' is already used as a property.");return{...A,props:{...A.props,[e]:A.children},children:Ae}}function PR(A){var r;let e=!1,t=A.loaders,o;return(r=A.children)==null||r.forEach(n=>{(n==null?void 0:n.type)==="DataSource"?(e=!0,t||(t=[]),t.push({uid:n.uid,type:"DataLoader",props:n.props,events:n.events,when:n.when})):(o||(o=[]),o.push(n))}),e?{...A,children:o,loaders:t}:A}function GR(A,e){if(!A.props)return A;let t={...A},o=!1;return Object.entries(A.props).forEach(([r,n])=>{let a;try{a=LA(e.current,n)}catch{}(a==null?void 0:a.type)==="loader"&&(o=!0,t={...t,props:{...t.props,[r]:{type:"DataSourceRef",uid:a.uid}}})}),o?t:A}function OR(A,e,t){var o;return!((o=A.props)!=null&&o.__DATA_RESOLVED)&&A.props&&"data"in A.props&&e?LA(t.current,A.props.data)==="loaderValue"?A:{...A,props:{...A.props,data:{type:"DataSource",props:{url:A.props.data}}}}:A}function RR(A){return A.props&&"raw_data"in A.props?{...A,props:{...A.props,__DATA_RESOLVED:!0,data:A.props.raw_data}}:A}function Zb({node:A,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:a,renderChild:i,statePartChanged:s,layoutContext:l,parentRenderContext:g,memoedVarsRef:u,cleanup:p,uidInfoRef:B}){var h,Q,E;if(!Uu(A.when,e,o))return null;const C=(h=A.props)==null?void 0:h.value;if(A.type==="TextNodeCData")return C??"";if(A.type==="TextNode"){const D=LA(e,C,o,!0);return typeof D=="boolean"?D.toString():D}if(A.type==="Slot"){let D;const I=(Q=A.props)==null?void 0:Q.name;if(I){if(!I.endsWith("Template"))throw new Error(`Slot name '${I}' is not valid. A named slot should use a name ending with 'Template'.`);D=(E=g==null?void 0:g.props)==null?void 0:E[I]}else D=g==null?void 0:g.children;if(D||(D=A.children),D){const w=Array.isArray(D)?D:[D];if(w.length===1&&g&&(w[0].type==="TextNodeCData"||w[0].type==="TextNode"))return g.renderChild(w)}}const m=LA(e,A.uid,o,!0);return c.jsx(NR,{resolvedKey:m,node:A,cleanup:p,statePartChanged:s,memoedVarsRef:u,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:a,renderChild:i,layoutContext:l,parentRenderContext:g,uidInfoRef:B},m)}function ps(A){return getComputedStyle(A||document.body)}function UR({rootContainer:A,routerBaseName:e,globalProps:t,standalone:o,trackContainerHeight:r,decorateComponentsWithTestId:n,debugEnabled:a,children:i,onInit:s}){const[l,g]=d.useState(null),u=Sb(),p=Yn(),B=Ue.useNavigate(),{confirm:C}=FP(),{activeThemeId:m,activeThemeTone:h,setActiveThemeId:Q,setActiveThemeTone:E,availableThemeIds:D,root:I,toggleThemeTone:w}=el();Rx($A=>{$A.code==="KeyT"&&$A.altKey&&$A.ctrlKey&&$A.shiftKey&&Q(D[(D.indexOf(m)+1)%D.length]),$A.code==="KeyO"&&$A.altKey&&$A.ctrlKey&&$A.shiftKey&&E(ul[(ul.indexOf(h)+1)%ul.length]),$A.code==="KeyS"&&$A.altKey&&$A.ctrlKey&&$A.shiftKey&&u.setDisplayStateView(!u.displayStateView)});const[v,f]=d.useState("0"),[M,S]=d.useState("0"),[G,b]=d.useState("0"),[x,L]=d.useState("0"),[T,H]=d.useState("0"),[_,j]=d.useState("0"),[O,U]=d.useState("0"),[J,V]=d.useState("0"),[Z,R]=d.useState("0"),[K,z]=d.useState("0"),AA=$A=>{const kA=$A.match(/^(\d+)px$/);return kA?`${parseInt(kA[1])-.02}px`:"0"},eA=d.useRef();De(()=>(r&&I&&I!==document.body&&(eA!=null&&eA.current&&eA.current.unobserve(I),r==="auto"?I.style.setProperty("--containerHeight","auto"):eA.current=new ResizeObserver($A=>{I.style.setProperty("--containerHeight",$A[0].contentRect.height+"px")}),eA.current&&eA.current.observe(I)),()=>{eA!=null&&eA.current&&eA.current.unobserve(I)}),[I,eA,r]),De(()=>{const $A=ps(I).getPropertyValue(wa("maxWidth-phone"));f($A),S(AA($A));const kA=ps(I).getPropertyValue(wa("maxWidth-landscape-phone"));b(kA),L(AA(kA));const jA=ps(I).getPropertyValue(wa("maxWidth-tablet"));H(jA),j(AA(jA));const GA=ps(I).getPropertyValue(wa("maxWidth-desktop"));U(GA),V(AA(GA));const zA=ps(I).getPropertyValue(wa("maxWidth-large-desktop"));R(zA),z(AA(zA))},[m,I]);const cA=va(`(max-width: ${M})`),wA=va(`(min-width: ${v}) and (max-width: ${x})`),uA=va(`(min-width: ${G}) and (max-width: ${_})`),bA=va(`(min-width: ${T}) and (max-width: ${J})`),Y=va(`(min-width: ${O}) and (max-width: ${K})`);let F,P;const q=va(`(min-width: ${Z})`);q?(F="xxl",P=5):Y?(F="xl",P=4):bA?(F="lg",P=3):uA?(F="md",P=2):wA?(F="sm",P=1):cA&&(F="xs",P=0);const X=Gx(),iA=Ox(),sA=ud(),EA=Ue.useLocation(),QA=d.useRef(""),[dA,rA]=d.useState(0);d.useEffect(()=>{s==null||s()},[s]),d.useEffect(()=>{var kA;let $A="";EA.hash&&($A=EA.hash.slice(1)),QA.current!==$A&&(QA.current=$A,(kA=EA.state)!=null&&kA.preventHashScroll||requestAnimationFrame(()=>{var jA;(jA=document.getElementById(QA.current))==null||jA.scrollIntoView({behavior:"instant",block:"start"})}))},[EA,dA]);const DA=d.useCallback(()=>{QA.current="",rA($A=>$A+1)},[]),IA=d.useMemo(()=>{const $A={_SUPPORT_IMPLICIT_CONTEXT:!0};for(const[kA,jA]of p.actionFunctions)$A[kA]=jA;return $A},[p.actionFunctions]),KA=d.useMemo(()=>({isInIFrame:X}),[X]),JA=d.useMemo(()=>({isWindowFocused:iA}),[iA]),FA=d.useMemo(()=>({phone:cA,landscapePhone:wA,tablet:uA,desktop:bA,largeDesktop:Y,xlDesktop:q,smallScreen:cA||wA||uA,largeScreen:!(cA||wA||uA),size:F,sizeIndex:P}),[cA,wA,uA,bA,Y,q,F,P]),MA=d.useMemo(()=>t?{...t}:YA,[t]),pe=d.useMemo(()=>({version:wO,Actions:IA,appGlobals:MA,debugEnabled:a,decorateComponentsWithTestId:n,environment:JA,mediaSize:FA,queryClient:AD,standalone:o,...Rb,...FO,formatFileSizeInBytes:Hx,getFileExtension:Sx,navigate:B,routerBaseName:e,confirm:C,signError:KR,toast:ke,activeThemeId:m,activeThemeTone:h,availableThemeIds:D,setTheme:Q,setThemeTone:E,toggleThemeTone:w,loggedInUser:l,setLoggedInUser:g,delay:Da,embed:KA,apiInterceptorContext:sA,getPropertyByPath:hA.get,...Pb,forceRefreshAnchorScroll:DA}),[IA,MA,a,n,JA,FA,o,B,e,C,m,h,D,Q,E,w,l,KA,sA,DA]),[ne,Nn]=d.useState(YA),ha=d.useCallback(($A,kA)=>{Nn(jA=>({...jA,[$A]:kA}))},[]),Wr=d.useCallback(($A,kA)=>{Nn(jA=>({...jA,[$A]:{...jA[$A]||{},...kA}}))},[]),Dg=d.useMemo(()=>({registerAppState:ha,appState:ne,update:Wr}),[ne,ha,Wr]),vg=d.useRef(new Map),Di=Zb({node:A,state:YA,dispatch:vA,appContext:void 0,lookupAction:vA,lookupSyncCallback:vA,registerComponentApi:vA,renderChild:vA,statePartChanged:vA,cleanup:vA,memoedVarsRef:vg});return c.jsx(rC.Provider,{value:pe,children:c.jsx(CC.Provider,{value:Dg,children:i&&d.isValidElement(Di)?d.cloneElement(Di,null,i):Di})})}function KR(A){ke.error(typeof A=="string"?A:A.message||"Something went wrong")}const Xb=d.createContext(void 0),YR=({children:A})=>{const[e,t]=d.useState([]),o=d.useCallback(r=>{const n={timestamp:new Date,args:r};t(a=>[...a,n])},[]);return c.jsx(Xb.Provider,{value:{logs:e,addLog:o},children:A})},jR=()=>{const A=d.useContext(Xb);if(!A)throw new Error("useLogger must be used within LoggerProvider");return A};var _R={};class ci{constructor(){this.isDev=!!_R.VITE_DEV_MODE}static getInstance(){return ci.instance||(ci.instance=new ci),ci.instance}registerCallback(e){this.isDev&&(this.callback=e)}log(e){this.isDev&&(console.log("[xmlui.log]",...e),this.callback&&this.callback(e))}warn(e){this.isDev&&(console.warn("[xmlui.warn]",...e),this.callback&&this.callback(e))}info(e){this.isDev&&(console.info("[xmlui.info]",...e),this.callback&&this.callback(e))}error(e){this.isDev&&(console.error("[xmlui.error]",...e),this.callback&&this.callback(e))}trace(e){this.isDev&&(console.trace("[xmlui.trace]",...e),this.callback&&this.callback(e))}}const WR=ci.getInstance(),JR=()=>{const{addLog:A}=jR();return d.useEffect(()=>{WR.registerCallback(A)},[A]),null};var $R={};const zR=({node:A,previewMode:e=!1,routerBaseName:t="",contributes:o=YA,globalProps:r,standalone:n,trackContainerHeight:a,decorateComponentsWithTestId:i,debugEnabled:s,defaultTheme:l,defaultTone:g,resources:u,resourceMap:p,sources:B,children:C,projectCompilation:m,onInit:h})=>{e&&(Ia.HelmetProvider.canUseDOM=!1);const Q=(r==null?void 0:r.name)||"XMLUI app",E=(r==null?void 0:r.useHashBasedRouting)??!0,D=c.jsxs(Ia.HelmetProvider,{children:[c.jsx(Ia.Helmet,{defaultTitle:Q,titleTemplate:`%s | ${Q}`}),c.jsxs(YR,{children:[c.jsx(JR,{}),c.jsx(IO,{children:c.jsx(h2,{resourceMap:p,themes:o.themes,defaultTheme:l,defaultTone:g,resources:u,children:c.jsx(OF,{sources:B,projectCompilation:m,mockApi:r==null?void 0:r.demoMockApi,children:c.jsx(PP,{children:c.jsx(UR,{onInit:h,rootContainer:A,routerBaseName:t,globalProps:r,standalone:n,decorateComponentsWithTestId:i,debugEnabled:s,trackContainerHeight:a,children:C})})})})})]})]}),I=e?Ks.MemoryRouter:E?Ks.HashRouter:Ks.BrowserRouter,w=e?!1:typeof window>"u"||$R.VITE_REMIX;return c.jsx(d.StrictMode,{children:c.jsx(Yi,{node:A,location:"root-outer",children:c.jsxs(Us.QueryClientProvider,{client:AD,children:[!!w&&D,!w&&c.jsx(I,{basename:I===Ks.HashRouter?void 0:t,children:D})]})})})};Qe.enableMapSet();const AD=new Us.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function qR({apiInterceptor:A,contributes:e,node:t,decorateComponentsWithTestId:o,debugEnabled:r,defaultTheme:n,defaultTone:a,resources:i,globalProps:s,standalone:l,trackContainerHeight:g,routerBaseName:u,previewMode:p,resourceMap:B,sources:C,extensionManager:m,children:h,projectCompilation:Q,isNested:E=!1,onInit:D}){const I=d.useMemo(()=>({type:"Container",uid:"root",children:[{type:"Theme",props:{root:!0},children:[t]}],uses:[]}),[t]);if(Q){const v=Q.entrypoint.dependencies;VR(v,Q.components)}const w=d.useMemo(()=>({...s,isNested:E}),[s,E]);return c.jsx(LP,{contributes:e,extensionManager:m,children:c.jsx(TP,{debugConfig:s==null?void 0:s.debug,children:c.jsx(zR,{projectCompilation:Q,resourceMap:B,apiInterceptor:A,node:I,contributes:e,resources:i,routerBaseName:u,decorateComponentsWithTestId:o,debugEnabled:r,defaultTheme:n,defaultTone:a,globalProps:w,standalone:l,trackContainerHeight:g,previewMode:p,sources:C,onInit:D,children:h})})})}function VR(A,e){const t=e.reduce(function(a,{definition:{name:i},dependencies:s}){return a.set(i,s)},new Map),o=new Set;return r(A),o;function r(n){if(n){for(const a of n)if(!o.has(a)){o.add(a);const i=t.get(a);r(i)}}}}var _d={};function ZR({interceptor:A,children:e,useHashBasedRouting:t,parentInterceptorContext:o=null,waitForApiInterceptor:r=!1}){const n=o!==null,[a,i]=d.useState(!A),[s,l]=d.useState(!1),[g,u]=d.useState(null);d.useEffect(()=>{if(n)A&&(o!=null&&o.interceptorWorker?(async()=>{const{createApiInterceptorWorker:m}=await Promise.resolve().then(()=>Ey);await m(A,o==null?void 0:o.interceptorWorker),setTimeout(()=>{i(!0)},0)})():o==null||o.forceInitialize());else if(A||s){let m;return(async()=>{if(_d.VITE_MOCK_ENABLED){const{createApiInterceptorWorker:h}=await Promise.resolve().then(()=>Ey);if(A||s){m=await h(A||{},null);const Q=up(_d.VITE_MOCK_WORKER_LOCATION||"mockServiceWorker.js");await m.start({onUnhandledRequest:"bypass",quiet:!0,serviceWorker:{url:Q}}),u(m)}}i(!0)})(),()=>{o!=null&&o.interceptorWorker||m==null||m.stop(),i(!1)}}else i(!0)},[s,n,A,o==null?void 0:o.forceInitialize,o==null?void 0:o.interceptorWorker]);const p=d.useCallback(m=>A!==void 0&&!!_d.VITE_MOCK_ENABLED,[A]),B=d.useCallback(()=>{l(!0)},[]),C=d.useMemo(()=>({interceptorWorker:g,initialized:a,forceInitialize:B,isMocked:p}),[g,a,B,p]);return c.jsx(wE.Provider,{value:C,children:r&&!a?null:e})}function XR(){return c.jsx("div",{className:Ie.logoWrapper,children:c.jsxs("svg",{viewBox:"0 0 26 26",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M9.04674 19.3954C8.2739 19.3954 7.60226 19.2265 7.03199 18.8887C6.47443 18.5384 6.0435 18.0505 5.73938 17.425C5.43526 16.7869 5.2832 16.0362 5.2832 15.173V9.89961C5.2832 9.7745 5.32771 9.66815 5.41637 9.58059C5.50502 9.493 5.61275 9.44922 5.73938 9.44922H7.41222C7.55157 9.44922 7.6593 9.493 7.73524 9.58059C7.8239 9.66815 7.86841 9.7745 7.86841 9.89961V15.0604C7.86841 16.6117 8.55895 17.3874 9.94021 17.3874C10.5991 17.3874 11.1187 17.181 11.4988 16.7681C11.8917 16.3553 12.0881 15.786 12.0881 15.0604V9.89961C12.0881 9.7745 12.1325 9.66815 12.2211 9.58059C12.3098 9.493 12.4175 9.44922 12.5443 9.44922H14.217C14.3436 9.44922 14.4513 9.493 14.54 9.58059C14.6288 9.66815 14.6732 9.7745 14.6732 9.89961V18.7574C14.6732 18.8825 14.6288 18.9888 14.54 19.0764C14.4513 19.164 14.3436 19.2078 14.217 19.2078H12.6773C12.538 19.2078 12.4239 19.164 12.3352 19.0764C12.2591 18.9888 12.2211 18.8825 12.2211 18.7574V17.988C11.879 18.4258 11.4545 18.7699 10.9476 19.0201C10.4407 19.2703 9.80704 19.3954 9.04674 19.3954Z",fill:"#3367CC"}),c.jsx("path",{d:"M17.6397 19.2104C17.5129 19.2104 17.4052 19.1666 17.3165 19.079C17.2279 18.9914 17.1835 18.8851 17.1835 18.76V9.90221C17.1835 9.7771 17.2279 9.67075 17.3165 9.58319C17.4052 9.4956 17.5129 9.45182 17.6397 9.45182H19.2174C19.3567 9.45182 19.4644 9.4956 19.5404 9.58319C19.6292 9.67075 19.6736 9.7771 19.6736 9.90221V18.76C19.6736 18.8851 19.6292 18.9914 19.5404 19.079C19.4644 19.1666 19.3567 19.2104 19.2174 19.2104H17.6397ZM17.5636 7.8379C17.4243 7.8379 17.3102 7.80038 17.2215 7.72531C17.1454 7.63773 17.1074 7.52514 17.1074 7.38751V6.03633C17.1074 5.91122 17.1454 5.80487 17.2215 5.71731C17.3102 5.62972 17.4243 5.58594 17.5636 5.58594H19.2933C19.4327 5.58594 19.5467 5.62972 19.6354 5.71731C19.7242 5.80487 19.7686 5.91122 19.7686 6.03633V7.38751C19.7686 7.52514 19.7242 7.63773 19.6354 7.72531C19.5467 7.80038 19.4327 7.8379 19.2933 7.8379H17.5636Z",fill:"#3367CC"}),c.jsx("path",{className:Ie.animatedLogoPath,d:"M23.0215 2.81748H2.53486V23.044H23.0215V2.81748Z",fill:"none",stroke:"#3367CC",strokeWidth:"0.75"})]})})}function A5({immediate:A,...e}){const[t,o]=d.useState(A||!1);return console.log("Rendering NestedApp with props:",e),d.useEffect(()=>{A||d.startTransition(()=>{o(!0)})},[A]),t?c.jsx(e5,{...e}):null}function Wd(A){const{indexing:e}=dl();return e?null:c.jsx(A5,{...A})}function e5({api:A,app:e,components:t=Ae,config:o,activeTheme:r,activeTone:n,height:a,style:i,refreshVersion:s,withSplashScreen:l=!1,className:g}){const u=d.useRef(null),p=d.useRef(null),B=d.useRef(null),C=le(),m=n||(o==null?void 0:o.defaultTone)||(C==null?void 0:C.activeThemeTone),h=Yn(),Q=ud(),[E,D]=d.useState(!l),[I,w]=d.useState(!1),v="",f=d.useMemo(()=>{if(!A)return;let x=A;if(typeof A=="string")try{x=JSON.parse(A.replaceAll(`
300
+ }`;break}default:throw new Error("Unknown event handler component type: ",Q)}}),t.forEach(h=>{var f,M,S;const Q=((f=e.props[h])==null?void 0:f.type)==="DataSourceRef",E=e.props[h].uid||l(h),D=e.props[h].props||e.props[h],I={};Object.entries(e.events||{}).forEach(([G,b])=>{if(G.startsWith(h)){const x=G.substring(h.length),L=x.charAt(0).toLowerCase()+x.slice(1);I[L]=b}}),h==="data"&&(p.__DATA_RESOLVED=!0),Q||(g.push({type:"DataLoader",uid:E,props:D,events:I}),C[`fetch_${h}`]=`() => { ${E}.refetch(); }`,C[`update_${h}`]=`(updaterFn) => { ${E}.update(updaterFn); }`,C[`addItem_${h}`]=`(element, index) => { ${E}.addItem(element, index); }`,C[`getItems_${h}`]=`() => { return ${E}.getItems(); }`,C[`deleteItem_${h}`]=`(element) => { ${E}.deleteItem(element); }`,h==="data"&&(p._data_url=D.url));let w=null;const{segments:v}=xR((M=D.url)==null?void 0:M.trim());(v==null?void 0:v.length)===1&&(v[0].literal?w=`"${v[0].literal}"`:v[0].expr&&(w=(S=D.url)==null?void 0:S.trim().substring(1,D.url.length-1))),w===null?p[h]=`{ ${E}.value }`:p[h]=`{ ${E}.value || ( appGlobals.prefetchedContent[${w}] || appGlobals.prefetchedContent['/' + ${w}] ) }`,p.loading=`{ ${E}.inProgress === undefined ? true : ${E}.inProgress}`,p.pageInfo=`{${E}.pageInfo}`,u.requestFetchPrevPage=`${E}.fetchPrevPage()`,u.requestFetchNextPage=`${E}.fetchNextPage()`,u.requestRefetch=`()=> ${E}.refetch();`});const m={...e,containerUid:A,apiBoundContainer:!0,props:p,events:u};return g.length&&(m.loaders=g),Object.keys(B).length&&(m.vars=B),Object.keys(C).length&&(m.api=C),m},[o,t,e,A]),s=r(i,n==null?void 0:n.current,a);return d.isValidElement(s)?s:c.jsx(c.Fragment,{children:s})}const HR=["horizontalAlignment","verticalAlignment","orientation","width","minWidth","maxWidth","height","minHeight","maxHeight","gap","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderStyle","borderWidth","borderHorizontal","borderVertical","borderRadius","radiusTopLeft","radiusTopRight","radiusBottomLeft","radiusBottomRight","padding","paddingHorizontal","paddingVertical","paddingTop","paddingRight","paddingBottom","paddingLeft","backgroundColor","background","boxShadow","direction","overflowX","overflowY","zIndex","color","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","wrapContent","canShrink","margin","marginHorizontal","marginVertical","marginTop","marginRight","marginBottom","marginLeft","userSelect","letterSpacing","textTransform","lineHeight","opacity","cursor","textWrap","textAlign","textAlignLast","top","right","bottom","left","zoom","whiteSpace","textDecoration","textDecorationLine","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","outline","outlineWidth","outlineColor","outlineStyle","outlineOffset","fontVariant","lineBreak","textIndent","textShadow","wordBreak","wordSpacing","wordWrap","writingMode","transition"];function SR(A,e){const t=a("click",A,e),o=a("mouseLeave",A,e),r=a("mouseEnter",A,e),n=a("doubleClick",A,e);if(e)return YA;return{onClick:t,onMouseLeave:o,onMouseEnter:r,onDoubleClick:n};function a(i,s,l){const g=l?void 0:s(i),u=d.useCallback(p=>{g&&(p==null||p.stopPropagation(),g(p))},[g]);return g?u:void 0}}const zb={errorOverlay:"_errorOverlay_1fts7_13",title:"_title_1fts7_20"};function MR({message:A}){return c.jsx("div",{className:zb.errorOverlay,children:c.jsxs("span",{className:zb.title,children:["Unknown component: ",A]})})}const _c={errorOverlay:"_errorOverlay_dnota_13",title:"_title_dnota_22",errorItems:"_errorItems_dnota_31",errorItem:"_errorItem_dnota_31"};function qb({errors:A=Ae,node:e,children:t}){return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:_c.errorOverlay,children:[c.jsx("div",{className:_c.title,children:c.jsxs("span",{children:[c.jsx("b",{children:e.type})," component problems:"]})}),c.jsx("ul",{className:_c.errorItems,children:A.map((o,r)=>c.jsx("li",{className:_c.errorItem,children:o},r))})]}),t]})}const LR=d.forwardRef(function({node:e,state:t,appContext:o,dispatch:r,lookupAction:n,lookupSyncCallback:a,renderChild:i,registerComponentApi:s,layoutContextRef:l,parentRenderContext:g,memoedVarsRef:u,onUnmount:p,uidInfoRef:B,children:C,...m},h){var z;const Q=d.useMemo(()=>({...e,props:e.props||YA,events:e.events||YA}),[e]),E=d.useMemo(()=>Symbol(Q.uid),[Q.uid]);d.useEffect(()=>()=>{p(E)},[p,E]);const D=d.useCallback(AA=>{s(E,AA)},[s,E]),I=d.useCallback(AA=>{r({type:_e.COMPONENT_STATE_CHANGED,payload:{uid:E,state:AA}})},[r,E]),w=ol(t),v=d.useMemo(()=>Zm(t,o,w,u),[o,u,w,t]),f=d.useCallback(AA=>a(v(AA),E),[a,E,v]),M=d.useCallback((AA,eA)=>n(AA,E,eA),[n,E]),S=d.useCallback((AA,eA,cA)=>i(AA,eA,cA||g,B),[i,g,B]),G=d.useMemo(()=>Vb(Q.props,"DataSource","DataSourceRef"),[Q.props]),b=d.useMemo(()=>Vb(Q.events,"APICall","FileDownload","FileUpload"),[Q.events]),x=G.length>0||b.length>0,L=Yn(),{renderer:T,descriptor:H,isCompoundComponent:_}=L.lookupComponentRenderer(Q.type)||{},j=d.useCallback((AA,eA)=>{var wA;const cA=((wA=Q.events)==null?void 0:wA[AA])||(eA==null?void 0:eA.defaultHandler);return n(cA,E,{eventName:AA,...eA})},[n,Q.events,E]),O=SR(j,(H==null?void 0:H.nonVisual)||x),{getResourceUrl:U}=le(),J=d.useCallback(AA=>{const eA=v(AA);return U(eA)},[U,v]),{cssProps:V}=d.useMemo(()=>{const AA={};return HR.forEach(eA=>{Q.props&&eA in Q.props&&(AA[eA]=v(Q.props[eA],!0))}),Op(AA,{...l==null?void 0:l.current,mediaSize:o.mediaSize})},[o.mediaSize,l,Q.props,v]),Z=et(V);let R=null,K=null;try{const AA={node:Q,state:t[E]||YA,updateState:I,appContext:o,extractValue:v,lookupEventHandler:j,lookupAction:M,lookupSyncCallback:f,extractResourceUrl:J,renderChild:S,registerComponentApi:D,layoutCss:Z,layoutContext:l==null?void 0:l.current,uid:E};if(Q.type==="Slot")R=TR(AA,g);else{if(!T)return console.error(`Component '${Q.type}' is not available. Did you forget to register it?`),c.jsx(MR,{message:`${Q.type}`});R=T(AA)}const{inspectId:eA,refreshInspection:cA}=KF(Q,E);if((o!=null&&o.decorateComponentsWithTestId&&(Q.uid!==void 0||Q.testId!==void 0)||eA!==void 0)&&(H==null?void 0:H.nonVisual)!==!0&&(H==null?void 0:H.opaque)!==!0){const wA=Q.testId||Q.uid,uA=LA(t,wA,o,!0);R=c.jsx(vR,{attr:{"data-testid":uA,"data-inspectId":eA},allowOnlyRefdChild:_||Q.type==="ModalDialog",onTargetMounted:Q.type==="ModalDialog"?cA:void 0,ref:h,children:d.cloneElement(R,{...su({...R.props,...O},m)})})}if(x)return c.jsx(kR,{uid:E,renderChild:S,node:Q,apiBoundEvents:b,apiBoundProps:G,layoutContextRef:l,parentRendererContext:g},Q.uid);(z=l.current)!=null&&z.wrapChild&&(R=l.current.wrapChild(AA,R,H))}catch(AA){K=(AA==null?void 0:AA.message)||"Internal error",console.error(AA)}if(K)return c.jsx(qb,{errors:[K],node:Q,children:R});if((h||!hA.isEmpty(O))&&R&&d.isValidElement(R)){const AA=C?Array.isArray(C)?C:[C]:[];return d.cloneElement(R,{ref:R.type===d.Fragment?void 0:h?Dt(h,R.ref):R.ref,...su({...R.props,...R.type!==d.Fragment?O:{}},m)},...AA)}return d.isValidElement(R)&&C?d.cloneElement(R,null,C):R});function TR({node:A,extractValue:e,renderChild:t,lookupAction:o,layoutContext:r},n){const a=e.asOptionalString(A.props.name);if(a&&!a.endsWith("Template"))return c.jsx(qb,{node:A,errors:[`Slot name '${a}' is not valid. A named slot should use a name ending with 'Template'.`]});let i=null;if(hA.isEmpty(A.props)||(i={},Object.keys(A.props).forEach(s=>{if(s!=="name"){let l=e(A.props[s],!0);l!=null&&l._ARROW_EXPR_&&(l=o(l)),i[s]=l}})),n){if(a===void 0)return i?c.jsx(Ql,{node:n.children,renderChild:n.renderChild,slotProps:i,layoutContext:r}):n.renderChild(n.children,r);if(n.props[a])return c.jsx(Ql,{node:n.props[a],renderChild:n.renderChild,slotProps:i,layoutContext:r})}if(A.children&&A.children.length>0)return c.jsx(Ql,{node:A.children,renderChild:t,slotProps:i??YA,layoutContext:r})}function Vb(A,...e){const t=[];if(!A)return t;const o=Object.entries(A);for(let r=0;r<o.length;r++){const[n,a]=o[r];hA.isPlainObject(a)&&e.includes(a.type)&&t.push(n)}return t}const NR=d.memo(d.forwardRef(function({node:e,resolvedKey:t,state:o,dispatch:r,appContext:n,lookupAction:a,lookupSyncCallback:i,registerComponentApi:s,renderChild:l,statePartChanged:g,layoutContext:u,parentRenderContext:p,memoedVarsRef:B,cleanup:C,uidInfoRef:m,children:h,...Q},E){var S;const D=Yn(),{descriptor:I}=D.lookupComponentRenderer(e.type)||{},w=d.useRef(u),v=d.useMemo(()=>{let G=e;return G=FR(G,I==null?void 0:I.childrenAsTemplate),G=PR(G),G=GR(G,m),G=RR(G),G},[I==null?void 0:I.childrenAsTemplate,e,m]),f=d.useMemo(()=>{var b;return typeof LA(o,(b=v.props)==null?void 0:b.data,n,!0)=="string"},[n,(S=v.props)==null?void 0:S.data,o]),M=d.useMemo(()=>OR(v,f,m),[v,f,m]);return fR(M)?c.jsx(bR,{resolvedKey:t,node:M,parentState:o,parentDispatch:r,layoutContextRef:w,parentRenderContext:p,parentStatePartChanged:g,parentRegisterComponentApi:s,uidInfoRef:m,ref:E,...Q,children:h}):c.jsx(LR,{onUnmount:C,memoedVarsRef:B,node:M,state:o,dispatch:r,appContext:n,lookupAction:a,lookupSyncCallback:i,registerComponentApi:s,renderChild:l,parentRenderContext:p,layoutContextRef:w,ref:E,uidInfoRef:m,...Q,children:h})}));function FR(A,e){if(!e||!A.children||A.children.length===0)return A;if(A.props[e])throw Error("'"+e+"' is already used as a property.");return{...A,props:{...A.props,[e]:A.children},children:Ae}}function PR(A){var r;let e=!1,t=A.loaders,o;return(r=A.children)==null||r.forEach(n=>{(n==null?void 0:n.type)==="DataSource"?(e=!0,t||(t=[]),t.push({uid:n.uid,type:"DataLoader",props:n.props,events:n.events,when:n.when})):(o||(o=[]),o.push(n))}),e?{...A,children:o,loaders:t}:A}function GR(A,e){if(!A.props)return A;let t={...A},o=!1;return Object.entries(A.props).forEach(([r,n])=>{let a;try{a=LA(e.current,n)}catch{}(a==null?void 0:a.type)==="loader"&&(o=!0,t={...t,props:{...t.props,[r]:{type:"DataSourceRef",uid:a.uid}}})}),o?t:A}function OR(A,e,t){var o;return!((o=A.props)!=null&&o.__DATA_RESOLVED)&&A.props&&"data"in A.props&&e?LA(t.current,A.props.data)==="loaderValue"?A:{...A,props:{...A.props,data:{type:"DataSource",props:{url:A.props.data}}}}:A}function RR(A){return A.props&&"raw_data"in A.props?{...A,props:{...A.props,__DATA_RESOLVED:!0,data:A.props.raw_data}}:A}function Zb({node:A,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:a,renderChild:i,statePartChanged:s,layoutContext:l,parentRenderContext:g,memoedVarsRef:u,cleanup:p,uidInfoRef:B}){var h,Q,E;if(!Uu(A.when,e,o))return null;const C=(h=A.props)==null?void 0:h.value;if(A.type==="TextNodeCData")return C??"";if(A.type==="TextNode"){const D=LA(e,C,o,!0);return typeof D=="boolean"?D.toString():D}if(A.type==="Slot"){let D;const I=(Q=A.props)==null?void 0:Q.name;if(I){if(!I.endsWith("Template"))throw new Error(`Slot name '${I}' is not valid. A named slot should use a name ending with 'Template'.`);D=(E=g==null?void 0:g.props)==null?void 0:E[I]}else D=g==null?void 0:g.children;if(D||(D=A.children),D){const w=Array.isArray(D)?D:[D];if(w.length===1&&g&&(w[0].type==="TextNodeCData"||w[0].type==="TextNode"))return g.renderChild(w)}}const m=LA(e,A.uid,o,!0);return c.jsx(NR,{resolvedKey:m,node:A,cleanup:p,statePartChanged:s,memoedVarsRef:u,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:a,renderChild:i,layoutContext:l,parentRenderContext:g,uidInfoRef:B},m)}function ps(A){return getComputedStyle(A||document.body)}function UR({rootContainer:A,routerBaseName:e,globalProps:t,standalone:o,trackContainerHeight:r,decorateComponentsWithTestId:n,debugEnabled:a,children:i,onInit:s}){const[l,g]=d.useState(null),u=Sb(),p=Yn(),B=Ue.useNavigate(),{confirm:C}=FP(),{activeThemeId:m,activeThemeTone:h,setActiveThemeId:Q,setActiveThemeTone:E,availableThemeIds:D,root:I,toggleThemeTone:w}=el();Rx($A=>{$A.code==="KeyT"&&$A.altKey&&$A.ctrlKey&&$A.shiftKey&&Q(D[(D.indexOf(m)+1)%D.length]),$A.code==="KeyO"&&$A.altKey&&$A.ctrlKey&&$A.shiftKey&&E(ul[(ul.indexOf(h)+1)%ul.length]),$A.code==="KeyS"&&$A.altKey&&$A.ctrlKey&&$A.shiftKey&&u.setDisplayStateView(!u.displayStateView)});const[v,f]=d.useState("0"),[M,S]=d.useState("0"),[G,b]=d.useState("0"),[x,L]=d.useState("0"),[T,H]=d.useState("0"),[_,j]=d.useState("0"),[O,U]=d.useState("0"),[J,V]=d.useState("0"),[Z,R]=d.useState("0"),[K,z]=d.useState("0"),AA=$A=>{const kA=$A.match(/^(\d+)px$/);return kA?`${parseInt(kA[1])-.02}px`:"0"},eA=d.useRef();De(()=>(r&&I&&I!==document.body&&(eA!=null&&eA.current&&eA.current.unobserve(I),r==="auto"?I.style.setProperty("--containerHeight","auto"):eA.current=new ResizeObserver($A=>{I.style.setProperty("--containerHeight",$A[0].contentRect.height+"px")}),eA.current&&eA.current.observe(I)),()=>{eA!=null&&eA.current&&eA.current.unobserve(I)}),[I,eA,r]),De(()=>{const $A=ps(I).getPropertyValue(wa("maxWidth-phone"));f($A),S(AA($A));const kA=ps(I).getPropertyValue(wa("maxWidth-landscape-phone"));b(kA),L(AA(kA));const jA=ps(I).getPropertyValue(wa("maxWidth-tablet"));H(jA),j(AA(jA));const GA=ps(I).getPropertyValue(wa("maxWidth-desktop"));U(GA),V(AA(GA));const zA=ps(I).getPropertyValue(wa("maxWidth-large-desktop"));R(zA),z(AA(zA))},[m,I]);const cA=va(`(max-width: ${M})`),wA=va(`(min-width: ${v}) and (max-width: ${x})`),uA=va(`(min-width: ${G}) and (max-width: ${_})`),bA=va(`(min-width: ${T}) and (max-width: ${J})`),Y=va(`(min-width: ${O}) and (max-width: ${K})`);let F,P;const q=va(`(min-width: ${Z})`);q?(F="xxl",P=5):Y?(F="xl",P=4):bA?(F="lg",P=3):uA?(F="md",P=2):wA?(F="sm",P=1):cA&&(F="xs",P=0);const X=Gx(),iA=Ox(),sA=ud(),EA=Ue.useLocation(),QA=d.useRef(""),[dA,rA]=d.useState(0);d.useEffect(()=>{s==null||s()},[s]),d.useEffect(()=>{var kA;let $A="";EA.hash&&($A=EA.hash.slice(1)),QA.current!==$A&&(QA.current=$A,(kA=EA.state)!=null&&kA.preventHashScroll||requestAnimationFrame(()=>{var jA;(jA=document.getElementById(QA.current))==null||jA.scrollIntoView({behavior:"instant",block:"start"})}))},[EA,dA]);const DA=d.useCallback(()=>{QA.current="",rA($A=>$A+1)},[]),IA=d.useMemo(()=>{const $A={_SUPPORT_IMPLICIT_CONTEXT:!0};for(const[kA,jA]of p.actionFunctions)$A[kA]=jA;return $A},[p.actionFunctions]),KA=d.useMemo(()=>({isInIFrame:X}),[X]),JA=d.useMemo(()=>({isWindowFocused:iA}),[iA]),FA=d.useMemo(()=>({phone:cA,landscapePhone:wA,tablet:uA,desktop:bA,largeDesktop:Y,xlDesktop:q,smallScreen:cA||wA||uA,largeScreen:!(cA||wA||uA),size:F,sizeIndex:P}),[cA,wA,uA,bA,Y,q,F,P]),MA=d.useMemo(()=>t?{...t}:YA,[t]),pe=d.useMemo(()=>({version:wO,Actions:IA,appGlobals:MA,debugEnabled:a,decorateComponentsWithTestId:n,environment:JA,mediaSize:FA,queryClient:AD,standalone:o,...Rb,...FO,formatFileSizeInBytes:Hx,getFileExtension:Sx,navigate:B,routerBaseName:e,confirm:C,signError:KR,toast:ke,activeThemeId:m,activeThemeTone:h,availableThemeIds:D,setTheme:Q,setThemeTone:E,toggleThemeTone:w,loggedInUser:l,setLoggedInUser:g,delay:Da,embed:KA,apiInterceptorContext:sA,getPropertyByPath:hA.get,...Pb,forceRefreshAnchorScroll:DA}),[IA,MA,a,n,JA,FA,o,B,e,C,m,h,D,Q,E,w,l,KA,sA,DA]),[ne,Nn]=d.useState(YA),ha=d.useCallback(($A,kA)=>{Nn(jA=>({...jA,[$A]:kA}))},[]),Wr=d.useCallback(($A,kA)=>{Nn(jA=>({...jA,[$A]:{...jA[$A]||{},...kA}}))},[]),Dg=d.useMemo(()=>({registerAppState:ha,appState:ne,update:Wr}),[ne,ha,Wr]),vg=d.useRef(new Map),Di=Zb({node:A,state:YA,dispatch:vA,appContext:void 0,lookupAction:vA,lookupSyncCallback:vA,registerComponentApi:vA,renderChild:vA,statePartChanged:vA,cleanup:vA,memoedVarsRef:vg});return c.jsx(rC.Provider,{value:pe,children:c.jsx(CC.Provider,{value:Dg,children:i&&d.isValidElement(Di)?d.cloneElement(Di,null,i):Di})})}function KR(A){ke.error(typeof A=="string"?A:A.message||"Something went wrong")}const Xb=d.createContext(void 0),YR=({children:A})=>{const[e,t]=d.useState([]),o=d.useCallback(r=>{const n={timestamp:new Date,args:r};t(a=>[...a,n])},[]);return c.jsx(Xb.Provider,{value:{logs:e,addLog:o},children:A})},jR=()=>{const A=d.useContext(Xb);if(!A)throw new Error("useLogger must be used within LoggerProvider");return A};var _R={};class ci{constructor(){this.isDev=!!_R.VITE_DEV_MODE}static getInstance(){return ci.instance||(ci.instance=new ci),ci.instance}registerCallback(e){this.isDev&&(this.callback=e)}log(e){this.isDev&&(console.log("[xmlui.log]",...e),this.callback&&this.callback(e))}warn(e){this.isDev&&(console.warn("[xmlui.warn]",...e),this.callback&&this.callback(e))}info(e){this.isDev&&(console.info("[xmlui.info]",...e),this.callback&&this.callback(e))}error(e){this.isDev&&(console.error("[xmlui.error]",...e),this.callback&&this.callback(e))}trace(e){this.isDev&&(console.trace("[xmlui.trace]",...e),this.callback&&this.callback(e))}}const WR=ci.getInstance(),JR=()=>{const{addLog:A}=jR();return d.useEffect(()=>{WR.registerCallback(A)},[A]),null};var $R={};const zR=({node:A,previewMode:e=!1,routerBaseName:t="",contributes:o=YA,globalProps:r,standalone:n,trackContainerHeight:a,decorateComponentsWithTestId:i,debugEnabled:s,defaultTheme:l,defaultTone:g,resources:u,resourceMap:p,sources:B,children:C,projectCompilation:m,onInit:h})=>{e&&(Ia.HelmetProvider.canUseDOM=!1);const Q=(r==null?void 0:r.name)||"XMLUI app",E=(r==null?void 0:r.useHashBasedRouting)??!0,D=c.jsxs(Ia.HelmetProvider,{children:[c.jsx(Ia.Helmet,{defaultTitle:Q,titleTemplate:`%s | ${Q}`}),c.jsxs(YR,{children:[c.jsx(JR,{}),c.jsx(IO,{children:c.jsx(h2,{resourceMap:p,themes:o.themes,defaultTheme:l,defaultTone:g,resources:u,children:c.jsx(OF,{sources:B,projectCompilation:m,mockApi:r==null?void 0:r.demoMockApi,children:c.jsx(PP,{children:c.jsx(UR,{onInit:h,rootContainer:A,routerBaseName:t,globalProps:r,standalone:n,decorateComponentsWithTestId:i,debugEnabled:s,trackContainerHeight:a,children:C})})})})})]})]}),I=e?Ks.MemoryRouter:E?Ks.HashRouter:Ks.BrowserRouter,w=e?!1:typeof window>"u"||$R.VITE_REMIX;return c.jsx(d.StrictMode,{children:c.jsx(Yi,{node:A,location:"root-outer",children:c.jsxs(Us.QueryClientProvider,{client:AD,children:[!!w&&D,!w&&c.jsx(I,{basename:I===Ks.HashRouter?void 0:t,children:D})]})})})};Qe.enableMapSet();const AD=new Us.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function qR({apiInterceptor:A,contributes:e,node:t,decorateComponentsWithTestId:o,debugEnabled:r,defaultTheme:n,defaultTone:a,resources:i,globalProps:s,standalone:l,trackContainerHeight:g,routerBaseName:u,previewMode:p,resourceMap:B,sources:C,extensionManager:m,children:h,projectCompilation:Q,isNested:E=!1,onInit:D}){const I=d.useMemo(()=>({type:"Container",uid:"root",children:[{type:"Theme",props:{root:!0},children:[t]}],uses:[]}),[t]);if(Q){const v=Q.entrypoint.dependencies;VR(v,Q.components)}const w=d.useMemo(()=>({...s,isNested:E}),[s,E]);return c.jsx(LP,{contributes:e,extensionManager:m,children:c.jsx(TP,{debugConfig:s==null?void 0:s.debug,children:c.jsx(zR,{projectCompilation:Q,resourceMap:B,apiInterceptor:A,node:I,contributes:e,resources:i,routerBaseName:u,decorateComponentsWithTestId:o,debugEnabled:r,defaultTheme:n,defaultTone:a,globalProps:w,standalone:l,trackContainerHeight:g,previewMode:p,sources:C,onInit:D,children:h})})})}function VR(A,e){const t=e.reduce(function(a,{definition:{name:i},dependencies:s}){return a.set(i,s)},new Map),o=new Set;return r(A),o;function r(n){if(n){for(const a of n)if(!o.has(a)){o.add(a);const i=t.get(a);r(i)}}}}var _d={};function ZR({interceptor:A,children:e,useHashBasedRouting:t,parentInterceptorContext:o=null,waitForApiInterceptor:r=!1}){const n=o!==null,[a,i]=d.useState(!A),[s,l]=d.useState(!1),[g,u]=d.useState(null);d.useEffect(()=>{if(n)A&&(o!=null&&o.interceptorWorker?(async()=>{const{createApiInterceptorWorker:m}=await Promise.resolve().then(()=>Ey);await m(A,o==null?void 0:o.interceptorWorker),setTimeout(()=>{i(!0)},0)})():o==null||o.forceInitialize());else if(A||s){let m;return(async()=>{if(_d.VITE_MOCK_ENABLED){const{createApiInterceptorWorker:h}=await Promise.resolve().then(()=>Ey);if(A||s){m=await h(A||{},null);const Q=up(_d.VITE_MOCK_WORKER_LOCATION||"mockServiceWorker.js");await m.start({onUnhandledRequest:"bypass",quiet:!0,serviceWorker:{url:Q}}),u(m)}}i(!0)})(),()=>{o!=null&&o.interceptorWorker||m==null||m.stop(),i(!1)}}else i(!0)},[s,n,A,o==null?void 0:o.forceInitialize,o==null?void 0:o.interceptorWorker]);const p=d.useCallback(m=>A!==void 0&&!!_d.VITE_MOCK_ENABLED,[A]),B=d.useCallback(()=>{l(!0)},[]),C=d.useMemo(()=>({interceptorWorker:g,initialized:a,forceInitialize:B,isMocked:p}),[g,a,B,p]);return c.jsx(wE.Provider,{value:C,children:r&&!a?null:e})}function XR(){return c.jsx("div",{className:Ie.logoWrapper,children:c.jsxs("svg",{viewBox:"0 0 26 26",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M9.04674 19.3954C8.2739 19.3954 7.60226 19.2265 7.03199 18.8887C6.47443 18.5384 6.0435 18.0505 5.73938 17.425C5.43526 16.7869 5.2832 16.0362 5.2832 15.173V9.89961C5.2832 9.7745 5.32771 9.66815 5.41637 9.58059C5.50502 9.493 5.61275 9.44922 5.73938 9.44922H7.41222C7.55157 9.44922 7.6593 9.493 7.73524 9.58059C7.8239 9.66815 7.86841 9.7745 7.86841 9.89961V15.0604C7.86841 16.6117 8.55895 17.3874 9.94021 17.3874C10.5991 17.3874 11.1187 17.181 11.4988 16.7681C11.8917 16.3553 12.0881 15.786 12.0881 15.0604V9.89961C12.0881 9.7745 12.1325 9.66815 12.2211 9.58059C12.3098 9.493 12.4175 9.44922 12.5443 9.44922H14.217C14.3436 9.44922 14.4513 9.493 14.54 9.58059C14.6288 9.66815 14.6732 9.7745 14.6732 9.89961V18.7574C14.6732 18.8825 14.6288 18.9888 14.54 19.0764C14.4513 19.164 14.3436 19.2078 14.217 19.2078H12.6773C12.538 19.2078 12.4239 19.164 12.3352 19.0764C12.2591 18.9888 12.2211 18.8825 12.2211 18.7574V17.988C11.879 18.4258 11.4545 18.7699 10.9476 19.0201C10.4407 19.2703 9.80704 19.3954 9.04674 19.3954Z",fill:"#3367CC"}),c.jsx("path",{d:"M17.6397 19.2104C17.5129 19.2104 17.4052 19.1666 17.3165 19.079C17.2279 18.9914 17.1835 18.8851 17.1835 18.76V9.90221C17.1835 9.7771 17.2279 9.67075 17.3165 9.58319C17.4052 9.4956 17.5129 9.45182 17.6397 9.45182H19.2174C19.3567 9.45182 19.4644 9.4956 19.5404 9.58319C19.6292 9.67075 19.6736 9.7771 19.6736 9.90221V18.76C19.6736 18.8851 19.6292 18.9914 19.5404 19.079C19.4644 19.1666 19.3567 19.2104 19.2174 19.2104H17.6397ZM17.5636 7.8379C17.4243 7.8379 17.3102 7.80038 17.2215 7.72531C17.1454 7.63773 17.1074 7.52514 17.1074 7.38751V6.03633C17.1074 5.91122 17.1454 5.80487 17.2215 5.71731C17.3102 5.62972 17.4243 5.58594 17.5636 5.58594H19.2933C19.4327 5.58594 19.5467 5.62972 19.6354 5.71731C19.7242 5.80487 19.7686 5.91122 19.7686 6.03633V7.38751C19.7686 7.52514 19.7242 7.63773 19.6354 7.72531C19.5467 7.80038 19.4327 7.8379 19.2933 7.8379H17.5636Z",fill:"#3367CC"}),c.jsx("path",{className:Ie.animatedLogoPath,d:"M23.0215 2.81748H2.53486V23.044H23.0215V2.81748Z",fill:"none",stroke:"#3367CC",strokeWidth:"0.75"})]})})}function A5({immediate:A,...e}){const[t,o]=d.useState(A||!1);return d.useEffect(()=>{A||d.startTransition(()=>{o(!0)})},[A]),t?c.jsx(e5,{...e}):null}function Wd(A){const{indexing:e}=dl();return e?null:c.jsx(A5,{...A})}function e5({api:A,app:e,components:t=Ae,config:o,activeTheme:r,activeTone:n,height:a,style:i,refreshVersion:s,withSplashScreen:l=!1,className:g}){const u=d.useRef(null),p=d.useRef(null),B=d.useRef(null),C=le(),m=n||(o==null?void 0:o.defaultTone)||(C==null?void 0:C.activeThemeTone),h=Yn(),Q=ud(),[E,D]=d.useState(!l),[I,w]=d.useState(!1),v="",f=d.useMemo(()=>{if(!A)return;let x=A;if(typeof A=="string")try{x=JSON.parse(A.replaceAll(`
301
301
  `," "))}catch(L){console.error("Failed to parse API definition",L);return}return{...x,type:"in-memory"}},[A]);De(()=>{if(!p.current&&u.current){p.current=u.current.attachShadow({mode:"open"});const x=Array.from(document.styleSheets).map(async L=>{if(L.ownerNode&&L.ownerNode instanceof Element&&L.ownerNode.hasAttribute("data-theme-root"))return null;if(!L.href||L.href.startsWith(window.location.origin))try{const T=new CSSStyleSheet,H=Array.from(L.cssRules).map(_=>_.cssText).join(" ");return await T.replace(H),T}catch{return null}return null});Promise.all(x).then(L=>{const T=L.filter(Boolean);p.current.adoptedStyleSheets=T})}!B.current&&p.current&&(B.current=Zu.createRoot(p.current))},[]);const M=d.useCallback(()=>{D(!0)},[]);d.useEffect(()=>{var O;let{errors:x,component:L,erroneousCompoundComponentName:T}=gd(e);x.length>0&&(L=gE(x,"Main.xmlui",T));const H=(t??[]).map(U=>{if(typeof U!="string")return U;let{errors:V,component:Z,erroneousCompoundComponentName:R}=gd(U);return V.length>0?gE(V,"nested xmlui",R):Z});let _={name:o==null?void 0:o.name,...(o==null?void 0:o.appGlobals)||{},apiUrl:v};const j={};Object.keys(C.themeStyles).forEach(U=>{j[U]="initial"}),(O=B.current)==null||O.render(c.jsx(Yi,{node:L,children:c.jsx(ZR,{parentInterceptorContext:Q,interceptor:f,waitForApiInterceptor:!0,children:c.jsx("div",{style:{height:a,...i,...j},children:c.jsx(qR,{onInit:M,isNested:!0,previewMode:!0,standalone:!0,trackContainerHeight:a?"fixed":"auto",node:L,globalProps:_,defaultTheme:r||(o==null?void 0:o.defaultTheme),defaultTone:m,contributes:{compoundComponents:H,themes:o==null?void 0:o.themes},resources:o==null?void 0:o.resources,extensionManager:h.getExtensionManager()})})},`app-${s}`)}))},[M,r,e,h,t,o==null?void 0:o.appGlobals,o==null?void 0:o.defaultTheme,o==null?void 0:o.name,o==null?void 0:o.resources,o==null?void 0:o.themes,a,f,Q,i,C.themeStyles,m,s]);const S=d.useRef(!1);d.useEffect(()=>(S.current=!0,()=>{S.current=!1,setTimeout(()=>{var x;S.current||((x=B.current)==null||x.unmount(),B.current=null)},0)}),[]);const G=d.useCallback(()=>{w(!0)},[]),b=l&&!I;return c.jsxs("div",{className:aA(Ie.nestedAppPlaceholder,g),children:[b&&c.jsx(XR,{}),c.jsx("div",{ref:u,onTransitionEnd:G,className:aA(Ie.nestedAppRoot,{[Ie.shouldAnimate]:b,[Ie.initialized]:E})})]})}const t5={TooltipContent:"_TooltipContent_rqalv_13"},eD=({trigger:A,label:e})=>c.jsx(Li.Provider,{children:c.jsxs(Li.Root,{children:[c.jsx(Li.Trigger,{asChild:!0,children:A}),c.jsx(Li.Portal,{children:c.jsx(Li.Content,{side:"bottom",align:"start",className:t5.TooltipContent,children:e})})]})});function o5(A){return mA({attr:{viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M 16 3 C 12 3 8.4 4.7992187 6 7.6992188 L 6 4 L 4 4 L 4 12 L 12 12 L 12 10 L 6.8007812 10 C 8.8007812 7 12.1 5 16 5 C 22.1 5 27 9.9 27 16 C 27 22.1 22.1 27 16 27 C 9.9 27 5 22.1 5 16 L 3 16 C 3 23.2 8.8 29 16 29 C 23.2 29 29 23.2 29 16 C 29 8.8 23.2 3 16 3 z"}}]})(A)}async function r5(A){const o=new Blob([A]).stream().pipeThrough(new CompressionStream("gzip")).getReader(),r=[];for(;;){const{done:n,value:a}=await o.read();if(n)break;r.push(a)}return await n5(r)}async function n5(A){const t=await new Blob(A).arrayBuffer();return new Uint8Array(t)}async function a5(A){const e=await r5(A),t=btoa(String.fromCharCode(...e));return encodeURIComponent(t)}function i5(A){return A.endsWith("/")?A.substring(0,A.length-1):A}const s5="data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.04674%2019.3954C8.2739%2019.3954%207.60226%2019.2265%207.03199%2018.8887C6.47443%2018.5384%206.0435%2018.0505%205.73938%2017.425C5.43526%2016.7869%205.2832%2016.0362%205.2832%2015.173V9.89961C5.2832%209.7745%205.32771%209.66815%205.41637%209.58059C5.50502%209.493%205.61275%209.44922%205.73938%209.44922H7.41222C7.55157%209.44922%207.6593%209.493%207.73524%209.58059C7.8239%209.66815%207.86841%209.7745%207.86841%209.89961V15.0604C7.86841%2016.6117%208.55895%2017.3874%209.94021%2017.3874C10.5991%2017.3874%2011.1187%2017.181%2011.4988%2016.7681C11.8917%2016.3553%2012.0881%2015.786%2012.0881%2015.0604V9.89961C12.0881%209.7745%2012.1325%209.66815%2012.2211%209.58059C12.3098%209.493%2012.4175%209.44922%2012.5443%209.44922H14.217C14.3436%209.44922%2014.4513%209.493%2014.54%209.58059C14.6288%209.66815%2014.6732%209.7745%2014.6732%209.89961V18.7574C14.6732%2018.8825%2014.6288%2018.9888%2014.54%2019.0764C14.4513%2019.164%2014.3436%2019.2078%2014.217%2019.2078H12.6773C12.538%2019.2078%2012.4239%2019.164%2012.3352%2019.0764C12.2591%2018.9888%2012.2211%2018.8825%2012.2211%2018.7574V17.988C11.879%2018.4258%2011.4545%2018.7699%2010.9476%2019.0201C10.4407%2019.2703%209.80704%2019.3954%209.04674%2019.3954Z'%20fill='%233367CC'/%3e%3cpath%20d='M17.6397%2019.2104C17.5129%2019.2104%2017.4052%2019.1666%2017.3165%2019.079C17.2279%2018.9914%2017.1835%2018.8851%2017.1835%2018.76V9.90221C17.1835%209.7771%2017.2279%209.67075%2017.3165%209.58319C17.4052%209.4956%2017.5129%209.45182%2017.6397%209.45182H19.2174C19.3567%209.45182%2019.4644%209.4956%2019.5404%209.58319C19.6292%209.67075%2019.6736%209.7771%2019.6736%209.90221V18.76C19.6736%2018.8851%2019.6292%2018.9914%2019.5404%2019.079C19.4644%2019.1666%2019.3567%2019.2104%2019.2174%2019.2104H17.6397ZM17.5636%207.8379C17.4243%207.8379%2017.3102%207.80038%2017.2215%207.72531C17.1454%207.63773%2017.1074%207.52514%2017.1074%207.38751V6.03633C17.1074%205.91122%2017.1454%205.80487%2017.2215%205.71731C17.3102%205.62972%2017.4243%205.58594%2017.5636%205.58594H19.2933C19.4327%205.58594%2019.5467%205.62972%2019.6354%205.71731C19.7242%205.80487%2019.7686%205.91122%2019.7686%206.03633V7.38751C19.7686%207.52514%2019.7242%207.63773%2019.6354%207.72531C19.5467%207.80038%2019.4327%207.8379%2019.2933%207.8379H17.5636Z'%20fill='%233367CC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.0215%202.81748H2.53486V23.044H23.0215V2.81748ZM2.18164%202.46875V23.3927H23.3747V2.46875H2.18164Z'%20fill='%233367CC'/%3e%3c/svg%3e";function tD({markdown:A,splitView:e,withFrame:t=!0,noHeader:o=!1,initiallyShowCode:r=!1,popOutUrl:n,app:a,api:i,components:s=[],config:l,activeTone:g,activeTheme:u,title:p,height:B,allowPlaygroundPopup:C,withSplashScreen:m,immediate:h}){const[Q,E]=d.useState(r),{appGlobals:D}=$e(),[I,w]=d.useState(0),v=i5(n||(D==null?void 0:D.popOutUrl)||"https://docs.xmlui.com/#/playground"),f=d.useCallback(async()=>{const S=await a5(JSON.stringify({standalone:{app:a,components:s,config:{name:p,themes:[],defaultTheme:u},api:i},options:{fixedTheme:!1,swapped:!1,previewMode:!1,orientation:"horizontal",activeTheme:u,activeTone:g,content:"app"}}));window.open(`${v}/#${S}`,"_blank")},[a,s,p,u,i,g,v]);return t?c.jsxs(c.Fragment,{children:[!!A&&!e&&c.jsx(Wc,{children:A}),c.jsxs("div",{className:Ie.nestedAppContainer,style:{height:B},children:[!o&&c.jsxs("div",{className:Ie.header,children:[!e&&c.jsx("span",{className:Ie.headerText,children:p}),e&&c.jsxs(c.Fragment,{children:[c.jsx("div",{className:Ie.wrapper,children:c.jsx(s5,{className:Ie.logo})}),c.jsxs("div",{className:Ie.viewControls,children:[c.jsx(ae,{onClick:()=>E(!0),className:aA(Ie.splitViewButton,{[Ie.show]:Q,[Ie.hide]:!Q}),children:"XML"}),c.jsx(ae,{onClick:()=>E(!1),className:aA(Ie.splitViewButton,{[Ie.show]:!Q,[Ie.hide]:Q}),children:"UI"})]})]}),c.jsxs("div",{className:Ie.wrapper,children:[C&&c.jsx(eD,{trigger:c.jsx("button",{className:Ie.headerButton,onClick:()=>{f()},children:c.jsx(Nb,{})}),label:"View and edit in new full-width window"}),c.jsx(eD,{trigger:c.jsx("button",{className:Ie.headerButton,onClick:()=>{E(!1),w(I+1)},children:c.jsx(o5,{})}),label:"Reset the app"})]})]}),c.jsxs("div",{className:Ie.contentContainer,children:[c.jsx(Wc,{className:aA(Ie.splitViewMarkdown,{[Ie.hidden]:!Q}),children:A}),c.jsx(Wd,{className:aA({[Ie.hidden]:Q}),height:"100%",app:a,api:i,components:s,config:l,activeTone:g,activeTheme:u,refreshVersion:I,withSplashScreen:m,immediate:h})]})]})]}):c.jsxs(c.Fragment,{children:[!!A&&c.jsx(Wc,{children:A}),c.jsx(Wd,{height:B,app:a,api:i,components:s,config:l,activeTone:g,activeTheme:u,refreshVersion:I,withSplashScreen:m,immediate:h})]})}const oD={removeIndents:!0};function l5({id:A,children:e,codeHighlighter:t}){const{activeThemeTone:o}=le(),{appGlobals:r}=$e();let n=null;t?n=t:n=b8(r.codeHighlighter)?r.codeHighlighter:null;const a=c.jsx(Vu,{children:c.jsx(ZA,{uid:A,variant:"codefence",children:e})});if(!n)return a;const i=h8(e,n,o);return i?c.jsx(Vu,{meta:i.meta,textToCopy:i.codeStr,children:c.jsx(ZA,{uid:A,variant:"codefence",syntaxHighlightClasses:i.classNames,dangerouslySetInnerHTML:{__html:i.cleanedHtmlStr}})}):a}const Wc=d.memo(function({removeIndents:e=oD.removeIndents,children:t,style:o,codeHighlighter:r,showHeadingAnchors:n,className:a}){const i=d.useRef(new Map);if(typeof t!="string")return null;t=e?u5(t):t;const s=g=>{var u,p,B,C;return`${(p=(u=g==null?void 0:g.position)==null?void 0:u.start)==null?void 0:p.offset}|${(C=(B=g==null?void 0:g.position)==null?void 0:B.end)==null?void 0:C.offset}`},l=()=>{return i.current.clear(),function(p){$B.visit(p,"image",g)};function g(u,p,B){i.current.set(s(u),B.type==="paragraph"&&B.children.length>1)}};return c.jsx("div",{className:aA(pt.markdownContent,a),style:o,children:c.jsx(Fy,{remarkPlugins:[Py,v8,l],rehypePlugins:[Gy],components:{details({children:g,node:u,...p}){return c.jsx("details",{className:OA.htmlDetails,...p,children:g})},video({children:g,node:u,...p}){return c.jsx("video",{className:OA.htmlVideo,...p,children:g})},img({children:g,node:u,...p}){const B=p==null?void 0:p.src,C=p==null?void 0:p["data-popout"],m=(p==null?void 0:p.alt)||"";let h=i.current.get(s(u));const Q={...p.style||{},display:h?"inline":"block"};return C?c.jsx("a",{href:B,target:"_blank",rel:"noreferrer",children:c.jsx("img",{src:B,alt:m,style:Q,children:g})}):c.jsx("img",{src:B,alt:m,style:Q,...p,className:aA({[pt.block]:!h}),children:g})},h1({children:g}){return c.jsx(gi,{level:"h1",showHeadingAnchors:n,children:g})},h2({children:g}){return c.jsx(gi,{level:"h2",showHeadingAnchors:n,children:g})},h3({children:g}){return c.jsx(gi,{level:"h3",showHeadingAnchors:n,children:g})},h4({children:g}){return c.jsx(gi,{level:"h4",showHeadingAnchors:n,children:g})},h5({children:g}){return c.jsx(gi,{level:"h5",showHeadingAnchors:n,children:g})},h6({children:g}){return c.jsx(gi,{level:"h6",showHeadingAnchors:n,children:g})},p({id:g,children:u}){return c.jsx(ZA,{uid:g,variant:"markdown",children:u})},code({id:g,children:u}){return c.jsx(ZA,{uid:g,variant:"code",children:u})},pre({id:g,children:u}){return c.jsx(l5,{id:g,codeHighlighter:r,children:u})},strong({id:g,children:u}){return c.jsx(ZA,{uid:g,variant:"strong",children:u})},em({id:g,children:u}){return c.jsx(ZA,{uid:g,variant:"em",children:u})},del({id:g,children:u}){return c.jsx(ZA,{uid:g,variant:"deleted",children:u})},blockquote({children:g}){return c.jsx(g5,{children:g})},ol({children:g,node:u,...p}){return c.jsx("ol",{className:OA.htmlOl,...p,children:g})},ul({children:g,node:u,...p}){return c.jsx("ul",{className:OA.htmlUl,...p,children:g})},li({children:g,node:u,...p}){return c.jsx("li",{className:OA.htmlLi,...p,children:c.jsx(ZA,{children:g})})},hr(){return c.jsx(c5,{})},a({children:g,href:u,...p}){let B,C=g;if(typeof g=="string"){const m=g.match(/^((?:[^|]|\\\|)*[^\\])\|\s*target\s*=\s*([_a-zA-Z0-9-]+)\s*$/);m?(C=m[1].trim().replace(/\\\|/g,"|"),B=m[2]):C=g.replace(/\\\|/g,"|")}return c.jsx(wl,{to:u,target:B,...p,children:C})},input({disabled:g,checked:u}){return c.jsx(Jn,{variant:"checkbox",readOnly:g,value:u})},table({children:g}){return c.jsx("div",{className:pt.tableScrollContainer,children:c.jsx("table",{className:OA.htmlTable,children:g})})},tr({children:g}){return c.jsx("tr",{className:OA.htmlTr,children:g})},td({children:g}){return c.jsx("td",{className:OA.htmlTd,children:g})},th({children:g}){return c.jsx("th",{className:OA.htmlTh,children:g})},thead({children:g}){return c.jsx("thead",{className:OA.htmlThead,children:g})},tbody({children:g}){return c.jsx("tbody",{className:OA.htmlTbody,children:g})},tfoot({children:g}){return c.jsx("tfoot",{className:OA.htmlTfoot,children:g})},samp({...g}){const u=g==null?void 0:g["data-pg-markdown"],p=u?atob(u):"",B=g==null?void 0:g["data-pg-content"],C=atob(B),m=JSON.parse(C);return c.jsx(tD,{markdown:p,app:m.app,config:m.config,components:m.components,api:m.api,activeTheme:m.activeTheme,activeTone:m.activeTone,title:m.name,height:m.height,allowPlaygroundPopup:!m.noPopup,withFrame:!m.noFrame,noHeader:m.noHeader??!1,splitView:m.splitView??!1,initiallyShowCode:m.initiallyShowCode??!1,popOutUrl:m.popOutUrl,immediate:m.immediate,withSplashScreen:m.withSplashScreen})},section({children:g,...u}){const p=u==null?void 0:u["data-tree-content"];if(p!==void 0){const B=atob(p);return c.jsx(AQ,{content:B})}return null}},children:t})})}),c5=()=>c.jsx("hr",{className:pt.horizontalRule}),g5=({children:A,style:e})=>{const t=a=>typeof a=="string"?a:d.isValidElement(a)&&a.props&&a.props.children?Array.isArray(a.props.children)?a.props.children.map(t).join(""):t(a.props.children):"",o=d.Children.toArray(A).map(t).join(""),r=o.match(/\[!([A-Z]+)\]/);if(!!r&&r&&r[1]){const a=r[1].toLowerCase(),i=g=>{if(typeof g=="string")return g.replace(/\[!([A-Z]+)\]\s*/,"");if(d.isValidElement(g)){if(g.props&&g.props.children){let u;return Array.isArray(g.props.children)?u=g.props.children.map(i):u=i(g.props.children),d.cloneElement(g,g.props,u)}return g}return g},s=d.Children.map(A,i);if(a==="details"||a==="sdetails"){const u=o.match(/\[!(S?DETAILS)\](.*?)(?:\n|$)/),p=u&&u[2]?u[2].trim():"Details",B=a==="sdetails";let C=[],m=!1;return d.Children.forEach(s,(h,Q)=>{var E;if(!m&&d.isValidElement(h)&&((E=h.props)!=null&&E.children)){m=!0;const I=t(h.props.children).split(`
302
302
  `);if(I.length>1){const w=I.slice(1).join(`
303
303
  `);w.trim()&&C.push(d.cloneElement(h,h.props,w))}}else C.push(h)}),c.jsx(eQ,{summary:p,withSwitch:B,children:C})}const l={info:c.jsx(yA,{name:"admonition_info"}),warning:c.jsx(yA,{name:"admonition_warning"}),danger:c.jsx(yA,{name:"admonition_danger"}),note:c.jsx(yA,{name:"admonition_note"}),tip:c.jsx(yA,{name:"admonition_tip"})};return c.jsx("blockquote",{className:aA(pt.admonitionBlockquote,{[pt.info]:a==="info",[pt.warning]:a==="warning",[pt.danger]:a==="danger",[pt.note]:a==="note",[pt.tip]:a==="tip"}),style:e,children:c.jsxs("div",{className:pt.admonitionContainer,children:[c.jsx("div",{className:`${pt.admonitionIcon} ${pt[a]||""}`,children:l[a]||c.jsx(yA,{name:"admonition_info"})}),c.jsx("div",{className:pt.admonitionContent,children:s})]})})}return c.jsx("blockquote",{className:pt.blockquote,style:e,children:c.jsx("div",{className:pt.blockquoteContainer,children:A})})};function gi({children:A,level:e,showHeadingAnchors:t}){var a;const o=$e();t===void 0&&(t=((a=o==null?void 0:o.appGlobals)==null?void 0:a.showHeadingAnchors)??!1);let r="",n="";if(!A)return c.jsx(c.Fragment,{});if(typeof A=="string")[r,n]=d5(A);else if(Array.isArray(A)){if(A.length===0)return c.jsx(c.Fragment,{});if(A.length===1)r=A[0];else{r=A.slice(0,-1);const i=A[A.length-1];if(typeof i=="string"){const s=i.trim().match(/^\[#([^\]]+)\]$/);s&&s.length>0?n=s[1]:n=rD(Cs(i))}}}else{if(!Cs(A))return c.jsx(c.Fragment,{});r=A}return n||(n=rD(Cs(r))),c.jsx(sr,{level:e,id:n,showAnchor:t,children:r})}function u5(A){if(!A)return"";const e=A.split(`