nfx-ui 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"chunk-types-BNUlgEkq.cjs","names":[],"sources":["../src/themes/types/theme.ts"],"sourcesContent":["/**\n * 主题相关类型:颜色变量、基础变量、主题枚举与常量。\n * Theme types: color/base variables, theme enums and constants.\n */\n\n/** 颜色变量(主题色、背景、边框、文字、图表等一切与颜色相关) */\nexport interface ColorVariables {\n primary: string;\n primaryLight: string;\n primaryFg: string;\n success: string;\n successLight: string;\n info: string;\n infoLight: string;\n warning: string;\n warningLight: string;\n danger: string;\n dangerLight: string;\n\n bg: string;\n bg2: string;\n bg3: string;\n bg4: string;\n\n border: string;\n border2: string;\n border3: string;\n border4: string;\n border5: string;\n\n fg: string;\n fgText: string;\n fgHeading: string;\n fgHighlight: string;\n separator: string;\n\n temperature: {\n arcFill: string[];\n arcEmpty: string;\n thumbBg: string;\n thumbBorder: string;\n };\n\n solar: {\n gradientLeft: string;\n gradientRight: string;\n shadowColor: string;\n secondSeriesFill: string;\n };\n\n traffic: {\n tooltipBg: string;\n tooltipBorderColor: string;\n tooltipTextColor: string;\n yAxisSplitLine: string;\n lineBg: string;\n itemColor: string;\n itemBorderColor: string;\n itemEmphasisBorderColor: string;\n shadowLineDarkBg: string;\n shadowLineShadow: string;\n gradFrom: string;\n gradTo: string;\n };\n\n electricity: {\n tooltipBg: string;\n tooltipLineColor: string;\n tooltipBorderColor: string;\n tooltipTextColor: string;\n axisLineColor: string;\n xAxisTextColor: string;\n yAxisSplitLine: string;\n itemBorderColor: string;\n lineGradFrom: string;\n lineGradTo: string;\n lineShadow: string;\n areaGradFrom: string;\n areaGradTo: string;\n shadowLineDarkBg: string;\n };\n\n echarts: {\n bg: string;\n textColor: string;\n axisLineColor: string;\n splitLineColor: string;\n itemHoverShadowColor: string;\n tooltipBackgroundColor: string;\n };\n\n chartjs: {\n axisLineColor: string;\n textColor: string;\n };\n}\n\n/** 非颜色变量(圆角等,可随平台不同:iOS 24 / Android|Windows 6 / Linux 4) */\nexport interface BaseVariables {\n buttonRadius: number;\n cardRadius: number;\n inputRadius: number;\n}\n\n/** 颜色主题:name/displayName 表示这套配色是谁 */\nexport interface ColorTheme {\n name: string;\n displayName: string;\n variables: ColorVariables;\n}\n\n/** 基础主题:name/displayName 表示这套基础规范是谁(如 iOS / Android / 默认) */\nexport interface BaseTheme {\n name: string;\n displayName: string;\n variables: BaseVariables;\n}\n\n/** 完整主题 = 颜色主题 + 基础主题 */\nexport interface Theme {\n colors: ColorTheme;\n base: BaseTheme;\n}\n\n/** 颜色主题枚举 */\nexport enum ThemeEnum {\n DEFAULT = \"default\",\n LIGHT = \"light\",\n CORPORATE = \"corporate\",\n FOREST = \"forest\",\n DARK = \"dark\",\n COSMIC = \"cosmic\",\n COFFEE = \"coffee\",\n WINE = \"wine\",\n /** 麦田:default 基础上白红色改为金黄色 */\n WHEAT = \"wheat\",\n}\n\nexport const DEFAULT_THEME = ThemeEnum.DEFAULT;\nexport const THEME_VALUES = Object.values(ThemeEnum);\n\n/** 基础主题枚举(平台/圆角等,如 iOS 24 / Android|Windows 6 / Linux 4) */\nexport enum BaseEnum {\n DEFAULT = \"default\",\n IOS = \"ios\",\n ANDROID = \"android\",\n WINDOWS = \"windows\",\n LINUX = \"linux\",\n}\n\nexport const DEFAULT_BASE = BaseEnum.DEFAULT;\nexport const BASE_VALUES = Object.values(BaseEnum);\n\nexport const COLOR_STORAGE_KEY = \"theme-color\";\nexport const BASE_STORAGE_KEY = \"theme-base\";\n"],"mappings":"AA6HA,IAAY,GAAL,SAAA,EAAA,CACL,OAAA,EAAA,QAAA,UACA,EAAA,MAAA,QACA,EAAA,UAAA,YACA,EAAA,OAAA,SACA,EAAA,KAAA,OACA,EAAA,OAAA,SACA,EAAA,OAAA,SACA,EAAA,KAAA,OAEA,EAAA,MAAA,gBAGF,MAAa,EAAgB,EAAU,QAC1B,EAAe,OAAO,OAAO,CAAA,EAG1C,IAAY,GAAL,SAAA,EAAA,CACL,OAAA,EAAA,QAAA,UACA,EAAA,IAAA,MACA,EAAA,QAAA,UACA,EAAA,QAAA,UACA,EAAA,MAAA,gBAGF,MAAa,EAAe,EAAS,QACxB,EAAc,OAAO,OAAO,CAAA,EAE5B,EAAoB,cACpB,EAAmB"}
1
+ {"version":3,"file":"chunk-types-BNUlgEkq.cjs","names":[],"sources":["../src/themes/types/theme.ts"],"sourcesContent":["/**\n * 主题相关类型:颜色变量、基础变量、主题枚举与常量。\n * Theme types: color/base variables, theme enums and constants.\n */\n\n/** 颜色变量(主题色、背景、边框、文字、图表等一切与颜色相关) */\nexport interface ColorVariables {\n primary: string;\n primaryLight: string;\n primaryFg: string;\n success: string;\n successLight: string;\n info: string;\n infoLight: string;\n warning: string;\n warningLight: string;\n danger: string;\n dangerLight: string;\n\n bg: string;\n bg2: string;\n bg3: string;\n bg4: string;\n\n border: string;\n border2: string;\n border3: string;\n border4: string;\n border5: string;\n\n fg: string;\n fgText: string;\n fgHeading: string;\n fgHighlight: string;\n /** primary 上的文字色,暂时规定等于 bg */\n fgOnPrimary: string;\n separator: string;\n\n temperature: {\n arcFill: string[];\n arcEmpty: string;\n thumbBg: string;\n thumbBorder: string;\n };\n\n solar: {\n gradientLeft: string;\n gradientRight: string;\n shadowColor: string;\n secondSeriesFill: string;\n };\n\n traffic: {\n tooltipBg: string;\n tooltipBorderColor: string;\n tooltipTextColor: string;\n yAxisSplitLine: string;\n lineBg: string;\n itemColor: string;\n itemBorderColor: string;\n itemEmphasisBorderColor: string;\n shadowLineDarkBg: string;\n shadowLineShadow: string;\n gradFrom: string;\n gradTo: string;\n };\n\n electricity: {\n tooltipBg: string;\n tooltipLineColor: string;\n tooltipBorderColor: string;\n tooltipTextColor: string;\n axisLineColor: string;\n xAxisTextColor: string;\n yAxisSplitLine: string;\n itemBorderColor: string;\n lineGradFrom: string;\n lineGradTo: string;\n lineShadow: string;\n areaGradFrom: string;\n areaGradTo: string;\n shadowLineDarkBg: string;\n };\n\n echarts: {\n bg: string;\n textColor: string;\n axisLineColor: string;\n splitLineColor: string;\n itemHoverShadowColor: string;\n tooltipBackgroundColor: string;\n };\n\n chartjs: {\n axisLineColor: string;\n textColor: string;\n };\n}\n\n/** 非颜色变量(圆角等,可随平台不同:iOS 24 / Android|Windows 6 / Linux 4) */\nexport interface BaseVariables {\n buttonRadius: number;\n cardRadius: number;\n inputRadius: number;\n}\n\n/** 颜色主题:name/displayName 表示这套配色是谁 */\nexport interface ColorTheme {\n name: string;\n displayName: string;\n variables: ColorVariables;\n}\n\n/** 基础主题:name/displayName 表示这套基础规范是谁(如 iOS / Android / 默认) */\nexport interface BaseTheme {\n name: string;\n displayName: string;\n variables: BaseVariables;\n}\n\n/** 完整主题 = 颜色主题 + 基础主题 */\nexport interface Theme {\n colors: ColorTheme;\n base: BaseTheme;\n}\n\n/** 颜色主题枚举 */\nexport enum ThemeEnum {\n DEFAULT = \"default\",\n LIGHT = \"light\",\n CORPORATE = \"corporate\",\n FOREST = \"forest\",\n DARK = \"dark\",\n COSMIC = \"cosmic\",\n COFFEE = \"coffee\",\n WINE = \"wine\",\n /** 麦田:default 基础上白红色改为金黄色 */\n WHEAT = \"wheat\",\n}\n\nexport const DEFAULT_THEME = ThemeEnum.DEFAULT;\nexport const THEME_VALUES = Object.values(ThemeEnum);\n\n/** 基础主题枚举(平台/圆角等,如 iOS 24 / Android|Windows 6 / Linux 4) */\nexport enum BaseEnum {\n DEFAULT = \"default\",\n IOS = \"ios\",\n ANDROID = \"android\",\n WINDOWS = \"windows\",\n LINUX = \"linux\",\n}\n\nexport const DEFAULT_BASE = BaseEnum.DEFAULT;\nexport const BASE_VALUES = Object.values(BaseEnum);\n\nexport const COLOR_STORAGE_KEY = \"theme-color\";\nexport const BASE_STORAGE_KEY = \"theme-base\";\n"],"mappings":"AA+HA,IAAY,GAAL,SAAA,EAAA,CACL,OAAA,EAAA,QAAA,UACA,EAAA,MAAA,QACA,EAAA,UAAA,YACA,EAAA,OAAA,SACA,EAAA,KAAA,OACA,EAAA,OAAA,SACA,EAAA,OAAA,SACA,EAAA,KAAA,OAEA,EAAA,MAAA,gBAGF,MAAa,EAAgB,EAAU,QAC1B,EAAe,OAAO,OAAO,CAAA,EAG1C,IAAY,GAAL,SAAA,EAAA,CACL,OAAA,EAAA,QAAA,UACA,EAAA,IAAA,MACA,EAAA,QAAA,UACA,EAAA,QAAA,UACA,EAAA,MAAA,gBAGF,MAAa,EAAe,EAAS,QACxB,EAAc,OAAO,OAAO,CAAA,EAE5B,EAAoB,cACpB,EAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"chunk-types-BudGuDCK.mjs","names":[],"sources":["../src/themes/types/theme.ts"],"sourcesContent":["/**\n * 主题相关类型:颜色变量、基础变量、主题枚举与常量。\n * Theme types: color/base variables, theme enums and constants.\n */\n\n/** 颜色变量(主题色、背景、边框、文字、图表等一切与颜色相关) */\nexport interface ColorVariables {\n primary: string;\n primaryLight: string;\n primaryFg: string;\n success: string;\n successLight: string;\n info: string;\n infoLight: string;\n warning: string;\n warningLight: string;\n danger: string;\n dangerLight: string;\n\n bg: string;\n bg2: string;\n bg3: string;\n bg4: string;\n\n border: string;\n border2: string;\n border3: string;\n border4: string;\n border5: string;\n\n fg: string;\n fgText: string;\n fgHeading: string;\n fgHighlight: string;\n separator: string;\n\n temperature: {\n arcFill: string[];\n arcEmpty: string;\n thumbBg: string;\n thumbBorder: string;\n };\n\n solar: {\n gradientLeft: string;\n gradientRight: string;\n shadowColor: string;\n secondSeriesFill: string;\n };\n\n traffic: {\n tooltipBg: string;\n tooltipBorderColor: string;\n tooltipTextColor: string;\n yAxisSplitLine: string;\n lineBg: string;\n itemColor: string;\n itemBorderColor: string;\n itemEmphasisBorderColor: string;\n shadowLineDarkBg: string;\n shadowLineShadow: string;\n gradFrom: string;\n gradTo: string;\n };\n\n electricity: {\n tooltipBg: string;\n tooltipLineColor: string;\n tooltipBorderColor: string;\n tooltipTextColor: string;\n axisLineColor: string;\n xAxisTextColor: string;\n yAxisSplitLine: string;\n itemBorderColor: string;\n lineGradFrom: string;\n lineGradTo: string;\n lineShadow: string;\n areaGradFrom: string;\n areaGradTo: string;\n shadowLineDarkBg: string;\n };\n\n echarts: {\n bg: string;\n textColor: string;\n axisLineColor: string;\n splitLineColor: string;\n itemHoverShadowColor: string;\n tooltipBackgroundColor: string;\n };\n\n chartjs: {\n axisLineColor: string;\n textColor: string;\n };\n}\n\n/** 非颜色变量(圆角等,可随平台不同:iOS 24 / Android|Windows 6 / Linux 4) */\nexport interface BaseVariables {\n buttonRadius: number;\n cardRadius: number;\n inputRadius: number;\n}\n\n/** 颜色主题:name/displayName 表示这套配色是谁 */\nexport interface ColorTheme {\n name: string;\n displayName: string;\n variables: ColorVariables;\n}\n\n/** 基础主题:name/displayName 表示这套基础规范是谁(如 iOS / Android / 默认) */\nexport interface BaseTheme {\n name: string;\n displayName: string;\n variables: BaseVariables;\n}\n\n/** 完整主题 = 颜色主题 + 基础主题 */\nexport interface Theme {\n colors: ColorTheme;\n base: BaseTheme;\n}\n\n/** 颜色主题枚举 */\nexport enum ThemeEnum {\n DEFAULT = \"default\",\n LIGHT = \"light\",\n CORPORATE = \"corporate\",\n FOREST = \"forest\",\n DARK = \"dark\",\n COSMIC = \"cosmic\",\n COFFEE = \"coffee\",\n WINE = \"wine\",\n /** 麦田:default 基础上白红色改为金黄色 */\n WHEAT = \"wheat\",\n}\n\nexport const DEFAULT_THEME = ThemeEnum.DEFAULT;\nexport const THEME_VALUES = Object.values(ThemeEnum);\n\n/** 基础主题枚举(平台/圆角等,如 iOS 24 / Android|Windows 6 / Linux 4) */\nexport enum BaseEnum {\n DEFAULT = \"default\",\n IOS = \"ios\",\n ANDROID = \"android\",\n WINDOWS = \"windows\",\n LINUX = \"linux\",\n}\n\nexport const DEFAULT_BASE = BaseEnum.DEFAULT;\nexport const BASE_VALUES = Object.values(BaseEnum);\n\nexport const COLOR_STORAGE_KEY = \"theme-color\";\nexport const BASE_STORAGE_KEY = \"theme-base\";\n"],"mappings":"AA6HA,IAAY,KAAL,SAAA,GAAA;AACL,SAAA,EAAA,UAAA,WACA,EAAA,QAAA,SACA,EAAA,YAAA,aACA,EAAA,SAAA,UACA,EAAA,OAAA,QACA,EAAA,SAAA,UACA,EAAA,SAAA,UACA,EAAA,OAAA,QAEA,EAAA,QAAA;;AAGF,MAAa,IAAgB,EAAU,SAC1B,IAAe,OAAO,OAAO,CAAA;AAG1C,IAAY,KAAL,SAAA,GAAA;AACL,SAAA,EAAA,UAAA,WACA,EAAA,MAAA,OACA,EAAA,UAAA,WACA,EAAA,UAAA,WACA,EAAA,QAAA;;AAGF,MAAa,IAAe,EAAS,SACxB,IAAc,OAAO,OAAO,CAAA,GAE5B,IAAoB,eACpB,IAAmB"}
1
+ {"version":3,"file":"chunk-types-BudGuDCK.mjs","names":[],"sources":["../src/themes/types/theme.ts"],"sourcesContent":["/**\n * 主题相关类型:颜色变量、基础变量、主题枚举与常量。\n * Theme types: color/base variables, theme enums and constants.\n */\n\n/** 颜色变量(主题色、背景、边框、文字、图表等一切与颜色相关) */\nexport interface ColorVariables {\n primary: string;\n primaryLight: string;\n primaryFg: string;\n success: string;\n successLight: string;\n info: string;\n infoLight: string;\n warning: string;\n warningLight: string;\n danger: string;\n dangerLight: string;\n\n bg: string;\n bg2: string;\n bg3: string;\n bg4: string;\n\n border: string;\n border2: string;\n border3: string;\n border4: string;\n border5: string;\n\n fg: string;\n fgText: string;\n fgHeading: string;\n fgHighlight: string;\n /** primary 上的文字色,暂时规定等于 bg */\n fgOnPrimary: string;\n separator: string;\n\n temperature: {\n arcFill: string[];\n arcEmpty: string;\n thumbBg: string;\n thumbBorder: string;\n };\n\n solar: {\n gradientLeft: string;\n gradientRight: string;\n shadowColor: string;\n secondSeriesFill: string;\n };\n\n traffic: {\n tooltipBg: string;\n tooltipBorderColor: string;\n tooltipTextColor: string;\n yAxisSplitLine: string;\n lineBg: string;\n itemColor: string;\n itemBorderColor: string;\n itemEmphasisBorderColor: string;\n shadowLineDarkBg: string;\n shadowLineShadow: string;\n gradFrom: string;\n gradTo: string;\n };\n\n electricity: {\n tooltipBg: string;\n tooltipLineColor: string;\n tooltipBorderColor: string;\n tooltipTextColor: string;\n axisLineColor: string;\n xAxisTextColor: string;\n yAxisSplitLine: string;\n itemBorderColor: string;\n lineGradFrom: string;\n lineGradTo: string;\n lineShadow: string;\n areaGradFrom: string;\n areaGradTo: string;\n shadowLineDarkBg: string;\n };\n\n echarts: {\n bg: string;\n textColor: string;\n axisLineColor: string;\n splitLineColor: string;\n itemHoverShadowColor: string;\n tooltipBackgroundColor: string;\n };\n\n chartjs: {\n axisLineColor: string;\n textColor: string;\n };\n}\n\n/** 非颜色变量(圆角等,可随平台不同:iOS 24 / Android|Windows 6 / Linux 4) */\nexport interface BaseVariables {\n buttonRadius: number;\n cardRadius: number;\n inputRadius: number;\n}\n\n/** 颜色主题:name/displayName 表示这套配色是谁 */\nexport interface ColorTheme {\n name: string;\n displayName: string;\n variables: ColorVariables;\n}\n\n/** 基础主题:name/displayName 表示这套基础规范是谁(如 iOS / Android / 默认) */\nexport interface BaseTheme {\n name: string;\n displayName: string;\n variables: BaseVariables;\n}\n\n/** 完整主题 = 颜色主题 + 基础主题 */\nexport interface Theme {\n colors: ColorTheme;\n base: BaseTheme;\n}\n\n/** 颜色主题枚举 */\nexport enum ThemeEnum {\n DEFAULT = \"default\",\n LIGHT = \"light\",\n CORPORATE = \"corporate\",\n FOREST = \"forest\",\n DARK = \"dark\",\n COSMIC = \"cosmic\",\n COFFEE = \"coffee\",\n WINE = \"wine\",\n /** 麦田:default 基础上白红色改为金黄色 */\n WHEAT = \"wheat\",\n}\n\nexport const DEFAULT_THEME = ThemeEnum.DEFAULT;\nexport const THEME_VALUES = Object.values(ThemeEnum);\n\n/** 基础主题枚举(平台/圆角等,如 iOS 24 / Android|Windows 6 / Linux 4) */\nexport enum BaseEnum {\n DEFAULT = \"default\",\n IOS = \"ios\",\n ANDROID = \"android\",\n WINDOWS = \"windows\",\n LINUX = \"linux\",\n}\n\nexport const DEFAULT_BASE = BaseEnum.DEFAULT;\nexport const BASE_VALUES = Object.values(BaseEnum);\n\nexport const COLOR_STORAGE_KEY = \"theme-color\";\nexport const BASE_STORAGE_KEY = \"theme-base\";\n"],"mappings":"AA+HA,IAAY,KAAL,SAAA,GAAA;AACL,SAAA,EAAA,UAAA,WACA,EAAA,QAAA,SACA,EAAA,YAAA,aACA,EAAA,SAAA,UACA,EAAA,OAAA,QACA,EAAA,SAAA,UACA,EAAA,SAAA,UACA,EAAA,OAAA,QAEA,EAAA,QAAA;;AAGF,MAAa,IAAgB,EAAU,SAC1B,IAAe,OAAO,OAAO,CAAA;AAG1C,IAAY,KAAL,SAAA,GAAA;AACL,SAAA,EAAA,UAAA,WACA,EAAA,MAAA,OACA,EAAA,UAAA,WACA,EAAA,UAAA,WACA,EAAA,QAAA;;AAGF,MAAa,IAAe,EAAS,SACxB,IAAc,OAAO,OAAO,CAAA,GAE5B,IAAoB,eACpB,IAAmB"}
package/dist/themes.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.styles-module__loading___bgEAk{justify-content:center;align-items:center;display:inline-flex}.styles-module__loading___bgEAk svg polyline{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.styles-module__loading___bgEAk svg polyline.styles-module__back___XLPvD{fill:none;stroke:var(--color-primary-alpha,#ff4d5033)}.styles-module__loading___bgEAk svg polyline.styles-module__front___hSxig{fill:none;stroke:var(--color-primary,#ff4d4f);stroke-dasharray:48 144;stroke-dashoffset:192px;animation:1.4s linear infinite styles-module__dash_682___AQzo6}@keyframes styles-module__dash_682___AQzo6{72.5%{opacity:0}to{stroke-dashoffset:0}}.styles-module__loader___E7OIM{justify-content:center;align-items:center;width:fit-content;height:fit-content;display:flex}.styles-module__truckWrapper___Sk4zX{flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow-x:hidden}.styles-module__truckBody___j7w2C{width:65%;height:fit-content;margin-bottom:6px;animation:1s linear infinite styles-module__motion___IiNlW}@keyframes styles-module__motion___IiNlW{0%{transform:translateY(0)}50%{transform:translateY(3px)}to{transform:translateY(0)}}.styles-module__truckTires___4ncTl{justify-content:space-between;align-items:center;width:65%;height:fit-content;padding:0 10px 0 15px;display:flex;position:absolute;bottom:0}.styles-module__tiresvg___IBQcN{width:24px}.styles-module__road___sxx-E{background-color:var(--color-fg-heading);border-radius:3px;align-self:flex-end;width:100%;height:1.5px;position:relative;bottom:0}.styles-module__road___sxx-E:before{content:"";background-color:var(--color-fg-heading);border-left:10px solid var(--color-bg);border-radius:3px;width:20px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-50%}.styles-module__road___sxx-E:after{content:"";background-color:var(--color-fg-heading);border-left:4px solid var(--color-bg);border-radius:3px;width:10px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-65%}.styles-module__lampPost___okcN5{height:45%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;bottom:0;right:-90%}@keyframes styles-module__roadAnimation___yvrHP{0%{transform:translate(0)}to{transform:translate(-350px)}}.styles-module__loader___pFUzL{justify-content:center;align-items:center;display:inline-flex;position:relative}.styles-module__loader___pFUzL:before{content:"";background:var(--color-primary);opacity:.3;border-radius:50%;width:100%;height:5px;animation:.5s linear infinite styles-module__shadow324___sutUe;position:absolute;top:calc(100% + 12px);left:0}.styles-module__loader___pFUzL:after{content:"";background:var(--color-primary);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__square___GKjhm:after{border-radius:4px;animation:.5s linear infinite styles-module__jump7456Square___Z-D9b}.styles-module__circle___bUpSN:after{border-radius:50%;animation:.5s linear infinite styles-module__jump7456Circle___2AfF7}@keyframes styles-module__jump7456Square___Z-D9b{15%{border-bottom-right-radius:3px}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__jump7456Circle___2AfF7{15%{border-bottom-right-radius:50%}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__shadow324___sutUe{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}.style-module__waves___oR3u7{width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0;overflow:hidden}.style-module__waves___oR3u7:before{content:"";width:.5rem;height:.5rem;transform:translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);will-change:transform;background:#160000;border-radius:50%;position:absolute;top:0;left:0}.style-module__wavesCanvas___zkhTC{width:100%;height:100%;display:block}.style-module__squaresCanvas___22kMc{border:none;width:100%;height:100%;display:block}.style-module__container___HkxIe{background-color:#000;width:100%;height:100%;position:relative;overflow:hidden}.style-module__canvas___MR9JX{width:100%;height:100%;display:block}.style-module__outerVignette___i75nw{pointer-events:none;background:radial-gradient(circle,#0000 60%,#000 100%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__centerVignette___n9uVG{pointer-events:none;background:radial-gradient(circle,#000c 0%,#0000 60%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__container___Hh3-c{width:100%;height:100%;position:relative;overflow:hidden}.styles-module__button___RbliA{cursor:pointer;border:1px solid #0000;border-radius:.5rem;outline:none;justify-content:center;align-items:center;gap:.5rem;font-family:inherit;font-weight:500;transition:all .2s;display:inline-flex;position:relative}.styles-module__button___RbliA:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.styles-module__button___RbliA:disabled{cursor:not-allowed;opacity:.6}.styles-module__button___RbliA.styles-module__small___yK0Yp{min-height:2rem;padding:.5rem 1rem;font-size:.8125rem}.styles-module__button___RbliA.styles-module__medium___eBTch{min-height:2.5rem;padding:.75rem 1.5rem;font-size:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl{min-height:3rem;padding:1rem 2rem;font-size:1rem}.styles-module__button___RbliA.styles-module__primary___qsZpA{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg,#fff)}.styles-module__button___RbliA.styles-module__primary___qsZpA:hover:not(:disabled){background:var(--color-primary-light);border-color:var(--color-primary-light);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__primary___qsZpA:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__secondary___SCpPv{background:var(--color-bg-2);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__button___RbliA.styles-module__secondary___SCpPv:hover:not(:disabled){background:var(--color-bg-3);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__outline___rrlk9{border-color:var(--color-border-4);color:var(--color-fg-text);background:0 0}.styles-module__button___RbliA.styles-module__outline___rrlk9:hover:not(:disabled){background:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__ghost___QMoiH{color:var(--color-fg-text);background:0 0;border-color:#0000}.styles-module__button___RbliA.styles-module__ghost___QMoiH:hover:not(:disabled){background:var(--color-bg-2)}.styles-module__button___RbliA.styles-module__danger___MW-pg{background:var(--color-danger);border-color:var(--color-danger);color:#fff}.styles-module__button___RbliA.styles-module__danger___MW-pg:hover:not(:disabled){background:var(--color-danger-light);border-color:var(--color-danger-light);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__danger___MW-pg:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__fullWidth___-dXBR{width:100%}.styles-module__button___RbliA.styles-module__loading___UWw6V{pointer-events:none}.styles-module__spinner___KpJ-L{border:2px solid;border-top-color:#0000;border-radius:50%;flex-shrink:0;width:1rem;height:1rem;animation:.6s linear infinite styles-module__spin___ntZKM}@keyframes styles-module__spin___ntZKM{to{transform:rotate(360deg)}}.styles-module__button___RbliA.styles-module__small___yK0Yp .styles-module__spinner___KpJ-L{border-width:1.5px;width:.875rem;height:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl .styles-module__spinner___KpJ-L{border-width:2.5px;width:1.25rem;height:1.25rem}.styles-module__content___oyZRO{align-items:center;display:flex}.styles-module__leftIcon___cDktv,.styles-module__rightIcon___1mpk0{flex-shrink:0;align-items:center;display:flex}.styles-module__leftIcon___cDktv{margin-right:-.25rem}.styles-module__rightIcon___1mpk0{margin-left:-.25rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U{aspect-ratio:1;min-width:2.5rem;min-height:2.5rem;padding:0}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__small___yK0Yp{min-width:2rem;min-height:2rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__large___pIZkl{min-width:3rem;min-height:3rem}.styles-module__iconContainer___bwvE3{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.styles-module__layout___WaGy9{flex-direction:column;justify-content:center;align-items:center;gap:.25rem;width:100%;display:flex}.styles-module__horizontal___lKpGq{justify-content:center;align-items:center;gap:.5rem;width:100%;display:flex}.styles-module__topIcon___bzw6s,.styles-module__bottomIcon___suPfa{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__leftIcon___cDktv,.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__rightIcon___1mpk0{margin:0}.Dropdown-module__dropdown___c9wIp{width:100%;display:inline-block;position:relative}.Dropdown-module__dropdownButton___suNh-{border:1px solid var(--color-separator);cursor:pointer;text-align:left;background:var(--color-bg-2);width:100%;color:var(--color-fg-text);border-radius:8px;outline:none;justify-content:space-between;align-items:center;padding:.75rem 2.5rem .75rem 1rem;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.5rem;transition:all .2s ease-in-out;display:flex;position:relative}.Dropdown-module__dropdownButton___suNh-:hover:not(:disabled){border-color:var(--color-primary);background:var(--color-bg-1)}.Dropdown-module__dropdownButton___suNh-:focus{border-color:var(--color-primary);background:var(--color-bg-1);box-shadow:0 0 0 2px var(--color-primary-transparent)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__disabled___Rz0pX{cursor:not-allowed;opacity:.6;background:var(--color-bg-3)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__error___F7dDu{border-color:#ef4444}.Dropdown-module__buttonText___D2zxn{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.Dropdown-module__chevronIcon___uyawp{color:var(--color-fg-highlight);flex-shrink:0;transition:transform .15s;position:absolute;right:1rem}.Dropdown-module__chevronIcon___uyawp.Dropdown-module__open___APoXd{transform:rotate(180deg)}.Dropdown-module__dropdownMenu___WJ-QO{background:var(--color-bg);border:1px solid var(--color-border-4);z-index:1000;border-radius:8px;min-width:100%;animation:.15s ease-out Dropdown-module__slideDown___sRCmO;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden;box-shadow:0 .5rem 1rem #0000002d}@keyframes Dropdown-module__slideDown___sRCmO{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}.Dropdown-module__optionsList___Be6RN{margin:0;padding:.5rem 0;list-style:none}.Dropdown-module__option___q-NgT{cursor:pointer;color:var(--color-fg-text);align-items:center;padding:.75rem 1rem;font-size:.875rem;transition:all .15s;display:flex}.Dropdown-module__option___q-NgT:hover{background-color:var(--color-bg-2)}.Dropdown-module__option___q-NgT.Dropdown-module__selected___-OTW-{background-color:var(--color-bg-3);color:var(--color-fg-highlight);font-weight:600}@media (width<=768px){.Dropdown-module__dropdownButton___suNh-{padding:.625rem 2.25rem .625rem .875rem;font-size:.875rem}.Dropdown-module__chevronIcon___uyawp{right:.875rem}.Dropdown-module__option___q-NgT{padding:.625rem .875rem;font-size:.8125rem}}.styles-module__wrapper___COeGm{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___COeGm.styles-module__fullWidth___lVU49{width:100%}.styles-module__label___gfOA7{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___-zOy5{color:var(--color-danger)}.styles-module__inputContainer___wXY53{align-items:center;width:100%;display:flex;position:relative}.styles-module__input___IZDc3{border:1px solid var(--color-border-4);background:var(--color-bg);width:100%;color:var(--color-fg-text);border-radius:.5rem;outline:none;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__input___IZDc3[type=password]::-webkit-credentials-auto-fill-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-webkit-strong-password-toggle-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-reveal{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-clear{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb,102, 126, 234), .1)}.styles-module__input___IZDc3::placeholder{color:var(--color-fg-muted,var(--color-fg-text));opacity:.5}.styles-module__input___IZDc3.styles-module__small___cuGyE{padding:.5rem .75rem;font-size:.8125rem}.styles-module__input___IZDc3.styles-module__medium___JdDPu{padding:.75rem;font-size:.875rem}.styles-module__input___IZDc3.styles-module__large___fMmiG{padding:1rem;font-size:1rem}.styles-module__input___IZDc3.styles-module__default___-eZTG{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__input___IZDc3.styles-module__filled___EQ5PQ{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3{padding-left:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3{padding-right:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-left:2rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-right:2rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-left:3rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-right:3rem}.styles-module__leftIcon___jEW5H,.styles-module__rightIcon___bA3Eo{color:var(--color-fg-muted,var(--color-fg-text));pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute}.styles-module__leftIcon___jEW5H{left:.75rem}.styles-module__rightIcon___bA3Eo{right:.75rem}.styles-module__rightIcon___bA3Eo.styles-module__rightIconInteractive___ccypw{pointer-events:auto}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__leftIcon___jEW5H{left:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__rightIcon___bA3Eo{right:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__leftIcon___jEW5H{left:1rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__rightIcon___bA3Eo{right:1rem}.styles-module__input___IZDc3.styles-module__error___946qV{border-color:var(--color-danger)}.styles-module__input___IZDc3.styles-module__error___946qV:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb,244, 67, 54), .1)}.styles-module__input___IZDc3.styles-module__disabled___sJvLd{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorMessage___5Mn22{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___T2eui{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__container___xeg8O{flex-direction:column;gap:1rem;display:flex}.styles-module__label___qhbKe{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__error___O-7AY{color:var(--color-error);font-size:.875rem}.styles-module__pairs___owGV3{flex-direction:column;gap:.75rem;display:flex}.styles-module__pair___G4WFY{grid-template-columns:1fr 2fr auto;align-items:start;gap:.75rem;display:grid}.styles-module__keyInput___wl1M1,.styles-module__valueInput___HiwJ5{flex:1}.styles-module__removeButton___4-X0b{min-width:auto;color:var(--color-error);padding:.5rem}.styles-module__removeButton___4-X0b:hover{background-color:var(--color-error);color:#fff}.styles-module__addButton___QFljt{align-self:flex-start}@media (width<=768px){.styles-module__pair___G4WFY{grid-template-columns:1fr}.styles-module__removeButton___4-X0b{align-self:flex-end}}.styles-module__searchContainer___86TGN{width:100%;max-width:400px;position:relative}.styles-module__searchIcon___ZInry{color:var(--color-fg-muted);pointer-events:none;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}.styles-module__searchInput___SqZXQ{border:1px solid var(--color-border);width:100%;color:var(--color-fg-text);background:var(--color-bg-2);border-radius:.5rem;padding:.75rem 3rem;font-size:1rem;transition:all .2s}.styles-module__searchInput___SqZXQ:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-bg);outline:none}.styles-module__searchInput___SqZXQ::placeholder{color:var(--color-fg-muted)}.styles-module__clearBtn___7jExr{width:1.5rem;height:1.5rem;color:var(--color-fg-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;transition:all .2s;display:flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.styles-module__clearBtn___7jExr:hover{color:var(--color-fg-text)}@media (width<=768px){.styles-module__searchContainer___86TGN{max-width:100%}}.styles-module__container___nGxdM{flex-direction:column;gap:.75rem;display:flex}.styles-module__toggleContainer___VrsKI{align-items:center;display:flex}.styles-module__toggleButton___IzD6Z{border:1px solid var(--color-border-4);background:var(--color-bg);color:var(--color-fg-muted);cursor:pointer;border-radius:.5rem;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;transition:all .2s;display:flex}.styles-module__toggleButton___IzD6Z:hover{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}.styles-module__optionsContainer___LOzlO{background:var(--color-bg-2);border:1px solid var(--color-border-4);border-radius:.5rem;gap:.5rem;padding:.5rem;display:flex}.styles-module__option___abhnC{border:1px solid var(--color-border-4);background:var(--color-bg);color:var(--color-fg);cursor:pointer;border-radius:.375rem;flex:1;justify-content:center;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.styles-module__option___abhnC:hover{background:var(--color-bg-3);border-color:var(--color-border-3)}.styles-module__option___abhnC.styles-module__active___pqmSi{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.styles-module__option___abhnC.styles-module__active___pqmSi:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}.styles-module__nbSelect___KjxSc{font-family:inherit;font-size:.9375rem;font-weight:600;line-height:1.5rem;display:inline-block;position:relative}.styles-module__selectButton___AKZe4{cursor:pointer;text-align:left;width:100%;min-width:8rem;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;border:1px solid;border-radius:.25rem;outline:none;justify-content:space-between;align-items:center;padding:.4375rem 2.2rem .4375rem 1.125rem;transition:all .15s ease-in-out;display:flex;position:relative}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:hover:not(:disabled){background-color:var(--color-primary-light);border-color:var(--color-primary-light)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:focus,.styles-module__selectButton___AKZe4.styles-module__primary___HU36a.styles-module__open___9AKMb{background-color:var(--color-primary-light);border-color:var(--color-primary-light);box-shadow:0 0 0 .125rem #8f9bb340}.styles-module__selectButton___AKZe4.styles-module__default___LedYP{background-color:var(--color-bg);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:hover:not(:disabled){background-color:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:focus,.styles-module__selectButton___AKZe4.styles-module__default___LedYP.styles-module__open___9AKMb{background-color:var(--color-bg-2);border-color:var(--color-primary);box-shadow:0 0 0 .125rem #8f9bb340}.styles-module__selectButton___AKZe4:disabled{cursor:not-allowed;opacity:.6}.styles-module__buttonText___QSLO1{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.styles-module__chevronIcon___qAHaD{flex-shrink:0;width:1.5rem;height:1.5rem;transition:transform .15s;position:absolute;right:.41rem}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a .styles-module__chevronIcon___qAHaD{color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP .styles-module__chevronIcon___qAHaD{color:var(--color-fg)}.styles-module__chevronIcon___qAHaD.styles-module__open___9AKMb{transform:rotate(180deg)}.styles-module__optionsPanel___NWAp3{background-color:var(--color-bg);border:1px solid var(--color-border-4);z-index:1000;transform-origin:top;visibility:hidden;pointer-events:none;border-radius:.25rem;min-width:100%;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden;box-shadow:0 .5rem 1rem #00000026}.styles-module__optionsPanel___NWAp3.styles-module__open___9AKMb{visibility:visible;pointer-events:auto;animation:.25s ease-out styles-module__expandDown___eD4lh}.styles-module__optionsPanel___NWAp3.styles-module__closed___bez-q{visibility:hidden;pointer-events:none;animation:.25s ease-out styles-module__collapseUp___dt1E7}@keyframes styles-module__expandDown___eD4lh{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes styles-module__collapseUp___dt1E7{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}.styles-module__optionsPanel___NWAp3.styles-module__primary___HU36a{border-color:var(--color-primary)}.styles-module__optionsPanel___NWAp3.styles-module__default___LedYP{border-color:var(--color-border-4)}.styles-module__optionsList___AxhVp{margin:0;padding:.5rem 0;list-style:none}.styles-module__option___t1SSw{cursor:pointer;color:var(--color-fg-text);justify-content:space-between;align-items:center;padding:.75rem 1.125rem;transition:all .15s;display:flex}.styles-module__option___t1SSw:hover{background-color:var(--color-bg-2)}.styles-module__option___t1SSw.styles-module__selected___azD4A{background-color:var(--color-primary);color:var(--color-primary-fg);font-weight:700}@media (prefers-color-scheme:dark){.styles-module__optionsPanel___NWAp3{box-shadow:0 .5rem 1rem #0000004d}}.styles-module__sliderContainer___lgpaD{flex-direction:column;gap:.5rem;display:flex}.styles-module__sliderContainer___lgpaD.styles-module__fullWidth___ZS8W5{width:100%}.styles-module__labelRow___dkVVM{justify-content:space-between;align-items:center;min-height:1.5rem;margin-bottom:.5rem;display:flex}.styles-module__label___bXGZs{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__required___FuyfE{color:var(--color-danger);margin-left:.25rem}.styles-module__sliderWrapper___1Wdti{touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:.75rem;width:100%;display:flex}.styles-module__sliderRoot___yzOjR{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-grow:1;align-items:center;width:100%;padding:.75rem 0;display:flex;position:relative}.styles-module__sliderRoot___yzOjR:active{cursor:grabbing}.styles-module__sliderTrackWrapper___N72WQ{flex-grow:1;display:flex;position:relative}.styles-module__sliderTrack___AltcD{background-color:var(--color-bg-3);border-radius:9999px;width:100%;height:.375rem;position:relative;overflow:hidden}.styles-module__sliderRange___U3g0-{background-color:var(--color-primary);border-radius:9999px;height:100%;position:absolute}.styles-module__valueIndicator___aLf0I{color:var(--color-primary);text-align:center;flex-shrink:0;min-width:2rem;font-size:.875rem;font-weight:600;line-height:1}.styles-module__iconWrapper___wL-b8{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__icon___vHsID{width:20px;height:20px;color:var(--color-fg-muted)}.styles-module__errorMessage___qFgGe{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___tgBGl{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__loadingContainer___OMgwS{flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;min-height:60vh;display:flex}.styles-module__loadingText___KRZqR{color:var(--color-fg-muted);font-size:1rem}.styles-module__errorContainer___qhAg2{text-align:center;min-height:60vh;color:var(--color-fg-text);flex-direction:column;justify-content:center;align-items:center;gap:2rem;padding:3rem 2rem;display:flex}.styles-module__errorIconWrapper___IHZrN{background:linear-gradient(135deg, rgba(var(--color-error-rgb,239, 68, 68), .1), rgba(var(--color-error-rgb,239, 68, 68), .05));border:2px solid rgba(var(--color-error-rgb,239, 68, 68), .2);border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;animation:2s ease-in-out infinite styles-module__pulse___Lju-z;display:flex}@keyframes styles-module__pulse___Lju-z{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.05)}}.styles-module__errorIcon___oGDIP{color:var(--color-error,#ef4444);stroke-width:1.5px}.styles-module__errorContent___F55rQ{flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:600px;display:flex}.styles-module__errorTitle___hC8D-{color:var(--color-fg-heading);letter-spacing:-.02em;margin:0;font-size:1.75rem;font-weight:700;line-height:1.2}.styles-module__errorDescription___hZtuP{color:var(--color-fg-muted);max-width:480px;margin:0;font-size:1rem;line-height:1.6}.styles-module__errorDetailsWrapper___-sp8b{width:100%;max-width:600px;margin-top:.5rem}.styles-module__errorDetailsContainer___eywMo{text-align:left;border:1px solid var(--color-border,#0000001a);background:var(--color-bg-2,#00000005);border-radius:.75rem;width:100%;transition:all .2s;overflow:hidden}.styles-module__errorDetailsContainer___eywMo:hover{border-color:var(--color-border-hover,#00000026);background:var(--color-bg-3,#00000008)}.styles-module__errorDetailsSummary___hGEoD{cursor:pointer;color:var(--color-fg-muted);-webkit-user-select:none;user-select:none;padding:.875rem 1.25rem;font-size:.875rem;font-weight:500;list-style:none;transition:color .2s}.styles-module__errorDetailsSummary___hGEoD:hover{color:var(--color-fg-text)}.styles-module__errorDetailsSummary___hGEoD::-webkit-details-marker{display:none}.styles-module__errorDetailsSummary___hGEoD:before{content:"▶";margin-right:.5rem;font-size:.75rem;transition:transform .2s;display:inline-block}.styles-module__errorDetailsContainer___eywMo[open] .styles-module__errorDetailsSummary___hGEoD:before{transform:rotate(90deg)}.styles-module__errorDetails___tzCT-{background:var(--color-bg-3,#00000008);border-top:1px solid var(--color-border,#0000001a);max-width:100%;color:var(--color-fg-muted);white-space:pre-wrap;word-break:break-word;margin:0;padding:1rem 1.25rem;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:.8125rem;line-height:1.6;overflow-x:auto}.styles-module__errorActions___gtqYw{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;margin-top:1rem;display:flex}.styles-module__retryButton___TA4jm{background:var(--color-primary);color:var(--color-primary-fg);cursor:pointer;border:none;border-radius:.5rem;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #00000014}.styles-module__retryButton___TA4jm:hover{background:var(--color-primary-hover,var(--color-primary));transform:translateY(-2px);box-shadow:0 4px 16px #0000001f}.styles-module__retryButton___TA4jm:active{transform:translateY(0);box-shadow:0 2px 8px #00000014}.styles-module__retryButtonIcon___vzfp-{font-size:1.125rem;line-height:1;transition:transform .3s;display:inline-block}.styles-module__retryButton___TA4jm:hover .styles-module__retryButtonIcon___vzfp-{transform:rotate(180deg)}.styles-module__clearLocalDataButton___T3B-K{color:var(--color-fg-muted);border:1px solid var(--color-border-4);cursor:pointer;background:0 0;border-radius:.5rem;justify-content:center;align-items:center;padding:.75rem 1.5rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__clearLocalDataButton___T3B-K:hover{color:var(--color-fg-text);border-color:var(--color-border-3);background:var(--color-bg-secondary)}.styles-module__wrapper___jXPV3{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___jXPV3.styles-module__fullWidth___eKyGB{width:100%}.styles-module__label___MyTeo{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___TV-m8{color:var(--color-danger)}.styles-module__inputContainer___VvGBl{align-items:flex-start;width:100%;display:flex;position:relative}.styles-module__textarea___AjX9N{border:1px solid var(--color-border-4);background:var(--color-bg);width:100%;color:var(--color-fg-text);resize:vertical;border-radius:.5rem;outline:none;min-height:4rem;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__textarea___AjX9N:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb,102, 126, 234), .1)}.styles-module__textarea___AjX9N::placeholder{color:var(--color-fg-muted,var(--color-fg-text));opacity:.5}.styles-module__textarea___AjX9N.styles-module__small___zMx0G{min-height:3rem;padding:.5rem .75rem;font-size:.8125rem}.styles-module__textarea___AjX9N.styles-module__medium___tO2Lb{min-height:4rem;padding:.75rem;font-size:.875rem}.styles-module__textarea___AjX9N.styles-module__large___3eU2g{min-height:5rem;padding:1rem;font-size:1rem}.styles-module__textarea___AjX9N.styles-module__default___vsSxX{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__textarea___AjX9N.styles-module__filled___TPQgI{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___VvGBl .styles-module__leftIcon___FHp2R{color:var(--color-fg-muted,var(--color-fg-text));pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;left:.75rem}.styles-module__inputContainer___VvGBl .styles-module__rightIcon___dkyvP{color:var(--color-fg-muted,var(--color-fg-text));pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;right:.75rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__rightIcon___dkyvP{top:.5rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__rightIcon___dkyvP{top:1rem}.styles-module__textarea___AjX9N.styles-module__error___d8gLK{border-color:var(--color-danger)}.styles-module__textarea___AjX9N.styles-module__error___d8gLK:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb,244, 67, 54), .1)}.styles-module__textarea___AjX9N.styles-module__disabled___IzbfE{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorText___Nom7x{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___97Def{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__virtualList___pM6rN{contain:strict;width:100%;padding-bottom:300px;position:relative;overflow:auto}.styles-module__emptyContainer___rm938{height:100%;color:var(--color-fg-muted);justify-content:center;align-items:center;display:flex}.styles-module__virtualListInner___HxRzc{width:100%;position:relative}.styles-module__virtualListItems___p19-a{width:100%;position:absolute;top:0;left:0}.styles-module__loadingMore___zAdLM{color:var(--color-fg-muted);justify-content:center;align-items:center;gap:.75rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;margin-top:1rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh span{background-color:var(--color-bg-2);border-radius:.25rem;padding:.5rem 1rem}.styles-module__virtualList___xmj2v{width:100%;padding-bottom:300px;position:relative;overflow:visible}.styles-module__virtualListInner___quD74{width:100%;position:relative}.styles-module__virtualListItems___-Muml{width:100%;position:absolute;top:0;left:0}.styles-module__virtualListRow___h3pzX{width:100%}.styles-module__emptyContainer___LIy8r{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:2rem 0;display:flex}.styles-module__loadingMore___Mzf-p{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:1.5rem 0;display:flex}.styles-module__endOfList___g5G--{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;padding:1.5rem 0;display:flex}.styles-module__sidebar___BMt0j{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.styles-module__sidebarContent___iAwiw{flex-direction:column;height:100%;min-height:0;padding-top:1rem;display:flex;overflow:hidden}.styles-module__menuWrapper___DKuEv{flex:1;min-height:0;overflow:hidden auto}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar{width:0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-track{background:0 0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-thumb{background:0 0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-thumb:hover{background:0 0}.styles-module__sidebar___BMt0j a{margin-left:0}.styles-module__sidebar___BMt0j .ps-sidebar-root{background-color:var(--color-bg-2)!important;border-right:1px solid var(--color-separator)!important;flex-direction:column!important;height:100%!important;min-height:0!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-sidebar-container{background-color:var(--color-bg-2)!important;height:100%!important;min-height:0!important;color:var(--color-fg-text)!important;flex-direction:column!important;flex:1!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-menu-button{color:var(--color-fg-text)!important;border-radius:.375rem!important;margin:.125rem .5rem!important;padding:.5rem .75rem!important;font-size:.875rem!important;transition:all .2s!important}.styles-module__sidebar___BMt0j .ps-menu-button:hover{background-color:var(--color-bg-3)!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active{background-color:var(--color-primary)!important;color:#fff!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active *,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label{color:#fff!important}.styles-module__sidebar___BMt0j .ps-menu-icon{width:1.25rem!important;height:1.25rem!important;color:var(--color-fg-text)!important;margin-right:.5rem!important}.styles-module__sidebar___BMt0j .ps-submenu-content{background-color:var(--color-bg-3)!important;padding-left:.5rem!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-submenu-content .ps-menu-button{margin:.125rem .25rem!important;padding:.375rem .5rem!important;font-size:.8125rem!important;transition:all .2s!important}.styles-module__sidebar___BMt0j .ps-menu-label{color:var(--color-fg-text)!important;font-weight:500!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active span,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active div,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label{color:#fff!important}.styles-module__logoutContainer___7NwBL{border-top:1px solid var(--color-separator);writing-mode:horizontal-tb;text-orientation:mixed;flex-shrink:0;margin-top:auto;padding:.5rem}.styles-module__logoutButton___rfD6u{width:100%;color:var(--color-fg-text);cursor:pointer;white-space:nowrap;writing-mode:horizontal-tb;text-orientation:mixed;direction:ltr;background:0 0;border:none;border-radius:.375rem;justify-content:flex-start;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;transition:background-color .2s,color .2s;display:flex;overflow:hidden}.styles-module__logoutButton___rfD6u span{opacity:1;max-width:200px;transition:opacity .3s,max-width .3s;display:inline-block;writing-mode:horizontal-tb!important;text-orientation:mixed!important;direction:ltr!important;transform:none!important}.styles-module__logoutButton___rfD6u .styles-module__hiddenText___z183T{opacity:0;width:0;max-width:0;overflow:hidden}.styles-module__logoutButton___rfD6u .styles-module__visibleText___lfsv-{opacity:1;width:auto;max-width:200px}.styles-module__logoutButton___rfD6u:hover{background-color:var(--color-bg-3)}.styles-module__logoutButton___rfD6u:active{transform:scale(.98)}.styles-module__logoutButton___rfD6u svg{color:inherit;flex-shrink:0}.styles-module__footer___g-hY7{background:var(--color-bg-2);width:100%;padding:0 2rem}.styles-module__footerContent___Oen5n{justify-content:space-between;align-items:center;max-width:100%;margin:0 auto;display:flex}.styles-module__copyright___1R2o3{color:var(--color-fg-text);font-size:.875rem}.styles-module__links___dQyvB{gap:1.5rem;display:flex}.styles-module__link___UWfyK{color:var(--color-fg-text);font-size:.875rem;text-decoration:none;transition:color .3s}.styles-module__link___UWfyK:hover{color:var(--color-primary)}@media (width<=768px){.styles-module__footerContent___Oen5n{flex-direction:column;gap:1rem}.styles-module__links___dQyvB{gap:1rem}}.styles-module__header___4Uc8h{width:100%;padding:.5rem 2rem;display:flex}.styles-module__header___4Uc8h>:first-child{flex:1;justify-content:flex-start;align-items:center;display:flex}.styles-module__header___4Uc8h>:last-child{flex:1;justify-content:flex-end;align-items:center;display:flex}.styles-module__layout___ZQKU7{background:var(--color-bg);flex-direction:column;width:100%;height:100vh;display:flex;position:relative}.styles-module__header___XIaFb{z-index:100;background:var(--color-bg);width:100%;position:fixed;top:0;box-shadow:0 .125rem .25rem #2c33491a}.styles-module__footer___r8ASO{z-index:100;width:100%;position:fixed;bottom:0}.styles-module__mainWrapper___i4tEI{flex:1;display:flex;position:relative}.styles-module__sidebar___ij-8-{position:fixed;top:0}.styles-module__content___mTgUr{background:var(--color-bg);flex:1;min-height:calc(100vh - 10rem);margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=768px){.styles-module__content___mTgUr{width:100%}.styles-module__sidebar___ij-8-{z-index:999;height:100vh;position:fixed;top:0;left:0}}.styles-module__mainWrapper___AiTAw{flex-direction:row;flex:1;display:flex;position:relative}.styles-module__sidebarContainer___X4yj8{z-index:99;flex-direction:column;display:flex;position:fixed;left:0;overflow:hidden}.styles-module__sidebar___VQTlH{flex-shrink:0;top:0;left:0}.styles-module__content___htJlH{background:var(--color-bg);flex:1;margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=1024px){.styles-module__content___htJlH{padding:1.5rem}}@media (width<=768px){.styles-module__content___htJlH{width:100%}.styles-module__sidebar___VQTlH{z-index:999;height:100vh;position:fixed;top:0;left:0}}.styles-module__wavesWrapper___TK7DI{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__wavesWrapper___TK7DI>*{pointer-events:auto}.styles-module__squaresWrapper___P25uF{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__squaresWrapper___P25uF>*{pointer-events:auto}.styles-module__letterGlitchWrapper___KWtWU{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__letterGlitchWrapper___KWtWU>*{pointer-events:auto}.styles-module__pixelBlastWrapper___YptHh{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__pixelBlastWrapper___YptHh>*{pointer-events:auto}
2
2
  /*$vite$:1*/`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
3
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Z=require("./chunk-chunk-BFrxaqQT.cjs"),o=require("./chunk-types-BNUlgEkq.cjs"),l=require("./chunk-lstorage-BnxLXHgH.cjs"),c=require("./chunk-useTheme-DgleVMMh.cjs");let g=require("react"),D=require("react/jsx-runtime");function h(){const t=l.getItem(o.COLOR_STORAGE_KEY);return t==null||o.THEME_VALUES.includes(t)?t:void 0}function p(t){l.setItem(o.COLOR_STORAGE_KEY,t)}function y(){const t=l.getItem(o.BASE_STORAGE_KEY);return t==null||o.BASE_VALUES.includes(t)?t:void 0}function F(t){l.setItem(o.BASE_STORAGE_KEY,t)}function v(){l.removeItem(o.COLOR_STORAGE_KEY),l.removeItem(o.BASE_STORAGE_KEY)}var G=(t,b)=>{(0,g.useEffect)(()=>{const r=document.documentElement,e=t.colors.variables,s=t.base.variables;r.style.setProperty("--color-primary",e.primary),r.style.setProperty("--color-primary-light",e.primaryLight),r.style.setProperty("--color-primary-fg",e.primaryFg),r.style.setProperty("--color-success",e.success),r.style.setProperty("--color-success-light",e.successLight),r.style.setProperty("--color-info",e.info),r.style.setProperty("--color-info-light",e.infoLight),r.style.setProperty("--color-warning",e.warning),r.style.setProperty("--color-warning-light",e.warningLight),r.style.setProperty("--color-danger",e.danger),r.style.setProperty("--color-danger-light",e.dangerLight),r.style.setProperty("--color-bg",e.bg),r.style.setProperty("--color-bg-2",e.bg2),r.style.setProperty("--color-bg-3",e.bg3),r.style.setProperty("--color-bg-4",e.bg4),r.style.setProperty("--color-border",e.border),r.style.setProperty("--color-border-2",e.border2),r.style.setProperty("--color-border-3",e.border3),r.style.setProperty("--color-border-4",e.border4),r.style.setProperty("--color-border-5",e.border5),r.style.setProperty("--color-fg",e.fg),r.style.setProperty("--color-fg-text",e.fgText),r.style.setProperty("--color-fg-heading",e.fgHeading),r.style.setProperty("--color-fg-highlight",e.fgHighlight),r.style.setProperty("--color-separator",e.separator),r.style.setProperty("--radius-button",`${s.buttonRadius}px`),r.style.setProperty("--radius-card",`${s.cardRadius}px`),r.style.setProperty("--radius-input",`${s.inputRadius}px`),e.temperature.arcFill.forEach((f,d)=>{r.style.setProperty(`--temperature-arc-fill-${d}`,f)}),r.style.setProperty("--temperature-arc-empty",e.temperature.arcEmpty),r.style.setProperty("--temperature-thumb-bg",e.temperature.thumbBg),r.style.setProperty("--temperature-thumb-border",e.temperature.thumbBorder),r.style.setProperty("--solar-gradient-left",e.solar.gradientLeft),r.style.setProperty("--solar-gradient-right",e.solar.gradientRight),r.style.setProperty("--solar-shadow-color",e.solar.shadowColor),r.style.setProperty("--solar-second-series-fill",e.solar.secondSeriesFill),r.style.setProperty("--traffic-tooltip-bg",e.traffic.tooltipBg),r.style.setProperty("--traffic-tooltip-border-color",e.traffic.tooltipBorderColor),r.style.setProperty("--traffic-tooltip-text-color",e.traffic.tooltipTextColor),r.style.setProperty("--traffic-y-axis-split-line",e.traffic.yAxisSplitLine),r.style.setProperty("--traffic-line-bg",e.traffic.lineBg),r.style.setProperty("--traffic-item-color",e.traffic.itemColor),r.style.setProperty("--traffic-item-border-color",e.traffic.itemBorderColor),r.style.setProperty("--traffic-item-emphasis-border-color",e.traffic.itemEmphasisBorderColor),r.style.setProperty("--traffic-shadow-line-dark-bg",e.traffic.shadowLineDarkBg),r.style.setProperty("--traffic-shadow-line-shadow",e.traffic.shadowLineShadow),r.style.setProperty("--traffic-grad-from",e.traffic.gradFrom),r.style.setProperty("--traffic-grad-to",e.traffic.gradTo),r.style.setProperty("--electricity-tooltip-bg",e.electricity.tooltipBg),r.style.setProperty("--electricity-tooltip-line-color",e.electricity.tooltipLineColor),r.style.setProperty("--electricity-tooltip-border-color",e.electricity.tooltipBorderColor),r.style.setProperty("--electricity-tooltip-text-color",e.electricity.tooltipTextColor),r.style.setProperty("--electricity-axis-line-color",e.electricity.axisLineColor),r.style.setProperty("--electricity-x-axis-text-color",e.electricity.xAxisTextColor),r.style.setProperty("--electricity-y-axis-split-line",e.electricity.yAxisSplitLine),r.style.setProperty("--electricity-item-border-color",e.electricity.itemBorderColor),r.style.setProperty("--electricity-line-grad-from",e.electricity.lineGradFrom),r.style.setProperty("--electricity-line-grad-to",e.electricity.lineGradTo),r.style.setProperty("--electricity-line-shadow",e.electricity.lineShadow),r.style.setProperty("--electricity-area-grad-from",e.electricity.areaGradFrom),r.style.setProperty("--electricity-area-grad-to",e.electricity.areaGradTo),r.style.setProperty("--electricity-shadow-line-dark-bg",e.electricity.shadowLineDarkBg),r.style.setProperty("--echarts-bg",e.echarts.bg),r.style.setProperty("--echarts-text-color",e.echarts.textColor),r.style.setProperty("--echarts-axis-line-color",e.echarts.axisLineColor),r.style.setProperty("--echarts-split-line-color",e.echarts.splitLineColor),r.style.setProperty("--echarts-item-hover-shadow-color",e.echarts.itemHoverShadowColor),r.style.setProperty("--echarts-tooltip-bg-color",e.echarts.tooltipBackgroundColor),r.style.setProperty("--chartjs-axis-line-color",e.chartjs.axisLineColor),r.style.setProperty("--chartjs-text-color",e.chartjs.textColor),p(b)},[b,t])};const R={buttonRadius:6,cardRadius:6,inputRadius:6},k={name:o.BaseEnum.ANDROID,displayName:"Android",variables:R},H={buttonRadius:8,cardRadius:8,inputRadius:6},i={name:o.BaseEnum.DEFAULT,displayName:"Default",variables:H},_={buttonRadius:24,cardRadius:24,inputRadius:24},O={name:o.BaseEnum.IOS,displayName:"iOS",variables:_},N={buttonRadius:4,cardRadius:4,inputRadius:4},U={name:o.BaseEnum.LINUX,displayName:"Linux",variables:N},I={buttonRadius:6,cardRadius:6,inputRadius:6},j={name:o.BaseEnum.WINDOWS,displayName:"Windows",variables:I},C={[o.BaseEnum.DEFAULT]:i,[o.BaseEnum.IOS]:O,[o.BaseEnum.ANDROID]:k,[o.BaseEnum.WINDOWS]:j,[o.BaseEnum.LINUX]:U},V={name:"coffee",displayName:"Coffee",variables:{primary:"#AF8F6F",primaryLight:"#F8F4E1",primaryFg:"#2a1f18",success:"#6d8f72",successLight:"#8aaa8e",info:"#8a7a6a",infoLight:"#a89888",warning:"#b8926a",warningLight:"#d4b896",danger:"#a65d5d",dangerLight:"#c07d7d",bg:"#2e1a08",bg2:"#543310",bg3:"#493628",bg4:"#74512D",border:"#493628",border2:"#543310",border3:"#74512D",border4:"#AF8F6F",border5:"#D6C0B3",fg:"#AF8F6F",fgText:"#F8F4E1",fgHeading:"#F8F4E1",fgHighlight:"#E4E0E1",separator:"#493628",temperature:{arcFill:["#AF8F6F","#AB886D","#D6C0B3","#E4E0E1","#F8F4E1"],arcEmpty:"#543310",thumbBg:"#493628",thumbBorder:"#AF8F6F"},solar:{gradientLeft:"#AF8F6F",gradientRight:"#F8F4E1",shadowColor:"rgba(0, 0, 0, 0.35)",secondSeriesFill:"#493628"},traffic:{tooltipBg:"#74512D",tooltipBorderColor:"#AF8F6F",tooltipTextColor:"#F8F4E1",yAxisSplitLine:"#543310",lineBg:"#493628",itemColor:"#543310",itemBorderColor:"#AF8F6F",itemEmphasisBorderColor:"#F8F4E1",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#493628",gradTo:"#2e1a08"},electricity:{tooltipBg:"#543310",tooltipLineColor:"#F8F4E1",tooltipBorderColor:"#AF8F6F",tooltipTextColor:"#F8F4E1",axisLineColor:"#AF8F6F",xAxisTextColor:"#AF8F6F",yAxisSplitLine:"#543310",itemBorderColor:"#AF8F6F",lineGradFrom:"#AF8F6F",lineGradTo:"#F8F4E1",lineShadow:"rgba(175, 143, 111, 0.3)",areaGradFrom:"#493628",areaGradTo:"#2e1a08",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#2e1a08",textColor:"#F8F4E1",axisLineColor:"#AF8F6F",splitLineColor:"#493628",itemHoverShadowColor:"rgba(0, 0, 0, 0.4)",tooltipBackgroundColor:"#543310"},chartjs:{axisLineColor:"#AF8F6F",textColor:"#F8F4E1"}}},K={name:"corporate",displayName:"Corporate",variables:{primary:"#3366ff",primaryLight:"#598bff",primaryFg:"#ffffff",success:"#00d68f",successLight:"#33dfaa",info:"#0095ff",infoLight:"#33a7ff",warning:"#ffaa00",warningLight:"#ffbb33",danger:"#ff3d71",dangerLight:"#ff6491",bg:"#ffffff",bg2:"#f7f9fc",bg3:"#edf1f7",bg4:"#e4e9f2",border:"#ffffff",border2:"#f7f9fc",border3:"#edf1f7",border4:"#e4e9f2",border5:"#c5cee0",fg:"#8f9bb3",fgText:"#222b45",fgHeading:"#192038",fgHighlight:"#003694",separator:"#edf1f7",temperature:{arcFill:["#ffa36b","#ffa36b","#ff9e7a","#ff9888","#ff8ea0"],arcEmpty:"#f7f9fc",thumbBg:"#f7f9fc",thumbBorder:"#ffa36b"},solar:{gradientLeft:"#3366ff",gradientRight:"#3366ff",shadowColor:"rgba(0, 0, 0, 0)",secondSeriesFill:"#f7f9fc"},traffic:{tooltipBg:"#ffffff",tooltipBorderColor:"#f7f9fc",tooltipTextColor:"#222b45",yAxisSplitLine:"rgba(0, 0, 0, 0)",lineBg:"#3366ff",itemColor:"#e4e9f2",itemBorderColor:"#e4e9f2",itemEmphasisBorderColor:"#598bff",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#ffffff",gradTo:"#ffffff"},electricity:{tooltipBg:"#ffffff",tooltipLineColor:"#222b45",tooltipBorderColor:"#f7f9fc",tooltipTextColor:"#222b45",axisLineColor:"#edf1f7",xAxisTextColor:"#8f9bb3",yAxisSplitLine:"#edf1f7",itemBorderColor:"#3366ff",lineGradFrom:"#3366ff",lineGradTo:"#3366ff",lineShadow:"rgba(0, 0, 0, 0)",areaGradFrom:"rgba(0, 0, 0, 0)",areaGradTo:"rgba(0, 0, 0, 0)",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#ffffff",textColor:"#222b45",axisLineColor:"#222b45",splitLineColor:"#edf1f7",itemHoverShadowColor:"rgba(0, 0, 0, 0.5)",tooltipBackgroundColor:"#3366ff"},chartjs:{axisLineColor:"#edf1f7",textColor:"#222b45"}}},q={name:"cosmic",displayName:"Cosmic",variables:{primary:"#a16eff",primaryLight:"#b489ff",primaryFg:"#ffffff",success:"#00d68f",successLight:"#33dfaa",info:"#0095ff",infoLight:"#33a7ff",warning:"#ffaa00",warningLight:"#ffbb33",danger:"#ff3d71",dangerLight:"#ff6491",bg:"#323259",bg2:"#2a2a48",bg3:"#272741",bg4:"#1f1f3a",border:"#323259",border2:"#2a2a48",border3:"#272741",border4:"#1f1f3a",border5:"#1f1f3a",fg:"#b4b4db",fgText:"#ffffff",fgHeading:"#ffffff",fgHighlight:"#a16eff",separator:"#2a2a48",temperature:{arcFill:["#2ec7fe","#31ffad","#7bff24","#fff024","#f7bd59"],arcEmpty:"#2a2a48",thumbBg:"#ffffff",thumbBorder:"#ffffff"},solar:{gradientLeft:"#a16eff",gradientRight:"#a16eff",shadowColor:"rgba(0, 0, 0, 0)",secondSeriesFill:"#2a2a48"},traffic:{tooltipBg:"#323259",tooltipBorderColor:"#2a2a48",tooltipTextColor:"#ffffff",yAxisSplitLine:"#2a2a48",lineBg:"#2a2a48",itemColor:"#2a2a48",itemBorderColor:"#2a2a48",itemEmphasisBorderColor:"#a16eff",shadowLineDarkBg:"#272741",shadowLineShadow:"#272741",gradFrom:"#323259",gradTo:"#2a2a48"},electricity:{tooltipBg:"#323259",tooltipLineColor:"#ffffff",tooltipBorderColor:"#2a2a48",tooltipTextColor:"#ffffff",axisLineColor:"#272741",xAxisTextColor:"#b4b4db",yAxisSplitLine:"#2a2a48",itemBorderColor:"#2a2a48",lineGradFrom:"#00d68f",lineGradTo:"#ffaa00",lineShadow:"#1f1f3a",areaGradFrom:"#2a2a48",areaGradTo:"#272741",shadowLineDarkBg:"#272741"},echarts:{bg:"#323259",textColor:"#ffffff",axisLineColor:"#ffffff",splitLineColor:"#2a2a48",itemHoverShadowColor:"rgba(0, 0, 0, 0.5)",tooltipBackgroundColor:"#a16eff"},chartjs:{axisLineColor:"#2a2a48",textColor:"#ffffff"}}},Y={name:"dark",displayName:"Dark",variables:{primary:"#d4a017",primaryLight:"#eab308",primaryFg:"#1a1a1a",success:"#22c55e",successLight:"#4ade80",info:"#14b8a6",infoLight:"#2dd4bf",warning:"#eab308",warningLight:"#facc15",danger:"#ef4444",dangerLight:"#f87171",bg:"#0f0f11",bg2:"#18181b",bg3:"#27272a",bg4:"#3f3f46",border:"#18181b",border2:"#27272a",border3:"#3f3f46",border4:"#52525b",border5:"#71717a",fg:"#a1a1aa",fgText:"#fafafa",fgHeading:"#ffffff",fgHighlight:"#fde047",separator:"#27272a",temperature:{arcFill:["#d4a017","#eab308","#fcd34d","#fde047","#fde047"],arcEmpty:"#27272a",thumbBg:"#27272a",thumbBorder:"#52525b"},solar:{gradientLeft:"#d4a017",gradientRight:"#eab308",shadowColor:"rgba(0, 0, 0, 0.3)",secondSeriesFill:"#27272a"},traffic:{tooltipBg:"#27272a",tooltipBorderColor:"#3f3f46",tooltipTextColor:"#fafafa",yAxisSplitLine:"#27272a",lineBg:"#3f3f46",itemColor:"#3f3f46",itemBorderColor:"#52525b",itemEmphasisBorderColor:"#eab308",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#27272a",gradTo:"#18181b"},electricity:{tooltipBg:"#27272a",tooltipLineColor:"#fafafa",tooltipBorderColor:"#3f3f46",tooltipTextColor:"#fafafa",axisLineColor:"#3f3f46",xAxisTextColor:"#a1a1aa",yAxisSplitLine:"#27272a",itemBorderColor:"#eab308",lineGradFrom:"#d4a017",lineGradTo:"#eab308",lineShadow:"rgba(212, 160, 23, 0.35)",areaGradFrom:"#27272a",areaGradTo:"#18181b",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#18181b",textColor:"#fafafa",axisLineColor:"#52525b",splitLineColor:"#27272a",itemHoverShadowColor:"rgba(0, 0, 0, 0.4)",tooltipBackgroundColor:"#27272a"},chartjs:{axisLineColor:"#3f3f46",textColor:"#fafafa"}}},M={name:"default",displayName:"Default",variables:{primary:"rgb(250, 30, 22)",primaryLight:"rgb(255, 120, 120)",primaryFg:"#ffffff",success:"rgb(62, 168, 30)",successLight:"rgb(220, 255, 210)",info:"rgb(255, 160, 150)",infoLight:"rgb(255, 200, 180)",warning:"rgb(248, 104, 7)",warningLight:"rgb(255, 140, 60)",danger:"rgb(211, 17, 11)",dangerLight:"rgb(243, 70, 64)",bg:"rgb(250, 250, 250)",bg2:"rgb(245, 245, 245)",bg3:"rgb(226, 224, 224)",bg4:"rgb(207, 207, 207)",border:"rgb(250, 250, 250)",border2:"rgb(245, 245, 245)",border3:"rgb(226, 224, 224)",border4:"rgb(207, 207, 207)",border5:"rgb(136, 136, 136)",fg:"rgb(136, 136, 136)",fgText:"rgb(22, 21, 21)",fgHeading:"rgb(0, 0, 0)",fgHighlight:"rgb(250, 30, 22)",separator:"rgb(226, 224, 224)",temperature:{arcFill:["rgb(255, 210, 210)","rgb(255, 200, 160)","rgb(255, 160, 150)","rgb(255, 120, 120)","rgb(250, 30, 22)"],arcEmpty:"rgb(245, 245, 245)",thumbBg:"rgb(245, 245, 245)",thumbBorder:"rgb(250, 30, 22)"},solar:{gradientLeft:"rgb(250, 30, 22)",gradientRight:"rgb(248, 104, 7)",shadowColor:"rgba(250, 30, 22, 0.1)",secondSeriesFill:"rgb(245, 245, 245)"},traffic:{tooltipBg:"rgb(250, 250, 250)",tooltipBorderColor:"rgb(245, 245, 245)",tooltipTextColor:"rgb(22, 21, 21)",yAxisSplitLine:"rgb(226, 224, 224)",lineBg:"rgb(207, 207, 207)",itemColor:"rgb(207, 207, 207)",itemBorderColor:"rgb(207, 207, 207)",itemEmphasisBorderColor:"rgb(250, 30, 22)",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"rgb(245, 245, 245)",gradTo:"rgb(245, 245, 245)"},electricity:{tooltipBg:"rgb(250, 250, 250)",tooltipLineColor:"rgb(22, 21, 21)",tooltipBorderColor:"rgb(245, 245, 245)",tooltipTextColor:"rgb(22, 21, 21)",axisLineColor:"rgb(226, 224, 224)",xAxisTextColor:"rgb(136, 136, 136)",yAxisSplitLine:"rgb(226, 224, 224)",itemBorderColor:"rgb(250, 30, 22)",lineGradFrom:"rgb(250, 30, 22)",lineGradTo:"rgb(248, 104, 7)",lineShadow:"rgba(250, 30, 22, 0.2)",areaGradFrom:"rgba(250, 30, 22, 0.1)",areaGradTo:"rgba(250, 30, 22, 0.05)",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"rgb(250, 250, 250)",textColor:"rgb(22, 21, 21)",axisLineColor:"rgb(136, 136, 136)",splitLineColor:"rgb(226, 224, 224)",itemHoverShadowColor:"rgba(250, 30, 22, 0.3)",tooltipBackgroundColor:"rgb(250, 30, 22)"},chartjs:{axisLineColor:"rgb(226, 224, 224)",textColor:"rgb(22, 21, 21)"}}},W={name:"forest",displayName:"Forest",variables:{primary:"#1F7A5A",primaryLight:"#E6F2EE",primaryFg:"#FFFFFF",success:"#1F7A5A",successLight:"#E6F2EE",info:"#2563EB",infoLight:"#E8F0FF",warning:"#B45309",warningLight:"#FFF4E5",danger:"#B42318",dangerLight:"#FDECEC",bg:"#FFFFFF",bg2:"#F7F9F8",bg3:"#EEF3F1",bg4:"#E6EFEC",border:"#E5E7EB",border2:"#D1D5DB",border3:"#C7D2CF",border4:"#B6C4BF",border5:"#1F7A5A",fg:"#111827",fgText:"#374151",fgHeading:"#0F172A",fgHighlight:"#1F7A5A",separator:"#E5E7EB",temperature:{arcFill:["#E6F2EE","#A7D8C6","#4AA987","#1F7A5A","#145A43"],arcEmpty:"#E5E7EB",thumbBg:"#1F7A5A",thumbBorder:"#145A43"},solar:{gradientLeft:"#E6F2EE",gradientRight:"#1F7A5A",shadowColor:"rgba(31, 122, 90, 0.25)",secondSeriesFill:"#A7D8C6"},traffic:{tooltipBg:"#FFFFFF",tooltipBorderColor:"#E5E7EB",tooltipTextColor:"#111827",yAxisSplitLine:"#E5E7EB",lineBg:"rgba(31, 122, 90, 0.08)",itemColor:"#1F7A5A",itemBorderColor:"#145A43",itemEmphasisBorderColor:"#0E5A41",shadowLineDarkBg:"rgba(31, 122, 90, 0.15)",shadowLineShadow:"rgba(31, 122, 90, 0.20)",gradFrom:"#E6F2EE",gradTo:"#1F7A5A"},electricity:{tooltipBg:"#FFFFFF",tooltipLineColor:"#1F7A5A",tooltipBorderColor:"#E5E7EB",tooltipTextColor:"#111827",axisLineColor:"#D1D5DB",xAxisTextColor:"#374151",yAxisSplitLine:"#E5E7EB",itemBorderColor:"#145A43",lineGradFrom:"#E6F2EE",lineGradTo:"#1F7A5A",lineShadow:"rgba(31, 122, 90, 0.25)",areaGradFrom:"rgba(31, 122, 90, 0.25)",areaGradTo:"rgba(31, 122, 90, 0.00)",shadowLineDarkBg:"rgba(31, 122, 90, 0.10)"},echarts:{bg:"#FFFFFF",textColor:"#111827",axisLineColor:"#D1D5DB",splitLineColor:"#E5E7EB",itemHoverShadowColor:"rgba(31, 122, 90, 0.25)",tooltipBackgroundColor:"#FFFFFF"},chartjs:{axisLineColor:"#D1D5DB",textColor:"#111827"}}},$={name:"light",displayName:"Light",variables:{primary:"#222b45",primaryLight:"#192038",primaryFg:"#ffffff",success:"#00d68f",successLight:"#33dfaa",info:"#0095ff",infoLight:"#33a7ff",warning:"#ffaa00",warningLight:"#ffbb33",danger:"#ff3d71",dangerLight:"#ff6491",bg:"#ffffff",bg2:"#f7f9fc",bg3:"#edf1f7",bg4:"#e4e9f2",border:"#ffffff",border2:"#f7f9fc",border3:"#edf1f7",border4:"#e4e9f2",border5:"#c5cee0",fg:"#8f9bb3",fgText:"#222b45",fgHeading:"#192038",fgHighlight:"#003694",separator:"#edf1f7",temperature:{arcFill:["#8f9bb3","#8f9bb3","#8f9bb3","#8f9bb3","#8f9bb3"],arcEmpty:"#f7f9fc",thumbBg:"#f7f9fc",thumbBorder:"#8f9bb3"},solar:{gradientLeft:"#8f9bb3",gradientRight:"#8f9bb3",shadowColor:"rgba(0, 0, 0, 0)",secondSeriesFill:"#f7f9fc"},traffic:{tooltipBg:"#ffffff",tooltipBorderColor:"#f7f9fc",tooltipTextColor:"#222b45",yAxisSplitLine:"#edf1f7",lineBg:"#e4e9f2",itemColor:"#e4e9f2",itemBorderColor:"#e4e9f2",itemEmphasisBorderColor:"#8f9bb3",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#f7f9fc",gradTo:"#f7f9fc"},electricity:{tooltipBg:"#ffffff",tooltipLineColor:"#222b45",tooltipBorderColor:"#f7f9fc",tooltipTextColor:"#222b45",axisLineColor:"#edf1f7",xAxisTextColor:"#8f9bb3",yAxisSplitLine:"#edf1f7",itemBorderColor:"#8f9bb3",lineGradFrom:"#8f9bb3",lineGradTo:"#8f9bb3",lineShadow:"rgba(0, 0, 0, 0)",areaGradFrom:"#f7f9fc",areaGradTo:"#f7f9fc",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#ffffff",textColor:"#222b45",axisLineColor:"#222b45",splitLineColor:"#edf1f7",itemHoverShadowColor:"rgba(0, 0, 0, 0.5)",tooltipBackgroundColor:"#8f9bb3"},chartjs:{axisLineColor:"#edf1f7",textColor:"#222b45"}}},X={name:"wheat",displayName:"麦田",variables:{primary:"rgb(201, 162, 39)",primaryLight:"rgb(230, 200, 120)",primaryFg:"#ffffff",success:"rgb(62, 168, 30)",successLight:"rgb(220, 255, 210)",info:"rgb(220, 180, 80)",infoLight:"rgb(255, 235, 180)",warning:"rgb(218, 165, 32)",warningLight:"rgb(255, 215, 120)",danger:"rgb(180, 130, 20)",dangerLight:"rgb(220, 180, 80)",bg:"rgb(250, 250, 250)",bg2:"rgb(245, 245, 245)",bg3:"rgb(226, 224, 224)",bg4:"rgb(207, 207, 207)",border:"rgb(250, 250, 250)",border2:"rgb(245, 245, 245)",border3:"rgb(226, 224, 224)",border4:"rgb(207, 207, 207)",border5:"rgb(136, 136, 136)",fg:"rgb(136, 136, 136)",fgText:"rgb(22, 21, 21)",fgHeading:"rgb(0, 0, 0)",fgHighlight:"rgb(201, 162, 39)",separator:"rgb(226, 224, 224)",temperature:{arcFill:["rgb(255, 245, 210)","rgb(255, 235, 180)","rgb(255, 220, 150)","rgb(230, 200, 120)","rgb(201, 162, 39)"],arcEmpty:"rgb(245, 245, 245)",thumbBg:"rgb(245, 245, 245)",thumbBorder:"rgb(201, 162, 39)"},solar:{gradientLeft:"rgb(201, 162, 39)",gradientRight:"rgb(218, 165, 32)",shadowColor:"rgba(201, 162, 39, 0.1)",secondSeriesFill:"rgb(245, 245, 245)"},traffic:{tooltipBg:"rgb(250, 250, 250)",tooltipBorderColor:"rgb(245, 245, 245)",tooltipTextColor:"rgb(22, 21, 21)",yAxisSplitLine:"rgb(226, 224, 224)",lineBg:"rgb(207, 207, 207)",itemColor:"rgb(207, 207, 207)",itemBorderColor:"rgb(207, 207, 207)",itemEmphasisBorderColor:"rgb(201, 162, 39)",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"rgb(245, 245, 245)",gradTo:"rgb(245, 245, 245)"},electricity:{tooltipBg:"rgb(250, 250, 250)",tooltipLineColor:"rgb(22, 21, 21)",tooltipBorderColor:"rgb(245, 245, 245)",tooltipTextColor:"rgb(22, 21, 21)",axisLineColor:"rgb(226, 224, 224)",xAxisTextColor:"rgb(136, 136, 136)",yAxisSplitLine:"rgb(226, 224, 224)",itemBorderColor:"rgb(201, 162, 39)",lineGradFrom:"rgb(201, 162, 39)",lineGradTo:"rgb(218, 165, 32)",lineShadow:"rgba(201, 162, 39, 0.2)",areaGradFrom:"rgba(201, 162, 39, 0.1)",areaGradTo:"rgba(201, 162, 39, 0.05)",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"rgb(250, 250, 250)",textColor:"rgb(22, 21, 21)",axisLineColor:"rgb(136, 136, 136)",splitLineColor:"rgb(226, 224, 224)",itemHoverShadowColor:"rgba(201, 162, 39, 0.3)",tooltipBackgroundColor:"rgb(201, 162, 39)"},chartjs:{axisLineColor:"rgb(226, 224, 224)",textColor:"rgb(22, 21, 21)"}}},z={name:"wine",displayName:"Wine",variables:{primary:"#800020",primaryLight:"#F4E6E9",primaryFg:"#F4E6E9",success:"#6b8f6b",successLight:"#8aaa8e",info:"#8a6a6a",infoLight:"#a88a8a",warning:"#c49050",warningLight:"#d4b080",danger:"#b85050",dangerLight:"#d07070",bg:"#2A0B12",bg2:"#3A0F1A",bg3:"#4A1322",bg4:"#4A1322",border:"#2A0B12",border2:"#3A0F1A",border3:"#4A1322",border4:"#800020",border5:"#B23A5C",fg:"#C97A8A",fgText:"#F4E6E9",fgHeading:"#F4E6E9",fgHighlight:"#F4E6E9",separator:"#3A0F1A",temperature:{arcFill:["#800020","#9A1F3D","#B23A5C","#C97A8A","#F4E6E9"],arcEmpty:"#2A0B12",thumbBg:"#3A0F1A",thumbBorder:"#800020"},solar:{gradientLeft:"#800020",gradientRight:"#F4E6E9",shadowColor:"rgba(0, 0, 0, 0.4)",secondSeriesFill:"#3A0F1A"},traffic:{tooltipBg:"#4A1322",tooltipBorderColor:"#B23A5C",tooltipTextColor:"#F4E6E9",yAxisSplitLine:"#3A0F1A",lineBg:"#3A0F1A",itemColor:"#2A0B12",itemBorderColor:"#800020",itemEmphasisBorderColor:"#F4E6E9",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#3A0F1A",gradTo:"#2A0B12"},electricity:{tooltipBg:"#3A0F1A",tooltipLineColor:"#F4E6E9",tooltipBorderColor:"#800020",tooltipTextColor:"#F4E6E9",axisLineColor:"#B23A5C",xAxisTextColor:"#C97A8A",yAxisSplitLine:"#3A0F1A",itemBorderColor:"#800020",lineGradFrom:"#800020",lineGradTo:"#F4E6E9",lineShadow:"rgba(128, 0, 32, 0.35)",areaGradFrom:"#3A0F1A",areaGradTo:"#2A0B12",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#2A0B12",textColor:"#F4E6E9",axisLineColor:"#B23A5C",splitLineColor:"#3A0F1A",itemHoverShadowColor:"rgba(0, 0, 0, 0.4)",tooltipBackgroundColor:"#3A0F1A"},chartjs:{axisLineColor:"#B23A5C",textColor:"#F4E6E9"}}};var E={colors:M,base:i},J={colors:$,base:i},B={colors:Y,base:i},L={colors:q,base:i},u={colors:K,base:i},A={colors:W,base:i},T={colors:V,base:i},x={colors:z,base:i},Q={colors:X,base:i};const n={[o.ThemeEnum.DEFAULT]:E,[o.ThemeEnum.LIGHT]:J,[o.ThemeEnum.DARK]:B,[o.ThemeEnum.COSMIC]:L,[o.ThemeEnum.CORPORATE]:u,[o.ThemeEnum.FOREST]:A,[o.ThemeEnum.COFFEE]:T,[o.ThemeEnum.WINE]:x,[o.ThemeEnum.WHEAT]:Q};var w=(0,g.memo)(({children:t,defaultTheme:b=o.ThemeEnum.DEFAULT,defaultBase:r=o.BaseEnum.DEFAULT})=>{const[e,s]=(0,g.useState)(()=>{const a=h();return a!=null&&a in n?a:b}),[f,d]=(0,g.useState)(()=>{const a=y();return a??r}),m=(0,g.useMemo)(()=>({colors:n[e].colors,base:C[f]}),[e,f]);G(m,e);const S=a=>{s(a)},P=a=>{d(a),F(a)};return(0,D.jsx)(c.ThemeContext.Provider,{value:{currentTheme:m,themeName:e,baseName:f,setTheme:S,setBase:P,availableThemes:o.THEME_VALUES,availableBases:o.BASE_VALUES},children:t})});w.displayName="ThemeProvider";exports.BASE_STORAGE_KEY=o.BASE_STORAGE_KEY;exports.BASE_VALUES=o.BASE_VALUES;exports.BaseEnum=o.BaseEnum;exports.COLOR_STORAGE_KEY=o.COLOR_STORAGE_KEY;exports.DEFAULT_BASE=o.DEFAULT_BASE;exports.DEFAULT_THEME=o.DEFAULT_THEME;exports.THEME_VALUES=o.THEME_VALUES;exports.ThemeContext=c.ThemeContext;exports.ThemeEnum=o.ThemeEnum;exports.ThemeProvider=w;exports.bases=C;exports.coffeeTheme=T;exports.corporateTheme=u;exports.cosmicTheme=L;exports.darkTheme=B;exports.defaultTheme=E;exports.forestTheme=A;exports.getThemeBaseStorage=y;exports.getThemeColorStorage=h;exports.removeThemeStorage=v;exports.setThemeBaseStorage=F;exports.setThemeColorStorage=p;exports.themes=n;exports.useTheme=c.useTheme;exports.wineTheme=x;
3
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Z=require("./chunk-chunk-BFrxaqQT.cjs"),o=require("./chunk-types-BNUlgEkq.cjs"),l=require("./chunk-lstorage-BnxLXHgH.cjs"),c=require("./chunk-useTheme-DgleVMMh.cjs");let g=require("react"),D=require("react/jsx-runtime");function h(){const t=l.getItem(o.COLOR_STORAGE_KEY);return t==null||o.THEME_VALUES.includes(t)?t:void 0}function p(t){l.setItem(o.COLOR_STORAGE_KEY,t)}function y(){const t=l.getItem(o.BASE_STORAGE_KEY);return t==null||o.BASE_VALUES.includes(t)?t:void 0}function F(t){l.setItem(o.BASE_STORAGE_KEY,t)}function v(){l.removeItem(o.COLOR_STORAGE_KEY),l.removeItem(o.BASE_STORAGE_KEY)}var G=(t,b)=>{(0,g.useEffect)(()=>{const r=document.documentElement,e=t.colors.variables,f=t.base.variables;r.style.setProperty("--color-primary",e.primary),r.style.setProperty("--color-primary-light",e.primaryLight),r.style.setProperty("--color-primary-fg",e.primaryFg),r.style.setProperty("--color-success",e.success),r.style.setProperty("--color-success-light",e.successLight),r.style.setProperty("--color-info",e.info),r.style.setProperty("--color-info-light",e.infoLight),r.style.setProperty("--color-warning",e.warning),r.style.setProperty("--color-warning-light",e.warningLight),r.style.setProperty("--color-danger",e.danger),r.style.setProperty("--color-danger-light",e.dangerLight),r.style.setProperty("--color-bg",e.bg),r.style.setProperty("--color-bg-2",e.bg2),r.style.setProperty("--color-bg-3",e.bg3),r.style.setProperty("--color-bg-4",e.bg4),r.style.setProperty("--color-border",e.border),r.style.setProperty("--color-border-2",e.border2),r.style.setProperty("--color-border-3",e.border3),r.style.setProperty("--color-border-4",e.border4),r.style.setProperty("--color-border-5",e.border5),r.style.setProperty("--color-fg",e.fg),r.style.setProperty("--color-fg-text",e.fgText),r.style.setProperty("--color-fg-heading",e.fgHeading),r.style.setProperty("--color-fg-highlight",e.fgHighlight),r.style.setProperty("--color-fg-on-primary",e.fgOnPrimary),r.style.setProperty("--color-separator",e.separator),r.style.setProperty("--radius-button",`${f.buttonRadius}px`),r.style.setProperty("--radius-card",`${f.cardRadius}px`),r.style.setProperty("--radius-input",`${f.inputRadius}px`),e.temperature.arcFill.forEach((s,d)=>{r.style.setProperty(`--temperature-arc-fill-${d}`,s)}),r.style.setProperty("--temperature-arc-empty",e.temperature.arcEmpty),r.style.setProperty("--temperature-thumb-bg",e.temperature.thumbBg),r.style.setProperty("--temperature-thumb-border",e.temperature.thumbBorder),r.style.setProperty("--solar-gradient-left",e.solar.gradientLeft),r.style.setProperty("--solar-gradient-right",e.solar.gradientRight),r.style.setProperty("--solar-shadow-color",e.solar.shadowColor),r.style.setProperty("--solar-second-series-fill",e.solar.secondSeriesFill),r.style.setProperty("--traffic-tooltip-bg",e.traffic.tooltipBg),r.style.setProperty("--traffic-tooltip-border-color",e.traffic.tooltipBorderColor),r.style.setProperty("--traffic-tooltip-text-color",e.traffic.tooltipTextColor),r.style.setProperty("--traffic-y-axis-split-line",e.traffic.yAxisSplitLine),r.style.setProperty("--traffic-line-bg",e.traffic.lineBg),r.style.setProperty("--traffic-item-color",e.traffic.itemColor),r.style.setProperty("--traffic-item-border-color",e.traffic.itemBorderColor),r.style.setProperty("--traffic-item-emphasis-border-color",e.traffic.itemEmphasisBorderColor),r.style.setProperty("--traffic-shadow-line-dark-bg",e.traffic.shadowLineDarkBg),r.style.setProperty("--traffic-shadow-line-shadow",e.traffic.shadowLineShadow),r.style.setProperty("--traffic-grad-from",e.traffic.gradFrom),r.style.setProperty("--traffic-grad-to",e.traffic.gradTo),r.style.setProperty("--electricity-tooltip-bg",e.electricity.tooltipBg),r.style.setProperty("--electricity-tooltip-line-color",e.electricity.tooltipLineColor),r.style.setProperty("--electricity-tooltip-border-color",e.electricity.tooltipBorderColor),r.style.setProperty("--electricity-tooltip-text-color",e.electricity.tooltipTextColor),r.style.setProperty("--electricity-axis-line-color",e.electricity.axisLineColor),r.style.setProperty("--electricity-x-axis-text-color",e.electricity.xAxisTextColor),r.style.setProperty("--electricity-y-axis-split-line",e.electricity.yAxisSplitLine),r.style.setProperty("--electricity-item-border-color",e.electricity.itemBorderColor),r.style.setProperty("--electricity-line-grad-from",e.electricity.lineGradFrom),r.style.setProperty("--electricity-line-grad-to",e.electricity.lineGradTo),r.style.setProperty("--electricity-line-shadow",e.electricity.lineShadow),r.style.setProperty("--electricity-area-grad-from",e.electricity.areaGradFrom),r.style.setProperty("--electricity-area-grad-to",e.electricity.areaGradTo),r.style.setProperty("--electricity-shadow-line-dark-bg",e.electricity.shadowLineDarkBg),r.style.setProperty("--echarts-bg",e.echarts.bg),r.style.setProperty("--echarts-text-color",e.echarts.textColor),r.style.setProperty("--echarts-axis-line-color",e.echarts.axisLineColor),r.style.setProperty("--echarts-split-line-color",e.echarts.splitLineColor),r.style.setProperty("--echarts-item-hover-shadow-color",e.echarts.itemHoverShadowColor),r.style.setProperty("--echarts-tooltip-bg-color",e.echarts.tooltipBackgroundColor),r.style.setProperty("--chartjs-axis-line-color",e.chartjs.axisLineColor),r.style.setProperty("--chartjs-text-color",e.chartjs.textColor),p(b)},[b,t])};const R={buttonRadius:6,cardRadius:6,inputRadius:6},O={name:o.BaseEnum.ANDROID,displayName:"Android",variables:R},k={buttonRadius:8,cardRadius:8,inputRadius:6},i={name:o.BaseEnum.DEFAULT,displayName:"Default",variables:k},H={buttonRadius:24,cardRadius:24,inputRadius:24},_={name:o.BaseEnum.IOS,displayName:"iOS",variables:H},N={buttonRadius:4,cardRadius:4,inputRadius:4},U={name:o.BaseEnum.LINUX,displayName:"Linux",variables:N},I={buttonRadius:6,cardRadius:6,inputRadius:6},j={name:o.BaseEnum.WINDOWS,displayName:"Windows",variables:I},C={[o.BaseEnum.DEFAULT]:i,[o.BaseEnum.IOS]:_,[o.BaseEnum.ANDROID]:O,[o.BaseEnum.WINDOWS]:j,[o.BaseEnum.LINUX]:U},V={name:"coffee",displayName:"Coffee",variables:{primary:"#AF8F6F",primaryLight:"#F8F4E1",primaryFg:"#2a1f18",success:"#6d8f72",successLight:"#8aaa8e",info:"#8a7a6a",infoLight:"#a89888",warning:"#b8926a",warningLight:"#d4b896",danger:"#a65d5d",dangerLight:"#c07d7d",bg:"#2e1a08",bg2:"#543310",bg3:"#493628",bg4:"#74512D",border:"#493628",border2:"#543310",border3:"#74512D",border4:"#AF8F6F",border5:"#D6C0B3",fg:"#AF8F6F",fgText:"#F8F4E1",fgHeading:"#F8F4E1",fgHighlight:"#E4E0E1",fgOnPrimary:"#2e1a08",separator:"#493628",temperature:{arcFill:["#AF8F6F","#AB886D","#D6C0B3","#E4E0E1","#F8F4E1"],arcEmpty:"#543310",thumbBg:"#493628",thumbBorder:"#AF8F6F"},solar:{gradientLeft:"#AF8F6F",gradientRight:"#F8F4E1",shadowColor:"rgba(0, 0, 0, 0.35)",secondSeriesFill:"#493628"},traffic:{tooltipBg:"#74512D",tooltipBorderColor:"#AF8F6F",tooltipTextColor:"#F8F4E1",yAxisSplitLine:"#543310",lineBg:"#493628",itemColor:"#543310",itemBorderColor:"#AF8F6F",itemEmphasisBorderColor:"#F8F4E1",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#493628",gradTo:"#2e1a08"},electricity:{tooltipBg:"#543310",tooltipLineColor:"#F8F4E1",tooltipBorderColor:"#AF8F6F",tooltipTextColor:"#F8F4E1",axisLineColor:"#AF8F6F",xAxisTextColor:"#AF8F6F",yAxisSplitLine:"#543310",itemBorderColor:"#AF8F6F",lineGradFrom:"#AF8F6F",lineGradTo:"#F8F4E1",lineShadow:"rgba(175, 143, 111, 0.3)",areaGradFrom:"#493628",areaGradTo:"#2e1a08",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#2e1a08",textColor:"#F8F4E1",axisLineColor:"#AF8F6F",splitLineColor:"#493628",itemHoverShadowColor:"rgba(0, 0, 0, 0.4)",tooltipBackgroundColor:"#543310"},chartjs:{axisLineColor:"#AF8F6F",textColor:"#F8F4E1"}}},K={name:"corporate",displayName:"Corporate",variables:{primary:"#3366ff",primaryLight:"#598bff",primaryFg:"#ffffff",success:"#00d68f",successLight:"#33dfaa",info:"#0095ff",infoLight:"#33a7ff",warning:"#ffaa00",warningLight:"#ffbb33",danger:"#ff3d71",dangerLight:"#ff6491",bg:"#ffffff",bg2:"#f7f9fc",bg3:"#edf1f7",bg4:"#e4e9f2",border:"#ffffff",border2:"#f7f9fc",border3:"#edf1f7",border4:"#e4e9f2",border5:"#c5cee0",fg:"#8f9bb3",fgText:"#222b45",fgHeading:"#192038",fgHighlight:"#003694",fgOnPrimary:"#ffffff",separator:"#edf1f7",temperature:{arcFill:["#ffa36b","#ffa36b","#ff9e7a","#ff9888","#ff8ea0"],arcEmpty:"#f7f9fc",thumbBg:"#f7f9fc",thumbBorder:"#ffa36b"},solar:{gradientLeft:"#3366ff",gradientRight:"#3366ff",shadowColor:"rgba(0, 0, 0, 0)",secondSeriesFill:"#f7f9fc"},traffic:{tooltipBg:"#ffffff",tooltipBorderColor:"#f7f9fc",tooltipTextColor:"#222b45",yAxisSplitLine:"rgba(0, 0, 0, 0)",lineBg:"#3366ff",itemColor:"#e4e9f2",itemBorderColor:"#e4e9f2",itemEmphasisBorderColor:"#598bff",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#ffffff",gradTo:"#ffffff"},electricity:{tooltipBg:"#ffffff",tooltipLineColor:"#222b45",tooltipBorderColor:"#f7f9fc",tooltipTextColor:"#222b45",axisLineColor:"#edf1f7",xAxisTextColor:"#8f9bb3",yAxisSplitLine:"#edf1f7",itemBorderColor:"#3366ff",lineGradFrom:"#3366ff",lineGradTo:"#3366ff",lineShadow:"rgba(0, 0, 0, 0)",areaGradFrom:"rgba(0, 0, 0, 0)",areaGradTo:"rgba(0, 0, 0, 0)",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#ffffff",textColor:"#222b45",axisLineColor:"#222b45",splitLineColor:"#edf1f7",itemHoverShadowColor:"rgba(0, 0, 0, 0.5)",tooltipBackgroundColor:"#3366ff"},chartjs:{axisLineColor:"#edf1f7",textColor:"#222b45"}}},q={name:"cosmic",displayName:"Cosmic",variables:{primary:"#a16eff",primaryLight:"#b489ff",primaryFg:"#ffffff",success:"#00d68f",successLight:"#33dfaa",info:"#0095ff",infoLight:"#33a7ff",warning:"#ffaa00",warningLight:"#ffbb33",danger:"#ff3d71",dangerLight:"#ff6491",bg:"#323259",bg2:"#2a2a48",bg3:"#272741",bg4:"#1f1f3a",border:"#323259",border2:"#2a2a48",border3:"#272741",border4:"#1f1f3a",border5:"#1f1f3a",fg:"#b4b4db",fgText:"#ffffff",fgHeading:"#ffffff",fgHighlight:"#a16eff",fgOnPrimary:"#323259",separator:"#2a2a48",temperature:{arcFill:["#2ec7fe","#31ffad","#7bff24","#fff024","#f7bd59"],arcEmpty:"#2a2a48",thumbBg:"#ffffff",thumbBorder:"#ffffff"},solar:{gradientLeft:"#a16eff",gradientRight:"#a16eff",shadowColor:"rgba(0, 0, 0, 0)",secondSeriesFill:"#2a2a48"},traffic:{tooltipBg:"#323259",tooltipBorderColor:"#2a2a48",tooltipTextColor:"#ffffff",yAxisSplitLine:"#2a2a48",lineBg:"#2a2a48",itemColor:"#2a2a48",itemBorderColor:"#2a2a48",itemEmphasisBorderColor:"#a16eff",shadowLineDarkBg:"#272741",shadowLineShadow:"#272741",gradFrom:"#323259",gradTo:"#2a2a48"},electricity:{tooltipBg:"#323259",tooltipLineColor:"#ffffff",tooltipBorderColor:"#2a2a48",tooltipTextColor:"#ffffff",axisLineColor:"#272741",xAxisTextColor:"#b4b4db",yAxisSplitLine:"#2a2a48",itemBorderColor:"#2a2a48",lineGradFrom:"#00d68f",lineGradTo:"#ffaa00",lineShadow:"#1f1f3a",areaGradFrom:"#2a2a48",areaGradTo:"#272741",shadowLineDarkBg:"#272741"},echarts:{bg:"#323259",textColor:"#ffffff",axisLineColor:"#ffffff",splitLineColor:"#2a2a48",itemHoverShadowColor:"rgba(0, 0, 0, 0.5)",tooltipBackgroundColor:"#a16eff"},chartjs:{axisLineColor:"#2a2a48",textColor:"#ffffff"}}},Y={name:"dark",displayName:"Dark",variables:{primary:"#d4a017",primaryLight:"#eab308",primaryFg:"#1a1a1a",success:"#22c55e",successLight:"#4ade80",info:"#14b8a6",infoLight:"#2dd4bf",warning:"#eab308",warningLight:"#facc15",danger:"#ef4444",dangerLight:"#f87171",bg:"#0f0f11",bg2:"#18181b",bg3:"#27272a",bg4:"#3f3f46",border:"#18181b",border2:"#27272a",border3:"#3f3f46",border4:"#52525b",border5:"#71717a",fg:"#a1a1aa",fgText:"#fafafa",fgHeading:"#ffffff",fgHighlight:"#fde047",fgOnPrimary:"#0f0f11",separator:"#27272a",temperature:{arcFill:["#d4a017","#eab308","#fcd34d","#fde047","#fde047"],arcEmpty:"#27272a",thumbBg:"#27272a",thumbBorder:"#52525b"},solar:{gradientLeft:"#d4a017",gradientRight:"#eab308",shadowColor:"rgba(0, 0, 0, 0.3)",secondSeriesFill:"#27272a"},traffic:{tooltipBg:"#27272a",tooltipBorderColor:"#3f3f46",tooltipTextColor:"#fafafa",yAxisSplitLine:"#27272a",lineBg:"#3f3f46",itemColor:"#3f3f46",itemBorderColor:"#52525b",itemEmphasisBorderColor:"#eab308",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#27272a",gradTo:"#18181b"},electricity:{tooltipBg:"#27272a",tooltipLineColor:"#fafafa",tooltipBorderColor:"#3f3f46",tooltipTextColor:"#fafafa",axisLineColor:"#3f3f46",xAxisTextColor:"#a1a1aa",yAxisSplitLine:"#27272a",itemBorderColor:"#eab308",lineGradFrom:"#d4a017",lineGradTo:"#eab308",lineShadow:"rgba(212, 160, 23, 0.35)",areaGradFrom:"#27272a",areaGradTo:"#18181b",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#18181b",textColor:"#fafafa",axisLineColor:"#52525b",splitLineColor:"#27272a",itemHoverShadowColor:"rgba(0, 0, 0, 0.4)",tooltipBackgroundColor:"#27272a"},chartjs:{axisLineColor:"#3f3f46",textColor:"#fafafa"}}},M={name:"default",displayName:"Default",variables:{primary:"rgb(250, 30, 22)",primaryLight:"rgb(255, 120, 120)",primaryFg:"#ffffff",success:"rgb(62, 168, 30)",successLight:"rgb(220, 255, 210)",info:"rgb(255, 160, 150)",infoLight:"rgb(255, 200, 180)",warning:"rgb(248, 104, 7)",warningLight:"rgb(255, 140, 60)",danger:"rgb(211, 17, 11)",dangerLight:"rgb(243, 70, 64)",bg:"rgb(250, 250, 250)",bg2:"rgb(245, 245, 245)",bg3:"rgb(226, 224, 224)",bg4:"rgb(207, 207, 207)",border:"rgb(250, 250, 250)",border2:"rgb(245, 245, 245)",border3:"rgb(226, 224, 224)",border4:"rgb(207, 207, 207)",border5:"rgb(136, 136, 136)",fg:"rgb(136, 136, 136)",fgText:"rgb(22, 21, 21)",fgHeading:"rgb(0, 0, 0)",fgHighlight:"rgb(250, 30, 22)",fgOnPrimary:"rgb(250, 250, 250)",separator:"rgb(226, 224, 224)",temperature:{arcFill:["rgb(255, 210, 210)","rgb(255, 200, 160)","rgb(255, 160, 150)","rgb(255, 120, 120)","rgb(250, 30, 22)"],arcEmpty:"rgb(245, 245, 245)",thumbBg:"rgb(245, 245, 245)",thumbBorder:"rgb(250, 30, 22)"},solar:{gradientLeft:"rgb(250, 30, 22)",gradientRight:"rgb(248, 104, 7)",shadowColor:"rgba(250, 30, 22, 0.1)",secondSeriesFill:"rgb(245, 245, 245)"},traffic:{tooltipBg:"rgb(250, 250, 250)",tooltipBorderColor:"rgb(245, 245, 245)",tooltipTextColor:"rgb(22, 21, 21)",yAxisSplitLine:"rgb(226, 224, 224)",lineBg:"rgb(207, 207, 207)",itemColor:"rgb(207, 207, 207)",itemBorderColor:"rgb(207, 207, 207)",itemEmphasisBorderColor:"rgb(250, 30, 22)",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"rgb(245, 245, 245)",gradTo:"rgb(245, 245, 245)"},electricity:{tooltipBg:"rgb(250, 250, 250)",tooltipLineColor:"rgb(22, 21, 21)",tooltipBorderColor:"rgb(245, 245, 245)",tooltipTextColor:"rgb(22, 21, 21)",axisLineColor:"rgb(226, 224, 224)",xAxisTextColor:"rgb(136, 136, 136)",yAxisSplitLine:"rgb(226, 224, 224)",itemBorderColor:"rgb(250, 30, 22)",lineGradFrom:"rgb(250, 30, 22)",lineGradTo:"rgb(248, 104, 7)",lineShadow:"rgba(250, 30, 22, 0.2)",areaGradFrom:"rgba(250, 30, 22, 0.1)",areaGradTo:"rgba(250, 30, 22, 0.05)",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"rgb(250, 250, 250)",textColor:"rgb(22, 21, 21)",axisLineColor:"rgb(136, 136, 136)",splitLineColor:"rgb(226, 224, 224)",itemHoverShadowColor:"rgba(250, 30, 22, 0.3)",tooltipBackgroundColor:"rgb(250, 30, 22)"},chartjs:{axisLineColor:"rgb(226, 224, 224)",textColor:"rgb(22, 21, 21)"}}},W={name:"forest",displayName:"Forest",variables:{primary:"#1F7A5A",primaryLight:"#E6F2EE",primaryFg:"#FFFFFF",success:"#1F7A5A",successLight:"#E6F2EE",info:"#2563EB",infoLight:"#E8F0FF",warning:"#B45309",warningLight:"#FFF4E5",danger:"#B42318",dangerLight:"#FDECEC",bg:"#FFFFFF",bg2:"#F7F9F8",bg3:"#EEF3F1",bg4:"#E6EFEC",border:"#E5E7EB",border2:"#D1D5DB",border3:"#C7D2CF",border4:"#B6C4BF",border5:"#1F7A5A",fg:"#111827",fgText:"#374151",fgHeading:"#0F172A",fgHighlight:"#1F7A5A",fgOnPrimary:"#FFFFFF",separator:"#E5E7EB",temperature:{arcFill:["#E6F2EE","#A7D8C6","#4AA987","#1F7A5A","#145A43"],arcEmpty:"#E5E7EB",thumbBg:"#1F7A5A",thumbBorder:"#145A43"},solar:{gradientLeft:"#E6F2EE",gradientRight:"#1F7A5A",shadowColor:"rgba(31, 122, 90, 0.25)",secondSeriesFill:"#A7D8C6"},traffic:{tooltipBg:"#FFFFFF",tooltipBorderColor:"#E5E7EB",tooltipTextColor:"#111827",yAxisSplitLine:"#E5E7EB",lineBg:"rgba(31, 122, 90, 0.08)",itemColor:"#1F7A5A",itemBorderColor:"#145A43",itemEmphasisBorderColor:"#0E5A41",shadowLineDarkBg:"rgba(31, 122, 90, 0.15)",shadowLineShadow:"rgba(31, 122, 90, 0.20)",gradFrom:"#E6F2EE",gradTo:"#1F7A5A"},electricity:{tooltipBg:"#FFFFFF",tooltipLineColor:"#1F7A5A",tooltipBorderColor:"#E5E7EB",tooltipTextColor:"#111827",axisLineColor:"#D1D5DB",xAxisTextColor:"#374151",yAxisSplitLine:"#E5E7EB",itemBorderColor:"#145A43",lineGradFrom:"#E6F2EE",lineGradTo:"#1F7A5A",lineShadow:"rgba(31, 122, 90, 0.25)",areaGradFrom:"rgba(31, 122, 90, 0.25)",areaGradTo:"rgba(31, 122, 90, 0.00)",shadowLineDarkBg:"rgba(31, 122, 90, 0.10)"},echarts:{bg:"#FFFFFF",textColor:"#111827",axisLineColor:"#D1D5DB",splitLineColor:"#E5E7EB",itemHoverShadowColor:"rgba(31, 122, 90, 0.25)",tooltipBackgroundColor:"#FFFFFF"},chartjs:{axisLineColor:"#D1D5DB",textColor:"#111827"}}},$={name:"light",displayName:"Light",variables:{primary:"#222b45",primaryLight:"#192038",primaryFg:"#ffffff",success:"#00d68f",successLight:"#33dfaa",info:"#0095ff",infoLight:"#33a7ff",warning:"#ffaa00",warningLight:"#ffbb33",danger:"#ff3d71",dangerLight:"#ff6491",bg:"#ffffff",bg2:"#f7f9fc",bg3:"#edf1f7",bg4:"#e4e9f2",border:"#ffffff",border2:"#f7f9fc",border3:"#edf1f7",border4:"#e4e9f2",border5:"#c5cee0",fg:"#8f9bb3",fgText:"#222b45",fgHeading:"#192038",fgHighlight:"#003694",fgOnPrimary:"#ffffff",separator:"#edf1f7",temperature:{arcFill:["#8f9bb3","#8f9bb3","#8f9bb3","#8f9bb3","#8f9bb3"],arcEmpty:"#f7f9fc",thumbBg:"#f7f9fc",thumbBorder:"#8f9bb3"},solar:{gradientLeft:"#8f9bb3",gradientRight:"#8f9bb3",shadowColor:"rgba(0, 0, 0, 0)",secondSeriesFill:"#f7f9fc"},traffic:{tooltipBg:"#ffffff",tooltipBorderColor:"#f7f9fc",tooltipTextColor:"#222b45",yAxisSplitLine:"#edf1f7",lineBg:"#e4e9f2",itemColor:"#e4e9f2",itemBorderColor:"#e4e9f2",itemEmphasisBorderColor:"#8f9bb3",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#f7f9fc",gradTo:"#f7f9fc"},electricity:{tooltipBg:"#ffffff",tooltipLineColor:"#222b45",tooltipBorderColor:"#f7f9fc",tooltipTextColor:"#222b45",axisLineColor:"#edf1f7",xAxisTextColor:"#8f9bb3",yAxisSplitLine:"#edf1f7",itemBorderColor:"#8f9bb3",lineGradFrom:"#8f9bb3",lineGradTo:"#8f9bb3",lineShadow:"rgba(0, 0, 0, 0)",areaGradFrom:"#f7f9fc",areaGradTo:"#f7f9fc",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#ffffff",textColor:"#222b45",axisLineColor:"#222b45",splitLineColor:"#edf1f7",itemHoverShadowColor:"rgba(0, 0, 0, 0.5)",tooltipBackgroundColor:"#8f9bb3"},chartjs:{axisLineColor:"#edf1f7",textColor:"#222b45"}}},X={name:"wheat",displayName:"麦田",variables:{primary:"rgb(201, 162, 39)",primaryLight:"rgb(230, 200, 120)",primaryFg:"#ffffff",success:"rgb(62, 168, 30)",successLight:"rgb(220, 255, 210)",info:"rgb(220, 180, 80)",infoLight:"rgb(255, 235, 180)",warning:"rgb(218, 165, 32)",warningLight:"rgb(255, 215, 120)",danger:"rgb(180, 130, 20)",dangerLight:"rgb(220, 180, 80)",bg:"rgb(250, 250, 250)",bg2:"rgb(245, 245, 245)",bg3:"rgb(226, 224, 224)",bg4:"rgb(207, 207, 207)",border:"rgb(250, 250, 250)",border2:"rgb(245, 245, 245)",border3:"rgb(226, 224, 224)",border4:"rgb(207, 207, 207)",border5:"rgb(136, 136, 136)",fg:"rgb(136, 136, 136)",fgText:"rgb(22, 21, 21)",fgHeading:"rgb(0, 0, 0)",fgHighlight:"rgb(201, 162, 39)",fgOnPrimary:"rgb(250, 250, 250)",separator:"rgb(226, 224, 224)",temperature:{arcFill:["rgb(255, 245, 210)","rgb(255, 235, 180)","rgb(255, 220, 150)","rgb(230, 200, 120)","rgb(201, 162, 39)"],arcEmpty:"rgb(245, 245, 245)",thumbBg:"rgb(245, 245, 245)",thumbBorder:"rgb(201, 162, 39)"},solar:{gradientLeft:"rgb(201, 162, 39)",gradientRight:"rgb(218, 165, 32)",shadowColor:"rgba(201, 162, 39, 0.1)",secondSeriesFill:"rgb(245, 245, 245)"},traffic:{tooltipBg:"rgb(250, 250, 250)",tooltipBorderColor:"rgb(245, 245, 245)",tooltipTextColor:"rgb(22, 21, 21)",yAxisSplitLine:"rgb(226, 224, 224)",lineBg:"rgb(207, 207, 207)",itemColor:"rgb(207, 207, 207)",itemBorderColor:"rgb(207, 207, 207)",itemEmphasisBorderColor:"rgb(201, 162, 39)",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"rgb(245, 245, 245)",gradTo:"rgb(245, 245, 245)"},electricity:{tooltipBg:"rgb(250, 250, 250)",tooltipLineColor:"rgb(22, 21, 21)",tooltipBorderColor:"rgb(245, 245, 245)",tooltipTextColor:"rgb(22, 21, 21)",axisLineColor:"rgb(226, 224, 224)",xAxisTextColor:"rgb(136, 136, 136)",yAxisSplitLine:"rgb(226, 224, 224)",itemBorderColor:"rgb(201, 162, 39)",lineGradFrom:"rgb(201, 162, 39)",lineGradTo:"rgb(218, 165, 32)",lineShadow:"rgba(201, 162, 39, 0.2)",areaGradFrom:"rgba(201, 162, 39, 0.1)",areaGradTo:"rgba(201, 162, 39, 0.05)",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"rgb(250, 250, 250)",textColor:"rgb(22, 21, 21)",axisLineColor:"rgb(136, 136, 136)",splitLineColor:"rgb(226, 224, 224)",itemHoverShadowColor:"rgba(201, 162, 39, 0.3)",tooltipBackgroundColor:"rgb(201, 162, 39)"},chartjs:{axisLineColor:"rgb(226, 224, 224)",textColor:"rgb(22, 21, 21)"}}},z={name:"wine",displayName:"Wine",variables:{primary:"#800020",primaryLight:"#F4E6E9",primaryFg:"#F4E6E9",success:"#6b8f6b",successLight:"#8aaa8e",info:"#8a6a6a",infoLight:"#a88a8a",warning:"#c49050",warningLight:"#d4b080",danger:"#b85050",dangerLight:"#d07070",bg:"#2A0B12",bg2:"#3A0F1A",bg3:"#4A1322",bg4:"#4A1322",border:"#2A0B12",border2:"#3A0F1A",border3:"#4A1322",border4:"#800020",border5:"#B23A5C",fg:"#C97A8A",fgText:"#F4E6E9",fgHeading:"#F4E6E9",fgHighlight:"#F4E6E9",fgOnPrimary:"#2A0B12",separator:"#3A0F1A",temperature:{arcFill:["#800020","#9A1F3D","#B23A5C","#C97A8A","#F4E6E9"],arcEmpty:"#2A0B12",thumbBg:"#3A0F1A",thumbBorder:"#800020"},solar:{gradientLeft:"#800020",gradientRight:"#F4E6E9",shadowColor:"rgba(0, 0, 0, 0.4)",secondSeriesFill:"#3A0F1A"},traffic:{tooltipBg:"#4A1322",tooltipBorderColor:"#B23A5C",tooltipTextColor:"#F4E6E9",yAxisSplitLine:"#3A0F1A",lineBg:"#3A0F1A",itemColor:"#2A0B12",itemBorderColor:"#800020",itemEmphasisBorderColor:"#F4E6E9",shadowLineDarkBg:"rgba(0, 0, 0, 0)",shadowLineShadow:"rgba(0, 0, 0, 0)",gradFrom:"#3A0F1A",gradTo:"#2A0B12"},electricity:{tooltipBg:"#3A0F1A",tooltipLineColor:"#F4E6E9",tooltipBorderColor:"#800020",tooltipTextColor:"#F4E6E9",axisLineColor:"#B23A5C",xAxisTextColor:"#C97A8A",yAxisSplitLine:"#3A0F1A",itemBorderColor:"#800020",lineGradFrom:"#800020",lineGradTo:"#F4E6E9",lineShadow:"rgba(128, 0, 32, 0.35)",areaGradFrom:"#3A0F1A",areaGradTo:"#2A0B12",shadowLineDarkBg:"rgba(0, 0, 0, 0)"},echarts:{bg:"#2A0B12",textColor:"#F4E6E9",axisLineColor:"#B23A5C",splitLineColor:"#3A0F1A",itemHoverShadowColor:"rgba(0, 0, 0, 0.4)",tooltipBackgroundColor:"#3A0F1A"},chartjs:{axisLineColor:"#B23A5C",textColor:"#F4E6E9"}}};var E={colors:M,base:i},J={colors:$,base:i},B={colors:Y,base:i},L={colors:q,base:i},u={colors:K,base:i},A={colors:W,base:i},T={colors:V,base:i},x={colors:z,base:i},Q={colors:X,base:i};const n={[o.ThemeEnum.DEFAULT]:E,[o.ThemeEnum.LIGHT]:J,[o.ThemeEnum.DARK]:B,[o.ThemeEnum.COSMIC]:L,[o.ThemeEnum.CORPORATE]:u,[o.ThemeEnum.FOREST]:A,[o.ThemeEnum.COFFEE]:T,[o.ThemeEnum.WINE]:x,[o.ThemeEnum.WHEAT]:Q};var w=(0,g.memo)(({children:t,defaultTheme:b=o.ThemeEnum.DEFAULT,defaultBase:r=o.BaseEnum.DEFAULT})=>{const[e,f]=(0,g.useState)(()=>{const a=h();return a!=null&&a in n?a:b}),[s,d]=(0,g.useState)(()=>{const a=y();return a??r}),m=(0,g.useMemo)(()=>({colors:n[e].colors,base:C[s]}),[e,s]);G(m,e);const S=a=>{f(a)},P=a=>{d(a),F(a)};return(0,D.jsx)(c.ThemeContext.Provider,{value:{currentTheme:m,themeName:e,baseName:s,setTheme:S,setBase:P,availableThemes:o.THEME_VALUES,availableBases:o.BASE_VALUES},children:t})});w.displayName="ThemeProvider";exports.BASE_STORAGE_KEY=o.BASE_STORAGE_KEY;exports.BASE_VALUES=o.BASE_VALUES;exports.BaseEnum=o.BaseEnum;exports.COLOR_STORAGE_KEY=o.COLOR_STORAGE_KEY;exports.DEFAULT_BASE=o.DEFAULT_BASE;exports.DEFAULT_THEME=o.DEFAULT_THEME;exports.THEME_VALUES=o.THEME_VALUES;exports.ThemeContext=c.ThemeContext;exports.ThemeEnum=o.ThemeEnum;exports.ThemeProvider=w;exports.bases=C;exports.coffeeTheme=T;exports.corporateTheme=u;exports.cosmicTheme=L;exports.darkTheme=B;exports.defaultTheme=E;exports.forestTheme=A;exports.getThemeBaseStorage=y;exports.getThemeColorStorage=h;exports.removeThemeStorage=v;exports.setThemeBaseStorage=F;exports.setThemeColorStorage=p;exports.themes=n;exports.useTheme=c.useTheme;exports.wineTheme=x;
4
4
 
5
5
  //# sourceMappingURL=themes.cjs.map