ant-design-x-vue 0.0.1

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.
Files changed (84) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +64 -0
  3. package/dist/index.mjs +3477 -0
  4. package/dist/index.umd.js +57 -0
  5. package/dist/typings/_util/cssinjs/Cache.d.ts +11 -0
  6. package/dist/typings/_util/cssinjs/Keyframes.d.ts +9 -0
  7. package/dist/typings/_util/cssinjs/StyleContext.d.ts +508 -0
  8. package/dist/typings/_util/cssinjs/hooks/useCSSVarRegister.d.ts +20 -0
  9. package/dist/typings/_util/cssinjs/hooks/useCacheToken.d.ts +40 -0
  10. package/dist/typings/_util/cssinjs/hooks/useGlobalCache.d.ts +6 -0
  11. package/dist/typings/_util/cssinjs/hooks/useHMR.d.ts +3 -0
  12. package/dist/typings/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.d.ts +14 -0
  13. package/dist/typings/_util/cssinjs/hooks/useStyleRegister/index.d.ts +69 -0
  14. package/dist/typings/_util/cssinjs/index.d.ts +197 -0
  15. package/dist/typings/_util/cssinjs/linters/contentQuotesLinter.d.ts +3 -0
  16. package/dist/typings/_util/cssinjs/linters/hashedAnimationLinter.d.ts +3 -0
  17. package/dist/typings/_util/cssinjs/linters/index.d.ts +6 -0
  18. package/dist/typings/_util/cssinjs/linters/interface.d.ts +8 -0
  19. package/dist/typings/_util/cssinjs/linters/legacyNotSelectorLinter.d.ts +3 -0
  20. package/dist/typings/_util/cssinjs/linters/logicalPropertiesLinter.d.ts +3 -0
  21. package/dist/typings/_util/cssinjs/linters/parentSelectorLinter.d.ts +3 -0
  22. package/dist/typings/_util/cssinjs/linters/utils.d.ts +2 -0
  23. package/dist/typings/_util/cssinjs/theme/Theme.d.ts +11 -0
  24. package/dist/typings/_util/cssinjs/theme/ThemeCache.d.ts +20 -0
  25. package/dist/typings/_util/cssinjs/theme/createTheme.d.ts +6 -0
  26. package/dist/typings/_util/cssinjs/theme/index.d.ts +4 -0
  27. package/dist/typings/_util/cssinjs/theme/interface.d.ts +2 -0
  28. package/dist/typings/_util/cssinjs/transformers/interface.d.ts +4 -0
  29. package/dist/typings/_util/cssinjs/transformers/legacyLogicalProperties.d.ts +12 -0
  30. package/dist/typings/_util/cssinjs/transformers/px2rem.d.ts +20 -0
  31. package/dist/typings/_util/cssinjs/util.d.ts +28 -0
  32. package/dist/typings/_util/cssinjs-utils/_util/hooks/useUniqueMemo.d.ts +5 -0
  33. package/dist/typings/_util/cssinjs-utils/hooks/useCSP.d.ts +8 -0
  34. package/dist/typings/_util/cssinjs-utils/hooks/usePrefix.d.ts +11 -0
  35. package/dist/typings/_util/cssinjs-utils/hooks/useToken.d.ts +20 -0
  36. package/dist/typings/_util/cssinjs-utils/index.d.ts +6 -0
  37. package/dist/typings/_util/cssinjs-utils/interface/components.d.ts +10 -0
  38. package/dist/typings/_util/cssinjs-utils/interface/index.d.ts +3 -0
  39. package/dist/typings/_util/cssinjs-utils/util/calc/CSSCalculator.d.ts +15 -0
  40. package/dist/typings/_util/cssinjs-utils/util/calc/NumCalculator.d.ts +11 -0
  41. package/dist/typings/_util/cssinjs-utils/util/calc/calculator.d.ts +30 -0
  42. package/dist/typings/_util/cssinjs-utils/util/calc/index.d.ts +5 -0
  43. package/dist/typings/_util/cssinjs-utils/util/genStyleUtils.d.ts +116 -0
  44. package/dist/typings/_util/cssinjs-utils/util/getCompVarPrefix.d.ts +2 -0
  45. package/dist/typings/_util/cssinjs-utils/util/getComponentToken.d.ts +9 -0
  46. package/dist/typings/_util/cssinjs-utils/util/getDefaultComponentToken.d.ts +5 -0
  47. package/dist/typings/_util/cssinjs-utils/util/maxmin.d.ts +8 -0
  48. package/dist/typings/_util/cssinjs-utils/util/statistic.d.ts +20 -0
  49. package/dist/typings/_util/hooks/use-event-callback.d.ts +1 -0
  50. package/dist/typings/_util/hooks/use-state.d.ts +2 -0
  51. package/dist/typings/_util/hooks/use-x-component-config.d.ts +4 -0
  52. package/dist/typings/_util/pick-attrs.d.ts +11 -0
  53. package/dist/typings/_util/type.d.ts +62 -0
  54. package/dist/typings/_util/warning.d.ts +47 -0
  55. package/dist/typings/bubble/Bubble.vue.d.ts +5 -0
  56. package/dist/typings/bubble/BubbleList.vue.d.ts +11 -0
  57. package/dist/typings/bubble/context.d.ts +21 -0
  58. package/dist/typings/bubble/hooks/useDisplayData.d.ts +5 -0
  59. package/dist/typings/bubble/hooks/useListData.d.ts +5 -0
  60. package/dist/typings/bubble/hooks/useTypedEffect.d.ts +7 -0
  61. package/dist/typings/bubble/hooks/useTypingConfig.d.ts +5 -0
  62. package/dist/typings/bubble/index.d.ts +5 -0
  63. package/dist/typings/bubble/interface.d.ts +67 -0
  64. package/dist/typings/bubble/loading.vue.d.ts +5 -0
  65. package/dist/typings/bubble/style/content.d.ts +4 -0
  66. package/dist/typings/bubble/style/index.d.ts +8 -0
  67. package/dist/typings/bubble/style/list.d.ts +4 -0
  68. package/dist/typings/index.d.ts +2 -0
  69. package/dist/typings/theme/components.d.ts +4 -0
  70. package/dist/typings/theme/cssinjs-utils.d.ts +14 -0
  71. package/dist/typings/theme/genStyleUtils.d.ts +27 -0
  72. package/dist/typings/theme/patch-antd.d.ts +28 -0
  73. package/dist/typings/theme/useToken.d.ts +18 -0
  74. package/dist/typings/vc-util/Dom/canUseDom.d.ts +1 -0
  75. package/dist/typings/vc-util/Dom/contains.d.ts +1 -0
  76. package/dist/typings/vc-util/Dom/dynamicCSS.d.ts +20 -0
  77. package/dist/typings/vc-util/warning.d.ts +7 -0
  78. package/dist/typings/version/index.d.ts +2 -0
  79. package/dist/typings/version/version.d.ts +2 -0
  80. package/dist/typings/x-provider/context.d.ts +36 -0
  81. package/dist/typings/x-provider/hooks/use-x-provider-context.d.ts +9 -0
  82. package/dist/typings/x-provider/index.d.ts +5 -0
  83. package/dist/typings/x-provider/index.vue.d.ts +20 -0
  84. package/package.json +125 -0
@@ -0,0 +1,57 @@
1
+ (function(I,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("ant-design-vue")):typeof define=="function"&&define.amd?define(["exports","vue","ant-design-vue"],a):(I=typeof globalThis<"u"?globalThis:I||self,a(I.index={},I.Vue,I.Antdv))})(this,function(I,a,z){"use strict";var da=Object.defineProperty;var fa=(I,a,z)=>a in I?da(I,a,{enumerable:!0,configurable:!0,writable:!0,value:z}):I[a]=z;var he=(I,a,z)=>fa(I,typeof a!="symbol"?a+"":a,z);var W;const nn=e=>{const t=e;return t.install=function(r){r.component(t.displayName||t.name,e)},e};function It(e){return{type:Object,default:e}}function We(e){return{type:Boolean,default:e}}function on(e,t){const r={validator:()=>!0,default:e};return r}function Bt(e){return{type:Array,default:e}}function Pt(e){return{type:String,default:e}}function an(e,t){return e?{type:e,default:t}:on(t)}const sn="anticon",cn=Symbol("configProvider"),ln={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:a.computed(()=>sn),getPopupContainer:a.computed(()=>()=>document.body),direction:a.computed(()=>"ltr")},un=()=>a.inject(cn,ln),dn="ant";function ee(){const{getPrefixCls:e,direction:t,csp:r,iconPrefixCls:n,theme:o}=un();return{theme:o,getPrefixCls:e,direction:t,csp:r,iconPrefixCls:n}}function Fe(e,t){const r=Object.create(null);for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}const fn=e=>{const t=e;return t.install=function(r){r.component(t.displayName||t.name,e)},e};function Ee(e){return{type:Object,default:e}}function Ge(e){return{type:Boolean,default:e}}function hn(e,t){const r={validator:()=>!0,default:e};return r}function Ht(e){return{type:Array,default:e}}function Nt(e){return{type:String,default:e}}function gn(e,t){return e?{type:e,default:t}:hn(t)}const Lt=Symbol("XProviderContext"),Ue=a.shallowRef(),pn=e=>{a.provide(Lt,e),a.watch(e,()=>{Ue.value=a.unref(e),a.triggerRef(Ue)},{immediate:!0,deep:!0})},mn=()=>a.inject(Lt,a.computed(()=>Ue.value||{})),bn=a.defineComponent({props:{value:Ee()},setup(e,{slots:t}){return pn(a.computed(()=>e.value)),()=>{var r;return(r=t.default)==null?void 0:r.call(t)}}}),yn=a.defineComponent({name:"AXConfigProvider",inheritAttrs:!1,__name:"index",props:{bubble:{},antd:{}},setup(e){const t=Fe(e,["bubble","antd"]),r=a.useSlots(),n=a.computed(()=>({bubble:e.bubble})),{theme:o}=ee(),i=a.computed(()=>({...(o==null?void 0:o.value)||{},...e.antd.theme})),s=a.computed(()=>{var c;return(c=r.default)==null?void 0:c.call(r)});return()=>a.createVNode(bn,{value:n.value},{default:()=>[a.createVNode(z.ConfigProvider,a.mergeProps(t,{theme:i.value}),{default:()=>[s.value]})]})}}),Sn={classNames:{},styles:{},className:"",style:{}},xn=e=>{const t=mn();return a.computed(()=>({...Sn,...a.unref(t)[e]}))};function te(e){const t=typeof e=="function"?e():e,r=a.ref(t);function n(o){r.value=o}return[r,n]}function K(e){return typeof e=="string"}const Cn=(e,t,r,n)=>{const[o,i]=te(""),[s,c]=te(1),l=a.computed(()=>t.value&&K(e.value));return a.watch(e,()=>{const g=a.unref(o);i(e.value),!l.value&&K(e.value)?c(e.value.length):K(e.value)&&K(g)&&e.value.indexOf(g)!==0&&c(1)}),a.watch([s,t,e],()=>{if(l.value&&K(e.value)&&a.unref(s)<e.value.length){const g=setTimeout(()=>{c(a.unref(s)+r.value)},n.value);a.onWatcherCleanup(()=>{clearTimeout(g)})}},{immediate:!0}),[a.computed(()=>l.value&&K(e.value)?e.value.slice(0,a.unref(s)):e.value),a.computed(()=>l.value&&K(e.value)&&a.unref(s)<e.value.length)]};function vn(e){const t=a.ref(!0),r={step:1,interval:50,suffix:null},n=a.computed(()=>({...r,...typeof e=="object"?e:{}}));return[t,a.computed(()=>n.value.step),a.computed(()=>n.value.interval),a.computed(()=>n.value.suffix)]}const Tn=a.defineComponent({name:"AXBubbleLoading",__name:"loading",props:{prefixCls:null},setup(e){return()=>a.createVNode("span",{class:`${e.prefixCls}-dot`},[a.createVNode("i",{class:`${e.prefixCls}-dot-item`,key:"item-1"},null),a.createVNode("i",{class:`${e.prefixCls}-dot-item`,key:"item-2"},null),a.createVNode("i",{class:`${e.prefixCls}-dot-item`,key:"item-3"},null)])}});function qe(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const Dt="%";let wn=class{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Dt):t)||null}update(t,r){const n=Array.isArray(t)?t.join(Dt):t,o=this.cache.get(n),i=r(o);i===null?this.cache.delete(n):this.cache.set(n,i)}};const Ot="data-token-hash",F="data-css-hash",En="data-cache-path",re="__cssinjs_instance__";function ge(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${F}]`)||[],{firstChild:r}=document.head;Array.from(t).forEach(o=>{o[re]=o[re]||e,o[re]===e&&document.head.insertBefore(o,r)});const n={};Array.from(document.querySelectorAll(`style[${F}]`)).forEach(o=>{var s;const i=o.getAttribute(F);n[i]?o[re]===e&&((s=o.parentNode)==null||s.removeChild(o)):n[i]=!0})}return new wn(e)}const zt=Symbol("StyleContextKey"),An=()=>{var r,n,o;const e=a.getCurrentInstance();let t;if(e&&e.appContext){const i=(o=(n=(r=e.appContext)==null?void 0:r.config)==null?void 0:n.globalProperties)==null?void 0:o.__ANTDV_CSSINJS_CACHE__;i?t=i:(t=ge(),e.appContext.config.globalProperties&&(e.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=t))}else t=ge();return t},jt={cache:ge(),defaultCache:!0,hashPriority:"low"},pe=()=>{const e=An();return a.inject(zt,a.shallowRef({...jt,cache:e}))},Vt=e=>{const t=pe(),r=a.shallowRef({...jt,cache:ge()});return a.watch([()=>a.unref(e),t],()=>{const n={...t.value},o=a.unref(e);Object.keys(o).forEach(s=>{const c=o[s];o[s]!==void 0&&(n[s]=c)});const{cache:i}=o;n.cache=n.cache||ge(),n.defaultCache=!i&&t.value.defaultCache,r.value=n},{immediate:!0}),a.provide(zt,r),r},$n=()=>({autoClear:Ge(),mock:Nt(),cache:Ee(),defaultCache:Ge(),hashPriority:Nt(),container:gn(),ssrInline:Ge(),transformers:Ht(),linters:Ht()}),Mn=fn(a.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:$n(),setup(e,{slots:t}){return Vt(e),()=>{var r;return(r=t.default)==null?void 0:r.call(t)}}})),kn={useStyleInject:pe,useStyleProvider:Vt,StyleProvider:Mn};function Rn(){return!1}let Ke=!1;function In(){return Ke}const Bn=process.env.NODE_ENV==="production"?Rn:In;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){const e=window;if(typeof e.webpackHotUpdate=="function"){const t=e.webpackHotUpdate;e.webpackHotUpdate=(...r)=>(Ke=!0,setTimeout(()=>{Ke=!1},0),t(...r))}}function _e(e,t,r,n){const o=pe(),i=a.shallowRef(""),s=a.shallowRef();a.watchEffect(()=>{i.value=[e,...t.value].join("%")});const c=Bn(),l=d=>{o.value.cache.update(d,g=>{const[u=0,p]=g||[];return u-1===0?(n==null||n(p,!1),null):[u-1,p]})};return a.watch(i,(d,g)=>{g&&l(g),o.value.cache.update(d,u=>{const[p=0,m]=u||[];let h=m;process.env.NODE_ENV!=="production"&&m&&c&&(n==null||n(h,c),h=null);const S=h||r();return[p+1,S]}),s.value=o.value.cache.get(i.value)[1]},{immediate:!0}),a.onBeforeUnmount(()=>{l(i.value)}),s}function ne(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Pn(e,t){return e&&e.contains?e.contains(t):!1}const Xt="data-vc-order",Hn="vc-util-key",Ye=new Map;function Wt({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:Hn}function Ae(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Nn(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Ft(e){return Array.from((Ye.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Gt(e,t={}){if(!ne())return null;const{csp:r,prepend:n}=t,o=document.createElement("style");o.setAttribute(Xt,Nn(n)),r!=null&&r.nonce&&(o.nonce=r==null?void 0:r.nonce),o.innerHTML=e;const i=Ae(t),{firstChild:s}=i;if(n){if(n==="queue"){const c=Ft(i).filter(l=>["prepend","prependQueue"].includes(l.getAttribute(Xt)));if(c.length)return i.insertBefore(o,c[c.length-1].nextSibling),o}i.insertBefore(o,s)}else i.appendChild(o);return o}function Ut(e,t={}){const r=Ae(t);return Ft(r).find(n=>n.getAttribute(Wt(t))===e)}function Ze(e,t={}){const r=Ut(e,t);r&&Ae(t).removeChild(r)}function Ln(e,t){const r=Ye.get(e);if(!r||!Pn(document,r)){const n=Gt("",t),{parentNode:o}=n;Ye.set(e,o),e.removeChild(n)}}function Je(e,t,r={}){var s,c,l;const n=Ae(r);Ln(n,r);const o=Ut(t,r);if(o)return(s=r.csp)!=null&&s.nonce&&o.nonce!==((c=r.csp)==null?void 0:c.nonce)&&(o.nonce=(l=r.csp)==null?void 0:l.nonce),o.innerHTML!==e&&(o.innerHTML=e),o;const i=Gt(e,r);return i.setAttribute(Wt(r),t),i}function Dn(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}let On=(W=class{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t,r=!1){let n={map:this.cache};return t.forEach(o=>{var i;n?n=(i=n==null?void 0:n.map)==null?void 0:i.get(o):n=void 0}),n!=null&&n.value&&r&&(n.value[1]=this.cacheCallTimes++),n==null?void 0:n.value}get(t){var r;return(r=this.internalGet(t,!0))==null?void 0:r[0]}has(t){return!!this.internalGet(t)}set(t,r){if(!this.has(t)){if(this.size()+1>W.MAX_CACHE_SIZE+W.MAX_CACHE_OFFSET){const[o]=this.keys.reduce((i,s)=>{const[,c]=i;return this.internalGet(s)[1]<c?[s,this.internalGet(s)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(o)}this.keys.push(t)}let n=this.cache;t.forEach((o,i)=>{if(i===t.length-1)n.set(o,{value:[r,this.cacheCallTimes++]});else{const s=n.get(o);s?s.map||(s.map=new Map):n.set(o,{map:new Map}),n=n.get(o).map}})}deleteByPath(t,r){var i;const n=t.get(r[0]);if(r.length===1)return n.map?t.set(r[0],{map:n.map}):t.delete(r[0]),(i=n.value)==null?void 0:i[0];const o=this.deleteByPath(n.map,r.slice(1));return(!n.map||n.map.size===0)&&!n.value&&t.delete(r[0]),o}delete(t){if(this.has(t))return this.keys=this.keys.filter(r=>!Dn(r,t)),this.deleteByPath(this.cache,t)}},W.MAX_CACHE_SIZE=20,W.MAX_CACHE_OFFSET=5,W),Qe={};function qt(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function zn(){Qe={}}function jn(e,t,r){!t&&!Qe[r]&&(e(!1,r),Qe[r]=!0)}function Kt(e,t){jn(qt,e,t)}function _t(){}let j=null;function Vn(){j=null,zn()}let et=_t;process.env.NODE_ENV!=="production"&&(et=(e,t,r)=>{Kt(e,`[antd: ${t}] ${r}`),process.env.NODE_ENV==="test"&&Vn()});const Yt=Symbol("WarningContext"),tt=a.shallowRef(),Xn=e=>{a.provide(Yt,e),a.watch(e,()=>{tt.value=a.unref(e),a.triggerRef(tt)},{immediate:!0,deep:!0})},Wn=()=>a.inject(Yt,a.computed(()=>tt.value||{}));a.defineComponent({props:{value:Ee()},setup(e,{slots:t}){return Xn(a.computed(()=>e.value)),()=>{var r;return(r=t.default)==null?void 0:r.call(t)}}}),process.env.NODE_ENV;const Fn=et;let Zt=0,Jt=class{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Zt,t.length===0&&Fn(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),Zt+=1}getDerivativeToken(t){return this.derivatives.reduce((r,n)=>n(t,r),void 0)}};const rt=new On;function Gn(e){const t=Array.isArray(e)?e:[e];return rt.has(t)||rt.set(t,new Jt(t)),rt.get(t)}const Qt=new WeakMap;function $e(e){let t=Qt.get(e)||"";return t||(Object.keys(e).forEach(r=>{const n=e[r];t+=r,n instanceof Jt?t+=n.id:n&&typeof n=="object"?t+=$e(n):t+=n}),Qt.set(e,t)),t}function Un(e,t){return qe(`${t}_${$e(e)}`)}const me=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),er="_bAmBoO_";function qn(e,t,r){var n,o;if(ne()){Je(e,me);const i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i),process.env.NODE_ENV!=="production"&&(i.innerHTML="Test",i.style.zIndex="9999999");const s=r?r(i):(n=getComputedStyle(i).content)==null?void 0:n.includes(er);return(o=i.parentNode)==null||o.removeChild(i),Ze(me),s}return!1}let nt;function Kn(){return nt===void 0&&(nt=qn(`@layer ${me} { .${me} { content: "${er}"!important; } }`,e=>{e.className=me})),nt}const _n=ne();function be(e){return typeof e=="number"?`${e}px`:e}const Me=(e,t="")=>`--${t?`${t}-`:""}${e}`.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase(),Yn=(e,t,r)=>Object.keys(e).length?`.${t}${r!=null&&r.scope?`.${r.scope}`:""}{${Object.entries(e).map(([n,o])=>`${n}:${o};`).join("")}}`:"",Zn=(e,t,r)=>{const n={},o={};return Object.entries(e).forEach(([i,s])=>{var c,l,d;if((c=r==null?void 0:r.preserve)!=null&&c[i])o[i]=s;else if((typeof s=="string"||typeof s=="number")&&!((l=r==null?void 0:r.ignore)!=null&&l[i])){const g=Me(i,r==null?void 0:r.prefix);n[g]=typeof s=="number"&&!((d=r==null?void 0:r.unitless)!=null&&d[i])?`${s}px`:String(s),o[i]=`var(${g})`}}),[o,Yn(n,t,{scope:r==null?void 0:r.scope})]},tr={},Jn=process.env.NODE_ENV==="production",Qn=process.env.NODE_ENV==="prerender",eo=!Jn&&!Qn?"css-dev-only-do-not-override":"css",_=new Map;function to(e){_.set(e,(_.get(e)||0)+1)}function ro(e,t){typeof document<"u"&&document.querySelectorAll(`style[${Ot}="${e}"]`).forEach(n=>{var o;n[re]===t&&((o=n.parentNode)==null||o.removeChild(n))})}const no=0;function oo(e,t){_.set(e,(_.get(e)||0)-1);const r=Array.from(_.keys()),n=r.filter(o=>(_.get(o)||0)<=0);r.length-n.length>no&&n.forEach(o=>{ro(o,t),_.delete(o)})}const io=(e,t,r,n)=>{let i={...r==null?void 0:r.getDerivativeToken(e),...t};return n&&(i=n(i)),i};function ao(e,t,r=a.ref({})){const n=pe(),o=a.computed(()=>Object.assign({},...t.value||[])),i=a.computed(()=>$e(o.value)),s=a.computed(()=>{var l;return $e(((l=r.value)==null?void 0:l.override)||tr)});return _e("token",a.computed(()=>{var l,d;return[((l=r.value)==null?void 0:l.salt)||"",(d=e.value)==null?void 0:d.id,i.value,s.value]}),()=>{const{salt:l="",override:d=tr,formatToken:g,getComputedToken:u}=r.value||{},p=u?u(o.value,d,e.value):io(o.value,d,e.value,g),m=Un(p,l);p._tokenKey=m,to(m);const h=`${eo}-${qe(m)}`;return p._hashId=h,[p,h]},l=>{var d;oo(l[0]._tokenKey,(d=n.value)==null?void 0:d.cache.instanceId)})}var so={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},rr="comm",nr="rule",or="decl",co="@import",lo="@keyframes",uo="@layer",ir=Math.abs,ot=String.fromCharCode;function ar(e){return e.trim()}function ke(e,t,r){return e.replace(t,r)}function fo(e,t,r){return e.indexOf(t,r)}function ye(e,t){return e.charCodeAt(t)|0}function oe(e,t,r){return e.slice(t,r)}function D(e){return e.length}function ho(e){return e.length}function Re(e,t){return t.push(e),e}var Ie=1,ie=1,sr=0,H=0,R=0,ae="";function it(e,t,r,n,o,i,s,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ie,column:ie,length:s,return:"",siblings:c}}function go(){return R}function po(){return R=H>0?ye(ae,--H):0,ie--,R===10&&(ie=1,Ie--),R}function N(){return R=H<sr?ye(ae,H++):0,ie++,R===10&&(ie=1,Ie++),R}function G(){return ye(ae,H)}function Be(){return H}function Pe(e,t){return oe(ae,e,t)}function Se(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function mo(e){return Ie=ie=1,sr=D(ae=e),H=0,[]}function bo(e){return ae="",e}function at(e){return ar(Pe(H-1,st(e===91?e+2:e===40?e+1:e)))}function yo(e){for(;(R=G())&&R<33;)N();return Se(e)>2||Se(R)>3?"":" "}function So(e,t){for(;--t&&N()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return Pe(e,Be()+(t<6&&G()==32&&N()==32))}function st(e){for(;N();)switch(R){case e:return H;case 34:case 39:e!==34&&e!==39&&st(R);break;case 40:e===41&&st(e);break;case 92:N();break}return H}function xo(e,t){for(;N()&&e+R!==57;)if(e+R===84&&G()===47)break;return"/*"+Pe(t,H-1)+"*"+ot(e===47?e:N())}function Co(e){for(;!Se(G());)N();return Pe(e,H)}function vo(e){return bo(He("",null,null,null,[""],e=mo(e),0,[0],e))}function He(e,t,r,n,o,i,s,c,l){for(var d=0,g=0,u=s,p=0,m=0,h=0,S=1,y=1,T=1,v=0,E="",b=o,w=i,C=n,f=E;y;)switch(h=v,v=N()){case 40:if(h!=108&&ye(f,u-1)==58){fo(f+=ke(at(v),"&","&\f"),"&\f",ir(d?c[d-1]:0))!=-1&&(T=-1);break}case 34:case 39:case 91:f+=at(v);break;case 9:case 10:case 13:case 32:f+=yo(h);break;case 92:f+=So(Be()-1,7);continue;case 47:switch(G()){case 42:case 47:Re(To(xo(N(),Be()),t,r,l),l),(Se(h||1)==5||Se(G()||1)==5)&&D(f)&&oe(f,-1,void 0)!==" "&&(f+=" ");break;default:f+="/"}break;case 123*S:c[d++]=D(f)*T;case 125*S:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+g:T==-1&&(f=ke(f,/\f/g,"")),m>0&&(D(f)-u||S===0&&h===47)&&Re(m>32?lr(f+";",n,r,u-1,l):lr(ke(f," ","")+";",n,r,u-2,l),l);break;case 59:f+=";";default:if(Re(C=cr(f,t,r,d,g,o,c,E,b=[],w=[],u,i),i),v===123)if(g===0)He(f,t,C,C,b,i,u,c,w);else switch(p===99&&ye(f,3)===110?100:p){case 100:case 108:case 109:case 115:He(e,C,C,n&&Re(cr(e,C,C,0,0,o,c,E,o,b=[],u,w),w),o,w,u,c,n?b:w);break;default:He(f,C,C,C,[""],w,0,c,w)}}d=g=m=0,S=T=1,E=f="",u=s;break;case 58:u=1+D(f),m=h;default:if(S<1){if(v==123)--S;else if(v==125&&S++==0&&po()==125)continue}switch(f+=ot(v),v*S){case 38:T=g>0?1:(f+="\f",-1);break;case 44:c[d++]=(D(f)-1)*T,T=1;break;case 64:G()===45&&(f+=at(N())),p=G(),g=u=D(E=f+=Co(Be())),v++;break;case 45:h===45&&D(f)==2&&(S=0)}}return i}function cr(e,t,r,n,o,i,s,c,l,d,g,u){for(var p=o-1,m=o===0?i:[""],h=ho(m),S=0,y=0,T=0;S<n;++S)for(var v=0,E=oe(e,p+1,p=ir(y=s[S])),b=e;v<h;++v)(b=ar(y>0?m[v]+" "+E:ke(E,/&\f/g,m[v])))&&(l[T++]=b);return it(e,t,r,o===0?nr:c,l,d,g,u)}function To(e,t,r,n){return it(e,t,r,rr,ot(go()),oe(e,2,-2),0,n)}function lr(e,t,r,n,o){return it(e,t,r,or,oe(e,0,n),oe(e,n+1,-1),n,o)}function ct(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function wo(e,t,r,n){switch(e.type){case uo:if(e.children.length)break;case co:case or:return e.return=e.return||e.value;case rr:return"";case lo:return e.return=e.value+"{"+ct(e.children,n)+"}";case nr:if(!D(e.value=e.props.join(",")))return""}return D(r=ct(e.children,n))?e.return=e.value+"{"+r+"}":""}function ur(e,t){const{path:r,parentSelectors:n}=t;Kt(!1,`[Ant Design Vue CSS-in-JS] ${r?`Error in '${r}': `:""}${e}${n.length?` Selector info: ${n.join(" -> ")}`:""}`)}const Eo=(e,t,r)=>{if(e==="content"){const n=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||["normal","none","initial","inherit","unset"].indexOf(t)===-1&&!n.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&ur(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,r)}},Ao=(e,t,r)=>{e==="animation"&&r.hashId&&t!=="none"&&ur(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,r)},dr="data-ant-cssinjs-cache-path",$o="_FILE_STYLE__";let Y,fr=!0;function Mo(){var e;if(!Y&&(Y={},ne())){const t=document.createElement("div");t.className=dr,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let r=getComputedStyle(t).content||"";r=r.replace(/^"/,"").replace(/"$/,""),r.split(";").forEach(o=>{const[i,s]=o.split(":");Y[i]=s});const n=document.querySelector(`style[${dr}]`);n&&(fr=!1,(e=n.parentNode)==null||e.removeChild(n)),document.body.removeChild(t)}}function ko(e){return Mo(),!!Y[e]}function Ro(e){const t=Y[e];let r=null;if(t&&ne())if(fr)r=$o;else{const n=document.querySelector(`style[${F}="${Y[e]}"]`);n?r=n.innerHTML:delete Y[e]}return[r,t]}const hr=ne(),gr="_skip_check_",pr="_multi_value_";function mr(e){return ct(vo(e),wo).replace(/\{%%%\:[^;];}/g,";")}function Io(e){return typeof e=="object"&&e&&(gr in e||pr in e)}function Bo(e,t,r){if(!t)return e;const n=`.${t}`,o=r==="low"?`:where(${n})`:n;return e.split(",").map(s=>{var g;const c=s.trim().split(/\s+/);let l=c[0]||"";const d=((g=l.match(/^\w+/))==null?void 0:g[0])||"";return l=`${d}${o}${l.slice(d.length)}`,[l,...c.slice(1)].join(" ")}).join(",")}const lt=new Set;process.env.NODE_ENV;const ut=(e,t={},{root:r,injectHash:n,parentSelectors:o}={root:!0,parentSelectors:[]})=>{const{hashId:i,layer:s,path:c,hashPriority:l,transformers:d=[],linters:g=[]}=t;let u="",p={};function m(y){const T=y.getName(i);if(!p[T]){const[v]=ut(y.style,t,{root:!1,parentSelectors:o});p[T]=`@keyframes ${y.getName(i)}${v}`}}function h(y,T=[]){return y.forEach(v=>{Array.isArray(v)?h(v,T):v&&T.push(v)}),T}if(h(Array.isArray(e)?e:[e]).forEach(y=>{const T=typeof y=="string"&&!r?{}:y;if(typeof T=="string")u+=`${T}
2
+ `;else if(T._keyframe)m(T);else{const v=d.reduce((E,b)=>{var w;return((w=b==null?void 0:b.visit)==null?void 0:w.call(b,E))||E},T);Object.keys(v).forEach(E=>{const b=v[E];if(typeof b=="object"&&b&&(E!=="animationName"||!b._keyframe)&&!Io(b)){let w=!1,C=E.trim(),f=!1;(r||n)&&i?C.startsWith("@")?w=!0:C=Bo(E,i,l):r&&!i&&(C==="&"||C==="")&&(C="",f=!0);const[$,x]=ut(b,t,{root:f,injectHash:w,parentSelectors:[...o,C]});p={...p,...x},u+=`${C}${$}`}else{let w=function(f,$){process.env.NODE_ENV!=="production"&&(typeof b!="object"||!(b!=null&&b[gr]))&&[Eo,Ao,...g].forEach(k=>k(f,$,{path:c,hashId:i,parentSelectors:o}));const x=f.replace(/[A-Z]/g,k=>`-${k.toLowerCase()}`);let A=$;!so[f]&&typeof A=="number"&&A!==0&&(A=`${A}px`),f==="animationName"&&($!=null&&$._keyframe)&&(m($),A=$.getName(i)),u+=`${x}:${A};`};const C=(b==null?void 0:b.value)??b;typeof b=="object"&&(b!=null&&b[pr])&&Array.isArray(C)?C.forEach(f=>{w(E,f)}):w(E,C)}})}}),!r)u=`{${u}}`;else if(s&&Kn()){const y=s.split(",");u=`@layer ${y[y.length-1].trim()} {${u}}`,y.length>1&&(u=`@layer ${s}{%%%:%}${u}`)}return[u,p]};function br(e,t){return qe(`${e.join("%")}${t}`)}function yr(e,t){const r=pe(),n=a.computed(()=>{var s;return(s=e.value)==null?void 0:s.token._tokenKey}),o=a.computed(()=>{var s;return[n.value,...((s=e.value)==null?void 0:s.path)||[]]});let i=hr;return process.env.NODE_ENV!=="production"&&r.value.mock!==void 0&&(i=r.value.mock==="client"),_e("style",o,()=>{const{path:s,hashId:c,layer:l,nonce:d,clientOnly:g,order:u=0}=e.value||{},p=o.value.join("|");if(ko(p)){const[f,$]=Ro(p);if(f)return[f,n.value,$,{},g,u]}const m=t(),{hashPriority:h,container:S,transformers:y,linters:T,cache:v}=r.value,[E,b]=ut(m,{hashId:c,hashPriority:h,layer:l,path:s==null?void 0:s.join("-"),transformers:y,linters:T}),w=mr(E),C=br(o.value,w);if(i){const f={mark:F,prepend:"queue",attachTo:S,priority:u},$=typeof d=="function"?d():d;$&&(f.csp={nonce:$});const x=Je(w,C,f);x[re]=v.instanceId,x.setAttribute(Ot,n.value),process.env.NODE_ENV!=="production"&&x.setAttribute(En,o.value.join("|")),Object.keys(b).forEach(A=>{lt.has(A)||(lt.add(A),Je(mr(b[A]),`_effect-${A}`,{mark:F,prepend:"queue",attachTo:S}))})}return[w,n.value,C,b,g,u]},([,,s],c)=>{(c||r.value.autoClear)&&hr&&Ze(s,{mark:F})}),s=>s}const Po="cssVar",Ho=(e,t)=>{const{key:r,prefix:n,unitless:o,ignore:i,token:s,scope:c=""}=e;useContext(kn);const{_tokenKey:l}=s,d=[...e.path,r,c,l];return _e(Po,d,()=>{const u=t(),[p,m]=Zn(u,r,{prefix:n,unitless:o,ignore:i,scope:c}),h=br(d,m);return[p,m,h,r]},([,,u])=>{_n&&Ze(u,{mark:F})})};class Sr{constructor(t,r){this._keyframe=!0,this.name=t,this.style=r}getName(t=""){return t?`${t}-${this.name}`:this.name}}function se(e){return e.notSplit=!0,e}se(["borderTop","borderBottom"]),se(["borderTop"]),se(["borderBottom"]),se(["borderLeft","borderRight"]),se(["borderLeft"]),se(["borderRight"]);class xr{}const Cr="CALC_UNIT",No=new RegExp(Cr,"g");function dt(e){return typeof e=="number"?`${e}${Cr}`:e}class Z extends xr{constructor(t,r){super(),this.result="";const n=typeof t;this.unitlessCssVar=r,t instanceof Z?this.result=`(${t.result})`:n==="number"?this.result=dt(t):n==="string"&&(this.result=t)}add(t){return t instanceof Z?this.result=`${this.result} + ${t.getResult()}`:(typeof t=="number"||typeof t=="string")&&(this.result=`${this.result} + ${dt(t)}`),this.lowPriority=!0,this}sub(t){return t instanceof Z?this.result=`${this.result} - ${t.getResult()}`:(typeof t=="number"||typeof t=="string")&&(this.result=`${this.result} - ${dt(t)}`),this.lowPriority=!0,this}mul(t){return this.lowPriority&&(this.result=`(${this.result})`),t instanceof Z?this.result=`${this.result} * ${t.getResult(!0)}`:(typeof t=="number"||typeof t=="string")&&(this.result=`${this.result} * ${t}`),this.lowPriority=!1,this}div(t){return this.lowPriority&&(this.result=`(${this.result})`),t instanceof Z?this.result=`${this.result} / ${t.getResult(!0)}`:(typeof t=="number"||typeof t=="string")&&(this.result=`${this.result} / ${t}`),this.lowPriority=!1,this}getResult(t){return this.lowPriority||t?`(${this.result})`:this.result}equal(t){const{unit:r}=t||{};let n=!0;return typeof r=="boolean"?n=r:Array.from(this.unitlessCssVar).some(o=>this.result.includes(o))&&(n=!1),this.result=this.result.replace(No,n?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}class J extends xr{constructor(t){super(),this.result=0,t instanceof J?this.result=t.result:typeof t=="number"&&(this.result=t)}add(t){return t instanceof J?this.result+=t.result:typeof t=="number"&&(this.result+=t),this}sub(t){return t instanceof J?this.result-=t.result:typeof t=="number"&&(this.result-=t),this}mul(t){return t instanceof J?this.result*=t.result:typeof t=="number"&&(this.result*=t),this}div(t){return t instanceof J?this.result/=t.result:typeof t=="number"&&(this.result/=t),this}equal(){return this.result}}const Lo=(e,t)=>{const r=e==="css"?Z:J;return n=>new r(n,t)},vr=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function Tr(e,t={},r,n){const o={...t[e]};if(n!=null&&n.deprecatedTokens){const{deprecatedTokens:s}=n;s.forEach(([c,l])=>{process.env.NODE_ENV!=="production"&&qt(!(o!=null&&o[c]),`Component Token \`${String(c)}\` of ${String(e)} is deprecated. Please use \`${String(l)}\` instead.`),(o!=null&&o[c]||o!=null&&o[l])&&(o[l]??(o[l]=o==null?void 0:o[c]))})}const i={...r,...o};return Object.keys(i).forEach(s=>{i[s]===t[s]&&delete i[s]}),i}const wr=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let ft=!0;function ht(...e){if(!wr)return Object.assign({},...e);ft=!1;const t={};return e.forEach(r=>{if(typeof r!="object")return;Object.keys(r).forEach(o=>{Object.defineProperty(t,o,{configurable:!0,enumerable:!0,get:()=>r[o]})})}),ft=!0,t}const Er={};function Do(){}const Oo=e=>{let t,r=e,n=Do;return wr&&typeof Proxy<"u"&&(t=new Set,r=new Proxy(e,{get(o,i){return ft&&(t==null||t.add(i)),o[i]}}),n=(o,i)=>{var s;Er[o]={global:Array.from(t),component:{...(s=Er[o])==null?void 0:s.component,...i}}}),{token:r,keys:t,flush:n}};function Ar(e,t={},r){return typeof r=="function"?r(ht(t,t[e]??{})):r??{}}function zo(e){return e==="js"?{max:Math.max,min:Math.min}:{max:(...t)=>`max(${t.map(r=>be(r)).join(",")})`,min:(...t)=>`min(${t.map(r=>be(r)).join(",")})`}}const jo=1e3*60*10;class Vo{constructor(){he(this,"map",new Map);he(this,"objectIDMap",new WeakMap);he(this,"nextID",0);he(this,"lastAccessBeat",new Map);he(this,"accessBeat",0)}set(t,r){this.clear();const n=this.getCompositeKey(t);this.map.set(n,r),this.lastAccessBeat.set(n,Date.now())}get(t){const r=this.getCompositeKey(t),n=this.map.get(r);return this.lastAccessBeat.set(r,Date.now()),this.accessBeat+=1,n}getCompositeKey(t){return t.map(n=>n&&typeof n=="object"?`obj_${this.getObjectID(n)}`:`${typeof n}_${n}`).join("|")}getObjectID(t){if(this.objectIDMap.has(t))return this.objectIDMap.get(t);const r=this.nextID;return this.objectIDMap.set(t,r),this.nextID+=1,r}clear(){if(this.accessBeat>1e4){const t=Date.now();this.lastAccessBeat.forEach((r,n)=>{t-r>jo&&(this.map.delete(n),this.lastAccessBeat.delete(n))}),this.accessBeat=0}}}const $r=new Vo;function Xo(e,t){return a.computed(()=>{const r=$r.get(t);if(r)return r;const n=e();return $r.set(t,n),n})}const Wo=()=>({});function Fo(e){const{useCSP:t=Wo,useToken:r,usePrefix:n,getResetStyles:o,getCommonStyle:i,getCompUnitless:s}=e;function c(u,p,m,h){const S=Array.isArray(u)?u[0]:u;function y(f){return`${String(S)}${f.slice(0,1).toUpperCase()}${f.slice(1)}`}const T=(h==null?void 0:h.unitless)||{},E={...typeof s=="function"?s(u):{},[y("zIndexPopup")]:!0};Object.keys(T).forEach(f=>{E[y(f)]=T[f]});const b={...h,unitless:E,prefixToken:y},w=d(u,p,m,b),C=l(S,m,b);return(f,$=a.toValue(f))=>{const[,x]=w(a.toValue(f),$),[A,k]=C($);return[A,x,k]}}function l(u,p,m){const{unitless:h,injectStyle:S=!0,prefixToken:y,ignore:T}=m,v=({rootCls:b,cssVar:w={}})=>{const{realToken:C}=r();return Ho({path:[u],prefix:w.prefix,key:w.key,unitless:h,ignore:T,token:C,scope:b},()=>{const f=Ar(u,C,p),$=Tr(u,C,f,{deprecatedTokens:m==null?void 0:m.deprecatedTokens});return Object.keys(f).forEach(x=>{$[y(x)]=$[x],delete $[x]}),$}),null};return b=>{const{cssVar:w}=r();return[C=>S&&w?a.createVNode(a.Fragment,null,[a.createVNode(v,{rootCls:b,cssVar:w,component:u},null),C]):C,w==null?void 0:w.key]}}function d(u,p,m,h={}){const S=Array.isArray(u)?u:[u,u],[y]=S,T=S.join("-"),v=e.layer||{name:"antd"};return(E,b=E)=>{const{theme:w,realToken:C,hashId:f,token:$,cssVar:x}=r(),{rootPrefixCls:A,iconPrefixCls:k}=n(),de=t(),q=x?"css":"js",ve=a.unref(Xo(()=>{const we=new Set;return x&&Object.keys(h.unitless||{}).forEach(Xe=>{we.add(Me(Xe,x.prefix)),we.add(Me(Xe,vr(y,x.prefix)))}),Lo(q,we)},[q,y,x==null?void 0:x.prefix])),{max:Te,min:kt}=zo(q),Rt={theme:w,token:$,hashId:f,nonce:()=>de.nonce,clientOnly:h.clientOnly,layer:v,order:h.order||-999};return typeof o=="function"&&yr({...Rt,clientOnly:!1,path:["Shared",A]},()=>o($,{prefix:{rootPrefixCls:A,iconPrefixCls:k},csp:de})),[yr({...Rt,path:[T,E,k]},()=>{if(h.injectStyle===!1)return[];const{token:we,flush:Xe}=Oo($),fe=Ar(y,C,m),ca=`.${E}`,en=Tr(y,C,fe,{deprecatedTokens:h.deprecatedTokens});x&&fe&&typeof fe=="object"&&Object.keys(fe).forEach(rn=>{fe[rn]=`var(${Me(rn,vr(y,x.prefix))})`});const tn=ht(we,{componentCls:ca,prefixCls:E,iconCls:`.${k}`,antCls:`.${A}`,calc:ve,max:Te,min:kt},x?fe:en),la=p(tn,{hashId:f,prefixCls:E,rootPrefixCls:A,iconPrefixCls:k});Xe(y,en);const ua=typeof i=="function"?i(tn,E,b,h.resetFont):null;return[h.resetStyle===!1?null:ua,la]}),f]}}function g(u,p,m,h={}){const S=d(u,p,m,{resetStyle:!1,order:-998,...h}),y=({prefixCls:T,rootCls:v=T})=>(S(T,v),null);return process.env.NODE_ENV!=="production"&&(y.displayName=`SubStyle_${String(Array.isArray(u)?u.join("."):u)}`),y}return{genStyleHooks:c,genSubStyleComponent:g,genComponentStyleHook:d}}const Go={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},Uo={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0};function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},M.apply(null,arguments)}function B(e,t){qo(e)&&(e="100%");var r=Ko(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Ne(e){return Math.min(1,Math.max(0,e))}function qo(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Ko(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Mr(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Le(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Q(e){return e.length===1?"0"+e:String(e)}function _o(e,t,r){return{r:B(e,255)*255,g:B(t,255)*255,b:B(r,255)*255}}function kr(e,t,r){e=B(e,255),t=B(t,255),r=B(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),i=0,s=0,c=(n+o)/2;if(n===o)s=0,i=0;else{var l=n-o;switch(s=c>.5?l/(2-n-o):l/(n+o),n){case e:i=(t-r)/l+(t<r?6:0);break;case t:i=(r-e)/l+2;break;case r:i=(e-t)/l+4;break}i/=6}return{h:i,s,l:c}}function gt(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Yo(e,t,r){var n,o,i;if(e=B(e,360),t=B(t,100),r=B(r,100),t===0)o=r,i=r,n=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=gt(c,s,e+1/3),o=gt(c,s,e),i=gt(c,s,e-1/3)}return{r:n*255,g:o*255,b:i*255}}function pt(e,t,r){e=B(e,255),t=B(t,255),r=B(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),i=0,s=n,c=n-o,l=n===0?0:c/n;if(n===o)i=0;else{switch(n){case e:i=(t-r)/c+(t<r?6:0);break;case t:i=(r-e)/c+2;break;case r:i=(e-t)/c+4;break}i/=6}return{h:i,s:l,v:s}}function Zo(e,t,r){e=B(e,360)*6,t=B(t,100),r=B(r,100);var n=Math.floor(e),o=e-n,i=r*(1-t),s=r*(1-o*t),c=r*(1-(1-o)*t),l=n%6,d=[r,s,i,i,c,r][l],g=[c,r,r,s,i,i][l],u=[i,i,c,r,r,s][l];return{r:d*255,g:g*255,b:u*255}}function mt(e,t,r,n){var o=[Q(Math.round(e).toString(16)),Q(Math.round(t).toString(16)),Q(Math.round(r).toString(16))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Jo(e,t,r,n,o){var i=[Q(Math.round(e).toString(16)),Q(Math.round(t).toString(16)),Q(Math.round(r).toString(16)),Q(Qo(n))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function Qo(e){return Math.round(parseFloat(e)*255).toString(16)}function Rr(e){return P(e)/255}function P(e){return parseInt(e,16)}function ei(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var bt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ce(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,i=null,s=!1,c=!1;return typeof e=="string"&&(e=ni(e)),typeof e=="object"&&(V(e.r)&&V(e.g)&&V(e.b)?(t=_o(e.r,e.g,e.b),s=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):V(e.h)&&V(e.s)&&V(e.v)?(n=Le(e.s),o=Le(e.v),t=Zo(e.h,n,o),s=!0,c="hsv"):V(e.h)&&V(e.s)&&V(e.l)&&(n=Le(e.s),i=Le(e.l),t=Yo(e.h,n,i),s=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Mr(r),{ok:s,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var ti="[-\\+]?\\d+%?",ri="[-\\+]?\\d*\\.\\d+%?",U="(?:".concat(ri,")|(?:").concat(ti,")"),yt="[\\s|\\(]+(".concat(U,")[,|\\s]+(").concat(U,")[,|\\s]+(").concat(U,")\\s*\\)?"),St="[\\s|\\(]+(".concat(U,")[,|\\s]+(").concat(U,")[,|\\s]+(").concat(U,")[,|\\s]+(").concat(U,")\\s*\\)?"),L={CSS_UNIT:new RegExp(U),rgb:new RegExp("rgb"+yt),rgba:new RegExp("rgba"+St),hsl:new RegExp("hsl"+yt),hsla:new RegExp("hsla"+St),hsv:new RegExp("hsv"+yt),hsva:new RegExp("hsva"+St),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function ni(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(bt[e])e=bt[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=L.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=L.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=L.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=L.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=L.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=L.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=L.hex8.exec(e),r?{r:P(r[1]),g:P(r[2]),b:P(r[3]),a:Rr(r[4]),format:t?"name":"hex8"}:(r=L.hex6.exec(e),r?{r:P(r[1]),g:P(r[2]),b:P(r[3]),format:t?"name":"hex"}:(r=L.hex4.exec(e),r?{r:P(r[1]+r[1]),g:P(r[2]+r[2]),b:P(r[3]+r[3]),a:Rr(r[4]+r[4]),format:t?"name":"hex8"}:(r=L.hex3.exec(e),r?{r:P(r[1]+r[1]),g:P(r[2]+r[2]),b:P(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function V(e){return!!L.CSS_UNIT.exec(String(e))}var O=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=ei(t)),this.originalInput=t;var o=ce(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:o.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,o,i=t.r/255,s=t.g/255,c=t.b/255;return i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),c<=.03928?o=c/12.92:o=Math.pow((c+.055)/1.055,2.4),.2126*r+.7152*n+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Mr(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=pt(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=pt(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=kr(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=kr(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),mt(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Jo(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(B(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(B(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+mt(this.r,this.g,this.b,!1),r=0,n=Object.entries(bt);r<n.length;r++){var o=n[r],i=o[0],s=o[1];if(t===s)return i}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var n=!1,o=this.a<1&&this.a>=0,i=!r&&o&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=Ne(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=Ne(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=Ne(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=Ne(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),i=r/100,s={r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a};return new e(s)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),o=360/r,i=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(new e(n));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,i=r.v,s=[],c=1/t;t--;)s.push(new e({h:n,s:o,v:i})),i=(i+c)%1;return s},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],i=360/t,s=1;s<t;s++)o.push(new e({h:(n+s*i)%360,s:r.s,l:r.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function xt(e){return e>=0&&e<=255}function De(e,t){const{r,g:n,b:o,a:i}=new O(e).toRgb();if(i<1)return e;const{r:s,g:c,b:l}=new O(t).toRgb();for(let d=.01;d<=1;d+=.01){const g=Math.round((r-s*(1-d))/d),u=Math.round((n-c*(1-d))/d),p=Math.round((o-l*(1-d))/d);if(xt(g)&&xt(u)&&xt(p))return new O({r:g,g:u,b:p,a:Math.round(d*100)/100}).toRgbString()}return new O({r,g:n,b:o,a:1}).toRgbString()}const Ir={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Br=M(M({},Ir),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
3
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
4
+ 'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});var oi=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function ii(e){const{override:t}=e,r=oi(e,["override"]),n=M({},t);Object.keys(Br).forEach(m=>{delete n[m]});const o=M(M({},r),n),i=480,s=576,c=768,l=992,d=1200,g=1600,u=2e3;return M(M(M({},o),{colorLink:o.colorInfoText,colorLinkHover:o.colorInfoHover,colorLinkActive:o.colorInfoActive,colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:De(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:De(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:De(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:De(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
5
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
6
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
7
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
8
+ `,boxShadowSecondary:`
9
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
10
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
11
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
12
+ `,boxShadowTertiary:`
13
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
14
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
15
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
16
+ `,screenXS:i,screenXSMin:i,screenXSMax:s-1,screenSM:s,screenSMMin:s,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:d-1,screenXL:d,screenXLMin:d,screenXLMax:g-1,screenXXL:g,screenXXLMin:g,screenXXLMax:u-1,screenXXXL:u,screenXXXLMin:u,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:`
17
+ 0 1px 2px -2px ${new O("rgba(0, 0, 0, 0.16)").toRgbString()},
18
+ 0 3px 6px 0 ${new O("rgba(0, 0, 0, 0.12)").toRgbString()},
19
+ 0 5px 12px 4px ${new O("rgba(0, 0, 0, 0.09)").toRgbString()}
20
+ `,boxShadowDrawerRight:`
21
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
22
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
23
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
24
+ `,boxShadowDrawerLeft:`
25
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
26
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
27
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
28
+ `,boxShadowDrawerUp:`
29
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
30
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
31
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
32
+ `,boxShadowDrawerDown:`
33
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
34
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
35
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
36
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),n)}const ai="1.0.3",Pr="%";class si{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Pr):t)||null}update(t,r){const n=Array.isArray(t)?t.join(Pr):t,o=this.cache.get(n),i=r(o);i===null?this.cache.delete(n):this.cache.set(n,i)}}const Ct="data-css-hash",Oe="__cssinjs_instance__";function xe(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Ct}]`)||[],{firstChild:r}=document.head;Array.from(t).forEach(o=>{o[Oe]=o[Oe]||e,o[Oe]===e&&document.head.insertBefore(o,r)});const n={};Array.from(document.querySelectorAll(`style[${Ct}]`)).forEach(o=>{var i;const s=o.getAttribute(Ct);n[s]?o[Oe]===e&&((i=o.parentNode)===null||i===void 0||i.removeChild(o)):n[s]=!0})}return new si(e)}const Hr=Symbol("StyleContextKey"),ci=()=>{var e,t,r;const n=a.getCurrentInstance();let o;if(n&&n.appContext){const i=(r=(t=(e=n.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||r===void 0?void 0:r.__ANTDV_CSSINJS_CACHE__;i?o=i:(o=xe(),n.appContext.config.globalProperties&&(n.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=o))}else o=xe();return o},Nr={cache:xe(),defaultCache:!0,hashPriority:"low"},li=()=>{const e=ci();return a.inject(Hr,a.shallowRef(M(M({},Nr),{cache:e})))},ui=e=>{const t=li(),r=a.shallowRef(M(M({},Nr),{cache:xe()}));return a.watch([()=>a.unref(e),t],()=>{const n=M({},t.value),o=a.unref(e);Object.keys(o).forEach(s=>{const c=o[s];o[s]!==void 0&&(n[s]=c)});const{cache:i}=o;n.cache=n.cache||xe(),n.defaultCache=!i&&t.value.defaultCache,r.value=n},{immediate:!0}),a.provide(Hr,r),r},di=()=>({autoClear:We(),mock:Pt(),cache:It(),defaultCache:We(),hashPriority:Pt(),container:an(),ssrInline:We(),transformers:Bt(),linters:Bt()});nn(a.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:di(),setup(e,t){let{slots:r}=t;return ui(e),()=>{var n;return(n=r.default)===null||n===void 0?void 0:n.call(r)}}}));function fi(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}class le{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n={map:this.cache};return t.forEach(o=>{var i;n?n=(i=n==null?void 0:n.map)===null||i===void 0?void 0:i.get(o):n=void 0}),n!=null&&n.value&&r&&(n.value[1]=this.cacheCallTimes++),n==null?void 0:n.value}get(t){var r;return(r=this.internalGet(t,!0))===null||r===void 0?void 0:r[0]}has(t){return!!this.internalGet(t)}set(t,r){if(!this.has(t)){if(this.size()+1>le.MAX_CACHE_SIZE+le.MAX_CACHE_OFFSET){const[o]=this.keys.reduce((i,s)=>{const[,c]=i;return this.internalGet(s)[1]<c?[s,this.internalGet(s)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(o)}this.keys.push(t)}let n=this.cache;t.forEach((o,i)=>{if(i===t.length-1)n.set(o,{value:[r,this.cacheCallTimes++]});else{const s=n.get(o);s?s.map||(s.map=new Map):n.set(o,{map:new Map}),n=n.get(o).map}})}deleteByPath(t,r){var n;const o=t.get(r[0]);if(r.length===1)return o.map?t.set(r[0],{map:o.map}):t.delete(r[0]),(n=o.value)===null||n===void 0?void 0:n[0];const i=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&t.delete(r[0]),i}delete(t){if(this.has(t))return this.keys=this.keys.filter(r=>!fi(r,t)),this.deleteByPath(this.cache,t)}}le.MAX_CACHE_SIZE=20,le.MAX_CACHE_OFFSET=5;let vt={};function hi(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function gi(){vt={}}function pi(e,t,r){!t&&!vt[r]&&(e(!1,r),vt[r]=!0)}function mi(e,t){pi(hi,e,t)}function bi(){}let Lr=bi;process.env.NODE_ENV!=="production"&&(Lr=(e,t,r)=>{mi(e,`[ant-design-vue: ${t}] ${r}`),process.env.NODE_ENV==="test"&&gi()});let Dr=0;class yi{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Dr,t.length===0&&Lr(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),Dr+=1}getDerivativeToken(t){return this.derivatives.reduce((r,n)=>n(t,r),void 0)}}const Tt=new le;function Si(e){const t=Array.isArray(e)?e:[e];return Tt.has(t)||Tt.set(t,new yi(t)),Tt.get(t)}process.env.NODE_ENV,process.env.NODE_ENV;const xi=new Set;process.env.NODE_ENV;function ue(e){return e.notSplit=!0,e}ue(["borderTop","borderBottom"]),ue(["borderTop"]),ue(["borderBottom"]),ue(["borderLeft","borderRight"]),ue(["borderLeft"]),ue(["borderRight"]);var ze=2,Or=.16,Ci=.05,vi=.05,Ti=.15,zr=5,jr=4,wi=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Vr(e){var t=e.r,r=e.g,n=e.b,o=pt(t,r,n);return{h:o.h*360,s:o.s,v:o.v}}function je(e){var t=e.r,r=e.g,n=e.b;return"#".concat(mt(t,r,n,!1))}function Ei(e,t,r){var n=r/100,o={r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b};return o}function Xr(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-ze*t:Math.round(e.h)+ze*t:n=r?Math.round(e.h)+ze*t:Math.round(e.h)-ze*t,n<0?n+=360:n>=360&&(n-=360),n}function Wr(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-Or*t:t===jr?n=e.s+Or:n=e.s+Ci*t,n>1&&(n=1),r&&t===zr&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function Fr(e,t,r){var n;return r?n=e.v+vi*t:n=e.v-Ti*t,n>1&&(n=1),Number(n.toFixed(2))}function Ve(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=ce(e),o=zr;o>0;o-=1){var i=Vr(n),s=je(ce({h:Xr(i,o,!0),s:Wr(i,o,!0),v:Fr(i,o,!0)}));r.push(s)}r.push(je(n));for(var c=1;c<=jr;c+=1){var l=Vr(n),d=je(ce({h:Xr(l,c),s:Wr(l,c),v:Fr(l,c)}));r.push(d)}return t.theme==="dark"?wi.map(function(g){var u=g.index,p=g.opacity,m=je(Ei(ce(t.backgroundColor||"#141414"),ce(r[u]),p*100));return m}):r}var wt={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Et={},At={};Object.keys(wt).forEach(function(e){Et[e]=Ve(wt[e]),Et[e].primary=Et[e][5],At[e]=Ve(wt[e],{theme:"dark",backgroundColor:"#141414"}),At[e].primary=At[e][5]});const Ai=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function $i(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}function Mi(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t;const{colorSuccess:o,colorWarning:i,colorError:s,colorInfo:c,colorPrimary:l,colorBgBase:d,colorTextBase:g}=e,u=r(l),p=r(o),m=r(i),h=r(s),S=r(c),y=n(d,g);return M(M({},y),{colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:S[1],colorInfoBgHover:S[2],colorInfoBorder:S[3],colorInfoBorderHover:S[4],colorInfoHover:S[4],colorInfo:S[6],colorInfoActive:S[7],colorInfoTextHover:S[8],colorInfoText:S[9],colorInfoTextActive:S[10],colorBgMask:new O("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const ki=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}};function Ri(e){const{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return M({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1},ki(n))}const X=(e,t)=>new O(e).setAlpha(t).toRgbString(),Ce=(e,t)=>new O(e).darken(t).toHexString(),Ii=e=>{const t=Ve(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Bi=(e,t)=>{const r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:X(n,.88),colorTextSecondary:X(n,.65),colorTextTertiary:X(n,.45),colorTextQuaternary:X(n,.25),colorFill:X(n,.15),colorFillSecondary:X(n,.06),colorFillTertiary:X(n,.04),colorFillQuaternary:X(n,.02),colorBgLayout:Ce(r,4),colorBgContainer:Ce(r,0),colorBgElevated:Ce(r,0),colorBgSpotlight:X(n,.85),colorBorder:Ce(r,15),colorBorderSecondary:Ce(r,6)}};function Pi(e){const t=new Array(10).fill(null).map((r,n)=>{const o=n-1,i=e*Math.pow(2.71828,o/5),s=n>1?Math.floor(i):Math.ceil(i);return Math.floor(s/2)*2});return t[1]=e,t.map(r=>{const n=r+8;return{size:r,lineHeight:n/r}})}const Hi=e=>{const t=Pi(e),r=t.map(o=>o.size),n=t.map(o=>o.lineHeight);return{fontSizeSM:r[0],fontSize:r[1],fontSizeLG:r[2],fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:n[1],lineHeightLG:n[2],lineHeightSM:n[0],lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}};function Ni(e){const t=Object.keys(Ir).map(r=>{const n=Ve(e[r]);return new Array(10).fill(1).reduce((o,i,s)=>(o[`${r}-${s+1}`]=n[s],o),{})}).reduce((r,n)=>(r=M(M({},r),n),r),{});return M(M(M(M(M(M(M({},e),t),Mi(e,{generateColorPalettes:Ii,generateNeutralColorPalettes:Bi})),Hi(e.fontSize)),$i(e)),Ai(e)),Ri(e))}Si(Ni);const Li={token:Br,hashed:!0},Gr=Symbol("DesignTokenContext"),$t=a.shallowRef(),Di=e=>{a.provide(Gr,e),a.watch(e,()=>{$t.value=a.unref(e),a.triggerRef($t)},{immediate:!0,deep:!0})},Oi=()=>a.inject(Gr,a.computed(()=>$t.value||Li));a.defineComponent({props:{value:It()},setup(e,t){let{slots:r}=t;return Di(a.computed(()=>e.value)),()=>{var n;return(n=r.default)===null||n===void 0?void 0:n.call(r)}}});const zi=Gn(z.theme.defaultAlgorithm),ji={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},Ur=(e,t,r)=>{const n=r.getDerivativeToken(e),{override:o,...i}=t;let s={...n,override:o};return s=ii(s),i&&Object.entries(i).forEach(([c,l])=>{const{theme:d,...g}=l;let u=g;d&&(u=Ur({...s,...g},{override:g},d)),s[c]=u}),s};function Vi(){const{token:e,hashed:t,theme:r=zi,override:n,cssVar:o}=a.unref(Oi()),[i,s,c]=a.unref(ao(a.ref(r),a.ref([z.theme.defaultSeed,e]),a.ref({salt:`${ai}-${t||""}`,override:n,getComputedToken:Ur,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:Uo,ignore:Go,preserve:ji}})));return[r,c,t?s:"",i,o]}const{genStyleHooks:Xi,genComponentStyleHook:ha,genSubStyleComponent:ga}=Fo({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=ee();return{iconPrefixCls:a.unref(t),rootPrefixCls:e()}},useToken:()=>{const[e,t,r,n,o]=Vi();return{theme:e,realToken:t,hashId:r,token:n,cssVar:o}},useCSP:()=>{const{csp:e}=ee();return(e==null?void 0:e.value)??{}},layer:{name:"antdx",dependencies:["antd"]}}),Wi=e=>{const{componentCls:t,paddingSM:r,padding:n}=e;return{[t]:{[`${t}-content`]:{"&-filled,&-outlined,&-shadow":{padding:`${be(r)} ${be(n)}`,borderRadius:e.borderRadiusLG},"&-filled":{backgroundColor:e.colorFillContent},"&-outlined":{border:`1px solid ${e.colorBorderSecondary}`},"&-shadow":{boxShadow:e.boxShadowTertiary}}}}},Fi=e=>{const{componentCls:t,fontSize:r,lineHeight:n,paddingSM:o,padding:i,calc:s}=e,c=s(r).mul(n).div(2).add(o).equal(),l=`${t}-content`;return{[t]:{[l]:{"&-round":{borderRadius:{_skip_check_:!0,value:c},paddingInline:s(i).mul(1.25).equal()}},[`&-start ${l}-corner`]:{borderStartStartRadius:e.borderRadiusXS},[`&-end ${l}-corner`]:{borderStartEndRadius:e.borderRadiusXS}}}},Gi=e=>{const{componentCls:t,padding:r}=e;return{[`${t}-list`]:{display:"flex",flexDirection:"column",gap:r,overflowY:"auto"}}},Ui=new Sr("loadingMove",{"0%":{transform:"translateY(0)"},"10%":{transform:"translateY(4px)"},"20%":{transform:"translateY(0)"},"30%":{transform:"translateY(-4px)"},"40%":{transform:"translateY(0)"}}),qi=new Sr("cursorBlink",{"0%":{opacity:1},"50%":{opacity:0},"100%":{opacity:1}}),Ki=e=>{const{componentCls:t,fontSize:r,lineHeight:n,paddingSM:o,colorText:i,calc:s}=e;return{[t]:{display:"flex",columnGap:o,[`&${t}-end`]:{justifyContent:"end",flexDirection:"row-reverse",[`& ${t}-content-wrapper`]:{alignItems:"flex-end"}},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-typing ${t}-content:last-child::after`]:{content:'"|"',fontWeight:900,userSelect:"none",opacity:1,marginInlineStart:"0.1em",animationName:qi,animationDuration:"0.8s",animationIterationCount:"infinite",animationTimingFunction:"linear"},[`& ${t}-avatar`]:{display:"inline-flex",justifyContent:"center",alignSelf:"flex-start"},[`& ${t}-header, & ${t}-footer`]:{fontSize:r,lineHeight:n,color:e.colorText},[`& ${t}-header`]:{marginBottom:e.paddingXXS},[`& ${t}-footer`]:{marginTop:o},[`& ${t}-content-wrapper`]:{flex:"auto",display:"flex",flexDirection:"column",alignItems:"flex-start",minWidth:0,maxWidth:"100%"},[`& ${t}-content`]:{position:"relative",boxSizing:"border-box",minWidth:0,maxWidth:"100%",color:i,fontSize:e.fontSize,lineHeight:e.lineHeight,minHeight:s(o).mul(2).add(s(n).mul(r)).equal(),wordBreak:"break-word",[`& ${t}-dot`]:{position:"relative",height:"100%",display:"flex",alignItems:"center",columnGap:e.marginXS,padding:`0 ${be(e.paddingXXS)}`,"&-item":{backgroundColor:e.colorPrimary,borderRadius:"100%",width:4,height:4,animationName:Ui,animationDuration:"2s",animationIterationCount:"infinite",animationTimingFunction:"linear","&:nth-child(1)":{animationDelay:"0s"},"&:nth-child(2)":{animationDelay:"0.2s"},"&:nth-child(3)":{animationDelay:"0.4s"}}}}}}},qr=Xi("Bubble",e=>{const t=ht(e,{});return[Ki(t),Gi(t),Wi(t),Fi(t)]},()=>({})),Kr=Symbol("BubbleContext"),Mt=a.shallowRef(),_i=e=>{a.provide(Kr,e),a.watch(e,()=>{Mt.value=a.unref(e),a.triggerRef(Mt)},{immediate:!0,deep:!0})},Yi=()=>a.inject(Kr,a.computed(()=>Mt.value||{})),Zi=a.defineComponent({props:{value:Ee()},setup(e,{slots:t}){return _i(a.computed(()=>e.value)),()=>{var r;return(r=t.default)==null?void 0:r.call(t)}}}),_r=a.defineComponent({name:"AXBubble",__name:"Bubble",props:a.mergeDefaults({prefixCls:null,rootClassName:null,styles:null,classNames:null,avatar:null,placement:null,loading:{type:Boolean},typing:{type:Boolean},content:null,messageRender:{type:Function},loadingRender:{type:Function},variant:null,shape:null,onTypingComplete:null,header:null,footer:null},{classNames:()=>({}),styles:()=>({}),placement:"start",loading:!1,content:"",variant:"filled"}),setup(e,{expose:t}){const r=Fe(e,["prefixCls","rootClassName","classNames","styles","avatar","placement","loading","loadingRender","typing","content","messageRender","variant","shape","onTypingComplete","header","footer"]);a.toRef(e,"content"),a.toRef(e,"prefixCls");const n=a.ref(e.content);a.watch(()=>e.content,()=>{n.value=e.content});const{onUpdate:o}=a.unref(Yi()),i=a.ref(null),{direction:s,getPrefixCls:c}=ee(),l=c("bubble",e.prefixCls),d=xn("bubble"),[g,u,p,m]=vn(e.typing),[h,S]=Cn(n,g,u,p),y=a.ref(!1);a.watch(h,()=>{o==null||o()}),a.watchEffect(()=>{var x;!S.value&&!e.loading?y.value||(y.value=!0,(x=e.onTypingComplete)==null||x.call(e)):y.value=!1});const[T,v,E]=qr(()=>l),b=a.computed(()=>[l,e.rootClassName,d.value.className,v,E,`${l}-${e.placement}`,{[`${l}-rtl`]:s.value==="rtl"},{[`${l}-typing`]:S.value&&!e.loading&&!e.messageRender&&!m.value}]),w=a.computed(()=>a.isVNode(e.avatar)?e.avatar:a.createVNode(z.Avatar,e.avatar,null)),C=a.computed(()=>e.messageRender?e.messageRender(h.value):h.value),f=a.computed(()=>e.loading?e.loadingRender?e.loadingRender():a.createVNode(Tn,{prefixCls:l},null):a.createVNode(a.Fragment,null,[C.value,S.value&&a.toValue(m)])),$=a.computed(()=>{const x=a.createVNode("div",{style:{...d.value.styles.content,...e.styles.content},class:[`${l}-content`,`${l}-content-${e.variant}`,{[`${l}-content-${e.shape}`]:e.shape},d.value.classNames.content,e.classNames.content]},[a.toValue(f)]);return e.header||e.footer?a.createVNode("div",{class:`${l}-content-wrapper`},[e.header&&a.createVNode("div",{class:[`${l}-header`,d.value.classNames.header,e.classNames.header],style:{...d.value.styles.header,...e.styles.header}},[e.header]),x,e.footer&&a.createVNode("div",{class:[`${l}-footer`,d.value.classNames.footer,e.classNames.footer],style:{...d.value.styles.footer,...e.styles.footer}},[e.footer])]):x});return t({nativeElement:i}),()=>T(a.createVNode("div",a.mergeProps({style:{...d.value.style},class:a.toValue(b)},r,{ref:i}),[e.avatar&&a.createVNode("div",{style:{...d.value.styles.avatar,...e.styles.avatar},class:[`${l}-avatar`,d.value.classNames.avatar,e.classNames.avatar]},[a.toValue(w)]),a.toValue($)]))}});function Ji(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yr={exports:{}};/*!
37
+ Copyright (c) 2018 Jed Watson.
38
+ Licensed under the MIT License (MIT), see
39
+ http://jedwatson.github.io/classnames
40
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var c=arguments[s];c&&(i=o(i,n(c)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var s="";for(var c in i)t.call(i,c)&&i[c]&&(s=o(s,c));return s}function o(i,s){return s?i?i+" "+s:i+s:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Yr);var Qi=Yr.exports;const ea=Ji(Qi);function Zr(e){const t=a.ref(e),r=a.ref(n=>{t.value&&t.value(n)});return t.value=e,r.value}const Jr=`accept acceptcharset accesskey action allowfullscreen allowtransparency
41
+ alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge
42
+ charset checked classid classname colspan cols content contenteditable contextmenu
43
+ controls coords crossorigin data datetime default defer dir disabled download draggable
44
+ enctype form formaction formenctype formmethod formnovalidate formtarget frameborder
45
+ headers height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity
46
+ is keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media
47
+ mediagroup method min minlength multiple muted name novalidate nonce open
48
+ optimum pattern placeholder poster preload radiogroup readonly rel required
49
+ reversed role rowspan rows sandbox scope scoped scrolling seamless selected
50
+ shape size sizes span spellcheck src srcdoc srclang srcset start step style
51
+ summary tabindex target title type usemap value width wmode wrap onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
52
+ onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick
53
+ onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown
54
+ onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
55
+ onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
56
+ onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
57
+ onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`.split(/[\s\n]+/),ta="aria-",ra="data-";function Qr(e,t){return e.indexOf(t)===0}function na(e,t=!1){let r;t===!1?r={aria:!0,data:!0,attr:!0}:t===!0?r={aria:!0}:r={...t};const n={};return Object.keys(e).forEach(o=>{(r.aria&&(o==="role"||Qr(o,ta))||r.data&&Qr(o,ra)||r.attr&&(Jr.includes(o)||Jr.includes(o.toLowerCase())))&&(n[o]=e[o])}),n}function oa(e){const[t,r]=te(e.value.length),n=a.computed(()=>e.value.slice(0,a.unref(t))),o=a.computed(()=>{const s=a.unref(n)[a.unref(n).length-1];return s?s.key:null});a.watch(e,()=>{var s;if(!(a.unref(n).length&&a.unref(n).every((c,l)=>{var d;return c.key===((d=e.value[l])==null?void 0:d.key)}))){if(a.unref(n).length===0)r(1);else for(let c=0;c<a.unref(n).length;c+=1)if(a.unref(n)[c].key!==((s=e.value[c])==null?void 0:s.key)){r(c);break}}},{immediate:!0,deep:!0});const i=Zr(s=>{s===a.unref(o)&&r(a.unref(t)+1)});return[n,i]}function ia(e,t){const r=o=>typeof t=="function"?t(o):t?t[o.role]||{}:{};return a.computed(()=>(e.value||[]).map((o,i)=>{const s=o.key??`preset_${i}`;return{...r(o),...o,key:s}}))}const aa=1,sa=a.defineComponent({name:"AXBubbleList",__name:"BubbleList",props:a.mergeDefaults({prefixCls:null,rootClassName:null,items:null,autoScroll:{type:Boolean},roles:{type:Function}},{autoScroll:!0}),setup(e,{expose:t}){const r=Fe(e,["prefixCls","rootClassName","items","autoScroll","roles"]);a.toRef(e,"items"),a.toRef(e,"prefixCls");const n=na(r,{attr:!0,aria:!0}),o=a.ref(e.items);a.watch(()=>e.items,()=>{o.value=e.items});const i=a.ref(null),s=a.ref({}),{getPrefixCls:c}=ee(),l=c("bubble",e.prefixCls),d=`${l}-list`,[g,u,p]=qr(l),[m,h]=te(!1);a.watchEffect(()=>{h(!0),a.onWatcherCleanup(()=>{h(!1)})});const S=ia(o,e.roles),[y,T]=oa(S),[v,E]=te(!0),[b,w]=te(0),C=x=>{const A=x.target;E(A.scrollHeight-Math.abs(A.scrollTop)-A.clientHeight<=aa)};a.watch(b,()=>{e.autoScroll&&a.unref(i)&&a.unref(v)&&a.unref(i).scrollTo({top:a.unref(i).scrollHeight})}),a.watch(()=>a.unref(y).length,()=>{var x;if(e.autoScroll){const A=(x=a.unref(y)[a.unref(y).length-2])==null?void 0:x.key,k=a.unref(s)[A];if(k){const{nativeElement:de}=k,{top:q,bottom:ve}=de.getBoundingClientRect(),{top:Te,bottom:kt}=a.unref(i).getBoundingClientRect();q<kt&&ve>Te&&(w(a.unref(b)+1),E(!0))}}});const f=Zr(()=>{e.autoScroll&&w(a.unref(b)+1)}),$=a.computed(()=>({onUpdate:f}));return t({nativeElement:i,scrollTo:({key:x,offset:A,behavior:k="smooth",block:de})=>{if(typeof A=="number")a.unref(i).scrollTo({top:A,behavior:k});else if(x!==void 0){const q=a.unref(s)[x];if(q){const ve=a.unref(y).findIndex(Te=>Te.key===x);E(ve===a.unref(y).length-1),q.nativeElement.scrollIntoView({behavior:k,block:de})}}}}),()=>g(a.createVNode(Zi,{value:$.value},{default:()=>[a.createVNode("div",a.mergeProps(n,{class:ea(d,e.rootClassName,u,p,{[`${d}-reach-end`]:v.value}),ref:i,onScroll:C}),[a.unref(y).map(({key:x,...A})=>a.createVNode(_r,a.mergeProps(A,{key:x,ref:k=>{k?s.value[x]=k:delete s.value[x]},typing:m.value?A.typing:!1,onTypingComplete:()=>{var k;(k=A.onTypingComplete)==null||k.call(A),T(x)}}),null))])]}))}});I.Bubble=_r,I.BubbleList=sa,I.XProvider=yn,I.defaultPrefixCls=dn,I.useXProviderContext=ee,Object.defineProperty(I,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,11 @@
1
+ export type KeyType = string | number;
2
+ type ValueType = [number, any];
3
+ declare class Entity {
4
+ instanceId: string;
5
+ constructor(instanceId: string);
6
+ /** @private Internal cache map. Do not access this directly */
7
+ cache: Map<string, ValueType>;
8
+ get(keys: KeyType[] | string): ValueType | null;
9
+ update(keys: KeyType[] | string, valueFn: (origin: ValueType | null) => ValueType | null): void;
10
+ }
11
+ export default Entity;
@@ -0,0 +1,9 @@
1
+ import type { CSSInterpolation } from './hooks/useStyleRegister';
2
+ declare class Keyframe {
3
+ private name;
4
+ style: CSSInterpolation;
5
+ constructor(name: string, style: CSSInterpolation);
6
+ getName(hashId?: string): string;
7
+ _keyframe: boolean;
8
+ }
9
+ export default Keyframe;