sand-components-vben 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/sand-components-vben.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ant-select[data-v-
|
|
1
|
+
.ant-select[data-v-dcbd99a5]{width:100%}[data-v-a77ae0a6]{box-sizing:border-box}.upload-image[data-v-a77ae0a6]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start}.image-item[data-v-a77ae0a6]{position:relative;margin-right:8px;margin-bottom:8px}.delete-image[data-v-a77ae0a6]{position:absolute;top:-6px;right:-6px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#fff;cursor:pointer;background:#000c;border-radius:100px;font-size:12px}.upload-add[data-v-a77ae0a6]{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin-right:8px;margin-bottom:8px;overflow:hidden;font-size:13px;background:#00000005;border:1px dashed #d9d9d9;border-radius:4px}.desc[data-v-a77ae0a6]{position:absolute;bottom:-100%;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0 6px;font-size:11px;color:#fff;-webkit-user-select:none;user-select:none;background:#000000b3}.upload-add:hover .desc[data-v-a77ae0a6]{bottom:0;transition:.4s}[data-v-a77ae0a6] .ant-image-img{object-fit:cover;border-radius:4px!important}.file-item[data-v-bd1a735e]{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.file-item[data-v-bd1a735e]:last-child{margin-bottom:0}.file-content[data-v-bd1a735e]{max-width:250px}.file-upload-btn[data-v-bd1a735e]{width:116px}
|
package/sand-components-vben.js
CHANGED
|
@@ -34,6 +34,10 @@ const ja = /* @__PURE__ */ A({
|
|
|
34
34
|
label: "label",
|
|
35
35
|
value: "value"
|
|
36
36
|
})
|
|
37
|
+
},
|
|
38
|
+
dataKey: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: "list"
|
|
37
41
|
}
|
|
38
42
|
},
|
|
39
43
|
setup(e) {
|
|
@@ -44,8 +48,8 @@ const ja = /* @__PURE__ */ A({
|
|
|
44
48
|
let { options: r, propsValue: o } = Mt(n);
|
|
45
49
|
return Fe(async () => {
|
|
46
50
|
if (t.api) {
|
|
47
|
-
const
|
|
48
|
-
r.value = a, o.value = t.value;
|
|
51
|
+
const a = await t.api(t.params);
|
|
52
|
+
!t.dataKey || t.dataKey === "data" ? r.value = a : r.value = a[t.dataKey], o.value = t.value;
|
|
49
53
|
}
|
|
50
54
|
}), q(
|
|
51
55
|
() => t.value,
|
|
@@ -82,7 +86,7 @@ const ja = /* @__PURE__ */ A({
|
|
|
82
86
|
for (const [r, o] of t)
|
|
83
87
|
n[r] = o;
|
|
84
88
|
return n;
|
|
85
|
-
}, Na = /* @__PURE__ */ $n(ja, [["__scopeId", "data-v-
|
|
89
|
+
}, Na = /* @__PURE__ */ $n(ja, [["__scopeId", "data-v-dcbd99a5"]]);
|
|
86
90
|
class Ha {
|
|
87
91
|
constructor(t) {
|
|
88
92
|
this.client = t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(G,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):(G=typeof globalThis<"u"?globalThis:G||self,a(G["sand-components-vben"]={},G.Vue))})(this,function(G,a){"use strict";const Zo=a.defineComponent({__name:"ApiSelect",props:{value:{type:[String,Number],default:void 0},api:{type:Function,default:()=>null},showSearch:{type:Boolean,default:!0},params:{type:Object,default:()=>({pageSize:100,pageNo:1})},placeholder:{type:String,default:"请选择"},fieldNames:{type:Object,default:()=>({label:"label",value:"value"})}},setup(e){const t=e,n=a.reactive({options:[],propsValue:void 0});let{options:r,propsValue:o}=a.toRefs(n);return a.onMounted(async()=>{if(t.api){const{list:i}=await t.api(t.params);r.value=i,o.value=t.value}}),a.watch(()=>t.value,i=>{o.value=i},{deep:!0}),(i,l)=>{const c=a.resolveComponent("a-select-option"),u=a.resolveComponent("a-select");return a.openBlock(),a.createBlock(u,{value:a.unref(o),"onUpdate:value":l[0]||(l[0]=s=>a.isRef(o)?o.value=s:o=s),"show-search":e.showSearch,placeholder:e.placeholder,style:{width:"100%"}},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(r),s=>(a.openBlock(),a.createBlock(c,{value:s[e.fieldNames.value],key:s[e.fieldNames.value]},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(s[e.fieldNames.label]),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","show-search","placeholder"])}}}),Ot=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Pn=Ot(Zo,[["__scopeId","data-v-84766ae8"]]);class ea{constructor(t){this.client=t}async upload(t,n,r){const o=new FormData;Object.entries(n).forEach(([l,c])=>{o.append(l,c)});const i={...r,headers:{"Content-Type":"multipart/form-data",...r==null?void 0:r.headers}};return this.client.post(t,o,i)}}function Ae(e){"@babel/helpers - typeof";return Ae=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},Ae(e)}function ta(e,t){if(Ae(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ae(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function na(e){var t=ta(e,"string");return Ae(t)=="symbol"?t:t+""}function ra(e,t,n){return(t=na(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Tn(Object(n),!0).forEach(function(r){ra(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(null,arguments)}const oa=Array.isArray,aa=e=>typeof e=="string",ia=e=>e!==null&&typeof e=="object";function he(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 la(e){let t;const n=new Promise(o=>{t=e(()=>{o(!0)})}),r=()=>{t==null||t()};return r.then=(o,i)=>n.then(o,i),r.promise=n,r}function B(){const e=[];for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n){if(aa(n))e.push(n);else if(oa(n))for(let r=0;r<n.length;r++){const o=B(n[r]);o&&e.push(o)}else if(ia(n))for(const r in n)n[r]&&e.push(r)}}return e.join(" ")}function ca(e){return e&&(e.type===a.Comment||e.type===a.Fragment&&e.children.length===0||e.type===a.Text&&e.children.trim()==="")}function _n(){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)===a.Fragment?t.push(..._n(n.children)):t.push(n)}),t.filter(n=>!ca(n))}const sa=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},$t=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function V(e){return{type:Object,default:e}}function Pt(e){return{type:Boolean,default:e}}function Tt(e,t){const n={validator:()=>!0,default:e};return n}function Nn(e){return{type:Array,default:e}}function En(e){return{type:String,default:e}}function ua(e,t){return e?{type:e,default:t}:Tt(t)}const _t="anticon",da=Symbol("GlobalFormContextKey"),fa=e=>{a.provide(da,e)},pa=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:V(),input:V(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:V(),pageHeader:V(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:V(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:V(),pagination:V(),theme:V(),select:V(),wave:V()}),Nt=Symbol("configProvider"),In={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:a.computed(()=>_t),getPopupContainer:a.computed(()=>()=>document.body),direction:a.computed(()=>"ltr")},Et=()=>a.inject(Nt,In),ma=e=>a.provide(Nt,e),kn=Symbol("DisabledContextKey"),Mn=()=>a.inject(kn,a.ref(void 0)),ga=e=>{const t=Mn();return a.provide(kn,a.computed(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},ha={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"},ya={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"},An={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},jn={lang:h({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"]},ya),timePickerLocale:h({},An)},z="${label} is not a valid ${type}",je={locale:"en",Pagination:ha,DatePicker:jn,TimePicker:An,Calendar:jn,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:z,method:z,array:z,object:z,number:z,date:z,boolean:z,integer:z,float:z,regexp:z,email:z,url:z,hex:z},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"}},Rn=a.defineComponent({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const r=a.inject("localeData",{}),o=a.computed(()=>{const{componentName:l="global",defaultLocale:c}=e,u=c||je[l||"global"],{antLocale:s}=r,f=l&&s?s[l]:{};return h(h({},typeof u=="function"?u():u),f||{})}),i=a.computed(()=>{const{antLocale:l}=r,c=l&&l.locale;return l&&l.exist&&!c?je.locale:c});return()=>{const l=e.children||n.default,{antLocale:c}=r;return l==null?void 0:l(o.value,i.value,c)}}});function It(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&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(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 Hn="%";class va{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Hn):t)||null}update(t,n){const r=Array.isArray(t)?t.join(Hn):t,o=this.cache.get(r),i=n(o);i===null?this.cache.delete(r):this.cache.set(r,i)}}const Bn="data-token-hash",le="data-css-hash",ba="data-cache-path",ye="__cssinjs_instance__";function Re(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${le}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(o=>{o[ye]=o[ye]||e,o[ye]===e&&document.head.insertBefore(o,n)});const r={};Array.from(document.querySelectorAll(`style[${le}]`)).forEach(o=>{var i;const l=o.getAttribute(le);r[l]?o[ye]===e&&((i=o.parentNode)===null||i===void 0||i.removeChild(o)):r[l]=!0})}return new va(e)}const Ln=Symbol("StyleContextKey"),Ca=()=>{var e,t,n;const r=a.getCurrentInstance();let o;if(r&&r.appContext){const i=(n=(t=(e=r.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__;i?o=i:(o=Re(),r.appContext.config.globalProperties&&(r.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=o))}else o=Re();return o},Vn={cache:Re(),defaultCache:!0,hashPriority:"low"},Ye=()=>{const e=Ca();return a.inject(Ln,a.shallowRef(h(h({},Vn),{cache:e})))},xa=e=>{const t=Ye(),n=a.shallowRef(h(h({},Vn),{cache:Re()}));return a.watch([()=>a.unref(e),t],()=>{const r=h({},t.value),o=a.unref(e);Object.keys(o).forEach(l=>{const c=o[l];o[l]!==void 0&&(r[l]=c)});const{cache:i}=o;r.cache=r.cache||Re(),r.defaultCache=!i&&t.value.defaultCache,n.value=r},{immediate:!0}),a.provide(Ln,n),n},Sa=()=>({autoClear:Pt(),mock:En(),cache:V(),defaultCache:Pt(),hashPriority:En(),container:ua(),ssrInline:Pt(),transformers:Nn(),linters:Nn()});$t(a.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:Sa(),setup(e,t){let{slots:n}=t;return xa(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}));function wa(){return!1}let kt=!1;function Oa(){return kt}const $a=process.env.NODE_ENV==="production"?wa:Oa;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 kt=!0,setTimeout(()=>{kt=!1},0),t(...arguments)}}}function zn(e,t,n,r){const o=Ye(),i=a.shallowRef(""),l=a.shallowRef();a.watchEffect(()=>{i.value=[e,...t.value].join("%")});const c=$a(),u=s=>{o.value.cache.update(s,f=>{const[d=0,p]=f||[];return d-1===0?(r==null||r(p,!1),null):[d-1,p]})};return a.watch(i,(s,f)=>{f&&u(f),o.value.cache.update(s,d=>{const[p=0,m]=d||[];let y=m;process.env.NODE_ENV!=="production"&&m&&c&&(r==null||r(y,c),y=null);const v=y||n();return[p+1,v]}),l.value=o.value.cache.get(i.value)[1]},{immediate:!0}),a.onBeforeUnmount(()=>{u(i.value)}),l}function ve(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Pa(e,t){return e&&e.contains?e.contains(t):!1}const Dn="data-vc-order",Ta="vc-util-key",Mt=new Map;function Fn(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:Ta}function Qe(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function _a(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Wn(e){return Array.from((Mt.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Gn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ve())return null;const{csp:n,prepend:r}=t,o=document.createElement("style");o.setAttribute(Dn,_a(r)),n!=null&&n.nonce&&(o.nonce=n==null?void 0:n.nonce),o.innerHTML=e;const i=Qe(t),{firstChild:l}=i;if(r){if(r==="queue"){const c=Wn(i).filter(u=>["prepend","prependQueue"].includes(u.getAttribute(Dn)));if(c.length)return i.insertBefore(o,c[c.length-1].nextSibling),o}i.insertBefore(o,l)}else i.appendChild(o);return o}function Un(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Qe(t);return Wn(n).find(r=>r.getAttribute(Fn(t))===e)}function Xn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Un(e,t);n&&Qe(t).removeChild(n)}function Na(e,t){const n=Mt.get(e);if(!n||!Pa(document,n)){const r=Gn("",t),{parentNode:o}=r;Mt.set(e,o),e.removeChild(r)}}function Je(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var r,o,i;const l=Qe(n);Na(l,n);const c=Un(t,n);if(c)return!((r=n.csp)===null||r===void 0)&&r.nonce&&c.nonce!==((o=n.csp)===null||o===void 0?void 0:o.nonce)&&(c.nonce=(i=n.csp)===null||i===void 0?void 0:i.nonce),c.innerHTML!==e&&(c.innerHTML=e),c;const u=Gn(e,n);return u.setAttribute(Fn(n),t),u}function Ea(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 be{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,r={map:this.cache};return t.forEach(o=>{var i;r?r=(i=r==null?void 0:r.map)===null||i===void 0?void 0:i.get(o):r=void 0}),r!=null&&r.value&&n&&(r.value[1]=this.cacheCallTimes++),r==null?void 0:r.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>be.MAX_CACHE_SIZE+be.MAX_CACHE_OFFSET){const[o]=this.keys.reduce((i,l)=>{const[,c]=i;return this.internalGet(l)[1]<c?[l,this.internalGet(l)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(o)}this.keys.push(t)}let r=this.cache;t.forEach((o,i)=>{if(i===t.length-1)r.set(o,{value:[n,this.cacheCallTimes++]});else{const l=r.get(o);l?l.map||(l.map=new Map):r.set(o,{map:new Map}),r=r.get(o).map}})}deleteByPath(t,n){var r;const o=t.get(n[0]);if(n.length===1)return o.map?t.set(n[0],{map:o.map}):t.delete(n[0]),(r=o.value)===null||r===void 0?void 0:r[0];const i=this.deleteByPath(o.map,n.slice(1));return(!o.map||o.map.size===0)&&!o.value&&t.delete(n[0]),i}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!Ea(n,t)),this.deleteByPath(this.cache,t)}}be.MAX_CACHE_SIZE=20,be.MAX_CACHE_OFFSET=5;let At={};function Ia(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function ka(){At={}}function Ma(e,t,n){!t&&!At[n]&&(e(!1,n),At[n]=!0)}function qn(e,t){Ma(Ia,e,t)}function Aa(){}let Ze=Aa;process.env.NODE_ENV!=="production"&&(Ze=(e,t,n)=>{qn(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&ka()});let Kn=0;class Yn{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Kn,t.length===0&&Ze(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),Kn+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}const jt=new be;function Qn(e){const t=Array.isArray(e)?e:[e];return jt.has(t)||jt.set(t,new Yn(t)),jt.get(t)}const Jn=new WeakMap;function et(e){let t=Jn.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof Yn?t+=r.id:r&&typeof r=="object"?t+=et(r):t+=r}),Jn.set(e,t)),t}function ja(e,t){return It(`${t}_${et(e)}`)}const He=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),Zn="_bAmBoO_";function Ra(e,t,n){var r,o;if(ve()){Je(e,He);const i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i),process.env.NODE_ENV!=="production"&&(i.innerHTML="Test",i.style.zIndex="9999999");const l=n?n(i):(r=getComputedStyle(i).content)===null||r===void 0?void 0:r.includes(Zn);return(o=i.parentNode)===null||o===void 0||o.removeChild(i),Xn(He),l}return!1}let Rt;function Ha(){return Rt===void 0&&(Rt=Ra(`@layer ${He} { .${He} { content: "${Zn}"!important; } }`,e=>{e.className=He})),Rt}const er={},Ba=process.env.NODE_ENV==="production",La=process.env.NODE_ENV==="prerender",Va=!Ba&&!La?"css-dev-only-do-not-override":"css",ce=new Map;function za(e){ce.set(e,(ce.get(e)||0)+1)}function Da(e,t){typeof document<"u"&&document.querySelectorAll(`style[${Bn}="${e}"]`).forEach(r=>{var o;r[ye]===t&&((o=r.parentNode)===null||o===void 0||o.removeChild(r))})}const Fa=0;function Wa(e,t){ce.set(e,(ce.get(e)||0)-1);const n=Array.from(ce.keys()),r=n.filter(o=>(ce.get(o)||0)<=0);n.length-r.length>Fa&&r.forEach(o=>{Da(o,t),ce.delete(o)})}const Ga=(e,t,n,r)=>{const o=n.getDerivativeToken(e);let i=h(h({},o),t);return r&&(i=r(i)),i};function Ua(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a.ref({});const r=Ye(),o=a.computed(()=>h({},...t.value)),i=a.computed(()=>et(o.value)),l=a.computed(()=>et(n.value.override||er));return zn("token",a.computed(()=>[n.value.salt||"",e.value.id,i.value,l.value]),()=>{const{salt:u="",override:s=er,formatToken:f,getComputedToken:d}=n.value,p=d?d(o.value,s,e.value):Ga(o.value,s,e.value,f),m=ja(p,u);p._tokenKey=m,za(m);const y=`${Va}-${It(m)}`;return p._hashId=y,[p,y]},u=>{var s;Wa(u[0]._tokenKey,(s=r.value)===null||s===void 0?void 0:s.cache.instanceId)})}var Xa={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},tr="comm",nr="rule",rr="decl",qa="@import",Ka="@keyframes",Ya="@layer",or=Math.abs,Ht=String.fromCharCode;function ar(e){return e.trim()}function tt(e,t,n){return e.replace(t,n)}function Qa(e,t,n){return e.indexOf(t,n)}function Be(e,t){return e.charCodeAt(t)|0}function Ce(e,t,n){return e.slice(t,n)}function Y(e){return e.length}function Ja(e){return e.length}function nt(e,t){return t.push(e),e}var rt=1,xe=1,ir=0,U=0,I=0,Se="";function Bt(e,t,n,r,o,i,l,c){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:rt,column:xe,length:l,return:"",siblings:c}}function Za(){return I}function ei(){return I=U>0?Be(Se,--U):0,xe--,I===10&&(xe=1,rt--),I}function q(){return I=U<ir?Be(Se,U++):0,xe++,I===10&&(xe=1,rt++),I}function re(){return Be(Se,U)}function ot(){return U}function at(e,t){return Ce(Se,e,t)}function Le(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 ti(e){return rt=xe=1,ir=Y(Se=e),U=0,[]}function ni(e){return Se="",e}function Lt(e){return ar(at(U-1,Vt(e===91?e+2:e===40?e+1:e)))}function ri(e){for(;(I=re())&&I<33;)q();return Le(e)>2||Le(I)>3?"":" "}function oi(e,t){for(;--t&&q()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return at(e,ot()+(t<6&&re()==32&&q()==32))}function Vt(e){for(;q();)switch(I){case e:return U;case 34:case 39:e!==34&&e!==39&&Vt(I);break;case 40:e===41&&Vt(e);break;case 92:q();break}return U}function ai(e,t){for(;q()&&e+I!==57;)if(e+I===84&&re()===47)break;return"/*"+at(t,U-1)+"*"+Ht(e===47?e:q())}function ii(e){for(;!Le(re());)q();return at(e,U)}function li(e){return ni(it("",null,null,null,[""],e=ti(e),0,[0],e))}function it(e,t,n,r,o,i,l,c,u){for(var s=0,f=0,d=l,p=0,m=0,y=0,v=1,x=1,b=1,w=0,T="",O=o,S=i,P=r,g=T;x;)switch(y=w,w=q()){case 40:if(y!=108&&Be(g,d-1)==58){Qa(g+=tt(Lt(w),"&","&\f"),"&\f",or(s?c[s-1]:0))!=-1&&(b=-1);break}case 34:case 39:case 91:g+=Lt(w);break;case 9:case 10:case 13:case 32:g+=ri(y);break;case 92:g+=oi(ot()-1,7);continue;case 47:switch(re()){case 42:case 47:nt(ci(ai(q(),ot()),t,n,u),u),(Le(y||1)==5||Le(re()||1)==5)&&Y(g)&&Ce(g,-1,void 0)!==" "&&(g+=" ");break;default:g+="/"}break;case 123*v:c[s++]=Y(g)*b;case 125*v:case 59:case 0:switch(w){case 0:case 125:x=0;case 59+f:b==-1&&(g=tt(g,/\f/g,"")),m>0&&(Y(g)-d||v===0&&y===47)&&nt(m>32?cr(g+";",r,n,d-1,u):cr(tt(g," ","")+";",r,n,d-2,u),u);break;case 59:g+=";";default:if(nt(P=lr(g,t,n,s,f,o,c,T,O=[],S=[],d,i),i),w===123)if(f===0)it(g,t,P,P,O,i,d,c,S);else switch(p===99&&Be(g,3)===110?100:p){case 100:case 108:case 109:case 115:it(e,P,P,r&&nt(lr(e,P,P,0,0,o,c,T,o,O=[],d,S),S),o,S,d,c,r?O:S);break;default:it(g,P,P,P,[""],S,0,c,S)}}s=f=m=0,v=b=1,T=g="",d=l;break;case 58:d=1+Y(g),m=y;default:if(v<1){if(w==123)--v;else if(w==125&&v++==0&&ei()==125)continue}switch(g+=Ht(w),w*v){case 38:b=f>0?1:(g+="\f",-1);break;case 44:c[s++]=(Y(g)-1)*b,b=1;break;case 64:re()===45&&(g+=Lt(q())),p=re(),f=d=Y(T=g+=ii(ot())),w++;break;case 45:y===45&&Y(g)==2&&(v=0)}}return i}function lr(e,t,n,r,o,i,l,c,u,s,f,d){for(var p=o-1,m=o===0?i:[""],y=Ja(m),v=0,x=0,b=0;v<r;++v)for(var w=0,T=Ce(e,p+1,p=or(x=l[v])),O=e;w<y;++w)(O=ar(x>0?m[w]+" "+T:tt(T,/&\f/g,m[w])))&&(u[b++]=O);return Bt(e,t,n,o===0?nr:c,u,s,f,d)}function ci(e,t,n,r){return Bt(e,t,n,tr,Ht(Za()),Ce(e,2,-2),0,r)}function cr(e,t,n,r,o){return Bt(e,t,n,rr,Ce(e,0,r),Ce(e,r+1,-1),r,o)}function zt(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function si(e,t,n,r){switch(e.type){case Ya:if(e.children.length)break;case qa:case rr:return e.return=e.return||e.value;case tr:return"";case Ka:return e.return=e.value+"{"+zt(e.children,r)+"}";case nr:if(!Y(e.value=e.props.join(",")))return""}return Y(n=zt(e.children,r))?e.return=e.value+"{"+n+"}":""}function sr(e,t){const{path:n,parentSelectors:r}=t;qn(!1,`[Ant Design Vue CSS-in-JS] ${n?`Error in '${n}': `:""}${e}${r.length?` Selector info: ${r.join(" -> ")}`:""}`)}const ui=(e,t,n)=>{if(e==="content"){const r=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||["normal","none","initial","inherit","unset"].indexOf(t)===-1&&!r.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&sr(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},di=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&sr(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)},ur="data-ant-cssinjs-cache-path",fi="_FILE_STYLE__";let se,dr=!0;function pi(){var e;if(!se&&(se={},ve())){const t=document.createElement("div");t.className=ur,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(o=>{const[i,l]=o.split(":");se[i]=l});const r=document.querySelector(`style[${ur}]`);r&&(dr=!1,(e=r.parentNode)===null||e===void 0||e.removeChild(r)),document.body.removeChild(t)}}function mi(e){return pi(),!!se[e]}function gi(e){const t=se[e];let n=null;if(t&&ve())if(dr)n=fi;else{const r=document.querySelector(`style[${le}="${se[e]}"]`);r?n=r.innerHTML:delete se[e]}return[n,t]}const fr=ve(),pr="_skip_check_",mr="_multi_value_";function gr(e){return zt(li(e),si).replace(/\{%%%\:[^;];}/g,";")}function hi(e){return typeof e=="object"&&e&&(pr in e||mr in e)}function yi(e,t,n){if(!t)return e;const r=`.${t}`,o=n==="low"?`:where(${r})`:r;return e.split(",").map(l=>{var c;const u=l.trim().split(/\s+/);let s=u[0]||"";const f=((c=s.match(/^\w+/))===null||c===void 0?void 0:c[0])||"";return s=`${f}${o}${s.slice(f.length)}`,[s,...u.slice(1)].join(" ")}).join(",")}const Dt=new Set;process.env.NODE_ENV;const Ft=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:r,parentSelectors:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:i,layer:l,path:c,hashPriority:u,transformers:s=[],linters:f=[]}=t;let d="",p={};function m(x){const b=x.getName(i);if(!p[b]){const[w]=Ft(x.style,t,{root:!1,parentSelectors:o});p[b]=`@keyframes ${x.getName(i)}${w}`}}function y(x){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return x.forEach(w=>{Array.isArray(w)?y(w,b):w&&b.push(w)}),b}if(y(Array.isArray(e)?e:[e]).forEach(x=>{const b=typeof x=="string"&&!n?{}:x;if(typeof b=="string")d+=`${b}
|
|
1
|
+
(function(G,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):(G=typeof globalThis<"u"?globalThis:G||self,a(G["sand-components-vben"]={},G.Vue))})(this,function(G,a){"use strict";const Zo=a.defineComponent({__name:"ApiSelect",props:{value:{type:[String,Number],default:void 0},api:{type:Function,default:()=>null},showSearch:{type:Boolean,default:!0},params:{type:Object,default:()=>({pageSize:100,pageNo:1})},placeholder:{type:String,default:"请选择"},fieldNames:{type:Object,default:()=>({label:"label",value:"value"})},dataKey:{type:String,default:"list"}},setup(e){const t=e,n=a.reactive({options:[],propsValue:void 0});let{options:r,propsValue:o}=a.toRefs(n);return a.onMounted(async()=>{if(t.api){const i=await t.api(t.params);!t.dataKey||t.dataKey==="data"?r.value=i:r.value=i[t.dataKey],o.value=t.value}}),a.watch(()=>t.value,i=>{o.value=i},{deep:!0}),(i,l)=>{const c=a.resolveComponent("a-select-option"),u=a.resolveComponent("a-select");return a.openBlock(),a.createBlock(u,{value:a.unref(o),"onUpdate:value":l[0]||(l[0]=s=>a.isRef(o)?o.value=s:o=s),"show-search":e.showSearch,placeholder:e.placeholder,style:{width:"100%"}},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(r),s=>(a.openBlock(),a.createBlock(c,{value:s[e.fieldNames.value],key:s[e.fieldNames.value]},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(s[e.fieldNames.label]),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","show-search","placeholder"])}}}),Ot=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Pn=Ot(Zo,[["__scopeId","data-v-dcbd99a5"]]);class ea{constructor(t){this.client=t}async upload(t,n,r){const o=new FormData;Object.entries(n).forEach(([l,c])=>{o.append(l,c)});const i={...r,headers:{"Content-Type":"multipart/form-data",...r==null?void 0:r.headers}};return this.client.post(t,o,i)}}function Ae(e){"@babel/helpers - typeof";return Ae=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},Ae(e)}function ta(e,t){if(Ae(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ae(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function na(e){var t=ta(e,"string");return Ae(t)=="symbol"?t:t+""}function ra(e,t,n){return(t=na(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Tn(Object(n),!0).forEach(function(r){ra(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(null,arguments)}const oa=Array.isArray,aa=e=>typeof e=="string",ia=e=>e!==null&&typeof e=="object";function he(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 la(e){let t;const n=new Promise(o=>{t=e(()=>{o(!0)})}),r=()=>{t==null||t()};return r.then=(o,i)=>n.then(o,i),r.promise=n,r}function B(){const e=[];for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n){if(aa(n))e.push(n);else if(oa(n))for(let r=0;r<n.length;r++){const o=B(n[r]);o&&e.push(o)}else if(ia(n))for(const r in n)n[r]&&e.push(r)}}return e.join(" ")}function ca(e){return e&&(e.type===a.Comment||e.type===a.Fragment&&e.children.length===0||e.type===a.Text&&e.children.trim()==="")}function _n(){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)===a.Fragment?t.push(..._n(n.children)):t.push(n)}),t.filter(n=>!ca(n))}const sa=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},$t=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function V(e){return{type:Object,default:e}}function Pt(e){return{type:Boolean,default:e}}function Tt(e,t){const n={validator:()=>!0,default:e};return n}function Nn(e){return{type:Array,default:e}}function En(e){return{type:String,default:e}}function ua(e,t){return e?{type:e,default:t}:Tt(t)}const _t="anticon",da=Symbol("GlobalFormContextKey"),fa=e=>{a.provide(da,e)},pa=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:V(),input:V(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:V(),pageHeader:V(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:V(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:V(),pagination:V(),theme:V(),select:V(),wave:V()}),Nt=Symbol("configProvider"),In={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:a.computed(()=>_t),getPopupContainer:a.computed(()=>()=>document.body),direction:a.computed(()=>"ltr")},Et=()=>a.inject(Nt,In),ma=e=>a.provide(Nt,e),kn=Symbol("DisabledContextKey"),Mn=()=>a.inject(kn,a.ref(void 0)),ga=e=>{const t=Mn();return a.provide(kn,a.computed(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},ha={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"},ya={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"},An={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},jn={lang:h({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"]},ya),timePickerLocale:h({},An)},z="${label} is not a valid ${type}",je={locale:"en",Pagination:ha,DatePicker:jn,TimePicker:An,Calendar:jn,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:z,method:z,array:z,object:z,number:z,date:z,boolean:z,integer:z,float:z,regexp:z,email:z,url:z,hex:z},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"}},Rn=a.defineComponent({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const r=a.inject("localeData",{}),o=a.computed(()=>{const{componentName:l="global",defaultLocale:c}=e,u=c||je[l||"global"],{antLocale:s}=r,f=l&&s?s[l]:{};return h(h({},typeof u=="function"?u():u),f||{})}),i=a.computed(()=>{const{antLocale:l}=r,c=l&&l.locale;return l&&l.exist&&!c?je.locale:c});return()=>{const l=e.children||n.default,{antLocale:c}=r;return l==null?void 0:l(o.value,i.value,c)}}});function It(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&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(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 Hn="%";class va{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Hn):t)||null}update(t,n){const r=Array.isArray(t)?t.join(Hn):t,o=this.cache.get(r),i=n(o);i===null?this.cache.delete(r):this.cache.set(r,i)}}const Bn="data-token-hash",le="data-css-hash",ba="data-cache-path",ye="__cssinjs_instance__";function Re(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${le}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(o=>{o[ye]=o[ye]||e,o[ye]===e&&document.head.insertBefore(o,n)});const r={};Array.from(document.querySelectorAll(`style[${le}]`)).forEach(o=>{var i;const l=o.getAttribute(le);r[l]?o[ye]===e&&((i=o.parentNode)===null||i===void 0||i.removeChild(o)):r[l]=!0})}return new va(e)}const Ln=Symbol("StyleContextKey"),Ca=()=>{var e,t,n;const r=a.getCurrentInstance();let o;if(r&&r.appContext){const i=(n=(t=(e=r.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__;i?o=i:(o=Re(),r.appContext.config.globalProperties&&(r.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=o))}else o=Re();return o},Vn={cache:Re(),defaultCache:!0,hashPriority:"low"},Ye=()=>{const e=Ca();return a.inject(Ln,a.shallowRef(h(h({},Vn),{cache:e})))},xa=e=>{const t=Ye(),n=a.shallowRef(h(h({},Vn),{cache:Re()}));return a.watch([()=>a.unref(e),t],()=>{const r=h({},t.value),o=a.unref(e);Object.keys(o).forEach(l=>{const c=o[l];o[l]!==void 0&&(r[l]=c)});const{cache:i}=o;r.cache=r.cache||Re(),r.defaultCache=!i&&t.value.defaultCache,n.value=r},{immediate:!0}),a.provide(Ln,n),n},Sa=()=>({autoClear:Pt(),mock:En(),cache:V(),defaultCache:Pt(),hashPriority:En(),container:ua(),ssrInline:Pt(),transformers:Nn(),linters:Nn()});$t(a.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:Sa(),setup(e,t){let{slots:n}=t;return xa(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}));function wa(){return!1}let kt=!1;function Oa(){return kt}const $a=process.env.NODE_ENV==="production"?wa:Oa;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 kt=!0,setTimeout(()=>{kt=!1},0),t(...arguments)}}}function zn(e,t,n,r){const o=Ye(),i=a.shallowRef(""),l=a.shallowRef();a.watchEffect(()=>{i.value=[e,...t.value].join("%")});const c=$a(),u=s=>{o.value.cache.update(s,f=>{const[d=0,p]=f||[];return d-1===0?(r==null||r(p,!1),null):[d-1,p]})};return a.watch(i,(s,f)=>{f&&u(f),o.value.cache.update(s,d=>{const[p=0,m]=d||[];let y=m;process.env.NODE_ENV!=="production"&&m&&c&&(r==null||r(y,c),y=null);const v=y||n();return[p+1,v]}),l.value=o.value.cache.get(i.value)[1]},{immediate:!0}),a.onBeforeUnmount(()=>{u(i.value)}),l}function ve(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Pa(e,t){return e&&e.contains?e.contains(t):!1}const Dn="data-vc-order",Ta="vc-util-key",Mt=new Map;function Fn(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:Ta}function Qe(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function _a(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Wn(e){return Array.from((Mt.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Gn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ve())return null;const{csp:n,prepend:r}=t,o=document.createElement("style");o.setAttribute(Dn,_a(r)),n!=null&&n.nonce&&(o.nonce=n==null?void 0:n.nonce),o.innerHTML=e;const i=Qe(t),{firstChild:l}=i;if(r){if(r==="queue"){const c=Wn(i).filter(u=>["prepend","prependQueue"].includes(u.getAttribute(Dn)));if(c.length)return i.insertBefore(o,c[c.length-1].nextSibling),o}i.insertBefore(o,l)}else i.appendChild(o);return o}function Un(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Qe(t);return Wn(n).find(r=>r.getAttribute(Fn(t))===e)}function Xn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Un(e,t);n&&Qe(t).removeChild(n)}function Na(e,t){const n=Mt.get(e);if(!n||!Pa(document,n)){const r=Gn("",t),{parentNode:o}=r;Mt.set(e,o),e.removeChild(r)}}function Je(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var r,o,i;const l=Qe(n);Na(l,n);const c=Un(t,n);if(c)return!((r=n.csp)===null||r===void 0)&&r.nonce&&c.nonce!==((o=n.csp)===null||o===void 0?void 0:o.nonce)&&(c.nonce=(i=n.csp)===null||i===void 0?void 0:i.nonce),c.innerHTML!==e&&(c.innerHTML=e),c;const u=Gn(e,n);return u.setAttribute(Fn(n),t),u}function Ea(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 be{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,r={map:this.cache};return t.forEach(o=>{var i;r?r=(i=r==null?void 0:r.map)===null||i===void 0?void 0:i.get(o):r=void 0}),r!=null&&r.value&&n&&(r.value[1]=this.cacheCallTimes++),r==null?void 0:r.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>be.MAX_CACHE_SIZE+be.MAX_CACHE_OFFSET){const[o]=this.keys.reduce((i,l)=>{const[,c]=i;return this.internalGet(l)[1]<c?[l,this.internalGet(l)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(o)}this.keys.push(t)}let r=this.cache;t.forEach((o,i)=>{if(i===t.length-1)r.set(o,{value:[n,this.cacheCallTimes++]});else{const l=r.get(o);l?l.map||(l.map=new Map):r.set(o,{map:new Map}),r=r.get(o).map}})}deleteByPath(t,n){var r;const o=t.get(n[0]);if(n.length===1)return o.map?t.set(n[0],{map:o.map}):t.delete(n[0]),(r=o.value)===null||r===void 0?void 0:r[0];const i=this.deleteByPath(o.map,n.slice(1));return(!o.map||o.map.size===0)&&!o.value&&t.delete(n[0]),i}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!Ea(n,t)),this.deleteByPath(this.cache,t)}}be.MAX_CACHE_SIZE=20,be.MAX_CACHE_OFFSET=5;let At={};function Ia(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function ka(){At={}}function Ma(e,t,n){!t&&!At[n]&&(e(!1,n),At[n]=!0)}function qn(e,t){Ma(Ia,e,t)}function Aa(){}let Ze=Aa;process.env.NODE_ENV!=="production"&&(Ze=(e,t,n)=>{qn(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&ka()});let Kn=0;class Yn{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Kn,t.length===0&&Ze(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),Kn+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}const jt=new be;function Qn(e){const t=Array.isArray(e)?e:[e];return jt.has(t)||jt.set(t,new Yn(t)),jt.get(t)}const Jn=new WeakMap;function et(e){let t=Jn.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof Yn?t+=r.id:r&&typeof r=="object"?t+=et(r):t+=r}),Jn.set(e,t)),t}function ja(e,t){return It(`${t}_${et(e)}`)}const He=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),Zn="_bAmBoO_";function Ra(e,t,n){var r,o;if(ve()){Je(e,He);const i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i),process.env.NODE_ENV!=="production"&&(i.innerHTML="Test",i.style.zIndex="9999999");const l=n?n(i):(r=getComputedStyle(i).content)===null||r===void 0?void 0:r.includes(Zn);return(o=i.parentNode)===null||o===void 0||o.removeChild(i),Xn(He),l}return!1}let Rt;function Ha(){return Rt===void 0&&(Rt=Ra(`@layer ${He} { .${He} { content: "${Zn}"!important; } }`,e=>{e.className=He})),Rt}const er={},Ba=process.env.NODE_ENV==="production",La=process.env.NODE_ENV==="prerender",Va=!Ba&&!La?"css-dev-only-do-not-override":"css",ce=new Map;function za(e){ce.set(e,(ce.get(e)||0)+1)}function Da(e,t){typeof document<"u"&&document.querySelectorAll(`style[${Bn}="${e}"]`).forEach(r=>{var o;r[ye]===t&&((o=r.parentNode)===null||o===void 0||o.removeChild(r))})}const Fa=0;function Wa(e,t){ce.set(e,(ce.get(e)||0)-1);const n=Array.from(ce.keys()),r=n.filter(o=>(ce.get(o)||0)<=0);n.length-r.length>Fa&&r.forEach(o=>{Da(o,t),ce.delete(o)})}const Ga=(e,t,n,r)=>{const o=n.getDerivativeToken(e);let i=h(h({},o),t);return r&&(i=r(i)),i};function Ua(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a.ref({});const r=Ye(),o=a.computed(()=>h({},...t.value)),i=a.computed(()=>et(o.value)),l=a.computed(()=>et(n.value.override||er));return zn("token",a.computed(()=>[n.value.salt||"",e.value.id,i.value,l.value]),()=>{const{salt:u="",override:s=er,formatToken:f,getComputedToken:d}=n.value,p=d?d(o.value,s,e.value):Ga(o.value,s,e.value,f),m=ja(p,u);p._tokenKey=m,za(m);const y=`${Va}-${It(m)}`;return p._hashId=y,[p,y]},u=>{var s;Wa(u[0]._tokenKey,(s=r.value)===null||s===void 0?void 0:s.cache.instanceId)})}var Xa={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},tr="comm",nr="rule",rr="decl",qa="@import",Ka="@keyframes",Ya="@layer",or=Math.abs,Ht=String.fromCharCode;function ar(e){return e.trim()}function tt(e,t,n){return e.replace(t,n)}function Qa(e,t,n){return e.indexOf(t,n)}function Be(e,t){return e.charCodeAt(t)|0}function Ce(e,t,n){return e.slice(t,n)}function Y(e){return e.length}function Ja(e){return e.length}function nt(e,t){return t.push(e),e}var rt=1,xe=1,ir=0,U=0,I=0,Se="";function Bt(e,t,n,r,o,i,l,c){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:rt,column:xe,length:l,return:"",siblings:c}}function Za(){return I}function ei(){return I=U>0?Be(Se,--U):0,xe--,I===10&&(xe=1,rt--),I}function q(){return I=U<ir?Be(Se,U++):0,xe++,I===10&&(xe=1,rt++),I}function re(){return Be(Se,U)}function ot(){return U}function at(e,t){return Ce(Se,e,t)}function Le(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 ti(e){return rt=xe=1,ir=Y(Se=e),U=0,[]}function ni(e){return Se="",e}function Lt(e){return ar(at(U-1,Vt(e===91?e+2:e===40?e+1:e)))}function ri(e){for(;(I=re())&&I<33;)q();return Le(e)>2||Le(I)>3?"":" "}function oi(e,t){for(;--t&&q()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return at(e,ot()+(t<6&&re()==32&&q()==32))}function Vt(e){for(;q();)switch(I){case e:return U;case 34:case 39:e!==34&&e!==39&&Vt(I);break;case 40:e===41&&Vt(e);break;case 92:q();break}return U}function ai(e,t){for(;q()&&e+I!==57;)if(e+I===84&&re()===47)break;return"/*"+at(t,U-1)+"*"+Ht(e===47?e:q())}function ii(e){for(;!Le(re());)q();return at(e,U)}function li(e){return ni(it("",null,null,null,[""],e=ti(e),0,[0],e))}function it(e,t,n,r,o,i,l,c,u){for(var s=0,f=0,d=l,p=0,m=0,y=0,v=1,x=1,b=1,w=0,T="",O=o,S=i,P=r,g=T;x;)switch(y=w,w=q()){case 40:if(y!=108&&Be(g,d-1)==58){Qa(g+=tt(Lt(w),"&","&\f"),"&\f",or(s?c[s-1]:0))!=-1&&(b=-1);break}case 34:case 39:case 91:g+=Lt(w);break;case 9:case 10:case 13:case 32:g+=ri(y);break;case 92:g+=oi(ot()-1,7);continue;case 47:switch(re()){case 42:case 47:nt(ci(ai(q(),ot()),t,n,u),u),(Le(y||1)==5||Le(re()||1)==5)&&Y(g)&&Ce(g,-1,void 0)!==" "&&(g+=" ");break;default:g+="/"}break;case 123*v:c[s++]=Y(g)*b;case 125*v:case 59:case 0:switch(w){case 0:case 125:x=0;case 59+f:b==-1&&(g=tt(g,/\f/g,"")),m>0&&(Y(g)-d||v===0&&y===47)&&nt(m>32?cr(g+";",r,n,d-1,u):cr(tt(g," ","")+";",r,n,d-2,u),u);break;case 59:g+=";";default:if(nt(P=lr(g,t,n,s,f,o,c,T,O=[],S=[],d,i),i),w===123)if(f===0)it(g,t,P,P,O,i,d,c,S);else switch(p===99&&Be(g,3)===110?100:p){case 100:case 108:case 109:case 115:it(e,P,P,r&&nt(lr(e,P,P,0,0,o,c,T,o,O=[],d,S),S),o,S,d,c,r?O:S);break;default:it(g,P,P,P,[""],S,0,c,S)}}s=f=m=0,v=b=1,T=g="",d=l;break;case 58:d=1+Y(g),m=y;default:if(v<1){if(w==123)--v;else if(w==125&&v++==0&&ei()==125)continue}switch(g+=Ht(w),w*v){case 38:b=f>0?1:(g+="\f",-1);break;case 44:c[s++]=(Y(g)-1)*b,b=1;break;case 64:re()===45&&(g+=Lt(q())),p=re(),f=d=Y(T=g+=ii(ot())),w++;break;case 45:y===45&&Y(g)==2&&(v=0)}}return i}function lr(e,t,n,r,o,i,l,c,u,s,f,d){for(var p=o-1,m=o===0?i:[""],y=Ja(m),v=0,x=0,b=0;v<r;++v)for(var w=0,T=Ce(e,p+1,p=or(x=l[v])),O=e;w<y;++w)(O=ar(x>0?m[w]+" "+T:tt(T,/&\f/g,m[w])))&&(u[b++]=O);return Bt(e,t,n,o===0?nr:c,u,s,f,d)}function ci(e,t,n,r){return Bt(e,t,n,tr,Ht(Za()),Ce(e,2,-2),0,r)}function cr(e,t,n,r,o){return Bt(e,t,n,rr,Ce(e,0,r),Ce(e,r+1,-1),r,o)}function zt(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function si(e,t,n,r){switch(e.type){case Ya:if(e.children.length)break;case qa:case rr:return e.return=e.return||e.value;case tr:return"";case Ka:return e.return=e.value+"{"+zt(e.children,r)+"}";case nr:if(!Y(e.value=e.props.join(",")))return""}return Y(n=zt(e.children,r))?e.return=e.value+"{"+n+"}":""}function sr(e,t){const{path:n,parentSelectors:r}=t;qn(!1,`[Ant Design Vue CSS-in-JS] ${n?`Error in '${n}': `:""}${e}${r.length?` Selector info: ${r.join(" -> ")}`:""}`)}const ui=(e,t,n)=>{if(e==="content"){const r=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||["normal","none","initial","inherit","unset"].indexOf(t)===-1&&!r.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&sr(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},di=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&sr(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)},ur="data-ant-cssinjs-cache-path",fi="_FILE_STYLE__";let se,dr=!0;function pi(){var e;if(!se&&(se={},ve())){const t=document.createElement("div");t.className=ur,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(o=>{const[i,l]=o.split(":");se[i]=l});const r=document.querySelector(`style[${ur}]`);r&&(dr=!1,(e=r.parentNode)===null||e===void 0||e.removeChild(r)),document.body.removeChild(t)}}function mi(e){return pi(),!!se[e]}function gi(e){const t=se[e];let n=null;if(t&&ve())if(dr)n=fi;else{const r=document.querySelector(`style[${le}="${se[e]}"]`);r?n=r.innerHTML:delete se[e]}return[n,t]}const fr=ve(),pr="_skip_check_",mr="_multi_value_";function gr(e){return zt(li(e),si).replace(/\{%%%\:[^;];}/g,";")}function hi(e){return typeof e=="object"&&e&&(pr in e||mr in e)}function yi(e,t,n){if(!t)return e;const r=`.${t}`,o=n==="low"?`:where(${r})`:r;return e.split(",").map(l=>{var c;const u=l.trim().split(/\s+/);let s=u[0]||"";const f=((c=s.match(/^\w+/))===null||c===void 0?void 0:c[0])||"";return s=`${f}${o}${s.slice(f.length)}`,[s,...u.slice(1)].join(" ")}).join(",")}const Dt=new Set;process.env.NODE_ENV;const Ft=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:r,parentSelectors:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:i,layer:l,path:c,hashPriority:u,transformers:s=[],linters:f=[]}=t;let d="",p={};function m(x){const b=x.getName(i);if(!p[b]){const[w]=Ft(x.style,t,{root:!1,parentSelectors:o});p[b]=`@keyframes ${x.getName(i)}${w}`}}function y(x){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return x.forEach(w=>{Array.isArray(w)?y(w,b):w&&b.push(w)}),b}if(y(Array.isArray(e)?e:[e]).forEach(x=>{const b=typeof x=="string"&&!n?{}:x;if(typeof b=="string")d+=`${b}
|
|
2
2
|
`;else if(b._keyframe)m(b);else{const w=s.reduce((T,O)=>{var S;return((S=O==null?void 0:O.visit)===null||S===void 0?void 0:S.call(O,T))||T},b);Object.keys(w).forEach(T=>{var O;const S=w[T];if(typeof S=="object"&&S&&(T!=="animationName"||!S._keyframe)&&!hi(S)){let P=!1,g=T.trim(),$=!1;(n||r)&&i?g.startsWith("@")?P=!0:g=yi(T,i,u):n&&!i&&(g==="&"||g==="")&&(g="",$=!0);const[N,W]=Ft(S,t,{root:$,injectHash:P,parentSelectors:[...o,g]});p=h(h({},p),W),d+=`${g}${N}`}else{let P=function($,N){process.env.NODE_ENV!=="production"&&(typeof S!="object"||!(S!=null&&S[pr]))&&[ui,di,...f].forEach(X=>X($,N,{path:c,hashId:i,parentSelectors:o}));const W=$.replace(/[A-Z]/g,X=>`-${X.toLowerCase()}`);let Z=N;!Xa[$]&&typeof Z=="number"&&Z!==0&&(Z=`${Z}px`),$==="animationName"&&(N!=null&&N._keyframe)&&(m(N),Z=N.getName(i)),d+=`${W}:${Z};`};const g=(O=S==null?void 0:S.value)!==null&&O!==void 0?O:S;typeof S=="object"&&(S!=null&&S[mr])&&Array.isArray(g)?g.forEach($=>{P(T,$)}):P(T,g)}})}}),!n)d=`{${d}}`;else if(l&&Ha()){const x=l.split(",");d=`@layer ${x[x.length-1].trim()} {${d}}`,x.length>1&&(d=`@layer ${l}{%%%:%}${d}`)}return[d,p]};function vi(e,t){return It(`${e.join("%")}${t}`)}function Wt(e,t){const n=Ye(),r=a.computed(()=>e.value.token._tokenKey),o=a.computed(()=>[r.value,...e.value.path]);let i=fr;return process.env.NODE_ENV!=="production"&&n.value.mock!==void 0&&(i=n.value.mock==="client"),zn("style",o,()=>{const{path:l,hashId:c,layer:u,nonce:s,clientOnly:f,order:d=0}=e.value,p=o.value.join("|");if(mi(p)){const[g,$]=gi(p);if(g)return[g,r.value,$,{},f,d]}const m=t(),{hashPriority:y,container:v,transformers:x,linters:b,cache:w}=n.value,[T,O]=Ft(m,{hashId:c,hashPriority:y,layer:u,path:l.join("-"),transformers:x,linters:b}),S=gr(T),P=vi(o.value,S);if(i){const g={mark:le,prepend:"queue",attachTo:v,priority:d},$=typeof s=="function"?s():s;$&&(g.csp={nonce:$});const N=Je(S,P,g);N[ye]=w.instanceId,N.setAttribute(Bn,r.value),process.env.NODE_ENV!=="production"&&N.setAttribute(ba,o.value.join("|")),Object.keys(O).forEach(W=>{Dt.has(W)||(Dt.add(W),Je(gr(O[W]),`_effect-${W}`,{mark:le,prepend:"queue",attachTo:v}))})}return[S,r.value,P,O,f,d]},(l,c)=>{let[,,u]=l;(c||n.value.autoClear)&&fr&&Xn(u,{mark:le})}),l=>l}class ue{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 we(e){return e.notSplit=!0,e}we(["borderTop","borderBottom"]),we(["borderTop"]),we(["borderBottom"]),we(["borderLeft","borderRight"]),we(["borderLeft"]),we(["borderRight"]);const bi="4.2.6";function M(e,t){Ci(e)&&(e="100%");var n=xi(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 lt(e){return Math.min(1,Math.max(0,e))}function Ci(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function xi(e){return typeof e=="string"&&e.indexOf("%")!==-1}function hr(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ct(e){return e<=1?"".concat(Number(e)*100,"%"):e}function de(e){return e.length===1?"0"+e:String(e)}function Si(e,t,n){return{r:M(e,255)*255,g:M(t,255)*255,b:M(n,255)*255}}function yr(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,l=0,c=(r+o)/2;if(r===o)l=0,i=0;else{var u=r-o;switch(l=c>.5?u/(2-r-o):u/(r+o),r){case e:i=(t-n)/u+(t<n?6:0);break;case t:i=(n-e)/u+2;break;case n:i=(e-t)/u+4;break}i/=6}return{h:i,s:l,l:c}}function Gt(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 wi(e,t,n){var r,o,i;if(e=M(e,360),t=M(t,100),n=M(n,100),t===0)o=n,i=n,r=n;else{var l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;r=Gt(c,l,e+1/3),o=Gt(c,l,e),i=Gt(c,l,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function Ut(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,l=r,c=r-o,u=r===0?0:c/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4;break}i/=6}return{h:i,s:u,v:l}}function Oi(e,t,n){e=M(e,360)*6,t=M(t,100),n=M(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),l=n*(1-o*t),c=n*(1-(1-o)*t),u=r%6,s=[n,l,i,i,c,n][u],f=[c,n,n,l,i,i][u],d=[i,i,c,n,n,l][u];return{r:s*255,g:f*255,b:d*255}}function Xt(e,t,n,r){var o=[de(Math.round(e).toString(16)),de(Math.round(t).toString(16)),de(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function $i(e,t,n,r,o){var i=[de(Math.round(e).toString(16)),de(Math.round(t).toString(16)),de(Math.round(n).toString(16)),de(Pi(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function Pi(e){return Math.round(parseFloat(e)*255).toString(16)}function vr(e){return D(e)/255}function D(e){return parseInt(e,16)}function Ti(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var qt={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 Oe(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,l=!1,c=!1;return typeof e=="string"&&(e=Ei(e)),typeof e=="object"&&(ee(e.r)&&ee(e.g)&&ee(e.b)?(t=Si(e.r,e.g,e.b),l=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ee(e.h)&&ee(e.s)&&ee(e.v)?(r=ct(e.s),o=ct(e.v),t=Oi(e.h,r,o),l=!0,c="hsv"):ee(e.h)&&ee(e.s)&&ee(e.l)&&(r=ct(e.s),i=ct(e.l),t=wi(e.h,r,i),l=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=hr(n),{ok:l,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var _i="[-\\+]?\\d+%?",Ni="[-\\+]?\\d*\\.\\d+%?",oe="(?:".concat(Ni,")|(?:").concat(_i,")"),Kt="[\\s|\\(]+(".concat(oe,")[,|\\s]+(").concat(oe,")[,|\\s]+(").concat(oe,")\\s*\\)?"),Yt="[\\s|\\(]+(".concat(oe,")[,|\\s]+(").concat(oe,")[,|\\s]+(").concat(oe,")[,|\\s]+(").concat(oe,")\\s*\\)?"),K={CSS_UNIT:new RegExp(oe),rgb:new RegExp("rgb"+Kt),rgba:new RegExp("rgba"+Yt),hsl:new RegExp("hsl"+Kt),hsla:new RegExp("hsla"+Yt),hsv:new RegExp("hsv"+Kt),hsva:new RegExp("hsva"+Yt),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 Ei(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(qt[e])e=qt[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=K.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=K.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=K.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=K.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=K.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=K.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=K.hex8.exec(e),n?{r:D(n[1]),g:D(n[2]),b:D(n[3]),a:vr(n[4]),format:t?"name":"hex8"}:(n=K.hex6.exec(e),n?{r:D(n[1]),g:D(n[2]),b:D(n[3]),format:t?"name":"hex"}:(n=K.hex4.exec(e),n?{r:D(n[1]+n[1]),g:D(n[2]+n[2]),b:D(n[3]+n[3]),a:vr(n[4]+n[4]),format:t?"name":"hex8"}:(n=K.hex3.exec(e),n?{r:D(n[1]+n[1]),g:D(n[2]+n[2]),b:D(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ee(e){return!!K.CSS_UNIT.exec(String(e))}var A=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Ti(t)),this.originalInput=t;var o=Oe(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.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=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,i=t.r/255,l=t.g/255,c=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),c<=.03928?o=c/12.92:o=Math.pow((c+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=hr(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=Ut(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=Ut(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=yr(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=yr(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Xt(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),$i(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),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(M(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(M(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="#"+Xt(this.r,this.g,this.b,!1),n=0,r=Object.entries(qt);n<r.length;n++){var o=r[n],i=o[0],l=o[1];if(t===l)return i}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,o=this.a<1&&this.a>=0,i=!n&&o&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||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=lt(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=lt(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=lt(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=lt(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,l={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(l)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,l=[],c=1/t;t--;)l.push(new e({h:r,s:o,v:i})),i=(i+c)%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(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,l=1;l<t;l++)o.push(new e({h:(r+l*i)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),st=2,br=.16,Ii=.05,ki=.05,Mi=.15,Cr=5,xr=4,Ai=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Sr(e){var t=e.r,n=e.g,r=e.b,o=Ut(t,n,r);return{h:o.h*360,s:o.s,v:o.v}}function ut(e){var t=e.r,n=e.g,r=e.b;return"#".concat(Xt(t,n,r,!1))}function ji(e,t,n){var r=n/100,o={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return o}function wr(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-st*t:Math.round(e.h)+st*t:r=n?Math.round(e.h)+st*t:Math.round(e.h)-st*t,r<0?r+=360:r>=360&&(r-=360),r}function Or(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-br*t:t===xr?r=e.s+br:r=e.s+Ii*t,r>1&&(r=1),n&&t===Cr&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function $r(e,t,n){var r;return n?r=e.v+ki*t:r=e.v-Mi*t,r>1&&(r=1),Number(r.toFixed(2))}function fe(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Oe(e),o=Cr;o>0;o-=1){var i=Sr(r),l=ut(Oe({h:wr(i,o,!0),s:Or(i,o,!0),v:$r(i,o,!0)}));n.push(l)}n.push(ut(r));for(var c=1;c<=xr;c+=1){var u=Sr(r),s=ut(Oe({h:wr(u,c),s:Or(u,c),v:$r(u,c)}));n.push(s)}return t.theme==="dark"?Ai.map(function(f){var d=f.index,p=f.opacity,m=ut(ji(Oe(t.backgroundColor||"#141414"),Oe(n[d]),p*100));return m}):n}var Qt={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"},dt={},Jt={};Object.keys(Qt).forEach(function(e){dt[e]=fe(Qt[e]),dt[e].primary=dt[e][5],Jt[e]=fe(Qt[e],{theme:"dark",backgroundColor:"#141414"}),Jt[e].primary=Jt[e][5]});var Ri=dt.blue;const Hi=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Bi(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 Pr={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"},ft=h(h({},Pr),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
3
3
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
4
4
|
'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});function Li(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:l,colorInfo:c,colorPrimary:u,colorBgBase:s,colorTextBase:f}=e,d=n(u),p=n(o),m=n(i),y=n(l),v=n(c),x=r(s,f);return h(h({},x),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:y[1],colorErrorBgHover:y[2],colorErrorBorder:y[3],colorErrorBorderHover:y[4],colorErrorHover:y[5],colorError:y[6],colorErrorActive:y[7],colorErrorTextHover:y[8],colorErrorText:y[9],colorErrorTextActive:y[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorBgMask:new A("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Vi=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?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?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function zi(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return h({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},Vi(r))}const te=(e,t)=>new A(e).setAlpha(t).toRgbString(),Ve=(e,t)=>new A(e).darken(t).toHexString(),Di=e=>{const t=fe(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]}},Fi=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:te(r,.88),colorTextSecondary:te(r,.65),colorTextTertiary:te(r,.45),colorTextQuaternary:te(r,.25),colorFill:te(r,.15),colorFillSecondary:te(r,.06),colorFillTertiary:te(r,.04),colorFillQuaternary:te(r,.02),colorBgLayout:Ve(n,4),colorBgContainer:Ve(n,0),colorBgElevated:Ve(n,0),colorBgSpotlight:te(r,.85),colorBorder:Ve(n,15),colorBorderSecondary:Ve(n,6)}};function Wi(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),l=r>1?Math.floor(i):Math.ceil(i);return Math.floor(l/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const Gi=e=>{const t=Wi(e),n=t.map(o=>o.size),r=t.map(o=>o.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:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function Ui(e){const t=Object.keys(Pr).map(n=>{const r=fe(e[n]);return new Array(10).fill(1).reduce((o,i,l)=>(o[`${n}-${l+1}`]=r[l],o),{})}).reduce((n,r)=>(n=h(h({},n),r),n),{});return h(h(h(h(h(h(h({},e),t),Li(e,{generateColorPalettes:Di,generateNeutralColorPalettes:Fi})),Gi(e.fontSize)),Bi(e)),Hi(e)),zi(e))}function Zt(e){return e>=0&&e<=255}function pt(e,t){const{r:n,g:r,b:o,a:i}=new A(e).toRgb();if(i<1)return e;const{r:l,g:c,b:u}=new A(t).toRgb();for(let s=.01;s<=1;s+=.01){const f=Math.round((n-l*(1-s))/s),d=Math.round((r-c*(1-s))/s),p=Math.round((o-u*(1-s))/s);if(Zt(f)&&Zt(d)&&Zt(p))return new A({r:f,g:d,b:p,a:Math.round(s*100)/100}).toRgbString()}return new A({r:n,g:r,b:o,a:1}).toRgbString()}var Xi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function qi(e){const{override:t}=e,n=Xi(e,["override"]),r=h({},t);Object.keys(ft).forEach(m=>{delete r[m]});const o=h(h({},n),r),i=480,l=576,c=768,u=992,s=1200,f=1600,d=2e3;return h(h(h({},o),{colorLink:o.colorInfoText,colorLinkHover:o.colorInfoHover,colorLinkActive:o.colorInfoActive,colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:pt(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:pt(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:pt(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:pt(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|