import{h as u,c as i}from"./arco.7f845a67.js";import{d as l}from"./index.3745f9af.js";function f(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function o(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,t)}return n}function s(e){for(var r=1;r(t[d(c)]=e.attrs[c],t),{});return u(e.tag,s(s({},n),r),(e.children||[]).map(t=>v(t,{})))}var p="t",b="zh-CN",O={classPrefix:p,locale:b};const g=O;function m(){var{classPrefix:e}=g;return{SIZE:{default:"",xs:"".concat(e,"-size-xs"),small:"".concat(e,"-size-s"),medium:"".concat(e,"-size-m"),large:"".concat(e,"-size-l"),xl:"".concat(e,"-size-xl"),block:"".concat(e,"-size-full-width")},STATUS:{loading:"".concat(e,"-is-loading"),disabled:"".concat(e,"-is-disabled"),focused:"".concat(e,"-is-focused"),success:"".concat(e,"-is-success"),error:"".concat(e,"-is-error"),warning:"".concat(e,"-is-warning"),selected:"".concat(e,"-is-selected"),active:"".concat(e,"-is-active"),checked:"".concat(e,"-is-checked"),current:"".concat(e,"-is-current"),hidden:"".concat(e,"-is-hidden"),visible:"".concat(e,"-is-visible"),expanded:"".concat(e,"-is-expanded"),indeterminate:"".concat(e,"-is-indeterminate")}}}function h(e){var r=m().SIZE,n=i(()=>e.value in r?r[e.value]:""),t=i(()=>e.value===void 0||e.value in r?{}:{fontSize:e.value});return{style:t,className:n}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function S(e){var r=l("icon"),n=r.globalConfig,t={};return Object.keys(e).forEach(function(c){var a;t[c]=((a=n.value)===null||a===void 0?void 0:a[c])||e[c]}),t}export{f as _,S as a,v as r,h as u};