(function(j,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue"),require("@ant-design/icons-vue"),require("ant-design-vue"),require("vue-types"),require("lodash-es")):typeof define=="function"&&define.amd?define(["exports","vue","@ant-design/icons-vue","ant-design-vue","vue-types","lodash-es"],i):(j=typeof globalThis<"u"?globalThis:j||self,i(j.AntdvProLayout={},j.Vue,j.AntdIconsVue,j.Antdv,j.vueTypes,j.Lodash))})(this,function(j,i,Me,se,Lc,si){"use strict";var Fy=Object.defineProperty;var Wy=(j,i,Me)=>i in j?Fy(j,i,{enumerable:!0,configurable:!0,writable:!0,value:Me}):j[i]=Me;var yn=(j,i,Me)=>Wy(j,typeof i!="symbol"?i+"":i,Me);const ci=(e=Symbol(),t="Context.Provider")=>i.defineComponent({name:t,props:{value:{type:Object,required:!0}},setup(o,{slots:r}){return i.provide(e,i.readonly(o.value)),()=>{var a;return(a=r.default)==null?void 0:a.call(r)}}}),ui=(e=Symbol(),t)=>i.inject(e,t||{}),Oo=i.reactive({menuData:[],flatMenuData:[],selectedKeys:[],openKeys:[]}),Sn=Symbol("route-context"),di=()=>ci(Sn,"RouteContext.Provider"),yt=()=>ui(Sn,Oo);di();const Lt={xs:{minWidth:375,maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,maxWidth:1999,matchMedia:"(min-width: 1600px) and (max-width: 1999px)"},xxxl:{minWidth:2e3,matchMedia:"(min-width: 2000px)"}},fi=()=>{let e="md";if(typeof window>"u")return e;const t=Object.keys(Lt).find(n=>{const{matchMedia:o}=Lt[n];return!!window.matchMedia(o).matches});return t||e},pi=()=>{const e=i.ref(fi());return Object.keys(Lt).forEach(t=>{const{matchMedia:n}=Lt[t],o=window.matchMedia(n);o.matches&&(e.value=t),o.onchange=r=>{r.matches&&(e.value=t)}}),e},jt={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"},mi=()=>{let e="light";if(typeof window>"u")return e;const t=Object.keys(jt).find(n=>{const o=jt[n];return!!window.matchMedia(o).matches});return t||e},jc=()=>{const e=i.ref(mi());return Object.keys(jt).forEach(t=>{const n=jt[t],o=window.matchMedia(n);o.matches&&(e.value=t),o.onchange=r=>{r.matches&&(e.value=t)}}),e};function Fc(e,t){const n=document.documentElement,o=n.getAttribute("data-theme")==="dark";if(!document.startViewTransition){n.setAttribute("data-theme",o?"light":"dark"),e(o);return}const r=(t==null?void 0:t.clientX)??0,a=(t==null?void 0:t.clientY)??0,l=Math.hypot(Math.max(r,innerWidth-r),Math.max(a,innerHeight-a));document.startViewTransition(()=>{n.setAttribute("data-theme",o?"light":"dark"),e(o)}).ready.then(()=>{const c=[`circle(0% at ${r}px ${a}px)`,`circle(${l}px at ${r}px ${a}px)`];document.documentElement.animate({clipPath:o?c.reverse():c},{duration:500,easing:"ease-in",pseudoElement:o?"::view-transition-old(root)":"::view-transition-new(root)"})})}const Wc=/(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/,wn=e=>Wc.test(e);function Ft(e,t,n="default"){var o;return t[n]===!1?!1:t[n]||((o=e[n])==null?void 0:o.call(e))}function be(e,t,n="default"){return t[n]===!1?!1:t[n]||e[n]}function kc(e){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e)}function Kc(e){return e.map(t=>{var o;const n={...t};return!n.name||(o=n.meta)!=null&&o.hideInMenu?null:(n.children&&delete n.children,n)}).filter(t=>t)}function gi(e,t){return t===void 0?[]:(e[e.findIndex(n=>n.path===t)]||{}).children||[]}function Uc(e,t){return{...t.reduce((n,o)=>({...n,[o]:e[o]}),{})}}function Cn(e){return e.map(t=>{var o,r;const n={...t};if(!n.name||(o=n.meta)!=null&&o.hideInMenu)return null;if(n&&(n!=null&&n.children)){if(!((r=n.meta)!=null&&r.hideChildInMenu)&&n.children.some(a=>{var l;return a&&a.name&&!((l=a.meta)!=null&&l.hideInMenu)}))return{...t,children:Cn(n.children)};delete n.children}return n}).filter(t=>t)}const hi=(e,t,n)=>e.map(o=>(wn(o.path)||(o.path.startsWith("/")||(n?o.path=`${n.path||""}/${o.path}`:o.path=`/${o.path}`),o.path=o.path.replace("//","/"),o.children&&o.children.length>0&&(o.children=hi(o.children,t,o)),t[`${o.path}`]=o),o)),Xc=e=>{const t=e.find(o=>o.path==="/"),n={};return{menuData:hi((t==null?void 0:t.children)||[],n),breadcrumb:n}},He={theme:"light",menuTheme:"light",layout:"side",fixedHeader:!1,fixSiderbar:!1,headerHeight:48,title:"Ant Design Vue Pro",iconfontUrl:""},$n={theme:{type:String,default:He.theme},menuTheme:{type:String,default:He.menuTheme},layout:{type:String,default:He.layout},fixedHeader:{type:Boolean,default:He.fixedHeader},fixSiderbar:{type:Boolean,default:He.fixSiderbar},headerHeight:{type:Number,default:He.headerHeight},title:{type:String,default:()=>He.title},iconfontUrl:{type:String,default:()=>He.iconfontUrl},splitMenus:{type:Boolean,default:!1}};function To(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}let vi=Me.createFromIconfontCN({scriptUrl:He.iconfontUrl});const Po=({icon:e})=>{if(!e)return null;if(typeof e=="string"&&e!==""){if(wn(e)||kc(e))return i.createVNode("img",{src:e,alt:"icon",role:"img",class:"ant-pro-menu-item-icon"},null);if(e.startsWith("icon-"))return i.createVNode(vi,{type:e},null)}if(i.isVNode(e))return e;const t=i.resolveComponent(e);return typeof Po=="function"&&i.createVNode(t,null,null)||null};class Gc{constructor(t,n){yn(this,"getNavMenuItems",(t=[])=>t.map(n=>this.getSubMenuOrItem(n)).filter(n=>n));yn(this,"getSubMenuOrItem",t=>{var r,a,l,s,c,u,d,f;if(Array.isArray(t.children)&&t.children.length>0&&!((r=t==null?void 0:t.meta)!=null&&r.hideInMenu)&&!((a=t==null?void 0:t.meta)!=null&&a.hideChildrenInMenu)){let m;if(this.props.menuSubItemRender)return i.withCtx(this.props.menuSubItemRender,this.ctx)(t);const p=this.props.locale,h=p&&p(t)||((l=t.meta)==null?void 0:l.title),b=(s=t.meta)!=null&&s.icon?i.createVNode("span",{class:"ant-pro-menu-item"},[i.createVNode("span",{class:"ant-pro-menu-item-title"},[h])]):i.createVNode("span",{class:"ant-pro-menu-item-title-no-icon"},[h]),v=((c=t.meta)==null?void 0:c.type)==="group",y=v?se.MenuItemGroup:se.SubMenu;return i.createVNode(y,{title:b,key:t.path,popupClassName:v?void 0:"ant-pro-menu-popup",icon:v?null:i.createVNode(Po,{icon:(u=t.meta)==null?void 0:u.icon},null)},To(m=this.getNavMenuItems(t.children))?m:{default:()=>[m]})}const n=this.props.menuItemRender&&i.withCtx(this.props.menuItemRender,this.ctx),o=this.getMenuItem(t);return n&&n(t)||i.createVNode(se.MenuItem,{disabled:(d=t.meta)==null?void 0:d.disabled,danger:(f=t.meta)==null?void 0:f.danger,key:t.path},To(o)?o:{default:()=>[o]})});yn(this,"getMenuItem",t=>{var f,m;const n={...t.meta},o=n.target||null,r=wn(t.path);let a={};(r||o)&&(a={...t.meta,href:t.path,target:o});let l=o&&"a"||this.RouterLink,s={to:{name:t.name,...t.meta}};n.disabled&&(l="span",s=null);const c=this.props.locale,u=c&&c(t)||((f=t.meta)==null?void 0:f.title);return(m=t.meta)!=null&&m.icon?i.createVNode(l,i.mergeProps(a,s,{class:"ant-pro-menu-item"}),{default:()=>{var p;return[((p=t.meta)==null?void 0:p.icon)&&i.createVNode(Po,{icon:t.meta.icon},null),i.createVNode("span",{class:"ant-pro-menu-item-title"},[u])]}}):i.createVNode(l,i.mergeProps(a,s,{class:"ant-pro-menu-item"}),{default:()=>[i.createVNode("span",{class:"ant-pro-menu-item-title-no-icon"},[u])]})});yn(this,"conversionPath",t=>t&&t.indexOf("http")===0?t:`/${t||""}`.replace(/\/+/g,"/"));this.props=t,this.ctx=n,this.RouterLink=i.resolveComponent("router-link")}}const bi={...$n,locale:{type:[Function,Boolean],default:!1},menuData:{type:Array,default:()=>[]},mode:{type:String,default:"inline"},layout:{type:String,default:"side"},collapsed:{type:Boolean,default:!1},openKeys:{type:Array,default:()=>{}},selectedKeys:{type:Array,default:()=>{}},menuItemRender:{type:[Function,Boolean],default:()=>{}},menuSubItemRender:{type:[Function,Boolean],default:()=>{}},onClick:[Function,Object]},Eo=i.defineComponent({inheritAttrs:!0,name:"BaseMenu",props:bi,emits:["update:openKeys","update:selectedKeys","click"],setup(e,{emit:t}){const n=i.getCurrentInstance(),o=new Gc(e,n);i.watchEffect(()=>{e.iconfontUrl&&(vi=Me.createFromIconfontCN({scriptUrl:e.iconfontUrl}))});const r=s=>{t("update:openKeys",s)},a=s=>{wn(s.key)||t("update:selectedKeys",s.selectedKeys)},l=s=>{t("click",s)};return()=>{let s;return i.createVNode(se.Menu,{key:"Menu",inlineIndent:16,mode:e.mode,theme:e.theme,openKeys:e.openKeys||[],selectedKeys:e.selectedKeys||[],onOpenChange:r,onSelect:a,onClick:l},To(s=o.getNavMenuItems(e.menuData))?s:{default:()=>[s]})}}}),M=Lc.createTypes({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});M.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);const Yc=(e,t)=>e?typeof e=="string"?i.createVNode("img",{src:e,alt:"logo",style:t},null):typeof e=="function"?e():e:null,Mo=(e,t="menuHeaderRender")=>{const{logo:n,logoStyle:o,title:r,layout:a,isMobile:l}=e,s=e[t||""];if(s===!1)return null;const c=Yc(n,o),u=i.createVNode("h1",null,[r]);return a==="mix"&&!l&&t==="menuHeaderRender"?null:typeof s=="function"?s(e):Array.isArray(s)?i.createVNode(i.Fragment,null,[s]):i.createVNode("a",null,[c,e.collapsed?null:u])},Ce={...$n,...bi,logo:{type:[Object,String,Function],default:()=>{}},logoStyle:{type:Object,default:()=>{}},siderWidth:{type:Number,default:200},headerHeight:{type:Number,default:48},collapsedWidth:{type:Number,default:48},menuHeaderRender:{type:[Function,Boolean],default:()=>{}},menuFooterRender:{type:[Function,Object,Boolean],default:()=>{}},menuContentRender:{type:[Function,Object,Boolean],default:()=>{}},menuHeaderExtraRender:{type:[Function,Object,Boolean],default:()=>{}},collapsedButtonRender:{type:[Function,Object,Boolean],default:()=>{}},breakpoint:{type:[String,Object],default:()=>"md"},isMobile:M.looseBool,splitMenus:M.looseBool,fixed:M.looseBool,hide:M.looseBool,matchMenuKeys:{type:Array,default:()=>[]},onMenuHeaderClick:M.func,onMenuClick:M.func,onCollapse:{type:Function},onOpenKeys:{type:Function},onSelect:{type:Function}},xn=(e,{attrs:t})=>{const{menuHeaderExtraRender:n=!1,menuContentRender:o=!1,menuFooterRender:r=!1,collapsedButtonRender:a}=e,l=yt(),s="ant-pro-sider",c=i.computed(()=>e.layout==="mix"&&e.splitMenus),u=i.computed(()=>e.collapsed?e.collapsedWidth:e.siderWidth),d=i.computed(()=>{if(e.layout==="mix"){if(Reflect.get(e,"headerRender")===!1)return;if(!e.isMobile)return`${e.headerHeight}px`}}),f=i.computed(()=>({[s]:!0,[`${s}-fixed`]:l.fixSiderbar,[`layout-${e.layout}`]:!0,[`theme-${e.theme}`]:!0,[`theme-menu-${e.menuTheme}`]:!0})),m=b=>{if(e.onSelect){if(i.unref(c)){e.onSelect([l.selectedKeys[0],...b]);return}e.onSelect(b)}},p=Mo(e);if(c.value&&i.unref(l.flatMenuData).length===0)return null;const h=i.createVNode(Eo,i.mergeProps({locale:e.locale||l.locale,theme:e.menuTheme,mode:"inline",menuData:c.value?l.flatMenuData:l.menuData,collapsed:e.collapsed,openKeys:l.openKeys,selectedKeys:l.selectedKeys,menuItemRender:e.menuItemRender,menuSubItemRender:e.menuSubItemRender,iconfontUrl:e.iconfontUrl,onClick:e.onMenuClick,class:`${s}-content-menu`},{"onUpdate:openKeys":b=>e.onOpenKeys&&e.onOpenKeys(b),"onUpdate:selectedKeys":m}),null);return i.createVNode(i.Fragment,null,[l.fixSiderbar&&i.createVNode("div",{style:{width:`${u.value}px`,overflow:"hidden",flex:`0 0 ${u.value}px`,maxWidth:`${u.value}px`,minWidth:`${u.value}px`,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}},null),i.createVNode(se.LayoutSider,{collapsible:!0,trigger:null,collapsed:e.collapsed,breakpoint:e.breakpoint||void 0,onCollapse:b=>{var v;e.isMobile||(v=e.onCollapse)==null||v.call(e,b)},collapsedWidth:e.collapsedWidth||48,style:{overflow:"hidden",paddingTop:d.value},width:u.value,theme:e.menuTheme,class:f.value},{default:()=>[p&&i.createVNode("div",{class:`${s}-header`,onClick:e.layout!=="mix"?e.onMenuHeaderClick:void 0},[p]),n&&typeof n=="function"&&i.createVNode("div",{class:{[`${s}-header-extra`]:!0,[`${s}-header-extra-no-header`]:!p}},[n(e)]),i.createVNode("div",{class:`${s}-content`},[o&&o(e,i.unref(h))||i.unref(h)]),a&&a(e.collapsed)||i.createVNode("div",{class:`${s}-collapsed`},[i.createVNode(se.Menu,{class:`${s}-collapsed-menu`,inlineIndent:16,theme:e.menuTheme,selectedKeys:[],openKeys:[],mode:"inline",onClick:()=>{e.onCollapse&&e.onCollapse(!e.collapsed)}},{default:()=>[i.createVNode(se.MenuItem,{key:"collapsed-button",title:!1},{default:()=>[e.collapsed?i.createVNode(Me.MenuUnfoldOutlined,null,null):i.createVNode(Me.MenuFoldOutlined,null,null)]})]})]),r&&i.createVNode("div",{class:`${s}-footer`},[r(e)])]})])};xn.displayName="SiderMenu",xn.inheritAttrs=!1;const _o=e=>{const{onMenuHeaderClick:t,onOpenKeys:n,onSelect:o,headerContentRightRender:r,layout:a,menuData:l}=e,s=yt(),c="ant-pro-top-nav-header",u=Mo({...e,collapsed:!1},a!=="side"?"headerTitleRender":void 0);return i.createVNode("div",{class:c},[i.createVNode("div",{class:`${c}-main`},[u&&i.createVNode("div",{class:`${c}-main-left`,onClick:t},[i.createVNode("div",{class:`${c}-logo`,key:"logo",id:"logo"},[u])]),i.createVNode("div",{class:`${c}-main-menu`},[i.createVNode(Eo,i.mergeProps({locale:e.locale||s.locale,theme:e.menuTheme,mode:e.mode,collapsed:e.collapsed,iconfontUrl:e.iconfontUrl,menuData:l,menuItemRender:e.menuItemRender,menuSubItemRender:e.menuSubItemRender,openKeys:s.openKeys,selectedKeys:s.selectedKeys,class:`${c}-menu`},{"onUpdate:openKeys":d=>n&&n(d),"onUpdate:selectedKeys":d=>o&&o(d)}),null)]),r&&typeof r=="function"&&r(e)])])};_o.inheritAttrs=!1;const yi={...$n,collapsed:{type:Boolean,default:!1},isMobile:{type:Boolean,default:!1},logo:Ce.logo,logoStyle:Ce.logoStyle,menuData:{type:Array,default:()=>[]},splitMenus:Ce.splitMenus,menuRender:{type:[Object,Function],default:()=>{}},menuHeaderRender:Ce.menuHeaderRender,menuItemRender:Ce.menuItemRender,menuSubItemRender:Ce.menuSubItemRender,headerContentRightRender:{type:[Object,Function],default:()=>{}},collapsedButtonRender:Ce.collapsedButtonRender,matchMenuKeys:Ce.matchMenuKeys,onMenuHeaderClick:M.func,onCollapse:Ce.onCollapse,onOpenKeys:Ce.onOpenKeys,onSelect:Ce.onSelect},On=(e,{slots:t,emit:n})=>{var f;const{isMobile:o,headerContentRightRender:r,onMenuHeaderClick:a,layout:l,splitMenus:s,menuData:c}=e,u="ant-pro-global-header";if(l==="mix"&&!o&&s){const m=(c||[]).map(h=>({...h,children:void 0})),p=Cn(m);return i.createVNode(_o,i.mergeProps(e,{mode:"horizontal",splitMenus:!1,menuData:p}),null)}const d=()=>{n("collapse",!e.collapsed)};return i.createVNode("div",{class:u},[o&&i.createVNode("span",{onClick:d},[e.collapsed?i.createVNode(Me.MenuUnfoldOutlined,null,null):i.createVNode(Me.MenuFoldOutlined,null,null)]),l==="mix"&&!o&&i.createVNode(i.Fragment,null,[i.createVNode("div",{class:`${u}-logo`,onClick:a},[Mo({...e,collapsed:!1},"headerTitleRender")])]),i.createVNode("div",{class:`${u}-flex`},[(f=t.default)==null?void 0:f.call(t)]),r&&typeof r=="function"?r(e):r])};On.inheritAttrs=!1,On.emits=["menuHeaderClick","collapse","openKeys","select"];const qc={links:{type:Array,required:!0},copyright:{type:[Object,Function,String,Boolean],default:()=>{}}},Qc=i.defineComponent({name:"GlobalFooter",props:qc,setup(e,{slots:t}){const n="ant-pro-global-footer",o=e.copyright||t.copyright&&t.copyright();return Array.isArray(e.links)&&e.links.length===0&&(e.copyright==null||e.copyright===!1)?null:()=>i.createVNode("footer",{class:n},[e.links&&i.createVNode("div",{class:`${n}-links`},[e.links.map(r=>i.createVNode("a",{key:r.key,title:r.title,target:r.blankTarget?"_blank":"_self",href:r.href},[r.title]))]),e.copyright&&i.createVNode("div",{class:`${n}-copyright`},[o])])}});function Wt(e){"@babel/helpers - typeof";return Wt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wt(e)}function Zc(e,t){if(Wt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(Wt(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jc(e){var t=Zc(e,"string");return Wt(t)=="symbol"?t:String(t)}function eu(e,t,n){return t=Jc(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Si(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function _(e){for(var t=1;ttypeof e=="function",nu=Array.isArray,ou=e=>typeof e=="string",ru=e=>e!==null&&typeof e=="object",iu=/^on[^a-z]/,au=e=>iu.test(e),wi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},lu=/-(\w)/g,Ci=wi(e=>e.replace(lu,(t,n)=>n?n.toUpperCase():"")),su=/\B([A-Z])/g,cu=wi(e=>e.replace(su,"-$1").toLowerCase()),uu=Object.prototype.hasOwnProperty,$i=(e,t)=>uu.call(e,t);function du(e,t,n,o){const r=e[n];if(r!=null){const a=$i(r,"default");if(a&&o===void 0){const l=r.default;o=r.type!==Function&&tu(l)?l():l}r.type===Boolean&&(!$i(t,n)&&!a?o=!1:o===""&&(o=!0))}return o}function ee(){const e=[];for(let t=0;te!=null&&e!=="",St=(e,t)=>{const n=g({},e);return Object.keys(t).forEach(o=>{const r=n[o];if(r)r.type||r.default?r.default=t[o]:r.def?r.def(t[o]):n[o]={type:r,default:t[o]};else throw new Error(`not have ${o} prop`)}),n},fu=e=>{const t=Object.keys(e),n={},o={},r={};for(let a=0,l=t.length;a0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},o=/;(?![^(]*\))/g,r=/:(.+)/;return typeof e=="object"?e:(e.split(o).forEach(function(a){if(a){const l=a.split(r);if(l.length>1){const s=t?Ci(l[0].trim()):l[0].trim();n[s]=l[1].trim()}}}),n)},mu=(e,t)=>e[t]!==void 0,xi=Symbol("skipFlatten"),ue=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],o=[];return n.forEach(r=>{Array.isArray(r)?o.push(...ue(r,t)):r&&r.type===i.Fragment?r.key===xi?o.push(r):o.push(...ue(r.children,t)):r&&i.isVNode(r)?t&&!Ti(r)?o.push(r):t||o.push(r):Io(r)&&o.push(r)}),o},gu=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(i.isVNode(e))return e.type===i.Fragment?t==="default"?ue(e.children):[]:e.children&&e.children[t]?ue(e.children[t](n)):[];{const o=e.$slots[t]&&e.$slots[t](n);return ue(o)}},Ke=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},hu=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(o=>{const r=e.$props[o],a=cu(o);(r!==void 0||a in n)&&(t[o]=r)})}else if(i.isVNode(e)&&typeof e.type=="object"){const n=e.props||{},o={};Object.keys(n).forEach(a=>{o[Ci(a)]=n[a]});const r=e.type.props||{};Object.keys(r).forEach(a=>{const l=du(r,o,a,o[a]);(l!==void 0||a in o)&&(t[a]=l)})}return t},vu=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,r;if(e.$){const a=e[t];if(a!==void 0)return typeof a=="function"&&o?a(n):a;r=e.$slots[t],r=o&&r?r(n):r}else if(i.isVNode(e)){const a=e.props&&e.props[t];if(a!==void 0&&e.props!==null)return typeof a=="function"&&o?a(n):a;e.type===i.Fragment?r=e.children:e.children&&e.children[t]&&(r=e.children[t],r=o&&r?r(n):r)}return Array.isArray(r)&&(r=ue(r),r=r.length===1?r[0]:r,r=r.length===0?void 0:r),r};function Oi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=g(g({},n),e.$attrs):n=g(g({},n),e.props),fu(n)[t?"onEvents":"events"]}function bu(e,t){let o=((i.isVNode(e)?e.props:e.$attrs)||{}).style||{};return typeof o=="string"&&(o=pu(o,t)),o}function yu(e){return e.length===1&&e[0].type===i.Fragment}function Su(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function Ti(e){return e&&(e.type===i.Comment||e.type===i.Fragment&&e.children.length===0||e.type===i.Text&&e.children.trim()==="")}function Re(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===i.Fragment?t.push(...Re(n.children)):t.push(n)}),t.filter(n=>!Ti(n))}function kt(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function _e(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var o,r;return(o=t[n])!==null&&o!==void 0?o:(r=e[n])===null||r===void 0?void 0:r.call(e)}var wu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};function de(e,t){Cu(e)&&(e="100%");var n=$u(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(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 Tn(e){return Math.min(1,Math.max(0,e))}function Cu(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function $u(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Pi(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Pn(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ot(e){return e.length===1?"0"+e:String(e)}function xu(e,t,n){return{r:de(e,255)*255,g:de(t,255)*255,b:de(n,255)*255}}function Ei(e,t,n){e=de(e,255),t=de(t,255),n=de(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=0,s=(o+r)/2;if(o===r)l=0,a=0;else{var c=o-r;switch(l=s>.5?c/(2-o-r):c/(o+r),o){case e:a=(t-n)/c+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ou(e,t,n){var o,r,a;if(e=de(e,360),t=de(t,100),n=de(n,100),t===0)r=n,a=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=No(s,l,e+1/3),r=No(s,l,e),a=No(s,l,e-1/3)}return{r:o*255,g:r*255,b:a*255}}function Ao(e,t,n){e=de(e,255),t=de(t,255),n=de(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=o,s=o-r,c=o===0?0:s/o;if(o===r)a=0;else{switch(o){case e:a=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var Do={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 wt(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,a=null,l=!1,s=!1;return typeof e=="string"&&(e=Nu(e)),typeof e=="object"&&(Ve(e.r)&&Ve(e.g)&&Ve(e.b)?(t=xu(e.r,e.g,e.b),l=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ve(e.h)&&Ve(e.s)&&Ve(e.v)?(o=Pn(e.s),r=Pn(e.v),t=Tu(e.h,o,r),l=!0,s="hsv"):Ve(e.h)&&Ve(e.s)&&Ve(e.l)&&(o=Pn(e.s),a=Pn(e.l),t=Ou(e.h,o,a),l=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Pi(n),{ok:l,format:e.format||s,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:n}}var _u="[-\\+]?\\d+%?",Iu="[-\\+]?\\d*\\.\\d+%?",Ue="(?:".concat(Iu,")|(?:").concat(_u,")"),Bo="[\\s|\\(]+(".concat(Ue,")[,|\\s]+(").concat(Ue,")[,|\\s]+(").concat(Ue,")\\s*\\)?"),Ho="[\\s|\\(]+(".concat(Ue,")[,|\\s]+(").concat(Ue,")[,|\\s]+(").concat(Ue,")[,|\\s]+(").concat(Ue,")\\s*\\)?"),Ie={CSS_UNIT:new RegExp(Ue),rgb:new RegExp("rgb"+Bo),rgba:new RegExp("rgba"+Ho),hsl:new RegExp("hsl"+Bo),hsla:new RegExp("hsla"+Ho),hsv:new RegExp("hsv"+Bo),hsva:new RegExp("hsva"+Ho),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 Nu(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Do[e])e=Do[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ie.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ie.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ie.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ie.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ie.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ie.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ie.hex8.exec(e),n?{r:ye(n[1]),g:ye(n[2]),b:ye(n[3]),a:Mi(n[4]),format:t?"name":"hex8"}:(n=Ie.hex6.exec(e),n?{r:ye(n[1]),g:ye(n[2]),b:ye(n[3]),format:t?"name":"hex"}:(n=Ie.hex4.exec(e),n?{r:ye(n[1]+n[1]),g:ye(n[2]+n[2]),b:ye(n[3]+n[3]),a:Mi(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ie.hex3.exec(e),n?{r:ye(n[1]+n[1]),g:ye(n[2]+n[2]),b:ye(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Ve(e){return!!Ie.CSS_UNIT.exec(String(e))}var pe=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=Mu(t)),this.originalInput=t;var r=wt(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:r.format,this.gradientType=n.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=r.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(),n,o,r,a=t.r/255,l=t.g/255,s=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),s<=.03928?r=s/12.92:r=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Pi(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=Ao(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=Ao(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Ei(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=Ei(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Ro(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),Pu(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),n=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(de(n,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(n){return Math.round(de(n,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="#"+Ro(this.r,this.g,this.b,!1),n=0,o=Object.entries(Do);n=0,a=!n&&r&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||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 n=this.toHsl();return n.l+=t/100,n.l=Tn(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Tn(n.l),new e(n)},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 n=this.toHsl();return n.s-=t/100,n.s=Tn(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Tn(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),a=n/100,l={r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a};return new e(l)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,a=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(new e(o));return a},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 n=this.toHsv(),o=n.h,r=n.s,a=n.v,l=[],s=1/t;t--;)l.push(new e({h:o,s:r,v:a})),a=(a+s)%1;return l},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],a=360/t,l=1;l=60&&Math.round(e.h)<=240?o=n?Math.round(e.h)-En*t:Math.round(e.h)+En*t:o=n?Math.round(e.h)+En*t:Math.round(e.h)-En*t,o<0?o+=360:o>=360&&(o-=360),o}function Di(e,t,n){if(e.h===0&&e.s===0)return e.s;var o;return n?o=e.s-_i*t:t===Ni?o=e.s+_i:o=e.s+Au*t,o>1&&(o=1),n&&t===Ii&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function Bi(e,t,n){var o;return n?o=e.v+Ru*t:o=e.v-Du*t,o>1&&(o=1),Number(o.toFixed(2))}function Kt(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],o=wt(e),r=Ii;r>0;r-=1){var a=Ai(o),l=Mn(wt({h:Ri(a,r,!0),s:Di(a,r,!0),v:Bi(a,r,!0)}));n.push(l)}n.push(Mn(o));for(var s=1;s<=Ni;s+=1){var c=Ai(o),u=Mn(wt({h:Ri(c,s),s:Di(c,s),v:Bi(c,s)}));n.push(u)}return t.theme==="dark"?Bu.map(function(d){var f=d.index,m=d.opacity,p=Mn(Hu(wt(t.backgroundColor||"#141414"),wt(n[f]),m*100));return p}):n}var Vo={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"},_n={},zo={};Object.keys(Vo).forEach(function(e){_n[e]=Kt(Vo[e]),_n[e].primary=_n[e][5],zo[e]=Kt(Vo[e],{theme:"dark",backgroundColor:"#141414"}),zo[e].primary=zo[e][5]});var Vu=_n.blue,zu=Symbol("iconContext"),Hi=function(){return i.inject(zu,{prefixCls:i.ref("anticon"),rootClassName:i.ref(""),csp:i.ref()})};function Lo(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Lu(e,t){return e&&e.contains?e.contains(t):!1}var Vi="data-vc-order",ju="vc-icon-key",jo=new Map;function zi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):ju}function Fo(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Fu(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Li(e){return Array.from((jo.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Lo())return null;var n=t.csp,o=t.prepend,r=document.createElement("style");r.setAttribute(Vi,Fu(o)),n&&n.nonce&&(r.nonce=n.nonce),r.innerHTML=e;var a=Fo(t),l=a.firstChild;if(o){if(o==="queue"){var s=Li(a).filter(function(c){return["prepend","prependQueue"].includes(c.getAttribute(Vi))});if(s.length)return a.insertBefore(r,s[s.length-1].nextSibling),r}a.insertBefore(r,l)}else a.appendChild(r);return r}function Wu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Fo(t);return Li(n).find(function(o){return o.getAttribute(zi(t))===e})}function ku(e,t){var n=jo.get(e);if(!n||!Lu(document,n)){var o=ji("",t),r=o.parentNode;jo.set(e,r),e.removeChild(o)}}function Ku(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Fo(n);ku(o,n);var r=Wu(t,n);if(r)return n.csp&&n.csp.nonce&&r.nonce!==n.csp.nonce&&(r.nonce=n.csp.nonce),r.innerHTML!==e&&(r.innerHTML=e),r;var a=ji(e,n);return a.setAttribute(zi(n),t),a}function Fi(e){for(var t=1;t * { line-height: 1; } .anticon svg { display: inline-block; } .anticon::before { display: none; } .anticon .anticon-icon { display: block; } .anticon[tabindex] { cursor: pointer; } .anticon-spin::before, .anticon-spin { display: inline-block; -webkit-animation: loadingCircle 1s infinite linear; animation: loadingCircle 1s infinite linear; } @-webkit-keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } `;function Ui(e){return e&&e.getRootNode&&e.getRootNode()}function qu(e){return Lo()?Ui(e)instanceof ShadowRoot:!1}function Qu(e){return qu(e)?Ui(e):null}var Zu=function(){var t=Hi(),n=t.prefixCls,o=t.csp,r=i.getCurrentInstance(),a=Yu;n&&(a=a.replace(/anticon/g,n.value)),i.nextTick(function(){if(Lo()){var l=r.vnode.el,s=Qu(l);Ku(a,"@ant-design-vue-icons",{prepend:!0,csp:o.value,attachTo:s})}})},Ju=["icon","primaryColor","secondaryColor"];function ed(e,t){if(e==null)return{};var n=td(e,t),o,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function td(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a=0)&&(n[r]=e[r]);return n}function In(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function yd(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a=0)&&(n[r]=e[r]);return n}Gi(Vu.primary);var Ne=function(t,n){var o,r=qi({},t,n.attrs),a=r.class,l=r.icon,s=r.spin,c=r.rotate,u=r.tabindex,d=r.twoToneColor,f=r.onClick,m=bd(r,fd),p=Hi(),h=p.prefixCls,b=p.rootClassName,v=(o={},Xt(o,b.value,!!b.value),Xt(o,h.value,!0),Xt(o,"".concat(h.value,"-").concat(l.name),!!l.name),Xt(o,"".concat(h.value,"-spin"),!!s||l.name==="loading"),o),y=u;y===void 0&&f&&(y=-1);var w=c?{msTransform:"rotate(".concat(c,"deg)"),transform:"rotate(".concat(c,"deg)")}:void 0,$=Ki(d),x=pd($,2),C=x[0],O=x[1];return i.createVNode("span",qi({role:"img","aria-label":l.name},m,{onClick:f,class:[v,a],tabindex:y}),[i.createVNode(Xe,{icon:l,primaryColor:C,secondaryColor:O,style:w},null),i.createVNode(dd,null,null)])};Ne.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]},Ne.displayName="AntdIcon",Ne.inheritAttrs=!1,Ne.getTwoToneColor=ud,Ne.setTwoToneColor=Gi;function Qi(e){for(var t=1;t{Xo(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&xd()});function Pd(){return""}function Ed(e){return e?e.ownerDocument:window.document}function Ji(){}const Md=()=>({action:M.oneOfType([M.string,M.arrayOf(M.string)]).def([]),showAction:M.any.def([]),hideAction:M.any.def([]),getPopupClassNameFromAlign:M.any.def(Pd),onPopupVisibleChange:Function,afterPopupVisibleChange:M.func.def(Ji),popup:M.any,arrow:M.bool.def(!0),popupStyle:{type:Object,default:void 0},prefixCls:M.string.def("rc-trigger-popup"),popupClassName:M.string.def(""),popupPlacement:String,builtinPlacements:M.object,popupTransitionName:String,popupAnimation:M.any,mouseEnterDelay:M.number.def(0),mouseLeaveDelay:M.number.def(.1),zIndex:Number,focusDelay:M.number.def(0),blurDelay:M.number.def(.15),getPopupContainer:Function,getDocument:M.func.def(Ed),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:M.object.def(()=>({})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function});function rt(e,t){return e&&e.contains?e.contains(t):!1}let ea=e=>setTimeout(e,16),ta=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(ea=e=>window.requestAnimationFrame(e),ta=e=>window.cancelAnimationFrame(e));let na=0;const Go=new Map;function oa(e){Go.delete(e)}function me(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;na+=1;const n=na;function o(r){if(r===0)oa(n),e();else{const a=ea(()=>{o(r-1)});Go.set(n,a)}}return o(t),n}me.cancel=e=>{const t=Go.get(e);return oa(t),ta(t)};let it=!1;try{const e=Object.defineProperty({},"passive",{get(){it=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function Gt(e,t,n,o){if(e&&e.addEventListener){let r=o;r===void 0&&it&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(r={passive:!1}),e.addEventListener(t,n,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const Yo={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,arrow:{type:Boolean,default:!0},animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},_d=g(g({},Yo),{mobile:{type:Object}}),Id=g(g({},Yo),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function ra(e){let{prefixCls:t,animation:n,transitionName:o}=e;return n?{name:`${t}-${n}`}:o?{name:o}:{}}function ia(e){const{prefixCls:t,visible:n,zIndex:o,mask:r,maskAnimation:a,maskTransitionName:l}=e;if(!r)return null;let s={};return(l||a)&&(s=ra({prefixCls:t,transitionName:l,animation:a})),i.createVNode(i.Transition,_({appear:!0},s),{default:()=>[i.withDirectives(i.createVNode("div",{style:{zIndex:o},class:`${t}-mask`},null),[[i.resolveDirective("if"),n]])]})}ia.displayName="Mask";const Nd=i.defineComponent({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:_d,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:o}=t;const r=i.ref();return n({forceAlign:()=>{},getElement:()=>r.value}),()=>{var a;const{zIndex:l,visible:s,prefixCls:c,mobile:{popupClassName:u,popupStyle:d,popupMotion:f={},popupRender:m}={}}=e,p=g({zIndex:l},d);let h=ue((a=o.default)===null||a===void 0?void 0:a.call(o));h.length>1&&(h=i.createVNode("div",{class:`${c}-content`},[h])),m&&(h=m(h));const b=ee(c,u);return i.createVNode(i.Transition,_({ref:r},f),{default:()=>[s?i.createVNode("div",{class:b,style:p},[h]):null]})}}});var Ad=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function s(d){try{u(o.next(d))}catch(f){l(f)}}function c(d){try{u(o.throw(d))}catch(f){l(f)}}function u(d){d.done?a(d.value):r(d.value).then(s,c)}u((o=o.apply(e,t||[])).next())})};const aa=["measure","align",null,"motion"],Rd=(e,t)=>{const n=i.shallowRef(null),o=i.shallowRef(),r=i.shallowRef(!1);function a(c){r.value||(n.value=c)}function l(){me.cancel(o.value)}function s(c){l(),o.value=me(()=>{let u=n.value;switch(n.value){case"align":u="motion";break;case"motion":u="stable";break}a(u),c==null||c()})}return i.watch(e,()=>{a("measure")},{immediate:!0,flush:"post"}),i.onMounted(()=>{i.watch(n,()=>{switch(n.value){case"measure":t();break}n.value&&(o.value=me(()=>Ad(void 0,void 0,void 0,function*(){const c=aa.indexOf(n.value),u=aa[c+1];u&&c!==-1&&a(u)})))},{immediate:!0,flush:"post"})}),i.onBeforeUnmount(()=>{r.value=!0,l()}),[n,s]},Dd=e=>{const t=i.shallowRef({width:0,height:0});function n(r){t.value={width:r.offsetWidth,height:r.offsetHeight}}return[i.computed(()=>{const r={};if(e.value){const{width:a,height:l}=t.value;e.value.indexOf("height")!==-1&&l?r.height=`${l}px`:e.value.indexOf("minHeight")!==-1&&l&&(r.minHeight=`${l}px`),e.value.indexOf("width")!==-1&&a?r.width=`${a}px`:e.value.indexOf("minWidth")!==-1&&a&&(r.minWidth=`${a}px`)}return r}),n]};function la(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function sa(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function rf(e,t,n,o){var r=F.clone(e),a={width:t.width,height:t.height};return o.adjustX&&r.left=n.left&&r.left+a.width>n.right&&(a.width-=r.left+a.width-n.right),o.adjustX&&r.left+a.width>n.right&&(r.left=Math.max(n.right-a.width,n.left)),o.adjustY&&r.top=n.top&&r.top+a.height>n.bottom&&(a.height-=r.top+a.height-n.bottom),o.adjustY&&r.top+a.height>n.bottom&&(r.top=Math.max(n.bottom-a.height,n.top)),F.mix(r,a)}function lr(e){var t,n,o;if(!F.isWindow(e)&&e.nodeType!==9)t=F.offset(e),n=F.outerWidth(e),o=F.outerHeight(e);else{var r=F.getWindow(e);t={left:F.getWindowScrollLeft(r),top:F.getWindowScrollTop(r)},n=F.viewportWidth(r),o=F.viewportHeight(r)}return t.width=n,t.height=o,t}function $a(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,a=e.height,l=e.left,s=e.top;return n==="c"?s+=a/2:n==="b"&&(s+=a),o==="c"?l+=r/2:o==="r"&&(l+=r),{left:l,top:s}}function Dn(e,t,n,o,r){var a=$a(t,n[1]),l=$a(e,n[0]),s=[l.left-a.left,l.top-a.top];return{left:Math.round(e.left-s[0]+o[0]-r[0]),top:Math.round(e.top-s[1]+o[1]-r[1])}}function xa(e,t,n){return e.leftn.right}function Oa(e,t,n){return e.topn.bottom}function af(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||o.top>=n.bottom}function sr(e,t,n){var o=n.target||t,r=lr(o),a=!sf(o,n.overflow&&n.overflow.alwaysByViewport);return Ea(e,r,n,a)}sr.__getOffsetParent=ir,sr.__getVisibleRectForElement=ar;function cf(e,t,n){var o,r,a=F.getDocument(e),l=a.defaultView||a.parentWindow,s=F.getWindowScrollLeft(l),c=F.getWindowScrollTop(l),u=F.viewportWidth(l),d=F.viewportHeight(l);"pageX"in t?o=t.pageX:o=s+t.clientX,"pageY"in t?r=t.pageY:r=c+t.clientY;var f={left:o,top:r,width:0,height:0},m=o>=0&&o<=s+u&&r>=0&&r<=c+d,p=[n.points[0],"cc"];return Ea(e,f,sa(sa({},n),{},{points:p}),m)}function $e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,r=e;if(Array.isArray(e)&&(r=Re(e)[0]),!r)return null;const a=i.cloneVNode(r,t,o);return a.props=n?g(g({},a.props),t):a.props,Ge(typeof a.props.class!="object","class must be string"),a}const Ma=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};var _a=function(){if(typeof Map<"u")return Map;function e(t,n){var o=-1;return t.some(function(r,a){return r[0]===n?(o=a,!0):!1}),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var o=e(this.__entries__,n),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(n,o){var r=e(this.__entries__,n);~r?this.__entries__[r][1]=o:this.__entries__.push([n,o])},t.prototype.delete=function(n){var o=this.__entries__,r=e(o,n);~r&&o.splice(r,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,o){o===void 0&&(o=null);for(var r=0,a=this.__entries__;r0},e.prototype.connect_=function(){!cr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),gf?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!cr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,o=n===void 0?"":n,r=mf.some(function(a){return!!~o.indexOf(a)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Ia=function(e,t){for(var n=0,o=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof $t(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new xf(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof $t(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(o){return new Of(o.target,o.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Ra=typeof WeakMap<"u"?new WeakMap:new _a,Da=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=hf.getInstance(),o=new Tf(t,n,this);Ra.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Da.prototype[e]=function(){var t;return(t=Ra.get(this))[e].apply(t,arguments)}});var Ba=function(){return typeof Vn.ResizeObserver<"u"?Vn.ResizeObserver:Da}();function Pf(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function Ef(e,t){e!==document.activeElement&&rt(t,e)&&typeof e.focus=="function"&&e.focus()}function Ha(e,t){let n=null,o=null;function r(l){let[{target:s}]=l;if(!document.documentElement.contains(s))return;const{width:c,height:u}=s.getBoundingClientRect(),d=Math.floor(c),f=Math.floor(u);(n!==d||o!==f)&&Promise.resolve().then(()=>{t({width:d,height:f})}),n=d,o=f}const a=new Ba(r);return e&&a.observe(e),()=>{a.disconnect()}}const Mf=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o)}function a(l){if(!n||l===!0){if(e()===!1)return;n=!0,r(),o=setTimeout(()=>{n=!1},t.value)}else r(),o=setTimeout(()=>{n=!1,a()},t.value)}return[a,()=>{n=!1,r()}]};function _f(){this.__data__=[],this.size=0}function Va(e,t){return e===t||e!==e&&t!==t}function jn(e,t){for(var n=e.length;n--;)if(Va(e[n][0],t))return n;return-1}var If=Array.prototype,Nf=If.splice;function Af(e){var t=this.__data__,n=jn(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():Nf.call(t,n,1),--this.size,!0}function Rf(e){var t=this.__data__,n=jn(t,e);return n<0?void 0:t[n][1]}function Df(e){return jn(this.__data__,e)>-1}function Bf(e,t){var n=this.__data__,o=jn(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function ze(e){var t=-1,n=e==null?0:e.length;for(this.clear();++ts))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,m=!0,p=n&Bp?new on:void 0;for(a.set(e,t),a.set(t,e);++f-1&&e%1==0&&e-1&&e%1==0&&e<=hm}var vm="[object Arguments]",bm="[object Array]",ym="[object Boolean]",Sm="[object Date]",wm="[object Error]",Cm="[object Function]",$m="[object Map]",xm="[object Number]",Om="[object Object]",Tm="[object RegExp]",Pm="[object Set]",Em="[object String]",Mm="[object WeakMap]",_m="[object ArrayBuffer]",Im="[object DataView]",Nm="[object Float32Array]",Am="[object Float64Array]",Rm="[object Int8Array]",Dm="[object Int16Array]",Bm="[object Int32Array]",Hm="[object Uint8Array]",Vm="[object Uint8ClampedArray]",zm="[object Uint16Array]",Lm="[object Uint32Array]",te={};te[Nm]=te[Am]=te[Rm]=te[Dm]=te[Bm]=te[Hm]=te[Vm]=te[zm]=te[Lm]=!0,te[vm]=te[bm]=te[_m]=te[ym]=te[Im]=te[Sm]=te[wm]=te[Cm]=te[$m]=te[xm]=te[Om]=te[Tm]=te[Pm]=te[Em]=te[Mm]=!1;function jm(e){return rn(e)&&tl(e.length)&&!!te[en(e)]}function Fm(e){return function(t){return e(t)}}var nl=typeof j=="object"&&j&&!j.nodeType&&j,an=nl&&typeof module=="object"&&module&&!module.nodeType&&module,Wm=an&&an.exports===nl,mr=Wm&&za.process,ol=function(){try{var e=an&&an.require&&an.require("util").types;return e||mr&&mr.binding&&mr.binding("util")}catch{}}(),rl=ol&&ol.isTypedArray,il=rl?Fm(rl):jm,km=Object.prototype,Km=km.hasOwnProperty;function Um(e,t){var n=Wn(e),o=!n&&cm(e),r=!n&&!o&&pr(e),a=!n&&!o&&!r&&il(e),l=n||o||r||a,s=l?im(e.length,String):[],c=s.length;for(var u in e)Km.call(e,u)&&!(l&&(u=="length"||r&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||gm(u,c)))&&s.push(u);return s}var Xm=Object.prototype;function Gm(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Xm;return e===n}function Ym(e,t){return function(n){return e(t(n))}}var qm=Ym(Object.keys,Object),Qm=Object.prototype,Zm=Qm.hasOwnProperty;function Jm(e){if(!Gm(e))return qm(e);var t=[];for(var n in Object(e))Zm.call(e,n)&&n!="constructor"&&t.push(n);return t}function eg(e){return e!=null&&tl(e.length)&&!Wa(e)}function tg(e){return eg(e)?Um(e):Jm(e)}function al(e){return Jp(e,tg,rm)}var ng=1,og=Object.prototype,rg=og.hasOwnProperty;function ig(e,t,n,o,r,a){var l=n&ng,s=al(e),c=s.length,u=al(t),d=u.length;if(c!=d&&!l)return!1;for(var f=c;f--;){var m=s[f];if(!(l?m in t:rg.call(t,m)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var b=!0;a.set(e,t),a.set(t,e);for(var v=l;++f{const{disabled:m,target:p,align:h,onAlign:b}=e;if(!m&&p&&a.value){const v=a.value;let y;const w=hl(p),$=vl(p);r.value.element=w,r.value.point=$,r.value.align=h;const{activeElement:x}=document;return w&&Ma(w)?y=sr(v,w,h):$&&(y=cf(v,$,h)),Ef(x,v),b&&y&&b(v,y),!0}return!1},i.computed(()=>e.monitorBufferTime)),c=i.ref({cancel:()=>{}}),u=i.ref({cancel:()=>{}}),d=()=>{const m=e.target,p=hl(m),h=vl(m);a.value!==u.value.element&&(u.value.cancel(),u.value.element=a.value,u.value.cancel=Ha(a.value,l)),(r.value.element!==p||!Pf(r.value.point,h)||!gg(r.value.align,e.align))&&(l(),c.value.element!==p&&(c.value.cancel(),c.value.element=p,c.value.cancel=Ha(p,l)))};i.onMounted(()=>{i.nextTick(()=>{d()})}),i.onUpdated(()=>{i.nextTick(()=>{d()})}),i.watch(()=>e.disabled,m=>{m?s():l()},{immediate:!0,flush:"post"});const f=i.ref(null);return i.watch(()=>e.monitorWindowResize,m=>{m?f.value||(f.value=Gt(window,"resize",l)):f.value&&(f.value.remove(),f.value=null)},{flush:"post"}),i.onUnmounted(()=>{c.value.cancel(),u.value.cancel(),f.value&&f.value.remove(),s()}),n({forceAlign:()=>l(!0)}),()=>{const m=o==null?void 0:o.default();return m?$e(m[0],{ref:a},!0,!0):null}}}),Pt=function(){for(var e=arguments.length,t=new Array(e),n=0;n{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function Kn(){return{type:[Function,Array]}}function ge(e){return{type:Object,default:e}}function he(e){return{type:Boolean,default:e}}function ln(e,t){const n={validator:()=>!0,default:e};return n}function Et(){return{validator:()=>!0}}function bl(e){return{type:Array,default:e}}function yl(e){return{type:String,default:e}}function Sl(e,t){return e?{type:e,default:t}:ln(t)}Pt("bottomLeft","bottomRight","topLeft","topRight");const wl=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g(e?{name:e,appear:!0,enterFromClass:`${e}-enter ${e}-enter-prepare ${e}-enter-start`,enterActiveClass:`${e}-enter ${e}-enter-prepare`,enterToClass:`${e}-enter ${e}-enter-active`,leaveFromClass:` ${e}-leave`,leaveActiveClass:`${e}-leave ${e}-leave-active`,leaveToClass:`${e}-leave ${e}-leave-active`}:{css:!1},t)},Cl=(e,t,n)=>n!==void 0?n:`${e}-${t}`,bg=i.defineComponent({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:Yo,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:o,slots:r}=t;const a=i.shallowRef(),l=i.shallowRef(),s=i.shallowRef(),[c,u]=Dd(i.toRef(e,"stretch")),d=()=>{e.stretch&&u(e.getRootDomNode())},f=i.shallowRef(!1);let m;i.watch(()=>e.visible,O=>{clearTimeout(m),O?m=setTimeout(()=>{f.value=e.visible}):f.value=!1},{immediate:!0});const[p,h]=Rd(f,d),b=i.shallowRef(),v=()=>e.point?e.point:e.getRootDomNode,y=()=>{var O;(O=a.value)===null||O===void 0||O.forceAlign()},w=(O,S)=>{var T;const I=e.getClassNameFromAlign(S),E=s.value;s.value!==I&&(s.value=I),p.value==="align"&&(E!==I?Promise.resolve().then(()=>{y()}):h(()=>{var N;(N=b.value)===null||N===void 0||N.call(b)}),(T=e.onAlign)===null||T===void 0||T.call(e,O,S))},$=i.computed(()=>{const O=typeof e.animation=="object"?e.animation:ra(e);return["onAfterEnter","onAfterLeave"].forEach(S=>{const T=O[S];O[S]=I=>{h(),p.value="stable",T==null||T(I)}}),O}),x=()=>new Promise(O=>{b.value=O});i.watch([$,p],()=>{!$.value&&p.value==="motion"&&h()},{immediate:!0}),n({forceAlign:y,getElement:()=>l.value.$el||l.value});const C=i.computed(()=>{var O;return!(!((O=e.align)===null||O===void 0)&&O.points&&(p.value==="align"||p.value==="stable"))});return()=>{var O;const{zIndex:S,align:T,prefixCls:I,destroyPopupOnHide:E,onMouseenter:N,onMouseleave:H,onTouchstart:D=()=>{},onMousedown:W}=e,P=p.value,R=[g(g({},c.value),{zIndex:S,opacity:P==="motion"||P==="stable"||!f.value?null:0,pointerEvents:!f.value&&P!=="stable"?"none":null}),o.style];let B=ue((O=r.default)===null||O===void 0?void 0:O.call(r,{visible:e.visible}));B.length>1&&(B=i.createVNode("div",{class:`${I}-content`},[B]));const V=ee(I,o.class,s.value,!e.arrow&&`${I}-arrow-hidden`),G=f.value||!e.visible?wl($.value.name,$.value):{};return i.createVNode(i.Transition,_(_({ref:l},G),{},{onBeforeEnter:x}),{default:()=>!E||e.visible?i.withDirectives(i.createVNode(vg,{target:v(),key:"popup",ref:a,monitorWindowResize:!0,disabled:C.value,align:T,onAlign:w},{default:()=>i.createVNode("div",{class:V,onMouseenter:N,onMouseleave:H,onMousedown:i.withModifiers(W,["capture"]),[it?"onTouchstartPassive":"onTouchstart"]:i.withModifiers(D,["capture"]),style:R},[B])}),[[i.vShow,f.value]]):null})}}}),yg=i.defineComponent({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:Id,setup(e,t){let{attrs:n,slots:o,expose:r}=t;const a=i.shallowRef(!1),l=i.shallowRef(!1),s=i.shallowRef(),c=i.shallowRef();return i.watch([()=>e.visible,()=>e.mobile],()=>{a.value=e.visible,e.visible&&e.mobile&&(l.value=!0)},{immediate:!0,flush:"post"}),r({forceAlign:()=>{var u;(u=s.value)===null||u===void 0||u.forceAlign()},getElement:()=>{var u;return(u=s.value)===null||u===void 0?void 0:u.getElement()}}),()=>{const u=g(g(g({},e),n),{visible:a.value}),d=l.value?i.createVNode(Nd,_(_({},u),{},{mobile:e.mobile,ref:s}),{default:o.default}):i.createVNode(bg,_(_({},u),{},{ref:s}),{default:o.default});return i.createVNode("div",{ref:c},[i.createVNode(ia,u,null),d])}}});function Sg(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function $l(e,t,n){const o=e[t]||{};return g(g({},o),n)}function wg(e,t,n,o){const{points:r}=n,a=Object.keys(e);for(let l=0;l0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=typeof e=="function"?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){const o=this.getDerivedStateFromProps(hu(this),g(g({},this.$data),n));if(o===null)return;n=g(g({},n),o||{})}g(this.$data,n),this._.isMounted&&this.$forceUpdate(),i.nextTick(()=>{t&&t()})},__emit(){const e=[].slice.call(arguments,0);let t=e[0];t=`on${t[0].toUpperCase()}${t.substring(1)}`;const n=this.$props[t]||this.$attrs[t];if(e.length&&n)if(Array.isArray(n))for(let o=0,r=n.length;o1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};i.provide(xl,{inTriggerContext:t.inTriggerContext,shouldRender:i.computed(()=>{const{sPopupVisible:n,popupRef:o,forceRender:r,autoDestroy:a}=e||{};let l=!1;return(n||o||r)&&(l=!0),!n&&a&&(l=!1),l})})},$g=()=>{Ol({},{inTriggerContext:!1});const e=i.inject(xl,{shouldRender:i.computed(()=>!1),inTriggerContext:!1});return{shouldRender:i.computed(()=>e.shouldRender.value||e.inTriggerContext===!1)}},xg=i.defineComponent({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:M.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,o=!0,r;const{shouldRender:a}=$g();function l(){a.value&&(r=e.getContainer())}i.onBeforeMount(()=>{o=!1,l()}),i.onMounted(()=>{r||l()});const s=i.watch(a,()=>{a.value&&!r&&(r=e.getContainer()),r&&s()});return i.onUpdated(()=>{i.nextTick(()=>{var c;a.value&&((c=e.didUpdate)===null||c===void 0||c.call(e,e))})}),()=>{var c;return a.value?o?(c=n.default)===null||c===void 0?void 0:c.call(n):r?i.createVNode(i.Teleport,{to:r},n):null:null}}});function Be(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const Tl="data-vc-order",Og="vc-util-key",br=new Map;function Pl(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:Og}function Un(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Tg(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function El(e){return Array.from((br.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Ml(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Be())return null;const{csp:n,prepend:o}=t,r=document.createElement("style");r.setAttribute(Tl,Tg(o)),n!=null&&n.nonce&&(r.nonce=n==null?void 0:n.nonce),r.innerHTML=e;const a=Un(t),{firstChild:l}=a;if(o){if(o==="queue"){const s=El(a).filter(c=>["prepend","prependQueue"].includes(c.getAttribute(Tl)));if(s.length)return a.insertBefore(r,s[s.length-1].nextSibling),r}a.insertBefore(r,l)}else a.appendChild(r);return r}function _l(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Un(t);return El(n).find(o=>o.getAttribute(Pl(t))===e)}function Xn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=_l(e,t);n&&Un(t).removeChild(n)}function Pg(e,t){const n=br.get(e);if(!n||!rt(document,n)){const o=Ml("",t),{parentNode:r}=o;br.set(e,r),e.removeChild(o)}}function Gn(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var o,r,a;const l=Un(n);Pg(l,n);const s=_l(t,n);if(s)return!((o=n.csp)===null||o===void 0)&&o.nonce&&s.nonce!==((r=n.csp)===null||r===void 0?void 0:r.nonce)&&(s.nonce=(a=n.csp)===null||a===void 0?void 0:a.nonce),s.innerHTML!==e&&(s.innerHTML=e),s;const c=Ml(e,n);return c.setAttribute(Pl(n),t),c}let yr;function Eg(e){if(typeof document>"u")return 0;if(yr===void 0){const t=document.createElement("div");t.style.width="100%",t.style.height="200px";const n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);const r=t.offsetWidth;n.style.overflow="scroll";let a=t.offsetWidth;r===a&&(a=n.clientWidth),document.body.removeChild(n),yr=r-a}return yr}const Mg=`vc-util-locker-${Date.now()}`;let Il=0;function _g(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function Ig(e){const t=i.computed(()=>!!e&&!!e.value);Il+=1;const n=`${Mg}_${Il}`;i.watchEffect(o=>{if(Be()){if(t.value){const r=Eg(),a=_g();Gn(` html body { overflow-y: hidden; ${a?`width: calc(100% - ${r}px);`:""} }`,n)}else Xn(n);o(()=>{Xn(n)})}},{flush:"post"})}let dt=0;const Yn=Be(),Nl=e=>{if(!Yn)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},Ng=i.defineComponent({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:M.any,visible:{type:Boolean,default:void 0},autoLock:he(),didUpdate:Function},setup(e,t){let{slots:n}=t;const o=i.shallowRef(),r=i.shallowRef(),a=i.shallowRef(),l=i.shallowRef(1),s=Be()&&document.createElement("div"),c=()=>{var p,h;o.value===s&&((h=(p=o.value)===null||p===void 0?void 0:p.parentNode)===null||h===void 0||h.removeChild(o.value)),o.value=null};let u=null;const d=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||o.value&&!o.value.parentNode?(u=Nl(e.getContainer),u?(u.appendChild(o.value),!0):!1):!0},f=()=>Yn?(o.value||(o.value=s,d(!0)),m(),o.value):null,m=()=>{const{wrapperClassName:p}=e;o.value&&p&&p!==o.value.className&&(o.value.className=p)};return i.onUpdated(()=>{m(),d()}),Ig(i.computed(()=>e.autoLock&&e.visible&&Be()&&(o.value===document.body||o.value===s))),i.onMounted(()=>{let p=!1;i.watch([()=>e.visible,()=>e.getContainer],(h,b)=>{let[v,y]=h,[w,$]=b;Yn&&(u=Nl(e.getContainer),u===document.body&&(v&&!w?dt+=1:p&&(dt-=1))),p&&(typeof y=="function"&&typeof $=="function"?y.toString()!==$.toString():y!==$)&&c(),p=!0},{immediate:!0,flush:"post"}),i.nextTick(()=>{d()||(a.value=me(()=>{l.value+=1}))})}),i.onBeforeUnmount(()=>{const{visible:p}=e;Yn&&u===document.body&&(dt=p&&dt?dt-1:dt),c(),me.cancel(a.value)}),()=>{const{forceRender:p,visible:h}=e;let b=null;const v={getOpenCount:()=>dt,getContainer:f};return l.value&&(p||h||r.value)&&(b=i.createVNode(xg,{getContainer:f,ref:r,didUpdate:e.didUpdate},{default:()=>{var y;return(y=n.default)===null||y===void 0?void 0:y.call(n,v)}})),b}}}),Ag=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],Sr=i.defineComponent({compatConfig:{MODE:3},name:"Trigger",mixins:[Cg],inheritAttrs:!1,props:Md(),setup(e){const t=i.computed(()=>{const{popupPlacement:r,popupAlign:a,builtinPlacements:l}=e;return r&&l?$l(l,r,a):a}),n=i.shallowRef(null),o=r=>{n.value=r};return{vcTriggerContext:i.inject("vcTriggerContext",{}),popupRef:n,setPopupRef:o,triggerRef:i.shallowRef(null),align:t,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data(){const e=this.$props;let t;return this.popupVisible!==void 0?t=!!e.popupVisible:t=!!e.defaultPopupVisible,Ag.forEach(n=>{this[`fire${n}`]=o=>{this.fireEvents(n,o)}}),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible(e){e!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created(){i.provide("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),Ol(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),me.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let n;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(n=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Gt(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Gt(n,"touchstart",this.onDocumentClick,it?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=Gt(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=Gt(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter(e){const{mouseEnterDelay:t}=this.$props;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter(){const{vcTriggerContext:e={}}=this;e.onPopupMouseenter&&e.onPopupMouseenter(),this.clearDelayTimer()},onPopupMouseleave(e){var t;if(e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&rt((t=this.popupRef)===null||t===void 0?void 0:t.getElement(),e.relatedTarget))return;this.isMouseLeaveToHide()&&this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay);const{vcTriggerContext:n={}}=this;n.onPopupMouseleave&&n.onPopupMouseleave(e)},onFocus(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur(e){rt(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose(){this.isContextmenuToShow()&&this.close()},onClick(e){if(this.fireEvents("onClick",e),this.focusTime){let n;if(this.preClickTime&&this.preTouchTime?n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?n=this.preClickTime:this.preTouchTime&&(n=this.preTouchTime),Math.abs(n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();const t=!this.$data.sPopupVisible;(this.isClickToHide()&&!t||t&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown(){const{vcTriggerContext:e={}}=this;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(()=>{this.hasPopupMouseDown=!1},0),e.onPopupMouseDown&&e.onPopupMouseDown(...arguments)},onDocumentClick(e){if(this.$props.mask&&!this.$props.maskClosable)return;const t=e.target,n=this.getRootDomNode(),o=this.getPopupDomNode();(!rt(n,t)||this.isContextMenuOnly())&&!rt(o,t)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)},getPopupDomNode(){var e;return((e=this.popupRef)===null||e===void 0?void 0:e.getElement())||null},getRootDomNode(){var e,t,n,o;const{getTriggerDOMNode:r}=this.$props;if(r){const a=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:Ke(this.triggerRef);return Ke(r(a))}try{const a=((o=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||o===void 0?void 0:o.nodeName)==="#comment"?null:Ke(this.triggerRef);if(a)return a}catch{}return Ke(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:o,builtinPlacements:r,prefixCls:a,alignPoint:l,getPopupClassNameFromAlign:s}=n;return o&&r&&t.push(wg(r,a,e,l)),s&&t.push(s(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:o}=e;return t&&o?$l(o,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[it?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:o}=this,{prefixCls:r,destroyPopupOnHide:a,popupClassName:l,popupAnimation:s,popupTransitionName:c,popupStyle:u,mask:d,maskAnimation:f,maskTransitionName:m,zIndex:p,stretch:h,alignPoint:b,mobile:v,arrow:y,forceRender:w}=this.$props,{sPopupVisible:$,point:x}=this.$data,C=g(g({prefixCls:r,arrow:y,destroyPopupOnHide:a,visible:$,point:b?x:null,align:this.align,animation:s,getClassNameFromAlign:t,stretch:h,getRootDomNode:n,mask:d,zIndex:p,transitionName:c,maskAnimation:f,maskTransitionName:m,class:l,style:u,onAlign:o.onPopupAlign||Ji},e),{ref:this.setPopupRef,mobile:v,forceRender:w});return i.createVNode(yg,C,{default:this.$slots.popup||(()=>vu(this,"popup"))})},attachParent(e){me.cancel(this.attachId);const{getPopupContainer:t,getDocument:n}=this.$props,o=this.getRootDomNode();let r;t?(o||t.length===0)&&(r=t(o)):r=n(this.getRootDomNode()).body,r?r.appendChild(e):this.attachId=me(()=>{this.attachParent(e)})},getContainer(){const{$props:e}=this,{getDocument:t}=e,n=t(this.getRootDomNode()).createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",this.attachParent(n),n},setPopupVisible(e,t){const{alignPoint:n,sPopupVisible:o,onPopupVisibleChange:r}=this;this.clearDelayTimer(),o!==e&&(mu(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:o}),r&&r(e)),n&&t&&e&&this.setPoint(t)},setPoint(e){const{alignPoint:t}=this.$props;!t||!e||this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible(e,t,n){const o=t*1e3;if(this.clearDelayTimer(),o){const r=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(()=>{this.setPopupVisible(e,r),this.clearDelayTimer()},o)}else this.setPopupVisible(e,n)},clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains(e){let t=()=>{};const n=Oi(this);return this.childOriginEvents[e]&&n[e]?this[`fire${e}`]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isContextMenuOnly(){const{action:e}=this.$props;return e==="contextmenu"||e.length===1&&e[0]==="contextmenu"},isContextmenuToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("contextmenu")!==-1||t.indexOf("contextmenu")!==-1},isClickToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isMouseEnterToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseenter")!==-1},isMouseLeaveToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseleave")!==-1},isFocusToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("focus")!==-1},isBlurToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("blur")!==-1},forcePopupAlign(){var e;this.$data.sPopupVisible&&((e=this.popupRef)===null||e===void 0||e.forceAlign())},fireEvents(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t);const n=this.$props[e]||this.$attrs[e];n&&n(t)},close(){this.setPopupVisible(!1)}},render(){const{$attrs:e}=this,t=Re(gu(this)),{alignPoint:n,getPopupContainer:o}=this.$props,r=t[0];this.childOriginEvents=Oi(r);const a={key:"trigger"};this.isContextmenuToShow()?a.onContextmenu=this.onContextmenu:a.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(a.onClick=this.onClick,a.onMousedown=this.onMousedown,a[it?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(a.onClick=this.createTwoChains("onClick"),a.onMousedown=this.createTwoChains("onMousedown"),a[it?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(a.onMouseenter=this.onMouseenter,n&&(a.onMousemove=this.onMouseMove)):a.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?a.onMouseleave=this.onMouseleave:a.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(a.onFocus=this.onFocus,a.onBlur=this.onBlur):(a.onFocus=this.createTwoChains("onFocus"),a.onBlur=u=>{u&&(!u.relatedTarget||!rt(u.target,u.relatedTarget))&&this.createTwoChains("onBlur")(u)});const l=ee(r&&r.props&&r.props.class,e.class);l&&(a.class=l);const s=$e(r,g(g({},a),{ref:"triggerRef"}),!0,!0),c=i.createVNode(Ng,{key:"portal",getContainer:o&&(()=>o(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return i.createVNode(i.Fragment,null,[s,c])}}),Mt={adjustX:1,adjustY:1},_t=[0,0],Rg={topLeft:{points:["bl","tl"],overflow:Mt,offset:[0,-4],targetOffset:_t},topCenter:{points:["bc","tc"],overflow:Mt,offset:[0,-4],targetOffset:_t},topRight:{points:["br","tr"],overflow:Mt,offset:[0,-4],targetOffset:_t},bottomLeft:{points:["tl","bl"],overflow:Mt,offset:[0,4],targetOffset:_t},bottomCenter:{points:["tc","bc"],overflow:Mt,offset:[0,4],targetOffset:_t},bottomRight:{points:["tr","br"],overflow:Mt,offset:[0,4],targetOffset:_t}};var Dg=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.visible,p=>{p!==void 0&&(a.value=p)});const l=i.ref();r({triggerRef:l});const s=p=>{e.visible===void 0&&(a.value=!1),o("overlayClick",p)},c=p=>{e.visible===void 0&&(a.value=p),o("visibleChange",p)},u=()=>{var p;const h=(p=n.overlay)===null||p===void 0?void 0:p.call(n),b={prefixCls:`${e.prefixCls}-menu`,onClick:s};return i.createVNode(i.Fragment,{key:xi},[e.arrow&&i.createVNode("div",{class:`${e.prefixCls}-arrow`},null),$e(h,b,!1)])},d=i.computed(()=>{const{minOverlayWidthMatchTrigger:p=!e.alignPoint}=e;return p}),f=()=>{var p;const h=(p=n.default)===null||p===void 0?void 0:p.call(n);return a.value&&h?$e(h[0],{class:e.openClassName||`${e.prefixCls}-open`},!1):h},m=i.computed(()=>!e.hideAction&&e.trigger.indexOf("contextmenu")!==-1?["click"]:e.hideAction);return()=>{const{prefixCls:p,arrow:h,showAction:b,overlayStyle:v,trigger:y,placement:w,align:$,getPopupContainer:x,transitionName:C,animation:O,overlayClassName:S}=e,T=Dg(e,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return i.createVNode(Sr,_(_({},T),{},{prefixCls:p,ref:l,popupClassName:ee(S,{[`${p}-show-arrow`]:h}),popupStyle:v,builtinPlacements:Rg,action:y,showAction:b,hideAction:m.value||[],popupPlacement:w,popupAlign:$,popupTransitionName:C,popupAnimation:O,popupVisible:a.value,stretch:d.value?"minWidth":"",onPopupVisibleChange:c,getPopupContainer:x}),{popup:u,default:f})}}}),Hg="anticon",Al=Symbol("configProvider"),Rl={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:i.computed(()=>Hg),getPopupContainer:i.computed(()=>()=>document.body),direction:i.computed(()=>"ltr")},Vg=()=>i.inject(Al,Rl),zg=Symbol("DisabledContextKey"),Dl=()=>i.inject(zg,i.ref(void 0)),Lg={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},jg={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},Bl={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Hl={lang:g({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},jg),timePickerLocale:g({},Bl)},Se="${label} is not a valid ${type}",Vl={locale:"en",Pagination:Lg,DatePicker:Hl,TimePicker:Bl,Calendar:Hl,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Se,method:Se,array:Se,object:Se,number:Se,date:Se,boolean:Se,integer:Se,float:Se,regexp:Se,email:Se,url:Se,hex:Se},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},zl=i.defineComponent({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const o=i.inject("localeData",{}),r=i.computed(()=>{const{componentName:l="global",defaultLocale:s}=e,c=s||Vl[l||"global"],{antLocale:u}=o,d=l&&u?u[l]:{};return g(g({},typeof c=="function"?c():c),d||{})}),a=i.computed(()=>{const{antLocale:l}=o,s=l&&l.locale;return l&&l.exist&&!s?Vl.locale:s});return()=>{const l=e.children||n.default,{antLocale:s}=o;return l==null?void 0:l(r.value,a.value,s)}}});function wr(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 Ll="%";class Fg{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Ll):t)||null}update(t,n){const o=Array.isArray(t)?t.join(Ll):t,r=this.cache.get(o),a=n(r);a===null?this.cache.delete(o):this.cache.set(o,a)}}const jl="data-token-hash",ft="data-css-hash",Wg="data-cache-path",It="__cssinjs_instance__";function sn(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${ft}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(r=>{r[It]=r[It]||e,r[It]===e&&document.head.insertBefore(r,n)});const o={};Array.from(document.querySelectorAll(`style[${ft}]`)).forEach(r=>{var a;const l=r.getAttribute(ft);o[l]?r[It]===e&&((a=r.parentNode)===null||a===void 0||a.removeChild(r)):o[l]=!0})}return new Fg(e)}const Fl=Symbol("StyleContextKey"),kg=()=>{var e,t,n;const o=i.getCurrentInstance();let r;if(o&&o.appContext){const a=(n=(t=(e=o.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;a?r=a:(r=sn(),o.appContext.config.globalProperties&&(o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=r))}else r=sn();return r},Wl={cache:sn(),defaultCache:!0,hashPriority:"low"},qn=()=>{const e=kg();return i.inject(Fl,i.shallowRef(g(g({},Wl),{cache:e})))},Kg=e=>{const t=qn(),n=i.shallowRef(g(g({},Wl),{cache:sn()}));return i.watch([()=>i.unref(e),t],()=>{const o=g({},t.value),r=i.unref(e);Object.keys(r).forEach(l=>{const s=r[l];r[l]!==void 0&&(o[l]=s)});const{cache:a}=r;o.cache=o.cache||sn(),o.defaultCache=!a&&t.value.defaultCache,n.value=o},{immediate:!0}),i.provide(Fl,n),n},Ug=()=>({autoClear:he(),mock:yl(),cache:ge(),defaultCache:he(),hashPriority:yl(),container:Sl(),ssrInline:he(),transformers:bl(),linters:bl()});ut(i.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:Ug(),setup(e,t){let{slots:n}=t;return Kg(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}));function Xg(){return!1}let Cr=!1;function Gg(){return Cr}const Yg=process.env.NODE_ENV==="production"?Xg:Gg;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=function(){return Cr=!0,setTimeout(()=>{Cr=!1},0),t(...arguments)}}}function kl(e,t,n,o){const r=qn(),a=i.shallowRef(""),l=i.shallowRef();i.watchEffect(()=>{a.value=[e,...t.value].join("%")});const s=Yg(),c=u=>{r.value.cache.update(u,d=>{const[f=0,m]=d||[];return f-1===0?(o==null||o(m,!1),null):[f-1,m]})};return i.watch(a,(u,d)=>{d&&c(d),r.value.cache.update(u,f=>{const[m=0,p]=f||[];let h=p;process.env.NODE_ENV!=="production"&&p&&s&&(o==null||o(h,s),h=null);const b=h||n();return[m+1,b]}),l.value=r.value.cache.get(a.value)[1]},{immediate:!0}),i.onBeforeUnmount(()=>{c(a.value)}),l}function qg(e,t){if(e.length!==t.length)return!1;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return t.forEach(r=>{var a;o?o=(a=o==null?void 0:o.map)===null||a===void 0?void 0:a.get(r):o=void 0}),o!=null&&o.value&&n&&(o.value[1]=this.cacheCallTimes++),o==null?void 0:o.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Nt.MAX_CACHE_SIZE+Nt.MAX_CACHE_OFFSET){const[r]=this.keys.reduce((a,l)=>{const[,s]=a;return this.internalGet(l)[1]{if(a===t.length-1)o.set(r,{value:[n,this.cacheCallTimes++]});else{const l=o.get(r);l?l.map||(l.map=new Map):o.set(r,{map:new Map}),o=o.get(r).map}})}deleteByPath(t,n){var o;const r=t.get(n[0]);if(n.length===1)return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),(o=r.value)===null||o===void 0?void 0:o[0];const a=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),a}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!qg(n,t)),this.deleteByPath(this.cache,t)}}Nt.MAX_CACHE_SIZE=20,Nt.MAX_CACHE_OFFSET=5;let Kl=0;class Ul{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Kl,t.length===0&&Ge(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),Kl+=1}getDerivativeToken(t){return this.derivatives.reduce((n,o)=>o(t,n),void 0)}}const $r=new Nt;function Qg(e){const t=Array.isArray(e)?e:[e];return $r.has(t)||$r.set(t,new Ul(t)),$r.get(t)}const Xl=new WeakMap;function Qn(e){let t=Xl.get(e)||"";return t||(Object.keys(e).forEach(n=>{const o=e[n];t+=n,o instanceof Ul?t+=o.id:o&&typeof o=="object"?t+=Qn(o):t+=o}),Xl.set(e,t)),t}function Zg(e,t){return wr(`${t}_${Qn(e)}`)}const cn=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),Gl="_bAmBoO_";function Jg(e,t,n){var o,r;if(Be()){Gn(e,cn);const a=document.createElement("div");a.style.position="fixed",a.style.left="0",a.style.top="0",t==null||t(a),document.body.appendChild(a),process.env.NODE_ENV!=="production"&&(a.innerHTML="Test",a.style.zIndex="9999999");const l=n?n(a):(o=getComputedStyle(a).content)===null||o===void 0?void 0:o.includes(Gl);return(r=a.parentNode)===null||r===void 0||r.removeChild(a),Xn(cn),l}return!1}let xr;function eh(){return xr===void 0&&(xr=Jg(`@layer ${cn} { .${cn} { content: "${Gl}"!important; } }`,e=>{e.className=cn})),xr}const Yl={},th=process.env.NODE_ENV==="production",nh=process.env.NODE_ENV==="prerender",oh=!th&&!nh?"css-dev-only-do-not-override":"css",pt=new Map;function rh(e){pt.set(e,(pt.get(e)||0)+1)}function ih(e,t){typeof document<"u"&&document.querySelectorAll(`style[${jl}="${e}"]`).forEach(o=>{var r;o[It]===t&&((r=o.parentNode)===null||r===void 0||r.removeChild(o))})}const ah=0;function lh(e,t){pt.set(e,(pt.get(e)||0)-1);const n=Array.from(pt.keys()),o=n.filter(r=>(pt.get(r)||0)<=0);n.length-o.length>ah&&o.forEach(r=>{ih(r,t),pt.delete(r)})}const sh=(e,t,n,o)=>{const r=n.getDerivativeToken(e);let a=g(g({},r),t);return o&&(a=o(a)),a};function ch(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:i.ref({});const o=qn(),r=i.computed(()=>g({},...t.value)),a=i.computed(()=>Qn(r.value)),l=i.computed(()=>Qn(n.value.override||Yl));return kl("token",i.computed(()=>[n.value.salt||"",e.value.id,a.value,l.value]),()=>{const{salt:c="",override:u=Yl,formatToken:d,getComputedToken:f}=n.value,m=f?f(r.value,u,e.value):sh(r.value,u,e.value,d),p=Zg(m,c);m._tokenKey=p,rh(p);const h=`${oh}-${wr(p)}`;return m._hashId=h,[m,h]},c=>{var u;lh(c[0]._tokenKey,(u=o.value)===null||u===void 0?void 0:u.cache.instanceId)})}var uh={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,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},ql="comm",Ql="rule",Zl="decl",dh="@import",fh="@keyframes",ph="@layer",Jl=Math.abs,Or=String.fromCharCode;function es(e){return e.trim()}function Zn(e,t,n){return e.replace(t,n)}function mh(e,t,n){return e.indexOf(t,n)}function un(e,t){return e.charCodeAt(t)|0}function dn(e,t,n){return e.slice(t,n)}function je(e){return e.length}function gh(e){return e.length}function Jn(e,t){return t.push(e),e}var eo=1,At=1,ts=0,xe=0,ie=0,Rt="";function Tr(e,t,n,o,r,a,l,s){return{value:e,root:t,parent:n,type:o,props:r,children:a,line:eo,column:At,length:l,return:"",siblings:s}}function hh(){return ie}function vh(){return ie=xe>0?un(Rt,--xe):0,At--,ie===10&&(At=1,eo--),ie}function Ae(){return ie=xe2||Pr(ie)>3?"":" "}function wh(e,t){for(;--t&&Ae()&&!(ie<48||ie>102||ie>57&&ie<65||ie>70&&ie<97););return no(e,to()+(t<6&&mt()==32&&Ae()==32))}function Mr(e){for(;Ae();)switch(ie){case e:return xe;case 34:case 39:e!==34&&e!==39&&Mr(ie);break;case 40:e===41&&Mr(e);break;case 92:Ae();break}return xe}function Ch(e,t){for(;Ae()&&e+ie!==57;)if(e+ie===84&&mt()===47)break;return"/*"+no(t,xe-1)+"*"+Or(e===47?e:Ae())}function $h(e){for(;!Pr(mt());)Ae();return no(e,xe)}function xh(e){return yh(oo("",null,null,null,[""],e=bh(e),0,[0],e))}function oo(e,t,n,o,r,a,l,s,c){for(var u=0,d=0,f=l,m=0,p=0,h=0,b=1,v=1,y=1,w=0,$="",x=r,C=a,O=o,S=$;v;)switch(h=w,w=Ae()){case 40:if(h!=108&&un(S,f-1)==58){mh(S+=Zn(Er(w),"&","&\f"),"&\f",Jl(u?s[u-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:S+=Er(w);break;case 9:case 10:case 13:case 32:S+=Sh(h);break;case 92:S+=wh(to()-1,7);continue;case 47:switch(mt()){case 42:case 47:Jn(Oh(Ch(Ae(),to()),t,n,c),c);break;default:S+="/"}break;case 123*b:s[u++]=je(S)*y;case 125*b:case 59:case 0:switch(w){case 0:case 125:v=0;case 59+d:y==-1&&(S=Zn(S,/\f/g,"")),p>0&&je(S)-f&&Jn(p>32?os(S+";",o,n,f-1,c):os(Zn(S," ","")+";",o,n,f-2,c),c);break;case 59:S+=";";default:if(Jn(O=ns(S,t,n,u,d,r,s,$,x=[],C=[],f,a),a),w===123)if(d===0)oo(S,t,O,O,x,a,f,s,C);else switch(m===99&&un(S,3)===110?100:m){case 100:case 108:case 109:case 115:oo(e,O,O,o&&Jn(ns(e,O,O,0,0,r,s,$,r,x=[],f,C),C),r,C,f,s,o?x:C);break;default:oo(S,O,O,O,[""],C,0,s,C)}}u=d=p=0,b=y=1,$=S="",f=l;break;case 58:f=1+je(S),p=h;default:if(b<1){if(w==123)--b;else if(w==125&&b++==0&&vh()==125)continue}switch(S+=Or(w),w*b){case 38:y=d>0?1:(S+="\f",-1);break;case 44:s[u++]=(je(S)-1)*y,y=1;break;case 64:mt()===45&&(S+=Er(Ae())),m=mt(),d=f=je($=S+=$h(to())),w++;break;case 45:h===45&&je(S)==2&&(b=0)}}return a}function ns(e,t,n,o,r,a,l,s,c,u,d,f){for(var m=r-1,p=r===0?a:[""],h=gh(p),b=0,v=0,y=0;b0?p[w]+" "+$:Zn($,/&\f/g,p[w])))&&(c[y++]=x);return Tr(e,t,n,r===0?Ql:s,c,u,d,f)}function Oh(e,t,n,o){return Tr(e,t,n,ql,Or(hh()),dn(e,2,-2),0,o)}function os(e,t,n,o,r){return Tr(e,t,n,Zl,dn(e,0,o),dn(e,o+1,-1),o,r)}function _r(e,t){for(var n="",o=0;o ")}`:""}`)}const Ph=(e,t,n)=>{if(e==="content"){const o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||["normal","none","initial","inherit","unset"].indexOf(t)===-1&&!o.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&rs(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},Eh=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&rs(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)},is="data-ant-cssinjs-cache-path",Mh="_FILE_STYLE__";let gt,as=!0;function _h(){var e;if(!gt&&(gt={},Be())){const t=document.createElement("div");t.className=is,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(r=>{const[a,l]=r.split(":");gt[a]=l});const o=document.querySelector(`style[${is}]`);o&&(as=!1,(e=o.parentNode)===null||e===void 0||e.removeChild(o)),document.body.removeChild(t)}}function Ih(e){return _h(),!!gt[e]}function Nh(e){const t=gt[e];let n=null;if(t&&Be())if(as)n=Mh;else{const o=document.querySelector(`style[${ft}="${gt[e]}"]`);o?n=o.innerHTML:delete gt[e]}return[n,t]}const ls=Be(),ss="_skip_check_",cs="_multi_value_";function us(e){return _r(xh(e),Th).replace(/\{%%%\:[^;];}/g,";")}function Ah(e){return typeof e=="object"&&e&&(ss in e||cs in e)}function Rh(e,t,n){if(!t)return e;const o=`.${t}`,r=n==="low"?`:where(${o})`:o;return e.split(",").map(l=>{var s;const c=l.trim().split(/\s+/);let u=c[0]||"";const d=((s=u.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return u=`${d}${r}${u.slice(d.length)}`,[u,...c.slice(1)].join(" ")}).join(",")}const Ir=new Set;process.env.NODE_ENV;const Nr=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:o,parentSelectors:r}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:a,layer:l,path:s,hashPriority:c,transformers:u=[],linters:d=[]}=t;let f="",m={};function p(v){const y=v.getName(a);if(!m[y]){const[w]=Nr(v.style,t,{root:!1,parentSelectors:r});m[y]=`@keyframes ${v.getName(a)}${w}`}}function h(v){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return v.forEach(w=>{Array.isArray(w)?h(w,y):w&&y.push(w)}),y}if(h(Array.isArray(e)?e:[e]).forEach(v=>{const y=typeof v=="string"&&!n?{}:v;if(typeof y=="string")f+=`${y} `;else if(y._keyframe)p(y);else{const w=u.reduce(($,x)=>{var C;return((C=x==null?void 0:x.visit)===null||C===void 0?void 0:C.call(x,$))||$},y);Object.keys(w).forEach($=>{var x;const C=w[$];if(typeof C=="object"&&C&&($!=="animationName"||!C._keyframe)&&!Ah(C)){let O=!1,S=$.trim(),T=!1;(n||o)&&a?S.startsWith("@")?O=!0:S=Rh($,a,c):n&&!a&&(S==="&"||S==="")&&(S="",T=!0);const[I,E]=Nr(C,t,{root:T,injectHash:O,parentSelectors:[...r,S]});m=g(g({},m),E),f+=`${S}${I}`}else{let O=function(T,I){process.env.NODE_ENV!=="production"&&(typeof C!="object"||!(C!=null&&C[ss]))&&[Ph,Eh,...d].forEach(H=>H(T,I,{path:s,hashId:a,parentSelectors:r}));const E=T.replace(/[A-Z]/g,H=>`-${H.toLowerCase()}`);let N=I;!uh[T]&&typeof N=="number"&&N!==0&&(N=`${N}px`),T==="animationName"&&(I!=null&&I._keyframe)&&(p(I),N=I.getName(a)),f+=`${E}:${N};`};const S=(x=C==null?void 0:C.value)!==null&&x!==void 0?x:C;typeof C=="object"&&(C!=null&&C[cs])&&Array.isArray(S)?S.forEach(T=>{O($,T)}):O($,S)}})}}),!n)f=`{${f}}`;else if(l&&eh()){const v=l.split(",");f=`@layer ${v[v.length-1].trim()} {${f}}`,v.length>1&&(f=`@layer ${l}{%%%:%}${f}`)}return[f,m]};function Dh(e,t){return wr(`${e.join("%")}${t}`)}function ds(e,t){const n=qn(),o=i.computed(()=>e.value.token._tokenKey),r=i.computed(()=>[o.value,...e.value.path]);let a=ls;return process.env.NODE_ENV!=="production"&&n.value.mock!==void 0&&(a=n.value.mock==="client"),kl("style",r,()=>{const{path:l,hashId:s,layer:c,nonce:u,clientOnly:d,order:f=0}=e.value,m=r.value.join("|");if(Ih(m)){const[S,T]=Nh(m);if(S)return[S,o.value,T,{},d,f]}const p=t(),{hashPriority:h,container:b,transformers:v,linters:y,cache:w}=n.value,[$,x]=Nr(p,{hashId:s,hashPriority:h,layer:c,path:l.join("-"),transformers:v,linters:y}),C=us($),O=Dh(r.value,C);if(a){const S={mark:ft,prepend:"queue",attachTo:b,priority:f},T=typeof u=="function"?u():u;T&&(S.csp={nonce:T});const I=Gn(C,O,S);I[It]=w.instanceId,I.setAttribute(jl,o.value),process.env.NODE_ENV!=="production"&&I.setAttribute(Wg,r.value.join("|")),Object.keys(x).forEach(E=>{Ir.has(E)||(Ir.add(E),Gn(us(x[E]),`_effect-${E}`,{mark:ft,prepend:"queue",attachTo:b}))})}return[C,o.value,O,x,d,f]},(l,s)=>{let[,,c]=l;(s||n.value.autoClear)&&ls&&Xn(c,{mark:ft})}),l=>l}class Y{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}function Dt(e){return e.notSplit=!0,e}Dt(["borderTop","borderBottom"]),Dt(["borderTop"]),Dt(["borderBottom"]),Dt(["borderLeft","borderRight"]),Dt(["borderLeft"]),Dt(["borderRight"]);const Bh="4.2.1",fn=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],Hh=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Vh(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const fs={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"},Ar=g(g({},fs),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', '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});function zh(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:r,colorWarning:a,colorError:l,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),m=n(r),p=n(a),h=n(l),b=n(s),v=o(u,d);return g(g({},v),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[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:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:b[1],colorInfoBgHover:b[2],colorInfoBorder:b[3],colorInfoBorderHover:b[4],colorInfoHover:b[4],colorInfo:b[6],colorInfoActive:b[7],colorInfoTextHover:b[8],colorInfoText:b[9],colorInfoTextActive:b[10],colorBgMask:new pe("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Lh=e=>{let t=e,n=e,o=e,r=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e>16?16:e,borderRadiusXS:o,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:r}};function jh(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:r}=e;return g({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:r+1},Lh(o))}const Fe=(e,t)=>new pe(e).setAlpha(t).toRgbString(),pn=(e,t)=>new pe(e).darken(t).toHexString(),Fh=e=>{const t=Kt(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]}},Wh=(e,t)=>{const n=e||"#fff",o=t||"#000";return{colorBgBase:n,colorTextBase:o,colorText:Fe(o,.88),colorTextSecondary:Fe(o,.65),colorTextTertiary:Fe(o,.45),colorTextQuaternary:Fe(o,.25),colorFill:Fe(o,.15),colorFillSecondary:Fe(o,.06),colorFillTertiary:Fe(o,.04),colorFillQuaternary:Fe(o,.02),colorBgLayout:pn(n,4),colorBgContainer:pn(n,0),colorBgElevated:pn(n,0),colorBgSpotlight:Fe(o,.85),colorBorder:pn(n,15),colorBorderSecondary:pn(n,6)}};function kh(e){const t=new Array(10).fill(null).map((n,o)=>{const r=o-1,a=e*Math.pow(2.71828,r/5),l=o>1?Math.floor(a):Math.ceil(a);return Math.floor(l/2)*2});return t[1]=e,t.map(n=>{const o=n+8;return{size:n,lineHeight:o/n}})}const Kh=e=>{const t=kh(e),n=t.map(r=>r.size),o=t.map(r=>r.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:o[1],lineHeightLG:o[2],lineHeightSM:o[0],lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}};function Uh(e){const t=Object.keys(fs).map(n=>{const o=Kt(e[n]);return new Array(10).fill(1).reduce((r,a,l)=>(r[`${n}-${l+1}`]=o[l],r),{})}).reduce((n,o)=>(n=g(g({},n),o),n),{});return g(g(g(g(g(g(g({},e),t),zh(e,{generateColorPalettes:Fh,generateNeutralColorPalettes:Wh})),Kh(e.fontSize)),Vh(e)),Hh(e)),jh(e))}function Rr(e){return e>=0&&e<=255}function ro(e,t){const{r:n,g:o,b:r,a}=new pe(e).toRgb();if(a<1)return e;const{r:l,g:s,b:c}=new pe(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-l*(1-u))/u),f=Math.round((o-s*(1-u))/u),m=Math.round((r-c*(1-u))/u);if(Rr(d)&&Rr(f)&&Rr(m))return new pe({r:d,g:f,b:m,a:Math.round(u*100)/100}).toRgbString()}return new pe({r:n,g:o,b:r,a:1}).toRgbString()}var Xh=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{delete o[p]});const r=g(g({},n),o),a=480,l=576,s=768,c=992,u=1200,d=1600,f=2e3;return g(g(g({},r),{colorLink:r.colorInfoText,colorLinkHover:r.colorInfoHover,colorLinkActive:r.colorInfoActive,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:ro(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:ro(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:ro(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:ro(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:` 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02) `,boxShadowSecondary:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) `,boxShadowTertiary:` 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02) `,screenXS:a,screenXSMin:a,screenXSMax:l-1,screenSM:l,screenSMMin:l,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,screenXXLMax:f-1,screenXXXL:f,screenXXXLMin:f,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:` 0 1px 2px -2px ${new pe("rgba(0, 0, 0, 0.16)").toRgbString()}, 0 3px 6px 0 ${new pe("rgba(0, 0, 0, 0.12)").toRgbString()}, 0 5px 12px 4px ${new pe("rgba(0, 0, 0, 0.09)").toRgbString()} `,boxShadowDrawerRight:` -6px 0 16px 0 rgba(0, 0, 0, 0.08), -3px 0 6px -4px rgba(0, 0, 0, 0.12), -9px 0 28px 8px rgba(0, 0, 0, 0.05) `,boxShadowDrawerLeft:` 6px 0 16px 0 rgba(0, 0, 0, 0.08), 3px 0 6px -4px rgba(0, 0, 0, 0.12), 9px 0 28px 8px rgba(0, 0, 0, 0.05) `,boxShadowDrawerUp:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) `,boxShadowDrawerDown:` 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) `,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)"}),o)}const Yh=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),ps=(e,t,n,o,r)=>{const a=e/2,l=0,s=a,c=n*1/Math.sqrt(2),u=a-n*(1-1/Math.sqrt(2)),d=a-t*(1/Math.sqrt(2)),f=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),m=2*a-d,p=f,h=2*a-c,b=u,v=2*a-l,y=s,w=a*Math.sqrt(2)+n*(Math.sqrt(2)-2),$=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:w,height:w,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:o,clipPath:{_multi_value_:!0,value:[`polygon(${$}px 100%, 50% ${$}px, ${2*a-$}px 100%, ${$}px 100%)`,`path('M ${l} ${s} A ${n} ${n} 0 0 0 ${c} ${u} L ${d} ${f} A ${t} ${t} 0 0 1 ${m} ${p} L ${h} ${b} A ${n} ${n} 0 0 0 ${v} ${y} Z')`]},content:'""'}}};function qh(e,t){return fn.reduce((n,o)=>{const r=e[`${o}-1`],a=e[`${o}-3`],l=e[`${o}-6`],s=e[`${o}-7`];return g(g({},n),t(o,{lightColor:r,lightBorderColor:a,darkColor:l,textColor:s}))},{})}const Dr={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Qe=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),Qh=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),ms=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Zh=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Jh=(e,t)=>{const{fontFamily:n,fontSize:o}=e,r=`[class^="${t}"], [class*=" ${t}"]`;return{[r]:{fontFamily:n,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[r]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},gs=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),io=e=>({"&:focus-visible":g({},gs(e))});function Oe(e,t,n){return o=>{const r=i.computed(()=>o==null?void 0:o.value),[a,l,s]=mn(),{getPrefixCls:c,iconPrefixCls:u}=Vg(),d=i.computed(()=>c()),f=i.computed(()=>({theme:a.value,token:l.value,hashId:s.value,path:["Shared",d.value]}));ds(f,()=>[{"&":Zh(l.value)}]);const m=i.computed(()=>({theme:a.value,token:l.value,hashId:s.value,path:[e,r.value,u.value]}));return[ds(m,()=>{const{token:p,flush:h}=tv(l.value),b=typeof n=="function"?n(p):n,v=g(g({},b),l.value[e]),y=`.${r.value}`,w=ve(p,{componentCls:y,prefixCls:r.value,iconCls:`.${u.value}`,antCls:`.${d.value}`},v),$=t(w,{hashId:s.value,prefixCls:r.value,rootPrefixCls:d.value,iconPrefixCls:u.value,overrideComponentToken:l.value[e]});return h(e,v),[Jh(l.value,r.value),$]}),s]}}const hs=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let Br=!0;function ve(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(r).forEach(l=>{Object.defineProperty(o,l,{configurable:!0,enumerable:!0,get:()=>r[l]})})}),Br=!0,o}function ev(){}function tv(e){let t,n=e,o=ev;return hs&&(t=new Set,n=new Proxy(e,{get(r,a){return Br&&t.add(a),r[a]}}),o=(r,a)=>{Array.from(t)}),{token:n,keys:t,flush:o}}const nv=Qg(Uh),ov={token:Ar,hashed:!0},vs=Symbol("DesignTokenContext"),Hr=i.shallowRef(),rv=e=>{i.provide(vs,e),i.watch(e,()=>{Hr.value=i.unref(e),i.triggerRef(Hr)},{immediate:!0,deep:!0})};i.defineComponent({props:{value:ge()},setup(e,t){let{slots:n}=t;return rv(i.computed(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function mn(){const e=i.inject(vs,i.computed(()=>Hr.value||ov)),t=i.computed(()=>`${Bh}-${e.value.hashed||""}`),n=i.computed(()=>e.value.theme||nv),o=ch(n,i.computed(()=>[Ar,e.value.token]),i.computed(()=>({salt:t.value,override:g({override:e.value.token},e.value.components),formatToken:Gh})));return[n,i.computed(()=>o.value[0]),i.computed(()=>e.value.hashed?o.value[1]:"")]}const bs=i.defineComponent({compatConfig:{MODE:3},setup(){const[,e]=mn(),t=i.computed(()=>new pe(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>i.createVNode("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[i.createVNode("g",{fill:"none","fill-rule":"evenodd"},[i.createVNode("g",{transform:"translate(24 31.67)"},[i.createVNode("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),i.createVNode("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),i.createVNode("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),i.createVNode("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),i.createVNode("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),i.createVNode("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),i.createVNode("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[i.createVNode("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),i.createVNode("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});bs.PRESENTED_IMAGE_DEFAULT=!0;const ys=i.defineComponent({compatConfig:{MODE:3},setup(){const[,e]=mn(),t=i.computed(()=>{const{colorFill:n,colorFillTertiary:o,colorFillQuaternary:r,colorBgContainer:a}=e.value;return{borderColor:new pe(n).onBackground(a).toHexString(),shadowColor:new pe(o).onBackground(a).toHexString(),contentColor:new pe(r).onBackground(a).toHexString()}});return()=>i.createVNode("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[i.createVNode("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[i.createVNode("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),i.createVNode("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[i.createVNode("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),i.createVNode("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});ys.PRESENTED_IMAGE_SIMPLE=!0;const iv=e=>{const{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:a,lineHeight:l}=e;return{[t]:{marginInline:o,fontSize:a,lineHeight:l,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},av=Oe("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,o=ve(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[iv(o)]});var lv=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String,imageStyle:ge(),image:ln(),description:ln()}),Vr=i.defineComponent({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:sv(),setup(e,t){let{slots:n={},attrs:o}=t;const{direction:r,prefixCls:a}=ae("empty",e),[l,s]=av(a);return()=>{var c,u;const d=a.value,f=g(g({},e),o),{image:m=((c=n.image)===null||c===void 0?void 0:c.call(n))||Ss,description:p=((u=n.description)===null||u===void 0?void 0:u.call(n))||void 0,imageStyle:h,class:b=""}=f,v=lv(f,["image","description","imageStyle","class"]);return l(i.createVNode(zl,{componentName:"Empty",children:y=>{const w=typeof p<"u"?p:y.description,$=typeof w=="string"?w:"empty";let x=null;return typeof m=="string"?x=i.createVNode("img",{alt:$,src:m},null):x=m,i.createVNode("div",_({class:ee(d,b,s.value,{[`${d}-normal`]:m===ws,[`${d}-rtl`]:r.value==="rtl"})},v),[i.createVNode("div",{class:`${d}-image`,style:h},[x]),w&&i.createVNode("p",{class:`${d}-description`},[w]),n.default&&i.createVNode("div",{class:`${d}-footer`},[Re(n.default())])])}},null))}}});Vr.PRESENTED_IMAGE_DEFAULT=Ss,Vr.PRESENTED_IMAGE_SIMPLE=ws;const gn=ut(Vr),cv=e=>{const{prefixCls:t}=ae("empty",e);return(o=>{switch(o){case"Table":case"List":return i.createVNode(gn,{image:gn.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return i.createVNode(gn,{image:gn.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return i.createVNode(gn,null,null)}})(e.componentName)},uv=Symbol("SizeContextKey"),dv=()=>i.inject(uv,i.ref(void 0)),ae=(e,t)=>{const n=dv(),o=Dl(),r=i.inject(Al,g(g({},Rl),{renderEmpty:S=>i.h(cv,{componentName:S})})),a=i.computed(()=>r.getPrefixCls(e,t.prefixCls)),l=i.computed(()=>{var S,T;return(S=t.direction)!==null&&S!==void 0?S:(T=r.direction)===null||T===void 0?void 0:T.value}),s=i.computed(()=>{var S;return(S=t.iconPrefixCls)!==null&&S!==void 0?S:r.iconPrefixCls.value}),c=i.computed(()=>r.getPrefixCls()),u=i.computed(()=>{var S;return(S=r.autoInsertSpaceInButton)===null||S===void 0?void 0:S.value}),d=r.renderEmpty,f=r.space,m=r.pageHeader,p=r.form,h=i.computed(()=>{var S,T;return(S=t.getTargetContainer)!==null&&S!==void 0?S:(T=r.getTargetContainer)===null||T===void 0?void 0:T.value}),b=i.computed(()=>{var S,T,I;return(T=(S=t.getContainer)!==null&&S!==void 0?S:t.getPopupContainer)!==null&&T!==void 0?T:(I=r.getPopupContainer)===null||I===void 0?void 0:I.value}),v=i.computed(()=>{var S,T;return(S=t.dropdownMatchSelectWidth)!==null&&S!==void 0?S:(T=r.dropdownMatchSelectWidth)===null||T===void 0?void 0:T.value}),y=i.computed(()=>{var S;return(t.virtual===void 0?((S=r.virtual)===null||S===void 0?void 0:S.value)!==!1:t.virtual!==!1)&&v.value!==!1}),w=i.computed(()=>t.size||n.value),$=i.computed(()=>{var S,T,I;return(S=t.autocomplete)!==null&&S!==void 0?S:(I=(T=r.input)===null||T===void 0?void 0:T.value)===null||I===void 0?void 0:I.autocomplete}),x=i.computed(()=>{var S;return(S=t.disabled)!==null&&S!==void 0?S:o.value}),C=i.computed(()=>{var S;return(S=t.csp)!==null&&S!==void 0?S:r.csp}),O=i.computed(()=>{var S,T;return(S=t.wave)!==null&&S!==void 0?S:(T=r.wave)===null||T===void 0?void 0:T.value});return{configProvider:r,prefixCls:a,direction:l,size:w,getTargetContainer:h,getPopupContainer:b,space:f,pageHeader:m,form:p,autoInsertSpaceInButton:u,renderEmpty:d,virtual:y,dropdownMatchSelectWidth:v,rootPrefixCls:c,getPrefixCls:r.getPrefixCls,autocomplete:$,csp:C,iconPrefixCls:s,disabled:x,select:r.select,wave:O}},fv=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},pv=Oe("Wave",e=>[fv(e)]);function ht(e){const t=typeof e=="function"?e():e,n=i.ref(t);function o(r){n.value=r}return[n,o]}function mv(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function zr(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&mv(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function gv(e){const{borderTopColor:t,borderColor:n,backgroundColor:o}=getComputedStyle(e);return zr(t)?t:zr(n)?n:zr(o)?o:null}function Lr(e){return Number.isNaN(e)?0:e}const hv=i.defineComponent({props:{target:ge(),className:String},setup(e){const t=i.shallowRef(null),[n,o]=ht(null),[r,a]=ht([]),[l,s]=ht(0),[c,u]=ht(0),[d,f]=ht(0),[m,p]=ht(0),[h,b]=ht(!1);function v(){const{target:S}=e,T=getComputedStyle(S);o(gv(S));const I=T.position==="static",{borderLeftWidth:E,borderTopWidth:N}=T;s(I?S.offsetLeft:Lr(-parseFloat(E))),u(I?S.offsetTop:Lr(-parseFloat(N))),f(S.offsetWidth),p(S.offsetHeight);const{borderTopLeftRadius:H,borderTopRightRadius:D,borderBottomLeftRadius:W,borderBottomRightRadius:P}=T;a([H,D,P,W].map(R=>Lr(parseFloat(R))))}let y,w,$;const x=()=>{clearTimeout($),me.cancel(w),y==null||y.disconnect()},C=()=>{var S;const T=(S=t.value)===null||S===void 0?void 0:S.parentElement;T&&(i.render(null,T),T.parentElement&&T.parentElement.removeChild(T))};i.onMounted(()=>{x(),$=setTimeout(()=>{C()},5e3);const{target:S}=e;S&&(w=me(()=>{v(),b(!0)}),typeof ResizeObserver<"u"&&(y=new ResizeObserver(v),y.observe(S)))}),i.onBeforeUnmount(()=>{x()});const O=S=>{S.propertyName==="opacity"&&C()};return()=>{if(!h.value)return null;const S={left:`${l.value}px`,top:`${c.value}px`,width:`${d.value}px`,height:`${m.value}px`,borderRadius:r.value.map(T=>`${T}px`).join(" ")};return n&&(S["--wave-color"]=n.value),i.createVNode(i.Transition,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[i.createVNode("div",{ref:t,class:e.className,style:S,onTransitionend:O},null)]})}}});function vv(e,t){const n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),i.render(i.createVNode(hv,{target:e,className:t},null),n)}function bv(e,t,n){function o(){var r;const a=Ke(e);!((r=n==null?void 0:n.value)===null||r===void 0)&&r.disabled||!a||vv(a,t.value)}return o}const yv=i.defineComponent({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const o=i.getCurrentInstance(),{prefixCls:r,wave:a}=ae("wave",e),[,l]=pv(r),s=bv(o,i.computed(()=>ee(r.value,l.value)),a);let c;const u=()=>{Ke(o).removeEventListener("click",c,!0)};return i.onMounted(()=>{i.watch(()=>e.disabled,()=>{u(),i.nextTick(()=>{const d=Ke(o);d==null||d.removeEventListener("click",c,!0),!(!d||d.nodeType!==1||e.disabled)&&(c=f=>{f.target.tagName==="INPUT"||!Ma(f.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||s()},d.addEventListener("click",c,!0))})},{immediate:!0,flush:"post"})}),i.onBeforeUnmount(()=>{u()}),()=>{var d;return(d=n.default)===null||d===void 0?void 0:d.call(n)[0]}}}),Cs=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:M.any,href:String,target:String,title:String,onClick:Kn(),onMousedown:Kn()}),Ze=(e,t,n)=>{Xo(e,`[ant-design-vue: ${t}] ${n}`)};var Sv={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};function $s(e){for(var t=1;t{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},Os=e=>{i.nextTick(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},Ts=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},Cv=i.defineComponent({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:n,loading:o}=e;if(t)return i.createVNode("span",{class:`${n}-loading-icon`},[i.createVNode(ao,null,null)]);const r=!!o;return i.createVNode(i.Transition,{name:`${n}-loading-icon-motion`,onBeforeEnter:xs,onEnter:Os,onAfterEnter:Ts,onBeforeLeave:Os,onLeave:a=>{setTimeout(()=>{xs(a)})},onAfterLeave:Ts},{default:()=>[r?i.createVNode("span",{class:`${n}-loading-icon`},[i.createVNode(ao,null,null)]):null]})}}}),Ps=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),$v=e=>{const{componentCls:t,fontSize:n,lineWidth:o,colorPrimaryHover:r,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-o,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Ps(`${t}-primary`,r),Ps(`${t}-danger`,a)]}};function xv(e,t,n){const{focusElCls:o,focus:r,borderElCls:a}=n,l=a?"> *":"",s=["hover",r?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${l}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":g(g({[s]:{zIndex:2}},o?{[`&${o}`]:{zIndex:2}}:{}),{[`&[disabled] ${l}`]:{zIndex:0}})}}function Ov(e,t,n){const{borderElCls:o}=n,r=o?`> ${o}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Tv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,o=`${n}-compact`;return{[o]:g(g({},xv(e,o,t)),Ov(n,o,t))}}function Pv(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ev(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Mv(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:g(g({},Pv(e,t)),Ev(e.componentCls,t))}}const _v=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":g({},io(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},We=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),Iv=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Nv=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),jr=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),lo=(e,t,n,o,r,a,l)=>({[`&${e}-background-ghost`]:g(g({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},We(g({backgroundColor:"transparent"},a),g({backgroundColor:"transparent"},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:r||void 0}})}),Fr=e=>({"&:disabled":g({},jr(e))}),Es=e=>g({},Fr(e)),so=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),Ms=e=>g(g(g(g(g({},Es(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),We({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),lo(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:g(g(g({color:e.colorError,borderColor:e.colorError},We({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),lo(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Fr(e))}),Av=e=>g(g(g(g(g({},Es(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),We({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),lo(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:g(g(g({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},We({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),lo(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Fr(e))}),Rv=e=>g(g({},Ms(e)),{borderStyle:"dashed"}),Dv=e=>g(g(g({color:e.colorLink},We({color:e.colorLinkHover},{color:e.colorLinkActive})),so(e)),{[`&${e.componentCls}-dangerous`]:g(g({color:e.colorError},We({color:e.colorErrorHover},{color:e.colorErrorActive})),so(e))}),Bv=e=>g(g(g({},We({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),so(e)),{[`&${e.componentCls}-dangerous`]:g(g({color:e.colorError},so(e)),We({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),Hv=e=>g(g({},jr(e)),{[`&${e.componentCls}:hover`]:g({},jr(e))}),Vv=e=>{const{componentCls:t}=e;return{[`${t}-default`]:Ms(e),[`${t}-primary`]:Av(e),[`${t}-dashed`]:Rv(e),[`${t}-link`]:Dv(e),[`${t}-text`]:Bv(e),[`${t}-disabled`]:Hv(e)}},Wr=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:o,controlHeight:r,fontSize:a,lineHeight:l,lineWidth:s,borderRadius:c,buttonPaddingHorizontal:u}=e,d=Math.max(0,(r-a*l)/2-s),f=u-s,m=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:a,height:r,padding:`${d}px ${f}px`,borderRadius:c,[`&${m}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${m}) ${n}-loading-icon > ${o}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:Iv(e)},{[`${n}${n}-round${t}`]:Nv(e)}]},zv=e=>Wr(e),Lv=e=>{const t=ve(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return Wr(t,`${e.componentCls}-sm`)},jv=e=>{const t=ve(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return Wr(t,`${e.componentCls}-lg`)},Fv=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Wv=Oe("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,o=ve(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[_v(o),Lv(o),zv(o),jv(o),Fv(o),Vv(o),$v(o),Tv(e,{focus:!1}),Mv(e)]});function _s(e){const t=Symbol("contextKey");return{useProvide:(r,a)=>{const l=i.reactive({});return i.provide(t,l),i.watchEffect(()=>{g(l,r,a||{})}),l},useInject:()=>i.inject(t,e)||{}}}const kv=()=>({prefixCls:String,size:{type:String}}),Is=_s(),kr=i.defineComponent({compatConfig:{MODE:3},name:"AButtonGroup",props:kv(),setup(e,t){let{slots:n}=t;const{prefixCls:o,direction:r}=ae("btn-group",e),[,,a]=mn();Is.useProvide(i.reactive({size:i.computed(()=>e.size)}));const l=i.computed(()=>{const{size:s}=e;let c="";switch(s){case"large":c="lg";break;case"small":c="sm";break;case"middle":case void 0:break;default:Ze(!s,"Button.Group","Invalid prop `size`.")}return{[`${o.value}`]:!0,[`${o.value}-${c}`]:c,[`${o.value}-rtl`]:r.value==="rtl",[a.value]:!0}});return()=>{var s;return i.createVNode("div",{class:l.value},[ue((s=n.default)===null||s===void 0?void 0:s.call(n))])}}}),Kv=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Uv=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-space-item`]:{"&:empty":{display:"none"}}}}},Ns=Oe("Space",e=>[Uv(e),Kv(e)]),Xv=()=>({compactSize:String,compactDirection:M.oneOf(Pt("horizontal","vertical")).def("horizontal"),isFirstItem:he(),isLastItem:he()}),co=_s(null),Gv=(e,t)=>{const n=co.useInject(),o=i.computed(()=>{if(!n||si.isEmpty(n))return"";const{compactDirection:r,isFirstItem:a,isLastItem:l}=n,s=r==="vertical"?"-vertical-":"-";return ee({[`${e.value}-compact${s}item`]:!0,[`${e.value}-compact${s}first-item`]:a,[`${e.value}-compact${s}last-item`]:l,[`${e.value}-compact${s}item-rtl`]:t.value==="rtl"})});return{compactSize:i.computed(()=>n==null?void 0:n.compactSize),compactDirection:i.computed(()=>n==null?void 0:n.compactDirection),compactItemClassnames:o}};i.defineComponent({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return co.useProvide(null),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});const Yv=()=>({prefixCls:String,size:{type:String},direction:M.oneOf(Pt("horizontal","vertical")).def("horizontal"),align:M.oneOf(Pt("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),qv=i.defineComponent({name:"CompactItem",props:Xv(),setup(e,t){let{slots:n}=t;return co.useProvide(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),Kr=i.defineComponent({name:"ASpaceCompact",inheritAttrs:!1,props:Yv(),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,direction:a}=ae("space-compact",e),l=co.useInject(),[s,c]=Ns(r),u=i.computed(()=>ee(r.value,c.value,{[`${r.value}-rtl`]:a.value==="rtl",[`${r.value}-block`]:e.block,[`${r.value}-vertical`]:e.direction==="vertical"}));return()=>{var d;const f=ue(((d=o.default)===null||d===void 0?void 0:d.call(o))||[]);return f.length===0?null:s(i.createVNode("div",_(_({},n),{},{class:[u.value,n.class]}),[f.map((m,p)=>{var h;const b=m&&m.key||`${r.value}-item-${p}`,v=!l||si.isEmpty(l);return i.createVNode(qv,{key:b,compactSize:(h=e.size)!==null&&h!==void 0?h:"middle",compactDirection:e.direction,isFirstItem:p===0&&(v||(l==null?void 0:l.isFirstItem)),isLastItem:p===f.length-1&&(v||(l==null?void 0:l.isLastItem))},{default:()=>[m]})})]))}}}),As=/^[\u4e00-\u9fa5]{2}$/,Rs=As.test.bind(As);function uo(e){return e==="text"||e==="link"}const vt=i.defineComponent({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:St(Cs(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r,expose:a}=t;const{prefixCls:l,autoInsertSpaceInButton:s,direction:c,size:u}=ae("btn",e),[d,f]=Wv(l),m=Is.useInject(),p=Dl(),h=i.computed(()=>{var P;return(P=e.disabled)!==null&&P!==void 0?P:p.value}),b=i.shallowRef(null),v=i.shallowRef(void 0);let y=!1;const w=i.shallowRef(!1),$=i.shallowRef(!1),x=i.computed(()=>s.value!==!1),{compactSize:C,compactItemClassnames:O}=Gv(l,c),S=i.computed(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);i.watch(S,P=>{clearTimeout(v.value),typeof S.value=="number"?v.value=setTimeout(()=>{w.value=P},S.value):w.value=P},{immediate:!0});const T=i.computed(()=>{const{type:P,shape:R="default",ghost:B,block:V,danger:U}=e,G=l.value,L={large:"lg",small:"sm",middle:void 0},X=C.value||(m==null?void 0:m.size)||u.value,J=X&&L[X]||"";return[O.value,{[f.value]:!0,[`${G}`]:!0,[`${G}-${R}`]:R!=="default"&&R,[`${G}-${P}`]:P,[`${G}-${J}`]:J,[`${G}-loading`]:w.value,[`${G}-background-ghost`]:B&&!uo(P),[`${G}-two-chinese-chars`]:$.value&&x.value,[`${G}-block`]:V,[`${G}-dangerous`]:!!U,[`${G}-rtl`]:c.value==="rtl"}]}),I=()=>{const P=b.value;if(!P||s.value===!1)return;const R=P.textContent;y&&Rs(R)?$.value||($.value=!0):$.value&&($.value=!1)},E=P=>{if(w.value||h.value){P.preventDefault();return}r("click",P)},N=P=>{r("mousedown",P)},H=(P,R)=>{const B=R?" ":"";if(P.type===i.Text){let V=P.children.trim();return Rs(V)&&(V=V.split("").join(B)),i.createVNode("span",null,[V])}return P};return i.watchEffect(()=>{Ze(!(e.ghost&&uo(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),i.onMounted(I),i.onUpdated(I),i.onBeforeUnmount(()=>{v.value&&clearTimeout(v.value)}),a({focus:()=>{var P;(P=b.value)===null||P===void 0||P.focus()},blur:()=>{var P;(P=b.value)===null||P===void 0||P.blur()}}),()=>{var P,R;const{icon:B=(P=n.icon)===null||P===void 0?void 0:P.call(n)}=e,V=ue((R=n.default)===null||R===void 0?void 0:R.call(n));y=V.length===1&&!B&&!uo(e.type);const{type:U,htmlType:G,href:L,title:X,target:J}=e,le=w.value?"loading":B,oe=g(g({},o),{title:X,disabled:h.value,class:[T.value,o.class,{[`${l.value}-icon-only`]:V.length===0&&!!le}],onClick:E,onMousedown:N});h.value||delete oe.disabled;const fe=B&&!w.value?B:i.createVNode(Cv,{existIcon:!!B,prefixCls:l.value,loading:!!w.value},null),A=V.map(K=>H(K,y&&x.value));if(L!==void 0)return d(i.createVNode("a",_(_({},oe),{},{href:L,target:J,ref:b}),[fe,A]));let k=i.createVNode("button",_(_({},oe),{},{ref:b,type:G}),[fe,A]);if(!uo(U)){const K=function(){return k}();k=i.createVNode(yv,{ref:"wave",disabled:!!w.value},{default:()=>[K]})}return d(k)}}});vt.Group=kr,vt.install=function(e){return e.component(vt.name,vt),e.component(kr.name,kr),e};const Ds=()=>({arrow:Sl([Boolean,Object]),trigger:{type:[Array,String]},menu:ge(),overlay:M.any,visible:he(),open:he(),disabled:he(),danger:he(),autofocus:he(),align:ge(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:ge(),forceRender:he(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:he(),destroyPopupOnHide:he(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),Ur=Cs(),Qv=()=>g(g({},Ds()),{type:Ur.type,size:String,htmlType:Ur.htmlType,href:String,disabled:he(),prefixCls:String,icon:M.any,title:String,loading:Ur.loading,onClick:Kn()});var Zv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};function Bs(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"";return e.map(n=>`${t}${n}`).join(",")}const Hs=8;function Vs(e){const t=Hs,{sizePopupArrow:n,contentRadius:o,borderRadiusOuter:r,limitVerticalRadius:a}=e,l=n/2-Math.ceil(r*(Math.sqrt(2)-1)),s=(o>12?o+2:12)-l,c=a?t-l:s;return{dropdownArrowOffset:s,dropdownArrowOffsetVertical:c}}function zs(e,t){const{componentCls:n,sizePopupArrow:o,marginXXS:r,borderRadiusXS:a,borderRadiusOuter:l,boxShadowPopoverArrow:s}=e,{colorBg:c,showArrowCls:u,contentRadius:d=e.borderRadiusLG,limitVerticalRadius:f}=t,{dropdownArrowOffsetVertical:m,dropdownArrowOffset:p}=Vs({sizePopupArrow:o,contentRadius:d,borderRadiusOuter:l,limitVerticalRadius:f}),h=o/2+r;return{[n]:{[`${n}-arrow`]:[g(g({position:"absolute",zIndex:1,display:"block"},ps(o,a,l,c,s)),{"&:before":{background:c}})],[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:p}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}},[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:p}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}},[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:m},[`&-placement-leftBottom ${n}-arrow`]:{bottom:m},[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:m},[`&-placement-rightBottom ${n}-arrow`]:{bottom:m},[po(["&-placement-topLeft","&-placement-top","&-placement-topRight"].map(b=>b+=":not(&-arrow-hidden)"),u)]:{paddingBottom:h},[po(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"].map(b=>b+=":not(&-arrow-hidden)"),u)]:{paddingTop:h},[po(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"].map(b=>b+=":not(&-arrow-hidden)"),u)]:{paddingRight:{_skip_check_:!0,value:h}},[po(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"].map(b=>b+=":not(&-arrow-hidden)"),u)]:{paddingLeft:{_skip_check_:!0,value:h}}}}}const eb=e=>({animationDuration:e,animationFillMode:"both"}),tb=e=>({animationDuration:e,animationFillMode:"both"}),Xr=function(e,t,n,o){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${a}${e}-enter, ${a}${e}-appear `]:g(g({},eb(o)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:g(g({},tb(o)),{animationPlayState:"paused"}),[` ${a}${e}-enter${e}-enter-active, ${a}${e}-appear${e}-appear-active `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},nb=new Y("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ob=new Y("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),rb=new Y("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ib=new Y("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ab=new Y("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),lb=new Y("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),sb=new Y("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),cb=new Y("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),ub={"move-up":{inKeyframes:sb,outKeyframes:cb},"move-down":{inKeyframes:nb,outKeyframes:ob},"move-left":{inKeyframes:rb,outKeyframes:ib},"move-right":{inKeyframes:ab,outKeyframes:lb}},Ls=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:a}=ub[t];return[Xr(o,r,a,e.motionDurationMid),{[` ${o}-enter, ${o}-appear `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},js=new Y("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Fs=new Y("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ws=new Y("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ks=new Y("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),db=new Y("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),fb=new Y("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),pb=new Y("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),mb=new Y("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),gb={"slide-up":{inKeyframes:js,outKeyframes:Fs},"slide-down":{inKeyframes:Ws,outKeyframes:ks},"slide-left":{inKeyframes:db,outKeyframes:fb},"slide-right":{inKeyframes:pb,outKeyframes:mb}},mo=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:a}=gb[t];return[Xr(o,r,a,e.motionDurationMid),{[` ${o}-enter, ${o}-appear `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},hb=new Y("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),vb=new Y("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Ks=new Y("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Us=new Y("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),bb=new Y("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),yb=new Y("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Sb=new Y("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),wb=new Y("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),Cb=new Y("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),$b=new Y("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),xb=new Y("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),Ob=new Y("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Tb={zoom:{inKeyframes:hb,outKeyframes:vb},"zoom-big":{inKeyframes:Ks,outKeyframes:Us},"zoom-big-fast":{inKeyframes:Ks,outKeyframes:Us},"zoom-left":{inKeyframes:Sb,outKeyframes:wb},"zoom-right":{inKeyframes:Cb,outKeyframes:$b},"zoom-up":{inKeyframes:bb,outKeyframes:yb},"zoom-down":{inKeyframes:xb,outKeyframes:Ob}},go=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:a}=Tb[t];return[Xr(o,r,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` ${o}-enter, ${o}-appear `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Pb=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),Eb=e=>{const{componentCls:t,antCls:n,paddingXS:o,opacityLoading:r}=e;return{[`${t}-button`]:{whiteSpace:"nowrap",[`&${n}-btn-group > ${n}-btn`]:{[`&-loading, &-loading + ${n}-btn`]:{cursor:"default",pointerEvents:"none",opacity:r},[`&:last-child:not(:first-child):not(${n}-btn-icon-only)`]:{paddingInline:o}}}}},Mb=e=>{const{componentCls:t,menuCls:n,colorError:o,colorTextLightSolid:r}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:o,"&:hover":{color:r,backgroundColor:o}}}}}},_b=e=>{const{componentCls:t,menuCls:n,zIndexPopup:o,dropdownArrowDistance:r,dropdownArrowOffset:a,sizePopupArrow:l,antCls:s,iconCls:c,motionDurationMid:u,dropdownPaddingVertical:d,fontSize:f,dropdownEdgeChildPadding:m,colorTextDisabled:p,fontSizeIcon:h,controlPaddingHorizontal:b,colorBgElevated:v,boxShadowPopoverArrow:y}=e;return[{[t]:g(g({},Qe(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:o,display:"block","&::before":{position:"absolute",insetBlock:-r+l/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${t}-wrap`]:{position:"relative",[`${s}-btn > ${c}-down`]:{fontSize:h},[`${c}-down::before`]:{transition:`transform ${u}`}},[`${t}-wrap-open`]:{[`${c}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[` &-show-arrow${t}-placement-topLeft, &-show-arrow${t}-placement-top, &-show-arrow${t}-placement-topRight `]:{paddingBottom:r},[` &-show-arrow${t}-placement-bottomLeft, &-show-arrow${t}-placement-bottom, &-show-arrow${t}-placement-bottomRight `]:{paddingTop:r},[`${t}-arrow`]:g({position:"absolute",zIndex:1,display:"block"},ps(l,e.borderRadiusXS,e.borderRadiusOuter,v,y)),[` &-placement-top > ${t}-arrow, &-placement-topLeft > ${t}-arrow, &-placement-topRight > ${t}-arrow `]:{bottom:r,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-topRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:a}},[` &-placement-bottom > ${t}-arrow, &-placement-bottomLeft > ${t}-arrow, &-placement-bottomRight > ${t}-arrow `]:{top:r,transform:"translateY(-100%)"},[`&-placement-bottom > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateY(-100%) translateX(-50%)"},[`&-placement-bottomLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-bottomRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:a}},[`&${s}-slide-down-enter${s}-slide-down-enter-active${t}-placement-bottomLeft, &${s}-slide-down-appear${s}-slide-down-appear-active${t}-placement-bottomLeft, &${s}-slide-down-enter${s}-slide-down-enter-active${t}-placement-bottom, &${s}-slide-down-appear${s}-slide-down-appear-active${t}-placement-bottom, &${s}-slide-down-enter${s}-slide-down-enter-active${t}-placement-bottomRight, &${s}-slide-down-appear${s}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:js},[`&${s}-slide-up-enter${s}-slide-up-enter-active${t}-placement-topLeft, &${s}-slide-up-appear${s}-slide-up-appear-active${t}-placement-topLeft, &${s}-slide-up-enter${s}-slide-up-enter-active${t}-placement-top, &${s}-slide-up-appear${s}-slide-up-appear-active${t}-placement-top, &${s}-slide-up-enter${s}-slide-up-enter-active${t}-placement-topRight, &${s}-slide-up-appear${s}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Ws},[`&${s}-slide-down-leave${s}-slide-down-leave-active${t}-placement-bottomLeft, &${s}-slide-down-leave${s}-slide-down-leave-active${t}-placement-bottom, &${s}-slide-down-leave${s}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Fs},[`&${s}-slide-up-leave${s}-slide-up-leave-active${t}-placement-topLeft, &${s}-slide-up-leave${s}-slide-up-leave-active${t}-placement-top, &${s}-slide-up-leave${s}-slide-up-leave-active${t}-placement-topRight`]:{animationName:ks}})},{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:o,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul,li":{listStyle:"none"},ul:{marginInline:"0.3em"}},[`${t}, ${t}-menu-submenu`]:{[n]:g(g({padding:m,listStyleType:"none",backgroundColor:v,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},io(e)),{[`${n}-item-group-title`]:{padding:`${d}px ${b}px`,color:e.colorTextDescription,transition:`all ${u}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:e.borderRadiusSM},[`${n}-item-icon`]:{minWidth:f,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${u}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:g(g({clear:"both",margin:0,padding:`${d}px ${b}px`,color:e.colorText,fontWeight:"normal",fontSize:f,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${u}`,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},io(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:p,cursor:"not-allowed","&:hover":{color:p,backgroundColor:v,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:h,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:b+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:p,backgroundColor:v,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[mo(e,"slide-up"),mo(e,"slide-down"),Ls(e,"move-up"),Ls(e,"move-down"),go(e,"zoom-big")]]},Xs=Oe("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:o,sizePopupArrow:r,controlHeight:a,fontSize:l,lineHeight:s,paddingXXS:c,componentCls:u,borderRadiusOuter:d,borderRadiusLG:f}=e,m=(a-l*s)/2,{dropdownArrowOffset:p}=Vs({sizePopupArrow:r,contentRadius:f,borderRadiusOuter:d}),h=ve(e,{menuCls:`${u}-menu`,rootPrefixCls:n,dropdownArrowDistance:r/2+o,dropdownArrowOffset:p,dropdownPaddingVertical:m,dropdownEdgeChildPadding:c});return[_b(h),Eb(h),Mb(h)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var Ib=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{r("update:visible",m),r("visibleChange",m),r("update:open",m),r("openChange",m)},{prefixCls:l,direction:s,getPopupContainer:c}=ae("dropdown",e),u=i.computed(()=>`${l.value}-button`),[d,f]=Xs(l);return()=>{var m,p;const h=g(g({},e),o),{type:b="default",disabled:v,danger:y,loading:w,htmlType:$,class:x="",overlay:C=(m=n.overlay)===null||m===void 0?void 0:m.call(n),trigger:O,align:S,open:T,visible:I,onVisibleChange:E,placement:N=s.value==="rtl"?"bottomLeft":"bottomRight",href:H,title:D,icon:W=((p=n.icon)===null||p===void 0?void 0:p.call(n))||i.createVNode(fo,null,null),mouseEnterDelay:P,mouseLeaveDelay:R,overlayClassName:B,overlayStyle:V,destroyPopupOnHide:U,onClick:G,"onUpdate:open":L}=h,X=Ib(h,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),J={align:S,disabled:v,trigger:v?[]:O,placement:N,getPopupContainer:c==null?void 0:c.value,onOpenChange:a,mouseEnterDelay:P,mouseLeaveDelay:R,open:T??I,overlayClassName:B,overlayStyle:V,destroyPopupOnHide:U},le=i.createVNode(vt,{danger:y,type:b,disabled:v,loading:w,onClick:G,htmlType:$,href:H,title:D},{default:n.default}),oe=i.createVNode(vt,{danger:y,type:b,icon:W},null);return d(i.createVNode(Nb,_(_({},X),{},{class:ee(u.value,x,f.value)}),{default:()=>[n.leftButton?n.leftButton({button:le}):le,i.createVNode(Gr,J,{default:()=>[n.rightButton?n.rightButton({button:oe}):oe],overlay:()=>C})]}))}}});var Rb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};function Gs(e){for(var t=1;t{l[s]=a?g(g({},l[s]),{overflow:Zs(r),targetOffset:Hb}):g(g({},qs[s]),{overflow:Zs(r)}),l[s].ignoreShake=!0}),l}const ec=Symbol("OverrideContextKey"),tc=()=>i.inject(ec,void 0),Vb=e=>{var t,n,o;const{prefixCls:r,mode:a,selectable:l,validator:s,onClick:c,expandIcon:u}=tc()||{};i.provide(ec,{prefixCls:i.computed(()=>{var d,f;return(f=(d=e.prefixCls)===null||d===void 0?void 0:d.value)!==null&&f!==void 0?f:r==null?void 0:r.value}),mode:i.computed(()=>{var d,f;return(f=(d=e.mode)===null||d===void 0?void 0:d.value)!==null&&f!==void 0?f:a==null?void 0:a.value}),selectable:i.computed(()=>{var d,f;return(f=(d=e.selectable)===null||d===void 0?void 0:d.value)!==null&&f!==void 0?f:l==null?void 0:l.value}),validator:(t=e.validator)!==null&&t!==void 0?t:s,onClick:(n=e.onClick)!==null&&n!==void 0?n:c,expandIcon:(o=e.expandIcon)!==null&&o!==void 0?o:u==null?void 0:u.value})},Gr=i.defineComponent({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:St(Ds(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:a,rootPrefixCls:l,direction:s,getPopupContainer:c}=ae("dropdown",e),[u,d]=Xs(a);process.env.NODE_ENV!=="production"&&[["visible","open"],["onVisibleChange","onOpenChange"],["onUpdate:visible","onUpdate:open"]].forEach(v=>{let[y,w]=v;Ge(e[y]===void 0,"Dropdown",`\`${y}\` is deprecated which will be removed in next major version, please use \`${w}\` instead.`)});const f=i.computed(()=>{const{placement:v="",transitionName:y}=e;return y!==void 0?y:v.includes("top")?`${l.value}-slide-down`:`${l.value}-slide-up`});Vb({prefixCls:i.computed(()=>`${a.value}-menu`),expandIcon:i.computed(()=>i.createVNode("span",{class:`${a.value}-menu-submenu-arrow`},[i.createVNode(ho,{class:`${a.value}-menu-submenu-arrow-icon`},null)])),mode:i.computed(()=>"vertical"),selectable:i.computed(()=>!1),onClick:()=>{},validator:v=>{let{mode:y}=v;Ge(!y||y==="vertical","Dropdown",`mode="${y}" is not supported for Dropdown's Menu.`)}});const m=()=>{var v,y,w;const $=e.overlay||((v=n.overlay)===null||v===void 0?void 0:v.call(n)),x=Array.isArray($)?$[0]:$;if(!x)return null;const C=x.props||{};Ze(!C.mode||C.mode==="vertical","Dropdown",`mode="${C.mode}" is not supported for Dropdown's Menu.`);const{selectable:O=!1,expandIcon:S=(w=(y=x.children)===null||y===void 0?void 0:y.expandIcon)===null||w===void 0?void 0:w.call(y)}=C,T=typeof S<"u"&&kt(S)?S:i.createVNode("span",{class:`${a.value}-menu-submenu-arrow`},[i.createVNode(ho,{class:`${a.value}-menu-submenu-arrow-icon`},null)]);return kt(x)?$e(x,{mode:"vertical",selectable:O,expandIcon:()=>T}):x},p=i.computed(()=>{const v=e.placement;if(!v)return s.value==="rtl"?"bottomRight":"bottomLeft";if(v.includes("Center")){const y=v.slice(0,v.indexOf("Center"));return Ze(!v.includes("Center"),"Dropdown",`You are using '${v}' placement in Dropdown, which is deprecated. Try to use '${y}' instead.`),y}return v}),h=i.computed(()=>typeof e.visible=="boolean"?e.visible:e.open),b=v=>{r("update:visible",v),r("visibleChange",v),r("update:open",v),r("openChange",v)};return()=>{var v,y;const{arrow:w,trigger:$,disabled:x,overlayClassName:C}=e,O=(v=n.default)===null||v===void 0?void 0:v.call(n)[0],S=$e(O,g({class:ee((y=O==null?void 0:O.props)===null||y===void 0?void 0:y.class,{[`${a.value}-rtl`]:s.value==="rtl"},`${a.value}-trigger`)},x?{disabled:x}:{})),T=ee(C,d.value,{[`${a.value}-rtl`]:s.value==="rtl"}),I=x?[]:$;let E;I&&I.includes("contextmenu")&&(E=!0);const N=Js({arrowPointAtCenter:typeof w=="object"&&w.pointAtCenter,autoAdjustOverflow:!0}),H=Ys(g(g(g({},e),o),{visible:h.value,builtinPlacements:N,overlayClassName:T,arrow:!!w,alignPoint:E,prefixCls:a.value,getPopupContainer:c==null?void 0:c.value,transitionName:f.value,trigger:I,onVisibleChange:b,placement:p.value}),["overlay","onUpdate:visible"]);return u(i.createVNode(Bg,H,{default:()=>[S],overlay:m}))}}});Gr.Button=Ab;var zb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};function nc(e){for(var t=1;t({prefixCls:String,href:String,separator:M.any,dropdownProps:ge(),overlay:M.any,onClick:Kn()}),vo=i.defineComponent({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:Fb(),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:a}=ae("breadcrumb",e),l=(c,u)=>{const d=_e(n,e,"overlay");return d?i.createVNode(Gr,_(_({},e.dropdownProps),{},{overlay:d,placement:"bottom"}),{default:()=>[i.createVNode("span",{class:`${u}-overlay-link`},[c,i.createVNode(Yr,null,null)])]}):c},s=c=>{r("click",c)};return()=>{var c;const u=(c=_e(n,e,"separator"))!==null&&c!==void 0?c:"/",d=_e(n,e),{class:f,style:m}=o,p=jb(o,["class","style"]);let h;return e.href!==void 0?h=i.createVNode("a",_({class:`${a.value}-link`,onClick:s},p),[d]):h=i.createVNode("span",_({class:`${a.value}-link`,onClick:s},p),[d]),h=l(h,a.value),d!=null?i.createVNode("li",{class:f,style:m},[h,u&&i.createVNode("span",{class:`${a.value}-separator`},[u])]):null}}});function Wb(e,t,n,o){let r;if(r!==void 0)return!!r;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;const s=Object.prototype.hasOwnProperty.bind(t);for(let c=0;c{i.provide(oc,e)},ke=()=>i.inject(oc),ic=Symbol("ForceRenderKey"),kb=e=>{i.provide(ic,e)},ac=()=>i.inject(ic,!1),lc=Symbol("menuFirstLevelContextKey"),sc=e=>{i.provide(lc,e)},Kb=()=>i.inject(lc,!0),bo=i.defineComponent({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup(e,t){let{slots:n}=t;const o=ke(),r=g({},o);return e.mode!==void 0&&(r.mode=i.toRef(e,"mode")),e.overflowDisabled!==void 0&&(r.overflowDisabled=i.toRef(e,"overflowDisabled")),rc(r),()=>{var a;return(a=n.default)===null||a===void 0?void 0:a.call(n)}}});function Ub(e,t,n,o){for(var r=e.length,a=n+-1;++a-1}function Qb(){}var Zb=1/0,Jb=Tt&&1/dr(new Tt([,-0]))[1]==Zb?function(e){return new Tt(e)}:Qb,e0=200;function t0(e,t,n){var o=-1,r=qb,a=e.length,l=!0,s=[],c=s;if(a>=e0){var u=Jb(e);if(u)return dr(u);l=!1,r=Ka,c=new on}else c=s;e:for(;++o{a&&(a.disconnect(),a=null)},s=d=>{const{onResize:f}=e,m=d[0].target,{width:p,height:h}=m.getBoundingClientRect(),{offsetWidth:b,offsetHeight:v}=m,y=Math.floor(p),w=Math.floor(h);if(o.width!==y||o.height!==w||o.offsetWidth!==b||o.offsetHeight!==v){const $={width:y,height:w,offsetWidth:b,offsetHeight:v};g(o,$),f&&Promise.resolve().then(()=>{f(g(g({},$),{offsetWidth:b,offsetHeight:v}),m)})}},c=i.getCurrentInstance(),u=()=>{const{disabled:d}=e;if(d){l();return}const f=Ke(c);f!==r&&(l(),r=f),!a&&f&&(a=new Ba(s),a.observe(f))};return i.onMounted(()=>{u()}),i.onUpdated(()=>{u()}),i.onUnmounted(()=>{l()}),i.watch(()=>e.disabled,()=>{u()},{flush:"post"}),()=>{var d;return(d=n.default)===null||d===void 0?void 0:d.call(n)[0]}}}),cc=Symbol("OverflowContextProviderKey"),Qr=i.defineComponent({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return i.provide(cc,i.computed(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),o0=()=>i.inject(cc,i.computed(()=>null));var r0=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.responsive&&!e.display),a=i.ref();o({itemNodeRef:a});function l(s){e.registerSize(e.itemKey,s)}return i.onUnmounted(()=>{l(null)}),()=>{var s;const{prefixCls:c,invalidate:u,item:d,renderItem:f,responsive:m,registerSize:p,itemKey:h,display:b,order:v,component:y="div"}=e,w=r0(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),$=(s=n.default)===null||s===void 0?void 0:s.call(n),x=f&&d!==Bt?f(d):$;let C;u||(C={opacity:r.value?0:1,height:r.value?0:Bt,overflowY:r.value?"hidden":Bt,order:m?v:Bt,pointerEvents:r.value?"none":Bt,position:r.value?"absolute":Bt});const O={};return r.value&&(O["aria-hidden"]=!0),i.createVNode(yo,{disabled:!m,onResize:S=>{let{offsetWidth:T}=S;l(T)}},{default:()=>i.createVNode(y,_(_(_({class:ee(!u&&c),style:C},O),w),{},{ref:a}),{default:()=>[x]})})}}});var Zr=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{var a;if(!r.value){const{component:f="div"}=e,m=Zr(e,["component"]);return i.createVNode(f,_(_({},m),o),{default:()=>[(a=n.default)===null||a===void 0?void 0:a.call(n)]})}const l=r.value,{className:s}=l,c=Zr(l,["className"]),{class:u}=o,d=Zr(o,["class"]);return i.createVNode(Qr,{value:null},{default:()=>[i.createVNode(So,_(_(_({class:ee(s,u)},c),d),e),n)]})}}});var a0=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:M.any,component:String,itemComponent:M.any,onVisibleChange:Function,ssr:String,onMousedown:Function}),Je=i.defineComponent({name:"Overflow",inheritAttrs:!1,props:s0(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:o,slots:r}=t;const a=i.computed(()=>e.ssr==="full"),l=i.shallowRef(null),s=i.computed(()=>l.value||0),c=i.shallowRef(new Map),u=i.shallowRef(0),d=i.shallowRef(0),f=i.shallowRef(0),m=i.shallowRef(null),p=i.shallowRef(null),h=i.computed(()=>p.value===null&&a.value?Number.MAX_SAFE_INTEGER:p.value||0),b=i.shallowRef(!1),v=i.computed(()=>`${e.prefixCls}-item`),y=i.computed(()=>Math.max(u.value,d.value)),w=i.computed(()=>!!(e.data.length&&e.maxCount===uc)),$=i.computed(()=>e.maxCount===dc),x=i.computed(()=>w.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),C=i.computed(()=>{let P=e.data;return w.value?l.value===null&&a.value?P=e.data:P=e.data.slice(0,Math.min(e.data.length,s.value/e.itemWidth)):typeof e.maxCount=="number"&&(P=e.data.slice(0,e.maxCount)),P}),O=i.computed(()=>w.value?e.data.slice(h.value+1):e.data.slice(C.value.length)),S=(P,R)=>{var B;return typeof e.itemKey=="function"?e.itemKey(P):(B=e.itemKey&&(P==null?void 0:P[e.itemKey]))!==null&&B!==void 0?B:R},T=i.computed(()=>e.renderItem||(P=>P)),I=(P,R)=>{p.value=P,R||(b.value=P{l.value=R.clientWidth},N=(P,R)=>{const B=new Map(c.value);R===null?B.delete(P):B.set(P,R),c.value=B},H=(P,R)=>{u.value=d.value,d.value=R},D=(P,R)=>{f.value=R},W=P=>c.value.get(S(C.value[P],P));return i.watch([s,c,d,f,()=>e.itemKey,C],()=>{if(s.value&&y.value&&C.value){let P=f.value;const R=C.value.length,B=R-1;if(!R){I(0),m.value=null;return}for(let V=0;Vs.value){I(V-1),m.value=P-U-f.value+d.value;break}}e.suffix&&W(0)+f.value>s.value&&(m.value=null)}}),()=>{const P=b.value&&!!O.value.length,{itemComponent:R,renderRawItem:B,renderRawRest:V,renderRest:U,prefixCls:G="rc-overflow",suffix:L,component:X="div",id:J,onMousedown:le}=e,{class:oe,style:fe}=n,A=a0(n,["class","style"]);let k={};m.value!==null&&w.value&&(k={position:"absolute",left:`${m.value}px`,top:0});const K={prefixCls:v.value,responsive:w.value,component:R,invalidate:$.value},ne=B?(re,Ee)=>{const bt=S(re,Ee);return i.createVNode(Qr,{key:bt,value:g(g({},K),{order:Ee,item:re,itemKey:bt,registerSize:N,display:Ee<=h.value})},{default:()=>[B(re,Ee)]})}:(re,Ee)=>{const bt=S(re,Ee);return i.createVNode(So,_(_({},K),{},{order:Ee,key:bt,item:re,renderItem:T.value,itemKey:bt,registerSize:N,display:Ee<=h.value}),null)};let Q=()=>null;const Z={order:P?h.value:Number.MAX_SAFE_INTEGER,className:`${v.value} ${v.value}-rest`,registerSize:H,display:P};if(V)V&&(Q=()=>i.createVNode(Qr,{value:g(g({},K),Z)},{default:()=>[V(O.value)]}));else{const re=U||l0;Q=()=>i.createVNode(So,_(_({},K),Z),{default:()=>typeof re=="function"?re(O.value):re})}const we=()=>{var re;return i.createVNode(X,_({id:J,class:ee(!$.value&&G,oe),style:fe,onMousedown:le},A),{default:()=>[C.value.map(ne),x.value?Q():null,L&&i.createVNode(So,_(_({},K),{},{order:h.value,class:`${v.value}-suffix`,registerSize:D,display:!0,style:k}),{default:()=>L}),(re=r.default)===null||re===void 0?void 0:re.call(r)]})};return i.createVNode(yo,{disabled:!w.value,onResize:E},{default:we})}}});Je.Item=i0,Je.RESPONSIVE=uc,Je.INVALIDATE=dc;const wo="$$__vc-menu-more__key",fc=Symbol("KeyPathContext"),Jr=()=>i.inject(fc,{parentEventKeys:i.computed(()=>[]),parentKeys:i.computed(()=>[]),parentInfo:{}}),c0=(e,t,n)=>{const{parentEventKeys:o,parentKeys:r}=Jr(),a=i.computed(()=>[...o.value,e]),l=i.computed(()=>[...r.value,t]);return i.provide(fc,{parentEventKeys:a,parentKeys:l,parentInfo:n}),l},pc=Symbol("measure"),mc=i.defineComponent({compatConfig:{MODE:3},setup(e,t){let{slots:n}=t;return i.provide(pc,!0),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),ei=()=>i.inject(pc,!1),u0={prefixCls:String,id:String,overlayInnerStyle:M.any},d0=i.defineComponent({compatConfig:{MODE:3},name:"TooltipContent",props:u0,setup(e,t){let{slots:n}=t;return()=>{var o;return i.createVNode("div",{class:`${e.prefixCls}-inner`,id:e.id,role:"tooltip",style:e.overlayInnerStyle},[(o=n.overlay)===null||o===void 0?void 0:o.call(n)])}}});var f0=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:M.string.def("rc-tooltip"),mouseEnterDelay:M.number.def(.1),mouseLeaveDelay:M.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:M.object.def(()=>({})),arrowContent:M.any.def(null),tipId:String,builtinPlacements:M.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function,arrow:{type:Boolean,default:!0}},setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=i.shallowRef(),l=()=>{const{prefixCls:d,tipId:f,overlayInnerStyle:m}=e;return[e.arrow?i.createVNode("div",{class:`${d}-arrow`,key:"arrow"},[_e(n,e,"arrowContent")]):null,i.createVNode(d0,{key:"content",prefixCls:d,id:f,overlayInnerStyle:m},{overlay:n.overlay})]};r({getPopupDomNode:()=>a.value.getPopupDomNode(),triggerDOM:a,forcePopupAlign:()=>{var d;return(d=a.value)===null||d===void 0?void 0:d.forcePopupAlign()}});const c=i.shallowRef(!1),u=i.shallowRef(!1);return i.watchEffect(()=>{const{destroyTooltipOnHide:d}=e;if(typeof d=="boolean")c.value=d;else if(d&&typeof d=="object"){const{keepParent:f}=d;c.value=f===!0,u.value=f===!1}}),()=>{const{overlayClassName:d,trigger:f,mouseEnterDelay:m,mouseLeaveDelay:p,overlayStyle:h,prefixCls:b,afterVisibleChange:v,transitionName:y,animation:w,placement:$,align:x,destroyTooltipOnHide:C,defaultVisible:O}=e,S=f0(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),T=g({},S);e.visible!==void 0&&(T.popupVisible=e.visible);const I=g(g(g({popupClassName:d,prefixCls:b,action:f,builtinPlacements:qs,popupPlacement:$,popupAlign:x,afterPopupVisibleChange:v,popupTransitionName:y,popupAnimation:w,defaultPopupVisible:O,destroyPopupOnHide:c.value,autoDestroy:u.value,mouseLeaveDelay:p,popupStyle:h,mouseEnterDelay:m},T),o),{onPopupVisibleChange:e.onVisibleChange||gc,onPopupAlign:e.onPopupAlign||gc,ref:a,arrow:!!e.arrow,popup:l()});return i.createVNode(Sr,I,{default:n.default})}}}),hc=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:ge(),overlayInnerStyle:ge(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},arrow:{type:[Boolean,Object],default:!0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:ge(),builtinPlacements:ge(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function});function m0(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let t=0,n=e.length;t`${e}-inverse`);function h0(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...g0,...fn].includes(e):fn.includes(e)}function v0(e,t){const n=h0(t),o=ee({[`${e}-${t}`]:t&&n}),r={},a={};return t&&!n&&(r.background=t,a["--antd-arrow-background-color"]=t),{className:o,overlayStyle:r,arrowStyle:a}}const b0=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:a,zIndexPopup:l,controlHeight:s,boxShadowSecondary:c,paddingSM:u,paddingXS:d,tooltipRadiusOuter:f}=e;return[{[t]:g(g(g(g({},Qe(e)),{position:"absolute",zIndex:l,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${t}-inner`]:{minWidth:s,minHeight:s,padding:`${u/2}px ${d}px`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:a,boxShadow:c},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(a,Hs)}},[`${t}-content`]:{position:"relative"}}),qh(e,(m,p)=>{let{darkColor:h}=p;return{[`&${t}-${m}`]:{[`${t}-inner`]:{backgroundColor:h},[`${t}-arrow`]:{"--antd-arrow-background-color":h}}}})),{"&-rtl":{direction:"rtl"}})},zs(ve(e,{borderRadiusOuter:f}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:a,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none"}}]},y0=(e,t)=>Oe("Tooltip",o=>{if((t==null?void 0:t.value)===!1)return[];const{borderRadius:r,colorTextLightSolid:a,colorBgDefault:l,borderRadiusOuter:s}=o,c=ve(o,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:r,tooltipBg:l,tooltipRadiusOuter:s>4?4:s});return[b0(c),go(o,"zoom-big-fast")]},o=>{let{zIndexPopupBase:r,colorBgSpotlight:a}=o;return{zIndexPopup:r+70,colorBgDefault:a}})(e),S0=(e,t)=>{const n={},o=g({},e);return t.forEach(r=>{e&&r in e&&(n[r]=e[r],delete o[r])}),{picked:n,omitted:o}},w0=()=>g(g({},hc()),{title:M.any}),C0=()=>({trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),$0=i.defineComponent({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:St(w0(),{trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r,expose:a}=t;process.env.NODE_ENV!=="production"&&[["visible","open"],["onVisibleChange","onOpenChange"]].forEach(E=>{let[N,H]=E;Ge(e[N]===void 0,"Tooltip",`\`${N}\` is deprecated, please use \`${H}\` instead.`)});const{prefixCls:l,getPopupContainer:s,direction:c,rootPrefixCls:u}=ae("tooltip",e),d=i.computed(()=>{var E;return(E=e.open)!==null&&E!==void 0?E:e.visible}),f=i.ref(m0([e.open,e.visible])),m=i.ref();let p;i.watch(d,E=>{me.cancel(p),p=me(()=>{f.value=!!E})});const h=()=>{var E;const N=(E=e.title)!==null&&E!==void 0?E:n.title;return!N&&N!==0},b=E=>{const N=h();d.value===void 0&&(f.value=N?!1:E),N||(o("update:visible",E),o("visibleChange",E),o("update:open",E),o("openChange",E))};a({getPopupDomNode:()=>m.value.getPopupDomNode(),open:f,forcePopupAlign:()=>{var E;return(E=m.value)===null||E===void 0?void 0:E.forcePopupAlign()}});const y=i.computed(()=>{var E;const{builtinPlacements:N,autoAdjustOverflow:H,arrow:D,arrowPointAtCenter:W}=e;let P=W;return typeof D=="object"&&(P=(E=D.pointAtCenter)!==null&&E!==void 0?E:W),N||Js({arrowPointAtCenter:P,autoAdjustOverflow:H})}),w=E=>E||E==="",$=E=>{const N=E.type;if(typeof N=="object"&&E.props&&((N.__ANT_BUTTON===!0||N==="button")&&w(E.props.disabled)||N.__ANT_SWITCH===!0&&(w(E.props.disabled)||w(E.props.loading))||N.__ANT_RADIO===!0&&w(E.props.disabled))){const{picked:H,omitted:D}=S0(bu(E),["position","left","right","top","bottom","float","display","zIndex"]),W=g(g({display:"inline-block"},H),{cursor:"not-allowed",lineHeight:1,width:E.props&&E.props.block?"100%":void 0}),P=g(g({},D),{pointerEvents:"none"}),R=$e(E,{style:P},!0);return i.createVNode("span",{style:W,class:`${l.value}-disabled-compatible-wrapper`},[R])}return E},x=()=>{var E,N;return(E=e.title)!==null&&E!==void 0?E:(N=n.title)===null||N===void 0?void 0:N.call(n)},C=(E,N)=>{const H=y.value,D=Object.keys(H).find(W=>{var P,R;return H[W].points[0]===((P=N.points)===null||P===void 0?void 0:P[0])&&H[W].points[1]===((R=N.points)===null||R===void 0?void 0:R[1])});if(D){const W=E.getBoundingClientRect(),P={top:"50%",left:"50%"};D.indexOf("top")>=0||D.indexOf("Bottom")>=0?P.top=`${W.height-N.offset[1]}px`:(D.indexOf("Top")>=0||D.indexOf("bottom")>=0)&&(P.top=`${-N.offset[1]}px`),D.indexOf("left")>=0||D.indexOf("Right")>=0?P.left=`${W.width-N.offset[0]}px`:(D.indexOf("right")>=0||D.indexOf("Left")>=0)&&(P.left=`${-N.offset[0]}px`),E.style.transformOrigin=`${P.left} ${P.top}`}},O=i.computed(()=>v0(l.value,e.color)),S=i.computed(()=>r["data-popover-inject"]),[T,I]=y0(l,i.computed(()=>!S.value));return()=>{var E,N;const{openClassName:H,overlayClassName:D,overlayStyle:W,overlayInnerStyle:P}=e;let R=(N=Re((E=n.default)===null||E===void 0?void 0:E.call(n)))!==null&&N!==void 0?N:null;R=R.length===1?R[0]:R;let B=f.value;if(d.value===void 0&&h()&&(B=!1),!R)return null;const V=$(kt(R)&&!yu(R)?R:i.createVNode("span",null,[R])),U=ee({[H||`${l.value}-open`]:!0,[V.props&&V.props.class]:V.props&&V.props.class}),G=ee(D,{[`${l.value}-rtl`]:c.value==="rtl"},O.value.className,I.value),L=g(g({},O.value.overlayStyle),P),X=O.value.arrowStyle,J=g(g(g({},r),e),{prefixCls:l.value,arrow:!!e.arrow,getPopupContainer:s==null?void 0:s.value,builtinPlacements:y.value,visible:B,ref:m,overlayClassName:G,overlayStyle:g(g({},X),W),overlayInnerStyle:L,onVisibleChange:b,onPopupAlign:C,transitionName:Cl(u.value,"zoom-big-fast",e.transitionName)});return T(i.createVNode(p0,J,{default:()=>[f.value?$e(V,{class:U}):V],arrowContent:()=>i.createVNode("span",{class:`${l.value}-arrow-content`},null),overlay:x}))}}}),vc=ut($0),z={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){const{keyCode:n}=t;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=z.F1&&n<=z.F12)return!1;switch(n){case z.ALT:case z.CAPS_LOCK:case z.CONTEXT_MENU:case z.CTRL:case z.DOWN:case z.END:case z.ESC:case z.HOME:case z.INSERT:case z.LEFT:case z.MAC_FF_META:case z.META:case z.NUMLOCK:case z.NUM_CENTER:case z.PAGE_DOWN:case z.PAGE_UP:case z.PAUSE:case z.PRINT_SCREEN:case z.RIGHT:case z.SHIFT:case z.UP:case z.WIN_KEY:case z.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=z.ZERO&&t<=z.NINE||t>=z.NUM_ZERO&&t<=z.NUM_MULTIPLY||t>=z.A&&t<=z.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case z.SPACE:case z.QUESTION_MARK:case z.NUM_PLUS:case z.NUM_MINUS:case z.NUM_PERIOD:case z.NUM_DIVISION:case z.SEMICOLON:case z.DASH:case z.EQUALS:case z.COMMA:case z.PERIOD:case z.SLASH:case z.APOSTROPHE:case z.SINGLE_QUOTE:case z.OPEN_SQUARE_BRACKET:case z.BACKSLASH:case z.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};function bc(e){const{mode:t,rtl:n,inlineIndent:o}=ke();return i.computed(()=>t.value!=="inline"?null:n.value?{paddingRight:`${e.value*o.value}px`}:{paddingLeft:`${e.value*o.value}px`})}let x0=0;const O0=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:M.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:ge()}),vn=i.defineComponent({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:O0(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const a=i.getCurrentInstance(),l=ei(),s=typeof a.vnode.key=="symbol"?String(a.vnode.key):a.vnode.key;Ze(typeof a.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(s)}"\` not support Symbol type`);const c=`menu_item_${++x0}_$$_${s}`,{parentEventKeys:u,parentKeys:d}=Jr(),{prefixCls:f,activeKeys:m,disabled:p,changeActiveKeys:h,rtl:b,inlineCollapsed:v,siderCollapsed:y,onItemClick:w,selectedKeys:$,registerMenuInfo:x,unRegisterMenuInfo:C}=ke(),O=Kb(),S=i.shallowRef(!1),T=i.computed(()=>[...d.value,s]);x(c,{eventKey:c,key:s,parentEventKeys:u,parentKeys:d,isLeaf:!0}),i.onBeforeUnmount(()=>{C(c)}),i.watch(m,()=>{S.value=!!m.value.find(L=>L===s)},{immediate:!0});const E=i.computed(()=>p.value||e.disabled),N=i.computed(()=>$.value.includes(s)),H=i.computed(()=>{const L=`${f.value}-item`;return{[`${L}`]:!0,[`${L}-danger`]:e.danger,[`${L}-active`]:S.value,[`${L}-selected`]:N.value,[`${L}-disabled`]:E.value}}),D=L=>({key:s,eventKey:c,keyPath:T.value,eventKeyPath:[...u.value,c],domEvent:L,item:g(g({},e),r)}),W=L=>{if(E.value)return;const X=D(L);o("click",L),w(X)},P=L=>{E.value||(h(T.value),o("mouseenter",L))},R=L=>{E.value||(h([]),o("mouseleave",L))},B=L=>{if(o("keydown",L),L.which===z.ENTER){const X=D(L);o("click",L),w(X)}},V=L=>{h(T.value),o("focus",L)},U=(L,X)=>{const J=i.createVNode("span",{class:`${f.value}-title-content`},[X]);return(!L||kt(X)&&X.type==="span")&&X&&v.value&&O&&typeof X=="string"?i.createVNode("div",{class:`${f.value}-inline-collapsed-noicon`},[X.charAt(0)]):J},G=bc(i.computed(()=>T.value.length));return()=>{var L,X,J,le,oe;if(l)return null;const fe=(L=e.title)!==null&&L!==void 0?L:(X=n.title)===null||X===void 0?void 0:X.call(n),A=ue((J=n.default)===null||J===void 0?void 0:J.call(n)),k=A.length;let K=fe;typeof fe>"u"?K=O&&k?A:"":fe===!1&&(K="");const ne={title:K};!y.value&&!v.value&&(ne.title=null,ne.open=!1);const Q={};e.role==="option"&&(Q["aria-selected"]=N.value);const Z=(le=e.icon)!==null&&le!==void 0?le:(oe=n.icon)===null||oe===void 0?void 0:oe.call(n,e);return i.createVNode(vc,_(_({},ne),{},{placement:b.value?"left":"right",overlayClassName:`${f.value}-inline-collapsed-tooltip`}),{default:()=>[i.createVNode(Je.Item,_(_(_({component:"li"},r),{},{id:e.id,style:g(g({},r.style||{}),G.value),class:[H.value,{[`${r.class}`]:!!r.class,[`${f.value}-item-only-child`]:(Z?k+1:k)===1}],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":s,"aria-disabled":e.disabled},Q),{},{onMouseenter:P,onMouseleave:R,onClick:W,onKeydown:B,onFocus:V,title:typeof fe=="string"?fe:void 0}),{default:()=>[$e(typeof Z=="function"?Z(e.originItemValue):Z,{class:`${f.value}-item-icon`},!1),U(Z,A)]})]})}}}),et={adjustX:1,adjustY:1},T0={topLeft:{points:["bl","tl"],overflow:et,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:et,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:et,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:et,offset:[4,0]}},P0={topLeft:{points:["bl","tl"],overflow:et,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:et,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:et,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:et,offset:[4,0]}},E0={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},yc=i.defineComponent({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:Object,emits:["visibleChange"],setup(e,t){let{slots:n,emit:o}=t;const r=i.shallowRef(!1),{getPopupContainer:a,rtl:l,subMenuOpenDelay:s,subMenuCloseDelay:c,builtinPlacements:u,triggerSubMenuAction:d,forceSubMenuRender:f,motion:m,defaultMotions:p,rootClassName:h}=ke(),b=ac(),v=i.computed(()=>l.value?g(g({},P0),u.value):g(g({},T0),u.value)),y=i.computed(()=>E0[e.mode]),w=i.shallowRef();i.watch(()=>e.visible,C=>{me.cancel(w.value),w.value=me(()=>{r.value=C})},{immediate:!0}),i.onBeforeUnmount(()=>{me.cancel(w.value)});const $=C=>{o("visibleChange",C)},x=i.computed(()=>{var C,O;const S=m.value||((C=p.value)===null||C===void 0?void 0:C[e.mode])||((O=p.value)===null||O===void 0?void 0:O.other),T=typeof S=="function"?S():S;return T?wl(T.name,{css:!0}):void 0});return()=>{const{prefixCls:C,popupClassName:O,mode:S,popupOffset:T,disabled:I}=e;return i.createVNode(Sr,{prefixCls:C,popupClassName:ee(`${C}-popup`,{[`${C}-rtl`]:l.value},O,h.value),stretch:S==="horizontal"?"minWidth":null,getPopupContainer:a.value,builtinPlacements:v.value,popupPlacement:y.value,popupVisible:r.value,popupAlign:T&&{offset:T},action:I?[]:[d.value],mouseEnterDelay:s.value,mouseLeaveDelay:c.value,onPopupVisibleChange:$,forceRender:b||f.value,popupAnimation:x.value},{popup:n.popup,default:n.default})}}}),ti=(e,t)=>{let{slots:n,attrs:o}=t;var r;const{prefixCls:a,mode:l}=ke();return i.createVNode("ul",_(_({},o),{},{class:ee(a.value,`${a.value}-sub`,`${a.value}-${l.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(r=n.default)===null||r===void 0?void 0:r.call(n)])};ti.displayName="SubMenuList";const M0=i.defineComponent({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup(e,t){let{slots:n}=t;const o=i.computed(()=>"inline"),{motion:r,mode:a,defaultMotions:l}=ke(),s=i.computed(()=>a.value===o.value),c=i.ref(!s.value),u=i.computed(()=>s.value?e.open:!1);i.watch(a,()=>{s.value&&(c.value=!1)},{flush:"post"});const d=i.computed(()=>{var f,m;const p=r.value||((f=l.value)===null||f===void 0?void 0:f[o.value])||((m=l.value)===null||m===void 0?void 0:m.other),h=typeof p=="function"?p():p;return g(g({},h),{appear:e.keyPath.length<=1})});return()=>{var f;return c.value?null:i.createVNode(bo,{mode:o.value},{default:()=>[i.createVNode(i.Transition,d.value,{default:()=>[i.withDirectives(i.createVNode(ti,{id:e.id},{default:()=>[(f=n.default)===null||f===void 0?void 0:f.call(n)]}),[[i.vShow,u.value]])]})]})}}});let Sc=0;const _0=()=>({icon:M.any,title:M.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:ge()}),Ht=i.defineComponent({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:_0(),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;var a,l;sc(!1);const s=ei(),c=i.getCurrentInstance(),u=typeof c.vnode.key=="symbol"?String(c.vnode.key):c.vnode.key;Ze(typeof c.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(u)}"\` not support Symbol type`);const d=Io(u)?u:`sub_menu_${++Sc}_$$_not_set_key`,f=(a=e.eventKey)!==null&&a!==void 0?a:Io(u)?`sub_menu_${++Sc}_$$_${u}`:d,{parentEventKeys:m,parentInfo:p,parentKeys:h}=Jr(),b=i.computed(()=>[...h.value,d]),v=i.shallowRef([]),y={eventKey:f,key:d,parentEventKeys:m,childrenEventKeys:v,parentKeys:h};(l=p.childrenEventKeys)===null||l===void 0||l.value.push(f),i.onBeforeUnmount(()=>{var q;p.childrenEventKeys&&(p.childrenEventKeys.value=(q=p.childrenEventKeys)===null||q===void 0?void 0:q.value.filter(ce=>ce!=f))}),c0(f,d,y);const{prefixCls:w,activeKeys:$,disabled:x,changeActiveKeys:C,mode:O,inlineCollapsed:S,openKeys:T,overflowDisabled:I,onOpenChange:E,registerMenuInfo:N,unRegisterMenuInfo:H,selectedSubMenuKeys:D,expandIcon:W,theme:P}=ke(),R=u!=null,B=!s&&(ac()||!R);kb(B),(s&&R||!s&&!R||B)&&(N(f,y),i.onBeforeUnmount(()=>{H(f)}));const V=i.computed(()=>`${w.value}-submenu`),U=i.computed(()=>x.value||e.disabled),G=i.shallowRef(),L=i.shallowRef(),X=i.computed(()=>T.value.includes(d)),J=i.computed(()=>!I.value&&X.value),le=i.computed(()=>D.value.includes(d)),oe=i.shallowRef(!1);i.watch($,()=>{oe.value=!!$.value.find(q=>q===d)},{immediate:!0});const fe=q=>{U.value||(r("titleClick",q,d),O.value==="inline"&&E(d,!X.value))},A=q=>{U.value||(C(b.value),r("mouseenter",q))},k=q=>{U.value||(C([]),r("mouseleave",q))},K=bc(i.computed(()=>b.value.length)),ne=q=>{O.value!=="inline"&&E(d,q)},Q=()=>{C(b.value)},Z=f&&`${f}-popup`,we=i.computed(()=>ee(w.value,`${w.value}-${e.theme||P.value}`,e.popupClassName)),re=(q,ce)=>{if(!ce)return S.value&&!h.value.length&&q&&typeof q=="string"?i.createVNode("div",{class:`${w.value}-inline-collapsed-noicon`},[q.charAt(0)]):i.createVNode("span",{class:`${w.value}-title-content`},[q]);const nt=kt(q)&&q.type==="span";return i.createVNode(i.Fragment,null,[$e(typeof ce=="function"?ce(e.originItemValue):ce,{class:`${w.value}-item-icon`},!1),nt?q:i.createVNode("span",{class:`${w.value}-title-content`},[q])])},Ee=i.computed(()=>O.value!=="inline"&&b.value.length>1?"vertical":O.value),bt=i.computed(()=>O.value==="horizontal"?"vertical":O.value),jy=i.computed(()=>Ee.value==="horizontal"?"vertical":Ee.value),Vc=()=>{var q,ce;const nt=V.value,ai=(q=e.icon)!==null&&q!==void 0?q:(ce=n.icon)===null||ce===void 0?void 0:ce.call(n,e),zc=e.expandIcon||n.expandIcon||W.value,li=re(_e(n,e,"title"),ai);return i.createVNode("div",{style:K.value,class:`${nt}-title`,tabindex:U.value?null:-1,ref:G,title:typeof li=="string"?li:null,"data-menu-id":d,"aria-expanded":J.value,"aria-haspopup":!0,"aria-controls":Z,"aria-disabled":U.value,onClick:fe,onFocus:Q},[li,O.value!=="horizontal"&&zc?zc(g(g({},e),{isOpen:J.value})):i.createVNode("i",{class:`${nt}-arrow`},null)])};return()=>{var q;if(s)return R?(q=n.default)===null||q===void 0?void 0:q.call(n):null;const ce=V.value;let nt=()=>null;if(!I.value&&O.value!=="inline"){const ai=O.value==="horizontal"?[0,8]:[10,0];nt=()=>i.createVNode(yc,{mode:Ee.value,prefixCls:ce,visible:!e.internalPopupClose&&J.value,popupClassName:we.value,popupOffset:e.popupOffset||ai,disabled:U.value,onVisibleChange:ne},{default:()=>[Vc()],popup:()=>i.createVNode(bo,{mode:jy.value},{default:()=>[i.createVNode(ti,{id:Z,ref:L},{default:n.default})]})})}else nt=()=>i.createVNode(yc,null,{default:Vc});return i.createVNode(bo,{mode:bt.value},{default:()=>[i.createVNode(Je.Item,_(_({component:"li"},o),{},{role:"none",class:ee(ce,`${ce}-${O.value}`,o.class,{[`${ce}-open`]:J.value,[`${ce}-active`]:oe.value,[`${ce}-selected`]:le.value,[`${ce}-disabled`]:U.value}),onMouseenter:A,onMouseleave:k,"data-submenu-id":d}),{default:()=>i.createVNode(i.Fragment,null,[nt(),!I.value&&i.createVNode(M0,{id:Z,open:J.value,keyPath:b.value},{default:n.default})])})]})}}});function wc(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function Cc(e,t){e.classList?e.classList.add(t):wc(e,t)||(e.className=`${e.className} ${t}`)}function $c(e,t){if(e.classList)e.classList.remove(t);else if(wc(e,t)){const n=e.className;e.className=` ${n} `.replace(` ${t} `," ")}}const I0=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:e,appear:t,css:!0,onBeforeEnter:n=>{n.style.height="0px",n.style.opacity="0",Cc(n,e)},onEnter:n=>{i.nextTick(()=>{n.style.height=`${n.scrollHeight}px`,n.style.opacity="1"})},onAfterEnter:n=>{n&&($c(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:n=>{Cc(n,e),n.style.height=`${n.offsetHeight}px`,n.style.opacity=null},onLeave:n=>{setTimeout(()=>{n.style.height="0px",n.style.opacity="0"})},onAfterLeave:n=>{n&&($c(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}},N0=()=>({title:M.any,originItemValue:ge()}),Co=i.defineComponent({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:N0(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=ke(),a=i.computed(()=>`${r.value}-item-group`),l=ei();return()=>{var s,c;return l?(s=n.default)===null||s===void 0?void 0:s.call(n):i.createVNode("li",_(_({},o),{},{onClick:u=>u.stopPropagation(),class:a.value}),[i.createVNode("div",{title:typeof e.title=="string"?e.title:void 0,class:`${a.value}-title`},[_e(n,e,"title")]),i.createVNode("ul",{class:`${a.value}-list`},[(c=n.default)===null||c===void 0?void 0:c.call(n)])])}}}),A0=()=>({prefixCls:String,dashed:Boolean}),$o=i.defineComponent({compatConfig:{MODE:3},name:"AMenuDivider",props:A0(),setup(e){const{prefixCls:t}=ke(),n=i.computed(()=>({[`${t.value}-item-divider`]:!0,[`${t.value}-item-divider-dashed`]:!!e.dashed}));return()=>i.createVNode("li",{class:n.value},null)}});var R0=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{if(o&&typeof o=="object"){const a=o,{label:l,children:s,key:c,type:u}=a,d=R0(a,["label","children","key","type"]),f=c??`tmp-${r}`,m=n?n.parentKeys.slice():[],p=[],h={eventKey:f,key:f,parentEventKeys:i.ref(m),parentKeys:i.ref(m),childrenEventKeys:i.ref(p),isLeaf:!1};if(s||u==="group"){if(u==="group"){const v=ni(s,t,n);return i.createVNode(Co,_(_({key:f},d),{},{title:l,originItemValue:o}),{default:()=>[v]})}t.set(f,h),n&&n.childrenEventKeys.push(f);const b=ni(s,t,{childrenEventKeys:p,parentKeys:[].concat(m,f)});return i.createVNode(Ht,_(_({key:f},d),{},{title:l,originItemValue:o}),{default:()=>[b]})}return u==="divider"?i.createVNode($o,_({key:f},d),null):(h.isLeaf=!0,t.set(f,h),i.createVNode(vn,_(_({key:f},d),{},{originItemValue:o}),{default:()=>[l]}))}return null}).filter(o=>o)}function D0(e){const t=i.shallowRef([]),n=i.shallowRef(!1),o=i.shallowRef(new Map);return i.watch(()=>e.items,()=>{const r=new Map;n.value=!1,e.items?(n.value=!0,t.value=ni(e.items,r)):t.value=void 0,o.value=r},{immediate:!0,deep:!0}),{itemsNodes:t,store:o,hasItmes:n}}const B0=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:o,colorSplit:r,lineWidth:a,lineType:l,menuItemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:`${o}px`,border:0,borderBottom:`${a}px ${l} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, > ${t}-item-active, > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},H0=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},xc=e=>g({},gs(e)),Oc=(e,t)=>{const{componentCls:n,colorItemText:o,colorItemTextSelected:r,colorGroupTitle:a,colorItemBg:l,colorSubItemBg:s,colorItemBgSelected:c,colorActiveBarHeight:u,colorActiveBarWidth:d,colorActiveBarBorderSize:f,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:h,menuItemPaddingInline:b,motionDurationMid:v,colorItemTextHover:y,lineType:w,colorSplit:$,colorItemTextDisabled:x,colorDangerItemText:C,colorDangerItemTextHover:O,colorDangerItemTextSelected:S,colorDangerItemBgActive:T,colorDangerItemBgSelected:I,colorItemBgHover:E,menuSubMenuBg:N,colorItemTextSelectedHorizontal:H,colorItemBgSelectedHorizontal:D}=e;return{[`${n}-${t}`]:{color:o,background:l,[`&${n}-root:focus-visible`]:g({},xc(e)),[`${n}-item-group-title`]:{color:a},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:r}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:y}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:E},"&:active":{backgroundColor:c}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:E},"&:active":{backgroundColor:c}}},[`${n}-item-danger`]:{color:C,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:O}},[`&${n}-item:active`]:{background:T}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:S},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:c,[`&${n}-item-danger`]:{backgroundColor:I}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:g({},xc(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:N},[`&${n}-popup > ${n}`]:{backgroundColor:l},[`&${n}-horizontal`]:g(g({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:-f,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${u}px solid transparent`,transition:`border-color ${m} ${p}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:u,borderBottomColor:H}},"&-selected":{color:H,backgroundColor:D,"&::after":{borderBottomWidth:u,borderBottomColor:H}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${f}px ${w} ${$}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item, ${n}-submenu-title`]:f&&d?{width:`calc(100% + ${f}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${d}px solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${h}`,`opacity ${v} ${h}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:S}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${p}`,`opacity ${v} ${p}`].join(",")}}}}}},Tc=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:o,padding:r,menuArrowSize:a,marginXS:l,marginXXS:s}=e,c=r+a+l;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:s,width:`calc(100% - ${o*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item, > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title, ${t}-submenu-title`]:{paddingInlineEnd:c}}},V0=e=>{const{componentCls:t,iconCls:n,menuItemHeight:o,colorTextLightSolid:r,dropdownWidth:a,controlHeightLG:l,motionDurationMid:s,motionEaseOut:c,paddingXL:u,fontSizeSM:d,fontSizeLG:f,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:h}=e,b={height:o,lineHeight:`${o}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":g({[`&${t}-root`]:{boxShadow:"none"}},Tc(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:g(g({},Tc(e)),{boxShadow:h})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${l*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${m}`,`background ${m}`,`padding ${s} ${c}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:b,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:b}},{[`${t}-inline-collapsed`]:{width:o*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${d}px)`,textOverflow:"clip",[` ${t}-submenu-arrow, ${t}-submenu-expand-icon `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:f,lineHeight:`${o}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:g(g({},Dr),{paddingInline:p})}}]},Pc=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:o,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:l,iconCls:s,controlHeightSM:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${o}`,`background ${o}`,`padding ${o} ${a}`].join(","),[`${t}-item-icon, ${s}`]:{minWidth:n,fontSize:n,transition:[`font-size ${r} ${l}`,`margin ${o} ${a}`,`color ${o}`].join(","),"+ span":{marginInlineStart:c-n,opacity:1,transition:[`opacity ${o} ${a}`,`margin ${o}`,`color ${o}`].join(",")}},[`${t}-item-icon`]:g({},Qh()),[`&${t}-item-only-child`]:{[`> ${s}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ec=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:r,menuArrowSize:a,menuArrowOffset:l}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${o}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:a*.6,height:a*.15,backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${n} ${o}`,`transform ${n} ${o}`,`top ${n} ${o}`,`color ${n} ${o}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${l})`},"&::after":{transform:`rotate(-45deg) translateY(${l})`}}}}},z0=e=>{const{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:r,motionDurationMid:a,motionEaseInOut:l,lineHeight:s,paddingXS:c,padding:u,colorSplit:d,lineWidth:f,zIndexPopup:m,borderRadiusLG:p,radiusSubMenuItem:h,menuArrowSize:b,menuArrowOffset:v,lineType:y,menuPanelMaskInset:w}=e;return[{"":{[`${n}`]:g(g({},ms()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:g(g(g(g(g(g(g({},Qe(e)),ms()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${c}px ${u}px`,fontSize:o,lineHeight:s,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${l}`,`background ${r} ${l}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${l}`,`background ${r} ${l}`,`padding ${a} ${l}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${l}`,`padding ${r} ${l}`].join(",")},[`${n}-title-content`]:{transition:`color ${r}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:y,borderWidth:0,borderTopWidth:f,marginBlock:f,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Pc(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${o*2}px ${u}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:m,background:"transparent",borderRadius:p,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${w}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:w},[`> ${n}`]:g(g(g({borderRadius:p},Pc(e)),Ec(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:h},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${l}`}})}}),Ec(e)),{[`&-inline-collapsed ${n}-submenu-arrow, &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${v})`},"&::after":{transform:`rotate(45deg) translateX(-${v})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${b*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${v})`},"&::before":{transform:`rotate(45deg) translateX(${v})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},L0=(e,t)=>Oe("Menu",(o,r)=>{let{overrideComponentToken:a}=r;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:l,colorPrimary:s,colorError:c,colorErrorHover:u,colorTextLightSolid:d}=o,{controlHeightLG:f,fontSize:m}=o,p=m/7*5,h=ve(o,{menuItemHeight:f,menuItemPaddingInline:o.margin,menuArrowSize:p,menuHorizontalHeight:f*1.15,menuArrowOffset:`${p*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:l}),b=new pe(d).setAlpha(.65).toRgbString(),v=ve(h,{colorItemText:b,colorItemTextHover:d,colorGroupTitle:b,colorItemTextSelected:d,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:s,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new pe(d).setAlpha(.25).toRgbString(),colorDangerItemText:c,colorDangerItemTextHover:u,colorDangerItemTextSelected:d,colorDangerItemBgActive:c,colorDangerItemBgSelected:c,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:d,colorItemBgSelectedHorizontal:s},g({},a));return[z0(h),B0(h),V0(h),Oc(h,"light"),Oc(v,"dark"),H0(h),Pb(h),mo(h,"slide-up"),mo(h,"slide-down"),go(h,"zoom-big")]},o=>{const{colorPrimary:r,colorError:a,colorTextDisabled:l,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:d,colorFillAlter:f,colorFillContent:m,lineWidth:p,lineWidthBold:h,controlItemBgActive:b,colorBgTextHover:v}=o;return{dropdownWidth:160,zIndexPopup:o.zIndexPopupBase+50,radiusItem:o.borderRadiusLG,radiusSubMenuItem:o.borderRadiusSM,colorItemText:c,colorItemTextHover:c,colorItemTextHoverHorizontal:r,colorGroupTitle:u,colorItemTextSelected:r,colorItemTextSelectedHorizontal:r,colorItemBg:d,colorItemBgHover:v,colorItemBgActive:m,colorSubItemBg:f,colorItemBgSelected:b,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:h,colorActiveBarBorderSize:p,colorItemTextDisabled:l,colorDangerItemText:a,colorDangerItemTextHover:a,colorDangerItemTextSelected:a,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,itemMarginInline:o.marginXXS}})(e),j0=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),Mc=[],tt=i.defineComponent({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:j0(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const{direction:a,getPrefixCls:l}=ae("menu",e),s=tc(),c=i.computed(()=>{var A;return l("menu",e.prefixCls||((A=s==null?void 0:s.prefixCls)===null||A===void 0?void 0:A.value))}),[u,d]=L0(c,i.computed(()=>!s)),f=i.shallowRef(new Map),m=i.inject(n0,i.ref(void 0)),p=i.computed(()=>m.value!==void 0?m.value:e.inlineCollapsed),{itemsNodes:h}=D0(e),b=i.shallowRef(!1);i.onMounted(()=>{b.value=!0}),i.watchEffect(()=>{Ze(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Ze(!(m.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const v=i.ref([]),y=i.ref([]),w=i.ref({});i.watch(f,()=>{const A={};for(const k of f.value.values())A[k.key]=k;w.value=A},{flush:"post"}),i.watchEffect(()=>{if(e.activeKey!==void 0){let A=[];const k=e.activeKey?w.value[e.activeKey]:void 0;k&&e.activeKey!==void 0?A=qr([].concat(i.unref(k.parentKeys),e.activeKey)):A=[],hn(v.value,A)||(v.value=A)}}),i.watch(()=>e.selectedKeys,A=>{A&&(y.value=A.slice())},{immediate:!0,deep:!0});const $=i.ref([]);i.watch([w,y],()=>{let A=[];y.value.forEach(k=>{const K=w.value[k];K&&(A=A.concat(i.unref(K.parentKeys)))}),A=qr(A),hn($.value,A)||($.value=A)},{immediate:!0});const x=A=>{if(e.selectable){const{key:k}=A,K=y.value.includes(k);let ne;e.multiple?K?ne=y.value.filter(Z=>Z!==k):ne=[...y.value,k]:ne=[k];const Q=g(g({},A),{selectedKeys:ne});hn(ne,y.value)||(e.selectedKeys===void 0&&(y.value=ne),o("update:selectedKeys",ne),K&&e.multiple?o("deselect",Q):o("select",Q))}E.value!=="inline"&&!e.multiple&&C.value.length&&D(Mc)},C=i.ref([]);i.watch(()=>e.openKeys,function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:C.value;hn(C.value,A)||(C.value=A.slice())},{immediate:!0,deep:!0});let O;const S=A=>{clearTimeout(O),O=setTimeout(()=>{e.activeKey===void 0&&(v.value=A),o("update:activeKey",A[A.length-1])})},T=i.computed(()=>!!e.disabled),I=i.computed(()=>a.value==="rtl"),E=i.ref("vertical"),N=i.shallowRef(!1);i.watchEffect(()=>{var A;(e.mode==="inline"||e.mode==="vertical")&&p.value?(E.value="vertical",N.value=p.value):(E.value=e.mode,N.value=!1),!((A=s==null?void 0:s.mode)===null||A===void 0)&&A.value&&(E.value=s.mode.value)});const H=i.computed(()=>E.value==="inline"),D=A=>{C.value=A,o("update:openKeys",A),o("openChange",A)},W=i.ref(C.value),P=i.shallowRef(!1);i.watch(C,()=>{H.value&&(W.value=C.value)},{immediate:!0}),i.watch(H,()=>{if(!P.value){P.value=!0;return}H.value?C.value=W.value:D(Mc)},{immediate:!0});const R=i.computed(()=>({[`${c.value}`]:!0,[`${c.value}-root`]:!0,[`${c.value}-${E.value}`]:!0,[`${c.value}-inline-collapsed`]:N.value,[`${c.value}-rtl`]:I.value,[`${c.value}-${e.theme}`]:!0})),B=i.computed(()=>l()),V=i.computed(()=>({horizontal:{name:`${B.value}-slide-up`},inline:I0(`${B.value}-motion-collapse`),other:{name:`${B.value}-zoom-big`}}));sc(!0);const U=function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const k=[],K=f.value;return A.forEach(ne=>{const{key:Q,childrenEventKeys:Z}=K.get(ne);k.push(Q,...U(i.unref(Z)))}),k},G=A=>{var k;o("click",A),x(A),(k=s==null?void 0:s.onClick)===null||k===void 0||k.call(s)},L=(A,k)=>{var K;const ne=((K=w.value[A])===null||K===void 0?void 0:K.childrenEventKeys)||[];let Q=C.value.filter(Z=>Z!==A);if(k)Q.push(A);else if(E.value!=="inline"){const Z=U(i.unref(ne));Q=qr(Q.filter(we=>!Z.includes(we)))}hn(C,Q)||D(Q)},X=(A,k)=>{f.value.set(A,k),f.value=new Map(f.value)},J=A=>{f.value.delete(A),f.value=new Map(f.value)},le=i.ref(0),oe=i.computed(()=>{var A;return e.expandIcon||n.expandIcon||!((A=s==null?void 0:s.expandIcon)===null||A===void 0)&&A.value?k=>{let K=e.expandIcon||n.expandIcon;return K=typeof K=="function"?K(k):K,$e(K,{class:`${c.value}-submenu-expand-icon`},!1)}:null});rc({prefixCls:c,activeKeys:v,openKeys:C,selectedKeys:y,changeActiveKeys:S,disabled:T,rtl:I,mode:E,inlineIndent:i.computed(()=>e.inlineIndent),subMenuCloseDelay:i.computed(()=>e.subMenuCloseDelay),subMenuOpenDelay:i.computed(()=>e.subMenuOpenDelay),builtinPlacements:i.computed(()=>e.builtinPlacements),triggerSubMenuAction:i.computed(()=>e.triggerSubMenuAction),getPopupContainer:i.computed(()=>e.getPopupContainer),inlineCollapsed:N,theme:i.computed(()=>e.theme),siderCollapsed:m,defaultMotions:i.computed(()=>b.value?V.value:null),motion:i.computed(()=>b.value?e.motion:null),overflowDisabled:i.shallowRef(void 0),onOpenChange:L,onItemClick:G,registerMenuInfo:X,unRegisterMenuInfo:J,selectedSubMenuKeys:$,expandIcon:oe,forceSubMenuRender:i.computed(()=>e.forceSubMenuRender),rootClassName:d});const fe=()=>{var A;return h.value||ue((A=n.default)===null||A===void 0?void 0:A.call(n))};return()=>{var A;const k=fe(),K=le.value>=k.length-1||E.value!=="horizontal"||e.disabledOverflow,ne=Z=>E.value!=="horizontal"||e.disabledOverflow?Z:Z.map((we,re)=>i.createVNode(bo,{key:we.key,overflowDisabled:re>le.value},{default:()=>we})),Q=((A=n.overflowedIndicator)===null||A===void 0?void 0:A.call(n))||i.createVNode(fo,null,null);return u(i.createVNode(Je,_(_({},r),{},{onMousedown:e.onMousedown,prefixCls:`${c.value}-overflow`,component:"ul",itemComponent:vn,class:[R.value,r.class,d.value],role:"menu",id:e.id,data:ne(k),renderRawItem:Z=>Z,renderRawRest:Z=>{const we=Z.length,re=we?k.slice(-we):null;return i.createVNode(i.Fragment,null,[i.createVNode(Ht,{eventKey:wo,key:wo,title:Q,disabled:K,internalPopupClose:we===0},{default:()=>re}),i.createVNode(mc,null,{default:()=>[i.createVNode(Ht,{eventKey:wo,key:wo,title:Q,disabled:K,internalPopupClose:we===0},{default:()=>re})]})])},maxCount:E.value!=="horizontal"||e.disabledOverflow?Je.INVALIDATE:Je.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:Z=>{le.value=Z}}),{default:()=>[i.createVNode(i.Teleport,{to:"body"},{default:()=>[i.createVNode("div",{style:{display:"none"},"aria-hidden":!0},[i.createVNode(mc,null,{default:()=>[ne(fe())]})])]})]}))}}});tt.install=function(e){return e.component(tt.name,tt),e.component(vn.name,vn),e.component(Ht.name,Ht),e.component($o.name,$o),e.component(Co.name,Co),e},tt.Item=vn,tt.Divider=$o,tt.SubMenu=Ht,tt.ItemGroup=Co;const F0=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:g(g({},Qe(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[n]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:g({color:e.breadcrumbLinkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover}},io(e)),"li:last-child":{color:e.breadcrumbLastItemColor,[`& > ${t}-separator`]:{display:"none"}},[`${t}-separator`]:{marginInline:e.breadcrumbSeparatorMargin,color:e.breadcrumbSeparatorColor},[`${t}-link`]:{[` > ${n} + span, > ${n} + a `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover,a:{color:e.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},W0=Oe("Breadcrumb",e=>{const t=ve(e,{breadcrumbBaseColor:e.colorTextDescription,breadcrumbFontSize:e.fontSize,breadcrumbIconFontSize:e.fontSize,breadcrumbLinkColor:e.colorTextDescription,breadcrumbLinkColorHover:e.colorText,breadcrumbLastItemColor:e.colorText,breadcrumbSeparatorMargin:e.marginXS,breadcrumbSeparatorColor:e.colorTextDescription});return[F0(t)]}),k0=()=>({prefixCls:String,routes:{type:Array},params:M.any,separator:M.any,itemRender:{type:Function}});function K0(e,t){if(!e.breadcrumbName)return null;const n=Object.keys(t).join("|");return e.breadcrumbName.replace(new RegExp(`:(${n})`,"g"),(r,a)=>t[a]||r)}function _c(e){const{route:t,params:n,routes:o,paths:r}=e,a=o.indexOf(t)===o.length-1,l=K0(t,n);return a?i.createVNode("span",null,[l]):i.createVNode("a",{href:`#/${r.join("/")}`},[l])}const Vt=i.defineComponent({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:k0(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=ae("breadcrumb",e),[l,s]=W0(r),c=(f,m)=>(f=(f||"").replace(/^\//,""),Object.keys(m).forEach(p=>{f=f.replace(`:${p}`,m[p])}),f),u=(f,m,p)=>{const h=[...f],b=c(m||"",p);return b&&h.push(b),h},d=f=>{let{routes:m=[],params:p={},separator:h,itemRender:b=_c}=f;const v=[];return m.map(y=>{const w=c(y.path,p);w&&v.push(w);const $=[...v];let x=null;y.children&&y.children.length&&(x=i.createVNode(tt,{items:y.children.map(O=>({key:O.path||O.breadcrumbName,label:b({route:O,params:p,routes:m,paths:u($,O.path,p)})}))},null));const C={separator:h};return x&&(C.overlay=x),i.createVNode(vo,_(_({},C),{},{key:w||y.breadcrumbName}),{default:()=>[b({route:y,params:p,routes:m,paths:$})]})})};return()=>{var f;let m;const{routes:p,params:h={}}=e,b=ue(_e(n,e)),v=(f=_e(n,e,"separator"))!==null&&f!==void 0?f:"/",y=e.itemRender||n.itemRender||_c;p&&p.length>0?m=d({routes:p,params:h,separator:v,itemRender:y}):b.length&&(m=b.map(($,x)=>(Ge(typeof $.type=="object"&&($.type.__ANT_BREADCRUMB_ITEM||$.type.__ANT_BREADCRUMB_SEPARATOR),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),i.cloneVNode($,{separator:v,key:x}))));const w={[r.value]:!0,[`${r.value}-rtl`]:a.value==="rtl",[`${o.class}`]:!!o.class,[s.value]:!0};return l(i.createVNode("nav",_(_({},o),{},{class:w}),[i.createVNode("ol",null,[m])]))}}});var U0=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String}),oi=i.defineComponent({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:X0(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=ae("breadcrumb",e);return()=>{var a;const{separator:l,class:s}=o,c=U0(o,["separator","class"]),u=ue((a=n.default)===null||a===void 0?void 0:a.call(n));return i.createVNode("span",_({class:[`${r.value}-separator`,s]},c),[u.length>0?u:"/"])}}});Vt.Item=vo,Vt.Separator=oi,Vt.install=function(e){return e.component(Vt.name,Vt),e.component(vo.name,vo),e.component(oi.name,oi),e};const G0=["xxxl","xxl","xl","lg","md","sm","xs"],Y0=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`{min-width: ${e.screenXXXL}px}`});function q0(){const[,e]=mn();return i.computed(()=>{const t=Y0(e.value),n=new Map;let o=-1,r={};return{matchHandlers:{},dispatch(a){return r=a,n.forEach(l=>l(r)),n.size>=1},subscribe(a){return n.size||this.register(),o+=1,n.set(o,a),a(r),o},unsubscribe(a){n.delete(a),n.size||this.unregister()},unregister(){Object.keys(t).forEach(a=>{const l=t[a],s=this.matchHandlers[l];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(a=>{const l=t[a],s=u=>{let{matches:d}=u;this.dispatch(g(g({},r),{[a]:d}))},c=window.matchMedia(l);c.addListener(s),this.matchHandlers[l]={mql:c,listener:s},s(c)})},responsiveMap:t}})}function Q0(){const e=i.shallowRef({});let t=null;const n=q0();return i.onMounted(()=>{t=n.value.subscribe(o=>{e.value=o})}),i.onUnmounted(()=>{n.value.unsubscribe(t)}),e}function Z0(e){const t=i.shallowRef();return i.watchEffect(()=>{t.value=e()},{flush:"sync"}),t}const J0=e=>{const{antCls:t,componentCls:n,iconCls:o,avatarBg:r,avatarColor:a,containerSize:l,containerSizeLG:s,containerSizeSM:c,textFontSize:u,textFontSizeLG:d,textFontSizeSM:f,borderRadius:m,borderRadiusLG:p,borderRadiusSM:h,lineWidth:b,lineType:v}=e,y=(w,$,x)=>({width:w,height:w,lineHeight:`${w-b*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:x},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:$,[`> ${o}`]:{margin:0}}});return{[n]:g(g(g(g({},Qe(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:r,border:`${b}px ${v} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),y(l,u,m)),{"&-lg":g({},y(s,d,p)),"&-sm":g({},y(c,f,h)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},ey=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:o,groupSpace:r}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:o}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:r}}}},Ic=Oe("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,o=ve(e,{avatarBg:n,avatarColor:t});return[J0(o),ey(o)]},e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:o,fontSize:r,fontSizeLG:a,fontSizeXL:l,fontSizeHeading3:s,marginXS:c,marginXXS:u,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:o,textFontSize:Math.round((a+l)/2),textFontSizeLG:s,textFontSizeSM:r,groupSpace:u,groupOverlapping:-c,groupBorderColor:d}}),Nc=Symbol("AvatarContextKey"),ty=()=>i.inject(Nc,{}),ny=e=>i.provide(Nc,e),oy=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:M.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),zt=i.defineComponent({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:oy(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const r=i.shallowRef(!0),a=i.shallowRef(!1),l=i.shallowRef(1),s=i.shallowRef(null),c=i.shallowRef(null),{prefixCls:u}=ae("avatar",e),[d,f]=Ic(u),m=ty(),p=i.computed(()=>e.size==="default"?m.size:e.size),h=Q0(),b=Z0(()=>{if(typeof e.size!="object")return;const $=G0.find(C=>h.value[C]);return e.size[$]}),v=$=>b.value?{width:`${b.value}px`,height:`${b.value}px`,lineHeight:`${b.value}px`,fontSize:`${$?b.value/2:18}px`}:{},y=()=>{if(!s.value||!c.value)return;const $=s.value.offsetWidth,x=c.value.offsetWidth;if($!==0&&x!==0){const{gap:C=4}=e;C*2{const{loadError:$}=e;($==null?void 0:$())!==!1&&(r.value=!1)};return i.watch(()=>e.src,()=>{i.nextTick(()=>{r.value=!0,l.value=1})}),i.watch(()=>e.gap,()=>{i.nextTick(()=>{y()})}),i.onMounted(()=>{i.nextTick(()=>{y(),a.value=!0})}),()=>{var $,x;const{shape:C,src:O,alt:S,srcset:T,draggable:I,crossOrigin:E}=e,N=($=m.shape)!==null&&$!==void 0?$:C,H=_e(n,e,"icon"),D=u.value,W={[`${o.class}`]:!!o.class,[D]:!0,[`${D}-lg`]:p.value==="large",[`${D}-sm`]:p.value==="small",[`${D}-${N}`]:!0,[`${D}-image`]:O&&r.value,[`${D}-icon`]:H,[f.value]:!0},P=typeof p.value=="number"?{width:`${p.value}px`,height:`${p.value}px`,lineHeight:`${p.value}px`,fontSize:H?`${p.value/2}px`:"18px"}:{},R=(x=n.default)===null||x===void 0?void 0:x.call(n);let B;if(O&&r.value)B=i.createVNode("img",{draggable:I,src:O,srcset:T,onError:w,alt:S,crossorigin:E},null);else if(H)B=H;else if(a.value||l.value!==1){const V=`scale(${l.value}) translateX(-50%)`,U={msTransform:V,WebkitTransform:V,transform:V},G=typeof p.value=="number"?{lineHeight:`${p.value}px`}:{};B=i.createVNode(yo,{onResize:y},{default:()=>[i.createVNode("span",{class:`${D}-string`,ref:s,style:g(g({},G),U)},[R])]})}else B=i.createVNode("span",{class:`${D}-string`,ref:s,style:{opacity:0}},[R]);return d(i.createVNode("span",_(_({},o),{},{ref:c,class:W,style:[P,v(!!H),o.style]}),[B]))}}}),ry=e=>{const{componentCls:t,popoverBg:n,popoverColor:o,width:r,fontWeightStrong:a,popoverPadding:l,boxShadowSecondary:s,colorTextHeading:c,borderRadiusLG:u,zIndexPopup:d,marginXS:f,colorBgElevated:m}=e;return[{[t]:g(g({},Qe(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":m,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:u,boxShadow:s,padding:l},[`${t}-title`]:{minWidth:r,marginBottom:f,color:c,fontWeight:a},[`${t}-inner-content`]:{color:o}})},zs(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",[`${t}-content`]:{display:"inline-block"}}}]},iy=e=>{const{componentCls:t}=e;return{[t]:fn.map(n=>{const o=e[`${n}-6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":o,[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{background:"transparent"}}}})}},ay=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:r,paddingSM:a,controlHeight:l,fontSize:s,lineHeight:c,padding:u}=e,d=l-Math.round(s*c),f=d/2,m=d/2-n,p=u;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${f}px ${p}px ${m}px`,borderBottom:`${n}px ${o} ${r}`},[`${t}-inner-content`]:{padding:`${a}px ${p}px`}}}},ly=Oe("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:o}=e,r=ve(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[ry(r),iy(r),o&&ay(r),go(r,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}}),sy=()=>g(g({},hc()),{content:ln(),title:ln()}),cy=i.defineComponent({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:St(sy(),g(g({},C0()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(e,t){let{expose:n,slots:o,attrs:r}=t;const a=i.ref();Ge(e.visible===void 0,"popover","`visible` will be removed in next major version, please use `open` instead."),n({getPopupDomNode:()=>{var m,p;return(p=(m=a.value)===null||m===void 0?void 0:m.getPopupDomNode)===null||p===void 0?void 0:p.call(m)}});const{prefixCls:l,configProvider:s}=ae("popover",e),[c,u]=ly(l),d=i.computed(()=>s.getPrefixCls()),f=()=>{var m,p;const{title:h=Re((m=o.title)===null||m===void 0?void 0:m.call(o)),content:b=Re((p=o.content)===null||p===void 0?void 0:p.call(o))}=e,v=!!(Array.isArray(h)?h.length:h),y=!!(Array.isArray(b)?b.length:h);return!v&&!y?null:i.createVNode(i.Fragment,null,[v&&i.createVNode("div",{class:`${l.value}-title`},[h]),i.createVNode("div",{class:`${l.value}-inner-content`},[b])])};return()=>{const m=ee(e.overlayClassName,u.value);return c(i.createVNode(vc,_(_(_({},Ys(e,["title","content"])),r),{},{prefixCls:l.value,ref:a,overlayClassName:m,transitionName:Cl(d.value,"zoom-big",e.transitionName),"data-popover-inject":!0}),{title:f,default:o.default}))}}}),uy=ut(cy),dy=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),ri=i.defineComponent({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:dy(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=ae("avatar",e),l=i.computed(()=>`${r.value}-group`),[s,c]=Ic(r);return i.watchEffect(()=>{const u={size:e.size,shape:e.shape};ny(u)}),()=>{const{maxPopoverPlacement:u="top",maxCount:d,maxStyle:f,maxPopoverTrigger:m="hover",shape:p}=e,h={[l.value]:!0,[`${l.value}-rtl`]:a.value==="rtl",[`${o.class}`]:!!o.class,[c.value]:!0},b=_e(n,e),v=ue(b).map((w,$)=>$e(w,{key:`avatar-key-${$}`})),y=v.length;if(d&&d[i.createVNode(zt,{style:f,shape:p},{default:()=>[`+${y-d}`]})]})),s(i.createVNode("div",_(_({},o),{},{class:h,style:o.style}),[w]))}return s(i.createVNode("div",_(_({},o),{},{class:h,style:o.style}),[v]))}}});zt.Group=ri,zt.install=function(e){return e.component(zt.name,zt),e.component(ri.name,ri),e};var fy=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{const{keyCode:p}=m;p===z.ENTER&&m.preventDefault()},c=m=>{const{keyCode:p}=m;p===z.ENTER&&o("click",m)},u=m=>{o("click",m)},d=()=>{l.value&&l.value.focus()},f=()=>{l.value&&l.value.blur()};return i.onMounted(()=>{e.autofocus&&d()}),a({focus:d,blur:f}),()=>{var m;const{noStyle:p,disabled:h}=e,b=fy(e,["noStyle","disabled"]);let v={};return p||(v=g({},py)),h&&(v.pointerEvents="none"),i.createVNode("div",_(_(_({role:"button",tabindex:0,ref:l},b),r),{},{onClick:u,onKeydown:s,onKeyup:c,style:g(g({},v),r.style||{})}),[(m=n.default)===null||m===void 0?void 0:m.call(n)])}}}),gy=()=>{const e=i.shallowRef(!1);return i.onBeforeUnmount(()=>{e.value=!0}),e},hy=()=>Be()&&window.document.documentElement;let xo;const vy=()=>{if(!hy())return!1;if(xo!==void 0)return xo;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),xo=e.scrollHeight===1,document.body.removeChild(e),xo},by=()=>{const e=i.shallowRef(!1);return i.onMounted(()=>{e.value=vy()}),e},yy={small:8,middle:16,large:24},Sy=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:M.oneOf(Pt("horizontal","vertical")).def("horizontal"),align:M.oneOf(Pt("start","end","center","baseline")),wrap:he()});function wy(e){return typeof e=="string"?yy[e]:e||0}const bn=i.defineComponent({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:Sy(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,space:a,direction:l}=ae("space",e),[s,c]=Ns(r),u=by(),d=i.computed(()=>{var y,w,$;return($=(y=e.size)!==null&&y!==void 0?y:(w=a==null?void 0:a.value)===null||w===void 0?void 0:w.size)!==null&&$!==void 0?$:"small"}),f=i.ref(),m=i.ref();i.watch(d,()=>{[f.value,m.value]=(Array.isArray(d.value)?d.value:[d.value,d.value]).map(y=>wy(y))},{immediate:!0});const p=i.computed(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),h=i.computed(()=>ee(r.value,c.value,`${r.value}-${e.direction}`,{[`${r.value}-rtl`]:l.value==="rtl",[`${r.value}-align-${p.value}`]:p.value})),b=i.computed(()=>l.value==="rtl"?"marginLeft":"marginRight"),v=i.computed(()=>{const y={};return u.value&&(y.columnGap=`${f.value}px`,y.rowGap=`${m.value}px`),g(g({},y),e.wrap&&{flexWrap:"wrap",marginBottom:`${-m.value}px`})});return()=>{var y,w;const{wrap:$,direction:x="horizontal"}=e,C=(y=n.default)===null||y===void 0?void 0:y.call(n),O=Re(C),S=O.length;if(S===0)return null;const T=(w=n.split)===null||w===void 0?void 0:w.call(n),I=`${r.value}-item`,E=f.value,N=S-1;return i.createVNode("div",_(_({},o),{},{class:[h.value,o.class],style:[v.value,o.style]}),[O.map((H,D)=>{let W=C.indexOf(H);W===-1&&(W=`$$space-${D}`);let P={};return u.value||(x==="vertical"?D{const{componentCls:t,antCls:n}=e;return{[t]:g(g({},Qe(e)),{position:"relative",padding:`${e.pageHeaderPaddingVertical}px ${e.pageHeaderPadding}px`,backgroundColor:e.colorBgContainer,[`&${t}-ghost`]:{backgroundColor:e.pageHeaderGhostBg},"&.has-footer":{paddingBottom:0},[`${t}-back`]:{marginRight:e.marginMD,fontSize:e.fontSizeLG,lineHeight:1,"&-button":g(g({},Yh(e)),{color:e.pageHeaderBackColor,cursor:"pointer"})},[`${n}-divider-vertical`]:{height:"14px",margin:`0 ${e.marginSM}`,verticalAlign:"middle"},[`${n}-breadcrumb + &-heading`]:{marginTop:e.marginXS},[`${t}-heading`]:{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",margin:`${e.marginXS/2}px 0`,overflow:"hidden"},"&-title":g({marginRight:e.marginSM,marginBottom:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderHeadingTitle,lineHeight:`${e.controlHeight}px`},Dr),[`${n}-avatar`]:{marginRight:e.marginSM},"&-sub-title":g({marginRight:e.marginSM,color:e.colorTextDescription,fontSize:e.pageHeaderHeadingSubTitle,lineHeight:e.lineHeight},Dr),"&-extra":{margin:`${e.marginXS/2}px 0`,whiteSpace:"nowrap","> *":{marginLeft:e.marginSM,whiteSpace:"unset"},"> *:first-child":{marginLeft:0}}},[`${t}-content`]:{paddingTop:e.pageHeaderContentPaddingVertical},[`${t}-footer`]:{marginTop:e.marginMD,[`${n}-tabs`]:{[`> ${n}-tabs-nav`]:{margin:0,"&::before":{border:"none"}},[`${n}-tabs-tab`]:{paddingTop:e.paddingXS,paddingBottom:e.paddingXS,fontSize:e.pageHeaderTabFontSize}}},[`${t}-compact ${t}-heading`]:{flexWrap:"wrap"},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},$y=Oe("PageHeader",e=>{const t=ve(e,{pageHeaderPadding:e.paddingLG,pageHeaderPaddingVertical:e.paddingMD,pageHeaderPaddingBreadcrumb:e.paddingSM,pageHeaderContentPaddingVertical:e.paddingSM,pageHeaderBackColor:e.colorTextBase,pageHeaderGhostBg:"transparent",pageHeaderHeadingTitle:e.fontSizeHeading4,pageHeaderHeadingSubTitle:e.fontSize,pageHeaderTabFontSize:e.fontSizeLG});return[Cy(t)]}),Ac=()=>({backIcon:Et(),prefixCls:String,title:Et(),subTitle:Et(),breadcrumb:M.object,tags:Et(),footer:Et(),extra:Et(),avatar:ge(),ghost:{type:Boolean,default:void 0},onBack:Function}),xy=i.defineComponent({compatConfig:{MODE:3},name:"APageHeader",inheritAttrs:!1,props:Ac(),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:a,direction:l,pageHeader:s}=ae("page-header",e),[c,u]=$y(a),d=i.shallowRef(!1),f=gy(),m=x=>{let{width:C}=x;f.value||(d.value=C<768)},p=i.computed(()=>{var x,C,O;return(O=(x=e.ghost)!==null&&x!==void 0?x:(C=s==null?void 0:s.value)===null||C===void 0?void 0:C.ghost)!==null&&O!==void 0?O:!0}),h=()=>{var x,C,O;return(O=(x=e.backIcon)!==null&&x!==void 0?x:(C=o.backIcon)===null||C===void 0?void 0:C.call(o))!==null&&O!==void 0?O:l.value==="rtl"?i.createVNode(Ko,null,null):i.createVNode(ko,null,null)},b=x=>!x||!e.onBack?null:i.createVNode(zl,{componentName:"PageHeader",children:C=>{let{back:O}=C;return i.createVNode("div",{class:`${a.value}-back`},[i.createVNode(my,{onClick:S=>{n("back",S)},class:`${a.value}-back-button`,"aria-label":O},{default:()=>[x]})])}},null),v=()=>{var x;return e.breadcrumb?i.createVNode(Vt,e.breadcrumb,null):(x=o.breadcrumb)===null||x===void 0?void 0:x.call(o)},y=()=>{var x,C,O,S,T,I,E,N,H;const{avatar:D}=e,W=(x=e.title)!==null&&x!==void 0?x:(C=o.title)===null||C===void 0?void 0:C.call(o),P=(O=e.subTitle)!==null&&O!==void 0?O:(S=o.subTitle)===null||S===void 0?void 0:S.call(o),R=(T=e.tags)!==null&&T!==void 0?T:(I=o.tags)===null||I===void 0?void 0:I.call(o),B=(E=e.extra)!==null&&E!==void 0?E:(N=o.extra)===null||N===void 0?void 0:N.call(o),V=`${a.value}-heading`,U=W||P||R||B;if(!U)return null;const G=h(),L=b(G),X=L||D||U;return i.createVNode("div",{class:V},[X&&i.createVNode("div",{class:`${V}-left`},[L,D?i.createVNode(zt,D,null):(H=o.avatar)===null||H===void 0?void 0:H.call(o),W&&i.createVNode("span",{class:`${V}-title`,title:typeof W=="string"?W:void 0},[W]),P&&i.createVNode("span",{class:`${V}-sub-title`,title:typeof P=="string"?P:void 0},[P]),R&&i.createVNode("span",{class:`${V}-tags`},[R])]),B&&i.createVNode("span",{class:`${V}-extra`},[i.createVNode(bn,null,{default:()=>[B]})])])},w=()=>{var x,C;const O=(x=e.footer)!==null&&x!==void 0?x:Re((C=o.footer)===null||C===void 0?void 0:C.call(o));return Su(O)?null:i.createVNode("div",{class:`${a.value}-footer`},[O])},$=x=>i.createVNode("div",{class:`${a.value}-content`},[x]);return()=>{var x,C;const O=((x=e.breadcrumb)===null||x===void 0?void 0:x.routes)||o.breadcrumb,S=e.footer||o.footer,T=ue((C=o.default)===null||C===void 0?void 0:C.call(o)),I=ee(a.value,{"has-breadcrumb":O,"has-footer":S,[`${a.value}-ghost`]:p.value,[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-compact`]:d.value},r.class,u.value);return c(i.createVNode(yo,{onResize:m},{default:()=>[i.createVNode("div",_(_({},r),{},{class:I}),[v(),y(),T.length?$(T):null,w()])]}))}}});ut(xy);function Oy(e,t,n){var o=n||{},r=o.noTrailing,a=r===void 0?!1:r,l=o.noLeading,s=l===void 0?!1:l,c=o.debounceMode,u=c===void 0?void 0:c,d,f=!1,m=0;function p(){d&&clearTimeout(d)}function h(v){var y=v||{},w=y.upcomingOnly,$=w===void 0?!1:w;p(),f=!$}function b(){for(var v=arguments.length,y=new Array(v),w=0;we?s?(m=Date.now(),a||(d=setTimeout(u?O:C,e))):C():a!==!0&&(d=setTimeout(u?O:C,u===void 0?e-x:e))}return b.cancel=h,b}function Ty(e,t,n){var o={},r=o.atBegin,a=r===void 0?!1:r;return Oy(e,t,{debounceMode:a!==!1})}const Py=new Y("antSpinMove",{to:{opacity:1}}),Ey=new Y("antRotate",{to:{transform:"rotate(405deg)"}}),My=e=>({[`${e.componentCls}`]:g(g({},Qe(e)),{position:"absolute",display:"none",color:e.colorPrimary,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:Py,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:Ey,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),_y=Oe("Spin",e=>{const t=ve(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[My(t)]},{contentHeight:400});var Iy=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:M.any,delay:Number,indicator:M.any});function Ny(e,t){return!!e&&!!t&&!isNaN(Number(t))}i.defineComponent({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:St(Rc(),{size:"default",spinning:!0,wrapperClassName:""}),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,size:a,direction:l}=ae("spin",e),[s,c]=_y(r),u=i.shallowRef(e.spinning&&!Ny(e.spinning,e.delay));let d;return i.watch([()=>e.spinning,()=>e.delay],()=>{d==null||d.cancel(),d=Ty(e.delay,()=>{u.value=e.spinning}),d==null||d()},{immediate:!0,flush:"post"}),i.onBeforeUnmount(()=>{d==null||d.cancel()}),()=>{var f,m;const{class:p}=n,h=Iy(n,["class"]),{tip:b=(f=o.tip)===null||f===void 0?void 0:f.call(o)}=e,v=(m=o.default)===null||m===void 0?void 0:m.call(o),y={[c.value]:!0,[r.value]:!0,[`${r.value}-sm`]:a.value==="small",[`${r.value}-lg`]:a.value==="large",[`${r.value}-spinning`]:u.value,[`${r.value}-show-text`]:!!b,[`${r.value}-rtl`]:l.value==="rtl",[p]:!!p};function w(x){const C=`${x}-dot`;let O=_e(o,e,"indicator");return O===null?null:(Array.isArray(O)&&(O=O.length===1?O[0]:O),i.isVNode(O)?i.cloneVNode(O,{class:C}):i.createVNode("span",{class:`${C} ${x}-dot-spin`},[i.createVNode("i",{class:`${x}-dot-item`},null),i.createVNode("i",{class:`${x}-dot-item`},null),i.createVNode("i",{class:`${x}-dot-item`},null),i.createVNode("i",{class:`${x}-dot-item`},null)]))}const $=i.createVNode("div",_(_({},h),{},{class:y,"aria-live":"polite","aria-busy":u.value}),[w(r.value),b?i.createVNode("div",{class:`${r.value}-text`},[b]):null]);if(v&&Re(v).length){const x={[`${r.value}-container`]:!0,[`${r.value}-blur`]:u.value};return s(i.createVNode("div",{class:[`${r.value}-nested-loading`,e.wrapperClassName,c.value]},[u.value&&i.createVNode("div",{key:"loading"},[$]),i.createVNode("div",{class:x,key:"container"},[v])]))}return s($)}}});const Dc=i.defineComponent({inheritAttrs:!1,name:"PageLoading",props:Rc(),setup(e){return()=>i.createVNode("div",{style:{paddingTop:"100px",textAlign:"center"}},[i.createVNode(se.Spin,e,null)])}});function Ay(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}const Ry={...{tabList:{type:[Object,Function,Array],default:()=>{}},tabActiveKey:String,tabProps:{type:Object,default:()=>{}},onTabChange:Function},...Ac(),content:{type:[Object,String,Boolean,Function],default:()=>null},contentExtra:{type:[Object,String,Boolean,Function],default:()=>null},affixProps:{type:[Object,Function]},flex:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},disableMargin:{type:Boolean,default:!1},fixedHeader:{type:Boolean,default:!1}},Dy=e=>{let t;const{tabList:n,tabActiveKey:o,onTabChange:r,tabProps:a}=e;return!Array.isArray(n)||n.length<=0?null:i.createVNode(se.Tabs,i.mergeProps({activeKey:o,onChange:l=>{r&&r(l)}},a),Ay(t=n.map(l=>i.createVNode(se.TabPane,i.mergeProps(l,{tab:l.tab,key:l.key}),null)))?t:{default:()=>[t]})},By=e=>{const{baseClassName:t,title:n,tabList:o,tabActiveKey:r,breadcrumb:a,content:l,tags:s,extra:c,contentExtra:u,fixedHeader:d,footer:f,...m}=e,p=n!==!1?n:void 0;let h=a;if(a===void 0){const b=yt(),v=i.unref(b.breadcrumb||{});h={...v,routes:v.routes,itemRender:v.itemRender}}return i.createVNode(se.PageHeader,i.mergeProps(m,{title:p,breadcrumb:h,footer:f||Dy({...m,tabList:o,tabActiveKey:r}),tags:s,extra:c}),{default:()=>[(l||u)&&i.createVNode("div",{class:`${t}-header`},[l&&i.createVNode("div",{class:"content"},[typeof l=="function"&&l()||l]),u&&i.createVNode("div",{class:"content-extra"},[typeof u=="function"&&u()||u])])]})},Hy=ut(i.defineComponent({name:"PageContainer",inheritAttrs:!1,props:Ry,setup(e,{slots:t}){const n=yt(),o="ant-pro-page-container",r=i.computed(()=>{if(t.pageHeader)return t.pageHeader({...e});const a=Ft(t,e,"tags"),l=Ft(t,e,"extra"),s=Ft(t,e,"footer"),c=Ft(t,e,"content"),u=Ft(t,e,"contentExtra");return i.createVNode(By,i.mergeProps(e,{baseClassName:o,ghost:!!e.ghost,content:c,tags:a,footer:s,extra:l,contentExtra:u}),null)});return()=>i.createVNode("div",{class:o},[e.fixedHeader&&r.value?i.createVNode(se.Affix,i.mergeProps({offsetTop:n.hasHeader&&n.fixedHeader?n.headerHeight:0},e.affixProps),{default:()=>[r.value]}):r.value,i.createVNode("div",{class:{[`${o}-content`]:!0,[`${o}-flex`]:e.flex}},[e.loading?i.createVNode(Dc,null,null):t.default&&i.createVNode("div",{class:{[`${o}-main`]:!e.disableMargin}},[t.default()])]),t.pageFooter&&t.pageFooter({...e})])}})),ii=(e,{attrs:t})=>e.isMobile?i.createVNode(se.Drawer,{open:!e.collapsed,closable:!1,placement:"left",style:{padding:0,height:"100vh"},onClose:()=>e.onCollapse&&e.onCollapse(!0),width:e.siderWidth,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"}},{default:()=>[i.createVNode(xn,i.mergeProps(t,e,{collapsed:e.isMobile?!1:e.collapsed,splitMenus:!1}),null)]}):i.createVNode(xn,i.mergeProps(t,e),null);ii.inheritAttrs=!1,ii.displayName="SiderMenuWrapper";function Vy(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}const Bc={...yi,headerRender:{type:[Object,Function,Boolean],default:()=>{}},headerTitleRender:{type:[Object,Function,Boolean],default:()=>{}},headerContentRender:{type:[Object,Function,Boolean],default:()=>{}},hasSiderMenu:M.looseBool,siderWidth:M.number.def(208)},zy=i.defineComponent({name:"HeaderView",inheritAttrs:!1,props:Bc,setup(e){const{isMobile:t,fixedHeader:n,hasSiderMenu:o,headerHeight:r,layout:a}=i.toRefs(e),l=yt(),s="ant-pro-header",c=i.computed(()=>n.value||l.fixedHeader||a.value==="mix"),u=i.computed(()=>a.value==="mix"),d=i.computed(()=>a.value==="top"),f=i.computed(()=>c.value&&o.value&&!d.value&&!t.value),m=i.computed(()=>l.menuData&&Cn(l.menuData)||[]),p=()=>{let v=i.createVNode(On,i.mergeProps(e,{onCollapse:e.onCollapse,menuData:m.value}),{default:()=>[u.value?null:e.headerContentRender&&typeof e.headerContentRender=="function"?e.headerContentRender(e):e.headerContentRender]});return d.value&&!t.value&&(v=i.createVNode(_o,i.mergeProps(e,{mode:"horizontal",onCollapse:e.onCollapse,menuData:m.value}),null)),e.headerRender?e.headerRender(e):v},h=i.computed(()=>a.value!=="mix"&&f.value?`calc(100% - ${e.collapsed?48:e.siderWidth}px)`:"100%"),b=i.computed(()=>c.value?0:void 0);return()=>{let v;return i.createVNode(i.Fragment,null,[c.value&&i.createVNode(se.LayoutHeader,{style:{height:`${r.value}px`,lineHeight:`${r.value}px`,background:"transparent"}},null),i.createVNode(se.LayoutHeader,{style:{padding:0,height:`${r.value}px`,lineHeight:`${r.value}px`,width:h.value,zIndex:a.value==="mix"?100:19,right:b.value},class:{[`${s}`]:!0,[`${s}-${a.value}`]:!0,[`${s}-fixed`]:c.value}},Vy(v=p())?v:{default:()=>[v]})])}}}),Ly={...$n,...Ce,...yi,...Bc,pure:Boolean,loading:Boolean,locale:{type:[Function,Boolean],default:!1},isChildrenLayout:{type:Boolean,required:!1},colSize:{type:Number,required:!1},contentStyle:{type:[String,Object],default:()=>null},breadcrumb:{type:[Object,Function],default:()=>null},collapsedButtonRender:{type:[Function,Object,Boolean],default:()=>{}},breadcrumbRender:{type:[Object,Function,Boolean],default:()=>null},headerContentRender:{type:[Function,Object,Boolean],default:()=>{}},headerRender:{type:[Object,Function,Boolean],default:()=>{}},footerRender:{type:[Object,Function,Boolean],default:()=>{}},tabRender:{type:[Object,Function,Boolean],default:()=>{}}},Hc=ut(i.defineComponent({name:"ProLayout",inheritAttrs:!1,props:Ly,emits:["update:collapsed","update:open-keys","update:selected-keys","collapse","openKeys","select","menuHeaderClick","menuClick"],setup(e,{emit:t,attrs:n,slots:o}){const r=i.computed(()=>e.layout==="top"),a=i.computed(()=>e.layout==="mix"||e.layout==="side"||!1),l=i.computed(()=>e.layout==="mix"&&e.splitMenus),s=i.computed(()=>a.value&&l.value),c=i.computed(()=>e.collapsed?e.collapsedWidth:e.siderWidth),u=S=>{t("update:collapsed",S),t("collapse",S)},d=S=>{t("update:open-keys",S),t("openKeys",S)},f=S=>{t("update:selected-keys",S),t("select",S)},m=S=>{t("menuHeaderClick",S)},p=S=>{t("menuClick",S)},h=pi(),b=i.computed(()=>h.value==="sm"||h.value==="xs"),v="ant-pro-basicLayout",y=i.computed(()=>({[v]:!0,[`${v}-top-menu`]:r.value,[`${v}-is-children`]:e.isChildrenLayout,[`${v}-fix-siderbar`]:e.fixSiderbar,[`screen-${h.value}`]:!0,[`layout-${e.layout}`]:!0,[`theme-${e.theme}`]:!0,[`theme-menu-${e.menuTheme}`]:!0})),w=i.reactive({position:"relative"});i.watchEffect(()=>{(e.isChildrenLayout||e.contentStyle&&e.contentStyle.minHeight)&&(w.minHeight=0)});const $=(S,T)=>S.headerRender===!1||S.pure?null:i.createVNode(zy,i.mergeProps(S,{matchMenuKeys:T||[]}),null),x=i.computed(()=>({...e.breadcrumb,itemRender:be(o,e,"breadcrumbRender")})),C=i.computed(()=>s.value&&e.selectedKeys&&gi(e.menuData,e.selectedKeys[0])||[]),O=i.reactive({...Oo,...Uc(i.toRefs(e),["locale","menuData","openKeys","selectedKeys","fixSiderbar","fixedHeader","headerHeight"]),isMobile:b,siderWidth:c,breadcrumb:x,flatMenuData:C,hasSide:a,hasHeader:!0,flatMenu:s});return i.provide(Sn,O),document.documentElement.setAttribute("data-theme",e.theme),()=>{var ne;const{pure:S,onCollapse:T,onOpenKeys:I,onSelect:E,onMenuClick:N,...H}=e,D=be(o,e,"collapsedButtonRender"),W=be(o,e,"headerContentRender"),P=be(o,e,"headerContentRightRender"),R=be(o,e,"headerRender"),B=be(o,e,"footerRender"),V=be(o,e,"tabRender"),U=be(o,e,"menuHeaderRender"),G=be(o,e,"menuHeaderExtraRender"),L=be(o,e,"menuContentRender"),X=be(o,e,"menuFooterRender"),J=be(o,e,"menuItemRender"),le=be(o,e,"menuSubItemRender"),oe=i.computed(()=>$({...e,menuItemRender:J,menuSubItemRender:le,hasSiderMenu:!r.value,menuData:e.menuData,isMobile:i.unref(b),onCollapse:u,onOpenKeys:d,onSelect:f,onMenuHeaderClick:m,headerContentRightRender:P,collapsedButtonRender:D,headerTitleRender:U,menuHeaderExtraRender:G,menuContentRender:L,headerContentRender:W,headerRender:R},e.matchMenuKeys));O.hasHeader=!!oe.value;const fe=i.computed(()=>({[`${v}-content`]:!0,[`${v}-has-header`]:oe,[`${v}-children-layout`]:e.isChildrenLayout})),A=i.computed(()=>{let Q="100%";return e.layout==="mix"&&l.value&&C.value.length===0?Q="100%":!r.value&&!b.value&&(Q=`calc(100% - ${c.value}px)`),Q}),k=i.computed(()=>e.tabRender===!1||!V?null:V({width:A.value,...e})),K=i.computed(()=>e.footerRender===!1||!B?null:B({width:A.value,...e}));return i.createVNode(i.Fragment,null,[S?(ne=o.default)==null?void 0:ne.call(o):i.createVNode("div",{class:y.value},[i.createVNode(se.Layout,{style:{minHeight:"100%",...n.style||{}}},{default:()=>[(!r.value||b.value)&&i.createVNode(ii,i.mergeProps(H,{isMobile:b.value,menuHeaderRender:U,menuHeaderExtraRender:G,menuContentRender:L,menuFooterRender:X,menuItemRender:J,menuSubItemRender:le,collapsedButtonRender:D,onCollapse:u,onSelect:f,onOpenKeys:d,onMenuClick:p}),null),i.createVNode(se.Layout,{style:w},{default:()=>[oe.value,k.value,i.createVNode(se.LayoutContent,{class:fe.value,style:e.contentStyle},{default:()=>{var Q;return[e.loading?i.createVNode(Dc,null,null):(Q=o.default)==null?void 0:Q.call(o)]}}),K.value]})]})])])}}}));j.BaseMenu=Eo,j.GlobalFooter=Qc,j.GlobalHeader=On,j.MediaQueryEnum=Lt,j.PageContainer=Hy,j.PrefersColorSchemeEnum=jt,j.ProLayout=Hc,j.clearMenuItem=Cn,j.createContext=ci,j.createRouteContext=di,j.default=Hc,j.defaultRouteContext=Oo,j.flatMap=Kc,j.getMediaScreen=fi,j.getMenuData=Xc,j.getMenuFirstChildren=gi,j.getPrefersColorScheme=mi,j.routeContextInjectKey=Sn,j.useContext=ui,j.useMediaScreen=pi,j.usePrefersColorScheme=jc,j.useRouteContext=yt,j.viewTransitionTheme=Fc,Object.defineProperties(j,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});