vue3-json-schema-editor-ts
Version:
A json-schema editor of high efficient and easy-to-use, base on Vue3
2 lines • 537 kB
JavaScript
(function(i,pn){typeof exports=="object"&&typeof module<"u"?module.exports=pn(require("vue")):typeof define=="function"&&define.amd?define(["vue"],pn):(i=typeof globalThis<"u"?globalThis:i||self,i.TsJsonSchemaEditorVue3=pn(i.Vue))})(this,function(i){"use strict";function pn(e){return typeof e>"u"||e===null?!0:e===""}function wg(e,[t,n]){const o=Object.getOwnPropertyDescriptors(e);return Object.prototype.hasOwnProperty.call(o,t)&&Object.entries(o).reduce((r,[a,l])=>(Reflect.deleteProperty(r,a),a===t&&(a=n),Reflect.defineProperty(r,a,l),r),e),e}const xg={value:{description:null,maxProperties:null,minProperties:null},attr:{description:{name:"描述",type:"string"},maxProperties:{name:"最大属性个数",type:"integer"},minProperties:{name:"最小属性个数",type:"integer"}}},Sg={value:{description:null,maxLength:null,minLength:null,pattern:null,format:void 0,enum:void 0},attr:{description:{name:"描述",type:"string"},maxLength:{name:"最大字符数",type:"integer"},minLength:{name:"最小字符数",type:"integer"},pattern:{name:"正则表达式",type:"string"},format:{name:"格式",type:"array",enums:["date","date-time","email","hostname","ipv4","ipv6","uri"]},enum:{name:"枚举",type:"array"}}},Cg={value:{description:null,minItems:null,maxItems:null,uniqueItems:!1},attr:{description:{name:"描述",type:"string"},maxItems:{name:"最大元素个数",type:"integer"},minItems:{name:"最小元素个数",type:"integer"},uniqueItems:{name:"元素不可重复",type:"boolean"}}},$g={value:{description:null},attr:{description:{name:"描述",type:"string"}}},Og={value:{description:null,maximum:null,minimum:null,exclusiveMaximum:null,exclusiveMinimum:null,enum:null},attr:{description:{name:"描述",type:"string"},maximum:{name:"最大值",type:"integer"},minimum:{name:"最小值",type:"integer"},exclusiveMaximum:{name:"不包含最大值",type:"boolean"},exclusiveMinimum:{name:"不包含最小值",type:"boolean"},enum:{name:"枚举",type:"array"}}},Pg={value:{description:null,maximum:null,minimum:null,exclusiveMaximum:null,exclusiveMinimum:null,enum:null},attr:{description:{name:"描述",type:"string"},maximum:{name:"最大值",type:"number"},minimum:{name:"最小值",type:"number"},exclusiveMaximum:{name:"不包含最大值",type:"boolean"},exclusiveMinimum:{name:"不包含最小值",type:"boolean"},enum:{name:"枚举",type:"array"}}},Ig=["string","number","integer","object","array","boolean"],Ss={object:xg,string:Sg,array:Cg,boolean:$g,integer:Og,number:Pg};function Ln(e){"@babel/helpers - typeof";return Ln=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},Ln(e)}function Tg(e,t){if(Ln(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t);if(Ln(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Eg(e){var t=Tg(e,"string");return Ln(t)=="symbol"?t:t+""}function Ng(e,t,n){return(t=Eg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cs(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 j(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cs(Object(n),!0).forEach(function(o){Ng(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cs(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},m.apply(null,arguments)}const _g=e=>typeof e=="function",Mg=Array.isArray,Ag=e=>typeof e=="string",Rg=e=>e!==null&&typeof e=="object",Vg=/^on[^a-z]/,Fg=e=>Vg.test(e),$s=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Dg=/-(\w)/g,Os=$s(e=>e.replace(Dg,(t,n)=>n?n.toUpperCase():"")),Bg=/\B([A-Z])/g,jg=$s(e=>e.replace(Bg,"-$1").toLowerCase()),zg=Object.prototype.hasOwnProperty,Ps=(e,t)=>zg.call(e,t);function Hg(e,t,n,o){const r=e[n];if(r!=null){const a=Ps(r,"default");if(a&&o===void 0){const l=r.default;o=r.type!==Function&&_g(l)?l():l}r.type===Boolean&&(!Ps(t,n)&&!a?o=!1:o===""&&(o=!0))}return o}function mn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??n}function Lg(e){let t;const n=new Promise(r=>{t=e(()=>{r(!0)})}),o=()=>{t==null||t()};return o.then=(r,a)=>n.then(r,a),o.promise=n,o}function J(){const e=[];for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n){if(Ag(n))e.push(n);else if(Mg(n))for(let o=0;o<n.length;o++){const r=J(n[o]);r&&e.push(r)}else if(Rg(n))for(const o in n)n[o]&&e.push(o)}}return e.join(" ")}var Is=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__;r<a.length;r++){var l=a[r];n.call(o,l[1],l[0])}},t}()}(),pi=typeof window<"u"&&typeof document<"u"&&window.document===document,Mo=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Wg=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Mo):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),kg=2;function Gg(e,t){var n=!1,o=!1,r=0;function a(){n&&(n=!1,e()),o&&s()}function l(){Wg(a)}function s(){var c=Date.now();if(n){if(c-r<kg)return;o=!0}else n=!0,o=!1,setTimeout(l,t);r=c}return s}var qg=20,Ug=["top","right","bottom","left","width","height","size","weight"],Kg=typeof MutationObserver<"u",Xg=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Gg(this.refresh.bind(this),qg)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,o=n.indexOf(t);~o&&n.splice(o,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!pi||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Kg?(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(){!pi||!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=Ug.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}(),Ts=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},gn=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||Mo},Es=Ro(0,0,0,0);function Ao(e){return parseFloat(e)||0}function Ns(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(o,r){var a=e["border-"+r+"-width"];return o+Ao(a)},0)}function Yg(e){for(var t=["top","right","bottom","left"],n={},o=0,r=t;o<r.length;o++){var a=r[o],l=e["padding-"+a];n[a]=Ao(l)}return n}function Qg(e){var t=e.getBBox();return Ro(0,0,t.width,t.height)}function Zg(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Es;var o=gn(e).getComputedStyle(e),r=Yg(o),a=r.left+r.right,l=r.top+r.bottom,s=Ao(o.width),c=Ao(o.height);if(o.boxSizing==="border-box"&&(Math.round(s+a)!==t&&(s-=Ns(o,"left","right")+a),Math.round(c+l)!==n&&(c-=Ns(o,"top","bottom")+l)),!eh(e)){var d=Math.round(s+a)-t,u=Math.round(c+l)-n;Math.abs(d)!==1&&(s-=d),Math.abs(u)!==1&&(c-=u)}return Ro(r.left,r.top,s,c)}var Jg=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof gn(e).SVGGraphicsElement}:function(e){return e instanceof gn(e).SVGElement&&typeof e.getBBox=="function"}}();function eh(e){return e===gn(e).document.documentElement}function th(e){return pi?Jg(e)?Qg(e):Zg(e):Es}function nh(e){var t=e.x,n=e.y,o=e.width,r=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,l=Object.create(a.prototype);return Ts(l,{x:t,y:n,width:o,height:r,top:n,right:t+o,bottom:r+n,left:t}),l}function Ro(e,t,n,o){return{x:e,y:t,width:n,height:o}}var oh=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Ro(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=th(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),rh=function(){function e(t,n){var o=nh(n);Ts(this,{target:t,contentRect:o})}return e}(),ih=function(){function e(t,n,o){if(this.activeObservations_=[],this.observations_=new Is,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=o}return e.prototype.observe=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 gn(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new oh(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 gn(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 rh(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}(),_s=typeof WeakMap<"u"?new WeakMap:new Is,Ms=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=Xg.getInstance(),o=new ih(t,n,this);_s.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Ms.prototype[e]=function(){var t;return(t=_s.get(this))[e].apply(t,arguments)}});var As=function(){return typeof Mo.ResizeObserver<"u"?Mo.ResizeObserver:Ms}();const ah=e=>e!=null&&e!=="",et=(e,t)=>{const n=m({},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},lh=e=>{const t=Object.keys(e),n={},o={},r={};for(let a=0,l=t.length;a<l;a++){const s=t[a];Fg(s)?(n[s[2].toLowerCase()+s.slice(3)]=e[s],o[s]=e[s]):r[s]=e[s]}return{onEvents:o,events:n,extraAttrs:r}},sh=function(){let e=arguments.length>0&&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?Os(l[0].trim()):l[0].trim();n[s]=l[1].trim()}}}),n)},ch=(e,t)=>e[t]!==void 0,uh=Symbol("skipFlatten"),Re=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(...Re(r,t)):r&&r.type===i.Fragment?r.key===uh?o.push(r):o.push(...Re(r.children,t)):r&&i.isVNode(r)?t&&!Vs(r)?o.push(r):t||o.push(r):ah(r)&&o.push(r)}),o},dh=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"?Re(e.children):[]:e.children&&e.children[t]?Re(e.children[t](n)):[];{const o=e.$slots[t]&&e.$slots[t](n);return Re(o)}},ht=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},fh=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(o=>{const r=e.$props[o],a=jg(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[Os(a)]=n[a]});const r=e.type.props||{};Object.keys(r).forEach(a=>{const l=Hg(r,o,a,o[a]);(l!==void 0||a in o)&&(t[a]=l)})}return t},ph=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=Re(r),r=r.length===1?r[0]:r,r=r.length===0?void 0:r),r};function Rs(){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=m(m({},n),e.$attrs):n=m(m({},n),e.props),lh(n)[t?"onEvents":"events"]}function mh(e,t){let o=((i.isVNode(e)?e.props:e.$attrs)||{}).style||{};return typeof o=="string"&&(o=sh(o,t)),o}function gh(e){return e.length===1&&e[0].type===i.Fragment}function Vs(e){return e&&(e.type===i.Comment||e.type===i.Fragment&&e.children.length===0||e.type===i.Text&&e.children.trim()==="")}function vt(){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(...vt(n.children)):t.push(n)}),t.filter(n=>!Vs(n))}function Nt(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function mi(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)}const Vo=i.defineComponent({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const o=i.reactive({width:0,height:0,offsetHeight:0,offsetWidth:0});let r=null,a=null;const l=()=>{a&&(a.disconnect(),a=null)},s=u=>{const{onResize:f}=e,p=u[0].target,{width:g,height:h}=p.getBoundingClientRect(),{offsetWidth:b,offsetHeight:x}=p,y=Math.floor(g),$=Math.floor(h);if(o.width!==y||o.height!==$||o.offsetWidth!==b||o.offsetHeight!==x){const w={width:y,height:$,offsetWidth:b,offsetHeight:x};m(o,w),f&&Promise.resolve().then(()=>{f(m(m({},w),{offsetWidth:b,offsetHeight:x}),p)})}},c=i.getCurrentInstance(),d=()=>{const{disabled:u}=e;if(u){l();return}const f=ht(c);f!==r&&(l(),r=f),!a&&f&&(a=new As(s),a.observe(f))};return i.onMounted(()=>{d()}),i.onUpdated(()=>{d()}),i.onUnmounted(()=>{l()}),i.watch(()=>e.disabled,()=>{d()},{flush:"post"}),()=>{var u;return(u=n.default)===null||u===void 0?void 0:u.call(n)[0]}}});let Fs=e=>setTimeout(e,16),Ds=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(Fs=e=>window.requestAnimationFrame(e),Ds=e=>window.cancelAnimationFrame(e));let Bs=0;const gi=new Map;function js(e){gi.delete(e)}function ce(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Bs+=1;const n=Bs;function o(r){if(r===0)js(n),e();else{const a=Fs(()=>{o(r-1)});gi.set(n,a)}}return o(t),n}ce.cancel=e=>{const t=gi.get(e);return js(t),Ds(t)};const bt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},Lt=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function Fo(){return{type:[Function,Array]}}function ue(e){return{type:Object,default:e}}function fe(e){return{type:Boolean,default:e}}function ye(e){return{type:Function,default:e}}function tt(e,t){const n={validator:()=>!0,default:e};return n}function Wn(e){return{type:Array,default:e}}function Ve(e){return{type:String,default:e}}function Be(e,t){return e?{type:e,default:t}:tt(t)}let Ne=!1;try{const e=Object.defineProperty({},"passive",{get(){Ne=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function hn(e,t,n,o){if(e&&e.addEventListener){let r=o;r===void 0&&Ne&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(r={passive:!1}),e.addEventListener(t,n,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const hi="anticon",zs=Symbol("GlobalFormContextKey"),hh=e=>{i.provide(zs,e)},vh=()=>i.inject(zs,{validateMessages:i.computed(()=>{})}),bh=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:ue(),input:ue(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:ue(),pageHeader:ue(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:ue(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:ue(),pagination:ue(),theme:ue(),select:ue(),wave:ue()}),vi=Symbol("configProvider"),Hs={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:i.computed(()=>hi),getPopupContainer:i.computed(()=>()=>document.body),direction:i.computed(()=>"ltr")},Do=()=>i.inject(vi,Hs),yh=e=>i.provide(vi,e),Ls=Symbol("DisabledContextKey"),yt=()=>i.inject(Ls,i.ref(void 0)),Ws=e=>{const t=yt();return i.provide(Ls,i.computed(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},wh={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"},xh={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"},ks={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Gs={lang:m({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"]},xh),timePickerLocale:m({},ks)},je="${label} is not a valid ${type}",_t={locale:"en",Pagination:wh,DatePicker:Gs,TimePicker:ks,Calendar:Gs,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:je,method:je,array:je,object:je,number:je,date:je,boolean:je,integer:je,float:je,regexp:je,email:je,url:je,hex:je},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"}},qs=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||_t[l||"global"],{antLocale:d}=o,u=l&&d?d[l]:{};return m(m({},typeof c=="function"?c():c),u||{})}),a=i.computed(()=>{const{antLocale:l}=o,s=l&&l.locale;return l&&l.exist&&!s?_t.locale:s});return()=>{const l=e.children||n.default,{antLocale:s}=o;return l==null?void 0:l(r.value,a.value,s)}}});function Bo(e,t,n){const o=i.inject("localeData",{});return[i.computed(()=>{const{antLocale:a}=o,l=i.unref(t)||_t[e||"global"],s=e&&a?a[e]:{};return m(m(m({},typeof l=="function"?l():l),s||{}),i.unref(n)||{})})]}function bi(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 Us="%";class Sh{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Us):t)||null}update(t,n){const o=Array.isArray(t)?t.join(Us):t,r=this.cache.get(o),a=n(r);a===null?this.cache.delete(o):this.cache.set(o,a)}}const Ks="data-token-hash",Wt="data-css-hash",Ch="data-cache-path",vn="__cssinjs_instance__";function kn(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Wt}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(r=>{r[vn]=r[vn]||e,r[vn]===e&&document.head.insertBefore(r,n)});const o={};Array.from(document.querySelectorAll(`style[${Wt}]`)).forEach(r=>{var a;const l=r.getAttribute(Wt);o[l]?r[vn]===e&&((a=r.parentNode)===null||a===void 0||a.removeChild(r)):o[l]=!0})}return new Sh(e)}const Xs=Symbol("StyleContextKey"),$h=()=>{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=kn(),o.appContext.config.globalProperties&&(o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=r))}else r=kn();return r},Ys={cache:kn(),defaultCache:!0,hashPriority:"low"},jo=()=>{const e=$h();return i.inject(Xs,i.shallowRef(m(m({},Ys),{cache:e})))},Oh=e=>{const t=jo(),n=i.shallowRef(m(m({},Ys),{cache:kn()}));return i.watch([()=>i.unref(e),t],()=>{const o=m({},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||kn(),o.defaultCache=!a&&t.value.defaultCache,n.value=o},{immediate:!0}),i.provide(Xs,n),n},Ph=()=>({autoClear:fe(),mock:Ve(),cache:ue(),defaultCache:fe(),hashPriority:Ve(),container:Be(),ssrInline:fe(),transformers:Wn(),linters:Wn()});Lt(i.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:Ph(),setup(e,t){let{slots:n}=t;return Oh(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}));function Ih(){return!1}let yi=!1;function Th(){return yi}const Eh=process.env.NODE_ENV==="production"?Ih:Th;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 yi=!0,setTimeout(()=>{yi=!1},0),t(...arguments)}}}function Qs(e,t,n,o){const r=jo(),a=i.shallowRef(""),l=i.shallowRef();i.watchEffect(()=>{a.value=[e,...t.value].join("%")});const s=Eh(),c=d=>{r.value.cache.update(d,u=>{const[f=0,p]=u||[];return f-1===0?(o==null||o(p,!1),null):[f-1,p]})};return i.watch(a,(d,u)=>{u&&c(u),r.value.cache.update(d,f=>{const[p=0,g]=f||[];let h=g;process.env.NODE_ENV!=="production"&&g&&s&&(o==null||o(h,s),h=null);const b=h||n();return[p+1,b]}),l.value=r.value.cache.get(a.value)[1]},{immediate:!0}),i.onBeforeUnmount(()=>{c(a.value)}),l}function Ge(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Mt(e,t){return e&&e.contains?e.contains(t):!1}const Zs="data-vc-order",Nh="vc-util-key",wi=new Map;function Js(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:Nh}function zo(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function _h(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function ec(e){return Array.from((wi.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function tc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ge())return null;const{csp:n,prepend:o}=t,r=document.createElement("style");r.setAttribute(Zs,_h(o)),n!=null&&n.nonce&&(r.nonce=n==null?void 0:n.nonce),r.innerHTML=e;const a=zo(t),{firstChild:l}=a;if(o){if(o==="queue"){const s=ec(a).filter(c=>["prepend","prependQueue"].includes(c.getAttribute(Zs)));if(s.length)return a.insertBefore(r,s[s.length-1].nextSibling),r}a.insertBefore(r,l)}else a.appendChild(r);return r}function nc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=zo(t);return ec(n).find(o=>o.getAttribute(Js(t))===e)}function Ho(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=nc(e,t);n&&zo(t).removeChild(n)}function Mh(e,t){const n=wi.get(e);if(!n||!Mt(document,n)){const o=tc("",t),{parentNode:r}=o;wi.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=zo(n);Mh(l,n);const s=nc(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=tc(e,n);return c.setAttribute(Js(n),t),c}function Ah(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}class bn{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t){let n=arguments.length>1&&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>bn.MAX_CACHE_SIZE+bn.MAX_CACHE_OFFSET){const[r]=this.keys.reduce((a,l)=>{const[,s]=a;return this.internalGet(l)[1]<s?[l,this.internalGet(l)[1]]:a},[this.keys[0],this.cacheCallTimes]);this.delete(r)}this.keys.push(t)}let o=this.cache;t.forEach((r,a)=>{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=>!Ah(n,t)),this.deleteByPath(this.cache,t)}}bn.MAX_CACHE_SIZE=20,bn.MAX_CACHE_OFFSET=5;let xi={};function yn(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function Rh(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.warn(`Note: ${t}`)}function Vh(){xi={}}function oc(e,t,n){!t&&!xi[n]&&(e(!1,n),xi[n]=!0)}function qe(e,t){oc(yn,e,t)}function rc(e,t){oc(Rh,e,t)}function Fh(){}let _e=Fh;process.env.NODE_ENV!=="production"&&(_e=(e,t,n)=>{qe(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&Vh()});let ic=0;class ac{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=ic,t.length===0&&_e(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),ic+=1}getDerivativeToken(t){return this.derivatives.reduce((n,o)=>o(t,n),void 0)}}const Si=new bn;function lc(e){const t=Array.isArray(e)?e:[e];return Si.has(t)||Si.set(t,new ac(t)),Si.get(t)}const sc=new WeakMap;function Lo(e){let t=sc.get(e)||"";return t||(Object.keys(e).forEach(n=>{const o=e[n];t+=n,o instanceof ac?t+=o.id:o&&typeof o=="object"?t+=Lo(o):t+=o}),sc.set(e,t)),t}function Dh(e,t){return bi(`${t}_${Lo(e)}`)}const qn=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),cc="_bAmBoO_";function Bh(e,t,n){var o,r;if(Ge()){Gn(e,qn);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(cc);return(r=a.parentNode)===null||r===void 0||r.removeChild(a),Ho(qn),l}return!1}let Ci;function jh(){return Ci===void 0&&(Ci=Bh(`@layer ${qn} { .${qn} { content: "${cc}"!important; } }`,e=>{e.className=qn})),Ci}const uc={},zh=process.env.NODE_ENV==="production",Hh=process.env.NODE_ENV==="prerender",Lh=!zh&&!Hh?"css-dev-only-do-not-override":"css",kt=new Map;function Wh(e){kt.set(e,(kt.get(e)||0)+1)}function kh(e,t){typeof document<"u"&&document.querySelectorAll(`style[${Ks}="${e}"]`).forEach(o=>{var r;o[vn]===t&&((r=o.parentNode)===null||r===void 0||r.removeChild(o))})}const Gh=0;function qh(e,t){kt.set(e,(kt.get(e)||0)-1);const n=Array.from(kt.keys()),o=n.filter(r=>(kt.get(r)||0)<=0);n.length-o.length>Gh&&o.forEach(r=>{kh(r,t),kt.delete(r)})}const Uh=(e,t,n,o)=>{const r=n.getDerivativeToken(e);let a=m(m({},r),t);return o&&(a=o(a)),a};function Kh(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:i.ref({});const o=jo(),r=i.computed(()=>m({},...t.value)),a=i.computed(()=>Lo(r.value)),l=i.computed(()=>Lo(n.value.override||uc));return Qs("token",i.computed(()=>[n.value.salt||"",e.value.id,a.value,l.value]),()=>{const{salt:c="",override:d=uc,formatToken:u,getComputedToken:f}=n.value,p=f?f(r.value,d,e.value):Uh(r.value,d,e.value,u),g=Dh(p,c);p._tokenKey=g,Wh(g);const h=`${Lh}-${bi(g)}`;return p._hashId=h,[p,h]},c=>{var d;qh(c[0]._tokenKey,(d=o.value)===null||d===void 0?void 0:d.cache.instanceId)})}var Xh={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},dc="comm",fc="rule",pc="decl",Yh="@import",Qh="@namespace",Zh="@keyframes",Jh="@layer",mc=Math.abs,$i=String.fromCharCode;function gc(e){return e.trim()}function Wo(e,t,n){return e.replace(t,n)}function ev(e,t,n){return e.indexOf(t,n)}function wn(e,t){return e.charCodeAt(t)|0}function xn(e,t,n){return e.slice(t,n)}function lt(e){return e.length}function tv(e){return e.length}function ko(e,t){return t.push(e),e}var Go=1,Sn=1,hc=0,Ue=0,we=0,Cn="";function Oi(e,t,n,o,r,a,l,s){return{value:e,root:t,parent:n,type:o,props:r,children:a,line:Go,column:Sn,length:l,return:"",siblings:s}}function nv(){return we}function ov(){return we=Ue>0?wn(Cn,--Ue):0,Sn--,we===10&&(Sn=1,Go--),we}function nt(){return we=Ue<hc?wn(Cn,Ue++):0,Sn++,we===10&&(Sn=1,Go++),we}function At(){return wn(Cn,Ue)}function qo(){return Ue}function Uo(e,t){return xn(Cn,e,t)}function Un(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function rv(e){return Go=Sn=1,hc=lt(Cn=e),Ue=0,[]}function iv(e){return Cn="",e}function Pi(e){return gc(Uo(Ue-1,Ii(e===91?e+2:e===40?e+1:e)))}function av(e){for(;(we=At())&&we<33;)nt();return Un(e)>2||Un(we)>3?"":" "}function lv(e,t){for(;--t&&nt()&&!(we<48||we>102||we>57&&we<65||we>70&&we<97););return Uo(e,qo()+(t<6&&At()==32&&nt()==32))}function Ii(e){for(;nt();)switch(we){case e:return Ue;case 34:case 39:e!==34&&e!==39&&Ii(we);break;case 40:e===41&&Ii(e);break;case 92:nt();break}return Ue}function sv(e,t){for(;nt()&&e+we!==57;)if(e+we===84&&At()===47)break;return"/*"+Uo(t,Ue-1)+"*"+$i(e===47?e:nt())}function cv(e){for(;!Un(At());)nt();return Uo(e,Ue)}function uv(e){return iv(Ko("",null,null,null,[""],e=rv(e),0,[0],e))}function Ko(e,t,n,o,r,a,l,s,c){for(var d=0,u=0,f=l,p=0,g=0,h=0,b=1,x=1,y=1,$=0,w="",C=r,S=a,O=o,v=w;x;)switch(h=$,$=nt()){case 40:if(h!=108&&wn(v,f-1)==58){ev(v+=Wo(Pi($),"&","&\f"),"&\f",mc(d?s[d-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:v+=Pi($);break;case 9:case 10:case 13:case 32:v+=av(h);break;case 92:v+=lv(qo()-1,7);continue;case 47:switch(At()){case 42:case 47:ko(dv(sv(nt(),qo()),t,n,c),c),(Un(h||1)==5||Un(At()||1)==5)&<(v)&&xn(v,-1,void 0)!==" "&&(v+=" ");break;default:v+="/"}break;case 123*b:s[d++]=lt(v)*y;case 125*b:case 59:case 0:switch($){case 0:case 125:x=0;case 59+u:y==-1&&(v=Wo(v,/\f/g,"")),g>0&&(lt(v)-f||b===0&&h===47)&&ko(g>32?bc(v+";",o,n,f-1,c):bc(Wo(v," ","")+";",o,n,f-2,c),c);break;case 59:v+=";";default:if(ko(O=vc(v,t,n,d,u,r,s,w,C=[],S=[],f,a),a),$===123)if(u===0)Ko(v,t,O,O,C,a,f,s,S);else{switch(p){case 99:if(wn(v,3)===110)break;case 108:if(wn(v,2)===97)break;default:u=0;case 100:case 109:case 115:}u?Ko(e,O,O,o&&ko(vc(e,O,O,0,0,r,s,w,r,C=[],f,S),S),r,S,f,s,o?C:S):Ko(v,O,O,O,[""],S,0,s,S)}}d=u=g=0,b=y=1,w=v="",f=l;break;case 58:f=1+lt(v),g=h;default:if(b<1){if($==123)--b;else if($==125&&b++==0&&ov()==125)continue}switch(v+=$i($),$*b){case 38:y=u>0?1:(v+="\f",-1);break;case 44:s[d++]=(lt(v)-1)*y,y=1;break;case 64:At()===45&&(v+=Pi(nt())),p=At(),u=f=lt(w=v+=cv(qo())),$++;break;case 45:h===45&<(v)==2&&(b=0)}}return a}function vc(e,t,n,o,r,a,l,s,c,d,u,f){for(var p=r-1,g=r===0?a:[""],h=tv(g),b=0,x=0,y=0;b<o;++b)for(var $=0,w=xn(e,p+1,p=mc(x=l[b])),C=e;$<h;++$)(C=gc(x>0?g[$]+" "+w:Wo(w,/&\f/g,g[$])))&&(c[y++]=C);return Oi(e,t,n,r===0?fc:s,c,d,u,f)}function dv(e,t,n,o){return Oi(e,t,n,dc,$i(nv()),xn(e,2,-2),0,o)}function bc(e,t,n,o,r){return Oi(e,t,n,pc,xn(e,0,o),xn(e,o+1,-1),o,r)}function Ti(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function fv(e,t,n,o){switch(e.type){case Jh:if(e.children.length)break;case Yh:case Qh:case pc:return e.return=e.return||e.value;case dc:return"";case Zh:return e.return=e.value+"{"+Ti(e.children,o)+"}";case fc:if(!lt(e.value=e.props.join(",")))return""}return lt(n=Ti(e.children,o))?e.return=e.value+"{"+n+"}":""}function yc(e,t){const{path:n,parentSelectors:o}=t;qe(!1,`[Ant Design Vue CSS-in-JS] ${n?`Error in '${n}': `:""}${e}${o.length?` Selector info: ${o.join(" -> ")}`:""}`)}const pv=(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)!=="'"))&&yc(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},mv=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&yc(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)},wc="data-ant-cssinjs-cache-path",gv="_FILE_STYLE__";let Gt,xc=!0;function hv(){var e;if(!Gt&&(Gt={},Ge())){const t=document.createElement("div");t.className=wc,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[${wc}]`);o&&(xc=!1,(e=o.parentNode)===null||e===void 0||e.removeChild(o)),document.body.removeChild(t)}}function vv(e){return hv(),!!Gt[e]}function bv(e){const t=Gt[e];let n=null;if(t&&Ge())if(xc)n=gv;else{const o=document.querySelector(`style[${Wt}="${Gt[e]}"]`);o?n=o.innerHTML:delete Gt[e]}return[n,t]}const Sc=Ge(),Cc="_skip_check_",$c="_multi_value_";function Oc(e){return Ti(uv(e),fv).replace(/\{%%%\:[^;];}/g,";")}function yv(e){return typeof e=="object"&&e&&(Cc in e||$c in e)}function wv(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 d=c[0]||"";const u=((s=d.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return d=`${u}${r}${d.slice(u.length)}`,[d,...c.slice(1)].join(" ")}).join(",")}const Ei=new Set;process.env.NODE_ENV;const Ni=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:d=[],linters:u=[]}=t;let f="",p={};function g(x){const y=x.getName(a);if(!p[y]){const[$]=Ni(x.style,t,{root:!1,parentSelectors:r});p[y]=`@keyframes ${x.getName(a)}${$}`}}function h(x){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return x.forEach($=>{Array.isArray($)?h($,y):$&&y.push($)}),y}if(h(Array.isArray(e)?e:[e]).forEach(x=>{const y=typeof x=="string"&&!n?{}:x;if(typeof y=="string")f+=`${y}
`;else if(y._keyframe)g(y);else{const $=d.reduce((w,C)=>{var S;return((S=C==null?void 0:C.visit)===null||S===void 0?void 0:S.call(C,w))||w},y);Object.keys($).forEach(w=>{var C;const S=$[w];if(typeof S=="object"&&S&&(w!=="animationName"||!S._keyframe)&&!yv(S)){let O=!1,v=w.trim(),P=!1;(n||o)&&a?v.startsWith("@")?O=!0:v=wv(w,a,c):n&&!a&&(v==="&"||v==="")&&(v="",P=!0);const[T,E]=Ni(S,t,{root:P,injectHash:O,parentSelectors:[...r,v]});p=m(m({},p),E),f+=`${v}${T}`}else{let O=function(P,T){process.env.NODE_ENV!=="production"&&(typeof S!="object"||!(S!=null&&S[Cc]))&&[pv,mv,...u].forEach(W=>W(P,T,{path:s,hashId:a,parentSelectors:r}));const E=P.replace(/[A-Z]/g,W=>`-${W.toLowerCase()}`);let F=T;!Xh[P]&&typeof F=="number"&&F!==0&&(F=`${F}px`),P==="animationName"&&(T!=null&&T._keyframe)&&(g(T),F=T.getName(a)),f+=`${E}:${F};`};const v=(C=S==null?void 0:S.value)!==null&&C!==void 0?C:S;typeof S=="object"&&(S!=null&&S[$c])&&Array.isArray(v)?v.forEach(P=>{O(w,P)}):O(w,v)}})}}),!n)f=`{${f}}`;else if(l&&jh()){const x=l.split(",");f=`@layer ${x[x.length-1].trim()} {${f}}`,x.length>1&&(f=`@layer ${l}{%%%:%}${f}`)}return[f,p]};function xv(e,t){return bi(`${e.join("%")}${t}`)}function _i(e,t){const n=jo(),o=i.computed(()=>e.value.token._tokenKey),r=i.computed(()=>[o.value,...e.value.path]);let a=Sc;return process.env.NODE_ENV!=="production"&&n.value.mock!==void 0&&(a=n.value.mock==="client"),Qs("style",r,()=>{const{path:l,hashId:s,layer:c,nonce:d,clientOnly:u,order:f=0}=e.value,p=r.value.join("|");if(vv(p)){const[v,P]=bv(p);if(v)return[v,o.value,P,{},u,f]}const g=t(),{hashPriority:h,container:b,transformers:x,linters:y,cache:$}=n.value,[w,C]=Ni(g,{hashId:s,hashPriority:h,layer:c,path:l.join("-"),transformers:x,linters:y}),S=Oc(w),O=xv(r.value,S);if(a){const v={mark:Wt,prepend:"queue",attachTo:b,priority:f},P=typeof d=="function"?d():d;P&&(v.csp={nonce:P});const T=Gn(S,O,v);T[vn]=$.instanceId,T.setAttribute(Ks,o.value),process.env.NODE_ENV!=="production"&&T.setAttribute(Ch,r.value.join("|")),Object.keys(C).forEach(E=>{Ei.has(E)||(Ei.add(E),Gn(Oc(C[E]),`_effect-${E}`,{mark:Wt,prepend:"queue",attachTo:b}))})}return[S,o.value,O,C,u,f]},(l,s)=>{let[,,c]=l;(s||n.value.autoClear)&&Sc&&Ho(c,{mark:Wt})}),l=>l}class re{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 $n(e){return e.notSplit=!0,e}$n(["borderTop","borderBottom"]),$n(["borderTop"]),$n(["borderBottom"]),$n(["borderLeft","borderRight"]),$n(["borderLeft"]),$n(["borderRight"]);const Sv="4.2.6",Xo=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Oe(e,t){Cv(e)&&(e="100%");var n=$v(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 Yo(e){return Math.min(1,Math.max(0,e))}function Cv(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function $v(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Pc(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Qo(e){return e<=1?"".concat(Number(e)*100,"%"):e}function qt(e){return e.length===1?"0"+e:String(e)}function Ov(e,t,n){return{r:Oe(e,255)*255,g:Oe(t,255)*255,b:Oe(n,255)*255}}function Ic(e,t,n){e=Oe(e,255),t=Oe(t,255),n=Oe(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+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:l,l:s}}function Mi(e,t,n){return n<0&&(n+=1),n>1&&(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 Pv(e,t,n){var o,r,a;if(e=Oe(e,360),t=Oe(t,100),n=Oe(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=Mi(s,l,e+1/3),r=Mi(s,l,e),a=Mi(s,l,e-1/3)}return{r:o*255,g:r*255,b:a*255}}function Ai(e,t,n){e=Oe(e,255),t=Oe(t,255),n=Oe(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<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;break}a/=6}return{h:a,s:c,v:l}}function Iv(e,t,n){e=Oe(e,360)*6,t=Oe(t,100),n=Oe(n,100);var o=Math.floor(e),r=e-o,a=n*(1-t),l=n*(1-r*t),s=n*(1-(1-r)*t),c=o%6,d=[n,l,a,a,s,n][c],u=[s,n,n,l,a,a][c],f=[a,a,s,n,n,l][c];return{r:d*255,g:u*255,b:f*255}}function Ri(e,t,n,o){var r=[qt(Math.round(e).toString(16)),qt(Math.round(t).toString(16)),qt(Math.round(n).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function Tv(e,t,n,o,r){var a=[qt(Math.round(e).toString(16)),qt(Math.round(t).toString(16)),qt(Math.round(n).toString(16)),qt(Ev(o))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function Ev(e){return Math.round(parseFloat(e)*255).toString(16)}function Tc(e){return ze(e)/255}function ze(e){return parseInt(e,16)}function Nv(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Vi={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:"#f