UNPKG

@farris/ui-vue

Version:

Farris Vue, a Farris Design based Vue3 component library.

6 lines 73.2 kB
(function(w,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("vue-i18n")):typeof define=="function"&&define.amd?define(["exports","vue-i18n"],L):(w=typeof globalThis<"u"?globalThis:w||self,L(w.locale={},w.vueI18n))})(this,function(w,L){"use strict";var Kn=Object.defineProperty;var Gn=(w,L,B)=>L in w?Kn(w,L,{enumerable:!0,configurable:!0,writable:!0,value:B}):w[L]=B;var Oe=(w,L,B)=>Gn(w,typeof L!="symbol"?L+"":L,B);const B=Symbol("LOCALE_SERVICE"),ke="zh-CHS",wt={locale:ke,fallbackLocale:ke,uri:""};function Le(e,t){return function(){return e.apply(t,arguments)}}const{toString:Et}=Object.prototype,{getPrototypeOf:pe}=Object,{iterator:ee,toStringTag:Re}=Symbol,te=(e=>t=>{const n=Et.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),D=e=>(e=e.toLowerCase(),t=>te(t)===e),ne=e=>t=>typeof t===e,{isArray:W}=Array,H=ne("undefined");function J(e){return e!==null&&!H(e)&&e.constructor!==null&&!H(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ve=D("ArrayBuffer");function Ct(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ve(e.buffer),t}const At=ne("string"),A=ne("function"),De=ne("number"),Y=e=>e!==null&&typeof e=="object",Ot=e=>e===!0||e===!1,re=e=>{if(te(e)!=="object")return!1;const t=pe(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Re in e)&&!(ee in e)},kt=e=>{if(!Y(e)||J(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Lt=D("Date"),Rt=D("File"),vt=D("Blob"),Dt=D("FileList"),Ft=e=>Y(e)&&A(e.pipe),Pt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||A(e.append)&&((t=te(e))==="formdata"||t==="object"&&A(e.toString)&&e.toString()==="[object FormData]"))},Mt=D("URLSearchParams"),[Nt,$t,Bt,qt]=["ReadableStream","Request","Response","Headers"].map(D),Ut=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function K(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),W(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(J(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let l;for(r=0;r<s;r++)l=a[r],t.call(null,e[l],l,e)}}function Fe(e,t){if(J(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const q=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pe=e=>!H(e)&&e!==q;function me(){const{caseless:e,skipUndefined:t}=Pe(this)&&this||{},n={},r=(o,a)=>{const s=e&&Fe(n,a)||a;re(n[s])&&re(o)?n[s]=me(n[s],o):re(o)?n[s]=me({},o):W(o)?n[s]=o.slice():(!t||!H(o))&&(n[s]=o)};for(let o=0,a=arguments.length;o<a;o++)arguments[o]&&K(arguments[o],r);return n}const It=(e,t,n,{allOwnKeys:r}={})=>(K(t,(o,a)=>{n&&A(o)?e[a]=Le(o,n):e[a]=o},{allOwnKeys:r}),e),_t=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jt=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Wt=(e,t,n,r)=>{let o,a,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)s=o[a],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&pe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ht=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Vt=e=>{if(!e)return null;if(W(e))return e;let t=e.length;if(!De(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},zt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&pe(Uint8Array)),Jt=(e,t)=>{const r=(e&&e[ee]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},Yt=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Kt=D("HTMLFormElement"),Gt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Me=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Qt=D("RegExp"),Ne=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};K(n,(o,a)=>{let s;(s=t(o,a,e))!==!1&&(r[a]=s||o)}),Object.defineProperties(e,r)},Xt=e=>{Ne(e,(t,n)=>{if(A(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(A(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Zt=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return W(e)?r(e):r(String(e).split(t)),n},en=()=>{},tn=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function nn(e){return!!(e&&A(e.append)&&e[Re]==="FormData"&&e[ee])}const rn=e=>{const t=new Array(10),n=(r,o)=>{if(Y(r)){if(t.indexOf(r)>=0)return;if(J(r))return r;if(!("toJSON"in r)){t[o]=r;const a=W(r)?[]:{};return K(r,(s,l)=>{const f=n(s,o+1);!H(f)&&(a[l]=f)}),t[o]=void 0,a}}return r};return n(e,0)},on=D("AsyncFunction"),sn=e=>e&&(Y(e)||A(e))&&A(e.then)&&A(e.catch),$e=((e,t)=>e?setImmediate:t?((n,r)=>(q.addEventListener("message",({source:o,data:a})=>{o===q&&a===n&&r.length&&r.shift()()},!1),o=>{r.push(o),q.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",A(q.postMessage)),an=typeof queueMicrotask<"u"?queueMicrotask.bind(q):typeof process<"u"&&process.nextTick||$e,i={isArray:W,isArrayBuffer:ve,isBuffer:J,isFormData:Pt,isArrayBufferView:Ct,isString:At,isNumber:De,isBoolean:Ot,isObject:Y,isPlainObject:re,isEmptyObject:kt,isReadableStream:Nt,isRequest:$t,isResponse:Bt,isHeaders:qt,isUndefined:H,isDate:Lt,isFile:Rt,isBlob:vt,isRegExp:Qt,isFunction:A,isStream:Ft,isURLSearchParams:Mt,isTypedArray:zt,isFileList:Dt,forEach:K,merge:me,extend:It,trim:Ut,stripBOM:_t,inherits:jt,toFlatObject:Wt,kindOf:te,kindOfTest:D,endsWith:Ht,toArray:Vt,forEachEntry:Jt,matchAll:Yt,isHTMLForm:Kt,hasOwnProperty:Me,hasOwnProp:Me,reduceDescriptors:Ne,freezeMethods:Xt,toObjectSet:Zt,toCamelCase:Gt,noop:en,toFiniteNumber:tn,findKey:Fe,global:q,isContextDefined:Pe,isSpecCompliantForm:nn,toJSONObject:rn,isAsyncFn:on,isThenable:sn,setImmediate:$e,asap:an,isIterable:e=>e!=null&&A(e[ee])};function y(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}i.inherits(y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i.toJSONObject(this.config),code:this.code,status:this.status}}});const Be=y.prototype,qe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{qe[e]={value:e}}),Object.defineProperties(y,qe),Object.defineProperty(Be,"isAxiosError",{value:!0}),y.from=(e,t,n,r,o,a)=>{const s=Object.create(Be);i.toFlatObject(e,s,function(c){return c!==Error.prototype},d=>d!=="isAxiosError");const l=e&&e.message?e.message:"Error",f=t==null&&e?e.code:t;return y.call(s,l,f,n,r,o),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",a&&Object.assign(s,a),s};const ln=null;function he(e){return i.isPlainObject(e)||i.isArray(e)}function Ue(e){return i.endsWith(e,"[]")?e.slice(0,-2):e}function Ie(e,t,n){return e?e.concat(t).map(function(o,a){return o=Ue(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function cn(e){return i.isArray(e)&&!e.some(he)}const un=i.toFlatObject(i,{},null,function(t){return/^is[A-Z]/.test(t)});function oe(e,t,n){if(!i.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=i.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,p){return!i.isUndefined(p[h])});const r=n.metaTokens,o=n.visitor||c,a=n.dots,s=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&i.isSpecCompliantForm(t);if(!i.isFunction(o))throw new TypeError("visitor must be a function");function d(u){if(u===null)return"";if(i.isDate(u))return u.toISOString();if(i.isBoolean(u))return u.toString();if(!f&&i.isBlob(u))throw new y("Blob is not supported. Use a Buffer instead.");return i.isArrayBuffer(u)||i.isTypedArray(u)?f&&typeof Blob=="function"?new Blob([u]):Buffer.from(u):u}function c(u,h,p){let T=u;if(u&&!p&&typeof u=="object"){if(i.endsWith(h,"{}"))h=r?h:h.slice(0,-2),u=JSON.stringify(u);else if(i.isArray(u)&&cn(u)||(i.isFileList(u)||i.endsWith(h,"[]"))&&(T=i.toArray(u)))return h=Ue(h),T.forEach(function(S,k){!(i.isUndefined(S)||S===null)&&t.append(s===!0?Ie([h],k,a):s===null?h:h+"[]",d(S))}),!1}return he(u)?!0:(t.append(Ie(p,h,a),d(u)),!1)}const m=[],b=Object.assign(un,{defaultVisitor:c,convertValue:d,isVisitable:he});function C(u,h){if(!i.isUndefined(u)){if(m.indexOf(u)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(u),i.forEach(u,function(T,R){(!(i.isUndefined(T)||T===null)&&o.call(t,T,i.isString(R)?R.trim():R,h,b))===!0&&C(T,h?h.concat(R):[R])}),m.pop()}}if(!i.isObject(e))throw new TypeError("data must be an object");return C(e),t}function _e(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ye(e,t){this._pairs=[],e&&oe(e,this,t)}const je=ye.prototype;je.append=function(t,n){this._pairs.push([t,n])},je.toString=function(t){const n=t?function(r){return t.call(this,r,_e)}:_e;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function dn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function We(e,t,n){if(!t)return e;const r=n&&n.encode||dn;i.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let a;if(o?a=o(t,n):a=i.isURLSearchParams(t)?t.toString():new ye(t,n).toString(r),a){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class He{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){i.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fn={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:ye,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},ge=typeof window<"u"&&typeof document<"u",be=typeof navigator=="object"&&navigator||void 0,pn=ge&&(!be||["ReactNative","NativeScript","NS"].indexOf(be.product)<0),mn=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",hn=ge&&window.location.href||"http://localhost",E={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ge,hasStandardBrowserEnv:pn,hasStandardBrowserWebWorkerEnv:mn,navigator:be,origin:hn},Symbol.toStringTag,{value:"Module"})),...fn};function yn(e,t){return oe(e,new E.classes.URLSearchParams,{visitor:function(n,r,o,a){return E.isNode&&i.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}function gn(e){return i.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function bn(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function ze(e){function t(n,r,o,a){let s=n[a++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),f=a>=n.length;return s=!s&&i.isArray(o)?o.length:s,f?(i.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!i.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],a)&&i.isArray(o[s])&&(o[s]=bn(o[s])),!l)}if(i.isFormData(e)&&i.isFunction(e.entries)){const n={};return i.forEachEntry(e,(r,o)=>{t(gn(r),o,n,0)}),n}return null}function xn(e,t,n){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const G={transitional:Ve,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=i.isObject(t);if(a&&i.isHTMLForm(t)&&(t=new FormData(t)),i.isFormData(t))return o?JSON.stringify(ze(t)):t;if(i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)||i.isReadableStream(t))return t;if(i.isArrayBufferView(t))return t.buffer;if(i.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return yn(t,this.formSerializer).toString();if((l=i.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return oe(l?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),xn(t)):t}],transformResponse:[function(t){const n=this.transitional||G.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(i.isResponse(t)||i.isReadableStream(t))return t;if(t&&i.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(l){if(s)throw l.name==="SyntaxError"?y.from(l,y.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:E.classes.FormData,Blob:E.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};i.forEach(["delete","get","head","post","put","patch"],e=>{G.headers[e]={}});const Tn=i.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Sn=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&Tn[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Je=Symbol("internals");function Q(e){return e&&String(e).trim().toLowerCase()}function se(e){return e===!1||e==null?e:i.isArray(e)?e.map(se):String(e)}function wn(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const En=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xe(e,t,n,r,o){if(i.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!i.isString(t)){if(i.isString(r))return t.indexOf(r)!==-1;if(i.isRegExp(r))return r.test(t)}}function Cn(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function An(e,t){const n=i.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,a,s){return this[r].call(this,t,o,a,s)},configurable:!0})})}let O=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function a(l,f,d){const c=Q(f);if(!c)throw new Error("header name must be a non-empty string");const m=i.findKey(o,c);(!m||o[m]===void 0||d===!0||d===void 0&&o[m]!==!1)&&(o[m||f]=se(l))}const s=(l,f)=>i.forEach(l,(d,c)=>a(d,c,f));if(i.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(i.isString(t)&&(t=t.trim())&&!En(t))s(Sn(t),n);else if(i.isObject(t)&&i.isIterable(t)){let l={},f,d;for(const c of t){if(!i.isArray(c))throw TypeError("Object iterator must return a key-value pair");l[d=c[0]]=(f=l[d])?i.isArray(f)?[...f,c[1]]:[f,c[1]]:c[1]}s(l,n)}else t!=null&&a(n,t,r);return this}get(t,n){if(t=Q(t),t){const r=i.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return wn(o);if(i.isFunction(n))return n.call(this,o,r);if(i.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Q(t),t){const r=i.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||xe(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function a(s){if(s=Q(s),s){const l=i.findKey(r,s);l&&(!n||xe(r,r[l],l,n))&&(delete r[l],o=!0)}}return i.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!t||xe(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,r={};return i.forEach(this,(o,a)=>{const s=i.findKey(r,a);if(s){n[s]=se(o),delete n[a];return}const l=t?Cn(a):String(a).trim();l!==a&&delete n[a],n[l]=se(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return i.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&i.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Je]=this[Je]={accessors:{}}).accessors,o=this.prototype;function a(s){const l=Q(s);r[l]||(An(o,s),r[l]=!0)}return i.isArray(t)?t.forEach(a):a(t),this}};O.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),i.reduceDescriptors(O.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),i.freezeMethods(O);function Te(e,t){const n=this||G,r=t||n,o=O.from(r.headers);let a=r.data;return i.forEach(e,function(l){a=l.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function Ye(e){return!!(e&&e.__CANCEL__)}function V(e,t,n){y.call(this,e??"canceled",y.ERR_CANCELED,t,n),this.name="CanceledError"}i.inherits(V,y,{__CANCEL__:!0});function Ke(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new y("Request failed with status code "+n.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function On(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function kn(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,a=0,s;return t=t!==void 0?t:1e3,function(f){const d=Date.now(),c=r[a];s||(s=d),n[o]=f,r[o]=d;let m=a,b=0;for(;m!==o;)b+=n[m++],m=m%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),d-s<t)return;const C=c&&d-c;return C?Math.round(b*1e3/C):void 0}}function Ln(e,t){let n=0,r=1e3/t,o,a;const s=(d,c=Date.now())=>{n=c,o=null,a&&(clearTimeout(a),a=null),e(...d)};return[(...d)=>{const c=Date.now(),m=c-n;m>=r?s(d,c):(o=d,a||(a=setTimeout(()=>{a=null,s(o)},r-m)))},()=>o&&s(o)]}const ae=(e,t,n=3)=>{let r=0;const o=kn(50,250);return Ln(a=>{const s=a.loaded,l=a.lengthComputable?a.total:void 0,f=s-r,d=o(f),c=s<=l;r=s;const m={loaded:s,total:l,progress:l?s/l:void 0,bytes:f,rate:d||void 0,estimated:d&&l&&c?(l-s)/d:void 0,event:a,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(m)},n)},Ge=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Qe=e=>(...t)=>i.asap(()=>e(...t)),Rn=E.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,E.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(E.origin),E.navigator&&/(msie|trident)/i.test(E.navigator.userAgent)):()=>!0,vn=E.hasStandardBrowserEnv?{write(e,t,n,r,o,a,s){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];i.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),i.isString(r)&&l.push(`path=${r}`),i.isString(o)&&l.push(`domain=${o}`),a===!0&&l.push("secure"),i.isString(s)&&l.push(`SameSite=${s}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Dn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Fn(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Xe(e,t,n){let r=!Dn(t);return e&&(r||n==!1)?Fn(e,t):t}const Ze=e=>e instanceof O?{...e}:e;function U(e,t){t=t||{};const n={};function r(d,c,m,b){return i.isPlainObject(d)&&i.isPlainObject(c)?i.merge.call({caseless:b},d,c):i.isPlainObject(c)?i.merge({},c):i.isArray(c)?c.slice():c}function o(d,c,m,b){if(i.isUndefined(c)){if(!i.isUndefined(d))return r(void 0,d,m,b)}else return r(d,c,m,b)}function a(d,c){if(!i.isUndefined(c))return r(void 0,c)}function s(d,c){if(i.isUndefined(c)){if(!i.isUndefined(d))return r(void 0,d)}else return r(void 0,c)}function l(d,c,m){if(m in t)return r(d,c);if(m in e)return r(void 0,d)}const f={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(d,c,m)=>o(Ze(d),Ze(c),m,!0)};return i.forEach(Object.keys({...e,...t}),function(c){const m=f[c]||o,b=m(e[c],t[c],c);i.isUndefined(b)&&m!==l||(n[c]=b)}),n}const et=e=>{const t=U({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=O.from(s),t.url=We(Xe(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),i.isFormData(n)){if(E.hasStandardBrowserEnv||E.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(i.isFunction(n.getHeaders)){const f=n.getHeaders(),d=["content-type","content-length"];Object.entries(f).forEach(([c,m])=>{d.includes(c.toLowerCase())&&s.set(c,m)})}}if(E.hasStandardBrowserEnv&&(r&&i.isFunction(r)&&(r=r(t)),r||r!==!1&&Rn(t.url))){const f=o&&a&&vn.read(a);f&&s.set(o,f)}return t},Pn=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=et(e);let a=o.data;const s=O.from(o.headers).normalize();let{responseType:l,onUploadProgress:f,onDownloadProgress:d}=o,c,m,b,C,u;function h(){C&&C(),u&&u(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let p=new XMLHttpRequest;p.open(o.method.toUpperCase(),o.url,!0),p.timeout=o.timeout;function T(){if(!p)return;const S=O.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),F={data:!l||l==="text"||l==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:S,config:e,request:p};Ke(function(v){n(v),h()},function(v){r(v),h()},F),p=null}"onloadend"in p?p.onloadend=T:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(T)},p.onabort=function(){p&&(r(new y("Request aborted",y.ECONNABORTED,e,p)),p=null)},p.onerror=function(k){const F=k&&k.message?k.message:"Network Error",_=new y(F,y.ERR_NETWORK,e,p);_.event=k||null,r(_),p=null},p.ontimeout=function(){let k=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const F=o.transitional||Ve;o.timeoutErrorMessage&&(k=o.timeoutErrorMessage),r(new y(k,F.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,e,p)),p=null},a===void 0&&s.setContentType(null),"setRequestHeader"in p&&i.forEach(s.toJSON(),function(k,F){p.setRequestHeader(F,k)}),i.isUndefined(o.withCredentials)||(p.withCredentials=!!o.withCredentials),l&&l!=="json"&&(p.responseType=o.responseType),d&&([b,u]=ae(d,!0),p.addEventListener("progress",b)),f&&p.upload&&([m,C]=ae(f),p.upload.addEventListener("progress",m),p.upload.addEventListener("loadend",C)),(o.cancelToken||o.signal)&&(c=S=>{p&&(r(!S||S.type?new V(null,e,p):S),p.abort(),p=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const R=On(o.url);if(R&&E.protocols.indexOf(R)===-1){r(new y("Unsupported protocol "+R+":",y.ERR_BAD_REQUEST,e));return}p.send(a||null)})},Mn=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const a=function(d){if(!o){o=!0,l();const c=d instanceof Error?d:this.reason;r.abort(c instanceof y?c:new V(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,a(new y(`timeout ${t} of ms exceeded`,y.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(a):d.removeEventListener("abort",a)}),e=null)};e.forEach(d=>d.addEventListener("abort",a));const{signal:f}=r;return f.unsubscribe=()=>i.asap(l),f}},Nn=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},$n=async function*(e,t){for await(const n of Bn(e))yield*Nn(n,t)},Bn=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},tt=(e,t,n,r)=>{const o=$n(e,t);let a=0,s,l=f=>{s||(s=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:d,value:c}=await o.next();if(d){l(),f.close();return}let m=c.byteLength;if(n){let b=a+=m;n(b)}f.enqueue(new Uint8Array(c))}catch(d){throw l(d),d}},cancel(f){return l(f),o.return()}},{highWaterMark:2})},nt=64*1024,{isFunction:ie}=i,qn=(({Request:e,Response:t})=>({Request:e,Response:t}))(i.global),{ReadableStream:rt,TextEncoder:ot}=i.global,st=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Un=e=>{e=i.merge.call({skipUndefined:!0},qn,e);const{fetch:t,Request:n,Response:r}=e,o=t?ie(t):typeof fetch=="function",a=ie(n),s=ie(r);if(!o)return!1;const l=o&&ie(rt),f=o&&(typeof ot=="function"?(u=>h=>u.encode(h))(new ot):async u=>new Uint8Array(await new n(u).arrayBuffer())),d=a&&l&&st(()=>{let u=!1;const h=new n(E.origin,{body:new rt,method:"POST",get duplex(){return u=!0,"half"}}).headers.has("Content-Type");return u&&!h}),c=s&&l&&st(()=>i.isReadableStream(new r("").body)),m={stream:c&&(u=>u.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(u=>{!m[u]&&(m[u]=(h,p)=>{let T=h&&h[u];if(T)return T.call(h);throw new y(`Response type '${u}' is not supported`,y.ERR_NOT_SUPPORT,p)})});const b=async u=>{if(u==null)return 0;if(i.isBlob(u))return u.size;if(i.isSpecCompliantForm(u))return(await new n(E.origin,{method:"POST",body:u}).arrayBuffer()).byteLength;if(i.isArrayBufferView(u)||i.isArrayBuffer(u))return u.byteLength;if(i.isURLSearchParams(u)&&(u=u+""),i.isString(u))return(await f(u)).byteLength},C=async(u,h)=>{const p=i.toFiniteNumber(u.getContentLength());return p??b(h)};return async u=>{let{url:h,method:p,data:T,signal:R,cancelToken:S,timeout:k,onDownloadProgress:F,onUploadProgress:_,responseType:v,headers:Ce,withCredentials:ue="same-origin",fetchOptions:ht}=et(u),yt=t||fetch;v=v?(v+"").toLowerCase():"text";let de=Mn([R,S&&S.toAbortSignal()],k),Z=null;const j=de&&de.unsubscribe&&(()=>{de.unsubscribe()});let gt;try{if(_&&d&&p!=="get"&&p!=="head"&&(gt=await C(Ce,T))!==0){let $=new n(h,{method:"POST",body:T,duplex:"half"}),z;if(i.isFormData(T)&&(z=$.headers.get("content-type"))&&Ce.setContentType(z),$.body){const[Ae,fe]=Ge(gt,ae(Qe(_)));T=tt($.body,nt,Ae,fe)}}i.isString(ue)||(ue=ue?"include":"omit");const M=a&&"credentials"in n.prototype,bt={...ht,signal:de,method:p.toUpperCase(),headers:Ce.normalize().toJSON(),body:T,duplex:"half",credentials:M?ue:void 0};Z=a&&new n(h,bt);let N=await(a?yt(Z,ht):yt(h,bt));const xt=c&&(v==="stream"||v==="response");if(c&&(F||xt&&j)){const $={};["status","statusText","headers"].forEach(Tt=>{$[Tt]=N[Tt]});const z=i.toFiniteNumber(N.headers.get("content-length")),[Ae,fe]=F&&Ge(z,ae(Qe(F),!0))||[];N=new r(tt(N.body,nt,Ae,()=>{fe&&fe(),j&&j()}),$)}v=v||"text";let Yn=await m[i.findKey(m,v)||"text"](N,u);return!xt&&j&&j(),await new Promise(($,z)=>{Ke($,z,{data:Yn,headers:O.from(N.headers),status:N.status,statusText:N.statusText,config:u,request:Z})})}catch(M){throw j&&j(),M&&M.name==="TypeError"&&/Load failed|fetch/i.test(M.message)?Object.assign(new y("Network Error",y.ERR_NETWORK,u,Z),{cause:M.cause||M}):y.from(M,M&&M.code,u,Z)}}},In=new Map,at=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,a=[r,o,n];let s=a.length,l=s,f,d,c=In;for(;l--;)f=a[l],d=c.get(f),d===void 0&&c.set(f,d=l?new Map:Un(t)),c=d;return d};at();const Se={http:ln,xhr:Pn,fetch:{get:at}};i.forEach(Se,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const it=e=>`- ${e}`,_n=e=>i.isFunction(e)||e===null||e===!1;function jn(e,t){e=i.isArray(e)?e:[e];const{length:n}=e;let r,o;const a={};for(let s=0;s<n;s++){r=e[s];let l;if(o=r,!_n(r)&&(o=Se[(l=String(r)).toLowerCase()],o===void 0))throw new y(`Unknown adapter '${l}'`);if(o&&(i.isFunction(o)||(o=o.get(t))))break;a[l||"#"+s]=o}if(!o){const s=Object.entries(a).map(([f,d])=>`adapter ${f} `+(d===!1?"is not supported by the environment":"is not available in the build"));let l=n?s.length>1?`since : `+s.map(it).join(` `):" "+it(s[0]):"as no adapter specified";throw new y("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return o}const lt={getAdapter:jn,adapters:Se};function we(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new V(null,e)}function ct(e){return we(e),e.headers=O.from(e.headers),e.data=Te.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lt.getAdapter(e.adapter||G.adapter,e)(e).then(function(r){return we(e),r.data=Te.call(e,e.transformResponse,r),r.headers=O.from(r.headers),r},function(r){return Ye(r)||(we(e),r&&r.response&&(r.response.data=Te.call(e,e.transformResponse,r.response),r.response.headers=O.from(r.response.headers))),Promise.reject(r)})}const ut="1.13.2",le={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{le[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const dt={};le.transitional=function(t,n,r){function o(a,s){return"[Axios v"+ut+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return(a,s,l)=>{if(t===!1)throw new y(o(s," has been removed"+(n?" in "+n:"")),y.ERR_DEPRECATED);return n&&!dt[s]&&(dt[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,l):!0}},le.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Wn(e,t,n){if(typeof e!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],s=t[a];if(s){const l=e[a],f=l===void 0||s(l,a,e);if(f!==!0)throw new y("option "+a+" must be "+f,y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new y("Unknown option "+a,y.ERR_BAD_OPTION)}}const ce={assertOptions:Wn,validators:le},P=ce.validators;let I=class{constructor(t){this.defaults=t||{},this.interceptors={request:new He,response:new He}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=U(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&ce.assertOptions(r,{silentJSONParsing:P.transitional(P.boolean),forcedJSONParsing:P.transitional(P.boolean),clarifyTimeoutError:P.transitional(P.boolean)},!1),o!=null&&(i.isFunction(o)?n.paramsSerializer={serialize:o}:ce.assertOptions(o,{encode:P.function,serialize:P.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ce.assertOptions(n,{baseUrl:P.spelling("baseURL"),withXsrfToken:P.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=a&&i.merge(a.common,a[n.method]);a&&i.forEach(["delete","get","head","post","put","patch","common"],u=>{delete a[u]}),n.headers=O.concat(s,a);const l=[];let f=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(f=f&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const d=[];this.interceptors.response.forEach(function(h){d.push(h.fulfilled,h.rejected)});let c,m=0,b;if(!f){const u=[ct.bind(this),void 0];for(u.unshift(...l),u.push(...d),b=u.length,c=Promise.resolve(n);m<b;)c=c.then(u[m++],u[m++]);return c}b=l.length;let C=n;for(;m<b;){const u=l[m++],h=l[m++];try{C=u(C)}catch(p){h.call(this,p);break}}try{c=ct.call(this,C)}catch(u){return Promise.reject(u)}for(m=0,b=d.length;m<b;)c=c.then(d[m++],d[m++]);return c}getUri(t){t=U(this.defaults,t);const n=Xe(t.baseURL,t.url,t.allowAbsoluteUrls);return We(n,t.params,t.paramsSerializer)}};i.forEach(["delete","get","head","options"],function(t){I.prototype[t]=function(n,r){return this.request(U(r||{},{method:t,url:n,data:(r||{}).data}))}}),i.forEach(["post","put","patch"],function(t){function n(r){return function(a,s,l){return this.request(U(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}I.prototype[t]=n(),I.prototype[t+"Form"]=n(!0)});let Hn=class St{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const s=new Promise(l=>{r.subscribe(l),a=l}).then(o);return s.cancel=function(){r.unsubscribe(a)},s},t(function(a,s,l){r.reason||(r.reason=new V(a,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new St(function(o){t=o}),cancel:t}}};function Vn(e){return function(n){return e.apply(null,n)}}function zn(e){return i.isObject(e)&&e.isAxiosError===!0}const Ee={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ee).forEach(([e,t])=>{Ee[t]=e});function ft(e){const t=new I(e),n=Le(I.prototype.request,t);return i.extend(n,I.prototype,t,{allOwnKeys:!0}),i.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return ft(U(e,o))},n}const x=ft(G);x.Axios=I,x.CanceledError=V,x.CancelToken=Hn,x.isCancel=Ye,x.VERSION=ut,x.toFormData=oe,x.AxiosError=y,x.Cancel=x.CanceledError,x.all=function(t){return Promise.all(t)},x.spread=Vn,x.isAxiosError=zn,x.mergeConfig=U,x.AxiosHeaders=O,x.formToJSON=e=>ze(i.isHTMLForm(e)?new FormData(e):e),x.getAdapter=lt.getAdapter,x.HttpStatusCode=Ee,x.default=x;const{Axios:rr,AxiosError:or,CanceledError:sr,isCancel:ar,CancelToken:ir,VERSION:lr,all:cr,Cancel:ur,isAxiosError:dr,spread:fr,toFormData:pr,AxiosHeaders:mr,HttpStatusCode:hr,formToJSON:yr,getAdapter:gr,mergeConfig:br}=x;function pt(){function e(t,n={}){return n={...{timeout:5e3,headers:{"Cache-Control":"no-cache"}},...n},x.get(t,n).then(a=>a.data)}return{loadResource:e}}const mt={"zh-CHS":{transfer:{selectedStart:"已选:",selectedEnd:"项数据"},timePicker:{placeholder:"请选择时间",time:{hour:"时",minute:"分",seconds:"秒"}},tabs:{more:"更多",leftButton:"向左",rightButton:"向左",noData:"没有相关数据"},section:{expandLabel:"展开",collapseLabel:"收起"},responseToolbar:{more:"更多"},querySolution:{saveAsDialog:{queryPlanName:"方案名称",setAsDefault:"设为默认",confirm:"确定",cancel:"取消",caption:"新增方案",personal:"用户个人方案",system:"系统公共方案",nameNotify:"请填写方案名称",authNotify:"您暂无权限修改公共类型方案。",success:"查询方案保存成功。",maxLength:"方案名称最多100个字符,超出请修改"},manageDialog:{caption:"方案管理",default:"默认",system:"系统公共",saveAs:"另存为",save:"保存",manage:"管理",isDefault:"默认方案",code:"名称",type:"属性",private:"用户个人方案",public:"系统公共方案",org:"组织公共方案",remove:"删除"},configDialog:{caption:"筛选条件配置"},container:{filter:"筛选",default:"默认筛选方案",clear:"清空",require:"请填写[fields]再进行筛选"}},pagination:{message:"共 <b>{1}</b> 条",totalInfo:{firstText:"共",lastText:"条"},pageList:{firstText:"每页",lastText:"条"},previous:"上一页",next:"下一页",goto:{prefix:"跳转至",suffix:"页"},show:"显示"},numberSpinner:{placeholder:"请输入数字",range:{begin:"开始数字",end:"结束数字"}},messageBox:{yes:"是",no:"否",ok:"确定",close:"关闭",cancel:"取消",title:"系统提示",errorTitle:"错误提示",prompt:{fontSize:{name:"字体大小",small:"小",middle:"中",big:"大",large:"特大",huge:"超大"},tips:{surplus:"还可以输入 {0} 个字符",length:"已输入 {0} 个字符"}},exception:{expand:"展开",collapse:"收起",happend:"发生时间",detail:"详细信息",copy:"复制详细信息",copySuccess:"复制成功",copyFailed:"复制失败",roger:"知道了"}},lookup:{exact:"精确",placeholder:"请选择",favorites:"收藏夹",selected:"已选数据",okText:"确定",cancelText:"取消",allColumns:"所有列",datalist:"数据列表",mustWriteSomething:"请输入关键字后查询。",mustChoosAdatarow:"请选择一条记录!",tipText:"您要找的是不是这些?",cascade:{enable:"同步选择",disable:"仅选择自身",up:"包含上级",down:"包含下级"},includechildren:"包含下级",favoriteInfo:{addFav:"已添加到收藏夹。",cancelFav:"已从收藏夹中移除。",addFavTitle:"收藏",cancelFavTitle:"取消收藏"},getAllChilds:"获取所有子级数据",contextMenu:{checkChildNodes:"勾选下级数据",uncheckChildNodes:"取消勾选下级数据",expandall:"全部展开",collapseall:"全部收起",expandByLayer:"按层级展开",expand1:"展开 1 级",expand2:"展开 2 级",expand3:"展开 3 级",expand4:"展开 4 级",expand5:"展开 5 级",expand6:"展开 6 级",expand7:"展开 7 级",expand8:"展开 8 级",expand9:"展开 9 级"},quick:{notfind:"未找到搜索内容",more:"显示更多"},configError:"帮助显示列未配置,请检查是否已正确配置帮助数据源! ",selectedInfo:{total:'已选 <span style="font-size: 18px;padding: 0 3px;">{0}</span> 条',clear:"取消已选",remove:"移除 ({0})",confirm:"您确认要取消所有选中记录吗?"},clearAllConditions:"清除所有查询条件",anyFields:"全部"},loading:{message:"正在加载,请稍候..."},listView:{emptyMessage:"暂无数据"},"input-group":{placeholder:"请输入"},filterConditionEditor:{cancelButton:"取消",okButton:"确定",addWhere:"添加子句",clear:"清空",moveTop:"置顶",moveUp:"上移",moveDown:"下移",moveBottom:"置底",leftBrackets:"左括号",field:"字段",operator:"操作符",value:"值",valueType:"值类型",expressType:{value:"值",express:"表达式",frontExpress:"表单表达式"},rightBrackets:"右括号",relation:"关系",relationValue:{and:"并且",or:"或者"},designTab:"设计器",jsonTab:"源代码",sqlTab:"Sql预览",title:"条件编辑器",message:"确认要清空当前所有数据吗?",validate:{bracket:"左右括号不匹配,请检查",relation:"条件关系不完整,请检查",field:"条件字段未设置,请检查"}},filterBar:{confirm:"确定",cancel:"取消",advancedFilter:"更多筛选",clearAll:"清空筛选",reset:"清空筛选",expand:"展开",fold:"收起",require:"请填写[fields]再进行筛选"},eventParameter:{title:"参数编辑器",ok:"确定",cancel:"取消",workFlowClass:{title:"请选择流程分类"},generalEditor:{field:"字段",tabVar:"变量",form:"表单组件"},jsonEditor:{dialogTitle:"可配置参数编辑器",keyColumnTitle:"参数",valueColumnTitle:"参数值",addButtonText:"添加配置参数",keyColumnPlaceholder:"请输入参数",error:"JsonEditor的参数预期是数组,但收到无效的JSON"},comboTree:{placeholder:"请选择"}},drawer:{cancel:"取消",confirm:"确定"},datepicker:{dayLabels:{Sun:"日",Mon:"一",Tue:"二",Wed:"三",Thu:"四",Fri:"五",Sat:"六"},monthLabels:{1:"一月",2:"二月",3:"三月",4:"四月",5:"五月",6:"六月",7:"七月",8:"八月",9:"九月",10:"十月",11:"十一月",12:"十二月"},dateFormat:"yyyy-MM-dd",returnFormat:"yyyy-MM-dd",firstDayOfWeek:"mo",sunHighlight:!1,yearTxt:"年",timeBtnText:"选择时间",dateBtnText:"选择日期",commitBtnText:"确定",weekText:"周",placeholder:"请选择日期",range:{begin:"开始日期",end:"结束日期"},message:{101:"结束时间不得早于开始时间!",102:"仅允许选择 ${0} 个日期"},current:{today:"今天",week:"本周",month:"本月",year:"今年"},multiDatesLocale:{backtotoday:"回到今天",clearSelections:"清空",delete:"删除",selected:"已选,天"},quickSelectors:{today:"今天",yesterday:"昨天",tomorrow:"明天",thisMonday:"本周一",nextMonday:"下周一",firstDayOfMonth:"本月初",lastDayOfMonth:"本月末",firstDayOfLastMonth:"上月初",lastDayOfLastMonth:"上月末",firstDayOfYear:"今年初",lastDayOfYear:"今年末",firstDayOfQuarter:"本季度初",lastDayOfQuarter:"本季度末",thisWeek:"本周",lastWeek:"上周",nextWeek:"下周",past7Days:"过去7天",past30Days:"过去30天",thisMonth:"本月",lastMonth:"上月",thisQuarter:"本季度",lastQuarter:"上季度",thisYear:"今年",lastYear:"去年",recent3Months:"最近3个月",recent6Months:"最近6个月",nextYear:"明年"}},datagrid:{lineNumberTitle:"序号",emptyMessage:"暂无数据",pagination:{previousLabel:"上一页",nextLabel:"下一页",message:"共 <b>{1}</b> 条",pagelist:{firstText:"显示",lastText:"条"}},filter:{title:"筛选",reset:"重置",clear:"清空",clearAll:"清空所有条件",setting:"高级设置",nofilter:"[ 无 ]",checkAll:"全选",and:"并且",or:"或者",operators:{equal:"等于",notEqual:"不等于",greater:"大于",greaterOrEqual:"大于等于",less:"小于",lessOrEqual:"小于等于",contains:"包含",notContains:"不包含",like:"包含",notLike:"不包含",in:"属于",notIn:"不属于",empty:"为空",notEmpty:"不为空",null:"null",notNull:"不为null"},more:"查看更多",ok:"确定",cancel:"取消",sevenDays:"七天",oneMonth:"一个月",threeMonths:"三个月",sixMonths:"半年",searchBoxPlaceholder:"请输入关键词"},settings:{visible:"显示列",sortting:"列排序",title:"列配置",canchoose:"可选列",choosed:"已选列",asc:"升序",desc:"降序",cancelSort:"取消排序",ok:"确定",cancel:"取消",reset:"恢复默认",conciseMode:"简洁模式",advancedMode:"高级模式",formatSetting:"列格式",properties:"列属性",groupping:"分组",allColumns:"所有列",visibleColumns:"可见列",hiddenColumns:"隐藏列",searchPlaceholder:"请输入列名称",checkall:"全部显示/隐藏",headeralign:"表头对齐",dataalign:"数据对齐",alignLeft:"左对齐",alignCenter:"居中对齐",alignRight:"右对齐",summarytype:"汇总合计类型",summarytext:"汇总合计文本",summaryNone:"无",summarySum:"求和",summaryMax:"最大值",summaryMin:"最小值",summarCount:"计数",summaryAverage:"平均值",grouppingField:"分组字段",moreGrouppingFieldWarningMessage:"最多设置3个字段进行分组",grouppingSummary:"分组合计",addGrouppingFieldTip:"添加分组字段",removeGrouppingFieldTip:"移除分组字段",grouppingSummaryType:"分组合计类型",grouppingSummaryText:"分组合计文本",restoreDefaultSettingsText:"确认要恢复默认设置吗?",noPermission:"您没有权限创建或修改公共或组织解决方案",noPermissionTip:"请联系管理员获取权限",simple:{title:"显示列",tip:"选中的字段可展示到列表中,拖拽可调整在列表中的展示顺序。",count:"已显示 <span class='visible-cols-count'>{0}</span> 列"},saveSuccess:"保存成功",saveFailed:"保存失败",solutionList:"方案列表",saveAs:"另存为方案",default:"默认",public:"公共",private:"个人",manage:"管理",columnTitle:"标题",columnWidth:"宽度",columnTitleAlign:"标题对齐",columnContentAlign:"内容对齐",columnFixed:"固定列",leftAlign:"左对齐",centerAlign:"居中对齐",rightAlign:"右对齐",chinese:"中文",chineseTraditional:"中文繁体",setDefault:"设为默认方案",org:"组织",type:"类型",name:"名称",createBy:"创建人",action:"操作",delete:"删除",solution:"方案",systemPreset:"系统预制",pleaseInput:"请输入当前语言环境下的名称",notAllowMore50:"方案名称不允许超过50个字符",fixedLeft:"固定在左侧",fixedRight:"固定在右侧",fixedNone:"不固定"},selectionData:{clearAll:"清空",tooltip:"点击显示已选记录列表",currentLenth:"已选择:<b>{0}</b> 条"},groupRow:{tips:"拖动列到这儿可进行数据分组",removeColumn:"移除分组列",clearTip:"清除所有分组字段",clear:"清空"},summary:{title:"当页合计"},loadingMessage:"正在加载",commandColumn:{title:"操作",edit:"编辑",remove:"删除",cancel:"取消",accept:"确定"}},condition:{add:"添加条件",create:"生成条件组",reset:"重置",and:"与",or:"或"},operators:{equal:"等于",notEqual:"不等于",greater:"大于",greaterOrEqual:"大于等于",less:"小于",lessOrEqual:"小于等于",contains:"包含",notContains:"不包含",like:"包含",notLike:"不包含",in:"属于",notIn:"不属于",empty:"为空",notEmpty:"不为空",null:"null",notNull:"不为null",startWith:"开始是",endWith:"结束是",and:"与",or:"或"},comment:{reply:"回复",cancel:"取消",submit:"提交",confirm:"确定",colleague:"同事",searchPlaceholder:"请输入姓名搜索",submitEmpty:"提交内容不能为空"},comboList:{remoteError:"请求方法类型不正确",placeholder:"请选择"},calendar:{dayLabels:{Sun:"星期日",Mon:"星期一",Tue:"星期二",Wed:"星期三",Thu:"星期四",Fri:"星期五",Sat:"星期六"},monthLabels:{1:"1月",2:"2月",3:"3月",4:"4月",5:"5月",6:"6月",7:"7月",8:"8月",9:"9月",10:"10月",11:"11月",12:"12月"},titleFormat:"yyyy年 MM月",yearViewTitleFormat:"yyyy年",today:"今天",thisYear:"今年",yearView:"年",monthView:"月",weekView:"周",dayView:"日",prevMonth:"上一月",nextMonth:"下一月",prevWeek:"上一周",nextWeek:"下一周",prevDay:"上一天",nextDay:"下一天",prevYear:"上一年",nextYear:"下一年",more:"还有 #count# 项..."},avatar:{imgtitle:"点击修改",typeError:"上传图片类型不正确",sizeError:"上传图片不能大于",uploadError:"图片上传失败,请重试!",loadError:"加载错误",loading:"加载中"}},en:{transfer:{selectedStart:"Selected: ",selectedEnd:" Items"},timePicker:{placeholder:"Please select a time",time:{hour:"Hour",minute:"Minute",seconds:"Second"}},tabs:{more:"More",leftButton:"Left",rightButton:"Right",noData:"No data available"},section:{expandLabel:"Expand",collapseLabel:"Collapse"},responseToolbar:{more:"More"},querySolution:{saveAsDialog:{queryPlanName:"Solution Name",setAsDefault:"Set as default",confirm:"OK",cancel:"Cancel",caption:"New Solution",personal:"Personal solution",system:"System public solution",nameNotify:"Please enter solution name",authNotify:"You do not have permission to modify public solutions.",success:"Filter solution saved successfully.",maxLength:"Solution name cannot exceed 100 characters, please modify"},manageDialog:{caption:"Solution Management",default:"Default",system:"System Public",saveAs:"Save As",save:"Save",manage:"Manage",isDefault:"Default Solution",code:"Name",type:"Type",private:"Personal",public:"System Public",org:"Organization Public",remove:"Delete"},configDialog:{caption:"Filter Configuration"},container:{filter:"Filter",default:"Default Filter Solution",clear:"Clear",require:"Please fill in [fields] before filtering"}},pagination:{message:"Total <b>{1}</b> Items ",totalInfo:{firstText:"Total",lastText:"Items"},pageList:{firstText:"Display",lastText:"Items"},previous:"Previous",next:"Next",goto:{prefix:"Go to",suffix:""},show:"Display"},numberSpinner:{placeholder:"Please enter the number",range:{begin:"Begin number",end:"End number"}},messageBox:{yes:"Yes",no:"No",ok:"OK",close:"Close",cancel:"Cancel",title:"System Information",errorTitle:"Error Information",prompt:{fontSize:{name:"Font Size",small:"Small",middle:"Middle",big:"Large",large:"Extra Large",huge:"Huge"},tips:{surplus:"You can also input {0} characters",length:"{0} characters have been entered"}},exception:{expand:"Expand",collapse:"Collapse",happend:"Happened Time",detail:"Detail",copy:"Copy Details",copySuccess:"Copy Success.",copyFailed:"Copy Failed.",roger:"OK"}},lookup:{exact:"Exact",placeholder:"Please select",favorites:"Favorites",selected:"Selected Items",okText:"OK",cancelText:"Cancel",allColumns:"All Columns",datalist:"Data Items",mustWriteSomething:"Please enter a keyword to search.",mustChoosAdatarow:"Please select a record.",tipText:"Are these what you are looking for?",cascade:{enable:"Bidirectional Cascading",disable:"Disable Cascading",up:"Upward Cascading",down:"Downward Cascading"},includechildren:"Include Children",favoriteInfo:{addFav:"Collection Success.",cancelFav:"Unfavorite Successfully. ",addFavTitle:"Add to Favorite",cancelFavTitle:"Cancel Favorite"},getAllChilds:"Get All Children",contextMenu:{checkChildNodes:"Check Subordinate Nodes",uncheckChildNodes:"Uncheck Subordinate Nodes",expandall:"Expand All",collapseall:"Collapse All",expandByLayer:"Expand by Level",expand1:"Expand to Level 1",expand2:"Expand to Level 2",expand3:"Expand to Level 3",expand4:"Expand to Level 4",expand5:"Expand to Level 5",expand6:"Expand to Level 6",expand7:"Expand to Level 7",expand8:"Expand to Level 8",expand9:"Expand to Level 9"},quick:{notfind:"Search Content Not Found.",more:"Show More"},configError:"The help display column is not configured. Please check whether the help data source is configured correctly.",selectedInfo:{total:'Selected Items <span style="font-size: 18px;padding: 0 3px;">{0}</span>',clear:"Cancel Selected",remove:"Delete ({0})",confirm:"Are you sure you want to cancel all selected records?"},clearAllConditions:"Clear All Conditions",anyFields:"All"},loading:{message:"Loading ..."},listView:{emptyMessage:"Empty Data"},"input-group":{placeholder:"Enter"},filterConditionEditor:{cancelButton:"Cancel",okButton:"OK",addWhere:"Add",clear:"Clear",moveTop:"Top",moveUp:"Up",moveDown:"Down",moveBottom:"Bottom",leftBrackets:"Left Brackets",field:"Field Name",operator:"Operator",value:"Value",valueType:"Value type",expressType:{value:"Value",express:"Express",frontExpress:"Front Express"},rightBrackets:"Right Brackets",relation:"Relation",relationValue:{and:"And",or:"Or"},designTab:"Design",jsonTab:"JSON",sqlTab:"Sql",title:"Filter Designer",message:"Are you sure you want to clear all current data?",validate:{bracket:"The brackets do not match, please check",relation:"The condition relationship is incomplete, please check",field:"Condition field is not set, please check"}},filterBar:{confirm:"OK",cancel:"Cancel",advancedFilter:"More Conditions",clearAll:"Clear",reset:"Clear",expand:"Expand",fold:"Fold",require:"Please fill in [fields] before filtering"},eventParameter:{title:"Parameter Editor",ok:"confirm",cancel:"cancel",workFlowClass:{title:"Please select a process category"},generalEditor:{field:"field",tabVar:"variable",form:"form components"},jsonEditor:{dialogTitle:"Configurable parameter editor",keyColumnTitle:"parameter",valueColumnTitle:"para