yc-component 0.1.16 → 0.1.17
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/dist/ai-task/style.css +1 -1
- package/dist/image-selector/components/YcImageSelectorDialog.d.ts.map +1 -1
- package/dist/image-selector/components/YcImageSelectorProvider.d.ts.map +1 -1
- package/dist/image-selector/index.d.ts +1 -1
- package/dist/image-selector/index.d.ts.map +1 -1
- package/dist/image-selector/style.css +1 -1
- package/dist/image-selector/types/index.d.ts +9 -0
- package/dist/image-selector/types/index.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/page-window/style.css +1 -1
- package/dist/yc-component.cjs.full.js +21 -21
- package/dist/yc-component.cjs.js +2 -2
- package/dist/yc-component.esm.full.js +3593 -3551
- package/dist/yc-component.esm.js +1000 -958
- package/dist/yc-component.umd.full.js +34 -34
- package/dist/yc-component.umd.full.min.js +1 -1
- package/dist/yc-component.umd.js +3 -3
- package/dist/yc-component.umd.min.js +1 -1
- package/package.json +1 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
"use strict";var Qf=Object.defineProperty;var ed=(e,t,n)=>t in e?Qf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ya=(e,t,n)=>ed(e,typeof t!="symbol"?t+"":t,n);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
2
|
-
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&zd[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};function Kd(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const qd=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Gd=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function
|
|
3
|
-
`)}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[Ea]=this[Ea]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=ur(i);r[a]||(ep(o,i),r[a]=!0)}return _.isArray(t)?t.forEach(s):s(t),this}};ut.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(ut.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});_.freezeMethods(ut);const tp="[REDACTED ****]";function np(e){if(_.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(_.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function rp(e,t){const n=new Set(t.map(s=>String(s).toLowerCase())),r=[],o=s=>{if(s===null||typeof s!="object"||_.isBuffer(s))return s;if(r.indexOf(s)!==-1)return;s instanceof ut&&(s=s.toJSON()),r.push(s);let i;if(_.isArray(s))i=[],s.forEach((a,l)=>{const u=o(a);_.isUndefined(u)||(i[l]=u)});else{if(!_.isPlainObject(s)&&np(s))return r.pop(),s;i=Object.create(null);for(const[a,l]of Object.entries(s)){const u=n.has(a.toLowerCase())?tp:o(l);_.isUndefined(u)||(i[a]=u)}}return r.pop(),i};return o(e)}let ie=class mc extends Error{static from(t,n,r,o,s,i){const a=new mc(t.message,n||t.code,r,o,s);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){const t=this.config,n=t&&_.hasOwnProp(t,"redact")?t.redact:void 0,r=_.isArray(n)&&n.length>0?rp(t,n):_.toJSONObject(t);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:r,code:this.code,status:this.status}}};ie.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ie.ERR_BAD_OPTION="ERR_BAD_OPTION";ie.ECONNABORTED="ECONNABORTED";ie.ETIMEDOUT="ETIMEDOUT";ie.ECONNREFUSED="ECONNREFUSED";ie.ERR_NETWORK="ERR_NETWORK";ie.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ie.ERR_DEPRECATED="ERR_DEPRECATED";ie.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ie.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ie.ERR_CANCELED="ERR_CANCELED";ie.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ie.ERR_INVALID_URL="ERR_INVALID_URL";ie.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const op=null;function Hs(e){return _.isPlainObject(e)||_.isArray(e)}function gc(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function _s(e,t,n){return e?e.concat(t).map(function(o,s){return o=gc(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function sp(e){return _.isArray(e)&&!e.some(Hs)}const ip=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function es(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,C){return!_.isUndefined(C[v])});const r=n.metaTokens,o=n.visitor||f,s=n.dots,i=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,u=a&&_.isSpecCompliantForm(t);if(!_.isFunction(o))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(_.isDate(p))return p.toISOString();if(_.isBoolean(p))return p.toString();if(!u&&_.isBlob(p))throw new ie("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(p)||_.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,v,C){let T=p;if(_.isReactNative(t)&&_.isReactNativeBlob(p))return t.append(_s(C,v,s),c(p)),!1;if(p&&!C&&typeof p=="object"){if(_.endsWith(v,"{}"))v=r?v:v.slice(0,-2),p=JSON.stringify(p);else if(_.isArray(p)&&sp(p)||(_.isFileList(p)||_.endsWith(v,"[]"))&&(T=_.toArray(p)))return v=gc(v),T.forEach(function(Y,N){!(_.isUndefined(Y)||Y===null)&&t.append(i===!0?_s([v],N,s):i===null?v:v+"[]",c(Y))}),!1}return Hs(p)?!0:(t.append(_s(C,v,s),c(p)),!1)}const h=[],g=Object.assign(ip,{defaultVisitor:f,convertValue:c,isVisitable:Hs});function b(p,v,C=0){if(!_.isUndefined(p)){if(C>l)throw new ie("Object is too deeply nested ("+C+" levels). Max depth: "+l,ie.ERR_FORM_DATA_DEPTH_EXCEEDED);if(h.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));h.push(p),_.forEach(p,function(k,Y){(!(_.isUndefined(k)||k===null)&&o.call(t,k,_.isString(Y)?Y.trim():Y,v,g))===!0&&b(k,v?v.concat(Y):[Y],C+1)}),h.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Oa(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function Di(e,t){this._pairs=[],e&&es(e,this,t)}const vc=Di.prototype;vc.append=function(t,n){this._pairs.push([t,n])};vc.toString=function(t){const n=t?function(r){return t.call(this,r,Oa)}:Oa;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function ap(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function _c(e,t,n){if(!t)return e;const r=n&&n.encode||ap,o=_.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let i;if(s?i=s(t,o):i=_.isURLSearchParams(t)?t.toString():new Di(t,o).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Na{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){_.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Pi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},lp=typeof URLSearchParams<"u"?URLSearchParams:Di,cp=typeof FormData<"u"?FormData:null,up=typeof Blob<"u"?Blob:null,fp={isBrowser:!0,classes:{URLSearchParams:lp,FormData:cp,Blob:up},protocols:["http","https","file","blob","url","data"]},$i=typeof window<"u"&&typeof document<"u",zs=typeof navigator=="object"&&navigator||void 0,dp=$i&&(!zs||["ReactNative","NativeScript","NS"].indexOf(zs.product)<0),pp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",hp=$i&&window.location.href||"http://localhost",mp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$i,hasStandardBrowserEnv:dp,hasStandardBrowserWebWorkerEnv:pp,navigator:zs,origin:hp},Symbol.toStringTag,{value:"Module"})),tt={...mp,...fp};function gp(e,t){return es(e,new tt.classes.URLSearchParams,{visitor:function(n,r,o,s){return tt.isNode&&_.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function vp(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _p(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function yc(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&_.isArray(o)?o.length:i,l?(_.hasOwnProp(o,i)?o[i]=_.isArray(o[i])?o[i].concat(r):[o[i],r]:o[i]=r,!a):((!_.hasOwnProp(o,i)||!_.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&_.isArray(o[i])&&(o[i]=_p(o[i])),!a)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(r,o)=>{t(vp(r),o,n,0)}),n}return null}const Un=(e,t)=>e!=null&&_.hasOwnProp(e,t)?e[t]:void 0;function yp(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Jr={transitional:Pi,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=_.isObject(t);if(s&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return o?JSON.stringify(yc(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t)||_.isReadableStream(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){const l=Un(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return gp(t,l).toString();if((a=_.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=Un(this,"env"),c=u&&u.FormData;return es(a?{"files[]":t}:t,c&&new c,l)}}return s||o?(n.setContentType("application/json",!1),yp(t)):t}],transformResponse:[function(t){const n=Un(this,"transitional")||Jr.transitional,r=n&&n.forcedJSONParsing,o=Un(this,"responseType"),s=o==="json";if(_.isResponse(t)||_.isReadableStream(t))return t;if(t&&_.isString(t)&&(r&&!o||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,Un(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?ie.from(l,ie.ERR_BAD_RESPONSE,this,null,Un(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tt.classes.FormData,Blob:tt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch","query"],e=>{Jr.headers[e]={}});function ys(e,t){const n=this||Jr,r=t||n,o=ut.from(r.headers);let s=r.data;return _.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function wc(e){return!!(e&&e.__CANCEL__)}let Xr=class extends ie{constructor(t,n,r){super(t??"canceled",ie.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function bc(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ie("Request failed with status code "+n.status,n.status>=400&&n.status<500?ie.ERR_BAD_REQUEST:ie.ERR_BAD_RESPONSE,n.config,n.request,n))}function wp(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function bp(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];i||(i=u),n[o]=l,r[o]=u;let f=s,h=0;for(;f!==o;)h+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const g=c&&u-c;return g?Math.round(h*1e3/g):void 0}}function Ep(e,t){let n=0,r=1e3/t,o,s;const i=(u,c=Date.now())=>{n=c,o=null,s&&(clearTimeout(s),s=null),e(...u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?i(u,c):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},r-f)))},()=>o&&i(o)]}const Po=(e,t,n=3)=>{let r=0;const o=bp(50,250);return Ep(s=>{if(!s||typeof s.loaded!="number")return;const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=a!=null?Math.min(i,a):i,u=Math.max(0,l-r),c=o(u);r=Math.max(r,l);const f={loaded:l,total:a,progress:a?l/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a?(a-l)/c:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Sa=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},xa=e=>(...t)=>_.asap(()=>e(...t)),Op=tt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,tt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(tt.origin),tt.navigator&&/(msie|trident)/i.test(tt.navigator.userAgent)):()=>!0,Np=tt.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];_.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),_.isString(r)&&a.push(`path=${r}`),_.isString(o)&&a.push(`domain=${o}`),s===!0&&a.push("secure"),_.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),o=r.indexOf("=");if(o!==-1&&r.slice(0,o)===e)return decodeURIComponent(r.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Sp(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function xp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ec(e,t,n){let r=!Sp(t);return e&&(r||n===!1)?xp(e,t):t}const Ca=e=>e instanceof ut?{...e}:e;function Dn(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(u,c,f,h){return _.isPlainObject(u)&&_.isPlainObject(c)?_.merge.call({caseless:h},u,c):_.isPlainObject(c)?_.merge({},c):_.isArray(c)?c.slice():c}function o(u,c,f,h){if(_.isUndefined(c)){if(!_.isUndefined(u))return r(void 0,u,f,h)}else return r(u,c,f,h)}function s(u,c){if(!_.isUndefined(c))return r(void 0,c)}function i(u,c){if(_.isUndefined(c)){if(!_.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(_.hasOwnProp(t,f))return r(u,c);if(_.hasOwnProp(e,f))return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:a,headers:(u,c,f)=>o(Ca(u),Ca(c),f,!0)};return _.forEach(Object.keys({...e,...t}),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=_.hasOwnProp(l,c)?l[c]:o,h=_.hasOwnProp(e,c)?e[c]:void 0,g=_.hasOwnProp(t,c)?t[c]:void 0,b=f(h,g,c);_.isUndefined(b)&&f!==a||(n[c]=b)}),n}const Cp=["content-type","content-length"];function Tp(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach(([r,o])=>{Cp.includes(r.toLowerCase())&&e.set(r,o)})}const Ap=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Oc=e=>{const t=Dn({},e),n=h=>_.hasOwnProp(t,h)?t[h]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),i=n("xsrfCookieName");let a=n("headers");const l=n("auth"),u=n("baseURL"),c=n("allowAbsoluteUrls"),f=n("url");if(t.headers=a=ut.from(a),t.url=_c(Ec(u,f,c),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?Ap(l.password):""))),_.isFormData(r)&&(tt.hasStandardBrowserEnv||tt.hasStandardBrowserWebWorkerEnv?a.setContentType(void 0):_.isFunction(r.getHeaders)&&Tp(a,r.getHeaders(),n("formDataHeaderPolicy"))),tt.hasStandardBrowserEnv&&(_.isFunction(o)&&(o=o(t)),o===!0||o==null&&Op(t.url))){const g=s&&i&&Np.read(i);g&&a.set(s,g)}return t},Dp=typeof XMLHttpRequest<"u",Pp=Dp&&function(e){return new Promise(function(n,r){const o=Oc(e);let s=o.data;const i=ut.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=o,c,f,h,g,b;function p(){g&&g(),b&&b(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(o.method.toUpperCase(),o.url,!0),v.timeout=o.timeout;function C(){if(!v)return;const k=ut.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),N={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:k,config:e,request:v};bc(function($){n($),p()},function($){r($),p()},N),v=null}"onloadend"in v?v.onloadend=C:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:"))||setTimeout(C)},v.onabort=function(){v&&(r(new ie("Request aborted",ie.ECONNABORTED,e,v)),p(),v=null)},v.onerror=function(Y){const N=Y&&Y.message?Y.message:"Network Error",K=new ie(N,ie.ERR_NETWORK,e,v);K.event=Y||null,r(K),p(),v=null},v.ontimeout=function(){let Y=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const N=o.transitional||Pi;o.timeoutErrorMessage&&(Y=o.timeoutErrorMessage),r(new ie(Y,N.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,e,v)),p(),v=null},s===void 0&&i.setContentType(null),"setRequestHeader"in v&&_.forEach(hc(i),function(Y,N){v.setRequestHeader(N,Y)}),_.isUndefined(o.withCredentials)||(v.withCredentials=!!o.withCredentials),a&&a!=="json"&&(v.responseType=o.responseType),u&&([h,b]=Po(u,!0),v.addEventListener("progress",h)),l&&v.upload&&([f,g]=Po(l),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",g)),(o.cancelToken||o.signal)&&(c=k=>{v&&(r(!k||k.type?new Xr(null,e,v):k),v.abort(),p(),v=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const T=wp(o.url);if(T&&!tt.protocols.includes(T)){r(new ie("Unsupported protocol "+T+":",ie.ERR_BAD_REQUEST,e));return}v.send(s||null)})},$p=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(l){if(!r){r=!0,i();const u=l instanceof Error?l:this.reason;n.abort(u instanceof ie?u:new Xr(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{s=null,o(new ie(`timeout of ${t}ms exceeded`,ie.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(o):l.removeEventListener("abort",o)}),e=null)};e.forEach(l=>l.addEventListener("abort",o));const{signal:a}=n;return a.unsubscribe=()=>_.asap(i),a},Ip=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},Mp=async function*(e,t){for await(const n of Vp(e))yield*Ip(n,t)},Vp=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()}},Ta=(e,t,n,r)=>{const o=Mp(e,t);let s=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await o.next();if(u){a(),l.close();return}let f=c.byteLength;if(n){let h=s+=f;n(h)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),o.return()}},{highWaterMark:2})};function Rp(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let i=r.length;const a=r.length;for(let g=0;g<a;g++)if(r.charCodeAt(g)===37&&g+2<a){const b=r.charCodeAt(g+1),p=r.charCodeAt(g+2);(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102)&&(p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102)&&(i-=2,g+=2)}let l=0,u=a-1;const c=g=>g>=2&&r.charCodeAt(g-2)===37&&r.charCodeAt(g-1)===51&&(r.charCodeAt(g)===68||r.charCodeAt(g)===100);u>=0&&(r.charCodeAt(u)===61?(l++,u--):c(u)&&(l++,u-=3)),l===1&&u>=0&&(r.charCodeAt(u)===61||c(u))&&l++;const h=Math.floor(i/4)*3-(l||0);return h>0?h:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(r,"utf8");let s=0;for(let i=0,a=r.length;i<a;i++){const l=r.charCodeAt(i);if(l<128)s+=1;else if(l<2048)s+=2;else if(l>=55296&&l<=56319&&i+1<a){const u=r.charCodeAt(i+1);u>=56320&&u<=57343?(s+=4,i++):s+=3}else s+=3}return s}const Ii="1.16.1",Aa=64*1024,{isFunction:go}=_,Da=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Lp=e=>{const t=_.global!==void 0&&_.global!==null?_.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=_.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:s,Response:i}=e,a=o?go(o):typeof fetch=="function",l=go(s),u=go(i);if(!a)return!1;const c=a&&go(n),f=a&&(typeof r=="function"?(C=>T=>C.encode(T))(new r):async C=>new Uint8Array(await new s(C).arrayBuffer())),h=l&&c&&Da(()=>{let C=!1;const T=new s(tt.origin,{body:new n,method:"POST",get duplex(){return C=!0,"half"}}),k=T.headers.has("Content-Type");return T.body!=null&&T.body.cancel(),C&&!k}),g=u&&c&&Da(()=>_.isReadableStream(new i("").body)),b={stream:g&&(C=>C.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(C=>{!b[C]&&(b[C]=(T,k)=>{let Y=T&&T[C];if(Y)return Y.call(T);throw new ie(`Response type '${C}' is not supported`,ie.ERR_NOT_SUPPORT,k)})});const p=async C=>{if(C==null)return 0;if(_.isBlob(C))return C.size;if(_.isSpecCompliantForm(C))return(await new s(tt.origin,{method:"POST",body:C}).arrayBuffer()).byteLength;if(_.isArrayBufferView(C)||_.isArrayBuffer(C))return C.byteLength;if(_.isURLSearchParams(C)&&(C=C+""),_.isString(C))return(await f(C)).byteLength},v=async(C,T)=>{const k=_.toFiniteNumber(C.getContentLength());return k??p(T)};return async C=>{let{url:T,method:k,data:Y,signal:N,cancelToken:K,timeout:$,onDownloadProgress:ne,onUploadProgress:R,responseType:x,headers:y,withCredentials:A="same-origin",fetchOptions:te,maxContentLength:j,maxBodyLength:I}=Oc(C);const D=_.isNumber(j)&&j>-1,B=_.isNumber(I)&&I>-1;let P=o||fetch;x=x?(x+"").toLowerCase():"text";let X=$p([N,K&&K.toAbortSignal()],$),E=null;const H=X&&X.unsubscribe&&(()=>{X.unsubscribe()});let q;try{if(D&&typeof T=="string"&&T.startsWith("data:")&&Rp(T)>j)throw new ie("maxContentLength size of "+j+" exceeded",ie.ERR_BAD_RESPONSE,C,E);if(B&&k!=="get"&&k!=="head"){const ge=await v(y,Y);if(typeof ge=="number"&&isFinite(ge)&&ge>I)throw new ie("Request body larger than maxBodyLength limit",ie.ERR_BAD_REQUEST,C,E)}if(R&&h&&k!=="get"&&k!=="head"&&(q=await v(y,Y))!==0){let ge=new s(T,{method:"POST",body:Y,duplex:"half"}),Be;if(_.isFormData(Y)&&(Be=ge.headers.get("content-type"))&&y.setContentType(Be),ge.body){const[Me,ke]=Sa(q,Po(xa(R)));Y=Ta(ge.body,Aa,Me,ke)}}_.isString(A)||(A=A?"include":"omit");const re=l&&"credentials"in s.prototype;if(_.isFormData(Y)){const ge=y.getContentType();ge&&/^multipart\/form-data/i.test(ge)&&!/boundary=/i.test(ge)&&y.delete("content-type")}y.set("User-Agent","axios/"+Ii,!1);const we={...te,signal:X,method:k.toUpperCase(),headers:hc(y.normalize()),body:Y,duplex:"half",credentials:re?A:void 0};E=l&&new s(T,we);let me=await(l?P(E,te):P(T,we));if(D){const ge=_.toFiniteNumber(me.headers.get("content-length"));if(ge!=null&&ge>j)throw new ie("maxContentLength size of "+j+" exceeded",ie.ERR_BAD_RESPONSE,C,E)}const Qe=g&&(x==="stream"||x==="response");if(g&&me.body&&(ne||D||Qe&&H)){const ge={};["status","statusText","headers"].forEach(m=>{ge[m]=me[m]});const Be=_.toFiniteNumber(me.headers.get("content-length")),[Me,ke]=ne&&Sa(Be,Po(xa(ne),!0))||[];let gt=0;const d=m=>{if(D&&(gt=m,gt>j))throw new ie("maxContentLength size of "+j+" exceeded",ie.ERR_BAD_RESPONSE,C,E);Me&&Me(m)};me=new i(Ta(me.body,Aa,d,()=>{ke&&ke(),H&&H()}),ge)}x=x||"text";let Pe=await b[_.findKey(b,x)||"text"](me,C);if(D&&!g&&!Qe){let ge;if(Pe!=null&&(typeof Pe.byteLength=="number"?ge=Pe.byteLength:typeof Pe.size=="number"?ge=Pe.size:typeof Pe=="string"&&(ge=typeof r=="function"?new r().encode(Pe).byteLength:Pe.length)),typeof ge=="number"&&ge>j)throw new ie("maxContentLength size of "+j+" exceeded",ie.ERR_BAD_RESPONSE,C,E)}return!Qe&&H&&H(),await new Promise((ge,Be)=>{bc(ge,Be,{data:Pe,headers:ut.from(me.headers),status:me.status,statusText:me.statusText,config:C,request:E})})}catch(re){if(H&&H(),X&&X.aborted&&X.reason instanceof ie){const we=X.reason;throw we.config=C,E&&(we.request=E),re!==we&&(we.cause=re),we}throw re&&re.name==="TypeError"&&/Load failed|fetch/i.test(re.message)?Object.assign(new ie("Network Error",ie.ERR_NETWORK,C,E,re&&re.response),{cause:re.cause||re}):ie.from(re,re&&re.code,C,E,re&&re.response)}}},Fp=new Map,Nc=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let i=s.length,a=i,l,u,c=Fp;for(;a--;)l=s[a],u=c.get(l),u===void 0&&c.set(l,u=a?new Map:Lp(t)),c=u;return u};Nc();const Mi={http:op,xhr:Pp,fetch:{get:Nc}};_.forEach(Mi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Pa=e=>`- ${e}`,kp=e=>_.isFunction(e)||e===null||e===!1;function jp(e,t){e=_.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let i=0;i<n;i++){r=e[i];let a;if(o=r,!kp(r)&&(o=Mi[(a=String(r)).toLowerCase()],o===void 0))throw new ie(`Unknown adapter '${a}'`);if(o&&(_.isFunction(o)||(o=o.get(t))))break;s[a||"#"+i]=o}if(!o){const i=Object.entries(s).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=n?i.length>1?`since :
|
|
1
|
+
"use strict";var Qf=Object.defineProperty;var ed=(e,t,n)=>t in e?Qf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ya=(e,t,n)=>ed(e,typeof t!="symbol"?t+"":t,n);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Ai={projectId:"default-project",storageKey:"yc-ai-task-queue-v1"};let Vr={...Ai};function oc(e){Vr={...Vr,...e}}function Di(){return Vr}function td(){return Vr.projectId??Ai.projectId}function sc(){return Vr.storageKey??Ai.storageKey}function ic(e,t){return function(){return e.apply(t,arguments)}}const{toString:nd}=Object.prototype,{getPrototypeOf:Zo}=Object,{iterator:Qo,toStringTag:ac}=Symbol,es=(e=>t=>{const n=nd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ft=e=>(e=e.toLowerCase(),t=>es(t)===e),ts=e=>t=>typeof t===e,{isArray:ir}=Array,tr=ts("undefined");function Gr(e){return e!==null&&!tr(e)&&e.constructor!==null&&!tr(e.constructor)&&dt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const lc=Ft("ArrayBuffer");function rd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&lc(e.buffer),t}const od=ts("string"),dt=ts("function"),cc=ts("number"),Yr=e=>e!==null&&typeof e=="object",sd=e=>e===!0||e===!1,No=e=>{if(es(e)!=="object")return!1;const t=Zo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(ac in e)&&!(Qo in e)},id=e=>{if(!Yr(e)||Gr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},ad=Ft("Date"),ld=Ft("File"),cd=e=>!!(e&&typeof e.uri<"u"),ud=e=>e&&typeof e.getParts<"u",fd=Ft("Blob"),dd=Ft("FileList"),pd=e=>Yr(e)&&dt(e.pipe);function hd(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const wa=hd(),ba=typeof wa.FormData<"u"?wa.FormData:void 0,md=e=>{if(!e)return!1;if(ba&&e instanceof ba)return!0;const t=Zo(e);if(!t||t===Object.prototype||!dt(e.append))return!1;const n=es(e);return n==="formdata"||n==="object"&&dt(e.toString)&&e.toString()==="[object FormData]"},gd=Ft("URLSearchParams"),[vd,_d,yd,wd]=["ReadableStream","Request","Response","Headers"].map(Ft),bd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Jr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),ir(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Gr(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function uc(e,t){if(Gr(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 Nn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,fc=e=>!tr(e)&&e!==Nn;function Hs(...e){const{caseless:t,skipUndefined:n}=fc(this)&&this||{},r={},o=(s,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const a=t&&uc(r,i)||i,l=zs(r,a)?r[a]:void 0;No(l)&&No(s)?r[a]=Hs(l,s):No(s)?r[a]=Hs({},s):ir(s)?r[a]=s.slice():(!n||!tr(s))&&(r[a]=s)};for(let s=0,i=e.length;s<i;s++)e[s]&&Jr(e[s],o);return r}const Ed=(e,t,n,{allOwnKeys:r}={})=>(Jr(t,(o,s)=>{n&&dt(o)?Object.defineProperty(e,s,{__proto__:null,value:ic(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),Od=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Nd=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},xd=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Zo(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Sd=(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},Cd=e=>{if(!e)return null;if(ir(e))return e;let t=e.length;if(!cc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Td=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Zo(Uint8Array)),Ad=(e,t)=>{const r=(e&&e[Qo]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},Dd=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Pd=Ft("HTMLFormElement"),$d=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),zs=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Id=Ft("RegExp"),dc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Jr(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},Md=e=>{dc(e,(t,n)=>{if(dt(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(dt(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+"'")})}})},Vd=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return ir(e)?r(e):r(String(e).split(t)),n},Rd=()=>{},Ld=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Fd(e){return!!(e&&dt(e.append)&&e[ac]==="FormData"&&e[Qo])}const kd=e=>{const t=new WeakSet,n=r=>{if(Yr(r)){if(t.has(r))return;if(Gr(r))return r;if(!("toJSON"in r)){t.add(r);const o=ir(r)?[]:{};return Jr(r,(s,i)=>{const a=n(s);!tr(a)&&(o[i]=a)}),t.delete(r),o}}return r};return n(e)},jd=Ft("AsyncFunction"),Bd=e=>e&&(Yr(e)||dt(e))&&dt(e.then)&&dt(e.catch),pc=((e,t)=>e?setImmediate:t?((n,r)=>(Nn.addEventListener("message",({source:o,data:s})=>{o===Nn&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Nn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",dt(Nn.postMessage)),Ud=typeof queueMicrotask<"u"?queueMicrotask.bind(Nn):typeof process<"u"&&process.nextTick||pc,Hd=e=>e!=null&&dt(e[Qo]),_={isArray:ir,isArrayBuffer:lc,isBuffer:Gr,isFormData:md,isArrayBufferView:rd,isString:od,isNumber:cc,isBoolean:sd,isObject:Yr,isPlainObject:No,isEmptyObject:id,isReadableStream:vd,isRequest:_d,isResponse:yd,isHeaders:wd,isUndefined:tr,isDate:ad,isFile:ld,isReactNativeBlob:cd,isReactNative:ud,isBlob:fd,isRegExp:Id,isFunction:dt,isStream:pd,isURLSearchParams:gd,isTypedArray:Td,isFileList:dd,forEach:Jr,merge:Hs,extend:Ed,trim:bd,stripBOM:Od,inherits:Nd,toFlatObject:xd,kindOf:es,kindOfTest:Ft,endsWith:Sd,toArray:Cd,forEachEntry:Ad,matchAll:Dd,isHTMLForm:Pd,hasOwnProperty:zs,hasOwnProp:zs,reduceDescriptors:dc,freezeMethods:Md,toObjectSet:Vd,toCamelCase:$d,noop:Rd,toFiniteNumber:Ld,findKey:uc,global:Nn,isContextDefined:fc,isSpecCompliantForm:Fd,toJSONObject:kd,isAsyncFn:jd,isThenable:Bd,setImmediate:pc,asap:Ud,isIterable:Hd},zd=_.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"]),Wd=e=>{const t={};let n,r,o;return e&&e.split(`
|
|
2
|
+
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&zd[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};function Kd(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const qd=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Gd=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Pi(e,t){return _.isArray(e)?e.map(n=>Pi(n,t)):Kd(String(e).replace(t,""))}const Yd=e=>Pi(e,qd),Jd=e=>Pi(e,Gd);function hc(e){const t=Object.create(null);return _.forEach(e.toJSON(),(n,r)=>{t[r]=Jd(n)}),t}const Ea=Symbol("internals");function fr(e){return e&&String(e).trim().toLowerCase()}function xo(e){return e===!1||e==null?e:_.isArray(e)?e.map(xo):Yd(String(e))}function Xd(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 Zd=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ys(e,t,n,r,o){if(_.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!_.isString(t)){if(_.isString(r))return t.indexOf(r)!==-1;if(_.isRegExp(r))return r.test(t)}}function Qd(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ep(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}let ut=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const c=fr(l);if(!c)throw new Error("header name must be a non-empty string");const f=_.findKey(o,c);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||l]=xo(a))}const i=(a,l)=>_.forEach(a,(u,c)=>s(u,c,l));if(_.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(_.isString(t)&&(t=t.trim())&&!Zd(t))i(Wd(t),n);else if(_.isObject(t)&&_.isIterable(t)){let a={},l,u;for(const c of t){if(!_.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[u=c[0]]=(l=a[u])?_.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}i(a,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=fr(t),t){const r=_.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Xd(o);if(_.isFunction(n))return n.call(this,o,r);if(_.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=fr(t),t){const r=_.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ys(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=fr(i),i){const a=_.findKey(r,i);a&&(!n||ys(r,r[a],a,n))&&(delete r[a],o=!0)}}return _.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||ys(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return _.forEach(this,(o,s)=>{const i=_.findKey(r,s);if(i){n[i]=xo(o),delete n[s];return}const a=t?Qd(s):String(s).trim();a!==s&&delete n[s],n[a]=xo(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&_.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(`
|
|
3
|
+
`)}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[Ea]=this[Ea]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=fr(i);r[a]||(ep(o,i),r[a]=!0)}return _.isArray(t)?t.forEach(s):s(t),this}};ut.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(ut.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});_.freezeMethods(ut);const tp="[REDACTED ****]";function np(e){if(_.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(_.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function rp(e,t){const n=new Set(t.map(s=>String(s).toLowerCase())),r=[],o=s=>{if(s===null||typeof s!="object"||_.isBuffer(s))return s;if(r.indexOf(s)!==-1)return;s instanceof ut&&(s=s.toJSON()),r.push(s);let i;if(_.isArray(s))i=[],s.forEach((a,l)=>{const u=o(a);_.isUndefined(u)||(i[l]=u)});else{if(!_.isPlainObject(s)&&np(s))return r.pop(),s;i=Object.create(null);for(const[a,l]of Object.entries(s)){const u=n.has(a.toLowerCase())?tp:o(l);_.isUndefined(u)||(i[a]=u)}}return r.pop(),i};return o(e)}let ae=class mc extends Error{static from(t,n,r,o,s,i){const a=new mc(t.message,n||t.code,r,o,s);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){const t=this.config,n=t&&_.hasOwnProp(t,"redact")?t.redact:void 0,r=_.isArray(n)&&n.length>0?rp(t,n):_.toJSONObject(t);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:r,code:this.code,status:this.status}}};ae.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ae.ERR_BAD_OPTION="ERR_BAD_OPTION";ae.ECONNABORTED="ECONNABORTED";ae.ETIMEDOUT="ETIMEDOUT";ae.ECONNREFUSED="ECONNREFUSED";ae.ERR_NETWORK="ERR_NETWORK";ae.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ae.ERR_DEPRECATED="ERR_DEPRECATED";ae.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ae.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ae.ERR_CANCELED="ERR_CANCELED";ae.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ae.ERR_INVALID_URL="ERR_INVALID_URL";ae.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const op=null;function Ws(e){return _.isPlainObject(e)||_.isArray(e)}function gc(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function ws(e,t,n){return e?e.concat(t).map(function(o,s){return o=gc(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function sp(e){return _.isArray(e)&&!e.some(Ws)}const ip=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function ns(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,S){return!_.isUndefined(S[v])});const r=n.metaTokens,o=n.visitor||f,s=n.dots,i=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,u=a&&_.isSpecCompliantForm(t);if(!_.isFunction(o))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(_.isDate(p))return p.toISOString();if(_.isBoolean(p))return p.toString();if(!u&&_.isBlob(p))throw new ae("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(p)||_.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,v,S){let T=p;if(_.isReactNative(t)&&_.isReactNativeBlob(p))return t.append(ws(S,v,s),c(p)),!1;if(p&&!S&&typeof p=="object"){if(_.endsWith(v,"{}"))v=r?v:v.slice(0,-2),p=JSON.stringify(p);else if(_.isArray(p)&&sp(p)||(_.isFileList(p)||_.endsWith(v,"[]"))&&(T=_.toArray(p)))return v=gc(v),T.forEach(function(J,E){!(_.isUndefined(J)||J===null)&&t.append(i===!0?ws([v],E,s):i===null?v:v+"[]",c(J))}),!1}return Ws(p)?!0:(t.append(ws(S,v,s),c(p)),!1)}const h=[],g=Object.assign(ip,{defaultVisitor:f,convertValue:c,isVisitable:Ws});function y(p,v,S=0){if(!_.isUndefined(p)){if(S>l)throw new ae("Object is too deeply nested ("+S+" levels). Max depth: "+l,ae.ERR_FORM_DATA_DEPTH_EXCEEDED);if(h.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));h.push(p),_.forEach(p,function(V,J){(!(_.isUndefined(V)||V===null)&&o.call(t,V,_.isString(J)?J.trim():J,v,g))===!0&&y(V,v?v.concat(J):[J],S+1)}),h.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return y(e),t}function Oa(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function $i(e,t){this._pairs=[],e&&ns(e,this,t)}const vc=$i.prototype;vc.append=function(t,n){this._pairs.push([t,n])};vc.toString=function(t){const n=t?function(r){return t.call(this,r,Oa)}:Oa;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function ap(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function _c(e,t,n){if(!t)return e;const r=n&&n.encode||ap,o=_.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let i;if(s?i=s(t,o):i=_.isURLSearchParams(t)?t.toString():new $i(t,o).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Na{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){_.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ii={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},lp=typeof URLSearchParams<"u"?URLSearchParams:$i,cp=typeof FormData<"u"?FormData:null,up=typeof Blob<"u"?Blob:null,fp={isBrowser:!0,classes:{URLSearchParams:lp,FormData:cp,Blob:up},protocols:["http","https","file","blob","url","data"]},Mi=typeof window<"u"&&typeof document<"u",Ks=typeof navigator=="object"&&navigator||void 0,dp=Mi&&(!Ks||["ReactNative","NativeScript","NS"].indexOf(Ks.product)<0),pp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",hp=Mi&&window.location.href||"http://localhost",mp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Mi,hasStandardBrowserEnv:dp,hasStandardBrowserWebWorkerEnv:pp,navigator:Ks,origin:hp},Symbol.toStringTag,{value:"Module"})),tt={...mp,...fp};function gp(e,t){return ns(e,new tt.classes.URLSearchParams,{visitor:function(n,r,o,s){return tt.isNode&&_.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function vp(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _p(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function yc(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&_.isArray(o)?o.length:i,l?(_.hasOwnProp(o,i)?o[i]=_.isArray(o[i])?o[i].concat(r):[o[i],r]:o[i]=r,!a):((!_.hasOwnProp(o,i)||!_.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&_.isArray(o[i])&&(o[i]=_p(o[i])),!a)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(r,o)=>{t(vp(r),o,n,0)}),n}return null}const Hn=(e,t)=>e!=null&&_.hasOwnProp(e,t)?e[t]:void 0;function yp(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Xr={transitional:Ii,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=_.isObject(t);if(s&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return o?JSON.stringify(yc(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t)||_.isReadableStream(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){const l=Hn(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return gp(t,l).toString();if((a=_.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=Hn(this,"env"),c=u&&u.FormData;return ns(a?{"files[]":t}:t,c&&new c,l)}}return s||o?(n.setContentType("application/json",!1),yp(t)):t}],transformResponse:[function(t){const n=Hn(this,"transitional")||Xr.transitional,r=n&&n.forcedJSONParsing,o=Hn(this,"responseType"),s=o==="json";if(_.isResponse(t)||_.isReadableStream(t))return t;if(t&&_.isString(t)&&(r&&!o||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,Hn(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?ae.from(l,ae.ERR_BAD_RESPONSE,this,null,Hn(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tt.classes.FormData,Blob:tt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch","query"],e=>{Xr.headers[e]={}});function bs(e,t){const n=this||Xr,r=t||n,o=ut.from(r.headers);let s=r.data;return _.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function wc(e){return!!(e&&e.__CANCEL__)}let Zr=class extends ae{constructor(t,n,r){super(t??"canceled",ae.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function bc(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ae("Request failed with status code "+n.status,n.status>=400&&n.status<500?ae.ERR_BAD_REQUEST:ae.ERR_BAD_RESPONSE,n.config,n.request,n))}function wp(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function bp(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];i||(i=u),n[o]=l,r[o]=u;let f=s,h=0;for(;f!==o;)h+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const g=c&&u-c;return g?Math.round(h*1e3/g):void 0}}function Ep(e,t){let n=0,r=1e3/t,o,s;const i=(u,c=Date.now())=>{n=c,o=null,s&&(clearTimeout(s),s=null),e(...u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?i(u,c):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},r-f)))},()=>o&&i(o)]}const Io=(e,t,n=3)=>{let r=0;const o=bp(50,250);return Ep(s=>{if(!s||typeof s.loaded!="number")return;const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=a!=null?Math.min(i,a):i,u=Math.max(0,l-r),c=o(u);r=Math.max(r,l);const f={loaded:l,total:a,progress:a?l/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a?(a-l)/c:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},xa=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Sa=e=>(...t)=>_.asap(()=>e(...t)),Op=tt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,tt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(tt.origin),tt.navigator&&/(msie|trident)/i.test(tt.navigator.userAgent)):()=>!0,Np=tt.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];_.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),_.isString(r)&&a.push(`path=${r}`),_.isString(o)&&a.push(`domain=${o}`),s===!0&&a.push("secure"),_.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),o=r.indexOf("=");if(o!==-1&&r.slice(0,o)===e)return decodeURIComponent(r.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function xp(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ec(e,t,n){let r=!xp(t);return e&&(r||n===!1)?Sp(e,t):t}const Ca=e=>e instanceof ut?{...e}:e;function Pn(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(u,c,f,h){return _.isPlainObject(u)&&_.isPlainObject(c)?_.merge.call({caseless:h},u,c):_.isPlainObject(c)?_.merge({},c):_.isArray(c)?c.slice():c}function o(u,c,f,h){if(_.isUndefined(c)){if(!_.isUndefined(u))return r(void 0,u,f,h)}else return r(u,c,f,h)}function s(u,c){if(!_.isUndefined(c))return r(void 0,c)}function i(u,c){if(_.isUndefined(c)){if(!_.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(_.hasOwnProp(t,f))return r(u,c);if(_.hasOwnProp(e,f))return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:a,headers:(u,c,f)=>o(Ca(u),Ca(c),f,!0)};return _.forEach(Object.keys({...e,...t}),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=_.hasOwnProp(l,c)?l[c]:o,h=_.hasOwnProp(e,c)?e[c]:void 0,g=_.hasOwnProp(t,c)?t[c]:void 0,y=f(h,g,c);_.isUndefined(y)&&f!==a||(n[c]=y)}),n}const Cp=["content-type","content-length"];function Tp(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach(([r,o])=>{Cp.includes(r.toLowerCase())&&e.set(r,o)})}const Ap=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Oc=e=>{const t=Pn({},e),n=h=>_.hasOwnProp(t,h)?t[h]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),i=n("xsrfCookieName");let a=n("headers");const l=n("auth"),u=n("baseURL"),c=n("allowAbsoluteUrls"),f=n("url");if(t.headers=a=ut.from(a),t.url=_c(Ec(u,f,c),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?Ap(l.password):""))),_.isFormData(r)&&(tt.hasStandardBrowserEnv||tt.hasStandardBrowserWebWorkerEnv?a.setContentType(void 0):_.isFunction(r.getHeaders)&&Tp(a,r.getHeaders(),n("formDataHeaderPolicy"))),tt.hasStandardBrowserEnv&&(_.isFunction(o)&&(o=o(t)),o===!0||o==null&&Op(t.url))){const g=s&&i&&Np.read(i);g&&a.set(s,g)}return t},Dp=typeof XMLHttpRequest<"u",Pp=Dp&&function(e){return new Promise(function(n,r){const o=Oc(e);let s=o.data;const i=ut.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=o,c,f,h,g,y;function p(){g&&g(),y&&y(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(o.method.toUpperCase(),o.url,!0),v.timeout=o.timeout;function S(){if(!v)return;const V=ut.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),E={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:V,config:e,request:v};bc(function(P){n(P),p()},function(P){r(P),p()},E),v=null}"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:"))||setTimeout(S)},v.onabort=function(){v&&(r(new ae("Request aborted",ae.ECONNABORTED,e,v)),p(),v=null)},v.onerror=function(J){const E=J&&J.message?J.message:"Network Error",q=new ae(E,ae.ERR_NETWORK,e,v);q.event=J||null,r(q),p(),v=null},v.ontimeout=function(){let J=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const E=o.transitional||Ii;o.timeoutErrorMessage&&(J=o.timeoutErrorMessage),r(new ae(J,E.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,v)),p(),v=null},s===void 0&&i.setContentType(null),"setRequestHeader"in v&&_.forEach(hc(i),function(J,E){v.setRequestHeader(E,J)}),_.isUndefined(o.withCredentials)||(v.withCredentials=!!o.withCredentials),a&&a!=="json"&&(v.responseType=o.responseType),u&&([h,y]=Io(u,!0),v.addEventListener("progress",h)),l&&v.upload&&([f,g]=Io(l),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",g)),(o.cancelToken||o.signal)&&(c=V=>{v&&(r(!V||V.type?new Zr(null,e,v):V),v.abort(),p(),v=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const T=wp(o.url);if(T&&!tt.protocols.includes(T)){r(new ae("Unsupported protocol "+T+":",ae.ERR_BAD_REQUEST,e));return}v.send(s||null)})},$p=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(l){if(!r){r=!0,i();const u=l instanceof Error?l:this.reason;n.abort(u instanceof ae?u:new Zr(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{s=null,o(new ae(`timeout of ${t}ms exceeded`,ae.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(o):l.removeEventListener("abort",o)}),e=null)};e.forEach(l=>l.addEventListener("abort",o));const{signal:a}=n;return a.unsubscribe=()=>_.asap(i),a},Ip=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},Mp=async function*(e,t){for await(const n of Vp(e))yield*Ip(n,t)},Vp=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()}},Ta=(e,t,n,r)=>{const o=Mp(e,t);let s=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await o.next();if(u){a(),l.close();return}let f=c.byteLength;if(n){let h=s+=f;n(h)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),o.return()}},{highWaterMark:2})};function Rp(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let i=r.length;const a=r.length;for(let g=0;g<a;g++)if(r.charCodeAt(g)===37&&g+2<a){const y=r.charCodeAt(g+1),p=r.charCodeAt(g+2);(y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102)&&(p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102)&&(i-=2,g+=2)}let l=0,u=a-1;const c=g=>g>=2&&r.charCodeAt(g-2)===37&&r.charCodeAt(g-1)===51&&(r.charCodeAt(g)===68||r.charCodeAt(g)===100);u>=0&&(r.charCodeAt(u)===61?(l++,u--):c(u)&&(l++,u-=3)),l===1&&u>=0&&(r.charCodeAt(u)===61||c(u))&&l++;const h=Math.floor(i/4)*3-(l||0);return h>0?h:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(r,"utf8");let s=0;for(let i=0,a=r.length;i<a;i++){const l=r.charCodeAt(i);if(l<128)s+=1;else if(l<2048)s+=2;else if(l>=55296&&l<=56319&&i+1<a){const u=r.charCodeAt(i+1);u>=56320&&u<=57343?(s+=4,i++):s+=3}else s+=3}return s}const Vi="1.16.1",Aa=64*1024,{isFunction:_o}=_,Da=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Lp=e=>{const t=_.global!==void 0&&_.global!==null?_.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=_.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:s,Response:i}=e,a=o?_o(o):typeof fetch=="function",l=_o(s),u=_o(i);if(!a)return!1;const c=a&&_o(n),f=a&&(typeof r=="function"?(S=>T=>S.encode(T))(new r):async S=>new Uint8Array(await new s(S).arrayBuffer())),h=l&&c&&Da(()=>{let S=!1;const T=new s(tt.origin,{body:new n,method:"POST",get duplex(){return S=!0,"half"}}),V=T.headers.has("Content-Type");return T.body!=null&&T.body.cancel(),S&&!V}),g=u&&c&&Da(()=>_.isReadableStream(new i("").body)),y={stream:g&&(S=>S.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!y[S]&&(y[S]=(T,V)=>{let J=T&&T[S];if(J)return J.call(T);throw new ae(`Response type '${S}' is not supported`,ae.ERR_NOT_SUPPORT,V)})});const p=async S=>{if(S==null)return 0;if(_.isBlob(S))return S.size;if(_.isSpecCompliantForm(S))return(await new s(tt.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(_.isArrayBufferView(S)||_.isArrayBuffer(S))return S.byteLength;if(_.isURLSearchParams(S)&&(S=S+""),_.isString(S))return(await f(S)).byteLength},v=async(S,T)=>{const V=_.toFiniteNumber(S.getContentLength());return V??p(T)};return async S=>{let{url:T,method:V,data:J,signal:E,cancelToken:q,timeout:P,onDownloadProgress:ne,onUploadProgress:F,responseType:O,headers:w,withCredentials:N="same-origin",fetchOptions:ee,maxContentLength:H,maxBodyLength:$}=Oc(S);const R=_.isNumber(H)&&H>-1,M=_.isNumber($)&&$>-1;let A=o||fetch;O=O?(O+"").toLowerCase():"text";let X=$p([E,q&&q.toAbortSignal()],P),b=null;const U=X&&X.unsubscribe&&(()=>{X.unsubscribe()});let G;try{if(R&&typeof T=="string"&&T.startsWith("data:")&&Rp(T)>H)throw new ae("maxContentLength size of "+H+" exceeded",ae.ERR_BAD_RESPONSE,S,b);if(M&&V!=="get"&&V!=="head"){const me=await v(w,J);if(typeof me=="number"&&isFinite(me)&&me>$)throw new ae("Request body larger than maxBodyLength limit",ae.ERR_BAD_REQUEST,S,b)}if(F&&h&&V!=="get"&&V!=="head"&&(G=await v(w,J))!==0){let me=new s(T,{method:"POST",body:J,duplex:"half"}),Re;if(_.isFormData(J)&&(Re=me.headers.get("content-type"))&&w.setContentType(Re),me.body){const[Ie,ke]=xa(G,Io(Sa(F)));J=Ta(me.body,Aa,Ie,ke)}}_.isString(N)||(N=N?"include":"omit");const re=l&&"credentials"in s.prototype;if(_.isFormData(J)){const me=w.getContentType();me&&/^multipart\/form-data/i.test(me)&&!/boundary=/i.test(me)&&w.delete("content-type")}w.set("User-Agent","axios/"+Vi,!1);const Ee={...ee,signal:X,method:V.toUpperCase(),headers:hc(w.normalize()),body:J,duplex:"half",credentials:re?N:void 0};b=l&&new s(T,Ee);let xe=await(l?A(b,ee):A(T,Ee));if(R){const me=_.toFiniteNumber(xe.headers.get("content-length"));if(me!=null&&me>H)throw new ae("maxContentLength size of "+H+" exceeded",ae.ERR_BAD_RESPONSE,S,b)}const ft=g&&(O==="stream"||O==="response");if(g&&xe.body&&(ne||R||ft&&U)){const me={};["status","statusText","headers"].forEach(m=>{me[m]=xe[m]});const Re=_.toFiniteNumber(xe.headers.get("content-length")),[Ie,ke]=ne&&xa(Re,Io(Sa(ne),!0))||[];let Ct=0;const d=m=>{if(R&&(Ct=m,Ct>H))throw new ae("maxContentLength size of "+H+" exceeded",ae.ERR_BAD_RESPONSE,S,b);Ie&&Ie(m)};xe=new i(Ta(xe.body,Aa,d,()=>{ke&&ke(),U&&U()}),me)}O=O||"text";let $e=await y[_.findKey(y,O)||"text"](xe,S);if(R&&!g&&!ft){let me;if($e!=null&&(typeof $e.byteLength=="number"?me=$e.byteLength:typeof $e.size=="number"?me=$e.size:typeof $e=="string"&&(me=typeof r=="function"?new r().encode($e).byteLength:$e.length)),typeof me=="number"&&me>H)throw new ae("maxContentLength size of "+H+" exceeded",ae.ERR_BAD_RESPONSE,S,b)}return!ft&&U&&U(),await new Promise((me,Re)=>{bc(me,Re,{data:$e,headers:ut.from(xe.headers),status:xe.status,statusText:xe.statusText,config:S,request:b})})}catch(re){if(U&&U(),X&&X.aborted&&X.reason instanceof ae){const Ee=X.reason;throw Ee.config=S,b&&(Ee.request=b),re!==Ee&&(Ee.cause=re),Ee}throw re&&re.name==="TypeError"&&/Load failed|fetch/i.test(re.message)?Object.assign(new ae("Network Error",ae.ERR_NETWORK,S,b,re&&re.response),{cause:re.cause||re}):ae.from(re,re&&re.code,S,b,re&&re.response)}}},Fp=new Map,Nc=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let i=s.length,a=i,l,u,c=Fp;for(;a--;)l=s[a],u=c.get(l),u===void 0&&c.set(l,u=a?new Map:Lp(t)),c=u;return u};Nc();const Ri={http:op,xhr:Pp,fetch:{get:Nc}};_.forEach(Ri,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Pa=e=>`- ${e}`,kp=e=>_.isFunction(e)||e===null||e===!1;function jp(e,t){e=_.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let i=0;i<n;i++){r=e[i];let a;if(o=r,!kp(r)&&(o=Ri[(a=String(r)).toLowerCase()],o===void 0))throw new ae(`Unknown adapter '${a}'`);if(o&&(_.isFunction(o)||(o=o.get(t))))break;s[a||"#"+i]=o}if(!o){const i=Object.entries(s).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=n?i.length>1?`since :
|
|
4
4
|
`+i.map(Pa).join(`
|
|
5
|
-
`):" "+Pa(i[0]):"as no adapter specified";throw new
|
|
5
|
+
`):" "+Pa(i[0]):"as no adapter specified";throw new ae("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const xc={getAdapter:jp,adapters:Ri};function Es(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Zr(null,e)}function $a(e){return Es(e),e.headers=ut.from(e.headers),e.data=bs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),xc.getAdapter(e.adapter||Xr.adapter,e)(e).then(function(r){Es(e),e.response=r;try{r.data=bs.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=ut.from(r.headers),r},function(r){if(!wc(r)&&(Es(e),r&&r.response)){e.response=r.response;try{r.response.data=bs.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=ut.from(r.response.headers)}return Promise.reject(r)})}const rs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{rs[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ia={};rs.transitional=function(t,n,r){function o(s,i){return"[Axios v"+Vi+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new ae(o(i," has been removed"+(n?" in "+n:"")),ae.ERR_DEPRECATED);return n&&!Ia[i]&&(Ia[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};rs.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Bp(e,t,n){if(typeof e!="object")throw new ae("options must be an object",ae.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new ae("option "+s+" must be "+l,ae.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ae("Unknown option "+s,ae.ERR_BAD_OPTION)}}const So={assertOptions:Bp,validators:rs},yt=So.validators;let xn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Na,response:new Na}}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 s=(()=>{if(!o.stack)return"";const i=o.stack.indexOf(`
|
|
6
6
|
`);return i===-1?"":o.stack.slice(i+1)})();try{if(!r.stack)r.stack=s;else if(s){const i=s.indexOf(`
|
|
7
7
|
`),a=i===-1?-1:s.indexOf(`
|
|
8
8
|
`,i+1),l=a===-1?"":s.slice(a+1);String(r.stack).endsWith(l)||(r.stack+=`
|
|
9
|
-
`+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=
|
|
9
|
+
`+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pn(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&So.assertOptions(r,{silentJSONParsing:yt.transitional(yt.boolean),forcedJSONParsing:yt.transitional(yt.boolean),clarifyTimeoutError:yt.transitional(yt.boolean),legacyInterceptorReqResOrdering:yt.transitional(yt.boolean)},!1),o!=null&&(_.isFunction(o)?n.paramsSerializer={serialize:o}:So.assertOptions(o,{encode:yt.function,serialize:yt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),So.assertOptions(n,{baseUrl:yt.spelling("baseURL"),withXsrfToken:yt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&_.merge(s.common,s[n.method]);s&&_.forEach(["delete","get","head","post","put","patch","query","common"],y=>{delete s[y]}),n.headers=ut.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(p){if(typeof p.runWhen=="function"&&p.runWhen(n)===!1)return;l=l&&p.synchronous;const v=n.transitional||Ii;v&&v.legacyInterceptorReqResOrdering?a.unshift(p.fulfilled,p.rejected):a.push(p.fulfilled,p.rejected)});const u=[];this.interceptors.response.forEach(function(p){u.push(p.fulfilled,p.rejected)});let c,f=0,h;if(!l){const y=[$a.bind(this),void 0];for(y.unshift(...a),y.push(...u),h=y.length,c=Promise.resolve(n);f<h;)c=c.then(y[f++],y[f++]);return c}h=a.length;let g=n;for(;f<h;){const y=a[f++],p=a[f++];try{g=y(g)}catch(v){p.call(this,v);break}}try{c=$a.call(this,g)}catch(y){return Promise.reject(y)}for(f=0,h=u.length;f<h;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=Pn(this.defaults,t);const n=Ec(t.baseURL,t.url,t.allowAbsoluteUrls);return _c(n,t.params,t.paramsSerializer)}};_.forEach(["delete","get","head","options"],function(t){xn.prototype[t]=function(n,r){return this.request(Pn(r||{},{method:t,url:n,data:(r||{}).data}))}});_.forEach(["post","put","patch","query"],function(t){function n(r){return function(s,i,a){return this.request(Pn(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}xn.prototype[t]=n(),t!=="query"&&(xn.prototype[t+"Form"]=n(!0))});let Up=class Sc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Zr(s,i,a),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 Sc(function(o){t=o}),cancel:t}}};function Hp(e){return function(n){return e.apply(null,n)}}function zp(e){return _.isObject(e)&&e.isAxiosError===!0}const qs={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(qs).forEach(([e,t])=>{qs[t]=e});function Cc(e){const t=new xn(e),n=ic(xn.prototype.request,t);return _.extend(n,xn.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Cc(Pn(e,o))},n}const je=Cc(Xr);je.Axios=xn;je.CanceledError=Zr;je.CancelToken=Up;je.isCancel=wc;je.VERSION=Vi;je.toFormData=ns;je.AxiosError=ae;je.Cancel=je.CanceledError;je.all=function(t){return Promise.all(t)};je.spread=Hp;je.isAxiosError=zp;je.mergeConfig=Pn;je.AxiosHeaders=ut;je.formToJSON=e=>yc(_.isHTMLForm(e)?new FormData(e):e);je.getAdapter=xc.getAdapter;je.HttpStatusCode=qs;je.default=je;const{Axios:Wy,AxiosError:Ky,CanceledError:qy,isCancel:Gy,CancelToken:Yy,VERSION:Jy,all:Xy,Cancel:Zy,isAxiosError:Qy,spread:ew,toFormData:tw,AxiosHeaders:nw,HttpStatusCode:rw,formToJSON:ow,getAdapter:sw,mergeConfig:iw,create:aw}=je;let wn=null;function Wp(){wn=null}function ar(){if(wn)return wn;const{baseURL:e,getToken:t,onUnauthorized:n}=Di();return wn=je.create({baseURL:e??"",timeout:6e4,headers:{"Content-Type":"application/json"}}),wn.interceptors.request.use(r=>{const o=t==null?void 0:t();return o&&(r.headers.Authorization=`Bearer ${o}`),r}),wn.interceptors.response.use(r=>{const o=r.data;return(o==null?void 0:o.code)!=null&&o.code!==200?Promise.reject(new Error(o.message||"请求失败")):(r.data=(o==null?void 0:o.data)??o,r)},r=>{var s,i,a;((s=r.response)==null?void 0:s.status)===401&&(n==null||n());const o=(a=(i=r.response)==null?void 0:i.data)==null?void 0:a.message;return Promise.reject(new Error(o||r.message||"请求失败"))}),wn}async function Kp(e,t){const r=(await ar().get(`/yc-ai/workflows/runs/${e}/artifacts/${t}`,{transformResponse:[o=>o]})).data;if(typeof r=="string")try{return JSON.parse(r)}catch{return r}return r}let Gs={};function Tc(e){Gs={...Gs,...e}}function Qr(){return Gs}/**
|
|
10
10
|
* @vue/shared v3.5.35
|
|
11
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
12
|
* @license MIT
|
|
13
|
-
**/function
|
|
13
|
+
**/function lr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ae=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Xn=process.env.NODE_ENV!=="production"?Object.freeze([]):[],qe=()=>{},Ac=()=>!1,eo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Rr=e=>e.startsWith("onUpdate:"),Fe=Object.assign,Li=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qp=Object.prototype.hasOwnProperty,ye=(e,t)=>qp.call(e,t),le=Array.isArray,Sn=e=>to(e)==="[object Map]",Dc=e=>to(e)==="[object Set]",Ma=e=>to(e)==="[object Date]",fe=e=>typeof e=="function",Ne=e=>typeof e=="string",ht=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",Fi=e=>(be(e)||fe(e))&&fe(e.then)&&fe(e.catch),Pc=Object.prototype.toString,to=e=>Pc.call(e),ki=e=>to(e).slice(8,-1),$c=e=>to(e)==="[object Object]",os=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Sr=lr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gp=lr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ss=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Yp=/-\w/g,Xe=ss(e=>e.replace(Yp,t=>t.slice(1).toUpperCase())),Jp=/\B([A-Z])/g,Qt=ss(e=>e.replace(Jp,"-$1").toLowerCase()),$n=ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),bn=ss(e=>e?`on${$n(e)}`:""),Ht=(e,t)=>!Object.is(e,t),dr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Mo=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Xp=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zp=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Va;const no=()=>Va||(Va=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fn(e){if(le(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ne(r)?nh(r):fn(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ne(e)||be(e))return e}const Qp=/;(?![^(]*\))/g,eh=/:([^]+)/,th=/\/\*[^]*?\*\//g;function nh(e){const t={};return e.replace(th,"").split(Qp).forEach(n=>{if(n){const r=n.split(eh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ye(e){let t="";if(Ne(e))t=e;else if(le(e))for(let n=0;n<e.length;n++){const r=Ye(e[n]);r&&(t+=r+" ")}else if(be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ic(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ne(t)&&(e.class=Ye(t)),n&&(e.style=fn(n)),e}const rh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",oh=lr(rh);function Mc(e){return!!e||e===""}function sh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ji(e[r],t[r]);return n}function ji(e,t){if(e===t)return!0;let n=Ma(e),r=Ma(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ht(e),r=ht(t),n||r)return e===t;if(n=le(e),r=le(t),n||r)return n&&r?sh(e,t):!1;if(n=be(e),r=be(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!ji(e[i],t[i]))return!1}}return String(e)===String(t)}const Vc=e=>!!(e&&e.__v_isRef===!0),De=e=>Ne(e)?e:e==null?"":le(e)||be(e)&&(e.toString===Pc||!fe(e.toString))?Vc(e)?De(e.value):JSON.stringify(e,Rc,2):String(e),Rc=(e,t)=>Vc(t)?Rc(e,t.value):Sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Os(r,s)+" =>"]=o,n),{})}:Dc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Os(n))}:ht(t)?Os(t):be(t)&&!le(t)&&!$c(t)?String(t):t,Os=(e,t="")=>{var n;return ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
14
14
|
* @vue/reactivity v3.5.35
|
|
15
15
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
16
|
* @license MIT
|
|
17
|
-
**/function mt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Ke;class Lc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Ke&&(Ke.active?(this.parent=Ke,this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ke;try{return Ke=this,t()}finally{Ke=n}}else process.env.NODE_ENV!=="production"&&this._warnOnRun&&mt("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=Ke,Ke=this)}off(){if(this._on>0&&--this._on===0){if(Ke===this)Ke=this.prevScope;else{let t=Ke;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function ih(e){return new Lc(e)}function ki(){return Ke}function Fc(e,t=!1){Ke?Ke.cleanups.push(e):process.env.NODE_ENV!=="production"&&!t&&mt("onScopeDispose() is called when there is no active effect scope to be associated with.")}let Ce;const Es=new WeakSet;class kc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ke&&(Ke.active?Ke.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Es.has(this)&&(Es.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ra(this),Uc(this);const t=Ce,n=Dt;Ce=this,Dt=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&Ce!==this&&mt("Active effect was not restored correctly - this is likely a Vue internal bug."),Hc(this),Ce=t,Dt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ui(t);this.deps=this.depsTail=void 0,Ra(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Es.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){qs(this)&&this.run()}get dirty(){return qs(this)}}let jc=0,xr,Cr;function Bc(e,t=!1){if(e.flags|=8,t){e.next=Cr,Cr=e;return}e.next=xr,xr=e}function ji(){jc++}function Bi(){if(--jc>0)return;if(Cr){let t=Cr;for(Cr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;xr;){let t=xr;for(xr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Uc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Hc(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Ui(r),ah(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function qs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rr)||(e.globalVersion=Rr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!qs(e))))return;e.flags|=2;const t=e.dep,n=Ce,r=Dt;Ce=e,Dt=!0;try{Uc(e);const o=e.fn(e._value);(t.version===0||Ht(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ce=n,Dt=r,Hc(e),e.flags&=-3}}function Ui(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=o),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Ui(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ah(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Dt=!0;const Wc=[];function $t(){Wc.push(Dt),Dt=!1}function It(){const e=Wc.pop();Dt=e===void 0?!0:e}function Ra(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ce;Ce=void 0;try{t()}finally{Ce=n}}}let Rr=0;class lh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Ce||!Dt||Ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ce)n=this.activeLink=new lh(Ce,this),Ce.deps?(n.prevDep=Ce.depsTail,Ce.depsTail.nextDep=n,Ce.depsTail=n):Ce.deps=Ce.depsTail=n,Kc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ce.depsTail,n.nextDep=void 0,Ce.depsTail.nextDep=n,Ce.depsTail=n,Ce.deps===n&&(Ce.deps=r)}return process.env.NODE_ENV!=="production"&&Ce.onTrack&&Ce.onTrack(Re({effect:Ce},t)),n}trigger(t){this.version++,Rr++,this.notify(t)}notify(t){ji();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(Re({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Bi()}}}function Kc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Kc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Io=new WeakMap,xn=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),Gs=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Lr=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function qe(e,t,n){if(Dt&&Ce){let r=Io.get(e);r||Io.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Hi),o.map=r,o.key=n),process.env.NODE_ENV!=="production"?o.track({target:e,type:t,key:n}):o.track()}}function zt(e,t,n,r,o,s){const i=Io.get(e);if(!i){Rr++;return}const a=l=>{l&&(process.env.NODE_ENV!=="production"?l.trigger({target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:s}):l.trigger())};if(ji(),t==="clear")i.forEach(a);else{const l=ae(e),u=l&&ns(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,h)=>{(h==="length"||h===Lr||!pt(h)&&h>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Lr)),t){case"add":l?u&&a(i.get("length")):(a(i.get(xn)),Sn(e)&&a(i.get(Gs)));break;case"delete":l||(a(i.get(xn)),Sn(e)&&a(i.get(Gs)));break;case"set":Sn(e)&&a(i.get(xn));break}}Bi()}function ch(e,t){const n=Io.get(e);return n&&n.get(t)}function Hn(e){const t=pe(e);return t===e?t:(qe(t,"iterate",Lr),nt(e)?t:t.map(Vt))}function os(e){return qe(e=pe(e),"iterate",Lr),e}function Ut(e,t){return Mt(e)?nr(St(e)?Vt(t):t):Vt(t)}const uh={__proto__:null,[Symbol.iterator](){return Os(this,Symbol.iterator,e=>Ut(this,e))},concat(...e){return Hn(this).concat(...e.map(t=>ae(t)?Hn(t):t))},entries(){return Os(this,"entries",e=>(e[1]=Ut(this,e[1]),e))},every(e,t){return Kt(this,"every",e,t,void 0,arguments)},filter(e,t){return Kt(this,"filter",e,t,n=>n.map(r=>Ut(this,r)),arguments)},find(e,t){return Kt(this,"find",e,t,n=>Ut(this,n),arguments)},findIndex(e,t){return Kt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Kt(this,"findLast",e,t,n=>Ut(this,n),arguments)},findLastIndex(e,t){return Kt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Kt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ns(this,"includes",e)},indexOf(...e){return Ns(this,"indexOf",e)},join(e){return Hn(this).join(e)},lastIndexOf(...e){return Ns(this,"lastIndexOf",e)},map(e,t){return Kt(this,"map",e,t,void 0,arguments)},pop(){return dr(this,"pop")},push(...e){return dr(this,"push",e)},reduce(e,...t){return La(this,"reduce",e,t)},reduceRight(e,...t){return La(this,"reduceRight",e,t)},shift(){return dr(this,"shift")},some(e,t){return Kt(this,"some",e,t,void 0,arguments)},splice(...e){return dr(this,"splice",e)},toReversed(){return Hn(this).toReversed()},toSorted(e){return Hn(this).toSorted(e)},toSpliced(...e){return Hn(this).toSpliced(...e)},unshift(...e){return dr(this,"unshift",e)},values(){return Os(this,"values",e=>Ut(this,e))}};function Os(e,t,n){const r=os(e),o=r[t]();return r!==e&&!nt(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const fh=Array.prototype;function Kt(e,t,n,r,o,s){const i=os(e),a=i!==e&&!nt(e),l=i[t];if(l!==fh[t]){const f=l.apply(e,s);return a?Vt(f):f}let u=n;i!==e&&(a?u=function(f,h){return n.call(this,Ut(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=l.call(i,u,r);return a&&o?o(c):c}function La(e,t,n,r){const o=os(e),s=o!==e&&!nt(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(u,c,f){return a&&(a=!1,u=Ut(e,u)),n.call(this,u,Ut(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const l=o[t](i,...r);return a?Ut(e,l):l}function Ns(e,t,n){const r=pe(e);qe(r,"iterate",Lr);const o=r[t](...n);return(o===-1||o===!1)&&tr(n[0])?(n[0]=pe(n[0]),r[t](...n)):o}function dr(e,t,n=[]){$t(),ji();const r=pe(e)[t].apply(e,n);return Bi(),It(),r}const dh=ar("__proto__,__v_isRef,__isVue"),qc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pt));function ph(e){pt(e)||(e=String(e));const t=pe(this);return qe(t,"has",e),t.hasOwnProperty(e)}class Gc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?eu:Qc:s?Zc:Xc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ae(t);if(!o){let l;if(i&&(l=uh[n]))return l;if(n==="hasOwnProperty")return ph}const a=Reflect.get(t,n,xe(t)?t:r);if((pt(n)?qc.has(n):dh(n))||(o||qe(t,"get",n),s))return a;if(xe(a)){const l=i&&ns(n)?a:a.value;return o&&ye(l)?Js(l):l}return ye(a)?o?Js(a):lr(a):a}}class Yc extends Gc{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=ae(t)&&ns(n);if(!this._isShallow){const u=Mt(s);if(!nt(r)&&!Mt(r)&&(s=pe(s),r=pe(r)),!i&&xe(s)&&!xe(r))return u?(process.env.NODE_ENV!=="production"&&mt(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(s.value=r,!0)}const a=i?Number(n)<t.length:_e(t,n),l=Reflect.set(t,n,r,xe(t)?t:o);return t===pe(o)&&(a?Ht(r,s)&&zt(t,"set",n,r,s):zt(t,"add",n,r)),l}deleteProperty(t,n){const r=_e(t,n),o=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&zt(t,"delete",n,void 0,o),s}has(t,n){const r=Reflect.has(t,n);return(!pt(n)||!qc.has(n))&&qe(t,"has",n),r}ownKeys(t){return qe(t,"iterate",ae(t)?"length":xn),Reflect.ownKeys(t)}}class Jc extends Gc{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&mt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&mt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const hh=new Yc,mh=new Jc,gh=new Yc(!0),vh=new Jc(!0),Ys=e=>e,vo=e=>Reflect.getPrototypeOf(e);function _h(e,t,n){return function(...r){const o=this.__v_raw,s=pe(o),i=Sn(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),c=n?Ys:t?nr:Vt;return!t&&qe(s,"iterate",l?Gs:xn),Re(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function _o(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";mt(`${Pn(e)} operation ${n}failed: target is readonly.`,pe(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function yh(e,t){const n={get(o){const s=this.__v_raw,i=pe(s),a=pe(o);e||(Ht(o,a)&&qe(i,"get",o),qe(i,"get",a));const{has:l}=vo(i),u=t?Ys:e?nr:Vt;if(l.call(i,o))return u(s.get(o));if(l.call(i,a))return u(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&qe(pe(o),"iterate",xn),o.size},has(o){const s=this.__v_raw,i=pe(s),a=pe(o);return e||(Ht(o,a)&&qe(i,"has",o),qe(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=pe(a),u=t?Ys:e?nr:Vt;return!e&&qe(l,"iterate",xn),a.forEach((c,f)=>o.call(s,u(c),u(f),i))}};return Re(n,e?{add:_o("add"),set:_o("set"),delete:_o("delete"),clear:_o("clear")}:{add(o){const s=pe(this),i=vo(s),a=pe(o),l=!t&&!nt(o)&&!Mt(o)?a:o;return i.has.call(s,l)||Ht(o,l)&&i.has.call(s,o)||Ht(a,l)&&i.has.call(s,a)||(s.add(l),zt(s,"add",l,l)),this},set(o,s){!t&&!nt(s)&&!Mt(s)&&(s=pe(s));const i=pe(this),{has:a,get:l}=vo(i);let u=a.call(i,o);u?process.env.NODE_ENV!=="production"&&Fa(i,a,o):(o=pe(o),u=a.call(i,o));const c=l.call(i,o);return i.set(o,s),u?Ht(s,c)&&zt(i,"set",o,s,c):zt(i,"add",o,s),this},delete(o){const s=pe(this),{has:i,get:a}=vo(s);let l=i.call(s,o);l?process.env.NODE_ENV!=="production"&&Fa(s,i,o):(o=pe(o),l=i.call(s,o));const u=a?a.call(s,o):void 0,c=s.delete(o);return l&&zt(s,"delete",o,void 0,u),c},clear(){const o=pe(this),s=o.size!==0,i=process.env.NODE_ENV!=="production"?Sn(o)?new Map(o):new Set(o):void 0,a=o.clear();return s&&zt(o,"clear",void 0,void 0,i),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=_h(o,e,t)}),n}function ss(e,t){const n=yh(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(_e(n,o)&&o in r?n:r,o,s)}const wh={get:ss(!1,!1)},bh={get:ss(!1,!0)},Eh={get:ss(!0,!1)},Oh={get:ss(!0,!0)};function Fa(e,t,n){const r=pe(n);if(r!==n&&t.call(e,r)){const o=Li(e);mt(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Xc=new WeakMap,Zc=new WeakMap,Qc=new WeakMap,eu=new WeakMap;function Nh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lr(e){return Mt(e)?e:is(e,!1,hh,wh,Xc)}function zi(e){return is(e,!1,gh,bh,Zc)}function Js(e){return is(e,!0,mh,Eh,Qc)}function At(e){return is(e,!0,vh,Oh,eu)}function is(e,t,n,r,o){if(!ye(e))return process.env.NODE_ENV!=="production"&&mt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const i=Nh(Li(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function St(e){return Mt(e)?St(e.__v_raw):!!(e&&e.__v_isReactive)}function Mt(e){return!!(e&&e.__v_isReadonly)}function nt(e){return!!(e&&e.__v_isShallow)}function tr(e){return e?!!e.__v_raw:!1}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function Yn(e){return!_e(e,"__v_skip")&&Object.isExtensible(e)&&$o(e,"__v_skip",!0),e}const Vt=e=>ye(e)?lr(e):e,nr=e=>ye(e)?Js(e):e;function xe(e){return e?e.__v_isRef===!0:!1}function de(e){return nu(e,!1)}function tu(e){return nu(e,!0)}function nu(e,t){return xe(e)?e:new Sh(e,t)}class Sh{constructor(t,n){this.dep=new Hi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:pe(t),this._value=n?t:Vt(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||nt(t)||Mt(t);t=r?t:pe(t),Ht(t,n)&&(this._rawValue=t,this._value=r?t:Vt(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function Q(e){return xe(e)?e.value:e}function Xn(e){return ue(e)?e():Q(e)}const xh={get:(e,t,n)=>t==="__v_raw"?e:Q(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return xe(o)&&!xe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ru(e){return St(e)?e:new Proxy(e,xh)}function ka(e){process.env.NODE_ENV!=="production"&&!tr(e)&&mt("toRefs() expects a reactive object but received a plain one.");const t=ae(e)?new Array(e.length):{};for(const n in e)t[n]=ou(e,n);return t}class Ch{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=pt(n)?n:String(n),this._raw=pe(t);let o=!0,s=t;if(!ae(t)||pt(this._key)||!ns(this._key))do o=!tr(s)||nt(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Q(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&xe(this._raw[this._key])){const n=this._object[this._key];if(xe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return ch(this._raw,this._key)}}class Th{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function So(e,t,n){return xe(e)?e:ue(e)?new Th(e):ye(e)&&arguments.length>1?ou(e,t,n):de(e)}function ou(e,t,n){return new Ch(e,t,n)}class Ah{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Hi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ce!==this)return Bc(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return zc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&mt("Write operation failed: computed value is readonly")}}function Dh(e,t,n=!1){let r,o;ue(e)?r=e:(r=e.get,o=e.set);const s=new Ah(r,o,n);return process.env.NODE_ENV,s}const yo={},Mo=new WeakMap;let bn;function Ph(e,t=!1,n=bn){if(n){let r=Mo.get(n);r||Mo.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&mt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function $h(e,t,n=Te){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,u=N=>{(n.onWarn||mt)("Invalid watch source: ",N,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=N=>o?N:nt(N)||o===!1||o===0?Xt(N,1):Xt(N);let f,h,g,b,p=!1,v=!1;if(xe(e)?(h=()=>e.value,p=nt(e)):St(e)?(h=()=>c(e),p=!0):ae(e)?(v=!0,p=e.some(N=>St(N)||nt(N)),h=()=>e.map(N=>{if(xe(N))return N.value;if(St(N))return c(N);if(ue(N))return l?l(N,2):N();process.env.NODE_ENV!=="production"&&u(N)})):ue(e)?t?h=l?()=>l(e,2):e:h=()=>{if(g){$t();try{g()}finally{It()}}const N=bn;bn=f;try{return l?l(e,3,[b]):e(b)}finally{bn=N}}:(h=Ge,process.env.NODE_ENV!=="production"&&u(e)),t&&o){const N=h,K=o===!0?1/0:o;h=()=>Xt(N(),K)}const C=ki(),T=()=>{f.stop(),C&&C.active&&Vi(C.effects,f)};if(s&&t){const N=t;t=(...K)=>{N(...K),T()}}let k=v?new Array(e.length).fill(yo):yo;const Y=N=>{if(!(!(f.flags&1)||!f.dirty&&!N))if(t){const K=f.run();if(o||p||(v?K.some(($,ne)=>Ht($,k[ne])):Ht(K,k))){g&&g();const $=bn;bn=f;try{const ne=[K,k===yo?void 0:v&&k[0]===yo?[]:k,b];k=K,l?l(t,3,ne):t(...ne)}finally{bn=$}}}else f.run()};return a&&a(Y),f=new kc(h),f.scheduler=i?()=>i(Y,!1):Y,b=N=>Ph(N,!1,f),g=f.onStop=()=>{const N=Mo.get(f);if(N){if(l)l(N,4);else for(const K of N)K();Mo.delete(f)}},process.env.NODE_ENV!=="production"&&(f.onTrack=n.onTrack,f.onTrigger=n.onTrigger),t?r?Y(!0):k=f.run():i?i(Y.bind(null,!0),!0):f.run(),T.pause=f.pause.bind(f),T.resume=f.resume.bind(f),T.stop=T,T}function Xt(e,t=1/0,n){if(t<=0||!ye(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,xe(e))Xt(e.value,t,n);else if(ae(e))for(let r=0;r<e.length;r++)Xt(e[r],t,n);else if(Dc(e)||Sn(e))e.forEach(r=>{Xt(r,t,n)});else if($c(e)){for(const r in e)Xt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Xt(e[r],t,n)}return e}/**
|
|
17
|
+
**/function gt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let We;class Lc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&We&&(We.active?(this.parent=We,this.index=(We.scopes||(We.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=We;try{return We=this,t()}finally{We=n}}else process.env.NODE_ENV!=="production"&&this._warnOnRun&>("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=We,We=this)}off(){if(this._on>0&&--this._on===0){if(We===this)We=this.prevScope;else{let t=We;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function ih(e){return new Lc(e)}function Bi(){return We}function Fc(e,t=!1){We?We.cleanups.push(e):process.env.NODE_ENV!=="production"&&!t&>("onScopeDispose() is called when there is no active effect scope to be associated with.")}let Te;const Ns=new WeakSet;class kc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,We&&(We.active?We.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ns.has(this)&&(Ns.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ra(this),Uc(this);const t=Te,n=Pt;Te=this,Pt=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&Te!==this&>("Active effect was not restored correctly - this is likely a Vue internal bug."),Hc(this),Te=t,Pt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)zi(t);this.deps=this.depsTail=void 0,Ra(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ns.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ys(this)&&this.run()}get dirty(){return Ys(this)}}let jc=0,Cr,Tr;function Bc(e,t=!1){if(e.flags|=8,t){e.next=Tr,Tr=e;return}e.next=Cr,Cr=e}function Ui(){jc++}function Hi(){if(--jc>0)return;if(Tr){let t=Tr;for(Tr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Cr;){let t=Cr;for(Cr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Uc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Hc(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),zi(r),ah(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Ys(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Lr)||(e.globalVersion=Lr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ys(e))))return;e.flags|=2;const t=e.dep,n=Te,r=Pt;Te=e,Pt=!0;try{Uc(e);const o=e.fn(e._value);(t.version===0||Ht(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Te=n,Pt=r,Hc(e),e.flags&=-3}}function zi(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=o),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)zi(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ah(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Pt=!0;const Wc=[];function It(){Wc.push(Pt),Pt=!1}function Mt(){const e=Wc.pop();Pt=e===void 0?!0:e}function Ra(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Te;Te=void 0;try{t()}finally{Te=n}}}let Lr=0;class lh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Te||!Pt||Te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Te)n=this.activeLink=new lh(Te,this),Te.deps?(n.prevDep=Te.depsTail,Te.depsTail.nextDep=n,Te.depsTail=n):Te.deps=Te.depsTail=n,Kc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Te.depsTail,n.nextDep=void 0,Te.depsTail.nextDep=n,Te.depsTail=n,Te.deps===n&&(Te.deps=r)}return process.env.NODE_ENV!=="production"&&Te.onTrack&&Te.onTrack(Fe({effect:Te},t)),n}trigger(t){this.version++,Lr++,this.notify(t)}notify(t){Ui();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(Fe({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Hi()}}}function Kc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Kc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Vo=new WeakMap,Cn=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),Js=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Fr=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Ke(e,t,n){if(Pt&&Te){let r=Vo.get(e);r||Vo.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Wi),o.map=r,o.key=n),process.env.NODE_ENV!=="production"?o.track({target:e,type:t,key:n}):o.track()}}function zt(e,t,n,r,o,s){const i=Vo.get(e);if(!i){Lr++;return}const a=l=>{l&&(process.env.NODE_ENV!=="production"?l.trigger({target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:s}):l.trigger())};if(Ui(),t==="clear")i.forEach(a);else{const l=le(e),u=l&&os(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,h)=>{(h==="length"||h===Fr||!ht(h)&&h>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Fr)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Cn)),Sn(e)&&a(i.get(Js)));break;case"delete":l||(a(i.get(Cn)),Sn(e)&&a(i.get(Js)));break;case"set":Sn(e)&&a(i.get(Cn));break}}Hi()}function ch(e,t){const n=Vo.get(e);return n&&n.get(t)}function zn(e){const t=ve(e);return t===e?t:(Ke(t,"iterate",Fr),nt(e)?t:t.map(Rt))}function is(e){return Ke(e=ve(e),"iterate",Fr),e}function Ut(e,t){return Vt(e)?rr(xt(e)?Rt(t):t):Rt(t)}const uh={__proto__:null,[Symbol.iterator](){return xs(this,Symbol.iterator,e=>Ut(this,e))},concat(...e){return zn(this).concat(...e.map(t=>le(t)?zn(t):t))},entries(){return xs(this,"entries",e=>(e[1]=Ut(this,e[1]),e))},every(e,t){return Kt(this,"every",e,t,void 0,arguments)},filter(e,t){return Kt(this,"filter",e,t,n=>n.map(r=>Ut(this,r)),arguments)},find(e,t){return Kt(this,"find",e,t,n=>Ut(this,n),arguments)},findIndex(e,t){return Kt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Kt(this,"findLast",e,t,n=>Ut(this,n),arguments)},findLastIndex(e,t){return Kt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Kt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ss(this,"includes",e)},indexOf(...e){return Ss(this,"indexOf",e)},join(e){return zn(this).join(e)},lastIndexOf(...e){return Ss(this,"lastIndexOf",e)},map(e,t){return Kt(this,"map",e,t,void 0,arguments)},pop(){return pr(this,"pop")},push(...e){return pr(this,"push",e)},reduce(e,...t){return La(this,"reduce",e,t)},reduceRight(e,...t){return La(this,"reduceRight",e,t)},shift(){return pr(this,"shift")},some(e,t){return Kt(this,"some",e,t,void 0,arguments)},splice(...e){return pr(this,"splice",e)},toReversed(){return zn(this).toReversed()},toSorted(e){return zn(this).toSorted(e)},toSpliced(...e){return zn(this).toSpliced(...e)},unshift(...e){return pr(this,"unshift",e)},values(){return xs(this,"values",e=>Ut(this,e))}};function xs(e,t,n){const r=is(e),o=r[t]();return r!==e&&!nt(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const fh=Array.prototype;function Kt(e,t,n,r,o,s){const i=is(e),a=i!==e&&!nt(e),l=i[t];if(l!==fh[t]){const f=l.apply(e,s);return a?Rt(f):f}let u=n;i!==e&&(a?u=function(f,h){return n.call(this,Ut(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=l.call(i,u,r);return a&&o?o(c):c}function La(e,t,n,r){const o=is(e),s=o!==e&&!nt(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(u,c,f){return a&&(a=!1,u=Ut(e,u)),n.call(this,u,Ut(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const l=o[t](i,...r);return a?Ut(e,l):l}function Ss(e,t,n){const r=ve(e);Ke(r,"iterate",Fr);const o=r[t](...n);return(o===-1||o===!1)&&nr(n[0])?(n[0]=ve(n[0]),r[t](...n)):o}function pr(e,t,n=[]){It(),Ui();const r=ve(e)[t].apply(e,n);return Hi(),Mt(),r}const dh=lr("__proto__,__v_isRef,__isVue"),qc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ht));function ph(e){ht(e)||(e=String(e));const t=ve(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class Gc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?eu:Qc:s?Zc:Xc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=le(t);if(!o){let l;if(i&&(l=uh[n]))return l;if(n==="hasOwnProperty")return ph}const a=Reflect.get(t,n,Se(t)?t:r);if((ht(n)?qc.has(n):dh(n))||(o||Ke(t,"get",n),s))return a;if(Se(a)){const l=i&&os(n)?a:a.value;return o&&be(l)?Zs(l):l}return be(a)?o?Zs(a):cr(a):a}}class Yc extends Gc{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=le(t)&&os(n);if(!this._isShallow){const u=Vt(s);if(!nt(r)&&!Vt(r)&&(s=ve(s),r=ve(r)),!i&&Se(s)&&!Se(r))return u?(process.env.NODE_ENV!=="production"&>(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(s.value=r,!0)}const a=i?Number(n)<t.length:ye(t,n),l=Reflect.set(t,n,r,Se(t)?t:o);return t===ve(o)&&(a?Ht(r,s)&&zt(t,"set",n,r,s):zt(t,"add",n,r)),l}deleteProperty(t,n){const r=ye(t,n),o=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&zt(t,"delete",n,void 0,o),s}has(t,n){const r=Reflect.has(t,n);return(!ht(n)||!qc.has(n))&&Ke(t,"has",n),r}ownKeys(t){return Ke(t,"iterate",le(t)?"length":Cn),Reflect.ownKeys(t)}}class Jc extends Gc{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&>(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&>(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const hh=new Yc,mh=new Jc,gh=new Yc(!0),vh=new Jc(!0),Xs=e=>e,yo=e=>Reflect.getPrototypeOf(e);function _h(e,t,n){return function(...r){const o=this.__v_raw,s=ve(o),i=Sn(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),c=n?Xs:t?rr:Rt;return!t&&Ke(s,"iterate",l?Js:Cn),Fe(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function wo(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";gt(`${$n(e)} operation ${n}failed: target is readonly.`,ve(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function yh(e,t){const n={get(o){const s=this.__v_raw,i=ve(s),a=ve(o);e||(Ht(o,a)&&Ke(i,"get",o),Ke(i,"get",a));const{has:l}=yo(i),u=t?Xs:e?rr:Rt;if(l.call(i,o))return u(s.get(o));if(l.call(i,a))return u(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Ke(ve(o),"iterate",Cn),o.size},has(o){const s=this.__v_raw,i=ve(s),a=ve(o);return e||(Ht(o,a)&&Ke(i,"has",o),Ke(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=ve(a),u=t?Xs:e?rr:Rt;return!e&&Ke(l,"iterate",Cn),a.forEach((c,f)=>o.call(s,u(c),u(f),i))}};return Fe(n,e?{add:wo("add"),set:wo("set"),delete:wo("delete"),clear:wo("clear")}:{add(o){const s=ve(this),i=yo(s),a=ve(o),l=!t&&!nt(o)&&!Vt(o)?a:o;return i.has.call(s,l)||Ht(o,l)&&i.has.call(s,o)||Ht(a,l)&&i.has.call(s,a)||(s.add(l),zt(s,"add",l,l)),this},set(o,s){!t&&!nt(s)&&!Vt(s)&&(s=ve(s));const i=ve(this),{has:a,get:l}=yo(i);let u=a.call(i,o);u?process.env.NODE_ENV!=="production"&&Fa(i,a,o):(o=ve(o),u=a.call(i,o));const c=l.call(i,o);return i.set(o,s),u?Ht(s,c)&&zt(i,"set",o,s,c):zt(i,"add",o,s),this},delete(o){const s=ve(this),{has:i,get:a}=yo(s);let l=i.call(s,o);l?process.env.NODE_ENV!=="production"&&Fa(s,i,o):(o=ve(o),l=i.call(s,o));const u=a?a.call(s,o):void 0,c=s.delete(o);return l&&zt(s,"delete",o,void 0,u),c},clear(){const o=ve(this),s=o.size!==0,i=process.env.NODE_ENV!=="production"?Sn(o)?new Map(o):new Set(o):void 0,a=o.clear();return s&&zt(o,"clear",void 0,void 0,i),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=_h(o,e,t)}),n}function as(e,t){const n=yh(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ye(n,o)&&o in r?n:r,o,s)}const wh={get:as(!1,!1)},bh={get:as(!1,!0)},Eh={get:as(!0,!1)},Oh={get:as(!0,!0)};function Fa(e,t,n){const r=ve(n);if(r!==n&&t.call(e,r)){const o=ki(e);gt(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Xc=new WeakMap,Zc=new WeakMap,Qc=new WeakMap,eu=new WeakMap;function Nh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cr(e){return Vt(e)?e:ls(e,!1,hh,wh,Xc)}function Ki(e){return ls(e,!1,gh,bh,Zc)}function Zs(e){return ls(e,!0,mh,Eh,Qc)}function Dt(e){return ls(e,!0,vh,Oh,eu)}function ls(e,t,n,r,o){if(!be(e))return process.env.NODE_ENV!=="production"&>(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const i=Nh(ki(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function xt(e){return Vt(e)?xt(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function nt(e){return!!(e&&e.__v_isShallow)}function nr(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function Jn(e){return!ye(e,"__v_skip")&&Object.isExtensible(e)&&Mo(e,"__v_skip",!0),e}const Rt=e=>be(e)?cr(e):e,rr=e=>be(e)?Zs(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function ge(e){return nu(e,!1)}function tu(e){return nu(e,!0)}function nu(e,t){return Se(e)?e:new xh(e,t)}class xh{constructor(t,n){this.dep=new Wi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ve(t),this._value=n?t:Rt(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||nt(t)||Vt(t);t=r?t:ve(t),Ht(t,n)&&(this._rawValue=t,this._value=r?t:Rt(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function Q(e){return Se(e)?e.value:e}function Zn(e){return fe(e)?e():Q(e)}const Sh={get:(e,t,n)=>t==="__v_raw"?e:Q(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Se(o)&&!Se(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ru(e){return xt(e)?e:new Proxy(e,Sh)}function ka(e){process.env.NODE_ENV!=="production"&&!nr(e)&>("toRefs() expects a reactive object but received a plain one.");const t=le(e)?new Array(e.length):{};for(const n in e)t[n]=ou(e,n);return t}class Ch{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=ht(n)?n:String(n),this._raw=ve(t);let o=!0,s=t;if(!le(t)||ht(this._key)||!os(this._key))do o=!nr(s)||nt(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Q(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Se(this._raw[this._key])){const n=this._object[this._key];if(Se(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return ch(this._raw,this._key)}}class Th{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Co(e,t,n){return Se(e)?e:fe(e)?new Th(e):be(e)&&arguments.length>1?ou(e,t,n):ge(e)}function ou(e,t,n){return new Ch(e,t,n)}class Ah{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Wi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Lr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Te!==this)return Bc(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return zc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&>("Write operation failed: computed value is readonly")}}function Dh(e,t,n=!1){let r,o;fe(e)?r=e:(r=e.get,o=e.set);const s=new Ah(r,o,n);return process.env.NODE_ENV,s}const bo={},Ro=new WeakMap;let En;function Ph(e,t=!1,n=En){if(n){let r=Ro.get(n);r||Ro.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&>("onWatcherCleanup() was called when there was no active watcher to associate with.")}function $h(e,t,n=Ae){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,u=E=>{(n.onWarn||gt)("Invalid watch source: ",E,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=E=>o?E:nt(E)||o===!1||o===0?Xt(E,1):Xt(E);let f,h,g,y,p=!1,v=!1;if(Se(e)?(h=()=>e.value,p=nt(e)):xt(e)?(h=()=>c(e),p=!0):le(e)?(v=!0,p=e.some(E=>xt(E)||nt(E)),h=()=>e.map(E=>{if(Se(E))return E.value;if(xt(E))return c(E);if(fe(E))return l?l(E,2):E();process.env.NODE_ENV!=="production"&&u(E)})):fe(e)?t?h=l?()=>l(e,2):e:h=()=>{if(g){It();try{g()}finally{Mt()}}const E=En;En=f;try{return l?l(e,3,[y]):e(y)}finally{En=E}}:(h=qe,process.env.NODE_ENV!=="production"&&u(e)),t&&o){const E=h,q=o===!0?1/0:o;h=()=>Xt(E(),q)}const S=Bi(),T=()=>{f.stop(),S&&S.active&&Li(S.effects,f)};if(s&&t){const E=t;t=(...q)=>{E(...q),T()}}let V=v?new Array(e.length).fill(bo):bo;const J=E=>{if(!(!(f.flags&1)||!f.dirty&&!E))if(t){const q=f.run();if(o||p||(v?q.some((P,ne)=>Ht(P,V[ne])):Ht(q,V))){g&&g();const P=En;En=f;try{const ne=[q,V===bo?void 0:v&&V[0]===bo?[]:V,y];V=q,l?l(t,3,ne):t(...ne)}finally{En=P}}}else f.run()};return a&&a(J),f=new kc(h),f.scheduler=i?()=>i(J,!1):J,y=E=>Ph(E,!1,f),g=f.onStop=()=>{const E=Ro.get(f);if(E){if(l)l(E,4);else for(const q of E)q();Ro.delete(f)}},process.env.NODE_ENV!=="production"&&(f.onTrack=n.onTrack,f.onTrigger=n.onTrigger),t?r?J(!0):V=f.run():i?i(J.bind(null,!0),!0):f.run(),T.pause=f.pause.bind(f),T.resume=f.resume.bind(f),T.stop=T,T}function Xt(e,t=1/0,n){if(t<=0||!be(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Se(e))Xt(e.value,t,n);else if(le(e))for(let r=0;r<e.length;r++)Xt(e[r],t,n);else if(Dc(e)||Sn(e))e.forEach(r=>{Xt(r,t,n)});else if($c(e)){for(const r in e)Xt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Xt(e[r],t,n)}return e}/**
|
|
18
18
|
* @vue/runtime-core v3.5.35
|
|
19
19
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
20
20
|
* @license MIT
|
|
21
|
-
**/const
|
|
21
|
+
**/const Tn=[];function To(e){Tn.push(e)}function Ao(){Tn.pop()}let Cs=!1;function B(e,...t){if(Cs)return;Cs=!0,It();const n=Tn.length?Tn[Tn.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Ih();if(r)ur(r,n,11,[e+t.map(s=>{var i,a;return(a=(i=s.toString)==null?void 0:i.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${uo(n,s.type)}>`).join(`
|
|
22
22
|
`),o]);else{const s=[`[Vue warn]: ${e}`,...t];o.length&&s.push(`
|
|
23
|
-
`,...Mh(o)),console.warn(...s)}
|
|
24
|
-
`],...Vh(n))}),t}function Vh({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${co(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Rh(e.props),s]:[o+s]}function Rh(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...su(r,e[r]))}),n.length>3&&t.push(" ..."),t}function su(e,t,n){return Ne(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:xe(t)?(t=su(e,pe(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ue(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=pe(t),n?t:[`${e}=`,t])}function Lh(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?U(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&U(`${t} is NaN - the duration expression might be incorrect.`))}const Wi={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function cr(e,t,n,r){try{return r?e(...r):e()}catch(o){no(o,t,n)}}function xt(e,t,n,r){if(ue(e)){const o=cr(e,t,n,r);return o&&Ri(o)&&o.catch(s=>{no(s,t,n)}),o}if(ae(e)){const o=[];for(let s=0;s<e.length;s++)o.push(xt(e[s],t,n,r));return o}else process.env.NODE_ENV!=="production"&&U(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function no(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Te;if(t){let a=t.parent;const l=t.proxy,u=process.env.NODE_ENV!=="production"?Wi[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(s){$t(),cr(s,null,10,[e,l,u]),It();return}}Fh(e,n,o,r,i)}function Fh(e,t,n,r=!0,o=!1){if(process.env.NODE_ENV!=="production"){const s=Wi[t];if(n&&xo(n),U(`Unhandled error${s?` during execution of ${s}`:""}`),n&&Co(),r)throw e;console.error(e)}else{if(o)throw e;console.error(e)}}const lt=[];let jt=-1;const Zn=[];let un=null,Gn=0;const iu=Promise.resolve();let Vo=null;const kh=100;function rr(e){const t=Vo||iu;return e?t.then(this?e.bind(this):e):t}function jh(e){let t=jt+1,n=lt.length;for(;t<n;){const r=t+n>>>1,o=lt[r],s=Fr(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function as(e){if(!(e.flags&1)){const t=Fr(e),n=lt[lt.length-1];!n||!(e.flags&2)&&t>=Fr(n)?lt.push(e):lt.splice(jh(t),0,e),e.flags|=1,au()}}function au(){Vo||(Vo=iu.then(uu))}function lu(e){ae(e)?Zn.push(...e):un&&e.id===-1?un.splice(Gn+1,0,e):e.flags&1||(Zn.push(e),e.flags|=1),au()}function ja(e,t,n=jt+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<lt.length;n++){const r=lt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid||process.env.NODE_ENV!=="production"&&Ki(t,r))continue;lt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function cu(e){if(Zn.length){const t=[...new Set(Zn)].sort((n,r)=>Fr(n)-Fr(r));if(Zn.length=0,un){un.push(...t);return}for(un=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Gn=0;Gn<un.length;Gn++){const n=un[Gn];process.env.NODE_ENV!=="production"&&Ki(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}un=null,Gn=0}}const Fr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function uu(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Ki(e,n):Ge;try{for(jt=0;jt<lt.length;jt++){const n=lt[jt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),cr(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;jt<lt.length;jt++){const n=lt[jt];n&&(n.flags&=-2)}jt=-1,lt.length=0,cu(e),Vo=null,(lt.length||Zn.length)&&uu(e)}}function Ki(e,t){const n=e.get(t)||0;if(n>kh){const r=t.i,o=r&&na(r.type);return no(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let ct=!1;const Ba=e=>{try{return ct}finally{ct=e}},To=new Map;process.env.NODE_ENV!=="production"&&(to().__VUE_HMR_RUNTIME__={createRecord:xs(fu),rerender:xs(Hh),reload:xs(zh)});const $n=new Map;function Bh(e){const t=e.type.__hmrId;let n=$n.get(t);n||(fu(t,e.type),n=$n.get(t)),n.instances.add(e)}function Uh(e){$n.get(e.type.__hmrId).instances.delete(e)}function fu(e,t){return $n.has(e)?!1:($n.set(e,{initialDef:Ro(t),instances:new Set}),!0)}function Ro(e){return ef(e)?e.__vccOpts:e}function Hh(e,t){const n=$n.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Ro(r.type).render=t),r.renderCache=[],ct=!0,r.job.flags&8||r.update(),ct=!1}))}function zh(e,t){const n=$n.get(e);if(!n)return;t=Ro(t),Ua(n.initialDef,t);const r=[...n.instances];for(let o=0;o<r.length;o++){const s=r[o],i=Ro(s.type);let a=To.get(i);a||(i!==n.initialDef&&Ua(i,t),To.set(i,a=new Set)),a.add(s),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(a.add(s),s.ceReload(t.styles),a.delete(s)):s.parent?as(()=>{s.job.flags&8||(ct=!0,s.parent.update(),ct=!1,a.delete(s))}):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),s.root.ce&&s!==s.root&&s.root.ce._removeChildStyle(i)}lu(()=>{To.clear()})}function Ua(e,t){Re(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function xs(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Tt,yr=[],Xs=!1;function ro(e,...t){Tt?Tt.emit(e,...t):Xs||yr.push({event:e,args:t})}function qi(e,t){var n,r;Tt=e,Tt?(Tt.enabled=!0,yr.forEach(({event:o,args:s})=>Tt.emit(o,...s)),yr=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{qi(s,t)}),setTimeout(()=>{Tt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Xs=!0,yr=[])},3e3)):(Xs=!0,yr=[])}function Wh(e,t){ro("app:init",e,t,{Fragment:Ve,Text:io,Comment:je,Static:Ao})}function Kh(e){ro("app:unmount",e)}const qh=Gi("component:added"),du=Gi("component:updated"),Gh=Gi("component:removed"),Yh=e=>{Tt&&typeof Tt.cleanupBuffer=="function"&&!Tt.cleanupBuffer(e)&&Gh(e)};function Gi(e){return t=>{ro(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Jh=pu("perf:start"),Xh=pu("perf:end");function pu(e){return(t,n,r)=>{ro(e,t.appContext.app,t.uid,t,n,r)}}function Zh(e,t,n){ro("component:emit",e.appContext.app,e,t,n)}let ze=null,hu=null;function Lo(e){const t=ze;return ze=e,hu=e&&e.type.__scopeId||null,t}function le(e,t=ze,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Ho(-1);const s=Lo(t);let i;try{i=e(...o)}finally{Lo(s),r._d&&Ho(1)}return process.env.NODE_ENV!=="production"&&du(t),i};return r._n=!0,r._c=!0,r._d=!0,r}function mu(e){Gp(e)&&U("Do not use built-in directive ids as custom directive id: "+e)}function or(e,t){if(ze===null)return process.env.NODE_ENV!=="production"&&U("withDirectives can only be used inside render functions."),e;const n=us(ze),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Te]=t[o];s&&(ue(s)&&(s={mounted:s,updated:s}),s.deep&&Xt(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function hn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&($t(),xt(l,n,8,[e.el,a,e,t]),It())}}function kr(e,t){if(process.env.NODE_ENV!=="production"&&(!He||He.isMounted)&&U("provide() can only be used inside setup()."),He){let n=He.provides;const r=He.parent&&He.parent.provides;r===n&&(n=He.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=Rt();if(r||An){let o=An?An._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ue(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&U(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&U("inject() can only be used inside setup() or functional components.")}function Qh(){return!!(Rt()||An)}const e0=Symbol.for("v-scx"),t0=()=>{{const e=dt(e0);return e||process.env.NODE_ENV!=="production"&&U("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Xe(e,t,n){return process.env.NODE_ENV!=="production"&&!ue(t)&&U("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),gu(e,t,n)}function gu(e,t,n=Te){const{immediate:r,deep:o,flush:s,once:i}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&U('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&U('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&U('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=Re({},n);process.env.NODE_ENV!=="production"&&(a.onWarn=U);const l=t&&r||!t&&s!=="post";let u;if(Ur){if(s==="sync"){const g=t0();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!l){const g=()=>{};return g.stop=Ge,g.resume=Ge,g.pause=Ge,g}}const c=He;a.call=(g,b,p)=>xt(g,c,b,p);let f=!1;s==="post"?a.scheduler=g=>{ot(g,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(g,b)=>{b?g():as(g)}),a.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,c&&(g.id=c.uid,g.i=c))};const h=$h(e,t,a);return Ur&&(u?u.push(h):l&&h()),h}function n0(e,t,n){const r=this.proxy,o=Ne(e)?e.includes(".")?vu(r,e):()=>r[e]:e.bind(r,r);let s;ue(t)?s=t:(s=t.handler,n=t);const i=lo(this),a=gu(o,s.bind(r),n);return i(),a}function vu(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const cn=new WeakMap,_u=Symbol("_vte"),yu=e=>e.__isTeleport,Zt=e=>e&&(e.disabled||e.disabled===""),r0=e=>e&&(e.defer||e.defer===""),Ha=e=>typeof SVGElement<"u"&&e instanceof SVGElement,za=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Zs=(e,t)=>{const n=e&&e.to;if(Ne(n))if(t){const r=t(n);return process.env.NODE_ENV!=="production"&&!r&&!Zt(e)&&U(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),r}else return process.env.NODE_ENV!=="production"&&U("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!Zt(e)&&U(`Invalid Teleport target: ${n}`),n},o0={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:c,pc:f,pbc:h,o:{insert:g,querySelector:b,createText:p,createComment:v,parentNode:C}}=u,T=Zt(t.props);let{dynamicChildren:k}=t;process.env.NODE_ENV!=="production"&&ct&&(l=!1,k=null);const Y=($,ne,R)=>{$.shapeFlag&16&&c($.children,ne,R,o,s,i,a,l)},N=($=t)=>{const ne=Zt($.props),R=$.target=Zs($.props,b),x=Qs(R,$,p,g);R?(i!=="svg"&&Ha(R)?i="svg":i!=="mathml"&&za(R)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(R),ne||(Y($,R,x),wr($,!1))):process.env.NODE_ENV!=="production"&&!ne&&U("Invalid Teleport target on mount:",R,`(${typeof R})`)},K=$=>{const ne=()=>{if(cn.get($)===ne){if(cn.delete($),Zt($.props)){const R=C($.el)||n;Y($,R,$.anchor),wr($,!0)}N($)}};cn.set($,ne),ot(ne,s)};if(e==null){const $=t.el=process.env.NODE_ENV!=="production"?v("teleport start"):p(""),ne=t.anchor=process.env.NODE_ENV!=="production"?v("teleport end"):p("");if(g($,n,r),g(ne,n,r),r0(t.props)||s&&s.pendingBranch){K(t);return}T&&(Y(t,n,ne),wr(t,!0)),N()}else{t.el=e.el;const $=t.anchor=e.anchor,ne=cn.get(e);if(ne){ne.flags|=8,cn.delete(e),K(t);return}t.targetStart=e.targetStart;const R=t.target=e.target,x=t.targetAnchor=e.targetAnchor,y=Zt(e.props),A=y?n:R,te=y?$:x;if(i==="svg"||Ha(R)?i="svg":(i==="mathml"||za(R))&&(i="mathml"),k?(h(e.dynamicChildren,k,A,o,s,i,a),Dr(e,t,process.env.NODE_ENV==="production")):l||f(e,t,A,te,o,s,i,a,!1),T)y?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):wo(t,n,$,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const j=t.target=Zs(t.props,b);j?wo(t,j,null,u,0):process.env.NODE_ENV!=="production"&&U("Invalid Teleport target on update:",R,`(${typeof R})`)}else y&&wo(t,R,x,u,1);wr(t,T)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:h}=e,g=s||!Zt(h),b=cn.get(e);if(b&&(b.flags|=8,cn.delete(e)),f&&(o(u),o(c)),s&&o(l),!b&&i&16)for(let p=0;p<a.length;p++){const v=a[p];r(v,t,n,g,!!v.dynamicChildren)}},move:wo,hydrate:s0};function wo(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=s===2;if(f&&r(i,t,n),!cn.has(e)&&(!f||Zt(c))&&l&16)for(let h=0;h<u.length;h++)o(u[h],t,n,2);f&&r(a,t,n)}function s0(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){function h(v,C){let T=C;for(;T;){if(T&&T.nodeType===8){if(T.data==="teleport start anchor")t.targetStart=T;else if(T.data==="teleport anchor"){t.targetAnchor=T,v._lpa=t.targetAnchor&&i(t.targetAnchor);break}}T=i(T)}}function g(v,C){C.anchor=f(i(v),C,a(v),n,r,o,s)}const b=t.target=Zs(t.props,l),p=Zt(t.props);if(b){const v=b._lpa||b.firstChild;t.shapeFlag&16&&(p?(g(e,t),h(b,v),t.targetAnchor||Qs(b,t,c,u,a(e)===b?e:null)):(t.anchor=i(e),h(b,v),t.targetAnchor||Qs(b,t,c,u),f(v&&i(v),t,b,n,r,o,s))),wr(t,p)}else p&&t.shapeFlag&16&&(g(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const i0=o0;function wr(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Qs(e,t,n,r,o=null){const s=t.targetStart=n(""),i=t.targetAnchor=n("");return s[_u]=i,e&&(r(s,e,o),r(i,e,o)),i}const Ot=Symbol("_leaveCb"),pr=Symbol("_enterCb");function a0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ln(()=>{e.isMounted=!0}),Yi(()=>{e.isUnmounting=!0}),e}const wt=[Function,Array],wu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wt,onEnter:wt,onAfterEnter:wt,onEnterCancelled:wt,onBeforeLeave:wt,onLeave:wt,onAfterLeave:wt,onLeaveCancelled:wt,onBeforeAppear:wt,onAppear:wt,onAfterAppear:wt,onAppearCancelled:wt},bu=e=>{const t=e.subTree;return t.component?bu(t.component):t},l0={name:"BaseTransition",props:wu,setup(e,{slots:t}){const n=Rt(),r=a0();return()=>{const o=t.default&&Nu(t.default(),!0),s=o&&o.length?Eu(o):n.subTree?Oe():void 0;if(!s)return;const i=pe(e),{mode:a}=i;if(process.env.NODE_ENV!=="production"&&a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&U(`invalid <transition> mode: ${a}`),r.isLeaving)return Cs(s);const l=Wa(s);if(!l)return Cs(s);let u=ei(l,i,r,n,f=>u=f);l.type!==je&&jr(l,u);let c=n.subTree&&Wa(n.subTree);if(c&&c.type!==je&&!En(c,l)&&bu(n).type!==je){let f=ei(c,i,r,n);if(jr(c,f),a==="out-in"&&l.type!==je)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Cs(s);a==="in-out"&&l.type!==je?f.delayLeave=(h,g,b)=>{const p=Ou(r,c);p[String(c.key)]=c,h[Ot]=()=>{g(),h[Ot]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{b(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function Eu(e){let t=e[0];if(e.length>1){let n=!1;for(const r of e)if(r.type!==je){if(process.env.NODE_ENV!=="production"&&n){U("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=r,n=!0,process.env.NODE_ENV==="production")break}}return t}const c0=l0;function Ou(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ei(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:g,onAfterLeave:b,onLeaveCancelled:p,onBeforeAppear:v,onAppear:C,onAfterAppear:T,onAppearCancelled:k}=t,Y=String(e.key),N=Ou(n,e),K=(R,x)=>{R&&xt(R,r,9,x)},$=(R,x)=>{const y=x[1];K(R,x),ae(R)?R.every(A=>A.length<=1)&&y():R.length<=1&&y()},ne={mode:i,persisted:a,beforeEnter(R){let x=l;if(!n.isMounted)if(s)x=v||l;else return;R[Ot]&&R[Ot](!0);const y=N[Y];y&&En(e,y)&&y.el[Ot]&&y.el[Ot](),K(x,[R])},enter(R){if(!ct&&N[Y]===e)return;let x=u,y=c,A=f;if(!n.isMounted)if(s)x=C||u,y=T||c,A=k||f;else return;let te=!1;R[pr]=I=>{te||(te=!0,I?K(A,[R]):K(y,[R]),ne.delayedLeave&&ne.delayedLeave(),R[pr]=void 0)};const j=R[pr].bind(null,!1);x?$(x,[R,j]):j()},leave(R,x){const y=String(e.key);if(R[pr]&&R[pr](!0),n.isUnmounting)return x();K(h,[R]);let A=!1;R[Ot]=j=>{A||(A=!0,x(),j?K(p,[R]):K(b,[R]),R[Ot]=void 0,N[y]===e&&delete N[y])};const te=R[Ot].bind(null,!1);N[y]=e,g?$(g,[R,te]):te()},clone(R){const x=ei(R,t,n,r,o);return o&&o(x),x}};return ne}function Cs(e){if(oo(e))return e=Wt(e),e.children=null,e}function Wa(e){if(!oo(e))return yu(e.type)&&e.children?Eu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ue(n.default))return n.default()}}function jr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,jr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Nu(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Ve?(i.patchFlag&128&&o++,r=r.concat(Nu(i.children,t,a))):(t||i.type!==je)&&r.push(a!=null?Wt(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function De(e,t){return ue(e)?Re({name:e.name},t,{setup:e}):e}function Su(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Ka=new WeakSet;function qa(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Fo=new WeakMap;function Tr(e,t,n,r,o=!1){if(ae(e)){e.forEach((p,v)=>Tr(p,t&&(ae(t)?t[v]:t),n,r,o));return}if(Qn(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Tr(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?us(r.component):r.el,i=o?null:s,{i:a,r:l}=e;if(process.env.NODE_ENV!=="production"&&!a){U("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const u=t&&t.r,c=a.refs===Te?a.refs={}:a.refs,f=a.setupState,h=pe(f),g=f===Te?Ac:p=>process.env.NODE_ENV!=="production"&&(_e(h,p)&&!xe(h[p])&&U(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),Ka.has(h[p]))||qa(c,p)?!1:_e(h,p),b=(p,v)=>!(process.env.NODE_ENV!=="production"&&Ka.has(p)||v&&qa(c,v));if(u!=null&&u!==l){if(Ga(t),Ne(u))c[u]=null,g(u)&&(f[u]=null);else if(xe(u)){const p=t;b(u,p.k)&&(u.value=null),p.k&&(c[p.k]=null)}}if(ue(l))cr(l,a,12,[i,c]);else{const p=Ne(l),v=xe(l);if(p||v){const C=()=>{if(e.f){const T=p?g(l)?f[l]:c[l]:b(l)||!e.k?l.value:c[e.k];if(o)ae(T)&&Vi(T,s);else if(ae(T))T.includes(s)||T.push(s);else if(p)c[l]=[s],g(l)&&(f[l]=c[l]);else{const k=[s];b(l,e.k)&&(l.value=k),e.k&&(c[e.k]=k)}}else p?(c[l]=i,g(l)&&(f[l]=i)):v?(b(l,e.k)&&(l.value=i),e.k&&(c[e.k]=i)):process.env.NODE_ENV!=="production"&&U("Invalid template ref type:",l,`(${typeof l})`)};if(i){const T=()=>{C(),Fo.delete(e)};T.id=-1,Fo.set(e,T),ot(T,n)}else Ga(e),C()}else process.env.NODE_ENV!=="production"&&U("Invalid template ref type:",l,`(${typeof l})`)}}function Ga(e){const t=Fo.get(e);t&&(t.flags|=8,Fo.delete(e))}to().requestIdleCallback;to().cancelIdleCallback;const Qn=e=>!!e.type.__asyncLoader,oo=e=>e.type.__isKeepAlive;function u0(e,t){xu(e,"a",t)}function f0(e,t){xu(e,"da",t)}function xu(e,t,n=He){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ls(t,r,n),n){let o=n.parent;for(;o&&o.parent;)oo(o.parent.vnode)&&d0(r,t,n,o),o=o.parent}}function d0(e,t,n,r){const o=ls(t,e,r,!0);so(()=>{Vi(r[t],o)},n)}function ls(e,t,n=He,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{$t();const a=lo(n),l=xt(t,n,e,i);return a(),It(),l});return r?o.unshift(s):o.push(s),s}else if(process.env.NODE_ENV!=="production"){const o=wn(Wi[e].replace(/ hook$/,""));U(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const nn=e=>(t,n=He)=>{(!Ur||e==="sp")&&ls(e,(...r)=>t(...r),n)},p0=nn("bm"),Ln=nn("m"),h0=nn("bu"),m0=nn("u"),Yi=nn("bum"),so=nn("um"),g0=nn("sp"),v0=nn("rtg"),_0=nn("rtc");function y0(e,t=He){ls("ec",e,t)}const ko="components",w0="directives";function Ie(e,t){return Ji(ko,e,!0,t)||e}const Cu=Symbol.for("v-ndc");function b0(e){return Ne(e)?Ji(ko,e,!1)||e:e||Cu}function Tu(e){return Ji(w0,e)}function Ji(e,t,n=!0,r=!1){const o=ze||He;if(o){const s=o.type;if(e===ko){const a=na(s,!1);if(a&&(a===t||a===Ze(t)||a===Pn(Ze(t))))return s}const i=Ya(o[e]||s[e],t)||Ya(o.appContext[e],t);if(!i&&r)return s;if(process.env.NODE_ENV!=="production"&&n&&!i){const a=e===ko?`
|
|
25
|
-
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";U(`Failed to resolve ${e.slice(0,-1)}: ${t}${a}`)}return i}else process.env.NODE_ENV!=="production"&&U(`resolve${Pn(e.slice(0,-1))} can only be used in render() or setup().`)}function Ya(e,t){return e&&(e[t]||e[Ze(t)]||e[Pn(Ze(t))])}function Ar(e,t,n,r){let o;const s=n,i=ae(e);if(i||Ne(e)){const a=i&&St(e);let l=!1,u=!1;a&&(l=!nt(e),u=Mt(e),e=os(e)),o=new Array(e.length);for(let c=0,f=e.length;c<f;c++)o[c]=t(l?u?nr(Vt(e[c])):Vt(e[c]):e[c],c,void 0,s)}else if(typeof e=="number")if(process.env.NODE_ENV!=="production"&&(!Number.isInteger(e)||e<0))U(`The v-for range expects a positive integer value but got ${e}.`),o=[];else{o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s)}else if(ye(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];o[l]=t(e[c],c,l,s)}}else o=[];return o}function en(e,t,n={},r,o){if(ze.ce||ze.parent&&Qn(ze.parent)&&ze.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),G(),Ee(Ve,null,[ee("slot",n,r&&r())],u?-2:64)}let s=e[t];process.env.NODE_ENV!=="production"&&s&&s.length>1&&(U("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),G();const i=s&&Au(s(n)),a=n.key||i&&i.key,l=Ee(Ve,{key:(a&&!pt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Au(e){return e.some(t=>tn(t)?!(t.type===je||t.type===Ve&&!Au(t.children)):!0)?e:null}const ti=e=>e?Zu(e)?us(e):ti(e.parent):null,Tn=Re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?At(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?At(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?At(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?At(e.refs):e.refs,$parent:e=>ti(e.parent),$root:e=>ti(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$u(e),$forceUpdate:e=>e.f||(e.f=()=>{as(e.update)}),$nextTick:e=>e.n||(e.n=rr.bind(e.proxy)),$watch:e=>n0.bind(e)}),Xi=e=>e==="_"||e==="$",Ts=(e,t)=>e!==Te&&!e.__isScriptSetup&&_e(e,t),Du={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Ts(r,t))return i[t]=1,r[t];if(o!==Te&&_e(o,t))return i[t]=2,o[t];if(_e(s,t))return i[t]=3,s[t];if(n!==Te&&_e(n,t))return i[t]=4,n[t];ni&&(i[t]=0)}}const u=Tn[t];let c,f;if(u)return t==="$attrs"?(qe(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&Bo()):process.env.NODE_ENV!=="production"&&t==="$slots"&&qe(e,"get",t),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Te&&_e(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,_e(f,t))return f[t];process.env.NODE_ENV!=="production"&&ze&&(!Ne(t)||t.indexOf("__v")!==0)&&(o!==Te&&Xi(t[0])&&_e(o,t)?U(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ze&&U(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ts(o,t)?(o[t]=n,!0):process.env.NODE_ENV!=="production"&&o.__isScriptSetup&&_e(o,t)?(U(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==Te&&_e(r,t)?(r[t]=n,!0):_e(e.props,t)?(process.env.NODE_ENV!=="production"&&U(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&U(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let l;return!!(n[a]||e!==Te&&a[0]!=="$"&&_e(e,a)||Ts(t,a)||_e(s,a)||_e(r,a)||_e(Tn,a)||_e(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:_e(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(Du.ownKeys=e=>(U("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function E0(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(Tn).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>Tn[n](e),set:Ge})}),t}function O0(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(r=>{Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e.props[r],set:Ge})})}function N0(e){const{ctx:t,setupState:n}=e;Object.keys(pe(n)).forEach(r=>{if(!n.__isScriptSetup){if(Xi(r[0])){U(`setup() return property ${JSON.stringify(r)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>n[r],set:Ge})}})}function Ja(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function S0(){const e=Object.create(null);return(t,n)=>{e[n]?U(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let ni=!0;function x0(e){const t=$u(e),n=e.proxy,r=e.ctx;ni=!1,t.beforeCreate&&Xa(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:g,updated:b,activated:p,deactivated:v,beforeDestroy:C,beforeUnmount:T,destroyed:k,unmounted:Y,render:N,renderTracked:K,renderTriggered:$,errorCaptured:ne,serverPrefetch:R,expose:x,inheritAttrs:y,components:A,directives:te,filters:j}=t,I=process.env.NODE_ENV!=="production"?S0():null;if(process.env.NODE_ENV!=="production"){const[B]=e.propsOptions;if(B)for(const P in B)I("Props",P)}if(u&&C0(u,r,I),i)for(const B in i){const P=i[B];ue(P)?(process.env.NODE_ENV!=="production"?Object.defineProperty(r,B,{value:P.bind(n),configurable:!0,enumerable:!0,writable:!0}):r[B]=P.bind(n),process.env.NODE_ENV!=="production"&&I("Methods",B)):process.env.NODE_ENV!=="production"&&U(`Method "${B}" has type "${typeof P}" in the component definition. Did you reference the function correctly?`)}if(o){process.env.NODE_ENV!=="production"&&!ue(o)&&U("The data option must be a function. Plain object usage is no longer supported.");const B=o.call(n,n);if(process.env.NODE_ENV!=="production"&&Ri(B)&&U("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!ye(B))process.env.NODE_ENV!=="production"&&U("data() should return an object.");else if(e.data=lr(B),process.env.NODE_ENV!=="production")for(const P in B)I("Data",P),Xi(P[0])||Object.defineProperty(r,P,{configurable:!0,enumerable:!0,get:()=>B[P],set:Ge})}if(ni=!0,s)for(const B in s){const P=s[B],X=ue(P)?P.bind(n,n):ue(P.get)?P.get.bind(n,n):Ge;process.env.NODE_ENV!=="production"&&X===Ge&&U(`Computed property "${B}" has no getter.`);const E=!ue(P)&&ue(P.set)?P.set.bind(n):process.env.NODE_ENV!=="production"?()=>{U(`Write operation failed: computed property "${B}" is readonly.`)}:Ge,H=oe({get:X,set:E});Object.defineProperty(r,B,{enumerable:!0,configurable:!0,get:()=>H.value,set:q=>H.value=q}),process.env.NODE_ENV!=="production"&&I("Computed",B)}if(a)for(const B in a)Pu(a[B],r,n,B);if(l){const B=ue(l)?l.call(n):l;Reflect.ownKeys(B).forEach(P=>{kr(P,B[P])})}c&&Xa(c,e,"c");function D(B,P){ae(P)?P.forEach(X=>B(X.bind(n))):P&&B(P.bind(n))}if(D(p0,f),D(Ln,h),D(h0,g),D(m0,b),D(u0,p),D(f0,v),D(y0,ne),D(_0,K),D(v0,$),D(Yi,T),D(so,Y),D(g0,R),ae(x))if(x.length){const B=e.exposed||(e.exposed={});x.forEach(P=>{Object.defineProperty(B,P,{get:()=>n[P],set:X=>n[P]=X,enumerable:!0})})}else e.exposed||(e.exposed={});N&&e.render===Ge&&(e.render=N),y!=null&&(e.inheritAttrs=y),A&&(e.components=A),te&&(e.directives=te),R&&Su(e)}function C0(e,t,n=Ge){ae(e)&&(e=ri(e));for(const r in e){const o=e[r];let s;ye(o)?"default"in o?s=dt(o.from||r,o.default,!0):s=dt(o.from||r):s=dt(o),xe(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s,process.env.NODE_ENV!=="production"&&n("Inject",r)}}function Xa(e,t,n){xt(ae(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pu(e,t,n,r){let o=r.includes(".")?vu(n,r):()=>n[r];if(Ne(e)){const s=t[e];ue(s)?Xe(o,s):process.env.NODE_ENV!=="production"&&U(`Invalid watch handler specified by key "${e}"`,s)}else if(ue(e))Xe(o,e.bind(n));else if(ye(e))if(ae(e))e.forEach(s=>Pu(s,t,n,r));else{const s=ue(e.handler)?e.handler.bind(n):t[e.handler];ue(s)?Xe(o,s,e):process.env.NODE_ENV!=="production"&&U(`Invalid watch handler specified by key "${e.handler}"`,s)}else process.env.NODE_ENV!=="production"&&U(`Invalid watch option: "${r}"`,e)}function $u(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>jo(l,u,i,!0)),jo(l,t,i)),ye(t)&&s.set(t,l),l}function jo(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&jo(e,s,n,!0),o&&o.forEach(i=>jo(e,i,n,!0));for(const i in t)if(r&&i==="expose")process.env.NODE_ENV!=="production"&&U('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=T0[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const T0={data:Za,props:Qa,emits:Qa,methods:br,computed:br,beforeCreate:rt,created:rt,beforeMount:rt,mounted:rt,beforeUpdate:rt,updated:rt,beforeDestroy:rt,beforeUnmount:rt,destroyed:rt,unmounted:rt,activated:rt,deactivated:rt,errorCaptured:rt,serverPrefetch:rt,components:br,directives:br,watch:D0,provide:Za,inject:A0};function Za(e,t){return t?e?function(){return Re(ue(e)?e.call(this,this):e,ue(t)?t.call(this,this):t)}:t:e}function A0(e,t){return br(ri(e),ri(t))}function ri(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function rt(e,t){return e?[...new Set([].concat(e,t))]:t}function br(e,t){return e?Re(Object.create(null),e,t):t}function Qa(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:Re(Object.create(null),Ja(e),Ja(t??{})):t}function D0(e,t){if(!e)return t;if(!t)return e;const n=Re(Object.create(null),e);for(const r in t)n[r]=rt(e[r],t[r]);return n}function Iu(){return{app:null,config:{isNativeTag:Ac,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let P0=0;function $0(e,t){return function(r,o=null){ue(r)||(r=Re({},r)),o!=null&&!ye(o)&&(process.env.NODE_ENV!=="production"&&U("root props passed to app.mount() must be an object."),o=null);const s=Iu(),i=new WeakSet,a=[];let l=!1;const u=s.app={_uid:P0++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:ul,get config(){return s.config},set config(c){process.env.NODE_ENV!=="production"&&U("app.config cannot be replaced. Modify individual options instead.")},use(c,...f){return i.has(c)?process.env.NODE_ENV!=="production"&&U("Plugin has already been applied to target app."):c&&ue(c.install)?(i.add(c),c.install(u,...f)):ue(c)?(i.add(c),c(u,...f)):process.env.NODE_ENV!=="production"&&U('A plugin must either be a function or an object with an "install" function.'),u},mixin(c){return s.mixins.includes(c)?process.env.NODE_ENV!=="production"&&U("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):s.mixins.push(c),u},component(c,f){return process.env.NODE_ENV!=="production"&&li(c,s.config),f?(process.env.NODE_ENV!=="production"&&s.components[c]&&U(`Component "${c}" has already been registered in target app.`),s.components[c]=f,u):s.components[c]},directive(c,f){return process.env.NODE_ENV!=="production"&&mu(c),f?(process.env.NODE_ENV!=="production"&&s.directives[c]&&U(`Directive "${c}" has already been registered in target app.`),s.directives[c]=f,u):s.directives[c]},mount(c,f,h){if(l)process.env.NODE_ENV!=="production"&&U("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&c.__vue_app__&&U("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const g=u._ceVNode||ee(r,o);return g.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),process.env.NODE_ENV!=="production"&&(s.reload=()=>{const b=Wt(g);b.el=null,e(b,c,h)}),e(g,c,h),l=!0,u._container=c,c.__vue_app__=u,process.env.NODE_ENV!=="production"&&(u._instance=g.component,Wh(u,ul)),us(g.component)}},onUnmount(c){process.env.NODE_ENV!=="production"&&typeof c!="function"&&U(`Expected function as first argument to app.onUnmount(), but got ${typeof c}`),a.push(c)},unmount(){l?(xt(a,u._instance,16),e(null,u._container),process.env.NODE_ENV!=="production"&&(u._instance=null,Kh(u)),delete u._container.__vue_app__):process.env.NODE_ENV!=="production"&&U("Cannot unmount an app that is not mounted.")},provide(c,f){return process.env.NODE_ENV!=="production"&&c in s.provides&&(_e(s.provides,c)?U(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`):U(`App already provides property with key "${String(c)}" inherited from its parent element. It will be overwritten with the new value.`)),s.provides[c]=f,u},runWithContext(c){const f=An;An=u;try{return c()}finally{An=f}}};return u}}let An=null;const I0=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ze(t)}Modifiers`]||e[`${Qt(t)}Modifiers`];function M0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Te;if(process.env.NODE_ENV!=="production"){const{emitsOptions:c,propsOptions:[f]}=e;if(c)if(!(t in c))(!f||!(wn(Ze(t))in f))&&U(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${wn(Ze(t))}" prop.`);else{const h=c[t];ue(h)&&(h(...n)||U(`Invalid event arguments: event validation failed for event "${t}".`))}}let o=n;const s=t.startsWith("update:"),i=s&&I0(r,t.slice(7));if(i&&(i.trim&&(o=n.map(c=>Ne(c)?c.trim():c)),i.number&&(o=n.map(Xp))),process.env.NODE_ENV!=="production"&&Zh(e,t,o),process.env.NODE_ENV!=="production"){const c=t.toLowerCase();c!==t&&r[wn(c)]&&U(`Event "${c}" is emitted in component ${co(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Qt(t)}" instead of "${t}".`)}let a,l=r[a=wn(t)]||r[a=wn(Ze(t))];!l&&s&&(l=r[a=wn(Qt(t))]),l&&xt(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,xt(u,e,6,o)}}const V0=new WeakMap;function Mu(e,t,n=!1){const r=n?V0:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!ue(e)){const l=u=>{const c=Mu(u,t,!0);c&&(a=!0,Re(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(ye(e)&&r.set(e,null),null):(ae(s)?s.forEach(l=>i[l]=null):Re(i,s),ye(e)&&r.set(e,i),i)}function cs(e,t){return!e||!Qr(t)?!1:(t=t.slice(2).replace(/Once$/,""),_e(e,t[0].toLowerCase()+t.slice(1))||_e(e,Qt(t))||_e(e,t))}let oi=!1;function Bo(){oi=!0}function el(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:g,ctx:b,inheritAttrs:p}=e,v=Lo(e);let C,T;process.env.NODE_ENV!=="production"&&(oi=!1);try{if(n.shapeFlag&4){const N=o||r,K=process.env.NODE_ENV!=="production"&&g.__isScriptSetup?new Proxy(N,{get($,ne,R){return U(`Property '${String(ne)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get($,ne,R)}}):N;C=Ct(u.call(K,N,c,process.env.NODE_ENV!=="production"?At(f):f,g,h,b)),T=a}else{const N=t;process.env.NODE_ENV!=="production"&&a===f&&Bo(),C=Ct(N.length>1?N(process.env.NODE_ENV!=="production"?At(f):f,process.env.NODE_ENV!=="production"?{get attrs(){return Bo(),At(a)},slots:i,emit:l}:{attrs:a,slots:i,emit:l}):N(process.env.NODE_ENV!=="production"?At(f):f,null)),T=t.props?a:R0(a)}}catch(N){Pr.length=0,no(N,e,1),C=ee(je)}let k=C,Y;if(process.env.NODE_ENV!=="production"&&C.patchFlag>0&&C.patchFlag&2048&&([k,Y]=Vu(C)),T&&p!==!1){const N=Object.keys(T),{shapeFlag:K}=k;if(N.length){if(K&7)s&&N.some(Vr)&&(T=L0(T,s)),k=Wt(k,T,!1,!0);else if(process.env.NODE_ENV!=="production"&&!oi&&k.type!==je){const $=Object.keys(a),ne=[],R=[];for(let x=0,y=$.length;x<y;x++){const A=$[x];Qr(A)?Vr(A)||ne.push(A[2].toLowerCase()+A.slice(3)):R.push(A)}R.length&&U(`Extraneous non-props attributes (${R.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),ne.length&&U(`Extraneous non-emits event listeners (${ne.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!tl(k)&&U("Runtime directive used on component with non-element root node. The directives will not function as intended."),k=Wt(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!tl(k)&&U("Component inside <Transition> renders non-element root node that cannot be animated."),jr(k,n.transition)),process.env.NODE_ENV!=="production"&&Y?Y(k):C=k,Lo(v),C}const Vu=e=>{const t=e.children,n=e.dynamicChildren,r=Zi(t,!1);if(r){if(process.env.NODE_ENV!=="production"&&r.patchFlag>0&&r.patchFlag&2048)return Vu(r)}else return[e,void 0];const o=t.indexOf(r),s=n?n.indexOf(r):-1,i=a=>{t[o]=a,n&&(s>-1?n[s]=a:a.patchFlag>0&&(e.dynamicChildren=[...n,a]))};return[Ct(r),i]};function Zi(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(tn(o)){if(o.type!==je||o.children==="v-if"){if(n)return;if(n=o,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return Zi(n.children)}}else return}return n}const R0=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qr(n))&&((t||(t={}))[n]=e[n]);return t},L0=(e,t)=>{const n={};for(const r in e)(!Vr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n},tl=e=>e.shapeFlag&7||e.type===je;function F0(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,u=s.emitsOptions;if(process.env.NODE_ENV!=="production"&&(o||a)&&ct||t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?nl(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(Ru(i,r,h)&&!cs(u,h))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?nl(r,i,u):!0:!!i;return!1}function nl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(Ru(t,e,s)&&!cs(n,s))return!0}return!1}function Ru(e,t,n){const r=e[n],o=t[n];return n==="style"&&ye(r)&&ye(o)?!Fi(r,o):r!==o}function k0({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const Lu={},Fu=()=>Object.create(Lu),ku=e=>Object.getPrototypeOf(e)===Lu;function j0(e,t,n,r=!1){const o={},s=Fu();e.propsDefaults=Object.create(null),ju(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);process.env.NODE_ENV!=="production"&&Uu(t||{},o,e),n?e.props=r?o:zi(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function B0(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function U0(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=pe(o),[l]=e.propsOptions;let u=!1;if(!(process.env.NODE_ENV!=="production"&&B0(e))&&(r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(cs(e.emitsOptions,h))continue;const g=t[h];if(l)if(_e(s,h))g!==s[h]&&(s[h]=g,u=!0);else{const b=Ze(h);o[b]=si(l,a,b,g,e,!1)}else g!==s[h]&&(s[h]=g,u=!0)}}}else{ju(e,t,o,s)&&(u=!0);let c;for(const f in a)(!t||!_e(t,f)&&((c=Qt(f))===f||!_e(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(o[f]=si(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!_e(t,f))&&(delete s[f],u=!0)}u&&zt(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&Uu(t||{},o,e)}function ju(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Sr(l))continue;const u=t[l];let c;o&&_e(o,c=Ze(l))?!s||!s.includes(c)?n[c]=u:(a||(a={}))[c]=u:cs(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(s){const l=pe(n),u=a||Te;for(let c=0;c<s.length;c++){const f=s[c];n[f]=si(o,l,f,u[f],e,!_e(u,f))}}return i}function si(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=_e(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ue(l)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const c=lo(o);r=u[n]=l.call(null,t),c()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Qt(n))&&(r=!0))}return r}const H0=new WeakMap;function Bu(e,t,n=!1){const r=n?H0:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!ue(e)){const c=f=>{l=!0;const[h,g]=Bu(f,t,!0);Re(i,h),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return ye(e)&&r.set(e,Jn),Jn;if(ae(s))for(let c=0;c<s.length;c++){process.env.NODE_ENV!=="production"&&!Ne(s[c])&&U("props must be strings when using array syntax.",s[c]);const f=Ze(s[c]);rl(f)&&(i[f]=Te)}else if(s){process.env.NODE_ENV!=="production"&&!ye(s)&&U("invalid props options",s);for(const c in s){const f=Ze(c);if(rl(f)){const h=s[c],g=i[f]=ae(h)||ue(h)?{type:h}:Re({},h),b=g.type;let p=!1,v=!0;if(ae(b))for(let C=0;C<b.length;++C){const T=b[C],k=ue(T)&&T.name;if(k==="Boolean"){p=!0;break}else k==="String"&&(v=!1)}else p=ue(b)&&b.name==="Boolean";g[0]=p,g[1]=v,(p||_e(g,"default"))&&a.push(f)}}}const u=[i,a];return ye(e)&&r.set(e,u),u}function rl(e){return e[0]!=="$"&&!Sr(e)?!0:(process.env.NODE_ENV!=="production"&&U(`Invalid prop name: "${e}" is a reserved property.`),!1)}function z0(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Uu(e,t,n){const r=pe(t),o=n.propsOptions[0],s=Object.keys(e).map(i=>Ze(i));for(const i in o){let a=o[i];a!=null&&W0(i,r[i],a,process.env.NODE_ENV!=="production"?At(r):r,!s.includes(i))}}function W0(e,t,n,r,o){const{type:s,required:i,validator:a,skipCheck:l}=n;if(i&&o){U('Missing required prop: "'+e+'"');return}if(!(t==null&&!i)){if(s!=null&&s!==!0&&!l){let u=!1;const c=ae(s)?s:[s],f=[];for(let h=0;h<c.length&&!u;h++){const{valid:g,expectedType:b}=q0(t,c[h]);f.push(b||""),u=g}if(!u){U(G0(e,t,f));return}}a&&!a(t,r)&&U('Invalid prop: custom validator check failed for prop "'+e+'".')}}const K0=ar("String,Number,Boolean,Function,Symbol,BigInt");function q0(e,t){let n;const r=z0(t);if(r==="null")n=e===null;else if(K0(r)){const o=typeof e;n=o===r.toLowerCase(),!n&&o==="object"&&(n=e instanceof t)}else r==="Object"?n=ye(e):r==="Array"?n=ae(e):n=e instanceof t;return{valid:n,expectedType:r}}function G0(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let r=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(Pn).join(" | ")}`;const o=n[0],s=Li(t),i=ol(t,o),a=ol(t,s);return n.length===1&&sl(o)&&Y0(o,s)&&(r+=` with value ${i}`),r+=`, got ${s} `,sl(s)&&(r+=`with value ${a}.`),r}function ol(e,t){return pt(e)?e.toString():t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function sl(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Y0(...e){return e.every(t=>{const n=t.toLowerCase();return n!=="boolean"&&n!=="symbol"})}const Qi=e=>e==="_"||e==="_ctx"||e==="$stable",ea=e=>ae(e)?e.map(Ct):[Ct(e)],J0=(e,t,n)=>{if(t._n)return t;const r=le((...o)=>(process.env.NODE_ENV!=="production"&&He&&!(n===null&&ze)&&!(n&&n.root!==He.root)&&U(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),ea(t(...o))),n);return r._c=!1,r},Hu=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Qi(o))continue;const s=e[o];if(ue(s))t[o]=J0(o,s,r);else if(s!=null){process.env.NODE_ENV!=="production"&&U(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const i=ea(s);t[o]=()=>i}}},zu=(e,t)=>{process.env.NODE_ENV!=="production"&&!oo(e.vnode)&&U("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=ea(t);e.slots.default=()=>n},ii=(e,t,n)=>{for(const r in t)(n||!Qi(r))&&(e[r]=t[r])},X0=(e,t,n)=>{const r=e.slots=Fu();if(e.vnode.shapeFlag&32){const o=t._;o?(ii(r,t,n),n&&$o(r,"_",o,!0)):Hu(t,r)}else t&&zu(e,t)},Z0=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Te;if(r.shapeFlag&32){const a=t._;a?process.env.NODE_ENV!=="production"&&ct?(ii(o,t,n),zt(e,"set","$slots")):n&&a===1?s=!1:ii(o,t,n):(s=!t.$stable,Hu(t,o)),i=t}else t&&(zu(e,t),i={default:1});if(s)for(const a in o)!Qi(a)&&i[a]==null&&delete o[a]};let hr,Yt;function zn(e,t){e.appContext.config.performance&&Uo()&&Yt.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Jh(e,t,Uo()?Yt.now():Date.now())}function Wn(e,t){if(e.appContext.config.performance&&Uo()){const n=`vue-${t}-${e.uid}`,r=n+":end",o=`<${co(e,e.type)}> ${t}`;Yt.mark(r),Yt.measure(o,n,r),Yt.clearMeasures(o),Yt.clearMarks(n),Yt.clearMarks(r)}process.env.NODE_ENV!=="production"&&Xh(e,t,Uo()?Yt.now():Date.now())}function Uo(){return hr!==void 0||(typeof window<"u"&&window.performance?(hr=!0,Yt=window.performance):hr=!1),hr}function Q0(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
23
|
+
`,...Mh(o)),console.warn(...s)}Mt(),Cs=!1}function Ih(){let e=Tn[Tn.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Mh(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
24
|
+
`],...Vh(n))}),t}function Vh({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${uo(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Rh(e.props),s]:[o+s]}function Rh(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...su(r,e[r]))}),n.length>3&&t.push(" ..."),t}function su(e,t,n){return Ne(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Se(t)?(t=su(e,ve(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):fe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ve(t),n?t:[`${e}=`,t])}function Lh(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?B(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&B(`${t} is NaN - the duration expression might be incorrect.`))}const qi={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function ur(e,t,n,r){try{return r?e(...r):e()}catch(o){ro(o,t,n)}}function St(e,t,n,r){if(fe(e)){const o=ur(e,t,n,r);return o&&Fi(o)&&o.catch(s=>{ro(s,t,n)}),o}if(le(e)){const o=[];for(let s=0;s<e.length;s++)o.push(St(e[s],t,n,r));return o}else process.env.NODE_ENV!=="production"&&B(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function ro(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ae;if(t){let a=t.parent;const l=t.proxy,u=process.env.NODE_ENV!=="production"?qi[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(s){It(),ur(s,null,10,[e,l,u]),Mt();return}}Fh(e,n,o,r,i)}function Fh(e,t,n,r=!0,o=!1){if(process.env.NODE_ENV!=="production"){const s=qi[t];if(n&&To(n),B(`Unhandled error${s?` during execution of ${s}`:""}`),n&&Ao(),r)throw e;console.error(e)}else{if(o)throw e;console.error(e)}}const lt=[];let jt=-1;const Qn=[];let un=null,Yn=0;const iu=Promise.resolve();let Lo=null;const kh=100;function or(e){const t=Lo||iu;return e?t.then(this?e.bind(this):e):t}function jh(e){let t=jt+1,n=lt.length;for(;t<n;){const r=t+n>>>1,o=lt[r],s=kr(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function cs(e){if(!(e.flags&1)){const t=kr(e),n=lt[lt.length-1];!n||!(e.flags&2)&&t>=kr(n)?lt.push(e):lt.splice(jh(t),0,e),e.flags|=1,au()}}function au(){Lo||(Lo=iu.then(uu))}function lu(e){le(e)?Qn.push(...e):un&&e.id===-1?un.splice(Yn+1,0,e):e.flags&1||(Qn.push(e),e.flags|=1),au()}function ja(e,t,n=jt+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<lt.length;n++){const r=lt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid||process.env.NODE_ENV!=="production"&&Gi(t,r))continue;lt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function cu(e){if(Qn.length){const t=[...new Set(Qn)].sort((n,r)=>kr(n)-kr(r));if(Qn.length=0,un){un.push(...t);return}for(un=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Yn=0;Yn<un.length;Yn++){const n=un[Yn];process.env.NODE_ENV!=="production"&&Gi(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}un=null,Yn=0}}const kr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function uu(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Gi(e,n):qe;try{for(jt=0;jt<lt.length;jt++){const n=lt[jt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),ur(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;jt<lt.length;jt++){const n=lt[jt];n&&(n.flags&=-2)}jt=-1,lt.length=0,cu(e),Lo=null,(lt.length||Qn.length)&&uu(e)}}function Gi(e,t){const n=e.get(t)||0;if(n>kh){const r=t.i,o=r&&oa(r.type);return ro(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let ct=!1;const Ba=e=>{try{return ct}finally{ct=e}},Do=new Map;process.env.NODE_ENV!=="production"&&(no().__VUE_HMR_RUNTIME__={createRecord:Ts(fu),rerender:Ts(Hh),reload:Ts(zh)});const In=new Map;function Bh(e){const t=e.type.__hmrId;let n=In.get(t);n||(fu(t,e.type),n=In.get(t)),n.instances.add(e)}function Uh(e){In.get(e.type.__hmrId).instances.delete(e)}function fu(e,t){return In.has(e)?!1:(In.set(e,{initialDef:Fo(t),instances:new Set}),!0)}function Fo(e){return ef(e)?e.__vccOpts:e}function Hh(e,t){const n=In.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Fo(r.type).render=t),r.renderCache=[],ct=!0,r.job.flags&8||r.update(),ct=!1}))}function zh(e,t){const n=In.get(e);if(!n)return;t=Fo(t),Ua(n.initialDef,t);const r=[...n.instances];for(let o=0;o<r.length;o++){const s=r[o],i=Fo(s.type);let a=Do.get(i);a||(i!==n.initialDef&&Ua(i,t),Do.set(i,a=new Set)),a.add(s),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(a.add(s),s.ceReload(t.styles),a.delete(s)):s.parent?cs(()=>{s.job.flags&8||(ct=!0,s.parent.update(),ct=!1,a.delete(s))}):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),s.root.ce&&s!==s.root&&s.root.ce._removeChildStyle(i)}lu(()=>{Do.clear()})}function Ua(e,t){Fe(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Ts(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let At,wr=[],Qs=!1;function oo(e,...t){At?At.emit(e,...t):Qs||wr.push({event:e,args:t})}function Yi(e,t){var n,r;At=e,At?(At.enabled=!0,wr.forEach(({event:o,args:s})=>At.emit(o,...s)),wr=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Yi(s,t)}),setTimeout(()=>{At||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Qs=!0,wr=[])},3e3)):(Qs=!0,wr=[])}function Wh(e,t){oo("app:init",e,t,{Fragment:Le,Text:ao,Comment:Be,Static:Po})}function Kh(e){oo("app:unmount",e)}const qh=Ji("component:added"),du=Ji("component:updated"),Gh=Ji("component:removed"),Yh=e=>{At&&typeof At.cleanupBuffer=="function"&&!At.cleanupBuffer(e)&&Gh(e)};function Ji(e){return t=>{oo(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Jh=pu("perf:start"),Xh=pu("perf:end");function pu(e){return(t,n,r)=>{oo(e,t.appContext.app,t.uid,t,n,r)}}function Zh(e,t,n){oo("component:emit",e.appContext.app,e,t,n)}let He=null,hu=null;function ko(e){const t=He;return He=e,hu=e&&e.type.__scopeId||null,t}function ue(e,t=He,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Wo(-1);const s=ko(t);let i;try{i=e(...o)}finally{ko(s),r._d&&Wo(1)}return process.env.NODE_ENV!=="production"&&du(t),i};return r._n=!0,r._c=!0,r._d=!0,r}function mu(e){Gp(e)&&B("Do not use built-in directive ids as custom directive id: "+e)}function sr(e,t){if(He===null)return process.env.NODE_ENV!=="production"&&B("withDirectives can only be used inside render functions."),e;const n=ds(He),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Ae]=t[o];s&&(fe(s)&&(s={mounted:s,updated:s}),s.deep&&Xt(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function mn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(It(),St(l,n,8,[e.el,a,e,t]),Mt())}}function jr(e,t){if(process.env.NODE_ENV!=="production"&&(!Ue||Ue.isMounted)&&B("provide() can only be used inside setup()."),Ue){let n=Ue.provides;const r=Ue.parent&&Ue.parent.provides;r===n&&(n=Ue.provides=Object.create(r)),n[e]=t}}function pt(e,t,n=!1){const r=Lt();if(r||Dn){let o=Dn?Dn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&fe(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&B(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&B("inject() can only be used inside setup() or functional components.")}function Qh(){return!!(Lt()||Dn)}const e0=Symbol.for("v-scx"),t0=()=>{{const e=pt(e0);return e||process.env.NODE_ENV!=="production"&&B("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Je(e,t,n){return process.env.NODE_ENV!=="production"&&!fe(t)&&B("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),gu(e,t,n)}function gu(e,t,n=Ae){const{immediate:r,deep:o,flush:s,once:i}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&B('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&B('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&B('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=Fe({},n);process.env.NODE_ENV!=="production"&&(a.onWarn=B);const l=t&&r||!t&&s!=="post";let u;if(Hr){if(s==="sync"){const g=t0();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!l){const g=()=>{};return g.stop=qe,g.resume=qe,g.pause=qe,g}}const c=Ue;a.call=(g,y,p)=>St(g,c,y,p);let f=!1;s==="post"?a.scheduler=g=>{ot(g,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(g,y)=>{y?g():cs(g)}),a.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,c&&(g.id=c.uid,g.i=c))};const h=$h(e,t,a);return Hr&&(u?u.push(h):l&&h()),h}function n0(e,t,n){const r=this.proxy,o=Ne(e)?e.includes(".")?vu(r,e):()=>r[e]:e.bind(r,r);let s;fe(t)?s=t:(s=t.handler,n=t);const i=co(this),a=gu(o,s.bind(r),n);return i(),a}function vu(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const cn=new WeakMap,_u=Symbol("_vte"),yu=e=>e.__isTeleport,Zt=e=>e&&(e.disabled||e.disabled===""),r0=e=>e&&(e.defer||e.defer===""),Ha=e=>typeof SVGElement<"u"&&e instanceof SVGElement,za=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ei=(e,t)=>{const n=e&&e.to;if(Ne(n))if(t){const r=t(n);return process.env.NODE_ENV!=="production"&&!r&&!Zt(e)&&B(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),r}else return process.env.NODE_ENV!=="production"&&B("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!Zt(e)&&B(`Invalid Teleport target: ${n}`),n},o0={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:c,pc:f,pbc:h,o:{insert:g,querySelector:y,createText:p,createComment:v,parentNode:S}}=u,T=Zt(t.props);let{dynamicChildren:V}=t;process.env.NODE_ENV!=="production"&&ct&&(l=!1,V=null);const J=(P,ne,F)=>{P.shapeFlag&16&&c(P.children,ne,F,o,s,i,a,l)},E=(P=t)=>{const ne=Zt(P.props),F=P.target=ei(P.props,y),O=ti(F,P,p,g);F?(i!=="svg"&&Ha(F)?i="svg":i!=="mathml"&&za(F)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(F),ne||(J(P,F,O),br(P,!1))):process.env.NODE_ENV!=="production"&&!ne&&B("Invalid Teleport target on mount:",F,`(${typeof F})`)},q=P=>{const ne=()=>{if(cn.get(P)===ne){if(cn.delete(P),Zt(P.props)){const F=S(P.el)||n;J(P,F,P.anchor),br(P,!0)}E(P)}};cn.set(P,ne),ot(ne,s)};if(e==null){const P=t.el=process.env.NODE_ENV!=="production"?v("teleport start"):p(""),ne=t.anchor=process.env.NODE_ENV!=="production"?v("teleport end"):p("");if(g(P,n,r),g(ne,n,r),r0(t.props)||s&&s.pendingBranch){q(t);return}T&&(J(t,n,ne),br(t,!0)),E()}else{t.el=e.el;const P=t.anchor=e.anchor,ne=cn.get(e);if(ne){ne.flags|=8,cn.delete(e),q(t);return}t.targetStart=e.targetStart;const F=t.target=e.target,O=t.targetAnchor=e.targetAnchor,w=Zt(e.props),N=w?n:F,ee=w?P:O;if(i==="svg"||Ha(F)?i="svg":(i==="mathml"||za(F))&&(i="mathml"),V?(h(e.dynamicChildren,V,N,o,s,i,a),Pr(e,t,process.env.NODE_ENV==="production")):l||f(e,t,N,ee,o,s,i,a,!1),T)w?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Eo(t,n,P,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const H=t.target=ei(t.props,y);H?Eo(t,H,null,u,0):process.env.NODE_ENV!=="production"&&B("Invalid Teleport target on update:",F,`(${typeof F})`)}else w&&Eo(t,F,O,u,1);br(t,T)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:h}=e,g=s||!Zt(h),y=cn.get(e);if(y&&(y.flags|=8,cn.delete(e)),f&&(o(u),o(c)),s&&o(l),!y&&i&16)for(let p=0;p<a.length;p++){const v=a[p];r(v,t,n,g,!!v.dynamicChildren)}},move:Eo,hydrate:s0};function Eo(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=s===2;if(f&&r(i,t,n),!cn.has(e)&&(!f||Zt(c))&&l&16)for(let h=0;h<u.length;h++)o(u[h],t,n,2);f&&r(a,t,n)}function s0(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){function h(v,S){let T=S;for(;T;){if(T&&T.nodeType===8){if(T.data==="teleport start anchor")t.targetStart=T;else if(T.data==="teleport anchor"){t.targetAnchor=T,v._lpa=t.targetAnchor&&i(t.targetAnchor);break}}T=i(T)}}function g(v,S){S.anchor=f(i(v),S,a(v),n,r,o,s)}const y=t.target=ei(t.props,l),p=Zt(t.props);if(y){const v=y._lpa||y.firstChild;t.shapeFlag&16&&(p?(g(e,t),h(y,v),t.targetAnchor||ti(y,t,c,u,a(e)===y?e:null)):(t.anchor=i(e),h(y,v),t.targetAnchor||ti(y,t,c,u),f(v&&i(v),t,y,n,r,o,s))),br(t,p)}else p&&t.shapeFlag&16&&(g(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const i0=o0;function br(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function ti(e,t,n,r,o=null){const s=t.targetStart=n(""),i=t.targetAnchor=n("");return s[_u]=i,e&&(r(s,e,o),r(i,e,o)),i}const Ot=Symbol("_leaveCb"),hr=Symbol("_enterCb");function a0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fn(()=>{e.isMounted=!0}),Xi(()=>{e.isUnmounting=!0}),e}const wt=[Function,Array],wu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wt,onEnter:wt,onAfterEnter:wt,onEnterCancelled:wt,onBeforeLeave:wt,onLeave:wt,onAfterLeave:wt,onLeaveCancelled:wt,onBeforeAppear:wt,onAppear:wt,onAfterAppear:wt,onAppearCancelled:wt},bu=e=>{const t=e.subTree;return t.component?bu(t.component):t},l0={name:"BaseTransition",props:wu,setup(e,{slots:t}){const n=Lt(),r=a0();return()=>{const o=t.default&&Nu(t.default(),!0),s=o&&o.length?Eu(o):n.subTree?Oe():void 0;if(!s)return;const i=ve(e),{mode:a}=i;if(process.env.NODE_ENV!=="production"&&a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&B(`invalid <transition> mode: ${a}`),r.isLeaving)return As(s);const l=Wa(s);if(!l)return As(s);let u=ni(l,i,r,n,f=>u=f);l.type!==Be&&Br(l,u);let c=n.subTree&&Wa(n.subTree);if(c&&c.type!==Be&&!On(c,l)&&bu(n).type!==Be){let f=ni(c,i,r,n);if(Br(c,f),a==="out-in"&&l.type!==Be)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},As(s);a==="in-out"&&l.type!==Be?f.delayLeave=(h,g,y)=>{const p=Ou(r,c);p[String(c.key)]=c,h[Ot]=()=>{g(),h[Ot]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{y(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function Eu(e){let t=e[0];if(e.length>1){let n=!1;for(const r of e)if(r.type!==Be){if(process.env.NODE_ENV!=="production"&&n){B("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=r,n=!0,process.env.NODE_ENV==="production")break}}return t}const c0=l0;function Ou(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ni(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:g,onAfterLeave:y,onLeaveCancelled:p,onBeforeAppear:v,onAppear:S,onAfterAppear:T,onAppearCancelled:V}=t,J=String(e.key),E=Ou(n,e),q=(F,O)=>{F&&St(F,r,9,O)},P=(F,O)=>{const w=O[1];q(F,O),le(F)?F.every(N=>N.length<=1)&&w():F.length<=1&&w()},ne={mode:i,persisted:a,beforeEnter(F){let O=l;if(!n.isMounted)if(s)O=v||l;else return;F[Ot]&&F[Ot](!0);const w=E[J];w&&On(e,w)&&w.el[Ot]&&w.el[Ot](),q(O,[F])},enter(F){if(!ct&&E[J]===e)return;let O=u,w=c,N=f;if(!n.isMounted)if(s)O=S||u,w=T||c,N=V||f;else return;let ee=!1;F[hr]=$=>{ee||(ee=!0,$?q(N,[F]):q(w,[F]),ne.delayedLeave&&ne.delayedLeave(),F[hr]=void 0)};const H=F[hr].bind(null,!1);O?P(O,[F,H]):H()},leave(F,O){const w=String(e.key);if(F[hr]&&F[hr](!0),n.isUnmounting)return O();q(h,[F]);let N=!1;F[Ot]=H=>{N||(N=!0,O(),H?q(p,[F]):q(y,[F]),F[Ot]=void 0,E[w]===e&&delete E[w])};const ee=F[Ot].bind(null,!1);E[w]=e,g?P(g,[F,ee]):ee()},clone(F){const O=ni(F,t,n,r,o);return o&&o(O),O}};return ne}function As(e){if(so(e))return e=Wt(e),e.children=null,e}function Wa(e){if(!so(e))return yu(e.type)&&e.children?Eu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&fe(n.default))return n.default()}}function Br(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Br(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Nu(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Le?(i.patchFlag&128&&o++,r=r.concat(Nu(i.children,t,a))):(t||i.type!==Be)&&r.push(a!=null?Wt(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Pe(e,t){return fe(e)?Fe({name:e.name},t,{setup:e}):e}function xu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Ka=new WeakSet;function qa(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const jo=new WeakMap;function Ar(e,t,n,r,o=!1){if(le(e)){e.forEach((p,v)=>Ar(p,t&&(le(t)?t[v]:t),n,r,o));return}if(er(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ar(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?ds(r.component):r.el,i=o?null:s,{i:a,r:l}=e;if(process.env.NODE_ENV!=="production"&&!a){B("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const u=t&&t.r,c=a.refs===Ae?a.refs={}:a.refs,f=a.setupState,h=ve(f),g=f===Ae?Ac:p=>process.env.NODE_ENV!=="production"&&(ye(h,p)&&!Se(h[p])&&B(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),Ka.has(h[p]))||qa(c,p)?!1:ye(h,p),y=(p,v)=>!(process.env.NODE_ENV!=="production"&&Ka.has(p)||v&&qa(c,v));if(u!=null&&u!==l){if(Ga(t),Ne(u))c[u]=null,g(u)&&(f[u]=null);else if(Se(u)){const p=t;y(u,p.k)&&(u.value=null),p.k&&(c[p.k]=null)}}if(fe(l))ur(l,a,12,[i,c]);else{const p=Ne(l),v=Se(l);if(p||v){const S=()=>{if(e.f){const T=p?g(l)?f[l]:c[l]:y(l)||!e.k?l.value:c[e.k];if(o)le(T)&&Li(T,s);else if(le(T))T.includes(s)||T.push(s);else if(p)c[l]=[s],g(l)&&(f[l]=c[l]);else{const V=[s];y(l,e.k)&&(l.value=V),e.k&&(c[e.k]=V)}}else p?(c[l]=i,g(l)&&(f[l]=i)):v?(y(l,e.k)&&(l.value=i),e.k&&(c[e.k]=i)):process.env.NODE_ENV!=="production"&&B("Invalid template ref type:",l,`(${typeof l})`)};if(i){const T=()=>{S(),jo.delete(e)};T.id=-1,jo.set(e,T),ot(T,n)}else Ga(e),S()}else process.env.NODE_ENV!=="production"&&B("Invalid template ref type:",l,`(${typeof l})`)}}function Ga(e){const t=jo.get(e);t&&(t.flags|=8,jo.delete(e))}no().requestIdleCallback;no().cancelIdleCallback;const er=e=>!!e.type.__asyncLoader,so=e=>e.type.__isKeepAlive;function u0(e,t){Su(e,"a",t)}function f0(e,t){Su(e,"da",t)}function Su(e,t,n=Ue){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(us(t,r,n),n){let o=n.parent;for(;o&&o.parent;)so(o.parent.vnode)&&d0(r,t,n,o),o=o.parent}}function d0(e,t,n,r){const o=us(t,e,r,!0);io(()=>{Li(r[t],o)},n)}function us(e,t,n=Ue,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{It();const a=co(n),l=St(t,n,e,i);return a(),Mt(),l});return r?o.unshift(s):o.push(s),s}else if(process.env.NODE_ENV!=="production"){const o=bn(qi[e].replace(/ hook$/,""));B(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const nn=e=>(t,n=Ue)=>{(!Hr||e==="sp")&&us(e,(...r)=>t(...r),n)},p0=nn("bm"),Fn=nn("m"),h0=nn("bu"),m0=nn("u"),Xi=nn("bum"),io=nn("um"),g0=nn("sp"),v0=nn("rtg"),_0=nn("rtc");function y0(e,t=Ue){us("ec",e,t)}const Bo="components",w0="directives";function Ve(e,t){return Zi(Bo,e,!0,t)||e}const Cu=Symbol.for("v-ndc");function b0(e){return Ne(e)?Zi(Bo,e,!1)||e:e||Cu}function Tu(e){return Zi(w0,e)}function Zi(e,t,n=!0,r=!1){const o=He||Ue;if(o){const s=o.type;if(e===Bo){const a=oa(s,!1);if(a&&(a===t||a===Xe(t)||a===$n(Xe(t))))return s}const i=Ya(o[e]||s[e],t)||Ya(o.appContext[e],t);if(!i&&r)return s;if(process.env.NODE_ENV!=="production"&&n&&!i){const a=e===Bo?`
|
|
25
|
+
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";B(`Failed to resolve ${e.slice(0,-1)}: ${t}${a}`)}return i}else process.env.NODE_ENV!=="production"&&B(`resolve${$n(e.slice(0,-1))} can only be used in render() or setup().`)}function Ya(e,t){return e&&(e[t]||e[Xe(t)]||e[$n(Xe(t))])}function Dr(e,t,n,r){let o;const s=n,i=le(e);if(i||Ne(e)){const a=i&&xt(e);let l=!1,u=!1;a&&(l=!nt(e),u=Vt(e),e=is(e)),o=new Array(e.length);for(let c=0,f=e.length;c<f;c++)o[c]=t(l?u?rr(Rt(e[c])):Rt(e[c]):e[c],c,void 0,s)}else if(typeof e=="number")if(process.env.NODE_ENV!=="production"&&(!Number.isInteger(e)||e<0))B(`The v-for range expects a positive integer value but got ${e}.`),o=[];else{o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s)}else if(be(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];o[l]=t(e[c],c,l,s)}}else o=[];return o}function en(e,t,n={},r,o){if(He.ce||He.parent&&er(He.parent)&&He.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),K(),we(Le,null,[te("slot",n,r&&r())],u?-2:64)}let s=e[t];process.env.NODE_ENV!=="production"&&s&&s.length>1&&(B("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),K();const i=s&&Au(s(n)),a=n.key||i&&i.key,l=we(Le,{key:(a&&!ht(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Au(e){return e.some(t=>tn(t)?!(t.type===Be||t.type===Le&&!Au(t.children)):!0)?e:null}const ri=e=>e?Zu(e)?ds(e):ri(e.parent):null,An=Fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Dt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Dt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Dt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Dt(e.refs):e.refs,$parent:e=>ri(e.parent),$root:e=>ri(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$u(e),$forceUpdate:e=>e.f||(e.f=()=>{cs(e.update)}),$nextTick:e=>e.n||(e.n=or.bind(e.proxy)),$watch:e=>n0.bind(e)}),Qi=e=>e==="_"||e==="$",Ds=(e,t)=>e!==Ae&&!e.__isScriptSetup&&ye(e,t),Du={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Ds(r,t))return i[t]=1,r[t];if(o!==Ae&&ye(o,t))return i[t]=2,o[t];if(ye(s,t))return i[t]=3,s[t];if(n!==Ae&&ye(n,t))return i[t]=4,n[t];oi&&(i[t]=0)}}const u=An[t];let c,f;if(u)return t==="$attrs"?(Ke(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&Ho()):process.env.NODE_ENV!=="production"&&t==="$slots"&&Ke(e,"get",t),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Ae&&ye(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,ye(f,t))return f[t];process.env.NODE_ENV!=="production"&&He&&(!Ne(t)||t.indexOf("__v")!==0)&&(o!==Ae&&Qi(t[0])&&ye(o,t)?B(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===He&&B(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ds(o,t)?(o[t]=n,!0):process.env.NODE_ENV!=="production"&&o.__isScriptSetup&&ye(o,t)?(B(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==Ae&&ye(r,t)?(r[t]=n,!0):ye(e.props,t)?(process.env.NODE_ENV!=="production"&&B(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&B(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let l;return!!(n[a]||e!==Ae&&a[0]!=="$"&&ye(e,a)||Ds(t,a)||ye(s,a)||ye(r,a)||ye(An,a)||ye(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ye(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(Du.ownKeys=e=>(B("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function E0(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(An).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>An[n](e),set:qe})}),t}function O0(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(r=>{Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e.props[r],set:qe})})}function N0(e){const{ctx:t,setupState:n}=e;Object.keys(ve(n)).forEach(r=>{if(!n.__isScriptSetup){if(Qi(r[0])){B(`setup() return property ${JSON.stringify(r)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>n[r],set:qe})}})}function Ja(e){return le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function x0(){const e=Object.create(null);return(t,n)=>{e[n]?B(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let oi=!0;function S0(e){const t=$u(e),n=e.proxy,r=e.ctx;oi=!1,t.beforeCreate&&Xa(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:g,updated:y,activated:p,deactivated:v,beforeDestroy:S,beforeUnmount:T,destroyed:V,unmounted:J,render:E,renderTracked:q,renderTriggered:P,errorCaptured:ne,serverPrefetch:F,expose:O,inheritAttrs:w,components:N,directives:ee,filters:H}=t,$=process.env.NODE_ENV!=="production"?x0():null;if(process.env.NODE_ENV!=="production"){const[M]=e.propsOptions;if(M)for(const A in M)$("Props",A)}if(u&&C0(u,r,$),i)for(const M in i){const A=i[M];fe(A)?(process.env.NODE_ENV!=="production"?Object.defineProperty(r,M,{value:A.bind(n),configurable:!0,enumerable:!0,writable:!0}):r[M]=A.bind(n),process.env.NODE_ENV!=="production"&&$("Methods",M)):process.env.NODE_ENV!=="production"&&B(`Method "${M}" has type "${typeof A}" in the component definition. Did you reference the function correctly?`)}if(o){process.env.NODE_ENV!=="production"&&!fe(o)&&B("The data option must be a function. Plain object usage is no longer supported.");const M=o.call(n,n);if(process.env.NODE_ENV!=="production"&&Fi(M)&&B("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!be(M))process.env.NODE_ENV!=="production"&&B("data() should return an object.");else if(e.data=cr(M),process.env.NODE_ENV!=="production")for(const A in M)$("Data",A),Qi(A[0])||Object.defineProperty(r,A,{configurable:!0,enumerable:!0,get:()=>M[A],set:qe})}if(oi=!0,s)for(const M in s){const A=s[M],X=fe(A)?A.bind(n,n):fe(A.get)?A.get.bind(n,n):qe;process.env.NODE_ENV!=="production"&&X===qe&&B(`Computed property "${M}" has no getter.`);const b=!fe(A)&&fe(A.set)?A.set.bind(n):process.env.NODE_ENV!=="production"?()=>{B(`Write operation failed: computed property "${M}" is readonly.`)}:qe,U=se({get:X,set:b});Object.defineProperty(r,M,{enumerable:!0,configurable:!0,get:()=>U.value,set:G=>U.value=G}),process.env.NODE_ENV!=="production"&&$("Computed",M)}if(a)for(const M in a)Pu(a[M],r,n,M);if(l){const M=fe(l)?l.call(n):l;Reflect.ownKeys(M).forEach(A=>{jr(A,M[A])})}c&&Xa(c,e,"c");function R(M,A){le(A)?A.forEach(X=>M(X.bind(n))):A&&M(A.bind(n))}if(R(p0,f),R(Fn,h),R(h0,g),R(m0,y),R(u0,p),R(f0,v),R(y0,ne),R(_0,q),R(v0,P),R(Xi,T),R(io,J),R(g0,F),le(O))if(O.length){const M=e.exposed||(e.exposed={});O.forEach(A=>{Object.defineProperty(M,A,{get:()=>n[A],set:X=>n[A]=X,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===qe&&(e.render=E),w!=null&&(e.inheritAttrs=w),N&&(e.components=N),ee&&(e.directives=ee),F&&xu(e)}function C0(e,t,n=qe){le(e)&&(e=si(e));for(const r in e){const o=e[r];let s;be(o)?"default"in o?s=pt(o.from||r,o.default,!0):s=pt(o.from||r):s=pt(o),Se(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s,process.env.NODE_ENV!=="production"&&n("Inject",r)}}function Xa(e,t,n){St(le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pu(e,t,n,r){let o=r.includes(".")?vu(n,r):()=>n[r];if(Ne(e)){const s=t[e];fe(s)?Je(o,s):process.env.NODE_ENV!=="production"&&B(`Invalid watch handler specified by key "${e}"`,s)}else if(fe(e))Je(o,e.bind(n));else if(be(e))if(le(e))e.forEach(s=>Pu(s,t,n,r));else{const s=fe(e.handler)?e.handler.bind(n):t[e.handler];fe(s)?Je(o,s,e):process.env.NODE_ENV!=="production"&&B(`Invalid watch handler specified by key "${e.handler}"`,s)}else process.env.NODE_ENV!=="production"&&B(`Invalid watch option: "${r}"`,e)}function $u(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>Uo(l,u,i,!0)),Uo(l,t,i)),be(t)&&s.set(t,l),l}function Uo(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Uo(e,s,n,!0),o&&o.forEach(i=>Uo(e,i,n,!0));for(const i in t)if(r&&i==="expose")process.env.NODE_ENV!=="production"&&B('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=T0[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const T0={data:Za,props:Qa,emits:Qa,methods:Er,computed:Er,beforeCreate:rt,created:rt,beforeMount:rt,mounted:rt,beforeUpdate:rt,updated:rt,beforeDestroy:rt,beforeUnmount:rt,destroyed:rt,unmounted:rt,activated:rt,deactivated:rt,errorCaptured:rt,serverPrefetch:rt,components:Er,directives:Er,watch:D0,provide:Za,inject:A0};function Za(e,t){return t?e?function(){return Fe(fe(e)?e.call(this,this):e,fe(t)?t.call(this,this):t)}:t:e}function A0(e,t){return Er(si(e),si(t))}function si(e){if(le(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function rt(e,t){return e?[...new Set([].concat(e,t))]:t}function Er(e,t){return e?Fe(Object.create(null),e,t):t}function Qa(e,t){return e?le(e)&&le(t)?[...new Set([...e,...t])]:Fe(Object.create(null),Ja(e),Ja(t??{})):t}function D0(e,t){if(!e)return t;if(!t)return e;const n=Fe(Object.create(null),e);for(const r in t)n[r]=rt(e[r],t[r]);return n}function Iu(){return{app:null,config:{isNativeTag:Ac,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let P0=0;function $0(e,t){return function(r,o=null){fe(r)||(r=Fe({},r)),o!=null&&!be(o)&&(process.env.NODE_ENV!=="production"&&B("root props passed to app.mount() must be an object."),o=null);const s=Iu(),i=new WeakSet,a=[];let l=!1;const u=s.app={_uid:P0++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:ul,get config(){return s.config},set config(c){process.env.NODE_ENV!=="production"&&B("app.config cannot be replaced. Modify individual options instead.")},use(c,...f){return i.has(c)?process.env.NODE_ENV!=="production"&&B("Plugin has already been applied to target app."):c&&fe(c.install)?(i.add(c),c.install(u,...f)):fe(c)?(i.add(c),c(u,...f)):process.env.NODE_ENV!=="production"&&B('A plugin must either be a function or an object with an "install" function.'),u},mixin(c){return s.mixins.includes(c)?process.env.NODE_ENV!=="production"&&B("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):s.mixins.push(c),u},component(c,f){return process.env.NODE_ENV!=="production"&&ui(c,s.config),f?(process.env.NODE_ENV!=="production"&&s.components[c]&&B(`Component "${c}" has already been registered in target app.`),s.components[c]=f,u):s.components[c]},directive(c,f){return process.env.NODE_ENV!=="production"&&mu(c),f?(process.env.NODE_ENV!=="production"&&s.directives[c]&&B(`Directive "${c}" has already been registered in target app.`),s.directives[c]=f,u):s.directives[c]},mount(c,f,h){if(l)process.env.NODE_ENV!=="production"&&B("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&c.__vue_app__&&B("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const g=u._ceVNode||te(r,o);return g.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),process.env.NODE_ENV!=="production"&&(s.reload=()=>{const y=Wt(g);y.el=null,e(y,c,h)}),e(g,c,h),l=!0,u._container=c,c.__vue_app__=u,process.env.NODE_ENV!=="production"&&(u._instance=g.component,Wh(u,ul)),ds(g.component)}},onUnmount(c){process.env.NODE_ENV!=="production"&&typeof c!="function"&&B(`Expected function as first argument to app.onUnmount(), but got ${typeof c}`),a.push(c)},unmount(){l?(St(a,u._instance,16),e(null,u._container),process.env.NODE_ENV!=="production"&&(u._instance=null,Kh(u)),delete u._container.__vue_app__):process.env.NODE_ENV!=="production"&&B("Cannot unmount an app that is not mounted.")},provide(c,f){return process.env.NODE_ENV!=="production"&&c in s.provides&&(ye(s.provides,c)?B(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`):B(`App already provides property with key "${String(c)}" inherited from its parent element. It will be overwritten with the new value.`)),s.provides[c]=f,u},runWithContext(c){const f=Dn;Dn=u;try{return c()}finally{Dn=f}}};return u}}let Dn=null;const I0=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Xe(t)}Modifiers`]||e[`${Qt(t)}Modifiers`];function M0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ae;if(process.env.NODE_ENV!=="production"){const{emitsOptions:c,propsOptions:[f]}=e;if(c)if(!(t in c))(!f||!(bn(Xe(t))in f))&&B(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${bn(Xe(t))}" prop.`);else{const h=c[t];fe(h)&&(h(...n)||B(`Invalid event arguments: event validation failed for event "${t}".`))}}let o=n;const s=t.startsWith("update:"),i=s&&I0(r,t.slice(7));if(i&&(i.trim&&(o=n.map(c=>Ne(c)?c.trim():c)),i.number&&(o=n.map(Xp))),process.env.NODE_ENV!=="production"&&Zh(e,t,o),process.env.NODE_ENV!=="production"){const c=t.toLowerCase();c!==t&&r[bn(c)]&&B(`Event "${c}" is emitted in component ${uo(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Qt(t)}" instead of "${t}".`)}let a,l=r[a=bn(t)]||r[a=bn(Xe(t))];!l&&s&&(l=r[a=bn(Qt(t))]),l&&St(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,St(u,e,6,o)}}const V0=new WeakMap;function Mu(e,t,n=!1){const r=n?V0:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!fe(e)){const l=u=>{const c=Mu(u,t,!0);c&&(a=!0,Fe(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(be(e)&&r.set(e,null),null):(le(s)?s.forEach(l=>i[l]=null):Fe(i,s),be(e)&&r.set(e,i),i)}function fs(e,t){return!e||!eo(t)?!1:(t=t.slice(2).replace(/Once$/,""),ye(e,t[0].toLowerCase()+t.slice(1))||ye(e,Qt(t))||ye(e,t))}let ii=!1;function Ho(){ii=!0}function el(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:g,ctx:y,inheritAttrs:p}=e,v=ko(e);let S,T;process.env.NODE_ENV!=="production"&&(ii=!1);try{if(n.shapeFlag&4){const E=o||r,q=process.env.NODE_ENV!=="production"&&g.__isScriptSetup?new Proxy(E,{get(P,ne,F){return B(`Property '${String(ne)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(P,ne,F)}}):E;S=Tt(u.call(q,E,c,process.env.NODE_ENV!=="production"?Dt(f):f,g,h,y)),T=a}else{const E=t;process.env.NODE_ENV!=="production"&&a===f&&Ho(),S=Tt(E.length>1?E(process.env.NODE_ENV!=="production"?Dt(f):f,process.env.NODE_ENV!=="production"?{get attrs(){return Ho(),Dt(a)},slots:i,emit:l}:{attrs:a,slots:i,emit:l}):E(process.env.NODE_ENV!=="production"?Dt(f):f,null)),T=t.props?a:R0(a)}}catch(E){$r.length=0,ro(E,e,1),S=te(Be)}let V=S,J;if(process.env.NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&([V,J]=Vu(S)),T&&p!==!1){const E=Object.keys(T),{shapeFlag:q}=V;if(E.length){if(q&7)s&&E.some(Rr)&&(T=L0(T,s)),V=Wt(V,T,!1,!0);else if(process.env.NODE_ENV!=="production"&&!ii&&V.type!==Be){const P=Object.keys(a),ne=[],F=[];for(let O=0,w=P.length;O<w;O++){const N=P[O];eo(N)?Rr(N)||ne.push(N[2].toLowerCase()+N.slice(3)):F.push(N)}F.length&&B(`Extraneous non-props attributes (${F.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),ne.length&&B(`Extraneous non-emits event listeners (${ne.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!tl(V)&&B("Runtime directive used on component with non-element root node. The directives will not function as intended."),V=Wt(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!tl(V)&&B("Component inside <Transition> renders non-element root node that cannot be animated."),Br(V,n.transition)),process.env.NODE_ENV!=="production"&&J?J(V):S=V,ko(v),S}const Vu=e=>{const t=e.children,n=e.dynamicChildren,r=ea(t,!1);if(r){if(process.env.NODE_ENV!=="production"&&r.patchFlag>0&&r.patchFlag&2048)return Vu(r)}else return[e,void 0];const o=t.indexOf(r),s=n?n.indexOf(r):-1,i=a=>{t[o]=a,n&&(s>-1?n[s]=a:a.patchFlag>0&&(e.dynamicChildren=[...n,a]))};return[Tt(r),i]};function ea(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(tn(o)){if(o.type!==Be||o.children==="v-if"){if(n)return;if(n=o,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return ea(n.children)}}else return}return n}const R0=e=>{let t;for(const n in e)(n==="class"||n==="style"||eo(n))&&((t||(t={}))[n]=e[n]);return t},L0=(e,t)=>{const n={};for(const r in e)(!Rr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n},tl=e=>e.shapeFlag&7||e.type===Be;function F0(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,u=s.emitsOptions;if(process.env.NODE_ENV!=="production"&&(o||a)&&ct||t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?nl(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(Ru(i,r,h)&&!fs(u,h))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?nl(r,i,u):!0:!!i;return!1}function nl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(Ru(t,e,s)&&!fs(n,s))return!0}return!1}function Ru(e,t,n){const r=e[n],o=t[n];return n==="style"&&be(r)&&be(o)?!ji(r,o):r!==o}function k0({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const Lu={},Fu=()=>Object.create(Lu),ku=e=>Object.getPrototypeOf(e)===Lu;function j0(e,t,n,r=!1){const o={},s=Fu();e.propsDefaults=Object.create(null),ju(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);process.env.NODE_ENV!=="production"&&Uu(t||{},o,e),n?e.props=r?o:Ki(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function B0(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function U0(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=ve(o),[l]=e.propsOptions;let u=!1;if(!(process.env.NODE_ENV!=="production"&&B0(e))&&(r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(fs(e.emitsOptions,h))continue;const g=t[h];if(l)if(ye(s,h))g!==s[h]&&(s[h]=g,u=!0);else{const y=Xe(h);o[y]=ai(l,a,y,g,e,!1)}else g!==s[h]&&(s[h]=g,u=!0)}}}else{ju(e,t,o,s)&&(u=!0);let c;for(const f in a)(!t||!ye(t,f)&&((c=Qt(f))===f||!ye(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(o[f]=ai(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!ye(t,f))&&(delete s[f],u=!0)}u&&zt(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&Uu(t||{},o,e)}function ju(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Sr(l))continue;const u=t[l];let c;o&&ye(o,c=Xe(l))?!s||!s.includes(c)?n[c]=u:(a||(a={}))[c]=u:fs(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(s){const l=ve(n),u=a||Ae;for(let c=0;c<s.length;c++){const f=s[c];n[f]=ai(o,l,f,u[f],e,!ye(u,f))}}return i}function ai(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=ye(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&fe(l)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const c=co(o);r=u[n]=l.call(null,t),c()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Qt(n))&&(r=!0))}return r}const H0=new WeakMap;function Bu(e,t,n=!1){const r=n?H0:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!fe(e)){const c=f=>{l=!0;const[h,g]=Bu(f,t,!0);Fe(i,h),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return be(e)&&r.set(e,Xn),Xn;if(le(s))for(let c=0;c<s.length;c++){process.env.NODE_ENV!=="production"&&!Ne(s[c])&&B("props must be strings when using array syntax.",s[c]);const f=Xe(s[c]);rl(f)&&(i[f]=Ae)}else if(s){process.env.NODE_ENV!=="production"&&!be(s)&&B("invalid props options",s);for(const c in s){const f=Xe(c);if(rl(f)){const h=s[c],g=i[f]=le(h)||fe(h)?{type:h}:Fe({},h),y=g.type;let p=!1,v=!0;if(le(y))for(let S=0;S<y.length;++S){const T=y[S],V=fe(T)&&T.name;if(V==="Boolean"){p=!0;break}else V==="String"&&(v=!1)}else p=fe(y)&&y.name==="Boolean";g[0]=p,g[1]=v,(p||ye(g,"default"))&&a.push(f)}}}const u=[i,a];return be(e)&&r.set(e,u),u}function rl(e){return e[0]!=="$"&&!Sr(e)?!0:(process.env.NODE_ENV!=="production"&&B(`Invalid prop name: "${e}" is a reserved property.`),!1)}function z0(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Uu(e,t,n){const r=ve(t),o=n.propsOptions[0],s=Object.keys(e).map(i=>Xe(i));for(const i in o){let a=o[i];a!=null&&W0(i,r[i],a,process.env.NODE_ENV!=="production"?Dt(r):r,!s.includes(i))}}function W0(e,t,n,r,o){const{type:s,required:i,validator:a,skipCheck:l}=n;if(i&&o){B('Missing required prop: "'+e+'"');return}if(!(t==null&&!i)){if(s!=null&&s!==!0&&!l){let u=!1;const c=le(s)?s:[s],f=[];for(let h=0;h<c.length&&!u;h++){const{valid:g,expectedType:y}=q0(t,c[h]);f.push(y||""),u=g}if(!u){B(G0(e,t,f));return}}a&&!a(t,r)&&B('Invalid prop: custom validator check failed for prop "'+e+'".')}}const K0=lr("String,Number,Boolean,Function,Symbol,BigInt");function q0(e,t){let n;const r=z0(t);if(r==="null")n=e===null;else if(K0(r)){const o=typeof e;n=o===r.toLowerCase(),!n&&o==="object"&&(n=e instanceof t)}else r==="Object"?n=be(e):r==="Array"?n=le(e):n=e instanceof t;return{valid:n,expectedType:r}}function G0(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let r=`Invalid prop: type check failed for prop "${e}". Expected ${n.map($n).join(" | ")}`;const o=n[0],s=ki(t),i=ol(t,o),a=ol(t,s);return n.length===1&&sl(o)&&Y0(o,s)&&(r+=` with value ${i}`),r+=`, got ${s} `,sl(s)&&(r+=`with value ${a}.`),r}function ol(e,t){return ht(e)?e.toString():t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function sl(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Y0(...e){return e.every(t=>{const n=t.toLowerCase();return n!=="boolean"&&n!=="symbol"})}const ta=e=>e==="_"||e==="_ctx"||e==="$stable",na=e=>le(e)?e.map(Tt):[Tt(e)],J0=(e,t,n)=>{if(t._n)return t;const r=ue((...o)=>(process.env.NODE_ENV!=="production"&&Ue&&!(n===null&&He)&&!(n&&n.root!==Ue.root)&&B(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),na(t(...o))),n);return r._c=!1,r},Hu=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ta(o))continue;const s=e[o];if(fe(s))t[o]=J0(o,s,r);else if(s!=null){process.env.NODE_ENV!=="production"&&B(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const i=na(s);t[o]=()=>i}}},zu=(e,t)=>{process.env.NODE_ENV!=="production"&&!so(e.vnode)&&B("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=na(t);e.slots.default=()=>n},li=(e,t,n)=>{for(const r in t)(n||!ta(r))&&(e[r]=t[r])},X0=(e,t,n)=>{const r=e.slots=Fu();if(e.vnode.shapeFlag&32){const o=t._;o?(li(r,t,n),n&&Mo(r,"_",o,!0)):Hu(t,r)}else t&&zu(e,t)},Z0=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Ae;if(r.shapeFlag&32){const a=t._;a?process.env.NODE_ENV!=="production"&&ct?(li(o,t,n),zt(e,"set","$slots")):n&&a===1?s=!1:li(o,t,n):(s=!t.$stable,Hu(t,o)),i=t}else t&&(zu(e,t),i={default:1});if(s)for(const a in o)!ta(a)&&i[a]==null&&delete o[a]};let mr,Yt;function Wn(e,t){e.appContext.config.performance&&zo()&&Yt.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Jh(e,t,zo()?Yt.now():Date.now())}function Kn(e,t){if(e.appContext.config.performance&&zo()){const n=`vue-${t}-${e.uid}`,r=n+":end",o=`<${uo(e,e.type)}> ${t}`;Yt.mark(r),Yt.measure(o,n,r),Yt.clearMeasures(o),Yt.clearMarks(n),Yt.clearMarks(r)}process.env.NODE_ENV!=="production"&&Xh(e,t,zo()?Yt.now():Date.now())}function zo(){return mr!==void 0||(typeof window<"u"&&window.performance?(mr=!0,Yt=window.performance):mr=!1),mr}function Q0(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
26
26
|
|
|
27
|
-
For more details, see https://link.vuejs.org/feature-flags.`)}}const ot=om;function em(e){return tm(e)}function tm(e,t){Q0();const n=to();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&qi(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:g=Ge,insertStaticContent:b}=e,p=(d,m,S,L=null,V=null,M=null,J=void 0,W=null,z=process.env.NODE_ENV!=="production"&&ct?!1:!!m.dynamicChildren)=>{if(d===m)return;d&&!En(d,m)&&(L=ge(d),re(d,V,M,!0),d=null),m.patchFlag===-2&&(z=!1,m.dynamicChildren=null);const{type:F,ref:ce,shapeFlag:w}=m;switch(F){case io:v(d,m,S,L);break;case je:C(d,m,S,L);break;case Ao:d==null?T(m,S,L,J):process.env.NODE_ENV!=="production"&&k(d,m,S,J);break;case Ve:te(d,m,S,L,V,M,J,W,z);break;default:w&1?K(d,m,S,L,V,M,J,W,z):w&6?j(d,m,S,L,V,M,J,W,z):w&64||w&128?F.process(d,m,S,L,V,M,J,W,z,ke):process.env.NODE_ENV!=="production"&&U("Invalid VNode type:",F,`(${typeof F})`)}ce!=null&&V?Tr(ce,d&&d.ref,M,m||d,!m):ce==null&&d&&d.ref!=null&&Tr(d.ref,null,M,d,!0)},v=(d,m,S,L)=>{if(d==null)r(m.el=a(m.children),S,L);else{const V=m.el=d.el;m.children!==d.children&&u(V,m.children)}},C=(d,m,S,L)=>{d==null?r(m.el=l(m.children||""),S,L):m.el=d.el},T=(d,m,S,L)=>{[d.el,d.anchor]=b(d.children,m,S,L,d.el,d.anchor)},k=(d,m,S,L)=>{if(m.children!==d.children){const V=h(d.anchor);N(d),[m.el,m.anchor]=b(m.children,S,V,L)}else m.el=d.el,m.anchor=d.anchor},Y=({el:d,anchor:m},S,L)=>{let V;for(;d&&d!==m;)V=h(d),r(d,S,L),d=V;r(m,S,L)},N=({el:d,anchor:m})=>{let S;for(;d&&d!==m;)S=h(d),o(d),d=S;o(m)},K=(d,m,S,L,V,M,J,W,z)=>{if(m.type==="svg"?J="svg":m.type==="math"&&(J="mathml"),d==null)$(m,S,L,V,M,J,W,z);else{const F=d.el&&d.el._isVueCE?d.el:null;try{F&&F._beginPatch(),x(d,m,V,M,J,W,z)}finally{F&&F._endPatch()}}},$=(d,m,S,L,V,M,J,W)=>{let z,F;const{props:ce,shapeFlag:w,transition:O,dirs:Z}=d;if(z=d.el=i(d.type,M,ce&&ce.is,ce),w&8?c(z,d.children):w&16&&R(d.children,z,null,L,V,As(d,M),J,W),Z&&hn(d,null,L,"created"),ne(z,d,d.scopeId,J,L),ce){for(const Se in ce)Se!=="value"&&!Sr(Se)&&s(z,Se,null,ce[Se],M,L);"value"in ce&&s(z,"value",null,ce.value,M),(F=ce.onVnodeBeforeMount)&&kt(F,L,d)}process.env.NODE_ENV!=="production"&&($o(z,"__vnode",d,!0),$o(z,"__vueParentComponent",L,!0)),Z&&hn(d,null,L,"beforeMount");const he=nm(V,O);if(he&&O.beforeEnter(z),r(z,m,S),(F=ce&&ce.onVnodeMounted)||he||Z){const Se=process.env.NODE_ENV!=="production"&&ct;ot(()=>{let be;process.env.NODE_ENV!=="production"&&(be=Ba(Se));try{F&&kt(F,L,d),he&&O.enter(z),Z&&hn(d,null,L,"mounted")}finally{process.env.NODE_ENV!=="production"&&Ba(be)}},V)}},ne=(d,m,S,L,V)=>{if(S&&g(d,S),L)for(let M=0;M<L.length;M++)g(d,L[M]);if(V){let M=V.subTree;if(process.env.NODE_ENV!=="production"&&M.patchFlag>0&&M.patchFlag&2048&&(M=Zi(M.children)||M),m===M||qu(M.type)&&(M.ssContent===m||M.ssFallback===m)){const J=V.vnode;ne(d,J,J.scopeId,J.slotScopeIds,V.parent)}}},R=(d,m,S,L,V,M,J,W,z=0)=>{for(let F=z;F<d.length;F++){const ce=d[F]=W?Jt(d[F]):Ct(d[F]);p(null,ce,m,S,L,V,M,J,W)}},x=(d,m,S,L,V,M,J)=>{const W=m.el=d.el;process.env.NODE_ENV!=="production"&&(W.__vnode=m);let{patchFlag:z,dynamicChildren:F,dirs:ce}=m;z|=d.patchFlag&16;const w=d.props||Te,O=m.props||Te;let Z;if(S&&mn(S,!1),(Z=O.onVnodeBeforeUpdate)&&kt(Z,S,m,d),ce&&hn(m,d,S,"beforeUpdate"),S&&mn(S,!0),process.env.NODE_ENV!=="production"&&ct&&(z=0,J=!1,F=null),(w.innerHTML&&O.innerHTML==null||w.textContent&&O.textContent==null)&&c(W,""),F?(y(d.dynamicChildren,F,W,S,L,As(m,V),M),process.env.NODE_ENV!=="production"&&Dr(d,m)):J||X(d,m,W,null,S,L,As(m,V),M,!1),z>0){if(z&16)A(W,w,O,S,V);else if(z&2&&w.class!==O.class&&s(W,"class",null,O.class,V),z&4&&s(W,"style",w.style,O.style,V),z&8){const he=m.dynamicProps;for(let Se=0;Se<he.length;Se++){const be=he[Se],Le=w[be],We=O[be];(We!==Le||be==="value")&&s(W,be,Le,We,V,S)}}z&1&&d.children!==m.children&&c(W,m.children)}else!J&&F==null&&A(W,w,O,S,V);((Z=O.onVnodeUpdated)||ce)&&ot(()=>{Z&&kt(Z,S,m,d),ce&&hn(m,d,S,"updated")},L)},y=(d,m,S,L,V,M,J)=>{for(let W=0;W<m.length;W++){const z=d[W],F=m[W],ce=z.el&&(z.type===Ve||!En(z,F)||z.shapeFlag&198)?f(z.el):S;p(z,F,ce,null,L,V,M,J,!0)}},A=(d,m,S,L,V)=>{if(m!==S){if(m!==Te)for(const M in m)!Sr(M)&&!(M in S)&&s(d,M,m[M],null,V,L);for(const M in S){if(Sr(M))continue;const J=S[M],W=m[M];J!==W&&M!=="value"&&s(d,M,W,J,V,L)}"value"in S&&s(d,"value",m.value,S.value,V)}},te=(d,m,S,L,V,M,J,W,z)=>{const F=m.el=d?d.el:a(""),ce=m.anchor=d?d.anchor:a("");let{patchFlag:w,dynamicChildren:O,slotScopeIds:Z}=m;process.env.NODE_ENV!=="production"&&(ct||w&2048)&&(w=0,z=!1,O=null),Z&&(W=W?W.concat(Z):Z),d==null?(r(F,S,L),r(ce,S,L),R(m.children||[],S,ce,V,M,J,W,z)):w>0&&w&64&&O&&d.dynamicChildren&&d.dynamicChildren.length===O.length?(y(d.dynamicChildren,O,S,V,M,J,W),process.env.NODE_ENV!=="production"?Dr(d,m):(m.key!=null||V&&m===V.subTree)&&Dr(d,m,!0)):X(d,m,S,ce,V,M,J,W,z)},j=(d,m,S,L,V,M,J,W,z)=>{m.slotScopeIds=W,d==null?m.shapeFlag&512?V.ctx.activate(m,S,L,J,z):I(m,S,L,V,M,J,z):D(d,m,z)},I=(d,m,S,L,V,M,J)=>{const W=d.component=um(d,L,V);if(process.env.NODE_ENV!=="production"&&W.type.__hmrId&&Bh(W),process.env.NODE_ENV!=="production"&&(xo(d),zn(W,"mount")),oo(d)&&(W.ctx.renderer=ke),process.env.NODE_ENV!=="production"&&zn(W,"init"),dm(W,!1,J),process.env.NODE_ENV!=="production"&&Wn(W,"init"),process.env.NODE_ENV!=="production"&&ct&&(d.el=null),W.asyncDep){if(V&&V.registerDep(W,B,J),!d.el){const z=W.subTree=ee(je);C(null,z,m,S),d.placeholder=z.el}}else B(W,d,m,S,V,M,J);process.env.NODE_ENV!=="production"&&(Co(),Wn(W,"mount"))},D=(d,m,S)=>{const L=m.component=d.component;if(F0(d,m,S))if(L.asyncDep&&!L.asyncResolved){process.env.NODE_ENV!=="production"&&xo(m),P(L,m,S),process.env.NODE_ENV!=="production"&&Co();return}else L.next=m,L.update();else m.el=d.el,L.vnode=m},B=(d,m,S,L,V,M,J)=>{const W=()=>{if(d.isMounted){let{next:w,bu:O,u:Z,parent:he,vnode:Se}=d;{const _t=Wu(d);if(_t){w&&(w.el=Se.el,P(d,w,J)),_t.asyncDep.then(()=>{ot(()=>{d.isUnmounted||F()},V)});return}}let be=w,Le;process.env.NODE_ENV!=="production"&&xo(w||d.vnode),mn(d,!1),w?(w.el=Se.el,P(d,w,J)):w=Se,O&&fr(O),(Le=w.props&&w.props.onVnodeBeforeUpdate)&&kt(Le,he,w,Se),mn(d,!0),process.env.NODE_ENV!=="production"&&zn(d,"render");const We=el(d);process.env.NODE_ENV!=="production"&&Wn(d,"render");const vt=d.subTree;d.subTree=We,process.env.NODE_ENV!=="production"&&zn(d,"patch"),p(vt,We,f(vt.el),ge(vt),d,V,M),process.env.NODE_ENV!=="production"&&Wn(d,"patch"),w.el=We.el,be===null&&k0(d,We.el),Z&&ot(Z,V),(Le=w.props&&w.props.onVnodeUpdated)&&ot(()=>kt(Le,he,w,Se),V),process.env.NODE_ENV!=="production"&&du(d),process.env.NODE_ENV!=="production"&&Co()}else{let w;const{el:O,props:Z}=m,{bm:he,m:Se,parent:be,root:Le,type:We}=d,vt=Qn(m);mn(d,!1),he&&fr(he),!vt&&(w=Z&&Z.onVnodeBeforeMount)&&kt(w,be,m),mn(d,!0);{Le.ce&&Le.ce._hasShadowRoot()&&Le.ce._injectChildStyle(We,d.parent?d.parent.type:void 0),process.env.NODE_ENV!=="production"&&zn(d,"render");const _t=d.subTree=el(d);process.env.NODE_ENV!=="production"&&Wn(d,"render"),process.env.NODE_ENV!=="production"&&zn(d,"patch"),p(null,_t,S,L,d,V,M),process.env.NODE_ENV!=="production"&&Wn(d,"patch"),m.el=_t.el}if(Se&&ot(Se,V),!vt&&(w=Z&&Z.onVnodeMounted)){const _t=m;ot(()=>kt(w,be,_t),V)}(m.shapeFlag&256||be&&Qn(be.vnode)&&be.vnode.shapeFlag&256)&&d.a&&ot(d.a,V),d.isMounted=!0,process.env.NODE_ENV!=="production"&&qh(d),m=S=L=null}};d.scope.on();const z=d.effect=new kc(W);d.scope.off();const F=d.update=z.run.bind(z),ce=d.job=z.runIfDirty.bind(z);ce.i=d,ce.id=d.uid,z.scheduler=()=>as(ce),mn(d,!0),process.env.NODE_ENV!=="production"&&(z.onTrack=d.rtc?w=>fr(d.rtc,w):void 0,z.onTrigger=d.rtg?w=>fr(d.rtg,w):void 0),F()},P=(d,m,S)=>{m.component=d;const L=d.vnode.props;d.vnode=m,d.next=null,U0(d,m.props,L,S),Z0(d,m.children,S),$t(),ja(d),It()},X=(d,m,S,L,V,M,J,W,z=!1)=>{const F=d&&d.children,ce=d?d.shapeFlag:0,w=m.children,{patchFlag:O,shapeFlag:Z}=m;if(O>0){if(O&128){H(F,w,S,L,V,M,J,W,z);return}else if(O&256){E(F,w,S,L,V,M,J,W,z);return}}Z&8?(ce&16&&Pe(F,V,M),w!==F&&c(S,w)):ce&16?Z&16?H(F,w,S,L,V,M,J,W,z):Pe(F,V,M,!0):(ce&8&&c(S,""),Z&16&&R(w,S,L,V,M,J,W,z))},E=(d,m,S,L,V,M,J,W,z)=>{d=d||Jn,m=m||Jn;const F=d.length,ce=m.length,w=Math.min(F,ce);let O;for(O=0;O<w;O++){const Z=m[O]=z?Jt(m[O]):Ct(m[O]);p(d[O],Z,S,null,V,M,J,W,z)}F>ce?Pe(d,V,M,!0,!1,w):R(m,S,L,V,M,J,W,z,w)},H=(d,m,S,L,V,M,J,W,z)=>{let F=0;const ce=m.length;let w=d.length-1,O=ce-1;for(;F<=w&&F<=O;){const Z=d[F],he=m[F]=z?Jt(m[F]):Ct(m[F]);if(En(Z,he))p(Z,he,S,null,V,M,J,W,z);else break;F++}for(;F<=w&&F<=O;){const Z=d[w],he=m[O]=z?Jt(m[O]):Ct(m[O]);if(En(Z,he))p(Z,he,S,null,V,M,J,W,z);else break;w--,O--}if(F>w){if(F<=O){const Z=O+1,he=Z<ce?m[Z].el:L;for(;F<=O;)p(null,m[F]=z?Jt(m[F]):Ct(m[F]),S,he,V,M,J,W,z),F++}}else if(F>O)for(;F<=w;)re(d[F],V,M,!0),F++;else{const Z=F,he=F,Se=new Map;for(F=he;F<=O;F++){const Ue=m[F]=z?Jt(m[F]):Ct(m[F]);Ue.key!=null&&(process.env.NODE_ENV!=="production"&&Se.has(Ue.key)&&U("Duplicate keys found during update:",JSON.stringify(Ue.key),"Make sure keys are unique."),Se.set(Ue.key,F))}let be,Le=0;const We=O-he+1;let vt=!1,_t=0;const pn=new Array(We);for(F=0;F<We;F++)pn[F]=0;for(F=Z;F<=w;F++){const Ue=d[F];if(Le>=We){re(Ue,V,M,!0);continue}let Ft;if(Ue.key!=null)Ft=Se.get(Ue.key);else for(be=he;be<=O;be++)if(pn[be-he]===0&&En(Ue,m[be])){Ft=be;break}Ft===void 0?re(Ue,V,M,!0):(pn[Ft-he]=F+1,Ft>=_t?_t=Ft:vt=!0,p(Ue,m[Ft],S,null,V,M,J,W,z),Le++)}const ve=vt?rm(pn):Jn;for(be=ve.length-1,F=We-1;F>=0;F--){const Ue=he+F,Ft=m[Ue],va=m[Ue+1],_a=Ue+1<ce?va.el||Ku(va):L;pn[F]===0?p(null,Ft,S,_a,V,M,J,W,z):vt&&(be<0||F!==ve[be]?q(Ft,S,_a,2):be--)}}},q=(d,m,S,L,V=null)=>{const{el:M,type:J,transition:W,children:z,shapeFlag:F}=d;if(F&6){q(d.component.subTree,m,S,L);return}if(F&128){d.suspense.move(m,S,L);return}if(F&64){J.move(d,m,S,ke);return}if(J===Ve){r(M,m,S);for(let w=0;w<z.length;w++)q(z[w],m,S,L);r(d.anchor,m,S);return}if(J===Ao){Y(d,m,S);return}if(L!==2&&F&1&&W)if(L===0)W.persisted&&!M[Ot]?r(M,m,S):(W.beforeEnter(M),r(M,m,S),ot(()=>W.enter(M),V));else{const{leave:w,delayLeave:O,afterLeave:Z}=W,he=()=>{d.ctx.isUnmounted?o(M):r(M,m,S)},Se=()=>{const be=M._isLeaving||!!M[Ot];M._isLeaving&&M[Ot](!0),W.persisted&&!be?he():w(M,()=>{he(),Z&&Z()})};O?O(M,he,Se):Se()}else r(M,m,S)},re=(d,m,S,L=!1,V=!1)=>{const{type:M,props:J,ref:W,children:z,dynamicChildren:F,shapeFlag:ce,patchFlag:w,dirs:O,cacheIndex:Z,memo:he}=d;if(w===-2&&(V=!1),W!=null&&($t(),Tr(W,null,S,d,!0),It()),Z!=null&&(m.renderCache[Z]=void 0),ce&256){m.ctx.deactivate(d);return}const Se=ce&1&&O,be=!Qn(d);let Le;if(be&&(Le=J&&J.onVnodeBeforeUnmount)&&kt(Le,m,d),ce&6)Qe(d.component,S,L);else{if(ce&128){d.suspense.unmount(S,L);return}Se&&hn(d,null,m,"beforeUnmount"),ce&64?d.type.remove(d,m,S,ke,L):F&&!F.hasOnce&&(M!==Ve||w>0&&w&64)?Pe(F,m,S,!1,!0):(M===Ve&&w&384||!V&&ce&16)&&Pe(z,m,S),L&&we(d)}const We=he!=null&&Z==null;(be&&(Le=J&&J.onVnodeUnmounted)||Se||We)&&ot(()=>{Le&&kt(Le,m,d),Se&&hn(d,null,m,"unmounted"),We&&(d.el=null)},S)},we=d=>{const{type:m,el:S,anchor:L,transition:V}=d;if(m===Ve){process.env.NODE_ENV!=="production"&&d.patchFlag>0&&d.patchFlag&2048&&V&&!V.persisted?d.children.forEach(J=>{J.type===je?o(J.el):we(J)}):me(S,L);return}if(m===Ao){N(d);return}const M=()=>{o(S),V&&!V.persisted&&V.afterLeave&&V.afterLeave()};if(d.shapeFlag&1&&V&&!V.persisted){const{leave:J,delayLeave:W}=V,z=()=>J(S,M);W?W(d.el,M,z):z()}else M()},me=(d,m)=>{let S;for(;d!==m;)S=h(d),o(d),d=S;o(m)},Qe=(d,m,S)=>{process.env.NODE_ENV!=="production"&&d.type.__hmrId&&Uh(d);const{bum:L,scope:V,job:M,subTree:J,um:W,m:z,a:F}=d;il(z),il(F),L&&fr(L),V.stop(),M&&(M.flags|=8,re(J,d,m,S)),W&&ot(W,m),ot(()=>{d.isUnmounted=!0},m),process.env.NODE_ENV!=="production"&&Yh(d)},Pe=(d,m,S,L=!1,V=!1,M=0)=>{for(let J=M;J<d.length;J++)re(d[J],m,S,L,V)},ge=d=>{if(d.shapeFlag&6)return ge(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const m=h(d.anchor||d.el),S=m&&m[_u];return S?h(S):m};let Be=!1;const Me=(d,m,S)=>{let L;d==null?m._vnode&&(re(m._vnode,null,null,!0),L=m._vnode.component):p(m._vnode||null,d,m,null,null,null,S),m._vnode=d,Be||(Be=!0,ja(L),cu(),Be=!1)},ke={p,um:re,m:q,r:we,mt:I,mc:R,pc:X,pbc:y,n:ge,o:e};return{render:Me,hydrate:void 0,createApp:$0(Me)}}function As({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function mn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function nm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dr(e,t,n=!1){const r=e.children,o=t.children;if(ae(r)&&ae(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Jt(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Dr(i,a)),a.type===io&&(a.patchFlag===-1&&(a=o[s]=Jt(a)),a.el=i.el),a.type===je&&!a.el&&(a.el=i.el),process.env.NODE_ENV!=="production"&&a.el&&(a.el.__vnode=a)}}function rm(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<u?s=a+1:i=a;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Wu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wu(t)}function il(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ku(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ku(t.subTree):null}const qu=e=>e.__isSuspense;function om(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):lu(e)}const Ve=Symbol.for("v-fgt"),io=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),Ao=Symbol.for("v-stc"),Pr=[];let ht=null;function G(e=!1){Pr.push(ht=e?null:[])}function sm(){Pr.pop(),ht=Pr[Pr.length-1]||null}let Br=1;function Ho(e,t=!1){Br+=e,e<0&&ht&&t&&(ht.hasOnce=!0)}function Gu(e){return e.dynamicChildren=Br>0?ht||Jn:null,sm(),Br>0&&ht&&ht.push(e),e}function fe(e,t,n,r,o,s){return Gu(se(e,t,n,r,o,s,!0))}function Ee(e,t,n,r,o){return Gu(ee(e,t,n,r,o,!0))}function tn(e){return e?e.__v_isVNode===!0:!1}function En(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=To.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const im=(...e)=>Ju(...e),Yu=({key:e})=>e??null,Do=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||xe(e)||ue(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function se(e,t=null,n=null,r=0,o=null,s=e===Ve?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yu(t),ref:t&&Do(t),scopeId:hu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ze};return a?(ta(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ne(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&U("VNode created with invalid key (NaN). VNode type:",l.type),Br>0&&!i&&ht&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ht.push(l),l}const ee=process.env.NODE_ENV!=="production"?im:Ju;function Ju(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Cu)&&(process.env.NODE_ENV!=="production"&&!e&&U(`Invalid vnode type when creating vnode: ${e}.`),e=je),tn(e)){const a=Wt(e,t,!0);return n&&ta(a,n),Br>0&&!s&&ht&&(a.shapeFlag&6?ht[ht.indexOf(e)]=a:ht.push(a)),a.patchFlag=-2,a}if(ef(e)&&(e=e.__vccOpts),t){t=am(t);let{class:a,style:l}=t;a&&!Ne(a)&&(t.class=Je(a)),ye(l)&&(tr(l)&&!ae(l)&&(l=Re({},l)),t.style=fn(l))}const i=Ne(e)?1:qu(e)?128:yu(e)?64:ye(e)?4:ue(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&tr(e)&&(e=pe(e),U("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
28
|
-
Component that was made reactive: `,e)),
|
|
27
|
+
For more details, see https://link.vuejs.org/feature-flags.`)}}const ot=om;function em(e){return tm(e)}function tm(e,t){Q0();const n=no();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&Yi(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:g=qe,insertStaticContent:y}=e,p=(d,m,x,j=null,L=null,I=null,Y=void 0,W=null,z=process.env.NODE_ENV!=="production"&&ct?!1:!!m.dynamicChildren)=>{if(d===m)return;d&&!On(d,m)&&(j=me(d),re(d,L,I,!0),d=null),m.patchFlag===-2&&(z=!1,m.dynamicChildren=null);const{type:k,ref:de,shapeFlag:Z}=m;switch(k){case ao:v(d,m,x,j);break;case Be:S(d,m,x,j);break;case Po:d==null?T(m,x,j,Y):process.env.NODE_ENV!=="production"&&V(d,m,x,Y);break;case Le:ee(d,m,x,j,L,I,Y,W,z);break;default:Z&1?q(d,m,x,j,L,I,Y,W,z):Z&6?H(d,m,x,j,L,I,Y,W,z):Z&64||Z&128?k.process(d,m,x,j,L,I,Y,W,z,ke):process.env.NODE_ENV!=="production"&&B("Invalid VNode type:",k,`(${typeof k})`)}de!=null&&L?Ar(de,d&&d.ref,I,m||d,!m):de==null&&d&&d.ref!=null&&Ar(d.ref,null,I,d,!0)},v=(d,m,x,j)=>{if(d==null)r(m.el=a(m.children),x,j);else{const L=m.el=d.el;m.children!==d.children&&u(L,m.children)}},S=(d,m,x,j)=>{d==null?r(m.el=l(m.children||""),x,j):m.el=d.el},T=(d,m,x,j)=>{[d.el,d.anchor]=y(d.children,m,x,j,d.el,d.anchor)},V=(d,m,x,j)=>{if(m.children!==d.children){const L=h(d.anchor);E(d),[m.el,m.anchor]=y(m.children,x,L,j)}else m.el=d.el,m.anchor=d.anchor},J=({el:d,anchor:m},x,j)=>{let L;for(;d&&d!==m;)L=h(d),r(d,x,j),d=L;r(m,x,j)},E=({el:d,anchor:m})=>{let x;for(;d&&d!==m;)x=h(d),o(d),d=x;o(m)},q=(d,m,x,j,L,I,Y,W,z)=>{if(m.type==="svg"?Y="svg":m.type==="math"&&(Y="mathml"),d==null)P(m,x,j,L,I,Y,W,z);else{const k=d.el&&d.el._isVueCE?d.el:null;try{k&&k._beginPatch(),O(d,m,L,I,Y,W,z)}finally{k&&k._endPatch()}}},P=(d,m,x,j,L,I,Y,W)=>{let z,k;const{props:de,shapeFlag:Z,transition:ce,dirs:pe}=d;if(z=d.el=i(d.type,I,de&&de.is,de),Z&8?c(z,d.children):Z&16&&F(d.children,z,null,j,L,Ps(d,I),Y,W),pe&&mn(d,null,j,"created"),ne(z,d,d.scopeId,Y,j),de){for(const D in de)D!=="value"&&!Sr(D)&&s(z,D,null,de[D],I,j);"value"in de&&s(z,"value",null,de.value,I),(k=de.onVnodeBeforeMount)&&kt(k,j,d)}process.env.NODE_ENV!=="production"&&(Mo(z,"__vnode",d,!0),Mo(z,"__vueParentComponent",j,!0)),pe&&mn(d,null,j,"beforeMount");const C=nm(L,ce);if(C&&ce.beforeEnter(z),r(z,m,x),(k=de&&de.onVnodeMounted)||C||pe){const D=process.env.NODE_ENV!=="production"&&ct;ot(()=>{let ie;process.env.NODE_ENV!=="production"&&(ie=Ba(D));try{k&&kt(k,j,d),C&&ce.enter(z),pe&&mn(d,null,j,"mounted")}finally{process.env.NODE_ENV!=="production"&&Ba(ie)}},L)}},ne=(d,m,x,j,L)=>{if(x&&g(d,x),j)for(let I=0;I<j.length;I++)g(d,j[I]);if(L){let I=L.subTree;if(process.env.NODE_ENV!=="production"&&I.patchFlag>0&&I.patchFlag&2048&&(I=ea(I.children)||I),m===I||qu(I.type)&&(I.ssContent===m||I.ssFallback===m)){const Y=L.vnode;ne(d,Y,Y.scopeId,Y.slotScopeIds,L.parent)}}},F=(d,m,x,j,L,I,Y,W,z=0)=>{for(let k=z;k<d.length;k++){const de=d[k]=W?Jt(d[k]):Tt(d[k]);p(null,de,m,x,j,L,I,Y,W)}},O=(d,m,x,j,L,I,Y)=>{const W=m.el=d.el;process.env.NODE_ENV!=="production"&&(W.__vnode=m);let{patchFlag:z,dynamicChildren:k,dirs:de}=m;z|=d.patchFlag&16;const Z=d.props||Ae,ce=m.props||Ae;let pe;if(x&&gn(x,!1),(pe=ce.onVnodeBeforeUpdate)&&kt(pe,x,m,d),de&&mn(m,d,x,"beforeUpdate"),x&&gn(x,!0),process.env.NODE_ENV!=="production"&&ct&&(z=0,Y=!1,k=null),(Z.innerHTML&&ce.innerHTML==null||Z.textContent&&ce.textContent==null)&&c(W,""),k?(w(d.dynamicChildren,k,W,x,j,Ps(m,L),I),process.env.NODE_ENV!=="production"&&Pr(d,m)):Y||X(d,m,W,null,x,j,Ps(m,L),I,!1),z>0){if(z&16)N(W,Z,ce,x,L);else if(z&2&&Z.class!==ce.class&&s(W,"class",null,ce.class,L),z&4&&s(W,"style",Z.style,ce.style,L),z&8){const C=m.dynamicProps;for(let D=0;D<C.length;D++){const ie=C[D],Ce=Z[ie],ze=ce[ie];(ze!==Ce||ie==="value")&&s(W,ie,Ce,ze,L,x)}}z&1&&d.children!==m.children&&c(W,m.children)}else!Y&&k==null&&N(W,Z,ce,x,L);((pe=ce.onVnodeUpdated)||de)&&ot(()=>{pe&&kt(pe,x,m,d),de&&mn(m,d,x,"updated")},j)},w=(d,m,x,j,L,I,Y)=>{for(let W=0;W<m.length;W++){const z=d[W],k=m[W],de=z.el&&(z.type===Le||!On(z,k)||z.shapeFlag&198)?f(z.el):x;p(z,k,de,null,j,L,I,Y,!0)}},N=(d,m,x,j,L)=>{if(m!==x){if(m!==Ae)for(const I in m)!Sr(I)&&!(I in x)&&s(d,I,m[I],null,L,j);for(const I in x){if(Sr(I))continue;const Y=x[I],W=m[I];Y!==W&&I!=="value"&&s(d,I,W,Y,L,j)}"value"in x&&s(d,"value",m.value,x.value,L)}},ee=(d,m,x,j,L,I,Y,W,z)=>{const k=m.el=d?d.el:a(""),de=m.anchor=d?d.anchor:a("");let{patchFlag:Z,dynamicChildren:ce,slotScopeIds:pe}=m;process.env.NODE_ENV!=="production"&&(ct||Z&2048)&&(Z=0,z=!1,ce=null),pe&&(W=W?W.concat(pe):pe),d==null?(r(k,x,j),r(de,x,j),F(m.children||[],x,de,L,I,Y,W,z)):Z>0&&Z&64&&ce&&d.dynamicChildren&&d.dynamicChildren.length===ce.length?(w(d.dynamicChildren,ce,x,L,I,Y,W),process.env.NODE_ENV!=="production"?Pr(d,m):(m.key!=null||L&&m===L.subTree)&&Pr(d,m,!0)):X(d,m,x,de,L,I,Y,W,z)},H=(d,m,x,j,L,I,Y,W,z)=>{m.slotScopeIds=W,d==null?m.shapeFlag&512?L.ctx.activate(m,x,j,Y,z):$(m,x,j,L,I,Y,z):R(d,m,z)},$=(d,m,x,j,L,I,Y)=>{const W=d.component=um(d,j,L);if(process.env.NODE_ENV!=="production"&&W.type.__hmrId&&Bh(W),process.env.NODE_ENV!=="production"&&(To(d),Wn(W,"mount")),so(d)&&(W.ctx.renderer=ke),process.env.NODE_ENV!=="production"&&Wn(W,"init"),dm(W,!1,Y),process.env.NODE_ENV!=="production"&&Kn(W,"init"),process.env.NODE_ENV!=="production"&&ct&&(d.el=null),W.asyncDep){if(L&&L.registerDep(W,M,Y),!d.el){const z=W.subTree=te(Be);S(null,z,m,x),d.placeholder=z.el}}else M(W,d,m,x,L,I,Y);process.env.NODE_ENV!=="production"&&(Ao(),Kn(W,"mount"))},R=(d,m,x)=>{const j=m.component=d.component;if(F0(d,m,x))if(j.asyncDep&&!j.asyncResolved){process.env.NODE_ENV!=="production"&&To(m),A(j,m,x),process.env.NODE_ENV!=="production"&&Ao();return}else j.next=m,j.update();else m.el=d.el,j.vnode=m},M=(d,m,x,j,L,I,Y)=>{const W=()=>{if(d.isMounted){let{next:Z,bu:ce,u:pe,parent:C,vnode:D}=d;{const vt=Wu(d);if(vt){Z&&(Z.el=D.el,A(d,Z,Y)),vt.asyncDep.then(()=>{ot(()=>{d.isUnmounted||k()},L)});return}}let ie=Z,Ce;process.env.NODE_ENV!=="production"&&To(Z||d.vnode),gn(d,!1),Z?(Z.el=D.el,A(d,Z,Y)):Z=D,ce&&dr(ce),(Ce=Z.props&&Z.props.onVnodeBeforeUpdate)&&kt(Ce,C,Z,D),gn(d,!0),process.env.NODE_ENV!=="production"&&Wn(d,"render");const ze=el(d);process.env.NODE_ENV!=="production"&&Kn(d,"render");const Qe=d.subTree;d.subTree=ze,process.env.NODE_ENV!=="production"&&Wn(d,"patch"),p(Qe,ze,f(Qe.el),me(Qe),d,L,I),process.env.NODE_ENV!=="production"&&Kn(d,"patch"),Z.el=ze.el,ie===null&&k0(d,ze.el),pe&&ot(pe,L),(Ce=Z.props&&Z.props.onVnodeUpdated)&&ot(()=>kt(Ce,C,Z,D),L),process.env.NODE_ENV!=="production"&&du(d),process.env.NODE_ENV!=="production"&&Ao()}else{let Z;const{el:ce,props:pe}=m,{bm:C,m:D,parent:ie,root:Ce,type:ze}=d,Qe=er(m);gn(d,!1),C&&dr(C),!Qe&&(Z=pe&&pe.onVnodeBeforeMount)&&kt(Z,ie,m),gn(d,!0);{Ce.ce&&Ce.ce._hasShadowRoot()&&Ce.ce._injectChildStyle(ze,d.parent?d.parent.type:void 0),process.env.NODE_ENV!=="production"&&Wn(d,"render");const vt=d.subTree=el(d);process.env.NODE_ENV!=="production"&&Kn(d,"render"),process.env.NODE_ENV!=="production"&&Wn(d,"patch"),p(null,vt,x,j,d,L,I),process.env.NODE_ENV!=="production"&&Kn(d,"patch"),m.el=vt.el}if(D&&ot(D,L),!Qe&&(Z=pe&&pe.onVnodeMounted)){const vt=m;ot(()=>kt(Z,ie,vt),L)}(m.shapeFlag&256||ie&&er(ie.vnode)&&ie.vnode.shapeFlag&256)&&d.a&&ot(d.a,L),d.isMounted=!0,process.env.NODE_ENV!=="production"&&qh(d),m=x=j=null}};d.scope.on();const z=d.effect=new kc(W);d.scope.off();const k=d.update=z.run.bind(z),de=d.job=z.runIfDirty.bind(z);de.i=d,de.id=d.uid,z.scheduler=()=>cs(de),gn(d,!0),process.env.NODE_ENV!=="production"&&(z.onTrack=d.rtc?Z=>dr(d.rtc,Z):void 0,z.onTrigger=d.rtg?Z=>dr(d.rtg,Z):void 0),k()},A=(d,m,x)=>{m.component=d;const j=d.vnode.props;d.vnode=m,d.next=null,U0(d,m.props,j,x),Z0(d,m.children,x),It(),ja(d),Mt()},X=(d,m,x,j,L,I,Y,W,z=!1)=>{const k=d&&d.children,de=d?d.shapeFlag:0,Z=m.children,{patchFlag:ce,shapeFlag:pe}=m;if(ce>0){if(ce&128){U(k,Z,x,j,L,I,Y,W,z);return}else if(ce&256){b(k,Z,x,j,L,I,Y,W,z);return}}pe&8?(de&16&&$e(k,L,I),Z!==k&&c(x,Z)):de&16?pe&16?U(k,Z,x,j,L,I,Y,W,z):$e(k,L,I,!0):(de&8&&c(x,""),pe&16&&F(Z,x,j,L,I,Y,W,z))},b=(d,m,x,j,L,I,Y,W,z)=>{d=d||Xn,m=m||Xn;const k=d.length,de=m.length,Z=Math.min(k,de);let ce;for(ce=0;ce<Z;ce++){const pe=m[ce]=z?Jt(m[ce]):Tt(m[ce]);p(d[ce],pe,x,null,L,I,Y,W,z)}k>de?$e(d,L,I,!0,!1,Z):F(m,x,j,L,I,Y,W,z,Z)},U=(d,m,x,j,L,I,Y,W,z)=>{let k=0;const de=m.length;let Z=d.length-1,ce=de-1;for(;k<=Z&&k<=ce;){const pe=d[k],C=m[k]=z?Jt(m[k]):Tt(m[k]);if(On(pe,C))p(pe,C,x,null,L,I,Y,W,z);else break;k++}for(;k<=Z&&k<=ce;){const pe=d[Z],C=m[ce]=z?Jt(m[ce]):Tt(m[ce]);if(On(pe,C))p(pe,C,x,null,L,I,Y,W,z);else break;Z--,ce--}if(k>Z){if(k<=ce){const pe=ce+1,C=pe<de?m[pe].el:j;for(;k<=ce;)p(null,m[k]=z?Jt(m[k]):Tt(m[k]),x,C,L,I,Y,W,z),k++}}else if(k>ce)for(;k<=Z;)re(d[k],L,I,!0),k++;else{const pe=k,C=k,D=new Map;for(k=C;k<=ce;k++){const Ze=m[k]=z?Jt(m[k]):Tt(m[k]);Ze.key!=null&&(process.env.NODE_ENV!=="production"&&D.has(Ze.key)&&B("Duplicate keys found during update:",JSON.stringify(Ze.key),"Make sure keys are unique."),D.set(Ze.key,k))}let ie,Ce=0;const ze=ce-C+1;let Qe=!1,vt=0;const pn=new Array(ze);for(k=0;k<ze;k++)pn[k]=0;for(k=pe;k<=Z;k++){const Ze=d[k];if(Ce>=ze){re(Ze,L,I,!0);continue}let _t;if(Ze.key!=null)_t=D.get(Ze.key);else for(ie=C;ie<=ce;ie++)if(pn[ie-C]===0&&On(Ze,m[ie])){_t=ie;break}_t===void 0?re(Ze,L,I,!0):(pn[_t-C]=k+1,_t>=vt?vt=_t:Qe=!0,p(Ze,m[_t],x,null,L,I,Y,W,z),Ce++)}const vo=Qe?rm(pn):Xn;for(ie=vo.length-1,k=ze-1;k>=0;k--){const Ze=C+k,_t=m[Ze],_e=m[Ze+1],hn=Ze+1<de?_e.el||Ku(_e):j;pn[k]===0?p(null,_t,x,hn,L,I,Y,W,z):Qe&&(ie<0||k!==vo[ie]?G(_t,x,hn,2):ie--)}}},G=(d,m,x,j,L=null)=>{const{el:I,type:Y,transition:W,children:z,shapeFlag:k}=d;if(k&6){G(d.component.subTree,m,x,j);return}if(k&128){d.suspense.move(m,x,j);return}if(k&64){Y.move(d,m,x,ke);return}if(Y===Le){r(I,m,x);for(let Z=0;Z<z.length;Z++)G(z[Z],m,x,j);r(d.anchor,m,x);return}if(Y===Po){J(d,m,x);return}if(j!==2&&k&1&&W)if(j===0)W.persisted&&!I[Ot]?r(I,m,x):(W.beforeEnter(I),r(I,m,x),ot(()=>W.enter(I),L));else{const{leave:Z,delayLeave:ce,afterLeave:pe}=W,C=()=>{d.ctx.isUnmounted?o(I):r(I,m,x)},D=()=>{const ie=I._isLeaving||!!I[Ot];I._isLeaving&&I[Ot](!0),W.persisted&&!ie?C():Z(I,()=>{C(),pe&&pe()})};ce?ce(I,C,D):D()}else r(I,m,x)},re=(d,m,x,j=!1,L=!1)=>{const{type:I,props:Y,ref:W,children:z,dynamicChildren:k,shapeFlag:de,patchFlag:Z,dirs:ce,cacheIndex:pe,memo:C}=d;if(Z===-2&&(L=!1),W!=null&&(It(),Ar(W,null,x,d,!0),Mt()),pe!=null&&(m.renderCache[pe]=void 0),de&256){m.ctx.deactivate(d);return}const D=de&1&&ce,ie=!er(d);let Ce;if(ie&&(Ce=Y&&Y.onVnodeBeforeUnmount)&&kt(Ce,m,d),de&6)ft(d.component,x,j);else{if(de&128){d.suspense.unmount(x,j);return}D&&mn(d,null,m,"beforeUnmount"),de&64?d.type.remove(d,m,x,ke,j):k&&!k.hasOnce&&(I!==Le||Z>0&&Z&64)?$e(k,m,x,!1,!0):(I===Le&&Z&384||!L&&de&16)&&$e(z,m,x),j&&Ee(d)}const ze=C!=null&&pe==null;(ie&&(Ce=Y&&Y.onVnodeUnmounted)||D||ze)&&ot(()=>{Ce&&kt(Ce,m,d),D&&mn(d,null,m,"unmounted"),ze&&(d.el=null)},x)},Ee=d=>{const{type:m,el:x,anchor:j,transition:L}=d;if(m===Le){process.env.NODE_ENV!=="production"&&d.patchFlag>0&&d.patchFlag&2048&&L&&!L.persisted?d.children.forEach(Y=>{Y.type===Be?o(Y.el):Ee(Y)}):xe(x,j);return}if(m===Po){E(d);return}const I=()=>{o(x),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(d.shapeFlag&1&&L&&!L.persisted){const{leave:Y,delayLeave:W}=L,z=()=>Y(x,I);W?W(d.el,I,z):z()}else I()},xe=(d,m)=>{let x;for(;d!==m;)x=h(d),o(d),d=x;o(m)},ft=(d,m,x)=>{process.env.NODE_ENV!=="production"&&d.type.__hmrId&&Uh(d);const{bum:j,scope:L,job:I,subTree:Y,um:W,m:z,a:k}=d;il(z),il(k),j&&dr(j),L.stop(),I&&(I.flags|=8,re(Y,d,m,x)),W&&ot(W,m),ot(()=>{d.isUnmounted=!0},m),process.env.NODE_ENV!=="production"&&Yh(d)},$e=(d,m,x,j=!1,L=!1,I=0)=>{for(let Y=I;Y<d.length;Y++)re(d[Y],m,x,j,L)},me=d=>{if(d.shapeFlag&6)return me(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const m=h(d.anchor||d.el),x=m&&m[_u];return x?h(x):m};let Re=!1;const Ie=(d,m,x)=>{let j;d==null?m._vnode&&(re(m._vnode,null,null,!0),j=m._vnode.component):p(m._vnode||null,d,m,null,null,null,x),m._vnode=d,Re||(Re=!0,ja(j),cu(),Re=!1)},ke={p,um:re,m:G,r:Ee,mt:$,mc:F,pc:X,pbc:w,n:me,o:e};return{render:Ie,hydrate:void 0,createApp:$0(Ie)}}function Ps({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function nm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pr(e,t,n=!1){const r=e.children,o=t.children;if(le(r)&&le(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Jt(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Pr(i,a)),a.type===ao&&(a.patchFlag===-1&&(a=o[s]=Jt(a)),a.el=i.el),a.type===Be&&!a.el&&(a.el=i.el),process.env.NODE_ENV!=="production"&&a.el&&(a.el.__vnode=a)}}function rm(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<u?s=a+1:i=a;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Wu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wu(t)}function il(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ku(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ku(t.subTree):null}const qu=e=>e.__isSuspense;function om(e,t){t&&t.pendingBranch?le(e)?t.effects.push(...e):t.effects.push(e):lu(e)}const Le=Symbol.for("v-fgt"),ao=Symbol.for("v-txt"),Be=Symbol.for("v-cmt"),Po=Symbol.for("v-stc"),$r=[];let mt=null;function K(e=!1){$r.push(mt=e?null:[])}function sm(){$r.pop(),mt=$r[$r.length-1]||null}let Ur=1;function Wo(e,t=!1){Ur+=e,e<0&&mt&&t&&(mt.hasOnce=!0)}function Gu(e){return e.dynamicChildren=Ur>0?mt||Xn:null,sm(),Ur>0&&mt&&mt.push(e),e}function he(e,t,n,r,o,s){return Gu(oe(e,t,n,r,o,s,!0))}function we(e,t,n,r,o){return Gu(te(e,t,n,r,o,!0))}function tn(e){return e?e.__v_isVNode===!0:!1}function On(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=Do.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const im=(...e)=>Ju(...e),Yu=({key:e})=>e??null,$o=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||Se(e)||fe(e)?{i:He,r:e,k:t,f:!!n}:e:null);function oe(e,t=null,n=null,r=0,o=null,s=e===Le?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yu(t),ref:t&&$o(t),scopeId:hu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:He};return a?(ra(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ne(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&B("VNode created with invalid key (NaN). VNode type:",l.type),Ur>0&&!i&&mt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&mt.push(l),l}const te=process.env.NODE_ENV!=="production"?im:Ju;function Ju(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Cu)&&(process.env.NODE_ENV!=="production"&&!e&&B(`Invalid vnode type when creating vnode: ${e}.`),e=Be),tn(e)){const a=Wt(e,t,!0);return n&&ra(a,n),Ur>0&&!s&&mt&&(a.shapeFlag&6?mt[mt.indexOf(e)]=a:mt.push(a)),a.patchFlag=-2,a}if(ef(e)&&(e=e.__vccOpts),t){t=am(t);let{class:a,style:l}=t;a&&!Ne(a)&&(t.class=Ye(a)),be(l)&&(nr(l)&&!le(l)&&(l=Fe({},l)),t.style=fn(l))}const i=Ne(e)?1:qu(e)?128:yu(e)?64:be(e)?4:fe(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&nr(e)&&(e=ve(e),B("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
28
|
+
Component that was made reactive: `,e)),oe(e,t,n,r,o,i,s,!0)}function am(e){return e?nr(e)||ku(e)?Fe({},e):e:null}function Wt(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,u=t?lo(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Yu(u),ref:t&&t.ref?n&&s?le(s)?s.concat($o(t)):[s,$o(t)]:$o(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&le(a)?a.map(Xu):a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wt(e.ssContent),ssFallback:e.ssFallback&&Wt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Br(c,l.clone(c)),c}function Xu(e){const t=Wt(e);return le(e.children)&&(t.children=e.children.map(Xu)),t}function Ge(e=" ",t=0){return te(ao,null,e,t)}function Oe(e="",t=!1){return t?(K(),we(Be,null,e)):te(Be,null,e)}function Tt(e){return e==null||typeof e=="boolean"?te(Be):le(e)?te(Le,null,e.slice()):tn(e)?Jt(e):te(ao,null,String(e))}function Jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wt(e)}function ra(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(le(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ra(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!ku(t)?t._ctx=He:o===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else fe(t)?(t={default:t,_ctx:He},n=32):(t=String(t),r&64?(n=16,t=[Ge(t)]):n=8);e.children=t,e.shapeFlag|=n}function lo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ye([t.class,r.class]));else if(o==="style")t.style=fn([t.style,r.style]);else if(eo(o)){const s=t[o],i=r[o];i&&s!==i&&!(le(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!Rr(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function kt(e,t,n,r=null){St(e,t,7,[n,r])}const lm=Iu();let cm=0;function um(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||lm,s={uid:cm++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Lc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bu(r,o),emitsOptions:Mu(r,o),emit:null,emitted:null,propsDefaults:Ae,inheritAttrs:r.inheritAttrs,ctx:Ae,data:Ae,props:Ae,attrs:Ae,slots:Ae,refs:Ae,setupState:Ae,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return process.env.NODE_ENV!=="production"?s.ctx=E0(s):s.ctx={_:s},s.root=t?t.root:s,s.emit=M0.bind(null,s),e.ce&&e.ce(s),s}let Ue=null;const Lt=()=>Ue||He;let Ko,ci;{const e=no(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};Ko=t("__VUE_INSTANCE_SETTERS__",n=>Ue=n),ci=t("__VUE_SSR_SETTERS__",n=>Hr=n)}const co=e=>{const t=Ue;return Ko(e),e.scope.on(),()=>{e.scope.off(),Ko(t)}},al=()=>{Ue&&Ue.scope.off(),Ko(null)},fm=lr("slot,component");function ui(e,{isNativeTag:t}){(fm(e)||t(e))&&B("Do not use built-in or reserved HTML elements as component id: "+e)}function Zu(e){return e.vnode.shapeFlag&4}let Hr=!1;function dm(e,t=!1,n=!1){t&&ci(t);const{props:r,children:o}=e.vnode,s=Zu(e);j0(e,r,s,t),X0(e,o,n||t);const i=s?pm(e,t):void 0;return t&&ci(!1),i}function pm(e,t){const n=e.type;if(process.env.NODE_ENV!=="production"){if(n.name&&ui(n.name,e.appContext.config),n.components){const o=Object.keys(n.components);for(let s=0;s<o.length;s++)ui(o[s],e.appContext.config)}if(n.directives){const o=Object.keys(n.directives);for(let s=0;s<o.length;s++)mu(o[s])}n.compilerOptions&&hm()&&B('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Du),process.env.NODE_ENV!=="production"&&O0(e);const{setup:r}=n;if(r){It();const o=e.setupContext=r.length>1?gm(e):null,s=co(e),i=ur(r,e,0,[process.env.NODE_ENV!=="production"?Dt(e.props):e.props,o]),a=Fi(i);if(Mt(),s(),(a||e.sp)&&!er(e)&&xu(e),a){if(i.then(al,al),t)return i.then(l=>{ll(e,l,t)}).catch(l=>{ro(l,e,0)});if(e.asyncDep=i,process.env.NODE_ENV!=="production"&&!e.suspense){const l=uo(e,n);B(`Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else ll(e,i,t)}else Qu(e,t)}function ll(e,t,n){fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:be(t)?(process.env.NODE_ENV!=="production"&&tn(t)&&B("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=ru(t),process.env.NODE_ENV!=="production"&&N0(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&B(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Qu(e,n)}const hm=()=>!0;function Qu(e,t,n){const r=e.type;e.render||(e.render=r.render||qe);{const o=co(e);It();try{S0(e)}finally{Mt(),o()}}process.env.NODE_ENV!=="production"&&!r.render&&e.render===qe&&!t&&(r.template?B('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):B("Component is missing template or render function: ",r))}const cl=process.env.NODE_ENV!=="production"?{get(e,t){return Ho(),Ke(e,"get",""),e[t]},set(){return B("setupContext.attrs is readonly."),!1},deleteProperty(){return B("setupContext.attrs is readonly."),!1}}:{get(e,t){return Ke(e,"get",""),e[t]}};function mm(e){return new Proxy(e.slots,{get(t,n){return Ke(e,"get","$slots"),t[n]}})}function gm(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&B("expose() should be called only once per setup()."),n!=null)){let r=typeof n;r==="object"&&(le(n)?r="array":Se(n)&&(r="ref")),r!=="object"&&B(`expose() should be passed a plain object, received ${r}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,r;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,cl))},get slots(){return r||(r=mm(e))},get emit(){return(o,...s)=>e.emit(o,...s)},expose:t})}else return{attrs:new Proxy(e.attrs,cl),slots:e.slots,emit:e.emit,expose:t}}function ds(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ru(Jn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in An)return An[n](e)},has(t,n){return n in t||n in An}})):e.proxy}const vm=/(?:^|[-_])\w/g,_m=e=>e.replace(vm,t=>t.toUpperCase()).replace(/[-_]/g,"");function oa(e,t=!0){return fe(e)?e.displayName||e.name:e.name||t&&e.__name}function uo(e,t,n=!1){let r=oa(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e){const o=s=>{for(const i in s)if(s[i]===t)return i};r=o(e.components)||e.parent&&o(e.parent.type.components)||o(e.appContext.components)}return r?_m(r):n?"App":"Anonymous"}function ef(e){return fe(e)&&"__vccOpts"in e}const se=(e,t)=>{const n=Dh(e,t,Hr);if(process.env.NODE_ENV!=="production"){const r=Lt();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function ym(e,t,n){try{Wo(-1);const r=arguments.length;return r===2?be(t)&&!le(t)?tn(t)?te(e,null,[t]):te(e,t):te(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&tn(n)&&(n=[n]),te(e,t,n))}finally{Wo(1)}}function wm(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},o={__vue_custom_formatter:!0,header(f){if(!be(f))return null;if(f.__isVue)return["div",e,"VueInstance"];if(Se(f)){It();const h=f.value;return Mt(),["div",{},["span",e,c(f)],"<",a(h),">"]}else{if(xt(f))return["div",{},["span",e,nt(f)?"ShallowReactive":"Reactive"],"<",a(f),`>${Vt(f)?" (readonly)":""}`];if(Vt(f))return["div",{},["span",e,nt(f)?"ShallowReadonly":"Readonly"],"<",a(f),">"]}return null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...s(f.$)]}};function s(f){const h=[];f.type.props&&f.props&&h.push(i("props",ve(f.props))),f.setupState!==Ae&&h.push(i("setup",f.setupState)),f.data!==Ae&&h.push(i("data",ve(f.data)));const g=l(f,"computed");g&&h.push(i("computed",g));const y=l(f,"inject");return y&&h.push(i("injected",y)),h.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),h}function i(f,h){return h=Fe({},h),Object.keys(h).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(h).map(g=>["div",{},["span",r,g+": "],a(h[g],!1)])]]:["span",{}]}function a(f,h=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",r,f]:be(f)?["object",{object:h?ve(f):f}]:["span",n,String(f)]}function l(f,h){const g=f.type;if(fe(g))return;const y={};for(const p in f.ctx)u(g,p,h)&&(y[p]=f.ctx[p]);return y}function u(f,h,g){const y=f[g];if(le(y)&&y.includes(h)||be(y)&&h in y||f.extends&&u(f.extends,h,g)||f.mixins&&f.mixins.some(p=>u(p,h,g)))return!0}function c(f){return nt(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}const ul="3.5.35",fo=process.env.NODE_ENV!=="production"?B:qe;process.env.NODE_ENV;process.env.NODE_ENV;/**
|
|
29
29
|
* @vue/runtime-dom v3.5.35
|
|
30
30
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
31
31
|
* @license MIT
|
|
32
|
-
**/let
|
|
33
|
-
Expected function or array of functions, received type ${typeof e}.`),
|
|
32
|
+
**/let fi;const fl=typeof window<"u"&&window.trustedTypes;if(fl)try{fi=fl.createPolicy("vue",{createHTML:e=>e})}catch(e){process.env.NODE_ENV!=="production"&&fo(`Error creating trusted types policy: ${e}`)}const tf=fi?e=>fi.createHTML(e):e=>e,bm="http://www.w3.org/2000/svg",Em="http://www.w3.org/1998/Math/MathML",Gt=typeof document<"u"?document:null,dl=Gt&&Gt.createElement("template"),Om={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Gt.createElementNS(bm,e):t==="mathml"?Gt.createElementNS(Em,e):n?Gt.createElement(e,{is:n}):Gt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Gt.createTextNode(e),createComment:e=>Gt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{dl.innerHTML=tf(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=dl.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},an="transition",gr="animation",zr=Symbol("_vtc"),nf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Nm=Fe({},wu,nf),xm=e=>(e.displayName="Transition",e.props=Nm,e),ps=xm((e,{slots:t})=>ym(c0,Sm(e),t)),vn=(e,t=[])=>{le(e)?e.forEach(n=>n(...t)):e&&e(...t)},pl=e=>e?le(e)?e.some(t=>t.length>1):e.length>1:!1;function Sm(e){const t={};for(const N in e)N in nf||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,y=Cm(o),p=y&&y[0],v=y&&y[1],{onBeforeEnter:S,onEnter:T,onEnterCancelled:V,onLeave:J,onLeaveCancelled:E,onBeforeAppear:q=S,onAppear:P=T,onAppearCancelled:ne=V}=t,F=(N,ee,H,$)=>{N._enterCancelled=$,_n(N,ee?c:a),_n(N,ee?u:i),H&&H()},O=(N,ee)=>{N._isLeaving=!1,_n(N,f),_n(N,g),_n(N,h),ee&&ee()},w=N=>(ee,H)=>{const $=N?P:T,R=()=>F(ee,N,H);vn($,[ee,R]),hl(()=>{_n(ee,N?l:s),qt(ee,N?c:a),pl($)||ml(ee,r,p,R)})};return Fe(t,{onBeforeEnter(N){vn(S,[N]),qt(N,s),qt(N,i)},onBeforeAppear(N){vn(q,[N]),qt(N,l),qt(N,u)},onEnter:w(!1),onAppear:w(!0),onLeave(N,ee){N._isLeaving=!0;const H=()=>O(N,ee);qt(N,f),N._enterCancelled?(qt(N,h),_l(N)):(_l(N),qt(N,h)),hl(()=>{N._isLeaving&&(_n(N,f),qt(N,g),pl(J)||ml(N,r,v,H))}),vn(J,[N,H])},onEnterCancelled(N){F(N,!1,void 0,!0),vn(V,[N])},onAppearCancelled(N){F(N,!0,void 0,!0),vn(ne,[N])},onLeaveCancelled(N){O(N),vn(E,[N])}})}function Cm(e){if(e==null)return null;if(be(e))return[$s(e.enter),$s(e.leave)];{const t=$s(e);return[t,t]}}function $s(e){const t=Zp(e);return process.env.NODE_ENV!=="production"&&Lh(t,"<transition> explicit duration"),t}function qt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zr]||(e[zr]=new Set)).add(t)}function _n(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zr];n&&(n.delete(t),n.size||(e[zr]=void 0))}function hl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Tm=0;function ml(e,t,n,r){const o=e._endId=++Tm,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Am(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,h),s()},h=g=>{g.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,h)}function Am(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),o=r(`${an}Delay`),s=r(`${an}Duration`),i=gl(o,s),a=r(`${gr}Delay`),l=r(`${gr}Duration`),u=gl(a,l);let c=null,f=0,h=0;t===an?i>0&&(c=an,f=i,h=s.length):t===gr?u>0&&(c=gr,f=u,h=l.length):(f=Math.max(i,u),c=f>0?i>u?an:gr:null,h=c?c===an?s.length:l.length:0);const g=c===an&&/\b(?:transform|all)(?:,|$)/.test(r(`${an}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:g}}function gl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>vl(n)+vl(e[r])))}function vl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function _l(e){return(e?e.ownerDocument:document).body.offsetHeight}function Dm(e,t,n){const r=e[zr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qo=Symbol("_vod"),rf=Symbol("_vsh"),Go={name:"show",beforeMount(e,{value:t},{transition:n}){e[qo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):vr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),vr(e,!0),r.enter(e)):r.leave(e,()=>{vr(e,!1)}):vr(e,t))},beforeUnmount(e,{value:t}){vr(e,t)}};function vr(e,t){e.style.display=t?e[qo]:"none",e[rf]=!t}const Pm=Symbol(process.env.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),$m=/(?:^|;)\s*display\s*:/;function Im(e,t,n){const r=e.style,o=Ne(n);let s=!1;if(n&&!o){if(t)if(Ne(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Or(r,a,"")}else for(const i in t)n[i]==null&&Or(r,i,"");for(const i in n){i==="display"&&(s=!0);const a=n[i];a!=null?Rm(e,i,!Ne(t)&&t?t[i]:void 0,a)||Or(r,i,a):Or(r,i,"")}}else if(o){if(t!==n){const i=r[Pm];i&&(n+=";"+i),r.cssText=n,s=$m.test(n)}}else t&&e.removeAttribute("style");qo in e&&(e[qo]=s?r.display:"",e[rf]&&(r.display="none"))}const Mm=/[^\\];\s*$/,yl=/\s*!important$/;function Or(e,t,n){if(le(n))n.forEach(r=>Or(e,t,r));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&Mm.test(n)&&fo(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const r=Vm(e,t);yl.test(n)?e.setProperty(Qt(r),n.replace(yl,""),"important"):e[r]=n}}const wl=["Webkit","Moz","ms"],Is={};function Vm(e,t){const n=Is[t];if(n)return n;let r=Xe(t);if(r!=="filter"&&r in e)return Is[t]=r;r=$n(r);for(let o=0;o<wl.length;o++){const s=wl[o]+r;if(s in e)return Is[t]=s}return t}function Rm(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ne(r)&&n===r}const bl="http://www.w3.org/1999/xlink";function El(e,t,n,r,o,s=oh(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(bl,t.slice(6,t.length)):e.setAttributeNS(bl,t,n):n==null||s&&!Mc(n)?e.removeAttribute(t):e.setAttribute(t,s?"":ht(n)?String(n):n)}function Ol(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?tf(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Mc(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch(a){process.env.NODE_ENV!=="production"&&!i&&fo(`Failed setting prop "${t}" on <${s.toLowerCase()}>: value ${n} is invalid.`,a)}i&&e.removeAttribute(o||t)}function Lm(e,t,n,r){e.addEventListener(t,n,r)}function Fm(e,t,n,r){e.removeEventListener(t,n,r)}const Nl=Symbol("_vei");function km(e,t,n,r,o=null){const s=e[Nl]||(e[Nl]={}),i=s[t];if(r&&i)i.value=process.env.NODE_ENV!=="production"?Sl(r,t):r;else{const[a,l]=jm(t);if(r){const u=s[t]=Hm(process.env.NODE_ENV!=="production"?Sl(r,t):r,o);Lm(e,a,u,l)}else i&&(Fm(e,a,i,l),s[t]=void 0)}}const xl=/(?:Once|Passive|Capture)$/;function jm(e){let t;if(xl.test(e)){t={};let r;for(;r=e.match(xl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Qt(e.slice(2)),t]}let Ms=0;const Bm=Promise.resolve(),Um=()=>Ms||(Bm.then(()=>Ms=0),Ms=Date.now());function Hm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(le(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const i=o.slice(),a=[r];for(let l=0;l<i.length&&!r._stopped;l++){const u=i[l];u&&St(u,t,5,a)}}else St(o,t,5,[r])};return n.value=e,n.attached=Um(),n}function Sl(e,t){return fe(e)||le(e)?e:(fo(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
33
|
+
Expected function or array of functions, received type ${typeof e}.`),qe)}const Cl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,zm=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Dm(e,r,i):t==="style"?Im(e,n,r):eo(t)?Rr(t)||km(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wm(e,t,r,i))?(Ol(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&El(e,t,r,i,s,t!=="value")):e._isVueCE&&(Km(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ne(r)))?Ol(e,Xe(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),El(e,t,r,i))};function Wm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Cl(t)&&fe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Cl(t)&&Ne(n)?!1:t in e}function Km(e,t){const n=e._def.props;if(!n)return!1;const r=Xe(t);return Array.isArray(n)?n.some(o=>Xe(o)===r):Object.keys(n).some(o=>Xe(o)===r)}const qm=["ctrl","shift","alt","meta"],Gm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>qm.some(n=>e[`${n}Key`]&&!t.includes(n))},of=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i<t.length;i++){const a=Gm[t[i]];if(a&&a(o,t))return}return e(o,...s)})},Ym={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Jm=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=Qt(o.key);if(t.some(i=>i===s||Ym[i]===s))return e(o)})},Xm=Fe({patchProp:zm},Om);let Tl;function Zm(){return Tl||(Tl=em(Xm))}const di=(...e)=>{Zm().render(...e)};/**
|
|
34
34
|
* vue v3.5.35
|
|
35
35
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
36
36
|
* @license MIT
|
|
37
|
-
**/function Qm(){wm()}process.env.NODE_ENV!=="production"&&Qm();const fi={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},eg=["","default","small","large"];var sf=typeof global=="object"&&global&&global.Object===Object&&global,tg=typeof self=="object"&&self&&self.Object===Object&&self,rn=sf||tg||Function("return this")(),dn=rn.Symbol,af=Object.prototype,ng=af.hasOwnProperty,rg=af.toString,vr=dn?dn.toStringTag:void 0;function og(e){var t=ng.call(e,vr),n=e[vr];try{e[vr]=void 0;var r=!0}catch{}var o=rg.call(e);return r&&(t?e[vr]=n:delete e[vr]),o}var sg=Object.prototype,ig=sg.toString;function ag(e){return ig.call(e)}var lg="[object Null]",cg="[object Undefined]",Al=dn?dn.toStringTag:void 0;function Fn(e){return e==null?e===void 0?cg:lg:Al&&Al in Object(e)?og(e):ag(e)}function fo(e){return e!=null&&typeof e=="object"}var ug="[object Symbol]";function ra(e){return typeof e=="symbol"||fo(e)&&Fn(e)==ug}function fg(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var oa=Array.isArray,Dl=dn?dn.prototype:void 0,Pl=Dl?Dl.toString:void 0;function lf(e){if(typeof e=="string")return e;if(oa(e))return fg(e,lf)+"";if(ra(e))return Pl?Pl.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function cf(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var dg="[object AsyncFunction]",pg="[object Function]",hg="[object GeneratorFunction]",mg="[object Proxy]";function gg(e){if(!cf(e))return!1;var t=Fn(e);return t==pg||t==hg||t==dg||t==mg}var Is=rn["__core-js_shared__"],$l=function(){var e=/[^.]+$/.exec(Is&&Is.keys&&Is.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vg(e){return!!$l&&$l in e}var _g=Function.prototype,yg=_g.toString;function kn(e){if(e!=null){try{return yg.call(e)}catch{}try{return e+""}catch{}}return""}var wg=/[\\^$.*+?()[\]{}|]/g,bg=/^\[object .+?Constructor\]$/,Eg=Function.prototype,Og=Object.prototype,Ng=Eg.toString,Sg=Og.hasOwnProperty,xg=RegExp("^"+Ng.call(Sg).replace(wg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Cg(e){if(!cf(e)||vg(e))return!1;var t=gg(e)?xg:bg;return t.test(kn(e))}function Tg(e,t){return e==null?void 0:e[t]}function jn(e,t){var n=Tg(e,t);return Cg(n)?n:void 0}var di=jn(rn,"WeakMap"),Il=function(){try{var e=jn(Object,"defineProperty");return e({},"",{}),e}catch{}}();function Ag(e,t,n){t=="__proto__"&&Il?Il(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Dg(e,t){return e===t||e!==e&&t!==t}var Pg=Object.prototype,iw=Pg.hasOwnProperty;var $g=9007199254740991;function Ig(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$g}var aw=Object.prototype;var Mg="[object Arguments]";function Ml(e){return fo(e)&&Fn(e)==Mg}var uf=Object.prototype,Vg=uf.hasOwnProperty,Rg=uf.propertyIsEnumerable,lw=Ml(function(){return arguments}())?Ml:function(e){return fo(e)&&Vg.call(e,"callee")&&!Rg.call(e,"callee")};var ff=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vl=ff&&typeof module=="object"&&module&&!module.nodeType&&module,Lg=Vl&&Vl.exports===ff,Rl=Lg?rn.Buffer:void 0,cw=Rl?Rl.isBuffer:void 0;var Fg="[object Arguments]",kg="[object Array]",jg="[object Boolean]",Bg="[object Date]",Ug="[object Error]",Hg="[object Function]",zg="[object Map]",Wg="[object Number]",Kg="[object Object]",qg="[object RegExp]",Gg="[object Set]",Yg="[object String]",Jg="[object WeakMap]",Xg="[object ArrayBuffer]",Zg="[object DataView]",Qg="[object Float32Array]",ev="[object Float64Array]",tv="[object Int8Array]",nv="[object Int16Array]",rv="[object Int32Array]",ov="[object Uint8Array]",sv="[object Uint8ClampedArray]",iv="[object Uint16Array]",av="[object Uint32Array]",$e={};$e[Qg]=$e[ev]=$e[tv]=$e[nv]=$e[rv]=$e[ov]=$e[sv]=$e[iv]=$e[av]=!0;$e[Fg]=$e[kg]=$e[Xg]=$e[jg]=$e[Zg]=$e[Bg]=$e[Ug]=$e[Hg]=$e[zg]=$e[Wg]=$e[Kg]=$e[qg]=$e[Gg]=$e[Yg]=$e[Jg]=!1;function lv(e){return fo(e)&&Ig(e.length)&&!!$e[Fn(e)]}function cv(e){return function(t){return e(t)}}var df=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$r=df&&typeof module=="object"&&module&&!module.nodeType&&module,uv=$r&&$r.exports===df,Ms=uv&&sf.process,Ll=function(){try{var e=$r&&$r.require&&$r.require("util").types;return e||Ms&&Ms.binding&&Ms.binding("util")}catch{}}(),Fl=Ll&&Ll.isTypedArray,uw=Fl?cv(Fl):lv,fv=Object.prototype,fw=fv.hasOwnProperty;function pf(e,t){return function(n){return e(t(n))}}var dw=pf(Object.keys,Object),dv=Object.prototype,pw=dv.hasOwnProperty;var pv=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hv=/^\w*$/;function mv(e,t){if(oa(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ra(e)?!0:hv.test(e)||!pv.test(e)||t!=null&&e in Object(t)}var zr=jn(Object,"create");function gv(){this.__data__=zr?zr(null):{},this.size=0}function vv(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var _v="__lodash_hash_undefined__",yv=Object.prototype,wv=yv.hasOwnProperty;function bv(e){var t=this.__data__;if(zr){var n=t[e];return n===_v?void 0:n}return wv.call(t,e)?t[e]:void 0}var Ev=Object.prototype,Ov=Ev.hasOwnProperty;function Nv(e){var t=this.__data__;return zr?t[e]!==void 0:Ov.call(t,e)}var Sv="__lodash_hash_undefined__";function xv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=zr&&t===void 0?Sv:t,this}function In(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}In.prototype.clear=gv;In.prototype.delete=vv;In.prototype.get=bv;In.prototype.has=Nv;In.prototype.set=xv;function Cv(){this.__data__=[],this.size=0}function ds(e,t){for(var n=e.length;n--;)if(Dg(e[n][0],t))return n;return-1}var Tv=Array.prototype,Av=Tv.splice;function Dv(e){var t=this.__data__,n=ds(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Av.call(t,n,1),--this.size,!0}function Pv(e){var t=this.__data__,n=ds(t,e);return n<0?void 0:t[n][1]}function $v(e){return ds(this.__data__,e)>-1}function Iv(e,t){var n=this.__data__,r=ds(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function on(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}on.prototype.clear=Cv;on.prototype.delete=Dv;on.prototype.get=Pv;on.prototype.has=$v;on.prototype.set=Iv;var Wr=jn(rn,"Map");function Mv(){this.size=0,this.__data__={hash:new In,map:new(Wr||on),string:new In}}function Vv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ps(e,t){var n=e.__data__;return Vv(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Rv(e){var t=ps(this,e).delete(e);return this.size-=t?1:0,t}function Lv(e){return ps(this,e).get(e)}function Fv(e){return ps(this,e).has(e)}function kv(e,t){var n=ps(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function sn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}sn.prototype.clear=Mv;sn.prototype.delete=Rv;sn.prototype.get=Lv;sn.prototype.has=Fv;sn.prototype.set=kv;var jv="Expected a function";function sa(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(jv);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],s=n.cache;if(s.has(o))return s.get(o);var i=e.apply(this,r);return n.cache=s.set(o,i)||s,i};return n.cache=new(sa.Cache||sn),n}sa.Cache=sn;var Bv=500;function Uv(e){var t=sa(e,function(r){return n.size===Bv&&n.clear(),r}),n=t.cache;return t}var Hv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zv=/\\(\\)?/g,Wv=Uv(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Hv,function(n,r,o,s){t.push(o?s.replace(zv,"$1"):r||n)}),t});function Kv(e){return e==null?"":lf(e)}function qv(e,t){return oa(e)?e:mv(e,t)?[e]:Wv(Kv(e))}function Gv(e){if(typeof e=="string"||ra(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Yv(e,t){t=qv(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Gv(t[n++])];return n&&n==r?e:void 0}function Jv(e,t,n){var r=e==null?void 0:Yv(e,t);return r===void 0?n:r}var Xv=pf(Object.getPrototypeOf,Object),Zv="[object Object]",Qv=Function.prototype,e_=Object.prototype,hf=Qv.toString,t_=e_.hasOwnProperty,n_=hf.call(Object);function r_(e){if(!fo(e)||Fn(e)!=Zv)return!1;var t=Xv(e);if(t===null)return!0;var n=t_.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&hf.call(n)==n_}function o_(){this.__data__=new on,this.size=0}function s_(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function i_(e){return this.__data__.get(e)}function a_(e){return this.__data__.has(e)}var l_=200;function c_(e,t){var n=this.__data__;if(n instanceof on){var r=n.__data__;if(!Wr||r.length<l_-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new sn(r)}return n.set(e,t),this.size=n.size,this}function po(e){var t=this.__data__=new on(e);this.size=t.size}po.prototype.clear=o_;po.prototype.delete=s_;po.prototype.get=i_;po.prototype.has=a_;po.prototype.set=c_;var u_=Object.prototype,hw=u_.propertyIsEnumerable;var pi=jn(rn,"DataView"),hi=jn(rn,"Promise"),mi=jn(rn,"Set"),kl="[object Map]",f_="[object Object]",jl="[object Promise]",Bl="[object Set]",Ul="[object WeakMap]",Hl="[object DataView]",d_=kn(pi),p_=kn(Wr),h_=kn(hi),m_=kn(mi),g_=kn(di),Kn=Fn;(pi&&Kn(new pi(new ArrayBuffer(1)))!=Hl||Wr&&Kn(new Wr)!=kl||hi&&Kn(hi.resolve())!=jl||mi&&Kn(new mi)!=Bl||di&&Kn(new di)!=Ul)&&(Kn=function(e){var t=Fn(e),n=t==f_?e.constructor:void 0,r=n?kn(n):"";if(r)switch(r){case d_:return Hl;case p_:return kl;case h_:return jl;case m_:return Bl;case g_:return Ul}return t});var mw=rn.Uint8Array,v_="__lodash_hash_undefined__";function __(e){return this.__data__.set(e,v_),this}function y_(e){return this.__data__.has(e)}function gi(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new sn;++t<n;)this.add(e[t])}gi.prototype.add=gi.prototype.push=__;gi.prototype.has=y_;var zl=dn?dn.prototype:void 0,gw=zl?zl.valueOf:void 0;var w_=Object.prototype,vw=w_.hasOwnProperty;var b_=Object.prototype,_w=b_.hasOwnProperty;function mf(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var o=e[t];Ag(r,o[0],o[1])}return r}function E_(e){return e==null}const Vs=e=>typeof e=="boolean",Mn=e=>typeof e=="number";const O_=e=>typeof Element>"u"?!1:e instanceof Element;const N_=e=>Ne(e)?!Number.isNaN(Number(e)):!1;const Wl=e=>Object.keys(e);const S_="__epPropKey",at=e=>e,x_=e=>ye(e)&&!!e.__epPropKey,gf=(e,t)=>{if(!ye(e)||x_(e))return e;const{values:n,required:r,default:o,type:s,validator:i}=e,a={type:s,required:!!r,validator:n||i?l=>{let u=!1,c=[];if(n&&(c=Array.from(n),_e(e,"default")&&c.push(o),u||(u=c.includes(l))),i&&(u||(u=i(l))),!u&&c.length>0){const f=[...new Set(c)].map(h=>JSON.stringify(h)).join(", ");uo(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`)}return u}:void 0,[S_]:!0};return _e(e,"default")&&(a.default=o),a},ho=e=>mf(Object.entries(e).map(([t,n])=>[t,gf(n,t)]));var C_=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function mo(e,t){{const n=Ne(e)?new C_(`[${e}] ${t}`):e;console.warn(n)}}function vf(e,t){return ki()?(Fc(e,t),!0):!1}const Bn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T_=Object.prototype.toString,A_=e=>T_.call(e)==="[object Object]";function Rs(e){return Array.isArray(e)?e:[e]}function D_(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,s=tu(!1);let i;function a(){i&&(clearTimeout(i),i=void 0)}function l(){s.value=!1,a()}function u(...c){o&&e(),a(),s.value=!0,i=setTimeout(()=>{s.value=!1,i=void 0,e(...c)},Xn(t))}return r&&(s.value=!0,Bn&&u()),vf(l),{isPending:At(s),start:u,stop:l}}function P_(e,t,n){return Xe(e,t,{...n,immediate:!0})}const _f=Bn?window:void 0,yw=Bn?window.document:void 0;function vi(e){var t;const n=Xn(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function $_(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=oe(()=>{const r=Rs(Xn(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return P_(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>vi(s)))!==null&&r!==void 0?r:[_f].filter(s=>s!=null),Rs(Xn(n.value?e[1]:e[0])),Rs(Q(n.value?e[2]:e[1])),Xn(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!(r!=null&&r.length)||!(o!=null&&o.length)||!(s!=null&&s.length))return;const u=A_(i)?{...i}:i,c=r.flatMap(f=>o.flatMap(h=>s.map(g=>t(f,h,g,u))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}function I_(){const e=tu(!1),t=Rt();return t&&Ln(()=>{e.value=!0},t),e}function M_(e){const t=I_();return oe(()=>(t.value,!!e()))}const ww=Symbol("vueuse-ssr-width");function V_(e,t,n={}){const{window:r=_f,...o}=n;let s;const i=M_(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=Xe(oe(()=>{const c=Xn(e);return Array.isArray(c)?c.map(f=>vi(f)):[vi(c)]}),c=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const f of c)f&&s.observe(f,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),l()};return vf(u),{isSupported:i,stop:u}}const R_=()=>Bn&&/android/i.test(window.navigator.userAgent),L_="utils/dom/style";function _i(e,t="px"){if(!e&&e!==0)return"";if(Mn(e)||N_(e))return`${e}${t}`;if(Ne(e))return e;mo(L_,"binding value must be a string or number")}var F_={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}};const k_=e=>(t,n)=>j_(t,n,Q(e)),j_=(e,t,n)=>Jv(n,e,e).replace(/\{(\w+)\}/g,(r,o)=>`${(t==null?void 0:t[o])??`{${o}}`}`),B_=e=>({lang:oe(()=>Q(e).name),locale:xe(e)?e:de(e),t:k_(e)}),yf=Symbol("localeContextKey"),U_=e=>{const t=e||dt(yf,de());return B_(oe(()=>t.value||F_))},H_="is-",_n=(e,t,n,r,o)=>{let s=`${e}-${t}`;return n&&(s+=`-${n}`),r&&(s+=`__${r}`),o&&(s+=`--${o}`),s},wf=Symbol("namespaceContextKey"),z_=e=>{const t=e||(Rt()?dt(wf,de("el")):de("el"));return oe(()=>Q(t)||"el")},ia=(e,t)=>{const n=z_(t);return{namespace:n,b:(p="")=>_n(n.value,e,p,"",""),e:p=>p?_n(n.value,e,"",p,""):"",m:p=>p?_n(n.value,e,"","",p):"",be:(p,v)=>p&&v?_n(n.value,e,p,v,""):"",em:(p,v)=>p&&v?_n(n.value,e,"",p,v):"",bm:(p,v)=>p&&v?_n(n.value,e,p,"",v):"",bem:(p,v,C)=>p&&v&&C?_n(n.value,e,p,v,C):"",is:(p,...v)=>{const C=v.length>=1?v[0]:!0;return p&&C?`${H_}${p}`:""},cssVar:p=>{const v={};for(const C in p)p[C]&&(v[`--${n.value}-${C}`]=p[C]);return v},cssVarName:p=>`--${n.value}-${p}`,cssVarBlock:p=>{const v={};for(const C in p)p[C]&&(v[`--${n.value}-${e}-${C}`]=p[C]);return v},cssVarBlockName:p=>`--${n.value}-${e}-${p}`}};const W_=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=K_(e);if(t){if(Object.values(fi).includes(t))return t;switch(t){case" ":return fi.space;default:return""}}return""},K_=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&R_()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},Kl={current:0},ql=de(0),bf=2e3,Gl=Symbol("elZIndexContextKey"),Ef=Symbol("zIndexContextKey"),q_=e=>{const t=Rt()?dt(Gl,Kl):Kl,n=e||(Rt()?dt(Ef,void 0):void 0),r=oe(()=>{const i=Q(n);return Mn(i)?i:bf}),o=oe(()=>r.value+ql.value),s=()=>(t.current++,ql.value=t.current,o.value);return!Bn&&!dt(Gl)&&mo("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
|
38
|
-
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:o,nextZIndex:s}},G_=gf({type:String,values:eg,required:!1}),Y_=Symbol("size");const J_=Symbol("emptyValuesContextKey");const X_=ho({emptyValues:Array,valueOnClear:{type:at([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=ue(e)?e():e,ae(e)?e.every(t=>!t):!e)}});const Z_=e=>{const t=e.props,n=ae(t)?mf(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[o,s]of Object.entries(r)){const i=n[o];if(_e(n,o)){if(r_(i)){n[o]={...i,default:s};continue}n[o]={type:i,default:s}}}e.props=n}}},Of=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return Z_(e),e},Q_=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e);/*! Element Plus Icons Vue v2.3.2 */var e2=De({name:"ArrowDownBold",__name:"arrow-down-bold",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496"})]))}}),t2=e2,n2=De({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),r2=n2,o2=De({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),s2=o2;var i2=De({name:"ArrowUpBold",__name:"arrow-up-bold",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496"})]))}}),a2=i2;var l2=De({name:"Check",__name:"check",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),Nf=l2;var c2=De({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),se("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),u2=c2,f2=De({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),Sf=f2,d2=De({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),se("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),p2=d2;var h2=De({name:"Close",__name:"close",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),aa=h2;var m2=De({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),yi=m2;var g2=De({name:"Refresh",__name:"refresh",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),Yl=g2,v2=De({name:"Remove",__name:"remove",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),se("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),_2=v2;var y2=De({name:"Search",__name:"search",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),w2=y2;var b2=De({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),xf=b2,E2=De({name:"Switch",__name:"switch",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344M64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),O2=E2,N2=De({name:"Upload",__name:"upload",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),S2=N2;var x2=De({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(G(),fe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[se("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),Cf=x2;const C2=at([String,Object,Function]);const T2={Close:aa,SuccessFilled:xf,InfoFilled:yi,WarningFilled:Cf,CircleCloseFilled:Sf},Jl={primary:yi,success:xf,warning:Cf,error:Sf,info:yi};const A2=ho({size:{type:at([Number,String])},color:{type:String}});var D2=De({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:A2,setup(e){const t=e,n=ia("icon"),r=oe(()=>{const{size:o,color:s}=t,i=_i(o);return!i&&!s?{}:{fontSize:i,"--color":s}});return(o,s)=>(G(),fe("i",ao({class:Q(n).b(),style:r.value},o.$attrs),[en(o.$slots,"default")],16))}}),P2=D2;const Xl=Of(P2),$2=e=>e,I2=ho({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:at([String,Object,Array,Boolean]),default:void 0},offset:{type:at(Array),default:()=>[0,0]},badgeClass:{type:String}});var M2=De({name:"ElBadge",__name:"badge",props:I2,setup(e,{expose:t}){const n=e,r=ia("badge"),o=oe(()=>n.isDot?"":Mn(n.value)&&Mn(n.max)?n.max<n.value?`${n.max}+`:`${n.value}`:`${n.value}`),s=oe(()=>[{backgroundColor:n.color,marginRight:_i(-n.offset[0]),marginTop:_i(n.offset[1])},n.badgeStyle??{}]);return t({content:o}),(i,a)=>(G(),fe("div",{class:Je(Q(r).b())},[en(i.$slots,"default"),ee(fs,{name:`${Q(r).namespace.value}-zoom-in-center`},{default:le(()=>[!e.hidden&&(o.value||e.isDot||i.$slots.content)?(G(),fe("sup",{key:0,class:Je([Q(r).e("content"),Q(r).em("content",e.type),Q(r).is("fixed",!!i.$slots.default),Q(r).is("dot",e.isDot),Q(r).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:fn(s.value)},[en(i.$slots,"content",{value:o.value},()=>[Ye(Ae(o.value),1)])],6)):Oe("v-if",!0)]),_:3},8,["name"])],2))}}),V2=M2;const R2=Of(V2),Tf=Symbol(),qo=de();function Af(e,t=void 0){const n=Rt()?dt(Tf,qo):qo;return e?oe(()=>{var r;return((r=n.value)==null?void 0:r[e])??t}):n}function L2(e,t){const n=Af(),r=ia(e,oe(()=>{var a;return((a=n.value)==null?void 0:a.namespace)||"el"})),o=U_(oe(()=>{var a;return(a=n.value)==null?void 0:a.locale})),s=q_(oe(()=>{var l;const a=(l=n.value)==null?void 0:l.zIndex;return E_(a)||Number.isNaN(a)?bf:a})),i=oe(()=>{var a;return Q(t)||((a=n.value)==null?void 0:a.size)||""});return F2(oe(()=>Q(n)||{})),{ns:r,locale:o,zIndex:s,size:i}}const F2=(e,t,n=!1)=>{const r=!!Rt(),o=r?Af():void 0,s=r?kr:void 0;if(!s){mo("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const i=oe(()=>{const a=Q(e);return o!=null&&o.value?k2(o.value,a):a});return s(Tf,i),s(yf,oe(()=>i.value.locale)),s(wf,oe(()=>i.value.namespace)),s(Ef,oe(()=>i.value.zIndex)),s(Y_,{size:oe(()=>i.value.size||"")}),s(J_,oe(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(n||!qo.value)&&(qo.value=i.value),i},k2=(e,t)=>{const n=[...new Set([...Wl(e),...Wl(t)])],r={};for(const o of n)r[o]=t[o]!==void 0?t[o]:e[o];return r},bw=ho({a11y:{type:Boolean,default:!0},locale:{type:at(Object)},size:G_,button:{type:at(Object)},card:{type:at(Object)},dialog:{type:at(Object)},link:{type:at(Object)},experimentalFeatures:{type:at(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:at(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:at(Object)},...X_}),it={placement:"top"};var j2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};var Df={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(j2,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",i="second",a="minute",l="hour",u="day",c="week",f="month",h="quarter",g="year",b="date",p="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(j){var I=["th","st","nd","rd"],D=j%100;return"["+j+(I[(D-20)%10]||I[D]||I[0])+"]"}},k=function(j,I,D){var B=String(j);return!B||B.length>=I?j:""+Array(I+1-B.length).join(D)+j},Y={s:k,z:function(j){var I=-j.utcOffset(),D=Math.abs(I),B=Math.floor(D/60),P=D%60;return(I<=0?"+":"-")+k(B,2,"0")+":"+k(P,2,"0")},m:function j(I,D){if(I.date()<D.date())return-j(D,I);var B=12*(D.year()-I.year())+(D.month()-I.month()),P=I.clone().add(B,f),X=D-P<0,E=I.clone().add(B+(X?-1:1),f);return+(-(B+(D-P)/(X?P-E:E-P))||0)},a:function(j){return j<0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:f,y:g,w:c,d:u,D:b,h:l,m:a,s:i,ms:s,Q:h}[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(j){return j===void 0}},N="en",K={};K[N]=T;var $="$isDayjsObject",ne=function(j){return j instanceof A||!(!j||!j[$])},R=function j(I,D,B){var P;if(!I)return N;if(typeof I=="string"){var X=I.toLowerCase();K[X]&&(P=X),D&&(K[X]=D,P=X);var E=I.split("-");if(!P&&E.length>1)return j(E[0])}else{var H=I.name;K[H]=I,P=H}return!B&&P&&(N=P),P||!B&&N},x=function(j,I){if(ne(j))return j.clone();var D=typeof I=="object"?I:{};return D.date=j,D.args=arguments,new A(D)},y=Y;y.l=R,y.i=ne,y.w=function(j,I){return x(j,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var A=function(){function j(D){this.$L=R(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[$]=!0}var I=j.prototype;return I.parse=function(D){this.$d=function(B){var P=B.date,X=B.utc;if(P===null)return new Date(NaN);if(y.u(P))return new Date;if(P instanceof Date)return new Date(P);if(typeof P=="string"&&!/Z$/i.test(P)){var E=P.match(v);if(E){var H=E[2]-1||0,q=(E[7]||"0").substring(0,3);return X?new Date(Date.UTC(E[1],H,E[3]||1,E[4]||0,E[5]||0,E[6]||0,q)):new Date(E[1],H,E[3]||1,E[4]||0,E[5]||0,E[6]||0,q)}}return new Date(P)}(D),this.init()},I.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},I.$utils=function(){return y},I.isValid=function(){return this.$d.toString()!==p},I.isSame=function(D,B){var P=x(D);return this.startOf(B)<=P&&P<=this.endOf(B)},I.isAfter=function(D,B){return x(D)<this.startOf(B)},I.isBefore=function(D,B){return this.endOf(B)<x(D)},I.$g=function(D,B,P){return y.u(D)?this[B]:this.set(P,D)},I.unix=function(){return Math.floor(this.valueOf()/1e3)},I.valueOf=function(){return this.$d.getTime()},I.startOf=function(D,B){var P=this,X=!!y.u(B)||B,E=y.p(D),H=function(Be,Me){var ke=y.w(P.$u?Date.UTC(P.$y,Me,Be):new Date(P.$y,Me,Be),P);return X?ke:ke.endOf(u)},q=function(Be,Me){return y.w(P.toDate()[Be].apply(P.toDate("s"),(X?[0,0,0,0]:[23,59,59,999]).slice(Me)),P)},re=this.$W,we=this.$M,me=this.$D,Qe="set"+(this.$u?"UTC":"");switch(E){case g:return X?H(1,0):H(31,11);case f:return X?H(1,we):H(0,we+1);case c:var Pe=this.$locale().weekStart||0,ge=(re<Pe?re+7:re)-Pe;return H(X?me-ge:me+(6-ge),we);case u:case b:return q(Qe+"Hours",0);case l:return q(Qe+"Minutes",1);case a:return q(Qe+"Seconds",2);case i:return q(Qe+"Milliseconds",3);default:return this.clone()}},I.endOf=function(D){return this.startOf(D,!1)},I.$set=function(D,B){var P,X=y.p(D),E="set"+(this.$u?"UTC":""),H=(P={},P[u]=E+"Date",P[b]=E+"Date",P[f]=E+"Month",P[g]=E+"FullYear",P[l]=E+"Hours",P[a]=E+"Minutes",P[i]=E+"Seconds",P[s]=E+"Milliseconds",P)[X],q=X===u?this.$D+(B-this.$W):B;if(X===f||X===g){var re=this.clone().set(b,1);re.$d[H](q),re.init(),this.$d=re.set(b,Math.min(this.$D,re.daysInMonth())).$d}else H&&this.$d[H](q);return this.init(),this},I.set=function(D,B){return this.clone().$set(D,B)},I.get=function(D){return this[y.p(D)]()},I.add=function(D,B){var P,X=this;D=Number(D);var E=y.p(B),H=function(we){var me=x(X);return y.w(me.date(me.date()+Math.round(we*D)),X)};if(E===f)return this.set(f,this.$M+D);if(E===g)return this.set(g,this.$y+D);if(E===u)return H(1);if(E===c)return H(7);var q=(P={},P[a]=r,P[l]=o,P[i]=n,P)[E]||1,re=this.$d.getTime()+D*q;return y.w(re,this)},I.subtract=function(D,B){return this.add(-1*D,B)},I.format=function(D){var B=this,P=this.$locale();if(!this.isValid())return P.invalidDate||p;var X=D||"YYYY-MM-DDTHH:mm:ssZ",E=y.z(this),H=this.$H,q=this.$m,re=this.$M,we=P.weekdays,me=P.months,Qe=P.meridiem,Pe=function(Me,ke,gt,d){return Me&&(Me[ke]||Me(B,X))||gt[ke].slice(0,d)},ge=function(Me){return y.s(H%12||12,Me,"0")},Be=Qe||function(Me,ke,gt){var d=Me<12?"AM":"PM";return gt?d.toLowerCase():d};return X.replace(C,function(Me,ke){return ke||function(gt){switch(gt){case"YY":return String(B.$y).slice(-2);case"YYYY":return y.s(B.$y,4,"0");case"M":return re+1;case"MM":return y.s(re+1,2,"0");case"MMM":return Pe(P.monthsShort,re,me,3);case"MMMM":return Pe(me,re);case"D":return B.$D;case"DD":return y.s(B.$D,2,"0");case"d":return String(B.$W);case"dd":return Pe(P.weekdaysMin,B.$W,we,2);case"ddd":return Pe(P.weekdaysShort,B.$W,we,3);case"dddd":return we[B.$W];case"H":return String(H);case"HH":return y.s(H,2,"0");case"h":return ge(1);case"hh":return ge(2);case"a":return Be(H,q,!0);case"A":return Be(H,q,!1);case"m":return String(q);case"mm":return y.s(q,2,"0");case"s":return String(B.$s);case"ss":return y.s(B.$s,2,"0");case"SSS":return y.s(B.$ms,3,"0");case"Z":return E}return null}(Me)||E.replace(":","")})},I.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},I.diff=function(D,B,P){var X,E=this,H=y.p(B),q=x(D),re=(q.utcOffset()-this.utcOffset())*r,we=this-q,me=function(){return y.m(E,q)};switch(H){case g:X=me()/12;break;case f:X=me();break;case h:X=me()/3;break;case c:X=(we-re)/6048e5;break;case u:X=(we-re)/864e5;break;case l:X=we/o;break;case a:X=we/r;break;case i:X=we/n;break;default:X=we}return P?X:y.a(X)},I.daysInMonth=function(){return this.endOf(f).$D},I.$locale=function(){return K[this.$L]},I.locale=function(D,B){if(!D)return this.$L;var P=this.clone(),X=R(D,B,!0);return X&&(P.$L=X),P},I.clone=function(){return y.w(this.$d,this)},I.toDate=function(){return new Date(this.valueOf())},I.toJSON=function(){return this.isValid()?this.toISOString():null},I.toISOString=function(){return this.$d.toISOString()},I.toString=function(){return this.$d.toUTCString()},j}(),te=A.prototype;return x.prototype=te,[["$ms",s],["$s",i],["$m",a],["$H",l],["$W",u],["$M",f],["$y",g],["$D",b]].forEach(function(j){te[j[1]]=function(I){return this.$g(I,j[0],j[1])}}),x.extend=function(j,I){return j.$i||(j(I,A,x),j.$i=!0),x},x.locale=R,x.isDayjs=ne,x.unix=function(j){return x(1e3*j)},x.en=K[N],x.Ls=K,x.p={},x})})(Df);var Ew=Df.exports;const Pf=["primary","success","info","warning","error"],$f=["top","top-left","top-right","bottom","bottom-left","bottom-right"],et=$2({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:Bn?document.body:void 0}),B2=ho({customClass:{type:String,default:et.customClass},dangerouslyUseHTMLString:{type:Boolean,default:et.dangerouslyUseHTMLString},duration:{type:Number,default:et.duration},icon:{type:C2,default:et.icon},id:{type:String,default:et.id},message:{type:at([String,Object,Function]),default:et.message},onClose:{type:at(Function),default:et.onClose},showClose:{type:Boolean,default:et.showClose},type:{type:String,values:Pf,default:et.type},plain:{type:Boolean,default:et.plain},offset:{type:Number,default:et.offset},placement:{type:String,values:$f,default:et.placement},zIndex:{type:Number,default:et.zIndex},grouping:{type:Boolean,default:et.grouping},repeatNum:{type:Number,default:et.repeatNum}}),U2={destroy:()=>!0},Pt=zi({}),H2=e=>(Pt[e]||(Pt[e]=zi([])),Pt[e]),z2=(e,t)=>{const n=Pt[t]||[],r=n.findIndex(i=>i.id===e),o=n[r];let s;return r>0&&(s=n[r-1]),{current:o,prev:s}},W2=(e,t)=>{const{prev:n}=z2(e,t);return n?n.vm.exposed.bottom.value:0},K2=(e,t,n)=>(Pt[n]||[]).findIndex(r=>r.id===e)>0?16:t,q2=["id"],G2=["innerHTML"];var Y2=De({name:"ElMessage",__name:"message",props:B2,emits:U2,setup(e,{expose:t,emit:n}){const{Close:r}=T2,o=e,s=n,i=de(!1),{ns:a,zIndex:l}=L2("message"),{currentZIndex:u,nextZIndex:c}=l,f=de(),h=de(!1),g=de(0);let b;const p=oe(()=>o.type?o.type==="error"?"danger":o.type:"info"),v=oe(()=>{const te=o.type;return{[a.bm("icon",te)]:te&&Jl[te]}}),C=oe(()=>o.icon||Jl[o.type]||""),T=oe(()=>o.placement||"top"),k=oe(()=>W2(o.id,T.value)),Y=oe(()=>Math.max(K2(o.id,o.offset,T.value)+k.value,o.offset)),N=oe(()=>g.value+Y.value),K=oe(()=>T.value.includes("left")?a.is("left"):T.value.includes("right")?a.is("right"):a.is("center")),$=oe(()=>T.value.startsWith("top")?"top":"bottom"),ne=oe(()=>({[$.value]:`${Y.value}px`,zIndex:u.value}));function R(){o.duration!==0&&({stop:b}=D_(()=>{y()},o.duration))}function x(){b==null||b()}function y(){h.value=!1,rr(()=>{var te;i.value||((te=o.onClose)==null||te.call(o),s("destroy"))})}function A(te){W_(te)===fi.esc&&y()}return Ln(()=>{R(),c(),h.value=!0}),Xe(()=>o.repeatNum,()=>{x(),R()}),$_(document,"keydown",A),V_(f,()=>{g.value=f.value.getBoundingClientRect().height}),t({visible:h,bottom:N,close:y}),(te,j)=>(G(),Ee(fs,{name:Q(a).b("fade"),onBeforeEnter:j[0]||(j[0]=I=>i.value=!0),onBeforeLeave:e.onClose,onAfterLeave:j[1]||(j[1]=I=>te.$emit("destroy")),persisted:""},{default:le(()=>[or(se("div",{id:e.id,ref_key:"messageRef",ref:f,class:Je([Q(a).b(),{[Q(a).m(e.type)]:e.type},Q(a).is("closable",e.showClose),Q(a).is("plain",e.plain),Q(a).is("bottom",$.value==="bottom"),K.value,e.customClass]),style:fn(ne.value),role:"alert",onMouseenter:x,onMouseleave:R},[e.repeatNum>1?(G(),Ee(Q(R2),{key:0,value:e.repeatNum,type:p.value,class:Je(Q(a).e("badge"))},null,8,["value","type","class"])):Oe("v-if",!0),C.value?(G(),Ee(Q(Xl),{key:1,class:Je([Q(a).e("icon"),v.value])},{default:le(()=>[(G(),Ee(b0(C.value)))]),_:1},8,["class"])):Oe("v-if",!0),!e.dangerouslyUseHTMLString||te.$slots.default?(G(),fe("p",{key:2,class:Je(Q(a).e("content"))},[en(te.$slots,"default",{},()=>[Ye(Ae(e.message),1)])],2)):(G(),fe(Ve,{key:3},[Oe(" Caution here, message could've been compromised, never use user's input as message "),se("p",{class:Je(Q(a).e("content")),innerHTML:e.message},null,10,G2)],2112)),e.showClose?(G(),Ee(Q(Xl),{key:4,class:Je(Q(a).e("closeBtn")),onClick:of(y,["stop"])},{default:le(()=>[ee(Q(r))]),_:1},8,["class"])):Oe("v-if",!0)],46,q2),[[Ko,h.value]])]),_:3},8,["name","onBeforeLeave"]))}}),J2=Y2;let X2=1;const Z2=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Ne(e.appendTo)){let t=document.querySelector(e.appendTo);O_(t)||(mo("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body),e.appendTo=t}},Q2=e=>{!e.placement&&Ne(it.placement)&&it.placement&&(e.placement=it.placement),e.placement||(e.placement="top"),$f.includes(e.placement)||(mo("ElMessage",`Invalid placement: ${e.placement}. Falling back to 'top'.`),e.placement="top")},If=e=>{const t=!e||Ne(e)||tn(e)||ue(e)?{message:e}:e,n={...et,...t};return Z2(n),Q2(n),Vs(it.grouping)&&!n.grouping&&(n.grouping=it.grouping),Mn(it.duration)&&n.duration===3e3&&(n.duration=it.duration),Mn(it.offset)&&n.offset===16&&(n.offset=it.offset),Vs(it.showClose)&&!n.showClose&&(n.showClose=it.showClose),Vs(it.plain)&&!n.plain&&(n.plain=it.plain),n},e1=e=>{const t=Pt[e.props.placement||"top"],n=t.indexOf(e);if(n===-1)return;t.splice(n,1);const{handler:r}=e;r.close()},t1=({appendTo:e,...t},n)=>{const r=`message_${X2++}`,o=t.onClose,s=document.createElement("div"),i={...t,id:r,onClose:()=>{o==null||o(),e1(u)},onDestroy:()=>{ui(null,s)}},a=ee(J2,i,ue(i.message)||tn(i.message)?{default:ue(i.message)?i.message:()=>i.message}:null);a.appContext=n||Vn._context,ui(a,s),e.appendChild(s.firstElementChild);const l=a.component,u={id:r,vnode:a,vm:l,handler:{close:()=>{l.exposed.close()}},props:a.component.props};return u},Vn=(e={},t)=>{if(!Bn)return{close:()=>{}};const n=If(e),r=H2(n.placement||"top");if(n.grouping&&r.length){const s=r.find(({vnode:i})=>{var a;return((a=i.props)==null?void 0:a.message)===n.message});if(s)return s.props.repeatNum+=1,s.props.type=n.type,s.handler}if(Mn(it.max)&&r.length>=it.max)return{close:()=>{}};const o=t1(n,t);return r.push(o),o.handler};Pf.forEach(e=>{Vn[e]=(t={},n)=>Vn({...If(t),type:e},n)});function n1(e){for(const t in Pt)if(_e(Pt,t)){const n=[...Pt[t]];for(const r of n)(!e||e===r.props.type)&&r.handler.close()}}function r1(e){Pt[e]&&[...Pt[e]].forEach(t=>t.handler.close())}Vn.closeAll=n1;Vn.closeAllByPlacement=r1;Vn._context=null;const Et=Q_(Vn,"$message");class Kr extends Error{constructor(t="Image selector cancelled"){super(t),this.name="ImageSelectorCancelledError"}}class wi extends Error{constructor(n,r){super(r||{missing_token:"请先填写并保存云盘 Access Token",unauthorized:"云盘 Access Token 无效或已过期",valid_site:"请先在云盘配置有效站点",unknown:"云盘鉴权失败"}[n]);ya(this,"reason");this.name="ImageSelectorAuthError",this.reason=n}}let Nt=null;function o1(){return Nt&&(Nt.reject(new Kr),Nt=null),new Promise((e,t)=>{Nt={resolve:e,reject:t}})}function s1(e){Nt==null||Nt.resolve(e),Nt=null}function Zl(){Nt==null||Nt.reject(new Kr),Nt=null}const Ls="__YC_COMPONENT_IMAGE_SELECTOR__",bi="yc-component:image-selector-open";function i1(){const e=globalThis;return e[Ls]||(e[Ls]=lr({visible:!1,options:{}})),e[Ls]}const st=i1();function Mf(e={}){st.options={...e},st.visible=!0,globalThis.dispatchEvent(new CustomEvent(bi,{detail:{...e}}))}function la(){st.visible=!1}function ca(){la()}function ua(e={}){const t=o1();return Mf(e),t}const a1={class:"yc-image-selector"},l1={key:0,class:"yc-image-selector__toolbar"},c1={class:"yc-image-selector__body"},u1={key:0,class:"yc-image-selector__aside"},f1=["onClick"],d1={key:0,class:"yc-image-selector__category-count"},p1={class:"yc-image-selector__main"},h1={key:1,class:"yc-image-selector__grid"},m1=["onClick"],g1={class:"yc-image-selector__thumb"},v1=["src","alt","onLoad"],_1={key:0,class:"yc-image-selector__order"},y1=["title"],w1={key:1,class:"yc-image-selector__selected-bar"},b1={class:"yc-image-selector__selected-bar-label"},E1={class:"yc-image-selector__selected-bar-list"},O1=["onClick"],N1=["src","alt"],S1={key:2,class:"yc-image-selector__pagination"},x1={key:0,class:"yc-image-selector__footer"},C1={class:"yc-image-selector__selected-tip"},T1={class:"yc-image-selector__footer-actions"},A1={key:1,class:"yc-image-selector__footer yc-image-selector__footer--quick"},D1={class:"yc-image-selector__selected-tip"},P1=De({__name:"YcImageSelectorDialog",props:{modelValue:{type:[Boolean,null],default:null},title:{default:"选择图片"},multiple:{type:Boolean,default:!1},maxCount:{default:9},selected:{},width:{default:"860px"},pageSize:{default:8},showUpload:{type:Boolean,default:!0},accept:{default:"image/*"},showCategories:{type:Boolean,default:!1},categories:{},categoryAllLabel:{default:"全部"},showModeSwitch:{type:Boolean,default:!1},confirmOnSelect:{type:Boolean,default:!1},confirmText:{default:"确定"},cancelText:{default:"取消"},emptyText:{default:"暂无图片资源"},renderEmpty:{},getImages:{},upload:{},urlField:{default:"url"}},emits:["update:modelValue","confirm","cancel"],setup(e,{emit:t}){const n=De({name:"YcImageSelectorRenderEmpty",props:{render:{type:Function,required:!0},ctx:{type:Object,required:!0}},setup(w){return()=>w.render(w.ctx)}}),r=e,o=t,s=oe(()=>r.modelValue!=null),i=de(!1),a=de(null);Xe(()=>r.modelValue,w=>{s.value&&(i.value=!!w)},{immediate:!0}),Xe(i,w=>{if(s.value){o("update:modelValue",w);return}st.visible=w,w||la()}),Xe(()=>st.visible,w=>{s.value||(i.value=w)},{immediate:!0});const l=oe(()=>(s.value?void 0:st.options.title)??r.title??"选择图片"),u=oe(()=>(s.value?void 0:st.options.multiple)??r.multiple),c=oe(()=>(s.value?void 0:st.options.maxCount)??r.maxCount),f=oe(()=>(s.value?void 0:st.options.showModeSwitch)??r.showModeSwitch),h=oe(()=>(s.value?void 0:st.options.showCategories)??r.showCategories),g=oe(()=>{var w,O;if((w=r.categories)!=null&&w.length)return r.categories;if(!s.value&&((O=st.options.categories)!=null&&O.length))return st.options.categories}),b=oe(()=>h.value?g.value??x.value:[]),p=oe(()=>(s.value?void 0:st.options.confirmOnSelect)??r.confirmOnSelect),v=de("single"),C=[{label:"单选",value:"single"},{label:"多选",value:"multiple"}],T=oe(()=>f.value?v.value==="multiple":u.value),k=de(""),Y=de(""),N=de(1),K=de(0),$=de(!1),ne=de(!1),R=de([]),x=de([]),y=de(new Map),A=de(new Map),te=de(),j=de(),I=de(!1),D=oe(()=>[...y.value.values()]),B=oe(()=>!!a.value||R.value.length===0),P=oe(()=>({authState:a.value,isEmpty:R.value.length===0,reload:L})),X=oe(()=>{var O,Z;const w=D.value.length;return p.value?w?`已选:${((O=D.value[0])==null?void 0:O.name)||"1 张图片"}`:"单击图片即可完成选择":w?T.value?`已选 ${w} / ${c.value} 张`:`已选:${((Z=D.value[0])==null?void 0:Z.name)||"1 张图片"}`:T.value?`多选模式:最多 ${c.value} 张`:"单选模式:请选择一张图片"});function E(w){const O=D.value.findIndex(Z=>me(Z)===me(w));return O>=0?O+1:""}function H(w){if(w==="single"&&D.value.length>1){const O=D.value[0];y.value=new Map([[me(O),O]]),Et.info("已切换为单选,仅保留第一张")}}function q(){v.value=u.value?"multiple":"single"}function re(){y.value=new Map}function we(w){return w[r.urlField]}function me(w){return w.id??w.url}function Qe(w){return y.value.has(me(w))}function Pe(w,O){return w<O?"portrait":w>O?"landscape":"square"}function ge(w,O){const Z=me(w);A.value.get(Z)!==O&&(A.value.set(Z,O),A.value=new Map(A.value))}function Be(w){const O=A.value.get(me(w));return O?`yc-image-selector__img--${O}`:""}function Me(w,O){const Z=w.target;!(Z!=null&&Z.naturalWidth)||!(Z!=null&&Z.naturalHeight)||ge(O,Pe(Z.naturalWidth,Z.naturalHeight))}function ke(w){w.width&&w.height&&ge(w,Pe(w.width,w.height))}function gt(w){const O=new Map;if(!(w!=null&&w.length)){y.value=O;return}if(typeof w[0]=="string")for(const he of w)O.set(he,{id:he,url:he,name:he.split("/").pop()});else for(const he of w)O.set(me(he),he);y.value=O}function d(w){te.value=w.onConfirm,j.value=w.onCancel,gt(w.selected??r.selected)}function m(w){if(s.value)return;const O=w.detail??{};d(O),i.value=!0}Ln(()=>{globalThis.addEventListener(bi,m),s.value||(i.value=st.visible)}),so(()=>{globalThis.removeEventListener(bi,m)});async function S(){var w;if(!r.getImages){Et.error("请通过 props.getImages 传入图片列表请求方法");return}$.value=!0,a.value=null;try{const O=await r.getImages({keyword:k.value.trim()||void 0,category:h.value&&Y.value||void 0,page:N.value,pageSize:r.pageSize});R.value=O.list,K.value=O.total;for(const Z of O.list)ke(Z);h.value&&!g.value&&((w=O.categories)!=null&&w.length)&&(x.value=O.categories)}catch(O){if(R.value=[],K.value=0,O instanceof wi||(O==null?void 0:O.name)==="ImageSelectorAuthError"){const Z=O;a.value={reason:Z.reason||"unknown",message:Z.message};return}Et.error(O instanceof Error?O.message:"加载图片失败")}finally{$.value=!1}}function L(){N.value=1,S()}function V(w){Y.value!==w&&(Y.value=w,L())}function M(w){const O=me(w);if(T.value){if(y.value.has(O)){y.value.delete(O),y.value=new Map(y.value);return}if(D.value.length>=c.value){Et.warning(`最多选择 ${c.value} 张图片`);return}y.value.set(O,w),y.value=new Map(y.value);return}if(y.value.has(O)){if(p.value){rr(()=>ce());return}y.value=new Map;return}y.value=new Map([[O,w]]),p.value&&rr(()=>ce())}async function J(w){if(!r.upload){Et.error("请通过 props.upload 传入图片上传方法");return}ne.value=!0;try{const{resource:O}=await r.upload(w.file);if(Et.success("上传成功"),a.value=null,T.value)D.value.length<c.value&&(y.value.set(me(O),O),y.value=new Map(y.value));else if(y.value=new Map([[me(O),O]]),p.value){ce();return}L()}catch(O){if(O instanceof wi||(O==null?void 0:O.name)==="ImageSelectorAuthError"){const Z=O;a.value={reason:Z.reason||"unknown",message:Z.message},R.value=[],K.value=0;return}Et.error(O instanceof Error?O.message:"上传失败")}finally{ne.value=!1}}function W(){I.value=!1,k.value="",Y.value="",N.value=1,x.value=[],A.value=new Map,a.value=null,q(),s.value?d({}):d(st.options),q(),S()}function z(){ne.value=!1}function F(){var w;I.value||(I.value=!0,(w=j.value)==null||w.call(j),s.value||Zl(),o("cancel"),i.value=!1)}function ce(){var O;if(!D.value.length){Et.warning("请选择图片");return}if(I.value)return;I.value=!0;const w=[...D.value];if(s.value){o("confirm",w),i.value=!1;return}(O=te.value)==null||O.call(te,w),s.value||s1(w),o("confirm",w),i.value=!1}return Xe(i,(w,O)=>{var Z;O&&!w&&!I.value&&((Z=j.value)==null||Z.call(j),s.value||Zl(),o("cancel"))}),Xe(()=>r.selected,w=>{i.value||gt(w)},{deep:!0}),(w,O)=>{const Z=Ie("el-icon"),he=Ie("el-input"),Se=Ie("el-segmented"),be=Ie("el-button"),Le=Ie("el-upload"),We=Ie("el-empty"),vt=Ie("el-pagination"),_t=Ie("el-dialog"),pn=Tu("loading");return G(),Ee(_t,{modelValue:i.value,"onUpdate:modelValue":O[4]||(O[4]=ve=>i.value=ve),title:l.value,width:e.width,"append-to-body":"","destroy-on-close":"",class:"yc-image-selector-dialog",onClosed:z,onOpen:W},{footer:le(()=>[p.value?(G(),fe("div",A1,[se("span",D1,Ae(X.value),1),ee(be,{link:"",type:"primary",onClick:F},{default:le(()=>[Ye(Ae(e.cancelText),1)]),_:1})])):(G(),fe("div",x1,[se("span",C1,Ae(X.value),1),se("div",T1,[ee(be,{onClick:F},{default:le(()=>[Ye(Ae(e.cancelText),1)]),_:1}),ee(be,{type:"primary",disabled:!D.value.length,onClick:ce},{default:le(()=>[Ye(Ae(e.confirmText),1)]),_:1},8,["disabled"])])]))]),default:le(()=>[se("div",a1,[a.value?Oe("",!0):(G(),fe("div",l1,[ee(he,{modelValue:k.value,"onUpdate:modelValue":O[0]||(O[0]=ve=>k.value=ve),clearable:"",placeholder:"搜索图片名称",class:"yc-image-selector__search",onKeyup:Jm(L,["enter"]),onClear:L},{prefix:le(()=>[ee(Z,null,{default:le(()=>[ee(Q(w2))]),_:1})]),_:1},8,["modelValue"]),f.value?(G(),Ee(Se,{key:0,modelValue:v.value,"onUpdate:modelValue":O[1]||(O[1]=ve=>v.value=ve),options:C,class:"yc-image-selector__mode",onChange:H},null,8,["modelValue"])):Oe("",!0),e.showUpload&&e.upload?(G(),Ee(Le,{key:1,"show-file-list":!1,accept:e.accept,"http-request":J,disabled:ne.value},{default:le(()=>[ee(be,{type:"primary",plain:"",loading:ne.value},{default:le(()=>[ee(Z,{class:"m-r-4"},{default:le(()=>[ee(Q(S2))]),_:1}),O[5]||(O[5]=Ye(" 上传图片 ",-1))]),_:1},8,["loading"])]),_:1},8,["accept","disabled"])):Oe("",!0)])),se("div",c1,[h.value&&!a.value?(G(),fe("aside",u1,[se("div",{class:Je(["yc-image-selector__category",{"is-active":Y.value===""}]),onClick:O[2]||(O[2]=ve=>V(""))},Ae(e.categoryAllLabel),3),(G(!0),fe(Ve,null,Ar(b.value,ve=>(G(),fe("div",{key:ve.id,class:Je(["yc-image-selector__category",{"is-active":Y.value===ve.id}]),onClick:Ue=>V(ve.id)},[se("span",null,Ae(ve.name),1),ve.count!=null?(G(),fe("span",d1,Ae(ve.count),1)):Oe("",!0)],10,f1))),128))])):Oe("",!0),or((G(),fe("div",p1,[!$.value&&B.value?en(w.$slots,"empty",Ic(ao({key:0},P.value)),()=>{var ve;return[r.renderEmpty?(G(),Ee(Q(n),{key:0,render:r.renderEmpty,ctx:P.value},null,8,["render","ctx"])):(G(),Ee(We,{key:1,description:((ve=a.value)==null?void 0:ve.message)||e.emptyText},null,8,["description"]))]},!0):B.value?Oe("",!0):(G(),fe("div",h1,[(G(!0),fe(Ve,null,Ar(R.value,ve=>(G(),fe("div",{key:String(ve.id),class:Je(["yc-image-selector__item",{"is-selected":Qe(ve),"is-single-mode":!T.value,"is-multi-mode":T.value}]),onClick:Ue=>M(ve)},[se("div",g1,[se("img",{src:we(ve),alt:ve.name||"image",loading:"lazy",class:Je(Be(ve)),onLoad:Ue=>Me(Ue,ve)},null,42,v1),se("div",{class:Je(["yc-image-selector__indicator",{"is-checked":Qe(ve),"is-radio":!T.value,"is-checkbox":T.value}])},[Qe(ve)&&T.value?(G(),fe("span",_1,Ae(E(ve)),1)):Qe(ve)?(G(),Ee(Z,{key:1},{default:le(()=>[ee(Q(Nf))]),_:1})):Oe("",!0)],2)]),se("div",{class:"yc-image-selector__meta",title:ve.name},Ae(ve.name||"未命名"),9,y1)],10,m1))),128))]))])),[[pn,$.value]])]),T.value&&D.value.length?(G(),fe("div",w1,[se("span",b1,"已选 "+Ae(D.value.length)+" 张",1),se("div",E1,[(G(!0),fe(Ve,null,Ar(D.value,ve=>(G(),fe("div",{key:String(ve.id),class:"yc-image-selector__selected-chip",onClick:of(Ue=>M(ve),["stop"])},[se("img",{src:we(ve),alt:ve.name},null,8,N1),O[6]||(O[6]=se("span",{class:"yc-image-selector__selected-chip-remove"},"×",-1))],8,O1))),128))]),ee(be,{link:"",type:"primary",onClick:re},{default:le(()=>[...O[7]||(O[7]=[Ye("清空",-1)])]),_:1})])):Oe("",!0),K.value>0?(G(),fe("div",S1,[ee(vt,{"current-page":N.value,"onUpdate:currentPage":O[3]||(O[3]=ve=>N.value=ve),background:"",layout:"total, prev, pager, next, jumper","page-size":e.pageSize,total:K.value,onCurrentChange:S},null,8,["current-page","page-size","total"])])):Oe("",!0)])]),_:3},8,["modelValue","title","width"])}}}),hs=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ms=hs(P1,[["__scopeId","data-v-6d4e506a"]]);function Vf(){const{baseURL:e=""}=Zr();return Fe.create({baseURL:e,timeout:3e4})}async function Rf(e){const t=Zr().fetchImages;if(t)return t(e);const n=Vf(),{data:r}=await n.get("/yc-media/images",{params:e});if(r.code!==200)throw new Error("加载图片资源失败");return r.data}async function Lf(e){const t=Zr().uploadImage;if(t)return t(e);const n=Vf(),r=new FormData;r.append("file",e);const{data:o}=await n.post("/yc-media/images/upload",r,{headers:{"Content-Type":"multipart/form-data"}});if(o.code!==200)throw new Error("上传图片失败");return o.data}const Ql="__YC_IMAGE_SELECTOR_MOUNT__";function $1(e){const t=globalThis;if(t[Ql]||typeof document>"u")return;const n=document.createElement("div");n.setAttribute("data-yc-image-selector-host",""),document.body.appendChild(n);const r=Zr().dialog??{},o=ee(ms,{getImages:Rf,upload:Lf,showUpload:r.showUpload??!0,...r});o.appContext=e._context,ui(o,n),t[Ql]=!0}function I1(e){e.config.globalProperties.openImageSelector=ua,e.config.globalProperties.closeImageSelector=ca}function Ff(e){$1(e),I1(e)}const M1={class:"yc-page-window__header"},V1={class:"yc-page-window__title"},R1={key:0,class:"yc-page-window__nav"},L1={class:"yc-page-window__opera"},F1={class:"yc-page-window__content"},k1=De({__name:"YcPageWindow",props:{visible:{type:Boolean},title:{default:""},type:{default:""},showButtons:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},contentMinHeight:{default:"calc(100vh - 175px)"},cancelText:{default:"取消"},confirmText:{default:"保存"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},zIndex:{default:9},list:{default:()=>[]},row:{default:null},rowKey:{default:"id"}},emits:["update:visible","update:type","confirm","close","opened","changeType","prev","next","checkRow"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=de(!1),i=oe(()=>r.loading||s.value),a=oe(()=>r.type==="detail"?"详情":r.type==="edit"?"编辑":r.type==="add"?"新增":""),l=oe(()=>r.list.length>0&&r.row!=null),u=oe(()=>["detail","edit"].includes(r.type)),c=oe(()=>r.type!=="detail");function f(){if(!r.row)return-1;const T=r.rowKey,k=r.row[T];return r.list.findIndex(Y=>Y[T]===k)}function h(T){const k=f();return k<0?!0:T==="prev"?k<=0:k>=r.list.length-1}function g(){const T=f();if(T<=0)return;const k=r.list[T-1];o("checkRow",k),o("prev",k)}function b(){const T=f();if(T<0||T>=r.list.length-1)return;const k=r.list[T+1];o("checkRow",k),o("next",k)}function p(){const T=r.type==="detail"?"edit":"detail";o("update:type",T),o("changeType")}function v(){o("update:visible",!1),o("close")}function C(){s.value=!0,o("confirm",T=>{s.value=!1,T&&v()})}return Xe(()=>r.visible,T=>{T&&o("opened")}),Yi(()=>{r.visible&&v()}),t({closeWindow:v}),(T,k)=>{const Y=Ie("el-icon"),N=Ie("el-button"),K=Ie("el-tooltip"),$=Ie("el-scrollbar"),ne=Tu("loading");return G(),Ee(fs,{name:"yc-page-window-fade",mode:"out-in"},{default:le(()=>[or(se("div",{class:"yc-page-window",style:fn({zIndex:e.zIndex})},[se("div",M1,[se("div",V1,[ee(Y,{class:"yc-page-window__back",onClick:v},{default:le(()=>[ee(Q(s2))]),_:1}),se("span",null,Ae(e.title)+Ae(a.value),1),l.value?(G(),fe("div",R1,[ee(K,{content:"上一条",placement:"top"},{default:le(()=>[ee(N,{round:"",text:"",disabled:h("prev"),onClick:g},{default:le(()=>[ee(Y,null,{default:le(()=>[ee(Q(a2))]),_:1})]),_:1},8,["disabled"])]),_:1}),ee(K,{content:"下一条",placement:"top"},{default:le(()=>[ee(N,{round:"",text:"",disabled:h("next"),onClick:b},{default:le(()=>[ee(Y,null,{default:le(()=>[ee(Q(t2))]),_:1})]),_:1},8,["disabled"])]),_:1})])):Oe("",!0),u.value?(G(),Ee(N,{key:1,text:"",class:"yc-page-window__type-switch",type:e.type==="detail"?"primary":"success",onClick:p},{default:le(()=>[ee(Y,{class:"m-r-4"},{default:le(()=>[ee(Q(O2))]),_:1}),Ye(" "+Ae(e.type==="detail"?"切换编辑":"切换详情"),1)]),_:1},8,["type"])):Oe("",!0)]),se("div",L1,[en(T.$slots,"opera",{},void 0,!0),e.showButtons&&c.value?(G(),fe(Ve,{key:0},[ee(N,{text:"",disabled:i.value,onClick:v},{default:le(()=>[ee(Y,{class:"m-r-4"},{default:le(()=>[ee(Q(aa))]),_:1}),Ye(" "+Ae(e.cancelText),1)]),_:1},8,["disabled"]),e.showConfirm?(G(),Ee(N,{key:0,type:"primary",loading:i.value,disabled:e.disabled,onClick:C},{default:le(()=>[ee(Y,{class:"m-r-4"},{default:le(()=>[ee(Q(Nf))]),_:1}),Ye(" "+Ae(e.confirmText),1)]),_:1},8,["loading","disabled"])):Oe("",!0)],64)):Oe("",!0)])]),or((G(),fe("div",F1,[ee($,{class:"yc-page-window__scroll"},{default:le(()=>[e.visible?(G(),fe("div",{key:0,class:"yc-page-window__body",style:fn({minHeight:e.contentMinHeight})},[en(T.$slots,"default",{},void 0,!0)],4)):Oe("",!0)]),_:3})])),[[ne,i.value]])],4),[[Ko,e.visible]])]),_:3})}}}),Go=hs(k1,[["__scopeId","data-v-b3e784c3"]]);function kf(e){e!=null&&e.aiTask&&(oc(e.aiTask),Wp()),e!=null&&e.imageSelector&&Tc(e.imageSelector)}function j1(e,t){(t==null?void 0:t.registerPageWindow)!==!1&&(e.component("YcPageWindow",Go),e.component("SkyPageWindow",Go))}function B1(e,t){(t==null?void 0:t.registerImageSelector)!==!1&&Ff(e)}const jf={install(e,t){kf(t),j1(e,t),B1(e,t)}};function bo(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function Fs(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}/*!
|
|
37
|
+
**/function Qm(){wm()}process.env.NODE_ENV!=="production"&&Qm();const pi={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},eg=["","default","small","large"];var sf=typeof global=="object"&&global&&global.Object===Object&&global,tg=typeof self=="object"&&self&&self.Object===Object&&self,rn=sf||tg||Function("return this")(),dn=rn.Symbol,af=Object.prototype,ng=af.hasOwnProperty,rg=af.toString,_r=dn?dn.toStringTag:void 0;function og(e){var t=ng.call(e,_r),n=e[_r];try{e[_r]=void 0;var r=!0}catch{}var o=rg.call(e);return r&&(t?e[_r]=n:delete e[_r]),o}var sg=Object.prototype,ig=sg.toString;function ag(e){return ig.call(e)}var lg="[object Null]",cg="[object Undefined]",Al=dn?dn.toStringTag:void 0;function kn(e){return e==null?e===void 0?cg:lg:Al&&Al in Object(e)?og(e):ag(e)}function po(e){return e!=null&&typeof e=="object"}var ug="[object Symbol]";function sa(e){return typeof e=="symbol"||po(e)&&kn(e)==ug}function fg(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var ia=Array.isArray,Dl=dn?dn.prototype:void 0,Pl=Dl?Dl.toString:void 0;function lf(e){if(typeof e=="string")return e;if(ia(e))return fg(e,lf)+"";if(sa(e))return Pl?Pl.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function cf(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var dg="[object AsyncFunction]",pg="[object Function]",hg="[object GeneratorFunction]",mg="[object Proxy]";function gg(e){if(!cf(e))return!1;var t=kn(e);return t==pg||t==hg||t==dg||t==mg}var Vs=rn["__core-js_shared__"],$l=function(){var e=/[^.]+$/.exec(Vs&&Vs.keys&&Vs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vg(e){return!!$l&&$l in e}var _g=Function.prototype,yg=_g.toString;function jn(e){if(e!=null){try{return yg.call(e)}catch{}try{return e+""}catch{}}return""}var wg=/[\\^$.*+?()[\]{}|]/g,bg=/^\[object .+?Constructor\]$/,Eg=Function.prototype,Og=Object.prototype,Ng=Eg.toString,xg=Og.hasOwnProperty,Sg=RegExp("^"+Ng.call(xg).replace(wg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Cg(e){if(!cf(e)||vg(e))return!1;var t=gg(e)?Sg:bg;return t.test(jn(e))}function Tg(e,t){return e==null?void 0:e[t]}function Bn(e,t){var n=Tg(e,t);return Cg(n)?n:void 0}var hi=Bn(rn,"WeakMap"),Il=function(){try{var e=Bn(Object,"defineProperty");return e({},"",{}),e}catch{}}();function Ag(e,t,n){t=="__proto__"&&Il?Il(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Dg(e,t){return e===t||e!==e&&t!==t}var Pg=Object.prototype,lw=Pg.hasOwnProperty;var $g=9007199254740991;function Ig(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$g}var cw=Object.prototype;var Mg="[object Arguments]";function Ml(e){return po(e)&&kn(e)==Mg}var uf=Object.prototype,Vg=uf.hasOwnProperty,Rg=uf.propertyIsEnumerable,uw=Ml(function(){return arguments}())?Ml:function(e){return po(e)&&Vg.call(e,"callee")&&!Rg.call(e,"callee")};var ff=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vl=ff&&typeof module=="object"&&module&&!module.nodeType&&module,Lg=Vl&&Vl.exports===ff,Rl=Lg?rn.Buffer:void 0,fw=Rl?Rl.isBuffer:void 0;var Fg="[object Arguments]",kg="[object Array]",jg="[object Boolean]",Bg="[object Date]",Ug="[object Error]",Hg="[object Function]",zg="[object Map]",Wg="[object Number]",Kg="[object Object]",qg="[object RegExp]",Gg="[object Set]",Yg="[object String]",Jg="[object WeakMap]",Xg="[object ArrayBuffer]",Zg="[object DataView]",Qg="[object Float32Array]",ev="[object Float64Array]",tv="[object Int8Array]",nv="[object Int16Array]",rv="[object Int32Array]",ov="[object Uint8Array]",sv="[object Uint8ClampedArray]",iv="[object Uint16Array]",av="[object Uint32Array]",Me={};Me[Qg]=Me[ev]=Me[tv]=Me[nv]=Me[rv]=Me[ov]=Me[sv]=Me[iv]=Me[av]=!0;Me[Fg]=Me[kg]=Me[Xg]=Me[jg]=Me[Zg]=Me[Bg]=Me[Ug]=Me[Hg]=Me[zg]=Me[Wg]=Me[Kg]=Me[qg]=Me[Gg]=Me[Yg]=Me[Jg]=!1;function lv(e){return po(e)&&Ig(e.length)&&!!Me[kn(e)]}function cv(e){return function(t){return e(t)}}var df=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ir=df&&typeof module=="object"&&module&&!module.nodeType&&module,uv=Ir&&Ir.exports===df,Rs=uv&&sf.process,Ll=function(){try{var e=Ir&&Ir.require&&Ir.require("util").types;return e||Rs&&Rs.binding&&Rs.binding("util")}catch{}}(),Fl=Ll&&Ll.isTypedArray,dw=Fl?cv(Fl):lv,fv=Object.prototype,pw=fv.hasOwnProperty;function pf(e,t){return function(n){return e(t(n))}}var hw=pf(Object.keys,Object),dv=Object.prototype,mw=dv.hasOwnProperty;var pv=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hv=/^\w*$/;function mv(e,t){if(ia(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||sa(e)?!0:hv.test(e)||!pv.test(e)||t!=null&&e in Object(t)}var Wr=Bn(Object,"create");function gv(){this.__data__=Wr?Wr(null):{},this.size=0}function vv(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var _v="__lodash_hash_undefined__",yv=Object.prototype,wv=yv.hasOwnProperty;function bv(e){var t=this.__data__;if(Wr){var n=t[e];return n===_v?void 0:n}return wv.call(t,e)?t[e]:void 0}var Ev=Object.prototype,Ov=Ev.hasOwnProperty;function Nv(e){var t=this.__data__;return Wr?t[e]!==void 0:Ov.call(t,e)}var xv="__lodash_hash_undefined__";function Sv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Wr&&t===void 0?xv:t,this}function Mn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Mn.prototype.clear=gv;Mn.prototype.delete=vv;Mn.prototype.get=bv;Mn.prototype.has=Nv;Mn.prototype.set=Sv;function Cv(){this.__data__=[],this.size=0}function hs(e,t){for(var n=e.length;n--;)if(Dg(e[n][0],t))return n;return-1}var Tv=Array.prototype,Av=Tv.splice;function Dv(e){var t=this.__data__,n=hs(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Av.call(t,n,1),--this.size,!0}function Pv(e){var t=this.__data__,n=hs(t,e);return n<0?void 0:t[n][1]}function $v(e){return hs(this.__data__,e)>-1}function Iv(e,t){var n=this.__data__,r=hs(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function on(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}on.prototype.clear=Cv;on.prototype.delete=Dv;on.prototype.get=Pv;on.prototype.has=$v;on.prototype.set=Iv;var Kr=Bn(rn,"Map");function Mv(){this.size=0,this.__data__={hash:new Mn,map:new(Kr||on),string:new Mn}}function Vv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ms(e,t){var n=e.__data__;return Vv(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Rv(e){var t=ms(this,e).delete(e);return this.size-=t?1:0,t}function Lv(e){return ms(this,e).get(e)}function Fv(e){return ms(this,e).has(e)}function kv(e,t){var n=ms(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function sn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}sn.prototype.clear=Mv;sn.prototype.delete=Rv;sn.prototype.get=Lv;sn.prototype.has=Fv;sn.prototype.set=kv;var jv="Expected a function";function aa(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(jv);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],s=n.cache;if(s.has(o))return s.get(o);var i=e.apply(this,r);return n.cache=s.set(o,i)||s,i};return n.cache=new(aa.Cache||sn),n}aa.Cache=sn;var Bv=500;function Uv(e){var t=aa(e,function(r){return n.size===Bv&&n.clear(),r}),n=t.cache;return t}var Hv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zv=/\\(\\)?/g,Wv=Uv(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Hv,function(n,r,o,s){t.push(o?s.replace(zv,"$1"):r||n)}),t});function Kv(e){return e==null?"":lf(e)}function qv(e,t){return ia(e)?e:mv(e,t)?[e]:Wv(Kv(e))}function Gv(e){if(typeof e=="string"||sa(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Yv(e,t){t=qv(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Gv(t[n++])];return n&&n==r?e:void 0}function Jv(e,t,n){var r=e==null?void 0:Yv(e,t);return r===void 0?n:r}var Xv=pf(Object.getPrototypeOf,Object),Zv="[object Object]",Qv=Function.prototype,e_=Object.prototype,hf=Qv.toString,t_=e_.hasOwnProperty,n_=hf.call(Object);function r_(e){if(!po(e)||kn(e)!=Zv)return!1;var t=Xv(e);if(t===null)return!0;var n=t_.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&hf.call(n)==n_}function o_(){this.__data__=new on,this.size=0}function s_(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function i_(e){return this.__data__.get(e)}function a_(e){return this.__data__.has(e)}var l_=200;function c_(e,t){var n=this.__data__;if(n instanceof on){var r=n.__data__;if(!Kr||r.length<l_-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new sn(r)}return n.set(e,t),this.size=n.size,this}function ho(e){var t=this.__data__=new on(e);this.size=t.size}ho.prototype.clear=o_;ho.prototype.delete=s_;ho.prototype.get=i_;ho.prototype.has=a_;ho.prototype.set=c_;var u_=Object.prototype,gw=u_.propertyIsEnumerable;var mi=Bn(rn,"DataView"),gi=Bn(rn,"Promise"),vi=Bn(rn,"Set"),kl="[object Map]",f_="[object Object]",jl="[object Promise]",Bl="[object Set]",Ul="[object WeakMap]",Hl="[object DataView]",d_=jn(mi),p_=jn(Kr),h_=jn(gi),m_=jn(vi),g_=jn(hi),qn=kn;(mi&&qn(new mi(new ArrayBuffer(1)))!=Hl||Kr&&qn(new Kr)!=kl||gi&&qn(gi.resolve())!=jl||vi&&qn(new vi)!=Bl||hi&&qn(new hi)!=Ul)&&(qn=function(e){var t=kn(e),n=t==f_?e.constructor:void 0,r=n?jn(n):"";if(r)switch(r){case d_:return Hl;case p_:return kl;case h_:return jl;case m_:return Bl;case g_:return Ul}return t});var vw=rn.Uint8Array,v_="__lodash_hash_undefined__";function __(e){return this.__data__.set(e,v_),this}function y_(e){return this.__data__.has(e)}function _i(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new sn;++t<n;)this.add(e[t])}_i.prototype.add=_i.prototype.push=__;_i.prototype.has=y_;var zl=dn?dn.prototype:void 0,_w=zl?zl.valueOf:void 0;var w_=Object.prototype,yw=w_.hasOwnProperty;var b_=Object.prototype,ww=b_.hasOwnProperty;function mf(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var o=e[t];Ag(r,o[0],o[1])}return r}function E_(e){return e==null}const Ls=e=>typeof e=="boolean",Vn=e=>typeof e=="number";const O_=e=>typeof Element>"u"?!1:e instanceof Element;const N_=e=>Ne(e)?!Number.isNaN(Number(e)):!1;const Wl=e=>Object.keys(e);const x_="__epPropKey",at=e=>e,S_=e=>be(e)&&!!e.__epPropKey,gf=(e,t)=>{if(!be(e)||S_(e))return e;const{values:n,required:r,default:o,type:s,validator:i}=e,a={type:s,required:!!r,validator:n||i?l=>{let u=!1,c=[];if(n&&(c=Array.from(n),ye(e,"default")&&c.push(o),u||(u=c.includes(l))),i&&(u||(u=i(l))),!u&&c.length>0){const f=[...new Set(c)].map(h=>JSON.stringify(h)).join(", ");fo(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`)}return u}:void 0,[x_]:!0};return ye(e,"default")&&(a.default=o),a},mo=e=>mf(Object.entries(e).map(([t,n])=>[t,gf(n,t)]));var C_=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function go(e,t){{const n=Ne(e)?new C_(`[${e}] ${t}`):e;console.warn(n)}}function vf(e,t){return Bi()?(Fc(e,t),!0):!1}const Un=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T_=Object.prototype.toString,A_=e=>T_.call(e)==="[object Object]";function Fs(e){return Array.isArray(e)?e:[e]}function D_(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,s=tu(!1);let i;function a(){i&&(clearTimeout(i),i=void 0)}function l(){s.value=!1,a()}function u(...c){o&&e(),a(),s.value=!0,i=setTimeout(()=>{s.value=!1,i=void 0,e(...c)},Zn(t))}return r&&(s.value=!0,Un&&u()),vf(l),{isPending:Dt(s),start:u,stop:l}}function P_(e,t,n){return Je(e,t,{...n,immediate:!0})}const _f=Un?window:void 0,bw=Un?window.document:void 0;function yi(e){var t;const n=Zn(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function $_(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=se(()=>{const r=Fs(Zn(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return P_(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>yi(s)))!==null&&r!==void 0?r:[_f].filter(s=>s!=null),Fs(Zn(n.value?e[1]:e[0])),Fs(Q(n.value?e[2]:e[1])),Zn(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!(r!=null&&r.length)||!(o!=null&&o.length)||!(s!=null&&s.length))return;const u=A_(i)?{...i}:i,c=r.flatMap(f=>o.flatMap(h=>s.map(g=>t(f,h,g,u))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}function I_(){const e=tu(!1),t=Lt();return t&&Fn(()=>{e.value=!0},t),e}function M_(e){const t=I_();return se(()=>(t.value,!!e()))}const Ew=Symbol("vueuse-ssr-width");function V_(e,t,n={}){const{window:r=_f,...o}=n;let s;const i=M_(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=Je(se(()=>{const c=Zn(e);return Array.isArray(c)?c.map(f=>yi(f)):[yi(c)]}),c=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const f of c)f&&s.observe(f,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),l()};return vf(u),{isSupported:i,stop:u}}const R_=()=>Un&&/android/i.test(window.navigator.userAgent),L_="utils/dom/style";function wi(e,t="px"){if(!e&&e!==0)return"";if(Vn(e)||N_(e))return`${e}${t}`;if(Ne(e))return e;go(L_,"binding value must be a string or number")}var F_={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}};const k_=e=>(t,n)=>j_(t,n,Q(e)),j_=(e,t,n)=>Jv(n,e,e).replace(/\{(\w+)\}/g,(r,o)=>`${(t==null?void 0:t[o])??`{${o}}`}`),B_=e=>({lang:se(()=>Q(e).name),locale:Se(e)?e:ge(e),t:k_(e)}),yf=Symbol("localeContextKey"),U_=e=>{const t=e||pt(yf,ge());return B_(se(()=>t.value||F_))},H_="is-",yn=(e,t,n,r,o)=>{let s=`${e}-${t}`;return n&&(s+=`-${n}`),r&&(s+=`__${r}`),o&&(s+=`--${o}`),s},wf=Symbol("namespaceContextKey"),z_=e=>{const t=e||(Lt()?pt(wf,ge("el")):ge("el"));return se(()=>Q(t)||"el")},la=(e,t)=>{const n=z_(t);return{namespace:n,b:(p="")=>yn(n.value,e,p,"",""),e:p=>p?yn(n.value,e,"",p,""):"",m:p=>p?yn(n.value,e,"","",p):"",be:(p,v)=>p&&v?yn(n.value,e,p,v,""):"",em:(p,v)=>p&&v?yn(n.value,e,"",p,v):"",bm:(p,v)=>p&&v?yn(n.value,e,p,"",v):"",bem:(p,v,S)=>p&&v&&S?yn(n.value,e,p,v,S):"",is:(p,...v)=>{const S=v.length>=1?v[0]:!0;return p&&S?`${H_}${p}`:""},cssVar:p=>{const v={};for(const S in p)p[S]&&(v[`--${n.value}-${S}`]=p[S]);return v},cssVarName:p=>`--${n.value}-${p}`,cssVarBlock:p=>{const v={};for(const S in p)p[S]&&(v[`--${n.value}-${e}-${S}`]=p[S]);return v},cssVarBlockName:p=>`--${n.value}-${e}-${p}`}};const W_=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=K_(e);if(t){if(Object.values(pi).includes(t))return t;switch(t){case" ":return pi.space;default:return""}}return""},K_=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&R_()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},Kl={current:0},ql=ge(0),bf=2e3,Gl=Symbol("elZIndexContextKey"),Ef=Symbol("zIndexContextKey"),q_=e=>{const t=Lt()?pt(Gl,Kl):Kl,n=e||(Lt()?pt(Ef,void 0):void 0),r=se(()=>{const i=Q(n);return Vn(i)?i:bf}),o=se(()=>r.value+ql.value),s=()=>(t.current++,ql.value=t.current,o.value);return!Un&&!pt(Gl)&&go("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
|
38
|
+
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:o,nextZIndex:s}},G_=gf({type:String,values:eg,required:!1}),Y_=Symbol("size");const J_=Symbol("emptyValuesContextKey");const X_=mo({emptyValues:Array,valueOnClear:{type:at([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=fe(e)?e():e,le(e)?e.every(t=>!t):!e)}});const Z_=e=>{const t=e.props,n=le(t)?mf(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[o,s]of Object.entries(r)){const i=n[o];if(ye(n,o)){if(r_(i)){n[o]={...i,default:s};continue}n[o]={type:i,default:s}}}e.props=n}}},Of=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return Z_(e),e},Q_=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e);/*! Element Plus Icons Vue v2.3.2 */var e2=Pe({name:"ArrowDownBold",__name:"arrow-down-bold",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496"})]))}}),t2=e2,n2=Pe({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),r2=n2,o2=Pe({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),s2=o2;var i2=Pe({name:"ArrowUpBold",__name:"arrow-up-bold",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496"})]))}}),a2=i2;var l2=Pe({name:"Check",__name:"check",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),Nf=l2;var c2=Pe({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),oe("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),u2=c2,f2=Pe({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),xf=f2,d2=Pe({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),oe("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),p2=d2;var h2=Pe({name:"Close",__name:"close",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),ca=h2;var m2=Pe({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),bi=m2;var g2=Pe({name:"Refresh",__name:"refresh",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),Yl=g2,v2=Pe({name:"Remove",__name:"remove",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),oe("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),_2=v2;var y2=Pe({name:"Search",__name:"search",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),w2=y2;var b2=Pe({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),Sf=b2,E2=Pe({name:"Switch",__name:"switch",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344M64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),O2=E2,N2=Pe({name:"Upload",__name:"upload",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),x2=N2;var S2=Pe({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(K(),he("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[oe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),Cf=S2;const C2=at([String,Object,Function]);const T2={Close:ca,SuccessFilled:Sf,InfoFilled:bi,WarningFilled:Cf,CircleCloseFilled:xf},Jl={primary:bi,success:Sf,warning:Cf,error:xf,info:bi};const A2=mo({size:{type:at([Number,String])},color:{type:String}});var D2=Pe({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:A2,setup(e){const t=e,n=la("icon"),r=se(()=>{const{size:o,color:s}=t,i=wi(o);return!i&&!s?{}:{fontSize:i,"--color":s}});return(o,s)=>(K(),he("i",lo({class:Q(n).b(),style:r.value},o.$attrs),[en(o.$slots,"default")],16))}}),P2=D2;const Xl=Of(P2),$2=e=>e,I2=mo({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:at([String,Object,Array,Boolean]),default:void 0},offset:{type:at(Array),default:()=>[0,0]},badgeClass:{type:String}});var M2=Pe({name:"ElBadge",__name:"badge",props:I2,setup(e,{expose:t}){const n=e,r=la("badge"),o=se(()=>n.isDot?"":Vn(n.value)&&Vn(n.max)?n.max<n.value?`${n.max}+`:`${n.value}`:`${n.value}`),s=se(()=>[{backgroundColor:n.color,marginRight:wi(-n.offset[0]),marginTop:wi(n.offset[1])},n.badgeStyle??{}]);return t({content:o}),(i,a)=>(K(),he("div",{class:Ye(Q(r).b())},[en(i.$slots,"default"),te(ps,{name:`${Q(r).namespace.value}-zoom-in-center`},{default:ue(()=>[!e.hidden&&(o.value||e.isDot||i.$slots.content)?(K(),he("sup",{key:0,class:Ye([Q(r).e("content"),Q(r).em("content",e.type),Q(r).is("fixed",!!i.$slots.default),Q(r).is("dot",e.isDot),Q(r).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:fn(s.value)},[en(i.$slots,"content",{value:o.value},()=>[Ge(De(o.value),1)])],6)):Oe("v-if",!0)]),_:3},8,["name"])],2))}}),V2=M2;const R2=Of(V2),Tf=Symbol(),Yo=ge();function Af(e,t=void 0){const n=Lt()?pt(Tf,Yo):Yo;return e?se(()=>{var r;return((r=n.value)==null?void 0:r[e])??t}):n}function L2(e,t){const n=Af(),r=la(e,se(()=>{var a;return((a=n.value)==null?void 0:a.namespace)||"el"})),o=U_(se(()=>{var a;return(a=n.value)==null?void 0:a.locale})),s=q_(se(()=>{var l;const a=(l=n.value)==null?void 0:l.zIndex;return E_(a)||Number.isNaN(a)?bf:a})),i=se(()=>{var a;return Q(t)||((a=n.value)==null?void 0:a.size)||""});return F2(se(()=>Q(n)||{})),{ns:r,locale:o,zIndex:s,size:i}}const F2=(e,t,n=!1)=>{const r=!!Lt(),o=r?Af():void 0,s=r?jr:void 0;if(!s){go("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const i=se(()=>{const a=Q(e);return o!=null&&o.value?k2(o.value,a):a});return s(Tf,i),s(yf,se(()=>i.value.locale)),s(wf,se(()=>i.value.namespace)),s(Ef,se(()=>i.value.zIndex)),s(Y_,{size:se(()=>i.value.size||"")}),s(J_,se(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(n||!Yo.value)&&(Yo.value=i.value),i},k2=(e,t)=>{const n=[...new Set([...Wl(e),...Wl(t)])],r={};for(const o of n)r[o]=t[o]!==void 0?t[o]:e[o];return r},Ow=mo({a11y:{type:Boolean,default:!0},locale:{type:at(Object)},size:G_,button:{type:at(Object)},card:{type:at(Object)},dialog:{type:at(Object)},link:{type:at(Object)},experimentalFeatures:{type:at(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:at(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:at(Object)},...X_}),it={placement:"top"};var j2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};var Df={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(j2,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",i="second",a="minute",l="hour",u="day",c="week",f="month",h="quarter",g="year",y="date",p="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var $=["th","st","nd","rd"],R=H%100;return"["+H+($[(R-20)%10]||$[R]||$[0])+"]"}},V=function(H,$,R){var M=String(H);return!M||M.length>=$?H:""+Array($+1-M.length).join(R)+H},J={s:V,z:function(H){var $=-H.utcOffset(),R=Math.abs($),M=Math.floor(R/60),A=R%60;return($<=0?"+":"-")+V(M,2,"0")+":"+V(A,2,"0")},m:function H($,R){if($.date()<R.date())return-H(R,$);var M=12*(R.year()-$.year())+(R.month()-$.month()),A=$.clone().add(M,f),X=R-A<0,b=$.clone().add(M+(X?-1:1),f);return+(-(M+(R-A)/(X?A-b:b-A))||0)},a:function(H){return H<0?Math.ceil(H)||0:Math.floor(H)},p:function(H){return{M:f,y:g,w:c,d:u,D:y,h:l,m:a,s:i,ms:s,Q:h}[H]||String(H||"").toLowerCase().replace(/s$/,"")},u:function(H){return H===void 0}},E="en",q={};q[E]=T;var P="$isDayjsObject",ne=function(H){return H instanceof N||!(!H||!H[P])},F=function H($,R,M){var A;if(!$)return E;if(typeof $=="string"){var X=$.toLowerCase();q[X]&&(A=X),R&&(q[X]=R,A=X);var b=$.split("-");if(!A&&b.length>1)return H(b[0])}else{var U=$.name;q[U]=$,A=U}return!M&&A&&(E=A),A||!M&&E},O=function(H,$){if(ne(H))return H.clone();var R=typeof $=="object"?$:{};return R.date=H,R.args=arguments,new N(R)},w=J;w.l=F,w.i=ne,w.w=function(H,$){return O(H,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var N=function(){function H(R){this.$L=F(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[P]=!0}var $=H.prototype;return $.parse=function(R){this.$d=function(M){var A=M.date,X=M.utc;if(A===null)return new Date(NaN);if(w.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var b=A.match(v);if(b){var U=b[2]-1||0,G=(b[7]||"0").substring(0,3);return X?new Date(Date.UTC(b[1],U,b[3]||1,b[4]||0,b[5]||0,b[6]||0,G)):new Date(b[1],U,b[3]||1,b[4]||0,b[5]||0,b[6]||0,G)}}return new Date(A)}(R),this.init()},$.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},$.$utils=function(){return w},$.isValid=function(){return this.$d.toString()!==p},$.isSame=function(R,M){var A=O(R);return this.startOf(M)<=A&&A<=this.endOf(M)},$.isAfter=function(R,M){return O(R)<this.startOf(M)},$.isBefore=function(R,M){return this.endOf(M)<O(R)},$.$g=function(R,M,A){return w.u(R)?this[M]:this.set(A,R)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(R,M){var A=this,X=!!w.u(M)||M,b=w.p(R),U=function(Re,Ie){var ke=w.w(A.$u?Date.UTC(A.$y,Ie,Re):new Date(A.$y,Ie,Re),A);return X?ke:ke.endOf(u)},G=function(Re,Ie){return w.w(A.toDate()[Re].apply(A.toDate("s"),(X?[0,0,0,0]:[23,59,59,999]).slice(Ie)),A)},re=this.$W,Ee=this.$M,xe=this.$D,ft="set"+(this.$u?"UTC":"");switch(b){case g:return X?U(1,0):U(31,11);case f:return X?U(1,Ee):U(0,Ee+1);case c:var $e=this.$locale().weekStart||0,me=(re<$e?re+7:re)-$e;return U(X?xe-me:xe+(6-me),Ee);case u:case y:return G(ft+"Hours",0);case l:return G(ft+"Minutes",1);case a:return G(ft+"Seconds",2);case i:return G(ft+"Milliseconds",3);default:return this.clone()}},$.endOf=function(R){return this.startOf(R,!1)},$.$set=function(R,M){var A,X=w.p(R),b="set"+(this.$u?"UTC":""),U=(A={},A[u]=b+"Date",A[y]=b+"Date",A[f]=b+"Month",A[g]=b+"FullYear",A[l]=b+"Hours",A[a]=b+"Minutes",A[i]=b+"Seconds",A[s]=b+"Milliseconds",A)[X],G=X===u?this.$D+(M-this.$W):M;if(X===f||X===g){var re=this.clone().set(y,1);re.$d[U](G),re.init(),this.$d=re.set(y,Math.min(this.$D,re.daysInMonth())).$d}else U&&this.$d[U](G);return this.init(),this},$.set=function(R,M){return this.clone().$set(R,M)},$.get=function(R){return this[w.p(R)]()},$.add=function(R,M){var A,X=this;R=Number(R);var b=w.p(M),U=function(Ee){var xe=O(X);return w.w(xe.date(xe.date()+Math.round(Ee*R)),X)};if(b===f)return this.set(f,this.$M+R);if(b===g)return this.set(g,this.$y+R);if(b===u)return U(1);if(b===c)return U(7);var G=(A={},A[a]=r,A[l]=o,A[i]=n,A)[b]||1,re=this.$d.getTime()+R*G;return w.w(re,this)},$.subtract=function(R,M){return this.add(-1*R,M)},$.format=function(R){var M=this,A=this.$locale();if(!this.isValid())return A.invalidDate||p;var X=R||"YYYY-MM-DDTHH:mm:ssZ",b=w.z(this),U=this.$H,G=this.$m,re=this.$M,Ee=A.weekdays,xe=A.months,ft=A.meridiem,$e=function(Ie,ke,Ct,d){return Ie&&(Ie[ke]||Ie(M,X))||Ct[ke].slice(0,d)},me=function(Ie){return w.s(U%12||12,Ie,"0")},Re=ft||function(Ie,ke,Ct){var d=Ie<12?"AM":"PM";return Ct?d.toLowerCase():d};return X.replace(S,function(Ie,ke){return ke||function(Ct){switch(Ct){case"YY":return String(M.$y).slice(-2);case"YYYY":return w.s(M.$y,4,"0");case"M":return re+1;case"MM":return w.s(re+1,2,"0");case"MMM":return $e(A.monthsShort,re,xe,3);case"MMMM":return $e(xe,re);case"D":return M.$D;case"DD":return w.s(M.$D,2,"0");case"d":return String(M.$W);case"dd":return $e(A.weekdaysMin,M.$W,Ee,2);case"ddd":return $e(A.weekdaysShort,M.$W,Ee,3);case"dddd":return Ee[M.$W];case"H":return String(U);case"HH":return w.s(U,2,"0");case"h":return me(1);case"hh":return me(2);case"a":return Re(U,G,!0);case"A":return Re(U,G,!1);case"m":return String(G);case"mm":return w.s(G,2,"0");case"s":return String(M.$s);case"ss":return w.s(M.$s,2,"0");case"SSS":return w.s(M.$ms,3,"0");case"Z":return b}return null}(Ie)||b.replace(":","")})},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(R,M,A){var X,b=this,U=w.p(M),G=O(R),re=(G.utcOffset()-this.utcOffset())*r,Ee=this-G,xe=function(){return w.m(b,G)};switch(U){case g:X=xe()/12;break;case f:X=xe();break;case h:X=xe()/3;break;case c:X=(Ee-re)/6048e5;break;case u:X=(Ee-re)/864e5;break;case l:X=Ee/o;break;case a:X=Ee/r;break;case i:X=Ee/n;break;default:X=Ee}return A?X:w.a(X)},$.daysInMonth=function(){return this.endOf(f).$D},$.$locale=function(){return q[this.$L]},$.locale=function(R,M){if(!R)return this.$L;var A=this.clone(),X=F(R,M,!0);return X&&(A.$L=X),A},$.clone=function(){return w.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},H}(),ee=N.prototype;return O.prototype=ee,[["$ms",s],["$s",i],["$m",a],["$H",l],["$W",u],["$M",f],["$y",g],["$D",y]].forEach(function(H){ee[H[1]]=function($){return this.$g($,H[0],H[1])}}),O.extend=function(H,$){return H.$i||(H($,N,O),H.$i=!0),O},O.locale=F,O.isDayjs=ne,O.unix=function(H){return O(1e3*H)},O.en=q[E],O.Ls=q,O.p={},O})})(Df);var Nw=Df.exports;const Pf=["primary","success","info","warning","error"],$f=["top","top-left","top-right","bottom","bottom-left","bottom-right"],et=$2({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:Un?document.body:void 0}),B2=mo({customClass:{type:String,default:et.customClass},dangerouslyUseHTMLString:{type:Boolean,default:et.dangerouslyUseHTMLString},duration:{type:Number,default:et.duration},icon:{type:C2,default:et.icon},id:{type:String,default:et.id},message:{type:at([String,Object,Function]),default:et.message},onClose:{type:at(Function),default:et.onClose},showClose:{type:Boolean,default:et.showClose},type:{type:String,values:Pf,default:et.type},plain:{type:Boolean,default:et.plain},offset:{type:Number,default:et.offset},placement:{type:String,values:$f,default:et.placement},zIndex:{type:Number,default:et.zIndex},grouping:{type:Boolean,default:et.grouping},repeatNum:{type:Number,default:et.repeatNum}}),U2={destroy:()=>!0},$t=Ki({}),H2=e=>($t[e]||($t[e]=Ki([])),$t[e]),z2=(e,t)=>{const n=$t[t]||[],r=n.findIndex(i=>i.id===e),o=n[r];let s;return r>0&&(s=n[r-1]),{current:o,prev:s}},W2=(e,t)=>{const{prev:n}=z2(e,t);return n?n.vm.exposed.bottom.value:0},K2=(e,t,n)=>($t[n]||[]).findIndex(r=>r.id===e)>0?16:t,q2=["id"],G2=["innerHTML"];var Y2=Pe({name:"ElMessage",__name:"message",props:B2,emits:U2,setup(e,{expose:t,emit:n}){const{Close:r}=T2,o=e,s=n,i=ge(!1),{ns:a,zIndex:l}=L2("message"),{currentZIndex:u,nextZIndex:c}=l,f=ge(),h=ge(!1),g=ge(0);let y;const p=se(()=>o.type?o.type==="error"?"danger":o.type:"info"),v=se(()=>{const ee=o.type;return{[a.bm("icon",ee)]:ee&&Jl[ee]}}),S=se(()=>o.icon||Jl[o.type]||""),T=se(()=>o.placement||"top"),V=se(()=>W2(o.id,T.value)),J=se(()=>Math.max(K2(o.id,o.offset,T.value)+V.value,o.offset)),E=se(()=>g.value+J.value),q=se(()=>T.value.includes("left")?a.is("left"):T.value.includes("right")?a.is("right"):a.is("center")),P=se(()=>T.value.startsWith("top")?"top":"bottom"),ne=se(()=>({[P.value]:`${J.value}px`,zIndex:u.value}));function F(){o.duration!==0&&({stop:y}=D_(()=>{w()},o.duration))}function O(){y==null||y()}function w(){h.value=!1,or(()=>{var ee;i.value||((ee=o.onClose)==null||ee.call(o),s("destroy"))})}function N(ee){W_(ee)===pi.esc&&w()}return Fn(()=>{F(),c(),h.value=!0}),Je(()=>o.repeatNum,()=>{O(),F()}),$_(document,"keydown",N),V_(f,()=>{g.value=f.value.getBoundingClientRect().height}),t({visible:h,bottom:E,close:w}),(ee,H)=>(K(),we(ps,{name:Q(a).b("fade"),onBeforeEnter:H[0]||(H[0]=$=>i.value=!0),onBeforeLeave:e.onClose,onAfterLeave:H[1]||(H[1]=$=>ee.$emit("destroy")),persisted:""},{default:ue(()=>[sr(oe("div",{id:e.id,ref_key:"messageRef",ref:f,class:Ye([Q(a).b(),{[Q(a).m(e.type)]:e.type},Q(a).is("closable",e.showClose),Q(a).is("plain",e.plain),Q(a).is("bottom",P.value==="bottom"),q.value,e.customClass]),style:fn(ne.value),role:"alert",onMouseenter:O,onMouseleave:F},[e.repeatNum>1?(K(),we(Q(R2),{key:0,value:e.repeatNum,type:p.value,class:Ye(Q(a).e("badge"))},null,8,["value","type","class"])):Oe("v-if",!0),S.value?(K(),we(Q(Xl),{key:1,class:Ye([Q(a).e("icon"),v.value])},{default:ue(()=>[(K(),we(b0(S.value)))]),_:1},8,["class"])):Oe("v-if",!0),!e.dangerouslyUseHTMLString||ee.$slots.default?(K(),he("p",{key:2,class:Ye(Q(a).e("content"))},[en(ee.$slots,"default",{},()=>[Ge(De(e.message),1)])],2)):(K(),he(Le,{key:3},[Oe(" Caution here, message could've been compromised, never use user's input as message "),oe("p",{class:Ye(Q(a).e("content")),innerHTML:e.message},null,10,G2)],2112)),e.showClose?(K(),we(Q(Xl),{key:4,class:Ye(Q(a).e("closeBtn")),onClick:of(w,["stop"])},{default:ue(()=>[te(Q(r))]),_:1},8,["class"])):Oe("v-if",!0)],46,q2),[[Go,h.value]])]),_:3},8,["name","onBeforeLeave"]))}}),J2=Y2;let X2=1;const Z2=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Ne(e.appendTo)){let t=document.querySelector(e.appendTo);O_(t)||(go("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body),e.appendTo=t}},Q2=e=>{!e.placement&&Ne(it.placement)&&it.placement&&(e.placement=it.placement),e.placement||(e.placement="top"),$f.includes(e.placement)||(go("ElMessage",`Invalid placement: ${e.placement}. Falling back to 'top'.`),e.placement="top")},If=e=>{const t=!e||Ne(e)||tn(e)||fe(e)?{message:e}:e,n={...et,...t};return Z2(n),Q2(n),Ls(it.grouping)&&!n.grouping&&(n.grouping=it.grouping),Vn(it.duration)&&n.duration===3e3&&(n.duration=it.duration),Vn(it.offset)&&n.offset===16&&(n.offset=it.offset),Ls(it.showClose)&&!n.showClose&&(n.showClose=it.showClose),Ls(it.plain)&&!n.plain&&(n.plain=it.plain),n},e1=e=>{const t=$t[e.props.placement||"top"],n=t.indexOf(e);if(n===-1)return;t.splice(n,1);const{handler:r}=e;r.close()},t1=({appendTo:e,...t},n)=>{const r=`message_${X2++}`,o=t.onClose,s=document.createElement("div"),i={...t,id:r,onClose:()=>{o==null||o(),e1(u)},onDestroy:()=>{di(null,s)}},a=te(J2,i,fe(i.message)||tn(i.message)?{default:fe(i.message)?i.message:()=>i.message}:null);a.appContext=n||Rn._context,di(a,s),e.appendChild(s.firstElementChild);const l=a.component,u={id:r,vnode:a,vm:l,handler:{close:()=>{l.exposed.close()}},props:a.component.props};return u},Rn=(e={},t)=>{if(!Un)return{close:()=>{}};const n=If(e),r=H2(n.placement||"top");if(n.grouping&&r.length){const s=r.find(({vnode:i})=>{var a;return((a=i.props)==null?void 0:a.message)===n.message});if(s)return s.props.repeatNum+=1,s.props.type=n.type,s.handler}if(Vn(it.max)&&r.length>=it.max)return{close:()=>{}};const o=t1(n,t);return r.push(o),o.handler};Pf.forEach(e=>{Rn[e]=(t={},n)=>Rn({...If(t),type:e},n)});function n1(e){for(const t in $t)if(ye($t,t)){const n=[...$t[t]];for(const r of n)(!e||e===r.props.type)&&r.handler.close()}}function r1(e){$t[e]&&[...$t[e]].forEach(t=>t.handler.close())}Rn.closeAll=n1;Rn.closeAllByPlacement=r1;Rn._context=null;const Et=Q_(Rn,"$message");class qr extends Error{constructor(t="Image selector cancelled"){super(t),this.name="ImageSelectorCancelledError"}}class Ei extends Error{constructor(n,r){super(r||{missing_token:"请先填写并保存云盘 Access Token",unauthorized:"云盘 Access Token 无效或已过期",valid_site:"请先在云盘配置有效站点",unknown:"云盘鉴权失败"}[n]);ya(this,"reason");this.name="ImageSelectorAuthError",this.reason=n}}let Nt=null;function o1(){return Nt&&(Nt.reject(new qr),Nt=null),new Promise((e,t)=>{Nt={resolve:e,reject:t}})}function s1(e){Nt==null||Nt.resolve(e),Nt=null}function Zl(){Nt==null||Nt.reject(new qr),Nt=null}const ks="__YC_COMPONENT_IMAGE_SELECTOR__",Oi="yc-component:image-selector-open";function i1(){const e=globalThis;return e[ks]||(e[ks]=cr({visible:!1,options:{}})),e[ks]}const st=i1();function Mf(e={}){st.options={...e},st.visible=!0,globalThis.dispatchEvent(new CustomEvent(Oi,{detail:{...e}}))}function ua(){st.visible=!1}function fa(){ua()}function da(e={}){const t=o1();return Mf(e),t}const a1={class:"yc-image-selector"},l1={key:0,class:"yc-image-selector__toolbar"},c1={class:"yc-image-selector__body"},u1={key:0,class:"yc-image-selector__aside"},f1=["onClick"],d1={key:0,class:"yc-image-selector__category-count"},p1={class:"yc-image-selector__main"},h1={key:1,class:"yc-image-selector__grid"},m1=["onClick"],g1={class:"yc-image-selector__thumb"},v1=["src","alt","onLoad"],_1={key:0,class:"yc-image-selector__order"},y1=["title"],w1={key:1,class:"yc-image-selector__selected-bar"},b1={class:"yc-image-selector__selected-bar-label"},E1={class:"yc-image-selector__selected-bar-list"},O1=["onClick"],N1=["src","alt"],x1={key:2,class:"yc-image-selector__pagination"},S1={key:0,class:"yc-image-selector__footer"},C1={class:"yc-image-selector__footer-left"},T1={class:"yc-image-selector__selected-tip"},A1={class:"yc-image-selector__footer-actions"},D1={key:1,class:"yc-image-selector__footer yc-image-selector__footer--quick"},P1={class:"yc-image-selector__footer-left"},$1={class:"yc-image-selector__selected-tip"},I1=Pe({__name:"YcImageSelectorDialog",props:{modelValue:{type:[Boolean,null],default:null},title:{default:"选择图片"},multiple:{type:Boolean,default:!1},maxCount:{default:9},selected:{},width:{default:"860px"},pageSize:{default:8},showUpload:{type:Boolean,default:!0},accept:{default:"image/*"},showCategories:{type:Boolean,default:!1},categories:{},categoryAllLabel:{default:"全部"},showModeSwitch:{type:Boolean,default:!1},confirmOnSelect:{type:Boolean,default:!1},confirmText:{default:"确定"},cancelText:{default:"取消"},emptyText:{default:"暂无图片资源"},renderEmpty:{},renderFooterExtra:{},getImages:{},upload:{},urlField:{default:"url"}},emits:["update:modelValue","confirm","cancel"],setup(e,{emit:t}){const n=Pe({name:"YcImageSelectorRenderEmpty",props:{render:{type:Function,required:!0},ctx:{type:Object,required:!0}},setup(C){return()=>C.render(C.ctx)}}),r=Pe({name:"YcImageSelectorRenderFooterExtra",props:{render:{type:Function,required:!0},ctx:{type:Object,required:!0}},setup(C){return()=>C.render(C.ctx)}}),o=e,s=t,i=se(()=>o.modelValue!=null),a=ge(!1),l=ge(null);Je(()=>o.modelValue,C=>{i.value&&(a.value=!!C)},{immediate:!0}),Je(a,C=>{if(i.value){s("update:modelValue",C);return}st.visible=C,C||ua()}),Je(()=>st.visible,C=>{i.value||(a.value=C)},{immediate:!0});const u=se(()=>(i.value?void 0:st.options.title)??o.title??"选择图片"),c=se(()=>(i.value?void 0:st.options.multiple)??o.multiple),f=se(()=>(i.value?void 0:st.options.maxCount)??o.maxCount),h=se(()=>(i.value?void 0:st.options.showModeSwitch)??o.showModeSwitch),g=se(()=>(i.value?void 0:st.options.showCategories)??o.showCategories),y=se(()=>{var C,D;if((C=o.categories)!=null&&C.length)return o.categories;if(!i.value&&((D=st.options.categories)!=null&&D.length))return st.options.categories}),p=se(()=>g.value?y.value??w.value:[]),v=se(()=>(i.value?void 0:st.options.confirmOnSelect)??o.confirmOnSelect),S=ge("single"),T=[{label:"单选",value:"single"},{label:"多选",value:"multiple"}],V=se(()=>h.value?S.value==="multiple":c.value),J=ge(""),E=ge(""),q=ge(1),P=ge(0),ne=ge(!1),F=ge(!1),O=ge([]),w=ge([]),N=ge(new Map),ee=ge(new Map),H=ge(),$=ge(),R=ge(!1),M=se(()=>[...N.value.values()]),A=se(()=>!!l.value||O.value.length===0),X=se(()=>({authState:l.value,isEmpty:O.value.length===0,reload:Y}));function b(C){l.value={reason:(C==null?void 0:C.reason)??"missing_token",message:C==null?void 0:C.message},O.value=[],P.value=0,w.value=[],J.value="",E.value="",q.value=1}const U=se(()=>({isAuthenticated:!l.value,enterAuthSetup:b})),G=se(()=>{var D,ie;const C=M.value.length;return v.value?C?`已选:${((D=M.value[0])==null?void 0:D.name)||"1 张图片"}`:"单击图片即可完成选择":C?V.value?`已选 ${C} / ${f.value} 张`:`已选:${((ie=M.value[0])==null?void 0:ie.name)||"1 张图片"}`:V.value?`多选模式:最多 ${f.value} 张`:"单选模式:请选择一张图片"});function re(C){const D=M.value.findIndex(ie=>me(ie)===me(C));return D>=0?D+1:""}function Ee(C){if(C==="single"&&M.value.length>1){const D=M.value[0];N.value=new Map([[me(D),D]]),Et.info("已切换为单选,仅保留第一张")}}function xe(){S.value=c.value?"multiple":"single"}function ft(){N.value=new Map}function $e(C){return C[o.urlField]}function me(C){return C.id??C.url}function Re(C){return N.value.has(me(C))}function Ie(C,D){return C<D?"portrait":C>D?"landscape":"square"}function ke(C,D){const ie=me(C);ee.value.get(ie)!==D&&(ee.value.set(ie,D),ee.value=new Map(ee.value))}function Ct(C){const D=ee.value.get(me(C));return D?`yc-image-selector__img--${D}`:""}function d(C,D){const ie=C.target;!(ie!=null&&ie.naturalWidth)||!(ie!=null&&ie.naturalHeight)||ke(D,Ie(ie.naturalWidth,ie.naturalHeight))}function m(C){C.width&&C.height&&ke(C,Ie(C.width,C.height))}function x(C){const D=new Map;if(!(C!=null&&C.length)){N.value=D;return}if(typeof C[0]=="string")for(const Ce of C)D.set(Ce,{id:Ce,url:Ce,name:Ce.split("/").pop()});else for(const Ce of C)D.set(me(Ce),Ce);N.value=D}function j(C){H.value=C.onConfirm,$.value=C.onCancel,x(C.selected??o.selected)}function L(C){if(i.value)return;const D=C.detail??{};j(D),a.value=!0}Fn(()=>{globalThis.addEventListener(Oi,L),i.value||(a.value=st.visible)}),io(()=>{globalThis.removeEventListener(Oi,L)});async function I(){var C;if(!o.getImages){Et.error("请通过 props.getImages 传入图片列表请求方法");return}ne.value=!0,l.value=null;try{const D=await o.getImages({keyword:J.value.trim()||void 0,category:g.value&&E.value||void 0,page:q.value,pageSize:o.pageSize});O.value=D.list,P.value=D.total;for(const ie of D.list)m(ie);g.value&&!y.value&&((C=D.categories)!=null&&C.length)&&(w.value=D.categories)}catch(D){if(O.value=[],P.value=0,D instanceof Ei||(D==null?void 0:D.name)==="ImageSelectorAuthError"){const ie=D;l.value={reason:ie.reason||"unknown",message:ie.message};return}Et.error(D instanceof Error?D.message:"加载图片失败")}finally{ne.value=!1}}function Y(){q.value=1,I()}function W(C){E.value!==C&&(E.value=C,Y())}function z(C){const D=me(C);if(V.value){if(N.value.has(D)){N.value.delete(D),N.value=new Map(N.value);return}if(M.value.length>=f.value){Et.warning(`最多选择 ${f.value} 张图片`);return}N.value.set(D,C),N.value=new Map(N.value);return}if(N.value.has(D)){if(v.value){or(()=>pe());return}N.value=new Map;return}N.value=new Map([[D,C]]),v.value&&or(()=>pe())}async function k(C){if(!o.upload){Et.error("请通过 props.upload 传入图片上传方法");return}F.value=!0;try{const{resource:D}=await o.upload(C.file);if(Et.success("上传成功"),l.value=null,V.value)M.value.length<f.value&&(N.value.set(me(D),D),N.value=new Map(N.value));else if(N.value=new Map([[me(D),D]]),v.value){pe();return}Y()}catch(D){if(D instanceof Ei||(D==null?void 0:D.name)==="ImageSelectorAuthError"){const ie=D;l.value={reason:ie.reason||"unknown",message:ie.message},O.value=[],P.value=0;return}Et.error(D instanceof Error?D.message:"上传失败")}finally{F.value=!1}}function de(){R.value=!1,J.value="",E.value="",q.value=1,w.value=[],ee.value=new Map,l.value=null,xe(),i.value?j({}):j(st.options),xe(),I()}function Z(){F.value=!1}function ce(){var C;R.value||(R.value=!0,(C=$.value)==null||C.call($),i.value||Zl(),s("cancel"),a.value=!1)}function pe(){var D;if(!M.value.length){Et.warning("请选择图片");return}if(R.value)return;R.value=!0;const C=[...M.value];if(i.value){s("confirm",C),a.value=!1;return}(D=H.value)==null||D.call(H,C),i.value||s1(C),s("confirm",C),a.value=!1}return Je(a,(C,D)=>{var ie;D&&!C&&!R.value&&((ie=$.value)==null||ie.call($),i.value||Zl(),s("cancel"))}),Je(()=>o.selected,C=>{a.value||x(C)},{deep:!0}),(C,D)=>{const ie=Ve("el-icon"),Ce=Ve("el-input"),ze=Ve("el-segmented"),Qe=Ve("el-button"),vt=Ve("el-upload"),pn=Ve("el-empty"),vo=Ve("el-pagination"),Ze=Ve("el-dialog"),_t=Tu("loading");return K(),we(Ze,{modelValue:a.value,"onUpdate:modelValue":D[4]||(D[4]=_e=>a.value=_e),title:u.value,width:e.width,"append-to-body":"","destroy-on-close":"",class:"yc-image-selector-dialog",onClosed:Z,onOpen:de},{footer:ue(()=>[v.value?(K(),he("div",D1,[oe("div",P1,[oe("span",$1,De(G.value),1),o.renderFooterExtra&&!l.value?(K(),we(Q(r),{key:0,render:o.renderFooterExtra,ctx:U.value},null,8,["render","ctx"])):Oe("",!0)]),te(Qe,{link:"",type:"primary",onClick:ce},{default:ue(()=>[Ge(De(e.cancelText),1)]),_:1})])):(K(),he("div",S1,[oe("div",C1,[oe("span",T1,De(G.value),1),o.renderFooterExtra&&!l.value?(K(),we(Q(r),{key:0,render:o.renderFooterExtra,ctx:U.value},null,8,["render","ctx"])):Oe("",!0)]),oe("div",A1,[te(Qe,{onClick:ce},{default:ue(()=>[Ge(De(e.cancelText),1)]),_:1}),te(Qe,{type:"primary",disabled:!M.value.length,onClick:pe},{default:ue(()=>[Ge(De(e.confirmText),1)]),_:1},8,["disabled"])])]))]),default:ue(()=>[oe("div",a1,[l.value?Oe("",!0):(K(),he("div",l1,[te(Ce,{modelValue:J.value,"onUpdate:modelValue":D[0]||(D[0]=_e=>J.value=_e),clearable:"",placeholder:"搜索图片名称",class:"yc-image-selector__search",onKeyup:Jm(Y,["enter"]),onClear:Y},{prefix:ue(()=>[te(ie,null,{default:ue(()=>[te(Q(w2))]),_:1})]),_:1},8,["modelValue"]),h.value?(K(),we(ze,{key:0,modelValue:S.value,"onUpdate:modelValue":D[1]||(D[1]=_e=>S.value=_e),options:T,class:"yc-image-selector__mode",onChange:Ee},null,8,["modelValue"])):Oe("",!0),e.showUpload&&e.upload?(K(),we(vt,{key:1,"show-file-list":!1,accept:e.accept,"http-request":k,disabled:F.value},{default:ue(()=>[te(Qe,{type:"primary",plain:"",loading:F.value},{default:ue(()=>[te(ie,{class:"m-r-4"},{default:ue(()=>[te(Q(x2))]),_:1}),D[5]||(D[5]=Ge(" 上传图片 ",-1))]),_:1},8,["loading"])]),_:1},8,["accept","disabled"])):Oe("",!0)])),oe("div",c1,[g.value&&!l.value?(K(),he("aside",u1,[oe("div",{class:Ye(["yc-image-selector__category",{"is-active":E.value===""}]),onClick:D[2]||(D[2]=_e=>W(""))},De(e.categoryAllLabel),3),(K(!0),he(Le,null,Dr(p.value,_e=>(K(),he("div",{key:_e.id,class:Ye(["yc-image-selector__category",{"is-active":E.value===_e.id}]),onClick:hn=>W(_e.id)},[oe("span",null,De(_e.name),1),_e.count!=null?(K(),he("span",d1,De(_e.count),1)):Oe("",!0)],10,f1))),128))])):Oe("",!0),sr((K(),he("div",p1,[!ne.value&&A.value?en(C.$slots,"empty",Ic(lo({key:0},X.value)),()=>{var _e;return[o.renderEmpty?(K(),we(Q(n),{key:0,render:o.renderEmpty,ctx:X.value},null,8,["render","ctx"])):(K(),we(pn,{key:1,description:((_e=l.value)==null?void 0:_e.message)||e.emptyText},null,8,["description"]))]},!0):A.value?Oe("",!0):(K(),he("div",h1,[(K(!0),he(Le,null,Dr(O.value,_e=>(K(),he("div",{key:String(_e.id),class:Ye(["yc-image-selector__item",{"is-selected":Re(_e),"is-single-mode":!V.value,"is-multi-mode":V.value}]),onClick:hn=>z(_e)},[oe("div",g1,[oe("img",{src:$e(_e),alt:_e.name||"image",loading:"lazy",class:Ye(Ct(_e)),onLoad:hn=>d(hn,_e)},null,42,v1),oe("div",{class:Ye(["yc-image-selector__indicator",{"is-checked":Re(_e),"is-radio":!V.value,"is-checkbox":V.value}])},[Re(_e)&&V.value?(K(),he("span",_1,De(re(_e)),1)):Re(_e)?(K(),we(ie,{key:1},{default:ue(()=>[te(Q(Nf))]),_:1})):Oe("",!0)],2)]),oe("div",{class:"yc-image-selector__meta",title:_e.name},De(_e.name||"未命名"),9,y1)],10,m1))),128))]))])),[[_t,ne.value]])]),V.value&&M.value.length?(K(),he("div",w1,[oe("span",b1,"已选 "+De(M.value.length)+" 张",1),oe("div",E1,[(K(!0),he(Le,null,Dr(M.value,_e=>(K(),he("div",{key:String(_e.id),class:"yc-image-selector__selected-chip",onClick:of(hn=>z(_e),["stop"])},[oe("img",{src:$e(_e),alt:_e.name},null,8,N1),D[6]||(D[6]=oe("span",{class:"yc-image-selector__selected-chip-remove"},"×",-1))],8,O1))),128))]),te(Qe,{link:"",type:"primary",onClick:ft},{default:ue(()=>[...D[7]||(D[7]=[Ge("清空",-1)])]),_:1})])):Oe("",!0),P.value>0?(K(),he("div",x1,[te(vo,{"current-page":q.value,"onUpdate:currentPage":D[3]||(D[3]=_e=>q.value=_e),background:"",layout:"total, prev, pager, next, jumper","page-size":e.pageSize,total:P.value,onCurrentChange:I},null,8,["current-page","page-size","total"])])):Oe("",!0)])]),_:3},8,["modelValue","title","width"])}}}),gs=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},vs=gs(I1,[["__scopeId","data-v-03096613"]]);function Vf(){const{baseURL:e=""}=Qr();return je.create({baseURL:e,timeout:3e4})}async function Rf(e){const t=Qr().fetchImages;if(t)return t(e);const n=Vf(),{data:r}=await n.get("/yc-media/images",{params:e});if(r.code!==200)throw new Error("加载图片资源失败");return r.data}async function Lf(e){const t=Qr().uploadImage;if(t)return t(e);const n=Vf(),r=new FormData;r.append("file",e);const{data:o}=await n.post("/yc-media/images/upload",r,{headers:{"Content-Type":"multipart/form-data"}});if(o.code!==200)throw new Error("上传图片失败");return o.data}const Ql="__YC_IMAGE_SELECTOR_MOUNT__";function M1(e){const t=globalThis;if(t[Ql]||typeof document>"u")return;const n=document.createElement("div");n.setAttribute("data-yc-image-selector-host",""),document.body.appendChild(n);const r=Qr().dialog??{},o=te(vs,{getImages:Rf,upload:Lf,showUpload:r.showUpload??!0,...r});o.appContext=e._context,di(o,n),t[Ql]=!0}function V1(e){e.config.globalProperties.openImageSelector=da,e.config.globalProperties.closeImageSelector=fa}function Ff(e){M1(e),V1(e)}const R1={class:"yc-page-window__header"},L1={class:"yc-page-window__title"},F1={key:0,class:"yc-page-window__nav"},k1={class:"yc-page-window__opera"},j1={class:"yc-page-window__content"},B1=Pe({__name:"YcPageWindow",props:{visible:{type:Boolean},title:{default:""},type:{default:""},showButtons:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},contentMinHeight:{default:"calc(100vh - 175px)"},cancelText:{default:"取消"},confirmText:{default:"保存"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},zIndex:{default:9},list:{default:()=>[]},row:{default:null},rowKey:{default:"id"}},emits:["update:visible","update:type","confirm","close","opened","changeType","prev","next","checkRow"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=ge(!1),i=se(()=>r.loading||s.value),a=se(()=>r.type==="detail"?"详情":r.type==="edit"?"编辑":r.type==="add"?"新增":""),l=se(()=>r.list.length>0&&r.row!=null),u=se(()=>["detail","edit"].includes(r.type)),c=se(()=>r.type!=="detail");function f(){if(!r.row)return-1;const T=r.rowKey,V=r.row[T];return r.list.findIndex(J=>J[T]===V)}function h(T){const V=f();return V<0?!0:T==="prev"?V<=0:V>=r.list.length-1}function g(){const T=f();if(T<=0)return;const V=r.list[T-1];o("checkRow",V),o("prev",V)}function y(){const T=f();if(T<0||T>=r.list.length-1)return;const V=r.list[T+1];o("checkRow",V),o("next",V)}function p(){const T=r.type==="detail"?"edit":"detail";o("update:type",T),o("changeType")}function v(){o("update:visible",!1),o("close")}function S(){s.value=!0,o("confirm",T=>{s.value=!1,T&&v()})}return Je(()=>r.visible,T=>{T&&o("opened")}),Xi(()=>{r.visible&&v()}),t({closeWindow:v}),(T,V)=>{const J=Ve("el-icon"),E=Ve("el-button"),q=Ve("el-tooltip"),P=Ve("el-scrollbar"),ne=Tu("loading");return K(),we(ps,{name:"yc-page-window-fade",mode:"out-in"},{default:ue(()=>[sr(oe("div",{class:"yc-page-window",style:fn({zIndex:e.zIndex})},[oe("div",R1,[oe("div",L1,[te(J,{class:"yc-page-window__back",onClick:v},{default:ue(()=>[te(Q(s2))]),_:1}),oe("span",null,De(e.title)+De(a.value),1),l.value?(K(),he("div",F1,[te(q,{content:"上一条",placement:"top"},{default:ue(()=>[te(E,{round:"",text:"",disabled:h("prev"),onClick:g},{default:ue(()=>[te(J,null,{default:ue(()=>[te(Q(a2))]),_:1})]),_:1},8,["disabled"])]),_:1}),te(q,{content:"下一条",placement:"top"},{default:ue(()=>[te(E,{round:"",text:"",disabled:h("next"),onClick:y},{default:ue(()=>[te(J,null,{default:ue(()=>[te(Q(t2))]),_:1})]),_:1},8,["disabled"])]),_:1})])):Oe("",!0),u.value?(K(),we(E,{key:1,text:"",class:"yc-page-window__type-switch",type:e.type==="detail"?"primary":"success",onClick:p},{default:ue(()=>[te(J,{class:"m-r-4"},{default:ue(()=>[te(Q(O2))]),_:1}),Ge(" "+De(e.type==="detail"?"切换编辑":"切换详情"),1)]),_:1},8,["type"])):Oe("",!0)]),oe("div",k1,[en(T.$slots,"opera",{},void 0,!0),e.showButtons&&c.value?(K(),he(Le,{key:0},[te(E,{text:"",disabled:i.value,onClick:v},{default:ue(()=>[te(J,{class:"m-r-4"},{default:ue(()=>[te(Q(ca))]),_:1}),Ge(" "+De(e.cancelText),1)]),_:1},8,["disabled"]),e.showConfirm?(K(),we(E,{key:0,type:"primary",loading:i.value,disabled:e.disabled,onClick:S},{default:ue(()=>[te(J,{class:"m-r-4"},{default:ue(()=>[te(Q(Nf))]),_:1}),Ge(" "+De(e.confirmText),1)]),_:1},8,["loading","disabled"])):Oe("",!0)],64)):Oe("",!0)])]),sr((K(),he("div",j1,[te(P,{class:"yc-page-window__scroll"},{default:ue(()=>[e.visible?(K(),he("div",{key:0,class:"yc-page-window__body",style:fn({minHeight:e.contentMinHeight})},[en(T.$slots,"default",{},void 0,!0)],4)):Oe("",!0)]),_:3})])),[[ne,i.value]])],4),[[Go,e.visible]])]),_:3})}}}),Jo=gs(B1,[["__scopeId","data-v-b3e784c3"]]);function kf(e){e!=null&&e.aiTask&&(oc(e.aiTask),Wp()),e!=null&&e.imageSelector&&Tc(e.imageSelector)}function U1(e,t){(t==null?void 0:t.registerPageWindow)!==!1&&(e.component("YcPageWindow",Jo),e.component("SkyPageWindow",Jo))}function H1(e,t){(t==null?void 0:t.registerImageSelector)!==!1&&Ff(e)}const jf={install(e,t){kf(t),U1(e,t),H1(e,t)}};function Oo(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function js(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}/*!
|
|
39
39
|
* pinia v2.3.1
|
|
40
40
|
* (c) 2025 Eduardo San Martin Morote
|
|
41
41
|
* @license MIT
|
|
42
|
-
*/let
|
|
42
|
+
*/let Nr;const Xo=e=>Nr=e,z1=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function Ln(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Mr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Mr||(Mr={}));const xr=typeof window<"u";function Bf(e,t){for(const n in t){const r=t[n];if(!(n in e))continue;const o=e[n];Ln(o)&&Ln(r)&&!Se(r)&&!xt(r)?e[n]=Bf(o,r):e[n]=r}return e}const Uf=()=>{};function ec(e,t,n,r=Uf){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Bi()&&Fc(o),o}function Gn(e,...t){e.slice().forEach(n=>{n(...t)})}const W1=e=>e(),tc=Symbol(),Bs=Symbol();function Ni(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Ln(o)&&Ln(r)&&e.hasOwnProperty(n)&&!Se(r)&&!xt(r)?e[n]=Ni(o,r):e[n]=r}return e}const K1=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function q1(e){return!Ln(e)||!e.hasOwnProperty(K1)}const{assign:bt}=Object;function nc(e){return!!(Se(e)&&e.effect)}function rc(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function u(){!a&&(process.env.NODE_ENV==="production"||!r)&&(n.state.value[e]=o?o():{});const c=process.env.NODE_ENV!=="production"&&r?ka(ge(o?o():{}).value):ka(n.state.value[e]);return bt(c,s,Object.keys(i||{}).reduce((f,h)=>(process.env.NODE_ENV!=="production"&&h in c&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${h}" in store "${e}".`),f[h]=Jn(se(()=>{Xo(n);const g=n._s.get(e);return i[h].call(g,g)})),f),{}))}return l=xi(e,u,t,n,r,!0),l}function xi(e,t,n={},r,o,s){let i;const a=bt({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!r._e.active)throw new Error("Pinia destroyed");const l={deep:!0};process.env.NODE_ENV!=="production"&&(l.onTrigger=O=>{u?g=O:u==!1&&!P._hotUpdating&&(Array.isArray(g)?g.push(O):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let u,c,f=[],h=[],g;const y=r.state.value[e];!s&&!y&&(process.env.NODE_ENV==="production"||!o)&&(r.state.value[e]={});const p=ge({});let v;function S(O){let w;u=c=!1,process.env.NODE_ENV!=="production"&&(g=[]),typeof O=="function"?(O(r.state.value[e]),w={type:Mr.patchFunction,storeId:e,events:g}):(Ni(r.state.value[e],O),w={type:Mr.patchObject,payload:O,storeId:e,events:g});const N=v=Symbol();or().then(()=>{v===N&&(u=!0)}),c=!0,Gn(f,w,r.state.value[e])}const T=s?function(){const{state:w}=n,N=w?w():{};this.$patch(ee=>{bt(ee,N)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:Uf;function V(){i.stop(),f=[],h=[],r._s.delete(e)}const J=(O,w="")=>{if(tc in O)return O[Bs]=w,O;const N=function(){Xo(r);const ee=Array.from(arguments),H=[],$=[];function R(X){H.push(X)}function M(X){$.push(X)}Gn(h,{args:ee,name:N[Bs],store:P,after:R,onError:M});let A;try{A=O.apply(this&&this.$id===e?this:P,ee)}catch(X){throw Gn($,X),X}return A instanceof Promise?A.then(X=>(Gn(H,X),X)).catch(X=>(Gn($,X),Promise.reject(X))):(Gn(H,A),A)};return N[tc]=!0,N[Bs]=w,N},E=Jn({actions:{},getters:{},state:[],hotState:p}),q={_p:r,$id:e,$onAction:ec.bind(null,h),$patch:S,$reset:T,$subscribe(O,w={}){const N=ec(f,O,w.detached,()=>ee()),ee=i.run(()=>Je(()=>r.state.value[e],H=>{(w.flush==="sync"?c:u)&&O({storeId:e,type:Mr.direct,events:g},H)},bt({},l,w)));return N},$dispose:V},P=cr(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&xr?bt({_hmrPayload:E,_customProperties:Jn(new Set)},q):q);r._s.set(e,P);const F=(r._a&&r._a.runWithContext||W1)(()=>r._e.run(()=>(i=ih()).run(()=>t({action:J}))));for(const O in F){const w=F[O];if(Se(w)&&!nc(w)||xt(w))process.env.NODE_ENV!=="production"&&o?Oo(p.value,O,Co(F,O)):s||(y&&q1(w)&&(Se(w)?w.value=y[O]:Ni(w,y[O])),r.state.value[e][O]=w),process.env.NODE_ENV!=="production"&&E.state.push(O);else if(typeof w=="function"){const N=process.env.NODE_ENV!=="production"&&o?w:J(w,O);F[O]=N,process.env.NODE_ENV!=="production"&&(E.actions[O]=w),a.actions[O]=w}else process.env.NODE_ENV!=="production"&&nc(w)&&(E.getters[O]=s?n.getters[O]:w,xr&&(F._getters||(F._getters=Jn([]))).push(O))}if(bt(P,F),bt(ve(P),F),Object.defineProperty(P,"$state",{get:()=>process.env.NODE_ENV!=="production"&&o?p.value:r.state.value[e],set:O=>{if(process.env.NODE_ENV!=="production"&&o)throw new Error("cannot set hotState");S(w=>{bt(w,O)})}}),process.env.NODE_ENV!=="production"&&(P._hotUpdate=Jn(O=>{P._hotUpdating=!0,O._hmrPayload.state.forEach(w=>{if(w in P.$state){const N=O.$state[w],ee=P.$state[w];typeof N=="object"&&Ln(N)&&Ln(ee)?Bf(N,ee):O.$state[w]=ee}Oo(P,w,Co(O.$state,w))}),Object.keys(P.$state).forEach(w=>{w in O.$state||js(P,w)}),u=!1,c=!1,r.state.value[e]=Co(O._hmrPayload,"hotState"),c=!0,or().then(()=>{u=!0});for(const w in O._hmrPayload.actions){const N=O[w];Oo(P,w,J(N,w))}for(const w in O._hmrPayload.getters){const N=O._hmrPayload.getters[w],ee=s?se(()=>(Xo(r),N.call(P,P))):N;Oo(P,w,ee)}Object.keys(P._hmrPayload.getters).forEach(w=>{w in O._hmrPayload.getters||js(P,w)}),Object.keys(P._hmrPayload.actions).forEach(w=>{w in O._hmrPayload.actions||js(P,w)}),P._hmrPayload=O._hmrPayload,P._getters=O._getters,P._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&xr){const O={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(w=>{Object.defineProperty(P,w,bt({value:P[w]},O))})}return r._p.forEach(O=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&xr){const w=i.run(()=>O({store:P,app:r._a,pinia:r,options:a}));Object.keys(w||{}).forEach(N=>P._customProperties.add(N)),bt(P,w)}else bt(P,i.run(()=>O({store:P,app:r._a,pinia:r,options:a})))}),process.env.NODE_ENV!=="production"&&P.$state&&typeof P.$state=="object"&&typeof P.$state.constructor=="function"&&!P.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
43
43
|
state: () => new MyClass()
|
|
44
|
-
Found in store "${
|
|
44
|
+
Found in store "${P.$id}".`),y&&s&&n.hydrate&&n.hydrate(P.$state,y),u=!0,c=!0,P}/*! #__NO_SIDE_EFFECTS__ */function G1(e,t,n){let r,o;const s=typeof t=="function";r=e,o=s?n:t;function i(a,l){const u=Qh();if(a=(process.env.NODE_ENV==="test"&&Nr&&Nr._testing?null:a)||(u?pt(z1,null):null),a&&Xo(a),process.env.NODE_ENV!=="production"&&!Nr)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
45
45
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
46
|
-
This will fail in production.`);a=
|
|
46
|
+
This will fail in production.`);a=Nr,a._s.has(r)||(s?xi(r,t,o,a):rc(r,o,a),process.env.NODE_ENV!=="production"&&(i._pinia=a));const c=a._s.get(r);if(process.env.NODE_ENV!=="production"&&l){const f="__hot:"+r,h=s?xi(f,t,o,a,!0):rc(f,bt({},o),a,!0);l._hotUpdate(h),delete a.state.value[f],a._s.delete(f)}if(process.env.NODE_ENV!=="production"&&xr){const f=Lt();if(f&&f.proxy&&!l){const h=f.proxy,g="_pStores"in h?h._pStores:h._pStores={};g[r]=c}}return c}return i.$id=r,i}function Y1(e){{const t=ve(e),n={};for(const r in t){const o=t[r];o.effect?n[r]=se({get:()=>e[r],set(s){e[r]=s}}):(Se(o)||xt(o))&&(n[r]=Co(e,r))}return n}}const Us="__YC_COMPONENT_AI_DIALOG__",Si="yc-component:ai-dialog-open";function J1(){const e=globalThis;return e[Us]||(e[Us]=cr({visible:!1,options:{}})),e[Us]}const Bt=J1();function _s(e={}){Bt.options={...e},Bt.visible=!0,globalThis.dispatchEvent(new CustomEvent(Si,{detail:{...e}}))}function pa(){Bt.visible=!1}function X1(e={}){_s(e)}function Hf(e){const{tasks:t,panelVisible:n,panelMinimized:r,dialogVisible:o,runningCount:s,activeCount:i,panelTitle:a,panelSubtitle:l}=Y1(e);return{tasks:t,panelVisible:n,panelMinimized:r,dialogVisible:o,runningCount:s,activeCount:i,panelTitle:a,panelSubtitle:l,openUseDialog:u=>{_s(u??{}),e.openDialog(u??{})},closeUseDialog:()=>e.closeDialog(),openTaskPanel:()=>e.showPanel(),hideTaskPanel:()=>e.hidePanel(),togglePanelMinimize:()=>e.toggleMinimize(),submitTask:u=>e.enqueue(u),cancelTask:u=>e.cancelTask(u),cancelAll:()=>e.cancelAll(),clearFinished:()=>e.clearFinished(),removeTask:u=>e.removeTask(u),loadTaskResult:u=>e.loadTaskResult(u),refreshTasks:()=>e.refreshActiveTasks(),onTaskFinish:u=>e.onTaskFinish(u)}}const Z1="__YC_AI_TASK_CTX_KEY__",Q1="__YC_AI_TASK_STORE_KEY__";function zf(e){const t=globalThis;return t[e]||(t[e]=Symbol(e)),t[e]}const Wf=zf(Z1),Kf=zf(Q1),ey=async e=>(await ar().post("/yc-ai/workflows/runs",e)).data,qf=async e=>(await ar().get(`/yc-ai/workflows/runs/${e}`)).data,ty=e=>ar().post(`/yc-ai/workflows/runs/${e}/cancel`),ny=(e,t)=>ar().post(`/yc-ai/workflows/runs/${e}/client-continue`,t);async function Ci(e,t){return Kp(e,t)}function ry(e,t){const n=e.trim();if(!n)return t;let r;try{n.includes("function")?r=new Function("result",`
|
|
47
47
|
${n}
|
|
48
48
|
if (typeof handler === 'function') return handler(result);
|
|
49
49
|
throw new Error('请定义 function handler(result) { ... }');
|
|
50
|
-
`):r=new Function("result",`return (${n})(result);`)}catch(o){throw new Error(`自定义脚本语法错误: ${o instanceof Error?o.message:String(o)}`)}try{return r(t)}catch(o){throw new Error(`自定义脚本执行失败: ${o instanceof Error?o.message:String(o)}`)}}async function ny(e){return(await Z1({projectId:td(),freeText:e.freeText,promptId:e.promptId,autoMatch:e.autoMatch})).runId}async function ry(e,t){var r,o,s,i;const n=await qf(e);if(n.status==="WAITING_CLIENT"&&n.waitingStepKey&&n.waitingClientScript){(r=t==null?void 0:t.onProgress)==null||r.call(t,60,`执行脚本:${n.waitingStepKey}`);let a={};n.waitingArtifactId&&(a=await Si(e,n.waitingArtifactId));const l=ty(n.waitingClientScript,a);return await ey(e,{stepKey:n.waitingStepKey,output:l??{}}),null}if(n.status==="SUCCEEDED"){if(n.finalArtifactId){(o=t==null?void 0:t.onProgress)==null||o.call(t,95,"加载结果…");const a=await Si(e,n.finalArtifactId);return(s=t==null?void 0:t.onProgress)==null||s.call(t,100,"已完成"),{phase:"SUCCEEDED",runId:e,result:a}}return{phase:"SUCCEEDED",runId:e,result:{}}}return n.status==="FAILED"?{phase:"FAILED",runId:e,errorMessage:n.errorMessage||"工作流失败"}:n.status==="CANCELLED"?{phase:"FAILED",runId:e,errorMessage:"已取消"}:((i=t==null?void 0:t.onProgress)==null||i.call(t,iy(n),ay(n)),null)}async function oy(e){const t=await qf(e);return t.status!=="SUCCEEDED"||!t.finalArtifactId?null:await Si(e,t.finalArtifactId)}async function sy(e){await Q1(e)}function iy(e){if(e.status==="PENDING")return 8;const t=e.steps??[];if(!t.length)return 35;const n=t.filter(r=>r.status==="SUCCEEDED"||r.status==="SKIPPED").length;return Math.min(90,Math.round(20+n/t.length*70))}function ay(e){var n;if(e.status==="PENDING")return"排队中…";const t=(n=e.steps)==null?void 0:n.find(r=>r.status==="RUNNING");return t?`执行中:${t.stepKey}`:"后端处理中…"}const Gf=80;function ly(){try{const e=localStorage.getItem(sc());if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t.filter(n=>n&&n.id&&n.createdAt).sort((n,r)=>r.createdAt-n.createdAt).slice(0,Gf):[]}catch{return[]}}function cy(e){const t=e.slice(0,Gf).map(n=>({id:n.id,title:n.title,freeText:n.freeText,promptId:n.promptId,autoMatch:n.autoMatch,status:n.status,progress:n.progress,summary:n.summary,runId:n.runId,errorMessage:n.errorMessage,createdAt:n.createdAt,finishedAt:n.finishedAt}));localStorage.setItem(sc(),JSON.stringify(t))}function uy(e){return{...e,logs:e.runId?[`ℹ 已从本地恢复,runId=${e.runId}`]:[],result:void 0}}function ln(e){return e==="pending"||e==="running"}let xi=0,_r=null;const fy=5e3;function dy(){return xi+=1,`ai_task_${Date.now()}_${xi}`}function py(e,t=28){const n=e.trim();return n.length<=t?n:`${n.slice(0,t)}…`}const da=K1("ycAiTask",()=>{const e=de([]),t=de(!1),n=de(!1),r=de(!1),o=de({}),s=de(!1),i=new Set,a=new Map,l=new Set;function u(E,H){return{taskId:E.id,runId:E.runId,title:E.title,freeText:E.freeText,promptId:E.promptId,result:H,finishedAt:E.finishedAt??Date.now()}}function c(E,H){var we;const q=e.value.find(me=>me.id===E);if(!(q!=null&&q.runId))return;const re=u(q,H);(we=a.get(E))==null||we(re),a.delete(E),l.forEach(me=>me(re))}function f(E){return l.add(E),()=>l.delete(E)}const h=oe(()=>e.value.filter(E=>ln(E.status)).length),g=oe(()=>e.value.filter(E=>E.status==="running").length),b=oe(()=>h.value>0?"AI 处理中":e.value.some(E=>E.status==="failed")?"部分任务失败":"AI 任务"),p=oe(()=>{const E=e.value.length,H=h.value;return E===0?"暂无任务":H>0?`${H}/${E} 项任务进行中`:`${E} 项任务已完成`});function v(){cy(e.value)}function C(E,H){const q=e.value.findIndex(re=>re.id===E);q>=0&&(e.value[q]={...e.value[q],...H},v())}function T(E,H){const q=e.value.find(re=>re.id===E);q&&(q.logs.unshift(H),q.logs.length>20&&q.logs.pop())}function k(){t.value=!0,n.value=!1}function Y(){t.value=!1}function N(){n.value=!n.value}function K(E={}){o.value={...E},r.value=!0,gs(E)}function $(){r.value=!1,fa()}function ne(){_r||(_r=setInterval(()=>{x()},fy))}function R(){h.value>0||_r&&(clearInterval(_r),_r=null)}async function x(){const E=e.value.filter(H=>H.runId&&ln(H.status));if(!E.length){R();return}await Promise.all(E.map(H=>y(H.id)))}async function y(E){if(i.has(E))return;const H=e.value.find(q=>q.id===E);if(!(!(H!=null&&H.runId)||!ln(H.status))){i.add(E);try{const q=await ry(H.runId,{onProgress:(re,we)=>C(E,{progress:re,summary:we,status:"running"})});if(!q)return;if(q.phase==="SUCCEEDED"){const re=q.result??{};C(E,{status:"succeeded",progress:100,summary:"已完成",result:re,runId:q.runId,finishedAt:Date.now()}),c(E,re)}else C(E,{status:q.errorMessage==="已取消"?"cancelled":"failed",progress:100,summary:q.errorMessage||"失败",errorMessage:q.errorMessage,runId:q.runId,finishedAt:Date.now()});R()}catch(q){const re=q instanceof Error?q.message:"同步失败";T(E,`✗ ${re}`)}finally{i.delete(E)}}}async function A(){if(s.value)return;s.value=!0;const E=ly();E.length&&(e.value=E.map(uy),xi=E.length);const H=e.value.filter(q=>q.runId&&ln(q.status));H.length&&(await Promise.all(H.map(q=>y(q.id))),ne());for(const q of e.value)q.status==="pending"&&!q.runId&&C(q.id,{status:"failed",summary:"页面刷新前未提交成功",finishedAt:Date.now()})}function te(E){const H=dy(),q={id:H,title:E.title??py(E.freeText),freeText:E.freeText.trim(),promptId:E.promptId,autoMatch:E.autoMatch,status:"pending",progress:0,summary:"正在提交…",createdAt:Date.now(),logs:[]};return e.value.unshift(q),v(),E.onFinish&&a.set(H,E.onFinish),E.showPanel!==!1&&k(),j(H),H}async function j(E){const H=e.value.find(q=>q.id===E);if(H)try{const q=await ny({freeText:H.freeText,promptId:H.promptId,autoMatch:H.autoMatch});C(E,{runId:q,status:"running",progress:10,summary:"后端异步处理中…"}),T(E,`▶ 已提交 runId=${q}`),ne(),y(E)}catch(q){const re=q instanceof Error?q.message:"提交失败";C(E,{status:"failed",progress:100,summary:re,errorMessage:re,finishedAt:Date.now()})}}async function I(E){const H=e.value.find(re=>re.id===E);if(!(H!=null&&H.runId))return null;if(H.result)return H.result;const q=await oy(H.runId);return q&&C(E,{result:q}),q}async function D(E){const H=e.value.find(q=>q.id===E);if(H!=null&&H.runId&&ln(H.status))try{await sy(H.runId)}catch{}H&&ln(H.status)&&C(E,{status:"cancelled",summary:"已取消",finishedAt:Date.now()}),a.delete(E),R()}function B(){for(const E of e.value)ln(E.status)&&D(E.id)}function P(){e.value=e.value.filter(E=>ln(E.status)),v()}function X(E){D(E),a.delete(E),e.value=e.value.filter(H=>H.id!==E),v()}return{tasks:e,panelVisible:t,panelMinimized:n,dialogVisible:r,dialogOptions:o,hydrated:s,runningCount:h,activeCount:g,panelTitle:b,panelSubtitle:p,hydrate:A,showPanel:k,hidePanel:Y,toggleMinimize:N,openDialog:K,closeDialog:$,enqueue:te,onTaskFinish:f,refreshActiveTasks:x,loadTaskResult:I,cancelTask:D,cancelAll:B,clearFinished:P,removeTask:X}});async function Yf(e){return(await ir().get("/yc-ai/ai/prompts",{params:e?{category:e}:{}})).data}function pa(){const e=dt(Kf,null);return e||da()}const hy={class:"ai-use-dialog__footer"},my={class:"ai-use-dialog__footer-actions"},gy=De({__name:"AiUseDialog",props:{title:{default:"AI 生成"},freeText:{default:""},promptId:{},autoMatch:{type:Boolean,default:!1},prompts:{},showAutoMatch:{type:Boolean,default:!1},showPromptSelect:{type:Boolean,default:!1},autoMatchLabel:{default:"自动匹配提示词"},promptLabel:{default:"提示词"},freeTextLabel:{default:"需求描述"},freeTextPlaceholder:{default:"描述要生成的页面或项目 JSON"},submitText:{default:"发送"},showTaskListButton:{type:Boolean,default:!0},taskListButtonText:{default:"查看 AI 任务"},width:{default:"520px"},modelValue:{type:Boolean},showDialog:{type:Boolean}},emits:["update:modelValue","submitted"],setup(e,{emit:t}){const n=e,r=t,o=pa(),s=oe(()=>n.modelValue!==void 0),i=de(!1);Xe(()=>n.modelValue,N=>{s.value&&(i.value=!!N)},{immediate:!0}),Xe(i,N=>{if(s.value){r("update:modelValue",N);return}Bt.visible=N,N||fa()}),Xe(()=>Bt.visible,N=>{s.value||(i.value=N)},{immediate:!0});function a(N){if(s.value)return;const K=N.detail??{};b(K),i.value=!0}Ln(()=>{globalThis.addEventListener(Ni,a),s.value||(i.value=Bt.visible)}),so(()=>{globalThis.removeEventListener(Ni,a)});const l=oe(()=>(s.value?void 0:Bt.options.title)??n.title??"AI 生成"),u=de({freeText:n.freeText,promptId:n.promptId,autoMatch:n.autoMatch}),c=de(n.prompts?[...n.prompts]:[]),f=de(!1),h=de(!1),g=de();function b(N){var K,$;u.value.freeText=N.freeText??n.freeText??"",u.value.promptId=N.promptId??n.promptId,u.value.autoMatch=N.autoMatch??n.autoMatch??!1,g.value=N.onFinish,(K=N.prompts)!=null&&K.length?c.value=[...N.prompts]:($=n.prompts)!=null&&$.length&&(c.value=[...n.prompts])}async function p(){if(!(c.value.length>0)){f.value=!0;try{const N=Ti().listPrompts;c.value=N?await N():await Yf()}catch{Et.warning("加载提示词失败")}finally{f.value=!1}}}function v(){s.value?b({}):b(Bt.options),n.showPromptSelect&&p()}Xe(()=>n.prompts,N=>{N!=null&&N.length&&(c.value=[...N])},{deep:!0}),Xe(()=>[n.freeText,n.promptId,n.autoMatch],([N,K,$])=>{i.value||(u.value.freeText=N??"",u.value.promptId=K,u.value.autoMatch=$??!1)});function C(){u.value.autoMatch&&(u.value.promptId=void 0)}function T(){h.value=!1}function k(){o.showPanel()}async function Y(){var R,x;if(!u.value.freeText.trim()){Et.warning("请填写需求描述");return}const N=u.value.autoMatch,K=N?void 0:u.value.promptId;if(!N&&K==null){const y=n.showPromptSelect||n.showAutoMatch?"请选择提示词或开启自动匹配":"请通过 promptId 传入提示词,或设置 autoMatch 为 true";Et.warning(y);return}h.value=!0;const $=s.value?g.value:Bt.options.onFinish,ne=o.enqueue({freeText:u.value.freeText.trim(),promptId:K,autoMatch:N&&K==null?!0:void 0,showPanel:!0,onFinish:$});s.value?r("submitted",ne):(x=(R=Bt.options).onSubmitted)==null||x.call(R,ne),i.value=!1,h.value=!1,Et.success("已加入任务队列,可在任务面板查看进度")}return(N,K)=>{const $=Ie("el-switch"),ne=Ie("el-form-item"),R=Ie("el-option"),x=Ie("el-select"),y=Ie("el-input"),A=Ie("el-form"),te=Ie("el-button"),j=Ie("el-dialog");return G(),Ee(j,{modelValue:i.value,"onUpdate:modelValue":K[4]||(K[4]=I=>i.value=I),title:l.value,width:e.width,"append-to-body":"",class:"ai-use-dialog",onClosed:T,onOpen:v},{footer:le(()=>[se("div",hy,[e.showTaskListButton?(G(),Ee(te,{key:0,link:"",type:"primary",onClick:k},{default:le(()=>[Ye(Ae(e.taskListButtonText),1)]),_:1})):Oe("",!0),se("div",my,[ee(te,{onClick:K[3]||(K[3]=I=>i.value=!1)},{default:le(()=>[...K[5]||(K[5]=[Ye("取消",-1)])]),_:1}),ee(te,{type:"primary",loading:h.value,onClick:Y},{default:le(()=>[Ye(Ae(e.submitText),1)]),_:1},8,["loading"])])])]),default:le(()=>[ee(A,{"label-position":"top"},{default:le(()=>[e.showAutoMatch?(G(),Ee(ne,{key:0,label:e.autoMatchLabel},{default:le(()=>[ee($,{modelValue:u.value.autoMatch,"onUpdate:modelValue":K[0]||(K[0]=I=>u.value.autoMatch=I),"active-text":"按需求自动选","inactive-text":"手动指定",onChange:C},null,8,["modelValue"])]),_:1},8,["label"])):Oe("",!0),e.showPromptSelect?(G(),Ee(ne,{key:1,label:e.promptLabel,required:!u.value.autoMatch},{default:le(()=>[ee(x,{modelValue:u.value.promptId,"onUpdate:modelValue":K[1]||(K[1]=I=>u.value.promptId=I),filterable:"",clearable:"",placeholder:u.value.autoMatch?"留空则自动匹配":"请选择提示词",style:{width:"100%"},loading:f.value},{default:le(()=>[(G(!0),fe(Ve,null,Ar(c.value,I=>(G(),Ee(R,{key:I.id,label:I.name,value:I.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder","loading"])]),_:1},8,["label","required"])):Oe("",!0),ee(ne,{label:e.freeTextLabel,required:""},{default:le(()=>[ee(y,{modelValue:u.value.freeText,"onUpdate:modelValue":K[2]||(K[2]=I=>u.value.freeText=I),type:"textarea",rows:4,placeholder:e.freeTextPlaceholder},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1})]),_:1},8,["modelValue","title","width"])}}}),ha=hs(gy,[["__scopeId","data-v-9aa82e83"]]),vy={class:"ai-task-panel"},_y={class:"ai-task-panel__header"},yy={class:"ai-task-panel__header-left"},wy={class:"ai-task-panel__titles"},by={class:"ai-task-panel__subtitle"},Ey={class:"ai-task-panel__title"},Oy={class:"ai-task-panel__header-actions"},Ny={class:"ai-task-panel__body"},Sy={key:1,class:"ai-task-list"},xy={class:"ai-task-row__icon"},Cy={class:"ai-task-row__main"},Ty={class:"ai-task-row__title"},Ay={class:"ai-task-row__meta"},Dy={key:0},Py={key:0,class:"ai-task-row__summary"},$y={class:"ai-task-row__ops"},Iy={key:0,class:"ai-task-panel__footer"},My=De({__name:"AiTaskPanel",emits:["use"],setup(e,{emit:t}){const n=t,r=pa(),o=de(null),s={pending:"等待中",running:"执行中",succeeded:"已完成",failed:"失败",cancelled:"已取消"};function i(l){return s[l]??l}async function a(l){o.value=l.id;try{const u=l.result??await r.loadTaskResult(l.id);if(!u)return;n("use",{taskId:l.id,runId:l.runId,title:l.title,freeText:l.freeText,promptId:l.promptId,result:u,finishedAt:l.finishedAt??Date.now()})}finally{o.value=null}}return(l,u)=>{const c=Ie("el-icon"),f=Ie("el-button"),h=Ie("el-empty"),g=Ie("el-progress"),b=Ie("el-badge");return G(),Ee(i0,{to:"body"},[ee(fs,{name:"ai-panel-slide"},{default:le(()=>[or(se("div",vy,[se("div",_y,[se("div",yy,[se("div",{class:Je(["ai-task-panel__icon",{spinning:Q(r).activeCount>0}])},[ee(c,null,{default:le(()=>[ee(Q(Yl))]),_:1})],2),se("div",wy,[se("div",by,Ae(Q(r).panelSubtitle),1),se("div",Ey,Ae(Q(r).panelTitle),1)])]),se("div",Oy,[Q(r).runningCount>0?(G(),Ee(f,{key:0,link:"",type:"primary",onClick:u[0]||(u[0]=p=>Q(r).cancelAll())},{default:le(()=>[...u[5]||(u[5]=[Ye(" 取消全部 ",-1)])]),_:1})):Oe("",!0),ee(f,{link:"",onClick:u[1]||(u[1]=p=>Q(r).toggleMinimize())},{default:le(()=>[ee(c,null,{default:le(()=>[ee(Q(r2))]),_:1})]),_:1}),ee(f,{link:"",onClick:u[2]||(u[2]=p=>Q(r).hidePanel())},{default:le(()=>[ee(c,null,{default:le(()=>[ee(Q(aa))]),_:1})]),_:1})])]),se("div",Ny,[Q(r).tasks.length?(G(),fe("div",Sy,[(G(!0),fe(Ve,null,Ar(Q(r).tasks,p=>(G(),fe("div",{key:p.id,class:"ai-task-row"},[se("div",xy,[p.status==="succeeded"?(G(),Ee(c,{key:0,class:"ok"},{default:le(()=>[ee(Q(u2))]),_:1})):p.status==="failed"?(G(),Ee(c,{key:1,class:"err"},{default:le(()=>[ee(Q(p2))]),_:1})):p.status==="running"||p.status==="pending"?(G(),Ee(g,{key:2,type:"circle",percentage:p.progress,width:36,"stroke-width":3},null,8,["percentage"])):(G(),Ee(c,{key:3,class:"muted"},{default:le(()=>[ee(Q(_2))]),_:1}))]),se("div",Cy,[se("div",Ty,Ae(p.title),1),se("div",Ay,[se("span",null,Ae(i(p.status)),1),p.runId?(G(),fe("span",Dy," · #"+Ae(p.runId),1)):Oe("",!0)]),p.summary?(G(),fe("div",Py,Ae(p.summary),1)):Oe("",!0)]),se("div",$y,[p.status==="running"||p.status==="pending"?(G(),Ee(f,{key:0,link:"",type:"danger",size:"small",onClick:v=>Q(r).cancelTask(p.id)},{default:le(()=>[...u[6]||(u[6]=[Ye(" 取消 ",-1)])]),_:1},8,["onClick"])):Oe("",!0),p.status==="succeeded"&&p.runId?(G(),Ee(f,{key:1,link:"",type:"primary",size:"small",loading:o.value===p.id,onClick:v=>a(p)},{default:le(()=>[...u[7]||(u[7]=[Ye(" 使用 ",-1)])]),_:1},8,["loading","onClick"])):Oe("",!0),p.status!=="running"&&p.status!=="pending"?(G(),Ee(f,{key:2,link:"",size:"small",onClick:v=>Q(r).removeTask(p.id)},{default:le(()=>[...u[8]||(u[8]=[Ye(" 移除 ",-1)])]),_:1},8,["onClick"])):Oe("",!0)])]))),128))])):(G(),Ee(h,{key:0,description:"暂无 AI 任务","image-size":64}))]),Q(r).tasks.some(p=>p.status!=="running"&&p.status!=="pending")?(G(),fe("div",Iy,[ee(f,{link:"",type:"info",onClick:u[3]||(u[3]=p=>Q(r).clearFinished())},{default:le(()=>[...u[9]||(u[9]=[Ye("清除已完成",-1)])]),_:1})])):Oe("",!0)],512),[[Ko,Q(r).panelVisible&&!Q(r).panelMinimized]])]),_:1}),or(se("div",{class:"ai-task-panel-mini",onClick:u[4]||(u[4]=p=>Q(r).toggleMinimize())},[Q(r).activeCount>0?(G(),Ee(c,{key:0,class:"spinning"},{default:le(()=>[ee(Q(Yl))]),_:1})):Oe("",!0),se("span",null,Ae(Q(r).panelSubtitle),1),Q(r).runningCount>0?(G(),Ee(b,{key:1,value:Q(r).runningCount,class:"m-l-8"},null,8,["value"])):Oe("",!0)],512),[[Ko,Q(r).panelVisible&&Q(r).panelMinimized]])])}}}),ma=hs(My,[["__scopeId","data-v-812b3127"]]),Jf=De({__name:"AiTaskProvider",props:{title:{},freeText:{},promptId:{},autoMatch:{type:Boolean},prompts:{},showAutoMatch:{type:Boolean},showPromptSelect:{type:Boolean},autoMatchLabel:{},promptLabel:{},freeTextLabel:{},freeTextPlaceholder:{},submitText:{},showTaskListButton:{type:Boolean},taskListButtonText:{},width:{},modelValue:{type:Boolean},showDialog:{type:Boolean,default:!0}},emits:["finish","use"],setup(e,{emit:t}){const n=e,r=t,o=da();kr(Kf,o),kr(Wf,Hf(o));const s=oe(()=>{const l={title:n.title,freeText:n.freeText,promptId:n.promptId,autoMatch:n.autoMatch,prompts:n.prompts,showAutoMatch:n.showAutoMatch,showPromptSelect:n.showPromptSelect,autoMatchLabel:n.autoMatchLabel,promptLabel:n.promptLabel,freeTextLabel:n.freeTextLabel,freeTextPlaceholder:n.freeTextPlaceholder,submitText:n.submitText,showTaskListButton:n.showTaskListButton,taskListButtonText:n.taskListButtonText,width:n.width};return n.modelValue!==void 0&&(l.modelValue=n.modelValue),l});let i;function a(l){r("use",l)}return Ln(()=>{o.hydrate(),i=o.onTaskFinish(l=>r("finish",l))}),so(()=>{i==null||i()}),(l,u)=>(G(),fe(Ve,null,[e.showDialog!==!1?(G(),Ee(ha,Ic(ao({key:0},s.value)),null,16)):Oe("",!0),ee(ma,{onUse:a}),en(l.$slots,"default")],64))}});function Vy(){const e=dt(Wf,null);return e||Hf(pa())}function Xf(){const e=de(!1),t=de({});let n=null;function r(a){n==null||n.resolve(a),n=null}function o(){n==null||n.reject(new Kr),n=null}function s(a={}){n&&(n.reject(new Kr),n=null);const l=new Promise((u,c)=>{n={resolve:u,reject:c}});return t.value={...a},e.value=!0,l}function i(){e.value=!1}return{dialogVisible:e,dialogOptions:t,openImageSelector:s,closeImageSelector:i,settlePendingConfirm:r,settlePendingCancel:o}}const Ry="__YC_IMAGE_SELECTOR_CTX_KEY__";function Ly(e){const t=globalThis;return t[e]||(t[e]=Symbol(e)),t[e]}const ga=Ly(Ry),Zf=De({__name:"YcImageSelectorProvider",props:{modelValue:{type:[Boolean,null]},title:{default:"选择图片"},multiple:{type:Boolean,default:!1},maxCount:{default:9},selected:{},width:{default:"860px"},pageSize:{default:8},showUpload:{type:Boolean,default:!0},accept:{default:"image/*"},showCategories:{type:Boolean,default:!1},categories:{},categoryAllLabel:{default:"全部"},showModeSwitch:{type:Boolean,default:!1},confirmOnSelect:{type:Boolean,default:!1},confirmText:{default:"确定"},cancelText:{default:"取消"},emptyText:{default:"暂无图片资源"},renderEmpty:{},getImages:{},upload:{},urlField:{default:"url"},showDialog:{type:Boolean,default:!0}},setup(e,{expose:t}){const n=e,r=Xf(),{dialogVisible:o,dialogOptions:s,openImageSelector:i,closeImageSelector:a,settlePendingConfirm:l,settlePendingCancel:u}=r;kr(ga,r);function c(b,p){return b in s.value?s.value[b]:p}const f=oe(()=>({title:c("title",n.title),multiple:c("multiple",n.multiple),maxCount:c("maxCount",n.maxCount),selected:c("selected",n.selected),width:n.width,pageSize:n.pageSize,showUpload:n.showUpload,accept:n.accept,showCategories:c("showCategories",n.showCategories),categories:c("categories",n.categories),categoryAllLabel:c("categoryAllLabel",n.categoryAllLabel),showModeSwitch:c("showModeSwitch",n.showModeSwitch),confirmOnSelect:c("confirmOnSelect",n.confirmOnSelect),confirmText:n.confirmText,cancelText:n.cancelText,emptyText:n.emptyText,renderEmpty:n.renderEmpty,getImages:n.getImages,upload:n.upload,urlField:n.urlField}));function h(b){var p,v;(v=(p=s.value).onConfirm)==null||v.call(p,b),l(b),a()}function g(){var b,p;(p=(b=s.value).onCancel)==null||p.call(b),u(),a()}return t({openImageSelector:i,closeImageSelector:a}),(b,p)=>(G(),fe(Ve,null,[e.showDialog!==!1?(G(),Ee(ms,ao({key:0,modelValue:Q(o),"onUpdate:modelValue":p[0]||(p[0]=v=>xe(o)?o.value=v:null)},f.value,{onConfirm:h,onCancel:g}),null,16,["modelValue"])):Oe("",!0),en(b.$slots,"default")],64))}});function Fy(){const e=dt(ga,null);return e?{openImageSelector:(t={})=>e.openImageSelector(t),closeImageSelector:()=>e.closeImageSelector()}:{openImageSelector:ua,closeImageSelector:ca}}exports.AiTaskPanel=ma;exports.AiTaskProvider=Jf;exports.AiUseDialog=ha;exports.IMAGE_SELECTOR_INJECT_KEY=ga;exports.ImageSelectorAuthError=wi;exports.ImageSelectorCancelledError=Kr;exports.ImageSelectorDialog=ms;exports.ImageSelectorProvider=Zf;exports.SkyPageWindow=Go;exports.YcAiTaskPanel=ma;exports.YcAiTaskProvider=Jf;exports.YcAiUseDialog=ha;exports.YcComponent=jf;exports.YcImageSelectorDialog=ms;exports.YcImageSelectorProvider=Zf;exports.YcPageWindow=Go;exports.closeImageSelector=ca;exports.createImageSelectorApi=Xf;exports.default=jf;exports.fetchImages=Rf;exports.getAiTaskConfig=Ti;exports.getImageSelectorConfig=Zr;exports.hideAiDialog=fa;exports.hideImageSelectorDialog=la;exports.installImageSelector=Ff;exports.installYcComponent=kf;exports.listPrompts=Yf;exports.openAiUseDialog=Y1;exports.openImageSelector=ua;exports.setAiTaskConfig=oc;exports.setImageSelectorConfig=Tc;exports.showAiDialog=gs;exports.showImageSelectorDialog=Mf;exports.uploadImage=Lf;exports.useAiTask=Vy;exports.useAiTaskStore=da;exports.useImageSelector=Fy;
|
|
50
|
+
`):r=new Function("result",`return (${n})(result);`)}catch(o){throw new Error(`自定义脚本语法错误: ${o instanceof Error?o.message:String(o)}`)}try{return r(t)}catch(o){throw new Error(`自定义脚本执行失败: ${o instanceof Error?o.message:String(o)}`)}}async function oy(e){return(await ey({projectId:td(),freeText:e.freeText,promptId:e.promptId,autoMatch:e.autoMatch})).runId}async function sy(e,t){var r,o,s,i;const n=await qf(e);if(n.status==="WAITING_CLIENT"&&n.waitingStepKey&&n.waitingClientScript){(r=t==null?void 0:t.onProgress)==null||r.call(t,60,`执行脚本:${n.waitingStepKey}`);let a={};n.waitingArtifactId&&(a=await Ci(e,n.waitingArtifactId));const l=ry(n.waitingClientScript,a);return await ny(e,{stepKey:n.waitingStepKey,output:l??{}}),null}if(n.status==="SUCCEEDED"){if(n.finalArtifactId){(o=t==null?void 0:t.onProgress)==null||o.call(t,95,"加载结果…");const a=await Ci(e,n.finalArtifactId);return(s=t==null?void 0:t.onProgress)==null||s.call(t,100,"已完成"),{phase:"SUCCEEDED",runId:e,result:a}}return{phase:"SUCCEEDED",runId:e,result:{}}}return n.status==="FAILED"?{phase:"FAILED",runId:e,errorMessage:n.errorMessage||"工作流失败"}:n.status==="CANCELLED"?{phase:"FAILED",runId:e,errorMessage:"已取消"}:((i=t==null?void 0:t.onProgress)==null||i.call(t,ly(n),cy(n)),null)}async function iy(e){const t=await qf(e);return t.status!=="SUCCEEDED"||!t.finalArtifactId?null:await Ci(e,t.finalArtifactId)}async function ay(e){await ty(e)}function ly(e){if(e.status==="PENDING")return 8;const t=e.steps??[];if(!t.length)return 35;const n=t.filter(r=>r.status==="SUCCEEDED"||r.status==="SKIPPED").length;return Math.min(90,Math.round(20+n/t.length*70))}function cy(e){var n;if(e.status==="PENDING")return"排队中…";const t=(n=e.steps)==null?void 0:n.find(r=>r.status==="RUNNING");return t?`执行中:${t.stepKey}`:"后端处理中…"}const Gf=80;function uy(){try{const e=localStorage.getItem(sc());if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t.filter(n=>n&&n.id&&n.createdAt).sort((n,r)=>r.createdAt-n.createdAt).slice(0,Gf):[]}catch{return[]}}function fy(e){const t=e.slice(0,Gf).map(n=>({id:n.id,title:n.title,freeText:n.freeText,promptId:n.promptId,autoMatch:n.autoMatch,status:n.status,progress:n.progress,summary:n.summary,runId:n.runId,errorMessage:n.errorMessage,createdAt:n.createdAt,finishedAt:n.finishedAt}));localStorage.setItem(sc(),JSON.stringify(t))}function dy(e){return{...e,logs:e.runId?[`ℹ 已从本地恢复,runId=${e.runId}`]:[],result:void 0}}function ln(e){return e==="pending"||e==="running"}let Ti=0,yr=null;const py=5e3;function hy(){return Ti+=1,`ai_task_${Date.now()}_${Ti}`}function my(e,t=28){const n=e.trim();return n.length<=t?n:`${n.slice(0,t)}…`}const ha=G1("ycAiTask",()=>{const e=ge([]),t=ge(!1),n=ge(!1),r=ge(!1),o=ge({}),s=ge(!1),i=new Set,a=new Map,l=new Set;function u(b,U){return{taskId:b.id,runId:b.runId,title:b.title,freeText:b.freeText,promptId:b.promptId,result:U,finishedAt:b.finishedAt??Date.now()}}function c(b,U){var Ee;const G=e.value.find(xe=>xe.id===b);if(!(G!=null&&G.runId))return;const re=u(G,U);(Ee=a.get(b))==null||Ee(re),a.delete(b),l.forEach(xe=>xe(re))}function f(b){return l.add(b),()=>l.delete(b)}const h=se(()=>e.value.filter(b=>ln(b.status)).length),g=se(()=>e.value.filter(b=>b.status==="running").length),y=se(()=>h.value>0?"AI 处理中":e.value.some(b=>b.status==="failed")?"部分任务失败":"AI 任务"),p=se(()=>{const b=e.value.length,U=h.value;return b===0?"暂无任务":U>0?`${U}/${b} 项任务进行中`:`${b} 项任务已完成`});function v(){fy(e.value)}function S(b,U){const G=e.value.findIndex(re=>re.id===b);G>=0&&(e.value[G]={...e.value[G],...U},v())}function T(b,U){const G=e.value.find(re=>re.id===b);G&&(G.logs.unshift(U),G.logs.length>20&&G.logs.pop())}function V(){t.value=!0,n.value=!1}function J(){t.value=!1}function E(){n.value=!n.value}function q(b={}){o.value={...b},r.value=!0,_s(b)}function P(){r.value=!1,pa()}function ne(){yr||(yr=setInterval(()=>{O()},py))}function F(){h.value>0||yr&&(clearInterval(yr),yr=null)}async function O(){const b=e.value.filter(U=>U.runId&&ln(U.status));if(!b.length){F();return}await Promise.all(b.map(U=>w(U.id)))}async function w(b){if(i.has(b))return;const U=e.value.find(G=>G.id===b);if(!(!(U!=null&&U.runId)||!ln(U.status))){i.add(b);try{const G=await sy(U.runId,{onProgress:(re,Ee)=>S(b,{progress:re,summary:Ee,status:"running"})});if(!G)return;if(G.phase==="SUCCEEDED"){const re=G.result??{};S(b,{status:"succeeded",progress:100,summary:"已完成",result:re,runId:G.runId,finishedAt:Date.now()}),c(b,re)}else S(b,{status:G.errorMessage==="已取消"?"cancelled":"failed",progress:100,summary:G.errorMessage||"失败",errorMessage:G.errorMessage,runId:G.runId,finishedAt:Date.now()});F()}catch(G){const re=G instanceof Error?G.message:"同步失败";T(b,`✗ ${re}`)}finally{i.delete(b)}}}async function N(){if(s.value)return;s.value=!0;const b=uy();b.length&&(e.value=b.map(dy),Ti=b.length);const U=e.value.filter(G=>G.runId&&ln(G.status));U.length&&(await Promise.all(U.map(G=>w(G.id))),ne());for(const G of e.value)G.status==="pending"&&!G.runId&&S(G.id,{status:"failed",summary:"页面刷新前未提交成功",finishedAt:Date.now()})}function ee(b){const U=hy(),G={id:U,title:b.title??my(b.freeText),freeText:b.freeText.trim(),promptId:b.promptId,autoMatch:b.autoMatch,status:"pending",progress:0,summary:"正在提交…",createdAt:Date.now(),logs:[]};return e.value.unshift(G),v(),b.onFinish&&a.set(U,b.onFinish),b.showPanel!==!1&&V(),H(U),U}async function H(b){const U=e.value.find(G=>G.id===b);if(U)try{const G=await oy({freeText:U.freeText,promptId:U.promptId,autoMatch:U.autoMatch});S(b,{runId:G,status:"running",progress:10,summary:"后端异步处理中…"}),T(b,`▶ 已提交 runId=${G}`),ne(),w(b)}catch(G){const re=G instanceof Error?G.message:"提交失败";S(b,{status:"failed",progress:100,summary:re,errorMessage:re,finishedAt:Date.now()})}}async function $(b){const U=e.value.find(re=>re.id===b);if(!(U!=null&&U.runId))return null;if(U.result)return U.result;const G=await iy(U.runId);return G&&S(b,{result:G}),G}async function R(b){const U=e.value.find(G=>G.id===b);if(U!=null&&U.runId&&ln(U.status))try{await ay(U.runId)}catch{}U&&ln(U.status)&&S(b,{status:"cancelled",summary:"已取消",finishedAt:Date.now()}),a.delete(b),F()}function M(){for(const b of e.value)ln(b.status)&&R(b.id)}function A(){e.value=e.value.filter(b=>ln(b.status)),v()}function X(b){R(b),a.delete(b),e.value=e.value.filter(U=>U.id!==b),v()}return{tasks:e,panelVisible:t,panelMinimized:n,dialogVisible:r,dialogOptions:o,hydrated:s,runningCount:h,activeCount:g,panelTitle:y,panelSubtitle:p,hydrate:N,showPanel:V,hidePanel:J,toggleMinimize:E,openDialog:q,closeDialog:P,enqueue:ee,onTaskFinish:f,refreshActiveTasks:O,loadTaskResult:$,cancelTask:R,cancelAll:M,clearFinished:A,removeTask:X}});async function Yf(e){return(await ar().get("/yc-ai/ai/prompts",{params:e?{category:e}:{}})).data}function ma(){const e=pt(Kf,null);return e||ha()}const gy={class:"ai-use-dialog__footer"},vy={class:"ai-use-dialog__footer-actions"},_y=Pe({__name:"AiUseDialog",props:{title:{default:"AI 生成"},freeText:{default:""},promptId:{},autoMatch:{type:Boolean,default:!1},prompts:{},showAutoMatch:{type:Boolean,default:!1},showPromptSelect:{type:Boolean,default:!1},autoMatchLabel:{default:"自动匹配提示词"},promptLabel:{default:"提示词"},freeTextLabel:{default:"需求描述"},freeTextPlaceholder:{default:"描述要生成的页面或项目 JSON"},submitText:{default:"发送"},showTaskListButton:{type:Boolean,default:!0},taskListButtonText:{default:"查看 AI 任务"},width:{default:"520px"},modelValue:{type:Boolean},showDialog:{type:Boolean}},emits:["update:modelValue","submitted"],setup(e,{emit:t}){const n=e,r=t,o=ma(),s=se(()=>n.modelValue!==void 0),i=ge(!1);Je(()=>n.modelValue,E=>{s.value&&(i.value=!!E)},{immediate:!0}),Je(i,E=>{if(s.value){r("update:modelValue",E);return}Bt.visible=E,E||pa()}),Je(()=>Bt.visible,E=>{s.value||(i.value=E)},{immediate:!0});function a(E){if(s.value)return;const q=E.detail??{};y(q),i.value=!0}Fn(()=>{globalThis.addEventListener(Si,a),s.value||(i.value=Bt.visible)}),io(()=>{globalThis.removeEventListener(Si,a)});const l=se(()=>(s.value?void 0:Bt.options.title)??n.title??"AI 生成"),u=ge({freeText:n.freeText,promptId:n.promptId,autoMatch:n.autoMatch}),c=ge(n.prompts?[...n.prompts]:[]),f=ge(!1),h=ge(!1),g=ge();function y(E){var q,P;u.value.freeText=E.freeText??n.freeText??"",u.value.promptId=E.promptId??n.promptId,u.value.autoMatch=E.autoMatch??n.autoMatch??!1,g.value=E.onFinish,(q=E.prompts)!=null&&q.length?c.value=[...E.prompts]:(P=n.prompts)!=null&&P.length&&(c.value=[...n.prompts])}async function p(){if(!(c.value.length>0)){f.value=!0;try{const E=Di().listPrompts;c.value=E?await E():await Yf()}catch{Et.warning("加载提示词失败")}finally{f.value=!1}}}function v(){s.value?y({}):y(Bt.options),n.showPromptSelect&&p()}Je(()=>n.prompts,E=>{E!=null&&E.length&&(c.value=[...E])},{deep:!0}),Je(()=>[n.freeText,n.promptId,n.autoMatch],([E,q,P])=>{i.value||(u.value.freeText=E??"",u.value.promptId=q,u.value.autoMatch=P??!1)});function S(){u.value.autoMatch&&(u.value.promptId=void 0)}function T(){h.value=!1}function V(){o.showPanel()}async function J(){var F,O;if(!u.value.freeText.trim()){Et.warning("请填写需求描述");return}const E=u.value.autoMatch,q=E?void 0:u.value.promptId;if(!E&&q==null){const w=n.showPromptSelect||n.showAutoMatch?"请选择提示词或开启自动匹配":"请通过 promptId 传入提示词,或设置 autoMatch 为 true";Et.warning(w);return}h.value=!0;const P=s.value?g.value:Bt.options.onFinish,ne=o.enqueue({freeText:u.value.freeText.trim(),promptId:q,autoMatch:E&&q==null?!0:void 0,showPanel:!0,onFinish:P});s.value?r("submitted",ne):(O=(F=Bt.options).onSubmitted)==null||O.call(F,ne),i.value=!1,h.value=!1,Et.success("已加入任务队列,可在任务面板查看进度")}return(E,q)=>{const P=Ve("el-switch"),ne=Ve("el-form-item"),F=Ve("el-option"),O=Ve("el-select"),w=Ve("el-input"),N=Ve("el-form"),ee=Ve("el-button"),H=Ve("el-dialog");return K(),we(H,{modelValue:i.value,"onUpdate:modelValue":q[4]||(q[4]=$=>i.value=$),title:l.value,width:e.width,"append-to-body":"",class:"ai-use-dialog",onClosed:T,onOpen:v},{footer:ue(()=>[oe("div",gy,[e.showTaskListButton?(K(),we(ee,{key:0,link:"",type:"primary",onClick:V},{default:ue(()=>[Ge(De(e.taskListButtonText),1)]),_:1})):Oe("",!0),oe("div",vy,[te(ee,{onClick:q[3]||(q[3]=$=>i.value=!1)},{default:ue(()=>[...q[5]||(q[5]=[Ge("取消",-1)])]),_:1}),te(ee,{type:"primary",loading:h.value,onClick:J},{default:ue(()=>[Ge(De(e.submitText),1)]),_:1},8,["loading"])])])]),default:ue(()=>[te(N,{"label-position":"top"},{default:ue(()=>[e.showAutoMatch?(K(),we(ne,{key:0,label:e.autoMatchLabel},{default:ue(()=>[te(P,{modelValue:u.value.autoMatch,"onUpdate:modelValue":q[0]||(q[0]=$=>u.value.autoMatch=$),"active-text":"按需求自动选","inactive-text":"手动指定",onChange:S},null,8,["modelValue"])]),_:1},8,["label"])):Oe("",!0),e.showPromptSelect?(K(),we(ne,{key:1,label:e.promptLabel,required:!u.value.autoMatch},{default:ue(()=>[te(O,{modelValue:u.value.promptId,"onUpdate:modelValue":q[1]||(q[1]=$=>u.value.promptId=$),filterable:"",clearable:"",placeholder:u.value.autoMatch?"留空则自动匹配":"请选择提示词",style:{width:"100%"},loading:f.value},{default:ue(()=>[(K(!0),he(Le,null,Dr(c.value,$=>(K(),we(F,{key:$.id,label:$.name,value:$.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder","loading"])]),_:1},8,["label","required"])):Oe("",!0),te(ne,{label:e.freeTextLabel,required:""},{default:ue(()=>[te(w,{modelValue:u.value.freeText,"onUpdate:modelValue":q[2]||(q[2]=$=>u.value.freeText=$),type:"textarea",rows:4,placeholder:e.freeTextPlaceholder},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1})]),_:1},8,["modelValue","title","width"])}}}),ga=gs(_y,[["__scopeId","data-v-9aa82e83"]]),yy={class:"ai-task-panel"},wy={class:"ai-task-panel__header"},by={class:"ai-task-panel__header-left"},Ey={class:"ai-task-panel__titles"},Oy={class:"ai-task-panel__subtitle"},Ny={class:"ai-task-panel__title"},xy={class:"ai-task-panel__header-actions"},Sy={class:"ai-task-panel__body"},Cy={key:1,class:"ai-task-list"},Ty={class:"ai-task-row__icon"},Ay={class:"ai-task-row__main"},Dy={class:"ai-task-row__title"},Py={class:"ai-task-row__meta"},$y={key:0},Iy={key:0,class:"ai-task-row__summary"},My={class:"ai-task-row__ops"},Vy={key:0,class:"ai-task-panel__footer"},Ry=Pe({__name:"AiTaskPanel",emits:["use"],setup(e,{emit:t}){const n=t,r=ma(),o=ge(null),s={pending:"等待中",running:"执行中",succeeded:"已完成",failed:"失败",cancelled:"已取消"};function i(l){return s[l]??l}async function a(l){o.value=l.id;try{const u=l.result??await r.loadTaskResult(l.id);if(!u)return;n("use",{taskId:l.id,runId:l.runId,title:l.title,freeText:l.freeText,promptId:l.promptId,result:u,finishedAt:l.finishedAt??Date.now()})}finally{o.value=null}}return(l,u)=>{const c=Ve("el-icon"),f=Ve("el-button"),h=Ve("el-empty"),g=Ve("el-progress"),y=Ve("el-badge");return K(),we(i0,{to:"body"},[te(ps,{name:"ai-panel-slide"},{default:ue(()=>[sr(oe("div",yy,[oe("div",wy,[oe("div",by,[oe("div",{class:Ye(["ai-task-panel__icon",{spinning:Q(r).activeCount>0}])},[te(c,null,{default:ue(()=>[te(Q(Yl))]),_:1})],2),oe("div",Ey,[oe("div",Oy,De(Q(r).panelSubtitle),1),oe("div",Ny,De(Q(r).panelTitle),1)])]),oe("div",xy,[Q(r).runningCount>0?(K(),we(f,{key:0,link:"",type:"primary",onClick:u[0]||(u[0]=p=>Q(r).cancelAll())},{default:ue(()=>[...u[5]||(u[5]=[Ge(" 取消全部 ",-1)])]),_:1})):Oe("",!0),te(f,{link:"",onClick:u[1]||(u[1]=p=>Q(r).toggleMinimize())},{default:ue(()=>[te(c,null,{default:ue(()=>[te(Q(r2))]),_:1})]),_:1}),te(f,{link:"",onClick:u[2]||(u[2]=p=>Q(r).hidePanel())},{default:ue(()=>[te(c,null,{default:ue(()=>[te(Q(ca))]),_:1})]),_:1})])]),oe("div",Sy,[Q(r).tasks.length?(K(),he("div",Cy,[(K(!0),he(Le,null,Dr(Q(r).tasks,p=>(K(),he("div",{key:p.id,class:"ai-task-row"},[oe("div",Ty,[p.status==="succeeded"?(K(),we(c,{key:0,class:"ok"},{default:ue(()=>[te(Q(u2))]),_:1})):p.status==="failed"?(K(),we(c,{key:1,class:"err"},{default:ue(()=>[te(Q(p2))]),_:1})):p.status==="running"||p.status==="pending"?(K(),we(g,{key:2,type:"circle",percentage:p.progress,width:36,"stroke-width":3},null,8,["percentage"])):(K(),we(c,{key:3,class:"muted"},{default:ue(()=>[te(Q(_2))]),_:1}))]),oe("div",Ay,[oe("div",Dy,De(p.title),1),oe("div",Py,[oe("span",null,De(i(p.status)),1),p.runId?(K(),he("span",$y," · #"+De(p.runId),1)):Oe("",!0)]),p.summary?(K(),he("div",Iy,De(p.summary),1)):Oe("",!0)]),oe("div",My,[p.status==="running"||p.status==="pending"?(K(),we(f,{key:0,link:"",type:"danger",size:"small",onClick:v=>Q(r).cancelTask(p.id)},{default:ue(()=>[...u[6]||(u[6]=[Ge(" 取消 ",-1)])]),_:1},8,["onClick"])):Oe("",!0),p.status==="succeeded"&&p.runId?(K(),we(f,{key:1,link:"",type:"primary",size:"small",loading:o.value===p.id,onClick:v=>a(p)},{default:ue(()=>[...u[7]||(u[7]=[Ge(" 使用 ",-1)])]),_:1},8,["loading","onClick"])):Oe("",!0),p.status!=="running"&&p.status!=="pending"?(K(),we(f,{key:2,link:"",size:"small",onClick:v=>Q(r).removeTask(p.id)},{default:ue(()=>[...u[8]||(u[8]=[Ge(" 移除 ",-1)])]),_:1},8,["onClick"])):Oe("",!0)])]))),128))])):(K(),we(h,{key:0,description:"暂无 AI 任务","image-size":64}))]),Q(r).tasks.some(p=>p.status!=="running"&&p.status!=="pending")?(K(),he("div",Vy,[te(f,{link:"",type:"info",onClick:u[3]||(u[3]=p=>Q(r).clearFinished())},{default:ue(()=>[...u[9]||(u[9]=[Ge("清除已完成",-1)])]),_:1})])):Oe("",!0)],512),[[Go,Q(r).panelVisible&&!Q(r).panelMinimized]])]),_:1}),sr(oe("div",{class:"ai-task-panel-mini",onClick:u[4]||(u[4]=p=>Q(r).toggleMinimize())},[Q(r).activeCount>0?(K(),we(c,{key:0,class:"spinning"},{default:ue(()=>[te(Q(Yl))]),_:1})):Oe("",!0),oe("span",null,De(Q(r).panelSubtitle),1),Q(r).runningCount>0?(K(),we(y,{key:1,value:Q(r).runningCount,class:"m-l-8"},null,8,["value"])):Oe("",!0)],512),[[Go,Q(r).panelVisible&&Q(r).panelMinimized]])])}}}),va=gs(Ry,[["__scopeId","data-v-812b3127"]]),Jf=Pe({__name:"AiTaskProvider",props:{title:{},freeText:{},promptId:{},autoMatch:{type:Boolean},prompts:{},showAutoMatch:{type:Boolean},showPromptSelect:{type:Boolean},autoMatchLabel:{},promptLabel:{},freeTextLabel:{},freeTextPlaceholder:{},submitText:{},showTaskListButton:{type:Boolean},taskListButtonText:{},width:{},modelValue:{type:Boolean},showDialog:{type:Boolean,default:!0}},emits:["finish","use"],setup(e,{emit:t}){const n=e,r=t,o=ha();jr(Kf,o),jr(Wf,Hf(o));const s=se(()=>{const l={title:n.title,freeText:n.freeText,promptId:n.promptId,autoMatch:n.autoMatch,prompts:n.prompts,showAutoMatch:n.showAutoMatch,showPromptSelect:n.showPromptSelect,autoMatchLabel:n.autoMatchLabel,promptLabel:n.promptLabel,freeTextLabel:n.freeTextLabel,freeTextPlaceholder:n.freeTextPlaceholder,submitText:n.submitText,showTaskListButton:n.showTaskListButton,taskListButtonText:n.taskListButtonText,width:n.width};return n.modelValue!==void 0&&(l.modelValue=n.modelValue),l});let i;function a(l){r("use",l)}return Fn(()=>{o.hydrate(),i=o.onTaskFinish(l=>r("finish",l))}),io(()=>{i==null||i()}),(l,u)=>(K(),he(Le,null,[e.showDialog!==!1?(K(),we(ga,Ic(lo({key:0},s.value)),null,16)):Oe("",!0),te(va,{onUse:a}),en(l.$slots,"default")],64))}});function Ly(){const e=pt(Wf,null);return e||Hf(ma())}function Xf(){const e=ge(!1),t=ge({});let n=null;function r(a){n==null||n.resolve(a),n=null}function o(){n==null||n.reject(new qr),n=null}function s(a={}){n&&(n.reject(new qr),n=null);const l=new Promise((u,c)=>{n={resolve:u,reject:c}});return t.value={...a},e.value=!0,l}function i(){e.value=!1}return{dialogVisible:e,dialogOptions:t,openImageSelector:s,closeImageSelector:i,settlePendingConfirm:r,settlePendingCancel:o}}const Fy="__YC_IMAGE_SELECTOR_CTX_KEY__";function ky(e){const t=globalThis;return t[e]||(t[e]=Symbol(e)),t[e]}const _a=ky(Fy),Zf=Pe({__name:"YcImageSelectorProvider",props:{modelValue:{type:[Boolean,null]},title:{default:"选择图片"},multiple:{type:Boolean,default:!1},maxCount:{default:9},selected:{},width:{default:"860px"},pageSize:{default:8},showUpload:{type:Boolean,default:!0},accept:{default:"image/*"},showCategories:{type:Boolean,default:!1},categories:{},categoryAllLabel:{default:"全部"},showModeSwitch:{type:Boolean,default:!1},confirmOnSelect:{type:Boolean,default:!1},confirmText:{default:"确定"},cancelText:{default:"取消"},emptyText:{default:"暂无图片资源"},renderEmpty:{},renderFooterExtra:{},getImages:{},upload:{},urlField:{default:"url"},showDialog:{type:Boolean,default:!0}},setup(e,{expose:t}){const n=e,r=Xf(),{dialogVisible:o,dialogOptions:s,openImageSelector:i,closeImageSelector:a,settlePendingConfirm:l,settlePendingCancel:u}=r;jr(_a,r);function c(y,p){return y in s.value?s.value[y]:p}const f=se(()=>({title:c("title",n.title),multiple:c("multiple",n.multiple),maxCount:c("maxCount",n.maxCount),selected:c("selected",n.selected),width:n.width,pageSize:n.pageSize,showUpload:n.showUpload,accept:n.accept,showCategories:c("showCategories",n.showCategories),categories:c("categories",n.categories),categoryAllLabel:c("categoryAllLabel",n.categoryAllLabel),showModeSwitch:c("showModeSwitch",n.showModeSwitch),confirmOnSelect:c("confirmOnSelect",n.confirmOnSelect),confirmText:n.confirmText,cancelText:n.cancelText,emptyText:n.emptyText,renderEmpty:n.renderEmpty,renderFooterExtra:n.renderFooterExtra,getImages:n.getImages,upload:n.upload,urlField:n.urlField}));function h(y){var p,v;(v=(p=s.value).onConfirm)==null||v.call(p,y),l(y),a()}function g(){var y,p;(p=(y=s.value).onCancel)==null||p.call(y),u(),a()}return t({openImageSelector:i,closeImageSelector:a}),(y,p)=>(K(),he(Le,null,[e.showDialog!==!1?(K(),we(vs,lo({key:0,modelValue:Q(o),"onUpdate:modelValue":p[0]||(p[0]=v=>Se(o)?o.value=v:null)},f.value,{onConfirm:h,onCancel:g}),null,16,["modelValue"])):Oe("",!0),en(y.$slots,"default")],64))}});function jy(){const e=pt(_a,null);return e?{openImageSelector:(t={})=>e.openImageSelector(t),closeImageSelector:()=>e.closeImageSelector()}:{openImageSelector:da,closeImageSelector:fa}}exports.AiTaskPanel=va;exports.AiTaskProvider=Jf;exports.AiUseDialog=ga;exports.IMAGE_SELECTOR_INJECT_KEY=_a;exports.ImageSelectorAuthError=Ei;exports.ImageSelectorCancelledError=qr;exports.ImageSelectorDialog=vs;exports.ImageSelectorProvider=Zf;exports.SkyPageWindow=Jo;exports.YcAiTaskPanel=va;exports.YcAiTaskProvider=Jf;exports.YcAiUseDialog=ga;exports.YcComponent=jf;exports.YcImageSelectorDialog=vs;exports.YcImageSelectorProvider=Zf;exports.YcPageWindow=Jo;exports.closeImageSelector=fa;exports.createImageSelectorApi=Xf;exports.default=jf;exports.fetchImages=Rf;exports.getAiTaskConfig=Di;exports.getImageSelectorConfig=Qr;exports.hideAiDialog=pa;exports.hideImageSelectorDialog=ua;exports.installImageSelector=Ff;exports.installYcComponent=kf;exports.listPrompts=Yf;exports.openAiUseDialog=X1;exports.openImageSelector=da;exports.setAiTaskConfig=oc;exports.setImageSelectorConfig=Tc;exports.showAiDialog=_s;exports.showImageSelectorDialog=Mf;exports.uploadImage=Lf;exports.useAiTask=Ly;exports.useAiTaskStore=ha;exports.useImageSelector=jy;
|