xmlui 0.7.12 → 0.7.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/xmlui.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(lA,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react/jsx-runtime"),require("react"),require("react-dom"),require("react-router-dom"),require("@remix-run/react"),require("@tanstack/react-query"),require("lodash-es"),require("react-helmet-async"),require("react-hot-toast"),require("immer"),require("color"),require("memoize-one"),require("react-popper"),require("@radix-ui/react-dialog"),require("date-fns"),require("react-textarea-autosize"),require("@radix-ui/react-visually-hidden"),require("react-window"),require("react-virtualized-auto-sizer"),require("scroll-into-view-if-needed"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("react-dropzone"),require("use-context-selector"),require("@radix-ui/react-select"),require("cmdk"),require("@radix-ui/react-popover"),require("@radix-ui/react-radio-group"),require("react-day-picker"),require("@radix-ui/react-dropdown-menu"),require("emoji-picker-react"),require("@radix-ui/react-hover-card"),require("react-markdown"),require("@radix-ui/react-tabs"),require("@radix-ui/react-accordion"),require("embla-carousel-react"),require("embla-carousel-autoplay"),require("msw"),require("@eslint-community/regexpp"),require("dexie")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom","react-router-dom","@remix-run/react","@tanstack/react-query","lodash-es","react-helmet-async","react-hot-toast","immer","color","memoize-one","react-popper","@radix-ui/react-dialog","date-fns","react-textarea-autosize","@radix-ui/react-visually-hidden","react-window","react-virtualized-auto-sizer","scroll-into-view-if-needed","@tanstack/react-table","@tanstack/react-virtual","react-dropzone","use-context-selector","@radix-ui/react-select","cmdk","@radix-ui/react-popover","@radix-ui/react-radio-group","react-day-picker","@radix-ui/react-dropdown-menu","emoji-picker-react","@radix-ui/react-hover-card","react-markdown","@radix-ui/react-tabs","@radix-ui/react-accordion","embla-carousel-react","embla-carousel-autoplay","msw","@eslint-community/regexpp","dexie"],g):(lA=typeof globalThis<"u"?globalThis:lA||self,g(lA.xmlui={},lA["react/jsx-runtime"],lA.React,lA.ReactDOM,lA.reactRouterDom,lA.react,lA.reactQuery,lA.lodashEs,lA.reactHelmetAsync,lA.toast,lA.produce,lA.Color,lA.memoizeOne,lA.reactPopper,lA.SheetPrimitive,lA.dateFns,lA.TextareaAutosize,lA.VisuallyHidden,lA.reactWindow,lA.AutoSizer,lA.scrollIntoView,lA.reactTable,lA.reactVirtual,lA.dropzone,lA.useContextSelector,lA.reactSelect,lA.cmdk,lA.reactPopover,lA.InnerRadioGroup,lA.reactDayPicker,lA.ReactDropdownMenu,lA.EmojiPicker,lA.HoverCard,lA.ReactMarkdown,lA.RTabs,lA.RAccordion,lA.useEmblaCarousel,lA.Autoplay,lA.msw,lA.regexpp,lA.Dexie))})(this,function(lA,g,E,Po,tg,We,ks,QA,sn,me,ue,vr,Vn,A4,e4,Ae,t4,IQ,o4,r4,og,Xn,Ms,n4,Ns,Mt,pt,_s,i4,s4,To,rg,a4,l4,g4,c4,B4,Q4,yr,pQ,wQ){"use strict";var ET=Object.defineProperty;var WI=lA=>{throw TypeError(lA)};var dT=(lA,g,E)=>g in lA?ET(lA,g,{enumerable:!0,configurable:!0,writable:!0,value:E}):lA[g]=E;var ge=(lA,g,E)=>dT(lA,typeof g!="symbol"?g+"":g,E),EQ=(lA,g,E)=>g.has(lA)||WI("Cannot "+E);var bs=(lA,g,E)=>(EQ(lA,g,"read from private field"),E?E.call(lA):g.get(lA)),dQ=(lA,g,E)=>g.has(lA)?WI("Cannot add the same private member more than once"):g instanceof WeakSet?g.add(lA):g.set(lA,E),$I=(lA,g,E,Po)=>(EQ(lA,g,"write to private field"),Po?Po.call(lA,E):g.set(lA,E),E),Zl=(lA,g,E)=>(EQ(lA,g,"access private method"),E);var Dr,zn,eg,JI;var fQ=document.createElement("style");fQ.textContent=`@charset "UTF-8";*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}*{margin:0}html{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;line-height:1.5}body{line-height:inherit;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root,#__next{isolation:isolate}*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}hr{color:inherit;border-top-width:1px;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}*:focus-visible{outline:var(--xmlui-thickness-outline--focus) var(--xmlui-style-outline--focus) var(--xmlui-color-outline--focus);outline-offset:var(--xmlui-offset-outline--focus)}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder{opacity:1;color:#9ca3af}textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]{display:none}._errorOverlay_p2isd_13{background-color:var(--xmlui-color-danger-500);position:relative;top:0;right:0;bottom:0;left:0;border-radius:4px;padding:8px}._title_p2isd_21{color:#fff;font-weight:var(--xmlui-font-weight-normal);padding-left:4px;padding-right:8px}._errorItem_p2isd_28{font-weight:var(--xmlui-font-weight-bold);padding-left:4px;padding-right:8px;color:#fff;white-space:pre-wrap}._errorOverlay_393we_13{background-color:#ffa2a2cc;border-radius:10px;padding:8px;min-width:200px}._title_393we_20{background-color:var(--xmlui-color-danger-500);color:#fff;font-weight:var(--xmlui-font-weight-light);border-radius:4px;padding-left:4px;padding-right:8px}._errorOverlay_1jip5_13{background-color:#ffa2a2cc;top:0;right:0;bottom:0;left:0;border-radius:10px;padding:8px;min-width:200px;min-height:fit-content}._title_1jip5_22 span{background-color:var(--xmlui-color-danger-500);color:#fff;font-weight:var(--xmlui-font-weight-normal);border-radius:4px;padding-left:4px;padding-right:8px}._errorItems_1jip5_31{list-style:disc}._errorItem_1jip5_31{background-color:var(--xmlui-color-danger-500);font-weight:var(--xmlui-font-weight-bold);border-radius:4px;padding-left:8px;padding-right:8px;margin-left:18px;color:#fff}._overlay_1lmtb_13{position:fixed;display:grid;place-items:center;overflow-y:auto;top:0;right:0;bottom:0;left:0;padding:var(--xmlui-space-4)}._overlay_1lmtb_13._fullScreen_1lmtb_21{padding:0;width:100%;height:100%;display:block}._overlay_1lmtb_13._fullScreen_1lmtb_21 ._content_1lmtb_27{width:100%;height:100%;max-width:100%;max-height:100%;padding:0;border-radius:0}._overlayBg_1lmtb_36{background-color:var(--xmlui-color-bg-overlay-ModalDialog);position:fixed;top:0;right:0;bottom:0;left:0;animation:_overlayShow_1lmtb_1 .15s cubic-bezier(.16,1,.3,1)}._content_1lmtb_27{background-color:var(--xmlui-color-bg-ModalDialog);border-radius:var(--xmlui-radius-ModalDialog);font-family:var(--xmlui-font-family-ModalDialog);color:var(--xmlui-color-text-ModalDialog);padding:var(--xmlui-padding-ModalDialog);box-shadow:0 0 30px #0000001a;transform:translate(0);width:90vw;max-width:var(--xmlui-max-width-ModalDialog);min-width:var(--xmlui-min-width-ModalDialog);isolation:isolate;position:relative;animation:_contentShow_1lmtb_1 .15s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column;gap:var(--xmlui-space-4)}._content_1lmtb_27:focus{outline:none}._dialogTitle_1lmtb_66{flex:1;margin-bottom:var(--xmlui-margin-bottom-title-ModalDialog);font-size:var(--xmlui-font-size-large)}._innerContent_1lmtb_72{display:flex;flex-direction:column;min-height:0;gap:var(--stack-gap-default);flex:1}@keyframes _overlayShow_1lmtb_1{0%{opacity:0}to{opacity:1}}@keyframes _contentShow_1lmtb_1{0%{opacity:0;transform:translateY(2%) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}._closeButton_1lmtb_98{position:absolute;right:.5rem;top:.4rem}@media (max-width: 70em){._dialog_1lmtb_66,._content_1lmtb_27{max-width:90%}}@media (max-width: 50em){._dialog_1lmtb_66,._content_1lmtb_27{width:100%;max-width:calc(100% - var(--xmlui-space-6));min-width:0!important}}._base_13qtg_13{display:inline-block;vertical-align:text-bottom;color:inherit;width:var(--icon-width, var(--xmlui-size-Icon));height:var(--icon-height, var(--xmlui-size-Icon));stroke-width:var(--xmlui-thickness-stroke-Icon, revert-layer)}._base_13qtg_13 *{color:inherit!important}._button_1tdfj_13{width:var(--xmlui-width-Button);height:var(--xmlui-height-Button);line-height:normal;min-width:0;padding:0;margin:0;border-style:solid;transition:color .2s,background .2s;-webkit-user-select:none;user-select:none;cursor:pointer;display:flex;gap:var(--xmlui-space-2);justify-content:center;align-items:center}._button_1tdfj_13._alignStart_1tdfj_29{justify-content:start}._button_1tdfj_13._alignEnd_1tdfj_32{justify-content:end}._button_1tdfj_13 *{color:inherit}._button_1tdfj_13._buttonHorizontal_1tdfj_38{flex-direction:row}._button_1tdfj_13._buttonHorizontal_1tdfj_38._xs_1tdfj_41{padding:var(--xmlui-padding-vertical-Button-xs) var(--xmlui-padding-horizontal-Button-xs)}._button_1tdfj_13._buttonHorizontal_1tdfj_38._sm_1tdfj_44{padding:var(--xmlui-padding-vertical-Button-sm) var(--xmlui-padding-horizontal-Button-sm)}._button_1tdfj_13._buttonHorizontal_1tdfj_38._md_1tdfj_47{padding:var(--xmlui-padding-vertical-Button-md) var(--xmlui-padding-horizontal-Button-md)}._button_1tdfj_13._buttonHorizontal_1tdfj_38._lg_1tdfj_50{padding:var(--xmlui-padding-vertical-Button-lg) var(--xmlui-padding-horizontal-Button-lg)}._button_1tdfj_13._buttonVertical_1tdfj_53{flex-direction:column;gap:var(--xmlui-space-1);width:fit-content;height:fit-content}._button_1tdfj_13._buttonVertical_1tdfj_53._xs_1tdfj_41{padding:var(--xmlui-space-0_5) var(--xmlui-space-1)}._button_1tdfj_13._buttonVertical_1tdfj_53._sm_1tdfj_44{padding:var(--xmlui-space-2)}._button_1tdfj_13._buttonVertical_1tdfj_53._md_1tdfj_47{padding:var(--xmlui-space-4)}._button_1tdfj_13._buttonVertical_1tdfj_53._lg_1tdfj_50{padding:var(--xmlui-space-5)}._button_1tdfj_13._solidPrimary_1tdfj_71{font-size:var(--xmlui-font-size-Button-primary-solid);font-weight:var(--xmlui-font-weight-Button-primary-solid);border-radius:var(--xmlui-radius-Button-primary-solid);border-width:var(--xmlui-thickness-border-Button-primary-solid);border-color:var(--xmlui-color-border-Button-primary-solid);border-style:var(--xmlui-style-border-Button-primary-solid);background:var(--xmlui-color-bg-Button-primary-solid);color:var(--xmlui-color-text-Button-primary-solid);box-shadow:var(--xmlui-shadow-Button-primary-solid)}._button_1tdfj_13._solidPrimary_1tdfj_71:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-primary-solid--focus);outline-color:var(--xmlui-color-outline-Button-primary-solid--focus);outline-style:var(--xmlui-style-outline-Button-primary-solid--focus);outline-offset:var(--xmlui-offset-outline-Button-primary-solid--focus)}._button_1tdfj_13._solidPrimary_1tdfj_71:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-primary-solid--hover);color:var(--xmlui-color-text-Button-primary-solid--hover);background:var(--xmlui-color-bg-Button-primary-solid--hover)}._button_1tdfj_13._solidPrimary_1tdfj_71:not([disabled]):active{border-color:var(--xmlui-color-border-Button-primary-solid--active);color:var(--xmlui-color-text-Button-primary-solid--active);box-shadow:var(--xmlui-shadow-Button-primary-solid--active);background:var(--xmlui-color-bg-Button-primary-solid--active)}._button_1tdfj_13._solidPrimary_1tdfj_71:disabled{cursor:not-allowed;background:var(--xmlui-color-bg-Button--disabled);color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._solidSecondary_1tdfj_105{font-size:var(--xmlui-font-size-Button-secondary-solid);font-weight:var(--xmlui-font-weight-Button-secondary-solid);border-radius:var(--xmlui-radius-Button-secondary-solid);border-width:var(--xmlui-thickness-border-Button-secondary-solid);border-color:var(--xmlui-color-border-Button-secondary-solid);border-style:var(--xmlui-style-border-Button-secondary-solid);background:var(--xmlui-color-bg-Button-secondary-solid);color:var(--xmlui-color-text-Button-secondary-solid);box-shadow:var(--xmlui-shadow-Button-secondary-solid)}._button_1tdfj_13._solidSecondary_1tdfj_105:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-secondary-solid--focus);outline-color:var(--xmlui-color-outline-Button-secondary-solid--focus);outline-style:var(--xmlui-style-outline-Button-secondary-solid--focus);outline-offset:var(--xmlui-offset-outline-Button-secondary-solid--focus)}._button_1tdfj_13._solidSecondary_1tdfj_105:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-secondary-solid--hover);color:var(--xmlui-color-text-Button-secondary-solid--hover);background:var(--xmlui-color-bg-Button-secondary-solid--hover)}._button_1tdfj_13._solidSecondary_1tdfj_105:not([disabled]):active{border-color:var(--xmlui-color-border-Button-secondary-solid--active);color:var(--xmlui-color-text-Button-secondary-solid--active);box-shadow:var(--xmlui-shadow-Button-secondary-solid--active);background:var(--xmlui-color-bg-Button-secondary-solid--active)}._button_1tdfj_13._solidSecondary_1tdfj_105:disabled{cursor:not-allowed;background:var(--xmlui-color-bg-Button--disabled);color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._solidAttention_1tdfj_139{font-size:var(--xmlui-font-size-Button-attention-solid);font-weight:var(--xmlui-font-weight-Button-attention-solid);border-radius:var(--xmlui-radius-Button-attention-solid);border-width:var(--xmlui-thickness-border-Button-attention-solid);border-color:var(--xmlui-color-border-Button-attention-solid);border-style:var(--xmlui-style-border-Button-attention-solid);background:var(--xmlui-color-bg-Button-attention-solid);color:var(--xmlui-color-text-Button-attention-solid);box-shadow:var(--xmlui-shadow-Button-attention-solid)}._button_1tdfj_13._solidAttention_1tdfj_139:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-attention-solid--focus);outline-color:var(--xmlui-color-outline-Button-attention-solid--focus);outline-style:var(--xmlui-style-outline-Button-attention-solid--focus);outline-offset:var(--xmlui-offset-outline-Button-attention-solid--focus)}._button_1tdfj_13._solidAttention_1tdfj_139:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-attention-solid--hover);color:var(--xmlui-color-text-Button-attention-solid--hover);background:var(--xmlui-color-bg-Button-attention-solid--hover)}._button_1tdfj_13._solidAttention_1tdfj_139:not([disabled]):active{border-color:var(--xmlui-color-border-Button-attention-solid--active);color:var(--xmlui-color-text-Button-attention-solid--active);box-shadow:var(--xmlui-shadow-Button-attention-solid--active);background:var(--xmlui-color-bg-Button-attention-solid--active)}._button_1tdfj_13._solidAttention_1tdfj_139:disabled{cursor:not-allowed;background:var(--xmlui-color-bg-Button--disabled);color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._outlinedPrimary_1tdfj_173{font-size:var(--xmlui-font-size-Button-primary-outlined);font-weight:var(--xmlui-font-weight-Button-primary-outlined);border-radius:var(--xmlui-radius-Button-primary-outlined);border-width:var(--xmlui-thickness-border-Button-primary-outlined);border-color:var(--xmlui-color-border-Button-primary-outlined);border-style:var(--xmlui-style-border-Button-primary-outlined);color:var(--xmlui-color-text-Button-primary-outlined);box-shadow:var(--xmlui-shadow-Button-primary-outlined);background:transparent}._button_1tdfj_13._outlinedPrimary_1tdfj_173:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-primary-outlined--focus);outline-color:var(--xmlui-color-outline-Button-primary-outlined--focus);outline-style:var(--xmlui-style-outline-Button-primary-outlined--focus);outline-offset:var(--xmlui-offset-outline-Button-primary-outlined--focus)}._button_1tdfj_13._outlinedPrimary_1tdfj_173:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-primary-outlined--hover);background:var(--xmlui-color-bg-Button-primary-outlined--hover);color:var(--xmlui-color-text-Button-primary-outlined--hover)}._button_1tdfj_13._outlinedPrimary_1tdfj_173:not([disabled]):active{border-color:var(--xmlui-color-border-Button-primary-outlined--active);background:var(--xmlui-color-bg-Button-primary-outlined--active);color:var(--xmlui-color-text-Button-primary-outlined--active)}._button_1tdfj_13._outlinedPrimary_1tdfj_173:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._outlinedSecondary_1tdfj_205{font-size:var(--xmlui-font-size-Button-secondary-outlined);font-weight:var(--xmlui-font-weight-Button-secondary-outlined);border-radius:var(--xmlui-radius-Button-secondary-outlined);border-width:var(--xmlui-thickness-border-Button-secondary-outlined);border-color:var(--xmlui-color-border-Button-secondary-outlined);border-style:var(--xmlui-style-border-Button-secondary-outlined);color:var(--xmlui-color-text-Button-secondary-outlined);box-shadow:var(--xmlui-shadow-Button-secondary-outlined);background:transparent}._button_1tdfj_13._outlinedSecondary_1tdfj_205:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-secondary-outlined--focus);outline-color:var(--xmlui-color-outline-Button-secondary-outlined--focus);outline-style:var(--xmlui-style-outline-Button-secondary-outlined--focus);outline-offset:var(--xmlui-offset-outline-Button-secondary-outlined--focus)}._button_1tdfj_13._outlinedSecondary_1tdfj_205:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-secondary-outlined--hover);background:var(--xmlui-color-bg-Button-secondary-outlined--hover);color:var(--xmlui-color-text-Button-secondary-outlined--hover)}._button_1tdfj_13._outlinedSecondary_1tdfj_205:not([disabled]):active{border-color:var(--xmlui-color-border-Button-secondary-outlined--active);background:var(--xmlui-color-bg-Button-secondary-outlined--active);color:var(--xmlui-color-text-Button-secondary-outlined--active)}._button_1tdfj_13._outlinedSecondary_1tdfj_205:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._outlinedAttention_1tdfj_237{font-size:var(--xmlui-font-size-Button-attention-outlined);font-weight:var(--xmlui-font-weight-Button-attention-outlined);border-radius:var(--xmlui-radius-Button-attention-outlined);border-width:var(--xmlui-thickness-border-Button-attention-outlined);border-color:var(--xmlui-color-border-Button-attention-outlined);border-style:var(--xmlui-style-border-Button-attention-outlined);color:var(--xmlui-color-text-Button-attention-outlined);box-shadow:var(--xmlui-shadow-Button-attention-outlined);background:transparent}._button_1tdfj_13._outlinedAttention_1tdfj_237:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-attention-outlined--focus);outline-color:var(--xmlui-color-outline-Button-attention-outlined--focus);outline-style:var(--xmlui-style-outline-Button-attention-outlined--focus);outline-offset:var(--xmlui-offset-outline-Button-attention-outlined--focus)}._button_1tdfj_13._outlinedAttention_1tdfj_237:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-attention-outlined--hover);background:var(--xmlui-color-bg-Button-attention-outlined--hover);color:var(--xmlui-color-text-Button-attention-outlined--hover)}._button_1tdfj_13._outlinedAttention_1tdfj_237:not([disabled]):active{border-color:var(--xmlui-color-border-Button-attention-outlined--active);background:var(--xmlui-color-bg-Button-attention-outlined--active);color:var(--xmlui-color-text-Button-attention-outlined--active)}._button_1tdfj_13._outlinedAttention_1tdfj_237:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._ghostPrimary_1tdfj_269{font-size:var(--xmlui-font-size-Button-primary-ghost);font-weight:var(--xmlui-font-weight-Button-primary-ghost);border-radius:var(--xmlui-radius-Button-primary-ghost);border-width:var(--xmlui-thickness-border-Button-primary-ghost);border-color:transparent;border-style:solid;background:transparent;color:var(--xmlui-color-text-Button-primary-ghost)}._button_1tdfj_13._ghostPrimary_1tdfj_269:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-primary-ghost--focus);outline-color:var(--xmlui-color-outline-Button-primary-ghost--focus);outline-style:var(--xmlui-style-outline-Button-primary-ghost--focus);outline-offset:var(--xmlui-offset-outline-Button-primary-ghost--focus)}._button_1tdfj_13._ghostPrimary_1tdfj_269:not([disabled]):hover{background:var(--xmlui-color-bg-Button-primary-ghost--hover);color:var(--xmlui-color-text-Button-primary-ghost--hover)}._button_1tdfj_13._ghostPrimary_1tdfj_269:not([disabled]):active{background:var(--xmlui-color-bg-Button-primary-ghost--active);color:var(--xmlui-color-text-Button-primary-ghost--active)}._button_1tdfj_13._ghostPrimary_1tdfj_269:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled)}._button_1tdfj_13._ghostSecondary_1tdfj_297{font-size:var(--xmlui-font-size-Button-secondary-ghost);font-weight:var(--xmlui-font-weight-Button-secondary-ghost);border-radius:var(--xmlui-radius-Button-secondary-ghost);border-width:var(--xmlui-thickness-border-Button-secondary-ghost);border-color:transparent;border-style:solid;background:transparent;color:var(--xmlui-color-text-Button-secondary-ghost)}._button_1tdfj_13._ghostSecondary_1tdfj_297:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-secondary-ghost--focus);outline-color:var(--xmlui-color-outline-Button-secondary-ghost--focus);outline-style:var(--xmlui-style-outline-Button-secondary-ghost--focus);outline-offset:var(--xmlui-offset-outline-Button-secondary-ghost--focus)}._button_1tdfj_13._ghostSecondary_1tdfj_297:not([disabled]):hover{background:var(--xmlui-color-bg-Button-secondary-ghost--hover);color:var(--xmlui-color-text-Button-secondary-ghost--hover)}._button_1tdfj_13._ghostSecondary_1tdfj_297:not([disabled]):active{background:var(--xmlui-color-bg-Button-secondary-ghost--active);color:var(--xmlui-color-text-Button-secondary-ghost--active)}._button_1tdfj_13._ghostSecondary_1tdfj_297:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled)}._button_1tdfj_13._ghostAttention_1tdfj_325{font-size:var(--xmlui-font-size-Button-attention-ghost);font-weight:var(--xmlui-font-weight-Button-attention-ghost);border-radius:var(--xmlui-radius-Button-attention-ghost);border-width:var(--xmlui-thickness-border-Button-attention-ghost);border-color:transparent;border-style:solid;background:transparent;color:var(--xmlui-color-text-Button-attention-ghost)}._button_1tdfj_13._ghostAttention_1tdfj_325:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-attention-ghost--focus);outline-color:var(--xmlui-color-outline-Button-attention-ghost--focus);outline-style:var(--xmlui-style-outline-Button-attention-ghost--focus);outline-offset:var(--xmlui-offset-outline-Button-attention-ghost--focus)}._button_1tdfj_13._ghostAttention_1tdfj_325:not([disabled]):hover{background:var(--xmlui-color-bg-Button-attention-ghost--hover);color:var(--xmlui-color-text-Button-attention-ghost--hover)}._button_1tdfj_13._ghostAttention_1tdfj_325:not([disabled]):active{background:var(--xmlui-color-bg-Button-attention-ghost--active);color:var(--xmlui-color-text-Button-attention-ghost--active)}._button_1tdfj_13._ghostAttention_1tdfj_325:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled)}._wrapper_dyj8i_13{--syntax-token-component: #cb5291;--syntax-token-delimiter-angle: #66748E;--syntax-token-attribute-name: #2d2d2d;--syntax-token-equal-sign: #2d2d2d;--syntax-token-string: #0074a9;--syntax-token-script: #02A1A1;--syntax-token-helper: #005AE1;--syntax-token-comment: #4E4E4E;--syntax-token-escape: #00B248;--syntax-token-constant: #708C00;--syntax-token-cdata: #079CF1;--syntax-token-delimiter-curly: #000000;--syntax-token-text: #4e5fb3}._wrapper_dyj8i_13._dark_dyj8i_28{--syntax-token-component: #f472b6;--syntax-token-delimiter-angle: #97A7C5;--syntax-token-attribute-name: #cbd5e1;--syntax-token-equal-sign: #cbd5e1;--syntax-token-string: #7dd3fc;--syntax-token-script: #78DBDB;--syntax-token-helper: #80A6F8;--syntax-token-comment: #CFCFCF;--syntax-token-escape: #61F69D;--syntax-token-constant: #BAF80A;--syntax-token-cdata: #5CC1F9;--syntax-token-delimiter-curly: #FFFFFF;--syntax-token-text: #f5f5ff}._wrapper_dyj8i_13>.shiki{background-color:transparent!important}._wrapper_fpcuh_13{opacity:.5}._wrapper_fpcuh_13:hover{opacity:1}._stateViewerContainer_1m8hd_13{position:relative;display:flex}._overlay_1m8hd_18{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}._overlay_1m8hd_18._showBoundary_1m8hd_26{border:1px dashed orangered}._marker_1m8hd_30{position:absolute;top:0;left:0;width:8px;height:8px;border-radius:10px;border:2px solid orangered;cursor:zoom-in;pointer-events:auto;background-color:#ff4500}._marker_1m8hd_30._blink_1m8hd_42{animation:_blink_1m8hd_42 1s infinite}@keyframes _blink_1m8hd_42{0%{background-color:red}50%{background-color:transparent}to{background-color:red}}._binding_14mdd_1,._database_14jkq_1{fill:var(--colorFontMain)}._base_gzmhm_13{display:flex;justify-content:flex-start;align-items:stretch;min-height:0;min-width:0;gap:var(--stack-gap-default)}._base_gzmhm_13._hoverContainer_gzmhm_22 .display-on-hover{transition:opacity .1s;opacity:0}._base_gzmhm_13._hoverContainer_gzmhm_22:has(.dropdown-visible) .display-on-hover{opacity:1}._base_gzmhm_13._hoverContainer_gzmhm_22:hover .display-on-hover,._base_gzmhm_13._hoverContainer_gzmhm_22:focus-within .display-on-hover{opacity:1}._base_gzmhm_13._handlesClick_gzmhm_32{cursor:pointer}._vertical_gzmhm_36{flex-direction:column;min-height:0}._vertical_gzmhm_36._reverse_gzmhm_40{flex-direction:column-reverse}._horizontal_gzmhm_44{flex-direction:row}._horizontal_gzmhm_44._reverse_gzmhm_40{flex-direction:row-reverse}._justifyItemsStart_gzmhm_52{justify-content:flex-start}._justifyItemsCenter_gzmhm_56{justify-content:center}._justifyItemsStretch_gzmhm_60{justify-content:stretch}._justifyItemsEnd_gzmhm_64{justify-content:flex-end}._alignItemsStart_gzmhm_69{align-items:flex-start}._alignItemsCenter_gzmhm_73{align-items:center}._alignItemsStretch_gzmhm_77{align-items:stretch}._alignItemsEnd_gzmhm_81{align-items:flex-end}._spacer_1414d_13{flex:1 1 0!important;place-self:stretch}._textarea_8qfuq_13{display:block;width:100%;line-height:1.5em;outline:none;resize:none;border-style:solid;border-width:1px;transition:border .1s ease-in-out,box-shadow .1s ease-in-out,background .1s ease-in-out;border-radius:var(--xmlui-radius-Textarea-default);border-color:var(--xmlui-color-border-Textarea-default);border-width:var(--xmlui-thickness-border-Textarea-default);border-style:var(--xmlui-style-border-Textarea-default);font-size:var(--xmlui-font-size-Textarea-default);padding:var(--xmlui-padding-Textarea-default);background-color:var(--xmlui-color-bg-Textarea-default);box-shadow:var(--xmlui-shadow-Textarea-default);color:var(--xmlui-color-text-Textarea-default)}._textarea_8qfuq_13:hover{border-color:var(--xmlui-color-border-Textarea-default--hover);background-color:var(--xmlui-color-bg-Textarea-default--hover);box-shadow:var(--xmlui-shadow-Textarea-default--hover);color:var(--xmlui-color-text-Textarea-default--hover)}._textarea_8qfuq_13:focus-within{border-color:var(--xmlui-color-border-Textarea-default--focus);background-color:var(--xmlui-color-bg-Textarea-default--focus);box-shadow:var(--xmlui-shadow-Textarea-default--focus);color:var(--xmlui-color-text-Textarea-default--focus)}._textarea_8qfuq_13:focus-visible{outline-width:var(--xmlui-thickness-outline-Textarea-default--focus);outline-color:var(--xmlui-color-outline-Textarea-default--focus);outline-style:var(--xmlui-style-outline-Textarea-default--focus);outline-offset:var(--xmlui-offset-outline-Textarea-default--focus)}._textarea_8qfuq_13::placeholder{color:var(--xmlui-color-placeholder-Textarea-default)}._textarea_8qfuq_13._error_8qfuq_53{border-radius:var(--xmlui-radius-Textarea-error);border-color:var(--xmlui-color-border-Textarea-error);border-width:var(--xmlui-thickness-border-Textarea-error);border-style:var(--xmlui-style-border-Textarea-error);font-size:var(--xmlui-font-size-Textarea-error);padding:var(--xmlui-padding-Textarea-error);background-color:var(--xmlui-color-bg-Textarea-error);box-shadow:var(--xmlui-shadow-Textarea-error);color:var(--xmlui-color-text-Textarea-error)}._textarea_8qfuq_13._error_8qfuq_53:hover{border-color:var(--xmlui-color-border-Textarea-error--hover);background-color:var(--xmlui-color-bg-Textarea-error--hover);box-shadow:var(--xmlui-shadow-Textarea-error--hover);color:var(--xmlui-color-text-Textarea-error--hover)}._textarea_8qfuq_13._error_8qfuq_53:focus-within{border-color:var(--xmlui-color-border-Textarea-error--focus);background-color:var(--xmlui-color-bg-Textarea-error--focus);box-shadow:var(--xmlui-shadow-Textarea-error--focus);color:var(--xmlui-color-text-Textarea-error--focus)}._textarea_8qfuq_13._error_8qfuq_53:focus-visible{outline-width:var(--xmlui-thickness-outline-Textarea-error--focus);outline-color:var(--xmlui-color-outline-Textarea-error--focus);outline-style:var(--xmlui-style-outline-Textarea-error--focus);outline-offset:var(--xmlui-offset-outline-Textarea-error--focus)}._textarea_8qfuq_13._error_8qfuq_53::placeholder{color:var(--xmlui-color-placeholder-Textarea-error)}._textarea_8qfuq_13._warning_8qfuq_85{border-radius:var(--xmlui-radius-Textarea-warning);border-color:var(--xmlui-color-border-Textarea-warning);border-width:var(--xmlui-thickness-border-Textarea-warning);border-style:var(--xmlui-style-border-Textarea-warning);font-size:var(--xmlui-font-size-Textarea-warning);padding:var(--xmlui-padding-Textarea-warning);background-color:var(--xmlui-color-bg-Textarea-warning);box-shadow:var(--xmlui-shadow-Textarea-warning);color:var(--xmlui-color-text-Textarea-warning)}._textarea_8qfuq_13._warning_8qfuq_85:hover{border-color:var(--xmlui-color-border-Textarea-warning--hover);background-color:var(--xmlui-color-bg-Textarea-warning--hover);box-shadow:var(--xmlui-shadow-Textarea-warning--hover);color:var(--xmlui-color-text-Textarea-warning--hover)}._textarea_8qfuq_13._warning_8qfuq_85:focus-within{border-color:var(--xmlui-color-border-Textarea-warning--focus);background-color:var(--xmlui-color-bg-Textarea-warning--focus);box-shadow:var(--xmlui-shadow-Textarea-warning--focus);color:var(--xmlui-color-text-Textarea-warning--focus)}._textarea_8qfuq_13._warning_8qfuq_85:focus-visible{outline-width:var(--xmlui-thickness-outline-Textarea-warning--focus);outline-color:var(--xmlui-color-outline-Textarea-warning--focus);outline-style:var(--xmlui-style-outline-Textarea-warning--focus);outline-offset:var(--xmlui-offset-outline-Textarea-warning--focus)}._textarea_8qfuq_13._warning_8qfuq_85::placeholder{color:var(--xmlui-color-placeholder-Textarea-warning)}._textarea_8qfuq_13._valid_8qfuq_117{border-radius:var(--xmlui-radius-Textarea-success);border-color:var(--xmlui-color-border-Textarea-success);border-width:var(--xmlui-thickness-border-Textarea-success);border-style:var(--xmlui-style-border-Textarea-success);font-size:var(--xmlui-font-size-Textarea-success);padding:var(--xmlui-padding-Textarea-success);background-color:var(--xmlui-color-bg-Textarea-success);box-shadow:var(--xmlui-shadow-Textarea-success);color:var(--xmlui-color-text-Textarea-success)}._textarea_8qfuq_13._valid_8qfuq_117:hover{border-color:var(--xmlui-color-border-Textarea-success--hover);background-color:var(--xmlui-color-bg-Textarea-success--hover);box-shadow:var(--xmlui-shadow-Textarea-success--hover);color:var(--xmlui-color-text-Textarea-success--hover)}._textarea_8qfuq_13._valid_8qfuq_117:focus-within{border-color:var(--xmlui-color-border-Textarea-success--focus);background-color:var(--xmlui-color-bg-Textarea-success--focus);box-shadow:var(--xmlui-shadow-Textarea-success--focus);color:var(--xmlui-color-text-Textarea-success--focus)}._textarea_8qfuq_13._valid_8qfuq_117:focus-visible{outline-width:var(--xmlui-thickness-outline-Textarea-success--focus);outline-color:var(--xmlui-color-outline-Textarea-success--focus);outline-style:var(--xmlui-style-outline-Textarea-success--focus);outline-offset:var(--xmlui-offset-outline-Textarea-success--focus)}._textarea_8qfuq_13._valid_8qfuq_117::placeholder{color:var(--xmlui-color-placeholder-Textarea-success)}._textarea_8qfuq_13:is(:disabled){cursor:not-allowed;background-color:var(--xmlui-color-bg-Textarea--disabled);color:var(--xmlui-color-text-Textarea--disabled);border-color:var(--xmlui-color-border-Textarea--disabled)}._resizeHorizontal_8qfuq_156{resize:horizontal}._resizeVertical_8qfuq_160{resize:vertical}._resizeBoth_8qfuq_164{resize:both}._container_1ylw9_13{display:flex;width:100%;flex-direction:column;align-items:start;gap:.5em}._container_1ylw9_13._top_1ylw9_20{flex-direction:column;align-items:start;justify-content:center}._container_1ylw9_13._end_1ylw9_25{flex-direction:row-reverse;align-items:center;justify-content:start;gap:.5em}._container_1ylw9_13._bottom_1ylw9_31{flex-direction:column-reverse;align-items:start;justify-content:center}._container_1ylw9_13._start_1ylw9_36{flex-direction:row;align-items:center;justify-content:start;gap:.5em}._container_1ylw9_13._shrinkToLabel_1ylw9_42{width:fit-content}._container_1ylw9_13 ._inputLabel_1ylw9_45{display:flex;color:var(--xmlui-color-text-FormItemLabel);font-size:var(--xmlui-font-size-FormItemLabel);font-weight:var(--xmlui-font-weight-FormItemLabel);font-style:var(--xmlui-font-style-FormItemLabel);text-transform:var(--xmlui-transform-text-FormItemLabel);-webkit-user-select:none;user-select:none;cursor:pointer;word-break:normal;white-space:nowrap}._container_1ylw9_13 ._inputLabel_1ylw9_45._disabled_1ylw9_57{cursor:not-allowed;color:var(--xmlui-color-text--disabled)}._container_1ylw9_13 ._inputLabel_1ylw9_45._labelBreak_1ylw9_61{white-space:normal;word-break:break-word}._container_1ylw9_13 ._inputLabel_1ylw9_45._required_1ylw9_65{color:var(--xmlui-color-text-FormItemLabel-required);font-size:var(--xmlui-font-size-FormItemLabel-required);font-weight:var(--xmlui-font-weight-FormItemLabel-required);font-style:var(--xmlui-font-style-FormItemLabel-required);text-transform:var(--xmlui-transform-text-FormItemLabel-required)}._container_1ylw9_13 ._inputLabel_1ylw9_45 ._requiredMark_1ylw9_72{margin-left:.2em;color:var(--xmlui-color-text-FormItemLabel-requiredMark)}._lds-ring_xu4p3_13{display:inline-block;position:relative;width:var(--xmlui-size-Spinner);height:var(--xmlui-size-Spinner)}._lds-ring_xu4p3_13 div{box-sizing:border-box;display:block;position:absolute;width:80%;height:80%;margin:10%;border-width:var(--xmlui-thickness-Spinner);border-style:solid;border-radius:50%;animation:_lds-ring_xu4p3_13 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:var(--xmlui-color-border-Spinner) transparent transparent transparent}._lds-ring_xu4p3_13 div:nth-child(1){animation-delay:-.45s}._lds-ring_xu4p3_13 div:nth-child(2){animation-delay:-.3s}._lds-ring_xu4p3_13 div:nth-child(3){animation-delay:-.15s}@keyframes _lds-ring_xu4p3_13{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._fullScreenSpinnerWrapper_xu4p3_54{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}._content_qpkxv_13._base_qpkxv_13{padding:var(--xmlui-padding-vertical-NavLink) var(--xmlui-padding-horizontal-NavLink);border:none;outline:inherit;text-decoration:none;cursor:pointer;display:flex;align-items:center;gap:var(--xmlui-space-2);font-size:var(--xmlui-font-size-NavLink);font-weight:var(--xmlui-font-weight-NavLink);font-family:var(--xmlui-font-family-NavLink);position:relative;transition:color .1s,background-color .1s;border-radius:var(--xmlui-radius-NavLink);color:var(--xmlui-color-text-NavLink);background-color:var(--xmlui-color-bg-NavLink);flex-shrink:0;white-space:nowrap}._content_qpkxv_13._base_qpkxv_13 ._icon_qpkxv_33{color:var(--xmlui-color-icon-NavLink)}._content_qpkxv_13._base_qpkxv_13 *{color:var(--xmlui-color-text-NavLink)}._content_qpkxv_13._base_qpkxv_13._includeHoverIndicator_qpkxv_39:after{transition:color .1s,background-color .1s;position:absolute;left:.1em;right:.1em;bottom:0;height:var(--xmlui-thickness-indicator-NavLink);border-radius:var(--xmlui-radius-indicator-NavLink);content:""}._content_qpkxv_13._base_qpkxv_13:hover._displayActive_qpkxv_49,._content_qpkxv_13._base_qpkxv_13:focus-visible{color:var(--xmlui-color-text-NavLink--hover);background-color:var(--xmlui-color-bg-NavLink--hover)}._content_qpkxv_13._base_qpkxv_13:hover._displayActive_qpkxv_49 *,._content_qpkxv_13._base_qpkxv_13:focus-visible *{color:var(--xmlui-color-text-NavLink--hover)}._content_qpkxv_13._base_qpkxv_13:hover._displayActive_qpkxv_49:after,._content_qpkxv_13._base_qpkxv_13:focus-visible:after{background-color:var(--xmlui-color-indicator-NavLink--hover)}._content_qpkxv_13._base_qpkxv_13:focus-visible{outline-width:var(--xmlui-thickness-outline-NavLink--focus);outline-color:var(--xmlui-color-outline-NavLink--focus);outline-style:var(--xmlui-style-outline-NavLink--focus);outline-offset:var(--xmlui-offset-outline-NavLink--focus)}._content_qpkxv_13._base_qpkxv_13[role=menuitem]{outline:none}._content_qpkxv_13._base_qpkxv_13[role=menuitem]:not(:hover):focus-visible{outline-width:var(--xmlui-thickness-outline-NavLink--focus);outline-color:var(--xmlui-color-outline-NavLink--focus);outline-style:var(--xmlui-style-outline-NavLink--focus);outline-offset:var(--xmlui-offset-outline-NavLink--focus)}._content_qpkxv_13._base_qpkxv_13:active._displayActive_qpkxv_49{color:var(--xmlui-color-text-NavLink--pressed);background-color:var(--xmlui-color-bg-NavLink--pressed);font-weight:var(--xmlui-font-weight-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13:active._displayActive_qpkxv_49 *{font-weight:var(--xmlui-font-weight-NavLink--pressed);color:var(--xmlui-color-text-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13:active._displayActive_qpkxv_49:after{background-color:var(--xmlui-color-indicator-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86{color:var(--xmlui-color-text-NavLink--active);background-color:var(--xmlui-color-bg-NavLink--active);font-weight:var(--xmlui-font-weight-NavLink--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86 *{font-weight:var(--xmlui-font-weight-NavLink--active);color:var(--xmlui-color-text-NavLink--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86>*{z-index:1}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:hover{color:var(--xmlui-color-text-NavLink--hover--active);background-color:var(--xmlui-color-bg-NavLink--hover--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:hover *{color:var(--xmlui-color-text-NavLink--hover--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:after{z-index:0;background-color:var(--xmlui-color-indicator-NavLink--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:active{color:var(--xmlui-color-text-NavLink--pressed--active);background-color:var(--xmlui-color-bg-NavLink--pressed--active);font-weight:var(--xmlui-font-weight-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:active *{font-weight:var(--xmlui-font-weight-NavLink--pressed);color:var(--xmlui-color-text-NavLink--pressed--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:active:after{background-color:var(--xmlui-color-indicator-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13._disabled_qpkxv_121{cursor:not-allowed;color:var(--xmlui-color-text--disabled)}._content_qpkxv_13._base_qpkxv_13._vertical_qpkxv_125:after{top:0;bottom:0;left:0;right:auto;width:var(--xmlui-thickness-indicator-NavLink);height:auto;border-radius:var(--xmlui-radius-indicator-NavLink)}._content_qpkxv_13._base_qpkxv_13._indented_qpkxv_134{padding-left:2.4em;flex-shrink:0}._wrapper_ru06q_13{--footer-height: 0px;--header-height: 0px;width:100%;height:100%;position:relative;display:flex;flex-direction:column;isolation:isolate}._wrapper_ru06q_13._vertical_ru06q_23{flex-direction:row;overflow:initial}._wrapper_ru06q_13._vertical_ru06q_23 ._contentWrapper_ru06q_27{overflow:auto;position:relative;scrollbar-gutter:stable both-edges}._wrapper_ru06q_13._vertical_ru06q_23 ._navPanelWrapper_ru06q_32{width:var(--xmlui-width-navPanel-App);flex-shrink:0}._wrapper_ru06q_13._vertical_ru06q_23 ._PagesWrapper_ru06q_36{min-height:initial;flex:1}._wrapper_ru06q_13._vertical_ru06q_23 ._footerWrapper_ru06q_40{position:static}._wrapper_ru06q_13._vertical_ru06q_23._sticky_ru06q_43 ._footerWrapper_ru06q_40{position:sticky;bottom:0}._wrapper_ru06q_13._horizontal_ru06q_47{overflow:auto}._wrapper_ru06q_13._horizontal_ru06q_47 ._PagesWrapper_ru06q_36{min-height:initial}._wrapper_ru06q_13._horizontal_ru06q_47 ._footerWrapper_ru06q_40{position:static}._wrapper_ru06q_13._horizontal_ru06q_47._sticky_ru06q_43{scroll-padding-top:var(--header-height);min-height:100%}._wrapper_ru06q_13._horizontal_ru06q_47._sticky_ru06q_43 ._footerWrapper_ru06q_40{position:sticky;bottom:0}._wrapper_ru06q_13._horizontal_ru06q_47 ._navPanelWrapper_ru06q_32{border-bottom:var(--xmlui-border-bottom-AppHeader)}._wrapper_ru06q_13._verticalFullHeader_ru06q_67{min-height:100%;height:100%;overflow:auto;scroll-padding-top:var(--header-height)}._wrapper_ru06q_13._verticalFullHeader_ru06q_67 ._navPanelWrapper_ru06q_32{width:var(--xmlui-width-navPanel-App);position:sticky;height:calc(var(--containerHeight, 100vh) - var(--footer-height) - var(--header-height));top:var(--header-height)}._wrapper_ru06q_13._verticalFullHeader_ru06q_67 ._PagesWrapper_ru06q_36{overflow:initial;min-height:calc(var(--containerHeight, 100vh) - var(--header-height) - var(--footer-height));height:100%}._wrapper_ru06q_13._verticalFullHeader_ru06q_67 ._PagesWrapperInner_ru06q_84{height:100%}._wrapper_ru06q_13._verticalFullHeader_ru06q_67 ._PagesWrapperInner_ru06q_84>.xmlui-page-root{height:100%}._wrapper_ru06q_13._verticalFullHeader_ru06q_67 ._footerWrapper_ru06q_40{position:sticky;left:0;right:0;bottom:0}._wrapper_ru06q_13._scrollWholePage_ru06q_96{scrollbar-gutter:stable both-edges}._wrapper_ru06q_13._scrollWholePage_ru06q_96 ._headerWrapper_ru06q_99{margin-inline:calc(-1 * var(--scrollbar-width))}._wrapper_ru06q_13._scrollWholePage_ru06q_96 ._headerWrapper_ru06q_99>div{padding-inline:var(--scrollbar-width)}._wrapper_ru06q_13._scrollWholePage_ru06q_96 ._footerWrapper_ru06q_40{margin-inline:calc(-1 * var(--scrollbar-width))}._wrapper_ru06q_13._scrollWholePage_ru06q_96 ._footerWrapper_ru06q_40>div{padding-inline:var(--scrollbar-width)}._wrapper_ru06q_13._scrollWholePage_ru06q_96._verticalFullHeader_ru06q_67 ._content_ru06q_27{margin-inline:calc(-1 * var(--scrollbar-width))}._wrapper_ru06q_13._scrollWholePage_ru06q_96._verticalFullHeader_ru06q_67 ._contentWrapper_ru06q_27{padding-inline:var(--scrollbar-width)}._wrapper_ru06q_13:not(._scrollWholePage_ru06q_96){overflow:hidden}._wrapper_ru06q_13:not(._scrollWholePage_ru06q_96) ._content_ru06q_27{min-height:0;height:100%}._wrapper_ru06q_13:not(._scrollWholePage_ru06q_96) ._contentWrapper_ru06q_27{overflow:initial}._wrapper_ru06q_13:not(._scrollWholePage_ru06q_96) ._PagesWrapper_ru06q_36{overflow:auto;scroll-padding-top:var(--header-height);min-height:0;height:100%;scrollbar-gutter:stable both-edges}._wrapper_ru06q_13:not(._scrollWholePage_ru06q_96) ._PagesWrapperInner_ru06q_84{min-height:100%}._wrapper_ru06q_13._noScrollbarGutters_ru06q_137{scrollbar-gutter:auto}._headerWrapper_ru06q_99{z-index:1;min-height:0;flex-shrink:0;overflow-x:clip;top:0;box-shadow:var(--xmlui-shadow-header-App);background-color:var(--xmlui-color-bg-AppHeader)}._headerWrapper_ru06q_99._sticky_ru06q_43{position:sticky}._content_ru06q_27{display:flex;flex-direction:row;isolation:isolate}._contentWrapper_ru06q_27{position:relative;min-width:0;flex:1;display:flex;flex-direction:column;box-shadow:var(--xmlui-shadow-pages-App)}._navPanelWrapper_ru06q_32{display:flex;position:sticky;top:0}._navPanelWrapper_ru06q_32:empty{display:none}._PagesWrapper_ru06q_36{flex:1;isolation:isolate}._PagesWrapperInner_ru06q_84{--page-padding-left: var(--xmlui-space-4);--page-padding-right: var(--xmlui-space-4);--page-padding-top: var(--xmlui-space-5);--page-padding-bottom: var(--xmlui-space-5);--page-gap: var(--xmlui-space-5);max-width:var(--xmlui-max-content-width-App);width:100%;margin:0 auto;min-height:100%;padding-top:var(--page-padding-top);padding-bottom:var(--page-padding-bottom);padding-right:var(--page-padding-right);padding-left:var(--page-padding-left);gap:var(--page-gap);display:flex;flex-direction:column}._PagesWrapperInner_ru06q_84>.xmlui-page-root{padding-top:var(--page-padding-top-override, var(--page-padding-top));padding-bottom:var(--page-padding-bottom-override, var(--page-padding-bottom));padding-right:var(--page-padding-right-override, var(--page-padding-right));padding-left:var(--page-padding-left-override, var(--page-padding-left));gap:var(--page-gap);margin-top:calc(-1 * var(--page-padding-top));margin-bottom:calc(-1 * var(--page-gap));margin-left:calc(-1 * var(--page-padding-left));margin-right:calc(-1 * var(--page-padding-right))}._footerWrapper_ru06q_40{flex-shrink:0}@keyframes _slide-in-from-left_p470r_1{0%{transform:translate(-100%);opacity:0;box-shadow:none}}@keyframes _slide-out-to-left_p470r_1{to{transform:translate(-100%);opacity:0;box-shadow:none}}@keyframes _blur-in_p470r_1{0%{background-color:transparent;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}}@keyframes _blur-out_p470r_1{to{-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0);background-color:transparent}}._overlay_p470r_39{position:absolute;top:0;right:0;bottom:0;left:0;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:rgb(from var(--xmlui-color-bg-primary) r g b/70%)}._overlay_p470r_39[data-state=open]{animation:_blur-in_p470r_1 .3s}._overlay_p470r_39[data-state=closed]{animation:_blur-out_p470r_1 .3s}._sheetContent_p470r_55{position:absolute;gap:1rem;background-color:var(--xmlui-color-bg);opacity:1;transform:translate(0);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;border-color:transparent}._sheetContent_p470r_55[data-state=open]{animation:_slide-in-from-left_p470r_1 .3s}._sheetContent_p470r_55[data-state=closed]{animation:_slide-out-to-left_p470r_1 .3s}._sheetContent_p470r_55._top_p470r_70{right:0;left:0;top:0;border-bottom-width:1px}._sheetContent_p470r_55._bottom_p470r_76{right:0;left:0;bottom:0;border-top-width:1px}._sheetContent_p470r_55._left_p470r_82{top:0;bottom:0;left:0;border-right-width:1px;width:100%;height:100%;max-width:20rem}._sheetContent_p470r_55._right_p470r_91{top:0;bottom:0;right:0;border-left-width:1px;width:100%;height:100%;max-width:20rem}._close_p470r_101{color:inherit;position:absolute;top:1rem;right:1rem;display:flex;align-items:center;justify-content:center;border-radius:.125rem;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;opacity:.7;background-color:transparent;border:0;cursor:pointer;z-index:2}._close_p470r_101:hover{opacity:1}._header_zx9ej_13{position:relative;height:var(--xmlui-height-AppHeader);box-sizing:content-box;background-color:var(--xmlui-color-bg-AppHeader);border-radius:var(--xmlui-radius-AppHeader);border-width:var(--xmlui-thickness-border-AppHeader);border-style:var(--xmlui-style-border-AppHeader);border-color:var(--xmlui-color-border-AppHeader);border-top-width:var(--xmlui-thickness-border-top-AppHeader);border-top-style:var(--xmlui-style-border-top-AppHeader);border-top-color:var(--xmlui-color-border-top-AppHeader);border-bottom-width:var(--xmlui-thickness-border-bottom-AppHeader);border-bottom-style:var(--xmlui-style-border-bottom-AppHeader);border-bottom-color:var(--xmlui-color-border-bottom-AppHeader);border-left-width:var(--xmlui-thickness-border-left-AppHeader);border-left-style:var(--xmlui-style-border-left-AppHeader);border-left-color:var(--xmlui-color-border-left-AppHeader);border-right-width:var(--xmlui-thickness-border-right-AppHeader);border-right-style:var(--xmlui-style-border-right-AppHeader);border-right-color:var(--xmlui-color-border-right-AppHeader)}._headerInner_zx9ej_36{height:100%;flex:1;gap:var(--xmlui-space-4);flex-shrink:0;display:flex;flex-direction:row;align-items:center;max-width:var(--xmlui-max-content-width-AppHeader);padding-inline:var(--xmlui-padding-horizontal-AppHeader);padding-top:var(--xmlui-padding-vertical-AppHeader);padding-bottom:var(--xmlui-padding-vertical-AppHeader);width:100%;margin:0 auto}._headerInner_zx9ej_36._full_zx9ej_51{max-width:100%}._childrenWrapper_zx9ej_55{--stack-gap-default: var(--xmlui-space-2);display:flex;flex-direction:row;flex:1;min-width:0;height:100%;align-items:center;gap:var(--stack-gap-default)}._logoAndTitle_zx9ej_66{display:flex;align-items:center;gap:var(--xmlui-space-4);height:100%}._logoAndTitle_zx9ej_66:not(:empty){padding-right:var(--xmlui-space-2)}._logoAndTitle_zx9ej_66:empty{display:none}._logoContainer_zx9ej_79:not(:empty){flex-shrink:0;display:flex;width:var(--xmlui-width-logo-AppHeader);height:100%;align-items:center;padding:var(--xmlui-padding-logo-AppHeader)}._customLogoContainer_zx9ej_88{display:flex;height:100%;align-items:center}._customLogoContainer_zx9ej_88>img{height:100%}._rightItems_zx9ej_97{--stack-gap-default: var(--xmlui-space-2);gap:var(--stack-gap-default);height:100%;display:flex;flex-direction:row;align-items:center}._rightItems_zx9ej_97:not(:empty){padding-left:var(--xmlui-space-4)}._appHub_zx9ej_109{text-decoration:none;margin-right:var(--xmlui-space-4);width:40px;padding:var(--xmlui-space-2);color:var(--xmlui-color-text-subtitle);cursor:pointer}._appHub_zx9ej_109:hover{color:var(--xmlui-color-text-secondary)}._appHub_zx9ej_109 svg{width:100%;height:100%}._img_dk2s3_13{display:block;width:100%;height:100%;object-fit:contain}._img_dk2s3_13._clickable_dk2s3_19{cursor:pointer}._wrapper_r70y6_13{--footer-height: 0;height:100%;width:100%;flex-shrink:0;box-shadow:var(--xmlui-shadow-NavPanel);border-radius:var(--xmlui-radius-NavPanel);border-width:var(--xmlui-thickness-border-NavPanel);border-style:var(--xmlui-style-border-NavPanel);border-color:var(--xmlui-color-border-NavPanel);border-top-width:var(--xmlui-thickness-border-top-NavPanel);border-top-style:var(--xmlui-style-border-top-NavPanel);border-top-color:var(--xmlui-color-border-top-NavPanel);border-bottom-width:var(--xmlui-thickness-border-bottom-NavPanel);border-bottom-style:var(--xmlui-style-border-bottom-NavPanel);border-bottom-color:var(--xmlui-color-border-bottom-NavPanel);border-left-width:var(--xmlui-thickness-border-left-NavPanel);border-left-style:var(--xmlui-style-border-left-NavPanel);border-left-color:var(--xmlui-color-border-left-NavPanel);border-right-width:var(--xmlui-thickness-border-right-NavPanel);border-right-style:var(--xmlui-style-border-right-NavPanel);border-right-color:var(--xmlui-color-border-right-NavPanel);overflow:auto;position:relative;display:flex;flex-direction:column}._wrapper_r70y6_13:not(._condensed_r70y6_40){background-color:var(--xmlui-color-bg-NavPanel)}._wrapper_r70y6_13._horizontal_r70y6_43{border-right:0;box-shadow:none;height:var(--xmlui-height-AppHeader)}._wrapper_r70y6_13._horizontal_r70y6_43:not(._condensed_r70y6_40) ._wrapperInner_r70y6_48{padding-inline:var(--xmlui-padding-horizontal-NavPanel)}._wrapper_r70y6_13._horizontal_r70y6_43 ._wrapperInner_r70y6_48{height:100%;flex-direction:row;max-width:var(--xmlui-max-content-width-App);width:100%;margin:0 auto}._wrapperInner_r70y6_48{display:flex;flex-direction:column}._logoWrapper_r70y6_64:not(:empty){display:flex;justify-content:center;flex-shrink:0;height:var(--xmlui-height-AppHeader);padding-top:calc(var(--xmlui-padding-vertical-logo-NavPanel) + var(--xmlui-padding-vertical-AppHeader));padding-bottom:calc(var(--xmlui-padding-vertical-logo-NavPanel) + var(--xmlui-padding-vertical-AppHeader));padding-inline:var(--xmlui-padding-horizontal-logo-NavPanel);margin-bottom:var(--xmlui-margin-bottom-logo-NavPanel)}._logoWrapper_r70y6_64._inDrawer_r70y6_74{min-height:40px}._container_gxlr6_13{flex-shrink:0;color:var(--xmlui-color-text-Link);font-weight:var(--xmlui-font-weight-Link);font-size:var(--xmlui-font-size-Link);cursor:pointer;text-decoration:none;width:fit-content;max-width:100%;max-height:100%;display:inline-flex;flex-direction:row;align-items:center}._container_gxlr6_13._active_gxlr6_27{color:var(--xmlui-color-text-Link--active);font-weight:var(--xmlui-font-weight-Link--active)}._container_gxlr6_13._disabled_gxlr6_31{pointer-events:none}._container_gxlr6_13:not(._disabled_gxlr6_31):hover{color:var(--xmlui-color-text-Link--hover)}._container_gxlr6_13:not(._disabled_gxlr6_31):focus-visible{outline-width:var(--xmlui-thickness-outline-Link--focus);outline-color:var(--xmlui-color-outline-Link--focus);outline-style:var(--xmlui-style-outline-Link--focus);outline-offset:var(--xmlui-offset-outline-Link--focus)}._container_gxlr6_13:not(._disabled_gxlr6_31)._active_gxlr6_27:hover{color:var(--xmlui-color-text-Link--hover--active)}._iconWrapper_gxlr6_47{padding:var(--xmlui-padding-icon-Link);padding-right:var(--xmlui-gap-icon-Link);line-height:0}._container_gxlr6_13:not(._active_gxlr6_27){text-underline-offset:var(--xmlui-offset-decoration-Link)}._container_gxlr6_13:not(._active_gxlr6_27):not([disabled]):hover{text-decoration-line:var(--xmlui-line-decoration-Link);text-decoration-color:var(--xmlui-color-decoration-Link);text-decoration-style:var(--xmlui-style-decoration-Link);text-decoration-thickness:var(--xmlui-thickness-decoration-Link)}._container_gxlr6_13:not(._active_gxlr6_27):not([disabled]):hover:has(>button){text-decoration-line:none}._container_gxlr6_13:not(._active_gxlr6_27):not([disabled]):active{text-decoration-line:var(--xmlui-line-decoration-Link);text-decoration-color:var(--xmlui-color-decoration-Link);text-decoration-style:var(--xmlui-style-decoration-Link);text-decoration-thickness:var(--xmlui-thickness-decoration-Link)}._container_gxlr6_13:not(._active_gxlr6_27):not([disabled]):active:has(>button){text-decoration-line:none}._wrapper_96qt9_14{flex:1}._rowWrapper_96qt9_18{display:flex;flex-direction:row;align-items:center;flex:1;min-width:0;height:100%;color:var(--xmlui-color-text-primary);position:relative}._rowWrapper_96qt9_18._selected_96qt9_28:before{content:"";background-color:var(--xmlui-color-bg-tree-row--selected--before);position:absolute;left:0;right:0;top:0;bottom:0;z-index:-1}._rowWrapper_96qt9_18:hover ._addButton_96qt9_38{opacity:1}._gutter_96qt9_42{flex-direction:row;flex-shrink:0;height:100%;display:flex;align-items:center}._toggleWrapper_96qt9_50{width:40px;height:24px;flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer}._toggleWrapper_96qt9_50._hidden_96qt9_59{visibility:hidden;pointer-events:none}._toggleWrapper_96qt9_50:before{transition:transform .2s;content:"›";font-size:24px;line-height:0;height:8px}._toggleWrapper_96qt9_50._expanded_96qt9_70:before{transform:rotate(90deg)}._depthPlaceholder_96qt9_74{flex-shrink:0}._labelWrapper_96qt9_78{white-space:nowrap;flex:1;display:flex;flex-direction:row;height:100%;flex-shrink:0;min-width:fit-content}._addButton_96qt9_38{height:100%;width:32px;background-color:transparent;border:0;cursor:pointer;opacity:0;flex-shrink:0}._heading_1tifa_13._h1_1tifa_13{color:var(--xmlui-color-text-H1);letter-spacing:var(--xmlui-letter-spacing-H1);font-family:var(--xmlui-font-family-H1);font-weight:var(--xmlui-font-weight-H1);font-size:var(--xmlui-font-size-H1);line-height:var(--xmlui-line-height-H1);margin-top:var(--xmlui-margin-top-H1);margin-bottom:var(--xmlui-margin-bottom-H1);text-decoration-line:var(--xmlui-line-decoration-H1);text-decoration-color:var(--xmlui-color-decoration-H1);text-decoration-style:var(--xmlui-style-decoration-H1);text-decoration-thickness:var(--xmlui-thickness-decoration-H1);text-underline-offset:var(--xmlui-offset-decoration-H1)}._heading_1tifa_13._h2_1tifa_28{color:var(--xmlui-color-text-H2);letter-spacing:var(--xmlui-letter-spacing-H2);font-family:var(--xmlui-font-family-H2);font-weight:var(--xmlui-font-weight-H2);font-size:var(--xmlui-font-size-H2);line-height:var(--xmlui-line-height-H2);margin-top:var(--xmlui-margin-top-H2);margin-bottom:var(--xmlui-margin-bottom-H2);text-decoration-line:var(--xmlui-line-decoration-H2);text-decoration-color:var(--xmlui-color-decoration-H2);text-decoration-style:var(--xmlui-style-decoration-H2);text-decoration-thickness:var(--xmlui-thickness-decoration-H2);text-underline-offset:var(--xmlui-offset-decoration-H2)}._heading_1tifa_13._h3_1tifa_43{color:var(--xmlui-color-text-H3);letter-spacing:var(--xmlui-letter-spacing-H3);font-family:var(--xmlui-font-family-H3);font-weight:var(--xmlui-font-weight-H3);font-size:var(--xmlui-font-size-H3);line-height:var(--xmlui-line-height-H3);margin-top:var(--xmlui-margin-top-H3);margin-bottom:var(--xmlui-margin-bottom-H3);text-decoration-line:var(--xmlui-line-decoration-H3);text-decoration-color:var(--xmlui-color-decoration-H3);text-decoration-style:var(--xmlui-style-decoration-H3);text-decoration-thickness:var(--xmlui-thickness-decoration-H3);text-underline-offset:var(--xmlui-offset-decoration-H3)}._heading_1tifa_13._h4_1tifa_58{color:var(--xmlui-color-text-H4);letter-spacing:var(--xmlui-letter-spacing-H4);font-family:var(--xmlui-font-family-H4);font-weight:var(--xmlui-font-weight-H4);font-size:var(--xmlui-font-size-H4);line-height:var(--xmlui-line-height-H4);margin-top:var(--xmlui-margin-top-H4);margin-bottom:var(--xmlui-margin-bottom-H4);text-decoration-line:var(--xmlui-line-decoration-H4);text-decoration-color:var(--xmlui-color-decoration-H4);text-decoration-style:var(--xmlui-style-decoration-H4);text-decoration-thickness:var(--xmlui-thickness-decoration-H4);text-underline-offset:var(--xmlui-offset-decoration-H4)}._heading_1tifa_13._h5_1tifa_73{color:var(--xmlui-color-text-H5);letter-spacing:var(--xmlui-letter-spacing-H5);font-family:var(--xmlui-font-family-H5);font-weight:var(--xmlui-font-weight-H5);font-size:var(--xmlui-font-size-H5);line-height:var(--xmlui-line-height-H5);margin-top:var(--xmlui-margin-top-H5);margin-bottom:var(--xmlui-margin-bottom-H5);text-decoration-line:var(--xmlui-line-decoration-H5);text-decoration-color:var(--xmlui-color-decoration-H5);text-decoration-style:var(--xmlui-style-decoration-H5);text-decoration-thickness:var(--xmlui-thickness-decoration-H5);text-underline-offset:var(--xmlui-offset-decoration-H5)}._heading_1tifa_13._h6_1tifa_88{color:var(--xmlui-color-text-H6);letter-spacing:var(--xmlui-letter-spacing-H6);font-family:var(--xmlui-font-family-H6);font-weight:var(--xmlui-font-weight-H6);font-size:var(--xmlui-font-size-H6);line-height:var(--xmlui-line-height-H6);margin-top:var(--xmlui-margin-top-H6);margin-bottom:var(--xmlui-margin-bottom-H6);text-decoration-line:var(--xmlui-line-decoration-H6);text-decoration-color:var(--xmlui-color-decoration-H6);text-decoration-style:var(--xmlui-style-decoration-H6);text-decoration-thickness:var(--xmlui-thickness-decoration-H6);text-underline-offset:var(--xmlui-offset-decoration-H6)}._truncateOverflow_1tifa_108{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._preserveLinebreaks_1tifa_114{white-space:pre-wrap}._noEllipsis_1tifa_118{text-overflow:clip}._text_1v46g_13{overflow:hidden;text-overflow:ellipsis;margin:0;padding:0;min-height:fit-content}._text_1v46g_13 ._text_1v46g_13{display:inline}._text_1v46g_13._abbr_1v46g_23{font-family:var(--xmlui-font-family-Text-abbr);font-size:var(--xmlui-font-size-Text-abbr);font-weight:var(--xmlui-font-weight-Text-abbr);font-style:var(--xmlui-font-style-Text-abbr);font-stretch:var(--xmlui-font-stretch-Text-abbr);text-decoration-line:var(--xmlui-line-decoration-Text-abbr);text-decoration-color:var(--xmlui-color-decoration-Text-abbr);text-decoration-style:var(--xmlui-style-decoration-Text-abbr);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-abbr);text-underline-offset:var(--xmlui-offset-decoration-Text-abbr);line-height:var(--xmlui-line-height-Text-abbr);color:var(--xmlui-color-Text-abbr);background-color:var(--xmlui-color-bg-Text-abbr);border-radius:var(--xmlui-border-radius-Text-abbr);border-color:var(--xmlui-color-border-Text-abbr);border-width:var(--xmlui-thickness-border-Text-abbr);border-style:var(--xmlui-style-border-Text-abbr);margin-top:var(--xmlui-margin-top-Text-abbr);margin-bottom:var(--xmlui-margin-bottom-Text-abbr);padding-left:var(--xmlui-padding-horizontal-Text-abbr);padding-right:var(--xmlui-padding-horizontal-Text-abbr);padding-top:var(--xmlui-padding-vertical-Text-abbr);padding-bottom:var(--xmlui-padding-vertical-Text-abbr);text-transform:var(--xmlui-transform-Text-abbr);vertical-align:var(--xmlui-align-vertical-Text-abbr);letter-spacing:var(--xmlui-letter-spacing-Text-abbr)}._text_1v46g_13._cite_1v46g_51{font-family:var(--xmlui-font-family-Text-cite);font-size:var(--xmlui-font-size-Text-cite);font-weight:var(--xmlui-font-weight-Text-cite);font-style:var(--xmlui-font-style-Text-cite);font-stretch:var(--xmlui-font-stretch-Text-cite);text-decoration-line:var(--xmlui-line-decoration-Text-cite);text-decoration-color:var(--xmlui-color-decoration-Text-cite);text-decoration-style:var(--xmlui-style-decoration-Text-cite);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-cite);text-underline-offset:var(--xmlui-offset-decoration-Text-cite);line-height:var(--xmlui-line-height-Text-cite);color:var(--xmlui-color-Text-cite);background-color:var(--xmlui-color-bg-Text-cite);border-radius:var(--xmlui-border-radius-Text-cite);border-color:var(--xmlui-color-border-Text-cite);border-width:var(--xmlui-thickness-border-Text-cite);border-style:var(--xmlui-style-border-Text-cite);margin-top:var(--xmlui-margin-top-Text-cite);margin-bottom:var(--xmlui-margin-bottom-Text-cite);padding-left:var(--xmlui-padding-horizontal-Text-cite);padding-right:var(--xmlui-padding-horizontal-Text-cite);padding-top:var(--xmlui-padding-vertical-Text-cite);padding-bottom:var(--xmlui-padding-vertical-Text-cite);text-transform:var(--xmlui-transform-Text-cite);vertical-align:var(--xmlui-align-vertical-Text-cite);letter-spacing:var(--xmlui-letter-spacing-Text-cite)}:not(._text_1v46g_13._codefence_1v46g_79)>._text_1v46g_13._code_1v46g_79{font-family:var(--xmlui-font-family-Text-code);font-size:var(--xmlui-font-size-Text-code);font-weight:var(--xmlui-font-weight-Text-code);font-style:var(--xmlui-font-style-Text-code);font-stretch:var(--xmlui-font-stretch-Text-code);text-decoration-line:var(--xmlui-line-decoration-Text-code);text-decoration-color:var(--xmlui-color-decoration-Text-code);text-decoration-style:var(--xmlui-style-decoration-Text-code);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-code);text-underline-offset:var(--xmlui-offset-decoration-Text-code);line-height:var(--xmlui-line-height-Text-code);color:var(--xmlui-color-Text-code);background-color:var(--xmlui-color-bg-Text-code);border-radius:var(--xmlui-border-radius-Text-code);border-color:var(--xmlui-color-border-Text-code);border-width:var(--xmlui-thickness-border-Text-code);border-style:var(--xmlui-style-border-Text-code);margin-top:var(--xmlui-margin-top-Text-code);margin-bottom:var(--xmlui-margin-bottom-Text-code);padding-left:var(--xmlui-padding-horizontal-Text-code);padding-right:var(--xmlui-padding-horizontal-Text-code);padding-top:var(--xmlui-padding-vertical-Text-code);padding-bottom:var(--xmlui-padding-vertical-Text-code);text-transform:var(--xmlui-transform-Text-code);vertical-align:var(--xmlui-align-vertical-Text-code);letter-spacing:var(--xmlui-letter-spacing-Text-code)}._text_1v46g_13._codefence_1v46g_79:has(>._text_1v46g_13._code_1v46g_79){font-family:var(--xmlui-font-family-Text-codefence);font-size:var(--xmlui-font-size-Text-codefence);font-weight:var(--xmlui-font-weight-Text-codefence);font-style:var(--xmlui-font-style-Text-codefence);font-stretch:var(--xmlui-font-stretch-Text-codefence);text-decoration-line:var(--xmlui-line-decoration-Text-codefence);text-decoration-color:var(--xmlui-color-decoration-Text-codefence);text-decoration-style:var(--xmlui-style-decoration-Text-codefence);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-codefence);text-underline-offset:var(--xmlui-offset-decoration-Text-codefence);line-height:var(--xmlui-line-height-Text-codefence);color:var(--xmlui-color-Text-codefence);background-color:var(--xmlui-color-bg-Text-codefence);border-radius:var(--xmlui-border-radius-Text-codefence);border-color:var(--xmlui-color-border-Text-codefence);border-width:var(--xmlui-thickness-border-Text-codefence);border-style:var(--xmlui-style-border-Text-codefence);margin-top:var(--xmlui-margin-top-Text-codefence);margin-bottom:var(--xmlui-margin-bottom-Text-codefence);padding-left:var(--xmlui-padding-horizontal-Text-codefence);padding-right:var(--xmlui-padding-horizontal-Text-codefence);padding-top:var(--xmlui-padding-vertical-Text-codefence);padding-bottom:var(--xmlui-padding-vertical-Text-codefence);text-transform:var(--xmlui-transform-Text-codefence);vertical-align:var(--xmlui-align-vertical-Text-codefence);letter-spacing:var(--xmlui-letter-spacing-Text-codefence)}._text_1v46g_13._deleted_1v46g_135{font-family:var(--xmlui-font-family-Text-deleted);font-size:var(--xmlui-font-size-Text-deleted);font-weight:var(--xmlui-font-weight-Text-deleted);font-style:var(--xmlui-font-style-Text-deleted);font-stretch:var(--xmlui-font-stretch-Text-deleted);text-decoration-line:var(--xmlui-line-decoration-Text-deleted);text-decoration-color:var(--xmlui-color-decoration-Text-deleted);text-decoration-style:var(--xmlui-style-decoration-Text-deleted);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-deleted);text-underline-offset:var(--xmlui-offset-decoration-Text-deleted);line-height:var(--xmlui-line-height-Text-deleted);color:var(--xmlui-color-Text-deleted);background-color:var(--xmlui-color-bg-Text-deleted);border-radius:var(--xmlui-border-radius-Text-deleted);border-color:var(--xmlui-color-border-Text-deleted);border-width:var(--xmlui-thickness-border-Text-deleted);border-style:var(--xmlui-style-border-Text-deleted);margin-top:var(--xmlui-margin-top-Text-deleted);margin-bottom:var(--xmlui-margin-bottom-Text-deleted);padding-left:var(--xmlui-padding-horizontal-Text-deleted);padding-right:var(--xmlui-padding-horizontal-Text-deleted);padding-top:var(--xmlui-padding-vertical-Text-deleted);padding-bottom:var(--xmlui-padding-vertical-Text-deleted);text-transform:var(--xmlui-transform-Text-deleted);vertical-align:var(--xmlui-align-vertical-Text-deleted);letter-spacing:var(--xmlui-letter-spacing-Text-deleted)}._text_1v46g_13._deleted_1v46g_135:before,._text_1v46g_13._deleted_1v46g_135:after{clip-path:inset(100%);clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}._text_1v46g_13._deleted_1v46g_135:before{content:" [deletion start] "}._text_1v46g_13._deleted_1v46g_135:after{content:" [deletion end] "}._text_1v46g_13._inserted_1v46g_178{font-family:var(--xmlui-font-family-Text-inserted);font-size:var(--xmlui-font-size-Text-inserted);font-weight:var(--xmlui-font-weight-Text-inserted);font-style:var(--xmlui-font-style-Text-inserted);font-stretch:var(--xmlui-font-stretch-Text-inserted);text-decoration-line:var(--xmlui-line-decoration-Text-inserted);text-decoration-color:var(--xmlui-color-decoration-Text-inserted);text-decoration-style:var(--xmlui-style-decoration-Text-inserted);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-inserted);text-underline-offset:var(--xmlui-offset-decoration-Text-inserted);line-height:var(--xmlui-line-height-Text-inserted);color:var(--xmlui-color-Text-inserted);background-color:var(--xmlui-color-bg-Text-inserted);border-radius:var(--xmlui-border-radius-Text-inserted);border-color:var(--xmlui-color-border-Text-inserted);border-width:var(--xmlui-thickness-border-Text-inserted);border-style:var(--xmlui-style-border-Text-inserted);margin-top:var(--xmlui-margin-top-Text-inserted);margin-bottom:var(--xmlui-margin-bottom-Text-inserted);padding-left:var(--xmlui-padding-horizontal-Text-inserted);padding-right:var(--xmlui-padding-horizontal-Text-inserted);padding-top:var(--xmlui-padding-vertical-Text-inserted);padding-bottom:var(--xmlui-padding-vertical-Text-inserted);text-transform:var(--xmlui-transform-Text-inserted);vertical-align:var(--xmlui-align-vertical-Text-inserted);letter-spacing:var(--xmlui-letter-spacing-Text-inserted)}._text_1v46g_13._inserted_1v46g_178:before,._text_1v46g_13._inserted_1v46g_178:after{clip-path:inset(100%);clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}._text_1v46g_13._inserted_1v46g_178:before{content:" [insertion start] "}._text_1v46g_13._inserted_1v46g_178:after{content:" [insertion end] "}._text_1v46g_13._keyboard_1v46g_221{font-family:var(--xmlui-font-family-Text-keyboard);font-size:var(--xmlui-font-size-Text-keyboard);font-weight:var(--xmlui-font-weight-Text-keyboard);font-style:var(--xmlui-font-style-Text-keyboard);font-stretch:var(--xmlui-font-stretch-Text-keyboard);text-decoration-line:var(--xmlui-line-decoration-Text-keyboard);text-decoration-color:var(--xmlui-color-decoration-Text-keyboard);text-decoration-style:var(--xmlui-style-decoration-Text-keyboard);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-keyboard);text-underline-offset:var(--xmlui-offset-decoration-Text-keyboard);line-height:var(--xmlui-line-height-Text-keyboard);color:var(--xmlui-color-Text-keyboard);background-color:var(--xmlui-color-bg-Text-keyboard);border-radius:var(--xmlui-border-radius-Text-keyboard);border-color:var(--xmlui-color-border-Text-keyboard);border-width:var(--xmlui-thickness-border-Text-keyboard);border-style:var(--xmlui-style-border-Text-keyboard);margin-top:var(--xmlui-margin-top-Text-keyboard);margin-bottom:var(--xmlui-margin-bottom-Text-keyboard);padding-left:var(--xmlui-padding-horizontal-Text-keyboard);padding-right:var(--xmlui-padding-horizontal-Text-keyboard);padding-top:var(--xmlui-padding-vertical-Text-keyboard);padding-bottom:var(--xmlui-padding-vertical-Text-keyboard);text-transform:var(--xmlui-transform-Text-keyboard);vertical-align:var(--xmlui-align-vertical-Text-keyboard);letter-spacing:var(--xmlui-letter-spacing-Text-keyboard)}._text_1v46g_13._marked_1v46g_249{font-family:var(--xmlui-font-family-Text-marked);font-size:var(--xmlui-font-size-Text-marked);font-weight:var(--xmlui-font-weight-Text-marked);font-style:var(--xmlui-font-style-Text-marked);font-stretch:var(--xmlui-font-stretch-Text-marked);text-decoration-line:var(--xmlui-line-decoration-Text-marked);text-decoration-color:var(--xmlui-color-decoration-Text-marked);text-decoration-style:var(--xmlui-style-decoration-Text-marked);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-marked);text-underline-offset:var(--xmlui-offset-decoration-Text-marked);line-height:var(--xmlui-line-height-Text-marked);color:var(--xmlui-color-Text-marked);background-color:var(--xmlui-color-bg-Text-marked);border-radius:var(--xmlui-border-radius-Text-marked);border-color:var(--xmlui-color-border-Text-marked);border-width:var(--xmlui-thickness-border-Text-marked);border-style:var(--xmlui-style-border-Text-marked);margin-top:var(--xmlui-margin-top-Text-marked);margin-bottom:var(--xmlui-margin-bottom-Text-marked);padding-left:var(--xmlui-padding-horizontal-Text-marked);padding-right:var(--xmlui-padding-horizontal-Text-marked);padding-top:var(--xmlui-padding-vertical-Text-marked);padding-bottom:var(--xmlui-padding-vertical-Text-marked);text-transform:var(--xmlui-transform-Text-marked);vertical-align:var(--xmlui-align-vertical-Text-marked);letter-spacing:var(--xmlui-letter-spacing-Text-marked)}._text_1v46g_13._marked_1v46g_249:before,._text_1v46g_13._marked_1v46g_249:after{clip-path:inset(100%);clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}._text_1v46g_13._marked_1v46g_249:before{content:" [highlight start] "}._text_1v46g_13._marked_1v46g_249:after{content:" [highlight end] "}._text_1v46g_13._mono_1v46g_292{font-family:var(--xmlui-font-family-Text-mono);font-size:var(--xmlui-font-size-Text-mono);font-weight:var(--xmlui-font-weight-Text-mono);font-style:var(--xmlui-font-style-Text-mono);font-stretch:var(--xmlui-font-stretch-Text-mono);text-decoration-line:var(--xmlui-line-decoration-Text-mono);text-decoration-color:var(--xmlui-color-decoration-Text-mono);text-decoration-style:var(--xmlui-style-decoration-Text-mono);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-mono);text-underline-offset:var(--xmlui-offset-decoration-Text-mono);line-height:var(--xmlui-line-height-Text-mono);color:var(--xmlui-color-Text-mono);background-color:var(--xmlui-color-bg-Text-mono);border-radius:var(--xmlui-border-radius-Text-mono);border-color:var(--xmlui-color-border-Text-mono);border-width:var(--xmlui-thickness-border-Text-mono);border-style:var(--xmlui-style-border-Text-mono);margin-top:var(--xmlui-margin-top-Text-mono);margin-bottom:var(--xmlui-margin-bottom-Text-mono);padding-left:var(--xmlui-padding-horizontal-Text-mono);padding-right:var(--xmlui-padding-horizontal-Text-mono);padding-top:var(--xmlui-padding-vertical-Text-mono);padding-bottom:var(--xmlui-padding-vertical-Text-mono);text-transform:var(--xmlui-transform-Text-mono);vertical-align:var(--xmlui-align-vertical-Text-mono);letter-spacing:var(--xmlui-letter-spacing-Text-mono)}._text_1v46g_13._sample_1v46g_320{font-family:var(--xmlui-font-family-Text-sample);font-size:var(--xmlui-font-size-Text-sample);font-weight:var(--xmlui-font-weight-Text-sample);font-style:var(--xmlui-font-style-Text-sample);font-stretch:var(--xmlui-font-stretch-Text-sample);text-decoration-line:var(--xmlui-line-decoration-Text-sample);text-decoration-color:var(--xmlui-color-decoration-Text-sample);text-decoration-style:var(--xmlui-style-decoration-Text-sample);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-sample);text-underline-offset:var(--xmlui-offset-decoration-Text-sample);line-height:var(--xmlui-line-height-Text-sample);color:var(--xmlui-color-Text-sample);background-color:var(--xmlui-color-bg-Text-sample);border-radius:var(--xmlui-border-radius-Text-sample);border-color:var(--xmlui-color-border-Text-sample);border-width:var(--xmlui-thickness-border-Text-sample);border-style:var(--xmlui-style-border-Text-sample);margin-top:var(--xmlui-margin-top-Text-sample);margin-bottom:var(--xmlui-margin-bottom-Text-sample);padding-left:var(--xmlui-padding-horizontal-Text-sample);padding-right:var(--xmlui-padding-horizontal-Text-sample);padding-top:var(--xmlui-padding-vertical-Text-sample);padding-bottom:var(--xmlui-padding-vertical-Text-sample);text-transform:var(--xmlui-transform-Text-sample);vertical-align:var(--xmlui-align-vertical-Text-sample);letter-spacing:var(--xmlui-letter-spacing-Text-sample)}._text_1v46g_13._sup_1v46g_348{font-family:var(--xmlui-font-family-Text-sup);font-size:var(--xmlui-font-size-Text-sup);font-weight:var(--xmlui-font-weight-Text-sup);font-style:var(--xmlui-font-style-Text-sup);font-stretch:var(--xmlui-font-stretch-Text-sup);text-decoration-line:var(--xmlui-line-decoration-Text-sup);text-decoration-color:var(--xmlui-color-decoration-Text-sup);text-decoration-style:var(--xmlui-style-decoration-Text-sup);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-sup);text-underline-offset:var(--xmlui-offset-decoration-Text-sup);line-height:var(--xmlui-line-height-Text-sup);color:var(--xmlui-color-Text-sup);background-color:var(--xmlui-color-bg-Text-sup);border-radius:var(--xmlui-border-radius-Text-sup);border-color:var(--xmlui-color-border-Text-sup);border-width:var(--xmlui-thickness-border-Text-sup);border-style:var(--xmlui-style-border-Text-sup);margin-top:var(--xmlui-margin-top-Text-sup);margin-bottom:var(--xmlui-margin-bottom-Text-sup);padding-left:var(--xmlui-padding-horizontal-Text-sup);padding-right:var(--xmlui-padding-horizontal-Text-sup);padding-top:var(--xmlui-padding-vertical-Text-sup);padding-bottom:var(--xmlui-padding-vertical-Text-sup);text-transform:var(--xmlui-transform-Text-sup);vertical-align:var(--xmlui-align-vertical-Text-sup);letter-spacing:var(--xmlui-letter-spacing-Text-sup)}._text_1v46g_13._sub_1v46g_376{font-family:var(--xmlui-font-family-Text-sub);font-size:var(--xmlui-font-size-Text-sub);font-weight:var(--xmlui-font-weight-Text-sub);font-style:var(--xmlui-font-style-Text-sub);font-stretch:var(--xmlui-font-stretch-Text-sub);text-decoration-line:var(--xmlui-line-decoration-Text-sub);text-decoration-color:var(--xmlui-color-decoration-Text-sub);text-decoration-style:var(--xmlui-style-decoration-Text-sub);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-sub);text-underline-offset:var(--xmlui-offset-decoration-Text-sub);line-height:var(--xmlui-line-height-Text-sub);color:var(--xmlui-color-Text-sub);background-color:var(--xmlui-color-bg-Text-sub);border-radius:var(--xmlui-border-radius-Text-sub);border-color:var(--xmlui-color-border-Text-sub);border-width:var(--xmlui-thickness-border-Text-sub);border-style:var(--xmlui-style-border-Text-sub);margin-top:var(--xmlui-margin-top-Text-sub);margin-bottom:var(--xmlui-margin-bottom-Text-sub);padding-left:var(--xmlui-padding-horizontal-Text-sub);padding-right:var(--xmlui-padding-horizontal-Text-sub);padding-top:var(--xmlui-padding-vertical-Text-sub);padding-bottom:var(--xmlui-padding-vertical-Text-sub);text-transform:var(--xmlui-transform-Text-sub);vertical-align:var(--xmlui-align-vertical-Text-sub);letter-spacing:var(--xmlui-letter-spacing-Text-sub)}._text_1v46g_13._var_1v46g_404{font-family:var(--xmlui-font-family-Text-var);font-size:var(--xmlui-font-size-Text-var);font-weight:var(--xmlui-font-weight-Text-var);font-style:var(--xmlui-font-style-Text-var);font-stretch:var(--xmlui-font-stretch-Text-var);text-decoration-line:var(--xmlui-line-decoration-Text-var);text-decoration-color:var(--xmlui-color-decoration-Text-var);text-decoration-style:var(--xmlui-style-decoration-Text-var);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-var);text-underline-offset:var(--xmlui-offset-decoration-Text-var);line-height:var(--xmlui-line-height-Text-var);color:var(--xmlui-color-Text-var);background-color:var(--xmlui-color-bg-Text-var);border-radius:var(--xmlui-border-radius-Text-var);border-color:var(--xmlui-color-border-Text-var);border-width:var(--xmlui-thickness-border-Text-var);border-style:var(--xmlui-style-border-Text-var);margin-top:var(--xmlui-margin-top-Text-var);margin-bottom:var(--xmlui-margin-bottom-Text-var);padding-left:var(--xmlui-padding-horizontal-Text-var);padding-right:var(--xmlui-padding-horizontal-Text-var);padding-top:var(--xmlui-padding-vertical-Text-var);padding-bottom:var(--xmlui-padding-vertical-Text-var);text-transform:var(--xmlui-transform-Text-var);vertical-align:var(--xmlui-align-vertical-Text-var);letter-spacing:var(--xmlui-letter-spacing-Text-var)}._text_1v46g_13._title_1v46g_432{font-family:var(--xmlui-font-family-Text-title);font-size:var(--xmlui-font-size-Text-title);font-weight:var(--xmlui-font-weight-Text-title);font-style:var(--xmlui-font-style-Text-title);font-stretch:var(--xmlui-font-stretch-Text-title);text-decoration-line:var(--xmlui-line-decoration-Text-title);text-decoration-color:var(--xmlui-color-decoration-Text-title);text-decoration-style:var(--xmlui-style-decoration-Text-title);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-title);text-underline-offset:var(--xmlui-offset-decoration-Text-title);line-height:var(--xmlui-line-height-Text-title);color:var(--xmlui-color-Text-title);background-color:var(--xmlui-color-bg-Text-title);border-radius:var(--xmlui-border-radius-Text-title);border-color:var(--xmlui-color-border-Text-title);border-width:var(--xmlui-thickness-border-Text-title);border-style:var(--xmlui-style-border-Text-title);margin-top:var(--xmlui-margin-top-Text-title);margin-bottom:var(--xmlui-margin-bottom-Text-title);padding-left:var(--xmlui-padding-horizontal-Text-title);padding-right:var(--xmlui-padding-horizontal-Text-title);padding-top:var(--xmlui-padding-vertical-Text-title);padding-bottom:var(--xmlui-padding-vertical-Text-title);text-transform:var(--xmlui-transform-Text-title);vertical-align:var(--xmlui-align-vertical-Text-title);letter-spacing:var(--xmlui-letter-spacing-Text-title)}._text_1v46g_13._subtitle_1v46g_460{font-family:var(--xmlui-font-family-Text-subtitle);font-size:var(--xmlui-font-size-Text-subtitle);font-weight:var(--xmlui-font-weight-Text-subtitle);font-style:var(--xmlui-font-style-Text-subtitle);font-stretch:var(--xmlui-font-stretch-Text-subtitle);text-decoration-line:var(--xmlui-line-decoration-Text-subtitle);text-decoration-color:var(--xmlui-color-decoration-Text-subtitle);text-decoration-style:var(--xmlui-style-decoration-Text-subtitle);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-subtitle);text-underline-offset:var(--xmlui-offset-decoration-Text-subtitle);line-height:var(--xmlui-line-height-Text-subtitle);color:var(--xmlui-color-Text-subtitle);background-color:var(--xmlui-color-bg-Text-subtitle);border-radius:var(--xmlui-border-radius-Text-subtitle);border-color:var(--xmlui-color-border-Text-subtitle);border-width:var(--xmlui-thickness-border-Text-subtitle);border-style:var(--xmlui-style-border-Text-subtitle);margin-top:var(--xmlui-margin-top-Text-subtitle);margin-bottom:var(--xmlui-margin-bottom-Text-subtitle);padding-left:var(--xmlui-padding-horizontal-Text-subtitle);padding-right:var(--xmlui-padding-horizontal-Text-subtitle);padding-top:var(--xmlui-padding-vertical-Text-subtitle);padding-bottom:var(--xmlui-padding-vertical-Text-subtitle);text-transform:var(--xmlui-transform-Text-subtitle);vertical-align:var(--xmlui-align-vertical-Text-subtitle);letter-spacing:var(--xmlui-letter-spacing-Text-subtitle)}._text_1v46g_13._small_1v46g_488{font-family:var(--xmlui-font-family-Text-small);font-size:var(--xmlui-font-size-Text-small);font-weight:var(--xmlui-font-weight-Text-small);font-style:var(--xmlui-font-style-Text-small);font-stretch:var(--xmlui-font-stretch-Text-small);text-decoration-line:var(--xmlui-line-decoration-Text-small);text-decoration-color:var(--xmlui-color-decoration-Text-small);text-decoration-style:var(--xmlui-style-decoration-Text-small);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-small);text-underline-offset:var(--xmlui-offset-decoration-Text-small);line-height:var(--xmlui-line-height-Text-small);color:var(--xmlui-color-Text-small);background-color:var(--xmlui-color-bg-Text-small);border-radius:var(--xmlui-border-radius-Text-small);border-color:var(--xmlui-color-border-Text-small);border-width:var(--xmlui-thickness-border-Text-small);border-style:var(--xmlui-style-border-Text-small);margin-top:var(--xmlui-margin-top-Text-small);margin-bottom:var(--xmlui-margin-bottom-Text-small);padding-left:var(--xmlui-padding-horizontal-Text-small);padding-right:var(--xmlui-padding-horizontal-Text-small);padding-top:var(--xmlui-padding-vertical-Text-small);padding-bottom:var(--xmlui-padding-vertical-Text-small);text-transform:var(--xmlui-transform-Text-small);vertical-align:var(--xmlui-align-vertical-Text-small);letter-spacing:var(--xmlui-letter-spacing-Text-small)}._text_1v46g_13._caption_1v46g_516{font-family:var(--xmlui-font-family-Text-caption);font-size:var(--xmlui-font-size-Text-caption);font-weight:var(--xmlui-font-weight-Text-caption);font-style:var(--xmlui-font-style-Text-caption);font-stretch:var(--xmlui-font-stretch-Text-caption);text-decoration-line:var(--xmlui-line-decoration-Text-caption);text-decoration-color:var(--xmlui-color-decoration-Text-caption);text-decoration-style:var(--xmlui-style-decoration-Text-caption);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-caption);text-underline-offset:var(--xmlui-offset-decoration-Text-caption);line-height:var(--xmlui-line-height-Text-caption);color:var(--xmlui-color-Text-caption);background-color:var(--xmlui-color-bg-Text-caption);border-radius:var(--xmlui-border-radius-Text-caption);border-color:var(--xmlui-color-border-Text-caption);border-width:var(--xmlui-thickness-border-Text-caption);border-style:var(--xmlui-style-border-Text-caption);margin-top:var(--xmlui-margin-top-Text-caption);margin-bottom:var(--xmlui-margin-bottom-Text-caption);padding-left:var(--xmlui-padding-horizontal-Text-caption);padding-right:var(--xmlui-padding-horizontal-Text-caption);padding-top:var(--xmlui-padding-vertical-Text-caption);padding-bottom:var(--xmlui-padding-vertical-Text-caption);text-transform:var(--xmlui-transform-Text-caption);vertical-align:var(--xmlui-align-vertical-Text-caption);letter-spacing:var(--xmlui-letter-spacing-Text-caption)}._text_1v46g_13._placeholder_1v46g_544{font-family:var(--xmlui-font-family-Text-placeholder);font-size:var(--xmlui-font-size-Text-placeholder);font-weight:var(--xmlui-font-weight-Text-placeholder);font-style:var(--xmlui-font-style-Text-placeholder);font-stretch:var(--xmlui-font-stretch-Text-placeholder);text-decoration-line:var(--xmlui-line-decoration-Text-placeholder);text-decoration-color:var(--xmlui-color-decoration-Text-placeholder);text-decoration-style:var(--xmlui-style-decoration-Text-placeholder);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-placeholder);text-underline-offset:var(--xmlui-offset-decoration-Text-placeholder);line-height:var(--xmlui-line-height-Text-placeholder);color:var(--xmlui-color-Text-placeholder);background-color:var(--xmlui-color-bg-Text-placeholder);border-radius:var(--xmlui-border-radius-Text-placeholder);border-color:var(--xmlui-color-border-Text-placeholder);border-width:var(--xmlui-thickness-border-Text-placeholder);border-style:var(--xmlui-style-border-Text-placeholder);margin-top:var(--xmlui-margin-top-Text-placeholder);margin-bottom:var(--xmlui-margin-bottom-Text-placeholder);padding-left:var(--xmlui-padding-horizontal-Text-placeholder);padding-right:var(--xmlui-padding-horizontal-Text-placeholder);padding-top:var(--xmlui-padding-vertical-Text-placeholder);padding-bottom:var(--xmlui-padding-vertical-Text-placeholder);text-transform:var(--xmlui-transform-Text-placeholder);vertical-align:var(--xmlui-align-vertical-Text-placeholder);letter-spacing:var(--xmlui-letter-spacing-Text-placeholder)}._text_1v46g_13._paragraph_1v46g_572{font-family:var(--xmlui-font-family-Text-paragraph);font-size:var(--xmlui-font-size-Text-paragraph);font-weight:var(--xmlui-font-weight-Text-paragraph);font-style:var(--xmlui-font-style-Text-paragraph);font-stretch:var(--xmlui-font-stretch-Text-paragraph);text-decoration-line:var(--xmlui-line-decoration-Text-paragraph);text-decoration-color:var(--xmlui-color-decoration-Text-paragraph);text-decoration-style:var(--xmlui-style-decoration-Text-paragraph);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-paragraph);text-underline-offset:var(--xmlui-offset-decoration-Text-paragraph);line-height:var(--xmlui-line-height-Text-paragraph);color:var(--xmlui-color-Text-paragraph);background-color:var(--xmlui-color-bg-Text-paragraph);border-radius:var(--xmlui-border-radius-Text-paragraph);border-color:var(--xmlui-color-border-Text-paragraph);border-width:var(--xmlui-thickness-border-Text-paragraph);border-style:var(--xmlui-style-border-Text-paragraph);margin-top:var(--xmlui-margin-top-Text-paragraph);margin-bottom:var(--xmlui-margin-bottom-Text-paragraph);padding-left:var(--xmlui-padding-horizontal-Text-paragraph);padding-right:var(--xmlui-padding-horizontal-Text-paragraph);padding-top:var(--xmlui-padding-vertical-Text-paragraph);padding-bottom:var(--xmlui-padding-vertical-Text-paragraph);text-transform:var(--xmlui-transform-Text-paragraph);vertical-align:var(--xmlui-align-vertical-Text-paragraph);letter-spacing:var(--xmlui-letter-spacing-Text-paragraph)}._text_1v46g_13._subheading_1v46g_600{font-family:var(--xmlui-font-family-Text-subheading);font-size:var(--xmlui-font-size-Text-subheading);font-weight:var(--xmlui-font-weight-Text-subheading);font-style:var(--xmlui-font-style-Text-subheading);font-stretch:var(--xmlui-font-stretch-Text-subheading);text-decoration-line:var(--xmlui-line-decoration-Text-subheading);text-decoration-color:var(--xmlui-color-decoration-Text-subheading);text-decoration-style:var(--xmlui-style-decoration-Text-subheading);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-subheading);text-underline-offset:var(--xmlui-offset-decoration-Text-subheading);line-height:var(--xmlui-line-height-Text-subheading);color:var(--xmlui-color-Text-subheading);background-color:var(--xmlui-color-bg-Text-subheading);border-radius:var(--xmlui-border-radius-Text-subheading);border-color:var(--xmlui-color-border-Text-subheading);border-width:var(--xmlui-thickness-border-Text-subheading);border-style:var(--xmlui-style-border-Text-subheading);margin-top:var(--xmlui-margin-top-Text-subheading);margin-bottom:var(--xmlui-margin-bottom-Text-subheading);padding-left:var(--xmlui-padding-horizontal-Text-subheading);padding-right:var(--xmlui-padding-horizontal-Text-subheading);padding-top:var(--xmlui-padding-vertical-Text-subheading);padding-bottom:var(--xmlui-padding-vertical-Text-subheading);text-transform:var(--xmlui-transform-Text-subheading);vertical-align:var(--xmlui-align-vertical-Text-subheading);letter-spacing:var(--xmlui-letter-spacing-Text-subheading)}._text_1v46g_13._tableheading_1v46g_628{font-family:var(--xmlui-font-family-Text-tableheading);font-size:var(--xmlui-font-size-Text-tableheading);font-weight:var(--xmlui-font-weight-Text-tableheading);font-style:var(--xmlui-font-style-Text-tableheading);font-stretch:var(--xmlui-font-stretch-Text-tableheading);text-decoration-line:var(--xmlui-line-decoration-Text-tableheading);text-decoration-color:var(--xmlui-color-decoration-Text-tableheading);text-decoration-style:var(--xmlui-style-decoration-Text-tableheading);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-tableheading);text-underline-offset:var(--xmlui-offset-decoration-Text-tableheading);line-height:var(--xmlui-line-height-Text-tableheading);color:var(--xmlui-color-Text-tableheading);background-color:var(--xmlui-color-bg-Text-tableheading);border-radius:var(--xmlui-border-radius-Text-tableheading);border-color:var(--xmlui-color-border-Text-tableheading);border-width:var(--xmlui-thickness-border-Text-tableheading);border-style:var(--xmlui-style-border-Text-tableheading);margin-top:var(--xmlui-margin-top-Text-tableheading);margin-bottom:var(--xmlui-margin-bottom-Text-tableheading);padding-left:var(--xmlui-padding-horizontal-Text-tableheading);padding-right:var(--xmlui-padding-horizontal-Text-tableheading);padding-top:var(--xmlui-padding-vertical-Text-tableheading);padding-bottom:var(--xmlui-padding-vertical-Text-tableheading);text-transform:var(--xmlui-transform-Text-tableheading);vertical-align:var(--xmlui-align-vertical-Text-tableheading);letter-spacing:var(--xmlui-letter-spacing-Text-tableheading)}._text_1v46g_13._secondary_1v46g_656{font-family:var(--xmlui-font-family-Text-secondary);font-size:var(--xmlui-font-size-Text-secondary);font-weight:var(--xmlui-font-weight-Text-secondary);font-style:var(--xmlui-font-style-Text-secondary);font-stretch:var(--xmlui-font-stretch-Text-secondary);text-decoration-line:var(--xmlui-line-decoration-Text-secondary);text-decoration-color:var(--xmlui-color-decoration-Text-secondary);text-decoration-style:var(--xmlui-style-decoration-Text-secondary);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-secondary);text-underline-offset:var(--xmlui-offset-decoration-Text-secondary);line-height:var(--xmlui-line-height-Text-secondary);color:var(--xmlui-color-Text-secondary);background-color:var(--xmlui-color-bg-Text-secondary);border-radius:var(--xmlui-border-radius-Text-secondary);border-color:var(--xmlui-color-border-Text-secondary);border-width:var(--xmlui-thickness-border-Text-secondary);border-style:var(--xmlui-style-border-Text-secondary);margin-top:var(--xmlui-margin-top-Text-secondary);margin-bottom:var(--xmlui-margin-bottom-Text-secondary);padding-left:var(--xmlui-padding-horizontal-Text-secondary);padding-right:var(--xmlui-padding-horizontal-Text-secondary);padding-top:var(--xmlui-padding-vertical-Text-secondary);padding-bottom:var(--xmlui-padding-vertical-Text-secondary);text-transform:var(--xmlui-transform-Text-secondary);vertical-align:var(--xmlui-align-vertical-Text-secondary);letter-spacing:var(--xmlui-letter-spacing-Text-secondary)}._text_1v46g_13._strong_1v46g_684{font-weight:var(--xmlui-font-weight-bold)}._truncateOverflow_1v46g_692{overflow:hidden;overflow-wrap:break-word;white-space:nowrap;max-width:100%}._preserveLinebreaks_1v46g_699{white-space:pre-wrap}._noEllipsis_1v46g_703{text-overflow:clip}._wrapper_7jlv4_13{width:100%;outline:none;overflow:auto;isolation:isolate}._wrapper_7jlv4_13._noScroll_7jlv4_19{overflow-y:initial}._headerWrapper_7jlv4_23,._tableBody_7jlv4_23{display:inline-block;min-width:100%;background-color:var(--xmlui-color-bg-Table)}._clickableHeader_7jlv4_29{width:100%;height:100%;color:var(--xmlui-color-text-heading-Table);background-color:transparent;border:none;transition:color .2s,background-color .2s;cursor:pointer;padding:var(--xmlui-padding-heading-Table)}._clickableHeader_7jlv4_29 ._headerContent_7jlv4_39{padding:0}._clickableHeader_7jlv4_29:not([disabled]):hover{background-color:var(--xmlui-color-bg-heading-Table--hover)}._clickableHeader_7jlv4_29:not([disabled]):active{background-color:var(--xmlui-color-bg-heading-Table--active)}._clickableHeader_7jlv4_29:not([disabled]):focus-visible{outline-width:var(--xmlui-thickness-outline-heading-Table--focus);outline-color:var(--xmlui-color-outline-heading-Table--focus);outline-style:var(--xmlui-style-outline-heading-Table--focus);outline-offset:var(--xmlui-offset-outline-heading-Table--focus)}._headerContent_7jlv4_39{display:flex;flex-direction:row;gap:.5rem;align-items:center;text-transform:var(--xmlui-transform-text-heading-Table);font-size:var(--xmlui-font-size-heading-Table);color:var(--xmlui-color-text-heading-Table);font-weight:var(--xmlui-font-weight-heading-Table);padding:var(--xmlui-padding-heading-Table)}._headerRow_7jlv4_67{height:100%;background-color:var(--xmlui-color-bg-heading-Table)}._columnCell_7jlv4_72,._cell_7jlv4_72{display:flex;align-items:center;white-space:nowrap;text-overflow:ellipsis}._table_7jlv4_23{display:block;color:var(--xmlui-color-text-Table)}._table_7jlv4_23 ._row_7jlv4_83,._table_7jlv4_23 ._headerRow_7jlv4_67{display:flex;flex-direction:row;border-bottom:var(--xmlui-border-cell-Table);-webkit-user-select:none;user-select:none}._table_7jlv4_23 ._row_7jlv4_83 ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67 ._checkBoxWrapper_7jlv4_89{font-size:1rem;visibility:hidden}._table_7jlv4_23 ._row_7jlv4_83 ._checkBoxWrapper_7jlv4_89._showInHeader_7jlv4_93,._table_7jlv4_23 ._headerRow_7jlv4_67 ._checkBoxWrapper_7jlv4_89._showInHeader_7jlv4_93{visibility:visible}._table_7jlv4_23 ._row_7jlv4_83:hover ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96 ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._row_7jlv4_83:focus-within ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._row_7jlv4_83._allSelected_7jlv4_96 ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67:hover ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67._selected_7jlv4_96 ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67:focus-within ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67._allSelected_7jlv4_96 ._checkBoxWrapper_7jlv4_89{visibility:visible}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:first-child ._headerContent_7jlv4_39,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:first-child ._headerContent_7jlv4_39{padding-left:var(--xmlui-padding-horizontal-cell-first-Table)}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:first-child>button,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:first-child>button{padding-left:var(--xmlui-padding-horizontal-cell-first-Table)}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:first-child>button ._headerContent_7jlv4_39,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:first-child>button ._headerContent_7jlv4_39{padding-left:0}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:last-child ._headerContent_7jlv4_39,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:last-child ._headerContent_7jlv4_39{padding-right:var(--xmlui-padding-horizontal-cell-last-Table)}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:last-child>button,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:last-child>button{padding-right:var(--xmlui-padding-horizontal-cell-last-Table)}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:last-child>button ._headerContent_7jlv4_39,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:last-child>button ._headerContent_7jlv4_39{padding-right:0}._table_7jlv4_23 ._row_7jlv4_83 ._cell_7jlv4_72:first-child,._table_7jlv4_23 ._headerRow_7jlv4_67 ._cell_7jlv4_72:first-child{padding-left:var(--xmlui-padding-horizontal-cell-first-Table);border-left:0}._table_7jlv4_23 ._row_7jlv4_83 ._cell_7jlv4_72:last-child,._table_7jlv4_23 ._headerRow_7jlv4_67 ._cell_7jlv4_72:last-child{padding-right:var(--xmlui-padding-horizontal-cell-last-Table);border-right:0}._table_7jlv4_23 ._row_7jlv4_83{font-size:var(--xmlui-font-size-row-Table);font-weight:var(--xmlui-font-weight-row-Table);background-color:var(--xmlui-color-bg-row-Table)}._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96,._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96 ._cell_7jlv4_72{background-color:var(--xmlui-color-bg-selected-Table)}._table_7jlv4_23 ._row_7jlv4_83:hover,._table_7jlv4_23 ._row_7jlv4_83:hover ._cell_7jlv4_72{background-color:var(--xmlui-color-bg-row-Table--hover)}._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96._focused_7jlv4_142,._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96._focused_7jlv4_142 ._cell_7jlv4_72{background-color:var(--xmlui-color-bg-selected-Table)}._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96:hover,._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96:hover ._cell_7jlv4_72{background-color:var(--xmlui-color-bg-selected-Table--hover)}._table_7jlv4_23 ._row_7jlv4_83._disabled_7jlv4_154{pointer-events:none;opacity:.6}._cell_7jlv4_72{padding:var(--xmlui-padding-cell-Table);overflow:hidden;text-overflow:ellipsis}._headerWrapper_7jlv4_23{position:sticky;top:0;z-index:2}._columnCell_7jlv4_72{background-color:var(--xmlui-color-bg-heading-Table);text-align:start;white-space:nowrap;text-overflow:ellipsis;padding:0}._noRows_7jlv4_179{width:100%;text-align:center;margin-top:var(--xmlui-space-16)}._pagination_7jlv4_185{position:sticky;left:0;padding-top:var(--xmlui-space-4);padding-bottom:var(--xmlui-space-4);padding-inline:var(--xmlui-space-4);display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:var(--xmlui-space-8);width:100%;margin:0 auto;background-color:var(--xmlui-color-bg-pagination-Table)}._paginationLabel_7jlv4_201{color:var(--xmlui-color-text-pagination-Table);font-size:var(--xmlui-font-size-small)}._paginationSelect_7jlv4_206{color:inherit;background-color:transparent;margin-left:var(--xmlui-space-4)}._paginationButtons_7jlv4_212{display:flex;flex-direction:row}._searchIconWrapper_7jlv4_217{width:32px;display:flex;align-items:center;justify-content:center}._loadingWrapper_7jlv4_224{display:flex;flex-direction:row;justify-content:center;padding-top:var(--xmlui-space-2);padding-bottom:var(--xmlui-space-2)}._checkBoxWrapper_7jlv4_89{opacity:.5}._checkBoxWrapper_7jlv4_89:hover{opacity:1}._resizer_7jlv4_239{position:absolute;top:0;height:100%;width:6px;cursor:col-resize;-webkit-user-select:none;user-select:none;touch-action:none;right:0;overflow:visible;display:flex;flex-direction:row;align-items:center;justify-content:center}._resizer_7jlv4_239:before{content:"";width:1px;height:100%;background:var(--xmlui-color-border-cell-Table)}._resizer_7jlv4_239._isResizing_7jlv4_261{opacity:1}._resizer_7jlv4_239._isResizing_7jlv4_261:before{box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}@media (hover: hover){._resizer_7jlv4_239{opacity:0}*:hover>._resizer_7jlv4_239{opacity:1}}._resetAppearance_fdujw_13{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}._checkbox_fdujw_21{display:grid;place-content:center;min-width:1em;min-height:1em;width:1em;height:1em;border:2px solid transparent;border-radius:var(--xmlui-radius-Checkbox-default);border-color:var(--xmlui-color-border-Checkbox-default);background-color:var(--xmlui-color-bg-Checkbox-default)}._checkbox_fdujw_21:not([readonly]){cursor:pointer}._checkbox_fdujw_21:focus-visible{outline-width:var(--xmlui-thickness-outline-Checkbox-default--focus);outline-color:var(--xmlui-color-outline-Checkbox-default--focus);outline-style:var(--xmlui-style-outline-Checkbox-default--focus);outline-offset:var(--xmlui-offset-outline-Checkbox-default--focus)}._checkbox_fdujw_21:hover{border-color:var(--xmlui-color-border-Checkbox-default--hover)}._checkbox_fdujw_21:disabled{cursor:not-allowed;background-color:var(--xmlui-color-bg-Checkbox--disabled);border-color:var(--xmlui-color-border-Checkbox--disabled)}._checkbox_fdujw_21._error_fdujw_50{border-radius:var(--xmlui-radius-Checkbox-error);border-color:var(--xmlui-color-border-Checkbox-error);background-color:var(--xmlui-color-bg-Checkbox-error)}._checkbox_fdujw_21._error_fdujw_50:focus-visible{outline-width:var(--xmlui-thickness-outline-Checkbox-error--focus);outline-color:var(--xmlui-color-outline-Checkbox-error--focus);outline-style:var(--xmlui-style-outline-Checkbox-error--focus);outline-offset:var(--xmlui-offset-outline-Checkbox-error--focus)}._checkbox_fdujw_21._warning_fdujw_61{border-radius:var(--xmlui-radius-Checkbox-warning);border-color:var(--xmlui-color-border-Checkbox-warning);background-color:var(--xmlui-color-bg-Checkbox-warning)}._checkbox_fdujw_21._warning_fdujw_61:focus-visible{outline-width:var(--xmlui-thickness-outline-Checkbox-warning--focus);outline-color:var(--xmlui-color-outline-Checkbox-warning--focus);outline-style:var(--xmlui-style-outline-Checkbox-warning--focus);outline-offset:var(--xmlui-offset-outline-Checkbox-warning--focus)}._checkbox_fdujw_21._valid_fdujw_72{border-radius:var(--xmlui-radius-Checkbox-success);border-color:var(--xmlui-color-border-Checkbox-success);background-color:var(--xmlui-color-bg-Checkbox-success)}._checkbox_fdujw_21._valid_fdujw_72:focus-visible{outline-width:var(--xmlui-thickness-outline-Checkbox-success--focus);outline-color:var(--xmlui-color-outline-Checkbox-success--focus);outline-style:var(--xmlui-style-outline-Checkbox-success--focus);outline-offset:var(--xmlui-offset-outline-Checkbox-success--focus)}._checkbox_fdujw_21:before{content:"";width:.5em;height:.5em;transform:scale(0);transition:.1s transform ease-out;box-shadow:inset 1em 1em var(--xmlui-color-bg-indicator-Checkbox);transform-origin:center;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}._checkbox_fdujw_21:checked:before{transform:scale(1)}._checkbox_fdujw_21:checked{border-color:var(--xmlui-color-border-checked-Checkbox);background-color:var(--xmlui-color-bg-checked-Checkbox)}._checkbox_fdujw_21:checked:disabled{background-color:var(--xmlui-color-bg-Checkbox--disabled);border-color:var(--xmlui-color-border-Checkbox--disabled)}._checkbox_fdujw_21:checked._error_fdujw_50{border-color:var(--xmlui-color-border-checked-Checkbox-error);background-color:var(--xmlui-color-bg-checked-Checkbox-error)}._checkbox_fdujw_21:checked._warning_fdujw_61{border-color:var(--xmlui-color-border-checked-Checkbox-warning);background-color:var(--xmlui-color-bg-checked-Checkbox-warning)}._checkbox_fdujw_21:checked._valid_fdujw_72{border-color:var(--xmlui-color-border-checked-Checkbox-success);background-color:var(--xmlui-color-bg-checked-Checkbox-success)}._checkbox_fdujw_21:indeterminate{background-color:var(--xmlui-color-bg-checked-Checkbox);border-color:var(--xmlui-color-border-checked-Checkbox)}._checkbox_fdujw_21:indeterminate[readonly]{pointer-events:none}._checkbox_fdujw_21:indeterminate:disabled{background-color:var(--xmlui-color-bg-Checkbox--disabled);border-color:var(--xmlui-color-border-Checkbox--disabled)}._checkbox_fdujw_21:indeterminate:before{clip-path:circle(30% at 50% 50%);transform:scale(1)}._switch_fdujw_132{border:2px solid var(--xmlui-color-border-Switch);width:32px;height:20px;border-radius:1rem;position:relative;cursor:pointer;flex-shrink:0;background-color:var(--xmlui-color-bg-Switch)}._switch_fdujw_132:hover{border-color:var(--xmlui-color-border-Switch-default--hover)}._switch_fdujw_132:disabled{cursor:not-allowed;background-color:var(--xmlui-color-bg-Switch--disabled);border-color:var(--xmlui-color-border-Switch--disabled)}._switch_fdujw_132._error_fdujw_50{border-color:var(--xmlui-color-border-Switch-error)}._switch_fdujw_132._warning_fdujw_61{border-color:var(--xmlui-color-border-Switch-warning)}._switch_fdujw_132._valid_fdujw_72{border-color:var(--xmlui-color-border-Switch-success)}._switch_fdujw_132:before{content:"";position:absolute;top:0;left:0;width:16px;height:16px;background:var(--xmlui-color-bg-indicator-Switch);border-radius:1rem;transition:.3s transform}._switch_fdujw_132:checked{border-color:var(--xmlui-color-border-checked-Switch);background-color:var(--xmlui-color-bg-checked-Switch)}._switch_fdujw_132:checked:disabled{background-color:var(--xmlui-color-bg-Switch--disabled);border-color:var(--xmlui-color-border-Switch--disabled)}._switch_fdujw_132:checked._error_fdujw_50{border-color:var(--xmlui-color-border-checked-Switch-error);background-color:var(--xmlui-color-bg-checked-Switch-error)}._switch_fdujw_132:checked._warning_fdujw_61{border-color:var(--xmlui-color-border-checked-Switch-warning);background-color:var(--xmlui-color-bg-checked-Switch-warning)}._switch_fdujw_132:checked._valid_fdujw_72{border-color:var(--xmlui-color-border-checked-Switch-success);background-color:var(--xmlui-color-bg-checked-Switch-success)}._switch_fdujw_132:focus-visible{outline-width:var(--xmlui-thickness-outline-Switch--focus);outline-color:var(--xmlui-color-outline-Switch--focus);outline-style:var(--xmlui-style-outline-Switch--focus);outline-offset:var(--xmlui-offset-outline-Switch--focus)}._switch_fdujw_132:checked:before{transform:translate(calc(100% - 4px))}._wrapper_1qgtv_13{position:sticky;z-index:1;background-color:var(--xmlui-color-bg-StickyBox)}._wrapper_1qgtv_13._top_1qgtv_18{top:var(--header-height, 0)}._wrapper_1qgtv_13._bottom_1qgtv_21{bottom:var(--footer-height, 0)}._badge_xcyhw_13{display:inline-block;width:fit-content;vertical-align:top;padding:var(--xmlui-padding-Badge);min-width:fit-content;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;font-weight:var(--xmlui-font-weight-Badge);background-color:var(--xmlui-color-bg-Badge);color:var(--xmlui-color-text-Badge);border-radius:var(--xmlui-radius-Badge);font-size:var(--xmlui-font-size-Badge)}._pill_xcyhw_29{display:inline-block;width:fit-content;vertical-align:top;padding:var(--xmlui-padding-Badge-pill);min-width:fit-content;overflow:hidden;text-overflow:ellipsis;font-weight:var(--xmlui-font-weight-Badge-pill);background-color:var(--xmlui-color-bg-Badge);color:var(--xmlui-color-text-Badge);border-radius:9999px;font-size:var(--xmlui-font-size-Badge-pill)}._container_1fbc9_13{border-radius:var(--xmlui-radius-Avatar);border:var(--xmlui-border-Avatar);border-width:var(--xmlui-thickness-border-Avatar);border-style:var(--xmlui-style-border-Avatar);aspect-ratio:1/1;background-color:var(--xmlui-color-bg-Avatar);color:var(--xmlui-color-text-Avatar);flex-shrink:0;background-repeat:no-repeat;background-position:50%;background-size:cover;display:flex;align-items:center;justify-content:center;font-weight:var(--xmlui-font-weight-Avatar);white-space:nowrap;-webkit-user-select:none;user-select:none;font-size:12px;box-shadow:var(--xmlui-shadow-Avatar)}._container_1fbc9_13._xs_1fbc9_34{width:var(--xmlui-space-8);height:var(--xmlui-space-8);max-width:var(--xmlui-space-8);max-height:var(--xmlui-space-8);font-size:var(--xmlui-space-3)}._container_1fbc9_13._sm_1fbc9_41{width:var(--xmlui-space-12);height:var(--xmlui-space-12);max-width:var(--xmlui-space-12);max-height:var(--xmlui-space-12);font-size:var(--xmlui-space-4)}._container_1fbc9_13._md_1fbc9_48{width:var(--xmlui-space-16);height:var(--xmlui-space-16);max-width:var(--xmlui-space-16);max-height:var(--xmlui-space-16);font-size:var(--xmlui-space-5)}._container_1fbc9_13._lg_1fbc9_55{width:var(--xmlui-space-24);height:var(--xmlui-space-24);max-width:var(--xmlui-space-24);max-height:var(--xmlui-space-24);font-size:var(--xmlui-space-8)}._container_1fbc9_13._clickable_1fbc9_62{cursor:pointer}._separator_qlxwk_13{background-color:var(--xmlui-color-bg-ContentSeparator)}._separator_qlxwk_13._horizontal_qlxwk_16{height:var(--xmlui-size-ContentSeparator);width:100%}._separator_qlxwk_13._vertical_qlxwk_20{width:var(--xmlui-size-ContentSeparator);min-height:100%}._wrapper_qmtvs_13{padding:var(--xmlui-padding-Card);box-shadow:var(--xmlui-shadow-Card);background-color:var(--xmlui-color-bg-Card);border:var(--xmlui-border-Card);border-radius:var(--xmlui-radius-Card);display:flex;flex-direction:column;gap:var(--stack-gap-default)}._wrapper_qmtvs_13._horizontal_qmtvs_23{flex-direction:row;align-items:center;padding-block:var(--xmlui-space-2)}._wrapper_qmtvs_13._vertical_qmtvs_28{flex-direction:column}._wrapper_qmtvs_13._isClickable_qmtvs_31{cursor:pointer}._outer_aarhe_13{contain:layout}._flowContainer_aarhe_17{display:flex;flex-wrap:wrap}._flowContainer_aarhe_17._horizontal_aarhe_21{flex-direction:row}._flowContainer_aarhe_17._horizontal_aarhe_21 ._flowItem_aarhe_24{flex-shrink:0}._flowContainer_aarhe_17._horizontal_aarhe_21 ._flowItem_aarhe_24>*{width:100%!important;min-width:0!important;max-width:none!important}._flowContainer_aarhe_17._vertical_aarhe_32{height:100%;flex-direction:column;align-content:flex-start}._flowContainer_aarhe_17._vertical_aarhe_32 ._flowItem_aarhe_24{width:auto;flex-shrink:0}._flowContainer_aarhe_17._vertical_aarhe_32 ._flowItem_aarhe_24>*{height:auto!important;min-height:0!important;max-height:none!important}._break_aarhe_47:not(._forceBreak_aarhe_47):has(+._starSized_aarhe_47){display:none}._break_aarhe_47,._forceBreak_aarhe_47{flex-basis:100%;height:0}._wrapper_9giub_13{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:var(--xmlui-padding-vertical-NoResult);padding-bottom:var(--xmlui-padding-vertical-NoResult)}._icon_9giub_22{width:var(--xmlui-size-icon-NoResult);height:var(--xmlui-size-icon-NoResult);margin-bottom:var(--xmlui-gap-icon-NoResult)}._wrapper_u50h5_13{position:relative;background-color:var(--xmlui-color-bg-FileUploadDropZone);color:var(--xmlui-color-text-FileUploadDropZone);display:flex;flex-direction:column}._dropPlaceholder_u50h5_21{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column}._dropPlaceholder_u50h5_21:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--xmlui-color-bg-dropping-FileUploadDropZone);opacity:var(--xmlui-opacity-dropping-FileUploadDropZone)}._wrapper_1s8j7_13{width:100%;background-color:var(--xmlui-color-bg-ProgressBar);border-radius:var(--xmlui-radius-ProgressBar);overflow:hidden;position:relative;height:var(--xmlui-thickness-ProgressBar)}._bar_1s8j7_22{position:absolute;background-color:var(--xmlui-color-indicator-ProgressBar);border-radius:var(--xmlui-radius-indicator-ProgressBar);left:0;top:0;bottom:0}._splitter_1a9gt_13{overflow:hidden;position:relative;flex-wrap:nowrap;display:flex;height:100%;width:100%;box-shadow:var(--xmlui-shadow-Splitter);padding:var(--xmlui-padding-Splitter);background-color:var(--xmlui-color-bg-Splitter);border-radius:var(--xmlui-radius-Splitter);border:var(--xmlui-border-Splitter) var(--xmlui-style-border-Splitter) var(--xmlui-color-border-Splitter);-webkit-user-select:none;user-select:none}._splitter_1a9gt_13._vertical_1a9gt_27{flex-direction:column}._splitter_1a9gt_13._horizontal_1a9gt_30{flex-direction:row}._panel_1a9gt_34{overflow:hidden;display:flex;flex-direction:column;flex:1}._primaryPanel_1a9gt_41{flex-shrink:0;flex-grow:0;overflow:auto;order:1}._secondaryPanel_1a9gt_48{flex:1;overflow:auto;order:3}._resizer_1a9gt_54{order:2;overflow:hidden;background-color:var(--xmlui-color-bg-resizer-Splitter, transparent)}._resizer_1a9gt_54._vertical_1a9gt_27{cursor:var(--xmlui-cursor-resizer-vertical-Splitter, ns-resize);width:100%;height:var(--xmlui-thickness-resizer-Splitter, 5px)}._resizer_1a9gt_54._horizontal_1a9gt_30{cursor:var(--xmlui-cursor-resizer-horizontal-Splitter, ew-resize);width:var(--xmlui-thickness-resizer-Splitter, 5px);height:100%}._floatingResizer_1a9gt_70{position:absolute;z-index:1000;opacity:0;overflow:hidden;transition:opacity .2s;background-color:var(--xmlui-color-bg-resizer-Splitter, transparent)}._floatingResizer_1a9gt_70._vertical_1a9gt_27{cursor:var(--xmlui-cursor-resizer-vertical-Splitter, ns-resize);width:100%;height:var(--xmlui-thickness-resizer-Splitter, 5px);transform:translateY(-50%)}._floatingResizer_1a9gt_70._horizontal_1a9gt_30{cursor:var(--xmlui-cursor-resizer-horizontal-Splitter, ew-resize);width:var(--xmlui-thickness-resizer-Splitter, 5px);height:100%;transform:translate(-50%)}._infoWrapper_pfst8_13{width:100%;margin:0 auto}._loadingWrapper_pfst8_18{display:flex;flex-direction:row;justify-content:center;padding-top:var(--xmlui-space-2);padding-bottom:var(--xmlui-space-2)}._noRows_pfst8_26{width:100%;text-align:center;margin-top:var(--xmlui-space-4)}._borderCollapse_pfst8_36:not(._sectioned_pfst8_36) ._row_pfst8_36:first-child:not(:last-child)>*{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}._borderCollapse_pfst8_36:not(._sectioned_pfst8_36) ._row_pfst8_36:last-child:not(:first-child)>*{border-top-left-radius:0;border-top-right-radius:0}._borderCollapse_pfst8_36:not(._sectioned_pfst8_36) ._row_pfst8_36:not(:first-child):not(:last-child)>*{border-radius:0;border-bottom:0}._borderCollapse_pfst8_36._sectioned_pfst8_36 ._section_pfst8_36+._row_pfst8_36:not(:has(+._sectionFooter_pfst8_52))>*{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}._borderCollapse_pfst8_36._sectioned_pfst8_36 ._row_pfst8_36:has(+._sectionFooter_pfst8_52):not(._section_pfst8_36+._row_pfst8_36)>*{border-top-left-radius:0;border-top-right-radius:0}._borderCollapse_pfst8_36._sectioned_pfst8_36 ._row_pfst8_36:has(+._row_pfst8_36):not(._section_pfst8_36+._row_pfst8_36)>*{border-radius:0;border-bottom:0}._wrapper_1hlil_13{position:absolute}._wrapper_1hlil_13._visibleOnHover_1hlil_16{transition:opacity .1s;opacity:0}:has(>._wrapper_1hlil_13){position:relative}:has(>._wrapper_1hlil_13):hover ._wrapper_1hlil_13._visibleOnHover_1hlil_16{opacity:1}._inputRoot_1s937_13{display:flex;align-items:center;gap:var(--xmlui-space-2);width:100%;border-style:solid;border-width:1px;transition:background-color ease-in .1s;overflow:hidden;border-radius:var(--xmlui-radius-TextBox-default);border-color:var(--xmlui-color-border-TextBox-default);border-width:var(--xmlui-thickness-border-TextBox-default);border-style:var(--xmlui-style-border-TextBox-default);font-size:var(--xmlui-font-size-TextBox-default);padding:var(--xmlui-padding-TextBox-default);background-color:var(--xmlui-color-bg-TextBox-default);box-shadow:var(--xmlui-shadow-TextBox-default);color:var(--xmlui-color-text-TextBox-default)}._inputRoot_1s937_13:hover{border-color:var(--xmlui-color-border-TextBox-default--hover);background-color:var(--xmlui-color-bg-TextBox-default--hover);box-shadow:var(--xmlui-shadow-TextBox-default--hover);color:var(--xmlui-color-text-TextBox-default--hover)}._inputRoot_1s937_13:focus-within{border-color:var(--xmlui-color-border-TextBox-default--focus);background-color:var(--xmlui-color-bg-TextBox-default--focus);box-shadow:var(--xmlui-shadow-TextBox-default--focus);color:var(--xmlui-color-text-TextBox-default--focus)}._inputRoot_1s937_13:has(._input_1s937_13:focus-visible){outline-width:var(--xmlui-thickness-outline-TextBox-default--focus);outline-color:var(--xmlui-color-outline-TextBox-default--focus);outline-style:var(--xmlui-style-outline-TextBox-default--focus);outline-offset:var(--xmlui-offset-outline-TextBox-default--focus)}._inputRoot_1s937_13 ._input_1s937_13::placeholder{color:var(--xmlui-color-placeholder-TextBox-default)}._inputRoot_1s937_13 ._adornment_1s937_53{color:var(--xmlui-color-adornment-TextBox-default)}._inputRoot_1s937_13._error_1s937_56{border-radius:var(--xmlui-radius-TextBox-error);border-color:var(--xmlui-color-border-TextBox-error);border-width:var(--xmlui-thickness-border-TextBox-error);border-style:var(--xmlui-style-border-TextBox-error);font-size:var(--xmlui-font-size-TextBox-error);padding:var(--xmlui-padding-TextBox-error);background-color:var(--xmlui-color-bg-TextBox-error);box-shadow:var(--xmlui-shadow-TextBox-error);color:var(--xmlui-color-text-TextBox-error)}._inputRoot_1s937_13._error_1s937_56:hover{border-color:var(--xmlui-color-border-TextBox-error--hover);background-color:var(--xmlui-color-bg-TextBox-error--hover);box-shadow:var(--xmlui-shadow-TextBox-error--hover);color:var(--xmlui-color-text-TextBox-error--hover)}._inputRoot_1s937_13._error_1s937_56:focus-within{border-color:var(--xmlui-color-border-TextBox-error--focus);background-color:var(--xmlui-color-bg-TextBox-error--focus);box-shadow:var(--xmlui-shadow-TextBox-error--focus);color:var(--xmlui-color-text-TextBox-error--focus)}._inputRoot_1s937_13._error_1s937_56:has(._input_1s937_13:focus-visible){outline-width:var(--xmlui-thickness-outline-TextBox-error--focus);outline-color:var(--xmlui-color-outline-TextBox-error--focus);outline-style:var(--xmlui-style-outline-TextBox-error--focus);outline-offset:var(--xmlui-offset-outline-TextBox-error--focus)}._inputRoot_1s937_13._error_1s937_56 ._input_1s937_13::placeholder{color:var(--xmlui-color-placeholder-TextBox-error)}._inputRoot_1s937_13._error_1s937_56 ._adornment_1s937_53{color:var(--xmlui-color-adornment-TextBox-error)}._inputRoot_1s937_13._warning_1s937_91{border-radius:var(--xmlui-radius-TextBox-warning);border-color:var(--xmlui-color-border-TextBox-warning);border-width:var(--xmlui-thickness-border-TextBox-warning);border-style:var(--xmlui-style-border-TextBox-warning);font-size:var(--xmlui-font-size-TextBox-warning);padding:var(--xmlui-padding-TextBox-warning);background-color:var(--xmlui-color-bg-TextBox-warning);box-shadow:var(--xmlui-shadow-TextBox-warning);color:var(--xmlui-color-text-TextBox-warning)}._inputRoot_1s937_13._warning_1s937_91:hover{border-color:var(--xmlui-color-border-TextBox-warning--hover);background-color:var(--xmlui-color-bg-TextBox-warning--hover);box-shadow:var(--xmlui-shadow-TextBox-warning--hover);color:var(--xmlui-color-text-TextBox-warning--hover)}._inputRoot_1s937_13._warning_1s937_91:focus-within{border-color:var(--xmlui-color-border-TextBox-warning--focus);background-color:var(--xmlui-color-bg-TextBox-warning--focus);box-shadow:var(--xmlui-shadow-TextBox-warning--focus);color:var(--xmlui-color-text-TextBox-warning--focus)}._inputRoot_1s937_13._warning_1s937_91:has(._input_1s937_13:focus-visible){outline-width:var(--xmlui-thickness-outline-TextBox-warning--focus);outline-color:var(--xmlui-color-outline-TextBox-warning--focus);outline-style:var(--xmlui-style-outline-TextBox-warning--focus);outline-offset:var(--xmlui-offset-outline-TextBox-warning--focus)}._inputRoot_1s937_13._warning_1s937_91 ._input_1s937_13::placeholder{color:var(--xmlui-color-placeholder-TextBox-warning)}._inputRoot_1s937_13._warning_1s937_91 ._adornment_1s937_53{color:var(--xmlui-color-adornment-TextBox-warning)}._inputRoot_1s937_13._valid_1s937_126{border-radius:var(--xmlui-radius-TextBox-success);border-color:var(--xmlui-color-border-TextBox-success);border-width:var(--xmlui-thickness-border-TextBox-success);border-style:var(--xmlui-style-border-TextBox-success);font-size:var(--xmlui-font-size-TextBox-success);padding:var(--xmlui-padding-TextBox-success);background-color:var(--xmlui-color-bg-TextBox-success);box-shadow:var(--xmlui-shadow-TextBox-success);color:var(--xmlui-color-text-TextBox-success)}._inputRoot_1s937_13._valid_1s937_126:hover{border-color:var(--xmlui-color-border-TextBox-success--hover);background-color:var(--xmlui-color-bg-TextBox-success--hover);box-shadow:var(--xmlui-shadow-TextBox-success--hover);color:var(--xmlui-color-text-TextBox-success--hover)}._inputRoot_1s937_13._valid_1s937_126:focus-within{border-color:var(--xmlui-color-border-TextBox-success--focus);background-color:var(--xmlui-color-bg-TextBox-success--focus);box-shadow:var(--xmlui-shadow-TextBox-success--focus);color:var(--xmlui-color-text-TextBox-success--focus)}._inputRoot_1s937_13._valid_1s937_126:has(._input_1s937_13:focus-visible){outline-width:var(--xmlui-thickness-outline-TextBox-success--focus);outline-color:var(--xmlui-color-outline-TextBox-success--focus);outline-style:var(--xmlui-style-outline-TextBox-success--focus);outline-offset:var(--xmlui-offset-outline-TextBox-success--focus)}._inputRoot_1s937_13._valid_1s937_126 ._input_1s937_13::placeholder{color:var(--xmlui-color-placeholder-TextBox-success)}._inputRoot_1s937_13._valid_1s937_126 ._adornment_1s937_53{color:var(--xmlui-color-adornment-TextBox-success)}._inputRoot_1s937_13:has(._input_1s937_13:is(:disabled)){cursor:not-allowed;background-color:var(--xmlui-color-bg-TextBox--disabled);color:var(--xmlui-color-text-TextBox--disabled);border-color:var(--xmlui-color-border-TextBox--disabled)}._inputRoot_1s937_13 ._input_1s937_13{font-size:inherit;color:inherit;border:0;outline:none!important;background-color:transparent;width:100%;padding:0;cursor:inherit}._readOnly_1s937_178{cursor:default}._wrapper_18f9r_13{display:flex;gap:var(--xmlui-space-2);align-items:center;justify-content:center;flex-shrink:0;color:var(--xmlui-color-text-subtitle)}._container_mle43_13{gap:var(--xmlui-space-2);width:100%;display:flex;align-items:center;justify-content:flex-start}._textBoxWrapper_mle43_21{width:100%;border-radius:var(--xmlui-radius);min-height:fit-content}._button_mle43_27{flex-shrink:0}._inputRoot_zavgy_13{display:flex;align-items:center;gap:var(--xmlui-space-2);padding:var(--xmlui-space-2);width:100%;border-style:solid;border-width:1px;transition:background-color ease-in .1s;overflow:hidden;border-radius:var(--xmlui-radius-NumberBox-default);border-color:var(--xmlui-color-border-NumberBox-default);border-width:var(--xmlui-thickness-border-NumberBox-default);border-style:var(--xmlui-style-border-NumberBox-default);font-size:var(--xmlui-font-size-NumberBox-default);background-color:var(--xmlui-color-bg-NumberBox-default);box-shadow:var(--xmlui-shadow-NumberBox-default);color:var(--xmlui-color-text-NumberBox-default)}._inputRoot_zavgy_13:hover{border-color:var(--xmlui-color-border-NumberBox-default--hover);background-color:var(--xmlui-color-bg-NumberBox-default--hover);box-shadow:var(--xmlui-shadow-NumberBox-default--hover);color:var(--xmlui-color-text-NumberBox-default--hover)}._inputRoot_zavgy_13:focus-within{border-color:var(--xmlui-color-border-NumberBox-default--focus);background-color:var(--xmlui-color-bg-NumberBox-default--focus);box-shadow:var(--xmlui-shadow-NumberBox-default--focus);color:var(--xmlui-color-text-NumberBox-default--focus)}._inputRoot_zavgy_13:has(._input_zavgy_13:focus-visible){outline-width:var(--xmlui-thickness-outline-NumberBox-default--focus);outline-color:var(--xmlui-color-outline-NumberBox-default--focus);outline-style:var(--xmlui-style-outline-NumberBox-default--focus);outline-offset:var(--xmlui-offset-outline-NumberBox-default--focus)}._inputRoot_zavgy_13 ._input_zavgy_13::placeholder{color:var(--xmlui-color-placeholder-NumberBox-default)}._inputRoot_zavgy_13 ._adornment_zavgy_53{color:var(--xmlui-color-adornment-NumberBox-default)}._inputRoot_zavgy_13._error_zavgy_56{border-radius:var(--xmlui-radius-NumberBox-error);border-color:var(--xmlui-color-border-NumberBox-error);border-width:var(--xmlui-thickness-border-NumberBox-error);border-style:var(--xmlui-style-border-NumberBox-error);font-size:var(--xmlui-font-size-NumberBox-error);background-color:var(--xmlui-color-bg-NumberBox-error);box-shadow:var(--xmlui-shadow-NumberBox-error);color:var(--xmlui-color-text-NumberBox-error)}._inputRoot_zavgy_13._error_zavgy_56:hover{border-color:var(--xmlui-color-border-NumberBox-error--hover);background-color:var(--xmlui-color-bg-NumberBox-error--hover);box-shadow:var(--xmlui-shadow-NumberBox-error--hover);color:var(--xmlui-color-text-NumberBox-error--hover)}._inputRoot_zavgy_13._error_zavgy_56:focus-within{border-color:var(--xmlui-color-border-NumberBox-error--focus);background-color:var(--xmlui-color-bg-NumberBox-error--focus);box-shadow:var(--xmlui-shadow-NumberBox-error--focus);color:var(--xmlui-color-text-NumberBox-error--focus)}._inputRoot_zavgy_13._error_zavgy_56:has(._input_zavgy_13:focus-visible){outline-width:var(--xmlui-thickness-outline-NumberBox-error--focus);outline-color:var(--xmlui-color-outline-NumberBox-error--focus);outline-style:var(--xmlui-style-outline-NumberBox-error--focus);outline-offset:var(--xmlui-offset-outline-NumberBox-error--focus)}._inputRoot_zavgy_13._error_zavgy_56 ._input_zavgy_13::placeholder{color:var(--xmlui-color-placeholder-NumberBox-error)}._inputRoot_zavgy_13._error_zavgy_56 ._adornment_zavgy_53{color:var(--xmlui-color-adornment-NumberBox-error)}._inputRoot_zavgy_13._warning_zavgy_90{border-radius:var(--xmlui-radius-NumberBox-warning);border-color:var(--xmlui-color-border-NumberBox-warning);border-width:var(--xmlui-thickness-border-NumberBox-warning);border-style:var(--xmlui-style-border-NumberBox-warning);font-size:var(--xmlui-font-size-NumberBox-warning);background-color:var(--xmlui-color-bg-NumberBox-warning);box-shadow:var(--xmlui-shadow-NumberBox-warning);color:var(--xmlui-color-text-NumberBox-warning)}._inputRoot_zavgy_13._warning_zavgy_90:hover{border-color:var(--xmlui-color-border-NumberBox-warning--hover);background-color:var(--xmlui-color-bg-NumberBox-warning--hover);box-shadow:var(--xmlui-shadow-NumberBox-warning--hover);color:var(--xmlui-color-text-NumberBox-warning--hover)}._inputRoot_zavgy_13._warning_zavgy_90:focus-within{border-color:var(--xmlui-color-border-NumberBox-warning--focus);background-color:var(--xmlui-color-bg-NumberBox-warning--focus);box-shadow:var(--xmlui-shadow-NumberBox-warning--focus);color:var(--xmlui-color-text-NumberBox-warning--focus)}._inputRoot_zavgy_13._warning_zavgy_90:has(._input_zavgy_13:focus-visible){outline-width:var(--xmlui-thickness-outline-NumberBox-warning--focus);outline-color:var(--xmlui-color-outline-NumberBox-warning--focus);outline-style:var(--xmlui-style-outline-NumberBox-warning--focus);outline-offset:var(--xmlui-offset-outline-NumberBox-warning--focus)}._inputRoot_zavgy_13._warning_zavgy_90 ._input_zavgy_13::placeholder{color:var(--xmlui-color-placeholder-NumberBox-warning)}._inputRoot_zavgy_13._warning_zavgy_90 ._adornment_zavgy_53{color:var(--xmlui-color-adornment-NumberBox-warning)}._inputRoot_zavgy_13._valid_zavgy_124{border-radius:var(--xmlui-radius-NumberBox-success);border-color:var(--xmlui-color-border-NumberBox-success);border-width:var(--xmlui-thickness-border-NumberBox-success);border-style:var(--xmlui-style-border-NumberBox-success);font-size:var(--xmlui-font-size-NumberBox-success);background-color:var(--xmlui-color-bg-NumberBox-success);box-shadow:var(--xmlui-shadow-NumberBox-success);color:var(--xmlui-color-text-NumberBox-success)}._inputRoot_zavgy_13._valid_zavgy_124:hover{border-color:var(--xmlui-color-border-NumberBox-success--hover);background-color:var(--xmlui-color-bg-NumberBox-success--hover);box-shadow:var(--xmlui-shadow-NumberBox-success--hover);color:var(--xmlui-color-text-NumberBox-success--hover)}._inputRoot_zavgy_13._valid_zavgy_124:focus-within{border-color:var(--xmlui-color-border-NumberBox-success--focus);background-color:var(--xmlui-color-bg-NumberBox-success--focus);box-shadow:var(--xmlui-shadow-NumberBox-success--focus);color:var(--xmlui-color-text-NumberBox-success--focus)}._inputRoot_zavgy_13._valid_zavgy_124:has(._input_zavgy_13:focus-visible){outline-width:var(--xmlui-thickness-outline-NumberBox-success--focus);outline-color:var(--xmlui-color-outline-NumberBox-success--focus);outline-style:var(--xmlui-style-outline-NumberBox-success--focus);outline-offset:var(--xmlui-offset-outline-NumberBox-success--focus)}._inputRoot_zavgy_13._valid_zavgy_124 ._input_zavgy_13::placeholder{color:var(--xmlui-color-placeholder-NumberBox-success)}._inputRoot_zavgy_13._valid_zavgy_124 ._adornment_zavgy_53{color:var(--xmlui-color-adornment-NumberBox-success)}._inputRoot_zavgy_13:has(._input_zavgy_13:is(:disabled)){cursor:not-allowed;background-color:var(--xmlui-color-bg-NumberBox--disabled);color:var(--xmlui-color-text-NumberBox--disabled);border-color:var(--xmlui-color-border-NumberBox--disabled)}._inputRoot_zavgy_13 ._input_zavgy_13{font-size:inherit;color:inherit;border:0;outline:none;background-color:transparent;padding:0;width:100%;cursor:inherit;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}._inputRoot_zavgy_13 ._input_zavgy_13::-webkit-outer-spin-button,._inputRoot_zavgy_13 ._input_zavgy_13::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._inputRoot_zavgy_13 ._spinnerBox_zavgy_184{display:flex;flex-direction:column;height:0;align-items:center;justify-content:center}._inputRoot_zavgy_13 ._spinnerButton_zavgy_191{padding:0!important;width:var(--xmlui-space-6);border:none}._readOnly_zavgy_197{cursor:text}._selectValue_z2kxg_13>span{font-size:var(--xmlui-font-size-Select-default);color:var(--xmlui-color-placeholder-Select-default)}._selectValue_z2kxg_13>span>div{color:var(--xmlui-color-text-Select-default);font-size:var(--xmlui-font-size-Select-default)}._selectValue_z2kxg_13._error_z2kxg_21>span{font-size:var(--xmlui-font-size-Select-error);color:var(--xmlui-color-placeholder-Select-error)}._selectValue_z2kxg_13._error_z2kxg_21>span>div{color:var(--xmlui-color-text-Select-error);font-size:var(--xmlui-font-size-Select-error)}._selectValue_z2kxg_13._warning_z2kxg_29>span{font-size:var(--xmlui-font-size-Select-warning);color:var(--xmlui-color-placeholder-Select-warning)}._selectValue_z2kxg_13._warning_z2kxg_29>span>div{color:var(--xmlui-color-text-Select-warning);font-size:var(--xmlui-font-size-Select-warning)}._selectValue_z2kxg_13._valid_z2kxg_37>span{font-size:var(--xmlui-font-size-Select-success);color:var(--xmlui-color-placeholder-Select-success)}._selectValue_z2kxg_13._valid_z2kxg_37>span>div{color:var(--xmlui-color-text-Select-success);font-size:var(--xmlui-font-size-Select-success)}._selectTrigger_z2kxg_46{min-height:2.6rem;display:flex;padding:var(--xmlui-space-1) var(--xmlui-space-2);width:100%;align-items:center;justify-content:space-between;outline:none;overflow:hidden;border-radius:var(--xmlui-radius-Select-default);border-color:var(--xmlui-color-border-Select-default);border-width:var(--xmlui-thickness-border-Select-default);border-style:var(--xmlui-style-border-Select-default);font-size:var(--xmlui-font-size-Select-default);background-color:var(--xmlui-color-bg-Select-default);box-shadow:var(--xmlui-shadow-Select-default);color:var(--xmlui-color-text-Select-default)}._selectTrigger_z2kxg_46:hover{border-color:var(--xmlui-color-border-Select-default--hover);background-color:var(--xmlui-color-bg-Select-default--hover);box-shadow:var(--xmlui-shadow-Select-default--hover);color:var(--xmlui-color-text-Select-default--hover)}._selectTrigger_z2kxg_46:focus{outline-width:var(--xmlui-thickness-outline-Select-default--focus);outline-color:var(--xmlui-color-outline-Select-default--focus);outline-style:var(--xmlui-style-outline-Select-default--focus);outline-offset:var(--xmlui-offset-outline-Select-default--focus)}._selectTrigger_z2kxg_46::placeholder{color:var(--xmlui-color-placeholder-Select-default)}._selectTrigger_z2kxg_46._error_z2kxg_21{border-radius:var(--xmlui-radius-Select-error);border-color:var(--xmlui-color-border-Select-error);border-width:var(--xmlui-thickness-border-Select-error);border-style:var(--xmlui-style-border-Select-error);font-size:var(--xmlui-font-size-Select-error);background-color:var(--xmlui-color-bg-Select-error);box-shadow:var(--xmlui-shadow-Select-error);color:var(--xmlui-color-text-Select-error)}._selectTrigger_z2kxg_46._error_z2kxg_21:hover{border-color:var(--xmlui-color-border-Select-error--hover);background-color:var(--xmlui-color-bg-Select-error--hover);box-shadow:var(--xmlui-shadow-Select-error--hover);color:var(--xmlui-color-text-Select-error--hover)}._selectTrigger_z2kxg_46._error_z2kxg_21:focus{outline-width:var(--xmlui-thickness-outline-Select-error--focus);outline-color:var(--xmlui-color-outline-Select-error--focus);outline-style:var(--xmlui-style-outline-Select-error--focus);outline-offset:var(--xmlui-offset-outline-Select-error--focus)}._selectTrigger_z2kxg_46._error_z2kxg_21::placeholder{color:var(--xmlui-color-placeholder-Select-error)}._selectTrigger_z2kxg_46._warning_z2kxg_29{border-radius:var(--xmlui-radius-Select-warning);border-color:var(--xmlui-color-border-Select-warning);border-width:var(--xmlui-thickness-border-Select-warning);border-style:var(--xmlui-style-border-Select-warning);font-size:var(--xmlui-font-size-Select-warning);background-color:var(--xmlui-color-bg-Select-warning);box-shadow:var(--xmlui-shadow-Select-warning);color:var(--xmlui-color-text-Select-warning)}._selectTrigger_z2kxg_46._warning_z2kxg_29:hover{border-color:var(--xmlui-color-border-Select-warning--hover);background-color:var(--xmlui-color-bg-Select-warning--hover);box-shadow:var(--xmlui-shadow-Select-warning--hover);color:var(--xmlui-color-text-Select-warning--hover)}._selectTrigger_z2kxg_46._warning_z2kxg_29:focus{outline-width:var(--xmlui-thickness-outline-Select-warning--focus);outline-color:var(--xmlui-color-outline-Select-warning--focus);outline-style:var(--xmlui-style-outline-Select-warning--focus);outline-offset:var(--xmlui-offset-outline-Select-warning--focus)}._selectTrigger_z2kxg_46._warning_z2kxg_29::placeholder{color:var(--xmlui-color-placeholder-Select-warning)}._selectTrigger_z2kxg_46._valid_z2kxg_37{border-radius:var(--xmlui-radius-Select-success);border-color:var(--xmlui-color-border-Select-success);border-width:var(--xmlui-thickness-border-Select-success);border-style:var(--xmlui-style-border-Select-success);font-size:var(--xmlui-font-size-Select-success);background-color:var(--xmlui-color-bg-Select-success);box-shadow:var(--xmlui-shadow-Select-success);color:var(--xmlui-color-text-Select-success)}._selectTrigger_z2kxg_46._valid_z2kxg_37:hover{border-color:var(--xmlui-color-border-Select-success--hover);background-color:var(--xmlui-color-bg-Select-success--hover);box-shadow:var(--xmlui-shadow-Select-success--hover);color:var(--xmlui-color-text-Select-success--hover)}._selectTrigger_z2kxg_46._valid_z2kxg_37:focus{outline-width:var(--xmlui-thickness-outline-Select-success--focus);outline-color:var(--xmlui-color-outline-Select-success--focus);outline-style:var(--xmlui-style-outline-Select-success--focus);outline-offset:var(--xmlui-offset-outline-Select-success--focus)}._selectTrigger_z2kxg_46._valid_z2kxg_37::placeholder{color:var(--xmlui-color-placeholder-Select-success)}._selectTrigger_z2kxg_46:disabled{cursor:not-allowed;opacity:var(--xmlui-opacity-Select--disabled);background-color:var(--xmlui-color-bg-Select--disabled);color:var(--xmlui-color-text-Select--disabled);border-color:var(--xmlui-color-border-Select--disabled)}._selectTrigger_z2kxg_46>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}._badgeListContainer_z2kxg_170{display:flex;justify-content:space-between;align-items:center;width:100%}._badgeList_z2kxg_170{gap:4px;display:flex;flex-wrap:wrap;align-items:center}._badge_z2kxg_170{width:fit-content;height:fit-content;min-width:0;padding:var(--xmlui-padding-vertical-Select-badge) var(--xmlui-padding-horizontal-Select-badge);transition:color .2s,background-color .2s;-webkit-user-select:none;user-select:none;cursor:pointer;display:flex;gap:var(--xmlui-space-1);justify-content:center;align-items:center;border-radius:var(--xmlui-radius);font-size:var(--xmlui-font-size-Select-badge);background-color:var(--xmlui-color-bg-Select-badge);color:var(--xmlui-color-text-Select-badge)}._badge_z2kxg_170:hover{background-color:var(--xmlui-color-bg-Select-badge--hover);color:var(--xmlui-color-text-Select-badge--hover)}._badge_z2kxg_170:active{background-color:var(--xmlui-color-bg-Select-badge--active);color:var(--xmlui-color-text-Select-badge--active)}._actions_z2kxg_210{display:flex;align-items:center;justify-content:space-between}._placeholder_z2kxg_216{display:block;color:var(--xmlui-color-placeholder-Select)}._emptyList_z2kxg_221{display:flex;gap:.2rem;padding:10px 0;justify-content:center;align-items:center;font-size:14px;width:100%}._selectScrollUpButton_z2kxg_231,._selectScrollDownButton_z2kxg_240{display:flex;cursor:default;align-items:center;justify-content:center;padding-top:.25rem;padding-bottom:.25rem}._command_z2kxg_249{display:flex;flex-direction:column;height:100%;width:100%;overflow:auto;border-radius:6px;background-color:var(--xmlui-color-bg-menu-Select)}._commandInputContainer_z2kxg_259{display:flex;align-items:center;padding:0 12px;border-bottom:1px solid var(--xmlui-color-border)}._commandInput_z2kxg_259{flex:1;background-color:transparent;padding:.5rem;font-size:14px;outline:none;border:none}._commandInput_z2kxg_259:focus{outline:none;box-shadow:none;border:0}._commandInput_z2kxg_259:disabled{cursor:not-allowed;opacity:var(--xmlui-opacity-Select--disabled)}._commandList_z2kxg_284{overflow-y:auto;overflow-x:hidden}._selectContent_z2kxg_289{position:relative;z-index:50;overflow:auto;background-color:var(--xmlui-color-bg-menu-Select);border-radius:var(--xmlui-radius-menu-Select);box-shadow:var(--xmlui-shadow-menu-Select);border:var(--xmlui-thickness-border-menu-Select) solid var(--xmlui-color-border-menu-Select)}._selectContent_z2kxg_289[data-state=open]{animation:_fadeIn_z2kxg_1 .3s ease-in-out,_zoomIn_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-state=closed]{animation:_fadeOut_z2kxg_1 .3s ease-in-out,_zoomOut_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-side=bottom]{animation:_slideInFromTop_z2kxg_1 .08s ease-in-out}._selectContent_z2kxg_289[data-side=left]{animation:_slideInFromRight_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-side=right]{animation:_slideInFromLeft_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-side=top]{animation:_slideInFromBottom_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-side=bottom]{transform:translateY(.25rem)}._selectContent_z2kxg_289[data-side=left]{transform:translate(-.25rem)}._selectContent_z2kxg_289[data-side=right]{transform:translate(.25rem)}._selectContent_z2kxg_289[data-side=top]{transform:translateY(-.25rem)}._multiComboboxOption_z2kxg_329{padding:.5rem 1rem;display:flex;gap:1rem;align-items:center;justify-content:space-between;cursor:pointer;transition:background-color .2s ease;background-color:var(--xmlui-color-bg-item-Select)}._multiComboboxOption_z2kxg_329[data-selected=true]{background-color:var(--xmlui-color-bg-item-Select--hover)}._multiComboboxOption_z2kxg_329[data-disabled=true]{pointer-events:none;opacity:var(--xmlui-opacity-text-item-Select--disabled);cursor:not-allowed;font-style:italic}._selectItem_z2kxg_349{position:relative;display:flex;width:100%;cursor:default;-webkit-user-select:none;user-select:none;align-items:center;border-radius:4px;padding-top:.5em;padding-bottom:.5em;padding-inline:1em;outline:none;font-size:var(--xmlui-font-size-Select)}._selectItem_z2kxg_349[data-highlighted]{background-color:var(--xmlui-color-bg-item-Select--hover)}._selectItem_z2kxg_349[data-state=checked]{background-color:var(--xmlui-color-bg-item-Select--active)}._selectItem_z2kxg_349[data-disabled]{pointer-events:none;opacity:var(--xmlui-opacity-text-item-Select--disabled);cursor:not-allowed;font-style:italic}._selectItemIndicator_z2kxg_377{position:absolute;right:.5rem;display:flex;height:.875rem;width:.875rem;align-items:center;justify-content:center;color:var(--xmlui-color-text-indicator-Select)}._selectViewport_z2kxg_388{height:var(--radix-select-trigger-height);width:100%;min-width:var(--radix-select-trigger-width)}._selectEmpty_z2kxg_394{display:flex;gap:.2rem;height:100%;padding:10px 0;justify-content:center;align-items:center;font-size:14px;width:100%}._srOnly_z2kxg_405{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes _fadeIn_z2kxg_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_z2kxg_1{0%{opacity:1}to{opacity:0}}@keyframes _zoomIn_z2kxg_1{0%{transform:scale(.95)}to{transform:scale(1)}}@keyframes _zoomOut_z2kxg_1{0%{transform:scale(1)}to{transform:scale(.95)}}@keyframes _slideInFromTop_z2kxg_1{0%{transform:translateY(-.75rem)}to{transform:translateY(0)}}@keyframes _slideInFromBottom_z2kxg_1{0%{transform:translateY(.75rem)}to{transform:translateY(0)}}@keyframes _slideInFromLeft_z2kxg_1{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes _slideInFromRight_z2kxg_1{0%{transform:translate(100%)}to{transform:translate(0)}}._radioGroupContainer_1wu5b_13{width:100%;display:flex;flex-direction:column;gap:var(--xmlui-space-2)}._radioOptionContainer_1wu5b_20{display:flex;align-items:center;gap:var(--xmlui-gap-RadioGroupOption)}._radioOption_1wu5b_20{flex-shrink:0;width:18px;height:18px;border-radius:100%;background-color:var(--xmlui-color-bg-RadioGroupOption-default);border-width:var(--xmlui-thickness-border-RadioGroupOption);border-style:solid;border-color:var(--xmlui-color-border-RadioGroupOption-default);padding:0;cursor:pointer}._radioOption_1wu5b_20:hover{border-color:var(--xmlui-color-border-RadioGroupOption-default--hover)}._radioOption_1wu5b_20:focus-visible{outline-width:var(--xmlui-thickness-outline-RadioGroupOption--focus);outline-color:var(--xmlui-color-outline-RadioGroupOption--focus);outline-style:var(--xmlui-style-outline-RadioGroupOption--focus);outline-offset:var(--xmlui-offset-outline-RadioGroupOption--focus)}._radioOption_1wu5b_20:disabled{cursor:not-allowed;border-color:var(--xmlui-color-border-RadioGroupOption--disabled)}._radioOption_1wu5b_20:disabled+label{cursor:not-allowed;color:var(--xmlui-color-text-RadioGroupOption--disabled)}._radioOption_1wu5b_20._error_1wu5b_55{border-color:var(--xmlui-color-border-RadioGroupOption-error)}._radioOption_1wu5b_20._warning_1wu5b_58{border-color:var(--xmlui-color-border-RadioGroupOption-warning)}._radioOption_1wu5b_20._valid_1wu5b_61{border-color:var(--xmlui-color-border-RadioGroupOption-success)}._indicator_1wu5b_65{display:grid;place-content:center;width:100%;height:100%}._indicator_1wu5b_65:after{content:"";width:10px;height:10px;border-radius:50%;box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption-default)}._indicator_1wu5b_65._disabled_1wu5b_78:after{box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption--disabled)}._indicator_1wu5b_65._error_1wu5b_55:after{box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption-error)}._indicator_1wu5b_65._warning_1wu5b_58:after{box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption-warning)}._indicator_1wu5b_65._valid_1wu5b_61:after{box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption-success)}._label_1wu5b_91{color:var(--xmlui-color-text-RadioGroupOption-default);font-size:var(--xmlui-font-size-RadioGroupOption);font-weight:var(--xmlui-font-weight-RadioGroupOption);-webkit-user-select:none;user-select:none;cursor:pointer}._label_1wu5b_91._error_1wu5b_55{color:var(--xmlui-color-text-RadioGroupOption-error)}._label_1wu5b_91._warning_1wu5b_58{color:var(--xmlui-color-text-RadioGroupOption-warning)}._label_1wu5b_91._valid_1wu5b_61{color:var(--xmlui-color-text-RadioGroupOption-success)}._helper_1ktpj_13{padding-top:var(--xmlui-space-1);padding-bottom:var(--xmlui-space-1);display:flex;align-items:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}._helperText_1ktpj_24{font-size:var(--xmlui-font-size-small);color:var(--xmlui-color-text-primary)}._valid_1ktpj_29 ._helperText_1ktpj_24{margin-left:.25em;color:var(--xmlui-color-valid)}._error_1ktpj_34 ._helperText_1ktpj_24{margin-left:.25em;color:var(--xmlui-color-error)}._warning_1ktpj_39 ._helperText_1ktpj_24{margin-left:.25em;color:var(--xmlui-color-warning)}._datePicker_t0hf0_13{padding:.5rem .5rem .5rem 1rem;display:flex;align-items:center;cursor:pointer;flex-direction:row;width:100%;min-height:var(--xmlui-min-height-DatePicker);border-width:1px;border-style:solid;transition:background-color ease-in .1s;overflow:hidden;font-size:var(--xmlui-font-size-DatePicker);border-radius:var(--xmlui-radius-DatePicker-default);border-color:var(--xmlui-color-border-DatePicker-default);border-width:var(--xmlui-thickness-border-DatePicker-default);border-style:var(--xmlui-style-border-DatePicker-default);background-color:var(--xmlui-color-bg-DatePicker-default);box-shadow:var(--xmlui-shadow-DatePicker-default);color:var(--xmlui-color-text-DatePicker-default)}._datePicker_t0hf0_13:hover{border-color:var(--xmlui-color-border-DatePicker-default--hover);background-color:var(--xmlui-color-bg-DatePicker-default--hover);box-shadow:var(--xmlui-shadow-DatePicker-default--hover);color:var(--xmlui-color-text-DatePicker-default--hover)}._datePicker_t0hf0_13:focus{outline-width:var(--xmlui-thickness-outline-DatePicker-default--focus);outline-color:var(--xmlui-color-outline-DatePicker-default--focus);outline-style:var(--xmlui-style-outline-DatePicker-default--focus);outline-offset:var(--xmlui-offset-outline-DatePicker-default--focus)}._datePicker_t0hf0_13 ._placeholder_t0hf0_46{color:var(--xmlui-color-placeholder-DatePicker-default)}._datePicker_t0hf0_13._error_t0hf0_49{border-radius:var(--xmlui-radius-DatePicker-error);border-color:var(--xmlui-color-border-DatePicker-error);border-width:var(--xmlui-thickness-border-DatePicker-error);border-style:var(--xmlui-style-border-DatePicker-error);background-color:var(--xmlui-color-bg-DatePicker-error);box-shadow:var(--xmlui-shadow-DatePicker-error);color:var(--xmlui-color-text-DatePicker-error)}._datePicker_t0hf0_13._error_t0hf0_49:hover{border-color:var(--xmlui-color-border-DatePicker-error--hover);background-color:var(--xmlui-color-bg-DatePicker-error--hover);box-shadow:var(--xmlui-shadow-DatePicker-error--hover);color:var(--xmlui-color-text-DatePicker-error--hover)}._datePicker_t0hf0_13._error_t0hf0_49:focus{outline-width:var(--xmlui-thickness-outline-DatePicker-error--focus);outline-color:var(--xmlui-color-outline-DatePicker-error--focus);outline-style:var(--xmlui-style-outline-DatePicker-error--focus);outline-offset:var(--xmlui-offset-outline-DatePicker-error--focus)}._datePicker_t0hf0_13._error_t0hf0_49 ._placeholder_t0hf0_46{color:var(--xmlui-color-placeholder-DatePicker-error)}._datePicker_t0hf0_13._warning_t0hf0_73{border-radius:var(--xmlui-radius-DatePicker-warning);border-color:var(--xmlui-color-border-DatePicker-warning);border-width:var(--xmlui-thickness-border-DatePicker-warning);border-style:var(--xmlui-style-border-DatePicker-warning);background-color:var(--xmlui-color-bg-DatePicker-warning);box-shadow:var(--xmlui-shadow-DatePicker-warning);color:var(--xmlui-color-text-DatePicker-warning)}._datePicker_t0hf0_13._warning_t0hf0_73:hover{border-color:var(--xmlui-color-border-DatePicker-warning--hover);background-color:var(--xmlui-color-bg-DatePicker-warning--hover);box-shadow:var(--xmlui-shadow-DatePicker-warning--hover);color:var(--xmlui-color-text-DatePicker-warning--hover)}._datePicker_t0hf0_13._warning_t0hf0_73:focus{outline-width:var(--xmlui-thickness-outline-DatePicker-warning--focus);outline-color:var(--xmlui-color-outline-DatePicker-warning--focus);outline-style:var(--xmlui-style-outline-DatePicker-warning--focus);outline-offset:var(--xmlui-offset-outline-DatePicker-warning--focus)}._datePicker_t0hf0_13._warning_t0hf0_73 ._placeholder_t0hf0_46{color:var(--xmlui-color-placeholder-DatePicker-warning)}._datePicker_t0hf0_13._valid_t0hf0_97{border-radius:var(--xmlui-radius-DatePicker-success);border-color:var(--xmlui-color-border-DatePicker-success);border-width:var(--xmlui-thickness-border-DatePicker-success);border-style:var(--xmlui-style-border-DatePicker-success);background-color:var(--xmlui-color-bg-DatePicker-success);box-shadow:var(--xmlui-shadow-DatePicker-success);color:var(--xmlui-color-text-DatePicker-success)}._datePicker_t0hf0_13._valid_t0hf0_97:hover{border-color:var(--xmlui-color-border-DatePicker-success--hover);background-color:var(--xmlui-color-bg-DatePicker-success--hover);box-shadow:var(--xmlui-shadow-DatePicker-success--hover);color:var(--xmlui-color-text-DatePicker-success--hover)}._datePicker_t0hf0_13._valid_t0hf0_97:focus{outline-width:var(--xmlui-thickness-outline-DatePicker-success--focus);outline-color:var(--xmlui-color-outline-DatePicker-success--focus);outline-style:var(--xmlui-style-outline-DatePicker-success--focus);outline-offset:var(--xmlui-offset-outline-DatePicker-success--focus)}._datePicker_t0hf0_13._valid_t0hf0_97 ._placeholder_t0hf0_46{color:var(--xmlui-color-placeholder-DatePicker-success)}._datePicker_t0hf0_13._disabled_t0hf0_121{cursor:not-allowed;background-color:var(--xmlui-color-bg-DatePicker--disabled);color:var(--xmlui-color-text-DatePicker--disabled);border-color:var(--xmlui-color-border-DatePicker--disabled)}._datePicker_t0hf0_13._disabled_t0hf0_121 ._indicator_t0hf0_127,._datePicker_t0hf0_13._disabled_t0hf0_121 ._datePickerInput_t0hf0_127{cursor:not-allowed}._datePickerMenu_t0hf0_131{padding:0;overflow-y:auto;height:fit-content;box-shadow:var(--xmlui-shadow-menu-DatePicker);background-color:var(--xmlui-color-bg-menu-DatePicker);border-radius:var(--xmlui-radius-menu-DatePicker)}._root_t0hf0_140{margin:2rem}._vhidden_t0hf0_145{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute!important;top:0;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;border:0!important}._button_reset_t0hf0_165{appearance:none;position:relative;margin:0;padding:0;cursor:default;color:inherit;background:none;font:inherit;-moz-appearance:none;-webkit-appearance:none}._button_reset_t0hf0_165:focus-visible{outline:none}._button_t0hf0_165{border:2px solid transparent}._button_t0hf0_165[disabled]:not(._day_selected_t0hf0_187){opacity:.25}._button_t0hf0_165:not([disabled]){cursor:pointer}._button_t0hf0_165:focus-visible:not([disabled]){color:inherit;background-color:var(--xmlui-color-bg-item-DatePicker--hover);border:2px solid var(--xmlui-color-bg-item-DatePicker--active)}._button_t0hf0_165:hover:not([disabled]):not(._day_selected_t0hf0_187){background-color:var(--xmlui-color-bg-item-DatePicker--hover)}._months_t0hf0_205{display:flex}._month_t0hf0_205{margin:0 1em}._month_t0hf0_205:first-child{margin-left:0}._month_t0hf0_205:last-child{margin-right:0}._table_t0hf0_221{margin:0;max-width:280px;border-collapse:collapse}._with_weeknumber_t0hf0_227 ._table_t0hf0_221{max-width:320px;border-collapse:collapse}._caption_t0hf0_232{display:flex;align-items:center;justify-content:space-between;padding:0;text-align:left}._multiple_months_t0hf0_240 ._caption_t0hf0_232{position:relative;display:block;text-align:center}._caption_dropdowns_t0hf0_246{position:relative;display:inline-flex}._caption_label_t0hf0_251{position:relative;z-index:1;display:inline-flex;align-items:center;margin:0;padding:0 .25em;white-space:nowrap;color:currentColor;border:0;border:2px solid transparent;font-family:inherit;font-size:18px;font-weight:700}._nav_t0hf0_267{white-space:nowrap}._multiple_months_t0hf0_240 ._caption_start_t0hf0_271 ._nav_t0hf0_267{position:absolute;top:50%;left:0;transform:translateY(-50%)}._multiple_months_t0hf0_240 ._caption_end_t0hf0_278 ._nav_t0hf0_267{position:absolute;top:50%;right:0;transform:translateY(-50%)}._nav_button_t0hf0_285{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:.25em;border-radius:100%}._dropdown_year_t0hf0_298,._dropdown_month_t0hf0_299{position:relative;display:inline-flex;align-items:center}._dropdown_t0hf0_298{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:2;top:0;bottom:0;left:0;width:100%;margin:0;padding:0;cursor:inherit;opacity:0;border:none;background-color:transparent;font-family:inherit;font-size:inherit;line-height:inherit}._dropdown_t0hf0_298[disabled]{opacity:unset;color:unset}._dropdown_t0hf0_298:focus-visible:not([disabled])+._caption_label_t0hf0_251{background-color:var(--xmlui-color-bg-item-DatePicker--hover);border:2px solid var(--xmlui-color-bg-item-DatePicker--active);border-radius:6px}._dropdown_icon_t0hf0_335{margin:0 0 0 5px}._head_t0hf0_339{border:0}._head_row_t0hf0_343,._row_t0hf0_344{height:100%}._head_cell_t0hf0_348{vertical-align:middle;font-size:.75em;font-weight:700;text-align:center;height:100%;height:40px;padding:0;text-transform:uppercase}._tbody_t0hf0_359{border:0}._tfoot_t0hf0_363{margin:.5em}._cell_t0hf0_367{width:40px;height:100%;height:40px;padding:0;text-align:center}._weeknumber_t0hf0_375{font-size:.75em}._weeknumber_t0hf0_375,._day_t0hf0_187{display:flex;overflow:hidden;align-items:center;justify-content:center;box-sizing:border-box;width:40px;max-width:40px;height:40px;margin:0;border:2px solid transparent;border-radius:100%}._day_today_t0hf0_394:not(._day_outside_t0hf0_394){font-weight:700}._day_selected_t0hf0_187,._day_selected_t0hf0_187:focus-visible,._day_selected_t0hf0_187:hover{color:var(--xmlui-color-text-value-DatePicker);opacity:1;background-color:var(--xmlui-color-bg-item-DatePicker--active)}._day_outside_t0hf0_394{opacity:.5}._day_selected_t0hf0_187:focus-visible{outline:2px solid var(--xmlui-color-bg-item-DatePicker--active);outline-offset:2px;z-index:1}._root_t0hf0_140:not([dir=rtl]) ._day_range_start_t0hf0_417:not(._day_range_end_t0hf0_417){border-top-right-radius:0;border-bottom-right-radius:0}._root_t0hf0_140:not([dir=rtl]) ._day_range_end_t0hf0_417:not(._day_range_start_t0hf0_417){border-top-left-radius:0;border-bottom-left-radius:0}._root_t0hf0_140[dir=rtl] ._day_range_start_t0hf0_417:not(._day_range_end_t0hf0_417){border-top-left-radius:0;border-bottom-left-radius:0}._root_t0hf0_140[dir=rtl] ._day_range_end_t0hf0_417:not(._day_range_start_t0hf0_417){border-top-right-radius:0;border-bottom-right-radius:0}._day_range_end_t0hf0_417._day_range_start_t0hf0_417{border-radius:100%}._day_range_middle_t0hf0_441{border-radius:0}._wrapper_wscb6_13{display:flex;flex-direction:column;gap:var(--xmlui-gap-Form)}._buttonRow_wscb6_19{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:var(--xmlui-gap-buttonRow-Form)}._summaryContainer_16h88_13{display:flex;flex-direction:column;gap:.5rem}._summaryContainer_16h88_13:empty{display:none}._validationContainer_16h88_22{position:relative;padding-top:0;padding-bottom:.5rem;padding-left:1rem}._validationContainer_16h88_22:before{position:absolute;top:0;left:0;display:block;content:"";height:100%;width:2px}._validationContainer_16h88_22 ul{list-style-position:inside;padding-left:0}._validationContainer_16h88_22 li{padding-left:2rem}._validationContainer_16h88_22 li::marker{font-size:.625em}._validationContainer_16h88_22 ._noMarker_16h88_47{list-style:none;padding-left:1.6rem;line-height:1.6rem}._validationContainer_16h88_22._error_16h88_52{background-color:var(--xmlui-color-bg-ValidationDisplay-error)}._validationContainer_16h88_22._error_16h88_52:before{background-color:var(--xmlui-color-accent-ValidationDisplay-error)}._validationContainer_16h88_22._error_16h88_52 ._heading_16h88_58{color:var(--xmlui-color-text-ValidationDisplay-error);font-weight:700}._validationContainer_16h88_22._warning_16h88_62{background-color:var(--xmlui-color-bg-ValidationDisplay-warning)}._validationContainer_16h88_22._warning_16h88_62:before{background-color:var(--xmlui-color-accent-ValidationDisplay-warning)}._validationContainer_16h88_22._warning_16h88_62 ._heading_16h88_58{color:var(--xmlui-color-text-ValidationDisplay-warning);font-weight:700}._validationContainer_16h88_22._info_16h88_72{background-color:var(--xmlui-color-bg-ValidationDisplay-info)}._validationContainer_16h88_22._info_16h88_72:before{background-color:var(--xmlui-color-accent-ValidationDisplay-info)}._validationContainer_16h88_22._info_16h88_72 ._heading_16h88_58{color:var(--xmlui-color-text-ValidationDisplay-info);font-weight:700}._validationContainer_16h88_22._valid_16h88_22{background-color:var(--xmlui-color-bg-ValidationDisplay-valid)}._validationContainer_16h88_22._valid_16h88_22:before{background-color:var(--xmlui-color-accent-ValidationDisplay-valid)}._validationContainer_16h88_22._valid_16h88_22 ._heading_16h88_58{color:var(--xmlui-color-text-ValidationDisplay-valid);font-weight:700}._command_4q1ko_13{width:100%;height:auto;overflow:visible;background-color:transparent}._badgeListWrapper_4q1ko_20{outline:none;display:flex;padding:var(--xmlui-space-1) var(--xmlui-space-2);min-height:2.5rem;border-radius:var(--xmlui-radius-AutoComplete-default);border-color:var(--xmlui-color-border-AutoComplete-default);border-width:var(--xmlui-thickness-border-AutoComplete-default);border-style:var(--xmlui-style-border-AutoComplete-default);font-size:var(--xmlui-font-size-AutoComplete-default);background-color:var(--xmlui-color-bg-AutoComplete-default);box-shadow:var(--xmlui-shadow-AutoComplete-default);color:var(--xmlui-color-text-AutoComplete-default)}._badgeListWrapper_4q1ko_20:hover{border-color:var(--xmlui-color-border-AutoComplete-default--hover);background-color:var(--xmlui-color-bg-AutoComplete-default--hover);box-shadow:var(--xmlui-shadow-AutoComplete-default--hover);color:var(--xmlui-color-text-AutoComplete-default--hover)}._badgeListWrapper_4q1ko_20::placeholder{color:var(--xmlui-color-placeholder-AutoComplete-default)}._badgeListWrapper_4q1ko_20._error_4q1ko_43{border-radius:var(--xmlui-radius-AutoComplete-error);border-color:var(--xmlui-color-border-AutoComplete-error);border-width:var(--xmlui-thickness-border-AutoComplete-error);border-style:var(--xmlui-style-border-AutoComplete-error);font-size:var(--xmlui-font-size-AutoComplete-error);background-color:var(--xmlui-color-bg-AutoComplete-error);box-shadow:var(--xmlui-shadow-AutoComplete-error);color:var(--xmlui-color-text-AutoComplete-error)}._badgeListWrapper_4q1ko_20._error_4q1ko_43:hover{border-color:var(--xmlui-color-border-AutoComplete-error--hover);background-color:var(--xmlui-color-bg-AutoComplete-error--hover);box-shadow:var(--xmlui-shadow-AutoComplete-error--hover);color:var(--xmlui-color-text-AutoComplete-error--hover)}._badgeListWrapper_4q1ko_20._error_4q1ko_43::placeholder{color:var(--xmlui-color-placeholder-AutoComplete-error)}._badgeListWrapper_4q1ko_20._warning_4q1ko_62{border-radius:var(--xmlui-radius-AutoComplete-warning);border-color:var(--xmlui-color-border-AutoComplete-warning);border-width:var(--xmlui-thickness-border-AutoComplete-warning);border-style:var(--xmlui-style-border-AutoComplete-warning);font-size:var(--xmlui-font-size-AutoComplete-warning);background-color:var(--xmlui-color-bg-AutoComplete-warning);box-shadow:var(--xmlui-shadow-AutoComplete-warning);color:var(--xmlui-color-text-AutoComplete-warning)}._badgeListWrapper_4q1ko_20._warning_4q1ko_62:hover{border-color:var(--xmlui-color-border-AutoComplete-warning--hover);background-color:var(--xmlui-color-bg-AutoComplete-warning--hover);box-shadow:var(--xmlui-shadow-AutoComplete-warning--hover);color:var(--xmlui-color-text-AutoComplete-warning--hover)}._badgeListWrapper_4q1ko_20._warning_4q1ko_62::placeholder{color:var(--xmlui-color-placeholder-AutoComplete-warning)}._badgeListWrapper_4q1ko_20._valid_4q1ko_81{border-radius:var(--xmlui-radius-AutoComplete-success);border-color:var(--xmlui-color-border-AutoComplete-success);border-width:var(--xmlui-thickness-border-AutoComplete-success);border-style:var(--xmlui-style-border-AutoComplete-success);font-size:var(--xmlui-font-size-AutoComplete-success);background-color:var(--xmlui-color-bg-AutoComplete-success);box-shadow:var(--xmlui-shadow-AutoComplete-success);color:var(--xmlui-color-text-AutoComplete-success)}._badgeListWrapper_4q1ko_20._valid_4q1ko_81:hover{border-color:var(--xmlui-color-border-AutoComplete-success--hover);background-color:var(--xmlui-color-bg-AutoComplete-success--hover);box-shadow:var(--xmlui-shadow-AutoComplete-success--hover);color:var(--xmlui-color-text-AutoComplete-success--hover)}._badgeListWrapper_4q1ko_20._valid_4q1ko_81::placeholder{color:var(--xmlui-color-placeholder-AutoComplete-success)}._badgeListWrapper_4q1ko_20._disabled_4q1ko_100{cursor:not-allowed;opacity:.5;background-color:var(--xmlui-color-bg-AutoComplete--disabled);color:var(--xmlui-color-text-AutoComplete--disabled);border-color:var(--xmlui-color-border-AutoComplete--disabled)}._badgeListWrapper_4q1ko_20._focused_4q1ko_107{outline-width:var(--xmlui-thickness-outline-AutoComplete--focus);outline-color:var(--xmlui-color-outline-AutoComplete--focus);outline-style:var(--xmlui-style-outline-AutoComplete--focus);outline-offset:var(--xmlui-offset-outline-AutoComplete--focus)}._badgeList_4q1ko_20{position:relative;flex-grow:1;align-items:center;display:flex;flex-wrap:wrap;gap:.25rem}._badge_4q1ko_20{width:fit-content;height:fit-content;min-width:0;padding:var(--xmlui-padding-vertical-AutoComplete-badge) var(--xmlui-padding-horizontal-AutoComplete-badge);transition:color .2s,background-color .2s;-webkit-user-select:none;user-select:none;cursor:pointer;display:flex;gap:var(--xmlui-space-1);justify-content:center;align-items:center;border-radius:var(--xmlui-radius);font-size:var(--xmlui-font-size-AutoComplete-badge);background-color:var(--xmlui-color-bg-AutoComplete-badge);color:var(--xmlui-color-text-AutoComplete-badge)}._badge_4q1ko_20:hover{background-color:var(--xmlui-color-bg-AutoComplete-badge--hover);color:var(--xmlui-color-text-AutoComplete-badge--hover)}._badge_4q1ko_20:active{background-color:var(--xmlui-color-bg-AutoComplete-badge--active);color:var(--xmlui-color-text-AutoComplete-badge--active)}._commandInput_4q1ko_149{flex:1;background-color:transparent;outline:none}._commandInput_4q1ko_149:disabled{cursor:not-allowed;opacity:.5}._commandInput_4q1ko_149::placeholder{color:var(--xmlui-color-placeholder-AutoComplete)}._actions_4q1ko_162{display:flex;align-items:center;justify-content:space-between}._autoCompleteEmpty_4q1ko_168{display:flex;gap:.2rem;padding:10px 0;justify-content:center;align-items:center;font-size:14px;width:100%}._commandList_4q1ko_178{position:absolute;overflow:hidden;top:.25rem;z-index:10;width:100%;outline:none;background-color:var(--xmlui-color-bg-menu-AutoComplete);border-radius:var(--xmlui-radius-menu-AutoComplete);box-shadow:var(--xmlui-shadow-menu-AutoComplete);animation:_fade-in_4q1ko_1 .3s ease-in-out}._autoCompleteOption_4q1ko_191{padding:.5rem 1rem;display:flex;gap:1rem;align-items:center;justify-content:space-between;cursor:pointer;transition:background-color .2s ease;background-color:var(--xmlui-color-bg-item-AutoComplete)}._autoCompleteOption_4q1ko_191[data-selected=true]{background-color:var(--xmlui-color-bg-item-AutoComplete--hover)}._autoCompleteOption_4q1ko_191[data-disabled=true]{pointer-events:none;opacity:.5;cursor:not-allowed;color:var(--xmlui-color-text-item-AutoComplete--disabled);font-style:italic}._wrapper_1gpge_13{display:flex;flex-direction:column;min-height:100%}._outerWrapper_188xu_13{border-radius:var(--xmlui-radius-Footer);border-width:var(--xmlui-thickness-border-Footer);border-style:var(--xmlui-style-border-Footer);border-color:var(--xmlui-color-border-Footer);border-top-width:var(--xmlui-thickness-border-top-Footer);border-top-style:var(--xmlui-style-border-top-Footer);border-top-color:var(--xmlui-color-border-top-Footer);border-bottom-width:var(--xmlui-thickness-border-bottom-Footer);border-bottom-style:var(--xmlui-style-border-bottom-Footer);border-bottom-color:var(--xmlui-color-border-bottom-Footer);border-left-width:var(--xmlui-thickness-border-left-Footer);border-left-style:var(--xmlui-style-border-left-Footer);border-left-color:var(--xmlui-color-border-left-Footer);border-right-width:var(--xmlui-thickness-border-right-Footer);border-right-style:var(--xmlui-style-border-right-Footer);border-right-color:var(--xmlui-color-border-right-Footer);background-color:var(--xmlui-color-bg-Footer);height:var(--xmlui-height-Footer)}._wrapper_188xu_34{width:100%;display:flex;min-height:0;height:100%;flex-direction:row;padding-left:var(--xmlui-padding-horizontal-Footer);padding-right:var(--xmlui-padding-horizontal-Footer);padding-top:var(--xmlui-padding-vertical-Footer);padding-bottom:var(--xmlui-padding-vertical-Footer);font-size:var(--xmlui-font-size-Footer);align-items:var(--xmlui-align-vertical-Footer);max-width:var(--xmlui-max-content-width-Footer);color:var(--xmlui-color-text-Footer);margin:0 auto}._wrapper_188xu_34._full_188xu_50{max-width:100%}._dropdownList_1i6dc_13{padding:0;margin:0;left:0;top:0;position:absolute;overflow-y:hidden;background:var(--xmlui-color-bg-dropdown-NavGroup);list-style:none;height:fit-content;transition:height .2s ease;box-shadow:var(--xmlui-shadow-dropdown-NavGroup);min-width:11rem;border-radius:var(--xmlui-radius-dropdown-NavGroup)}._dropdownList_1i6dc_13:focus,._dropdownList_1i6dc_13:focus-visible{outline:none}._withNavGroupChevron_1i6dc_32{display:inline-flex;align-items:center}._withNavGroupChevron_1i6dc_32:after{content:"";display:inline-block;vertical-align:.306em;width:.36em;height:.36em;border-bottom:1px solid currentColor;border-left:1px solid currentColor;margin-right:.1em;margin-left:.4em;transform:rotate(-45deg)}._withNavGroupChevron_1i6dc_32._pointRight_1i6dc_48{flex:1}._withNavGroupChevron_1i6dc_32._pointRight_1i6dc_48:after{margin-left:auto;transform:rotate(-135deg)}._wrapper_1pv7f_13 .apexcharts-text{fill:var(--xmlui-color-text-primary)!important}._wrapper_1pv7f_13 .apexcharts-legend-text{color:var(--xmlui-color-text-primary)!important}._wrapper_1pv7f_13 .apexcharts-gridline{stroke:var(--xmlui-color-border)!important}._horizontalRule_y1wfd_13{border:var(--xmlui-thickness-border-HorizontalRule) var(--xmlui-style-border-HorizontalRule) var(--xmlui-color-border-HorizontalRule)}._blockquote_y1wfd_17{position:relative;border-radius:var(--xmlui-radius-Blockquote);background-color:var(--xmlui-color-bg-Blockquote);box-shadow:var(--xmlui-shadow-Blockquote);padding:var(--xmlui-padding-Blockquote);margin-top:var(--xmlui-margin-Blockquote);margin-bottom:var(--xmlui-margin-Blockquote)}._blockquote_y1wfd_17:before{position:absolute;top:0;left:0;display:block;content:"";height:100%;width:2px;background-color:var(--xmlui-accent-Blockquote)}._unorderedList_y1wfd_37{list-style-type:revert;list-style-position:outside;padding-left:var(--xmlui-padding-left-UnorderedList)}._orderedList_y1wfd_43{list-style-type:revert;list-style-position:outside;padding-left:var(--xmlui-padding-left-OrderedList)}._listItem_y1wfd_49{padding-left:var(--xmlui-padding-left-ListItem)}._listItem_y1wfd_49::marker{color:var(--xmlui-color-marker-ListItem)}._DropdownMenuContent_uvcr0_13,._DropdownMenuSubContent_uvcr0_14{background-color:var(--xmlui-color-bg-DropdownMenu);border-radius:var(--xmlui-radius-DropdownMenu);min-width:var(--xmlui-min-width-DropdownMenu);box-shadow:var(--xmlui-shadow-DropdownMenu);overflow:hidden;animation-duration:.4s;animation-timing-function:cubic-bezier(.16,1,.3,1);will-change:transform,opacity;border:var(--xmlui-thickness-border-DropdownMenu-content) var(--xmlui-style-border-DropdownMenu-content) var(--xmlui-color-border-DropdownMenu-content)}._DropdownMenuItem_uvcr0_26,._DropdownMenuSubTrigger_uvcr0_27{background-color:var(--xmlui-color-bg-MenuItem);color:var(--xmlui-color-MenuItem);font-family:var(--xmlui-font-family-MenuItem);display:flex;border:0;width:100%;gap:var(--xmlui-gap-MenuItem);font-size:var(--xmlui-font-size-MenuItem);padding:var(--xmlui-padding-vertical-MenuItem) 0;padding-inline:var(--xmlui-padding-horizontal-MenuItem);cursor:pointer;align-items:center;justify-content:space-between;-webkit-user-select:none;user-select:none;outline:none}._DropdownMenuItem_uvcr0_26:hover,._DropdownMenuItem_uvcr0_26[data-highlighted],._DropdownMenuSubTrigger_uvcr0_27:hover,._DropdownMenuSubTrigger_uvcr0_27[data-highlighted]{background-color:var(--xmlui-color-bg-MenuItem--hover);color:var(--xmlui-color-MenuItem--hover)}._DropdownMenuItem_uvcr0_26._active_uvcr0_50,._DropdownMenuSubTrigger_uvcr0_27._active_uvcr0_50{background-color:var(--xmlui-color-bg-MenuItem--active);color:var(--xmlui-color-MenuItem--active)}._DropdownMenuItem_uvcr0_26._active_uvcr0_50:hover,._DropdownMenuSubTrigger_uvcr0_27._active_uvcr0_50:hover{background-color:var(--xmlui-color-bg-MenuItem--active--hover);color:var(--xmlui-color-MenuItem--active--hover)}._DropdownMenuItem_uvcr0_26 ._wrapper_uvcr0_60,._DropdownMenuSubTrigger_uvcr0_27 ._wrapper_uvcr0_60{flex:1}._DropdownMenuSeparator_uvcr0_65{margin-top:var(--xmlui-margin-top-MenuSeparator);margin-bottom:var(--xmlui-margin-bottom-MenuSeparator);width:var(--xmlui-width-MenuSeparator);height:var(--xmlui-height-MenuSeparator);background-color:var(--xmlui-color-MenuSeparator)}._from_u3s7v_13,._to_u3s7v_13{display:none}._baseRootComponent_u3s7v_17{width:100%;position:relative;height:inherit;font-family:var(--xmlui-font-family, var(--xmlui-font-family));background-color:var(--xmlui-color-bg);font-size:var(--xmlui-font-size);font-weight:var(--xmlui-font-weight);color:var(--xmlui-color-text-primary);overflow:auto;direction:var(--xmlui-direction);font-feature-settings:var(--xmlui-font-feature-settings);--stack-gap-default: var(--xmlui-space-4)}._wrapper_1d7s9_13{flex:1 1 70%;width:70%;display:inline-flex}._chartContainer_1d7s9_19{width:100%;height:100%;justify-content:center;align-items:center}._chart_1d7s9_19{position:relative;display:flex;width:100%;height:100%}._legends_1d7s9_33{flex-direction:column;display:inline-flex;flex-wrap:wrap;overflow:hidden;gap:var(--xmlui-space-2)}._legendItem_1d7s9_41{display:flex;align-items:center;gap:var(--xmlui-space-2)}._legendTop_1d7s9_47{display:flex;flex-direction:column-reverse;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendTop_1d7s9_47 ._wrapper_1d7s9_13{height:80%}._legendTop_1d7s9_47 ._legends_1d7s9_33{height:20%}._legendRight_1d7s9_61{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendRight_1d7s9_61 ._wrapper_1d7s9_13{height:100%}._legendRight_1d7s9_61 ._legends_1d7s9_33{justify-content:start;align-items:start;flex:1 1 30%;width:30%}._legendBottom_1d7s9_78{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendBottom_1d7s9_78 ._wrapper_1d7s9_13{height:80%}._legendBottom_1d7s9_78 ._legends_1d7s9_33{height:20%}._legendLeft_1d7s9_92{display:flex;flex-direction:row-reverse;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendLeft_1d7s9_92 ._wrapper_1d7s9_13{height:100%}._legendLeft_1d7s9_92 ._legends_1d7s9_33{justify-content:start;align-items:start;flex:1 1 30%;width:30%}._legendRow_1d7s9_109{display:inline-flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendColumn_1d7s9_117{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendBullet_1d7s9_125{width:1rem;height:1rem;border-radius:50%}@media (max-width: 1256px){._wrapper_1d7s9_13{flex-direction:column;width:100%;height:80%}._chart_1d7s9_19{flex-direction:column}._legends_1d7s9_33{flex-direction:row;width:100%!important;justify-content:center}}._tabs_1p09m_13{display:flex;flex:1 1 auto;width:100%;background-color:var(--xmlui-color-bg-Tabs);overflow:hidden}._tabs_1p09m_13[data-orientation=horizontal]{flex-direction:row}._tabs_1p09m_13[data-orientation=vertical]{flex-direction:column}._filler_1p09m_27{flex:1 1 auto}._filler_1p09m_27[data-orientation=horizontal]{border-right-width:var(--xmlui-thickness-border-Tabs);border-right-style:solid;border-right-color:var(--xmlui-color-border-Tabs)}._filler_1p09m_27[data-orientation=vertical]{border-bottom-width:var(--xmlui-thickness-border-Tabs);border-bottom-style:solid;border-bottom-color:var(--xmlui-color-border-Tabs)}._tabTrigger_1p09m_41{font-family:inherit;color:var(--xmlui-color-text-trigger-Tabs);background-color:var(--xmlui-color-bg-trigger-Tabs);padding:var(--xmlui-space-4);display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1;-webkit-user-select:none;user-select:none;border-color:transparent}._tabTrigger_1p09m_41:hover{background-color:var(--xmlui-color-bg-trigger-Tabs--hover)}._tabTrigger_1p09m_41[data-orientation=horizontal]{border-right-width:var(--xmlui-thickness-border-Tabs);border-right-style:solid;border-right-color:var(--xmlui-color-border-Tabs)}._tabTrigger_1p09m_41[data-orientation=horizontal][data-state=active]{border-right-width:var(--xmlui-thickness-border-Tabs);border-right-style:solid;border-right-color:var(--xmlui-color-border-active-Tabs)}._tabTrigger_1p09m_41[data-orientation=vertical]{border-bottom-width:var(--xmlui-thickness-border-Tabs);border-bottom-style:solid;border-bottom-color:var(--xmlui-color-border-Tabs)}._tabTrigger_1p09m_41[data-orientation=vertical][data-state=active]{border-bottom-width:var(--xmlui-thickness-border-Tabs);border-bottom-style:solid;border-bottom-color:var(--xmlui-color-border-active-Tabs)}._tabTrigger_1p09m_41:hover{cursor:pointer}._tabsList_1p09m_81{background-color:var(--xmlui-color-bg-list-Tabs);position:relative;z-index:99;overflow:hidden;display:flex;flex-shrink:0;scrollbar-width:thin}._tabsList_1p09m_81[data-orientation=horizontal]{flex-direction:column}._tabsList_1p09m_81[data-orientation=vertical]{flex-direction:row}._tabsList_1p09m_81:hover{overflow:auto}._tabsContent_1p09m_101{flex-grow:1;outline:none}._nav_1soaw_13{background-color:var(--xmlui-color-bg-TableOfContents);min-width:240px;width:var(--xmlui-width-TableOfContents);align-self:flex-start;height:var(--xmlui-height-TableOfContents);max-height:calc(100vh - 70px);overflow-y:auto;overflow-x:hidden;z-index:99;top:0;position:sticky;scrollbar-color:lab(48.438% 0 0/.4) transparent;scrollbar-width:thin;border-radius:var(--xmlui-border-radius-TableOfContents);border-color:var(--xmlui-color-border-TableOfContents);border-width:var(--xmlui-thickness-border-TableOfContents);border-style:var(--xmlui-style-border-TableOfContents);margin-top:var(--xmlui-margin-top-TableOfContents);margin-bottom:var(--xmlui-margin-bottom-TableOfContents);padding:var(--xmlui-padding-vertical-TableOfContents) var(--xmlui-padding-horizontal-TableOfContents)}._nav_1soaw_13 ._list_1soaw_35{margin:0;padding:0;list-style:none}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40{list-style-type:none;border-left:var(--xmlui-border-width-TableOfContentsItem) var(--xmlui-border-style-TableOfContentsItem) var(--xmlui-border-color-TableOfContentsItem)}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44{color:var(--xmlui-color-TableOfContentsItem);font-size:var(--xmlui-font-size-TableOfContentsItem);font-weight:var(--xmlui-font-weight-TableOfContentsItem);font-family:var(--xmlui-font-family-TableOfContentsItem);text-transform:var(--xmlui-transform-TableOfContentsItem);vertical-align:var(--xmlui-align-vertical-TableOfContentsItem);letter-spacing:var(--xmlui-letter-spacing-TableOfContentsItem);overflow-wrap:break-word;display:block;padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem)}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_1_1soaw_56{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-1, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_2_1soaw_59{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-2, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_3_1soaw_62{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-3, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_4_1soaw_65{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-4, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_5_1soaw_68{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-5, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_6_1soaw_71{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-6, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40._active_1soaw_74{border-left:2px solid var(--xmlui-border-color-TableOfContentsItem--active)}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40._active_1soaw_74 ._link_1soaw_44{color:var(--xmlui-color-TableOfContentsItem--active);font-weight:var(--xmlui-font-weight-TableOfContentsItem--active)}._root_lik78_13{overflow:hidden;width:100%;border-radius:var(--xmlui-radius-Accordion);border-color:var(--xmlui-color-border-Accordion);border-width:var(--xmlui-thickness-border-Accordion);border-style:var(--xmlui-style-border-Accordion);box-sizing:border-box;padding:0}._item_lik78_24{overflow:hidden;margin-top:1px;box-sizing:border-box}._item_lik78_24:first-child{margin-top:0;border-top-left-radius:var(--xmlui-radius-Accordion);border-top-right-radius:var(--xmlui-radius-Accordion)}._item_lik78_24:last-child{border-bottom-left-radius:var(--xmlui-radius-Accordion);border-bottom-right-radius:var(--xmlui-radius-Accordion)}._item_lik78_24:focus-within{position:relative;z-index:1}._header_lik78_43{display:flex;margin:0}._trigger_lik78_48{font-family:inherit;flex:1;display:inline-flex;align-items:var(--xmlui-align-vertical-header-Accordion);justify-content:space-between;line-height:1;box-sizing:border-box;font-size:var(--xmlui-font-size-header-Accordion);font-weight:var(--xmlui-font-weight-header-Accordion);font-style:var(--xmlui-font-style-header-Accordion);padding:var(--xmlui-padding-vertical-header-Accordion) var(--xmlui-padding-horizontal-header-Accordion);background-color:var(--xmlui-color-bg-header-Accordion);color:var(--xmlui-color-header-Accordion)}._trigger_lik78_48:hover{background-color:var(--xmlui-color-bg-header-Accordion-hover)}._trigger_lik78_48._triggerStart_lik78_66{flex-direction:row-reverse}._contentWrapper_lik78_70{overflow:hidden;color:var(--xmlui-color-content-Accordion);background-color:var(--xmlui-color-bg-content-Accordion)}._contentWrapper_lik78_70[data-state=open]{animation:_slideDown_lik78_1 .3s cubic-bezier(.87,0,.13,1)}._contentWrapper_lik78_70[data-state=closed]{animation:_slideUp_lik78_1 .3s cubic-bezier(.87,0,.13,1)}._content_lik78_70{padding:var(--xmlui-space-2)}._chevron_lik78_86{width:var(--xmlui-width-icon-Accordion);height:var(--xmlui-height-icon-Accordion);color:var(--xmlui-color-icon-Accordion)}@keyframes _slideDown_lik78_1{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes _slideUp_lik78_1{0%{height:var(--radix-accordion-content-height)}to{height:0}}._carousel_11a03_13{position:relative;overflow:hidden;width:var(--xmlui-width-Carousel);height:var(--xmlui-height-Carousel);justify-content:center;align-items:center}._innerWrapper_11a03_22{display:flex;width:100%;height:100%;flex-direction:row;justify-content:center}._carouselContentWrapper_11a03_30{overflow:hidden;height:100%}._carouselContent_11a03_30{display:flex;height:100%}._vertical_11a03_40{flex-direction:column}._carouselItem_11a03_44{min-width:0;flex-shrink:0;flex-grow:0;flex-basis:100%}._controls_11a03_51{z-index:99;display:flex;right:1rem;bottom:1rem;position:absolute;gap:.6rem}._controlButton_11a03_60{transition:all .3s;justify-content:center;align-items:center;display:inline-flex;height:var(--xmlui-height-control-Carousel);width:var(--xmlui-width-control-Carousel);color:var(--xmlui-color-text-control-Carousel);background-color:var(--xmlui-color-bg-control-Carousel);border-radius:var(--xmlui-radius-control-Carousel)}._controlButton_11a03_60:hover{background-color:var(--xmlui-color-bg-control-hover-Carousel);color:var(--xmlui-color-text-control-hover-Carousel)}._controlButton_11a03_60:active{background-color:var(--xmlui-color-bg-control-active-Carousel);color:var(--xmlui-color-text-control-active-Carousel)}._controlButton_11a03_60:disabled{color:var(--xmlui-color-text-control-disabled-Carousel);background-color:var(--xmlui-color-bg-control-disabled-Carousel)}._indicators_11a03_87{position:absolute;bottom:1rem;left:50%;transform:translate(-50%)}._indicator_11a03_87{transition:all .3s;width:var(--xmlui-width-indicator-Carousel);height:var(--xmlui-height-indicator-Carousel);border-radius:2px;margin:0 1px;color:var(--xmlui-color-text-indicator-Carousel);background-color:var(--xmlui-color-bg-indicator-Carousel)}._indicator_11a03_87:hover{background-color:var(--xmlui-color-bg-indicator-hover-Carousel);color:var(--xmlui-color-text-indicator-hover-Carousel)}._indicator_11a03_87._active_11a03_107{background-color:var(--xmlui-color-bg-indicator-active-Carousel);color:var(--xmlui-color-text-indicator-active-Carousel)}._breakout_ovaa2_1{left:50%;margin-left:-50vw;margin-right:-50vw;position:relative;right:50%;width:100vw}._backdropContainer_18iuc_13{position:relative;display:inline-block}._backdrop_18iuc_13,._overlay_18iuc_26{position:absolute;top:0;left:0;width:100%;height:100%}._dialogContent_1rief_13{display:flex;flex-direction:column}._dialogActions_1rief_18:not(:empty){margin-top:var(--xmlui-space-4)}@media (min-width: 40em){._dialogActions_1rief_18{display:flex;justify-content:flex-end;gap:var(--xmlui-space-4)}}
1
+ (function(lA,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react/jsx-runtime"),require("react"),require("react-dom"),require("react-router-dom"),require("@remix-run/react"),require("@tanstack/react-query"),require("lodash-es"),require("react-helmet-async"),require("react-hot-toast"),require("immer"),require("color"),require("memoize-one"),require("react-popper"),require("@radix-ui/react-dialog"),require("date-fns"),require("react-textarea-autosize"),require("@radix-ui/react-visually-hidden"),require("react-window"),require("react-virtualized-auto-sizer"),require("scroll-into-view-if-needed"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("react-dropzone"),require("use-context-selector"),require("@radix-ui/react-select"),require("cmdk"),require("@radix-ui/react-popover"),require("@radix-ui/react-radio-group"),require("react-day-picker"),require("@radix-ui/react-dropdown-menu"),require("emoji-picker-react"),require("@radix-ui/react-hover-card"),require("react-markdown"),require("@radix-ui/react-tabs"),require("@radix-ui/react-accordion"),require("embla-carousel-react"),require("embla-carousel-autoplay"),require("msw"),require("@eslint-community/regexpp"),require("dexie")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom","react-router-dom","@remix-run/react","@tanstack/react-query","lodash-es","react-helmet-async","react-hot-toast","immer","color","memoize-one","react-popper","@radix-ui/react-dialog","date-fns","react-textarea-autosize","@radix-ui/react-visually-hidden","react-window","react-virtualized-auto-sizer","scroll-into-view-if-needed","@tanstack/react-table","@tanstack/react-virtual","react-dropzone","use-context-selector","@radix-ui/react-select","cmdk","@radix-ui/react-popover","@radix-ui/react-radio-group","react-day-picker","@radix-ui/react-dropdown-menu","emoji-picker-react","@radix-ui/react-hover-card","react-markdown","@radix-ui/react-tabs","@radix-ui/react-accordion","embla-carousel-react","embla-carousel-autoplay","msw","@eslint-community/regexpp","dexie"],g):(lA=typeof globalThis<"u"?globalThis:lA||self,g(lA.xmlui={},lA["react/jsx-runtime"],lA.React,lA.ReactDOM,lA.reactRouterDom,lA.react,lA.reactQuery,lA.lodashEs,lA.reactHelmetAsync,lA.toast,lA.produce,lA.Color,lA.memoizeOne,lA.reactPopper,lA.SheetPrimitive,lA.dateFns,lA.TextareaAutosize,lA.VisuallyHidden,lA.reactWindow,lA.AutoSizer,lA.scrollIntoView,lA.reactTable,lA.reactVirtual,lA.dropzone,lA.useContextSelector,lA.reactSelect,lA.cmdk,lA.reactPopover,lA.InnerRadioGroup,lA.reactDayPicker,lA.ReactDropdownMenu,lA.EmojiPicker,lA.HoverCard,lA.ReactMarkdown,lA.RTabs,lA.RAccordion,lA.useEmblaCarousel,lA.Autoplay,lA.msw,lA.regexpp,lA.Dexie))})(this,function(lA,g,E,Po,tg,We,ks,QA,sn,me,ue,vr,Vn,A4,e4,Ae,t4,IQ,o4,r4,og,Xn,Ms,n4,Ns,Mt,pt,_s,i4,s4,To,rg,a4,l4,g4,c4,B4,Q4,yr,pQ,wQ){"use strict";var ET=Object.defineProperty;var WI=lA=>{throw TypeError(lA)};var dT=(lA,g,E)=>g in lA?ET(lA,g,{enumerable:!0,configurable:!0,writable:!0,value:E}):lA[g]=E;var ge=(lA,g,E)=>dT(lA,typeof g!="symbol"?g+"":g,E),EQ=(lA,g,E)=>g.has(lA)||WI("Cannot "+E);var bs=(lA,g,E)=>(EQ(lA,g,"read from private field"),E?E.call(lA):g.get(lA)),dQ=(lA,g,E)=>g.has(lA)?WI("Cannot add the same private member more than once"):g instanceof WeakSet?g.add(lA):g.set(lA,E),$I=(lA,g,E,Po)=>(EQ(lA,g,"write to private field"),Po?Po.call(lA,E):g.set(lA,E),E),Zl=(lA,g,E)=>(EQ(lA,g,"access private method"),E);var Dr,zn,eg,JI;var fQ=document.createElement("style");fQ.textContent=`@charset "UTF-8";*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}*{margin:0}html{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;line-height:1.5}body{line-height:inherit;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root,#__next{isolation:isolate}*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}hr{color:inherit;border-top-width:1px;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}*:focus-visible{outline:var(--xmlui-thickness-outline--focus) var(--xmlui-style-outline--focus) var(--xmlui-color-outline--focus);outline-offset:var(--xmlui-offset-outline--focus)}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder{opacity:1;color:#9ca3af}textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]{display:none}._errorOverlay_p2isd_13{background-color:var(--xmlui-color-danger-500);position:relative;top:0;right:0;bottom:0;left:0;border-radius:4px;padding:8px}._title_p2isd_21{color:#fff;font-weight:var(--xmlui-font-weight-normal);padding-left:4px;padding-right:8px}._errorItem_p2isd_28{font-weight:var(--xmlui-font-weight-bold);padding-left:4px;padding-right:8px;color:#fff;white-space:pre-wrap}._errorOverlay_393we_13{background-color:#ffa2a2cc;border-radius:10px;padding:8px;min-width:200px}._title_393we_20{background-color:var(--xmlui-color-danger-500);color:#fff;font-weight:var(--xmlui-font-weight-light);border-radius:4px;padding-left:4px;padding-right:8px}._errorOverlay_1jip5_13{background-color:#ffa2a2cc;top:0;right:0;bottom:0;left:0;border-radius:10px;padding:8px;min-width:200px;min-height:fit-content}._title_1jip5_22 span{background-color:var(--xmlui-color-danger-500);color:#fff;font-weight:var(--xmlui-font-weight-normal);border-radius:4px;padding-left:4px;padding-right:8px}._errorItems_1jip5_31{list-style:disc}._errorItem_1jip5_31{background-color:var(--xmlui-color-danger-500);font-weight:var(--xmlui-font-weight-bold);border-radius:4px;padding-left:8px;padding-right:8px;margin-left:18px;color:#fff}._overlay_1lmtb_13{position:fixed;display:grid;place-items:center;overflow-y:auto;top:0;right:0;bottom:0;left:0;padding:var(--xmlui-space-4)}._overlay_1lmtb_13._fullScreen_1lmtb_21{padding:0;width:100%;height:100%;display:block}._overlay_1lmtb_13._fullScreen_1lmtb_21 ._content_1lmtb_27{width:100%;height:100%;max-width:100%;max-height:100%;padding:0;border-radius:0}._overlayBg_1lmtb_36{background-color:var(--xmlui-color-bg-overlay-ModalDialog);position:fixed;top:0;right:0;bottom:0;left:0;animation:_overlayShow_1lmtb_1 .15s cubic-bezier(.16,1,.3,1)}._content_1lmtb_27{background-color:var(--xmlui-color-bg-ModalDialog);border-radius:var(--xmlui-radius-ModalDialog);font-family:var(--xmlui-font-family-ModalDialog);color:var(--xmlui-color-text-ModalDialog);padding:var(--xmlui-padding-ModalDialog);box-shadow:0 0 30px #0000001a;transform:translate(0);width:90vw;max-width:var(--xmlui-max-width-ModalDialog);min-width:var(--xmlui-min-width-ModalDialog);isolation:isolate;position:relative;animation:_contentShow_1lmtb_1 .15s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column;gap:var(--xmlui-space-4)}._content_1lmtb_27:focus{outline:none}._dialogTitle_1lmtb_66{flex:1;margin-bottom:var(--xmlui-margin-bottom-title-ModalDialog);font-size:var(--xmlui-font-size-large)}._innerContent_1lmtb_72{display:flex;flex-direction:column;min-height:0;gap:var(--stack-gap-default);flex:1}@keyframes _overlayShow_1lmtb_1{0%{opacity:0}to{opacity:1}}@keyframes _contentShow_1lmtb_1{0%{opacity:0;transform:translateY(2%) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}._closeButton_1lmtb_98{position:absolute;right:.5rem;top:.4rem}@media (max-width: 70em){._dialog_1lmtb_66,._content_1lmtb_27{max-width:90%}}@media (max-width: 50em){._dialog_1lmtb_66,._content_1lmtb_27{width:100%;max-width:calc(100% - var(--xmlui-space-6));min-width:0!important}}._base_13qtg_13{display:inline-block;vertical-align:text-bottom;color:inherit;width:var(--icon-width, var(--xmlui-size-Icon));height:var(--icon-height, var(--xmlui-size-Icon));stroke-width:var(--xmlui-thickness-stroke-Icon, revert-layer)}._base_13qtg_13 *{color:inherit!important}._button_1tdfj_13{width:var(--xmlui-width-Button);height:var(--xmlui-height-Button);line-height:normal;min-width:0;padding:0;margin:0;border-style:solid;transition:color .2s,background .2s;-webkit-user-select:none;user-select:none;cursor:pointer;display:flex;gap:var(--xmlui-space-2);justify-content:center;align-items:center}._button_1tdfj_13._alignStart_1tdfj_29{justify-content:start}._button_1tdfj_13._alignEnd_1tdfj_32{justify-content:end}._button_1tdfj_13 *{color:inherit}._button_1tdfj_13._buttonHorizontal_1tdfj_38{flex-direction:row}._button_1tdfj_13._buttonHorizontal_1tdfj_38._xs_1tdfj_41{padding:var(--xmlui-padding-vertical-Button-xs) var(--xmlui-padding-horizontal-Button-xs)}._button_1tdfj_13._buttonHorizontal_1tdfj_38._sm_1tdfj_44{padding:var(--xmlui-padding-vertical-Button-sm) var(--xmlui-padding-horizontal-Button-sm)}._button_1tdfj_13._buttonHorizontal_1tdfj_38._md_1tdfj_47{padding:var(--xmlui-padding-vertical-Button-md) var(--xmlui-padding-horizontal-Button-md)}._button_1tdfj_13._buttonHorizontal_1tdfj_38._lg_1tdfj_50{padding:var(--xmlui-padding-vertical-Button-lg) var(--xmlui-padding-horizontal-Button-lg)}._button_1tdfj_13._buttonVertical_1tdfj_53{flex-direction:column;gap:var(--xmlui-space-1);width:fit-content;height:fit-content}._button_1tdfj_13._buttonVertical_1tdfj_53._xs_1tdfj_41{padding:var(--xmlui-space-0_5) var(--xmlui-space-1)}._button_1tdfj_13._buttonVertical_1tdfj_53._sm_1tdfj_44{padding:var(--xmlui-space-2)}._button_1tdfj_13._buttonVertical_1tdfj_53._md_1tdfj_47{padding:var(--xmlui-space-4)}._button_1tdfj_13._buttonVertical_1tdfj_53._lg_1tdfj_50{padding:var(--xmlui-space-5)}._button_1tdfj_13._solidPrimary_1tdfj_71{font-size:var(--xmlui-font-size-Button-primary-solid);font-weight:var(--xmlui-font-weight-Button-primary-solid);border-radius:var(--xmlui-radius-Button-primary-solid);border-width:var(--xmlui-thickness-border-Button-primary-solid);border-color:var(--xmlui-color-border-Button-primary-solid);border-style:var(--xmlui-style-border-Button-primary-solid);background:var(--xmlui-color-bg-Button-primary-solid);color:var(--xmlui-color-text-Button-primary-solid);box-shadow:var(--xmlui-shadow-Button-primary-solid)}._button_1tdfj_13._solidPrimary_1tdfj_71:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-primary-solid--focus);outline-color:var(--xmlui-color-outline-Button-primary-solid--focus);outline-style:var(--xmlui-style-outline-Button-primary-solid--focus);outline-offset:var(--xmlui-offset-outline-Button-primary-solid--focus)}._button_1tdfj_13._solidPrimary_1tdfj_71:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-primary-solid--hover);color:var(--xmlui-color-text-Button-primary-solid--hover);background:var(--xmlui-color-bg-Button-primary-solid--hover)}._button_1tdfj_13._solidPrimary_1tdfj_71:not([disabled]):active{border-color:var(--xmlui-color-border-Button-primary-solid--active);color:var(--xmlui-color-text-Button-primary-solid--active);box-shadow:var(--xmlui-shadow-Button-primary-solid--active);background:var(--xmlui-color-bg-Button-primary-solid--active)}._button_1tdfj_13._solidPrimary_1tdfj_71:disabled{cursor:not-allowed;background:var(--xmlui-color-bg-Button--disabled);color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._solidSecondary_1tdfj_105{font-size:var(--xmlui-font-size-Button-secondary-solid);font-weight:var(--xmlui-font-weight-Button-secondary-solid);border-radius:var(--xmlui-radius-Button-secondary-solid);border-width:var(--xmlui-thickness-border-Button-secondary-solid);border-color:var(--xmlui-color-border-Button-secondary-solid);border-style:var(--xmlui-style-border-Button-secondary-solid);background:var(--xmlui-color-bg-Button-secondary-solid);color:var(--xmlui-color-text-Button-secondary-solid);box-shadow:var(--xmlui-shadow-Button-secondary-solid)}._button_1tdfj_13._solidSecondary_1tdfj_105:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-secondary-solid--focus);outline-color:var(--xmlui-color-outline-Button-secondary-solid--focus);outline-style:var(--xmlui-style-outline-Button-secondary-solid--focus);outline-offset:var(--xmlui-offset-outline-Button-secondary-solid--focus)}._button_1tdfj_13._solidSecondary_1tdfj_105:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-secondary-solid--hover);color:var(--xmlui-color-text-Button-secondary-solid--hover);background:var(--xmlui-color-bg-Button-secondary-solid--hover)}._button_1tdfj_13._solidSecondary_1tdfj_105:not([disabled]):active{border-color:var(--xmlui-color-border-Button-secondary-solid--active);color:var(--xmlui-color-text-Button-secondary-solid--active);box-shadow:var(--xmlui-shadow-Button-secondary-solid--active);background:var(--xmlui-color-bg-Button-secondary-solid--active)}._button_1tdfj_13._solidSecondary_1tdfj_105:disabled{cursor:not-allowed;background:var(--xmlui-color-bg-Button--disabled);color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._solidAttention_1tdfj_139{font-size:var(--xmlui-font-size-Button-attention-solid);font-weight:var(--xmlui-font-weight-Button-attention-solid);border-radius:var(--xmlui-radius-Button-attention-solid);border-width:var(--xmlui-thickness-border-Button-attention-solid);border-color:var(--xmlui-color-border-Button-attention-solid);border-style:var(--xmlui-style-border-Button-attention-solid);background:var(--xmlui-color-bg-Button-attention-solid);color:var(--xmlui-color-text-Button-attention-solid);box-shadow:var(--xmlui-shadow-Button-attention-solid)}._button_1tdfj_13._solidAttention_1tdfj_139:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-attention-solid--focus);outline-color:var(--xmlui-color-outline-Button-attention-solid--focus);outline-style:var(--xmlui-style-outline-Button-attention-solid--focus);outline-offset:var(--xmlui-offset-outline-Button-attention-solid--focus)}._button_1tdfj_13._solidAttention_1tdfj_139:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-attention-solid--hover);color:var(--xmlui-color-text-Button-attention-solid--hover);background:var(--xmlui-color-bg-Button-attention-solid--hover)}._button_1tdfj_13._solidAttention_1tdfj_139:not([disabled]):active{border-color:var(--xmlui-color-border-Button-attention-solid--active);color:var(--xmlui-color-text-Button-attention-solid--active);box-shadow:var(--xmlui-shadow-Button-attention-solid--active);background:var(--xmlui-color-bg-Button-attention-solid--active)}._button_1tdfj_13._solidAttention_1tdfj_139:disabled{cursor:not-allowed;background:var(--xmlui-color-bg-Button--disabled);color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._outlinedPrimary_1tdfj_173{font-size:var(--xmlui-font-size-Button-primary-outlined);font-weight:var(--xmlui-font-weight-Button-primary-outlined);border-radius:var(--xmlui-radius-Button-primary-outlined);border-width:var(--xmlui-thickness-border-Button-primary-outlined);border-color:var(--xmlui-color-border-Button-primary-outlined);border-style:var(--xmlui-style-border-Button-primary-outlined);color:var(--xmlui-color-text-Button-primary-outlined);box-shadow:var(--xmlui-shadow-Button-primary-outlined);background:transparent}._button_1tdfj_13._outlinedPrimary_1tdfj_173:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-primary-outlined--focus);outline-color:var(--xmlui-color-outline-Button-primary-outlined--focus);outline-style:var(--xmlui-style-outline-Button-primary-outlined--focus);outline-offset:var(--xmlui-offset-outline-Button-primary-outlined--focus)}._button_1tdfj_13._outlinedPrimary_1tdfj_173:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-primary-outlined--hover);background:var(--xmlui-color-bg-Button-primary-outlined--hover);color:var(--xmlui-color-text-Button-primary-outlined--hover)}._button_1tdfj_13._outlinedPrimary_1tdfj_173:not([disabled]):active{border-color:var(--xmlui-color-border-Button-primary-outlined--active);background:var(--xmlui-color-bg-Button-primary-outlined--active);color:var(--xmlui-color-text-Button-primary-outlined--active)}._button_1tdfj_13._outlinedPrimary_1tdfj_173:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._outlinedSecondary_1tdfj_205{font-size:var(--xmlui-font-size-Button-secondary-outlined);font-weight:var(--xmlui-font-weight-Button-secondary-outlined);border-radius:var(--xmlui-radius-Button-secondary-outlined);border-width:var(--xmlui-thickness-border-Button-secondary-outlined);border-color:var(--xmlui-color-border-Button-secondary-outlined);border-style:var(--xmlui-style-border-Button-secondary-outlined);color:var(--xmlui-color-text-Button-secondary-outlined);box-shadow:var(--xmlui-shadow-Button-secondary-outlined);background:transparent}._button_1tdfj_13._outlinedSecondary_1tdfj_205:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-secondary-outlined--focus);outline-color:var(--xmlui-color-outline-Button-secondary-outlined--focus);outline-style:var(--xmlui-style-outline-Button-secondary-outlined--focus);outline-offset:var(--xmlui-offset-outline-Button-secondary-outlined--focus)}._button_1tdfj_13._outlinedSecondary_1tdfj_205:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-secondary-outlined--hover);background:var(--xmlui-color-bg-Button-secondary-outlined--hover);color:var(--xmlui-color-text-Button-secondary-outlined--hover)}._button_1tdfj_13._outlinedSecondary_1tdfj_205:not([disabled]):active{border-color:var(--xmlui-color-border-Button-secondary-outlined--active);background:var(--xmlui-color-bg-Button-secondary-outlined--active);color:var(--xmlui-color-text-Button-secondary-outlined--active)}._button_1tdfj_13._outlinedSecondary_1tdfj_205:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._outlinedAttention_1tdfj_237{font-size:var(--xmlui-font-size-Button-attention-outlined);font-weight:var(--xmlui-font-weight-Button-attention-outlined);border-radius:var(--xmlui-radius-Button-attention-outlined);border-width:var(--xmlui-thickness-border-Button-attention-outlined);border-color:var(--xmlui-color-border-Button-attention-outlined);border-style:var(--xmlui-style-border-Button-attention-outlined);color:var(--xmlui-color-text-Button-attention-outlined);box-shadow:var(--xmlui-shadow-Button-attention-outlined);background:transparent}._button_1tdfj_13._outlinedAttention_1tdfj_237:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-attention-outlined--focus);outline-color:var(--xmlui-color-outline-Button-attention-outlined--focus);outline-style:var(--xmlui-style-outline-Button-attention-outlined--focus);outline-offset:var(--xmlui-offset-outline-Button-attention-outlined--focus)}._button_1tdfj_13._outlinedAttention_1tdfj_237:not([disabled]):hover{border-color:var(--xmlui-color-border-Button-attention-outlined--hover);background:var(--xmlui-color-bg-Button-attention-outlined--hover);color:var(--xmlui-color-text-Button-attention-outlined--hover)}._button_1tdfj_13._outlinedAttention_1tdfj_237:not([disabled]):active{border-color:var(--xmlui-color-border-Button-attention-outlined--active);background:var(--xmlui-color-bg-Button-attention-outlined--active);color:var(--xmlui-color-text-Button-attention-outlined--active)}._button_1tdfj_13._outlinedAttention_1tdfj_237:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled);border-color:var(--xmlui-color-border-Button--disabled)}._button_1tdfj_13._ghostPrimary_1tdfj_269{font-size:var(--xmlui-font-size-Button-primary-ghost);font-weight:var(--xmlui-font-weight-Button-primary-ghost);border-radius:var(--xmlui-radius-Button-primary-ghost);border-width:var(--xmlui-thickness-border-Button-primary-ghost);border-color:transparent;border-style:solid;background:transparent;color:var(--xmlui-color-text-Button-primary-ghost)}._button_1tdfj_13._ghostPrimary_1tdfj_269:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-primary-ghost--focus);outline-color:var(--xmlui-color-outline-Button-primary-ghost--focus);outline-style:var(--xmlui-style-outline-Button-primary-ghost--focus);outline-offset:var(--xmlui-offset-outline-Button-primary-ghost--focus)}._button_1tdfj_13._ghostPrimary_1tdfj_269:not([disabled]):hover{background:var(--xmlui-color-bg-Button-primary-ghost--hover);color:var(--xmlui-color-text-Button-primary-ghost--hover)}._button_1tdfj_13._ghostPrimary_1tdfj_269:not([disabled]):active{background:var(--xmlui-color-bg-Button-primary-ghost--active);color:var(--xmlui-color-text-Button-primary-ghost--active)}._button_1tdfj_13._ghostPrimary_1tdfj_269:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled)}._button_1tdfj_13._ghostSecondary_1tdfj_297{font-size:var(--xmlui-font-size-Button-secondary-ghost);font-weight:var(--xmlui-font-weight-Button-secondary-ghost);border-radius:var(--xmlui-radius-Button-secondary-ghost);border-width:var(--xmlui-thickness-border-Button-secondary-ghost);border-color:transparent;border-style:solid;background:transparent;color:var(--xmlui-color-text-Button-secondary-ghost)}._button_1tdfj_13._ghostSecondary_1tdfj_297:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-secondary-ghost--focus);outline-color:var(--xmlui-color-outline-Button-secondary-ghost--focus);outline-style:var(--xmlui-style-outline-Button-secondary-ghost--focus);outline-offset:var(--xmlui-offset-outline-Button-secondary-ghost--focus)}._button_1tdfj_13._ghostSecondary_1tdfj_297:not([disabled]):hover{background:var(--xmlui-color-bg-Button-secondary-ghost--hover);color:var(--xmlui-color-text-Button-secondary-ghost--hover)}._button_1tdfj_13._ghostSecondary_1tdfj_297:not([disabled]):active{background:var(--xmlui-color-bg-Button-secondary-ghost--active);color:var(--xmlui-color-text-Button-secondary-ghost--active)}._button_1tdfj_13._ghostSecondary_1tdfj_297:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled)}._button_1tdfj_13._ghostAttention_1tdfj_325{font-size:var(--xmlui-font-size-Button-attention-ghost);font-weight:var(--xmlui-font-weight-Button-attention-ghost);border-radius:var(--xmlui-radius-Button-attention-ghost);border-width:var(--xmlui-thickness-border-Button-attention-ghost);border-color:transparent;border-style:solid;background:transparent;color:var(--xmlui-color-text-Button-attention-ghost)}._button_1tdfj_13._ghostAttention_1tdfj_325:focus-visible{outline-width:var(--xmlui-thickness-outline-Button-attention-ghost--focus);outline-color:var(--xmlui-color-outline-Button-attention-ghost--focus);outline-style:var(--xmlui-style-outline-Button-attention-ghost--focus);outline-offset:var(--xmlui-offset-outline-Button-attention-ghost--focus)}._button_1tdfj_13._ghostAttention_1tdfj_325:not([disabled]):hover{background:var(--xmlui-color-bg-Button-attention-ghost--hover);color:var(--xmlui-color-text-Button-attention-ghost--hover)}._button_1tdfj_13._ghostAttention_1tdfj_325:not([disabled]):active{background:var(--xmlui-color-bg-Button-attention-ghost--active);color:var(--xmlui-color-text-Button-attention-ghost--active)}._button_1tdfj_13._ghostAttention_1tdfj_325:disabled{cursor:not-allowed;color:var(--xmlui-color-text-Button--disabled)}._wrapper_dyj8i_13{--syntax-token-component: #cb5291;--syntax-token-delimiter-angle: #66748E;--syntax-token-attribute-name: #2d2d2d;--syntax-token-equal-sign: #2d2d2d;--syntax-token-string: #0074a9;--syntax-token-script: #02A1A1;--syntax-token-helper: #005AE1;--syntax-token-comment: #4E4E4E;--syntax-token-escape: #00B248;--syntax-token-constant: #708C00;--syntax-token-cdata: #079CF1;--syntax-token-delimiter-curly: #000000;--syntax-token-text: #4e5fb3}._wrapper_dyj8i_13._dark_dyj8i_28{--syntax-token-component: #f472b6;--syntax-token-delimiter-angle: #97A7C5;--syntax-token-attribute-name: #cbd5e1;--syntax-token-equal-sign: #cbd5e1;--syntax-token-string: #7dd3fc;--syntax-token-script: #78DBDB;--syntax-token-helper: #80A6F8;--syntax-token-comment: #CFCFCF;--syntax-token-escape: #61F69D;--syntax-token-constant: #BAF80A;--syntax-token-cdata: #5CC1F9;--syntax-token-delimiter-curly: #FFFFFF;--syntax-token-text: #f5f5ff}._wrapper_dyj8i_13>.shiki{background-color:transparent!important}._wrapper_fpcuh_13{opacity:.5}._wrapper_fpcuh_13:hover{opacity:1}._stateViewerContainer_1m8hd_13{position:relative;display:flex}._overlay_1m8hd_18{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}._overlay_1m8hd_18._showBoundary_1m8hd_26{border:1px dashed orangered}._marker_1m8hd_30{position:absolute;top:0;left:0;width:8px;height:8px;border-radius:10px;border:2px solid orangered;cursor:zoom-in;pointer-events:auto;background-color:#ff4500}._marker_1m8hd_30._blink_1m8hd_42{animation:_blink_1m8hd_42 1s infinite}@keyframes _blink_1m8hd_42{0%{background-color:red}50%{background-color:transparent}to{background-color:red}}._binding_14mdd_1,._database_14jkq_1{fill:var(--colorFontMain)}._base_gzmhm_13{display:flex;justify-content:flex-start;align-items:stretch;min-height:0;min-width:0;gap:var(--stack-gap-default)}._base_gzmhm_13._hoverContainer_gzmhm_22 .display-on-hover{transition:opacity .1s;opacity:0}._base_gzmhm_13._hoverContainer_gzmhm_22:has(.dropdown-visible) .display-on-hover{opacity:1}._base_gzmhm_13._hoverContainer_gzmhm_22:hover .display-on-hover,._base_gzmhm_13._hoverContainer_gzmhm_22:focus-within .display-on-hover{opacity:1}._base_gzmhm_13._handlesClick_gzmhm_32{cursor:pointer}._vertical_gzmhm_36{flex-direction:column;min-height:0}._vertical_gzmhm_36._reverse_gzmhm_40{flex-direction:column-reverse}._horizontal_gzmhm_44{flex-direction:row}._horizontal_gzmhm_44._reverse_gzmhm_40{flex-direction:row-reverse}._justifyItemsStart_gzmhm_52{justify-content:flex-start}._justifyItemsCenter_gzmhm_56{justify-content:center}._justifyItemsStretch_gzmhm_60{justify-content:stretch}._justifyItemsEnd_gzmhm_64{justify-content:flex-end}._alignItemsStart_gzmhm_69{align-items:flex-start}._alignItemsCenter_gzmhm_73{align-items:center}._alignItemsStretch_gzmhm_77{align-items:stretch}._alignItemsEnd_gzmhm_81{align-items:flex-end}._spacer_1414d_13{flex:1 1 0!important;place-self:stretch}._textarea_8qfuq_13{display:block;width:100%;line-height:1.5em;outline:none;resize:none;border-style:solid;border-width:1px;transition:border .1s ease-in-out,box-shadow .1s ease-in-out,background .1s ease-in-out;border-radius:var(--xmlui-radius-Textarea-default);border-color:var(--xmlui-color-border-Textarea-default);border-width:var(--xmlui-thickness-border-Textarea-default);border-style:var(--xmlui-style-border-Textarea-default);font-size:var(--xmlui-font-size-Textarea-default);padding:var(--xmlui-padding-Textarea-default);background-color:var(--xmlui-color-bg-Textarea-default);box-shadow:var(--xmlui-shadow-Textarea-default);color:var(--xmlui-color-text-Textarea-default)}._textarea_8qfuq_13:hover{border-color:var(--xmlui-color-border-Textarea-default--hover);background-color:var(--xmlui-color-bg-Textarea-default--hover);box-shadow:var(--xmlui-shadow-Textarea-default--hover);color:var(--xmlui-color-text-Textarea-default--hover)}._textarea_8qfuq_13:focus-within{border-color:var(--xmlui-color-border-Textarea-default--focus);background-color:var(--xmlui-color-bg-Textarea-default--focus);box-shadow:var(--xmlui-shadow-Textarea-default--focus);color:var(--xmlui-color-text-Textarea-default--focus)}._textarea_8qfuq_13:focus-visible{outline-width:var(--xmlui-thickness-outline-Textarea-default--focus);outline-color:var(--xmlui-color-outline-Textarea-default--focus);outline-style:var(--xmlui-style-outline-Textarea-default--focus);outline-offset:var(--xmlui-offset-outline-Textarea-default--focus)}._textarea_8qfuq_13::placeholder{color:var(--xmlui-color-placeholder-Textarea-default)}._textarea_8qfuq_13._error_8qfuq_53{border-radius:var(--xmlui-radius-Textarea-error);border-color:var(--xmlui-color-border-Textarea-error);border-width:var(--xmlui-thickness-border-Textarea-error);border-style:var(--xmlui-style-border-Textarea-error);font-size:var(--xmlui-font-size-Textarea-error);padding:var(--xmlui-padding-Textarea-error);background-color:var(--xmlui-color-bg-Textarea-error);box-shadow:var(--xmlui-shadow-Textarea-error);color:var(--xmlui-color-text-Textarea-error)}._textarea_8qfuq_13._error_8qfuq_53:hover{border-color:var(--xmlui-color-border-Textarea-error--hover);background-color:var(--xmlui-color-bg-Textarea-error--hover);box-shadow:var(--xmlui-shadow-Textarea-error--hover);color:var(--xmlui-color-text-Textarea-error--hover)}._textarea_8qfuq_13._error_8qfuq_53:focus-within{border-color:var(--xmlui-color-border-Textarea-error--focus);background-color:var(--xmlui-color-bg-Textarea-error--focus);box-shadow:var(--xmlui-shadow-Textarea-error--focus);color:var(--xmlui-color-text-Textarea-error--focus)}._textarea_8qfuq_13._error_8qfuq_53:focus-visible{outline-width:var(--xmlui-thickness-outline-Textarea-error--focus);outline-color:var(--xmlui-color-outline-Textarea-error--focus);outline-style:var(--xmlui-style-outline-Textarea-error--focus);outline-offset:var(--xmlui-offset-outline-Textarea-error--focus)}._textarea_8qfuq_13._error_8qfuq_53::placeholder{color:var(--xmlui-color-placeholder-Textarea-error)}._textarea_8qfuq_13._warning_8qfuq_85{border-radius:var(--xmlui-radius-Textarea-warning);border-color:var(--xmlui-color-border-Textarea-warning);border-width:var(--xmlui-thickness-border-Textarea-warning);border-style:var(--xmlui-style-border-Textarea-warning);font-size:var(--xmlui-font-size-Textarea-warning);padding:var(--xmlui-padding-Textarea-warning);background-color:var(--xmlui-color-bg-Textarea-warning);box-shadow:var(--xmlui-shadow-Textarea-warning);color:var(--xmlui-color-text-Textarea-warning)}._textarea_8qfuq_13._warning_8qfuq_85:hover{border-color:var(--xmlui-color-border-Textarea-warning--hover);background-color:var(--xmlui-color-bg-Textarea-warning--hover);box-shadow:var(--xmlui-shadow-Textarea-warning--hover);color:var(--xmlui-color-text-Textarea-warning--hover)}._textarea_8qfuq_13._warning_8qfuq_85:focus-within{border-color:var(--xmlui-color-border-Textarea-warning--focus);background-color:var(--xmlui-color-bg-Textarea-warning--focus);box-shadow:var(--xmlui-shadow-Textarea-warning--focus);color:var(--xmlui-color-text-Textarea-warning--focus)}._textarea_8qfuq_13._warning_8qfuq_85:focus-visible{outline-width:var(--xmlui-thickness-outline-Textarea-warning--focus);outline-color:var(--xmlui-color-outline-Textarea-warning--focus);outline-style:var(--xmlui-style-outline-Textarea-warning--focus);outline-offset:var(--xmlui-offset-outline-Textarea-warning--focus)}._textarea_8qfuq_13._warning_8qfuq_85::placeholder{color:var(--xmlui-color-placeholder-Textarea-warning)}._textarea_8qfuq_13._valid_8qfuq_117{border-radius:var(--xmlui-radius-Textarea-success);border-color:var(--xmlui-color-border-Textarea-success);border-width:var(--xmlui-thickness-border-Textarea-success);border-style:var(--xmlui-style-border-Textarea-success);font-size:var(--xmlui-font-size-Textarea-success);padding:var(--xmlui-padding-Textarea-success);background-color:var(--xmlui-color-bg-Textarea-success);box-shadow:var(--xmlui-shadow-Textarea-success);color:var(--xmlui-color-text-Textarea-success)}._textarea_8qfuq_13._valid_8qfuq_117:hover{border-color:var(--xmlui-color-border-Textarea-success--hover);background-color:var(--xmlui-color-bg-Textarea-success--hover);box-shadow:var(--xmlui-shadow-Textarea-success--hover);color:var(--xmlui-color-text-Textarea-success--hover)}._textarea_8qfuq_13._valid_8qfuq_117:focus-within{border-color:var(--xmlui-color-border-Textarea-success--focus);background-color:var(--xmlui-color-bg-Textarea-success--focus);box-shadow:var(--xmlui-shadow-Textarea-success--focus);color:var(--xmlui-color-text-Textarea-success--focus)}._textarea_8qfuq_13._valid_8qfuq_117:focus-visible{outline-width:var(--xmlui-thickness-outline-Textarea-success--focus);outline-color:var(--xmlui-color-outline-Textarea-success--focus);outline-style:var(--xmlui-style-outline-Textarea-success--focus);outline-offset:var(--xmlui-offset-outline-Textarea-success--focus)}._textarea_8qfuq_13._valid_8qfuq_117::placeholder{color:var(--xmlui-color-placeholder-Textarea-success)}._textarea_8qfuq_13:is(:disabled){cursor:not-allowed;background-color:var(--xmlui-color-bg-Textarea--disabled);color:var(--xmlui-color-text-Textarea--disabled);border-color:var(--xmlui-color-border-Textarea--disabled)}._resizeHorizontal_8qfuq_156{resize:horizontal}._resizeVertical_8qfuq_160{resize:vertical}._resizeBoth_8qfuq_164{resize:both}._container_1ylw9_13{display:flex;width:100%;flex-direction:column;align-items:start;gap:.5em}._container_1ylw9_13._top_1ylw9_20{flex-direction:column;align-items:start;justify-content:center}._container_1ylw9_13._end_1ylw9_25{flex-direction:row-reverse;align-items:center;justify-content:start;gap:.5em}._container_1ylw9_13._bottom_1ylw9_31{flex-direction:column-reverse;align-items:start;justify-content:center}._container_1ylw9_13._start_1ylw9_36{flex-direction:row;align-items:center;justify-content:start;gap:.5em}._container_1ylw9_13._shrinkToLabel_1ylw9_42{width:fit-content}._container_1ylw9_13 ._inputLabel_1ylw9_45{display:flex;color:var(--xmlui-color-text-FormItemLabel);font-size:var(--xmlui-font-size-FormItemLabel);font-weight:var(--xmlui-font-weight-FormItemLabel);font-style:var(--xmlui-font-style-FormItemLabel);text-transform:var(--xmlui-transform-text-FormItemLabel);-webkit-user-select:none;user-select:none;cursor:pointer;word-break:normal;white-space:nowrap}._container_1ylw9_13 ._inputLabel_1ylw9_45._disabled_1ylw9_57{cursor:not-allowed;color:var(--xmlui-color-text--disabled)}._container_1ylw9_13 ._inputLabel_1ylw9_45._labelBreak_1ylw9_61{white-space:normal;word-break:break-word}._container_1ylw9_13 ._inputLabel_1ylw9_45._required_1ylw9_65{color:var(--xmlui-color-text-FormItemLabel-required);font-size:var(--xmlui-font-size-FormItemLabel-required);font-weight:var(--xmlui-font-weight-FormItemLabel-required);font-style:var(--xmlui-font-style-FormItemLabel-required);text-transform:var(--xmlui-transform-text-FormItemLabel-required)}._container_1ylw9_13 ._inputLabel_1ylw9_45 ._requiredMark_1ylw9_72{margin-left:.2em;color:var(--xmlui-color-text-FormItemLabel-requiredMark)}._lds-ring_xu4p3_13{display:inline-block;position:relative;width:var(--xmlui-size-Spinner);height:var(--xmlui-size-Spinner)}._lds-ring_xu4p3_13 div{box-sizing:border-box;display:block;position:absolute;width:80%;height:80%;margin:10%;border-width:var(--xmlui-thickness-Spinner);border-style:solid;border-radius:50%;animation:_lds-ring_xu4p3_13 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:var(--xmlui-color-border-Spinner) transparent transparent transparent}._lds-ring_xu4p3_13 div:nth-child(1){animation-delay:-.45s}._lds-ring_xu4p3_13 div:nth-child(2){animation-delay:-.3s}._lds-ring_xu4p3_13 div:nth-child(3){animation-delay:-.15s}@keyframes _lds-ring_xu4p3_13{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._fullScreenSpinnerWrapper_xu4p3_54{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}._content_qpkxv_13._base_qpkxv_13{padding:var(--xmlui-padding-vertical-NavLink) var(--xmlui-padding-horizontal-NavLink);border:none;outline:inherit;text-decoration:none;cursor:pointer;display:flex;align-items:center;gap:var(--xmlui-space-2);font-size:var(--xmlui-font-size-NavLink);font-weight:var(--xmlui-font-weight-NavLink);font-family:var(--xmlui-font-family-NavLink);position:relative;transition:color .1s,background-color .1s;border-radius:var(--xmlui-radius-NavLink);color:var(--xmlui-color-text-NavLink);background-color:var(--xmlui-color-bg-NavLink);flex-shrink:0;white-space:nowrap}._content_qpkxv_13._base_qpkxv_13 ._icon_qpkxv_33{color:var(--xmlui-color-icon-NavLink)}._content_qpkxv_13._base_qpkxv_13 *{color:var(--xmlui-color-text-NavLink)}._content_qpkxv_13._base_qpkxv_13._includeHoverIndicator_qpkxv_39:after{transition:color .1s,background-color .1s;position:absolute;left:.1em;right:.1em;bottom:0;height:var(--xmlui-thickness-indicator-NavLink);border-radius:var(--xmlui-radius-indicator-NavLink);content:""}._content_qpkxv_13._base_qpkxv_13:hover._displayActive_qpkxv_49,._content_qpkxv_13._base_qpkxv_13:focus-visible{color:var(--xmlui-color-text-NavLink--hover);background-color:var(--xmlui-color-bg-NavLink--hover)}._content_qpkxv_13._base_qpkxv_13:hover._displayActive_qpkxv_49 *,._content_qpkxv_13._base_qpkxv_13:focus-visible *{color:var(--xmlui-color-text-NavLink--hover)}._content_qpkxv_13._base_qpkxv_13:hover._displayActive_qpkxv_49:after,._content_qpkxv_13._base_qpkxv_13:focus-visible:after{background-color:var(--xmlui-color-indicator-NavLink--hover)}._content_qpkxv_13._base_qpkxv_13:focus-visible{outline-width:var(--xmlui-thickness-outline-NavLink--focus);outline-color:var(--xmlui-color-outline-NavLink--focus);outline-style:var(--xmlui-style-outline-NavLink--focus);outline-offset:var(--xmlui-offset-outline-NavLink--focus)}._content_qpkxv_13._base_qpkxv_13[role=menuitem]{outline:none}._content_qpkxv_13._base_qpkxv_13[role=menuitem]:not(:hover):focus-visible{outline-width:var(--xmlui-thickness-outline-NavLink--focus);outline-color:var(--xmlui-color-outline-NavLink--focus);outline-style:var(--xmlui-style-outline-NavLink--focus);outline-offset:var(--xmlui-offset-outline-NavLink--focus)}._content_qpkxv_13._base_qpkxv_13:active._displayActive_qpkxv_49{color:var(--xmlui-color-text-NavLink--pressed);background-color:var(--xmlui-color-bg-NavLink--pressed);font-weight:var(--xmlui-font-weight-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13:active._displayActive_qpkxv_49 *{font-weight:var(--xmlui-font-weight-NavLink--pressed);color:var(--xmlui-color-text-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13:active._displayActive_qpkxv_49:after{background-color:var(--xmlui-color-indicator-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86{color:var(--xmlui-color-text-NavLink--active);background-color:var(--xmlui-color-bg-NavLink--active);font-weight:var(--xmlui-font-weight-NavLink--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86 *{font-weight:var(--xmlui-font-weight-NavLink--active);color:var(--xmlui-color-text-NavLink--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86>*{z-index:1}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:hover{color:var(--xmlui-color-text-NavLink--hover--active);background-color:var(--xmlui-color-bg-NavLink--hover--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:hover *{color:var(--xmlui-color-text-NavLink--hover--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:after{z-index:0;background-color:var(--xmlui-color-indicator-NavLink--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:active{color:var(--xmlui-color-text-NavLink--pressed--active);background-color:var(--xmlui-color-bg-NavLink--pressed--active);font-weight:var(--xmlui-font-weight-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:active *{font-weight:var(--xmlui-font-weight-NavLink--pressed);color:var(--xmlui-color-text-NavLink--pressed--active)}._content_qpkxv_13._base_qpkxv_13._navItemActive_qpkxv_86:active:after{background-color:var(--xmlui-color-indicator-NavLink--pressed)}._content_qpkxv_13._base_qpkxv_13._disabled_qpkxv_121{cursor:not-allowed;color:var(--xmlui-color-text--disabled)}._content_qpkxv_13._base_qpkxv_13._vertical_qpkxv_125:after{top:0;bottom:0;left:0;right:auto;width:var(--xmlui-thickness-indicator-NavLink);height:auto;border-radius:var(--xmlui-radius-indicator-NavLink)}._content_qpkxv_13._base_qpkxv_13._indented_qpkxv_134{padding-left:2.4em;flex-shrink:0}._wrapper_1e0pi_13{--footer-height: 0px;--header-height: 0px;width:100%;height:100%;position:relative;display:flex;flex-direction:column;isolation:isolate}._wrapper_1e0pi_13._vertical_1e0pi_23{flex-direction:row;overflow:initial}._wrapper_1e0pi_13._vertical_1e0pi_23 ._contentWrapper_1e0pi_27{overflow:auto;position:relative;scrollbar-gutter:stable both-edges}._wrapper_1e0pi_13._vertical_1e0pi_23 ._navPanelWrapper_1e0pi_32{width:var(--xmlui-width-navPanel-App);flex-shrink:0}._wrapper_1e0pi_13._vertical_1e0pi_23 ._PagesWrapper_1e0pi_36{min-height:initial;flex:1}._wrapper_1e0pi_13._vertical_1e0pi_23 ._footerWrapper_1e0pi_40{position:static}._wrapper_1e0pi_13._vertical_1e0pi_23._sticky_1e0pi_43 ._footerWrapper_1e0pi_40{position:sticky;bottom:0}._wrapper_1e0pi_13._horizontal_1e0pi_47{overflow:auto}._wrapper_1e0pi_13._horizontal_1e0pi_47 ._PagesWrapper_1e0pi_36{min-height:initial}._wrapper_1e0pi_13._horizontal_1e0pi_47 ._footerWrapper_1e0pi_40{position:static}._wrapper_1e0pi_13._horizontal_1e0pi_47._sticky_1e0pi_43{scroll-padding-top:var(--header-height);min-height:100%}._wrapper_1e0pi_13._horizontal_1e0pi_47._sticky_1e0pi_43 ._footerWrapper_1e0pi_40{position:sticky;bottom:0}._wrapper_1e0pi_13._horizontal_1e0pi_47 ._navPanelWrapper_1e0pi_32{border-bottom:var(--xmlui-border-bottom-AppHeader);justify-content:end}._wrapper_1e0pi_13._verticalFullHeader_1e0pi_68{min-height:100%;height:100%;overflow:auto;scroll-padding-top:var(--header-height)}._wrapper_1e0pi_13._verticalFullHeader_1e0pi_68 ._navPanelWrapper_1e0pi_32{width:var(--xmlui-width-navPanel-App);position:sticky;height:calc(var(--containerHeight, 100vh) - var(--footer-height) - var(--header-height));top:var(--header-height)}._wrapper_1e0pi_13._verticalFullHeader_1e0pi_68 ._PagesWrapper_1e0pi_36{overflow:initial;min-height:calc(var(--containerHeight, 100vh) - var(--header-height) - var(--footer-height));height:100%}._wrapper_1e0pi_13._verticalFullHeader_1e0pi_68 ._PagesWrapperInner_1e0pi_85{height:100%}._wrapper_1e0pi_13._verticalFullHeader_1e0pi_68 ._PagesWrapperInner_1e0pi_85>.xmlui-page-root{height:100%}._wrapper_1e0pi_13._verticalFullHeader_1e0pi_68 ._footerWrapper_1e0pi_40{position:sticky;left:0;right:0;bottom:0}._wrapper_1e0pi_13._scrollWholePage_1e0pi_97{scrollbar-gutter:stable both-edges}._wrapper_1e0pi_13._scrollWholePage_1e0pi_97 ._headerWrapper_1e0pi_100{margin-inline:calc(-1 * var(--scrollbar-width))}._wrapper_1e0pi_13._scrollWholePage_1e0pi_97 ._headerWrapper_1e0pi_100>div{padding-inline:var(--scrollbar-width)}._wrapper_1e0pi_13._scrollWholePage_1e0pi_97 ._footerWrapper_1e0pi_40{margin-inline:calc(-1 * var(--scrollbar-width))}._wrapper_1e0pi_13._scrollWholePage_1e0pi_97 ._footerWrapper_1e0pi_40>div{padding-inline:var(--scrollbar-width)}._wrapper_1e0pi_13._scrollWholePage_1e0pi_97._verticalFullHeader_1e0pi_68 ._content_1e0pi_27{margin-inline:calc(-1 * var(--scrollbar-width))}._wrapper_1e0pi_13._scrollWholePage_1e0pi_97._verticalFullHeader_1e0pi_68 ._contentWrapper_1e0pi_27{padding-inline:var(--scrollbar-width)}._wrapper_1e0pi_13:not(._scrollWholePage_1e0pi_97){overflow:hidden}._wrapper_1e0pi_13:not(._scrollWholePage_1e0pi_97) ._content_1e0pi_27{min-height:0;height:100%}._wrapper_1e0pi_13:not(._scrollWholePage_1e0pi_97) ._contentWrapper_1e0pi_27{overflow:initial}._wrapper_1e0pi_13:not(._scrollWholePage_1e0pi_97) ._PagesWrapper_1e0pi_36{overflow:auto;scroll-padding-top:var(--header-height);min-height:0;height:100%;scrollbar-gutter:stable both-edges}._wrapper_1e0pi_13:not(._scrollWholePage_1e0pi_97) ._PagesWrapperInner_1e0pi_85{min-height:100%}._wrapper_1e0pi_13._noScrollbarGutters_1e0pi_138{scrollbar-gutter:auto}._headerWrapper_1e0pi_100{z-index:1;min-height:0;flex-shrink:0;overflow-x:clip;top:0;box-shadow:var(--xmlui-shadow-header-App);background-color:var(--xmlui-color-bg-AppHeader)}._headerWrapper_1e0pi_100._sticky_1e0pi_43{position:sticky}._content_1e0pi_27{display:flex;flex-direction:row;isolation:isolate}._contentWrapper_1e0pi_27{position:relative;min-width:0;flex:1;display:flex;flex-direction:column;box-shadow:var(--xmlui-shadow-pages-App)}._navPanelWrapper_1e0pi_32{display:flex;position:sticky;top:0}._navPanelWrapper_1e0pi_32:empty{display:none}._PagesWrapper_1e0pi_36{flex:1;isolation:isolate}._PagesWrapperInner_1e0pi_85{--page-padding-left: var(--xmlui-space-4);--page-padding-right: var(--xmlui-space-4);--page-padding-top: var(--xmlui-space-5);--page-padding-bottom: var(--xmlui-space-5);--page-gap: var(--xmlui-space-5);max-width:var(--xmlui-max-content-width-App);width:100%;margin:0 auto;min-height:100%;padding-top:var(--page-padding-top);padding-bottom:var(--page-padding-bottom);padding-right:var(--page-padding-right);padding-left:var(--page-padding-left);gap:var(--page-gap);display:flex;flex-direction:column}._PagesWrapperInner_1e0pi_85>.xmlui-page-root{padding-top:var(--page-padding-top-override, var(--page-padding-top));padding-bottom:var(--page-padding-bottom-override, var(--page-padding-bottom));padding-right:var(--page-padding-right-override, var(--page-padding-right));padding-left:var(--page-padding-left-override, var(--page-padding-left));gap:var(--page-gap);margin-top:calc(-1 * var(--page-padding-top));margin-bottom:calc(-1 * var(--page-gap));margin-left:calc(-1 * var(--page-padding-left));margin-right:calc(-1 * var(--page-padding-right))}._footerWrapper_1e0pi_40{flex-shrink:0}@keyframes _slide-in-from-left_p470r_1{0%{transform:translate(-100%);opacity:0;box-shadow:none}}@keyframes _slide-out-to-left_p470r_1{to{transform:translate(-100%);opacity:0;box-shadow:none}}@keyframes _blur-in_p470r_1{0%{background-color:transparent;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}}@keyframes _blur-out_p470r_1{to{-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0);background-color:transparent}}._overlay_p470r_39{position:absolute;top:0;right:0;bottom:0;left:0;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:rgb(from var(--xmlui-color-bg-primary) r g b/70%)}._overlay_p470r_39[data-state=open]{animation:_blur-in_p470r_1 .3s}._overlay_p470r_39[data-state=closed]{animation:_blur-out_p470r_1 .3s}._sheetContent_p470r_55{position:absolute;gap:1rem;background-color:var(--xmlui-color-bg);opacity:1;transform:translate(0);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;border-color:transparent}._sheetContent_p470r_55[data-state=open]{animation:_slide-in-from-left_p470r_1 .3s}._sheetContent_p470r_55[data-state=closed]{animation:_slide-out-to-left_p470r_1 .3s}._sheetContent_p470r_55._top_p470r_70{right:0;left:0;top:0;border-bottom-width:1px}._sheetContent_p470r_55._bottom_p470r_76{right:0;left:0;bottom:0;border-top-width:1px}._sheetContent_p470r_55._left_p470r_82{top:0;bottom:0;left:0;border-right-width:1px;width:100%;height:100%;max-width:20rem}._sheetContent_p470r_55._right_p470r_91{top:0;bottom:0;right:0;border-left-width:1px;width:100%;height:100%;max-width:20rem}._close_p470r_101{color:inherit;position:absolute;top:1rem;right:1rem;display:flex;align-items:center;justify-content:center;border-radius:.125rem;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;opacity:.7;background-color:transparent;border:0;cursor:pointer;z-index:2}._close_p470r_101:hover{opacity:1}._header_1h7yt_13{position:relative;height:var(--xmlui-height-AppHeader);box-sizing:content-box;background-color:var(--xmlui-color-bg-AppHeader);border-radius:var(--xmlui-radius-AppHeader);border-width:var(--xmlui-thickness-border-AppHeader);border-style:var(--xmlui-style-border-AppHeader);border-color:var(--xmlui-color-border-AppHeader);border-top-width:var(--xmlui-thickness-border-top-AppHeader);border-top-style:var(--xmlui-style-border-top-AppHeader);border-top-color:var(--xmlui-color-border-top-AppHeader);border-bottom-width:var(--xmlui-thickness-border-bottom-AppHeader);border-bottom-style:var(--xmlui-style-border-bottom-AppHeader);border-bottom-color:var(--xmlui-color-border-bottom-AppHeader);border-left-width:var(--xmlui-thickness-border-left-AppHeader);border-left-style:var(--xmlui-style-border-left-AppHeader);border-left-color:var(--xmlui-color-border-left-AppHeader);border-right-width:var(--xmlui-thickness-border-right-AppHeader);border-right-style:var(--xmlui-style-border-right-AppHeader);border-right-color:var(--xmlui-color-border-right-AppHeader)}._headerInner_1h7yt_36{height:100%;flex:1;gap:var(--xmlui-space-4);flex-shrink:0;display:flex;flex-direction:row;align-items:center;max-width:var(--xmlui-max-content-width-AppHeader);padding-inline:var(--xmlui-padding-horizontal-AppHeader);padding-top:var(--xmlui-padding-vertical-AppHeader);padding-bottom:var(--xmlui-padding-vertical-AppHeader);width:100%;margin:0 auto}._headerInner_1h7yt_36._full_1h7yt_51{max-width:100%}._childrenWrapper_1h7yt_55{--stack-gap-default: var(--xmlui-space-2);display:flex;flex-direction:row;flex:1;min-width:0;height:100%;align-items:center;gap:var(--stack-gap-default);justify-content:var(--xmlui-align-content-AppHeader)}._logoAndTitle_1h7yt_67{display:flex;align-items:center;gap:var(--xmlui-space-4);height:100%}._logoAndTitle_1h7yt_67:not(:empty){padding-right:var(--xmlui-space-2)}._logoAndTitle_1h7yt_67:empty{display:none}._logoContainer_1h7yt_80:not(:empty){flex-shrink:0;display:flex;width:var(--xmlui-width-logo-AppHeader);height:100%;align-items:center;padding:var(--xmlui-padding-logo-AppHeader)}._customLogoContainer_1h7yt_89{display:flex;height:100%;align-items:center}._customLogoContainer_1h7yt_89>img{height:100%}._rightItems_1h7yt_98{--stack-gap-default: var(--xmlui-space-2);gap:var(--stack-gap-default);height:100%;display:flex;flex-direction:row;align-items:center}._rightItems_1h7yt_98:not(:empty){padding-left:var(--xmlui-space-4)}._appHub_1h7yt_110{text-decoration:none;margin-right:var(--xmlui-space-4);width:40px;padding:var(--xmlui-space-2);color:var(--xmlui-color-text-subtitle);cursor:pointer}._appHub_1h7yt_110:hover{color:var(--xmlui-color-text-secondary)}._appHub_1h7yt_110 svg{width:100%;height:100%}._img_dk2s3_13{display:block;width:100%;height:100%;object-fit:contain}._img_dk2s3_13._clickable_dk2s3_19{cursor:pointer}._wrapper_dzy35_13{--footer-height: 0;height:100%;width:100%;flex-shrink:0;box-shadow:var(--xmlui-shadow-NavPanel);border-radius:var(--xmlui-radius-NavPanel);border-width:var(--xmlui-thickness-border-NavPanel);border-style:var(--xmlui-style-border-NavPanel);border-color:var(--xmlui-color-border-NavPanel);border-top-width:var(--xmlui-thickness-border-top-NavPanel);border-top-style:var(--xmlui-style-border-top-NavPanel);border-top-color:var(--xmlui-color-border-top-NavPanel);border-bottom-width:var(--xmlui-thickness-border-bottom-NavPanel);border-bottom-style:var(--xmlui-style-border-bottom-NavPanel);border-bottom-color:var(--xmlui-color-border-bottom-NavPanel);border-left-width:var(--xmlui-thickness-border-left-NavPanel);border-left-style:var(--xmlui-style-border-left-NavPanel);border-left-color:var(--xmlui-color-border-left-NavPanel);border-right-width:var(--xmlui-thickness-border-right-NavPanel);border-right-style:var(--xmlui-style-border-right-NavPanel);border-right-color:var(--xmlui-color-border-right-NavPanel);overflow:auto;position:relative;display:flex;flex-direction:column}._wrapper_dzy35_13:not(._condensed_dzy35_40){background-color:var(--xmlui-color-bg-NavPanel)}._wrapper_dzy35_13._horizontal_dzy35_43{border-right:0;box-shadow:none;height:var(--xmlui-height-AppHeader)}._wrapper_dzy35_13._horizontal_dzy35_43:not(._condensed_dzy35_40) ._wrapperInner_dzy35_48{padding-inline:var(--xmlui-padding-horizontal-NavPanel);justify-content:var(--xmlui-align-content-AppHeader)}._wrapper_dzy35_13._horizontal_dzy35_43 ._wrapperInner_dzy35_48{height:100%;flex-direction:row;max-width:var(--xmlui-max-content-width-App);width:100%;margin:0 auto;justify-content:var(--xmlui-align-content-AppHeader)}._wrapperInner_dzy35_48{display:flex;flex-direction:column;justify-content:var(--xmlui-align-content-AppHeader)}._logoWrapper_dzy35_67:not(:empty){display:flex;justify-content:center;flex-shrink:0;height:var(--xmlui-height-AppHeader);padding-top:calc(var(--xmlui-padding-vertical-logo-NavPanel) + var(--xmlui-padding-vertical-AppHeader));padding-bottom:calc(var(--xmlui-padding-vertical-logo-NavPanel) + var(--xmlui-padding-vertical-AppHeader));padding-inline:var(--xmlui-padding-horizontal-logo-NavPanel);margin-bottom:var(--xmlui-margin-bottom-logo-NavPanel)}._logoWrapper_dzy35_67._inDrawer_dzy35_77{min-height:40px}._container_gxlr6_13{flex-shrink:0;color:var(--xmlui-color-text-Link);font-weight:var(--xmlui-font-weight-Link);font-size:var(--xmlui-font-size-Link);cursor:pointer;text-decoration:none;width:fit-content;max-width:100%;max-height:100%;display:inline-flex;flex-direction:row;align-items:center}._container_gxlr6_13._active_gxlr6_27{color:var(--xmlui-color-text-Link--active);font-weight:var(--xmlui-font-weight-Link--active)}._container_gxlr6_13._disabled_gxlr6_31{pointer-events:none}._container_gxlr6_13:not(._disabled_gxlr6_31):hover{color:var(--xmlui-color-text-Link--hover)}._container_gxlr6_13:not(._disabled_gxlr6_31):focus-visible{outline-width:var(--xmlui-thickness-outline-Link--focus);outline-color:var(--xmlui-color-outline-Link--focus);outline-style:var(--xmlui-style-outline-Link--focus);outline-offset:var(--xmlui-offset-outline-Link--focus)}._container_gxlr6_13:not(._disabled_gxlr6_31)._active_gxlr6_27:hover{color:var(--xmlui-color-text-Link--hover--active)}._iconWrapper_gxlr6_47{padding:var(--xmlui-padding-icon-Link);padding-right:var(--xmlui-gap-icon-Link);line-height:0}._container_gxlr6_13:not(._active_gxlr6_27){text-underline-offset:var(--xmlui-offset-decoration-Link)}._container_gxlr6_13:not(._active_gxlr6_27):not([disabled]):hover{text-decoration-line:var(--xmlui-line-decoration-Link);text-decoration-color:var(--xmlui-color-decoration-Link);text-decoration-style:var(--xmlui-style-decoration-Link);text-decoration-thickness:var(--xmlui-thickness-decoration-Link)}._container_gxlr6_13:not(._active_gxlr6_27):not([disabled]):hover:has(>button){text-decoration-line:none}._container_gxlr6_13:not(._active_gxlr6_27):not([disabled]):active{text-decoration-line:var(--xmlui-line-decoration-Link);text-decoration-color:var(--xmlui-color-decoration-Link);text-decoration-style:var(--xmlui-style-decoration-Link);text-decoration-thickness:var(--xmlui-thickness-decoration-Link)}._container_gxlr6_13:not(._active_gxlr6_27):not([disabled]):active:has(>button){text-decoration-line:none}._wrapper_96qt9_14{flex:1}._rowWrapper_96qt9_18{display:flex;flex-direction:row;align-items:center;flex:1;min-width:0;height:100%;color:var(--xmlui-color-text-primary);position:relative}._rowWrapper_96qt9_18._selected_96qt9_28:before{content:"";background-color:var(--xmlui-color-bg-tree-row--selected--before);position:absolute;left:0;right:0;top:0;bottom:0;z-index:-1}._rowWrapper_96qt9_18:hover ._addButton_96qt9_38{opacity:1}._gutter_96qt9_42{flex-direction:row;flex-shrink:0;height:100%;display:flex;align-items:center}._toggleWrapper_96qt9_50{width:40px;height:24px;flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer}._toggleWrapper_96qt9_50._hidden_96qt9_59{visibility:hidden;pointer-events:none}._toggleWrapper_96qt9_50:before{transition:transform .2s;content:"›";font-size:24px;line-height:0;height:8px}._toggleWrapper_96qt9_50._expanded_96qt9_70:before{transform:rotate(90deg)}._depthPlaceholder_96qt9_74{flex-shrink:0}._labelWrapper_96qt9_78{white-space:nowrap;flex:1;display:flex;flex-direction:row;height:100%;flex-shrink:0;min-width:fit-content}._addButton_96qt9_38{height:100%;width:32px;background-color:transparent;border:0;cursor:pointer;opacity:0;flex-shrink:0}._heading_1tifa_13._h1_1tifa_13{color:var(--xmlui-color-text-H1);letter-spacing:var(--xmlui-letter-spacing-H1);font-family:var(--xmlui-font-family-H1);font-weight:var(--xmlui-font-weight-H1);font-size:var(--xmlui-font-size-H1);line-height:var(--xmlui-line-height-H1);margin-top:var(--xmlui-margin-top-H1);margin-bottom:var(--xmlui-margin-bottom-H1);text-decoration-line:var(--xmlui-line-decoration-H1);text-decoration-color:var(--xmlui-color-decoration-H1);text-decoration-style:var(--xmlui-style-decoration-H1);text-decoration-thickness:var(--xmlui-thickness-decoration-H1);text-underline-offset:var(--xmlui-offset-decoration-H1)}._heading_1tifa_13._h2_1tifa_28{color:var(--xmlui-color-text-H2);letter-spacing:var(--xmlui-letter-spacing-H2);font-family:var(--xmlui-font-family-H2);font-weight:var(--xmlui-font-weight-H2);font-size:var(--xmlui-font-size-H2);line-height:var(--xmlui-line-height-H2);margin-top:var(--xmlui-margin-top-H2);margin-bottom:var(--xmlui-margin-bottom-H2);text-decoration-line:var(--xmlui-line-decoration-H2);text-decoration-color:var(--xmlui-color-decoration-H2);text-decoration-style:var(--xmlui-style-decoration-H2);text-decoration-thickness:var(--xmlui-thickness-decoration-H2);text-underline-offset:var(--xmlui-offset-decoration-H2)}._heading_1tifa_13._h3_1tifa_43{color:var(--xmlui-color-text-H3);letter-spacing:var(--xmlui-letter-spacing-H3);font-family:var(--xmlui-font-family-H3);font-weight:var(--xmlui-font-weight-H3);font-size:var(--xmlui-font-size-H3);line-height:var(--xmlui-line-height-H3);margin-top:var(--xmlui-margin-top-H3);margin-bottom:var(--xmlui-margin-bottom-H3);text-decoration-line:var(--xmlui-line-decoration-H3);text-decoration-color:var(--xmlui-color-decoration-H3);text-decoration-style:var(--xmlui-style-decoration-H3);text-decoration-thickness:var(--xmlui-thickness-decoration-H3);text-underline-offset:var(--xmlui-offset-decoration-H3)}._heading_1tifa_13._h4_1tifa_58{color:var(--xmlui-color-text-H4);letter-spacing:var(--xmlui-letter-spacing-H4);font-family:var(--xmlui-font-family-H4);font-weight:var(--xmlui-font-weight-H4);font-size:var(--xmlui-font-size-H4);line-height:var(--xmlui-line-height-H4);margin-top:var(--xmlui-margin-top-H4);margin-bottom:var(--xmlui-margin-bottom-H4);text-decoration-line:var(--xmlui-line-decoration-H4);text-decoration-color:var(--xmlui-color-decoration-H4);text-decoration-style:var(--xmlui-style-decoration-H4);text-decoration-thickness:var(--xmlui-thickness-decoration-H4);text-underline-offset:var(--xmlui-offset-decoration-H4)}._heading_1tifa_13._h5_1tifa_73{color:var(--xmlui-color-text-H5);letter-spacing:var(--xmlui-letter-spacing-H5);font-family:var(--xmlui-font-family-H5);font-weight:var(--xmlui-font-weight-H5);font-size:var(--xmlui-font-size-H5);line-height:var(--xmlui-line-height-H5);margin-top:var(--xmlui-margin-top-H5);margin-bottom:var(--xmlui-margin-bottom-H5);text-decoration-line:var(--xmlui-line-decoration-H5);text-decoration-color:var(--xmlui-color-decoration-H5);text-decoration-style:var(--xmlui-style-decoration-H5);text-decoration-thickness:var(--xmlui-thickness-decoration-H5);text-underline-offset:var(--xmlui-offset-decoration-H5)}._heading_1tifa_13._h6_1tifa_88{color:var(--xmlui-color-text-H6);letter-spacing:var(--xmlui-letter-spacing-H6);font-family:var(--xmlui-font-family-H6);font-weight:var(--xmlui-font-weight-H6);font-size:var(--xmlui-font-size-H6);line-height:var(--xmlui-line-height-H6);margin-top:var(--xmlui-margin-top-H6);margin-bottom:var(--xmlui-margin-bottom-H6);text-decoration-line:var(--xmlui-line-decoration-H6);text-decoration-color:var(--xmlui-color-decoration-H6);text-decoration-style:var(--xmlui-style-decoration-H6);text-decoration-thickness:var(--xmlui-thickness-decoration-H6);text-underline-offset:var(--xmlui-offset-decoration-H6)}._truncateOverflow_1tifa_108{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._preserveLinebreaks_1tifa_114{white-space:pre-wrap}._noEllipsis_1tifa_118{text-overflow:clip}._text_1v46g_13{overflow:hidden;text-overflow:ellipsis;margin:0;padding:0;min-height:fit-content}._text_1v46g_13 ._text_1v46g_13{display:inline}._text_1v46g_13._abbr_1v46g_23{font-family:var(--xmlui-font-family-Text-abbr);font-size:var(--xmlui-font-size-Text-abbr);font-weight:var(--xmlui-font-weight-Text-abbr);font-style:var(--xmlui-font-style-Text-abbr);font-stretch:var(--xmlui-font-stretch-Text-abbr);text-decoration-line:var(--xmlui-line-decoration-Text-abbr);text-decoration-color:var(--xmlui-color-decoration-Text-abbr);text-decoration-style:var(--xmlui-style-decoration-Text-abbr);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-abbr);text-underline-offset:var(--xmlui-offset-decoration-Text-abbr);line-height:var(--xmlui-line-height-Text-abbr);color:var(--xmlui-color-Text-abbr);background-color:var(--xmlui-color-bg-Text-abbr);border-radius:var(--xmlui-border-radius-Text-abbr);border-color:var(--xmlui-color-border-Text-abbr);border-width:var(--xmlui-thickness-border-Text-abbr);border-style:var(--xmlui-style-border-Text-abbr);margin-top:var(--xmlui-margin-top-Text-abbr);margin-bottom:var(--xmlui-margin-bottom-Text-abbr);padding-left:var(--xmlui-padding-horizontal-Text-abbr);padding-right:var(--xmlui-padding-horizontal-Text-abbr);padding-top:var(--xmlui-padding-vertical-Text-abbr);padding-bottom:var(--xmlui-padding-vertical-Text-abbr);text-transform:var(--xmlui-transform-Text-abbr);vertical-align:var(--xmlui-align-vertical-Text-abbr);letter-spacing:var(--xmlui-letter-spacing-Text-abbr)}._text_1v46g_13._cite_1v46g_51{font-family:var(--xmlui-font-family-Text-cite);font-size:var(--xmlui-font-size-Text-cite);font-weight:var(--xmlui-font-weight-Text-cite);font-style:var(--xmlui-font-style-Text-cite);font-stretch:var(--xmlui-font-stretch-Text-cite);text-decoration-line:var(--xmlui-line-decoration-Text-cite);text-decoration-color:var(--xmlui-color-decoration-Text-cite);text-decoration-style:var(--xmlui-style-decoration-Text-cite);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-cite);text-underline-offset:var(--xmlui-offset-decoration-Text-cite);line-height:var(--xmlui-line-height-Text-cite);color:var(--xmlui-color-Text-cite);background-color:var(--xmlui-color-bg-Text-cite);border-radius:var(--xmlui-border-radius-Text-cite);border-color:var(--xmlui-color-border-Text-cite);border-width:var(--xmlui-thickness-border-Text-cite);border-style:var(--xmlui-style-border-Text-cite);margin-top:var(--xmlui-margin-top-Text-cite);margin-bottom:var(--xmlui-margin-bottom-Text-cite);padding-left:var(--xmlui-padding-horizontal-Text-cite);padding-right:var(--xmlui-padding-horizontal-Text-cite);padding-top:var(--xmlui-padding-vertical-Text-cite);padding-bottom:var(--xmlui-padding-vertical-Text-cite);text-transform:var(--xmlui-transform-Text-cite);vertical-align:var(--xmlui-align-vertical-Text-cite);letter-spacing:var(--xmlui-letter-spacing-Text-cite)}:not(._text_1v46g_13._codefence_1v46g_79)>._text_1v46g_13._code_1v46g_79{font-family:var(--xmlui-font-family-Text-code);font-size:var(--xmlui-font-size-Text-code);font-weight:var(--xmlui-font-weight-Text-code);font-style:var(--xmlui-font-style-Text-code);font-stretch:var(--xmlui-font-stretch-Text-code);text-decoration-line:var(--xmlui-line-decoration-Text-code);text-decoration-color:var(--xmlui-color-decoration-Text-code);text-decoration-style:var(--xmlui-style-decoration-Text-code);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-code);text-underline-offset:var(--xmlui-offset-decoration-Text-code);line-height:var(--xmlui-line-height-Text-code);color:var(--xmlui-color-Text-code);background-color:var(--xmlui-color-bg-Text-code);border-radius:var(--xmlui-border-radius-Text-code);border-color:var(--xmlui-color-border-Text-code);border-width:var(--xmlui-thickness-border-Text-code);border-style:var(--xmlui-style-border-Text-code);margin-top:var(--xmlui-margin-top-Text-code);margin-bottom:var(--xmlui-margin-bottom-Text-code);padding-left:var(--xmlui-padding-horizontal-Text-code);padding-right:var(--xmlui-padding-horizontal-Text-code);padding-top:var(--xmlui-padding-vertical-Text-code);padding-bottom:var(--xmlui-padding-vertical-Text-code);text-transform:var(--xmlui-transform-Text-code);vertical-align:var(--xmlui-align-vertical-Text-code);letter-spacing:var(--xmlui-letter-spacing-Text-code)}._text_1v46g_13._codefence_1v46g_79:has(>._text_1v46g_13._code_1v46g_79){font-family:var(--xmlui-font-family-Text-codefence);font-size:var(--xmlui-font-size-Text-codefence);font-weight:var(--xmlui-font-weight-Text-codefence);font-style:var(--xmlui-font-style-Text-codefence);font-stretch:var(--xmlui-font-stretch-Text-codefence);text-decoration-line:var(--xmlui-line-decoration-Text-codefence);text-decoration-color:var(--xmlui-color-decoration-Text-codefence);text-decoration-style:var(--xmlui-style-decoration-Text-codefence);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-codefence);text-underline-offset:var(--xmlui-offset-decoration-Text-codefence);line-height:var(--xmlui-line-height-Text-codefence);color:var(--xmlui-color-Text-codefence);background-color:var(--xmlui-color-bg-Text-codefence);border-radius:var(--xmlui-border-radius-Text-codefence);border-color:var(--xmlui-color-border-Text-codefence);border-width:var(--xmlui-thickness-border-Text-codefence);border-style:var(--xmlui-style-border-Text-codefence);margin-top:var(--xmlui-margin-top-Text-codefence);margin-bottom:var(--xmlui-margin-bottom-Text-codefence);padding-left:var(--xmlui-padding-horizontal-Text-codefence);padding-right:var(--xmlui-padding-horizontal-Text-codefence);padding-top:var(--xmlui-padding-vertical-Text-codefence);padding-bottom:var(--xmlui-padding-vertical-Text-codefence);text-transform:var(--xmlui-transform-Text-codefence);vertical-align:var(--xmlui-align-vertical-Text-codefence);letter-spacing:var(--xmlui-letter-spacing-Text-codefence)}._text_1v46g_13._deleted_1v46g_135{font-family:var(--xmlui-font-family-Text-deleted);font-size:var(--xmlui-font-size-Text-deleted);font-weight:var(--xmlui-font-weight-Text-deleted);font-style:var(--xmlui-font-style-Text-deleted);font-stretch:var(--xmlui-font-stretch-Text-deleted);text-decoration-line:var(--xmlui-line-decoration-Text-deleted);text-decoration-color:var(--xmlui-color-decoration-Text-deleted);text-decoration-style:var(--xmlui-style-decoration-Text-deleted);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-deleted);text-underline-offset:var(--xmlui-offset-decoration-Text-deleted);line-height:var(--xmlui-line-height-Text-deleted);color:var(--xmlui-color-Text-deleted);background-color:var(--xmlui-color-bg-Text-deleted);border-radius:var(--xmlui-border-radius-Text-deleted);border-color:var(--xmlui-color-border-Text-deleted);border-width:var(--xmlui-thickness-border-Text-deleted);border-style:var(--xmlui-style-border-Text-deleted);margin-top:var(--xmlui-margin-top-Text-deleted);margin-bottom:var(--xmlui-margin-bottom-Text-deleted);padding-left:var(--xmlui-padding-horizontal-Text-deleted);padding-right:var(--xmlui-padding-horizontal-Text-deleted);padding-top:var(--xmlui-padding-vertical-Text-deleted);padding-bottom:var(--xmlui-padding-vertical-Text-deleted);text-transform:var(--xmlui-transform-Text-deleted);vertical-align:var(--xmlui-align-vertical-Text-deleted);letter-spacing:var(--xmlui-letter-spacing-Text-deleted)}._text_1v46g_13._deleted_1v46g_135:before,._text_1v46g_13._deleted_1v46g_135:after{clip-path:inset(100%);clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}._text_1v46g_13._deleted_1v46g_135:before{content:" [deletion start] "}._text_1v46g_13._deleted_1v46g_135:after{content:" [deletion end] "}._text_1v46g_13._inserted_1v46g_178{font-family:var(--xmlui-font-family-Text-inserted);font-size:var(--xmlui-font-size-Text-inserted);font-weight:var(--xmlui-font-weight-Text-inserted);font-style:var(--xmlui-font-style-Text-inserted);font-stretch:var(--xmlui-font-stretch-Text-inserted);text-decoration-line:var(--xmlui-line-decoration-Text-inserted);text-decoration-color:var(--xmlui-color-decoration-Text-inserted);text-decoration-style:var(--xmlui-style-decoration-Text-inserted);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-inserted);text-underline-offset:var(--xmlui-offset-decoration-Text-inserted);line-height:var(--xmlui-line-height-Text-inserted);color:var(--xmlui-color-Text-inserted);background-color:var(--xmlui-color-bg-Text-inserted);border-radius:var(--xmlui-border-radius-Text-inserted);border-color:var(--xmlui-color-border-Text-inserted);border-width:var(--xmlui-thickness-border-Text-inserted);border-style:var(--xmlui-style-border-Text-inserted);margin-top:var(--xmlui-margin-top-Text-inserted);margin-bottom:var(--xmlui-margin-bottom-Text-inserted);padding-left:var(--xmlui-padding-horizontal-Text-inserted);padding-right:var(--xmlui-padding-horizontal-Text-inserted);padding-top:var(--xmlui-padding-vertical-Text-inserted);padding-bottom:var(--xmlui-padding-vertical-Text-inserted);text-transform:var(--xmlui-transform-Text-inserted);vertical-align:var(--xmlui-align-vertical-Text-inserted);letter-spacing:var(--xmlui-letter-spacing-Text-inserted)}._text_1v46g_13._inserted_1v46g_178:before,._text_1v46g_13._inserted_1v46g_178:after{clip-path:inset(100%);clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}._text_1v46g_13._inserted_1v46g_178:before{content:" [insertion start] "}._text_1v46g_13._inserted_1v46g_178:after{content:" [insertion end] "}._text_1v46g_13._keyboard_1v46g_221{font-family:var(--xmlui-font-family-Text-keyboard);font-size:var(--xmlui-font-size-Text-keyboard);font-weight:var(--xmlui-font-weight-Text-keyboard);font-style:var(--xmlui-font-style-Text-keyboard);font-stretch:var(--xmlui-font-stretch-Text-keyboard);text-decoration-line:var(--xmlui-line-decoration-Text-keyboard);text-decoration-color:var(--xmlui-color-decoration-Text-keyboard);text-decoration-style:var(--xmlui-style-decoration-Text-keyboard);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-keyboard);text-underline-offset:var(--xmlui-offset-decoration-Text-keyboard);line-height:var(--xmlui-line-height-Text-keyboard);color:var(--xmlui-color-Text-keyboard);background-color:var(--xmlui-color-bg-Text-keyboard);border-radius:var(--xmlui-border-radius-Text-keyboard);border-color:var(--xmlui-color-border-Text-keyboard);border-width:var(--xmlui-thickness-border-Text-keyboard);border-style:var(--xmlui-style-border-Text-keyboard);margin-top:var(--xmlui-margin-top-Text-keyboard);margin-bottom:var(--xmlui-margin-bottom-Text-keyboard);padding-left:var(--xmlui-padding-horizontal-Text-keyboard);padding-right:var(--xmlui-padding-horizontal-Text-keyboard);padding-top:var(--xmlui-padding-vertical-Text-keyboard);padding-bottom:var(--xmlui-padding-vertical-Text-keyboard);text-transform:var(--xmlui-transform-Text-keyboard);vertical-align:var(--xmlui-align-vertical-Text-keyboard);letter-spacing:var(--xmlui-letter-spacing-Text-keyboard)}._text_1v46g_13._marked_1v46g_249{font-family:var(--xmlui-font-family-Text-marked);font-size:var(--xmlui-font-size-Text-marked);font-weight:var(--xmlui-font-weight-Text-marked);font-style:var(--xmlui-font-style-Text-marked);font-stretch:var(--xmlui-font-stretch-Text-marked);text-decoration-line:var(--xmlui-line-decoration-Text-marked);text-decoration-color:var(--xmlui-color-decoration-Text-marked);text-decoration-style:var(--xmlui-style-decoration-Text-marked);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-marked);text-underline-offset:var(--xmlui-offset-decoration-Text-marked);line-height:var(--xmlui-line-height-Text-marked);color:var(--xmlui-color-Text-marked);background-color:var(--xmlui-color-bg-Text-marked);border-radius:var(--xmlui-border-radius-Text-marked);border-color:var(--xmlui-color-border-Text-marked);border-width:var(--xmlui-thickness-border-Text-marked);border-style:var(--xmlui-style-border-Text-marked);margin-top:var(--xmlui-margin-top-Text-marked);margin-bottom:var(--xmlui-margin-bottom-Text-marked);padding-left:var(--xmlui-padding-horizontal-Text-marked);padding-right:var(--xmlui-padding-horizontal-Text-marked);padding-top:var(--xmlui-padding-vertical-Text-marked);padding-bottom:var(--xmlui-padding-vertical-Text-marked);text-transform:var(--xmlui-transform-Text-marked);vertical-align:var(--xmlui-align-vertical-Text-marked);letter-spacing:var(--xmlui-letter-spacing-Text-marked)}._text_1v46g_13._marked_1v46g_249:before,._text_1v46g_13._marked_1v46g_249:after{clip-path:inset(100%);clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}._text_1v46g_13._marked_1v46g_249:before{content:" [highlight start] "}._text_1v46g_13._marked_1v46g_249:after{content:" [highlight end] "}._text_1v46g_13._mono_1v46g_292{font-family:var(--xmlui-font-family-Text-mono);font-size:var(--xmlui-font-size-Text-mono);font-weight:var(--xmlui-font-weight-Text-mono);font-style:var(--xmlui-font-style-Text-mono);font-stretch:var(--xmlui-font-stretch-Text-mono);text-decoration-line:var(--xmlui-line-decoration-Text-mono);text-decoration-color:var(--xmlui-color-decoration-Text-mono);text-decoration-style:var(--xmlui-style-decoration-Text-mono);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-mono);text-underline-offset:var(--xmlui-offset-decoration-Text-mono);line-height:var(--xmlui-line-height-Text-mono);color:var(--xmlui-color-Text-mono);background-color:var(--xmlui-color-bg-Text-mono);border-radius:var(--xmlui-border-radius-Text-mono);border-color:var(--xmlui-color-border-Text-mono);border-width:var(--xmlui-thickness-border-Text-mono);border-style:var(--xmlui-style-border-Text-mono);margin-top:var(--xmlui-margin-top-Text-mono);margin-bottom:var(--xmlui-margin-bottom-Text-mono);padding-left:var(--xmlui-padding-horizontal-Text-mono);padding-right:var(--xmlui-padding-horizontal-Text-mono);padding-top:var(--xmlui-padding-vertical-Text-mono);padding-bottom:var(--xmlui-padding-vertical-Text-mono);text-transform:var(--xmlui-transform-Text-mono);vertical-align:var(--xmlui-align-vertical-Text-mono);letter-spacing:var(--xmlui-letter-spacing-Text-mono)}._text_1v46g_13._sample_1v46g_320{font-family:var(--xmlui-font-family-Text-sample);font-size:var(--xmlui-font-size-Text-sample);font-weight:var(--xmlui-font-weight-Text-sample);font-style:var(--xmlui-font-style-Text-sample);font-stretch:var(--xmlui-font-stretch-Text-sample);text-decoration-line:var(--xmlui-line-decoration-Text-sample);text-decoration-color:var(--xmlui-color-decoration-Text-sample);text-decoration-style:var(--xmlui-style-decoration-Text-sample);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-sample);text-underline-offset:var(--xmlui-offset-decoration-Text-sample);line-height:var(--xmlui-line-height-Text-sample);color:var(--xmlui-color-Text-sample);background-color:var(--xmlui-color-bg-Text-sample);border-radius:var(--xmlui-border-radius-Text-sample);border-color:var(--xmlui-color-border-Text-sample);border-width:var(--xmlui-thickness-border-Text-sample);border-style:var(--xmlui-style-border-Text-sample);margin-top:var(--xmlui-margin-top-Text-sample);margin-bottom:var(--xmlui-margin-bottom-Text-sample);padding-left:var(--xmlui-padding-horizontal-Text-sample);padding-right:var(--xmlui-padding-horizontal-Text-sample);padding-top:var(--xmlui-padding-vertical-Text-sample);padding-bottom:var(--xmlui-padding-vertical-Text-sample);text-transform:var(--xmlui-transform-Text-sample);vertical-align:var(--xmlui-align-vertical-Text-sample);letter-spacing:var(--xmlui-letter-spacing-Text-sample)}._text_1v46g_13._sup_1v46g_348{font-family:var(--xmlui-font-family-Text-sup);font-size:var(--xmlui-font-size-Text-sup);font-weight:var(--xmlui-font-weight-Text-sup);font-style:var(--xmlui-font-style-Text-sup);font-stretch:var(--xmlui-font-stretch-Text-sup);text-decoration-line:var(--xmlui-line-decoration-Text-sup);text-decoration-color:var(--xmlui-color-decoration-Text-sup);text-decoration-style:var(--xmlui-style-decoration-Text-sup);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-sup);text-underline-offset:var(--xmlui-offset-decoration-Text-sup);line-height:var(--xmlui-line-height-Text-sup);color:var(--xmlui-color-Text-sup);background-color:var(--xmlui-color-bg-Text-sup);border-radius:var(--xmlui-border-radius-Text-sup);border-color:var(--xmlui-color-border-Text-sup);border-width:var(--xmlui-thickness-border-Text-sup);border-style:var(--xmlui-style-border-Text-sup);margin-top:var(--xmlui-margin-top-Text-sup);margin-bottom:var(--xmlui-margin-bottom-Text-sup);padding-left:var(--xmlui-padding-horizontal-Text-sup);padding-right:var(--xmlui-padding-horizontal-Text-sup);padding-top:var(--xmlui-padding-vertical-Text-sup);padding-bottom:var(--xmlui-padding-vertical-Text-sup);text-transform:var(--xmlui-transform-Text-sup);vertical-align:var(--xmlui-align-vertical-Text-sup);letter-spacing:var(--xmlui-letter-spacing-Text-sup)}._text_1v46g_13._sub_1v46g_376{font-family:var(--xmlui-font-family-Text-sub);font-size:var(--xmlui-font-size-Text-sub);font-weight:var(--xmlui-font-weight-Text-sub);font-style:var(--xmlui-font-style-Text-sub);font-stretch:var(--xmlui-font-stretch-Text-sub);text-decoration-line:var(--xmlui-line-decoration-Text-sub);text-decoration-color:var(--xmlui-color-decoration-Text-sub);text-decoration-style:var(--xmlui-style-decoration-Text-sub);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-sub);text-underline-offset:var(--xmlui-offset-decoration-Text-sub);line-height:var(--xmlui-line-height-Text-sub);color:var(--xmlui-color-Text-sub);background-color:var(--xmlui-color-bg-Text-sub);border-radius:var(--xmlui-border-radius-Text-sub);border-color:var(--xmlui-color-border-Text-sub);border-width:var(--xmlui-thickness-border-Text-sub);border-style:var(--xmlui-style-border-Text-sub);margin-top:var(--xmlui-margin-top-Text-sub);margin-bottom:var(--xmlui-margin-bottom-Text-sub);padding-left:var(--xmlui-padding-horizontal-Text-sub);padding-right:var(--xmlui-padding-horizontal-Text-sub);padding-top:var(--xmlui-padding-vertical-Text-sub);padding-bottom:var(--xmlui-padding-vertical-Text-sub);text-transform:var(--xmlui-transform-Text-sub);vertical-align:var(--xmlui-align-vertical-Text-sub);letter-spacing:var(--xmlui-letter-spacing-Text-sub)}._text_1v46g_13._var_1v46g_404{font-family:var(--xmlui-font-family-Text-var);font-size:var(--xmlui-font-size-Text-var);font-weight:var(--xmlui-font-weight-Text-var);font-style:var(--xmlui-font-style-Text-var);font-stretch:var(--xmlui-font-stretch-Text-var);text-decoration-line:var(--xmlui-line-decoration-Text-var);text-decoration-color:var(--xmlui-color-decoration-Text-var);text-decoration-style:var(--xmlui-style-decoration-Text-var);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-var);text-underline-offset:var(--xmlui-offset-decoration-Text-var);line-height:var(--xmlui-line-height-Text-var);color:var(--xmlui-color-Text-var);background-color:var(--xmlui-color-bg-Text-var);border-radius:var(--xmlui-border-radius-Text-var);border-color:var(--xmlui-color-border-Text-var);border-width:var(--xmlui-thickness-border-Text-var);border-style:var(--xmlui-style-border-Text-var);margin-top:var(--xmlui-margin-top-Text-var);margin-bottom:var(--xmlui-margin-bottom-Text-var);padding-left:var(--xmlui-padding-horizontal-Text-var);padding-right:var(--xmlui-padding-horizontal-Text-var);padding-top:var(--xmlui-padding-vertical-Text-var);padding-bottom:var(--xmlui-padding-vertical-Text-var);text-transform:var(--xmlui-transform-Text-var);vertical-align:var(--xmlui-align-vertical-Text-var);letter-spacing:var(--xmlui-letter-spacing-Text-var)}._text_1v46g_13._title_1v46g_432{font-family:var(--xmlui-font-family-Text-title);font-size:var(--xmlui-font-size-Text-title);font-weight:var(--xmlui-font-weight-Text-title);font-style:var(--xmlui-font-style-Text-title);font-stretch:var(--xmlui-font-stretch-Text-title);text-decoration-line:var(--xmlui-line-decoration-Text-title);text-decoration-color:var(--xmlui-color-decoration-Text-title);text-decoration-style:var(--xmlui-style-decoration-Text-title);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-title);text-underline-offset:var(--xmlui-offset-decoration-Text-title);line-height:var(--xmlui-line-height-Text-title);color:var(--xmlui-color-Text-title);background-color:var(--xmlui-color-bg-Text-title);border-radius:var(--xmlui-border-radius-Text-title);border-color:var(--xmlui-color-border-Text-title);border-width:var(--xmlui-thickness-border-Text-title);border-style:var(--xmlui-style-border-Text-title);margin-top:var(--xmlui-margin-top-Text-title);margin-bottom:var(--xmlui-margin-bottom-Text-title);padding-left:var(--xmlui-padding-horizontal-Text-title);padding-right:var(--xmlui-padding-horizontal-Text-title);padding-top:var(--xmlui-padding-vertical-Text-title);padding-bottom:var(--xmlui-padding-vertical-Text-title);text-transform:var(--xmlui-transform-Text-title);vertical-align:var(--xmlui-align-vertical-Text-title);letter-spacing:var(--xmlui-letter-spacing-Text-title)}._text_1v46g_13._subtitle_1v46g_460{font-family:var(--xmlui-font-family-Text-subtitle);font-size:var(--xmlui-font-size-Text-subtitle);font-weight:var(--xmlui-font-weight-Text-subtitle);font-style:var(--xmlui-font-style-Text-subtitle);font-stretch:var(--xmlui-font-stretch-Text-subtitle);text-decoration-line:var(--xmlui-line-decoration-Text-subtitle);text-decoration-color:var(--xmlui-color-decoration-Text-subtitle);text-decoration-style:var(--xmlui-style-decoration-Text-subtitle);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-subtitle);text-underline-offset:var(--xmlui-offset-decoration-Text-subtitle);line-height:var(--xmlui-line-height-Text-subtitle);color:var(--xmlui-color-Text-subtitle);background-color:var(--xmlui-color-bg-Text-subtitle);border-radius:var(--xmlui-border-radius-Text-subtitle);border-color:var(--xmlui-color-border-Text-subtitle);border-width:var(--xmlui-thickness-border-Text-subtitle);border-style:var(--xmlui-style-border-Text-subtitle);margin-top:var(--xmlui-margin-top-Text-subtitle);margin-bottom:var(--xmlui-margin-bottom-Text-subtitle);padding-left:var(--xmlui-padding-horizontal-Text-subtitle);padding-right:var(--xmlui-padding-horizontal-Text-subtitle);padding-top:var(--xmlui-padding-vertical-Text-subtitle);padding-bottom:var(--xmlui-padding-vertical-Text-subtitle);text-transform:var(--xmlui-transform-Text-subtitle);vertical-align:var(--xmlui-align-vertical-Text-subtitle);letter-spacing:var(--xmlui-letter-spacing-Text-subtitle)}._text_1v46g_13._small_1v46g_488{font-family:var(--xmlui-font-family-Text-small);font-size:var(--xmlui-font-size-Text-small);font-weight:var(--xmlui-font-weight-Text-small);font-style:var(--xmlui-font-style-Text-small);font-stretch:var(--xmlui-font-stretch-Text-small);text-decoration-line:var(--xmlui-line-decoration-Text-small);text-decoration-color:var(--xmlui-color-decoration-Text-small);text-decoration-style:var(--xmlui-style-decoration-Text-small);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-small);text-underline-offset:var(--xmlui-offset-decoration-Text-small);line-height:var(--xmlui-line-height-Text-small);color:var(--xmlui-color-Text-small);background-color:var(--xmlui-color-bg-Text-small);border-radius:var(--xmlui-border-radius-Text-small);border-color:var(--xmlui-color-border-Text-small);border-width:var(--xmlui-thickness-border-Text-small);border-style:var(--xmlui-style-border-Text-small);margin-top:var(--xmlui-margin-top-Text-small);margin-bottom:var(--xmlui-margin-bottom-Text-small);padding-left:var(--xmlui-padding-horizontal-Text-small);padding-right:var(--xmlui-padding-horizontal-Text-small);padding-top:var(--xmlui-padding-vertical-Text-small);padding-bottom:var(--xmlui-padding-vertical-Text-small);text-transform:var(--xmlui-transform-Text-small);vertical-align:var(--xmlui-align-vertical-Text-small);letter-spacing:var(--xmlui-letter-spacing-Text-small)}._text_1v46g_13._caption_1v46g_516{font-family:var(--xmlui-font-family-Text-caption);font-size:var(--xmlui-font-size-Text-caption);font-weight:var(--xmlui-font-weight-Text-caption);font-style:var(--xmlui-font-style-Text-caption);font-stretch:var(--xmlui-font-stretch-Text-caption);text-decoration-line:var(--xmlui-line-decoration-Text-caption);text-decoration-color:var(--xmlui-color-decoration-Text-caption);text-decoration-style:var(--xmlui-style-decoration-Text-caption);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-caption);text-underline-offset:var(--xmlui-offset-decoration-Text-caption);line-height:var(--xmlui-line-height-Text-caption);color:var(--xmlui-color-Text-caption);background-color:var(--xmlui-color-bg-Text-caption);border-radius:var(--xmlui-border-radius-Text-caption);border-color:var(--xmlui-color-border-Text-caption);border-width:var(--xmlui-thickness-border-Text-caption);border-style:var(--xmlui-style-border-Text-caption);margin-top:var(--xmlui-margin-top-Text-caption);margin-bottom:var(--xmlui-margin-bottom-Text-caption);padding-left:var(--xmlui-padding-horizontal-Text-caption);padding-right:var(--xmlui-padding-horizontal-Text-caption);padding-top:var(--xmlui-padding-vertical-Text-caption);padding-bottom:var(--xmlui-padding-vertical-Text-caption);text-transform:var(--xmlui-transform-Text-caption);vertical-align:var(--xmlui-align-vertical-Text-caption);letter-spacing:var(--xmlui-letter-spacing-Text-caption)}._text_1v46g_13._placeholder_1v46g_544{font-family:var(--xmlui-font-family-Text-placeholder);font-size:var(--xmlui-font-size-Text-placeholder);font-weight:var(--xmlui-font-weight-Text-placeholder);font-style:var(--xmlui-font-style-Text-placeholder);font-stretch:var(--xmlui-font-stretch-Text-placeholder);text-decoration-line:var(--xmlui-line-decoration-Text-placeholder);text-decoration-color:var(--xmlui-color-decoration-Text-placeholder);text-decoration-style:var(--xmlui-style-decoration-Text-placeholder);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-placeholder);text-underline-offset:var(--xmlui-offset-decoration-Text-placeholder);line-height:var(--xmlui-line-height-Text-placeholder);color:var(--xmlui-color-Text-placeholder);background-color:var(--xmlui-color-bg-Text-placeholder);border-radius:var(--xmlui-border-radius-Text-placeholder);border-color:var(--xmlui-color-border-Text-placeholder);border-width:var(--xmlui-thickness-border-Text-placeholder);border-style:var(--xmlui-style-border-Text-placeholder);margin-top:var(--xmlui-margin-top-Text-placeholder);margin-bottom:var(--xmlui-margin-bottom-Text-placeholder);padding-left:var(--xmlui-padding-horizontal-Text-placeholder);padding-right:var(--xmlui-padding-horizontal-Text-placeholder);padding-top:var(--xmlui-padding-vertical-Text-placeholder);padding-bottom:var(--xmlui-padding-vertical-Text-placeholder);text-transform:var(--xmlui-transform-Text-placeholder);vertical-align:var(--xmlui-align-vertical-Text-placeholder);letter-spacing:var(--xmlui-letter-spacing-Text-placeholder)}._text_1v46g_13._paragraph_1v46g_572{font-family:var(--xmlui-font-family-Text-paragraph);font-size:var(--xmlui-font-size-Text-paragraph);font-weight:var(--xmlui-font-weight-Text-paragraph);font-style:var(--xmlui-font-style-Text-paragraph);font-stretch:var(--xmlui-font-stretch-Text-paragraph);text-decoration-line:var(--xmlui-line-decoration-Text-paragraph);text-decoration-color:var(--xmlui-color-decoration-Text-paragraph);text-decoration-style:var(--xmlui-style-decoration-Text-paragraph);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-paragraph);text-underline-offset:var(--xmlui-offset-decoration-Text-paragraph);line-height:var(--xmlui-line-height-Text-paragraph);color:var(--xmlui-color-Text-paragraph);background-color:var(--xmlui-color-bg-Text-paragraph);border-radius:var(--xmlui-border-radius-Text-paragraph);border-color:var(--xmlui-color-border-Text-paragraph);border-width:var(--xmlui-thickness-border-Text-paragraph);border-style:var(--xmlui-style-border-Text-paragraph);margin-top:var(--xmlui-margin-top-Text-paragraph);margin-bottom:var(--xmlui-margin-bottom-Text-paragraph);padding-left:var(--xmlui-padding-horizontal-Text-paragraph);padding-right:var(--xmlui-padding-horizontal-Text-paragraph);padding-top:var(--xmlui-padding-vertical-Text-paragraph);padding-bottom:var(--xmlui-padding-vertical-Text-paragraph);text-transform:var(--xmlui-transform-Text-paragraph);vertical-align:var(--xmlui-align-vertical-Text-paragraph);letter-spacing:var(--xmlui-letter-spacing-Text-paragraph)}._text_1v46g_13._subheading_1v46g_600{font-family:var(--xmlui-font-family-Text-subheading);font-size:var(--xmlui-font-size-Text-subheading);font-weight:var(--xmlui-font-weight-Text-subheading);font-style:var(--xmlui-font-style-Text-subheading);font-stretch:var(--xmlui-font-stretch-Text-subheading);text-decoration-line:var(--xmlui-line-decoration-Text-subheading);text-decoration-color:var(--xmlui-color-decoration-Text-subheading);text-decoration-style:var(--xmlui-style-decoration-Text-subheading);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-subheading);text-underline-offset:var(--xmlui-offset-decoration-Text-subheading);line-height:var(--xmlui-line-height-Text-subheading);color:var(--xmlui-color-Text-subheading);background-color:var(--xmlui-color-bg-Text-subheading);border-radius:var(--xmlui-border-radius-Text-subheading);border-color:var(--xmlui-color-border-Text-subheading);border-width:var(--xmlui-thickness-border-Text-subheading);border-style:var(--xmlui-style-border-Text-subheading);margin-top:var(--xmlui-margin-top-Text-subheading);margin-bottom:var(--xmlui-margin-bottom-Text-subheading);padding-left:var(--xmlui-padding-horizontal-Text-subheading);padding-right:var(--xmlui-padding-horizontal-Text-subheading);padding-top:var(--xmlui-padding-vertical-Text-subheading);padding-bottom:var(--xmlui-padding-vertical-Text-subheading);text-transform:var(--xmlui-transform-Text-subheading);vertical-align:var(--xmlui-align-vertical-Text-subheading);letter-spacing:var(--xmlui-letter-spacing-Text-subheading)}._text_1v46g_13._tableheading_1v46g_628{font-family:var(--xmlui-font-family-Text-tableheading);font-size:var(--xmlui-font-size-Text-tableheading);font-weight:var(--xmlui-font-weight-Text-tableheading);font-style:var(--xmlui-font-style-Text-tableheading);font-stretch:var(--xmlui-font-stretch-Text-tableheading);text-decoration-line:var(--xmlui-line-decoration-Text-tableheading);text-decoration-color:var(--xmlui-color-decoration-Text-tableheading);text-decoration-style:var(--xmlui-style-decoration-Text-tableheading);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-tableheading);text-underline-offset:var(--xmlui-offset-decoration-Text-tableheading);line-height:var(--xmlui-line-height-Text-tableheading);color:var(--xmlui-color-Text-tableheading);background-color:var(--xmlui-color-bg-Text-tableheading);border-radius:var(--xmlui-border-radius-Text-tableheading);border-color:var(--xmlui-color-border-Text-tableheading);border-width:var(--xmlui-thickness-border-Text-tableheading);border-style:var(--xmlui-style-border-Text-tableheading);margin-top:var(--xmlui-margin-top-Text-tableheading);margin-bottom:var(--xmlui-margin-bottom-Text-tableheading);padding-left:var(--xmlui-padding-horizontal-Text-tableheading);padding-right:var(--xmlui-padding-horizontal-Text-tableheading);padding-top:var(--xmlui-padding-vertical-Text-tableheading);padding-bottom:var(--xmlui-padding-vertical-Text-tableheading);text-transform:var(--xmlui-transform-Text-tableheading);vertical-align:var(--xmlui-align-vertical-Text-tableheading);letter-spacing:var(--xmlui-letter-spacing-Text-tableheading)}._text_1v46g_13._secondary_1v46g_656{font-family:var(--xmlui-font-family-Text-secondary);font-size:var(--xmlui-font-size-Text-secondary);font-weight:var(--xmlui-font-weight-Text-secondary);font-style:var(--xmlui-font-style-Text-secondary);font-stretch:var(--xmlui-font-stretch-Text-secondary);text-decoration-line:var(--xmlui-line-decoration-Text-secondary);text-decoration-color:var(--xmlui-color-decoration-Text-secondary);text-decoration-style:var(--xmlui-style-decoration-Text-secondary);text-decoration-thickness:var(--xmlui-thickness-decoration-Text-secondary);text-underline-offset:var(--xmlui-offset-decoration-Text-secondary);line-height:var(--xmlui-line-height-Text-secondary);color:var(--xmlui-color-Text-secondary);background-color:var(--xmlui-color-bg-Text-secondary);border-radius:var(--xmlui-border-radius-Text-secondary);border-color:var(--xmlui-color-border-Text-secondary);border-width:var(--xmlui-thickness-border-Text-secondary);border-style:var(--xmlui-style-border-Text-secondary);margin-top:var(--xmlui-margin-top-Text-secondary);margin-bottom:var(--xmlui-margin-bottom-Text-secondary);padding-left:var(--xmlui-padding-horizontal-Text-secondary);padding-right:var(--xmlui-padding-horizontal-Text-secondary);padding-top:var(--xmlui-padding-vertical-Text-secondary);padding-bottom:var(--xmlui-padding-vertical-Text-secondary);text-transform:var(--xmlui-transform-Text-secondary);vertical-align:var(--xmlui-align-vertical-Text-secondary);letter-spacing:var(--xmlui-letter-spacing-Text-secondary)}._text_1v46g_13._strong_1v46g_684{font-weight:var(--xmlui-font-weight-bold)}._truncateOverflow_1v46g_692{overflow:hidden;overflow-wrap:break-word;white-space:nowrap;max-width:100%}._preserveLinebreaks_1v46g_699{white-space:pre-wrap}._noEllipsis_1v46g_703{text-overflow:clip}._wrapper_7jlv4_13{width:100%;outline:none;overflow:auto;isolation:isolate}._wrapper_7jlv4_13._noScroll_7jlv4_19{overflow-y:initial}._headerWrapper_7jlv4_23,._tableBody_7jlv4_23{display:inline-block;min-width:100%;background-color:var(--xmlui-color-bg-Table)}._clickableHeader_7jlv4_29{width:100%;height:100%;color:var(--xmlui-color-text-heading-Table);background-color:transparent;border:none;transition:color .2s,background-color .2s;cursor:pointer;padding:var(--xmlui-padding-heading-Table)}._clickableHeader_7jlv4_29 ._headerContent_7jlv4_39{padding:0}._clickableHeader_7jlv4_29:not([disabled]):hover{background-color:var(--xmlui-color-bg-heading-Table--hover)}._clickableHeader_7jlv4_29:not([disabled]):active{background-color:var(--xmlui-color-bg-heading-Table--active)}._clickableHeader_7jlv4_29:not([disabled]):focus-visible{outline-width:var(--xmlui-thickness-outline-heading-Table--focus);outline-color:var(--xmlui-color-outline-heading-Table--focus);outline-style:var(--xmlui-style-outline-heading-Table--focus);outline-offset:var(--xmlui-offset-outline-heading-Table--focus)}._headerContent_7jlv4_39{display:flex;flex-direction:row;gap:.5rem;align-items:center;text-transform:var(--xmlui-transform-text-heading-Table);font-size:var(--xmlui-font-size-heading-Table);color:var(--xmlui-color-text-heading-Table);font-weight:var(--xmlui-font-weight-heading-Table);padding:var(--xmlui-padding-heading-Table)}._headerRow_7jlv4_67{height:100%;background-color:var(--xmlui-color-bg-heading-Table)}._columnCell_7jlv4_72,._cell_7jlv4_72{display:flex;align-items:center;white-space:nowrap;text-overflow:ellipsis}._table_7jlv4_23{display:block;color:var(--xmlui-color-text-Table)}._table_7jlv4_23 ._row_7jlv4_83,._table_7jlv4_23 ._headerRow_7jlv4_67{display:flex;flex-direction:row;border-bottom:var(--xmlui-border-cell-Table);-webkit-user-select:none;user-select:none}._table_7jlv4_23 ._row_7jlv4_83 ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67 ._checkBoxWrapper_7jlv4_89{font-size:1rem;visibility:hidden}._table_7jlv4_23 ._row_7jlv4_83 ._checkBoxWrapper_7jlv4_89._showInHeader_7jlv4_93,._table_7jlv4_23 ._headerRow_7jlv4_67 ._checkBoxWrapper_7jlv4_89._showInHeader_7jlv4_93{visibility:visible}._table_7jlv4_23 ._row_7jlv4_83:hover ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96 ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._row_7jlv4_83:focus-within ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._row_7jlv4_83._allSelected_7jlv4_96 ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67:hover ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67._selected_7jlv4_96 ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67:focus-within ._checkBoxWrapper_7jlv4_89,._table_7jlv4_23 ._headerRow_7jlv4_67._allSelected_7jlv4_96 ._checkBoxWrapper_7jlv4_89{visibility:visible}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:first-child ._headerContent_7jlv4_39,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:first-child ._headerContent_7jlv4_39{padding-left:var(--xmlui-padding-horizontal-cell-first-Table)}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:first-child>button,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:first-child>button{padding-left:var(--xmlui-padding-horizontal-cell-first-Table)}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:first-child>button ._headerContent_7jlv4_39,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:first-child>button ._headerContent_7jlv4_39{padding-left:0}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:last-child ._headerContent_7jlv4_39,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:last-child ._headerContent_7jlv4_39{padding-right:var(--xmlui-padding-horizontal-cell-last-Table)}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:last-child>button,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:last-child>button{padding-right:var(--xmlui-padding-horizontal-cell-last-Table)}._table_7jlv4_23 ._row_7jlv4_83 ._columnCell_7jlv4_72:last-child>button ._headerContent_7jlv4_39,._table_7jlv4_23 ._headerRow_7jlv4_67 ._columnCell_7jlv4_72:last-child>button ._headerContent_7jlv4_39{padding-right:0}._table_7jlv4_23 ._row_7jlv4_83 ._cell_7jlv4_72:first-child,._table_7jlv4_23 ._headerRow_7jlv4_67 ._cell_7jlv4_72:first-child{padding-left:var(--xmlui-padding-horizontal-cell-first-Table);border-left:0}._table_7jlv4_23 ._row_7jlv4_83 ._cell_7jlv4_72:last-child,._table_7jlv4_23 ._headerRow_7jlv4_67 ._cell_7jlv4_72:last-child{padding-right:var(--xmlui-padding-horizontal-cell-last-Table);border-right:0}._table_7jlv4_23 ._row_7jlv4_83{font-size:var(--xmlui-font-size-row-Table);font-weight:var(--xmlui-font-weight-row-Table);background-color:var(--xmlui-color-bg-row-Table)}._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96,._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96 ._cell_7jlv4_72{background-color:var(--xmlui-color-bg-selected-Table)}._table_7jlv4_23 ._row_7jlv4_83:hover,._table_7jlv4_23 ._row_7jlv4_83:hover ._cell_7jlv4_72{background-color:var(--xmlui-color-bg-row-Table--hover)}._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96._focused_7jlv4_142,._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96._focused_7jlv4_142 ._cell_7jlv4_72{background-color:var(--xmlui-color-bg-selected-Table)}._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96:hover,._table_7jlv4_23 ._row_7jlv4_83._selected_7jlv4_96:hover ._cell_7jlv4_72{background-color:var(--xmlui-color-bg-selected-Table--hover)}._table_7jlv4_23 ._row_7jlv4_83._disabled_7jlv4_154{pointer-events:none;opacity:.6}._cell_7jlv4_72{padding:var(--xmlui-padding-cell-Table);overflow:hidden;text-overflow:ellipsis}._headerWrapper_7jlv4_23{position:sticky;top:0;z-index:2}._columnCell_7jlv4_72{background-color:var(--xmlui-color-bg-heading-Table);text-align:start;white-space:nowrap;text-overflow:ellipsis;padding:0}._noRows_7jlv4_179{width:100%;text-align:center;margin-top:var(--xmlui-space-16)}._pagination_7jlv4_185{position:sticky;left:0;padding-top:var(--xmlui-space-4);padding-bottom:var(--xmlui-space-4);padding-inline:var(--xmlui-space-4);display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:var(--xmlui-space-8);width:100%;margin:0 auto;background-color:var(--xmlui-color-bg-pagination-Table)}._paginationLabel_7jlv4_201{color:var(--xmlui-color-text-pagination-Table);font-size:var(--xmlui-font-size-small)}._paginationSelect_7jlv4_206{color:inherit;background-color:transparent;margin-left:var(--xmlui-space-4)}._paginationButtons_7jlv4_212{display:flex;flex-direction:row}._searchIconWrapper_7jlv4_217{width:32px;display:flex;align-items:center;justify-content:center}._loadingWrapper_7jlv4_224{display:flex;flex-direction:row;justify-content:center;padding-top:var(--xmlui-space-2);padding-bottom:var(--xmlui-space-2)}._checkBoxWrapper_7jlv4_89{opacity:.5}._checkBoxWrapper_7jlv4_89:hover{opacity:1}._resizer_7jlv4_239{position:absolute;top:0;height:100%;width:6px;cursor:col-resize;-webkit-user-select:none;user-select:none;touch-action:none;right:0;overflow:visible;display:flex;flex-direction:row;align-items:center;justify-content:center}._resizer_7jlv4_239:before{content:"";width:1px;height:100%;background:var(--xmlui-color-border-cell-Table)}._resizer_7jlv4_239._isResizing_7jlv4_261{opacity:1}._resizer_7jlv4_239._isResizing_7jlv4_261:before{box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}@media (hover: hover){._resizer_7jlv4_239{opacity:0}*:hover>._resizer_7jlv4_239{opacity:1}}._resetAppearance_fdujw_13{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}._checkbox_fdujw_21{display:grid;place-content:center;min-width:1em;min-height:1em;width:1em;height:1em;border:2px solid transparent;border-radius:var(--xmlui-radius-Checkbox-default);border-color:var(--xmlui-color-border-Checkbox-default);background-color:var(--xmlui-color-bg-Checkbox-default)}._checkbox_fdujw_21:not([readonly]){cursor:pointer}._checkbox_fdujw_21:focus-visible{outline-width:var(--xmlui-thickness-outline-Checkbox-default--focus);outline-color:var(--xmlui-color-outline-Checkbox-default--focus);outline-style:var(--xmlui-style-outline-Checkbox-default--focus);outline-offset:var(--xmlui-offset-outline-Checkbox-default--focus)}._checkbox_fdujw_21:hover{border-color:var(--xmlui-color-border-Checkbox-default--hover)}._checkbox_fdujw_21:disabled{cursor:not-allowed;background-color:var(--xmlui-color-bg-Checkbox--disabled);border-color:var(--xmlui-color-border-Checkbox--disabled)}._checkbox_fdujw_21._error_fdujw_50{border-radius:var(--xmlui-radius-Checkbox-error);border-color:var(--xmlui-color-border-Checkbox-error);background-color:var(--xmlui-color-bg-Checkbox-error)}._checkbox_fdujw_21._error_fdujw_50:focus-visible{outline-width:var(--xmlui-thickness-outline-Checkbox-error--focus);outline-color:var(--xmlui-color-outline-Checkbox-error--focus);outline-style:var(--xmlui-style-outline-Checkbox-error--focus);outline-offset:var(--xmlui-offset-outline-Checkbox-error--focus)}._checkbox_fdujw_21._warning_fdujw_61{border-radius:var(--xmlui-radius-Checkbox-warning);border-color:var(--xmlui-color-border-Checkbox-warning);background-color:var(--xmlui-color-bg-Checkbox-warning)}._checkbox_fdujw_21._warning_fdujw_61:focus-visible{outline-width:var(--xmlui-thickness-outline-Checkbox-warning--focus);outline-color:var(--xmlui-color-outline-Checkbox-warning--focus);outline-style:var(--xmlui-style-outline-Checkbox-warning--focus);outline-offset:var(--xmlui-offset-outline-Checkbox-warning--focus)}._checkbox_fdujw_21._valid_fdujw_72{border-radius:var(--xmlui-radius-Checkbox-success);border-color:var(--xmlui-color-border-Checkbox-success);background-color:var(--xmlui-color-bg-Checkbox-success)}._checkbox_fdujw_21._valid_fdujw_72:focus-visible{outline-width:var(--xmlui-thickness-outline-Checkbox-success--focus);outline-color:var(--xmlui-color-outline-Checkbox-success--focus);outline-style:var(--xmlui-style-outline-Checkbox-success--focus);outline-offset:var(--xmlui-offset-outline-Checkbox-success--focus)}._checkbox_fdujw_21:before{content:"";width:.5em;height:.5em;transform:scale(0);transition:.1s transform ease-out;box-shadow:inset 1em 1em var(--xmlui-color-bg-indicator-Checkbox);transform-origin:center;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}._checkbox_fdujw_21:checked:before{transform:scale(1)}._checkbox_fdujw_21:checked{border-color:var(--xmlui-color-border-checked-Checkbox);background-color:var(--xmlui-color-bg-checked-Checkbox)}._checkbox_fdujw_21:checked:disabled{background-color:var(--xmlui-color-bg-Checkbox--disabled);border-color:var(--xmlui-color-border-Checkbox--disabled)}._checkbox_fdujw_21:checked._error_fdujw_50{border-color:var(--xmlui-color-border-checked-Checkbox-error);background-color:var(--xmlui-color-bg-checked-Checkbox-error)}._checkbox_fdujw_21:checked._warning_fdujw_61{border-color:var(--xmlui-color-border-checked-Checkbox-warning);background-color:var(--xmlui-color-bg-checked-Checkbox-warning)}._checkbox_fdujw_21:checked._valid_fdujw_72{border-color:var(--xmlui-color-border-checked-Checkbox-success);background-color:var(--xmlui-color-bg-checked-Checkbox-success)}._checkbox_fdujw_21:indeterminate{background-color:var(--xmlui-color-bg-checked-Checkbox);border-color:var(--xmlui-color-border-checked-Checkbox)}._checkbox_fdujw_21:indeterminate[readonly]{pointer-events:none}._checkbox_fdujw_21:indeterminate:disabled{background-color:var(--xmlui-color-bg-Checkbox--disabled);border-color:var(--xmlui-color-border-Checkbox--disabled)}._checkbox_fdujw_21:indeterminate:before{clip-path:circle(30% at 50% 50%);transform:scale(1)}._switch_fdujw_132{border:2px solid var(--xmlui-color-border-Switch);width:32px;height:20px;border-radius:1rem;position:relative;cursor:pointer;flex-shrink:0;background-color:var(--xmlui-color-bg-Switch)}._switch_fdujw_132:hover{border-color:var(--xmlui-color-border-Switch-default--hover)}._switch_fdujw_132:disabled{cursor:not-allowed;background-color:var(--xmlui-color-bg-Switch--disabled);border-color:var(--xmlui-color-border-Switch--disabled)}._switch_fdujw_132._error_fdujw_50{border-color:var(--xmlui-color-border-Switch-error)}._switch_fdujw_132._warning_fdujw_61{border-color:var(--xmlui-color-border-Switch-warning)}._switch_fdujw_132._valid_fdujw_72{border-color:var(--xmlui-color-border-Switch-success)}._switch_fdujw_132:before{content:"";position:absolute;top:0;left:0;width:16px;height:16px;background:var(--xmlui-color-bg-indicator-Switch);border-radius:1rem;transition:.3s transform}._switch_fdujw_132:checked{border-color:var(--xmlui-color-border-checked-Switch);background-color:var(--xmlui-color-bg-checked-Switch)}._switch_fdujw_132:checked:disabled{background-color:var(--xmlui-color-bg-Switch--disabled);border-color:var(--xmlui-color-border-Switch--disabled)}._switch_fdujw_132:checked._error_fdujw_50{border-color:var(--xmlui-color-border-checked-Switch-error);background-color:var(--xmlui-color-bg-checked-Switch-error)}._switch_fdujw_132:checked._warning_fdujw_61{border-color:var(--xmlui-color-border-checked-Switch-warning);background-color:var(--xmlui-color-bg-checked-Switch-warning)}._switch_fdujw_132:checked._valid_fdujw_72{border-color:var(--xmlui-color-border-checked-Switch-success);background-color:var(--xmlui-color-bg-checked-Switch-success)}._switch_fdujw_132:focus-visible{outline-width:var(--xmlui-thickness-outline-Switch--focus);outline-color:var(--xmlui-color-outline-Switch--focus);outline-style:var(--xmlui-style-outline-Switch--focus);outline-offset:var(--xmlui-offset-outline-Switch--focus)}._switch_fdujw_132:checked:before{transform:translate(calc(100% - 4px))}._wrapper_1qgtv_13{position:sticky;z-index:1;background-color:var(--xmlui-color-bg-StickyBox)}._wrapper_1qgtv_13._top_1qgtv_18{top:var(--header-height, 0)}._wrapper_1qgtv_13._bottom_1qgtv_21{bottom:var(--footer-height, 0)}._badge_xcyhw_13{display:inline-block;width:fit-content;vertical-align:top;padding:var(--xmlui-padding-Badge);min-width:fit-content;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;font-weight:var(--xmlui-font-weight-Badge);background-color:var(--xmlui-color-bg-Badge);color:var(--xmlui-color-text-Badge);border-radius:var(--xmlui-radius-Badge);font-size:var(--xmlui-font-size-Badge)}._pill_xcyhw_29{display:inline-block;width:fit-content;vertical-align:top;padding:var(--xmlui-padding-Badge-pill);min-width:fit-content;overflow:hidden;text-overflow:ellipsis;font-weight:var(--xmlui-font-weight-Badge-pill);background-color:var(--xmlui-color-bg-Badge);color:var(--xmlui-color-text-Badge);border-radius:9999px;font-size:var(--xmlui-font-size-Badge-pill)}._container_1fbc9_13{border-radius:var(--xmlui-radius-Avatar);border:var(--xmlui-border-Avatar);border-width:var(--xmlui-thickness-border-Avatar);border-style:var(--xmlui-style-border-Avatar);aspect-ratio:1/1;background-color:var(--xmlui-color-bg-Avatar);color:var(--xmlui-color-text-Avatar);flex-shrink:0;background-repeat:no-repeat;background-position:50%;background-size:cover;display:flex;align-items:center;justify-content:center;font-weight:var(--xmlui-font-weight-Avatar);white-space:nowrap;-webkit-user-select:none;user-select:none;font-size:12px;box-shadow:var(--xmlui-shadow-Avatar)}._container_1fbc9_13._xs_1fbc9_34{width:var(--xmlui-space-8);height:var(--xmlui-space-8);max-width:var(--xmlui-space-8);max-height:var(--xmlui-space-8);font-size:var(--xmlui-space-3)}._container_1fbc9_13._sm_1fbc9_41{width:var(--xmlui-space-12);height:var(--xmlui-space-12);max-width:var(--xmlui-space-12);max-height:var(--xmlui-space-12);font-size:var(--xmlui-space-4)}._container_1fbc9_13._md_1fbc9_48{width:var(--xmlui-space-16);height:var(--xmlui-space-16);max-width:var(--xmlui-space-16);max-height:var(--xmlui-space-16);font-size:var(--xmlui-space-5)}._container_1fbc9_13._lg_1fbc9_55{width:var(--xmlui-space-24);height:var(--xmlui-space-24);max-width:var(--xmlui-space-24);max-height:var(--xmlui-space-24);font-size:var(--xmlui-space-8)}._container_1fbc9_13._clickable_1fbc9_62{cursor:pointer}._separator_qlxwk_13{background-color:var(--xmlui-color-bg-ContentSeparator)}._separator_qlxwk_13._horizontal_qlxwk_16{height:var(--xmlui-size-ContentSeparator);width:100%}._separator_qlxwk_13._vertical_qlxwk_20{width:var(--xmlui-size-ContentSeparator);min-height:100%}._wrapper_qmtvs_13{padding:var(--xmlui-padding-Card);box-shadow:var(--xmlui-shadow-Card);background-color:var(--xmlui-color-bg-Card);border:var(--xmlui-border-Card);border-radius:var(--xmlui-radius-Card);display:flex;flex-direction:column;gap:var(--stack-gap-default)}._wrapper_qmtvs_13._horizontal_qmtvs_23{flex-direction:row;align-items:center;padding-block:var(--xmlui-space-2)}._wrapper_qmtvs_13._vertical_qmtvs_28{flex-direction:column}._wrapper_qmtvs_13._isClickable_qmtvs_31{cursor:pointer}._outer_aarhe_13{contain:layout}._flowContainer_aarhe_17{display:flex;flex-wrap:wrap}._flowContainer_aarhe_17._horizontal_aarhe_21{flex-direction:row}._flowContainer_aarhe_17._horizontal_aarhe_21 ._flowItem_aarhe_24{flex-shrink:0}._flowContainer_aarhe_17._horizontal_aarhe_21 ._flowItem_aarhe_24>*{width:100%!important;min-width:0!important;max-width:none!important}._flowContainer_aarhe_17._vertical_aarhe_32{height:100%;flex-direction:column;align-content:flex-start}._flowContainer_aarhe_17._vertical_aarhe_32 ._flowItem_aarhe_24{width:auto;flex-shrink:0}._flowContainer_aarhe_17._vertical_aarhe_32 ._flowItem_aarhe_24>*{height:auto!important;min-height:0!important;max-height:none!important}._break_aarhe_47:not(._forceBreak_aarhe_47):has(+._starSized_aarhe_47){display:none}._break_aarhe_47,._forceBreak_aarhe_47{flex-basis:100%;height:0}._wrapper_9giub_13{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:var(--xmlui-padding-vertical-NoResult);padding-bottom:var(--xmlui-padding-vertical-NoResult)}._icon_9giub_22{width:var(--xmlui-size-icon-NoResult);height:var(--xmlui-size-icon-NoResult);margin-bottom:var(--xmlui-gap-icon-NoResult)}._wrapper_u50h5_13{position:relative;background-color:var(--xmlui-color-bg-FileUploadDropZone);color:var(--xmlui-color-text-FileUploadDropZone);display:flex;flex-direction:column}._dropPlaceholder_u50h5_21{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column}._dropPlaceholder_u50h5_21:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--xmlui-color-bg-dropping-FileUploadDropZone);opacity:var(--xmlui-opacity-dropping-FileUploadDropZone)}._wrapper_1s8j7_13{width:100%;background-color:var(--xmlui-color-bg-ProgressBar);border-radius:var(--xmlui-radius-ProgressBar);overflow:hidden;position:relative;height:var(--xmlui-thickness-ProgressBar)}._bar_1s8j7_22{position:absolute;background-color:var(--xmlui-color-indicator-ProgressBar);border-radius:var(--xmlui-radius-indicator-ProgressBar);left:0;top:0;bottom:0}._splitter_1a9gt_13{overflow:hidden;position:relative;flex-wrap:nowrap;display:flex;height:100%;width:100%;box-shadow:var(--xmlui-shadow-Splitter);padding:var(--xmlui-padding-Splitter);background-color:var(--xmlui-color-bg-Splitter);border-radius:var(--xmlui-radius-Splitter);border:var(--xmlui-border-Splitter) var(--xmlui-style-border-Splitter) var(--xmlui-color-border-Splitter);-webkit-user-select:none;user-select:none}._splitter_1a9gt_13._vertical_1a9gt_27{flex-direction:column}._splitter_1a9gt_13._horizontal_1a9gt_30{flex-direction:row}._panel_1a9gt_34{overflow:hidden;display:flex;flex-direction:column;flex:1}._primaryPanel_1a9gt_41{flex-shrink:0;flex-grow:0;overflow:auto;order:1}._secondaryPanel_1a9gt_48{flex:1;overflow:auto;order:3}._resizer_1a9gt_54{order:2;overflow:hidden;background-color:var(--xmlui-color-bg-resizer-Splitter, transparent)}._resizer_1a9gt_54._vertical_1a9gt_27{cursor:var(--xmlui-cursor-resizer-vertical-Splitter, ns-resize);width:100%;height:var(--xmlui-thickness-resizer-Splitter, 5px)}._resizer_1a9gt_54._horizontal_1a9gt_30{cursor:var(--xmlui-cursor-resizer-horizontal-Splitter, ew-resize);width:var(--xmlui-thickness-resizer-Splitter, 5px);height:100%}._floatingResizer_1a9gt_70{position:absolute;z-index:1000;opacity:0;overflow:hidden;transition:opacity .2s;background-color:var(--xmlui-color-bg-resizer-Splitter, transparent)}._floatingResizer_1a9gt_70._vertical_1a9gt_27{cursor:var(--xmlui-cursor-resizer-vertical-Splitter, ns-resize);width:100%;height:var(--xmlui-thickness-resizer-Splitter, 5px);transform:translateY(-50%)}._floatingResizer_1a9gt_70._horizontal_1a9gt_30{cursor:var(--xmlui-cursor-resizer-horizontal-Splitter, ew-resize);width:var(--xmlui-thickness-resizer-Splitter, 5px);height:100%;transform:translate(-50%)}._infoWrapper_pfst8_13{width:100%;margin:0 auto}._loadingWrapper_pfst8_18{display:flex;flex-direction:row;justify-content:center;padding-top:var(--xmlui-space-2);padding-bottom:var(--xmlui-space-2)}._noRows_pfst8_26{width:100%;text-align:center;margin-top:var(--xmlui-space-4)}._borderCollapse_pfst8_36:not(._sectioned_pfst8_36) ._row_pfst8_36:first-child:not(:last-child)>*{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}._borderCollapse_pfst8_36:not(._sectioned_pfst8_36) ._row_pfst8_36:last-child:not(:first-child)>*{border-top-left-radius:0;border-top-right-radius:0}._borderCollapse_pfst8_36:not(._sectioned_pfst8_36) ._row_pfst8_36:not(:first-child):not(:last-child)>*{border-radius:0;border-bottom:0}._borderCollapse_pfst8_36._sectioned_pfst8_36 ._section_pfst8_36+._row_pfst8_36:not(:has(+._sectionFooter_pfst8_52))>*{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}._borderCollapse_pfst8_36._sectioned_pfst8_36 ._row_pfst8_36:has(+._sectionFooter_pfst8_52):not(._section_pfst8_36+._row_pfst8_36)>*{border-top-left-radius:0;border-top-right-radius:0}._borderCollapse_pfst8_36._sectioned_pfst8_36 ._row_pfst8_36:has(+._row_pfst8_36):not(._section_pfst8_36+._row_pfst8_36)>*{border-radius:0;border-bottom:0}._wrapper_1hlil_13{position:absolute}._wrapper_1hlil_13._visibleOnHover_1hlil_16{transition:opacity .1s;opacity:0}:has(>._wrapper_1hlil_13){position:relative}:has(>._wrapper_1hlil_13):hover ._wrapper_1hlil_13._visibleOnHover_1hlil_16{opacity:1}._inputRoot_1s937_13{display:flex;align-items:center;gap:var(--xmlui-space-2);width:100%;border-style:solid;border-width:1px;transition:background-color ease-in .1s;overflow:hidden;border-radius:var(--xmlui-radius-TextBox-default);border-color:var(--xmlui-color-border-TextBox-default);border-width:var(--xmlui-thickness-border-TextBox-default);border-style:var(--xmlui-style-border-TextBox-default);font-size:var(--xmlui-font-size-TextBox-default);padding:var(--xmlui-padding-TextBox-default);background-color:var(--xmlui-color-bg-TextBox-default);box-shadow:var(--xmlui-shadow-TextBox-default);color:var(--xmlui-color-text-TextBox-default)}._inputRoot_1s937_13:hover{border-color:var(--xmlui-color-border-TextBox-default--hover);background-color:var(--xmlui-color-bg-TextBox-default--hover);box-shadow:var(--xmlui-shadow-TextBox-default--hover);color:var(--xmlui-color-text-TextBox-default--hover)}._inputRoot_1s937_13:focus-within{border-color:var(--xmlui-color-border-TextBox-default--focus);background-color:var(--xmlui-color-bg-TextBox-default--focus);box-shadow:var(--xmlui-shadow-TextBox-default--focus);color:var(--xmlui-color-text-TextBox-default--focus)}._inputRoot_1s937_13:has(._input_1s937_13:focus-visible){outline-width:var(--xmlui-thickness-outline-TextBox-default--focus);outline-color:var(--xmlui-color-outline-TextBox-default--focus);outline-style:var(--xmlui-style-outline-TextBox-default--focus);outline-offset:var(--xmlui-offset-outline-TextBox-default--focus)}._inputRoot_1s937_13 ._input_1s937_13::placeholder{color:var(--xmlui-color-placeholder-TextBox-default)}._inputRoot_1s937_13 ._adornment_1s937_53{color:var(--xmlui-color-adornment-TextBox-default)}._inputRoot_1s937_13._error_1s937_56{border-radius:var(--xmlui-radius-TextBox-error);border-color:var(--xmlui-color-border-TextBox-error);border-width:var(--xmlui-thickness-border-TextBox-error);border-style:var(--xmlui-style-border-TextBox-error);font-size:var(--xmlui-font-size-TextBox-error);padding:var(--xmlui-padding-TextBox-error);background-color:var(--xmlui-color-bg-TextBox-error);box-shadow:var(--xmlui-shadow-TextBox-error);color:var(--xmlui-color-text-TextBox-error)}._inputRoot_1s937_13._error_1s937_56:hover{border-color:var(--xmlui-color-border-TextBox-error--hover);background-color:var(--xmlui-color-bg-TextBox-error--hover);box-shadow:var(--xmlui-shadow-TextBox-error--hover);color:var(--xmlui-color-text-TextBox-error--hover)}._inputRoot_1s937_13._error_1s937_56:focus-within{border-color:var(--xmlui-color-border-TextBox-error--focus);background-color:var(--xmlui-color-bg-TextBox-error--focus);box-shadow:var(--xmlui-shadow-TextBox-error--focus);color:var(--xmlui-color-text-TextBox-error--focus)}._inputRoot_1s937_13._error_1s937_56:has(._input_1s937_13:focus-visible){outline-width:var(--xmlui-thickness-outline-TextBox-error--focus);outline-color:var(--xmlui-color-outline-TextBox-error--focus);outline-style:var(--xmlui-style-outline-TextBox-error--focus);outline-offset:var(--xmlui-offset-outline-TextBox-error--focus)}._inputRoot_1s937_13._error_1s937_56 ._input_1s937_13::placeholder{color:var(--xmlui-color-placeholder-TextBox-error)}._inputRoot_1s937_13._error_1s937_56 ._adornment_1s937_53{color:var(--xmlui-color-adornment-TextBox-error)}._inputRoot_1s937_13._warning_1s937_91{border-radius:var(--xmlui-radius-TextBox-warning);border-color:var(--xmlui-color-border-TextBox-warning);border-width:var(--xmlui-thickness-border-TextBox-warning);border-style:var(--xmlui-style-border-TextBox-warning);font-size:var(--xmlui-font-size-TextBox-warning);padding:var(--xmlui-padding-TextBox-warning);background-color:var(--xmlui-color-bg-TextBox-warning);box-shadow:var(--xmlui-shadow-TextBox-warning);color:var(--xmlui-color-text-TextBox-warning)}._inputRoot_1s937_13._warning_1s937_91:hover{border-color:var(--xmlui-color-border-TextBox-warning--hover);background-color:var(--xmlui-color-bg-TextBox-warning--hover);box-shadow:var(--xmlui-shadow-TextBox-warning--hover);color:var(--xmlui-color-text-TextBox-warning--hover)}._inputRoot_1s937_13._warning_1s937_91:focus-within{border-color:var(--xmlui-color-border-TextBox-warning--focus);background-color:var(--xmlui-color-bg-TextBox-warning--focus);box-shadow:var(--xmlui-shadow-TextBox-warning--focus);color:var(--xmlui-color-text-TextBox-warning--focus)}._inputRoot_1s937_13._warning_1s937_91:has(._input_1s937_13:focus-visible){outline-width:var(--xmlui-thickness-outline-TextBox-warning--focus);outline-color:var(--xmlui-color-outline-TextBox-warning--focus);outline-style:var(--xmlui-style-outline-TextBox-warning--focus);outline-offset:var(--xmlui-offset-outline-TextBox-warning--focus)}._inputRoot_1s937_13._warning_1s937_91 ._input_1s937_13::placeholder{color:var(--xmlui-color-placeholder-TextBox-warning)}._inputRoot_1s937_13._warning_1s937_91 ._adornment_1s937_53{color:var(--xmlui-color-adornment-TextBox-warning)}._inputRoot_1s937_13._valid_1s937_126{border-radius:var(--xmlui-radius-TextBox-success);border-color:var(--xmlui-color-border-TextBox-success);border-width:var(--xmlui-thickness-border-TextBox-success);border-style:var(--xmlui-style-border-TextBox-success);font-size:var(--xmlui-font-size-TextBox-success);padding:var(--xmlui-padding-TextBox-success);background-color:var(--xmlui-color-bg-TextBox-success);box-shadow:var(--xmlui-shadow-TextBox-success);color:var(--xmlui-color-text-TextBox-success)}._inputRoot_1s937_13._valid_1s937_126:hover{border-color:var(--xmlui-color-border-TextBox-success--hover);background-color:var(--xmlui-color-bg-TextBox-success--hover);box-shadow:var(--xmlui-shadow-TextBox-success--hover);color:var(--xmlui-color-text-TextBox-success--hover)}._inputRoot_1s937_13._valid_1s937_126:focus-within{border-color:var(--xmlui-color-border-TextBox-success--focus);background-color:var(--xmlui-color-bg-TextBox-success--focus);box-shadow:var(--xmlui-shadow-TextBox-success--focus);color:var(--xmlui-color-text-TextBox-success--focus)}._inputRoot_1s937_13._valid_1s937_126:has(._input_1s937_13:focus-visible){outline-width:var(--xmlui-thickness-outline-TextBox-success--focus);outline-color:var(--xmlui-color-outline-TextBox-success--focus);outline-style:var(--xmlui-style-outline-TextBox-success--focus);outline-offset:var(--xmlui-offset-outline-TextBox-success--focus)}._inputRoot_1s937_13._valid_1s937_126 ._input_1s937_13::placeholder{color:var(--xmlui-color-placeholder-TextBox-success)}._inputRoot_1s937_13._valid_1s937_126 ._adornment_1s937_53{color:var(--xmlui-color-adornment-TextBox-success)}._inputRoot_1s937_13:has(._input_1s937_13:is(:disabled)){cursor:not-allowed;background-color:var(--xmlui-color-bg-TextBox--disabled);color:var(--xmlui-color-text-TextBox--disabled);border-color:var(--xmlui-color-border-TextBox--disabled)}._inputRoot_1s937_13 ._input_1s937_13{font-size:inherit;color:inherit;border:0;outline:none!important;background-color:transparent;width:100%;padding:0;cursor:inherit}._readOnly_1s937_178{cursor:default}._wrapper_18f9r_13{display:flex;gap:var(--xmlui-space-2);align-items:center;justify-content:center;flex-shrink:0;color:var(--xmlui-color-text-subtitle)}._container_mle43_13{gap:var(--xmlui-space-2);width:100%;display:flex;align-items:center;justify-content:flex-start}._textBoxWrapper_mle43_21{width:100%;border-radius:var(--xmlui-radius);min-height:fit-content}._button_mle43_27{flex-shrink:0}._inputRoot_zavgy_13{display:flex;align-items:center;gap:var(--xmlui-space-2);padding:var(--xmlui-space-2);width:100%;border-style:solid;border-width:1px;transition:background-color ease-in .1s;overflow:hidden;border-radius:var(--xmlui-radius-NumberBox-default);border-color:var(--xmlui-color-border-NumberBox-default);border-width:var(--xmlui-thickness-border-NumberBox-default);border-style:var(--xmlui-style-border-NumberBox-default);font-size:var(--xmlui-font-size-NumberBox-default);background-color:var(--xmlui-color-bg-NumberBox-default);box-shadow:var(--xmlui-shadow-NumberBox-default);color:var(--xmlui-color-text-NumberBox-default)}._inputRoot_zavgy_13:hover{border-color:var(--xmlui-color-border-NumberBox-default--hover);background-color:var(--xmlui-color-bg-NumberBox-default--hover);box-shadow:var(--xmlui-shadow-NumberBox-default--hover);color:var(--xmlui-color-text-NumberBox-default--hover)}._inputRoot_zavgy_13:focus-within{border-color:var(--xmlui-color-border-NumberBox-default--focus);background-color:var(--xmlui-color-bg-NumberBox-default--focus);box-shadow:var(--xmlui-shadow-NumberBox-default--focus);color:var(--xmlui-color-text-NumberBox-default--focus)}._inputRoot_zavgy_13:has(._input_zavgy_13:focus-visible){outline-width:var(--xmlui-thickness-outline-NumberBox-default--focus);outline-color:var(--xmlui-color-outline-NumberBox-default--focus);outline-style:var(--xmlui-style-outline-NumberBox-default--focus);outline-offset:var(--xmlui-offset-outline-NumberBox-default--focus)}._inputRoot_zavgy_13 ._input_zavgy_13::placeholder{color:var(--xmlui-color-placeholder-NumberBox-default)}._inputRoot_zavgy_13 ._adornment_zavgy_53{color:var(--xmlui-color-adornment-NumberBox-default)}._inputRoot_zavgy_13._error_zavgy_56{border-radius:var(--xmlui-radius-NumberBox-error);border-color:var(--xmlui-color-border-NumberBox-error);border-width:var(--xmlui-thickness-border-NumberBox-error);border-style:var(--xmlui-style-border-NumberBox-error);font-size:var(--xmlui-font-size-NumberBox-error);background-color:var(--xmlui-color-bg-NumberBox-error);box-shadow:var(--xmlui-shadow-NumberBox-error);color:var(--xmlui-color-text-NumberBox-error)}._inputRoot_zavgy_13._error_zavgy_56:hover{border-color:var(--xmlui-color-border-NumberBox-error--hover);background-color:var(--xmlui-color-bg-NumberBox-error--hover);box-shadow:var(--xmlui-shadow-NumberBox-error--hover);color:var(--xmlui-color-text-NumberBox-error--hover)}._inputRoot_zavgy_13._error_zavgy_56:focus-within{border-color:var(--xmlui-color-border-NumberBox-error--focus);background-color:var(--xmlui-color-bg-NumberBox-error--focus);box-shadow:var(--xmlui-shadow-NumberBox-error--focus);color:var(--xmlui-color-text-NumberBox-error--focus)}._inputRoot_zavgy_13._error_zavgy_56:has(._input_zavgy_13:focus-visible){outline-width:var(--xmlui-thickness-outline-NumberBox-error--focus);outline-color:var(--xmlui-color-outline-NumberBox-error--focus);outline-style:var(--xmlui-style-outline-NumberBox-error--focus);outline-offset:var(--xmlui-offset-outline-NumberBox-error--focus)}._inputRoot_zavgy_13._error_zavgy_56 ._input_zavgy_13::placeholder{color:var(--xmlui-color-placeholder-NumberBox-error)}._inputRoot_zavgy_13._error_zavgy_56 ._adornment_zavgy_53{color:var(--xmlui-color-adornment-NumberBox-error)}._inputRoot_zavgy_13._warning_zavgy_90{border-radius:var(--xmlui-radius-NumberBox-warning);border-color:var(--xmlui-color-border-NumberBox-warning);border-width:var(--xmlui-thickness-border-NumberBox-warning);border-style:var(--xmlui-style-border-NumberBox-warning);font-size:var(--xmlui-font-size-NumberBox-warning);background-color:var(--xmlui-color-bg-NumberBox-warning);box-shadow:var(--xmlui-shadow-NumberBox-warning);color:var(--xmlui-color-text-NumberBox-warning)}._inputRoot_zavgy_13._warning_zavgy_90:hover{border-color:var(--xmlui-color-border-NumberBox-warning--hover);background-color:var(--xmlui-color-bg-NumberBox-warning--hover);box-shadow:var(--xmlui-shadow-NumberBox-warning--hover);color:var(--xmlui-color-text-NumberBox-warning--hover)}._inputRoot_zavgy_13._warning_zavgy_90:focus-within{border-color:var(--xmlui-color-border-NumberBox-warning--focus);background-color:var(--xmlui-color-bg-NumberBox-warning--focus);box-shadow:var(--xmlui-shadow-NumberBox-warning--focus);color:var(--xmlui-color-text-NumberBox-warning--focus)}._inputRoot_zavgy_13._warning_zavgy_90:has(._input_zavgy_13:focus-visible){outline-width:var(--xmlui-thickness-outline-NumberBox-warning--focus);outline-color:var(--xmlui-color-outline-NumberBox-warning--focus);outline-style:var(--xmlui-style-outline-NumberBox-warning--focus);outline-offset:var(--xmlui-offset-outline-NumberBox-warning--focus)}._inputRoot_zavgy_13._warning_zavgy_90 ._input_zavgy_13::placeholder{color:var(--xmlui-color-placeholder-NumberBox-warning)}._inputRoot_zavgy_13._warning_zavgy_90 ._adornment_zavgy_53{color:var(--xmlui-color-adornment-NumberBox-warning)}._inputRoot_zavgy_13._valid_zavgy_124{border-radius:var(--xmlui-radius-NumberBox-success);border-color:var(--xmlui-color-border-NumberBox-success);border-width:var(--xmlui-thickness-border-NumberBox-success);border-style:var(--xmlui-style-border-NumberBox-success);font-size:var(--xmlui-font-size-NumberBox-success);background-color:var(--xmlui-color-bg-NumberBox-success);box-shadow:var(--xmlui-shadow-NumberBox-success);color:var(--xmlui-color-text-NumberBox-success)}._inputRoot_zavgy_13._valid_zavgy_124:hover{border-color:var(--xmlui-color-border-NumberBox-success--hover);background-color:var(--xmlui-color-bg-NumberBox-success--hover);box-shadow:var(--xmlui-shadow-NumberBox-success--hover);color:var(--xmlui-color-text-NumberBox-success--hover)}._inputRoot_zavgy_13._valid_zavgy_124:focus-within{border-color:var(--xmlui-color-border-NumberBox-success--focus);background-color:var(--xmlui-color-bg-NumberBox-success--focus);box-shadow:var(--xmlui-shadow-NumberBox-success--focus);color:var(--xmlui-color-text-NumberBox-success--focus)}._inputRoot_zavgy_13._valid_zavgy_124:has(._input_zavgy_13:focus-visible){outline-width:var(--xmlui-thickness-outline-NumberBox-success--focus);outline-color:var(--xmlui-color-outline-NumberBox-success--focus);outline-style:var(--xmlui-style-outline-NumberBox-success--focus);outline-offset:var(--xmlui-offset-outline-NumberBox-success--focus)}._inputRoot_zavgy_13._valid_zavgy_124 ._input_zavgy_13::placeholder{color:var(--xmlui-color-placeholder-NumberBox-success)}._inputRoot_zavgy_13._valid_zavgy_124 ._adornment_zavgy_53{color:var(--xmlui-color-adornment-NumberBox-success)}._inputRoot_zavgy_13:has(._input_zavgy_13:is(:disabled)){cursor:not-allowed;background-color:var(--xmlui-color-bg-NumberBox--disabled);color:var(--xmlui-color-text-NumberBox--disabled);border-color:var(--xmlui-color-border-NumberBox--disabled)}._inputRoot_zavgy_13 ._input_zavgy_13{font-size:inherit;color:inherit;border:0;outline:none;background-color:transparent;padding:0;width:100%;cursor:inherit;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}._inputRoot_zavgy_13 ._input_zavgy_13::-webkit-outer-spin-button,._inputRoot_zavgy_13 ._input_zavgy_13::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._inputRoot_zavgy_13 ._spinnerBox_zavgy_184{display:flex;flex-direction:column;height:0;align-items:center;justify-content:center}._inputRoot_zavgy_13 ._spinnerButton_zavgy_191{padding:0!important;width:var(--xmlui-space-6);border:none}._readOnly_zavgy_197{cursor:text}._selectValue_z2kxg_13>span{font-size:var(--xmlui-font-size-Select-default);color:var(--xmlui-color-placeholder-Select-default)}._selectValue_z2kxg_13>span>div{color:var(--xmlui-color-text-Select-default);font-size:var(--xmlui-font-size-Select-default)}._selectValue_z2kxg_13._error_z2kxg_21>span{font-size:var(--xmlui-font-size-Select-error);color:var(--xmlui-color-placeholder-Select-error)}._selectValue_z2kxg_13._error_z2kxg_21>span>div{color:var(--xmlui-color-text-Select-error);font-size:var(--xmlui-font-size-Select-error)}._selectValue_z2kxg_13._warning_z2kxg_29>span{font-size:var(--xmlui-font-size-Select-warning);color:var(--xmlui-color-placeholder-Select-warning)}._selectValue_z2kxg_13._warning_z2kxg_29>span>div{color:var(--xmlui-color-text-Select-warning);font-size:var(--xmlui-font-size-Select-warning)}._selectValue_z2kxg_13._valid_z2kxg_37>span{font-size:var(--xmlui-font-size-Select-success);color:var(--xmlui-color-placeholder-Select-success)}._selectValue_z2kxg_13._valid_z2kxg_37>span>div{color:var(--xmlui-color-text-Select-success);font-size:var(--xmlui-font-size-Select-success)}._selectTrigger_z2kxg_46{min-height:2.6rem;display:flex;padding:var(--xmlui-space-1) var(--xmlui-space-2);width:100%;align-items:center;justify-content:space-between;outline:none;overflow:hidden;border-radius:var(--xmlui-radius-Select-default);border-color:var(--xmlui-color-border-Select-default);border-width:var(--xmlui-thickness-border-Select-default);border-style:var(--xmlui-style-border-Select-default);font-size:var(--xmlui-font-size-Select-default);background-color:var(--xmlui-color-bg-Select-default);box-shadow:var(--xmlui-shadow-Select-default);color:var(--xmlui-color-text-Select-default)}._selectTrigger_z2kxg_46:hover{border-color:var(--xmlui-color-border-Select-default--hover);background-color:var(--xmlui-color-bg-Select-default--hover);box-shadow:var(--xmlui-shadow-Select-default--hover);color:var(--xmlui-color-text-Select-default--hover)}._selectTrigger_z2kxg_46:focus{outline-width:var(--xmlui-thickness-outline-Select-default--focus);outline-color:var(--xmlui-color-outline-Select-default--focus);outline-style:var(--xmlui-style-outline-Select-default--focus);outline-offset:var(--xmlui-offset-outline-Select-default--focus)}._selectTrigger_z2kxg_46::placeholder{color:var(--xmlui-color-placeholder-Select-default)}._selectTrigger_z2kxg_46._error_z2kxg_21{border-radius:var(--xmlui-radius-Select-error);border-color:var(--xmlui-color-border-Select-error);border-width:var(--xmlui-thickness-border-Select-error);border-style:var(--xmlui-style-border-Select-error);font-size:var(--xmlui-font-size-Select-error);background-color:var(--xmlui-color-bg-Select-error);box-shadow:var(--xmlui-shadow-Select-error);color:var(--xmlui-color-text-Select-error)}._selectTrigger_z2kxg_46._error_z2kxg_21:hover{border-color:var(--xmlui-color-border-Select-error--hover);background-color:var(--xmlui-color-bg-Select-error--hover);box-shadow:var(--xmlui-shadow-Select-error--hover);color:var(--xmlui-color-text-Select-error--hover)}._selectTrigger_z2kxg_46._error_z2kxg_21:focus{outline-width:var(--xmlui-thickness-outline-Select-error--focus);outline-color:var(--xmlui-color-outline-Select-error--focus);outline-style:var(--xmlui-style-outline-Select-error--focus);outline-offset:var(--xmlui-offset-outline-Select-error--focus)}._selectTrigger_z2kxg_46._error_z2kxg_21::placeholder{color:var(--xmlui-color-placeholder-Select-error)}._selectTrigger_z2kxg_46._warning_z2kxg_29{border-radius:var(--xmlui-radius-Select-warning);border-color:var(--xmlui-color-border-Select-warning);border-width:var(--xmlui-thickness-border-Select-warning);border-style:var(--xmlui-style-border-Select-warning);font-size:var(--xmlui-font-size-Select-warning);background-color:var(--xmlui-color-bg-Select-warning);box-shadow:var(--xmlui-shadow-Select-warning);color:var(--xmlui-color-text-Select-warning)}._selectTrigger_z2kxg_46._warning_z2kxg_29:hover{border-color:var(--xmlui-color-border-Select-warning--hover);background-color:var(--xmlui-color-bg-Select-warning--hover);box-shadow:var(--xmlui-shadow-Select-warning--hover);color:var(--xmlui-color-text-Select-warning--hover)}._selectTrigger_z2kxg_46._warning_z2kxg_29:focus{outline-width:var(--xmlui-thickness-outline-Select-warning--focus);outline-color:var(--xmlui-color-outline-Select-warning--focus);outline-style:var(--xmlui-style-outline-Select-warning--focus);outline-offset:var(--xmlui-offset-outline-Select-warning--focus)}._selectTrigger_z2kxg_46._warning_z2kxg_29::placeholder{color:var(--xmlui-color-placeholder-Select-warning)}._selectTrigger_z2kxg_46._valid_z2kxg_37{border-radius:var(--xmlui-radius-Select-success);border-color:var(--xmlui-color-border-Select-success);border-width:var(--xmlui-thickness-border-Select-success);border-style:var(--xmlui-style-border-Select-success);font-size:var(--xmlui-font-size-Select-success);background-color:var(--xmlui-color-bg-Select-success);box-shadow:var(--xmlui-shadow-Select-success);color:var(--xmlui-color-text-Select-success)}._selectTrigger_z2kxg_46._valid_z2kxg_37:hover{border-color:var(--xmlui-color-border-Select-success--hover);background-color:var(--xmlui-color-bg-Select-success--hover);box-shadow:var(--xmlui-shadow-Select-success--hover);color:var(--xmlui-color-text-Select-success--hover)}._selectTrigger_z2kxg_46._valid_z2kxg_37:focus{outline-width:var(--xmlui-thickness-outline-Select-success--focus);outline-color:var(--xmlui-color-outline-Select-success--focus);outline-style:var(--xmlui-style-outline-Select-success--focus);outline-offset:var(--xmlui-offset-outline-Select-success--focus)}._selectTrigger_z2kxg_46._valid_z2kxg_37::placeholder{color:var(--xmlui-color-placeholder-Select-success)}._selectTrigger_z2kxg_46:disabled{cursor:not-allowed;opacity:var(--xmlui-opacity-Select--disabled);background-color:var(--xmlui-color-bg-Select--disabled);color:var(--xmlui-color-text-Select--disabled);border-color:var(--xmlui-color-border-Select--disabled)}._selectTrigger_z2kxg_46>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}._badgeListContainer_z2kxg_170{display:flex;justify-content:space-between;align-items:center;width:100%}._badgeList_z2kxg_170{gap:4px;display:flex;flex-wrap:wrap;align-items:center}._badge_z2kxg_170{width:fit-content;height:fit-content;min-width:0;padding:var(--xmlui-padding-vertical-Select-badge) var(--xmlui-padding-horizontal-Select-badge);transition:color .2s,background-color .2s;-webkit-user-select:none;user-select:none;cursor:pointer;display:flex;gap:var(--xmlui-space-1);justify-content:center;align-items:center;border-radius:var(--xmlui-radius);font-size:var(--xmlui-font-size-Select-badge);background-color:var(--xmlui-color-bg-Select-badge);color:var(--xmlui-color-text-Select-badge)}._badge_z2kxg_170:hover{background-color:var(--xmlui-color-bg-Select-badge--hover);color:var(--xmlui-color-text-Select-badge--hover)}._badge_z2kxg_170:active{background-color:var(--xmlui-color-bg-Select-badge--active);color:var(--xmlui-color-text-Select-badge--active)}._actions_z2kxg_210{display:flex;align-items:center;justify-content:space-between}._placeholder_z2kxg_216{display:block;color:var(--xmlui-color-placeholder-Select)}._emptyList_z2kxg_221{display:flex;gap:.2rem;padding:10px 0;justify-content:center;align-items:center;font-size:14px;width:100%}._selectScrollUpButton_z2kxg_231,._selectScrollDownButton_z2kxg_240{display:flex;cursor:default;align-items:center;justify-content:center;padding-top:.25rem;padding-bottom:.25rem}._command_z2kxg_249{display:flex;flex-direction:column;height:100%;width:100%;overflow:auto;border-radius:6px;background-color:var(--xmlui-color-bg-menu-Select)}._commandInputContainer_z2kxg_259{display:flex;align-items:center;padding:0 12px;border-bottom:1px solid var(--xmlui-color-border)}._commandInput_z2kxg_259{flex:1;background-color:transparent;padding:.5rem;font-size:14px;outline:none;border:none}._commandInput_z2kxg_259:focus{outline:none;box-shadow:none;border:0}._commandInput_z2kxg_259:disabled{cursor:not-allowed;opacity:var(--xmlui-opacity-Select--disabled)}._commandList_z2kxg_284{overflow-y:auto;overflow-x:hidden}._selectContent_z2kxg_289{position:relative;z-index:50;overflow:auto;background-color:var(--xmlui-color-bg-menu-Select);border-radius:var(--xmlui-radius-menu-Select);box-shadow:var(--xmlui-shadow-menu-Select);border:var(--xmlui-thickness-border-menu-Select) solid var(--xmlui-color-border-menu-Select)}._selectContent_z2kxg_289[data-state=open]{animation:_fadeIn_z2kxg_1 .3s ease-in-out,_zoomIn_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-state=closed]{animation:_fadeOut_z2kxg_1 .3s ease-in-out,_zoomOut_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-side=bottom]{animation:_slideInFromTop_z2kxg_1 .08s ease-in-out}._selectContent_z2kxg_289[data-side=left]{animation:_slideInFromRight_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-side=right]{animation:_slideInFromLeft_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-side=top]{animation:_slideInFromBottom_z2kxg_1 .3s ease-in-out}._selectContent_z2kxg_289[data-side=bottom]{transform:translateY(.25rem)}._selectContent_z2kxg_289[data-side=left]{transform:translate(-.25rem)}._selectContent_z2kxg_289[data-side=right]{transform:translate(.25rem)}._selectContent_z2kxg_289[data-side=top]{transform:translateY(-.25rem)}._multiComboboxOption_z2kxg_329{padding:.5rem 1rem;display:flex;gap:1rem;align-items:center;justify-content:space-between;cursor:pointer;transition:background-color .2s ease;background-color:var(--xmlui-color-bg-item-Select)}._multiComboboxOption_z2kxg_329[data-selected=true]{background-color:var(--xmlui-color-bg-item-Select--hover)}._multiComboboxOption_z2kxg_329[data-disabled=true]{pointer-events:none;opacity:var(--xmlui-opacity-text-item-Select--disabled);cursor:not-allowed;font-style:italic}._selectItem_z2kxg_349{position:relative;display:flex;width:100%;cursor:default;-webkit-user-select:none;user-select:none;align-items:center;border-radius:4px;padding-top:.5em;padding-bottom:.5em;padding-inline:1em;outline:none;font-size:var(--xmlui-font-size-Select)}._selectItem_z2kxg_349[data-highlighted]{background-color:var(--xmlui-color-bg-item-Select--hover)}._selectItem_z2kxg_349[data-state=checked]{background-color:var(--xmlui-color-bg-item-Select--active)}._selectItem_z2kxg_349[data-disabled]{pointer-events:none;opacity:var(--xmlui-opacity-text-item-Select--disabled);cursor:not-allowed;font-style:italic}._selectItemIndicator_z2kxg_377{position:absolute;right:.5rem;display:flex;height:.875rem;width:.875rem;align-items:center;justify-content:center;color:var(--xmlui-color-text-indicator-Select)}._selectViewport_z2kxg_388{height:var(--radix-select-trigger-height);width:100%;min-width:var(--radix-select-trigger-width)}._selectEmpty_z2kxg_394{display:flex;gap:.2rem;height:100%;padding:10px 0;justify-content:center;align-items:center;font-size:14px;width:100%}._srOnly_z2kxg_405{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes _fadeIn_z2kxg_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_z2kxg_1{0%{opacity:1}to{opacity:0}}@keyframes _zoomIn_z2kxg_1{0%{transform:scale(.95)}to{transform:scale(1)}}@keyframes _zoomOut_z2kxg_1{0%{transform:scale(1)}to{transform:scale(.95)}}@keyframes _slideInFromTop_z2kxg_1{0%{transform:translateY(-.75rem)}to{transform:translateY(0)}}@keyframes _slideInFromBottom_z2kxg_1{0%{transform:translateY(.75rem)}to{transform:translateY(0)}}@keyframes _slideInFromLeft_z2kxg_1{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes _slideInFromRight_z2kxg_1{0%{transform:translate(100%)}to{transform:translate(0)}}._radioGroupContainer_1wu5b_13{width:100%;display:flex;flex-direction:column;gap:var(--xmlui-space-2)}._radioOptionContainer_1wu5b_20{display:flex;align-items:center;gap:var(--xmlui-gap-RadioGroupOption)}._radioOption_1wu5b_20{flex-shrink:0;width:18px;height:18px;border-radius:100%;background-color:var(--xmlui-color-bg-RadioGroupOption-default);border-width:var(--xmlui-thickness-border-RadioGroupOption);border-style:solid;border-color:var(--xmlui-color-border-RadioGroupOption-default);padding:0;cursor:pointer}._radioOption_1wu5b_20:hover{border-color:var(--xmlui-color-border-RadioGroupOption-default--hover)}._radioOption_1wu5b_20:focus-visible{outline-width:var(--xmlui-thickness-outline-RadioGroupOption--focus);outline-color:var(--xmlui-color-outline-RadioGroupOption--focus);outline-style:var(--xmlui-style-outline-RadioGroupOption--focus);outline-offset:var(--xmlui-offset-outline-RadioGroupOption--focus)}._radioOption_1wu5b_20:disabled{cursor:not-allowed;border-color:var(--xmlui-color-border-RadioGroupOption--disabled)}._radioOption_1wu5b_20:disabled+label{cursor:not-allowed;color:var(--xmlui-color-text-RadioGroupOption--disabled)}._radioOption_1wu5b_20._error_1wu5b_55{border-color:var(--xmlui-color-border-RadioGroupOption-error)}._radioOption_1wu5b_20._warning_1wu5b_58{border-color:var(--xmlui-color-border-RadioGroupOption-warning)}._radioOption_1wu5b_20._valid_1wu5b_61{border-color:var(--xmlui-color-border-RadioGroupOption-success)}._indicator_1wu5b_65{display:grid;place-content:center;width:100%;height:100%}._indicator_1wu5b_65:after{content:"";width:10px;height:10px;border-radius:50%;box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption-default)}._indicator_1wu5b_65._disabled_1wu5b_78:after{box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption--disabled)}._indicator_1wu5b_65._error_1wu5b_55:after{box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption-error)}._indicator_1wu5b_65._warning_1wu5b_58:after{box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption-warning)}._indicator_1wu5b_65._valid_1wu5b_61:after{box-shadow:inset 1em 1em var(--xmlui-color-bg-checked-RadioGroupOption-success)}._label_1wu5b_91{color:var(--xmlui-color-text-RadioGroupOption-default);font-size:var(--xmlui-font-size-RadioGroupOption);font-weight:var(--xmlui-font-weight-RadioGroupOption);-webkit-user-select:none;user-select:none;cursor:pointer}._label_1wu5b_91._error_1wu5b_55{color:var(--xmlui-color-text-RadioGroupOption-error)}._label_1wu5b_91._warning_1wu5b_58{color:var(--xmlui-color-text-RadioGroupOption-warning)}._label_1wu5b_91._valid_1wu5b_61{color:var(--xmlui-color-text-RadioGroupOption-success)}._helper_1ktpj_13{padding-top:var(--xmlui-space-1);padding-bottom:var(--xmlui-space-1);display:flex;align-items:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}._helperText_1ktpj_24{font-size:var(--xmlui-font-size-small);color:var(--xmlui-color-text-primary)}._valid_1ktpj_29 ._helperText_1ktpj_24{margin-left:.25em;color:var(--xmlui-color-valid)}._error_1ktpj_34 ._helperText_1ktpj_24{margin-left:.25em;color:var(--xmlui-color-error)}._warning_1ktpj_39 ._helperText_1ktpj_24{margin-left:.25em;color:var(--xmlui-color-warning)}._datePicker_t0hf0_13{padding:.5rem .5rem .5rem 1rem;display:flex;align-items:center;cursor:pointer;flex-direction:row;width:100%;min-height:var(--xmlui-min-height-DatePicker);border-width:1px;border-style:solid;transition:background-color ease-in .1s;overflow:hidden;font-size:var(--xmlui-font-size-DatePicker);border-radius:var(--xmlui-radius-DatePicker-default);border-color:var(--xmlui-color-border-DatePicker-default);border-width:var(--xmlui-thickness-border-DatePicker-default);border-style:var(--xmlui-style-border-DatePicker-default);background-color:var(--xmlui-color-bg-DatePicker-default);box-shadow:var(--xmlui-shadow-DatePicker-default);color:var(--xmlui-color-text-DatePicker-default)}._datePicker_t0hf0_13:hover{border-color:var(--xmlui-color-border-DatePicker-default--hover);background-color:var(--xmlui-color-bg-DatePicker-default--hover);box-shadow:var(--xmlui-shadow-DatePicker-default--hover);color:var(--xmlui-color-text-DatePicker-default--hover)}._datePicker_t0hf0_13:focus{outline-width:var(--xmlui-thickness-outline-DatePicker-default--focus);outline-color:var(--xmlui-color-outline-DatePicker-default--focus);outline-style:var(--xmlui-style-outline-DatePicker-default--focus);outline-offset:var(--xmlui-offset-outline-DatePicker-default--focus)}._datePicker_t0hf0_13 ._placeholder_t0hf0_46{color:var(--xmlui-color-placeholder-DatePicker-default)}._datePicker_t0hf0_13._error_t0hf0_49{border-radius:var(--xmlui-radius-DatePicker-error);border-color:var(--xmlui-color-border-DatePicker-error);border-width:var(--xmlui-thickness-border-DatePicker-error);border-style:var(--xmlui-style-border-DatePicker-error);background-color:var(--xmlui-color-bg-DatePicker-error);box-shadow:var(--xmlui-shadow-DatePicker-error);color:var(--xmlui-color-text-DatePicker-error)}._datePicker_t0hf0_13._error_t0hf0_49:hover{border-color:var(--xmlui-color-border-DatePicker-error--hover);background-color:var(--xmlui-color-bg-DatePicker-error--hover);box-shadow:var(--xmlui-shadow-DatePicker-error--hover);color:var(--xmlui-color-text-DatePicker-error--hover)}._datePicker_t0hf0_13._error_t0hf0_49:focus{outline-width:var(--xmlui-thickness-outline-DatePicker-error--focus);outline-color:var(--xmlui-color-outline-DatePicker-error--focus);outline-style:var(--xmlui-style-outline-DatePicker-error--focus);outline-offset:var(--xmlui-offset-outline-DatePicker-error--focus)}._datePicker_t0hf0_13._error_t0hf0_49 ._placeholder_t0hf0_46{color:var(--xmlui-color-placeholder-DatePicker-error)}._datePicker_t0hf0_13._warning_t0hf0_73{border-radius:var(--xmlui-radius-DatePicker-warning);border-color:var(--xmlui-color-border-DatePicker-warning);border-width:var(--xmlui-thickness-border-DatePicker-warning);border-style:var(--xmlui-style-border-DatePicker-warning);background-color:var(--xmlui-color-bg-DatePicker-warning);box-shadow:var(--xmlui-shadow-DatePicker-warning);color:var(--xmlui-color-text-DatePicker-warning)}._datePicker_t0hf0_13._warning_t0hf0_73:hover{border-color:var(--xmlui-color-border-DatePicker-warning--hover);background-color:var(--xmlui-color-bg-DatePicker-warning--hover);box-shadow:var(--xmlui-shadow-DatePicker-warning--hover);color:var(--xmlui-color-text-DatePicker-warning--hover)}._datePicker_t0hf0_13._warning_t0hf0_73:focus{outline-width:var(--xmlui-thickness-outline-DatePicker-warning--focus);outline-color:var(--xmlui-color-outline-DatePicker-warning--focus);outline-style:var(--xmlui-style-outline-DatePicker-warning--focus);outline-offset:var(--xmlui-offset-outline-DatePicker-warning--focus)}._datePicker_t0hf0_13._warning_t0hf0_73 ._placeholder_t0hf0_46{color:var(--xmlui-color-placeholder-DatePicker-warning)}._datePicker_t0hf0_13._valid_t0hf0_97{border-radius:var(--xmlui-radius-DatePicker-success);border-color:var(--xmlui-color-border-DatePicker-success);border-width:var(--xmlui-thickness-border-DatePicker-success);border-style:var(--xmlui-style-border-DatePicker-success);background-color:var(--xmlui-color-bg-DatePicker-success);box-shadow:var(--xmlui-shadow-DatePicker-success);color:var(--xmlui-color-text-DatePicker-success)}._datePicker_t0hf0_13._valid_t0hf0_97:hover{border-color:var(--xmlui-color-border-DatePicker-success--hover);background-color:var(--xmlui-color-bg-DatePicker-success--hover);box-shadow:var(--xmlui-shadow-DatePicker-success--hover);color:var(--xmlui-color-text-DatePicker-success--hover)}._datePicker_t0hf0_13._valid_t0hf0_97:focus{outline-width:var(--xmlui-thickness-outline-DatePicker-success--focus);outline-color:var(--xmlui-color-outline-DatePicker-success--focus);outline-style:var(--xmlui-style-outline-DatePicker-success--focus);outline-offset:var(--xmlui-offset-outline-DatePicker-success--focus)}._datePicker_t0hf0_13._valid_t0hf0_97 ._placeholder_t0hf0_46{color:var(--xmlui-color-placeholder-DatePicker-success)}._datePicker_t0hf0_13._disabled_t0hf0_121{cursor:not-allowed;background-color:var(--xmlui-color-bg-DatePicker--disabled);color:var(--xmlui-color-text-DatePicker--disabled);border-color:var(--xmlui-color-border-DatePicker--disabled)}._datePicker_t0hf0_13._disabled_t0hf0_121 ._indicator_t0hf0_127,._datePicker_t0hf0_13._disabled_t0hf0_121 ._datePickerInput_t0hf0_127{cursor:not-allowed}._datePickerMenu_t0hf0_131{padding:0;overflow-y:auto;height:fit-content;box-shadow:var(--xmlui-shadow-menu-DatePicker);background-color:var(--xmlui-color-bg-menu-DatePicker);border-radius:var(--xmlui-radius-menu-DatePicker)}._root_t0hf0_140{margin:2rem}._vhidden_t0hf0_145{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute!important;top:0;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;border:0!important}._button_reset_t0hf0_165{appearance:none;position:relative;margin:0;padding:0;cursor:default;color:inherit;background:none;font:inherit;-moz-appearance:none;-webkit-appearance:none}._button_reset_t0hf0_165:focus-visible{outline:none}._button_t0hf0_165{border:2px solid transparent}._button_t0hf0_165[disabled]:not(._day_selected_t0hf0_187){opacity:.25}._button_t0hf0_165:not([disabled]){cursor:pointer}._button_t0hf0_165:focus-visible:not([disabled]){color:inherit;background-color:var(--xmlui-color-bg-item-DatePicker--hover);border:2px solid var(--xmlui-color-bg-item-DatePicker--active)}._button_t0hf0_165:hover:not([disabled]):not(._day_selected_t0hf0_187){background-color:var(--xmlui-color-bg-item-DatePicker--hover)}._months_t0hf0_205{display:flex}._month_t0hf0_205{margin:0 1em}._month_t0hf0_205:first-child{margin-left:0}._month_t0hf0_205:last-child{margin-right:0}._table_t0hf0_221{margin:0;max-width:280px;border-collapse:collapse}._with_weeknumber_t0hf0_227 ._table_t0hf0_221{max-width:320px;border-collapse:collapse}._caption_t0hf0_232{display:flex;align-items:center;justify-content:space-between;padding:0;text-align:left}._multiple_months_t0hf0_240 ._caption_t0hf0_232{position:relative;display:block;text-align:center}._caption_dropdowns_t0hf0_246{position:relative;display:inline-flex}._caption_label_t0hf0_251{position:relative;z-index:1;display:inline-flex;align-items:center;margin:0;padding:0 .25em;white-space:nowrap;color:currentColor;border:0;border:2px solid transparent;font-family:inherit;font-size:18px;font-weight:700}._nav_t0hf0_267{white-space:nowrap}._multiple_months_t0hf0_240 ._caption_start_t0hf0_271 ._nav_t0hf0_267{position:absolute;top:50%;left:0;transform:translateY(-50%)}._multiple_months_t0hf0_240 ._caption_end_t0hf0_278 ._nav_t0hf0_267{position:absolute;top:50%;right:0;transform:translateY(-50%)}._nav_button_t0hf0_285{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:.25em;border-radius:100%}._dropdown_year_t0hf0_298,._dropdown_month_t0hf0_299{position:relative;display:inline-flex;align-items:center}._dropdown_t0hf0_298{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:2;top:0;bottom:0;left:0;width:100%;margin:0;padding:0;cursor:inherit;opacity:0;border:none;background-color:transparent;font-family:inherit;font-size:inherit;line-height:inherit}._dropdown_t0hf0_298[disabled]{opacity:unset;color:unset}._dropdown_t0hf0_298:focus-visible:not([disabled])+._caption_label_t0hf0_251{background-color:var(--xmlui-color-bg-item-DatePicker--hover);border:2px solid var(--xmlui-color-bg-item-DatePicker--active);border-radius:6px}._dropdown_icon_t0hf0_335{margin:0 0 0 5px}._head_t0hf0_339{border:0}._head_row_t0hf0_343,._row_t0hf0_344{height:100%}._head_cell_t0hf0_348{vertical-align:middle;font-size:.75em;font-weight:700;text-align:center;height:100%;height:40px;padding:0;text-transform:uppercase}._tbody_t0hf0_359{border:0}._tfoot_t0hf0_363{margin:.5em}._cell_t0hf0_367{width:40px;height:100%;height:40px;padding:0;text-align:center}._weeknumber_t0hf0_375{font-size:.75em}._weeknumber_t0hf0_375,._day_t0hf0_187{display:flex;overflow:hidden;align-items:center;justify-content:center;box-sizing:border-box;width:40px;max-width:40px;height:40px;margin:0;border:2px solid transparent;border-radius:100%}._day_today_t0hf0_394:not(._day_outside_t0hf0_394){font-weight:700}._day_selected_t0hf0_187,._day_selected_t0hf0_187:focus-visible,._day_selected_t0hf0_187:hover{color:var(--xmlui-color-text-value-DatePicker);opacity:1;background-color:var(--xmlui-color-bg-item-DatePicker--active)}._day_outside_t0hf0_394{opacity:.5}._day_selected_t0hf0_187:focus-visible{outline:2px solid var(--xmlui-color-bg-item-DatePicker--active);outline-offset:2px;z-index:1}._root_t0hf0_140:not([dir=rtl]) ._day_range_start_t0hf0_417:not(._day_range_end_t0hf0_417){border-top-right-radius:0;border-bottom-right-radius:0}._root_t0hf0_140:not([dir=rtl]) ._day_range_end_t0hf0_417:not(._day_range_start_t0hf0_417){border-top-left-radius:0;border-bottom-left-radius:0}._root_t0hf0_140[dir=rtl] ._day_range_start_t0hf0_417:not(._day_range_end_t0hf0_417){border-top-left-radius:0;border-bottom-left-radius:0}._root_t0hf0_140[dir=rtl] ._day_range_end_t0hf0_417:not(._day_range_start_t0hf0_417){border-top-right-radius:0;border-bottom-right-radius:0}._day_range_end_t0hf0_417._day_range_start_t0hf0_417{border-radius:100%}._day_range_middle_t0hf0_441{border-radius:0}._wrapper_wscb6_13{display:flex;flex-direction:column;gap:var(--xmlui-gap-Form)}._buttonRow_wscb6_19{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:var(--xmlui-gap-buttonRow-Form)}._summaryContainer_16h88_13{display:flex;flex-direction:column;gap:.5rem}._summaryContainer_16h88_13:empty{display:none}._validationContainer_16h88_22{position:relative;padding-top:0;padding-bottom:.5rem;padding-left:1rem}._validationContainer_16h88_22:before{position:absolute;top:0;left:0;display:block;content:"";height:100%;width:2px}._validationContainer_16h88_22 ul{list-style-position:inside;padding-left:0}._validationContainer_16h88_22 li{padding-left:2rem}._validationContainer_16h88_22 li::marker{font-size:.625em}._validationContainer_16h88_22 ._noMarker_16h88_47{list-style:none;padding-left:1.6rem;line-height:1.6rem}._validationContainer_16h88_22._error_16h88_52{background-color:var(--xmlui-color-bg-ValidationDisplay-error)}._validationContainer_16h88_22._error_16h88_52:before{background-color:var(--xmlui-color-accent-ValidationDisplay-error)}._validationContainer_16h88_22._error_16h88_52 ._heading_16h88_58{color:var(--xmlui-color-text-ValidationDisplay-error);font-weight:700}._validationContainer_16h88_22._warning_16h88_62{background-color:var(--xmlui-color-bg-ValidationDisplay-warning)}._validationContainer_16h88_22._warning_16h88_62:before{background-color:var(--xmlui-color-accent-ValidationDisplay-warning)}._validationContainer_16h88_22._warning_16h88_62 ._heading_16h88_58{color:var(--xmlui-color-text-ValidationDisplay-warning);font-weight:700}._validationContainer_16h88_22._info_16h88_72{background-color:var(--xmlui-color-bg-ValidationDisplay-info)}._validationContainer_16h88_22._info_16h88_72:before{background-color:var(--xmlui-color-accent-ValidationDisplay-info)}._validationContainer_16h88_22._info_16h88_72 ._heading_16h88_58{color:var(--xmlui-color-text-ValidationDisplay-info);font-weight:700}._validationContainer_16h88_22._valid_16h88_22{background-color:var(--xmlui-color-bg-ValidationDisplay-valid)}._validationContainer_16h88_22._valid_16h88_22:before{background-color:var(--xmlui-color-accent-ValidationDisplay-valid)}._validationContainer_16h88_22._valid_16h88_22 ._heading_16h88_58{color:var(--xmlui-color-text-ValidationDisplay-valid);font-weight:700}._command_4q1ko_13{width:100%;height:auto;overflow:visible;background-color:transparent}._badgeListWrapper_4q1ko_20{outline:none;display:flex;padding:var(--xmlui-space-1) var(--xmlui-space-2);min-height:2.5rem;border-radius:var(--xmlui-radius-AutoComplete-default);border-color:var(--xmlui-color-border-AutoComplete-default);border-width:var(--xmlui-thickness-border-AutoComplete-default);border-style:var(--xmlui-style-border-AutoComplete-default);font-size:var(--xmlui-font-size-AutoComplete-default);background-color:var(--xmlui-color-bg-AutoComplete-default);box-shadow:var(--xmlui-shadow-AutoComplete-default);color:var(--xmlui-color-text-AutoComplete-default)}._badgeListWrapper_4q1ko_20:hover{border-color:var(--xmlui-color-border-AutoComplete-default--hover);background-color:var(--xmlui-color-bg-AutoComplete-default--hover);box-shadow:var(--xmlui-shadow-AutoComplete-default--hover);color:var(--xmlui-color-text-AutoComplete-default--hover)}._badgeListWrapper_4q1ko_20::placeholder{color:var(--xmlui-color-placeholder-AutoComplete-default)}._badgeListWrapper_4q1ko_20._error_4q1ko_43{border-radius:var(--xmlui-radius-AutoComplete-error);border-color:var(--xmlui-color-border-AutoComplete-error);border-width:var(--xmlui-thickness-border-AutoComplete-error);border-style:var(--xmlui-style-border-AutoComplete-error);font-size:var(--xmlui-font-size-AutoComplete-error);background-color:var(--xmlui-color-bg-AutoComplete-error);box-shadow:var(--xmlui-shadow-AutoComplete-error);color:var(--xmlui-color-text-AutoComplete-error)}._badgeListWrapper_4q1ko_20._error_4q1ko_43:hover{border-color:var(--xmlui-color-border-AutoComplete-error--hover);background-color:var(--xmlui-color-bg-AutoComplete-error--hover);box-shadow:var(--xmlui-shadow-AutoComplete-error--hover);color:var(--xmlui-color-text-AutoComplete-error--hover)}._badgeListWrapper_4q1ko_20._error_4q1ko_43::placeholder{color:var(--xmlui-color-placeholder-AutoComplete-error)}._badgeListWrapper_4q1ko_20._warning_4q1ko_62{border-radius:var(--xmlui-radius-AutoComplete-warning);border-color:var(--xmlui-color-border-AutoComplete-warning);border-width:var(--xmlui-thickness-border-AutoComplete-warning);border-style:var(--xmlui-style-border-AutoComplete-warning);font-size:var(--xmlui-font-size-AutoComplete-warning);background-color:var(--xmlui-color-bg-AutoComplete-warning);box-shadow:var(--xmlui-shadow-AutoComplete-warning);color:var(--xmlui-color-text-AutoComplete-warning)}._badgeListWrapper_4q1ko_20._warning_4q1ko_62:hover{border-color:var(--xmlui-color-border-AutoComplete-warning--hover);background-color:var(--xmlui-color-bg-AutoComplete-warning--hover);box-shadow:var(--xmlui-shadow-AutoComplete-warning--hover);color:var(--xmlui-color-text-AutoComplete-warning--hover)}._badgeListWrapper_4q1ko_20._warning_4q1ko_62::placeholder{color:var(--xmlui-color-placeholder-AutoComplete-warning)}._badgeListWrapper_4q1ko_20._valid_4q1ko_81{border-radius:var(--xmlui-radius-AutoComplete-success);border-color:var(--xmlui-color-border-AutoComplete-success);border-width:var(--xmlui-thickness-border-AutoComplete-success);border-style:var(--xmlui-style-border-AutoComplete-success);font-size:var(--xmlui-font-size-AutoComplete-success);background-color:var(--xmlui-color-bg-AutoComplete-success);box-shadow:var(--xmlui-shadow-AutoComplete-success);color:var(--xmlui-color-text-AutoComplete-success)}._badgeListWrapper_4q1ko_20._valid_4q1ko_81:hover{border-color:var(--xmlui-color-border-AutoComplete-success--hover);background-color:var(--xmlui-color-bg-AutoComplete-success--hover);box-shadow:var(--xmlui-shadow-AutoComplete-success--hover);color:var(--xmlui-color-text-AutoComplete-success--hover)}._badgeListWrapper_4q1ko_20._valid_4q1ko_81::placeholder{color:var(--xmlui-color-placeholder-AutoComplete-success)}._badgeListWrapper_4q1ko_20._disabled_4q1ko_100{cursor:not-allowed;opacity:.5;background-color:var(--xmlui-color-bg-AutoComplete--disabled);color:var(--xmlui-color-text-AutoComplete--disabled);border-color:var(--xmlui-color-border-AutoComplete--disabled)}._badgeListWrapper_4q1ko_20._focused_4q1ko_107{outline-width:var(--xmlui-thickness-outline-AutoComplete--focus);outline-color:var(--xmlui-color-outline-AutoComplete--focus);outline-style:var(--xmlui-style-outline-AutoComplete--focus);outline-offset:var(--xmlui-offset-outline-AutoComplete--focus)}._badgeList_4q1ko_20{position:relative;flex-grow:1;align-items:center;display:flex;flex-wrap:wrap;gap:.25rem}._badge_4q1ko_20{width:fit-content;height:fit-content;min-width:0;padding:var(--xmlui-padding-vertical-AutoComplete-badge) var(--xmlui-padding-horizontal-AutoComplete-badge);transition:color .2s,background-color .2s;-webkit-user-select:none;user-select:none;cursor:pointer;display:flex;gap:var(--xmlui-space-1);justify-content:center;align-items:center;border-radius:var(--xmlui-radius);font-size:var(--xmlui-font-size-AutoComplete-badge);background-color:var(--xmlui-color-bg-AutoComplete-badge);color:var(--xmlui-color-text-AutoComplete-badge)}._badge_4q1ko_20:hover{background-color:var(--xmlui-color-bg-AutoComplete-badge--hover);color:var(--xmlui-color-text-AutoComplete-badge--hover)}._badge_4q1ko_20:active{background-color:var(--xmlui-color-bg-AutoComplete-badge--active);color:var(--xmlui-color-text-AutoComplete-badge--active)}._commandInput_4q1ko_149{flex:1;background-color:transparent;outline:none}._commandInput_4q1ko_149:disabled{cursor:not-allowed;opacity:.5}._commandInput_4q1ko_149::placeholder{color:var(--xmlui-color-placeholder-AutoComplete)}._actions_4q1ko_162{display:flex;align-items:center;justify-content:space-between}._autoCompleteEmpty_4q1ko_168{display:flex;gap:.2rem;padding:10px 0;justify-content:center;align-items:center;font-size:14px;width:100%}._commandList_4q1ko_178{position:absolute;overflow:hidden;top:.25rem;z-index:10;width:100%;outline:none;background-color:var(--xmlui-color-bg-menu-AutoComplete);border-radius:var(--xmlui-radius-menu-AutoComplete);box-shadow:var(--xmlui-shadow-menu-AutoComplete);animation:_fade-in_4q1ko_1 .3s ease-in-out}._autoCompleteOption_4q1ko_191{padding:.5rem 1rem;display:flex;gap:1rem;align-items:center;justify-content:space-between;cursor:pointer;transition:background-color .2s ease;background-color:var(--xmlui-color-bg-item-AutoComplete)}._autoCompleteOption_4q1ko_191[data-selected=true]{background-color:var(--xmlui-color-bg-item-AutoComplete--hover)}._autoCompleteOption_4q1ko_191[data-disabled=true]{pointer-events:none;opacity:.5;cursor:not-allowed;color:var(--xmlui-color-text-item-AutoComplete--disabled);font-style:italic}._wrapper_1gpge_13{display:flex;flex-direction:column;min-height:100%}._outerWrapper_188xu_13{border-radius:var(--xmlui-radius-Footer);border-width:var(--xmlui-thickness-border-Footer);border-style:var(--xmlui-style-border-Footer);border-color:var(--xmlui-color-border-Footer);border-top-width:var(--xmlui-thickness-border-top-Footer);border-top-style:var(--xmlui-style-border-top-Footer);border-top-color:var(--xmlui-color-border-top-Footer);border-bottom-width:var(--xmlui-thickness-border-bottom-Footer);border-bottom-style:var(--xmlui-style-border-bottom-Footer);border-bottom-color:var(--xmlui-color-border-bottom-Footer);border-left-width:var(--xmlui-thickness-border-left-Footer);border-left-style:var(--xmlui-style-border-left-Footer);border-left-color:var(--xmlui-color-border-left-Footer);border-right-width:var(--xmlui-thickness-border-right-Footer);border-right-style:var(--xmlui-style-border-right-Footer);border-right-color:var(--xmlui-color-border-right-Footer);background-color:var(--xmlui-color-bg-Footer);height:var(--xmlui-height-Footer)}._wrapper_188xu_34{width:100%;display:flex;min-height:0;height:100%;flex-direction:row;padding-left:var(--xmlui-padding-horizontal-Footer);padding-right:var(--xmlui-padding-horizontal-Footer);padding-top:var(--xmlui-padding-vertical-Footer);padding-bottom:var(--xmlui-padding-vertical-Footer);font-size:var(--xmlui-font-size-Footer);align-items:var(--xmlui-align-vertical-Footer);max-width:var(--xmlui-max-content-width-Footer);color:var(--xmlui-color-text-Footer);margin:0 auto}._wrapper_188xu_34._full_188xu_50{max-width:100%}._dropdownList_1i6dc_13{padding:0;margin:0;left:0;top:0;position:absolute;overflow-y:hidden;background:var(--xmlui-color-bg-dropdown-NavGroup);list-style:none;height:fit-content;transition:height .2s ease;box-shadow:var(--xmlui-shadow-dropdown-NavGroup);min-width:11rem;border-radius:var(--xmlui-radius-dropdown-NavGroup)}._dropdownList_1i6dc_13:focus,._dropdownList_1i6dc_13:focus-visible{outline:none}._withNavGroupChevron_1i6dc_32{display:inline-flex;align-items:center}._withNavGroupChevron_1i6dc_32:after{content:"";display:inline-block;vertical-align:.306em;width:.36em;height:.36em;border-bottom:1px solid currentColor;border-left:1px solid currentColor;margin-right:.1em;margin-left:.4em;transform:rotate(-45deg)}._withNavGroupChevron_1i6dc_32._pointRight_1i6dc_48{flex:1}._withNavGroupChevron_1i6dc_32._pointRight_1i6dc_48:after{margin-left:auto;transform:rotate(-135deg)}._wrapper_1pv7f_13 .apexcharts-text{fill:var(--xmlui-color-text-primary)!important}._wrapper_1pv7f_13 .apexcharts-legend-text{color:var(--xmlui-color-text-primary)!important}._wrapper_1pv7f_13 .apexcharts-gridline{stroke:var(--xmlui-color-border)!important}._horizontalRule_y1wfd_13{border:var(--xmlui-thickness-border-HorizontalRule) var(--xmlui-style-border-HorizontalRule) var(--xmlui-color-border-HorizontalRule)}._blockquote_y1wfd_17{position:relative;border-radius:var(--xmlui-radius-Blockquote);background-color:var(--xmlui-color-bg-Blockquote);box-shadow:var(--xmlui-shadow-Blockquote);padding:var(--xmlui-padding-Blockquote);margin-top:var(--xmlui-margin-Blockquote);margin-bottom:var(--xmlui-margin-Blockquote)}._blockquote_y1wfd_17:before{position:absolute;top:0;left:0;display:block;content:"";height:100%;width:2px;background-color:var(--xmlui-accent-Blockquote)}._unorderedList_y1wfd_37{list-style-type:revert;list-style-position:outside;padding-left:var(--xmlui-padding-left-UnorderedList)}._orderedList_y1wfd_43{list-style-type:revert;list-style-position:outside;padding-left:var(--xmlui-padding-left-OrderedList)}._listItem_y1wfd_49{padding-left:var(--xmlui-padding-left-ListItem)}._listItem_y1wfd_49::marker{color:var(--xmlui-color-marker-ListItem)}._DropdownMenuContent_uvcr0_13,._DropdownMenuSubContent_uvcr0_14{background-color:var(--xmlui-color-bg-DropdownMenu);border-radius:var(--xmlui-radius-DropdownMenu);min-width:var(--xmlui-min-width-DropdownMenu);box-shadow:var(--xmlui-shadow-DropdownMenu);overflow:hidden;animation-duration:.4s;animation-timing-function:cubic-bezier(.16,1,.3,1);will-change:transform,opacity;border:var(--xmlui-thickness-border-DropdownMenu-content) var(--xmlui-style-border-DropdownMenu-content) var(--xmlui-color-border-DropdownMenu-content)}._DropdownMenuItem_uvcr0_26,._DropdownMenuSubTrigger_uvcr0_27{background-color:var(--xmlui-color-bg-MenuItem);color:var(--xmlui-color-MenuItem);font-family:var(--xmlui-font-family-MenuItem);display:flex;border:0;width:100%;gap:var(--xmlui-gap-MenuItem);font-size:var(--xmlui-font-size-MenuItem);padding:var(--xmlui-padding-vertical-MenuItem) 0;padding-inline:var(--xmlui-padding-horizontal-MenuItem);cursor:pointer;align-items:center;justify-content:space-between;-webkit-user-select:none;user-select:none;outline:none}._DropdownMenuItem_uvcr0_26:hover,._DropdownMenuItem_uvcr0_26[data-highlighted],._DropdownMenuSubTrigger_uvcr0_27:hover,._DropdownMenuSubTrigger_uvcr0_27[data-highlighted]{background-color:var(--xmlui-color-bg-MenuItem--hover);color:var(--xmlui-color-MenuItem--hover)}._DropdownMenuItem_uvcr0_26._active_uvcr0_50,._DropdownMenuSubTrigger_uvcr0_27._active_uvcr0_50{background-color:var(--xmlui-color-bg-MenuItem--active);color:var(--xmlui-color-MenuItem--active)}._DropdownMenuItem_uvcr0_26._active_uvcr0_50:hover,._DropdownMenuSubTrigger_uvcr0_27._active_uvcr0_50:hover{background-color:var(--xmlui-color-bg-MenuItem--active--hover);color:var(--xmlui-color-MenuItem--active--hover)}._DropdownMenuItem_uvcr0_26 ._wrapper_uvcr0_60,._DropdownMenuSubTrigger_uvcr0_27 ._wrapper_uvcr0_60{flex:1}._DropdownMenuSeparator_uvcr0_65{margin-top:var(--xmlui-margin-top-MenuSeparator);margin-bottom:var(--xmlui-margin-bottom-MenuSeparator);width:var(--xmlui-width-MenuSeparator);height:var(--xmlui-height-MenuSeparator);background-color:var(--xmlui-color-MenuSeparator)}._from_u3s7v_13,._to_u3s7v_13{display:none}._baseRootComponent_u3s7v_17{width:100%;position:relative;height:inherit;font-family:var(--xmlui-font-family, var(--xmlui-font-family));background-color:var(--xmlui-color-bg);font-size:var(--xmlui-font-size);font-weight:var(--xmlui-font-weight);color:var(--xmlui-color-text-primary);overflow:auto;direction:var(--xmlui-direction);font-feature-settings:var(--xmlui-font-feature-settings);--stack-gap-default: var(--xmlui-space-4)}._wrapper_1d7s9_13{flex:1 1 70%;width:70%;display:inline-flex}._chartContainer_1d7s9_19{width:100%;height:100%;justify-content:center;align-items:center}._chart_1d7s9_19{position:relative;display:flex;width:100%;height:100%}._legends_1d7s9_33{flex-direction:column;display:inline-flex;flex-wrap:wrap;overflow:hidden;gap:var(--xmlui-space-2)}._legendItem_1d7s9_41{display:flex;align-items:center;gap:var(--xmlui-space-2)}._legendTop_1d7s9_47{display:flex;flex-direction:column-reverse;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendTop_1d7s9_47 ._wrapper_1d7s9_13{height:80%}._legendTop_1d7s9_47 ._legends_1d7s9_33{height:20%}._legendRight_1d7s9_61{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendRight_1d7s9_61 ._wrapper_1d7s9_13{height:100%}._legendRight_1d7s9_61 ._legends_1d7s9_33{justify-content:start;align-items:start;flex:1 1 30%;width:30%}._legendBottom_1d7s9_78{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendBottom_1d7s9_78 ._wrapper_1d7s9_13{height:80%}._legendBottom_1d7s9_78 ._legends_1d7s9_33{height:20%}._legendLeft_1d7s9_92{display:flex;flex-direction:row-reverse;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendLeft_1d7s9_92 ._wrapper_1d7s9_13{height:100%}._legendLeft_1d7s9_92 ._legends_1d7s9_33{justify-content:start;align-items:start;flex:1 1 30%;width:30%}._legendRow_1d7s9_109{display:inline-flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendColumn_1d7s9_117{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--xmlui-space-2)}._legendBullet_1d7s9_125{width:1rem;height:1rem;border-radius:50%}@media (max-width: 1256px){._wrapper_1d7s9_13{flex-direction:column;width:100%;height:80%}._chart_1d7s9_19{flex-direction:column}._legends_1d7s9_33{flex-direction:row;width:100%!important;justify-content:center}}._tabs_1p09m_13{display:flex;flex:1 1 auto;width:100%;background-color:var(--xmlui-color-bg-Tabs);overflow:hidden}._tabs_1p09m_13[data-orientation=horizontal]{flex-direction:row}._tabs_1p09m_13[data-orientation=vertical]{flex-direction:column}._filler_1p09m_27{flex:1 1 auto}._filler_1p09m_27[data-orientation=horizontal]{border-right-width:var(--xmlui-thickness-border-Tabs);border-right-style:solid;border-right-color:var(--xmlui-color-border-Tabs)}._filler_1p09m_27[data-orientation=vertical]{border-bottom-width:var(--xmlui-thickness-border-Tabs);border-bottom-style:solid;border-bottom-color:var(--xmlui-color-border-Tabs)}._tabTrigger_1p09m_41{font-family:inherit;color:var(--xmlui-color-text-trigger-Tabs);background-color:var(--xmlui-color-bg-trigger-Tabs);padding:var(--xmlui-space-4);display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1;-webkit-user-select:none;user-select:none;border-color:transparent}._tabTrigger_1p09m_41:hover{background-color:var(--xmlui-color-bg-trigger-Tabs--hover)}._tabTrigger_1p09m_41[data-orientation=horizontal]{border-right-width:var(--xmlui-thickness-border-Tabs);border-right-style:solid;border-right-color:var(--xmlui-color-border-Tabs)}._tabTrigger_1p09m_41[data-orientation=horizontal][data-state=active]{border-right-width:var(--xmlui-thickness-border-Tabs);border-right-style:solid;border-right-color:var(--xmlui-color-border-active-Tabs)}._tabTrigger_1p09m_41[data-orientation=vertical]{border-bottom-width:var(--xmlui-thickness-border-Tabs);border-bottom-style:solid;border-bottom-color:var(--xmlui-color-border-Tabs)}._tabTrigger_1p09m_41[data-orientation=vertical][data-state=active]{border-bottom-width:var(--xmlui-thickness-border-Tabs);border-bottom-style:solid;border-bottom-color:var(--xmlui-color-border-active-Tabs)}._tabTrigger_1p09m_41:hover{cursor:pointer}._tabsList_1p09m_81{background-color:var(--xmlui-color-bg-list-Tabs);position:relative;z-index:99;overflow:hidden;display:flex;flex-shrink:0;scrollbar-width:thin}._tabsList_1p09m_81[data-orientation=horizontal]{flex-direction:column}._tabsList_1p09m_81[data-orientation=vertical]{flex-direction:row}._tabsList_1p09m_81:hover{overflow:auto}._tabsContent_1p09m_101{flex-grow:1;outline:none}._nav_1soaw_13{background-color:var(--xmlui-color-bg-TableOfContents);min-width:240px;width:var(--xmlui-width-TableOfContents);align-self:flex-start;height:var(--xmlui-height-TableOfContents);max-height:calc(100vh - 70px);overflow-y:auto;overflow-x:hidden;z-index:99;top:0;position:sticky;scrollbar-color:lab(48.438% 0 0/.4) transparent;scrollbar-width:thin;border-radius:var(--xmlui-border-radius-TableOfContents);border-color:var(--xmlui-color-border-TableOfContents);border-width:var(--xmlui-thickness-border-TableOfContents);border-style:var(--xmlui-style-border-TableOfContents);margin-top:var(--xmlui-margin-top-TableOfContents);margin-bottom:var(--xmlui-margin-bottom-TableOfContents);padding:var(--xmlui-padding-vertical-TableOfContents) var(--xmlui-padding-horizontal-TableOfContents)}._nav_1soaw_13 ._list_1soaw_35{margin:0;padding:0;list-style:none}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40{list-style-type:none;border-left:var(--xmlui-border-width-TableOfContentsItem) var(--xmlui-border-style-TableOfContentsItem) var(--xmlui-border-color-TableOfContentsItem)}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44{color:var(--xmlui-color-TableOfContentsItem);font-size:var(--xmlui-font-size-TableOfContentsItem);font-weight:var(--xmlui-font-weight-TableOfContentsItem);font-family:var(--xmlui-font-family-TableOfContentsItem);text-transform:var(--xmlui-transform-TableOfContentsItem);vertical-align:var(--xmlui-align-vertical-TableOfContentsItem);letter-spacing:var(--xmlui-letter-spacing-TableOfContentsItem);overflow-wrap:break-word;display:block;padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem)}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_1_1soaw_56{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-1, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_2_1soaw_59{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-2, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_3_1soaw_62{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-3, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_4_1soaw_65{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-4, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_5_1soaw_68{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-5, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40 ._link_1soaw_44._head_6_1soaw_71{padding:var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-space-2) var(--xmlui-padding-vertical-TableOfContentsItem) var(--xmlui-padding-horizontal-TableOfContentsItem-level-6, var(--xmlui-padding-horizontal-TableOfContentsItem))}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40._active_1soaw_74{border-left:2px solid var(--xmlui-border-color-TableOfContentsItem--active)}._nav_1soaw_13 ._list_1soaw_35 ._listItem_1soaw_40._active_1soaw_74 ._link_1soaw_44{color:var(--xmlui-color-TableOfContentsItem--active);font-weight:var(--xmlui-font-weight-TableOfContentsItem--active)}._root_lik78_13{overflow:hidden;width:100%;border-radius:var(--xmlui-radius-Accordion);border-color:var(--xmlui-color-border-Accordion);border-width:var(--xmlui-thickness-border-Accordion);border-style:var(--xmlui-style-border-Accordion);box-sizing:border-box;padding:0}._item_lik78_24{overflow:hidden;margin-top:1px;box-sizing:border-box}._item_lik78_24:first-child{margin-top:0;border-top-left-radius:var(--xmlui-radius-Accordion);border-top-right-radius:var(--xmlui-radius-Accordion)}._item_lik78_24:last-child{border-bottom-left-radius:var(--xmlui-radius-Accordion);border-bottom-right-radius:var(--xmlui-radius-Accordion)}._item_lik78_24:focus-within{position:relative;z-index:1}._header_lik78_43{display:flex;margin:0}._trigger_lik78_48{font-family:inherit;flex:1;display:inline-flex;align-items:var(--xmlui-align-vertical-header-Accordion);justify-content:space-between;line-height:1;box-sizing:border-box;font-size:var(--xmlui-font-size-header-Accordion);font-weight:var(--xmlui-font-weight-header-Accordion);font-style:var(--xmlui-font-style-header-Accordion);padding:var(--xmlui-padding-vertical-header-Accordion) var(--xmlui-padding-horizontal-header-Accordion);background-color:var(--xmlui-color-bg-header-Accordion);color:var(--xmlui-color-header-Accordion)}._trigger_lik78_48:hover{background-color:var(--xmlui-color-bg-header-Accordion-hover)}._trigger_lik78_48._triggerStart_lik78_66{flex-direction:row-reverse}._contentWrapper_lik78_70{overflow:hidden;color:var(--xmlui-color-content-Accordion);background-color:var(--xmlui-color-bg-content-Accordion)}._contentWrapper_lik78_70[data-state=open]{animation:_slideDown_lik78_1 .3s cubic-bezier(.87,0,.13,1)}._contentWrapper_lik78_70[data-state=closed]{animation:_slideUp_lik78_1 .3s cubic-bezier(.87,0,.13,1)}._content_lik78_70{padding:var(--xmlui-space-2)}._chevron_lik78_86{width:var(--xmlui-width-icon-Accordion);height:var(--xmlui-height-icon-Accordion);color:var(--xmlui-color-icon-Accordion)}@keyframes _slideDown_lik78_1{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes _slideUp_lik78_1{0%{height:var(--radix-accordion-content-height)}to{height:0}}._carousel_11a03_13{position:relative;overflow:hidden;width:var(--xmlui-width-Carousel);height:var(--xmlui-height-Carousel);justify-content:center;align-items:center}._innerWrapper_11a03_22{display:flex;width:100%;height:100%;flex-direction:row;justify-content:center}._carouselContentWrapper_11a03_30{overflow:hidden;height:100%}._carouselContent_11a03_30{display:flex;height:100%}._vertical_11a03_40{flex-direction:column}._carouselItem_11a03_44{min-width:0;flex-shrink:0;flex-grow:0;flex-basis:100%}._controls_11a03_51{z-index:99;display:flex;right:1rem;bottom:1rem;position:absolute;gap:.6rem}._controlButton_11a03_60{transition:all .3s;justify-content:center;align-items:center;display:inline-flex;height:var(--xmlui-height-control-Carousel);width:var(--xmlui-width-control-Carousel);color:var(--xmlui-color-text-control-Carousel);background-color:var(--xmlui-color-bg-control-Carousel);border-radius:var(--xmlui-radius-control-Carousel)}._controlButton_11a03_60:hover{background-color:var(--xmlui-color-bg-control-hover-Carousel);color:var(--xmlui-color-text-control-hover-Carousel)}._controlButton_11a03_60:active{background-color:var(--xmlui-color-bg-control-active-Carousel);color:var(--xmlui-color-text-control-active-Carousel)}._controlButton_11a03_60:disabled{color:var(--xmlui-color-text-control-disabled-Carousel);background-color:var(--xmlui-color-bg-control-disabled-Carousel)}._indicators_11a03_87{position:absolute;bottom:1rem;left:50%;transform:translate(-50%)}._indicator_11a03_87{transition:all .3s;width:var(--xmlui-width-indicator-Carousel);height:var(--xmlui-height-indicator-Carousel);border-radius:2px;margin:0 1px;color:var(--xmlui-color-text-indicator-Carousel);background-color:var(--xmlui-color-bg-indicator-Carousel)}._indicator_11a03_87:hover{background-color:var(--xmlui-color-bg-indicator-hover-Carousel);color:var(--xmlui-color-text-indicator-hover-Carousel)}._indicator_11a03_87._active_11a03_107{background-color:var(--xmlui-color-bg-indicator-active-Carousel);color:var(--xmlui-color-text-indicator-active-Carousel)}._breakout_ovaa2_1{left:50%;margin-left:-50vw;margin-right:-50vw;position:relative;right:50%;width:100vw}._backdropContainer_18iuc_13{position:relative;display:inline-block}._backdrop_18iuc_13,._overlay_18iuc_26{position:absolute;top:0;left:0;width:100%;height:100%}._dialogContent_1rief_13{display:flex;flex-direction:column}._dialogActions_1rief_18:not(:empty){margin-top:var(--xmlui-space-4)}@media (min-width: 40em){._dialogActions_1rief_18{display:flex;justify-content:flex-end;gap:var(--xmlui-space-4)}}
2
2
  `,document.head.appendChild(fQ);function Go(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 K=Go(E),Ke=Go(e4),u4=Go(IQ),DQ=Go(n4),ng=Go(i4),nt=Go(To),Fs=Go(a4),Zn=Go(g4),Ai=Go(c4);function E4(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var ei={},ti=Po;if(process.env.NODE_ENV==="production")ei.createRoot=ti.createRoot,ei.hydrateRoot=ti.hydrateRoot;else{var Ls=ti.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ei.createRoot=function(A,e){Ls.usingClientEntryPoint=!0;try{return ti.createRoot(A,e)}finally{Ls.usingClientEntryPoint=!1}},ei.hydrateRoot=function(A,e,t){Ls.usingClientEntryPoint=!0;try{return ti.hydrateRoot(A,e,t)}finally{Ls.usingClientEntryPoint=!1}}}const ig={errorOverlay:"_errorOverlay_p2isd_13",title:"_title_p2isd_21",errorItem:"_errorItem_p2isd_28"};class oi extends E.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?g.jsxs("div",{className:ig.errorOverlay,children:[g.jsx("div",{className:ig.title,children:"There was an error!"}),g.jsx("div",{className:ig.errorItem,children:(e=this.state.error)==null?void 0:e.message})]}):this.props.children}}const Ss=["light","dark"],an={};function sg(A){if(an[A]!==void 0)return an[A];const e=A.split(/-[A-Z]+/);if(e.length!==2)return an[A]=null,an[A];const t=e[0],o=t.split(":"),r=o[o.length-1],n=o.length>1?o.slice(0,o.length-1):[],i=A.substring(t.length+1),[s,...a]=i.split("-"),l=i.substring(s.length).split("--"),c=[],B=[];return l.forEach(Q=>{!Q.includes("-")&&Q?c.push(Q):Q.split("-").forEach(u=>{u&&B.push(u)})}),an[A]={classes:n,attribute:r,component:s,traits:B,states:c},an[A]}function mQ(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 d4(A,e=[]){const t=sg(A);if(!t)return;const o=mQ(t.states),r=mQ(t.traits),n=[];r.forEach(B=>{let Q="";B.forEach(u=>{Q=`${Q}-${u}`}),n.push(Q)}),n.push("");const i=[];o.forEach(B=>{let Q="";B.forEach(u=>{Q=`${Q}--${u}`}),i.push(Q)}),i.push("");const s=[t.component,...t.classes],a=[];i.forEach(B=>{n.forEach(Q=>{s.forEach(u=>{a.push(`${t.attribute}-${u}${Q}${B}`)})})});let l;for(let B=e.length-1;B>=0;B--){const Q=e[B];let u=a.find(d=>Q[d]!==void 0);if(u){l=u;break}}return{forValue:a[0],matchedValue:l,from:a}}function ag(A){return typeof A=="string"&&(A==null?void 0:A.startsWith("$"))}function lg(A,e={}){let t=A;ag(A)&&(t=A.substring(1));const o=e[t];return typeof o=="string"&&ag(o)?lg(o,e):o}function C4(A){if(!A)return{};const e=Ps(A);let t={...br("color-primary",e),...br("color-secondary",e),...br("color-info",e),...br("color-success",e),...br("color-warn",e),...br("color-danger",e),...br("color-surface",e,{distributeEven:!0})};return{...t,...cg("color-surface",{...e,...t}),...cg("color-primary",{...e,...t}),...cg("color-secondary",{...e,...t})}}function h4(A){if(!A)return{};const t=Ps(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 i=[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],s={};return i.forEach(a=>{s[`space-${(a+"").replace(".","_")}`]=`${a*r}${n}`}),s}function I4(A){if(!A)return{};const t=Ps(A)["font-size"];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 i={};return i["font-size-large"]=`${1.5*r}${n}`,i["font-size-medium"]=`${1.25*r}${n}`,i["font-size-normal"]=t,i["font-size-small"]=`${.875*r}${n}`,i["font-size-smaller"]=`${.75*r}${n}`,i["font-size-tiny"]=`${.625*r}${n}`,i}function p4(A){if(!A)return{};const e=Ps(A),t=["primary","secondary","attention"];let o={};return t.forEach(r=>{const n=Bg(gg(e,`color-Button-${r}-solid`),a=>({[`color-bg-Button-${r}-solid`]:a.base,[`color-bg-Button-${r}-solid--hover`]:a.tone1,[`color-bg-Button-${r}-solid--active`]:a.tone2,[`color-border-Button-${r}-solid`]:a.base,[`color-border-Button-${r}-solid--hover`]:a.base,[`color-border-Button-${r}-solid--active`]:a.base,[`color-text-Button-${r}-solid`]:a.tone3,[`color-text-Button-${r}-solid--hover`]:a.tone3,[`color-text-Button-${r}-solid--active`]:a.tone3})),i=Bg(gg(e,`color-Button-${r}-outlined`),a=>({[`color-bg-Button-${r}-outlined--hover`]:a.alpha1,[`color-bg-Button-${r}-outlined--active`]:a.alpha2,[`color-border-Button-${r}-outlined`]:a.base,[`color-border-Button-${r}-outlined--hover`]:a.tone1,[`color-border-Button-${r}-outlined--active`]:a.tone2,[`color-text-Button-${r}-outlined`]:a.base,[`color-text-Button-${r}-outlined--hover`]:a.tone1,[`color-text-Button-${r}-outlined--active`]:a.tone2})),s=Bg(gg(e,`color-Button-${r}-ghost`),a=>({[`color-bg-Button-${r}-ghost--active`]:a.alpha2,[`color-bg-Button-${r}-ghost--hover`]:a.alpha1,[`color-text-Button-${r}-ghost`]:a.base,[`color-text-Button-${r}-ghost--hover`]:a.tone1,[`color-text-Button-${r}-ghost--active`]:a.tone2}));o={...o,...n,...i,...s}}),o}function gg(A,e){if(A[e])return A[e];const t=sg(e);if(!t)return null;let o=null,r=null;return Object.keys(A).forEach(n=>{const i=sg(n);if(!(!i||i.component!==t.component||i.attribute!==t.attribute)&&!i.states.length&&i.traits.every(s=>t.traits.includes(s))&&(!o||o.traits.length<=i.traits.length)){o=i,r=n;return}}),r?A[r]:null}function Ps(A){const e={};return Object.keys(A).forEach(t=>{e[t]=lg(t,A)}),e}function Wt(A){if(!A)return;let t=vr(A).rgb();return`${t.red()},${t.green()},${t.blue()}`}function br(A,e,t={distributeEven:!1}){try{const{distributeEven:o}=t,r=e[A];if(!r||typeof r!="string")return{};const n=vr(r);let i,s,a,l,c,B,Q,u,d,C,h;if(o)i=n.lightness(98),s=n.lightness(95),a=n.lightness(83),l=n.lightness(75),c=n.lightness(63),B=n.lightness(52),Q=n.lightness(40),u=n.lightness(32),d=n.lightness(27),C=n.lightness(16),h=n.lightness(13);else{const I=n.hsl().l(),p=I/5,D=(100-I)/5;i=n.lightness(I+D*4.5),s=n.lightness(I+D*4),a=n.lightness(I+D*3),l=n.lightness(I+D*2),c=n.lightness(I+D*1),B=n,Q=n.lightness(I-p*1),u=n.lightness(I-p*2),d=n.lightness(I-p*3),C=n.lightness(I-p*4),h=n.lightness(I-p*4.5)}return{[`${A}-50`]:i.toString(),[`${A}-100`]:s.toString(),[`${A}-200`]:a.toString(),[`${A}-300`]:l.toString(),[`${A}-400`]:c.toString(),[`${A}-500`]:B.toString(),[`${A}-600`]:Q.toString(),[`${A}-700`]:u.toString(),[`${A}-800`]:d.toString(),[`${A}-900`]:C.toString(),[`${A}-950`]:h.toString()}}catch{return console.error("Error generating base tones for color:",A),{}}}function cg(A,e){return{[`${A}-50-rgb`]:Wt(e[`${A}-50`]),[`${A}-100-rgb`]:Wt(e[`${A}-100`]),[`${A}-200-rgb`]:Wt(e[`${A}-200`]),[`${A}-300-rgb`]:Wt(e[`${A}-300`]),[`${A}-400-rgb`]:Wt(e[`${A}-400`]),[`${A}-500-rgb`]:Wt(e[`${A}-500`]),[`${A}-600-rgb`]:Wt(e[`${A}-600`]),[`${A}-700-rgb`]:Wt(e[`${A}-700`]),[`${A}-800-rgb`]:Wt(e[`${A}-800`]),[`${A}-900-rgb`]:Wt(e[`${A}-900`]),[`${A}-950-rgb`]:Wt(e[`${A}-950`])}}function Bg(A,e){const t=w4(A);return t?e(t):{}}function w4(A){if(!A||typeof A!="string"||A.startsWith("$"))return null;const e=vr(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(),i=e.alpha(.2).toString();return{base:A,tone1:t,tone2:o,tone3:r,alpha1:n,alpha2:i}}let f4=1;function ri(){return`$qid_${f4++}`}function Qg(){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 D4=A=>new Promise(e=>setTimeout(e,A));function ni(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 HA=A=>{const e=E.useRef(A);return E.useInsertionEffect(()=>{e.current=A},[A]),E.useCallback((...t)=>{const o=e.current;return o(...t)},[e])};function m4(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 i=10**t;do A/=o,++n;while(Math.round(Math.abs(A)*i)/i>=o&&n<r.length-1);return A.toFixed(t)+" "+r[n]}function x4(A){if(A)return A.endsWith("/")?A:`${A}/`}function v4(A){if(A)return A.startsWith("/")?A:`/${A}`}function y4(A,e,t){const o=Ae.formatDistanceToNow(new Date(A),{includeSeconds:!0}),r=e||o;return t&&o.includes(t)?r:o}function b4(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=k4.get(e.split(";")[0]||"");return!t&&o?o:t===o?t:void 0}const k4=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 ln(A,e){return new Promise(t=>setTimeout(async()=>{await(e==null?void 0:e()),t==null||t()},A))}function xQ(A){return A?A.startsWith("http://")||A.startsWith("https://")||A.startsWith("/")||typeof window>"u"?A:`${x4(window.__PUBLIC_PATH)||""}${A}`:void 0}function Eg(A){return typeof A!="string"}async function dg(A,...e){if(!e.length)return A;let t=0;const o=[];for(;t<e.length;){const n=e[t];let i;if(typeof n=="string")i={mapperFn:s=>s[n]};else if(typeof n=="function")i={mapperFn:s=>n(s)};else{t++;continue}t++,t<e.length&&typeof e[t]=="boolean"&&(i.desc=!0,t++),o.push(i)}const r=[];for(const n of o){const i=new Map;for(let s=0;s<A.length;s++)i.set(A[s],await n.mapperFn(A[s]));r.push(i)}return A.sort((n,i)=>{for(let s=0;s<o.length;s++){const a=o[s],l=r[s].get(n),c=r[s].get(i);if(l!==c)return l<c?a.desc?1:-1:a.desc?-1:1}return 0})}const ii=(A,e)=>M4(A,e);function M4(A,e){const t=Array.isArray(A),o=Array.isArray(e);return t!==o?!1:t&&o?N4(A,e):_4(A,e)}function N4(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 _4(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 i=t[n];if(A[i]!==e[i]||!Object.prototype.hasOwnProperty.call(e,i))return!1}return!0}const Ts=(A,e)=>{const t={};return e.forEach(o=>{QA.get(A,o)!==void 0&&(t[o]=QA.get(A,o))}),t},F4=A=>Object(A)!==A;function L4(A){return A?m4(A):"-"}function S4(A,e){return b4(A,e)}function P4(A,e,t){return A===1?`${A} ${e}`:`${A} ${t}`}function T4(A,e,t){return(A??[]).reduce((o,r)=>(o[r[e]]=r[t],o),{})}function G4(A,e,t){return(A??[]).find(o=>o[e||""]===t)}function H4(A,e,t){const o=QA.throttle((r,n,i)=>{A(...i).then(r).catch(n)},e,t);return(...r)=>new Promise((n,i)=>{o(n,i,r)})}const Cg=E.createContext(void 0),vQ=E.createContext(void 0);function ce(){return E.useContext(Cg)}function si(){return E.useContext(vQ)}function hg(A){const{getResourceUrl:e}=ce();return e(A)}const yQ={keyPrefix:"xmlui",themeVars:'"[]"'};function pA(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 Ig=pA(yQ.keyPrefix)||"",U4=pA(yQ.themeVars);const bQ={keyPrefix:Ig,themeVars:U4};function Zo(A){return Ig?`--${Ig}-${A}`:`--${A}`}const Be=Object.freeze([]),GA=Object.freeze({}),vA=(...A)=>({}),R4=async(...A)=>{},Y4={$colorSurface50:"$color-surface-50",$colorSurface100:"$color-surface-100",$colorSurface200:"$color-surface-200",$colorSurface200A80:"rgba($color-surface-200-rgb, .8)",$colorSurface300:"$color-surface-300",$colorSurface400A80:"rgba($color-surface-400-rgb, .8)",$colorSurface400:"$color-surface-400",$colorSurface500:"$color-surface-500",$colorSurface500A80:"rgba($color-surface-500, .8)",$colorSurface500A60:"rgba($color-surface-500, .6)",$colorSurface600:"$color-surface-600",$colorSurface700:"$color-surface-700",$colorSurface700A30:"rgba($color-surface-700-rgb, .3)",$colorSurface700A90:"rgba($color-surface-700-rgb, .9)",$colorSurface800:"$color-surface-800",$colorSurface900:"$color-surface-900",$colorSurface950:"$color-surface-950",$colorPrimary50:"$color-primary-50",$colorPrimary100:"$color-primary-100",$colorPrimary200:"$color-primary-200",$colorPrimary300:"$color-primary-300",$colorPrimary400:"$color-primary-400",$colorPrimary500:"$color-primary-500",$colorPrimary600:"$color-primary-600",$colorPrimary700:"$color-primary-700",$colorPrimary800:"$color-primary-800",$colorPrimary900:"$color-primary-900",$colorPrimary950:"$color-primary-950",$colorSecondary50:"$color-secondary-50",$colorSecondary100:"$color-secondary-100",$colorSecondary200:"$color-secondary-200",$colorSecondary400:"$color-secondary-400",$colorSecondary500:"$color-secondary-500",$colorSecondary600:"$color-secondary-600",$colorSecondary900:"$color-secondary-900",$colorSecondary950:"$color-secondary-950",$colorWarn700:"$color-warn-700",$colorWarn950:"$color-warn-950",$colorDanger50:"$color-danger-50",$colorDanger100:"$color-danger-100",$colorDanger400:"$color-danger-400",$colorDanger500:"$color-danger-500",$colorDanger600:"$color-danger-600",$colorDanger700:"$color-danger-700",$colorDanger900:"$color-danger-900",$colorDanger950:"$color-danger-950",$colorSuccess600:"$color-success-600",$colorSuccess950:"$color-success-950",$colorInfo600:"$color-info-600",$colorInfo800:"$color-info-700"},{$colorSurface50:ai,$colorSurface100:pg,$colorSurface200:Gs,$colorSurface300:K4,$colorSurface400:kQ,$colorSurface500:li,$colorSurface500A80:O4,$colorSurface500A60:J4,$colorSurface600:wg,$colorSurface700:MQ,$colorSurface800:Hs,$colorSurface900:q4,$colorSurface950:NQ,$colorPrimary50:_Q,$colorPrimary950:z4,$colorWarn700:Us,$colorDanger400:FQ,$colorDanger500:W4,$colorDanger600:fg,$colorDanger700:LQ,$colorSuccess600:Rs,$colorInfo600:$4,$colorInfo800:fT}=Y4,SQ={id:"root",resources:{"font.inter":"https://rsms.me/inter/inter.css"},themeVars:{"space-base":"0.25rem","color-surface-50":"hsl(204, 30.3%, 96.5%)","color-surface-100":"hsl(204, 30.3%, 93%)","color-surface-200":"hsl(204, 30.3%, 85%)","color-surface-300":"hsl(204, 30.3%, 75%)","color-surface-400":"hsl(204, 30.3%, 65%)","color-surface-500":"hsl(204, 30.3%, 52%)","color-surface-600":"hsl(204, 30.3%, 45%)","color-surface-700":"hsl(204, 30.3%, 35%)","color-surface-800":"hsl(204, 30.3%, 27%)","color-surface-900":"hsl(204, 30.3%, 16%)","color-surface-950":"hsl(204, 30.3%, 13%)","color-surface":"$color-surface-500","color-primary-50":"hsl(212,71.9%,94.5%)","color-primary-100":"hsl(212,71.9%,89.1%)","color-primary-200":"hsl(212,71.9%,78.1%)","color-primary-300":"hsl(212,71.9%,67.2%)","color-primary-400":"hsl(212,71.9%,56.3%)","color-primary-500":"#206bc4","color-primary-600":"hsl(212,71.9%,36.3%)","color-primary-700":"hsl(212,71.9%,27.2%)","color-primary-800":"hsl(212,71.9%,18.1%)","color-primary-900":"hsl(212,71.9%,9.1%)","color-primary-950":"hsl(212,71.9%,4.5%)","color-primary":"$color-primary-500","color-secondary-50":"hsl(211.7,21.2%,96.9%)","color-secondary-100":"hsl(211.7,21.2%,93.7%)","color-secondary-200":"hsl(211.7,21.2%,87.4%)","color-secondary-300":"hsl(211.7,21.2%,81.1%)","color-secondary-400":"hsl(211.7,21.2%,74.8%)","color-secondary-500":"#6c7a91","color-secondary-600":"hsl(211.7,21.2%,54.8%)","color-secondary-700":"hsl(211.7,21.2%,41.1%)","color-secondary-800":"hsl(211.7,21.2%,27.4%)","color-secondary-900":"hsl(211.7,21.2%,13.7%)","color-secondary-950":"hsl(211.7,21.2%,6.9%)","color-secondary":"$color-secondary-500","color-warn-50":"hsl(45, 100%, 97%)","color-warn-100":"hsl(45, 100%, 91%)","color-warn-200":"hsl(45, 100%, 80%)","color-warn-300":"hsl(45, 100%, 70%)","color-warn-400":"hsl(45, 100%, 60%)","color-warn-500":"hsl(35, 100%, 50%)","color-warn-600":"hsl(35, 100%, 45%)","color-warn-700":"hsl(35, 100%, 40%)","color-warn-800":"hsl(35, 100%, 35%)","color-warn-900":"hsl(35, 100%, 30%)","color-warn-950":"hsl(35, 100%, 15%)","color-warn":"$color-warn-500","color-danger-50":"hsl(356, 100%, 95%)","color-danger-100":"hsl(356, 100%, 91%)","color-danger-200":"hsl(356, 100%, 80%)","color-danger-300":"hsl(356, 100%, 70%)","color-danger-400":"hsl(356, 100%, 60%)","color-danger-500":"hsl(356, 100%, 50%)","color-danger-600":"hsl(356, 100%, 45%)","color-danger-700":"hsl(356, 100%, 40%)","color-danger-800":"hsl(356, 100%, 35%)","color-danger-900":"hsl(356, 100%, 30%)","color-danger-950":"hsl(356, 100%, 15%)","color-danger":"$color-danger-600","color-attention":"$color-danger-500","color-success-50":"hsl(129.5, 58.4%, 96.4%)","color-success-100":"hsl(129.5, 58.4%, 92.9%)","color-success-200":"hsl(129.5, 58.4%, 85.7%)","color-success-300":"hsl(129.5, 58.4%, 78.6%)","color-success-400":"hsl(129.5, 58.4%, 71.5%)","color-success-500":"hsl(129.5, 58.4%, 51.5%)","color-success-600":"hsl(129.5, 58.4%, 45%)","color-success-700":"hsl(129.5, 58.4%, 38.6%)","color-success-800":"hsl(129.5, 58.4%, 25.7%)","color-success-900":"hsl(129.5, 58.4%, 12.9%)","color-success-950":"hsl(129.5, 58.4%, 6.4%)","color-success":"$color-success-500","color-info-50":"hsl(183, 97%, 95%)","color-info-100":"hsl(183, 97%, 90%)","color-info-200":"hsl(183, 97%, 80%)","color-info-300":"hsl(183, 97%, 70%)","color-info-400":"hsl(183, 97%, 60%)","color-info-500":"hsl(183, 97%, 50%)","color-info-600":"hsl(183, 97%, 45%)","color-info-700":"hsl(183, 97%, 35%)","color-info-800":"hsl(183, 97%, 25%)","color-info-900":"hsl(183, 97%, 15%)","color-info-950":"hsl(183, 97%, 10%)","font-weight-light":"300","font-weight-normal":"400","font-weight-medium":"500","font-weight-bold":"600","font-weight-extra-bold":"900","color-text-primary":"$color-surface-950","color-text-attention":"$color-danger-600","color-text-subtitle":"$color-surface-500","color-text--disabled":"$color-surface-400","color-bg-primary":"$color-surface-50","color-bg-secondary":"$color-surface-50","color-bg-attention":"$color-attention","color-bg--disabled":"$color-surface-50","color-bg--selected":"$color-primary-50","color-info":"$color-info-500","color-valid":"$color-success-600","color-warning":"$color-warn-700","color-error":"$color-danger-600","line-height-none":"1","line-height-tight":"1.25","line-height-snug":"1.375","line-height-normal":"1.5","line-height-relaxed":"1.625","line-height-loose":"2","font-family-sans-serif":"'Inter', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif","font-family-monospace":"Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace","font-feature-settings":"'cv03', 'cv04', 'cv11'","media-max-width-phone":"576px","media-max-width-landscape-phone":"768px","media-max-width-tablet":"992px","media-max-width-desktop":"1200px","media-max-width-large-desktop":"1400px",radius:"4px","color-outline--focus":"rgba($color-primary-500-rgb, .5)","thickness-outline--focus":"2px","style-outline--focus":"solid","offset-outline--focus":"0","font-family":"$font-family-sans-serif","font-size-gigantic":"3rem","font-size-large":"1.5rem","font-size-medium":"1.25rem","font-size-normal":"1rem","font-size-small":"0.875rem","font-size-smaller":"0.75rem","font-size-tiny":"0.625rem","font-size":"$font-size-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","font-weight":"$font-weight-normal","color-border-dropdown-item":"$color-border",shadow:"0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06)","shadow-md":"0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06)","shadow-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)","shadow-xxl":"0 8px 17px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)","shadow-spread":"0px 0px 30px rgba(0, 0, 0, 0.1)","shadow-spread-2":"-6px -4px 40px 10px rgba(0, 0, 0, 0.1)","shadow-spread-2-xl":"-6px -4px 40px 18px rgba(0, 0, 0, 0.1)","max-content-width":"1320px","size-Icon":"1.25em","shadow-Avatar":"inset 0 0 0 1px rgba(4, 32, 69, 0.1)","border-size-Avatar":"0px","radius-Avatar":"4px","shadow-header-App":"none","padding-horizontal-NavPanel-horizontal":"1rem","padding-vertical-HeaderLogo":"0.7rem","padding-TableCell":".75rem","padding-TableHeading":".5rem .75rem .5rem .75rem","color-bg-TableRow--hover":"transparent","shadow-NavPanel-vertical":"none","width-NavPanel-vertical":"15rem"},tones:{light:{themeVars:{"color-bg":ai,"color-bg-primary":ai,"color-bg-secondary":ai,"color-bg--disabled":ai,"color-bg--selected":_Q,"color-bg-overlay":"rgba(0, 0, 0, 0.2)","color-bg-dropdown-item--hover":pg,"color-bg-dropdown-item--active":pg,"color-bg-dropdown-item--active-hover":ai,"color-bg-tree-row--selected--before":_Q,"color-info":"$color-info-800","color-valid":Rs,"color-warning":Us,"color-error":LQ,"color-border":Gs,"color-border--disabled":Gs,"color-border-dropdown-item":Gs,"color-text-primary":NQ,"color-text-secondary":wg,"color-text-attention":fg,"color-text-subtitle":li,"color-text--disabled":kQ,"color-bg-Input-default":"white","color-border-Input-default":Gs,"color-border-Input-default--hover":wg,"color-border-Input-default--focus":wg,"color-border-Input-default--success":Rs,"color-border-Input-default--warning":Us,"color-border-Input-default--error":fg,"color-text-InputLabel-required":fg}},dark:{themeVars:{"color-bg":NQ,"color-bg-primary":q4,"color-bg-secondary":Hs,"color-bg--disabled":Hs,"color-bg--selected":MQ,"color-bg-overlay":"rgba(0, 0, 0, 0.4)","color-bg-dropdown-item--hover":J4,"color-bg-dropdown-item--active":O4,"color-bg-tree-row--selected--before":z4,"color-info":$4,"color-valid":Rs,"color-warning":Us,"color-error":LQ,"color-border":Hs,"color-border--disabled":MQ,"color-border-dropdown-item":K4,"color-text-primary":pg,"color-text-secondary":kQ,"color-text-attention":FQ,"color-text-subtitle":li,"color-text--disabled":li,"color-border-Input-default":Hs,"color-border-Input-default--hover":li,"color-border-Input-default--focus":li,"color-border-Input-default--success":Rs,"color-border-Input-default--warning":Us,"color-border-Input-default--error":W4,"color-text-InputLabel-required":FQ}}}};function PQ(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(i=>i.id===r);n&&(o.push(...PQ(n,e)),o.push(n))}),o}function j4(A,e,t){const o=QA.cloneDeep(SQ.themeVars)||{},r=QA.cloneDeep(SQ.tones)||{};return Object.entries(t).forEach(([i,s])=>{typeof s=="string"?o[i]=s:Object.entries(s).forEach(([a,l])=>{r[i]||(r[i]={themeVars:{}}),r[i].themeVars={...r[i].themeVars,[a]:l}})}),[{id:"root",themeVars:o,resources:{},tones:r},...PQ(A,e),A]}function V4(A){const e={};return A?(Object.keys(A).forEach(t=>{e[t]=A[t],Object.keys(TQ).forEach(o=>{if(!t.startsWith(o+"-"))return;const r=t.substring(o.length),n=TQ[o];n.some(i=>t.startsWith(i+"-"))||n.forEach(i=>{const s=i+r;e[s]=A[t]})})}),{...e,...A}):e}const TQ={padding:["padding-horizontal","padding-vertical","padding-top","padding-right","padding-bottom","padding-left"],"padding-horizontal":["padding-left","padding-right"],"padding-vertical":["padding-top","padding-bottom"],border:["border-horizontal","border-vertical","border-top","border-right","border-bottom","border-left"],"border-horizontal":["border-left","border-right"],"border-vertical":["border-top","border-bottom"],"color-border":["color-border-horizontal","color-border-vertical","color-border-top","color-border-right","color-border-bottom","color-border-left"],"color-border-horizontal":["color-border-left","color-border-right"],"color-border-vertical":["color-border-top","color-border-bottom"],"thickness-border":["thickness-border-horizontal","thickness-border-vertical","thickness-border-top","thickness-border-right","thickness-border-bottom","thickness-border-left"],"thickness-border-horizontal":["thickness-border-left","thickness-border-right"],"thickness-border-vertical":["thickness-border-top","thickness-border-bottom"],"style-border":["style-border-horizontal","style-border-vertical","style-border-top","style-border-right","style-border-bottom","style-border-left"],"style-border-horizontal":["style-border-left","style-border-right"],"style-border-vertical":["style-border-top","style-border-bottom"]},GQ=E.createContext(null);function Ys(){return E.useContext(GQ)}const X4={"color-surface-50":"hsl(144, 20%, 96.5%)","color-surface-100":"hsl(144, 20%, 93%)","color-surface-200":"hsl(144, 20%, 85%)","color-surface-300":"hsl(144, 20%, 75%)","color-surface-400":"hsl(144, 20%, 65%)","color-surface-500":"hsl(144, 20%, 61%)","color-surface-600":"hsl(144, 20%, 45%)","color-surface-700":"hsl(144, 20%, 35%)","color-surface-800":"hsl(144, 20%, 27%)","color-surface-900":"hsl(144, 20%, 16%)","color-surface-950":"hsl(144, 20%, 13%)","color-surface":"$color-surface-500","color-primary-50":"hsl(158, 85%, 94.5%)","color-primary-100":"hsl(158, 85%, 89.1%)","color-primary-200":"hsl(158, 85%, 78.1%)","color-primary-300":"hsl(158, 85%, 67.2%)","color-primary-400":"hsl(158, 85%, 56.3%)","color-primary-500":"hsl(158, 85%, 33%)","color-primary-600":"hsl(158, 85%, 29.7%)","color-primary-700":"hsl(158, 85%, 27.2%)","color-primary-800":"hsl(158, 85%, 18.1%)","color-primary-900":"hsl(158, 85%, 9.1%)","color-primary-950":"hsl(158, 85%, 4.5%)","color-primary":"$color-primary-500","color-secondary-50":"hsl(198, 100%, 94.5%)","color-secondary-100":"hsl(198, 100%, 89.1%)","color-secondary-200":"hsl(198, 100%, 78.1%)","color-secondary-300":"hsl(198, 100%, 67.2%)","color-secondary-400":"hsl(198, 100%, 56.3%)","color-secondary-500":"hsl(198, 100%, 29%)","color-secondary-600":"hsl(198, 100%, 25%)","color-secondary-700":"hsl(198, 100%, 20%)","color-secondary-800":"hsl(198, 100%, 15%)","color-secondary-900":"hsl(198, 100%, 10%)","color-secondary-950":"hsl(198, 100%, 5%)","color-secondary":"$color-secondary-500","color-warn-50":"hsl(36, 100%, 93%)","color-warn-100":"hsl(36, 100%, 86%)","color-warn-200":"hsl(36, 100%, 72%)","color-warn-300":"hsl(36, 100%, 58%)","color-warn-400":"hsl(36, 100%, 44%)","color-warn-500":"hsl(36, 77%, 60%)","color-warn-600":"hsl(36, 77%, 54%)","color-warn-700":"hsl(36, 77%, 48%)","color-warn-800":"hsl(36, 77%, 42%)","color-warn-900":"hsl(36, 77%, 36%)","color-warn-950":"hsl(36, 77%, 30%)","color-warn":"$color-warn-500","color-danger-50":"hsl(355, 95%, 95%)","color-danger-100":"hsl(355, 95%, 85%)","color-danger-200":"hsl(355, 95%, 75%)","color-danger-300":"hsl(355, 95%, 65%)","color-danger-400":"hsl(355, 95%, 55%)","color-danger-500":"hsl(355, 95%, 66%)","color-danger-600":"hsl(355, 95%, 60%)","color-danger-700":"hsl(355, 95%, 54%)","color-danger-800":"hsl(355, 95%, 48%)","color-danger-900":"hsl(355, 95%, 42%)","color-danger-950":"hsl(355, 95%, 36%)","color-danger":"$color-danger-500","color-attention":"$color-danger-500","color-success-50":"hsl(158, 85%, 94.5%)","color-success-100":"hsl(158, 85%, 89.1%)","color-success-200":"hsl(158, 85%, 78.1%)","color-success-300":"hsl(158, 85%, 67.2%)","color-success-400":"hsl(158, 85%, 56.3%)","color-success-500":"hsl(158, 85%, 33%)","color-success-600":"hsl(158, 85%, 29.7%)","color-success-700":"hsl(158, 85%, 27.2%)","color-success-800":"hsl(158, 85%, 18.1%)","color-success-900":"hsl(158, 85%, 9.1%)","color-success-950":"hsl(158, 85%, 4.5%)","color-success":"$color-success-500","color-info-50":"hsl(202, 95%, 95%)","color-info-100":"hsl(202, 95%, 90%)","color-info-200":"hsl(202, 95%, 80%)","color-info-300":"hsl(202, 95%, 70%)","color-info-400":"hsl(202, 95%, 60%)","color-info-500":"hsl(202, 95%, 50%)","color-info-600":"hsl(202, 95%, 45%)","color-info-700":"hsl(202, 95%, 35%)","color-info-800":"hsl(202, 95%, 25%)","color-info-900":"hsl(202, 95%, 15%)","color-info-950":"hsl(202, 95%, 10%)","color-info":"$color-info-500"},Z4={"color-surface-50":"hsl(0, 0%, 98%)","color-surface-100":"hsl(0, 0%, 95%)","color-surface-200":"hsl(0, 0%, 83%)","color-surface-300":"hsl(0, 0%, 75%)","color-surface-400":"hsl(0, 0%, 63%)","color-surface-500":"hsl(0, 0%, 70%)","color-surface-600":"hsl(0, 0%, 60%)","color-surface-700":"hsl(0, 0%, 50%)","color-surface-800":"hsl(0, 0%, 40%)","color-surface-900":"hsl(0, 0%, 30%)","color-surface-950":"hsl(0, 0%, 20%)","color-surface":"$color-surface-500","color-primary-50":"hsl(0, 0%, 94.5%)","color-primary-100":"hsl(0, 0%, 89.1%)","color-primary-200":"hsl(0, 0%, 78.1%)","color-primary-300":"hsl(0, 0%, 67.2%)","color-primary-400":"hsl(0, 0%, 56.3%)","color-primary-500":"hsl(0, 0%, 36.9%)","color-primary-600":"hsl(0, 0%, 33%)","color-primary-700":"hsl(0, 0%, 29%)","color-primary-800":"hsl(0, 0%, 25%)","color-primary-900":"hsl(0, 0%, 21%)","color-primary-950":"hsl(0, 0%, 17%)","color-primary":"$color-primary-500","color-secondary-50":"hsl(0, 0%, 94.5%)","color-secondary-100":"hsl(0, 0%, 89.1%)","color-secondary-200":"hsl(0, 0%, 78.1%)","color-secondary-300":"hsl(0, 0%, 67.2%)","color-secondary-400":"hsl(0, 0%, 56.3%)","color-secondary-500":"hsl(0, 0%, 57.6%)","color-secondary-600":"hsl(0, 0%, 52%)","color-secondary-700":"hsl(0, 0%, 46%)","color-secondary-800":"hsl(0, 0%, 40%)","color-secondary-900":"hsl(0, 0%, 34%)","color-secondary-950":"hsl(0, 0%, 28%)","color-secondary":"$color-secondary-500","color-warn-50":"hsl(36, 85%, 93%)","color-warn-100":"hsl(36, 85%, 86%)","color-warn-200":"hsl(36, 85%, 72%)","color-warn-300":"hsl(36, 85%, 58%)","color-warn-400":"hsl(36, 85%, 44%)","color-warn-500":"hsl(36, 85%, 56%)","color-warn-600":"hsl(36, 85%, 50%)","color-warn-700":"hsl(36, 85%, 44%)","color-warn-800":"hsl(36, 85%, 38%)","color-warn-900":"hsl(36, 85%, 32%)","color-warn-950":"hsl(36, 85%, 26%)","color-warn":"$color-warn-500","color-danger-50":"hsl(18, 87%, 95%)","color-danger-100":"hsl(18, 87%, 85%)","color-danger-200":"hsl(18, 87%, 75%)","color-danger-300":"hsl(18, 87%, 65%)","color-danger-400":"hsl(18, 87%, 55%)","color-danger-500":"hsl(18, 87%, 68%)","color-danger-600":"hsl(18, 87%, 60%)","color-danger-700":"hsl(18, 87%, 50%)","color-danger-800":"hsl(18, 87%, 40%)","color-danger-900":"hsl(18, 87%, 30%)","color-danger-950":"hsl(18, 87%, 20%)","color-danger":"$color-danger-500","color-attention":"$color-danger-500","color-success-50":"hsl(168, 100%, 95%)","color-success-100":"hsl(168, 100%, 85%)","color-success-200":"hsl(168, 100%, 75%)","color-success-300":"hsl(168, 100%, 65%)","color-success-400":"hsl(168, 100%, 55%)","color-success-500":"hsl(168, 100%, 39%)","color-success-600":"hsl(168, 100%, 35%)","color-success-700":"hsl(168, 100%, 30%)","color-success-800":"hsl(168, 100%, 25%)","color-success-900":"hsl(168, 100%, 20%)","color-success-950":"hsl(168, 100%, 15%)","color-success":"$color-success-500","color-info-50":"hsl(204, 98%, 95%)","color-info-100":"hsl(204, 98%, 90%)","color-info-200":"hsl(204, 98%, 80%)","color-info-300":"hsl(204, 98%, 70%)","color-info-400":"hsl(204, 98%, 60%)","color-info-500":"hsl(204, 98%, 50%)","color-info-600":"hsl(204, 98%, 45%)","color-info-700":"hsl(204, 98%, 35%)","color-info-800":"hsl(204, 98%, 25%)","color-info-900":"hsl(204, 98%, 15%)","color-info-950":"hsl(204, 98%, 10%)","color-info":"$color-info-500"},A8={"color-surface-50":"hsl(220, 3%, 98%)","color-surface-100":"hsl(220, 3%, 95%)","color-surface-200":"hsl(220, 3%, 83%)","color-surface-300":"hsl(220, 3%, 75%)","color-surface-400":"hsl(220, 3%, 63%)","color-surface-500":"hsl(220, 3%, 63%)","color-surface-600":"hsl(220, 3%, 60%)","color-surface-700":"hsl(220, 3%, 50%)","color-surface-800":"hsl(220, 3%, 40%)","color-surface-900":"hsl(220, 3%, 30%)","color-surface-950":"hsl(220, 3%, 20%)","color-surface":"$color-surface-500","color-primary-50":"hsl(36, 100%, 95%)","color-primary-100":"hsl(36, 100%, 85%)","color-primary-200":"hsl(36, 100%, 75%)","color-primary-300":"hsl(36, 100%, 65%)","color-primary-400":"hsl(36, 100%, 55%)","color-primary-500":"hsl(36, 100%, 57%)","color-primary-600":"hsl(36, 100%, 50%)","color-primary-700":"hsl(36, 100%, 45%)","color-primary-800":"hsl(36, 100%, 40%)","color-primary-900":"hsl(36, 100%, 35%)","color-primary-950":"hsl(36, 100%, 30%)","color-primary":"$color-primary-500","color-secondary-50":"hsl(204, 33%, 94.5%)","color-secondary-100":"hsl(204, 33%, 89.1%)","color-secondary-200":"hsl(204, 33%, 78.1%)","color-secondary-300":"hsl(204, 33%, 67.2%)","color-secondary-400":"hsl(204, 33%, 56.3%)","color-secondary-500":"hsl(204, 33%, 26%)","color-secondary-600":"hsl(204, 33%, 23%)","color-secondary-700":"hsl(204, 33%, 20%)","color-secondary-800":"hsl(204, 33%, 17%)","color-secondary-900":"hsl(204, 33%, 14%)","color-secondary-950":"hsl(204, 33%, 11%)","color-secondary":"$color-secondary-500","color-warn-50":"hsl(20, 100%, 95%)","color-warn-100":"hsl(20, 100%, 85%)","color-warn-200":"hsl(20, 100%, 75%)","color-warn-300":"hsl(20, 100%, 65%)","color-warn-400":"hsl(20, 100%, 55%)","color-warn-500":"hsl(20, 100%, 55%)","color-warn-600":"hsl(20, 100%, 45%)","color-warn-700":"hsl(20, 100%, 40%)","color-warn-800":"hsl(20, 100%, 35%)","color-warn-900":"hsl(20, 100%, 30%)","color-warn-950":"hsl(20, 100%, 25%)","color-warn":"$color-warn-500","color-danger-50":"hsl(0, 60%, 95%)","color-danger-100":"hsl(0, 60%, 85%)","color-danger-200":"hsl(0, 60%, 75%)","color-danger-300":"hsl(0, 60%, 65%)","color-danger-400":"hsl(0, 60%, 55%)","color-danger-500":"hsl(0, 60%, 55%)","color-danger-600":"hsl(0, 60%, 45%)","color-danger-700":"hsl(0, 60%, 40%)","color-danger-800":"hsl(0, 60%, 35%)","color-danger-900":"hsl(0, 60%, 30%)","color-danger-950":"hsl(0, 60%, 25%)","color-danger":"$color-danger-500","color-attention":"$color-danger-500","color-success-50":"hsl(134, 38%, 95%)","color-success-100":"hsl(134, 38%, 85%)","color-success-200":"hsl(134, 38%, 75%)","color-success-300":"hsl(134, 38%, 65%)","color-success-400":"hsl(134, 38%, 55%)","color-success-500":"hsl(134, 38%, 45%)","color-success-600":"hsl(134, 38%, 40%)","color-success-700":"hsl(134, 38%, 35%)","color-success-800":"hsl(134, 38%, 30%)","color-success-900":"hsl(134, 38%, 25%)","color-success-950":"hsl(134, 38%, 20%)","color-success":"$color-success-500","color-info-50":"hsl(197, 100%, 95%)","color-info-100":"hsl(197, 100%, 90%)","color-info-200":"hsl(197, 100%, 80%)","color-info-300":"hsl(197, 100%, 70%)","color-info-400":"hsl(197, 100%, 60%)","color-info-500":"hsl(197, 100%, 50%)","color-info-600":"hsl(197, 100%, 45%)","color-info-700":"hsl(197, 100%, 35%)","color-info-800":"hsl(197, 100%, 25%)","color-info-900":"hsl(197, 100%, 15%)","color-info-950":"hsl(197, 100%, 10%)","color-info":"$color-info-500"},e8={"color-surface-50":"hsl(0, 0%, 96%)","color-surface-100":"hsl(0, 0%, 90%)","color-surface-200":"hsl(0, 0%, 80%)","color-surface-300":"hsl(0, 0%, 70%)","color-surface-400":"hsl(0, 0%, 60%)","color-surface-500":"hsl(0, 0%, 59%)","color-surface-600":"hsl(0, 0%, 50%)","color-surface-700":"hsl(0, 0%, 40%)","color-surface-800":"hsl(0, 0%, 30%)","color-surface-900":"hsl(0, 0%, 20%)","color-surface-950":"hsl(0, 0%, 10%)","color-surface":"$color-surface-500","color-primary-50":"hsl(300, 42%, 95%)","color-primary-100":"hsl(300, 42%, 85%)","color-primary-200":"hsl(300, 42%, 75%)","color-primary-300":"hsl(300, 42%, 65%)","color-primary-400":"hsl(300, 42%, 55%)","color-primary-500":"hsl(300, 42%, 31%)","color-primary-600":"hsl(300, 42%, 28%)","color-primary-700":"hsl(300, 42%, 25%)","color-primary-800":"hsl(300, 42%, 22%)","color-primary-900":"hsl(300, 42%, 19%)","color-primary-950":"hsl(300, 42%, 16%)","color-primary":"$color-primary-500","color-secondary-50":"hsl(204, 100%, 95%)","color-secondary-100":"hsl(204, 100%, 85%)","color-secondary-200":"hsl(204, 100%, 75%)","color-secondary-300":"hsl(204, 100%, 65%)","color-secondary-400":"hsl(204, 100%, 55%)","color-secondary-500":"hsl(204, 100%, 38%)","color-secondary-600":"hsl(204, 100%, 35%)","color-secondary-700":"hsl(204, 100%, 30%)","color-secondary-800":"hsl(204, 100%, 25%)","color-secondary-900":"hsl(204, 100%, 20%)","color-secondary-950":"hsl(204, 100%, 15%)","color-secondary":"$color-secondary-500","color-warn-50":"hsl(20, 95%, 95%)","color-warn-100":"hsl(20, 95%, 85%)","color-warn-200":"hsl(20, 95%, 75%)","color-warn-300":"hsl(20, 95%, 65%)","color-warn-400":"hsl(20, 95%, 55%)","color-warn-500":"hsl(20, 95%, 66%)","color-warn-600":"hsl(20, 95%, 60%)","color-warn-700":"hsl(20, 95%, 55%)","color-warn-800":"hsl(20, 95%, 50%)","color-warn-900":"hsl(20, 95%, 45%)","color-warn-950":"hsl(20, 95%, 40%)","color-warn":"$color-warn-500","color-danger-50":"hsl(355, 65%, 95%)","color-danger-100":"hsl(355, 65%, 85%)","color-danger-200":"hsl(355, 65%, 75%)","color-danger-300":"hsl(355, 65%, 65%)","color-danger-400":"hsl(355, 65%, 55%)","color-danger-500":"hsl(355, 65%, 60%)","color-danger-600":"hsl(355, 65%, 50%)","color-danger-700":"hsl(355, 65%, 45%)","color-danger-800":"hsl(355, 65%, 40%)","color-danger-900":"hsl(355, 65%, 35%)","color-danger-950":"hsl(355, 65%, 30%)","color-danger":"$color-danger-500","color-attention":"$color-danger-500","color-success-50":"hsl(178, 100%, 95%)","color-success-100":"hsl(178, 100%, 85%)","color-success-200":"hsl(178, 100%, 75%)","color-success-300":"hsl(178, 100%, 65%)","color-success-400":"hsl(178, 100%, 55%)","color-success-500":"hsl(178, 100%, 27%)","color-success-600":"hsl(178, 100%, 36%)","color-success-700":"hsl(178, 100%, 32%)","color-success-800":"hsl(178, 100%, 28%)","color-success-900":"hsl(178, 100%, 24%)","color-success-950":"hsl(178, 100%, 20%)","color-success":"$color-success-500","color-info-50":"hsl(183, 66%, 92%)","color-info-100":"hsl(183, 66%, 84%)","color-info-200":"hsl(183, 66%, 76%)","color-info-300":"hsl(183, 66%, 68%)","color-info-400":"hsl(183, 66%, 60%)","color-info-500":"hsl(183, 66%, 50%)","color-info-600":"hsl(183, 66%, 45%)","color-info-700":"hsl(183, 66%, 35%)","color-info-800":"hsl(183, 66%, 25%)","color-info-900":"hsl(183, 66%, 15%)","color-info-950":"hsl(183, 66%, 10%)","color-info":"$color-info-500"},t8={"color-surface-50":"hsl(180, 15%, 95%)","color-surface-100":"hsl(180, 15%, 85%)","color-surface-200":"hsl(180, 15%, 75%)","color-surface-300":"hsl(180, 15%, 65%)","color-surface-400":"hsl(180, 15%, 55%)","color-surface-500":"hsl(180, 15%, 52%)","color-surface-600":"hsl(180, 15%, 45%)","color-surface-700":"hsl(180, 15%, 40%)","color-surface-800":"hsl(180, 15%, 35%)","color-surface-900":"hsl(180, 15%, 30%)","color-surface-950":"hsl(180, 15%, 25%)","color-surface":"$color-surface-500","color-primary-50":"hsl(180, 100%, 95%)","color-primary-100":"hsl(180, 100%, 85%)","color-primary-200":"hsl(180, 100%, 75%)","color-primary-300":"hsl(180, 100%, 65%)","color-primary-400":"hsl(180, 100%, 55%)","color-primary-500":"hsl(180, 100%, 35%)","color-primary-600":"hsl(180, 100%, 32%)","color-primary-700":"hsl(180, 100%, 28%)","color-primary-800":"hsl(180, 100%, 24%)","color-primary-900":"hsl(180, 100%, 20%)","color-primary-950":"hsl(180, 100%, 16%)","color-primary":"$color-primary-500","color-secondary-50":"hsl(227, 60%, 95%)","color-secondary-100":"hsl(227, 60%, 85%)","color-secondary-200":"hsl(227, 60%, 75%)","color-secondary-300":"hsl(227, 60%, 65%)","color-secondary-400":"hsl(227, 60%, 55%)","color-secondary-500":"hsl(227, 60%, 45%)","color-secondary-600":"hsl(227, 60%, 40%)","color-secondary-700":"hsl(227, 60%, 35%)","color-secondary-800":"hsl(227, 60%, 30%)","color-secondary-900":"hsl(227, 60%, 25%)","color-secondary-950":"hsl(227, 60%, 20%)","color-secondary":"$color-secondary-500","color-warn-50":"hsl(20, 100%, 95%)","color-warn-100":"hsl(20, 100%, 85%)","color-warn-200":"hsl(20, 100%, 75%)","color-warn-300":"hsl(20, 100%, 65%)","color-warn-400":"hsl(20, 100%, 55%)","color-warn-500":"hsl(20, 98%, 56%)","color-warn-600":"hsl(20, 100%, 50%)","color-warn-700":"hsl(20, 100%, 45%)","color-warn-800":"hsl(20, 100%, 40%)","color-warn-900":"hsl(20, 100%, 35%)","color-warn-950":"hsl(20, 100%, 30%)","color-warn":"$color-warn-500","color-danger-50":"hsl(356, 100%, 95%)","color-danger-100":"hsl(356, 100%, 85%)","color-danger-200":"hsl(356, 100%, 75%)","color-danger-300":"hsl(356, 100%, 65%)","color-danger-400":"hsl(356, 100%, 55%)","color-danger-500":"hsl(356, 97%, 55%)","color-danger-600":"hsl(356, 100%, 50%)","color-danger-700":"hsl(356, 100%, 45%)","color-danger-800":"hsl(356, 100%, 40%)","color-danger-900":"hsl(356, 100%, 35%)","color-danger-950":"hsl(356, 100%, 30%)","color-danger":"$color-danger-600","color-attention":"$color-danger-500","color-success-50":"hsl(168, 80%, 95%)","color-success-100":"hsl(168, 80%, 85%)","color-success-200":"hsl(168, 80%, 75%)","color-success-300":"hsl(168, 80%, 65%)","color-success-400":"hsl(168, 80%, 55%)","color-success-500":"hsl(168, 82%, 28%)","color-success-600":"hsl(168, 80%, 25%)","color-success-700":"hsl(168, 80%, 22%)","color-success-800":"hsl(168, 80%, 19%)","color-success-900":"hsl(168, 80%, 16%)","color-success-950":"hsl(168, 80%, 13%)","color-success":"$color-success-500","color-info-50":"hsl(204, 100%, 92%)","color-info-100":"hsl(204, 100%, 84%)","color-info-200":"hsl(204, 100%, 76%)","color-info-300":"hsl(204, 100%, 68%)","color-info-400":"hsl(204, 100%, 60%)","color-info-500":"hsl(204, 100%, 50%)","color-info-600":"hsl(204, 100%, 45%)","color-info-700":"hsl(204, 100%, 35%)","color-info-800":"hsl(204, 100%, 25%)","color-info-900":"hsl(204, 100%, 15%)","color-info-950":"hsl(204, 100%, 10%)","color-info":"$color-info-500"},o8={"color-surface-50":"hsl(0, 0%, 95%)","color-surface-100":"hsl(0, 0%, 85%)","color-surface-200":"hsl(0, 0%, 75%)","color-surface-300":"hsl(0, 0%, 65%)","color-surface-400":"hsl(0, 0%, 55%)","color-surface-500":"hsl(0, 0%, 50%)","color-surface-600":"hsl(0, 0%, 45%)","color-surface-700":"hsl(0, 0%, 40%)","color-surface-800":"hsl(0, 0%, 35%)","color-surface-900":"hsl(0, 0%, 30%)","color-surface-950":"hsl(0, 0%, 25%)","color-surface":"$color-surface-500","color-primary-50":"hsl(354, 89%, 95%)","color-primary-100":"hsl(354, 89%, 85%)","color-primary-200":"hsl(354, 89%, 75%)","color-primary-300":"hsl(354, 89%, 65%)","color-primary-400":"hsl(354, 89%, 55%)","color-primary-500":"hsl(354, 89%, 63%)","color-primary-600":"hsl(354, 89%, 50%)","color-primary-700":"hsl(354, 89%, 45%)","color-primary-800":"hsl(354, 89%, 40%)","color-primary-900":"hsl(354, 89%, 35%)","color-primary-950":"hsl(354, 89%, 30%)","color-primary":"$color-primary-500","color-secondary-50":"hsl(210, 64%, 95%)","color-secondary-100":"hsl(210, 64%, 85%)","color-secondary-200":"hsl(210, 64%, 75%)","color-secondary-300":"hsl(210, 64%, 65%)","color-secondary-400":"hsl(210, 64%, 55%)","color-secondary-500":"hsl(210, 64%, 39%)","color-secondary-600":"hsl(210, 64%, 35%)","color-secondary-700":"hsl(210, 64%, 30%)","color-secondary-800":"hsl(210, 64%, 25%)","color-secondary-900":"hsl(210, 64%, 20%)","color-secondary-950":"hsl(210, 64%, 15%)","color-secondary":"$color-secondary-500","color-warn-50":"hsl(36, 85%, 95%)","color-warn-100":"hsl(36, 85%, 85%)","color-warn-200":"hsl(36, 85%, 75%)","color-warn-300":"hsl(36, 85%, 65%)","color-warn-400":"hsl(36, 85%, 55%)","color-warn-500":"hsl(36, 85%, 53%)","color-warn-600":"hsl(36, 85%, 45%)","color-warn-700":"hsl(36, 85%, 40%)","color-warn-800":"hsl(36, 85%, 35%)","color-warn-900":"hsl(36, 85%, 30%)","color-warn-950":"hsl(36, 85%, 25%)","color-warn":"$color-warn-500","color-danger-50":"hsl(356, 100%, 95%)","color-danger-100":"hsl(356, 100%, 85%)","color-danger-200":"hsl(356, 100%, 75%)","color-danger-300":"hsl(356, 100%, 65%)","color-danger-400":"hsl(356, 100%, 55%)","color-danger-500":"hsl(356, 100%, 45%)","color-danger-600":"hsl(356, 100%, 40%)","color-danger-700":"hsl(356, 100%, 35%)","color-danger-800":"hsl(356, 100%, 30%)","color-danger-900":"hsl(356, 100%, 25%)","color-danger-950":"hsl(356, 100%, 20%)","color-danger":"$color-danger-600","color-attention":"$color-danger-500","color-success-50":"hsl(156, 80%, 95%)","color-success-100":"hsl(156, 80%, 85%)","color-success-200":"hsl(156, 80%, 75%)","color-success-300":"hsl(156, 80%, 65%)","color-success-400":"hsl(156, 80%, 55%)","color-success-500":"hsl(156, 80%, 35%)","color-success-600":"hsl(156, 80%, 30%)","color-success-700":"hsl(156, 80%, 25%)","color-success-800":"hsl(156, 80%, 20%)","color-success-900":"hsl(156, 80%, 15%)","color-success-950":"hsl(156, 80%, 10%)","color-success":"$color-success-500","color-info-50":"hsl(197, 98%, 92%)","color-info-100":"hsl(197, 98%, 84%)","color-info-200":"hsl(197, 98%, 76%)","color-info-300":"hsl(197, 98%, 68%)","color-info-400":"hsl(197, 98%, 60%)","color-info-500":"hsl(197, 98%, 50%)","color-info-600":"hsl(197, 98%, 45%)","color-info-700":"hsl(197, 98%, 35%)","color-info-800":"hsl(197, 98%, 25%)","color-info-900":"hsl(197, 98%, 15%)","color-info-950":"hsl(197, 98%, 10%)","color-info":"$color-info-500"},r8={id:"xmlui",resources:{},themeVars:{"shadow-header-App":"none","font-size":"15px","shadow-Input":"$shadow-sm"},tones:{light:{themeVars:{"color-bg-ModalDialog":"white","color-bg-checked-RadioGroupOption":"$color-primary-400"}},dark:{themeVars:{"color-error":"$color-danger-400"}}}},n8={id:"xmlui-green",extends:"xmlui",themeVars:{...X4}},i8={id:"xmlui-gray",extends:"xmlui",themeVars:{...Z4}},s8={id:"xmlui-orange",extends:"xmlui",themeVars:{...A8}},a8={id:"xmlui-purple",extends:"xmlui",themeVars:{...e8}},l8={id:"xmlui-cyan",extends:"xmlui",themeVars:{...t8}},g8={id:"xmlui-red",extends:"xmlui",themeVars:{...o8}},c8={id:"solid",themeVars:{"color-primary":"#2a69bb","color-secondary":"#98a9bc","color-surface":"hsl(0,0%,49%)","color-success":"#45a249","max-content-width":"100%",radius:"0","font-size":"$font-size-normal","size-Icon":"1rem"}},Ks=(A,e)=>{const t=A==null?void 0:A.current,o=E.useRef();E.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 lo(A){const e=E.useRef();return E.useEffect(()=>{e.current=A},[A]),e.current}function B8(){return E.useMemo(()=>{try{return window.self!==window.top}catch{return!0}},[])}const HQ=()=>typeof document<"u"&&document.hasFocus();function Q8(){const[A,e]=E.useState(HQ);return E.useEffect(()=>{e(HQ());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 Ar(A){const[e,t]=E.useState(!1);return E.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 u8(A){const e=HA(A);E.useEffect(()=>(document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}),[e])}function E8(A){const e=E.useRef({mountedFired:!1});E.useEffect(()=>{e.current.mountedFired||(e.current.mountedFired=!0,A==null||A())},[A])}function $e(A){const e=E.useRef(A),t=E.useRef(0);return ii(A,e.current)||(e.current=A,t.current++),E.useMemo(()=>e.current,[t.current])}function Os(...A){const{getThemeVar:e}=ce();return E.useMemo(()=>{const o={};for(const r of A)if(typeof r=="string"){const n=e(r);o[r]=vr(n).toString()}else{const n=e(r.name);o[r.name]=vr(n).hex().toString()}return o},[A,e])}function Js(A){return $e(E.useMemo(()=>{const e={};if(Reflect.ownKeys(A).length===0)return GA;for(const t of Object.getOwnPropertySymbols(A)){const o=A[t];t.description&&(e[t.description]=o)}return e},[A]))}const $t=typeof document<"u"?E.useLayoutEffect:E.useEffect;function UQ(A,e,t=Be,o=GA,r=GA){const n=Ys(),{componentThemeVars:i,componentDefaultThemeVars:s}=n,a=E.useMemo(()=>{if(A)return j4(A,t,s)},[A,s,t]),l=E.useMemo(()=>{let I={};return a==null||a.forEach(p=>{var D,m;I={...I,...p.resources,...(m=(D=p.tones)==null?void 0:D[e])==null?void 0:m.resources}}),{...o,...I}},[a,o,e]),c=E.useMemo(()=>{const I=[];return Object.entries(l).forEach(([p,D])=>{p.startsWith("font.")&&(I==null||I.push(D))}),I},[l]),B=E.useCallback(I=>{let p=I;if(I!=null&&I.startsWith("resource:")){const D=I==null?void 0:I.replace("resource:","");p=l[D]}return p&&(r[p]?r[p]:p.startsWith("/")&&r[p.substring(1)]?r[p.substring(1)]:xQ(p))},[l,r]),Q=E.useMemo(()=>(c==null?void 0:c.filter(I=>typeof I=="string"))||[],[c]),u=E.useMemo(()=>{var p,D,m;if(!(a!=null&&a.length))return[];let I={};return a==null||a.forEach(k=>{var N,L,M;I={...I,...k.themeVars,...(N=k.themeVars)==null?void 0:N[e],...(M=(L=k.tones)==null?void 0:L[e])==null?void 0:M.themeVars}}),[...a.map(k=>{var N,L,M;return{...k.themeVars,...(N=k.themeVars)==null?void 0:N[e],...(M=(L=k.tones)==null?void 0:L[e])==null?void 0:M.themeVars}}).slice(0,a.length-1),{...h4(I),...I4(I),...C4(I),...p4(I)},{...V4({...a[a.length-1].themeVars,...(p=a[a.length-1].themeVars)==null?void 0:p[e],...(m=(D=a[a.length-1].tones)==null?void 0:D[e])==null?void 0:m.themeVars})}]},[e,a]),d=E.useMemo(()=>{let I={};u==null||u.forEach(D=>{I={...I,...D}});const p={};return new Set([...Object.keys(bQ.themeVars),...i]).forEach(D=>{const m=d4(D,u);m&&m.forValue&&m.matchedValue&&m.forValue!==m.matchedValue&&(p[m.forValue]=`$${m.matchedValue}`)}),C8({...I,...p})},[i,u]),C=E.useMemo(()=>{const I={};return Object.entries(d).forEach(([p,D])=>{const m=`--${bQ.keyPrefix}-${p}`;D&&(I[m]=D)}),I},[d]),h=E.useCallback(I=>lg(I,d),[d]);return E.useEffect(()=>{c.forEach(async I=>{if(typeof I!="string"){let D=`url(${B(I.src)})`;I.format&&(D=`${D} format('${I.format}')`);const m=new FontFace(I.fontFamily,D,{weight:I.fontWeight,style:I.fontStyle,display:I.fontDisplay});try{const k=await m.load();document.fonts.add(k)}catch(k){console.error("loading fonts failed",k)}}})},[a,B,c]),{getResourceUrl:B,fontLinks:Q,allThemeVarsWithResolvedHierarchicalVars:d,themeCssVars:C,getThemeVar:h}}const RQ=[r8,n8,i8,s8,a8,l8,g8,c8];function d8({children:A,themes:e=Be,defaultTheme:t="xmlui",defaultTone:o="light",resources:r=GA,resourceMap:n=GA}){const[i,s]=E.useState(()=>o||Ss[0]),a=E.useMemo(()=>[...e,...RQ],[e]),l=E.useMemo(()=>[...new Set(a.map(k=>k.id))],[a]),[c,B]=E.useState(()=>t||l[0]);$t(()=>{t&&l.includes(t)?B(t):B(l[0])},[l,t]);const Q=E.useMemo(()=>{let k;if(c&&(k=a.find(N=>N.id===c)),!k)throw new Error(`Theme ${c} not found, available themes: ${l}`);return k},[c,l,a]),{allThemeVarsWithResolvedHierarchicalVars:u,themeCssVars:d,getResourceUrl:C,getThemeVar:h}=UQ(Q,i,a,r,n),[I,p]=E.useState(typeof document>"u"?void 0:document.body),D=E.useMemo(()=>({root:I,setRoot:p,themes:a,resources:r,resourceMap:n,activeThemeId:c,activeThemeTone:i,setActiveThemeId:B,setActiveThemeTone:s,availableThemeIds:l,activeTheme:Q,toggleThemeTone:()=>s(i==="light"?"dark":"light")}),[Q,c,i,l,n,r,I,a]),m=E.useMemo(()=>({root:I,activeThemeId:c,activeThemeTone:i,activeTheme:Q,themeStyles:d,themeVars:u,getResourceUrl:C,getThemeVar:h}),[Q,c,i,u,C,h,I,d]);return g.jsx(vQ.Provider,{value:D,children:g.jsx(Cg.Provider,{value:m,children:A})})}function C8(A){if(!A)return{};const e={};return Object.keys(A).forEach(r=>{e[r]=t(r,A)}),e;function t(r,n){const i=n[r];return typeof i=="string"&&i.includes("$")?o(i):i}function o(r){const n=/\$([a-zA-Z0-9_-]+)/gi,i=r.matchAll(n);if(i){let s=r;for(const a of i){const l=a[1];l&&(s=s.replace(a[0],`var(${Zo(l)})`))}return s}return r}}function h8(A,e){typeof A=="function"?A(e):A!=null&&(A.current=e)}function jt(...A){return e=>A.forEach(t=>h8(t,e))}function I8(A){return A.type==="Container"?!0:!!(A.loaders||A.vars||A.uses||A.contextVars||A.functions||A.scriptCollected)}function YQ(A,e,t=[]){const o=n=>t.concat(n).join("."),r=new WeakMap;return new Proxy(A,{get:function(n,i,s){const a=Reflect.get(n,i,s);return a&&!a._ARROW_EXPR_&&!Object.isFrozen(a)&&typeof a=="object"&&["Array","Object"].includes(a.constructor.name)?(r.has(a)||r.set(a,YQ(a,e,t.concat(i))),r.get(a)):a},set:function(n,i,s,a){return e({action:"set",path:o(i),pathArray:t.concat(i),target:n,newValue:s,previousValue:Reflect.get(n,i,a)}),Reflect.set(n,i,s,a)},deleteProperty:function(n,i){return e({action:"unset",path:o(i),pathArray:t.concat(i),target:n}),Reflect.deleteProperty(n,i)}})}var Pe=(A=>(A.LOADER_LOADED="ContainerActionKind:LOADER_LOADED",A.LOADER_IN_PROGRESS_CHANGED="ContainerActionKind:LOADER_IN_PROGRESS_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))(Pe||{}),w=(A=>(A[A.Eof=-1]="Eof",A[A.Ws=-2]="Ws",A[A.BlockComment=-3]="BlockComment",A[A.EolComment=-4]="EolComment",A[A.Unknown=0]="Unknown",A[A.LParent=1]="LParent",A[A.RParent=2]="RParent",A[A.Identifier=3]="Identifier",A[A.Exponent=4]="Exponent",A[A.Divide=5]="Divide",A[A.Multiply=6]="Multiply",A[A.Remainder=7]="Remainder",A[A.Plus=8]="Plus",A[A.Minus=9]="Minus",A[A.BitwiseXor=10]="BitwiseXor",A[A.BitwiseOr=11]="BitwiseOr",A[A.LogicalOr=12]="LogicalOr",A[A.BitwiseAnd=13]="BitwiseAnd",A[A.LogicalAnd=14]="LogicalAnd",A[A.IncOp=15]="IncOp",A[A.DecOp=16]="DecOp",A[A.Assignment=17]="Assignment",A[A.AddAssignment=18]="AddAssignment",A[A.SubtractAssignment=19]="SubtractAssignment",A[A.ExponentAssignment=20]="ExponentAssignment",A[A.MultiplyAssignment=21]="MultiplyAssignment",A[A.DivideAssignment=22]="DivideAssignment",A[A.RemainderAssignment=23]="RemainderAssignment",A[A.ShiftLeftAssignment=24]="ShiftLeftAssignment",A[A.ShiftRightAssignment=25]="ShiftRightAssignment",A[A.SignedShiftRightAssignment=26]="SignedShiftRightAssignment",A[A.BitwiseAndAssignment=27]="BitwiseAndAssignment",A[A.BitwiseXorAssignment=28]="BitwiseXorAssignment",A[A.BitwiseOrAssignment=29]="BitwiseOrAssignment",A[A.LogicalAndAssignment=30]="LogicalAndAssignment",A[A.LogicalOrAssignment=31]="LogicalOrAssignment",A[A.NullCoalesceAssignment=32]="NullCoalesceAssignment",A[A.Semicolon=33]="Semicolon",A[A.Comma=34]="Comma",A[A.Colon=35]="Colon",A[A.LSquare=36]="LSquare",A[A.RSquare=37]="RSquare",A[A.QuestionMark=38]="QuestionMark",A[A.NullCoalesce=39]="NullCoalesce",A[A.OptionalChaining=40]="OptionalChaining",A[A.BinaryNot=41]="BinaryNot",A[A.LBrace=42]="LBrace",A[A.RBrace=43]="RBrace",A[A.Equal=44]="Equal",A[A.StrictEqual=45]="StrictEqual",A[A.LogicalNot=46]="LogicalNot",A[A.NotEqual=47]="NotEqual",A[A.StrictNotEqual=48]="StrictNotEqual",A[A.LessThan=49]="LessThan",A[A.LessThanOrEqual=50]="LessThanOrEqual",A[A.ShiftLeft=51]="ShiftLeft",A[A.GreaterThan=52]="GreaterThan",A[A.GreaterThanOrEqual=53]="GreaterThanOrEqual",A[A.ShiftRight=54]="ShiftRight",A[A.SignedShiftRight=55]="SignedShiftRight",A[A.Dot=56]="Dot",A[A.Spread=57]="Spread",A[A.Global=58]="Global",A[A.Backtick=59]="Backtick",A[A.DollarLBrace=60]="DollarLBrace",A[A.Arrow=61]="Arrow",A[A.DecimalLiteral=62]="DecimalLiteral",A[A.HexadecimalLiteral=63]="HexadecimalLiteral",A[A.BinaryLiteral=64]="BinaryLiteral",A[A.RealLiteral=65]="RealLiteral",A[A.StringLiteral=66]="StringLiteral",A[A.Infinity=67]="Infinity",A[A.NaN=68]="NaN",A[A.True=69]="True",A[A.False=70]="False",A[A.Typeof=71]="Typeof",A[A.Null=72]="Null",A[A.Undefined=73]="Undefined",A[A.In=74]="In",A[A.Let=75]="Let",A[A.Const=76]="Const",A[A.Var=77]="Var",A[A.If=78]="If",A[A.Else=79]="Else",A[A.Return=80]="Return",A[A.Break=81]="Break",A[A.Continue=82]="Continue",A[A.Do=83]="Do",A[A.While=84]="While",A[A.For=85]="For",A[A.Of=86]="Of",A[A.Try=87]="Try",A[A.Catch=88]="Catch",A[A.Finally=89]="Finally",A[A.Throw=90]="Throw",A[A.Switch=91]="Switch",A[A.Case=92]="Case",A[A.Default=93]="Default",A[A.Delete=94]="Delete",A[A.Function=95]="Function",A[A.Export=96]="Export",A[A.Import=97]="Import",A[A.As=98]="As",A[A.From=99]="From",A))(w||{});class p8{constructor(e){this.source=e,this._pos=0,this._line=1,this._column=0}get position(){return this._pos}get line(){return this._line}get column(){return this._column}peek(){return this.ahead(0)}ahead(e=1){return this._pos+e>this.source.length-1?null:this.source[this._pos+e]}get(){if(this._pos>=this.source.length)return null;const e=this.source[this._pos++];return e===`
3
3
  `?(this._line++,this._column=0):this._column++,e}getTail(e){var t;return((t=this.source)==null?void 0:t.substring(e))??""}}const kr={[w.Eof]:{},[w.Ws]:{},[w.DollarLBrace]:{},[w.Backtick]:{expressionStart:!0},[w.BlockComment]:{},[w.EolComment]:{},[w.Unknown]:{},[w.LParent]:{expressionStart:!0},[w.RParent]:{},[w.Identifier]:{expressionStart:!0,keywordLike:!0,isPropLiteral:!0},[w.Exponent]:{},[w.Divide]:{},[w.Multiply]:{},[w.Remainder]:{},[w.Plus]:{expressionStart:!0,canBeUnary:!0},[w.Minus]:{expressionStart:!0,canBeUnary:!0},[w.BitwiseXor]:{},[w.BitwiseOr]:{},[w.LogicalOr]:{},[w.BitwiseAnd]:{},[w.LogicalAnd]:{},[w.Assignment]:{isAssignment:!0},[w.AddAssignment]:{isAssignment:!0},[w.SubtractAssignment]:{isAssignment:!0},[w.ExponentAssignment]:{isAssignment:!0},[w.MultiplyAssignment]:{isAssignment:!0},[w.DivideAssignment]:{isAssignment:!0},[w.RemainderAssignment]:{isAssignment:!0},[w.ShiftLeftAssignment]:{isAssignment:!0},[w.ShiftRightAssignment]:{isAssignment:!0},[w.SignedShiftRightAssignment]:{isAssignment:!0},[w.BitwiseAndAssignment]:{isAssignment:!0},[w.BitwiseXorAssignment]:{isAssignment:!0},[w.BitwiseOrAssignment]:{isAssignment:!0},[w.LogicalAndAssignment]:{isAssignment:!0},[w.LogicalOrAssignment]:{isAssignment:!0},[w.NullCoalesceAssignment]:{isAssignment:!0},[w.Semicolon]:{},[w.Comma]:{},[w.Colon]:{},[w.LSquare]:{expressionStart:!0},[w.RSquare]:{},[w.QuestionMark]:{},[w.NullCoalesce]:{},[w.OptionalChaining]:{},[w.BinaryNot]:{expressionStart:!0,canBeUnary:!0},[w.LBrace]:{expressionStart:!0},[w.RBrace]:{},[w.Equal]:{},[w.StrictEqual]:{},[w.LogicalNot]:{expressionStart:!0,canBeUnary:!0},[w.NotEqual]:{},[w.StrictNotEqual]:{},[w.LessThan]:{},[w.LessThanOrEqual]:{},[w.ShiftLeft]:{},[w.GreaterThan]:{},[w.GreaterThanOrEqual]:{},[w.ShiftRight]:{},[w.SignedShiftRight]:{},[w.Dot]:{},[w.Spread]:{expressionStart:!0,isPropLiteral:!0},[w.Global]:{expressionStart:!0},[w.DecimalLiteral]:{expressionStart:!0,isPropLiteral:!0},[w.HexadecimalLiteral]:{expressionStart:!0,isPropLiteral:!0},[w.BinaryLiteral]:{expressionStart:!0,isPropLiteral:!0},[w.RealLiteral]:{expressionStart:!0,isPropLiteral:!0},[w.StringLiteral]:{expressionStart:!0,isPropLiteral:!0},[w.IncOp]:{expressionStart:!0},[w.DecOp]:{expressionStart:!0},[w.Infinity]:{expressionStart:!0,keywordLike:!0},[w.NaN]:{expressionStart:!0,keywordLike:!0},[w.True]:{expressionStart:!0,keywordLike:!0,isPropLiteral:!0},[w.False]:{expressionStart:!0,keywordLike:!0,isPropLiteral:!0},[w.Typeof]:{expressionStart:!0,canBeUnary:!0,keywordLike:!0},[w.Null]:{expressionStart:!0,keywordLike:!0},[w.Undefined]:{expressionStart:!0,keywordLike:!0},[w.In]:{keywordLike:!0},[w.Let]:{keywordLike:!0},[w.Const]:{keywordLike:!0},[w.Var]:{keywordLike:!0},[w.If]:{keywordLike:!0},[w.Else]:{keywordLike:!0},[w.Arrow]:{keywordLike:!0},[w.Return]:{keywordLike:!0},[w.Break]:{keywordLike:!0},[w.Continue]:{keywordLike:!0},[w.Do]:{keywordLike:!0},[w.While]:{keywordLike:!0},[w.For]:{keywordLike:!0},[w.Of]:{keywordLike:!0},[w.Throw]:{keywordLike:!0},[w.Try]:{keywordLike:!0},[w.Catch]:{keywordLike:!0},[w.Finally]:{keywordLike:!0},[w.Switch]:{keywordLike:!0},[w.Case]:{keywordLike:!0},[w.Default]:{keywordLike:!0},[w.Delete]:{expressionStart:!0,canBeUnary:!0,keywordLike:!0},[w.Function]:{keywordLike:!0,expressionStart:!0},[w.Export]:{keywordLike:!0},[w.Import]:{keywordLike:!0},[w.As]:{keywordLike:!0},[w.From]:{keywordLike:!0}};let w8=class{constructor(e){this.input=e,this._ahead=[],this._prefetched=null,this._prefetchedPos=null,this._prefetchedColumn=null,this._lastFetchPosition=0,this._phaseExternallySet=null}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(KQ(o))return o;(t||!t&&!OQ(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(KQ(t)||e||!e&&!OQ(t))return t}}getRegEx(){return this.fetchRegEx()}getTail(){return this._ahead.length>0?this.input.getTail(this._ahead[0].location.startPosition):this.input.getTail(this._lastFetchPosition)}setStartingPhaseToTemplateLiteral(){this._phaseExternallySet=33}fetchNextChar(){return this._prefetched||(this._prefetchedPos=this.input.position,this._prefetchedColumn=this.input.column,this._prefetched=this.input.get()),this._prefetched}fetch(){const e=this,t=this.input,o=this._prefetchedPos||t.position,r=t.line,n=this._prefetchedColumn||t.column;this._lastFetchPosition=this.input.position;let i=null,s="",a=w.Eof,l=t.position,c=t.column,B=null,Q=!1,u=this.getStartingPhaseThenReset();for(;;){if(B=this.fetchNextChar(),B===null)return C();a===w.Eof&&(a=w.Unknown);A:switch(u){case 0:switch(B){case" ":case" ":case`
4
4
  `:case"\r":u=1,a=w.Ws;break;case"/":u=5,a=w.Divide;break;case"$":u=6,a=w.Identifier;break;case"*":u=8,a=w.Multiply;break;case"%":u=54,a=w.Remainder;break;case"+":u=51,a=w.Plus;break;case"-":u=52,a=w.Minus;break;case"^":u=58,a=w.BitwiseXor;break;case"|":u=7,a=w.BitwiseOr;break;case"&":u=9,a=w.BitwiseAnd;break;case"?":u=22,a=w.QuestionMark;break;case";":return h(w.Semicolon);case",":return h(w.Comma);case"(":return h(w.LParent);case")":return h(w.RParent);case":":u=20,a=w.Colon;break;case"`":return h(w.Backtick);case"[":return h(w.LSquare);case"]":return h(w.RSquare);case"~":return h(w.BinaryNot);case"{":return h(w.LBrace);case"}":return h(w.RBrace);case"=":u=10,a=w.Assignment;break;case"!":u=13,a=w.LogicalNot;break;case"<":u=14,a=w.LessThan;break;case">":u=15,a=w.GreaterThan;break;case"0":u=21,a=w.DecimalLiteral;break;case".":u=18,a=w.Dot;break;case'"':case"'":i=B,u=35;break;default:JQ(B)?(Q=!0,u=17,a=w.Identifier):go(B)?(u=27,a=w.DecimalLiteral):h(w.Unknown);break}break;case 6:if(B==="{")return h(w.DollarLBrace);u=17,Q=!0,a=w.Identifier,qQ(B)||C();break;case 1:if(B!==" "&&B!==" "&&B!=="\r"&&B!==`
@@ -79,7 +79,7 @@ ${A.errorObject}`,o=["color: red","color: inherited"]);throw t&&console.log(t,..
79
79
  */(function(A){(function(){var e={}.hasOwnProperty;function t(){for(var n="",i=0;i<arguments.length;i++){var s=arguments[i];s&&(n=r(n,o(s)))}return n}function o(n){if(typeof n=="string"||typeof n=="number")return n;if(typeof n!="object")return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var i="";for(var s in n)e.call(n,s)&&n[s]&&(i=r(i,s));return i}function r(n,i){return i?n?n+" "+i:n+i:n}A.exports?(t.default=t,A.exports=t):window.classNames=t})()})(P1);var $2=P1.exports;const Ge=E4($2),Sg={wrapper:"_wrapper_dyj8i_13",dark:"_dark_dyj8i_28"};function AA(A,e,t){return{type:A,renderer:t,metadata:e}}function la(A,e){return AA(A,e,()=>{throw new Error("Prop holder component, shouldn't render")})}function ga(A,e,t){return{type:A,renderer:e,hints:t}}let ca=null;function T1({value:A}){const{activeThemeTone:e}=ce(),[t,o]=E.useState(!1);E.useEffect(()=>{async function n(){if(!ca){const{createHighlighterCore:i}=await Promise.resolve().then(()=>M_);ca=await i({themes:[Promise.resolve().then(()=>N_)],langs:[Promise.resolve().then(()=>__)],loadWasm:Promise.resolve().then(()=>S_)})}o(!0)}n()},[]);const r=E.useMemo(()=>!t||!ca?"":ca.codeToHtml(A,{lang:"xmlui",theme:"xmlui",colorReplacements:{"#000001":"var(--syntax-token-component)","#000002":"var(--syntax-token-delimiter-angle)","#000003":"var(--syntax-token-attribute-name)","#000004":"var(--syntax-token-equal-sign)","#000005":"var(--syntax-token-string)","#000006":"var(--syntax-token-script)","#000007":"var(--syntax-token-helper)","#000008":"var(--syntax-token-comment)","#000009":"var(--syntax-token-escape)","#000010":"var(--syntax-token-constant)","#000011":"var(--syntax-token-cdata)","#000012":"var(--syntax-token-delimiter-curly)","#000013":"var(--syntax-token-text)"}}),[t,A]);return g.jsx("div",{className:Ge(Sg.wrapper,{[Sg.dark]:e==="dark",[Sg.light]:e==="light"}),dangerouslySetInnerHTML:{__html:r}})}const j2=AA("XmluiCodehighlighter",{},({node:A,renderChild:e})=>g.jsx(T1,{value:e(A.children)})),V2={wrapper:"_wrapper_fpcuh_13"},Pg=E.createContext(null);function X2({children:A,sources:e}){const[t,o]=E.useState({}),r=E.useMemo(()=>({sources:e,attach:(n,i,s)=>{o(a=>({...a,[s]:{node:n,uid:i,inspectId:s,key:0}}))},refresh:n=>{o(i=>({...i,[n]:{...i[n],key:i[n].key+1}}))},detach:(n,i)=>{o(s=>{const a={...s};return delete a[i],a})}}),[e]);return g.jsxs(Pg.Provider,{value:r,children:[A,process.env.VITE_USER_COMPONENTS_Inspect!=="false"&&t&&Object.values(t).map(n=>g.jsx(Ap,{inspectId:n.inspectId,node:n.node},n.inspectId+ +"-"+n.key))]})}function Z2(A){var o;const{sources:e}=E.useContext(Pg),t=E.useMemo(()=>{var Q;const r=(Q=A.node.debug)==null?void 0:Q.source;if(!r||!e)return"";const{start:n,end:i,fileId:s}=r,a=e[s].slice(n,i);let l=!0;const c=[];let B;return a.split(`
80
80
  `).forEach(u=>{if(!(u.trim()===""&&l)){l=!1,c.push(u);const d=u.search(/\S|$/);u.trim()!==""&&(B===void 0||d<B)&&(B=d)}}),c.map(u=>u.slice(B)).join(`
81
81
  `)},[(o=A.node.debug)==null?void 0:o.source,e]);return g.jsx(Qn,{isInitiallyOpen:!0,onClose:A.onClose,style:{width:"auto",maxWidth:"100%",minWidth:400},children:g.jsx(T1,{value:t})})}function Ap({inspectId:A,node:e}){const{root:t}=ce(),[o,r]=E.useState(null),[n,i]=E.useState(null),{styles:s,attributes:a}=A4.usePopper(o,n,{placement:"top-end",modifiers:[{name:"offset",options:{offset:[0,-18]}}]}),[l,c]=E.useState(!1),[B,Q]=E.useState(!1),u=E.useRef(null),d=E.useRef(!1);return E.useEffect(()=>{const C=document.querySelector(`[data-inspectId="${A}"]`);if(!C)return;r(C);function h(){u.current&&clearTimeout(u.current),c(!0)}function I(){u.current&&clearTimeout(u.current),!d.current&&(u.current=window.setTimeout(()=>{c(!1)},100))}return C.addEventListener("mouseenter",h),C.addEventListener("mouseleave",I),()=>{C.removeEventListener("mouseenter",h),C.removeEventListener("mouseleave",I)}},[A]),g.jsxs(g.Fragment,{children:[l&&!!t&&Po.createPortal(g.jsx(Ce,{icon:g.jsx(kA,{name:"code"}),variant:"ghost",size:"xs",className:Ge(V2.wrapper,"_debug-inspect-button"),ref:C=>i(C),style:{...s.popper},...a.popper,onMouseEnter:()=>{d.current=!0,u.current&&(clearTimeout(u.current),u.current=null)},onMouseLeave:()=>{d.current=!1,c(!1)},onClick:()=>{Q(!0)}}),t),B&&g.jsx(Z2,{onClose:()=>Q(!1),node:e})]})}function ep(A,e){var i;const t=E.useContext(Pg),o=(i=A.props)==null?void 0:i.inspect,r=E.useId(),n=E.useCallback(()=>{t==null||t.refresh(r)},[t,r]);return E.useEffect(()=>(o&&(t==null||t.attach(A,e,r)),()=>{t==null||t.detach(e,r)}),[t,r,A,o,e]),o&&t?{refreshInspection:n,inspectId:r}:{}}const Tg=E.memo(({node:A,renderChild:e,layoutContext:t,slotProps:o=GA})=>{const r=$e(o),n=E.useMemo(()=>{const i={};return Object.entries(r).forEach(([s,a])=>{i["$"+s]=a}),{type:"Container",contextVars:i,children:Array.isArray(A)?A:[A]}},[A,r]);return g.jsx(g.Fragment,{children:e(n,t)})}),Gg=["horizontalAlignment","verticalAlignment","orientation","width","minWidth","maxWidth","height","minHeight","maxHeight","gap","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderStyle","borderThickness","radius","radiusTopLeft","radiusTopRight","radiusBottomLeft","radiusBottomRight","padding","horizontalPadding","verticalPadding","paddingTop","paddingRight","paddingBottom","paddingLeft","backgroundColor","background","shadow","direction","horizontalOverflow","verticalOverflow","zIndex","color","fontFamily","fontSize","fontWeight","italic","textDecoration","wrapContent","canShrink","margin","horizontalMargin","verticalMargin","marginTop","marginRight","marginBottom","marginLeft","userSelect","letterSpacing","textTransform","lineHeight","opacity","cursor","textWrap","textAlign","textAlignLast","top","right","bottom","left","zoom"],tp={cssProps:{},nonCssProps:{}};function G1(A=GA,e,t){var qI;const o={cssProps:{},nonCssProps:{}},r=o.cssProps,n=NA("horizontalAlignment",A);n&&(o.nonCssProps.horizontalAlignment=n);const i=NA("verticalAlignment",A);i&&(o.nonCssProps.verticalAlignment=i);const s=ao("orientation",A);s&&(o.nonCssProps.orientation=s),uQ(t)&&(r.flexShrink=0);const a=De("width",A);a.value&&(r.width=a.value),cT(a,t)&&(r.flex=a.ratio,r.flexShrink=1);const l=De("minWidth",A);l.value&&(r.minWidth=l.value);const c=De("maxWidth",A);c.value&&(r.maxWidth=c.value);const B=De("height",A);B.value&&(r.height=B.value),BT(B,t)&&(r.flex=B.ratio,r.flexShrink=1);const Q=De("minHeight",A);Q.value&&(r.minHeight=Q.value);const u=De("maxHeight",A);u.value&&(r.maxHeight=u.value);const d=De("top",A);d.value&&(r.top=d.value);const C=De("right",A);C.value&&(r.right=C.value);const h=De("bottom",A);h.value&&(r.bottom=h.value);const I=De("left",A);I.value&&(r.left=I.value);const p=De("gap",A);p.value&&(r.gap=p.value);const D=ms("border",A);D&&(r.border=D);const m=ms("borderTop",A);m&&(r.borderTop=m);const k=ms("borderRight",A);k&&(r.borderRight=k);const N=ms("borderBottom",A);N&&(r.borderBottom=N);const L=ms("borderLeft",A);L&&(r.borderLeft=L);const M=QQ("borderColor",A);M&&(r.borderColor=M);const F=nT("borderStyle",A);F&&(r.borderStyle=F);const v=De("borderThickness",A);v.value&&(r.borderWidth=v.value);const y=xs("radius",A);y&&(r.borderRadius=y);const P=xs("radiusTopLeft",A);P&&(r.borderTopLeftRadius=P);const b=xs("radiusTopRight",A);b&&(r.borderTopRightRadius=b);const _=xs("radiusBottomLeft",A);_&&(r.borderBottomLeftRadius=_);const q=xs("radiusBottomRight",A);q&&(r.borderBottomRightRadius=q);const J=De("padding",A);J.value&&(r.padding=J.value);const z=De("horizontalPadding",A),T=De("verticalPadding",A),S=Se(De("paddingLeft",A),z);S.value&&(r.paddingLeft=S.value);const G=Se(De("paddingRight",A),z);G.value&&(r.paddingRight=G.value);const Y=Se(De("paddingTop",A),T);Y.value&&(r.paddingTop=Y.value);const U=Se(De("paddingBottom",A),T);U.value&&(r.paddingBottom=U.value);const V=kt("margin",A);V&&(r.margin=V);const tA=kt("horizontalMargin",A),uA=kt("verticalMargin",A),EA=kt("marginLeft",A)??tA;EA&&(r.marginLeft=EA);const hA=kt("marginRight",A)??tA;hA&&(r.marginRight=hA);const eA=kt("marginTop",A)??uA;eA&&(r.marginTop=eA);const oA=kt("marginBottom",A)??uA;oA&&(r.marginBottom=oA);const W=QQ("backgroundColor",A);W&&(r.backgroundColor=W);const $=rT("background",A);$&&(r.background=$);const rA=sT("shadow",A);rA&&(r.boxShadow=rA);const dA=BQ("direction",A);dA&&(r.direction=dA);const TA=Lo("horizontalOverflow",A);TA&&(r.overflowX=TA);const sA=Lo("verticalOverflow",A);sA&&(r.overflowY=sA);const yA=Wn("zIndex",A);yA&&(r.zIndex=yA);const FA=rt("opacity",A);FA&&(r.opacity=FA);const JA=Jt("zoom",A);JA&&(r.zoom=JA);const XA=QQ("color",A);XA&&(r.color=XA);const ZA=oT("fontFamily",A);ZA&&(r.fontFamily=ZA);const UA=De("fontSize",A);UA.value&&(r.fontSize=UA.value);const $A=Vl("fontWeight",A);$A&&(r.fontWeight=$A);const de=aT("italic",A);de&&(r.fontStyle=de);const Fe=iT("textDecoration",A);Fe&&(r.textDecoration=Fe);const No=ht("userSelect",A);No&&(r.userSelect=No);const ze=De("letterSpacing",A);ze.value&&(r.letterSpacing=ze.value);const _o=re("textTransform",A);_o&&(r.textTransform=_o);const so=It("lineHeight",A);so&&(r.lineHeight=so);const Le=WA("textAlign",A);Le&&(r.textAlign=Le);const mr=WA("textAlignLast",A);mr&&(r.textAlignLast=mr);const tn=(qI=A==null?void 0:A.textWrap)==null?void 0:qI.toString();tn&&(r.textWrap=tn);const Fo=lT("wrapContent",A);Fo&&(r.flexWrap=Fo);const xr=gT("canShrink",A);xr&&(r.flexShrink=xr);const RA=jl("cursor",A);if(RA&&(r.cursor=RA),QA.isEmpty(o.cssProps)&&QA.isEmpty(o.nonCssProps)&&QA.isEmpty(o.issues))return tp;return o;function Se(BA,CA){return BA.value?BA:CA}function Ct(BA){return e==null?void 0:e[BA.id.substring(1)]}function mA(BA){const CA=Ct(BA);return!(CA===void 0||CA==="")}function fA(BA,CA,R,ne){var Ve,vs;const Qe=be();if(((Ve=t==null?void 0:t.mediaSize)==null?void 0:Ve.sizeIndex)!==void 0){const on=(vs=t.mediaSize)==null?void 0:vs.sizeIndex,rn=be("xs"),ys=be("sm"),$n=be("md"),qt=be("lg"),zI=be("xl"),uT=be("xxl");let nn;switch(on){case 0:nn=rn??ys??$n;break;case 1:nn=ys??$n;break;case 2:nn=$n;break;case 3:nn=qt;break;case 4:nn=zI??qt;break;case 5:nn=uT??zI??qt;break}return nn??Qe}return Qe;function be(on){var $n;const rn=($n=CA==null?void 0:CA[BA+(on?`-${on}`:"")])==null?void 0:$n.toString();if(!rn)return;const ys=new p1(rn);try{const qt=R(ys);return qt?ys.testCompleted()?qt.themeId?at(qt.themeId):ne(qt):(o.issues??(o.issues={}),o.issues[BA]=`Unexpected tail after the ${BA}`,rn):rn}catch(qt){return o.issues??(o.issues={}),o.issues[BA]=qt==null?void 0:qt.toString(),rn}}}function NA(BA,CA){return fA(BA,CA,R=>R.parseAlignment(),R=>R.value)}function WA(BA,CA){return fA(BA,CA,R=>R.parseTextAlign(),R=>R.value)}function ht(BA,CA){return fA(BA,CA,R=>R.parseUserSelect(),R=>R.value)}function re(BA,CA){return fA(BA,CA,R=>R.parseTextTransform(),R=>R.value)}function ao(BA,CA){return fA(BA,CA,R=>R.parseOrientation(),R=>R.value)}function It(BA,CA){return fA(BA,CA,R=>R.parseLineHeight(),R=>`${R.value}${R.unit}`)}function rt(BA,CA){return fA(BA,CA,R=>R.parseOpacity(),R=>`${R.value}${R.unit}`)}function Jt(BA,CA){return fA(BA,CA,R=>R.parseZoom(),R=>`${R.value}${R.unit??""}`)}function De(BA,CA){let R=!1,ne,Qe=fA(BA,CA,be=>{const Ve=be.parseSize();return R=(Ve==null?void 0:Ve.unit)==="*",R&&(ne=(Ve==null?void 0:Ve.value)??1),Ve},be=>be.extSize??`${be.value}${be.unit}`);return{value:Qe?QT(Qe):void 0,ratio:ne,isStarSize:R}}function kt(BA,CA){return fA(BA,CA,R=>R.parseMargin(),R=>R.extSize??`${R.value}${R.unit}`)}function Wn(BA,CA){return fA(BA,CA,R=>R.parseZIndex(),R=>R.value.toString())}function Lo(BA,CA){return fA(BA,CA,R=>R.parseScrolling(),R=>R.value)}function BQ(BA,CA){return fA(BA,CA,R=>R.parseDirection(),R=>R.value)}function jl(BA,CA){return fA(BA,CA,R=>R.parseCursor(),R=>R.value)}function Vl(BA,CA){return fA(BA,CA,R=>R.parseFontWeight(),R=>{var ne;return(ne=R.value)==null?void 0:ne.toString()})}function oT(BA,CA){return fA(BA,CA,R=>R.parseFontFamily(),R=>R.value)}function QQ(BA,CA){return fA(BA,CA,R=>R.parseColor(),R=>R.value!==void 0?typeof R.value=="number"?`#${R.value.toString(16).padStart(8,"0")}`:R.value:void 0)}function rT(BA,CA){return fA(BA,CA,R=>R.parseColor(),R=>R.value!==void 0?typeof R.value=="number"?`#${R.value.toString(16).padStart(8,"0")}`:R.value:void 0)}function Xl(...BA){let CA=BA.filter(R=>R!==void 0);if(!CA.length)return!1;for(let R=0;R<CA.length;R++){const ne=CA[R];if(mA(ne))return!1;if(ne.defaultValue){if(ne.defaultValue.find(Ve=>typeof Ve=="string")!==void 0)return!1;const be=ne.defaultValue.filter(Ve=>typeof Ve!="string");if(!Xl(...be))return!1}}return!0}function ms(BA,CA){return fA(BA,CA,R=>R.parseBorder(),R=>{if(!Xl(R.themeId1,R.themeId2,R.themeId3))return(`${R.themeId1?at(R.themeId1):""} ${R.themeId2?at(R.themeId2):""} ${R.themeId3?at(R.themeId3):""}`.trim()+` ${R.widthValue??""}${R.widthUnit??""}${R.widthValue&&R.styleValue?" ":""}${R.styleValue??""}${(R.widthValue||R.styleValue)&&R.color?" ":""}${R.color!==void 0?typeof R.color=="number"?`#${R.color.toString(16).padStart(8,"0")}`:R.color:""}`).trim()})}function nT(BA,CA){return fA(BA,CA,R=>R.parseBorderStyle(),R=>R.value)}function iT(BA,CA){return fA(BA,CA,R=>R.parseTextDecoration(),R=>{if(R.none)return"none";if(!Xl(R.themeId1,R.themeId2,R.themeId3))return(`${R.themeId1?at(R.themeId1):""} ${R.themeId2?at(R.themeId2):""} ${R.themeId3?at(R.themeId3):""}`.trim()+` ${R.line??""}${R.line&&R.style?" ":""}${R.style??""}${(R.line||R.style)&&R.color?" ":""}${R.color??""}`).trim()})}function xs(BA,CA){return fA(BA,CA,R=>R.parseRadius(),R=>{if(Xl(R.themeId1,R.themeId2))return;const ne=`${R.themeId1?at(R.themeId1):""}`,Qe=`${R.value1??""}${R.unit1??""}`,be=`${R.themeId2?at(R.themeId2):""}`,Ve=`${R.value2??""}${R.unit2??""}`;let vs=`${ne}${Qe}`,on=`${be}${Ve}`;return vs+=on?" / "+on:"",vs.trim()})}function sT(BA,CA){return fA(BA,CA,R=>R.parseShadow(),R=>{let ne="";for(const Qe of R.segments??[])ne&&(ne+=", "),ne+=Qe.inset?"inset ":"",ne+=`${Qe.offsetXValue}${Qe.offsetXUnit} ${Qe.offsetYValue}${Qe.offsetYUnit}`,Qe.blurRadiusValue!==void 0&&(ne+=` ${Qe.blurRadiusValue}${Qe.blurRadiusUnit}`),Qe.spreadRadiusValue!==void 0&&(ne+=` ${Qe.spreadRadiusValue}${Qe.spreadRadiusUnit}`),Qe.color!==void 0&&(ne+=` ${Qe.color}`);return ne})}function aT(BA,CA){return fA(BA,CA,R=>R.parseBoolean(),R=>R.value?"italic":"normal")}function lT(BA,CA){return fA(BA,CA,R=>R.parseBoolean(),R=>R.value?"wrap":"nowrap")}function gT(BA,CA){return fA(BA,CA,R=>R.parseBoolean(),R=>R.value?"1":"0")}function cT(BA,CA){return BA.value?uQ(CA)==="horizontal"&&BA.isStarSize:!1}function BT(BA,CA){return BA.value?uQ(CA)==="vertical"&&BA.isStarSize:!1}function uQ(BA){if(!BA)return;let CA=(BA==null?void 0:BA.type)==="Stack"&&(BA==null?void 0:BA.orientation);return CA==null?void 0:CA.toString()}function QT(BA){const CA=/\$([a-zA-Z0-9_-]+)/gi;let R=BA.matchAll(CA);if(R){let ne=BA;for(let Qe of R){const be=Qe[0];be&&(ne=ne.replace(Qe[0],at(be)))}return ne}return BA}}function Ba(A,e,t){const o=t?void 0:e(A),r=E.useCallback(n=>{o&&(n.stopPropagation(),o(n))},[o]);return o?r:void 0}function op(A,e){const t=Ba("click",A,e),o=Ba("mouseLeave",A,e),r=Ba("mouseEnter",A,e),n=Ba("doubleClick",A,e);return e?GA:{onClick:t,onMouseLeave:o,onMouseEnter:r,onDoubleClick:n}}const rp=E.forwardRef(function({node:e,state:t,appContext:o,dispatch:r,lookupAction:n,lookupSyncCallback:i,renderChild:s,registerComponentApi:a,layoutContextRef:l,parentRenderContext:c,memoedVarsRef:B,onUnmount:Q,uidInfoRef:u,...d},C){var oA;const h=E.useMemo(()=>({...e,props:e.props||GA,events:e.events||GA}),[e]),I=E.useMemo(()=>Symbol(h.uid),[h.uid]);E.useEffect(()=>()=>{Q(I)},[Q,I]);const p=Ys(),{getResourceUrl:D,themeVars:m}=ce(),{inspectId:k,refreshInspection:N}=ep(h,I),L=E.useCallback(W=>{a(I,W)},[a,I]),M=E.useCallback(W=>{r(ip(I,W))},[r,I]),F=E.useCallback((W,$)=>n(W,I,$),[n,I]),v=Js(t),y=E.useMemo(()=>f1(t,o,v,B),[o,B,v,t]),P=E.useCallback(W=>i(y(W),I),[i,I,y]),b=E.useCallback((W,$)=>{var dA;const rA=((dA=h.events)==null?void 0:dA[W])||($==null?void 0:$.defaultHandler);return n(rA,I,{eventName:W,...$})},[n,h.events,I]),_=E.useCallback(W=>{const $=y(W);return D($)},[D,y]),{renderer:q,descriptor:J,isCompoundComponent:z}=p.lookupComponentRenderer(h.type)||{},T=E.useCallback((W,$,rA)=>s(W,$,rA||c,u),[s,c,u]),S=E.useMemo(()=>H1(h.props,"DataSource","DataSourceRef"),[h.props]),G=E.useMemo(()=>H1(h.events,"APICall","FileDownload","FileUpload"),[h.events]),Y=S.length>0||G.length>0,U=op(b,(J==null?void 0:J.nonVisual)||Y),{cssProps:V,nonCssProps:tA}=E.useMemo(()=>{const W={};return Gg.forEach($=>{h.props&&$ in h.props&&(W[$]=y(h.props[$],!0))}),G1(W,m,{...l==null?void 0:l.current,mediaSize:o.mediaSize})},[o.mediaSize,l,h.props,m,y]),uA=$e(V),EA=$e(tA);if(Y)return g.jsx(b2,{uid:I,renderChild:T,node:h,apiBoundEvents:G,apiBoundProps:S,layoutContextRef:l,parentRendererContext:c},h.uid);let hA=null,eA=null;try{const W={node:h,state:t[I]||GA,updateState:M,appContext:o,extractValue:y,lookupEventHandler:b,lookupAction:F,lookupSyncCallback:P,extractResourceUrl:_,renderChild:T,registerComponentApi:L,layoutCss:uA,layoutNonCss:EA,layoutContext:l==null?void 0:l.current,uid:I};if(h.type==="Slot")hA=np(W,c);else{if(!q)return console.error(`Component '${h.type}' is not available. Did you forget to register it?`),g.jsx(I2,{message:`${h.type}`});hA=q(W)}if((o!=null&&o.decorateComponentsWithTestId&&(h.uid!==void 0||h.testId!==void 0)||o!=null&&o.debugEnabled&&k!==void 0)&&(J==null?void 0:J.nonVisual)!==!0&&(J==null?void 0:J.opaque)!==!0){const $=h.testId||h.uid,rA=_A(t,$,o,!0);hA=g.jsx(w2,{attr:{"data-testid":rA,"data-inspectId":k},allowOnlyRefdChild:z||h.type==="ModalDialog",onTargetMounted:h.type==="ModalDialog"?N:void 0,ref:C,children:E.cloneElement(hA,{...na({...hA.props,...U},d)})})}(oA=l.current)!=null&&oA.wrapChild&&(hA=l.current.wrapChild(W,hA,J))}catch(W){eA=(W==null?void 0:W.message)||"Internal error",console.error(W)}return eA?g.jsx(p2,{errors:[eA],node:h,children:hA}):(C||!QA.isEmpty(U))&&hA&&E.isValidElement(hA)?E.cloneElement(hA,{ref:C?jt(C,hA.ref):void 0,...na({...hA.props,...U},d)}):E.isValidElement(hA)?hA:g.jsx(g.Fragment,{children:hA})});function np({node:A,extractValue:e,renderChild:t,lookupAction:o,layoutContext:r},n){if(!n)return;const i=e(A.props.name);if(i===void 0)return n.renderChild(n.children,r);{let s;return QA.isEmpty(A.props)||(s={},Object.keys(A.props).forEach(a=>{if(a!=="name"){let l=e(A.props[a],!0);l!=null&&l._ARROW_EXPR_&&(l=o(l)),s[a]=l}})),n.props[i]?g.jsx(Tg,{node:n.props[i],renderChild:n.renderChild,slotProps:s,layoutContext:r}):g.jsx(Tg,{node:A.children,renderChild:t,slotProps:s,layoutContext:r})}}function H1(A,...e){const t=[];if(!A)return t;const o=Object.entries(A);for(let r=0;r<o.length;r++){const[n,i]=o[r];QA.isPlainObject(i)&&e.includes(i.type)&&t.push(n)}return t}function ip(A,e){return{type:Pe.COMPONENT_STATE_CHANGED,payload:{uid:A,state:e}}}function U1(A){const e=new gn(A);let t=null;try{t=e.parseStatements()}catch(o){if(e.errors.length>0){const r=e.errors[0];Bn(new ci(`${r.code}(${r.line}, ${r.column}): ${e.errors[0].text}`,A,r.position))}else throw o}if(!e.isEof){const o=e.getTail();Bn(new ci("Invalid tail found",A,A.length-o.length+1))}return t}function R1(A,e){const t=(A==null?void 0:A.length)??0;if(t===0)return[{type:"ArrowS",expression:{type:"ArrowE",args:[],statement:{type:"EmptyS"}}}];if(t===1){const n=A[0];if(n.type==="ExprS"){if(e){if(n.expression.type==="IdE")return[r(n.expression)];if(o(n.expression))return[r(n.expression)]}return n.expression.type==="ArrowE"?[{type:"ArrowS",expression:n.expression}]:[{type:"ArrowS",expression:{type:"ArrowE",args:[],statement:A[0]}}]}if(n.type==="RetS")return[{type:"ArrowS",expression:{type:"ArrowE",args:[],statement:{type:"BlockS",statements:[n]}}}];if(n.type==="BlockS")return n.statements[0].type==="ExprS"&&n.statements[0].expression.type==="ArrowE"?[{type:"ArrowS",expression:n.statements[0].expression}]:[{type:"ArrowS",expression:{type:"ArrowE",args:[],statement:A[0]}}]}if(t>1)return[{type:"ArrowS",expression:{type:"ArrowE",args:[],statement:{type:"BlockS",statements:A}}}];return A;function o(n){return(n.type==="MembE"||n.type==="CMembE"&&n.member.type==="LitE")&&(o(n.object)||n.object.type==="IdE")}function r(n){const i=e.eventArgs?e.eventArgs.map((a,l)=>({type:"IdE",name:`__arg@@#__${l}__`})):[];return e.eventArgs&&e.eventArgs.forEach((a,l)=>{e.localContext[`__arg@@#__${l}__`]=a}),{type:"ArrowS",expression:{type:"ArrowE",args:i,statement:{type:"ExprS",expression:{type:"InvokeE",object:n,arguments:[...i]}}}}}}async function sp(A,e,t,o){const r=R1(U1(A));return await Dg(r,e,t,o)}const Y1=E.createContext(void 0);function _t(){return E.useContext(Y1)}const Qa="__PARSED__";function K1(A,e,t,o){const r={vars:{},moduleErrors:{},functions:{}},n={},i=k8(A,e,t,!0);if(b8(i))return{...r,moduleErrors:i};const s=o(i.name);return i.statements.forEach(c=>{switch(c.type){case"VarS":c.declarations.forEach(B=>{if(B.id in r.vars)throw new Error(`Duplicated var declaration: '${B.id}'`);r.vars[B.id]={[Qa]:!0,source:B.expression.source,tree:B.expression}});break;case"FuncD":l(s,c);break;case"ImportD":break;default:throw new Error(`'${c.type}' is not allowed in a code-behind module.`)}}),a(i),r;function a(c){var Q;const B=o(c.name);if(!((Q=n==null?void 0:n[B])!=null&&Q.collectedImportsFrom)){for(const u in c.imports){const d=o(u),C=c.imports[u];for(const h of Object.values(C))h.type==="FuncD"&&l(d,h)}n[B]??(n[B]={collectedImportsFrom:!0}),n[B].collectedImportsFrom=!0;for(let u of c.importedModules)a(u)}}function l(c,B){var h,I,p,D;var Q;if(((I=(h=n==null?void 0:n[c])==null?void 0:h.functions)==null?void 0:I[B.name])!==void 0)return;if(B.name in r.functions)throw new Error(`Duplicated function declaration: '${B.name}'`);const u=B.args.length===1?`${B.args[0].source} => ${B.statement.source}`:`(${B.args.map(m=>m.source).join(", ")}) => ${B.statement.source}`,d={type:"ArrowE",args:B.args.slice(),statement:B.statement,closureContext:$s({childThreads:[],blocks:[{vars:{}}],loops:[],breakLabelValue:-1})},C=(D=(p=d.closureContext[0])==null?void 0:p.vars)==null?void 0:D[B.name];C!=null&&C.closureContext&&delete C.closureContext,n[c]??(n[c]={functions:{},collectedImportsFrom:!1}),(Q=n[c]).functions??(Q.functions={}),n[c].functions[B.name]={[Qa]:!0,source:u,tree:d},r.functions[B.name]={[Qa]:!0,source:u,tree:d}}}function ap(A){if(!A)return;const e={data:null,cancel:!1,skipChildren:!1};Object.keys(A.vars).forEach(o=>{t(A.vars[o])}),Object.keys(A.functions).forEach(o=>{t(A.functions[o])});function t(o){const r=(n,i,s)=>(n&&i&&(delete i.startPosition,delete i.endPosition,delete i.startLine,delete i.endLine,delete i.startColumn,delete i.endColumn,delete i.startToken,delete i.endToken),s);wA(o.tree,e,r,r)}}function lp(A={}){const e=Object.keys(A);function t(r,n=new Set){if(!e.includes(r))return[r];n.add(r);const i=[];return A[r].forEach(s=>{n.has(s)||(n.add(s),i.push(...t(s,n)))}),i}const o={};return e.forEach(r=>{o[r]=[...new Set(t(r))]}),o}function gp({node:A,state:e,dispatch:t,lookupAction:o,lookupSyncCallback:r,registerComponentApi:n,onUnmount:i,appContext:s,memoedVarsRef:a}){const l=Ys(),c=E.useMemo(()=>Symbol(A.uid),[A.uid]);E.useEffect(()=>()=>{i(c)},[i,c]);const B=E.useCallback(m=>{n(c,m)},[n,c]),Q=E.useCallback((m,k)=>o(m,c,k),[o,c]),u=Js(e),d=E.useMemo(()=>f1(e,s,u,a),[s,a,u,e]),C=E.useCallback(m=>r(d(m),c),[r,c,d]),h=E.useCallback(m=>{t(cp(c,m))},[t,c]),I=E.useCallback((m,k)=>{t(Bp(c,m,k))},[t,c]),p=E.useCallback(m=>{t(Qp(c,m))},[t,c]),D=l.lookupLoaderRenderer(A.type);return D?D({loader:A,state:e,dispatch:t,loaderInProgressChanged:h,loaderLoaded:I,loaderError:p,extractValue:d,registerComponentApi:B,lookupAction:Q,lookupSyncCallback:C}):(console.error(`Loader ${A.type} is not available. Did you forget to register it in the loaderRegistry?`),null)}function cp(A,e){return{type:Pe.LOADER_IN_PROGRESS_CHANGED,payload:{uid:A,inProgress:e}}}function Bp(A,e,t){return{type:Pe.LOADER_LOADED,payload:{uid:A,data:e,pageInfo:t}}}function Qp(A,e){return{type:Pe.LOADER_ERROR,payload:{uid:A,error:e}}}const O1=E.createContext(null),Qi={themeVars:'"[]"',stateViewerContainer:"_stateViewerContainer_1m8hd_13",overlay:"_overlay_1m8hd_18",showBoundary:"_showBoundary_1m8hd_26",marker:"_marker_1m8hd_30",blink:"_blink_1m8hd_42"},up=({children:A,state:e,showBoundary:t=!0,blink:o=!0})=>g.jsxs("div",{className:Ge(Qi.stateViewerContainer),style:{width:"inherit",height:"inherit"},children:[A,g.jsx("div",{className:Ge(Qi.overlay,{[Qi.showBoundary]:t}),children:g.jsx("div",{className:Ge(Qi.marker,{[Qi.blink]:o}),onClick:()=>{console.log(e)}})})]});function Ep(A,e){return J1({node:A,state:GA,dispatch:vA,appContext:void 0,lookupAction:vA,lookupSyncCallback:vA,registerComponentApi:vA,renderChild:vA,stateFieldPartChanged:vA,cleanup:vA,memoedVarsRef:e})}const dp=E.memo(E.forwardRef(function({node:e,componentState:t,dispatch:o,parentDispatch:r,resolvedKey:n,version:i,setVersion:s,stateFieldPartChanged:a,registerComponentApi:l,parentRegisterComponentApi:c,layoutContextRef:B,parentRenderContext:Q,memoedVarsRef:u,isImplicit:d,uidInfoRef:C},h){var W;const{apiBoundContainer:I}=e,p=d?r:o,D=d?c:l,m=_t(),{getThemeVar:k}=ce(),N=We.useNavigate(),L=We.useLocation(),M=E.useRef({}),F=E.useRef(t);F.current=t;const v=E.useRef({}),y=E.useRef(new Map),[P,b]=E.useTransition(),_=E.useRef(!0);$t(()=>{for(const $ of y.current.values())$()},[i]),E.useEffect(()=>{_.current=!0;const $=y.current;return()=>{_.current=!1;for(const rA of $.values())rA()}},[]);const q=HA(async($,rA,dA,...TA)=>{var XA,ZA,UA;let sA=[];const yA=()=>{sA.length=0;const $A=QA.cloneDeep({...F.current});return $A.$this=F.current[rA],YQ($A,de=>{var No;const Fe=(No=de.pathArray)==null?void 0:No[0];if(Fe!=null&&Fe.startsWith("$"))throw new Error("Cannot update a read-only variable");sA.push(de)})},FA={...m,getThemeVar:k},JA={appContext:FA,eventArgs:TA,localContext:yA(),implicitContextGetter:()=>({uid:rA,state:F.current,dispatch:p,appContext:FA,navigate:N,location:L,lookupAction:($A,de,Fe={})=>G($A,de,{...Fe,ephemeral:!0})}),options:{defaultToOptionalMemberAccess:typeof((XA=m.appGlobals)==null?void 0:XA.defaultToOptionalMemberAccess)=="boolean"?m.appGlobals.defaultToOptionalMemberAccess:!0}};try{let $A;if(typeof $=="string"?(v.current[$]||(v.current[$]=R1(U1($),JA)),$A=v.current[$]):$A=[{type:"ArrowS",expression:QA.cloneDeep($)}],!($A!=null&&$A.length))return;Hg(rA.description,dA==null?void 0:dA.eventName)&&p(kp(rA.description,dA.eventName));let de=0;if(await Dg($A,JA,void 0,async(Fe,No)=>{if(sA.length){de=0,sA.forEach(Le=>{a(Le.pathArray,QA.cloneDeep(Le.newValue),Le.target,Le.action)});let ze=null;const _o=new Promise(Le=>{ze=()=>{Le(null)}}),so=ri();y.current.set(so,ze),b(()=>{s(Le=>Le+1)}),_.current?await _o:await ln(0),y.current.delete(so),sA=[]}else de++,de>100&&(de=0,await ln(0));Fe.localContext=yA()}),Hg(rA.description,dA==null?void 0:dA.eventName)&&p(Mp(rA.description,dA.eventName)),(UA=(ZA=JA.mainThread)==null?void 0:ZA.blocks)!=null&&UA.length)return JA.mainThread.blocks[JA.mainThread.blocks.length-1].returnValue}catch($A){throw(dA==null?void 0:dA.signError)!==!1&&m.signError($A),Hg(rA.description,dA==null?void 0:dA.eventName)&&p(Np(rA.description,dA.eventName,$A)),$A}}),J=E.useCallback(($,...rA)=>{var TA,sA;const dA={localContext:QA.cloneDeep(F.current),appContext:m,eventArgs:rA};try{if(yg([{type:"ArrowS",expression:$}],dA),(sA=(TA=dA.mainThread)==null?void 0:TA.blocks)!=null&&sA.length)return dA.mainThread.blocks[dA.mainThread.blocks.length-1].returnValue}catch(yA){throw console.error(yA),yA}},[m]),z=HA(($,rA,dA)=>{var FA;const TA=typeof $=="string"?$:$.statement.source,sA=`${dA==null?void 0:dA.eventName};${TA}`,yA=(...JA)=>q($,rA,dA,...QA.cloneDeep(JA));return dA!=null&&dA.ephemeral?yA:((FA=M.current[rA])!=null&&FA[sA]||(M.current[rA]=M.current[rA]||{},M.current[rA][sA]=yA),M.current[rA][sA])}),T=E.useCallback(($,rA)=>{var TA;const dA=`sync-callback-${$.source}`;return(TA=M.current[rA])!=null&&TA[dA]||(M.current[rA]=M.current[rA]||{},M.current[rA][dA]=Vn(sA=>(...yA)=>J(sA,...yA))),M.current[rA][dA]($)},[J]),S=E.useCallback(($,rA)=>{if($){if(typeof $=="function")return $;if($){if(typeof $=="function")return $;if(!$._ARROW_EXPR_)throw new Error("Only arrow expression allowed in sync callback");return T($,rA)}}},[T]),G=E.useCallback(($,rA,dA)=>{let TA=$;if(!$&&rA.description&&(dA!=null&&dA.eventName)){const sA=`${rA.description}_on${ni(dA==null?void 0:dA.eventName)}`;t[sA]&&t[sA]._ARROW_EXPR_&&(TA=t[sA])}if(TA)return typeof TA=="function"?TA:z(TA,rA,dA)},[t,z]),Y=E.useRef(!1);E.useEffect(()=>{if(!e.api||!e.containerUid||Y.current)return;Y.current=!0;const $={},rA=Symbol("$self");Object.entries(e.api).forEach(([dA,TA])=>{$[dA]=G(TA,rA)}),d||D(rA,$),c(e.containerUid,$)},[G,e.api,e.containerUid,e.uid,d,c,D]);const U=HA($=>{delete M.current[$]}),V=E.useCallback(($,rA,dA,TA)=>{if(typeof $=="string")throw Error("should be resolved for now");const sA=QA.isArray($)?$:[$];if(!sA||!sA.length)return null;const yA=sA.length>1,FA=sA.map((JA,XA)=>{if(!JA)return;const ZA=J1({node:JA,state:t,dispatch:p,appContext:m,lookupAction:G,lookupSyncCallback:S,registerComponentApi:D,renderChild:V,stateFieldPartChanged:a,layoutContext:rA,parentRenderContext:dA,memoedVarsRef:u,cleanup:U,uidInfoRef:TA});if(ZA===void 0)return;let UA=ZA;return yA&&(E.isValidElement(ZA)?UA=E.cloneElement(ZA,{key:`${XA}_${JA.uid}`}):UA=g.jsx(E.Fragment,{children:ZA},`${XA}_${JA.uid}`)),UA});return FA.length===1?h&&FA[0]&&E.isValidElement(FA[0])?E.cloneElement(FA[0],{ref:jt(h,FA[0].ref)}):FA[0]:FA},[t,p,m,G,S,D,a,u,U,h]);(W=e.props)!=null&&W.debug&&console.log(`Container: ${n}`,{componentState:t,node:e});const tA={},uA=E.useRef({}),EA=e.uses===void 0?C:uA,hA=E.useContext(O1),eA=hA==null?void 0:hA.stateView,oA=eA&&hA.displayStateView;return g.jsxs(E.Fragment,{children:[oA&&g.jsxs(up,{state:t,showBoundary:eA==null?void 0:eA.showBoundary,blink:eA==null?void 0:eA.blink,children:[W1({uidInfo:tA,uidInfoRef:EA,loaders:e.loaders,componentState:t,memoedVarsRef:u,dispatch:I?o:p,registerComponentApi:I?l:D,appContext:m,lookupAction:G,lookupSyncCallback:S,cleanup:U}),V(e.children,B==null?void 0:B.current,Q,EA)]}),!oA&&g.jsxs(g.Fragment,{children:[W1({uidInfo:tA,uidInfoRef:EA,loaders:e.loaders,componentState:t,memoedVarsRef:u,dispatch:I?o:p,registerComponentApi:I?l:D,appContext:m,lookupAction:G,lookupSyncCallback:S,cleanup:U}),V(e.children,B==null?void 0:B.current,Q,EA)]})]},e.uid?`${n}>${_A(t,e.uid,m,!0)}`:void 0)})),Cp=()=>{const[A]=We.useSearchParams(),e=We.useParams(),t=E.useMemo(()=>{const o={};for(const[r,n]of Array.from(A.entries()))o[r]=n;return o},[A]);return E.useMemo(()=>({$routeParams:e,$queryParams:t}),[t,e])};class ua extends Error{constructor(e){const o=(e.Main||[]).map(r=>{let n=`${r.code} : ${r.text}`;const i=[];return r.line!==void 0&&i.push(`line:${r.line}`),r.column!==void 0&&i.push(`column:${r.column}`),i.length&&(n=`${n} (${i.join(", ")})`),n});super(o.join(`
82
- `)),Object.setPrototypeOf(this,ua.prototype)}}const hp=E.memo(E.forwardRef(function({node:e,parentState:t,resolvedKey:o,parentStateFieldPartChanged:r,parentRegisterComponentApi:n,layoutContextRef:i,parentRenderContext:s,isImplicit:a,parentDispatch:l,uidInfoRef:c},B){const[Q,u]=E.useState(0),d=Cp(),C=E.useRef(new Map),h=$e(E.useMemo(()=>vp(t,e.uses),[e.uses,t])),[I,p]=E.useReducer(Fp,GA),[D,m]=E.useState(GA),k=$e(E.useMemo(()=>{const S={...I};for(const G of Object.getOwnPropertySymbols(I)){const Y=I[G];G.description&&(S[G.description]=Y)}if(Reflect.ownKeys(D).length===0)return S;for(const G of Object.getOwnPropertySymbols(D)){const Y=D[G];if(G.description){const U=G.description;S[U]={...S[U]||{},...Y}}S[G]={...S[G],...Y}}return S},[I,D])),N=q1(h,k,e.contextVars),L=e.scriptCollected;if(L!=null&&L.moduleErrors&&!QA.isEmpty(L.moduleErrors))throw new ua(L.moduleErrors);if(e.scriptError&&!QA.isEmpty(e.scriptError))throw new ua(e.scriptError);const M=Js(I),F=$e({...L==null?void 0:L.functions,...e.functions,...L==null?void 0:L.vars,...e.vars}),v=E.useMemo(()=>{const S={};return Object.entries(F).forEach(([G,Y])=>{Ea(Y)&&Y.tree.type==="ArrowE"&&(S[G]=ia(Y.tree,M))}),lp(S)},[M,F]),y=z1(F,v,N,E.useRef(new Map)),P=$e({...y,...N}),b=z1(F,v,P,C),_=yp(b,k),q=q1(h,e.contextVars,_,d),J=E.useCallback((S,G)=>{m(ue(Y=>{Y[S]||(Y[S]={}),Object.entries(G).forEach(([U,V])=>{Y[S][U]!==V&&(Y[S][U]=V)})}))},[]),z=E.useRef(k),T=E.useCallback((S,G,Y,U)=>{const V=S[0];V in z.current||V in b?p(_p(S,G,Y,U)):(!e.uses||e.uses.includes(V))&&r(S,G,Y,U)},[b,e.uses,r]);return g.jsx(oi,{node:e,location:"container",children:g.jsx(dp,{resolvedKey:o,node:e,componentState:q,dispatch:p,parentDispatch:l,setVersion:u,version:Q,stateFieldPartChanged:T,registerComponentApi:J,parentRegisterComponentApi:n,layoutContextRef:i,parentRenderContext:s,memoedVarsRef:C,isImplicit:a,ref:B,uidInfoRef:c})})})),Ip=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:"containerUid"in A&&A.containerUid,apiBoundContainer:"apiBoundContainer"in A&&A.apiBoundContainer,contextVars:A.contextVars,props:{debug:(o=A.props)==null?void 0:o.debug},children:[e]}},pp=E.memo(E.forwardRef(function({resolvedKey:e,node:t,parentState:o,parentStateFieldPartChanged:r,parentRegisterComponentApi:n,layoutContextRef:i,parentRenderContext:s,parentDispatch:a,uidInfoRef:l},c){const B=E.useMemo(()=>Ip(t),[t]);return g.jsx(oi,{node:t,location:"container",children:g.jsx(hp,{parentStateFieldPartChanged:r,resolvedKey:e,node:B,parentState:o,layoutContextRef:i,parentRenderContext:s,isImplicit:t.type!=="Container"&&B.uses===void 0,parentRegisterComponentApi:n,parentDispatch:a,ref:c,uidInfoRef:l})})}));function J1({node:A,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:i,renderChild:s,stateFieldPartChanged:a,layoutContext:l,parentRenderContext:c,memoedVarsRef:B,cleanup:Q,uidInfoRef:u}){var h,I;if(!kg(A.when,e,o))return null;if(A.type==="Slot"&&((h=c==null?void 0:c.children)==null?void 0:h.length)===1&&(c.children[0].type==="TextNodeCData"||c.children[0].type==="TextNode"))return c.renderChild(c.children);const d=(I=A.props)==null?void 0:I.value;if(A.type==="TextNodeCData")return d??"";if(A.type==="TextNode")return _A(e,d,o,!0);const C=_A(e,A.uid,o,!0);return g.jsx(xp,{resolvedKey:C,node:A,cleanup:Q,stateFieldPartChanged:a,memoedVarsRef:B,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:i,renderChild:s,layoutContext:l,parentRenderContext:c,uidInfoRef:u},C)}function wp(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 fp(A,e){if(!A.props)return A;let t={...A},o=!1;return Object.entries(A.props).forEach(([r,n])=>{let i;try{i=_A(e.current,n)}catch{}(i==null?void 0:i.type)==="loader"&&(o=!0,t={...t,props:{...t.props,[r]:{type:"DataSourceRef",uid:i.uid}}})}),o?t:A}function Dp(A,e,t){var o;return!((o=A.props)!=null&&o.__DATA_RESOLVED)&&A.props&&"data"in A.props&&e?_A(t.current,A.props.data)==="loaderValue"?A:{...A,props:{...A.props,data:{type:"DataSource",props:{url:A.props.data}}}}:A}function mp(A){return A.props&&"raw_data"in A.props?{...A,props:{...A.props,__DATA_RESOLVED:!0,data:A.props.raw_data}}:A}const xp=E.memo(E.forwardRef(function({node:e,state:t,dispatch:o,appContext:r,lookupAction:n,lookupSyncCallback:i,registerComponentApi:s,renderChild:a,stateFieldPartChanged:l,layoutContext:c,parentRenderContext:B,memoedVarsRef:Q,resolvedKey:u,cleanup:d,uidInfoRef:C,...h},I){var L;const p=E.useRef(c),D=E.useMemo(()=>{let M=wp(e);return M=fp(M,C),M=mp(M),M},[e,C]),m=E.useMemo(()=>{var F;return typeof _A(t,(F=D.props)==null?void 0:F.data,r,!0)=="string"},[r,(L=D.props)==null?void 0:L.data,t]),k=E.useMemo(()=>Dp(D,m,C),[D,m,C]);let N=null;return I8(k)?N=g.jsx(pp,{resolvedKey:u,node:k,parentState:t,parentDispatch:o,layoutContextRef:p,parentRenderContext:B,parentStateFieldPartChanged:l,parentRegisterComponentApi:s,uidInfoRef:C,ref:I}):N=g.jsx(rp,{onUnmount:d,memoedVarsRef:Q,node:k,state:t,dispatch:o,appContext:r,lookupAction:n,lookupSyncCallback:i,registerComponentApi:s,renderChild:a,parentRenderContext:B,layoutContextRef:p,ref:I,uidInfoRef:C,...h}),N}));function vp(A,e){return e?e.length===0?GA:QA.pick(A,e):A}function q1(...A){const e=E.useMemo(()=>{let t={};return A.forEach((o=GA)=>{o!==GA&&(t={...t,...o})}),t},[A]);return $e(e)}function yp(A,e){const t=E.useMemo(()=>{const o={...A};return Reflect.ownKeys(e).forEach(r=>{const n=e[r];o[r]===void 0?o[r]=n:QA.isPlainObject(o[r])&&QA.isPlainObject(n)?o[r]=QA.merge(QA.cloneDeep(o[r]),n):Array.isArray(o[r])&&Array.isArray(n)?o[r]=Object.assign([],o[r],n):o[r]=n}),o},[A,e]);return $e(t)}class bp extends Error{constructor(e,t){super(`Error on var: ${e} - ${(t==null?void 0:t.message)||"unknown"}`)}}function Ea(A){return A&&typeof A=="object"&&A[Qa]}function z1(A=GA,e=GA,t,o){const r=_t(),n=Js(t),i=E.useMemo(()=>{const s={};return Object.entries(A).forEach(([a,l])=>{if(a==="$props")s[a]=l;else if(!Ea(l)&&typeof l!="string")s[a]=l;else{o.current.has(l)||o.current.set(l,{getDependencies:Vn((d,C)=>{if(Ea(d))return ia(d.tree,C);const h=zs(d);let I=new Set;return h.forEach(p=>{p.type==="expression"&&(I=new Set([...I,...ia(p.value,C)]))}),Array.from(I)}),obtainValue:Vn((d,C,h,I,p,D)=>{try{return Ea(d)?Oe(d.tree,{localContext:C,appContext:h,options:{defaultToOptionalMemberAccess:!0}}):_A(C,d,h,I)}catch(m){throw console.log(C),new bp(d,m)}},([d,C,h,I,p,D],[m,k,N,L,M,F])=>ii(p,M)&&ii(D,F))});const c={...s,...t};let B=[];e[a]?B=e[a]:(o.current.get(l).getDependencies(l,n).forEach(d=>{e[d]?B.push(...e[d]):B.push(d)}),B=[...new Set(B)]);const Q=Ts(c,B),u=Ts(r,B);s[a]=o.current.get(l).obtainValue(l,c,r,!0,Q,u)}}),s},[r,t,e,o,n,A]);return $e(i)}function Hg(A,e){return A!==void 0&&e!==void 0}function kp(A,e){return{type:Pe.EVENT_HANDLER_STARTED,payload:{uid:A,eventName:e}}}function Mp(A,e){return{type:Pe.EVENT_HANDLER_COMPLETED,payload:{uid:A,eventName:e}}}function Np(A,e,t){return{type:Pe.EVENT_HANDLER_ERROR,payload:{uid:A,eventName:e,error:t}}}function _p(A,e,t,o){return{type:Pe.STATE_PART_CHANGED,payload:{path:A,value:e,target:t,actionType:o}}}const Fp=ue((A,e)=>{const{uid:t}=e.payload;if(t===void 0&&e.type!==Pe.STATE_PART_CHANGED)return console.error("uid not provided for control component",{state:A,action:e}),A;switch(e.type){case Pe.LOADER_IN_PROGRESS_CHANGED:{A[t]={...A[t],inProgress:e.payload.inProgress};break}case Pe.LOADER_LOADED:{const{data:o,pageInfo:r}=e.payload;A[t]={value:o,byId:Array.isArray(o)?QA.keyBy(o,n=>n.$id):void 0,inProgress:!1,loaded:o!==void 0,pageInfo:r};break}case Pe.LOADER_ERROR:{const{error:o}=e.payload;A[t]={...A[t],error:o,inProgress:!1,loaded:!0};break}case Pe.EVENT_HANDLER_STARTED:{const{eventName:o}=e.payload,r=`${o}InProgress`;A[t]={...A[t],[r]:!0};break}case Pe.EVENT_HANDLER_COMPLETED:{const{eventName:o}=e.payload,r=`${o}InProgress`;A[t]={...A[t],[r]:!1};break}case Pe.EVENT_HANDLER_ERROR:{const{eventName:o}=e.payload,r=`${o}InProgress`;A[t]={...A[t],[r]:!1};break}case Pe.COMPONENT_STATE_CHANGED:{const{state:o}=e.payload;A[t]={...A[t],...o};break}case Pe.STATE_PART_CHANGED:{const{path:o,value:r,target:n,actionType:i}=e.payload;i==="unset"?QA.unset(A,o):QA.setWith(A,o,r,s=>{if(s===void 0&&QA.isPlainObject(n))return Object(s)});break}default:throw new Error}});function W1({uidInfo:A,uidInfoRef:e,loaders:t=Be,componentState:o,dispatch:r,appContext:n,registerComponentApi:i,lookupAction:s,lookupSyncCallback:a,cleanup:l,memoedVarsRef:c}){return t.map(Q=>{if(Q!=null&&Q.uid){if(A[Q.uid])throw new Error(`Another ${A[Q.uid]} definition in this container already uses the uid '${Q.uid}'`);A[Q.uid]="loader",e.current[Q.uid]={type:"loader",value:"loaderValue",uid:Q.uid}}const u=B({loader:Q,componentState:o,dispatch:r,appContext:n,registerComponentApi:i,lookupAction:s,lookupSyncCallback:a,memoedVarsRef:c,cleanup:l});if(u!==void 0)return g.jsx(E.Fragment,{children:u},Q.uid)});function B({loader:Q,componentState:u,dispatch:d,appContext:C,registerComponentApi:h,lookupAction:I,lookupSyncCallback:p,cleanup:D,memoedVarsRef:m}){return!Q||!kg(Q.when,u,C)?null:g.jsx(gp,{onUnmount:D,node:Q,state:u,dispatch:d,registerComponentApi:h,lookupAction:I,lookupSyncCallback:p,memoedVarsRef:m,appContext:C})}}var $1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},j1=E.createContext&&E.createContext($1),rr=function(){return rr=Object.assign||function(A){for(var e,t=1,o=arguments.length;t<o;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(A[r]=e[r])}return A},rr.apply(this,arguments)},Lp=function(A,e){var t={};for(var o in A)Object.prototype.hasOwnProperty.call(A,o)&&e.indexOf(o)<0&&(t[o]=A[o]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(A);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(A,o[r])&&(t[o[r]]=A[o[r]]);return t};function V1(A){return A&&A.map(function(e,t){return E.createElement(e.tag,rr({key:t},e.attr),V1(e.child))})}function gA(A){return function(e){return E.createElement(Sp,rr({attr:rr({},A.attr)},e),V1(A.child))}}function Sp(A){var e=function(t){var o=A.attr,r=A.size,n=A.title,i=Lp(A,["attr","size","title"]),s=r||t.size||"1em",a;return t.className&&(a=t.className),A.className&&(a=(a?a+" ":"")+A.className),E.createElement("svg",rr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,i,{className:a,style:rr(rr({color:A.color||t.color},t.style),A.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),n&&E.createElement("title",null,n),A.children)};return j1!==void 0?E.createElement(j1.Consumer,null,function(t){return e(t)}):e($1)}function Pp(A){return gA({tag:"svg",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 Tp(A){return gA({tag:"svg",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 Gp(A){return gA({tag:"svg",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 Hp(A){return gA({tag:"svg",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 X1(A){return gA({tag:"svg",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 Z1(A){return gA({tag:"svg",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 Up(A){return gA({tag:"svg",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 Rp(A){return gA({tag:"svg",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 Yp(A){return gA({tag:"svg",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 Kp(A){return gA({tag:"svg",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 Op(A){return gA({tag:"svg",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 Jp(A){return gA({tag:"svg",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 Au(A){return gA({tag:"svg",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 qp(A){return gA({tag:"svg",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 zp(A){return gA({tag:"svg",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 Wp(A){return gA({tag:"svg",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 $p(A){return gA({tag:"svg",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 eu(A){return gA({tag:"svg",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 jp(A){return gA({tag:"svg",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 Vp(A){return gA({tag:"svg",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 Xp(A){return gA({tag:"svg",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 Zp(A){return gA({tag:"svg",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 Aw(A){return gA({tag:"svg",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 ew(A){return gA({tag:"svg",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 tw(A){return gA({tag:"svg",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 ow(A){return gA({tag:"svg",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 rw(A){return gA({tag:"svg",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 nw(A){return gA({tag:"svg",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 tu(A){return gA({tag:"svg",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 iw(A){return gA({tag:"svg",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 sw(A){return gA({tag:"svg",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 aw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"}}]})(A)}function lw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 0 0-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 0 0 471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0 1 42.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]})(A)}function gw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]})(A)}function cw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]})(A)}function Bw(A){return gA({tag:"svg",attr:{t:"1551322312294",style:"",viewBox:"0 0 1024 1024",version:"1.1"},child:[{tag:"defs",attr:{},child:[]},{tag:"path",attr:{d:"M474 152m8 0l60 0q8 0 8 8l0 704q0 8-8 8l-60 0q-8 0-8-8l0-704q0-8 8-8Z"}},{tag:"path",attr:{d:"M168 474m8 0l672 0q8 0 8 8l0 60q0 8-8 8l-672 0q-8 0-8-8l0-60q0-8 8-8Z"}}]})(A)}function Qw(A){return gA({tag:"svg",attr:{t:"1569683742680",viewBox:"0 0 1024 1024",version:"1.1"},child:[{tag:"defs",attr:{},child:[]},{tag:"path",attr:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-0.9 3.7-0.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 0.7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-0.8 4.2-2.6 5-5 1.4-4.2-0.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]})(A)}function uw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]})(A)}function Ew(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M8 4a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.293V4.5A.5.5 0 0 1 8 4z"}}]})(A)}function dw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12 8a.5.5 0 0 1-.5.5H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5a.5.5 0 0 1 .5.5z"}}]})(A)}function Cw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"}}]})(A)}function hw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z"}}]})(A)}function Iw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M5 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}},{tag:"path",attr:{d:"m2.165 15.803.02-.004c1.83-.363 2.948-.842 3.468-1.105A9.06 9.06 0 0 0 8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6a10.437 10.437 0 0 1-.524 2.318l-.003.011a10.722 10.722 0 0 1-.244.637c-.079.186.074.394.273.362a21.673 21.673 0 0 0 .693-.125zm.8-3.108a1 1 0 0 0-.287-.801C1.618 10.83 1 9.468 1 8c0-3.192 3.004-6 7-6s7 2.808 7 6c0 3.193-3.004 6-7 6a8.06 8.06 0 0 1-2.088-.272 1 1 0 0 0-.711.074c-.387.196-1.24.57-2.634.893a10.97 10.97 0 0 0 .398-2z"}}]})(A)}function pw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8.39 12.648a1.32 1.32 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1.06 1.06 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.512.512 0 0 0-.523-.516.539.539 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532 0 .312.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531 0 .313.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242l-.515 2.492zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"}}]})(A)}function ww(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M6 3.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5zm4 0a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5z"}}]})(A)}function fw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M10.804 8 5 4.633v6.734L10.804 8zm.792-.696a.802.802 0 0 1 0 1.392l-6.363 3.692C4.713 12.69 4 12.345 4 11.692V4.308c0-.653.713-.998 1.233-.696l6.363 3.692z"}}]})(A)}function Dw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M6.598 5.013a.144.144 0 0 1 .202.134V6.3a.5.5 0 0 0 .5.5c.667 0 2.013.005 3.3.822.984.624 1.99 1.76 2.595 3.876-1.02-.983-2.185-1.516-3.205-1.799a8.74 8.74 0 0 0-1.921-.306 7.404 7.404 0 0 0-.798.008h-.013l-.005.001h-.001L7.3 9.9l-.05-.498a.5.5 0 0 0-.45.498v1.153c0 .108-.11.176-.202.134L2.614 8.254a.503.503 0 0 0-.042-.028.147.147 0 0 1 0-.252.499.499 0 0 0 .042-.028l3.984-2.933zM7.8 10.386c.068 0 .143.003.223.006.434.02 1.034.086 1.7.271 1.326.368 2.896 1.202 3.94 3.08a.5.5 0 0 0 .933-.305c-.464-3.71-1.886-5.662-3.46-6.66-1.245-.79-2.527-.942-3.336-.971v-.66a1.144 1.144 0 0 0-1.767-.96l-3.994 2.94a1.147 1.147 0 0 0 0 1.946l3.994 2.94a1.144 1.144 0 0 0 1.767-.96v-.667z"}}]})(A)}function mw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2z"}}]})(A)}function xw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8 15V1h6a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H8zm6 1a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12z"}}]})(A)}function vw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"}}]})(A)}function yw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",stroke:"#000",strokeWidth:"2",d:"M4.99787498,8.99999999 L4.99787498,0.999999992 L19.4999998,0.999999992 L22.9999998,4.50000005 L23,23 L16,23 M18,1 L18,6 L23,6 M9,14 L9,11 M9,20 C10.6568542,20 12,18.6568542 12,17 C12,15.3431458 10.6568542,14 9,14 C7.34314575,14 6,15.3431458 6,17 C6,18.6568542 7.34314575,20 9,20 Z M9,23 L9,20 M12,17 L15,17 M3,17 L6,17 M5,13 L7,15 M11,19 L13,21 M13,13 L11,15 M7,19 L5,21"}}]})(A)}function bw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12,1.73A10.27,10.27,0,1,0,22.24,12,10.25,10.25,0,0,0,12,1.73ZM21,12a9,9,0,1,1-9-9A9,9,0,0,1,21,12Z"}},{tag:"path",attr:{d:"M8.8,11.05a1.55,1.55,0,1,0-1.51-1.5A1.56,1.56,0,0,0,8.8,11.05Z"}},{tag:"path",attr:{d:"M15.44,11.05a1.55,1.55,0,1,0,0-3.09,1.53,1.53,0,0,0-1.51,1.59A1.51,1.51,0,0,0,15.44,11.05Z"}},{tag:"path",attr:{d:"M12.19,16.35A6.58,6.58,0,0,1,6.9,13.5a5.71,5.71,0,0,0,5.3,4,5.54,5.54,0,0,0,5.31-4A6.27,6.27,0,0,1,12.19,16.35Z"}}]})(A)}function kw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",stroke:"#000",strokeWidth:"2",points:"7 2 17 12 7 22"}}]})(A)}function Mw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",stroke:"#000",strokeWidth:"2",points:"7 2 17 12 7 22",transform:"matrix(-1 0 0 1 24 0)"}}]})(A)}function ou(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M408 64H104a56.16 56.16 0 00-56 56v192a56.16 56.16 0 0056 56h40v80l93.72-78.14a8 8 0 015.13-1.86H408a56.16 56.16 0 0056-56V120a56.16 56.16 0 00-56-56z"}}]})(A)}function Nw(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M448 341.37V170.61A32 32 0 00432.11 143l-152-88.46a47.94 47.94 0 00-48.24 0L79.89 143A32 32 0 0064 170.61v170.76A32 32 0 0079.89 369l152 88.46a48 48 0 0048.24 0l152-88.46A32 32 0 00448 341.37z"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M69 153.99l187 110 187-110m-187 310v-200"}}]})(A)}function _w(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"48"}},{tag:"circle",attr:{cx:"416",cy:"256",r:"48"}},{tag:"circle",attr:{cx:"96",cy:"256",r:"48"}}]})(A)}function Fw(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"48"}},{tag:"circle",attr:{cx:"256",cy:"416",r:"48"}},{tag:"circle",attr:{cx:"256",cy:"96",r:"48"}}]})(A)}function Lw(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"44",d:"M358.62 129.28L86.49 402.08 70 442l39.92-16.49 272.8-272.13-24.1-24.1zm54.45-54.44l-11.79 11.78 24.1 24.1 11.79-11.79a16.51 16.51 0 000-23.34l-.75-.75a16.51 16.51 0 00-23.35 0z"}}]})(A)}function Sw(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M464 208L352 96 240 208m112-94.87V416M48 304l112 112 112-112m-112 94V96"}}]})(A)}function Pw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M14.12 10.47L12 12.59l-2.13-2.12-1.41 1.41L10.59 14l-2.12 2.12 1.41 1.41L12 15.41l2.12 2.12 1.41-1.41L13.41 14l2.12-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4zM6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9z"}}]})(A)}function Tw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 00-1.38-3.56A8.03 8.03 0 0118.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 015.08 16zm2.95-8H5.08a7.987 7.987 0 014.33-3.56A15.65 15.65 0 008.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 01-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"}}]})(A)}function Gw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}}]})(A)}function Hw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z"}}]})(A)}function Uw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}}]})(A)}function Rw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 16l-4 4h10v-4zM12.06 7.19L3 16.25V20h3.75l9.06-9.06-3.75-3.75zM5.92 18H5v-.92l7.06-7.06.92.92L5.92 18zM18.71 8.04a.996.996 0 000-1.41l-2.34-2.34a1.001 1.001 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}}]})(A)}function Yw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.49 22 2 17.51 2 12S6.49 2 12 2s10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67A2.5 2.5 0 0112 22zm0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5a.54.54 0 00-.14-.35c-.41-.46-.63-1.05-.63-1.65a2.5 2.5 0 012.5-2.5H16c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7z"}},{tag:"circle",attr:{cx:"6.5",cy:"11.5",r:"1.5"}},{tag:"circle",attr:{cx:"9.5",cy:"7.5",r:"1.5"}},{tag:"circle",attr:{cx:"14.5",cy:"7.5",r:"1.5"}},{tag:"circle",attr:{cx:"17.5",cy:"11.5",r:"1.5"}}]})(A)}function Kw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6.455 19L2 22.5V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6.455zm-.692-2H20V5H4v13.385L5.763 17zM11 10h2v2h-2v-2zm-4 0h2v2H7v-2zm8 0h2v2h-2v-2z"}}]}]})(A)}function Ow(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 15l-6 5.996L4.002 21A.998.998 0 0 1 3 20.007V3.993C3 3.445 3.445 3 3.993 3h16.014c.548 0 .993.456.993 1.002V15zM19 5H5v14h8v-5a1 1 0 0 1 .883-.993L14 13l5-.001V5zm-.829 9.999L15 15v3.169l3.171-3.17z"}}]}]})(A)}function Jw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.828 7.757l-5.656 5.657a1 1 0 1 0 1.414 1.414l5.657-5.656A3 3 0 1 0 12 4.929l-5.657 5.657a5 5 0 1 0 7.071 7.07L19.071 12l1.414 1.414-5.657 5.657a7 7 0 1 1-9.9-9.9l5.658-5.656a5 5 0 0 1 7.07 7.07L12 16.244A3 3 0 1 1 7.757 12l5.657-5.657 1.414 1.414z"}}]}]})(A)}function qw(A){return gA({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 3l1.166-.624 8 5.333v1.248l-8 5.334-1.166-.624V3zm1.5 1.401v7.864l5.898-3.932L5.75 4.401z"}}]})(A)}function zw(A){return gA({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M2 2v12h12V2H2zm10.75 10.75h-9.5v-9.5h9.5v9.5z"}}]})(A)}function Ww(A){return gA({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M14 1H3L2 2v11l1 1h11l1-1V2l-1-1zM8 13H3V2h5v11zm6 0H9V2h5v11z"}}]})(A)}function $w(A){return gA({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M14 1H3L2 2v11l1 1h11l1-1V2l-1-1zm0 12H3V8h11v5zm0-6H3V2h11v5z"}}]})(A)}function jw(A){return gA({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1C2.44771 1 2 1.44772 2 2V13C2 13.5523 2.44772 14 3 14H10.5C10.7761 14 11 13.7761 11 13.5C11 13.2239 10.7761 13 10.5 13H3V2L10.5 2C10.7761 2 11 1.77614 11 1.5C11 1.22386 10.7761 1 10.5 1H3ZM12.6036 4.89645C12.4083 4.70118 12.0917 4.70118 11.8964 4.89645C11.7012 5.09171 11.7012 5.40829 11.8964 5.60355L13.2929 7H6.5C6.22386 7 6 7.22386 6 7.5C6 7.77614 6.22386 8 6.5 8H13.2929L11.8964 9.39645C11.7012 9.59171 11.7012 9.90829 11.8964 10.1036C12.0917 10.2988 12.4083 10.2988 12.6036 10.1036L14.8536 7.85355C15.0488 7.65829 15.0488 7.34171 14.8536 7.14645L12.6036 4.89645Z",fill:"currentColor"}}]})(A)}function Vw(A){return gA({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M8.69667 0.0403541C8.90859 0.131038 9.03106 0.354857 8.99316 0.582235L8.0902 6.00001H12.5C12.6893 6.00001 12.8625 6.10701 12.9472 6.27641C13.0319 6.4458 13.0136 6.6485 12.8999 6.80001L6.89997 14.8C6.76167 14.9844 6.51521 15.0503 6.30328 14.9597C6.09135 14.869 5.96888 14.6452 6.00678 14.4178L6.90974 9H2.49999C2.31061 9 2.13748 8.893 2.05278 8.72361C1.96809 8.55422 1.98636 8.35151 2.09999 8.2L8.09997 0.200038C8.23828 0.0156255 8.48474 -0.0503301 8.69667 0.0403541ZM3.49999 8.00001H7.49997C7.64695 8.00001 7.78648 8.06467 7.88148 8.17682C7.97648 8.28896 8.01733 8.43723 7.99317 8.5822L7.33027 12.5596L11.5 7.00001H7.49997C7.353 7.00001 7.21347 6.93534 7.11846 6.8232C7.02346 6.71105 6.98261 6.56279 7.00678 6.41781L7.66968 2.44042L3.49999 8.00001Z",fill:"currentColor"}}]})(A)}function Xw(A){return gA({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M12 13C12.5523 13 13 12.5523 13 12V3C13 2.44771 12.5523 2 12 2H3C2.44771 2 2 2.44771 2 3V6.5C2 6.77614 2.22386 7 2.5 7C2.77614 7 3 6.77614 3 6.5V3H12V12H8.5C8.22386 12 8 12.2239 8 12.5C8 12.7761 8.22386 13 8.5 13H12ZM9 6.5C9 6.5001 9 6.50021 9 6.50031V6.50035V9.5C9 9.77614 8.77614 10 8.5 10C8.22386 10 8 9.77614 8 9.5V7.70711L2.85355 12.8536C2.65829 13.0488 2.34171 13.0488 2.14645 12.8536C1.95118 12.6583 1.95118 12.3417 2.14645 12.1464L7.29289 7H5.5C5.22386 7 5 6.77614 5 6.5C5 6.22386 5.22386 6 5.5 6H8.5C8.56779 6 8.63244 6.01349 8.69139 6.03794C8.74949 6.06198 8.80398 6.09744 8.85143 6.14433C8.94251 6.23434 8.9992 6.35909 8.99999 6.49708L8.99999 6.49738",fill:"currentColor"}}]})(A)}function Zw(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 00-5.78 1.128 2.25 2.25 0 01-2.4 2.245 4.5 4.5 0 008.4-2.245c0-.399-.078-.78-.22-1.128zm0 0a15.998 15.998 0 003.388-1.62m-5.043-.025a15.994 15.994 0 011.622-3.395m3.42 3.42a15.995 15.995 0 004.764-4.648l3.876-5.814a1.151 1.151 0 00-1.597-1.597L14.146 6.32a15.996 15.996 0 00-4.649 4.763m3.42 3.42a6.776 6.776 0 00-3.42-3.42"}}]})(A)}function A3(A){return gA({tag:"svg",attr:{version:"1.1",viewBox:"0 0 17 17"},child:[{tag:"g",attr:{},child:[]},{tag:"path",attr:{d:"M6 8h-6v-6h1v4.109c1.013-3.193 4.036-5.484 7.5-5.484 3.506 0 6.621 2.36 7.574 5.739l-0.963 0.271c-0.832-2.95-3.551-5.011-6.611-5.011-3.226 0.001-6.016 2.276-6.708 5.376h4.208v1zM11 9v1h4.208c-0.693 3.101-3.479 5.375-6.708 5.375-3.062 0-5.78-2.061-6.611-5.011l-0.963 0.271c0.952 3.379 4.067 5.739 7.574 5.739 3.459 0 6.475-2.28 7.5-5.482v4.108h1v-6h-6z"}}]})(A)}function e3(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}},{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}}]})(A)}function t3(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"}}]})(A)}function o3(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"}}]})(A)}function r3(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 10h16M4 14h16M4 18h16"}}]})(A)}const n3=A=>K.createElement("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M12 8.5C16.9706 8.5 21 7.15685 21 5.5C21 3.84315 16.9706 2.5 12 2.5C7.02944 2.5 3 3.84315 3 5.5C3 7.15685 7.02944 8.5 12 8.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M21 12.5C21 14.16 17 15.5 12 15.5C7 15.5 3 14.16 3 12.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M3 5.5V19.5C3 21.16 7 22.5 12 22.5C17 22.5 21 21.16 21 19.5V5.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),i3=A=>g.jsx(n3,{...A}),s3=A=>K.createElement("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16px",height:"16px",viewBox:"0 0 16 16",...A},K.createElement("g",{id:"surface1"},K.createElement("path",{stroke:"none",fillRule:"nonzero",fillOpacity:1,d:"M 9.886719 5.171875 L 6.113281 8.941406 C 5.855469 9.203125 5.855469 9.625 6.113281 9.886719 C 6.375 10.144531 6.796875 10.144531 7.058594 9.886719 L 10.828125 6.113281 C 11.609375 5.332031 11.609375 4.066406 10.828125 3.285156 C 10.046875 2.503906 8.78125 2.503906 8 3.285156 L 4.230469 7.058594 C 2.925781 8.359375 2.925781 10.46875 4.230469 11.769531 C 5.53125 13.074219 7.640625 13.074219 8.941406 11.769531 L 12.714844 8 L 13.65625 8.941406 L 9.886719 12.714844 C 8.0625 14.535156 5.109375 14.535156 3.285156 12.714844 C 1.464844 10.890625 1.464844 7.9375 3.285156 6.113281 L 7.058594 2.34375 C 8.359375 1.042969 10.46875 1.042969 11.769531 2.34375 C 13.074219 3.644531 13.074219 5.753906 11.769531 7.058594 L 8 10.828125 C 7.21875 11.609375 5.953125 11.609375 5.171875 10.828125 C 4.390625 10.046875 4.390625 8.78125 5.171875 8 L 8.941406 4.230469 Z M 9.886719 5.171875 "}))),a3=A=>g.jsx(s3,{...A}),l3=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M10 13C10.4295 13.5741 10.9774 14.0491 11.6066 14.3929C12.2357 14.7367 12.9315 14.9411 13.6467 14.9923C14.3618 15.0435 15.0796 14.9403 15.7513 14.6897C16.4231 14.4392 17.0331 14.047 17.54 13.54L20.54 10.54C21.4508 9.59695 21.9548 8.33394 21.9434 7.02296C21.932 5.71198 21.4061 4.45791 20.4791 3.53087C19.5521 2.60383 18.298 2.07799 16.987 2.0666C15.676 2.0552 14.413 2.55918 13.47 3.46997L11.75 5.17997",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M14.0002 11.0012C13.5707 10.4271 13.0228 9.95202 12.3936 9.60826C11.7645 9.2645 11.0687 9.06009 10.3535 9.00887C9.63841 8.95765 8.92061 9.06083 8.24885 9.31142C7.5771 9.56201 6.96709 9.95413 6.4602 10.4612L3.4602 13.4612C2.54941 14.4042 2.04544 15.6672 2.05683 16.9782C2.06822 18.2892 2.59407 19.5433 3.52111 20.4703C4.44815 21.3973 5.70221 21.9232 7.01319 21.9346C8.32418 21.946 9.58719 21.442 10.5302 20.5312L12.2402 18.8212",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),g3={binding:"_binding_14mdd_1"},c3=A=>g.jsx(l3,{className:g3.binding,...A}),B3=A=>g.jsx(Au,{...A}),Q3=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M14 10.6669V5.33359C13.9998 5.09978 13.938 4.87013 13.821 4.6677C13.704 4.46527 13.5358 4.29717 13.3333 4.18026L8.66667 1.51359C8.46397 1.39657 8.23405 1.33496 8 1.33496C7.76595 1.33496 7.53603 1.39657 7.33333 1.51359L2.66667 4.18026C2.46418 4.29717 2.29599 4.46527 2.17897 4.6677C2.06196 4.87013 2.00024 5.09978 2 5.33359V10.6669C2.00024 10.9007 2.06196 11.1304 2.17897 11.3328C2.29599 11.5353 2.46418 11.7034 2.66667 11.8203L7.33333 14.4869C7.53603 14.604 7.76595 14.6656 8 14.6656C8.23405 14.6656 8.46397 14.604 8.66667 14.4869L13.3333 11.8203C13.5358 11.7034 13.704 11.5353 13.821 11.3328C13.938 11.1304 13.9998 10.9007 14 10.6669Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M2.18018 4.63965L8.00018 8.00632L13.8202 4.63965",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8 14.72V8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),u3=A=>g.jsx(Q3,{...A}),E3=A=>g.jsx(Gp,{...A}),d3=A=>g.jsx(X1,{...A}),C3=A=>g.jsx(Z1,{...A}),h3=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M8.6665 1.33301H3.99984C3.64622 1.33301 3.30708 1.47348 3.05703 1.72353C2.80698 1.97358 2.6665 2.31272 2.6665 2.66634V13.333C2.6665 13.6866 2.80698 14.0258 3.05703 14.2758C3.30708 14.5259 3.64622 14.6663 3.99984 14.6663H11.9998C12.3535 14.6663 12.6926 14.5259 12.9426 14.2758C13.1927 14.0258 13.3332 13.6866 13.3332 13.333V5.99967L8.6665 1.33301Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8.6665 1.33301V5.99967H13.3332",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M9.3335 10.6667L10.6668 9.33333L9.3335 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M6.6665 8.00033L5.33317 9.33366L6.6665 10.667",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),I3=A=>g.jsx(h3,{...A}),p3=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M14 10.6669V5.33359C13.9998 5.09978 13.938 4.87013 13.821 4.6677C13.704 4.46527 13.5358 4.29717 13.3333 4.18026L8.66667 1.51359C8.46397 1.39657 8.23405 1.33496 8 1.33496C7.76595 1.33496 7.53603 1.39657 7.33333 1.51359L2.66667 4.18026C2.46418 4.29717 2.29599 4.46527 2.17897 4.6677C2.06196 4.87013 2.00024 5.09978 2 5.33359V10.6669C2.00024 10.9007 2.06196 11.1304 2.17897 11.3328C2.29599 11.5353 2.46418 11.7034 2.66667 11.8203L7.33333 14.4869C7.53603 14.604 7.76595 14.6656 8 14.6656C8.23405 14.6656 8.46397 14.604 8.66667 14.4869L13.3333 11.8203C13.5358 11.7034 13.704 11.5353 13.821 11.3328C13.938 11.1304 13.9998 10.9007 14 10.6669Z",stroke:"#3B3B3B",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M5 2.80664L8 4.53997L11 2.80664",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M5 13.1933V9.73333L2 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M14 8L11 9.73333V13.1933",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M2.18018 4.63965L8.00018 8.00632L13.8202 4.63965",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8 14.72V8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),w3=A=>g.jsx(p3,{...A}),f3=A=>g.jsx(eu,{...A}),D3=A=>g.jsx(Uw,{...A}),m3=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M12 8C16.9706 8 21 6.65685 21 5C21 3.34315 16.9706 2 12 2C7.02944 2 3 3.34315 3 5C3 6.65685 7.02944 8 12 8Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M21 12C21 13.66 17 15 12 15C7 15 3 13.66 3 12",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M3 5V19C3 20.66 7 22 12 22C17 22 21 20.66 21 19V5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x3={database:"_database_14jkq_1"},v3=A=>g.jsx(m3,{className:x3.database,...A}),y3=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M9.33317 1.33301H3.99984C3.64622 1.33301 3.30708 1.47348 3.05703 1.72353C2.80698 1.97358 2.6665 2.31272 2.6665 2.66634V13.333C2.6665 13.6866 2.80698 14.0258 3.05703 14.2758C3.30708 14.5259 3.64622 14.6663 3.99984 14.6663H11.9998C12.3535 14.6663 12.6926 14.5259 12.9426 14.2758C13.1927 14.0258 13.3332 13.6866 13.3332 13.333V5.33301L9.33317 1.33301Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M9.3335 1.33301V5.33301H13.3335",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M10.6668 8.66699H5.3335",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M10.6668 11.333H5.3335",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M6.66683 6H6.00016H5.3335",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),b3=A=>g.jsx(y3,{...A}),k3=A=>K.createElement("svg",{width:22,height:28,viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1811_15061)"},K.createElement("path",{d:"M22.2271 7.38281L16.304 5.74219L14.6117 0H2.76551C1.36355 0 0.227051 1.10179 0.227051 2.46094V25.5391C0.227051 26.8982 1.36355 28 2.76551 28H19.6886C21.0906 28 22.2271 26.8982 22.2271 25.5391V7.38281Z",fill:"currentColor"}),K.createElement("path",{d:"M22.227 7.38281H16.3039C15.3731 7.38281 14.6116 6.64453 14.6116 5.74219V0C14.8316 0 15.0516 0.0820312 15.2038 0.246148L21.9731 6.80865C22.1423 6.95625 22.227 7.16953 22.227 7.38281Z",fill:"currentColor"}),K.createElement("path",{d:"M16.304 13.1797H6.15011C5.68241 13.1797 5.30396 12.8128 5.30396 12.3594C5.30396 11.906 5.68241 11.5391 6.15011 11.5391H16.304C16.7717 11.5391 17.1501 11.906 17.1501 12.3594C17.1501 12.8128 16.7717 13.1797 16.304 13.1797Z",fill:"white"}),K.createElement("path",{d:"M16.304 16.4609H6.15011C5.68241 16.4609 5.30396 16.094 5.30396 15.6406C5.30396 15.1872 5.68241 14.8203 6.15011 14.8203H16.304C16.7717 14.8203 17.1501 15.1872 17.1501 15.6406C17.1501 16.094 16.7717 16.4609 16.304 16.4609Z",fill:"white"}),K.createElement("path",{d:"M16.304 19.7422H6.15011C5.68241 19.7422 5.30396 19.3753 5.30396 18.9219C5.30396 18.4685 5.68241 18.1016 6.15011 18.1016H16.304C16.7717 18.1016 17.1501 18.4685 17.1501 18.9219C17.1501 19.3753 16.7717 19.7422 16.304 19.7422Z",fill:"white"}),K.createElement("path",{d:"M12.9193 23.0234H6.15011C5.68241 23.0234 5.30396 22.6565 5.30396 22.2031C5.30396 21.7497 5.68241 21.3828 6.15011 21.3828H12.9193C13.387 21.3828 13.7655 21.7497 13.7655 22.2031C13.7655 22.6565 13.387 23.0234 12.9193 23.0234Z",fill:"white"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1811_15061"},K.createElement("rect",{width:22,height:28,fill:"white"})))),ru=A=>g.jsx(k3,{...A}),M3=A=>g.jsx(_w,{...A}),N3=A=>g.jsx(Fw,{...A}),_3=A=>g.jsx(Hw,{...A}),F3=A=>K.createElement("svg",{viewBox:"0 0 30 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M7.58122 0H1C0.447715 0 0 0.447715 0 0.999999V21.0737H30V3.71273H12.0217L7.58122 0Z",fill:"#ADDAE9"}),K.createElement("path",{d:"M10.9928 0.157898H29C29.5523 0.157898 30 0.605613 30 1.1579V20C30 20.5523 29.5523 21 29 21H1.00002C0.447731 21 1.71661e-05 20.5523 1.71661e-05 20V3.93087C1.71661e-05 3.37858 0.447733 2.93087 1.00002 2.93087H6.55236L10.9928 0.157898Z",fill:"#CAE9F3"})),L3=A=>g.jsx(F3,{...A}),S3=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M21 16.0019V8.00186C20.9996 7.65113 20.9071 7.30667 20.7315 7.00302C20.556 6.69937 20.3037 6.44722 20 6.27186L13 2.27186C12.696 2.09632 12.3511 2.00391 12 2.00391C11.6489 2.00391 11.304 2.09632 11 2.27186L4 6.27186C3.69626 6.44722 3.44398 6.69937 3.26846 7.00302C3.09294 7.30667 3.00036 7.65113 3 8.00186V16.0019C3.00036 16.3526 3.09294 16.697 3.26846 17.0007C3.44398 17.3043 3.69626 17.5565 4 17.7319L11 21.7319C11.304 21.9074 11.6489 21.9998 12 21.9998C12.3511 21.9998 12.696 21.9074 13 21.7319L20 17.7319C20.3037 17.5565 20.556 17.3043 20.7315 17.0007C20.9071 16.697 20.9996 16.3526 21 16.0019Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M3.26953 6.96094L11.9995 12.0109L20.7295 6.96094",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M12 22.08V12",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),P3=A=>g.jsx(S3,{...A}),T3=A=>g.jsx(aw,{...A}),G3=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M22 3H2L10 12.46V19L14 21V12.46L22 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),H3=A=>g.jsx(G3,{...A}),U3=A=>K.createElement("svg",{viewBox:"0 0 30 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M7.58122 0H1C0.447715 0 0 0.447715 0 0.999999V21.0737H30V3.71273H12.0217L7.58122 0Z",fill:"#ADDAE9"}),K.createElement("rect",{x:1.2179,y:2.44446,width:28.0128,height:15.8889,fill:"white"}),K.createElement("path",{d:"M10.9928 1.1579H29C29.5523 1.1579 30 1.60561 30 2.1579V21C30 21.5523 29.5523 22 29 22H1.00002C0.447731 22 1.71661e-05 21.5523 1.71661e-05 21V4.93087C1.71661e-05 4.37858 0.447733 3.93087 1.00002 3.93087H6.55236L10.9928 1.1579Z",fill:"#CAE9F3"})),R3=A=>g.jsx(U3,{...A}),Y3=A=>g.jsx(Tw,{...A}),K3=A=>g.jsx(Wp,{...A}),O3=A=>g.jsx(Gw,{...A}),J3=A=>K.createElement("svg",{width:22,height:28,viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1960_14704)"},K.createElement("path",{d:"M22.2271 7.38281L16.304 5.74219L14.6117 0H1.91936C0.984697 0 0.227051 0.734508 0.227051 1.64062V26.3594C0.227051 27.2655 0.984697 28 1.91936 28H20.5347C21.4694 28 22.2271 27.2655 22.2271 26.3594V7.38281Z",fill:"#F2F2F2"}),K.createElement("path",{d:"M22.2271 7.38281V26.3594C22.2271 27.2655 21.4695 28 20.5348 28H11.3625V0H14.6117L16.304 5.74219L22.2271 7.38281Z",fill:"#F2F2F2"}),K.createElement("path",{d:"M22.227 7.38281H16.3039C15.3731 7.38281 14.6116 6.64453 14.6116 5.74219V0C14.8316 0 15.0516 0.0820312 15.2038 0.246148L21.9731 6.80865C22.1423 6.95625 22.227 7.16953 22.227 7.38281Z",fill:"#E1E1E1"}),K.createElement("path",{d:"M9 17L14.1962 21.5H3.80385L9 17Z",fill:"#8BDC6F"}),K.createElement("path",{d:"M13 14L18.1963 21.5H7.80396L13 14Z",fill:"#8BDC6F"}),K.createElement("circle",{cx:7,cy:11,r:2,fill:"#EFC942"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1960_14704"},K.createElement("rect",{width:22,height:28,fill:"white"})))),q3=A=>g.jsx(J3,{...A});function z3(A){return gA({tag:"svg",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 W3=A=>g.jsx(z3,{...A}),$3=A=>g.jsx(eu,{...A}),j3=A=>g.jsx(r3,{...A}),V3=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"})),X3=A=>g.jsx(V3,{...A}),Z3=A=>g.jsx(Vp,{...A}),A5=A=>K.createElement("svg",{viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1813_15242)"},K.createElement("path",{d:"M21.788 7.38281L16.3739 5.74219L14.827 0H3.22546C2.37112 0 1.67859 0.734508 1.67859 1.64062V26.3594C1.67859 27.2655 2.37112 28 3.22546 28H20.2411C21.0954 28 21.788 27.2655 21.788 26.3594V7.38281Z",fill:"#EDEDED"}),K.createElement("path",{d:"M21.7879 7.38281V26.3594C21.7879 27.2655 21.0954 28 20.2411 28H11.8571V0H14.827L16.3739 5.74219L21.7879 7.38281Z",fill:"#EDEDED"}),K.createElement("path",{d:"M21.788 7.38281H16.3739C15.5231 7.38281 14.827 6.64453 14.827 5.74219V0C15.0281 0 15.2292 0.0820312 15.3684 0.246148L21.5559 6.80865C21.7106 6.95625 21.788 7.16953 21.788 7.38281Z",fill:"#BDBDBD"}),K.createElement("path",{d:"M20.5333 22.4259C20.5333 22.925 20.1483 23.3333 19.6778 23.3333H0.855556C0.385 23.3333 0 22.925 0 22.4259V13.3519C0 12.8528 0.385 12.4445 0.855556 12.4445H19.6778C20.1483 12.4445 20.5333 12.8528 20.5333 13.3519V22.4259Z",fill:"#FF3E3E"}),K.createElement("path",{d:"M4.25304 17.732V16.448H4.98504C5.09304 16.448 5.19704 16.456 5.29704 16.472C5.39704 16.488 5.48504 16.52 5.56104 16.568C5.63704 16.612 5.69704 16.676 5.74104 16.76C5.78904 16.844 5.81304 16.954 5.81304 17.09C5.81304 17.226 5.78904 17.336 5.74104 17.42C5.69704 17.504 5.63704 17.57 5.56104 17.618C5.48504 17.662 5.39704 17.692 5.29704 17.708C5.19704 17.724 5.09304 17.732 4.98504 17.732H4.25304ZM3.31104 15.716V20H4.25304V18.464H5.24304C5.51104 18.464 5.73904 18.426 5.92704 18.35C6.11504 18.27 6.26704 18.166 6.38304 18.038C6.50304 17.91 6.58904 17.764 6.64104 17.6C6.69704 17.432 6.72504 17.262 6.72504 17.09C6.72504 16.914 6.69704 16.744 6.64104 16.58C6.58904 16.416 6.50304 16.27 6.38304 16.142C6.26704 16.014 6.11504 15.912 5.92704 15.836C5.73904 15.756 5.51104 15.716 5.24304 15.716H3.31104Z",fill:"white"}),K.createElement("path",{d:"M8.85499 19.208V16.508H9.52699C9.75899 16.508 9.95299 16.542 10.109 16.61C10.269 16.674 10.397 16.768 10.493 16.892C10.589 17.016 10.657 17.166 10.697 17.342C10.741 17.514 10.763 17.708 10.763 17.924C10.763 18.16 10.733 18.36 10.673 18.524C10.613 18.688 10.533 18.822 10.433 18.926C10.333 19.026 10.219 19.098 10.091 19.142C9.96299 19.186 9.83099 19.208 9.69499 19.208H8.85499ZM7.91299 15.716V20H9.76099C10.089 20 10.373 19.946 10.613 19.838C10.857 19.726 11.059 19.574 11.219 19.382C11.383 19.19 11.505 18.962 11.585 18.698C11.665 18.434 11.705 18.146 11.705 17.834C11.705 17.478 11.655 17.168 11.555 16.904C11.459 16.64 11.323 16.42 11.147 16.244C10.975 16.068 10.769 15.936 10.529 15.848C10.293 15.76 10.037 15.716 9.76099 15.716H7.91299Z",fill:"white"}),K.createElement("path",{d:"M12.9603 15.716V20H13.9023V18.23H15.6963V17.498H13.9023V16.508H15.9723V15.716H12.9603Z",fill:"white"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1813_15242"},K.createElement("rect",{width:22,height:28,fill:"white"})))),e5=A=>g.jsx(A5,{...A}),t5=A=>g.jsx(o3,{...A}),o5=A=>g.jsx(Xp,{...A}),r5=A=>K.createElement("svg",{viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1960_14734)"},K.createElement("path",{d:"M22.2271 7.38281L16.304 5.74219L14.6117 0H1.91936C0.984697 0 0.227051 0.734508 0.227051 1.64062V26.3594C0.227051 27.2655 0.984697 28 1.91936 28H20.5347C21.4694 28 22.2271 27.2655 22.2271 26.3594V7.38281Z",fill:"#F2F2F2"}),K.createElement("path",{d:"M22.2271 7.38281V26.3594C22.2271 27.2655 21.4695 28 20.5348 28H11.3625V0H14.6117L16.304 5.74219L22.2271 7.38281Z",fill:"#F2F2F2"}),K.createElement("path",{d:"M22.227 7.38281H16.3039C15.3731 7.38281 14.6116 6.64453 14.6116 5.74219V0C14.8316 0 15.0516 0.0820312 15.2038 0.246148L21.9731 6.80865C22.1423 6.95625 22.227 7.16953 22.227 7.38281Z",fill:"#E1E1E1"}),K.createElement("path",{d:"M9 17L14.1962 21.5H3.80385L9 17Z",fill:"#8BDC6F"}),K.createElement("path",{d:"M13 14L18.1963 21.5H7.80396L13 14Z",fill:"#8BDC6F"}),K.createElement("circle",{cx:7,cy:11,r:2,fill:"#EFC942"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1960_14734"},K.createElement("rect",{width:22,height:28,fill:"white"})))),n5=A=>g.jsx(r5,{...A}),i5=A=>g.jsx(Bw,{...A}),s5=A=>g.jsx(Aw,{...A}),a5=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M18 8C19.6569 8 21 6.65685 21 5C21 3.34315 19.6569 2 18 2C16.3431 2 15 3.34315 15 5C15 6.65685 16.3431 8 18 8Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M6 15C7.65685 15 9 13.6569 9 12C9 10.3431 7.65685 9 6 9C4.34315 9 3 10.3431 3 12C3 13.6569 4.34315 15 6 15Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M18 22C19.6569 22 21 20.6569 21 19C21 17.3431 19.6569 16 18 16C16.3431 16 15 17.3431 15 19C15 20.6569 16.3431 22 18 22Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8.58984 13.51L15.4198 17.49",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M15.4098 6.51001L8.58984 10.49",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),l5=A=>g.jsx(a5,{...A}),g5=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),K.createElement("path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7"})),c5=A=>g.jsx(g5,{...A}),B5=A=>g.jsx(Pw,{...A}),Q5=A=>K.createElement("svg",{width:22,height:28,viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1811_14941)"},K.createElement("path",{d:"M21.7881 7.38281L16.374 5.74219L14.8271 0H3.22559C2.37125 0 1.67871 0.734508 1.67871 1.64062V26.3594C1.67871 27.2655 2.37125 28 3.22559 28H20.2412C21.0956 28 21.7881 27.2655 21.7881 26.3594V7.38281Z",fill:"#EDEDED"}),K.createElement("path",{d:"M21.7881 7.38281V26.3594C21.7881 27.2655 21.0955 28 20.2412 28H11.8572V0H14.8271L16.374 5.74219L21.7881 7.38281Z",fill:"#EDEDED"}),K.createElement("path",{d:"M21.7881 7.38281H16.374C15.5232 7.38281 14.8271 6.64453 14.8271 5.74219V0C15.0282 0 15.2293 0.0820312 15.3685 0.246148L21.556 6.80865C21.7107 6.95625 21.7881 7.16953 21.7881 7.38281Z",fill:"#BDBDBD"}),K.createElement("path",{d:"M20.5333 22.4259C20.5333 22.925 20.1483 23.3333 19.6778 23.3333H0.855556C0.385 23.3333 0 22.925 0 22.4259V13.3519C0 12.8528 0.385 12.4444 0.855556 12.4444H19.6778C20.1483 12.4444 20.5333 12.8528 20.5333 13.3519V22.4259Z",fill:"#161C28"}),K.createElement("path",{d:"M4.62629 16.508V20H5.56828V16.508H6.85229V15.716H3.34229V16.508H4.62629Z",fill:"white"}),K.createElement("path",{d:"M8.99625 17.756L7.50225 20H8.55825L9.51225 18.518L10.4483 20H11.5703L10.0763 17.762L11.4503 15.716H10.4183L9.54825 17.084L8.70825 15.716H7.61625L8.99625 17.756Z",fill:"white"}),K.createElement("path",{d:"M13.4962 16.508V20H14.4382V16.508H15.7222V15.716H12.2122V16.508H13.4962Z",fill:"white"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1811_14941"},K.createElement("rect",{width:22,height:28,fill:"white"})))),u5=A=>g.jsx(Q5,{...A}),E5=A=>K.createElement("svg",{viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1811_14989)"},K.createElement("path",{d:"M22.2271 7.38281L16.304 5.74219L14.6117 0H1.91936C0.984697 0 0.227051 0.734508 0.227051 1.64062V26.3594C0.227051 27.2655 0.984697 28 1.91936 28H20.5347C21.4694 28 22.2271 27.2655 22.2271 26.3594V7.38281Z",fill:"#C9E3F4"}),K.createElement("path",{d:"M22.2271 7.38281V26.3594C22.2271 27.2655 21.4695 28 20.5348 28H11.3625V0H14.6117L16.304 5.74219L22.2271 7.38281Z",fill:"#C9E3F4"}),K.createElement("path",{d:"M22.227 7.38281H16.3039C15.3731 7.38281 14.6116 6.64453 14.6116 5.74219V0C14.8316 0 15.0516 0.0820312 15.2038 0.246148L21.9731 6.80865C22.1423 6.95625 22.227 7.16953 22.227 7.38281Z",fill:"#AAC4D6"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1811_14989"},K.createElement("rect",{width:22,height:28,fill:"white"})))),d5=A=>g.jsx(E5,{...A}),C5=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M10 12.4503C10.3236 12.894 10.7365 13.2612 11.2106 13.5269C11.6847 13.7926 12.209 13.9505 12.7479 13.9901C13.2868 14.0297 13.8277 13.95 14.3339 13.7563C14.8401 13.5626 15.2998 13.2596 15.6817 12.8677L17.9424 10.549C18.6287 9.82019 19.0084 8.84404 18.9999 7.83081C18.9913 6.81758 18.595 5.84834 17.8965 5.13185C17.1979 4.41536 16.2529 4.00895 15.265 4.00015C14.2771 3.99134 13.3254 4.38085 12.6148 5.08478L11.3187 6.4064",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M13 10.5497C12.6764 10.106 12.2635 9.73881 11.7894 9.47313C11.3153 9.20745 10.791 9.04946 10.2521 9.00987C9.7132 8.97029 9.17231 9.05004 8.66611 9.24371C8.15991 9.43738 7.70024 9.74045 7.31828 10.1323L5.05764 12.451C4.37132 13.1798 3.99156 14.156 4.00014 15.1692C4.00873 16.1824 4.40497 17.1517 5.10354 17.8681C5.80211 18.5846 6.7471 18.991 7.73498 18.9999C8.72287 19.0087 9.6746 18.6192 10.3852 17.9152L11.6738 16.5936",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8.1582 2.67383L9.06952 5.30645",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M18.4316 17.667L16.8262 15.3902",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M5 5.28906L7.23775 6.94848",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M20.7402 14.2783L18.1301 13.3044",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),h5=A=>g.jsx(C5,{...A}),I5=A=>g.jsx(tu,{...A}),nu=A=>g.jsx(uw,{...A}),p5=A=>K.createElement("svg",{width:22,height:28,viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M21.9982 7.38281L16.0756 5.74219L14.3835 0H1.69217C0.757586 0 0 0.734508 0 1.64062V26.3594C0 27.2655 0.757586 28 1.69217 28H20.3061C21.2407 28 21.9982 27.2655 21.9982 26.3594V7.38281Z",fill:"#59C36A"}),K.createElement("path",{d:"M21.9982 7.38281V26.3594C21.9982 27.2655 21.2406 28 20.306 28H11.1345V0H14.3834L16.0756 5.74219L21.9982 7.38281Z",fill:"#59C36A"}),K.createElement("path",{d:"M16.0753 11.5391H5.92226C5.4546 11.5391 5.07617 11.906 5.07617 12.3594V22.2031C5.07617 22.6565 5.4546 23.0234 5.92226 23.0234H16.0753C16.543 23.0234 16.9214 22.6565 16.9214 22.2031V12.3594C16.9214 11.906 16.543 11.5391 16.0753 11.5391ZM6.76834 16.4609H10.1527V18.1016H6.76834V16.4609ZM11.8449 16.4609H15.2292V18.1016H11.8449V16.4609ZM15.2292 14.8203H11.8449V13.1797H15.2292V14.8203ZM10.1527 13.1797V14.8203H6.76834V13.1797H10.1527ZM6.76834 19.7422H10.1527V21.3828H6.76834V19.7422ZM11.8449 21.3828V19.7422H15.2292V21.3828H11.8449Z",fill:"white"}),K.createElement("path",{d:"M16.0758 11.5391H11.1365V23.0234H16.0758C16.5435 23.0234 16.9219 22.6565 16.9219 22.2031V12.3594C16.9219 11.906 16.5435 11.5391 16.0758 11.5391ZM15.2297 21.3828H11.8454V19.7422H15.2297V21.3828ZM15.2297 18.1016H11.8454V16.4609H15.2297V18.1016ZM15.2297 14.8203H11.8454V13.1797H15.2297V14.8203Z",fill:"white"}),K.createElement("path",{d:"M21.9995 7.38281H16.0769C15.1462 7.38281 14.3848 6.64453 14.3848 5.74219V0C14.6047 0 14.8247 0.0820312 14.977 0.246148L21.7457 6.80865C21.9149 6.95625 21.9995 7.16953 21.9995 7.38281Z",fill:"#A0DEB0"})),w5=A=>g.jsx(p5,{...A});function f5(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.953 2C6.465 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.493 2 11.953 2zM12 20c-4.411 0-8-3.589-8-8s3.567-8 7.953-8C16.391 4 20 7.589 20 12s-3.589 8-8 8z"}},{tag:"path",attr:{d:"M11 7h2v7h-2zm0 8h2v2h-2z"}}]})(A)}const iu=A=>g.jsx(f5,{...A}),D5=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-trending-up",width:24,height:24,viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M3 17l6 -6l4 4l8 -8"}),K.createElement("path",{d:"M14 7l7 0l0 7"})),m5=A=>g.jsx(D5,{...A}),x5=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-trending-down",width:24,height:24,viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M3 7l6 6l4 -4l8 8"}),K.createElement("path",{d:"M21 10l0 7l-7 0"})),v5=A=>g.jsx(x5,{...A}),y5=A=>g.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:[g.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),g.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor"}),g.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),b5=A=>g.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:[g.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),g.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),g.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor"})]}),k5=A=>g.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:[g.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),g.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),g.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),M5=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"icon ms-1",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M5 12l14 0"})),N5=A=>g.jsx(M5,{...A}),da=new Map;function j(A,e){typeof A=="object"?A.forEach(t=>{da.set(t,{renderer:e})}):da.set(A,{renderer:e})}j("assign",A=>g.jsx(tu,{...A})),j("arrowup",A=>g.jsx(hw,{...A})),j("arrowleft",A=>g.jsx(dw,{...A})),j("arrowright",A=>g.jsx(Cw,{...A})),j("pause",A=>g.jsx(ww,{...A})),j("play",A=>g.jsx(fw,{...A})),j("hamburger",A=>g.jsx(gw,{...A})),j("send",A=>g.jsx(Qw,{...A})),j("users",A=>g.jsx(iw,{...A})),j("refresh",A=>g.jsx(Zp,{...A})),j("chevrondown",A=>g.jsx(Hp,{...A})),j("chevronup",A=>g.jsx(Up,{...A})),j("dotmenu",A=>g.jsx(N3,{...A})),j("dotmenuhorizontal",A=>g.jsx(M3,{...A})),j("noresult",A=>g.jsx(ew,{...A})),j("crm",A=>g.jsx(ou,{...A})),j("chat",A=>g.jsx(ou,{...A})),j("pencil",A=>g.jsx(Lw,{...A})),j("cube",A=>g.jsx(Nw,{...A})),j("apps",A=>g.jsx(Au,{...A})),j("permissions",A=>g.jsx($p,{...A})),j("close",A=>g.jsx(sw,{...A})),j("star",A=>g.jsx(tw,{...A})),j("help",A=>g.jsx(zp,{...A})),j("compactlist",A=>g.jsx(f3,{...A})),j("copy",A=>g.jsx(D3,{...A})),j("move",A=>g.jsx(Kp,{...A})),j("rename",A=>g.jsx(Rw,{...A})),j("hyperlink",A=>g.jsx(O3,{...A})),j("globe",A=>g.jsx(Y3,{...A})),j("link",A=>g.jsx(W3,{...A})),j("looseList",A=>g.jsx(j3,{...A})),j("options",A=>g.jsx(Z3,{...A})),j("search",A=>g.jsx(s5,{...A})),j("filter",A=>g.jsx(H3,{...A})),j("trash",A=>g.jsx(B5,{...A})),j("pen",A=>g.jsx(t5,{...A})),j("email",A=>g.jsx(_3,{...A})),j("phone",A=>g.jsx(o5,{...A})),j("home",A=>g.jsx(K3,{...A})),j("user",A=>g.jsx(I5,{...A})),j("exit",A=>g.jsx(jw,{...A})),j("adduser",A=>g.jsx(nw,{...A})),j("userminus",A=>g.jsx(rw,{...A})),j("plus",A=>g.jsx(i5,{...A})),j("plus-circle",A=>g.jsx(cw,{...A})),j("filledplus",A=>g.jsx(T3,{...A})),j("chevronright",A=>g.jsx(C3,{...A})),j("chevronleft",A=>g.jsx(d3,{...A})),j("checkmark",A=>g.jsx(E3,{...A})),j("valid",A=>g.jsx(Tp,{...A})),j("info",A=>g.jsx(Pp,{...A})),j("error",A=>g.jsx(iu,{...A})),j("warning",A=>g.jsx(nu,{...A})),j("board",A=>g.jsx(B3,{...A})),j("list",A=>g.jsx($3,{...A})),j("folder",A=>g.jsx(R3,{...A})),j("folder-outline",A=>g.jsx(Jp,{...A})),j("emptyfolder",A=>g.jsx(L3,{...A})),j("pdf",A=>g.jsx(e5,{...A})),j("txt",A=>g.jsx(u5,{...A})),j("doc",A=>g.jsx(ru,{...A})),j("docx",A=>g.jsx(ru,{...A})),j("doc-outline",A=>g.jsx(b3,{...A})),j("conf",A=>g.jsx(yw,{...A})),j("code",A=>g.jsx(I3,{...A})),j("codesandbox",A=>g.jsx(w3,{...A})),j("box",A=>g.jsx(u3,{...A})),j(["xls","xlsx"],A=>g.jsx(w5,{...A})),j(["jpg","jpeg","png","webp","svg","gif","tif","ppt","pptx"],A=>g.jsx(q3,{...A})),j("unknownfile",A=>g.jsx(d5,{...A})),j("photo",A=>g.jsx(n5,{...A})),j("previous",A=>g.jsx(Mw,{...A})),j("next",A=>g.jsx(kw,{...A})),j("like",A=>g.jsx(lw,{...A})),j("reply",A=>g.jsx(Dw,{...A})),j("attach",A=>g.jsx(a3,{...A})),j("attach2",A=>g.jsx(Jw,{...A})),j("emoji",A=>g.jsx(bw,{...A})),j("message",A=>g.jsx(Kw,{...A})),j("upload",A=>g.jsx(ow,{...A})),j("split-vertical",A=>g.jsx($w,{...A})),j("split-horizontal",A=>g.jsx(Ww,{...A})),j("swap",A=>g.jsx(Sw,{...A})),j("download",A=>g.jsx(Op,{...A})),j("note",A=>g.jsx(Ow,{...A})),j("binding",A=>g.jsx(c3,{...A})),j("database",A=>g.jsx(v3,{...A})),j("unlink",A=>g.jsx(h5,{...A})),j("api",A=>g.jsx(i3,{...A})),j("expression",A=>g.jsx(P3,{...A})),j("chat",A=>g.jsx(Iw,{...A})),j("hash",A=>g.jsx(pw,{...A})),j("drive",A=>g.jsx(qp,{...A})),j("lock",A=>g.jsx(jp,{...A})),j("start",A=>g.jsx(qw,{...A})),j("stop",A=>g.jsx(zw,{...A})),j("restart",A=>g.jsx(A3,{...A})),j("duplicate",A=>g.jsx(t3,{...A})),j("connect",A=>g.jsx(Vw,{...A})),j("cog",A=>g.jsx(e3,{...A})),j("sun",A=>g.jsx(c5,{...A})),j("moon",A=>g.jsx(X3,{...A})),j("share",A=>g.jsx(l5,{...A})),j("new-window",A=>g.jsx(Xw,{...A})),j("paint",A=>g.jsx(Zw,{...A})),j("palette",A=>g.jsx(Yw,{...A})),j("trending-up",A=>g.jsx(m5,{...A})),j("trending-down",A=>g.jsx(v5,{...A})),j("trending-level",A=>g.jsx(N5,{...A})),j("sortasc",A=>g.jsx(y5,{...A})),j("sortdesc",A=>g.jsx(b5,{...A})),j("nosort",A=>g.jsx(k5,{...A})),j("arrowdown",A=>g.jsx(Ew,{...A})),j("square",A=>g.jsx(vw,{...A})),j("squarehalf",A=>g.jsx(xw,{...A})),j("squarefill",A=>g.jsx(mw,{...A}));function _5({children:A}){const e=E.useCallback(()=>Array.from(da.keys()),[]),t=E.useCallback(l=>da.get(l),[]),[o,r]=E.useState({}),n=E.useRef({}),i=E.useRef(null),s=E.useCallback(async l=>{if(n.current[l])return;const c=await(await fetch(l)).text(),B=document.createElement("div");B.style.display="none",B.innerHTML=c;const Q={};for(let C=0;C<B.children[0].attributes.length;C++){const h=B.children[0].attributes[C];h.nodeName!=="class"&&(Q[h.nodeName]=h.nodeValue)}Object.keys(Q).forEach(C=>{B.children[0].removeAttribute(C)});const u=document.createElementNS("http://www.w3.org/2000/svg","symbol");u.innerHTML=B.children[0].innerHTML,u.id=l,u.setAttributeNS(null,"viewBox",Q.viewBox),n.current[l]||(i.current.appendChild(u),n.current[l]=!0);const d={name:l,attributes:Q};r(C=>({...C,[l]:d}))},[]),a=E.useMemo(()=>({getRegisteredIconNames:e,lookupIconRenderer:t,ensureCustomSvgIcon:s,customSvgs:o}),[o,s,e,t]);return g.jsxs(m1.Provider,{value:a,children:[A,g.jsx("svg",{style:{display:"none"},ref:i})]})}const su=E.createContext(null);function F5(){return E.useContext(su)}function L5(A){return(A?new Date(A):new Date).toJSON()}function S5(A){return new Date(A).toLocaleDateString()}function P5(A){return new Date(A).toLocaleString()}function T5(A){return new Date(A).toLocaleTimeString()}function G5(A){return Ae.format(new Date(A),"H:m")}function H5(A){return new Date(A).toLocaleDateString([],{month:"numeric",day:"2-digit"})}function au(A){return A?new Date(A):new Date}function U5(A,e,t){return A?y4(A,e,t):"-"}function R5(A){return A?Ae.isToday(new Date(A))?new Date(A).toLocaleTimeString():Ae.isThisWeek(new Date(A))?`${Ae.formatRelative(new Date(A),new Date)}`:new Date(A).toLocaleString():"-"}function Y5(A){return A?Ae.isToday(new Date(A))?"Today":Ae.isYesterday(new Date(A))?"Yesterday":new Date(A).toLocaleDateString():"-"}function K5(A){return Ae.isToday(new Date(A))}function O5(A){return Ae.isYesterday(new Date(A))}function J5(A){return Ae.isTomorrow(new Date(A))}const lu={isoDateString:L5,formatDate:S5,formatDateTime:P5,formatTime:T5,formatTimeWithoutSeconds:G5,formatDateWithoutYear:H5,getDate:au,getDateUntilNow:U5,smartFormatDateTime:R5,smartFormatDate:Y5,isToday:K5,isYesterday:O5,isTomorrow:J5},gu={capitalize:QA.capitalize,pluralize:P4,defaultTo:QA.defaultTo,toHashObject:T4,findByField:G4},Xt={themeVars:'"[]"',base:"_base_gzmhm_13",hoverContainer:"_hoverContainer_gzmhm_22",handlesClick:"_handlesClick_gzmhm_32",vertical:"_vertical_gzmhm_36",reverse:"_reverse_gzmhm_40",horizontal:"_horizontal_gzmhm_44",justifyItemsStart:"_justifyItemsStart_gzmhm_52",justifyItemsCenter:"_justifyItemsCenter_gzmhm_56",justifyItemsStretch:"_justifyItemsStretch_gzmhm_60",justifyItemsEnd:"_justifyItemsEnd_gzmhm_64",alignItemsStart:"_alignItemsStart_gzmhm_69",alignItemsCenter:"_alignItemsCenter_gzmhm_73",alignItemsStretch:"_alignItemsStretch_gzmhm_77",alignItemsEnd:"_alignItemsEnd_gzmhm_81"};function Z({description:A,shortDescription:e,specializedFrom:t,status:o,props:r,events:n,contextVars:i,apis:s,nonVisual:a,opaque:l,themeVars:c,defaultThemeVars:B,toneSpecificThemeVars:Q,allowArbitraryProps:u,docFolder:d}){return{description:A,shortDescription:e,specializedFrom:t,status:o,props:r,events:n,contextVars:i,apis:s,nonVisual:a,opaque:l,themeVars:c,defaultThemeVars:B,toneSpecificThemeVars:Q,allowArbitraryProps:u,docFolder:d}}function f(A,e,t,o,r){return{description:A,availableValues:e,valueType:t,defaultValue:o,isValid:r}}function _r(A){return{description:A??"This property is for internal use only.",isInternal:!0}}function nr(A){return{description:`This event is triggered when the ${A} is clicked.`}}function wt(A){return{description:`This event is triggered when the ${A} has received the focus.`}}function ft(A){return{description:`This event is triggered when the ${A} has lost the focus.`}}function lt(A){return{description:`This event is triggered when value of ${A} has changed.`}}function cu(){return{description:"The `true` value of this property signals that the component is in an _intedeterminate state_."}}function Je(){return{description:"This property sets the label of the component."}}function Ho(A){return{description:"Places the label at the given position of the component.",availableValues:N1,defaultValue:A}}function ir(A){return{description:`This property sets the width of the \`${A}\`.`}}function sr(A){return{description:`This boolean value indicates if the \`${A}\` labels can be split into multiple lines if it would overflow the available label width.`,valueType:"boolean",defaultValue:!1}}function Dt(){return{description:"If this property is set to `true`, the component gets the focus automatically when displayed.",valueType:"boolean",defaultValue:!1}}function Zt(A){return{description:"This property sets the component's initial value.",defaultValue:A}}function Bo(){return{description:"Set this property to `true` to disallow changing the component value."}}function Ze(){return{description:"This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).",valueType:"boolean",defaultValue:!0}}function Bu(){return{description:"The `true` value of the property indicates if the user can select multiple items.",valueType:"boolean",defaultValue:!1}}function Qo(){return{description:"This property allows you to set the validation status of the input component.",availableValues:J2}}function Qu(){return{description:"You can query this read-only API property to query the component's current value (`true`: checked, `false`: unchecked)."}}function Uo(){return{description:"You can use this method to set the component's current value programmatically (`true`: checked, `false`: unchecked)."}}function se(A){return{description:A,valueType:"ComponentDef"}}function Fr(){return{description:"A placeholder text that is visible in the input field when its empty."}}function ui(){return{description:"This property sets the maximum length of the input it accepts."}}function uo(){return{description:"Set this property to `true` to indicate it must have a value before submitting the containing form."}}function uu(){return{description:"This property sets a text to appear at the start (left side when the left-to-right direction is set) of the input."}}function Eu(){return{description:"This property sets an icon to appear at the start (left side when the left-to-right direction is set) of the input."}}function du(){return{description:"This property sets a text to appear on the end (right side when the left-to-right direction is set) of the input."}}function Cu(){return{description:"This property sets an icon to appear on the end (right side when the left-to-right direction is set) of the input."}}function q5(A){return{description:`This property indicates if the ${A} is expanded (\`true\`) or collapsed (\`false\`).`}}function z5(A){return{description:`This method expands the ${A}.`}}function W5(A){return{description:`This method collapses the ${A}.`}}function Eo(A){return{description:`This method sets the focus on the ${A}.`}}function Ug(){return{description:"You can query the component's value. If no value is set, it will retrieve `undefined`."}}function $5(A){return{description:`This event is triggered when the ${A} has been displayed. The event handler has a single boolean argument set to \`true\`, indicating that the user opened the component.`}}function j5(A){return{description:`This event is triggered when the ${A} has been closed. The event handler has a single boolean argument set to \`true\`, indicating that the user closed the component.`}}function hu(A){return{description:`This property allows you to define a custom trigger instead of the default one provided by \`${A}\`.`,valueType:"ComponentDef"}}function V5(A){return{description:"This property sets the main axis along which the nested components are rendered.",availableValues:Lg,valueType:"string",defaultValue:A}}function X5(A,e,t){return E.useMemo(()=>A==="horizontal"?{horizontal:e&&Xt[`justifyItems${ni(e)}`],vertical:t&&Xt[`alignItems${ni(t)}`]}:{horizontal:e&&Xt[`alignItems${ni(e)}`],vertical:t&&Xt[`justifyItems${ni(t)}`]},[A,e,t])}const Iu="vertical",gt=E.forwardRef(function({uid:e,children:t,orientation:o=Iu,horizontalAlignment:r,verticalAlignment:n,layout:i,reverse:s,hoverContainer:a,visibleOnHover:l,onClick:c,onMount:B,...Q},u){E8(B);const{horizontal:d,vertical:C}=X5(o,r,n);return g.jsx("div",{...Q,onClick:c,ref:u,style:i,className:cA(Xt.base,{[Xt.vertical]:o==="vertical",[Xt.horizontal]:o==="horizontal",[Xt.reverse]:s,[Xt.hoverContainer]:a,"display-on-hover":l,[Xt.handlesClick]:!!c},d??"",C??""),children:t})}),un="Stack",Rg=f("Manages the horizontal content alignment for each child element in the Stack."),Yg=f("Manages the vertical content alignment for each child element in the Stack."),Ca=Z({description:"`Stack` is a layout container displaying children in a horizontal or vertical stack.",props:{gap:f("Optional size value indicating the gap between child elements."),reverse:f("Optional boolean property to reverse the order of child elements."),wrapContent:f("Optional boolean which wraps the content if set to true and the available space is not big enough. Works in all orientations."),hoverContainer:f("Reserved for future use"),visibleOnHover:f("Reserved for future use")},events:{click:nr(un),mounted:f("Reserved for future use")},themeVars:pA(Xt.themeVars)}),Ei={...Ca,props:{...Ca.props,orientation:f("An optional property that governs the Stack's orientation (whether the Stack lays out its children in a row or a column)."),horizontalAlignment:Rg,verticalAlignment:Yg}},Z5={...Ei,specializedFrom:un,description:"This component represents a stack rendering its contents vertically.",props:{...Ca.props,horizontalAlignment:Rg,verticalAlignment:Yg}},A6={...Ei,specializedFrom:un,description:"This component represents a stack rendering its contents horizontally.",props:{...Ca.props,horizontalAlignment:Rg,verticalAlignment:Yg}},e6={...Ei,specializedFrom:un,description:"This component represents a stack that renders its contents vertically and aligns that in the center along both axes."},t6={...Ei,specializedFrom:un,description:"This component represents a stack that renders its contents horizontally and aligns that in the center along both axes."};function di({node:A,layoutNonCss:e,extractValue:t,layoutCss:o,lookupEventHandler:r,renderChild:n,orientation:i=e.orientation||Iu,horizontalAlignment:s=e.horizontalAlignment,verticalAlignment:a=e.verticalAlignment}){var l,c,B;if(!Eg(A.children))throw new Bi;return g.jsx(gt,{orientation:i,horizontalAlignment:s,verticalAlignment:a,reverse:t((l=A.props)==null?void 0:l.reverse),hoverContainer:t((c=A.props)==null?void 0:c.hoverContainer),visibleOnHover:t((B=A.props)==null?void 0:B.visibleOnHover),layout:o,onMount:r("mounted"),children:n(A.children,{type:"Stack",orientation:i})})}const o6=AA(un,Ei,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t})),r6=AA("VStack",Z5,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t,orientation:"vertical"})),n6=AA("HStack",A6,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t,orientation:"horizontal"})),i6=AA("CVStack",e6,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t,orientation:"vertical",horizontalAlignment:"center",verticalAlignment:"center"})),s6=AA("CHStack",t6,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t,orientation:"horizontal",horizontalAlignment:"center",verticalAlignment:"center"})),pu={themeVars:'"[]"',spacer:"_spacer_1414d_13"},wu=()=>g.jsx("div",{className:pu.spacer}),fu="SpaceFiller",a6=Z({description:`The \`${fu}\` is a component that works well in layout containers to fill the remaining (unused) space. Its behavior depends on the layout container in which it is used.`,themeVars:pA(pu.themeVars)}),l6=AA(fu,a6,()=>g.jsx(wu,{})),Co={themeVars:`'{"Input:radius-Textarea-default": "var(--xmlui-radius-Textarea-default)", "Input:color-border-Textarea-default": "var(--xmlui-color-border-Textarea-default)", "Input:thickness-border-Textarea-default": "var(--xmlui-thickness-border-Textarea-default)", "Input:style-border-Textarea-default": "var(--xmlui-style-border-Textarea-default)", "Input:font-size-Textarea-default": "var(--xmlui-font-size-Textarea-default)", "Input:padding-Textarea-default": "var(--xmlui-padding-Textarea-default)", "Input:color-bg-Textarea-default": "var(--xmlui-color-bg-Textarea-default)", "Input:shadow-Textarea-default": "var(--xmlui-shadow-Textarea-default)", "Input:color-text-Textarea-default": "var(--xmlui-color-text-Textarea-default)", "Input:color-border-Textarea-default--hover": "var(--xmlui-color-border-Textarea-default--hover)", "Input:color-bg-Textarea-default--hover": "var(--xmlui-color-bg-Textarea-default--hover)", "Input:shadow-Textarea-default--hover": "var(--xmlui-shadow-Textarea-default--hover)", "Input:color-text-Textarea-default--hover": "var(--xmlui-color-text-Textarea-default--hover)", "Input:color-border-Textarea-default--focus": "var(--xmlui-color-border-Textarea-default--focus)", "Input:color-bg-Textarea-default--focus": "var(--xmlui-color-bg-Textarea-default--focus)", "Input:shadow-Textarea-default--focus": "var(--xmlui-shadow-Textarea-default--focus)", "Input:color-text-Textarea-default--focus": "var(--xmlui-color-text-Textarea-default--focus)", "Input:thickness-outline-Textarea-default--focus": "var(--xmlui-thickness-outline-Textarea-default--focus)", "Input:color-outline-Textarea-default--focus": "var(--xmlui-color-outline-Textarea-default--focus)", "Input:style-outline-Textarea-default--focus": "var(--xmlui-style-outline-Textarea-default--focus)", "Input:offset-outline-Textarea-default--focus": "var(--xmlui-offset-outline-Textarea-default--focus)", "Input:color-placeholder-Textarea-default": "var(--xmlui-color-placeholder-Textarea-default)", "Input:radius-Textarea-error": "var(--xmlui-radius-Textarea-error)", "Input:color-border-Textarea-error": "var(--xmlui-color-border-Textarea-error)", "Input:thickness-border-Textarea-error": "var(--xmlui-thickness-border-Textarea-error)", "Input:style-border-Textarea-error": "var(--xmlui-style-border-Textarea-error)", "Input:font-size-Textarea-error": "var(--xmlui-font-size-Textarea-error)", "Input:padding-Textarea-error": "var(--xmlui-padding-Textarea-error)", "Input:color-bg-Textarea-error": "var(--xmlui-color-bg-Textarea-error)", "Input:shadow-Textarea-error": "var(--xmlui-shadow-Textarea-error)", "Input:color-text-Textarea-error": "var(--xmlui-color-text-Textarea-error)", "Input:color-border-Textarea-error--hover": "var(--xmlui-color-border-Textarea-error--hover)", "Input:color-bg-Textarea-error--hover": "var(--xmlui-color-bg-Textarea-error--hover)", "Input:shadow-Textarea-error--hover": "var(--xmlui-shadow-Textarea-error--hover)", "Input:color-text-Textarea-error--hover": "var(--xmlui-color-text-Textarea-error--hover)", "Input:color-border-Textarea-error--focus": "var(--xmlui-color-border-Textarea-error--focus)", "Input:color-bg-Textarea-error--focus": "var(--xmlui-color-bg-Textarea-error--focus)", "Input:shadow-Textarea-error--focus": "var(--xmlui-shadow-Textarea-error--focus)", "Input:color-text-Textarea-error--focus": "var(--xmlui-color-text-Textarea-error--focus)", "Input:thickness-outline-Textarea-error--focus": "var(--xmlui-thickness-outline-Textarea-error--focus)", "Input:color-outline-Textarea-error--focus": "var(--xmlui-color-outline-Textarea-error--focus)", "Input:style-outline-Textarea-error--focus": "var(--xmlui-style-outline-Textarea-error--focus)", "Input:offset-outline-Textarea-error--focus": "var(--xmlui-offset-outline-Textarea-error--focus)", "Input:color-placeholder-Textarea-error": "var(--xmlui-color-placeholder-Textarea-error)", "Input:radius-Textarea-warning": "var(--xmlui-radius-Textarea-warning)", "Input:color-border-Textarea-warning": "var(--xmlui-color-border-Textarea-warning)", "Input:thickness-border-Textarea-warning": "var(--xmlui-thickness-border-Textarea-warning)", "Input:style-border-Textarea-warning": "var(--xmlui-style-border-Textarea-warning)", "Input:font-size-Textarea-warning": "var(--xmlui-font-size-Textarea-warning)", "Input:padding-Textarea-warning": "var(--xmlui-padding-Textarea-warning)", "Input:color-bg-Textarea-warning": "var(--xmlui-color-bg-Textarea-warning)", "Input:shadow-Textarea-warning": "var(--xmlui-shadow-Textarea-warning)", "Input:color-text-Textarea-warning": "var(--xmlui-color-text-Textarea-warning)", "Input:color-border-Textarea-warning--hover": "var(--xmlui-color-border-Textarea-warning--hover)", "Input:color-bg-Textarea-warning--hover": "var(--xmlui-color-bg-Textarea-warning--hover)", "Input:shadow-Textarea-warning--hover": "var(--xmlui-shadow-Textarea-warning--hover)", "Input:color-text-Textarea-warning--hover": "var(--xmlui-color-text-Textarea-warning--hover)", "Input:color-border-Textarea-warning--focus": "var(--xmlui-color-border-Textarea-warning--focus)", "Input:color-bg-Textarea-warning--focus": "var(--xmlui-color-bg-Textarea-warning--focus)", "Input:shadow-Textarea-warning--focus": "var(--xmlui-shadow-Textarea-warning--focus)", "Input:color-text-Textarea-warning--focus": "var(--xmlui-color-text-Textarea-warning--focus)", "Input:thickness-outline-Textarea-warning--focus": "var(--xmlui-thickness-outline-Textarea-warning--focus)", "Input:color-outline-Textarea-warning--focus": "var(--xmlui-color-outline-Textarea-warning--focus)", "Input:style-outline-Textarea-warning--focus": "var(--xmlui-style-outline-Textarea-warning--focus)", "Input:offset-outline-Textarea-warning--focus": "var(--xmlui-offset-outline-Textarea-warning--focus)", "Input:color-placeholder-Textarea-warning": "var(--xmlui-color-placeholder-Textarea-warning)", "Input:radius-Textarea-success": "var(--xmlui-radius-Textarea-success)", "Input:color-border-Textarea-success": "var(--xmlui-color-border-Textarea-success)", "Input:thickness-border-Textarea-success": "var(--xmlui-thickness-border-Textarea-success)", "Input:style-border-Textarea-success": "var(--xmlui-style-border-Textarea-success)", "Input:font-size-Textarea-success": "var(--xmlui-font-size-Textarea-success)", "Input:padding-Textarea-success": "var(--xmlui-padding-Textarea-success)", "Input:color-bg-Textarea-success": "var(--xmlui-color-bg-Textarea-success)", "Input:shadow-Textarea-success": "var(--xmlui-shadow-Textarea-success)", "Input:color-text-Textarea-success": "var(--xmlui-color-text-Textarea-success)", "Input:color-border-Textarea-success--hover": "var(--xmlui-color-border-Textarea-success--hover)", "Input:color-bg-Textarea-success--hover": "var(--xmlui-color-bg-Textarea-success--hover)", "Input:shadow-Textarea-success--hover": "var(--xmlui-shadow-Textarea-success--hover)", "Input:color-text-Textarea-success--hover": "var(--xmlui-color-text-Textarea-success--hover)", "Input:color-border-Textarea-success--focus": "var(--xmlui-color-border-Textarea-success--focus)", "Input:color-bg-Textarea-success--focus": "var(--xmlui-color-bg-Textarea-success--focus)", "Input:shadow-Textarea-success--focus": "var(--xmlui-shadow-Textarea-success--focus)", "Input:color-text-Textarea-success--focus": "var(--xmlui-color-text-Textarea-success--focus)", "Input:thickness-outline-Textarea-success--focus": "var(--xmlui-thickness-outline-Textarea-success--focus)", "Input:color-outline-Textarea-success--focus": "var(--xmlui-color-outline-Textarea-success--focus)", "Input:style-outline-Textarea-success--focus": "var(--xmlui-style-outline-Textarea-success--focus)", "Input:offset-outline-Textarea-success--focus": "var(--xmlui-offset-outline-Textarea-success--focus)", "Input:color-placeholder-Textarea-success": "var(--xmlui-color-placeholder-Textarea-success)", "Input:color-bg-Textarea--disabled": "var(--xmlui-color-bg-Textarea--disabled)", "Input:color-text-Textarea--disabled": "var(--xmlui-color-text-Textarea--disabled)", "Input:color-border-Textarea--disabled": "var(--xmlui-color-border-Textarea--disabled)"}'`,textarea:"_textarea_8qfuq_13",error:"_error_8qfuq_53",warning:"_warning_8qfuq_85",valid:"_valid_8qfuq_117",resizeHorizontal:"_resizeHorizontal_8qfuq_156",resizeVertical:"_resizeVertical_8qfuq_160",resizeBoth:"_resizeBoth_8qfuq_164"},Du=(A,e)=>{if(typeof A=="function"){A(e);return}A.current=e},g6=(A,e)=>{const t=K.useRef();return K.useCallback(o=>{A.current=o,t.current&&Du(t.current,null),t.current=e,e&&Du(e,o)},[e])},c6=()=>{},B6=({maxRows:A,minRows:e,onChange:t=c6,style:o,...r},n)=>{const i=E.useRef(null),s=g6(i,n),[a,l]=K.useState(),[c,B]=K.useState();return E.useEffect(()=>{if(!i.current)return;const Q=getComputedStyle(i.current),u=parseFloat(Q.lineHeight),d=parseFloat(Q.paddingTop)+parseFloat(Q.paddingBottom),C=parseFloat(Q.borderTop)+parseFloat(Q.borderBottom),h=(Q.boxSizing==="border-box"?C:0)+d;l(u*(e??1)+h),B(u*(A??1e4)+h)},[i.current,A,e]),g.jsx("textarea",{ref:s,...r,onChange:t,style:{...o,minHeight:a,maxHeight:c}})},Q6=K.forwardRef(B6),Ft={themeVars:`'{"color-text-FormItemLabel": "var(--xmlui-color-text-FormItemLabel)", "font-size-FormItemLabel": "var(--xmlui-font-size-FormItemLabel)", "font-weight-FormItemLabel": "var(--xmlui-font-weight-FormItemLabel)", "font-style-FormItemLabel": "var(--xmlui-font-style-FormItemLabel)", "transform-text-FormItemLabel": "var(--xmlui-transform-text-FormItemLabel)", "color-text-FormItemLabel-required": "var(--xmlui-color-text-FormItemLabel-required)", "font-size-FormItemLabel-required": "var(--xmlui-font-size-FormItemLabel-required)", "font-weight-FormItemLabel-required": "var(--xmlui-font-weight-FormItemLabel-required)", "font-style-FormItemLabel-required": "var(--xmlui-font-style-FormItemLabel-required)", "transform-text-FormItemLabel-required": "var(--xmlui-transform-text-FormItemLabel-required)", "color-text-FormItemLabel-requiredMark": "var(--xmlui-color-text-FormItemLabel-requiredMark)"}'`,container:"_container_1ylw9_13",top:"_top_1ylw9_20",end:"_end_1ylw9_25",bottom:"_bottom_1ylw9_31",start:"_start_1ylw9_36",shrinkToLabel:"_shrinkToLabel_1ylw9_42",inputLabel:"_inputLabel_1ylw9_45",disabled:"_disabled_1ylw9_57",labelBreak:"_labelBreak_1ylw9_61",required:"_required_1ylw9_65",requiredMark:"_requiredMark_1ylw9_72"},Kg={themeVars:`'{"size-Spinner": "var(--xmlui-size-Spinner)", "thickness-Spinner": "var(--xmlui-thickness-Spinner)", "color-border-Spinner": "var(--xmlui-color-border-Spinner)"}'`,"lds-ring":"_lds-ring_xu4p3_13",fullScreenSpinnerWrapper:"_fullScreenSpinnerWrapper_xu4p3_54"};function ha({delay:A=400,fullScreen:e=!1,style:t}){const[o,r]=E.useState(A===0);E.useEffect(()=>{const i=setTimeout(()=>{r(!0)},A);return()=>{clearTimeout(i)}},[A]);const n=g.jsx(g.Fragment,{children:g.jsxs("div",{className:Kg["lds-ring"],style:t,children:[g.jsx("div",{}),g.jsx("div",{}),g.jsx("div",{}),g.jsx("div",{})]})});return o?e?g.jsx("div",{className:Kg.fullScreenSpinnerWrapper,children:n}):n:null}function Ia(){return Ia=Object.assign?Object.assign.bind():function(A){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var o in t)({}).hasOwnProperty.call(t,o)&&(A[o]=t[o])}return A},Ia.apply(null,arguments)}const Og=E.forwardRef((A,e)=>{const{children:t,...o}=A,r=E.Children.toArray(t),n=r.find(E6);if(n){const i=n.props.children,s=r.map(a=>a===n?E.Children.count(i)>1?E.Children.only(null):E.isValidElement(i)?i.props.children:null:a);return E.createElement(Jg,Ia({},o,{ref:e}),E.isValidElement(i)?E.cloneElement(i,void 0,s):null)}return E.createElement(Jg,Ia({},o,{ref:e}),t)});Og.displayName="Slot";const Jg=E.forwardRef((A,e)=>{const{children:t,...o}=A;return E.isValidElement(t)?E.cloneElement(t,{...d6(o,t.props),ref:e?jt(e,t.ref):t.ref}):E.Children.count(t)>1?E.Children.only(null):null});Jg.displayName="SlotClone";const u6=({children:A})=>E.createElement(E.Fragment,null,A);function E6(A){return E.isValidElement(A)&&A.type===u6}function d6(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]=(...s)=>{n(...s),r(...s)}:r&&(t[o]=r):o==="style"?t[o]={...r,...n}:o==="className"&&(t[o]=[r,n].filter(Boolean).join(" "))}return{...A,...t}}const C6=/^[0-9]+$/;function ho({id:A,labelPosition:e="top",style:t,label:o,labelBreak:r=!0,labelWidth:n,enabled:i=!0,required:s=!1,children:a,validationInProgress:l=!1,shrinkToLabel:c=!1,onFocus:B,onBlur:Q,labelStyle:u,validationResult:d}){const C=E.useId(),h=A||C;return o===void 0?g.jsx(Og,{style:t,id:h,onFocus:B,onBlur:Q,children:a}):g.jsxs("div",{style:t,children:[g.jsxs("div",{className:cA(Ft.container,{[Ft.top]:e==="top",[Ft.bottom]:e==="bottom",[Ft.start]:e==="start",[Ft.end]:e==="end",[Ft.shrinkToLabel]:c}),onFocus:B,onBlur:Q,children:[o&&g.jsxs("label",{htmlFor:h,onClick:()=>document.getElementById(h).focus(),style:{...u,width:n&&C6.test(n)?`${n}px`:n,flexShrink:n!==void 0?0:void 0},className:cA(Ft.inputLabel,{[Ft.required]:s,[Ft.disabled]:!i,[Ft.labelBreak]:r}),children:[o," ",s&&g.jsx("span",{className:Ft.requiredMark,children:"*"}),l&&g.jsx(ha,{style:{height:"1em",width:"1em",marginLeft:"1em",alignSelf:"center"}})]}),E.Children.only(g.jsx(Og,{id:h,children:a}))]}),d]})}const h6={horizontal:Co.resizeHorizontal,vertical:Co.resizeVertical,both:Co.resizeBoth},mu=({id:A,value:e="",placeholder:t="",required:o=!1,readOnly:r=!1,allowCopy:n=!0,updateState:i=vA,validationStatus:s,autoFocus:a=!1,initialValue:l="",resize:c,onDidChange:B=vA,onFocus:Q=vA,onBlur:u=vA,controlled:d=!0,enterSubmits:C=!0,escResets:h,style:I,registerComponentApi:p,autoSize:D,maxRows:m,minRows:k,maxLength:N,rows:L=2,enabled:M=!0,label:F,labelPosition:v,labelWidth:y,labelBreak:P})=>{const b=E.useRef(null),[_,q]=E.useState(null),[J,z]=E.useState(!1),T=E.useCallback(eA=>{i({value:eA}),B(eA)},[B,i]),S=E.useCallback(eA=>{T(eA.target.value)},[T]);E.useEffect(()=>{i({value:l},{initial:!0})},[l,i]);const G=eA=>n?!0:(eA.preventDefault(),!1),Y=()=>{z(!0),Q==null||Q()},U=()=>{z(!1),u==null||u()},V=E.useCallback(()=>{setTimeout(()=>{var eA;(eA=b.current)==null||eA.focus()},0)},[]),tA=E.useCallback(eA=>{const oA=b==null?void 0:b.current;if(oA&&eA){const W=oA.selectionStart,$=oA.value;S({target:{value:$.substring(0,W)+eA+$.substring(W)}}),q(W+eA.length)}},[b,S]),uA=HA(eA=>{T(eA)});E.useEffect(()=>{if(_){const eA=b==null?void 0:b.current;eA&&(eA.setSelectionRange(_,_),q(null))}},[e,_,b]),E.useEffect(()=>{p==null||p({focus:V,insert:tA,setValue:uA})},[V,tA,p,uA]);const EA=E.useCallback(eA=>{var oA,W;eA.currentTarget.form&&C&&eA.key.toLowerCase()==="enter"&&!eA.shiftKey&&(eA.preventDefault(),(oA=eA.currentTarget.form)==null||oA.requestSubmit()),eA.currentTarget.form&&h&&eA.key.toLowerCase()==="escape"&&!eA.shiftKey&&(eA.preventDefault(),(W=eA.currentTarget.form)==null||W.reset())},[C,h]),hA={className:cA(Co.textarea,c?h6[c]:"",{[Co.focused]:J,[Co.disabled]:!M,[Co.error]:s==="error",[Co.warning]:s==="warning",[Co.valid]:s==="valid"}),ref:b,style:I,value:d?e||"":void 0,disabled:!M,autoFocus:a,name:A,placeholder:t,required:o,maxLength:N,"aria-multiline":!0,"aria-readonly":r,readOnly:r,onChange:S,onCopy:G,onFocus:Y,onBlur:U,onKeyDown:EA,autoComplete:"off"};return c==="both"||c==="horizontal"||c==="vertical"?g.jsx(ho,{labelPosition:v,label:F,labelWidth:y,labelBreak:P,required:o,enabled:M,onFocus:Q,onBlur:u,style:I,children:g.jsx(Q6,{...hA,style:I,maxRows:m,minRows:k,rows:L})}):D||!QA.isNil(m)||!QA.isNil(k)?g.jsx(ho,{labelPosition:v,label:F,labelWidth:y,labelBreak:P,required:o,enabled:M,onFocus:Q,onBlur:u,style:I,children:g.jsx(t4,{...hA,style:I,maxRows:m,minRows:k,rows:L})}):g.jsx(ho,{labelPosition:v,label:F,labelWidth:y,labelBreak:P,required:o,enabled:M,onFocus:Q,onBlur:u,style:I,children:g.jsx("textarea",{...hA,rows:L})})},Lt="TextArea",I6=[{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"}],p6=Z({status:"experimental",description:`\`${Lt}\` is a component that provides a multiline text input area.`,props:{enterSubmits:f("This optional boolean property indicates whether pressing the `Enter` key on the keyboard prompts the parent `Form` component to submit. The default value is is `true`."),escResets:f(`This boolean property indicates whether the ${Lt} contents should be reset when pressing the ESC key.`),maxRows:f(`This optional number property maximizes the number of lines the \`${Lt}\` can grow to.`),minRows:f(`This optional number property indicates the minimum number of lines the \`${Lt}\` has and specifies its size accordingly.`),rows:f("Specifies the number of lines or rows (and thus, its size) the component has."),autoSize:f(`If set to \`true\`, this boolean property enables the \`${Lt}\` to resize automatically based on the number of lines inside it.`,null,"boolean",!1),placeholder:Fr(),initialValue:Zt(),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Lt),labelBreak:sr(Lt),maxLength:ui(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),resize:f("This optional property specifies in which dimensions can the `TextArea` be resized by the user.",I6)},events:{gotFocus:wt(Lt),lostFocus:ft(Lt),didChange:lt(Lt)},apis:{focus:Eo(Lt),value:f("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Uo()},themeVars:pA(Co.themeVars)}),w6=AA(Lt,p6,({node:A,extractValue:e,state:t,updateState:o,layoutCss:r,registerComponentApi:n,lookupEventHandler:i})=>{const s=e(A.props.initialValue);return g.jsx(mu,{value:t==null?void 0:t.value,initialValue:s,updateState:o,autoFocus:e.asOptionalBoolean(A.props.autoFocus),enabled:e.asOptionalBoolean(A.props.enabled),placeholder:e(A.props.placeholder),onDidChange:i("didChange"),onFocus:i("gotFocus"),onBlur:i("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}-${s}`)}),Ao={themeVars:`'{"radius-NavLink": "var(--xmlui-radius-NavLink)", "color-bg-NavLink": "var(--xmlui-color-bg-NavLink)", "color-bg-NavLink--hover": "var(--xmlui-color-bg-NavLink--hover)", "color-bg-NavLink--hover--active": "var(--xmlui-color-bg-NavLink--hover--active)", "color-bg-NavLink--active": "var(--xmlui-color-bg-NavLink--active)", "color-bg-NavLink--pressed": "var(--xmlui-color-bg-NavLink--pressed)", "color-bg-NavLink--pressed--active": "var(--xmlui-color-bg-NavLink--pressed--active)", "padding-horizontal-NavLink": "var(--xmlui-padding-horizontal-NavLink)", "padding-vertical-NavLink": "var(--xmlui-padding-vertical-NavLink)", "font-size-NavLink": "var(--xmlui-font-size-NavLink)", "color-text-NavLink": "var(--xmlui-color-text-NavLink)", "color-text-NavLink--hover": "var(--xmlui-color-text-NavLink--hover)", "color-text-NavLink--active": "var(--xmlui-color-text-NavLink--active)", "color-text-NavLink--hover--active": "var(--xmlui-color-text-NavLink--hover--active)", "color-text-NavLink--pressed": "var(--xmlui-color-text-NavLink--pressed)", "color-text-NavLink--pressed--active": "var(--xmlui-color-text-NavLink--pressed--active)", "color-icon-NavLink": "var(--xmlui-color-icon-NavLink)", "font-family-NavLink": "var(--xmlui-font-family-NavLink)", "font-weight-NavLink": "var(--xmlui-font-weight-NavLink)", "font-weight-NavLink--pressed": "var(--xmlui-font-weight-NavLink--pressed)", "font-weight-NavLink--active": "var(--xmlui-font-weight-NavLink--active)", "radius-indicator-NavLink": "var(--xmlui-radius-indicator-NavLink)", "thickness-indicator-NavLink": "var(--xmlui-thickness-indicator-NavLink)", "color-indicator-NavLink": "var(--xmlui-color-indicator-NavLink)", "color-indicator-NavLink--hover": "var(--xmlui-color-indicator-NavLink--hover)", "color-indicator-NavLink--active": "var(--xmlui-color-indicator-NavLink--active)", "color-indicator-NavLink--pressed": "var(--xmlui-color-indicator-NavLink--pressed)", "thickness-outline-NavLink--focus": "var(--xmlui-thickness-outline-NavLink--focus)", "color-outline-NavLink--focus": "var(--xmlui-color-outline-NavLink--focus)", "style-outline-NavLink--focus": "var(--xmlui-style-outline-NavLink--focus)", "offset-outline-NavLink--focus": "var(--xmlui-offset-outline-NavLink--focus)"}'`,content:"_content_qpkxv_13",base:"_base_qpkxv_13",icon:"_icon_qpkxv_33",includeHoverIndicator:"_includeHoverIndicator_qpkxv_39",displayActive:"_displayActive_qpkxv_49",navItemActive:"_navItemActive_qpkxv_86",disabled:"_disabled_qpkxv_121",vertical:"_vertical_qpkxv_125",indented:"_indented_qpkxv_134"},f6=[{value:"vertical",description:"This layout puts the navigation bar on the left side and displays its items vertically. The main content is aligned to the right (including the header and the footer), and its content is a single scroll container; every part of it moves as you scroll the page. This layout does not display the logo in the app header."},{value:"vertical-sticky",description:"Similar to `vertical`, the header and the navigation bar dock to the top of the main content's viewport, while the footer sticks to the bottom. This layout does not display the logo in the app header."},{value:"vertical-full-header",description:"Similar to `vertical-sticky`. However, the header and the navigation bar dock to the top of the app's window, while the footer sticks to the bottom."},{value:"condensed",description:"Similar to `horizontal`. However, the header and the navigation bar are in a single header block. (default)"},{value:"condensed-sticky",description:"However, the header and the navigation bar are in a single header block."},{value:"horizontal",description:"This layout stacks the layout sections in a single column in this order: header, navigation bar, main content, and footer. The application is a single scroll container; every part moves as you scroll the page."},{value:"horizontal-sticky",description:"Similar to `horizontal`, the header and the navigation bar dock to the top of the viewport, while the footer sticks to the bottom."}],xu=E.createContext(null);function En(){return E.useContext(xu)}const bA={themeVars:`'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "shadow-header-App": "var(--xmlui-shadow-header-App)", "shadow-pages-App": "var(--xmlui-shadow-pages-App)", "max-content-width-App": "var(--xmlui-max-content-width-App)", "color-bg-AppHeader": "var(--xmlui-color-bg-AppHeader)", "border-bottom-AppHeader": "var(--xmlui-border-bottom-AppHeader)"}'`,wrapper:"_wrapper_ru06q_13",vertical:"_vertical_ru06q_23",contentWrapper:"_contentWrapper_ru06q_27",navPanelWrapper:"_navPanelWrapper_ru06q_32",PagesWrapper:"_PagesWrapper_ru06q_36",footerWrapper:"_footerWrapper_ru06q_40",sticky:"_sticky_ru06q_43",horizontal:"_horizontal_ru06q_47",verticalFullHeader:"_verticalFullHeader_ru06q_67",PagesWrapperInner:"_PagesWrapperInner_ru06q_84",scrollWholePage:"_scrollWholePage_ru06q_96",headerWrapper:"_headerWrapper_ru06q_99",content:"_content_ru06q_27",noScrollbarGutters:"_noScrollbarGutters_ru06q_137"},Lr={overlay:"_overlay_p470r_39","blur-in":"_blur-in_p470r_1","blur-out":"_blur-out_p470r_1",sheetContent:"_sheetContent_p470r_55","slide-in-from-left":"_slide-in-from-left_p470r_1","slide-out-to-left":"_slide-out-to-left_p470r_1",top:"_top_p470r_70",bottom:"_bottom_p470r_76",left:"_left_p470r_82",right:"_right_p470r_91",close:"_close_p470r_101"},D6=Ke.Root,m6=Ke.Portal,vu=K.forwardRef(({className:A,...e},t)=>g.jsx(Ke.Overlay,{className:cA(Lr.overlay,A),...e,ref:t}));vu.displayName=Ke.Overlay.displayName;const yu=K.forwardRef(({side:A="left",className:e,children:t,...o},r)=>{const{root:n}=ce();return g.jsxs(m6,{container:n,children:[g.jsx(vu,{}),g.jsxs(Ke.Content,{forceMount:!0,ref:r,className:cA(Lr.sheetContent,{[Lr.top]:A==="top",[Lr.bottom]:A==="bottom",[Lr.left]:A==="left",[Lr.right]:A==="right"},e),...o,children:[t,g.jsxs(Ke.Close,{className:Lr.close,children:[g.jsx(kA,{name:"close"}),g.jsx(IQ.VisuallyHidden,{children:"Close"})]})]})]})});yu.displayName=Ke.Content.displayName;const x6=K.forwardRef(({className:A,...e},t)=>g.jsx(Ke.Title,{ref:t,className:cA("text-lg font-semibold text-foreground",A),...e}));x6.displayName=Ke.Title.displayName;const v6=K.forwardRef(({className:A,...e},t)=>g.jsx(Ke.Description,{ref:t,className:cA("text-sm text-muted-foreground",A),...e}));v6.displayName=Ke.Description.displayName;const Io=E.createContext(null),Ro={themeVars:`'{"padding-horizontal-AppHeader": "var(--xmlui-padding-horizontal-AppHeader)", "padding-vertical-AppHeader": "var(--xmlui-padding-vertical-AppHeader)", "padding-top-AppHeader": "var(--xmlui-padding-top-AppHeader)", "padding-bottom-AppHeader": "var(--xmlui-padding-bottom-AppHeader)", "padding-left-AppHeader": "var(--xmlui-padding-left-AppHeader)", "padding-right-AppHeader": "var(--xmlui-padding-right-AppHeader)", "padding-AppHeader": "var(--xmlui-padding-AppHeader)", "padding-horizontal-logo-AppHeader": "var(--xmlui-padding-horizontal-logo-AppHeader)", "padding-vertical-logo-AppHeader": "var(--xmlui-padding-vertical-logo-AppHeader)", "padding-top-logo-AppHeader": "var(--xmlui-padding-top-logo-AppHeader)", "padding-bottom-logo-AppHeader": "var(--xmlui-padding-bottom-logo-AppHeader)", "padding-left-logo-AppHeader": "var(--xmlui-padding-left-logo-AppHeader)", "padding-right-logo-AppHeader": "var(--xmlui-padding-right-logo-AppHeader)", "padding-logo-AppHeader": "var(--xmlui-padding-logo-AppHeader)", "color-border-horizontal-AppHeader": "var(--xmlui-color-border-horizontal-AppHeader)", "thickness-border-horizontal-AppHeader": "var(--xmlui-thickness-border-horizontal-AppHeader)", "style-border-horizontal-AppHeader": "var(--xmlui-style-border-horizontal-AppHeader)", "color-border-vertical-AppHeader": "var(--xmlui-color-border-vertical-AppHeader)", "thickness-border-vertical-AppHeader": "var(--xmlui-thickness-border-vertical-AppHeader)", "style-border-vertical-AppHeader": "var(--xmlui-style-border-vertical-AppHeader)", "color-border-left-AppHeader": "var(--xmlui-color-border-left-AppHeader)", "thickness-border-left-AppHeader": "var(--xmlui-thickness-border-left-AppHeader)", "style-border-left-AppHeader": "var(--xmlui-style-border-left-AppHeader)", "color-border-right-AppHeader": "var(--xmlui-color-border-right-AppHeader)", "thickness-border-right-AppHeader": "var(--xmlui-thickness-border-right-AppHeader)", "style-border-right-AppHeader": "var(--xmlui-style-border-right-AppHeader)", "color-border-top-AppHeader": "var(--xmlui-color-border-top-AppHeader)", "thickness-border-top-AppHeader": "var(--xmlui-thickness-border-top-AppHeader)", "style-border-top-AppHeader": "var(--xmlui-style-border-top-AppHeader)", "color-border-bottom-AppHeader": "var(--xmlui-color-border-bottom-AppHeader)", "thickness-border-bottom-AppHeader": "var(--xmlui-thickness-border-bottom-AppHeader)", "style-border-bottom-AppHeader": "var(--xmlui-style-border-bottom-AppHeader)", "color-border-AppHeader": "var(--xmlui-color-border-AppHeader)", "thickness-border-AppHeader": "var(--xmlui-thickness-border-AppHeader)", "style-border-AppHeader": "var(--xmlui-style-border-AppHeader)", "radius-AppHeader": "var(--xmlui-radius-AppHeader)", "width-logo-AppHeader": "var(--xmlui-width-logo-AppHeader)", "height-AppHeader": "var(--xmlui-height-AppHeader)", "color-bg-AppHeader": "var(--xmlui-color-bg-AppHeader)", "max-content-width-AppHeader": "var(--xmlui-max-content-width-AppHeader)"}'`,header:"_header_zx9ej_13",headerInner:"_headerInner_zx9ej_36",full:"_full_zx9ej_51",childrenWrapper:"_childrenWrapper_zx9ej_55",logoAndTitle:"_logoAndTitle_zx9ej_66",logoContainer:"_logoContainer_zx9ej_79",customLogoContainer:"_customLogoContainer_zx9ej_88",rightItems:"_rightItems_zx9ej_97",appHub:"_appHub_zx9ej_109"},qg={themeVars:'"[]"',img:"_img_dk2s3_13",clickable:"_clickable_dk2s3_19"},zg=E.forwardRef(function({src:e,alt:t,fit:o="contain",style:r,onClick:n,aspectRatio:i,lazyLoad:s},a){return g.jsx("img",{src:e,ref:a,alt:t,loading:s?"lazy":"eager",className:cA(qg.img,{[qg.clickable]:!!n}),style:{objectFit:o,boxShadow:"none",...r,aspectRatio:i},onClick:n})}),pa=({style:A})=>{const e=bu();return e?g.jsx(zg,{src:e,alt:"Logo",style:{width:"auto",boxShadow:"none",...A}}):null};function bu(){const{logo:A,logoLight:e,logoDark:t}=En()||{},o={light:e,dark:t},{activeThemeTone:r}=ce(),n=hg("resource:logo")||A;return hg(`resource:logo-${r}`)||o[r]||n}const y6=({children:A,profileMenu:e,style:t=GA,logoContent:o,className:r,canRestrictContentWidth:n,navPanelVisible:i=!0,toggleDrawer:s,showLogo:a,hasRegisteredNavPanel:l,title:c,titleContent:B})=>{const{mediaSize:Q}=_t(),u=bu(),d=Q.sizeIndex<2?null:!B&&c?g.jsx(Ci,{to:"/",displayActive:!1,style:{paddingLeft:0},children:c}):B;return g.jsx("div",{className:cA(Ro.header,r),style:t,children:g.jsxs("div",{className:cA(Ro.headerInner,{[Ro.full]:!n}),children:[!i&&l&&g.jsx(Ce,{onClick:s,icon:g.jsx(kA,{name:"hamburger"}),variant:"ghost",style:{color:"inherit",flexShrink:0}}),g.jsx("div",{className:Ro.logoAndTitle,children:(a||!i)&&(o?g.jsxs(g.Fragment,{children:[g.jsx("div",{className:Ro.customLogoContainer,children:o}),d]}):g.jsxs(g.Fragment,{children:[!!u&&g.jsx("div",{className:Ro.logoContainer,children:g.jsx(Ci,{to:"/",displayActive:!1,style:{padding:0,height:"100%"},children:g.jsx(pa,{})})}),d]}))}),g.jsx("div",{className:Ro.childrenWrapper,children:A}),e&&g.jsx("div",{className:Ro.rightItems,children:e})]})})};function ku({children:A,logoContent:e,profileMenu:t,style:o,className:r,title:n,titleContent:i,showLogo:s=!0,renderChild:a}){const l=En(),{navPanelVisible:c,toggleDrawer:B,layout:Q,hasRegisteredNavPanel:u,navPanelDef:d,logoContentDef:C}=l||{},h=Q!=="vertical"&&Q!=="vertical-sticky"&&s,I=Q!=="vertical-full-header";return g.jsxs(y6,{hasRegisteredNavPanel:u,navPanelVisible:c,toggleDrawer:B,canRestrictContentWidth:I,showLogo:h,logoContent:e||a(C),profileMenu:t,style:o,className:r,title:n,titleContent:i,children:[(Q==null?void 0:Q.startsWith("condensed"))&&c&&g.jsx("div",{style:{minWidth:0},children:a(d)}),A]})}function b6(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 k6(A,e){const t=getComputedStyle(document.getElementById("_ui-engine-theme-root")).getPropertyValue(Zo(A));return e==="hex"?vr(t).hex().toString():vr(t).toString()}function Mu(A){const e=A&&A>0?A:0;return e>1?{WebkitLineClamp:e,lineClamp:e,display:"-webkit-box",WebkitBoxOrient:"vertical",boxOrient:"vertical",whiteSpace:"initial"}:GA}function Nu(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 M6=()=>{const A=E.useRef(!1),e=E.useRef(0);if(E.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};function N6({children:A,style:e,layout:t,loggedInUser:o,scrollWholePage:r,noScrollbarGutters:n=!1,onReady:i=QA.noop,header:s,navPanel:a,footer:l,navPanelDef:c,logoContentDef:B,logo:Q,logoDark:u,logoLight:d,defaultTone:C,defaultTheme:h,renderChild:I,name:p}){const{getThemeVar:D}=ce(),{setActiveThemeTone:m,setActiveThemeId:k}=si(),N=E.useRef(!1),L=t||D("layout-App")||"condensed-sticky",M=L==null?void 0:L.trim().replace(/[\u2013\u2014\u2011]/g,"-"),{setLoggedInUser:F,mediaSize:v}=_t(),y=s!==void 0,P=c!==void 0,b=E.useMemo(()=>{const{padding:sA,paddingLeft:yA,paddingRight:FA,paddingTop:JA,paddingBottom:XA,...ZA}=e;return{...ZA,"--page-padding-left":sA||yA,"--page-padding-right":sA||FA,"--page-padding-top":sA||JA,"--page-padding-bottom":sA||XA}},[e]);E.useEffect(()=>{F(o)},[o,F]),E.useEffect(()=>{if(!N.current)return N.current=!0,(C==="dark"||C==="light")&&m(C),h&&k(h),()=>{N.current=!1}},[C,h,m,k]),E.useEffect(()=>{i()},[i]);const _=v.largeScreen||!y&&M!=="condensed"&&M!=="condensed-sticky",q=E.useRef(null),J=E.useRef(null),z=r?q:J,[T,S]=E.useState(0),[G,Y]=E.useState(0),U=M6(),V=E.useRef(),tA=E.useCallback(sA=>{V.current=sA},[]),uA=E.useRef(),EA=E.useCallback(sA=>{uA.current=sA},[]);Ks(V,E.useCallback(sA=>{var yA,FA;S((FA=(yA=sA==null?void 0:sA[0])==null?void 0:yA.contentRect)==null?void 0:FA.height)},[])),Ks(uA,E.useCallback(sA=>{var yA,FA;Y((FA=(yA=sA==null?void 0:sA[0])==null?void 0:yA.contentRect)==null?void 0:FA.height)},[]));const hA=E.useMemo(()=>({"--header-height":r?G+"px":0,"--footer-height":r?T+"px":0,"--scrollbar-width":U+"px"}),[T,G,r,U]),[eA,oA]=E.useState(!1),W=We.useLocation(),$=E.useCallback(()=>{oA(sA=>!sA)},[]);E.useLayoutEffect(()=>{var sA;(sA=q.current)==null||sA.scrollTo(0,0)},[W.pathname]);const rA=E.useMemo(()=>({hasRegisteredNavPanel:P,hasRegisteredHeader:y,navPanelVisible:_,drawerVisible:eA,layout:M,logo:Q,logoDark:u,logoLight:d,showDrawer:()=>{oA(!0)},hideDrawer:()=>{oA(!1)},toggleDrawer:$,navPanelDef:c,logoContentDef:B}),[P,y,_,eA,M,Q,u,d,$,c,B]);E.useEffect(()=>{_&&oA(!1)},[_]),E.useEffect(()=>{oA(!1)},[W,M]);const dA=[bA.wrapper,{[bA.scrollWholePage]:r,[bA.noScrollbarGutters]:n,"media-large":v.largeScreen,"media-small":v.smallScreen,"media-desktop":v.desktop,"media-phone":v.phone,"media-tablet":v.tablet}];let TA;switch(M){case"vertical":TA=g.jsxs("div",{className:cA(dA,bA.vertical),style:hA,children:[_&&g.jsx("div",{className:cA(bA.navPanelWrapper),children:a}),g.jsxs("div",{className:bA.contentWrapper,ref:q,children:[g.jsx("header",{ref:EA,className:cA(bA.headerWrapper),children:s}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]})]});break;case"vertical-sticky":TA=g.jsxs("div",{className:cA(dA,bA.vertical,bA.sticky),style:hA,children:[_&&g.jsx("div",{className:cA(bA.navPanelWrapper),children:a}),g.jsxs("div",{className:bA.contentWrapper,ref:q,children:[g.jsx("header",{ref:EA,className:cA(bA.headerWrapper,bA.sticky),children:s}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]})]});break;case"vertical-full-header":TA=g.jsxs("div",{className:cA(dA,bA.verticalFullHeader),style:hA,ref:q,children:[g.jsx("header",{className:cA(bA.headerWrapper,bA.sticky),ref:EA,children:s}),g.jsxs("div",{className:bA.content,children:[_&&g.jsx("aside",{className:bA.navPanelWrapper,children:a}),g.jsx("main",{className:bA.contentWrapper,children:g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})})})]}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]});break;case"condensed":case"condensed-sticky":TA=g.jsxs("div",{className:cA(dA,bA.horizontal,{[bA.sticky]:M==="condensed-sticky"}),style:hA,ref:q,children:[g.jsxs("header",{className:cA("app-layout-condensed",bA.headerWrapper,{[bA.sticky]:M==="condensed-sticky"}),ref:EA,children:[!y&&P&&g.jsx(ku,{renderChild:I}),s]}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]});break;case"horizontal":{TA=g.jsxs("div",{className:cA(dA,bA.horizontal),style:hA,ref:q,children:[g.jsxs("header",{className:cA(bA.headerWrapper),ref:EA,children:[s,_&&g.jsx("div",{className:bA.navPanelWrapper,children:a})]}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]});break}case"horizontal-sticky":TA=g.jsxs("div",{className:cA(dA,bA.horizontal,bA.sticky),style:hA,ref:q,children:[g.jsxs("header",{className:cA(bA.headerWrapper,bA.sticky),ref:EA,children:[s,_&&g.jsx("div",{className:bA.navPanelWrapper,children:a})]}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]});break;default:throw new Error("layout type not supported: "+M)}return g.jsxs(g.Fragment,{children:[p!==void 0&&g.jsx(sn.Helmet,{defaultTitle:p,titleTemplate:`%s | ${p}`}),g.jsxs(xu.Provider,{value:rA,children:[g.jsx(D6,{open:eA,onOpenChange:sA=>oA(sA),children:g.jsx(yu,{side:"left",children:I(c,{inDrawer:!0})})}),TA]})]})}function _u(A){switch(A){case"vertical":case"vertical-sticky":case"vertical-full-header":return"vertical";default:return"horizontal"}}const po={themeVars:`'{"color-border-horizontal-NavPanel": "var(--xmlui-color-border-horizontal-NavPanel)", "thickness-border-horizontal-NavPanel": "var(--xmlui-thickness-border-horizontal-NavPanel)", "style-border-horizontal-NavPanel": "var(--xmlui-style-border-horizontal-NavPanel)", "color-border-vertical-NavPanel": "var(--xmlui-color-border-vertical-NavPanel)", "thickness-border-vertical-NavPanel": "var(--xmlui-thickness-border-vertical-NavPanel)", "style-border-vertical-NavPanel": "var(--xmlui-style-border-vertical-NavPanel)", "color-border-left-NavPanel": "var(--xmlui-color-border-left-NavPanel)", "thickness-border-left-NavPanel": "var(--xmlui-thickness-border-left-NavPanel)", "style-border-left-NavPanel": "var(--xmlui-style-border-left-NavPanel)", "color-border-right-NavPanel": "var(--xmlui-color-border-right-NavPanel)", "thickness-border-right-NavPanel": "var(--xmlui-thickness-border-right-NavPanel)", "style-border-right-NavPanel": "var(--xmlui-style-border-right-NavPanel)", "color-border-top-NavPanel": "var(--xmlui-color-border-top-NavPanel)", "thickness-border-top-NavPanel": "var(--xmlui-thickness-border-top-NavPanel)", "style-border-top-NavPanel": "var(--xmlui-style-border-top-NavPanel)", "color-border-bottom-NavPanel": "var(--xmlui-color-border-bottom-NavPanel)", "thickness-border-bottom-NavPanel": "var(--xmlui-thickness-border-bottom-NavPanel)", "style-border-bottom-NavPanel": "var(--xmlui-style-border-bottom-NavPanel)", "color-border-NavPanel": "var(--xmlui-color-border-NavPanel)", "thickness-border-NavPanel": "var(--xmlui-thickness-border-NavPanel)", "style-border-NavPanel": "var(--xmlui-style-border-NavPanel)", "radius-NavPanel": "var(--xmlui-radius-NavPanel)", "color-bg-NavPanel": "var(--xmlui-color-bg-NavPanel)", "shadow-NavPanel": "var(--xmlui-shadow-NavPanel)", "height-AppHeader": "var(--xmlui-height-AppHeader)", "max-content-width-App": "var(--xmlui-max-content-width-App)", "padding-horizontal-NavPanel": "var(--xmlui-padding-horizontal-NavPanel)", "padding-horizontal-logo-NavPanel": "var(--xmlui-padding-horizontal-logo-NavPanel)", "padding-vertical-logo-NavPanel": "var(--xmlui-padding-vertical-logo-NavPanel)", "margin-bottom-logo-NavPanel": "var(--xmlui-margin-bottom-logo-NavPanel)", "padding-vertical-AppHeader": "var(--xmlui-padding-vertical-AppHeader)"}'`,wrapper:"_wrapper_r70y6_13",condensed:"_condensed_r70y6_40",horizontal:"_horizontal_r70y6_43",wrapperInner:"_wrapperInner_r70y6_48",logoWrapper:"_logoWrapper_r70y6_64",inDrawer:"_inDrawer_r70y6_74"},Wg=E.createContext(null),_6={inDrawer:!0};function F6({logoContent:A,children:e,className:t,style:o}){const r=E.useRef(null);return g.jsx(Wg.Provider,{value:_6,children:g.jsx("div",{ref:r,className:cA(po.wrapper,t),children:g.jsxs(Io.Provider,{value:r,children:[g.jsx("div",{className:cA(po.logoWrapper,po.inDrawer),children:A||g.jsx(pa,{})}),g.jsx("div",{className:po.wrapperInner,style:o,children:e})]})})})}const L6=E.forwardRef(function({children:e,style:t,logoContent:o,className:r,inDrawer:n,renderChild:i},s){var C;const a=E.useRef(null),l=s?jt(a,s):a,c=En(),B=_u(c==null?void 0:c.layout)==="horizontal",Q=(c==null?void 0:c.layout)==="vertical"||(c==null?void 0:c.layout)==="vertical-sticky",u=(C=c==null?void 0:c.layout)==null?void 0:C.startsWith("condensed"),d=o||i(c==null?void 0:c.logoContentDef);return n?g.jsx(F6,{style:t,logoContent:d,className:r,children:e}):g.jsx("div",{ref:l,className:cA(po.wrapper,r,{[po.horizontal]:B,[po.condensed]:u}),children:g.jsxs(Io.Provider,{value:a,children:[Q&&g.jsx("div",{className:cA(po.logoWrapper),children:d||g.jsx(pa,{})}),g.jsx("div",{className:po.wrapperInner,style:t,children:e})]})})});function wa(A){return!A||typeof A=="string"||typeof A=="number"?A:A.queryParams!==void 0?{...A,search:new URLSearchParams(QA.omitBy(A.queryParams,QA.isUndefined)).toString()}:A}const Ci=E.forwardRef(function({uid:e,children:t,disabled:o,to:r,sx:n={},displayActive:i=!0,vertical:s,style:a,onClick:l,icon:c,forceActive:B,...Q},u){const d=En(),C=E.useContext(Wg);let h=s;d&&h===void 0&&(h=_u(d.layout)==="vertical"||(C==null?void 0:C.inDrawer));const I=E.useMemo(()=>{if(r)return wa(r)},[r]),p={...n,...a},D=cA(Ao.content,Ao.base,{[Ao.disabled]:o,[Ao.vertical]:h,[Ao.includeHoverIndicator]:i,[Ao.navItemActive]:i&&B});let m;return o||!I?m=g.jsxs("button",{...Q,ref:u,onClick:l,className:D,style:p,disabled:o,children:[c,t]}):m=g.jsxs(We.NavLink,{id:e,...Q,ref:u,to:I,style:p,onClick:l,className:({isActive:k})=>cA(D,{[Ao.displayActive]:i,[Ao.navItemActive]:i&&(k||B)}),children:[c,t]}),m}),fa="NavLink",S6=Z({description:`The \`${fa}\` component defines a navigation target (app navigation menu item) within the app; it is associated with a particular in-app navigation target (or an external link).`,props:{to:f("This property defines the URL of the link."),enabled:Ze(),active:f("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`."),target:f("This property specifies how to open the clicked link."),label:Je(),vertical:f(`This property sets how the active status is displayed on the \`${fa}\` component. If set to true, the indicator is displayed on the side which lends itself to a vertically aligned navigation menu.`),displayActive:f("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."),icon:f("This property allows you to add an icon (specify the icon's name) to the navigation link.")},events:{click:nr(fa)},themeVars:pA(Ao.themeVars),defaultThemeVars:{"radius-NavLink":"$radius","color-bg-NavLink":"transparent","padding-horizontal-NavLink":"$space-4","padding-vertical-NavLink":"$space-2","font-size-NavLink":"$font-size-small","font-weight-NavLink":"$font-weight-normal","font-family-NavLink":"$font-family","color-text-NavLink":"$color-text-primary","font-weight-NavLink--pressed":"$font-weight-normal","thickness-indicator-NavLink":"$space-0_5","color-outline-NavLink--focus":"$color-outline--focus","thickness-outline-NavLink--focus":"$thickness-outline--focus","style-outline-NavLink--focus":"$style-outline--focus","offset-outline-NavLink--focus":"-1px","radius-indicator-NavLink":"$radius",light:{"color-icon-NavLink":"$color-surface-500","color-indicator-NavLink--active":"$color-primary-500","color-indicator-NavLink--pressed":"$color-primary-500","color-indicator-NavLink--hover":"$color-primary-600"},dark:{"color-indicator-NavLink--active":"$color-primary-500","color-indicator-NavLink--pressed":"$color-primary-500","color-indicator-NavLink--hover":"$color-primary-400"}}}),P6=AA(fa,S6,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>{var n;const r=e.asString(A.props.icon);return g.jsx(Ci,{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:g.jsx(kA,{name:r,className:Ao.icon}),children:e.asDisplayText(A.props.label)||t(A.children)})}),dn={themeVars:`'{"color-text-Link": "var(--xmlui-color-text-Link)", "color-text-Link--active": "var(--xmlui-color-text-Link--active)", "color-text-Link--hover": "var(--xmlui-color-text-Link--hover)", "color-text-Link--hover--active": "var(--xmlui-color-text-Link--hover--active)", "font-size-Link": "var(--xmlui-font-size-Link)", "font-weight-Link": "var(--xmlui-font-weight-Link)", "font-weight-Link--active": "var(--xmlui-font-weight-Link--active)", "color-decoration-Link": "var(--xmlui-color-decoration-Link)", "offset-decoration-Link": "var(--xmlui-offset-decoration-Link)", "line-decoration-Link": "var(--xmlui-line-decoration-Link)", "style-decoration-Link": "var(--xmlui-style-decoration-Link)", "thickness-decoration-Link": "var(--xmlui-thickness-decoration-Link)", "padding-icon-Link": "var(--xmlui-padding-icon-Link)", "gap-icon-Link": "var(--xmlui-gap-icon-Link)", "thickness-outline-Link--focus": "var(--xmlui-thickness-outline-Link--focus)", "color-outline-Link--focus": "var(--xmlui-color-outline-Link--focus)", "style-outline-Link--focus": "var(--xmlui-style-outline-Link--focus)", "offset-outline-Link--focus": "var(--xmlui-offset-outline-Link--focus)"}'`,container:"_container_gxlr6_13",active:"_active_gxlr6_27",disabled:"_disabled_gxlr6_31",iconWrapper:"_iconWrapper_gxlr6_47"},$g=({to:A,children:e,icon:t,active:o,onClick:r,target:n,disabled:i,style:s})=>{const a=!!t&&!e,l=E.useMemo(()=>wa(A),[A]),c=A?We.Link:"div";return g.jsxs(c,{to:l,style:s,target:n,onClick:r,className:cA(dn.container,{[dn.iconLink]:a,[dn.active]:o,[dn.disabled]:i}),children:[t&&g.jsx("div",{className:dn.iconWrapper,children:g.jsx(kA,{name:t})}),e]})},Ee="Link",T6=Z({description:`A \`${Ee}\` component represents a navigation target within the app or a reference to an external web URL.`,props:{to:f("This property defines the URL of the link."),enabled:Ze(),active:f("Indicates whether this link is active or not. If so, it will have a distinct visual appearance.",null,"boolean",!1),target:f(`This property specifies where to open the link represented by the \`${Ee}\`. This property accepts the following values (in accordance with the HTML standard):`,P2,"string","_self"),label:Je(),icon:f("This property allows you to add an icon (specify the icon's name) to the link.")},themeVars:pA(dn.themeVars),defaultThemeVars:{[`color-text-${Ee}--hover--active`]:`$color-text-${Ee}--active`,[`color-text-decoration-${Ee}--hover`]:"$color-surface-400A80",[`color-text-decoration-${Ee}--active`]:"$color-surface200",[`font-weight-${Ee}--active`]:"$font-weight-bold",[`color-decoration-${Ee}`]:"$color-surface-400",[`offset-decoration-${Ee}`]:"$space-1",[`line-decoration-${Ee}`]:"underline",[`style-decoration-${Ee}`]:"dashed",[`thickness-decoration-${Ee}`]:"$space-0_5",[`color-outline-${Ee}--focus`]:"$color-outline--focus",[`thickness-outline-${Ee}--focus`]:"$thickness-outline--focus",[`style-outline-${Ee}--focus`]:"$style-outline--focus",[`offset-outline-${Ee}--focus`]:"$offset-outline--focus",[`font-size-${Ee}`]:"inherit",[`gap-icon-${Ee}`]:"$gap-tight",[`padding-icon-${Ee}`]:"$space-0_5",light:{[`color-text-${Ee}`]:"$color-primary-500",[`color-text-${Ee}--active`]:"$color-primary-500"},dark:{[`color-text-${Ee}`]:"$color-primary-500",[`color-text-${Ee}--active`]:"$color-primary-500"}}}),G6=AA(Ee,T6,({node:A,extractValue:e,lookupEventHandler:t,renderChild:o,layoutCss:r})=>{var n;return g.jsx($g,{to:e(A.props.to),icon:e(A.props.icon),active:e.asOptionalBoolean(A.props.active,!1),target:e((n=A.props)==null?void 0:n.target),style:r,disabled:!e.asOptionalBoolean(A.props.enabled??!0),children:A.props.label?e.asDisplayText(A.props.label):o(A.children)})}),ct=E.memo(({node:A,item:e,context:t,renderChild:o,layoutContext:r,contextVars:n=GA,itemKey:i="$item",contextKey:s="$context"})=>{const a=$e(n),l=E.useMemo(()=>i===s?{type:"Container",contextVars:{[i]:{...e,...t},...a},children:Array.isArray(A)?A:[A]}:{type:"Container",contextVars:{[i]:e,[s]:t,...a},children:Array.isArray(A)?A:[A]},[t,e,A,a]);return g.jsx(g.Fragment,{children:o(l,r)})}),Yo={wrapper:"_wrapper_96qt9_14",rowWrapper:"_rowWrapper_96qt9_18",selected:"_selected_96qt9_28",addButton:"_addButton_96qt9_38",gutter:"_gutter_96qt9_42",toggleWrapper:"_toggleWrapper_96qt9_50",hidden:"_hidden_96qt9_59",expanded:"_expanded_96qt9_70",depthPlaceholder:"_depthPlaceholder_96qt9_74",labelWrapper:"_labelWrapper_96qt9_78"};function Fu(A,e,t,o){const{children:r,uid:n}=A,i=o.includes(n);if(t.push({...A,hasChildren:!!r&&r.length>0,depth:e,isExpanded:i}),i&&r)for(let s of r)Fu(s,e+1,t,o)}function H6(A,e){const t=[];return A.forEach(o=>{Fu(o,0,t,e)}),t}const U6=E.memo(function({index:e,style:t,data:o}){const{nodes:r,toggleNode:n,selectedUid:i,itemRenderer:s}=o,a=r[e],l=E.useCallback(c=>{c.defaultPrevented||n(a)},[n,a]);return g.jsx("div",{style:{...t,width:"auto",minWidth:"100%",display:"flex"},children:g.jsxs("div",{className:cA(Yo.rowWrapper,{[Yo.selected]:i===a.key}),children:[g.jsxs("div",{onClick:l,className:Yo.gutter,children:[g.jsx("div",{style:{width:a.depth*10},className:Yo.depthPlaceholder}),g.jsx("div",{className:cA(Yo.toggleWrapper,{[Yo.expanded]:a.isExpanded,[Yo.hidden]:!a.hasChildren})})]}),g.jsx("div",{className:Yo.labelWrapper,onClick:a.selectable?void 0:l,style:{cursor:a.selectable?void 0:"pointer"},children:s(a)})]})})}),R6={treeData:[],treeItemsById:{}};function Y6({data:A=R6,selectedUid:e,itemRenderer:t}){const{treeData:o,treeItemsById:r}=A,[n,i]=E.useState([]),s=E.useMemo(()=>H6(o,n),[n,o]);E.useEffect(()=>{if(e){const B=r[e];B&&i(Q=>[...Q,...B.parentIds])}},[e,r]);const a=E.useCallback(B=>{B.isExpanded?i(Q=>Q.filter(u=>u!==B.key)):i(Q=>[...Q,B.key])},[]),l=E.useMemo(()=>({nodes:s,toggleNode:a,selectedUid:e,itemRenderer:t}),[s,a,e,t]),c=E.useCallback((B,Q)=>Q.nodes[B].key,[]);return g.jsx("div",{className:Yo.wrapper,children:g.jsx(r4,{children:({width:B,height:Q})=>g.jsx(o4.FixedSizeList,{height:Q,itemCount:l.nodes.length,itemData:l,itemSize:35,itemKey:c,width:B,children:U6})})})}const Lu="Tree",K6=Z({status:"in progress",description:`The \`${Lu}\` 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:se("The template for each item in the tree.")}}),O6=AA(Lu,K6,({node:A,extractValue:e,renderChild:t})=>g.jsx(Y6,{data:e(A.props.data),selectedUid:e(A.props.selectedUid),itemRenderer:o=>g.jsx(ct,{node:A.props.itemTemplate,item:o,renderChild:t})})),nA="Button",J6=Z({description:"Button is an interactive element that triggers an action when clicked.",status:"stable",props:{autoFocus:f("Indicates if the button should receive focus when the page loads.",null,"boolean",!1),variant:f("The button variant determines the level of emphasis the button should possess.",b1,"string","solid"),themeColor:f("Sets the button color scheme defined in the application theme.",v1,"string","primary"),size:f("The size of the button.",aa,"string","sm"),label:f(`This property is an optional string to set a label for the ${nA}. If no label is specified and an icon is set, the ${nA} will modify its styling to look like a small icon button. When the ${nA} has nested children, it will display them and ignore the value of the \`label\` prop.`),type:f(`This optional string describes how the ${nA} appears in an HTML context. You rarely need to set this property explicitly.`,H2,"string",y1),enabled:f("The value of this property indicates whether the button accepts actions (`true`) or does not react to them (`false`).",null,null,!0),icon:f(`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 ${nA} displays only that icon.`),iconPosition:f(`This optional string determines the location of the icon in the ${nA}.`,M1,"string","start"),contentPosition:f(`This optional value determines how the label and icon (or nested children) should be placedinside the ${nA} component.`,R2,"string","center")},events:{click:nr(nA),gotFocus:wt(nA),lostFocus:ft(nA)},themeVars:pA(Me.themeVars),defaultThemeVars:{[`width-${nA}`]:"fit-content",[`height-${nA}`]:"fit-content",[`radius-${nA}`]:"$radius",[`font-size-${nA}`]:"$font-size-small",[`font-weight-${nA}`]:"$font-weight-medium",[`color-bg-${nA}-primary`]:"$color-primary-500",[`color-bg-${nA}-attention`]:"$color-bg-attention",[`color-border-${nA}-attention`]:"$color-attention",[`color-bg-${nA}--disabled`]:"$color-bg--disabled",[`color-border-${nA}--disabled`]:"$color-border--disabled",[`style-border-${nA}`]:"solid",[`color-text-${nA}--disabled`]:"$color-text--disabled",[`color-outline-${nA}--focus`]:"$color-outline--focus",[`thickness-border-${nA}`]:"1px",[`thickness-outline-${nA}--focus`]:"$thickness-outline--focus",[`style-outline-${nA}--focus`]:"$style-outline--focus",[`offset-outline-${nA}--focus`]:"$offset-outline--focus",[`padding-horizontal-${nA}-xs`]:"$space-1",[`padding-vertical-${nA}-xs`]:"$space-0_5",[`padding-horizontal-${nA}-sm`]:"$space-4",[`padding-vertical-${nA}-sm`]:"$space-2",[`padding-horizontal-${nA}-md`]:"$space-4",[`padding-vertical-${nA}-md`]:"$space-3",[`padding-horizontal-${nA}-lg`]:"$space-5",[`padding-vertical-${nA}-lg`]:"$space-4",light:{[`color-text-${nA}`]:"$color-surface-950",[`color-text-${nA}-solid`]:"$color-surface-50",[`color-border-${nA}-primary`]:"$color-primary-500",[`color-bg-${nA}-primary--hover`]:"$color-primary-400",[`color-bg-${nA}-primary--active`]:"$color-primary-500",[`color-bg-${nA}-primary-outlined--hover`]:"$color-primary-50",[`color-bg-${nA}-primary-outlined--active`]:"$color-primary-100",[`color-border-${nA}-primary-outlined`]:"$color-primary-600",[`color-border-${nA}-primary-outlined--hover`]:"$color-primary-500",[`color-text-${nA}-primary-outlined`]:"$color-primary-900",[`color-text-${nA}-primary-outlined--hover`]:"$color-primary-950",[`color-text-${nA}-primary-outlined--active`]:"$color-primary-900",[`color-bg-${nA}-primary-ghost--hover`]:"$color-primary-50",[`color-bg-${nA}-primary-ghost--active`]:"$color-primary-100",[`color-border-${nA}-secondary`]:"$color-secondary-100",[`color-bg-${nA}-secondary`]:"$color-secondary-500",[`color-bg-${nA}-secondary--hover`]:"$color-secondary-400",[`color-bg-${nA}-secondary--active`]:"$color-secondary-500",[`color-bg-${nA}-secondary-outlined--hover`]:"$color-secondary-50",[`color-bg-${nA}-secondary-outlined--active`]:"$color-secondary-100",[`color-bg-${nA}-secondary-ghost--hover`]:"$color-secondary-100",[`color-bg-${nA}-secondary-ghost--active`]:"$color-secondary-100",[`color-bg-${nA}-attention--hover`]:"$color-danger-400",[`color-bg-${nA}-attention--active`]:"$color-danger-500",[`color-bg-${nA}-attention-outlined--hover`]:"$color-danger-50",[`color-bg-${nA}-attention-outlined--active`]:"$color-danger-100",[`color-bg-${nA}-attention-ghost--hover`]:"$color-danger-50",[`color-bg-${nA}-attention-ghost--active`]:"$color-danger-100"},dark:{[`color-text-${nA}`]:"$color-surface-50",[`color-text-${nA}-solid`]:"$color-surface-50",[`color-border-${nA}-primary`]:"$color-primary-500",[`color-bg-${nA}-primary--hover`]:"$color-primary-600",[`color-bg-${nA}-primary--active`]:"$color-primary-500",[`color-bg-${nA}-primary-outlined--hover`]:"$color-primary-900",[`color-bg-${nA}-primary-outlined--active`]:"$color-primary-950",[`color-border-${nA}-primary-outlined`]:"$color-primary-600",[`color-border-${nA}-primary-outlined--hover`]:"$color-primary-500",[`color-text-${nA}-primary-outlined`]:"$color-primary-100",[`color-text-${nA}-primary-outlined--hover`]:"$color-primary-50",[`color-text-${nA}-primary-outlined--active`]:"$color-primary-100",[`color-bg-${nA}-primary-ghost--hover`]:"$color-primary-900",[`color-bg-${nA}-primary-ghost--active`]:"$color-primary-950",[`color-border-${nA}-secondary`]:"$color-secondary-500",[`color-bg-${nA}-secondary`]:"$color-secondary-500",[`color-bg-${nA}-secondary--hover`]:"$color-secondary-400",[`color-bg-${nA}-secondary--active`]:"$color-secondary-500",[`color-bg-${nA}-secondary-outlined--hover`]:"$color-secondary-600",[`color-bg-${nA}-secondary-outlined--active`]:"$color-secondary-500",[`color-bg-${nA}-secondary-ghost--hover`]:"$color-secondary-900",[`color-bg-${nA}-secondary-ghost--active`]:"$color-secondary-950",[`color-bg-${nA}-attention--hover`]:"$color-danger-400",[`color-bg-${nA}-attention--active`]:"$color-danger-500",[`color-bg-${nA}-attention-outlined--hover`]:"$color-danger-900",[`color-bg-${nA}-attention-outlined--active`]:"$color-danger-950",[`color-bg-${nA}-attention-ghost--hover`]:"$color-danger-900",[`color-bg-${nA}-attention-ghost--active`]:"$color-danger-950"}}}),q6=AA("Button",J6,({node:A,extractValue:e,renderChild:t,lookupEventHandler:o,layoutCss:r})=>{const n=e.asString(A.props.icon),i=e.asDisplayText(A.props.label);return g.jsx(Ce,{type:A.props.type,variant:e(A.props.variant),themeColor:e(A.props.themeColor),autoFocus:e.asOptionalBoolean(A.props.autoFocus),size:e(A.props.size),icon:n&&g.jsx(kA,{name:n}),iconPosition:e(A.props.iconPosition),contentPosition:e(A.props.contentPosition),disabled:!e.asOptionalBoolean(A.props.enabled??!0),onClick:o("click"),onFocus:o("gotFocus"),onBlur:o("lostFocus"),style:r,children:t(A.children,{type:"Stack",orientation:"horizontal"})||i})}),St={themeVars:`'{"Heading:color-text-H1": "var(--xmlui-color-text-H1)", "Heading:letter-spacing-H1": "var(--xmlui-letter-spacing-H1)", "Heading:font-family-H1": "var(--xmlui-font-family-H1)", "Heading:font-weight-H1": "var(--xmlui-font-weight-H1)", "font-size-H1": "var(--xmlui-font-size-H1)", "line-height-H1": "var(--xmlui-line-height-H1)", "margin-top-H1": "var(--xmlui-margin-top-H1)", "margin-bottom-H1": "var(--xmlui-margin-bottom-H1)", "Heading:line-decoration-H1": "var(--xmlui-line-decoration-H1)", "Heading:color-decoration-H1": "var(--xmlui-color-decoration-H1)", "Heading:style-decoration-H1": "var(--xmlui-style-decoration-H1)", "Heading:thickness-decoration-H1": "var(--xmlui-thickness-decoration-H1)", "Heading:offset-decoration-H1": "var(--xmlui-offset-decoration-H1)", "Heading:color-text-H2": "var(--xmlui-color-text-H2)", "Heading:letter-spacing-H2": "var(--xmlui-letter-spacing-H2)", "Heading:font-family-H2": "var(--xmlui-font-family-H2)", "Heading:font-weight-H2": "var(--xmlui-font-weight-H2)", "font-size-H2": "var(--xmlui-font-size-H2)", "line-height-H2": "var(--xmlui-line-height-H2)", "margin-top-H2": "var(--xmlui-margin-top-H2)", "margin-bottom-H2": "var(--xmlui-margin-bottom-H2)", "Heading:line-decoration-H2": "var(--xmlui-line-decoration-H2)", "Heading:color-decoration-H2": "var(--xmlui-color-decoration-H2)", "Heading:style-decoration-H2": "var(--xmlui-style-decoration-H2)", "Heading:thickness-decoration-H2": "var(--xmlui-thickness-decoration-H2)", "Heading:offset-decoration-H2": "var(--xmlui-offset-decoration-H2)", "Heading:color-text-H3": "var(--xmlui-color-text-H3)", "Heading:letter-spacing-H3": "var(--xmlui-letter-spacing-H3)", "Heading:font-family-H3": "var(--xmlui-font-family-H3)", "Heading:font-weight-H3": "var(--xmlui-font-weight-H3)", "font-size-H3": "var(--xmlui-font-size-H3)", "line-height-H3": "var(--xmlui-line-height-H3)", "margin-top-H3": "var(--xmlui-margin-top-H3)", "margin-bottom-H3": "var(--xmlui-margin-bottom-H3)", "Heading:line-decoration-H3": "var(--xmlui-line-decoration-H3)", "Heading:color-decoration-H3": "var(--xmlui-color-decoration-H3)", "Heading:style-decoration-H3": "var(--xmlui-style-decoration-H3)", "Heading:thickness-decoration-H3": "var(--xmlui-thickness-decoration-H3)", "Heading:offset-decoration-H3": "var(--xmlui-offset-decoration-H3)", "Heading:color-text-H4": "var(--xmlui-color-text-H4)", "Heading:letter-spacing-H4": "var(--xmlui-letter-spacing-H4)", "Heading:font-family-H4": "var(--xmlui-font-family-H4)", "Heading:font-weight-H4": "var(--xmlui-font-weight-H4)", "font-size-H4": "var(--xmlui-font-size-H4)", "line-height-H4": "var(--xmlui-line-height-H4)", "margin-top-H4": "var(--xmlui-margin-top-H4)", "margin-bottom-H4": "var(--xmlui-margin-bottom-H4)", "Heading:line-decoration-H4": "var(--xmlui-line-decoration-H4)", "Heading:color-decoration-H4": "var(--xmlui-color-decoration-H4)", "Heading:style-decoration-H4": "var(--xmlui-style-decoration-H4)", "Heading:thickness-decoration-H4": "var(--xmlui-thickness-decoration-H4)", "Heading:offset-decoration-H4": "var(--xmlui-offset-decoration-H4)", "Heading:color-text-H5": "var(--xmlui-color-text-H5)", "Heading:letter-spacing-H5": "var(--xmlui-letter-spacing-H5)", "Heading:font-family-H5": "var(--xmlui-font-family-H5)", "Heading:font-weight-H5": "var(--xmlui-font-weight-H5)", "font-size-H5": "var(--xmlui-font-size-H5)", "line-height-H5": "var(--xmlui-line-height-H5)", "margin-top-H5": "var(--xmlui-margin-top-H5)", "margin-bottom-H5": "var(--xmlui-margin-bottom-H5)", "Heading:line-decoration-H5": "var(--xmlui-line-decoration-H5)", "Heading:color-decoration-H5": "var(--xmlui-color-decoration-H5)", "Heading:style-decoration-H5": "var(--xmlui-style-decoration-H5)", "Heading:thickness-decoration-H5": "var(--xmlui-thickness-decoration-H5)", "Heading:offset-decoration-H5": "var(--xmlui-offset-decoration-H5)", "Heading:color-text-H6": "var(--xmlui-color-text-H6)", "Heading:letter-spacing-H6": "var(--xmlui-letter-spacing-H6)", "Heading:font-family-H6": "var(--xmlui-font-family-H6)", "Heading:font-weight-H6": "var(--xmlui-font-weight-H6)", "font-size-H6": "var(--xmlui-font-size-H6)", "line-height-H6": "var(--xmlui-line-height-H6)", "margin-top-H6": "var(--xmlui-margin-top-H6)", "margin-bottom-H6": "var(--xmlui-margin-bottom-H6)", "Heading:line-decoration-H6": "var(--xmlui-line-decoration-H6)", "Heading:color-decoration-H6": "var(--xmlui-color-decoration-H6)", "Heading:style-decoration-H6": "var(--xmlui-style-decoration-H6)", "Heading:thickness-decoration-H6": "var(--xmlui-thickness-decoration-H6)", "Heading:offset-decoration-H6": "var(--xmlui-offset-decoration-H6)"}'`,heading:"_heading_1tifa_13",h1:"_h1_1tifa_13",h2:"_h2_1tifa_28",h3:"_h3_1tifa_43",h4:"_h4_1tifa_58",h5:"_h5_1tifa_73",h6:"_h6_1tifa_88",truncateOverflow:"_truncateOverflow_1tifa_108",preserveLinebreaks:"_preserveLinebreaks_1tifa_114",noEllipsis:"_noEllipsis_1tifa_118"},Da=E.createContext(null);function z6({children:A}){const[e,t]=E.useState({}),[o,r]=E.useState(!1),[n,i]=E.useState(null),s=E.useRef(null),a=E.useRef(null);E.useEffect(()=>{if(o){const u=d=>{d.forEach(C=>{C!=null&&C.isIntersecting&&i(C.target.id)})};return s.current=new IntersectionObserver(u,{rootMargin:"0px 0px -50%",threshold:[0,1]}),Object.values(e).forEach(d=>{var C,h;return(h=(C=s==null?void 0:s.current)==null?void 0:C.observe)==null?void 0:h.call(C,d.anchor)}),()=>{var d;return(d=s.current)==null?void 0:d.disconnect()}}},[e,o]);const l=E.useCallback(u=>(t(d=>({...d,[u.id]:u})),()=>{t(d=>{const C={...d};return delete C[u.id],C})}),[]),c=E.useCallback(u=>{e[u]&&i(u)},[e]),B=E.useMemo(()=>Object.values(e).sort(function(u,d){return u.anchor===d.anchor?0:u.anchor.compareDocumentPosition(d.anchor)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),[e]);E.useEffect(()=>{var d;const u=window.location.hash;if(u){if(a!=null&&a.current)return;a.current=(d=B.find(C=>`#${C.id}`===u))==null?void 0:d.anchor,a.current&&og(a.current,{block:"start",inline:"start",behavior:"instant",scrollMode:"always"})}},[B]);const Q=E.useMemo(()=>({registerHeading:l,headings:B,observeIntersection:o,setObserveIntersection:r,activeAnchorId:n,setActiveAnchorId:c}),[l,B,o,n,c]);return g.jsx(Da.Provider,{value:Q,children:A})}function W6(){const A=E.useContext(Da);if(!A)throw new Error("useTableOfContents must be used within a TableOfContentsProvider");return A}const Ko=({uid:A,level:e="h1",children:t,sx:o,layout:r,title:n,maxLines:i=0,preserveLinebreaks:s,ellipses:a=!0,className:l})=>{const c=e==null?void 0:e.toLowerCase(),B=E.useRef(null),[Q,u]=E.useState(null),d=E.useRef(null),C=E.useContext(Da),h=C==null?void 0:C.registerHeading,I=C==null?void 0:C.observeIntersection;return E.useEffect(()=>{var p,D,m,k;if(I&&B.current){const N=(k=(m=(D=(p=B.current.textContent)==null?void 0:p.trim())==null?void 0:D.replace(/[^\w\s-]/g,""))==null?void 0:m.replace(/\s+/g,"-"))==null?void 0:k.toLowerCase();u(N||null)}},[I]),E.useEffect(()=>{if(I&&B.current&&Q)return h==null?void 0:h({id:Q,level:parseInt(e.replace("h","")),text:B.current.textContent.trim(),anchor:d.current})},[Q,I,h,e]),g.jsxs(c,{ref:B,id:A,title:n,style:{...o,...r,...Mu(i)},className:cA(St.heading,St[c],l||"",{[St.truncateOverflow]:i>0,[St.preserveLinebreaks]:s,[St.noEllipsis]:!a}),children:[Q&&I&&g.jsx("span",{ref:d,id:Q,style:{width:0,height:0}}),t]})},Pt="Heading",Sr=f(`This property determines the text displayed in the heading. \`${Pt}\` also accepts nested text instead of specifying the \`value\`. If both \`value\` and a nested text are used, the \`value\` will be displayed.`),Pr=f("This property determines the maximum number of lines the component can wrap to. If there is not enough space for all of the text, the component wraps the text up to as many lines as specified."),$6=f("This property indicates whether ellipses should be displayed (`true`) when the heading text is cropped or not (`false`)."),j6=f("This property indicates whether linebreaks should be preserved when displaying text."),Cn=A=>`Represents a heading level ${A} text`,V6=Z({description:"Represents a heading text",props:{value:Sr,level:f("This property sets the visual significance (level) of the heading."),maxLines:Pr,ellipses:$6,preserveLinebreaks:j6},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-family-${Pt}`]:"$font-family",[`color-text-${Pt}`]:"$color-text-primary",[`font-weight-${Pt}`]:"$font-weight-bold",[`letter-spacing-${Pt} `]:"0",light:{},dark:{}}}),hi="H1",X6=Z({description:Cn(1),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${hi}`]:"$font-size-large",[`line-height-${hi}`]:"$line-height-none",[`margin-top-${hi}`]:"0",[`margin-bottom-${hi}`]:"0",light:{},dark:{}}}),Ii="H2",Z6=Z({description:Cn(2),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${Ii}`]:"$font-size-medium",[`line-height-${Ii}`]:"$line-height-none",[`margin-top-${Ii}`]:"0",[`margin-bottom-${Ii}`]:"0",light:{},dark:{}}}),pi="H3",A7=Z({description:Cn(3),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${pi}`]:"$font-size-normal",[`line-height-${pi}`]:"$line-height-none",[`margin-top-${pi}`]:"0",[`margin-bottom-${pi}`]:"0",light:{},dark:{}}}),wi="H4",e7=Z({description:Cn(4),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${wi}`]:"$font-size-small",[`line-height-${wi}`]:"$line-height-none",[`margin-top-${wi}`]:"0",[`margin-bottom-${wi}`]:"0",light:{},dark:{}}}),fi="H5",t7=Z({description:Cn(5),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${fi}`]:"$font-size-smaller",[`line-height-${fi}`]:"$line-height-none",[`margin-top-${fi}`]:"0",[`margin-bottom-${fi}`]:"0",light:{},dark:{}}}),Di="H6",o7=Z({description:Cn(6),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${Di}`]:"$font-size-tiny",[`line-height-${Di}`]:"$line-height-none",[`margin-top-${Di}`]:"0",[`margin-bottom-${Di}`]:"0",light:{},dark:{}}});function Tr({node:A,extractValue:e,layoutCss:t,level:o,renderChild:r}){return g.jsx(Ko,{uid:A.uid,level:e.asOptionalString(o)??"h1",maxLines:e.asOptionalNumber(A.props.maxLines),preserveLinebreaks:e.asOptionalBoolean(A.props.preserveLinebreaks,!1),ellipses:e.asOptionalBoolean(A.props.ellipses,!0),layout:t,children:e.asDisplayText(A.props.value)||r(A.children)})}const r7=AA(Pt,V6,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:A.props.level,renderChild:r})),n7=AA(hi,X6,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h1",renderChild:r})),i7=AA(Ii,Z6,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h2",renderChild:r})),s7=AA(pi,A7,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h3",renderChild:r})),a7=AA(wi,e7,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h4",renderChild:r})),l7=AA(fi,t7,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h5",renderChild:r})),g7=AA(Di,o7,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h6",renderChild:r})),hn={themeVars:`'{"font-family-Text-abbr": "var(--xmlui-font-family-Text-abbr)", "font-size-Text-abbr": "var(--xmlui-font-size-Text-abbr)", "font-weight-Text-abbr": "var(--xmlui-font-weight-Text-abbr)", "font-style-Text-abbr": "var(--xmlui-font-style-Text-abbr)", "font-stretch-Text-abbr": "var(--xmlui-font-stretch-Text-abbr)", "line-decoration-Text-abbr": "var(--xmlui-line-decoration-Text-abbr)", "color-decoration-Text-abbr": "var(--xmlui-color-decoration-Text-abbr)", "style-decoration-Text-abbr": "var(--xmlui-style-decoration-Text-abbr)", "thickness-decoration-Text-abbr": "var(--xmlui-thickness-decoration-Text-abbr)", "offset-decoration-Text-abbr": "var(--xmlui-offset-decoration-Text-abbr)", "line-height-Text-abbr": "var(--xmlui-line-height-Text-abbr)", "color-Text-abbr": "var(--xmlui-color-Text-abbr)", "color-bg-Text-abbr": "var(--xmlui-color-bg-Text-abbr)", "border-radius-Text-abbr": "var(--xmlui-border-radius-Text-abbr)", "color-border-Text-abbr": "var(--xmlui-color-border-Text-abbr)", "thickness-border-Text-abbr": "var(--xmlui-thickness-border-Text-abbr)", "style-border-Text-abbr": "var(--xmlui-style-border-Text-abbr)", "margin-top-Text-abbr": "var(--xmlui-margin-top-Text-abbr)", "margin-bottom-Text-abbr": "var(--xmlui-margin-bottom-Text-abbr)", "padding-horizontal-Text-abbr": "var(--xmlui-padding-horizontal-Text-abbr)", "padding-vertical-Text-abbr": "var(--xmlui-padding-vertical-Text-abbr)", "transform-Text-abbr": "var(--xmlui-transform-Text-abbr)", "align-vertical-Text-abbr": "var(--xmlui-align-vertical-Text-abbr)", "letter-spacing-Text-abbr": "var(--xmlui-letter-spacing-Text-abbr)", "font-family-Text-cite": "var(--xmlui-font-family-Text-cite)", "font-size-Text-cite": "var(--xmlui-font-size-Text-cite)", "font-weight-Text-cite": "var(--xmlui-font-weight-Text-cite)", "font-style-Text-cite": "var(--xmlui-font-style-Text-cite)", "font-stretch-Text-cite": "var(--xmlui-font-stretch-Text-cite)", "line-decoration-Text-cite": "var(--xmlui-line-decoration-Text-cite)", "color-decoration-Text-cite": "var(--xmlui-color-decoration-Text-cite)", "style-decoration-Text-cite": "var(--xmlui-style-decoration-Text-cite)", "thickness-decoration-Text-cite": "var(--xmlui-thickness-decoration-Text-cite)", "offset-decoration-Text-cite": "var(--xmlui-offset-decoration-Text-cite)", "line-height-Text-cite": "var(--xmlui-line-height-Text-cite)", "color-Text-cite": "var(--xmlui-color-Text-cite)", "color-bg-Text-cite": "var(--xmlui-color-bg-Text-cite)", "border-radius-Text-cite": "var(--xmlui-border-radius-Text-cite)", "color-border-Text-cite": "var(--xmlui-color-border-Text-cite)", "thickness-border-Text-cite": "var(--xmlui-thickness-border-Text-cite)", "style-border-Text-cite": "var(--xmlui-style-border-Text-cite)", "margin-top-Text-cite": "var(--xmlui-margin-top-Text-cite)", "margin-bottom-Text-cite": "var(--xmlui-margin-bottom-Text-cite)", "padding-horizontal-Text-cite": "var(--xmlui-padding-horizontal-Text-cite)", "padding-vertical-Text-cite": "var(--xmlui-padding-vertical-Text-cite)", "transform-Text-cite": "var(--xmlui-transform-Text-cite)", "align-vertical-Text-cite": "var(--xmlui-align-vertical-Text-cite)", "letter-spacing-Text-cite": "var(--xmlui-letter-spacing-Text-cite)", "font-family-Text-code": "var(--xmlui-font-family-Text-code)", "font-size-Text-code": "var(--xmlui-font-size-Text-code)", "font-weight-Text-code": "var(--xmlui-font-weight-Text-code)", "font-style-Text-code": "var(--xmlui-font-style-Text-code)", "font-stretch-Text-code": "var(--xmlui-font-stretch-Text-code)", "line-decoration-Text-code": "var(--xmlui-line-decoration-Text-code)", "color-decoration-Text-code": "var(--xmlui-color-decoration-Text-code)", "style-decoration-Text-code": "var(--xmlui-style-decoration-Text-code)", "thickness-decoration-Text-code": "var(--xmlui-thickness-decoration-Text-code)", "offset-decoration-Text-code": "var(--xmlui-offset-decoration-Text-code)", "line-height-Text-code": "var(--xmlui-line-height-Text-code)", "color-Text-code": "var(--xmlui-color-Text-code)", "color-bg-Text-code": "var(--xmlui-color-bg-Text-code)", "border-radius-Text-code": "var(--xmlui-border-radius-Text-code)", "color-border-Text-code": "var(--xmlui-color-border-Text-code)", "thickness-border-Text-code": "var(--xmlui-thickness-border-Text-code)", "style-border-Text-code": "var(--xmlui-style-border-Text-code)", "margin-top-Text-code": "var(--xmlui-margin-top-Text-code)", "margin-bottom-Text-code": "var(--xmlui-margin-bottom-Text-code)", "padding-horizontal-Text-code": "var(--xmlui-padding-horizontal-Text-code)", "padding-vertical-Text-code": "var(--xmlui-padding-vertical-Text-code)", "transform-Text-code": "var(--xmlui-transform-Text-code)", "align-vertical-Text-code": "var(--xmlui-align-vertical-Text-code)", "letter-spacing-Text-code": "var(--xmlui-letter-spacing-Text-code)", "font-family-Text-codefence": "var(--xmlui-font-family-Text-codefence)", "font-size-Text-codefence": "var(--xmlui-font-size-Text-codefence)", "font-weight-Text-codefence": "var(--xmlui-font-weight-Text-codefence)", "font-style-Text-codefence": "var(--xmlui-font-style-Text-codefence)", "font-stretch-Text-codefence": "var(--xmlui-font-stretch-Text-codefence)", "line-decoration-Text-codefence": "var(--xmlui-line-decoration-Text-codefence)", "color-decoration-Text-codefence": "var(--xmlui-color-decoration-Text-codefence)", "style-decoration-Text-codefence": "var(--xmlui-style-decoration-Text-codefence)", "thickness-decoration-Text-codefence": "var(--xmlui-thickness-decoration-Text-codefence)", "offset-decoration-Text-codefence": "var(--xmlui-offset-decoration-Text-codefence)", "line-height-Text-codefence": "var(--xmlui-line-height-Text-codefence)", "color-Text-codefence": "var(--xmlui-color-Text-codefence)", "color-bg-Text-codefence": "var(--xmlui-color-bg-Text-codefence)", "border-radius-Text-codefence": "var(--xmlui-border-radius-Text-codefence)", "color-border-Text-codefence": "var(--xmlui-color-border-Text-codefence)", "thickness-border-Text-codefence": "var(--xmlui-thickness-border-Text-codefence)", "style-border-Text-codefence": "var(--xmlui-style-border-Text-codefence)", "margin-top-Text-codefence": "var(--xmlui-margin-top-Text-codefence)", "margin-bottom-Text-codefence": "var(--xmlui-margin-bottom-Text-codefence)", "padding-horizontal-Text-codefence": "var(--xmlui-padding-horizontal-Text-codefence)", "padding-vertical-Text-codefence": "var(--xmlui-padding-vertical-Text-codefence)", "transform-Text-codefence": "var(--xmlui-transform-Text-codefence)", "align-vertical-Text-codefence": "var(--xmlui-align-vertical-Text-codefence)", "letter-spacing-Text-codefence": "var(--xmlui-letter-spacing-Text-codefence)", "font-family-Text-deleted": "var(--xmlui-font-family-Text-deleted)", "font-size-Text-deleted": "var(--xmlui-font-size-Text-deleted)", "font-weight-Text-deleted": "var(--xmlui-font-weight-Text-deleted)", "font-style-Text-deleted": "var(--xmlui-font-style-Text-deleted)", "font-stretch-Text-deleted": "var(--xmlui-font-stretch-Text-deleted)", "line-decoration-Text-deleted": "var(--xmlui-line-decoration-Text-deleted)", "color-decoration-Text-deleted": "var(--xmlui-color-decoration-Text-deleted)", "style-decoration-Text-deleted": "var(--xmlui-style-decoration-Text-deleted)", "thickness-decoration-Text-deleted": "var(--xmlui-thickness-decoration-Text-deleted)", "offset-decoration-Text-deleted": "var(--xmlui-offset-decoration-Text-deleted)", "line-height-Text-deleted": "var(--xmlui-line-height-Text-deleted)", "color-Text-deleted": "var(--xmlui-color-Text-deleted)", "color-bg-Text-deleted": "var(--xmlui-color-bg-Text-deleted)", "border-radius-Text-deleted": "var(--xmlui-border-radius-Text-deleted)", "color-border-Text-deleted": "var(--xmlui-color-border-Text-deleted)", "thickness-border-Text-deleted": "var(--xmlui-thickness-border-Text-deleted)", "style-border-Text-deleted": "var(--xmlui-style-border-Text-deleted)", "margin-top-Text-deleted": "var(--xmlui-margin-top-Text-deleted)", "margin-bottom-Text-deleted": "var(--xmlui-margin-bottom-Text-deleted)", "padding-horizontal-Text-deleted": "var(--xmlui-padding-horizontal-Text-deleted)", "padding-vertical-Text-deleted": "var(--xmlui-padding-vertical-Text-deleted)", "transform-Text-deleted": "var(--xmlui-transform-Text-deleted)", "align-vertical-Text-deleted": "var(--xmlui-align-vertical-Text-deleted)", "letter-spacing-Text-deleted": "var(--xmlui-letter-spacing-Text-deleted)", "font-family-Text-inserted": "var(--xmlui-font-family-Text-inserted)", "font-size-Text-inserted": "var(--xmlui-font-size-Text-inserted)", "font-weight-Text-inserted": "var(--xmlui-font-weight-Text-inserted)", "font-style-Text-inserted": "var(--xmlui-font-style-Text-inserted)", "font-stretch-Text-inserted": "var(--xmlui-font-stretch-Text-inserted)", "line-decoration-Text-inserted": "var(--xmlui-line-decoration-Text-inserted)", "color-decoration-Text-inserted": "var(--xmlui-color-decoration-Text-inserted)", "style-decoration-Text-inserted": "var(--xmlui-style-decoration-Text-inserted)", "thickness-decoration-Text-inserted": "var(--xmlui-thickness-decoration-Text-inserted)", "offset-decoration-Text-inserted": "var(--xmlui-offset-decoration-Text-inserted)", "line-height-Text-inserted": "var(--xmlui-line-height-Text-inserted)", "color-Text-inserted": "var(--xmlui-color-Text-inserted)", "color-bg-Text-inserted": "var(--xmlui-color-bg-Text-inserted)", "border-radius-Text-inserted": "var(--xmlui-border-radius-Text-inserted)", "color-border-Text-inserted": "var(--xmlui-color-border-Text-inserted)", "thickness-border-Text-inserted": "var(--xmlui-thickness-border-Text-inserted)", "style-border-Text-inserted": "var(--xmlui-style-border-Text-inserted)", "margin-top-Text-inserted": "var(--xmlui-margin-top-Text-inserted)", "margin-bottom-Text-inserted": "var(--xmlui-margin-bottom-Text-inserted)", "padding-horizontal-Text-inserted": "var(--xmlui-padding-horizontal-Text-inserted)", "padding-vertical-Text-inserted": "var(--xmlui-padding-vertical-Text-inserted)", "transform-Text-inserted": "var(--xmlui-transform-Text-inserted)", "align-vertical-Text-inserted": "var(--xmlui-align-vertical-Text-inserted)", "letter-spacing-Text-inserted": "var(--xmlui-letter-spacing-Text-inserted)", "font-family-Text-keyboard": "var(--xmlui-font-family-Text-keyboard)", "font-size-Text-keyboard": "var(--xmlui-font-size-Text-keyboard)", "font-weight-Text-keyboard": "var(--xmlui-font-weight-Text-keyboard)", "font-style-Text-keyboard": "var(--xmlui-font-style-Text-keyboard)", "font-stretch-Text-keyboard": "var(--xmlui-font-stretch-Text-keyboard)", "line-decoration-Text-keyboard": "var(--xmlui-line-decoration-Text-keyboard)", "color-decoration-Text-keyboard": "var(--xmlui-color-decoration-Text-keyboard)", "style-decoration-Text-keyboard": "var(--xmlui-style-decoration-Text-keyboard)", "thickness-decoration-Text-keyboard": "var(--xmlui-thickness-decoration-Text-keyboard)", "offset-decoration-Text-keyboard": "var(--xmlui-offset-decoration-Text-keyboard)", "line-height-Text-keyboard": "var(--xmlui-line-height-Text-keyboard)", "color-Text-keyboard": "var(--xmlui-color-Text-keyboard)", "color-bg-Text-keyboard": "var(--xmlui-color-bg-Text-keyboard)", "border-radius-Text-keyboard": "var(--xmlui-border-radius-Text-keyboard)", "color-border-Text-keyboard": "var(--xmlui-color-border-Text-keyboard)", "thickness-border-Text-keyboard": "var(--xmlui-thickness-border-Text-keyboard)", "style-border-Text-keyboard": "var(--xmlui-style-border-Text-keyboard)", "margin-top-Text-keyboard": "var(--xmlui-margin-top-Text-keyboard)", "margin-bottom-Text-keyboard": "var(--xmlui-margin-bottom-Text-keyboard)", "padding-horizontal-Text-keyboard": "var(--xmlui-padding-horizontal-Text-keyboard)", "padding-vertical-Text-keyboard": "var(--xmlui-padding-vertical-Text-keyboard)", "transform-Text-keyboard": "var(--xmlui-transform-Text-keyboard)", "align-vertical-Text-keyboard": "var(--xmlui-align-vertical-Text-keyboard)", "letter-spacing-Text-keyboard": "var(--xmlui-letter-spacing-Text-keyboard)", "font-family-Text-marked": "var(--xmlui-font-family-Text-marked)", "font-size-Text-marked": "var(--xmlui-font-size-Text-marked)", "font-weight-Text-marked": "var(--xmlui-font-weight-Text-marked)", "font-style-Text-marked": "var(--xmlui-font-style-Text-marked)", "font-stretch-Text-marked": "var(--xmlui-font-stretch-Text-marked)", "line-decoration-Text-marked": "var(--xmlui-line-decoration-Text-marked)", "color-decoration-Text-marked": "var(--xmlui-color-decoration-Text-marked)", "style-decoration-Text-marked": "var(--xmlui-style-decoration-Text-marked)", "thickness-decoration-Text-marked": "var(--xmlui-thickness-decoration-Text-marked)", "offset-decoration-Text-marked": "var(--xmlui-offset-decoration-Text-marked)", "line-height-Text-marked": "var(--xmlui-line-height-Text-marked)", "color-Text-marked": "var(--xmlui-color-Text-marked)", "color-bg-Text-marked": "var(--xmlui-color-bg-Text-marked)", "border-radius-Text-marked": "var(--xmlui-border-radius-Text-marked)", "color-border-Text-marked": "var(--xmlui-color-border-Text-marked)", "thickness-border-Text-marked": "var(--xmlui-thickness-border-Text-marked)", "style-border-Text-marked": "var(--xmlui-style-border-Text-marked)", "margin-top-Text-marked": "var(--xmlui-margin-top-Text-marked)", "margin-bottom-Text-marked": "var(--xmlui-margin-bottom-Text-marked)", "padding-horizontal-Text-marked": "var(--xmlui-padding-horizontal-Text-marked)", "padding-vertical-Text-marked": "var(--xmlui-padding-vertical-Text-marked)", "transform-Text-marked": "var(--xmlui-transform-Text-marked)", "align-vertical-Text-marked": "var(--xmlui-align-vertical-Text-marked)", "letter-spacing-Text-marked": "var(--xmlui-letter-spacing-Text-marked)", "font-family-Text-mono": "var(--xmlui-font-family-Text-mono)", "font-size-Text-mono": "var(--xmlui-font-size-Text-mono)", "font-weight-Text-mono": "var(--xmlui-font-weight-Text-mono)", "font-style-Text-mono": "var(--xmlui-font-style-Text-mono)", "font-stretch-Text-mono": "var(--xmlui-font-stretch-Text-mono)", "line-decoration-Text-mono": "var(--xmlui-line-decoration-Text-mono)", "color-decoration-Text-mono": "var(--xmlui-color-decoration-Text-mono)", "style-decoration-Text-mono": "var(--xmlui-style-decoration-Text-mono)", "thickness-decoration-Text-mono": "var(--xmlui-thickness-decoration-Text-mono)", "offset-decoration-Text-mono": "var(--xmlui-offset-decoration-Text-mono)", "line-height-Text-mono": "var(--xmlui-line-height-Text-mono)", "color-Text-mono": "var(--xmlui-color-Text-mono)", "color-bg-Text-mono": "var(--xmlui-color-bg-Text-mono)", "border-radius-Text-mono": "var(--xmlui-border-radius-Text-mono)", "color-border-Text-mono": "var(--xmlui-color-border-Text-mono)", "thickness-border-Text-mono": "var(--xmlui-thickness-border-Text-mono)", "style-border-Text-mono": "var(--xmlui-style-border-Text-mono)", "margin-top-Text-mono": "var(--xmlui-margin-top-Text-mono)", "margin-bottom-Text-mono": "var(--xmlui-margin-bottom-Text-mono)", "padding-horizontal-Text-mono": "var(--xmlui-padding-horizontal-Text-mono)", "padding-vertical-Text-mono": "var(--xmlui-padding-vertical-Text-mono)", "transform-Text-mono": "var(--xmlui-transform-Text-mono)", "align-vertical-Text-mono": "var(--xmlui-align-vertical-Text-mono)", "letter-spacing-Text-mono": "var(--xmlui-letter-spacing-Text-mono)", "font-family-Text-sample": "var(--xmlui-font-family-Text-sample)", "font-size-Text-sample": "var(--xmlui-font-size-Text-sample)", "font-weight-Text-sample": "var(--xmlui-font-weight-Text-sample)", "font-style-Text-sample": "var(--xmlui-font-style-Text-sample)", "font-stretch-Text-sample": "var(--xmlui-font-stretch-Text-sample)", "line-decoration-Text-sample": "var(--xmlui-line-decoration-Text-sample)", "color-decoration-Text-sample": "var(--xmlui-color-decoration-Text-sample)", "style-decoration-Text-sample": "var(--xmlui-style-decoration-Text-sample)", "thickness-decoration-Text-sample": "var(--xmlui-thickness-decoration-Text-sample)", "offset-decoration-Text-sample": "var(--xmlui-offset-decoration-Text-sample)", "line-height-Text-sample": "var(--xmlui-line-height-Text-sample)", "color-Text-sample": "var(--xmlui-color-Text-sample)", "color-bg-Text-sample": "var(--xmlui-color-bg-Text-sample)", "border-radius-Text-sample": "var(--xmlui-border-radius-Text-sample)", "color-border-Text-sample": "var(--xmlui-color-border-Text-sample)", "thickness-border-Text-sample": "var(--xmlui-thickness-border-Text-sample)", "style-border-Text-sample": "var(--xmlui-style-border-Text-sample)", "margin-top-Text-sample": "var(--xmlui-margin-top-Text-sample)", "margin-bottom-Text-sample": "var(--xmlui-margin-bottom-Text-sample)", "padding-horizontal-Text-sample": "var(--xmlui-padding-horizontal-Text-sample)", "padding-vertical-Text-sample": "var(--xmlui-padding-vertical-Text-sample)", "transform-Text-sample": "var(--xmlui-transform-Text-sample)", "align-vertical-Text-sample": "var(--xmlui-align-vertical-Text-sample)", "letter-spacing-Text-sample": "var(--xmlui-letter-spacing-Text-sample)", "font-family-Text-sup": "var(--xmlui-font-family-Text-sup)", "font-size-Text-sup": "var(--xmlui-font-size-Text-sup)", "font-weight-Text-sup": "var(--xmlui-font-weight-Text-sup)", "font-style-Text-sup": "var(--xmlui-font-style-Text-sup)", "font-stretch-Text-sup": "var(--xmlui-font-stretch-Text-sup)", "line-decoration-Text-sup": "var(--xmlui-line-decoration-Text-sup)", "color-decoration-Text-sup": "var(--xmlui-color-decoration-Text-sup)", "style-decoration-Text-sup": "var(--xmlui-style-decoration-Text-sup)", "thickness-decoration-Text-sup": "var(--xmlui-thickness-decoration-Text-sup)", "offset-decoration-Text-sup": "var(--xmlui-offset-decoration-Text-sup)", "line-height-Text-sup": "var(--xmlui-line-height-Text-sup)", "color-Text-sup": "var(--xmlui-color-Text-sup)", "color-bg-Text-sup": "var(--xmlui-color-bg-Text-sup)", "border-radius-Text-sup": "var(--xmlui-border-radius-Text-sup)", "color-border-Text-sup": "var(--xmlui-color-border-Text-sup)", "thickness-border-Text-sup": "var(--xmlui-thickness-border-Text-sup)", "style-border-Text-sup": "var(--xmlui-style-border-Text-sup)", "margin-top-Text-sup": "var(--xmlui-margin-top-Text-sup)", "margin-bottom-Text-sup": "var(--xmlui-margin-bottom-Text-sup)", "padding-horizontal-Text-sup": "var(--xmlui-padding-horizontal-Text-sup)", "padding-vertical-Text-sup": "var(--xmlui-padding-vertical-Text-sup)", "transform-Text-sup": "var(--xmlui-transform-Text-sup)", "align-vertical-Text-sup": "var(--xmlui-align-vertical-Text-sup)", "letter-spacing-Text-sup": "var(--xmlui-letter-spacing-Text-sup)", "font-family-Text-sub": "var(--xmlui-font-family-Text-sub)", "font-size-Text-sub": "var(--xmlui-font-size-Text-sub)", "font-weight-Text-sub": "var(--xmlui-font-weight-Text-sub)", "font-style-Text-sub": "var(--xmlui-font-style-Text-sub)", "font-stretch-Text-sub": "var(--xmlui-font-stretch-Text-sub)", "line-decoration-Text-sub": "var(--xmlui-line-decoration-Text-sub)", "color-decoration-Text-sub": "var(--xmlui-color-decoration-Text-sub)", "style-decoration-Text-sub": "var(--xmlui-style-decoration-Text-sub)", "thickness-decoration-Text-sub": "var(--xmlui-thickness-decoration-Text-sub)", "offset-decoration-Text-sub": "var(--xmlui-offset-decoration-Text-sub)", "line-height-Text-sub": "var(--xmlui-line-height-Text-sub)", "color-Text-sub": "var(--xmlui-color-Text-sub)", "color-bg-Text-sub": "var(--xmlui-color-bg-Text-sub)", "border-radius-Text-sub": "var(--xmlui-border-radius-Text-sub)", "color-border-Text-sub": "var(--xmlui-color-border-Text-sub)", "thickness-border-Text-sub": "var(--xmlui-thickness-border-Text-sub)", "style-border-Text-sub": "var(--xmlui-style-border-Text-sub)", "margin-top-Text-sub": "var(--xmlui-margin-top-Text-sub)", "margin-bottom-Text-sub": "var(--xmlui-margin-bottom-Text-sub)", "padding-horizontal-Text-sub": "var(--xmlui-padding-horizontal-Text-sub)", "padding-vertical-Text-sub": "var(--xmlui-padding-vertical-Text-sub)", "transform-Text-sub": "var(--xmlui-transform-Text-sub)", "align-vertical-Text-sub": "var(--xmlui-align-vertical-Text-sub)", "letter-spacing-Text-sub": "var(--xmlui-letter-spacing-Text-sub)", "font-family-Text-var": "var(--xmlui-font-family-Text-var)", "font-size-Text-var": "var(--xmlui-font-size-Text-var)", "font-weight-Text-var": "var(--xmlui-font-weight-Text-var)", "font-style-Text-var": "var(--xmlui-font-style-Text-var)", "font-stretch-Text-var": "var(--xmlui-font-stretch-Text-var)", "line-decoration-Text-var": "var(--xmlui-line-decoration-Text-var)", "color-decoration-Text-var": "var(--xmlui-color-decoration-Text-var)", "style-decoration-Text-var": "var(--xmlui-style-decoration-Text-var)", "thickness-decoration-Text-var": "var(--xmlui-thickness-decoration-Text-var)", "offset-decoration-Text-var": "var(--xmlui-offset-decoration-Text-var)", "line-height-Text-var": "var(--xmlui-line-height-Text-var)", "color-Text-var": "var(--xmlui-color-Text-var)", "color-bg-Text-var": "var(--xmlui-color-bg-Text-var)", "border-radius-Text-var": "var(--xmlui-border-radius-Text-var)", "color-border-Text-var": "var(--xmlui-color-border-Text-var)", "thickness-border-Text-var": "var(--xmlui-thickness-border-Text-var)", "style-border-Text-var": "var(--xmlui-style-border-Text-var)", "margin-top-Text-var": "var(--xmlui-margin-top-Text-var)", "margin-bottom-Text-var": "var(--xmlui-margin-bottom-Text-var)", "padding-horizontal-Text-var": "var(--xmlui-padding-horizontal-Text-var)", "padding-vertical-Text-var": "var(--xmlui-padding-vertical-Text-var)", "transform-Text-var": "var(--xmlui-transform-Text-var)", "align-vertical-Text-var": "var(--xmlui-align-vertical-Text-var)", "letter-spacing-Text-var": "var(--xmlui-letter-spacing-Text-var)", "font-family-Text-title": "var(--xmlui-font-family-Text-title)", "font-size-Text-title": "var(--xmlui-font-size-Text-title)", "font-weight-Text-title": "var(--xmlui-font-weight-Text-title)", "font-style-Text-title": "var(--xmlui-font-style-Text-title)", "font-stretch-Text-title": "var(--xmlui-font-stretch-Text-title)", "line-decoration-Text-title": "var(--xmlui-line-decoration-Text-title)", "color-decoration-Text-title": "var(--xmlui-color-decoration-Text-title)", "style-decoration-Text-title": "var(--xmlui-style-decoration-Text-title)", "thickness-decoration-Text-title": "var(--xmlui-thickness-decoration-Text-title)", "offset-decoration-Text-title": "var(--xmlui-offset-decoration-Text-title)", "line-height-Text-title": "var(--xmlui-line-height-Text-title)", "color-Text-title": "var(--xmlui-color-Text-title)", "color-bg-Text-title": "var(--xmlui-color-bg-Text-title)", "border-radius-Text-title": "var(--xmlui-border-radius-Text-title)", "color-border-Text-title": "var(--xmlui-color-border-Text-title)", "thickness-border-Text-title": "var(--xmlui-thickness-border-Text-title)", "style-border-Text-title": "var(--xmlui-style-border-Text-title)", "margin-top-Text-title": "var(--xmlui-margin-top-Text-title)", "margin-bottom-Text-title": "var(--xmlui-margin-bottom-Text-title)", "padding-horizontal-Text-title": "var(--xmlui-padding-horizontal-Text-title)", "padding-vertical-Text-title": "var(--xmlui-padding-vertical-Text-title)", "transform-Text-title": "var(--xmlui-transform-Text-title)", "align-vertical-Text-title": "var(--xmlui-align-vertical-Text-title)", "letter-spacing-Text-title": "var(--xmlui-letter-spacing-Text-title)", "font-family-Text-subtitle": "var(--xmlui-font-family-Text-subtitle)", "font-size-Text-subtitle": "var(--xmlui-font-size-Text-subtitle)", "font-weight-Text-subtitle": "var(--xmlui-font-weight-Text-subtitle)", "font-style-Text-subtitle": "var(--xmlui-font-style-Text-subtitle)", "font-stretch-Text-subtitle": "var(--xmlui-font-stretch-Text-subtitle)", "line-decoration-Text-subtitle": "var(--xmlui-line-decoration-Text-subtitle)", "color-decoration-Text-subtitle": "var(--xmlui-color-decoration-Text-subtitle)", "style-decoration-Text-subtitle": "var(--xmlui-style-decoration-Text-subtitle)", "thickness-decoration-Text-subtitle": "var(--xmlui-thickness-decoration-Text-subtitle)", "offset-decoration-Text-subtitle": "var(--xmlui-offset-decoration-Text-subtitle)", "line-height-Text-subtitle": "var(--xmlui-line-height-Text-subtitle)", "color-Text-subtitle": "var(--xmlui-color-Text-subtitle)", "color-bg-Text-subtitle": "var(--xmlui-color-bg-Text-subtitle)", "border-radius-Text-subtitle": "var(--xmlui-border-radius-Text-subtitle)", "color-border-Text-subtitle": "var(--xmlui-color-border-Text-subtitle)", "thickness-border-Text-subtitle": "var(--xmlui-thickness-border-Text-subtitle)", "style-border-Text-subtitle": "var(--xmlui-style-border-Text-subtitle)", "margin-top-Text-subtitle": "var(--xmlui-margin-top-Text-subtitle)", "margin-bottom-Text-subtitle": "var(--xmlui-margin-bottom-Text-subtitle)", "padding-horizontal-Text-subtitle": "var(--xmlui-padding-horizontal-Text-subtitle)", "padding-vertical-Text-subtitle": "var(--xmlui-padding-vertical-Text-subtitle)", "transform-Text-subtitle": "var(--xmlui-transform-Text-subtitle)", "align-vertical-Text-subtitle": "var(--xmlui-align-vertical-Text-subtitle)", "letter-spacing-Text-subtitle": "var(--xmlui-letter-spacing-Text-subtitle)", "font-family-Text-small": "var(--xmlui-font-family-Text-small)", "font-size-Text-small": "var(--xmlui-font-size-Text-small)", "font-weight-Text-small": "var(--xmlui-font-weight-Text-small)", "font-style-Text-small": "var(--xmlui-font-style-Text-small)", "font-stretch-Text-small": "var(--xmlui-font-stretch-Text-small)", "line-decoration-Text-small": "var(--xmlui-line-decoration-Text-small)", "color-decoration-Text-small": "var(--xmlui-color-decoration-Text-small)", "style-decoration-Text-small": "var(--xmlui-style-decoration-Text-small)", "thickness-decoration-Text-small": "var(--xmlui-thickness-decoration-Text-small)", "offset-decoration-Text-small": "var(--xmlui-offset-decoration-Text-small)", "line-height-Text-small": "var(--xmlui-line-height-Text-small)", "color-Text-small": "var(--xmlui-color-Text-small)", "color-bg-Text-small": "var(--xmlui-color-bg-Text-small)", "border-radius-Text-small": "var(--xmlui-border-radius-Text-small)", "color-border-Text-small": "var(--xmlui-color-border-Text-small)", "thickness-border-Text-small": "var(--xmlui-thickness-border-Text-small)", "style-border-Text-small": "var(--xmlui-style-border-Text-small)", "margin-top-Text-small": "var(--xmlui-margin-top-Text-small)", "margin-bottom-Text-small": "var(--xmlui-margin-bottom-Text-small)", "padding-horizontal-Text-small": "var(--xmlui-padding-horizontal-Text-small)", "padding-vertical-Text-small": "var(--xmlui-padding-vertical-Text-small)", "transform-Text-small": "var(--xmlui-transform-Text-small)", "align-vertical-Text-small": "var(--xmlui-align-vertical-Text-small)", "letter-spacing-Text-small": "var(--xmlui-letter-spacing-Text-small)", "font-family-Text-caption": "var(--xmlui-font-family-Text-caption)", "font-size-Text-caption": "var(--xmlui-font-size-Text-caption)", "font-weight-Text-caption": "var(--xmlui-font-weight-Text-caption)", "font-style-Text-caption": "var(--xmlui-font-style-Text-caption)", "font-stretch-Text-caption": "var(--xmlui-font-stretch-Text-caption)", "line-decoration-Text-caption": "var(--xmlui-line-decoration-Text-caption)", "color-decoration-Text-caption": "var(--xmlui-color-decoration-Text-caption)", "style-decoration-Text-caption": "var(--xmlui-style-decoration-Text-caption)", "thickness-decoration-Text-caption": "var(--xmlui-thickness-decoration-Text-caption)", "offset-decoration-Text-caption": "var(--xmlui-offset-decoration-Text-caption)", "line-height-Text-caption": "var(--xmlui-line-height-Text-caption)", "color-Text-caption": "var(--xmlui-color-Text-caption)", "color-bg-Text-caption": "var(--xmlui-color-bg-Text-caption)", "border-radius-Text-caption": "var(--xmlui-border-radius-Text-caption)", "color-border-Text-caption": "var(--xmlui-color-border-Text-caption)", "thickness-border-Text-caption": "var(--xmlui-thickness-border-Text-caption)", "style-border-Text-caption": "var(--xmlui-style-border-Text-caption)", "margin-top-Text-caption": "var(--xmlui-margin-top-Text-caption)", "margin-bottom-Text-caption": "var(--xmlui-margin-bottom-Text-caption)", "padding-horizontal-Text-caption": "var(--xmlui-padding-horizontal-Text-caption)", "padding-vertical-Text-caption": "var(--xmlui-padding-vertical-Text-caption)", "transform-Text-caption": "var(--xmlui-transform-Text-caption)", "align-vertical-Text-caption": "var(--xmlui-align-vertical-Text-caption)", "letter-spacing-Text-caption": "var(--xmlui-letter-spacing-Text-caption)", "font-family-Text-placeholder": "var(--xmlui-font-family-Text-placeholder)", "font-size-Text-placeholder": "var(--xmlui-font-size-Text-placeholder)", "font-weight-Text-placeholder": "var(--xmlui-font-weight-Text-placeholder)", "font-style-Text-placeholder": "var(--xmlui-font-style-Text-placeholder)", "font-stretch-Text-placeholder": "var(--xmlui-font-stretch-Text-placeholder)", "line-decoration-Text-placeholder": "var(--xmlui-line-decoration-Text-placeholder)", "color-decoration-Text-placeholder": "var(--xmlui-color-decoration-Text-placeholder)", "style-decoration-Text-placeholder": "var(--xmlui-style-decoration-Text-placeholder)", "thickness-decoration-Text-placeholder": "var(--xmlui-thickness-decoration-Text-placeholder)", "offset-decoration-Text-placeholder": "var(--xmlui-offset-decoration-Text-placeholder)", "line-height-Text-placeholder": "var(--xmlui-line-height-Text-placeholder)", "color-Text-placeholder": "var(--xmlui-color-Text-placeholder)", "color-bg-Text-placeholder": "var(--xmlui-color-bg-Text-placeholder)", "border-radius-Text-placeholder": "var(--xmlui-border-radius-Text-placeholder)", "color-border-Text-placeholder": "var(--xmlui-color-border-Text-placeholder)", "thickness-border-Text-placeholder": "var(--xmlui-thickness-border-Text-placeholder)", "style-border-Text-placeholder": "var(--xmlui-style-border-Text-placeholder)", "margin-top-Text-placeholder": "var(--xmlui-margin-top-Text-placeholder)", "margin-bottom-Text-placeholder": "var(--xmlui-margin-bottom-Text-placeholder)", "padding-horizontal-Text-placeholder": "var(--xmlui-padding-horizontal-Text-placeholder)", "padding-vertical-Text-placeholder": "var(--xmlui-padding-vertical-Text-placeholder)", "transform-Text-placeholder": "var(--xmlui-transform-Text-placeholder)", "align-vertical-Text-placeholder": "var(--xmlui-align-vertical-Text-placeholder)", "letter-spacing-Text-placeholder": "var(--xmlui-letter-spacing-Text-placeholder)", "font-family-Text-paragraph": "var(--xmlui-font-family-Text-paragraph)", "font-size-Text-paragraph": "var(--xmlui-font-size-Text-paragraph)", "font-weight-Text-paragraph": "var(--xmlui-font-weight-Text-paragraph)", "font-style-Text-paragraph": "var(--xmlui-font-style-Text-paragraph)", "font-stretch-Text-paragraph": "var(--xmlui-font-stretch-Text-paragraph)", "line-decoration-Text-paragraph": "var(--xmlui-line-decoration-Text-paragraph)", "color-decoration-Text-paragraph": "var(--xmlui-color-decoration-Text-paragraph)", "style-decoration-Text-paragraph": "var(--xmlui-style-decoration-Text-paragraph)", "thickness-decoration-Text-paragraph": "var(--xmlui-thickness-decoration-Text-paragraph)", "offset-decoration-Text-paragraph": "var(--xmlui-offset-decoration-Text-paragraph)", "line-height-Text-paragraph": "var(--xmlui-line-height-Text-paragraph)", "color-Text-paragraph": "var(--xmlui-color-Text-paragraph)", "color-bg-Text-paragraph": "var(--xmlui-color-bg-Text-paragraph)", "border-radius-Text-paragraph": "var(--xmlui-border-radius-Text-paragraph)", "color-border-Text-paragraph": "var(--xmlui-color-border-Text-paragraph)", "thickness-border-Text-paragraph": "var(--xmlui-thickness-border-Text-paragraph)", "style-border-Text-paragraph": "var(--xmlui-style-border-Text-paragraph)", "margin-top-Text-paragraph": "var(--xmlui-margin-top-Text-paragraph)", "margin-bottom-Text-paragraph": "var(--xmlui-margin-bottom-Text-paragraph)", "padding-horizontal-Text-paragraph": "var(--xmlui-padding-horizontal-Text-paragraph)", "padding-vertical-Text-paragraph": "var(--xmlui-padding-vertical-Text-paragraph)", "transform-Text-paragraph": "var(--xmlui-transform-Text-paragraph)", "align-vertical-Text-paragraph": "var(--xmlui-align-vertical-Text-paragraph)", "letter-spacing-Text-paragraph": "var(--xmlui-letter-spacing-Text-paragraph)", "font-family-Text-subheading": "var(--xmlui-font-family-Text-subheading)", "font-size-Text-subheading": "var(--xmlui-font-size-Text-subheading)", "font-weight-Text-subheading": "var(--xmlui-font-weight-Text-subheading)", "font-style-Text-subheading": "var(--xmlui-font-style-Text-subheading)", "font-stretch-Text-subheading": "var(--xmlui-font-stretch-Text-subheading)", "line-decoration-Text-subheading": "var(--xmlui-line-decoration-Text-subheading)", "color-decoration-Text-subheading": "var(--xmlui-color-decoration-Text-subheading)", "style-decoration-Text-subheading": "var(--xmlui-style-decoration-Text-subheading)", "thickness-decoration-Text-subheading": "var(--xmlui-thickness-decoration-Text-subheading)", "offset-decoration-Text-subheading": "var(--xmlui-offset-decoration-Text-subheading)", "line-height-Text-subheading": "var(--xmlui-line-height-Text-subheading)", "color-Text-subheading": "var(--xmlui-color-Text-subheading)", "color-bg-Text-subheading": "var(--xmlui-color-bg-Text-subheading)", "border-radius-Text-subheading": "var(--xmlui-border-radius-Text-subheading)", "color-border-Text-subheading": "var(--xmlui-color-border-Text-subheading)", "thickness-border-Text-subheading": "var(--xmlui-thickness-border-Text-subheading)", "style-border-Text-subheading": "var(--xmlui-style-border-Text-subheading)", "margin-top-Text-subheading": "var(--xmlui-margin-top-Text-subheading)", "margin-bottom-Text-subheading": "var(--xmlui-margin-bottom-Text-subheading)", "padding-horizontal-Text-subheading": "var(--xmlui-padding-horizontal-Text-subheading)", "padding-vertical-Text-subheading": "var(--xmlui-padding-vertical-Text-subheading)", "transform-Text-subheading": "var(--xmlui-transform-Text-subheading)", "align-vertical-Text-subheading": "var(--xmlui-align-vertical-Text-subheading)", "letter-spacing-Text-subheading": "var(--xmlui-letter-spacing-Text-subheading)", "font-family-Text-tableheading": "var(--xmlui-font-family-Text-tableheading)", "font-size-Text-tableheading": "var(--xmlui-font-size-Text-tableheading)", "font-weight-Text-tableheading": "var(--xmlui-font-weight-Text-tableheading)", "font-style-Text-tableheading": "var(--xmlui-font-style-Text-tableheading)", "font-stretch-Text-tableheading": "var(--xmlui-font-stretch-Text-tableheading)", "line-decoration-Text-tableheading": "var(--xmlui-line-decoration-Text-tableheading)", "color-decoration-Text-tableheading": "var(--xmlui-color-decoration-Text-tableheading)", "style-decoration-Text-tableheading": "var(--xmlui-style-decoration-Text-tableheading)", "thickness-decoration-Text-tableheading": "var(--xmlui-thickness-decoration-Text-tableheading)", "offset-decoration-Text-tableheading": "var(--xmlui-offset-decoration-Text-tableheading)", "line-height-Text-tableheading": "var(--xmlui-line-height-Text-tableheading)", "color-Text-tableheading": "var(--xmlui-color-Text-tableheading)", "color-bg-Text-tableheading": "var(--xmlui-color-bg-Text-tableheading)", "border-radius-Text-tableheading": "var(--xmlui-border-radius-Text-tableheading)", "color-border-Text-tableheading": "var(--xmlui-color-border-Text-tableheading)", "thickness-border-Text-tableheading": "var(--xmlui-thickness-border-Text-tableheading)", "style-border-Text-tableheading": "var(--xmlui-style-border-Text-tableheading)", "margin-top-Text-tableheading": "var(--xmlui-margin-top-Text-tableheading)", "margin-bottom-Text-tableheading": "var(--xmlui-margin-bottom-Text-tableheading)", "padding-horizontal-Text-tableheading": "var(--xmlui-padding-horizontal-Text-tableheading)", "padding-vertical-Text-tableheading": "var(--xmlui-padding-vertical-Text-tableheading)", "transform-Text-tableheading": "var(--xmlui-transform-Text-tableheading)", "align-vertical-Text-tableheading": "var(--xmlui-align-vertical-Text-tableheading)", "letter-spacing-Text-tableheading": "var(--xmlui-letter-spacing-Text-tableheading)", "font-family-Text-secondary": "var(--xmlui-font-family-Text-secondary)", "font-size-Text-secondary": "var(--xmlui-font-size-Text-secondary)", "font-weight-Text-secondary": "var(--xmlui-font-weight-Text-secondary)", "font-style-Text-secondary": "var(--xmlui-font-style-Text-secondary)", "font-stretch-Text-secondary": "var(--xmlui-font-stretch-Text-secondary)", "line-decoration-Text-secondary": "var(--xmlui-line-decoration-Text-secondary)", "color-decoration-Text-secondary": "var(--xmlui-color-decoration-Text-secondary)", "style-decoration-Text-secondary": "var(--xmlui-style-decoration-Text-secondary)", "thickness-decoration-Text-secondary": "var(--xmlui-thickness-decoration-Text-secondary)", "offset-decoration-Text-secondary": "var(--xmlui-offset-decoration-Text-secondary)", "line-height-Text-secondary": "var(--xmlui-line-height-Text-secondary)", "color-Text-secondary": "var(--xmlui-color-Text-secondary)", "color-bg-Text-secondary": "var(--xmlui-color-bg-Text-secondary)", "border-radius-Text-secondary": "var(--xmlui-border-radius-Text-secondary)", "color-border-Text-secondary": "var(--xmlui-color-border-Text-secondary)", "thickness-border-Text-secondary": "var(--xmlui-thickness-border-Text-secondary)", "style-border-Text-secondary": "var(--xmlui-style-border-Text-secondary)", "margin-top-Text-secondary": "var(--xmlui-margin-top-Text-secondary)", "margin-bottom-Text-secondary": "var(--xmlui-margin-bottom-Text-secondary)", "padding-horizontal-Text-secondary": "var(--xmlui-padding-horizontal-Text-secondary)", "padding-vertical-Text-secondary": "var(--xmlui-padding-vertical-Text-secondary)", "transform-Text-secondary": "var(--xmlui-transform-Text-secondary)", "align-vertical-Text-secondary": "var(--xmlui-align-vertical-Text-secondary)", "letter-spacing-Text-secondary": "var(--xmlui-letter-spacing-Text-secondary)"}'`,text:"_text_1v46g_13",abbr:"_abbr_1v46g_23",cite:"_cite_1v46g_51",codefence:"_codefence_1v46g_79",code:"_code_1v46g_79",deleted:"_deleted_1v46g_135",inserted:"_inserted_1v46g_178",keyboard:"_keyboard_1v46g_221",marked:"_marked_1v46g_249",mono:"_mono_1v46g_292",sample:"_sample_1v46g_320",sup:"_sup_1v46g_348",sub:"_sub_1v46g_376",var:"_var_1v46g_404",title:"_title_1v46g_432",subtitle:"_subtitle_1v46g_460",small:"_small_1v46g_488",caption:"_caption_1v46g_516",placeholder:"_placeholder_1v46g_544",paragraph:"_paragraph_1v46g_572",subheading:"_subheading_1v46g_600",tableheading:"_tableheading_1v46g_628",secondary:"_secondary_1v46g_656",strong:"_strong_1v46g_684",truncateOverflow:"_truncateOverflow_1v46g_692",preserveLinebreaks:"_preserveLinebreaks_1v46g_699",noEllipsis:"_noEllipsis_1v46g_703"},Su={abbr:"abbr",cite:"cite",code:"code",codefence:"pre",deleted:"del",inserted:"ins",keyboard:"kbd",marked:"mark",sample:"samp",sub:"sub",sup:"sup",var:"var",mono:"pre",strong:"strong",em:"em",title:"span",subtitle:"span",small:"span",caption:"span",placeholder:"span",paragraph:"p",subheading:"h6",tableheading:"h6",secondary:"span"},c7=[{value:"abbr",description:"Represents an abbreviation or acronym"},{value:"caption",description:"Represents the caption (or title) of a table"},{value:"cite",description:"Is used to mark up the title of a cited work"},{value:"code",description:"Represents a line of code"},{value:"codefence",description:"Handles the display of code blocks if combined with a `code` variant"},{value:"deleted",description:"Represents text that has been deleted"},{value:"em",description:"Marks text to stress emphasis"},{value:"inserted",description:"Represents a range of text that has been added to a document"},{value:"keyboard",description:"Represents a span of text denoting textual user input from a keyboard or voice input"},{value:"marked",description:"Represents text which is marked or highlighted for reference or notation"},{value:"mono",description:"Text using a mono style font family"},{value:"paragraph",description:"Represents a paragraph"},{value:"placeholder",description:"Text that is mostly used as the placeholder style in input controls"},{value:"sample",description:"Represents sample (or quoted) output from a computer program"},{value:"secondary",description:"Represents a bit dimmed secondary text"},{value:"small",description:"Represents side-comments and small print"},{value:"sub",description:"Specifies inline text as subscript"},{value:"strong",description:"Contents have strong importance"},{value:"subheading",description:"Indicates that the text is the subtitle in a heading"},{value:"subtitle",description:"Indicates that the text is the subtitle of some other content"},{value:"sup",description:"Specifies inline text as superscript"},{value:"tableheading",description:"Indicates that the text is a table heading"},{value:"title",description:"Indicates that the text is the title of some other content"},{value:"var",description:"Represents the name of a variable in a mathematical expression"}],B7=["title"],Q7=["cite","dateTime"],u7=[...B7,...Q7],qe=E.forwardRef(function({uid:e,variant:t,maxLines:o=0,layout:r,children:n,preserveLinebreaks:i,ellipses:s=!0,...a},l){const c=E.useRef(null),B=l?jt(c,l):c,Q=E.useMemo(()=>!t||!Su[t]?"div":Su[t],[t]);return g.jsx(g.Fragment,{children:g.jsx(Q,{...a,ref:B,className:cA([hn.text,hn[t||"default"],{[hn.truncateOverflow]:o>0,[hn.preserveLinebreaks]:i,[hn.noEllipsis]:!s}]),style:{...r,...Mu(o)},children:n})})}),IA="Text",E7=Z({description:`The \`${IA}\` component displays textual information in a number of optional styles and variants.`,props:{value:f(`The text to be displayed. This value can also be set via nesting the text into the \`${IA}\` component.`),variant:f("Optional string value that provides named presets for text variants with a unique combination of font style, weight, size, color and other parameters.",c7),maxLines:f("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."),preserveLinebreaks:f("This property indicates if linebreaks should be preserved when displaying text."),ellipses:f("This property indicates whether ellipses should be displayed when the text is cropped (`true`) or not (`false`).")},themeVars:pA(hn.themeVars),defaultThemeVars:{[`border-radius-${IA}`]:"$radius",[`style-border-${IA}`]:"solid",[`font-size-${IA}`]:"$font-size-small",[`thickness-border-${IA}`]:"$space-0",[`font-weight-${IA}-abbr`]:"$font-weight-bold",[`transform-${IA}-abbr`]:"uppercase",[`font-size-${IA}-secondary`]:"$font-size-small",[`font-style-${IA}-cite`]:"italic",[`color-${IA}`]:"$color-text-primary",[`font-family-${IA}`]:"$font-family",[`font-weight-${IA}`]:"$font-weight-normal",[`font-family-${IA}-code`]:"$font-family-monospace",[`font-size-${IA}-code`]:"$font-size-small",[`thickness-border-${IA}-code`]:"1px",[`padding-horizontal-${IA}-code`]:"$space-1",[`line-decoration-${IA}-deleted`]:"line-through",[`line-decoration-${IA}-inserted`]:"underline",[`font-family-${IA}-keyboard`]:"$font-family-monospace",[`font-size-${IA}-keyboard`]:"$font-size-small",[`font-weight-${IA}-keyboard`]:"$font-weight-bold",[`thickness-border-${IA}-keyboard`]:"1px",[`padding-horizontal-${IA}-keyboard`]:"$space-1",[`font-family-${IA}-sample`]:"$font-family-monospace",[`font-size-${IA}-sample`]:"$font-size-small",[`font-size-${IA}-sup`]:"$font-size-smaller",[`align-vertical-${IA}-sup`]:"super",[`font-size-${IA}-sub`]:"$font-size-smaller",[`align-vertical-${IA}-sub`]:"sub",[`font-style-${IA}-var`]:"italic",[`font-family-${IA}-mono`]:"$font-family-monospace",[`font-size-${IA}-title`]:"$font-size-large",[`font-size-${IA}-subtitle`]:"$font-size-medium",[`font-size-${IA}-small`]:"$font-size-small",[`line-height-${IA}-small`]:"$line-height-tight",[`letter-spacing-${IA}-caption`]:"0.05rem",[`font-size-${IA}-placeholder`]:"$font-size-small",[`font-family-${IA}-codefence`]:"$font-family-monospace",[`padding-horizontal-${IA}-codefence`]:"$space-3",[`padding-vertical-${IA}-codefence`]:"$space-2",[`padding-vertical-${IA}-paragraph`]:"$space-1",[`font-size-${IA}-subheading`]:"$font-size-H6",[`font-weight-${IA}-subheading`]:"$font-weight-bold",[`letter-spacing-${IA}-subheading`]:"0.04em",[`transform-${IA}-subheading`]:"uppercase",[`margin-top-${IA}-tableheading`]:"$space-1",[`margin-bottom-${IA}-tableheading`]:"$space-4",[`padding-horizontal-${IA}-tableheading`]:"$space-1",[`font-weight-${IA}-tableheading`]:"$font-weight-bold",light:{[`color-bg-${IA}-code`]:"$color-surface-100",[`color-border-${IA}-code`]:"$color-surface-200",[`color-bg-${IA}-keyboard`]:"$color-surface-200",[`color-border-${IA}-keyboard`]:"$color-surface-300",[`color-bg-${IA}-marked`]:"yellow",[`color-${IA}-placeholder`]:"$color-surface-500",[`color-bg-${IA}-codefence`]:"$color-primary-100",[`color-${IA}-codefence`]:"$color-surface-900",[`color-${IA}-subheading`]:"$color-text-secondary",[`color-${IA}-secondary`]:"$color-text-secondary"},dark:{[`color-bg-${IA}-code`]:"$color-surface-800",[`color-border-${IA}-code`]:"$color-surface-700",[`color-bg-${IA}-keyboard`]:"$color-surface-800",[`color-border-${IA}-keyboard`]:"$color-surface-700",[`color-bg-${IA}-marked`]:"orange",[`color-${IA}-placeholder`]:"$color-surface-500",[`color-bg-${IA}-codefence`]:"$color-primary-800",[`color-${IA}-codefence`]:"$color-surface-200",[`color-${IA}-subheading`]:"$color-text-secondary",[`color-${IA}-secondary`]:"$color-text-secondary"}}}),d7=AA(IA,E7,({node:A,extractValue:e,layoutCss:t,renderChild:o})=>{const{variant:r,maxLines:n,preserveLinebreaks:i,ellipses:s,value:a,...l}=A.props,c=Object.fromEntries(Object.entries(l).filter(([B,Q])=>u7.includes(B)).map(([B,Q])=>[B,e(Q)]));return g.jsx(qe,{variant:e(r),maxLines:e.asOptionalNumber(n),layout:t,preserveLinebreaks:e.asOptionalBoolean(i,!1),ellipses:e.asOptionalBoolean(s,!0),...c,children:e.asDisplayText(a)||o(A.children)})}),Pu="Fragment",C7=Z({description:`The \`${Pu}\` component encloses multiple child components into a single root component, so it can be used where only a single component definition is allowed.`,opaque:!0}),h7=AA(Pu,C7,({node:A,extractValue:e,renderChild:t,layoutContext:o})=>g.jsx(E.Fragment,{children:t(A.children,o)},e(A.uid))),ee={themeVars:`'{"color-text-pagination-Table": "var(--xmlui-color-text-pagination-Table)", "color-bg-Table": "var(--xmlui-color-bg-Table)", "color-text-Table": "var(--xmlui-color-text-Table)", "color-bg-row-Table": "var(--xmlui-color-bg-row-Table)", "color-bg-row-Table--hover": "var(--xmlui-color-bg-row-Table--hover)", "color-bg-selected-Table": "var(--xmlui-color-bg-selected-Table)", "color-bg-selected-Table--hover": "var(--xmlui-color-bg-selected-Table--hover)", "color-bg-heading-Table": "var(--xmlui-color-bg-heading-Table)", "color-bg-heading-Table--hover": "var(--xmlui-color-bg-heading-Table--hover)", "color-bg-heading-Table--active": "var(--xmlui-color-bg-heading-Table--active)", "padding-horizontal-heading-Table": "var(--xmlui-padding-horizontal-heading-Table)", "padding-vertical-heading-Table": "var(--xmlui-padding-vertical-heading-Table)", "padding-heading-Table": "var(--xmlui-padding-heading-Table)", "padding-horizontal-cell-Table": "var(--xmlui-padding-horizontal-cell-Table)", "padding-horizontal-cell-first-Table": "var(--xmlui-padding-horizontal-cell-first-Table)", "padding-horizontal-cell-last-Table": "var(--xmlui-padding-horizontal-cell-last-Table)", "padding-vertical-cell-Table": "var(--xmlui-padding-vertical-cell-Table)", "padding-cell-Table": "var(--xmlui-padding-cell-Table)", "color-border-cell-Table": "var(--xmlui-color-border-cell-Table)", "thickness-border-cell-Table": "var(--xmlui-thickness-border-cell-Table)", "style-border-cell-Table": "var(--xmlui-style-border-cell-Table)", "border-cell-Table": "var(--xmlui-border-cell-Table)", "color-bg-pagination-Table": "var(--xmlui-color-bg-pagination-Table)", "color-text-heading-Table": "var(--xmlui-color-text-heading-Table)", "font-weight-row-Table": "var(--xmlui-font-weight-row-Table)", "font-size-row-Table": "var(--xmlui-font-size-row-Table)", "font-weight-heading-Table": "var(--xmlui-font-weight-heading-Table)", "font-size-heading-Table": "var(--xmlui-font-size-heading-Table)", "transform-text-heading-Table": "var(--xmlui-transform-text-heading-Table)", "thickness-outline-heading-Table--focus": "var(--xmlui-thickness-outline-heading-Table--focus)", "color-outline-heading-Table--focus": "var(--xmlui-color-outline-heading-Table--focus)", "style-outline-heading-Table--focus": "var(--xmlui-style-outline-heading-Table--focus)", "offset-outline-heading-Table--focus": "var(--xmlui-offset-outline-heading-Table--focus)"}'`,wrapper:"_wrapper_7jlv4_13",noScroll:"_noScroll_7jlv4_19",headerWrapper:"_headerWrapper_7jlv4_23",tableBody:"_tableBody_7jlv4_23",clickableHeader:"_clickableHeader_7jlv4_29",headerContent:"_headerContent_7jlv4_39",headerRow:"_headerRow_7jlv4_67",columnCell:"_columnCell_7jlv4_72",cell:"_cell_7jlv4_72",table:"_table_7jlv4_23",row:"_row_7jlv4_83",checkBoxWrapper:"_checkBoxWrapper_7jlv4_89",showInHeader:"_showInHeader_7jlv4_93",selected:"_selected_7jlv4_96",allSelected:"_allSelected_7jlv4_96",focused:"_focused_7jlv4_142",disabled:"_disabled_7jlv4_154",noRows:"_noRows_7jlv4_179",pagination:"_pagination_7jlv4_185",paginationLabel:"_paginationLabel_7jlv4_201",paginationSelect:"_paginationSelect_7jlv4_206",paginationButtons:"_paginationButtons_7jlv4_212",searchIconWrapper:"_searchIconWrapper_7jlv4_217",loadingWrapper:"_loadingWrapper_7jlv4_224",resizer:"_resizer_7jlv4_239",isResizing:"_isResizing_7jlv4_261"},I7={value:Be},p7=({children:A})=>{const[e,t]=E.useState(I7);return g.jsx(Tu,{updateState:t,selectedItems:e.value,children:A})},Tu=({updateState:A=QA.noop,idKey:e="id",children:t,selectedItems:o=Be,registerComponentApi:r=QA.noop})=>{const[n,i]=E.useState(o),s=E.useRef(!1),a=HA((Q=Be)=>{i(Q);let u=Q.filter(d=>!!o.find(C=>C[e]===d[e]));(!QA.isEqual(o,u)||!s.current)&&(s.current=!0,A({value:u}))}),l=HA(Q=>{A({value:n.filter(u=>Q.includes(u[e]))})}),c=HA(()=>{l(Be)});E.useLayoutEffect(()=>{r({clearSelection:c,setSelectedRowIds:l,refreshSelection:a})},[c,l,r,a]);const B=E.useMemo(()=>({selectedItems:o,setSelectedRowIds:l,refreshSelection:a,idKey:e}),[a,o,l,e]);return g.jsx(Gu.Provider,{value:B,children:t})},Gu=E.createContext(null);function Hu(){return E.useContext(Gu)}function w7({items:A=Be,visibleItems:e=A,rowsSelectable:t,enableMultiRowSelection:o,onSelectionDidChange:r}){const[n,i]=E.useState(-1),[s,a]=E.useState(null),{selectedItems:l,setSelectedRowIds:c,refreshSelection:B,idKey:Q}=Hu(),u=E.useMemo(()=>e.map(v=>v[Q]),[Q,e]);E.useEffect(()=>{B(t?A:Be)},[B,A,t]);const d=lo(o);E.useEffect(()=>{d&&!o&&l.length>1&&c([l[0][Q]])},[o,Q,d,l,c]),E.useEffect(()=>{t&&n!==-1&&!u[n]&&u[0]&&i(0)},[n,t,i,u]);const C=HA((v,y={})=>{if(!t)return;const P=u[v],{shiftKey:b,metaKey:_,ctrlKey:q}=y,J=!o||!b&&!_&&!q;let z,T=[...l.map(S=>S[Q])];if(J)z={from:P,to:P},T=[P];else if(b){let S,G,Y,U;if(s){let tA=u.indexOf(s.from),uA=u.indexOf(s.to),EA=Math.min(tA,uA),hA=Math.max(tA,uA);const eA=u.slice(EA,hA+1);T=T.filter($=>!eA.includes($)),Y=s.from,U=P;let oA=u.indexOf(Y),W=u.indexOf(U);S=Math.min(oA,W),G=Math.max(oA,W)}else Y=P,U=P,S=v,G=v;const V=u.slice(S,G+1);T=QA.union(T,V),z={from:Y,to:U}}else z={from:P,to:P},_||q?T.includes(P)?T=T.filter(S=>S!==P):T.push(P):T=[P];i(v),c(QA.uniq(T)),a(z)}),h=HA((v,y)=>{if(!t)return;const P=u.indexOf(v[Q]);C(P,y)}),I=HA(v=>{if(t){if(v.key==="ArrowDown"){v.preventDefault();let y=Math.min(e.length-1,n+1);n!==e.length-1&&C(y,v)}if(v.key==="PageDown"){v.preventDefault();const y=Math.min(e.length-1,n+8);C(y,v)}if(v.key==="ArrowUp"){v.preventDefault();let y=Math.max(0,n-1);n>=0&&C(y,v)}if(v.key==="PageUp"){v.preventDefault();const y=Math.max(0,n-8);C(y,v)}}});E.useEffect(()=>{r==null||r(l)},[l,r]);const p=HA(v=>{t&&(!o&&v||c(v?A.map(y=>y[Q]):[]))}),D=E.useMemo(()=>{let v={};return l.forEach(y=>{v[y[Q]]=!0}),v},[Q,l]),m=E.useCallback(()=>l,[l]),k=E.useCallback(()=>l.map(v=>v[Q]),[Q,l]),N=E.useCallback(()=>{p(!1)},[p]),L=E.useCallback(()=>{p(!0)},[p]),M=E.useCallback(v=>{if(!t)return;let y=Array.isArray(v)?v:[v];y.length>1&&!o&&(y=[y[0]]),c(y)},[o,t,c]),F=E.useMemo(()=>({getSelectedItems:m,getSelectedIds:k,clearSelection:N,selectAll:L,selectId:M}),[N,k,m,L,M]);return{onKeyDown:I,focusedIndex:n,toggleRowIndex:C,toggleRow:h,checkAllRows:p,selectedRowIdMap:D,selectedItems:l,idKey:Q,selectionApi:F}}const ar={themeVars:`'{"Input:radius-Checkbox-default": "var(--xmlui-radius-Checkbox-default)", "Input:color-border-Checkbox-default": "var(--xmlui-color-border-Checkbox-default)", "Input:color-bg-Checkbox-default": "var(--xmlui-color-bg-Checkbox-default)", "Input:thickness-outline-Checkbox-default--focus": "var(--xmlui-thickness-outline-Checkbox-default--focus)", "Input:color-outline-Checkbox-default--focus": "var(--xmlui-color-outline-Checkbox-default--focus)", "Input:style-outline-Checkbox-default--focus": "var(--xmlui-style-outline-Checkbox-default--focus)", "Input:offset-outline-Checkbox-default--focus": "var(--xmlui-offset-outline-Checkbox-default--focus)", "Input:color-border-Checkbox-default--hover": "var(--xmlui-color-border-Checkbox-default--hover)", "Input:color-bg-Checkbox--disabled": "var(--xmlui-color-bg-Checkbox--disabled)", "Input:color-border-Checkbox--disabled": "var(--xmlui-color-border-Checkbox--disabled)", "Input:radius-Checkbox-error": "var(--xmlui-radius-Checkbox-error)", "Input:color-border-Checkbox-error": "var(--xmlui-color-border-Checkbox-error)", "Input:color-bg-Checkbox-error": "var(--xmlui-color-bg-Checkbox-error)", "Input:thickness-outline-Checkbox-error--focus": "var(--xmlui-thickness-outline-Checkbox-error--focus)", "Input:color-outline-Checkbox-error--focus": "var(--xmlui-color-outline-Checkbox-error--focus)", "Input:style-outline-Checkbox-error--focus": "var(--xmlui-style-outline-Checkbox-error--focus)", "Input:offset-outline-Checkbox-error--focus": "var(--xmlui-offset-outline-Checkbox-error--focus)", "Input:radius-Checkbox-warning": "var(--xmlui-radius-Checkbox-warning)", "Input:color-border-Checkbox-warning": "var(--xmlui-color-border-Checkbox-warning)", "Input:color-bg-Checkbox-warning": "var(--xmlui-color-bg-Checkbox-warning)", "Input:thickness-outline-Checkbox-warning--focus": "var(--xmlui-thickness-outline-Checkbox-warning--focus)", "Input:color-outline-Checkbox-warning--focus": "var(--xmlui-color-outline-Checkbox-warning--focus)", "Input:style-outline-Checkbox-warning--focus": "var(--xmlui-style-outline-Checkbox-warning--focus)", "Input:offset-outline-Checkbox-warning--focus": "var(--xmlui-offset-outline-Checkbox-warning--focus)", "Input:radius-Checkbox-success": "var(--xmlui-radius-Checkbox-success)", "Input:color-border-Checkbox-success": "var(--xmlui-color-border-Checkbox-success)", "Input:color-bg-Checkbox-success": "var(--xmlui-color-bg-Checkbox-success)", "Input:thickness-outline-Checkbox-success--focus": "var(--xmlui-thickness-outline-Checkbox-success--focus)", "Input:color-outline-Checkbox-success--focus": "var(--xmlui-color-outline-Checkbox-success--focus)", "Input:style-outline-Checkbox-success--focus": "var(--xmlui-style-outline-Checkbox-success--focus)", "Input:offset-outline-Checkbox-success--focus": "var(--xmlui-offset-outline-Checkbox-success--focus)", "color-bg-indicator-Checkbox": "var(--xmlui-color-bg-indicator-Checkbox)", "Input:color-border-checked-Checkbox": "var(--xmlui-color-border-checked-Checkbox)", "Input:color-bg-checked-Checkbox": "var(--xmlui-color-bg-checked-Checkbox)", "Input:color-border-checked-Checkbox-error": "var(--xmlui-color-border-checked-Checkbox-error)", "Input:color-bg-checked-Checkbox-error": "var(--xmlui-color-bg-checked-Checkbox-error)", "Input:color-border-checked-Checkbox-warning": "var(--xmlui-color-border-checked-Checkbox-warning)", "Input:color-bg-checked-Checkbox-warning": "var(--xmlui-color-bg-checked-Checkbox-warning)", "Input:color-border-checked-Checkbox-success": "var(--xmlui-color-border-checked-Checkbox-success)", "Input:color-bg-checked-Checkbox-success": "var(--xmlui-color-bg-checked-Checkbox-success)", "Input:color-border-Switch": "var(--xmlui-color-border-Switch)", "Input:color-bg-Switch": "var(--xmlui-color-bg-Switch)", "Input:color-border-Switch-default--hover": "var(--xmlui-color-border-Switch-default--hover)", "Input:color-bg-Switch--disabled": "var(--xmlui-color-bg-Switch--disabled)", "Input:color-border-Switch--disabled": "var(--xmlui-color-border-Switch--disabled)", "Input:color-border-Switch-error": "var(--xmlui-color-border-Switch-error)", "Input:color-border-Switch-warning": "var(--xmlui-color-border-Switch-warning)", "Input:color-border-Switch-success": "var(--xmlui-color-border-Switch-success)", "color-bg-indicator-Switch": "var(--xmlui-color-bg-indicator-Switch)", "Input:color-border-checked-Switch": "var(--xmlui-color-border-checked-Switch)", "Input:color-bg-checked-Switch": "var(--xmlui-color-bg-checked-Switch)", "Input:color-border-checked-Switch-error": "var(--xmlui-color-border-checked-Switch-error)", "Input:color-bg-checked-Switch-error": "var(--xmlui-color-bg-checked-Switch-error)", "Input:color-border-checked-Switch-warning": "var(--xmlui-color-border-checked-Switch-warning)", "Input:color-bg-checked-Switch-warning": "var(--xmlui-color-bg-checked-Switch-warning)", "Input:color-border-checked-Switch-success": "var(--xmlui-color-border-checked-Switch-success)", "Input:color-bg-checked-Switch-success": "var(--xmlui-color-bg-checked-Switch-success)", "Input:thickness-outline-Switch--focus": "var(--xmlui-thickness-outline-Switch--focus)", "Input:color-outline-Switch--focus": "var(--xmlui-color-outline-Switch--focus)", "Input:style-outline-Switch--focus": "var(--xmlui-style-outline-Switch--focus)", "Input:offset-outline-Switch--focus": "var(--xmlui-offset-outline-Switch--focus)"}'`,resetAppearance:"_resetAppearance_fdujw_13",checkbox:"_checkbox_fdujw_21",error:"_error_fdujw_50",warning:"_warning_fdujw_61",valid:"_valid_fdujw_72",switch:"_switch_fdujw_132"},mi=E.forwardRef(function({id:e,initialValue:t=!1,value:o=!1,enabled:r=!0,style:n,readOnly:i,validationStatus:s="none",updateState:a=vA,onDidChange:l=vA,onFocus:c=vA,onBlur:B=vA,variant:Q="checkbox",indeterminate:u=!1,className:d,label:C,labelPosition:h="start",labelWidth:I,labelBreak:p,required:D,registerComponentApi:m},k){const N=E.useRef(null),L=k?jt(N,k):N;E.useEffect(()=>{a({value:t},{initial:!0})},[t,a]);const M=E.useCallback(_=>{var q;((q=N.current)==null?void 0:q.checked)!==_&&(a({value:_}),l(_))},[l,a]),F=E.useCallback(_=>{i||(a({value:_.target.checked}),l(_.target.checked))},[l,i,a]),v=E.useCallback(()=>{c==null||c()},[c]),y=E.useCallback(()=>{B==null||B()},[B]);E.useEffect(()=>{typeof u=="boolean"&&N.current&&(N.current.indeterminate=u)},[u]);const P=E.useCallback(()=>{var _;(_=N.current)==null||_.focus()},[]),b=HA(_=>{M(_)});return E.useEffect(()=>{m==null||m({focus:P,setValue:b})},[P,m,b]),g.jsx(ho,{id:e,label:C,style:n,labelPosition:h,labelWidth:I,labelBreak:p,required:D,enabled:r,shrinkToLabel:!0,labelStyle:{pointerEvents:i?"none":void 0},children:g.jsx("input",{ref:L,type:"checkbox",role:Q,checked:o,disabled:!r,readOnly:i,"aria-readonly":i,onChange:F,onFocus:v,onBlur:y,className:cA(ar.resetAppearance,d,{[ar.checkbox]:Q==="checkbox",[ar.switch]:Q==="switch",[ar.error]:s==="error",[ar.warning]:s==="warning",[ar.valid]:s==="valid"}),"aria-checked":o})})});function f7(A){return!1}const D7=42,m7=[10],Uu=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}},x7=E.forwardRef(({data:A=Be,columns:e=Be,isPaginated:t=!1,loading:o=!1,headerHeight:r,rowsSelectable:n=!1,enableMultiRowSelection:i=!0,pageSizes:s=m7,rowDisabledPredicate:a=f7,sortBy:l,sortingDirection:c="ascending",iconSortAsc:B,iconSortDesc:Q,iconNoSort:u,sortingDidChange:d,willSort:C,style:h,noDataRenderer:I,autoFocus:p=!1,hideHeader:D=!1,hideNoDataView:m=!1,alwaysShowSelectionHeader:k=!1,registerComponentApi:N,onSelectionDidChange:L},M)=>{var xr,RA,Se,Ct;const{getThemeVar:F}=ce(),v=Array.isArray(A)?A:Be,y=E.useRef(null),P=M?jt(y,M):y,b=E.useRef(null),_=E.useRef(null),q=l!==void 0,J=E.useMemo(()=>e||(v.length?Object.keys(v[0]).map(mA=>({header:mA,accessorKey:mA})):Be),[e,v]);E.useEffect(()=>{p&&y.current.focus()},[p]);const[z,T]=E.useState(Be),{toggleRow:S,checkAllRows:G,focusedIndex:Y,onKeyDown:U,selectedRowIdMap:V,idKey:tA,selectionApi:uA}=w7({items:v,visibleItems:z,rowsSelectable:n,enableMultiRowSelection:i,onSelectionDidChange:L}),EA=E.useMemo(()=>v.map((mA,fA)=>({...mA,order:fA+1})),[v]),[hA,eA]=E.useState(l),[oA,W]=E.useState(c);E.useLayoutEffect(()=>{eA(l)},[l]),E.useLayoutEffect(()=>{W(c)},[c]);const $=E.useMemo(()=>!hA||q?EA:QA.orderBy(EA,hA,oA==="ascending"?"asc":"desc"),[hA,oA,EA,q]),rA=E.useCallback(async mA=>{let fA="ascending",NA=mA;hA===mA&&(oA==="ascending"?fA="descending":NA=void 0),await(C==null?void 0:C(NA,fA))!==!1&&(W(fA),eA(NA),d==null||d(NA,fA))},[hA,C,d,oA]),dA=E.useMemo(()=>J.map((mA,fA)=>{const{width:NA,starSizedWidth:WA}=It(mA.width,!0,"width"),{width:ht}=It(mA.minWidth,!1,"minWidth"),{width:re}=It(mA.maxWidth,!1,"maxWidth");return{...mA,header:mA.header??mA.accessorKey??" ",id:"col_"+fA,size:NA,minSize:ht,maxSize:re,enableResizing:mA.canResize,enableSorting:mA.canSort,enablePinning:mA.pinTo!==void 0,meta:{starSizedWidth:WA,pinTo:mA.pinTo,style:mA.style,accessorKey:mA.accessorKey,cellRenderer:mA.cellRenderer}};function It(rt,Jt,De){let kt,Wn;const Lo=ag(rt)?F(rt):rt;if(typeof Lo=="number")Wn=Lo;else if(typeof Lo=="string"){const BQ=Lo.match(/^\s*\*\s*$/);if(Jt&&BQ)kt="1*";else{const jl=Lo.match(/^\s*(\d+)\s*\*\s*$/);if(Jt&&jl)kt=jl[1]+"*";else{const Vl=Lo.match(/^\s*(\d+)\s*(px)?\s*$/);if(Vl)Wn=Number(Vl[1]);else throw new Error(`Invalid TableColumnDef '${De}' value: ${Lo}`)}}}return Wn===void 0&&kt===void 0&&Jt&&(kt="1*"),{width:Wn,starSizedWidth:kt}}}),[F,J]),TA=E.useMemo(()=>n?[{id:"select",size:D7,enableResizing:!1,enablePinning:!0,meta:{pinTo:"left"},header:({table:fA})=>i?g.jsx(mi,{className:cA(ee.checkBoxWrapper,{[ee.showInHeader]:k}),value:fA.getIsAllRowsSelected(),indeterminate:fA.getIsSomeRowsSelected(),onDidChange:NA=>{G(NA)}}):null,cell:({row:fA})=>g.jsx(mi,{className:ee.checkBoxWrapper,value:fA.getIsSelected(),indeterminate:fA.getIsSomeSelected(),onDidChange:()=>{S(fA.original,{metaKey:!0})}})},...dA]:dA,[n,dA,i,k,G,S]),[sA,yA]=E.useState({pageSize:t?s[0]:Number.MAX_VALUE,pageIndex:0}),FA=lo(t);E.useEffect(()=>{!FA&&t&&yA(mA=>({...mA,pageSize:s[0]})),FA&&!t&&yA(mA=>({pageIndex:0,pageSize:Number.MAX_VALUE}))},[t,s,FA]);const[JA,XA]=E.useState({}),ZA=E.useMemo(()=>{const mA=[],fA=[];return TA.forEach(NA=>{var WA,ht;((WA=NA.meta)==null?void 0:WA.pinTo)==="right"&&fA.push(NA.id),((ht=NA.meta)==null?void 0:ht.pinTo)==="left"&&mA.push(NA.id)}),{left:mA,right:fA}},[TA]),UA=Xn.useReactTable({columns:TA,data:$,getCoreRowModel:Xn.getCoreRowModel(),getPaginationRowModel:t?Xn.getPaginationRowModel():void 0,enableRowSelection:n,enableMultiRowSelection:i,columnResizeMode:"onChange",getRowId:E.useCallback(mA=>mA[tA]+"",[tA]),state:E.useMemo(()=>({pagination:sA,rowSelection:V,columnSizing:JA,columnPinning:ZA}),[ZA,JA,sA,V]),onColumnSizingChange:XA,onPaginationChange:yA}),$A=UA.getRowModel().rows;E.useEffect(()=>{T($A.map(mA=>mA.original))},[$A]);const de=E.useContext(Io),Fe=de&&(h==null?void 0:h.maxHeight)===void 0&&(h==null?void 0:h.height)===void 0&&(h==null?void 0:h.flex)===void 0,No=E.useCallback((mA,fA)=>Ms.observeElementOffset(mA,(NA,WA)=>{var re;const ht=Fe&&((re=y.current)==null?void 0:re.offsetTop)||0;fA(NA-ht,WA)}),[Fe]),ze=Ms.useVirtualizer({count:$A.length,getScrollElement:E.useCallback(()=>Fe&&(de!=null&&de.current)?de==null?void 0:de.current:y.current,[de,Fe]),observeElementOffset:No,estimateSize:E.useCallback(()=>_.current||30,[]),overscan:5}),_o=ze.getVirtualItems().length>0&&((RA=(xr=ze.getVirtualItems())==null?void 0:xr[0])==null?void 0:RA.start)||0,so=ze.getVirtualItems().length>0?ze.getTotalSize()-(((Ct=(Se=ze.getVirtualItems())==null?void 0:Se[ze.getVirtualItems().length-1])==null?void 0:Ct.end)||0):0,Le=v.length!==0,mr=E.useRef({}),tn=E.useCallback(mA=>{mr.current[mA]=!0},[]),Fo=HA(()=>{if(!b.current)return;let mA=b.current.clientWidth-1;const fA={},NA=[],WA={};UA.getAllColumns().forEach(re=>{var ao,It;if(re.columnDef.size!==void 0||mr.current[re.id])mA-=JA[re.id]||re.columnDef.size||0;else{NA.push(re);let rt;(ao=re.columnDef.meta)!=null&&ao.starSizedWidth?rt=Number((It=re.columnDef.meta)==null?void 0:It.starSizedWidth.replace("*","").trim())||1:rt=1,WA[re.id]=rt}});const ht=Object.values(WA).reduce((re,ao)=>re+ao,0);NA.forEach(re=>{fA[re.id]=Math.floor(mA*(WA[re.id]/ht))}),Po.flushSync(()=>{XA(re=>({...re,...fA}))})});return Ks(b,Fo),$t(()=>{queueMicrotask(()=>{Fo()})},[Fo,J]),$t(()=>{N(uA)},[N,uA]),g.jsxs("div",{className:cA(ee.wrapper,{[ee.noScroll]:Fe}),tabIndex:-1,onKeyDown:U,ref:P,style:h,children:[g.jsxs("table",{className:ee.table,ref:b,style:{borderRight:"1px solid transparent"},children:[!D&&g.jsx("thead",{style:{height:r},className:ee.headerWrapper,children:UA.getHeaderGroups().map((mA,fA)=>g.jsx("tr",{className:cA(ee.headerRow,{[ee.allSelected]:UA.getIsAllRowsSelected()}),children:mA.headers.map((NA,WA)=>{var It,rt;const{width:ht,...re}=((It=NA.column.columnDef.meta)==null?void 0:It.style)||{},ao=NA.getSize();return g.jsxs("th",{className:ee.columnCell,colSpan:NA.colSpan,style:{position:"relative",width:ao,...Uu(NA.column)},children:[g.jsx(v7,{hasSorting:NA.column.columnDef.enableSorting,updateSorting:()=>{var Jt;return rA((Jt=NA.column.columnDef.meta)==null?void 0:Jt.accessorKey)},children:g.jsxs("div",{className:ee.headerContent,style:re,children:[Xn.flexRender(NA.column.columnDef.header,NA.getContext()),g.jsx("span",{style:{display:"inline-flex",maxWidth:16},children:NA.column.columnDef.enableSorting&&g.jsx(y7,{iconSortAsc:B,iconSortDesc:Q,iconNoSort:u,direction:((rt=NA.column.columnDef.meta)==null?void 0:rt.accessorKey)===hA?oA:void 0})})]})}),NA.column.getCanResize()&&g.jsx("div",{onDoubleClick:()=>{mr.current[NA.column.id]=!1,NA.column.columnDef.size!==void 0?NA.column.resetSize():Fo()},onMouseDown:Jt=>{tn(NA.column.id),NA.getResizeHandler()(Jt)},onTouchStart:Jt=>{tn(NA.column.id),NA.getResizeHandler()(Jt)},className:cA(ee.resizer,{[ee.isResizing]:NA.column.getIsResizing()})})]},`${NA.id}-${WA}`)})},`${mA.id}-${fA}`))}),Le&&g.jsxs("tbody",{className:ee.tableBody,children:[_o>0&&g.jsx("tr",{children:g.jsx("td",{style:{height:`${_o}px`}})}),ze.getVirtualItems().map(mA=>{const fA=mA.index,NA=$A[fA];return g.jsx("tr",{"data-index":fA,className:cA(ee.row,{[ee.selected]:NA.getIsSelected(),[ee.focused]:Y===fA,[ee.disabled]:a(NA.original)}),ref:WA=>{WA&&_.current===null&&(_.current=Math.round(WA.getBoundingClientRect().height)),ze.measureElement(WA)},onClick:WA=>{WA.defaultPrevented||WA.target.tagName.toLowerCase()==="input"||S(NA.original,WA)},children:NA.getVisibleCells().map((WA,ht)=>{var It,rt;const re=(rt=(It=WA.column.columnDef)==null?void 0:It.meta)==null?void 0:rt.cellRenderer,ao=WA.column.getSize();return g.jsx("td",{className:ee.cell,style:{width:ao,...Uu(WA.column)},children:re?re(WA.row.original):Xn.flexRender(WA.column.columnDef.cell,WA.getContext())},`${WA.id}-${ht}`)})},`${NA.id}-${fA}`)}),so>0&&g.jsx("tr",{children:g.jsx("td",{style:{height:`${so}px`}})})]})]}),o&&!Le&&g.jsx("div",{className:ee.loadingWrapper,children:g.jsx(ha,{})}),!m&&!o&&!Le&&(I?I():g.jsx("div",{className:ee.noRows,children:"No data available"})),t&&Le&&$A.length>0&&sA&&g.jsxs("div",{className:ee.pagination,children:[g.jsx("div",{style:{flex:1},children:g.jsxs("span",{className:ee.paginationLabel,children:["Showing ",$A[0].original.order," to ",$A[$A.length-1].original.order," of"," ",v.length," entries"]})}),s.length>1&&g.jsxs("div",{children:[g.jsx("span",{className:ee.paginationLabel,children:"Rows per page"}),g.jsx("select",{className:ee.paginationSelect,value:sA.pageSize,onChange:mA=>{UA.setPageSize(Number(mA.target.value))},children:s.map(mA=>g.jsx("option",{value:mA,children:mA},mA))})]}),g.jsxs("div",{className:ee.paginationButtons,children:[g.jsx(Ce,{onClick:()=>UA.setPageIndex(0),disabled:!UA.getCanPreviousPage(),type:"button",variant:"ghost",children:g.jsx(Rp,{})}),g.jsx(Ce,{onClick:()=>UA.previousPage(),disabled:!UA.getCanPreviousPage(),type:"button",variant:"ghost",children:g.jsx(X1,{})}),g.jsx(Ce,{onClick:()=>UA.nextPage(),disabled:!UA.getCanNextPage(),type:"button",variant:"ghost",children:g.jsx(Z1,{})}),g.jsx(Ce,{onClick:()=>UA.setPageIndex(UA.getPageCount()-1),disabled:!UA.getCanNextPage(),type:"button",variant:"ghost",children:g.jsx(Yp,{})})]})]})]})});function v7({hasSorting:A,updateSorting:e,children:t}){return A?g.jsx("button",{className:ee.clickableHeader,onClick:e,children:t}):g.jsx(g.Fragment,{children:t})}function y7({direction:A,iconSortAsc:e="sortasc:Table",iconSortDesc:t="sortdesc:Table",iconNoSort:o="nosort:Table"}){return A==="ascending"?g.jsx(kA,{name:e,fallback:"sortasc",size:"12"}):A==="descending"?g.jsx(kA,{name:t,fallback:"sortdesc",size:"12"}):o!=="-"?g.jsx(kA,{name:o,fallback:"nosort",size:"12"}):g.jsx(kA,{name:o,size:"12"})}const jg=E.createContext({registerColumn:(A,e)=>{},unRegisterColumn:A=>{}});function b7(){return E.useContext(jg)}const xA="Table",k7=Z({description:`\`${xA}\` is a component that displays cells organized into rows and columns. The \`${xA}\` component is virtualized so it only renders visible cells.`,props:{items:f("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:f("The component receives data via this property. The `data` property is a list of items that the `Table` can display."),isPaginated:f(`This property adds pagination controls to the \`${xA}\`.`),loading:f("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:f("This optional property is used to specify the height of the table header."),rowsSelectable:f("Indicates whether the rows are selectable (`true`) or not (`false`)."),pageSizes:f("Describes how big a page should be for pagination."),rowDisabledPredicate:f("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:se("A property to customize what to display if the table does not contain any data."),sortBy:f("This property is used to determine which data attributes to sort by."),sortDirection:f("This property determines the sort order to be `ascending` or `descending`. This property only works if the [`sortBy`](#sortby) property is also set."),autoFocus:Dt(),hideHeader:f("Set the header visibility using this property. Set it to `true` to hide the header."),iconNoSort:f(`Allows the customization of the icon displayed in the ${xA} column header when when sorting is enabled and sorting is not done according to the column.`),iconSortAsc:f(`Allows the customization of the icon displayed in the ${xA} column header when sorting is enabled, sorting is done according to the column, and the column is sorted in ascending order.`),iconSortDesc:f(`Allows the customization of the icon displayed in the ${xA} column header when sorting is enabled, sorting is done according to the column, and the column is sorted in descending order.`),enableMultiRowSelection:f("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."),alwaysShowSelectionHeader:f("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.",null,"boolean",!1)},events:{sortingDidChange:f("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:f("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:f("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:f("This method clears the list of currently selected table rows."),getSelectedItems:f("This method returns the list of currently selected table rows items."),getSelectedIds:f("This method returns the list of currently selected table rows IDs."),selectAll:f("This method selects all the rows in the table. This method has no effect if the rowsSelectable property is set to `false`."),selectId:f("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:pA(ee.themeVars),defaultThemeVars:{[`padding-horizontal-heading-${xA}`]:"$space-2",[`padding-vertical-heading-${xA}`]:"$space-2",[`padding-heading-${xA}`]:`$padding-vertical-heading-${xA} $padding-horizontal-heading-${xA}`,[`padding-horizontal-cell-${xA}`]:"$space-2",[`padding-horizontal-cell-first-${xA}`]:"$space-5",[`padding-horizontal-cell-last-${xA}`]:"$space-5",[`padding-vertical-cell-${xA}`]:"$space-2",[`padding-cell-${xA}`]:`$padding-vertical-cell-${xA} $padding-horizontal-cell-${xA}`,[`thickness-border-cell-${xA}`]:"1px",[`style-border-cell-${xA}`]:"solid",[`border-cell-${xA}`]:`$thickness-border-cell-${xA} $style-border-cell-${xA} $color-border-cell-${xA}`,[`thickness-outline-heading-${xA}--focus`]:"$thickness-outline--focus",[`style-outline-heading-${xA}--focus`]:"$style-outline--focus",[`offset-outline-heading-${xA}--focus`]:"$offset-outline--focus",[`font-size-heading-${xA}`]:"$font-size-tiny",[`font-weight-heading-${xA}`]:"$font-weight-bold",[`transform-text-heading-${xA}`]:"uppercase",[`font-size-row-${xA}`]:"$font-size-small",[`color-bg-${xA}`]:"$color-bg",[`color-bg-row-${xA}`]:"inherit",[`color-border-cell-${xA}`]:"$color-border",[`color-bg-selected-${xA}--hover`]:`$color-bg-row-${xA}--hover`,[`color-bg-pagination-${xA}`]:`$color-bg-${xA}`,[`color-outline-heading-${xA}--focus`]:"$color-outline--focus",[`color-text-pagination-${xA}`]:"$color-secondary",light:{[`color-bg-row-${xA}--hover`]:"$color-primary-50",[`color-bg-selected-${xA}`]:"$color-primary-100",[`color-bg-heading-${xA}--hover`]:"$color-surface-200",[`color-bg-heading-${xA}--active`]:"$color-surface-300",[`color-bg-heading-${xA}`]:"$color-surface-100",[`color-text-heading-${xA}`]:"$color-surface-500"},dark:{[`color-bg-row-${xA}--hover`]:"$color-primary-900",[`color-bg-selected-${xA}`]:"$color-primary-800",[`color-bg-heading-${xA}--hover`]:"$color-surface-800",[`color-bg-heading-${xA}`]:"$color-surface-950",[`color-bg-heading-${xA}--active`]:"$color-surface-700"}}}),M7=({extractValue:A,node:e,renderChild:t,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,registerComponentApi:i})=>{var m,k,N,L,M,F;const s=A(e.props.items)||A(e.props.data),[a,l]=E.useState(Be),[c,B]=E.useState(GA),Q=E.useRef([]),[u,d]=E.useState(0),C=E.useMemo(()=>({registerColumn:(v,y)=>{l(ue(P=>{P.findIndex(_=>_===y)<0&&P.push(y)})),B(ue(P=>{P[y]=v}))},unRegisterColumn:v=>{l(ue(y=>y.filter(P=>P!==v))),B(ue(y=>{delete y[v]}))}}),[]),h=E.useMemo(()=>({registerColumn:(v,y)=>{Q.current.find(P=>P===y)||(d(P=>P+1),Q.current.push(y))},unRegisterColumn:v=>{Q.current.find(y=>y===v)&&(Q.current=Q.current.filter(y=>y!==v),d(y=>y+1))}}),[]),I=E.useMemo(()=>a.map(v=>c[v]),[a,c]),p=Hu(),D=g.jsxs(g.Fragment,{children:[g.jsx(jg.Provider,{value:C,children:t(e.children)},u),g.jsx(jg.Provider,{value:h,children:t(e.children)}),g.jsx(x7,{data:s,columns:I,pageSizes:A(e.props.pageSizes),rowsSelectable:A.asOptionalBoolean(e.props.rowsSelectable),registerComponentApi:i,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((m=e.props)==null?void 0:m.isPaginated),headerHeight:A.asSize(e.props.headerHeight),rowDisabledPredicate:r(e.props.rowDisabledPredicate),sortBy:A((k=e.props)==null?void 0:k.sortBy),sortingDirection:A((N=e.props)==null?void 0:N.sortDirection),iconSortAsc:A.asOptionalString((L=e.props)==null?void 0:L.iconSortAsc),iconSortDesc:A.asOptionalString((M=e.props)==null?void 0:M.iconSortDesc),iconNoSort:A.asOptionalString((F=e.props)==null?void 0:F.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)})]});return p===null?g.jsx(p7,{children:D}):D},N7=AA(xA,k7,({extractValue:A,node:e,renderChild:t,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,registerComponentApi:i})=>g.jsx(M7,{node:e,extractValue:A,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,renderChild:t,registerComponentApi:i})),ma={themeVars:`'{"color-bg-StickyBox": "var(--xmlui-color-bg-StickyBox)"}'`,wrapper:"_wrapper_1qgtv_13",top:"_top_1qgtv_18",bottom:"_bottom_1qgtv_21"};function _7({children:A,uid:e,layout:t,to:o="top"}){return g.jsx("div",{className:cA(ma.wrapper,{[ma.top]:o==="top",[ma.bottom]:o==="bottom"}),style:t,children:A})}const Vg="StickyBox",F7=Z({status:"experimental",description:`The \`${Vg}\` is a component that "sticks" or remains fixed at the top or bottom position on the screen as the user scrolls.`,props:{to:f("This property determines whether the StickyBox should be anchored to the `top` or `bottom`.")},themeVars:pA(ma.themeVars),defaultThemeVars:{[`color-bg-${Vg}`]:"$color-bg"}}),L7=AA(Vg,F7,({node:A,renderChild:e,extractValue:t,layoutCss:o})=>{var r;return g.jsx(_7,{uid:A.uid,layout:o,to:t((r=A.props)==null?void 0:r.to),children:e(A.children)})}),Xg={themeVars:`'{"color-bg-Badge": "var(--xmlui-color-bg-Badge)", "radius-Badge": "var(--xmlui-radius-Badge)", "color-text-Badge": "var(--xmlui-color-text-Badge)", "font-size-Badge": "var(--xmlui-font-size-Badge)", "font-size-Badge-pill": "var(--xmlui-font-size-Badge-pill)", "font-weight-Badge": "var(--xmlui-font-weight-Badge)", "font-weight-Badge-pill": "var(--xmlui-font-weight-Badge-pill)", "padding-horizontal-Badge": "var(--xmlui-padding-horizontal-Badge)", "padding-vertical-Badge": "var(--xmlui-padding-vertical-Badge)", "padding-Badge": "var(--xmlui-padding-Badge)", "padding-horizontal-Badge-pill": "var(--xmlui-padding-horizontal-Badge-pill)", "padding-vertical-Badge-pill": "var(--xmlui-padding-vertical-Badge-pill)", "padding-Badge-pill": "var(--xmlui-padding-Badge-pill)"}'`,badge:"_badge_xcyhw_13",pill:"_pill_xcyhw_29"},S7=({children:A,color:e,variant:t="badge"})=>g.jsx("div",{className:cA({[Xg.badge]:t==="badge",[Xg.pill]:t==="pill"}),style:e?typeof e=="string"?{backgroundColor:e}:{backgroundColor:e.background,color:e.label}:void 0,children:A}),He="Badge",P7=Z({status:"stable",description:`The \`${He}\` is a text label that accepts a color map to define its background color and, optionally, its label color.`,props:{value:f("The text that the component displays"),variant:f("Modifies the shape of the component. Comes in the regular `badge` variant or the `pill` variant with fully rounded corners."),colorMap:f(`The \`${He}\` component supports the mapping of a list of colors using the \`value\` prop as the key. Provide the component with a list or key-value pairs in two ways:`),themeColor:f("(**NOT IMPLEMENTED YET**) The theme color of the component."),indicatorText:f("(**NOT IMPLEMENTED YET**) This property defines the text to display in the indicator. If it is not defined or empty, no indicator is displayed unless the `forceIndicator` property is set."),forceIndicator:f("(**NOT IMPLEMENTED YET**) This property forces the display of the indicator, even if the `indicatorText` property is not defined or empty."),indicatorThemeColor:f("(**NOT IMPLEMENTED YET**) The theme color of the indicator."),indicatorPosition:f("(**NOT IMPLEMENTED YET**) The position of the indicator.")},events:{},themeVars:pA(Xg.themeVars),defaultThemeVars:{[`padding-horizontal-${He}`]:"$space-2",[`padding-vertical-${He}`]:"$space-0_5",[`padding-${He}`]:`$padding-vertical-${He} $padding-horizontal-${He}`,[`padding-${He}-pill`]:`$padding-vertical-${He}-pill $padding-horizontal-${He}-pill`,[`radius-${He}`]:"4px",[`font-size-${He}`]:"0.8em",[`font-size-${He}-pill`]:"0.8em",light:{[`color-bg-${He}`]:"rgba($color-secondary-500-rgb, .6)",[`color-text-${He}`]:"white"},dark:{[`color-bg-${He}`]:"rgba($color-secondary-500-rgb, .6)",[`color-text-${He}`]:"$color-surface-50"}}}),T7=AA(He,P7,({node:A,extractValue:e,renderChild:t})=>{var n;const o=e.asDisplayText(A.props.value),r=e((n=A.props)==null?void 0:n.colorMap);return g.jsx(S7,{variant:e(A.props.variant),color:r==null?void 0:r[o],children:o||t(A.children)})}),Gr={themeVars:`'{"color-bg-Avatar": "var(--xmlui-color-bg-Avatar)", "color-border-Avatar": "var(--xmlui-color-border-Avatar)", "thickness-border-Avatar": "var(--xmlui-thickness-border-Avatar)", "style-border-Avatar": "var(--xmlui-style-border-Avatar)", "border-Avatar": "var(--xmlui-border-Avatar)", "radius-Avatar": "var(--xmlui-radius-Avatar)", "shadow-Avatar": "var(--xmlui-shadow-Avatar)", "color-text-Avatar": "var(--xmlui-color-text-Avatar)", "font-weight-Avatar": "var(--xmlui-font-weight-Avatar)"}'`,container:"_container_1fbc9_13",xs:"_xs_1fbc9_34",sm:"_sm_1fbc9_41",md:"_md_1fbc9_48",lg:"_lg_1fbc9_55",clickable:"_clickable_1fbc9_62"},Ru=E.forwardRef(function({size:e="sm",url:t,name:o,style:r,onClick:n,...i},s){let a=null;return!t&&o&&(a=o.trim().split(" ").filter(l=>!!l.trim().length).map(l=>l[0].toUpperCase()).slice(0,3)),g.jsx("div",{...i,ref:s,className:cA(Gr.container,{[Gr.xs]:e==="xs",[Gr.sm]:e==="sm",[Gr.md]:e==="md",[Gr.lg]:e==="lg",[Gr.clickable]:!!n}),style:{backgroundImage:t?`url(${t})`:"none",...r},onClick:n,children:a})}),Ne="Avatar",G7=Z({description:`The \`${Ne}\` component represents a user, group (or other entity's) avatar with a small image or initials.`,props:{size:f(`This property defines the display size of the ${Ne}.`,aa,"string","sm"),name:f(`This property sets the name value the ${Ne} uses to display initials.`),url:f(`This property specifies the URL of the image to display in the ${Ne}.`)},events:{click:f("This event is triggered when the avatar is clicked.")},themeVars:pA(Gr.themeVars),defaultThemeVars:{[`radius-${Ne}`]:"4px",[`thickness-border-${Ne}`]:"0px",[`style-border-${Ne}`]:"solid",[`border-${Ne}`]:`$thickness-border-${Ne} $style-border-${Ne} $color-border-${Ne}`,[`shadow-${Ne}`]:"inset 0 0 0 1px rgba(4,32,69,0.1)",[`color-text-${Ne}`]:"$color-text-secondary",[`font-weight-${Ne}`]:"$font-weight-bold",light:{[`color-bg-${Ne}`]:"$color-surface-100",[`color-border-${Ne}`]:"$color-surface-400A80"},dark:{[`color-bg-${Ne}`]:"$color-surface-800",[`color-border-${Ne}`]:"$color-surface-700"}}}),H7=AA(Ne,G7,({node:A,extractValue:e,lookupEventHandler:t,layoutCss:o,extractResourceUrl:r})=>{var n;return g.jsx(Ru,{size:(n=A.props)==null?void 0:n.size,url:r(A.props.url),name:e(A.props.name),style:o,onClick:t("click")})}),xa={themeVars:`'{"color-bg-ContentSeparator": "var(--xmlui-color-bg-ContentSeparator)", "size-ContentSeparator": "var(--xmlui-size-ContentSeparator)"}'`,separator:"_separator_qlxwk_13",horizontal:"_horizontal_qlxwk_16",vertical:"_vertical_qlxwk_20"},Yu=({orientation:A="horizontal",size:e,style:t})=>g.jsx("div",{className:cA(xa.separator,{[xa.horizontal]:A==="horizontal",[xa.vertical]:A==="vertical"}),style:{height:A==="horizontal"?e:void 0,width:A==="horizontal"?"100%":e,...t}}),va="ContentSeparator",U7=Z({description:`A \`${va}\` is a component that divides or separates content visually within a layout. It serves as a visual cue to distinguish between different sections or groups of content, helping to improve readability and organization.`,props:{size:f("This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical)."),orientation:f("Sets the main axis of the component",Lg)},themeVars:pA(xa.themeVars),defaultThemeVars:{[`color-bg-${va}`]:"$color-border",[`size-${va}`]:"1px",light:{},dark:{}}}),R7=AA(va,U7,({node:A,layoutCss:e,layoutNonCss:t,extractValue:o})=>g.jsx(Yu,{orientation:t.orientation,size:o.asSize(A.props.size),style:e})),xi={themeVars:`'{"padding-Card": "var(--xmlui-padding-Card)", "padding-horizontal-Card": "var(--xmlui-padding-horizontal-Card)", "padding-vertical-Card": "var(--xmlui-padding-vertical-Card)", "shadow-Card": "var(--xmlui-shadow-Card)", "color-bg-Card": "var(--xmlui-color-bg-Card)", "radius-Card": "var(--xmlui-radius-Card)", "color-border-Card": "var(--xmlui-color-border-Card)", "thickness-border-Card": "var(--xmlui-thickness-border-Card)", "style-border-Card": "var(--xmlui-style-border-Card)", "border-Card": "var(--xmlui-border-Card)"}'`,wrapper:"_wrapper_qmtvs_13",horizontal:"_horizontal_qmtvs_23",vertical:"_vertical_qmtvs_28",isClickable:"_isClickable_qmtvs_31"},Ku="vertical",Ou=E.forwardRef(function({children:e,orientation:t=Ku,style:o,title:r,subtitle:n,linkTo:i,avatarUrl:s,showAvatar:a=!!s||!1,onClick:l},c){const B={level:"h2"};return g.jsxs("div",{ref:c,className:cA(xi.wrapper,{[xi.isClickable]:!!l,[xi.vertical]:t==="vertical",[xi.horizontal]:t==="horizontal"}),style:o,onClick:l,children:[[r,n,s,a].some(Boolean)&&g.jsxs(gt,{orientation:"horizontal",verticalAlignment:"center",layout:{gap:"1rem"},children:[a&&g.jsx(Ru,{url:s,name:r}),g.jsxs(gt,{orientation:"vertical",children:[i?r?g.jsx($g,{to:i+"",children:g.jsx(Ko,{...B,children:r})}):null:r?g.jsx(Ko,{...B,children:r}):null,n!==void 0&&g.jsx(qe,{variant:"small",children:n})]})]}),e]})}),he="Card",Y7=Z({description:`The \`${he}\` component is a container for cohesive elements, often rendered visually as a card.`,props:{avatarUrl:f(`Show the avatar (\`true\`) or not (\`false\`). If not specified, the ${he} will show the first letters of the [\`title\`](#title).`),showAvatar:f(`Indicates whether the ${he} should be displayed`,null,"boolean"),title:f("This prop sets the prestyled title."),subtitle:f("This prop sets the prestyled subtitle."),linkTo:f("This property wraps the title in a `Link` component that is clickable to navigate."),orientation:f(`An optional property that governs the ${he}'s orientation (whether the ${he} lays out its children in a row or a column). If the orientation is set to \`horizontal\`, the ${he} will display its children in a row, except for its [\`title\`](#title) and [\`subtitle\`](#subtitle).`,Lg,"string",Ku)},events:{click:nr(he)},themeVars:pA(xi.themeVars),defaultThemeVars:{[`padding-horizontal-${he}`]:"$space-4",[`padding-vertical-${he}`]:"$space-4",[`padding-${he}`]:`$padding-vertical-${he} $padding-horizontal-${he}`,[`color-border-${he}`]:"$color-border",[`thickness-border-${he}`]:"1px",[`style-border-${he}`]:"solid",[`border-${he}`]:`$thickness-border-${he} $style-border-${he} $color-border-${he}`,[`radius-${he}`]:"$radius",[`shadow-${he}`]:"none",light:{[`color-bg-${he}`]:"white"},dark:{[`color-bg-${he}`]:"$color-surface-900"}}}),K7=AA("Card",Y7,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>g.jsx(Ou,{style:o,title:e.asOptionalString(A.props.title),linkTo:e.asOptionalString(A.props.linkTo),subtitle:e.asOptionalString(A.props.subtitle),avatarUrl:e.asOptionalString(A.props.avatarUrl),showAvatar:e.asOptionalBoolean(A.props.showAvatar),orientation:e.asOptionalString(A.props.orientation),children:t(A.children,{type:"Stack",orientation:"vertical"})})),lr={themeVars:'"[]"',outer:"_outer_aarhe_13",flowContainer:"_flowContainer_aarhe_17",horizontal:"_horizontal_aarhe_21",flowItem:"_flowItem_aarhe_24",vertical:"_vertical_aarhe_32",break:"_break_aarhe_47",forceBreak:"_forceBreak_aarhe_47",starSized:"_starSized_aarhe_47"},Zg={},Ju=E.createContext({rowGap:0,columnGap:0,setNumberOfChildren:QA.noop}),qu=({force:A})=>g.jsx("div",{className:cA(lr.break,{[lr.forceBreak]:A})}),O7=E.forwardRef(function({children:e,forceBreak:t,...o},r){const{rowGap:n,columnGap:i,setNumberOfChildren:s}=E.useContext(Ju);$t(()=>(s(M=>M+1),()=>{s(M=>M-1)}),[s]);const{activeTheme:a,root:l}=ce(),c=o.width||"100%",B=o.minWidth||void 0,Q=o.maxWidth||void 0,{width:u=c,minWidth:d,maxWidth:C,flex:h}=E.useMemo(()=>G1({width:c,maxWidth:Q,minWidth:B},a.themeVars,{type:"Stack",orientation:"horizontal"}).cssProps||{},[Q,B,c,a.themeVars]),I=E.useMemo(()=>{if(u&&typeof u=="string"&&u.startsWith("var(")){if(!Zg[u]){const M=u.substring(4,u.length-1),F=getComputedStyle(l).getPropertyValue(M);Zg[u]=F||c}return Zg[u]}return u||c},[c,l,u]),p=typeof I=="string"&&I.endsWith("%"),D=b6(i),m=Ar("(max-width: 420px)"),k=Ar("(max-width: 800px)"),N={minWidth:d,maxWidth:C,width:p?`min(${u} * ${m?"8":k?"4":"1"}, 100%)`:`min(calc(${u} + ${D}), 100%)`,paddingBottom:n,flex:h},L=h!==void 0;return L&&(N.width="100%",N.minWidth=d||"1px"),g.jsxs(g.Fragment,{children:[g.jsx("div",{style:{...N,paddingRight:D},className:cA(lr.flowItem,{[lr.starSized]:L}),ref:r,children:e}),L&&g.jsx(qu,{})]})});function J7({style:A,columnGap:e=0,rowGap:t=0,children:o}){const[r,n]=E.useState(0),i=r===1?0:e,s=Nu(t),a=Nu(i),l=E.useMemo(()=>({marginRight:`calc(-1 * ${a})`,marginBottom:`calc(-1 * ${s})`}),[a,s]),c=E.useMemo(()=>({rowGap:s,columnGap:a,setNumberOfChildren:n}),[a,s]);return g.jsx(Ju.Provider,{value:c,children:g.jsx("div",{style:A,children:g.jsx("div",{className:lr.outer,children:g.jsx("div",{className:cA(lr.flowContainer,lr.horizontal),style:l,children:o})})})})}const ya="FlowLayout",q7=Z({description:"This layout component is used to position content in rows with an auto wrapping feature: if the length of the items exceed the available space the layout will wrap into a new line.",props:{gap:f(`This property defines the gap between items in the same row and between rows. The ${ya} component creates a new row when an item is about to overflow the current row.`),columnGap:f("The `columnGap` property specifies the space between items in a single row; it overrides the `gap` value."),rowGap:f(`The \`rowGap\` property specifies the space between the ${ya} rows; it overrides the \`gap\` value.`),shadow:f(`${ya} does not support shadow, we're waiting for a decent solution.`)},themeVars:pA(lr.themeVars)}),z7=AA(ya,q7,({node:A,renderChild:e,layoutCss:t,extractValue:o})=>{var i,s;if(!Eg(A.children))throw new Bi;const r=o.asSize((i=A.props)==null?void 0:i.columnGap)||t.gap||o.asSize("$space-4"),n=o.asSize((s=A.props)==null?void 0:s.rowGap)||t.gap||o.asSize("$space-4");return g.jsx(J7,{style:t,columnGap:r,rowGap:n,children:e(A.children,{wrapChild:({node:a,extractValue:l},c,B)=>{var C,h,I;if(B!=null&&B.opaque)return c;if(a.type==="SpaceFiller")return g.jsx(qu,{force:!0});const Q=l((C=a.props)==null?void 0:C.width),u=l((h=a.props)==null?void 0:h.minWidth),d=l((I=a.props)==null?void 0:I.maxWidth);return g.jsx(O7,{width:Q,minWidth:u,maxWidth:d,forceBreak:a.type==="SpaceFiller",children:c})}})})});function ba(A,e){return{[`padding-left-${A}`]:(e==null?void 0:e.left)??`$padding-horizontal-${A}`,[`padding-right-${A}`]:(e==null?void 0:e.right)??`$padding-horizontal-${A}`,[`padding-top-${A}`]:(e==null?void 0:e.top)??`$padding-vertical-${A}`,[`padding-bottom-${A}`]:(e==null?void 0:e.bottom)??`$padding-vertical-${A}`,[`padding-horizontal-${A}`]:(e==null?void 0:e.horizontal)??"",[`padding-vertical-${A}`]:(e==null?void 0:e.vertical)??"",[`padding-${A}`]:(e==null?void 0:e.all)??`$padding-top-${A} $padding-right-${A} $padding-bottom-${A} $padding-left-${A}`}}function Ac(A,e){var o,r,n,i,s,a;return{[`radius-${A}`]:"$radius",...t("left",(e==null?void 0:e.left)??(e==null?void 0:e.horizontal)??(e==null?void 0:e.all)),...t("right",(e==null?void 0:e.right)??(e==null?void 0:e.horizontal)??(e==null?void 0:e.all)),...t("top",(e==null?void 0:e.top)??(e==null?void 0:e.vertical)??(e==null?void 0:e.all)),...t("bottom",(e==null?void 0:e.bottom)??(e==null?void 0:e.vertical)??(e==null?void 0:e.all)),...t("horizontal",(e==null?void 0:e.horizontal)??(e==null?void 0:e.all)),...t("vertical",(e==null?void 0:e.vertical)??(e==null?void 0:e.all)),[`color-border-${A}`]:((o=e==null?void 0:e.all)==null?void 0:o.color)??"",[`thickness-border-${A}`]:((r=e==null?void 0:e.all)==null?void 0:r.thickness)??"",[`style-border-${A}`]:((n=e==null?void 0:e.all)==null?void 0:n.style)??"",[`border-${A}`]:`${((i=e==null?void 0:e.all)==null?void 0:i.thickness)??`$thickness-border-${A}`} ${((s=e==null?void 0:e.all)==null?void 0:s.style)??`$style-border-${A}`} ${((a=e==null?void 0:e.all)==null?void 0:a.color)??`$color-border-${A}`} `};function t(l,c){return{[`color-border-${l}-${A}`]:(c==null?void 0:c.color)??"",[`thickness-border-${l}-${A}`]:(c==null?void 0:c.thickness)??"",[`style-border-${l}-${A}`]:(c==null?void 0:c.style)??"",[`border-${l}-${A}`]:(c==null?void 0:c.all)??`$thickness-border-${l}-${A} $style-border-${l}-${A} $color-border-${l}-${A}`}}}const Bt="ModalDialog",W7=Z({description:`The \`${Bt}\` component defines a modal dialog UI element that can be displayed over the existing UI - triggered by some action.`,props:{fullScreen:f("Toggles whether the dialog encompasses the whole UI (`true`) or not and has a minimum width and height (`false`)."),title:f("Provides a prestyled heading to display the intent of the dialog."),closeButtonVisible:f("Shows (`true`) or hides (`false`) the visibility of the close button on the dialog."),isInitiallyOpen:f("This property sets whether the modal dialog appears open (`true`) or not (`false`) when the page is it is defined on is rendered.")},events:{open:f(`This event is fired when the \`${Bt}\` is opened either via a \`when\` or an imperative API call (\`open()\`).`),close:f(`This event is fired when the close button is pressed or the user clicks outside the \`${Bt}\`.`)},apis:{close:f(`This method is used to close the \`${Bt}\`. Invoke it using \`modalId.close()\` where \`modalId\` refers to a \`ModalDialog\` component.`),open:f("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:f("This value represents the first parameters passed to the `open()` method to display the modal dialog."),$params:f("This value represents the array of parameters passed to the `open()` method. You can use `$params[0]` to access the first and `$params[1]` to access the second (and so on) parameters. `$param` is the same as `$params[0]`.")},themeVars:pA(or.themeVars),defaultThemeVars:{...ba(Bt,{all:"$space-7"}),[`color-bg-${Bt}`]:"$color-bg-primary",[`color-bg-overlay-${Bt}`]:"$color-bg-overlay",[`color-text-${Bt}`]:"$color-text-primary",[`radius-${Bt}`]:"$radius",[`font-family-${Bt}`]:"$font-family",[`max-width-${Bt}`]:"450px",[`margin-bottom-title-${Bt}`]:"0",dark:{[`color-bg-${Bt}`]:"$color-bg-primary"}}}),$7=AA(Bt,W7,({node:A,extractValue:e,layoutCss:t,renderChild:o,lookupEventHandler:r,registerComponentApi:n,layoutContext:i})=>{var s,a;return i!=null&&i._insideModalFrame?g.jsx(Qn,{style:t,fullScreen:e((s=A.props)==null?void 0:s.fullScreen),title:e((a=A.props)==null?void 0:a.title),closeButtonVisible:e.asOptionalBoolean(A.props.closeButtonVisible),children:o(A.children,{type:"Stack"})}):g.jsx(z2,{isInitiallyOpen:A.when!==void 0,registerComponentApi:n,onClose:r("close"),onOpen:r("open"),renderDialog:({openParams:l,ref:c})=>g.jsx(ct,{node:A,renderChild:o,layoutContext:{_insideModalFrame:!0},contextVars:{$param:l==null?void 0:l[0],$params:l}})})}),ec={themeVars:`'{"padding-vertical-NoResult": "var(--xmlui-padding-vertical-NoResult)", "gap-icon-NoResult": "var(--xmlui-gap-icon-NoResult)", "size-icon-NoResult": "var(--xmlui-size-icon-NoResult)"}'`,wrapper:"_wrapper_9giub_13",icon:"_icon_9giub_22"},j7=({label:A,icon:e,hideIcon:t=!1,style:o})=>g.jsxs("div",{className:ec.wrapper,style:o,children:[!t&&g.jsx(kA,{name:e??"noresult",className:ec.icon}),A]}),vi="NoResult",V7=Z({description:`\`${vi}\` is a component that displays a visual indication that some data query (search) resulted in no (zero) items.`,props:{label:Je(),icon:f("This property defines the icon to display with the component."),hideIcon:f("This boolean property indicates if the icon should be hidden.")},themeVars:pA(ec.themeVars),defaultThemeVars:{[`padding-vertical-${vi}`]:"$space-2",[`gap-icon-${vi}`]:"$space-2",[`size-icon-${vi}`]:"$space-8",light:{},dark:{}}}),X7=AA(vi,V7,({node:A,extractValue:e,layoutCss:t})=>g.jsx(j7,{label:e.asDisplayText(A.props.label||A.children||"No results found"),icon:A.props.icon,hideIcon:e.asOptionalBoolean(A.props.hideIcon),style:t})),tc={themeVars:`'{"color-bg-FileUploadDropZone": "var(--xmlui-color-bg-FileUploadDropZone)", "color-text-FileUploadDropZone": "var(--xmlui-color-text-FileUploadDropZone)", "color-bg-dropping-FileUploadDropZone": "var(--xmlui-color-bg-dropping-FileUploadDropZone)", "opacity-dropping-FileUploadDropZone": "var(--xmlui-opacity-dropping-FileUploadDropZone)"}'`,wrapper:"_wrapper_u50h5_13",dropPlaceholder:"_dropPlaceholder_u50h5_21"},{useDropzone:Z7}=DQ;function Af({children:A,onUpload:e=R4,uid:t="fileUploadDialog",registerComponentApi:o,style:r,allowPaste:n=!0,text:i="Drop files here",disabled:s=!1}){const a=E.useCallback(async h=>{h.length&&(e==null||e(h))},[e]),{getRootProps:l,getInputProps:c,isDragActive:B,open:Q,inputRef:u}=Z7({onDrop:a,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,disabled:s}),d=HA(()=>{Q()}),C=E.useCallback(h=>{var I,p;if(n&&u.current&&(I=h.clipboardData)!=null&&I.files){const D=((p=h.clipboardData)==null?void 0:p.items)||[],m=[];for(let k=0;k<D.length;k++){const N=D[k];if(N.kind==="file"){const L=N.getAsFile();L!==null&&m.push(L)}}m.length>0&&(h.stopPropagation(),h.preventDefault(),u.current.files=h.clipboardData.files,u.current.dispatchEvent(new Event("change",{bubbles:!0})))}},[n,u]);return E.useEffect(()=>{o({open:d})},[d,o,t]),g.jsxs("div",{...l(),style:r,className:tc.wrapper,onPaste:C,children:[g.jsx("input",{...c()}),A,B&&g.jsxs("div",{className:tc.dropPlaceholder,children:[g.jsx(kA,{name:"upload"}),i]})]})}const zu="FileUploadDropZone",ef=Z({description:`The \`${zu}\` component allows users to upload files to a web application by dragging and dropping files from their local file system onto a designated area within the UI.`,props:{text:f('With this property, you can change the default text ("Drop files here") to display when files are dragged over the drop zone.'),allowPaste:f("This property indicates if the drop zone accepts files pasted from the clipboard (`true`) or only dragged files (`false`)."),enabled:f("If set to `false`, the drop zone will be disabled and users will not be able to upload files.",null,"boolean",!0)},events:{upload:f("This component accepts files for upload but does not perform the actual operation. It fires the `upload` event and passes the list files to upload in the method's argument. You can use the passed file information to implement the upload (according to the protocol your backend supports).")},themeVars:pA(tc.themeVars),defaultThemeVars:{"color-bg-FileUploadDropZone":"$color-bg","color-bg-dropping-FileUploadDropZone":"$color-bg--selected","opacity-dropping-FileUploadDropZone":"0.5","color-text-FileUploadDropZone":"$color-text",light:{},dark:{}}}),tf=AA(zu,ef,({node:A,extractValue:e,renderChild:t,lookupEventHandler:o,registerComponentApi:r,layoutCss:n})=>g.jsx(Af,{onUpload:o("upload"),uid:e(A.uid),registerComponentApi:r,style:n,allowPaste:e(A.props.allowPaste),text:e(A.props.text),disabled:!e.asOptionalBoolean(A.props.enabled,!0),children:t(A.children,{type:"Stack"})})),oc="Icon",of=Z({status:"experimental",description:"This component is the representation of an icon.",props:{name:f("This string property specifies the name of the icon to display. All icons have unique names and identifying the name is case-sensitive."),size:f(`This property defines the size of the \`${oc}\`. Note that setting the \`height\` and/or the \`width\` of the component will override this property.`),fallback:f("This optional property provides a way to handle situations when the provided [icon name](#name) is not found in the registry.")},themeVars:pA(D1.themeVars),defaultThemeVars:{[`size-${oc}`]:"1.25em"}}),rf=AA(oc,of,({node:A,extractValue:e,layoutCss:t})=>g.jsx(kA,{name:e.asOptionalString(A.props.name),size:e(A.props.size),layout:t,fallback:e.asOptionalString(A.props.fallback)}));function nf({items:A,renderItem:e,reverse:t=!1}){const o=E.useMemo(()=>{if(!A)return[];let r=A;return QA.isPlainObject(A)&&(r=Object.values(A)),t?[...r].reverse():r},[A,t]);return!o||!Array.isArray(o)?null:g.jsx(g.Fragment,{children:o.map((r,n)=>e({$item:r,$itemIndex:n,$isFirst:n===0,$isLast:n===o.length-1},n))})}const Wu="Items",sf=Z({description:`The \`${Wu}\` component maps sequential data items into component instances, representing each data item as a particular component.`,props:{items:se("This property contains the list of data items this component renders."),data:f("This property contains the list of data items (obtained from a data source) this component renders."),reverse:f("This property reverses the order in which data is mapped to template components."),itemTemplate:se("The component template to display a single item")},contextVars:{$item:se("This value represents the current iteration item while the component renders its children."),$itemIndex:se("This integer value represents the current iteration index (zero-based) while rendering children."),$isFirst:se("This boolean value indicates if the component renders its first item."),$isLast:se("This boolean value indicates if the component renders its last item.")},opaque:!0}),af=AA(Wu,sf,A=>{const{node:e,renderChild:t,extractValue:o,layoutContext:r}=A;return g.jsx(nf,{items:o(e.props.items)||o(e.props.data),reverse:o(e.props.reverse),renderItem:(n,i)=>g.jsx(ct,{contextVars:n,node:e.children||e.props.itemTemplate,renderChild:t,layoutContext:r},i)})}),$u="SelectionStore",lf=Z({status:"deprecated",description:`The \`${$u}\` is a non-visual component that may wrap components (items) and manage their selection state to accommodate the usage of other actions.`,props:{idKey:f('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"`.')}}),gf=AA($u,lf,A=>{const{node:e,state:t,updateState:o,renderChild:r,registerComponentApi:n}=A;return g.jsx(Tu,{updateState:o,idKey:e.props.idKey,selectedItems:t==null?void 0:t.value,registerComponentApi:n,children:r(e.children)})}),rc="Image",cf=Z({description:`The \`${rc}\` component represents or depicts an object, scene, idea, or other concept with a picture.`,props:{src:f("This property is used to indicate the source (path) of the image to display."),alt:f("This property specifies an alternate text for the image."),fit:f("This property sets how the image content should be resized to fit its container."),lazyLoad:f("Lazy loading instructs the browser to load the image only when it is imminently needed (e.g. user scrolls to it). The default value is eager (`false`)."),aspectRatio:f("This property sets a preferred aspect ratio for the image, which will be used in the calculation of auto sizes and some other layout functions."),animation:f("The animation object to be applied to the component")},events:{click:nr(rc)},themeVars:pA(qg.themeVars)}),Bf=AA(rc,cf,({node:A,extractValue:e,layoutCss:t,extractResourceUrl:o})=>g.jsx(zg,{src:o(A.props.src),alt:e(A.props.alt),fit:e(A.props.fit),lazyLoad:e.asOptionalBoolean(A.props.lazyLoad),aspectRatio:e(A.props.aspectRatio),style:t,animation:e(A.props.animation)})),Qf=({title:A})=>g.jsx(sn.Helmet,{title:A}),uf="PageMetaTitle",Ef=Z({description:"A PageMetaTitle component allows setting up (or changing) the app title to display with the current browser tab.",props:{value:f("This property sets the page's title to display in the browser tab.")}}),df=AA(uf,Ef,({node:A,extractValue:e,renderChild:t})=>g.jsx(Qf,{title:e(A.props.value)||t(A.children)})),nc={themeVars:`'{"color-bg-ProgressBar": "var(--xmlui-color-bg-ProgressBar)", "color-indicator-ProgressBar": "var(--xmlui-color-indicator-ProgressBar)", "radius-ProgressBar": "var(--xmlui-radius-ProgressBar)", "radius-indicator-ProgressBar": "var(--xmlui-radius-indicator-ProgressBar)", "thickness-ProgressBar": "var(--xmlui-thickness-ProgressBar)"}'`,wrapper:"_wrapper_1s8j7_13",bar:"_bar_1s8j7_22"},Cf=E.forwardRef(function({value:e=0,style:t},o){return g.jsx("div",{className:nc.wrapper,style:t,ref:o,children:g.jsx("div",{style:{width:`${e*100}%`},className:nc.bar})})}),Oo="ProgressBar",hf=Z({description:`A \`${Oo}\` component visually represents the progress of a task or process.`,props:{value:f("This property defines the progress value with a number between 0 and 1.")},themeVars:pA(nc.themeVars),defaultThemeVars:{[`radius-${Oo}`]:"$radius",[`radius-indicator-${Oo}`]:"0px",[`thickness-${Oo}`]:"$space-2",light:{[`color-bg-${Oo}`]:"$color-surface-200",[`color-indicator-${Oo}`]:"$color-primary-500"},dark:{[`color-bg-${Oo}`]:"$color-surface-700",[`color-indicator-${Oo}`]:"$color-primary-500"}}}),If=AA(Oo,hf,({node:A,extractValue:e,layoutCss:t})=>g.jsx(Cf,{value:Math.max(0,Math.min(1,e(A.props.value))),style:t})),At={themeVars:`'{"padding-Splitter": "var(--xmlui-padding-Splitter)", "shadow-Splitter": "var(--xmlui-shadow-Splitter)", "color-bg-Splitter": "var(--xmlui-color-bg-Splitter)", "radius-Splitter": "var(--xmlui-radius-Splitter)", "color-border-Splitter": "var(--xmlui-color-border-Splitter)", "thickness-border-Splitter": "var(--xmlui-thickness-border-Splitter)", "style-border-Splitter": "var(--xmlui-style-border-Splitter)", "border-Splitter": "var(--xmlui-border-Splitter)", "color-bg-resizer-Splitter": "var(--xmlui-color-bg-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_1a9gt_13",vertical:"_vertical_1a9gt_27",horizontal:"_horizontal_1a9gt_30",panel:"_panel_1a9gt_34",primaryPanel:"_primaryPanel_1a9gt_41",secondaryPanel:"_secondaryPanel_1a9gt_48",resizer:"_resizer_1a9gt_54",floatingResizer:"_floatingResizer_1a9gt_70"},yi=(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 %.")},ka=(A,e)=>A/e*100,ju=({initialPrimarySize:A="50%",minPrimarySize:e="0%",maxPrimarySize:t="100%",orientation:o="vertical",children:r,layout:n,swapped:i=!1,floating:s=!1,splitterTemplate:a,resize:l=vA})=>{var k;const[c,B]=E.useState(0),[Q,u]=E.useState(null),[d,C]=E.useState(!1),[h,I]=E.useState(null),[p,D]=E.useState(null),m=E.useMemo(()=>s?p:h,[s,h,p]);return E.useEffect(()=>{if(Q){const N=o==="horizontal"?Q.getBoundingClientRect().width:Q.getBoundingClientRect().height,L=yi(A,N);B(L),l&&l([ka(L,N),ka(N-L,N)])}},[A,o,l,Q,i]),E.useEffect(()=>{const N=F=>{if(Q&&m){const v=o==="horizontal"?Q.getBoundingClientRect().width:Q.getBoundingClientRect().height,y=Math.min(Math.max(o==="horizontal"?F.clientX-Q.getBoundingClientRect().left:F.clientY-Q.getBoundingClientRect().top,yi(e,v)),yi(t,v));B(y),l&&l([ka(y,v),ka(v-y,v)])}},L=()=>{document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",L)},M=()=>{document.addEventListener("mousemove",N),document.addEventListener("mouseup",L)};return m&&m.addEventListener("mousedown",M),()=>{m&&m.removeEventListener("mousedown",M),document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",L)}},[e,t,o,l,s,m,Q]),E.useEffect(()=>{const N=L=>{const M=o==="horizontal"?L.clientX:L.clientY;if(Q){const v=(o==="horizontal"?Q.getBoundingClientRect().left:Q.getBoundingClientRect().top)+c;M>v-20&&M<v+20?C(!0):C(!1)}};return Q&&(Q.addEventListener("mousemove",N),Q.addEventListener("mouseleave",()=>C(!1))),()=>{Q&&(Q.removeEventListener("mouseleave",()=>C(!1)),Q.removeEventListener("mousemove",N))}},[c,o,Q]),E.useEffect(()=>{p&&(p.style.opacity=d?"1":"0")},[p,d]),g.jsx("div",{ref:N=>u(N),className:cA(At.splitter,{[At.horizontal]:o==="horizontal",[At.vertical]:o==="vertical"}),style:n,children:E.Children.count(r)>1?g.jsxs(g.Fragment,{children:[g.jsx("div",{style:i?{}:{flexBasis:c},className:cA({[At.primaryPanel]:!i,[At.secondaryPanel]:i}),children:E.Children.toArray(r)[0]}),!s&&g.jsx("div",{className:cA(At.resizer,{[At.horizontal]:o==="horizontal",[At.vertical]:o==="vertical"}),ref:N=>I(N),children:a}),g.jsx("div",{className:cA({[At.primaryPanel]:i,[At.secondaryPanel]:!i}),style:i?{flexBasis:c}:{},children:E.Children.toArray(r)[1]}),s&&g.jsx("div",{ref:N=>D(N),className:cA(At.floatingResizer,{[At.horizontal]:o==="horizontal",[At.vertical]:o==="vertical"}),style:{top:o==="horizontal"?0:c,left:o==="horizontal"?c:0},children:a})]}):g.jsx(g.Fragment,{children:((k=E.Children.toArray(r))==null?void 0:k[0])&&g.jsx("div",{className:At.panel,children:E.Children.toArray(r)[0]})})})},Jo="Splitter",Ma=Z({description:`The \`${Jo}\` component divides a container (such as a window, panel, pane, etc.) into two resizable sections.`,props:{swapped:f(`This optional booelan property indicates whether the \`${Jo}\` sections are layed out as primary and secondary (\`false\`) or secondary and primary (\`true\`) from left to right.`),splitterTemplate:se("The divider can be customized using XMLUI components via this property."),initialPrimarySize:f("This optional number property sets the initial size of the primary section. The unit of the size value is in pixels or percentages."),minPrimarySize:f("This property sets the minimum size the primary section can have. The unit of the size value is in pixels or percentages."),maxPrimarySize:f("This property sets the maximum size the primary section can have. The unit of the size value is in pixels or percentages."),floating:f("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.")},events:{resize:f("This event fires when the component is resized.")},themeVars:pA(At.themeVars),defaultThemeVars:{[`color-bg-resizer-${Jo}`]:"$color-bg-Card",[`thickness-resizer-${Jo}`]:"5px",[`cursor-resizer-horizontal-${Jo}`]:"ew-resize",[`cursor-resizer-vertical-${Jo}`]:"ns-resize"}}),pf={...Ma,props:{...Ma.props,orientation:f("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`).")}},wf={...Ma,specializedFrom:Jo},ff={...Ma,specializedFrom:Jo},Df="vertical";function ic({node:A,extractValue:e,layoutNonCss:t,layoutCss:o,renderChild:r,lookupEventHandler:n,orientation:i=t.orientation??Df}){var s,a,l,c,B,Q;if(!Eg(A.children))throw new Bi;return g.jsx(ju,{layout:o,swapped:e.asOptionalBoolean((s=A.props)==null?void 0:s.swapped),orientation:i,splitterTemplate:r((a=A.props)==null?void 0:a.splitterTemplate),initialPrimarySize:e((l=A.props)==null?void 0:l.initialPrimarySize),minPrimarySize:e((c=A.props)==null?void 0:c.minPrimarySize),maxPrimarySize:e((B=A.props)==null?void 0:B.maxPrimarySize),floating:e.asOptionalBoolean((Q=A.props)==null?void 0:Q.floating),resize:n("resize"),children:r(A.children)})}const mf=AA(Jo,pf,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>ic({node:A,extractValue:e,layoutCss:o,layoutNonCss:r,renderChild:t,lookupEventHandler:n})),xf=AA("VSplitter",ff,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>ic({node:A,extractValue:e,layoutCss:o,layoutNonCss:r,renderChild:t,orientation:"vertical",lookupEventHandler:n})),vf=AA("HSplitter",wf,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>ic({node:A,extractValue:e,layoutCss:o,layoutNonCss:r,renderChild:t,orientation:"horizontal",lookupEventHandler:n}));var gr=(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))(gr||{});function yf(A){return{type:"ACTION_ITEM_STARTED",payload:{actionItemId:A}}}function bf(A,e){return{type:"ACTION_ITEM_PROGRESS",payload:{actionItemId:A,progressEvent:e}}}function kf(A,e){return{type:"ACTION_ITEM_COMPLETED",payload:{actionItemId:A,result:e}}}function Vu(A){return{type:"ACTION_ITEM_REMOVED",payload:{actionItemId:A}}}function Mf(){return{type:"CLEAR_COMPLETED_ACTION_ITEMS",payload:{}}}function Nf(A,e){return{type:"ACTION_ITEM_ERROR",payload:{actionItemId:A,error:e}}}function Xu(A,e,t){return{type:"ACTION_QUEUE_INITIALIZED",payload:{queue:A,actionItemIds:t,batchId:e}}}const _f=ue((A,e)=>{switch(e.type){case gr.ACTION_QUEUE_INITIALIZED:{const t={},o={};e.payload.queue.forEach((n,i)=>{o[e.payload.actionItemIds[i]]=n});const r=Object.keys(o);return Object.entries(o).forEach(([n,i])=>{t[n]={batchId:e.payload.batchId,actionItemId:n,status:"pending",item:i}}),{queue:[...A.queue||[],...r],queueState:{...A.queueState,...t}}}case gr.ACTION_ITEM_STARTED:{A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="started");break}case gr.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 gr.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 gr.ACTION_ITEM_REMOVED:{A.queue=A.queue.filter(t=>t!==e.payload.actionItemId),delete A.queueState[e.payload.actionItemId];break}case gr.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 gr.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}}),Ff={queue:[],queueState:{}};function Lf({registerComponentApi:A,willProcessItem:e,processItem:t,didProcessItem:o,processItemError:r,onComplete:n,renderProgressFeedback:i,renderResultFeedback:s,clearAfterFinish:a=!0}){const l=E.useRef(new Set),[c,B]=E.useReducer(_f,Ff);let Q=_t();const u=HA(M=>{const F=ri();return B(Xu([M],ri(),[F])),F}),d=HA(M=>{const F=M.map(()=>ri());return B(Xu(M,ri(),F)),F}),C=E.useCallback(()=>{B(Mf())},[]),h=E.useCallback(M=>{M&&B(Vu(M))},[]),I=E.useCallback(()=>c.queue.length,[c.queue.length]),p=E.useCallback(()=>Object.values(c.queueState),[c.queueState]);E.useEffect(()=>{A({enqueueItem:u,enqueueItems:d,clearCompleted:C,remove:h,getQueueLength:I,getQueuedItems:p})},[A,u,d,C,h,I,p]);const D=E.useCallback(async M=>{const F=c.queueState[M];if((F==null?void 0:F.status)!=="pending"||l.current.has(M))return;l.current.add(M);const v=F.item;let y={};try{const P=await(e==null?void 0:e({item:v,actionItemId:M,processItemContext:y}));if(y={...y,willProcessResult:P},P===!1){B(Vu(M));return}B(yf(M));const b=await(t==null?void 0:t({item:v,actionItemId:M,processItemContext:y,onProgress:_=>{B(bf(M,_))}}));y={...y,processResult:b},await(o==null?void 0:o({item:v,actionItemId:M,processItemContext:y})),B(kf(M,b))}catch(P){let b=await(r==null?void 0:r(P,{item:v,actionItemId:M,processItemContext:y}));B(Nf(M,P)),b!==!1&&Q.signError(P)}finally{l.current.delete(M)}},[Q,o,B,t,r,c.queueState,e]),m=E.useRef(),k=c.queue,N=lo(k),L=E.useCallback(()=>{n==null||n();const M=p(),F=p().filter(y=>y.status==="completed"),v=s==null?void 0:s(F,M);if(v&&F.length){let y=m.current;me.success(g.jsx(g.Fragment,{children:v}),{id:y})}else if(m.current){let y=m.current;me.dismiss(y)}a&&C()},[a,C,p,n,s]);return E.useLayoutEffect(()=>{if(k.length&&i){const M=p(),F=p().filter(y=>y.status==="completed"),v=i==null?void 0:i(F,M);v&&m.current?me.loading(g.jsx(g.Fragment,{children:v}),{id:m.current}):m.current=me.loading(g.jsx(g.Fragment,{children:v}))}},[i,k==null?void 0:k.length]),E.useEffect(()=>{if(!k||N===k||QA.isEqual(N,k))return;if(N!=null&&N.length&&!k.length){L();return}let M=k[0];(async()=>await D(M))()},[L,D,N,k]),null}const Sf="Queue",Pf=Z({description:"The `Queue` component provides an API to enqueue elements and defines events to process queued elements in a FIFO order.",props:{progressFeedback:f("This property defines the component template of the UI that displays progress information whenever, the queue's `progressReport` function in invoked."),resultFeedback:f("This property defines the component template of the UI that displays result information when the queue becomes empty after processing all queued items."),clearAfterFinish:f("This property indicates the completed items (successful or error) should be removed from the queue after completion.")},nonVisual:!0,events:{willProcess:f("This event is triggered to process a particular item."),process:f("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:f("This event is fired when the processing of a queued item has been successfully processed."),processError:f("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:f("The queue fires this event when the queue gets empty after processing all items. The event handler has no arguments.")},apis:{enqueueItem:f("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:f("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:f("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:f("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet."),remove:f("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet.")},contextVars:{$completedItems:f("A list containing the queue items that have been completed (fully processed)."),$queuedItems:f("A list containing the items waiting in the queue, icluding the completed items.")}}),Tf=AA(Sf,Pf,({node:A,registerComponentApi:e,lookupEventHandler:t,renderChild:o,extractValue:r})=>g.jsx(Lf,{registerComponentApi:e,renderResultFeedback:A.props.resultFeedback?(n,i)=>g.jsx(ct,{node:A.props.resultFeedback,contextVars:{$completedItems:n,$queuedItems:i},renderChild:o}):void 0,renderProgressFeedback:A.props.progressFeedback?(n,i)=>g.jsx(ct,{node:A.props.progressFeedback,contextVars:{$completedItems:n,$queuedItems:i},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)})),Zu=E.forwardRef(({node:A,lookupSyncCallback:e,lookupEventHandler:t,compound:o,api:r,scriptCollected:n,renderChild:i,extractValue:s,layoutContext:a,uid:l,updateState:c},B)=>{const Q=E.useMemo(()=>{const F={};return A.props&&Object.entries(A.props).forEach(([v,y])=>{const P=s(y,!0);P!=null&&P._ARROW_EXPR_?F[v]=e(P):F[v]=P}),F},[s,e,A.props]),u=$e(Q),d=E.useMemo(()=>{var _;const{loaders:F,vars:v,functions:y,scriptError:P,...b}=o;return{type:"Container",uses:Be,api:r,scriptCollected:n,loaders:F,vars:v,functions:y,scriptError:P,containerUid:l,props:{debug:(_=o.props)==null?void 0:_.debug},children:[b]}},[r,o,n,l]),C=HA((F,...v)=>{const y=t(F);if(y)return y(...v)}),h=HA(F=>!!t(F)),I=E.useMemo(()=>({$props:u,...d.vars,emitEvent:C,hasEventHandler:h,updateState:c}),[d.vars,C,h,u,c]),p=$e(I),D=E.useMemo(()=>({...d,vars:p}),[d,p]),m=$e(D),k=E.useMemo(()=>Object.entries(A.props).some(([F,v])=>{var y;return F.endsWith("Template")||QA.isObject(v)&&v.type!==void 0||QA.isArray(v)&&((y=v[0])==null?void 0:y.type)!==void 0}),[A.props]),N=E.useMemo(()=>{if(!((!A.children||A.children.length===0)&&!k))return{renderChild:i,props:A.props,children:A.children}},[k,A.children,A.props,i]),L=a&&{...a,wrapChild:void 0},M=i(m,L,N);return B&&M&&E.isValidElement(M)?E.cloneElement(M,{ref:jt(B,M.ref)}):E.isValidElement(M)?M:g.jsx(g.Fragment,{children:M})});Zu.displayName="CompoundComponent";const qo={themeVars:'"[]"',infoWrapper:"_infoWrapper_pfst8_13",loadingWrapper:"_loadingWrapper_pfst8_18",noRows:"_noRows_pfst8_26",borderCollapse:"_borderCollapse_pfst8_36",sectioned:"_sectioned_pfst8_36",row:"_row_pfst8_36",section:"_section_pfst8_36",sectionFooter:"_sectionFooter_pfst8_52"},A0=E.createContext({isExpanded:A=>!1,toggleExpanded:(A,e)=>{}}),Gf=({children:A,onHeightChanged:e,rowIndex:t,itemType:o})=>{const r=E.useRef(null);return Ks(r,E.useCallback(()=>{e==null||e(r.current)},[e])),g.jsx("div",{ref:n=>{e==null||e(n),r.current=n},className:Ge({[qo.row]:o==="ITEM",[qo.section]:o==="SECTION",[qo.sectionFooter]:o==="SECTION_FOOTER"}),"data-list-item-type":o,"data-index":t,children:A})};function Hf({groupsInitiallyExpanded:A=!0,expanded:e=GA,items:t,limit:o,groupBy:r,orderBy:n,availableGroups:i,defaultGroups:s=Be}){const a=E.useMemo(()=>{if(!n)return t;let u=n;Array.isArray(n)||(u=[n]);const d=u.map(h=>I=>QA.get(I,h.field)),C=u.map(h=>h.direction);return QA.orderBy(t,d,C)},[t,n]),l=E.useMemo(()=>o?a.slice(0,o-1):a,[a,o]),c=E.useMemo(()=>r===void 0?GA:QA.groupBy(l,u=>u[r]),[l,r]),B=E.useMemo(()=>{if(r===void 0)return Be;let u=QA.uniq([...s,...Object.keys(c)]);return i&&(u=QA.sortBy(u,d=>i.indexOf(d))),u},[r,c,s,i]);return{rows:E.useMemo(()=>{if(r===void 0)return l;const u=[];return B.forEach(d=>{u.push({id:d,items:c[d],_row_type:"SECTION",key:d}),(e[d]||e[d]===void 0&&A)&&(u.push(...c[d]||[]),u.push({id:`${d}_footer`,items:c[d],_row_type:"SECTION_FOOTER",key:d}))}),u},[r,B,l,e,A,c]),sectionedItems:c,sections:B}}const Uf=(A,e)=>{if(!A)return null;let t,o;if(typeof A=="object"){const r=Object.values(QA.omit(A,"id"));if(!r.length)return null;t=r[0],o=void 0,r.length>1&&(o=r[1])}else if(typeof A=="string"||typeof A=="number")t=A+"",o=void 0;else return null;return g.jsx(Ou,{title:t,subtitle:o})},Rf=E.forwardRef(function({items:e=Be,itemRenderer:t=Uf,sectionRenderer:o,sectionFooterRenderer:r,loading:n,limit:i,groupBy:s,orderBy:a,availableGroups:l,scrollAnchor:c="top",requestFetchPrevPage:B=QA.noop,requestFetchNextPage:Q=QA.noop,selectedIndex:u,resetSelectedIndex:d=QA.noop,pageInfo:C,idKey:h="id",style:I,emptyListPlaceholder:p,groupsInitiallyExpanded:D=!0,defaultGroups:m=Be,registerComponentApi:k,borderCollapse:N=!0},L){var TA;const M=E.useContext(Io),F=E.useRef(null),v=L?jt(F,L):F,y=E.useRef(null),[P,b]=E.useState(c==="bottom"),[_,q]=E.useState(GA),J=E.useCallback((sA,yA)=>{q(FA=>({...FA,[sA]:yA}))},[]),z=E.useMemo(()=>({isExpanded:sA=>_[sA]||_[sA]===void 0&&D,toggleExpanded:J}),[_,D,J]),{rows:T}=Hf({groupsInitiallyExpanded:D,defaultGroups:m,expanded:_,items:e,limit:i,groupBy:s,orderBy:a,availableGroups:l}),S=M&&(I==null?void 0:I.maxHeight)===void 0&&(I==null?void 0:I.height)===void 0&&(I==null?void 0:I.flex)===void 0,G=S?M:F,U=Ms.useVirtualizer({count:T.length,scrollMargin:S&&((TA=F.current)==null?void 0:TA.offsetTop)||0,getScrollElement:E.useCallback(()=>G.current,[G]),estimateSize:E.useCallback(()=>10,[]),rangeExtractor:E.useCallback(sA=>Ms.defaultRangeExtractor(sA),[]),getItemKey:E.useCallback(sA=>T[sA][h]??sA,[h,T]),overscan:5}),V=E.useCallback((sA,yA)=>{U.scrollToIndex(sA),requestAnimationFrame(()=>{yA==null||yA()})},[U]),tA=HA(()=>{T.length&&V(T.length-1)}),uA=HA(()=>{T.length&&V(0)});E.useLayoutEffect(()=>{k==null||k({scrollToBottom:tA,scrollToTop:uA})},[k,tA,uA]);const EA=U.getVirtualItems(),hA=U.getTotalSize();E.useEffect(()=>{if(u&&U){const sA=EA.findIndex(yA=>yA.key===u);V(sA),d()}},[d,U,u,V,EA]);const eA=lo(hA),oA=EA[0],W=EA[EA.length-1],$=E.useRef(!1);E.useLayoutEffect(()=>{T.length&&c==="bottom"&&!$.current&&($.current=!0,V(T.length-1))},[T.length,c,V]),E.useLayoutEffect(()=>{if(eA&&eA!==hA&&c==="bottom"){const sA=hA-eA;b(!0),queueMicrotask(()=>{G.current.scrollBy({left:0,top:sA}),b(!1)})}},[oA==null?void 0:oA.index,eA,U,c,G,hA]);const rA=E.useRef(null);E.useEffect(()=>{P||C&&oA&&oA.index===0&&C.hasPrevPage&&!C.isFetchingPrevPage&&(async()=>(b(!0),rA.current&&clearTimeout(rA.current),await B(),rA.current=setTimeout(()=>{b(!1)},500)))()},[oA,C,B,P]),E.useEffect(()=>{P||C&&W&&W.index===e.length-1&&C.hasNextPage&&!C.isFetchingNextPage&&(async()=>(b(!0),rA.current&&clearTimeout(rA.current),await Q(),rA.current=setTimeout(()=>{b(!1)},500)))()},[e.length,W,C,Q,P]);const dA=oA?oA.start-U.options.scrollMargin:0;return g.jsx(A0.Provider,{value:z,children:g.jsxs("div",{ref:v,className:qo.scrollParent,style:{overflow:S?"initial":"auto",maxHeight:"100%",...I},children:[n&&EA.length===0&&g.jsx("div",{className:qo.loadingWrapper,children:g.jsx(ha,{})}),!n&&EA.length===0&&(p??g.jsx("div",{className:qo.noRows,children:g.jsx(qe,{children:"No data available"})})),(!n&&EA.length>0||e.length>0)&&g.jsx("div",{ref:y,style:{height:`${hA}px`,width:"100%",position:"relative"},children:g.jsx("div",{"data-list-container":!0,className:Ge({[qo.sectioned]:s!==void 0,[qo.borderCollapse]:N}),style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${dA}px)`},children:EA.map(sA=>{const yA=T[sA.index];let FA=sA.key,JA;switch(yA._row_type){case"SECTION":JA=(o==null?void 0:o(yA,yA[h]))??null,FA=`section_${FA}`;break;case"SECTION_FOOTER":JA=r==null?void 0:r(yA,yA[h]),FA=`section_footer_${FA}`;break;default:JA=t(yA,yA[h])??null;break}return g.jsx(Gf,{onHeightChanged:U.measureElement,rowIndex:sA.index,itemType:yA._row_type||"ITEM",children:JA},FA)})})})]})})});function Yf({node:A,renderChild:e,item:t}){const{isExpanded:o,toggleExpanded:r}=E.useContext(A0),n=t.id,i=o(n),s=E.useMemo(()=>({isExpanded:i,toggle:()=>{r(n,!i)}}),[i,n,r]);return g.jsx(ct,{node:A,renderChild:e,item:t,context:s,itemKey:"$group",contextKey:"$group"})}const Hr="List",Kf=Z({status:"experimental",description:`The \`${Hr}\` component is a robust layout container that renders associated data items as a list of components. \`${Hr}\` is virtualized; it renders only items that are visible in the viewport.`,props:{data:f("The component receives data via this property. The `data` property is a list of items that the `List` can display."),items:f("You can use `items` as an alias for the `data` property. When you bind the list to a data source (e.g. an API endpoint), the `data` acts as the property that accepts a URL to fetch information from an API.When both `items` and `data` are used, `items` has priority."),loading:f("This property delays the rendering of children until it is set to `false`, or the component receives usable list items via the [`data`](#data) property."),limit:f(`This property limits the number of items displayed in the \`${Hr}\`.`),scrollAnchor:f("This property pins the scroll position to a specified location of the list. Available values are shown below.",_1,"string","top"),groupBy:f("This property sets which attribute of the data is used to group the list items. If the attribute does not appear in the data, it will be ignored."),orderBy:f("This property enables the ordering of list items by specifying an attribute in the data."),availableGroups:f(`This property is an array of group names that the \`${Hr}\` will display.`),groupHeaderTemplate:se("Enables the customization of how the groups are displayed, similarly to the [`itemTemplate`](#itemtemplate). You can use the `$item` context variable to access an item group and map its individual attributes."),groupFooterTemplate:se("Enables the customization of how the the footer of each group is displayed. Combine with [`groupHeaderTemplate`](#groupHeaderTemplate) to customize sections. You can use the `$item` context variable to access an item group and map its individual attributes."),itemTemplate:se("This property allows the customization of mapping data items to components. You can use the `$item` context variable to access an item and map its individual attributes."),emptyListTemplate:se("This property defines the template to display when the list is empty."),pageInfo:f(`This property contains the current page information. Setting this property also enures the \`${Hr}\` uses pagination.`),idKey:f('Denotes which attribute of an item acts as the ID or key of the item. Default is `"id"`.'),selectedIndex:f("This property scrolls to a specific item indicated by its index."),groupsInitiallyExpanded:f("This Boolean property defines whether the list groups are initially expanded."),defaultGroups:f(`This property adds a list of default groups for the \`${Hr}\` and displays the group headers in the specified order. If the data contains group headers not in this list, those headers are also displayed (after the ones in this list); however, their order is not deterministic.`),hideEmptyGroups:f("This boolean property indicates if empty groups should be hidden (no header and footer are displayed).",null,"boolean",!0),borderCollapse:f("Collapse items borders",null,"boolean",!0)},contextVars:{$item:f("This property represents the value of an item in the data list.")},themeVars:pA(qo.themeVars)}),Of=AA(Hr,Kf,({node:A,extractValue:e,renderChild:t,lookupAction:o,layoutCss:r,layoutContext:n,lookupEventHandler:i,registerComponentApi:s})=>{var c;const a=A.props.itemTemplate||A.children,l=e.asOptionalBoolean(A.props.hideEmptyGroups,!0);return g.jsx(Rf,{registerComponentApi:s,style:r,loading:e.asOptionalBoolean(A.props.loading),items:e(A.props.items)||e(A.props.data),limit:e(A.props.limit),groupBy:e(A.props.groupBy),orderBy:e(A.props.orderBy),availableGroups:e(A.props.availableGroups),scrollAnchor:A.props.scrollAnchor,pageInfo:e(A.props.pageInfo),idKey:e(A.props.idKey),requestFetchPrevPage:i("requestFetchPrevPage"),requestFetchNextPage:i("requestFetchNextPage"),selectedIndex:e(A.props.selectedIndex),resetSelectedIndex:o((c=A.events)==null?void 0:c.resetSelectedIndex),emptyListPlaceholder:t(A.props.emptyListTemplate),groupsInitiallyExpanded:e.asOptionalBoolean(A.props.groupsInitiallyExpanded),defaultGroups:e(A.props.defaultGroups),borderCollapse:e.asOptionalBoolean(A.props.borderCollapse,!0),itemRenderer:a&&(B=>g.jsx(ct,{node:a,item:B,renderChild:t,layoutContext:n})),sectionRenderer:A.props.groupBy?B=>{var Q;return(((Q=B.items)==null?void 0:Q.length)??0)>0||!l?g.jsx(Yf,{node:A.props.groupHeaderTemplate??{type:"Fragment"},renderChild:t,item:B}):null}:void 0,sectionFooterRenderer:A.props.groupFooterTemplate?B=>{var Q;return(((Q=B.items)==null?void 0:Q.length)??0)>0||!l?g.jsx(ct,{node:A.props.groupFooterTemplate??{type:"Fragment"},item:B,renderChild:t,itemKey:"$group",contextKey:"$group"}):null}:void 0})}),sc={themeVars:'"[]"',wrapper:"_wrapper_1hlil_13",visibleOnHover:"_visibleOnHover_1hlil_16"};function Jf({children:A,top:e,right:t,bottom:o,left:r,visibleOnHover:n=!1}){return g.jsx("div",{style:{top:e,right:t,bottom:o,left:r},className:cA(sc.wrapper,{[sc.visibleOnHover]:n}),children:A})}const qf="PositionedContainer",zf=Z({status:"deprecated",description:"(**OBSOLETE**) This component was created for the ChatEngine app.",props:{visibleOnHover:f("No description")},themeVars:pA(sc.themeVars)}),Wf=AA(qf,zf,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>g.jsx(Jf,{top:o.top,right:o.right,bottom:o.bottom,left:o.left,visibleOnHover:e.asOptionalBoolean(A.props.visibleOnHover),children:t(A.children)}));function $f({listenTo:A,onChange:e,throttleWaitInMs:t=0}){const o=lo(A),r=E.useMemo(()=>t!==0&&e?QA.throttle(e,t,{leading:!0}):e,[e,t]);return E.useEffect(()=>{r&&!QA.isEqual(o,A)&&(r==null||r({prevValue:o,newValue:A}))},[A,r,o]),null}const ac="ChangeListener",jf=Z({description:`\`${ac}\` is a functional component (it renders no UI) to trigger an action when a particular value (component property, state, etc.) changes.`,props:{listenTo:f("Value to the changes of which this component listens."),throttleWaitInMs:f("This variable sets a throttling time (in milliseconds) to apply when executing the `didChange` event handler. All changes within that throttling time will only fire the `didChange` event once.")},events:{didChange:lt(ac)}}),Vf=AA(ac,jf,({node:A,lookupEventHandler:e,extractValue:t})=>g.jsx($f,{listenTo:t(A.props.listenTo),throttleWaitInMs:t(A.props.throttleWaitInMs),onChange:e("didChange")})),e0=Ns.createContext(void 0);function Tt(A){return Ns.useContextSelector(e0,A)}var Gt=(A=>(A.FIELD_LOST_FOCUS="FormActionKind:FIELD_LOST_FOCUS",A.FIELD_VALUE_CHANGED="FormActionKind:FIELD_VALUE_CHANGED",A.FIELD_FOCUSED="FormActionKind:FIELD_FOCUSED",A.FIELD_VALIDATED="FormActionKind:FIELD_VALIDATED",A.FIELD_INITIALIZED="FormActionKind:FIELD_INITIALIZED",A.FIELD_REMOVED="FormActionKind:FIELD_REMOVED",A.TRIED_TO_SUBMIT="FormActionKind:TRIED_TO_SUBMIT",A.BACKEND_VALIDATION_ARRIVED="FormActionKind:BACKEND_VALIDATION_ARRIVED",A.SUBMITTING="FormActionKind:SUBMITTING",A.SUBMITTED="FormActionKind:SUBMITTED",A.RESET="FormActionKind:RESET",A))(Gt||{});function Xf(A,e){return{type:"FormActionKind:FIELD_INITIALIZED",payload:{uid:A,value:e}}}function t0(A,e){return{type:"FormActionKind:FIELD_VALUE_CHANGED",payload:{uid:A,value:e}}}function Zf(A){return{type:"FormActionKind:FIELD_FOCUSED",payload:{uid:A}}}function A9(A){return{type:"FormActionKind:FIELD_LOST_FOCUS",payload:{uid:A}}}function o0(A,e){return{type:"FormActionKind:FIELD_VALIDATED",payload:{uid:A,validationResult:e}}}function e9(A){return{type:"FormActionKind:FIELD_REMOVED",payload:{uid:A}}}function t9(){return{type:"FormActionKind:TRIED_TO_SUBMIT",payload:{}}}function o9(){return{type:"FormActionKind:SUBMITTING",payload:{}}}function r9(){return{type:"FormActionKind:SUBMITTED",payload:{}}}function n9(A){return{type:"FormActionKind:RESET",payload:{originalSubject:A}}}function i9({generalValidationResults:A=[],fieldValidationResults:e={}}){return{type:"FormActionKind:BACKEND_VALIDATION_ARRIVED",payload:{generalValidationResults:A,fieldValidationResults:e}}}function s9(A){return A==null||A===""?!0:typeof A=="string"?A.trim().length===0:QA.isEmpty(A)}function r0(A="",e){return typeof A=="string"?A.length>=e:(console.warn("minLength can only be used on strings"),!0)}function n0(A="",e){return typeof A=="string"?A.length<=e:(console.warn("maxLength can only be used on strings"),!0)}function i0(A="",e){return typeof A!="string"&&!QA.isNumber(A)&&console.warn("Range can only be used on strings and numbers"),Number(A)>=e}function s0(A="",e){return typeof A!="string"&&!QA.isNumber(A)&&console.warn("Range can only be used on strings and numbers"),Number(A)<=e}function a9(A="",e){if(typeof A=="string")return t(e).test(A);return console.warn("Regex can only be used on strings"),!0;function t(o){const r=o.match(/^([/~@;%#'])(.*?)\1([gimsuy]*)$/);return r?new RegExp(r[2],r[3]):new RegExp(o)}}class a0{constructor(e,t,o){this.validations=e,this.onValidate=t,this.value=o,this.preValidate=()=>{const r=this.validateRequired();let n=[r];return(!r||r.isValid)&&n.push(this.validateLength(),this.validateRange(),this.validatePattern(),this.validateRegex()),n=n.filter(i=>i!==void 0),{isValid:n.find(i=>!i.isValid)===void 0,validatedValue:this.value,partial:this.onValidate!==void 0,validations:n}},this.validate=async()=>{const r=this.preValidate(),n=await this.validateCustom()||[];return r.validations.push(...n.map(i=>({...i,async:!0}))),{isValid:r.validations.find(i=>!i.isValid)===void 0,validatedValue:this.value,partial:!1,validations:r.validations}}}validateRequired(){const{required:e,requiredInvalidMessage:t}=this.validations;if(e)return{isValid:!s9(this.value),invalidMessage:t||"This field is required",severity:"error"}}validateLength(){const{minLength:e,maxLength:t,lengthInvalidMessage:o,lengthInvalidSeverity:r="error"}=this.validations;if(!(e===void 0&&t===void 0))return e!==void 0&&t===void 0?{isValid:r0(this.value,e),invalidMessage:o||`Input should be at least ${e} ${g0(e,"character")}`,severity:r}:e===void 0&&t!==void 0?{isValid:n0(this.value,t),invalidMessage:o||`Input should be up to ${t} ${g0(t,"character")}`,severity:r}:{isValid:r0(this.value,e)&&n0(this.value,t),invalidMessage:o||`Input length should be between ${e} and ${t}`,severity:r}}validateRange(){const{minValue:e,maxValue:t,rangeInvalidMessage:o,rangeInvalidSeverity:r="error"}=this.validations;if(!(e===void 0&&t===void 0))return e!==void 0&&t===void 0?{isValid:i0(this.value,e),invalidMessage:o||`Input should be bigger than ${e}`,severity:r}:e===void 0&&t!==void 0?{isValid:s0(this.value,t),invalidMessage:o||`Input should be smaller than ${t}`,severity:r}:{isValid:i0(this.value,e)&&s0(this.value,t),invalidMessage:o||`Input should be between ${e} and ${t}`,severity:r}}validatePattern(){const{pattern:e,patternInvalidMessage:t,patternInvalidSeverity:o="error"}=this.validations;if(e)switch(e.toLowerCase()){case"email":return{isValid:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(this.value),invalidMessage:t||"Not a valid email address",severity:o};case"phone":return{isValid:/^[a-zA-Z0-9#*)(+.\-_&']+$/g.test(this.value),invalidMessage:t||"Not a valid phone number",severity:o};case"url":let r;try{r=new URL(this.value)}catch{}return!r||r.protocol&&!["http:","https:"].includes(r.protocol)?{isValid:!1,invalidMessage:"Not a valid URL",severity:o}:{isValid:!0,severity:"valid"};default:return console.warn("Unknown pattern provided"),{isValid:!0,severity:"valid"}}}validateRegex(){const{regex:e,regexInvalidMessage:t,regexInvalidSeverity:o="error"}=this.validations;if(e!==void 0)return{isValid:a9(this.value,e),invalidMessage:t||"Input is not in the correct format",severity:o}}async validateCustom(){if(!this.onValidate)return;const e=await this.onValidate(this.value);return typeof e=="boolean"?[{isValid:e,invalidMessage:"Invalid input",severity:"error"}]:QA.isArray(e)?e:[e]}}async function l0(A,e,t){return await new a0(A,e,t).validate()}function l9(A,e,t,o,r,n=0){const i=E.useDeferredValue(t),s=E.useMemo(()=>n!==0?H4(l0,n,{trailing:!0,leading:!0}):l0,[n]);E.useEffect(function(){const l=new a0(A,e,i);let c=!1;const B=l.preValidate();return c||(o(o0(r,B)),B.partial&&(async()=>{const Q=await s(A,e,i);c||o(o0(r,Q))})()),()=>{c=!0}},[r,i,o,e,s,A])}function g9(A,e,t,o="errorLate"){const r=Tt(I=>I.interactionFlags[A])||GA,n=r.forceShowValidationResult,i=r.focused,s=r.isValidLostFocus,a=r.isValidOnFocus,l=r.invalidToValid,c=!t||t.validatedValue!==e,B=r.isDirty,Q=(t==null?void 0:t.isValid)===!0;let u="none";for(const I of(t==null?void 0:t.validations)||[])if(!I.isValid&&(u!=="error"&&I.severity==="warning"&&(u="warning"),I.severity==="error")){u="error";break}let d=!1;switch(o){case"errorLate":d=B&&(i?!l&&!a:!s);break;case"onChanged":d=B;break;case"onLostFocus":d=B&&(!i&&!Q||!s&&!Q)}d=d||n;const[C,h]=E.useState(d);return C!==d&&!c&&h(d),c&&(d=C),{isHelperTextShown:d,validationStatus:d?u:"none"}}function Na(A){if(A!==void 0)return A==="error"||A==="warning"||A==="valid"||A==="none"?A:"none"}function c9(A){const e={error:[],warning:[],valid:[],none:[]};return Object.entries(A).forEach(([t,o])=>{o.validations.forEach(r=>{r.isValid||(e[r.severity]=e[r.severity]||[],e[r.severity].push(r))})}),e}function g0(A,e){return A===1?e:e+"s"}const eo={themeVars:`'{"Input:radius-TextBox-default": "var(--xmlui-radius-TextBox-default)", "Input:color-border-TextBox-default": "var(--xmlui-color-border-TextBox-default)", "Input:thickness-border-TextBox-default": "var(--xmlui-thickness-border-TextBox-default)", "Input:style-border-TextBox-default": "var(--xmlui-style-border-TextBox-default)", "Input:font-size-TextBox-default": "var(--xmlui-font-size-TextBox-default)", "Input:padding-TextBox-default": "var(--xmlui-padding-TextBox-default)", "Input:color-bg-TextBox-default": "var(--xmlui-color-bg-TextBox-default)", "Input:shadow-TextBox-default": "var(--xmlui-shadow-TextBox-default)", "Input:color-text-TextBox-default": "var(--xmlui-color-text-TextBox-default)", "Input:color-border-TextBox-default--hover": "var(--xmlui-color-border-TextBox-default--hover)", "Input:color-bg-TextBox-default--hover": "var(--xmlui-color-bg-TextBox-default--hover)", "Input:shadow-TextBox-default--hover": "var(--xmlui-shadow-TextBox-default--hover)", "Input:color-text-TextBox-default--hover": "var(--xmlui-color-text-TextBox-default--hover)", "Input:color-border-TextBox-default--focus": "var(--xmlui-color-border-TextBox-default--focus)", "Input:color-bg-TextBox-default--focus": "var(--xmlui-color-bg-TextBox-default--focus)", "Input:shadow-TextBox-default--focus": "var(--xmlui-shadow-TextBox-default--focus)", "Input:color-text-TextBox-default--focus": "var(--xmlui-color-text-TextBox-default--focus)", "Input:thickness-outline-TextBox-default--focus": "var(--xmlui-thickness-outline-TextBox-default--focus)", "Input:color-outline-TextBox-default--focus": "var(--xmlui-color-outline-TextBox-default--focus)", "Input:style-outline-TextBox-default--focus": "var(--xmlui-style-outline-TextBox-default--focus)", "Input:offset-outline-TextBox-default--focus": "var(--xmlui-offset-outline-TextBox-default--focus)", "Input:color-placeholder-TextBox-default": "var(--xmlui-color-placeholder-TextBox-default)", "Input:color-adornment-TextBox-default": "var(--xmlui-color-adornment-TextBox-default)", "Input:radius-TextBox-error": "var(--xmlui-radius-TextBox-error)", "Input:color-border-TextBox-error": "var(--xmlui-color-border-TextBox-error)", "Input:thickness-border-TextBox-error": "var(--xmlui-thickness-border-TextBox-error)", "Input:style-border-TextBox-error": "var(--xmlui-style-border-TextBox-error)", "Input:font-size-TextBox-error": "var(--xmlui-font-size-TextBox-error)", "Input:padding-TextBox-error": "var(--xmlui-padding-TextBox-error)", "Input:color-bg-TextBox-error": "var(--xmlui-color-bg-TextBox-error)", "Input:shadow-TextBox-error": "var(--xmlui-shadow-TextBox-error)", "Input:color-text-TextBox-error": "var(--xmlui-color-text-TextBox-error)", "Input:color-border-TextBox-error--hover": "var(--xmlui-color-border-TextBox-error--hover)", "Input:color-bg-TextBox-error--hover": "var(--xmlui-color-bg-TextBox-error--hover)", "Input:shadow-TextBox-error--hover": "var(--xmlui-shadow-TextBox-error--hover)", "Input:color-text-TextBox-error--hover": "var(--xmlui-color-text-TextBox-error--hover)", "Input:color-border-TextBox-error--focus": "var(--xmlui-color-border-TextBox-error--focus)", "Input:color-bg-TextBox-error--focus": "var(--xmlui-color-bg-TextBox-error--focus)", "Input:shadow-TextBox-error--focus": "var(--xmlui-shadow-TextBox-error--focus)", "Input:color-text-TextBox-error--focus": "var(--xmlui-color-text-TextBox-error--focus)", "Input:thickness-outline-TextBox-error--focus": "var(--xmlui-thickness-outline-TextBox-error--focus)", "Input:color-outline-TextBox-error--focus": "var(--xmlui-color-outline-TextBox-error--focus)", "Input:style-outline-TextBox-error--focus": "var(--xmlui-style-outline-TextBox-error--focus)", "Input:offset-outline-TextBox-error--focus": "var(--xmlui-offset-outline-TextBox-error--focus)", "Input:color-placeholder-TextBox-error": "var(--xmlui-color-placeholder-TextBox-error)", "Input:color-adornment-TextBox-error": "var(--xmlui-color-adornment-TextBox-error)", "Input:radius-TextBox-warning": "var(--xmlui-radius-TextBox-warning)", "Input:color-border-TextBox-warning": "var(--xmlui-color-border-TextBox-warning)", "Input:thickness-border-TextBox-warning": "var(--xmlui-thickness-border-TextBox-warning)", "Input:style-border-TextBox-warning": "var(--xmlui-style-border-TextBox-warning)", "Input:font-size-TextBox-warning": "var(--xmlui-font-size-TextBox-warning)", "Input:padding-TextBox-warning": "var(--xmlui-padding-TextBox-warning)", "Input:color-bg-TextBox-warning": "var(--xmlui-color-bg-TextBox-warning)", "Input:shadow-TextBox-warning": "var(--xmlui-shadow-TextBox-warning)", "Input:color-text-TextBox-warning": "var(--xmlui-color-text-TextBox-warning)", "Input:color-border-TextBox-warning--hover": "var(--xmlui-color-border-TextBox-warning--hover)", "Input:color-bg-TextBox-warning--hover": "var(--xmlui-color-bg-TextBox-warning--hover)", "Input:shadow-TextBox-warning--hover": "var(--xmlui-shadow-TextBox-warning--hover)", "Input:color-text-TextBox-warning--hover": "var(--xmlui-color-text-TextBox-warning--hover)", "Input:color-border-TextBox-warning--focus": "var(--xmlui-color-border-TextBox-warning--focus)", "Input:color-bg-TextBox-warning--focus": "var(--xmlui-color-bg-TextBox-warning--focus)", "Input:shadow-TextBox-warning--focus": "var(--xmlui-shadow-TextBox-warning--focus)", "Input:color-text-TextBox-warning--focus": "var(--xmlui-color-text-TextBox-warning--focus)", "Input:thickness-outline-TextBox-warning--focus": "var(--xmlui-thickness-outline-TextBox-warning--focus)", "Input:color-outline-TextBox-warning--focus": "var(--xmlui-color-outline-TextBox-warning--focus)", "Input:style-outline-TextBox-warning--focus": "var(--xmlui-style-outline-TextBox-warning--focus)", "Input:offset-outline-TextBox-warning--focus": "var(--xmlui-offset-outline-TextBox-warning--focus)", "Input:color-placeholder-TextBox-warning": "var(--xmlui-color-placeholder-TextBox-warning)", "Input:color-adornment-TextBox-warning": "var(--xmlui-color-adornment-TextBox-warning)", "Input:radius-TextBox-success": "var(--xmlui-radius-TextBox-success)", "Input:color-border-TextBox-success": "var(--xmlui-color-border-TextBox-success)", "Input:thickness-border-TextBox-success": "var(--xmlui-thickness-border-TextBox-success)", "Input:style-border-TextBox-success": "var(--xmlui-style-border-TextBox-success)", "Input:font-size-TextBox-success": "var(--xmlui-font-size-TextBox-success)", "Input:padding-TextBox-success": "var(--xmlui-padding-TextBox-success)", "Input:color-bg-TextBox-success": "var(--xmlui-color-bg-TextBox-success)", "Input:shadow-TextBox-success": "var(--xmlui-shadow-TextBox-success)", "Input:color-text-TextBox-success": "var(--xmlui-color-text-TextBox-success)", "Input:color-border-TextBox-success--hover": "var(--xmlui-color-border-TextBox-success--hover)", "Input:color-bg-TextBox-success--hover": "var(--xmlui-color-bg-TextBox-success--hover)", "Input:shadow-TextBox-success--hover": "var(--xmlui-shadow-TextBox-success--hover)", "Input:color-text-TextBox-success--hover": "var(--xmlui-color-text-TextBox-success--hover)", "Input:color-border-TextBox-success--focus": "var(--xmlui-color-border-TextBox-success--focus)", "Input:color-bg-TextBox-success--focus": "var(--xmlui-color-bg-TextBox-success--focus)", "Input:shadow-TextBox-success--focus": "var(--xmlui-shadow-TextBox-success--focus)", "Input:color-text-TextBox-success--focus": "var(--xmlui-color-text-TextBox-success--focus)", "Input:thickness-outline-TextBox-success--focus": "var(--xmlui-thickness-outline-TextBox-success--focus)", "Input:color-outline-TextBox-success--focus": "var(--xmlui-color-outline-TextBox-success--focus)", "Input:style-outline-TextBox-success--focus": "var(--xmlui-style-outline-TextBox-success--focus)", "Input:offset-outline-TextBox-success--focus": "var(--xmlui-offset-outline-TextBox-success--focus)", "Input:color-placeholder-TextBox-success": "var(--xmlui-color-placeholder-TextBox-success)", "Input:color-adornment-TextBox-success": "var(--xmlui-color-adornment-TextBox-success)", "Input:color-bg-TextBox--disabled": "var(--xmlui-color-bg-TextBox--disabled)", "Input:color-text-TextBox--disabled": "var(--xmlui-color-text-TextBox--disabled)", "Input:color-border-TextBox--disabled": "var(--xmlui-color-border-TextBox--disabled)"}'`,inputRoot:"_inputRoot_1s937_13",input:"_input_1s937_13",adornment:"_adornment_1s937_53",error:"_error_1s937_56",warning:"_warning_1s937_91",valid:"_valid_1s937_126",readOnly:"_readOnly_1s937_178"},B9={wrapper:"_wrapper_18f9r_13"};function _a({iconName:A,text:e,className:t}){return g.jsx(g.Fragment,{children:A||e?g.jsxs("div",{className:cA(B9.wrapper,t),children:[g.jsx(kA,{name:A,layout:{color:"inherit"}}),e&&g.jsx("div",{style:{display:"flex",userSelect:"none"},children:g.jsx(qe,{layout:{fontSize:"inherit"},children:e})})]}):null})}const Fa=({id:A,type:e="text",value:t="",updateState:o=vA,initialValue:r="",style:n,maxLength:i,enabled:s=!0,placeholder:a,validationStatus:l="none",onDidChange:c=vA,onFocus:B=vA,onBlur:Q=vA,registerComponentApi:u,startText:d,startIcon:C,endText:h,endIcon:I,autoFocus:p,readOnly:D,tabIndex:m,label:k,labelPosition:N,labelWidth:L,labelBreak:M,required:F})=>{const v=E.useRef(null);E.useEffect(()=>{p&&setTimeout(()=>{var S;(S=v.current)==null||S.focus()},0)},[p]);const[y,P]=E.useState(t);E.useEffect(()=>{P(t)},[t]),E.useEffect(()=>{o({value:r},{initial:!0})},[r,o]);const b=E.useCallback(S=>{P(S),o({value:S}),c(S)},[c,o]),_=E.useCallback(S=>{b(S.target.value)},[b]),q=E.useCallback(()=>{B==null||B()},[B]),J=E.useCallback(()=>{Q==null||Q()},[Q]),z=E.useCallback(()=>{var S;(S=v.current)==null||S.focus()},[]),T=HA(S=>{b(S)});return E.useEffect(()=>{u==null||u({focus:z,setValue:T})},[z,u,T]),g.jsx(ho,{labelPosition:N,label:k,labelWidth:L,labelBreak:M,required:F,enabled:s,onFocus:B,onBlur:Q,style:n,children:g.jsxs("div",{className:cA(eo.inputRoot,{[eo.disabled]:!s,[eo.readOnly]:D,[eo.error]:l==="error",[eo.warning]:l==="warning",[eo.valid]:l==="valid"}),tabIndex:-1,onFocus:()=>{var S;(S=v.current)==null||S.focus()},children:[g.jsx(_a,{text:d,iconName:C,className:eo.adornment}),g.jsx("input",{id:A,type:e,className:cA(eo.input,{[eo.readOnly]:D}),disabled:!s,value:y,maxLength:i,placeholder:a,onChange:_,onFocus:q,onBlur:J,ref:v,readOnly:D,autoFocus:p,tabIndex:m}),g.jsx(_a,{text:h,iconName:I,className:eo.adornment})]})})},La={themeVars:'"[]"',container:"_container_mle43_13",textBoxWrapper:"_textBoxWrapper_mle43_21",button:"_button_mle43_27"},{useDropzone:Q9}=DQ,c0=({id:A,enabled:e=!0,style:t,buttonLabel:o="Browse",buttonIcon:r,buttonIconPosition:n,variant:i,buttonThemeColor:s,buttonSize:a,autoFocus:l,validationStatus:c,updateState:B=vA,onDidChange:Q=vA,onFocus:u=vA,onBlur:d=vA,registerComponentApi:C,value:h,initialValue:I,acceptsFileType:p,multiple:D=!1,directory:m=!1,label:k,labelPosition:N,labelWidth:L,labelBreak:M,required:F})=>{const v=lc(I)?I:void 0,y=lc(h)?h:void 0,P=E.useRef(null),b=typeof p=="string"?p:p==null?void 0:p.join(",");E.useEffect(()=>{l&&setTimeout(()=>{var U;(U=P.current)==null||U.focus()},0)},[l]),E.useEffect(()=>{B({value:v},{initial:!0})},[v,B]);const _=E.useCallback(()=>{d==null||d()},[d]),q=E.useCallback(()=>{var U;(U=P.current)==null||U.focus()},[]),J=E.useCallback(U=>{U.length&&(B({value:U}),Q(U))},[B,Q]),{getRootProps:z,getInputProps:T,open:S}=Q9({disabled:!e,multiple:D||m,onDrop:J,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,useFsAccessApi:m===!1}),G=E.useCallback(()=>{u==null||u()},[u]),Y=HA(()=>{S()});return E.useEffect(()=>{C==null||C({focus:q,open:Y})},[q,Y,C]),g.jsx(ho,{labelPosition:N,label:k,labelWidth:L,labelBreak:M,required:F,enabled:e,onFocus:u,onBlur:d,style:t,children:g.jsxs("div",{className:La.container,children:[g.jsxs("button",{...z({tabIndex:0,onFocus:G,onBlur:_,disabled:!e,className:La.textBoxWrapper,onClick:S,ref:P,type:"button"}),children:[g.jsx(u4.Root,{children:g.jsx("input",{...T({webkitdirectory:m?"true":void 0}),accept:b})}),g.jsx(Fa,{enabled:e,value:(y==null?void 0:y.map(U=>U.name).join(", "))||"",validationStatus:c,readOnly:!0,tabIndex:-1})]}),g.jsx(Ce,{id:A,disabled:!e,type:"button",onClick:S,icon:r,iconPosition:n,variant:i,themeColor:s,size:a,className:La.button,autoFocus:l,children:o})]})})};function u9(A){return A instanceof File}function lc(A){return Array.isArray(A)&&A.every(u9)}const et={themeVars:`'{"Input:radius-NumberBox-default": "var(--xmlui-radius-NumberBox-default)", "Input:color-border-NumberBox-default": "var(--xmlui-color-border-NumberBox-default)", "Input:thickness-border-NumberBox-default": "var(--xmlui-thickness-border-NumberBox-default)", "Input:style-border-NumberBox-default": "var(--xmlui-style-border-NumberBox-default)", "Input:font-size-NumberBox-default": "var(--xmlui-font-size-NumberBox-default)", "Input:color-bg-NumberBox-default": "var(--xmlui-color-bg-NumberBox-default)", "Input:shadow-NumberBox-default": "var(--xmlui-shadow-NumberBox-default)", "Input:color-text-NumberBox-default": "var(--xmlui-color-text-NumberBox-default)", "Input:color-border-NumberBox-default--hover": "var(--xmlui-color-border-NumberBox-default--hover)", "Input:color-bg-NumberBox-default--hover": "var(--xmlui-color-bg-NumberBox-default--hover)", "Input:shadow-NumberBox-default--hover": "var(--xmlui-shadow-NumberBox-default--hover)", "Input:color-text-NumberBox-default--hover": "var(--xmlui-color-text-NumberBox-default--hover)", "Input:color-border-NumberBox-default--focus": "var(--xmlui-color-border-NumberBox-default--focus)", "Input:color-bg-NumberBox-default--focus": "var(--xmlui-color-bg-NumberBox-default--focus)", "Input:shadow-NumberBox-default--focus": "var(--xmlui-shadow-NumberBox-default--focus)", "Input:color-text-NumberBox-default--focus": "var(--xmlui-color-text-NumberBox-default--focus)", "Input:thickness-outline-NumberBox-default--focus": "var(--xmlui-thickness-outline-NumberBox-default--focus)", "Input:color-outline-NumberBox-default--focus": "var(--xmlui-color-outline-NumberBox-default--focus)", "Input:style-outline-NumberBox-default--focus": "var(--xmlui-style-outline-NumberBox-default--focus)", "Input:offset-outline-NumberBox-default--focus": "var(--xmlui-offset-outline-NumberBox-default--focus)", "Input:color-placeholder-NumberBox-default": "var(--xmlui-color-placeholder-NumberBox-default)", "Input:color-adornment-NumberBox-default": "var(--xmlui-color-adornment-NumberBox-default)", "Input:radius-NumberBox-error": "var(--xmlui-radius-NumberBox-error)", "Input:color-border-NumberBox-error": "var(--xmlui-color-border-NumberBox-error)", "Input:thickness-border-NumberBox-error": "var(--xmlui-thickness-border-NumberBox-error)", "Input:style-border-NumberBox-error": "var(--xmlui-style-border-NumberBox-error)", "Input:font-size-NumberBox-error": "var(--xmlui-font-size-NumberBox-error)", "Input:color-bg-NumberBox-error": "var(--xmlui-color-bg-NumberBox-error)", "Input:shadow-NumberBox-error": "var(--xmlui-shadow-NumberBox-error)", "Input:color-text-NumberBox-error": "var(--xmlui-color-text-NumberBox-error)", "Input:color-border-NumberBox-error--hover": "var(--xmlui-color-border-NumberBox-error--hover)", "Input:color-bg-NumberBox-error--hover": "var(--xmlui-color-bg-NumberBox-error--hover)", "Input:shadow-NumberBox-error--hover": "var(--xmlui-shadow-NumberBox-error--hover)", "Input:color-text-NumberBox-error--hover": "var(--xmlui-color-text-NumberBox-error--hover)", "Input:color-border-NumberBox-error--focus": "var(--xmlui-color-border-NumberBox-error--focus)", "Input:color-bg-NumberBox-error--focus": "var(--xmlui-color-bg-NumberBox-error--focus)", "Input:shadow-NumberBox-error--focus": "var(--xmlui-shadow-NumberBox-error--focus)", "Input:color-text-NumberBox-error--focus": "var(--xmlui-color-text-NumberBox-error--focus)", "Input:thickness-outline-NumberBox-error--focus": "var(--xmlui-thickness-outline-NumberBox-error--focus)", "Input:color-outline-NumberBox-error--focus": "var(--xmlui-color-outline-NumberBox-error--focus)", "Input:style-outline-NumberBox-error--focus": "var(--xmlui-style-outline-NumberBox-error--focus)", "Input:offset-outline-NumberBox-error--focus": "var(--xmlui-offset-outline-NumberBox-error--focus)", "Input:color-placeholder-NumberBox-error": "var(--xmlui-color-placeholder-NumberBox-error)", "Input:color-adornment-NumberBox-error": "var(--xmlui-color-adornment-NumberBox-error)", "Input:radius-NumberBox-warning": "var(--xmlui-radius-NumberBox-warning)", "Input:color-border-NumberBox-warning": "var(--xmlui-color-border-NumberBox-warning)", "Input:thickness-border-NumberBox-warning": "var(--xmlui-thickness-border-NumberBox-warning)", "Input:style-border-NumberBox-warning": "var(--xmlui-style-border-NumberBox-warning)", "Input:font-size-NumberBox-warning": "var(--xmlui-font-size-NumberBox-warning)", "Input:color-bg-NumberBox-warning": "var(--xmlui-color-bg-NumberBox-warning)", "Input:shadow-NumberBox-warning": "var(--xmlui-shadow-NumberBox-warning)", "Input:color-text-NumberBox-warning": "var(--xmlui-color-text-NumberBox-warning)", "Input:color-border-NumberBox-warning--hover": "var(--xmlui-color-border-NumberBox-warning--hover)", "Input:color-bg-NumberBox-warning--hover": "var(--xmlui-color-bg-NumberBox-warning--hover)", "Input:shadow-NumberBox-warning--hover": "var(--xmlui-shadow-NumberBox-warning--hover)", "Input:color-text-NumberBox-warning--hover": "var(--xmlui-color-text-NumberBox-warning--hover)", "Input:color-border-NumberBox-warning--focus": "var(--xmlui-color-border-NumberBox-warning--focus)", "Input:color-bg-NumberBox-warning--focus": "var(--xmlui-color-bg-NumberBox-warning--focus)", "Input:shadow-NumberBox-warning--focus": "var(--xmlui-shadow-NumberBox-warning--focus)", "Input:color-text-NumberBox-warning--focus": "var(--xmlui-color-text-NumberBox-warning--focus)", "Input:thickness-outline-NumberBox-warning--focus": "var(--xmlui-thickness-outline-NumberBox-warning--focus)", "Input:color-outline-NumberBox-warning--focus": "var(--xmlui-color-outline-NumberBox-warning--focus)", "Input:style-outline-NumberBox-warning--focus": "var(--xmlui-style-outline-NumberBox-warning--focus)", "Input:offset-outline-NumberBox-warning--focus": "var(--xmlui-offset-outline-NumberBox-warning--focus)", "Input:color-placeholder-NumberBox-warning": "var(--xmlui-color-placeholder-NumberBox-warning)", "Input:color-adornment-NumberBox-warning": "var(--xmlui-color-adornment-NumberBox-warning)", "Input:radius-NumberBox-success": "var(--xmlui-radius-NumberBox-success)", "Input:color-border-NumberBox-success": "var(--xmlui-color-border-NumberBox-success)", "Input:thickness-border-NumberBox-success": "var(--xmlui-thickness-border-NumberBox-success)", "Input:style-border-NumberBox-success": "var(--xmlui-style-border-NumberBox-success)", "Input:font-size-NumberBox-success": "var(--xmlui-font-size-NumberBox-success)", "Input:color-bg-NumberBox-success": "var(--xmlui-color-bg-NumberBox-success)", "Input:shadow-NumberBox-success": "var(--xmlui-shadow-NumberBox-success)", "Input:color-text-NumberBox-success": "var(--xmlui-color-text-NumberBox-success)", "Input:color-border-NumberBox-success--hover": "var(--xmlui-color-border-NumberBox-success--hover)", "Input:color-bg-NumberBox-success--hover": "var(--xmlui-color-bg-NumberBox-success--hover)", "Input:shadow-NumberBox-success--hover": "var(--xmlui-shadow-NumberBox-success--hover)", "Input:color-text-NumberBox-success--hover": "var(--xmlui-color-text-NumberBox-success--hover)", "Input:color-border-NumberBox-success--focus": "var(--xmlui-color-border-NumberBox-success--focus)", "Input:color-bg-NumberBox-success--focus": "var(--xmlui-color-bg-NumberBox-success--focus)", "Input:shadow-NumberBox-success--focus": "var(--xmlui-shadow-NumberBox-success--focus)", "Input:color-text-NumberBox-success--focus": "var(--xmlui-color-text-NumberBox-success--focus)", "Input:thickness-outline-NumberBox-success--focus": "var(--xmlui-thickness-outline-NumberBox-success--focus)", "Input:color-outline-NumberBox-success--focus": "var(--xmlui-color-outline-NumberBox-success--focus)", "Input:style-outline-NumberBox-success--focus": "var(--xmlui-style-outline-NumberBox-success--focus)", "Input:offset-outline-NumberBox-success--focus": "var(--xmlui-offset-outline-NumberBox-success--focus)", "Input:color-placeholder-NumberBox-success": "var(--xmlui-color-placeholder-NumberBox-success)", "Input:color-adornment-NumberBox-success": "var(--xmlui-color-adornment-NumberBox-success)", "Input:color-bg-NumberBox--disabled": "var(--xmlui-color-bg-NumberBox--disabled)", "Input:color-text-NumberBox--disabled": "var(--xmlui-color-text-NumberBox--disabled)", "Input:color-border-NumberBox--disabled": "var(--xmlui-color-border-NumberBox--disabled)"}'`,inputRoot:"_inputRoot_zavgy_13",input:"_input_zavgy_13",adornment:"_adornment_zavgy_53",error:"_error_zavgy_56",warning:"_warning_zavgy_90",valid:"_valid_zavgy_124",spinnerBox:"_spinnerBox_zavgy_184",spinnerButton:"_spinnerButton_zavgy_191",readOnly:"_readOnly_zavgy_197"},Sa=999999999999999,gc=".",Pa="e",E9=/^-?\d+$/,d9=/^-?\d+(\.\d+)?([eE][+-]?\d+)?$/,C9=1,B0=({id:A,value:e,initialValue:t,style:o,enabled:r=!0,placeholder:n,validationStatus:i="none",hasSpinBox:s=!0,step:a,integersOnly:l=!1,zeroOrPositive:c=!1,min:B=c?0:-Sa,max:Q=Sa,maxLength:u,updateState:d=vA,onDidChange:C=vA,onFocus:h=vA,onBlur:I=vA,registerComponentApi:p,startText:D,startIcon:m,endText:k,endIcon:N,autoFocus:L,readOnly:M,required:F,label:v,labelPosition:y,labelWidth:P,labelBreak:b})=>{B=Math.max(c?0:-Sa,B);const _=u0(a,!0)??C9,q=E.useRef(null),J=E.useRef(null),z=E.useRef(null);E.useEffect(()=>{L&&setTimeout(()=>{var W;(W=q.current)==null||W.focus()},0)},[L]);const[T,S]=E.useState(cc(e));E.useEffect(()=>{S(cc(e))},[e]),E.useEffect(()=>{d({value:t},{initial:!0})},[t,d]);const G=E.useCallback((W,$)=>{S($),d({value:W}),C(W)},[C,d]),Y=E.useCallback(W=>{const $=W.target.value;G($,$)},[G]),U=E.useCallback(()=>{if(M)return;const W=Q0(T,_,B,Q,l);W!==void 0&&G(W,W.toString())},[T,_,B,Q,l,G,M]),V=E.useCallback(()=>{if(M)return;const W=Q0(T,-_,B,Q,l);W!==void 0&&G(W,W.toString())},[T,_,B,Q,l,G,M]);d0(J.current,U),d0(z.current,V);const tA=W=>{var JA;let $=!1;const rA=W.target.value??"",dA=W.target.selectionStart,sA=rA.substring(0,W.target.selectionStart).indexOf(Pa);switch(W.data){case"-":$=!0,sA===-1?rA.startsWith("-")||FA("-"+rA,dA+1):rA[sA+1]!=="-"&&FA(rA.substring(0,sA+1)+"-"+rA.substring(sA+1),dA+1);break;case"+":$=!0,sA===-1?rA.startsWith("-")&&FA(rA.substring(1),dA-1):rA[sA+1]==="-"&&FA(rA.substring(0,sA+1)+rA.substring(sA+2),dA-1);break;case gc:(l||rA.includes(gc)||sA!==-1)&&($=!0);break;case Pa:if(l){$=!0;break}(rA.includes(Pa)||yA(dA,2))&&($=!0);break;default:let XA=W.data;const ZA=W.target.selectionStart;if(((JA=W.data)==null?void 0:JA.length)>0){if(XA.startsWith("-")){if(ZA>0){$=!0;break}}else if(XA.startsWith("+")){$=!0;break}const UA=rA.substring(0,ZA)+XA+rA.substring(W.target.selectionEnd);l&&!E9.test(UA)?$=!0:d9.test(UA)||($=!0);break}if(W.data<"0"||W.data>"9"){$=!0;break}if(rA.startsWith("-")&&ZA===0){$=!0;break}sA!==-1&&yA(sA+1,1)&&($=!0);break}$&&W.preventDefault();return;function yA(XA,ZA){let UA=0;for(;XA<rA.length;)if(/\d/.test(rA[XA++]))UA++;else{UA=ZA+1;break}return UA>ZA}function FA(XA,ZA){var UA;W.target.value=XA,G(XA,XA),(UA=q.current)==null||UA.setSelectionRange(ZA,ZA)}},uA=E.useCallback(W=>{W.code==="ArrowUp"&&(W.preventDefault(),U()),W.code==="ArrowDown"&&(W.preventDefault(),V())},[U,V]),EA=E.useCallback(()=>{h==null||h()},[h]),hA=E.useCallback(()=>{S(cc(e)),I==null||I()},[e,I]),eA=E.useCallback(()=>{var W;(W=q.current)==null||W.focus()},[]),oA=HA(W=>{G(W,E0(W)?"":String(W))});return E.useEffect(()=>{p==null||p({focus:eA,setValue:oA})},[eA,p,oA]),g.jsx(ho,{labelPosition:y,label:v,labelWidth:P,labelBreak:b,required:F,enabled:r,onFocus:h,onBlur:I,style:o,children:g.jsxs("div",{className:cA(et.inputRoot,{[et.readOnly]:M,[et.disabled]:!r,[et.noSpinBox]:!s,[et.error]:i==="error",[et.warning]:i==="warning",[et.valid]:i==="valid"}),tabIndex:-1,onFocus:()=>{var W;(W=q.current)==null||W.focus()},children:[g.jsx(_a,{text:D,iconName:m,className:et.adornment}),g.jsx("input",{id:A,type:"text",inputMode:"numeric",className:cA(et.input,{[et.readOnly]:M}),disabled:!r,value:T,step:a,placeholder:n,onChange:Y,onFocus:EA,onBlur:hA,onBeforeInput:tA,onKeyDown:uA,readOnly:M,ref:q,autoFocus:L,maxLength:u}),g.jsx(_a,{text:k,iconName:N,className:et.adornment}),s&&g.jsxs("div",{className:et.spinnerBox,children:[g.jsx(Ce,{type:"button",variant:"ghost",themeColor:"secondary",tabIndex:-1,className:et.spinnerButton,disabled:!r,ref:J,children:g.jsx(kA,{name:"chevronup",size:"sm"})}),g.jsx(Ce,{type:"button",tabIndex:-1,variant:"ghost",themeColor:"secondary",className:et.spinnerButton,disabled:!r,ref:z,children:g.jsx(kA,{name:"chevrondown",size:"sm"})})]})]})})};function Q0(A,e,t,o,r){const n=u0(A,r);return E0(n)?void 0:w9(n+e,t,o)}function h9(A){return typeof A=="string"&&A.length>0?!Number.isNaN(+A)&&I9(A):typeof A=="number"}function I9(A){const e=A.split(".")[0];return Math.abs(Number.parseInt(e))<=Sa}function p9(A){return typeof A=="string"&&A.length>0&&![Pa,gc].some(e=>A.includes(e))?Number.isSafeInteger(+A):typeof A=="number"?Number.isSafeInteger(A):!1}function u0(A,e=!1){return(e?p9:h9)(A)?(typeof A=="string"&&(A=e?Number.parseInt(A):+A),A):null}function cc(A){return typeof A=="string"?A:typeof A=="number"?A.toString():""}function w9(A,e,t){let o=A;return A<e&&(o=e),A>t&&(o=t),o}function E0(A){return typeof A>"u"||A===null||A===""}function d0(A,e,t=500){const o=E.useRef(0),r=E.useRef(0),n=E.useRef(e);E.useEffect(()=>{n.current=e},[e]),E.useEffect(()=>{const i=()=>{var l;(l=n.current)==null||l.call(n),o.current=window.setTimeout(()=>{r.current=window.setInterval(()=>{var c;(c=n.current)==null||c.call(n)},100)},t)},s=()=>{clearTimeout(o.current),clearInterval(r.current)},a=()=>{clearTimeout(o.current),clearInterval(r.current)};return A==null||A.addEventListener("mousedown",i),A==null||A.addEventListener("mouseup",s),A==null||A.addEventListener("mouseout",a),()=>{A==null||A.removeEventListener("mousedown",i),A==null||A.removeEventListener("mouseup",s),A==null||A.removeEventListener("mouseout",a)}},[A,e,t])}const C0=E.createContext(null);function h0(){return E.useContext(C0)}const te={themeVars:`'{"Input:font-size-Select-default": "var(--xmlui-font-size-Select-default)", "Input:color-placeholder-Select-default": "var(--xmlui-color-placeholder-Select-default)", "Input:color-text-Select-default": "var(--xmlui-color-text-Select-default)", "Input:font-size-Select-error": "var(--xmlui-font-size-Select-error)", "Input:color-placeholder-Select-error": "var(--xmlui-color-placeholder-Select-error)", "Input:color-text-Select-error": "var(--xmlui-color-text-Select-error)", "Input:font-size-Select-warning": "var(--xmlui-font-size-Select-warning)", "Input:color-placeholder-Select-warning": "var(--xmlui-color-placeholder-Select-warning)", "Input:color-text-Select-warning": "var(--xmlui-color-text-Select-warning)", "Input:font-size-Select-success": "var(--xmlui-font-size-Select-success)", "Input:color-placeholder-Select-success": "var(--xmlui-color-placeholder-Select-success)", "Input:color-text-Select-success": "var(--xmlui-color-text-Select-success)", "Input:radius-Select-default": "var(--xmlui-radius-Select-default)", "Input:color-border-Select-default": "var(--xmlui-color-border-Select-default)", "Input:thickness-border-Select-default": "var(--xmlui-thickness-border-Select-default)", "Input:style-border-Select-default": "var(--xmlui-style-border-Select-default)", "Input:color-bg-Select-default": "var(--xmlui-color-bg-Select-default)", "Input:shadow-Select-default": "var(--xmlui-shadow-Select-default)", "Input:color-border-Select-default--hover": "var(--xmlui-color-border-Select-default--hover)", "Input:color-bg-Select-default--hover": "var(--xmlui-color-bg-Select-default--hover)", "Input:shadow-Select-default--hover": "var(--xmlui-shadow-Select-default--hover)", "Input:color-text-Select-default--hover": "var(--xmlui-color-text-Select-default--hover)", "Input:thickness-outline-Select-default--focus": "var(--xmlui-thickness-outline-Select-default--focus)", "Input:color-outline-Select-default--focus": "var(--xmlui-color-outline-Select-default--focus)", "Input:style-outline-Select-default--focus": "var(--xmlui-style-outline-Select-default--focus)", "Input:offset-outline-Select-default--focus": "var(--xmlui-offset-outline-Select-default--focus)", "Input:radius-Select-error": "var(--xmlui-radius-Select-error)", "Input:color-border-Select-error": "var(--xmlui-color-border-Select-error)", "Input:thickness-border-Select-error": "var(--xmlui-thickness-border-Select-error)", "Input:style-border-Select-error": "var(--xmlui-style-border-Select-error)", "Input:color-bg-Select-error": "var(--xmlui-color-bg-Select-error)", "Input:shadow-Select-error": "var(--xmlui-shadow-Select-error)", "Input:color-border-Select-error--hover": "var(--xmlui-color-border-Select-error--hover)", "Input:color-bg-Select-error--hover": "var(--xmlui-color-bg-Select-error--hover)", "Input:shadow-Select-error--hover": "var(--xmlui-shadow-Select-error--hover)", "Input:color-text-Select-error--hover": "var(--xmlui-color-text-Select-error--hover)", "Input:thickness-outline-Select-error--focus": "var(--xmlui-thickness-outline-Select-error--focus)", "Input:color-outline-Select-error--focus": "var(--xmlui-color-outline-Select-error--focus)", "Input:style-outline-Select-error--focus": "var(--xmlui-style-outline-Select-error--focus)", "Input:offset-outline-Select-error--focus": "var(--xmlui-offset-outline-Select-error--focus)", "Input:radius-Select-warning": "var(--xmlui-radius-Select-warning)", "Input:color-border-Select-warning": "var(--xmlui-color-border-Select-warning)", "Input:thickness-border-Select-warning": "var(--xmlui-thickness-border-Select-warning)", "Input:style-border-Select-warning": "var(--xmlui-style-border-Select-warning)", "Input:color-bg-Select-warning": "var(--xmlui-color-bg-Select-warning)", "Input:shadow-Select-warning": "var(--xmlui-shadow-Select-warning)", "Input:color-border-Select-warning--hover": "var(--xmlui-color-border-Select-warning--hover)", "Input:color-bg-Select-warning--hover": "var(--xmlui-color-bg-Select-warning--hover)", "Input:shadow-Select-warning--hover": "var(--xmlui-shadow-Select-warning--hover)", "Input:color-text-Select-warning--hover": "var(--xmlui-color-text-Select-warning--hover)", "Input:thickness-outline-Select-warning--focus": "var(--xmlui-thickness-outline-Select-warning--focus)", "Input:color-outline-Select-warning--focus": "var(--xmlui-color-outline-Select-warning--focus)", "Input:style-outline-Select-warning--focus": "var(--xmlui-style-outline-Select-warning--focus)", "Input:offset-outline-Select-warning--focus": "var(--xmlui-offset-outline-Select-warning--focus)", "Input:radius-Select-success": "var(--xmlui-radius-Select-success)", "Input:color-border-Select-success": "var(--xmlui-color-border-Select-success)", "Input:thickness-border-Select-success": "var(--xmlui-thickness-border-Select-success)", "Input:style-border-Select-success": "var(--xmlui-style-border-Select-success)", "Input:color-bg-Select-success": "var(--xmlui-color-bg-Select-success)", "Input:shadow-Select-success": "var(--xmlui-shadow-Select-success)", "Input:color-border-Select-success--hover": "var(--xmlui-color-border-Select-success--hover)", "Input:color-bg-Select-success--hover": "var(--xmlui-color-bg-Select-success--hover)", "Input:shadow-Select-success--hover": "var(--xmlui-shadow-Select-success--hover)", "Input:color-text-Select-success--hover": "var(--xmlui-color-text-Select-success--hover)", "Input:thickness-outline-Select-success--focus": "var(--xmlui-thickness-outline-Select-success--focus)", "Input:color-outline-Select-success--focus": "var(--xmlui-color-outline-Select-success--focus)", "Input:style-outline-Select-success--focus": "var(--xmlui-style-outline-Select-success--focus)", "Input:offset-outline-Select-success--focus": "var(--xmlui-offset-outline-Select-success--focus)", "opacity-Select--disabled": "var(--xmlui-opacity-Select--disabled)", "Input:color-bg-Select--disabled": "var(--xmlui-color-bg-Select--disabled)", "Input:color-text-Select--disabled": "var(--xmlui-color-text-Select--disabled)", "Input:color-border-Select--disabled": "var(--xmlui-color-border-Select--disabled)", "padding-vertical-Select-badge": "var(--xmlui-padding-vertical-Select-badge)", "padding-horizontal-Select-badge": "var(--xmlui-padding-horizontal-Select-badge)", "Input:font-size-Select-badge": "var(--xmlui-font-size-Select-badge)", "Input:color-bg-Select-badge": "var(--xmlui-color-bg-Select-badge)", "Input:color-text-Select-badge": "var(--xmlui-color-text-Select-badge)", "Input:color-bg-Select-badge--hover": "var(--xmlui-color-bg-Select-badge--hover)", "Input:color-text-Select-badge--hover": "var(--xmlui-color-text-Select-badge--hover)", "Input:color-bg-Select-badge--active": "var(--xmlui-color-bg-Select-badge--active)", "Input:color-text-Select-badge--active": "var(--xmlui-color-text-Select-badge--active)", "Input:color-placeholder-Select": "var(--xmlui-color-placeholder-Select)", "Input:color-bg-menu-Select": "var(--xmlui-color-bg-menu-Select)", "Input:radius-menu-Select": "var(--xmlui-radius-menu-Select)", "Input:shadow-menu-Select": "var(--xmlui-shadow-menu-Select)", "Input:thickness-border-menu-Select": "var(--xmlui-thickness-border-menu-Select)", "Input:color-border-menu-Select": "var(--xmlui-color-border-menu-Select)", "color-bg-item-Select": "var(--xmlui-color-bg-item-Select)", "color-bg-item-Select--hover": "var(--xmlui-color-bg-item-Select--hover)", "opacity-text-item-Select--disabled": "var(--xmlui-opacity-text-item-Select--disabled)", "font-size-Select": "var(--xmlui-font-size-Select)", "color-bg-item-Select--active": "var(--xmlui-color-bg-item-Select--active)", "color-text-indicator-Select": "var(--xmlui-color-text-indicator-Select)"}'`,selectValue:"_selectValue_z2kxg_13",error:"_error_z2kxg_21",warning:"_warning_z2kxg_29",valid:"_valid_z2kxg_37",selectTrigger:"_selectTrigger_z2kxg_46",badgeListContainer:"_badgeListContainer_z2kxg_170",badgeList:"_badgeList_z2kxg_170",badge:"_badge_z2kxg_170",actions:"_actions_z2kxg_210",placeholder:"_placeholder_z2kxg_216",emptyList:"_emptyList_z2kxg_221",selectScrollUpButton:"_selectScrollUpButton_z2kxg_231",selectScrollDownButton:"_selectScrollDownButton_z2kxg_240",command:"_command_z2kxg_249",commandInputContainer:"_commandInputContainer_z2kxg_259",commandInput:"_commandInput_z2kxg_259",commandList:"_commandList_z2kxg_284",selectContent:"_selectContent_z2kxg_289",fadeIn:"_fadeIn_z2kxg_1",zoomIn:"_zoomIn_z2kxg_1",fadeOut:"_fadeOut_z2kxg_1",zoomOut:"_zoomOut_z2kxg_1",slideInFromTop:"_slideInFromTop_z2kxg_1",slideInFromRight:"_slideInFromRight_z2kxg_1",slideInFromLeft:"_slideInFromLeft_z2kxg_1",slideInFromBottom:"_slideInFromBottom_z2kxg_1",multiComboboxOption:"_multiComboboxOption_z2kxg_329",selectItem:"_selectItem_z2kxg_349",selectItemIndicator:"_selectItemIndicator_z2kxg_377",selectViewport:"_selectViewport_z2kxg_388",selectEmpty:"_selectEmpty_z2kxg_394",srOnly:"_srOnly_z2kxg_405"},I0=E.createContext(null);function f9(){return E.useContext(I0)}function Ta({children:A,Component:e}){return g.jsx(I0.Provider,{value:e,children:A})}const Bc=E.createContext({onOptionAdd:()=>{},onOptionRemove:()=>{}});function Qc(){return E.useContext(Bc)}function D9(A){const{root:e}=ce(),{enabled:t,onBlur:o,autoFocus:r,onValueChange:n,validationStatus:i,children:s,value:a,height:l,style:c,placeholder:B,id:Q,triggerRef:u,onFocus:d,options:C}=A,h=a+"",I=E.useCallback(p=>{var m;const D=(m=Array.from(C.values()).find(k=>k.value+""===p))==null?void 0:m.value;n(D)},[n,C]);return g.jsx(Ta,{Component:f0,children:g.jsxs(Mt.Root,{value:h,onValueChange:I,children:[g.jsxs(Mt.Trigger,{id:Q,style:c,onFocus:d,onBlur:o,disabled:!t,className:Ge(te.selectTrigger,te[i]),ref:u,autoFocus:r,children:[g.jsx("div",{className:te.selectValue,children:g.jsx(Mt.Value,{placeholder:B})}),g.jsx(Mt.Icon,{asChild:!0,children:g.jsx(kA,{name:"chevrondown"})})]}),g.jsx(Mt.Portal,{container:e,children:g.jsxs(Mt.Content,{className:te.selectContent,position:"popper",style:{height:l},children:[g.jsx(Mt.ScrollUpButton,{className:te.selectScrollUpButton,children:g.jsx(kA,{name:"chevronup"})}),g.jsx(Mt.Viewport,{className:Ge(te.selectViewport),children:s}),g.jsx(Mt.ScrollDownButton,{className:te.selectScrollDownButton,children:g.jsx(kA,{name:"chevrondown"})})]})})]})})}function p0({id:A,initialValue:e,value:t,enabled:o=!0,placeholder:r,updateState:n=vA,validationStatus:i="none",onDidChange:s=vA,onFocus:a=vA,onBlur:l=vA,registerComponentApi:c,emptyListTemplate:B,optionLabelRenderer:Q,valueRenderer:u,layout:d,dropdownHeight:C,children:h,autoFocus:I=!1,searchable:p=!1,multiSelect:D=!1,label:m,labelPosition:k,labelWidth:N,labelBreak:L,required:M=!1}){var eA;const[F,v]=E.useState(null),[y,P]=E.useState(!1),[b,_]=E.useState(0),q=E.useRef(),{root:J}=ce(),[z,T]=E.useState(new Set);E.useEffect(()=>{e!==void 0&&n({value:e},{initial:!0})},[e,n]),E.useEffect(()=>{var W;const oA=F;return(W=q.current)==null||W.disconnect(),oA&&(q.current=new ResizeObserver(()=>_(oA.clientWidth)),q.current.observe(oA)),()=>{var $;($=q.current)==null||$.disconnect()}},[F]);const S=E.useCallback(oA=>{const W=D?Array.isArray(t)?t.includes(oA)?t.filter($=>$!==oA):[...t,oA]:[oA]:oA===t?null:oA;n({value:W}),s(W),P(!1)},[D,t,n,s]),G=E.useCallback(()=>{const oA=D?[]:"";n({value:oA}),s(oA)},[D,n,s]),Y=E.useCallback(()=>{F==null||F.focus()},[F]),U=HA(oA=>{S(oA)});E.useEffect(()=>{c==null||c({focus:Y,setValue:U})},[Y,c,U]);const V=E.useMemo(()=>B??g.jsxs("div",{className:te.selectEmpty,children:[g.jsx(kA,{name:"noresult"}),g.jsx("span",{children:"List is empty"})]}),[B]),tA=E.useCallback(oA=>{T(W=>new Set(W).add(oA))},[]),uA=E.useCallback(oA=>{T(W=>{const $=new Set(W);return $.delete(oA),$})},[]),EA=E.useMemo(()=>({onOptionAdd:tA,onOptionRemove:uA}),[tA,uA]),hA=E.useMemo(()=>({multiSelect:D,value:t,optionLabelRenderer:Q,onChange:S}),[D,S,t,Q]);return g.jsx(C0.Provider,{value:hA,children:g.jsx(Bc.Provider,{value:EA,children:p||D?g.jsxs(Ta,{Component:w0,children:[h,g.jsx(ho,{labelPosition:k,label:m,labelWidth:N,labelBreak:L,required:M,enabled:o,onFocus:a,onBlur:l,style:d,children:g.jsxs(_s.Popover,{open:y,onOpenChange:P,modal:!1,children:[g.jsx(_s.PopoverTrigger,{asChild:!0,children:g.jsxs("button",{id:A,ref:v,onFocus:a,onBlur:l,disabled:!o,"aria-expanded":y,onClick:()=>P(oA=>!oA),className:Ge(te.selectTrigger,te[i],{[te.disabled]:!o,[te.multi]:D}),autoFocus:I,children:[D?Array.isArray(t)&&t.length>0?g.jsx("div",{className:te.badgeListContainer,children:g.jsx("div",{className:te.badgeList,children:t.map(oA=>{var W;return u?u(Array.from(z).find($=>$.value===oA),()=>{S(oA)}):g.jsxs("span",{className:te.badge,children:[(W=Array.from(z).find($=>$.value===oA))==null?void 0:W.label,g.jsx(kA,{name:"close",size:"sm",onClick:$=>{$.stopPropagation(),S(oA)}})]},oA)})})}):g.jsx("span",{className:te.placeholder,children:r||""}):t!=null?g.jsx("div",{children:(eA=Array.from(z).find(oA=>oA.value===t))==null?void 0:eA.label}):g.jsx("span",{className:te.placeholder,children:r||""}),g.jsxs("div",{className:te.actions,children:[D&&Array.isArray(t)&&t.length>0&&g.jsx(kA,{name:"close",onClick:oA=>{oA.stopPropagation(),G()}}),g.jsx(kA,{name:"chevrondown"})]})]})}),g.jsx(_s.Portal,{container:J,children:g.jsx(_s.PopoverContent,{style:{width:b,height:C},className:te.selectContent,children:g.jsxs(pt.Command,{className:te.command,shouldFilter:p,filter:(oA,W,$)=>(oA+" "+$.join(" ")).toLowerCase().includes(W.toLowerCase())?1:0,children:[p?g.jsxs("div",{className:te.commandInputContainer,children:[g.jsx(kA,{name:"search"}),g.jsx(pt.CommandInput,{className:Ge(te.commandInput),placeholder:"Search..."})]}):g.jsx("button",{autoFocus:!0,"aria-hidden":"true",className:te.srOnly}),g.jsxs(pt.CommandList,{className:te.commandList,children:[Array.from(z).map(({value:oA,label:W,enabled:$,keywords:rA})=>g.jsx(m9,{value:oA,label:W,enabled:$,keywords:rA},oA)),g.jsx(pt.CommandEmpty,{children:V})]})]})})})]})})]}):g.jsx(D9,{value:t,options:z,onValueChange:S,id:A,style:d,onFocus:a,onBlur:l,enabled:o,validationStatus:i,triggerRef:v,autoFocus:I,placeholder:r,height:C,children:h||V})})})}const m9=A=>{const e=E.useId(),{label:t,value:o,enabled:r=!0,keywords:n}=A,{value:i,onChange:s,multi:a,optionLabelRenderer:l}=h0(),c=Array.isArray(i)&&a?i.includes(o):i===o;return g.jsxs(pt.CommandItem,{id:e,disabled:!r,value:o,className:te.multiComboboxOption,onSelect:()=>{s(o)},"data-state":c?"checked":void 0,keywords:n,children:[l?l({label:t,value:o}):t,c&&g.jsx(kA,{name:"checkmark"})]},e)};function w0(A){const{onOptionRemove:e,onOptionAdd:t}=Qc(),[o,r]=E.useState(null),n=E.useMemo(()=>({...A,labelText:(o==null?void 0:o.textContent)??"",keywords:[(o==null?void 0:o.textContent)??""]}),[A,o]);return E.useEffect(()=>(t(n),()=>e(n)),[n,t,e]),g.jsx("div",{ref:i=>r(i),style:{display:"none"},children:A.label})}const f0=E.forwardRef((A,e)=>{const{value:t,label:o,enabled:r=!0}=A,{onOptionRemove:n,onOptionAdd:i}=Qc(),{optionLabelRenderer:s}=h0();return E.useLayoutEffect(()=>(i(A),()=>n(A)),[A,i,n]),g.jsxs(Mt.Item,{ref:e,className:te.selectItem,value:t+"",disabled:!r,children:[g.jsx(Mt.ItemText,{children:s?s({value:t,label:o}):o}),g.jsx("span",{className:te.selectItemIndicator,children:g.jsx(Mt.ItemIndicator,{children:g.jsx(kA,{name:"checkmark"})})})]})});f0.displayName="SelectOption";const Ht={themeVars:`'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Input:color-bg-RadioGroupOption-default": "var(--xmlui-color-bg-RadioGroupOption-default)", "thickness-border-RadioGroupOption": "var(--xmlui-thickness-border-RadioGroupOption)", "Input:color-border-RadioGroupOption-default": "var(--xmlui-color-border-RadioGroupOption-default)", "Input:color-border-RadioGroupOption-default--hover": "var(--xmlui-color-border-RadioGroupOption-default--hover)", "Input:color-border-RadioGroupOption-default--active": "var(--xmlui-color-border-RadioGroupOption-default--active)", "Input:color-border-RadioGroupOption--disabled": "var(--xmlui-color-border-RadioGroupOption--disabled)", "Input:color-text-RadioGroupOption--disabled": "var(--xmlui-color-text-RadioGroupOption--disabled)", "Input:color-border-RadioGroupOption-error": "var(--xmlui-color-border-RadioGroupOption-error)", "Input:color-border-RadioGroupOption-warning": "var(--xmlui-color-border-RadioGroupOption-warning)", "Input:color-border-RadioGroupOption-success": "var(--xmlui-color-border-RadioGroupOption-success)", "color-bg-checked-RadioGroupOption-default": "var(--xmlui-color-bg-checked-RadioGroupOption-default)", "color-bg-checked-RadioGroupOption--disabled": "var(--xmlui-color-bg-checked-RadioGroupOption--disabled)", "color-bg-checked-RadioGroupOption-error": "var(--xmlui-color-bg-checked-RadioGroupOption-error)", "color-bg-checked-RadioGroupOption-warning": "var(--xmlui-color-bg-checked-RadioGroupOption-warning)", "color-bg-checked-RadioGroupOption-success": "var(--xmlui-color-bg-checked-RadioGroupOption-success)", "Input:font-size-RadioGroupOption": "var(--xmlui-font-size-RadioGroupOption)", "Input:font-weight-RadioGroupOption": "var(--xmlui-font-weight-RadioGroupOption)", "Input:color-text-RadioGroupOption-default": "var(--xmlui-color-text-RadioGroupOption-default)", "Input:color-text-RadioGroupOption-error": "var(--xmlui-color-text-RadioGroupOption-error)", "Input:color-text-RadioGroupOption-warning": "var(--xmlui-color-text-RadioGroupOption-warning)", "Input:color-text-RadioGroupOption-success": "var(--xmlui-color-text-RadioGroupOption-success)", "Input:thickness-outline-RadioGroupOption--focus": "var(--xmlui-thickness-outline-RadioGroupOption--focus)", "Input:color-outline-RadioGroupOption--focus": "var(--xmlui-color-outline-RadioGroupOption--focus)", "Input:style-outline-RadioGroupOption--focus": "var(--xmlui-style-outline-RadioGroupOption--focus)", "Input:offset-outline-RadioGroupOption--focus": "var(--xmlui-offset-outline-RadioGroupOption--focus)"}'`,radioGroupContainer:"_radioGroupContainer_1wu5b_13",radioOptionContainer:"_radioOptionContainer_1wu5b_20",radioOption:"_radioOption_1wu5b_20",error:"_error_1wu5b_55",warning:"_warning_1wu5b_58",valid:"_valid_1wu5b_61",indicator:"_indicator_1wu5b_65",disabled:"_disabled_1wu5b_78",label:"_label_1wu5b_91"},D0=E.createContext({status:"none"}),uc=({id:A,value:e="",initialValue:t="",enabled:o=!0,validationStatus:r="none",label:n,labelPosition:i,labelWidth:s,labelBreak:a,required:l=!1,updateState:c=vA,onDidChange:B=vA,onFocus:Q=vA,onBlur:u=vA,children:d,registerComponentApi:C})=>{const[h,I]=E.useState(!1);E.useEffect(()=>{c({value:t},{initial:!0})},[t,c]);const p=E.useCallback(M=>{c({value:M}),B(M)},[B,c]),D=E.useCallback(M=>{p(M)},[p]),m=E.useCallback(()=>{I(!0),Q==null||Q()},[Q]),k=E.useCallback(()=>{I(!1),u==null||u()},[u]),N=HA(M=>{p(M)});E.useEffect(()=>{C==null||C({setValue:N})},[C,N]);const L=E.useMemo(()=>({value:e,status:r}),[e,r]);return g.jsx(ho,{labelPosition:i,label:n,labelWidth:s,labelBreak:a,required:l,enabled:o,onFocus:Q,onBlur:u,children:g.jsx(Ta,{Component:Ec,children:g.jsx(D0.Provider,{value:L,children:g.jsx(ng.Root,{id:A,onBlur:k,onFocus:m,onValueChange:D,value:e,disabled:!o,className:cA(Ht.radioGroupContainer,{[Ht.focused]:h,[Ht.disabled]:!o}),children:d})})})})},Ec=({value:A,label:e,enabled:t=!0})=>{const o=E.useId(),r=E.useContext(D0),n={[Ht.disabled]:!t,[Ht.error]:A===r.value&&r.status==="error",[Ht.warning]:A===r.value&&r.status==="warning",[Ht.valid]:A===r.value&&r.status==="valid"};return g.jsxs("div",{className:Ht.radioOptionContainer,children:[g.jsx(ng.Item,{className:cA(Ht.radioOption,n),value:A,disabled:!t,id:o,children:g.jsx(ng.Indicator,{className:cA(Ht.indicator,n)})}),g.jsx("label",{htmlFor:o,className:cA(Ht.label,n),children:e??A})]},o)},bi={helper:"_helper_1ktpj_13",helperText:"_helperText_1ktpj_24",valid:"_valid_1ktpj_29",error:"_error_1ktpj_34",warning:"_warning_1ktpj_39"},m0=({text:A="",status:e,style:t})=>{const o=()=>{if(e==="warning")return g.jsx(nu,{color:"var(--xmlui-color-warning)"});if(e==="error")return g.jsx(iu,{color:"var(--xmlui-color-error)"})};return g.jsxs("div",{style:t,className:cA(bi.helper,{[bi.valid]:e==="valid",[bi.warning]:e==="warning",[bi.error]:e==="error"}),children:[e&&g.jsx("div",{style:{flexShrink:0},children:o()}),A&&g.jsx("div",{className:bi.helperText,children:A})]})},x0=new Set,Qt=new WeakMap,In=new WeakMap,Ur=new WeakMap,dc=new WeakMap,x9=new WeakMap,pn=new WeakMap,Ga=new WeakMap,ki=new WeakSet;let Rr;const zo="__aa_tgt",Cc="__aa_del",v9=A=>{const e=N9(A);e&&e.forEach(t=>_9(t))},y9=A=>{A.forEach(e=>{e.target===Rr&&k9(),Qt.has(e.target)&&Yr(e.target)})};function b9(A){const e=dc.get(A);e==null||e.disconnect();let t=Qt.get(A),o=0;const r=5;t||(t=fn(A),Qt.set(A,t));const{offsetWidth:n,offsetHeight:i}=Rr,a=[t.top-r,n-(t.left+r+t.width),i-(t.top+r+t.height),t.left-r].map(c=>`${-1*Math.floor(c)}px`).join(" "),l=new IntersectionObserver(()=>{++o>1&&Yr(A)},{root:Rr,threshold:1,rootMargin:a});l.observe(A),dc.set(A,l)}function Yr(A){clearTimeout(Ga.get(A));const e=Ha(A),t=typeof e=="function"?500:e.duration;Ga.set(A,setTimeout(async()=>{const o=Ur.get(A);try{await(o==null?void 0:o.finished),Qt.set(A,fn(A)),b9(A)}catch{}},t))}function k9(){clearTimeout(Ga.get(Rr)),Ga.set(Rr,setTimeout(()=>{x0.forEach(A=>k0(A,e=>v0(()=>Yr(e))))},100))}function M9(A){setTimeout(()=>{x9.set(A,setInterval(()=>v0(Yr.bind(null,A)),2e3))},Math.round(2e3*Math.random()))}function v0(A){typeof requestIdleCallback=="function"?requestIdleCallback(()=>A()):requestAnimationFrame(()=>A())}let hc,wn;typeof window<"u"&&(Rr=document.documentElement,hc=new MutationObserver(v9),wn=new ResizeObserver(y9),wn.observe(Rr));function N9(A){return A.reduce((o,r)=>[...o,...Array.from(r.addedNodes),...Array.from(r.removedNodes)],[]).every(o=>o.nodeName==="#comment")?!1:A.reduce((o,r)=>{if(o===!1)return!1;if(r.target instanceof Element){if(Ic(r.target),!o.has(r.target)){o.add(r.target);for(let n=0;n<r.target.children.length;n++){const i=r.target.children.item(n);if(i){if(Cc in i)return!1;Ic(r.target,i),o.add(i)}}}if(r.removedNodes.length)for(let n=0;n<r.removedNodes.length;n++){const i=r.removedNodes[n];if(Cc in i)return!1;i instanceof Element&&(o.add(i),Ic(r.target,i),In.set(i,[r.previousSibling,r.nextSibling]))}}return o},new Set)}function Ic(A,e){!e&&!(zo in A)?Object.defineProperty(A,zo,{value:A}):e&&!(zo in e)&&Object.defineProperty(e,zo,{value:A})}function _9(A){var e;const t=A.isConnected,o=Qt.has(A);t&&In.has(A)&&In.delete(A),Ur.has(A)&&((e=Ur.get(A))===null||e===void 0||e.cancel()),o&&t?L9(A):o&&!t?P9(A):S9(A)}function wo(A){return Number(A.replace(/[^0-9.\-]/g,""))}function F9(A){let e=A.parentElement;for(;e;){if(e.scrollLeft||e.scrollTop)return{x:e.scrollLeft,y:e.scrollTop};e=e.parentElement}return{x:0,y:0}}function fn(A){const e=A.getBoundingClientRect(),{x:t,y:o}=F9(A);return{top:e.top+o,left:e.left+t,width:e.width,height:e.height}}function y0(A,e,t){let o=e.width,r=e.height,n=t.width,i=t.height;const s=getComputedStyle(A);if(s.getPropertyValue("box-sizing")==="content-box"){const l=wo(s.paddingTop)+wo(s.paddingBottom)+wo(s.borderTopWidth)+wo(s.borderBottomWidth),c=wo(s.paddingLeft)+wo(s.paddingRight)+wo(s.borderRightWidth)+wo(s.borderLeftWidth);o-=c,n-=c,r-=l,i-=l}return[o,n,r,i].map(Math.round)}function Ha(A){return zo in A&&pn.has(A[zo])?pn.get(A[zo]):{duration:250,easing:"ease-in-out"}}function b0(A){if(zo in A)return A[zo]}function pc(A){const e=b0(A);return e?ki.has(e):!1}function k0(A,...e){e.forEach(t=>t(A,pn.has(A)));for(let t=0;t<A.children.length;t++){const o=A.children.item(t);o&&e.forEach(r=>r(o,pn.has(o)))}}function L9(A){const e=Qt.get(A),t=fn(A);if(!pc(A))return Qt.set(A,t);let o;if(!e)return;const r=Ha(A);if(typeof r!="function"){const n=e.left-t.left,i=e.top-t.top,[s,a,l,c]=y0(A,e,t),B={transform:`translate(${n}px, ${i}px)`},Q={transform:"translate(0, 0)"};s!==a&&(B.width=`${s}px`,Q.width=`${a}px`),l!==c&&(B.height=`${l}px`,Q.height=`${c}px`),o=A.animate([B,Q],{duration:r.duration,easing:r.easing})}else o=new Animation(r(A,"remain",e,t)),o.play();Ur.set(A,o),Qt.set(A,t),o.addEventListener("finish",Yr.bind(null,A))}function S9(A){const e=fn(A);Qt.set(A,e);const t=Ha(A);if(!pc(A))return;let o;typeof t!="function"?o=A.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:t.duration*1.5,easing:"ease-in"}):(o=new Animation(t(A,"add",e)),o.play()),Ur.set(A,o),o.addEventListener("finish",Yr.bind(null,A))}function P9(A){var e;if(!In.has(A)||!Qt.has(A))return;const[t,o]=In.get(A);Object.defineProperty(A,Cc,{value:!0}),o&&o.parentNode&&o.parentNode instanceof Element?o.parentNode.insertBefore(A,o):t&&t.parentNode?t.parentNode.appendChild(A):(e=b0(A))===null||e===void 0||e.appendChild(A);function r(){var Q;A.remove(),Qt.delete(A),In.delete(A),Ur.delete(A),(Q=dc.get(A))===null||Q===void 0||Q.disconnect()}if(!pc(A))return r();const[n,i,s,a]=T9(A),l=Ha(A),c=Qt.get(A);let B;Object.assign(A.style,{position:"absolute",top:`${n}px`,left:`${i}px`,width:`${s}px`,height:`${a}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),typeof l!="function"?B=A.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:l.duration,easing:"ease-out"}):(B=new Animation(l(A,"remove",c)),B.play()),Ur.set(A,B),B.addEventListener("finish",r)}function T9(A){const e=Qt.get(A),[t,,o]=y0(A,e,fn(A));let r=A.parentElement;for(;r&&(getComputedStyle(r).position==="static"||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const n=getComputedStyle(r),i=Qt.get(r)||fn(r),s=Math.round(e.top-i.top)-wo(n.borderTopWidth),a=Math.round(e.left-i.left)-wo(n.borderLeftWidth);return[s,a,t,o]}function G9(A,e={}){return hc&&wn&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&typeof e!="function"&&!e.disrespectUserMotionPreference||(ki.add(A),getComputedStyle(A).position==="static"&&Object.assign(A.style,{position:"relative"}),k0(A,Yr,M9,r=>wn==null?void 0:wn.observe(r)),typeof e=="function"?pn.set(A,e):pn.set(A,{duration:250,easing:"ease-in-out",...e}),hc.observe(A,{childList:!0}),x0.add(A))),Object.freeze({parent:A,enable:()=>{ki.add(A)},disable:()=>{ki.delete(A)},isEnabled:()=>ki.has(A)})}function wc(A){const[e,t]=E.useState();return[E.useCallback(n=>{n instanceof HTMLElement?t(G9(n,A)):t(void 0)},[]),n=>{e&&(n?e.enable():e.disable())}]}const Wo={themeVars:`'{"Input:min-height-DatePicker": "var(--xmlui-min-height-DatePicker)", "Input:font-size-DatePicker": "var(--xmlui-font-size-DatePicker)", "Input:radius-DatePicker-default": "var(--xmlui-radius-DatePicker-default)", "Input:color-border-DatePicker-default": "var(--xmlui-color-border-DatePicker-default)", "Input:thickness-border-DatePicker-default": "var(--xmlui-thickness-border-DatePicker-default)", "Input:style-border-DatePicker-default": "var(--xmlui-style-border-DatePicker-default)", "Input:color-bg-DatePicker-default": "var(--xmlui-color-bg-DatePicker-default)", "Input:shadow-DatePicker-default": "var(--xmlui-shadow-DatePicker-default)", "Input:color-text-DatePicker-default": "var(--xmlui-color-text-DatePicker-default)", "Input:color-border-DatePicker-default--hover": "var(--xmlui-color-border-DatePicker-default--hover)", "Input:color-bg-DatePicker-default--hover": "var(--xmlui-color-bg-DatePicker-default--hover)", "Input:shadow-DatePicker-default--hover": "var(--xmlui-shadow-DatePicker-default--hover)", "Input:color-text-DatePicker-default--hover": "var(--xmlui-color-text-DatePicker-default--hover)", "Input:thickness-outline-DatePicker-default--focus": "var(--xmlui-thickness-outline-DatePicker-default--focus)", "Input:color-outline-DatePicker-default--focus": "var(--xmlui-color-outline-DatePicker-default--focus)", "Input:style-outline-DatePicker-default--focus": "var(--xmlui-style-outline-DatePicker-default--focus)", "Input:offset-outline-DatePicker-default--focus": "var(--xmlui-offset-outline-DatePicker-default--focus)", "Input:color-placeholder-DatePicker-default": "var(--xmlui-color-placeholder-DatePicker-default)", "Input:radius-DatePicker-error": "var(--xmlui-radius-DatePicker-error)", "Input:color-border-DatePicker-error": "var(--xmlui-color-border-DatePicker-error)", "Input:thickness-border-DatePicker-error": "var(--xmlui-thickness-border-DatePicker-error)", "Input:style-border-DatePicker-error": "var(--xmlui-style-border-DatePicker-error)", "Input:color-bg-DatePicker-error": "var(--xmlui-color-bg-DatePicker-error)", "Input:shadow-DatePicker-error": "var(--xmlui-shadow-DatePicker-error)", "Input:color-text-DatePicker-error": "var(--xmlui-color-text-DatePicker-error)", "Input:color-border-DatePicker-error--hover": "var(--xmlui-color-border-DatePicker-error--hover)", "Input:color-bg-DatePicker-error--hover": "var(--xmlui-color-bg-DatePicker-error--hover)", "Input:shadow-DatePicker-error--hover": "var(--xmlui-shadow-DatePicker-error--hover)", "Input:color-text-DatePicker-error--hover": "var(--xmlui-color-text-DatePicker-error--hover)", "Input:thickness-outline-DatePicker-error--focus": "var(--xmlui-thickness-outline-DatePicker-error--focus)", "Input:color-outline-DatePicker-error--focus": "var(--xmlui-color-outline-DatePicker-error--focus)", "Input:style-outline-DatePicker-error--focus": "var(--xmlui-style-outline-DatePicker-error--focus)", "Input:offset-outline-DatePicker-error--focus": "var(--xmlui-offset-outline-DatePicker-error--focus)", "Input:color-placeholder-DatePicker-error": "var(--xmlui-color-placeholder-DatePicker-error)", "Input:radius-DatePicker-warning": "var(--xmlui-radius-DatePicker-warning)", "Input:color-border-DatePicker-warning": "var(--xmlui-color-border-DatePicker-warning)", "Input:thickness-border-DatePicker-warning": "var(--xmlui-thickness-border-DatePicker-warning)", "Input:style-border-DatePicker-warning": "var(--xmlui-style-border-DatePicker-warning)", "Input:color-bg-DatePicker-warning": "var(--xmlui-color-bg-DatePicker-warning)", "Input:shadow-DatePicker-warning": "var(--xmlui-shadow-DatePicker-warning)", "Input:color-text-DatePicker-warning": "var(--xmlui-color-text-DatePicker-warning)", "Input:color-border-DatePicker-warning--hover": "var(--xmlui-color-border-DatePicker-warning--hover)", "Input:color-bg-DatePicker-warning--hover": "var(--xmlui-color-bg-DatePicker-warning--hover)", "Input:shadow-DatePicker-warning--hover": "var(--xmlui-shadow-DatePicker-warning--hover)", "Input:color-text-DatePicker-warning--hover": "var(--xmlui-color-text-DatePicker-warning--hover)", "Input:thickness-outline-DatePicker-warning--focus": "var(--xmlui-thickness-outline-DatePicker-warning--focus)", "Input:color-outline-DatePicker-warning--focus": "var(--xmlui-color-outline-DatePicker-warning--focus)", "Input:style-outline-DatePicker-warning--focus": "var(--xmlui-style-outline-DatePicker-warning--focus)", "Input:offset-outline-DatePicker-warning--focus": "var(--xmlui-offset-outline-DatePicker-warning--focus)", "Input:color-placeholder-DatePicker-warning": "var(--xmlui-color-placeholder-DatePicker-warning)", "Input:radius-DatePicker-success": "var(--xmlui-radius-DatePicker-success)", "Input:color-border-DatePicker-success": "var(--xmlui-color-border-DatePicker-success)", "Input:thickness-border-DatePicker-success": "var(--xmlui-thickness-border-DatePicker-success)", "Input:style-border-DatePicker-success": "var(--xmlui-style-border-DatePicker-success)", "Input:color-bg-DatePicker-success": "var(--xmlui-color-bg-DatePicker-success)", "Input:shadow-DatePicker-success": "var(--xmlui-shadow-DatePicker-success)", "Input:color-text-DatePicker-success": "var(--xmlui-color-text-DatePicker-success)", "Input:color-border-DatePicker-success--hover": "var(--xmlui-color-border-DatePicker-success--hover)", "Input:color-bg-DatePicker-success--hover": "var(--xmlui-color-bg-DatePicker-success--hover)", "Input:shadow-DatePicker-success--hover": "var(--xmlui-shadow-DatePicker-success--hover)", "Input:color-text-DatePicker-success--hover": "var(--xmlui-color-text-DatePicker-success--hover)", "Input:thickness-outline-DatePicker-success--focus": "var(--xmlui-thickness-outline-DatePicker-success--focus)", "Input:color-outline-DatePicker-success--focus": "var(--xmlui-color-outline-DatePicker-success--focus)", "Input:style-outline-DatePicker-success--focus": "var(--xmlui-style-outline-DatePicker-success--focus)", "Input:offset-outline-DatePicker-success--focus": "var(--xmlui-offset-outline-DatePicker-success--focus)", "Input:color-placeholder-DatePicker-success": "var(--xmlui-color-placeholder-DatePicker-success)", "Input:color-bg-DatePicker--disabled": "var(--xmlui-color-bg-DatePicker--disabled)", "Input:color-text-DatePicker--disabled": "var(--xmlui-color-text-DatePicker--disabled)", "Input:color-border-DatePicker--disabled": "var(--xmlui-color-border-DatePicker--disabled)", "Input:shadow-menu-DatePicker": "var(--xmlui-shadow-menu-DatePicker)", "Input:color-bg-menu-DatePicker": "var(--xmlui-color-bg-menu-DatePicker)", "Input:radius-menu-DatePicker": "var(--xmlui-radius-menu-DatePicker)", "Input:color-bg-item-DatePicker--active": "var(--xmlui-color-bg-item-DatePicker--active)", "Input:color-bg-item-DatePicker--hover": "var(--xmlui-color-bg-item-DatePicker--hover)", "Input:color-text-value-DatePicker": "var(--xmlui-color-text-value-DatePicker)"}'`,datePicker:"_datePicker_t0hf0_13",placeholder:"_placeholder_t0hf0_46",error:"_error_t0hf0_49",warning:"_warning_t0hf0_73",valid:"_valid_t0hf0_97",disabled:"_disabled_t0hf0_121",indicator:"_indicator_t0hf0_127",datePickerInput:"_datePickerInput_t0hf0_127",datePickerMenu:"_datePickerMenu_t0hf0_131",root:"_root_t0hf0_140",vhidden:"_vhidden_t0hf0_145",button_reset:"_button_reset_t0hf0_165",button:"_button_t0hf0_165",day_selected:"_day_selected_t0hf0_187",months:"_months_t0hf0_205",month:"_month_t0hf0_205",table:"_table_t0hf0_221",with_weeknumber:"_with_weeknumber_t0hf0_227",caption:"_caption_t0hf0_232",multiple_months:"_multiple_months_t0hf0_240",caption_dropdowns:"_caption_dropdowns_t0hf0_246",caption_label:"_caption_label_t0hf0_251",nav:"_nav_t0hf0_267",caption_start:"_caption_start_t0hf0_271",caption_end:"_caption_end_t0hf0_278",nav_button:"_nav_button_t0hf0_285",dropdown_year:"_dropdown_year_t0hf0_298",dropdown_month:"_dropdown_month_t0hf0_299",dropdown:"_dropdown_t0hf0_298",dropdown_icon:"_dropdown_icon_t0hf0_335",head:"_head_t0hf0_339",head_row:"_head_row_t0hf0_343",row:"_row_t0hf0_344",head_cell:"_head_cell_t0hf0_348",tbody:"_tbody_t0hf0_359",tfoot:"_tfoot_t0hf0_363",cell:"_cell_t0hf0_367",weeknumber:"_weeknumber_t0hf0_375",day:"_day_t0hf0_187",day_today:"_day_today_t0hf0_394",day_outside:"_day_outside_t0hf0_394",day_range_start:"_day_range_start_t0hf0_417",day_range_end:"_day_range_end_t0hf0_417",day_range_middle:"_day_range_middle_t0hf0_441"},fc=["MM/dd/yyyy","MM-dd-yyyy","yyyy/MM/dd","yyyy-MM-dd","dd/MM/yyyy","dd-MM-yyyy","yyyyMMdd","MMddyyyy"],H9=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/,Dc=A=>{if(A&&H9.test(A)){const e=Ae.parseISO(A);if(Ae.isValid(e))return e}},Ua=A=>{if(A)for(const e of fc){const t=Ae.parse(A,e,new Date);if(Ae.isValid(t))return t}},M0=({id:A,initialValue:e,value:t,mode:o="single",enabled:r=!0,placeholder:n,updateState:i=vA,validationStatus:s="none",onDidChange:a=vA,onFocus:l=vA,onBlur:c=vA,dateFormat:B="MM/dd/yyyy",showWeekNumber:Q=!1,weekStartsOn:u=0,fromDate:d,toDate:C,disabledDates:h=[],registerComponentApi:I})=>{const p=u>=0&&u<=6?u:0,[D,m]=E.useState(!1),[k,N]=E.useState(!1),[L,M]=E.useState(null),F=E.useMemo(()=>{if(o==="single"&&typeof t=="string")return Dc(t)||Ua(t);if(o==="range"&&typeof t=="object")return{from:Dc(t==null?void 0:t.from)||Ua(t==null?void 0:t.from),to:Dc(t==null?void 0:t.to)||Ua(t==null?void 0:t.to)}},[t,o]);E.useEffect(()=>{if(!fc.includes(B))throw new Error(`Invalid dateFormat: ${B}. Supported formats are: ${fc.join(", ")}`)},[B]);const v=E.useMemo(()=>d?Ae.parse(d,B,new Date):void 0,[d,B]),y=E.useMemo(()=>C?Ae.parse(C,B,new Date):void 0,[C,B]),P=E.useMemo(()=>h==null?void 0:h.map(V=>Ae.parse(V,B,new Date)),[h,B]),[b,_]=E.useState(!1),{root:q}=ce(),J=()=>{m(!0)},z=()=>{m(!1)},T=()=>{N(!0)},S=()=>{N(!1)},G=E.useCallback(()=>{L==null||L.focus()},[L]),Y=HA(V=>{const tA=Ua(V);U(tA)});E.useEffect(()=>{I==null||I({focus:G,setValue:Y})},[G,I,Y]),E.useEffect(()=>{!D&&!k&&(c==null||c()),(D||k)&&(l==null||l())},[D,k,l,c]),E.useEffect(()=>{i({value:e},{initial:!0})},[e,i]);const U=E.useCallback(V=>{if(!V)i({value:void 0}),a("");else if(o==="single"){const tA=V,uA=Ae.format(tA,B);i({value:uA}),a(uA)}else{const tA=V,uA={from:tA.from?Ae.format(tA.from,B):"",to:tA.to?Ae.format(tA.to,B):""};i({value:uA}),a(uA)}o==="single"&&_(!1)},[a,i,o,B]);return g.jsxs(nt.Root,{open:b,onOpenChange:_,modal:!1,children:[g.jsx(nt.Trigger,{asChild:!0,children:g.jsx("button",{ref:M,disabled:!r,id:A,className:cA(Wo.datePicker,{[Wo.disabled]:!r,[Wo.error]:s==="error",[Wo.warning]:s==="warning",[Wo.valid]:s==="valid"}),onFocus:J,onBlur:z,children:o==="single"&&F?g.jsx(g.Fragment,{children:Ae.format(F,B)}):o==="range"&&typeof F=="object"&&F.from?F.to?g.jsxs(g.Fragment,{children:[Ae.format(F.from,B)," - ",Ae.format(F.to,B)]}):g.jsx(g.Fragment,{children:Ae.format(F.from,B)}):n?g.jsx("span",{className:Wo.placeholder,children:n}):g.jsx("span",{children:" "})})}),g.jsx(nt.Portal,{container:q,children:g.jsx(nt.Content,{align:"start",className:Wo.datePickerMenu,onFocus:T,onBlur:S,onInteractOutside:S,children:g.jsx(s4.DayPicker,{fixedWeeks:!0,fromDate:v,toDate:y,disabled:P,weekStartsOn:p,showWeekNumber:Q,showOutsideDays:!0,classNames:Wo,mode:o==="single"?"single":"range",selected:F,onSelect:U,initialFocus:!0,numberOfMonths:o==="range"?2:1})})})]})},mc={themeVars:`'{"gap-Form": "var(--xmlui-gap-Form)", "gap-buttonRow-Form": "var(--xmlui-gap-buttonRow-Form)"}'`,wrapper:"_wrapper_wscb6_13",buttonRow:"_buttonRow_wscb6_19"},cr={themeVars:`'{"color-bg-ValidationDisplay-error": "var(--xmlui-color-bg-ValidationDisplay-error)", "color-accent-ValidationDisplay-error": "var(--xmlui-color-accent-ValidationDisplay-error)", "color-text-ValidationDisplay-error": "var(--xmlui-color-text-ValidationDisplay-error)", "color-bg-ValidationDisplay-warning": "var(--xmlui-color-bg-ValidationDisplay-warning)", "color-accent-ValidationDisplay-warning": "var(--xmlui-color-accent-ValidationDisplay-warning)", "color-text-ValidationDisplay-warning": "var(--xmlui-color-text-ValidationDisplay-warning)", "color-bg-ValidationDisplay-info": "var(--xmlui-color-bg-ValidationDisplay-info)", "color-accent-ValidationDisplay-info": "var(--xmlui-color-accent-ValidationDisplay-info)", "color-text-ValidationDisplay-info": "var(--xmlui-color-text-ValidationDisplay-info)", "color-bg-ValidationDisplay-valid": "var(--xmlui-color-bg-ValidationDisplay-valid)", "color-accent-ValidationDisplay-valid": "var(--xmlui-color-accent-ValidationDisplay-valid)", "color-text-ValidationDisplay-valid": "var(--xmlui-color-text-ValidationDisplay-valid)"}'`,summaryContainer:"_summaryContainer_16h88_13",validationContainer:"_validationContainer_16h88_22",noMarker:"_noMarker_16h88_47",error:"_error_16h88_52",heading:"_heading_16h88_58",warning:"_warning_16h88_62",info:"_info_16h88_72",valid:"_valid_16h88_22"};function N0({fieldValidationResults:A=GA,generalValidationResults:e=Be}){const[t]=wc({duration:100}),o=E.useMemo(()=>{const r={};return Object.entries(A).forEach(([n,i])=>{i.validations.forEach(s=>{s.isValid||(r[s.severity]=r[s.severity]||[],r[s.severity].push({field:n,message:s.invalidMessage||""}))})}),e.forEach(n=>{r[n.severity]=r[n.severity]||[],r[n.severity].push({message:n.invalidMessage||""})}),r},[A,e]);return g.jsxs("div",{ref:t,className:cr.summaryContainer,children:[g.jsx(_0,{issues:o.warning,severity:"warning",heading:"Validation warnings"}),g.jsx(_0,{issues:o.error,severity:"error",heading:"Validation errors"})]})}const _0=({heading:A,issues:e=Be,severity:t="error",onClose:o})=>{const[r]=wc({duration:100});return e.length===0?null:g.jsxs("div",{className:cA(cr.validationContainer,{[cr.valid]:t==="valid",[cr.info]:t==="info",[cr.warning]:t==="warning",[cr.error]:t==="error"}),style:{paddingTop:o?void 0:"0.5rem"},children:[g.jsxs(gt,{orientation:"horizontal",verticalAlignment:"center",layout:{gap:"0.5rem"},children:[g.jsx(kA,{className:cr.heading,name:t,size:"md"}),g.jsx("div",{className:cr.heading,children:g.jsx(qe,{children:A})}),!!o&&g.jsxs(g.Fragment,{children:[g.jsx(wu,{}),g.jsx(Ce,{onClick:o,variant:"ghost",themeColor:"secondary",icon:g.jsx(kA,{name:"close",size:"sm"}),orientation:"vertical"})]})]}),g.jsx("ul",{ref:r,children:e.map((n,i)=>g.jsx(U9,{issue:n},i))})]})},U9=({issue:A})=>{const{field:e,message:t}=A;return g.jsx("li",{children:g.jsxs("span",{style:{display:"inline-flex",gap:e?"0.25rem":void 0},children:[e&&g.jsx(qe,{variant:"small",fontWeight:"bold",children:`${e}:`}),g.jsx(qe,{variant:"small",preserveLinebreaks:!0,children:t})]})})},F0=(A,e,t)=>{const o=e.split(".");for(let r=0;r<o.length;r++){const n=o[r];typeof o[r+1]<"u"?A[n]=A[n]?A[n]:{}:A[n]=t,A=A[n]}},xc=(A,e)=>{const t=e.split(".");let o=A;for(let r=0;r<t.length;r++)o=o==null?void 0:o[t[r]];return o},R9=ue((A,e)=>{var o,r,n,i;const{uid:t}=e.payload;switch(t!==void 0&&!A.interactionFlags[t]&&(A.interactionFlags[t]={isDirty:!1,invalidToValid:!1,isValidOnFocus:!1,isValidLostFocus:!1,focused:!1,forceShowValidationResult:!1}),e.type){case Gt.FIELD_INITIALIZED:{A.interactionFlags[t].isDirty||F0(A.subject,t,e.payload.value);break}case Gt.FIELD_REMOVED:{delete A.validationResults[t];break}case Gt.FIELD_VALUE_CHANGED:{F0(A.subject,t,e.payload.value),A.interactionFlags[t].isDirty=!0,A.interactionFlags[t].forceShowValidationResult=!1;break}case Gt.FIELD_VALIDATED:{if(e.payload.validationResult.validations.length===0){delete A.validationResults[t];break}const s=(o=A.validationResults[t])==null?void 0:o.isValid;if(e.payload.validationResult.partial){const a=[...e.payload.validationResult.validations,...(((r=A.validationResults[t])==null?void 0:r.validations.filter(l=>l.async))||[]).map(l=>({...l,stale:!0}))];A.validationResults[t]={...e.payload.validationResult,isValid:a.find(l=>!l.isValid)===void 0,validations:a}}else A.validationResults[t]=e.payload.validationResult;A.interactionFlags[t].invalidToValid=!s&&A.validationResults[t].isValid;break}case Gt.FIELD_FOCUSED:{A.interactionFlags[t].isValidOnFocus=!!((n=A.validationResults[t])!=null&&n.isValid),A.interactionFlags[t].focused=!0;break}case Gt.FIELD_LOST_FOCUS:{A.interactionFlags[t].isValidLostFocus=!!((i=A.validationResults[t])!=null&&i.isValid),A.interactionFlags[t].focused=!1;break}case Gt.TRIED_TO_SUBMIT:{Object.keys(A.interactionFlags).forEach(s=>{A.interactionFlags[s].forceShowValidationResult=!0});break}case Gt.SUBMITTING:{A.submitInProgress=!0;break}case Gt.SUBMITTED:{A.submitInProgress=!1,A.generalValidationResults=[],A.interactionFlags={},Object.keys(A.validationResults).forEach(s=>{var a;A.validationResults[s].validations=(a=A.validationResults[s].validations)==null?void 0:a.filter(l=>!l.fromBackend),A.validationResults[s].isValid=A.validationResults[s].validations.find(l=>!l.isValid)===void 0});break}case Gt.BACKEND_VALIDATION_ARRIVED:{A.submitInProgress=!1,A.generalValidationResults=e.payload.generalValidationResults,Object.keys(A.validationResults).forEach(s=>{var a;A.validationResults[s].validations=(a=A.validationResults[s].validations)==null?void 0:a.filter(l=>!l.fromBackend)}),Object.entries(e.payload.fieldValidationResults).forEach(([s,a])=>{var l;A.validationResults[s].validations=[...((l=A.validationResults[s])==null?void 0:l.validations)||[],...a||[]],A.validationResults[s].isValid=A.validationResults[s].validations.find(c=>!c.isValid)===void 0});break}case Gt.RESET:{const{originalSubject:s}=e.payload;return{...L0,subject:s}}}}),L0={subject:{},validationResults:{},generalValidationResults:[],interactionFlags:{},submitInProgress:!1},S0=E.forwardRef(function({formState:A,dispatch:e,initialValue:t=GA,children:o,style:r,enabled:n=!0,cancelLabel:i="Cancel",saveLabel:s="Save",saveInProgressLabel:a="Saving...",swapCancelAndSave:l,onSubmit:c,onCancel:B,onReset:Q,buttonRow:u,id:d,registerComponentApi:C,itemLabelBreak:h=!0,itemLabelWidth:I,itemLabelPosition:p="top",keepModalOpenOnSubmit:D=!1},m){const k=E.useRef(null);E.useImperativeHandle(m,()=>k.current);const[N,L]=E.useState(!1),M=q2(),F=n&&!A.submitInProgress,v=E.useMemo(()=>({itemLabelBreak:h,itemLabelWidth:I,itemLabelPosition:p,subject:A.subject,originalSubject:t,validationResults:A.validationResults,interactionFlags:A.interactionFlags,dispatch:e,enabled:F}),[e,A.interactionFlags,A.subject,A.validationResults,t,F,h,p,I]),y=HA(()=>{B==null||B(),M()}),P=HA(async J=>{var G;if(J==null||J.preventDefault(),!F)return;L(!1),e(t9());const{error:z,warning:T}=c9(Object.values(A.validationResults));if(z.length)return;if(T.length&&!N){L(!0);return}const S=document.activeElement;e(o9());try{await(c==null?void 0:c(A.subject,{passAsDefaultBody:!0})),e(r9()),D||M(),t===GA&&Po.flushSync(()=>{b()}),S&&typeof S.focus=="function"&&S.focus()}catch(Y){const U=[],V={};Y instanceof Error&&"errorCategory"in Y&&Y.errorCategory==="GenericBackendError"&&((G=Y.details)!=null&&G.issues)&&Array.isArray(Y.details.issues)?Y.details.issues.forEach(tA=>{const uA={isValid:!1,invalidMessage:tA.message,severity:tA.severity||"error",fromBackend:!0};tA.field!==void 0?(V[tA.field]=V[tA.field]||[],V[tA.field].push(uA)):U.push(uA)}):U.push({isValid:!1,invalidMessage:Y.message||"Couldn't save the form.",severity:"error",fromBackend:!0}),e(i9({generalValidationResults:U,fieldValidationResults:V}))}}),b=HA(()=>{e(n9(t)),Q==null||Q()}),_=i===""?null:g.jsx(Ce,{type:"button",themeColor:"secondary",variant:"ghost",onClick:y,children:i},"cancel"),q=E.useMemo(()=>g.jsx(Ce,{type:"submit",disabled:!F,children:A.submitInProgress?a:s},"submit"),[F,A.submitInProgress,a,s]);return E.useEffect(()=>{C==null||C({reset:b})},[b,C]),g.jsxs(g.Fragment,{children:[g.jsxs("form",{style:r,className:mc.wrapper,onSubmit:P,onReset:b,id:d,ref:k,children:[g.jsx(N0,{generalValidationResults:A.generalValidationResults}),g.jsx(e0.Provider,{value:v,children:o}),u||g.jsxs("div",{className:mc.buttonRow,children:[l&&[q,_],!l&&[_,q]]})]}),N&&g.jsx(Qn,{onClose:()=>L(!1),isInitiallyOpen:!0,title:"Are you sure want to move forward?",children:g.jsxs(gt,{orientation:"vertical",layout:{gap:"0.5rem"},children:[g.jsx(qe,{children:"The following warnings were found during validation. Please make sure you are willing to move forward despite these issues."}),g.jsx(N0,{generalValidationResults:A.generalValidationResults,fieldValidationResults:A.validationResults}),g.jsxs(gt,{orientation:"horizontal",horizontalAlignment:"end",layout:{gap:"1em"},children:[g.jsx(Ce,{variant:"ghost",themeColor:"secondary",onClick:()=>L(!1),children:"No"}),g.jsx(Ce,{onClick:()=>P(),autoFocus:!0,children:"Yes, proceed"})]})]})})]})});S0.displayName="Form";function Y9({node:A,renderChild:e,extractValue:t,layoutCss:o,lookupEventHandler:r,registerComponentApi:n}){const[i,s]=E.useReducer(R9,L0),a=E.useMemo(()=>({type:"Fragment",vars:{$data:i.subject},children:A.children}),[i.subject,A.children]),l=t(A.props.data),c=t.asOptionalString(A.props.submitMethod)||(l?"put":"post"),B=t.asOptionalString(A.props.submitUrl)||t.asOptionalString(A.props._data_url);return g.jsx(S0,{keepModalOpenOnSubmit:t.asOptionalBoolean(A.props.keepModalOpenOnSubmit),itemLabelPosition:t.asOptionalString(A.props.itemLabelPosition),itemLabelBreak:t.asOptionalBoolean(A.props.itemLabelBreak),itemLabelWidth:t.asOptionalString(A.props.itemLabelWidth),formState:i,dispatch:s,id:A.uid,style:o,cancelLabel:t(A.props.cancelLabel),saveLabel:t(A.props.saveLabel),saveInProgressLabel:t(A.props.saveInProgressLabel),swapCancelAndSave:t.asOptionalBoolean(A.props.swapCancelAndSave,!1),onSubmit:r("submit",{defaultHandler:B?`(eventArgs)=> Actions.callApi({ url: "${B}", method: "${c}", body: eventArgs })`:void 0}),onCancel:r("cancel"),onReset:r("reset"),initialValue:l,buttonRow:e(A.props.buttonRowTemplate),registerComponentApi:n,enabled:t.asOptionalBoolean(A.props.enabled,!0)&&!t.asOptionalBoolean(A.props.loading,!1),children:e(a)})}const tt={themeVars:`'{"Input:radius-AutoComplete-default": "var(--xmlui-radius-AutoComplete-default)", "Input:color-border-AutoComplete-default": "var(--xmlui-color-border-AutoComplete-default)", "Input:thickness-border-AutoComplete-default": "var(--xmlui-thickness-border-AutoComplete-default)", "Input:style-border-AutoComplete-default": "var(--xmlui-style-border-AutoComplete-default)", "Input:font-size-AutoComplete-default": "var(--xmlui-font-size-AutoComplete-default)", "Input:color-bg-AutoComplete-default": "var(--xmlui-color-bg-AutoComplete-default)", "Input:shadow-AutoComplete-default": "var(--xmlui-shadow-AutoComplete-default)", "Input:color-text-AutoComplete-default": "var(--xmlui-color-text-AutoComplete-default)", "Input:color-border-AutoComplete-default--hover": "var(--xmlui-color-border-AutoComplete-default--hover)", "Input:color-bg-AutoComplete-default--hover": "var(--xmlui-color-bg-AutoComplete-default--hover)", "Input:shadow-AutoComplete-default--hover": "var(--xmlui-shadow-AutoComplete-default--hover)", "Input:color-text-AutoComplete-default--hover": "var(--xmlui-color-text-AutoComplete-default--hover)", "Input:color-placeholder-AutoComplete-default": "var(--xmlui-color-placeholder-AutoComplete-default)", "Input:radius-AutoComplete-error": "var(--xmlui-radius-AutoComplete-error)", "Input:color-border-AutoComplete-error": "var(--xmlui-color-border-AutoComplete-error)", "Input:thickness-border-AutoComplete-error": "var(--xmlui-thickness-border-AutoComplete-error)", "Input:style-border-AutoComplete-error": "var(--xmlui-style-border-AutoComplete-error)", "Input:font-size-AutoComplete-error": "var(--xmlui-font-size-AutoComplete-error)", "Input:color-bg-AutoComplete-error": "var(--xmlui-color-bg-AutoComplete-error)", "Input:shadow-AutoComplete-error": "var(--xmlui-shadow-AutoComplete-error)", "Input:color-text-AutoComplete-error": "var(--xmlui-color-text-AutoComplete-error)", "Input:color-border-AutoComplete-error--hover": "var(--xmlui-color-border-AutoComplete-error--hover)", "Input:color-bg-AutoComplete-error--hover": "var(--xmlui-color-bg-AutoComplete-error--hover)", "Input:shadow-AutoComplete-error--hover": "var(--xmlui-shadow-AutoComplete-error--hover)", "Input:color-text-AutoComplete-error--hover": "var(--xmlui-color-text-AutoComplete-error--hover)", "Input:color-placeholder-AutoComplete-error": "var(--xmlui-color-placeholder-AutoComplete-error)", "Input:radius-AutoComplete-warning": "var(--xmlui-radius-AutoComplete-warning)", "Input:color-border-AutoComplete-warning": "var(--xmlui-color-border-AutoComplete-warning)", "Input:thickness-border-AutoComplete-warning": "var(--xmlui-thickness-border-AutoComplete-warning)", "Input:style-border-AutoComplete-warning": "var(--xmlui-style-border-AutoComplete-warning)", "Input:font-size-AutoComplete-warning": "var(--xmlui-font-size-AutoComplete-warning)", "Input:color-bg-AutoComplete-warning": "var(--xmlui-color-bg-AutoComplete-warning)", "Input:shadow-AutoComplete-warning": "var(--xmlui-shadow-AutoComplete-warning)", "Input:color-text-AutoComplete-warning": "var(--xmlui-color-text-AutoComplete-warning)", "Input:color-border-AutoComplete-warning--hover": "var(--xmlui-color-border-AutoComplete-warning--hover)", "Input:color-bg-AutoComplete-warning--hover": "var(--xmlui-color-bg-AutoComplete-warning--hover)", "Input:shadow-AutoComplete-warning--hover": "var(--xmlui-shadow-AutoComplete-warning--hover)", "Input:color-text-AutoComplete-warning--hover": "var(--xmlui-color-text-AutoComplete-warning--hover)", "Input:color-placeholder-AutoComplete-warning": "var(--xmlui-color-placeholder-AutoComplete-warning)", "Input:radius-AutoComplete-success": "var(--xmlui-radius-AutoComplete-success)", "Input:color-border-AutoComplete-success": "var(--xmlui-color-border-AutoComplete-success)", "Input:thickness-border-AutoComplete-success": "var(--xmlui-thickness-border-AutoComplete-success)", "Input:style-border-AutoComplete-success": "var(--xmlui-style-border-AutoComplete-success)", "Input:font-size-AutoComplete-success": "var(--xmlui-font-size-AutoComplete-success)", "Input:color-bg-AutoComplete-success": "var(--xmlui-color-bg-AutoComplete-success)", "Input:shadow-AutoComplete-success": "var(--xmlui-shadow-AutoComplete-success)", "Input:color-text-AutoComplete-success": "var(--xmlui-color-text-AutoComplete-success)", "Input:color-border-AutoComplete-success--hover": "var(--xmlui-color-border-AutoComplete-success--hover)", "Input:color-bg-AutoComplete-success--hover": "var(--xmlui-color-bg-AutoComplete-success--hover)", "Input:shadow-AutoComplete-success--hover": "var(--xmlui-shadow-AutoComplete-success--hover)", "Input:color-text-AutoComplete-success--hover": "var(--xmlui-color-text-AutoComplete-success--hover)", "Input:color-placeholder-AutoComplete-success": "var(--xmlui-color-placeholder-AutoComplete-success)", "Input:color-bg-AutoComplete--disabled": "var(--xmlui-color-bg-AutoComplete--disabled)", "Input:color-text-AutoComplete--disabled": "var(--xmlui-color-text-AutoComplete--disabled)", "Input:color-border-AutoComplete--disabled": "var(--xmlui-color-border-AutoComplete--disabled)", "Input:thickness-outline-AutoComplete--focus": "var(--xmlui-thickness-outline-AutoComplete--focus)", "Input:color-outline-AutoComplete--focus": "var(--xmlui-color-outline-AutoComplete--focus)", "Input:style-outline-AutoComplete--focus": "var(--xmlui-style-outline-AutoComplete--focus)", "Input:offset-outline-AutoComplete--focus": "var(--xmlui-offset-outline-AutoComplete--focus)", "padding-vertical-AutoComplete-badge": "var(--xmlui-padding-vertical-AutoComplete-badge)", "padding-horizontal-AutoComplete-badge": "var(--xmlui-padding-horizontal-AutoComplete-badge)", "Input:font-size-AutoComplete-badge": "var(--xmlui-font-size-AutoComplete-badge)", "Input:color-bg-AutoComplete-badge": "var(--xmlui-color-bg-AutoComplete-badge)", "Input:color-text-AutoComplete-badge": "var(--xmlui-color-text-AutoComplete-badge)", "Input:color-bg-AutoComplete-badge--hover": "var(--xmlui-color-bg-AutoComplete-badge--hover)", "Input:color-text-AutoComplete-badge--hover": "var(--xmlui-color-text-AutoComplete-badge--hover)", "Input:color-bg-AutoComplete-badge--active": "var(--xmlui-color-bg-AutoComplete-badge--active)", "Input:color-text-AutoComplete-badge--active": "var(--xmlui-color-text-AutoComplete-badge--active)", "Input:color-placeholder-AutoComplete": "var(--xmlui-color-placeholder-AutoComplete)", "Input:color-bg-menu-AutoComplete": "var(--xmlui-color-bg-menu-AutoComplete)", "Input:radius-menu-AutoComplete": "var(--xmlui-radius-menu-AutoComplete)", "Input:shadow-menu-AutoComplete": "var(--xmlui-shadow-menu-AutoComplete)", "color-bg-item-AutoComplete": "var(--xmlui-color-bg-item-AutoComplete)", "color-bg-item-AutoComplete--hover": "var(--xmlui-color-bg-item-AutoComplete--hover)", "color-text-item-AutoComplete--disabled": "var(--xmlui-color-text-item-AutoComplete--disabled)"}'`,command:"_command_4q1ko_13",badgeListWrapper:"_badgeListWrapper_4q1ko_20",error:"_error_4q1ko_43",warning:"_warning_4q1ko_62",valid:"_valid_4q1ko_81",disabled:"_disabled_4q1ko_100",focused:"_focused_4q1ko_107",badgeList:"_badgeList_4q1ko_20",badge:"_badge_4q1ko_20",commandInput:"_commandInput_4q1ko_149",actions:"_actions_4q1ko_162",autoCompleteEmpty:"_autoCompleteEmpty_4q1ko_168",commandList:"_commandList_4q1ko_178","fade-in":"_fade-in_4q1ko_1",autoCompleteOption:"_autoCompleteOption_4q1ko_191"},P0=E.createContext({value:null,onChange:A=>{},optionRenderer:A=>g.jsx("div",{children:A.label}),inputValue:"",options:new Set});function T0(){return E.useContext(P0)}function K9(A){return g.jsx("div",{children:A.label})}function O9(A,e){return e.some(t=>Array.from(A).some(o=>o.value===t.value||o.label===t.label))}function G0({id:A,initialValue:e,value:t,enabled:o=!0,placeholder:r,updateState:n=vA,validationStatus:i="none",onDidChange:s=vA,onFocus:a=vA,onBlur:l=vA,registerComponentApi:c,optionRenderer:B=K9,emptyListTemplate:Q,layout:u,children:d,autoFocus:C=!1,dropdownHeight:h,multi:I=!1}){const p=E.useRef(null),[D,m]=E.useState(!1),k=E.useRef(null),[N,L]=E.useState(new Set),[M,F]=E.useState("");E.useEffect(()=>{e!==void 0&&n({value:e||[]},{initial:!0})},[e,n]);const v=E.useCallback(G=>{if(I?F(""):m(!0),G==="")return;const Y=I?Array.isArray(t)?t.includes(G)?t.filter(U=>U!==G):[...t,G]:[G]:G===t?null:G;n({value:Y}),s(Y)},[I,t,n,s]);E.useEffect(()=>{var G;I||F(((G=Array.from(N).find(Y=>Y.value===t))==null?void 0:G.labelText)||"")},[I,N,t]);const y=E.useCallback(()=>{const G=I?[]:"";F(""),n({value:G}),s(G)},[I,n,s]),P=E.useCallback(G=>{L(Y=>new Set(Y).add(G))},[]),b=E.useCallback(G=>{L(Y=>{const U=new Set(Y);return U.delete(G),U})},[]),_=G=>{k.current&&!k.current.contains(G.target)&&p.current&&!p.current.contains(G.target)&&(m(!1),p.current.blur())};E.useEffect(()=>(D?(document.addEventListener("mousedown",_),document.addEventListener("touchend",_)):(document.removeEventListener("mousedown",_),document.removeEventListener("touchend",_)),()=>{document.removeEventListener("mousedown",_),document.removeEventListener("touchend",_)}),[D]);const q=E.useMemo(()=>Q??g.jsxs("div",{className:tt.autoCompleteEmpty,children:[g.jsx(kA,{name:"noresult"}),g.jsx("span",{children:"List is empty"})]}),[Q]),J=E.useCallback(()=>{var G;(G=p==null?void 0:p.current)==null||G.focus()},[p]),z=HA(G=>{n({value:Array.isArray(G)?G:[G]})});E.useEffect(()=>{c==null||c({focus:J,setValue:z})},[J,c,z]);const T=E.useMemo(()=>({onOptionAdd:P,onOptionRemove:b}),[P,b]),S=E.useMemo(()=>({multi:I,value:t,onChange:v,optionRenderer:B,options:N,inputValue:M}),[M,I,B,N,v,t]);return g.jsx(P0.Provider,{value:S,children:g.jsx(Ta,{Component:w0,children:g.jsxs(Bc.Provider,{value:T,children:[d,g.jsxs(pt.Command,{ref:k,className:tt.command,filter:(G,Y,U)=>(G+" "+U.join(" ")).toLowerCase().includes(Y.toLowerCase())?1:0,children:[g.jsxs("div",{onClick:()=>{var G;o&&((G=p==null?void 0:p.current)==null||G.focus())},style:u,className:Ge(tt.badgeListWrapper,tt[i],{[tt.disabled]:!o,[tt.focused]:document.activeElement===p.current}),children:[I?g.jsxs("div",{className:tt.badgeList,children:[Array.isArray(t)&&t.map(G=>{var Y;return g.jsxs("span",{className:tt.badge,children:[(Y=Array.from(N).find(U=>U.value===G))==null?void 0:Y.label,g.jsx(kA,{name:"close",size:"sm",onClick:U=>{U.stopPropagation(),v(G)}})]},G)}),g.jsx(pt.CommandInput,{id:A,autoFocus:C,ref:p,value:M,disabled:!o,onValueChange:G=>{m(!0),F(G)},onFocus:G=>{m(!0),a()},onBlur:G=>{m(!1),l()},placeholder:r,className:tt.commandInput})]}):g.jsx(pt.CommandInput,{id:A,autoFocus:C,ref:p,value:M,disabled:!o,onValueChange:G=>{m(!0),F(G)},onFocus:G=>{m(!0),a()},onBlur:G=>{m(!1),l()},placeholder:r,className:tt.commandInput}),g.jsxs("div",{className:tt.actions,children:[(t==null?void 0:t.length)>0&&o&&g.jsx("button",{onClick:G=>{G.stopPropagation(),y()},children:g.jsx(kA,{name:"close"})}),g.jsx("button",{onClick:()=>m(!0),children:g.jsx(kA,{name:"chevrondown"})})]})]}),g.jsx("div",{style:{position:"relative"},children:D&&g.jsxs(pt.CommandList,{className:tt.commandList,onMouseUp:()=>{var G;(G=p==null?void 0:p.current)==null||G.focus()},style:{height:h},children:[g.jsx(pt.CommandEmpty,{children:q}),g.jsx(J9,{}),g.jsx(pt.CommandGroup,{children:Array.from(N).map(({value:G,label:Y,enabled:U,keywords:V,labelText:tA})=>g.jsx(q9,{value:G,label:Y,enabled:U,keywords:V,labelText:tA},G))})]})})]})]})})})}function J9(){const{value:A,options:e,inputValue:t,onChange:o}=T0(),{onOptionAdd:r}=Qc();if(O9(e,[{value:t,label:t}])||Array.isArray(A)&&(A!=null&&A.find(i=>i===t))||t===A)return g.jsx("span",{style:{display:"none"}});const n=g.jsx(pt.CommandItem,{value:t,className:tt.autoCompleteOption,onMouseDown:i=>{i.preventDefault(),i.stopPropagation()},onSelect:i=>{r({value:i,label:i,enabled:!0,labelText:i}),o(i)},children:`Create "${t}"`});return t.length>0?n:g.jsx("span",{style:{display:"none"}})}function q9({value:A,label:e,enabled:t=!0,keywords:o}){const r=E.useId(),{value:n,onChange:i,optionRenderer:s,multi:a}=T0(),l=a?n==null?void 0:n.includes(A):n===A;return g.jsxs(pt.CommandItem,{id:r,disabled:!t,value:`${A}`,className:tt.autoCompleteOption,onMouseDown:c=>{c.preventDefault(),c.stopPropagation()},onSelect:()=>{i(A)},"data-state":l?"checked":void 0,keywords:o,children:[s({label:e,value:A}),l&&g.jsx(kA,{name:"checkmark"})]},r)}const z9={checkbox:"end"},W9=E.memo(function({style:e,bindTo:t,type:o="text",label:r,enabled:n=!0,labelPosition:i,labelWidth:s,labelBreak:a=!0,children:l,validations:c,onValidate:B,customValidationsDebounce:Q,validationMode:u,registerComponentApi:d,maxTextLength:C,...h}){const I=Tt(T=>s||T.itemLabelWidth),p=Tt(T=>a!==void 0?a:T.itemLabelBreak),D=Tt(T=>i||T.itemLabelPosition||z9[o]),m=Tt(T=>xc(T.originalSubject,t)),k=m===void 0?h.initialValue:m,N=Tt(T=>xc(T.subject,t)),L=Tt(T=>T.validationResults[t]),M=Tt(T=>T.dispatch),F=Tt(T=>T.enabled),v=n&&F;E.useEffect(()=>{M(Xf(t,k))},[t,M,k]),l9(c,B,N,M,t,Q);const y=E.useCallback(({value:T},S)=>{S!=null&&S.initial||M(t0(t,T))},[t,M]);E.useEffect(()=>()=>{M(e9(t))},[t,M]);const{validationStatus:P,isHelperTextShown:b}=g9(t,N,L,u);let _=null;switch(o){case"select":{_=g.jsx(p0,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,children:l});break}case"autocomplete":{_=g.jsx(G0,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,children:l});break}case"datePicker":{_=g.jsx(M0,{...h,value:N,updateState:y,enabled:v,validationStatus:P});break}case"radioGroup":{_=g.jsx(uc,{...h,value:N,updateState:y,enabled:v,validationStatus:P,children:l});break}case"number":case"integer":{_=g.jsx(B0,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,integersOnly:o==="integer",validationStatus:P,min:c.minValue,max:c.maxValue,maxLength:C??(c==null?void 0:c.maxLength)});break}case"switch":case"checkbox":{_=g.jsx(mi,{...h,value:N,updateState:y,enabled:v,validationStatus:P,variant:o});break}case"file":{_=g.jsx(c0,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,multiple:w1(h.multiple,!1)});break}case"text":{_=g.jsx(Fa,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,maxLength:C??(c==null?void 0:c.maxLength)});break}case"password":{_=g.jsx(Fa,{...h,type:"password",value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,maxLength:C??(c==null?void 0:c.maxLength)});break}case"textarea":{_=g.jsx(mu,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,maxLength:C??(c==null?void 0:c.maxLength)});break}case"custom":{_=l;break}default:{console.warn(`unknown form item type ${o}`),_=g.jsx("div",{children:N});break}}const q=HA(()=>{M(Zf(t))}),J=HA(()=>{M(A9(t))}),[z]=wc({duration:100});return g.jsx(ho,{labelPosition:D,label:r,labelWidth:I,labelBreak:p,enabled:v,required:c.required,validationInProgress:L==null?void 0:L.partial,onFocus:q,onBlur:J,style:e,validationResult:g.jsx("div",{ref:z,children:b&&(L==null?void 0:L.validations.map((T,S)=>g.jsxs(E.Fragment,{children:[T.isValid&&!!T.validMessage&&g.jsx(m0,{text:T.validMessage,status:"valid",style:{opacity:T.stale?.5:void 0}}),!T.isValid&&!!T.invalidMessage&&g.jsx(m0,{text:T.invalidMessage,status:T.severity,style:{opacity:T.stale?.5:void 0}})]},S)))}),children:_})});function $9({renderChild:A,node:e,bindTo:t}){const o=Tt(s=>xc(s.subject,t)),r=Tt(s=>s.validationResults[t]),n=Tt(s=>s.dispatch),i=E.useMemo(()=>({type:"Container",uid:"formFieldContainer - "+t,vars:e.vars,contextVars:{$value:o,$setValue:s=>{n(t0(t,s))},$validationResult:r},children:e.children}),[t,n,e.children,e.vars,r,o]);return g.jsx(g.Fragment,{children:A(i)})}const Kr="FormItem",j9=Z({status:"experimental",description:`A \`${Kr}\` component represents a single input element within a \`Form\`. The value within the \`${Kr}\` may be associated with a particular property within the encapsulating \`Form\` component's data.`,props:{bindTo:f("This property binds a particular input field to one of the attributes of the `Form` data. It names the property of the form's `data` data to get the input's initial value.When the field is saved, its value will be stored in the `data` property with this name."),autoFocus:Dt(),label:Je(),labelPosition:Ho(),labelWidth:f("This property sets the width of the item label."),labelBreak:f("This boolean value indicates if the label can be split into multiple lines if it would overflow the available label width."),enabled:Ze(),type:f("This property is used to determine the specific input control the FormItem will wrap around. Note that the control names start with a lowercase letter and map to input components found in XMLUI."),customValidationsDebounce:f("This optional number prop determines the time interval between two runs of a custom validation."),validationMode:f("This property sets what kind of validation mode or strategy to employ for a particular input field."),initialValue:Zt(),required:uo(),requiredInvalidMessage:f("This optional string property is used to customize the message that is displayed if the field is not filled in."),minLength:f("Checks whether the input has a minimum length of a specified value."),maxLength:f("Checks whether the input has a maximum length of a specified value."),maxTextLength:f("The maximum length of the text in the input field"),lengthInvalidMessage:f("This optional string property is used to customize the message that is displayed on a failed length check: [minLength](#minlength) or [maxLength](#maxlength)."),lengthInvalidSeverity:f("This property sets the severity level of length validations."),minValue:f("Checks whether the input has the minimum specified value."),maxValue:f("Checks whether the input has the maximum specified value."),rangeInvalidMessage:f("This optional string property is used to customize the message that is displayed when a value is out of range."),rangeInvalidSeverity:f("This property sets the severity level of the value range validation."),pattern:f("Checks whether the input fits a predefined regular expression."),patternInvalidMessage:f("This optional string property is used to customize the message that is displayed on a failed pattern test."),patternInvalidSeverity:f("This property sets the severity level of the pattern validation."),regex:f("Checks whether the input fits the provided regular expression."),regexInvalidMessage:f("This optional string property is used to customize the message that is displayed on a failed regular expression test."),regexInvalidSeverity:f("This property sets the severity level of regular expression validation.")},events:{validate:f("This event is used to define a custom validation function.")},contextVars:{$value:f(`The context variable represents the current value of the \`${Kr}\`. It can be used in expressions and code snippets within the \`${Kr}\` instance.`),$setValue:f(`This function can be invoked to set the \`${Kr}\` instance's value. The function has a single argument, the new value to set.`),$validationResult:f(`This variable represents the result of the latest validation of the \`${Kr}\` instance.`)},themeVars:pA(Ft.themeVars),defaultThemeVars:{"color-text-FormItemLabel":"$color-text-primary","font-size-FormItemLabel":"$font-size-small","font-weight-FormItemLabel":"$font-weight-medium","font-style-FormItemLabel":"normal","transform-text-FormItemLabel":"none","color-text-FormItemLabel-requiredMark":"$color-danger-400"}}),V9=AA(Kr,j9,({node:A,renderChild:e,extractValue:t,layoutCss:o,lookupEventHandler:r,lookupAction:n,registerComponentApi:i})=>{const{bindTo:s,autoFocus:a,label:l,labelPosition:c,labelWidth:B,labelBreak:Q,enabled:u,required:d,type:C,requiredInvalidMessage:h,minLength:I,maxLength:p,lengthInvalidMessage:D,lengthInvalidSeverity:m,minValue:k,maxValue:N,rangeInvalidMessage:L,rangeInvalidSeverity:M,pattern:F,patternInvalidMessage:v,patternInvalidSeverity:y,regex:P,regexInvalidMessage:b,regexInvalidSeverity:_,customValidationsDebounce:q,validationMode:J,maxTextLength:z,...T}=A.props,S=t({required:t.asOptionalBoolean(d),requiredInvalidMessage:t.asOptionalString(h),minLength:t.asOptionalNumber(I),maxLength:t.asOptionalNumber(p),lengthInvalidMessage:t.asOptionalString(D),lengthInvalidSeverity:Na(t.asOptionalString(m)),minValue:t.asOptionalNumber(k),maxValue:t.asOptionalNumber(N),rangeInvalidMessage:t.asOptionalString(L),rangeInvalidSeverity:Na(t.asOptionalString(M)),pattern:t.asOptionalString(F),patternInvalidMessage:t.asOptionalString(v),patternInvalidSeverity:Na(t.asOptionalString(y)),regex:t.asOptionalString(P),regexInvalidMessage:t.asOptionalString(b),regexInvalidSeverity:Na(t.asOptionalString(_))}),G=o?Object.fromEntries(Object.entries(T).filter(([tA,uA])=>!(o!=null&&o.hasOwnProperty(tA)))):T,Y=t(G),U=t.asOptionalString(C),V=U===void 0&&!!A.children;return g.jsx(W9,{style:o,labelBreak:t.asOptionalBoolean(Q),labelWidth:t.asOptionalString(B),bindTo:t.asString(s),autoFocus:t.asOptionalBoolean(a),enabled:t.asOptionalBoolean(u),label:t.asOptionalString(l),labelPosition:t.asOptionalString(c),type:V?"custom":U,validations:S,onValidate:r("validate"),customValidationsDebounce:t.asOptionalNumber(q),validationMode:t.asOptionalString(J),registerComponentApi:i,maxTextLength:t(z),...Y,children:V?g.jsx($9,{renderChild:e,node:A,bindTo:t.asString(s)}):e(A.children,{type:U})})}),Br="TextBox",H0=Z({status:"experimental",description:`The \`${Br}\` is an input component that allows users to input and edit textual data.`,props:{placeholder:Fr(),initialValue:Zt(),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Br),labelBreak:sr(Br),maxLength:ui(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),startText:uu(),startIcon:Eu(),endText:du(),endIcon:Cu()},events:{gotFocus:wt(Br),lostFocus:ft(Br),didChange:lt(Br)},apis:{focus:Eo(Br),value:f("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Uo()},themeVars:pA(eo.themeVars),defaultThemeVars:{"radius-Input":"$radius","color-text-Input":"$color-text-primary","color-bg-Input--disabled":"$color-bg--disabled","thickness-border-Input":"1px","min-height-Input":"39px","padding-Input":"$space-2","style-border-Input":"solid","color-border-Input--disabled":"$color-border--disabled","color-text-Input--disabled":"$color-text--disabled","color-border-Input-error":"$color-border-Input-default--error","color-border-Input-warning":"$color-border-Input-default--warning","color-border-Input-success":"$color-border-Input-default--success","color-placeholder-Input":"$color-text-subtitle","color-adornment-Input":"$color-text-subtitle","color-outline-Input--focus":"$color-outline--focus","thickness-outline-Input--focus":"$thickness-outline--focus","style-outline-Input--focus":"$style-outline--focus","offset-outline-Input--focus":"$offset-outline--focus",light:{},dark:{}}});function U0(A,e,t,o,r,n,i,s="text"){return g.jsx(Fa,{type:s,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:i,startText:o.asOptionalString(r.props.startText),startIcon:o.asOptionalString(r.props.startIcon),endText:o.asOptionalString(r.props.endText),endIcon:o.asOptionalString(r.props.endIcon),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 X9=AA(Br,H0,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:i})=>U0(n,e,t,r,A,o,i)),Z9=Z({...H0,description:"The `Password` component is a specialized version of the `TextBox` component that allows users to input and edit passwords."}),AD=AA("PasswordInput",Z9,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:i})=>U0(n,e,t,r,A,o,i,"password"));function R0(A){return"data"in A}async function eD(A){let e;if(R0(A))e=A.data;else try{e=await A.clone().json()}catch{try{e=await A.clone().text()}catch{console.error("Failed to parse response as text or JSON",A.body)}}return e}function vc({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=>{vc({key:A,value:r},t,o)}):QA.isPlainObject(e)?Object.entries(e).forEach(([r,n])=>{const i=`${o}.${r}`;vc({key:i,value:n},t,i)}):t.append(A,e.toString())}}class Mi{constructor(e){var n;this.execute=async({abortSignal:i,operation:s,params:a,parseOptions:l,resolveBindingExpressions:c=!1,transactionId:B=Qg(),onProgress:Q})=>await this.executeOperation({operation:s,abortSignal:i,contextParams:a,resolveBindingExpressions:c,parseResponse:l!=null&&l.asFile?async u=>{var C;let d=s.fileName||"unknown";if(u.headers&&u.headers.get&&typeof u.headers.get=="function"){const h=(C=u.headers.get("Content-Disposition"))==null?void 0:C.toString();if(h){const I=h.match(/filename="(.+)"/);I&&I.length===2&&(d=I[1])}}return R0(u)?u.data:new File([await u.clone().blob()],d)}:void 0,transactionId:B,onUploadProgress:Q}),this.upload=async({operation:i,params:s={},chunk:a,onUploadProgress:l,abortSignal:c,transactionId:B=Qg(),resolveBindingExpressions:Q=!1})=>{const{file:u,asForm:d,formParams:C}=this.extractParam(Q,i,s),h={chunkStart:a==null?void 0:a.chunkStart,chunkEnd:a?(a==null?void 0:a.chunkEnd)-1:void 0,chunkLength:a?(a==null?void 0:a.chunkEnd)-(a==null?void 0:a.chunkStart):void 0,fileSize:u.size,urlSafeName:encodeURIComponent(u.name),fileName:u.name},I={...s,$uploadParams:h};if(d){const p=new FormData;return p.append(u.name,(a==null?void 0:a.blob)||u),C&&Object.entries(this.extractParam(Q,C,s)).forEach(([D,m])=>{p.append(D,m)}),await this.executeOperation({operation:i,contextParams:I,resolveBindingExpressions:Q,rawBody:p,headers:{...this.extractParam(Q,i.headers||{},I),"Content-Type":void 0},onUploadProgress:l,abortSignal:c,transactionId:B})}return new Promise((p,D)=>{const m=new FileReader;m.readAsArrayBuffer((a==null?void 0:a.blob)||u),m.onload=async k=>{try{if(k.target===null){D();return}p(await this.executeOperation({operation:i,contextParams:I,resolveBindingExpressions:Q,rawBody:k.target.result,headers:{...this.extractParam(Q,i.headers||{},I),"Content-Type":u.type},onUploadProgress:l,abortSignal:c,transactionId:B}))}catch(N){D(N)}},m.onerror=()=>{D()}})},this.resolveUrl=({operation:i,params:s={},resolveBindingExpressions:a=!1})=>this.generateFullApiUrl(this.extractParam(a,i.url,s),this.extractParam(a,i.queryParams,s)),this.extractParam=(i,s,a={},l)=>{var B,Q;const c={$adapterConfig:this.config,...a};if(i)return _A(c,s,this.appContext,l);if(s!=null&&s._ARROW_EXPR_){const u={eventArgs:[c]};try{return yg([{type:"ArrowS",expression:s}],u),(Q=(B=u.mainThread)==null?void 0:B.blocks)!=null&&Q.length?u.mainThread.blocks[u.mainThread.blocks.length-1].returnValue:void 0}catch(d){console.error(d);return}}return s},this.executeOperation=async({operation:i,contextParams:s,abortSignal:a,resolveBindingExpressions:l,relativePath:c=this.extractParam(l,i.url,s),method:B=this.extractParam(l,i.method,s),queryParams:Q=this.extractParam(l,i.queryParams,s),body:u=this.extractParam(l,i.body,s,!0),rawBody:d=this.extractParam(l,i.rawBody,s),headers:C=this.extractParam(l,i.headers,s),payloadType:h=this.extractParam(l,i.payloadType,s)||"json",onUploadProgress:I,parseResponse:p=this.tryParseResponse,transactionId:D})=>{const m=B&&B!=="get"&&!!D,k={...this.getHeaders(),"Content-Type":void 0},N=QA.omitBy({...u?this.getHeaders():k,...C},QA.isUndefined);m&&(N["x-ue-client-tx-id"]=D);let L;if(d)L=d;else if(h==="multipart-form"||h==="form"){const F=new FormData;Object.entries(u).forEach(([v,y])=>{vc({key:v,value:y},F)}),h==="multipart-form"?(L=F,delete N["Content-Type"]):(L=new URLSearchParams(F).toString(),N["Content-Type"]="application/x-www-form-urlencoded")}else L=u?JSON.stringify(u):void 0;const M={method:B,headers:N,signal:a,body:L};if(I){console.log("Falling back to axios. Reason: onUploadProgress specified");const F=(await import("axios")).default;try{const v=await F.request({url:this.generateFullApiUrl(c,Q),method:M.method,headers:N,data:M.body,onUploadProgress:I});return await p(v)}catch(v){throw F.isAxiosError(v)&&v.response?await this.raiseError(v.response):v}}else{const F=await fetch(this.generateFullApiUrl(c,Q),M);if(!F.clone().ok)throw await this.raiseError(F);return await p(F.clone())}},this.tryParseResponse=async i=>await eD(i),this.raiseError=async i=>{if("config"in i)try{return new Xs(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 Xs(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,this.config={apiUrl:o,errorResponseTransform:r,headers:{...(n=e==null?void 0:e.appGlobals)==null?void 0:n.headers}}}generateFullApiUrl(e,t){let o="";if(t){const r=new URLSearchParams;Object.entries(t).forEach(([n,i])=>{Array.isArray(i)?i.forEach(s=>{r.append(n,s)}):i!==void 0&&r.append(n,i)}),o=`?${r}`}return e.startsWith("http://")||e.startsWith("https://")?`${e}${o}`:`${this.config.apiUrl||""}${e}${o}`}}class tD{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 Mi(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 ln(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 Ra={};function oD(A,e){return Ra[A]||(Ra[A]=new tD(A,e)),Ra[A].refreshAppContext(e),Ra[A]}function rD({url:A,onEvent:e}){const t=_t();return E.useEffect(()=>{const o=oD(A,t),r=n=>{n.forEach(i=>{e==null||e(i)})};return o.subscribe(r),()=>{o.unsubscribe(r)}},[t,e,A]),null}const Y0="RealTimeAdapter",nD=Z({status:"experimental",description:`\`${Y0}\` is a non-visual component that listens to real-time events through long-polling.`,props:{url:f("This property specifies the URL to use for long-polling.")},events:{eventArrived:f("This event is raised when data arrives from the backend using long-polling.")}}),iD=AA(Y0,nD,({node:A,lookupEventHandler:e,extractValue:t})=>g.jsx(rD,{url:t(A.props.url),onEvent:e("eventArrived")})),K0="Form",sD=Z({status:"experimental",description:`A \`${K0}\` is a fundamental component that displays user interfaces that allow users to input (or change) data and submit it to the app (a server) for further processing.`,props:{buttonRowTemplate:se("This property allows defining a custom component to display the buttons at the bottom of the form."),itemLabelPosition:f("This property sets the position of the item labels within the form.Individual `FormItem` instances can override this property.",N1,"string","top"),itemLabelWidth:f("This property sets the width of the item labels within the form. Individual `FormItem` instances can override this property."),itemLabelBreak:f("This boolean value indicates if form item labels can be split into multiple lines if it would overflow the available label width. Individual `FormItem` instances can override this property."),keepModalOpenOnSubmit:f("This property prevents the modal from closing when the form is submitted."),data:f("This property sets the initial value of the form's data structure. The form infrastructure uses this value to set the initial state of form items within the form."),cancelLabel:f('This property defines the label of the Cancel button, by default, "Cancel".'),saveLabel:f('This property defines the label of the Save button, by default, "Save".'),saveInProgressLabel:f("This property defines the label of the Save button to display during the form data submit (save) operation. By default, the value of `saveLabel`."),swapCancelAndSave:f("By default, the Cancel button is to the left of the Save button. Set this property to `true` to swap them or `false` to keep their original location."),submitUrl:f("URL to submit the form data."),submitMethod:f("HTTP method to use when submitting the form data."),enabled:f("Whether the form is enabled or not. The default value is `true`."),_data_url:_r("when we have an api bound data prop, we inject the url here")},events:{submit:f("The form infrastructure fires this event when the form is submitted. The event argument is the current `data` value to save."),cancel:f("The form infrastructure fires this event when the form is canceled."),reset:f("The form infrastructure fires this event when the form is reset.")},contextVars:{$data:f("This property represents the value of the form data. You can access the fields of the form using the IDs in the `bindTo` property of nested `FormItem` instances.")},themeVars:pA(mc.themeVars),defaultThemeVars:{"gap-Form":"$space-4","gap-buttonRow-Form":"$space-4",light:{"color-bg-ValidationDisplay-error":"$color-danger-100","color-bg-ValidationDisplay-warning":"$color-warn-100","color-bg-ValidationDisplay-info":"$color-primary-100","color-bg-ValidationDisplay-valid":"$color-success-100","color-accent-ValidationDisplay-error":"$color-error","color-accent-ValidationDisplay-warning":"$color-warning","color-accent-ValidationDisplay-info":"$color-info","color-accent-ValidationDisplay-valid":"$color-valid","color-text-ValidationDisplay-error":"$color-error","color-text-ValidationDisplay-warning":"$color-warning","color-text-ValidationDisplay-info":"$color-info","color-text-ValidationDisplay-valid":"$color-valid"},dark:{"color-bg-ValidationDisplay-error":"$color-danger-900","color-bg-ValidationDisplay-warning":"$color-warn-900","color-bg-ValidationDisplay-info":"$color-secondary-800","color-bg-ValidationDisplay-valid":"$color-success-900","color-accent-ValidationDisplay-error":"$color-danger-500","color-accent-ValidationDisplay-warning":"$color-warn-700","color-accent-ValidationDisplay-info":"$color-surface-200","color-accent-ValidationDisplay-valid":"$color-success-600","color-text-ValidationDisplay-error":"$color-danger-500","color-text-ValidationDisplay-warning":"$color-warn-700","color-text-ValidationDisplay-info":"$color-secondary-200","color-text-ValidationDisplay-valid":"$color-success-600"}}}),aD=AA(K0,sD,({node:A,renderChild:e,extractValue:t,layoutCss:o,lookupEventHandler:r,registerComponentApi:n})=>g.jsx(Y9,{node:A,renderChild:e,extractValue:t,lookupEventHandler:r,layoutCss:o,registerComponentApi:n})),lD=({select:A=vA,theme:e=rg.Theme.LIGHT,autoFocus:t=!1})=>g.jsx(rg,{autoFocusSearch:t,onEmojiClick:async o=>{await A(o.emoji)},lazyLoadEmojis:!0,theme:e,previewConfig:{showPreview:!1},skinTonesDisabled:!0,height:360,emojiStyle:rg.EmojiStyle.NATIVE}),O0="EmojiSelector",gD=Z({status:"experimental",description:`The \`${O0}\` component provides users with a graphical interface to browse, search and select emojis to insert into text fields, messages, or other forms of communication.`,props:{autoFocus:Dt()},events:{select:f("This event is fired when the user selects an emoticon from this component.")}}),cD=AA(O0,gD,({node:A,lookupEventHandler:e,extractValue:t})=>{const o=e("select"),r=ce();return g.jsx(lD,{select:o,theme:r.activeThemeTone,autoFocus:t.asOptionalBoolean(A.props.autoFocus)})}),Qr="NumberBox",BD=Z({status:"experimental",description:`A \`${Qr}\` 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:Fr(),initialValue:Zt(),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Qr),labelBreak:sr(Qr),maxLength:ui(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),startText:uu(),startIcon:Eu(),endText:du(),endIcon:Cu(),hasSpinBox:f("This boolean prop shows (`true`) or hides (`false`) the spinner buttons for the input field.",null,"boolean",!0),step:f("This prop governs how big the step when clicking on the spinner of the field.",null,"number"),integersOnly:f("This boolean property signs whether the input field accepts integers only (`true`) or not (`false`).",null,"boolean",!1),zeroOrPositive:f("This boolean property determines whether the input value can only be 0 or positive numbers (`true`) or also negative (`false`).",null,"boolean",!1),minValue:f("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:f("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:wt(Qr),lostFocus:ft(Qr),didChange:lt(Qr)},apis:{focus:Eo(Qr),value:Ug(),setValue:Uo()},themeVars:pA(et.themeVars)}),QD=AA(Qr,BD,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:i})=>g.jsx(B0,{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:i,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),endIcon:r.asOptionalString(A.props.endIcon),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)})),uD=({triggerTemplate:A,children:e})=>{const{root:t}=ce();return g.jsxs(Fs.Root,{openDelay:100,closeDelay:100,children:[g.jsx(Fs.Trigger,{children:A}),g.jsx(Fs.Portal,{container:t,children:g.jsx(Fs.Content,{side:"bottom",sideOffset:5,children:e})})]})},ED="HoverCard",dD=Z({status:"deprecated",description:"(**OBSOLETE**) This component displays some content when its parent component is hovered.",props:{triggerTemplate:se("The component that opens the hover card when hovered.")}}),CD=AA(ED,dD,({node:A,extractValue:e,renderChild:t})=>g.jsx(uD,{triggerTemplate:t(e(A.props.triggerTemplate)),children:t(A.children)})),ur="App",hD=Z({status:"stable",description:`The \`${ur}\` component provides a UI frame for XMLUI apps. According to predefined (and run-time configurable) structure templates, \`${ur}\` allows you to display your preferred layout.`,props:{layout:f("This property sets the layout template of the app. This setting determines the position and size of the app parts (such as header, navigation bar, footer, etc.) and the app's scroll behavior.",f6),loggedInUser:f("Stores information about the currently logged in user."),logoTemplate:se("Optional template of the app logo"),logo:f("Optional logo path"),"logo-dark":f("Optional logo path in dark tone"),"logo-light":f("Optional logo path in light tone"),name:f("Optional application name (visible in the browser tab)"),scrollWholePage:f("This boolean property specifies whether the whole page should scroll (`true`) or just the content area (`false`). The default value is `true`.",null,"boolean",!0),noScrollbarGutters:f("This boolean property specifies whether the scrollbar gutters should be hidden.",null,"boolean",!1),defaultTone:f(`This property sets the app's default tone ("light" or "dark").`,null,"string","light"),defaultTheme:f("This property sets the app's default theme.",null,"string","xmlui")},events:{ready:f(`This event fires when the \`${ur}\` component finishes rendering on the page.`)},themeVars:pA(bA.themeVars),defaultThemeVars:{[`width-navPanel-${ur}`]:"$space-64",[`max-content-width-${ur}`]:"$max-content-width",[`shadow-header-${ur}`]:"$shadow-spread",[`shadow-pages-${ur}`]:"$shadow-spread",light:{},dark:{}}}),ID=AA(ur,hD,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>{var c;let n,i,s;const a=[];(c=A.children)==null||c.forEach(B=>{B.type==="AppHeader"?n=B:B.type==="Footer"?i=B:B.type==="NavPanel"?s=B:a.push(B)});const l=e(A.props.layout);return g.jsx(N6,{scrollWholePage:e.asOptionalBoolean(A.props.scrollWholePage,!0),noScrollbarGutters:e.asOptionalBoolean(A.props.noScrollbarGutters,!1),style:o,layout:l,loggedInUser:e(A.props.loggedInUser),onReady:r("ready"),header:t(n),footer:t(i),navPanel:t(s),navPanelDef:s,logoContentDef:A.props.logoTemplate,renderChild:t,name:e(A.props.name),logo:e(A.props.logo),logoDark:e(A.props["logo-dark"]),logoLight:e(A.props["logo-light"]),defaultTone:e(A.props.defaultTone),defaultTheme:e(A.props.defaultTheme),children:t(a)})}),fo="NavPanel",pD=Z({description:`\`${fo}\` is a placeholder within \`App\` to define the app's navigation (menu) structure.`,props:{logoTemplate:se("This property defines the logo template to display in the navigation panel with the `vertical` and `vertical-sticky` layout.")},themeVars:pA(po.themeVars),defaultThemeVars:{[`color-bg-${fo}`]:"transparent",...Ac(fo,{}),[`padding-horizontal-${fo}`]:"$space-4",[`padding-vertical-logo-${fo}`]:"$space-4",[`padding-horizontal-logo-${fo}`]:"$space-4",[`margin-bottom-logo-${fo}`]:"$space-4",light:{[`shadow-${fo}-vertical`]:"4px 0 4px 0 rgb(0 0 0 / 10%)"},dark:{[`shadow-${fo}-vertical`]:"4px 0 6px 0 rgba(0, 0, 0, 0.2)"}}}),wD=AA(fo,pD,({node:A,renderChild:e,layoutCss:t,layoutContext:o})=>g.jsx(L6,{style:t,logoContent:e(A.props.logoTemplate),className:o==null?void 0:o.themeClassName,inDrawer:o==null?void 0:o.inDrawer,renderChild:e,children:e(A.children)})),fD={wrapper:"_wrapper_1gpge_13"};function DD({childRoute:A=Be,renderChild:e,layoutContext:t,style:o,uid:r}){const n=We.useParams(),i=E.useMemo(()=>Array.isArray(A)?{type:"Fragment",uid:r,vars:GA,children:A}:{type:"Fragment",uid:r,vars:GA,children:[A]},[A,r]),s=E.useMemo(()=>{const{padding:a,paddingLeft:l,paddingRight:c,paddingTop:B,paddingBottom:Q,...u}=o;return{...u,"--page-padding-left-override":a||l,"--page-padding-right-override":a||c,"--page-padding-top-override":a||B,"--page-padding-bottom-override":a||Q}},[o]);return g.jsx("div",{className:Ge(fD.wrapper,"xmlui-page-root"),style:s,children:e(i,t)},JSON.stringify(n))}function mD({node:A,renderChild:e,extractValue:t,defaultRoute:o}){var i;const r=[],n=[];return(i=A.children)==null||i.forEach(s=>{s.type==="Page"?r.push(s):n.push(s)}),g.jsxs(g.Fragment,{children:[g.jsxs(We.Routes,{children:[r.map((s,a)=>g.jsx(We.Route,{path:t(s.props.url),element:e(s)},a)),!!o&&g.jsx(We.Route,{path:"*",element:g.jsx(We.Navigate,{to:o,replace:!0})})]}),e(n)]})}const yc="Page",xD=Z({status:"stable",docFolder:yc,description:`The \`${yc}\` component defines what content is displayed when the user navigates to a particular URL that is associated with the page.`,props:{url:f("The URL of the route associated with the content.")}}),vD=AA(yc,xD,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>g.jsx(z6,{children:g.jsx(DD,{childRoute:A.children,uid:A.uid,renderChild:t,style:o},e(A.props.url))})),J0="Pages",yD=Z({description:`The \`${J0}\` component is used as a container for [\`Page\`](./Page.mdx) components within an [\`App\`](./App.mdx).`,props:{defaultRoute:f("The default route when displaying the app")}}),bD=AA(J0,yD,({node:A,extractValue:e,renderChild:t})=>g.jsx(mD,{defaultRoute:e(A.props.defaultRoute),node:A,renderChild:t,extractValue:e})),Ya={themeVars:`'{"padding-horizontal-Footer": "var(--xmlui-padding-horizontal-Footer)", "padding-vertical-Footer": "var(--xmlui-padding-vertical-Footer)", "padding-top-Footer": "var(--xmlui-padding-top-Footer)", "padding-bottom-Footer": "var(--xmlui-padding-bottom-Footer)", "padding-left-Footer": "var(--xmlui-padding-left-Footer)", "padding-right-Footer": "var(--xmlui-padding-right-Footer)", "padding-Footer": "var(--xmlui-padding-Footer)", "color-border-horizontal-Footer": "var(--xmlui-color-border-horizontal-Footer)", "thickness-border-horizontal-Footer": "var(--xmlui-thickness-border-horizontal-Footer)", "style-border-horizontal-Footer": "var(--xmlui-style-border-horizontal-Footer)", "color-border-vertical-Footer": "var(--xmlui-color-border-vertical-Footer)", "thickness-border-vertical-Footer": "var(--xmlui-thickness-border-vertical-Footer)", "style-border-vertical-Footer": "var(--xmlui-style-border-vertical-Footer)", "color-border-left-Footer": "var(--xmlui-color-border-left-Footer)", "thickness-border-left-Footer": "var(--xmlui-thickness-border-left-Footer)", "style-border-left-Footer": "var(--xmlui-style-border-left-Footer)", "color-border-right-Footer": "var(--xmlui-color-border-right-Footer)", "thickness-border-right-Footer": "var(--xmlui-thickness-border-right-Footer)", "style-border-right-Footer": "var(--xmlui-style-border-right-Footer)", "color-border-top-Footer": "var(--xmlui-color-border-top-Footer)", "thickness-border-top-Footer": "var(--xmlui-thickness-border-top-Footer)", "style-border-top-Footer": "var(--xmlui-style-border-top-Footer)", "color-border-bottom-Footer": "var(--xmlui-color-border-bottom-Footer)", "thickness-border-bottom-Footer": "var(--xmlui-thickness-border-bottom-Footer)", "style-border-bottom-Footer": "var(--xmlui-style-border-bottom-Footer)", "color-border-Footer": "var(--xmlui-color-border-Footer)", "thickness-border-Footer": "var(--xmlui-thickness-border-Footer)", "style-border-Footer": "var(--xmlui-style-border-Footer)", "radius-Footer": "var(--xmlui-radius-Footer)", "color-bg-Footer": "var(--xmlui-color-bg-Footer)", "color-text-Footer": "var(--xmlui-color-text-Footer)", "height-Footer": "var(--xmlui-height-Footer)", "font-size-Footer": "var(--xmlui-font-size-Footer)", "align-vertical-Footer": "var(--xmlui-align-vertical-Footer)", "max-content-width-Footer": "var(--xmlui-max-content-width-Footer)"}'`,outerWrapper:"_outerWrapper_188xu_13",wrapper:"_wrapper_188xu_34",full:"_full_188xu_50"};function kD({children:A,style:e,className:t}){const{layout:o}=En()||{},r=o!=="vertical-full-header";return g.jsx("div",{className:Ya.outerWrapper,children:g.jsx("div",{className:cA(Ya.wrapper,t,{[Ya.full]:!r}),style:e,children:A})})}const $o="Footer",MD=Z({description:`The \`${$o}\` is a component that acts as a placeholder within \`App\`.`,themeVars:pA(Ya.themeVars),defaultThemeVars:{[`color-bg-${$o}`]:"$color-bg-AppHeader",[`align-vertical-${$o}`]:"center",[`font-size-${$o}`]:"$font-size-small",[`color-text-${$o}`]:"$color-text-secondary",[`max-content-width-${$o}`]:"$max-content-width",...ba($o,{horizontal:"$space-4",vertical:"$space-2"}),...Ac($o,{top:{color:"$color-border",thickness:"1px",style:"solid"}}),light:{},dark:{}}}),ND=AA($o,MD,({node:A,renderChild:e,layoutCss:t,layoutContext:o})=>g.jsx(kD,{style:t,className:o==null?void 0:o.themeClassName,children:e(A.children,{type:"Stack",orientation:"horizontal"})})),Ka={themeVars:`'{"color-bg-dropdown-NavGroup": "var(--xmlui-color-bg-dropdown-NavGroup)", "shadow-dropdown-NavGroup": "var(--xmlui-shadow-dropdown-NavGroup)", "radius-dropdown-NavGroup": "var(--xmlui-radius-dropdown-NavGroup)"}'`,dropdownList:"_dropdownList_1i6dc_13",withNavGroupChevron:"_withNavGroupChevron_1i6dc_32",pointRight:"_pointRight_1i6dc_48"},Oa=E.createContext({level:-1}),_D=E.forwardRef(function({node:e,style:t,label:o,icon:r,renderChild:n,to:i},s){const{level:a}=E.useContext(Oa),l=En(),c=E.useContext(Wg);let B=(l==null?void 0:l.layout)==="vertical"||(l==null?void 0:l.layout)==="vertical-sticky"||(l==null?void 0:l.layout)==="vertical-full-header";c!==null&&(B=c.inDrawer);const Q=E.useMemo(()=>({level:a+1}),[a]);return g.jsx(Oa.Provider,{value:Q,children:B?g.jsx(FD,{to:i,style:t,label:o,icon:r,node:e,renderChild:n,ref:s}):g.jsx(LD,{label:o,icon:r,node:e,renderChild:n,ref:s,to:i})})}),FD=E.forwardRef(function({style:e=GA,label:t,icon:o,renderChild:r,node:n,to:i},s){const{level:a}=E.useContext(Oa),[l,c]=E.useState(!1),B={...e,paddingLeft:a>=1?a*2+"em":void 0};return g.jsxs(g.Fragment,{children:[g.jsxs(Ci,{style:B,onClick:()=>c(Q=>!Q),icon:o,to:i,children:[t,g.jsx("div",{style:{flex:1}}),g.jsx(kA,{name:l?"chevronup":"chevrondown"})]}),l&&r(n.children,{wrapChild:({node:Q},u)=>{if(Q.type==="NavLink"){const d=u;return E.cloneElement(d,{...na(u.props,{style:{paddingLeft:(a+1)*2+"em"}})})}return u}})]})}),LD=E.forwardRef(function({style:e,label:t,icon:o,renderChild:r,node:n,to:i},s){const{level:a}=E.useContext(Oa),{root:l}=ce();let c=To.DropdownMenu,B=To.DropdownMenuTrigger,Q=To.DropdownMenuContent;return a>=1&&(c=To.DropdownMenuSub,B=To.DropdownMenuSubTrigger,Q=To.DropdownMenuSubContent),g.jsxs(c,{children:[g.jsx(B,{asChild:!0,children:g.jsx(Ci,{icon:o,style:{flexShrink:0},vertical:a>=1,to:i,children:g.jsx("span",{className:cA(Ka.withNavGroupChevron,{[Ka.pointRight]:a>=1}),children:t})})}),g.jsx(To.DropdownMenuPortal,{container:l,children:g.jsx(Q,{className:Ka.dropdownList,style:{display:"flex",flexDirection:"column"},side:"bottom",align:"start",children:r(n.children,{wrapChild:({node:u},d,C)=>{if(C!=null&&C.opaque||u.type==="List"||u.type==="NavGroup")return d;let h=d;return u.type==="NavLink"&&(h=E.cloneElement(d,{...na(d.props,{vertical:!0})})),g.jsx(To.DropdownMenuItem,{asChild:!0,children:h})}})})})]})}),Ni="NavGroup",SD=Z({description:"The `NavGroup` component is a container for grouping related navigation targets (`NavLink` components). It can be displayed as a submenu in the App's UI.",props:{label:Je(),icon:f(`This property defines an optional icon to display along with the \`${Ni}\` label.`),to:f("This property defines an optional navigation link.")},themeVars:pA(Ka.themeVars),defaultThemeVars:{[`color-bg-dropdown-${Ni}`]:"$color-bg-primary",[`radius-dropdown-${Ni}`]:"$radius",[`shadow-dropdown-${Ni}`]:"$shadow-spread"}}),PD=AA(Ni,SD,({node:A,extractValue:e,renderChild:t})=>g.jsx(_D,{label:e.asDisplayText(A.props.label),to:e.asOptionalString(A.props.to),icon:g.jsx(kA,{name:e.asString(A.props.icon),className:Ao.icon}),node:A,renderChild:t})),q0="Logo",TD=Z({status:"experimental",description:`The \`${q0}\` component represents a logo or a brand symbol. Usually, you use this component in the [\`AppHeader\`](./AppHeader.mdx#logotemplate).`}),GD=AA(q0,TD,({node:A,layoutCss:e,extractValue:t})=>g.jsx(pa,{style:e})),Or="RadioGroup",ae="RadioGroupOption",HD=Z({description:`The \`${Or}\` input component is a group of radio buttons ([\`RadioGroupOption\`](./RadioGroupOption.mdx) components) that allow users to select only one option from the group at a time.`,props:{initialValue:Zt(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),orientation:f("(*** NOT IMPLEMENTED YET ***) This property sets the orientation of the options within the radio group."),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Or),labelBreak:sr(Or)},events:{gotFocus:wt(Or),lostFocus:ft(Or),didChange:lt(Or)},themeVars:pA(Ht.themeVars),defaultThemeVars:{[`gap-${ae}`]:"$space-1_5",[`thickness-border-${ae}`]:"2px",[`color-bg-checked-${ae}--disabled]`]:`$color-border-${ae}--disabled`,[`color-bg-checked-${ae}-error`]:`$color-border-${ae}-error`,[`color-bg-checked-${ae}-warning`]:`$color-border-${ae}-warning`,[`color-bg-checked-${ae}-success`]:`$color-border-${ae}-success`,[`font-size-${ae}`]:"$font-size-small",[`font-weight-${ae}`]:"$font-weight-bold",[`color-text-${ae}-error`]:`$color-border-${ae}-error`,[`color-text-${ae}-warning`]:`$color-border-${ae}-warning`,[`color-text-${ae}-success`]:`$color-border-${ae}-success`,light:{[`color-bg-checked-${ae}-default`]:"$color-primary-500",[`color-border-${ae}-default`]:"$color-surface-500",[`color-border-${ae}-default--hover`]:"$color-surface-700",[`color-border-${ae}-default--active`]:"$color-primary-500"},dark:{[`color-bg-checked-${ae}-default`]:"$color-primary-500",[`color-border-${ae}-default`]:"$color-surface-500",[`color-border-${ae}-default--hover`]:"$color-surface-300",[`color-border-${ae}-default--active`]:"$color-primary-400"}}}),UD=AA(Or,HD,({node:A,extractValue:e,layoutCss:t,state:o,updateState:r,lookupEventHandler:n,renderChild:i,registerComponentApi:s})=>g.jsx(uc,{enabled:e.asOptionalBoolean(A.props.enabled),layout: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:s,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:i(A.children)})),RD="Slot",YD=Z({status:"experimental",description:"Placeholder in a reusable component. Signs the slot where the component's injected children should be rendered.",props:{name:f("This optional property defines the name of the slot.")},allowArbitraryProps:!0,opaque:!0}),KD=la(RD,YD),Er="FileInput",OD=Z({description:`The \`${Er}\` is a user interface component that allows users to select files from their device's file system for upload (or processing its content otherwise).`,status:"experimental",props:{placeholder:Fr(),initialValue:Zt(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Er),labelBreak:sr(Er),buttonVariant:f("The button variant to use",U2),buttonLabel:f("This property is an optional string to set a label for the button part."),buttonIcon:f("The ID of the icon to display in the button"),buttonIconPosition:f("This optional string determines the location of the button icon.",k1),acceptsFileType:f("A list of file types the input controls accepts provided as a string array."),multiple:f("This boolean property enables to add not just one (`false`), but multiple files to the field (`true`). This is done either by dragging onto the field or by selecting multiple files in the browser menu after clicking the input field button.",null,"boolean",!1),directory:f("This boolean property indicates whether the component allows selecting directories (`true`) or files only (`false`).",null,"boolean",!1),buttonSize:f("The size of the button (small, medium, large)",aa),buttonThemeColor:f("The button color scheme (primary, secondary, attention)",G2)},events:{didChange:lt(Er),gotFocus:wt(Er),lostFocus:ft(Er)},apis:{value:f("By setting an ID for the component, you can refer to the value of the field if set. If no value is set, the value will be undefined."),setValue:f("(**NOT IMPLEMENTED YET**) You can use this method to set the component's current value programmatically."),focus:Eo(Er),open:f("This API command triggers the file browsing dialog to open.")},themeVars:pA(La.themeVars)}),JD=AA(Er,OD,({node:A,state:e,updateState:t,extractValue:o,lookupEventHandler:r,registerComponentApi:n})=>{const i=o.asString(A.props.buttonIcon);return g.jsx(c0,{enabled:o.asOptionalBoolean(A.props.enabled),variant:o(A.props.buttonVariant),buttonThemeColor:o(A.props.buttonThemeColor),buttonSize:o(A.props.buttonSize),buttonIcon:g.jsx(kA,{name:i}),buttonIconPosition:o(A.props.buttonIconPosition),buttonLabel:o.asOptionalString(A.props.buttonLabel),updateState:t,value:lc(e==null?void 0:e.value)?e==null?void 0:e.value:void 0,autoFocus:o.asOptionalBoolean(A.props.autoFocus),onDidChange:r("didChange"),onFocus:r("gotFocus"),onBlur:r("lostFocus"),validationStatus:o(A.props.validationStatus),registerComponentApi:n,multiple:o.asOptionalBoolean(A.props.multiple),directory:o.asOptionalBoolean(A.props.directory),initialValue:o(A.props.initialValue),acceptsFileType:o(A.props.acceptsFileType),label:o.asOptionalString(A.props.label),labelPosition:o(A.props.labelPosition),labelWidth:o.asOptionalString(A.props.labelWidth),labelBreak:o.asOptionalBoolean(A.props.labelBreak),required:o.asOptionalBoolean(A.props.required)})}),qD={wrapper:"_wrapper_1pv7f_13"},zD=E.lazy(()=>import("react-apexcharts")),z0={chart:{fontFamily:"inherit",sparkline:{enabled:!1},toolbar:{show:!1},animations:{enabled:!1,dynamicAnimation:{enabled:!0},animateGradually:{enabled:!0},speed:300}},dataLabels:{enabled:!1},fill:{opacity:.16,type:"solid"},stroke:{width:2,lineCap:"round",curve:"smooth"},tooltip:{theme:"dark"},grid:{strokeDashArray:4,padding:{right:0,left:-4,bottom:-4},xaxis:{lines:{show:!0}}},plotOptions:{bar:{columnWidth:"50%"}},xaxis:{labels:{},tooltip:{enabled:!1},axisBorder:{show:!1},type:"datetime"},yaxis:{labels:{padding:4}},legend:{show:!1}},WD=E.forwardRef(function({type:e,labels:t,series:o,style:r,stacked:n,showAxisLabels:i=!0,tooltipEnabled:s=!0,showLegend:a=!1},l){const c=Os({name:"color-primary-500",format:"hex"},{name:"color-primary-400",format:"hex"},{name:"color-primary-300",format:"hex"},{name:"color-primary-200",format:"hex"}),{fill:B,...Q}=z0,u=E.useMemo(()=>{let d={...Q,chart:{...Q.chart,stacked:n,sparkline:{enabled:!i}},fill:e==="area"?B:{},tooltip:{...z0.tooltip,enabled:s},colors:Object.values(c),labels:t||[],legend:{show:a}};return t||delete d.xaxis,d},[c,B,t,Q,i,n,s,e]);return g.jsx("div",{style:{...r},className:qD.wrapper,ref:l,children:g.jsx(E.Suspense,{children:!!o&&g.jsx(zD,{options:u,type:e,series:o,height:"100%",width:"100%"})})})}),$D="Chart",jD=Z({status:"deprecated",description:"(**OBSOLETE**) A chart component",props:{type:f("(**OBSOLETE**)"),labels:f("(**OBSOLETE**)"),series:f("(**OBSOLETE**)"),stacked:f("(**OBSOLETE**)"),showAxisLabels:f("(**OBSOLETE**)"),tooltipEnabled:f("(**OBSOLETE**)"),showLegend:f("(**OBSOLETE**)")}}),VD=AA($D,jD,({node:A,extractValue:e,lookupAction:t,layoutCss:o,registerComponentApi:r})=>g.jsx(WD,{type:e.asString(A.props.type),labels:e(A.props.labels),series:e(A.props.series),style:o,showLegend:e.asOptionalBoolean(A.props.showLegend),stacked:e.asOptionalBoolean(A.props.stacked),showAxisLabels:e.asOptionalBoolean(A.props.showAxisLabels),tooltipEnabled:e.asOptionalBoolean(A.props.tooltipEnabled)})),Dn="Spinner",XD=Z({description:`The \`${Dn}\` component is an animated indicator that represents a particular action in progress without a deterministic progress value.`,props:{delay:f("The delay in milliseconds before the spinner is displayed."),fullScreen:f("If set to `true`, the component will be rendered in a full screen container."),themeColor:f("(**NOT IMPLEMENTED YET**) The theme color of the component.")},themeVars:pA(Kg.themeVars),defaultThemeVars:{[`size-${Dn}`]:"$space-10",[`thickness-${Dn}`]:"$space-0_5",light:{[`color-border-${Dn}`]:"$color-surface-400"},dark:{[`color-border-${Dn}`]:"$color-surface-600"}}}),ZD=AA(Dn,XD,({node:A,layoutCss:e,extractValue:t})=>(delete e.width,delete e.minWidth,delete e.maxWidth,delete e.height,delete e.minHeight,delete e.maxHeight,g.jsx(ha,{style:e,delay:t.asOptionalNumber(A.props.delay),fullScreen:t.asOptionalBoolean(A.props.fullScreen)}))),mn={themeVars:`'{"color-border-HorizontalRule": "var(--xmlui-color-border-HorizontalRule)", "thickness-border-HorizontalRule": "var(--xmlui-thickness-border-HorizontalRule)", "style-border-HorizontalRule": "var(--xmlui-style-border-HorizontalRule)", "color-bg-Blockquote": "var(--xmlui-color-bg-Blockquote)", "accent-Blockquote": "var(--xmlui-accent-Blockquote)", "radius-Blockquote": "var(--xmlui-radius-Blockquote)", "shadow-Blockquote": "var(--xmlui-shadow-Blockquote)", "padding-Blockquote": "var(--xmlui-padding-Blockquote)", "margin-Blockquote": "var(--xmlui-margin-Blockquote)", "padding-left-UnorderedList": "var(--xmlui-padding-left-UnorderedList)", "padding-left-OrderedList": "var(--xmlui-padding-left-OrderedList)", "padding-left-ListItem": "var(--xmlui-padding-left-ListItem)", "color-marker-ListItem": "var(--xmlui-color-marker-ListItem)"}'`,horizontalRule:"_horizontalRule_y1wfd_13",blockquote:"_blockquote_y1wfd_17",unorderedList:"_unorderedList_y1wfd_37",orderedList:"_orderedList_y1wfd_43",listItem:"_listItem_y1wfd_49"},Am=E.memo(function({removeIndents:e=!1,children:t,layout:o}){if(typeof t!="string")return null;t=e?em(t):t;const r={textAlign:o==null?void 0:o.textAlign};return g.jsx(l4,{components:{h1({id:n,children:i}){return g.jsx(Ko,{uid:n,layout:r,level:"h1",sx:{lineHeight:"initial"},children:i})},h2({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h2",sx:{lineHeight:"initial"},children:i})},h3({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h3",sx:{lineHeight:"initial"},children:i})},h4({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h4",sx:{lineHeight:"initial"},children:i})},h5({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h5",sx:{lineHeight:"initial"},children:i})},h6({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h6",sx:{lineHeight:"initial"},children:i})},p({id:n,children:i}){return g.jsx(qe,{uid:n,layout:r,children:i})},code({id:n,children:i}){return g.jsx(qe,{uid:n,variant:"code",children:i})},pre({id:n,children:i}){return g.jsx(qe,{uid:n,variant:"codefence",children:i})},strong({id:n,children:i}){return g.jsx(qe,{uid:n,variant:"strong",children:i})},em({id:n,children:i}){return g.jsx(qe,{uid:n,variant:"em",children:i})},blockquote({children:n}){return g.jsx(om,{layout:r,children:n})},ol({children:n}){return g.jsx(nm,{layout:r,children:n})},ul({children:n}){return g.jsx(rm,{layout:r,children:n})},li({children:n}){return g.jsx(im,{layout:r,children:n})},hr(){return g.jsx(tm,{})},a({href:n,children:i}){return g.jsx($g,{to:n||"/",children:i})},img({src:n,alt:i}){return g.jsx(zg,{src:n,alt:i})}},children:t})});function em(A){const e=A.split(`
82
+ `)),Object.setPrototypeOf(this,ua.prototype)}}const hp=E.memo(E.forwardRef(function({node:e,parentState:t,resolvedKey:o,parentStateFieldPartChanged:r,parentRegisterComponentApi:n,layoutContextRef:i,parentRenderContext:s,isImplicit:a,parentDispatch:l,uidInfoRef:c},B){const[Q,u]=E.useState(0),d=Cp(),C=E.useRef(new Map),h=$e(E.useMemo(()=>vp(t,e.uses),[e.uses,t])),[I,p]=E.useReducer(Fp,GA),[D,m]=E.useState(GA),k=$e(E.useMemo(()=>{const S={...I};for(const G of Object.getOwnPropertySymbols(I)){const Y=I[G];G.description&&(S[G.description]=Y)}if(Reflect.ownKeys(D).length===0)return S;for(const G of Object.getOwnPropertySymbols(D)){const Y=D[G];if(G.description){const U=G.description;S[U]={...S[U]||{},...Y}}S[G]={...S[G],...Y}}return S},[I,D])),N=q1(h,k,e.contextVars),L=e.scriptCollected;if(L!=null&&L.moduleErrors&&!QA.isEmpty(L.moduleErrors))throw new ua(L.moduleErrors);if(e.scriptError&&!QA.isEmpty(e.scriptError))throw new ua(e.scriptError);const M=Js(I),F=$e({...L==null?void 0:L.functions,...e.functions,...L==null?void 0:L.vars,...e.vars}),v=E.useMemo(()=>{const S={};return Object.entries(F).forEach(([G,Y])=>{Ea(Y)&&Y.tree.type==="ArrowE"&&(S[G]=ia(Y.tree,M))}),lp(S)},[M,F]),y=z1(F,v,N,E.useRef(new Map)),P=$e({...y,...N}),b=z1(F,v,P,C),_=yp(b,k),q=q1(h,e.contextVars,_,d),J=E.useCallback((S,G)=>{m(ue(Y=>{Y[S]||(Y[S]={}),Object.entries(G).forEach(([U,V])=>{Y[S][U]!==V&&(Y[S][U]=V)})}))},[]),z=E.useRef(k),T=E.useCallback((S,G,Y,U)=>{const V=S[0];V in z.current||V in b?p(_p(S,G,Y,U)):(!e.uses||e.uses.includes(V))&&r(S,G,Y,U)},[b,e.uses,r]);return g.jsx(oi,{node:e,location:"container",children:g.jsx(dp,{resolvedKey:o,node:e,componentState:q,dispatch:p,parentDispatch:l,setVersion:u,version:Q,stateFieldPartChanged:T,registerComponentApi:J,parentRegisterComponentApi:n,layoutContextRef:i,parentRenderContext:s,memoedVarsRef:C,isImplicit:a,ref:B,uidInfoRef:c})})})),Ip=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:"containerUid"in A&&A.containerUid,apiBoundContainer:"apiBoundContainer"in A&&A.apiBoundContainer,contextVars:A.contextVars,props:{debug:(o=A.props)==null?void 0:o.debug},children:[e]}},pp=E.memo(E.forwardRef(function({resolvedKey:e,node:t,parentState:o,parentStateFieldPartChanged:r,parentRegisterComponentApi:n,layoutContextRef:i,parentRenderContext:s,parentDispatch:a,uidInfoRef:l},c){const B=E.useMemo(()=>Ip(t),[t]);return g.jsx(oi,{node:t,location:"container",children:g.jsx(hp,{parentStateFieldPartChanged:r,resolvedKey:e,node:B,parentState:o,layoutContextRef:i,parentRenderContext:s,isImplicit:t.type!=="Container"&&B.uses===void 0,parentRegisterComponentApi:n,parentDispatch:a,ref:c,uidInfoRef:l})})}));function J1({node:A,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:i,renderChild:s,stateFieldPartChanged:a,layoutContext:l,parentRenderContext:c,memoedVarsRef:B,cleanup:Q,uidInfoRef:u}){var h,I;if(!kg(A.when,e,o))return null;if(A.type==="Slot"&&((h=c==null?void 0:c.children)==null?void 0:h.length)===1&&(c.children[0].type==="TextNodeCData"||c.children[0].type==="TextNode"))return c.renderChild(c.children);const d=(I=A.props)==null?void 0:I.value;if(A.type==="TextNodeCData")return d??"";if(A.type==="TextNode")return _A(e,d,o,!0);const C=_A(e,A.uid,o,!0);return g.jsx(xp,{resolvedKey:C,node:A,cleanup:Q,stateFieldPartChanged:a,memoedVarsRef:B,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:i,renderChild:s,layoutContext:l,parentRenderContext:c,uidInfoRef:u},C)}function wp(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 fp(A,e){if(!A.props)return A;let t={...A},o=!1;return Object.entries(A.props).forEach(([r,n])=>{let i;try{i=_A(e.current,n)}catch{}(i==null?void 0:i.type)==="loader"&&(o=!0,t={...t,props:{...t.props,[r]:{type:"DataSourceRef",uid:i.uid}}})}),o?t:A}function Dp(A,e,t){var o;return!((o=A.props)!=null&&o.__DATA_RESOLVED)&&A.props&&"data"in A.props&&e?_A(t.current,A.props.data)==="loaderValue"?A:{...A,props:{...A.props,data:{type:"DataSource",props:{url:A.props.data}}}}:A}function mp(A){return A.props&&"raw_data"in A.props?{...A,props:{...A.props,__DATA_RESOLVED:!0,data:A.props.raw_data}}:A}const xp=E.memo(E.forwardRef(function({node:e,state:t,dispatch:o,appContext:r,lookupAction:n,lookupSyncCallback:i,registerComponentApi:s,renderChild:a,stateFieldPartChanged:l,layoutContext:c,parentRenderContext:B,memoedVarsRef:Q,resolvedKey:u,cleanup:d,uidInfoRef:C,...h},I){var L;const p=E.useRef(c),D=E.useMemo(()=>{let M=wp(e);return M=fp(M,C),M=mp(M),M},[e,C]),m=E.useMemo(()=>{var F;return typeof _A(t,(F=D.props)==null?void 0:F.data,r,!0)=="string"},[r,(L=D.props)==null?void 0:L.data,t]),k=E.useMemo(()=>Dp(D,m,C),[D,m,C]);let N=null;return I8(k)?N=g.jsx(pp,{resolvedKey:u,node:k,parentState:t,parentDispatch:o,layoutContextRef:p,parentRenderContext:B,parentStateFieldPartChanged:l,parentRegisterComponentApi:s,uidInfoRef:C,ref:I}):N=g.jsx(rp,{onUnmount:d,memoedVarsRef:Q,node:k,state:t,dispatch:o,appContext:r,lookupAction:n,lookupSyncCallback:i,registerComponentApi:s,renderChild:a,parentRenderContext:B,layoutContextRef:p,ref:I,uidInfoRef:C,...h}),N}));function vp(A,e){return e?e.length===0?GA:QA.pick(A,e):A}function q1(...A){const e=E.useMemo(()=>{let t={};return A.forEach((o=GA)=>{o!==GA&&(t={...t,...o})}),t},[A]);return $e(e)}function yp(A,e){const t=E.useMemo(()=>{const o={...A};return Reflect.ownKeys(e).forEach(r=>{const n=e[r];o[r]===void 0?o[r]=n:QA.isPlainObject(o[r])&&QA.isPlainObject(n)?o[r]=QA.merge(QA.cloneDeep(o[r]),n):Array.isArray(o[r])&&Array.isArray(n)?o[r]=Object.assign([],o[r],n):o[r]=n}),o},[A,e]);return $e(t)}class bp extends Error{constructor(e,t){super(`Error on var: ${e} - ${(t==null?void 0:t.message)||"unknown"}`)}}function Ea(A){return A&&typeof A=="object"&&A[Qa]}function z1(A=GA,e=GA,t,o){const r=_t(),n=Js(t),i=E.useMemo(()=>{const s={};return Object.entries(A).forEach(([a,l])=>{if(a==="$props")s[a]=l;else if(!Ea(l)&&typeof l!="string")s[a]=l;else{o.current.has(l)||o.current.set(l,{getDependencies:Vn((d,C)=>{if(Ea(d))return ia(d.tree,C);const h=zs(d);let I=new Set;return h.forEach(p=>{p.type==="expression"&&(I=new Set([...I,...ia(p.value,C)]))}),Array.from(I)}),obtainValue:Vn((d,C,h,I,p,D)=>{try{return Ea(d)?Oe(d.tree,{localContext:C,appContext:h,options:{defaultToOptionalMemberAccess:!0}}):_A(C,d,h,I)}catch(m){throw console.log(C),new bp(d,m)}},([d,C,h,I,p,D],[m,k,N,L,M,F])=>ii(p,M)&&ii(D,F))});const c={...s,...t};let B=[];e[a]?B=e[a]:(o.current.get(l).getDependencies(l,n).forEach(d=>{e[d]?B.push(...e[d]):B.push(d)}),B=[...new Set(B)]);const Q=Ts(c,B),u=Ts(r,B);s[a]=o.current.get(l).obtainValue(l,c,r,!0,Q,u)}}),s},[r,t,e,o,n,A]);return $e(i)}function Hg(A,e){return A!==void 0&&e!==void 0}function kp(A,e){return{type:Pe.EVENT_HANDLER_STARTED,payload:{uid:A,eventName:e}}}function Mp(A,e){return{type:Pe.EVENT_HANDLER_COMPLETED,payload:{uid:A,eventName:e}}}function Np(A,e,t){return{type:Pe.EVENT_HANDLER_ERROR,payload:{uid:A,eventName:e,error:t}}}function _p(A,e,t,o){return{type:Pe.STATE_PART_CHANGED,payload:{path:A,value:e,target:t,actionType:o}}}const Fp=ue((A,e)=>{const{uid:t}=e.payload;if(t===void 0&&e.type!==Pe.STATE_PART_CHANGED)return console.error("uid not provided for control component",{state:A,action:e}),A;switch(e.type){case Pe.LOADER_IN_PROGRESS_CHANGED:{A[t]={...A[t],inProgress:e.payload.inProgress};break}case Pe.LOADER_LOADED:{const{data:o,pageInfo:r}=e.payload;A[t]={value:o,byId:Array.isArray(o)?QA.keyBy(o,n=>n.$id):void 0,inProgress:!1,loaded:o!==void 0,pageInfo:r};break}case Pe.LOADER_ERROR:{const{error:o}=e.payload;A[t]={...A[t],error:o,inProgress:!1,loaded:!0};break}case Pe.EVENT_HANDLER_STARTED:{const{eventName:o}=e.payload,r=`${o}InProgress`;A[t]={...A[t],[r]:!0};break}case Pe.EVENT_HANDLER_COMPLETED:{const{eventName:o}=e.payload,r=`${o}InProgress`;A[t]={...A[t],[r]:!1};break}case Pe.EVENT_HANDLER_ERROR:{const{eventName:o}=e.payload,r=`${o}InProgress`;A[t]={...A[t],[r]:!1};break}case Pe.COMPONENT_STATE_CHANGED:{const{state:o}=e.payload;A[t]={...A[t],...o};break}case Pe.STATE_PART_CHANGED:{const{path:o,value:r,target:n,actionType:i}=e.payload;i==="unset"?QA.unset(A,o):QA.setWith(A,o,r,s=>{if(s===void 0&&QA.isPlainObject(n))return Object(s)});break}default:throw new Error}});function W1({uidInfo:A,uidInfoRef:e,loaders:t=Be,componentState:o,dispatch:r,appContext:n,registerComponentApi:i,lookupAction:s,lookupSyncCallback:a,cleanup:l,memoedVarsRef:c}){return t.map(Q=>{if(Q!=null&&Q.uid){if(A[Q.uid])throw new Error(`Another ${A[Q.uid]} definition in this container already uses the uid '${Q.uid}'`);A[Q.uid]="loader",e.current[Q.uid]={type:"loader",value:"loaderValue",uid:Q.uid}}const u=B({loader:Q,componentState:o,dispatch:r,appContext:n,registerComponentApi:i,lookupAction:s,lookupSyncCallback:a,memoedVarsRef:c,cleanup:l});if(u!==void 0)return g.jsx(E.Fragment,{children:u},Q.uid)});function B({loader:Q,componentState:u,dispatch:d,appContext:C,registerComponentApi:h,lookupAction:I,lookupSyncCallback:p,cleanup:D,memoedVarsRef:m}){return!Q||!kg(Q.when,u,C)?null:g.jsx(gp,{onUnmount:D,node:Q,state:u,dispatch:d,registerComponentApi:h,lookupAction:I,lookupSyncCallback:p,memoedVarsRef:m,appContext:C})}}var $1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},j1=E.createContext&&E.createContext($1),rr=function(){return rr=Object.assign||function(A){for(var e,t=1,o=arguments.length;t<o;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(A[r]=e[r])}return A},rr.apply(this,arguments)},Lp=function(A,e){var t={};for(var o in A)Object.prototype.hasOwnProperty.call(A,o)&&e.indexOf(o)<0&&(t[o]=A[o]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(A);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(A,o[r])&&(t[o[r]]=A[o[r]]);return t};function V1(A){return A&&A.map(function(e,t){return E.createElement(e.tag,rr({key:t},e.attr),V1(e.child))})}function gA(A){return function(e){return E.createElement(Sp,rr({attr:rr({},A.attr)},e),V1(A.child))}}function Sp(A){var e=function(t){var o=A.attr,r=A.size,n=A.title,i=Lp(A,["attr","size","title"]),s=r||t.size||"1em",a;return t.className&&(a=t.className),A.className&&(a=(a?a+" ":"")+A.className),E.createElement("svg",rr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,i,{className:a,style:rr(rr({color:A.color||t.color},t.style),A.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),n&&E.createElement("title",null,n),A.children)};return j1!==void 0?E.createElement(j1.Consumer,null,function(t){return e(t)}):e($1)}function Pp(A){return gA({tag:"svg",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 Tp(A){return gA({tag:"svg",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 Gp(A){return gA({tag:"svg",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 Hp(A){return gA({tag:"svg",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 X1(A){return gA({tag:"svg",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 Z1(A){return gA({tag:"svg",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 Up(A){return gA({tag:"svg",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 Rp(A){return gA({tag:"svg",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 Yp(A){return gA({tag:"svg",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 Kp(A){return gA({tag:"svg",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 Op(A){return gA({tag:"svg",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 Jp(A){return gA({tag:"svg",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 Au(A){return gA({tag:"svg",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 qp(A){return gA({tag:"svg",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 zp(A){return gA({tag:"svg",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 Wp(A){return gA({tag:"svg",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 $p(A){return gA({tag:"svg",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 eu(A){return gA({tag:"svg",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 jp(A){return gA({tag:"svg",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 Vp(A){return gA({tag:"svg",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 Xp(A){return gA({tag:"svg",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 Zp(A){return gA({tag:"svg",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 Aw(A){return gA({tag:"svg",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 ew(A){return gA({tag:"svg",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 tw(A){return gA({tag:"svg",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 ow(A){return gA({tag:"svg",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 rw(A){return gA({tag:"svg",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 nw(A){return gA({tag:"svg",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 tu(A){return gA({tag:"svg",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 iw(A){return gA({tag:"svg",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 sw(A){return gA({tag:"svg",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 aw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"}}]})(A)}function lw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 0 0-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 0 0 471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0 1 42.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]})(A)}function gw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]})(A)}function cw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]})(A)}function Bw(A){return gA({tag:"svg",attr:{t:"1551322312294",style:"",viewBox:"0 0 1024 1024",version:"1.1"},child:[{tag:"defs",attr:{},child:[]},{tag:"path",attr:{d:"M474 152m8 0l60 0q8 0 8 8l0 704q0 8-8 8l-60 0q-8 0-8-8l0-704q0-8 8-8Z"}},{tag:"path",attr:{d:"M168 474m8 0l672 0q8 0 8 8l0 60q0 8-8 8l-672 0q-8 0-8-8l0-60q0-8 8-8Z"}}]})(A)}function Qw(A){return gA({tag:"svg",attr:{t:"1569683742680",viewBox:"0 0 1024 1024",version:"1.1"},child:[{tag:"defs",attr:{},child:[]},{tag:"path",attr:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-0.9 3.7-0.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 0.7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-0.8 4.2-2.6 5-5 1.4-4.2-0.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]})(A)}function uw(A){return gA({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]})(A)}function Ew(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M8 4a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.293V4.5A.5.5 0 0 1 8 4z"}}]})(A)}function dw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12 8a.5.5 0 0 1-.5.5H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5a.5.5 0 0 1 .5.5z"}}]})(A)}function Cw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"}}]})(A)}function hw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z"}}]})(A)}function Iw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M5 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}},{tag:"path",attr:{d:"m2.165 15.803.02-.004c1.83-.363 2.948-.842 3.468-1.105A9.06 9.06 0 0 0 8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6a10.437 10.437 0 0 1-.524 2.318l-.003.011a10.722 10.722 0 0 1-.244.637c-.079.186.074.394.273.362a21.673 21.673 0 0 0 .693-.125zm.8-3.108a1 1 0 0 0-.287-.801C1.618 10.83 1 9.468 1 8c0-3.192 3.004-6 7-6s7 2.808 7 6c0 3.193-3.004 6-7 6a8.06 8.06 0 0 1-2.088-.272 1 1 0 0 0-.711.074c-.387.196-1.24.57-2.634.893a10.97 10.97 0 0 0 .398-2z"}}]})(A)}function pw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8.39 12.648a1.32 1.32 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1.06 1.06 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.512.512 0 0 0-.523-.516.539.539 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532 0 .312.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531 0 .313.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242l-.515 2.492zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"}}]})(A)}function ww(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M6 3.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5zm4 0a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5z"}}]})(A)}function fw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M10.804 8 5 4.633v6.734L10.804 8zm.792-.696a.802.802 0 0 1 0 1.392l-6.363 3.692C4.713 12.69 4 12.345 4 11.692V4.308c0-.653.713-.998 1.233-.696l6.363 3.692z"}}]})(A)}function Dw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M6.598 5.013a.144.144 0 0 1 .202.134V6.3a.5.5 0 0 0 .5.5c.667 0 2.013.005 3.3.822.984.624 1.99 1.76 2.595 3.876-1.02-.983-2.185-1.516-3.205-1.799a8.74 8.74 0 0 0-1.921-.306 7.404 7.404 0 0 0-.798.008h-.013l-.005.001h-.001L7.3 9.9l-.05-.498a.5.5 0 0 0-.45.498v1.153c0 .108-.11.176-.202.134L2.614 8.254a.503.503 0 0 0-.042-.028.147.147 0 0 1 0-.252.499.499 0 0 0 .042-.028l3.984-2.933zM7.8 10.386c.068 0 .143.003.223.006.434.02 1.034.086 1.7.271 1.326.368 2.896 1.202 3.94 3.08a.5.5 0 0 0 .933-.305c-.464-3.71-1.886-5.662-3.46-6.66-1.245-.79-2.527-.942-3.336-.971v-.66a1.144 1.144 0 0 0-1.767-.96l-3.994 2.94a1.147 1.147 0 0 0 0 1.946l3.994 2.94a1.144 1.144 0 0 0 1.767-.96v-.667z"}}]})(A)}function mw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2z"}}]})(A)}function xw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8 15V1h6a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H8zm6 1a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12z"}}]})(A)}function vw(A){return gA({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"}}]})(A)}function yw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",stroke:"#000",strokeWidth:"2",d:"M4.99787498,8.99999999 L4.99787498,0.999999992 L19.4999998,0.999999992 L22.9999998,4.50000005 L23,23 L16,23 M18,1 L18,6 L23,6 M9,14 L9,11 M9,20 C10.6568542,20 12,18.6568542 12,17 C12,15.3431458 10.6568542,14 9,14 C7.34314575,14 6,15.3431458 6,17 C6,18.6568542 7.34314575,20 9,20 Z M9,23 L9,20 M12,17 L15,17 M3,17 L6,17 M5,13 L7,15 M11,19 L13,21 M13,13 L11,15 M7,19 L5,21"}}]})(A)}function bw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12,1.73A10.27,10.27,0,1,0,22.24,12,10.25,10.25,0,0,0,12,1.73ZM21,12a9,9,0,1,1-9-9A9,9,0,0,1,21,12Z"}},{tag:"path",attr:{d:"M8.8,11.05a1.55,1.55,0,1,0-1.51-1.5A1.56,1.56,0,0,0,8.8,11.05Z"}},{tag:"path",attr:{d:"M15.44,11.05a1.55,1.55,0,1,0,0-3.09,1.53,1.53,0,0,0-1.51,1.59A1.51,1.51,0,0,0,15.44,11.05Z"}},{tag:"path",attr:{d:"M12.19,16.35A6.58,6.58,0,0,1,6.9,13.5a5.71,5.71,0,0,0,5.3,4,5.54,5.54,0,0,0,5.31-4A6.27,6.27,0,0,1,12.19,16.35Z"}}]})(A)}function kw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",stroke:"#000",strokeWidth:"2",points:"7 2 17 12 7 22"}}]})(A)}function Mw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",stroke:"#000",strokeWidth:"2",points:"7 2 17 12 7 22",transform:"matrix(-1 0 0 1 24 0)"}}]})(A)}function ou(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M408 64H104a56.16 56.16 0 00-56 56v192a56.16 56.16 0 0056 56h40v80l93.72-78.14a8 8 0 015.13-1.86H408a56.16 56.16 0 0056-56V120a56.16 56.16 0 00-56-56z"}}]})(A)}function Nw(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M448 341.37V170.61A32 32 0 00432.11 143l-152-88.46a47.94 47.94 0 00-48.24 0L79.89 143A32 32 0 0064 170.61v170.76A32 32 0 0079.89 369l152 88.46a48 48 0 0048.24 0l152-88.46A32 32 0 00448 341.37z"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M69 153.99l187 110 187-110m-187 310v-200"}}]})(A)}function _w(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"48"}},{tag:"circle",attr:{cx:"416",cy:"256",r:"48"}},{tag:"circle",attr:{cx:"96",cy:"256",r:"48"}}]})(A)}function Fw(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"48"}},{tag:"circle",attr:{cx:"256",cy:"416",r:"48"}},{tag:"circle",attr:{cx:"256",cy:"96",r:"48"}}]})(A)}function Lw(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"44",d:"M358.62 129.28L86.49 402.08 70 442l39.92-16.49 272.8-272.13-24.1-24.1zm54.45-54.44l-11.79 11.78 24.1 24.1 11.79-11.79a16.51 16.51 0 000-23.34l-.75-.75a16.51 16.51 0 00-23.35 0z"}}]})(A)}function Sw(A){return gA({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M464 208L352 96 240 208m112-94.87V416M48 304l112 112 112-112m-112 94V96"}}]})(A)}function Pw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M14.12 10.47L12 12.59l-2.13-2.12-1.41 1.41L10.59 14l-2.12 2.12 1.41 1.41L12 15.41l2.12 2.12 1.41-1.41L13.41 14l2.12-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4zM6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9z"}}]})(A)}function Tw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 00-1.38-3.56A8.03 8.03 0 0118.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 015.08 16zm2.95-8H5.08a7.987 7.987 0 014.33-3.56A15.65 15.65 0 008.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 01-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"}}]})(A)}function Gw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}}]})(A)}function Hw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z"}}]})(A)}function Uw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}}]})(A)}function Rw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 16l-4 4h10v-4zM12.06 7.19L3 16.25V20h3.75l9.06-9.06-3.75-3.75zM5.92 18H5v-.92l7.06-7.06.92.92L5.92 18zM18.71 8.04a.996.996 0 000-1.41l-2.34-2.34a1.001 1.001 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}}]})(A)}function Yw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.49 22 2 17.51 2 12S6.49 2 12 2s10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67A2.5 2.5 0 0112 22zm0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5a.54.54 0 00-.14-.35c-.41-.46-.63-1.05-.63-1.65a2.5 2.5 0 012.5-2.5H16c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7z"}},{tag:"circle",attr:{cx:"6.5",cy:"11.5",r:"1.5"}},{tag:"circle",attr:{cx:"9.5",cy:"7.5",r:"1.5"}},{tag:"circle",attr:{cx:"14.5",cy:"7.5",r:"1.5"}},{tag:"circle",attr:{cx:"17.5",cy:"11.5",r:"1.5"}}]})(A)}function Kw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6.455 19L2 22.5V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6.455zm-.692-2H20V5H4v13.385L5.763 17zM11 10h2v2h-2v-2zm-4 0h2v2H7v-2zm8 0h2v2h-2v-2z"}}]}]})(A)}function Ow(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 15l-6 5.996L4.002 21A.998.998 0 0 1 3 20.007V3.993C3 3.445 3.445 3 3.993 3h16.014c.548 0 .993.456.993 1.002V15zM19 5H5v14h8v-5a1 1 0 0 1 .883-.993L14 13l5-.001V5zm-.829 9.999L15 15v3.169l3.171-3.17z"}}]}]})(A)}function Jw(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.828 7.757l-5.656 5.657a1 1 0 1 0 1.414 1.414l5.657-5.656A3 3 0 1 0 12 4.929l-5.657 5.657a5 5 0 1 0 7.071 7.07L19.071 12l1.414 1.414-5.657 5.657a7 7 0 1 1-9.9-9.9l5.658-5.656a5 5 0 0 1 7.07 7.07L12 16.244A3 3 0 1 1 7.757 12l5.657-5.657 1.414 1.414z"}}]}]})(A)}function qw(A){return gA({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 3l1.166-.624 8 5.333v1.248l-8 5.334-1.166-.624V3zm1.5 1.401v7.864l5.898-3.932L5.75 4.401z"}}]})(A)}function zw(A){return gA({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M2 2v12h12V2H2zm10.75 10.75h-9.5v-9.5h9.5v9.5z"}}]})(A)}function Ww(A){return gA({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M14 1H3L2 2v11l1 1h11l1-1V2l-1-1zM8 13H3V2h5v11zm6 0H9V2h5v11z"}}]})(A)}function $w(A){return gA({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M14 1H3L2 2v11l1 1h11l1-1V2l-1-1zm0 12H3V8h11v5zm0-6H3V2h11v5z"}}]})(A)}function jw(A){return gA({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1C2.44771 1 2 1.44772 2 2V13C2 13.5523 2.44772 14 3 14H10.5C10.7761 14 11 13.7761 11 13.5C11 13.2239 10.7761 13 10.5 13H3V2L10.5 2C10.7761 2 11 1.77614 11 1.5C11 1.22386 10.7761 1 10.5 1H3ZM12.6036 4.89645C12.4083 4.70118 12.0917 4.70118 11.8964 4.89645C11.7012 5.09171 11.7012 5.40829 11.8964 5.60355L13.2929 7H6.5C6.22386 7 6 7.22386 6 7.5C6 7.77614 6.22386 8 6.5 8H13.2929L11.8964 9.39645C11.7012 9.59171 11.7012 9.90829 11.8964 10.1036C12.0917 10.2988 12.4083 10.2988 12.6036 10.1036L14.8536 7.85355C15.0488 7.65829 15.0488 7.34171 14.8536 7.14645L12.6036 4.89645Z",fill:"currentColor"}}]})(A)}function Vw(A){return gA({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M8.69667 0.0403541C8.90859 0.131038 9.03106 0.354857 8.99316 0.582235L8.0902 6.00001H12.5C12.6893 6.00001 12.8625 6.10701 12.9472 6.27641C13.0319 6.4458 13.0136 6.6485 12.8999 6.80001L6.89997 14.8C6.76167 14.9844 6.51521 15.0503 6.30328 14.9597C6.09135 14.869 5.96888 14.6452 6.00678 14.4178L6.90974 9H2.49999C2.31061 9 2.13748 8.893 2.05278 8.72361C1.96809 8.55422 1.98636 8.35151 2.09999 8.2L8.09997 0.200038C8.23828 0.0156255 8.48474 -0.0503301 8.69667 0.0403541ZM3.49999 8.00001H7.49997C7.64695 8.00001 7.78648 8.06467 7.88148 8.17682C7.97648 8.28896 8.01733 8.43723 7.99317 8.5822L7.33027 12.5596L11.5 7.00001H7.49997C7.353 7.00001 7.21347 6.93534 7.11846 6.8232C7.02346 6.71105 6.98261 6.56279 7.00678 6.41781L7.66968 2.44042L3.49999 8.00001Z",fill:"currentColor"}}]})(A)}function Xw(A){return gA({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M12 13C12.5523 13 13 12.5523 13 12V3C13 2.44771 12.5523 2 12 2H3C2.44771 2 2 2.44771 2 3V6.5C2 6.77614 2.22386 7 2.5 7C2.77614 7 3 6.77614 3 6.5V3H12V12H8.5C8.22386 12 8 12.2239 8 12.5C8 12.7761 8.22386 13 8.5 13H12ZM9 6.5C9 6.5001 9 6.50021 9 6.50031V6.50035V9.5C9 9.77614 8.77614 10 8.5 10C8.22386 10 8 9.77614 8 9.5V7.70711L2.85355 12.8536C2.65829 13.0488 2.34171 13.0488 2.14645 12.8536C1.95118 12.6583 1.95118 12.3417 2.14645 12.1464L7.29289 7H5.5C5.22386 7 5 6.77614 5 6.5C5 6.22386 5.22386 6 5.5 6H8.5C8.56779 6 8.63244 6.01349 8.69139 6.03794C8.74949 6.06198 8.80398 6.09744 8.85143 6.14433C8.94251 6.23434 8.9992 6.35909 8.99999 6.49708L8.99999 6.49738",fill:"currentColor"}}]})(A)}function Zw(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 00-5.78 1.128 2.25 2.25 0 01-2.4 2.245 4.5 4.5 0 008.4-2.245c0-.399-.078-.78-.22-1.128zm0 0a15.998 15.998 0 003.388-1.62m-5.043-.025a15.994 15.994 0 011.622-3.395m3.42 3.42a15.995 15.995 0 004.764-4.648l3.876-5.814a1.151 1.151 0 00-1.597-1.597L14.146 6.32a15.996 15.996 0 00-4.649 4.763m3.42 3.42a6.776 6.776 0 00-3.42-3.42"}}]})(A)}function A3(A){return gA({tag:"svg",attr:{version:"1.1",viewBox:"0 0 17 17"},child:[{tag:"g",attr:{},child:[]},{tag:"path",attr:{d:"M6 8h-6v-6h1v4.109c1.013-3.193 4.036-5.484 7.5-5.484 3.506 0 6.621 2.36 7.574 5.739l-0.963 0.271c-0.832-2.95-3.551-5.011-6.611-5.011-3.226 0.001-6.016 2.276-6.708 5.376h4.208v1zM11 9v1h4.208c-0.693 3.101-3.479 5.375-6.708 5.375-3.062 0-5.78-2.061-6.611-5.011l-0.963 0.271c0.952 3.379 4.067 5.739 7.574 5.739 3.459 0 6.475-2.28 7.5-5.482v4.108h1v-6h-6z"}}]})(A)}function e3(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}},{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}}]})(A)}function t3(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"}}]})(A)}function o3(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"}}]})(A)}function r3(A){return gA({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 10h16M4 14h16M4 18h16"}}]})(A)}const n3=A=>K.createElement("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M12 8.5C16.9706 8.5 21 7.15685 21 5.5C21 3.84315 16.9706 2.5 12 2.5C7.02944 2.5 3 3.84315 3 5.5C3 7.15685 7.02944 8.5 12 8.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M21 12.5C21 14.16 17 15.5 12 15.5C7 15.5 3 14.16 3 12.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M3 5.5V19.5C3 21.16 7 22.5 12 22.5C17 22.5 21 21.16 21 19.5V5.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),i3=A=>g.jsx(n3,{...A}),s3=A=>K.createElement("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16px",height:"16px",viewBox:"0 0 16 16",...A},K.createElement("g",{id:"surface1"},K.createElement("path",{stroke:"none",fillRule:"nonzero",fillOpacity:1,d:"M 9.886719 5.171875 L 6.113281 8.941406 C 5.855469 9.203125 5.855469 9.625 6.113281 9.886719 C 6.375 10.144531 6.796875 10.144531 7.058594 9.886719 L 10.828125 6.113281 C 11.609375 5.332031 11.609375 4.066406 10.828125 3.285156 C 10.046875 2.503906 8.78125 2.503906 8 3.285156 L 4.230469 7.058594 C 2.925781 8.359375 2.925781 10.46875 4.230469 11.769531 C 5.53125 13.074219 7.640625 13.074219 8.941406 11.769531 L 12.714844 8 L 13.65625 8.941406 L 9.886719 12.714844 C 8.0625 14.535156 5.109375 14.535156 3.285156 12.714844 C 1.464844 10.890625 1.464844 7.9375 3.285156 6.113281 L 7.058594 2.34375 C 8.359375 1.042969 10.46875 1.042969 11.769531 2.34375 C 13.074219 3.644531 13.074219 5.753906 11.769531 7.058594 L 8 10.828125 C 7.21875 11.609375 5.953125 11.609375 5.171875 10.828125 C 4.390625 10.046875 4.390625 8.78125 5.171875 8 L 8.941406 4.230469 Z M 9.886719 5.171875 "}))),a3=A=>g.jsx(s3,{...A}),l3=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M10 13C10.4295 13.5741 10.9774 14.0491 11.6066 14.3929C12.2357 14.7367 12.9315 14.9411 13.6467 14.9923C14.3618 15.0435 15.0796 14.9403 15.7513 14.6897C16.4231 14.4392 17.0331 14.047 17.54 13.54L20.54 10.54C21.4508 9.59695 21.9548 8.33394 21.9434 7.02296C21.932 5.71198 21.4061 4.45791 20.4791 3.53087C19.5521 2.60383 18.298 2.07799 16.987 2.0666C15.676 2.0552 14.413 2.55918 13.47 3.46997L11.75 5.17997",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M14.0002 11.0012C13.5707 10.4271 13.0228 9.95202 12.3936 9.60826C11.7645 9.2645 11.0687 9.06009 10.3535 9.00887C9.63841 8.95765 8.92061 9.06083 8.24885 9.31142C7.5771 9.56201 6.96709 9.95413 6.4602 10.4612L3.4602 13.4612C2.54941 14.4042 2.04544 15.6672 2.05683 16.9782C2.06822 18.2892 2.59407 19.5433 3.52111 20.4703C4.44815 21.3973 5.70221 21.9232 7.01319 21.9346C8.32418 21.946 9.58719 21.442 10.5302 20.5312L12.2402 18.8212",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),g3={binding:"_binding_14mdd_1"},c3=A=>g.jsx(l3,{className:g3.binding,...A}),B3=A=>g.jsx(Au,{...A}),Q3=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M14 10.6669V5.33359C13.9998 5.09978 13.938 4.87013 13.821 4.6677C13.704 4.46527 13.5358 4.29717 13.3333 4.18026L8.66667 1.51359C8.46397 1.39657 8.23405 1.33496 8 1.33496C7.76595 1.33496 7.53603 1.39657 7.33333 1.51359L2.66667 4.18026C2.46418 4.29717 2.29599 4.46527 2.17897 4.6677C2.06196 4.87013 2.00024 5.09978 2 5.33359V10.6669C2.00024 10.9007 2.06196 11.1304 2.17897 11.3328C2.29599 11.5353 2.46418 11.7034 2.66667 11.8203L7.33333 14.4869C7.53603 14.604 7.76595 14.6656 8 14.6656C8.23405 14.6656 8.46397 14.604 8.66667 14.4869L13.3333 11.8203C13.5358 11.7034 13.704 11.5353 13.821 11.3328C13.938 11.1304 13.9998 10.9007 14 10.6669Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M2.18018 4.63965L8.00018 8.00632L13.8202 4.63965",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8 14.72V8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),u3=A=>g.jsx(Q3,{...A}),E3=A=>g.jsx(Gp,{...A}),d3=A=>g.jsx(X1,{...A}),C3=A=>g.jsx(Z1,{...A}),h3=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M8.6665 1.33301H3.99984C3.64622 1.33301 3.30708 1.47348 3.05703 1.72353C2.80698 1.97358 2.6665 2.31272 2.6665 2.66634V13.333C2.6665 13.6866 2.80698 14.0258 3.05703 14.2758C3.30708 14.5259 3.64622 14.6663 3.99984 14.6663H11.9998C12.3535 14.6663 12.6926 14.5259 12.9426 14.2758C13.1927 14.0258 13.3332 13.6866 13.3332 13.333V5.99967L8.6665 1.33301Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8.6665 1.33301V5.99967H13.3332",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M9.3335 10.6667L10.6668 9.33333L9.3335 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M6.6665 8.00033L5.33317 9.33366L6.6665 10.667",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),I3=A=>g.jsx(h3,{...A}),p3=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M14 10.6669V5.33359C13.9998 5.09978 13.938 4.87013 13.821 4.6677C13.704 4.46527 13.5358 4.29717 13.3333 4.18026L8.66667 1.51359C8.46397 1.39657 8.23405 1.33496 8 1.33496C7.76595 1.33496 7.53603 1.39657 7.33333 1.51359L2.66667 4.18026C2.46418 4.29717 2.29599 4.46527 2.17897 4.6677C2.06196 4.87013 2.00024 5.09978 2 5.33359V10.6669C2.00024 10.9007 2.06196 11.1304 2.17897 11.3328C2.29599 11.5353 2.46418 11.7034 2.66667 11.8203L7.33333 14.4869C7.53603 14.604 7.76595 14.6656 8 14.6656C8.23405 14.6656 8.46397 14.604 8.66667 14.4869L13.3333 11.8203C13.5358 11.7034 13.704 11.5353 13.821 11.3328C13.938 11.1304 13.9998 10.9007 14 10.6669Z",stroke:"#3B3B3B",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M5 2.80664L8 4.53997L11 2.80664",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M5 13.1933V9.73333L2 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M14 8L11 9.73333V13.1933",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M2.18018 4.63965L8.00018 8.00632L13.8202 4.63965",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8 14.72V8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),w3=A=>g.jsx(p3,{...A}),f3=A=>g.jsx(eu,{...A}),D3=A=>g.jsx(Uw,{...A}),m3=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M12 8C16.9706 8 21 6.65685 21 5C21 3.34315 16.9706 2 12 2C7.02944 2 3 3.34315 3 5C3 6.65685 7.02944 8 12 8Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M21 12C21 13.66 17 15 12 15C7 15 3 13.66 3 12",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M3 5V19C3 20.66 7 22 12 22C17 22 21 20.66 21 19V5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x3={database:"_database_14jkq_1"},v3=A=>g.jsx(m3,{className:x3.database,...A}),y3=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M9.33317 1.33301H3.99984C3.64622 1.33301 3.30708 1.47348 3.05703 1.72353C2.80698 1.97358 2.6665 2.31272 2.6665 2.66634V13.333C2.6665 13.6866 2.80698 14.0258 3.05703 14.2758C3.30708 14.5259 3.64622 14.6663 3.99984 14.6663H11.9998C12.3535 14.6663 12.6926 14.5259 12.9426 14.2758C13.1927 14.0258 13.3332 13.6866 13.3332 13.333V5.33301L9.33317 1.33301Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M9.3335 1.33301V5.33301H13.3335",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M10.6668 8.66699H5.3335",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M10.6668 11.333H5.3335",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M6.66683 6H6.00016H5.3335",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),b3=A=>g.jsx(y3,{...A}),k3=A=>K.createElement("svg",{width:22,height:28,viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1811_15061)"},K.createElement("path",{d:"M22.2271 7.38281L16.304 5.74219L14.6117 0H2.76551C1.36355 0 0.227051 1.10179 0.227051 2.46094V25.5391C0.227051 26.8982 1.36355 28 2.76551 28H19.6886C21.0906 28 22.2271 26.8982 22.2271 25.5391V7.38281Z",fill:"currentColor"}),K.createElement("path",{d:"M22.227 7.38281H16.3039C15.3731 7.38281 14.6116 6.64453 14.6116 5.74219V0C14.8316 0 15.0516 0.0820312 15.2038 0.246148L21.9731 6.80865C22.1423 6.95625 22.227 7.16953 22.227 7.38281Z",fill:"currentColor"}),K.createElement("path",{d:"M16.304 13.1797H6.15011C5.68241 13.1797 5.30396 12.8128 5.30396 12.3594C5.30396 11.906 5.68241 11.5391 6.15011 11.5391H16.304C16.7717 11.5391 17.1501 11.906 17.1501 12.3594C17.1501 12.8128 16.7717 13.1797 16.304 13.1797Z",fill:"white"}),K.createElement("path",{d:"M16.304 16.4609H6.15011C5.68241 16.4609 5.30396 16.094 5.30396 15.6406C5.30396 15.1872 5.68241 14.8203 6.15011 14.8203H16.304C16.7717 14.8203 17.1501 15.1872 17.1501 15.6406C17.1501 16.094 16.7717 16.4609 16.304 16.4609Z",fill:"white"}),K.createElement("path",{d:"M16.304 19.7422H6.15011C5.68241 19.7422 5.30396 19.3753 5.30396 18.9219C5.30396 18.4685 5.68241 18.1016 6.15011 18.1016H16.304C16.7717 18.1016 17.1501 18.4685 17.1501 18.9219C17.1501 19.3753 16.7717 19.7422 16.304 19.7422Z",fill:"white"}),K.createElement("path",{d:"M12.9193 23.0234H6.15011C5.68241 23.0234 5.30396 22.6565 5.30396 22.2031C5.30396 21.7497 5.68241 21.3828 6.15011 21.3828H12.9193C13.387 21.3828 13.7655 21.7497 13.7655 22.2031C13.7655 22.6565 13.387 23.0234 12.9193 23.0234Z",fill:"white"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1811_15061"},K.createElement("rect",{width:22,height:28,fill:"white"})))),ru=A=>g.jsx(k3,{...A}),M3=A=>g.jsx(_w,{...A}),N3=A=>g.jsx(Fw,{...A}),_3=A=>g.jsx(Hw,{...A}),F3=A=>K.createElement("svg",{viewBox:"0 0 30 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M7.58122 0H1C0.447715 0 0 0.447715 0 0.999999V21.0737H30V3.71273H12.0217L7.58122 0Z",fill:"#ADDAE9"}),K.createElement("path",{d:"M10.9928 0.157898H29C29.5523 0.157898 30 0.605613 30 1.1579V20C30 20.5523 29.5523 21 29 21H1.00002C0.447731 21 1.71661e-05 20.5523 1.71661e-05 20V3.93087C1.71661e-05 3.37858 0.447733 2.93087 1.00002 2.93087H6.55236L10.9928 0.157898Z",fill:"#CAE9F3"})),L3=A=>g.jsx(F3,{...A}),S3=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M21 16.0019V8.00186C20.9996 7.65113 20.9071 7.30667 20.7315 7.00302C20.556 6.69937 20.3037 6.44722 20 6.27186L13 2.27186C12.696 2.09632 12.3511 2.00391 12 2.00391C11.6489 2.00391 11.304 2.09632 11 2.27186L4 6.27186C3.69626 6.44722 3.44398 6.69937 3.26846 7.00302C3.09294 7.30667 3.00036 7.65113 3 8.00186V16.0019C3.00036 16.3526 3.09294 16.697 3.26846 17.0007C3.44398 17.3043 3.69626 17.5565 4 17.7319L11 21.7319C11.304 21.9074 11.6489 21.9998 12 21.9998C12.3511 21.9998 12.696 21.9074 13 21.7319L20 17.7319C20.3037 17.5565 20.556 17.3043 20.7315 17.0007C20.9071 16.697 20.9996 16.3526 21 16.0019Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M3.26953 6.96094L11.9995 12.0109L20.7295 6.96094",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M12 22.08V12",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),P3=A=>g.jsx(S3,{...A}),T3=A=>g.jsx(aw,{...A}),G3=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M22 3H2L10 12.46V19L14 21V12.46L22 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),H3=A=>g.jsx(G3,{...A}),U3=A=>K.createElement("svg",{viewBox:"0 0 30 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M7.58122 0H1C0.447715 0 0 0.447715 0 0.999999V21.0737H30V3.71273H12.0217L7.58122 0Z",fill:"#ADDAE9"}),K.createElement("rect",{x:1.2179,y:2.44446,width:28.0128,height:15.8889,fill:"white"}),K.createElement("path",{d:"M10.9928 1.1579H29C29.5523 1.1579 30 1.60561 30 2.1579V21C30 21.5523 29.5523 22 29 22H1.00002C0.447731 22 1.71661e-05 21.5523 1.71661e-05 21V4.93087C1.71661e-05 4.37858 0.447733 3.93087 1.00002 3.93087H6.55236L10.9928 1.1579Z",fill:"#CAE9F3"})),R3=A=>g.jsx(U3,{...A}),Y3=A=>g.jsx(Tw,{...A}),K3=A=>g.jsx(Wp,{...A}),O3=A=>g.jsx(Gw,{...A}),J3=A=>K.createElement("svg",{width:22,height:28,viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1960_14704)"},K.createElement("path",{d:"M22.2271 7.38281L16.304 5.74219L14.6117 0H1.91936C0.984697 0 0.227051 0.734508 0.227051 1.64062V26.3594C0.227051 27.2655 0.984697 28 1.91936 28H20.5347C21.4694 28 22.2271 27.2655 22.2271 26.3594V7.38281Z",fill:"#F2F2F2"}),K.createElement("path",{d:"M22.2271 7.38281V26.3594C22.2271 27.2655 21.4695 28 20.5348 28H11.3625V0H14.6117L16.304 5.74219L22.2271 7.38281Z",fill:"#F2F2F2"}),K.createElement("path",{d:"M22.227 7.38281H16.3039C15.3731 7.38281 14.6116 6.64453 14.6116 5.74219V0C14.8316 0 15.0516 0.0820312 15.2038 0.246148L21.9731 6.80865C22.1423 6.95625 22.227 7.16953 22.227 7.38281Z",fill:"#E1E1E1"}),K.createElement("path",{d:"M9 17L14.1962 21.5H3.80385L9 17Z",fill:"#8BDC6F"}),K.createElement("path",{d:"M13 14L18.1963 21.5H7.80396L13 14Z",fill:"#8BDC6F"}),K.createElement("circle",{cx:7,cy:11,r:2,fill:"#EFC942"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1960_14704"},K.createElement("rect",{width:22,height:28,fill:"white"})))),q3=A=>g.jsx(J3,{...A});function z3(A){return gA({tag:"svg",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 W3=A=>g.jsx(z3,{...A}),$3=A=>g.jsx(eu,{...A}),j3=A=>g.jsx(r3,{...A}),V3=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"})),X3=A=>g.jsx(V3,{...A}),Z3=A=>g.jsx(Vp,{...A}),A5=A=>K.createElement("svg",{viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1813_15242)"},K.createElement("path",{d:"M21.788 7.38281L16.3739 5.74219L14.827 0H3.22546C2.37112 0 1.67859 0.734508 1.67859 1.64062V26.3594C1.67859 27.2655 2.37112 28 3.22546 28H20.2411C21.0954 28 21.788 27.2655 21.788 26.3594V7.38281Z",fill:"#EDEDED"}),K.createElement("path",{d:"M21.7879 7.38281V26.3594C21.7879 27.2655 21.0954 28 20.2411 28H11.8571V0H14.827L16.3739 5.74219L21.7879 7.38281Z",fill:"#EDEDED"}),K.createElement("path",{d:"M21.788 7.38281H16.3739C15.5231 7.38281 14.827 6.64453 14.827 5.74219V0C15.0281 0 15.2292 0.0820312 15.3684 0.246148L21.5559 6.80865C21.7106 6.95625 21.788 7.16953 21.788 7.38281Z",fill:"#BDBDBD"}),K.createElement("path",{d:"M20.5333 22.4259C20.5333 22.925 20.1483 23.3333 19.6778 23.3333H0.855556C0.385 23.3333 0 22.925 0 22.4259V13.3519C0 12.8528 0.385 12.4445 0.855556 12.4445H19.6778C20.1483 12.4445 20.5333 12.8528 20.5333 13.3519V22.4259Z",fill:"#FF3E3E"}),K.createElement("path",{d:"M4.25304 17.732V16.448H4.98504C5.09304 16.448 5.19704 16.456 5.29704 16.472C5.39704 16.488 5.48504 16.52 5.56104 16.568C5.63704 16.612 5.69704 16.676 5.74104 16.76C5.78904 16.844 5.81304 16.954 5.81304 17.09C5.81304 17.226 5.78904 17.336 5.74104 17.42C5.69704 17.504 5.63704 17.57 5.56104 17.618C5.48504 17.662 5.39704 17.692 5.29704 17.708C5.19704 17.724 5.09304 17.732 4.98504 17.732H4.25304ZM3.31104 15.716V20H4.25304V18.464H5.24304C5.51104 18.464 5.73904 18.426 5.92704 18.35C6.11504 18.27 6.26704 18.166 6.38304 18.038C6.50304 17.91 6.58904 17.764 6.64104 17.6C6.69704 17.432 6.72504 17.262 6.72504 17.09C6.72504 16.914 6.69704 16.744 6.64104 16.58C6.58904 16.416 6.50304 16.27 6.38304 16.142C6.26704 16.014 6.11504 15.912 5.92704 15.836C5.73904 15.756 5.51104 15.716 5.24304 15.716H3.31104Z",fill:"white"}),K.createElement("path",{d:"M8.85499 19.208V16.508H9.52699C9.75899 16.508 9.95299 16.542 10.109 16.61C10.269 16.674 10.397 16.768 10.493 16.892C10.589 17.016 10.657 17.166 10.697 17.342C10.741 17.514 10.763 17.708 10.763 17.924C10.763 18.16 10.733 18.36 10.673 18.524C10.613 18.688 10.533 18.822 10.433 18.926C10.333 19.026 10.219 19.098 10.091 19.142C9.96299 19.186 9.83099 19.208 9.69499 19.208H8.85499ZM7.91299 15.716V20H9.76099C10.089 20 10.373 19.946 10.613 19.838C10.857 19.726 11.059 19.574 11.219 19.382C11.383 19.19 11.505 18.962 11.585 18.698C11.665 18.434 11.705 18.146 11.705 17.834C11.705 17.478 11.655 17.168 11.555 16.904C11.459 16.64 11.323 16.42 11.147 16.244C10.975 16.068 10.769 15.936 10.529 15.848C10.293 15.76 10.037 15.716 9.76099 15.716H7.91299Z",fill:"white"}),K.createElement("path",{d:"M12.9603 15.716V20H13.9023V18.23H15.6963V17.498H13.9023V16.508H15.9723V15.716H12.9603Z",fill:"white"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1813_15242"},K.createElement("rect",{width:22,height:28,fill:"white"})))),e5=A=>g.jsx(A5,{...A}),t5=A=>g.jsx(o3,{...A}),o5=A=>g.jsx(Xp,{...A}),r5=A=>K.createElement("svg",{viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1960_14734)"},K.createElement("path",{d:"M22.2271 7.38281L16.304 5.74219L14.6117 0H1.91936C0.984697 0 0.227051 0.734508 0.227051 1.64062V26.3594C0.227051 27.2655 0.984697 28 1.91936 28H20.5347C21.4694 28 22.2271 27.2655 22.2271 26.3594V7.38281Z",fill:"#F2F2F2"}),K.createElement("path",{d:"M22.2271 7.38281V26.3594C22.2271 27.2655 21.4695 28 20.5348 28H11.3625V0H14.6117L16.304 5.74219L22.2271 7.38281Z",fill:"#F2F2F2"}),K.createElement("path",{d:"M22.227 7.38281H16.3039C15.3731 7.38281 14.6116 6.64453 14.6116 5.74219V0C14.8316 0 15.0516 0.0820312 15.2038 0.246148L21.9731 6.80865C22.1423 6.95625 22.227 7.16953 22.227 7.38281Z",fill:"#E1E1E1"}),K.createElement("path",{d:"M9 17L14.1962 21.5H3.80385L9 17Z",fill:"#8BDC6F"}),K.createElement("path",{d:"M13 14L18.1963 21.5H7.80396L13 14Z",fill:"#8BDC6F"}),K.createElement("circle",{cx:7,cy:11,r:2,fill:"#EFC942"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1960_14734"},K.createElement("rect",{width:22,height:28,fill:"white"})))),n5=A=>g.jsx(r5,{...A}),i5=A=>g.jsx(Bw,{...A}),s5=A=>g.jsx(Aw,{...A}),a5=A=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M18 8C19.6569 8 21 6.65685 21 5C21 3.34315 19.6569 2 18 2C16.3431 2 15 3.34315 15 5C15 6.65685 16.3431 8 18 8Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M6 15C7.65685 15 9 13.6569 9 12C9 10.3431 7.65685 9 6 9C4.34315 9 3 10.3431 3 12C3 13.6569 4.34315 15 6 15Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M18 22C19.6569 22 21 20.6569 21 19C21 17.3431 19.6569 16 18 16C16.3431 16 15 17.3431 15 19C15 20.6569 16.3431 22 18 22Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8.58984 13.51L15.4198 17.49",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M15.4098 6.51001L8.58984 10.49",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),l5=A=>g.jsx(a5,{...A}),g5=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),K.createElement("path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7"})),c5=A=>g.jsx(g5,{...A}),B5=A=>g.jsx(Pw,{...A}),Q5=A=>K.createElement("svg",{width:22,height:28,viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1811_14941)"},K.createElement("path",{d:"M21.7881 7.38281L16.374 5.74219L14.8271 0H3.22559C2.37125 0 1.67871 0.734508 1.67871 1.64062V26.3594C1.67871 27.2655 2.37125 28 3.22559 28H20.2412C21.0956 28 21.7881 27.2655 21.7881 26.3594V7.38281Z",fill:"#EDEDED"}),K.createElement("path",{d:"M21.7881 7.38281V26.3594C21.7881 27.2655 21.0955 28 20.2412 28H11.8572V0H14.8271L16.374 5.74219L21.7881 7.38281Z",fill:"#EDEDED"}),K.createElement("path",{d:"M21.7881 7.38281H16.374C15.5232 7.38281 14.8271 6.64453 14.8271 5.74219V0C15.0282 0 15.2293 0.0820312 15.3685 0.246148L21.556 6.80865C21.7107 6.95625 21.7881 7.16953 21.7881 7.38281Z",fill:"#BDBDBD"}),K.createElement("path",{d:"M20.5333 22.4259C20.5333 22.925 20.1483 23.3333 19.6778 23.3333H0.855556C0.385 23.3333 0 22.925 0 22.4259V13.3519C0 12.8528 0.385 12.4444 0.855556 12.4444H19.6778C20.1483 12.4444 20.5333 12.8528 20.5333 13.3519V22.4259Z",fill:"#161C28"}),K.createElement("path",{d:"M4.62629 16.508V20H5.56828V16.508H6.85229V15.716H3.34229V16.508H4.62629Z",fill:"white"}),K.createElement("path",{d:"M8.99625 17.756L7.50225 20H8.55825L9.51225 18.518L10.4483 20H11.5703L10.0763 17.762L11.4503 15.716H10.4183L9.54825 17.084L8.70825 15.716H7.61625L8.99625 17.756Z",fill:"white"}),K.createElement("path",{d:"M13.4962 16.508V20H14.4382V16.508H15.7222V15.716H12.2122V16.508H13.4962Z",fill:"white"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1811_14941"},K.createElement("rect",{width:22,height:28,fill:"white"})))),u5=A=>g.jsx(Q5,{...A}),E5=A=>K.createElement("svg",{viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("g",{clipPath:"url(#clip0_1811_14989)"},K.createElement("path",{d:"M22.2271 7.38281L16.304 5.74219L14.6117 0H1.91936C0.984697 0 0.227051 0.734508 0.227051 1.64062V26.3594C0.227051 27.2655 0.984697 28 1.91936 28H20.5347C21.4694 28 22.2271 27.2655 22.2271 26.3594V7.38281Z",fill:"#C9E3F4"}),K.createElement("path",{d:"M22.2271 7.38281V26.3594C22.2271 27.2655 21.4695 28 20.5348 28H11.3625V0H14.6117L16.304 5.74219L22.2271 7.38281Z",fill:"#C9E3F4"}),K.createElement("path",{d:"M22.227 7.38281H16.3039C15.3731 7.38281 14.6116 6.64453 14.6116 5.74219V0C14.8316 0 15.0516 0.0820312 15.2038 0.246148L21.9731 6.80865C22.1423 6.95625 22.227 7.16953 22.227 7.38281Z",fill:"#AAC4D6"})),K.createElement("defs",null,K.createElement("clipPath",{id:"clip0_1811_14989"},K.createElement("rect",{width:22,height:28,fill:"white"})))),d5=A=>g.jsx(E5,{...A}),C5=A=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M10 12.4503C10.3236 12.894 10.7365 13.2612 11.2106 13.5269C11.6847 13.7926 12.209 13.9505 12.7479 13.9901C13.2868 14.0297 13.8277 13.95 14.3339 13.7563C14.8401 13.5626 15.2998 13.2596 15.6817 12.8677L17.9424 10.549C18.6287 9.82019 19.0084 8.84404 18.9999 7.83081C18.9913 6.81758 18.595 5.84834 17.8965 5.13185C17.1979 4.41536 16.2529 4.00895 15.265 4.00015C14.2771 3.99134 13.3254 4.38085 12.6148 5.08478L11.3187 6.4064",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M13 10.5497C12.6764 10.106 12.2635 9.73881 11.7894 9.47313C11.3153 9.20745 10.791 9.04946 10.2521 9.00987C9.7132 8.97029 9.17231 9.05004 8.66611 9.24371C8.15991 9.43738 7.70024 9.74045 7.31828 10.1323L5.05764 12.451C4.37132 13.1798 3.99156 14.156 4.00014 15.1692C4.00873 16.1824 4.40497 17.1517 5.10354 17.8681C5.80211 18.5846 6.7471 18.991 7.73498 18.9999C8.72287 19.0087 9.6746 18.6192 10.3852 17.9152L11.6738 16.5936",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M8.1582 2.67383L9.06952 5.30645",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M18.4316 17.667L16.8262 15.3902",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M5 5.28906L7.23775 6.94848",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M20.7402 14.2783L18.1301 13.3044",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),h5=A=>g.jsx(C5,{...A}),I5=A=>g.jsx(tu,{...A}),nu=A=>g.jsx(uw,{...A}),p5=A=>K.createElement("svg",{width:22,height:28,viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},K.createElement("path",{d:"M21.9982 7.38281L16.0756 5.74219L14.3835 0H1.69217C0.757586 0 0 0.734508 0 1.64062V26.3594C0 27.2655 0.757586 28 1.69217 28H20.3061C21.2407 28 21.9982 27.2655 21.9982 26.3594V7.38281Z",fill:"#59C36A"}),K.createElement("path",{d:"M21.9982 7.38281V26.3594C21.9982 27.2655 21.2406 28 20.306 28H11.1345V0H14.3834L16.0756 5.74219L21.9982 7.38281Z",fill:"#59C36A"}),K.createElement("path",{d:"M16.0753 11.5391H5.92226C5.4546 11.5391 5.07617 11.906 5.07617 12.3594V22.2031C5.07617 22.6565 5.4546 23.0234 5.92226 23.0234H16.0753C16.543 23.0234 16.9214 22.6565 16.9214 22.2031V12.3594C16.9214 11.906 16.543 11.5391 16.0753 11.5391ZM6.76834 16.4609H10.1527V18.1016H6.76834V16.4609ZM11.8449 16.4609H15.2292V18.1016H11.8449V16.4609ZM15.2292 14.8203H11.8449V13.1797H15.2292V14.8203ZM10.1527 13.1797V14.8203H6.76834V13.1797H10.1527ZM6.76834 19.7422H10.1527V21.3828H6.76834V19.7422ZM11.8449 21.3828V19.7422H15.2292V21.3828H11.8449Z",fill:"white"}),K.createElement("path",{d:"M16.0758 11.5391H11.1365V23.0234H16.0758C16.5435 23.0234 16.9219 22.6565 16.9219 22.2031V12.3594C16.9219 11.906 16.5435 11.5391 16.0758 11.5391ZM15.2297 21.3828H11.8454V19.7422H15.2297V21.3828ZM15.2297 18.1016H11.8454V16.4609H15.2297V18.1016ZM15.2297 14.8203H11.8454V13.1797H15.2297V14.8203Z",fill:"white"}),K.createElement("path",{d:"M21.9995 7.38281H16.0769C15.1462 7.38281 14.3848 6.64453 14.3848 5.74219V0C14.6047 0 14.8247 0.0820312 14.977 0.246148L21.7457 6.80865C21.9149 6.95625 21.9995 7.16953 21.9995 7.38281Z",fill:"#A0DEB0"})),w5=A=>g.jsx(p5,{...A});function f5(A){return gA({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.953 2C6.465 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.493 2 11.953 2zM12 20c-4.411 0-8-3.589-8-8s3.567-8 7.953-8C16.391 4 20 7.589 20 12s-3.589 8-8 8z"}},{tag:"path",attr:{d:"M11 7h2v7h-2zm0 8h2v2h-2z"}}]})(A)}const iu=A=>g.jsx(f5,{...A}),D5=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-trending-up",width:24,height:24,viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M3 17l6 -6l4 4l8 -8"}),K.createElement("path",{d:"M14 7l7 0l0 7"})),m5=A=>g.jsx(D5,{...A}),x5=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-trending-down",width:24,height:24,viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M3 7l6 6l4 -4l8 8"}),K.createElement("path",{d:"M21 10l0 7l-7 0"})),v5=A=>g.jsx(x5,{...A}),y5=A=>g.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:[g.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),g.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor"}),g.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),b5=A=>g.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:[g.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),g.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),g.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor"})]}),k5=A=>g.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:[g.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),g.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),g.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),M5=A=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"icon ms-1",...A},K.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),K.createElement("path",{d:"M5 12l14 0"})),N5=A=>g.jsx(M5,{...A}),da=new Map;function j(A,e){typeof A=="object"?A.forEach(t=>{da.set(t,{renderer:e})}):da.set(A,{renderer:e})}j("assign",A=>g.jsx(tu,{...A})),j("arrowup",A=>g.jsx(hw,{...A})),j("arrowleft",A=>g.jsx(dw,{...A})),j("arrowright",A=>g.jsx(Cw,{...A})),j("pause",A=>g.jsx(ww,{...A})),j("play",A=>g.jsx(fw,{...A})),j("hamburger",A=>g.jsx(gw,{...A})),j("send",A=>g.jsx(Qw,{...A})),j("users",A=>g.jsx(iw,{...A})),j("refresh",A=>g.jsx(Zp,{...A})),j("chevrondown",A=>g.jsx(Hp,{...A})),j("chevronup",A=>g.jsx(Up,{...A})),j("dotmenu",A=>g.jsx(N3,{...A})),j("dotmenuhorizontal",A=>g.jsx(M3,{...A})),j("noresult",A=>g.jsx(ew,{...A})),j("crm",A=>g.jsx(ou,{...A})),j("chat",A=>g.jsx(ou,{...A})),j("pencil",A=>g.jsx(Lw,{...A})),j("cube",A=>g.jsx(Nw,{...A})),j("apps",A=>g.jsx(Au,{...A})),j("permissions",A=>g.jsx($p,{...A})),j("close",A=>g.jsx(sw,{...A})),j("star",A=>g.jsx(tw,{...A})),j("help",A=>g.jsx(zp,{...A})),j("compactlist",A=>g.jsx(f3,{...A})),j("copy",A=>g.jsx(D3,{...A})),j("move",A=>g.jsx(Kp,{...A})),j("rename",A=>g.jsx(Rw,{...A})),j("hyperlink",A=>g.jsx(O3,{...A})),j("globe",A=>g.jsx(Y3,{...A})),j("link",A=>g.jsx(W3,{...A})),j("looseList",A=>g.jsx(j3,{...A})),j("options",A=>g.jsx(Z3,{...A})),j("search",A=>g.jsx(s5,{...A})),j("filter",A=>g.jsx(H3,{...A})),j("trash",A=>g.jsx(B5,{...A})),j("pen",A=>g.jsx(t5,{...A})),j("email",A=>g.jsx(_3,{...A})),j("phone",A=>g.jsx(o5,{...A})),j("home",A=>g.jsx(K3,{...A})),j("user",A=>g.jsx(I5,{...A})),j("exit",A=>g.jsx(jw,{...A})),j("adduser",A=>g.jsx(nw,{...A})),j("userminus",A=>g.jsx(rw,{...A})),j("plus",A=>g.jsx(i5,{...A})),j("plus-circle",A=>g.jsx(cw,{...A})),j("filledplus",A=>g.jsx(T3,{...A})),j("chevronright",A=>g.jsx(C3,{...A})),j("chevronleft",A=>g.jsx(d3,{...A})),j("checkmark",A=>g.jsx(E3,{...A})),j("valid",A=>g.jsx(Tp,{...A})),j("info",A=>g.jsx(Pp,{...A})),j("error",A=>g.jsx(iu,{...A})),j("warning",A=>g.jsx(nu,{...A})),j("board",A=>g.jsx(B3,{...A})),j("list",A=>g.jsx($3,{...A})),j("folder",A=>g.jsx(R3,{...A})),j("folder-outline",A=>g.jsx(Jp,{...A})),j("emptyfolder",A=>g.jsx(L3,{...A})),j("pdf",A=>g.jsx(e5,{...A})),j("txt",A=>g.jsx(u5,{...A})),j("doc",A=>g.jsx(ru,{...A})),j("docx",A=>g.jsx(ru,{...A})),j("doc-outline",A=>g.jsx(b3,{...A})),j("conf",A=>g.jsx(yw,{...A})),j("code",A=>g.jsx(I3,{...A})),j("codesandbox",A=>g.jsx(w3,{...A})),j("box",A=>g.jsx(u3,{...A})),j(["xls","xlsx"],A=>g.jsx(w5,{...A})),j(["jpg","jpeg","png","webp","svg","gif","tif","ppt","pptx"],A=>g.jsx(q3,{...A})),j("unknownfile",A=>g.jsx(d5,{...A})),j("photo",A=>g.jsx(n5,{...A})),j("previous",A=>g.jsx(Mw,{...A})),j("next",A=>g.jsx(kw,{...A})),j("like",A=>g.jsx(lw,{...A})),j("reply",A=>g.jsx(Dw,{...A})),j("attach",A=>g.jsx(a3,{...A})),j("attach2",A=>g.jsx(Jw,{...A})),j("emoji",A=>g.jsx(bw,{...A})),j("message",A=>g.jsx(Kw,{...A})),j("upload",A=>g.jsx(ow,{...A})),j("split-vertical",A=>g.jsx($w,{...A})),j("split-horizontal",A=>g.jsx(Ww,{...A})),j("swap",A=>g.jsx(Sw,{...A})),j("download",A=>g.jsx(Op,{...A})),j("note",A=>g.jsx(Ow,{...A})),j("binding",A=>g.jsx(c3,{...A})),j("database",A=>g.jsx(v3,{...A})),j("unlink",A=>g.jsx(h5,{...A})),j("api",A=>g.jsx(i3,{...A})),j("expression",A=>g.jsx(P3,{...A})),j("chat",A=>g.jsx(Iw,{...A})),j("hash",A=>g.jsx(pw,{...A})),j("drive",A=>g.jsx(qp,{...A})),j("lock",A=>g.jsx(jp,{...A})),j("start",A=>g.jsx(qw,{...A})),j("stop",A=>g.jsx(zw,{...A})),j("restart",A=>g.jsx(A3,{...A})),j("duplicate",A=>g.jsx(t3,{...A})),j("connect",A=>g.jsx(Vw,{...A})),j("cog",A=>g.jsx(e3,{...A})),j("sun",A=>g.jsx(c5,{...A})),j("moon",A=>g.jsx(X3,{...A})),j("share",A=>g.jsx(l5,{...A})),j("new-window",A=>g.jsx(Xw,{...A})),j("paint",A=>g.jsx(Zw,{...A})),j("palette",A=>g.jsx(Yw,{...A})),j("trending-up",A=>g.jsx(m5,{...A})),j("trending-down",A=>g.jsx(v5,{...A})),j("trending-level",A=>g.jsx(N5,{...A})),j("sortasc",A=>g.jsx(y5,{...A})),j("sortdesc",A=>g.jsx(b5,{...A})),j("nosort",A=>g.jsx(k5,{...A})),j("arrowdown",A=>g.jsx(Ew,{...A})),j("square",A=>g.jsx(vw,{...A})),j("squarehalf",A=>g.jsx(xw,{...A})),j("squarefill",A=>g.jsx(mw,{...A}));function _5({children:A}){const e=E.useCallback(()=>Array.from(da.keys()),[]),t=E.useCallback(l=>da.get(l),[]),[o,r]=E.useState({}),n=E.useRef({}),i=E.useRef(null),s=E.useCallback(async l=>{if(n.current[l])return;const c=await(await fetch(l)).text(),B=document.createElement("div");B.style.display="none",B.innerHTML=c;const Q={};for(let C=0;C<B.children[0].attributes.length;C++){const h=B.children[0].attributes[C];h.nodeName!=="class"&&(Q[h.nodeName]=h.nodeValue)}Object.keys(Q).forEach(C=>{B.children[0].removeAttribute(C)});const u=document.createElementNS("http://www.w3.org/2000/svg","symbol");u.innerHTML=B.children[0].innerHTML,u.id=l,u.setAttributeNS(null,"viewBox",Q.viewBox),n.current[l]||(i.current.appendChild(u),n.current[l]=!0);const d={name:l,attributes:Q};r(C=>({...C,[l]:d}))},[]),a=E.useMemo(()=>({getRegisteredIconNames:e,lookupIconRenderer:t,ensureCustomSvgIcon:s,customSvgs:o}),[o,s,e,t]);return g.jsxs(m1.Provider,{value:a,children:[A,g.jsx("svg",{style:{display:"none"},ref:i})]})}const su=E.createContext(null);function F5(){return E.useContext(su)}function L5(A){return(A?new Date(A):new Date).toJSON()}function S5(A){return new Date(A).toLocaleDateString()}function P5(A){return new Date(A).toLocaleString()}function T5(A){return new Date(A).toLocaleTimeString()}function G5(A){return Ae.format(new Date(A),"H:m")}function H5(A){return new Date(A).toLocaleDateString([],{month:"numeric",day:"2-digit"})}function au(A){return A?new Date(A):new Date}function U5(A,e,t){return A?y4(A,e,t):"-"}function R5(A){return A?Ae.isToday(new Date(A))?new Date(A).toLocaleTimeString():Ae.isThisWeek(new Date(A))?`${Ae.formatRelative(new Date(A),new Date)}`:new Date(A).toLocaleString():"-"}function Y5(A){return A?Ae.isToday(new Date(A))?"Today":Ae.isYesterday(new Date(A))?"Yesterday":new Date(A).toLocaleDateString():"-"}function K5(A){return Ae.isToday(new Date(A))}function O5(A){return Ae.isYesterday(new Date(A))}function J5(A){return Ae.isTomorrow(new Date(A))}const lu={isoDateString:L5,formatDate:S5,formatDateTime:P5,formatTime:T5,formatTimeWithoutSeconds:G5,formatDateWithoutYear:H5,getDate:au,getDateUntilNow:U5,smartFormatDateTime:R5,smartFormatDate:Y5,isToday:K5,isYesterday:O5,isTomorrow:J5},gu={capitalize:QA.capitalize,pluralize:P4,defaultTo:QA.defaultTo,toHashObject:T4,findByField:G4},Xt={themeVars:'"[]"',base:"_base_gzmhm_13",hoverContainer:"_hoverContainer_gzmhm_22",handlesClick:"_handlesClick_gzmhm_32",vertical:"_vertical_gzmhm_36",reverse:"_reverse_gzmhm_40",horizontal:"_horizontal_gzmhm_44",justifyItemsStart:"_justifyItemsStart_gzmhm_52",justifyItemsCenter:"_justifyItemsCenter_gzmhm_56",justifyItemsStretch:"_justifyItemsStretch_gzmhm_60",justifyItemsEnd:"_justifyItemsEnd_gzmhm_64",alignItemsStart:"_alignItemsStart_gzmhm_69",alignItemsCenter:"_alignItemsCenter_gzmhm_73",alignItemsStretch:"_alignItemsStretch_gzmhm_77",alignItemsEnd:"_alignItemsEnd_gzmhm_81"};function Z({description:A,shortDescription:e,specializedFrom:t,status:o,props:r,events:n,contextVars:i,apis:s,nonVisual:a,opaque:l,themeVars:c,defaultThemeVars:B,toneSpecificThemeVars:Q,allowArbitraryProps:u,docFolder:d}){return{description:A,shortDescription:e,specializedFrom:t,status:o,props:r,events:n,contextVars:i,apis:s,nonVisual:a,opaque:l,themeVars:c,defaultThemeVars:B,toneSpecificThemeVars:Q,allowArbitraryProps:u,docFolder:d}}function f(A,e,t,o,r){return{description:A,availableValues:e,valueType:t,defaultValue:o,isValid:r}}function _r(A){return{description:A??"This property is for internal use only.",isInternal:!0}}function nr(A){return{description:`This event is triggered when the ${A} is clicked.`}}function wt(A){return{description:`This event is triggered when the ${A} has received the focus.`}}function ft(A){return{description:`This event is triggered when the ${A} has lost the focus.`}}function lt(A){return{description:`This event is triggered when value of ${A} has changed.`}}function cu(){return{description:"The `true` value of this property signals that the component is in an _intedeterminate state_."}}function Je(){return{description:"This property sets the label of the component."}}function Ho(A){return{description:"Places the label at the given position of the component.",availableValues:N1,defaultValue:A}}function ir(A){return{description:`This property sets the width of the \`${A}\`.`}}function sr(A){return{description:`This boolean value indicates if the \`${A}\` labels can be split into multiple lines if it would overflow the available label width.`,valueType:"boolean",defaultValue:!1}}function Dt(){return{description:"If this property is set to `true`, the component gets the focus automatically when displayed.",valueType:"boolean",defaultValue:!1}}function Zt(A){return{description:"This property sets the component's initial value.",defaultValue:A}}function Bo(){return{description:"Set this property to `true` to disallow changing the component value."}}function Ze(){return{description:"This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).",valueType:"boolean",defaultValue:!0}}function Bu(){return{description:"The `true` value of the property indicates if the user can select multiple items.",valueType:"boolean",defaultValue:!1}}function Qo(){return{description:"This property allows you to set the validation status of the input component.",availableValues:J2}}function Qu(){return{description:"You can query this read-only API property to query the component's current value (`true`: checked, `false`: unchecked)."}}function Uo(){return{description:"You can use this method to set the component's current value programmatically (`true`: checked, `false`: unchecked)."}}function se(A){return{description:A,valueType:"ComponentDef"}}function Fr(){return{description:"A placeholder text that is visible in the input field when its empty."}}function ui(){return{description:"This property sets the maximum length of the input it accepts."}}function uo(){return{description:"Set this property to `true` to indicate it must have a value before submitting the containing form."}}function uu(){return{description:"This property sets a text to appear at the start (left side when the left-to-right direction is set) of the input."}}function Eu(){return{description:"This property sets an icon to appear at the start (left side when the left-to-right direction is set) of the input."}}function du(){return{description:"This property sets a text to appear on the end (right side when the left-to-right direction is set) of the input."}}function Cu(){return{description:"This property sets an icon to appear on the end (right side when the left-to-right direction is set) of the input."}}function q5(A){return{description:`This property indicates if the ${A} is expanded (\`true\`) or collapsed (\`false\`).`}}function z5(A){return{description:`This method expands the ${A}.`}}function W5(A){return{description:`This method collapses the ${A}.`}}function Eo(A){return{description:`This method sets the focus on the ${A}.`}}function Ug(){return{description:"You can query the component's value. If no value is set, it will retrieve `undefined`."}}function $5(A){return{description:`This event is triggered when the ${A} has been displayed. The event handler has a single boolean argument set to \`true\`, indicating that the user opened the component.`}}function j5(A){return{description:`This event is triggered when the ${A} has been closed. The event handler has a single boolean argument set to \`true\`, indicating that the user closed the component.`}}function hu(A){return{description:`This property allows you to define a custom trigger instead of the default one provided by \`${A}\`.`,valueType:"ComponentDef"}}function V5(A){return{description:"This property sets the main axis along which the nested components are rendered.",availableValues:Lg,valueType:"string",defaultValue:A}}function X5(A,e,t){return E.useMemo(()=>A==="horizontal"?{horizontal:e&&Xt[`justifyItems${ni(e)}`],vertical:t&&Xt[`alignItems${ni(t)}`]}:{horizontal:e&&Xt[`alignItems${ni(e)}`],vertical:t&&Xt[`justifyItems${ni(t)}`]},[A,e,t])}const Iu="vertical",gt=E.forwardRef(function({uid:e,children:t,orientation:o=Iu,horizontalAlignment:r,verticalAlignment:n,layout:i,reverse:s,hoverContainer:a,visibleOnHover:l,onClick:c,onMount:B,...Q},u){E8(B);const{horizontal:d,vertical:C}=X5(o,r,n);return g.jsx("div",{...Q,onClick:c,ref:u,style:i,className:cA(Xt.base,{[Xt.vertical]:o==="vertical",[Xt.horizontal]:o==="horizontal",[Xt.reverse]:s,[Xt.hoverContainer]:a,"display-on-hover":l,[Xt.handlesClick]:!!c},d??"",C??""),children:t})}),un="Stack",Rg=f("Manages the horizontal content alignment for each child element in the Stack."),Yg=f("Manages the vertical content alignment for each child element in the Stack."),Ca=Z({description:"`Stack` is a layout container displaying children in a horizontal or vertical stack.",props:{gap:f("Optional size value indicating the gap between child elements."),reverse:f("Optional boolean property to reverse the order of child elements."),wrapContent:f("Optional boolean which wraps the content if set to true and the available space is not big enough. Works in all orientations."),hoverContainer:f("Reserved for future use"),visibleOnHover:f("Reserved for future use")},events:{click:nr(un),mounted:f("Reserved for future use")},themeVars:pA(Xt.themeVars)}),Ei={...Ca,props:{...Ca.props,orientation:f("An optional property that governs the Stack's orientation (whether the Stack lays out its children in a row or a column)."),horizontalAlignment:Rg,verticalAlignment:Yg}},Z5={...Ei,specializedFrom:un,description:"This component represents a stack rendering its contents vertically.",props:{...Ca.props,horizontalAlignment:Rg,verticalAlignment:Yg}},A6={...Ei,specializedFrom:un,description:"This component represents a stack rendering its contents horizontally.",props:{...Ca.props,horizontalAlignment:Rg,verticalAlignment:Yg}},e6={...Ei,specializedFrom:un,description:"This component represents a stack that renders its contents vertically and aligns that in the center along both axes."},t6={...Ei,specializedFrom:un,description:"This component represents a stack that renders its contents horizontally and aligns that in the center along both axes."};function di({node:A,layoutNonCss:e,extractValue:t,layoutCss:o,lookupEventHandler:r,renderChild:n,orientation:i=e.orientation||Iu,horizontalAlignment:s=e.horizontalAlignment,verticalAlignment:a=e.verticalAlignment}){var l,c,B;if(!Eg(A.children))throw new Bi;return g.jsx(gt,{orientation:i,horizontalAlignment:s,verticalAlignment:a,reverse:t((l=A.props)==null?void 0:l.reverse),hoverContainer:t((c=A.props)==null?void 0:c.hoverContainer),visibleOnHover:t((B=A.props)==null?void 0:B.visibleOnHover),layout:o,onMount:r("mounted"),children:n(A.children,{type:"Stack",orientation:i})})}const o6=AA(un,Ei,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t})),r6=AA("VStack",Z5,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t,orientation:"vertical"})),n6=AA("HStack",A6,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t,orientation:"horizontal"})),i6=AA("CVStack",e6,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t,orientation:"vertical",horizontalAlignment:"center",verticalAlignment:"center"})),s6=AA("CHStack",t6,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>di({node:A,layoutNonCss:r,extractValue:e,layoutCss:o,lookupEventHandler:n,renderChild:t,orientation:"horizontal",horizontalAlignment:"center",verticalAlignment:"center"})),pu={themeVars:'"[]"',spacer:"_spacer_1414d_13"},wu=()=>g.jsx("div",{className:pu.spacer}),fu="SpaceFiller",a6=Z({description:`The \`${fu}\` is a component that works well in layout containers to fill the remaining (unused) space. Its behavior depends on the layout container in which it is used.`,themeVars:pA(pu.themeVars)}),l6=AA(fu,a6,()=>g.jsx(wu,{})),Co={themeVars:`'{"Input:radius-Textarea-default": "var(--xmlui-radius-Textarea-default)", "Input:color-border-Textarea-default": "var(--xmlui-color-border-Textarea-default)", "Input:thickness-border-Textarea-default": "var(--xmlui-thickness-border-Textarea-default)", "Input:style-border-Textarea-default": "var(--xmlui-style-border-Textarea-default)", "Input:font-size-Textarea-default": "var(--xmlui-font-size-Textarea-default)", "Input:padding-Textarea-default": "var(--xmlui-padding-Textarea-default)", "Input:color-bg-Textarea-default": "var(--xmlui-color-bg-Textarea-default)", "Input:shadow-Textarea-default": "var(--xmlui-shadow-Textarea-default)", "Input:color-text-Textarea-default": "var(--xmlui-color-text-Textarea-default)", "Input:color-border-Textarea-default--hover": "var(--xmlui-color-border-Textarea-default--hover)", "Input:color-bg-Textarea-default--hover": "var(--xmlui-color-bg-Textarea-default--hover)", "Input:shadow-Textarea-default--hover": "var(--xmlui-shadow-Textarea-default--hover)", "Input:color-text-Textarea-default--hover": "var(--xmlui-color-text-Textarea-default--hover)", "Input:color-border-Textarea-default--focus": "var(--xmlui-color-border-Textarea-default--focus)", "Input:color-bg-Textarea-default--focus": "var(--xmlui-color-bg-Textarea-default--focus)", "Input:shadow-Textarea-default--focus": "var(--xmlui-shadow-Textarea-default--focus)", "Input:color-text-Textarea-default--focus": "var(--xmlui-color-text-Textarea-default--focus)", "Input:thickness-outline-Textarea-default--focus": "var(--xmlui-thickness-outline-Textarea-default--focus)", "Input:color-outline-Textarea-default--focus": "var(--xmlui-color-outline-Textarea-default--focus)", "Input:style-outline-Textarea-default--focus": "var(--xmlui-style-outline-Textarea-default--focus)", "Input:offset-outline-Textarea-default--focus": "var(--xmlui-offset-outline-Textarea-default--focus)", "Input:color-placeholder-Textarea-default": "var(--xmlui-color-placeholder-Textarea-default)", "Input:radius-Textarea-error": "var(--xmlui-radius-Textarea-error)", "Input:color-border-Textarea-error": "var(--xmlui-color-border-Textarea-error)", "Input:thickness-border-Textarea-error": "var(--xmlui-thickness-border-Textarea-error)", "Input:style-border-Textarea-error": "var(--xmlui-style-border-Textarea-error)", "Input:font-size-Textarea-error": "var(--xmlui-font-size-Textarea-error)", "Input:padding-Textarea-error": "var(--xmlui-padding-Textarea-error)", "Input:color-bg-Textarea-error": "var(--xmlui-color-bg-Textarea-error)", "Input:shadow-Textarea-error": "var(--xmlui-shadow-Textarea-error)", "Input:color-text-Textarea-error": "var(--xmlui-color-text-Textarea-error)", "Input:color-border-Textarea-error--hover": "var(--xmlui-color-border-Textarea-error--hover)", "Input:color-bg-Textarea-error--hover": "var(--xmlui-color-bg-Textarea-error--hover)", "Input:shadow-Textarea-error--hover": "var(--xmlui-shadow-Textarea-error--hover)", "Input:color-text-Textarea-error--hover": "var(--xmlui-color-text-Textarea-error--hover)", "Input:color-border-Textarea-error--focus": "var(--xmlui-color-border-Textarea-error--focus)", "Input:color-bg-Textarea-error--focus": "var(--xmlui-color-bg-Textarea-error--focus)", "Input:shadow-Textarea-error--focus": "var(--xmlui-shadow-Textarea-error--focus)", "Input:color-text-Textarea-error--focus": "var(--xmlui-color-text-Textarea-error--focus)", "Input:thickness-outline-Textarea-error--focus": "var(--xmlui-thickness-outline-Textarea-error--focus)", "Input:color-outline-Textarea-error--focus": "var(--xmlui-color-outline-Textarea-error--focus)", "Input:style-outline-Textarea-error--focus": "var(--xmlui-style-outline-Textarea-error--focus)", "Input:offset-outline-Textarea-error--focus": "var(--xmlui-offset-outline-Textarea-error--focus)", "Input:color-placeholder-Textarea-error": "var(--xmlui-color-placeholder-Textarea-error)", "Input:radius-Textarea-warning": "var(--xmlui-radius-Textarea-warning)", "Input:color-border-Textarea-warning": "var(--xmlui-color-border-Textarea-warning)", "Input:thickness-border-Textarea-warning": "var(--xmlui-thickness-border-Textarea-warning)", "Input:style-border-Textarea-warning": "var(--xmlui-style-border-Textarea-warning)", "Input:font-size-Textarea-warning": "var(--xmlui-font-size-Textarea-warning)", "Input:padding-Textarea-warning": "var(--xmlui-padding-Textarea-warning)", "Input:color-bg-Textarea-warning": "var(--xmlui-color-bg-Textarea-warning)", "Input:shadow-Textarea-warning": "var(--xmlui-shadow-Textarea-warning)", "Input:color-text-Textarea-warning": "var(--xmlui-color-text-Textarea-warning)", "Input:color-border-Textarea-warning--hover": "var(--xmlui-color-border-Textarea-warning--hover)", "Input:color-bg-Textarea-warning--hover": "var(--xmlui-color-bg-Textarea-warning--hover)", "Input:shadow-Textarea-warning--hover": "var(--xmlui-shadow-Textarea-warning--hover)", "Input:color-text-Textarea-warning--hover": "var(--xmlui-color-text-Textarea-warning--hover)", "Input:color-border-Textarea-warning--focus": "var(--xmlui-color-border-Textarea-warning--focus)", "Input:color-bg-Textarea-warning--focus": "var(--xmlui-color-bg-Textarea-warning--focus)", "Input:shadow-Textarea-warning--focus": "var(--xmlui-shadow-Textarea-warning--focus)", "Input:color-text-Textarea-warning--focus": "var(--xmlui-color-text-Textarea-warning--focus)", "Input:thickness-outline-Textarea-warning--focus": "var(--xmlui-thickness-outline-Textarea-warning--focus)", "Input:color-outline-Textarea-warning--focus": "var(--xmlui-color-outline-Textarea-warning--focus)", "Input:style-outline-Textarea-warning--focus": "var(--xmlui-style-outline-Textarea-warning--focus)", "Input:offset-outline-Textarea-warning--focus": "var(--xmlui-offset-outline-Textarea-warning--focus)", "Input:color-placeholder-Textarea-warning": "var(--xmlui-color-placeholder-Textarea-warning)", "Input:radius-Textarea-success": "var(--xmlui-radius-Textarea-success)", "Input:color-border-Textarea-success": "var(--xmlui-color-border-Textarea-success)", "Input:thickness-border-Textarea-success": "var(--xmlui-thickness-border-Textarea-success)", "Input:style-border-Textarea-success": "var(--xmlui-style-border-Textarea-success)", "Input:font-size-Textarea-success": "var(--xmlui-font-size-Textarea-success)", "Input:padding-Textarea-success": "var(--xmlui-padding-Textarea-success)", "Input:color-bg-Textarea-success": "var(--xmlui-color-bg-Textarea-success)", "Input:shadow-Textarea-success": "var(--xmlui-shadow-Textarea-success)", "Input:color-text-Textarea-success": "var(--xmlui-color-text-Textarea-success)", "Input:color-border-Textarea-success--hover": "var(--xmlui-color-border-Textarea-success--hover)", "Input:color-bg-Textarea-success--hover": "var(--xmlui-color-bg-Textarea-success--hover)", "Input:shadow-Textarea-success--hover": "var(--xmlui-shadow-Textarea-success--hover)", "Input:color-text-Textarea-success--hover": "var(--xmlui-color-text-Textarea-success--hover)", "Input:color-border-Textarea-success--focus": "var(--xmlui-color-border-Textarea-success--focus)", "Input:color-bg-Textarea-success--focus": "var(--xmlui-color-bg-Textarea-success--focus)", "Input:shadow-Textarea-success--focus": "var(--xmlui-shadow-Textarea-success--focus)", "Input:color-text-Textarea-success--focus": "var(--xmlui-color-text-Textarea-success--focus)", "Input:thickness-outline-Textarea-success--focus": "var(--xmlui-thickness-outline-Textarea-success--focus)", "Input:color-outline-Textarea-success--focus": "var(--xmlui-color-outline-Textarea-success--focus)", "Input:style-outline-Textarea-success--focus": "var(--xmlui-style-outline-Textarea-success--focus)", "Input:offset-outline-Textarea-success--focus": "var(--xmlui-offset-outline-Textarea-success--focus)", "Input:color-placeholder-Textarea-success": "var(--xmlui-color-placeholder-Textarea-success)", "Input:color-bg-Textarea--disabled": "var(--xmlui-color-bg-Textarea--disabled)", "Input:color-text-Textarea--disabled": "var(--xmlui-color-text-Textarea--disabled)", "Input:color-border-Textarea--disabled": "var(--xmlui-color-border-Textarea--disabled)"}'`,textarea:"_textarea_8qfuq_13",error:"_error_8qfuq_53",warning:"_warning_8qfuq_85",valid:"_valid_8qfuq_117",resizeHorizontal:"_resizeHorizontal_8qfuq_156",resizeVertical:"_resizeVertical_8qfuq_160",resizeBoth:"_resizeBoth_8qfuq_164"},Du=(A,e)=>{if(typeof A=="function"){A(e);return}A.current=e},g6=(A,e)=>{const t=K.useRef();return K.useCallback(o=>{A.current=o,t.current&&Du(t.current,null),t.current=e,e&&Du(e,o)},[e])},c6=()=>{},B6=({maxRows:A,minRows:e,onChange:t=c6,style:o,...r},n)=>{const i=E.useRef(null),s=g6(i,n),[a,l]=K.useState(),[c,B]=K.useState();return E.useEffect(()=>{if(!i.current)return;const Q=getComputedStyle(i.current),u=parseFloat(Q.lineHeight),d=parseFloat(Q.paddingTop)+parseFloat(Q.paddingBottom),C=parseFloat(Q.borderTop)+parseFloat(Q.borderBottom),h=(Q.boxSizing==="border-box"?C:0)+d;l(u*(e??1)+h),B(u*(A??1e4)+h)},[i.current,A,e]),g.jsx("textarea",{ref:s,...r,onChange:t,style:{...o,minHeight:a,maxHeight:c}})},Q6=K.forwardRef(B6),Ft={themeVars:`'{"color-text-FormItemLabel": "var(--xmlui-color-text-FormItemLabel)", "font-size-FormItemLabel": "var(--xmlui-font-size-FormItemLabel)", "font-weight-FormItemLabel": "var(--xmlui-font-weight-FormItemLabel)", "font-style-FormItemLabel": "var(--xmlui-font-style-FormItemLabel)", "transform-text-FormItemLabel": "var(--xmlui-transform-text-FormItemLabel)", "color-text-FormItemLabel-required": "var(--xmlui-color-text-FormItemLabel-required)", "font-size-FormItemLabel-required": "var(--xmlui-font-size-FormItemLabel-required)", "font-weight-FormItemLabel-required": "var(--xmlui-font-weight-FormItemLabel-required)", "font-style-FormItemLabel-required": "var(--xmlui-font-style-FormItemLabel-required)", "transform-text-FormItemLabel-required": "var(--xmlui-transform-text-FormItemLabel-required)", "color-text-FormItemLabel-requiredMark": "var(--xmlui-color-text-FormItemLabel-requiredMark)"}'`,container:"_container_1ylw9_13",top:"_top_1ylw9_20",end:"_end_1ylw9_25",bottom:"_bottom_1ylw9_31",start:"_start_1ylw9_36",shrinkToLabel:"_shrinkToLabel_1ylw9_42",inputLabel:"_inputLabel_1ylw9_45",disabled:"_disabled_1ylw9_57",labelBreak:"_labelBreak_1ylw9_61",required:"_required_1ylw9_65",requiredMark:"_requiredMark_1ylw9_72"},Kg={themeVars:`'{"size-Spinner": "var(--xmlui-size-Spinner)", "thickness-Spinner": "var(--xmlui-thickness-Spinner)", "color-border-Spinner": "var(--xmlui-color-border-Spinner)"}'`,"lds-ring":"_lds-ring_xu4p3_13",fullScreenSpinnerWrapper:"_fullScreenSpinnerWrapper_xu4p3_54"};function ha({delay:A=400,fullScreen:e=!1,style:t}){const[o,r]=E.useState(A===0);E.useEffect(()=>{const i=setTimeout(()=>{r(!0)},A);return()=>{clearTimeout(i)}},[A]);const n=g.jsx(g.Fragment,{children:g.jsxs("div",{className:Kg["lds-ring"],style:t,children:[g.jsx("div",{}),g.jsx("div",{}),g.jsx("div",{}),g.jsx("div",{})]})});return o?e?g.jsx("div",{className:Kg.fullScreenSpinnerWrapper,children:n}):n:null}function Ia(){return Ia=Object.assign?Object.assign.bind():function(A){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var o in t)({}).hasOwnProperty.call(t,o)&&(A[o]=t[o])}return A},Ia.apply(null,arguments)}const Og=E.forwardRef((A,e)=>{const{children:t,...o}=A,r=E.Children.toArray(t),n=r.find(E6);if(n){const i=n.props.children,s=r.map(a=>a===n?E.Children.count(i)>1?E.Children.only(null):E.isValidElement(i)?i.props.children:null:a);return E.createElement(Jg,Ia({},o,{ref:e}),E.isValidElement(i)?E.cloneElement(i,void 0,s):null)}return E.createElement(Jg,Ia({},o,{ref:e}),t)});Og.displayName="Slot";const Jg=E.forwardRef((A,e)=>{const{children:t,...o}=A;return E.isValidElement(t)?E.cloneElement(t,{...d6(o,t.props),ref:e?jt(e,t.ref):t.ref}):E.Children.count(t)>1?E.Children.only(null):null});Jg.displayName="SlotClone";const u6=({children:A})=>E.createElement(E.Fragment,null,A);function E6(A){return E.isValidElement(A)&&A.type===u6}function d6(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]=(...s)=>{n(...s),r(...s)}:r&&(t[o]=r):o==="style"?t[o]={...r,...n}:o==="className"&&(t[o]=[r,n].filter(Boolean).join(" "))}return{...A,...t}}const C6=/^[0-9]+$/;function ho({id:A,labelPosition:e="top",style:t,label:o,labelBreak:r=!0,labelWidth:n,enabled:i=!0,required:s=!1,children:a,validationInProgress:l=!1,shrinkToLabel:c=!1,onFocus:B,onBlur:Q,labelStyle:u,validationResult:d}){const C=E.useId(),h=A||C;return o===void 0?g.jsx(Og,{style:t,id:h,onFocus:B,onBlur:Q,children:a}):g.jsxs("div",{style:t,children:[g.jsxs("div",{className:cA(Ft.container,{[Ft.top]:e==="top",[Ft.bottom]:e==="bottom",[Ft.start]:e==="start",[Ft.end]:e==="end",[Ft.shrinkToLabel]:c}),onFocus:B,onBlur:Q,children:[o&&g.jsxs("label",{htmlFor:h,onClick:()=>document.getElementById(h).focus(),style:{...u,width:n&&C6.test(n)?`${n}px`:n,flexShrink:n!==void 0?0:void 0},className:cA(Ft.inputLabel,{[Ft.required]:s,[Ft.disabled]:!i,[Ft.labelBreak]:r}),children:[o," ",s&&g.jsx("span",{className:Ft.requiredMark,children:"*"}),l&&g.jsx(ha,{style:{height:"1em",width:"1em",marginLeft:"1em",alignSelf:"center"}})]}),E.Children.only(g.jsx(Og,{id:h,children:a}))]}),d]})}const h6={horizontal:Co.resizeHorizontal,vertical:Co.resizeVertical,both:Co.resizeBoth},mu=({id:A,value:e="",placeholder:t="",required:o=!1,readOnly:r=!1,allowCopy:n=!0,updateState:i=vA,validationStatus:s,autoFocus:a=!1,initialValue:l="",resize:c,onDidChange:B=vA,onFocus:Q=vA,onBlur:u=vA,controlled:d=!0,enterSubmits:C=!0,escResets:h,style:I,registerComponentApi:p,autoSize:D,maxRows:m,minRows:k,maxLength:N,rows:L=2,enabled:M=!0,label:F,labelPosition:v,labelWidth:y,labelBreak:P})=>{const b=E.useRef(null),[_,q]=E.useState(null),[J,z]=E.useState(!1),T=E.useCallback(eA=>{i({value:eA}),B(eA)},[B,i]),S=E.useCallback(eA=>{T(eA.target.value)},[T]);E.useEffect(()=>{i({value:l},{initial:!0})},[l,i]);const G=eA=>n?!0:(eA.preventDefault(),!1),Y=()=>{z(!0),Q==null||Q()},U=()=>{z(!1),u==null||u()},V=E.useCallback(()=>{setTimeout(()=>{var eA;(eA=b.current)==null||eA.focus()},0)},[]),tA=E.useCallback(eA=>{const oA=b==null?void 0:b.current;if(oA&&eA){const W=oA.selectionStart,$=oA.value;S({target:{value:$.substring(0,W)+eA+$.substring(W)}}),q(W+eA.length)}},[b,S]),uA=HA(eA=>{T(eA)});E.useEffect(()=>{if(_){const eA=b==null?void 0:b.current;eA&&(eA.setSelectionRange(_,_),q(null))}},[e,_,b]),E.useEffect(()=>{p==null||p({focus:V,insert:tA,setValue:uA})},[V,tA,p,uA]);const EA=E.useCallback(eA=>{var oA,W;eA.currentTarget.form&&C&&eA.key.toLowerCase()==="enter"&&!eA.shiftKey&&(eA.preventDefault(),(oA=eA.currentTarget.form)==null||oA.requestSubmit()),eA.currentTarget.form&&h&&eA.key.toLowerCase()==="escape"&&!eA.shiftKey&&(eA.preventDefault(),(W=eA.currentTarget.form)==null||W.reset())},[C,h]),hA={className:cA(Co.textarea,c?h6[c]:"",{[Co.focused]:J,[Co.disabled]:!M,[Co.error]:s==="error",[Co.warning]:s==="warning",[Co.valid]:s==="valid"}),ref:b,style:I,value:d?e||"":void 0,disabled:!M,autoFocus:a,name:A,placeholder:t,required:o,maxLength:N,"aria-multiline":!0,"aria-readonly":r,readOnly:r,onChange:S,onCopy:G,onFocus:Y,onBlur:U,onKeyDown:EA,autoComplete:"off"};return c==="both"||c==="horizontal"||c==="vertical"?g.jsx(ho,{labelPosition:v,label:F,labelWidth:y,labelBreak:P,required:o,enabled:M,onFocus:Q,onBlur:u,style:I,children:g.jsx(Q6,{...hA,style:I,maxRows:m,minRows:k,rows:L})}):D||!QA.isNil(m)||!QA.isNil(k)?g.jsx(ho,{labelPosition:v,label:F,labelWidth:y,labelBreak:P,required:o,enabled:M,onFocus:Q,onBlur:u,style:I,children:g.jsx(t4,{...hA,style:I,maxRows:m,minRows:k,rows:L})}):g.jsx(ho,{labelPosition:v,label:F,labelWidth:y,labelBreak:P,required:o,enabled:M,onFocus:Q,onBlur:u,style:I,children:g.jsx("textarea",{...hA,rows:L})})},Lt="TextArea",I6=[{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"}],p6=Z({status:"experimental",description:`\`${Lt}\` is a component that provides a multiline text input area.`,props:{enterSubmits:f("This optional boolean property indicates whether pressing the `Enter` key on the keyboard prompts the parent `Form` component to submit. The default value is is `true`."),escResets:f(`This boolean property indicates whether the ${Lt} contents should be reset when pressing the ESC key.`),maxRows:f(`This optional number property maximizes the number of lines the \`${Lt}\` can grow to.`),minRows:f(`This optional number property indicates the minimum number of lines the \`${Lt}\` has and specifies its size accordingly.`),rows:f("Specifies the number of lines or rows (and thus, its size) the component has."),autoSize:f(`If set to \`true\`, this boolean property enables the \`${Lt}\` to resize automatically based on the number of lines inside it.`,null,"boolean",!1),placeholder:Fr(),initialValue:Zt(),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Lt),labelBreak:sr(Lt),maxLength:ui(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),resize:f("This optional property specifies in which dimensions can the `TextArea` be resized by the user.",I6)},events:{gotFocus:wt(Lt),lostFocus:ft(Lt),didChange:lt(Lt)},apis:{focus:Eo(Lt),value:f("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Uo()},themeVars:pA(Co.themeVars)}),w6=AA(Lt,p6,({node:A,extractValue:e,state:t,updateState:o,layoutCss:r,registerComponentApi:n,lookupEventHandler:i})=>{const s=e(A.props.initialValue);return g.jsx(mu,{value:t==null?void 0:t.value,initialValue:s,updateState:o,autoFocus:e.asOptionalBoolean(A.props.autoFocus),enabled:e.asOptionalBoolean(A.props.enabled),placeholder:e(A.props.placeholder),onDidChange:i("didChange"),onFocus:i("gotFocus"),onBlur:i("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}-${s}`)}),Ao={themeVars:`'{"radius-NavLink": "var(--xmlui-radius-NavLink)", "color-bg-NavLink": "var(--xmlui-color-bg-NavLink)", "color-bg-NavLink--hover": "var(--xmlui-color-bg-NavLink--hover)", "color-bg-NavLink--hover--active": "var(--xmlui-color-bg-NavLink--hover--active)", "color-bg-NavLink--active": "var(--xmlui-color-bg-NavLink--active)", "color-bg-NavLink--pressed": "var(--xmlui-color-bg-NavLink--pressed)", "color-bg-NavLink--pressed--active": "var(--xmlui-color-bg-NavLink--pressed--active)", "padding-horizontal-NavLink": "var(--xmlui-padding-horizontal-NavLink)", "padding-vertical-NavLink": "var(--xmlui-padding-vertical-NavLink)", "font-size-NavLink": "var(--xmlui-font-size-NavLink)", "color-text-NavLink": "var(--xmlui-color-text-NavLink)", "color-text-NavLink--hover": "var(--xmlui-color-text-NavLink--hover)", "color-text-NavLink--active": "var(--xmlui-color-text-NavLink--active)", "color-text-NavLink--hover--active": "var(--xmlui-color-text-NavLink--hover--active)", "color-text-NavLink--pressed": "var(--xmlui-color-text-NavLink--pressed)", "color-text-NavLink--pressed--active": "var(--xmlui-color-text-NavLink--pressed--active)", "color-icon-NavLink": "var(--xmlui-color-icon-NavLink)", "font-family-NavLink": "var(--xmlui-font-family-NavLink)", "font-weight-NavLink": "var(--xmlui-font-weight-NavLink)", "font-weight-NavLink--pressed": "var(--xmlui-font-weight-NavLink--pressed)", "font-weight-NavLink--active": "var(--xmlui-font-weight-NavLink--active)", "radius-indicator-NavLink": "var(--xmlui-radius-indicator-NavLink)", "thickness-indicator-NavLink": "var(--xmlui-thickness-indicator-NavLink)", "color-indicator-NavLink": "var(--xmlui-color-indicator-NavLink)", "color-indicator-NavLink--hover": "var(--xmlui-color-indicator-NavLink--hover)", "color-indicator-NavLink--active": "var(--xmlui-color-indicator-NavLink--active)", "color-indicator-NavLink--pressed": "var(--xmlui-color-indicator-NavLink--pressed)", "thickness-outline-NavLink--focus": "var(--xmlui-thickness-outline-NavLink--focus)", "color-outline-NavLink--focus": "var(--xmlui-color-outline-NavLink--focus)", "style-outline-NavLink--focus": "var(--xmlui-style-outline-NavLink--focus)", "offset-outline-NavLink--focus": "var(--xmlui-offset-outline-NavLink--focus)"}'`,content:"_content_qpkxv_13",base:"_base_qpkxv_13",icon:"_icon_qpkxv_33",includeHoverIndicator:"_includeHoverIndicator_qpkxv_39",displayActive:"_displayActive_qpkxv_49",navItemActive:"_navItemActive_qpkxv_86",disabled:"_disabled_qpkxv_121",vertical:"_vertical_qpkxv_125",indented:"_indented_qpkxv_134"},f6=[{value:"vertical",description:"This layout puts the navigation bar on the left side and displays its items vertically. The main content is aligned to the right (including the header and the footer), and its content is a single scroll container; every part of it moves as you scroll the page. This layout does not display the logo in the app header."},{value:"vertical-sticky",description:"Similar to `vertical`, the header and the navigation bar dock to the top of the main content's viewport, while the footer sticks to the bottom. This layout does not display the logo in the app header."},{value:"vertical-full-header",description:"Similar to `vertical-sticky`. However, the header and the navigation bar dock to the top of the app's window, while the footer sticks to the bottom."},{value:"condensed",description:"Similar to `horizontal`. However, the header and the navigation bar are in a single header block. (default)"},{value:"condensed-sticky",description:"However, the header and the navigation bar are in a single header block."},{value:"horizontal",description:"This layout stacks the layout sections in a single column in this order: header, navigation bar, main content, and footer. The application is a single scroll container; every part moves as you scroll the page."},{value:"horizontal-sticky",description:"Similar to `horizontal`, the header and the navigation bar dock to the top of the viewport, while the footer sticks to the bottom."}],xu=E.createContext(null);function En(){return E.useContext(xu)}const bA={themeVars:`'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "shadow-header-App": "var(--xmlui-shadow-header-App)", "shadow-pages-App": "var(--xmlui-shadow-pages-App)", "max-content-width-App": "var(--xmlui-max-content-width-App)", "color-bg-AppHeader": "var(--xmlui-color-bg-AppHeader)", "border-bottom-AppHeader": "var(--xmlui-border-bottom-AppHeader)"}'`,wrapper:"_wrapper_1e0pi_13",vertical:"_vertical_1e0pi_23",contentWrapper:"_contentWrapper_1e0pi_27",navPanelWrapper:"_navPanelWrapper_1e0pi_32",PagesWrapper:"_PagesWrapper_1e0pi_36",footerWrapper:"_footerWrapper_1e0pi_40",sticky:"_sticky_1e0pi_43",horizontal:"_horizontal_1e0pi_47",verticalFullHeader:"_verticalFullHeader_1e0pi_68",PagesWrapperInner:"_PagesWrapperInner_1e0pi_85",scrollWholePage:"_scrollWholePage_1e0pi_97",headerWrapper:"_headerWrapper_1e0pi_100",content:"_content_1e0pi_27",noScrollbarGutters:"_noScrollbarGutters_1e0pi_138"},Lr={overlay:"_overlay_p470r_39","blur-in":"_blur-in_p470r_1","blur-out":"_blur-out_p470r_1",sheetContent:"_sheetContent_p470r_55","slide-in-from-left":"_slide-in-from-left_p470r_1","slide-out-to-left":"_slide-out-to-left_p470r_1",top:"_top_p470r_70",bottom:"_bottom_p470r_76",left:"_left_p470r_82",right:"_right_p470r_91",close:"_close_p470r_101"},D6=Ke.Root,m6=Ke.Portal,vu=K.forwardRef(({className:A,...e},t)=>g.jsx(Ke.Overlay,{className:cA(Lr.overlay,A),...e,ref:t}));vu.displayName=Ke.Overlay.displayName;const yu=K.forwardRef(({side:A="left",className:e,children:t,...o},r)=>{const{root:n}=ce();return g.jsxs(m6,{container:n,children:[g.jsx(vu,{}),g.jsxs(Ke.Content,{forceMount:!0,ref:r,className:cA(Lr.sheetContent,{[Lr.top]:A==="top",[Lr.bottom]:A==="bottom",[Lr.left]:A==="left",[Lr.right]:A==="right"},e),...o,children:[t,g.jsxs(Ke.Close,{className:Lr.close,children:[g.jsx(kA,{name:"close"}),g.jsx(IQ.VisuallyHidden,{children:"Close"})]})]})]})});yu.displayName=Ke.Content.displayName;const x6=K.forwardRef(({className:A,...e},t)=>g.jsx(Ke.Title,{ref:t,className:cA("text-lg font-semibold text-foreground",A),...e}));x6.displayName=Ke.Title.displayName;const v6=K.forwardRef(({className:A,...e},t)=>g.jsx(Ke.Description,{ref:t,className:cA("text-sm text-muted-foreground",A),...e}));v6.displayName=Ke.Description.displayName;const Io=E.createContext(null),Ro={themeVars:`'{"padding-horizontal-AppHeader": "var(--xmlui-padding-horizontal-AppHeader)", "padding-vertical-AppHeader": "var(--xmlui-padding-vertical-AppHeader)", "padding-top-AppHeader": "var(--xmlui-padding-top-AppHeader)", "padding-bottom-AppHeader": "var(--xmlui-padding-bottom-AppHeader)", "padding-left-AppHeader": "var(--xmlui-padding-left-AppHeader)", "padding-right-AppHeader": "var(--xmlui-padding-right-AppHeader)", "padding-AppHeader": "var(--xmlui-padding-AppHeader)", "padding-horizontal-logo-AppHeader": "var(--xmlui-padding-horizontal-logo-AppHeader)", "padding-vertical-logo-AppHeader": "var(--xmlui-padding-vertical-logo-AppHeader)", "padding-top-logo-AppHeader": "var(--xmlui-padding-top-logo-AppHeader)", "padding-bottom-logo-AppHeader": "var(--xmlui-padding-bottom-logo-AppHeader)", "padding-left-logo-AppHeader": "var(--xmlui-padding-left-logo-AppHeader)", "padding-right-logo-AppHeader": "var(--xmlui-padding-right-logo-AppHeader)", "padding-logo-AppHeader": "var(--xmlui-padding-logo-AppHeader)", "color-border-horizontal-AppHeader": "var(--xmlui-color-border-horizontal-AppHeader)", "thickness-border-horizontal-AppHeader": "var(--xmlui-thickness-border-horizontal-AppHeader)", "style-border-horizontal-AppHeader": "var(--xmlui-style-border-horizontal-AppHeader)", "color-border-vertical-AppHeader": "var(--xmlui-color-border-vertical-AppHeader)", "thickness-border-vertical-AppHeader": "var(--xmlui-thickness-border-vertical-AppHeader)", "style-border-vertical-AppHeader": "var(--xmlui-style-border-vertical-AppHeader)", "color-border-left-AppHeader": "var(--xmlui-color-border-left-AppHeader)", "thickness-border-left-AppHeader": "var(--xmlui-thickness-border-left-AppHeader)", "style-border-left-AppHeader": "var(--xmlui-style-border-left-AppHeader)", "color-border-right-AppHeader": "var(--xmlui-color-border-right-AppHeader)", "thickness-border-right-AppHeader": "var(--xmlui-thickness-border-right-AppHeader)", "style-border-right-AppHeader": "var(--xmlui-style-border-right-AppHeader)", "color-border-top-AppHeader": "var(--xmlui-color-border-top-AppHeader)", "thickness-border-top-AppHeader": "var(--xmlui-thickness-border-top-AppHeader)", "style-border-top-AppHeader": "var(--xmlui-style-border-top-AppHeader)", "color-border-bottom-AppHeader": "var(--xmlui-color-border-bottom-AppHeader)", "thickness-border-bottom-AppHeader": "var(--xmlui-thickness-border-bottom-AppHeader)", "style-border-bottom-AppHeader": "var(--xmlui-style-border-bottom-AppHeader)", "color-border-AppHeader": "var(--xmlui-color-border-AppHeader)", "thickness-border-AppHeader": "var(--xmlui-thickness-border-AppHeader)", "style-border-AppHeader": "var(--xmlui-style-border-AppHeader)", "radius-AppHeader": "var(--xmlui-radius-AppHeader)", "width-logo-AppHeader": "var(--xmlui-width-logo-AppHeader)", "align-content-AppHeader": "var(--xmlui-align-content-AppHeader)", "height-AppHeader": "var(--xmlui-height-AppHeader)", "color-bg-AppHeader": "var(--xmlui-color-bg-AppHeader)", "max-content-width-AppHeader": "var(--xmlui-max-content-width-AppHeader)"}'`,header:"_header_1h7yt_13",headerInner:"_headerInner_1h7yt_36",full:"_full_1h7yt_51",childrenWrapper:"_childrenWrapper_1h7yt_55",logoAndTitle:"_logoAndTitle_1h7yt_67",logoContainer:"_logoContainer_1h7yt_80",customLogoContainer:"_customLogoContainer_1h7yt_89",rightItems:"_rightItems_1h7yt_98",appHub:"_appHub_1h7yt_110"},qg={themeVars:'"[]"',img:"_img_dk2s3_13",clickable:"_clickable_dk2s3_19"},zg=E.forwardRef(function({src:e,alt:t,fit:o="contain",style:r,onClick:n,aspectRatio:i,lazyLoad:s},a){return g.jsx("img",{src:e,ref:a,alt:t,loading:s?"lazy":"eager",className:cA(qg.img,{[qg.clickable]:!!n}),style:{objectFit:o,boxShadow:"none",...r,aspectRatio:i},onClick:n})}),pa=({style:A})=>{const e=bu();return e?g.jsx(zg,{src:e,alt:"Logo",style:{width:"auto",boxShadow:"none",...A}}):null};function bu(){const{logo:A,logoLight:e,logoDark:t}=En()||{},o={light:e,dark:t},{activeThemeTone:r}=ce(),n=hg("resource:logo")||A;return hg(`resource:logo-${r}`)||o[r]||n}const y6=({children:A,profileMenu:e,style:t=GA,logoContent:o,className:r,canRestrictContentWidth:n,navPanelVisible:i=!0,toggleDrawer:s,showLogo:a,hasRegisteredNavPanel:l,title:c,titleContent:B})=>{const{mediaSize:Q}=_t(),u=bu(),d=Q.sizeIndex<2?null:!B&&c?g.jsx(Ci,{to:"/",displayActive:!1,style:{paddingLeft:0},children:c}):B;return g.jsx("div",{className:cA(Ro.header,r),style:t,children:g.jsxs("div",{className:cA(Ro.headerInner,{[Ro.full]:!n}),children:[!i&&l&&g.jsx(Ce,{onClick:s,icon:g.jsx(kA,{name:"hamburger"}),variant:"ghost",style:{color:"inherit",flexShrink:0}}),g.jsx("div",{className:Ro.logoAndTitle,children:(a||!i)&&(o?g.jsxs(g.Fragment,{children:[g.jsx("div",{className:Ro.customLogoContainer,children:o}),d]}):g.jsxs(g.Fragment,{children:[!!u&&g.jsx("div",{className:Ro.logoContainer,children:g.jsx(Ci,{to:"/",displayActive:!1,style:{padding:0,height:"100%"},children:g.jsx(pa,{})})}),d]}))}),g.jsx("div",{className:Ro.childrenWrapper,children:A}),e&&g.jsx("div",{className:Ro.rightItems,children:e})]})})};function ku({children:A,logoContent:e,profileMenu:t,style:o,className:r,title:n,titleContent:i,showLogo:s=!0,renderChild:a}){const l=En(),{navPanelVisible:c,toggleDrawer:B,layout:Q,hasRegisteredNavPanel:u,navPanelDef:d,logoContentDef:C}=l||{},h=Q!=="vertical"&&Q!=="vertical-sticky"&&s,I=Q!=="vertical-full-header";return g.jsxs(y6,{hasRegisteredNavPanel:u,navPanelVisible:c,toggleDrawer:B,canRestrictContentWidth:I,showLogo:h,logoContent:e||a(C),profileMenu:t,style:o,className:r,title:n,titleContent:i,children:[(Q==null?void 0:Q.startsWith("condensed"))&&c&&g.jsx("div",{style:{minWidth:0},children:a(d)}),A]})}function b6(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 k6(A,e){const t=getComputedStyle(document.getElementById("_ui-engine-theme-root")).getPropertyValue(Zo(A));return e==="hex"?vr(t).hex().toString():vr(t).toString()}function Mu(A){const e=A&&A>0?A:0;return e>1?{WebkitLineClamp:e,lineClamp:e,display:"-webkit-box",WebkitBoxOrient:"vertical",boxOrient:"vertical",whiteSpace:"initial"}:GA}function Nu(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 M6=()=>{const A=E.useRef(!1),e=E.useRef(0);if(E.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};function N6({children:A,style:e,layout:t,loggedInUser:o,scrollWholePage:r,noScrollbarGutters:n=!1,onReady:i=QA.noop,header:s,navPanel:a,footer:l,navPanelDef:c,logoContentDef:B,logo:Q,logoDark:u,logoLight:d,defaultTone:C,defaultTheme:h,renderChild:I,name:p}){const{getThemeVar:D}=ce(),{setActiveThemeTone:m,setActiveThemeId:k}=si(),N=E.useRef(!1),L=t||D("layout-App")||"condensed-sticky",M=L==null?void 0:L.trim().replace(/[\u2013\u2014\u2011]/g,"-"),{setLoggedInUser:F,mediaSize:v}=_t(),y=s!==void 0,P=c!==void 0,b=E.useMemo(()=>{const{padding:sA,paddingLeft:yA,paddingRight:FA,paddingTop:JA,paddingBottom:XA,...ZA}=e;return{...ZA,"--page-padding-left":sA||yA,"--page-padding-right":sA||FA,"--page-padding-top":sA||JA,"--page-padding-bottom":sA||XA}},[e]);E.useEffect(()=>{F(o)},[o,F]),E.useEffect(()=>{if(!N.current)return N.current=!0,(C==="dark"||C==="light")&&m(C),h&&k(h),()=>{N.current=!1}},[C,h,m,k]),E.useEffect(()=>{i()},[i]);const _=v.largeScreen||!y&&M!=="condensed"&&M!=="condensed-sticky",q=E.useRef(null),J=E.useRef(null),z=r?q:J,[T,S]=E.useState(0),[G,Y]=E.useState(0),U=M6(),V=E.useRef(),tA=E.useCallback(sA=>{V.current=sA},[]),uA=E.useRef(),EA=E.useCallback(sA=>{uA.current=sA},[]);Ks(V,E.useCallback(sA=>{var yA,FA;S((FA=(yA=sA==null?void 0:sA[0])==null?void 0:yA.contentRect)==null?void 0:FA.height)},[])),Ks(uA,E.useCallback(sA=>{var yA,FA;Y((FA=(yA=sA==null?void 0:sA[0])==null?void 0:yA.contentRect)==null?void 0:FA.height)},[]));const hA=E.useMemo(()=>({"--header-height":r?G+"px":0,"--footer-height":r?T+"px":0,"--scrollbar-width":U+"px"}),[T,G,r,U]),[eA,oA]=E.useState(!1),W=We.useLocation(),$=E.useCallback(()=>{oA(sA=>!sA)},[]);E.useLayoutEffect(()=>{var sA;(sA=q.current)==null||sA.scrollTo(0,0)},[W.pathname]);const rA=E.useMemo(()=>({hasRegisteredNavPanel:P,hasRegisteredHeader:y,navPanelVisible:_,drawerVisible:eA,layout:M,logo:Q,logoDark:u,logoLight:d,showDrawer:()=>{oA(!0)},hideDrawer:()=>{oA(!1)},toggleDrawer:$,navPanelDef:c,logoContentDef:B}),[P,y,_,eA,M,Q,u,d,$,c,B]);E.useEffect(()=>{_&&oA(!1)},[_]),E.useEffect(()=>{oA(!1)},[W,M]);const dA=[bA.wrapper,{[bA.scrollWholePage]:r,[bA.noScrollbarGutters]:n,"media-large":v.largeScreen,"media-small":v.smallScreen,"media-desktop":v.desktop,"media-phone":v.phone,"media-tablet":v.tablet}];let TA;switch(M){case"vertical":TA=g.jsxs("div",{className:cA(dA,bA.vertical),style:hA,children:[_&&g.jsx("div",{className:cA(bA.navPanelWrapper),children:a}),g.jsxs("div",{className:bA.contentWrapper,ref:q,children:[g.jsx("header",{ref:EA,className:cA(bA.headerWrapper),children:s}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]})]});break;case"vertical-sticky":TA=g.jsxs("div",{className:cA(dA,bA.vertical,bA.sticky),style:hA,children:[_&&g.jsx("div",{className:cA(bA.navPanelWrapper),children:a}),g.jsxs("div",{className:bA.contentWrapper,ref:q,children:[g.jsx("header",{ref:EA,className:cA(bA.headerWrapper,bA.sticky),children:s}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]})]});break;case"vertical-full-header":TA=g.jsxs("div",{className:cA(dA,bA.verticalFullHeader),style:hA,ref:q,children:[g.jsx("header",{className:cA(bA.headerWrapper,bA.sticky),ref:EA,children:s}),g.jsxs("div",{className:bA.content,children:[_&&g.jsx("aside",{className:bA.navPanelWrapper,children:a}),g.jsx("main",{className:bA.contentWrapper,children:g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})})})]}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]});break;case"condensed":case"condensed-sticky":TA=g.jsxs("div",{className:cA(dA,bA.horizontal,{[bA.sticky]:M==="condensed-sticky"}),style:hA,ref:q,children:[g.jsxs("header",{className:cA("app-layout-condensed",bA.headerWrapper,{[bA.sticky]:M==="condensed-sticky"}),ref:EA,children:[!y&&P&&g.jsx(ku,{renderChild:I}),s]}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]});break;case"horizontal":{TA=g.jsxs("div",{className:cA(dA,bA.horizontal),style:hA,ref:q,children:[g.jsxs("header",{className:cA(bA.headerWrapper),ref:EA,children:[s,_&&g.jsx("div",{className:bA.navPanelWrapper,children:a})]}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]});break}case"horizontal-sticky":TA=g.jsxs("div",{className:cA(dA,bA.horizontal,bA.sticky),style:hA,ref:q,children:[g.jsxs("header",{className:cA(bA.headerWrapper,bA.sticky),ref:EA,children:[s,_&&g.jsx("div",{className:bA.navPanelWrapper,children:a})]}),g.jsx("div",{className:bA.PagesWrapper,ref:J,children:g.jsx(Io.Provider,{value:z,children:g.jsx("div",{className:bA.PagesWrapperInner,style:b,children:A})})}),g.jsx("div",{className:bA.footerWrapper,ref:tA,children:l})]});break;default:throw new Error("layout type not supported: "+M)}return g.jsxs(g.Fragment,{children:[p!==void 0&&g.jsx(sn.Helmet,{defaultTitle:p,titleTemplate:`%s | ${p}`}),g.jsxs(xu.Provider,{value:rA,children:[g.jsx(D6,{open:eA,onOpenChange:sA=>oA(sA),children:g.jsx(yu,{side:"left",children:I(c,{inDrawer:!0})})}),TA]})]})}function _u(A){switch(A){case"vertical":case"vertical-sticky":case"vertical-full-header":return"vertical";default:return"horizontal"}}const po={themeVars:`'{"color-border-horizontal-NavPanel": "var(--xmlui-color-border-horizontal-NavPanel)", "thickness-border-horizontal-NavPanel": "var(--xmlui-thickness-border-horizontal-NavPanel)", "style-border-horizontal-NavPanel": "var(--xmlui-style-border-horizontal-NavPanel)", "color-border-vertical-NavPanel": "var(--xmlui-color-border-vertical-NavPanel)", "thickness-border-vertical-NavPanel": "var(--xmlui-thickness-border-vertical-NavPanel)", "style-border-vertical-NavPanel": "var(--xmlui-style-border-vertical-NavPanel)", "color-border-left-NavPanel": "var(--xmlui-color-border-left-NavPanel)", "thickness-border-left-NavPanel": "var(--xmlui-thickness-border-left-NavPanel)", "style-border-left-NavPanel": "var(--xmlui-style-border-left-NavPanel)", "color-border-right-NavPanel": "var(--xmlui-color-border-right-NavPanel)", "thickness-border-right-NavPanel": "var(--xmlui-thickness-border-right-NavPanel)", "style-border-right-NavPanel": "var(--xmlui-style-border-right-NavPanel)", "color-border-top-NavPanel": "var(--xmlui-color-border-top-NavPanel)", "thickness-border-top-NavPanel": "var(--xmlui-thickness-border-top-NavPanel)", "style-border-top-NavPanel": "var(--xmlui-style-border-top-NavPanel)", "color-border-bottom-NavPanel": "var(--xmlui-color-border-bottom-NavPanel)", "thickness-border-bottom-NavPanel": "var(--xmlui-thickness-border-bottom-NavPanel)", "style-border-bottom-NavPanel": "var(--xmlui-style-border-bottom-NavPanel)", "color-border-NavPanel": "var(--xmlui-color-border-NavPanel)", "thickness-border-NavPanel": "var(--xmlui-thickness-border-NavPanel)", "style-border-NavPanel": "var(--xmlui-style-border-NavPanel)", "radius-NavPanel": "var(--xmlui-radius-NavPanel)", "color-bg-NavPanel": "var(--xmlui-color-bg-NavPanel)", "shadow-NavPanel": "var(--xmlui-shadow-NavPanel)", "height-AppHeader": "var(--xmlui-height-AppHeader)", "max-content-width-App": "var(--xmlui-max-content-width-App)", "padding-horizontal-NavPanel": "var(--xmlui-padding-horizontal-NavPanel)", "padding-horizontal-logo-NavPanel": "var(--xmlui-padding-horizontal-logo-NavPanel)", "padding-vertical-logo-NavPanel": "var(--xmlui-padding-vertical-logo-NavPanel)", "margin-bottom-logo-NavPanel": "var(--xmlui-margin-bottom-logo-NavPanel)", "padding-vertical-AppHeader": "var(--xmlui-padding-vertical-AppHeader)", "align-content-AppHeader": "var(--xmlui-align-content-AppHeader)"}'`,wrapper:"_wrapper_dzy35_13",condensed:"_condensed_dzy35_40",horizontal:"_horizontal_dzy35_43",wrapperInner:"_wrapperInner_dzy35_48",logoWrapper:"_logoWrapper_dzy35_67",inDrawer:"_inDrawer_dzy35_77"},Wg=E.createContext(null),_6={inDrawer:!0};function F6({logoContent:A,children:e,className:t,style:o}){const r=E.useRef(null);return g.jsx(Wg.Provider,{value:_6,children:g.jsx("div",{ref:r,className:cA(po.wrapper,t),children:g.jsxs(Io.Provider,{value:r,children:[g.jsx("div",{className:cA(po.logoWrapper,po.inDrawer),children:A||g.jsx(pa,{})}),g.jsx("div",{className:po.wrapperInner,style:o,children:e})]})})})}const L6=E.forwardRef(function({children:e,style:t,logoContent:o,className:r,inDrawer:n,renderChild:i},s){var C;const a=E.useRef(null),l=s?jt(a,s):a,c=En(),B=_u(c==null?void 0:c.layout)==="horizontal",Q=(c==null?void 0:c.layout)==="vertical"||(c==null?void 0:c.layout)==="vertical-sticky",u=(C=c==null?void 0:c.layout)==null?void 0:C.startsWith("condensed"),d=o||i(c==null?void 0:c.logoContentDef);return n?g.jsx(F6,{style:t,logoContent:d,className:r,children:e}):g.jsx("div",{ref:l,className:cA(po.wrapper,r,{[po.horizontal]:B,[po.condensed]:u}),children:g.jsxs(Io.Provider,{value:a,children:[Q&&g.jsx("div",{className:cA(po.logoWrapper),children:d||g.jsx(pa,{})}),g.jsx("div",{className:po.wrapperInner,style:t,children:e})]})})});function wa(A){return!A||typeof A=="string"||typeof A=="number"?A:A.queryParams!==void 0?{...A,search:new URLSearchParams(QA.omitBy(A.queryParams,QA.isUndefined)).toString()}:A}const Ci=E.forwardRef(function({uid:e,children:t,disabled:o,to:r,sx:n={},displayActive:i=!0,vertical:s,style:a,onClick:l,icon:c,forceActive:B,...Q},u){const d=En(),C=E.useContext(Wg);let h=s;d&&h===void 0&&(h=_u(d.layout)==="vertical"||(C==null?void 0:C.inDrawer));const I=E.useMemo(()=>{if(r)return wa(r)},[r]),p={...n,...a},D=cA(Ao.content,Ao.base,{[Ao.disabled]:o,[Ao.vertical]:h,[Ao.includeHoverIndicator]:i,[Ao.navItemActive]:i&&B});let m;return o||!I?m=g.jsxs("button",{...Q,ref:u,onClick:l,className:D,style:p,disabled:o,children:[c,t]}):m=g.jsxs(We.NavLink,{id:e,...Q,ref:u,to:I,style:p,onClick:l,className:({isActive:k})=>cA(D,{[Ao.displayActive]:i,[Ao.navItemActive]:i&&(k||B)}),children:[c,t]}),m}),fa="NavLink",S6=Z({description:`The \`${fa}\` component defines a navigation target (app navigation menu item) within the app; it is associated with a particular in-app navigation target (or an external link).`,props:{to:f("This property defines the URL of the link."),enabled:Ze(),active:f("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`."),target:f("This property specifies how to open the clicked link."),label:Je(),vertical:f(`This property sets how the active status is displayed on the \`${fa}\` component. If set to true, the indicator is displayed on the side which lends itself to a vertically aligned navigation menu.`),displayActive:f("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."),icon:f("This property allows you to add an icon (specify the icon's name) to the navigation link.")},events:{click:nr(fa)},themeVars:pA(Ao.themeVars),defaultThemeVars:{"radius-NavLink":"$radius","color-bg-NavLink":"transparent","padding-horizontal-NavLink":"$space-4","padding-vertical-NavLink":"$space-2","font-size-NavLink":"$font-size-small","font-weight-NavLink":"$font-weight-normal","font-family-NavLink":"$font-family","color-text-NavLink":"$color-text-primary","font-weight-NavLink--pressed":"$font-weight-normal","thickness-indicator-NavLink":"$space-0_5","color-outline-NavLink--focus":"$color-outline--focus","thickness-outline-NavLink--focus":"$thickness-outline--focus","style-outline-NavLink--focus":"$style-outline--focus","offset-outline-NavLink--focus":"-1px","radius-indicator-NavLink":"$radius",light:{"color-icon-NavLink":"$color-surface-500","color-indicator-NavLink--active":"$color-primary-500","color-indicator-NavLink--pressed":"$color-primary-500","color-indicator-NavLink--hover":"$color-primary-600"},dark:{"color-indicator-NavLink--active":"$color-primary-500","color-indicator-NavLink--pressed":"$color-primary-500","color-indicator-NavLink--hover":"$color-primary-400"}}}),P6=AA(fa,S6,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>{var n;const r=e.asString(A.props.icon);return g.jsx(Ci,{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:g.jsx(kA,{name:r,className:Ao.icon}),children:e.asDisplayText(A.props.label)||t(A.children)})}),dn={themeVars:`'{"color-text-Link": "var(--xmlui-color-text-Link)", "color-text-Link--active": "var(--xmlui-color-text-Link--active)", "color-text-Link--hover": "var(--xmlui-color-text-Link--hover)", "color-text-Link--hover--active": "var(--xmlui-color-text-Link--hover--active)", "font-size-Link": "var(--xmlui-font-size-Link)", "font-weight-Link": "var(--xmlui-font-weight-Link)", "font-weight-Link--active": "var(--xmlui-font-weight-Link--active)", "color-decoration-Link": "var(--xmlui-color-decoration-Link)", "offset-decoration-Link": "var(--xmlui-offset-decoration-Link)", "line-decoration-Link": "var(--xmlui-line-decoration-Link)", "style-decoration-Link": "var(--xmlui-style-decoration-Link)", "thickness-decoration-Link": "var(--xmlui-thickness-decoration-Link)", "padding-icon-Link": "var(--xmlui-padding-icon-Link)", "gap-icon-Link": "var(--xmlui-gap-icon-Link)", "thickness-outline-Link--focus": "var(--xmlui-thickness-outline-Link--focus)", "color-outline-Link--focus": "var(--xmlui-color-outline-Link--focus)", "style-outline-Link--focus": "var(--xmlui-style-outline-Link--focus)", "offset-outline-Link--focus": "var(--xmlui-offset-outline-Link--focus)"}'`,container:"_container_gxlr6_13",active:"_active_gxlr6_27",disabled:"_disabled_gxlr6_31",iconWrapper:"_iconWrapper_gxlr6_47"},$g=({to:A,children:e,icon:t,active:o,onClick:r,target:n,disabled:i,style:s})=>{const a=!!t&&!e,l=E.useMemo(()=>wa(A),[A]),c=A?We.Link:"div";return g.jsxs(c,{to:l,style:s,target:n,onClick:r,className:cA(dn.container,{[dn.iconLink]:a,[dn.active]:o,[dn.disabled]:i}),children:[t&&g.jsx("div",{className:dn.iconWrapper,children:g.jsx(kA,{name:t})}),e]})},Ee="Link",T6=Z({description:`A \`${Ee}\` component represents a navigation target within the app or a reference to an external web URL.`,props:{to:f("This property defines the URL of the link."),enabled:Ze(),active:f("Indicates whether this link is active or not. If so, it will have a distinct visual appearance.",null,"boolean",!1),target:f(`This property specifies where to open the link represented by the \`${Ee}\`. This property accepts the following values (in accordance with the HTML standard):`,P2,"string","_self"),label:Je(),icon:f("This property allows you to add an icon (specify the icon's name) to the link.")},themeVars:pA(dn.themeVars),defaultThemeVars:{[`color-text-${Ee}--hover--active`]:`$color-text-${Ee}--active`,[`color-text-decoration-${Ee}--hover`]:"$color-surface-400A80",[`color-text-decoration-${Ee}--active`]:"$color-surface200",[`font-weight-${Ee}--active`]:"$font-weight-bold",[`color-decoration-${Ee}`]:"$color-surface-400",[`offset-decoration-${Ee}`]:"$space-1",[`line-decoration-${Ee}`]:"underline",[`style-decoration-${Ee}`]:"dashed",[`thickness-decoration-${Ee}`]:"$space-0_5",[`color-outline-${Ee}--focus`]:"$color-outline--focus",[`thickness-outline-${Ee}--focus`]:"$thickness-outline--focus",[`style-outline-${Ee}--focus`]:"$style-outline--focus",[`offset-outline-${Ee}--focus`]:"$offset-outline--focus",[`font-size-${Ee}`]:"inherit",[`gap-icon-${Ee}`]:"$gap-tight",[`padding-icon-${Ee}`]:"$space-0_5",light:{[`color-text-${Ee}`]:"$color-primary-500",[`color-text-${Ee}--active`]:"$color-primary-500"},dark:{[`color-text-${Ee}`]:"$color-primary-500",[`color-text-${Ee}--active`]:"$color-primary-500"}}}),G6=AA(Ee,T6,({node:A,extractValue:e,lookupEventHandler:t,renderChild:o,layoutCss:r})=>{var n;return g.jsx($g,{to:e(A.props.to),icon:e(A.props.icon),active:e.asOptionalBoolean(A.props.active,!1),target:e((n=A.props)==null?void 0:n.target),style:r,disabled:!e.asOptionalBoolean(A.props.enabled??!0),children:A.props.label?e.asDisplayText(A.props.label):o(A.children)})}),ct=E.memo(({node:A,item:e,context:t,renderChild:o,layoutContext:r,contextVars:n=GA,itemKey:i="$item",contextKey:s="$context"})=>{const a=$e(n),l=E.useMemo(()=>i===s?{type:"Container",contextVars:{[i]:{...e,...t},...a},children:Array.isArray(A)?A:[A]}:{type:"Container",contextVars:{[i]:e,[s]:t,...a},children:Array.isArray(A)?A:[A]},[t,e,A,a]);return g.jsx(g.Fragment,{children:o(l,r)})}),Yo={wrapper:"_wrapper_96qt9_14",rowWrapper:"_rowWrapper_96qt9_18",selected:"_selected_96qt9_28",addButton:"_addButton_96qt9_38",gutter:"_gutter_96qt9_42",toggleWrapper:"_toggleWrapper_96qt9_50",hidden:"_hidden_96qt9_59",expanded:"_expanded_96qt9_70",depthPlaceholder:"_depthPlaceholder_96qt9_74",labelWrapper:"_labelWrapper_96qt9_78"};function Fu(A,e,t,o){const{children:r,uid:n}=A,i=o.includes(n);if(t.push({...A,hasChildren:!!r&&r.length>0,depth:e,isExpanded:i}),i&&r)for(let s of r)Fu(s,e+1,t,o)}function H6(A,e){const t=[];return A.forEach(o=>{Fu(o,0,t,e)}),t}const U6=E.memo(function({index:e,style:t,data:o}){const{nodes:r,toggleNode:n,selectedUid:i,itemRenderer:s}=o,a=r[e],l=E.useCallback(c=>{c.defaultPrevented||n(a)},[n,a]);return g.jsx("div",{style:{...t,width:"auto",minWidth:"100%",display:"flex"},children:g.jsxs("div",{className:cA(Yo.rowWrapper,{[Yo.selected]:i===a.key}),children:[g.jsxs("div",{onClick:l,className:Yo.gutter,children:[g.jsx("div",{style:{width:a.depth*10},className:Yo.depthPlaceholder}),g.jsx("div",{className:cA(Yo.toggleWrapper,{[Yo.expanded]:a.isExpanded,[Yo.hidden]:!a.hasChildren})})]}),g.jsx("div",{className:Yo.labelWrapper,onClick:a.selectable?void 0:l,style:{cursor:a.selectable?void 0:"pointer"},children:s(a)})]})})}),R6={treeData:[],treeItemsById:{}};function Y6({data:A=R6,selectedUid:e,itemRenderer:t}){const{treeData:o,treeItemsById:r}=A,[n,i]=E.useState([]),s=E.useMemo(()=>H6(o,n),[n,o]);E.useEffect(()=>{if(e){const B=r[e];B&&i(Q=>[...Q,...B.parentIds])}},[e,r]);const a=E.useCallback(B=>{B.isExpanded?i(Q=>Q.filter(u=>u!==B.key)):i(Q=>[...Q,B.key])},[]),l=E.useMemo(()=>({nodes:s,toggleNode:a,selectedUid:e,itemRenderer:t}),[s,a,e,t]),c=E.useCallback((B,Q)=>Q.nodes[B].key,[]);return g.jsx("div",{className:Yo.wrapper,children:g.jsx(r4,{children:({width:B,height:Q})=>g.jsx(o4.FixedSizeList,{height:Q,itemCount:l.nodes.length,itemData:l,itemSize:35,itemKey:c,width:B,children:U6})})})}const Lu="Tree",K6=Z({status:"in progress",description:`The \`${Lu}\` 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:se("The template for each item in the tree.")}}),O6=AA(Lu,K6,({node:A,extractValue:e,renderChild:t})=>g.jsx(Y6,{data:e(A.props.data),selectedUid:e(A.props.selectedUid),itemRenderer:o=>g.jsx(ct,{node:A.props.itemTemplate,item:o,renderChild:t})})),nA="Button",J6=Z({description:"Button is an interactive element that triggers an action when clicked.",status:"stable",props:{autoFocus:f("Indicates if the button should receive focus when the page loads.",null,"boolean",!1),variant:f("The button variant determines the level of emphasis the button should possess.",b1,"string","solid"),themeColor:f("Sets the button color scheme defined in the application theme.",v1,"string","primary"),size:f("The size of the button.",aa,"string","sm"),label:f(`This property is an optional string to set a label for the ${nA}. If no label is specified and an icon is set, the ${nA} will modify its styling to look like a small icon button. When the ${nA} has nested children, it will display them and ignore the value of the \`label\` prop.`),type:f(`This optional string describes how the ${nA} appears in an HTML context. You rarely need to set this property explicitly.`,H2,"string",y1),enabled:f("The value of this property indicates whether the button accepts actions (`true`) or does not react to them (`false`).",null,null,!0),icon:f(`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 ${nA} displays only that icon.`),iconPosition:f(`This optional string determines the location of the icon in the ${nA}.`,M1,"string","start"),contentPosition:f(`This optional value determines how the label and icon (or nested children) should be placedinside the ${nA} component.`,R2,"string","center")},events:{click:nr(nA),gotFocus:wt(nA),lostFocus:ft(nA)},themeVars:pA(Me.themeVars),defaultThemeVars:{[`width-${nA}`]:"fit-content",[`height-${nA}`]:"fit-content",[`radius-${nA}`]:"$radius",[`font-size-${nA}`]:"$font-size-small",[`font-weight-${nA}`]:"$font-weight-medium",[`color-bg-${nA}-primary`]:"$color-primary-500",[`color-bg-${nA}-attention`]:"$color-bg-attention",[`color-border-${nA}-attention`]:"$color-attention",[`color-bg-${nA}--disabled`]:"$color-bg--disabled",[`color-border-${nA}--disabled`]:"$color-border--disabled",[`style-border-${nA}`]:"solid",[`color-text-${nA}--disabled`]:"$color-text--disabled",[`color-outline-${nA}--focus`]:"$color-outline--focus",[`thickness-border-${nA}`]:"1px",[`thickness-outline-${nA}--focus`]:"$thickness-outline--focus",[`style-outline-${nA}--focus`]:"$style-outline--focus",[`offset-outline-${nA}--focus`]:"$offset-outline--focus",[`padding-horizontal-${nA}-xs`]:"$space-1",[`padding-vertical-${nA}-xs`]:"$space-0_5",[`padding-horizontal-${nA}-sm`]:"$space-4",[`padding-vertical-${nA}-sm`]:"$space-2",[`padding-horizontal-${nA}-md`]:"$space-4",[`padding-vertical-${nA}-md`]:"$space-3",[`padding-horizontal-${nA}-lg`]:"$space-5",[`padding-vertical-${nA}-lg`]:"$space-4",light:{[`color-text-${nA}`]:"$color-surface-950",[`color-text-${nA}-solid`]:"$color-surface-50",[`color-border-${nA}-primary`]:"$color-primary-500",[`color-bg-${nA}-primary--hover`]:"$color-primary-400",[`color-bg-${nA}-primary--active`]:"$color-primary-500",[`color-bg-${nA}-primary-outlined--hover`]:"$color-primary-50",[`color-bg-${nA}-primary-outlined--active`]:"$color-primary-100",[`color-border-${nA}-primary-outlined`]:"$color-primary-600",[`color-border-${nA}-primary-outlined--hover`]:"$color-primary-500",[`color-text-${nA}-primary-outlined`]:"$color-primary-900",[`color-text-${nA}-primary-outlined--hover`]:"$color-primary-950",[`color-text-${nA}-primary-outlined--active`]:"$color-primary-900",[`color-bg-${nA}-primary-ghost--hover`]:"$color-primary-50",[`color-bg-${nA}-primary-ghost--active`]:"$color-primary-100",[`color-border-${nA}-secondary`]:"$color-secondary-100",[`color-bg-${nA}-secondary`]:"$color-secondary-500",[`color-bg-${nA}-secondary--hover`]:"$color-secondary-400",[`color-bg-${nA}-secondary--active`]:"$color-secondary-500",[`color-bg-${nA}-secondary-outlined--hover`]:"$color-secondary-50",[`color-bg-${nA}-secondary-outlined--active`]:"$color-secondary-100",[`color-bg-${nA}-secondary-ghost--hover`]:"$color-secondary-100",[`color-bg-${nA}-secondary-ghost--active`]:"$color-secondary-100",[`color-bg-${nA}-attention--hover`]:"$color-danger-400",[`color-bg-${nA}-attention--active`]:"$color-danger-500",[`color-bg-${nA}-attention-outlined--hover`]:"$color-danger-50",[`color-bg-${nA}-attention-outlined--active`]:"$color-danger-100",[`color-bg-${nA}-attention-ghost--hover`]:"$color-danger-50",[`color-bg-${nA}-attention-ghost--active`]:"$color-danger-100"},dark:{[`color-text-${nA}`]:"$color-surface-50",[`color-text-${nA}-solid`]:"$color-surface-50",[`color-border-${nA}-primary`]:"$color-primary-500",[`color-bg-${nA}-primary--hover`]:"$color-primary-600",[`color-bg-${nA}-primary--active`]:"$color-primary-500",[`color-bg-${nA}-primary-outlined--hover`]:"$color-primary-900",[`color-bg-${nA}-primary-outlined--active`]:"$color-primary-950",[`color-border-${nA}-primary-outlined`]:"$color-primary-600",[`color-border-${nA}-primary-outlined--hover`]:"$color-primary-500",[`color-text-${nA}-primary-outlined`]:"$color-primary-100",[`color-text-${nA}-primary-outlined--hover`]:"$color-primary-50",[`color-text-${nA}-primary-outlined--active`]:"$color-primary-100",[`color-bg-${nA}-primary-ghost--hover`]:"$color-primary-900",[`color-bg-${nA}-primary-ghost--active`]:"$color-primary-950",[`color-border-${nA}-secondary`]:"$color-secondary-500",[`color-bg-${nA}-secondary`]:"$color-secondary-500",[`color-bg-${nA}-secondary--hover`]:"$color-secondary-400",[`color-bg-${nA}-secondary--active`]:"$color-secondary-500",[`color-bg-${nA}-secondary-outlined--hover`]:"$color-secondary-600",[`color-bg-${nA}-secondary-outlined--active`]:"$color-secondary-500",[`color-bg-${nA}-secondary-ghost--hover`]:"$color-secondary-900",[`color-bg-${nA}-secondary-ghost--active`]:"$color-secondary-950",[`color-bg-${nA}-attention--hover`]:"$color-danger-400",[`color-bg-${nA}-attention--active`]:"$color-danger-500",[`color-bg-${nA}-attention-outlined--hover`]:"$color-danger-900",[`color-bg-${nA}-attention-outlined--active`]:"$color-danger-950",[`color-bg-${nA}-attention-ghost--hover`]:"$color-danger-900",[`color-bg-${nA}-attention-ghost--active`]:"$color-danger-950"}}}),q6=AA("Button",J6,({node:A,extractValue:e,renderChild:t,lookupEventHandler:o,layoutCss:r})=>{const n=e.asString(A.props.icon),i=e.asDisplayText(A.props.label);return g.jsx(Ce,{type:A.props.type,variant:e(A.props.variant),themeColor:e(A.props.themeColor),autoFocus:e.asOptionalBoolean(A.props.autoFocus),size:e(A.props.size),icon:n&&g.jsx(kA,{name:n}),iconPosition:e(A.props.iconPosition),contentPosition:e(A.props.contentPosition),disabled:!e.asOptionalBoolean(A.props.enabled??!0),onClick:o("click"),onFocus:o("gotFocus"),onBlur:o("lostFocus"),style:r,children:t(A.children,{type:"Stack",orientation:"horizontal"})||i})}),St={themeVars:`'{"Heading:color-text-H1": "var(--xmlui-color-text-H1)", "Heading:letter-spacing-H1": "var(--xmlui-letter-spacing-H1)", "Heading:font-family-H1": "var(--xmlui-font-family-H1)", "Heading:font-weight-H1": "var(--xmlui-font-weight-H1)", "font-size-H1": "var(--xmlui-font-size-H1)", "line-height-H1": "var(--xmlui-line-height-H1)", "margin-top-H1": "var(--xmlui-margin-top-H1)", "margin-bottom-H1": "var(--xmlui-margin-bottom-H1)", "Heading:line-decoration-H1": "var(--xmlui-line-decoration-H1)", "Heading:color-decoration-H1": "var(--xmlui-color-decoration-H1)", "Heading:style-decoration-H1": "var(--xmlui-style-decoration-H1)", "Heading:thickness-decoration-H1": "var(--xmlui-thickness-decoration-H1)", "Heading:offset-decoration-H1": "var(--xmlui-offset-decoration-H1)", "Heading:color-text-H2": "var(--xmlui-color-text-H2)", "Heading:letter-spacing-H2": "var(--xmlui-letter-spacing-H2)", "Heading:font-family-H2": "var(--xmlui-font-family-H2)", "Heading:font-weight-H2": "var(--xmlui-font-weight-H2)", "font-size-H2": "var(--xmlui-font-size-H2)", "line-height-H2": "var(--xmlui-line-height-H2)", "margin-top-H2": "var(--xmlui-margin-top-H2)", "margin-bottom-H2": "var(--xmlui-margin-bottom-H2)", "Heading:line-decoration-H2": "var(--xmlui-line-decoration-H2)", "Heading:color-decoration-H2": "var(--xmlui-color-decoration-H2)", "Heading:style-decoration-H2": "var(--xmlui-style-decoration-H2)", "Heading:thickness-decoration-H2": "var(--xmlui-thickness-decoration-H2)", "Heading:offset-decoration-H2": "var(--xmlui-offset-decoration-H2)", "Heading:color-text-H3": "var(--xmlui-color-text-H3)", "Heading:letter-spacing-H3": "var(--xmlui-letter-spacing-H3)", "Heading:font-family-H3": "var(--xmlui-font-family-H3)", "Heading:font-weight-H3": "var(--xmlui-font-weight-H3)", "font-size-H3": "var(--xmlui-font-size-H3)", "line-height-H3": "var(--xmlui-line-height-H3)", "margin-top-H3": "var(--xmlui-margin-top-H3)", "margin-bottom-H3": "var(--xmlui-margin-bottom-H3)", "Heading:line-decoration-H3": "var(--xmlui-line-decoration-H3)", "Heading:color-decoration-H3": "var(--xmlui-color-decoration-H3)", "Heading:style-decoration-H3": "var(--xmlui-style-decoration-H3)", "Heading:thickness-decoration-H3": "var(--xmlui-thickness-decoration-H3)", "Heading:offset-decoration-H3": "var(--xmlui-offset-decoration-H3)", "Heading:color-text-H4": "var(--xmlui-color-text-H4)", "Heading:letter-spacing-H4": "var(--xmlui-letter-spacing-H4)", "Heading:font-family-H4": "var(--xmlui-font-family-H4)", "Heading:font-weight-H4": "var(--xmlui-font-weight-H4)", "font-size-H4": "var(--xmlui-font-size-H4)", "line-height-H4": "var(--xmlui-line-height-H4)", "margin-top-H4": "var(--xmlui-margin-top-H4)", "margin-bottom-H4": "var(--xmlui-margin-bottom-H4)", "Heading:line-decoration-H4": "var(--xmlui-line-decoration-H4)", "Heading:color-decoration-H4": "var(--xmlui-color-decoration-H4)", "Heading:style-decoration-H4": "var(--xmlui-style-decoration-H4)", "Heading:thickness-decoration-H4": "var(--xmlui-thickness-decoration-H4)", "Heading:offset-decoration-H4": "var(--xmlui-offset-decoration-H4)", "Heading:color-text-H5": "var(--xmlui-color-text-H5)", "Heading:letter-spacing-H5": "var(--xmlui-letter-spacing-H5)", "Heading:font-family-H5": "var(--xmlui-font-family-H5)", "Heading:font-weight-H5": "var(--xmlui-font-weight-H5)", "font-size-H5": "var(--xmlui-font-size-H5)", "line-height-H5": "var(--xmlui-line-height-H5)", "margin-top-H5": "var(--xmlui-margin-top-H5)", "margin-bottom-H5": "var(--xmlui-margin-bottom-H5)", "Heading:line-decoration-H5": "var(--xmlui-line-decoration-H5)", "Heading:color-decoration-H5": "var(--xmlui-color-decoration-H5)", "Heading:style-decoration-H5": "var(--xmlui-style-decoration-H5)", "Heading:thickness-decoration-H5": "var(--xmlui-thickness-decoration-H5)", "Heading:offset-decoration-H5": "var(--xmlui-offset-decoration-H5)", "Heading:color-text-H6": "var(--xmlui-color-text-H6)", "Heading:letter-spacing-H6": "var(--xmlui-letter-spacing-H6)", "Heading:font-family-H6": "var(--xmlui-font-family-H6)", "Heading:font-weight-H6": "var(--xmlui-font-weight-H6)", "font-size-H6": "var(--xmlui-font-size-H6)", "line-height-H6": "var(--xmlui-line-height-H6)", "margin-top-H6": "var(--xmlui-margin-top-H6)", "margin-bottom-H6": "var(--xmlui-margin-bottom-H6)", "Heading:line-decoration-H6": "var(--xmlui-line-decoration-H6)", "Heading:color-decoration-H6": "var(--xmlui-color-decoration-H6)", "Heading:style-decoration-H6": "var(--xmlui-style-decoration-H6)", "Heading:thickness-decoration-H6": "var(--xmlui-thickness-decoration-H6)", "Heading:offset-decoration-H6": "var(--xmlui-offset-decoration-H6)"}'`,heading:"_heading_1tifa_13",h1:"_h1_1tifa_13",h2:"_h2_1tifa_28",h3:"_h3_1tifa_43",h4:"_h4_1tifa_58",h5:"_h5_1tifa_73",h6:"_h6_1tifa_88",truncateOverflow:"_truncateOverflow_1tifa_108",preserveLinebreaks:"_preserveLinebreaks_1tifa_114",noEllipsis:"_noEllipsis_1tifa_118"},Da=E.createContext(null);function z6({children:A}){const[e,t]=E.useState({}),[o,r]=E.useState(!1),[n,i]=E.useState(null),s=E.useRef(null),a=E.useRef(null);E.useEffect(()=>{if(o){const u=d=>{d.forEach(C=>{C!=null&&C.isIntersecting&&i(C.target.id)})};return s.current=new IntersectionObserver(u,{rootMargin:"0px 0px -50%",threshold:[0,1]}),Object.values(e).forEach(d=>{var C,h;return(h=(C=s==null?void 0:s.current)==null?void 0:C.observe)==null?void 0:h.call(C,d.anchor)}),()=>{var d;return(d=s.current)==null?void 0:d.disconnect()}}},[e,o]);const l=E.useCallback(u=>(t(d=>({...d,[u.id]:u})),()=>{t(d=>{const C={...d};return delete C[u.id],C})}),[]),c=E.useCallback(u=>{e[u]&&i(u)},[e]),B=E.useMemo(()=>Object.values(e).sort(function(u,d){return u.anchor===d.anchor?0:u.anchor.compareDocumentPosition(d.anchor)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),[e]);E.useEffect(()=>{var d;const u=window.location.hash;if(u){if(a!=null&&a.current)return;a.current=(d=B.find(C=>`#${C.id}`===u))==null?void 0:d.anchor,a.current&&og(a.current,{block:"start",inline:"start",behavior:"instant",scrollMode:"always"})}},[B]);const Q=E.useMemo(()=>({registerHeading:l,headings:B,observeIntersection:o,setObserveIntersection:r,activeAnchorId:n,setActiveAnchorId:c}),[l,B,o,n,c]);return g.jsx(Da.Provider,{value:Q,children:A})}function W6(){const A=E.useContext(Da);if(!A)throw new Error("useTableOfContents must be used within a TableOfContentsProvider");return A}const Ko=({uid:A,level:e="h1",children:t,sx:o,layout:r,title:n,maxLines:i=0,preserveLinebreaks:s,ellipses:a=!0,className:l})=>{const c=e==null?void 0:e.toLowerCase(),B=E.useRef(null),[Q,u]=E.useState(null),d=E.useRef(null),C=E.useContext(Da),h=C==null?void 0:C.registerHeading,I=C==null?void 0:C.observeIntersection;return E.useEffect(()=>{var p,D,m,k;if(I&&B.current){const N=(k=(m=(D=(p=B.current.textContent)==null?void 0:p.trim())==null?void 0:D.replace(/[^\w\s-]/g,""))==null?void 0:m.replace(/\s+/g,"-"))==null?void 0:k.toLowerCase();u(N||null)}},[I]),E.useEffect(()=>{if(I&&B.current&&Q)return h==null?void 0:h({id:Q,level:parseInt(e.replace("h","")),text:B.current.textContent.trim(),anchor:d.current})},[Q,I,h,e]),g.jsxs(c,{ref:B,id:A,title:n,style:{...o,...r,...Mu(i)},className:cA(St.heading,St[c],l||"",{[St.truncateOverflow]:i>0,[St.preserveLinebreaks]:s,[St.noEllipsis]:!a}),children:[Q&&I&&g.jsx("span",{ref:d,id:Q,style:{width:0,height:0}}),t]})},Pt="Heading",Sr=f(`This property determines the text displayed in the heading. \`${Pt}\` also accepts nested text instead of specifying the \`value\`. If both \`value\` and a nested text are used, the \`value\` will be displayed.`),Pr=f("This property determines the maximum number of lines the component can wrap to. If there is not enough space for all of the text, the component wraps the text up to as many lines as specified."),$6=f("This property indicates whether ellipses should be displayed (`true`) when the heading text is cropped or not (`false`)."),j6=f("This property indicates whether linebreaks should be preserved when displaying text."),Cn=A=>`Represents a heading level ${A} text`,V6=Z({description:"Represents a heading text",props:{value:Sr,level:f("This property sets the visual significance (level) of the heading."),maxLines:Pr,ellipses:$6,preserveLinebreaks:j6},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-family-${Pt}`]:"$font-family",[`color-text-${Pt}`]:"$color-text-primary",[`font-weight-${Pt}`]:"$font-weight-bold",[`letter-spacing-${Pt} `]:"0",light:{},dark:{}}}),hi="H1",X6=Z({description:Cn(1),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${hi}`]:"$font-size-large",[`line-height-${hi}`]:"$line-height-none",[`margin-top-${hi}`]:"0",[`margin-bottom-${hi}`]:"0",light:{},dark:{}}}),Ii="H2",Z6=Z({description:Cn(2),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${Ii}`]:"$font-size-medium",[`line-height-${Ii}`]:"$line-height-none",[`margin-top-${Ii}`]:"0",[`margin-bottom-${Ii}`]:"0",light:{},dark:{}}}),pi="H3",A7=Z({description:Cn(3),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${pi}`]:"$font-size-normal",[`line-height-${pi}`]:"$line-height-none",[`margin-top-${pi}`]:"0",[`margin-bottom-${pi}`]:"0",light:{},dark:{}}}),wi="H4",e7=Z({description:Cn(4),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${wi}`]:"$font-size-small",[`line-height-${wi}`]:"$line-height-none",[`margin-top-${wi}`]:"0",[`margin-bottom-${wi}`]:"0",light:{},dark:{}}}),fi="H5",t7=Z({description:Cn(5),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${fi}`]:"$font-size-smaller",[`line-height-${fi}`]:"$line-height-none",[`margin-top-${fi}`]:"0",[`margin-bottom-${fi}`]:"0",light:{},dark:{}}}),Di="H6",o7=Z({description:Cn(6),specializedFrom:Pt,props:{value:Sr,maxLines:Pr},themeVars:pA(St.themeVars),defaultThemeVars:{[`font-size-${Di}`]:"$font-size-tiny",[`line-height-${Di}`]:"$line-height-none",[`margin-top-${Di}`]:"0",[`margin-bottom-${Di}`]:"0",light:{},dark:{}}});function Tr({node:A,extractValue:e,layoutCss:t,level:o,renderChild:r}){return g.jsx(Ko,{uid:A.uid,level:e.asOptionalString(o)??"h1",maxLines:e.asOptionalNumber(A.props.maxLines),preserveLinebreaks:e.asOptionalBoolean(A.props.preserveLinebreaks,!1),ellipses:e.asOptionalBoolean(A.props.ellipses,!0),layout:t,children:e.asDisplayText(A.props.value)||r(A.children)})}const r7=AA(Pt,V6,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:A.props.level,renderChild:r})),n7=AA(hi,X6,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h1",renderChild:r})),i7=AA(Ii,Z6,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h2",renderChild:r})),s7=AA(pi,A7,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h3",renderChild:r})),a7=AA(wi,e7,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h4",renderChild:r})),l7=AA(fi,t7,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h5",renderChild:r})),g7=AA(Di,o7,({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,renderChild:r})=>Tr({node:A,extractValue:e,layoutCss:t,layoutNonCss:o,level:"h6",renderChild:r})),hn={themeVars:`'{"font-family-Text-abbr": "var(--xmlui-font-family-Text-abbr)", "font-size-Text-abbr": "var(--xmlui-font-size-Text-abbr)", "font-weight-Text-abbr": "var(--xmlui-font-weight-Text-abbr)", "font-style-Text-abbr": "var(--xmlui-font-style-Text-abbr)", "font-stretch-Text-abbr": "var(--xmlui-font-stretch-Text-abbr)", "line-decoration-Text-abbr": "var(--xmlui-line-decoration-Text-abbr)", "color-decoration-Text-abbr": "var(--xmlui-color-decoration-Text-abbr)", "style-decoration-Text-abbr": "var(--xmlui-style-decoration-Text-abbr)", "thickness-decoration-Text-abbr": "var(--xmlui-thickness-decoration-Text-abbr)", "offset-decoration-Text-abbr": "var(--xmlui-offset-decoration-Text-abbr)", "line-height-Text-abbr": "var(--xmlui-line-height-Text-abbr)", "color-Text-abbr": "var(--xmlui-color-Text-abbr)", "color-bg-Text-abbr": "var(--xmlui-color-bg-Text-abbr)", "border-radius-Text-abbr": "var(--xmlui-border-radius-Text-abbr)", "color-border-Text-abbr": "var(--xmlui-color-border-Text-abbr)", "thickness-border-Text-abbr": "var(--xmlui-thickness-border-Text-abbr)", "style-border-Text-abbr": "var(--xmlui-style-border-Text-abbr)", "margin-top-Text-abbr": "var(--xmlui-margin-top-Text-abbr)", "margin-bottom-Text-abbr": "var(--xmlui-margin-bottom-Text-abbr)", "padding-horizontal-Text-abbr": "var(--xmlui-padding-horizontal-Text-abbr)", "padding-vertical-Text-abbr": "var(--xmlui-padding-vertical-Text-abbr)", "transform-Text-abbr": "var(--xmlui-transform-Text-abbr)", "align-vertical-Text-abbr": "var(--xmlui-align-vertical-Text-abbr)", "letter-spacing-Text-abbr": "var(--xmlui-letter-spacing-Text-abbr)", "font-family-Text-cite": "var(--xmlui-font-family-Text-cite)", "font-size-Text-cite": "var(--xmlui-font-size-Text-cite)", "font-weight-Text-cite": "var(--xmlui-font-weight-Text-cite)", "font-style-Text-cite": "var(--xmlui-font-style-Text-cite)", "font-stretch-Text-cite": "var(--xmlui-font-stretch-Text-cite)", "line-decoration-Text-cite": "var(--xmlui-line-decoration-Text-cite)", "color-decoration-Text-cite": "var(--xmlui-color-decoration-Text-cite)", "style-decoration-Text-cite": "var(--xmlui-style-decoration-Text-cite)", "thickness-decoration-Text-cite": "var(--xmlui-thickness-decoration-Text-cite)", "offset-decoration-Text-cite": "var(--xmlui-offset-decoration-Text-cite)", "line-height-Text-cite": "var(--xmlui-line-height-Text-cite)", "color-Text-cite": "var(--xmlui-color-Text-cite)", "color-bg-Text-cite": "var(--xmlui-color-bg-Text-cite)", "border-radius-Text-cite": "var(--xmlui-border-radius-Text-cite)", "color-border-Text-cite": "var(--xmlui-color-border-Text-cite)", "thickness-border-Text-cite": "var(--xmlui-thickness-border-Text-cite)", "style-border-Text-cite": "var(--xmlui-style-border-Text-cite)", "margin-top-Text-cite": "var(--xmlui-margin-top-Text-cite)", "margin-bottom-Text-cite": "var(--xmlui-margin-bottom-Text-cite)", "padding-horizontal-Text-cite": "var(--xmlui-padding-horizontal-Text-cite)", "padding-vertical-Text-cite": "var(--xmlui-padding-vertical-Text-cite)", "transform-Text-cite": "var(--xmlui-transform-Text-cite)", "align-vertical-Text-cite": "var(--xmlui-align-vertical-Text-cite)", "letter-spacing-Text-cite": "var(--xmlui-letter-spacing-Text-cite)", "font-family-Text-code": "var(--xmlui-font-family-Text-code)", "font-size-Text-code": "var(--xmlui-font-size-Text-code)", "font-weight-Text-code": "var(--xmlui-font-weight-Text-code)", "font-style-Text-code": "var(--xmlui-font-style-Text-code)", "font-stretch-Text-code": "var(--xmlui-font-stretch-Text-code)", "line-decoration-Text-code": "var(--xmlui-line-decoration-Text-code)", "color-decoration-Text-code": "var(--xmlui-color-decoration-Text-code)", "style-decoration-Text-code": "var(--xmlui-style-decoration-Text-code)", "thickness-decoration-Text-code": "var(--xmlui-thickness-decoration-Text-code)", "offset-decoration-Text-code": "var(--xmlui-offset-decoration-Text-code)", "line-height-Text-code": "var(--xmlui-line-height-Text-code)", "color-Text-code": "var(--xmlui-color-Text-code)", "color-bg-Text-code": "var(--xmlui-color-bg-Text-code)", "border-radius-Text-code": "var(--xmlui-border-radius-Text-code)", "color-border-Text-code": "var(--xmlui-color-border-Text-code)", "thickness-border-Text-code": "var(--xmlui-thickness-border-Text-code)", "style-border-Text-code": "var(--xmlui-style-border-Text-code)", "margin-top-Text-code": "var(--xmlui-margin-top-Text-code)", "margin-bottom-Text-code": "var(--xmlui-margin-bottom-Text-code)", "padding-horizontal-Text-code": "var(--xmlui-padding-horizontal-Text-code)", "padding-vertical-Text-code": "var(--xmlui-padding-vertical-Text-code)", "transform-Text-code": "var(--xmlui-transform-Text-code)", "align-vertical-Text-code": "var(--xmlui-align-vertical-Text-code)", "letter-spacing-Text-code": "var(--xmlui-letter-spacing-Text-code)", "font-family-Text-codefence": "var(--xmlui-font-family-Text-codefence)", "font-size-Text-codefence": "var(--xmlui-font-size-Text-codefence)", "font-weight-Text-codefence": "var(--xmlui-font-weight-Text-codefence)", "font-style-Text-codefence": "var(--xmlui-font-style-Text-codefence)", "font-stretch-Text-codefence": "var(--xmlui-font-stretch-Text-codefence)", "line-decoration-Text-codefence": "var(--xmlui-line-decoration-Text-codefence)", "color-decoration-Text-codefence": "var(--xmlui-color-decoration-Text-codefence)", "style-decoration-Text-codefence": "var(--xmlui-style-decoration-Text-codefence)", "thickness-decoration-Text-codefence": "var(--xmlui-thickness-decoration-Text-codefence)", "offset-decoration-Text-codefence": "var(--xmlui-offset-decoration-Text-codefence)", "line-height-Text-codefence": "var(--xmlui-line-height-Text-codefence)", "color-Text-codefence": "var(--xmlui-color-Text-codefence)", "color-bg-Text-codefence": "var(--xmlui-color-bg-Text-codefence)", "border-radius-Text-codefence": "var(--xmlui-border-radius-Text-codefence)", "color-border-Text-codefence": "var(--xmlui-color-border-Text-codefence)", "thickness-border-Text-codefence": "var(--xmlui-thickness-border-Text-codefence)", "style-border-Text-codefence": "var(--xmlui-style-border-Text-codefence)", "margin-top-Text-codefence": "var(--xmlui-margin-top-Text-codefence)", "margin-bottom-Text-codefence": "var(--xmlui-margin-bottom-Text-codefence)", "padding-horizontal-Text-codefence": "var(--xmlui-padding-horizontal-Text-codefence)", "padding-vertical-Text-codefence": "var(--xmlui-padding-vertical-Text-codefence)", "transform-Text-codefence": "var(--xmlui-transform-Text-codefence)", "align-vertical-Text-codefence": "var(--xmlui-align-vertical-Text-codefence)", "letter-spacing-Text-codefence": "var(--xmlui-letter-spacing-Text-codefence)", "font-family-Text-deleted": "var(--xmlui-font-family-Text-deleted)", "font-size-Text-deleted": "var(--xmlui-font-size-Text-deleted)", "font-weight-Text-deleted": "var(--xmlui-font-weight-Text-deleted)", "font-style-Text-deleted": "var(--xmlui-font-style-Text-deleted)", "font-stretch-Text-deleted": "var(--xmlui-font-stretch-Text-deleted)", "line-decoration-Text-deleted": "var(--xmlui-line-decoration-Text-deleted)", "color-decoration-Text-deleted": "var(--xmlui-color-decoration-Text-deleted)", "style-decoration-Text-deleted": "var(--xmlui-style-decoration-Text-deleted)", "thickness-decoration-Text-deleted": "var(--xmlui-thickness-decoration-Text-deleted)", "offset-decoration-Text-deleted": "var(--xmlui-offset-decoration-Text-deleted)", "line-height-Text-deleted": "var(--xmlui-line-height-Text-deleted)", "color-Text-deleted": "var(--xmlui-color-Text-deleted)", "color-bg-Text-deleted": "var(--xmlui-color-bg-Text-deleted)", "border-radius-Text-deleted": "var(--xmlui-border-radius-Text-deleted)", "color-border-Text-deleted": "var(--xmlui-color-border-Text-deleted)", "thickness-border-Text-deleted": "var(--xmlui-thickness-border-Text-deleted)", "style-border-Text-deleted": "var(--xmlui-style-border-Text-deleted)", "margin-top-Text-deleted": "var(--xmlui-margin-top-Text-deleted)", "margin-bottom-Text-deleted": "var(--xmlui-margin-bottom-Text-deleted)", "padding-horizontal-Text-deleted": "var(--xmlui-padding-horizontal-Text-deleted)", "padding-vertical-Text-deleted": "var(--xmlui-padding-vertical-Text-deleted)", "transform-Text-deleted": "var(--xmlui-transform-Text-deleted)", "align-vertical-Text-deleted": "var(--xmlui-align-vertical-Text-deleted)", "letter-spacing-Text-deleted": "var(--xmlui-letter-spacing-Text-deleted)", "font-family-Text-inserted": "var(--xmlui-font-family-Text-inserted)", "font-size-Text-inserted": "var(--xmlui-font-size-Text-inserted)", "font-weight-Text-inserted": "var(--xmlui-font-weight-Text-inserted)", "font-style-Text-inserted": "var(--xmlui-font-style-Text-inserted)", "font-stretch-Text-inserted": "var(--xmlui-font-stretch-Text-inserted)", "line-decoration-Text-inserted": "var(--xmlui-line-decoration-Text-inserted)", "color-decoration-Text-inserted": "var(--xmlui-color-decoration-Text-inserted)", "style-decoration-Text-inserted": "var(--xmlui-style-decoration-Text-inserted)", "thickness-decoration-Text-inserted": "var(--xmlui-thickness-decoration-Text-inserted)", "offset-decoration-Text-inserted": "var(--xmlui-offset-decoration-Text-inserted)", "line-height-Text-inserted": "var(--xmlui-line-height-Text-inserted)", "color-Text-inserted": "var(--xmlui-color-Text-inserted)", "color-bg-Text-inserted": "var(--xmlui-color-bg-Text-inserted)", "border-radius-Text-inserted": "var(--xmlui-border-radius-Text-inserted)", "color-border-Text-inserted": "var(--xmlui-color-border-Text-inserted)", "thickness-border-Text-inserted": "var(--xmlui-thickness-border-Text-inserted)", "style-border-Text-inserted": "var(--xmlui-style-border-Text-inserted)", "margin-top-Text-inserted": "var(--xmlui-margin-top-Text-inserted)", "margin-bottom-Text-inserted": "var(--xmlui-margin-bottom-Text-inserted)", "padding-horizontal-Text-inserted": "var(--xmlui-padding-horizontal-Text-inserted)", "padding-vertical-Text-inserted": "var(--xmlui-padding-vertical-Text-inserted)", "transform-Text-inserted": "var(--xmlui-transform-Text-inserted)", "align-vertical-Text-inserted": "var(--xmlui-align-vertical-Text-inserted)", "letter-spacing-Text-inserted": "var(--xmlui-letter-spacing-Text-inserted)", "font-family-Text-keyboard": "var(--xmlui-font-family-Text-keyboard)", "font-size-Text-keyboard": "var(--xmlui-font-size-Text-keyboard)", "font-weight-Text-keyboard": "var(--xmlui-font-weight-Text-keyboard)", "font-style-Text-keyboard": "var(--xmlui-font-style-Text-keyboard)", "font-stretch-Text-keyboard": "var(--xmlui-font-stretch-Text-keyboard)", "line-decoration-Text-keyboard": "var(--xmlui-line-decoration-Text-keyboard)", "color-decoration-Text-keyboard": "var(--xmlui-color-decoration-Text-keyboard)", "style-decoration-Text-keyboard": "var(--xmlui-style-decoration-Text-keyboard)", "thickness-decoration-Text-keyboard": "var(--xmlui-thickness-decoration-Text-keyboard)", "offset-decoration-Text-keyboard": "var(--xmlui-offset-decoration-Text-keyboard)", "line-height-Text-keyboard": "var(--xmlui-line-height-Text-keyboard)", "color-Text-keyboard": "var(--xmlui-color-Text-keyboard)", "color-bg-Text-keyboard": "var(--xmlui-color-bg-Text-keyboard)", "border-radius-Text-keyboard": "var(--xmlui-border-radius-Text-keyboard)", "color-border-Text-keyboard": "var(--xmlui-color-border-Text-keyboard)", "thickness-border-Text-keyboard": "var(--xmlui-thickness-border-Text-keyboard)", "style-border-Text-keyboard": "var(--xmlui-style-border-Text-keyboard)", "margin-top-Text-keyboard": "var(--xmlui-margin-top-Text-keyboard)", "margin-bottom-Text-keyboard": "var(--xmlui-margin-bottom-Text-keyboard)", "padding-horizontal-Text-keyboard": "var(--xmlui-padding-horizontal-Text-keyboard)", "padding-vertical-Text-keyboard": "var(--xmlui-padding-vertical-Text-keyboard)", "transform-Text-keyboard": "var(--xmlui-transform-Text-keyboard)", "align-vertical-Text-keyboard": "var(--xmlui-align-vertical-Text-keyboard)", "letter-spacing-Text-keyboard": "var(--xmlui-letter-spacing-Text-keyboard)", "font-family-Text-marked": "var(--xmlui-font-family-Text-marked)", "font-size-Text-marked": "var(--xmlui-font-size-Text-marked)", "font-weight-Text-marked": "var(--xmlui-font-weight-Text-marked)", "font-style-Text-marked": "var(--xmlui-font-style-Text-marked)", "font-stretch-Text-marked": "var(--xmlui-font-stretch-Text-marked)", "line-decoration-Text-marked": "var(--xmlui-line-decoration-Text-marked)", "color-decoration-Text-marked": "var(--xmlui-color-decoration-Text-marked)", "style-decoration-Text-marked": "var(--xmlui-style-decoration-Text-marked)", "thickness-decoration-Text-marked": "var(--xmlui-thickness-decoration-Text-marked)", "offset-decoration-Text-marked": "var(--xmlui-offset-decoration-Text-marked)", "line-height-Text-marked": "var(--xmlui-line-height-Text-marked)", "color-Text-marked": "var(--xmlui-color-Text-marked)", "color-bg-Text-marked": "var(--xmlui-color-bg-Text-marked)", "border-radius-Text-marked": "var(--xmlui-border-radius-Text-marked)", "color-border-Text-marked": "var(--xmlui-color-border-Text-marked)", "thickness-border-Text-marked": "var(--xmlui-thickness-border-Text-marked)", "style-border-Text-marked": "var(--xmlui-style-border-Text-marked)", "margin-top-Text-marked": "var(--xmlui-margin-top-Text-marked)", "margin-bottom-Text-marked": "var(--xmlui-margin-bottom-Text-marked)", "padding-horizontal-Text-marked": "var(--xmlui-padding-horizontal-Text-marked)", "padding-vertical-Text-marked": "var(--xmlui-padding-vertical-Text-marked)", "transform-Text-marked": "var(--xmlui-transform-Text-marked)", "align-vertical-Text-marked": "var(--xmlui-align-vertical-Text-marked)", "letter-spacing-Text-marked": "var(--xmlui-letter-spacing-Text-marked)", "font-family-Text-mono": "var(--xmlui-font-family-Text-mono)", "font-size-Text-mono": "var(--xmlui-font-size-Text-mono)", "font-weight-Text-mono": "var(--xmlui-font-weight-Text-mono)", "font-style-Text-mono": "var(--xmlui-font-style-Text-mono)", "font-stretch-Text-mono": "var(--xmlui-font-stretch-Text-mono)", "line-decoration-Text-mono": "var(--xmlui-line-decoration-Text-mono)", "color-decoration-Text-mono": "var(--xmlui-color-decoration-Text-mono)", "style-decoration-Text-mono": "var(--xmlui-style-decoration-Text-mono)", "thickness-decoration-Text-mono": "var(--xmlui-thickness-decoration-Text-mono)", "offset-decoration-Text-mono": "var(--xmlui-offset-decoration-Text-mono)", "line-height-Text-mono": "var(--xmlui-line-height-Text-mono)", "color-Text-mono": "var(--xmlui-color-Text-mono)", "color-bg-Text-mono": "var(--xmlui-color-bg-Text-mono)", "border-radius-Text-mono": "var(--xmlui-border-radius-Text-mono)", "color-border-Text-mono": "var(--xmlui-color-border-Text-mono)", "thickness-border-Text-mono": "var(--xmlui-thickness-border-Text-mono)", "style-border-Text-mono": "var(--xmlui-style-border-Text-mono)", "margin-top-Text-mono": "var(--xmlui-margin-top-Text-mono)", "margin-bottom-Text-mono": "var(--xmlui-margin-bottom-Text-mono)", "padding-horizontal-Text-mono": "var(--xmlui-padding-horizontal-Text-mono)", "padding-vertical-Text-mono": "var(--xmlui-padding-vertical-Text-mono)", "transform-Text-mono": "var(--xmlui-transform-Text-mono)", "align-vertical-Text-mono": "var(--xmlui-align-vertical-Text-mono)", "letter-spacing-Text-mono": "var(--xmlui-letter-spacing-Text-mono)", "font-family-Text-sample": "var(--xmlui-font-family-Text-sample)", "font-size-Text-sample": "var(--xmlui-font-size-Text-sample)", "font-weight-Text-sample": "var(--xmlui-font-weight-Text-sample)", "font-style-Text-sample": "var(--xmlui-font-style-Text-sample)", "font-stretch-Text-sample": "var(--xmlui-font-stretch-Text-sample)", "line-decoration-Text-sample": "var(--xmlui-line-decoration-Text-sample)", "color-decoration-Text-sample": "var(--xmlui-color-decoration-Text-sample)", "style-decoration-Text-sample": "var(--xmlui-style-decoration-Text-sample)", "thickness-decoration-Text-sample": "var(--xmlui-thickness-decoration-Text-sample)", "offset-decoration-Text-sample": "var(--xmlui-offset-decoration-Text-sample)", "line-height-Text-sample": "var(--xmlui-line-height-Text-sample)", "color-Text-sample": "var(--xmlui-color-Text-sample)", "color-bg-Text-sample": "var(--xmlui-color-bg-Text-sample)", "border-radius-Text-sample": "var(--xmlui-border-radius-Text-sample)", "color-border-Text-sample": "var(--xmlui-color-border-Text-sample)", "thickness-border-Text-sample": "var(--xmlui-thickness-border-Text-sample)", "style-border-Text-sample": "var(--xmlui-style-border-Text-sample)", "margin-top-Text-sample": "var(--xmlui-margin-top-Text-sample)", "margin-bottom-Text-sample": "var(--xmlui-margin-bottom-Text-sample)", "padding-horizontal-Text-sample": "var(--xmlui-padding-horizontal-Text-sample)", "padding-vertical-Text-sample": "var(--xmlui-padding-vertical-Text-sample)", "transform-Text-sample": "var(--xmlui-transform-Text-sample)", "align-vertical-Text-sample": "var(--xmlui-align-vertical-Text-sample)", "letter-spacing-Text-sample": "var(--xmlui-letter-spacing-Text-sample)", "font-family-Text-sup": "var(--xmlui-font-family-Text-sup)", "font-size-Text-sup": "var(--xmlui-font-size-Text-sup)", "font-weight-Text-sup": "var(--xmlui-font-weight-Text-sup)", "font-style-Text-sup": "var(--xmlui-font-style-Text-sup)", "font-stretch-Text-sup": "var(--xmlui-font-stretch-Text-sup)", "line-decoration-Text-sup": "var(--xmlui-line-decoration-Text-sup)", "color-decoration-Text-sup": "var(--xmlui-color-decoration-Text-sup)", "style-decoration-Text-sup": "var(--xmlui-style-decoration-Text-sup)", "thickness-decoration-Text-sup": "var(--xmlui-thickness-decoration-Text-sup)", "offset-decoration-Text-sup": "var(--xmlui-offset-decoration-Text-sup)", "line-height-Text-sup": "var(--xmlui-line-height-Text-sup)", "color-Text-sup": "var(--xmlui-color-Text-sup)", "color-bg-Text-sup": "var(--xmlui-color-bg-Text-sup)", "border-radius-Text-sup": "var(--xmlui-border-radius-Text-sup)", "color-border-Text-sup": "var(--xmlui-color-border-Text-sup)", "thickness-border-Text-sup": "var(--xmlui-thickness-border-Text-sup)", "style-border-Text-sup": "var(--xmlui-style-border-Text-sup)", "margin-top-Text-sup": "var(--xmlui-margin-top-Text-sup)", "margin-bottom-Text-sup": "var(--xmlui-margin-bottom-Text-sup)", "padding-horizontal-Text-sup": "var(--xmlui-padding-horizontal-Text-sup)", "padding-vertical-Text-sup": "var(--xmlui-padding-vertical-Text-sup)", "transform-Text-sup": "var(--xmlui-transform-Text-sup)", "align-vertical-Text-sup": "var(--xmlui-align-vertical-Text-sup)", "letter-spacing-Text-sup": "var(--xmlui-letter-spacing-Text-sup)", "font-family-Text-sub": "var(--xmlui-font-family-Text-sub)", "font-size-Text-sub": "var(--xmlui-font-size-Text-sub)", "font-weight-Text-sub": "var(--xmlui-font-weight-Text-sub)", "font-style-Text-sub": "var(--xmlui-font-style-Text-sub)", "font-stretch-Text-sub": "var(--xmlui-font-stretch-Text-sub)", "line-decoration-Text-sub": "var(--xmlui-line-decoration-Text-sub)", "color-decoration-Text-sub": "var(--xmlui-color-decoration-Text-sub)", "style-decoration-Text-sub": "var(--xmlui-style-decoration-Text-sub)", "thickness-decoration-Text-sub": "var(--xmlui-thickness-decoration-Text-sub)", "offset-decoration-Text-sub": "var(--xmlui-offset-decoration-Text-sub)", "line-height-Text-sub": "var(--xmlui-line-height-Text-sub)", "color-Text-sub": "var(--xmlui-color-Text-sub)", "color-bg-Text-sub": "var(--xmlui-color-bg-Text-sub)", "border-radius-Text-sub": "var(--xmlui-border-radius-Text-sub)", "color-border-Text-sub": "var(--xmlui-color-border-Text-sub)", "thickness-border-Text-sub": "var(--xmlui-thickness-border-Text-sub)", "style-border-Text-sub": "var(--xmlui-style-border-Text-sub)", "margin-top-Text-sub": "var(--xmlui-margin-top-Text-sub)", "margin-bottom-Text-sub": "var(--xmlui-margin-bottom-Text-sub)", "padding-horizontal-Text-sub": "var(--xmlui-padding-horizontal-Text-sub)", "padding-vertical-Text-sub": "var(--xmlui-padding-vertical-Text-sub)", "transform-Text-sub": "var(--xmlui-transform-Text-sub)", "align-vertical-Text-sub": "var(--xmlui-align-vertical-Text-sub)", "letter-spacing-Text-sub": "var(--xmlui-letter-spacing-Text-sub)", "font-family-Text-var": "var(--xmlui-font-family-Text-var)", "font-size-Text-var": "var(--xmlui-font-size-Text-var)", "font-weight-Text-var": "var(--xmlui-font-weight-Text-var)", "font-style-Text-var": "var(--xmlui-font-style-Text-var)", "font-stretch-Text-var": "var(--xmlui-font-stretch-Text-var)", "line-decoration-Text-var": "var(--xmlui-line-decoration-Text-var)", "color-decoration-Text-var": "var(--xmlui-color-decoration-Text-var)", "style-decoration-Text-var": "var(--xmlui-style-decoration-Text-var)", "thickness-decoration-Text-var": "var(--xmlui-thickness-decoration-Text-var)", "offset-decoration-Text-var": "var(--xmlui-offset-decoration-Text-var)", "line-height-Text-var": "var(--xmlui-line-height-Text-var)", "color-Text-var": "var(--xmlui-color-Text-var)", "color-bg-Text-var": "var(--xmlui-color-bg-Text-var)", "border-radius-Text-var": "var(--xmlui-border-radius-Text-var)", "color-border-Text-var": "var(--xmlui-color-border-Text-var)", "thickness-border-Text-var": "var(--xmlui-thickness-border-Text-var)", "style-border-Text-var": "var(--xmlui-style-border-Text-var)", "margin-top-Text-var": "var(--xmlui-margin-top-Text-var)", "margin-bottom-Text-var": "var(--xmlui-margin-bottom-Text-var)", "padding-horizontal-Text-var": "var(--xmlui-padding-horizontal-Text-var)", "padding-vertical-Text-var": "var(--xmlui-padding-vertical-Text-var)", "transform-Text-var": "var(--xmlui-transform-Text-var)", "align-vertical-Text-var": "var(--xmlui-align-vertical-Text-var)", "letter-spacing-Text-var": "var(--xmlui-letter-spacing-Text-var)", "font-family-Text-title": "var(--xmlui-font-family-Text-title)", "font-size-Text-title": "var(--xmlui-font-size-Text-title)", "font-weight-Text-title": "var(--xmlui-font-weight-Text-title)", "font-style-Text-title": "var(--xmlui-font-style-Text-title)", "font-stretch-Text-title": "var(--xmlui-font-stretch-Text-title)", "line-decoration-Text-title": "var(--xmlui-line-decoration-Text-title)", "color-decoration-Text-title": "var(--xmlui-color-decoration-Text-title)", "style-decoration-Text-title": "var(--xmlui-style-decoration-Text-title)", "thickness-decoration-Text-title": "var(--xmlui-thickness-decoration-Text-title)", "offset-decoration-Text-title": "var(--xmlui-offset-decoration-Text-title)", "line-height-Text-title": "var(--xmlui-line-height-Text-title)", "color-Text-title": "var(--xmlui-color-Text-title)", "color-bg-Text-title": "var(--xmlui-color-bg-Text-title)", "border-radius-Text-title": "var(--xmlui-border-radius-Text-title)", "color-border-Text-title": "var(--xmlui-color-border-Text-title)", "thickness-border-Text-title": "var(--xmlui-thickness-border-Text-title)", "style-border-Text-title": "var(--xmlui-style-border-Text-title)", "margin-top-Text-title": "var(--xmlui-margin-top-Text-title)", "margin-bottom-Text-title": "var(--xmlui-margin-bottom-Text-title)", "padding-horizontal-Text-title": "var(--xmlui-padding-horizontal-Text-title)", "padding-vertical-Text-title": "var(--xmlui-padding-vertical-Text-title)", "transform-Text-title": "var(--xmlui-transform-Text-title)", "align-vertical-Text-title": "var(--xmlui-align-vertical-Text-title)", "letter-spacing-Text-title": "var(--xmlui-letter-spacing-Text-title)", "font-family-Text-subtitle": "var(--xmlui-font-family-Text-subtitle)", "font-size-Text-subtitle": "var(--xmlui-font-size-Text-subtitle)", "font-weight-Text-subtitle": "var(--xmlui-font-weight-Text-subtitle)", "font-style-Text-subtitle": "var(--xmlui-font-style-Text-subtitle)", "font-stretch-Text-subtitle": "var(--xmlui-font-stretch-Text-subtitle)", "line-decoration-Text-subtitle": "var(--xmlui-line-decoration-Text-subtitle)", "color-decoration-Text-subtitle": "var(--xmlui-color-decoration-Text-subtitle)", "style-decoration-Text-subtitle": "var(--xmlui-style-decoration-Text-subtitle)", "thickness-decoration-Text-subtitle": "var(--xmlui-thickness-decoration-Text-subtitle)", "offset-decoration-Text-subtitle": "var(--xmlui-offset-decoration-Text-subtitle)", "line-height-Text-subtitle": "var(--xmlui-line-height-Text-subtitle)", "color-Text-subtitle": "var(--xmlui-color-Text-subtitle)", "color-bg-Text-subtitle": "var(--xmlui-color-bg-Text-subtitle)", "border-radius-Text-subtitle": "var(--xmlui-border-radius-Text-subtitle)", "color-border-Text-subtitle": "var(--xmlui-color-border-Text-subtitle)", "thickness-border-Text-subtitle": "var(--xmlui-thickness-border-Text-subtitle)", "style-border-Text-subtitle": "var(--xmlui-style-border-Text-subtitle)", "margin-top-Text-subtitle": "var(--xmlui-margin-top-Text-subtitle)", "margin-bottom-Text-subtitle": "var(--xmlui-margin-bottom-Text-subtitle)", "padding-horizontal-Text-subtitle": "var(--xmlui-padding-horizontal-Text-subtitle)", "padding-vertical-Text-subtitle": "var(--xmlui-padding-vertical-Text-subtitle)", "transform-Text-subtitle": "var(--xmlui-transform-Text-subtitle)", "align-vertical-Text-subtitle": "var(--xmlui-align-vertical-Text-subtitle)", "letter-spacing-Text-subtitle": "var(--xmlui-letter-spacing-Text-subtitle)", "font-family-Text-small": "var(--xmlui-font-family-Text-small)", "font-size-Text-small": "var(--xmlui-font-size-Text-small)", "font-weight-Text-small": "var(--xmlui-font-weight-Text-small)", "font-style-Text-small": "var(--xmlui-font-style-Text-small)", "font-stretch-Text-small": "var(--xmlui-font-stretch-Text-small)", "line-decoration-Text-small": "var(--xmlui-line-decoration-Text-small)", "color-decoration-Text-small": "var(--xmlui-color-decoration-Text-small)", "style-decoration-Text-small": "var(--xmlui-style-decoration-Text-small)", "thickness-decoration-Text-small": "var(--xmlui-thickness-decoration-Text-small)", "offset-decoration-Text-small": "var(--xmlui-offset-decoration-Text-small)", "line-height-Text-small": "var(--xmlui-line-height-Text-small)", "color-Text-small": "var(--xmlui-color-Text-small)", "color-bg-Text-small": "var(--xmlui-color-bg-Text-small)", "border-radius-Text-small": "var(--xmlui-border-radius-Text-small)", "color-border-Text-small": "var(--xmlui-color-border-Text-small)", "thickness-border-Text-small": "var(--xmlui-thickness-border-Text-small)", "style-border-Text-small": "var(--xmlui-style-border-Text-small)", "margin-top-Text-small": "var(--xmlui-margin-top-Text-small)", "margin-bottom-Text-small": "var(--xmlui-margin-bottom-Text-small)", "padding-horizontal-Text-small": "var(--xmlui-padding-horizontal-Text-small)", "padding-vertical-Text-small": "var(--xmlui-padding-vertical-Text-small)", "transform-Text-small": "var(--xmlui-transform-Text-small)", "align-vertical-Text-small": "var(--xmlui-align-vertical-Text-small)", "letter-spacing-Text-small": "var(--xmlui-letter-spacing-Text-small)", "font-family-Text-caption": "var(--xmlui-font-family-Text-caption)", "font-size-Text-caption": "var(--xmlui-font-size-Text-caption)", "font-weight-Text-caption": "var(--xmlui-font-weight-Text-caption)", "font-style-Text-caption": "var(--xmlui-font-style-Text-caption)", "font-stretch-Text-caption": "var(--xmlui-font-stretch-Text-caption)", "line-decoration-Text-caption": "var(--xmlui-line-decoration-Text-caption)", "color-decoration-Text-caption": "var(--xmlui-color-decoration-Text-caption)", "style-decoration-Text-caption": "var(--xmlui-style-decoration-Text-caption)", "thickness-decoration-Text-caption": "var(--xmlui-thickness-decoration-Text-caption)", "offset-decoration-Text-caption": "var(--xmlui-offset-decoration-Text-caption)", "line-height-Text-caption": "var(--xmlui-line-height-Text-caption)", "color-Text-caption": "var(--xmlui-color-Text-caption)", "color-bg-Text-caption": "var(--xmlui-color-bg-Text-caption)", "border-radius-Text-caption": "var(--xmlui-border-radius-Text-caption)", "color-border-Text-caption": "var(--xmlui-color-border-Text-caption)", "thickness-border-Text-caption": "var(--xmlui-thickness-border-Text-caption)", "style-border-Text-caption": "var(--xmlui-style-border-Text-caption)", "margin-top-Text-caption": "var(--xmlui-margin-top-Text-caption)", "margin-bottom-Text-caption": "var(--xmlui-margin-bottom-Text-caption)", "padding-horizontal-Text-caption": "var(--xmlui-padding-horizontal-Text-caption)", "padding-vertical-Text-caption": "var(--xmlui-padding-vertical-Text-caption)", "transform-Text-caption": "var(--xmlui-transform-Text-caption)", "align-vertical-Text-caption": "var(--xmlui-align-vertical-Text-caption)", "letter-spacing-Text-caption": "var(--xmlui-letter-spacing-Text-caption)", "font-family-Text-placeholder": "var(--xmlui-font-family-Text-placeholder)", "font-size-Text-placeholder": "var(--xmlui-font-size-Text-placeholder)", "font-weight-Text-placeholder": "var(--xmlui-font-weight-Text-placeholder)", "font-style-Text-placeholder": "var(--xmlui-font-style-Text-placeholder)", "font-stretch-Text-placeholder": "var(--xmlui-font-stretch-Text-placeholder)", "line-decoration-Text-placeholder": "var(--xmlui-line-decoration-Text-placeholder)", "color-decoration-Text-placeholder": "var(--xmlui-color-decoration-Text-placeholder)", "style-decoration-Text-placeholder": "var(--xmlui-style-decoration-Text-placeholder)", "thickness-decoration-Text-placeholder": "var(--xmlui-thickness-decoration-Text-placeholder)", "offset-decoration-Text-placeholder": "var(--xmlui-offset-decoration-Text-placeholder)", "line-height-Text-placeholder": "var(--xmlui-line-height-Text-placeholder)", "color-Text-placeholder": "var(--xmlui-color-Text-placeholder)", "color-bg-Text-placeholder": "var(--xmlui-color-bg-Text-placeholder)", "border-radius-Text-placeholder": "var(--xmlui-border-radius-Text-placeholder)", "color-border-Text-placeholder": "var(--xmlui-color-border-Text-placeholder)", "thickness-border-Text-placeholder": "var(--xmlui-thickness-border-Text-placeholder)", "style-border-Text-placeholder": "var(--xmlui-style-border-Text-placeholder)", "margin-top-Text-placeholder": "var(--xmlui-margin-top-Text-placeholder)", "margin-bottom-Text-placeholder": "var(--xmlui-margin-bottom-Text-placeholder)", "padding-horizontal-Text-placeholder": "var(--xmlui-padding-horizontal-Text-placeholder)", "padding-vertical-Text-placeholder": "var(--xmlui-padding-vertical-Text-placeholder)", "transform-Text-placeholder": "var(--xmlui-transform-Text-placeholder)", "align-vertical-Text-placeholder": "var(--xmlui-align-vertical-Text-placeholder)", "letter-spacing-Text-placeholder": "var(--xmlui-letter-spacing-Text-placeholder)", "font-family-Text-paragraph": "var(--xmlui-font-family-Text-paragraph)", "font-size-Text-paragraph": "var(--xmlui-font-size-Text-paragraph)", "font-weight-Text-paragraph": "var(--xmlui-font-weight-Text-paragraph)", "font-style-Text-paragraph": "var(--xmlui-font-style-Text-paragraph)", "font-stretch-Text-paragraph": "var(--xmlui-font-stretch-Text-paragraph)", "line-decoration-Text-paragraph": "var(--xmlui-line-decoration-Text-paragraph)", "color-decoration-Text-paragraph": "var(--xmlui-color-decoration-Text-paragraph)", "style-decoration-Text-paragraph": "var(--xmlui-style-decoration-Text-paragraph)", "thickness-decoration-Text-paragraph": "var(--xmlui-thickness-decoration-Text-paragraph)", "offset-decoration-Text-paragraph": "var(--xmlui-offset-decoration-Text-paragraph)", "line-height-Text-paragraph": "var(--xmlui-line-height-Text-paragraph)", "color-Text-paragraph": "var(--xmlui-color-Text-paragraph)", "color-bg-Text-paragraph": "var(--xmlui-color-bg-Text-paragraph)", "border-radius-Text-paragraph": "var(--xmlui-border-radius-Text-paragraph)", "color-border-Text-paragraph": "var(--xmlui-color-border-Text-paragraph)", "thickness-border-Text-paragraph": "var(--xmlui-thickness-border-Text-paragraph)", "style-border-Text-paragraph": "var(--xmlui-style-border-Text-paragraph)", "margin-top-Text-paragraph": "var(--xmlui-margin-top-Text-paragraph)", "margin-bottom-Text-paragraph": "var(--xmlui-margin-bottom-Text-paragraph)", "padding-horizontal-Text-paragraph": "var(--xmlui-padding-horizontal-Text-paragraph)", "padding-vertical-Text-paragraph": "var(--xmlui-padding-vertical-Text-paragraph)", "transform-Text-paragraph": "var(--xmlui-transform-Text-paragraph)", "align-vertical-Text-paragraph": "var(--xmlui-align-vertical-Text-paragraph)", "letter-spacing-Text-paragraph": "var(--xmlui-letter-spacing-Text-paragraph)", "font-family-Text-subheading": "var(--xmlui-font-family-Text-subheading)", "font-size-Text-subheading": "var(--xmlui-font-size-Text-subheading)", "font-weight-Text-subheading": "var(--xmlui-font-weight-Text-subheading)", "font-style-Text-subheading": "var(--xmlui-font-style-Text-subheading)", "font-stretch-Text-subheading": "var(--xmlui-font-stretch-Text-subheading)", "line-decoration-Text-subheading": "var(--xmlui-line-decoration-Text-subheading)", "color-decoration-Text-subheading": "var(--xmlui-color-decoration-Text-subheading)", "style-decoration-Text-subheading": "var(--xmlui-style-decoration-Text-subheading)", "thickness-decoration-Text-subheading": "var(--xmlui-thickness-decoration-Text-subheading)", "offset-decoration-Text-subheading": "var(--xmlui-offset-decoration-Text-subheading)", "line-height-Text-subheading": "var(--xmlui-line-height-Text-subheading)", "color-Text-subheading": "var(--xmlui-color-Text-subheading)", "color-bg-Text-subheading": "var(--xmlui-color-bg-Text-subheading)", "border-radius-Text-subheading": "var(--xmlui-border-radius-Text-subheading)", "color-border-Text-subheading": "var(--xmlui-color-border-Text-subheading)", "thickness-border-Text-subheading": "var(--xmlui-thickness-border-Text-subheading)", "style-border-Text-subheading": "var(--xmlui-style-border-Text-subheading)", "margin-top-Text-subheading": "var(--xmlui-margin-top-Text-subheading)", "margin-bottom-Text-subheading": "var(--xmlui-margin-bottom-Text-subheading)", "padding-horizontal-Text-subheading": "var(--xmlui-padding-horizontal-Text-subheading)", "padding-vertical-Text-subheading": "var(--xmlui-padding-vertical-Text-subheading)", "transform-Text-subheading": "var(--xmlui-transform-Text-subheading)", "align-vertical-Text-subheading": "var(--xmlui-align-vertical-Text-subheading)", "letter-spacing-Text-subheading": "var(--xmlui-letter-spacing-Text-subheading)", "font-family-Text-tableheading": "var(--xmlui-font-family-Text-tableheading)", "font-size-Text-tableheading": "var(--xmlui-font-size-Text-tableheading)", "font-weight-Text-tableheading": "var(--xmlui-font-weight-Text-tableheading)", "font-style-Text-tableheading": "var(--xmlui-font-style-Text-tableheading)", "font-stretch-Text-tableheading": "var(--xmlui-font-stretch-Text-tableheading)", "line-decoration-Text-tableheading": "var(--xmlui-line-decoration-Text-tableheading)", "color-decoration-Text-tableheading": "var(--xmlui-color-decoration-Text-tableheading)", "style-decoration-Text-tableheading": "var(--xmlui-style-decoration-Text-tableheading)", "thickness-decoration-Text-tableheading": "var(--xmlui-thickness-decoration-Text-tableheading)", "offset-decoration-Text-tableheading": "var(--xmlui-offset-decoration-Text-tableheading)", "line-height-Text-tableheading": "var(--xmlui-line-height-Text-tableheading)", "color-Text-tableheading": "var(--xmlui-color-Text-tableheading)", "color-bg-Text-tableheading": "var(--xmlui-color-bg-Text-tableheading)", "border-radius-Text-tableheading": "var(--xmlui-border-radius-Text-tableheading)", "color-border-Text-tableheading": "var(--xmlui-color-border-Text-tableheading)", "thickness-border-Text-tableheading": "var(--xmlui-thickness-border-Text-tableheading)", "style-border-Text-tableheading": "var(--xmlui-style-border-Text-tableheading)", "margin-top-Text-tableheading": "var(--xmlui-margin-top-Text-tableheading)", "margin-bottom-Text-tableheading": "var(--xmlui-margin-bottom-Text-tableheading)", "padding-horizontal-Text-tableheading": "var(--xmlui-padding-horizontal-Text-tableheading)", "padding-vertical-Text-tableheading": "var(--xmlui-padding-vertical-Text-tableheading)", "transform-Text-tableheading": "var(--xmlui-transform-Text-tableheading)", "align-vertical-Text-tableheading": "var(--xmlui-align-vertical-Text-tableheading)", "letter-spacing-Text-tableheading": "var(--xmlui-letter-spacing-Text-tableheading)", "font-family-Text-secondary": "var(--xmlui-font-family-Text-secondary)", "font-size-Text-secondary": "var(--xmlui-font-size-Text-secondary)", "font-weight-Text-secondary": "var(--xmlui-font-weight-Text-secondary)", "font-style-Text-secondary": "var(--xmlui-font-style-Text-secondary)", "font-stretch-Text-secondary": "var(--xmlui-font-stretch-Text-secondary)", "line-decoration-Text-secondary": "var(--xmlui-line-decoration-Text-secondary)", "color-decoration-Text-secondary": "var(--xmlui-color-decoration-Text-secondary)", "style-decoration-Text-secondary": "var(--xmlui-style-decoration-Text-secondary)", "thickness-decoration-Text-secondary": "var(--xmlui-thickness-decoration-Text-secondary)", "offset-decoration-Text-secondary": "var(--xmlui-offset-decoration-Text-secondary)", "line-height-Text-secondary": "var(--xmlui-line-height-Text-secondary)", "color-Text-secondary": "var(--xmlui-color-Text-secondary)", "color-bg-Text-secondary": "var(--xmlui-color-bg-Text-secondary)", "border-radius-Text-secondary": "var(--xmlui-border-radius-Text-secondary)", "color-border-Text-secondary": "var(--xmlui-color-border-Text-secondary)", "thickness-border-Text-secondary": "var(--xmlui-thickness-border-Text-secondary)", "style-border-Text-secondary": "var(--xmlui-style-border-Text-secondary)", "margin-top-Text-secondary": "var(--xmlui-margin-top-Text-secondary)", "margin-bottom-Text-secondary": "var(--xmlui-margin-bottom-Text-secondary)", "padding-horizontal-Text-secondary": "var(--xmlui-padding-horizontal-Text-secondary)", "padding-vertical-Text-secondary": "var(--xmlui-padding-vertical-Text-secondary)", "transform-Text-secondary": "var(--xmlui-transform-Text-secondary)", "align-vertical-Text-secondary": "var(--xmlui-align-vertical-Text-secondary)", "letter-spacing-Text-secondary": "var(--xmlui-letter-spacing-Text-secondary)"}'`,text:"_text_1v46g_13",abbr:"_abbr_1v46g_23",cite:"_cite_1v46g_51",codefence:"_codefence_1v46g_79",code:"_code_1v46g_79",deleted:"_deleted_1v46g_135",inserted:"_inserted_1v46g_178",keyboard:"_keyboard_1v46g_221",marked:"_marked_1v46g_249",mono:"_mono_1v46g_292",sample:"_sample_1v46g_320",sup:"_sup_1v46g_348",sub:"_sub_1v46g_376",var:"_var_1v46g_404",title:"_title_1v46g_432",subtitle:"_subtitle_1v46g_460",small:"_small_1v46g_488",caption:"_caption_1v46g_516",placeholder:"_placeholder_1v46g_544",paragraph:"_paragraph_1v46g_572",subheading:"_subheading_1v46g_600",tableheading:"_tableheading_1v46g_628",secondary:"_secondary_1v46g_656",strong:"_strong_1v46g_684",truncateOverflow:"_truncateOverflow_1v46g_692",preserveLinebreaks:"_preserveLinebreaks_1v46g_699",noEllipsis:"_noEllipsis_1v46g_703"},Su={abbr:"abbr",cite:"cite",code:"code",codefence:"pre",deleted:"del",inserted:"ins",keyboard:"kbd",marked:"mark",sample:"samp",sub:"sub",sup:"sup",var:"var",mono:"pre",strong:"strong",em:"em",title:"span",subtitle:"span",small:"span",caption:"span",placeholder:"span",paragraph:"p",subheading:"h6",tableheading:"h6",secondary:"span"},c7=[{value:"abbr",description:"Represents an abbreviation or acronym"},{value:"caption",description:"Represents the caption (or title) of a table"},{value:"cite",description:"Is used to mark up the title of a cited work"},{value:"code",description:"Represents a line of code"},{value:"codefence",description:"Handles the display of code blocks if combined with a `code` variant"},{value:"deleted",description:"Represents text that has been deleted"},{value:"em",description:"Marks text to stress emphasis"},{value:"inserted",description:"Represents a range of text that has been added to a document"},{value:"keyboard",description:"Represents a span of text denoting textual user input from a keyboard or voice input"},{value:"marked",description:"Represents text which is marked or highlighted for reference or notation"},{value:"mono",description:"Text using a mono style font family"},{value:"paragraph",description:"Represents a paragraph"},{value:"placeholder",description:"Text that is mostly used as the placeholder style in input controls"},{value:"sample",description:"Represents sample (or quoted) output from a computer program"},{value:"secondary",description:"Represents a bit dimmed secondary text"},{value:"small",description:"Represents side-comments and small print"},{value:"sub",description:"Specifies inline text as subscript"},{value:"strong",description:"Contents have strong importance"},{value:"subheading",description:"Indicates that the text is the subtitle in a heading"},{value:"subtitle",description:"Indicates that the text is the subtitle of some other content"},{value:"sup",description:"Specifies inline text as superscript"},{value:"tableheading",description:"Indicates that the text is a table heading"},{value:"title",description:"Indicates that the text is the title of some other content"},{value:"var",description:"Represents the name of a variable in a mathematical expression"}],B7=["title"],Q7=["cite","dateTime"],u7=[...B7,...Q7],qe=E.forwardRef(function({uid:e,variant:t,maxLines:o=0,layout:r,children:n,preserveLinebreaks:i,ellipses:s=!0,...a},l){const c=E.useRef(null),B=l?jt(c,l):c,Q=E.useMemo(()=>!t||!Su[t]?"div":Su[t],[t]);return g.jsx(g.Fragment,{children:g.jsx(Q,{...a,ref:B,className:cA([hn.text,hn[t||"default"],{[hn.truncateOverflow]:o>0,[hn.preserveLinebreaks]:i,[hn.noEllipsis]:!s}]),style:{...r,...Mu(o)},children:n})})}),IA="Text",E7=Z({description:`The \`${IA}\` component displays textual information in a number of optional styles and variants.`,props:{value:f(`The text to be displayed. This value can also be set via nesting the text into the \`${IA}\` component.`),variant:f("Optional string value that provides named presets for text variants with a unique combination of font style, weight, size, color and other parameters.",c7),maxLines:f("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."),preserveLinebreaks:f("This property indicates if linebreaks should be preserved when displaying text."),ellipses:f("This property indicates whether ellipses should be displayed when the text is cropped (`true`) or not (`false`).")},themeVars:pA(hn.themeVars),defaultThemeVars:{[`border-radius-${IA}`]:"$radius",[`style-border-${IA}`]:"solid",[`font-size-${IA}`]:"$font-size-small",[`thickness-border-${IA}`]:"$space-0",[`font-weight-${IA}-abbr`]:"$font-weight-bold",[`transform-${IA}-abbr`]:"uppercase",[`font-size-${IA}-secondary`]:"$font-size-small",[`font-style-${IA}-cite`]:"italic",[`color-${IA}`]:"$color-text-primary",[`font-family-${IA}`]:"$font-family",[`font-weight-${IA}`]:"$font-weight-normal",[`font-family-${IA}-code`]:"$font-family-monospace",[`font-size-${IA}-code`]:"$font-size-small",[`thickness-border-${IA}-code`]:"1px",[`padding-horizontal-${IA}-code`]:"$space-1",[`line-decoration-${IA}-deleted`]:"line-through",[`line-decoration-${IA}-inserted`]:"underline",[`font-family-${IA}-keyboard`]:"$font-family-monospace",[`font-size-${IA}-keyboard`]:"$font-size-small",[`font-weight-${IA}-keyboard`]:"$font-weight-bold",[`thickness-border-${IA}-keyboard`]:"1px",[`padding-horizontal-${IA}-keyboard`]:"$space-1",[`font-family-${IA}-sample`]:"$font-family-monospace",[`font-size-${IA}-sample`]:"$font-size-small",[`font-size-${IA}-sup`]:"$font-size-smaller",[`align-vertical-${IA}-sup`]:"super",[`font-size-${IA}-sub`]:"$font-size-smaller",[`align-vertical-${IA}-sub`]:"sub",[`font-style-${IA}-var`]:"italic",[`font-family-${IA}-mono`]:"$font-family-monospace",[`font-size-${IA}-title`]:"$font-size-large",[`font-size-${IA}-subtitle`]:"$font-size-medium",[`font-size-${IA}-small`]:"$font-size-small",[`line-height-${IA}-small`]:"$line-height-tight",[`letter-spacing-${IA}-caption`]:"0.05rem",[`font-size-${IA}-placeholder`]:"$font-size-small",[`font-family-${IA}-codefence`]:"$font-family-monospace",[`padding-horizontal-${IA}-codefence`]:"$space-3",[`padding-vertical-${IA}-codefence`]:"$space-2",[`padding-vertical-${IA}-paragraph`]:"$space-1",[`font-size-${IA}-subheading`]:"$font-size-H6",[`font-weight-${IA}-subheading`]:"$font-weight-bold",[`letter-spacing-${IA}-subheading`]:"0.04em",[`transform-${IA}-subheading`]:"uppercase",[`margin-top-${IA}-tableheading`]:"$space-1",[`margin-bottom-${IA}-tableheading`]:"$space-4",[`padding-horizontal-${IA}-tableheading`]:"$space-1",[`font-weight-${IA}-tableheading`]:"$font-weight-bold",light:{[`color-bg-${IA}-code`]:"$color-surface-100",[`color-border-${IA}-code`]:"$color-surface-200",[`color-bg-${IA}-keyboard`]:"$color-surface-200",[`color-border-${IA}-keyboard`]:"$color-surface-300",[`color-bg-${IA}-marked`]:"yellow",[`color-${IA}-placeholder`]:"$color-surface-500",[`color-bg-${IA}-codefence`]:"$color-primary-100",[`color-${IA}-codefence`]:"$color-surface-900",[`color-${IA}-subheading`]:"$color-text-secondary",[`color-${IA}-secondary`]:"$color-text-secondary"},dark:{[`color-bg-${IA}-code`]:"$color-surface-800",[`color-border-${IA}-code`]:"$color-surface-700",[`color-bg-${IA}-keyboard`]:"$color-surface-800",[`color-border-${IA}-keyboard`]:"$color-surface-700",[`color-bg-${IA}-marked`]:"orange",[`color-${IA}-placeholder`]:"$color-surface-500",[`color-bg-${IA}-codefence`]:"$color-primary-800",[`color-${IA}-codefence`]:"$color-surface-200",[`color-${IA}-subheading`]:"$color-text-secondary",[`color-${IA}-secondary`]:"$color-text-secondary"}}}),d7=AA(IA,E7,({node:A,extractValue:e,layoutCss:t,renderChild:o})=>{const{variant:r,maxLines:n,preserveLinebreaks:i,ellipses:s,value:a,...l}=A.props,c=Object.fromEntries(Object.entries(l).filter(([B,Q])=>u7.includes(B)).map(([B,Q])=>[B,e(Q)]));return g.jsx(qe,{variant:e(r),maxLines:e.asOptionalNumber(n),layout:t,preserveLinebreaks:e.asOptionalBoolean(i,!1),ellipses:e.asOptionalBoolean(s,!0),...c,children:e.asDisplayText(a)||o(A.children)})}),Pu="Fragment",C7=Z({description:`The \`${Pu}\` component encloses multiple child components into a single root component, so it can be used where only a single component definition is allowed.`,opaque:!0}),h7=AA(Pu,C7,({node:A,extractValue:e,renderChild:t,layoutContext:o})=>g.jsx(E.Fragment,{children:t(A.children,o)},e(A.uid))),ee={themeVars:`'{"color-text-pagination-Table": "var(--xmlui-color-text-pagination-Table)", "color-bg-Table": "var(--xmlui-color-bg-Table)", "color-text-Table": "var(--xmlui-color-text-Table)", "color-bg-row-Table": "var(--xmlui-color-bg-row-Table)", "color-bg-row-Table--hover": "var(--xmlui-color-bg-row-Table--hover)", "color-bg-selected-Table": "var(--xmlui-color-bg-selected-Table)", "color-bg-selected-Table--hover": "var(--xmlui-color-bg-selected-Table--hover)", "color-bg-heading-Table": "var(--xmlui-color-bg-heading-Table)", "color-bg-heading-Table--hover": "var(--xmlui-color-bg-heading-Table--hover)", "color-bg-heading-Table--active": "var(--xmlui-color-bg-heading-Table--active)", "padding-horizontal-heading-Table": "var(--xmlui-padding-horizontal-heading-Table)", "padding-vertical-heading-Table": "var(--xmlui-padding-vertical-heading-Table)", "padding-heading-Table": "var(--xmlui-padding-heading-Table)", "padding-horizontal-cell-Table": "var(--xmlui-padding-horizontal-cell-Table)", "padding-horizontal-cell-first-Table": "var(--xmlui-padding-horizontal-cell-first-Table)", "padding-horizontal-cell-last-Table": "var(--xmlui-padding-horizontal-cell-last-Table)", "padding-vertical-cell-Table": "var(--xmlui-padding-vertical-cell-Table)", "padding-cell-Table": "var(--xmlui-padding-cell-Table)", "color-border-cell-Table": "var(--xmlui-color-border-cell-Table)", "thickness-border-cell-Table": "var(--xmlui-thickness-border-cell-Table)", "style-border-cell-Table": "var(--xmlui-style-border-cell-Table)", "border-cell-Table": "var(--xmlui-border-cell-Table)", "color-bg-pagination-Table": "var(--xmlui-color-bg-pagination-Table)", "color-text-heading-Table": "var(--xmlui-color-text-heading-Table)", "font-weight-row-Table": "var(--xmlui-font-weight-row-Table)", "font-size-row-Table": "var(--xmlui-font-size-row-Table)", "font-weight-heading-Table": "var(--xmlui-font-weight-heading-Table)", "font-size-heading-Table": "var(--xmlui-font-size-heading-Table)", "transform-text-heading-Table": "var(--xmlui-transform-text-heading-Table)", "thickness-outline-heading-Table--focus": "var(--xmlui-thickness-outline-heading-Table--focus)", "color-outline-heading-Table--focus": "var(--xmlui-color-outline-heading-Table--focus)", "style-outline-heading-Table--focus": "var(--xmlui-style-outline-heading-Table--focus)", "offset-outline-heading-Table--focus": "var(--xmlui-offset-outline-heading-Table--focus)"}'`,wrapper:"_wrapper_7jlv4_13",noScroll:"_noScroll_7jlv4_19",headerWrapper:"_headerWrapper_7jlv4_23",tableBody:"_tableBody_7jlv4_23",clickableHeader:"_clickableHeader_7jlv4_29",headerContent:"_headerContent_7jlv4_39",headerRow:"_headerRow_7jlv4_67",columnCell:"_columnCell_7jlv4_72",cell:"_cell_7jlv4_72",table:"_table_7jlv4_23",row:"_row_7jlv4_83",checkBoxWrapper:"_checkBoxWrapper_7jlv4_89",showInHeader:"_showInHeader_7jlv4_93",selected:"_selected_7jlv4_96",allSelected:"_allSelected_7jlv4_96",focused:"_focused_7jlv4_142",disabled:"_disabled_7jlv4_154",noRows:"_noRows_7jlv4_179",pagination:"_pagination_7jlv4_185",paginationLabel:"_paginationLabel_7jlv4_201",paginationSelect:"_paginationSelect_7jlv4_206",paginationButtons:"_paginationButtons_7jlv4_212",searchIconWrapper:"_searchIconWrapper_7jlv4_217",loadingWrapper:"_loadingWrapper_7jlv4_224",resizer:"_resizer_7jlv4_239",isResizing:"_isResizing_7jlv4_261"},I7={value:Be},p7=({children:A})=>{const[e,t]=E.useState(I7);return g.jsx(Tu,{updateState:t,selectedItems:e.value,children:A})},Tu=({updateState:A=QA.noop,idKey:e="id",children:t,selectedItems:o=Be,registerComponentApi:r=QA.noop})=>{const[n,i]=E.useState(o),s=E.useRef(!1),a=HA((Q=Be)=>{i(Q);let u=Q.filter(d=>!!o.find(C=>C[e]===d[e]));(!QA.isEqual(o,u)||!s.current)&&(s.current=!0,A({value:u}))}),l=HA(Q=>{A({value:n.filter(u=>Q.includes(u[e]))})}),c=HA(()=>{l(Be)});E.useLayoutEffect(()=>{r({clearSelection:c,setSelectedRowIds:l,refreshSelection:a})},[c,l,r,a]);const B=E.useMemo(()=>({selectedItems:o,setSelectedRowIds:l,refreshSelection:a,idKey:e}),[a,o,l,e]);return g.jsx(Gu.Provider,{value:B,children:t})},Gu=E.createContext(null);function Hu(){return E.useContext(Gu)}function w7({items:A=Be,visibleItems:e=A,rowsSelectable:t,enableMultiRowSelection:o,onSelectionDidChange:r}){const[n,i]=E.useState(-1),[s,a]=E.useState(null),{selectedItems:l,setSelectedRowIds:c,refreshSelection:B,idKey:Q}=Hu(),u=E.useMemo(()=>e.map(v=>v[Q]),[Q,e]);E.useEffect(()=>{B(t?A:Be)},[B,A,t]);const d=lo(o);E.useEffect(()=>{d&&!o&&l.length>1&&c([l[0][Q]])},[o,Q,d,l,c]),E.useEffect(()=>{t&&n!==-1&&!u[n]&&u[0]&&i(0)},[n,t,i,u]);const C=HA((v,y={})=>{if(!t)return;const P=u[v],{shiftKey:b,metaKey:_,ctrlKey:q}=y,J=!o||!b&&!_&&!q;let z,T=[...l.map(S=>S[Q])];if(J)z={from:P,to:P},T=[P];else if(b){let S,G,Y,U;if(s){let tA=u.indexOf(s.from),uA=u.indexOf(s.to),EA=Math.min(tA,uA),hA=Math.max(tA,uA);const eA=u.slice(EA,hA+1);T=T.filter($=>!eA.includes($)),Y=s.from,U=P;let oA=u.indexOf(Y),W=u.indexOf(U);S=Math.min(oA,W),G=Math.max(oA,W)}else Y=P,U=P,S=v,G=v;const V=u.slice(S,G+1);T=QA.union(T,V),z={from:Y,to:U}}else z={from:P,to:P},_||q?T.includes(P)?T=T.filter(S=>S!==P):T.push(P):T=[P];i(v),c(QA.uniq(T)),a(z)}),h=HA((v,y)=>{if(!t)return;const P=u.indexOf(v[Q]);C(P,y)}),I=HA(v=>{if(t){if(v.key==="ArrowDown"){v.preventDefault();let y=Math.min(e.length-1,n+1);n!==e.length-1&&C(y,v)}if(v.key==="PageDown"){v.preventDefault();const y=Math.min(e.length-1,n+8);C(y,v)}if(v.key==="ArrowUp"){v.preventDefault();let y=Math.max(0,n-1);n>=0&&C(y,v)}if(v.key==="PageUp"){v.preventDefault();const y=Math.max(0,n-8);C(y,v)}}});E.useEffect(()=>{r==null||r(l)},[l,r]);const p=HA(v=>{t&&(!o&&v||c(v?A.map(y=>y[Q]):[]))}),D=E.useMemo(()=>{let v={};return l.forEach(y=>{v[y[Q]]=!0}),v},[Q,l]),m=E.useCallback(()=>l,[l]),k=E.useCallback(()=>l.map(v=>v[Q]),[Q,l]),N=E.useCallback(()=>{p(!1)},[p]),L=E.useCallback(()=>{p(!0)},[p]),M=E.useCallback(v=>{if(!t)return;let y=Array.isArray(v)?v:[v];y.length>1&&!o&&(y=[y[0]]),c(y)},[o,t,c]),F=E.useMemo(()=>({getSelectedItems:m,getSelectedIds:k,clearSelection:N,selectAll:L,selectId:M}),[N,k,m,L,M]);return{onKeyDown:I,focusedIndex:n,toggleRowIndex:C,toggleRow:h,checkAllRows:p,selectedRowIdMap:D,selectedItems:l,idKey:Q,selectionApi:F}}const ar={themeVars:`'{"Input:radius-Checkbox-default": "var(--xmlui-radius-Checkbox-default)", "Input:color-border-Checkbox-default": "var(--xmlui-color-border-Checkbox-default)", "Input:color-bg-Checkbox-default": "var(--xmlui-color-bg-Checkbox-default)", "Input:thickness-outline-Checkbox-default--focus": "var(--xmlui-thickness-outline-Checkbox-default--focus)", "Input:color-outline-Checkbox-default--focus": "var(--xmlui-color-outline-Checkbox-default--focus)", "Input:style-outline-Checkbox-default--focus": "var(--xmlui-style-outline-Checkbox-default--focus)", "Input:offset-outline-Checkbox-default--focus": "var(--xmlui-offset-outline-Checkbox-default--focus)", "Input:color-border-Checkbox-default--hover": "var(--xmlui-color-border-Checkbox-default--hover)", "Input:color-bg-Checkbox--disabled": "var(--xmlui-color-bg-Checkbox--disabled)", "Input:color-border-Checkbox--disabled": "var(--xmlui-color-border-Checkbox--disabled)", "Input:radius-Checkbox-error": "var(--xmlui-radius-Checkbox-error)", "Input:color-border-Checkbox-error": "var(--xmlui-color-border-Checkbox-error)", "Input:color-bg-Checkbox-error": "var(--xmlui-color-bg-Checkbox-error)", "Input:thickness-outline-Checkbox-error--focus": "var(--xmlui-thickness-outline-Checkbox-error--focus)", "Input:color-outline-Checkbox-error--focus": "var(--xmlui-color-outline-Checkbox-error--focus)", "Input:style-outline-Checkbox-error--focus": "var(--xmlui-style-outline-Checkbox-error--focus)", "Input:offset-outline-Checkbox-error--focus": "var(--xmlui-offset-outline-Checkbox-error--focus)", "Input:radius-Checkbox-warning": "var(--xmlui-radius-Checkbox-warning)", "Input:color-border-Checkbox-warning": "var(--xmlui-color-border-Checkbox-warning)", "Input:color-bg-Checkbox-warning": "var(--xmlui-color-bg-Checkbox-warning)", "Input:thickness-outline-Checkbox-warning--focus": "var(--xmlui-thickness-outline-Checkbox-warning--focus)", "Input:color-outline-Checkbox-warning--focus": "var(--xmlui-color-outline-Checkbox-warning--focus)", "Input:style-outline-Checkbox-warning--focus": "var(--xmlui-style-outline-Checkbox-warning--focus)", "Input:offset-outline-Checkbox-warning--focus": "var(--xmlui-offset-outline-Checkbox-warning--focus)", "Input:radius-Checkbox-success": "var(--xmlui-radius-Checkbox-success)", "Input:color-border-Checkbox-success": "var(--xmlui-color-border-Checkbox-success)", "Input:color-bg-Checkbox-success": "var(--xmlui-color-bg-Checkbox-success)", "Input:thickness-outline-Checkbox-success--focus": "var(--xmlui-thickness-outline-Checkbox-success--focus)", "Input:color-outline-Checkbox-success--focus": "var(--xmlui-color-outline-Checkbox-success--focus)", "Input:style-outline-Checkbox-success--focus": "var(--xmlui-style-outline-Checkbox-success--focus)", "Input:offset-outline-Checkbox-success--focus": "var(--xmlui-offset-outline-Checkbox-success--focus)", "color-bg-indicator-Checkbox": "var(--xmlui-color-bg-indicator-Checkbox)", "Input:color-border-checked-Checkbox": "var(--xmlui-color-border-checked-Checkbox)", "Input:color-bg-checked-Checkbox": "var(--xmlui-color-bg-checked-Checkbox)", "Input:color-border-checked-Checkbox-error": "var(--xmlui-color-border-checked-Checkbox-error)", "Input:color-bg-checked-Checkbox-error": "var(--xmlui-color-bg-checked-Checkbox-error)", "Input:color-border-checked-Checkbox-warning": "var(--xmlui-color-border-checked-Checkbox-warning)", "Input:color-bg-checked-Checkbox-warning": "var(--xmlui-color-bg-checked-Checkbox-warning)", "Input:color-border-checked-Checkbox-success": "var(--xmlui-color-border-checked-Checkbox-success)", "Input:color-bg-checked-Checkbox-success": "var(--xmlui-color-bg-checked-Checkbox-success)", "Input:color-border-Switch": "var(--xmlui-color-border-Switch)", "Input:color-bg-Switch": "var(--xmlui-color-bg-Switch)", "Input:color-border-Switch-default--hover": "var(--xmlui-color-border-Switch-default--hover)", "Input:color-bg-Switch--disabled": "var(--xmlui-color-bg-Switch--disabled)", "Input:color-border-Switch--disabled": "var(--xmlui-color-border-Switch--disabled)", "Input:color-border-Switch-error": "var(--xmlui-color-border-Switch-error)", "Input:color-border-Switch-warning": "var(--xmlui-color-border-Switch-warning)", "Input:color-border-Switch-success": "var(--xmlui-color-border-Switch-success)", "color-bg-indicator-Switch": "var(--xmlui-color-bg-indicator-Switch)", "Input:color-border-checked-Switch": "var(--xmlui-color-border-checked-Switch)", "Input:color-bg-checked-Switch": "var(--xmlui-color-bg-checked-Switch)", "Input:color-border-checked-Switch-error": "var(--xmlui-color-border-checked-Switch-error)", "Input:color-bg-checked-Switch-error": "var(--xmlui-color-bg-checked-Switch-error)", "Input:color-border-checked-Switch-warning": "var(--xmlui-color-border-checked-Switch-warning)", "Input:color-bg-checked-Switch-warning": "var(--xmlui-color-bg-checked-Switch-warning)", "Input:color-border-checked-Switch-success": "var(--xmlui-color-border-checked-Switch-success)", "Input:color-bg-checked-Switch-success": "var(--xmlui-color-bg-checked-Switch-success)", "Input:thickness-outline-Switch--focus": "var(--xmlui-thickness-outline-Switch--focus)", "Input:color-outline-Switch--focus": "var(--xmlui-color-outline-Switch--focus)", "Input:style-outline-Switch--focus": "var(--xmlui-style-outline-Switch--focus)", "Input:offset-outline-Switch--focus": "var(--xmlui-offset-outline-Switch--focus)"}'`,resetAppearance:"_resetAppearance_fdujw_13",checkbox:"_checkbox_fdujw_21",error:"_error_fdujw_50",warning:"_warning_fdujw_61",valid:"_valid_fdujw_72",switch:"_switch_fdujw_132"},mi=E.forwardRef(function({id:e,initialValue:t=!1,value:o=!1,enabled:r=!0,style:n,readOnly:i,validationStatus:s="none",updateState:a=vA,onDidChange:l=vA,onFocus:c=vA,onBlur:B=vA,variant:Q="checkbox",indeterminate:u=!1,className:d,label:C,labelPosition:h="start",labelWidth:I,labelBreak:p,required:D,registerComponentApi:m},k){const N=E.useRef(null),L=k?jt(N,k):N;E.useEffect(()=>{a({value:t},{initial:!0})},[t,a]);const M=E.useCallback(_=>{var q;((q=N.current)==null?void 0:q.checked)!==_&&(a({value:_}),l(_))},[l,a]),F=E.useCallback(_=>{i||(a({value:_.target.checked}),l(_.target.checked))},[l,i,a]),v=E.useCallback(()=>{c==null||c()},[c]),y=E.useCallback(()=>{B==null||B()},[B]);E.useEffect(()=>{typeof u=="boolean"&&N.current&&(N.current.indeterminate=u)},[u]);const P=E.useCallback(()=>{var _;(_=N.current)==null||_.focus()},[]),b=HA(_=>{M(_)});return E.useEffect(()=>{m==null||m({focus:P,setValue:b})},[P,m,b]),g.jsx(ho,{id:e,label:C,style:n,labelPosition:h,labelWidth:I,labelBreak:p,required:D,enabled:r,shrinkToLabel:!0,labelStyle:{pointerEvents:i?"none":void 0},children:g.jsx("input",{ref:L,type:"checkbox",role:Q,checked:o,disabled:!r,readOnly:i,"aria-readonly":i,onChange:F,onFocus:v,onBlur:y,className:cA(ar.resetAppearance,d,{[ar.checkbox]:Q==="checkbox",[ar.switch]:Q==="switch",[ar.error]:s==="error",[ar.warning]:s==="warning",[ar.valid]:s==="valid"}),"aria-checked":o})})});function f7(A){return!1}const D7=42,m7=[10],Uu=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}},x7=E.forwardRef(({data:A=Be,columns:e=Be,isPaginated:t=!1,loading:o=!1,headerHeight:r,rowsSelectable:n=!1,enableMultiRowSelection:i=!0,pageSizes:s=m7,rowDisabledPredicate:a=f7,sortBy:l,sortingDirection:c="ascending",iconSortAsc:B,iconSortDesc:Q,iconNoSort:u,sortingDidChange:d,willSort:C,style:h,noDataRenderer:I,autoFocus:p=!1,hideHeader:D=!1,hideNoDataView:m=!1,alwaysShowSelectionHeader:k=!1,registerComponentApi:N,onSelectionDidChange:L},M)=>{var xr,RA,Se,Ct;const{getThemeVar:F}=ce(),v=Array.isArray(A)?A:Be,y=E.useRef(null),P=M?jt(y,M):y,b=E.useRef(null),_=E.useRef(null),q=l!==void 0,J=E.useMemo(()=>e||(v.length?Object.keys(v[0]).map(mA=>({header:mA,accessorKey:mA})):Be),[e,v]);E.useEffect(()=>{p&&y.current.focus()},[p]);const[z,T]=E.useState(Be),{toggleRow:S,checkAllRows:G,focusedIndex:Y,onKeyDown:U,selectedRowIdMap:V,idKey:tA,selectionApi:uA}=w7({items:v,visibleItems:z,rowsSelectable:n,enableMultiRowSelection:i,onSelectionDidChange:L}),EA=E.useMemo(()=>v.map((mA,fA)=>({...mA,order:fA+1})),[v]),[hA,eA]=E.useState(l),[oA,W]=E.useState(c);E.useLayoutEffect(()=>{eA(l)},[l]),E.useLayoutEffect(()=>{W(c)},[c]);const $=E.useMemo(()=>!hA||q?EA:QA.orderBy(EA,hA,oA==="ascending"?"asc":"desc"),[hA,oA,EA,q]),rA=E.useCallback(async mA=>{let fA="ascending",NA=mA;hA===mA&&(oA==="ascending"?fA="descending":NA=void 0),await(C==null?void 0:C(NA,fA))!==!1&&(W(fA),eA(NA),d==null||d(NA,fA))},[hA,C,d,oA]),dA=E.useMemo(()=>J.map((mA,fA)=>{const{width:NA,starSizedWidth:WA}=It(mA.width,!0,"width"),{width:ht}=It(mA.minWidth,!1,"minWidth"),{width:re}=It(mA.maxWidth,!1,"maxWidth");return{...mA,header:mA.header??mA.accessorKey??" ",id:"col_"+fA,size:NA,minSize:ht,maxSize:re,enableResizing:mA.canResize,enableSorting:mA.canSort,enablePinning:mA.pinTo!==void 0,meta:{starSizedWidth:WA,pinTo:mA.pinTo,style:mA.style,accessorKey:mA.accessorKey,cellRenderer:mA.cellRenderer}};function It(rt,Jt,De){let kt,Wn;const Lo=ag(rt)?F(rt):rt;if(typeof Lo=="number")Wn=Lo;else if(typeof Lo=="string"){const BQ=Lo.match(/^\s*\*\s*$/);if(Jt&&BQ)kt="1*";else{const jl=Lo.match(/^\s*(\d+)\s*\*\s*$/);if(Jt&&jl)kt=jl[1]+"*";else{const Vl=Lo.match(/^\s*(\d+)\s*(px)?\s*$/);if(Vl)Wn=Number(Vl[1]);else throw new Error(`Invalid TableColumnDef '${De}' value: ${Lo}`)}}}return Wn===void 0&&kt===void 0&&Jt&&(kt="1*"),{width:Wn,starSizedWidth:kt}}}),[F,J]),TA=E.useMemo(()=>n?[{id:"select",size:D7,enableResizing:!1,enablePinning:!0,meta:{pinTo:"left"},header:({table:fA})=>i?g.jsx(mi,{className:cA(ee.checkBoxWrapper,{[ee.showInHeader]:k}),value:fA.getIsAllRowsSelected(),indeterminate:fA.getIsSomeRowsSelected(),onDidChange:NA=>{G(NA)}}):null,cell:({row:fA})=>g.jsx(mi,{className:ee.checkBoxWrapper,value:fA.getIsSelected(),indeterminate:fA.getIsSomeSelected(),onDidChange:()=>{S(fA.original,{metaKey:!0})}})},...dA]:dA,[n,dA,i,k,G,S]),[sA,yA]=E.useState({pageSize:t?s[0]:Number.MAX_VALUE,pageIndex:0}),FA=lo(t);E.useEffect(()=>{!FA&&t&&yA(mA=>({...mA,pageSize:s[0]})),FA&&!t&&yA(mA=>({pageIndex:0,pageSize:Number.MAX_VALUE}))},[t,s,FA]);const[JA,XA]=E.useState({}),ZA=E.useMemo(()=>{const mA=[],fA=[];return TA.forEach(NA=>{var WA,ht;((WA=NA.meta)==null?void 0:WA.pinTo)==="right"&&fA.push(NA.id),((ht=NA.meta)==null?void 0:ht.pinTo)==="left"&&mA.push(NA.id)}),{left:mA,right:fA}},[TA]),UA=Xn.useReactTable({columns:TA,data:$,getCoreRowModel:Xn.getCoreRowModel(),getPaginationRowModel:t?Xn.getPaginationRowModel():void 0,enableRowSelection:n,enableMultiRowSelection:i,columnResizeMode:"onChange",getRowId:E.useCallback(mA=>mA[tA]+"",[tA]),state:E.useMemo(()=>({pagination:sA,rowSelection:V,columnSizing:JA,columnPinning:ZA}),[ZA,JA,sA,V]),onColumnSizingChange:XA,onPaginationChange:yA}),$A=UA.getRowModel().rows;E.useEffect(()=>{T($A.map(mA=>mA.original))},[$A]);const de=E.useContext(Io),Fe=de&&(h==null?void 0:h.maxHeight)===void 0&&(h==null?void 0:h.height)===void 0&&(h==null?void 0:h.flex)===void 0,No=E.useCallback((mA,fA)=>Ms.observeElementOffset(mA,(NA,WA)=>{var re;const ht=Fe&&((re=y.current)==null?void 0:re.offsetTop)||0;fA(NA-ht,WA)}),[Fe]),ze=Ms.useVirtualizer({count:$A.length,getScrollElement:E.useCallback(()=>Fe&&(de!=null&&de.current)?de==null?void 0:de.current:y.current,[de,Fe]),observeElementOffset:No,estimateSize:E.useCallback(()=>_.current||30,[]),overscan:5}),_o=ze.getVirtualItems().length>0&&((RA=(xr=ze.getVirtualItems())==null?void 0:xr[0])==null?void 0:RA.start)||0,so=ze.getVirtualItems().length>0?ze.getTotalSize()-(((Ct=(Se=ze.getVirtualItems())==null?void 0:Se[ze.getVirtualItems().length-1])==null?void 0:Ct.end)||0):0,Le=v.length!==0,mr=E.useRef({}),tn=E.useCallback(mA=>{mr.current[mA]=!0},[]),Fo=HA(()=>{if(!b.current)return;let mA=b.current.clientWidth-1;const fA={},NA=[],WA={};UA.getAllColumns().forEach(re=>{var ao,It;if(re.columnDef.size!==void 0||mr.current[re.id])mA-=JA[re.id]||re.columnDef.size||0;else{NA.push(re);let rt;(ao=re.columnDef.meta)!=null&&ao.starSizedWidth?rt=Number((It=re.columnDef.meta)==null?void 0:It.starSizedWidth.replace("*","").trim())||1:rt=1,WA[re.id]=rt}});const ht=Object.values(WA).reduce((re,ao)=>re+ao,0);NA.forEach(re=>{fA[re.id]=Math.floor(mA*(WA[re.id]/ht))}),Po.flushSync(()=>{XA(re=>({...re,...fA}))})});return Ks(b,Fo),$t(()=>{queueMicrotask(()=>{Fo()})},[Fo,J]),$t(()=>{N(uA)},[N,uA]),g.jsxs("div",{className:cA(ee.wrapper,{[ee.noScroll]:Fe}),tabIndex:-1,onKeyDown:U,ref:P,style:h,children:[g.jsxs("table",{className:ee.table,ref:b,style:{borderRight:"1px solid transparent"},children:[!D&&g.jsx("thead",{style:{height:r},className:ee.headerWrapper,children:UA.getHeaderGroups().map((mA,fA)=>g.jsx("tr",{className:cA(ee.headerRow,{[ee.allSelected]:UA.getIsAllRowsSelected()}),children:mA.headers.map((NA,WA)=>{var It,rt;const{width:ht,...re}=((It=NA.column.columnDef.meta)==null?void 0:It.style)||{},ao=NA.getSize();return g.jsxs("th",{className:ee.columnCell,colSpan:NA.colSpan,style:{position:"relative",width:ao,...Uu(NA.column)},children:[g.jsx(v7,{hasSorting:NA.column.columnDef.enableSorting,updateSorting:()=>{var Jt;return rA((Jt=NA.column.columnDef.meta)==null?void 0:Jt.accessorKey)},children:g.jsxs("div",{className:ee.headerContent,style:re,children:[Xn.flexRender(NA.column.columnDef.header,NA.getContext()),g.jsx("span",{style:{display:"inline-flex",maxWidth:16},children:NA.column.columnDef.enableSorting&&g.jsx(y7,{iconSortAsc:B,iconSortDesc:Q,iconNoSort:u,direction:((rt=NA.column.columnDef.meta)==null?void 0:rt.accessorKey)===hA?oA:void 0})})]})}),NA.column.getCanResize()&&g.jsx("div",{onDoubleClick:()=>{mr.current[NA.column.id]=!1,NA.column.columnDef.size!==void 0?NA.column.resetSize():Fo()},onMouseDown:Jt=>{tn(NA.column.id),NA.getResizeHandler()(Jt)},onTouchStart:Jt=>{tn(NA.column.id),NA.getResizeHandler()(Jt)},className:cA(ee.resizer,{[ee.isResizing]:NA.column.getIsResizing()})})]},`${NA.id}-${WA}`)})},`${mA.id}-${fA}`))}),Le&&g.jsxs("tbody",{className:ee.tableBody,children:[_o>0&&g.jsx("tr",{children:g.jsx("td",{style:{height:`${_o}px`}})}),ze.getVirtualItems().map(mA=>{const fA=mA.index,NA=$A[fA];return g.jsx("tr",{"data-index":fA,className:cA(ee.row,{[ee.selected]:NA.getIsSelected(),[ee.focused]:Y===fA,[ee.disabled]:a(NA.original)}),ref:WA=>{WA&&_.current===null&&(_.current=Math.round(WA.getBoundingClientRect().height)),ze.measureElement(WA)},onClick:WA=>{WA.defaultPrevented||WA.target.tagName.toLowerCase()==="input"||S(NA.original,WA)},children:NA.getVisibleCells().map((WA,ht)=>{var It,rt;const re=(rt=(It=WA.column.columnDef)==null?void 0:It.meta)==null?void 0:rt.cellRenderer,ao=WA.column.getSize();return g.jsx("td",{className:ee.cell,style:{width:ao,...Uu(WA.column)},children:re?re(WA.row.original):Xn.flexRender(WA.column.columnDef.cell,WA.getContext())},`${WA.id}-${ht}`)})},`${NA.id}-${fA}`)}),so>0&&g.jsx("tr",{children:g.jsx("td",{style:{height:`${so}px`}})})]})]}),o&&!Le&&g.jsx("div",{className:ee.loadingWrapper,children:g.jsx(ha,{})}),!m&&!o&&!Le&&(I?I():g.jsx("div",{className:ee.noRows,children:"No data available"})),t&&Le&&$A.length>0&&sA&&g.jsxs("div",{className:ee.pagination,children:[g.jsx("div",{style:{flex:1},children:g.jsxs("span",{className:ee.paginationLabel,children:["Showing ",$A[0].original.order," to ",$A[$A.length-1].original.order," of"," ",v.length," entries"]})}),s.length>1&&g.jsxs("div",{children:[g.jsx("span",{className:ee.paginationLabel,children:"Rows per page"}),g.jsx("select",{className:ee.paginationSelect,value:sA.pageSize,onChange:mA=>{UA.setPageSize(Number(mA.target.value))},children:s.map(mA=>g.jsx("option",{value:mA,children:mA},mA))})]}),g.jsxs("div",{className:ee.paginationButtons,children:[g.jsx(Ce,{onClick:()=>UA.setPageIndex(0),disabled:!UA.getCanPreviousPage(),type:"button",variant:"ghost",children:g.jsx(Rp,{})}),g.jsx(Ce,{onClick:()=>UA.previousPage(),disabled:!UA.getCanPreviousPage(),type:"button",variant:"ghost",children:g.jsx(X1,{})}),g.jsx(Ce,{onClick:()=>UA.nextPage(),disabled:!UA.getCanNextPage(),type:"button",variant:"ghost",children:g.jsx(Z1,{})}),g.jsx(Ce,{onClick:()=>UA.setPageIndex(UA.getPageCount()-1),disabled:!UA.getCanNextPage(),type:"button",variant:"ghost",children:g.jsx(Yp,{})})]})]})]})});function v7({hasSorting:A,updateSorting:e,children:t}){return A?g.jsx("button",{className:ee.clickableHeader,onClick:e,children:t}):g.jsx(g.Fragment,{children:t})}function y7({direction:A,iconSortAsc:e="sortasc:Table",iconSortDesc:t="sortdesc:Table",iconNoSort:o="nosort:Table"}){return A==="ascending"?g.jsx(kA,{name:e,fallback:"sortasc",size:"12"}):A==="descending"?g.jsx(kA,{name:t,fallback:"sortdesc",size:"12"}):o!=="-"?g.jsx(kA,{name:o,fallback:"nosort",size:"12"}):g.jsx(kA,{name:o,size:"12"})}const jg=E.createContext({registerColumn:(A,e)=>{},unRegisterColumn:A=>{}});function b7(){return E.useContext(jg)}const xA="Table",k7=Z({description:`\`${xA}\` is a component that displays cells organized into rows and columns. The \`${xA}\` component is virtualized so it only renders visible cells.`,props:{items:f("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:f("The component receives data via this property. The `data` property is a list of items that the `Table` can display."),isPaginated:f(`This property adds pagination controls to the \`${xA}\`.`),loading:f("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:f("This optional property is used to specify the height of the table header."),rowsSelectable:f("Indicates whether the rows are selectable (`true`) or not (`false`)."),pageSizes:f("Describes how big a page should be for pagination."),rowDisabledPredicate:f("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:se("A property to customize what to display if the table does not contain any data."),sortBy:f("This property is used to determine which data attributes to sort by."),sortDirection:f("This property determines the sort order to be `ascending` or `descending`. This property only works if the [`sortBy`](#sortby) property is also set."),autoFocus:Dt(),hideHeader:f("Set the header visibility using this property. Set it to `true` to hide the header."),iconNoSort:f(`Allows the customization of the icon displayed in the ${xA} column header when when sorting is enabled and sorting is not done according to the column.`),iconSortAsc:f(`Allows the customization of the icon displayed in the ${xA} column header when sorting is enabled, sorting is done according to the column, and the column is sorted in ascending order.`),iconSortDesc:f(`Allows the customization of the icon displayed in the ${xA} column header when sorting is enabled, sorting is done according to the column, and the column is sorted in descending order.`),enableMultiRowSelection:f("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."),alwaysShowSelectionHeader:f("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.",null,"boolean",!1)},events:{sortingDidChange:f("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:f("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:f("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:f("This method clears the list of currently selected table rows."),getSelectedItems:f("This method returns the list of currently selected table rows items."),getSelectedIds:f("This method returns the list of currently selected table rows IDs."),selectAll:f("This method selects all the rows in the table. This method has no effect if the rowsSelectable property is set to `false`."),selectId:f("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:pA(ee.themeVars),defaultThemeVars:{[`padding-horizontal-heading-${xA}`]:"$space-2",[`padding-vertical-heading-${xA}`]:"$space-2",[`padding-heading-${xA}`]:`$padding-vertical-heading-${xA} $padding-horizontal-heading-${xA}`,[`padding-horizontal-cell-${xA}`]:"$space-2",[`padding-horizontal-cell-first-${xA}`]:"$space-5",[`padding-horizontal-cell-last-${xA}`]:"$space-5",[`padding-vertical-cell-${xA}`]:"$space-2",[`padding-cell-${xA}`]:`$padding-vertical-cell-${xA} $padding-horizontal-cell-${xA}`,[`thickness-border-cell-${xA}`]:"1px",[`style-border-cell-${xA}`]:"solid",[`border-cell-${xA}`]:`$thickness-border-cell-${xA} $style-border-cell-${xA} $color-border-cell-${xA}`,[`thickness-outline-heading-${xA}--focus`]:"$thickness-outline--focus",[`style-outline-heading-${xA}--focus`]:"$style-outline--focus",[`offset-outline-heading-${xA}--focus`]:"$offset-outline--focus",[`font-size-heading-${xA}`]:"$font-size-tiny",[`font-weight-heading-${xA}`]:"$font-weight-bold",[`transform-text-heading-${xA}`]:"uppercase",[`font-size-row-${xA}`]:"$font-size-small",[`color-bg-${xA}`]:"$color-bg",[`color-bg-row-${xA}`]:"inherit",[`color-border-cell-${xA}`]:"$color-border",[`color-bg-selected-${xA}--hover`]:`$color-bg-row-${xA}--hover`,[`color-bg-pagination-${xA}`]:`$color-bg-${xA}`,[`color-outline-heading-${xA}--focus`]:"$color-outline--focus",[`color-text-pagination-${xA}`]:"$color-secondary",light:{[`color-bg-row-${xA}--hover`]:"$color-primary-50",[`color-bg-selected-${xA}`]:"$color-primary-100",[`color-bg-heading-${xA}--hover`]:"$color-surface-200",[`color-bg-heading-${xA}--active`]:"$color-surface-300",[`color-bg-heading-${xA}`]:"$color-surface-100",[`color-text-heading-${xA}`]:"$color-surface-500"},dark:{[`color-bg-row-${xA}--hover`]:"$color-primary-900",[`color-bg-selected-${xA}`]:"$color-primary-800",[`color-bg-heading-${xA}--hover`]:"$color-surface-800",[`color-bg-heading-${xA}`]:"$color-surface-950",[`color-bg-heading-${xA}--active`]:"$color-surface-700"}}}),M7=({extractValue:A,node:e,renderChild:t,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,registerComponentApi:i})=>{var m,k,N,L,M,F;const s=A(e.props.items)||A(e.props.data),[a,l]=E.useState(Be),[c,B]=E.useState(GA),Q=E.useRef([]),[u,d]=E.useState(0),C=E.useMemo(()=>({registerColumn:(v,y)=>{l(ue(P=>{P.findIndex(_=>_===y)<0&&P.push(y)})),B(ue(P=>{P[y]=v}))},unRegisterColumn:v=>{l(ue(y=>y.filter(P=>P!==v))),B(ue(y=>{delete y[v]}))}}),[]),h=E.useMemo(()=>({registerColumn:(v,y)=>{Q.current.find(P=>P===y)||(d(P=>P+1),Q.current.push(y))},unRegisterColumn:v=>{Q.current.find(y=>y===v)&&(Q.current=Q.current.filter(y=>y!==v),d(y=>y+1))}}),[]),I=E.useMemo(()=>a.map(v=>c[v]),[a,c]),p=Hu(),D=g.jsxs(g.Fragment,{children:[g.jsx(jg.Provider,{value:C,children:t(e.children)},u),g.jsx(jg.Provider,{value:h,children:t(e.children)}),g.jsx(x7,{data:s,columns:I,pageSizes:A(e.props.pageSizes),rowsSelectable:A.asOptionalBoolean(e.props.rowsSelectable),registerComponentApi:i,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((m=e.props)==null?void 0:m.isPaginated),headerHeight:A.asSize(e.props.headerHeight),rowDisabledPredicate:r(e.props.rowDisabledPredicate),sortBy:A((k=e.props)==null?void 0:k.sortBy),sortingDirection:A((N=e.props)==null?void 0:N.sortDirection),iconSortAsc:A.asOptionalString((L=e.props)==null?void 0:L.iconSortAsc),iconSortDesc:A.asOptionalString((M=e.props)==null?void 0:M.iconSortDesc),iconNoSort:A.asOptionalString((F=e.props)==null?void 0:F.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)})]});return p===null?g.jsx(p7,{children:D}):D},N7=AA(xA,k7,({extractValue:A,node:e,renderChild:t,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,registerComponentApi:i})=>g.jsx(M7,{node:e,extractValue:A,lookupEventHandler:o,lookupSyncCallback:r,layoutCss:n,renderChild:t,registerComponentApi:i})),ma={themeVars:`'{"color-bg-StickyBox": "var(--xmlui-color-bg-StickyBox)"}'`,wrapper:"_wrapper_1qgtv_13",top:"_top_1qgtv_18",bottom:"_bottom_1qgtv_21"};function _7({children:A,uid:e,layout:t,to:o="top"}){return g.jsx("div",{className:cA(ma.wrapper,{[ma.top]:o==="top",[ma.bottom]:o==="bottom"}),style:t,children:A})}const Vg="StickyBox",F7=Z({status:"experimental",description:`The \`${Vg}\` is a component that "sticks" or remains fixed at the top or bottom position on the screen as the user scrolls.`,props:{to:f("This property determines whether the StickyBox should be anchored to the `top` or `bottom`.")},themeVars:pA(ma.themeVars),defaultThemeVars:{[`color-bg-${Vg}`]:"$color-bg"}}),L7=AA(Vg,F7,({node:A,renderChild:e,extractValue:t,layoutCss:o})=>{var r;return g.jsx(_7,{uid:A.uid,layout:o,to:t((r=A.props)==null?void 0:r.to),children:e(A.children)})}),Xg={themeVars:`'{"color-bg-Badge": "var(--xmlui-color-bg-Badge)", "radius-Badge": "var(--xmlui-radius-Badge)", "color-text-Badge": "var(--xmlui-color-text-Badge)", "font-size-Badge": "var(--xmlui-font-size-Badge)", "font-size-Badge-pill": "var(--xmlui-font-size-Badge-pill)", "font-weight-Badge": "var(--xmlui-font-weight-Badge)", "font-weight-Badge-pill": "var(--xmlui-font-weight-Badge-pill)", "padding-horizontal-Badge": "var(--xmlui-padding-horizontal-Badge)", "padding-vertical-Badge": "var(--xmlui-padding-vertical-Badge)", "padding-Badge": "var(--xmlui-padding-Badge)", "padding-horizontal-Badge-pill": "var(--xmlui-padding-horizontal-Badge-pill)", "padding-vertical-Badge-pill": "var(--xmlui-padding-vertical-Badge-pill)", "padding-Badge-pill": "var(--xmlui-padding-Badge-pill)"}'`,badge:"_badge_xcyhw_13",pill:"_pill_xcyhw_29"},S7=({children:A,color:e,variant:t="badge"})=>g.jsx("div",{className:cA({[Xg.badge]:t==="badge",[Xg.pill]:t==="pill"}),style:e?typeof e=="string"?{backgroundColor:e}:{backgroundColor:e.background,color:e.label}:void 0,children:A}),He="Badge",P7=Z({status:"stable",description:`The \`${He}\` is a text label that accepts a color map to define its background color and, optionally, its label color.`,props:{value:f("The text that the component displays"),variant:f("Modifies the shape of the component. Comes in the regular `badge` variant or the `pill` variant with fully rounded corners."),colorMap:f(`The \`${He}\` component supports the mapping of a list of colors using the \`value\` prop as the key. Provide the component with a list or key-value pairs in two ways:`),themeColor:f("(**NOT IMPLEMENTED YET**) The theme color of the component."),indicatorText:f("(**NOT IMPLEMENTED YET**) This property defines the text to display in the indicator. If it is not defined or empty, no indicator is displayed unless the `forceIndicator` property is set."),forceIndicator:f("(**NOT IMPLEMENTED YET**) This property forces the display of the indicator, even if the `indicatorText` property is not defined or empty."),indicatorThemeColor:f("(**NOT IMPLEMENTED YET**) The theme color of the indicator."),indicatorPosition:f("(**NOT IMPLEMENTED YET**) The position of the indicator.")},events:{},themeVars:pA(Xg.themeVars),defaultThemeVars:{[`padding-horizontal-${He}`]:"$space-2",[`padding-vertical-${He}`]:"$space-0_5",[`padding-${He}`]:`$padding-vertical-${He} $padding-horizontal-${He}`,[`padding-${He}-pill`]:`$padding-vertical-${He}-pill $padding-horizontal-${He}-pill`,[`radius-${He}`]:"4px",[`font-size-${He}`]:"0.8em",[`font-size-${He}-pill`]:"0.8em",light:{[`color-bg-${He}`]:"rgba($color-secondary-500-rgb, .6)",[`color-text-${He}`]:"white"},dark:{[`color-bg-${He}`]:"rgba($color-secondary-500-rgb, .6)",[`color-text-${He}`]:"$color-surface-50"}}}),T7=AA(He,P7,({node:A,extractValue:e,renderChild:t})=>{var n;const o=e.asDisplayText(A.props.value),r=e((n=A.props)==null?void 0:n.colorMap);return g.jsx(S7,{variant:e(A.props.variant),color:r==null?void 0:r[o],children:o||t(A.children)})}),Gr={themeVars:`'{"color-bg-Avatar": "var(--xmlui-color-bg-Avatar)", "color-border-Avatar": "var(--xmlui-color-border-Avatar)", "thickness-border-Avatar": "var(--xmlui-thickness-border-Avatar)", "style-border-Avatar": "var(--xmlui-style-border-Avatar)", "border-Avatar": "var(--xmlui-border-Avatar)", "radius-Avatar": "var(--xmlui-radius-Avatar)", "shadow-Avatar": "var(--xmlui-shadow-Avatar)", "color-text-Avatar": "var(--xmlui-color-text-Avatar)", "font-weight-Avatar": "var(--xmlui-font-weight-Avatar)"}'`,container:"_container_1fbc9_13",xs:"_xs_1fbc9_34",sm:"_sm_1fbc9_41",md:"_md_1fbc9_48",lg:"_lg_1fbc9_55",clickable:"_clickable_1fbc9_62"},Ru=E.forwardRef(function({size:e="sm",url:t,name:o,style:r,onClick:n,...i},s){let a=null;return!t&&o&&(a=o.trim().split(" ").filter(l=>!!l.trim().length).map(l=>l[0].toUpperCase()).slice(0,3)),g.jsx("div",{...i,ref:s,className:cA(Gr.container,{[Gr.xs]:e==="xs",[Gr.sm]:e==="sm",[Gr.md]:e==="md",[Gr.lg]:e==="lg",[Gr.clickable]:!!n}),style:{backgroundImage:t?`url(${t})`:"none",...r},onClick:n,children:a})}),Ne="Avatar",G7=Z({description:`The \`${Ne}\` component represents a user, group (or other entity's) avatar with a small image or initials.`,props:{size:f(`This property defines the display size of the ${Ne}.`,aa,"string","sm"),name:f(`This property sets the name value the ${Ne} uses to display initials.`),url:f(`This property specifies the URL of the image to display in the ${Ne}.`)},events:{click:f("This event is triggered when the avatar is clicked.")},themeVars:pA(Gr.themeVars),defaultThemeVars:{[`radius-${Ne}`]:"4px",[`thickness-border-${Ne}`]:"0px",[`style-border-${Ne}`]:"solid",[`border-${Ne}`]:`$thickness-border-${Ne} $style-border-${Ne} $color-border-${Ne}`,[`shadow-${Ne}`]:"inset 0 0 0 1px rgba(4,32,69,0.1)",[`color-text-${Ne}`]:"$color-text-secondary",[`font-weight-${Ne}`]:"$font-weight-bold",light:{[`color-bg-${Ne}`]:"$color-surface-100",[`color-border-${Ne}`]:"$color-surface-400A80"},dark:{[`color-bg-${Ne}`]:"$color-surface-800",[`color-border-${Ne}`]:"$color-surface-700"}}}),H7=AA(Ne,G7,({node:A,extractValue:e,lookupEventHandler:t,layoutCss:o,extractResourceUrl:r})=>{var n;return g.jsx(Ru,{size:(n=A.props)==null?void 0:n.size,url:r(A.props.url),name:e(A.props.name),style:o,onClick:t("click")})}),xa={themeVars:`'{"color-bg-ContentSeparator": "var(--xmlui-color-bg-ContentSeparator)", "size-ContentSeparator": "var(--xmlui-size-ContentSeparator)"}'`,separator:"_separator_qlxwk_13",horizontal:"_horizontal_qlxwk_16",vertical:"_vertical_qlxwk_20"},Yu=({orientation:A="horizontal",size:e,style:t})=>g.jsx("div",{className:cA(xa.separator,{[xa.horizontal]:A==="horizontal",[xa.vertical]:A==="vertical"}),style:{height:A==="horizontal"?e:void 0,width:A==="horizontal"?"100%":e,...t}}),va="ContentSeparator",U7=Z({description:`A \`${va}\` is a component that divides or separates content visually within a layout. It serves as a visual cue to distinguish between different sections or groups of content, helping to improve readability and organization.`,props:{size:f("This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical)."),orientation:f("Sets the main axis of the component",Lg)},themeVars:pA(xa.themeVars),defaultThemeVars:{[`color-bg-${va}`]:"$color-border",[`size-${va}`]:"1px",light:{},dark:{}}}),R7=AA(va,U7,({node:A,layoutCss:e,layoutNonCss:t,extractValue:o})=>g.jsx(Yu,{orientation:t.orientation,size:o.asSize(A.props.size),style:e})),xi={themeVars:`'{"padding-Card": "var(--xmlui-padding-Card)", "padding-horizontal-Card": "var(--xmlui-padding-horizontal-Card)", "padding-vertical-Card": "var(--xmlui-padding-vertical-Card)", "shadow-Card": "var(--xmlui-shadow-Card)", "color-bg-Card": "var(--xmlui-color-bg-Card)", "radius-Card": "var(--xmlui-radius-Card)", "color-border-Card": "var(--xmlui-color-border-Card)", "thickness-border-Card": "var(--xmlui-thickness-border-Card)", "style-border-Card": "var(--xmlui-style-border-Card)", "border-Card": "var(--xmlui-border-Card)"}'`,wrapper:"_wrapper_qmtvs_13",horizontal:"_horizontal_qmtvs_23",vertical:"_vertical_qmtvs_28",isClickable:"_isClickable_qmtvs_31"},Ku="vertical",Ou=E.forwardRef(function({children:e,orientation:t=Ku,style:o,title:r,subtitle:n,linkTo:i,avatarUrl:s,showAvatar:a=!!s||!1,onClick:l},c){const B={level:"h2"};return g.jsxs("div",{ref:c,className:cA(xi.wrapper,{[xi.isClickable]:!!l,[xi.vertical]:t==="vertical",[xi.horizontal]:t==="horizontal"}),style:o,onClick:l,children:[[r,n,s,a].some(Boolean)&&g.jsxs(gt,{orientation:"horizontal",verticalAlignment:"center",layout:{gap:"1rem"},children:[a&&g.jsx(Ru,{url:s,name:r}),g.jsxs(gt,{orientation:"vertical",children:[i?r?g.jsx($g,{to:i+"",children:g.jsx(Ko,{...B,children:r})}):null:r?g.jsx(Ko,{...B,children:r}):null,n!==void 0&&g.jsx(qe,{variant:"small",children:n})]})]}),e]})}),he="Card",Y7=Z({description:`The \`${he}\` component is a container for cohesive elements, often rendered visually as a card.`,props:{avatarUrl:f(`Show the avatar (\`true\`) or not (\`false\`). If not specified, the ${he} will show the first letters of the [\`title\`](#title).`),showAvatar:f(`Indicates whether the ${he} should be displayed`,null,"boolean"),title:f("This prop sets the prestyled title."),subtitle:f("This prop sets the prestyled subtitle."),linkTo:f("This property wraps the title in a `Link` component that is clickable to navigate."),orientation:f(`An optional property that governs the ${he}'s orientation (whether the ${he} lays out its children in a row or a column). If the orientation is set to \`horizontal\`, the ${he} will display its children in a row, except for its [\`title\`](#title) and [\`subtitle\`](#subtitle).`,Lg,"string",Ku)},events:{click:nr(he)},themeVars:pA(xi.themeVars),defaultThemeVars:{[`padding-horizontal-${he}`]:"$space-4",[`padding-vertical-${he}`]:"$space-4",[`padding-${he}`]:`$padding-vertical-${he} $padding-horizontal-${he}`,[`color-border-${he}`]:"$color-border",[`thickness-border-${he}`]:"1px",[`style-border-${he}`]:"solid",[`border-${he}`]:`$thickness-border-${he} $style-border-${he} $color-border-${he}`,[`radius-${he}`]:"$radius",[`shadow-${he}`]:"none",light:{[`color-bg-${he}`]:"white"},dark:{[`color-bg-${he}`]:"$color-surface-900"}}}),K7=AA("Card",Y7,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>g.jsx(Ou,{style:o,title:e.asOptionalString(A.props.title),linkTo:e.asOptionalString(A.props.linkTo),subtitle:e.asOptionalString(A.props.subtitle),avatarUrl:e.asOptionalString(A.props.avatarUrl),showAvatar:e.asOptionalBoolean(A.props.showAvatar),orientation:e.asOptionalString(A.props.orientation),children:t(A.children,{type:"Stack",orientation:"vertical"})})),lr={themeVars:'"[]"',outer:"_outer_aarhe_13",flowContainer:"_flowContainer_aarhe_17",horizontal:"_horizontal_aarhe_21",flowItem:"_flowItem_aarhe_24",vertical:"_vertical_aarhe_32",break:"_break_aarhe_47",forceBreak:"_forceBreak_aarhe_47",starSized:"_starSized_aarhe_47"},Zg={},Ju=E.createContext({rowGap:0,columnGap:0,setNumberOfChildren:QA.noop}),qu=({force:A})=>g.jsx("div",{className:cA(lr.break,{[lr.forceBreak]:A})}),O7=E.forwardRef(function({children:e,forceBreak:t,...o},r){const{rowGap:n,columnGap:i,setNumberOfChildren:s}=E.useContext(Ju);$t(()=>(s(M=>M+1),()=>{s(M=>M-1)}),[s]);const{activeTheme:a,root:l}=ce(),c=o.width||"100%",B=o.minWidth||void 0,Q=o.maxWidth||void 0,{width:u=c,minWidth:d,maxWidth:C,flex:h}=E.useMemo(()=>G1({width:c,maxWidth:Q,minWidth:B},a.themeVars,{type:"Stack",orientation:"horizontal"}).cssProps||{},[Q,B,c,a.themeVars]),I=E.useMemo(()=>{if(u&&typeof u=="string"&&u.startsWith("var(")){if(!Zg[u]){const M=u.substring(4,u.length-1),F=getComputedStyle(l).getPropertyValue(M);Zg[u]=F||c}return Zg[u]}return u||c},[c,l,u]),p=typeof I=="string"&&I.endsWith("%"),D=b6(i),m=Ar("(max-width: 420px)"),k=Ar("(max-width: 800px)"),N={minWidth:d,maxWidth:C,width:p?`min(${u} * ${m?"8":k?"4":"1"}, 100%)`:`min(calc(${u} + ${D}), 100%)`,paddingBottom:n,flex:h},L=h!==void 0;return L&&(N.width="100%",N.minWidth=d||"1px"),g.jsxs(g.Fragment,{children:[g.jsx("div",{style:{...N,paddingRight:D},className:cA(lr.flowItem,{[lr.starSized]:L}),ref:r,children:e}),L&&g.jsx(qu,{})]})});function J7({style:A,columnGap:e=0,rowGap:t=0,children:o}){const[r,n]=E.useState(0),i=r===1?0:e,s=Nu(t),a=Nu(i),l=E.useMemo(()=>({marginRight:`calc(-1 * ${a})`,marginBottom:`calc(-1 * ${s})`}),[a,s]),c=E.useMemo(()=>({rowGap:s,columnGap:a,setNumberOfChildren:n}),[a,s]);return g.jsx(Ju.Provider,{value:c,children:g.jsx("div",{style:A,children:g.jsx("div",{className:lr.outer,children:g.jsx("div",{className:cA(lr.flowContainer,lr.horizontal),style:l,children:o})})})})}const ya="FlowLayout",q7=Z({description:"This layout component is used to position content in rows with an auto wrapping feature: if the length of the items exceed the available space the layout will wrap into a new line.",props:{gap:f(`This property defines the gap between items in the same row and between rows. The ${ya} component creates a new row when an item is about to overflow the current row.`),columnGap:f("The `columnGap` property specifies the space between items in a single row; it overrides the `gap` value."),rowGap:f(`The \`rowGap\` property specifies the space between the ${ya} rows; it overrides the \`gap\` value.`),shadow:f(`${ya} does not support shadow, we're waiting for a decent solution.`)},themeVars:pA(lr.themeVars)}),z7=AA(ya,q7,({node:A,renderChild:e,layoutCss:t,extractValue:o})=>{var i,s;if(!Eg(A.children))throw new Bi;const r=o.asSize((i=A.props)==null?void 0:i.columnGap)||t.gap||o.asSize("$space-4"),n=o.asSize((s=A.props)==null?void 0:s.rowGap)||t.gap||o.asSize("$space-4");return g.jsx(J7,{style:t,columnGap:r,rowGap:n,children:e(A.children,{wrapChild:({node:a,extractValue:l},c,B)=>{var C,h,I;if(B!=null&&B.opaque)return c;if(a.type==="SpaceFiller")return g.jsx(qu,{force:!0});const Q=l((C=a.props)==null?void 0:C.width),u=l((h=a.props)==null?void 0:h.minWidth),d=l((I=a.props)==null?void 0:I.maxWidth);return g.jsx(O7,{width:Q,minWidth:u,maxWidth:d,forceBreak:a.type==="SpaceFiller",children:c})}})})});function ba(A,e){return{[`padding-left-${A}`]:(e==null?void 0:e.left)??`$padding-horizontal-${A}`,[`padding-right-${A}`]:(e==null?void 0:e.right)??`$padding-horizontal-${A}`,[`padding-top-${A}`]:(e==null?void 0:e.top)??`$padding-vertical-${A}`,[`padding-bottom-${A}`]:(e==null?void 0:e.bottom)??`$padding-vertical-${A}`,[`padding-horizontal-${A}`]:(e==null?void 0:e.horizontal)??"",[`padding-vertical-${A}`]:(e==null?void 0:e.vertical)??"",[`padding-${A}`]:(e==null?void 0:e.all)??`$padding-top-${A} $padding-right-${A} $padding-bottom-${A} $padding-left-${A}`}}function Ac(A,e){var o,r,n,i,s,a;return{[`radius-${A}`]:"$radius",...t("left",(e==null?void 0:e.left)??(e==null?void 0:e.horizontal)??(e==null?void 0:e.all)),...t("right",(e==null?void 0:e.right)??(e==null?void 0:e.horizontal)??(e==null?void 0:e.all)),...t("top",(e==null?void 0:e.top)??(e==null?void 0:e.vertical)??(e==null?void 0:e.all)),...t("bottom",(e==null?void 0:e.bottom)??(e==null?void 0:e.vertical)??(e==null?void 0:e.all)),...t("horizontal",(e==null?void 0:e.horizontal)??(e==null?void 0:e.all)),...t("vertical",(e==null?void 0:e.vertical)??(e==null?void 0:e.all)),[`color-border-${A}`]:((o=e==null?void 0:e.all)==null?void 0:o.color)??"",[`thickness-border-${A}`]:((r=e==null?void 0:e.all)==null?void 0:r.thickness)??"",[`style-border-${A}`]:((n=e==null?void 0:e.all)==null?void 0:n.style)??"",[`border-${A}`]:`${((i=e==null?void 0:e.all)==null?void 0:i.thickness)??`$thickness-border-${A}`} ${((s=e==null?void 0:e.all)==null?void 0:s.style)??`$style-border-${A}`} ${((a=e==null?void 0:e.all)==null?void 0:a.color)??`$color-border-${A}`} `};function t(l,c){return{[`color-border-${l}-${A}`]:(c==null?void 0:c.color)??"",[`thickness-border-${l}-${A}`]:(c==null?void 0:c.thickness)??"",[`style-border-${l}-${A}`]:(c==null?void 0:c.style)??"",[`border-${l}-${A}`]:(c==null?void 0:c.all)??`$thickness-border-${l}-${A} $style-border-${l}-${A} $color-border-${l}-${A}`}}}const Bt="ModalDialog",W7=Z({description:`The \`${Bt}\` component defines a modal dialog UI element that can be displayed over the existing UI - triggered by some action.`,props:{fullScreen:f("Toggles whether the dialog encompasses the whole UI (`true`) or not and has a minimum width and height (`false`)."),title:f("Provides a prestyled heading to display the intent of the dialog."),closeButtonVisible:f("Shows (`true`) or hides (`false`) the visibility of the close button on the dialog."),isInitiallyOpen:f("This property sets whether the modal dialog appears open (`true`) or not (`false`) when the page is it is defined on is rendered.")},events:{open:f(`This event is fired when the \`${Bt}\` is opened either via a \`when\` or an imperative API call (\`open()\`).`),close:f(`This event is fired when the close button is pressed or the user clicks outside the \`${Bt}\`.`)},apis:{close:f(`This method is used to close the \`${Bt}\`. Invoke it using \`modalId.close()\` where \`modalId\` refers to a \`ModalDialog\` component.`),open:f("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:f("This value represents the first parameters passed to the `open()` method to display the modal dialog."),$params:f("This value represents the array of parameters passed to the `open()` method. You can use `$params[0]` to access the first and `$params[1]` to access the second (and so on) parameters. `$param` is the same as `$params[0]`.")},themeVars:pA(or.themeVars),defaultThemeVars:{...ba(Bt,{all:"$space-7"}),[`color-bg-${Bt}`]:"$color-bg-primary",[`color-bg-overlay-${Bt}`]:"$color-bg-overlay",[`color-text-${Bt}`]:"$color-text-primary",[`radius-${Bt}`]:"$radius",[`font-family-${Bt}`]:"$font-family",[`max-width-${Bt}`]:"450px",[`margin-bottom-title-${Bt}`]:"0",dark:{[`color-bg-${Bt}`]:"$color-bg-primary"}}}),$7=AA(Bt,W7,({node:A,extractValue:e,layoutCss:t,renderChild:o,lookupEventHandler:r,registerComponentApi:n,layoutContext:i})=>{var s,a;return i!=null&&i._insideModalFrame?g.jsx(Qn,{style:t,fullScreen:e((s=A.props)==null?void 0:s.fullScreen),title:e((a=A.props)==null?void 0:a.title),closeButtonVisible:e.asOptionalBoolean(A.props.closeButtonVisible),children:o(A.children,{type:"Stack"})}):g.jsx(z2,{isInitiallyOpen:A.when!==void 0,registerComponentApi:n,onClose:r("close"),onOpen:r("open"),renderDialog:({openParams:l,ref:c})=>g.jsx(ct,{node:A,renderChild:o,layoutContext:{_insideModalFrame:!0},contextVars:{$param:l==null?void 0:l[0],$params:l}})})}),ec={themeVars:`'{"padding-vertical-NoResult": "var(--xmlui-padding-vertical-NoResult)", "gap-icon-NoResult": "var(--xmlui-gap-icon-NoResult)", "size-icon-NoResult": "var(--xmlui-size-icon-NoResult)"}'`,wrapper:"_wrapper_9giub_13",icon:"_icon_9giub_22"},j7=({label:A,icon:e,hideIcon:t=!1,style:o})=>g.jsxs("div",{className:ec.wrapper,style:o,children:[!t&&g.jsx(kA,{name:e??"noresult",className:ec.icon}),A]}),vi="NoResult",V7=Z({description:`\`${vi}\` is a component that displays a visual indication that some data query (search) resulted in no (zero) items.`,props:{label:Je(),icon:f("This property defines the icon to display with the component."),hideIcon:f("This boolean property indicates if the icon should be hidden.")},themeVars:pA(ec.themeVars),defaultThemeVars:{[`padding-vertical-${vi}`]:"$space-2",[`gap-icon-${vi}`]:"$space-2",[`size-icon-${vi}`]:"$space-8",light:{},dark:{}}}),X7=AA(vi,V7,({node:A,extractValue:e,layoutCss:t})=>g.jsx(j7,{label:e.asDisplayText(A.props.label||A.children||"No results found"),icon:A.props.icon,hideIcon:e.asOptionalBoolean(A.props.hideIcon),style:t})),tc={themeVars:`'{"color-bg-FileUploadDropZone": "var(--xmlui-color-bg-FileUploadDropZone)", "color-text-FileUploadDropZone": "var(--xmlui-color-text-FileUploadDropZone)", "color-bg-dropping-FileUploadDropZone": "var(--xmlui-color-bg-dropping-FileUploadDropZone)", "opacity-dropping-FileUploadDropZone": "var(--xmlui-opacity-dropping-FileUploadDropZone)"}'`,wrapper:"_wrapper_u50h5_13",dropPlaceholder:"_dropPlaceholder_u50h5_21"},{useDropzone:Z7}=DQ;function Af({children:A,onUpload:e=R4,uid:t="fileUploadDialog",registerComponentApi:o,style:r,allowPaste:n=!0,text:i="Drop files here",disabled:s=!1}){const a=E.useCallback(async h=>{h.length&&(e==null||e(h))},[e]),{getRootProps:l,getInputProps:c,isDragActive:B,open:Q,inputRef:u}=Z7({onDrop:a,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,disabled:s}),d=HA(()=>{Q()}),C=E.useCallback(h=>{var I,p;if(n&&u.current&&(I=h.clipboardData)!=null&&I.files){const D=((p=h.clipboardData)==null?void 0:p.items)||[],m=[];for(let k=0;k<D.length;k++){const N=D[k];if(N.kind==="file"){const L=N.getAsFile();L!==null&&m.push(L)}}m.length>0&&(h.stopPropagation(),h.preventDefault(),u.current.files=h.clipboardData.files,u.current.dispatchEvent(new Event("change",{bubbles:!0})))}},[n,u]);return E.useEffect(()=>{o({open:d})},[d,o,t]),g.jsxs("div",{...l(),style:r,className:tc.wrapper,onPaste:C,children:[g.jsx("input",{...c()}),A,B&&g.jsxs("div",{className:tc.dropPlaceholder,children:[g.jsx(kA,{name:"upload"}),i]})]})}const zu="FileUploadDropZone",ef=Z({description:`The \`${zu}\` component allows users to upload files to a web application by dragging and dropping files from their local file system onto a designated area within the UI.`,props:{text:f('With this property, you can change the default text ("Drop files here") to display when files are dragged over the drop zone.'),allowPaste:f("This property indicates if the drop zone accepts files pasted from the clipboard (`true`) or only dragged files (`false`)."),enabled:f("If set to `false`, the drop zone will be disabled and users will not be able to upload files.",null,"boolean",!0)},events:{upload:f("This component accepts files for upload but does not perform the actual operation. It fires the `upload` event and passes the list files to upload in the method's argument. You can use the passed file information to implement the upload (according to the protocol your backend supports).")},themeVars:pA(tc.themeVars),defaultThemeVars:{"color-bg-FileUploadDropZone":"$color-bg","color-bg-dropping-FileUploadDropZone":"$color-bg--selected","opacity-dropping-FileUploadDropZone":"0.5","color-text-FileUploadDropZone":"$color-text",light:{},dark:{}}}),tf=AA(zu,ef,({node:A,extractValue:e,renderChild:t,lookupEventHandler:o,registerComponentApi:r,layoutCss:n})=>g.jsx(Af,{onUpload:o("upload"),uid:e(A.uid),registerComponentApi:r,style:n,allowPaste:e(A.props.allowPaste),text:e(A.props.text),disabled:!e.asOptionalBoolean(A.props.enabled,!0),children:t(A.children,{type:"Stack"})})),oc="Icon",of=Z({status:"experimental",description:"This component is the representation of an icon.",props:{name:f("This string property specifies the name of the icon to display. All icons have unique names and identifying the name is case-sensitive."),size:f(`This property defines the size of the \`${oc}\`. Note that setting the \`height\` and/or the \`width\` of the component will override this property.`),fallback:f("This optional property provides a way to handle situations when the provided [icon name](#name) is not found in the registry.")},themeVars:pA(D1.themeVars),defaultThemeVars:{[`size-${oc}`]:"1.25em"}}),rf=AA(oc,of,({node:A,extractValue:e,layoutCss:t})=>g.jsx(kA,{name:e.asOptionalString(A.props.name),size:e(A.props.size),layout:t,fallback:e.asOptionalString(A.props.fallback)}));function nf({items:A,renderItem:e,reverse:t=!1}){const o=E.useMemo(()=>{if(!A)return[];let r=A;return QA.isPlainObject(A)&&(r=Object.values(A)),t?[...r].reverse():r},[A,t]);return!o||!Array.isArray(o)?null:g.jsx(g.Fragment,{children:o.map((r,n)=>e({$item:r,$itemIndex:n,$isFirst:n===0,$isLast:n===o.length-1},n))})}const Wu="Items",sf=Z({description:`The \`${Wu}\` component maps sequential data items into component instances, representing each data item as a particular component.`,props:{items:se("This property contains the list of data items this component renders."),data:f("This property contains the list of data items (obtained from a data source) this component renders."),reverse:f("This property reverses the order in which data is mapped to template components."),itemTemplate:se("The component template to display a single item")},contextVars:{$item:se("This value represents the current iteration item while the component renders its children."),$itemIndex:se("This integer value represents the current iteration index (zero-based) while rendering children."),$isFirst:se("This boolean value indicates if the component renders its first item."),$isLast:se("This boolean value indicates if the component renders its last item.")},opaque:!0}),af=AA(Wu,sf,A=>{const{node:e,renderChild:t,extractValue:o,layoutContext:r}=A;return g.jsx(nf,{items:o(e.props.items)||o(e.props.data),reverse:o(e.props.reverse),renderItem:(n,i)=>g.jsx(ct,{contextVars:n,node:e.children||e.props.itemTemplate,renderChild:t,layoutContext:r},i)})}),$u="SelectionStore",lf=Z({status:"deprecated",description:`The \`${$u}\` is a non-visual component that may wrap components (items) and manage their selection state to accommodate the usage of other actions.`,props:{idKey:f('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"`.')}}),gf=AA($u,lf,A=>{const{node:e,state:t,updateState:o,renderChild:r,registerComponentApi:n}=A;return g.jsx(Tu,{updateState:o,idKey:e.props.idKey,selectedItems:t==null?void 0:t.value,registerComponentApi:n,children:r(e.children)})}),rc="Image",cf=Z({description:`The \`${rc}\` component represents or depicts an object, scene, idea, or other concept with a picture.`,props:{src:f("This property is used to indicate the source (path) of the image to display."),alt:f("This property specifies an alternate text for the image."),fit:f("This property sets how the image content should be resized to fit its container."),lazyLoad:f("Lazy loading instructs the browser to load the image only when it is imminently needed (e.g. user scrolls to it). The default value is eager (`false`)."),aspectRatio:f("This property sets a preferred aspect ratio for the image, which will be used in the calculation of auto sizes and some other layout functions."),animation:f("The animation object to be applied to the component")},events:{click:nr(rc)},themeVars:pA(qg.themeVars)}),Bf=AA(rc,cf,({node:A,extractValue:e,layoutCss:t,extractResourceUrl:o})=>g.jsx(zg,{src:o(A.props.src),alt:e(A.props.alt),fit:e(A.props.fit),lazyLoad:e.asOptionalBoolean(A.props.lazyLoad),aspectRatio:e(A.props.aspectRatio),style:t,animation:e(A.props.animation)})),Qf=({title:A})=>g.jsx(sn.Helmet,{title:A}),uf="PageMetaTitle",Ef=Z({description:"A PageMetaTitle component allows setting up (or changing) the app title to display with the current browser tab.",props:{value:f("This property sets the page's title to display in the browser tab.")}}),df=AA(uf,Ef,({node:A,extractValue:e,renderChild:t})=>g.jsx(Qf,{title:e(A.props.value)||t(A.children)})),nc={themeVars:`'{"color-bg-ProgressBar": "var(--xmlui-color-bg-ProgressBar)", "color-indicator-ProgressBar": "var(--xmlui-color-indicator-ProgressBar)", "radius-ProgressBar": "var(--xmlui-radius-ProgressBar)", "radius-indicator-ProgressBar": "var(--xmlui-radius-indicator-ProgressBar)", "thickness-ProgressBar": "var(--xmlui-thickness-ProgressBar)"}'`,wrapper:"_wrapper_1s8j7_13",bar:"_bar_1s8j7_22"},Cf=E.forwardRef(function({value:e=0,style:t},o){return g.jsx("div",{className:nc.wrapper,style:t,ref:o,children:g.jsx("div",{style:{width:`${e*100}%`},className:nc.bar})})}),Oo="ProgressBar",hf=Z({description:`A \`${Oo}\` component visually represents the progress of a task or process.`,props:{value:f("This property defines the progress value with a number between 0 and 1.")},themeVars:pA(nc.themeVars),defaultThemeVars:{[`radius-${Oo}`]:"$radius",[`radius-indicator-${Oo}`]:"0px",[`thickness-${Oo}`]:"$space-2",light:{[`color-bg-${Oo}`]:"$color-surface-200",[`color-indicator-${Oo}`]:"$color-primary-500"},dark:{[`color-bg-${Oo}`]:"$color-surface-700",[`color-indicator-${Oo}`]:"$color-primary-500"}}}),If=AA(Oo,hf,({node:A,extractValue:e,layoutCss:t})=>g.jsx(Cf,{value:Math.max(0,Math.min(1,e(A.props.value))),style:t})),At={themeVars:`'{"padding-Splitter": "var(--xmlui-padding-Splitter)", "shadow-Splitter": "var(--xmlui-shadow-Splitter)", "color-bg-Splitter": "var(--xmlui-color-bg-Splitter)", "radius-Splitter": "var(--xmlui-radius-Splitter)", "color-border-Splitter": "var(--xmlui-color-border-Splitter)", "thickness-border-Splitter": "var(--xmlui-thickness-border-Splitter)", "style-border-Splitter": "var(--xmlui-style-border-Splitter)", "border-Splitter": "var(--xmlui-border-Splitter)", "color-bg-resizer-Splitter": "var(--xmlui-color-bg-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_1a9gt_13",vertical:"_vertical_1a9gt_27",horizontal:"_horizontal_1a9gt_30",panel:"_panel_1a9gt_34",primaryPanel:"_primaryPanel_1a9gt_41",secondaryPanel:"_secondaryPanel_1a9gt_48",resizer:"_resizer_1a9gt_54",floatingResizer:"_floatingResizer_1a9gt_70"},yi=(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 %.")},ka=(A,e)=>A/e*100,ju=({initialPrimarySize:A="50%",minPrimarySize:e="0%",maxPrimarySize:t="100%",orientation:o="vertical",children:r,layout:n,swapped:i=!1,floating:s=!1,splitterTemplate:a,resize:l=vA})=>{var k;const[c,B]=E.useState(0),[Q,u]=E.useState(null),[d,C]=E.useState(!1),[h,I]=E.useState(null),[p,D]=E.useState(null),m=E.useMemo(()=>s?p:h,[s,h,p]);return E.useEffect(()=>{if(Q){const N=o==="horizontal"?Q.getBoundingClientRect().width:Q.getBoundingClientRect().height,L=yi(A,N);B(L),l&&l([ka(L,N),ka(N-L,N)])}},[A,o,l,Q,i]),E.useEffect(()=>{const N=F=>{if(Q&&m){const v=o==="horizontal"?Q.getBoundingClientRect().width:Q.getBoundingClientRect().height,y=Math.min(Math.max(o==="horizontal"?F.clientX-Q.getBoundingClientRect().left:F.clientY-Q.getBoundingClientRect().top,yi(e,v)),yi(t,v));B(y),l&&l([ka(y,v),ka(v-y,v)])}},L=()=>{document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",L)},M=()=>{document.addEventListener("mousemove",N),document.addEventListener("mouseup",L)};return m&&m.addEventListener("mousedown",M),()=>{m&&m.removeEventListener("mousedown",M),document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",L)}},[e,t,o,l,s,m,Q]),E.useEffect(()=>{const N=L=>{const M=o==="horizontal"?L.clientX:L.clientY;if(Q){const v=(o==="horizontal"?Q.getBoundingClientRect().left:Q.getBoundingClientRect().top)+c;M>v-20&&M<v+20?C(!0):C(!1)}};return Q&&(Q.addEventListener("mousemove",N),Q.addEventListener("mouseleave",()=>C(!1))),()=>{Q&&(Q.removeEventListener("mouseleave",()=>C(!1)),Q.removeEventListener("mousemove",N))}},[c,o,Q]),E.useEffect(()=>{p&&(p.style.opacity=d?"1":"0")},[p,d]),g.jsx("div",{ref:N=>u(N),className:cA(At.splitter,{[At.horizontal]:o==="horizontal",[At.vertical]:o==="vertical"}),style:n,children:E.Children.count(r)>1?g.jsxs(g.Fragment,{children:[g.jsx("div",{style:i?{}:{flexBasis:c},className:cA({[At.primaryPanel]:!i,[At.secondaryPanel]:i}),children:E.Children.toArray(r)[0]}),!s&&g.jsx("div",{className:cA(At.resizer,{[At.horizontal]:o==="horizontal",[At.vertical]:o==="vertical"}),ref:N=>I(N),children:a}),g.jsx("div",{className:cA({[At.primaryPanel]:i,[At.secondaryPanel]:!i}),style:i?{flexBasis:c}:{},children:E.Children.toArray(r)[1]}),s&&g.jsx("div",{ref:N=>D(N),className:cA(At.floatingResizer,{[At.horizontal]:o==="horizontal",[At.vertical]:o==="vertical"}),style:{top:o==="horizontal"?0:c,left:o==="horizontal"?c:0},children:a})]}):g.jsx(g.Fragment,{children:((k=E.Children.toArray(r))==null?void 0:k[0])&&g.jsx("div",{className:At.panel,children:E.Children.toArray(r)[0]})})})},Jo="Splitter",Ma=Z({description:`The \`${Jo}\` component divides a container (such as a window, panel, pane, etc.) into two resizable sections.`,props:{swapped:f(`This optional booelan property indicates whether the \`${Jo}\` sections are layed out as primary and secondary (\`false\`) or secondary and primary (\`true\`) from left to right.`),splitterTemplate:se("The divider can be customized using XMLUI components via this property."),initialPrimarySize:f("This optional number property sets the initial size of the primary section. The unit of the size value is in pixels or percentages."),minPrimarySize:f("This property sets the minimum size the primary section can have. The unit of the size value is in pixels or percentages."),maxPrimarySize:f("This property sets the maximum size the primary section can have. The unit of the size value is in pixels or percentages."),floating:f("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.")},events:{resize:f("This event fires when the component is resized.")},themeVars:pA(At.themeVars),defaultThemeVars:{[`color-bg-resizer-${Jo}`]:"$color-bg-Card",[`thickness-resizer-${Jo}`]:"5px",[`cursor-resizer-horizontal-${Jo}`]:"ew-resize",[`cursor-resizer-vertical-${Jo}`]:"ns-resize"}}),pf={...Ma,props:{...Ma.props,orientation:f("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`).")}},wf={...Ma,specializedFrom:Jo},ff={...Ma,specializedFrom:Jo},Df="vertical";function ic({node:A,extractValue:e,layoutNonCss:t,layoutCss:o,renderChild:r,lookupEventHandler:n,orientation:i=t.orientation??Df}){var s,a,l,c,B,Q;if(!Eg(A.children))throw new Bi;return g.jsx(ju,{layout:o,swapped:e.asOptionalBoolean((s=A.props)==null?void 0:s.swapped),orientation:i,splitterTemplate:r((a=A.props)==null?void 0:a.splitterTemplate),initialPrimarySize:e((l=A.props)==null?void 0:l.initialPrimarySize),minPrimarySize:e((c=A.props)==null?void 0:c.minPrimarySize),maxPrimarySize:e((B=A.props)==null?void 0:B.maxPrimarySize),floating:e.asOptionalBoolean((Q=A.props)==null?void 0:Q.floating),resize:n("resize"),children:r(A.children)})}const mf=AA(Jo,pf,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>ic({node:A,extractValue:e,layoutCss:o,layoutNonCss:r,renderChild:t,lookupEventHandler:n})),xf=AA("VSplitter",ff,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>ic({node:A,extractValue:e,layoutCss:o,layoutNonCss:r,renderChild:t,orientation:"vertical",lookupEventHandler:n})),vf=AA("HSplitter",wf,({node:A,extractValue:e,renderChild:t,layoutCss:o,layoutNonCss:r,lookupEventHandler:n})=>ic({node:A,extractValue:e,layoutCss:o,layoutNonCss:r,renderChild:t,orientation:"horizontal",lookupEventHandler:n}));var gr=(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))(gr||{});function yf(A){return{type:"ACTION_ITEM_STARTED",payload:{actionItemId:A}}}function bf(A,e){return{type:"ACTION_ITEM_PROGRESS",payload:{actionItemId:A,progressEvent:e}}}function kf(A,e){return{type:"ACTION_ITEM_COMPLETED",payload:{actionItemId:A,result:e}}}function Vu(A){return{type:"ACTION_ITEM_REMOVED",payload:{actionItemId:A}}}function Mf(){return{type:"CLEAR_COMPLETED_ACTION_ITEMS",payload:{}}}function Nf(A,e){return{type:"ACTION_ITEM_ERROR",payload:{actionItemId:A,error:e}}}function Xu(A,e,t){return{type:"ACTION_QUEUE_INITIALIZED",payload:{queue:A,actionItemIds:t,batchId:e}}}const _f=ue((A,e)=>{switch(e.type){case gr.ACTION_QUEUE_INITIALIZED:{const t={},o={};e.payload.queue.forEach((n,i)=>{o[e.payload.actionItemIds[i]]=n});const r=Object.keys(o);return Object.entries(o).forEach(([n,i])=>{t[n]={batchId:e.payload.batchId,actionItemId:n,status:"pending",item:i}}),{queue:[...A.queue||[],...r],queueState:{...A.queueState,...t}}}case gr.ACTION_ITEM_STARTED:{A.queueState[e.payload.actionItemId]&&(A.queueState[e.payload.actionItemId].status="started");break}case gr.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 gr.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 gr.ACTION_ITEM_REMOVED:{A.queue=A.queue.filter(t=>t!==e.payload.actionItemId),delete A.queueState[e.payload.actionItemId];break}case gr.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 gr.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}}),Ff={queue:[],queueState:{}};function Lf({registerComponentApi:A,willProcessItem:e,processItem:t,didProcessItem:o,processItemError:r,onComplete:n,renderProgressFeedback:i,renderResultFeedback:s,clearAfterFinish:a=!0}){const l=E.useRef(new Set),[c,B]=E.useReducer(_f,Ff);let Q=_t();const u=HA(M=>{const F=ri();return B(Xu([M],ri(),[F])),F}),d=HA(M=>{const F=M.map(()=>ri());return B(Xu(M,ri(),F)),F}),C=E.useCallback(()=>{B(Mf())},[]),h=E.useCallback(M=>{M&&B(Vu(M))},[]),I=E.useCallback(()=>c.queue.length,[c.queue.length]),p=E.useCallback(()=>Object.values(c.queueState),[c.queueState]);E.useEffect(()=>{A({enqueueItem:u,enqueueItems:d,clearCompleted:C,remove:h,getQueueLength:I,getQueuedItems:p})},[A,u,d,C,h,I,p]);const D=E.useCallback(async M=>{const F=c.queueState[M];if((F==null?void 0:F.status)!=="pending"||l.current.has(M))return;l.current.add(M);const v=F.item;let y={};try{const P=await(e==null?void 0:e({item:v,actionItemId:M,processItemContext:y}));if(y={...y,willProcessResult:P},P===!1){B(Vu(M));return}B(yf(M));const b=await(t==null?void 0:t({item:v,actionItemId:M,processItemContext:y,onProgress:_=>{B(bf(M,_))}}));y={...y,processResult:b},await(o==null?void 0:o({item:v,actionItemId:M,processItemContext:y})),B(kf(M,b))}catch(P){let b=await(r==null?void 0:r(P,{item:v,actionItemId:M,processItemContext:y}));B(Nf(M,P)),b!==!1&&Q.signError(P)}finally{l.current.delete(M)}},[Q,o,B,t,r,c.queueState,e]),m=E.useRef(),k=c.queue,N=lo(k),L=E.useCallback(()=>{n==null||n();const M=p(),F=p().filter(y=>y.status==="completed"),v=s==null?void 0:s(F,M);if(v&&F.length){let y=m.current;me.success(g.jsx(g.Fragment,{children:v}),{id:y})}else if(m.current){let y=m.current;me.dismiss(y)}a&&C()},[a,C,p,n,s]);return E.useLayoutEffect(()=>{if(k.length&&i){const M=p(),F=p().filter(y=>y.status==="completed"),v=i==null?void 0:i(F,M);v&&m.current?me.loading(g.jsx(g.Fragment,{children:v}),{id:m.current}):m.current=me.loading(g.jsx(g.Fragment,{children:v}))}},[i,k==null?void 0:k.length]),E.useEffect(()=>{if(!k||N===k||QA.isEqual(N,k))return;if(N!=null&&N.length&&!k.length){L();return}let M=k[0];(async()=>await D(M))()},[L,D,N,k]),null}const Sf="Queue",Pf=Z({description:"The `Queue` component provides an API to enqueue elements and defines events to process queued elements in a FIFO order.",props:{progressFeedback:f("This property defines the component template of the UI that displays progress information whenever, the queue's `progressReport` function in invoked."),resultFeedback:f("This property defines the component template of the UI that displays result information when the queue becomes empty after processing all queued items."),clearAfterFinish:f("This property indicates the completed items (successful or error) should be removed from the queue after completion.")},nonVisual:!0,events:{willProcess:f("This event is triggered to process a particular item."),process:f("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:f("This event is fired when the processing of a queued item has been successfully processed."),processError:f("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:f("The queue fires this event when the queue gets empty after processing all items. The event handler has no arguments.")},apis:{enqueueItem:f("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:f("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:f("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:f("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet."),remove:f("This method retrieves the current queue length. The queue contains only those items that are not fully processed yet.")},contextVars:{$completedItems:f("A list containing the queue items that have been completed (fully processed)."),$queuedItems:f("A list containing the items waiting in the queue, icluding the completed items.")}}),Tf=AA(Sf,Pf,({node:A,registerComponentApi:e,lookupEventHandler:t,renderChild:o,extractValue:r})=>g.jsx(Lf,{registerComponentApi:e,renderResultFeedback:A.props.resultFeedback?(n,i)=>g.jsx(ct,{node:A.props.resultFeedback,contextVars:{$completedItems:n,$queuedItems:i},renderChild:o}):void 0,renderProgressFeedback:A.props.progressFeedback?(n,i)=>g.jsx(ct,{node:A.props.progressFeedback,contextVars:{$completedItems:n,$queuedItems:i},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)})),Zu=E.forwardRef(({node:A,lookupSyncCallback:e,lookupEventHandler:t,compound:o,api:r,scriptCollected:n,renderChild:i,extractValue:s,layoutContext:a,uid:l,updateState:c},B)=>{const Q=E.useMemo(()=>{const F={};return A.props&&Object.entries(A.props).forEach(([v,y])=>{const P=s(y,!0);P!=null&&P._ARROW_EXPR_?F[v]=e(P):F[v]=P}),F},[s,e,A.props]),u=$e(Q),d=E.useMemo(()=>{var _;const{loaders:F,vars:v,functions:y,scriptError:P,...b}=o;return{type:"Container",uses:Be,api:r,scriptCollected:n,loaders:F,vars:v,functions:y,scriptError:P,containerUid:l,props:{debug:(_=o.props)==null?void 0:_.debug},children:[b]}},[r,o,n,l]),C=HA((F,...v)=>{const y=t(F);if(y)return y(...v)}),h=HA(F=>!!t(F)),I=E.useMemo(()=>({$props:u,...d.vars,emitEvent:C,hasEventHandler:h,updateState:c}),[d.vars,C,h,u,c]),p=$e(I),D=E.useMemo(()=>({...d,vars:p}),[d,p]),m=$e(D),k=E.useMemo(()=>Object.entries(A.props).some(([F,v])=>{var y;return F.endsWith("Template")||QA.isObject(v)&&v.type!==void 0||QA.isArray(v)&&((y=v[0])==null?void 0:y.type)!==void 0}),[A.props]),N=E.useMemo(()=>{if(!((!A.children||A.children.length===0)&&!k))return{renderChild:i,props:A.props,children:A.children}},[k,A.children,A.props,i]),L=a&&{...a,wrapChild:void 0},M=i(m,L,N);return B&&M&&E.isValidElement(M)?E.cloneElement(M,{ref:jt(B,M.ref)}):E.isValidElement(M)?M:g.jsx(g.Fragment,{children:M})});Zu.displayName="CompoundComponent";const qo={themeVars:'"[]"',infoWrapper:"_infoWrapper_pfst8_13",loadingWrapper:"_loadingWrapper_pfst8_18",noRows:"_noRows_pfst8_26",borderCollapse:"_borderCollapse_pfst8_36",sectioned:"_sectioned_pfst8_36",row:"_row_pfst8_36",section:"_section_pfst8_36",sectionFooter:"_sectionFooter_pfst8_52"},A0=E.createContext({isExpanded:A=>!1,toggleExpanded:(A,e)=>{}}),Gf=({children:A,onHeightChanged:e,rowIndex:t,itemType:o})=>{const r=E.useRef(null);return Ks(r,E.useCallback(()=>{e==null||e(r.current)},[e])),g.jsx("div",{ref:n=>{e==null||e(n),r.current=n},className:Ge({[qo.row]:o==="ITEM",[qo.section]:o==="SECTION",[qo.sectionFooter]:o==="SECTION_FOOTER"}),"data-list-item-type":o,"data-index":t,children:A})};function Hf({groupsInitiallyExpanded:A=!0,expanded:e=GA,items:t,limit:o,groupBy:r,orderBy:n,availableGroups:i,defaultGroups:s=Be}){const a=E.useMemo(()=>{if(!n)return t;let u=n;Array.isArray(n)||(u=[n]);const d=u.map(h=>I=>QA.get(I,h.field)),C=u.map(h=>h.direction);return QA.orderBy(t,d,C)},[t,n]),l=E.useMemo(()=>o?a.slice(0,o-1):a,[a,o]),c=E.useMemo(()=>r===void 0?GA:QA.groupBy(l,u=>u[r]),[l,r]),B=E.useMemo(()=>{if(r===void 0)return Be;let u=QA.uniq([...s,...Object.keys(c)]);return i&&(u=QA.sortBy(u,d=>i.indexOf(d))),u},[r,c,s,i]);return{rows:E.useMemo(()=>{if(r===void 0)return l;const u=[];return B.forEach(d=>{u.push({id:d,items:c[d],_row_type:"SECTION",key:d}),(e[d]||e[d]===void 0&&A)&&(u.push(...c[d]||[]),u.push({id:`${d}_footer`,items:c[d],_row_type:"SECTION_FOOTER",key:d}))}),u},[r,B,l,e,A,c]),sectionedItems:c,sections:B}}const Uf=(A,e)=>{if(!A)return null;let t,o;if(typeof A=="object"){const r=Object.values(QA.omit(A,"id"));if(!r.length)return null;t=r[0],o=void 0,r.length>1&&(o=r[1])}else if(typeof A=="string"||typeof A=="number")t=A+"",o=void 0;else return null;return g.jsx(Ou,{title:t,subtitle:o})},Rf=E.forwardRef(function({items:e=Be,itemRenderer:t=Uf,sectionRenderer:o,sectionFooterRenderer:r,loading:n,limit:i,groupBy:s,orderBy:a,availableGroups:l,scrollAnchor:c="top",requestFetchPrevPage:B=QA.noop,requestFetchNextPage:Q=QA.noop,selectedIndex:u,resetSelectedIndex:d=QA.noop,pageInfo:C,idKey:h="id",style:I,emptyListPlaceholder:p,groupsInitiallyExpanded:D=!0,defaultGroups:m=Be,registerComponentApi:k,borderCollapse:N=!0},L){var TA;const M=E.useContext(Io),F=E.useRef(null),v=L?jt(F,L):F,y=E.useRef(null),[P,b]=E.useState(c==="bottom"),[_,q]=E.useState(GA),J=E.useCallback((sA,yA)=>{q(FA=>({...FA,[sA]:yA}))},[]),z=E.useMemo(()=>({isExpanded:sA=>_[sA]||_[sA]===void 0&&D,toggleExpanded:J}),[_,D,J]),{rows:T}=Hf({groupsInitiallyExpanded:D,defaultGroups:m,expanded:_,items:e,limit:i,groupBy:s,orderBy:a,availableGroups:l}),S=M&&(I==null?void 0:I.maxHeight)===void 0&&(I==null?void 0:I.height)===void 0&&(I==null?void 0:I.flex)===void 0,G=S?M:F,U=Ms.useVirtualizer({count:T.length,scrollMargin:S&&((TA=F.current)==null?void 0:TA.offsetTop)||0,getScrollElement:E.useCallback(()=>G.current,[G]),estimateSize:E.useCallback(()=>10,[]),rangeExtractor:E.useCallback(sA=>Ms.defaultRangeExtractor(sA),[]),getItemKey:E.useCallback(sA=>T[sA][h]??sA,[h,T]),overscan:5}),V=E.useCallback((sA,yA)=>{U.scrollToIndex(sA),requestAnimationFrame(()=>{yA==null||yA()})},[U]),tA=HA(()=>{T.length&&V(T.length-1)}),uA=HA(()=>{T.length&&V(0)});E.useLayoutEffect(()=>{k==null||k({scrollToBottom:tA,scrollToTop:uA})},[k,tA,uA]);const EA=U.getVirtualItems(),hA=U.getTotalSize();E.useEffect(()=>{if(u&&U){const sA=EA.findIndex(yA=>yA.key===u);V(sA),d()}},[d,U,u,V,EA]);const eA=lo(hA),oA=EA[0],W=EA[EA.length-1],$=E.useRef(!1);E.useLayoutEffect(()=>{T.length&&c==="bottom"&&!$.current&&($.current=!0,V(T.length-1))},[T.length,c,V]),E.useLayoutEffect(()=>{if(eA&&eA!==hA&&c==="bottom"){const sA=hA-eA;b(!0),queueMicrotask(()=>{G.current.scrollBy({left:0,top:sA}),b(!1)})}},[oA==null?void 0:oA.index,eA,U,c,G,hA]);const rA=E.useRef(null);E.useEffect(()=>{P||C&&oA&&oA.index===0&&C.hasPrevPage&&!C.isFetchingPrevPage&&(async()=>(b(!0),rA.current&&clearTimeout(rA.current),await B(),rA.current=setTimeout(()=>{b(!1)},500)))()},[oA,C,B,P]),E.useEffect(()=>{P||C&&W&&W.index===e.length-1&&C.hasNextPage&&!C.isFetchingNextPage&&(async()=>(b(!0),rA.current&&clearTimeout(rA.current),await Q(),rA.current=setTimeout(()=>{b(!1)},500)))()},[e.length,W,C,Q,P]);const dA=oA?oA.start-U.options.scrollMargin:0;return g.jsx(A0.Provider,{value:z,children:g.jsxs("div",{ref:v,className:qo.scrollParent,style:{overflow:S?"initial":"auto",maxHeight:"100%",...I},children:[n&&EA.length===0&&g.jsx("div",{className:qo.loadingWrapper,children:g.jsx(ha,{})}),!n&&EA.length===0&&(p??g.jsx("div",{className:qo.noRows,children:g.jsx(qe,{children:"No data available"})})),(!n&&EA.length>0||e.length>0)&&g.jsx("div",{ref:y,style:{height:`${hA}px`,width:"100%",position:"relative"},children:g.jsx("div",{"data-list-container":!0,className:Ge({[qo.sectioned]:s!==void 0,[qo.borderCollapse]:N}),style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${dA}px)`},children:EA.map(sA=>{const yA=T[sA.index];let FA=sA.key,JA;switch(yA._row_type){case"SECTION":JA=(o==null?void 0:o(yA,yA[h]))??null,FA=`section_${FA}`;break;case"SECTION_FOOTER":JA=r==null?void 0:r(yA,yA[h]),FA=`section_footer_${FA}`;break;default:JA=t(yA,yA[h])??null;break}return g.jsx(Gf,{onHeightChanged:U.measureElement,rowIndex:sA.index,itemType:yA._row_type||"ITEM",children:JA},FA)})})})]})})});function Yf({node:A,renderChild:e,item:t}){const{isExpanded:o,toggleExpanded:r}=E.useContext(A0),n=t.id,i=o(n),s=E.useMemo(()=>({isExpanded:i,toggle:()=>{r(n,!i)}}),[i,n,r]);return g.jsx(ct,{node:A,renderChild:e,item:t,context:s,itemKey:"$group",contextKey:"$group"})}const Hr="List",Kf=Z({status:"experimental",description:`The \`${Hr}\` component is a robust layout container that renders associated data items as a list of components. \`${Hr}\` is virtualized; it renders only items that are visible in the viewport.`,props:{data:f("The component receives data via this property. The `data` property is a list of items that the `List` can display."),items:f("You can use `items` as an alias for the `data` property. When you bind the list to a data source (e.g. an API endpoint), the `data` acts as the property that accepts a URL to fetch information from an API.When both `items` and `data` are used, `items` has priority."),loading:f("This property delays the rendering of children until it is set to `false`, or the component receives usable list items via the [`data`](#data) property."),limit:f(`This property limits the number of items displayed in the \`${Hr}\`.`),scrollAnchor:f("This property pins the scroll position to a specified location of the list. Available values are shown below.",_1,"string","top"),groupBy:f("This property sets which attribute of the data is used to group the list items. If the attribute does not appear in the data, it will be ignored."),orderBy:f("This property enables the ordering of list items by specifying an attribute in the data."),availableGroups:f(`This property is an array of group names that the \`${Hr}\` will display.`),groupHeaderTemplate:se("Enables the customization of how the groups are displayed, similarly to the [`itemTemplate`](#itemtemplate). You can use the `$item` context variable to access an item group and map its individual attributes."),groupFooterTemplate:se("Enables the customization of how the the footer of each group is displayed. Combine with [`groupHeaderTemplate`](#groupHeaderTemplate) to customize sections. You can use the `$item` context variable to access an item group and map its individual attributes."),itemTemplate:se("This property allows the customization of mapping data items to components. You can use the `$item` context variable to access an item and map its individual attributes."),emptyListTemplate:se("This property defines the template to display when the list is empty."),pageInfo:f(`This property contains the current page information. Setting this property also enures the \`${Hr}\` uses pagination.`),idKey:f('Denotes which attribute of an item acts as the ID or key of the item. Default is `"id"`.'),selectedIndex:f("This property scrolls to a specific item indicated by its index."),groupsInitiallyExpanded:f("This Boolean property defines whether the list groups are initially expanded."),defaultGroups:f(`This property adds a list of default groups for the \`${Hr}\` and displays the group headers in the specified order. If the data contains group headers not in this list, those headers are also displayed (after the ones in this list); however, their order is not deterministic.`),hideEmptyGroups:f("This boolean property indicates if empty groups should be hidden (no header and footer are displayed).",null,"boolean",!0),borderCollapse:f("Collapse items borders",null,"boolean",!0)},contextVars:{$item:f("This property represents the value of an item in the data list.")},themeVars:pA(qo.themeVars)}),Of=AA(Hr,Kf,({node:A,extractValue:e,renderChild:t,lookupAction:o,layoutCss:r,layoutContext:n,lookupEventHandler:i,registerComponentApi:s})=>{var c;const a=A.props.itemTemplate||A.children,l=e.asOptionalBoolean(A.props.hideEmptyGroups,!0);return g.jsx(Rf,{registerComponentApi:s,style:r,loading:e.asOptionalBoolean(A.props.loading),items:e(A.props.items)||e(A.props.data),limit:e(A.props.limit),groupBy:e(A.props.groupBy),orderBy:e(A.props.orderBy),availableGroups:e(A.props.availableGroups),scrollAnchor:A.props.scrollAnchor,pageInfo:e(A.props.pageInfo),idKey:e(A.props.idKey),requestFetchPrevPage:i("requestFetchPrevPage"),requestFetchNextPage:i("requestFetchNextPage"),selectedIndex:e(A.props.selectedIndex),resetSelectedIndex:o((c=A.events)==null?void 0:c.resetSelectedIndex),emptyListPlaceholder:t(A.props.emptyListTemplate),groupsInitiallyExpanded:e.asOptionalBoolean(A.props.groupsInitiallyExpanded),defaultGroups:e(A.props.defaultGroups),borderCollapse:e.asOptionalBoolean(A.props.borderCollapse,!0),itemRenderer:a&&(B=>g.jsx(ct,{node:a,item:B,renderChild:t,layoutContext:n})),sectionRenderer:A.props.groupBy?B=>{var Q;return(((Q=B.items)==null?void 0:Q.length)??0)>0||!l?g.jsx(Yf,{node:A.props.groupHeaderTemplate??{type:"Fragment"},renderChild:t,item:B}):null}:void 0,sectionFooterRenderer:A.props.groupFooterTemplate?B=>{var Q;return(((Q=B.items)==null?void 0:Q.length)??0)>0||!l?g.jsx(ct,{node:A.props.groupFooterTemplate??{type:"Fragment"},item:B,renderChild:t,itemKey:"$group",contextKey:"$group"}):null}:void 0})}),sc={themeVars:'"[]"',wrapper:"_wrapper_1hlil_13",visibleOnHover:"_visibleOnHover_1hlil_16"};function Jf({children:A,top:e,right:t,bottom:o,left:r,visibleOnHover:n=!1}){return g.jsx("div",{style:{top:e,right:t,bottom:o,left:r},className:cA(sc.wrapper,{[sc.visibleOnHover]:n}),children:A})}const qf="PositionedContainer",zf=Z({status:"deprecated",description:"(**OBSOLETE**) This component was created for the ChatEngine app.",props:{visibleOnHover:f("No description")},themeVars:pA(sc.themeVars)}),Wf=AA(qf,zf,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>g.jsx(Jf,{top:o.top,right:o.right,bottom:o.bottom,left:o.left,visibleOnHover:e.asOptionalBoolean(A.props.visibleOnHover),children:t(A.children)}));function $f({listenTo:A,onChange:e,throttleWaitInMs:t=0}){const o=lo(A),r=E.useMemo(()=>t!==0&&e?QA.throttle(e,t,{leading:!0}):e,[e,t]);return E.useEffect(()=>{r&&!QA.isEqual(o,A)&&(r==null||r({prevValue:o,newValue:A}))},[A,r,o]),null}const ac="ChangeListener",jf=Z({description:`\`${ac}\` is a functional component (it renders no UI) to trigger an action when a particular value (component property, state, etc.) changes.`,props:{listenTo:f("Value to the changes of which this component listens."),throttleWaitInMs:f("This variable sets a throttling time (in milliseconds) to apply when executing the `didChange` event handler. All changes within that throttling time will only fire the `didChange` event once.")},events:{didChange:lt(ac)}}),Vf=AA(ac,jf,({node:A,lookupEventHandler:e,extractValue:t})=>g.jsx($f,{listenTo:t(A.props.listenTo),throttleWaitInMs:t(A.props.throttleWaitInMs),onChange:e("didChange")})),e0=Ns.createContext(void 0);function Tt(A){return Ns.useContextSelector(e0,A)}var Gt=(A=>(A.FIELD_LOST_FOCUS="FormActionKind:FIELD_LOST_FOCUS",A.FIELD_VALUE_CHANGED="FormActionKind:FIELD_VALUE_CHANGED",A.FIELD_FOCUSED="FormActionKind:FIELD_FOCUSED",A.FIELD_VALIDATED="FormActionKind:FIELD_VALIDATED",A.FIELD_INITIALIZED="FormActionKind:FIELD_INITIALIZED",A.FIELD_REMOVED="FormActionKind:FIELD_REMOVED",A.TRIED_TO_SUBMIT="FormActionKind:TRIED_TO_SUBMIT",A.BACKEND_VALIDATION_ARRIVED="FormActionKind:BACKEND_VALIDATION_ARRIVED",A.SUBMITTING="FormActionKind:SUBMITTING",A.SUBMITTED="FormActionKind:SUBMITTED",A.RESET="FormActionKind:RESET",A))(Gt||{});function Xf(A,e){return{type:"FormActionKind:FIELD_INITIALIZED",payload:{uid:A,value:e}}}function t0(A,e){return{type:"FormActionKind:FIELD_VALUE_CHANGED",payload:{uid:A,value:e}}}function Zf(A){return{type:"FormActionKind:FIELD_FOCUSED",payload:{uid:A}}}function A9(A){return{type:"FormActionKind:FIELD_LOST_FOCUS",payload:{uid:A}}}function o0(A,e){return{type:"FormActionKind:FIELD_VALIDATED",payload:{uid:A,validationResult:e}}}function e9(A){return{type:"FormActionKind:FIELD_REMOVED",payload:{uid:A}}}function t9(){return{type:"FormActionKind:TRIED_TO_SUBMIT",payload:{}}}function o9(){return{type:"FormActionKind:SUBMITTING",payload:{}}}function r9(){return{type:"FormActionKind:SUBMITTED",payload:{}}}function n9(A){return{type:"FormActionKind:RESET",payload:{originalSubject:A}}}function i9({generalValidationResults:A=[],fieldValidationResults:e={}}){return{type:"FormActionKind:BACKEND_VALIDATION_ARRIVED",payload:{generalValidationResults:A,fieldValidationResults:e}}}function s9(A){return A==null||A===""?!0:typeof A=="string"?A.trim().length===0:QA.isEmpty(A)}function r0(A="",e){return typeof A=="string"?A.length>=e:(console.warn("minLength can only be used on strings"),!0)}function n0(A="",e){return typeof A=="string"?A.length<=e:(console.warn("maxLength can only be used on strings"),!0)}function i0(A="",e){return typeof A!="string"&&!QA.isNumber(A)&&console.warn("Range can only be used on strings and numbers"),Number(A)>=e}function s0(A="",e){return typeof A!="string"&&!QA.isNumber(A)&&console.warn("Range can only be used on strings and numbers"),Number(A)<=e}function a9(A="",e){if(typeof A=="string")return t(e).test(A);return console.warn("Regex can only be used on strings"),!0;function t(o){const r=o.match(/^([/~@;%#'])(.*?)\1([gimsuy]*)$/);return r?new RegExp(r[2],r[3]):new RegExp(o)}}class a0{constructor(e,t,o){this.validations=e,this.onValidate=t,this.value=o,this.preValidate=()=>{const r=this.validateRequired();let n=[r];return(!r||r.isValid)&&n.push(this.validateLength(),this.validateRange(),this.validatePattern(),this.validateRegex()),n=n.filter(i=>i!==void 0),{isValid:n.find(i=>!i.isValid)===void 0,validatedValue:this.value,partial:this.onValidate!==void 0,validations:n}},this.validate=async()=>{const r=this.preValidate(),n=await this.validateCustom()||[];return r.validations.push(...n.map(i=>({...i,async:!0}))),{isValid:r.validations.find(i=>!i.isValid)===void 0,validatedValue:this.value,partial:!1,validations:r.validations}}}validateRequired(){const{required:e,requiredInvalidMessage:t}=this.validations;if(e)return{isValid:!s9(this.value),invalidMessage:t||"This field is required",severity:"error"}}validateLength(){const{minLength:e,maxLength:t,lengthInvalidMessage:o,lengthInvalidSeverity:r="error"}=this.validations;if(!(e===void 0&&t===void 0))return e!==void 0&&t===void 0?{isValid:r0(this.value,e),invalidMessage:o||`Input should be at least ${e} ${g0(e,"character")}`,severity:r}:e===void 0&&t!==void 0?{isValid:n0(this.value,t),invalidMessage:o||`Input should be up to ${t} ${g0(t,"character")}`,severity:r}:{isValid:r0(this.value,e)&&n0(this.value,t),invalidMessage:o||`Input length should be between ${e} and ${t}`,severity:r}}validateRange(){const{minValue:e,maxValue:t,rangeInvalidMessage:o,rangeInvalidSeverity:r="error"}=this.validations;if(!(e===void 0&&t===void 0))return e!==void 0&&t===void 0?{isValid:i0(this.value,e),invalidMessage:o||`Input should be bigger than ${e}`,severity:r}:e===void 0&&t!==void 0?{isValid:s0(this.value,t),invalidMessage:o||`Input should be smaller than ${t}`,severity:r}:{isValid:i0(this.value,e)&&s0(this.value,t),invalidMessage:o||`Input should be between ${e} and ${t}`,severity:r}}validatePattern(){const{pattern:e,patternInvalidMessage:t,patternInvalidSeverity:o="error"}=this.validations;if(e)switch(e.toLowerCase()){case"email":return{isValid:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(this.value),invalidMessage:t||"Not a valid email address",severity:o};case"phone":return{isValid:/^[a-zA-Z0-9#*)(+.\-_&']+$/g.test(this.value),invalidMessage:t||"Not a valid phone number",severity:o};case"url":let r;try{r=new URL(this.value)}catch{}return!r||r.protocol&&!["http:","https:"].includes(r.protocol)?{isValid:!1,invalidMessage:"Not a valid URL",severity:o}:{isValid:!0,severity:"valid"};default:return console.warn("Unknown pattern provided"),{isValid:!0,severity:"valid"}}}validateRegex(){const{regex:e,regexInvalidMessage:t,regexInvalidSeverity:o="error"}=this.validations;if(e!==void 0)return{isValid:a9(this.value,e),invalidMessage:t||"Input is not in the correct format",severity:o}}async validateCustom(){if(!this.onValidate)return;const e=await this.onValidate(this.value);return typeof e=="boolean"?[{isValid:e,invalidMessage:"Invalid input",severity:"error"}]:QA.isArray(e)?e:[e]}}async function l0(A,e,t){return await new a0(A,e,t).validate()}function l9(A,e,t,o,r,n=0){const i=E.useDeferredValue(t),s=E.useMemo(()=>n!==0?H4(l0,n,{trailing:!0,leading:!0}):l0,[n]);E.useEffect(function(){const l=new a0(A,e,i);let c=!1;const B=l.preValidate();return c||(o(o0(r,B)),B.partial&&(async()=>{const Q=await s(A,e,i);c||o(o0(r,Q))})()),()=>{c=!0}},[r,i,o,e,s,A])}function g9(A,e,t,o="errorLate"){const r=Tt(I=>I.interactionFlags[A])||GA,n=r.forceShowValidationResult,i=r.focused,s=r.isValidLostFocus,a=r.isValidOnFocus,l=r.invalidToValid,c=!t||t.validatedValue!==e,B=r.isDirty,Q=(t==null?void 0:t.isValid)===!0;let u="none";for(const I of(t==null?void 0:t.validations)||[])if(!I.isValid&&(u!=="error"&&I.severity==="warning"&&(u="warning"),I.severity==="error")){u="error";break}let d=!1;switch(o){case"errorLate":d=B&&(i?!l&&!a:!s);break;case"onChanged":d=B;break;case"onLostFocus":d=B&&(!i&&!Q||!s&&!Q)}d=d||n;const[C,h]=E.useState(d);return C!==d&&!c&&h(d),c&&(d=C),{isHelperTextShown:d,validationStatus:d?u:"none"}}function Na(A){if(A!==void 0)return A==="error"||A==="warning"||A==="valid"||A==="none"?A:"none"}function c9(A){const e={error:[],warning:[],valid:[],none:[]};return Object.entries(A).forEach(([t,o])=>{o.validations.forEach(r=>{r.isValid||(e[r.severity]=e[r.severity]||[],e[r.severity].push(r))})}),e}function g0(A,e){return A===1?e:e+"s"}const eo={themeVars:`'{"Input:radius-TextBox-default": "var(--xmlui-radius-TextBox-default)", "Input:color-border-TextBox-default": "var(--xmlui-color-border-TextBox-default)", "Input:thickness-border-TextBox-default": "var(--xmlui-thickness-border-TextBox-default)", "Input:style-border-TextBox-default": "var(--xmlui-style-border-TextBox-default)", "Input:font-size-TextBox-default": "var(--xmlui-font-size-TextBox-default)", "Input:padding-TextBox-default": "var(--xmlui-padding-TextBox-default)", "Input:color-bg-TextBox-default": "var(--xmlui-color-bg-TextBox-default)", "Input:shadow-TextBox-default": "var(--xmlui-shadow-TextBox-default)", "Input:color-text-TextBox-default": "var(--xmlui-color-text-TextBox-default)", "Input:color-border-TextBox-default--hover": "var(--xmlui-color-border-TextBox-default--hover)", "Input:color-bg-TextBox-default--hover": "var(--xmlui-color-bg-TextBox-default--hover)", "Input:shadow-TextBox-default--hover": "var(--xmlui-shadow-TextBox-default--hover)", "Input:color-text-TextBox-default--hover": "var(--xmlui-color-text-TextBox-default--hover)", "Input:color-border-TextBox-default--focus": "var(--xmlui-color-border-TextBox-default--focus)", "Input:color-bg-TextBox-default--focus": "var(--xmlui-color-bg-TextBox-default--focus)", "Input:shadow-TextBox-default--focus": "var(--xmlui-shadow-TextBox-default--focus)", "Input:color-text-TextBox-default--focus": "var(--xmlui-color-text-TextBox-default--focus)", "Input:thickness-outline-TextBox-default--focus": "var(--xmlui-thickness-outline-TextBox-default--focus)", "Input:color-outline-TextBox-default--focus": "var(--xmlui-color-outline-TextBox-default--focus)", "Input:style-outline-TextBox-default--focus": "var(--xmlui-style-outline-TextBox-default--focus)", "Input:offset-outline-TextBox-default--focus": "var(--xmlui-offset-outline-TextBox-default--focus)", "Input:color-placeholder-TextBox-default": "var(--xmlui-color-placeholder-TextBox-default)", "Input:color-adornment-TextBox-default": "var(--xmlui-color-adornment-TextBox-default)", "Input:radius-TextBox-error": "var(--xmlui-radius-TextBox-error)", "Input:color-border-TextBox-error": "var(--xmlui-color-border-TextBox-error)", "Input:thickness-border-TextBox-error": "var(--xmlui-thickness-border-TextBox-error)", "Input:style-border-TextBox-error": "var(--xmlui-style-border-TextBox-error)", "Input:font-size-TextBox-error": "var(--xmlui-font-size-TextBox-error)", "Input:padding-TextBox-error": "var(--xmlui-padding-TextBox-error)", "Input:color-bg-TextBox-error": "var(--xmlui-color-bg-TextBox-error)", "Input:shadow-TextBox-error": "var(--xmlui-shadow-TextBox-error)", "Input:color-text-TextBox-error": "var(--xmlui-color-text-TextBox-error)", "Input:color-border-TextBox-error--hover": "var(--xmlui-color-border-TextBox-error--hover)", "Input:color-bg-TextBox-error--hover": "var(--xmlui-color-bg-TextBox-error--hover)", "Input:shadow-TextBox-error--hover": "var(--xmlui-shadow-TextBox-error--hover)", "Input:color-text-TextBox-error--hover": "var(--xmlui-color-text-TextBox-error--hover)", "Input:color-border-TextBox-error--focus": "var(--xmlui-color-border-TextBox-error--focus)", "Input:color-bg-TextBox-error--focus": "var(--xmlui-color-bg-TextBox-error--focus)", "Input:shadow-TextBox-error--focus": "var(--xmlui-shadow-TextBox-error--focus)", "Input:color-text-TextBox-error--focus": "var(--xmlui-color-text-TextBox-error--focus)", "Input:thickness-outline-TextBox-error--focus": "var(--xmlui-thickness-outline-TextBox-error--focus)", "Input:color-outline-TextBox-error--focus": "var(--xmlui-color-outline-TextBox-error--focus)", "Input:style-outline-TextBox-error--focus": "var(--xmlui-style-outline-TextBox-error--focus)", "Input:offset-outline-TextBox-error--focus": "var(--xmlui-offset-outline-TextBox-error--focus)", "Input:color-placeholder-TextBox-error": "var(--xmlui-color-placeholder-TextBox-error)", "Input:color-adornment-TextBox-error": "var(--xmlui-color-adornment-TextBox-error)", "Input:radius-TextBox-warning": "var(--xmlui-radius-TextBox-warning)", "Input:color-border-TextBox-warning": "var(--xmlui-color-border-TextBox-warning)", "Input:thickness-border-TextBox-warning": "var(--xmlui-thickness-border-TextBox-warning)", "Input:style-border-TextBox-warning": "var(--xmlui-style-border-TextBox-warning)", "Input:font-size-TextBox-warning": "var(--xmlui-font-size-TextBox-warning)", "Input:padding-TextBox-warning": "var(--xmlui-padding-TextBox-warning)", "Input:color-bg-TextBox-warning": "var(--xmlui-color-bg-TextBox-warning)", "Input:shadow-TextBox-warning": "var(--xmlui-shadow-TextBox-warning)", "Input:color-text-TextBox-warning": "var(--xmlui-color-text-TextBox-warning)", "Input:color-border-TextBox-warning--hover": "var(--xmlui-color-border-TextBox-warning--hover)", "Input:color-bg-TextBox-warning--hover": "var(--xmlui-color-bg-TextBox-warning--hover)", "Input:shadow-TextBox-warning--hover": "var(--xmlui-shadow-TextBox-warning--hover)", "Input:color-text-TextBox-warning--hover": "var(--xmlui-color-text-TextBox-warning--hover)", "Input:color-border-TextBox-warning--focus": "var(--xmlui-color-border-TextBox-warning--focus)", "Input:color-bg-TextBox-warning--focus": "var(--xmlui-color-bg-TextBox-warning--focus)", "Input:shadow-TextBox-warning--focus": "var(--xmlui-shadow-TextBox-warning--focus)", "Input:color-text-TextBox-warning--focus": "var(--xmlui-color-text-TextBox-warning--focus)", "Input:thickness-outline-TextBox-warning--focus": "var(--xmlui-thickness-outline-TextBox-warning--focus)", "Input:color-outline-TextBox-warning--focus": "var(--xmlui-color-outline-TextBox-warning--focus)", "Input:style-outline-TextBox-warning--focus": "var(--xmlui-style-outline-TextBox-warning--focus)", "Input:offset-outline-TextBox-warning--focus": "var(--xmlui-offset-outline-TextBox-warning--focus)", "Input:color-placeholder-TextBox-warning": "var(--xmlui-color-placeholder-TextBox-warning)", "Input:color-adornment-TextBox-warning": "var(--xmlui-color-adornment-TextBox-warning)", "Input:radius-TextBox-success": "var(--xmlui-radius-TextBox-success)", "Input:color-border-TextBox-success": "var(--xmlui-color-border-TextBox-success)", "Input:thickness-border-TextBox-success": "var(--xmlui-thickness-border-TextBox-success)", "Input:style-border-TextBox-success": "var(--xmlui-style-border-TextBox-success)", "Input:font-size-TextBox-success": "var(--xmlui-font-size-TextBox-success)", "Input:padding-TextBox-success": "var(--xmlui-padding-TextBox-success)", "Input:color-bg-TextBox-success": "var(--xmlui-color-bg-TextBox-success)", "Input:shadow-TextBox-success": "var(--xmlui-shadow-TextBox-success)", "Input:color-text-TextBox-success": "var(--xmlui-color-text-TextBox-success)", "Input:color-border-TextBox-success--hover": "var(--xmlui-color-border-TextBox-success--hover)", "Input:color-bg-TextBox-success--hover": "var(--xmlui-color-bg-TextBox-success--hover)", "Input:shadow-TextBox-success--hover": "var(--xmlui-shadow-TextBox-success--hover)", "Input:color-text-TextBox-success--hover": "var(--xmlui-color-text-TextBox-success--hover)", "Input:color-border-TextBox-success--focus": "var(--xmlui-color-border-TextBox-success--focus)", "Input:color-bg-TextBox-success--focus": "var(--xmlui-color-bg-TextBox-success--focus)", "Input:shadow-TextBox-success--focus": "var(--xmlui-shadow-TextBox-success--focus)", "Input:color-text-TextBox-success--focus": "var(--xmlui-color-text-TextBox-success--focus)", "Input:thickness-outline-TextBox-success--focus": "var(--xmlui-thickness-outline-TextBox-success--focus)", "Input:color-outline-TextBox-success--focus": "var(--xmlui-color-outline-TextBox-success--focus)", "Input:style-outline-TextBox-success--focus": "var(--xmlui-style-outline-TextBox-success--focus)", "Input:offset-outline-TextBox-success--focus": "var(--xmlui-offset-outline-TextBox-success--focus)", "Input:color-placeholder-TextBox-success": "var(--xmlui-color-placeholder-TextBox-success)", "Input:color-adornment-TextBox-success": "var(--xmlui-color-adornment-TextBox-success)", "Input:color-bg-TextBox--disabled": "var(--xmlui-color-bg-TextBox--disabled)", "Input:color-text-TextBox--disabled": "var(--xmlui-color-text-TextBox--disabled)", "Input:color-border-TextBox--disabled": "var(--xmlui-color-border-TextBox--disabled)"}'`,inputRoot:"_inputRoot_1s937_13",input:"_input_1s937_13",adornment:"_adornment_1s937_53",error:"_error_1s937_56",warning:"_warning_1s937_91",valid:"_valid_1s937_126",readOnly:"_readOnly_1s937_178"},B9={wrapper:"_wrapper_18f9r_13"};function _a({iconName:A,text:e,className:t}){return g.jsx(g.Fragment,{children:A||e?g.jsxs("div",{className:cA(B9.wrapper,t),children:[g.jsx(kA,{name:A,layout:{color:"inherit"}}),e&&g.jsx("div",{style:{display:"flex",userSelect:"none"},children:g.jsx(qe,{layout:{fontSize:"inherit"},children:e})})]}):null})}const Fa=({id:A,type:e="text",value:t="",updateState:o=vA,initialValue:r="",style:n,maxLength:i,enabled:s=!0,placeholder:a,validationStatus:l="none",onDidChange:c=vA,onFocus:B=vA,onBlur:Q=vA,registerComponentApi:u,startText:d,startIcon:C,endText:h,endIcon:I,autoFocus:p,readOnly:D,tabIndex:m,label:k,labelPosition:N,labelWidth:L,labelBreak:M,required:F})=>{const v=E.useRef(null);E.useEffect(()=>{p&&setTimeout(()=>{var S;(S=v.current)==null||S.focus()},0)},[p]);const[y,P]=E.useState(t);E.useEffect(()=>{P(t)},[t]),E.useEffect(()=>{o({value:r},{initial:!0})},[r,o]);const b=E.useCallback(S=>{P(S),o({value:S}),c(S)},[c,o]),_=E.useCallback(S=>{b(S.target.value)},[b]),q=E.useCallback(()=>{B==null||B()},[B]),J=E.useCallback(()=>{Q==null||Q()},[Q]),z=E.useCallback(()=>{var S;(S=v.current)==null||S.focus()},[]),T=HA(S=>{b(S)});return E.useEffect(()=>{u==null||u({focus:z,setValue:T})},[z,u,T]),g.jsx(ho,{labelPosition:N,label:k,labelWidth:L,labelBreak:M,required:F,enabled:s,onFocus:B,onBlur:Q,style:n,children:g.jsxs("div",{className:cA(eo.inputRoot,{[eo.disabled]:!s,[eo.readOnly]:D,[eo.error]:l==="error",[eo.warning]:l==="warning",[eo.valid]:l==="valid"}),tabIndex:-1,onFocus:()=>{var S;(S=v.current)==null||S.focus()},children:[g.jsx(_a,{text:d,iconName:C,className:eo.adornment}),g.jsx("input",{id:A,type:e,className:cA(eo.input,{[eo.readOnly]:D}),disabled:!s,value:y,maxLength:i,placeholder:a,onChange:_,onFocus:q,onBlur:J,ref:v,readOnly:D,autoFocus:p,tabIndex:m}),g.jsx(_a,{text:h,iconName:I,className:eo.adornment})]})})},La={themeVars:'"[]"',container:"_container_mle43_13",textBoxWrapper:"_textBoxWrapper_mle43_21",button:"_button_mle43_27"},{useDropzone:Q9}=DQ,c0=({id:A,enabled:e=!0,style:t,buttonLabel:o="Browse",buttonIcon:r,buttonIconPosition:n,variant:i,buttonThemeColor:s,buttonSize:a,autoFocus:l,validationStatus:c,updateState:B=vA,onDidChange:Q=vA,onFocus:u=vA,onBlur:d=vA,registerComponentApi:C,value:h,initialValue:I,acceptsFileType:p,multiple:D=!1,directory:m=!1,label:k,labelPosition:N,labelWidth:L,labelBreak:M,required:F})=>{const v=lc(I)?I:void 0,y=lc(h)?h:void 0,P=E.useRef(null),b=typeof p=="string"?p:p==null?void 0:p.join(",");E.useEffect(()=>{l&&setTimeout(()=>{var U;(U=P.current)==null||U.focus()},0)},[l]),E.useEffect(()=>{B({value:v},{initial:!0})},[v,B]);const _=E.useCallback(()=>{d==null||d()},[d]),q=E.useCallback(()=>{var U;(U=P.current)==null||U.focus()},[]),J=E.useCallback(U=>{U.length&&(B({value:U}),Q(U))},[B,Q]),{getRootProps:z,getInputProps:T,open:S}=Q9({disabled:!e,multiple:D||m,onDrop:J,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,useFsAccessApi:m===!1}),G=E.useCallback(()=>{u==null||u()},[u]),Y=HA(()=>{S()});return E.useEffect(()=>{C==null||C({focus:q,open:Y})},[q,Y,C]),g.jsx(ho,{labelPosition:N,label:k,labelWidth:L,labelBreak:M,required:F,enabled:e,onFocus:u,onBlur:d,style:t,children:g.jsxs("div",{className:La.container,children:[g.jsxs("button",{...z({tabIndex:0,onFocus:G,onBlur:_,disabled:!e,className:La.textBoxWrapper,onClick:S,ref:P,type:"button"}),children:[g.jsx(u4.Root,{children:g.jsx("input",{...T({webkitdirectory:m?"true":void 0}),accept:b})}),g.jsx(Fa,{enabled:e,value:(y==null?void 0:y.map(U=>U.name).join(", "))||"",validationStatus:c,readOnly:!0,tabIndex:-1})]}),g.jsx(Ce,{id:A,disabled:!e,type:"button",onClick:S,icon:r,iconPosition:n,variant:i,themeColor:s,size:a,className:La.button,autoFocus:l,children:o})]})})};function u9(A){return A instanceof File}function lc(A){return Array.isArray(A)&&A.every(u9)}const et={themeVars:`'{"Input:radius-NumberBox-default": "var(--xmlui-radius-NumberBox-default)", "Input:color-border-NumberBox-default": "var(--xmlui-color-border-NumberBox-default)", "Input:thickness-border-NumberBox-default": "var(--xmlui-thickness-border-NumberBox-default)", "Input:style-border-NumberBox-default": "var(--xmlui-style-border-NumberBox-default)", "Input:font-size-NumberBox-default": "var(--xmlui-font-size-NumberBox-default)", "Input:color-bg-NumberBox-default": "var(--xmlui-color-bg-NumberBox-default)", "Input:shadow-NumberBox-default": "var(--xmlui-shadow-NumberBox-default)", "Input:color-text-NumberBox-default": "var(--xmlui-color-text-NumberBox-default)", "Input:color-border-NumberBox-default--hover": "var(--xmlui-color-border-NumberBox-default--hover)", "Input:color-bg-NumberBox-default--hover": "var(--xmlui-color-bg-NumberBox-default--hover)", "Input:shadow-NumberBox-default--hover": "var(--xmlui-shadow-NumberBox-default--hover)", "Input:color-text-NumberBox-default--hover": "var(--xmlui-color-text-NumberBox-default--hover)", "Input:color-border-NumberBox-default--focus": "var(--xmlui-color-border-NumberBox-default--focus)", "Input:color-bg-NumberBox-default--focus": "var(--xmlui-color-bg-NumberBox-default--focus)", "Input:shadow-NumberBox-default--focus": "var(--xmlui-shadow-NumberBox-default--focus)", "Input:color-text-NumberBox-default--focus": "var(--xmlui-color-text-NumberBox-default--focus)", "Input:thickness-outline-NumberBox-default--focus": "var(--xmlui-thickness-outline-NumberBox-default--focus)", "Input:color-outline-NumberBox-default--focus": "var(--xmlui-color-outline-NumberBox-default--focus)", "Input:style-outline-NumberBox-default--focus": "var(--xmlui-style-outline-NumberBox-default--focus)", "Input:offset-outline-NumberBox-default--focus": "var(--xmlui-offset-outline-NumberBox-default--focus)", "Input:color-placeholder-NumberBox-default": "var(--xmlui-color-placeholder-NumberBox-default)", "Input:color-adornment-NumberBox-default": "var(--xmlui-color-adornment-NumberBox-default)", "Input:radius-NumberBox-error": "var(--xmlui-radius-NumberBox-error)", "Input:color-border-NumberBox-error": "var(--xmlui-color-border-NumberBox-error)", "Input:thickness-border-NumberBox-error": "var(--xmlui-thickness-border-NumberBox-error)", "Input:style-border-NumberBox-error": "var(--xmlui-style-border-NumberBox-error)", "Input:font-size-NumberBox-error": "var(--xmlui-font-size-NumberBox-error)", "Input:color-bg-NumberBox-error": "var(--xmlui-color-bg-NumberBox-error)", "Input:shadow-NumberBox-error": "var(--xmlui-shadow-NumberBox-error)", "Input:color-text-NumberBox-error": "var(--xmlui-color-text-NumberBox-error)", "Input:color-border-NumberBox-error--hover": "var(--xmlui-color-border-NumberBox-error--hover)", "Input:color-bg-NumberBox-error--hover": "var(--xmlui-color-bg-NumberBox-error--hover)", "Input:shadow-NumberBox-error--hover": "var(--xmlui-shadow-NumberBox-error--hover)", "Input:color-text-NumberBox-error--hover": "var(--xmlui-color-text-NumberBox-error--hover)", "Input:color-border-NumberBox-error--focus": "var(--xmlui-color-border-NumberBox-error--focus)", "Input:color-bg-NumberBox-error--focus": "var(--xmlui-color-bg-NumberBox-error--focus)", "Input:shadow-NumberBox-error--focus": "var(--xmlui-shadow-NumberBox-error--focus)", "Input:color-text-NumberBox-error--focus": "var(--xmlui-color-text-NumberBox-error--focus)", "Input:thickness-outline-NumberBox-error--focus": "var(--xmlui-thickness-outline-NumberBox-error--focus)", "Input:color-outline-NumberBox-error--focus": "var(--xmlui-color-outline-NumberBox-error--focus)", "Input:style-outline-NumberBox-error--focus": "var(--xmlui-style-outline-NumberBox-error--focus)", "Input:offset-outline-NumberBox-error--focus": "var(--xmlui-offset-outline-NumberBox-error--focus)", "Input:color-placeholder-NumberBox-error": "var(--xmlui-color-placeholder-NumberBox-error)", "Input:color-adornment-NumberBox-error": "var(--xmlui-color-adornment-NumberBox-error)", "Input:radius-NumberBox-warning": "var(--xmlui-radius-NumberBox-warning)", "Input:color-border-NumberBox-warning": "var(--xmlui-color-border-NumberBox-warning)", "Input:thickness-border-NumberBox-warning": "var(--xmlui-thickness-border-NumberBox-warning)", "Input:style-border-NumberBox-warning": "var(--xmlui-style-border-NumberBox-warning)", "Input:font-size-NumberBox-warning": "var(--xmlui-font-size-NumberBox-warning)", "Input:color-bg-NumberBox-warning": "var(--xmlui-color-bg-NumberBox-warning)", "Input:shadow-NumberBox-warning": "var(--xmlui-shadow-NumberBox-warning)", "Input:color-text-NumberBox-warning": "var(--xmlui-color-text-NumberBox-warning)", "Input:color-border-NumberBox-warning--hover": "var(--xmlui-color-border-NumberBox-warning--hover)", "Input:color-bg-NumberBox-warning--hover": "var(--xmlui-color-bg-NumberBox-warning--hover)", "Input:shadow-NumberBox-warning--hover": "var(--xmlui-shadow-NumberBox-warning--hover)", "Input:color-text-NumberBox-warning--hover": "var(--xmlui-color-text-NumberBox-warning--hover)", "Input:color-border-NumberBox-warning--focus": "var(--xmlui-color-border-NumberBox-warning--focus)", "Input:color-bg-NumberBox-warning--focus": "var(--xmlui-color-bg-NumberBox-warning--focus)", "Input:shadow-NumberBox-warning--focus": "var(--xmlui-shadow-NumberBox-warning--focus)", "Input:color-text-NumberBox-warning--focus": "var(--xmlui-color-text-NumberBox-warning--focus)", "Input:thickness-outline-NumberBox-warning--focus": "var(--xmlui-thickness-outline-NumberBox-warning--focus)", "Input:color-outline-NumberBox-warning--focus": "var(--xmlui-color-outline-NumberBox-warning--focus)", "Input:style-outline-NumberBox-warning--focus": "var(--xmlui-style-outline-NumberBox-warning--focus)", "Input:offset-outline-NumberBox-warning--focus": "var(--xmlui-offset-outline-NumberBox-warning--focus)", "Input:color-placeholder-NumberBox-warning": "var(--xmlui-color-placeholder-NumberBox-warning)", "Input:color-adornment-NumberBox-warning": "var(--xmlui-color-adornment-NumberBox-warning)", "Input:radius-NumberBox-success": "var(--xmlui-radius-NumberBox-success)", "Input:color-border-NumberBox-success": "var(--xmlui-color-border-NumberBox-success)", "Input:thickness-border-NumberBox-success": "var(--xmlui-thickness-border-NumberBox-success)", "Input:style-border-NumberBox-success": "var(--xmlui-style-border-NumberBox-success)", "Input:font-size-NumberBox-success": "var(--xmlui-font-size-NumberBox-success)", "Input:color-bg-NumberBox-success": "var(--xmlui-color-bg-NumberBox-success)", "Input:shadow-NumberBox-success": "var(--xmlui-shadow-NumberBox-success)", "Input:color-text-NumberBox-success": "var(--xmlui-color-text-NumberBox-success)", "Input:color-border-NumberBox-success--hover": "var(--xmlui-color-border-NumberBox-success--hover)", "Input:color-bg-NumberBox-success--hover": "var(--xmlui-color-bg-NumberBox-success--hover)", "Input:shadow-NumberBox-success--hover": "var(--xmlui-shadow-NumberBox-success--hover)", "Input:color-text-NumberBox-success--hover": "var(--xmlui-color-text-NumberBox-success--hover)", "Input:color-border-NumberBox-success--focus": "var(--xmlui-color-border-NumberBox-success--focus)", "Input:color-bg-NumberBox-success--focus": "var(--xmlui-color-bg-NumberBox-success--focus)", "Input:shadow-NumberBox-success--focus": "var(--xmlui-shadow-NumberBox-success--focus)", "Input:color-text-NumberBox-success--focus": "var(--xmlui-color-text-NumberBox-success--focus)", "Input:thickness-outline-NumberBox-success--focus": "var(--xmlui-thickness-outline-NumberBox-success--focus)", "Input:color-outline-NumberBox-success--focus": "var(--xmlui-color-outline-NumberBox-success--focus)", "Input:style-outline-NumberBox-success--focus": "var(--xmlui-style-outline-NumberBox-success--focus)", "Input:offset-outline-NumberBox-success--focus": "var(--xmlui-offset-outline-NumberBox-success--focus)", "Input:color-placeholder-NumberBox-success": "var(--xmlui-color-placeholder-NumberBox-success)", "Input:color-adornment-NumberBox-success": "var(--xmlui-color-adornment-NumberBox-success)", "Input:color-bg-NumberBox--disabled": "var(--xmlui-color-bg-NumberBox--disabled)", "Input:color-text-NumberBox--disabled": "var(--xmlui-color-text-NumberBox--disabled)", "Input:color-border-NumberBox--disabled": "var(--xmlui-color-border-NumberBox--disabled)"}'`,inputRoot:"_inputRoot_zavgy_13",input:"_input_zavgy_13",adornment:"_adornment_zavgy_53",error:"_error_zavgy_56",warning:"_warning_zavgy_90",valid:"_valid_zavgy_124",spinnerBox:"_spinnerBox_zavgy_184",spinnerButton:"_spinnerButton_zavgy_191",readOnly:"_readOnly_zavgy_197"},Sa=999999999999999,gc=".",Pa="e",E9=/^-?\d+$/,d9=/^-?\d+(\.\d+)?([eE][+-]?\d+)?$/,C9=1,B0=({id:A,value:e,initialValue:t,style:o,enabled:r=!0,placeholder:n,validationStatus:i="none",hasSpinBox:s=!0,step:a,integersOnly:l=!1,zeroOrPositive:c=!1,min:B=c?0:-Sa,max:Q=Sa,maxLength:u,updateState:d=vA,onDidChange:C=vA,onFocus:h=vA,onBlur:I=vA,registerComponentApi:p,startText:D,startIcon:m,endText:k,endIcon:N,autoFocus:L,readOnly:M,required:F,label:v,labelPosition:y,labelWidth:P,labelBreak:b})=>{B=Math.max(c?0:-Sa,B);const _=u0(a,!0)??C9,q=E.useRef(null),J=E.useRef(null),z=E.useRef(null);E.useEffect(()=>{L&&setTimeout(()=>{var W;(W=q.current)==null||W.focus()},0)},[L]);const[T,S]=E.useState(cc(e));E.useEffect(()=>{S(cc(e))},[e]),E.useEffect(()=>{d({value:t},{initial:!0})},[t,d]);const G=E.useCallback((W,$)=>{S($),d({value:W}),C(W)},[C,d]),Y=E.useCallback(W=>{const $=W.target.value;G($,$)},[G]),U=E.useCallback(()=>{if(M)return;const W=Q0(T,_,B,Q,l);W!==void 0&&G(W,W.toString())},[T,_,B,Q,l,G,M]),V=E.useCallback(()=>{if(M)return;const W=Q0(T,-_,B,Q,l);W!==void 0&&G(W,W.toString())},[T,_,B,Q,l,G,M]);d0(J.current,U),d0(z.current,V);const tA=W=>{var JA;let $=!1;const rA=W.target.value??"",dA=W.target.selectionStart,sA=rA.substring(0,W.target.selectionStart).indexOf(Pa);switch(W.data){case"-":$=!0,sA===-1?rA.startsWith("-")||FA("-"+rA,dA+1):rA[sA+1]!=="-"&&FA(rA.substring(0,sA+1)+"-"+rA.substring(sA+1),dA+1);break;case"+":$=!0,sA===-1?rA.startsWith("-")&&FA(rA.substring(1),dA-1):rA[sA+1]==="-"&&FA(rA.substring(0,sA+1)+rA.substring(sA+2),dA-1);break;case gc:(l||rA.includes(gc)||sA!==-1)&&($=!0);break;case Pa:if(l){$=!0;break}(rA.includes(Pa)||yA(dA,2))&&($=!0);break;default:let XA=W.data;const ZA=W.target.selectionStart;if(((JA=W.data)==null?void 0:JA.length)>0){if(XA.startsWith("-")){if(ZA>0){$=!0;break}}else if(XA.startsWith("+")){$=!0;break}const UA=rA.substring(0,ZA)+XA+rA.substring(W.target.selectionEnd);l&&!E9.test(UA)?$=!0:d9.test(UA)||($=!0);break}if(W.data<"0"||W.data>"9"){$=!0;break}if(rA.startsWith("-")&&ZA===0){$=!0;break}sA!==-1&&yA(sA+1,1)&&($=!0);break}$&&W.preventDefault();return;function yA(XA,ZA){let UA=0;for(;XA<rA.length;)if(/\d/.test(rA[XA++]))UA++;else{UA=ZA+1;break}return UA>ZA}function FA(XA,ZA){var UA;W.target.value=XA,G(XA,XA),(UA=q.current)==null||UA.setSelectionRange(ZA,ZA)}},uA=E.useCallback(W=>{W.code==="ArrowUp"&&(W.preventDefault(),U()),W.code==="ArrowDown"&&(W.preventDefault(),V())},[U,V]),EA=E.useCallback(()=>{h==null||h()},[h]),hA=E.useCallback(()=>{S(cc(e)),I==null||I()},[e,I]),eA=E.useCallback(()=>{var W;(W=q.current)==null||W.focus()},[]),oA=HA(W=>{G(W,E0(W)?"":String(W))});return E.useEffect(()=>{p==null||p({focus:eA,setValue:oA})},[eA,p,oA]),g.jsx(ho,{labelPosition:y,label:v,labelWidth:P,labelBreak:b,required:F,enabled:r,onFocus:h,onBlur:I,style:o,children:g.jsxs("div",{className:cA(et.inputRoot,{[et.readOnly]:M,[et.disabled]:!r,[et.noSpinBox]:!s,[et.error]:i==="error",[et.warning]:i==="warning",[et.valid]:i==="valid"}),tabIndex:-1,onFocus:()=>{var W;(W=q.current)==null||W.focus()},children:[g.jsx(_a,{text:D,iconName:m,className:et.adornment}),g.jsx("input",{id:A,type:"text",inputMode:"numeric",className:cA(et.input,{[et.readOnly]:M}),disabled:!r,value:T,step:a,placeholder:n,onChange:Y,onFocus:EA,onBlur:hA,onBeforeInput:tA,onKeyDown:uA,readOnly:M,ref:q,autoFocus:L,maxLength:u}),g.jsx(_a,{text:k,iconName:N,className:et.adornment}),s&&g.jsxs("div",{className:et.spinnerBox,children:[g.jsx(Ce,{type:"button",variant:"ghost",themeColor:"secondary",tabIndex:-1,className:et.spinnerButton,disabled:!r,ref:J,children:g.jsx(kA,{name:"chevronup",size:"sm"})}),g.jsx(Ce,{type:"button",tabIndex:-1,variant:"ghost",themeColor:"secondary",className:et.spinnerButton,disabled:!r,ref:z,children:g.jsx(kA,{name:"chevrondown",size:"sm"})})]})]})})};function Q0(A,e,t,o,r){const n=u0(A,r);return E0(n)?void 0:w9(n+e,t,o)}function h9(A){return typeof A=="string"&&A.length>0?!Number.isNaN(+A)&&I9(A):typeof A=="number"}function I9(A){const e=A.split(".")[0];return Math.abs(Number.parseInt(e))<=Sa}function p9(A){return typeof A=="string"&&A.length>0&&![Pa,gc].some(e=>A.includes(e))?Number.isSafeInteger(+A):typeof A=="number"?Number.isSafeInteger(A):!1}function u0(A,e=!1){return(e?p9:h9)(A)?(typeof A=="string"&&(A=e?Number.parseInt(A):+A),A):null}function cc(A){return typeof A=="string"?A:typeof A=="number"?A.toString():""}function w9(A,e,t){let o=A;return A<e&&(o=e),A>t&&(o=t),o}function E0(A){return typeof A>"u"||A===null||A===""}function d0(A,e,t=500){const o=E.useRef(0),r=E.useRef(0),n=E.useRef(e);E.useEffect(()=>{n.current=e},[e]),E.useEffect(()=>{const i=()=>{var l;(l=n.current)==null||l.call(n),o.current=window.setTimeout(()=>{r.current=window.setInterval(()=>{var c;(c=n.current)==null||c.call(n)},100)},t)},s=()=>{clearTimeout(o.current),clearInterval(r.current)},a=()=>{clearTimeout(o.current),clearInterval(r.current)};return A==null||A.addEventListener("mousedown",i),A==null||A.addEventListener("mouseup",s),A==null||A.addEventListener("mouseout",a),()=>{A==null||A.removeEventListener("mousedown",i),A==null||A.removeEventListener("mouseup",s),A==null||A.removeEventListener("mouseout",a)}},[A,e,t])}const C0=E.createContext(null);function h0(){return E.useContext(C0)}const te={themeVars:`'{"Input:font-size-Select-default": "var(--xmlui-font-size-Select-default)", "Input:color-placeholder-Select-default": "var(--xmlui-color-placeholder-Select-default)", "Input:color-text-Select-default": "var(--xmlui-color-text-Select-default)", "Input:font-size-Select-error": "var(--xmlui-font-size-Select-error)", "Input:color-placeholder-Select-error": "var(--xmlui-color-placeholder-Select-error)", "Input:color-text-Select-error": "var(--xmlui-color-text-Select-error)", "Input:font-size-Select-warning": "var(--xmlui-font-size-Select-warning)", "Input:color-placeholder-Select-warning": "var(--xmlui-color-placeholder-Select-warning)", "Input:color-text-Select-warning": "var(--xmlui-color-text-Select-warning)", "Input:font-size-Select-success": "var(--xmlui-font-size-Select-success)", "Input:color-placeholder-Select-success": "var(--xmlui-color-placeholder-Select-success)", "Input:color-text-Select-success": "var(--xmlui-color-text-Select-success)", "Input:radius-Select-default": "var(--xmlui-radius-Select-default)", "Input:color-border-Select-default": "var(--xmlui-color-border-Select-default)", "Input:thickness-border-Select-default": "var(--xmlui-thickness-border-Select-default)", "Input:style-border-Select-default": "var(--xmlui-style-border-Select-default)", "Input:color-bg-Select-default": "var(--xmlui-color-bg-Select-default)", "Input:shadow-Select-default": "var(--xmlui-shadow-Select-default)", "Input:color-border-Select-default--hover": "var(--xmlui-color-border-Select-default--hover)", "Input:color-bg-Select-default--hover": "var(--xmlui-color-bg-Select-default--hover)", "Input:shadow-Select-default--hover": "var(--xmlui-shadow-Select-default--hover)", "Input:color-text-Select-default--hover": "var(--xmlui-color-text-Select-default--hover)", "Input:thickness-outline-Select-default--focus": "var(--xmlui-thickness-outline-Select-default--focus)", "Input:color-outline-Select-default--focus": "var(--xmlui-color-outline-Select-default--focus)", "Input:style-outline-Select-default--focus": "var(--xmlui-style-outline-Select-default--focus)", "Input:offset-outline-Select-default--focus": "var(--xmlui-offset-outline-Select-default--focus)", "Input:radius-Select-error": "var(--xmlui-radius-Select-error)", "Input:color-border-Select-error": "var(--xmlui-color-border-Select-error)", "Input:thickness-border-Select-error": "var(--xmlui-thickness-border-Select-error)", "Input:style-border-Select-error": "var(--xmlui-style-border-Select-error)", "Input:color-bg-Select-error": "var(--xmlui-color-bg-Select-error)", "Input:shadow-Select-error": "var(--xmlui-shadow-Select-error)", "Input:color-border-Select-error--hover": "var(--xmlui-color-border-Select-error--hover)", "Input:color-bg-Select-error--hover": "var(--xmlui-color-bg-Select-error--hover)", "Input:shadow-Select-error--hover": "var(--xmlui-shadow-Select-error--hover)", "Input:color-text-Select-error--hover": "var(--xmlui-color-text-Select-error--hover)", "Input:thickness-outline-Select-error--focus": "var(--xmlui-thickness-outline-Select-error--focus)", "Input:color-outline-Select-error--focus": "var(--xmlui-color-outline-Select-error--focus)", "Input:style-outline-Select-error--focus": "var(--xmlui-style-outline-Select-error--focus)", "Input:offset-outline-Select-error--focus": "var(--xmlui-offset-outline-Select-error--focus)", "Input:radius-Select-warning": "var(--xmlui-radius-Select-warning)", "Input:color-border-Select-warning": "var(--xmlui-color-border-Select-warning)", "Input:thickness-border-Select-warning": "var(--xmlui-thickness-border-Select-warning)", "Input:style-border-Select-warning": "var(--xmlui-style-border-Select-warning)", "Input:color-bg-Select-warning": "var(--xmlui-color-bg-Select-warning)", "Input:shadow-Select-warning": "var(--xmlui-shadow-Select-warning)", "Input:color-border-Select-warning--hover": "var(--xmlui-color-border-Select-warning--hover)", "Input:color-bg-Select-warning--hover": "var(--xmlui-color-bg-Select-warning--hover)", "Input:shadow-Select-warning--hover": "var(--xmlui-shadow-Select-warning--hover)", "Input:color-text-Select-warning--hover": "var(--xmlui-color-text-Select-warning--hover)", "Input:thickness-outline-Select-warning--focus": "var(--xmlui-thickness-outline-Select-warning--focus)", "Input:color-outline-Select-warning--focus": "var(--xmlui-color-outline-Select-warning--focus)", "Input:style-outline-Select-warning--focus": "var(--xmlui-style-outline-Select-warning--focus)", "Input:offset-outline-Select-warning--focus": "var(--xmlui-offset-outline-Select-warning--focus)", "Input:radius-Select-success": "var(--xmlui-radius-Select-success)", "Input:color-border-Select-success": "var(--xmlui-color-border-Select-success)", "Input:thickness-border-Select-success": "var(--xmlui-thickness-border-Select-success)", "Input:style-border-Select-success": "var(--xmlui-style-border-Select-success)", "Input:color-bg-Select-success": "var(--xmlui-color-bg-Select-success)", "Input:shadow-Select-success": "var(--xmlui-shadow-Select-success)", "Input:color-border-Select-success--hover": "var(--xmlui-color-border-Select-success--hover)", "Input:color-bg-Select-success--hover": "var(--xmlui-color-bg-Select-success--hover)", "Input:shadow-Select-success--hover": "var(--xmlui-shadow-Select-success--hover)", "Input:color-text-Select-success--hover": "var(--xmlui-color-text-Select-success--hover)", "Input:thickness-outline-Select-success--focus": "var(--xmlui-thickness-outline-Select-success--focus)", "Input:color-outline-Select-success--focus": "var(--xmlui-color-outline-Select-success--focus)", "Input:style-outline-Select-success--focus": "var(--xmlui-style-outline-Select-success--focus)", "Input:offset-outline-Select-success--focus": "var(--xmlui-offset-outline-Select-success--focus)", "opacity-Select--disabled": "var(--xmlui-opacity-Select--disabled)", "Input:color-bg-Select--disabled": "var(--xmlui-color-bg-Select--disabled)", "Input:color-text-Select--disabled": "var(--xmlui-color-text-Select--disabled)", "Input:color-border-Select--disabled": "var(--xmlui-color-border-Select--disabled)", "padding-vertical-Select-badge": "var(--xmlui-padding-vertical-Select-badge)", "padding-horizontal-Select-badge": "var(--xmlui-padding-horizontal-Select-badge)", "Input:font-size-Select-badge": "var(--xmlui-font-size-Select-badge)", "Input:color-bg-Select-badge": "var(--xmlui-color-bg-Select-badge)", "Input:color-text-Select-badge": "var(--xmlui-color-text-Select-badge)", "Input:color-bg-Select-badge--hover": "var(--xmlui-color-bg-Select-badge--hover)", "Input:color-text-Select-badge--hover": "var(--xmlui-color-text-Select-badge--hover)", "Input:color-bg-Select-badge--active": "var(--xmlui-color-bg-Select-badge--active)", "Input:color-text-Select-badge--active": "var(--xmlui-color-text-Select-badge--active)", "Input:color-placeholder-Select": "var(--xmlui-color-placeholder-Select)", "Input:color-bg-menu-Select": "var(--xmlui-color-bg-menu-Select)", "Input:radius-menu-Select": "var(--xmlui-radius-menu-Select)", "Input:shadow-menu-Select": "var(--xmlui-shadow-menu-Select)", "Input:thickness-border-menu-Select": "var(--xmlui-thickness-border-menu-Select)", "Input:color-border-menu-Select": "var(--xmlui-color-border-menu-Select)", "color-bg-item-Select": "var(--xmlui-color-bg-item-Select)", "color-bg-item-Select--hover": "var(--xmlui-color-bg-item-Select--hover)", "opacity-text-item-Select--disabled": "var(--xmlui-opacity-text-item-Select--disabled)", "font-size-Select": "var(--xmlui-font-size-Select)", "color-bg-item-Select--active": "var(--xmlui-color-bg-item-Select--active)", "color-text-indicator-Select": "var(--xmlui-color-text-indicator-Select)"}'`,selectValue:"_selectValue_z2kxg_13",error:"_error_z2kxg_21",warning:"_warning_z2kxg_29",valid:"_valid_z2kxg_37",selectTrigger:"_selectTrigger_z2kxg_46",badgeListContainer:"_badgeListContainer_z2kxg_170",badgeList:"_badgeList_z2kxg_170",badge:"_badge_z2kxg_170",actions:"_actions_z2kxg_210",placeholder:"_placeholder_z2kxg_216",emptyList:"_emptyList_z2kxg_221",selectScrollUpButton:"_selectScrollUpButton_z2kxg_231",selectScrollDownButton:"_selectScrollDownButton_z2kxg_240",command:"_command_z2kxg_249",commandInputContainer:"_commandInputContainer_z2kxg_259",commandInput:"_commandInput_z2kxg_259",commandList:"_commandList_z2kxg_284",selectContent:"_selectContent_z2kxg_289",fadeIn:"_fadeIn_z2kxg_1",zoomIn:"_zoomIn_z2kxg_1",fadeOut:"_fadeOut_z2kxg_1",zoomOut:"_zoomOut_z2kxg_1",slideInFromTop:"_slideInFromTop_z2kxg_1",slideInFromRight:"_slideInFromRight_z2kxg_1",slideInFromLeft:"_slideInFromLeft_z2kxg_1",slideInFromBottom:"_slideInFromBottom_z2kxg_1",multiComboboxOption:"_multiComboboxOption_z2kxg_329",selectItem:"_selectItem_z2kxg_349",selectItemIndicator:"_selectItemIndicator_z2kxg_377",selectViewport:"_selectViewport_z2kxg_388",selectEmpty:"_selectEmpty_z2kxg_394",srOnly:"_srOnly_z2kxg_405"},I0=E.createContext(null);function f9(){return E.useContext(I0)}function Ta({children:A,Component:e}){return g.jsx(I0.Provider,{value:e,children:A})}const Bc=E.createContext({onOptionAdd:()=>{},onOptionRemove:()=>{}});function Qc(){return E.useContext(Bc)}function D9(A){const{root:e}=ce(),{enabled:t,onBlur:o,autoFocus:r,onValueChange:n,validationStatus:i,children:s,value:a,height:l,style:c,placeholder:B,id:Q,triggerRef:u,onFocus:d,options:C}=A,h=a+"",I=E.useCallback(p=>{var m;const D=(m=Array.from(C.values()).find(k=>k.value+""===p))==null?void 0:m.value;n(D)},[n,C]);return g.jsx(Ta,{Component:f0,children:g.jsxs(Mt.Root,{value:h,onValueChange:I,children:[g.jsxs(Mt.Trigger,{id:Q,style:c,onFocus:d,onBlur:o,disabled:!t,className:Ge(te.selectTrigger,te[i]),ref:u,autoFocus:r,children:[g.jsx("div",{className:te.selectValue,children:g.jsx(Mt.Value,{placeholder:B})}),g.jsx(Mt.Icon,{asChild:!0,children:g.jsx(kA,{name:"chevrondown"})})]}),g.jsx(Mt.Portal,{container:e,children:g.jsxs(Mt.Content,{className:te.selectContent,position:"popper",style:{height:l},children:[g.jsx(Mt.ScrollUpButton,{className:te.selectScrollUpButton,children:g.jsx(kA,{name:"chevronup"})}),g.jsx(Mt.Viewport,{className:Ge(te.selectViewport),children:s}),g.jsx(Mt.ScrollDownButton,{className:te.selectScrollDownButton,children:g.jsx(kA,{name:"chevrondown"})})]})})]})})}function p0({id:A,initialValue:e,value:t,enabled:o=!0,placeholder:r,updateState:n=vA,validationStatus:i="none",onDidChange:s=vA,onFocus:a=vA,onBlur:l=vA,registerComponentApi:c,emptyListTemplate:B,optionLabelRenderer:Q,valueRenderer:u,layout:d,dropdownHeight:C,children:h,autoFocus:I=!1,searchable:p=!1,multiSelect:D=!1,label:m,labelPosition:k,labelWidth:N,labelBreak:L,required:M=!1}){var eA;const[F,v]=E.useState(null),[y,P]=E.useState(!1),[b,_]=E.useState(0),q=E.useRef(),{root:J}=ce(),[z,T]=E.useState(new Set);E.useEffect(()=>{e!==void 0&&n({value:e},{initial:!0})},[e,n]),E.useEffect(()=>{var W;const oA=F;return(W=q.current)==null||W.disconnect(),oA&&(q.current=new ResizeObserver(()=>_(oA.clientWidth)),q.current.observe(oA)),()=>{var $;($=q.current)==null||$.disconnect()}},[F]);const S=E.useCallback(oA=>{const W=D?Array.isArray(t)?t.includes(oA)?t.filter($=>$!==oA):[...t,oA]:[oA]:oA===t?null:oA;n({value:W}),s(W),P(!1)},[D,t,n,s]),G=E.useCallback(()=>{const oA=D?[]:"";n({value:oA}),s(oA)},[D,n,s]),Y=E.useCallback(()=>{F==null||F.focus()},[F]),U=HA(oA=>{S(oA)});E.useEffect(()=>{c==null||c({focus:Y,setValue:U})},[Y,c,U]);const V=E.useMemo(()=>B??g.jsxs("div",{className:te.selectEmpty,children:[g.jsx(kA,{name:"noresult"}),g.jsx("span",{children:"List is empty"})]}),[B]),tA=E.useCallback(oA=>{T(W=>new Set(W).add(oA))},[]),uA=E.useCallback(oA=>{T(W=>{const $=new Set(W);return $.delete(oA),$})},[]),EA=E.useMemo(()=>({onOptionAdd:tA,onOptionRemove:uA}),[tA,uA]),hA=E.useMemo(()=>({multiSelect:D,value:t,optionLabelRenderer:Q,onChange:S}),[D,S,t,Q]);return g.jsx(C0.Provider,{value:hA,children:g.jsx(Bc.Provider,{value:EA,children:p||D?g.jsxs(Ta,{Component:w0,children:[h,g.jsx(ho,{labelPosition:k,label:m,labelWidth:N,labelBreak:L,required:M,enabled:o,onFocus:a,onBlur:l,style:d,children:g.jsxs(_s.Popover,{open:y,onOpenChange:P,modal:!1,children:[g.jsx(_s.PopoverTrigger,{asChild:!0,children:g.jsxs("button",{id:A,ref:v,onFocus:a,onBlur:l,disabled:!o,"aria-expanded":y,onClick:()=>P(oA=>!oA),className:Ge(te.selectTrigger,te[i],{[te.disabled]:!o,[te.multi]:D}),autoFocus:I,children:[D?Array.isArray(t)&&t.length>0?g.jsx("div",{className:te.badgeListContainer,children:g.jsx("div",{className:te.badgeList,children:t.map(oA=>{var W;return u?u(Array.from(z).find($=>$.value===oA),()=>{S(oA)}):g.jsxs("span",{className:te.badge,children:[(W=Array.from(z).find($=>$.value===oA))==null?void 0:W.label,g.jsx(kA,{name:"close",size:"sm",onClick:$=>{$.stopPropagation(),S(oA)}})]},oA)})})}):g.jsx("span",{className:te.placeholder,children:r||""}):t!=null?g.jsx("div",{children:(eA=Array.from(z).find(oA=>oA.value===t))==null?void 0:eA.label}):g.jsx("span",{className:te.placeholder,children:r||""}),g.jsxs("div",{className:te.actions,children:[D&&Array.isArray(t)&&t.length>0&&g.jsx(kA,{name:"close",onClick:oA=>{oA.stopPropagation(),G()}}),g.jsx(kA,{name:"chevrondown"})]})]})}),g.jsx(_s.Portal,{container:J,children:g.jsx(_s.PopoverContent,{style:{width:b,height:C},className:te.selectContent,children:g.jsxs(pt.Command,{className:te.command,shouldFilter:p,filter:(oA,W,$)=>(oA+" "+$.join(" ")).toLowerCase().includes(W.toLowerCase())?1:0,children:[p?g.jsxs("div",{className:te.commandInputContainer,children:[g.jsx(kA,{name:"search"}),g.jsx(pt.CommandInput,{className:Ge(te.commandInput),placeholder:"Search..."})]}):g.jsx("button",{autoFocus:!0,"aria-hidden":"true",className:te.srOnly}),g.jsxs(pt.CommandList,{className:te.commandList,children:[Array.from(z).map(({value:oA,label:W,enabled:$,keywords:rA})=>g.jsx(m9,{value:oA,label:W,enabled:$,keywords:rA},oA)),g.jsx(pt.CommandEmpty,{children:V})]})]})})})]})})]}):g.jsx(D9,{value:t,options:z,onValueChange:S,id:A,style:d,onFocus:a,onBlur:l,enabled:o,validationStatus:i,triggerRef:v,autoFocus:I,placeholder:r,height:C,children:h||V})})})}const m9=A=>{const e=E.useId(),{label:t,value:o,enabled:r=!0,keywords:n}=A,{value:i,onChange:s,multi:a,optionLabelRenderer:l}=h0(),c=Array.isArray(i)&&a?i.includes(o):i===o;return g.jsxs(pt.CommandItem,{id:e,disabled:!r,value:o,className:te.multiComboboxOption,onSelect:()=>{s(o)},"data-state":c?"checked":void 0,keywords:n,children:[l?l({label:t,value:o}):t,c&&g.jsx(kA,{name:"checkmark"})]},e)};function w0(A){const{onOptionRemove:e,onOptionAdd:t}=Qc(),[o,r]=E.useState(null),n=E.useMemo(()=>({...A,labelText:(o==null?void 0:o.textContent)??"",keywords:[(o==null?void 0:o.textContent)??""]}),[A,o]);return E.useEffect(()=>(t(n),()=>e(n)),[n,t,e]),g.jsx("div",{ref:i=>r(i),style:{display:"none"},children:A.label})}const f0=E.forwardRef((A,e)=>{const{value:t,label:o,enabled:r=!0}=A,{onOptionRemove:n,onOptionAdd:i}=Qc(),{optionLabelRenderer:s}=h0();return E.useLayoutEffect(()=>(i(A),()=>n(A)),[A,i,n]),g.jsxs(Mt.Item,{ref:e,className:te.selectItem,value:t+"",disabled:!r,children:[g.jsx(Mt.ItemText,{children:s?s({value:t,label:o}):o}),g.jsx("span",{className:te.selectItemIndicator,children:g.jsx(Mt.ItemIndicator,{children:g.jsx(kA,{name:"checkmark"})})})]})});f0.displayName="SelectOption";const Ht={themeVars:`'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Input:color-bg-RadioGroupOption-default": "var(--xmlui-color-bg-RadioGroupOption-default)", "thickness-border-RadioGroupOption": "var(--xmlui-thickness-border-RadioGroupOption)", "Input:color-border-RadioGroupOption-default": "var(--xmlui-color-border-RadioGroupOption-default)", "Input:color-border-RadioGroupOption-default--hover": "var(--xmlui-color-border-RadioGroupOption-default--hover)", "Input:color-border-RadioGroupOption-default--active": "var(--xmlui-color-border-RadioGroupOption-default--active)", "Input:color-border-RadioGroupOption--disabled": "var(--xmlui-color-border-RadioGroupOption--disabled)", "Input:color-text-RadioGroupOption--disabled": "var(--xmlui-color-text-RadioGroupOption--disabled)", "Input:color-border-RadioGroupOption-error": "var(--xmlui-color-border-RadioGroupOption-error)", "Input:color-border-RadioGroupOption-warning": "var(--xmlui-color-border-RadioGroupOption-warning)", "Input:color-border-RadioGroupOption-success": "var(--xmlui-color-border-RadioGroupOption-success)", "color-bg-checked-RadioGroupOption-default": "var(--xmlui-color-bg-checked-RadioGroupOption-default)", "color-bg-checked-RadioGroupOption--disabled": "var(--xmlui-color-bg-checked-RadioGroupOption--disabled)", "color-bg-checked-RadioGroupOption-error": "var(--xmlui-color-bg-checked-RadioGroupOption-error)", "color-bg-checked-RadioGroupOption-warning": "var(--xmlui-color-bg-checked-RadioGroupOption-warning)", "color-bg-checked-RadioGroupOption-success": "var(--xmlui-color-bg-checked-RadioGroupOption-success)", "Input:font-size-RadioGroupOption": "var(--xmlui-font-size-RadioGroupOption)", "Input:font-weight-RadioGroupOption": "var(--xmlui-font-weight-RadioGroupOption)", "Input:color-text-RadioGroupOption-default": "var(--xmlui-color-text-RadioGroupOption-default)", "Input:color-text-RadioGroupOption-error": "var(--xmlui-color-text-RadioGroupOption-error)", "Input:color-text-RadioGroupOption-warning": "var(--xmlui-color-text-RadioGroupOption-warning)", "Input:color-text-RadioGroupOption-success": "var(--xmlui-color-text-RadioGroupOption-success)", "Input:thickness-outline-RadioGroupOption--focus": "var(--xmlui-thickness-outline-RadioGroupOption--focus)", "Input:color-outline-RadioGroupOption--focus": "var(--xmlui-color-outline-RadioGroupOption--focus)", "Input:style-outline-RadioGroupOption--focus": "var(--xmlui-style-outline-RadioGroupOption--focus)", "Input:offset-outline-RadioGroupOption--focus": "var(--xmlui-offset-outline-RadioGroupOption--focus)"}'`,radioGroupContainer:"_radioGroupContainer_1wu5b_13",radioOptionContainer:"_radioOptionContainer_1wu5b_20",radioOption:"_radioOption_1wu5b_20",error:"_error_1wu5b_55",warning:"_warning_1wu5b_58",valid:"_valid_1wu5b_61",indicator:"_indicator_1wu5b_65",disabled:"_disabled_1wu5b_78",label:"_label_1wu5b_91"},D0=E.createContext({status:"none"}),uc=({id:A,value:e="",initialValue:t="",enabled:o=!0,validationStatus:r="none",label:n,labelPosition:i,labelWidth:s,labelBreak:a,required:l=!1,updateState:c=vA,onDidChange:B=vA,onFocus:Q=vA,onBlur:u=vA,children:d,registerComponentApi:C})=>{const[h,I]=E.useState(!1);E.useEffect(()=>{c({value:t},{initial:!0})},[t,c]);const p=E.useCallback(M=>{c({value:M}),B(M)},[B,c]),D=E.useCallback(M=>{p(M)},[p]),m=E.useCallback(()=>{I(!0),Q==null||Q()},[Q]),k=E.useCallback(()=>{I(!1),u==null||u()},[u]),N=HA(M=>{p(M)});E.useEffect(()=>{C==null||C({setValue:N})},[C,N]);const L=E.useMemo(()=>({value:e,status:r}),[e,r]);return g.jsx(ho,{labelPosition:i,label:n,labelWidth:s,labelBreak:a,required:l,enabled:o,onFocus:Q,onBlur:u,children:g.jsx(Ta,{Component:Ec,children:g.jsx(D0.Provider,{value:L,children:g.jsx(ng.Root,{id:A,onBlur:k,onFocus:m,onValueChange:D,value:e,disabled:!o,className:cA(Ht.radioGroupContainer,{[Ht.focused]:h,[Ht.disabled]:!o}),children:d})})})})},Ec=({value:A,label:e,enabled:t=!0})=>{const o=E.useId(),r=E.useContext(D0),n={[Ht.disabled]:!t,[Ht.error]:A===r.value&&r.status==="error",[Ht.warning]:A===r.value&&r.status==="warning",[Ht.valid]:A===r.value&&r.status==="valid"};return g.jsxs("div",{className:Ht.radioOptionContainer,children:[g.jsx(ng.Item,{className:cA(Ht.radioOption,n),value:A,disabled:!t,id:o,children:g.jsx(ng.Indicator,{className:cA(Ht.indicator,n)})}),g.jsx("label",{htmlFor:o,className:cA(Ht.label,n),children:e??A})]},o)},bi={helper:"_helper_1ktpj_13",helperText:"_helperText_1ktpj_24",valid:"_valid_1ktpj_29",error:"_error_1ktpj_34",warning:"_warning_1ktpj_39"},m0=({text:A="",status:e,style:t})=>{const o=()=>{if(e==="warning")return g.jsx(nu,{color:"var(--xmlui-color-warning)"});if(e==="error")return g.jsx(iu,{color:"var(--xmlui-color-error)"})};return g.jsxs("div",{style:t,className:cA(bi.helper,{[bi.valid]:e==="valid",[bi.warning]:e==="warning",[bi.error]:e==="error"}),children:[e&&g.jsx("div",{style:{flexShrink:0},children:o()}),A&&g.jsx("div",{className:bi.helperText,children:A})]})},x0=new Set,Qt=new WeakMap,In=new WeakMap,Ur=new WeakMap,dc=new WeakMap,x9=new WeakMap,pn=new WeakMap,Ga=new WeakMap,ki=new WeakSet;let Rr;const zo="__aa_tgt",Cc="__aa_del",v9=A=>{const e=N9(A);e&&e.forEach(t=>_9(t))},y9=A=>{A.forEach(e=>{e.target===Rr&&k9(),Qt.has(e.target)&&Yr(e.target)})};function b9(A){const e=dc.get(A);e==null||e.disconnect();let t=Qt.get(A),o=0;const r=5;t||(t=fn(A),Qt.set(A,t));const{offsetWidth:n,offsetHeight:i}=Rr,a=[t.top-r,n-(t.left+r+t.width),i-(t.top+r+t.height),t.left-r].map(c=>`${-1*Math.floor(c)}px`).join(" "),l=new IntersectionObserver(()=>{++o>1&&Yr(A)},{root:Rr,threshold:1,rootMargin:a});l.observe(A),dc.set(A,l)}function Yr(A){clearTimeout(Ga.get(A));const e=Ha(A),t=typeof e=="function"?500:e.duration;Ga.set(A,setTimeout(async()=>{const o=Ur.get(A);try{await(o==null?void 0:o.finished),Qt.set(A,fn(A)),b9(A)}catch{}},t))}function k9(){clearTimeout(Ga.get(Rr)),Ga.set(Rr,setTimeout(()=>{x0.forEach(A=>k0(A,e=>v0(()=>Yr(e))))},100))}function M9(A){setTimeout(()=>{x9.set(A,setInterval(()=>v0(Yr.bind(null,A)),2e3))},Math.round(2e3*Math.random()))}function v0(A){typeof requestIdleCallback=="function"?requestIdleCallback(()=>A()):requestAnimationFrame(()=>A())}let hc,wn;typeof window<"u"&&(Rr=document.documentElement,hc=new MutationObserver(v9),wn=new ResizeObserver(y9),wn.observe(Rr));function N9(A){return A.reduce((o,r)=>[...o,...Array.from(r.addedNodes),...Array.from(r.removedNodes)],[]).every(o=>o.nodeName==="#comment")?!1:A.reduce((o,r)=>{if(o===!1)return!1;if(r.target instanceof Element){if(Ic(r.target),!o.has(r.target)){o.add(r.target);for(let n=0;n<r.target.children.length;n++){const i=r.target.children.item(n);if(i){if(Cc in i)return!1;Ic(r.target,i),o.add(i)}}}if(r.removedNodes.length)for(let n=0;n<r.removedNodes.length;n++){const i=r.removedNodes[n];if(Cc in i)return!1;i instanceof Element&&(o.add(i),Ic(r.target,i),In.set(i,[r.previousSibling,r.nextSibling]))}}return o},new Set)}function Ic(A,e){!e&&!(zo in A)?Object.defineProperty(A,zo,{value:A}):e&&!(zo in e)&&Object.defineProperty(e,zo,{value:A})}function _9(A){var e;const t=A.isConnected,o=Qt.has(A);t&&In.has(A)&&In.delete(A),Ur.has(A)&&((e=Ur.get(A))===null||e===void 0||e.cancel()),o&&t?L9(A):o&&!t?P9(A):S9(A)}function wo(A){return Number(A.replace(/[^0-9.\-]/g,""))}function F9(A){let e=A.parentElement;for(;e;){if(e.scrollLeft||e.scrollTop)return{x:e.scrollLeft,y:e.scrollTop};e=e.parentElement}return{x:0,y:0}}function fn(A){const e=A.getBoundingClientRect(),{x:t,y:o}=F9(A);return{top:e.top+o,left:e.left+t,width:e.width,height:e.height}}function y0(A,e,t){let o=e.width,r=e.height,n=t.width,i=t.height;const s=getComputedStyle(A);if(s.getPropertyValue("box-sizing")==="content-box"){const l=wo(s.paddingTop)+wo(s.paddingBottom)+wo(s.borderTopWidth)+wo(s.borderBottomWidth),c=wo(s.paddingLeft)+wo(s.paddingRight)+wo(s.borderRightWidth)+wo(s.borderLeftWidth);o-=c,n-=c,r-=l,i-=l}return[o,n,r,i].map(Math.round)}function Ha(A){return zo in A&&pn.has(A[zo])?pn.get(A[zo]):{duration:250,easing:"ease-in-out"}}function b0(A){if(zo in A)return A[zo]}function pc(A){const e=b0(A);return e?ki.has(e):!1}function k0(A,...e){e.forEach(t=>t(A,pn.has(A)));for(let t=0;t<A.children.length;t++){const o=A.children.item(t);o&&e.forEach(r=>r(o,pn.has(o)))}}function L9(A){const e=Qt.get(A),t=fn(A);if(!pc(A))return Qt.set(A,t);let o;if(!e)return;const r=Ha(A);if(typeof r!="function"){const n=e.left-t.left,i=e.top-t.top,[s,a,l,c]=y0(A,e,t),B={transform:`translate(${n}px, ${i}px)`},Q={transform:"translate(0, 0)"};s!==a&&(B.width=`${s}px`,Q.width=`${a}px`),l!==c&&(B.height=`${l}px`,Q.height=`${c}px`),o=A.animate([B,Q],{duration:r.duration,easing:r.easing})}else o=new Animation(r(A,"remain",e,t)),o.play();Ur.set(A,o),Qt.set(A,t),o.addEventListener("finish",Yr.bind(null,A))}function S9(A){const e=fn(A);Qt.set(A,e);const t=Ha(A);if(!pc(A))return;let o;typeof t!="function"?o=A.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:t.duration*1.5,easing:"ease-in"}):(o=new Animation(t(A,"add",e)),o.play()),Ur.set(A,o),o.addEventListener("finish",Yr.bind(null,A))}function P9(A){var e;if(!In.has(A)||!Qt.has(A))return;const[t,o]=In.get(A);Object.defineProperty(A,Cc,{value:!0}),o&&o.parentNode&&o.parentNode instanceof Element?o.parentNode.insertBefore(A,o):t&&t.parentNode?t.parentNode.appendChild(A):(e=b0(A))===null||e===void 0||e.appendChild(A);function r(){var Q;A.remove(),Qt.delete(A),In.delete(A),Ur.delete(A),(Q=dc.get(A))===null||Q===void 0||Q.disconnect()}if(!pc(A))return r();const[n,i,s,a]=T9(A),l=Ha(A),c=Qt.get(A);let B;Object.assign(A.style,{position:"absolute",top:`${n}px`,left:`${i}px`,width:`${s}px`,height:`${a}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),typeof l!="function"?B=A.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:l.duration,easing:"ease-out"}):(B=new Animation(l(A,"remove",c)),B.play()),Ur.set(A,B),B.addEventListener("finish",r)}function T9(A){const e=Qt.get(A),[t,,o]=y0(A,e,fn(A));let r=A.parentElement;for(;r&&(getComputedStyle(r).position==="static"||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const n=getComputedStyle(r),i=Qt.get(r)||fn(r),s=Math.round(e.top-i.top)-wo(n.borderTopWidth),a=Math.round(e.left-i.left)-wo(n.borderLeftWidth);return[s,a,t,o]}function G9(A,e={}){return hc&&wn&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&typeof e!="function"&&!e.disrespectUserMotionPreference||(ki.add(A),getComputedStyle(A).position==="static"&&Object.assign(A.style,{position:"relative"}),k0(A,Yr,M9,r=>wn==null?void 0:wn.observe(r)),typeof e=="function"?pn.set(A,e):pn.set(A,{duration:250,easing:"ease-in-out",...e}),hc.observe(A,{childList:!0}),x0.add(A))),Object.freeze({parent:A,enable:()=>{ki.add(A)},disable:()=>{ki.delete(A)},isEnabled:()=>ki.has(A)})}function wc(A){const[e,t]=E.useState();return[E.useCallback(n=>{n instanceof HTMLElement?t(G9(n,A)):t(void 0)},[]),n=>{e&&(n?e.enable():e.disable())}]}const Wo={themeVars:`'{"Input:min-height-DatePicker": "var(--xmlui-min-height-DatePicker)", "Input:font-size-DatePicker": "var(--xmlui-font-size-DatePicker)", "Input:radius-DatePicker-default": "var(--xmlui-radius-DatePicker-default)", "Input:color-border-DatePicker-default": "var(--xmlui-color-border-DatePicker-default)", "Input:thickness-border-DatePicker-default": "var(--xmlui-thickness-border-DatePicker-default)", "Input:style-border-DatePicker-default": "var(--xmlui-style-border-DatePicker-default)", "Input:color-bg-DatePicker-default": "var(--xmlui-color-bg-DatePicker-default)", "Input:shadow-DatePicker-default": "var(--xmlui-shadow-DatePicker-default)", "Input:color-text-DatePicker-default": "var(--xmlui-color-text-DatePicker-default)", "Input:color-border-DatePicker-default--hover": "var(--xmlui-color-border-DatePicker-default--hover)", "Input:color-bg-DatePicker-default--hover": "var(--xmlui-color-bg-DatePicker-default--hover)", "Input:shadow-DatePicker-default--hover": "var(--xmlui-shadow-DatePicker-default--hover)", "Input:color-text-DatePicker-default--hover": "var(--xmlui-color-text-DatePicker-default--hover)", "Input:thickness-outline-DatePicker-default--focus": "var(--xmlui-thickness-outline-DatePicker-default--focus)", "Input:color-outline-DatePicker-default--focus": "var(--xmlui-color-outline-DatePicker-default--focus)", "Input:style-outline-DatePicker-default--focus": "var(--xmlui-style-outline-DatePicker-default--focus)", "Input:offset-outline-DatePicker-default--focus": "var(--xmlui-offset-outline-DatePicker-default--focus)", "Input:color-placeholder-DatePicker-default": "var(--xmlui-color-placeholder-DatePicker-default)", "Input:radius-DatePicker-error": "var(--xmlui-radius-DatePicker-error)", "Input:color-border-DatePicker-error": "var(--xmlui-color-border-DatePicker-error)", "Input:thickness-border-DatePicker-error": "var(--xmlui-thickness-border-DatePicker-error)", "Input:style-border-DatePicker-error": "var(--xmlui-style-border-DatePicker-error)", "Input:color-bg-DatePicker-error": "var(--xmlui-color-bg-DatePicker-error)", "Input:shadow-DatePicker-error": "var(--xmlui-shadow-DatePicker-error)", "Input:color-text-DatePicker-error": "var(--xmlui-color-text-DatePicker-error)", "Input:color-border-DatePicker-error--hover": "var(--xmlui-color-border-DatePicker-error--hover)", "Input:color-bg-DatePicker-error--hover": "var(--xmlui-color-bg-DatePicker-error--hover)", "Input:shadow-DatePicker-error--hover": "var(--xmlui-shadow-DatePicker-error--hover)", "Input:color-text-DatePicker-error--hover": "var(--xmlui-color-text-DatePicker-error--hover)", "Input:thickness-outline-DatePicker-error--focus": "var(--xmlui-thickness-outline-DatePicker-error--focus)", "Input:color-outline-DatePicker-error--focus": "var(--xmlui-color-outline-DatePicker-error--focus)", "Input:style-outline-DatePicker-error--focus": "var(--xmlui-style-outline-DatePicker-error--focus)", "Input:offset-outline-DatePicker-error--focus": "var(--xmlui-offset-outline-DatePicker-error--focus)", "Input:color-placeholder-DatePicker-error": "var(--xmlui-color-placeholder-DatePicker-error)", "Input:radius-DatePicker-warning": "var(--xmlui-radius-DatePicker-warning)", "Input:color-border-DatePicker-warning": "var(--xmlui-color-border-DatePicker-warning)", "Input:thickness-border-DatePicker-warning": "var(--xmlui-thickness-border-DatePicker-warning)", "Input:style-border-DatePicker-warning": "var(--xmlui-style-border-DatePicker-warning)", "Input:color-bg-DatePicker-warning": "var(--xmlui-color-bg-DatePicker-warning)", "Input:shadow-DatePicker-warning": "var(--xmlui-shadow-DatePicker-warning)", "Input:color-text-DatePicker-warning": "var(--xmlui-color-text-DatePicker-warning)", "Input:color-border-DatePicker-warning--hover": "var(--xmlui-color-border-DatePicker-warning--hover)", "Input:color-bg-DatePicker-warning--hover": "var(--xmlui-color-bg-DatePicker-warning--hover)", "Input:shadow-DatePicker-warning--hover": "var(--xmlui-shadow-DatePicker-warning--hover)", "Input:color-text-DatePicker-warning--hover": "var(--xmlui-color-text-DatePicker-warning--hover)", "Input:thickness-outline-DatePicker-warning--focus": "var(--xmlui-thickness-outline-DatePicker-warning--focus)", "Input:color-outline-DatePicker-warning--focus": "var(--xmlui-color-outline-DatePicker-warning--focus)", "Input:style-outline-DatePicker-warning--focus": "var(--xmlui-style-outline-DatePicker-warning--focus)", "Input:offset-outline-DatePicker-warning--focus": "var(--xmlui-offset-outline-DatePicker-warning--focus)", "Input:color-placeholder-DatePicker-warning": "var(--xmlui-color-placeholder-DatePicker-warning)", "Input:radius-DatePicker-success": "var(--xmlui-radius-DatePicker-success)", "Input:color-border-DatePicker-success": "var(--xmlui-color-border-DatePicker-success)", "Input:thickness-border-DatePicker-success": "var(--xmlui-thickness-border-DatePicker-success)", "Input:style-border-DatePicker-success": "var(--xmlui-style-border-DatePicker-success)", "Input:color-bg-DatePicker-success": "var(--xmlui-color-bg-DatePicker-success)", "Input:shadow-DatePicker-success": "var(--xmlui-shadow-DatePicker-success)", "Input:color-text-DatePicker-success": "var(--xmlui-color-text-DatePicker-success)", "Input:color-border-DatePicker-success--hover": "var(--xmlui-color-border-DatePicker-success--hover)", "Input:color-bg-DatePicker-success--hover": "var(--xmlui-color-bg-DatePicker-success--hover)", "Input:shadow-DatePicker-success--hover": "var(--xmlui-shadow-DatePicker-success--hover)", "Input:color-text-DatePicker-success--hover": "var(--xmlui-color-text-DatePicker-success--hover)", "Input:thickness-outline-DatePicker-success--focus": "var(--xmlui-thickness-outline-DatePicker-success--focus)", "Input:color-outline-DatePicker-success--focus": "var(--xmlui-color-outline-DatePicker-success--focus)", "Input:style-outline-DatePicker-success--focus": "var(--xmlui-style-outline-DatePicker-success--focus)", "Input:offset-outline-DatePicker-success--focus": "var(--xmlui-offset-outline-DatePicker-success--focus)", "Input:color-placeholder-DatePicker-success": "var(--xmlui-color-placeholder-DatePicker-success)", "Input:color-bg-DatePicker--disabled": "var(--xmlui-color-bg-DatePicker--disabled)", "Input:color-text-DatePicker--disabled": "var(--xmlui-color-text-DatePicker--disabled)", "Input:color-border-DatePicker--disabled": "var(--xmlui-color-border-DatePicker--disabled)", "Input:shadow-menu-DatePicker": "var(--xmlui-shadow-menu-DatePicker)", "Input:color-bg-menu-DatePicker": "var(--xmlui-color-bg-menu-DatePicker)", "Input:radius-menu-DatePicker": "var(--xmlui-radius-menu-DatePicker)", "Input:color-bg-item-DatePicker--active": "var(--xmlui-color-bg-item-DatePicker--active)", "Input:color-bg-item-DatePicker--hover": "var(--xmlui-color-bg-item-DatePicker--hover)", "Input:color-text-value-DatePicker": "var(--xmlui-color-text-value-DatePicker)"}'`,datePicker:"_datePicker_t0hf0_13",placeholder:"_placeholder_t0hf0_46",error:"_error_t0hf0_49",warning:"_warning_t0hf0_73",valid:"_valid_t0hf0_97",disabled:"_disabled_t0hf0_121",indicator:"_indicator_t0hf0_127",datePickerInput:"_datePickerInput_t0hf0_127",datePickerMenu:"_datePickerMenu_t0hf0_131",root:"_root_t0hf0_140",vhidden:"_vhidden_t0hf0_145",button_reset:"_button_reset_t0hf0_165",button:"_button_t0hf0_165",day_selected:"_day_selected_t0hf0_187",months:"_months_t0hf0_205",month:"_month_t0hf0_205",table:"_table_t0hf0_221",with_weeknumber:"_with_weeknumber_t0hf0_227",caption:"_caption_t0hf0_232",multiple_months:"_multiple_months_t0hf0_240",caption_dropdowns:"_caption_dropdowns_t0hf0_246",caption_label:"_caption_label_t0hf0_251",nav:"_nav_t0hf0_267",caption_start:"_caption_start_t0hf0_271",caption_end:"_caption_end_t0hf0_278",nav_button:"_nav_button_t0hf0_285",dropdown_year:"_dropdown_year_t0hf0_298",dropdown_month:"_dropdown_month_t0hf0_299",dropdown:"_dropdown_t0hf0_298",dropdown_icon:"_dropdown_icon_t0hf0_335",head:"_head_t0hf0_339",head_row:"_head_row_t0hf0_343",row:"_row_t0hf0_344",head_cell:"_head_cell_t0hf0_348",tbody:"_tbody_t0hf0_359",tfoot:"_tfoot_t0hf0_363",cell:"_cell_t0hf0_367",weeknumber:"_weeknumber_t0hf0_375",day:"_day_t0hf0_187",day_today:"_day_today_t0hf0_394",day_outside:"_day_outside_t0hf0_394",day_range_start:"_day_range_start_t0hf0_417",day_range_end:"_day_range_end_t0hf0_417",day_range_middle:"_day_range_middle_t0hf0_441"},fc=["MM/dd/yyyy","MM-dd-yyyy","yyyy/MM/dd","yyyy-MM-dd","dd/MM/yyyy","dd-MM-yyyy","yyyyMMdd","MMddyyyy"],H9=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/,Dc=A=>{if(A&&H9.test(A)){const e=Ae.parseISO(A);if(Ae.isValid(e))return e}},Ua=A=>{if(A)for(const e of fc){const t=Ae.parse(A,e,new Date);if(Ae.isValid(t))return t}},M0=({id:A,initialValue:e,value:t,mode:o="single",enabled:r=!0,placeholder:n,updateState:i=vA,validationStatus:s="none",onDidChange:a=vA,onFocus:l=vA,onBlur:c=vA,dateFormat:B="MM/dd/yyyy",showWeekNumber:Q=!1,weekStartsOn:u=0,fromDate:d,toDate:C,disabledDates:h=[],registerComponentApi:I})=>{const p=u>=0&&u<=6?u:0,[D,m]=E.useState(!1),[k,N]=E.useState(!1),[L,M]=E.useState(null),F=E.useMemo(()=>{if(o==="single"&&typeof t=="string")return Dc(t)||Ua(t);if(o==="range"&&typeof t=="object")return{from:Dc(t==null?void 0:t.from)||Ua(t==null?void 0:t.from),to:Dc(t==null?void 0:t.to)||Ua(t==null?void 0:t.to)}},[t,o]);E.useEffect(()=>{if(!fc.includes(B))throw new Error(`Invalid dateFormat: ${B}. Supported formats are: ${fc.join(", ")}`)},[B]);const v=E.useMemo(()=>d?Ae.parse(d,B,new Date):void 0,[d,B]),y=E.useMemo(()=>C?Ae.parse(C,B,new Date):void 0,[C,B]),P=E.useMemo(()=>h==null?void 0:h.map(V=>Ae.parse(V,B,new Date)),[h,B]),[b,_]=E.useState(!1),{root:q}=ce(),J=()=>{m(!0)},z=()=>{m(!1)},T=()=>{N(!0)},S=()=>{N(!1)},G=E.useCallback(()=>{L==null||L.focus()},[L]),Y=HA(V=>{const tA=Ua(V);U(tA)});E.useEffect(()=>{I==null||I({focus:G,setValue:Y})},[G,I,Y]),E.useEffect(()=>{!D&&!k&&(c==null||c()),(D||k)&&(l==null||l())},[D,k,l,c]),E.useEffect(()=>{i({value:e},{initial:!0})},[e,i]);const U=E.useCallback(V=>{if(!V)i({value:void 0}),a("");else if(o==="single"){const tA=V,uA=Ae.format(tA,B);i({value:uA}),a(uA)}else{const tA=V,uA={from:tA.from?Ae.format(tA.from,B):"",to:tA.to?Ae.format(tA.to,B):""};i({value:uA}),a(uA)}o==="single"&&_(!1)},[a,i,o,B]);return g.jsxs(nt.Root,{open:b,onOpenChange:_,modal:!1,children:[g.jsx(nt.Trigger,{asChild:!0,children:g.jsx("button",{ref:M,disabled:!r,id:A,className:cA(Wo.datePicker,{[Wo.disabled]:!r,[Wo.error]:s==="error",[Wo.warning]:s==="warning",[Wo.valid]:s==="valid"}),onFocus:J,onBlur:z,children:o==="single"&&F?g.jsx(g.Fragment,{children:Ae.format(F,B)}):o==="range"&&typeof F=="object"&&F.from?F.to?g.jsxs(g.Fragment,{children:[Ae.format(F.from,B)," - ",Ae.format(F.to,B)]}):g.jsx(g.Fragment,{children:Ae.format(F.from,B)}):n?g.jsx("span",{className:Wo.placeholder,children:n}):g.jsx("span",{children:" "})})}),g.jsx(nt.Portal,{container:q,children:g.jsx(nt.Content,{align:"start",className:Wo.datePickerMenu,onFocus:T,onBlur:S,onInteractOutside:S,children:g.jsx(s4.DayPicker,{fixedWeeks:!0,fromDate:v,toDate:y,disabled:P,weekStartsOn:p,showWeekNumber:Q,showOutsideDays:!0,classNames:Wo,mode:o==="single"?"single":"range",selected:F,onSelect:U,initialFocus:!0,numberOfMonths:o==="range"?2:1})})})]})},mc={themeVars:`'{"gap-Form": "var(--xmlui-gap-Form)", "gap-buttonRow-Form": "var(--xmlui-gap-buttonRow-Form)"}'`,wrapper:"_wrapper_wscb6_13",buttonRow:"_buttonRow_wscb6_19"},cr={themeVars:`'{"color-bg-ValidationDisplay-error": "var(--xmlui-color-bg-ValidationDisplay-error)", "color-accent-ValidationDisplay-error": "var(--xmlui-color-accent-ValidationDisplay-error)", "color-text-ValidationDisplay-error": "var(--xmlui-color-text-ValidationDisplay-error)", "color-bg-ValidationDisplay-warning": "var(--xmlui-color-bg-ValidationDisplay-warning)", "color-accent-ValidationDisplay-warning": "var(--xmlui-color-accent-ValidationDisplay-warning)", "color-text-ValidationDisplay-warning": "var(--xmlui-color-text-ValidationDisplay-warning)", "color-bg-ValidationDisplay-info": "var(--xmlui-color-bg-ValidationDisplay-info)", "color-accent-ValidationDisplay-info": "var(--xmlui-color-accent-ValidationDisplay-info)", "color-text-ValidationDisplay-info": "var(--xmlui-color-text-ValidationDisplay-info)", "color-bg-ValidationDisplay-valid": "var(--xmlui-color-bg-ValidationDisplay-valid)", "color-accent-ValidationDisplay-valid": "var(--xmlui-color-accent-ValidationDisplay-valid)", "color-text-ValidationDisplay-valid": "var(--xmlui-color-text-ValidationDisplay-valid)"}'`,summaryContainer:"_summaryContainer_16h88_13",validationContainer:"_validationContainer_16h88_22",noMarker:"_noMarker_16h88_47",error:"_error_16h88_52",heading:"_heading_16h88_58",warning:"_warning_16h88_62",info:"_info_16h88_72",valid:"_valid_16h88_22"};function N0({fieldValidationResults:A=GA,generalValidationResults:e=Be}){const[t]=wc({duration:100}),o=E.useMemo(()=>{const r={};return Object.entries(A).forEach(([n,i])=>{i.validations.forEach(s=>{s.isValid||(r[s.severity]=r[s.severity]||[],r[s.severity].push({field:n,message:s.invalidMessage||""}))})}),e.forEach(n=>{r[n.severity]=r[n.severity]||[],r[n.severity].push({message:n.invalidMessage||""})}),r},[A,e]);return g.jsxs("div",{ref:t,className:cr.summaryContainer,children:[g.jsx(_0,{issues:o.warning,severity:"warning",heading:"Validation warnings"}),g.jsx(_0,{issues:o.error,severity:"error",heading:"Validation errors"})]})}const _0=({heading:A,issues:e=Be,severity:t="error",onClose:o})=>{const[r]=wc({duration:100});return e.length===0?null:g.jsxs("div",{className:cA(cr.validationContainer,{[cr.valid]:t==="valid",[cr.info]:t==="info",[cr.warning]:t==="warning",[cr.error]:t==="error"}),style:{paddingTop:o?void 0:"0.5rem"},children:[g.jsxs(gt,{orientation:"horizontal",verticalAlignment:"center",layout:{gap:"0.5rem"},children:[g.jsx(kA,{className:cr.heading,name:t,size:"md"}),g.jsx("div",{className:cr.heading,children:g.jsx(qe,{children:A})}),!!o&&g.jsxs(g.Fragment,{children:[g.jsx(wu,{}),g.jsx(Ce,{onClick:o,variant:"ghost",themeColor:"secondary",icon:g.jsx(kA,{name:"close",size:"sm"}),orientation:"vertical"})]})]}),g.jsx("ul",{ref:r,children:e.map((n,i)=>g.jsx(U9,{issue:n},i))})]})},U9=({issue:A})=>{const{field:e,message:t}=A;return g.jsx("li",{children:g.jsxs("span",{style:{display:"inline-flex",gap:e?"0.25rem":void 0},children:[e&&g.jsx(qe,{variant:"small",fontWeight:"bold",children:`${e}:`}),g.jsx(qe,{variant:"small",preserveLinebreaks:!0,children:t})]})})},F0=(A,e,t)=>{const o=e.split(".");for(let r=0;r<o.length;r++){const n=o[r];typeof o[r+1]<"u"?A[n]=A[n]?A[n]:{}:A[n]=t,A=A[n]}},xc=(A,e)=>{const t=e.split(".");let o=A;for(let r=0;r<t.length;r++)o=o==null?void 0:o[t[r]];return o},R9=ue((A,e)=>{var o,r,n,i;const{uid:t}=e.payload;switch(t!==void 0&&!A.interactionFlags[t]&&(A.interactionFlags[t]={isDirty:!1,invalidToValid:!1,isValidOnFocus:!1,isValidLostFocus:!1,focused:!1,forceShowValidationResult:!1}),e.type){case Gt.FIELD_INITIALIZED:{A.interactionFlags[t].isDirty||F0(A.subject,t,e.payload.value);break}case Gt.FIELD_REMOVED:{delete A.validationResults[t];break}case Gt.FIELD_VALUE_CHANGED:{F0(A.subject,t,e.payload.value),A.interactionFlags[t].isDirty=!0,A.interactionFlags[t].forceShowValidationResult=!1;break}case Gt.FIELD_VALIDATED:{if(e.payload.validationResult.validations.length===0){delete A.validationResults[t];break}const s=(o=A.validationResults[t])==null?void 0:o.isValid;if(e.payload.validationResult.partial){const a=[...e.payload.validationResult.validations,...(((r=A.validationResults[t])==null?void 0:r.validations.filter(l=>l.async))||[]).map(l=>({...l,stale:!0}))];A.validationResults[t]={...e.payload.validationResult,isValid:a.find(l=>!l.isValid)===void 0,validations:a}}else A.validationResults[t]=e.payload.validationResult;A.interactionFlags[t].invalidToValid=!s&&A.validationResults[t].isValid;break}case Gt.FIELD_FOCUSED:{A.interactionFlags[t].isValidOnFocus=!!((n=A.validationResults[t])!=null&&n.isValid),A.interactionFlags[t].focused=!0;break}case Gt.FIELD_LOST_FOCUS:{A.interactionFlags[t].isValidLostFocus=!!((i=A.validationResults[t])!=null&&i.isValid),A.interactionFlags[t].focused=!1;break}case Gt.TRIED_TO_SUBMIT:{Object.keys(A.interactionFlags).forEach(s=>{A.interactionFlags[s].forceShowValidationResult=!0});break}case Gt.SUBMITTING:{A.submitInProgress=!0;break}case Gt.SUBMITTED:{A.submitInProgress=!1,A.generalValidationResults=[],A.interactionFlags={},Object.keys(A.validationResults).forEach(s=>{var a;A.validationResults[s].validations=(a=A.validationResults[s].validations)==null?void 0:a.filter(l=>!l.fromBackend),A.validationResults[s].isValid=A.validationResults[s].validations.find(l=>!l.isValid)===void 0});break}case Gt.BACKEND_VALIDATION_ARRIVED:{A.submitInProgress=!1,A.generalValidationResults=e.payload.generalValidationResults,Object.keys(A.validationResults).forEach(s=>{var a;A.validationResults[s].validations=(a=A.validationResults[s].validations)==null?void 0:a.filter(l=>!l.fromBackend)}),Object.entries(e.payload.fieldValidationResults).forEach(([s,a])=>{var l;A.validationResults[s].validations=[...((l=A.validationResults[s])==null?void 0:l.validations)||[],...a||[]],A.validationResults[s].isValid=A.validationResults[s].validations.find(c=>!c.isValid)===void 0});break}case Gt.RESET:{const{originalSubject:s}=e.payload;return{...L0,subject:s}}}}),L0={subject:{},validationResults:{},generalValidationResults:[],interactionFlags:{},submitInProgress:!1},S0=E.forwardRef(function({formState:A,dispatch:e,initialValue:t=GA,children:o,style:r,enabled:n=!0,cancelLabel:i="Cancel",saveLabel:s="Save",saveInProgressLabel:a="Saving...",swapCancelAndSave:l,onSubmit:c,onCancel:B,onReset:Q,buttonRow:u,id:d,registerComponentApi:C,itemLabelBreak:h=!0,itemLabelWidth:I,itemLabelPosition:p="top",keepModalOpenOnSubmit:D=!1},m){const k=E.useRef(null);E.useImperativeHandle(m,()=>k.current);const[N,L]=E.useState(!1),M=q2(),F=n&&!A.submitInProgress,v=E.useMemo(()=>({itemLabelBreak:h,itemLabelWidth:I,itemLabelPosition:p,subject:A.subject,originalSubject:t,validationResults:A.validationResults,interactionFlags:A.interactionFlags,dispatch:e,enabled:F}),[e,A.interactionFlags,A.subject,A.validationResults,t,F,h,p,I]),y=HA(()=>{B==null||B(),M()}),P=HA(async J=>{var G;if(J==null||J.preventDefault(),!F)return;L(!1),e(t9());const{error:z,warning:T}=c9(Object.values(A.validationResults));if(z.length)return;if(T.length&&!N){L(!0);return}const S=document.activeElement;e(o9());try{await(c==null?void 0:c(A.subject,{passAsDefaultBody:!0})),e(r9()),D||M(),t===GA&&Po.flushSync(()=>{b()}),S&&typeof S.focus=="function"&&S.focus()}catch(Y){const U=[],V={};Y instanceof Error&&"errorCategory"in Y&&Y.errorCategory==="GenericBackendError"&&((G=Y.details)!=null&&G.issues)&&Array.isArray(Y.details.issues)?Y.details.issues.forEach(tA=>{const uA={isValid:!1,invalidMessage:tA.message,severity:tA.severity||"error",fromBackend:!0};tA.field!==void 0?(V[tA.field]=V[tA.field]||[],V[tA.field].push(uA)):U.push(uA)}):U.push({isValid:!1,invalidMessage:Y.message||"Couldn't save the form.",severity:"error",fromBackend:!0}),e(i9({generalValidationResults:U,fieldValidationResults:V}))}}),b=HA(()=>{e(n9(t)),Q==null||Q()}),_=i===""?null:g.jsx(Ce,{type:"button",themeColor:"secondary",variant:"ghost",onClick:y,children:i},"cancel"),q=E.useMemo(()=>g.jsx(Ce,{type:"submit",disabled:!F,children:A.submitInProgress?a:s},"submit"),[F,A.submitInProgress,a,s]);return E.useEffect(()=>{C==null||C({reset:b})},[b,C]),g.jsxs(g.Fragment,{children:[g.jsxs("form",{style:r,className:mc.wrapper,onSubmit:P,onReset:b,id:d,ref:k,children:[g.jsx(N0,{generalValidationResults:A.generalValidationResults}),g.jsx(e0.Provider,{value:v,children:o}),u||g.jsxs("div",{className:mc.buttonRow,children:[l&&[q,_],!l&&[_,q]]})]}),N&&g.jsx(Qn,{onClose:()=>L(!1),isInitiallyOpen:!0,title:"Are you sure want to move forward?",children:g.jsxs(gt,{orientation:"vertical",layout:{gap:"0.5rem"},children:[g.jsx(qe,{children:"The following warnings were found during validation. Please make sure you are willing to move forward despite these issues."}),g.jsx(N0,{generalValidationResults:A.generalValidationResults,fieldValidationResults:A.validationResults}),g.jsxs(gt,{orientation:"horizontal",horizontalAlignment:"end",layout:{gap:"1em"},children:[g.jsx(Ce,{variant:"ghost",themeColor:"secondary",onClick:()=>L(!1),children:"No"}),g.jsx(Ce,{onClick:()=>P(),autoFocus:!0,children:"Yes, proceed"})]})]})})]})});S0.displayName="Form";function Y9({node:A,renderChild:e,extractValue:t,layoutCss:o,lookupEventHandler:r,registerComponentApi:n}){const[i,s]=E.useReducer(R9,L0),a=E.useMemo(()=>({type:"Fragment",vars:{$data:i.subject},children:A.children}),[i.subject,A.children]),l=t(A.props.data),c=t.asOptionalString(A.props.submitMethod)||(l?"put":"post"),B=t.asOptionalString(A.props.submitUrl)||t.asOptionalString(A.props._data_url);return g.jsx(S0,{keepModalOpenOnSubmit:t.asOptionalBoolean(A.props.keepModalOpenOnSubmit),itemLabelPosition:t.asOptionalString(A.props.itemLabelPosition),itemLabelBreak:t.asOptionalBoolean(A.props.itemLabelBreak),itemLabelWidth:t.asOptionalString(A.props.itemLabelWidth),formState:i,dispatch:s,id:A.uid,style:o,cancelLabel:t(A.props.cancelLabel),saveLabel:t(A.props.saveLabel),saveInProgressLabel:t(A.props.saveInProgressLabel),swapCancelAndSave:t.asOptionalBoolean(A.props.swapCancelAndSave,!1),onSubmit:r("submit",{defaultHandler:B?`(eventArgs)=> Actions.callApi({ url: "${B}", method: "${c}", body: eventArgs })`:void 0}),onCancel:r("cancel"),onReset:r("reset"),initialValue:l,buttonRow:e(A.props.buttonRowTemplate),registerComponentApi:n,enabled:t.asOptionalBoolean(A.props.enabled,!0)&&!t.asOptionalBoolean(A.props.loading,!1),children:e(a)})}const tt={themeVars:`'{"Input:radius-AutoComplete-default": "var(--xmlui-radius-AutoComplete-default)", "Input:color-border-AutoComplete-default": "var(--xmlui-color-border-AutoComplete-default)", "Input:thickness-border-AutoComplete-default": "var(--xmlui-thickness-border-AutoComplete-default)", "Input:style-border-AutoComplete-default": "var(--xmlui-style-border-AutoComplete-default)", "Input:font-size-AutoComplete-default": "var(--xmlui-font-size-AutoComplete-default)", "Input:color-bg-AutoComplete-default": "var(--xmlui-color-bg-AutoComplete-default)", "Input:shadow-AutoComplete-default": "var(--xmlui-shadow-AutoComplete-default)", "Input:color-text-AutoComplete-default": "var(--xmlui-color-text-AutoComplete-default)", "Input:color-border-AutoComplete-default--hover": "var(--xmlui-color-border-AutoComplete-default--hover)", "Input:color-bg-AutoComplete-default--hover": "var(--xmlui-color-bg-AutoComplete-default--hover)", "Input:shadow-AutoComplete-default--hover": "var(--xmlui-shadow-AutoComplete-default--hover)", "Input:color-text-AutoComplete-default--hover": "var(--xmlui-color-text-AutoComplete-default--hover)", "Input:color-placeholder-AutoComplete-default": "var(--xmlui-color-placeholder-AutoComplete-default)", "Input:radius-AutoComplete-error": "var(--xmlui-radius-AutoComplete-error)", "Input:color-border-AutoComplete-error": "var(--xmlui-color-border-AutoComplete-error)", "Input:thickness-border-AutoComplete-error": "var(--xmlui-thickness-border-AutoComplete-error)", "Input:style-border-AutoComplete-error": "var(--xmlui-style-border-AutoComplete-error)", "Input:font-size-AutoComplete-error": "var(--xmlui-font-size-AutoComplete-error)", "Input:color-bg-AutoComplete-error": "var(--xmlui-color-bg-AutoComplete-error)", "Input:shadow-AutoComplete-error": "var(--xmlui-shadow-AutoComplete-error)", "Input:color-text-AutoComplete-error": "var(--xmlui-color-text-AutoComplete-error)", "Input:color-border-AutoComplete-error--hover": "var(--xmlui-color-border-AutoComplete-error--hover)", "Input:color-bg-AutoComplete-error--hover": "var(--xmlui-color-bg-AutoComplete-error--hover)", "Input:shadow-AutoComplete-error--hover": "var(--xmlui-shadow-AutoComplete-error--hover)", "Input:color-text-AutoComplete-error--hover": "var(--xmlui-color-text-AutoComplete-error--hover)", "Input:color-placeholder-AutoComplete-error": "var(--xmlui-color-placeholder-AutoComplete-error)", "Input:radius-AutoComplete-warning": "var(--xmlui-radius-AutoComplete-warning)", "Input:color-border-AutoComplete-warning": "var(--xmlui-color-border-AutoComplete-warning)", "Input:thickness-border-AutoComplete-warning": "var(--xmlui-thickness-border-AutoComplete-warning)", "Input:style-border-AutoComplete-warning": "var(--xmlui-style-border-AutoComplete-warning)", "Input:font-size-AutoComplete-warning": "var(--xmlui-font-size-AutoComplete-warning)", "Input:color-bg-AutoComplete-warning": "var(--xmlui-color-bg-AutoComplete-warning)", "Input:shadow-AutoComplete-warning": "var(--xmlui-shadow-AutoComplete-warning)", "Input:color-text-AutoComplete-warning": "var(--xmlui-color-text-AutoComplete-warning)", "Input:color-border-AutoComplete-warning--hover": "var(--xmlui-color-border-AutoComplete-warning--hover)", "Input:color-bg-AutoComplete-warning--hover": "var(--xmlui-color-bg-AutoComplete-warning--hover)", "Input:shadow-AutoComplete-warning--hover": "var(--xmlui-shadow-AutoComplete-warning--hover)", "Input:color-text-AutoComplete-warning--hover": "var(--xmlui-color-text-AutoComplete-warning--hover)", "Input:color-placeholder-AutoComplete-warning": "var(--xmlui-color-placeholder-AutoComplete-warning)", "Input:radius-AutoComplete-success": "var(--xmlui-radius-AutoComplete-success)", "Input:color-border-AutoComplete-success": "var(--xmlui-color-border-AutoComplete-success)", "Input:thickness-border-AutoComplete-success": "var(--xmlui-thickness-border-AutoComplete-success)", "Input:style-border-AutoComplete-success": "var(--xmlui-style-border-AutoComplete-success)", "Input:font-size-AutoComplete-success": "var(--xmlui-font-size-AutoComplete-success)", "Input:color-bg-AutoComplete-success": "var(--xmlui-color-bg-AutoComplete-success)", "Input:shadow-AutoComplete-success": "var(--xmlui-shadow-AutoComplete-success)", "Input:color-text-AutoComplete-success": "var(--xmlui-color-text-AutoComplete-success)", "Input:color-border-AutoComplete-success--hover": "var(--xmlui-color-border-AutoComplete-success--hover)", "Input:color-bg-AutoComplete-success--hover": "var(--xmlui-color-bg-AutoComplete-success--hover)", "Input:shadow-AutoComplete-success--hover": "var(--xmlui-shadow-AutoComplete-success--hover)", "Input:color-text-AutoComplete-success--hover": "var(--xmlui-color-text-AutoComplete-success--hover)", "Input:color-placeholder-AutoComplete-success": "var(--xmlui-color-placeholder-AutoComplete-success)", "Input:color-bg-AutoComplete--disabled": "var(--xmlui-color-bg-AutoComplete--disabled)", "Input:color-text-AutoComplete--disabled": "var(--xmlui-color-text-AutoComplete--disabled)", "Input:color-border-AutoComplete--disabled": "var(--xmlui-color-border-AutoComplete--disabled)", "Input:thickness-outline-AutoComplete--focus": "var(--xmlui-thickness-outline-AutoComplete--focus)", "Input:color-outline-AutoComplete--focus": "var(--xmlui-color-outline-AutoComplete--focus)", "Input:style-outline-AutoComplete--focus": "var(--xmlui-style-outline-AutoComplete--focus)", "Input:offset-outline-AutoComplete--focus": "var(--xmlui-offset-outline-AutoComplete--focus)", "padding-vertical-AutoComplete-badge": "var(--xmlui-padding-vertical-AutoComplete-badge)", "padding-horizontal-AutoComplete-badge": "var(--xmlui-padding-horizontal-AutoComplete-badge)", "Input:font-size-AutoComplete-badge": "var(--xmlui-font-size-AutoComplete-badge)", "Input:color-bg-AutoComplete-badge": "var(--xmlui-color-bg-AutoComplete-badge)", "Input:color-text-AutoComplete-badge": "var(--xmlui-color-text-AutoComplete-badge)", "Input:color-bg-AutoComplete-badge--hover": "var(--xmlui-color-bg-AutoComplete-badge--hover)", "Input:color-text-AutoComplete-badge--hover": "var(--xmlui-color-text-AutoComplete-badge--hover)", "Input:color-bg-AutoComplete-badge--active": "var(--xmlui-color-bg-AutoComplete-badge--active)", "Input:color-text-AutoComplete-badge--active": "var(--xmlui-color-text-AutoComplete-badge--active)", "Input:color-placeholder-AutoComplete": "var(--xmlui-color-placeholder-AutoComplete)", "Input:color-bg-menu-AutoComplete": "var(--xmlui-color-bg-menu-AutoComplete)", "Input:radius-menu-AutoComplete": "var(--xmlui-radius-menu-AutoComplete)", "Input:shadow-menu-AutoComplete": "var(--xmlui-shadow-menu-AutoComplete)", "color-bg-item-AutoComplete": "var(--xmlui-color-bg-item-AutoComplete)", "color-bg-item-AutoComplete--hover": "var(--xmlui-color-bg-item-AutoComplete--hover)", "color-text-item-AutoComplete--disabled": "var(--xmlui-color-text-item-AutoComplete--disabled)"}'`,command:"_command_4q1ko_13",badgeListWrapper:"_badgeListWrapper_4q1ko_20",error:"_error_4q1ko_43",warning:"_warning_4q1ko_62",valid:"_valid_4q1ko_81",disabled:"_disabled_4q1ko_100",focused:"_focused_4q1ko_107",badgeList:"_badgeList_4q1ko_20",badge:"_badge_4q1ko_20",commandInput:"_commandInput_4q1ko_149",actions:"_actions_4q1ko_162",autoCompleteEmpty:"_autoCompleteEmpty_4q1ko_168",commandList:"_commandList_4q1ko_178","fade-in":"_fade-in_4q1ko_1",autoCompleteOption:"_autoCompleteOption_4q1ko_191"},P0=E.createContext({value:null,onChange:A=>{},optionRenderer:A=>g.jsx("div",{children:A.label}),inputValue:"",options:new Set});function T0(){return E.useContext(P0)}function K9(A){return g.jsx("div",{children:A.label})}function O9(A,e){return e.some(t=>Array.from(A).some(o=>o.value===t.value||o.label===t.label))}function G0({id:A,initialValue:e,value:t,enabled:o=!0,placeholder:r,updateState:n=vA,validationStatus:i="none",onDidChange:s=vA,onFocus:a=vA,onBlur:l=vA,registerComponentApi:c,optionRenderer:B=K9,emptyListTemplate:Q,layout:u,children:d,autoFocus:C=!1,dropdownHeight:h,multi:I=!1}){const p=E.useRef(null),[D,m]=E.useState(!1),k=E.useRef(null),[N,L]=E.useState(new Set),[M,F]=E.useState("");E.useEffect(()=>{e!==void 0&&n({value:e||[]},{initial:!0})},[e,n]);const v=E.useCallback(G=>{if(I?F(""):m(!0),G==="")return;const Y=I?Array.isArray(t)?t.includes(G)?t.filter(U=>U!==G):[...t,G]:[G]:G===t?null:G;n({value:Y}),s(Y)},[I,t,n,s]);E.useEffect(()=>{var G;I||F(((G=Array.from(N).find(Y=>Y.value===t))==null?void 0:G.labelText)||"")},[I,N,t]);const y=E.useCallback(()=>{const G=I?[]:"";F(""),n({value:G}),s(G)},[I,n,s]),P=E.useCallback(G=>{L(Y=>new Set(Y).add(G))},[]),b=E.useCallback(G=>{L(Y=>{const U=new Set(Y);return U.delete(G),U})},[]),_=G=>{k.current&&!k.current.contains(G.target)&&p.current&&!p.current.contains(G.target)&&(m(!1),p.current.blur())};E.useEffect(()=>(D?(document.addEventListener("mousedown",_),document.addEventListener("touchend",_)):(document.removeEventListener("mousedown",_),document.removeEventListener("touchend",_)),()=>{document.removeEventListener("mousedown",_),document.removeEventListener("touchend",_)}),[D]);const q=E.useMemo(()=>Q??g.jsxs("div",{className:tt.autoCompleteEmpty,children:[g.jsx(kA,{name:"noresult"}),g.jsx("span",{children:"List is empty"})]}),[Q]),J=E.useCallback(()=>{var G;(G=p==null?void 0:p.current)==null||G.focus()},[p]),z=HA(G=>{n({value:Array.isArray(G)?G:[G]})});E.useEffect(()=>{c==null||c({focus:J,setValue:z})},[J,c,z]);const T=E.useMemo(()=>({onOptionAdd:P,onOptionRemove:b}),[P,b]),S=E.useMemo(()=>({multi:I,value:t,onChange:v,optionRenderer:B,options:N,inputValue:M}),[M,I,B,N,v,t]);return g.jsx(P0.Provider,{value:S,children:g.jsx(Ta,{Component:w0,children:g.jsxs(Bc.Provider,{value:T,children:[d,g.jsxs(pt.Command,{ref:k,className:tt.command,filter:(G,Y,U)=>(G+" "+U.join(" ")).toLowerCase().includes(Y.toLowerCase())?1:0,children:[g.jsxs("div",{onClick:()=>{var G;o&&((G=p==null?void 0:p.current)==null||G.focus())},style:u,className:Ge(tt.badgeListWrapper,tt[i],{[tt.disabled]:!o,[tt.focused]:document.activeElement===p.current}),children:[I?g.jsxs("div",{className:tt.badgeList,children:[Array.isArray(t)&&t.map(G=>{var Y;return g.jsxs("span",{className:tt.badge,children:[(Y=Array.from(N).find(U=>U.value===G))==null?void 0:Y.label,g.jsx(kA,{name:"close",size:"sm",onClick:U=>{U.stopPropagation(),v(G)}})]},G)}),g.jsx(pt.CommandInput,{id:A,autoFocus:C,ref:p,value:M,disabled:!o,onValueChange:G=>{m(!0),F(G)},onFocus:G=>{m(!0),a()},onBlur:G=>{m(!1),l()},placeholder:r,className:tt.commandInput})]}):g.jsx(pt.CommandInput,{id:A,autoFocus:C,ref:p,value:M,disabled:!o,onValueChange:G=>{m(!0),F(G)},onFocus:G=>{m(!0),a()},onBlur:G=>{m(!1),l()},placeholder:r,className:tt.commandInput}),g.jsxs("div",{className:tt.actions,children:[(t==null?void 0:t.length)>0&&o&&g.jsx("button",{onClick:G=>{G.stopPropagation(),y()},children:g.jsx(kA,{name:"close"})}),g.jsx("button",{onClick:()=>m(!0),children:g.jsx(kA,{name:"chevrondown"})})]})]}),g.jsx("div",{style:{position:"relative"},children:D&&g.jsxs(pt.CommandList,{className:tt.commandList,onMouseUp:()=>{var G;(G=p==null?void 0:p.current)==null||G.focus()},style:{height:h},children:[g.jsx(pt.CommandEmpty,{children:q}),g.jsx(J9,{}),g.jsx(pt.CommandGroup,{children:Array.from(N).map(({value:G,label:Y,enabled:U,keywords:V,labelText:tA})=>g.jsx(q9,{value:G,label:Y,enabled:U,keywords:V,labelText:tA},G))})]})})]})]})})})}function J9(){const{value:A,options:e,inputValue:t,onChange:o}=T0(),{onOptionAdd:r}=Qc();if(O9(e,[{value:t,label:t}])||Array.isArray(A)&&(A!=null&&A.find(i=>i===t))||t===A)return g.jsx("span",{style:{display:"none"}});const n=g.jsx(pt.CommandItem,{value:t,className:tt.autoCompleteOption,onMouseDown:i=>{i.preventDefault(),i.stopPropagation()},onSelect:i=>{r({value:i,label:i,enabled:!0,labelText:i}),o(i)},children:`Create "${t}"`});return t.length>0?n:g.jsx("span",{style:{display:"none"}})}function q9({value:A,label:e,enabled:t=!0,keywords:o}){const r=E.useId(),{value:n,onChange:i,optionRenderer:s,multi:a}=T0(),l=a?n==null?void 0:n.includes(A):n===A;return g.jsxs(pt.CommandItem,{id:r,disabled:!t,value:`${A}`,className:tt.autoCompleteOption,onMouseDown:c=>{c.preventDefault(),c.stopPropagation()},onSelect:()=>{i(A)},"data-state":l?"checked":void 0,keywords:o,children:[s({label:e,value:A}),l&&g.jsx(kA,{name:"checkmark"})]},r)}const z9={checkbox:"end"},W9=E.memo(function({style:e,bindTo:t,type:o="text",label:r,enabled:n=!0,labelPosition:i,labelWidth:s,labelBreak:a=!0,children:l,validations:c,onValidate:B,customValidationsDebounce:Q,validationMode:u,registerComponentApi:d,maxTextLength:C,...h}){const I=Tt(T=>s||T.itemLabelWidth),p=Tt(T=>a!==void 0?a:T.itemLabelBreak),D=Tt(T=>i||T.itemLabelPosition||z9[o]),m=Tt(T=>xc(T.originalSubject,t)),k=m===void 0?h.initialValue:m,N=Tt(T=>xc(T.subject,t)),L=Tt(T=>T.validationResults[t]),M=Tt(T=>T.dispatch),F=Tt(T=>T.enabled),v=n&&F;E.useEffect(()=>{M(Xf(t,k))},[t,M,k]),l9(c,B,N,M,t,Q);const y=E.useCallback(({value:T},S)=>{S!=null&&S.initial||M(t0(t,T))},[t,M]);E.useEffect(()=>()=>{M(e9(t))},[t,M]);const{validationStatus:P,isHelperTextShown:b}=g9(t,N,L,u);let _=null;switch(o){case"select":{_=g.jsx(p0,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,children:l});break}case"autocomplete":{_=g.jsx(G0,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,children:l});break}case"datePicker":{_=g.jsx(M0,{...h,value:N,updateState:y,enabled:v,validationStatus:P});break}case"radioGroup":{_=g.jsx(uc,{...h,value:N,updateState:y,enabled:v,validationStatus:P,children:l});break}case"number":case"integer":{_=g.jsx(B0,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,integersOnly:o==="integer",validationStatus:P,min:c.minValue,max:c.maxValue,maxLength:C??(c==null?void 0:c.maxLength)});break}case"switch":case"checkbox":{_=g.jsx(mi,{...h,value:N,updateState:y,enabled:v,validationStatus:P,variant:o});break}case"file":{_=g.jsx(c0,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,multiple:w1(h.multiple,!1)});break}case"text":{_=g.jsx(Fa,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,maxLength:C??(c==null?void 0:c.maxLength)});break}case"password":{_=g.jsx(Fa,{...h,type:"password",value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,maxLength:C??(c==null?void 0:c.maxLength)});break}case"textarea":{_=g.jsx(mu,{...h,value:N,updateState:y,registerComponentApi:d,enabled:v,validationStatus:P,maxLength:C??(c==null?void 0:c.maxLength)});break}case"custom":{_=l;break}default:{console.warn(`unknown form item type ${o}`),_=g.jsx("div",{children:N});break}}const q=HA(()=>{M(Zf(t))}),J=HA(()=>{M(A9(t))}),[z]=wc({duration:100});return g.jsx(ho,{labelPosition:D,label:r,labelWidth:I,labelBreak:p,enabled:v,required:c.required,validationInProgress:L==null?void 0:L.partial,onFocus:q,onBlur:J,style:e,validationResult:g.jsx("div",{ref:z,children:b&&(L==null?void 0:L.validations.map((T,S)=>g.jsxs(E.Fragment,{children:[T.isValid&&!!T.validMessage&&g.jsx(m0,{text:T.validMessage,status:"valid",style:{opacity:T.stale?.5:void 0}}),!T.isValid&&!!T.invalidMessage&&g.jsx(m0,{text:T.invalidMessage,status:T.severity,style:{opacity:T.stale?.5:void 0}})]},S)))}),children:_})});function $9({renderChild:A,node:e,bindTo:t}){const o=Tt(s=>xc(s.subject,t)),r=Tt(s=>s.validationResults[t]),n=Tt(s=>s.dispatch),i=E.useMemo(()=>({type:"Container",uid:"formFieldContainer - "+t,vars:e.vars,contextVars:{$value:o,$setValue:s=>{n(t0(t,s))},$validationResult:r},children:e.children}),[t,n,e.children,e.vars,r,o]);return g.jsx(g.Fragment,{children:A(i)})}const Kr="FormItem",j9=Z({status:"experimental",description:`A \`${Kr}\` component represents a single input element within a \`Form\`. The value within the \`${Kr}\` may be associated with a particular property within the encapsulating \`Form\` component's data.`,props:{bindTo:f("This property binds a particular input field to one of the attributes of the `Form` data. It names the property of the form's `data` data to get the input's initial value.When the field is saved, its value will be stored in the `data` property with this name."),autoFocus:Dt(),label:Je(),labelPosition:Ho(),labelWidth:f("This property sets the width of the item label."),labelBreak:f("This boolean value indicates if the label can be split into multiple lines if it would overflow the available label width."),enabled:Ze(),type:f("This property is used to determine the specific input control the FormItem will wrap around. Note that the control names start with a lowercase letter and map to input components found in XMLUI."),customValidationsDebounce:f("This optional number prop determines the time interval between two runs of a custom validation."),validationMode:f("This property sets what kind of validation mode or strategy to employ for a particular input field."),initialValue:Zt(),required:uo(),requiredInvalidMessage:f("This optional string property is used to customize the message that is displayed if the field is not filled in."),minLength:f("Checks whether the input has a minimum length of a specified value."),maxLength:f("Checks whether the input has a maximum length of a specified value."),maxTextLength:f("The maximum length of the text in the input field"),lengthInvalidMessage:f("This optional string property is used to customize the message that is displayed on a failed length check: [minLength](#minlength) or [maxLength](#maxlength)."),lengthInvalidSeverity:f("This property sets the severity level of length validations."),minValue:f("Checks whether the input has the minimum specified value."),maxValue:f("Checks whether the input has the maximum specified value."),rangeInvalidMessage:f("This optional string property is used to customize the message that is displayed when a value is out of range."),rangeInvalidSeverity:f("This property sets the severity level of the value range validation."),pattern:f("Checks whether the input fits a predefined regular expression."),patternInvalidMessage:f("This optional string property is used to customize the message that is displayed on a failed pattern test."),patternInvalidSeverity:f("This property sets the severity level of the pattern validation."),regex:f("Checks whether the input fits the provided regular expression."),regexInvalidMessage:f("This optional string property is used to customize the message that is displayed on a failed regular expression test."),regexInvalidSeverity:f("This property sets the severity level of regular expression validation.")},events:{validate:f("This event is used to define a custom validation function.")},contextVars:{$value:f(`The context variable represents the current value of the \`${Kr}\`. It can be used in expressions and code snippets within the \`${Kr}\` instance.`),$setValue:f(`This function can be invoked to set the \`${Kr}\` instance's value. The function has a single argument, the new value to set.`),$validationResult:f(`This variable represents the result of the latest validation of the \`${Kr}\` instance.`)},themeVars:pA(Ft.themeVars),defaultThemeVars:{"color-text-FormItemLabel":"$color-text-primary","font-size-FormItemLabel":"$font-size-small","font-weight-FormItemLabel":"$font-weight-medium","font-style-FormItemLabel":"normal","transform-text-FormItemLabel":"none","color-text-FormItemLabel-requiredMark":"$color-danger-400"}}),V9=AA(Kr,j9,({node:A,renderChild:e,extractValue:t,layoutCss:o,lookupEventHandler:r,lookupAction:n,registerComponentApi:i})=>{const{bindTo:s,autoFocus:a,label:l,labelPosition:c,labelWidth:B,labelBreak:Q,enabled:u,required:d,type:C,requiredInvalidMessage:h,minLength:I,maxLength:p,lengthInvalidMessage:D,lengthInvalidSeverity:m,minValue:k,maxValue:N,rangeInvalidMessage:L,rangeInvalidSeverity:M,pattern:F,patternInvalidMessage:v,patternInvalidSeverity:y,regex:P,regexInvalidMessage:b,regexInvalidSeverity:_,customValidationsDebounce:q,validationMode:J,maxTextLength:z,...T}=A.props,S=t({required:t.asOptionalBoolean(d),requiredInvalidMessage:t.asOptionalString(h),minLength:t.asOptionalNumber(I),maxLength:t.asOptionalNumber(p),lengthInvalidMessage:t.asOptionalString(D),lengthInvalidSeverity:Na(t.asOptionalString(m)),minValue:t.asOptionalNumber(k),maxValue:t.asOptionalNumber(N),rangeInvalidMessage:t.asOptionalString(L),rangeInvalidSeverity:Na(t.asOptionalString(M)),pattern:t.asOptionalString(F),patternInvalidMessage:t.asOptionalString(v),patternInvalidSeverity:Na(t.asOptionalString(y)),regex:t.asOptionalString(P),regexInvalidMessage:t.asOptionalString(b),regexInvalidSeverity:Na(t.asOptionalString(_))}),G=o?Object.fromEntries(Object.entries(T).filter(([tA,uA])=>!(o!=null&&o.hasOwnProperty(tA)))):T,Y=t(G),U=t.asOptionalString(C),V=U===void 0&&!!A.children;return g.jsx(W9,{style:o,labelBreak:t.asOptionalBoolean(Q),labelWidth:t.asOptionalString(B),bindTo:t.asString(s),autoFocus:t.asOptionalBoolean(a),enabled:t.asOptionalBoolean(u),label:t.asOptionalString(l),labelPosition:t.asOptionalString(c),type:V?"custom":U,validations:S,onValidate:r("validate"),customValidationsDebounce:t.asOptionalNumber(q),validationMode:t.asOptionalString(J),registerComponentApi:i,maxTextLength:t(z),...Y,children:V?g.jsx($9,{renderChild:e,node:A,bindTo:t.asString(s)}):e(A.children,{type:U})})}),Br="TextBox",H0=Z({status:"experimental",description:`The \`${Br}\` is an input component that allows users to input and edit textual data.`,props:{placeholder:Fr(),initialValue:Zt(),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Br),labelBreak:sr(Br),maxLength:ui(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),startText:uu(),startIcon:Eu(),endText:du(),endIcon:Cu()},events:{gotFocus:wt(Br),lostFocus:ft(Br),didChange:lt(Br)},apis:{focus:Eo(Br),value:f("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Uo()},themeVars:pA(eo.themeVars),defaultThemeVars:{"radius-Input":"$radius","color-text-Input":"$color-text-primary","color-bg-Input--disabled":"$color-bg--disabled","thickness-border-Input":"1px","min-height-Input":"39px","padding-Input":"$space-2","style-border-Input":"solid","color-border-Input--disabled":"$color-border--disabled","color-text-Input--disabled":"$color-text--disabled","color-border-Input-error":"$color-border-Input-default--error","color-border-Input-warning":"$color-border-Input-default--warning","color-border-Input-success":"$color-border-Input-default--success","color-placeholder-Input":"$color-text-subtitle","color-adornment-Input":"$color-text-subtitle","color-outline-Input--focus":"$color-outline--focus","thickness-outline-Input--focus":"$thickness-outline--focus","style-outline-Input--focus":"$style-outline--focus","offset-outline-Input--focus":"$offset-outline--focus",light:{},dark:{}}});function U0(A,e,t,o,r,n,i,s="text"){return g.jsx(Fa,{type:s,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:i,startText:o.asOptionalString(r.props.startText),startIcon:o.asOptionalString(r.props.startIcon),endText:o.asOptionalString(r.props.endText),endIcon:o.asOptionalString(r.props.endIcon),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 X9=AA(Br,H0,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:i})=>U0(n,e,t,r,A,o,i)),Z9=Z({...H0,description:"The `Password` component is a specialized version of the `TextBox` component that allows users to input and edit passwords."}),AD=AA("PasswordInput",Z9,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:i})=>U0(n,e,t,r,A,o,i,"password"));function R0(A){return"data"in A}async function eD(A){let e;if(R0(A))e=A.data;else try{e=await A.clone().json()}catch{try{e=await A.clone().text()}catch{console.error("Failed to parse response as text or JSON",A.body)}}return e}function vc({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=>{vc({key:A,value:r},t,o)}):QA.isPlainObject(e)?Object.entries(e).forEach(([r,n])=>{const i=`${o}.${r}`;vc({key:i,value:n},t,i)}):t.append(A,e.toString())}}class Mi{constructor(e){var n;this.execute=async({abortSignal:i,operation:s,params:a,parseOptions:l,resolveBindingExpressions:c=!1,transactionId:B=Qg(),onProgress:Q})=>await this.executeOperation({operation:s,abortSignal:i,contextParams:a,resolveBindingExpressions:c,parseResponse:l!=null&&l.asFile?async u=>{var C;let d=s.fileName||"unknown";if(u.headers&&u.headers.get&&typeof u.headers.get=="function"){const h=(C=u.headers.get("Content-Disposition"))==null?void 0:C.toString();if(h){const I=h.match(/filename="(.+)"/);I&&I.length===2&&(d=I[1])}}return R0(u)?u.data:new File([await u.clone().blob()],d)}:void 0,transactionId:B,onUploadProgress:Q}),this.upload=async({operation:i,params:s={},chunk:a,onUploadProgress:l,abortSignal:c,transactionId:B=Qg(),resolveBindingExpressions:Q=!1})=>{const{file:u,asForm:d,formParams:C}=this.extractParam(Q,i,s),h={chunkStart:a==null?void 0:a.chunkStart,chunkEnd:a?(a==null?void 0:a.chunkEnd)-1:void 0,chunkLength:a?(a==null?void 0:a.chunkEnd)-(a==null?void 0:a.chunkStart):void 0,fileSize:u.size,urlSafeName:encodeURIComponent(u.name),fileName:u.name},I={...s,$uploadParams:h};if(d){const p=new FormData;return p.append(u.name,(a==null?void 0:a.blob)||u),C&&Object.entries(this.extractParam(Q,C,s)).forEach(([D,m])=>{p.append(D,m)}),await this.executeOperation({operation:i,contextParams:I,resolveBindingExpressions:Q,rawBody:p,headers:{...this.extractParam(Q,i.headers||{},I),"Content-Type":void 0},onUploadProgress:l,abortSignal:c,transactionId:B})}return new Promise((p,D)=>{const m=new FileReader;m.readAsArrayBuffer((a==null?void 0:a.blob)||u),m.onload=async k=>{try{if(k.target===null){D();return}p(await this.executeOperation({operation:i,contextParams:I,resolveBindingExpressions:Q,rawBody:k.target.result,headers:{...this.extractParam(Q,i.headers||{},I),"Content-Type":u.type},onUploadProgress:l,abortSignal:c,transactionId:B}))}catch(N){D(N)}},m.onerror=()=>{D()}})},this.resolveUrl=({operation:i,params:s={},resolveBindingExpressions:a=!1})=>this.generateFullApiUrl(this.extractParam(a,i.url,s),this.extractParam(a,i.queryParams,s)),this.extractParam=(i,s,a={},l)=>{var B,Q;const c={$adapterConfig:this.config,...a};if(i)return _A(c,s,this.appContext,l);if(s!=null&&s._ARROW_EXPR_){const u={eventArgs:[c]};try{return yg([{type:"ArrowS",expression:s}],u),(Q=(B=u.mainThread)==null?void 0:B.blocks)!=null&&Q.length?u.mainThread.blocks[u.mainThread.blocks.length-1].returnValue:void 0}catch(d){console.error(d);return}}return s},this.executeOperation=async({operation:i,contextParams:s,abortSignal:a,resolveBindingExpressions:l,relativePath:c=this.extractParam(l,i.url,s),method:B=this.extractParam(l,i.method,s),queryParams:Q=this.extractParam(l,i.queryParams,s),body:u=this.extractParam(l,i.body,s,!0),rawBody:d=this.extractParam(l,i.rawBody,s),headers:C=this.extractParam(l,i.headers,s),payloadType:h=this.extractParam(l,i.payloadType,s)||"json",onUploadProgress:I,parseResponse:p=this.tryParseResponse,transactionId:D})=>{const m=B&&B!=="get"&&!!D,k={...this.getHeaders(),"Content-Type":void 0},N=QA.omitBy({...u?this.getHeaders():k,...C},QA.isUndefined);m&&(N["x-ue-client-tx-id"]=D);let L;if(d)L=d;else if(h==="multipart-form"||h==="form"){const F=new FormData;Object.entries(u).forEach(([v,y])=>{vc({key:v,value:y},F)}),h==="multipart-form"?(L=F,delete N["Content-Type"]):(L=new URLSearchParams(F).toString(),N["Content-Type"]="application/x-www-form-urlencoded")}else L=u?JSON.stringify(u):void 0;const M={method:B,headers:N,signal:a,body:L};if(I){console.log("Falling back to axios. Reason: onUploadProgress specified");const F=(await import("axios")).default;try{const v=await F.request({url:this.generateFullApiUrl(c,Q),method:M.method,headers:N,data:M.body,onUploadProgress:I});return await p(v)}catch(v){throw F.isAxiosError(v)&&v.response?await this.raiseError(v.response):v}}else{const F=await fetch(this.generateFullApiUrl(c,Q),M);if(!F.clone().ok)throw await this.raiseError(F);return await p(F.clone())}},this.tryParseResponse=async i=>await eD(i),this.raiseError=async i=>{if("config"in i)try{return new Xs(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 Xs(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,this.config={apiUrl:o,errorResponseTransform:r,headers:{...(n=e==null?void 0:e.appGlobals)==null?void 0:n.headers}}}generateFullApiUrl(e,t){let o="";if(t){const r=new URLSearchParams;Object.entries(t).forEach(([n,i])=>{Array.isArray(i)?i.forEach(s=>{r.append(n,s)}):i!==void 0&&r.append(n,i)}),o=`?${r}`}return e.startsWith("http://")||e.startsWith("https://")?`${e}${o}`:`${this.config.apiUrl||""}${e}${o}`}}class tD{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 Mi(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 ln(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 Ra={};function oD(A,e){return Ra[A]||(Ra[A]=new tD(A,e)),Ra[A].refreshAppContext(e),Ra[A]}function rD({url:A,onEvent:e}){const t=_t();return E.useEffect(()=>{const o=oD(A,t),r=n=>{n.forEach(i=>{e==null||e(i)})};return o.subscribe(r),()=>{o.unsubscribe(r)}},[t,e,A]),null}const Y0="RealTimeAdapter",nD=Z({status:"experimental",description:`\`${Y0}\` is a non-visual component that listens to real-time events through long-polling.`,props:{url:f("This property specifies the URL to use for long-polling.")},events:{eventArrived:f("This event is raised when data arrives from the backend using long-polling.")}}),iD=AA(Y0,nD,({node:A,lookupEventHandler:e,extractValue:t})=>g.jsx(rD,{url:t(A.props.url),onEvent:e("eventArrived")})),K0="Form",sD=Z({status:"experimental",description:`A \`${K0}\` is a fundamental component that displays user interfaces that allow users to input (or change) data and submit it to the app (a server) for further processing.`,props:{buttonRowTemplate:se("This property allows defining a custom component to display the buttons at the bottom of the form."),itemLabelPosition:f("This property sets the position of the item labels within the form.Individual `FormItem` instances can override this property.",N1,"string","top"),itemLabelWidth:f("This property sets the width of the item labels within the form. Individual `FormItem` instances can override this property."),itemLabelBreak:f("This boolean value indicates if form item labels can be split into multiple lines if it would overflow the available label width. Individual `FormItem` instances can override this property."),keepModalOpenOnSubmit:f("This property prevents the modal from closing when the form is submitted."),data:f("This property sets the initial value of the form's data structure. The form infrastructure uses this value to set the initial state of form items within the form."),cancelLabel:f('This property defines the label of the Cancel button, by default, "Cancel".'),saveLabel:f('This property defines the label of the Save button, by default, "Save".'),saveInProgressLabel:f("This property defines the label of the Save button to display during the form data submit (save) operation. By default, the value of `saveLabel`."),swapCancelAndSave:f("By default, the Cancel button is to the left of the Save button. Set this property to `true` to swap them or `false` to keep their original location."),submitUrl:f("URL to submit the form data."),submitMethod:f("HTTP method to use when submitting the form data."),enabled:f("Whether the form is enabled or not. The default value is `true`."),_data_url:_r("when we have an api bound data prop, we inject the url here")},events:{submit:f("The form infrastructure fires this event when the form is submitted. The event argument is the current `data` value to save."),cancel:f("The form infrastructure fires this event when the form is canceled."),reset:f("The form infrastructure fires this event when the form is reset.")},contextVars:{$data:f("This property represents the value of the form data. You can access the fields of the form using the IDs in the `bindTo` property of nested `FormItem` instances.")},themeVars:pA(mc.themeVars),defaultThemeVars:{"gap-Form":"$space-4","gap-buttonRow-Form":"$space-4",light:{"color-bg-ValidationDisplay-error":"$color-danger-100","color-bg-ValidationDisplay-warning":"$color-warn-100","color-bg-ValidationDisplay-info":"$color-primary-100","color-bg-ValidationDisplay-valid":"$color-success-100","color-accent-ValidationDisplay-error":"$color-error","color-accent-ValidationDisplay-warning":"$color-warning","color-accent-ValidationDisplay-info":"$color-info","color-accent-ValidationDisplay-valid":"$color-valid","color-text-ValidationDisplay-error":"$color-error","color-text-ValidationDisplay-warning":"$color-warning","color-text-ValidationDisplay-info":"$color-info","color-text-ValidationDisplay-valid":"$color-valid"},dark:{"color-bg-ValidationDisplay-error":"$color-danger-900","color-bg-ValidationDisplay-warning":"$color-warn-900","color-bg-ValidationDisplay-info":"$color-secondary-800","color-bg-ValidationDisplay-valid":"$color-success-900","color-accent-ValidationDisplay-error":"$color-danger-500","color-accent-ValidationDisplay-warning":"$color-warn-700","color-accent-ValidationDisplay-info":"$color-surface-200","color-accent-ValidationDisplay-valid":"$color-success-600","color-text-ValidationDisplay-error":"$color-danger-500","color-text-ValidationDisplay-warning":"$color-warn-700","color-text-ValidationDisplay-info":"$color-secondary-200","color-text-ValidationDisplay-valid":"$color-success-600"}}}),aD=AA(K0,sD,({node:A,renderChild:e,extractValue:t,layoutCss:o,lookupEventHandler:r,registerComponentApi:n})=>g.jsx(Y9,{node:A,renderChild:e,extractValue:t,lookupEventHandler:r,layoutCss:o,registerComponentApi:n})),lD=({select:A=vA,theme:e=rg.Theme.LIGHT,autoFocus:t=!1})=>g.jsx(rg,{autoFocusSearch:t,onEmojiClick:async o=>{await A(o.emoji)},lazyLoadEmojis:!0,theme:e,previewConfig:{showPreview:!1},skinTonesDisabled:!0,height:360,emojiStyle:rg.EmojiStyle.NATIVE}),O0="EmojiSelector",gD=Z({status:"experimental",description:`The \`${O0}\` component provides users with a graphical interface to browse, search and select emojis to insert into text fields, messages, or other forms of communication.`,props:{autoFocus:Dt()},events:{select:f("This event is fired when the user selects an emoticon from this component.")}}),cD=AA(O0,gD,({node:A,lookupEventHandler:e,extractValue:t})=>{const o=e("select"),r=ce();return g.jsx(lD,{select:o,theme:r.activeThemeTone,autoFocus:t.asOptionalBoolean(A.props.autoFocus)})}),Qr="NumberBox",BD=Z({status:"experimental",description:`A \`${Qr}\` 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:Fr(),initialValue:Zt(),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Qr),labelBreak:sr(Qr),maxLength:ui(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),startText:uu(),startIcon:Eu(),endText:du(),endIcon:Cu(),hasSpinBox:f("This boolean prop shows (`true`) or hides (`false`) the spinner buttons for the input field.",null,"boolean",!0),step:f("This prop governs how big the step when clicking on the spinner of the field.",null,"number"),integersOnly:f("This boolean property signs whether the input field accepts integers only (`true`) or not (`false`).",null,"boolean",!1),zeroOrPositive:f("This boolean property determines whether the input value can only be 0 or positive numbers (`true`) or also negative (`false`).",null,"boolean",!1),minValue:f("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:f("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:wt(Qr),lostFocus:ft(Qr),didChange:lt(Qr)},apis:{focus:Eo(Qr),value:Ug(),setValue:Uo()},themeVars:pA(et.themeVars)}),QD=AA(Qr,BD,({node:A,state:e,updateState:t,lookupEventHandler:o,extractValue:r,layoutCss:n,registerComponentApi:i})=>g.jsx(B0,{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:i,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),endIcon:r.asOptionalString(A.props.endIcon),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)})),uD=({triggerTemplate:A,children:e})=>{const{root:t}=ce();return g.jsxs(Fs.Root,{openDelay:100,closeDelay:100,children:[g.jsx(Fs.Trigger,{children:A}),g.jsx(Fs.Portal,{container:t,children:g.jsx(Fs.Content,{side:"bottom",sideOffset:5,children:e})})]})},ED="HoverCard",dD=Z({status:"deprecated",description:"(**OBSOLETE**) This component displays some content when its parent component is hovered.",props:{triggerTemplate:se("The component that opens the hover card when hovered.")}}),CD=AA(ED,dD,({node:A,extractValue:e,renderChild:t})=>g.jsx(uD,{triggerTemplate:t(e(A.props.triggerTemplate)),children:t(A.children)})),ur="App",hD=Z({status:"stable",description:`The \`${ur}\` component provides a UI frame for XMLUI apps. According to predefined (and run-time configurable) structure templates, \`${ur}\` allows you to display your preferred layout.`,props:{layout:f("This property sets the layout template of the app. This setting determines the position and size of the app parts (such as header, navigation bar, footer, etc.) and the app's scroll behavior.",f6),loggedInUser:f("Stores information about the currently logged in user."),logoTemplate:se("Optional template of the app logo"),logo:f("Optional logo path"),"logo-dark":f("Optional logo path in dark tone"),"logo-light":f("Optional logo path in light tone"),name:f("Optional application name (visible in the browser tab)"),scrollWholePage:f("This boolean property specifies whether the whole page should scroll (`true`) or just the content area (`false`). The default value is `true`.",null,"boolean",!0),noScrollbarGutters:f("This boolean property specifies whether the scrollbar gutters should be hidden.",null,"boolean",!1),defaultTone:f(`This property sets the app's default tone ("light" or "dark").`,null,"string","light"),defaultTheme:f("This property sets the app's default theme.",null,"string","xmlui")},events:{ready:f(`This event fires when the \`${ur}\` component finishes rendering on the page.`)},themeVars:pA(bA.themeVars),defaultThemeVars:{[`width-navPanel-${ur}`]:"$space-64",[`max-content-width-${ur}`]:"$max-content-width",[`shadow-header-${ur}`]:"$shadow-spread",[`shadow-pages-${ur}`]:"$shadow-spread",light:{},dark:{}}}),ID=AA(ur,hD,({node:A,extractValue:e,renderChild:t,layoutCss:o,lookupEventHandler:r})=>{var c;let n,i,s;const a=[];(c=A.children)==null||c.forEach(B=>{B.type==="AppHeader"?n=B:B.type==="Footer"?i=B:B.type==="NavPanel"?s=B:a.push(B)});const l=e(A.props.layout);return g.jsx(N6,{scrollWholePage:e.asOptionalBoolean(A.props.scrollWholePage,!0),noScrollbarGutters:e.asOptionalBoolean(A.props.noScrollbarGutters,!1),style:o,layout:l,loggedInUser:e(A.props.loggedInUser),onReady:r("ready"),header:t(n),footer:t(i),navPanel:t(s),navPanelDef:s,logoContentDef:A.props.logoTemplate,renderChild:t,name:e(A.props.name),logo:e(A.props.logo),logoDark:e(A.props["logo-dark"]),logoLight:e(A.props["logo-light"]),defaultTone:e(A.props.defaultTone),defaultTheme:e(A.props.defaultTheme),children:t(a)})}),fo="NavPanel",pD=Z({description:`\`${fo}\` is a placeholder within \`App\` to define the app's navigation (menu) structure.`,props:{logoTemplate:se("This property defines the logo template to display in the navigation panel with the `vertical` and `vertical-sticky` layout.")},themeVars:pA(po.themeVars),defaultThemeVars:{[`color-bg-${fo}`]:"transparent",...Ac(fo,{}),[`padding-horizontal-${fo}`]:"$space-4",[`padding-vertical-logo-${fo}`]:"$space-4",[`padding-horizontal-logo-${fo}`]:"$space-4",[`margin-bottom-logo-${fo}`]:"$space-4",light:{[`shadow-${fo}-vertical`]:"4px 0 4px 0 rgb(0 0 0 / 10%)"},dark:{[`shadow-${fo}-vertical`]:"4px 0 6px 0 rgba(0, 0, 0, 0.2)"}}}),wD=AA(fo,pD,({node:A,renderChild:e,layoutCss:t,layoutContext:o})=>g.jsx(L6,{style:t,logoContent:e(A.props.logoTemplate),className:o==null?void 0:o.themeClassName,inDrawer:o==null?void 0:o.inDrawer,renderChild:e,children:e(A.children)})),fD={wrapper:"_wrapper_1gpge_13"};function DD({childRoute:A=Be,renderChild:e,layoutContext:t,style:o,uid:r}){const n=We.useParams(),i=E.useMemo(()=>Array.isArray(A)?{type:"Fragment",uid:r,vars:GA,children:A}:{type:"Fragment",uid:r,vars:GA,children:[A]},[A,r]),s=E.useMemo(()=>{const{padding:a,paddingLeft:l,paddingRight:c,paddingTop:B,paddingBottom:Q,...u}=o;return{...u,"--page-padding-left-override":a||l,"--page-padding-right-override":a||c,"--page-padding-top-override":a||B,"--page-padding-bottom-override":a||Q}},[o]);return g.jsx("div",{className:Ge(fD.wrapper,"xmlui-page-root"),style:s,children:e(i,t)},JSON.stringify(n))}function mD({node:A,renderChild:e,extractValue:t,defaultRoute:o}){var i;const r=[],n=[];return(i=A.children)==null||i.forEach(s=>{s.type==="Page"?r.push(s):n.push(s)}),g.jsxs(g.Fragment,{children:[g.jsxs(We.Routes,{children:[r.map((s,a)=>g.jsx(We.Route,{path:t(s.props.url),element:e(s)},a)),!!o&&g.jsx(We.Route,{path:"*",element:g.jsx(We.Navigate,{to:o,replace:!0})})]}),e(n)]})}const yc="Page",xD=Z({status:"stable",docFolder:yc,description:`The \`${yc}\` component defines what content is displayed when the user navigates to a particular URL that is associated with the page.`,props:{url:f("The URL of the route associated with the content.")}}),vD=AA(yc,xD,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>g.jsx(z6,{children:g.jsx(DD,{childRoute:A.children,uid:A.uid,renderChild:t,style:o},e(A.props.url))})),J0="Pages",yD=Z({description:`The \`${J0}\` component is used as a container for [\`Page\`](./Page.mdx) components within an [\`App\`](./App.mdx).`,props:{defaultRoute:f("The default route when displaying the app")}}),bD=AA(J0,yD,({node:A,extractValue:e,renderChild:t})=>g.jsx(mD,{defaultRoute:e(A.props.defaultRoute),node:A,renderChild:t,extractValue:e})),Ya={themeVars:`'{"padding-horizontal-Footer": "var(--xmlui-padding-horizontal-Footer)", "padding-vertical-Footer": "var(--xmlui-padding-vertical-Footer)", "padding-top-Footer": "var(--xmlui-padding-top-Footer)", "padding-bottom-Footer": "var(--xmlui-padding-bottom-Footer)", "padding-left-Footer": "var(--xmlui-padding-left-Footer)", "padding-right-Footer": "var(--xmlui-padding-right-Footer)", "padding-Footer": "var(--xmlui-padding-Footer)", "color-border-horizontal-Footer": "var(--xmlui-color-border-horizontal-Footer)", "thickness-border-horizontal-Footer": "var(--xmlui-thickness-border-horizontal-Footer)", "style-border-horizontal-Footer": "var(--xmlui-style-border-horizontal-Footer)", "color-border-vertical-Footer": "var(--xmlui-color-border-vertical-Footer)", "thickness-border-vertical-Footer": "var(--xmlui-thickness-border-vertical-Footer)", "style-border-vertical-Footer": "var(--xmlui-style-border-vertical-Footer)", "color-border-left-Footer": "var(--xmlui-color-border-left-Footer)", "thickness-border-left-Footer": "var(--xmlui-thickness-border-left-Footer)", "style-border-left-Footer": "var(--xmlui-style-border-left-Footer)", "color-border-right-Footer": "var(--xmlui-color-border-right-Footer)", "thickness-border-right-Footer": "var(--xmlui-thickness-border-right-Footer)", "style-border-right-Footer": "var(--xmlui-style-border-right-Footer)", "color-border-top-Footer": "var(--xmlui-color-border-top-Footer)", "thickness-border-top-Footer": "var(--xmlui-thickness-border-top-Footer)", "style-border-top-Footer": "var(--xmlui-style-border-top-Footer)", "color-border-bottom-Footer": "var(--xmlui-color-border-bottom-Footer)", "thickness-border-bottom-Footer": "var(--xmlui-thickness-border-bottom-Footer)", "style-border-bottom-Footer": "var(--xmlui-style-border-bottom-Footer)", "color-border-Footer": "var(--xmlui-color-border-Footer)", "thickness-border-Footer": "var(--xmlui-thickness-border-Footer)", "style-border-Footer": "var(--xmlui-style-border-Footer)", "radius-Footer": "var(--xmlui-radius-Footer)", "color-bg-Footer": "var(--xmlui-color-bg-Footer)", "color-text-Footer": "var(--xmlui-color-text-Footer)", "height-Footer": "var(--xmlui-height-Footer)", "font-size-Footer": "var(--xmlui-font-size-Footer)", "align-vertical-Footer": "var(--xmlui-align-vertical-Footer)", "max-content-width-Footer": "var(--xmlui-max-content-width-Footer)"}'`,outerWrapper:"_outerWrapper_188xu_13",wrapper:"_wrapper_188xu_34",full:"_full_188xu_50"};function kD({children:A,style:e,className:t}){const{layout:o}=En()||{},r=o!=="vertical-full-header";return g.jsx("div",{className:Ya.outerWrapper,children:g.jsx("div",{className:cA(Ya.wrapper,t,{[Ya.full]:!r}),style:e,children:A})})}const $o="Footer",MD=Z({description:`The \`${$o}\` is a component that acts as a placeholder within \`App\`.`,themeVars:pA(Ya.themeVars),defaultThemeVars:{[`color-bg-${$o}`]:"$color-bg-AppHeader",[`align-vertical-${$o}`]:"center",[`font-size-${$o}`]:"$font-size-small",[`color-text-${$o}`]:"$color-text-secondary",[`max-content-width-${$o}`]:"$max-content-width",...ba($o,{horizontal:"$space-4",vertical:"$space-2"}),...Ac($o,{top:{color:"$color-border",thickness:"1px",style:"solid"}}),light:{},dark:{}}}),ND=AA($o,MD,({node:A,renderChild:e,layoutCss:t,layoutContext:o})=>g.jsx(kD,{style:t,className:o==null?void 0:o.themeClassName,children:e(A.children,{type:"Stack",orientation:"horizontal"})})),Ka={themeVars:`'{"color-bg-dropdown-NavGroup": "var(--xmlui-color-bg-dropdown-NavGroup)", "shadow-dropdown-NavGroup": "var(--xmlui-shadow-dropdown-NavGroup)", "radius-dropdown-NavGroup": "var(--xmlui-radius-dropdown-NavGroup)"}'`,dropdownList:"_dropdownList_1i6dc_13",withNavGroupChevron:"_withNavGroupChevron_1i6dc_32",pointRight:"_pointRight_1i6dc_48"},Oa=E.createContext({level:-1}),_D=E.forwardRef(function({node:e,style:t,label:o,icon:r,renderChild:n,to:i},s){const{level:a}=E.useContext(Oa),l=En(),c=E.useContext(Wg);let B=(l==null?void 0:l.layout)==="vertical"||(l==null?void 0:l.layout)==="vertical-sticky"||(l==null?void 0:l.layout)==="vertical-full-header";c!==null&&(B=c.inDrawer);const Q=E.useMemo(()=>({level:a+1}),[a]);return g.jsx(Oa.Provider,{value:Q,children:B?g.jsx(FD,{to:i,style:t,label:o,icon:r,node:e,renderChild:n,ref:s}):g.jsx(LD,{label:o,icon:r,node:e,renderChild:n,ref:s,to:i})})}),FD=E.forwardRef(function({style:e=GA,label:t,icon:o,renderChild:r,node:n,to:i},s){const{level:a}=E.useContext(Oa),[l,c]=E.useState(!1),B={...e,paddingLeft:a>=1?a*2+"em":void 0};return g.jsxs(g.Fragment,{children:[g.jsxs(Ci,{style:B,onClick:()=>c(Q=>!Q),icon:o,to:i,children:[t,g.jsx("div",{style:{flex:1}}),g.jsx(kA,{name:l?"chevronup":"chevrondown"})]}),l&&r(n.children,{wrapChild:({node:Q},u)=>{if(Q.type==="NavLink"){const d=u;return E.cloneElement(d,{...na(u.props,{style:{paddingLeft:(a+1)*2+"em"}})})}return u}})]})}),LD=E.forwardRef(function({style:e,label:t,icon:o,renderChild:r,node:n,to:i},s){const{level:a}=E.useContext(Oa),{root:l}=ce();let c=To.DropdownMenu,B=To.DropdownMenuTrigger,Q=To.DropdownMenuContent;return a>=1&&(c=To.DropdownMenuSub,B=To.DropdownMenuSubTrigger,Q=To.DropdownMenuSubContent),g.jsxs(c,{children:[g.jsx(B,{asChild:!0,children:g.jsx(Ci,{icon:o,style:{flexShrink:0},vertical:a>=1,to:i,children:g.jsx("span",{className:cA(Ka.withNavGroupChevron,{[Ka.pointRight]:a>=1}),children:t})})}),g.jsx(To.DropdownMenuPortal,{container:l,children:g.jsx(Q,{className:Ka.dropdownList,style:{display:"flex",flexDirection:"column"},side:"bottom",align:"start",children:r(n.children,{wrapChild:({node:u},d,C)=>{if(C!=null&&C.opaque||u.type==="List"||u.type==="NavGroup")return d;let h=d;return u.type==="NavLink"&&(h=E.cloneElement(d,{...na(d.props,{vertical:!0})})),g.jsx(To.DropdownMenuItem,{asChild:!0,children:h})}})})})]})}),Ni="NavGroup",SD=Z({description:"The `NavGroup` component is a container for grouping related navigation targets (`NavLink` components). It can be displayed as a submenu in the App's UI.",props:{label:Je(),icon:f(`This property defines an optional icon to display along with the \`${Ni}\` label.`),to:f("This property defines an optional navigation link.")},themeVars:pA(Ka.themeVars),defaultThemeVars:{[`color-bg-dropdown-${Ni}`]:"$color-bg-primary",[`radius-dropdown-${Ni}`]:"$radius",[`shadow-dropdown-${Ni}`]:"$shadow-spread"}}),PD=AA(Ni,SD,({node:A,extractValue:e,renderChild:t})=>g.jsx(_D,{label:e.asDisplayText(A.props.label),to:e.asOptionalString(A.props.to),icon:g.jsx(kA,{name:e.asString(A.props.icon),className:Ao.icon}),node:A,renderChild:t})),q0="Logo",TD=Z({status:"experimental",description:`The \`${q0}\` component represents a logo or a brand symbol. Usually, you use this component in the [\`AppHeader\`](./AppHeader.mdx#logotemplate).`}),GD=AA(q0,TD,({node:A,layoutCss:e,extractValue:t})=>g.jsx(pa,{style:e})),Or="RadioGroup",ae="RadioGroupOption",HD=Z({description:`The \`${Or}\` input component is a group of radio buttons ([\`RadioGroupOption\`](./RadioGroupOption.mdx) components) that allow users to select only one option from the group at a time.`,props:{initialValue:Zt(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),orientation:f("(*** NOT IMPLEMENTED YET ***) This property sets the orientation of the options within the radio group."),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Or),labelBreak:sr(Or)},events:{gotFocus:wt(Or),lostFocus:ft(Or),didChange:lt(Or)},themeVars:pA(Ht.themeVars),defaultThemeVars:{[`gap-${ae}`]:"$space-1_5",[`thickness-border-${ae}`]:"2px",[`color-bg-checked-${ae}--disabled]`]:`$color-border-${ae}--disabled`,[`color-bg-checked-${ae}-error`]:`$color-border-${ae}-error`,[`color-bg-checked-${ae}-warning`]:`$color-border-${ae}-warning`,[`color-bg-checked-${ae}-success`]:`$color-border-${ae}-success`,[`font-size-${ae}`]:"$font-size-small",[`font-weight-${ae}`]:"$font-weight-bold",[`color-text-${ae}-error`]:`$color-border-${ae}-error`,[`color-text-${ae}-warning`]:`$color-border-${ae}-warning`,[`color-text-${ae}-success`]:`$color-border-${ae}-success`,light:{[`color-bg-checked-${ae}-default`]:"$color-primary-500",[`color-border-${ae}-default`]:"$color-surface-500",[`color-border-${ae}-default--hover`]:"$color-surface-700",[`color-border-${ae}-default--active`]:"$color-primary-500"},dark:{[`color-bg-checked-${ae}-default`]:"$color-primary-500",[`color-border-${ae}-default`]:"$color-surface-500",[`color-border-${ae}-default--hover`]:"$color-surface-300",[`color-border-${ae}-default--active`]:"$color-primary-400"}}}),UD=AA(Or,HD,({node:A,extractValue:e,layoutCss:t,state:o,updateState:r,lookupEventHandler:n,renderChild:i,registerComponentApi:s})=>g.jsx(uc,{enabled:e.asOptionalBoolean(A.props.enabled),layout: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:s,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:i(A.children)})),RD="Slot",YD=Z({status:"experimental",description:"Placeholder in a reusable component. Signs the slot where the component's injected children should be rendered.",props:{name:f("This optional property defines the name of the slot.")},allowArbitraryProps:!0,opaque:!0}),KD=la(RD,YD),Er="FileInput",OD=Z({description:`The \`${Er}\` is a user interface component that allows users to select files from their device's file system for upload (or processing its content otherwise).`,status:"experimental",props:{placeholder:Fr(),initialValue:Zt(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),label:Je(),labelPosition:Ho("top"),labelWidth:ir(Er),labelBreak:sr(Er),buttonVariant:f("The button variant to use",U2),buttonLabel:f("This property is an optional string to set a label for the button part."),buttonIcon:f("The ID of the icon to display in the button"),buttonIconPosition:f("This optional string determines the location of the button icon.",k1),acceptsFileType:f("A list of file types the input controls accepts provided as a string array."),multiple:f("This boolean property enables to add not just one (`false`), but multiple files to the field (`true`). This is done either by dragging onto the field or by selecting multiple files in the browser menu after clicking the input field button.",null,"boolean",!1),directory:f("This boolean property indicates whether the component allows selecting directories (`true`) or files only (`false`).",null,"boolean",!1),buttonSize:f("The size of the button (small, medium, large)",aa),buttonThemeColor:f("The button color scheme (primary, secondary, attention)",G2)},events:{didChange:lt(Er),gotFocus:wt(Er),lostFocus:ft(Er)},apis:{value:f("By setting an ID for the component, you can refer to the value of the field if set. If no value is set, the value will be undefined."),setValue:f("(**NOT IMPLEMENTED YET**) You can use this method to set the component's current value programmatically."),focus:Eo(Er),open:f("This API command triggers the file browsing dialog to open.")},themeVars:pA(La.themeVars)}),JD=AA(Er,OD,({node:A,state:e,updateState:t,extractValue:o,lookupEventHandler:r,registerComponentApi:n})=>{const i=o.asString(A.props.buttonIcon);return g.jsx(c0,{enabled:o.asOptionalBoolean(A.props.enabled),variant:o(A.props.buttonVariant),buttonThemeColor:o(A.props.buttonThemeColor),buttonSize:o(A.props.buttonSize),buttonIcon:g.jsx(kA,{name:i}),buttonIconPosition:o(A.props.buttonIconPosition),buttonLabel:o.asOptionalString(A.props.buttonLabel),updateState:t,value:lc(e==null?void 0:e.value)?e==null?void 0:e.value:void 0,autoFocus:o.asOptionalBoolean(A.props.autoFocus),onDidChange:r("didChange"),onFocus:r("gotFocus"),onBlur:r("lostFocus"),validationStatus:o(A.props.validationStatus),registerComponentApi:n,multiple:o.asOptionalBoolean(A.props.multiple),directory:o.asOptionalBoolean(A.props.directory),initialValue:o(A.props.initialValue),acceptsFileType:o(A.props.acceptsFileType),label:o.asOptionalString(A.props.label),labelPosition:o(A.props.labelPosition),labelWidth:o.asOptionalString(A.props.labelWidth),labelBreak:o.asOptionalBoolean(A.props.labelBreak),required:o.asOptionalBoolean(A.props.required)})}),qD={wrapper:"_wrapper_1pv7f_13"},zD=E.lazy(()=>import("react-apexcharts")),z0={chart:{fontFamily:"inherit",sparkline:{enabled:!1},toolbar:{show:!1},animations:{enabled:!1,dynamicAnimation:{enabled:!0},animateGradually:{enabled:!0},speed:300}},dataLabels:{enabled:!1},fill:{opacity:.16,type:"solid"},stroke:{width:2,lineCap:"round",curve:"smooth"},tooltip:{theme:"dark"},grid:{strokeDashArray:4,padding:{right:0,left:-4,bottom:-4},xaxis:{lines:{show:!0}}},plotOptions:{bar:{columnWidth:"50%"}},xaxis:{labels:{},tooltip:{enabled:!1},axisBorder:{show:!1},type:"datetime"},yaxis:{labels:{padding:4}},legend:{show:!1}},WD=E.forwardRef(function({type:e,labels:t,series:o,style:r,stacked:n,showAxisLabels:i=!0,tooltipEnabled:s=!0,showLegend:a=!1},l){const c=Os({name:"color-primary-500",format:"hex"},{name:"color-primary-400",format:"hex"},{name:"color-primary-300",format:"hex"},{name:"color-primary-200",format:"hex"}),{fill:B,...Q}=z0,u=E.useMemo(()=>{let d={...Q,chart:{...Q.chart,stacked:n,sparkline:{enabled:!i}},fill:e==="area"?B:{},tooltip:{...z0.tooltip,enabled:s},colors:Object.values(c),labels:t||[],legend:{show:a}};return t||delete d.xaxis,d},[c,B,t,Q,i,n,s,e]);return g.jsx("div",{style:{...r},className:qD.wrapper,ref:l,children:g.jsx(E.Suspense,{children:!!o&&g.jsx(zD,{options:u,type:e,series:o,height:"100%",width:"100%"})})})}),$D="Chart",jD=Z({status:"deprecated",description:"(**OBSOLETE**) A chart component",props:{type:f("(**OBSOLETE**)"),labels:f("(**OBSOLETE**)"),series:f("(**OBSOLETE**)"),stacked:f("(**OBSOLETE**)"),showAxisLabels:f("(**OBSOLETE**)"),tooltipEnabled:f("(**OBSOLETE**)"),showLegend:f("(**OBSOLETE**)")}}),VD=AA($D,jD,({node:A,extractValue:e,lookupAction:t,layoutCss:o,registerComponentApi:r})=>g.jsx(WD,{type:e.asString(A.props.type),labels:e(A.props.labels),series:e(A.props.series),style:o,showLegend:e.asOptionalBoolean(A.props.showLegend),stacked:e.asOptionalBoolean(A.props.stacked),showAxisLabels:e.asOptionalBoolean(A.props.showAxisLabels),tooltipEnabled:e.asOptionalBoolean(A.props.tooltipEnabled)})),Dn="Spinner",XD=Z({description:`The \`${Dn}\` component is an animated indicator that represents a particular action in progress without a deterministic progress value.`,props:{delay:f("The delay in milliseconds before the spinner is displayed."),fullScreen:f("If set to `true`, the component will be rendered in a full screen container."),themeColor:f("(**NOT IMPLEMENTED YET**) The theme color of the component.")},themeVars:pA(Kg.themeVars),defaultThemeVars:{[`size-${Dn}`]:"$space-10",[`thickness-${Dn}`]:"$space-0_5",light:{[`color-border-${Dn}`]:"$color-surface-400"},dark:{[`color-border-${Dn}`]:"$color-surface-600"}}}),ZD=AA(Dn,XD,({node:A,layoutCss:e,extractValue:t})=>(delete e.width,delete e.minWidth,delete e.maxWidth,delete e.height,delete e.minHeight,delete e.maxHeight,g.jsx(ha,{style:e,delay:t.asOptionalNumber(A.props.delay),fullScreen:t.asOptionalBoolean(A.props.fullScreen)}))),mn={themeVars:`'{"color-border-HorizontalRule": "var(--xmlui-color-border-HorizontalRule)", "thickness-border-HorizontalRule": "var(--xmlui-thickness-border-HorizontalRule)", "style-border-HorizontalRule": "var(--xmlui-style-border-HorizontalRule)", "color-bg-Blockquote": "var(--xmlui-color-bg-Blockquote)", "accent-Blockquote": "var(--xmlui-accent-Blockquote)", "radius-Blockquote": "var(--xmlui-radius-Blockquote)", "shadow-Blockquote": "var(--xmlui-shadow-Blockquote)", "padding-Blockquote": "var(--xmlui-padding-Blockquote)", "margin-Blockquote": "var(--xmlui-margin-Blockquote)", "padding-left-UnorderedList": "var(--xmlui-padding-left-UnorderedList)", "padding-left-OrderedList": "var(--xmlui-padding-left-OrderedList)", "padding-left-ListItem": "var(--xmlui-padding-left-ListItem)", "color-marker-ListItem": "var(--xmlui-color-marker-ListItem)"}'`,horizontalRule:"_horizontalRule_y1wfd_13",blockquote:"_blockquote_y1wfd_17",unorderedList:"_unorderedList_y1wfd_37",orderedList:"_orderedList_y1wfd_43",listItem:"_listItem_y1wfd_49"},Am=E.memo(function({removeIndents:e=!1,children:t,layout:o}){if(typeof t!="string")return null;t=e?em(t):t;const r={textAlign:o==null?void 0:o.textAlign};return g.jsx(l4,{components:{h1({id:n,children:i}){return g.jsx(Ko,{uid:n,layout:r,level:"h1",sx:{lineHeight:"initial"},children:i})},h2({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h2",sx:{lineHeight:"initial"},children:i})},h3({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h3",sx:{lineHeight:"initial"},children:i})},h4({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h4",sx:{lineHeight:"initial"},children:i})},h5({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h5",sx:{lineHeight:"initial"},children:i})},h6({id:n,children:i}){return g.jsx(Ko,{uid:n,level:"h6",sx:{lineHeight:"initial"},children:i})},p({id:n,children:i}){return g.jsx(qe,{uid:n,layout:r,children:i})},code({id:n,children:i}){return g.jsx(qe,{uid:n,variant:"code",children:i})},pre({id:n,children:i}){return g.jsx(qe,{uid:n,variant:"codefence",children:i})},strong({id:n,children:i}){return g.jsx(qe,{uid:n,variant:"strong",children:i})},em({id:n,children:i}){return g.jsx(qe,{uid:n,variant:"em",children:i})},blockquote({children:n}){return g.jsx(om,{layout:r,children:n})},ol({children:n}){return g.jsx(nm,{layout:r,children:n})},ul({children:n}){return g.jsx(rm,{layout:r,children:n})},li({children:n}){return g.jsx(im,{layout:r,children:n})},hr(){return g.jsx(tm,{})},a({href:n,children:i}){return g.jsx($g,{to:n||"/",children:i})},img({src:n,alt:i}){return g.jsx(zg,{src:n,alt:i})}},children:t})});function em(A){const e=A.split(`
83
83
  `),t=e.reduce((r,n)=>{const i=n.match(/^\s*/),s=i?i[0].length:0;return n.trim()?Math.min(r,s):r},1/0);return e.map(r=>r.startsWith(" ".repeat(t))?r.slice(t):r).join(`
84
84
  `)}const tm=()=>g.jsx("hr",{className:mn.horizontalRule}),om=({children:A,layout:e})=>g.jsx("blockquote",{className:mn.blockquote,style:e,children:A}),rm=({children:A,layout:e})=>g.jsx("ul",{className:mn.unorderedList,style:e,children:A}),nm=({children:A,layout:e})=>g.jsx("ol",{className:mn.orderedList,style:e,children:A}),im=({children:A,layout:e})=>g.jsx("li",{className:mn.listItem,style:e,children:A}),W0="Markdown",sm=Z({description:`\`${W0}\` displays plain text styled using markdown syntax.`,themeVars:pA(mn.themeVars),props:{content:f("This property sets the markdown content to display."),removeIndents:f("This boolean property specifies whether leading indents should be removed from the markdown content. If set to `true`, the shortest indent found at the start of the content lines is removed from the beginning of every line.",null,"boolean",!1)},defaultThemeVars:{"color-border-HorizontalRule":"$color-border","thickness-border-HorizontalRule":"1px","style-border-HorizontalRule":"solid","accent-Blockquote":"$color-primary","padding-Blockquote":"$space-2 $space-6","margin-Blockquote":"$space-2","padding-left-UnorderedList":"$space-6","padding-left-OrderedList":"$space-6","padding-left-ListItem":"$space-1",light:{},dark:{}}}),am=AA(W0,sm,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>{const r=e.asString(A.props.content);return g.jsx(Am,{layout:o,removeIndents:e.asOptionalBoolean(A.props.removeIndents,!1),children:r||t(A.children)})}),jA="Select",lm=Z({description:"Provides a dropdown with a list of options to choose from.",status:"experimental",props:{placeholder:Fr(),initialValue:Zt(),maxLength:ui(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),label:Je(),labelPosition:Ho("top"),labelWidth:ir(jA),labelBreak:sr(jA),optionLabelTemplate:se("This property allows replacing the default template to display an option in the dropdown list."),valueTemplate:se("This property allows replacing the default template to display a selected value when multiple selections (`multiSelect` is `true`) are enabled."),dropdownHeight:f("This property sets the height of the dropdown list."),emptyListTemplate:f("This optional property provides the ability to customize what is displayed when the list of options is empty."),multiSelect:Bu(),searchable:f("This property enables the search functionality in the dropdown list.")},events:{gotFocus:wt(jA),lostFocus:ft(jA),didChange:lt(jA)},apis:{focus:Eo(jA),setValue:Uo(),value:Ug()},contextVars:{$item:f("This property represents the value of an item in the dropdown list."),$itemContext:f("This property provides a `removeItem` method to delete the particular value from the selection.")},themeVars:pA(te.themeVars),defaultThemeVars:{[`color-bg-menu-${jA}`]:"$color-bg-primary",[`shadow-menu-${jA}`]:"$shadow-md",[`radius-menu-${jA}`]:"$radius",[`thickness-border-menu-${jA}`]:"1px",[`color-border-menu-${jA}`]:"$color-border",[`color-bg-item-${jA}`]:"$color-bg-dropdown-item",[`color-bg-item-${jA}--hover`]:"$color-bg-dropdown-item--active",[`color-bg-item-${jA}--active`]:"$color-bg-dropdown-item--active","min-height-Input":"39px",[`color-bg-${jA}-badge`]:"$color-primary-500",[`font-size-${jA}-badge`]:"$font-size-small",[`padding-horizontal-${jA}-badge`]:"$space-1",[`padding-vertical-${jA}-badge`]:"$space-1",[`opacity-text-item-${jA}--disabled`]:"0.5",[`opacity-${jA}--disabled`]:"0.5",light:{[`color-bg-${jA}-badge--hover`]:"$color-primary-400",[`color-bg-${jA}-badge--active`]:"$color-primary-500",[`color-text-item-${jA}--disabled`]:"$color-surface-200",[`color-text-${jA}-badge`]:"$color-surface-50"},dark:{[`color-bg-${jA}-badge--hover`]:"$color-primary-600",[`color-bg-${jA}-badge--active`]:"$color-primary-500",[`color-text-${jA}-badge`]:"$color-surface-50",[`color-text-item-${jA}--disabled`]:"$color-surface-800"}}}),gm=AA(jA,lm,({node:A,state:e,updateState:t,extractValue:o,renderChild:r,lookupEventHandler:n,layoutCss:i,registerComponentApi:s})=>g.jsx(p0,{multiSelect:o.asOptionalBoolean(A.props.multiSelect),layout:i,updateState:t,searchable:o.asOptionalBoolean(A.props.searchable),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:s,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?a=>g.jsx(ct,{node:A.props.optionLabelTemplate,item:a,renderChild:r}):void 0,valueRenderer:A.props.valueTemplate?(a,l)=>g.jsx(ct,{contextVars:{$itemContext:{removeItem:l}},node:A.props.valueTemplate,item:a,renderChild:r}):void 0,children:r(A.children)})),Do={themeVars:`'{"color-bg-DropdownMenu": "var(--xmlui-color-bg-DropdownMenu)", "radius-DropdownMenu": "var(--xmlui-radius-DropdownMenu)", "shadow-DropdownMenu": "var(--xmlui-shadow-DropdownMenu)", "color-border-DropdownMenu-content": "var(--xmlui-color-border-DropdownMenu-content)", "thickness-border-DropdownMenu-content": "var(--xmlui-thickness-border-DropdownMenu-content)", "style-border-DropdownMenu-content": "var(--xmlui-style-border-DropdownMenu-content)", "min-width-DropdownMenu": "var(--xmlui-min-width-DropdownMenu)", "color-bg-MenuItem": "var(--xmlui-color-bg-MenuItem)", "color-MenuItem": "var(--xmlui-color-MenuItem)", "font-family-MenuItem": "var(--xmlui-font-family-MenuItem)", "gap-MenuItem": "var(--xmlui-gap-MenuItem)", "font-size-MenuItem": "var(--xmlui-font-size-MenuItem)", "padding-vertical-MenuItem": "var(--xmlui-padding-vertical-MenuItem)", "padding-horizontal-MenuItem": "var(--xmlui-padding-horizontal-MenuItem)", "color-bg-MenuItem--hover": "var(--xmlui-color-bg-MenuItem--hover)", "color-bg-MenuItem--active": "var(--xmlui-color-bg-MenuItem--active)", "color-bg-MenuItem--active--hover": "var(--xmlui-color-bg-MenuItem--active--hover)", "color-MenuItem--hover": "var(--xmlui-color-MenuItem--hover)", "color-MenuItem--active": "var(--xmlui-color-MenuItem--active)", "color-MenuItem--active--hover": "var(--xmlui-color-MenuItem--active--hover)", "margin-top-MenuSeparator": "var(--xmlui-margin-top-MenuSeparator)", "margin-bottom-MenuSeparator": "var(--xmlui-margin-bottom-MenuSeparator)", "width-MenuSeparator": "var(--xmlui-width-MenuSeparator)", "height-MenuSeparator": "var(--xmlui-height-MenuSeparator)", "color-MenuSeparator": "var(--xmlui-color-MenuSeparator)"}'`,DropdownMenuContent:"_DropdownMenuContent_uvcr0_13",DropdownMenuSubContent:"_DropdownMenuSubContent_uvcr0_14",DropdownMenuItem:"_DropdownMenuItem_uvcr0_26",DropdownMenuSubTrigger:"_DropdownMenuSubTrigger_uvcr0_27",active:"_active_uvcr0_50",wrapper:"_wrapper_uvcr0_60",DropdownMenuSeparator:"_DropdownMenuSeparator_uvcr0_65"},$0=E.forwardRef(function({triggerTemplate:e,children:t,label:o,registerComponentApi:r,layout:n,onWillOpen:i,alignment:s="start",disabled:a=!1,triggerButtonVariant:l="ghost",triggerButtonThemeColor:c="primary",triggerButtonIcon:B="chevrondown",triggerButtonIconPosition:Q="end"},u){const{root:d}=ce(),[C,h]=E.useState(!1);return E.useEffect(()=>{r==null||r({close:()=>h(!1)})},[r]),g.jsxs(nt.Root,{open:C,onOpenChange:async I=>{I&&await(i==null?void 0:i())===!1||h(I)},children:[g.jsx(nt.Trigger,{asChild:!0,disabled:a,ref:u,children:e||g.jsx(Ce,{icon:g.jsx(kA,{name:B}),iconPosition:Q,type:"button",variant:l,themeColor:c,disabled:a,children:o})}),g.jsx(nt.Portal,{container:d,children:g.jsx(nt.Content,{align:s,style:n,className:Do.DropdownMenuContent,children:t})})]})});function Ja({children:A,onClick:e=vA,label:t,style:o,icon:r,iconPosition:n="start",active:i=!1}){const s=n==="start";return g.jsxs(nt.Item,{style:o,className:cA(Do.DropdownMenuItem,{[Do.active]:i}),onClick:a=>{a.stopPropagation(),e(a)},children:[s&&r,g.jsx("div",{className:Do.wrapper,children:t??A}),!s&&r]})}function cm({children:A,label:e,triggerTemplate:t}){const{root:o}=ce();return g.jsxs(nt.Sub,{children:[g.jsx(nt.SubTrigger,{className:Do.DropdownMenuSubTrigger,asChild:!0,children:t||g.jsx("div",{children:e})}),g.jsx(nt.Portal,{container:o,children:g.jsx(nt.SubContent,{className:Do.DropdownMenuSubContent,children:A})})]})}function Bm(){return g.jsx(nt.Separator,{className:Do.DropdownMenuSeparator})}const j0="ThemeChangerButton",Qm=Z({status:"experimental",docFolder:"ThemeChanger",description:`The \`${j0}\` component is a component that allows the user to change the theme of the app.`,props:{showSettings:f("This property indicates if the Settings function of this component is displayed.",null,"boolean",!0)}}),um=AA(j0,Qm,({renderChild:A,node:e,extractValue:t})=>{const[o,r]=E.useState(!1),{activeThemeId:n,activeThemeTone:i,setActiveThemeId:s,setActiveThemeTone:a,availableThemeIds:l}=si(),c=Q=>A({type:"Theme",props:{themeId:Q,width:"100%",isRoot:"true",tone:"{activeThemeTone}"},children:[{type:"Card",props:{width:"100%"},children:[{type:"App",props:{width:"100%",height:"10rem",layout:"horizontal"},children:[{type:"NavPanel",props:{},children:[{type:"NavLink",props:{active:"true",url:"/",label:"Home"}},{type:"NavLink",props:{url:"/about",label:"About"}},{type:"NavLink",props:{url:"/contact",label:"Contact"}}]},{type:"Pages",props:{defaultRoute:"/"},children:[{type:"CVStack",props:{height:"100%"},children:[{type:"Text",props:{value:"Hello"}}]}]}]}]}]}),B=t.asOptionalBoolean(e.props.showSettings,!0);return g.jsxs(g.Fragment,{children:[g.jsxs($0,{triggerTemplate:g.jsx(Ce,{variant:"ghost",icon:g.jsx(kA,{name:"palette"})}),children:[g.jsx(Ja,{iconPosition:"end",icon:i==="light"?g.jsx(kA,{name:"checkmark"}):"",label:"Light",onClick:()=>a("light")}),g.jsx(Ja,{iconPosition:"end",icon:i==="dark"?g.jsx(kA,{name:"checkmark"}):"",label:"Dark",onClick:()=>a("dark")}),B&&g.jsxs(g.Fragment,{children:[g.jsx(Yu,{}),g.jsx(Ja,{label:"Theme Settings",onClick:()=>r(!0)})]})]}),o&&g.jsx(Qn,{isInitiallyOpen:!0,onClose:()=>r(!1),children:g.jsxs(gt,{orientation:"vertical",children:[g.jsx(qe,{variant:"strong",layout:{marginBottom:"1rem"},children:"Set theme"}),g.jsx(gt,{orientation:"vertical",layout:{width:"100%",overflow:"scroll"},children:g.jsx(gt,{orientation:"horizontal",verticalAlignment:"center",layout:{gap:".5rem",flexWrap:"wrap"},children:l.map(Q=>g.jsx(Ce,{style:{padding:0,width:"calc(50% - 0.5rem)"},variant:n===Q?"solid":"ghost",themeColor:"primary",onClick:()=>s(Q),children:g.jsxs(gt,{layout:{width:"100%"},children:[c(Q),g.jsx(qe,{children:Q})]})},Q))})}),g.jsxs(gt,{orientation:"vertical",layout:{minHeight:"fit-content"},children:[g.jsx(qe,{variant:"strong",layout:{marginBottom:"1rem"},children:"Set tone"}),g.jsx(uc,{id:"toneSelector",value:i,onDidChange:Q=>a(Q),children:g.jsxs(gt,{layout:{gap:"1rem"},orientation:"horizontal",children:[g.jsx(Ec,{label:"Light",value:"light"}),g.jsx(Ec,{label:"Dark",value:"dark"})]})})]})]})})]})});var O=(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))(O||{}),xn=(A=>(A[A.Warning=0]="Warning",A[A.Error=1]="Error",A[A.Suggestion=2]="Suggestion",A[A.Message=3]="Message",A))(xn||{}),dr=(A=>(A.onlyOneElem="U002",A.expTagOpen="U003",A.expTagIdent="U004",A.expCloseStart="U005",A.expEndOrClose="U006",A.tagNameMismatch="U007",A.expEnd="U008",A.expAttrIdent="U009",A.expEq="U010",A.expAttrValue="U011",A.duplAttr="U012",A.uppercaseAttr="U013",A.invalidChar="W001",A.untermStr="W002",A.untermComment="W007",A.untermCData="W008",A.untermScript="W009",A))(dr||{});const bc={code:"W001",category:1,message:"Invalid character."},Em={code:"W002",category:1,message:"Unterminated string literal."},dm={code:"W007",category:1,message:"Unterminated comment"},Cm={code:"W008",category:1,message:"Unterminated CDATA section"},hm={code:"W009",category:1,message:"Unterminated script section"},Im={category:1,code:"U008",message:"A '>' token expected."},pm={category:1,code:"U005",message:"A '</' token expected."},V0={category:1,code:"U004",message:"A tag identifier expected."},wm={category:1,code:"U011",message:"An attribute value expected."},fm={category:1,code:"U003",message:"A '<' token expected."},Dm={category:1,code:"U006",message:"A '>' or '/>' token expected."},X0={category:1,code:"U009",message:"An attribute identifier expected."};var H=(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))(H||{});function mm(A){return A>=2&&A<=4}function Z0(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 xm()}function xm(A){throw new Error("Didn't expect to get here")}function vm(A,e,t,o,r){let n=e??"",i,s,a,l,c,B;return k(n,o,r),{getStartPos:()=>a,getTokenEnd:()=>i,getToken:()=>c,getTokenStart:()=>l,getTokenText:()=>n.substring(l,i),getTokenValue:()=>B,isIdentifier:()=>c===H.Identifier,peekChar:Q,scanChar:u,scan:d,scanTrivia:C,scanText:h,getText:I,setText:k,setOnError:N,resetTokenState:L,back:M};function Q(b){if(i+(b??0)>=s)return null;const _=D(i+(b??0));return isNaN(_)?null:_}function u(){if(i>=s)return null;const b=D(i);return i+=jo(b),b}function d(){for(a=i;;){if(l=i,i>=s)return c=H.EndOfFileToken;const b=D(i);switch(b){case O.lineFeed:case O.carriageReturn:return b===O.carriageReturn&&i+1<s&&p(i+1)===O.lineFeed?i+=2:i++,c=H.NewLineTrivia;case O.tab:case O.verticalTab:case O.formFeed:case O.space:case O.nonBreakingSpace:case O.ogham:case O.enQuad:case O.emQuad:case O.enSpace:case O.emSpace:case O.threePerEmSpace:case O.fourPerEmSpace:case O.sixPerEmSpace:case O.figureSpace:case O.punctuationSpace:case O.thinSpace:case O.hairSpace:case O.zeroWidthSpace:case O.narrowNoBreakSpace:case O.mathematicalSpace:case O.ideographicSpace:case O.byteOrderMark:{for(;i<s&&eE(p(i));)i++;return c=H.WhitespaceTrivia}case O.doubleQuote:case O.singleQuote:case O.backtick:return B=y(),c=H.StringLiteral;case O.ampersand:return p(i+1)===O.a&&p(i+2)===O.m&&p(i+3)===O.p&&p(i+4)===O.semicolon?(i+=5,c=H.AmpersandEntity):p(i+1)===O.l&&p(i+2)===O.t&&p(i+3)===O.semicolon?(i+=4,c=H.LessThanEntity):p(i+1)===O.g&&p(i+2)===O.t&&p(i+3)===O.semicolon?(i+=4,c=H.GreaterThanEntity):p(i+1)===O.q&&p(i+2)===O.u&&p(i+3)===O.o&&p(i+4)===O.t&&p(i+5)===O.semicolon?(i+=6,c=H.DoubleQuoteEntity):p(i+1)===O.a&&p(i+2)===O.p&&p(i+3)===O.o&&p(i+4)===O.s&&p(i+5)===O.semicolon?(i+=6,c=H.SingleQuoteEntity):(i++,P(bc,1),c=H.Unknown);case O.equals:return i++,c=H.Equal;case O.colon:return i++,c=H.Colon;case O.lessThan:if(p(i+1)===O.slash)return i+=2,c=H.CloseNodeStart;if(p(i+1)===O.exclamation&&p(i+2)===O.minus&&p(i+3)===O.minus){for(i+=4;i<s;){if(p(i)===O.minus&&p(i+1)===O.minus&&p(i+2)===O.greaterThan)return i+=3,c=H.CommentTrivia;i+=jo(p(i))}return P(dm,4),c=H.Unknown}else if(p(i+1)===O.exclamation&&p(i+2)===O.openBracket&&p(i+3)===O.C&&p(i+4)===O.D&&p(i+5)===O.A&&p(i+6)===O.T&&p(i+7)===O.A&&p(i+8)===O.openBracket){for(i+=9;i<s;){if(p(i)===O.closeBracket&&p(i+1)===O.closeBracket&&p(i+2)===O.greaterThan)return i+=3,c=H.CData;i+=jo(p(i))}return P(Cm,9),c=H.CData}else if(p(i+1)===O.s&&p(i+2)===O.c&&p(i+3)===O.r&&p(i+4)===O.i&&p(i+5)===O.p&&p(i+6)===O.t&&p(i+7)===O.greaterThan){for(i+=8;i<s;){if(p(i)===O.lessThan&&p(i+1)===O.slash&&p(i+2)===O.s&&p(i+3)===O.c&&p(i+4)===O.r&&p(i+5)===O.i&&p(i+6)===O.p&&p(i+7)===O.t&&p(i+8)===O.greaterThan)return i+=9,c=H.Script;i+=jo(p(i))}return P(hm,9),c=H.Script}return i++,c=H.OpenNodeStart;case O.slash:return p(i+1)===O.greaterThan?(i+=2,c=H.NodeClose):(i++,P(bc,1),c=H.Unknown);case O.greaterThan:return i++,c=H.NodeEnd;default:const _=F(b);if(_)return c=_;if(eE(b)){i+=jo(b);continue}else if(Nm(b)){i+=jo(b);continue}const q=jo(b);return i+=q,P(bc,q),c=H.Unknown}}}function C(){const b=i,_=d();return mm(_)?_:(L(b),null)}function h(){return H.Unknown}function I(){return n}function p(b){return n.charCodeAt(b)}function D(b){return m(n,b)}function m(b,_){return b.codePointAt(_)??0}function k(b,_,q){n=b||"",s=q===void 0?n.length:_+q,L(_||0)}function N(b){t=b}function L(b){i=b,a=b,l=b,c=H.Unknown,B=void 0}function M(){L(a)}function F(b){let _=b;if(km(_)){for(i+=jo(_);i<s&&Mm(_=D(i));)i+=jo(_);return B=n.substring(l,i),v()}}function v(){return c=H.Identifier}function y(){const b=p(i);i++;let _="",q=i;for(;;){if(i>=s){_+=n.substring(q,i),P(Em,1);break}if(p(i)===b){_+=n.substring(q,i),i++;break}i++}return _}function P(b,_=0){t&&t(b,_)}}function jo(A){return A>=65536?2:A===O.EOF?0:1}function AE(A){return A>=O.A&&A<=O.Z||A>=O.a&&A<=O.z}function ym(A){return AE(A)||bm(A)||A===O._}function bm(A){return A>=O._0&&A<=O._9}function km(A){return AE(A)||A===O.$||A===O._}function Mm(A){return ym(A)||A===O.$||A===O.minus||A===O.dot}function eE(A){return A===O.space||A===O.tab||A===O.verticalTab||A===O.formFeed||A===O.nonBreakingSpace||A===O.nextLine||A===O.ogham||A>=O.enQuad&&A<=O.zeroWidthSpace||A===O.narrowNoBreakSpace||A===O.mathematicalSpace||A===O.ideographicSpace||A===O.byteOrderMark}function Nm(A){return A===O.lineFeed||A===O.carriageReturn||A===O.lineSeparator||A===O.paragraphSeparator}function _m(A,e,t){var n,i;const o=((n=A.children)==null?void 0:n.filter(s=>s.kind!==H.ErrorNode))??[],r=((i=e.children)==null?void 0:i.filter(s=>s.kind!==H.ErrorNode))??[];if(o.length!==r.length)return!1;for(let s=0;s<o.length;++s)if(t(o[s])!==t(r[s]))return!1;return!0}const qa={uppercaseAttr:function(A){return{category:xn.Error,code:dr.uppercaseAttr,message:`Attribute name '${A}' cannot start with an uppercase letter.`}},duplAttr:function(A){return{category:xn.Error,code:dr.duplAttr,message:`Duplicated attribute: '${A}'.`}},tagNameMismatch:function(A,e){return{category:xn.Error,code:dr.tagNameMismatch,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:xn.Error,code:dr.invalidChar,message:`Invalid character '${A}'.`}}};H.CData,H.Script,H.OpenNodeStart;function Fm(A){return{parse:()=>Lm(A),getText:(e,t=!0)=>A.substring(t?e.pos??e.start??0:e.start??e.pos??0,e.end)}}function Lm(A){const e=[],t=[];let o,r={children:[]},n;const s=vm(!1,A,function(T,S){n={message:T,prefixLength:S}});function a(T,S=!0){return A.substring(S?T.pos:T.start,T.end)}function l(){P();A:for(;;){const T=F();switch(T.kind){case H.TextNode:case H.StringLiteral:v(T.kind);break;case H.CloseNodeStart:break A;case H.EndOfFileToken:break A;default:B();break}}r.children&&r.children.length>0?b(H.ContentListNode):J()}function c(){for(;;)switch(F().kind){case H.EndOfFileToken:y();return;default:B();break}}function B(){!D(H.CData)&&!D(H.Script)&&(p(H.OpenNodeStart)?Q():q(fm))}function Q(){P(),v(H.OpenNodeStart);let T;if(p(H.Identifier)?T=u():N(V0),d(),D(H.NodeClose)){b(H.ElementNode);return}else if(D(H.NodeEnd)){if(l(),D(H.CloseNodeStart)){if(p(H.Identifier)){const S=u();T!==void 0&&!_m(T,S,a)&&N(qa.tagNameMismatch(a(T),a(S)))}else k(V0,[H.NodeEnd]);D(H.NodeEnd)||N(Im)}else N(pm);b(H.ElementNode);return}else N(Dm)}function u(){return P(),v(H.Identifier),D(H.Colon)&&D(H.Identifier),b(H.TagNameNode)}function d(){P();const T=[];for(;!m([H.EndOfFileToken,H.NodeEnd,H.NodeClose]);)C(T);r.children.length===0?J():b(H.AttributeListNode)}function C(T){if(P(),p(H.Identifier))h(T);else{const S=[H.Equal];if(!k(X0,S))return}if(D(H.Equal)&&!D(H.StringLiteral)&&!D(H.Identifier)){const S=[H.NodeEnd,H.NodeClose];k(wm,S)}b(H.AttributeNode)}function h(T){const S=M();let G;P(),v(H.Identifier),D(H.Colon)&&(p(H.Identifier)?G=v(H.Identifier):k(X0,[H.NodeClose,H.NodeEnd,H.Equal])),I(T,{nsIdent:G,nameIdent:S}),b(H.AttributeKeyNode)}function I(T,{nameIdent:S,nsIdent:G}){const Y=a(S),U=G===void 0?void 0:a(G),V=({ns:hA,name:eA})=>eA===Y&&hA===U,tA=T.findIndex(V)!==-1,uA="A"<=Y[0]&&Y[0]<="Z",EA=tA||uA;tA&&L(qa.duplAttr(Y),S.pos,S.end),uA&&L(qa.uppercaseAttr(Y),S.pos,S.end),EA||T.push({name:Y})}function p(T){return M().kind===T}function D(T){const S=p(T);return S&&y(),S}function m(T){return T.includes(M().kind)}function k(T,S){return m(S)||p(H.EndOfFileToken)?(N(T),!0):(P(),N(T),y(),b(H.ErrorNode),!1)}function N({code:T,message:S,category:G}){const{pos:Y,end:U}=M();e.push({category:G,code:T,message:S,pos:Y,end:U})}function L({code:T,message:S,category:G},Y,U){e.push({category:G,code:T,message:S,pos:Y,end:U})}function M(T=!1){return o!==void 0||(o=_(T)),o}function F(){const T=M(!0);if(T.kind===H.EndOfFileToken||T.kind===H.OpenNodeStart||T.kind===H.Script||T.kind===H.CData||T.kind===H.CloseNodeStart)return T;const S=T.triviaBefore,G=(S==null?void 0:S.length)??0;let Y=0,U=[],V=-1;for(;Y<G;++Y)if(S[Y].kind===H.CommentTrivia)U.push(S[Y]);else{V=Y;break}let tA=-1;for(;Y<G;++Y)if(S[Y].kind===H.CommentTrivia){tA=Y;break}let uA=!1;if(T.kind===H.StringLiteral){const $=T.end,rA=_(!0);uA=rA.kind===H.CData||rA.kind===H.CloseNodeStart||rA.kind===H.Script||rA.kind===H.OpenNodeStart,s.resetTokenState($)}let EA;uA?EA=T.pos:U.length>0?EA=U[U.length-1].end:V!==-1?EA=S[V].pos:EA=T.start;let hA=EA,eA;U.length>0&&(eA=U,hA=U[0].pos);let oA=H.TextNode,W=-1;if(tA!==-1)W=S[tA].pos,s.resetTokenState(W);else if(uA)oA=H.StringLiteral,W=T.end;else{for(;;){const $=s.peekChar();if($===null||$===O.lessThan)break;s.scanChar()}W=s.getTokenEnd()}return o={kind:oA,start:hA,pos:EA,end:W,triviaBefore:eA},o}function v(T){const S=y();if(S.kind!==T)throw new Error(`expected ${Z0(T)}, bumped a ${Z0(S.kind)}`);return S}function y(){if(o){r.children.push(o);const S=o;return o=void 0,S}const T=_(!1);return r.children.push(T),T}function P(){t.push(r),r={children:[]}}function b(T){const S=tE(T,r.children),G=t[t.length-1];return G.children.push(S),r=G,t.pop(),S}function _(T){let S,G=[],Y=null;for(;;){if(S=s.scan(),Y===null&&(Y=s.getTokenStart()),n!==void 0){let U;n.message.code===dr.invalidChar?U=qa.invalidChar(s.getTokenText()):U=n.message;const V=s.getTokenStart(),tA={kind:S,start:Y,pos:V,end:s.getTokenEnd(),triviaBefore:G.length>0?G:void 0};if(G=[],T&&U.code===dr.invalidChar)return n=void 0,tA;const uA=V+n.prefixLength;return tA.end=uA,s.resetTokenState(uA),P(),r.children.push(tA),L(U,V,uA),b(H.ErrorNode),n=void 0,_(T)}switch(S){case H.CommentTrivia:case H.NewLineTrivia:case H.WhitespaceTrivia:G.push({kind:S,start:Y,pos:s.getTokenStart(),end:s.getTokenEnd()});break;default:return{kind:S,start:Y,pos:s.getTokenStart(),end:s.getTokenEnd(),triviaBefore:G.length>0?G:void 0}}}}function q(T){k(T,[])}function J(){const T=t[t.length-1];T.children.push(...r.children),r=T,t.pop()}return c(),{node:tE(H.ContentListNode,r.children),errors:e}}function tE(A,e){const t=e[0],o=e[e.length-1];return{kind:A,start:t.start,pos:t.pos,end:o.end,children:e}}class kc extends Error{constructor(e,t){super(`${t?`${t}: `:""}${e}`),this.code=t,Object.setPrototypeOf(this,kc.prototype)}}const Sm={U001:"Unexpected token: {0}",U002:"A component definition can have exactly one UEML 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 UEML 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"},oE="Component",mt=/^[A-Z]/,rE=/^on[A-Z]/,Pm=["name","value"],Tm=9,Gm=3;function Hm(A,e,t,o=()=>""){const r=v=>v.text??e(v);if(A.children.length!==2)return qA("T001"),null;const n=A.children[0];if(n.kind!==H.ElementNode)return qA("T001"),null;const i=m(n),s=I(n);if(!mt.test(s))return qA("T002"),null;return l([],i);function l(v,y){const P=I(y),b=vn(y).map(p);let _;if(P===oE){const q=b.find(eA=>eA.name==="name");if(!q)return qA("T003"),null;if(!mt.test(q.value))return qA("T004"),null;let J;const z=b.filter(eA=>Wa(eA.startSegment));z.length>0&&(J={},z.forEach(eA=>{J[eA.name]=eA.value}));let T;const S=b.filter(eA=>eA.startSegment==="var");S.length>0&&(T={},S.forEach(eA=>{T[eA.name]=eA.value}));const G=yn(y);if(G.find(eA=>eA.kind===H.ElementNode&&I(eA)===oE))return qA("T006"),null;const U=G.filter(eA=>eA.kind===H.ElementNode&&mt.test(I(eA)));U.length===0&&U.push(nE(""));const V=[],tA=[];for(let eA of G)if(eA.kind===H.ElementNode){const oA=I(eA);oA==="var"?tA.push(eA):mt.test(oA)||V.push(eA)}let uA;U.length>1||tA.length>0?uA=iE([...tA,...U]):uA=U[0];let EA=l(v,uA);_={name:q.value,component:EA,debug:{source:{start:y.start,end:y.end,fileId:t}}},J&&(_.api=J),T&&(EA.vars={...EA.vars,...T}),EA.debug={source:{start:uA.start,end:uA.end,fileId:t}};const hA=sE(y,V);return c(v,_,hA),_}return mt.test(P)?(_={type:P,debug:{source:{start:y.start,end:y.end,fileId:t}}},c(v,_,y),_):(qA("T002"),null)}function c(v,y,P){var T;const b=!to(y);if(vn(P).forEach(S=>{B(y,S)}),yn(P).forEach(S=>{if(S.kind===H.Script){vn(S).length>0&&qA("T022");const Y=r(S),U=Y.slice(Y.indexOf(">")+1,Y.lastIndexOf("</"));y.script??(y.script=""),y.script.length>0&&(y.script+=`
85
85
  `),y.script+=U;return}if(S.kind===H.TextNode&&!b){y.children=za(y.children,r(S));return}const G=I(S);if(!(b&&S.kind===H.ElementNode&&mt.test(G))){if(mt.test(G)&&!b){const Y=l(v,S);Y&&(y.children?typeof y.children=="string"?y.children=[y.children,Y]:Array.isArray(y.children)&&y.children.push(Y):y.children=[Y]);return}switch(G){case"property":C(v,y,S,Y=>{var U;return to(y)?(U=y.props)==null?void 0:U[Y]:void 0},(Y,U)=>{to(y)&&(y.props??(y.props={}),y.props[Y]=U)});return;case"event":C(v,y,S,Y=>{var U;return to(y)?(U=y.events)==null?void 0:U[Y]:void 0},(Y,U)=>{to(y)&&(y.events??(y.events={}),y.events[Y]=U)},Y=>{rE.test(Y)&&qA("T008",Y)});return;case"var":C(v,y,S,Y=>{var U;return to(y)?(U=y.vars)==null?void 0:U[Y]:void 0},(Y,U)=>{to(y)&&(y.vars??(y.vars={}),y.vars[Y]=U)});return;case"loaders":d(v,y,S);return;case"uses":h(y,S);return;case"method":C(v,y,S,Y=>{var U;return to(y)?(U=y.api)==null?void 0:U[Y]:void 0},(Y,U)=>{y.api??(y.api={}),y.api[Y]=U});return;default:qA("T009",G);return}}}),!y.script||y.script.trim().length===0)return;const J=new gn(y.script);try{J.parseStatements(),y.scriptCollected=K1("Main",y.script,o,S=>S)}catch(S){J.errors&&J.errors.length>0?y.scriptError=J.errors:y.scriptError=S}const z=((T=y.scriptCollected)==null?void 0:T.moduleErrors)??{};Object.keys(z).length>0&&(y.scriptError=z)}function B(v,y){const{startSegment:P,name:b,value:_}=p(y);if(!to(v)){if(P&&!Wa(P)&&P!=="var"){qA("T021");return}if(b==="name"&&!P)return;!P&&b&&qA("T021",b);return}if(b.indexOf(".")>=0){qA("T007",b);return}switch(b){case"id":v.uid=_;return;case"testId":v.testId=_;return;case"when":v.when=_;return;default:if(P==="var")v.vars??(v.vars={}),v.vars[b]=_;else if(Wa(P))v.api??(v.api={}),v.api[b]=_;else if(P==="event")v.events??(v.events={}),v.events[b]=_;else if(rE.test(b)){v.events??(v.events={});const J=b[2].toLowerCase()+b.substring(3);v.events[J]=_}else v.props??(v.props={}),v.props[b]=_;return}}function Q(v,y){let P=null;if(!y)return P;let b=null;return y.forEach(_=>{if(_.kind===H.TextNode){P=za(P,r(_));return}if(_.kind!==H.ElementNode)return;const q=I(_);if(q!=="field"&&q!=="item"){qA("T016");return}if(q==="field"){if(!b)b=q,P={};else if(b!==q){qA("T017");return}}else if(q==="item"){if(!b)b=q,P=[];else if(b!==q){qA("T017");return}}let J=u(v,_,q==="field");if(!J)return null;b==="field"?P[J.name]=J.value:P.push(J.value)}),P}function u(v,y,P=!0){const b=I(y),_=yn(y),q=_.filter(V=>V.kind===H.ElementNode&&mt.test(I(V))),J=_.filter(V=>V.kind===H.ElementNode&&!mt.test(I(V))),z=vn(y).map(p),T=z.filter(V=>Pm.indexOf(V.name)>=0);if(z.length>T.length)return qA("T011",b),null;const S=T.find(V=>V.name==="name");if(P){if(!(S!=null&&S.value))return qA("T012",b),null}else if(S)return qA("T018",b),null;const G=S==null?void 0:S.value,Y=T.find(V=>V.name==="value");if(Y&&Y.value===void 0)return qA("T019",b),null;if(G&&q.length>=1){if(J.length>0)return qA("T020"),null;const V=q.map(tA=>l(v,tA));return{name:G,value:V.length===1?V[0]:V}}let U=Y==null?void 0:Y.value;return U===null?null:typeof U=="string"?{name:G,value:U}:{name:G,value:Q(v,_)}}function d(v,y,P){var q;if(!to(y)){qA("T009","loaders");return}const b=yn(P);if(b.length===0&&(y.loaders??(y.loaders=[])),(q=P.children)==null?void 0:q.some(J=>J.kind===H.AttributeListNode)){qA("T014","attributes");return}b.forEach(J=>{if(J.kind===H.TextNode){qA("T010","loader");return}const z=l(v,J);if(!z.uid){qA("T013");return}if(z.vars){qA("T014","vars");return}if(z.loaders){qA("T014","loaders");return}if(z.uses){qA("T014","uses");return}y.loaders??(y.loaders=[]),y.loaders.push(z)})}function C(v,y,P,b,_,q){const J=u(v,P);if(!J)return;q==null||q((J==null?void 0:J.name)??"");const z=J.name,T=J.value;if((J==null?void 0:J.value)!==void 0)_(z,za(b(z),T));else{const S=yn(P),G=Q(v,S);let Y=b(z);Y=za(Y,G),_(z,Y)}}function h(v,y){if(!to(v)){qA("T009","uses");return}const P=vn(y).map(p),b=P.find(_=>_.name==="value");if(!(b!=null&&b.value)||P.length!==1){qA("T015","uses");return}v.uses??(v.uses=b.value.split(",").map(_=>_.trim()))}function I(v){const y=v.children.find(b=>b.kind===H.TagNameNode).children,P=y[y.length-1];return r(P)}function p(v){let y=v.children[0];y.children.length===3&&r(y.children[0]);let b=r(y.children[y.children.length-1]);const _=b.split(".");_.length>2&&qA("T007",v,y);let q;_.length===2&&(q=_[0],b=_[1],b.trim()===""&&qA("T007",v,b));const J=r(v.children[2]),z=J.substring(1,J.length-1);return{startSegment:q,name:b,value:z}}function D(v){for(let y of v){const P=y.children[y.children.length-1],b=M(r(P));b!==null&&(P.text=b)}}function m(v){const y=yn(v),P=I(v),_=mt.test(P)||P==="property",q=P!=="event"&&!Wa(P),J=vn(v);Rm(J),Ym(J,r),D(J),L(y),F(y,q);let z=!1,T=!1;for(let U=0;U<y.length;++U){const V=y[U];let tA;if(V.kind==H.Script){T=!0;continue}if(V.kind===H.ElementNode){tA=m(V),y[U]=tA;continue}let uA=r(V);V.kind===H.StringLiteral?uA=uA.slice(1,-1):V.kind===H.CData?z=!0:(V.kind,H.TextNode),_?z?tA=Um(uA):tA=nE(uA):tA={kind:H.TextNode,text:uA},y[U]=tA}const S=y.filter(U=>U.kind===H.ElementNode&&!mt.test(I(U))),G=y.filter(U=>U.kind!==H.ElementNode||U.kind===H.ElementNode&&mt.test(I(U))),Y=G.some(U=>U.kind===H.ElementNode&&mt.test(I(U)));if(T&&Y){const U=iE(G);return S.push(U),sE(v,S)}return v}function k(v){for(let y=0;y<v.length;++y)if(v[y].kind===H.StringLiteral||v[y].kind===H.TextNode){const P=/[\f\n\r\t\v\u0020\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/g;v[y].text=r(v[y]).replace(P," ")}}function N(v){for(let y=0;y<v.length;++y)v[y].kind===H.CData&&(v[y].text=r(v[y]).slice(Tm,-Gm))}function L(v){for(let y of v)if(y.kind===H.StringLiteral||y.kind===H.TextNode){const P=M(r(y));P!==null&&(y.text=P)}}function M(v){let y="",P=0;for(let b=0;b<v.length;++b)if(v.charCodeAt(b)===O.ampersand)switch(v.charCodeAt(b+1)){case O.a:switch(v.charCodeAt(b+2)){case O.m:v.charCodeAt(b+3)===O.p&&v.charCodeAt(b+4)===O.semicolon&&(y=y+v.substring(P,b)+"&",b+=4,P=b+1);break;case O.p:v.charCodeAt(b+3)===O.o&&v.charCodeAt(b+4)===O.s&&v.charCodeAt(b+5)===O.semicolon&&(y=y+v.substring(P,b)+"'",b+=5,P=b+1);break}break;case O.g:v.charCodeAt(b+2)===O.t&&v.charCodeAt(b+3)===O.semicolon&&(y=y+v.substring(P,b)+">",b+=3,P=b+1);break;case O.l:v.charCodeAt(b+2)===O.t&&v.charCodeAt(b+3)===O.semicolon&&(y=y+v.substring(P,b)+"<",b+=3,P=b+1);break;case O.q:v.charCodeAt(b+2)===O.u&&v.charCodeAt(b+3)===O.o&&v.charCodeAt(b+4)===O.t&&v.charCodeAt(b+5)===O.semicolon&&(y=y+v.substring(P,b)+'"',b+=5,P=b+1);break;case O.n:v.charCodeAt(b+2)===O.b&&v.charCodeAt(b+3)===O.s&&v.charCodeAt(b+4)===O.p&&v.charCodeAt(b+5)===O.semicolon&&(y=y+v.substring(P,b)+" ",b+=5,P=b+1);break}return P===0?null:(y+=v.substring(P),y)}function F(v,y){y&&k(v),N(v);for(let P=v.length-1;P>0;--P){const b=v[P-1],_=v[P];b.kind===H.StringLiteral&&_.kind===H.CData?(v[P-1]={kind:H.CData,text:r(b).slice(1,-1)+r(_)},v.pop()):b.kind===H.CData&&_.kind===H.StringLiteral?(v[P-1]={kind:H.CData,text:r(b)+r(_).slice(1,-1)},v.pop()):b.kind===H.CData&&_.kind===H.TextNode?(v[P-1]={kind:H.CData,text:r(b)+r(_)},v.pop()):b.kind===H.CData&&_.kind===H.CData?(v[P-1]={kind:H.CData,text:r(b)+r(_)},v.pop()):b.kind===H.TextNode&&_.kind===H.TextNode?(r(b).endsWith(" ")&&r(_).startsWith(" ")&&(b.text=r(b).trimEnd()),v[P-1]={kind:H.TextNode,text:r(b)+r(_)},v.pop()):b.kind===H.TextNode&&_.kind===H.CData&&(v[P-1]={kind:H.CData,text:r(b)+r(_)},v.pop())}}}function Um(A){return{kind:H.ElementNode,children:[{kind:H.OpenNodeStart},{kind:H.TagNameNode,children:[{kind:H.Identifier,text:"TextNodeCData"}]},{kind:H.AttributeListNode,children:[{kind:H.AttributeNode,children:[{kind:H.AttributeKeyNode,children:[{kind:H.Identifier,text:"value"}]},{kind:H.Equal},{kind:H.Identifier,text:`"${A}"`}]}]},{kind:H.NodeClose}]}}function nE(A){return{kind:H.ElementNode,children:[{kind:H.OpenNodeStart},{kind:H.TagNameNode,children:[{kind:H.Identifier,text:"TextNode"}]},{kind:H.AttributeListNode,children:[{kind:H.AttributeNode,children:[{kind:H.AttributeKeyNode,children:[{kind:H.Identifier,text:"value"}]},{kind:H.Equal},{kind:H.Identifier,text:`"${A}"`}]}]},{kind:H.NodeClose}]}}function qA(A,...e){let t=Sm[A]??"Unknown error";throw e&&e.forEach((r,n)=>t=o(t,`{${n}}`,r.toString())),new kc(t,A);function o(r,n,i){do r=r.replace(n,i);while(r.includes(n));return r}}function to(A){return A.type}function za(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:H.TagNameNode,children:[{kind:H.Identifier,text:"Fragment"}]};return{kind:H.ElementNode,start:A[0].start,pos:A[0].pos,end:A[A.length-1].end,children:[{kind:H.OpenNodeStart},e,{kind:H.NodeEnd},{kind:H.ContentListNode,children:A},{kind:H.CloseNodeStart},e,{kind:H.NodeEnd}]}}function vn(A){var e,t;return((t=(e=A.children)==null?void 0:e.find(o=>o.kind===H.AttributeListNode))==null?void 0:t.children)??[]}function yn(A){var e,t;return((t=(e=A.children)==null?void 0:e.find(o=>o.kind===H.ContentListNode))==null?void 0:t.children)??[]}function sE(A,e){var o;const t=(o=A.children)==null?void 0:o.findIndex(r=>r.kind===H.ContentListNode);return t===void 0||t===-1?A:{...A,children:[...A.children.slice(0,t),{...A.children[t],children:e},...A.children.slice(t)]}}function Rm(A){var e;for(let t of A)if(((e=t.children)==null?void 0:e.length)===1){const o={kind:H.Equal},r={kind:H.StringLiteral,text:'"true"'};t.children.push(o,r)}}function Ym(A,e){var t,o,r;for(let n of A){const i=(t=n.children)==null?void 0:t[2];((r=(o=n.children)==null?void 0:o[2])==null?void 0:r.kind)===H.Identifier&&(i.text='"'+e(i)+'"')}}function Wa(A){return A==="method"}function aE(A,e=0,t){const{parse:o,getText:r}=Fm(A),{node:n,errors:i}=o();if(i.length>0){const s=[];for(let c=0;c<A.length;++c)A[c]===`
@@ -181,7 +181,7 @@ ${A.errorObject}`,o=["color: red","color: inherited"]);throw t&&console.log(t,..
181
181
  <Slot />
182
182
  </Button>
183
183
  </Component>
184
- `),metadata:Gv},Ut={themeVars:`'{"padding-vertical-TableOfContentsItem": "var(--xmlui-padding-vertical-TableOfContentsItem)", "padding-horizontal-TableOfContentsItem": "var(--xmlui-padding-horizontal-TableOfContentsItem)", "padding-horizontal-TableOfContentsItem-level-1": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-1)", "padding-horizontal-TableOfContentsItem-level-2": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-2)", "padding-horizontal-TableOfContentsItem-level-3": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-3)", "padding-horizontal-TableOfContentsItem-level-4": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-4)", "padding-horizontal-TableOfContentsItem-level-5": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-5)", "padding-horizontal-TableOfContentsItem-level-6": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-6)", "color-bg-TableOfContents": "var(--xmlui-color-bg-TableOfContents)", "width-TableOfContents": "var(--xmlui-width-TableOfContents)", "height-TableOfContents": "var(--xmlui-height-TableOfContents)", "border-radius-TableOfContents": "var(--xmlui-border-radius-TableOfContents)", "color-border-TableOfContents": "var(--xmlui-color-border-TableOfContents)", "thickness-border-TableOfContents": "var(--xmlui-thickness-border-TableOfContents)", "style-border-TableOfContents": "var(--xmlui-style-border-TableOfContents)", "margin-top-TableOfContents": "var(--xmlui-margin-top-TableOfContents)", "margin-bottom-TableOfContents": "var(--xmlui-margin-bottom-TableOfContents)", "padding-vertical-TableOfContents": "var(--xmlui-padding-vertical-TableOfContents)", "padding-horizontal-TableOfContents": "var(--xmlui-padding-horizontal-TableOfContents)", "border-width-TableOfContentsItem": "var(--xmlui-border-width-TableOfContentsItem)", "border-style-TableOfContentsItem": "var(--xmlui-border-style-TableOfContentsItem)", "border-color-TableOfContentsItem": "var(--xmlui-border-color-TableOfContentsItem)", "color-TableOfContentsItem": "var(--xmlui-color-TableOfContentsItem)", "font-size-TableOfContentsItem": "var(--xmlui-font-size-TableOfContentsItem)", "font-weight-TableOfContentsItem": "var(--xmlui-font-weight-TableOfContentsItem)", "font-family-TableOfContentsItem": "var(--xmlui-font-family-TableOfContentsItem)", "transform-TableOfContentsItem": "var(--xmlui-transform-TableOfContentsItem)", "align-vertical-TableOfContentsItem": "var(--xmlui-align-vertical-TableOfContentsItem)", "letter-spacing-TableOfContentsItem": "var(--xmlui-letter-spacing-TableOfContentsItem)", "border-color-TableOfContentsItem--active": "var(--xmlui-border-color-TableOfContentsItem--active)", "color-TableOfContentsItem--active": "var(--xmlui-color-TableOfContentsItem--active)", "font-weight-TableOfContentsItem--active": "var(--xmlui-font-weight-TableOfContentsItem--active)"}'`,nav:"_nav_1soaw_13",list:"_list_1soaw_35",listItem:"_listItem_1soaw_40",link:"_link_1soaw_44",head_1:"_head_1_1soaw_56",head_2:"_head_2_1soaw_59",head_3:"_head_3_1soaw_62",head_4:"_head_4_1soaw_65",head_5:"_head_5_1soaw_68",head_6:"_head_6_1soaw_71",active:"_active_1soaw_74"},Uv=({layout:A,smoothScrolling:e})=>{const t=E.useRef(null),{headings:o,setObserveIntersection:r,activeAnchorId:n,setActiveAnchorId:i}=W6();return E.useEffect(()=>{r(!0)},[r]),E.useEffect(()=>{if(n&&(t!=null&&t.current)){const s=t.current.querySelector(`#${n}`);s&&og(s,{block:"center",inline:"center",behavior:"smooth",scrollMode:"always",boundary:t.current})}},[n,o]),g.jsx("div",{className:Ut.nav,ref:t,style:A,children:g.jsx("ul",{className:Ut.list,children:o.map(s=>g.jsx("li",{className:Ge(Ut.listItem,{[Ut.active]:s.id===n}),children:g.jsx(We.NavLink,{className:Ge(Ut.link,{[Ut.head_1]:s.level===1,[Ut.head_2]:s.level===2,[Ut.head_3]:s.level===3,[Ut.head_4]:s.level===4,[Ut.head_5]:s.level===5,[Ut.head_6]:s.level===6}),to:`#${s.id}`,onClick:()=>{e&&og(s.anchor,{block:"start",inline:"start",behavior:"smooth",scrollMode:"if-needed"}),i(s.id)},id:s.id,children:s.text})},s.id))})})},SA="TableOfContents",Rv=Z({status:"experimental",description:`The \`${SA}\` component collects headings and bookmarks within the current page and displays them in a tree representing their hierarchy. When you select an item in this tree, the component navigates the page to the selected position.`,props:{smoothScrolling:f("This property indicates that smooth scrolling is used while scrolling the selected table of contents items into view.")},themeVars:pA(Ut.themeVars),defaultThemeVars:{[`width-${SA}`]:"auto",[`height-${SA}`]:"auto",[`font-size-${SA}Item`]:"$font-size-smaller",[`font-weight-${SA}Item`]:"$font-weight-normal",[`font-family-${SA}Item`]:"$font-family",[`border-radius-${SA}Item`]:"0",[`border-width-${SA}Item`]:"$space-0_5",[`border-style-${SA}Item`]:"solid",[`border-radius-${SA}Item--active`]:"0",[`border-width-${SA}Item--active`]:"$space-0_5",[`border-style-${SA}Item--active`]:"solid",[`font-weight-${SA}Item--active`]:"$font-weight-bold",[`color-bg-${SA}`]:"transparent",[`padding-horizontal-${SA}`]:"$space-8",[`padding-vertical-${SA}`]:"$space-4",[`padding-horizontal-${SA}Item`]:"$space-2",[`padding-vertical-${SA}Item`]:"$space-2",[`padding-horizontal-${SA}Item-level-1`]:"unset",[`padding-horizontal-${SA}Item-level-2`]:"unset",[`padding-horizontal-${SA}Item-level-3`]:"unset",[`padding-horizontal-${SA}Item-level-4`]:"unset",[`padding-horizontal-${SA}Item-level-5`]:"unset",[`padding-horizontal-${SA}Item-level-6`]:"unset",[`margin-top-${SA}`]:"0",[`margin-bottom-${SA}`]:"0",[`border-radius-${SA}`]:"0",[`border-width-${SA}`]:"0",[`border-color-${SA}`]:"transparent",[`border-style-${SA}`]:"solid",[`transform-${SA}Item`]:"none",[`align-vertical-${SA}Item`]:"baseline",[`letter-spacing-${SA}Item`]:"0",light:{[`color-${SA}Item`]:"$color-text-primary",[`border-color-${SA}Item`]:"$color-border",[`border-color-${SA}Item--active`]:"$color-primary-500",[`color-${SA}Item--active`]:"$color-primary-500"},dark:{[`color-${SA}Item`]:"$color-text-primary",[`border-color-${SA}Item`]:"$color-border",[`border-color-${SA}Item--active`]:"$color-primary-500",[`color-${SA}Item--active`]:"$color-text-secondary"}}}),Yv=AA(SA,Rv,({layoutCss:A,node:e,extractValue:t})=>{var o;return g.jsx(Uv,{layout:A,smoothScrolling:t.asOptionalBoolean((o=e.props)==null?void 0:o.smoothScrolling)})}),Vo={themeVars:`'{"radius-Accordion": "var(--xmlui-radius-Accordion)", "color-border-Accordion": "var(--xmlui-color-border-Accordion)", "thickness-border-Accordion": "var(--xmlui-thickness-border-Accordion)", "style-border-Accordion": "var(--xmlui-style-border-Accordion)", "align-vertical-header-Accordion": "var(--xmlui-align-vertical-header-Accordion)", "font-size-header-Accordion": "var(--xmlui-font-size-header-Accordion)", "font-weight-header-Accordion": "var(--xmlui-font-weight-header-Accordion)", "font-style-header-Accordion": "var(--xmlui-font-style-header-Accordion)", "padding-vertical-header-Accordion": "var(--xmlui-padding-vertical-header-Accordion)", "padding-horizontal-header-Accordion": "var(--xmlui-padding-horizontal-header-Accordion)", "color-bg-header-Accordion": "var(--xmlui-color-bg-header-Accordion)", "color-header-Accordion": "var(--xmlui-color-header-Accordion)", "color-bg-header-Accordion-hover": "var(--xmlui-color-bg-header-Accordion-hover)", "color-content-Accordion": "var(--xmlui-color-content-Accordion)", "color-bg-content-Accordion": "var(--xmlui-color-bg-content-Accordion)", "width-icon-Accordion": "var(--xmlui-width-icon-Accordion)", "height-icon-Accordion": "var(--xmlui-height-icon-Accordion)", "color-icon-Accordion": "var(--xmlui-color-icon-Accordion)"}'`,root:"_root_lik78_13",item:"_item_lik78_24",header:"_header_lik78_43",trigger:"_trigger_lik78_48",triggerStart:"_triggerStart_lik78_66",contentWrapper:"_contentWrapper_lik78_70",slideDown:"_slideDown_lik78_1",slideUp:"_slideUp_lik78_1",content:"_content_lik78_70",chevron:"_chevron_lik78_86"},fE=E.createContext({expandedItems:null,rotateExpanded:null,expandItem:vA,register:vA,unRegister:vA,hideIcon:null,expandedIcon:null,collapsedIcon:null,triggerPosition:null});function Kv(){return E.useContext(fE)}const Ov=({children:A,hideIcon:e=!1,expandedIcon:t,collapsedIcon:o="chevrondown",triggerPosition:r="end",onDisplayDidChange:n=vA,registerComponentApi:i,rotateExpanded:s="180deg"})=>{const[a,l]=E.useState([]),[c,B]=E.useState(new Set),Q=E.useCallback(m=>{l(k=>k.filter(N=>N!==`${m}`))},[l]),u=E.useCallback(m=>{a.includes(`${m}`)||l(k=>[...k,`${m}`])},[l,a]),d=E.useCallback(m=>{a.includes(`${m}`)?Q(m):u(m)},[l,a]),C=E.useCallback(m=>{B(k=>(k.add(m),k))},[B]),h=E.useCallback(m=>{B(k=>(k.delete(m),k))},[B]),I=E.useCallback(m=>{if(c.has(`trigger_${m}`)){const k=document.getElementById(`trigger_${m}`);k&&k.focus()}},[c]),p=E.useCallback(m=>a.includes(`${m}`),[a]);E.useEffect(()=>{i==null||i({expanded:p,expand:u,collapse:Q,toggle:d,focus:I})},[i,u,Q,d,I,p]);const D=E.useMemo(()=>({register:C,unRegister:h,expandItem:u,expandedItems:a,hideIcon:e,expandedIcon:t,collapsedIcon:o,triggerPosition:r,rotateExpanded:s}),[C,h,a,e,t,o,r,u,s]);return E.useEffect(()=>{n==null||n(a)},[a,n]),g.jsx(fE.Provider,{value:D,children:g.jsx(Ai.Root,{value:a,type:"multiple",className:Vo.root,onValueChange:m=>l(m),children:A})})},OA="Accordion",Jv=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${OA}\` component is a collapsible container that toggles the display of content sections. It helps organize information by expanding or collapsing it based on user interaction.`,props:{triggerPosition:f("This property indicates the position where the trigger icon should be displayed. The `start` value signs the trigger is before the header text (template), and `end` indicates that it follows the header.",O2,null,"end"),collapsedIcon:f("This property is the name of the icon that is displayed when the accordion is collapsed."),expandedIcon:f("This property is the name of the icon that is displayed when the accordion is expanded."),hideIcon:f("This property indicates that the trigger icon is not displayed (`true`).",null,"boolean",!1),rotateExpanded:f("This optional property defines the rotation angle of the expanded icon (relative to the collapsed icon).")},events:{displayDidChange:lt(OA)},apis:{expanded:q5(OA),expand:z5(OA),collapse:W5(OA),toggle:f(`This method toggles the state of the ${OA} between expanded and collapsed.`),focus:Eo(OA)},themeVars:pA(Vo.themeVars),defaultThemeVars:{[`padding-horizontal-header-${OA}`]:"$space-3",[`padding-vertical-header-${OA}`]:"$space-3",[`align-vertical-header-${OA}`]:"center",[`font-size-header-${OA}`]:"$font-size-normal",[`font-weight-header-${OA}`]:"$font-weight-normal",[`font-family-header-${OA}`]:"$font-family",[`radius-${OA}`]:"$radius",[`thickness-border-${OA}`]:"0",[`style-border-${OA}`]:"solid",[`width-icon-${OA}`]:"",[`height-icon-${OA}`]:"",light:{[`color-bg-header-${OA}`]:"$color-primary-500",[`color-bg-header-${OA}-hover`]:"$color-primary-400",[`color-header-${OA}`]:"$color-surface-50",[`color-content-${OA}`]:"$color-text-primary",[`color-bg-content-${OA}`]:"transparent",[`color-border-${OA}`]:"transparent",[`color-icon-${OA}`]:"$color-surface-50"},dark:{[`color-bg-header-${OA}`]:"$color-primary-500",[`color-bg-header-${OA}-hover`]:"$color-primary-600",[`color-header-${OA}`]:"$color-surface-50",[`color-content-${OA}`]:"$color-text-primary",[`color-bg-content-${OA}`]:"transparent",[`color-border-${OA}`]:"transparent",[`color-icon-${OA}`]:"$color-surface-50"}}}),qv=AA(OA,Jv,({node:A,renderChild:e,extractValue:t,lookupEventHandler:o,registerComponentApi:r})=>{var n;return g.jsx(Ov,{triggerPosition:t((n=A.props)==null?void 0:n.triggerPosition),collapsedIcon:t(A.props.collapsedIcon),expandedIcon:t(A.props.expandedIcon),hideIcon:t.asOptionalBoolean(A.props.hideIcon),rotateExpanded:t(A.props.rotateExpanded),onDisplayDidChange:o("displayDidChange"),registerComponentApi:r,children:e(A.children)})}),zv={themeVars:'"[]"'},Wv=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"Alert component is not implemented yet"}),Fi="Alert",$v=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${Fi}\` component is a panel used to display important notifications or feedback to users. It helps convey different statuses or levels of urgency, such as success, warning, error, and others.`,props:{statusColor:f(`The value of this optional property sets the string to provide a color scheme for the ${Fi}.`,Y2,"string","primary"),dismissable:f(`This property's \`true\` value indicates if this alert is dismissable by the user. When the user closes the ${Fi}, it gets hidden.`),autoDismissInMs:f("Timeout for the alert to be dismissed"),showIcon:f("Indicates if the alert should display an icon"),icon:f("Icon to be displayed in the alert")},events:{},apis:{dismiss:f(`This method dismisses the ${Fi}. It triggers the \`didDismiss\` event with the argument set to \`false\`.`)},themeVars:pA(zv.themeVars),defaultThemeVars:{light:{},dark:{}}}),jv=AA(Fi,$v,({})=>g.jsx(Wv,{})),Vv={themeVars:'"[]"'},Xv=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"OffCanvas component is not implemented yet"}),Li="OffCanvas",Zv=Z({status:"in progress",description:"(**NOT IMPLEMENTED YET**) The `OffCanvas` component is a hidden panel that slides into view from the side of the screen. It helps display additional content or navigation without disrupting the main interface.",props:{enableBackdrop:f("This property indicates if the backdrop is enabled when the component is displayed. When the backdrop is not enabled, clicking outside `OffCanvas` will not close it.",null,"boolean",!0),enableBodyScroll:f("This property indicates if the body scroll is enabled when the component is displayed.",null,"boolean",!1),noCloseOnBackdropClick:f(`When this property is set to \`true\`, the ${Li} does not close when the user clicks on its backdrop.`,null,"boolean",!1),placement:f(`This property indicates the position where the ${Li} should be docked to.`,K2),autoCloseInMs:f("This property sets a timeout. When the timeout expires, the component gets hidden.")},events:{didOpen:$5(Li),didClose:j5(Li)},apis:{open:f("This method opens the component. It triggers the `didOpen` event with the argument set to `false`."),close:f("This method closes the component. It triggers the `didClose` event with the argument set to `false`.")},themeVars:pA(Vv.themeVars),defaultThemeVars:{light:{},dark:{}}}),Ay=AA(Li,Zv,({})=>g.jsx(Xv,{}));function ey(A){const e=E.useId(),{register:t,unRegister:o}=Qv();return E.useEffect(()=>{t({...A,id:e})},[e,A,t]),E.useEffect(()=>()=>{o(e)},[e,o]),null}const Sc="TabItem",ty=Z({description:`\`${Sc}\` is a non-visual component describing a tab. Tabs component may use nested ${Sc} instances from which the user can select.`,props:{label:Je()}}),oy=AA(Sc,ty,A=>{const{node:e,renderChild:t,extractValue:o}=A;return g.jsx(ey,{label:o(e.props.label),content:t(e.children)})}),ry={themeVars:'"[]"'},ny=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"Range component is not implemented yet"}),Si="Range",iy=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${Si}\` component allows you to select a numeric range (lower and upper boundary values) between the complete range specified by minimum and maximum values.`,props:{initialValue:f(""),minValue:f("This property specifies the minimum value of the entire value domain to select the lower and upper boundary range values.",null,"number",0),maxValue:f("This property specifies the maximum value of the entire value domain to select the lower and upper boundary range values.",null,"number",10),lowerInclusive:f("This boolean property specifies whether the lower boundary value is inclusive (`true`) or exclusive (`false`).",null,"boolean",!0),upperInclusive:f("This boolean property specifies whether the upper boundary value is inclusive (`true`) or exclusive (`false`).",null,"boolean",!0),complementary:f("This boolean property specifies whether the range is complementary to the selected set of values (`true`) or not (`false`). The value of this property is indicated visually.",null,"boolean",!1)},events:{didChange:f("This event is fired when a range boundary has been changed. The event parameters are the new lower and upper boundary values (in this order)."),getFocus:wt(Si),dostFocus:ft(Si)},apis:{focus:Eo(Si),value:f("You can query the component's value. The value is a two-item array with the lower (first) and upper (second) boundary values."),setValue:f("This method sets the component's lower and upper range values. The value must be a two-item array with the lower (first) and upper (second) boundary values.")},themeVars:pA(ry.themeVars),defaultThemeVars:{light:{},dark:{}}}),sy=AA(Si,iy,({node:A,extractValue:e,lookupEventHandler:t,layoutCss:o})=>g.jsx(ny,{}));function ay(A){return g.jsx("div",{children:A})}function ly({id:A,header:e,headerRenderer:t=ay,content:o,initiallyExpanded:r}){const n=E.useId(),i=E.useMemo(()=>A?`${A}`:n,[A,n]),s=E.useMemo(()=>`trigger_${i}`,[i]),{rotateExpanded:a,expandedItems:l,hideIcon:c,expandedIcon:B,collapsedIcon:Q,triggerPosition:u,expandItem:d,register:C,unRegister:h}=Kv(),I=E.useMemo(()=>l.includes(i),[i,l]),[p,D]=E.useState(!1);return E.useEffect(()=>{p||(D(!0),r&&d(i))},[d,i,r,p]),E.useEffect(()=>{C(s)},[C,s]),E.useEffect(()=>()=>{h(s)},[s,h]),g.jsxs(Ai.Item,{value:i,className:Vo.item,children:[g.jsx(Ai.Header,{className:Vo.header,children:g.jsxs(Ai.Trigger,{id:`trigger_${i}`,className:Ge(Vo.trigger,{[Vo.triggerStart]:u==="start"}),children:[t(e),!c&&g.jsx("span",{style:{transform:I&&!B?`rotate(${a})`:"rotate(0deg)",transition:"transform 300ms cubic-bezier(0.87, 0, 0.13, 1)"},children:g.jsx(kA,{name:I&&B||Q,className:Vo.chevron})})]})}),g.jsx(Ai.Content,{className:Vo.contentWrapper,children:g.jsx("div",{className:Vo.content,children:o})})]},i)}const Va="AccordionItem",gy=Z({description:`\`${Va}\` is a non-visual component describing a tab. Tabs component may use nested ${Va} instances from which the user can select.`,props:{header:f("This property declares the text used in the component's header."),headerTemplate:se("This property describes the template to use as the component's header."),initiallyExpanded:f(`This property indicates if the ${Va} is expanded (\`true\`) or collapsed (\`false\`).`,null,"boolean",!1)}}),cy=AA(Va,gy,A=>{const{node:e,renderChild:t,extractValue:o}=A;return g.jsx(ly,{id:o(e.uid),header:o(e.props.header),initiallyExpanded:o.asOptionalBoolean(e.props.initiallyExpanded),headerRenderer:e.props.headerTemplate?r=>g.jsx(ct,{node:e.props.headerTemplate??{type:"Fragment"},item:r,renderChild:t}):void 0,content:t(e.children)})}),By={themeVars:'"[]"'},Qy=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"Slider component is not implemented yet"}),Mn="Slider",uy=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${Mn}\` component allows you to select a numeric value between a range specified by minimum and maximum values.`,props:{minValue:f("This property specifies the minimum value of the allowed input range.",null,"number",0),maxValue:f("This property specifies the maximum value of the allowed input range.",null,"number",10),rangeHighlight:f("This property indicates if you want to highlight a specific part of the input range.",[{value:"none",description:"No highlight (default)"},{value:"lower",description:"Highlight the lower part of the range (from the minimum to the current slider value)"},{value:"upper",description:"Highlight the upper part of the range (from the current slider value to the maximum)"}],"string","none")},events:{didChange:lt(Mn),getFocus:wt(Mn),dostFocus:ft(Mn)},apis:{focus:Eo(Mn),value:Ug(),setValue:Uo()},themeVars:pA(By.themeVars),defaultThemeVars:{light:{},dark:{}}}),Ey=AA(Mn,uy,({node:A,extractValue:e,lookupEventHandler:t,layoutCss:o})=>g.jsx(Qy,{})),dy={themeVars:'"[]"'},Cy=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"ButtonGroup component is not implemented yet"}),DE="ButtonGroup",hy=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${DE}\` component is a container that embeds buttons used together for a particular reason. It provides a view that emphasizes this coherency.`,props:{themeColor:f("This optional property specifies the default theme color for the buttons in the group. Individual buttons may override this setting with their `themeColor` property.",v1,"string","primary"),variant:f("This optional property specifies the default variant for the buttons in the group. Individual buttons may override this setting with their `variant` property.",b1,"string","solid"),orientation:V5("horizontal"),buttonWidth:f("When this optional property is set, all buttons within the group will have the specified width. If it is empty, each button's width accommodates its content."),gap:f("When this optional property is set, adjacent buttons will have the specified gap between them. If this property is not set, the buttons will be merged into one group.")},themeVars:pA(dy.themeVars),defaultThemeVars:{light:{},dark:{}}}),Iy=AA(DE,hy,({})=>g.jsx(Cy,{})),ot={themeVars:`'{"width-Carousel": "var(--xmlui-width-Carousel)", "height-Carousel": "var(--xmlui-height-Carousel)", "height-control-Carousel": "var(--xmlui-height-control-Carousel)", "width-control-Carousel": "var(--xmlui-width-control-Carousel)", "color-text-control-Carousel": "var(--xmlui-color-text-control-Carousel)", "color-bg-control-Carousel": "var(--xmlui-color-bg-control-Carousel)", "radius-control-Carousel": "var(--xmlui-radius-control-Carousel)", "color-bg-control-hover-Carousel": "var(--xmlui-color-bg-control-hover-Carousel)", "color-text-control-hover-Carousel": "var(--xmlui-color-text-control-hover-Carousel)", "color-bg-control-active-Carousel": "var(--xmlui-color-bg-control-active-Carousel)", "color-text-control-active-Carousel": "var(--xmlui-color-text-control-active-Carousel)", "color-text-control-disabled-Carousel": "var(--xmlui-color-text-control-disabled-Carousel)", "color-bg-control-disabled-Carousel": "var(--xmlui-color-bg-control-disabled-Carousel)", "width-indicator-Carousel": "var(--xmlui-width-indicator-Carousel)", "height-indicator-Carousel": "var(--xmlui-height-indicator-Carousel)", "color-text-indicator-Carousel": "var(--xmlui-color-text-indicator-Carousel)", "color-bg-indicator-Carousel": "var(--xmlui-color-bg-indicator-Carousel)", "color-bg-indicator-hover-Carousel": "var(--xmlui-color-bg-indicator-hover-Carousel)", "color-text-indicator-hover-Carousel": "var(--xmlui-color-text-indicator-hover-Carousel)", "color-bg-indicator-active-Carousel": "var(--xmlui-color-bg-indicator-active-Carousel)", "color-text-indicator-active-Carousel": "var(--xmlui-color-text-indicator-active-Carousel)"}'`,carousel:"_carousel_11a03_13",innerWrapper:"_innerWrapper_11a03_22",carouselContentWrapper:"_carouselContentWrapper_11a03_30",carouselContent:"_carouselContent_11a03_30",vertical:"_vertical_11a03_40",carouselItem:"_carouselItem_11a03_44",controls:"_controls_11a03_51",controlButton:"_controlButton_11a03_60",indicators:"_indicators_11a03_87",indicator:"_indicator_11a03_87",active:"_active_11a03_107"},py=({orientation:A="horizontal",children:e,style:t,indicators:o=!0,onDisplayDidChange:r=vA,autoplay:n=!1,controls:i=!0,loop:s=!1,startIndex:a=0,prevIcon:l,nextIcon:c,registerComponentApi:B})=>{const Q=E.useRef(null),[u,d]=E.useState(0),[C,h]=E.useState([]),[I,p]=E.useState(!1),[D,m]=B4({axis:A==="horizontal"?"x":"y",loop:s,startIndex:a},C),k=l||A==="horizontal"?"arrowleft":"arrowup",N=c||A==="horizontal"?"arrowright":"arrowdown";E.useEffect(()=>{n&&h([Q4()])},[n]);const L=E.useCallback(()=>{var S;const z=(S=m==null?void 0:m.plugins())==null?void 0:S.autoplay;if(!z)return;(z.isPlaying()?z.stop:z.play)()},[m]);E.useEffect(()=>{var T;const z=(T=m==null?void 0:m.plugins())==null?void 0:T.autoplay;z&&(p(z.isPlaying()),m.on("autoplay:play",()=>p(!0)).on("autoplay:stop",()=>p(!1)).on("reInit",()=>p(z.isPlaying())))},[m]);const M=E.useCallback(z=>{m==null||m.scrollTo(z)},[m]),[F,v]=K.useState(!1),[y,P]=K.useState(!1),b=K.useCallback(z=>{if(!z)return;const T=z.selectedScrollSnap();r(T),d(T),v(z.canScrollPrev()),P(z.canScrollNext())},[]),_=E.useCallback(()=>{m&&(m==null||m.scrollPrev())},[m]),q=E.useCallback(()=>{m==null||m.scrollNext()},[m]),J=E.useCallback(z=>{A==="horizontal"?z.key==="ArrowLeft"?(z.preventDefault(),_()):z.key==="ArrowRight"&&(z.preventDefault(),q()):z.key==="ArrowUp"?(z.preventDefault(),_()):z.key==="ArrowDown"&&(z.preventDefault(),q())},[_,q]);return E.useEffect(()=>{B==null||B({scrollTo:M,scrollPrev:_,scrollNext:q,canScrollPrev:()=>F,canScrollNext:()=>y})},[B,M,_,q,F,y]),K.useEffect(()=>{if(m)return b(m),m.on("reInit",b),m.on("select",b),()=>{m==null||m.off("select",b)}},[m,b]),E.useEffect(()=>{Q!=null&&Q.current&&Q.current.addEventListener("keydown",J)},[Q,J]),g.jsxs("div",{style:t,ref:Q,className:cA(ot.carousel),role:"region",tabIndex:-1,"aria-roledescription":"carousel",children:[g.jsx("div",{ref:D,className:ot.carouselContentWrapper,children:g.jsx("div",{className:cA(ot.carouselContent,{[ot.horizontal]:A==="horizontal",[ot.vertical]:A==="vertical"}),children:e})}),i&&g.jsxs("div",{className:ot.controls,children:[n&&g.jsx("button",{className:ot.controlButton,onClick:L,children:I?g.jsx(kA,{name:"pause"}):g.jsx(kA,{name:"play"})}),g.jsx("button",{className:ot.controlButton,disabled:!F,onClick:_,children:g.jsx(kA,{name:k})}),g.jsx("button",{className:ot.controlButton,onClick:q,disabled:!y,children:g.jsx(kA,{name:N})})]}),o&&g.jsx("div",{className:ot.indicators,children:K.Children.map(e,(z,T)=>g.jsx("button",{type:"button",onClick:()=>M(T),className:cA(ot.indicator,{[ot.active]:T===u}),"aria-current":T===u},T))})]})},Ie="Carousel",wy=Z({status:"in progress",description:"This component displays a slideshow by cycling through elements (images, text, or custom slides) like a carousel.",props:{orientation:f("This property indicates the orientation of the carousel. The `horizontal` value indicates that the carousel moves horizontally, and the `vertical` value indicates that the carousel moves vertically.",["horizontal","vertical"],null,"horizontal"),indicators:f("This property indicates whether the carousel displays the indicators.",null,null,"true"),controls:f("This property indicates whether the carousel displays the controls.",null,null,"true"),autoplay:f("This property indicates whether the carousel automatically scrolls.",null,null,"false"),loop:f("This property indicates whether the carousel loops.",null,null,"false"),startIndex:f("This property indicates the index of the first slide to display.",null,null,"0"),prevIcon:f("This property specifies the icon to display for the previous control."),nextIcon:f("This property specifies the icon to display for the next control."),keyboard:f("This property indicates whether the carousel responds to keyboard events.")},events:{displayDidChange:lt(Ie)},apis:{canScrollPrev:f("This method returns `true` if the carousel can scroll to the previous slide."),canScrollNext:f("This method returns `true` if the carousel can scroll to the next slide."),scrollTo:f("This method scrolls the carousel to the specified slide index."),scrollPrev:f("This method scrolls the carousel to the previous slide."),scrollNext:f("This method scrolls the carousel to the next slide.")},themeVars:pA(ot.themeVars),defaultThemeVars:{[`color-bg-control-${Ie}`]:"$color-primary",[`color-text-control-${Ie}`]:"$color-primary",[`color-bg-control-hover-${Ie}`]:"$color-primary",[`color-text-control-hover-${Ie}`]:"$color-primary",[`color-bg-control-active-${Ie}`]:"$color-primary",[`color-bg-control-disabled-${Ie}`]:"$color-surface-200",[`color-text-control-disabled-${Ie}`]:"$color-text-disabled",[`color-text-control-active-${Ie}`]:"$color-primary",[`color-bg-indicator-${Ie}`]:"$color-surface-200",[`color-bg-indicator-active-${Ie}`]:"$color-primary",[`color-text-indicator-${Ie}`]:"$color-primary",[`color-text-indicator-active-${Ie}`]:"$color-primary",[`color-bg-indicator-hover-${Ie}`]:"$color-surface-200",[`color-text-indicator-hover-${Ie}`]:"$color-primary",[`width-indicator-${Ie}`]:"25px",[`height-indicator-${Ie}`]:"6px",[`height-control-${Ie}`]:"36px",[`width-control-${Ie}`]:"36px",[`radius-control-${Ie}`]:"50%",[`height-${Ie}`]:"100%",[`width-${Ie}`]:"100%"}}),fy=AA(Ie,wy,({node:A,renderChild:e,layoutCss:t,extractValue:o,lookupEventHandler:r,registerComponentApi:n})=>{var i,s,a,l,c,B,Q,u,d;return g.jsx(py,{style:t,indicators:o.asOptionalBoolean((i=A.props)==null?void 0:i.indicators),controls:o.asOptionalBoolean((s=A.props)==null?void 0:s.controls),orientation:o((a=A.props)==null?void 0:a.orientation),onDisplayDidChange:r("displayDidChange"),autoplay:o.asOptionalBoolean((l=A.props)==null?void 0:l.autoplay),registerComponentApi:n,loop:o.asOptionalBoolean((c=A.props)==null?void 0:c.loop),startIndex:o.asOptionalNumber((B=A.props)==null?void 0:B.startIndex),prevIcon:o((Q=A.props)==null?void 0:Q.prevIcon),nextIcon:o((u=A.props)==null?void 0:u.nextIcon),keyboard:o.asOptionalBoolean((d=A.props)==null?void 0:d.keyboard),children:e(A.children)})}),Dy=({content:A})=>g.jsx("div",{role:"group","aria-roledescription":"slide",className:cA(ot.carouselItem),children:g.jsx("div",{className:ot.innerWrapper,children:A})}),my="CarouselItem",xy=Z({}),vy=AA(my,xy,A=>{const{node:e,renderChild:t}=A;return g.jsx(Dy,{content:t(e.children,{type:"Stack",orientation:"vertical"})})}),yy={breakout:"_breakout_ovaa2_1"},by=({children:A})=>g.jsx("div",{className:yy.breakout,children:A}),mE="Breakout",ky=Z({description:`The \`${mE}\` component creates a breakout section. It allows its child to occupy the entire width of the UI even if the app or the parent container constrains the maximum content width.`}),My=AA(mE,ky,({node:A,renderChild:e})=>g.jsx(by,{children:e(A.children)})),xE="ToneChangerButton",Ny=Z({status:"experimental",docFolder:"ThemeChanger",description:`The \`${xE}\` component is a component that allows the user to change the tone of the app.`,props:{}});function _y(){const{activeThemeTone:A,setActiveThemeTone:e}=si();return g.jsx(Ce,{variant:"ghost",icon:g.jsx(kA,{name:A==="light"?"moon":"sun"}),onClick:()=>{e(A==="light"?"dark":"light")}})}const Fy=AA(xE,Ny,()=>g.jsx(_y,{}));function Ly({registerComponentApi:A,node:e,uid:t}){const o=HA(async(r,...n)=>{var s,a,l,c;const i=n[1];return await dE(r,{...e.props,body:e.props.body||(i!=null&&i.passAsDefaultBody?n[0]:void 0),uid:t,params:{$param:n[0],$params:n},onError:(s=e.events)==null?void 0:s.error,onProgress:(a=e.events)==null?void 0:a.progress,onBeforeRequest:(l=e.events)==null?void 0:l.beforeRequest,onSuccess:(c=e.events)==null?void 0:c.success},{resolveBindingExpressions:!0})});return E.useEffect(()=>{A({execute:o,_SUPPORT_IMPLICIT_CONTEXT:!0})},[o,A]),null}const Pi="APICall",Sy=Z({description:`\`${Pi}\` is used to mutate (create, update or delete) some data on the backend. It is similar in nature to the \`DataSource\` component which retrieves data from the backend.`,props:{method:f("The method of data manipulation can be done via setting this property. The following HTTP methods are available: `post`, `put`, and `delete`."),url:f("Use this property to set the URL to send data to."),rawBody:f("This property sets the request body to the value provided here without any conversion. Use the * `body` property if you want the object sent in JSON. When you define `body` and `rawBody`, the latest one prevails."),body:f("This property sets the request body. The object you pass here will be serialized to JSON when sending the request. Use the `rawBody` property to send another request body using its native format. When you define `body` and `rawBody`, the latest one prevails."),queryParams:f("This property sets the query parameters for the request. The object you pass here will be serialized to a query string and appended to the request URL. You can specify key and value pairs where the key is the name of a particular query parameter and the value is that parameter's value."),headers:f("You can define request header values as key and value pairs, where the key is the ID of the particular header and the value is that header's value."),confirmTitle:f(`This optional string sets the title in the confirmation dialog that is displayed before the \`${Pi}\` is executed.`),confirmMessage:f(`This optional string sets the message in the confirmation dialog that is displayed before the \`${Pi}\` is executed.`),confirmButtonLabel:f(`This optional string property enables the customization of the submit button in the confirmation dialog that is displayed before the \`${Pi}\` is executed.`),inProgressNotificationMessage:f("This property customizes the message that is displayed in a toast while the API operation is in progress."),errorNotificationMessage:f("This property defines the message to display automatically when the operation results in an error."),completedNotificationMessage:f("This property defines the message to display automatically when the operation has been completed."),payloadType:_r(),invalidates:_r(),updates:_r(),optimisticValue:_r(),getOptimisticValue:_r()},events:{beforeRequest:f("This event fires before the request is sent. Returning an explicit boolean'false' value will prevent the request from being sent."),success:f("This event fires when a request results in a success."),error:f("This event fires when a request results in an error."),progress:_r()},contextVars:{$param:f("This value represents the first parameters passed to the `execute()` method to display the modal dialog."),$params:f("This value represents the array of parameters passed to the `execute()` method. You can use `$params[0]` to access the first and `$params[1]` to access the second (and so on) parameters. `$param` is the same as `$params[0]`.")},apis:{execute:f("This method triggers the invocation of the API. You can pass an arbitrary number of parameters to the method. In the `APICall` instance, you can access those with the `$param` and `$params` context values.")}}),Py=AA(Pi,Sy,({node:A,registerComponentApi:e,uid:t,extractValue:o})=>g.jsx(Ly,{registerComponentApi:e,node:A,uid:t})),vE="Option",Ty=Z({description:`\`${vE}\` is a non-visual component describing a selection option. Other components (such as \`Select\`, \`Combobox\`, and others) may use nested \`Option\` instances from which the user can select.`,props:{label:f("This property defines the text to display for the option. If `label` is not defined, `Option` will use the `value` as the label."),value:f("This property defines the value of the option. If `value` is not defined, `Option` will use the `label` as the value."),enabled:Ze()}}),yE=E.memo(A=>{const e=f9();return e?g.jsx(e,{...A}):null});yE.displayName="OptionNative";const Gy=AA(vE,Ty,({node:A,extractValue:e,layoutCss:t,renderChild:o})=>g.jsx(yE,{value:e(A.props.value),label:e.asOptionalString(A.props.label)||o(A.children),enabled:e.asOptionalBoolean(A.props.enabled),style:t})),pe="AutoComplete",Hy=Z({description:"This component is a dropdown with a list of options. According to the `multi` property, the user can select one or more items.",status:"experimental",props:{placeholder:Fr(),initialValue:Zt(),maxLength:ui(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),dropdownHeight:f("This property sets the height of the dropdown list."),multi:Bu(),optionTemplate:se("This property enables the customization of list items. To access the attributes of a list item use the `$item` context variable."),emptyListTemplate:f("This property defines the template to display when the list of options is empty.")},events:{gotFocus:wt(pe),lostFocus:ft(pe),didChange:lt(pe)},apis:{focus:Eo(pe),value:f("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Uo()},contextVars:{$item:f("This context value represents an item when you define an option item template. Use `$item.value` and `$item.label` to refer to the value and label of the particular option.")},themeVars:pA(tt.themeVars),defaultThemeVars:{[`color-bg-menu-${pe}`]:"$color-bg-primary",[`shadow-menu-${pe}`]:"$shadow-md",[`radius-menu-${pe}`]:"$radius",[`color-bg-item-${pe}`]:"$color-bg-dropdown-item",[`color-bg-item-${pe}--hover`]:"$color-bg-dropdown-item--active",[`color-bg-item-${pe}--active`]:"$color-bg-dropdown-item--active","min-height-Input":"39px",[`color-bg-${pe}-badge`]:"$color-primary-500",[`font-size-${pe}-badge`]:"$font-size-small",[`padding-horizontal-${pe}-badge`]:"$space-1",[`padding-vertical-${pe}-badge`]:"$space-1",light:{[`color-bg-${pe}-badge--hover`]:"$color-primary-400",[`color-bg-${pe}-badge--active`]:"$color-primary-500",[`color-text-item-${pe}--disabled`]:"$color-surface-200",[`color-text-${pe}-badge`]:"$color-surface-50"},dark:{[`color-bg-${pe}-badge--hover`]:"$color-primary-600",[`color-bg-${pe}-badge--active`]:"$color-primary-500",[`color-text-${pe}-badge`]:"$color-surface-50",[`color-text-item-${pe}--disabled`]:"$color-surface-800"}}}),Uy=AA(pe,Hy,({node:A,state:e,updateState:t,extractValue:o,renderChild:r,lookupEventHandler:n,layoutCss:i,registerComponentApi:s})=>g.jsx(G0,{multi:o.asOptionalBoolean(A.props.multi),layout:i,updateState:t,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:s,emptyListTemplate:r(A.props.emptyListTemplate),dropdownHeight:o(A.props.dropdownHeight),optionRenderer:A.props.optionTemplate?a=>g.jsx(ct,{node:A.props.optionTemplate,item:a,renderChild:r}):void 0,children:r(A.children)})),Xa={themeVars:'"[]"',backdropContainer:"_backdropContainer_18iuc_13",backdrop:"_backdrop_18iuc_13",overlay:"_overlay_18iuc_26"},Ry=({style:A,children:e,overlayTemplate:t,backgroundColor:o="black",opacity:r="0.1"})=>{const n={...A,width:void 0};return g.jsxs("div",{className:Xa.backdropContainer,style:{width:A.width??"fit-content"},children:[e,g.jsx("div",{className:Xa.backdrop,style:{...n,backgroundColor:o,opacity:r}}),t&&g.jsx("div",{className:Xa.overlay,children:t})]})},bE="Backdrop",Yy=Z({status:"stable",description:`The \`${bE}\` component is a semi-transparent overlay that appears on top of its child component to obscure or highlight the content behind it.`,props:{overlayTemplate:se("This property defines the component template for an optional overlay to display over the component."),backgroundColor:f("The background color of the backdrop.",null,"string","black"),opacity:f("The opacity of the backdrop.",null,"number",.1)},themeVars:pA(Xa.themeVars)}),Ky=AA(bE,Yy,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>{var r;return g.jsx(Ry,{style:o,overlayTemplate:t((r=A.props)==null?void 0:r.overlayTemplate),backgroundColor:e.asOptionalString(A.props.backgroundColor),opacity:e.asString(A.props.opacity),children:t(A.children)})});var Pc=Gi(),LA=A=>Ti(A,Pc),Tc=Gi();LA.write=A=>Ti(A,Tc);var Za=Gi();LA.onStart=A=>Ti(A,Za);var Gc=Gi();LA.onFrame=A=>Ti(A,Gc);var Hc=Gi();LA.onFinish=A=>Ti(A,Hc);var Nn=[];LA.setTimeout=(A,e)=>{const t=LA.now()+e,o=()=>{const n=Nn.findIndex(i=>i.cancel==o);~n&&Nn.splice(n,1),hr-=~n?1:0},r={time:t,handler:A,cancel:o};return Nn.splice(kE(t),0,r),hr+=1,ME(),r};var kE=A=>~(~Nn.findIndex(e=>e.time>A)||~Nn.length);LA.cancel=A=>{Za.delete(A),Gc.delete(A),Hc.delete(A),Pc.delete(A),Tc.delete(A)},LA.sync=A=>{Rc=!0,LA.batchedUpdates(A),Rc=!1},LA.throttle=A=>{let e;function t(){try{A(...e)}finally{e=null}}function o(...r){e=r,LA.onStart(t)}return o.handler=A,o.cancel=()=>{Za.delete(t),e=null},o};var Uc=typeof window<"u"?window.requestAnimationFrame:()=>{};LA.use=A=>Uc=A,LA.now=typeof performance<"u"?()=>performance.now():Date.now,LA.batchedUpdates=A=>A(),LA.catch=console.error,LA.frameLoop="always",LA.advance=()=>{LA.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):_E()};var Cr=-1,hr=0,Rc=!1;function Ti(A,e){Rc?(e.delete(A),A(0)):(e.add(A),ME())}function ME(){Cr<0&&(Cr=0,LA.frameLoop!=="demand"&&Uc(NE))}function Oy(){Cr=-1}function NE(){~Cr&&(Uc(NE),LA.batchedUpdates(_E))}function _E(){const A=Cr;Cr=LA.now();const e=kE(Cr);if(e&&(FE(Nn.splice(0,e),t=>t.handler()),hr-=e),!hr){Oy();return}Za.flush(),Pc.flush(A?Math.min(64,Cr-A):16.667),Gc.flush(),Tc.flush(),Hc.flush()}function Gi(){let A=new Set,e=A;return{add(t){hr+=e==A&&!A.has(t)?1:0,A.add(t)},delete(t){return hr-=e==A&&A.has(t)?1:0,A.delete(t)},flush(t){e.size&&(A=new Set,hr-=e.size,FE(e,o=>o(t)&&A.add(o)),hr+=A.size,e=A)}}}function FE(A,e){A.forEach(t=>{try{e(t)}catch(o){LA.catch(o)}})}var Jy=Object.defineProperty,qy=(A,e)=>{for(var t in e)Jy(A,t,{get:e[t],enumerable:!0})},ro={};qy(ro,{assign:()=>Wy,colors:()=>Ir,createStringInterpolator:()=>Oc,skipAnimation:()=>SE,to:()=>LE,willAdvance:()=>Jc});function Yc(){}var zy=(A,e,t)=>Object.defineProperty(A,e,{value:t,writable:!0,configurable:!0}),aA={arr:Array.isArray,obj:A=>!!A&&A.constructor.name==="Object",fun:A=>typeof A=="function",str:A=>typeof A=="string",num:A=>typeof A=="number",und:A=>A===void 0};function Xo(A,e){if(aA.arr(A)){if(!aA.arr(e)||A.length!==e.length)return!1;for(let t=0;t<A.length;t++)if(A[t]!==e[t])return!1;return!0}return A===e}var YA=(A,e)=>A.forEach(e);function xo(A,e,t){if(aA.arr(A)){for(let o=0;o<A.length;o++)e.call(t,A[o],`${o}`);return}for(const o in A)A.hasOwnProperty(o)&&e.call(t,A[o],o)}var yt=A=>aA.und(A)?[]:aA.arr(A)?A:[A];function Hi(A,e){if(A.size){const t=Array.from(A);A.clear(),YA(t,e)}}var Ui=(A,...e)=>Hi(A,t=>t(...e)),Kc=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Oc,LE,Ir=null,SE=!1,Jc=Yc,Wy=A=>{A.to&&(LE=A.to),A.now&&(LA.now=A.now),A.colors!==void 0&&(Ir=A.colors),A.skipAnimation!=null&&(SE=A.skipAnimation),A.createStringInterpolator&&(Oc=A.createStringInterpolator),A.requestAnimationFrame&&LA.use(A.requestAnimationFrame),A.batchedUpdates&&(LA.batchedUpdates=A.batchedUpdates),A.willAdvance&&(Jc=A.willAdvance),A.frameLoop&&(LA.frameLoop=A.frameLoop)},Ri=new Set,Rt=[],qc=[],Al=0,el={get idle(){return!Ri.size&&!Rt.length},start(A){Al>A.priority?(Ri.add(A),LA.onStart($y)):(PE(A),LA(zc))},advance:zc,sort(A){if(Al)LA.onFrame(()=>el.sort(A));else{const e=Rt.indexOf(A);~e&&(Rt.splice(e,1),TE(A))}},clear(){Rt=[],Ri.clear()}};function $y(){Ri.forEach(PE),Ri.clear(),LA(zc)}function PE(A){Rt.includes(A)||TE(A)}function TE(A){Rt.splice(jy(Rt,e=>e.priority>A.priority),0,A)}function zc(A){const e=qc;for(let t=0;t<Rt.length;t++){const o=Rt[t];Al=o.priority,o.idle||(Jc(o),o.advance(A),o.idle||e.push(o))}return Al=0,qc=Rt,qc.length=0,Rt=e,Rt.length>0}function jy(A,e){const t=A.findIndex(e);return t<0?A.length:t}var Vy=(A,e,t)=>Math.min(Math.max(t,A),e),Xy={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},no="[-+]?\\d*\\.?\\d+",tl=no+"%";function ol(...A){return"\\(\\s*("+A.join(")\\s*,\\s*(")+")\\s*\\)"}var Zy=new RegExp("rgb"+ol(no,no,no)),Ab=new RegExp("rgba"+ol(no,no,no,no)),eb=new RegExp("hsl"+ol(no,tl,tl)),tb=new RegExp("hsla"+ol(no,tl,tl,no)),ob=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rb=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,nb=/^#([0-9a-fA-F]{6})$/,ib=/^#([0-9a-fA-F]{8})$/;function sb(A){let e;return typeof A=="number"?A>>>0===A&&A>=0&&A<=4294967295?A:null:(e=nb.exec(A))?parseInt(e[1]+"ff",16)>>>0:Ir&&Ir[A]!==void 0?Ir[A]:(e=Zy.exec(A))?(_n(e[1])<<24|_n(e[2])<<16|_n(e[3])<<8|255)>>>0:(e=Ab.exec(A))?(_n(e[1])<<24|_n(e[2])<<16|_n(e[3])<<8|UE(e[4]))>>>0:(e=ob.exec(A))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=ib.exec(A))?parseInt(e[1],16)>>>0:(e=rb.exec(A))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=eb.exec(A))?(GE(HE(e[1]),rl(e[2]),rl(e[3]))|255)>>>0:(e=tb.exec(A))?(GE(HE(e[1]),rl(e[2]),rl(e[3]))|UE(e[4]))>>>0:null}function Wc(A,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?A+(e-A)*6*t:t<1/2?e:t<2/3?A+(e-A)*(2/3-t)*6:A}function GE(A,e,t){const o=t<.5?t*(1+e):t+e-t*e,r=2*t-o,n=Wc(r,o,A+1/3),i=Wc(r,o,A),s=Wc(r,o,A-1/3);return Math.round(n*255)<<24|Math.round(i*255)<<16|Math.round(s*255)<<8}function _n(A){const e=parseInt(A,10);return e<0?0:e>255?255:e}function HE(A){return(parseFloat(A)%360+360)%360/360}function UE(A){const e=parseFloat(A);return e<0?0:e>1?255:Math.round(e*255)}function rl(A){const e=parseFloat(A);return e<0?0:e>100?1:e/100}function RE(A){let e=sb(A);if(e===null)return A;e=e||0;const t=(e&4278190080)>>>24,o=(e&16711680)>>>16,r=(e&65280)>>>8,n=(e&255)/255;return`rgba(${t}, ${o}, ${r}, ${n})`}var Yi=(A,e,t)=>{if(aA.fun(A))return A;if(aA.arr(A))return Yi({range:A,output:e,extrapolate:t});if(aA.str(A.output[0]))return Oc(A);const o=A,r=o.output,n=o.range||[0,1],i=o.extrapolateLeft||o.extrapolate||"extend",s=o.extrapolateRight||o.extrapolate||"extend",a=o.easing||(l=>l);return l=>{const c=lb(l,n);return ab(l,n[c],n[c+1],r[c],r[c+1],a,i,s,o.map)}};function ab(A,e,t,o,r,n,i,s,a){let l=a?a(A):A;if(l<e){if(i==="identity")return l;i==="clamp"&&(l=e)}if(l>t){if(s==="identity")return l;s==="clamp"&&(l=t)}return o===r?o:e===t?A<=e?o:r:(e===-1/0?l=-l:t===1/0?l=l-e:l=(l-e)/(t-e),l=n(l),o===-1/0?l=-l:r===1/0?l=l+o:l=l*(r-o)+o,l)}function lb(A,e){for(var t=1;t<e.length-1&&!(e[t]>=A);++t);return t-1}var gb=(A,e="end")=>t=>{t=e==="end"?Math.min(t,.999):Math.max(t,.001);const o=t*A,r=e==="end"?Math.floor(o):Math.ceil(o);return Vy(0,1,r/A)},nl=1.70158,il=nl*1.525,YE=nl+1,KE=2*Math.PI/3,OE=2*Math.PI/4.5,sl=A=>A<1/2.75?7.5625*A*A:A<2/2.75?7.5625*(A-=1.5/2.75)*A+.75:A<2.5/2.75?7.5625*(A-=2.25/2.75)*A+.9375:7.5625*(A-=2.625/2.75)*A+.984375,cb={linear:A=>A,easeInQuad:A=>A*A,easeOutQuad:A=>1-(1-A)*(1-A),easeInOutQuad:A=>A<.5?2*A*A:1-Math.pow(-2*A+2,2)/2,easeInCubic:A=>A*A*A,easeOutCubic:A=>1-Math.pow(1-A,3),easeInOutCubic:A=>A<.5?4*A*A*A:1-Math.pow(-2*A+2,3)/2,easeInQuart:A=>A*A*A*A,easeOutQuart:A=>1-Math.pow(1-A,4),easeInOutQuart:A=>A<.5?8*A*A*A*A:1-Math.pow(-2*A+2,4)/2,easeInQuint:A=>A*A*A*A*A,easeOutQuint:A=>1-Math.pow(1-A,5),easeInOutQuint:A=>A<.5?16*A*A*A*A*A:1-Math.pow(-2*A+2,5)/2,easeInSine:A=>1-Math.cos(A*Math.PI/2),easeOutSine:A=>Math.sin(A*Math.PI/2),easeInOutSine:A=>-(Math.cos(Math.PI*A)-1)/2,easeInExpo:A=>A===0?0:Math.pow(2,10*A-10),easeOutExpo:A=>A===1?1:1-Math.pow(2,-10*A),easeInOutExpo:A=>A===0?0:A===1?1:A<.5?Math.pow(2,20*A-10)/2:(2-Math.pow(2,-20*A+10))/2,easeInCirc:A=>1-Math.sqrt(1-Math.pow(A,2)),easeOutCirc:A=>Math.sqrt(1-Math.pow(A-1,2)),easeInOutCirc:A=>A<.5?(1-Math.sqrt(1-Math.pow(2*A,2)))/2:(Math.sqrt(1-Math.pow(-2*A+2,2))+1)/2,easeInBack:A=>YE*A*A*A-nl*A*A,easeOutBack:A=>1+YE*Math.pow(A-1,3)+nl*Math.pow(A-1,2),easeInOutBack:A=>A<.5?Math.pow(2*A,2)*((il+1)*2*A-il)/2:(Math.pow(2*A-2,2)*((il+1)*(A*2-2)+il)+2)/2,easeInElastic:A=>A===0?0:A===1?1:-Math.pow(2,10*A-10)*Math.sin((A*10-10.75)*KE),easeOutElastic:A=>A===0?0:A===1?1:Math.pow(2,-10*A)*Math.sin((A*10-.75)*KE)+1,easeInOutElastic:A=>A===0?0:A===1?1:A<.5?-(Math.pow(2,20*A-10)*Math.sin((20*A-11.125)*OE))/2:Math.pow(2,-20*A+10)*Math.sin((20*A-11.125)*OE)/2+1,easeInBounce:A=>1-sl(1-A),easeOutBounce:sl,easeInOutBounce:A=>A<.5?(1-sl(1-2*A))/2:(1+sl(2*A-1))/2,steps:gb},Ki=Symbol.for("FluidValue.get"),Fn=Symbol.for("FluidValue.observers"),Yt=A=>!!(A&&A[Ki]),Et=A=>A&&A[Ki]?A[Ki]():A,JE=A=>A[Fn]||null;function Bb(A,e){A.eventObserved?A.eventObserved(e):A(e)}function Oi(A,e){const t=A[Fn];t&&t.forEach(o=>{Bb(o,e)})}var qE=class{constructor(A){if(!A&&!(A=this.get))throw Error("Unknown getter");Qb(this,A)}},Qb=(A,e)=>zE(A,Ki,e);function Ln(A,e){if(A[Ki]){let t=A[Fn];t||zE(A,Fn,t=new Set),t.has(e)||(t.add(e),A.observerAdded&&A.observerAdded(t.size,e))}return e}function Ji(A,e){const t=A[Fn];if(t&&t.has(e)){const o=t.size-1;o?t.delete(e):A[Fn]=null,A.observerRemoved&&A.observerRemoved(o,e)}}var zE=(A,e,t)=>Object.defineProperty(A,e,{value:t,writable:!0,configurable:!0}),al=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ub=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,WE=new RegExp(`(${al.source})(%|[a-z]+)`,"i"),Eb=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ll=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,$E=A=>{const[e,t]=db(A);if(!e||Kc())return A;const o=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(o)return o.trim();if(t&&t.startsWith("--")){const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);return r||A}else{if(t&&ll.test(t))return $E(t);if(t)return t}return A},db=A=>{const e=ll.exec(A);if(!e)return[,];const[,t,o]=e;return[t,o]},$c,Cb=(A,e,t,o,r)=>`rgba(${Math.round(e)}, ${Math.round(t)}, ${Math.round(o)}, ${r})`,jE=A=>{$c||($c=Ir?new RegExp(`(${Object.keys(Ir).join("|")})(?!\\w)`,"g"):/^\b$/);const e=A.output.map(n=>Et(n).replace(ll,$E).replace(ub,RE).replace($c,RE)),t=e.map(n=>n.match(al).map(Number)),r=t[0].map((n,i)=>t.map(s=>{if(!(i in s))throw Error('The arity of each "output" value must be equal');return s[i]})).map(n=>Yi({...A,output:n}));return n=>{var a;const i=!WE.test(e[0])&&((a=e.find(l=>WE.test(l)))==null?void 0:a.replace(al,""));let s=0;return e[0].replace(al,()=>`${r[s++](n)}${i||""}`).replace(Eb,Cb)}},jc="react-spring: ",VE=A=>{const e=A;let t=!1;if(typeof e!="function")throw new TypeError(`${jc}once requires a function parameter`);return(...o)=>{t||(e(...o),t=!0)}},hb=VE(console.warn);function Ib(){hb(`${jc}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var pb=VE(console.warn);function wb(){pb(`${jc}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function gl(A){return aA.str(A)&&(A[0]=="#"||/\d/.test(A)||!Kc()&&ll.test(A)||A in(Ir||{}))}var cl=Kc()?E.useEffect:E.useLayoutEffect,fb=()=>{const A=E.useRef(!1);return cl(()=>(A.current=!0,()=>{A.current=!1}),[]),A};function XE(){const A=E.useState()[1],e=fb();return()=>{e.current&&A(Math.random())}}function Db(A,e){const[t]=E.useState(()=>({inputs:e,result:A()})),o=E.useRef(),r=o.current;let n=r;return n?e&&n.inputs&&mb(e,n.inputs)||(n={inputs:e,result:A()}):n=t,E.useEffect(()=>{o.current=n,r==t&&(t.inputs=t.result=void 0)},[n]),n.result}function mb(A,e){if(A.length!==e.length)return!1;for(let t=0;t<A.length;t++)if(A[t]!==e[t])return!1;return!0}var ZE=A=>E.useEffect(A,xb),xb=[];function Ad(A){const e=E.useRef();return E.useEffect(()=>{e.current=A}),e.current}var qi=Symbol.for("Animated:node"),vb=A=>!!A&&A[qi]===A,vo=A=>A&&A[qi],Vc=(A,e)=>zy(A,qi,e),Bl=A=>A&&A[qi]&&A[qi].getPayload(),ed=class{constructor(){Vc(this,this)}getPayload(){return this.payload||[]}},zi=class extends ed{constructor(A){super(),this._value=A,this.done=!0,this.durationProgress=0,aA.num(this._value)&&(this.lastPosition=this._value)}static create(A){return new zi(A)}getPayload(){return[this]}getValue(){return this._value}setValue(A,e){return aA.num(A)&&(this.lastPosition=A,e&&(A=Math.round(A/e)*e,this.done&&(this.lastPosition=A))),this._value===A?!1:(this._value=A,!0)}reset(){const{done:A}=this;this.done=!1,aA.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,A&&(this.lastVelocity=null),this.v0=null)}},Wi=class extends zi{constructor(A){super(0),this._string=null,this._toString=Yi({output:[A,A]})}static create(A){return new Wi(A)}getValue(){const A=this._string;return A??(this._string=this._toString(this._value))}setValue(A){if(aA.str(A)){if(A==this._string)return!1;this._string=A,this._value=1}else if(super.setValue(A))this._string=null;else return!1;return!0}reset(A){A&&(this._toString=Yi({output:[this.getValue(),A]})),this._value=0,super.reset()}},Ql={dependencies:null},ul=class extends ed{constructor(A){super(),this.source=A,this.setValue(A)}getValue(A){const e={};return xo(this.source,(t,o)=>{vb(t)?e[o]=t.getValue(A):Yt(t)?e[o]=Et(t):A||(e[o]=t)}),e}setValue(A){this.source=A,this.payload=this._makePayload(A)}reset(){this.payload&&YA(this.payload,A=>A.reset())}_makePayload(A){if(A){const e=new Set;return xo(A,this._addToPayload,e),Array.from(e)}}_addToPayload(A){Ql.dependencies&&Yt(A)&&Ql.dependencies.add(A);const e=Bl(A);e&&YA(e,t=>this.add(t))}},td=class extends ul{constructor(A){super(A)}static create(A){return new td(A)}getValue(){return this.source.map(A=>A.getValue())}setValue(A){const e=this.getPayload();return A.length==e.length?e.map((t,o)=>t.setValue(A[o])).some(Boolean):(super.setValue(A.map(yb)),!0)}};function yb(A){return(gl(A)?Wi:zi).create(A)}function Xc(A){const e=vo(A);return e?e.constructor:aA.arr(A)?td:gl(A)?Wi:zi}var od=(A,e)=>{const t=!aA.fun(A)||A.prototype&&A.prototype.isReactComponent;return E.forwardRef((o,r)=>{const n=E.useRef(null),i=t&&E.useCallback(d=>{n.current=Mb(r,d)},[r]),[s,a]=kb(o,e),l=XE(),c=()=>{const d=n.current;if(t&&!d)return;(d?e.applyAnimatedValues(d,s.getValue(!0)):!1)===!1&&l()},B=new bb(c,a),Q=E.useRef();cl(()=>(Q.current=B,YA(a,d=>Ln(d,B)),()=>{Q.current&&(YA(Q.current.deps,d=>Ji(d,Q.current)),LA.cancel(Q.current.update))})),E.useEffect(c,[]),ZE(()=>()=>{const d=Q.current;YA(d.deps,C=>Ji(C,d))});const u=e.getComponentProps(s.getValue());return K.createElement(A,{...u,ref:i})})},bb=class{constructor(A,e){this.update=A,this.deps=e}eventObserved(A){A.type=="change"&&LA.write(this.update)}};function kb(A,e){const t=new Set;return Ql.dependencies=t,A.style&&(A={...A,style:e.createAnimatedStyle(A.style)}),A=new ul(A),Ql.dependencies=null,[A,t]}function Mb(A,e){return A&&(aA.fun(A)?A(e):A.current=e),e}var rd=Symbol.for("AnimatedComponent"),Nb=(A,{applyAnimatedValues:e=()=>!1,createAnimatedStyle:t=r=>new ul(r),getComponentProps:o=r=>r}={})=>{const r={applyAnimatedValues:e,createAnimatedStyle:t,getComponentProps:o},n=i=>{const s=nd(i)||"Anonymous";return aA.str(i)?i=n[i]||(n[i]=od(i,r)):i=i[rd]||(i[rd]=od(i,r)),i.displayName=`Animated(${s})`,i};return xo(A,(i,s)=>{aA.arr(A)&&(s=nd(i)),n[s]=n(i)}),{animated:n}},nd=A=>aA.str(A)?A:A&&aA.str(A.displayName)?A.displayName:aA.fun(A)&&A.name||null;function zr(A,...e){return aA.fun(A)?A(...e):A}var $i=(A,e)=>A===!0||!!(e&&A&&(aA.fun(A)?A(e):yt(A).includes(e))),id=(A,e)=>aA.obj(A)?e&&A[e]:A,sd=(A,e)=>A.default===!0?A[e]:A.default?A.default[e]:void 0,_b=A=>A,Zc=(A,e=_b)=>{let t=Fb;A.default&&A.default!==!0&&(A=A.default,t=Object.keys(A));const o={};for(const r of t){const n=e(A[r],r);aA.und(n)||(o[r]=n)}return o},Fb=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Lb={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Sb(A){const e={};let t=0;if(xo(A,(o,r)=>{Lb[r]||(e[r]=o,t++)}),t)return e}function ad(A){const e=Sb(A);if(e){const t={to:e};return xo(A,(o,r)=>r in e||(t[r]=o)),t}return{...A}}function ji(A){return A=Et(A),aA.arr(A)?A.map(ji):gl(A)?ro.createStringInterpolator({range:[0,1],output:[A,A]})(1):A}function Pb(A){for(const e in A)return!0;return!1}function AB(A){return aA.fun(A)||aA.arr(A)&&aA.obj(A[0])}function Tb(A,e){var t;(t=A.ref)==null||t.delete(A),e==null||e.delete(A)}function Gb(A,e){var t;e&&A.ref!==e&&((t=A.ref)==null||t.delete(A),e.add(A),A.ref=e)}var Hb={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},eB={...Hb.default,mass:1,damping:1,easing:cb.linear,clamp:!1},Ub=class{constructor(){this.velocity=0,Object.assign(this,eB)}};function Rb(A,e,t){t&&(t={...t},ld(t,e),e={...t,...e}),ld(A,e),Object.assign(A,e);for(const i in eB)A[i]==null&&(A[i]=eB[i]);let{frequency:o,damping:r}=A;const{mass:n}=A;return aA.und(o)||(o<.01&&(o=.01),r<0&&(r=0),A.tension=Math.pow(2*Math.PI/o,2)*n,A.friction=4*Math.PI*r*n/o),A}function ld(A,e){if(!aA.und(e.decay))A.duration=void 0;else{const t=!aA.und(e.tension)||!aA.und(e.friction);(t||!aA.und(e.frequency)||!aA.und(e.damping)||!aA.und(e.mass))&&(A.duration=void 0,A.decay=void 0),t&&(A.frequency=void 0)}}var gd=[],Yb=class{constructor(){this.changed=!1,this.values=gd,this.toValues=null,this.fromValues=gd,this.config=new Ub,this.immediate=!1}};function cd(A,{key:e,props:t,defaultProps:o,state:r,actions:n}){return new Promise((i,s)=>{let a,l,c=$i(t.cancel??(o==null?void 0:o.cancel),e);if(c)u();else{aA.und(t.pause)||(r.paused=$i(t.pause,e));let d=o==null?void 0:o.pause;d!==!0&&(d=r.paused||$i(d,e)),a=zr(t.delay||0,e),d?(r.resumeQueue.add(Q),n.pause()):(n.resume(),Q())}function B(){r.resumeQueue.add(Q),r.timeouts.delete(l),l.cancel(),a=l.time-LA.now()}function Q(){a>0&&!ro.skipAnimation?(r.delayed=!0,l=LA.setTimeout(u,a),r.pauseQueue.add(B),r.timeouts.add(l)):u()}function u(){r.delayed&&(r.delayed=!1),r.pauseQueue.delete(B),r.timeouts.delete(l),A<=(r.cancelId||0)&&(c=!0);try{n.start({...t,callId:A,cancel:c},i)}catch(d){s(d)}}})}var tB=(A,e)=>e.length==1?e[0]:e.some(t=>t.cancelled)?Sn(A.get()):e.every(t=>t.noop)?Bd(A.get()):io(A.get(),e.every(t=>t.finished)),Bd=A=>({value:A,noop:!0,finished:!0,cancelled:!1}),io=(A,e,t=!1)=>({value:A,finished:e,cancelled:t}),Sn=A=>({value:A,cancelled:!0,finished:!1});function Qd(A,e,t,o){const{callId:r,parentId:n,onRest:i}=e,{asyncTo:s,promise:a}=t;return!n&&A===s&&!e.reset?a:t.promise=(async()=>{t.asyncId=r,t.asyncTo=A;const l=Zc(e,(h,I)=>I==="onRest"?void 0:h);let c,B;const Q=new Promise((h,I)=>(c=h,B=I)),u=h=>{const I=r<=(t.cancelId||0)&&Sn(o)||r!==t.asyncId&&io(o,!1);if(I)throw h.result=I,B(h),h},d=(h,I)=>{const p=new ud,D=new Ed;return(async()=>{if(ro.skipAnimation)throw Vi(t),D.result=io(o,!1),B(D),D;u(p);const m=aA.obj(h)?{...h}:{...I,to:h};m.parentId=r,xo(l,(N,L)=>{aA.und(m[L])&&(m[L]=N)});const k=await o.start(m);return u(p),t.paused&&await new Promise(N=>{t.resumeQueue.add(N)}),k})()};let C;if(ro.skipAnimation)return Vi(t),io(o,!1);try{let h;aA.arr(A)?h=(async I=>{for(const p of I)await d(p)})(A):h=Promise.resolve(A(d,o.stop.bind(o))),await Promise.all([h.then(c),Q]),C=io(o.get(),!0,!1)}catch(h){if(h instanceof ud)C=h.result;else if(h instanceof Ed)C=h.result;else throw h}finally{r==t.asyncId&&(t.asyncId=n,t.asyncTo=n?s:void 0,t.promise=n?a:void 0)}return aA.fun(i)&&LA.batchedUpdates(()=>{i(C,o,o.item)}),C})()}function Vi(A,e){Hi(A.timeouts,t=>t.cancel()),A.pauseQueue.clear(),A.resumeQueue.clear(),A.asyncId=A.asyncTo=A.promise=void 0,e&&(A.cancelId=e)}var ud=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Ed=class extends Error{constructor(){super("SkipAnimationSignal")}},oB=A=>A instanceof rB,Kb=1,rB=class extends qE{constructor(){super(...arguments),this.id=Kb++,this._priority=0}get priority(){return this._priority}set priority(A){this._priority!=A&&(this._priority=A,this._onPriorityChange(A))}get(){const A=vo(this);return A&&A.getValue()}to(...A){return ro.to(this,A)}interpolate(...A){return Ib(),ro.to(this,A)}toJSON(){return this.get()}observerAdded(A){A==1&&this._attach()}observerRemoved(A){A==0&&this._detach()}_attach(){}_detach(){}_onChange(A,e=!1){Oi(this,{type:"change",parent:this,value:A,idle:e})}_onPriorityChange(A){this.idle||el.sort(this),Oi(this,{type:"priority",parent:this,priority:A})}},Wr=Symbol.for("SpringPhase"),dd=1,nB=2,iB=4,sB=A=>(A[Wr]&dd)>0,pr=A=>(A[Wr]&nB)>0,Xi=A=>(A[Wr]&iB)>0,Cd=(A,e)=>e?A[Wr]|=nB|dd:A[Wr]&=~nB,hd=(A,e)=>e?A[Wr]|=iB:A[Wr]&=~iB,Ob=class extends rB{constructor(A,e){if(super(),this.animation=new Yb,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!aA.und(A)||!aA.und(e)){const t=aA.obj(A)?{...A}:{...e,from:A};aA.und(t.default)&&(t.default=!0),this.start(t)}}get idle(){return!(pr(this)||this._state.asyncTo)||Xi(this)}get goal(){return Et(this.animation.to)}get velocity(){const A=vo(this);return A instanceof zi?A.lastVelocity||0:A.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return sB(this)}get isAnimating(){return pr(this)}get isPaused(){return Xi(this)}get isDelayed(){return this._state.delayed}advance(A){let e=!0,t=!1;const o=this.animation;let{toValues:r}=o;const{config:n}=o,i=Bl(o.to);!i&&Yt(o.to)&&(r=yt(Et(o.to))),o.values.forEach((l,c)=>{if(l.done)return;const B=l.constructor==Wi?1:i?i[c].lastPosition:r[c];let Q=o.immediate,u=B;if(!Q){if(u=l.lastPosition,n.tension<=0){l.done=!0;return}let d=l.elapsedTime+=A;const C=o.fromValues[c],h=l.v0!=null?l.v0:l.v0=aA.arr(n.velocity)?n.velocity[c]:n.velocity;let I;const p=n.precision||(C==B?.005:Math.min(1,Math.abs(B-C)*.001));if(aA.und(n.duration))if(n.decay){const D=n.decay===!0?.998:n.decay,m=Math.exp(-(1-D)*d);u=C+h/(1-D)*(1-m),Q=Math.abs(l.lastPosition-u)<=p,I=h*m}else{I=l.lastVelocity==null?h:l.lastVelocity;const D=n.restVelocity||p/10,m=n.clamp?0:n.bounce,k=!aA.und(m),N=C==B?l.v0>0:C<B;let L,M=!1;const F=1,v=Math.ceil(A/F);for(let y=0;y<v&&(L=Math.abs(I)>D,!(!L&&(Q=Math.abs(B-u)<=p,Q)));++y){k&&(M=u==B||u>B==N,M&&(I=-I*m,u=B));const P=-n.tension*1e-6*(u-B),b=-n.friction*.001*I,_=(P+b)/n.mass;I=I+_*F,u=u+I*F}}else{let D=1;n.duration>0&&(this._memoizedDuration!==n.duration&&(this._memoizedDuration=n.duration,l.durationProgress>0&&(l.elapsedTime=n.duration*l.durationProgress,d=l.elapsedTime+=A)),D=(n.progress||0)+d/this._memoizedDuration,D=D>1?1:D<0?0:D,l.durationProgress=D),u=C+n.easing(D)*(B-C),I=(u-l.lastPosition)/A,Q=D==1}l.lastVelocity=I,Number.isNaN(u)&&(console.warn("Got NaN while animating:",this),Q=!0)}i&&!i[c].done&&(Q=!1),Q?l.done=!0:e=!1,l.setValue(u,n.round)&&(t=!0)});const s=vo(this),a=s.getValue();if(e){const l=Et(o.to);(a!==l||t)&&!n.decay?(s.setValue(l),this._onChange(l)):t&&n.decay&&this._onChange(a),this._stop()}else t&&this._onChange(a)}set(A){return LA.batchedUpdates(()=>{this._stop(),this._focus(A),this._set(A)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(pr(this)){const{to:A,config:e}=this.animation;LA.batchedUpdates(()=>{this._onStart(),e.decay||this._set(A,!1),this._stop()})}return this}update(A){return(this.queue||(this.queue=[])).push(A),this}start(A,e){let t;return aA.und(A)?(t=this.queue||[],this.queue=[]):t=[aA.obj(A)?A:{...e,to:A}],Promise.all(t.map(o=>this._update(o))).then(o=>tB(this,o))}stop(A){const{to:e}=this.animation;return this._focus(this.get()),Vi(this._state,A&&this._lastCallId),LA.batchedUpdates(()=>this._stop(e,A)),this}reset(){this._update({reset:!0})}eventObserved(A){A.type=="change"?this._start():A.type=="priority"&&(this.priority=A.priority+1)}_prepareNode(A){const e=this.key||"";let{to:t,from:o}=A;t=aA.obj(t)?t[e]:t,(t==null||AB(t))&&(t=void 0),o=aA.obj(o)?o[e]:o,o==null&&(o=void 0);const r={to:t,from:o};return sB(this)||(A.reverse&&([t,o]=[o,t]),o=Et(o),aA.und(o)?vo(this)||this._set(t):this._set(o)),r}_update({...A},e){const{key:t,defaultProps:o}=this;A.default&&Object.assign(o,Zc(A,(i,s)=>/^on/.test(s)?id(i,t):i)),wd(this,A,"onProps"),es(this,"onProps",A,this);const r=this._prepareNode(A);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const n=this._state;return cd(++this._lastCallId,{key:t,props:A,defaultProps:o,state:n,actions:{pause:()=>{Xi(this)||(hd(this,!0),Ui(n.pauseQueue),es(this,"onPause",io(this,Zi(this,this.animation.to)),this))},resume:()=>{Xi(this)&&(hd(this,!1),pr(this)&&this._resume(),Ui(n.resumeQueue),es(this,"onResume",io(this,Zi(this,this.animation.to)),this))},start:this._merge.bind(this,r)}}).then(i=>{if(A.loop&&i.finished&&!(e&&i.noop)){const s=Id(A);if(s)return this._update(s,!0)}return i})}_merge(A,e,t){if(e.cancel)return this.stop(!0),t(Sn(this));const o=!aA.und(A.to),r=!aA.und(A.from);if(o||r)if(e.callId>this._lastToId)this._lastToId=e.callId;else return t(Sn(this));const{key:n,defaultProps:i,animation:s}=this,{to:a,from:l}=s;let{to:c=a,from:B=l}=A;r&&!o&&(!e.default||aA.und(c))&&(c=B),e.reverse&&([c,B]=[B,c]);const Q=!Xo(B,l);Q&&(s.from=B),B=Et(B);const u=!Xo(c,a);u&&this._focus(c);const d=AB(e.to),{config:C}=s,{decay:h,velocity:I}=C;(o||r)&&(C.velocity=0),e.config&&!d&&Rb(C,zr(e.config,n),e.config!==i.config?zr(i.config,n):void 0);let p=vo(this);if(!p||aA.und(c))return t(io(this,!0));const D=aA.und(e.reset)?r&&!e.default:!aA.und(B)&&$i(e.reset,n),m=D?B:this.get(),k=ji(c),N=aA.num(k)||aA.arr(k)||gl(k),L=!d&&(!N||$i(i.immediate||e.immediate,n));if(u){const y=Xc(c);if(y!==p.constructor)if(L)p=this._set(k);else throw Error(`Cannot animate between ${p.constructor.name} and ${y.name}, as the "to" prop suggests`)}const M=p.constructor;let F=Yt(c),v=!1;if(!F){const y=D||!sB(this)&&Q;(u||y)&&(v=Xo(ji(m),k),F=!v),(!Xo(s.immediate,L)&&!L||!Xo(C.decay,h)||!Xo(C.velocity,I))&&(F=!0)}if(v&&pr(this)&&(s.changed&&!D?F=!0:F||this._stop(a)),!d&&((F||Yt(a))&&(s.values=p.getPayload(),s.toValues=Yt(c)?null:M==Wi?[1]:yt(k)),s.immediate!=L&&(s.immediate=L,!L&&!D&&this._set(a)),F)){const{onRest:y}=s;YA(qb,b=>wd(this,e,b));const P=io(this,Zi(this,a));Ui(this._pendingCalls,P),this._pendingCalls.add(t),s.changed&&LA.batchedUpdates(()=>{var b;s.changed=!D,y==null||y(P,this),D?zr(i.onRest,P):(b=s.onStart)==null||b.call(s,P,this)})}D&&this._set(m),d?t(Qd(e.to,e,this._state,this)):F?this._start():pr(this)&&!u?this._pendingCalls.add(t):t(Bd(m))}_focus(A){const e=this.animation;A!==e.to&&(JE(this)&&this._detach(),e.to=A,JE(this)&&this._attach())}_attach(){let A=0;const{to:e}=this.animation;Yt(e)&&(Ln(e,this),oB(e)&&(A=e.priority+1)),this.priority=A}_detach(){const{to:A}=this.animation;Yt(A)&&Ji(A,this)}_set(A,e=!0){const t=Et(A);if(!aA.und(t)){const o=vo(this);if(!o||!Xo(t,o.getValue())){const r=Xc(t);!o||o.constructor!=r?Vc(this,r.create(t)):o.setValue(t),o&&LA.batchedUpdates(()=>{this._onChange(t,e)})}}return vo(this)}_onStart(){const A=this.animation;A.changed||(A.changed=!0,es(this,"onStart",io(this,Zi(this,A.to)),this))}_onChange(A,e){e||(this._onStart(),zr(this.animation.onChange,A,this)),zr(this.defaultProps.onChange,A,this),super._onChange(A,e)}_start(){const A=this.animation;vo(this).reset(Et(A.to)),A.immediate||(A.fromValues=A.values.map(e=>e.lastPosition)),pr(this)||(Cd(this,!0),Xi(this)||this._resume())}_resume(){ro.skipAnimation?this.finish():el.start(this)}_stop(A,e){if(pr(this)){Cd(this,!1);const t=this.animation;YA(t.values,r=>{r.done=!0}),t.toValues&&(t.onChange=t.onPause=t.onResume=void 0),Oi(this,{type:"idle",parent:this});const o=e?Sn(this.get()):io(this.get(),Zi(this,A??t.to));Ui(this._pendingCalls,o),t.changed&&(t.changed=!1,es(this,"onRest",o,this))}}};function Zi(A,e){const t=ji(e),o=ji(A.get());return Xo(o,t)}function Id(A,e=A.loop,t=A.to){const o=zr(e);if(o){const r=o!==!0&&ad(o),n=(r||A).reverse,i=!r||r.reset;return As({...A,loop:e,default:!1,pause:void 0,to:!n||AB(t)?t:void 0,from:i?A.from:void 0,reset:i,...r})}}function As(A){const{to:e,from:t}=A=ad(A),o=new Set;return aA.obj(e)&&pd(e,o),aA.obj(t)&&pd(t,o),A.keys=o.size?Array.from(o):null,A}function Jb(A){const e=As(A);return aA.und(e.default)&&(e.default=Zc(e)),e}function pd(A,e){xo(A,(t,o)=>t!=null&&e.add(o))}var qb=["onStart","onRest","onChange","onPause","onResume"];function wd(A,e,t){A.animation[t]=e[t]!==sd(e,t)?id(e[t],A.key):void 0}function es(A,e,...t){var o,r,n,i;(r=(o=A.animation)[e])==null||r.call(o,...t),(i=(n=A.defaultProps)[e])==null||i.call(n,...t)}var zb=["onStart","onChange","onRest"],Wb=1,$b=class{constructor(A,e){this.id=Wb++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),A&&this.start({default:!0,...A})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(A=>A.idle&&!A.isDelayed&&!A.isPaused)}get item(){return this._item}set item(A){this._item=A}get(){const A={};return this.each((e,t)=>A[t]=e.get()),A}set(A){for(const e in A){const t=A[e];aA.und(t)||this.springs[e].set(t)}}update(A){return A&&this.queue.push(As(A)),this}start(A){let{queue:e}=this;return A?e=yt(A).map(As):this.queue=[],this._flush?this._flush(this,e):(yd(this,e),aB(this,e))}stop(A,e){if(A!==!!A&&(e=A),e){const t=this.springs;YA(yt(e),o=>t[o].stop(!!A))}else Vi(this._state,this._lastAsyncId),this.each(t=>t.stop(!!A));return this}pause(A){if(aA.und(A))this.start({pause:!0});else{const e=this.springs;YA(yt(A),t=>e[t].pause())}return this}resume(A){if(aA.und(A))this.start({pause:!1});else{const e=this.springs;YA(yt(A),t=>e[t].resume())}return this}each(A){xo(this.springs,A)}_onFrame(){const{onStart:A,onChange:e,onRest:t}=this._events,o=this._active.size>0,r=this._changed.size>0;(o&&!this._started||r&&!this._started)&&(this._started=!0,Hi(A,([s,a])=>{a.value=this.get(),s(a,this,this._item)}));const n=!o&&this._started,i=r||n&&t.size?this.get():null;r&&e.size&&Hi(e,([s,a])=>{a.value=i,s(a,this,this._item)}),n&&(this._started=!1,Hi(t,([s,a])=>{a.value=i,s(a,this,this._item)}))}eventObserved(A){if(A.type=="change")this._changed.add(A.parent),A.idle||this._active.add(A.parent);else if(A.type=="idle")this._active.delete(A.parent);else return;LA.onFrame(this._onFrame)}};function aB(A,e){return Promise.all(e.map(t=>fd(A,t))).then(t=>tB(A,t))}async function fd(A,e,t){const{keys:o,to:r,from:n,loop:i,onRest:s,onResolve:a}=e,l=aA.obj(e.default)&&e.default;i&&(e.loop=!1),r===!1&&(e.to=null),n===!1&&(e.from=null);const c=aA.arr(r)||aA.fun(r)?r:void 0;c?(e.to=void 0,e.onRest=void 0,l&&(l.onRest=void 0)):YA(zb,C=>{const h=e[C];if(aA.fun(h)){const I=A._events[C];e[C]=({finished:p,cancelled:D})=>{const m=I.get(h);m?(p||(m.finished=!1),D&&(m.cancelled=!0)):I.set(h,{value:null,finished:p||!1,cancelled:D||!1})},l&&(l[C]=e[C])}});const B=A._state;e.pause===!B.paused?(B.paused=e.pause,Ui(e.pause?B.pauseQueue:B.resumeQueue)):B.paused&&(e.pause=!0);const Q=(o||Object.keys(A.springs)).map(C=>A.springs[C].start(e)),u=e.cancel===!0||sd(e,"cancel")===!0;(c||u&&B.asyncId)&&Q.push(cd(++A._lastAsyncId,{props:e,state:B,actions:{pause:Yc,resume:Yc,start(C,h){u?(Vi(B,A._lastAsyncId),h(Sn(A))):(C.onRest=s,h(Qd(c,C,B,A)))}}})),B.paused&&await new Promise(C=>{B.resumeQueue.add(C)});const d=tB(A,await Promise.all(Q));if(i&&d.finished&&!(t&&d.noop)){const C=Id(e,i,r);if(C)return yd(A,[C]),fd(A,C,!0)}return a&&LA.batchedUpdates(()=>a(d,A,A.item)),d}function Dd(A,e){const t={...A.springs};return e&&YA(yt(e),o=>{aA.und(o.keys)&&(o=As(o)),aA.obj(o.to)||(o={...o,to:void 0}),vd(t,o,r=>xd(r))}),md(A,t),t}function md(A,e){xo(e,(t,o)=>{A.springs[o]||(A.springs[o]=t,Ln(t,A))})}function xd(A,e){const t=new Ob;return t.key=A,e&&Ln(t,e),t}function vd(A,e,t){e.keys&&YA(e.keys,o=>{(A[o]||(A[o]=t(o)))._prepareNode(e)})}function yd(A,e){YA(e,t=>{vd(A.springs,t,o=>xd(o,A))})}var El=({children:A,...e})=>{const t=E.useContext(dl),o=e.pause||!!t.pause,r=e.immediate||!!t.immediate;e=Db(()=>({pause:o,immediate:r}),[o,r]);const{Provider:n}=dl;return K.createElement(n,{value:e},A)},dl=jb(El,{});El.Provider=dl.Provider,El.Consumer=dl.Consumer;function jb(A,e){return Object.assign(A,K.createContext(e)),A.Provider._context=A,A.Consumer._context=A,A}var Vb=()=>{const A=[],e=function(o){wb();const r=[];return YA(A,(n,i)=>{if(aA.und(o))r.push(n.start());else{const s=t(o,n,i);s&&r.push(n.start(s))}}),r};e.current=A,e.add=function(o){A.includes(o)||A.push(o)},e.delete=function(o){const r=A.indexOf(o);~r&&A.splice(r,1)},e.pause=function(){return YA(A,o=>o.pause(...arguments)),this},e.resume=function(){return YA(A,o=>o.resume(...arguments)),this},e.set=function(o){YA(A,(r,n)=>{const i=aA.fun(o)?o(n,r):o;i&&r.set(i)})},e.start=function(o){const r=[];return YA(A,(n,i)=>{if(aA.und(o))r.push(n.start());else{const s=this._getProps(o,n,i);s&&r.push(n.start(s))}}),r},e.stop=function(){return YA(A,o=>o.stop(...arguments)),this},e.update=function(o){return YA(A,(r,n)=>r.update(this._getProps(o,r,n))),this};const t=function(o,r,n){return aA.fun(o)?o(n,r):o};return e._getProps=t,e};function Xb(A,e,t){const o=aA.fun(e)&&e;o&&!t&&(t=[]);const r=E.useMemo(()=>o||arguments.length==3?Vb():void 0,[]),n=E.useRef(0),i=XE(),s=E.useMemo(()=>({ctrls:[],queue:[],flush(I,p){const D=Dd(I,p);return n.current>0&&!s.queue.length&&!Object.keys(D).some(k=>!I.springs[k])?aB(I,p):new Promise(k=>{md(I,D),s.queue.push(()=>{k(aB(I,p))}),i()})}}),[]),a=E.useRef([...s.ctrls]),l=[],c=Ad(A)||0;E.useMemo(()=>{YA(a.current.slice(A,c),I=>{Tb(I,r),I.stop(!0)}),a.current.length=A,B(c,A)},[A]),E.useMemo(()=>{B(0,Math.min(c,A))},t);function B(I,p){for(let D=I;D<p;D++){const m=a.current[D]||(a.current[D]=new $b(null,s.flush)),k=o?o(D,m):e[D];k&&(l[D]=Jb(k))}}const Q=a.current.map((I,p)=>Dd(I,l[p])),u=E.useContext(El),d=Ad(u),C=u!==d&&Pb(u);cl(()=>{n.current++,s.ctrls=a.current;const{queue:I}=s;I.length&&(s.queue=[],YA(I,p=>p())),YA(a.current,(p,D)=>{r==null||r.add(p),C&&p.start({default:u});const m=l[D];m&&(Gb(p,m.ref),p.ref?p.queue.push(m):p.start(m))})}),ZE(()=>()=>{YA(s.ctrls,I=>I.stop(!0))});const h=Q.map(I=>({...I}));return r?[h,r]:h}function bd(A,e){const t=aA.fun(A),[[o],r]=Xb(1,t?A:[A],t?e||[]:e);return t||arguments.length==2?[o,r]:o}var Zb={any:0,all:1};function Ak(A,e){const[t,o]=E.useState(!1),r=E.useRef(),n=aA.fun(A)&&A,i=n?n():{},{to:s={},from:a={},...l}=i,c=n?e:A,[B,Q]=bd(()=>({from:a,...l}),[]);return cl(()=>{const u=r.current,{root:d,once:C,amount:h="any",...I}=c??{};if(!u||C&&t||typeof IntersectionObserver>"u")return;const p=new WeakMap,D=()=>(s&&Q.start(s),o(!0),C?void 0:()=>{a&&Q.start(a),o(!1)}),m=N=>{N.forEach(L=>{const M=p.get(L.target);if(L.isIntersecting!==!!M)if(L.isIntersecting){const F=D();aA.fun(F)?p.set(L.target,F):k.unobserve(L.target)}else M&&(M(),p.delete(L.target))})},k=new IntersectionObserver(m,{root:d&&d.current||void 0,threshold:typeof h=="number"||Array.isArray(h)?h:Zb[h],...I});return k.observe(u),()=>k.unobserve(u)},[c]),n?[r,B]:[r,t]}var ek=class extends rB{constructor(A,e){super(),this.source=A,this.idle=!0,this._active=new Set,this.calc=Yi(...e);const t=this._get(),o=Xc(t);Vc(this,o.create(t))}advance(A){const e=this._get(),t=this.get();Xo(e,t)||(vo(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&kd(this._active)&&lB(this)}_get(){const A=aA.arr(this.source)?this.source.map(Et):yt(Et(this.source));return this.calc(...A)}_start(){this.idle&&!kd(this._active)&&(this.idle=!1,YA(Bl(this),A=>{A.done=!1}),ro.skipAnimation?(LA.batchedUpdates(()=>this.advance()),lB(this)):el.start(this))}_attach(){let A=1;YA(yt(this.source),e=>{Yt(e)&&Ln(e,this),oB(e)&&(e.idle||this._active.add(e),A=Math.max(A,e.priority+1))}),this.priority=A,this._start()}_detach(){YA(yt(this.source),A=>{Yt(A)&&Ji(A,this)}),this._active.clear(),lB(this)}eventObserved(A){A.type=="change"?A.idle?this.advance():(this._active.add(A.parent),this._start()):A.type=="idle"?this._active.delete(A.parent):A.type=="priority"&&(this.priority=yt(this.source).reduce((e,t)=>Math.max(e,(oB(t)?t.priority:0)+1),0))}};function tk(A){return A.idle!==!1}function kd(A){return!A.size||Array.from(A).every(tk)}function lB(A){A.idle||(A.idle=!0,YA(Bl(A),e=>{e.done=!0}),Oi(A,{type:"idle",parent:A}))}ro.assign({createStringInterpolator:jE,to:(A,e)=>new ek(A,e)});var Md=/^--/;function ok(A,e){return e==null||typeof e=="boolean"||e===""?"":typeof e=="number"&&e!==0&&!Md.test(A)&&!(ts.hasOwnProperty(A)&&ts[A])?e+"px":(""+e).trim()}var Nd={};function rk(A,e){if(!A.nodeType||!A.setAttribute)return!1;const t=A.nodeName==="filter"||A.parentNode&&A.parentNode.nodeName==="filter",{className:o,style:r,children:n,scrollTop:i,scrollLeft:s,viewBox:a,...l}=e,c=Object.values(l),B=Object.keys(l).map(Q=>t||A.hasAttribute(Q)?Q:Nd[Q]||(Nd[Q]=Q.replace(/([A-Z])/g,u=>"-"+u.toLowerCase())));n!==void 0&&(A.textContent=n);for(const Q in r)if(r.hasOwnProperty(Q)){const u=ok(Q,r[Q]);Md.test(Q)?A.style.setProperty(Q,u):A.style[Q]=u}B.forEach((Q,u)=>{A.setAttribute(Q,c[u])}),o!==void 0&&(A.className=o),i!==void 0&&(A.scrollTop=i),s!==void 0&&(A.scrollLeft=s),a!==void 0&&A.setAttribute("viewBox",a)}var ts={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},nk=(A,e)=>A+e.charAt(0).toUpperCase()+e.substring(1),ik=["Webkit","Ms","Moz","O"];ts=Object.keys(ts).reduce((A,e)=>(ik.forEach(t=>A[nk(t,e)]=A[e]),A),ts);var sk=/^(matrix|translate|scale|rotate|skew)/,ak=/^(translate)/,lk=/^(rotate|skew)/,gB=(A,e)=>aA.num(A)&&A!==0?A+e:A,Cl=(A,e)=>aA.arr(A)?A.every(t=>Cl(t,e)):aA.num(A)?A===e:parseFloat(A)===e,gk=class extends ul{constructor({x:A,y:e,z:t,...o}){const r=[],n=[];(A||e||t)&&(r.push([A||0,e||0,t||0]),n.push(i=>[`translate3d(${i.map(s=>gB(s,"px")).join(",")})`,Cl(i,0)])),xo(o,(i,s)=>{if(s==="transform")r.push([i||""]),n.push(a=>[a,a===""]);else if(sk.test(s)){if(delete o[s],aA.und(i))return;const a=ak.test(s)?"px":lk.test(s)?"deg":"";r.push(yt(i)),n.push(s==="rotate3d"?([l,c,B,Q])=>[`rotate3d(${l},${c},${B},${gB(Q,a)})`,Cl(Q,0)]:l=>[`${s}(${l.map(c=>gB(c,a)).join(",")})`,Cl(l,s.startsWith("scale")?1:0)])}}),r.length&&(o.transform=new ck(r,n)),super(o)}},ck=class extends qE{constructor(A,e){super(),this.inputs=A,this.transforms=e,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let A="",e=!0;return YA(this.inputs,(t,o)=>{const r=Et(t[0]),[n,i]=this.transforms[o](aA.arr(r)?r:t.map(Et));A+=" "+n,e=e&&i}),e?"none":A}observerAdded(A){A==1&&YA(this.inputs,e=>YA(e,t=>Yt(t)&&Ln(t,this)))}observerRemoved(A){A==0&&YA(this.inputs,e=>YA(e,t=>Yt(t)&&Ji(t,this)))}eventObserved(A){A.type=="change"&&(this._value=null),Oi(this,A)}},Bk=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];ro.assign({batchedUpdates:Po.unstable_batchedUpdates,createStringInterpolator:jE,colors:Xy});var Qk=Nb(Bk,{applyAnimatedValues:rk,createAnimatedStyle:A=>new gk(A),getComponentProps:({scrollTop:A,scrollLeft:e,...t})=>t}),uk=Qk.animated;const cB=({children:A,registerComponentApi:e,animation:t,duration:o=500,onStop:r,onStart:n,animateWhenInView:i=!1,once:s=!1})=>{const a=E.useMemo(()=>({from:t.from,to:t.to,config:{...t.config,duration:o},onStart:n,onRest:r,once:s}),[t,o,n,r,s]),[l,c]=bd(()=>({...a})),[B,Q]=Ak(()=>a,{rootMargin:"-40% 0%",once:s}),u=E.useCallback(()=>(c.start(t),()=>{c.stop()}),[c]),d=E.useCallback(()=>{c.stop()},[c]);return E.useEffect(()=>{e==null||e({start:u,stop:d})},[e,u]),E.Children.map(A,h=>uk(E.forwardRef(function(p,D){return E.isValidElement(h)?E.cloneElement(h,{...p,ref:D}):g.jsx(g.Fragment,{children:h})}))).map((h,I)=>i?g.jsx(h,{style:Q,ref:B},I):g.jsx(h,{style:l},I))},os="Animation",BB=Z({status:"in progress",description:"",props:{animation:f("The animation object to be applied to the component"),animateWhenInView:f("Indicates whether the animation should start when the component is in view"),duration:f("The duration of the animation in milliseconds"),once:f("Indicates whether the animation should only run once")},events:{started:f("Event fired when the animation starts"),stopped:f("Event fired when the animation stops")},apis:{start:f("Starts the animation"),stop:f("Stops the animation")}}),Ek=Z({...BB,specializedFrom:os,description:`The \`${os}\` component represents an animation that fades in the content.`}),dk=Z({...BB,specializedFrom:os,description:`The \`${os}\` component represents an animation that slides in the content from the left.`,props:{animateWhenInView:f("Indicates whether the animation should start when the component is in view"),direction:f("The direction from which the content should slide in"),duration:f("The duration of the animation in milliseconds")}}),Ck=AA(os,BB,({registerComponentApi:A,renderChild:e,node:t,extractValue:o,lookupEventHandler:r})=>g.jsx(cB,{registerComponentApi:A,animation:o(t.props.animation),onStop:r("stopped"),onStart:r("started"),duration:o.asOptionalNumber(t.props.duration),animateWhenInView:o.asOptionalBoolean(t.props.animateWhenInView),once:o.asOptionalBoolean(t.props.once),children:e(t.children)})),hk=AA("FadeInAnimation",Ek,({node:A,renderChild:e,extractValue:t,registerComponentApi:o,lookupEventHandler:r})=>g.jsx(cB,{registerComponentApi:o,animation:{from:{opacity:0},to:{opacity:1}},duration:t.asOptionalNumber(A.props.duration),onStop:r("stopped"),onStart:r("started"),animateWhenInView:t.asOptionalBoolean(A.props.animateWhenInView),children:e(A.children)})),Ik=AA("SlideInAnimation",dk,({node:A,renderChild:e,extractValue:t,registerComponentApi:o,lookupEventHandler:r})=>{const n=t.asString(A.props.direction),i={from:{transform:n==="right"?"translateX(100%)":n==="left"?"translateX(-100%)":n==="top"?"translateY(-100%)":"translateY(100%)"},to:{transform:n==="right"||n==="left"?"translateX(0)":"translateY(0)"}};return g.jsx(cB,{registerComponentApi:o,animation:i,duration:t.asOptionalNumber(A.props.duration),onStop:r("stopped"),onStart:r("started"),animateWhenInView:t.asOptionalBoolean(A.props.animateWhenInView),children:e(A.children)})}),pk=la("DataSource"),wk=la("TextNode"),fk=la("TextNodeCData");class QB{constructor(e={},t){var o,r,n,i;this.componentManager=t,this.pool=new Map,this.themeVars=new Set,this.defaultThemeVars={},this.actionFns=new Map,this.loaders=new Map,this.registerComponentRenderer=({type:s,renderer:a,metadata:l})=>{this.pool.set(s,{renderer:a,descriptor:l}),l!=null&&l.themeVars&&Object.keys(l.themeVars).forEach(c=>this.themeVars.add(c)),l!=null&&l.defaultThemeVars&&QA.merge(this.defaultThemeVars,l==null?void 0:l.defaultThemeVars)},this.componentManager=t,process.env.VITE_USED_COMPONENTS_Stack!=="false"&&(this.registerComponentRenderer(o6),this.registerComponentRenderer(r6),this.registerComponentRenderer(n6),this.registerComponentRenderer(i6),this.registerComponentRenderer(s6)),this.registerComponentRenderer(KD),this.registerComponentRenderer(pk),this.registerComponentRenderer(wk),this.registerComponentRenderer(fk),process.env.VITE_USED_COMPONENTS_SpaceFiller!=="false"&&this.registerComponentRenderer(l6),process.env.VITE_USED_COMPONENTS_Textarea!=="false"&&this.registerComponentRenderer(w6),process.env.VITE_USED_COMPONENTS_AppHeader!=="false"&&this.registerComponentRenderer(ex),process.env.VITE_USED_COMPONENTS_Footer!=="false"&&this.registerComponentRenderer(ND),process.env.VITE_USED_COMPONENTS_Logo!=="false"&&this.registerComponentRenderer(GD),process.env.VITE_USED_COMPONENTS_NavLink!=="false"&&this.registerComponentRenderer(P6),process.env.VITE_USED_COMPONENTS_NavGroup!=="false"&&this.registerComponentRenderer(PD),process.env.VITE_USED_COMPONENTS_Link!=="false"&&this.registerComponentRenderer(G6),process.env.VITE_USED_COMPONENTS_Form!=="false"&&(this.registerComponentRenderer(aD),this.registerComponentRenderer(V9)),process.env.VITE_USED_COMPONENTS_Tree!=="false"&&this.registerComponentRenderer(O6),process.env.VITE_USED_COMPONENTS_Button!=="false"&&this.registerComponentRenderer(q6),process.env.VITE_USED_COMPONENTS_Checkbox!=="false"&&this.registerComponentRenderer(Vm),process.env.VITE_USED_COMPONENTS_Switch!=="false"&&this.registerComponentRenderer(Zm),process.env.VITE_USED_COMPONENTS_Heading!=="false"&&(this.registerComponentRenderer(r7),this.registerComponentRenderer(n7),this.registerComponentRenderer(i7),this.registerComponentRenderer(s7),this.registerComponentRenderer(a7),this.registerComponentRenderer(l7),this.registerComponentRenderer(g7)),process.env.VITE_USED_COMPONENTS_Text!=="false"&&this.registerComponentRenderer(d7),process.env.VITE_USED_COMPONENTS_Fragment!=="false"&&this.registerComponentRenderer(h7),process.env.VITE_USED_COMPONENTS_Table!=="false"&&(this.registerComponentRenderer(N7),this.registerComponentRenderer(hx)),process.env.VITE_USED_COMPONENTS_List!=="false"&&this.registerComponentRenderer(Of),process.env.VITE_USED_COMPONENTS_App!=="false"&&this.registerComponentRenderer(ID),process.env.VITE_USED_COMPONENTS_NavPanel!=="false"&&this.registerComponentRenderer(wD),process.env.VITE_USED_COMPONENTS_Pages!=="false"&&(this.registerComponentRenderer(bD),this.registerComponentRenderer(vD)),process.env.VITE_USED_COMPONENTS_Redirect!=="false"&&this.registerComponentRenderer(Vx),process.env.VITE_USED_COMPONENTS_StickyBox!=="false"&&this.registerComponentRenderer(L7),process.env.VITE_USED_COMPONENTS_Badge!=="false"&&this.registerComponentRenderer(T7),process.env.VITE_USED_COMPONENTS_Avatar!=="false"&&this.registerComponentRenderer(H7),process.env.VITE_USED_COMPONENTS_ContentSeparator!=="false"&&this.registerComponentRenderer(R7),process.env.VITE_USED_COMPONENTS_Card!=="false"&&this.registerComponentRenderer(K7),process.env.VITE_USED_COMPONENTS_FlowLayout!=="false"&&this.registerComponentRenderer(z7),process.env.VITE_USED_COMPONENTS_ModalDialog!=="false"&&this.registerComponentRenderer($7),process.env.VITE_USED_COMPONENTS_NoResult!=="false"&&this.registerComponentRenderer(X7),process.env.VITE_USED_COMPONENTS_Option!=="false"&&this.registerComponentRenderer(Gy),process.env.VITE_USED_COMPONENTS_TabItem!=="false"&&this.registerComponentRenderer(oy),process.env.VITE_USED_COMPONENTS_AccordionItem!=="false"&&this.registerComponentRenderer(cy),process.env.VITE_USED_COMPONENTS_CarouselItem!=="false"&&this.registerComponentRenderer(vy),process.env.VITE_USED_COMPONENTS_FileUploadDropZone!=="false"&&this.registerComponentRenderer(tf),process.env.VITE_USED_COMPONENTS_Icon!=="false"&&this.registerComponentRenderer(rf),process.env.VITE_USED_COMPONENTS_Items!=="false"&&this.registerComponentRenderer(af),process.env.VITE_USED_COMPONENTS_SelectionStore!=="false"&&this.registerComponentRenderer(gf),process.env.VITE_USED_COMPONENTS_Image!=="false"&&this.registerComponentRenderer(Bf),process.env.VITE_USER_COMPONENTS_XmluiCodeHightlighter!=="false"&&this.registerComponentRenderer(j2),process.env.VITE_USER_COMPONENTS_Markdown!=="false"&&this.registerComponentRenderer(am),process.env.VITE_INCLUDE_REST_COMPONENTS!=="false"&&(this.registerComponentRenderer(df),this.registerComponentRenderer(If),this.registerComponentRenderer(mf),this.registerComponentRenderer(xf),this.registerComponentRenderer(vf),this.registerComponentRenderer(Tf),this.registerComponentRenderer(Wf),this.registerComponentRenderer(Vf),this.registerComponentRenderer(iD),this.registerComponentRenderer(X9),this.registerComponentRenderer(AD),this.registerComponentRenderer(cD),this.registerComponentRenderer(QD),this.registerComponentRenderer(CD),this.registerComponentRenderer(UD),this.registerComponentRenderer(JD),this.registerComponentRenderer($x),this.registerComponentRenderer(ZD),this.registerComponentRenderer(gm),this.registerComponentRenderer(Uy),this.registerComponentRenderer(gE),this.registerComponentRenderer(um),this.registerComponentRenderer(Fy),this.registerCompoundComponentRenderer($m),this.registerComponentRenderer(gE),this.registerComponentRenderer(rx),this.registerComponentRenderer(ix),this.registerComponentRenderer(ax),this.registerComponentRenderer(dv),this.registerComponentRenderer(pv),this.registerComponentRenderer(Yv),this.registerComponentRenderer(My)),this.registerComponentRenderer(Ex),this.registerComponentRenderer(Dv),this.registerComponentRenderer(Py),this.registerComponentRenderer(Ck),this.registerComponentRenderer(hk),this.registerComponentRenderer(Ik),this.registerCompoundComponentRenderer(xv),this.registerCompoundComponentRenderer(bv),this.registerCompoundComponentRenderer(Nv),this.registerCompoundComponentRenderer(Fv),this.registerCompoundComponentRenderer(Pv),this.registerCompoundComponentRenderer(Hv),this.registerComponentRenderer(fy),this.registerComponentRenderer(qv),this.registerComponentRenderer(jv),this.registerComponentRenderer(Ay),this.registerComponentRenderer(sy),this.registerComponentRenderer(Ey),this.registerComponentRenderer(Iy),this.registerComponentRenderer(Ky),process.env.VITE_USED_COMPONENTS_Chart!=="false"&&(this.registerComponentRenderer(VD),this.registerComponentRenderer(ev),this.registerComponentRenderer(iv),this.registerComponentRenderer(cv)),(o=e.components)==null||o.forEach(s=>{this.registerComponentRenderer(s)}),(r=e.compoundComponents)==null||r.forEach(s=>{this.registerCompoundComponentRenderer({compoundComponentDef:s})}),this.registerActionFn(mx),this.registerActionFn(bx),this.registerActionFn(Mx),this.registerActionFn(_x),this.registerActionFn(Lx),(n=e.actions)==null||n.forEach(s=>{this.registerActionFn(s)}),this.registerLoaderRenderer(Tx),this.registerLoaderRenderer(Ux),this.registerLoaderRenderer(Kx),this.registerLoaderRenderer(zx),(i=this.componentManager)==null||i.subscribeToRegistrations(this.registerComponentRenderer)}get componentThemeVars(){return this.themeVars}get componentDefaultThemeVars(){return this.defaultThemeVars}get actionFunctions(){return this.actionFns}getRegisteredComponentKeys(){return Array.from(this.pool.keys())}lookupComponentRenderer(e){return this.pool.get(e)}lookupAction(e){return this.actionFns.get(e)}lookupLoaderRenderer(e){return this.loaders.get(e)}hasComponent(e){return this.pool.get(e)!==void 0||this.loaders.get(e)!==void 0||this.actionFns.get(e)!==void 0}registerCompoundComponentRenderer({compoundComponentDef:e,metadata:t}){this.pool.set(e.name,{renderer:o=>g.jsx(Zu,{api:e.api,scriptCollected:e.scriptCollected,compound:e.component,...o}),isCompoundComponent:!0}),t!=null&&t.themeVars&&Object.keys(t.themeVars).forEach(o=>this.themeVars.add(o)),t!=null&&t.defaultThemeVars&&QA.merge(this.defaultThemeVars,t==null?void 0:t.defaultThemeVars)}registerActionFn({actionName:e,actionFn:t}){this.actionFns.set(e,t)}registerLoaderRenderer({type:e,renderer:t}){this.loaders.set(e,t)}destroy(){var e;(e=this.componentManager)==null||e.unSubscribeFromRegistrations(this.registerComponentRenderer)}}function Dk({children:A,contributes:e,componentManager:t}){const[o,r]=E.useState(()=>new QB(e,t));return E.useEffect(()=>{r(n=>(n.destroy(),new QB(e,t)))},[t,e]),g.jsx(GQ.Provider,{value:o,children:A})}const _d={dialogContent:"_dialogContent_1rief_13",dialogActions:"_dialogActions_1rief_18"},mk=({title:A,description:e,children:t,isOpen:o,onClose:r,buttons:n})=>g.jsxs(Qn,{onClose:r,isInitiallyOpen:o,title:A,children:[g.jsxs("div",{className:_d.dialogContent,children:[g.jsx("div",{id:"dialogDesc",children:g.jsx(qe,{children:e})}),t]}),!!n&&g.jsx("footer",{className:_d.dialogActions,children:n})]}),Fd=E.createContext({confirm:async(A,e,t)=>!1}),xk=()=>E.useContext(Fd),vk=({children:A})=>{const[e,t]=E.useState(!1),[o,r]=E.useState("Are you sure?"),[n,i]=E.useState(),[s,a]=E.useState([]),l=E.useRef(null),c=E.useRef(null);E.useEffect(()=>{e&&setTimeout(()=>{var h;const C=(h=c.current)==null?void 0:h.querySelectorAll("button");C&&C[C.length-1].focus()},0)},[e]);const B=E.useCallback(async(C,h,I)=>(typeof C=="string"?(r(C),a([{label:I||"Ok",value:!0}]),i(h)):(r(C.title),a(C.buttons),i(C.message)),t(!0),new Promise(function(p){l.current=p})),[]),Q=E.useCallback(C=>{l.current&&l.current(C),t(!1)},[]),u=E.useCallback(()=>{l.current&&l.current(!1),t(!1)},[]),d=E.useMemo(()=>({confirm:B}),[B]);return g.jsxs(Fd.Provider,{value:d,children:[A,e&&g.jsx(mk,{title:o,description:n,isOpen:!0,onClose:u,buttons:g.jsxs(gt,{orientation:"horizontal",horizontalAlignment:"end",layout:{width:"100%",gap:"1em"},ref:c,children:[g.jsx(Ce,{variant:"ghost",themeColor:"secondary",size:"sm",onClick:u,children:"Cancel"}),s.length>1?g.jsx("div",{style:{flex:1}}):void 0,s.map(({label:C,value:h,variant:I="solid",themeColor:p="attention"},D)=>g.jsx(Ce,{variant:I,themeColor:p,size:"sm",type:"submit",onClick:()=>{Q(h)},children:C},D))]})})]})},yk="0.7.12";function bk(A,e){if(A.length===0)return 0;const o=Ld(A)/A.length;return e?Number(o.toFixed(e)):o}function Ld(A){return A.reduce((e,t)=>e+t,0)}const kk={avg:bk,sum:Ld};ue.enableMapSet();const Sd=new ks.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),Mk={differenceInMinutes:(A,e)=>Ae.differenceInMinutes(new Date(A),new Date(e)),isSameDay:(A,e)=>!A||!e?!1:Ae.isSameDay(new Date(A),new Date(e)),isToday:A=>Ae.isToday(new Date(A)),isThisYear:A=>Ae.isThisYear(new Date(A))};function Nk(A){me.error(typeof A=="string"?A:A.message||"Something went wrong")}function _k({rootContainer:A,routerBaseName:e,globalProps:t,standalone:o,trackContainerHeight:r,decorateComponentsWithTestId:n,debugEnabled:i}){var Fo,xr;const[s,a]=E.useState(null),[l,c]=E.useState(!!((Fo=t==null?void 0:t.debug)!=null&&Fo.stateView)),B=Ys(),Q=We.useNavigate(),{confirm:u}=xk(),{activeThemeId:d,activeThemeTone:C,setActiveThemeId:h,setActiveThemeTone:I,availableThemeIds:p,root:D,toggleThemeTone:m}=si();u8(RA=>{RA.code==="KeyT"&&RA.altKey&&RA.ctrlKey&&RA.shiftKey&&h(p[(p.indexOf(d)+1)%p.length]),RA.code==="KeyO"&&RA.altKey&&RA.ctrlKey&&RA.shiftKey&&I(Ss[(Ss.indexOf(C)+1)%Ss.length]),RA.code==="KeyS"&&RA.altKey&&RA.ctrlKey&&RA.shiftKey&&(console.log("TOGGLE STATE VIEW"),c(!l))});const[k,N]=E.useState("0"),[L,M]=E.useState("0"),[F,v]=E.useState("0"),[y,P]=E.useState("0"),[b,_]=E.useState("0"),[q,J]=E.useState("0"),[z,T]=E.useState("0"),[S,G]=E.useState("0"),[Y,U]=E.useState("0"),[V,tA]=E.useState("0"),uA=RA=>{const Se=RA.match(/^(\d+)px$/);return Se?`${parseInt(Se[1])-.02}px`:"0"},EA=E.useRef();$t(()=>(r&&D&&D!==document.body&&(EA!=null&&EA.current&&EA.current.unobserve(D),EA.current=new ResizeObserver(RA=>{D.style.setProperty("--containerHeight",RA[0].contentRect.height+"px")}),EA.current&&EA.current.observe(D)),()=>{EA!=null&&EA.current&&EA.current.unobserve(D)}),[D,EA,r]),$t(()=>{const RA=getComputedStyle(D).getPropertyValue(Zo("media-max-width-phone"));N(RA),M(uA(RA));const Se=getComputedStyle(D).getPropertyValue(Zo("media-max-width-landscape-phone"));v(Se),P(uA(Se));const Ct=getComputedStyle(D).getPropertyValue(Zo("media-max-width-tablet"));_(Ct),J(uA(Ct));const mA=getComputedStyle(D).getPropertyValue(Zo("media-max-width-desktop"));T(mA),G(uA(mA));const fA=getComputedStyle(D).getPropertyValue(Zo("media-max-width-large-desktop"));U(fA),tA(uA(fA))},[d,D]);const hA=Ar(`(max-width: ${L})`),eA=Ar(`(min-width: ${k}) and (max-width: ${y})`),oA=Ar(`(min-width: ${F}) and (max-width: ${q})`),W=Ar(`(min-width: ${b}) and (max-width: ${S})`),$=Ar(`(min-width: ${z}) and (max-width: ${V})`);let rA="xs",dA=0;const TA=Ar(`(min-width: ${Y})`);TA?(rA="xxl",dA=5):$?(rA="xl",dA=4):W?(rA="lg",dA=3):oA?(rA="md",dA=2):eA&&(rA="sm",dA=1);const sA=B8(),yA=Q8(),FA=F5(),JA=We.useLocation(),XA=E.useRef("");E.useEffect(()=>{JA.hash&&(XA.current=JA.hash.slice(1)),XA.current&&setTimeout(()=>{var RA;(RA=document.getElementById(XA.current))==null||RA.scrollIntoView({behavior:"instant",block:"start"}),XA.current=""},100)},[JA]);const ZA=E.useMemo(()=>{const RA={_SUPPORT_IMPLICIT_CONTEXT:!0};for(const[Se,Ct]of B.actionFunctions)RA[Se]=Ct;return RA},[B.actionFunctions]),UA=E.useMemo(()=>({isInIFrame:sA}),[sA]),$A=E.useMemo(()=>({isWindowFocused:yA}),[yA]),de=E.useMemo(()=>({phone:hA,landscapePhone:eA,tablet:oA,desktop:W,largeDesktop:$,xlDesktop:TA,smallScreen:hA||eA||oA,largeScreen:!(hA||eA||oA),size:rA,sizeIndex:dA}),[hA,eA,oA,W,$,TA,rA,dA]),Fe=E.useMemo(()=>t?{...t}:GA,[t]),No=E.useMemo(()=>({version:yk,Actions:ZA,appGlobals:Fe,debugEnabled:i,decorateComponentsWithTestId:n,environment:$A,mediaSize:de,queryClient:Sd,standalone:o,...lu,...kk,formatFileSizeInBytes:L4,getFileExtension:S4,navigate:Q,routerBaseName:e,confirm:u,signError:Nk,toast:me,activeThemeId:d,activeThemeTone:C,availableThemeIds:p,setTheme:h,setThemeTone:I,toggleThemeTone:m,loggedInUser:s,setLoggedInUser:a,delay:ln,DateUtils:Mk,embed:UA,apiInterceptorContext:FA,getPropertyByPath:QA.get,...gu}),[ZA,d,C,FA,p,u,i,n,UA,$A,Fe,s,de,Q,e,h,I,m,o]),[ze,_o]=E.useState(GA),so=E.useCallback((RA,Se)=>{_o(Ct=>({...Ct,[RA]:Se}))},[]),Le=E.useCallback((RA,Se)=>{_o(Ct=>({...Ct,[RA]:{...Ct[RA]||{},...Se}}))},[]),mr=E.useMemo(()=>({registerAppState:so,appState:ze,update:Le}),[ze,so,Le]),tn=E.useRef(new Map);return g.jsx(O1.Provider,{value:{displayStateView:l,stateView:(xr=t==null?void 0:t.debug)==null?void 0:xr.stateView,setDisplayStateView:c},children:g.jsx(Y1.Provider,{value:No,children:g.jsx(pE.Provider,{value:mr,children:Ep(A,tn)})})})}const Fk=({node:A,previewMode:e=!1,servedFromSingleFile:t=!1,routerBaseName:o="",contributes:r=GA,globalProps:n,standalone:i,trackContainerHeight:s,decorateComponentsWithTestId:a,debugEnabled:l,defaultTheme:c,defaultTone:B,resources:Q,resourceMap:u,sources:d})=>{e&&(sn.HelmetProvider.canUseDOM=!1);const C=(n==null?void 0:n.name)||"XMLUI app",h=(n==null?void 0:n.useHashBasedRouting)??!0,I=g.jsxs(sn.HelmetProvider,{children:[g.jsx(sn.Helmet,{defaultTitle:C,titleTemplate:`%s | ${C}`}),g.jsx(_5,{children:g.jsx(d8,{resourceMap:u,themes:r.themes,defaultTheme:c,defaultTone:B,resources:Q,children:g.jsx(X2,{sources:d,children:g.jsx(vk,{children:g.jsx(_k,{rootContainer:A,routerBaseName:o,globalProps:n,standalone:i,trackContainerHeight:s,decorateComponentsWithTestId:a,debugEnabled:l})})})})})]}),p=e?tg.MemoryRouter:t||h?tg.HashRouter:tg.BrowserRouter;return g.jsx(E.StrictMode,{children:g.jsx(oi,{node:A,location:"root-outer",children:g.jsxs(ks.QueryClientProvider,{client:Sd,children:[(typeof window>"u"||process.env.VITE_REMIX)&&I,!(typeof window>"u"||process.env.VITE_REMIX)&&g.jsx(p,{basename:o,children:I})]})})})};function Pd({apiInterceptor:A,contributes:e,node:t,decorateComponentsWithTestId:o,debugEnabled:r,defaultTheme:n,defaultTone:i,resources:s,globalProps:a,standalone:l,trackContainerHeight:c,routerBaseName:B,previewMode:Q,servedFromSingleFile:u,resourceMap:d,sources:C,componentManager:h}){const I=E.useMemo(()=>({type:"Container",uid:"root",children:[t.type==="Theme"?{...t,props:{...t.props,root:!0}}:{type:"Theme",props:{root:!0},children:[t]}],uses:[]}),[t]);return g.jsx(Dk,{contributes:e,componentManager:h,children:g.jsx(Fk,{resourceMap:d,apiInterceptor:A,node:I,contributes:e,resources:s,routerBaseName:B,decorateComponentsWithTestId:o,debugEnabled:r,defaultTheme:n,defaultTone:i,globalProps:a,standalone:l,trackContainerHeight:c,previewMode:Q,servedFromSingleFile:u,sources:C})})}function Lk({interceptor:A,children:e,apiWorker:t,useHashBasedRouting:o}){const[r,n]=E.useState(!A);E.useEffect(()=>{if(A){n(!1);let s;return(async()=>{if(process.env.VITE_MOCK_ENABLED){const{createApiInterceptorWorker:a}=await Promise.resolve().then(()=>tT);if(A&&(s=await a(A,t),!t)){const l=process.env.VITE_MOCK_WORKER_LOCATION||"mockServiceWorker.js";await s.start({onUnhandledRequest:"bypass",quiet:!0,serviceWorker:{url:o?l:v4(l)}})}}n(!0)})(),()=>{t||s==null||s.stop()}}},[t,A,o]);const i=E.useMemo(()=>({isMocked:s=>A!==void 0&&!!process.env.VITE_MOCK_ENABLED}),[A]);return g.jsx(su.Provider,{value:i,children:r&&e||null})}const hl="xmlui",Pn="xmlui.xs";function Sk(A,e,t,o){const r=[],n={},i=new Set,s=new Set;if(A&&rs(A,null,a,n,t),!n.abort)for(const Q of e)l(Q.name)||c("M007","Component",Q.name),Q.name==="Component"&&c("M008","Component",Q.name),t.componentRegistered(Q.name)&&c("M009","Component",Q.name),s.has(Q.name)?c("M010","Component",Q.name):s.add(Q.name),i.clear(),rs(Q.component,null,a,n,t);return r;function a(Q,u,d,C){if(!d)return;if(!t.componentRegistered(Q.type)){c("M001",(u==null?void 0:u.type)??"Root",Q.type);return}Q.uid&&(l(Q.uid)?i.has(Q.uid)?c("M003",Q.type,Q.uid):i.add(Q.uid):c("M002",Q.type,Q.type,Q.uid));const h=t.getComponentProps(Q.type)??{},I=Q.props??{};for(const k of Object.keys(I))if(h[k]){const L=I[k];if(typeof L=="string")try{zs(L)}catch(M){c("M006",Q.type,k,M.message)}}else{const L=k.split("-");L.length===1&&Gg.includes(k)||L.length===2&&Gg.includes(L[0])&&T2.includes(L[1])||t.acceptArbitraryProps(Q.type)||c("M005",Q.type,Q.type,k)}const p=t.getComponentEvents(Q.type)??{},D=Q.events??{};for(const k of Object.keys(D))if(p[k]){const L=D[k];if(typeof L=="string"){const M=new gn(L);try{M.parseStatements(),M.errors.length>0&&c("M012",Q.type,k,M.errors[0].text)}catch(F){c("M012",Q.type,k,F.message)}}}else c("M011",Q.type,Q.type,k);const m=t.getComponentValidator(Q.type);if(m){const k=m(Q,o);if(k)if(Array.isArray(k))for(const N of k)c("M013",Q.type,N);else c("M013",Q.type,k)}}function l(Q){return/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(Q)}function c(Q,u,...d){B(Q,u,!1,...d)}function B(Q,u,d,...C){let h=Pk[Q]??"Unkonwn error";C&&C.forEach((p,D)=>h=I(h,`{${D}}`,C[D].toString())),r.push({name:u,code:Q,message:h,isWarning:d,args:C});function I(p,D,m){do p=p.replace(D,m);while(p.includes(D));return p}}}function rs(A,e,t,o={},r){if(t(A,e,!0,o),o.abort||o.cancel)return;const n=r.getComponentProps(A.type)??{},i=A.props??{};for(const l of Object.keys(i)){const c=n[l];if(!c)continue;const B=i[l];if(c.type==="ComponentDef"&&B.type&&(rs(B,A,t,o,r),o.abort||o.cancel))return}const s=r.getComponentEvents(A.type)??{},a=A.events??{};for(const l of Object.keys(a)){if(!s[l])continue;const B=a[l];if(typeof B=="object"&&B.type){if(rs(B,A,t,o,r),o.abort)return;if(o.cancel)break}}if(A.children)for(const l of A.children){if(rs(l,A,t,o,r),o.abort)return;if(o.cancel)break}t(A,void 0,!1,o)}const Pk={M001:"The component '{0}' is not registered",M002:"The '{0}' element has an invalid id: '{1}'",M003:"Invalid component identifier: '{0}'",M004:"Duplicated component identifier: '{0}'",M005:"The '{0}' element has an invalid property: '{1}'",M006:"Parsing property value of '{0}' failed: {1}",M007:"The name of a reusable component is invalid: '{0}'",M008:"The name of a reusable component must not be '{0}', as it is a reserved name",M009:"A reusable component cannot have the name of a registered component: '{0}'",M010:"Duplicated reusable component name: '{0}'",M011:"The '{0}' element has an invalid event: '{1}'",M012:"Parsing event value of '{0}' failed: {1}",M013:"Component validation failed: '{0}'"},uB="Main."+hl,Tk="Main."+Pn,Td="config.json";function Gd({appDef:A,decorateComponentsWithTestId:e,debugEnabled:t=!1,runtime:o,components:r,componentManager:n}){const i=E.useMemo(()=>typeof window<"u"&&window.location.href.startsWith("file"),[]),s=Gk(A,o,n);if(Hk(s),!s)return null;const{apiInterceptor:a,name:l,appGlobals:c,defaultTheme:B,defaultTone:Q,resources:u,resourceMap:d,entryPoint:C,components:h,themes:I,sources:p}=s,D=typeof window<"u"&&window.XMLUI_MOCK_API?window.XMLUI_MOCK_API:a,m=e||(typeof window<"u"?window.XMLUI_MOCK_TEST_ID:!1),k=(c==null?void 0:c.useHashBasedRouting)??!0;return g.jsx(Lk,{interceptor:D,useHashBasedRouting:k,children:g.jsx(Pd,{servedFromSingleFile:i,decorateComponentsWithTestId:m,node:C,standalone:!0,debugEnabled:t,routerBaseName:typeof window<"u"&&window.__PUBLIC_PATH||"",globalProps:{name:l,...c||{}},defaultTheme:B,defaultTone:Q,resources:u,resourceMap:d,sources:p,componentManager:n,contributes:{compoundComponents:h,components:r,themes:I}})})}async function EB(A){if(!A.ok)throw new Error(`Failed to fetch ${A.url}`);const e=await A.text(),t=A.url;let{component:o,errors:r,erroneousCompoundComponentName:n}=aE(e,t);if(r.length>0){const i=n??A.url.substring(A.url.lastIndexOf("/")+1,A.url.length-6);o=Om(r,t,i)}return{component:o,src:e,file:t,hasError:r.length>0}}async function dB(A){if(!A.ok)throw new Error(`Failed to fetch ${A.url}`);const e=await A.text(),t=new gn(e);try{t.parseStatements()}catch{if(t.errors.length>0)return{component:Jm(t.errors[0],A.url),file:A.url,hasError:!0}}const o=K1("Main",e,()=>"",r=>r);return Object.keys(o.moduleErrors??{}).length>0?{component:qm(o.moduleErrors,A.url),file:A.url,hasError:!0}:(ap(o),{codeBehind:o,file:A.url})}function Il(A,e){return A.endsWith(`/${e}.ts`)||A.endsWith(`/${e}.js`)||A.endsWith(`/${e}.${hl}`)||A.endsWith(`/${e}.${Pn}`)}function Hd(A,e){return A.includes(`/${e}/`)}function Ud(A){const e={},t={},o={},r=[];let n,i,s,a;for(const[Q,u]of Object.entries(A))Il(Q,"config")&&(n=u.default),(Il(Q,"Main")||Il(Q,"App"))&&(Q.endsWith(Pn)?s=u.default:(i=u.default.component,u.default.file&&(e[u.default.file]=u.default.src))),Il(Q,"api")&&(a=u.default),Hd(Q,"components")&&(Q.endsWith(`.${Pn}`)?o[Q]=u.default:(t[Q]=u.default.component,e[u.default.file]=u.default.src)),Hd(Q,"themes")&&r.push(u.default);const l=(n==null?void 0:n.entryPoint)||i,c={...l,vars:{...s==null?void 0:s.vars,...l==null?void 0:l.vars},functions:s==null?void 0:s.functions,scriptError:s==null?void 0:s.moduleErrors};let B=[];return n!=null&&n.components?B=n.components:Object.entries(t).forEach(([Q,u])=>{const d=o[`${Q}.xs`],C={...u,component:{...u.component,vars:{...u.component.vars,...d==null?void 0:d.vars},functions:d==null?void 0:d.functions,scriptError:d==null?void 0:d.moduleErrors}};B.push(C)}),{...n,entryPoint:c,components:B,themes:(n==null?void 0:n.themes)||r,apiInterceptor:(n==null?void 0:n.apiInterceptor)||a,sources:e}}function Rd(A,e){return e?{...e,entryPoint:e.entryPoint||A.entryPoint,components:e.components||A.components,themes:e.themes||A.themes,apiInterceptor:e.apiInterceptor||A.apiInterceptor}:A}async function yo(A){return fetch(xQ(A),{headers:{"Cache-Control":"no-cache, no-store"}})}function Gk(A,e=GA,t){const[o,r]=E.useState(()=>{const n=Ud(e),i=Rd(n,A);if((process.env.VITE_DEV_MODE||process.env.VITE_BUILD_MODE==="INLINE_ALL")&&!process.env.VITE_STANDALONE){if(!i)throw new Error("couldn't find the application metadata");return i}return null});return $t(()=>{(async function(){var F,v,y,P;const n=Ud(e),i=Rd(n,A);if((process.env.VITE_DEV_MODE||process.env.VITE_BUILD_MODE==="INLINE_ALL")&&!process.env.VITE_STANDALONE){if(!i)throw new Error("couldn't find the application metadata");r(i);return}if(process.env.VITE_BUILD_MODE==="CONFIG_ONLY"){const _=await(await yo(Td)).json(),q=[];(F=_.themes)==null||F.forEach(z=>{q.push(yo(z).then(T=>T.json()))});const J=await Promise.all(q);r({...i,name:_.name,appGlobals:_.appGlobals,defaultTheme:_.defaultTheme,resources:_.resources,resourceMap:_.resourceMap,themes:J});return}const s=new Promise(async b=>{try{const _=await yo(uB);_.ok?b(EB(_)):b({component:Km(`Failed to load the main component (${uB})`),file:uB,hasError:!0})}catch{b(null)}}),a=new Promise(async b=>{try{const _=await yo(Tk),q=await dB(_);b(q.hasError?q:q.codeBehind)}catch{b(null)}});let l;try{l=await(await yo(Td)).json()}catch{}const c=(v=l==null?void 0:l.themes)==null?void 0:v.map(b=>yo(b).then(_=>_.json())),B=(y=l==null?void 0:l.components)==null?void 0:y.map(async b=>{const _=await yo(b);return b.endsWith(`.${hl}`)?await EB(_):await dB(_)}),[Q,u,d,C]=await Promise.all([s,a,Promise.all(B||[]),Promise.all(c||[])]),h=[];Q.hasError&&h.push(Q.component),u!=null&&u.hasError&&h.push(u.component),d.forEach(b=>{b.hasError&&h.push(b.component)});const I={},p={};Q.file&&(I[Q.file]=Q.src),d.forEach(b=>{var _;(_=b==null?void 0:b.file)!=null&&_.endsWith(`.${Pn}`)?p[b.file]=b.codeBehind:b.file&&(I[b.file]=b.src)});const D={...Q.component,vars:{...u==null?void 0:u.vars,...Q.component.vars},functions:u==null?void 0:u.functions,scriptError:u==null?void 0:u.moduleErrors},m=(P=D.props)==null?void 0:P.defaultTheme;m&&typeof m=="string"&&!m.includes("{")&&!RQ.find(b=>b.id===m)&&!C.find(b=>b.id===m)&&C.push(await yo(`themes/${m}.json`).then(b=>b.json()));const k=d.filter(b=>{var _;return!((_=b==null?void 0:b.file)!=null&&_.endsWith(".xmlui.xs"))}).map(b=>{const _=p[b.file+".xs"];return{...b.component,component:{...b.component.component,vars:{...b.component.component.vars,..._==null?void 0:_.vars},functions:_==null?void 0:_.functions,scriptError:_==null?void 0:_.moduleErrors}}});let N=Yd(D,k,void 0,t);const L=new Set;for(;N.size>0;){const b=[...N].map(async q=>{try{const J=yo(`components/${q}.${hl}`),z=new Promise(async Y=>{try{const U=await dB(await yo(`components/${q}.${Pn}`));U.hasError&&h.push(U.component),Y(U.hasError?U.component:U.codeBehind)}catch{Y(null)}}),[T,S]=await Promise.all([J,z]),G=await EB(T);return G.hasError&&h.push(G.component),I[G.file]=G.src,{...G.component,component:{...G.component.component,vars:{...G.component.component.vars,...S==null?void 0:S.vars},functions:S==null?void 0:S.functions,scriptError:S==null?void 0:S.moduleErrors}}}catch{return L.add(q),null}}),_=await Promise.all(b);k.push(..._.filter(q=>!!q)),N=Yd(D,k,L,t)}const M=h.length>0?{type:"VStack",props:{gap:0,padding:0},children:h}:null;r({...l,themes:C,sources:I,components:k,entryPoint:M||D})})()},[e,A]),o}function Yd(A,e,t=new Set,o){const r=new QB({compoundComponents:e},o),n=Sk(A,e,{getComponentProps:i=>{var s,a;return(a=(s=r.lookupComponentRenderer(i))==null?void 0:s.descriptor)==null?void 0:a.props},acceptArbitraryProps:()=>!0,getComponentValidator:()=>null,getComponentEvents:()=>null,componentRegistered:i=>r.hasComponent(i)});return r.destroy(),new Set(n.filter(i=>i.code==="M001").map(i=>i.args[0]).filter(i=>!t.has(i)))}function Hk(A){const e=E.useRef(!1);E.useEffect(()=>{if(e.current)return;e.current=!0;let t=`XMLUI version: ${process.env.VITE_XMLUI_VERSION||"dev"}`;A!=null&&A.name&&(t+=`; ${A.name} version: ${process.env.VITE_APP_VERSION||"dev"}`),console.log(t)},[A==null?void 0:A.name])}let pl=null;function Uk(A,e,t){let o=document.getElementById("root");return o||(o=document.createElement("div"),o.setAttribute("id","root"),document.body.appendChild(o)),pl||(pl=ei.createRoot(o)),pl.render(g.jsx(Gd,{runtime:A,components:e,componentManager:t})),pl}let ns=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function Rk(A){return CB(A)}function CB(A){return Array.isArray(A)?Yk(A):typeof A=="object"?Kk(A):A}function Yk(A){let e=[];for(let t=0,o=A.length;t<o;t++)e[t]=CB(A[t]);return e}function Kk(A){let e={};for(let t in A)e[t]=CB(A[t]);return e}function Kd(A,...e){return e.forEach(t=>{for(let o in t)A[o]=t[o]}),A}function Od(A){const e=~A.lastIndexOf("/")||~A.lastIndexOf("\\");return e===0?A:~e===A.length-1?Od(A.substring(0,A.length-1)):A.substr(~e+1)}var hB=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,wl=class{static hasCaptures(A){return A===null?!1:(hB.lastIndex=0,hB.test(A))}static replaceCaptures(A,e,t){return A.replace(hB,(o,r,n,i)=>{let s=t[parseInt(r||n,10)];if(s){let a=e.substring(s.start,s.end);for(;a[0]===".";)a=a.substring(1);switch(i){case"downcase":return a.toLowerCase();case"upcase":return a.toUpperCase();default:return a}}else return o})}};function Jd(A,e){return A<e?-1:A>e?1:0}function qd(A,e){if(A===null&&e===null)return 0;if(!A)return-1;if(!e)return 1;let t=A.length,o=e.length;if(t===o){for(let r=0;r<t;r++){let n=Jd(A[r],e[r]);if(n!==0)return n}return 0}return t-o}function zd(A){return!!(/^#[0-9a-f]{6}$/i.test(A)||/^#[0-9a-f]{8}$/i.test(A)||/^#[0-9a-f]{3}$/i.test(A)||/^#[0-9a-f]{4}$/i.test(A))}function Wd(A){return A.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $d=class{constructor(A){this.fn=A,this.cache=new Map}get(A){if(this.cache.has(A))return this.cache.get(A);const e=this.fn(A);return this.cache.set(A,e),e}},fl=class{constructor(A,e,t){this._colorMap=A,this._defaults=e,this._root=t,this._cachedMatchRoot=new $d(o=>this._root.match(o))}static createFromRawTheme(A,e){return this.createFromParsedTheme(qk(A),e)}static createFromParsedTheme(A,e){return Wk(A,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(A){if(A===null)return this._defaults;const e=A.scopeName,o=this._cachedMatchRoot.get(e).find(r=>Ok(A.parent,r.parentScopes));return o?new jd(o.fontStyle,o.foreground,o.background):null}},IB=class Ag{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const o of t)e=new Ag(e,o);return e}static from(...e){let t=null;for(let o=0;o<e.length;o++)t=new Ag(t,e[o]);return t}push(e){return new Ag(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let o=this;for(;o&&o!==e;)t.push(o.scopeName),o=o.parent;return o===e?t.reverse():void 0}};function Ok(A,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let o=e[t],r=!1;if(o===">"){if(t===e.length-1)return!1;o=e[++t],r=!0}for(;A&&!Jk(A.scopeName,o);){if(r)return!1;A=A.parent}if(!A)return!1;A=A.parent}return!0}function Jk(A,e){return e===A||A.startsWith(e)&&A[e.length]==="."}var jd=class{constructor(A,e,t){this.fontStyle=A,this.foregroundId=e,this.backgroundId=t}};function qk(A){if(!A)return[];if(!A.settings||!Array.isArray(A.settings))return[];let e=A.settings,t=[],o=0;for(let r=0,n=e.length;r<n;r++){let i=e[r];if(!i.settings)continue;let s;if(typeof i.scope=="string"){let B=i.scope;B=B.replace(/^[,]+/,""),B=B.replace(/[,]+$/,""),s=B.split(",")}else Array.isArray(i.scope)?s=i.scope:s=[""];let a=-1;if(typeof i.settings.fontStyle=="string"){a=0;let B=i.settings.fontStyle.split(" ");for(let Q=0,u=B.length;Q<u;Q++)switch(B[Q]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let l=null;typeof i.settings.foreground=="string"&&zd(i.settings.foreground)&&(l=i.settings.foreground);let c=null;typeof i.settings.background=="string"&&zd(i.settings.background)&&(c=i.settings.background);for(let B=0,Q=s.length;B<Q;B++){let d=s[B].trim().split(" "),C=d[d.length-1],h=null;d.length>1&&(h=d.slice(0,d.length-1),h.reverse()),t[o++]=new zk(C,h,r,a,l,c)}}return t}var zk=class{constructor(A,e,t,o,r,n){this.scope=A,this.parentScopes=e,this.index=t,this.fontStyle=o,this.foreground=r,this.background=n}},bo=(A=>(A[A.NotSet=-1]="NotSet",A[A.None=0]="None",A[A.Italic=1]="Italic",A[A.Bold=2]="Bold",A[A.Underline=4]="Underline",A[A.Strikethrough=8]="Strikethrough",A))(bo||{});function Wk(A,e){A.sort((a,l)=>{let c=Jd(a.scope,l.scope);return c!==0||(c=qd(a.parentScopes,l.parentScopes),c!==0)?c:a.index-l.index});let t=0,o="#000000",r="#ffffff";for(;A.length>=1&&A[0].scope==="";){let a=A.shift();a.fontStyle!==-1&&(t=a.fontStyle),a.foreground!==null&&(o=a.foreground),a.background!==null&&(r=a.background)}let n=new $k(e),i=new jd(t,n.getId(o),n.getId(r)),s=new Vk(new pB(0,null,-1,0,0),[]);for(let a=0,l=A.length;a<l;a++){let c=A[a];s.insert(0,c.scope,c.parentScopes,c.fontStyle,n.getId(c.foreground),n.getId(c.background))}return new fl(n,i,s)}var $k=class{constructor(A){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(A)){this._isFrozen=!0;for(let e=0,t=A.length;e<t;e++)this._color2id[A[e]]=e,this._id2color[e]=A[e]}else this._isFrozen=!1}getId(A){if(A===null)return 0;A=A.toUpperCase();let e=this._color2id[A];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${A}`);return e=++this._lastColorId,this._color2id[A]=e,this._id2color[e]=A,e}getColorMap(){return this._id2color.slice(0)}},jk=Object.freeze([]),pB=class VI{constructor(e,t,o,r,n){this.scopeDepth=e,this.parentScopes=t||jk,this.fontStyle=o,this.foreground=r,this.background=n}clone(){return new VI(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let o=0,r=e.length;o<r;o++)t[o]=e[o].clone();return t}acceptOverwrite(e,t,o,r){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),o!==0&&(this.foreground=o),r!==0&&(this.background=r)}},Vk=class CQ{constructor(e,t=[],o={}){this._mainRule=e,this._children=o,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let o=0,r=0;for(;e.parentScopes[o]===">"&&o++,t.parentScopes[r]===">"&&r++,!(o>=e.parentScopes.length||r>=t.parentScopes.length);){const n=t.parentScopes[r].length-e.parentScopes[o].length;if(n!==0)return n;o++,r++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let o=e.indexOf("."),r,n;if(o===-1?(r=e,n=""):(r=e.substring(0,o),n=e.substring(o+1)),this._children.hasOwnProperty(r))return this._children[r].match(n)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(CQ._cmpBySpecificity),t}insert(e,t,o,r,n,i){if(t===""){this._doInsertHere(e,o,r,n,i);return}let s=t.indexOf("."),a,l;s===-1?(a=t,l=""):(a=t.substring(0,s),l=t.substring(s+1));let c;this._children.hasOwnProperty(a)?c=this._children[a]:(c=new CQ(this._mainRule.clone(),pB.cloneArr(this._rulesWithParentScopes)),this._children[a]=c),c.insert(e+1,l,o,r,n,i)}_doInsertHere(e,t,o,r,n){if(t===null){this._mainRule.acceptOverwrite(e,o,r,n);return}for(let i=0,s=this._rulesWithParentScopes.length;i<s;i++){let a=this._rulesWithParentScopes[i];if(qd(a.parentScopes,t)===0){a.acceptOverwrite(e,o,r,n);return}}o===-1&&(o=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),n===0&&(n=this._mainRule.background),this._rulesWithParentScopes.push(new pB(e,t,o,r,n))}},$r=class zt{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=zt.getLanguageId(e),o=zt.getTokenType(e),r=zt.getFontStyle(e),n=zt.getForeground(e),i=zt.getBackground(e);console.log({languageId:t,tokenType:o,fontStyle:r,foreground:n,background:i})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,o,r,n,i,s){let a=zt.getLanguageId(e),l=zt.getTokenType(e),c=zt.containsBalancedBrackets(e)?1:0,B=zt.getFontStyle(e),Q=zt.getForeground(e),u=zt.getBackground(e);return t!==0&&(a=t),o!==8&&(l=o),r!==null&&(c=r?1:0),n!==-1&&(B=n),i!==0&&(Q=i),s!==0&&(u=s),(a<<0|l<<8|c<<10|B<<11|Q<<15|u<<24)>>>0}};function fz(A){return A}function Dz(A){return A}function Dl(A,e){const t=[],o=Xk(A);let r=o.next();for(;r!==null;){let a=0;if(r.length===2&&r.charAt(1)===":"){switch(r.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${r} in scope selector`)}r=o.next()}let l=i();if(t.push({matcher:l,priority:a}),r!==",")break;r=o.next()}return t;function n(){if(r==="-"){r=o.next();const a=n();return l=>!!a&&!a(l)}if(r==="("){r=o.next();const a=s();return r===")"&&(r=o.next()),a}if(Vd(r)){const a=[];do a.push(r),r=o.next();while(Vd(r));return l=>e(a,l)}return null}function i(){const a=[];let l=n();for(;l;)a.push(l),l=n();return c=>a.every(B=>B(c))}function s(){const a=[];let l=i();for(;l&&(a.push(l),r==="|"||r===",");){do r=o.next();while(r==="|"||r===",");l=i()}return c=>a.some(B=>B(c))}}function Vd(A){return!!A&&!!A.match(/[\w\.:]+/)}function Xk(A){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(A);return{next:()=>{if(!t)return null;const o=t[0];return t=e.exec(A),o}}}function Xd(A){typeof A.dispose=="function"&&A.dispose()}var is=class{constructor(A){this.scopeName=A}toKey(){return this.scopeName}},Zk=class{constructor(A,e){this.scopeName=A,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},AM=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(A){const e=A.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(A))}},eM=class{constructor(A,e){this.repo=A,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new is(this.initialScopeName)]}processQueue(){const A=this.Q;this.Q=[];const e=new AM;for(const t of A)tM(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof is){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function tM(A,e,t,o){const r=t.lookup(A.scopeName);if(!r){if(A.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const n=t.lookup(e);A instanceof is?ml({baseGrammar:n,selfGrammar:r},o):wB(A.ruleName,{baseGrammar:n,selfGrammar:r,repository:r.repository},o);const i=t.injections(A.scopeName);if(i)for(const s of i)o.add(new is(s))}function wB(A,e,t){if(e.repository&&e.repository[A]){const o=e.repository[A];xl([o],e,t)}}function ml(A,e){A.selfGrammar.patterns&&Array.isArray(A.selfGrammar.patterns)&&xl(A.selfGrammar.patterns,{...A,repository:A.selfGrammar.repository},e),A.selfGrammar.injections&&xl(Object.values(A.selfGrammar.injections),{...A,repository:A.selfGrammar.repository},e)}function xl(A,e,t){for(const o of A){if(t.visitedRule.has(o))continue;t.visitedRule.add(o);const r=o.repository?Kd({},e.repository,o.repository):e.repository;Array.isArray(o.patterns)&&xl(o.patterns,{...e,repository:r},t);const n=o.include;if(!n)continue;const i=Zd(n);switch(i.kind){case 0:ml({...e,selfGrammar:e.baseGrammar},t);break;case 1:ml(e,t);break;case 2:wB(i.ruleName,{...e,repository:r},t);break;case 3:case 4:const s=i.scopeName===e.selfGrammar.scopeName?e.selfGrammar:i.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(s){const a={baseGrammar:e.baseGrammar,selfGrammar:s,repository:r};i.kind===4?wB(i.ruleName,a,t):ml(a,t)}else i.kind===4?t.add(new Zk(i.scopeName,i.ruleName)):t.add(new is(i.scopeName));break}}}var oM=class{constructor(){this.kind=0}},rM=class{constructor(){this.kind=1}},nM=class{constructor(A){this.ruleName=A,this.kind=2}},iM=class{constructor(A){this.scopeName=A,this.kind=3}},sM=class{constructor(A,e){this.scopeName=A,this.ruleName=e,this.kind=4}};function Zd(A){if(A==="$base")return new oM;if(A==="$self")return new rM;const e=A.indexOf("#");if(e===-1)return new iM(A);if(e===0)return new nM(A.substring(1));{const t=A.substring(0,e),o=A.substring(e+1);return new sM(t,o)}}var aM=/\\(\d+)/,AC=/\\(\d+)/g,lM=-1,eC=-2;function mz(A){return A}function xz(A){return A}var ss=class{constructor(A,e,t,o){this.$location=A,this.id=e,this._name=t||null,this._nameIsCapturing=wl.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=wl.hasCaptures(this._contentName)}get debugName(){const A=this.$location?`${Od(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${A}`}getName(A,e){return!this._nameIsCapturing||this._name===null||A===null||e===null?this._name:wl.replaceCaptures(this._name,A,e)}getContentName(A,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:wl.replaceCaptures(this._contentName,A,e)}},gM=class extends ss{constructor(A,e,t,o,r){super(A,e,t,o),this.retokenizeCapturedWithRuleId=r}dispose(){}collectPatterns(A,e){throw new Error("Not supported!")}compile(A,e){throw new Error("Not supported!")}compileAG(A,e,t,o){throw new Error("Not supported!")}},cM=class extends ss{constructor(A,e,t,o,r){super(A,e,t,null),this._match=new as(o,this.id),this.captures=r,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(A,e){e.push(this._match)}compile(A,e){return this._getCachedCompiledPatterns(A).compile(A)}compileAG(A,e,t,o){return this._getCachedCompiledPatterns(A).compileAG(A,t,o)}_getCachedCompiledPatterns(A){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ls,this.collectPatterns(A,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},tC=class extends ss{constructor(A,e,t,o,r){super(A,e,t,o),this.patterns=r.patterns,this.hasMissingPatterns=r.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(A,e){for(const t of this.patterns)A.getRule(t).collectPatterns(A,e)}compile(A,e){return this._getCachedCompiledPatterns(A).compile(A)}compileAG(A,e,t,o){return this._getCachedCompiledPatterns(A).compileAG(A,t,o)}_getCachedCompiledPatterns(A){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ls,this.collectPatterns(A,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},fB=class extends ss{constructor(A,e,t,o,r,n,i,s,a,l){super(A,e,t,o),this._begin=new as(r,this.id),this.beginCaptures=n,this._end=new as(i||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=a||!1,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(A,e){return this._end.resolveBackReferences(A,e)}collectPatterns(A,e){e.push(this._begin)}compile(A,e){return this._getCachedCompiledPatterns(A,e).compile(A)}compileAG(A,e,t,o){return this._getCachedCompiledPatterns(A,e).compileAG(A,t,o)}_getCachedCompiledPatterns(A,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ls;for(const t of this.patterns)A.getRule(t).collectPatterns(A,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},vl=class extends ss{constructor(A,e,t,o,r,n,i,s,a){super(A,e,t,o),this._begin=new as(r,this.id),this.beginCaptures=n,this.whileCaptures=s,this._while=new as(i,eC),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(A,e){return this._while.resolveBackReferences(A,e)}collectPatterns(A,e){e.push(this._begin)}compile(A,e){return this._getCachedCompiledPatterns(A).compile(A)}compileAG(A,e,t,o){return this._getCachedCompiledPatterns(A).compileAG(A,t,o)}_getCachedCompiledPatterns(A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ls;for(const e of this.patterns)A.getRule(e).collectPatterns(A,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(A,e){return this._getCachedCompiledWhilePatterns(A,e).compile(A)}compileWhileAG(A,e,t,o){return this._getCachedCompiledWhilePatterns(A,e).compileAG(A,t,o)}_getCachedCompiledWhilePatterns(A,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ls,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||"￿"),this._cachedCompiledWhilePatterns}},oC=class Xe{static createCaptureRule(e,t,o,r,n){return e.registerRule(i=>new gM(t,i,o,r,n))}static getCompiledRuleId(e,t,o){return e.id||t.registerRule(r=>{if(e.id=r,e.match)return new cM(e.$vscodeTextmateLocation,e.id,e.name,e.match,Xe._compileCaptures(e.captures,t,o));if(typeof e.begin>"u"){e.repository&&(o=Kd({},o,e.repository));let n=e.patterns;return typeof n>"u"&&e.include&&(n=[{include:e.include}]),new tC(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Xe._compilePatterns(n,t,o))}return e.while?new vl(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Xe._compileCaptures(e.beginCaptures||e.captures,t,o),e.while,Xe._compileCaptures(e.whileCaptures||e.captures,t,o),Xe._compilePatterns(e.patterns,t,o)):new fB(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Xe._compileCaptures(e.beginCaptures||e.captures,t,o),e.end,Xe._compileCaptures(e.endCaptures||e.captures,t,o),e.applyEndPatternLast,Xe._compilePatterns(e.patterns,t,o))}),e.id}static _compileCaptures(e,t,o){let r=[];if(e){let n=0;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const s=parseInt(i,10);s>n&&(n=s)}for(let i=0;i<=n;i++)r[i]=null;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const s=parseInt(i,10);let a=0;e[i].patterns&&(a=Xe.getCompiledRuleId(e[i],t,o)),r[s]=Xe.createCaptureRule(t,e[i].$vscodeTextmateLocation,e[i].name,e[i].contentName,a)}}return r}static _compilePatterns(e,t,o){let r=[];if(e)for(let n=0,i=e.length;n<i;n++){const s=e[n];let a=-1;if(s.include){const l=Zd(s.include);switch(l.kind){case 0:case 1:a=Xe.getCompiledRuleId(o[s.include],t,o);break;case 2:let c=o[l.ruleName];c&&(a=Xe.getCompiledRuleId(c,t,o));break;case 3:case 4:const B=l.scopeName,Q=l.kind===4?l.ruleName:null,u=t.getExternalGrammar(B,o);if(u)if(Q){let d=u.repository[Q];d&&(a=Xe.getCompiledRuleId(d,t,u.repository))}else a=Xe.getCompiledRuleId(u.repository.$self,t,u.repository);break}}else a=Xe.getCompiledRuleId(s,t,o);if(a!==-1){const l=t.getRule(a);let c=!1;if((l instanceof tC||l instanceof fB||l instanceof vl)&&l.hasMissingPatterns&&l.patterns.length===0&&(c=!0),c)continue;r.push(a)}}return{patterns:r,hasMissingPatterns:(e?e.length:0)!==r.length}}},as=class XI{constructor(e,t){if(e){const o=e.length;let r=0,n=[],i=!1;for(let s=0;s<o;s++)if(e.charAt(s)==="\\"&&s+1<o){const l=e.charAt(s+1);l==="z"?(n.push(e.substring(r,s)),n.push("$(?!\\n)(?<!\\n)"),r=s+2):(l==="A"||l==="G")&&(i=!0),s++}this.hasAnchor=i,r===0?this.source=e:(n.push(e.substring(r,o)),this.source=n.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=aM.test(this.source)}clone(){return new XI(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let o=t.map(r=>e.substring(r.start,r.end));return AC.lastIndex=0,this.source.replace(AC,(r,n)=>Wd(o[parseInt(n,10)]||""))}_buildAnchorCache(){let e=[],t=[],o=[],r=[],n,i,s,a;for(n=0,i=this.source.length;n<i;n++)s=this.source.charAt(n),e[n]=s,t[n]=s,o[n]=s,r[n]=s,s==="\\"&&n+1<i&&(a=this.source.charAt(n+1),a==="A"?(e[n+1]="￿",t[n+1]="￿",o[n+1]="A",r[n+1]="A"):a==="G"?(e[n+1]="￿",t[n+1]="G",o[n+1]="￿",r[n+1]="G"):(e[n+1]=a,t[n+1]=a,o[n+1]=a,r[n+1]=a),n++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:o.join(""),A1_G1:r.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ls=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(A){this._items.push(A),this._hasAnchors=this._hasAnchors||A.hasAnchor}unshift(A){this._items.unshift(A),this._hasAnchors=this._hasAnchors||A.hasAnchor}length(){return this._items.length}setSource(A,e){this._items[A].source!==e&&(this._disposeCaches(),this._items[A].setSource(e))}compile(A){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new rC(A,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(A,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(A,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(A,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(A,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(A,e,t)),this._anchorCache.A0_G0):this.compile(A)}_resolveAnchors(A,e,t){let o=this._items.map(r=>r.resolveAnchors(e,t));return new rC(A,o,this._items.map(r=>r.ruleId))}},rC=class{constructor(A,e,t){this.regExps=e,this.rules=t,this.scanner=A.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const A=[];for(let e=0,t=this.rules.length;e<t;e++)A.push(" - "+this.rules[e]+": "+this.regExps[e]);return A.join(`
184
+ `),metadata:Gv},Ut={themeVars:`'{"padding-vertical-TableOfContentsItem": "var(--xmlui-padding-vertical-TableOfContentsItem)", "padding-horizontal-TableOfContentsItem": "var(--xmlui-padding-horizontal-TableOfContentsItem)", "padding-horizontal-TableOfContentsItem-level-1": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-1)", "padding-horizontal-TableOfContentsItem-level-2": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-2)", "padding-horizontal-TableOfContentsItem-level-3": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-3)", "padding-horizontal-TableOfContentsItem-level-4": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-4)", "padding-horizontal-TableOfContentsItem-level-5": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-5)", "padding-horizontal-TableOfContentsItem-level-6": "var(--xmlui-padding-horizontal-TableOfContentsItem-level-6)", "color-bg-TableOfContents": "var(--xmlui-color-bg-TableOfContents)", "width-TableOfContents": "var(--xmlui-width-TableOfContents)", "height-TableOfContents": "var(--xmlui-height-TableOfContents)", "border-radius-TableOfContents": "var(--xmlui-border-radius-TableOfContents)", "color-border-TableOfContents": "var(--xmlui-color-border-TableOfContents)", "thickness-border-TableOfContents": "var(--xmlui-thickness-border-TableOfContents)", "style-border-TableOfContents": "var(--xmlui-style-border-TableOfContents)", "margin-top-TableOfContents": "var(--xmlui-margin-top-TableOfContents)", "margin-bottom-TableOfContents": "var(--xmlui-margin-bottom-TableOfContents)", "padding-vertical-TableOfContents": "var(--xmlui-padding-vertical-TableOfContents)", "padding-horizontal-TableOfContents": "var(--xmlui-padding-horizontal-TableOfContents)", "border-width-TableOfContentsItem": "var(--xmlui-border-width-TableOfContentsItem)", "border-style-TableOfContentsItem": "var(--xmlui-border-style-TableOfContentsItem)", "border-color-TableOfContentsItem": "var(--xmlui-border-color-TableOfContentsItem)", "color-TableOfContentsItem": "var(--xmlui-color-TableOfContentsItem)", "font-size-TableOfContentsItem": "var(--xmlui-font-size-TableOfContentsItem)", "font-weight-TableOfContentsItem": "var(--xmlui-font-weight-TableOfContentsItem)", "font-family-TableOfContentsItem": "var(--xmlui-font-family-TableOfContentsItem)", "transform-TableOfContentsItem": "var(--xmlui-transform-TableOfContentsItem)", "align-vertical-TableOfContentsItem": "var(--xmlui-align-vertical-TableOfContentsItem)", "letter-spacing-TableOfContentsItem": "var(--xmlui-letter-spacing-TableOfContentsItem)", "border-color-TableOfContentsItem--active": "var(--xmlui-border-color-TableOfContentsItem--active)", "color-TableOfContentsItem--active": "var(--xmlui-color-TableOfContentsItem--active)", "font-weight-TableOfContentsItem--active": "var(--xmlui-font-weight-TableOfContentsItem--active)"}'`,nav:"_nav_1soaw_13",list:"_list_1soaw_35",listItem:"_listItem_1soaw_40",link:"_link_1soaw_44",head_1:"_head_1_1soaw_56",head_2:"_head_2_1soaw_59",head_3:"_head_3_1soaw_62",head_4:"_head_4_1soaw_65",head_5:"_head_5_1soaw_68",head_6:"_head_6_1soaw_71",active:"_active_1soaw_74"},Uv=({layout:A,smoothScrolling:e})=>{const t=E.useRef(null),{headings:o,setObserveIntersection:r,activeAnchorId:n,setActiveAnchorId:i}=W6();return E.useEffect(()=>{r(!0)},[r]),E.useEffect(()=>{if(n&&(t!=null&&t.current)){const s=t.current.querySelector(`#${n}`);s&&og(s,{block:"center",inline:"center",behavior:"smooth",scrollMode:"always",boundary:t.current})}},[n,o]),g.jsx("div",{className:Ut.nav,ref:t,style:A,children:g.jsx("ul",{className:Ut.list,children:o.map(s=>g.jsx("li",{className:Ge(Ut.listItem,{[Ut.active]:s.id===n}),children:g.jsx(We.NavLink,{className:Ge(Ut.link,{[Ut.head_1]:s.level===1,[Ut.head_2]:s.level===2,[Ut.head_3]:s.level===3,[Ut.head_4]:s.level===4,[Ut.head_5]:s.level===5,[Ut.head_6]:s.level===6}),to:`#${s.id}`,onClick:()=>{e&&og(s.anchor,{block:"start",inline:"start",behavior:"smooth",scrollMode:"if-needed"}),i(s.id)},id:s.id,children:s.text})},s.id))})})},SA="TableOfContents",Rv=Z({status:"experimental",description:`The \`${SA}\` component collects headings and bookmarks within the current page and displays them in a tree representing their hierarchy. When you select an item in this tree, the component navigates the page to the selected position.`,props:{smoothScrolling:f("This property indicates that smooth scrolling is used while scrolling the selected table of contents items into view.")},themeVars:pA(Ut.themeVars),defaultThemeVars:{[`width-${SA}`]:"auto",[`height-${SA}`]:"auto",[`font-size-${SA}Item`]:"$font-size-smaller",[`font-weight-${SA}Item`]:"$font-weight-normal",[`font-family-${SA}Item`]:"$font-family",[`border-radius-${SA}Item`]:"0",[`border-width-${SA}Item`]:"$space-0_5",[`border-style-${SA}Item`]:"solid",[`border-radius-${SA}Item--active`]:"0",[`border-width-${SA}Item--active`]:"$space-0_5",[`border-style-${SA}Item--active`]:"solid",[`font-weight-${SA}Item--active`]:"$font-weight-bold",[`color-bg-${SA}`]:"transparent",[`padding-horizontal-${SA}`]:"$space-8",[`padding-vertical-${SA}`]:"$space-4",[`padding-horizontal-${SA}Item`]:"$space-2",[`padding-vertical-${SA}Item`]:"$space-2",[`padding-horizontal-${SA}Item-level-1`]:"unset",[`padding-horizontal-${SA}Item-level-2`]:"unset",[`padding-horizontal-${SA}Item-level-3`]:"unset",[`padding-horizontal-${SA}Item-level-4`]:"unset",[`padding-horizontal-${SA}Item-level-5`]:"unset",[`padding-horizontal-${SA}Item-level-6`]:"unset",[`margin-top-${SA}`]:"0",[`margin-bottom-${SA}`]:"0",[`border-radius-${SA}`]:"0",[`border-width-${SA}`]:"0",[`border-color-${SA}`]:"transparent",[`border-style-${SA}`]:"solid",[`transform-${SA}Item`]:"none",[`align-vertical-${SA}Item`]:"baseline",[`letter-spacing-${SA}Item`]:"0",light:{[`color-${SA}Item`]:"$color-text-primary",[`border-color-${SA}Item`]:"$color-border",[`border-color-${SA}Item--active`]:"$color-primary-500",[`color-${SA}Item--active`]:"$color-primary-500"},dark:{[`color-${SA}Item`]:"$color-text-primary",[`border-color-${SA}Item`]:"$color-border",[`border-color-${SA}Item--active`]:"$color-primary-500",[`color-${SA}Item--active`]:"$color-text-secondary"}}}),Yv=AA(SA,Rv,({layoutCss:A,node:e,extractValue:t})=>{var o;return g.jsx(Uv,{layout:A,smoothScrolling:t.asOptionalBoolean((o=e.props)==null?void 0:o.smoothScrolling)})}),Vo={themeVars:`'{"radius-Accordion": "var(--xmlui-radius-Accordion)", "color-border-Accordion": "var(--xmlui-color-border-Accordion)", "thickness-border-Accordion": "var(--xmlui-thickness-border-Accordion)", "style-border-Accordion": "var(--xmlui-style-border-Accordion)", "align-vertical-header-Accordion": "var(--xmlui-align-vertical-header-Accordion)", "font-size-header-Accordion": "var(--xmlui-font-size-header-Accordion)", "font-weight-header-Accordion": "var(--xmlui-font-weight-header-Accordion)", "font-style-header-Accordion": "var(--xmlui-font-style-header-Accordion)", "padding-vertical-header-Accordion": "var(--xmlui-padding-vertical-header-Accordion)", "padding-horizontal-header-Accordion": "var(--xmlui-padding-horizontal-header-Accordion)", "color-bg-header-Accordion": "var(--xmlui-color-bg-header-Accordion)", "color-header-Accordion": "var(--xmlui-color-header-Accordion)", "color-bg-header-Accordion-hover": "var(--xmlui-color-bg-header-Accordion-hover)", "color-content-Accordion": "var(--xmlui-color-content-Accordion)", "color-bg-content-Accordion": "var(--xmlui-color-bg-content-Accordion)", "width-icon-Accordion": "var(--xmlui-width-icon-Accordion)", "height-icon-Accordion": "var(--xmlui-height-icon-Accordion)", "color-icon-Accordion": "var(--xmlui-color-icon-Accordion)"}'`,root:"_root_lik78_13",item:"_item_lik78_24",header:"_header_lik78_43",trigger:"_trigger_lik78_48",triggerStart:"_triggerStart_lik78_66",contentWrapper:"_contentWrapper_lik78_70",slideDown:"_slideDown_lik78_1",slideUp:"_slideUp_lik78_1",content:"_content_lik78_70",chevron:"_chevron_lik78_86"},fE=E.createContext({expandedItems:null,rotateExpanded:null,expandItem:vA,register:vA,unRegister:vA,hideIcon:null,expandedIcon:null,collapsedIcon:null,triggerPosition:null});function Kv(){return E.useContext(fE)}const Ov=({children:A,hideIcon:e=!1,expandedIcon:t,collapsedIcon:o="chevrondown",triggerPosition:r="end",onDisplayDidChange:n=vA,registerComponentApi:i,rotateExpanded:s="180deg"})=>{const[a,l]=E.useState([]),[c,B]=E.useState(new Set),Q=E.useCallback(m=>{l(k=>k.filter(N=>N!==`${m}`))},[l]),u=E.useCallback(m=>{a.includes(`${m}`)||l(k=>[...k,`${m}`])},[l,a]),d=E.useCallback(m=>{a.includes(`${m}`)?Q(m):u(m)},[l,a]),C=E.useCallback(m=>{B(k=>(k.add(m),k))},[B]),h=E.useCallback(m=>{B(k=>(k.delete(m),k))},[B]),I=E.useCallback(m=>{if(c.has(`trigger_${m}`)){const k=document.getElementById(`trigger_${m}`);k&&k.focus()}},[c]),p=E.useCallback(m=>a.includes(`${m}`),[a]);E.useEffect(()=>{i==null||i({expanded:p,expand:u,collapse:Q,toggle:d,focus:I})},[i,u,Q,d,I,p]);const D=E.useMemo(()=>({register:C,unRegister:h,expandItem:u,expandedItems:a,hideIcon:e,expandedIcon:t,collapsedIcon:o,triggerPosition:r,rotateExpanded:s}),[C,h,a,e,t,o,r,u,s]);return E.useEffect(()=>{n==null||n(a)},[a,n]),g.jsx(fE.Provider,{value:D,children:g.jsx(Ai.Root,{value:a,type:"multiple",className:Vo.root,onValueChange:m=>l(m),children:A})})},OA="Accordion",Jv=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${OA}\` component is a collapsible container that toggles the display of content sections. It helps organize information by expanding or collapsing it based on user interaction.`,props:{triggerPosition:f("This property indicates the position where the trigger icon should be displayed. The `start` value signs the trigger is before the header text (template), and `end` indicates that it follows the header.",O2,null,"end"),collapsedIcon:f("This property is the name of the icon that is displayed when the accordion is collapsed."),expandedIcon:f("This property is the name of the icon that is displayed when the accordion is expanded."),hideIcon:f("This property indicates that the trigger icon is not displayed (`true`).",null,"boolean",!1),rotateExpanded:f("This optional property defines the rotation angle of the expanded icon (relative to the collapsed icon).")},events:{displayDidChange:lt(OA)},apis:{expanded:q5(OA),expand:z5(OA),collapse:W5(OA),toggle:f(`This method toggles the state of the ${OA} between expanded and collapsed.`),focus:Eo(OA)},themeVars:pA(Vo.themeVars),defaultThemeVars:{[`padding-horizontal-header-${OA}`]:"$space-3",[`padding-vertical-header-${OA}`]:"$space-3",[`align-vertical-header-${OA}`]:"center",[`font-size-header-${OA}`]:"$font-size-normal",[`font-weight-header-${OA}`]:"$font-weight-normal",[`font-family-header-${OA}`]:"$font-family",[`radius-${OA}`]:"$radius",[`thickness-border-${OA}`]:"0",[`style-border-${OA}`]:"solid",[`width-icon-${OA}`]:"",[`height-icon-${OA}`]:"",light:{[`color-bg-header-${OA}`]:"$color-primary-500",[`color-bg-header-${OA}-hover`]:"$color-primary-400",[`color-header-${OA}`]:"$color-surface-50",[`color-content-${OA}`]:"$color-text-primary",[`color-bg-content-${OA}`]:"transparent",[`color-border-${OA}`]:"transparent",[`color-icon-${OA}`]:"$color-surface-50"},dark:{[`color-bg-header-${OA}`]:"$color-primary-500",[`color-bg-header-${OA}-hover`]:"$color-primary-600",[`color-header-${OA}`]:"$color-surface-50",[`color-content-${OA}`]:"$color-text-primary",[`color-bg-content-${OA}`]:"transparent",[`color-border-${OA}`]:"transparent",[`color-icon-${OA}`]:"$color-surface-50"}}}),qv=AA(OA,Jv,({node:A,renderChild:e,extractValue:t,lookupEventHandler:o,registerComponentApi:r})=>{var n;return g.jsx(Ov,{triggerPosition:t((n=A.props)==null?void 0:n.triggerPosition),collapsedIcon:t(A.props.collapsedIcon),expandedIcon:t(A.props.expandedIcon),hideIcon:t.asOptionalBoolean(A.props.hideIcon),rotateExpanded:t(A.props.rotateExpanded),onDisplayDidChange:o("displayDidChange"),registerComponentApi:r,children:e(A.children)})}),zv={themeVars:'"[]"'},Wv=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"Alert component is not implemented yet"}),Fi="Alert",$v=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${Fi}\` component is a panel used to display important notifications or feedback to users. It helps convey different statuses or levels of urgency, such as success, warning, error, and others.`,props:{statusColor:f(`The value of this optional property sets the string to provide a color scheme for the ${Fi}.`,Y2,"string","primary"),dismissable:f(`This property's \`true\` value indicates if this alert is dismissable by the user. When the user closes the ${Fi}, it gets hidden.`),autoDismissInMs:f("Timeout for the alert to be dismissed"),showIcon:f("Indicates if the alert should display an icon"),icon:f("Icon to be displayed in the alert")},events:{},apis:{dismiss:f(`This method dismisses the ${Fi}. It triggers the \`didDismiss\` event with the argument set to \`false\`.`)},themeVars:pA(zv.themeVars),defaultThemeVars:{light:{},dark:{}}}),jv=AA(Fi,$v,({})=>g.jsx(Wv,{})),Vv={themeVars:'"[]"'},Xv=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"OffCanvas component is not implemented yet"}),Li="OffCanvas",Zv=Z({status:"in progress",description:"(**NOT IMPLEMENTED YET**) The `OffCanvas` component is a hidden panel that slides into view from the side of the screen. It helps display additional content or navigation without disrupting the main interface.",props:{enableBackdrop:f("This property indicates if the backdrop is enabled when the component is displayed. When the backdrop is not enabled, clicking outside `OffCanvas` will not close it.",null,"boolean",!0),enableBodyScroll:f("This property indicates if the body scroll is enabled when the component is displayed.",null,"boolean",!1),noCloseOnBackdropClick:f(`When this property is set to \`true\`, the ${Li} does not close when the user clicks on its backdrop.`,null,"boolean",!1),placement:f(`This property indicates the position where the ${Li} should be docked to.`,K2),autoCloseInMs:f("This property sets a timeout. When the timeout expires, the component gets hidden.")},events:{didOpen:$5(Li),didClose:j5(Li)},apis:{open:f("This method opens the component. It triggers the `didOpen` event with the argument set to `false`."),close:f("This method closes the component. It triggers the `didClose` event with the argument set to `false`.")},themeVars:pA(Vv.themeVars),defaultThemeVars:{light:{},dark:{}}}),Ay=AA(Li,Zv,({})=>g.jsx(Xv,{}));function ey(A){const e=E.useId(),{register:t,unRegister:o}=Qv();return E.useEffect(()=>{t({...A,id:e})},[e,A,t]),E.useEffect(()=>()=>{o(e)},[e,o]),null}const Sc="TabItem",ty=Z({description:`\`${Sc}\` is a non-visual component describing a tab. Tabs component may use nested ${Sc} instances from which the user can select.`,props:{label:Je()}}),oy=AA(Sc,ty,A=>{const{node:e,renderChild:t,extractValue:o}=A;return g.jsx(ey,{label:o(e.props.label),content:t(e.children)})}),ry={themeVars:'"[]"'},ny=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"Range component is not implemented yet"}),Si="Range",iy=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${Si}\` component allows you to select a numeric range (lower and upper boundary values) between the complete range specified by minimum and maximum values.`,props:{initialValue:f(""),minValue:f("This property specifies the minimum value of the entire value domain to select the lower and upper boundary range values.",null,"number",0),maxValue:f("This property specifies the maximum value of the entire value domain to select the lower and upper boundary range values.",null,"number",10),lowerInclusive:f("This boolean property specifies whether the lower boundary value is inclusive (`true`) or exclusive (`false`).",null,"boolean",!0),upperInclusive:f("This boolean property specifies whether the upper boundary value is inclusive (`true`) or exclusive (`false`).",null,"boolean",!0),complementary:f("This boolean property specifies whether the range is complementary to the selected set of values (`true`) or not (`false`). The value of this property is indicated visually.",null,"boolean",!1)},events:{didChange:f("This event is fired when a range boundary has been changed. The event parameters are the new lower and upper boundary values (in this order)."),getFocus:wt(Si),dostFocus:ft(Si)},apis:{focus:Eo(Si),value:f("You can query the component's value. The value is a two-item array with the lower (first) and upper (second) boundary values."),setValue:f("This method sets the component's lower and upper range values. The value must be a two-item array with the lower (first) and upper (second) boundary values.")},themeVars:pA(ry.themeVars),defaultThemeVars:{light:{},dark:{}}}),sy=AA(Si,iy,({node:A,extractValue:e,lookupEventHandler:t,layoutCss:o})=>g.jsx(ny,{}));function ay(A){return g.jsx("div",{children:A})}function ly({id:A,header:e,headerRenderer:t=ay,content:o,initiallyExpanded:r}){const n=E.useId(),i=E.useMemo(()=>A?`${A}`:n,[A,n]),s=E.useMemo(()=>`trigger_${i}`,[i]),{rotateExpanded:a,expandedItems:l,hideIcon:c,expandedIcon:B,collapsedIcon:Q,triggerPosition:u,expandItem:d,register:C,unRegister:h}=Kv(),I=E.useMemo(()=>l.includes(i),[i,l]),[p,D]=E.useState(!1);return E.useEffect(()=>{p||(D(!0),r&&d(i))},[d,i,r,p]),E.useEffect(()=>{C(s)},[C,s]),E.useEffect(()=>()=>{h(s)},[s,h]),g.jsxs(Ai.Item,{value:i,className:Vo.item,children:[g.jsx(Ai.Header,{className:Vo.header,children:g.jsxs(Ai.Trigger,{id:`trigger_${i}`,className:Ge(Vo.trigger,{[Vo.triggerStart]:u==="start"}),children:[t(e),!c&&g.jsx("span",{style:{transform:I&&!B?`rotate(${a})`:"rotate(0deg)",transition:"transform 300ms cubic-bezier(0.87, 0, 0.13, 1)"},children:g.jsx(kA,{name:I&&B||Q,className:Vo.chevron})})]})}),g.jsx(Ai.Content,{className:Vo.contentWrapper,children:g.jsx("div",{className:Vo.content,children:o})})]},i)}const Va="AccordionItem",gy=Z({description:`\`${Va}\` is a non-visual component describing a tab. Tabs component may use nested ${Va} instances from which the user can select.`,props:{header:f("This property declares the text used in the component's header."),headerTemplate:se("This property describes the template to use as the component's header."),initiallyExpanded:f(`This property indicates if the ${Va} is expanded (\`true\`) or collapsed (\`false\`).`,null,"boolean",!1)}}),cy=AA(Va,gy,A=>{const{node:e,renderChild:t,extractValue:o}=A;return g.jsx(ly,{id:o(e.uid),header:o(e.props.header),initiallyExpanded:o.asOptionalBoolean(e.props.initiallyExpanded),headerRenderer:e.props.headerTemplate?r=>g.jsx(ct,{node:e.props.headerTemplate??{type:"Fragment"},item:r,renderChild:t}):void 0,content:t(e.children)})}),By={themeVars:'"[]"'},Qy=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"Slider component is not implemented yet"}),Mn="Slider",uy=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${Mn}\` component allows you to select a numeric value between a range specified by minimum and maximum values.`,props:{minValue:f("This property specifies the minimum value of the allowed input range.",null,"number",0),maxValue:f("This property specifies the maximum value of the allowed input range.",null,"number",10),rangeHighlight:f("This property indicates if you want to highlight a specific part of the input range.",[{value:"none",description:"No highlight (default)"},{value:"lower",description:"Highlight the lower part of the range (from the minimum to the current slider value)"},{value:"upper",description:"Highlight the upper part of the range (from the current slider value to the maximum)"}],"string","none")},events:{didChange:lt(Mn),getFocus:wt(Mn),dostFocus:ft(Mn)},apis:{focus:Eo(Mn),value:Ug(),setValue:Uo()},themeVars:pA(By.themeVars),defaultThemeVars:{light:{},dark:{}}}),Ey=AA(Mn,uy,({node:A,extractValue:e,lookupEventHandler:t,layoutCss:o})=>g.jsx(Qy,{})),dy={themeVars:'"[]"'},Cy=({})=>g.jsx("div",{style:{backgroundColor:"orangered",color:"white",padding:2},children:"ButtonGroup component is not implemented yet"}),DE="ButtonGroup",hy=Z({status:"in progress",description:`(**NOT IMPLEMENTED YET**) The \`${DE}\` component is a container that embeds buttons used together for a particular reason. It provides a view that emphasizes this coherency.`,props:{themeColor:f("This optional property specifies the default theme color for the buttons in the group. Individual buttons may override this setting with their `themeColor` property.",v1,"string","primary"),variant:f("This optional property specifies the default variant for the buttons in the group. Individual buttons may override this setting with their `variant` property.",b1,"string","solid"),orientation:V5("horizontal"),buttonWidth:f("When this optional property is set, all buttons within the group will have the specified width. If it is empty, each button's width accommodates its content."),gap:f("When this optional property is set, adjacent buttons will have the specified gap between them. If this property is not set, the buttons will be merged into one group.")},themeVars:pA(dy.themeVars),defaultThemeVars:{light:{},dark:{}}}),Iy=AA(DE,hy,({})=>g.jsx(Cy,{})),ot={themeVars:`'{"width-Carousel": "var(--xmlui-width-Carousel)", "height-Carousel": "var(--xmlui-height-Carousel)", "height-control-Carousel": "var(--xmlui-height-control-Carousel)", "width-control-Carousel": "var(--xmlui-width-control-Carousel)", "color-text-control-Carousel": "var(--xmlui-color-text-control-Carousel)", "color-bg-control-Carousel": "var(--xmlui-color-bg-control-Carousel)", "radius-control-Carousel": "var(--xmlui-radius-control-Carousel)", "color-bg-control-hover-Carousel": "var(--xmlui-color-bg-control-hover-Carousel)", "color-text-control-hover-Carousel": "var(--xmlui-color-text-control-hover-Carousel)", "color-bg-control-active-Carousel": "var(--xmlui-color-bg-control-active-Carousel)", "color-text-control-active-Carousel": "var(--xmlui-color-text-control-active-Carousel)", "color-text-control-disabled-Carousel": "var(--xmlui-color-text-control-disabled-Carousel)", "color-bg-control-disabled-Carousel": "var(--xmlui-color-bg-control-disabled-Carousel)", "width-indicator-Carousel": "var(--xmlui-width-indicator-Carousel)", "height-indicator-Carousel": "var(--xmlui-height-indicator-Carousel)", "color-text-indicator-Carousel": "var(--xmlui-color-text-indicator-Carousel)", "color-bg-indicator-Carousel": "var(--xmlui-color-bg-indicator-Carousel)", "color-bg-indicator-hover-Carousel": "var(--xmlui-color-bg-indicator-hover-Carousel)", "color-text-indicator-hover-Carousel": "var(--xmlui-color-text-indicator-hover-Carousel)", "color-bg-indicator-active-Carousel": "var(--xmlui-color-bg-indicator-active-Carousel)", "color-text-indicator-active-Carousel": "var(--xmlui-color-text-indicator-active-Carousel)"}'`,carousel:"_carousel_11a03_13",innerWrapper:"_innerWrapper_11a03_22",carouselContentWrapper:"_carouselContentWrapper_11a03_30",carouselContent:"_carouselContent_11a03_30",vertical:"_vertical_11a03_40",carouselItem:"_carouselItem_11a03_44",controls:"_controls_11a03_51",controlButton:"_controlButton_11a03_60",indicators:"_indicators_11a03_87",indicator:"_indicator_11a03_87",active:"_active_11a03_107"},py=({orientation:A="horizontal",children:e,style:t,indicators:o=!0,onDisplayDidChange:r=vA,autoplay:n=!1,controls:i=!0,loop:s=!1,startIndex:a=0,prevIcon:l,nextIcon:c,registerComponentApi:B})=>{const Q=E.useRef(null),[u,d]=E.useState(0),[C,h]=E.useState([]),[I,p]=E.useState(!1),[D,m]=B4({axis:A==="horizontal"?"x":"y",loop:s,startIndex:a},C),k=l||A==="horizontal"?"arrowleft":"arrowup",N=c||A==="horizontal"?"arrowright":"arrowdown";E.useEffect(()=>{n&&h([Q4()])},[n]);const L=E.useCallback(()=>{var S;const z=(S=m==null?void 0:m.plugins())==null?void 0:S.autoplay;if(!z)return;(z.isPlaying()?z.stop:z.play)()},[m]);E.useEffect(()=>{var T;const z=(T=m==null?void 0:m.plugins())==null?void 0:T.autoplay;z&&(p(z.isPlaying()),m.on("autoplay:play",()=>p(!0)).on("autoplay:stop",()=>p(!1)).on("reInit",()=>p(z.isPlaying())))},[m]);const M=E.useCallback(z=>{m==null||m.scrollTo(z)},[m]),[F,v]=K.useState(!1),[y,P]=K.useState(!1),b=K.useCallback(z=>{if(!z)return;const T=z.selectedScrollSnap();r(T),d(T),v(z.canScrollPrev()),P(z.canScrollNext())},[]),_=E.useCallback(()=>{m&&(m==null||m.scrollPrev())},[m]),q=E.useCallback(()=>{m==null||m.scrollNext()},[m]),J=E.useCallback(z=>{A==="horizontal"?z.key==="ArrowLeft"?(z.preventDefault(),_()):z.key==="ArrowRight"&&(z.preventDefault(),q()):z.key==="ArrowUp"?(z.preventDefault(),_()):z.key==="ArrowDown"&&(z.preventDefault(),q())},[_,q]);return E.useEffect(()=>{B==null||B({scrollTo:M,scrollPrev:_,scrollNext:q,canScrollPrev:()=>F,canScrollNext:()=>y})},[B,M,_,q,F,y]),K.useEffect(()=>{if(m)return b(m),m.on("reInit",b),m.on("select",b),()=>{m==null||m.off("select",b)}},[m,b]),E.useEffect(()=>{Q!=null&&Q.current&&Q.current.addEventListener("keydown",J)},[Q,J]),g.jsxs("div",{style:t,ref:Q,className:cA(ot.carousel),role:"region",tabIndex:-1,"aria-roledescription":"carousel",children:[g.jsx("div",{ref:D,className:ot.carouselContentWrapper,children:g.jsx("div",{className:cA(ot.carouselContent,{[ot.horizontal]:A==="horizontal",[ot.vertical]:A==="vertical"}),children:e})}),i&&g.jsxs("div",{className:ot.controls,children:[n&&g.jsx("button",{className:ot.controlButton,onClick:L,children:I?g.jsx(kA,{name:"pause"}):g.jsx(kA,{name:"play"})}),g.jsx("button",{className:ot.controlButton,disabled:!F,onClick:_,children:g.jsx(kA,{name:k})}),g.jsx("button",{className:ot.controlButton,onClick:q,disabled:!y,children:g.jsx(kA,{name:N})})]}),o&&g.jsx("div",{className:ot.indicators,children:K.Children.map(e,(z,T)=>g.jsx("button",{type:"button",onClick:()=>M(T),className:cA(ot.indicator,{[ot.active]:T===u}),"aria-current":T===u},T))})]})},Ie="Carousel",wy=Z({status:"in progress",description:"This component displays a slideshow by cycling through elements (images, text, or custom slides) like a carousel.",props:{orientation:f("This property indicates the orientation of the carousel. The `horizontal` value indicates that the carousel moves horizontally, and the `vertical` value indicates that the carousel moves vertically.",["horizontal","vertical"],null,"horizontal"),indicators:f("This property indicates whether the carousel displays the indicators.",null,null,"true"),controls:f("This property indicates whether the carousel displays the controls.",null,null,"true"),autoplay:f("This property indicates whether the carousel automatically scrolls.",null,null,"false"),loop:f("This property indicates whether the carousel loops.",null,null,"false"),startIndex:f("This property indicates the index of the first slide to display.",null,null,"0"),prevIcon:f("This property specifies the icon to display for the previous control."),nextIcon:f("This property specifies the icon to display for the next control."),keyboard:f("This property indicates whether the carousel responds to keyboard events.")},events:{displayDidChange:lt(Ie)},apis:{canScrollPrev:f("This method returns `true` if the carousel can scroll to the previous slide."),canScrollNext:f("This method returns `true` if the carousel can scroll to the next slide."),scrollTo:f("This method scrolls the carousel to the specified slide index."),scrollPrev:f("This method scrolls the carousel to the previous slide."),scrollNext:f("This method scrolls the carousel to the next slide.")},themeVars:pA(ot.themeVars),defaultThemeVars:{[`color-bg-control-${Ie}`]:"$color-primary",[`color-text-control-${Ie}`]:"$color-primary",[`color-bg-control-hover-${Ie}`]:"$color-primary",[`color-text-control-hover-${Ie}`]:"$color-primary",[`color-bg-control-active-${Ie}`]:"$color-primary",[`color-bg-control-disabled-${Ie}`]:"$color-surface-200",[`color-text-control-disabled-${Ie}`]:"$color-text-disabled",[`color-text-control-active-${Ie}`]:"$color-primary",[`color-bg-indicator-${Ie}`]:"$color-surface-200",[`color-bg-indicator-active-${Ie}`]:"$color-primary",[`color-text-indicator-${Ie}`]:"$color-primary",[`color-text-indicator-active-${Ie}`]:"$color-primary",[`color-bg-indicator-hover-${Ie}`]:"$color-surface-200",[`color-text-indicator-hover-${Ie}`]:"$color-primary",[`width-indicator-${Ie}`]:"25px",[`height-indicator-${Ie}`]:"6px",[`height-control-${Ie}`]:"36px",[`width-control-${Ie}`]:"36px",[`radius-control-${Ie}`]:"50%",[`height-${Ie}`]:"100%",[`width-${Ie}`]:"100%"}}),fy=AA(Ie,wy,({node:A,renderChild:e,layoutCss:t,extractValue:o,lookupEventHandler:r,registerComponentApi:n})=>{var i,s,a,l,c,B,Q,u,d;return g.jsx(py,{style:t,indicators:o.asOptionalBoolean((i=A.props)==null?void 0:i.indicators),controls:o.asOptionalBoolean((s=A.props)==null?void 0:s.controls),orientation:o((a=A.props)==null?void 0:a.orientation),onDisplayDidChange:r("displayDidChange"),autoplay:o.asOptionalBoolean((l=A.props)==null?void 0:l.autoplay),registerComponentApi:n,loop:o.asOptionalBoolean((c=A.props)==null?void 0:c.loop),startIndex:o.asOptionalNumber((B=A.props)==null?void 0:B.startIndex),prevIcon:o((Q=A.props)==null?void 0:Q.prevIcon),nextIcon:o((u=A.props)==null?void 0:u.nextIcon),keyboard:o.asOptionalBoolean((d=A.props)==null?void 0:d.keyboard),children:e(A.children)})}),Dy=({content:A})=>g.jsx("div",{role:"group","aria-roledescription":"slide",className:cA(ot.carouselItem),children:g.jsx("div",{className:ot.innerWrapper,children:A})}),my="CarouselItem",xy=Z({}),vy=AA(my,xy,A=>{const{node:e,renderChild:t}=A;return g.jsx(Dy,{content:t(e.children,{type:"Stack",orientation:"vertical"})})}),yy={breakout:"_breakout_ovaa2_1"},by=({children:A})=>g.jsx("div",{className:yy.breakout,children:A}),mE="Breakout",ky=Z({description:`The \`${mE}\` component creates a breakout section. It allows its child to occupy the entire width of the UI even if the app or the parent container constrains the maximum content width.`}),My=AA(mE,ky,({node:A,renderChild:e})=>g.jsx(by,{children:e(A.children)})),xE="ToneChangerButton",Ny=Z({status:"experimental",docFolder:"ThemeChanger",description:`The \`${xE}\` component is a component that allows the user to change the tone of the app.`,props:{}});function _y(){const{activeThemeTone:A,setActiveThemeTone:e}=si();return g.jsx(Ce,{variant:"ghost",icon:g.jsx(kA,{name:A==="light"?"moon":"sun"}),onClick:()=>{e(A==="light"?"dark":"light")}})}const Fy=AA(xE,Ny,()=>g.jsx(_y,{}));function Ly({registerComponentApi:A,node:e,uid:t}){const o=HA(async(r,...n)=>{var s,a,l,c;const i=n[1];return await dE(r,{...e.props,body:e.props.body||(i!=null&&i.passAsDefaultBody?n[0]:void 0),uid:t,params:{$param:n[0],$params:n},onError:(s=e.events)==null?void 0:s.error,onProgress:(a=e.events)==null?void 0:a.progress,onBeforeRequest:(l=e.events)==null?void 0:l.beforeRequest,onSuccess:(c=e.events)==null?void 0:c.success},{resolveBindingExpressions:!0})});return E.useEffect(()=>{A({execute:o,_SUPPORT_IMPLICIT_CONTEXT:!0})},[o,A]),null}const Pi="APICall",Sy=Z({description:`\`${Pi}\` is used to mutate (create, update or delete) some data on the backend. It is similar in nature to the \`DataSource\` component which retrieves data from the backend.`,props:{method:f("The method of data manipulation can be done via setting this property. The following HTTP methods are available: `post`, `put`, and `delete`."),url:f("Use this property to set the URL to send data to."),rawBody:f("This property sets the request body to the value provided here without any conversion. Use the * `body` property if you want the object sent in JSON. When you define `body` and `rawBody`, the latest one prevails."),body:f("This property sets the request body. The object you pass here will be serialized to JSON when sending the request. Use the `rawBody` property to send another request body using its native format. When you define `body` and `rawBody`, the latest one prevails."),queryParams:f("This property sets the query parameters for the request. The object you pass here will be serialized to a query string and appended to the request URL. You can specify key and value pairs where the key is the name of a particular query parameter and the value is that parameter's value."),headers:f("You can define request header values as key and value pairs, where the key is the ID of the particular header and the value is that header's value."),confirmTitle:f(`This optional string sets the title in the confirmation dialog that is displayed before the \`${Pi}\` is executed.`),confirmMessage:f(`This optional string sets the message in the confirmation dialog that is displayed before the \`${Pi}\` is executed.`),confirmButtonLabel:f(`This optional string property enables the customization of the submit button in the confirmation dialog that is displayed before the \`${Pi}\` is executed.`),inProgressNotificationMessage:f("This property customizes the message that is displayed in a toast while the API operation is in progress."),errorNotificationMessage:f("This property defines the message to display automatically when the operation results in an error."),completedNotificationMessage:f("This property defines the message to display automatically when the operation has been completed."),payloadType:_r(),invalidates:_r(),updates:_r(),optimisticValue:_r(),getOptimisticValue:_r()},events:{beforeRequest:f("This event fires before the request is sent. Returning an explicit boolean'false' value will prevent the request from being sent."),success:f("This event fires when a request results in a success."),error:f("This event fires when a request results in an error."),progress:_r()},contextVars:{$param:f("This value represents the first parameters passed to the `execute()` method to display the modal dialog."),$params:f("This value represents the array of parameters passed to the `execute()` method. You can use `$params[0]` to access the first and `$params[1]` to access the second (and so on) parameters. `$param` is the same as `$params[0]`.")},apis:{execute:f("This method triggers the invocation of the API. You can pass an arbitrary number of parameters to the method. In the `APICall` instance, you can access those with the `$param` and `$params` context values.")}}),Py=AA(Pi,Sy,({node:A,registerComponentApi:e,uid:t,extractValue:o})=>g.jsx(Ly,{registerComponentApi:e,node:A,uid:t})),vE="Option",Ty=Z({description:`\`${vE}\` is a non-visual component describing a selection option. Other components (such as \`Select\`, \`Combobox\`, and others) may use nested \`Option\` instances from which the user can select.`,props:{label:f("This property defines the text to display for the option. If `label` is not defined, `Option` will use the `value` as the label."),value:f("This property defines the value of the option. If `value` is not defined, `Option` will use the `label` as the value."),enabled:Ze()}}),yE=E.memo(A=>{const e=f9();return e?g.jsx(e,{...A}):null});yE.displayName="OptionNative";const Gy=AA(vE,Ty,({node:A,extractValue:e,layoutCss:t,renderChild:o})=>g.jsx(yE,{value:e(A.props.value),label:e.asOptionalString(A.props.label)||o(A.children),enabled:e.asOptionalBoolean(A.props.enabled),style:t})),pe="AutoComplete",Hy=Z({description:"This component is a dropdown with a list of options. According to the `multi` property, the user can select one or more items.",status:"experimental",props:{placeholder:Fr(),initialValue:Zt(),maxLength:ui(),autoFocus:Dt(),required:uo(),readOnly:Bo(),enabled:Ze(),validationStatus:Qo(),dropdownHeight:f("This property sets the height of the dropdown list."),multi:Bu(),optionTemplate:se("This property enables the customization of list items. To access the attributes of a list item use the `$item` context variable."),emptyListTemplate:f("This property defines the template to display when the list of options is empty.")},events:{gotFocus:wt(pe),lostFocus:ft(pe),didChange:lt(pe)},apis:{focus:Eo(pe),value:f("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:Uo()},contextVars:{$item:f("This context value represents an item when you define an option item template. Use `$item.value` and `$item.label` to refer to the value and label of the particular option.")},themeVars:pA(tt.themeVars),defaultThemeVars:{[`color-bg-menu-${pe}`]:"$color-bg-primary",[`shadow-menu-${pe}`]:"$shadow-md",[`radius-menu-${pe}`]:"$radius",[`color-bg-item-${pe}`]:"$color-bg-dropdown-item",[`color-bg-item-${pe}--hover`]:"$color-bg-dropdown-item--active",[`color-bg-item-${pe}--active`]:"$color-bg-dropdown-item--active","min-height-Input":"39px",[`color-bg-${pe}-badge`]:"$color-primary-500",[`font-size-${pe}-badge`]:"$font-size-small",[`padding-horizontal-${pe}-badge`]:"$space-1",[`padding-vertical-${pe}-badge`]:"$space-1",light:{[`color-bg-${pe}-badge--hover`]:"$color-primary-400",[`color-bg-${pe}-badge--active`]:"$color-primary-500",[`color-text-item-${pe}--disabled`]:"$color-surface-200",[`color-text-${pe}-badge`]:"$color-surface-50"},dark:{[`color-bg-${pe}-badge--hover`]:"$color-primary-600",[`color-bg-${pe}-badge--active`]:"$color-primary-500",[`color-text-${pe}-badge`]:"$color-surface-50",[`color-text-item-${pe}--disabled`]:"$color-surface-800"}}}),Uy=AA(pe,Hy,({node:A,state:e,updateState:t,extractValue:o,renderChild:r,lookupEventHandler:n,layoutCss:i,registerComponentApi:s})=>g.jsx(G0,{multi:o.asOptionalBoolean(A.props.multi),layout:i,updateState:t,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:s,emptyListTemplate:r(A.props.emptyListTemplate),dropdownHeight:o(A.props.dropdownHeight),optionRenderer:A.props.optionTemplate?a=>g.jsx(ct,{node:A.props.optionTemplate,item:a,renderChild:r}):void 0,children:r(A.children)})),Xa={themeVars:'"[]"',backdropContainer:"_backdropContainer_18iuc_13",backdrop:"_backdrop_18iuc_13",overlay:"_overlay_18iuc_26"},Ry=({style:A,children:e,overlayTemplate:t,backgroundColor:o="black",opacity:r="0.1"})=>{const n={...A,width:void 0};return g.jsxs("div",{className:Xa.backdropContainer,style:{width:A.width??"fit-content"},children:[e,g.jsx("div",{className:Xa.backdrop,style:{...n,backgroundColor:o,opacity:r}}),t&&g.jsx("div",{className:Xa.overlay,children:t})]})},bE="Backdrop",Yy=Z({status:"stable",description:`The \`${bE}\` component is a semi-transparent overlay that appears on top of its child component to obscure or highlight the content behind it.`,props:{overlayTemplate:se("This property defines the component template for an optional overlay to display over the component."),backgroundColor:f("The background color of the backdrop.",null,"string","black"),opacity:f("The opacity of the backdrop.",null,"number",.1)},themeVars:pA(Xa.themeVars)}),Ky=AA(bE,Yy,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>{var r;return g.jsx(Ry,{style:o,overlayTemplate:t((r=A.props)==null?void 0:r.overlayTemplate),backgroundColor:e.asOptionalString(A.props.backgroundColor),opacity:e.asString(A.props.opacity),children:t(A.children)})});var Pc=Gi(),LA=A=>Ti(A,Pc),Tc=Gi();LA.write=A=>Ti(A,Tc);var Za=Gi();LA.onStart=A=>Ti(A,Za);var Gc=Gi();LA.onFrame=A=>Ti(A,Gc);var Hc=Gi();LA.onFinish=A=>Ti(A,Hc);var Nn=[];LA.setTimeout=(A,e)=>{const t=LA.now()+e,o=()=>{const n=Nn.findIndex(i=>i.cancel==o);~n&&Nn.splice(n,1),hr-=~n?1:0},r={time:t,handler:A,cancel:o};return Nn.splice(kE(t),0,r),hr+=1,ME(),r};var kE=A=>~(~Nn.findIndex(e=>e.time>A)||~Nn.length);LA.cancel=A=>{Za.delete(A),Gc.delete(A),Hc.delete(A),Pc.delete(A),Tc.delete(A)},LA.sync=A=>{Rc=!0,LA.batchedUpdates(A),Rc=!1},LA.throttle=A=>{let e;function t(){try{A(...e)}finally{e=null}}function o(...r){e=r,LA.onStart(t)}return o.handler=A,o.cancel=()=>{Za.delete(t),e=null},o};var Uc=typeof window<"u"?window.requestAnimationFrame:()=>{};LA.use=A=>Uc=A,LA.now=typeof performance<"u"?()=>performance.now():Date.now,LA.batchedUpdates=A=>A(),LA.catch=console.error,LA.frameLoop="always",LA.advance=()=>{LA.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):_E()};var Cr=-1,hr=0,Rc=!1;function Ti(A,e){Rc?(e.delete(A),A(0)):(e.add(A),ME())}function ME(){Cr<0&&(Cr=0,LA.frameLoop!=="demand"&&Uc(NE))}function Oy(){Cr=-1}function NE(){~Cr&&(Uc(NE),LA.batchedUpdates(_E))}function _E(){const A=Cr;Cr=LA.now();const e=kE(Cr);if(e&&(FE(Nn.splice(0,e),t=>t.handler()),hr-=e),!hr){Oy();return}Za.flush(),Pc.flush(A?Math.min(64,Cr-A):16.667),Gc.flush(),Tc.flush(),Hc.flush()}function Gi(){let A=new Set,e=A;return{add(t){hr+=e==A&&!A.has(t)?1:0,A.add(t)},delete(t){return hr-=e==A&&A.has(t)?1:0,A.delete(t)},flush(t){e.size&&(A=new Set,hr-=e.size,FE(e,o=>o(t)&&A.add(o)),hr+=A.size,e=A)}}}function FE(A,e){A.forEach(t=>{try{e(t)}catch(o){LA.catch(o)}})}var Jy=Object.defineProperty,qy=(A,e)=>{for(var t in e)Jy(A,t,{get:e[t],enumerable:!0})},ro={};qy(ro,{assign:()=>Wy,colors:()=>Ir,createStringInterpolator:()=>Oc,skipAnimation:()=>SE,to:()=>LE,willAdvance:()=>Jc});function Yc(){}var zy=(A,e,t)=>Object.defineProperty(A,e,{value:t,writable:!0,configurable:!0}),aA={arr:Array.isArray,obj:A=>!!A&&A.constructor.name==="Object",fun:A=>typeof A=="function",str:A=>typeof A=="string",num:A=>typeof A=="number",und:A=>A===void 0};function Xo(A,e){if(aA.arr(A)){if(!aA.arr(e)||A.length!==e.length)return!1;for(let t=0;t<A.length;t++)if(A[t]!==e[t])return!1;return!0}return A===e}var YA=(A,e)=>A.forEach(e);function xo(A,e,t){if(aA.arr(A)){for(let o=0;o<A.length;o++)e.call(t,A[o],`${o}`);return}for(const o in A)A.hasOwnProperty(o)&&e.call(t,A[o],o)}var yt=A=>aA.und(A)?[]:aA.arr(A)?A:[A];function Hi(A,e){if(A.size){const t=Array.from(A);A.clear(),YA(t,e)}}var Ui=(A,...e)=>Hi(A,t=>t(...e)),Kc=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Oc,LE,Ir=null,SE=!1,Jc=Yc,Wy=A=>{A.to&&(LE=A.to),A.now&&(LA.now=A.now),A.colors!==void 0&&(Ir=A.colors),A.skipAnimation!=null&&(SE=A.skipAnimation),A.createStringInterpolator&&(Oc=A.createStringInterpolator),A.requestAnimationFrame&&LA.use(A.requestAnimationFrame),A.batchedUpdates&&(LA.batchedUpdates=A.batchedUpdates),A.willAdvance&&(Jc=A.willAdvance),A.frameLoop&&(LA.frameLoop=A.frameLoop)},Ri=new Set,Rt=[],qc=[],Al=0,el={get idle(){return!Ri.size&&!Rt.length},start(A){Al>A.priority?(Ri.add(A),LA.onStart($y)):(PE(A),LA(zc))},advance:zc,sort(A){if(Al)LA.onFrame(()=>el.sort(A));else{const e=Rt.indexOf(A);~e&&(Rt.splice(e,1),TE(A))}},clear(){Rt=[],Ri.clear()}};function $y(){Ri.forEach(PE),Ri.clear(),LA(zc)}function PE(A){Rt.includes(A)||TE(A)}function TE(A){Rt.splice(jy(Rt,e=>e.priority>A.priority),0,A)}function zc(A){const e=qc;for(let t=0;t<Rt.length;t++){const o=Rt[t];Al=o.priority,o.idle||(Jc(o),o.advance(A),o.idle||e.push(o))}return Al=0,qc=Rt,qc.length=0,Rt=e,Rt.length>0}function jy(A,e){const t=A.findIndex(e);return t<0?A.length:t}var Vy=(A,e,t)=>Math.min(Math.max(t,A),e),Xy={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},no="[-+]?\\d*\\.?\\d+",tl=no+"%";function ol(...A){return"\\(\\s*("+A.join(")\\s*,\\s*(")+")\\s*\\)"}var Zy=new RegExp("rgb"+ol(no,no,no)),Ab=new RegExp("rgba"+ol(no,no,no,no)),eb=new RegExp("hsl"+ol(no,tl,tl)),tb=new RegExp("hsla"+ol(no,tl,tl,no)),ob=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rb=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,nb=/^#([0-9a-fA-F]{6})$/,ib=/^#([0-9a-fA-F]{8})$/;function sb(A){let e;return typeof A=="number"?A>>>0===A&&A>=0&&A<=4294967295?A:null:(e=nb.exec(A))?parseInt(e[1]+"ff",16)>>>0:Ir&&Ir[A]!==void 0?Ir[A]:(e=Zy.exec(A))?(_n(e[1])<<24|_n(e[2])<<16|_n(e[3])<<8|255)>>>0:(e=Ab.exec(A))?(_n(e[1])<<24|_n(e[2])<<16|_n(e[3])<<8|UE(e[4]))>>>0:(e=ob.exec(A))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=ib.exec(A))?parseInt(e[1],16)>>>0:(e=rb.exec(A))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=eb.exec(A))?(GE(HE(e[1]),rl(e[2]),rl(e[3]))|255)>>>0:(e=tb.exec(A))?(GE(HE(e[1]),rl(e[2]),rl(e[3]))|UE(e[4]))>>>0:null}function Wc(A,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?A+(e-A)*6*t:t<1/2?e:t<2/3?A+(e-A)*(2/3-t)*6:A}function GE(A,e,t){const o=t<.5?t*(1+e):t+e-t*e,r=2*t-o,n=Wc(r,o,A+1/3),i=Wc(r,o,A),s=Wc(r,o,A-1/3);return Math.round(n*255)<<24|Math.round(i*255)<<16|Math.round(s*255)<<8}function _n(A){const e=parseInt(A,10);return e<0?0:e>255?255:e}function HE(A){return(parseFloat(A)%360+360)%360/360}function UE(A){const e=parseFloat(A);return e<0?0:e>1?255:Math.round(e*255)}function rl(A){const e=parseFloat(A);return e<0?0:e>100?1:e/100}function RE(A){let e=sb(A);if(e===null)return A;e=e||0;const t=(e&4278190080)>>>24,o=(e&16711680)>>>16,r=(e&65280)>>>8,n=(e&255)/255;return`rgba(${t}, ${o}, ${r}, ${n})`}var Yi=(A,e,t)=>{if(aA.fun(A))return A;if(aA.arr(A))return Yi({range:A,output:e,extrapolate:t});if(aA.str(A.output[0]))return Oc(A);const o=A,r=o.output,n=o.range||[0,1],i=o.extrapolateLeft||o.extrapolate||"extend",s=o.extrapolateRight||o.extrapolate||"extend",a=o.easing||(l=>l);return l=>{const c=lb(l,n);return ab(l,n[c],n[c+1],r[c],r[c+1],a,i,s,o.map)}};function ab(A,e,t,o,r,n,i,s,a){let l=a?a(A):A;if(l<e){if(i==="identity")return l;i==="clamp"&&(l=e)}if(l>t){if(s==="identity")return l;s==="clamp"&&(l=t)}return o===r?o:e===t?A<=e?o:r:(e===-1/0?l=-l:t===1/0?l=l-e:l=(l-e)/(t-e),l=n(l),o===-1/0?l=-l:r===1/0?l=l+o:l=l*(r-o)+o,l)}function lb(A,e){for(var t=1;t<e.length-1&&!(e[t]>=A);++t);return t-1}var gb=(A,e="end")=>t=>{t=e==="end"?Math.min(t,.999):Math.max(t,.001);const o=t*A,r=e==="end"?Math.floor(o):Math.ceil(o);return Vy(0,1,r/A)},nl=1.70158,il=nl*1.525,YE=nl+1,KE=2*Math.PI/3,OE=2*Math.PI/4.5,sl=A=>A<1/2.75?7.5625*A*A:A<2/2.75?7.5625*(A-=1.5/2.75)*A+.75:A<2.5/2.75?7.5625*(A-=2.25/2.75)*A+.9375:7.5625*(A-=2.625/2.75)*A+.984375,cb={linear:A=>A,easeInQuad:A=>A*A,easeOutQuad:A=>1-(1-A)*(1-A),easeInOutQuad:A=>A<.5?2*A*A:1-Math.pow(-2*A+2,2)/2,easeInCubic:A=>A*A*A,easeOutCubic:A=>1-Math.pow(1-A,3),easeInOutCubic:A=>A<.5?4*A*A*A:1-Math.pow(-2*A+2,3)/2,easeInQuart:A=>A*A*A*A,easeOutQuart:A=>1-Math.pow(1-A,4),easeInOutQuart:A=>A<.5?8*A*A*A*A:1-Math.pow(-2*A+2,4)/2,easeInQuint:A=>A*A*A*A*A,easeOutQuint:A=>1-Math.pow(1-A,5),easeInOutQuint:A=>A<.5?16*A*A*A*A*A:1-Math.pow(-2*A+2,5)/2,easeInSine:A=>1-Math.cos(A*Math.PI/2),easeOutSine:A=>Math.sin(A*Math.PI/2),easeInOutSine:A=>-(Math.cos(Math.PI*A)-1)/2,easeInExpo:A=>A===0?0:Math.pow(2,10*A-10),easeOutExpo:A=>A===1?1:1-Math.pow(2,-10*A),easeInOutExpo:A=>A===0?0:A===1?1:A<.5?Math.pow(2,20*A-10)/2:(2-Math.pow(2,-20*A+10))/2,easeInCirc:A=>1-Math.sqrt(1-Math.pow(A,2)),easeOutCirc:A=>Math.sqrt(1-Math.pow(A-1,2)),easeInOutCirc:A=>A<.5?(1-Math.sqrt(1-Math.pow(2*A,2)))/2:(Math.sqrt(1-Math.pow(-2*A+2,2))+1)/2,easeInBack:A=>YE*A*A*A-nl*A*A,easeOutBack:A=>1+YE*Math.pow(A-1,3)+nl*Math.pow(A-1,2),easeInOutBack:A=>A<.5?Math.pow(2*A,2)*((il+1)*2*A-il)/2:(Math.pow(2*A-2,2)*((il+1)*(A*2-2)+il)+2)/2,easeInElastic:A=>A===0?0:A===1?1:-Math.pow(2,10*A-10)*Math.sin((A*10-10.75)*KE),easeOutElastic:A=>A===0?0:A===1?1:Math.pow(2,-10*A)*Math.sin((A*10-.75)*KE)+1,easeInOutElastic:A=>A===0?0:A===1?1:A<.5?-(Math.pow(2,20*A-10)*Math.sin((20*A-11.125)*OE))/2:Math.pow(2,-20*A+10)*Math.sin((20*A-11.125)*OE)/2+1,easeInBounce:A=>1-sl(1-A),easeOutBounce:sl,easeInOutBounce:A=>A<.5?(1-sl(1-2*A))/2:(1+sl(2*A-1))/2,steps:gb},Ki=Symbol.for("FluidValue.get"),Fn=Symbol.for("FluidValue.observers"),Yt=A=>!!(A&&A[Ki]),Et=A=>A&&A[Ki]?A[Ki]():A,JE=A=>A[Fn]||null;function Bb(A,e){A.eventObserved?A.eventObserved(e):A(e)}function Oi(A,e){const t=A[Fn];t&&t.forEach(o=>{Bb(o,e)})}var qE=class{constructor(A){if(!A&&!(A=this.get))throw Error("Unknown getter");Qb(this,A)}},Qb=(A,e)=>zE(A,Ki,e);function Ln(A,e){if(A[Ki]){let t=A[Fn];t||zE(A,Fn,t=new Set),t.has(e)||(t.add(e),A.observerAdded&&A.observerAdded(t.size,e))}return e}function Ji(A,e){const t=A[Fn];if(t&&t.has(e)){const o=t.size-1;o?t.delete(e):A[Fn]=null,A.observerRemoved&&A.observerRemoved(o,e)}}var zE=(A,e,t)=>Object.defineProperty(A,e,{value:t,writable:!0,configurable:!0}),al=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ub=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,WE=new RegExp(`(${al.source})(%|[a-z]+)`,"i"),Eb=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ll=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,$E=A=>{const[e,t]=db(A);if(!e||Kc())return A;const o=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(o)return o.trim();if(t&&t.startsWith("--")){const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);return r||A}else{if(t&&ll.test(t))return $E(t);if(t)return t}return A},db=A=>{const e=ll.exec(A);if(!e)return[,];const[,t,o]=e;return[t,o]},$c,Cb=(A,e,t,o,r)=>`rgba(${Math.round(e)}, ${Math.round(t)}, ${Math.round(o)}, ${r})`,jE=A=>{$c||($c=Ir?new RegExp(`(${Object.keys(Ir).join("|")})(?!\\w)`,"g"):/^\b$/);const e=A.output.map(n=>Et(n).replace(ll,$E).replace(ub,RE).replace($c,RE)),t=e.map(n=>n.match(al).map(Number)),r=t[0].map((n,i)=>t.map(s=>{if(!(i in s))throw Error('The arity of each "output" value must be equal');return s[i]})).map(n=>Yi({...A,output:n}));return n=>{var a;const i=!WE.test(e[0])&&((a=e.find(l=>WE.test(l)))==null?void 0:a.replace(al,""));let s=0;return e[0].replace(al,()=>`${r[s++](n)}${i||""}`).replace(Eb,Cb)}},jc="react-spring: ",VE=A=>{const e=A;let t=!1;if(typeof e!="function")throw new TypeError(`${jc}once requires a function parameter`);return(...o)=>{t||(e(...o),t=!0)}},hb=VE(console.warn);function Ib(){hb(`${jc}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var pb=VE(console.warn);function wb(){pb(`${jc}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function gl(A){return aA.str(A)&&(A[0]=="#"||/\d/.test(A)||!Kc()&&ll.test(A)||A in(Ir||{}))}var cl=Kc()?E.useEffect:E.useLayoutEffect,fb=()=>{const A=E.useRef(!1);return cl(()=>(A.current=!0,()=>{A.current=!1}),[]),A};function XE(){const A=E.useState()[1],e=fb();return()=>{e.current&&A(Math.random())}}function Db(A,e){const[t]=E.useState(()=>({inputs:e,result:A()})),o=E.useRef(),r=o.current;let n=r;return n?e&&n.inputs&&mb(e,n.inputs)||(n={inputs:e,result:A()}):n=t,E.useEffect(()=>{o.current=n,r==t&&(t.inputs=t.result=void 0)},[n]),n.result}function mb(A,e){if(A.length!==e.length)return!1;for(let t=0;t<A.length;t++)if(A[t]!==e[t])return!1;return!0}var ZE=A=>E.useEffect(A,xb),xb=[];function Ad(A){const e=E.useRef();return E.useEffect(()=>{e.current=A}),e.current}var qi=Symbol.for("Animated:node"),vb=A=>!!A&&A[qi]===A,vo=A=>A&&A[qi],Vc=(A,e)=>zy(A,qi,e),Bl=A=>A&&A[qi]&&A[qi].getPayload(),ed=class{constructor(){Vc(this,this)}getPayload(){return this.payload||[]}},zi=class extends ed{constructor(A){super(),this._value=A,this.done=!0,this.durationProgress=0,aA.num(this._value)&&(this.lastPosition=this._value)}static create(A){return new zi(A)}getPayload(){return[this]}getValue(){return this._value}setValue(A,e){return aA.num(A)&&(this.lastPosition=A,e&&(A=Math.round(A/e)*e,this.done&&(this.lastPosition=A))),this._value===A?!1:(this._value=A,!0)}reset(){const{done:A}=this;this.done=!1,aA.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,A&&(this.lastVelocity=null),this.v0=null)}},Wi=class extends zi{constructor(A){super(0),this._string=null,this._toString=Yi({output:[A,A]})}static create(A){return new Wi(A)}getValue(){const A=this._string;return A??(this._string=this._toString(this._value))}setValue(A){if(aA.str(A)){if(A==this._string)return!1;this._string=A,this._value=1}else if(super.setValue(A))this._string=null;else return!1;return!0}reset(A){A&&(this._toString=Yi({output:[this.getValue(),A]})),this._value=0,super.reset()}},Ql={dependencies:null},ul=class extends ed{constructor(A){super(),this.source=A,this.setValue(A)}getValue(A){const e={};return xo(this.source,(t,o)=>{vb(t)?e[o]=t.getValue(A):Yt(t)?e[o]=Et(t):A||(e[o]=t)}),e}setValue(A){this.source=A,this.payload=this._makePayload(A)}reset(){this.payload&&YA(this.payload,A=>A.reset())}_makePayload(A){if(A){const e=new Set;return xo(A,this._addToPayload,e),Array.from(e)}}_addToPayload(A){Ql.dependencies&&Yt(A)&&Ql.dependencies.add(A);const e=Bl(A);e&&YA(e,t=>this.add(t))}},td=class extends ul{constructor(A){super(A)}static create(A){return new td(A)}getValue(){return this.source.map(A=>A.getValue())}setValue(A){const e=this.getPayload();return A.length==e.length?e.map((t,o)=>t.setValue(A[o])).some(Boolean):(super.setValue(A.map(yb)),!0)}};function yb(A){return(gl(A)?Wi:zi).create(A)}function Xc(A){const e=vo(A);return e?e.constructor:aA.arr(A)?td:gl(A)?Wi:zi}var od=(A,e)=>{const t=!aA.fun(A)||A.prototype&&A.prototype.isReactComponent;return E.forwardRef((o,r)=>{const n=E.useRef(null),i=t&&E.useCallback(d=>{n.current=Mb(r,d)},[r]),[s,a]=kb(o,e),l=XE(),c=()=>{const d=n.current;if(t&&!d)return;(d?e.applyAnimatedValues(d,s.getValue(!0)):!1)===!1&&l()},B=new bb(c,a),Q=E.useRef();cl(()=>(Q.current=B,YA(a,d=>Ln(d,B)),()=>{Q.current&&(YA(Q.current.deps,d=>Ji(d,Q.current)),LA.cancel(Q.current.update))})),E.useEffect(c,[]),ZE(()=>()=>{const d=Q.current;YA(d.deps,C=>Ji(C,d))});const u=e.getComponentProps(s.getValue());return K.createElement(A,{...u,ref:i})})},bb=class{constructor(A,e){this.update=A,this.deps=e}eventObserved(A){A.type=="change"&&LA.write(this.update)}};function kb(A,e){const t=new Set;return Ql.dependencies=t,A.style&&(A={...A,style:e.createAnimatedStyle(A.style)}),A=new ul(A),Ql.dependencies=null,[A,t]}function Mb(A,e){return A&&(aA.fun(A)?A(e):A.current=e),e}var rd=Symbol.for("AnimatedComponent"),Nb=(A,{applyAnimatedValues:e=()=>!1,createAnimatedStyle:t=r=>new ul(r),getComponentProps:o=r=>r}={})=>{const r={applyAnimatedValues:e,createAnimatedStyle:t,getComponentProps:o},n=i=>{const s=nd(i)||"Anonymous";return aA.str(i)?i=n[i]||(n[i]=od(i,r)):i=i[rd]||(i[rd]=od(i,r)),i.displayName=`Animated(${s})`,i};return xo(A,(i,s)=>{aA.arr(A)&&(s=nd(i)),n[s]=n(i)}),{animated:n}},nd=A=>aA.str(A)?A:A&&aA.str(A.displayName)?A.displayName:aA.fun(A)&&A.name||null;function zr(A,...e){return aA.fun(A)?A(...e):A}var $i=(A,e)=>A===!0||!!(e&&A&&(aA.fun(A)?A(e):yt(A).includes(e))),id=(A,e)=>aA.obj(A)?e&&A[e]:A,sd=(A,e)=>A.default===!0?A[e]:A.default?A.default[e]:void 0,_b=A=>A,Zc=(A,e=_b)=>{let t=Fb;A.default&&A.default!==!0&&(A=A.default,t=Object.keys(A));const o={};for(const r of t){const n=e(A[r],r);aA.und(n)||(o[r]=n)}return o},Fb=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Lb={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Sb(A){const e={};let t=0;if(xo(A,(o,r)=>{Lb[r]||(e[r]=o,t++)}),t)return e}function ad(A){const e=Sb(A);if(e){const t={to:e};return xo(A,(o,r)=>r in e||(t[r]=o)),t}return{...A}}function ji(A){return A=Et(A),aA.arr(A)?A.map(ji):gl(A)?ro.createStringInterpolator({range:[0,1],output:[A,A]})(1):A}function Pb(A){for(const e in A)return!0;return!1}function AB(A){return aA.fun(A)||aA.arr(A)&&aA.obj(A[0])}function Tb(A,e){var t;(t=A.ref)==null||t.delete(A),e==null||e.delete(A)}function Gb(A,e){var t;e&&A.ref!==e&&((t=A.ref)==null||t.delete(A),e.add(A),A.ref=e)}var Hb={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},eB={...Hb.default,mass:1,damping:1,easing:cb.linear,clamp:!1},Ub=class{constructor(){this.velocity=0,Object.assign(this,eB)}};function Rb(A,e,t){t&&(t={...t},ld(t,e),e={...t,...e}),ld(A,e),Object.assign(A,e);for(const i in eB)A[i]==null&&(A[i]=eB[i]);let{frequency:o,damping:r}=A;const{mass:n}=A;return aA.und(o)||(o<.01&&(o=.01),r<0&&(r=0),A.tension=Math.pow(2*Math.PI/o,2)*n,A.friction=4*Math.PI*r*n/o),A}function ld(A,e){if(!aA.und(e.decay))A.duration=void 0;else{const t=!aA.und(e.tension)||!aA.und(e.friction);(t||!aA.und(e.frequency)||!aA.und(e.damping)||!aA.und(e.mass))&&(A.duration=void 0,A.decay=void 0),t&&(A.frequency=void 0)}}var gd=[],Yb=class{constructor(){this.changed=!1,this.values=gd,this.toValues=null,this.fromValues=gd,this.config=new Ub,this.immediate=!1}};function cd(A,{key:e,props:t,defaultProps:o,state:r,actions:n}){return new Promise((i,s)=>{let a,l,c=$i(t.cancel??(o==null?void 0:o.cancel),e);if(c)u();else{aA.und(t.pause)||(r.paused=$i(t.pause,e));let d=o==null?void 0:o.pause;d!==!0&&(d=r.paused||$i(d,e)),a=zr(t.delay||0,e),d?(r.resumeQueue.add(Q),n.pause()):(n.resume(),Q())}function B(){r.resumeQueue.add(Q),r.timeouts.delete(l),l.cancel(),a=l.time-LA.now()}function Q(){a>0&&!ro.skipAnimation?(r.delayed=!0,l=LA.setTimeout(u,a),r.pauseQueue.add(B),r.timeouts.add(l)):u()}function u(){r.delayed&&(r.delayed=!1),r.pauseQueue.delete(B),r.timeouts.delete(l),A<=(r.cancelId||0)&&(c=!0);try{n.start({...t,callId:A,cancel:c},i)}catch(d){s(d)}}})}var tB=(A,e)=>e.length==1?e[0]:e.some(t=>t.cancelled)?Sn(A.get()):e.every(t=>t.noop)?Bd(A.get()):io(A.get(),e.every(t=>t.finished)),Bd=A=>({value:A,noop:!0,finished:!0,cancelled:!1}),io=(A,e,t=!1)=>({value:A,finished:e,cancelled:t}),Sn=A=>({value:A,cancelled:!0,finished:!1});function Qd(A,e,t,o){const{callId:r,parentId:n,onRest:i}=e,{asyncTo:s,promise:a}=t;return!n&&A===s&&!e.reset?a:t.promise=(async()=>{t.asyncId=r,t.asyncTo=A;const l=Zc(e,(h,I)=>I==="onRest"?void 0:h);let c,B;const Q=new Promise((h,I)=>(c=h,B=I)),u=h=>{const I=r<=(t.cancelId||0)&&Sn(o)||r!==t.asyncId&&io(o,!1);if(I)throw h.result=I,B(h),h},d=(h,I)=>{const p=new ud,D=new Ed;return(async()=>{if(ro.skipAnimation)throw Vi(t),D.result=io(o,!1),B(D),D;u(p);const m=aA.obj(h)?{...h}:{...I,to:h};m.parentId=r,xo(l,(N,L)=>{aA.und(m[L])&&(m[L]=N)});const k=await o.start(m);return u(p),t.paused&&await new Promise(N=>{t.resumeQueue.add(N)}),k})()};let C;if(ro.skipAnimation)return Vi(t),io(o,!1);try{let h;aA.arr(A)?h=(async I=>{for(const p of I)await d(p)})(A):h=Promise.resolve(A(d,o.stop.bind(o))),await Promise.all([h.then(c),Q]),C=io(o.get(),!0,!1)}catch(h){if(h instanceof ud)C=h.result;else if(h instanceof Ed)C=h.result;else throw h}finally{r==t.asyncId&&(t.asyncId=n,t.asyncTo=n?s:void 0,t.promise=n?a:void 0)}return aA.fun(i)&&LA.batchedUpdates(()=>{i(C,o,o.item)}),C})()}function Vi(A,e){Hi(A.timeouts,t=>t.cancel()),A.pauseQueue.clear(),A.resumeQueue.clear(),A.asyncId=A.asyncTo=A.promise=void 0,e&&(A.cancelId=e)}var ud=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Ed=class extends Error{constructor(){super("SkipAnimationSignal")}},oB=A=>A instanceof rB,Kb=1,rB=class extends qE{constructor(){super(...arguments),this.id=Kb++,this._priority=0}get priority(){return this._priority}set priority(A){this._priority!=A&&(this._priority=A,this._onPriorityChange(A))}get(){const A=vo(this);return A&&A.getValue()}to(...A){return ro.to(this,A)}interpolate(...A){return Ib(),ro.to(this,A)}toJSON(){return this.get()}observerAdded(A){A==1&&this._attach()}observerRemoved(A){A==0&&this._detach()}_attach(){}_detach(){}_onChange(A,e=!1){Oi(this,{type:"change",parent:this,value:A,idle:e})}_onPriorityChange(A){this.idle||el.sort(this),Oi(this,{type:"priority",parent:this,priority:A})}},Wr=Symbol.for("SpringPhase"),dd=1,nB=2,iB=4,sB=A=>(A[Wr]&dd)>0,pr=A=>(A[Wr]&nB)>0,Xi=A=>(A[Wr]&iB)>0,Cd=(A,e)=>e?A[Wr]|=nB|dd:A[Wr]&=~nB,hd=(A,e)=>e?A[Wr]|=iB:A[Wr]&=~iB,Ob=class extends rB{constructor(A,e){if(super(),this.animation=new Yb,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!aA.und(A)||!aA.und(e)){const t=aA.obj(A)?{...A}:{...e,from:A};aA.und(t.default)&&(t.default=!0),this.start(t)}}get idle(){return!(pr(this)||this._state.asyncTo)||Xi(this)}get goal(){return Et(this.animation.to)}get velocity(){const A=vo(this);return A instanceof zi?A.lastVelocity||0:A.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return sB(this)}get isAnimating(){return pr(this)}get isPaused(){return Xi(this)}get isDelayed(){return this._state.delayed}advance(A){let e=!0,t=!1;const o=this.animation;let{toValues:r}=o;const{config:n}=o,i=Bl(o.to);!i&&Yt(o.to)&&(r=yt(Et(o.to))),o.values.forEach((l,c)=>{if(l.done)return;const B=l.constructor==Wi?1:i?i[c].lastPosition:r[c];let Q=o.immediate,u=B;if(!Q){if(u=l.lastPosition,n.tension<=0){l.done=!0;return}let d=l.elapsedTime+=A;const C=o.fromValues[c],h=l.v0!=null?l.v0:l.v0=aA.arr(n.velocity)?n.velocity[c]:n.velocity;let I;const p=n.precision||(C==B?.005:Math.min(1,Math.abs(B-C)*.001));if(aA.und(n.duration))if(n.decay){const D=n.decay===!0?.998:n.decay,m=Math.exp(-(1-D)*d);u=C+h/(1-D)*(1-m),Q=Math.abs(l.lastPosition-u)<=p,I=h*m}else{I=l.lastVelocity==null?h:l.lastVelocity;const D=n.restVelocity||p/10,m=n.clamp?0:n.bounce,k=!aA.und(m),N=C==B?l.v0>0:C<B;let L,M=!1;const F=1,v=Math.ceil(A/F);for(let y=0;y<v&&(L=Math.abs(I)>D,!(!L&&(Q=Math.abs(B-u)<=p,Q)));++y){k&&(M=u==B||u>B==N,M&&(I=-I*m,u=B));const P=-n.tension*1e-6*(u-B),b=-n.friction*.001*I,_=(P+b)/n.mass;I=I+_*F,u=u+I*F}}else{let D=1;n.duration>0&&(this._memoizedDuration!==n.duration&&(this._memoizedDuration=n.duration,l.durationProgress>0&&(l.elapsedTime=n.duration*l.durationProgress,d=l.elapsedTime+=A)),D=(n.progress||0)+d/this._memoizedDuration,D=D>1?1:D<0?0:D,l.durationProgress=D),u=C+n.easing(D)*(B-C),I=(u-l.lastPosition)/A,Q=D==1}l.lastVelocity=I,Number.isNaN(u)&&(console.warn("Got NaN while animating:",this),Q=!0)}i&&!i[c].done&&(Q=!1),Q?l.done=!0:e=!1,l.setValue(u,n.round)&&(t=!0)});const s=vo(this),a=s.getValue();if(e){const l=Et(o.to);(a!==l||t)&&!n.decay?(s.setValue(l),this._onChange(l)):t&&n.decay&&this._onChange(a),this._stop()}else t&&this._onChange(a)}set(A){return LA.batchedUpdates(()=>{this._stop(),this._focus(A),this._set(A)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(pr(this)){const{to:A,config:e}=this.animation;LA.batchedUpdates(()=>{this._onStart(),e.decay||this._set(A,!1),this._stop()})}return this}update(A){return(this.queue||(this.queue=[])).push(A),this}start(A,e){let t;return aA.und(A)?(t=this.queue||[],this.queue=[]):t=[aA.obj(A)?A:{...e,to:A}],Promise.all(t.map(o=>this._update(o))).then(o=>tB(this,o))}stop(A){const{to:e}=this.animation;return this._focus(this.get()),Vi(this._state,A&&this._lastCallId),LA.batchedUpdates(()=>this._stop(e,A)),this}reset(){this._update({reset:!0})}eventObserved(A){A.type=="change"?this._start():A.type=="priority"&&(this.priority=A.priority+1)}_prepareNode(A){const e=this.key||"";let{to:t,from:o}=A;t=aA.obj(t)?t[e]:t,(t==null||AB(t))&&(t=void 0),o=aA.obj(o)?o[e]:o,o==null&&(o=void 0);const r={to:t,from:o};return sB(this)||(A.reverse&&([t,o]=[o,t]),o=Et(o),aA.und(o)?vo(this)||this._set(t):this._set(o)),r}_update({...A},e){const{key:t,defaultProps:o}=this;A.default&&Object.assign(o,Zc(A,(i,s)=>/^on/.test(s)?id(i,t):i)),wd(this,A,"onProps"),es(this,"onProps",A,this);const r=this._prepareNode(A);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const n=this._state;return cd(++this._lastCallId,{key:t,props:A,defaultProps:o,state:n,actions:{pause:()=>{Xi(this)||(hd(this,!0),Ui(n.pauseQueue),es(this,"onPause",io(this,Zi(this,this.animation.to)),this))},resume:()=>{Xi(this)&&(hd(this,!1),pr(this)&&this._resume(),Ui(n.resumeQueue),es(this,"onResume",io(this,Zi(this,this.animation.to)),this))},start:this._merge.bind(this,r)}}).then(i=>{if(A.loop&&i.finished&&!(e&&i.noop)){const s=Id(A);if(s)return this._update(s,!0)}return i})}_merge(A,e,t){if(e.cancel)return this.stop(!0),t(Sn(this));const o=!aA.und(A.to),r=!aA.und(A.from);if(o||r)if(e.callId>this._lastToId)this._lastToId=e.callId;else return t(Sn(this));const{key:n,defaultProps:i,animation:s}=this,{to:a,from:l}=s;let{to:c=a,from:B=l}=A;r&&!o&&(!e.default||aA.und(c))&&(c=B),e.reverse&&([c,B]=[B,c]);const Q=!Xo(B,l);Q&&(s.from=B),B=Et(B);const u=!Xo(c,a);u&&this._focus(c);const d=AB(e.to),{config:C}=s,{decay:h,velocity:I}=C;(o||r)&&(C.velocity=0),e.config&&!d&&Rb(C,zr(e.config,n),e.config!==i.config?zr(i.config,n):void 0);let p=vo(this);if(!p||aA.und(c))return t(io(this,!0));const D=aA.und(e.reset)?r&&!e.default:!aA.und(B)&&$i(e.reset,n),m=D?B:this.get(),k=ji(c),N=aA.num(k)||aA.arr(k)||gl(k),L=!d&&(!N||$i(i.immediate||e.immediate,n));if(u){const y=Xc(c);if(y!==p.constructor)if(L)p=this._set(k);else throw Error(`Cannot animate between ${p.constructor.name} and ${y.name}, as the "to" prop suggests`)}const M=p.constructor;let F=Yt(c),v=!1;if(!F){const y=D||!sB(this)&&Q;(u||y)&&(v=Xo(ji(m),k),F=!v),(!Xo(s.immediate,L)&&!L||!Xo(C.decay,h)||!Xo(C.velocity,I))&&(F=!0)}if(v&&pr(this)&&(s.changed&&!D?F=!0:F||this._stop(a)),!d&&((F||Yt(a))&&(s.values=p.getPayload(),s.toValues=Yt(c)?null:M==Wi?[1]:yt(k)),s.immediate!=L&&(s.immediate=L,!L&&!D&&this._set(a)),F)){const{onRest:y}=s;YA(qb,b=>wd(this,e,b));const P=io(this,Zi(this,a));Ui(this._pendingCalls,P),this._pendingCalls.add(t),s.changed&&LA.batchedUpdates(()=>{var b;s.changed=!D,y==null||y(P,this),D?zr(i.onRest,P):(b=s.onStart)==null||b.call(s,P,this)})}D&&this._set(m),d?t(Qd(e.to,e,this._state,this)):F?this._start():pr(this)&&!u?this._pendingCalls.add(t):t(Bd(m))}_focus(A){const e=this.animation;A!==e.to&&(JE(this)&&this._detach(),e.to=A,JE(this)&&this._attach())}_attach(){let A=0;const{to:e}=this.animation;Yt(e)&&(Ln(e,this),oB(e)&&(A=e.priority+1)),this.priority=A}_detach(){const{to:A}=this.animation;Yt(A)&&Ji(A,this)}_set(A,e=!0){const t=Et(A);if(!aA.und(t)){const o=vo(this);if(!o||!Xo(t,o.getValue())){const r=Xc(t);!o||o.constructor!=r?Vc(this,r.create(t)):o.setValue(t),o&&LA.batchedUpdates(()=>{this._onChange(t,e)})}}return vo(this)}_onStart(){const A=this.animation;A.changed||(A.changed=!0,es(this,"onStart",io(this,Zi(this,A.to)),this))}_onChange(A,e){e||(this._onStart(),zr(this.animation.onChange,A,this)),zr(this.defaultProps.onChange,A,this),super._onChange(A,e)}_start(){const A=this.animation;vo(this).reset(Et(A.to)),A.immediate||(A.fromValues=A.values.map(e=>e.lastPosition)),pr(this)||(Cd(this,!0),Xi(this)||this._resume())}_resume(){ro.skipAnimation?this.finish():el.start(this)}_stop(A,e){if(pr(this)){Cd(this,!1);const t=this.animation;YA(t.values,r=>{r.done=!0}),t.toValues&&(t.onChange=t.onPause=t.onResume=void 0),Oi(this,{type:"idle",parent:this});const o=e?Sn(this.get()):io(this.get(),Zi(this,A??t.to));Ui(this._pendingCalls,o),t.changed&&(t.changed=!1,es(this,"onRest",o,this))}}};function Zi(A,e){const t=ji(e),o=ji(A.get());return Xo(o,t)}function Id(A,e=A.loop,t=A.to){const o=zr(e);if(o){const r=o!==!0&&ad(o),n=(r||A).reverse,i=!r||r.reset;return As({...A,loop:e,default:!1,pause:void 0,to:!n||AB(t)?t:void 0,from:i?A.from:void 0,reset:i,...r})}}function As(A){const{to:e,from:t}=A=ad(A),o=new Set;return aA.obj(e)&&pd(e,o),aA.obj(t)&&pd(t,o),A.keys=o.size?Array.from(o):null,A}function Jb(A){const e=As(A);return aA.und(e.default)&&(e.default=Zc(e)),e}function pd(A,e){xo(A,(t,o)=>t!=null&&e.add(o))}var qb=["onStart","onRest","onChange","onPause","onResume"];function wd(A,e,t){A.animation[t]=e[t]!==sd(e,t)?id(e[t],A.key):void 0}function es(A,e,...t){var o,r,n,i;(r=(o=A.animation)[e])==null||r.call(o,...t),(i=(n=A.defaultProps)[e])==null||i.call(n,...t)}var zb=["onStart","onChange","onRest"],Wb=1,$b=class{constructor(A,e){this.id=Wb++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),A&&this.start({default:!0,...A})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(A=>A.idle&&!A.isDelayed&&!A.isPaused)}get item(){return this._item}set item(A){this._item=A}get(){const A={};return this.each((e,t)=>A[t]=e.get()),A}set(A){for(const e in A){const t=A[e];aA.und(t)||this.springs[e].set(t)}}update(A){return A&&this.queue.push(As(A)),this}start(A){let{queue:e}=this;return A?e=yt(A).map(As):this.queue=[],this._flush?this._flush(this,e):(yd(this,e),aB(this,e))}stop(A,e){if(A!==!!A&&(e=A),e){const t=this.springs;YA(yt(e),o=>t[o].stop(!!A))}else Vi(this._state,this._lastAsyncId),this.each(t=>t.stop(!!A));return this}pause(A){if(aA.und(A))this.start({pause:!0});else{const e=this.springs;YA(yt(A),t=>e[t].pause())}return this}resume(A){if(aA.und(A))this.start({pause:!1});else{const e=this.springs;YA(yt(A),t=>e[t].resume())}return this}each(A){xo(this.springs,A)}_onFrame(){const{onStart:A,onChange:e,onRest:t}=this._events,o=this._active.size>0,r=this._changed.size>0;(o&&!this._started||r&&!this._started)&&(this._started=!0,Hi(A,([s,a])=>{a.value=this.get(),s(a,this,this._item)}));const n=!o&&this._started,i=r||n&&t.size?this.get():null;r&&e.size&&Hi(e,([s,a])=>{a.value=i,s(a,this,this._item)}),n&&(this._started=!1,Hi(t,([s,a])=>{a.value=i,s(a,this,this._item)}))}eventObserved(A){if(A.type=="change")this._changed.add(A.parent),A.idle||this._active.add(A.parent);else if(A.type=="idle")this._active.delete(A.parent);else return;LA.onFrame(this._onFrame)}};function aB(A,e){return Promise.all(e.map(t=>fd(A,t))).then(t=>tB(A,t))}async function fd(A,e,t){const{keys:o,to:r,from:n,loop:i,onRest:s,onResolve:a}=e,l=aA.obj(e.default)&&e.default;i&&(e.loop=!1),r===!1&&(e.to=null),n===!1&&(e.from=null);const c=aA.arr(r)||aA.fun(r)?r:void 0;c?(e.to=void 0,e.onRest=void 0,l&&(l.onRest=void 0)):YA(zb,C=>{const h=e[C];if(aA.fun(h)){const I=A._events[C];e[C]=({finished:p,cancelled:D})=>{const m=I.get(h);m?(p||(m.finished=!1),D&&(m.cancelled=!0)):I.set(h,{value:null,finished:p||!1,cancelled:D||!1})},l&&(l[C]=e[C])}});const B=A._state;e.pause===!B.paused?(B.paused=e.pause,Ui(e.pause?B.pauseQueue:B.resumeQueue)):B.paused&&(e.pause=!0);const Q=(o||Object.keys(A.springs)).map(C=>A.springs[C].start(e)),u=e.cancel===!0||sd(e,"cancel")===!0;(c||u&&B.asyncId)&&Q.push(cd(++A._lastAsyncId,{props:e,state:B,actions:{pause:Yc,resume:Yc,start(C,h){u?(Vi(B,A._lastAsyncId),h(Sn(A))):(C.onRest=s,h(Qd(c,C,B,A)))}}})),B.paused&&await new Promise(C=>{B.resumeQueue.add(C)});const d=tB(A,await Promise.all(Q));if(i&&d.finished&&!(t&&d.noop)){const C=Id(e,i,r);if(C)return yd(A,[C]),fd(A,C,!0)}return a&&LA.batchedUpdates(()=>a(d,A,A.item)),d}function Dd(A,e){const t={...A.springs};return e&&YA(yt(e),o=>{aA.und(o.keys)&&(o=As(o)),aA.obj(o.to)||(o={...o,to:void 0}),vd(t,o,r=>xd(r))}),md(A,t),t}function md(A,e){xo(e,(t,o)=>{A.springs[o]||(A.springs[o]=t,Ln(t,A))})}function xd(A,e){const t=new Ob;return t.key=A,e&&Ln(t,e),t}function vd(A,e,t){e.keys&&YA(e.keys,o=>{(A[o]||(A[o]=t(o)))._prepareNode(e)})}function yd(A,e){YA(e,t=>{vd(A.springs,t,o=>xd(o,A))})}var El=({children:A,...e})=>{const t=E.useContext(dl),o=e.pause||!!t.pause,r=e.immediate||!!t.immediate;e=Db(()=>({pause:o,immediate:r}),[o,r]);const{Provider:n}=dl;return K.createElement(n,{value:e},A)},dl=jb(El,{});El.Provider=dl.Provider,El.Consumer=dl.Consumer;function jb(A,e){return Object.assign(A,K.createContext(e)),A.Provider._context=A,A.Consumer._context=A,A}var Vb=()=>{const A=[],e=function(o){wb();const r=[];return YA(A,(n,i)=>{if(aA.und(o))r.push(n.start());else{const s=t(o,n,i);s&&r.push(n.start(s))}}),r};e.current=A,e.add=function(o){A.includes(o)||A.push(o)},e.delete=function(o){const r=A.indexOf(o);~r&&A.splice(r,1)},e.pause=function(){return YA(A,o=>o.pause(...arguments)),this},e.resume=function(){return YA(A,o=>o.resume(...arguments)),this},e.set=function(o){YA(A,(r,n)=>{const i=aA.fun(o)?o(n,r):o;i&&r.set(i)})},e.start=function(o){const r=[];return YA(A,(n,i)=>{if(aA.und(o))r.push(n.start());else{const s=this._getProps(o,n,i);s&&r.push(n.start(s))}}),r},e.stop=function(){return YA(A,o=>o.stop(...arguments)),this},e.update=function(o){return YA(A,(r,n)=>r.update(this._getProps(o,r,n))),this};const t=function(o,r,n){return aA.fun(o)?o(n,r):o};return e._getProps=t,e};function Xb(A,e,t){const o=aA.fun(e)&&e;o&&!t&&(t=[]);const r=E.useMemo(()=>o||arguments.length==3?Vb():void 0,[]),n=E.useRef(0),i=XE(),s=E.useMemo(()=>({ctrls:[],queue:[],flush(I,p){const D=Dd(I,p);return n.current>0&&!s.queue.length&&!Object.keys(D).some(k=>!I.springs[k])?aB(I,p):new Promise(k=>{md(I,D),s.queue.push(()=>{k(aB(I,p))}),i()})}}),[]),a=E.useRef([...s.ctrls]),l=[],c=Ad(A)||0;E.useMemo(()=>{YA(a.current.slice(A,c),I=>{Tb(I,r),I.stop(!0)}),a.current.length=A,B(c,A)},[A]),E.useMemo(()=>{B(0,Math.min(c,A))},t);function B(I,p){for(let D=I;D<p;D++){const m=a.current[D]||(a.current[D]=new $b(null,s.flush)),k=o?o(D,m):e[D];k&&(l[D]=Jb(k))}}const Q=a.current.map((I,p)=>Dd(I,l[p])),u=E.useContext(El),d=Ad(u),C=u!==d&&Pb(u);cl(()=>{n.current++,s.ctrls=a.current;const{queue:I}=s;I.length&&(s.queue=[],YA(I,p=>p())),YA(a.current,(p,D)=>{r==null||r.add(p),C&&p.start({default:u});const m=l[D];m&&(Gb(p,m.ref),p.ref?p.queue.push(m):p.start(m))})}),ZE(()=>()=>{YA(s.ctrls,I=>I.stop(!0))});const h=Q.map(I=>({...I}));return r?[h,r]:h}function bd(A,e){const t=aA.fun(A),[[o],r]=Xb(1,t?A:[A],t?e||[]:e);return t||arguments.length==2?[o,r]:o}var Zb={any:0,all:1};function Ak(A,e){const[t,o]=E.useState(!1),r=E.useRef(),n=aA.fun(A)&&A,i=n?n():{},{to:s={},from:a={},...l}=i,c=n?e:A,[B,Q]=bd(()=>({from:a,...l}),[]);return cl(()=>{const u=r.current,{root:d,once:C,amount:h="any",...I}=c??{};if(!u||C&&t||typeof IntersectionObserver>"u")return;const p=new WeakMap,D=()=>(s&&Q.start(s),o(!0),C?void 0:()=>{a&&Q.start(a),o(!1)}),m=N=>{N.forEach(L=>{const M=p.get(L.target);if(L.isIntersecting!==!!M)if(L.isIntersecting){const F=D();aA.fun(F)?p.set(L.target,F):k.unobserve(L.target)}else M&&(M(),p.delete(L.target))})},k=new IntersectionObserver(m,{root:d&&d.current||void 0,threshold:typeof h=="number"||Array.isArray(h)?h:Zb[h],...I});return k.observe(u),()=>k.unobserve(u)},[c]),n?[r,B]:[r,t]}var ek=class extends rB{constructor(A,e){super(),this.source=A,this.idle=!0,this._active=new Set,this.calc=Yi(...e);const t=this._get(),o=Xc(t);Vc(this,o.create(t))}advance(A){const e=this._get(),t=this.get();Xo(e,t)||(vo(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&kd(this._active)&&lB(this)}_get(){const A=aA.arr(this.source)?this.source.map(Et):yt(Et(this.source));return this.calc(...A)}_start(){this.idle&&!kd(this._active)&&(this.idle=!1,YA(Bl(this),A=>{A.done=!1}),ro.skipAnimation?(LA.batchedUpdates(()=>this.advance()),lB(this)):el.start(this))}_attach(){let A=1;YA(yt(this.source),e=>{Yt(e)&&Ln(e,this),oB(e)&&(e.idle||this._active.add(e),A=Math.max(A,e.priority+1))}),this.priority=A,this._start()}_detach(){YA(yt(this.source),A=>{Yt(A)&&Ji(A,this)}),this._active.clear(),lB(this)}eventObserved(A){A.type=="change"?A.idle?this.advance():(this._active.add(A.parent),this._start()):A.type=="idle"?this._active.delete(A.parent):A.type=="priority"&&(this.priority=yt(this.source).reduce((e,t)=>Math.max(e,(oB(t)?t.priority:0)+1),0))}};function tk(A){return A.idle!==!1}function kd(A){return!A.size||Array.from(A).every(tk)}function lB(A){A.idle||(A.idle=!0,YA(Bl(A),e=>{e.done=!0}),Oi(A,{type:"idle",parent:A}))}ro.assign({createStringInterpolator:jE,to:(A,e)=>new ek(A,e)});var Md=/^--/;function ok(A,e){return e==null||typeof e=="boolean"||e===""?"":typeof e=="number"&&e!==0&&!Md.test(A)&&!(ts.hasOwnProperty(A)&&ts[A])?e+"px":(""+e).trim()}var Nd={};function rk(A,e){if(!A.nodeType||!A.setAttribute)return!1;const t=A.nodeName==="filter"||A.parentNode&&A.parentNode.nodeName==="filter",{className:o,style:r,children:n,scrollTop:i,scrollLeft:s,viewBox:a,...l}=e,c=Object.values(l),B=Object.keys(l).map(Q=>t||A.hasAttribute(Q)?Q:Nd[Q]||(Nd[Q]=Q.replace(/([A-Z])/g,u=>"-"+u.toLowerCase())));n!==void 0&&(A.textContent=n);for(const Q in r)if(r.hasOwnProperty(Q)){const u=ok(Q,r[Q]);Md.test(Q)?A.style.setProperty(Q,u):A.style[Q]=u}B.forEach((Q,u)=>{A.setAttribute(Q,c[u])}),o!==void 0&&(A.className=o),i!==void 0&&(A.scrollTop=i),s!==void 0&&(A.scrollLeft=s),a!==void 0&&A.setAttribute("viewBox",a)}var ts={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},nk=(A,e)=>A+e.charAt(0).toUpperCase()+e.substring(1),ik=["Webkit","Ms","Moz","O"];ts=Object.keys(ts).reduce((A,e)=>(ik.forEach(t=>A[nk(t,e)]=A[e]),A),ts);var sk=/^(matrix|translate|scale|rotate|skew)/,ak=/^(translate)/,lk=/^(rotate|skew)/,gB=(A,e)=>aA.num(A)&&A!==0?A+e:A,Cl=(A,e)=>aA.arr(A)?A.every(t=>Cl(t,e)):aA.num(A)?A===e:parseFloat(A)===e,gk=class extends ul{constructor({x:A,y:e,z:t,...o}){const r=[],n=[];(A||e||t)&&(r.push([A||0,e||0,t||0]),n.push(i=>[`translate3d(${i.map(s=>gB(s,"px")).join(",")})`,Cl(i,0)])),xo(o,(i,s)=>{if(s==="transform")r.push([i||""]),n.push(a=>[a,a===""]);else if(sk.test(s)){if(delete o[s],aA.und(i))return;const a=ak.test(s)?"px":lk.test(s)?"deg":"";r.push(yt(i)),n.push(s==="rotate3d"?([l,c,B,Q])=>[`rotate3d(${l},${c},${B},${gB(Q,a)})`,Cl(Q,0)]:l=>[`${s}(${l.map(c=>gB(c,a)).join(",")})`,Cl(l,s.startsWith("scale")?1:0)])}}),r.length&&(o.transform=new ck(r,n)),super(o)}},ck=class extends qE{constructor(A,e){super(),this.inputs=A,this.transforms=e,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let A="",e=!0;return YA(this.inputs,(t,o)=>{const r=Et(t[0]),[n,i]=this.transforms[o](aA.arr(r)?r:t.map(Et));A+=" "+n,e=e&&i}),e?"none":A}observerAdded(A){A==1&&YA(this.inputs,e=>YA(e,t=>Yt(t)&&Ln(t,this)))}observerRemoved(A){A==0&&YA(this.inputs,e=>YA(e,t=>Yt(t)&&Ji(t,this)))}eventObserved(A){A.type=="change"&&(this._value=null),Oi(this,A)}},Bk=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];ro.assign({batchedUpdates:Po.unstable_batchedUpdates,createStringInterpolator:jE,colors:Xy});var Qk=Nb(Bk,{applyAnimatedValues:rk,createAnimatedStyle:A=>new gk(A),getComponentProps:({scrollTop:A,scrollLeft:e,...t})=>t}),uk=Qk.animated;const cB=({children:A,registerComponentApi:e,animation:t,duration:o=500,onStop:r,onStart:n,animateWhenInView:i=!1,once:s=!1})=>{const a=E.useMemo(()=>({from:t.from,to:t.to,config:{...t.config,duration:o},onStart:n,onRest:r,once:s}),[t,o,n,r,s]),[l,c]=bd(()=>({...a})),[B,Q]=Ak(()=>a,{rootMargin:"-40% 0%",once:s}),u=E.useCallback(()=>(c.start(t),()=>{c.stop()}),[c]),d=E.useCallback(()=>{c.stop()},[c]);return E.useEffect(()=>{e==null||e({start:u,stop:d})},[e,u]),E.Children.map(A,h=>uk(E.forwardRef(function(p,D){return E.isValidElement(h)?E.cloneElement(h,{...p,ref:D}):g.jsx(g.Fragment,{children:h})}))).map((h,I)=>i?g.jsx(h,{style:Q,ref:B},I):g.jsx(h,{style:l},I))},os="Animation",BB=Z({status:"in progress",description:"",props:{animation:f("The animation object to be applied to the component"),animateWhenInView:f("Indicates whether the animation should start when the component is in view"),duration:f("The duration of the animation in milliseconds"),once:f("Indicates whether the animation should only run once")},events:{started:f("Event fired when the animation starts"),stopped:f("Event fired when the animation stops")},apis:{start:f("Starts the animation"),stop:f("Stops the animation")}}),Ek=Z({...BB,specializedFrom:os,description:`The \`${os}\` component represents an animation that fades in the content.`}),dk=Z({...BB,specializedFrom:os,description:`The \`${os}\` component represents an animation that slides in the content from the left.`,props:{animateWhenInView:f("Indicates whether the animation should start when the component is in view"),direction:f("The direction from which the content should slide in"),duration:f("The duration of the animation in milliseconds")}}),Ck=AA(os,BB,({registerComponentApi:A,renderChild:e,node:t,extractValue:o,lookupEventHandler:r})=>g.jsx(cB,{registerComponentApi:A,animation:o(t.props.animation),onStop:r("stopped"),onStart:r("started"),duration:o.asOptionalNumber(t.props.duration),animateWhenInView:o.asOptionalBoolean(t.props.animateWhenInView),once:o.asOptionalBoolean(t.props.once),children:e(t.children)})),hk=AA("FadeInAnimation",Ek,({node:A,renderChild:e,extractValue:t,registerComponentApi:o,lookupEventHandler:r})=>g.jsx(cB,{registerComponentApi:o,animation:{from:{opacity:0},to:{opacity:1}},duration:t.asOptionalNumber(A.props.duration),onStop:r("stopped"),onStart:r("started"),animateWhenInView:t.asOptionalBoolean(A.props.animateWhenInView),children:e(A.children)})),Ik=AA("SlideInAnimation",dk,({node:A,renderChild:e,extractValue:t,registerComponentApi:o,lookupEventHandler:r})=>{const n=t.asString(A.props.direction),i={from:{transform:n==="right"?"translateX(100%)":n==="left"?"translateX(-100%)":n==="top"?"translateY(-100%)":"translateY(100%)"},to:{transform:n==="right"||n==="left"?"translateX(0)":"translateY(0)"}};return g.jsx(cB,{registerComponentApi:o,animation:i,duration:t.asOptionalNumber(A.props.duration),onStop:r("stopped"),onStart:r("started"),animateWhenInView:t.asOptionalBoolean(A.props.animateWhenInView),children:e(A.children)})}),pk=la("DataSource"),wk=la("TextNode"),fk=la("TextNodeCData");class QB{constructor(e={},t){var o,r,n,i;this.componentManager=t,this.pool=new Map,this.themeVars=new Set,this.defaultThemeVars={},this.actionFns=new Map,this.loaders=new Map,this.registerComponentRenderer=({type:s,renderer:a,metadata:l})=>{this.pool.set(s,{renderer:a,descriptor:l}),l!=null&&l.themeVars&&Object.keys(l.themeVars).forEach(c=>this.themeVars.add(c)),l!=null&&l.defaultThemeVars&&QA.merge(this.defaultThemeVars,l==null?void 0:l.defaultThemeVars)},this.componentManager=t,process.env.VITE_USED_COMPONENTS_Stack!=="false"&&(this.registerComponentRenderer(o6),this.registerComponentRenderer(r6),this.registerComponentRenderer(n6),this.registerComponentRenderer(i6),this.registerComponentRenderer(s6)),this.registerComponentRenderer(KD),this.registerComponentRenderer(pk),this.registerComponentRenderer(wk),this.registerComponentRenderer(fk),process.env.VITE_USED_COMPONENTS_SpaceFiller!=="false"&&this.registerComponentRenderer(l6),process.env.VITE_USED_COMPONENTS_Textarea!=="false"&&this.registerComponentRenderer(w6),process.env.VITE_USED_COMPONENTS_AppHeader!=="false"&&this.registerComponentRenderer(ex),process.env.VITE_USED_COMPONENTS_Footer!=="false"&&this.registerComponentRenderer(ND),process.env.VITE_USED_COMPONENTS_Logo!=="false"&&this.registerComponentRenderer(GD),process.env.VITE_USED_COMPONENTS_NavLink!=="false"&&this.registerComponentRenderer(P6),process.env.VITE_USED_COMPONENTS_NavGroup!=="false"&&this.registerComponentRenderer(PD),process.env.VITE_USED_COMPONENTS_Link!=="false"&&this.registerComponentRenderer(G6),process.env.VITE_USED_COMPONENTS_Form!=="false"&&(this.registerComponentRenderer(aD),this.registerComponentRenderer(V9)),process.env.VITE_USED_COMPONENTS_Tree!=="false"&&this.registerComponentRenderer(O6),process.env.VITE_USED_COMPONENTS_Button!=="false"&&this.registerComponentRenderer(q6),process.env.VITE_USED_COMPONENTS_Checkbox!=="false"&&this.registerComponentRenderer(Vm),process.env.VITE_USED_COMPONENTS_Switch!=="false"&&this.registerComponentRenderer(Zm),process.env.VITE_USED_COMPONENTS_Heading!=="false"&&(this.registerComponentRenderer(r7),this.registerComponentRenderer(n7),this.registerComponentRenderer(i7),this.registerComponentRenderer(s7),this.registerComponentRenderer(a7),this.registerComponentRenderer(l7),this.registerComponentRenderer(g7)),process.env.VITE_USED_COMPONENTS_Text!=="false"&&this.registerComponentRenderer(d7),process.env.VITE_USED_COMPONENTS_Fragment!=="false"&&this.registerComponentRenderer(h7),process.env.VITE_USED_COMPONENTS_Table!=="false"&&(this.registerComponentRenderer(N7),this.registerComponentRenderer(hx)),process.env.VITE_USED_COMPONENTS_List!=="false"&&this.registerComponentRenderer(Of),process.env.VITE_USED_COMPONENTS_App!=="false"&&this.registerComponentRenderer(ID),process.env.VITE_USED_COMPONENTS_NavPanel!=="false"&&this.registerComponentRenderer(wD),process.env.VITE_USED_COMPONENTS_Pages!=="false"&&(this.registerComponentRenderer(bD),this.registerComponentRenderer(vD)),process.env.VITE_USED_COMPONENTS_Redirect!=="false"&&this.registerComponentRenderer(Vx),process.env.VITE_USED_COMPONENTS_StickyBox!=="false"&&this.registerComponentRenderer(L7),process.env.VITE_USED_COMPONENTS_Badge!=="false"&&this.registerComponentRenderer(T7),process.env.VITE_USED_COMPONENTS_Avatar!=="false"&&this.registerComponentRenderer(H7),process.env.VITE_USED_COMPONENTS_ContentSeparator!=="false"&&this.registerComponentRenderer(R7),process.env.VITE_USED_COMPONENTS_Card!=="false"&&this.registerComponentRenderer(K7),process.env.VITE_USED_COMPONENTS_FlowLayout!=="false"&&this.registerComponentRenderer(z7),process.env.VITE_USED_COMPONENTS_ModalDialog!=="false"&&this.registerComponentRenderer($7),process.env.VITE_USED_COMPONENTS_NoResult!=="false"&&this.registerComponentRenderer(X7),process.env.VITE_USED_COMPONENTS_Option!=="false"&&this.registerComponentRenderer(Gy),process.env.VITE_USED_COMPONENTS_TabItem!=="false"&&this.registerComponentRenderer(oy),process.env.VITE_USED_COMPONENTS_AccordionItem!=="false"&&this.registerComponentRenderer(cy),process.env.VITE_USED_COMPONENTS_CarouselItem!=="false"&&this.registerComponentRenderer(vy),process.env.VITE_USED_COMPONENTS_FileUploadDropZone!=="false"&&this.registerComponentRenderer(tf),process.env.VITE_USED_COMPONENTS_Icon!=="false"&&this.registerComponentRenderer(rf),process.env.VITE_USED_COMPONENTS_Items!=="false"&&this.registerComponentRenderer(af),process.env.VITE_USED_COMPONENTS_SelectionStore!=="false"&&this.registerComponentRenderer(gf),process.env.VITE_USED_COMPONENTS_Image!=="false"&&this.registerComponentRenderer(Bf),process.env.VITE_USER_COMPONENTS_XmluiCodeHightlighter!=="false"&&this.registerComponentRenderer(j2),process.env.VITE_USER_COMPONENTS_Markdown!=="false"&&this.registerComponentRenderer(am),process.env.VITE_INCLUDE_REST_COMPONENTS!=="false"&&(this.registerComponentRenderer(df),this.registerComponentRenderer(If),this.registerComponentRenderer(mf),this.registerComponentRenderer(xf),this.registerComponentRenderer(vf),this.registerComponentRenderer(Tf),this.registerComponentRenderer(Wf),this.registerComponentRenderer(Vf),this.registerComponentRenderer(iD),this.registerComponentRenderer(X9),this.registerComponentRenderer(AD),this.registerComponentRenderer(cD),this.registerComponentRenderer(QD),this.registerComponentRenderer(CD),this.registerComponentRenderer(UD),this.registerComponentRenderer(JD),this.registerComponentRenderer($x),this.registerComponentRenderer(ZD),this.registerComponentRenderer(gm),this.registerComponentRenderer(Uy),this.registerComponentRenderer(gE),this.registerComponentRenderer(um),this.registerComponentRenderer(Fy),this.registerCompoundComponentRenderer($m),this.registerComponentRenderer(gE),this.registerComponentRenderer(rx),this.registerComponentRenderer(ix),this.registerComponentRenderer(ax),this.registerComponentRenderer(dv),this.registerComponentRenderer(pv),this.registerComponentRenderer(Yv),this.registerComponentRenderer(My)),this.registerComponentRenderer(Ex),this.registerComponentRenderer(Dv),this.registerComponentRenderer(Py),this.registerComponentRenderer(Ck),this.registerComponentRenderer(hk),this.registerComponentRenderer(Ik),this.registerCompoundComponentRenderer(xv),this.registerCompoundComponentRenderer(bv),this.registerCompoundComponentRenderer(Nv),this.registerCompoundComponentRenderer(Fv),this.registerCompoundComponentRenderer(Pv),this.registerCompoundComponentRenderer(Hv),this.registerComponentRenderer(fy),this.registerComponentRenderer(qv),this.registerComponentRenderer(jv),this.registerComponentRenderer(Ay),this.registerComponentRenderer(sy),this.registerComponentRenderer(Ey),this.registerComponentRenderer(Iy),this.registerComponentRenderer(Ky),process.env.VITE_USED_COMPONENTS_Chart!=="false"&&(this.registerComponentRenderer(VD),this.registerComponentRenderer(ev),this.registerComponentRenderer(iv),this.registerComponentRenderer(cv)),(o=e.components)==null||o.forEach(s=>{this.registerComponentRenderer(s)}),(r=e.compoundComponents)==null||r.forEach(s=>{this.registerCompoundComponentRenderer({compoundComponentDef:s})}),this.registerActionFn(mx),this.registerActionFn(bx),this.registerActionFn(Mx),this.registerActionFn(_x),this.registerActionFn(Lx),(n=e.actions)==null||n.forEach(s=>{this.registerActionFn(s)}),this.registerLoaderRenderer(Tx),this.registerLoaderRenderer(Ux),this.registerLoaderRenderer(Kx),this.registerLoaderRenderer(zx),(i=this.componentManager)==null||i.subscribeToRegistrations(this.registerComponentRenderer)}get componentThemeVars(){return this.themeVars}get componentDefaultThemeVars(){return this.defaultThemeVars}get actionFunctions(){return this.actionFns}getRegisteredComponentKeys(){return Array.from(this.pool.keys())}lookupComponentRenderer(e){return this.pool.get(e)}lookupAction(e){return this.actionFns.get(e)}lookupLoaderRenderer(e){return this.loaders.get(e)}hasComponent(e){return this.pool.get(e)!==void 0||this.loaders.get(e)!==void 0||this.actionFns.get(e)!==void 0}registerCompoundComponentRenderer({compoundComponentDef:e,metadata:t}){this.pool.set(e.name,{renderer:o=>g.jsx(Zu,{api:e.api,scriptCollected:e.scriptCollected,compound:e.component,...o}),isCompoundComponent:!0}),t!=null&&t.themeVars&&Object.keys(t.themeVars).forEach(o=>this.themeVars.add(o)),t!=null&&t.defaultThemeVars&&QA.merge(this.defaultThemeVars,t==null?void 0:t.defaultThemeVars)}registerActionFn({actionName:e,actionFn:t}){this.actionFns.set(e,t)}registerLoaderRenderer({type:e,renderer:t}){this.loaders.set(e,t)}destroy(){var e;(e=this.componentManager)==null||e.unSubscribeFromRegistrations(this.registerComponentRenderer)}}function Dk({children:A,contributes:e,componentManager:t}){const[o,r]=E.useState(()=>new QB(e,t));return E.useEffect(()=>{r(n=>(n.destroy(),new QB(e,t)))},[t,e]),g.jsx(GQ.Provider,{value:o,children:A})}const _d={dialogContent:"_dialogContent_1rief_13",dialogActions:"_dialogActions_1rief_18"},mk=({title:A,description:e,children:t,isOpen:o,onClose:r,buttons:n})=>g.jsxs(Qn,{onClose:r,isInitiallyOpen:o,title:A,children:[g.jsxs("div",{className:_d.dialogContent,children:[g.jsx("div",{id:"dialogDesc",children:g.jsx(qe,{children:e})}),t]}),!!n&&g.jsx("footer",{className:_d.dialogActions,children:n})]}),Fd=E.createContext({confirm:async(A,e,t)=>!1}),xk=()=>E.useContext(Fd),vk=({children:A})=>{const[e,t]=E.useState(!1),[o,r]=E.useState("Are you sure?"),[n,i]=E.useState(),[s,a]=E.useState([]),l=E.useRef(null),c=E.useRef(null);E.useEffect(()=>{e&&setTimeout(()=>{var h;const C=(h=c.current)==null?void 0:h.querySelectorAll("button");C&&C[C.length-1].focus()},0)},[e]);const B=E.useCallback(async(C,h,I)=>(typeof C=="string"?(r(C),a([{label:I||"Ok",value:!0}]),i(h)):(r(C.title),a(C.buttons),i(C.message)),t(!0),new Promise(function(p){l.current=p})),[]),Q=E.useCallback(C=>{l.current&&l.current(C),t(!1)},[]),u=E.useCallback(()=>{l.current&&l.current(!1),t(!1)},[]),d=E.useMemo(()=>({confirm:B}),[B]);return g.jsxs(Fd.Provider,{value:d,children:[A,e&&g.jsx(mk,{title:o,description:n,isOpen:!0,onClose:u,buttons:g.jsxs(gt,{orientation:"horizontal",horizontalAlignment:"end",layout:{width:"100%",gap:"1em"},ref:c,children:[g.jsx(Ce,{variant:"ghost",themeColor:"secondary",size:"sm",onClick:u,children:"Cancel"}),s.length>1?g.jsx("div",{style:{flex:1}}):void 0,s.map(({label:C,value:h,variant:I="solid",themeColor:p="attention"},D)=>g.jsx(Ce,{variant:I,themeColor:p,size:"sm",type:"submit",onClick:()=>{Q(h)},children:C},D))]})})]})},yk="0.7.13";function bk(A,e){if(A.length===0)return 0;const o=Ld(A)/A.length;return e?Number(o.toFixed(e)):o}function Ld(A){return A.reduce((e,t)=>e+t,0)}const kk={avg:bk,sum:Ld};ue.enableMapSet();const Sd=new ks.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),Mk={differenceInMinutes:(A,e)=>Ae.differenceInMinutes(new Date(A),new Date(e)),isSameDay:(A,e)=>!A||!e?!1:Ae.isSameDay(new Date(A),new Date(e)),isToday:A=>Ae.isToday(new Date(A)),isThisYear:A=>Ae.isThisYear(new Date(A))};function Nk(A){me.error(typeof A=="string"?A:A.message||"Something went wrong")}function _k({rootContainer:A,routerBaseName:e,globalProps:t,standalone:o,trackContainerHeight:r,decorateComponentsWithTestId:n,debugEnabled:i}){var Fo,xr;const[s,a]=E.useState(null),[l,c]=E.useState(!!((Fo=t==null?void 0:t.debug)!=null&&Fo.stateView)),B=Ys(),Q=We.useNavigate(),{confirm:u}=xk(),{activeThemeId:d,activeThemeTone:C,setActiveThemeId:h,setActiveThemeTone:I,availableThemeIds:p,root:D,toggleThemeTone:m}=si();u8(RA=>{RA.code==="KeyT"&&RA.altKey&&RA.ctrlKey&&RA.shiftKey&&h(p[(p.indexOf(d)+1)%p.length]),RA.code==="KeyO"&&RA.altKey&&RA.ctrlKey&&RA.shiftKey&&I(Ss[(Ss.indexOf(C)+1)%Ss.length]),RA.code==="KeyS"&&RA.altKey&&RA.ctrlKey&&RA.shiftKey&&(console.log("TOGGLE STATE VIEW"),c(!l))});const[k,N]=E.useState("0"),[L,M]=E.useState("0"),[F,v]=E.useState("0"),[y,P]=E.useState("0"),[b,_]=E.useState("0"),[q,J]=E.useState("0"),[z,T]=E.useState("0"),[S,G]=E.useState("0"),[Y,U]=E.useState("0"),[V,tA]=E.useState("0"),uA=RA=>{const Se=RA.match(/^(\d+)px$/);return Se?`${parseInt(Se[1])-.02}px`:"0"},EA=E.useRef();$t(()=>(r&&D&&D!==document.body&&(EA!=null&&EA.current&&EA.current.unobserve(D),EA.current=new ResizeObserver(RA=>{D.style.setProperty("--containerHeight",RA[0].contentRect.height+"px")}),EA.current&&EA.current.observe(D)),()=>{EA!=null&&EA.current&&EA.current.unobserve(D)}),[D,EA,r]),$t(()=>{const RA=getComputedStyle(D).getPropertyValue(Zo("media-max-width-phone"));N(RA),M(uA(RA));const Se=getComputedStyle(D).getPropertyValue(Zo("media-max-width-landscape-phone"));v(Se),P(uA(Se));const Ct=getComputedStyle(D).getPropertyValue(Zo("media-max-width-tablet"));_(Ct),J(uA(Ct));const mA=getComputedStyle(D).getPropertyValue(Zo("media-max-width-desktop"));T(mA),G(uA(mA));const fA=getComputedStyle(D).getPropertyValue(Zo("media-max-width-large-desktop"));U(fA),tA(uA(fA))},[d,D]);const hA=Ar(`(max-width: ${L})`),eA=Ar(`(min-width: ${k}) and (max-width: ${y})`),oA=Ar(`(min-width: ${F}) and (max-width: ${q})`),W=Ar(`(min-width: ${b}) and (max-width: ${S})`),$=Ar(`(min-width: ${z}) and (max-width: ${V})`);let rA="xs",dA=0;const TA=Ar(`(min-width: ${Y})`);TA?(rA="xxl",dA=5):$?(rA="xl",dA=4):W?(rA="lg",dA=3):oA?(rA="md",dA=2):eA&&(rA="sm",dA=1);const sA=B8(),yA=Q8(),FA=F5(),JA=We.useLocation(),XA=E.useRef("");E.useEffect(()=>{JA.hash&&(XA.current=JA.hash.slice(1)),XA.current&&setTimeout(()=>{var RA;(RA=document.getElementById(XA.current))==null||RA.scrollIntoView({behavior:"instant",block:"start"}),XA.current=""},100)},[JA]);const ZA=E.useMemo(()=>{const RA={_SUPPORT_IMPLICIT_CONTEXT:!0};for(const[Se,Ct]of B.actionFunctions)RA[Se]=Ct;return RA},[B.actionFunctions]),UA=E.useMemo(()=>({isInIFrame:sA}),[sA]),$A=E.useMemo(()=>({isWindowFocused:yA}),[yA]),de=E.useMemo(()=>({phone:hA,landscapePhone:eA,tablet:oA,desktop:W,largeDesktop:$,xlDesktop:TA,smallScreen:hA||eA||oA,largeScreen:!(hA||eA||oA),size:rA,sizeIndex:dA}),[hA,eA,oA,W,$,TA,rA,dA]),Fe=E.useMemo(()=>t?{...t}:GA,[t]),No=E.useMemo(()=>({version:yk,Actions:ZA,appGlobals:Fe,debugEnabled:i,decorateComponentsWithTestId:n,environment:$A,mediaSize:de,queryClient:Sd,standalone:o,...lu,...kk,formatFileSizeInBytes:L4,getFileExtension:S4,navigate:Q,routerBaseName:e,confirm:u,signError:Nk,toast:me,activeThemeId:d,activeThemeTone:C,availableThemeIds:p,setTheme:h,setThemeTone:I,toggleThemeTone:m,loggedInUser:s,setLoggedInUser:a,delay:ln,DateUtils:Mk,embed:UA,apiInterceptorContext:FA,getPropertyByPath:QA.get,...gu}),[ZA,d,C,FA,p,u,i,n,UA,$A,Fe,s,de,Q,e,h,I,m,o]),[ze,_o]=E.useState(GA),so=E.useCallback((RA,Se)=>{_o(Ct=>({...Ct,[RA]:Se}))},[]),Le=E.useCallback((RA,Se)=>{_o(Ct=>({...Ct,[RA]:{...Ct[RA]||{},...Se}}))},[]),mr=E.useMemo(()=>({registerAppState:so,appState:ze,update:Le}),[ze,so,Le]),tn=E.useRef(new Map);return g.jsx(O1.Provider,{value:{displayStateView:l,stateView:(xr=t==null?void 0:t.debug)==null?void 0:xr.stateView,setDisplayStateView:c},children:g.jsx(Y1.Provider,{value:No,children:g.jsx(pE.Provider,{value:mr,children:Ep(A,tn)})})})}const Fk=({node:A,previewMode:e=!1,servedFromSingleFile:t=!1,routerBaseName:o="",contributes:r=GA,globalProps:n,standalone:i,trackContainerHeight:s,decorateComponentsWithTestId:a,debugEnabled:l,defaultTheme:c,defaultTone:B,resources:Q,resourceMap:u,sources:d})=>{e&&(sn.HelmetProvider.canUseDOM=!1);const C=(n==null?void 0:n.name)||"XMLUI app",h=(n==null?void 0:n.useHashBasedRouting)??!0,I=g.jsxs(sn.HelmetProvider,{children:[g.jsx(sn.Helmet,{defaultTitle:C,titleTemplate:`%s | ${C}`}),g.jsx(_5,{children:g.jsx(d8,{resourceMap:u,themes:r.themes,defaultTheme:c,defaultTone:B,resources:Q,children:g.jsx(X2,{sources:d,children:g.jsx(vk,{children:g.jsx(_k,{rootContainer:A,routerBaseName:o,globalProps:n,standalone:i,trackContainerHeight:s,decorateComponentsWithTestId:a,debugEnabled:l})})})})})]}),p=e?tg.MemoryRouter:t||h?tg.HashRouter:tg.BrowserRouter;return g.jsx(E.StrictMode,{children:g.jsx(oi,{node:A,location:"root-outer",children:g.jsxs(ks.QueryClientProvider,{client:Sd,children:[(typeof window>"u"||process.env.VITE_REMIX)&&I,!(typeof window>"u"||process.env.VITE_REMIX)&&g.jsx(p,{basename:o,children:I})]})})})};function Pd({apiInterceptor:A,contributes:e,node:t,decorateComponentsWithTestId:o,debugEnabled:r,defaultTheme:n,defaultTone:i,resources:s,globalProps:a,standalone:l,trackContainerHeight:c,routerBaseName:B,previewMode:Q,servedFromSingleFile:u,resourceMap:d,sources:C,componentManager:h}){const I=E.useMemo(()=>({type:"Container",uid:"root",children:[t.type==="Theme"?{...t,props:{...t.props,root:!0}}:{type:"Theme",props:{root:!0},children:[t]}],uses:[]}),[t]);return g.jsx(Dk,{contributes:e,componentManager:h,children:g.jsx(Fk,{resourceMap:d,apiInterceptor:A,node:I,contributes:e,resources:s,routerBaseName:B,decorateComponentsWithTestId:o,debugEnabled:r,defaultTheme:n,defaultTone:i,globalProps:a,standalone:l,trackContainerHeight:c,previewMode:Q,servedFromSingleFile:u,sources:C})})}function Lk({interceptor:A,children:e,apiWorker:t,useHashBasedRouting:o}){const[r,n]=E.useState(!A);E.useEffect(()=>{if(A){n(!1);let s;return(async()=>{if(process.env.VITE_MOCK_ENABLED){const{createApiInterceptorWorker:a}=await Promise.resolve().then(()=>tT);if(A&&(s=await a(A,t),!t)){const l=process.env.VITE_MOCK_WORKER_LOCATION||"mockServiceWorker.js";await s.start({onUnhandledRequest:"bypass",quiet:!0,serviceWorker:{url:o?l:v4(l)}})}}n(!0)})(),()=>{t||s==null||s.stop()}}},[t,A,o]);const i=E.useMemo(()=>({isMocked:s=>A!==void 0&&!!process.env.VITE_MOCK_ENABLED}),[A]);return g.jsx(su.Provider,{value:i,children:r&&e||null})}const hl="xmlui",Pn="xmlui.xs";function Sk(A,e,t,o){const r=[],n={},i=new Set,s=new Set;if(A&&rs(A,null,a,n,t),!n.abort)for(const Q of e)l(Q.name)||c("M007","Component",Q.name),Q.name==="Component"&&c("M008","Component",Q.name),t.componentRegistered(Q.name)&&c("M009","Component",Q.name),s.has(Q.name)?c("M010","Component",Q.name):s.add(Q.name),i.clear(),rs(Q.component,null,a,n,t);return r;function a(Q,u,d,C){if(!d)return;if(!t.componentRegistered(Q.type)){c("M001",(u==null?void 0:u.type)??"Root",Q.type);return}Q.uid&&(l(Q.uid)?i.has(Q.uid)?c("M003",Q.type,Q.uid):i.add(Q.uid):c("M002",Q.type,Q.type,Q.uid));const h=t.getComponentProps(Q.type)??{},I=Q.props??{};for(const k of Object.keys(I))if(h[k]){const L=I[k];if(typeof L=="string")try{zs(L)}catch(M){c("M006",Q.type,k,M.message)}}else{const L=k.split("-");L.length===1&&Gg.includes(k)||L.length===2&&Gg.includes(L[0])&&T2.includes(L[1])||t.acceptArbitraryProps(Q.type)||c("M005",Q.type,Q.type,k)}const p=t.getComponentEvents(Q.type)??{},D=Q.events??{};for(const k of Object.keys(D))if(p[k]){const L=D[k];if(typeof L=="string"){const M=new gn(L);try{M.parseStatements(),M.errors.length>0&&c("M012",Q.type,k,M.errors[0].text)}catch(F){c("M012",Q.type,k,F.message)}}}else c("M011",Q.type,Q.type,k);const m=t.getComponentValidator(Q.type);if(m){const k=m(Q,o);if(k)if(Array.isArray(k))for(const N of k)c("M013",Q.type,N);else c("M013",Q.type,k)}}function l(Q){return/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(Q)}function c(Q,u,...d){B(Q,u,!1,...d)}function B(Q,u,d,...C){let h=Pk[Q]??"Unkonwn error";C&&C.forEach((p,D)=>h=I(h,`{${D}}`,C[D].toString())),r.push({name:u,code:Q,message:h,isWarning:d,args:C});function I(p,D,m){do p=p.replace(D,m);while(p.includes(D));return p}}}function rs(A,e,t,o={},r){if(t(A,e,!0,o),o.abort||o.cancel)return;const n=r.getComponentProps(A.type)??{},i=A.props??{};for(const l of Object.keys(i)){const c=n[l];if(!c)continue;const B=i[l];if(c.type==="ComponentDef"&&B.type&&(rs(B,A,t,o,r),o.abort||o.cancel))return}const s=r.getComponentEvents(A.type)??{},a=A.events??{};for(const l of Object.keys(a)){if(!s[l])continue;const B=a[l];if(typeof B=="object"&&B.type){if(rs(B,A,t,o,r),o.abort)return;if(o.cancel)break}}if(A.children)for(const l of A.children){if(rs(l,A,t,o,r),o.abort)return;if(o.cancel)break}t(A,void 0,!1,o)}const Pk={M001:"The component '{0}' is not registered",M002:"The '{0}' element has an invalid id: '{1}'",M003:"Invalid component identifier: '{0}'",M004:"Duplicated component identifier: '{0}'",M005:"The '{0}' element has an invalid property: '{1}'",M006:"Parsing property value of '{0}' failed: {1}",M007:"The name of a reusable component is invalid: '{0}'",M008:"The name of a reusable component must not be '{0}', as it is a reserved name",M009:"A reusable component cannot have the name of a registered component: '{0}'",M010:"Duplicated reusable component name: '{0}'",M011:"The '{0}' element has an invalid event: '{1}'",M012:"Parsing event value of '{0}' failed: {1}",M013:"Component validation failed: '{0}'"},uB="Main."+hl,Tk="Main."+Pn,Td="config.json";function Gd({appDef:A,decorateComponentsWithTestId:e,debugEnabled:t=!1,runtime:o,components:r,componentManager:n}){const i=E.useMemo(()=>typeof window<"u"&&window.location.href.startsWith("file"),[]),s=Gk(A,o,n);if(Hk(s),!s)return null;const{apiInterceptor:a,name:l,appGlobals:c,defaultTheme:B,defaultTone:Q,resources:u,resourceMap:d,entryPoint:C,components:h,themes:I,sources:p}=s,D=typeof window<"u"&&window.XMLUI_MOCK_API?window.XMLUI_MOCK_API:a,m=e||(typeof window<"u"?window.XMLUI_MOCK_TEST_ID:!1),k=(c==null?void 0:c.useHashBasedRouting)??!0;return g.jsx(Lk,{interceptor:D,useHashBasedRouting:k,children:g.jsx(Pd,{servedFromSingleFile:i,decorateComponentsWithTestId:m,node:C,standalone:!0,debugEnabled:t,routerBaseName:typeof window<"u"&&window.__PUBLIC_PATH||"",globalProps:{name:l,...c||{}},defaultTheme:B,defaultTone:Q,resources:u,resourceMap:d,sources:p,componentManager:n,contributes:{compoundComponents:h,components:r,themes:I}})})}async function EB(A){if(!A.ok)throw new Error(`Failed to fetch ${A.url}`);const e=await A.text(),t=A.url;let{component:o,errors:r,erroneousCompoundComponentName:n}=aE(e,t);if(r.length>0){const i=n??A.url.substring(A.url.lastIndexOf("/")+1,A.url.length-6);o=Om(r,t,i)}return{component:o,src:e,file:t,hasError:r.length>0}}async function dB(A){if(!A.ok)throw new Error(`Failed to fetch ${A.url}`);const e=await A.text(),t=new gn(e);try{t.parseStatements()}catch{if(t.errors.length>0)return{component:Jm(t.errors[0],A.url),file:A.url,hasError:!0}}const o=K1("Main",e,()=>"",r=>r);return Object.keys(o.moduleErrors??{}).length>0?{component:qm(o.moduleErrors,A.url),file:A.url,hasError:!0}:(ap(o),{codeBehind:o,file:A.url})}function Il(A,e){return A.endsWith(`/${e}.ts`)||A.endsWith(`/${e}.js`)||A.endsWith(`/${e}.${hl}`)||A.endsWith(`/${e}.${Pn}`)}function Hd(A,e){return A.includes(`/${e}/`)}function Ud(A){const e={},t={},o={},r=[];let n,i,s,a;for(const[Q,u]of Object.entries(A))Il(Q,"config")&&(n=u.default),(Il(Q,"Main")||Il(Q,"App"))&&(Q.endsWith(Pn)?s=u.default:(i=u.default.component,u.default.file&&(e[u.default.file]=u.default.src))),Il(Q,"api")&&(a=u.default),Hd(Q,"components")&&(Q.endsWith(`.${Pn}`)?o[Q]=u.default:(t[Q]=u.default.component,e[u.default.file]=u.default.src)),Hd(Q,"themes")&&r.push(u.default);const l=(n==null?void 0:n.entryPoint)||i,c={...l,vars:{...s==null?void 0:s.vars,...l==null?void 0:l.vars},functions:s==null?void 0:s.functions,scriptError:s==null?void 0:s.moduleErrors};let B=[];return n!=null&&n.components?B=n.components:Object.entries(t).forEach(([Q,u])=>{const d=o[`${Q}.xs`],C={...u,component:{...u.component,vars:{...u.component.vars,...d==null?void 0:d.vars},functions:d==null?void 0:d.functions,scriptError:d==null?void 0:d.moduleErrors}};B.push(C)}),{...n,entryPoint:c,components:B,themes:(n==null?void 0:n.themes)||r,apiInterceptor:(n==null?void 0:n.apiInterceptor)||a,sources:e}}function Rd(A,e){return e?{...e,entryPoint:e.entryPoint||A.entryPoint,components:e.components||A.components,themes:e.themes||A.themes,apiInterceptor:e.apiInterceptor||A.apiInterceptor}:A}async function yo(A){return fetch(xQ(A),{headers:{"Cache-Control":"no-cache, no-store"}})}function Gk(A,e=GA,t){const[o,r]=E.useState(()=>{const n=Ud(e),i=Rd(n,A);if((process.env.VITE_DEV_MODE||process.env.VITE_BUILD_MODE==="INLINE_ALL")&&!process.env.VITE_STANDALONE){if(!i)throw new Error("couldn't find the application metadata");return i}return null});return $t(()=>{(async function(){var F,v,y,P;const n=Ud(e),i=Rd(n,A);if((process.env.VITE_DEV_MODE||process.env.VITE_BUILD_MODE==="INLINE_ALL")&&!process.env.VITE_STANDALONE){if(!i)throw new Error("couldn't find the application metadata");r(i);return}if(process.env.VITE_BUILD_MODE==="CONFIG_ONLY"){const _=await(await yo(Td)).json(),q=[];(F=_.themes)==null||F.forEach(z=>{q.push(yo(z).then(T=>T.json()))});const J=await Promise.all(q);r({...i,name:_.name,appGlobals:_.appGlobals,defaultTheme:_.defaultTheme,resources:_.resources,resourceMap:_.resourceMap,themes:J});return}const s=new Promise(async b=>{try{const _=await yo(uB);_.ok?b(EB(_)):b({component:Km(`Failed to load the main component (${uB})`),file:uB,hasError:!0})}catch{b(null)}}),a=new Promise(async b=>{try{const _=await yo(Tk),q=await dB(_);b(q.hasError?q:q.codeBehind)}catch{b(null)}});let l;try{l=await(await yo(Td)).json()}catch{}const c=(v=l==null?void 0:l.themes)==null?void 0:v.map(b=>yo(b).then(_=>_.json())),B=(y=l==null?void 0:l.components)==null?void 0:y.map(async b=>{const _=await yo(b);return b.endsWith(`.${hl}`)?await EB(_):await dB(_)}),[Q,u,d,C]=await Promise.all([s,a,Promise.all(B||[]),Promise.all(c||[])]),h=[];Q.hasError&&h.push(Q.component),u!=null&&u.hasError&&h.push(u.component),d.forEach(b=>{b.hasError&&h.push(b.component)});const I={},p={};Q.file&&(I[Q.file]=Q.src),d.forEach(b=>{var _;(_=b==null?void 0:b.file)!=null&&_.endsWith(`.${Pn}`)?p[b.file]=b.codeBehind:b.file&&(I[b.file]=b.src)});const D={...Q.component,vars:{...u==null?void 0:u.vars,...Q.component.vars},functions:u==null?void 0:u.functions,scriptError:u==null?void 0:u.moduleErrors},m=(P=D.props)==null?void 0:P.defaultTheme;m&&typeof m=="string"&&!m.includes("{")&&!RQ.find(b=>b.id===m)&&!C.find(b=>b.id===m)&&C.push(await yo(`themes/${m}.json`).then(b=>b.json()));const k=d.filter(b=>{var _;return!((_=b==null?void 0:b.file)!=null&&_.endsWith(".xmlui.xs"))}).map(b=>{const _=p[b.file+".xs"];return{...b.component,component:{...b.component.component,vars:{...b.component.component.vars,..._==null?void 0:_.vars},functions:_==null?void 0:_.functions,scriptError:_==null?void 0:_.moduleErrors}}});let N=Yd(D,k,void 0,t);const L=new Set;for(;N.size>0;){const b=[...N].map(async q=>{try{const J=yo(`components/${q}.${hl}`),z=new Promise(async Y=>{try{const U=await dB(await yo(`components/${q}.${Pn}`));U.hasError&&h.push(U.component),Y(U.hasError?U.component:U.codeBehind)}catch{Y(null)}}),[T,S]=await Promise.all([J,z]),G=await EB(T);return G.hasError&&h.push(G.component),I[G.file]=G.src,{...G.component,component:{...G.component.component,vars:{...G.component.component.vars,...S==null?void 0:S.vars},functions:S==null?void 0:S.functions,scriptError:S==null?void 0:S.moduleErrors}}}catch{return L.add(q),null}}),_=await Promise.all(b);k.push(..._.filter(q=>!!q)),N=Yd(D,k,L,t)}const M=h.length>0?{type:"VStack",props:{gap:0,padding:0},children:h}:null;r({...l,themes:C,sources:I,components:k,entryPoint:M||D})})()},[e,A]),o}function Yd(A,e,t=new Set,o){const r=new QB({compoundComponents:e},o),n=Sk(A,e,{getComponentProps:i=>{var s,a;return(a=(s=r.lookupComponentRenderer(i))==null?void 0:s.descriptor)==null?void 0:a.props},acceptArbitraryProps:()=>!0,getComponentValidator:()=>null,getComponentEvents:()=>null,componentRegistered:i=>r.hasComponent(i)});return r.destroy(),new Set(n.filter(i=>i.code==="M001").map(i=>i.args[0]).filter(i=>!t.has(i)))}function Hk(A){const e=E.useRef(!1);E.useEffect(()=>{if(e.current)return;e.current=!0;let t=`XMLUI version: ${process.env.VITE_XMLUI_VERSION||"dev"}`;A!=null&&A.name&&(t+=`; ${A.name} version: ${process.env.VITE_APP_VERSION||"dev"}`),console.log(t)},[A==null?void 0:A.name])}let pl=null;function Uk(A,e,t){let o=document.getElementById("root");return o||(o=document.createElement("div"),o.setAttribute("id","root"),document.body.appendChild(o)),pl||(pl=ei.createRoot(o)),pl.render(g.jsx(Gd,{runtime:A,components:e,componentManager:t})),pl}let ns=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function Rk(A){return CB(A)}function CB(A){return Array.isArray(A)?Yk(A):typeof A=="object"?Kk(A):A}function Yk(A){let e=[];for(let t=0,o=A.length;t<o;t++)e[t]=CB(A[t]);return e}function Kk(A){let e={};for(let t in A)e[t]=CB(A[t]);return e}function Kd(A,...e){return e.forEach(t=>{for(let o in t)A[o]=t[o]}),A}function Od(A){const e=~A.lastIndexOf("/")||~A.lastIndexOf("\\");return e===0?A:~e===A.length-1?Od(A.substring(0,A.length-1)):A.substr(~e+1)}var hB=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,wl=class{static hasCaptures(A){return A===null?!1:(hB.lastIndex=0,hB.test(A))}static replaceCaptures(A,e,t){return A.replace(hB,(o,r,n,i)=>{let s=t[parseInt(r||n,10)];if(s){let a=e.substring(s.start,s.end);for(;a[0]===".";)a=a.substring(1);switch(i){case"downcase":return a.toLowerCase();case"upcase":return a.toUpperCase();default:return a}}else return o})}};function Jd(A,e){return A<e?-1:A>e?1:0}function qd(A,e){if(A===null&&e===null)return 0;if(!A)return-1;if(!e)return 1;let t=A.length,o=e.length;if(t===o){for(let r=0;r<t;r++){let n=Jd(A[r],e[r]);if(n!==0)return n}return 0}return t-o}function zd(A){return!!(/^#[0-9a-f]{6}$/i.test(A)||/^#[0-9a-f]{8}$/i.test(A)||/^#[0-9a-f]{3}$/i.test(A)||/^#[0-9a-f]{4}$/i.test(A))}function Wd(A){return A.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $d=class{constructor(A){this.fn=A,this.cache=new Map}get(A){if(this.cache.has(A))return this.cache.get(A);const e=this.fn(A);return this.cache.set(A,e),e}},fl=class{constructor(A,e,t){this._colorMap=A,this._defaults=e,this._root=t,this._cachedMatchRoot=new $d(o=>this._root.match(o))}static createFromRawTheme(A,e){return this.createFromParsedTheme(qk(A),e)}static createFromParsedTheme(A,e){return Wk(A,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(A){if(A===null)return this._defaults;const e=A.scopeName,o=this._cachedMatchRoot.get(e).find(r=>Ok(A.parent,r.parentScopes));return o?new jd(o.fontStyle,o.foreground,o.background):null}},IB=class Ag{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const o of t)e=new Ag(e,o);return e}static from(...e){let t=null;for(let o=0;o<e.length;o++)t=new Ag(t,e[o]);return t}push(e){return new Ag(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let o=this;for(;o&&o!==e;)t.push(o.scopeName),o=o.parent;return o===e?t.reverse():void 0}};function Ok(A,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let o=e[t],r=!1;if(o===">"){if(t===e.length-1)return!1;o=e[++t],r=!0}for(;A&&!Jk(A.scopeName,o);){if(r)return!1;A=A.parent}if(!A)return!1;A=A.parent}return!0}function Jk(A,e){return e===A||A.startsWith(e)&&A[e.length]==="."}var jd=class{constructor(A,e,t){this.fontStyle=A,this.foregroundId=e,this.backgroundId=t}};function qk(A){if(!A)return[];if(!A.settings||!Array.isArray(A.settings))return[];let e=A.settings,t=[],o=0;for(let r=0,n=e.length;r<n;r++){let i=e[r];if(!i.settings)continue;let s;if(typeof i.scope=="string"){let B=i.scope;B=B.replace(/^[,]+/,""),B=B.replace(/[,]+$/,""),s=B.split(",")}else Array.isArray(i.scope)?s=i.scope:s=[""];let a=-1;if(typeof i.settings.fontStyle=="string"){a=0;let B=i.settings.fontStyle.split(" ");for(let Q=0,u=B.length;Q<u;Q++)switch(B[Q]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let l=null;typeof i.settings.foreground=="string"&&zd(i.settings.foreground)&&(l=i.settings.foreground);let c=null;typeof i.settings.background=="string"&&zd(i.settings.background)&&(c=i.settings.background);for(let B=0,Q=s.length;B<Q;B++){let d=s[B].trim().split(" "),C=d[d.length-1],h=null;d.length>1&&(h=d.slice(0,d.length-1),h.reverse()),t[o++]=new zk(C,h,r,a,l,c)}}return t}var zk=class{constructor(A,e,t,o,r,n){this.scope=A,this.parentScopes=e,this.index=t,this.fontStyle=o,this.foreground=r,this.background=n}},bo=(A=>(A[A.NotSet=-1]="NotSet",A[A.None=0]="None",A[A.Italic=1]="Italic",A[A.Bold=2]="Bold",A[A.Underline=4]="Underline",A[A.Strikethrough=8]="Strikethrough",A))(bo||{});function Wk(A,e){A.sort((a,l)=>{let c=Jd(a.scope,l.scope);return c!==0||(c=qd(a.parentScopes,l.parentScopes),c!==0)?c:a.index-l.index});let t=0,o="#000000",r="#ffffff";for(;A.length>=1&&A[0].scope==="";){let a=A.shift();a.fontStyle!==-1&&(t=a.fontStyle),a.foreground!==null&&(o=a.foreground),a.background!==null&&(r=a.background)}let n=new $k(e),i=new jd(t,n.getId(o),n.getId(r)),s=new Vk(new pB(0,null,-1,0,0),[]);for(let a=0,l=A.length;a<l;a++){let c=A[a];s.insert(0,c.scope,c.parentScopes,c.fontStyle,n.getId(c.foreground),n.getId(c.background))}return new fl(n,i,s)}var $k=class{constructor(A){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(A)){this._isFrozen=!0;for(let e=0,t=A.length;e<t;e++)this._color2id[A[e]]=e,this._id2color[e]=A[e]}else this._isFrozen=!1}getId(A){if(A===null)return 0;A=A.toUpperCase();let e=this._color2id[A];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${A}`);return e=++this._lastColorId,this._color2id[A]=e,this._id2color[e]=A,e}getColorMap(){return this._id2color.slice(0)}},jk=Object.freeze([]),pB=class VI{constructor(e,t,o,r,n){this.scopeDepth=e,this.parentScopes=t||jk,this.fontStyle=o,this.foreground=r,this.background=n}clone(){return new VI(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let o=0,r=e.length;o<r;o++)t[o]=e[o].clone();return t}acceptOverwrite(e,t,o,r){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),o!==0&&(this.foreground=o),r!==0&&(this.background=r)}},Vk=class CQ{constructor(e,t=[],o={}){this._mainRule=e,this._children=o,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let o=0,r=0;for(;e.parentScopes[o]===">"&&o++,t.parentScopes[r]===">"&&r++,!(o>=e.parentScopes.length||r>=t.parentScopes.length);){const n=t.parentScopes[r].length-e.parentScopes[o].length;if(n!==0)return n;o++,r++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let o=e.indexOf("."),r,n;if(o===-1?(r=e,n=""):(r=e.substring(0,o),n=e.substring(o+1)),this._children.hasOwnProperty(r))return this._children[r].match(n)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(CQ._cmpBySpecificity),t}insert(e,t,o,r,n,i){if(t===""){this._doInsertHere(e,o,r,n,i);return}let s=t.indexOf("."),a,l;s===-1?(a=t,l=""):(a=t.substring(0,s),l=t.substring(s+1));let c;this._children.hasOwnProperty(a)?c=this._children[a]:(c=new CQ(this._mainRule.clone(),pB.cloneArr(this._rulesWithParentScopes)),this._children[a]=c),c.insert(e+1,l,o,r,n,i)}_doInsertHere(e,t,o,r,n){if(t===null){this._mainRule.acceptOverwrite(e,o,r,n);return}for(let i=0,s=this._rulesWithParentScopes.length;i<s;i++){let a=this._rulesWithParentScopes[i];if(qd(a.parentScopes,t)===0){a.acceptOverwrite(e,o,r,n);return}}o===-1&&(o=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),n===0&&(n=this._mainRule.background),this._rulesWithParentScopes.push(new pB(e,t,o,r,n))}},$r=class zt{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=zt.getLanguageId(e),o=zt.getTokenType(e),r=zt.getFontStyle(e),n=zt.getForeground(e),i=zt.getBackground(e);console.log({languageId:t,tokenType:o,fontStyle:r,foreground:n,background:i})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,o,r,n,i,s){let a=zt.getLanguageId(e),l=zt.getTokenType(e),c=zt.containsBalancedBrackets(e)?1:0,B=zt.getFontStyle(e),Q=zt.getForeground(e),u=zt.getBackground(e);return t!==0&&(a=t),o!==8&&(l=o),r!==null&&(c=r?1:0),n!==-1&&(B=n),i!==0&&(Q=i),s!==0&&(u=s),(a<<0|l<<8|c<<10|B<<11|Q<<15|u<<24)>>>0}};function fz(A){return A}function Dz(A){return A}function Dl(A,e){const t=[],o=Xk(A);let r=o.next();for(;r!==null;){let a=0;if(r.length===2&&r.charAt(1)===":"){switch(r.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${r} in scope selector`)}r=o.next()}let l=i();if(t.push({matcher:l,priority:a}),r!==",")break;r=o.next()}return t;function n(){if(r==="-"){r=o.next();const a=n();return l=>!!a&&!a(l)}if(r==="("){r=o.next();const a=s();return r===")"&&(r=o.next()),a}if(Vd(r)){const a=[];do a.push(r),r=o.next();while(Vd(r));return l=>e(a,l)}return null}function i(){const a=[];let l=n();for(;l;)a.push(l),l=n();return c=>a.every(B=>B(c))}function s(){const a=[];let l=i();for(;l&&(a.push(l),r==="|"||r===",");){do r=o.next();while(r==="|"||r===",");l=i()}return c=>a.some(B=>B(c))}}function Vd(A){return!!A&&!!A.match(/[\w\.:]+/)}function Xk(A){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(A);return{next:()=>{if(!t)return null;const o=t[0];return t=e.exec(A),o}}}function Xd(A){typeof A.dispose=="function"&&A.dispose()}var is=class{constructor(A){this.scopeName=A}toKey(){return this.scopeName}},Zk=class{constructor(A,e){this.scopeName=A,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},AM=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(A){const e=A.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(A))}},eM=class{constructor(A,e){this.repo=A,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new is(this.initialScopeName)]}processQueue(){const A=this.Q;this.Q=[];const e=new AM;for(const t of A)tM(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof is){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function tM(A,e,t,o){const r=t.lookup(A.scopeName);if(!r){if(A.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const n=t.lookup(e);A instanceof is?ml({baseGrammar:n,selfGrammar:r},o):wB(A.ruleName,{baseGrammar:n,selfGrammar:r,repository:r.repository},o);const i=t.injections(A.scopeName);if(i)for(const s of i)o.add(new is(s))}function wB(A,e,t){if(e.repository&&e.repository[A]){const o=e.repository[A];xl([o],e,t)}}function ml(A,e){A.selfGrammar.patterns&&Array.isArray(A.selfGrammar.patterns)&&xl(A.selfGrammar.patterns,{...A,repository:A.selfGrammar.repository},e),A.selfGrammar.injections&&xl(Object.values(A.selfGrammar.injections),{...A,repository:A.selfGrammar.repository},e)}function xl(A,e,t){for(const o of A){if(t.visitedRule.has(o))continue;t.visitedRule.add(o);const r=o.repository?Kd({},e.repository,o.repository):e.repository;Array.isArray(o.patterns)&&xl(o.patterns,{...e,repository:r},t);const n=o.include;if(!n)continue;const i=Zd(n);switch(i.kind){case 0:ml({...e,selfGrammar:e.baseGrammar},t);break;case 1:ml(e,t);break;case 2:wB(i.ruleName,{...e,repository:r},t);break;case 3:case 4:const s=i.scopeName===e.selfGrammar.scopeName?e.selfGrammar:i.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(s){const a={baseGrammar:e.baseGrammar,selfGrammar:s,repository:r};i.kind===4?wB(i.ruleName,a,t):ml(a,t)}else i.kind===4?t.add(new Zk(i.scopeName,i.ruleName)):t.add(new is(i.scopeName));break}}}var oM=class{constructor(){this.kind=0}},rM=class{constructor(){this.kind=1}},nM=class{constructor(A){this.ruleName=A,this.kind=2}},iM=class{constructor(A){this.scopeName=A,this.kind=3}},sM=class{constructor(A,e){this.scopeName=A,this.ruleName=e,this.kind=4}};function Zd(A){if(A==="$base")return new oM;if(A==="$self")return new rM;const e=A.indexOf("#");if(e===-1)return new iM(A);if(e===0)return new nM(A.substring(1));{const t=A.substring(0,e),o=A.substring(e+1);return new sM(t,o)}}var aM=/\\(\d+)/,AC=/\\(\d+)/g,lM=-1,eC=-2;function mz(A){return A}function xz(A){return A}var ss=class{constructor(A,e,t,o){this.$location=A,this.id=e,this._name=t||null,this._nameIsCapturing=wl.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=wl.hasCaptures(this._contentName)}get debugName(){const A=this.$location?`${Od(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${A}`}getName(A,e){return!this._nameIsCapturing||this._name===null||A===null||e===null?this._name:wl.replaceCaptures(this._name,A,e)}getContentName(A,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:wl.replaceCaptures(this._contentName,A,e)}},gM=class extends ss{constructor(A,e,t,o,r){super(A,e,t,o),this.retokenizeCapturedWithRuleId=r}dispose(){}collectPatterns(A,e){throw new Error("Not supported!")}compile(A,e){throw new Error("Not supported!")}compileAG(A,e,t,o){throw new Error("Not supported!")}},cM=class extends ss{constructor(A,e,t,o,r){super(A,e,t,null),this._match=new as(o,this.id),this.captures=r,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(A,e){e.push(this._match)}compile(A,e){return this._getCachedCompiledPatterns(A).compile(A)}compileAG(A,e,t,o){return this._getCachedCompiledPatterns(A).compileAG(A,t,o)}_getCachedCompiledPatterns(A){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ls,this.collectPatterns(A,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},tC=class extends ss{constructor(A,e,t,o,r){super(A,e,t,o),this.patterns=r.patterns,this.hasMissingPatterns=r.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(A,e){for(const t of this.patterns)A.getRule(t).collectPatterns(A,e)}compile(A,e){return this._getCachedCompiledPatterns(A).compile(A)}compileAG(A,e,t,o){return this._getCachedCompiledPatterns(A).compileAG(A,t,o)}_getCachedCompiledPatterns(A){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ls,this.collectPatterns(A,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},fB=class extends ss{constructor(A,e,t,o,r,n,i,s,a,l){super(A,e,t,o),this._begin=new as(r,this.id),this.beginCaptures=n,this._end=new as(i||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=a||!1,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(A,e){return this._end.resolveBackReferences(A,e)}collectPatterns(A,e){e.push(this._begin)}compile(A,e){return this._getCachedCompiledPatterns(A,e).compile(A)}compileAG(A,e,t,o){return this._getCachedCompiledPatterns(A,e).compileAG(A,t,o)}_getCachedCompiledPatterns(A,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ls;for(const t of this.patterns)A.getRule(t).collectPatterns(A,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},vl=class extends ss{constructor(A,e,t,o,r,n,i,s,a){super(A,e,t,o),this._begin=new as(r,this.id),this.beginCaptures=n,this.whileCaptures=s,this._while=new as(i,eC),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(A,e){return this._while.resolveBackReferences(A,e)}collectPatterns(A,e){e.push(this._begin)}compile(A,e){return this._getCachedCompiledPatterns(A).compile(A)}compileAG(A,e,t,o){return this._getCachedCompiledPatterns(A).compileAG(A,t,o)}_getCachedCompiledPatterns(A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ls;for(const e of this.patterns)A.getRule(e).collectPatterns(A,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(A,e){return this._getCachedCompiledWhilePatterns(A,e).compile(A)}compileWhileAG(A,e,t,o){return this._getCachedCompiledWhilePatterns(A,e).compileAG(A,t,o)}_getCachedCompiledWhilePatterns(A,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ls,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||"￿"),this._cachedCompiledWhilePatterns}},oC=class Xe{static createCaptureRule(e,t,o,r,n){return e.registerRule(i=>new gM(t,i,o,r,n))}static getCompiledRuleId(e,t,o){return e.id||t.registerRule(r=>{if(e.id=r,e.match)return new cM(e.$vscodeTextmateLocation,e.id,e.name,e.match,Xe._compileCaptures(e.captures,t,o));if(typeof e.begin>"u"){e.repository&&(o=Kd({},o,e.repository));let n=e.patterns;return typeof n>"u"&&e.include&&(n=[{include:e.include}]),new tC(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Xe._compilePatterns(n,t,o))}return e.while?new vl(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Xe._compileCaptures(e.beginCaptures||e.captures,t,o),e.while,Xe._compileCaptures(e.whileCaptures||e.captures,t,o),Xe._compilePatterns(e.patterns,t,o)):new fB(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Xe._compileCaptures(e.beginCaptures||e.captures,t,o),e.end,Xe._compileCaptures(e.endCaptures||e.captures,t,o),e.applyEndPatternLast,Xe._compilePatterns(e.patterns,t,o))}),e.id}static _compileCaptures(e,t,o){let r=[];if(e){let n=0;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const s=parseInt(i,10);s>n&&(n=s)}for(let i=0;i<=n;i++)r[i]=null;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const s=parseInt(i,10);let a=0;e[i].patterns&&(a=Xe.getCompiledRuleId(e[i],t,o)),r[s]=Xe.createCaptureRule(t,e[i].$vscodeTextmateLocation,e[i].name,e[i].contentName,a)}}return r}static _compilePatterns(e,t,o){let r=[];if(e)for(let n=0,i=e.length;n<i;n++){const s=e[n];let a=-1;if(s.include){const l=Zd(s.include);switch(l.kind){case 0:case 1:a=Xe.getCompiledRuleId(o[s.include],t,o);break;case 2:let c=o[l.ruleName];c&&(a=Xe.getCompiledRuleId(c,t,o));break;case 3:case 4:const B=l.scopeName,Q=l.kind===4?l.ruleName:null,u=t.getExternalGrammar(B,o);if(u)if(Q){let d=u.repository[Q];d&&(a=Xe.getCompiledRuleId(d,t,u.repository))}else a=Xe.getCompiledRuleId(u.repository.$self,t,u.repository);break}}else a=Xe.getCompiledRuleId(s,t,o);if(a!==-1){const l=t.getRule(a);let c=!1;if((l instanceof tC||l instanceof fB||l instanceof vl)&&l.hasMissingPatterns&&l.patterns.length===0&&(c=!0),c)continue;r.push(a)}}return{patterns:r,hasMissingPatterns:(e?e.length:0)!==r.length}}},as=class XI{constructor(e,t){if(e){const o=e.length;let r=0,n=[],i=!1;for(let s=0;s<o;s++)if(e.charAt(s)==="\\"&&s+1<o){const l=e.charAt(s+1);l==="z"?(n.push(e.substring(r,s)),n.push("$(?!\\n)(?<!\\n)"),r=s+2):(l==="A"||l==="G")&&(i=!0),s++}this.hasAnchor=i,r===0?this.source=e:(n.push(e.substring(r,o)),this.source=n.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=aM.test(this.source)}clone(){return new XI(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let o=t.map(r=>e.substring(r.start,r.end));return AC.lastIndex=0,this.source.replace(AC,(r,n)=>Wd(o[parseInt(n,10)]||""))}_buildAnchorCache(){let e=[],t=[],o=[],r=[],n,i,s,a;for(n=0,i=this.source.length;n<i;n++)s=this.source.charAt(n),e[n]=s,t[n]=s,o[n]=s,r[n]=s,s==="\\"&&n+1<i&&(a=this.source.charAt(n+1),a==="A"?(e[n+1]="￿",t[n+1]="￿",o[n+1]="A",r[n+1]="A"):a==="G"?(e[n+1]="￿",t[n+1]="G",o[n+1]="￿",r[n+1]="G"):(e[n+1]=a,t[n+1]=a,o[n+1]=a,r[n+1]=a),n++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:o.join(""),A1_G1:r.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ls=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(A){this._items.push(A),this._hasAnchors=this._hasAnchors||A.hasAnchor}unshift(A){this._items.unshift(A),this._hasAnchors=this._hasAnchors||A.hasAnchor}length(){return this._items.length}setSource(A,e){this._items[A].source!==e&&(this._disposeCaches(),this._items[A].setSource(e))}compile(A){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new rC(A,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(A,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(A,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(A,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(A,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(A,e,t)),this._anchorCache.A0_G0):this.compile(A)}_resolveAnchors(A,e,t){let o=this._items.map(r=>r.resolveAnchors(e,t));return new rC(A,o,this._items.map(r=>r.ruleId))}},rC=class{constructor(A,e,t){this.regExps=e,this.rules=t,this.scanner=A.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const A=[];for(let e=0,t=this.rules.length;e<t;e++)A.push(" - "+this.rules[e]+": "+this.regExps[e]);return A.join(`
185
185
  `)}findNextMatchSync(A,e,t){const o=this.scanner.findNextMatchSync(A,e,t);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}},DB=class{constructor(A,e){this.languageId=A,this.tokenType=e}},mB=class hQ{constructor(e,t){this._getBasicScopeAttributes=new $d(o=>{const r=this._scopeToLanguage(o),n=this._toStandardTokenType(o);return new DB(r,n)}),this._defaultAttributes=new DB(e,8),this._embeddedLanguagesMatcher=new QM(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?hQ._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(hQ.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};mB._NULL_SCOPE_METADATA=new DB(0,0),mB.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var BM=mB,QM=class{constructor(A){if(A.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(A);const e=A.map(([t,o])=>Wd(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(A){if(!this.scopesRegExp)return;const e=A.match(this.scopesRegExp);if(e)return this.values.get(e[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var nC=class{constructor(A,e){this.stack=A,this.stoppedEarly=e}};function iC(A,e,t,o,r,n,i,s){const a=e.content.length;let l=!1,c=-1;if(i){const u=uM(A,e,t,o,r,n);r=u.stack,o=u.linePos,t=u.isFirstLine,c=u.anchorPosition}const B=Date.now();for(;!l;){if(s!==0&&Date.now()-B>s)return new nC(r,!0);Q()}return new nC(r,!1);function Q(){const u=EM(A,e,t,o,r,c);if(!u){n.produce(r,a),l=!0;return}const d=u.captureIndices,C=u.matchedRuleId,h=d&&d.length>0?d[0].end>o:!1;if(C===lM){const I=r.getRule(A);n.produce(r,d[0].start),r=r.withContentNameScopesList(r.nameScopesList),gs(A,e,t,r,n,I.endCaptures,d),n.produce(r,d[0].end);const p=r;if(r=r.parent,c=p.getAnchorPos(),!h&&p.getEnterPos()===o){r=p,n.produce(r,a),l=!0;return}}else{const I=A.getRule(C);n.produce(r,d[0].start);const p=r,D=I.getName(e.content,d),m=r.contentNameScopesList.pushAttributed(D,A);if(r=r.push(C,o,c,d[0].end===a,null,m,m),I instanceof fB){const k=I;gs(A,e,t,r,n,k.beginCaptures,d),n.produce(r,d[0].end),c=d[0].end;const N=k.getContentName(e.content,d),L=m.pushAttributed(N,A);if(r=r.withContentNameScopesList(L),k.endHasBackReferences&&(r=r.withEndRule(k.getEndWithResolvedBackReferences(e.content,d))),!h&&p.hasSameRuleAs(r)){r=r.pop(),n.produce(r,a),l=!0;return}}else if(I instanceof vl){const k=I;gs(A,e,t,r,n,k.beginCaptures,d),n.produce(r,d[0].end),c=d[0].end;const N=k.getContentName(e.content,d),L=m.pushAttributed(N,A);if(r=r.withContentNameScopesList(L),k.whileHasBackReferences&&(r=r.withEndRule(k.getWhileWithResolvedBackReferences(e.content,d))),!h&&p.hasSameRuleAs(r)){r=r.pop(),n.produce(r,a),l=!0;return}}else if(gs(A,e,t,r,n,I.captures,d),n.produce(r,d[0].end),r=r.pop(),!h){r=r.safePop(),n.produce(r,a),l=!0;return}}d[0].end>o&&(o=d[0].end,t=!1)}}function uM(A,e,t,o,r,n){let i=r.beginRuleCapturedEOL?0:-1;const s=[];for(let a=r;a;a=a.pop()){const l=a.getRule(A);l instanceof vl&&s.push({rule:l,stack:a})}for(let a=s.pop();a;a=s.pop()){const{ruleScanner:l,findOptions:c}=hM(a.rule,A,a.stack.endRule,t,o===i),B=l.findNextMatchSync(e,o,c);if(B){if(B.ruleId!==eC){r=a.stack.pop();break}B.captureIndices&&B.captureIndices.length&&(n.produce(a.stack,B.captureIndices[0].start),gs(A,e,t,a.stack,n,a.rule.whileCaptures,B.captureIndices),n.produce(a.stack,B.captureIndices[0].end),i=B.captureIndices[0].end,B.captureIndices[0].end>o&&(o=B.captureIndices[0].end,t=!1))}else{r=a.stack.pop();break}}return{stack:r,linePos:o,anchorPosition:i,isFirstLine:t}}function EM(A,e,t,o,r,n){const i=dM(A,e,t,o,r,n),s=A.getInjections();if(s.length===0)return i;const a=CM(s,A,e,t,o,r,n);if(!a)return i;if(!i)return a;const l=i.captureIndices[0].start,c=a.captureIndices[0].start;return c<l||a.priorityMatch&&c===l?a:i}function dM(A,e,t,o,r,n){const i=r.getRule(A),{ruleScanner:s,findOptions:a}=sC(i,A,r.endRule,t,o===n),l=s.findNextMatchSync(e,o,a);return l?{captureIndices:l.captureIndices,matchedRuleId:l.ruleId}:null}function CM(A,e,t,o,r,n,i){let s=Number.MAX_VALUE,a=null,l,c=0;const B=n.contentNameScopesList.getScopeNames();for(let Q=0,u=A.length;Q<u;Q++){const d=A[Q];if(!d.matcher(B))continue;const C=e.getRule(d.ruleId),{ruleScanner:h,findOptions:I}=sC(C,e,null,o,r===i),p=h.findNextMatchSync(t,r,I);if(!p)continue;const D=p.captureIndices[0].start;if(!(D>=s)&&(s=D,a=p.captureIndices,l=p.ruleId,c=d.priority,s===r))break}return a?{priorityMatch:c===-1,captureIndices:a,matchedRuleId:l}:null}function sC(A,e,t,o,r){return{ruleScanner:A.compileAG(e,t,o,r),findOptions:0}}function hM(A,e,t,o,r){return{ruleScanner:A.compileWhileAG(e,t,o,r),findOptions:0}}function gs(A,e,t,o,r,n,i){if(n.length===0)return;const s=e.content,a=Math.min(n.length,i.length),l=[],c=i[0].end;for(let B=0;B<a;B++){const Q=n[B];if(Q===null)continue;const u=i[B];if(u.length===0)continue;if(u.start>c)break;for(;l.length>0&&l[l.length-1].endPos<=u.start;)r.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop();if(l.length>0?r.produceFromScopes(l[l.length-1].scopes,u.start):r.produce(o,u.start),Q.retokenizeCapturedWithRuleId){const C=Q.getName(s,i),h=o.contentNameScopesList.pushAttributed(C,A),I=Q.getContentName(s,i),p=h.pushAttributed(I,A),D=o.push(Q.retokenizeCapturedWithRuleId,u.start,-1,!1,null,h,p),m=A.createOnigString(s.substring(0,u.end));iC(A,m,t&&u.start===0,u.start,D,r,!1,0),Xd(m);continue}const d=Q.getName(s,i);if(d!==null){const h=(l.length>0?l[l.length-1].scopes:o.contentNameScopesList).pushAttributed(d,A);l.push(new IM(h,u.end))}}for(;l.length>0;)r.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var IM=class{constructor(A,e){this.scopes=A,this.endPos=e}};function pM(A,e,t,o,r,n,i,s){return new fM(A,e,t,o,r,n,i,s)}function aC(A,e,t,o,r){const n=Dl(e,yl),i=oC.getCompiledRuleId(t,o,r.repository);for(const s of n)A.push({debugSelector:e,matcher:s.matcher,ruleId:i,grammar:r,priority:s.priority})}function yl(A,e){if(e.length<A.length)return!1;let t=0;return A.every(o=>{for(let r=t;r<e.length;r++)if(wM(e[r],o))return t=r+1,!0;return!1})}function wM(A,e){if(!A)return!1;if(A===e)return!0;const t=e.length;return A.length>t&&A.substr(0,t)===e&&A[t]==="."}var fM=class{constructor(A,e,t,o,r,n,i,s){if(this._rootScopeName=A,this.balancedBracketSelectors=n,this._onigLib=s,this._basicScopeAttributesProvider=new BM(t,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=lC(e,null),this._injections=null,this._tokenTypeMatchers=[],r)for(const a of Object.keys(r)){const l=Dl(a,yl);for(const c of l)this._tokenTypeMatchers.push({matcher:c.matcher,type:r[a]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const A of this._ruleId2desc)A&&A.dispose()}createOnigScanner(A){return this._onigLib.createOnigScanner(A)}createOnigString(A){return this._onigLib.createOnigString(A)}getMetadataForScope(A){return this._basicScopeAttributesProvider.getBasicScopeAttributes(A)}_collectInjections(){const A={lookup:r=>r===this._rootScopeName?this._grammar:this.getExternalGrammar(r),injections:r=>this._grammarRepository.injections(r)},e=[],t=this._rootScopeName,o=A.lookup(t);if(o){const r=o.injections;if(r)for(let i in r)aC(e,i,r[i],this,o);const n=this._grammarRepository.injections(t);n&&n.forEach(i=>{const s=this.getExternalGrammar(i);if(s){const a=s.injectionSelector;a&&aC(e,a,s,this,s)}})}return e.sort((r,n)=>r.priority-n.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(A){const e=++this._lastRuleId,t=A(e);return this._ruleId2desc[e]=t,t}getRule(A){return this._ruleId2desc[A]}getExternalGrammar(A,e){if(this._includedGrammars[A])return this._includedGrammars[A];if(this._grammarRepository){const t=this._grammarRepository.lookup(A);if(t)return this._includedGrammars[A]=lC(t,e&&e.$base),this._includedGrammars[A]}}tokenizeLine(A,e,t=0){const o=this._tokenize(A,e,!1,t);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(A,e,t=0){const o=this._tokenize(A,e,!0,t);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(A,e,t,o){this._rootId===-1&&(this._rootId=oC.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let r;if(!e||e===vB.NULL){r=!0;const l=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),B=$r.set(0,l.languageId,l.tokenType,null,c.fontStyle,c.foregroundId,c.backgroundId),Q=this.getRule(this._rootId).getName(null,null);let u;Q?u=cs.createRootAndLookUpScopeName(Q,B,this):u=cs.createRoot("unknown",B),e=new vB(null,this._rootId,-1,-1,!1,null,u,u)}else r=!1,e.reset();A=A+`
186
186
  `;const n=this.createOnigString(A),i=n.content.length,s=new mM(t,A,this._tokenTypeMatchers,this.balancedBracketSelectors),a=iC(this,n,r,0,e,s,!0,o);return Xd(n),{lineLength:i,lineTokens:s,ruleStack:a.stack,stoppedEarly:a.stoppedEarly}}};function lC(A,e){return A=Rk(A),A.repository=A.repository||{},A.repository.$self={$vscodeTextmateLocation:A.$vscodeTextmateLocation,patterns:A.patterns,name:A.scopeName},A.repository.$base=e||A.repository.$self,A}var cs=class So{constructor(e,t,o){this.parent=e,this.scopePath=t,this.tokenAttributes=o}static fromExtension(e,t){let o=e,r=(e==null?void 0:e.scopePath)??null;for(const n of t)r=IB.push(r,n.scopeNames),o=new So(o,r,n.encodedTokenAttributes);return o}static createRoot(e,t){return new So(null,new IB(null,e),t)}static createRootAndLookUpScopeName(e,t,o){const r=o.getMetadataForScope(e),n=new IB(null,e),i=o.themeProvider.themeMatch(n),s=So.mergeAttributes(t,r,i);return new So(null,n,s)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return So.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,o){let r=-1,n=0,i=0;return o!==null&&(r=o.fontStyle,n=o.foregroundId,i=o.backgroundId),$r.set(e,t.languageId,t.tokenType,null,r,n,i)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return So._pushAttributed(this,e,t);const o=e.split(/ /g);let r=this;for(const n of o)r=So._pushAttributed(r,n,t);return r}static _pushAttributed(e,t,o){const r=o.getMetadataForScope(t),n=e.scopePath.push(t),i=o.themeProvider.themeMatch(n),s=So.mergeAttributes(e.tokenAttributes,r,i);return new So(e,n,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var r;const t=[];let o=this;for(;o&&o!==e;)t.push({encodedTokenAttributes:o.tokenAttributes,scopeNames:o.scopePath.getExtensionIfDefined(((r=o.parent)==null?void 0:r.scopePath)??null)}),o=o.parent;return o===e?t.reverse():void 0}},xB=class jn{constructor(e,t,o,r,n,i,s,a){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=n,this.endRule=i,this.nameScopesList=s,this.contentNameScopesList=a,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=o,this._anchorPos=r}equals(e){return e===null?!1:jn._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?cs.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){jn._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,o,r,n,i,s){return new jn(this,e,t,o,r,n,i,s)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var o,r;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(o=this.nameScopesList)==null?void 0:o.toString()}, ${(r=this.contentNameScopesList)==null?void 0:r.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new jn(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,o;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((o=this.contentNameScopesList)==null?void 0:o.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const o=cs.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new jn(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,o,cs.fromExtension(o,t.contentNameScopesList))}};xB.NULL=new xB(null,0,0,0,!1,null,null,null);var vB=xB,DM=class{constructor(A,e){this.allowAny=!1,this.balancedBracketScopes=A.flatMap(t=>t==="*"?(this.allowAny=!0,[]):Dl(t,yl).map(o=>o.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>Dl(t,yl).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(A){for(const e of this.unbalancedBracketScopes)if(e(A))return!1;for(const e of this.balancedBracketScopes)if(e(A))return!0;return this.allowAny}},mM=class{constructor(A,e,t,o){this.balancedBracketSelectors=o,this._emitBinaryTokens=A,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(A,e){this.produceFromScopes(A.contentNameScopesList,e)}produceFromScopes(A,e){var o;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let r=(A==null?void 0:A.tokenAttributes)??0,n=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(n=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=(A==null?void 0:A.getScopeNames())??[];for(const s of this._tokenTypeOverrides)s.matcher(i)&&(r=$r.set(r,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(n=this.balancedBracketSelectors.match(i))}if(n&&(r=$r.set(r,0,8,n,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=e;return}const t=(A==null?void 0:A.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(A,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(A,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(A,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(A,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let o=0,r=this._binaryTokens.length;o<r;o++)t[o]=this._binaryTokens[o];return t}},xM=class{constructor(A,e){this._onigLib=e,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=A}dispose(){for(const A of this._grammars.values())A.dispose()}setTheme(A){this._theme=A}getColorMap(){return this._theme.getColorMap()}addGrammar(A,e){this._rawGrammars.set(A.scopeName,A),e&&this._injectionGrammars.set(A.scopeName,e)}lookup(A){return this._rawGrammars.get(A)}injections(A){return this._injectionGrammars.get(A)}getDefaults(){return this._theme.getDefaults()}themeMatch(A){return this._theme.match(A)}grammarForScopeName(A,e,t,o,r){if(!this._grammars.has(A)){let n=this._rawGrammars.get(A);if(!n)return null;this._grammars.set(A,pM(A,n,e,t,o,r,this,this._onigLib))}return this._grammars.get(A)}},vM=class{constructor(e){this._options=e,this._syncRegistry=new xM(fl.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(fl.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,o){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:o})}loadGrammarWithConfiguration(e,t,o){return this._loadGrammar(e,t,o.embeddedLanguages,o.tokenTypes,new DM(o.balancedBracketSelectors||[],o.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,o,r,n){const i=new eM(this._syncRegistry,e);for(;i.Q.length>0;)i.Q.map(s=>this._loadSingleGrammar(s.scopeName)),i.processQueue();return this._grammarForScopeName(e,t,o,r,n)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const o=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,o)}}addGrammar(e,t=[],o=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,o,r)}_grammarForScopeName(e,t=0,o=null,r=null,n=null){return this._syncRegistry.grammarForScopeName(e,t,o,r,n)}},gC=vB.NULL;const yM=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Bs{constructor(e,t,o){this.property=e,this.normal=t,o&&(this.space=o)}}Bs.prototype.property={},Bs.prototype.normal={},Bs.prototype.space=null;function cC(A,e){const t={},o={};let r=-1;for(;++r<A.length;)Object.assign(t,A[r].property),Object.assign(o,A[r].normal);return new Bs(t,o,e)}function yB(A){return A.toLowerCase()}class Kt{constructor(e,t){this.property=e,this.attribute=t}}Kt.prototype.space=null,Kt.prototype.boolean=!1,Kt.prototype.booleanish=!1,Kt.prototype.overloadedBoolean=!1,Kt.prototype.number=!1,Kt.prototype.commaSeparated=!1,Kt.prototype.spaceSeparated=!1,Kt.prototype.commaOrSpaceSeparated=!1,Kt.prototype.mustUseProperty=!1,Kt.prototype.defined=!1;let bM=0;const PA=jr(),ve=jr(),BC=jr(),iA=jr(),le=jr(),Tn=jr(),bt=jr();function jr(){return 2**++bM}const bB=Object.freeze(Object.defineProperty({__proto__:null,boolean:PA,booleanish:ve,commaOrSpaceSeparated:bt,commaSeparated:Tn,number:iA,overloadedBoolean:BC,spaceSeparated:le},Symbol.toStringTag,{value:"Module"})),kB=Object.keys(bB);class MB extends Kt{constructor(e,t,o,r){let n=-1;if(super(e,t),QC(this,"space",r),typeof o=="number")for(;++n<kB.length;){const i=kB[n];QC(this,kB[n],(o&bB[i])===bB[i])}}}MB.prototype.defined=!0;function QC(A,e,t){t&&(A[e]=t)}const kM={}.hasOwnProperty;function Gn(A){const e={},t={};let o;for(o in A.properties)if(kM.call(A.properties,o)){const r=A.properties[o],n=new MB(o,A.transform(A.attributes||{},o),r,A.space);A.mustUseProperty&&A.mustUseProperty.includes(o)&&(n.mustUseProperty=!0),e[o]=n,t[yB(o)]=o,t[yB(n.attribute)]=o}return new Bs(e,t,A.space)}const uC=Gn({space:"xlink",transform(A,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),EC=Gn({space:"xml",transform(A,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function dC(A,e){return e in A?A[e]:e}function CC(A,e){return dC(A,e.toLowerCase())}const hC=Gn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:CC,properties:{xmlns:null,xmlnsXLink:null}}),IC=Gn({transform(A,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ve,ariaAutoComplete:null,ariaBusy:ve,ariaChecked:ve,ariaColCount:iA,ariaColIndex:iA,ariaColSpan:iA,ariaControls:le,ariaCurrent:null,ariaDescribedBy:le,ariaDetails:null,ariaDisabled:ve,ariaDropEffect:le,ariaErrorMessage:null,ariaExpanded:ve,ariaFlowTo:le,ariaGrabbed:ve,ariaHasPopup:null,ariaHidden:ve,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:le,ariaLevel:iA,ariaLive:null,ariaModal:ve,ariaMultiLine:ve,ariaMultiSelectable:ve,ariaOrientation:null,ariaOwns:le,ariaPlaceholder:null,ariaPosInSet:iA,ariaPressed:ve,ariaReadOnly:ve,ariaRelevant:null,ariaRequired:ve,ariaRoleDescription:le,ariaRowCount:iA,ariaRowIndex:iA,ariaRowSpan:iA,ariaSelected:ve,ariaSetSize:iA,ariaSort:null,ariaValueMax:iA,ariaValueMin:iA,ariaValueNow:iA,ariaValueText:null,role:null}}),MM=Gn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:CC,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Tn,acceptCharset:le,accessKey:le,action:null,allow:null,allowFullScreen:PA,allowPaymentRequest:PA,allowUserMedia:PA,alt:null,as:null,async:PA,autoCapitalize:null,autoComplete:le,autoFocus:PA,autoPlay:PA,blocking:le,capture:null,charSet:null,checked:PA,cite:null,className:le,cols:iA,colSpan:null,content:null,contentEditable:ve,controls:PA,controlsList:le,coords:iA|Tn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:PA,defer:PA,dir:null,dirName:null,disabled:PA,download:BC,draggable:ve,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:PA,formTarget:null,headers:le,height:iA,hidden:PA,high:iA,href:null,hrefLang:null,htmlFor:le,httpEquiv:le,id:null,imageSizes:null,imageSrcSet:null,inert:PA,inputMode:null,integrity:null,is:null,isMap:PA,itemId:null,itemProp:le,itemRef:le,itemScope:PA,itemType:le,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:PA,low:iA,manifest:null,max:null,maxLength:iA,media:null,method:null,min:null,minLength:iA,multiple:PA,muted:PA,name:null,nonce:null,noModule:PA,noValidate:PA,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:PA,optimum:iA,pattern:null,ping:le,placeholder:null,playsInline:PA,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:PA,referrerPolicy:null,rel:le,required:PA,reversed:PA,rows:iA,rowSpan:iA,sandbox:le,scope:null,scoped:PA,seamless:PA,selected:PA,shadowRootClonable:PA,shadowRootDelegatesFocus:PA,shadowRootMode:null,shape:null,size:iA,sizes:null,slot:null,span:iA,spellCheck:ve,src:null,srcDoc:null,srcLang:null,srcSet:null,start:iA,step:null,style:null,tabIndex:iA,target:null,title:null,translate:null,type:null,typeMustMatch:PA,useMap:null,value:ve,width:iA,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:le,axis:null,background:null,bgColor:null,border:iA,borderColor:null,bottomMargin:iA,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:PA,declare:PA,event:null,face:null,frame:null,frameBorder:null,hSpace:iA,leftMargin:iA,link:null,longDesc:null,lowSrc:null,marginHeight:iA,marginWidth:iA,noResize:PA,noHref:PA,noShade:PA,noWrap:PA,object:null,profile:null,prompt:null,rev:null,rightMargin:iA,rules:null,scheme:null,scrolling:ve,standby:null,summary:null,text:null,topMargin:iA,valueType:null,version:null,vAlign:null,vLink:null,vSpace:iA,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:PA,disableRemotePlayback:PA,prefix:null,property:null,results:iA,security:null,unselectable:null}}),NM=Gn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:dC,properties:{about:bt,accentHeight:iA,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:iA,amplitude:iA,arabicForm:null,ascent:iA,attributeName:null,attributeType:null,azimuth:iA,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:iA,by:null,calcMode:null,capHeight:iA,className:le,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:iA,diffuseConstant:iA,direction:null,display:null,dur:null,divisor:iA,dominantBaseline:null,download:PA,dx:null,dy:null,edgeMode:null,editable:null,elevation:iA,enableBackground:null,end:null,event:null,exponent:iA,externalResourcesRequired:null,fill:null,fillOpacity:iA,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Tn,g2:Tn,glyphName:Tn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:iA,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:iA,horizOriginX:iA,horizOriginY:iA,id:null,ideographic:iA,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:iA,k:iA,k1:iA,k2:iA,k3:iA,k4:iA,kernelMatrix:bt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:iA,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:iA,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:iA,overlineThickness:iA,paintOrder:null,panose1:null,path:null,pathLength:iA,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:le,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:iA,pointsAtY:iA,pointsAtZ:iA,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:bt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:bt,rev:bt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:bt,requiredFeatures:bt,requiredFonts:bt,requiredFormats:bt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:iA,specularExponent:iA,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:iA,strikethroughThickness:iA,string:null,stroke:null,strokeDashArray:bt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:iA,strokeOpacity:iA,strokeWidth:null,style:null,surfaceScale:iA,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:bt,tabIndex:iA,tableValues:null,target:null,targetX:iA,targetY:iA,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:bt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:iA,underlineThickness:iA,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:iA,values:null,vAlphabetic:iA,vMathematical:iA,vectorEffect:null,vHanging:iA,vIdeographic:iA,version:null,vertAdvY:iA,vertOriginX:iA,vertOriginY:iA,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:iA,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),_M=/^data[-\w.:]+$/i,pC=/-[a-z]/g,FM=/[A-Z]/g;function LM(A,e){const t=yB(e);let o=e,r=Kt;if(t in A.normal)return A.property[A.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&_M.test(e)){if(e.charAt(4)==="-"){const n=e.slice(5).replace(pC,PM);o="data"+n.charAt(0).toUpperCase()+n.slice(1)}else{const n=e.slice(4);if(!pC.test(n)){let i=n.replace(FM,SM);i.charAt(0)!=="-"&&(i="-"+i),e="data"+i}}r=MB}return new r(o,e)}function SM(A){return"-"+A.toLowerCase()}function PM(A){return A.charAt(1).toUpperCase()}const TM=cC([EC,uC,hC,IC,MM],"html"),wC=cC([EC,uC,hC,IC,NM],"svg"),fC={}.hasOwnProperty;function GM(A,e){const t=e||{};function o(r,...n){let i=o.invalid;const s=o.handlers;if(r&&fC.call(r,A)){const a=String(r[A]);i=fC.call(s,a)?s[a]:o.unknown}if(i)return i.call(this,r,...n)}return o.handlers=t.handlers||{},o.invalid=t.invalid,o.unknown=t.unknown,o}const HM=/["&'<>`]/g,UM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,RM=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,YM=/[|\\{}()[\]^$+*?.]/g,DC=new WeakMap;function KM(A,e){if(A=A.replace(e.subset?OM(e.subset):HM,o),e.subset||e.escapeOnly)return A;return A.replace(UM,t).replace(RM,o);function t(r,n,i){return e.format((r.charCodeAt(0)-55296)*1024+r.charCodeAt(1)-56320+65536,i.charCodeAt(n+2),e)}function o(r,n,i){return e.format(r.charCodeAt(0),i.charCodeAt(n+1),e)}}function OM(A){let e=DC.get(A);return e||(e=JM(A),DC.set(A,e)),e}function JM(A){const e=[];let t=-1;for(;++t<A.length;)e.push(A[t].replace(YM,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const qM=/[\dA-Fa-f]/;function zM(A,e,t){const o="&#x"+A.toString(16).toUpperCase();return t&&e&&!qM.test(String.fromCharCode(e))?o:o+";"}const WM=/\d/;function $M(A,e,t){const o="&#"+String(A);return t&&e&&!WM.test(String.fromCharCode(e))?o:o+";"}const jM=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],NB={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},VM=["cent","copy","divide","gt","lt","not","para","times"],mC={}.hasOwnProperty,_B={};let bl;for(bl in NB)mC.call(NB,bl)&&(_B[NB[bl]]=bl);const XM=/[^\dA-Za-z]/;function ZM(A,e,t,o){const r=String.fromCharCode(A);if(mC.call(_B,r)){const n=_B[r],i="&"+n;return t&&jM.includes(n)&&!VM.includes(n)&&(!o||e&&e!==61&&XM.test(String.fromCharCode(e)))?i:i+";"}return""}function AN(A,e,t){let o=zM(A,e,t.omitOptionalSemicolons),r;if((t.useNamedReferences||t.useShortestReferences)&&(r=ZM(A,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!r)&&t.useShortestReferences){const n=$M(A,e,t.omitOptionalSemicolons);n.length<o.length&&(o=n)}return r&&(!t.useShortestReferences||r.length<o.length)?r:o}function Hn(A,e){return KM(A,Object.assign({format:AN},e))}const eN=/^>|^->|<!--|-->|--!>|<!-$/g,tN=[">"],oN=["<",">"];function rN(A,e,t,o){return o.settings.bogusComments?"<?"+Hn(A.value,Object.assign({},o.settings.characterReferences,{subset:tN}))+">":"<!--"+A.value.replace(eN,r)+"-->";function r(n){return Hn(n,Object.assign({},o.settings.characterReferences,{subset:oN}))}}function nN(A,e,t,o){return"<!"+(o.settings.upperDoctype?"DOCTYPE":"doctype")+(o.settings.tightDoctype?"":" ")+"html>"}function xC(A,e){const t=String(A);if(typeof e!="string")throw new TypeError("Expected character");let o=0,r=t.indexOf(e);for(;r!==-1;)o++,r=t.indexOf(e,r+e.length);return o}function iN(A,e){const t=e||{};return(A[A.length-1]===""?[...A,""]:A).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function sN(A){return A.join(" ").trim()}const aN=/[ \t\n\f\r]/g;function FB(A){return typeof A=="object"?A.type==="text"?vC(A.value):!1:vC(A)}function vC(A){return A.replace(aN,"")===""}const _e=bC(1),yC=bC(-1),lN=[];function bC(A){return e;function e(t,o,r){const n=t?t.children:lN;let i=(o||0)+A,s=n[i];if(!r)for(;s&&FB(s);)i+=A,s=n[i];return s}}const gN={}.hasOwnProperty;function kC(A){return e;function e(t,o,r){return gN.call(A,t.tagName)&&A[t.tagName](t,o,r)}}const LB=kC({body:BN,caption:SB,colgroup:SB,dd:dN,dt:EN,head:SB,html:cN,li:uN,optgroup:CN,option:hN,p:QN,rp:MC,rt:MC,tbody:pN,td:NC,tfoot:wN,th:NC,thead:IN,tr:fN});function SB(A,e,t){const o=_e(t,e,!0);return!o||o.type!=="comment"&&!(o.type==="text"&&FB(o.value.charAt(0)))}function cN(A,e,t){const o=_e(t,e);return!o||o.type!=="comment"}function BN(A,e,t){const o=_e(t,e);return!o||o.type!=="comment"}function QN(A,e,t){const o=_e(t,e);return o?o.type==="element"&&(o.tagName==="address"||o.tagName==="article"||o.tagName==="aside"||o.tagName==="blockquote"||o.tagName==="details"||o.tagName==="div"||o.tagName==="dl"||o.tagName==="fieldset"||o.tagName==="figcaption"||o.tagName==="figure"||o.tagName==="footer"||o.tagName==="form"||o.tagName==="h1"||o.tagName==="h2"||o.tagName==="h3"||o.tagName==="h4"||o.tagName==="h5"||o.tagName==="h6"||o.tagName==="header"||o.tagName==="hgroup"||o.tagName==="hr"||o.tagName==="main"||o.tagName==="menu"||o.tagName==="nav"||o.tagName==="ol"||o.tagName==="p"||o.tagName==="pre"||o.tagName==="section"||o.tagName==="table"||o.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function uN(A,e,t){const o=_e(t,e);return!o||o.type==="element"&&o.tagName==="li"}function EN(A,e,t){const o=_e(t,e);return!!(o&&o.type==="element"&&(o.tagName==="dt"||o.tagName==="dd"))}function dN(A,e,t){const o=_e(t,e);return!o||o.type==="element"&&(o.tagName==="dt"||o.tagName==="dd")}function MC(A,e,t){const o=_e(t,e);return!o||o.type==="element"&&(o.tagName==="rp"||o.tagName==="rt")}function CN(A,e,t){const o=_e(t,e);return!o||o.type==="element"&&o.tagName==="optgroup"}function hN(A,e,t){const o=_e(t,e);return!o||o.type==="element"&&(o.tagName==="option"||o.tagName==="optgroup")}function IN(A,e,t){const o=_e(t,e);return!!(o&&o.type==="element"&&(o.tagName==="tbody"||o.tagName==="tfoot"))}function pN(A,e,t){const o=_e(t,e);return!o||o.type==="element"&&(o.tagName==="tbody"||o.tagName==="tfoot")}function wN(A,e,t){return!_e(t,e)}function fN(A,e,t){const o=_e(t,e);return!o||o.type==="element"&&o.tagName==="tr"}function NC(A,e,t){const o=_e(t,e);return!o||o.type==="element"&&(o.tagName==="td"||o.tagName==="th")}const DN=kC({body:vN,colgroup:yN,head:xN,html:mN,tbody:bN});function mN(A){const e=_e(A,-1);return!e||e.type!=="comment"}function xN(A){const e=A.children,t=[];let o=-1;for(;++o<e.length;){const r=e[o];if(r.type==="element"&&(r.tagName==="title"||r.tagName==="base")){if(t.includes(r.tagName))return!1;t.push(r.tagName)}}return e.length>0}function vN(A){const e=_e(A,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&FB(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function yN(A,e,t){const o=yC(t,e),r=_e(A,-1,!0);return t&&o&&o.type==="element"&&o.tagName==="colgroup"&&LB(o,t.children.indexOf(o),t)?!1:!!(r&&r.type==="element"&&r.tagName==="col")}function bN(A,e,t){const o=yC(t,e),r=_e(A,-1);return t&&o&&o.type==="element"&&(o.tagName==="thead"||o.tagName==="tbody")&&LB(o,t.children.indexOf(o),t)?!1:!!(r&&r.type==="element"&&r.tagName==="tr")}const kl={name:[[`
187
187
  \f\r &/=>`.split(""),`