You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
43 KiB
1 lines
43 KiB
import{r as J,s as Lo,N as I,x as h,z as p,y as v,D as y}from"./light-Cua7cqmF.js";import{s as Eo}from"./light-CVXL3bIM.js";import{b as Fo,d as Ro,c as Oo,f as jo,i as Vo,a as No,e as K,g as Go}from"./light-CE5Kvs_2.js";import{a as qo,s as Q}from"./Scrollbar-DVK2lT9w.js";import{c as Qo}from"./light-MOj96jwO.js";import{s as Uo,b as X}from"./Button-B7xQqa1N.js";import{s as _o}from"./light-BqIgj82_.js";import{s as Jo}from"./light-DhWiRhmf.js";import{s as Ko,c as Xo}from"./light-DU0-KyAX.js";import{s as Yo,p as Zo}from"./light-B00G814I.js";import{s as or}from"./light-BIogERFh.js";import{s as rr}from"./light-BJxzOxOf.js";import{s as er,a as lr,d as tr}from"./light-DGVaJDoA.js";import{c as ar}from"./light-CbIbiWrk.js";import{s as nr}from"./light-uWHRDFKR.js";import{c as ir,t as sr}from"./light-C52Zdmem.js";import{s as cr,a as dr}from"./light-DjE_cXZL.js";import{s as pr,a as Cr}from"./light-rvBL92Ju.js";import{s as mr}from"./light-DiXDfyIH.js";import{c as xr}from"./_common-h0mJDxlK.js";import{s as ur}from"./light-CUlEsFk3.js";import{s as gr}from"./light-DD97CHyt.js";import{s as hr}from"./light-DH15IGTV.js";import{s as br}from"./_common-D9N4yDJ1.js";import{a as fr}from"./light-BKuBIbLH.js";import{s as Sr}from"./light-DiBdiU84.js";import{c as vr}from"./_common-CtIASumb.js";import{s as Ir}from"./light-B52QuVq1.js";import{s as Hr}from"./light-D6zEcTvP.js";import{s as Pr}from"./light-Blmb_y9V.js";import{s as Dr}from"./light-DWk6YUKo.js";const s={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},Tr=J(s.neutralBase),Y=J(s.neutralInvertBase),kr=`rgba(${Y.slice(0,3).join(", ")}, `;function g(l){return`${kr+String(l)})`}function zr(l){const o=Array.from(Y);return o[3]=Number(l),h(Tr,o)}const a=Object.assign(Object.assign({name:"common"},Lo),{baseColor:s.neutralBase,primaryColor:s.primaryDefault,primaryColorHover:s.primaryHover,primaryColorPressed:s.primaryActive,primaryColorSuppl:s.primarySuppl,infoColor:s.infoDefault,infoColorHover:s.infoHover,infoColorPressed:s.infoActive,infoColorSuppl:s.infoSuppl,successColor:s.successDefault,successColorHover:s.successHover,successColorPressed:s.successActive,successColorSuppl:s.successSuppl,warningColor:s.warningDefault,warningColorHover:s.warningHover,warningColorPressed:s.warningActive,warningColorSuppl:s.warningSuppl,errorColor:s.errorDefault,errorColorHover:s.errorHover,errorColorPressed:s.errorActive,errorColorSuppl:s.errorSuppl,textColorBase:s.neutralTextBase,textColor1:g(s.alpha1),textColor2:g(s.alpha2),textColor3:g(s.alpha3),textColorDisabled:g(s.alpha4),placeholderColor:g(s.alpha4),placeholderColorDisabled:g(s.alpha5),iconColor:g(s.alpha4),iconColorDisabled:g(s.alpha5),iconColorHover:g(Number(s.alpha4)*1.25),iconColorPressed:g(Number(s.alpha4)*.8),opacity1:s.alpha1,opacity2:s.alpha2,opacity3:s.alpha3,opacity4:s.alpha4,opacity5:s.alpha5,dividerColor:g(s.alphaDivider),borderColor:g(s.alphaBorder),closeIconColorHover:g(Number(s.alphaClose)),closeIconColor:g(Number(s.alphaClose)),closeIconColorPressed:g(Number(s.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:g(s.alpha4),clearColorHover:I(g(s.alpha4),{alpha:1.25}),clearColorPressed:I(g(s.alpha4),{alpha:.8}),scrollbarColor:g(s.alphaScrollbar),scrollbarColorHover:g(s.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:g(s.alphaProgressRail),railColor:g(s.alphaRail),popoverColor:s.neutralPopover,tableColor:s.neutralCard,cardColor:s.neutralCard,modalColor:s.neutralModal,bodyColor:s.neutralBody,tagColor:zr(s.alphaTag),avatarColor:g(s.alphaAvatar),invertedColor:s.neutralBase,inputColor:g(s.alphaInput),codeColor:g(s.alphaCode),tabColor:g(s.alphaTab),actionColor:g(s.alphaAction),tableHeaderColor:g(s.alphaAction),hoverColor:g(s.alphaPending),tableColorHover:g(s.alphaTablePending),tableColorStriped:g(s.alphaTableStriped),pressedColor:g(s.alphaPressed),opacityDisabled:s.alphaDisabled,inputColorDisabled:g(s.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),w={name:"Empty",common:a,self:Fo},P={name:"Scrollbar",common:a,self:qo},j={name:"InternalSelectMenu",common:a,peers:{Scrollbar:P,Empty:w},self:Ro},A={name:"Popover",common:a,self:Yo},Z={name:"Tag",common:a,self(l){const{textColor2:o,primaryColorHover:r,primaryColorPressed:e,primaryColor:t,infoColor:n,successColor:i,warningColor:c,errorColor:d,baseColor:C,borderColor:m,tagColor:x,opacityDisabled:f,closeIconColor:b,closeIconColorHover:u,closeIconColorPressed:S,closeColorHover:H,closeColorPressed:k,borderRadiusSmall:z,fontSizeMini:$,fontSizeTiny:B,fontSizeSmall:M,fontSizeMedium:L,heightMini:E,heightTiny:F,heightSmall:R,heightMedium:O,buttonColor2Hover:N,buttonColor2Pressed:G,fontWeightStrong:q}=l;return Object.assign(Object.assign({},Oo),{closeBorderRadius:z,heightTiny:E,heightSmall:F,heightMedium:R,heightLarge:O,borderRadius:z,opacityDisabled:f,fontSizeTiny:$,fontSizeSmall:B,fontSizeMedium:M,fontSizeLarge:L,fontWeightStrong:q,textColorCheckable:o,textColorHoverCheckable:o,textColorPressedCheckable:o,textColorChecked:C,colorCheckable:"#0000",colorHoverCheckable:N,colorPressedCheckable:G,colorChecked:t,colorCheckedHover:r,colorCheckedPressed:e,border:`1px solid ${m}`,textColor:o,color:x,colorBordered:"#0000",closeIconColor:b,closeIconColorHover:u,closeIconColorPressed:S,closeColorHover:H,closeColorPressed:k,borderPrimary:`1px solid ${p(t,{alpha:.3})}`,textColorPrimary:t,colorPrimary:p(t,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:I(t,{lightness:.7}),closeIconColorHoverPrimary:I(t,{lightness:.7}),closeIconColorPressedPrimary:I(t,{lightness:.7}),closeColorHoverPrimary:p(t,{alpha:.16}),closeColorPressedPrimary:p(t,{alpha:.12}),borderInfo:`1px solid ${p(n,{alpha:.3})}`,textColorInfo:n,colorInfo:p(n,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:I(n,{alpha:.7}),closeIconColorHoverInfo:I(n,{alpha:.7}),closeIconColorPressedInfo:I(n,{alpha:.7}),closeColorHoverInfo:p(n,{alpha:.16}),closeColorPressedInfo:p(n,{alpha:.12}),borderSuccess:`1px solid ${p(i,{alpha:.3})}`,textColorSuccess:i,colorSuccess:p(i,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:I(i,{alpha:.7}),closeIconColorHoverSuccess:I(i,{alpha:.7}),closeIconColorPressedSuccess:I(i,{alpha:.7}),closeColorHoverSuccess:p(i,{alpha:.16}),closeColorPressedSuccess:p(i,{alpha:.12}),borderWarning:`1px solid ${p(c,{alpha:.3})}`,textColorWarning:c,colorWarning:p(c,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:I(c,{alpha:.7}),closeIconColorHoverWarning:I(c,{alpha:.7}),closeIconColorPressedWarning:I(c,{alpha:.7}),closeColorHoverWarning:p(c,{alpha:.16}),closeColorPressedWarning:p(c,{alpha:.11}),borderError:`1px solid ${p(d,{alpha:.3})}`,textColorError:d,colorError:p(d,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:I(d,{alpha:.7}),closeIconColorHoverError:I(d,{alpha:.7}),closeIconColorPressedError:I(d,{alpha:.7}),closeColorHoverError:p(d,{alpha:.16}),closeColorPressedError:p(d,{alpha:.12})})}},U={name:"InternalSelection",common:a,peers:{Popover:A},self(l){const{borderRadius:o,textColor2:r,textColorDisabled:e,inputColor:t,inputColorDisabled:n,primaryColor:i,primaryColorHover:c,warningColor:d,warningColorHover:C,errorColor:m,errorColorHover:x,iconColor:f,iconColorDisabled:b,clearColor:u,clearColorHover:S,clearColorPressed:H,placeholderColor:k,placeholderColorDisabled:z,fontSizeTiny:$,fontSizeSmall:B,fontSizeMedium:M,fontSizeLarge:L,heightTiny:E,heightSmall:F,heightMedium:R,heightLarge:O}=l;return Object.assign(Object.assign({},jo),{fontSizeTiny:$,fontSizeSmall:B,fontSizeMedium:M,fontSizeLarge:L,heightTiny:E,heightSmall:F,heightMedium:R,heightLarge:O,borderRadius:o,textColor:r,textColorDisabled:e,placeholderColor:k,placeholderColorDisabled:z,color:t,colorDisabled:n,colorActive:p(i,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${c}`,borderActive:`1px solid ${i}`,borderFocus:`1px solid ${c}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${p(i,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${p(i,{alpha:.4})}`,caretColor:i,arrowColor:f,arrowColorDisabled:b,loadingColor:i,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${C}`,borderActiveWarning:`1px solid ${d}`,borderFocusWarning:`1px solid ${C}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${p(d,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${p(d,{alpha:.4})}`,colorActiveWarning:p(d,{alpha:.1}),caretColorWarning:d,borderError:`1px solid ${m}`,borderHoverError:`1px solid ${x}`,borderActiveError:`1px solid ${m}`,borderFocusError:`1px solid ${x}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${p(m,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${p(m,{alpha:.4})}`,colorActiveError:p(m,{alpha:.1}),caretColorError:m,clearColor:u,clearColorHover:S,clearColorPressed:H})}},yr={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},$r={name:"Alert",common:a,self(l){const{lineHeight:o,borderRadius:r,fontWeightStrong:e,dividerColor:t,inputColor:n,textColor1:i,textColor2:c,closeColorHover:d,closeColorPressed:C,closeIconColor:m,closeIconColorHover:x,closeIconColorPressed:f,infoColorSuppl:b,successColorSuppl:u,warningColorSuppl:S,errorColorSuppl:H,fontSize:k}=l;return Object.assign(Object.assign({},yr),{fontSize:k,lineHeight:o,titleFontWeight:e,borderRadius:r,border:`1px solid ${t}`,color:n,titleTextColor:i,iconColor:c,contentTextColor:c,closeBorderRadius:r,closeColorHover:d,closeColorPressed:C,closeIconColor:m,closeIconColorHover:x,closeIconColorPressed:f,borderInfo:`1px solid ${p(b,{alpha:.35})}`,colorInfo:p(b,{alpha:.25}),titleTextColorInfo:i,iconColorInfo:b,contentTextColorInfo:c,closeColorHoverInfo:d,closeColorPressedInfo:C,closeIconColorInfo:m,closeIconColorHoverInfo:x,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${p(u,{alpha:.35})}`,colorSuccess:p(u,{alpha:.25}),titleTextColorSuccess:i,iconColorSuccess:u,contentTextColorSuccess:c,closeColorHoverSuccess:d,closeColorPressedSuccess:C,closeIconColorSuccess:m,closeIconColorHoverSuccess:x,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${p(S,{alpha:.35})}`,colorWarning:p(S,{alpha:.25}),titleTextColorWarning:i,iconColorWarning:S,contentTextColorWarning:c,closeColorHoverWarning:d,closeColorPressedWarning:C,closeIconColorWarning:m,closeIconColorHoverWarning:x,closeIconColorPressedWarning:f,borderError:`1px solid ${p(H,{alpha:.35})}`,colorError:p(H,{alpha:.25}),titleTextColorError:i,iconColorError:H,contentTextColorError:c,closeColorHoverError:d,closeColorPressedError:C,closeIconColorError:m,closeIconColorHoverError:x,closeIconColorPressedError:f})}},Br={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};function oo(l){const{borderRadius:o,railColor:r,primaryColor:e,primaryColorHover:t,primaryColorPressed:n,textColor2:i}=l;return Object.assign(Object.assign({},Br),{borderRadius:o,railColor:r,railColorActive:e,linkColor:p(e,{alpha:.15}),linkTextColor:i,linkTextColorHover:t,linkTextColorPressed:n,linkTextColorActive:e})}const Ll={name:"Anchor",common:v,self:oo},wr={name:"Anchor",common:a,self:oo},T={name:"Input",common:a,self(l){const{textColor2:o,textColor3:r,textColorDisabled:e,primaryColor:t,primaryColorHover:n,inputColor:i,inputColorDisabled:c,warningColor:d,warningColorHover:C,errorColor:m,errorColorHover:x,borderRadius:f,lineHeight:b,fontSizeTiny:u,fontSizeSmall:S,fontSizeMedium:H,fontSizeLarge:k,heightTiny:z,heightSmall:$,heightMedium:B,heightLarge:M,clearColor:L,clearColorHover:E,clearColorPressed:F,placeholderColor:R,placeholderColorDisabled:O,iconColor:N,iconColorDisabled:G,iconColorHover:q,iconColorPressed:Mo}=l;return Object.assign(Object.assign({},Qo),{countTextColorDisabled:e,countTextColor:r,heightTiny:z,heightSmall:$,heightMedium:B,heightLarge:M,fontSizeTiny:u,fontSizeSmall:S,fontSizeMedium:H,fontSizeLarge:k,lineHeight:b,lineHeightTextarea:b,borderRadius:f,iconSize:"16px",groupLabelColor:i,textColor:o,textColorDisabled:e,textDecorationColor:o,groupLabelTextColor:o,caretColor:t,placeholderColor:R,placeholderColorDisabled:O,color:i,colorDisabled:c,colorFocus:p(t,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${n}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${n}`,boxShadowFocus:`0 0 8px 0 ${p(t,{alpha:.3})}`,loadingColor:t,loadingColorWarning:d,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${C}`,colorFocusWarning:p(d,{alpha:.1}),borderFocusWarning:`1px solid ${C}`,boxShadowFocusWarning:`0 0 8px 0 ${p(d,{alpha:.3})}`,caretColorWarning:d,loadingColorError:m,borderError:`1px solid ${m}`,borderHoverError:`1px solid ${x}`,colorFocusError:p(m,{alpha:.1}),borderFocusError:`1px solid ${x}`,boxShadowFocusError:`0 0 8px 0 ${p(m,{alpha:.3})}`,caretColorError:m,clearColor:L,clearColorHover:E,clearColorPressed:F,iconColor:N,iconColorDisabled:G,iconColorHover:q,iconColorPressed:Mo,suffixTextColor:o})}},Ar={name:"AutoComplete",common:a,peers:{InternalSelectMenu:j,Input:T},self:Eo};function ro(l){const{borderRadius:o,avatarColor:r,cardColor:e,fontSize:t,heightTiny:n,heightSmall:i,heightMedium:c,heightLarge:d,heightHuge:C,modalColor:m,popoverColor:x}=l;return{borderRadius:o,fontSize:t,border:`2px solid ${e}`,heightTiny:n,heightSmall:i,heightMedium:c,heightLarge:d,heightHuge:C,color:h(e,r),colorModal:h(m,r),colorPopover:h(x,r)}}const Wr={name:"Avatar",common:v,self:ro},eo={name:"Avatar",common:a,self:ro};function lo(){return{gap:"-12px"}}const El=y({name:"AvatarGroup",common:v,peers:{Avatar:Wr},self:lo}),Mr={name:"AvatarGroup",common:a,peers:{Avatar:eo},self:lo},Lr={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},Er={name:"BackTop",common:a,self(l){const{popoverColor:o,textColor2:r,primaryColorHover:e,primaryColorPressed:t}=l;return Object.assign(Object.assign({},Lr),{color:o,textColor:r,iconColor:r,iconColorHover:e,iconColorPressed:t,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},Fr={name:"Badge",common:a,self(l){const{errorColorSuppl:o,infoColorSuppl:r,successColorSuppl:e,warningColorSuppl:t,fontFamily:n}=l;return{color:o,colorInfo:r,colorSuccess:e,colorError:o,colorWarning:t,fontSize:"12px",fontFamily:n}}},Rr={fontWeightActive:"400"};function to(l){const{fontSize:o,textColor3:r,textColor2:e,borderRadius:t,buttonColor2Hover:n,buttonColor2Pressed:i}=l;return Object.assign(Object.assign({},Rr),{fontSize:o,itemLineHeight:"1.25",itemTextColor:r,itemTextColorHover:e,itemTextColorPressed:e,itemTextColorActive:e,itemBorderRadius:t,itemColorHover:n,itemColorPressed:i,separatorColor:r})}const Fl={name:"Breadcrumb",common:v,self:to},Or={name:"Breadcrumb",common:a,self:to},D={name:"Button",common:a,self(l){const o=Uo(l);return o.waveOpacity="0.8",o.colorOpacitySecondary="0.16",o.colorOpacitySecondaryHover="0.2",o.colorOpacitySecondaryPressed="0.12",o}},jr={titleFontSize:"22px"};function ao(l){const{borderRadius:o,fontSize:r,lineHeight:e,textColor2:t,textColor1:n,textColorDisabled:i,dividerColor:c,fontWeightStrong:d,primaryColor:C,baseColor:m,hoverColor:x,cardColor:f,modalColor:b,popoverColor:u}=l;return Object.assign(Object.assign({},jr),{borderRadius:o,borderColor:h(f,c),borderColorModal:h(b,c),borderColorPopover:h(u,c),textColor:t,titleFontWeight:d,titleTextColor:n,dayTextColor:i,fontSize:r,lineHeight:e,dateColorCurrent:C,dateTextColorCurrent:m,cellColorHover:h(f,x),cellColorHoverModal:h(b,x),cellColorHoverPopover:h(u,x),cellColor:f,cellColorModal:b,cellColorPopover:u,barColor:C})}const Rl=y({name:"Calendar",common:v,peers:{Button:X},self:ao}),Vr={name:"Calendar",common:a,peers:{Button:D},self:ao},Nr={name:"ColorPicker",common:a,peers:{Input:T,Button:D},self:rr},no={name:"Card",common:a,self(l){const o=_o(l),{cardColor:r,modalColor:e,popoverColor:t}=l;return o.colorEmbedded=r,o.colorEmbeddedModal=e,o.colorEmbeddedPopover=t,o}},Gr={name:"Carousel",common:a,self:Jo},W={name:"Checkbox",common:a,self(l){const{cardColor:o}=l,r=Ko(l);return r.color="#0000",r.checkMarkColor=o,r}};function io(l){const{borderRadius:o,boxShadow2:r,popoverColor:e,textColor2:t,textColor3:n,primaryColor:i,textColorDisabled:c,dividerColor:d,hoverColor:C,fontSizeMedium:m,heightMedium:x}=l;return{menuBorderRadius:o,menuColor:e,menuBoxShadow:r,menuDividerColor:d,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:n,optionHeight:x,optionFontSize:m,optionColorHover:C,optionTextColor:t,optionTextColorActive:i,optionTextColorDisabled:c,optionCheckMarkColor:i,loadingColor:i,columnWidth:"180px"}}const Ol=y({name:"Cascader",common:v,peers:{InternalSelectMenu:Vo,InternalSelection:No,Scrollbar:Q,Checkbox:Xo,Empty:K},self:io}),qr={name:"Cascader",common:a,peers:{InternalSelectMenu:j,InternalSelection:U,Scrollbar:P,Checkbox:W,Empty:K},self:io},so={name:"Code",common:a,self(l){const{textColor2:o,fontSize:r,fontWeightStrong:e,textColor3:t}=l;return{textColor:o,fontSize:r,fontWeightStrong:e,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:t}}},Qr={name:"Collapse",common:a,self:or};function co(l){const{cubicBezierEaseInOut:o}=l;return{bezier:o}}const jl={name:"CollapseTransition",common:v,self:co},Ur={name:"CollapseTransition",common:a,self:co},po={name:"Popselect",common:a,peers:{Popover:A,InternalSelectMenu:j}},Co={name:"Select",common:a,peers:{InternalSelection:U,InternalSelectMenu:j},self:Go},mo={name:"Pagination",common:a,peers:{Select:Co,Input:T,Popselect:po},self(l){const{primaryColor:o,opacity3:r}=l,e=p(o,{alpha:Number(r)}),t=nr(l);return t.itemBorderActive=`1px solid ${e}`,t.itemBorderDisabled="1px solid #0000",t}},V={name:"Tooltip",common:a,peers:{Popover:A},self(l){const{borderRadius:o,boxShadow2:r,popoverColor:e,textColor2:t}=l;return Object.assign(Object.assign({},ir),{borderRadius:o,boxShadow:r,color:e,textColor:t})}},xo={name:"Ellipsis",common:a,peers:{Tooltip:V}},uo={name:"Radio",common:a,self(l){const{borderColor:o,primaryColor:r,baseColor:e,textColorDisabled:t,inputColorDisabled:n,textColor2:i,opacityDisabled:c,borderRadius:d,fontSizeSmall:C,fontSizeMedium:m,fontSizeLarge:x,heightSmall:f,heightMedium:b,heightLarge:u,lineHeight:S}=l;return Object.assign(Object.assign({},ar),{labelLineHeight:S,buttonHeightSmall:f,buttonHeightMedium:b,buttonHeightLarge:u,fontSizeSmall:C,fontSizeMedium:m,fontSizeLarge:x,boxShadow:`inset 0 0 0 1px ${o}`,boxShadowActive:`inset 0 0 0 1px ${r}`,boxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${p(r,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${r}`,boxShadowDisabled:`inset 0 0 0 1px ${o}`,color:"#0000",colorDisabled:n,colorActive:"#0000",textColor:i,textColorDisabled:t,dotColorActive:r,dotColorDisabled:o,buttonBorderColor:o,buttonBorderColorActive:r,buttonBorderColorHover:r,buttonColor:"#0000",buttonColorActive:r,buttonTextColor:i,buttonTextColorActive:e,buttonTextColorHover:r,opacityDisabled:c,buttonBoxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${p(r,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${r}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:d})}},_={name:"Dropdown",common:a,peers:{Popover:A},self(l){const{primaryColorSuppl:o,primaryColor:r,popoverColor:e}=l,t=er(l);return t.colorInverted=e,t.optionColorActive=p(r,{alpha:.15}),t.optionColorActiveInverted=o,t.optionColorHoverInverted=o,t}},_r={name:"DataTable",common:a,peers:{Button:D,Checkbox:W,Radio:uo,Pagination:mo,Scrollbar:P,Empty:w,Popover:A,Ellipsis:xo,Dropdown:_},self(l){const o=lr(l);return o.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",o.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",o}},Jr={name:"Icon",common:a,self:gr},go={name:"TimePicker",common:a,peers:{Scrollbar:P,Button:D,Input:T},self:cr},Kr={name:"DatePicker",common:a,peers:{Input:T,Button:D,TimePicker:go,Scrollbar:P},self(l){const{popoverColor:o,hoverColor:r,primaryColor:e}=l,t=dr(l);return t.itemColorDisabled=h(o,r),t.itemColorIncluded=p(e,{alpha:.15}),t.itemColorHover=h(o,r),t}},Xr={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"};function ho(l){const{tableHeaderColor:o,textColor2:r,textColor1:e,cardColor:t,modalColor:n,popoverColor:i,dividerColor:c,borderRadius:d,fontWeightStrong:C,lineHeight:m,fontSizeSmall:x,fontSizeMedium:f,fontSizeLarge:b}=l;return Object.assign(Object.assign({},Xr),{lineHeight:m,fontSizeSmall:x,fontSizeMedium:f,fontSizeLarge:b,titleTextColor:e,thColor:h(t,o),thColorModal:h(n,o),thColorPopover:h(i,o),thTextColor:e,thFontWeight:C,tdTextColor:r,tdColor:t,tdColorModal:n,tdColorPopover:i,borderColor:h(t,c),borderColorModal:h(n,c),borderColorPopover:h(i,c),borderRadius:d})}const Vl={name:"Descriptions",common:v,self:ho},Yr={name:"Descriptions",common:a,self:ho},bo={name:"Dialog",common:a,peers:{Button:D},self:pr},Zr={name:"Modal",common:a,peers:{Scrollbar:P,Dialog:bo,Card:no},self:Cr},oe={name:"Divider",common:a,self:mr};function fo(l){const{modalColor:o,textColor1:r,textColor2:e,boxShadow3:t,lineHeight:n,fontWeightStrong:i,dividerColor:c,closeColorHover:d,closeColorPressed:C,closeIconColor:m,closeIconColorHover:x,closeIconColorPressed:f,borderRadius:b,primaryColorHover:u}=l;return{bodyPadding:"16px 24px",borderRadius:b,headerPadding:"16px 24px",footerPadding:"16px 24px",color:o,textColor:e,titleTextColor:r,titleFontSize:"18px",titleFontWeight:i,boxShadow:t,lineHeight:n,headerBorderBottom:`1px solid ${c}`,footerBorderTop:`1px solid ${c}`,closeIconColor:m,closeIconColorHover:x,closeIconColorPressed:f,closeSize:"22px",closeIconSize:"18px",closeColorHover:d,closeColorPressed:C,closeBorderRadius:b,resizableTriggerColorHover:u}}const Nl=y({name:"Drawer",common:v,peers:{Scrollbar:Q},self:fo}),re={name:"Drawer",common:a,peers:{Scrollbar:P},self:fo},ee={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},le={name:"DynamicInput",common:a,peers:{Input:T,Button:D},self(){return ee}},So={name:"Space",self(){return xr}},te={name:"DynamicTags",common:a,peers:{Input:T,Button:D,Tag:Z,Space:So},self(){return{inputWidth:"64px"}}},ae={name:"Element",common:a},ne={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},ie={name:"Flex",self(){return ne}},se={name:"Form",common:a,self:ur},ce={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"};function vo(l){const{textColor2:o,successColor:r,infoColor:e,warningColor:t,errorColor:n,popoverColor:i,closeIconColor:c,closeIconColorHover:d,closeIconColorPressed:C,closeColorHover:m,closeColorPressed:x,textColor1:f,textColor3:b,borderRadius:u,fontWeightStrong:S,boxShadow2:H,lineHeight:k,fontSize:z}=l;return Object.assign(Object.assign({},ce),{borderRadius:u,lineHeight:k,fontSize:z,headerFontWeight:S,iconColor:o,iconColorSuccess:r,iconColorInfo:e,iconColorWarning:t,iconColorError:n,color:i,textColor:o,closeIconColor:c,closeIconColorHover:d,closeIconColorPressed:C,closeBorderRadius:u,closeColorHover:m,closeColorPressed:x,headerTextColor:f,descriptionTextColor:b,actionTextColor:o,boxShadow:H})}const Gl=y({name:"Notification",common:v,peers:{Scrollbar:Q},self:vo}),de={name:"Notification",common:a,peers:{Scrollbar:P},self:vo},pe={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"};function Io(l){const{textColor2:o,closeIconColor:r,closeIconColorHover:e,closeIconColorPressed:t,infoColor:n,successColor:i,errorColor:c,warningColor:d,popoverColor:C,boxShadow2:m,primaryColor:x,lineHeight:f,borderRadius:b,closeColorHover:u,closeColorPressed:S}=l;return Object.assign(Object.assign({},pe),{closeBorderRadius:b,textColor:o,textColorInfo:o,textColorSuccess:o,textColorError:o,textColorWarning:o,textColorLoading:o,color:C,colorInfo:C,colorSuccess:C,colorError:C,colorWarning:C,colorLoading:C,boxShadow:m,boxShadowInfo:m,boxShadowSuccess:m,boxShadowError:m,boxShadowWarning:m,boxShadowLoading:m,iconColor:o,iconColorInfo:n,iconColorSuccess:i,iconColorWarning:d,iconColorError:c,iconColorLoading:x,closeColorHover:u,closeColorPressed:S,closeIconColor:r,closeIconColorHover:e,closeIconColorPressed:t,closeColorHoverInfo:u,closeColorPressedInfo:S,closeIconColorInfo:r,closeIconColorHoverInfo:e,closeIconColorPressedInfo:t,closeColorHoverSuccess:u,closeColorPressedSuccess:S,closeIconColorSuccess:r,closeIconColorHoverSuccess:e,closeIconColorPressedSuccess:t,closeColorHoverError:u,closeColorPressedError:S,closeIconColorError:r,closeIconColorHoverError:e,closeIconColorPressedError:t,closeColorHoverWarning:u,closeColorPressedWarning:S,closeIconColorWarning:r,closeIconColorHoverWarning:e,closeIconColorPressedWarning:t,closeColorHoverLoading:u,closeColorPressedLoading:S,closeIconColorLoading:r,closeIconColorHoverLoading:e,closeIconColorPressedLoading:t,loadingColor:x,lineHeight:f,borderRadius:b})}const ql={name:"Message",common:v,self:Io},Ce={name:"Message",common:a,self:Io},me={name:"ButtonGroup",common:a},xe={name:"GradientText",common:a,self(l){const{primaryColor:o,successColor:r,warningColor:e,errorColor:t,infoColor:n,primaryColorSuppl:i,successColorSuppl:c,warningColorSuppl:d,errorColorSuppl:C,infoColorSuppl:m,fontWeightStrong:x}=l;return{fontWeight:x,rotate:"252deg",colorStartPrimary:o,colorEndPrimary:i,colorStartInfo:n,colorEndInfo:m,colorStartWarning:e,colorEndWarning:d,colorStartError:t,colorEndError:C,colorStartSuccess:r,colorEndSuccess:c}}},ue={name:"InputNumber",common:a,peers:{Button:D,Input:T},self(l){const{textColorDisabled:o}=l;return{iconColorDisabled:o}}},ge={name:"Layout",common:a,peers:{Scrollbar:P},self(l){const{textColor2:o,bodyColor:r,popoverColor:e,cardColor:t,dividerColor:n,scrollbarColor:i,scrollbarColorHover:c}=l;return{textColor:o,textColorInverted:o,color:r,colorEmbedded:r,headerColor:t,headerColorInverted:t,footerColor:t,footerColorInverted:t,headerBorderColor:n,headerBorderColorInverted:n,footerBorderColor:n,footerBorderColorInverted:n,siderBorderColor:n,siderBorderColorInverted:n,siderColor:t,siderColorInverted:t,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:e,siderToggleButtonIconColor:o,siderToggleButtonIconColorInverted:o,siderToggleBarColor:h(r,i),siderToggleBarColorHover:h(r,c),__invertScrollbar:"false"}}};function Ho(l){const{textColor2:o,cardColor:r,modalColor:e,popoverColor:t,dividerColor:n,borderRadius:i,fontSize:c,hoverColor:d}=l;return{textColor:o,color:r,colorHover:d,colorModal:e,colorHoverModal:h(e,d),colorPopover:t,colorHoverPopover:h(t,d),borderColor:n,borderColorModal:h(e,n),borderColorPopover:h(t,n),borderRadius:i,fontSize:c}}const Ql={name:"List",common:v,self:Ho},he={name:"List",common:a,self:Ho},be={name:"LoadingBar",common:a,self(l){const{primaryColor:o}=l;return{colorError:"red",colorLoading:o,height:"2px"}}},fe={name:"Log",common:a,peers:{Scrollbar:P,Code:so},self(l){const{textColor2:o,inputColor:r,fontSize:e,primaryColor:t}=l;return{loaderFontSize:e,loaderTextColor:o,loaderColor:r,loaderBorder:"1px solid #0000",loadingColor:t}}},Se={name:"Mention",common:a,peers:{InternalSelectMenu:j,Input:T},self(l){const{boxShadow2:o}=l;return{menuBoxShadow:o}}};function ve(l,o,r,e){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:o,itemColorActiveHoverInverted:o,itemColorActiveCollapsedInverted:o,itemTextColorInverted:l,itemTextColorHoverInverted:r,itemTextColorChildActiveInverted:r,itemTextColorChildActiveHoverInverted:r,itemTextColorActiveInverted:r,itemTextColorActiveHoverInverted:r,itemTextColorHorizontalInverted:l,itemTextColorHoverHorizontalInverted:r,itemTextColorChildActiveHorizontalInverted:r,itemTextColorChildActiveHoverHorizontalInverted:r,itemTextColorActiveHorizontalInverted:r,itemTextColorActiveHoverHorizontalInverted:r,itemIconColorInverted:l,itemIconColorHoverInverted:r,itemIconColorActiveInverted:r,itemIconColorActiveHoverInverted:r,itemIconColorChildActiveInverted:r,itemIconColorChildActiveHoverInverted:r,itemIconColorCollapsedInverted:l,itemIconColorHorizontalInverted:l,itemIconColorHoverHorizontalInverted:r,itemIconColorActiveHorizontalInverted:r,itemIconColorActiveHoverHorizontalInverted:r,itemIconColorChildActiveHorizontalInverted:r,itemIconColorChildActiveHoverHorizontalInverted:r,arrowColorInverted:l,arrowColorHoverInverted:r,arrowColorActiveInverted:r,arrowColorActiveHoverInverted:r,arrowColorChildActiveInverted:r,arrowColorChildActiveHoverInverted:r,groupTextColorInverted:e}}function Po(l){const{borderRadius:o,textColor3:r,primaryColor:e,textColor2:t,textColor1:n,fontSize:i,dividerColor:c,hoverColor:d,primaryColorHover:C}=l;return Object.assign({borderRadius:o,color:"#0000",groupTextColor:r,itemColorHover:d,itemColorActive:p(e,{alpha:.1}),itemColorActiveHover:p(e,{alpha:.1}),itemColorActiveCollapsed:p(e,{alpha:.1}),itemTextColor:t,itemTextColorHover:t,itemTextColorActive:e,itemTextColorActiveHover:e,itemTextColorChildActive:e,itemTextColorChildActiveHover:e,itemTextColorHorizontal:t,itemTextColorHoverHorizontal:C,itemTextColorActiveHorizontal:e,itemTextColorActiveHoverHorizontal:e,itemTextColorChildActiveHorizontal:e,itemTextColorChildActiveHoverHorizontal:e,itemIconColor:n,itemIconColorHover:n,itemIconColorActive:e,itemIconColorActiveHover:e,itemIconColorChildActive:e,itemIconColorChildActiveHover:e,itemIconColorCollapsed:n,itemIconColorHorizontal:n,itemIconColorHoverHorizontal:C,itemIconColorActiveHorizontal:e,itemIconColorActiveHoverHorizontal:e,itemIconColorChildActiveHorizontal:e,itemIconColorChildActiveHoverHorizontal:e,itemHeight:"42px",arrowColor:t,arrowColorHover:t,arrowColorActive:e,arrowColorActiveHover:e,arrowColorChildActive:e,arrowColorChildActiveHover:e,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:i,dividerColor:c},ve("#BBB",e,"#FFF","#AAA"))}const Ul=y({name:"Menu",common:v,peers:{Tooltip:sr,Dropdown:tr},self:Po}),Ie={name:"Menu",common:a,peers:{Tooltip:V,Dropdown:_},self(l){const{primaryColor:o,primaryColorSuppl:r}=l,e=Po(l);return e.itemColorActive=p(o,{alpha:.15}),e.itemColorActiveHover=p(o,{alpha:.15}),e.itemColorActiveCollapsed=p(o,{alpha:.15}),e.itemColorActiveInverted=r,e.itemColorActiveHoverInverted=r,e.itemColorActiveCollapsedInverted=r,e}},He={titleFontSize:"18px",backSize:"22px"};function Do(l){const{textColor1:o,textColor2:r,textColor3:e,fontSize:t,fontWeightStrong:n,primaryColorHover:i,primaryColorPressed:c}=l;return Object.assign(Object.assign({},He),{titleFontWeight:n,fontSize:t,titleTextColor:o,backColor:r,backColorHover:i,backColorPressed:c,subtitleTextColor:e})}const _l=y({name:"PageHeader",common:v,self:Do}),Pe={name:"PageHeader",common:a,self:Do},De={iconSize:"22px"};function To(l){const{fontSize:o,warningColor:r}=l;return Object.assign(Object.assign({},De),{fontSize:o,iconColor:r})}const Jl=y({name:"Popconfirm",common:v,peers:{Button:X,Popover:Zo},self:To}),Te={name:"Popconfirm",common:a,peers:{Button:D,Popover:A},self:To},ko={name:"Progress",common:a,self(l){const o=hr(l);return o.textColorLineInner="rgb(0, 0, 0)",o.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",o}},ke={name:"Rate",common:a,self(l){const{railColor:o}=l;return{itemColor:o,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},ze={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0};function zo(l){const{textColor2:o,textColor1:r,errorColor:e,successColor:t,infoColor:n,warningColor:i,lineHeight:c,fontWeightStrong:d}=l;return Object.assign(Object.assign({},ze),{lineHeight:c,titleFontWeight:d,titleTextColor:r,textColor:o,iconColorError:e,iconColorSuccess:t,iconColorInfo:n,iconColorWarning:i})}const Kl={name:"Result",common:v,self:zo},ye={name:"Result",common:a,self:zo},$e={name:"Slider",common:a,self(l){const o="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:r,modalColor:e,primaryColorSuppl:t,popoverColor:n,textColor2:i,cardColor:c,borderRadius:d,fontSize:C,opacityDisabled:m}=l;return Object.assign(Object.assign({},br),{fontSize:C,markFontSize:C,railColor:r,railColorHover:r,fillColor:t,fillColorHover:t,opacityDisabled:m,handleColor:"#FFF",dotColor:c,dotColorModal:e,dotColorPopover:n,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:n,indicatorBoxShadow:o,indicatorTextColor:i,indicatorBorderRadius:d,dotBorder:`2px solid ${r}`,dotBorderActive:`2px solid ${t}`,dotBoxShadow:""})}},Be={name:"Spin",common:a,self:fr},we={name:"Statistic",common:a,self:Sr},Ae={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};function yo(l){const{fontWeightStrong:o,baseColor:r,textColorDisabled:e,primaryColor:t,errorColor:n,textColor1:i,textColor2:c}=l;return Object.assign(Object.assign({},Ae),{stepHeaderFontWeight:o,indicatorTextColorProcess:r,indicatorTextColorWait:e,indicatorTextColorFinish:t,indicatorTextColorError:n,indicatorBorderColorProcess:t,indicatorBorderColorWait:e,indicatorBorderColorFinish:t,indicatorBorderColorError:n,indicatorColorProcess:t,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:e,splitorColorWait:e,splitorColorFinish:t,splitorColorError:e,headerTextColorProcess:i,headerTextColorWait:e,headerTextColorFinish:e,headerTextColorError:n,descriptionTextColorProcess:c,descriptionTextColorWait:e,descriptionTextColorFinish:e,descriptionTextColorError:n})}const Xl={name:"Steps",common:v,self:yo},We={name:"Steps",common:a,self:yo},Me={name:"Switch",common:a,self(l){const{primaryColorSuppl:o,opacityDisabled:r,borderRadius:e,primaryColor:t,textColor2:n,baseColor:i}=l;return Object.assign(Object.assign({},vr),{iconColor:i,textColor:n,loadingColor:o,opacityDisabled:r,railColor:"rgba(255, 255, 255, .20)",railColorActive:o,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:e,railBorderRadiusMedium:e,railBorderRadiusLarge:e,buttonBorderRadiusSmall:e,buttonBorderRadiusMedium:e,buttonBorderRadiusLarge:e,boxShadowFocus:`0 0 8px 0 ${p(t,{alpha:.3})}`})}},Le={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};function $o(l){const{dividerColor:o,cardColor:r,modalColor:e,popoverColor:t,tableHeaderColor:n,tableColorStriped:i,textColor1:c,textColor2:d,borderRadius:C,fontWeightStrong:m,lineHeight:x,fontSizeSmall:f,fontSizeMedium:b,fontSizeLarge:u}=l;return Object.assign(Object.assign({},Le),{fontSizeSmall:f,fontSizeMedium:b,fontSizeLarge:u,lineHeight:x,borderRadius:C,borderColor:h(r,o),borderColorModal:h(e,o),borderColorPopover:h(t,o),tdColor:r,tdColorModal:e,tdColorPopover:t,tdColorStriped:h(r,i),tdColorStripedModal:h(e,i),tdColorStripedPopover:h(t,i),thColor:h(r,n),thColorModal:h(e,n),thColorPopover:h(t,n),thTextColor:c,tdTextColor:d,thFontWeight:m})}const Yl={name:"Table",common:v,self:$o},Ee={name:"Table",common:a,self:$o},Fe={name:"Tabs",common:a,self(l){const o=Ir(l),{inputColor:r}=l;return o.colorSegment=r,o.tabColorSegment=r,o}};function Bo(l){const{textColor1:o,textColor2:r,fontWeightStrong:e,fontSize:t}=l;return{fontSize:t,titleTextColor:o,textColor:r,titleFontWeight:e}}const Zl={name:"Thing",common:v,self:Bo},Re={name:"Thing",common:a,self:Bo},Oe={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},je={name:"Timeline",common:a,self(l){const{textColor3:o,infoColorSuppl:r,errorColorSuppl:e,successColorSuppl:t,warningColorSuppl:n,textColor1:i,textColor2:c,railColor:d,fontWeightStrong:C,fontSize:m}=l;return Object.assign(Object.assign({},Oe),{contentFontSize:m,titleFontWeight:C,circleBorder:`2px solid ${o}`,circleBorderInfo:`2px solid ${r}`,circleBorderError:`2px solid ${e}`,circleBorderSuccess:`2px solid ${t}`,circleBorderWarning:`2px solid ${n}`,iconColor:o,iconColorInfo:r,iconColorError:e,iconColorSuccess:t,iconColorWarning:n,titleTextColor:i,contentTextColor:c,metaTextColor:o,lineColor:d})}},Ve={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},Ne={name:"Transfer",common:a,peers:{Checkbox:W,Scrollbar:P,Input:T,Empty:w,Button:D},self(l){const{fontWeight:o,fontSizeLarge:r,fontSizeMedium:e,fontSizeSmall:t,heightLarge:n,heightMedium:i,borderRadius:c,inputColor:d,tableHeaderColor:C,textColor1:m,textColorDisabled:x,textColor2:f,textColor3:b,hoverColor:u,closeColorHover:S,closeColorPressed:H,closeIconColor:k,closeIconColorHover:z,closeIconColorPressed:$,dividerColor:B}=l;return Object.assign(Object.assign({},Ve),{itemHeightSmall:i,itemHeightMedium:i,itemHeightLarge:n,fontSizeSmall:t,fontSizeMedium:e,fontSizeLarge:r,borderRadius:c,dividerColor:B,borderColor:"#0000",listColor:d,headerColor:C,titleTextColor:m,titleTextColorDisabled:x,extraTextColor:b,extraTextColorDisabled:x,itemTextColor:f,itemTextColorDisabled:x,itemColorPending:u,titleFontWeight:o,closeColorHover:S,closeColorPressed:H,closeIconColor:k,closeIconColorHover:z,closeIconColorPressed:$})}},wo={name:"Tree",common:a,peers:{Checkbox:W,Scrollbar:P,Empty:w},self(l){const{primaryColor:o}=l,r=Hr(l);return r.nodeColorActive=p(o,{alpha:.15}),r}},Ge={name:"TreeSelect",common:a,peers:{Tree:wo,Empty:w,InternalSelection:U}},qe={name:"Typography",common:a,self:Pr},Qe={name:"Upload",common:a,peers:{Button:D,Progress:ko},self(l){const{errorColor:o}=l,r=Dr(l);return r.itemColorHoverError=p(o,{alpha:.09}),r}},Ue={name:"Watermark",common:a,self(l){const{fontFamily:o}=l;return{fontFamily:o}}},_e={name:"Row",common:a},Je={name:"FloatButton",common:a,self(l){const{popoverColor:o,textColor2:r,buttonColor2Hover:e,buttonColor2Pressed:t,primaryColor:n,primaryColorHover:i,primaryColorPressed:c,baseColor:d,borderRadius:C}=l;return{color:o,textColor:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:e,colorPressed:t,colorPrimary:n,colorPrimaryHover:i,colorPrimaryPressed:c,textColorPrimary:d,borderRadiusSquare:C}}};function Ao(l){const{primaryColor:o,baseColor:r}=l;return{color:o,iconColor:r}}const ot={name:"IconWrapper",common:v,self:Ao},Ke={name:"IconWrapper",common:a,self:Ao},Xe={name:"Image",common:a,peers:{Tooltip:V},self:l=>{const{textColor2:o}=l;return{toolbarIconColor:o,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},Ye={extraFontSize:"12px",width:"440px"},Ze={name:"Transfer",common:a,peers:{Checkbox:W,Scrollbar:P,Input:T,Empty:w,Button:D},self(l){const{iconColorDisabled:o,iconColor:r,fontWeight:e,fontSizeLarge:t,fontSizeMedium:n,fontSizeSmall:i,heightLarge:c,heightMedium:d,heightSmall:C,borderRadius:m,inputColor:x,tableHeaderColor:f,textColor1:b,textColorDisabled:u,textColor2:S,hoverColor:H}=l;return Object.assign(Object.assign({},Ye),{itemHeightSmall:C,itemHeightMedium:d,itemHeightLarge:c,fontSizeSmall:i,fontSizeMedium:n,fontSizeLarge:t,borderRadius:m,borderColor:"#0000",listColor:x,headerColor:f,titleTextColor:b,titleTextColorDisabled:u,extraTextColor:S,filterDividerColor:"#0000",itemTextColor:S,itemTextColorDisabled:u,itemColorPending:H,titleFontWeight:e,iconColor:r,iconColorDisabled:o})}},ol={name:"QrCode",common:a,self:l=>({borderRadius:l.borderRadius})},rl={name:"Skeleton",common:a,self(l){const{heightSmall:o,heightMedium:r,heightLarge:e,borderRadius:t}=l;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:t,heightSmall:o,heightMedium:r,heightLarge:e}}},el={name:"Split",common:a},Wo=()=>({}),rt={name:"Equation",common:v,self:Wo},ll={name:"Equation",common:a,self:Wo},tl={name:"FloatButtonGroup",common:a,self(l){const{popoverColor:o,dividerColor:r,borderRadius:e}=l;return{color:o,buttonBorderColor:r,borderRadiusSquare:e,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},et={name:"dark",common:a,Alert:$r,Anchor:wr,AutoComplete:Ar,Avatar:eo,AvatarGroup:Mr,BackTop:Er,Badge:Fr,Breadcrumb:Or,Button:D,ButtonGroup:me,Calendar:Vr,Card:no,Carousel:Gr,Cascader:qr,Checkbox:W,Code:so,Collapse:Qr,CollapseTransition:Ur,ColorPicker:Nr,DataTable:_r,DatePicker:Kr,Descriptions:Yr,Dialog:bo,Divider:oe,Drawer:re,Dropdown:_,DynamicInput:le,DynamicTags:te,Element:ae,Empty:w,Ellipsis:xo,Equation:ll,Flex:ie,Form:se,GradientText:xe,Icon:Jr,IconWrapper:Ke,Image:Xe,Input:T,InputNumber:ue,LegacyTransfer:Ze,Layout:ge,List:he,LoadingBar:be,Log:fe,Menu:Ie,Mention:Se,Message:Ce,Modal:Zr,Notification:de,PageHeader:Pe,Pagination:mo,Popconfirm:Te,Popover:A,Popselect:po,Progress:ko,QrCode:ol,Radio:uo,Rate:ke,Result:ye,Row:_e,Scrollbar:P,Select:Co,Skeleton:rl,Slider:$e,Space:So,Spin:Be,Statistic:we,Steps:We,Switch:Me,Table:Ee,Tabs:Fe,Tag:Z,Thing:Re,TimePicker:go,Timeline:je,Tooltip:V,Transfer:Ne,Tree:wo,TreeSelect:Ge,Typography:qe,Upload:Qe,Watermark:Ue,Split:el,FloatButton:Je,FloatButtonGroup:tl};export{Yl as A,Zl as B,Oe as C,Lr as a,ee as b,yr as c,et as d,ne as e,Ve as f,Ye as g,Ll as h,Wr as i,El as j,Fl as k,Rl as l,ql as m,Ol as n,jl as o,Vl as p,Nl as q,rt as r,ot as s,Ql as t,Ul as u,Gl as v,_l as w,Jl as x,Kl as y,Xl as z};
|