var host;(()=>{var e={257(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.html=void 0;const s=i(n(3892));t.html=s;const a=()=>.1;t.version=a},477(){},579(e,t,n){(function(t,r){e.exports=r(n(5055))})(0,function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,a=[],l=[];(function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}var r=2,o=0;while(o<64)e(r)&&(o<8&&(a[o]=n(t.pow(r,.5))),l[o]=n(t.pow(r,1/3)),o++),r++})();var u=[],c=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],c=n[5],f=n[6],d=n[7],p=0;p<64;p++){if(p<16)u[p]=0|e[t+p];else{var h=u[p-15],v=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=u[p-2],m=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[p]=v+u[p-7]+m+u[p-16]}var _=a&c^~a&f,y=r&o^r&i^o&i,w=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),S=d+b+_+l[p]+u[p],E=w+y;d=f,f=c,c=a,a=s+S|0,s=i,i=o,o=r,r=S+E|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+c|0,n[6]=n[6]+f|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(c),n.HmacSHA256=i._createHmacHelper(c)}(Math),e.SHA256})},608(e,t,n){"use strict";n.r(t),n.d(t,{Axios:()=>yn,AxiosError:()=>wn,AxiosHeaders:()=>Cn,Cancel:()=>Tn,CancelToken:()=>En,CanceledError:()=>bn,HttpStatusCode:()=>Nn,VERSION:()=>kn,all:()=>Rn,default:()=>_n,formToJSON:()=>In,getAdapter:()=>Pn,isAxiosError:()=>On,isCancel:()=>Sn,mergeConfig:()=>Ln,spread:()=>xn,toFormData:()=>An});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>Ue,hasStandardBrowserEnv:()=>Ve,hasStandardBrowserWebWorkerEnv:()=>$e,navigator:()=>je,origin:()=>Be});const{toString:i}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:a,toStringTag:l}=Symbol,u=(e=>t=>{const n=i.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),c=e=>(e=e.toLowerCase(),t=>u(t)===e),f=e=>t=>typeof t===e,{isArray:d}=Array,p=f("undefined");function h(e){return null!==e&&!p(e)&&null!==e.constructor&&!p(e.constructor)&&_(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const v=c("ArrayBuffer");function g(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&v(e.buffer),t}const m=f("string"),_=f("function"),y=f("number"),w=e=>null!==e&&"object"===typeof e,b=e=>!0===e||!1===e,S=e=>{if("object"!==u(e))return!1;const t=s(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(l in e)&&!(a in e)},E=e=>{if(!w(e)||h(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},k=c("Date"),R=c("File"),T=c("Blob"),O=c("FileList"),x=e=>w(e)&&_(e.pipe),A=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||_(e.append)&&("formdata"===(t=u(e))||"object"===t&&_(e.toString)&&"[object FormData]"===e.toString()))},C=c("URLSearchParams"),[N,I,P,L]=["ReadableStream","Request","Response","Headers"].map(c),M=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function D(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,o;if("object"!==typeof e&&(e=[e]),d(e))for(r=0,o=e.length;r0)if(r=n[o],t===r.toLowerCase())return r;return null}const U=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:globalThis)(),j=e=>!p(e)&&e!==U;function V(){const{caseless:e,skipUndefined:t}=j(this)&&this||{},n={},r=(r,o)=>{const i=e&&F(n,o)||o;S(n[i])&&S(r)?n[i]=V(n[i],r):S(r)?n[i]=V({},r):d(r)?n[i]=r.slice():t&&p(r)||(n[i]=r)};for(let e=0,t=arguments.length;e(D(t,(t,r)=>{n&&_(t)?e[r]=o(t,n):e[r]=t},{allOwnKeys:r}),e),B=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),W=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},H=(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},null==e)return t;do{o=Object.getOwnPropertyNames(e),i=o.length;while(i-- >0)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},q=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},z=e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!y(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},G=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&s(Uint8Array)),K=(e,t)=>{const n=e&&e[a],r=n.call(e);let o;while((o=r.next())&&!o.done){const n=o.value;t.call(e,n[0],n[1])}},Y=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},J=c("HTMLFormElement"),X=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),Q=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Z=c("RegExp"),ee=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};D(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)},te=e=>{ee(e,(t,n)=>{if(_(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];_(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},ne=(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return d(e)?r(e):r(String(e).split(t)),n},re=()=>{},oe=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t;function ie(e){return!!(e&&_(e.append)&&"FormData"===e[l]&&e[a])}const se=e=>{const t=new Array(10),n=(e,r)=>{if(w(e)){if(t.indexOf(e)>=0)return;if(h(e))return e;if(!("toJSON"in e)){t[r]=e;const o=d(e)?[]:{};return D(e,(e,t)=>{const i=n(e,r+1);!p(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},ae=c("AsyncFunction"),le=e=>e&&(w(e)||_(e))&&_(e.then)&&_(e.catch),ue=((e,t)=>e?setImmediate:t?((e,t)=>(U.addEventListener("message",({source:n,data:r})=>{n===U&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),U.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))("function"===typeof setImmediate,_(U.postMessage)),ce="undefined"!==typeof queueMicrotask?queueMicrotask.bind(U):"undefined"!==typeof process&&process.nextTick||ue,fe=e=>null!=e&&_(e[a]),de={isArray:d,isArrayBuffer:v,isBuffer:h,isFormData:A,isArrayBufferView:g,isString:m,isNumber:y,isBoolean:b,isObject:w,isPlainObject:S,isEmptyObject:E,isReadableStream:N,isRequest:I,isResponse:P,isHeaders:L,isUndefined:p,isDate:k,isFile:R,isBlob:T,isRegExp:Z,isFunction:_,isStream:x,isURLSearchParams:C,isTypedArray:G,isFileList:O,forEach:D,merge:V,extend:$,trim:M,stripBOM:B,inherits:W,toFlatObject:H,kindOf:u,kindOfTest:c,endsWith:q,toArray:z,forEachEntry:K,matchAll:Y,isHTMLForm:J,hasOwnProperty:Q,hasOwnProp:Q,reduceDescriptors:ee,freezeMethods:te,toObjectSet:ne,toCamelCase:X,noop:re,toFiniteNumber:oe,findKey:F,global:U,isContextDefined:j,isSpecCompliantForm:ie,toJSONObject:se,isAsyncFn:ae,isThenable:le,setImmediate:ue,asap:ce,isIterable:fe};function pe(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}de.inherits(pe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.status}}});const he=pe.prototype,ve={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ve[e]={value:e}}),Object.defineProperties(pe,ve),Object.defineProperty(he,"isAxiosError",{value:!0}),pe.from=(e,t,n,r,o,i)=>{const s=Object.create(he);de.toFlatObject(e,s,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const a=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return pe.call(s,a,l,n,r,o),e&&null==s.cause&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const ge=pe,me=null;function _e(e){return de.isPlainObject(e)||de.isArray(e)}function ye(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function we(e,t,n){return e?e.concat(t).map(function(e,t){return e=ye(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}function be(e){return de.isArray(e)&&!e.some(_e)}const Se=de.toFlatObject(de,{},null,function(e){return/^is[A-Z]/.test(e)});function Ee(e,t,n){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new(me||FormData),n=de.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!de.isUndefined(t[e])});const r=n.metaTokens,o=n.visitor||c,i=n.dots,s=n.indexes,a=n.Blob||"undefined"!==typeof Blob&&Blob,l=a&&de.isSpecCompliantForm(t);if(!de.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(de.isDate(e))return e.toISOString();if(de.isBoolean(e))return e.toString();if(!l&&de.isBlob(e))throw new ge("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(e)||de.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let a=e;if(e&&!o&&"object"===typeof e)if(de.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(de.isArray(e)&&be(e)||(de.isFileList(e)||de.endsWith(n,"[]"))&&(a=de.toArray(e)))return n=ye(n),a.forEach(function(e,r){!de.isUndefined(e)&&null!==e&&t.append(!0===s?we([n],r,i):null===s?n:n+"[]",u(e))}),!1;return!!_e(e)||(t.append(we(o,n,i),u(e)),!1)}const f=[],d=Object.assign(Se,{defaultVisitor:c,convertValue:u,isVisitable:_e});function p(e,n){if(!de.isUndefined(e)){if(-1!==f.indexOf(e))throw Error("Circular reference detected in "+n.join("."));f.push(e),de.forEach(e,function(e,r){const i=!(de.isUndefined(e)||null===e)&&o.call(t,e,de.isString(r)?r.trim():r,n,d);!0===i&&p(e,n?n.concat(r):[r])}),f.pop()}}if(!de.isObject(e))throw new TypeError("data must be an object");return p(e),t}const ke=Ee;function Re(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Te(e,t){this._pairs=[],e&&ke(e,this,t)}const Oe=Te.prototype;Oe.append=function(e,t){this._pairs.push([e,t])},Oe.toString=function(e){const t=e?function(t){return e.call(this,t,Re)}:Re;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const xe=Te;function Ae(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ce(e,t,n){if(!t)return e;const r=n&&n.encode||Ae;de.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):de.isURLSearchParams(t)?t.toString():new xe(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}class Ne{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){de.forEach(this.handlers,function(t){null!==t&&e(t)})}}const Ie=Ne,Pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Le="undefined"!==typeof URLSearchParams?URLSearchParams:xe,Me="undefined"!==typeof FormData?FormData:null,De="undefined"!==typeof Blob?Blob:null,Fe={isBrowser:!0,classes:{URLSearchParams:Le,FormData:Me,Blob:De},protocols:["http","https","file","blob","url","data"]},Ue="undefined"!==typeof window&&"undefined"!==typeof document,je="object"===typeof navigator&&navigator||void 0,Ve=Ue&&(!je||["ReactNative","NativeScript","NS"].indexOf(je.product)<0),$e=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),Be=Ue&&window.location.href||"http://localhost",We={...r,...Fe};function He(e,t){return ke(e,new We.classes.URLSearchParams,{visitor:function(e,t,n,r){return We.isNode&&de.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}function qe(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}function ze(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=e.length;if(i=!i&&de.isArray(r)?r.length:i,a)return de.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&de.isObject(r[i])||(r[i]=[]);const l=t(e,n,r[i],o);return l&&de.isArray(r[i])&&(r[i]=ze(r[i])),!s}if(de.isFormData(e)&&de.isFunction(e.entries)){const n={};return de.forEachEntry(e,(e,r)=>{t(qe(e),r,n,0)}),n}return null}const Ke=Ge;function Ye(e,t,n){if(de.isString(e))try{return(t||JSON.parse)(e),de.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}const Je={transitional:Pe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=de.isObject(e);o&&de.isHTMLForm(e)&&(e=new FormData(e));const i=de.isFormData(e);if(i)return r?JSON.stringify(Ke(e)):e;if(de.isArrayBuffer(e)||de.isBuffer(e)||de.isStream(e)||de.isFile(e)||de.isBlob(e)||de.isReadableStream(e))return e;if(de.isArrayBufferView(e))return e.buffer;if(de.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return He(e,this.formSerializer).toString();if((s=de.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ke(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),Ye(e)):e}],transformResponse:[function(e){const t=this.transitional||Je.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(de.isResponse(e)||de.isReadableStream(e))return e;if(e&&de.isString(e)&&(n&&!this.responseType||r)){const n=t&&t.silentJSONParsing,o=!n&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(o){if("SyntaxError"===e.name)throw ge.from(e,ge.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],e=>{Je.headers[e]={}});const Xe=Je,Qe=de.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"]),Ze=e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Qe[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},et=Symbol("internals");function tt(e){return e&&String(e).trim().toLowerCase()}function nt(e){return!1===e||null==e?e:de.isArray(e)?e.map(nt):String(e)}function rt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}const ot=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function it(e,t,n,r,o){return de.isFunction(r)?r.call(this,t,n):(o&&(t=n),de.isString(t)?de.isString(r)?-1!==t.indexOf(r):de.isRegExp(r)?r.test(t):void 0:void 0)}function st(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function at(e,t){const n=de.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}class lt{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=tt(t);if(!o)throw new Error("header name must be a non-empty string");const i=de.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=nt(e))}const i=(e,t)=>de.forEach(e,(e,n)=>o(e,n,t));if(de.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(de.isString(e)&&(e=e.trim())&&!ot(e))i(Ze(e),t);else if(de.isObject(e)&&de.isIterable(e)){let n,r,o={};for(const t of e){if(!de.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?de.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=tt(e),e){const n=de.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return rt(e);if(de.isFunction(t))return t.call(this,e,n);if(de.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=tt(e),e){const n=de.findKey(this,e);return!(!n||void 0===this[n]||t&&!it(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=tt(e),e){const o=de.findKey(n,e);!o||t&&!it(n,n[o],o,t)||(delete n[o],r=!0)}}return de.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;while(n--){const o=t[n];e&&!it(this,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return de.forEach(this,(r,o)=>{const i=de.findKey(n,o);if(i)return t[i]=nt(r),void delete t[o];const s=e?st(o):String(o).trim();s!==o&&delete t[o],t[s]=nt(r),n[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return de.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&de.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=this[et]=this[et]={accessors:{}},n=t.accessors,r=this.prototype;function o(e){const t=tt(e);n[t]||(at(r,e),n[t]=!0)}return de.isArray(e)?e.forEach(o):o(e),this}}lt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),de.reduceDescriptors(lt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),de.freezeMethods(lt);const ut=lt;function ct(e,t){const n=this||Xe,r=t||n,o=ut.from(r.headers);let i=r.data;return de.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ft(e){return!(!e||!e.__CANCEL__)}function dt(e,t,n){ge.call(this,null==e?"canceled":e,ge.ERR_CANCELED,t,n),this.name="CanceledError"}de.inherits(dt,ge,{__CANCEL__:!0});const pt=dt;function ht(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ge("Request failed with status code "+n.status,[ge.ERR_BAD_REQUEST,ge.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function vt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),u=r[s];o||(o=l),n[i]=a,r[i]=l;let c=s,f=0;while(c!==i)f+=n[c++],c%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),l-o{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)},a=(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout(()=>{r=null,s(n)},i-a)))},l=()=>n&&s(n);return[a,l]}const yt=_t,wt=(e,t,n=3)=>{let r=0;const o=mt(50,250);return yt(n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,l=o(a),u=i<=s;r=i;const c={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-i)/l:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0};e(c)},n)},bt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},St=e=>(...t)=>de.asap(()=>e(...t)),Et=We.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,We.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(We.origin),We.navigator&&/(msie|trident)/i.test(We.navigator.userAgent)):()=>!0,kt=We.hasStandardBrowserEnv?{write(e,t,n,r,o,i,s){if("undefined"===typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];de.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),de.isString(r)&&a.push(`path=${r}`),de.isString(o)&&a.push(`domain=${o}`),!0===i&&a.push("secure"),de.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if("undefined"===typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Rt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Tt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ot(e,t,n){let r=!Rt(t);return e&&(r||0==n)?Tt(e,t):t}const xt=e=>e instanceof ut?{...e}:e;function At(e,t){t=t||{};const n={};function r(e,t,n,r){return de.isPlainObject(e)&&de.isPlainObject(t)?de.merge.call({caseless:r},e,t):de.isPlainObject(t)?de.merge({},t):de.isArray(t)?t.slice():t}function o(e,t,n,o){return de.isUndefined(t)?de.isUndefined(e)?void 0:r(void 0,e,n,o):r(e,t,n,o)}function i(e,t){if(!de.isUndefined(t))return r(void 0,t)}function s(e,t){return de.isUndefined(t)?de.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t,n)=>o(xt(e),xt(t),n,!0)};return de.forEach(Object.keys({...e,...t}),function(r){const i=l[r]||o,s=i(e[r],t[r],r);de.isUndefined(s)&&i!==a||(n[r]=s)}),n}const Ct=e=>{const t=At({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=ut.from(s),t.url=Ce(Ot(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),de.isFormData(n))if(We.hasStandardBrowserEnv||We.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(de.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&s.set(e,n)})}if(We.hasStandardBrowserEnv&&(r&&de.isFunction(r)&&(r=r(t)),r||!1!==r&&Et(t.url))){const e=o&&i&&kt.read(i);e&&s.set(o,e)}return t},Nt="undefined"!==typeof XMLHttpRequest,It=Nt&&function(e){return new Promise(function(t,n){const r=Ct(e);let o=r.data;const i=ut.from(r.headers).normalize();let s,a,l,u,c,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=r;function h(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let v=new XMLHttpRequest;function g(){if(!v)return;const r=ut.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),o=f&&"text"!==f&&"json"!==f?v.response:v.responseText,i={data:o,status:v.status,statusText:v.statusText,headers:r,config:e,request:v};ht(function(e){t(e),h()},function(e){n(e),h()},i),v=null}v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout,"onloadend"in v?v.onloadend=g:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(g)},v.onabort=function(){v&&(n(new ge("Request aborted",ge.ECONNABORTED,e,v)),v=null)},v.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new ge(r,ge.ERR_NETWORK,e,v);o.event=t||null,n(o),v=null},v.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Pe;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ge(t,o.clarifyTimeoutError?ge.ETIMEDOUT:ge.ECONNABORTED,e,v)),v=null},void 0===o&&i.setContentType(null),"setRequestHeader"in v&&de.forEach(i.toJSON(),function(e,t){v.setRequestHeader(t,e)}),de.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),f&&"json"!==f&&(v.responseType=r.responseType),p&&([l,c]=wt(p,!0),v.addEventListener("progress",l)),d&&v.upload&&([a,u]=wt(d),v.upload.addEventListener("progress",a),v.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(s=t=>{v&&(n(!t||t.type?new pt(null,e,v):t),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const m=vt(r.url);m&&-1===We.protocols.indexOf(m)?n(new ge("Unsupported protocol "+m+":",ge.ERR_BAD_REQUEST,e)):v.send(o||null)})},Pt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof ge?t:new pt(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new ge(`timeout ${t} of ms exceeded`,ge.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:a}=r;return a.unsubscribe=()=>de.asap(s),a}},Lt=Pt,Mt=function*(e,t){let n=e.byteLength;if(!t||n{const o=Dt(e,t);let i,s=0,a=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel(e){return a(e),o.return()}},{highWaterMark:2})},jt=65536,{isFunction:Vt}=de,$t=(({Request:e,Response:t})=>({Request:e,Response:t}))(de.global),{ReadableStream:Bt,TextEncoder:Wt}=de.global,Ht=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},qt=e=>{e=de.merge.call({skipUndefined:!0},$t,e);const{fetch:t,Request:n,Response:r}=e,o=t?Vt(t):"function"===typeof fetch,i=Vt(n),s=Vt(r);if(!o)return!1;const a=o&&Vt(Bt),l=o&&("function"===typeof Wt?(e=>t=>e.encode(t))(new Wt):async e=>new Uint8Array(await new n(e).arrayBuffer())),u=i&&a&&Ht(()=>{let e=!1;const t=new n(We.origin,{body:new Bt,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),c=s&&a&&Ht(()=>de.isReadableStream(new r("").body)),f={stream:c&&(e=>e.body)};o&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!f[e]&&(f[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new ge(`Response type '${e}' is not supported`,ge.ERR_NOT_SUPPORT,n)})})})();const d=async e=>{if(null==e)return 0;if(de.isBlob(e))return e.size;if(de.isSpecCompliantForm(e)){const t=new n(We.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return de.isArrayBufferView(e)||de.isArrayBuffer(e)?e.byteLength:(de.isURLSearchParams(e)&&(e+=""),de.isString(e)?(await l(e)).byteLength:void 0)},p=async(e,t)=>{const n=de.toFiniteNumber(e.getContentLength());return null==n?d(t):n};return async e=>{let{url:o,method:s,data:a,signal:l,cancelToken:d,timeout:h,onDownloadProgress:v,onUploadProgress:g,responseType:m,headers:_,withCredentials:y="same-origin",fetchOptions:w}=Ct(e),b=t||fetch;m=m?(m+"").toLowerCase():"text";let S=Lt([l,d&&d.toAbortSignal()],h),E=null;const k=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let R;try{if(g&&u&&"get"!==s&&"head"!==s&&0!==(R=await p(_,a))){let e,t=new n(o,{method:"POST",body:a,duplex:"half"});if(de.isFormData(a)&&(e=t.headers.get("content-type"))&&_.setContentType(e),t.body){const[e,n]=bt(R,wt(St(g)));a=Ut(t.body,jt,e,n)}}de.isString(y)||(y=y?"include":"omit");const t=i&&"credentials"in n.prototype,l={...w,signal:S,method:s.toUpperCase(),headers:_.normalize().toJSON(),body:a,duplex:"half",credentials:t?y:void 0};E=i&&new n(o,l);let d=await(i?b(E,w):b(o,l));const h=c&&("stream"===m||"response"===m);if(c&&(v||h&&k)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=d[t]});const t=de.toFiniteNumber(d.headers.get("content-length")),[n,o]=v&&bt(t,wt(St(v),!0))||[];d=new r(Ut(d.body,jt,n,()=>{o&&o(),k&&k()}),e)}m=m||"text";let T=await f[de.findKey(f,m)||"text"](d,e);return!h&&k&&k(),await new Promise((t,n)=>{ht(t,n,{data:T,headers:ut.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:E})})}catch(t){if(k&&k(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new ge("Network Error",ge.ERR_NETWORK,e,E),{cause:t.cause||t});throw ge.from(t,t&&t.code,e,E)}}},zt=new Map,Gt=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let s,a,l=i.length,u=l,c=zt;while(u--)s=i[u],a=c.get(s),void 0===a&&c.set(s,a=u?new Map:qt(t)),c=a;return a},Kt=(Gt(),{http:me,xhr:It,fetch:{get:Gt}});de.forEach(Kt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Yt=e=>`- ${e}`,Jt=e=>de.isFunction(e)||null===e||!1===e;function Xt(e,t){e=de.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let s=0;s`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(Yt).join("\n"):" "+Yt(e[0]):"as no adapter specified";throw new ge("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o}const Qt={getAdapter:Xt,adapters:Kt};function Zt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pt(null,e)}function en(e){Zt(e),e.headers=ut.from(e.headers),e.data=ct.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=Qt.getAdapter(e.adapter||Xe.adapter,e);return t(e).then(function(t){return Zt(e),t.data=ct.call(e,e.transformResponse,t),t.headers=ut.from(t.headers),t},function(t){return ft(t)||(Zt(e),t&&t.response&&(t.response.data=ct.call(e,e.transformResponse,t.response),t.response.headers=ut.from(t.response.headers))),Promise.reject(t)})}const tn="1.13.2",nn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{nn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const rn={};function on(e,t,n){if("object"!==typeof e)throw new ge("options must be an object",ge.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;while(o-- >0){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new ge("option "+i+" must be "+n,ge.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new ge("Unknown option "+i,ge.ERR_BAD_OPTION)}}nn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+tn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new ge(r(o," has been removed"+(t?" in "+t:"")),ge.ERR_DEPRECATED);return t&&!rn[o]&&(rn[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},nn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const sn={assertOptions:on,validators:nn},an=sn.validators;class ln{constructor(e){this.defaults=e||{},this.interceptors={request:new Ie,response:new Ie}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=At(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&sn.assertOptions(n,{silentJSONParsing:an.transitional(an.boolean),forcedJSONParsing:an.transitional(an.boolean),clarifyTimeoutError:an.transitional(an.boolean)},!1),null!=r&&(de.isFunction(r)?t.paramsSerializer={serialize:r}:sn.assertOptions(r,{encode:an.function,serialize:an.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),sn.assertOptions(t,{baseUrl:an.spelling("baseURL"),withXsrfToken:an.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&de.merge(o.common,o[t.method]);o&&de.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=ut.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach(function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))});const l=[];let u;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let c,f=0;if(!a){const e=[en.bind(this),void 0];e.unshift(...s),e.push(...l),c=e.length,u=Promise.resolve(t);while(f{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new pt(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new cn(function(t){e=t});return{token:t,cancel:e}}}const fn=cn;function dn(e){return function(t){return e.apply(null,t)}}function pn(e){return de.isObject(e)&&!0===e.isAxiosError}const hn={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(hn).forEach(([e,t])=>{hn[t]=e});const vn=hn;function gn(e){const t=new un(e),n=o(un.prototype.request,t);return de.extend(n,un.prototype,t,{allOwnKeys:!0}),de.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return gn(At(e,t))},n}const mn=gn(Xe);mn.Axios=un,mn.CanceledError=pt,mn.CancelToken=fn,mn.isCancel=ft,mn.VERSION=tn,mn.toFormData=ke,mn.AxiosError=ge,mn.Cancel=mn.CanceledError,mn.all=function(e){return Promise.all(e)},mn.spread=dn,mn.isAxiosError=pn,mn.mergeConfig=At,mn.AxiosHeaders=ut,mn.formToJSON=e=>Ke(de.isHTMLForm(e)?new FormData(e):e),mn.getAdapter=Qt.getAdapter,mn.HttpStatusCode=vn,mn.default=mn;const _n=mn,{Axios:yn,AxiosError:wn,CanceledError:bn,isCancel:Sn,CancelToken:En,VERSION:kn,all:Rn,Cancel:Tn,isAxiosError:On,spread:xn,toFormData:An,AxiosHeaders:Cn,HttpStatusCode:Nn,formToJSON:In,getAdapter:Pn,mergeConfig:Ln}=_n},705(e,t,n){"use strict";n.r(t),n.d(t,{MutationType:()=>c,acceptHMRUpdate:()=>R,createPinia:()=>E,defineStore:()=>V,disposePinia:()=>k,getActivePinia:()=>a,mapActions:()=>z,mapGetters:()=>q,mapState:()=>H,mapStores:()=>W,mapWritableState:()=>G,setActivePinia:()=>s,setMapStoreSuffix:()=>B,shouldHydrate:()=>M,skipHydrate:()=>L,storeToRefs:()=>K});var r=n(7127); /*! * pinia v3.0.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */ const o="undefined"!==typeof window;let i;const s=e=>i=e,a=()=>(0,r.hasInjectionContext)()&&(0,r.inject)(l)||i,l=Symbol();function u(e){return e&&"object"===typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!==typeof e.toJSON}var c;(function(e){e["direct"]="direct",e["patchObject"]="patch object",e["patchFunction"]="patch function"})(c||(c={}));const f=(()=>"object"===typeof window&&window.window===window?window:"object"===typeof self&&self.self===self?self:"object"===typeof globalThis&&globalThis.global===globalThis||"object"===typeof globalThis?globalThis:{HTMLElement:null})();function d(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}function p(e,t,n){const r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){_(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function h(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function v(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(n)}}const g="object"===typeof navigator?navigator:{userAgent:""},m=(()=>/Macintosh/.test(g.userAgent)&&/AppleWebKit/.test(g.userAgent)&&!/Safari/.test(g.userAgent))(),_=o?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!m?y:"msSaveOrOpenBlob"in g?w:b:()=>{};function y(e,t="download",n){const r=document.createElement("a");r.download=t,r.rel="noopener","string"===typeof e?(r.href=e,r.origin!==location.origin?h(r.href)?p(e,t,n):(r.target="_blank",v(r)):v(r)):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){v(r)},0))}function w(e,t="download",n){if("string"===typeof e)if(h(e))p(e,t,n);else{const t=document.createElement("a");t.href=e,t.target="_blank",setTimeout(function(){v(t)})}else navigator.msSaveOrOpenBlob(d(e,n),t)}function b(e,t,n,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),"string"===typeof e)return p(e,t,n);const o="application/octet-stream"===e.type,i=/constructor/i.test(String(f.HTMLElement))||"safari"in f,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||o&&i||m)&&"undefined"!==typeof FileReader){const t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!==typeof e)throw r=null,new Error("Wrong reader.result type");e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{const t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}const{assign:S}=Object;function E(){const e=(0,r.effectScope)(!0),t=e.run(()=>(0,r.ref)({}));let n=[],o=[];const i=(0,r.markRaw)({install(e){s(i),i._a=e,e.provide(l,i),e.config.globalProperties.$pinia=i,o.forEach(e=>n.push(e)),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}function k(e){e._e.stop(),e._s.clear(),e._p.splice(0),e.state.value={},e._a=null}function R(e,t){return()=>{}}const T=()=>{};function O(e,t,n,o=T){e.add(t);const i=()=>{const n=e.delete(t);n&&o()};return!n&&(0,r.getCurrentScope)()&&(0,r.onScopeDispose)(i),i}function x(e,...t){e.forEach(e=>{e(...t)})}const A=e=>e(),C=Symbol(),N=Symbol();function I(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],i=e[n];u(i)&&u(o)&&e.hasOwnProperty(n)&&!(0,r.isRef)(o)&&!(0,r.isReactive)(o)?e[n]=I(i,o):e[n]=o}return e}const P=Symbol();function L(e){return Object.defineProperty(e,P,{})}function M(e){return!u(e)||!Object.prototype.hasOwnProperty.call(e,P)}const{assign:D}=Object;function F(e){return!(!(0,r.isRef)(e)||!e.effect)}function U(e,t,n,o){const{state:i,actions:a,getters:l}=t,u=n.state.value[e];let c;function f(){u||(n.state.value[e]=i?i():{});const t=(0,r.toRefs)(n.state.value[e]);return D(t,a,Object.keys(l||{}).reduce((t,o)=>(t[o]=(0,r.markRaw)((0,r.computed)(()=>{s(n);const t=n._s.get(e);return l[o].call(t,t)})),t),{}))}return c=j(e,f,t,n,o,!0),c}function j(e,t,n={},o,i,a){let l;const u=D({actions:{}},n);const f={deep:!0};let d,p;let h,v=new Set,g=new Set;const m=o.state.value[e];a||m||(o.state.value[e]={});(0,r.ref)({});let _;function y(t){let n;d=p=!1,"function"===typeof t?(t(o.state.value[e]),n={type:c.patchFunction,storeId:e,events:h}):(I(o.state.value[e],t),n={type:c.patchObject,payload:t,storeId:e,events:h});const i=_=Symbol();(0,r.nextTick)().then(()=>{_===i&&(d=!0)}),p=!0,x(v,n,o.state.value[e])}const w=a?function(){const{state:e}=n,t=e?e():{};this.$patch(e=>{D(e,t)})}:T;function b(){l.stop(),v.clear(),g.clear(),o._s.delete(e)}const S=(t,n="")=>{if(C in t)return t[N]=n,t;const r=function(){s(o);const n=Array.from(arguments),i=new Set,a=new Set;function l(e){i.add(e)}function u(e){a.add(e)}let c;x(g,{args:n,name:r[N],store:k,after:l,onError:u});try{c=t.apply(this&&this.$id===e?this:k,n)}catch(e){throw x(a,e),e}return c instanceof Promise?c.then(e=>(x(i,e),e)).catch(e=>(x(a,e),Promise.reject(e))):(x(i,c),c)};return r[C]=!0,r[N]=n,r},E={_p:o,$id:e,$onAction:O.bind(null,g),$patch:y,$reset:w,$subscribe(t,n={}){const i=O(v,t,n.detached,()=>s()),s=l.run(()=>(0,r.watch)(()=>o.state.value[e],r=>{("sync"===n.flush?p:d)&&t({storeId:e,type:c.direct,events:h},r)},D({},f,n)));return i},$dispose:b},k=(0,r.reactive)(E);o._s.set(e,k);const R=o._a&&o._a.runWithContext||A,P=R(()=>o._e.run(()=>(l=(0,r.effectScope)()).run(()=>t({action:S}))));for(const t in P){const n=P[t];if((0,r.isRef)(n)&&!F(n)||(0,r.isReactive)(n))a||(m&&M(n)&&((0,r.isRef)(n)?n.value=m[t]:I(n,m[t])),o.state.value[e][t]=n);else if("function"===typeof n){const e=S(n,t);P[t]=e,u.actions[t]=n}else 0}return D(k,P),D((0,r.toRaw)(k),P),Object.defineProperty(k,"$state",{get:()=>o.state.value[e],set:e=>{y(t=>{D(t,e)})}}),o._p.forEach(e=>{D(k,l.run(()=>e({store:k,app:o._a,pinia:o,options:u})))}),m&&a&&n.hydrate&&n.hydrate(k.$state,m),d=!0,p=!0,k} /*! #__NO_SIDE_EFFECTS__ */function V(e,t,n){let o;const a="function"===typeof t;function u(n,u){const c=(0,r.hasInjectionContext)();n=n||(c?(0,r.inject)(l,null):null),n&&s(n),n=i,n._s.has(e)||(a?j(e,t,o,n):U(e,o,n));const f=n._s.get(e);return f}return o=a?n:t,u.$id=e,u}let $="Store";function B(e){$=e}function W(...e){return e.reduce((e,t)=>(e[t.$id+$]=function(){return t(this.$pinia)},e),{})}function H(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const n=e(this.$pinia),o=t[r];return"function"===typeof o?o.call(this,n):n[o]},n),{})}const q=H;function z(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=function(...t){return e(this.$pinia)[n](...t)},t),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...n){return e(this.$pinia)[t[r]](...n)},n),{})}function G(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]={get(){return e(this.$pinia)[n]},set(t){return e(this.$pinia)[n]=t}},t),{}):Object.keys(t).reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(n){return e(this.$pinia)[t[r]]=n}},n),{})}function K(e){const t=(0,r.toRaw)(e),n={};for(const o in t){const i=t[o];i.effect?n[o]=(0,r.computed)({get:()=>e[o],set(t){e[o]=t}}):((0,r.isRef)(i)||(0,r.isReactive)(i))&&(n[o]=(0,r.toRef)(e,o))}return n}},780(e,t,n){"use strict"; /*! * shared v11.2.8 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */ function r(e,t){"undefined"!==typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}n.r(t),n.d(t,{DatetimeFormat:()=>vr,I18nD:()=>gr,I18nInjectionKey:()=>tr,I18nN:()=>Yn,I18nT:()=>Hn,NumberFormat:()=>Kn,Translation:()=>Wn,VERSION:()=>pn,createI18n:()=>nr,useI18n:()=>rr,vTDirective:()=>Xn});const o="undefined"!==typeof window;const i=(e,t=!1)=>t?Symbol.for(e):Symbol(e),s=(e,t,n)=>a({l:e,k:t,s:n}),a=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),l=e=>"number"===typeof e&&isFinite(e),u=e=>"[object Date]"===A(e),c=e=>"[object RegExp]"===A(e),f=e=>C(e)&&0===Object.keys(e).length,d=Object.assign,p=Object.create,h=(e=null)=>p(e);let v;const g=()=>v||(v="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof globalThis?globalThis:h());function m(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function _(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function y(e){e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${_(n)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${_(n)}'`);const t=/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi;t.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3"));const n=[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi];return n.forEach(t=>{e=e.replace(t,"$1javascript:")}),e}const w=Object.prototype.hasOwnProperty;function b(e,t){return w.call(e,t)}const S=Array.isArray,E=e=>"function"===typeof e,k=e=>"string"===typeof e,R=e=>"boolean"===typeof e,T=e=>null!==e&&"object"===typeof e,O=e=>T(e)&&E(e.then)&&E(e.catch),x=Object.prototype.toString,A=e=>x.call(e),C=e=>"[object Object]"===A(e),N=e=>null==e?"":S(e)||C(e)&&e.toString===x?JSON.stringify(e,null,2):String(e);function I(e,t=""){return e.reduce((e,n,r)=>0===r?e+n:e+t+n,"")}const P=e=>!T(e)||S(e);function L(e,t){if(P(e)||P(t))throw new Error("Invalid value");const n=[{src:e,des:t}];while(n.length){const{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{"__proto__"!==r&&(T(e[r])&&!T(t[r])&&(t[r]=Array.isArray(e[r])?[]:h()),P(t[r])||P(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))})}}function M(e,t,n){return{line:e,column:t,offset:n}}function D(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const F={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},U=17;F.EXPECTED_TOKEN,F.INVALID_TOKEN_IN_PLACEHOLDER,F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,F.UNKNOWN_ESCAPE_SEQUENCE,F.INVALID_UNICODE_ESCAPE_SEQUENCE,F.UNBALANCED_CLOSING_BRACE,F.UNTERMINATED_CLOSING_BRACE,F.EMPTY_PLACEHOLDER,F.NOT_ALLOW_NEST_PLACEHOLDER,F.INVALID_LINKED_FORMAT,F.MUST_HAVE_MESSAGES_IN_PLURAL,F.UNEXPECTED_EMPTY_LINKED_MODIFIER,F.UNEXPECTED_EMPTY_LINKED_KEY,F.UNEXPECTED_LEXICAL_ANALYSIS,F.UNHANDLED_CODEGEN_NODE_TYPE,F.UNHANDLED_MINIFIER_NODE_TYPE;function j(e,t,n={}){const{domain:r,messages:o,args:i}=n,s=e,a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=r,a}function V(e){throw e}const $=" ",B="\r",W="\n",H=String.fromCharCode(8232),q=String.fromCharCode(8233);function z(e){const t=e;let n=0,r=1,o=1,i=0;const s=e=>t[e]===B&&t[e+1]===W,a=e=>t[e]===W,l=e=>t[e]===q,u=e=>t[e]===H,c=e=>s(e)||a(e)||l(e)||u(e),f=()=>n,d=()=>r,p=()=>o,h=()=>i,v=e=>s(e)||l(e)||u(e)?W:t[e],g=()=>v(n),m=()=>v(n+i);function _(){return i=0,c(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function y(){return s(n+i)&&i++,i++,t[n+i]}function w(){n=0,r=1,o=1,i=0}function b(e=0){i=e}function S(){const e=n+i;while(e!==n)_();i=0}return{index:f,line:d,column:p,peekOffset:h,charAt:v,currentChar:g,currentPeek:m,next:_,peek:y,reset:w,resetPeek:b,skipToPeek:S}}const G=void 0,K="'",Y="tokenizer";function J(e,t={}){const n=!1!==t.location,r=z(e),o=()=>r.index(),i=()=>M(r.line(),r.column(),r.index()),s=i(),a=o(),l={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(e,t,r,...o){const i=u();if(t.column+=r,t.offset+=r,c){const r=n?D(i.startLoc,t):null,s=j(e,r,{domain:Y,args:o});c(s)}}function d(e,t,r){e.endLoc=i(),e.currentType=t;const o={type:t};return n&&(o.loc=D(e.startLoc,e.endLoc)),null!=r&&(o.value=r),o}const p=e=>d(e,13);function h(e,t){return e.currentChar()===t?(e.next(),t):(f(F.EXPECTED_TOKEN,i(),0,t),"")}function v(e){let t="";while(e.currentPeek()===$||e.currentPeek()===W)t+=e.currentPeek(),e.peek();return t}function g(e){const t=v(e);return e.skipToPeek(),t}function m(e){if(e===G)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function _(e){if(e===G)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){const{currentType:n}=t;if(2!==n)return!1;v(e);const r=m(e.currentPeek());return e.resetPeek(),r}function w(e,t){const{currentType:n}=t;if(2!==n)return!1;v(e);const r="-"===e.currentPeek()?e.peek():e.currentPeek(),o=_(r);return e.resetPeek(),o}function b(e,t){const{currentType:n}=t;if(2!==n)return!1;v(e);const r=e.currentPeek()===K;return e.resetPeek(),r}function S(e,t){const{currentType:n}=t;if(7!==n)return!1;v(e);const r="."===e.currentPeek();return e.resetPeek(),r}function E(e,t){const{currentType:n}=t;if(8!==n)return!1;v(e);const r=m(e.currentPeek());return e.resetPeek(),r}function k(e,t){const{currentType:n}=t;if(7!==n&&11!==n)return!1;v(e);const r=":"===e.currentPeek();return e.resetPeek(),r}function R(e,t){const{currentType:n}=t;if(9!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?m(e.peek()):!("@"===t||"|"===t||":"===t||"."===t||t===$||!t)&&(t===W?(e.peek(),r()):O(e,!1))},o=r();return e.resetPeek(),o}function T(e){v(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function O(e,t=!0){const n=(t=!1,r="")=>{const o=e.currentPeek();return"{"===o?t:"@"!==o&&o?"|"===o?!(r===$||r===W):o===$?(e.peek(),n(!0,$)):o!==W||(e.peek(),n(!0,W)):t},r=n();return t&&e.resetPeek(),r}function x(e,t){const n=e.currentChar();return n===G?G:t(n)?(e.next(),n):null}function A(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function C(e){return x(e,A)}function N(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function I(e){return x(e,N)}function P(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function L(e){return x(e,P)}function U(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function V(e){return x(e,U)}function B(e){let t="",n="";while(t=L(e))n+=t;return n}function H(e){let t="";while(1){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if(n===$||n===W)if(O(e))t+=n,e.next();else{if(T(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function q(e){g(e);let t="",n="";while(t=I(e))n+=t;const r=e.currentChar();if(r&&"}"!==r&&r!==G&&r!==$&&r!==W&&" "!==r){const t=ne(e);return f(F.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,n+t),n+t}return e.currentChar()===G&&f(F.UNTERMINATED_CLOSING_BRACE,i(),0),n}function J(e){g(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${B(e)}`):t+=B(e),e.currentChar()===G&&f(F.UNTERMINATED_CLOSING_BRACE,i(),0),t}function X(e){return e!==K&&e!==W}function Q(e){g(e),h(e,"'");let t="",n="";while(t=x(e,X))n+="\\"===t?Z(e):t;const r=e.currentChar();return r===W||r===G?(f(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),r===W&&(e.next(),h(e,"'")),n):(h(e,"'"),n)}function Z(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return ee(e,t,4);case"U":return ee(e,t,6);default:return f(F.UNKNOWN_ESCAPE_SEQUENCE,i(),0,t),""}}function ee(e,t,n){h(e,t);let r="";for(let o=0;o{const r=e.currentChar();return"{"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===$?n:(n+=r,e.next(),t(n)):n};return t("")}function ie(e){g(e);const t=h(e,"|");return g(e),t}function se(e,t){let n=null;const r=e.currentChar();switch(r){case"{":return t.braceNest>=1&&f(F.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),e.next(),n=d(t,2,"{"),g(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&f(F.EMPTY_PLACEHOLDER,i(),0),e.next(),n=d(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&f(F.UNTERMINATED_CLOSING_BRACE,i(),0),n=ae(e,t)||p(t),t.braceNest=0,n;default:{let r=!0,o=!0,s=!0;if(T(e))return t.braceNest>0&&f(F.UNTERMINATED_CLOSING_BRACE,i(),0),n=d(t,1,ie(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(4===t.currentType||5===t.currentType||6===t.currentType))return f(F.UNTERMINATED_CLOSING_BRACE,i(),0),t.braceNest=0,le(e,t);if(r=y(e,t))return n=d(t,4,q(e)),g(e),n;if(o=w(e,t))return n=d(t,5,J(e)),g(e),n;if(s=b(e,t))return n=d(t,6,Q(e)),g(e),n;if(!r&&!o&&!s)return n=d(t,12,ne(e)),f(F.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,n.value),g(e),n;break}}return n}function ae(e,t){const{currentType:n}=t;let r=null;const o=e.currentChar();switch(7!==n&&8!==n&&11!==n&&9!==n||o!==W&&o!==$||f(F.INVALID_LINKED_FORMAT,i(),0),o){case"@":return e.next(),r=d(t,7,"@"),t.inLinked=!0,r;case".":return g(e),e.next(),d(t,8,".");case":":return g(e),e.next(),d(t,9,":");default:return T(e)?(r=d(t,1,ie(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||k(e,t)?(g(e),ae(e,t)):E(e,t)?(g(e),d(t,11,re(e))):R(e,t)?(g(e),"{"===o?se(e,t)||r:d(t,10,oe(e))):(7===n&&f(F.INVALID_LINKED_FORMAT,i(),0),t.braceNest=0,t.inLinked=!1,le(e,t))}}function le(e,t){let n={type:13};if(t.braceNest>0)return se(e,t)||p(t);if(t.inLinked)return ae(e,t)||p(t);const r=e.currentChar();switch(r){case"{":return se(e,t)||p(t);case"}":return f(F.UNBALANCED_CLOSING_BRACE,i(),0),e.next(),d(t,3,"}");case"@":return ae(e,t)||p(t);default:if(T(e))return n=d(t,1,ie(e)),t.braceNest=0,t.inLinked=!1,n;if(O(e))return d(t,0,H(e));break}return n}function ue(){const{currentType:e,offset:t,startLoc:n,endLoc:s}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=s,l.offset=o(),l.startLoc=i(),r.currentChar()===G?d(l,13):le(r,l)}return{nextToken:ue,currentOffset:o,currentPosition:i,context:u}}const X="parser",Q=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Z(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function ee(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,r,o,i,...s){const a=e.currentPosition();if(a.offset+=i,a.column+=i,n){const e=t?D(o,a):null,i=j(r,e,{domain:X,args:s});n(i)}}function o(e,n,r){const o={type:e};return t&&(o.start=n,o.end=n,o.loc={start:r,end:r}),o}function i(e,n,r,o){t&&(e.end=n,e.loc&&(e.loc.end=r))}function s(e,t){const n=e.context(),r=o(3,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}function a(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:s}=n,a=o(5,r,s);return a.index=parseInt(t,10),e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function l(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:s}=n,a=o(4,r,s);return a.key=t,e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function u(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:s}=n,a=o(9,r,s);return a.value=t.replace(Q,Z),e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function c(e){const t=e.nextToken(),n=e.context(),{lastOffset:s,lastStartLoc:a}=n,l=o(8,s,a);return 11!==t.type?(r(e,F.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value="",i(l,s,a),{nextConsumeToken:t,node:l}):(null==t.value&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,te(t)),l.value=t.value||"",i(l,e.currentOffset(),e.currentPosition()),{node:l})}function f(e,t){const n=e.context(),r=o(7,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}function p(e){const t=e.context(),n=o(6,t.offset,t.startLoc);let s=e.nextToken();if(8===s.type){const t=c(e);n.modifier=t.node,s=t.nextConsumeToken||e.nextToken()}switch(9!==s.type&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,te(s)),s=e.nextToken(),2===s.type&&(s=e.nextToken()),s.type){case 10:null==s.value&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,te(s)),n.key=f(e,s.value||"");break;case 4:null==s.value&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,te(s)),n.key=l(e,s.value||"");break;case 5:null==s.value&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,te(s)),n.key=a(e,s.value||"");break;case 6:null==s.value&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,te(s)),n.key=u(e,s.value||"");break;default:{r(e,F.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const a=e.context(),l=o(7,a.offset,a.startLoc);return l.value="",i(l,a.offset,a.startLoc),n.key=l,i(n,a.offset,a.startLoc),{nextConsumeToken:s,node:n}}}return i(n,e.currentOffset(),e.currentPosition()),{node:n}}function h(e){const t=e.context(),n=1===t.currentType?e.currentOffset():t.offset,c=1===t.currentType?t.endLoc:t.startLoc,f=o(2,n,c);f.items=[];let d=null;do{const n=d||e.nextToken();switch(d=null,n.type){case 0:null==n.value&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,te(n)),f.items.push(s(e,n.value||""));break;case 5:null==n.value&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,te(n)),f.items.push(a(e,n.value||""));break;case 4:null==n.value&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,te(n)),f.items.push(l(e,n.value||""));break;case 6:null==n.value&&r(e,F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,te(n)),f.items.push(u(e,n.value||""));break;case 7:{const t=p(e);f.items.push(t.node),d=t.nextConsumeToken||null;break}}}while(13!==t.currentType&&1!==t.currentType);const h=1===t.currentType?t.lastOffset:e.currentOffset(),v=1===t.currentType?t.lastEndLoc:e.currentPosition();return i(f,h,v),f}function v(e,t,n,s){const a=e.context();let l=0===s.items.length;const u=o(1,t,n);u.cases=[],u.cases.push(s);do{const t=h(e);l||(l=0===t.items.length),u.cases.push(t)}while(13!==a.currentType);return l&&r(e,F.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),i(u,e.currentOffset(),e.currentPosition()),u}function g(e){const t=e.context(),{offset:n,startLoc:r}=t,o=h(e);return 13===t.currentType?o:v(e,n,r,o)}function m(n){const s=J(n,d({},e)),a=s.context(),l=o(0,a.offset,a.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=g(s),e.onCacheKey&&(l.cacheKey=e.onCacheKey(n)),13!==a.currentType&&r(s,F.UNEXPECTED_LEXICAL_ANALYSIS,a.lastStartLoc,0,n[a.offset]||""),i(l,s.currentOffset(),s.currentPosition()),l}return{parse:m}}function te(e){if(13===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function ne(e,t={}){const n={ast:e,helpers:new Set},r=()=>n,o=e=>(n.helpers.add(e),e);return{context:r,helper:o}}function re(e,t){for(let n=0;nae(e)),e}function ae(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function u(e,t){a.code+=e}function c(e,t=!0){const n=t?o:"";u(i?n+" ".repeat(e):n)}function f(e=!0){const t=++a.indentLevel;e&&c(t)}function d(e=!0){const t=--a.indentLevel;e&&c(t)}function p(){c(a.indentLevel)}const h=e=>`_${e}`,v=()=>a.needIndent;return{context:l,push:u,indent:f,deindent:d,newline:p,helper:h,needIndent:v}}function ce(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),he(e,t.key),t.modifier?(e.push(", "),he(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function fe(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let n=0;n1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let n=0;n{const n=k(t.mode)?t.mode:"normal",r=k(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",s=t.needIndent?t.needIndent:"arrow"!==n,a=e.helpers||[],l=ue(e,{mode:n,filename:r,sourceMap:o,breakLineCode:i,needIndent:s});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),a.length>0&&(l.push(`const { ${I(a.map(e=>`${e}: _${e}`),", ")} } = ctx`),l.newline()),l.push("return "),he(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:u,map:c}=l.context();return{ast:e,code:u,map:c?c.toJSON():void 0}};function ge(e,t={}){const n=d({},t),r=!!n.jit,o=!!n.minify,i=null==n.optimize||n.optimize,s=ee(n),a=s.parse(e);return r?(i&&se(a),o&&le(a),{ast:a,code:""}):(ie(a,n),ve(a,n))} /*! * core-base v11.2.8 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */ function me(){"boolean"!==typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(g().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function _e(e){return T(e)&&0===xe(e)&&(b(e,"b")||b(e,"body"))}const ye=["b","body"];function we(e){return Me(e,ye)}const be=["c","cases"];function Se(e){return Me(e,be,[])}const Ee=["s","static"];function ke(e){return Me(e,Ee)}const Re=["i","items"];function Te(e){return Me(e,Re,[])}const Oe=["t","type"];function xe(e){return Me(e,Oe)}const Ae=["v","value"];function Ce(e,t){const n=Me(e,Ae);if(null!=n)return n;throw Fe(t)}const Ne=["m","modifier"];function Ie(e){return Me(e,Ne)}const Pe=["k","key"];function Le(e){const t=Me(e,Pe);if(t)return t;throw Fe(6)}function Me(e,t,n){for(let n=0;nje(t,e);return t}function je(e,t){const n=we(t);if(null==n)throw Fe(0);const r=xe(n);if(1===r){const t=n,r=Se(t);return e.plural(r.reduce((t,n)=>[...t,Ve(e,n)],[]))}return Ve(e,n)}function Ve(e,t){const n=ke(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);{const n=Te(t).reduce((t,n)=>[...t,$e(e,n)],[]);return e.normalize(n)}}function $e(e,t){const n=xe(t);switch(n){case 3:return Ce(t,n);case 9:return Ce(t,n);case 4:{const r=t;if(b(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(b(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Fe(n)}case 5:{const r=t;if(b(r,"i")&&l(r.i))return e.interpolate(e.list(r.i));if(b(r,"index")&&l(r.index))return e.interpolate(e.list(r.index));throw Fe(n)}case 6:{const n=t,r=Ie(n),o=Le(n);return e.linked($e(e,o),r?$e(e,r):void 0,e.type)}case 7:return Ce(t,n);case 8:return Ce(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Be=e=>e;let We=h();function He(e,t={}){let n=!1;const r=t.onError||V;return t.onError=e=>{n=!0,r(e)},{...ge(e,t),detectError:n}}function qe(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&k(e)){!R(t.warnHtmlMessage)||t.warnHtmlMessage;const n=t.onCacheKey||Be,r=n(e),o=We[r];if(o)return o;const{ast:i,detectError:s}=He(e,{...t,location:!1,jit:!0}),a=Ue(i);return s?a:We[r]=a}{0;const t=e.cacheKey;if(t){const n=We[t];return n||(We[t]=Ue(e))}return Ue(e)}}const ze={INVALID_ARGUMENT:U,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Ge=24;function Ke(e){return j(e,null,void 0)}ze.INVALID_ARGUMENT,ze.INVALID_DATE_ARGUMENT,ze.INVALID_ISO_DATE_ARGUMENT,ze.NOT_SUPPORT_NON_STRING_MESSAGE,ze.NOT_SUPPORT_LOCALE_PROMISE_VALUE,ze.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,ze.NOT_SUPPORT_LOCALE_TYPE;function Ye(e,t){return null!=t.locale?Xe(t.locale):Xe(e.locale)}let Je;function Xe(e){if(k(e))return e;if(E(e)){if(e.resolvedOnce&&null!=Je)return Je;if("Function"===e.constructor.name){const t=e();if(O(t))throw Ke(ze.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Je=t}throw Ke(ze.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Ke(ze.NOT_SUPPORT_LOCALE_TYPE)}function Qe(e,t,n){return[...new Set([n,...S(t)?t:T(t)?Object.keys(t):k(t)?[t]:[n]])]}function Ze(e,t,n){const r=k(n)?n:mt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let e=[n];while(S(e))e=et(i,e,t);const s=S(t)||!C(t)?t:t["default"]?t["default"]:null;e=k(s)?[s]:s,S(e)&&et(i,e,!1),o.__localeChainCache.set(r,i)}return i}function et(e,t,n){let r=!0;for(let o=0;o{void 0===r?r=o:r+=o},d[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},d[2]=()=>{d[0](),f++},d[3]=()=>{if(f>0)f--,c=4,d[0]();else{if(f=0,void 0===r)return!1;if(r=lt(r),!1===r)return!1;d[1]()}};while(null!==c)if(u++,n=e[u],"\\"!==n||!p()){if(i=at(n),l=rt[c],s=l[i]||l["l"]||8,8===s)return;if(c=s[0],void 0!==s[1]&&(a=d[s[1]],a&&(o=n,!1===a())))return;if(7===c)return t}}const ct=new Map;function ft(e,t){return T(e)?e[t]:null}function dt(e,t){if(!T(e))return null;let n=ct.get(t);if(n||(n=ut(t),n&&ct.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;while(i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function wt(){return{upper:(e,t)=>"text"===t&&k(e)?e.toUpperCase():"vnode"===t&&T(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&k(e)?e.toLowerCase():"vnode"===t&&T(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&k(e)?yt(e):"vnode"===t&&T(e)&&"__v_isVNode"in e?yt(e.children):e}}let bt,St,Et;function kt(e){bt=e}function Rt(e){St=e}function Tt(e){Et=e}let Ot=null;const xt=e=>{Ot=e},At=()=>Ot;let Ct=0;function Nt(e={}){const t=E(e.onWarn)?e.onWarn:r,n=k(e.version)?e.version:vt,o=k(e.locale)||E(e.locale)?e.locale:mt,i=E(o)?mt:o,s=S(e.fallbackLocale)||C(e.fallbackLocale)||k(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:i,a=C(e.messages)?e.messages:It(i),l=C(e.datetimeFormats)?e.datetimeFormats:It(i),u=C(e.numberFormats)?e.numberFormats:It(i),f=d(h(),e.modifiers,wt()),p=e.pluralRules||h(),v=E(e.missing)?e.missing:null,g=!R(e.missingWarn)&&!c(e.missingWarn)||e.missingWarn,m=!R(e.fallbackWarn)&&!c(e.fallbackWarn)||e.fallbackWarn,_=!!e.fallbackFormat,y=!!e.unresolving,w=E(e.postTranslation)?e.postTranslation:null,b=C(e.processor)?e.processor:null,O=!R(e.warnHtmlMessage)||e.warnHtmlMessage,x=!!e.escapeParameter,A=E(e.messageCompiler)?e.messageCompiler:bt;const N=E(e.messageResolver)?e.messageResolver:St||ft,I=E(e.localeFallbacker)?e.localeFallbacker:Et||Qe,P=T(e.fallbackContext)?e.fallbackContext:void 0,L=e,M=T(L.__datetimeFormatters)?L.__datetimeFormatters:new Map,D=T(L.__numberFormatters)?L.__numberFormatters:new Map,F=T(L.__meta)?L.__meta:{};Ct++;const U={version:n,cid:Ct,locale:o,fallbackLocale:s,messages:a,modifiers:f,pluralRules:p,missing:v,missingWarn:g,fallbackWarn:m,fallbackFormat:_,unresolving:y,postTranslation:w,processor:b,warnHtmlMessage:O,escapeParameter:x,messageCompiler:A,messageResolver:N,localeFallbacker:I,fallbackContext:P,onWarn:t,__meta:F};return U.datetimeFormats=l,U.numberFormats=u,U.__datetimeFormatters=M,U.__numberFormatters=D,U}const It=e=>({[e]:h()});function Pt(e,t,n,r,o){const{missing:i,onWarn:s}=e;if(null!==i){const r=i(e,n,t,o);return k(r)?r:t}return t}function Lt(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Mt(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function Dt(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let r=n+1;r{jt.includes(e)?a[e]=n[e]:i[e]=n[e]}),k(r)?i.locale=r:C(r)&&(a=r),C(o)&&(a=o),[i.key||"",s,i,a]}function $t(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function Bt(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:a}=e;const[l,u,c,p]=Ht(...t),h=R(c.missingWarn)?c.missingWarn:e.missingWarn,v=(R(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,!!c.part),g=Ye(e,c),m=s(e,o,g);if(!k(l)||""===l)return new Intl.NumberFormat(g,p).format(u);let _,y={},w=null,b=g,S=null;const E="number format";for(let t=0;t{Wt.includes(e)?s[e]=n[e]:i[e]=n[e]}),k(r)?i.locale=r:C(r)&&(s=r),C(o)&&(s=o),[i.key||"",a,i,s]}function qt(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}const zt=e=>e,Gt=e=>"",Kt="text",Yt=e=>0===e.length?"":I(e),Jt=N;function Xt(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function Qt(e){const t=l(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(l(e.named.count)||l(e.named.n))?l(e.named.count)?e.named.count:l(e.named.n)?e.named.n:t:t}function Zt(e,t){t.count||(t.count=e),t.n||(t.n=e)}function en(e={}){const t=e.locale,n=Qt(e),r=T(e.pluralRules)&&k(t)&&E(e.pluralRules[t])?e.pluralRules[t]:Xt,o=T(e.pluralRules)&&k(t)&&E(e.pluralRules[t])?Xt:void 0,i=e=>e[r(n,e.length,o)],s=e.list||[],a=e=>s[e],u=e.named||h();l(e.pluralIndex)&&Zt(n,u);const c=e=>u[e];function f(t,n){const r=E(e.messages)?e.messages(t,!!n):!!T(e.messages)&&e.messages[t];return r||(e.parent?e.parent.message(t):Gt)}const p=t=>e.modifiers?e.modifiers[t]:zt,v=C(e.processor)&&E(e.processor.normalize)?e.processor.normalize:Yt,g=C(e.processor)&&E(e.processor.interpolate)?e.processor.interpolate:Jt,m=C(e.processor)&&k(e.processor.type)?e.processor.type:Kt,_=(e,...t)=>{const[n,r]=t;let o="text",i="";1===t.length?T(n)?(i=n.modifier||i,o=n.type||o):k(n)&&(i=n||i):2===t.length&&(k(n)&&(i=n||i),k(r)&&(o=r||o));const s=f(e,!0)(y),a="vnode"===o&&S(s)&&i?s[0]:s;return i?p(i)(a,o):a},y={list:a,named:c,plural:i,linked:_,message:f,type:m,interpolate:g,normalize:v,values:d(h(),s,u)};return y}const tn=()=>"",nn=e=>E(e);function rn(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:s,messages:a}=e,[l,u]=un(...t),c=R(u.missingWarn)?u.missingWarn:e.missingWarn,f=R(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=R(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,v=k(u.default)||R(u.default)?R(u.default)?i?l:()=>l:u.default:n?i?l:()=>l:null,g=n||null!=v&&(k(v)||E(v)),m=Ye(e,u);d&&on(u);let[_,w,b]=p?[l,m,a[m]||h()]:sn(e,l,m,s,f,c),S=_,T=l;if(p||k(S)||_e(S)||nn(S)||g&&(S=v,T=S),!p&&(!(k(S)||_e(S)||nn(S))||!k(w)))return o?gt:l;let O=!1;const x=()=>{O=!0},A=nn(S)?S:an(e,l,w,S,T,x);if(O)return S;const C=fn(e,w,b,u),N=en(C),I=ln(e,A,N);let P=r?r(I,l):I;return d&&k(P)&&(P=y(P)),P}function on(e){S(e.list)?e.list=e.list.map(e=>k(e)?m(e):e):T(e.named)&&Object.keys(e.named).forEach(t=>{k(e.named[t])&&(e.named[t]=m(e.named[t]))})}function sn(e,t,n,r,o,i){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f,d=h(),p=null,v=n,g=null;const m="translate";for(let n=0;nr;return e.locale=n,e.key=t,e}const l=s(r,cn(e,n,o,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function ln(e,t,n){const r=t(n);return r}function un(...e){const[t,n,r]=e,o=h();if(!k(t)&&!l(t)&&!nn(t)&&!_e(t))throw Ke(ze.INVALID_ARGUMENT);const i=l(t)?String(t):(nn(t),t);return l(n)?o.plural=n:k(n)?o.default=n:C(n)&&!f(n)?o.named=n:S(n)&&(o.list=n),l(r)?o.plural=r:k(r)?o.default=r:C(r)&&d(o,r),[i,o]}function cn(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:e=>{throw i&&i(e),e},onCacheKey:e=>s(t,n,e)}}function fn(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:s,fallbackLocale:a,fallbackWarn:u,missingWarn:c,fallbackContext:f}=e,d=(r,o)=>{let i=s(n,r);if(null==i&&(f||o)){const[,,n]=sn(f||e,r,t,a,u,c);i=s(n,r)}if(k(i)||_e(i)){let n=!1;const o=()=>{n=!0},s=an(e,r,t,i,r,o);return n?tn:s}return nn(i)?i:tn},p={locale:t,modifiers:o,pluralRules:i,messages:d};return e.processor&&(p.processor=e.processor),r.list&&(p.list=r.list),r.named&&(p.named=r.named),l(r.plural)&&(p.pluralIndex=r.plural),p}me();var dn=n(6592); /*! * vue-i18n v11.2.8 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */ const pn="11.2.8";function hn(){"boolean"!==typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(g().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const vn={UNEXPECTED_RETURN_TYPE:Ge,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function gn(e,...t){return j(e,null,void 0)}vn.UNEXPECTED_RETURN_TYPE,vn.INVALID_ARGUMENT,vn.MUST_BE_CALL_SETUP_TOP,vn.NOT_INSTALLED,vn.UNEXPECTED_ERROR,vn.REQUIRED_VALUE,vn.INVALID_VALUE,vn.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,vn.NOT_INSTALLED_WITH_PROVIDE,vn.NOT_COMPATIBLE_LEGACY_VUE_I18N,vn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;const mn=i("__translateVNode"),_n=i("__datetimeParts"),yn=i("__numberParts"),wn=i("__setPluralRules");i("__intlifyMeta");const bn=i("__injectWithOption"),Sn=i("__dispose"),En={FALLBACK_TO_ROOT:ht,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};En.FALLBACK_TO_ROOT,En.NOT_FOUND_PARENT_SCOPE,En.IGNORE_OBJ_FLATTEN,En.DEPRECATE_LEGACY_MODE,En.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,En.DUPLICATE_USE_I18N_CALLING;function kn(e){if(!T(e))return e;if(_e(e))return e;for(const t in e)if(b(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(s[t]=s[t]||h(),L(n,s[t])):L(n,s)}else k(e)&&L(JSON.parse(e),s)}),null==o&&i)for(const e in s)b(s,e)&&kn(s[e]);return s}function Tn(e){return e.type}function On(e,t,n){let r=T(t.messages)?t.messages:h();"__i18nGlobal"in n&&(r=Rn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);if(o.length&&o.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),T(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(T(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function xn(e){return(0,dn.createVNode)(dn.Text,null,e,0)}function An(){const e="currentInstance";return e in dn?dn[e]:dn.getCurrentInstance()}const Cn=()=>[],Nn=()=>!1;let In=0;function Pn(e){return(t,n,r,o)=>e(n,r,An()||void 0,o)}function Ln(e={}){const{__root:t,__injectWithOption:n}=e,r=void 0===t,i=e.flatJson,s=o?dn.ref:dn.shallowRef;let a=!R(e.inheritLocale)||e.inheritLocale;const u=s(t&&a?t.locale.value:k(e.locale)?e.locale:mt),f=s(t&&a?t.fallbackLocale.value:k(e.fallbackLocale)||S(e.fallbackLocale)||C(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:u.value),p=s(Rn(u.value,e)),h=s(C(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),v=s(C(e.numberFormats)?e.numberFormats:{[u.value]:{}});let g=t?t.missingWarn:!R(e.missingWarn)&&!c(e.missingWarn)||e.missingWarn,m=t?t.fallbackWarn:!R(e.fallbackWarn)&&!c(e.fallbackWarn)||e.fallbackWarn,_=t?t.fallbackRoot:!R(e.fallbackRoot)||e.fallbackRoot,y=!!e.fallbackFormat,w=E(e.missing)?e.missing:null,O=E(e.missing)?Pn(e.missing):null,x=E(e.postTranslation)?e.postTranslation:null,A=t?t.warnHtmlMessage:!R(e.warnHtmlMessage)||e.warnHtmlMessage,N=!!e.escapeParameter;const I=t?t.modifiers:C(e.modifiers)?e.modifiers:{};let P,M=e.pluralRules||t&&t.pluralRules;const D=()=>{r&&xt(null);const t={version:pn,locale:u.value,fallbackLocale:f.value,messages:p.value,modifiers:I,pluralRules:M,missing:null===O?void 0:O,missingWarn:g,fallbackWarn:m,fallbackFormat:y,unresolving:!0,postTranslation:null===x?void 0:x,warnHtmlMessage:A,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=h.value,t.numberFormats=v.value,t.__datetimeFormatters=C(P)?P.__datetimeFormatters:void 0,t.__numberFormatters=C(P)?P.__numberFormatters:void 0;const n=Nt(t);return r&&xt(n),n};function F(){return[u.value,f.value,p.value,h.value,v.value]}P=D(),Lt(P,u.value,f.value);const U=(0,dn.computed)({get:()=>u.value,set:e=>{P.locale=e,u.value=e}}),j=(0,dn.computed)({get:()=>f.value,set:e=>{P.fallbackLocale=e,f.value=e,Lt(P,u.value,e)}}),V=(0,dn.computed)(()=>p.value),$=(0,dn.computed)(()=>h.value),B=(0,dn.computed)(()=>v.value);function W(){return E(x)?x:null}function H(e){x=e,P.postTranslation=e}function q(){return w}function z(e){null!==e&&(O=Pn(e)),w=e,P.missing=O}const G=(e,n,o,i,s,a)=>{let u;F();try{0,r||(P.fallbackContext=t?At():void 0),u=e(P)}finally{0,r||(P.fallbackContext=void 0)}if("translate exists"!==o&&l(u)&&u===gt||"translate exists"===o&&!u){const[e,r]=n();return t&&_?i(t):s(e)}if(a(u))return u;throw gn(vn.UNEXPECTED_RETURN_TYPE)};function K(...e){return G(t=>Reflect.apply(rn,null,[t,...e]),()=>un(...e),"translate",t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>k(e))}function Y(...e){const[t,n,r]=e;if(r&&!T(r))throw gn(vn.INVALID_ARGUMENT);return K(t,n,d({resolvedMessage:!0},r||{}))}function J(...e){return G(t=>Reflect.apply(Ut,null,[t,...e]),()=>Vt(...e),"datetime format",t=>Reflect.apply(t.d,t,[...e]),()=>_t,e=>k(e)||S(e))}function X(...e){return G(t=>Reflect.apply(Bt,null,[t,...e]),()=>Ht(...e),"number format",t=>Reflect.apply(t.n,t,[...e]),()=>_t,e=>k(e)||S(e))}function Q(e){return e.map(e=>k(e)||l(e)||R(e)?xn(String(e)):e)}const Z=e=>e,ee={normalize:Q,interpolate:Z,type:"vnode"};function te(...e){return G(t=>{let n;const r=t;try{r.processor=ee,n=Reflect.apply(rn,null,[r,...e])}finally{r.processor=null}return n},()=>un(...e),"translate",t=>t[mn](...e),e=>[xn(e)],e=>S(e))}function ne(...e){return G(t=>Reflect.apply(Bt,null,[t,...e]),()=>Ht(...e),"number format",t=>t[yn](...e),Cn,e=>k(e)||S(e))}function re(...e){return G(t=>Reflect.apply(Ut,null,[t,...e]),()=>Vt(...e),"datetime format",t=>t[_n](...e),Cn,e=>k(e)||S(e))}function oe(e){M=e,P.pluralRules=M}function ie(e,t){return G(()=>{if(!e)return!1;const n=k(t)?t:u.value,r=le(n),o=P.messageResolver(r,e);return _e(o)||nn(o)||k(o)},()=>[e],"translate exists",n=>Reflect.apply(n.te,n,[e,t]),Nn,e=>R(e))}function se(e){let t=null;const n=Ze(P,f.value,u.value);for(let r=0;r{a&&(u.value=e,P.locale=e,Lt(P,u.value,f.value))}),(0,dn.watch)(t.fallbackLocale,e=>{a&&(f.value=e,P.fallbackLocale=e,Lt(P,u.value,f.value))}));const me={id:In,locale:U,fallbackLocale:j,get inheritLocale(){return a},set inheritLocale(e){a=e,e&&t&&(u.value=t.locale.value,f.value=t.fallbackLocale.value,Lt(P,u.value,f.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:V,get modifiers(){return I},get pluralRules(){return M||{}},get isGlobal(){return r},get missingWarn(){return g},set missingWarn(e){g=e,P.missingWarn=g},get fallbackWarn(){return m},set fallbackWarn(e){m=e,P.fallbackWarn=m},get fallbackRoot(){return _},set fallbackRoot(e){_=e},get fallbackFormat(){return y},set fallbackFormat(e){y=e,P.fallbackFormat=y},get warnHtmlMessage(){return A},set warnHtmlMessage(e){A=e,P.warnHtmlMessage=e},get escapeParameter(){return N},set escapeParameter(e){N=e,P.escapeParameter=e},t:K,getLocaleMessage:le,setLocaleMessage:ue,mergeLocaleMessage:ce,getPostTranslationHandler:W,setPostTranslationHandler:H,getMissingHandler:q,setMissingHandler:z,[wn]:oe};return me.datetimeFormats=$,me.numberFormats=B,me.rt=Y,me.te=ie,me.tm=ae,me.d=J,me.n=X,me.getDateTimeFormat=fe,me.setDateTimeFormat=de,me.mergeDateTimeFormat=pe,me.getNumberFormat=he,me.setNumberFormat=ve,me.mergeNumberFormat=ge,me[bn]=n,me[mn]=te,me[_n]=re,me[yn]=ne,me}function Mn(e){const t=k(e.locale)?e.locale:mt,n=k(e.fallbackLocale)||S(e.fallbackLocale)||C(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=E(e.missing)?e.missing:void 0,o=!R(e.silentTranslationWarn)&&!c(e.silentTranslationWarn)||!e.silentTranslationWarn,i=!R(e.silentFallbackWarn)&&!c(e.silentFallbackWarn)||!e.silentFallbackWarn,s=!R(e.fallbackRoot)||e.fallbackRoot,a=!!e.formatFallbackMessages,l=C(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,f=E(e.postTranslation)?e.postTranslation:void 0,p=!k(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,h=!!e.escapeParameterHtml,v=!R(e.sync)||e.sync;let g=e.messages;if(C(e.sharedMessages)){const t=e.sharedMessages,n=Object.keys(t);g=n.reduce((e,n)=>{const r=e[n]||(e[n]={});return d(r,t[n]),e},g||{})}const{__i18n:m,__root:_,__injectWithOption:y}=e,w=e.datetimeFormats,b=e.numberFormats,T=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:T,datetimeFormats:w,numberFormats:b,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:s,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:f,warnHtmlMessage:p,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:v,__i18n:m,__root:_,__injectWithOption:y}}function Dn(e={}){const t=Ln(Mn(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return R(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=R(e)?!e:e},get silentFallbackWarn(){return R(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=R(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){return Reflect.apply(t.t,t,[...e])},rt(...e){return Reflect.apply(t.rt,t,[...e])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function Fn(e,t,n){return{beforeCreate(){const r=An();if(!r)throw gn(vn.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const r=o.i18n;if(o.__i18n&&(r.__i18n=o.__i18n),r.__root=t,this===this.$root)this.$i18n=Un(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Dn(r);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Un(e,o);else{this.$i18n=Dn({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&On(t,o,o),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){0},unmounted(){const e=An();if(!e)throw gn(vn.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}function Un(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[wn](t.pluralizationRules||e.pluralizationRules);const n=Rn(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const jn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Vn({slots:e},t){if(1===t.length&&"default"===t[0]){const t=e.default?e.default():[];return t.reduce((e,t)=>[...e,...t.type===dn.Fragment?t.children:[t]],[])}return t.reduce((t,n)=>{const r=e[n];return r&&(t[n]=r()),t},h())}function $n(){return dn.Fragment}const Bn=(0,dn.defineComponent)({name:"i18n-t",props:d({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>l(e)||!isNaN(e)}},jn),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||rr({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(e=>"_"!==e[0]),s=h();e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=k(e.plural)?+e.plural:e.plural);const a=Vn(t,i),l=o[mn](e.keypath,a,s),u=d(h(),r),c=k(e.tag)||T(e.tag)?e.tag:$n();return(0,dn.h)(c,u,l)}}}),Wn=Bn,Hn=Wn;function qn(e){return S(e)&&!k(e[0])}function zn(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const t={part:!0};let s=h();e.locale&&(t.locale=e.locale),k(e.format)?t.key=e.format:T(e.format)&&(k(e.format.key)&&(t.key=e.format.key),s=Object.keys(e.format).reduce((t,r)=>n.includes(r)?d(h(),t,{[r]:e.format[r]}):t,h()));const a=r(e.value,t,s);let l=[t.key];S(a)?l=a.map((e,t)=>{const n=o[e.type],r=n?n({[e.type]:e.value,index:t,parts:a}):[e.value];return qn(r)&&(r[0].key=`${e.type}-${t}`),r}):k(a)&&(l=[a]);const u=d(h(),i),c=k(e.tag)||T(e.tag)?e.tag:$n();return(0,dn.h)(c,u,l)}}const Gn=(0,dn.defineComponent)({name:"i18n-n",props:d({value:{type:Number,required:!0},format:{type:[String,Object]}},jn),setup(e,t){const n=e.i18n||rr({useScope:e.scope,__useComponent:!0});return zn(e,t,Wt,(...e)=>n[yn](...e))}}),Kn=Gn,Yn=Kn;function Jn(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}function Xn(e){const t=t=>{const{instance:n,value:r}=t;if(!n||!n.$)throw gn(vn.UNEXPECTED_ERROR);const o=Jn(e,n.$),i=Qn(r);return[Reflect.apply(o.t,o,[...Zn(i)]),o]},n=(n,r)=>{const[i,s]=t(r);o&&e.global===s&&(n.__i18nWatcher=(0,dn.watch)(s.locale,()=>{r.instance&&r.instance.$forceUpdate()})),n.__composer=s,n.textContent=i},r=e=>{o&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},i=(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=Qn(t);e.textContent=Reflect.apply(n.t,n,[...Zn(r)])}},s=e=>{const[n]=t(e);return{textContent:n}};return{created:n,unmounted:r,beforeUpdate:i,getSSRProps:s}}function Qn(e){if(k(e))return{path:e};if(C(e)){if(!("path"in e))throw gn(vn.REQUIRED_VALUE,"path");return e}throw gn(vn.INVALID_VALUE)}function Zn(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,s={},a=r||{};return k(n)&&(s.locale=n),l(o)&&(s.plural=o),l(i)&&(s.plural=i),[t,a,s]}function er(e,t,...n){const r=C(n[0])?n[0]:{},o=!R(r.globalInstall)||r.globalInstall;o&&([Wn.name,"I18nT"].forEach(t=>e.component(t,Wn)),[Kn.name,"I18nN"].forEach(t=>e.component(t,Kn)),[vr.name,"I18nD"].forEach(t=>e.component(t,vr))),e.directive("t",Xn(t))}const tr=i("global-vue-i18n");function nr(e={}){const t=!R(e.legacy)||e.legacy;const n=!R(e.globalInjection)||e.globalInjection,r=new Map,[o,s]=or(e,t),a=i("");function l(e){return r.get(e)||null}function u(e,t){r.set(e,t)}function c(e){r.delete(e)}const f={get mode(){return t?"legacy":"composition"},async install(e,...r){if(e.__VUE_I18N_SYMBOL__=a,e.provide(e.__VUE_I18N_SYMBOL__,f),C(r[0])){const e=r[0];f.__composerExtend=e.__composerExtend,f.__vueI18nExtend=e.__vueI18nExtend}let o=null;!t&&n&&(o=pr(e,f.global)),er(e,f,...r),t&&e.mixin(Fn(s,s.__composer,f));const i=e.unmount;e.unmount=()=>{o&&o(),f.dispose(),i()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:l,__setInstance:u,__deleteInstance:c};return f}function rr(e={}){const t=An();if(null==t)throw gn(vn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw gn(vn.NOT_INSTALLED);const n=ir(t),r=ar(n),o=Tn(t),i=sr(e,o);if("global"===i)return On(r,e,o),r;if("parent"===i){let o=lr(n,t,e.__useComponent);return null==o&&(o=r),o}const s=n;let a=s.__getInstance(t);if(null==a){const n=d({},e);"__i18n"in o&&(n.__i18n=o.__i18n),r&&(n.__root=r),a=Ln(n),s.__composerExtend&&(a[Sn]=s.__composerExtend(a)),cr(s,t,a),s.__setInstance(t,a)}else 0;return a}function or(e,t){const n=(0,dn.effectScope)(),r=t?n.run(()=>Dn(e)):n.run(()=>Ln(e));if(null==r)throw gn(vn.UNEXPECTED_ERROR);return[n,r]}function ir(e){const t=(0,dn.inject)(e.isCE?tr:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw gn(e.isCE?vn.NOT_INSTALLED_WITH_PROVIDE:vn.UNEXPECTED_ERROR);return t}function sr(e,t){return f(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ar(e){return"composition"===e.mode?e.global:e.global.__composer}function lr(e,t,n=!1){let r=null;const o=t.root;let i=ur(t,n);while(null!=i){const t=e;if("composition"===e.mode)r=t.__getInstance(i);else{const e=t.__getInstance(i);null!=e&&(r=e.__composer,n&&r&&!r[bn]&&(r=null))}if(null!=r)break;if(o===i)break;i=i.parent}return r}function ur(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}function cr(e,t,n){(0,dn.onMounted)(()=>{0},t),(0,dn.onUnmounted)(()=>{const r=n;e.__deleteInstance(t);const o=r[Sn];o&&(o(),delete r[Sn])},t)}const fr=["locale","fallbackLocale","availableLocales"],dr=["t","rt","d","n","tm","te"];function pr(e,t){const n=Object.create(null);fr.forEach(e=>{const r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw gn(vn.UNEXPECTED_ERROR);const o=(0,dn.isRef)(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,o)}),e.config.globalProperties.$i18n=n,dr.forEach(n=>{const r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw gn(vn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)});const r=()=>{delete e.config.globalProperties.$i18n,dr.forEach(t=>{delete e.config.globalProperties[`$${t}`]})};return r}const hr=(0,dn.defineComponent)({name:"i18n-d",props:d({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},jn),setup(e,t){const n=e.i18n||rr({useScope:e.scope,__useComponent:!0});return zn(e,t,jt,(...e)=>n[_n](...e))}}),vr=hr,gr=vr;hn(),kt(qe),Rt(dt),Tt(Ze)},980(e,t,n){"use strict";n.d(t,{Fc:()=>x,$p:()=>A,_p:()=>T,qM:()=>O,i7:()=>C,tG:()=>g,Vy:()=>m,TI:()=>I,hz:()=>ee,ZH:()=>V,xn:()=>te,w7:()=>K,OA:()=>q,Vz:()=>J,Uw:()=>H,KJ:()=>ne,$5:()=>be,vh:()=>ce,Rx:()=>Ee,O:()=>P});var r=n(5055),o=n(579),i=n(4404),s=n(9300);function a(e){this.message=e}a.prototype=new Error,a.prototype.name="InvalidCharacterError";var l="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new a("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,s="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?s+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function u(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(l(e).replace(/(.)/g,function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(t)}catch(e){return l(t)}}function c(e){this.message=e}function f(e,t){if("string"!=typeof e)throw new c("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(u(e.split(".")[n]))}catch(e){throw new c("Invalid token specified: "+e.message)}}c.prototype=new Error,c.prototype.name="InvalidTokenError";const d=f;var p,h,v={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},g=(e=>(e[e["NONE"]=0]="NONE",e[e["ERROR"]=1]="ERROR",e[e["WARN"]=2]="WARN",e[e["INFO"]=3]="INFO",e[e["DEBUG"]=4]="DEBUG",e))(g||{});(e=>{function t(){p=3,h=v}function n(e){if(!(0<=e&&e<=4))throw new Error("Invalid log level");p=e}function r(e){h=e}e.reset=t,e.setLevel=n,e.setLogger=r})(g||(g={}));var m=class{constructor(e){this._name=e}debug(...e){p>=4&&h.debug(m._format(this._name,this._method),...e)}info(...e){p>=3&&h.info(m._format(this._name,this._method),...e)}warn(...e){p>=2&&h.warn(m._format(this._name,this._method),...e)}error(...e){p>=1&&h.error(m._format(this._name,this._method),...e)}throw(e){throw this.error(e),e}create(e){const t=Object.create(this);return t._method=e,t.debug("begin"),t}static createStatic(e,t){const n=new m(`${e}.${t}`);return n.debug("begin"),n}static _format(e,t){const n=`[${e}]`;return t?`${n} ${t}:`:n}static debug(e,...t){p>=4&&h.debug(m._format(e),...t)}static info(e,...t){p>=3&&h.info(m._format(e),...t)}static warn(e,...t){p>=2&&h.warn(m._format(e),...t)}static error(e,...t){p>=1&&h.error(m._format(e),...t)}};g.reset();var _="10000000-1000-4000-8000-100000000000",y=class{static _randomWord(){return r.lib.WordArray.random(1).words[0]}static generateUUIDv4(){const e=_.replace(/[018]/g,e=>(+e^y._randomWord()&15>>+e/4).toString(16));return e.replace(/-/g,"")}static generateCodeVerifier(){return y.generateUUIDv4()+y.generateUUIDv4()+y.generateUUIDv4()}static generateCodeChallenge(e){try{const t=o(e);return i.stringify(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(e){throw m.error("CryptoUtils.generateCodeChallenge",e),e}}static generateBasicAuth(e,t){const n=s.parse([e,t].join(":"));return i.stringify(n)}},w=class{constructor(e){this._name=e,this._logger=new m(`Event('${this._name}')`),this._callbacks=[]}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){const t=this._callbacks.lastIndexOf(e);t>=0&&this._callbacks.splice(t,1)}raise(...e){this._logger.debug("raise:",...e);for(const t of this._callbacks)t(...e)}},b=class{static decode(e){try{return d(e)}catch(e){throw m.error("JwtUtils.decode",e),e}}},S=class{static center({...e}){var t;return null==e.width&&(e.width=null!=(t=[800,720,600,480].find(e=>e<=window.outerWidth/1.618))?t:360),null!=e.left||(e.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-e.width)/2))),null!=e.height&&(null!=e.top||(e.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-e.height)/2)))),e}static serialize(e){return Object.entries(e).filter(([,e])=>null!=e).map(([e,t])=>`${e}=${"boolean"!==typeof t?t:t?"yes":"no"}`).join(",")}},E=class extends w{constructor(){super(...arguments),this._logger=new m(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const e=this._expiration-E.getEpochTime();this._logger.debug("timer completes in",e),this._expiration<=E.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(e){const t=this._logger.create("init");e=Math.max(Math.floor(e),1);const n=E.getEpochTime()+e;if(this.expiration===n&&this._timerHandle)return void t.debug("skipping since already initialized for expiration at",this.expiration);this.cancel(),t.debug("using duration",e),this._expiration=n;const r=Math.min(e,5);this._timerHandle=setInterval(this._callback,1e3*r)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},k=class{static readParams(e,t="query"){if(!e)throw new TypeError("Invalid URL");const n=new URL(e,"http://127.0.0.1"),r=n["fragment"===t?"hash":"search"];return new URLSearchParams(r.slice(1))}},R=";",T=class extends Error{constructor(e,t){var n,r,o;if(super(e.error_description||e.error||""),this.form=t,this.name="ErrorResponse",!e.error)throw m.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=e.error,this.error_description=null!=(n=e.error_description)?n:null,this.error_uri=null!=(r=e.error_uri)?r:null,this.state=e.userState,this.session_state=null!=(o=e.session_state)?o:null,this.url_state=e.url_state}},O=class extends Error{constructor(e){super(e),this.name="ErrorTimeout"}},x=class{constructor(e){this._logger=new m("AccessTokenEvents"),this._expiringTimer=new E("Access token expiring"),this._expiredTimer=new E("Access token expired"),this._expiringNotificationTimeInSeconds=e.expiringNotificationTimeInSeconds}load(e){const t=this._logger.create("load");if(e.access_token&&void 0!==e.expires_in){const n=e.expires_in;if(t.debug("access token present, remaining duration:",n),n>0){let e=n-this._expiringNotificationTimeInSeconds;e<=0&&(e=1),t.debug("registering expiring timer, raising in",e,"seconds"),this._expiringTimer.init(e)}else t.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=n+1;t.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(e){return this._expiringTimer.addHandler(e)}removeAccessTokenExpiring(e){this._expiringTimer.removeHandler(e)}addAccessTokenExpired(e){return this._expiredTimer.addHandler(e)}removeAccessTokenExpired(e){this._expiredTimer.removeHandler(e)}},A=class{constructor(e,t,n,r,o){this._callback=e,this._client_id=t,this._intervalInSeconds=r,this._stopOnError=o,this._logger=new m("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=e=>{e.origin===this._frame_origin&&e.source===this._frame.contentWindow&&("error"===e.data?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===e.data?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(e.data+" message from check session op iframe"))};const i=new URL(n);this._frame_origin=i.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=i.href}load(){return new Promise(e=>{this._frame.onload=()=>{e()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(e){if(this._session_state===e)return;this._logger.create("start"),this.stop(),this._session_state=e;const t=()=>{this._frame.contentWindow&&this._session_state&&this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};t(),this._timer=setInterval(t,1e3*this._intervalInSeconds)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},C=class{constructor(){this._logger=new m("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(e){return this._logger.create(`getItem('${e}')`),this._data[e]}setItem(e,t){this._logger.create(`setItem('${e}')`),this._data[e]=t}removeItem(e){this._logger.create(`removeItem('${e}')`),delete this._data[e]}get length(){return Object.getOwnPropertyNames(this._data).length}key(e){return Object.getOwnPropertyNames(this._data)[e]}},N=class{constructor(e=[],t=null,n={}){this._jwtHandler=t,this._extraHeaders=n,this._logger=new m("JsonService"),this._contentTypes=[],this._contentTypes.push(...e,"application/json"),t&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(e,t={}){const{timeoutInSeconds:n,...r}=t;if(!n)return await fetch(e,r);const o=new AbortController,i=setTimeout(()=>o.abort(),1e3*n);try{const n=await fetch(e,{...t,signal:o.signal});return n}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)throw new O("Network timed out");throw e}finally{clearTimeout(i)}}async getJson(e,{token:t,credentials:n}={}){const r=this._logger.create("getJson"),o={Accept:this._contentTypes.join(", ")};let i;t&&(r.debug("token passed, setting Authorization header"),o["Authorization"]="Bearer "+t),this.appendExtraHeaders(o);try{r.debug("url:",e),i=await this.fetchWithTimeout(e,{method:"GET",headers:o,credentials:n})}catch(e){throw r.error("Network Error"),e}r.debug("HTTP response received, status",i.status);const s=i.headers.get("Content-Type");if(s&&!this._contentTypes.find(e=>s.startsWith(e))&&r.throw(new Error(`Invalid response Content-Type: ${null!=s?s:"undefined"}, from URL: ${e}`)),i.ok&&this._jwtHandler&&(null==s?void 0:s.startsWith("application/jwt")))return await this._jwtHandler(await i.text());let a;try{a=await i.json()}catch(e){if(r.error("Error parsing JSON response",e),i.ok)throw e;throw new Error(`${i.statusText} (${i.status})`)}if(!i.ok){if(r.error("Error from server:",a),a.error)throw new T(a);throw new Error(`${i.statusText} (${i.status}): ${JSON.stringify(a)}`)}return a}async postForm(e,{body:t,basicAuth:n,timeoutInSeconds:r,initCredentials:o}){const i=this._logger.create("postForm"),s={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded"};let a;void 0!==n&&(s["Authorization"]="Basic "+n),this.appendExtraHeaders(s);try{i.debug("url:",e),a=await this.fetchWithTimeout(e,{method:"POST",headers:s,body:t,timeoutInSeconds:r,credentials:o})}catch(e){throw i.error("Network error"),e}i.debug("HTTP response received, status",a.status);const l=a.headers.get("Content-Type");if(l&&!this._contentTypes.find(e=>l.startsWith(e)))throw new Error(`Invalid response Content-Type: ${null!=l?l:"undefined"}, from URL: ${e}`);const u=await a.text();let c={};if(u)try{c=JSON.parse(u)}catch(e){if(i.error("Error parsing JSON response",e),a.ok)throw e;throw new Error(`${a.statusText} (${a.status})`)}if(!a.ok){if(i.error("Error from server:",c),c.error)throw new T(c,t);throw new Error(`${a.statusText} (${a.status}): ${JSON.stringify(c)}`)}return c}appendExtraHeaders(e){const t=this._logger.create("appendExtraHeaders"),n=Object.keys(this._extraHeaders),r=["authorization","accept","content-type"];0!==n.length&&n.forEach(n=>{if(r.includes(n.toLocaleLowerCase()))return void t.warn("Protected header could not be overridden",n,r);const o="function"===typeof this._extraHeaders[n]?this._extraHeaders[n]():this._extraHeaders[n];o&&""!==o&&(e[n]=o)})}},I=class{constructor(e){this._settings=e,this._logger=new m("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new N(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const e=this._logger.create("getMetadata");if(this._metadata)return e.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw e.throw(new Error("No authority or metadataUrl configured on settings")),null;e.debug("getting metadata from",this._metadataUrl);const t=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials});return e.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},this._settings.metadataSeed,t),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(e=!0){return this._getMetadataProperty("token_endpoint",e)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(e=!0){return this._getMetadataProperty("revocation_endpoint",e)}getKeysEndpoint(e=!0){return this._getMetadataProperty("jwks_uri",e)}async _getMetadataProperty(e,t=!1){const n=this._logger.create(`_getMetadataProperty('${e}')`),r=await this.getMetadata();if(n.debug("resolved"),void 0===r[e]){if(!0===t)return void n.warn("Metadata does not contain optional property");n.throw(new Error("Metadata does not contain property "+e))}return r[e]}async getSigningKeys(){const e=this._logger.create("getSigningKeys");if(this._signingKeys)return e.debug("returning signingKeys from cache"),this._signingKeys;const t=await this.getKeysEndpoint(!1);e.debug("got jwks_uri",t);const n=await this._jsonService.getJson(t);if(e.debug("got key set",n),!Array.isArray(n.keys))throw e.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=n.keys,this._signingKeys}},P=class{constructor({prefix:e="oidc.",store:t=localStorage}={}){this._logger=new m("WebStorageStateStore"),this._store=t,this._prefix=e}async set(e,t){this._logger.create(`set('${e}')`),e=this._prefix+e,await this._store.setItem(e,t)}async get(e){this._logger.create(`get('${e}')`),e=this._prefix+e;const t=await this._store.getItem(e);return t}async remove(e){this._logger.create(`remove('${e}')`),e=this._prefix+e;const t=await this._store.getItem(e);return await this._store.removeItem(e),t}async getAllKeys(){this._logger.create("getAllKeys");const e=await this._store.length,t=[];for(let n=0;n{const t=this._logger.create("_getClaimsFromJwt");try{const n=b.decode(e);return t.debug("JWT decoding successful"),n}catch(e){throw t.error("Error parsing JWT response"),e}},this._jsonService=new N(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(e){const t=this._logger.create("getClaims");e||this._logger.throw(new Error("No token passed"));const n=await this._metadataService.getUserInfoEndpoint();t.debug("got userinfo url",n);const r=await this._jsonService.getJson(n,{token:e,credentials:this._settings.fetchRequestCredentials});return t.debug("got claims",r),r}},B=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new m("TokenClient"),this._jsonService=new N(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:e="authorization_code",redirect_uri:t=this._settings.redirect_uri,client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,...o}){const i=this._logger.create("exchangeCode");n||i.throw(new Error("A client_id is required")),t||i.throw(new Error("A redirect_uri is required")),o.code||i.throw(new Error("A code is required"));const s=new URLSearchParams({grant_type:e,redirect_uri:t});for(const[e,t]of Object.entries(o))null!=t&&s.set(e,t);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!r)throw i.throw(new Error("A client_secret is required")),null;a=y.generateBasicAuth(n,r);break;case"client_secret_post":s.append("client_id",n),r&&s.append("client_secret",r);break}const l=await this._metadataService.getTokenEndpoint(!1);i.debug("got token endpoint");const u=await this._jsonService.postForm(l,{body:s,basicAuth:a,initCredentials:this._settings.fetchRequestCredentials});return i.debug("got response"),u}async exchangeCredentials({grant_type:e="password",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,scope:r=this._settings.scope,...o}){const i=this._logger.create("exchangeCredentials");t||i.throw(new Error("A client_id is required"));const s=new URLSearchParams({grant_type:e,scope:r});for(const[e,t]of Object.entries(o))null!=t&&s.set(e,t);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw i.throw(new Error("A client_secret is required")),null;a=y.generateBasicAuth(t,n);break;case"client_secret_post":s.append("client_id",t),n&&s.append("client_secret",n);break}const l=await this._metadataService.getTokenEndpoint(!1);i.debug("got token endpoint");const u=await this._jsonService.postForm(l,{body:s,basicAuth:a,initCredentials:this._settings.fetchRequestCredentials});return i.debug("got response"),u}async exchangeRefreshToken({grant_type:e="refresh_token",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,timeoutInSeconds:r,...o}){const i=this._logger.create("exchangeRefreshToken");t||i.throw(new Error("A client_id is required")),o.refresh_token||i.throw(new Error("A refresh_token is required"));const s=new URLSearchParams({grant_type:e});for(const[e,t]of Object.entries(o))Array.isArray(t)?t.forEach(t=>s.append(e,t)):null!=t&&s.set(e,t);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw i.throw(new Error("A client_secret is required")),null;a=y.generateBasicAuth(t,n);break;case"client_secret_post":s.append("client_id",t),n&&s.append("client_secret",n);break}const l=await this._metadataService.getTokenEndpoint(!1);i.debug("got token endpoint");const u=await this._jsonService.postForm(l,{body:s,basicAuth:a,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials});return i.debug("got response"),u}async revoke(e){var t;const n=this._logger.create("revoke");e.token||n.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${null!=(t=e.token_type_hint)?t:"default token type"}`);const o=new URLSearchParams;for(const[t,n]of Object.entries(e))null!=n&&o.set(t,n);o.set("client_id",this._settings.client_id),this._settings.client_secret&&o.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:o}),n.debug("got response")}},W=class{constructor(e,t,n){this._settings=e,this._metadataService=t,this._claimsService=n,this._logger=new m("ResponseValidator"),this._userInfoService=new $(this._settings,this._metadataService),this._tokenClient=new B(this._settings,this._metadataService)}async validateSigninResponse(e,t){const n=this._logger.create("validateSigninResponse");this._processSigninState(e,t),n.debug("state processed"),await this._processCode(e,t),n.debug("code processed"),e.isOpenId&&this._validateIdTokenAttributes(e),n.debug("tokens validated"),await this._processClaims(e,null==t?void 0:t.skipUserInfo,e.isOpenId),n.debug("claims processed")}async validateCredentialsResponse(e,t){const n=this._logger.create("validateCredentialsResponse");e.isOpenId&&e.id_token&&this._validateIdTokenAttributes(e),n.debug("tokens validated"),await this._processClaims(e,t,e.isOpenId),n.debug("claims processed")}async validateRefreshResponse(e,t){const n=this._logger.create("validateRefreshResponse");e.userState=t.data,null!=e.session_state||(e.session_state=t.session_state),null!=e.scope||(e.scope=t.scope),e.isOpenId&&e.id_token&&(this._validateIdTokenAttributes(e,t.id_token),n.debug("ID Token validated")),e.id_token||(e.id_token=t.id_token,e.profile=t.profile);const r=e.isOpenId&&!!e.id_token;await this._processClaims(e,!1,r),n.debug("claims processed")}validateSignoutResponse(e,t){const n=this._logger.create("validateSignoutResponse");if(t.id!==e.state&&n.throw(new Error("State does not match")),n.debug("state validated"),e.userState=t.data,e.error)throw n.warn("Response was error",e.error),new T(e)}_processSigninState(e,t){const n=this._logger.create("_processSigninState");if(t.id!==e.state&&n.throw(new Error("State does not match")),t.client_id||n.throw(new Error("No client_id on state")),t.authority||n.throw(new Error("No authority on state")),this._settings.authority!==t.authority&&n.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==t.client_id&&n.throw(new Error("client_id mismatch on settings vs. signin state")),n.debug("state validated"),e.userState=t.data,e.url_state=t.url_state,null!=e.scope||(e.scope=t.scope),e.error)throw n.warn("Response was error",e.error),new T(e);t.code_verifier&&!e.code&&n.throw(new Error("Expected code in response"))}async _processClaims(e,t=!1,n=!0){const r=this._logger.create("_processClaims");if(e.profile=this._claimsService.filterProtocolClaims(e.profile),t||!this._settings.loadUserInfo||!e.access_token)return void r.debug("not loading user info");r.debug("loading user info");const o=await this._userInfoService.getClaims(e.access_token);r.debug("user info claims received from user info endpoint"),n&&o.sub!==e.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),e.profile=this._claimsService.mergeClaims(e.profile,this._claimsService.filterProtocolClaims(o)),r.debug("user info claims received, updated profile:",e.profile)}async _processCode(e,t){const n=this._logger.create("_processCode");if(e.code){n.debug("Validating code");const r=await this._tokenClient.exchangeCode({client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier,...t.extraTokenParams});Object.assign(e,r)}else n.debug("No code to process")}_validateIdTokenAttributes(e,t){var n;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const o=b.decode(null!=(n=e.id_token)?n:"");if(o.sub||r.throw(new Error("ID Token is missing a subject claim")),t){const e=b.decode(t);o.sub!==e.sub&&r.throw(new Error("sub in id_token does not match current sub")),o.auth_time&&o.auth_time!==e.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),o.azp&&o.azp!==e.azp&&r.throw(new Error("azp in id_token does not match original azp")),!o.azp&&e.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}e.profile=o}},H=class{constructor(e){this.id=e.id||y.generateUUIDv4(),this.data=e.data,e.created&&e.created>0?this.created=e.created:this.created=E.getEpochTime(),this.request_type=e.request_type,this.url_state=e.url_state}toStorageString(){return new m("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(e){return m.createStatic("State","fromStorageString"),new H(JSON.parse(e))}static async clearStaleState(e,t){const n=m.createStatic("State","clearStaleState"),r=E.getEpochTime()-t,o=await e.getAllKeys();n.debug("got keys",o);for(let t=0;ty.searchParams.append("resource",e))}for(const[e,t]of Object.entries({response_mode:a,..._,...h}))null!=t&&y.searchParams.append(e,t.toString());this.url=y.href}},G="openid",K=class{constructor(e){if(this.access_token="",this.token_type="",this.profile={},this.state=e.get("state"),this.session_state=e.get("session_state"),this.state){const e=decodeURIComponent(this.state).split(R);this.state=e[0],e.length>1&&(this.url_state=e.slice(1).join(R))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri"),this.code=e.get("code")}get expires_in(){if(void 0!==this.expires_at)return this.expires_at-E.getEpochTime()}set expires_in(e){"string"===typeof e&&(e=Number(e)),void 0!==e&&e>=0&&(this.expires_at=Math.floor(e)+E.getEpochTime())}get isOpenId(){var e;return(null==(e=this.scope)?void 0:e.split(" ").includes(G))||!!this.id_token}},Y=class{constructor({url:e,state_data:t,id_token_hint:n,post_logout_redirect_uri:r,extraQueryParams:o,request_type:i,client_id:s}){if(this._logger=new m("SignoutRequest"),!e)throw this._logger.error("ctor: No url passed"),new Error("url");const a=new URL(e);n&&a.searchParams.append("id_token_hint",n),s&&a.searchParams.append("client_id",s),r&&(a.searchParams.append("post_logout_redirect_uri",r),t&&(this.state=new H({data:t,request_type:i}),a.searchParams.append("state",this.state.id)));for(const[e,t]of Object.entries({...o}))null!=t&&a.searchParams.append(e,t.toString());this.url=a.href}},J=class{constructor(e){this.state=e.get("state"),this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri")}},X=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],Q=["sub","iss","aud","exp","iat"],Z=class{constructor(e){this._settings=e,this._logger=new m("ClaimsService")}filterProtocolClaims(e){const t={...e};if(this._settings.filterProtocolClaims){let e;e=Array.isArray(this._settings.filterProtocolClaims)?this._settings.filterProtocolClaims:X;for(const n of e)Q.includes(n)||delete t[n]}return t}mergeClaims(e,t){const n={...e};for(const[e,r]of Object.entries(t))for(const t of Array.isArray(r)?r:[r]){const r=n[e];void 0===r?n[e]=t:Array.isArray(r)?r.includes(t)||r.push(t):n[e]!==t&&("object"===typeof t&&this._settings.mergeClaims?n[e]=this.mergeClaims(r,t):n[e]=[r,t])}return n}},ee=class{constructor(e,t){this._logger=new m("OidcClient"),this.settings=e instanceof V?e:new V(e),this.metadataService=null!=t?t:new I(this.settings),this._claimsService=new Z(this.settings),this._validator=new W(this.settings,this.metadataService,this._claimsService),this._tokenClient=new B(this.settings,this.metadataService)}async createSigninRequest({state:e,request:t,request_uri:n,request_type:r,id_token_hint:o,login_hint:i,skipUserInfo:s,nonce:a,url_state:l,response_type:u=this.settings.response_type,scope:c=this.settings.scope,redirect_uri:f=this.settings.redirect_uri,prompt:d=this.settings.prompt,display:p=this.settings.display,max_age:h=this.settings.max_age,ui_locales:v=this.settings.ui_locales,acr_values:g=this.settings.acr_values,resource:m=this.settings.resource,response_mode:_=this.settings.response_mode,extraQueryParams:y=this.settings.extraQueryParams,extraTokenParams:w=this.settings.extraTokenParams}){const b=this._logger.create("createSigninRequest");if("code"!==u)throw new Error("Only the Authorization Code flow (with PKCE) is supported");const S=await this.metadataService.getAuthorizationEndpoint();b.debug("Received authorization endpoint",S);const E=new z({url:S,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:f,response_type:u,scope:c,state_data:e,url_state:l,prompt:d,display:p,max_age:h,ui_locales:v,id_token_hint:o,login_hint:i,acr_values:g,resource:m,request:t,request_uri:n,extraQueryParams:y,extraTokenParams:w,request_type:r,response_mode:_,client_secret:this.settings.client_secret,skipUserInfo:s,nonce:a,disablePKCE:this.settings.disablePKCE});await this.clearStaleState();const k=E.state;return await this.settings.stateStore.set(k.id,k.toStorageString()),E}async readSigninResponseState(e,t=!1){const n=this._logger.create("readSigninResponseState"),r=new K(k.readParams(e,this.settings.response_mode));if(!r.state)throw n.throw(new Error("No state in response")),null;const o=await this.settings.stateStore[t?"remove":"get"](r.state);if(!o)throw n.throw(new Error("No matching state found in storage")),null;const i=q.fromStorageString(o);return{state:i,response:r}}async processSigninResponse(e){const t=this._logger.create("processSigninResponse"),{state:n,response:r}=await this.readSigninResponseState(e,!0);return t.debug("received state from storage; validating response"),await this._validator.validateSigninResponse(r,n),r}async processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:n=!1,extraTokenParams:r={}}){const o=await this._tokenClient.exchangeCredentials({username:e,password:t,...r}),i=new K(new URLSearchParams);return Object.assign(i,o),await this._validator.validateCredentialsResponse(i,n),i}async useRefreshToken({state:e,timeoutInSeconds:t,extraTokenParams:n}){var r;const o=this._logger.create("useRefreshToken");let i;if(void 0===this.settings.refreshTokenAllowedScope)i=e.scope;else{const t=this.settings.refreshTokenAllowedScope.split(" "),n=(null==(r=e.scope)?void 0:r.split(" "))||[];i=n.filter(e=>t.includes(e)).join(" ")}const s=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,resource:e.resource,scope:i,timeoutInSeconds:t,...n}),a=new K(new URLSearchParams);return Object.assign(a,s),o.debug("validating response",a),await this._validator.validateRefreshResponse(a,{...e,scope:i}),a}async createSignoutRequest({state:e,id_token_hint:t,client_id:n,request_type:r,post_logout_redirect_uri:o=this.settings.post_logout_redirect_uri,extraQueryParams:i=this.settings.extraQueryParams}={}){const s=this._logger.create("createSignoutRequest"),a=await this.metadataService.getEndSessionEndpoint();if(!a)throw s.throw(new Error("No end session endpoint")),null;s.debug("Received end session endpoint",a),n||!o||t||(n=this.settings.client_id);const l=new Y({url:a,id_token_hint:t,client_id:n,post_logout_redirect_uri:o,state_data:e,extraQueryParams:i,request_type:r});await this.clearStaleState();const u=l.state;return u&&(s.debug("Signout request has state to persist"),await this.settings.stateStore.set(u.id,u.toStorageString())),l}async readSignoutResponseState(e,t=!1){const n=this._logger.create("readSignoutResponseState"),r=new J(k.readParams(e,this.settings.response_mode));if(!r.state){if(n.debug("No state in response"),r.error)throw n.warn("Response was error:",r.error),new T(r);return{state:void 0,response:r}}const o=await this.settings.stateStore[t?"remove":"get"](r.state);if(!o)throw n.throw(new Error("No matching state found in storage")),null;const i=H.fromStorageString(o);return{state:i,response:r}}async processSignoutResponse(e){const t=this._logger.create("processSignoutResponse"),{state:n,response:r}=await this.readSignoutResponseState(e,!0);return n?(t.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,n)):t.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),H.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(e,t){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:e,token_type_hint:t})}},te=class{constructor(e){this._userManager=e,this._logger=new m("SessionMonitor"),this._start=async e=>{const t=e.session_state;if(!t)return;const n=this._logger.create("_start");if(e.profile?(this._sub=e.profile.sub,this._sid=e.profile.sid,n.debug("session_state",t,", sub",this._sub)):(this._sub=void 0,this._sid=void 0,n.debug("session_state",t,", anonymous user")),this._checkSessionIFrame)this._checkSessionIFrame.start(t);else try{const e=await this._userManager.metadataService.getCheckSessionIframe();if(e){n.debug("initializing check session iframe");const r=this._userManager.settings.client_id,o=this._userManager.settings.checkSessionIntervalInSeconds,i=this._userManager.settings.stopCheckSessionOnError,s=new A(this._callback,r,e,o,i);await s.load(),this._checkSessionIFrame=s,s.start(t)}else n.warn("no check session iframe found in the metadata")}catch(e){n.error("Error from getCheckSessionIframe:",e instanceof Error?e.message:e)}},this._stop=()=>{const e=this._logger.create("_stop");if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const t=setInterval(async()=>{clearInterval(t);try{const e=await this._userManager.querySessionStatus();if(e){const t={session_state:e.session_state,profile:e.sub&&e.sid?{sub:e.sub,sid:e.sid}:null};this._start(t)}}catch(t){e.error("error from querySessionStatus",t instanceof Error?t.message:t)}},1e3)}},this._callback=async()=>{const e=this._logger.create("_callback");try{const t=await this._userManager.querySessionStatus();let n=!0;t&&this._checkSessionIFrame?t.sub===this._sub?(n=!1,this._checkSessionIFrame.start(t.session_state),t.sid===this._sid?e.debug("same sub still logged in at OP, restarting check session iframe; session_state",t.session_state):(e.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",t.session_state),this._userManager.events._raiseUserSessionChanged())):e.debug("different subject signed into OP",t.sub):e.debug("subject no longer signed into OP"),n?this._sub?this._userManager.events._raiseUserSignedOut():this._userManager.events._raiseUserSignedIn():e.debug("no change in session detected, no event to raise")}catch(t){this._sub&&(e.debug("Error calling queryCurrentSigninSession; raising signed out event",t),this._userManager.events._raiseUserSignedOut())}},e||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(e=>{this._logger.error(e)})}async _init(){this._logger.create("_init");const e=await this._userManager.getUser();if(e)this._start(e);else if(this._userManager.settings.monitorAnonymousSession){const e=await this._userManager.querySessionStatus();if(e){const t={session_state:e.session_state,profile:e.sub&&e.sid?{sub:e.sub,sid:e.sid}:null};this._start(t)}}}},ne=class{constructor(e){var t;this.id_token=e.id_token,this.session_state=null!=(t=e.session_state)?t:null,this.access_token=e.access_token,this.refresh_token=e.refresh_token,this.token_type=e.token_type,this.scope=e.scope,this.profile=e.profile,this.expires_at=e.expires_at,this.state=e.userState,this.url_state=e.url_state}get expires_in(){if(void 0!==this.expires_at)return this.expires_at-E.getEpochTime()}set expires_in(e){void 0!==e&&(this.expires_at=Math.floor(e)+E.getEpochTime())}get expired(){const e=this.expires_in;if(void 0!==e)return e<=0}get scopes(){var e,t;return null!=(t=null==(e=this.scope)?void 0:e.split(" "))?t:[]}toStorageString(){return new m("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(e){return m.createStatic("User","fromStorageString"),new ne(JSON.parse(e))}},re="oidc-client",oe=class{constructor(){this._abort=new w("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(e){const t=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");t.debug("setting URL in window"),this._window.location.replace(e.url);const{url:n,keepOpen:r}=await new Promise((n,r)=>{const o=o=>{var i;const s=o.data,a=null!=(i=e.scriptOrigin)?i:window.location.origin;if(o.origin===a&&(null==s?void 0:s.source)===re){try{const n=k.readParams(s.url,e.response_mode).get("state");if(n||t.warn("no state found in response url"),o.source!==this._window&&n!==e.state)return}catch(e){this._dispose(),r(new Error("Invalid response from window"))}n(s)}};window.addEventListener("message",o,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",o,!1)),this._disposeHandlers.add(this._abort.addHandler(e=>{this._dispose(),r(e)}))});return t.debug("got response from window"),this._dispose(),r||this.close(),{url:n}}_dispose(){this._logger.create("_dispose");for(const e of this._disposeHandlers)e();this._disposeHandlers.clear()}static _notifyParent(e,t,n=!1,r=window.location.origin){e.postMessage({source:re,url:t,keepOpen:n},r)}},ie={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},se="_blank",ae=60,le=2,ue=10,ce=class extends V{constructor(e){const{popup_redirect_uri:t=e.redirect_uri,popup_post_logout_redirect_uri:n=e.post_logout_redirect_uri,popupWindowFeatures:r=ie,popupWindowTarget:o=se,redirectMethod:i="assign",redirectTarget:s="self",iframeNotifyParentOrigin:a=e.iframeNotifyParentOrigin,iframeScriptOrigin:l=e.iframeScriptOrigin,silent_redirect_uri:u=e.redirect_uri,silentRequestTimeoutInSeconds:c=ue,automaticSilentRenew:f=!0,validateSubOnSilentRenew:d=!0,includeIdTokenInSilentRenew:p=!1,monitorSession:h=!1,monitorAnonymousSession:v=!1,checkSessionIntervalInSeconds:g=le,query_status_response_type:m="code",stopCheckSessionOnError:_=!0,revokeTokenTypes:y=["access_token","refresh_token"],revokeTokensOnSignout:w=!1,includeIdTokenInSilentSignout:b=!1,accessTokenExpiringNotificationTimeInSeconds:S=ae,userStore:E}=e;if(super(e),this.popup_redirect_uri=t,this.popup_post_logout_redirect_uri=n,this.popupWindowFeatures=r,this.popupWindowTarget=o,this.redirectMethod=i,this.redirectTarget=s,this.iframeNotifyParentOrigin=a,this.iframeScriptOrigin=l,this.silent_redirect_uri=u,this.silentRequestTimeoutInSeconds=c,this.automaticSilentRenew=f,this.validateSubOnSilentRenew=d,this.includeIdTokenInSilentRenew=p,this.monitorSession=h,this.monitorAnonymousSession=v,this.checkSessionIntervalInSeconds=g,this.stopCheckSessionOnError=_,this.query_status_response_type=m,this.revokeTokenTypes=y,this.revokeTokensOnSignout=w,this.includeIdTokenInSilentSignout=b,this.accessTokenExpiringNotificationTimeInSeconds=S,E)this.userStore=E;else{const e="undefined"!==typeof window?window.sessionStorage:new C;this.userStore=new P({store:e})}}},fe=class extends oe{constructor({silentRequestTimeoutInSeconds:e=ue}){super(),this._logger=new m("IFrameWindow"),this._timeoutInSeconds=e,this._frame=fe.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const e=window.document.createElement("iframe");return e.style.visibility="hidden",e.style.position="fixed",e.style.left="-1000px",e.style.top="0",e.width="0",e.height="0",window.document.body.appendChild(e),e}async navigate(e){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const t=setTimeout(()=>this._abort.raise(new O("IFrame timed out without a response")),1e3*this._timeoutInSeconds);return this._disposeHandlers.add(()=>clearTimeout(t)),await super.navigate(e)}close(){var e;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",e=>{var t;const n=e.target;null==(t=n.parentNode)||t.removeChild(n),this._abort.raise(new Error("IFrame removed from DOM"))},!0),null==(e=this._frame.contentWindow)||e.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(e,t){return super._notifyParent(window.parent,e,!1,t)}},de=class{constructor(e){this._settings=e,this._logger=new m("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:e=this._settings.silentRequestTimeoutInSeconds}){return new fe({silentRequestTimeoutInSeconds:e})}async callback(e){this._logger.create("callback"),fe.notifyParent(e,this._settings.iframeNotifyParentOrigin)}},pe=500,he=1e3,ve=class extends oe{constructor({popupWindowTarget:e=se,popupWindowFeatures:t={}}){super(),this._logger=new m("PopupWindow");const n=S.center({...ie,...t});this._window=window.open(void 0,e,S.serialize(n)),t.closePopupWindowAfterInSeconds&&t.closePopupWindowAfterInSeconds>0&&setTimeout(()=>{this._window&&"boolean"===typeof this._window.closed&&!this._window.closed?this.close():this._abort.raise(new Error("Popup blocked by user"))},t.closePopupWindowAfterInSeconds*he)}async navigate(e){var t;null==(t=this._window)||t.focus();const n=setInterval(()=>{this._window&&!this._window.closed||this._abort.raise(new Error("Popup closed by user"))},pe);return this._disposeHandlers.add(()=>clearInterval(n)),await super.navigate(e)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(e,t){if(!window.opener)throw new Error("No window.opener. Can't complete notification.");return super._notifyParent(window.opener,e,t)}},ge=class{constructor(e){this._settings=e,this._logger=new m("PopupNavigator")}async prepare({popupWindowFeatures:e=this._settings.popupWindowFeatures,popupWindowTarget:t=this._settings.popupWindowTarget}){return new ve({popupWindowFeatures:e,popupWindowTarget:t})}async callback(e,{keepOpen:t=!1}){this._logger.create("callback"),ve.notifyOpener(e,t)}},me=class{constructor(e){this._settings=e,this._logger=new m("RedirectNavigator")}async prepare({redirectMethod:e=this._settings.redirectMethod,redirectTarget:t=this._settings.redirectTarget}){var n;this._logger.create("prepare");let r=window.self;"top"===t&&(r=null!=(n=window.top)?n:window.self);const o=r.location[e].bind(r.location);let i;return{navigate:async e=>{this._logger.create("navigate");const t=new Promise((e,t)=>{i=t});return o(e.url),await t},close:()=>{this._logger.create("close"),null==i||i(new Error("Redirect aborted")),r.stop()}}}async callback(){}},_e=class extends x{constructor(e){super({expiringNotificationTimeInSeconds:e.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new m("UserManagerEvents"),this._userLoaded=new w("User loaded"),this._userUnloaded=new w("User unloaded"),this._silentRenewError=new w("Silent renew error"),this._userSignedIn=new w("User signed in"),this._userSignedOut=new w("User signed out"),this._userSessionChanged=new w("User session changed")}load(e,t=!0){super.load(e),t&&this._userLoaded.raise(e)}unload(){super.unload(),this._userUnloaded.raise()}addUserLoaded(e){return this._userLoaded.addHandler(e)}removeUserLoaded(e){return this._userLoaded.removeHandler(e)}addUserUnloaded(e){return this._userUnloaded.addHandler(e)}removeUserUnloaded(e){return this._userUnloaded.removeHandler(e)}addSilentRenewError(e){return this._silentRenewError.addHandler(e)}removeSilentRenewError(e){return this._silentRenewError.removeHandler(e)}_raiseSilentRenewError(e){this._silentRenewError.raise(e)}addUserSignedIn(e){return this._userSignedIn.addHandler(e)}removeUserSignedIn(e){this._userSignedIn.removeHandler(e)}_raiseUserSignedIn(){this._userSignedIn.raise()}addUserSignedOut(e){return this._userSignedOut.addHandler(e)}removeUserSignedOut(e){this._userSignedOut.removeHandler(e)}_raiseUserSignedOut(){this._userSignedOut.raise()}addUserSessionChanged(e){return this._userSessionChanged.addHandler(e)}removeUserSessionChanged(e){this._userSessionChanged.removeHandler(e)}_raiseUserSessionChanged(){this._userSessionChanged.raise()}},ye=class{constructor(e){this._userManager=e,this._logger=new m("SilentRenewService"),this._isStarted=!1,this._retryTimer=new E("Retry Silent Renew"),this._tokenExpiring=async()=>{const e=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),e.debug("silent token renewal successful")}catch(t){if(t instanceof O)return e.warn("ErrorTimeout from signinSilent:",t,"retry in 5s"),void this._retryTimer.init(5);e.error("Error from signinSilent:",t),this._userManager.events._raiseSilentRenewError(t)}}}async start(){const e=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(t){e.error("getUser error",t)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},we=class{constructor(e,t){this.refresh_token=e.refresh_token,this.id_token=e.id_token,this.session_state=e.session_state,this.scope=e.scope,this.profile=e.profile,this.resource=t,this.data=e.state}},be=class{constructor(e,t,n,r){this._logger=new m("UserManager"),this.settings=new ce(e),this._client=new ee(e),this._redirectNavigator=null!=t?t:new me(this.settings),this._popupNavigator=null!=n?n:new ge(this.settings),this._iframeNavigator=null!=r?r:new de(this.settings),this._events=new _e(this.settings),this._silentRenewService=new ye(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new te(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(){const e=this._logger.create("getUser"),t=await this._loadUser();return t?(e.info("user loaded"),this._events.load(t,!1),t):(e.info("user not found in storage"),null)}async removeUser(){const e=this._logger.create("removeUser");await this.storeUser(null),e.info("user removed from storage"),this._events.unload()}async signinRedirect(e={}){this._logger.create("signinRedirect");const{redirectMethod:t,...n}=e,r=await this._redirectNavigator.prepare({redirectMethod:t});await this._signinStart({request_type:"si:r",...n},r)}async signinRedirectCallback(e=window.location.href){const t=this._logger.create("signinRedirectCallback"),n=await this._signinEnd(e);return n.profile&&n.profile.sub?t.info("success, signed in subject",n.profile.sub):t.info("no subject"),n}async signinResourceOwnerCredentials({username:e,password:t,skipUserInfo:n=!1}){const r=this._logger.create("signinResourceOwnerCredential"),o=await this._client.processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:n,extraTokenParams:this.settings.extraTokenParams});r.debug("got signin response");const i=await this._buildUser(o);return i.profile&&i.profile.sub?r.info("success, signed in subject",i.profile.sub):r.info("no subject"),i}async signinPopup(e={}){const t=this._logger.create("signinPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...o}=e,i=this.settings.popup_redirect_uri;i||t.throw(new Error("No popup_redirect_uri configured"));const s=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r}),a=await this._signin({request_type:"si:p",redirect_uri:i,display:"popup",...o},s);return a&&(a.profile&&a.profile.sub?t.info("success, signed in subject",a.profile.sub):t.info("no subject")),a}async signinPopupCallback(e=window.location.href,t=!1){const n=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),n.info("success")}async signinSilent(e={}){var t;const n=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:r,resource:o,...i}=e;let s=await this._loadUser();if(null==s?void 0:s.refresh_token){n.debug("using refresh token");const e=new we(s,o);return await this._useRefreshToken({state:e,extraTokenParams:i.extraTokenParams})}const a=this.settings.silent_redirect_uri;let l;a||n.throw(new Error("No silent_redirect_uri configured")),s&&this.settings.validateSubOnSilentRenew&&(n.debug("subject prior to silent renew:",s.profile.sub),l=s.profile.sub);const u=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});return s=await this._signin({request_type:"si:s",redirect_uri:a,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?null==s?void 0:s.id_token:void 0,...i},u,l),s&&((null==(t=s.profile)?void 0:t.sub)?n.info("success, signed in subject",s.profile.sub):n.info("no subject")),s}async _useRefreshToken(e){const t=await this._client.useRefreshToken({...e,timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds}),n=new ne({...e.state,...t});return await this.storeUser(n),this._events.load(n),n}async signinSilentCallback(e=window.location.href){const t=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async signinCallback(e=window.location.href){const{state:t}=await this._client.readSigninResponseState(e);switch(t.request_type){case"si:r":return await this.signinRedirectCallback(e);case"si:p":return await this.signinPopupCallback(e);case"si:s":return await this.signinSilentCallback(e);default:throw new Error("invalid response_type in state")}}async signoutCallback(e=window.location.href,t=!1){const{state:n}=await this._client.readSignoutResponseState(e);if(n)switch(n.request_type){case"so:r":return await this.signoutRedirectCallback(e);case"so:p":await this.signoutPopupCallback(e,t);break;case"so:s":await this.signoutSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(e={}){const t=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:n,...r}=e,o=this.settings.silent_redirect_uri;o||t.throw(new Error("No silent_redirect_uri configured"));const i=await this._loadUser(),s=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:n}),a=await this._signinStart({request_type:"si:s",redirect_uri:o,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?null==i?void 0:i.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...r},s);try{const e=await this._client.processSigninResponse(a.url);return t.debug("got signin response"),e.session_state&&e.profile.sub?(t.info("success for subject",e.profile.sub),{session_state:e.session_state,sub:e.profile.sub,sid:e.profile.sid}):(t.info("success, user not authenticated"),null)}catch(e){if(this.settings.monitorAnonymousSession&&e instanceof T)switch(e.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return t.info("success for anonymous user"),{session_state:e.session_state}}throw e}}async _signin(e,t,n){const r=await this._signinStart(e,t);return await this._signinEnd(r.url,n)}async _signinStart(e,t){const n=this._logger.create("_signinStart");try{const r=await this._client.createSigninRequest(e);return n.debug("got signin request"),await t.navigate({url:r.url,state:r.state.id,response_mode:r.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(e){throw n.debug("error after preparing navigator, closing navigator window"),t.close(),e}}async _signinEnd(e,t){const n=this._logger.create("_signinEnd"),r=await this._client.processSigninResponse(e);n.debug("got signin response");const o=await this._buildUser(r,t);return o}async _buildUser(e,t){const n=this._logger.create("_buildUser"),r=new ne(e);if(t){if(t!==r.profile.sub)throw n.debug("current user does not match user returned from signin. sub from signin:",r.profile.sub),new T({...e,error:"login_required"});n.debug("current user matches user returned from signin")}return await this.storeUser(r),n.debug("user stored"),this._events.load(r),r}async signoutRedirect(e={}){const t=this._logger.create("signoutRedirect"),{redirectMethod:n,...r}=e,o=await this._redirectNavigator.prepare({redirectMethod:n});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...r},o),t.info("success")}async signoutRedirectCallback(e=window.location.href){const t=this._logger.create("signoutRedirectCallback"),n=await this._signoutEnd(e);return t.info("success"),n}async signoutPopup(e={}){const t=this._logger.create("signoutPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...o}=e,i=this.settings.popup_post_logout_redirect_uri,s=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r});await this._signout({request_type:"so:p",post_logout_redirect_uri:i,state:null==i?void 0:{},...o},s),t.info("success")}async signoutPopupCallback(e=window.location.href,t=!1){const n=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),n.info("success")}async _signout(e,t){const n=await this._signoutStart(e,t);return await this._signoutEnd(n.url)}async _signoutStart(e={},t){var n;const r=this._logger.create("_signoutStart");try{const o=await this._loadUser();r.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(o);const i=e.id_token_hint||o&&o.id_token;i&&(r.debug("setting id_token_hint in signout request"),e.id_token_hint=i),await this.removeUser(),r.debug("user removed, creating signout request");const s=await this._client.createSignoutRequest(e);return r.debug("got signout request"),await t.navigate({url:s.url,state:null==(n=s.state)?void 0:n.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(e){throw r.debug("error after preparing navigator, closing navigator window"),t.close(),e}}async _signoutEnd(e){const t=this._logger.create("_signoutEnd"),n=await this._client.processSignoutResponse(e);return t.debug("got signout response"),n}async signoutSilent(e={}){var t;const n=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:r,...o}=e,i=this.settings.includeIdTokenInSilentSignout?null==(t=await this._loadUser())?void 0:t.id_token:void 0,s=this.settings.popup_post_logout_redirect_uri,a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});await this._signout({request_type:"so:s",post_logout_redirect_uri:s,id_token_hint:i,...o},a),n.info("success")}async signoutSilentCallback(e=window.location.href){const t=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async revokeTokens(e){const t=await this._loadUser();await this._revokeInternal(t,e)}async _revokeInternal(e,t=this.settings.revokeTokenTypes){const n=this._logger.create("_revokeInternal");if(!e)return;const r=t.filter(t=>"string"===typeof e[t]);if(r.length){for(const t of r)await this._client.revokeToken(e[t],t),n.info(`${t} revoked successfully`),"access_token"!==t&&(e[t]=null);await this.storeUser(e),n.debug("user stored"),this._events.load(e)}else n.debug("no need to revoke due to no token(s)")}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const e=this._logger.create("_loadUser"),t=await this.settings.userStore.get(this._userStoreKey);return t?(e.debug("user storageString loaded"),ne.fromStorageString(t)):(e.debug("no user storageString"),null)}async storeUser(e){const t=this._logger.create("storeUser");if(e){t.debug("storing user");const n=e.toStorageString();await this.settings.userStore.set(this._userStoreKey,n)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey)}async clearStaleState(){await this._client.clearStaleState()}},Se="2.5.0",Ee=Se},1038(e,t,n){"use strict";var r={"./layouts/main/index.vue":()=>n.e(3569).then(()=>()=>n(3569)),"./layouts/centralClean/index.vue":()=>n.e(2296).then(()=>()=>n(2296)),"./components/StandardPage.vue":()=>n.e(9113).then(()=>()=>n(9113)),"./components/StdToolbarBtn.vue":()=>n.e(2543).then(()=>()=>n(2543)),"./components/StdToolbarInput.vue":()=>n.e(6349).then(()=>()=>n(6349))},o=(e,t)=>(n.R=t,t=n.o(r,e)?r[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),n.R=void 0,t),i=(e,t)=>{if(n.S){var r="default",o=n.S[r];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return n.S[r]=e,n.I(r,t)}};n.d(t,{get:()=>o,init:()=>i})},3031(e,t,n){"use strict";n.r(t),n.d(t,{Portal:()=>c,PortalTarget:()=>d,Wormhole:()=>m,createWormhole:()=>p,default:()=>g,install:()=>g,mountPortalTarget:()=>v,provideWormhole:()=>s,useWormhole:()=>i,version:()=>_});var r=n(4084);const o=Symbol("wormhole");function i(){const e=(0,r.inject)(o);if(!e)throw new Error("\n [portal-vue]: Necessary Injection not found. Make sur you installed the plugin properly.");return e}function s(e){(0,r.provide)(o,e)}const a=typeof window<"u";function l(e,t){return e.map((e,t)=>[t,e]).sort(function(e,n){return t(e[1],n[1])||e[0]-n[0]}).map(e=>e[1])}function u(e,t){const n=i();function o(){if(!a)return;const{to:r,name:o,order:i}=e;t.default?n.open({to:r,from:o,order:i,content:t.default}):s()}function s(t){n.close({to:t??e.to,from:e.name})}(0,r.onMounted)(()=>{e.disabled||o()}),(0,r.onUpdated)(()=>{e.disabled?s():o()}),(0,r.onBeforeUnmount)(()=>{s()}),(0,r.watch)(()=>e.to,(t,n)=>{e.disabled||(n&&n!==t&&s(n),o())})}const c=(0,r.defineComponent)({compatConfig:{MODE:3},name:"portal",props:{disabled:{type:Boolean},name:{type:[String,Symbol],default:()=>Symbol()},order:{type:Number},slotProps:{type:Object,default:()=>({})},to:{type:String,default:()=>String(Math.round(1e7*Math.random()))}},setup(e,{slots:t}){return u(e,t),()=>e.disabled&&t.default?t.default(e.slotProps):null}}),f=(e,{slots:t})=>{var n;return null==(n=t.default)?void 0:n.call(t)},d=(0,r.defineComponent)({compatConfig:{MODE:3},name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slotProps:{type:Object,default:()=>({})}},emits:["change"],setup(e,{emit:t,slots:n}){const o=i(),s=(0,r.computed)(()=>{const t=o.getContentForTarget(e.name,e.multiple),r=n.wrapper,i=t.map(t=>t.content(e.slotProps)),s=r?i.flatMap(e=>e.length?r(e):[]):i.flat(1);return{vnodes:s,vnodesFn:()=>s}});return(0,r.watch)(s,({vnodes:n})=>{const r=n.length>0,i=o.transports.get(e.name),s=i?[...i.keys()]:[];t("change",{hasContent:r,sources:s})},{flush:"post"}),()=>{var e;return s.value.vnodes.length?[(0,r.h)("div",{style:"display: none",key:"__portal-vue-hacky-scoped-slot-repair__"}),(0,r.h)(f,s.value.vnodesFn)]:null==(e=n.default)?void 0:e.call(n)}}});function p(e=!0){const t=(0,r.reactive)(new Map);function n(e){if(!a)return;const{to:n,from:r,content:o,order:i=1/0}=e;if(!n||!r||!o)return;t.has(n)||t.set(n,new Map);const s=t.get(n),l={to:n,from:r,content:o,order:i};s.set(r,l)}function o(e){const{to:n,from:r}=e;if(!n||!r)return;const o=t.get(n);!o||(o.delete(r),o.size||t.delete(n))}function i(e,n){const r=t.get(e);if(!r)return[];const o=Array.from((null==r?void 0:r.values())||[]);return n?l(o,(e,t)=>e.order-t.order):[o.pop()]}const s={open:n,close:o,transports:t,getContentForTarget:i};return e?(0,r.readonly)(s):s}const h=p();function v(e,t){const n=(0,r.createApp)({render:()=>(0,r.h)(d,e)});if(!e.multiple){const e=(0,r.getCurrentInstance)().provides??{};n._context.provides=Object.create(e)}(0,r.onMounted)(()=>{n.mount(t)}),(0,r.onBeforeUnmount)(()=>{n.unmount()})}function g(e,t={}){!1!==t.portalName&&e.component(t.portalName||"Portal",c),!1!==t.portalTargetName&&e.component(t.portalTargetName||"PortalTarget",d);const n=t.wormhole??h;e.provide(o,n)}const m=h,_="3.0.0"},3877(e,t,n){var r; /** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */e=n.nmd(e),function(){var o,i="4.17.23",s=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,d="__lodash_placeholder__",p=1,h=2,v=4,g=1,m=2,_=1,y=2,w=4,b=8,S=16,E=32,k=64,R=128,T=256,O=512,x=30,A="...",C=800,N=16,I=1,P=2,L=3,M=1/0,D=9007199254740991,F=17976931348623157e292,U=NaN,j=4294967295,V=j-1,$=j>>>1,B=[["ary",R],["bind",_],["bindKey",y],["curry",b],["curryRight",S],["flip",O],["partial",E],["partialRight",k],["rearg",T]],W="[object Arguments]",H="[object Array]",q="[object AsyncFunction]",z="[object Boolean]",G="[object Date]",K="[object DOMException]",Y="[object Error]",J="[object Function]",X="[object GeneratorFunction]",Q="[object Map]",Z="[object Number]",ee="[object Null]",te="[object Object]",ne="[object Promise]",re="[object Proxy]",oe="[object RegExp]",ie="[object Set]",se="[object String]",ae="[object Symbol]",le="[object Undefined]",ue="[object WeakMap]",ce="[object WeakSet]",fe="[object ArrayBuffer]",de="[object DataView]",pe="[object Float32Array]",he="[object Float64Array]",ve="[object Int8Array]",ge="[object Int16Array]",me="[object Int32Array]",_e="[object Uint8Array]",ye="[object Uint8ClampedArray]",we="[object Uint16Array]",be="[object Uint32Array]",Se=/\b__p \+= '';/g,Ee=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Re=/&(?:amp|lt|gt|quot|#39);/g,Te=/[&<>"']/g,Oe=RegExp(Re.source),xe=RegExp(Te.source),Ae=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Ne=/<%=([\s\S]+?)%>/g,Ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pe=/^\w*$/,Le=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/[\\^$.*+?()[\]{}|]/g,De=RegExp(Me.source),Fe=/^\s+/,Ue=/\s/,je=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ve=/\{\n\/\* \[wrapped with (.+)\] \*/,$e=/,? & /,Be=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,We=/[()=,{}\[\]\/\s]/,He=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,Ge=/^[-+]0x[0-9a-f]+$/i,Ke=/^0b[01]+$/i,Ye=/^\[object .+?Constructor\]$/,Je=/^0o[0-7]+$/i,Xe=/^(?:0|[1-9]\d*)$/,Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ze=/($^)/,et=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",nt="\\u0300-\\u036f",rt="\\ufe20-\\ufe2f",ot="\\u20d0-\\u20ff",it=nt+rt+ot,st="\\u2700-\\u27bf",at="a-z\\xdf-\\xf6\\xf8-\\xff",lt="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ct="\\u2000-\\u206f",ft=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dt="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",ht=lt+ut+ct+ft,vt="['’]",gt="["+tt+"]",mt="["+ht+"]",_t="["+it+"]",yt="\\d+",wt="["+st+"]",bt="["+at+"]",St="[^"+tt+ht+yt+st+at+dt+"]",Et="\\ud83c[\\udffb-\\udfff]",kt="(?:"+_t+"|"+Et+")",Rt="[^"+tt+"]",Tt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ot="[\\ud800-\\udbff][\\udc00-\\udfff]",xt="["+dt+"]",At="\\u200d",Ct="(?:"+bt+"|"+St+")",Nt="(?:"+xt+"|"+St+")",It="(?:"+vt+"(?:d|ll|m|re|s|t|ve))?",Pt="(?:"+vt+"(?:D|LL|M|RE|S|T|VE))?",Lt=kt+"?",Mt="["+pt+"]?",Dt="(?:"+At+"(?:"+[Rt,Tt,Ot].join("|")+")"+Mt+Lt+")*",Ft="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ut="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",jt=Mt+Lt+Dt,Vt="(?:"+[wt,Tt,Ot].join("|")+")"+jt,$t="(?:"+[Rt+_t+"?",_t,Tt,Ot,gt].join("|")+")",Bt=RegExp(vt,"g"),Wt=RegExp(_t,"g"),Ht=RegExp(Et+"(?="+Et+")|"+$t+jt,"g"),qt=RegExp([xt+"?"+bt+"+"+It+"(?="+[mt,xt,"$"].join("|")+")",Nt+"+"+Pt+"(?="+[mt,xt+Ct,"$"].join("|")+")",xt+"?"+Ct+"+"+It,xt+"+"+Pt,Ut,Ft,yt,Vt].join("|"),"g"),zt=RegExp("["+At+tt+it+pt+"]"),Gt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Yt=-1,Jt={};Jt[pe]=Jt[he]=Jt[ve]=Jt[ge]=Jt[me]=Jt[_e]=Jt[ye]=Jt[we]=Jt[be]=!0,Jt[W]=Jt[H]=Jt[fe]=Jt[z]=Jt[de]=Jt[G]=Jt[Y]=Jt[J]=Jt[Q]=Jt[Z]=Jt[te]=Jt[oe]=Jt[ie]=Jt[se]=Jt[ue]=!1;var Xt={};Xt[W]=Xt[H]=Xt[fe]=Xt[de]=Xt[z]=Xt[G]=Xt[pe]=Xt[he]=Xt[ve]=Xt[ge]=Xt[me]=Xt[Q]=Xt[Z]=Xt[te]=Xt[oe]=Xt[ie]=Xt[se]=Xt[ae]=Xt[_e]=Xt[ye]=Xt[we]=Xt[be]=!0,Xt[Y]=Xt[J]=Xt[ue]=!1;var Qt={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Zt={"&":"&","<":"<",">":">",'"':""","'":"'"},en={"&":"&","<":"<",">":">",""":'"',"'":"'"},tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,sn="object"==typeof self&&self&&self.Object===Object&&self,an=on||sn||Function("return this")(),ln=t&&!t.nodeType&&t,un=ln&&e&&!e.nodeType&&e,cn=un&&un.exports===ln,fn=cn&&on.process,dn=function(){try{var e=un&&un.require&&un.require("util").types;return e||fn&&fn.binding&&fn.binding("util")}catch(e){}}(),pn=dn&&dn.isArrayBuffer,hn=dn&&dn.isDate,vn=dn&&dn.isMap,gn=dn&&dn.isRegExp,mn=dn&&dn.isSet,_n=dn&&dn.isTypedArray;function yn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function wn(e,t,n,r){var o=-1,i=null==e?0:e.length;while(++o-1}function Tn(e,t,n){var r=-1,o=null==e?0:e.length;while(++r-1);return n}function Zn(e,t){var n=e.length;while(n--&&Fn(t,e[n],0)>-1);return n}function er(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var tr=Bn(Qt),nr=Bn(Zt);function rr(e){return"\\"+tn[e]}function or(e,t){return null==e?o:e[t]}function ir(e){return zt.test(e)}function sr(e){return Gt.test(e)}function ar(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function lr(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function ur(e,t){return function(n){return e(t(n))}}function cr(e,t){var n=-1,r=e.length,o=0,i=[];while(++n-1}function Br(e,t){var n=this.__data__,r=co(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Wr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t=t?e:t)),e}function _o(e,t,n,r,i,s){var a,l=t&p,u=t&h,c=t&v;if(n&&(a=i?n(e,r,i,s):n(e)),a!==o)return a;if(!kc(e))return e;var f=lc(e);if(f){if(a=ta(e),!l)return os(e,a)}else{var d=Xs(e),g=d==J||d==X;if(pc(e))return Ki(e,l);if(d==te||d==W||g&&!i){if(a=u||g?{}:na(e),!l)return u?as(e,ho(a,e)):ss(e,po(a,e))}else{if(!Xt[d])return i?e:{};a=ra(e,d,l)}}s||(s=new Qr);var m=s.get(e);if(m)return m;s.set(e,a),Fc(e)?e.forEach(function(r){a.add(_o(r,t,n,r,e,s))}):Tc(e)&&e.forEach(function(r,o){a.set(o,_o(r,t,n,o,e,s))});var _=c?u?Vs:js:u?kf:Ef,y=f?o:_(e);return bn(y||e,function(r,o){y&&(o=r,r=e[o]),uo(a,o,_o(r,t,n,o,e,s))}),a}function yo(e){var t=Ef(e);return function(n){return wo(n,e,t)}}function wo(e,t,n){var r=n.length;if(null==e)return!r;e=nt(e);while(r--){var i=n[r],s=t[i],a=e[i];if(a===o&&!(i in e)||!s(a))return!1}return!0}function bo(e,t,n){if("function"!=typeof e)throw new it(l);return Ra(function(){e.apply(o,n)},t)}function So(e,t,n,r){var o=-1,i=Rn,a=!0,l=e.length,u=[],c=t.length;if(!l)return u;n&&(t=On(t,Yn(n))),r?(i=Tn,a=!1):t.length>=s&&(i=Xn,a=!1,t=new Yr(t));e:while(++oi?0:i+n),r=r===o||r>i?i:Kc(r),r<0&&(r+=i),r=n>r?0:Yc(r);while(n0&&n(a)?t>1?Ao(a,t-1,n,r,o):xn(o,a):r||(o[o.length]=a)}return o}var Co=fs(),No=fs(!0);function Io(e,t){return e&&Co(e,t,Ef)}function Po(e,t){return e&&No(e,t,Ef)}function Lo(e,t){return kn(t,function(t){return bc(e[t])})}function Mo(e,t){t=Hi(t,e);var n=0,r=t.length;while(null!=e&&nt}function jo(e,t){return null!=e&&ft.call(e,t)}function Vo(e,t){return null!=e&&t in nt(e)}function $o(e,t,n){return e>=$t(t,n)&&e=120&&d.length>=120)?new Yr(l&&d):o}d=e[0];var p=-1,h=u[0];e:while(++p-1)a!==e&&Rt.call(a,l,1),Rt.call(e,l,1)}return e}function mi(e,t){var n=e?t.length:0,r=n-1;while(n--){var o=t[n];if(n==r||o!==i){var i=o;sa(o)?Rt.call(e,o,1):Di(e,o)}}return e}function _i(e,t){return e+Lt(zt()*(t-e+1))}function yi(e,t,r,o){var i=-1,s=Vt(Pt((t-e)/(r||1)),0),a=n(s);while(s--)a[o?s:++i]=e,e+=r;return a}function wi(e,t){var n="";if(!e||t<1||t>D)return n;do{t%2&&(n+=e),t=Lt(t/2),t&&(e+=e)}while(t);return n}function bi(e,t){return Ta(wa(e,t,Nd),e+"")}function Si(e){return io(Bf(e))}function Ei(e,t){var n=Bf(e);return Aa(n,mo(t,0,n.length))}function ki(e,t,n,r){if(!kc(e))return e;t=Hi(t,e);var i=-1,s=t.length,a=s-1,l=e;while(null!=l&&++ii?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;var s=n(i);while(++o>>1,s=e[i];null!==s&&!jc(s)&&(n?s<=t:s=s){var c=t?null:As(e);if(c)return fr(c);a=!1,o=Xn,u=new Yr}else u=t?[]:l;e:while(++r=r?e:xi(e,t,n)}var Gi=Ct||function(e){return an.clearTimeout(e)};function Ki(e,t){if(t)return e.slice();var n=e.length,r=bt?bt(n):new e.constructor(n);return e.copy(r),r}function Yi(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function Ji(e,t){var n=t?Yi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Xi(e){var t=new e.constructor(e.source,ze.exec(e));return t.lastIndex=e.lastIndex,t}function Qi(e){return yr?nt(yr.call(e)):{}}function Zi(e,t){var n=t?Yi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function es(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,s=jc(e),a=t!==o,l=null===t,u=t===t,c=jc(t);if(!l&&!c&&!s&&e>t||s&&a&&u&&!l&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!s&&!c&&e=a)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}function ns(e,t,r,o){var i=-1,s=e.length,a=r.length,l=-1,u=t.length,c=Vt(s-a,0),f=n(u+c),d=!o;while(++l1?n[i-1]:o,a=i>2?n[2]:o;s=e.length>3&&"function"==typeof s?(i--,s):o,a&&aa(n[0],n[1],a)&&(s=i<3?o:s,i=1),t=nt(t);while(++r-1?i[s?t[a]:a]:o}}function _s(e){return Us(function(t){var n=t.length,r=n,i=Tr.prototype.thru;e&&t.reverse();while(r--){var s=t[r];if("function"!=typeof s)throw new it(l);if(i&&!a&&"wrapper"==Bs(s))var a=new Tr([],!0)}r=a?r:n;while(++r1&&_.reverse(),d&&cl))return!1;var c=s.get(e),f=s.get(t);if(c&&f)return c==t&&f==e;var d=-1,p=!0,h=n&m?new Yr:o;s.set(e,t),s.set(t,e);while(++d1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(je,"{\n/* [wrapped with "+t+"] */\n")}function ia(e){return lc(e)||ac(e)||!!(Tt&&e&&e[Tt])}function sa(e,t){var n=typeof e;return t=null==t?D:t,!!t&&("number"==n||"symbol"!=n&&Xe.test(e))&&e>-1&&e%1==0&&e0){if(++t>=C)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Aa(e,t){var n=-1,r=e.length,i=r-1;t=t===o?r:t;while(++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Dl(e,n)});function ql(e){var t=Sr(e);return t.__chain__=!0,t}function zl(e,t){return t(e),e}function Gl(e,t){return t(e)}var Kl=Us(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return go(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Or&&sa(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Gl,args:[i],thisArg:o}),new Tr(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(i)});function Yl(){return ql(this)}function Jl(){return new Tr(this.value(),this.__chain__)}function Xl(){this.__values__===o&&(this.__values__=zc(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function Ql(){return this}function Zl(e){var t,n=this;while(n instanceof Rr){var r=La(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t}function eu(){var e=this.__wrapped__;if(e instanceof Or){var t=e;return this.__actions__.length&&(t=new Or(this)),t=t.reverse(),t.__actions__.push({func:Gl,args:[hl],thisArg:o}),new Tr(t,this.__chain__)}return this.thru(hl)}function tu(){return ji(this.__wrapped__,this.__actions__)}var nu=ls(function(e,t,n){ft.call(e,n)?++e[n]:vo(e,n,1)});function ru(e,t,n){var r=lc(e)?En:Ro;return n&&aa(e,t,n)&&(t=o),r(e,Hs(t,3))}function ou(e,t){var n=lc(e)?kn:xo;return n(e,Hs(t,3))}var iu=ms(za),su=ms(Ga);function au(e,t){return Ao(gu(e,t),1)}function lu(e,t){return Ao(gu(e,t),M)}function uu(e,t,n){return n=n===o?1:Kc(n),Ao(gu(e,t),n)}function cu(e,t){var n=lc(e)?bn:Eo;return n(e,Hs(t,3))}function fu(e,t){var n=lc(e)?Sn:ko;return n(e,Hs(t,3))}var du=ls(function(e,t,n){ft.call(e,n)?e[n].push(t):vo(e,n,[t])});function pu(e,t,n,r){e=cc(e)?e:Bf(e),n=n&&!r?Kc(n):0;var o=e.length;return n<0&&(n=Vt(o+n,0)),Uc(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Fn(e,t,n)>-1}var hu=bi(function(e,t,r){var o=-1,i="function"==typeof t,s=cc(e)?n(e.length):[];return Eo(e,function(e){s[++o]=i?yn(t,e,r):Ho(e,t,r)}),s}),vu=ls(function(e,t,n){vo(e,n,t)});function gu(e,t){var n=lc(e)?On:si;return n(e,Hs(t,3))}function mu(e,t,n,r){return null==e?[]:(lc(t)||(t=null==t?[]:[t]),n=r?o:n,lc(n)||(n=null==n?[]:[n]),di(e,t,n))}var _u=ls(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});function yu(e,t,n){var r=lc(e)?An:Wn,o=arguments.length<3;return r(e,Hs(t,4),n,o,Eo)}function wu(e,t,n){var r=lc(e)?Cn:Wn,o=arguments.length<3;return r(e,Hs(t,4),n,o,ko)}function bu(e,t){var n=lc(e)?kn:xo;return n(e,$u(Hs(t,3)))}function Su(e){var t=lc(e)?io:Si;return t(e)}function Eu(e,t,n){t=(n?aa(e,t,n):t===o)?1:Kc(t);var r=lc(e)?so:Ei;return r(e,t)}function ku(e){var t=lc(e)?ao:Oi;return t(e)}function Ru(e){if(null==e)return 0;if(cc(e))return Uc(e)?vr(e):e.length;var t=Xs(e);return t==Q||t==ie?e.size:ri(e).length}function Tu(e,t,n){var r=lc(e)?Nn:Ai;return n&&aa(e,t,n)&&(t=o),r(e,Hs(t,3))}var Ou=bi(function(e,t){if(null==e)return[];var n=t.length;return n>1&&aa(e,t[0],t[1])?t=[]:n>2&&aa(t[0],t[1],t[2])&&(t=[t[0]]),di(e,Ao(t,1),[])}),xu=Nt||function(){return an.Date.now()};function Au(e,t){if("function"!=typeof t)throw new it(l);return e=Kc(e),function(){if(--e<1)return t.apply(this,arguments)}}function Cu(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Ns(e,R,o,o,o,o,t)}function Nu(e,t){var n;if("function"!=typeof t)throw new it(l);return e=Kc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Iu=bi(function(e,t,n){var r=_;if(n.length){var o=cr(n,Ws(Iu));r|=E}return Ns(e,r,t,n,o)}),Pu=bi(function(e,t,n){var r=_|y;if(n.length){var o=cr(n,Ws(Pu));r|=E}return Ns(t,r,e,n,o)});function Lu(e,t,n){t=n?o:t;var r=Ns(e,b,o,o,o,o,o,t);return r.placeholder=Lu.placeholder,r}function Mu(e,t,n){t=n?o:t;var r=Ns(e,S,o,o,o,o,o,t);return r.placeholder=Mu.placeholder,r}function Du(e,t,n){var r,i,s,a,u,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new it(l);function v(t){var n=r,s=i;return r=i=o,f=t,a=e.apply(s,n),a}function g(e){return f=e,u=Ra(y,t),d?v(e):a}function m(e){var n=e-c,r=e-f,o=t-n;return p?$t(o,s-r):o}function _(e){var n=e-c,r=e-f;return c===o||n>=t||n<0||p&&r>=s}function y(){var e=xu();if(_(e))return w(e);u=Ra(y,m(e))}function w(e){return u=o,h&&r?v(e):(r=i=o,a)}function b(){u!==o&&Gi(u),f=0,r=c=i=u=o}function S(){return u===o?a:w(xu())}function E(){var e=xu(),n=_(e);if(r=arguments,i=this,c=e,n){if(u===o)return g(c);if(p)return Gi(u),u=Ra(y,t),v(c)}return u===o&&(u=Ra(y,t)),a}return t=Jc(t)||0,kc(n)&&(d=!!n.leading,p="maxWait"in n,s=p?Vt(Jc(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),E.cancel=b,E.flush=S,E}var Fu=bi(function(e,t){return bo(e,1,t)}),Uu=bi(function(e,t,n){return bo(e,Jc(t)||0,n)});function ju(e){return Ns(e,O)}function Vu(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new it(l);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(Vu.Cache||Wr),n}function $u(e){if("function"!=typeof e)throw new it(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Bu(e){return Nu(2,e)}Vu.Cache=Wr;var Wu=qi(function(e,t){t=1==t.length&&lc(t[0])?On(t[0],Yn(Hs())):On(Ao(t,1),Yn(Hs()));var n=t.length;return bi(function(r){var o=-1,i=$t(r.length,n);while(++o=t}),ac=qo(function(){return arguments}())?qo:function(e){return Rc(e)&&ft.call(e,"callee")&&!kt.call(e,"callee")},lc=n.isArray,uc=pn?Yn(pn):zo;function cc(e){return null!=e&&Ec(e.length)&&!bc(e)}function fc(e){return Rc(e)&&cc(e)}function dc(e){return!0===e||!1===e||Rc(e)&&Fo(e)==z}var pc=Dt||Yd,hc=hn?Yn(hn):Go;function vc(e){return Rc(e)&&1===e.nodeType&&!Lc(e)}function gc(e){if(null==e)return!0;if(cc(e)&&(lc(e)||"string"==typeof e||"function"==typeof e.splice||pc(e)||Vc(e)||ac(e)))return!e.length;var t=Xs(e);if(t==Q||t==ie)return!e.size;if(pa(e))return!ri(e).length;for(var n in e)if(ft.call(e,n))return!1;return!0}function mc(e,t){return Ko(e,t)}function _c(e,t,n){n="function"==typeof n?n:o;var r=n?n(e,t):o;return r===o?Ko(e,t,o,n):!!r}function yc(e){if(!Rc(e))return!1;var t=Fo(e);return t==Y||t==K||"string"==typeof e.message&&"string"==typeof e.name&&!Lc(e)}function wc(e){return"number"==typeof e&&Ft(e)}function bc(e){if(!kc(e))return!1;var t=Fo(e);return t==J||t==X||t==q||t==re}function Sc(e){return"number"==typeof e&&e==Kc(e)}function Ec(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=D}function kc(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Rc(e){return null!=e&&"object"==typeof e}var Tc=vn?Yn(vn):Jo;function Oc(e,t){return e===t||Xo(e,t,zs(t))}function xc(e,t,n){return n="function"==typeof n?n:o,Xo(e,t,zs(t),n)}function Ac(e){return Pc(e)&&e!=+e}function Cc(e){if(da(e))throw new Ue(a);return Qo(e)}function Nc(e){return null===e}function Ic(e){return null==e}function Pc(e){return"number"==typeof e||Rc(e)&&Fo(e)==Z}function Lc(e){if(!Rc(e)||Fo(e)!=te)return!1;var t=St(e);if(null===t)return!0;var n=ft.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==vt}var Mc=gn?Yn(gn):Zo;function Dc(e){return Sc(e)&&e>=-D&&e<=D}var Fc=mn?Yn(mn):ei;function Uc(e){return"string"==typeof e||!lc(e)&&Rc(e)&&Fo(e)==se}function jc(e){return"symbol"==typeof e||Rc(e)&&Fo(e)==ae}var Vc=_n?Yn(_n):ti;function $c(e){return e===o}function Bc(e){return Rc(e)&&Xs(e)==ue}function Wc(e){return Rc(e)&&Fo(e)==ce}var Hc=Ts(ii),qc=Ts(function(e,t){return e<=t});function zc(e){if(!e)return[];if(cc(e))return Uc(e)?gr(e):os(e);if(Ot&&e[Ot])return ar(e[Ot]());var t=Xs(e),n=t==Q?lr:t==ie?fr:Bf;return n(e)}function Gc(e){if(!e)return 0===e?e:0;if(e=Jc(e),e===M||e===-M){var t=e<0?-1:1;return t*F}return e===e?e:0}function Kc(e){var t=Gc(e),n=t%1;return t===t?n?t-n:t:0}function Yc(e){return e?mo(Kc(e),0,j):0}function Jc(e){if("number"==typeof e)return e;if(jc(e))return U;if(kc(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=kc(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kn(e);var n=Ke.test(e);return n||Je.test(e)?rn(e.slice(2),n?2:8):Ge.test(e)?U:+e}function Xc(e){return is(e,kf(e))}function Qc(e){return e?mo(Kc(e),-D,D):0===e?e:0}function Zc(e){return null==e?"":Li(e)}var ef=us(function(e,t){if(pa(t)||cc(t))is(t,Ef(t),e);else for(var n in t)ft.call(t,n)&&uo(e,n,t[n])}),tf=us(function(e,t){is(t,kf(t),e)}),nf=us(function(e,t,n,r){is(t,kf(t),e,r)}),rf=us(function(e,t,n,r){is(t,Ef(t),e,r)}),of=Us(go);function sf(e,t){var n=kr(e);return null==t?n:po(n,t)}var af=bi(function(e,t){e=nt(e);var n=-1,r=t.length,i=r>2?t[2]:o;i&&aa(t[0],t[1],i)&&(r=1);while(++n1),t}),is(e,Vs(e),n),r&&(n=_o(n,p|h|v,Ls));var o=t.length;while(o--)Di(n,t[o]);return n});function Cf(e,t){return If(e,$u(Hs(t)))}var Nf=Us(function(e,t){return null==e?{}:pi(e,t)});function If(e,t){if(null==e)return{};var n=On(Vs(e),function(e){return[e]});return t=Hs(t),hi(e,n,function(e,n){return t(e,n[0])})}function Pf(e,t,n){t=Hi(t,e);var r=-1,i=t.length;i||(i=1,e=o);while(++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=zt();return $t(e+i*(t-e+nn("1e-"+((i+"").length-1))),t)}return _i(e,t)}var Gf=hs(function(e,t,n){return t=t.toLowerCase(),e+(n?Kf(t):t)});function Kf(e){return bd(Zc(e).toLowerCase())}function Yf(e){return e=Zc(e),e&&e.replace(Qe,tr).replace(Wt,"")}function Jf(e,t,n){e=Zc(e),t=Li(t);var r=e.length;n=n===o?r:mo(Kc(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function Xf(e){return e=Zc(e),e&&xe.test(e)?e.replace(Te,nr):e}function Qf(e){return e=Zc(e),e&&De.test(e)?e.replace(Me,"\\$&"):e}var Zf=hs(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),ed=hs(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),td=ps("toLowerCase");function nd(e,t,n){e=Zc(e),t=Kc(t);var r=t?vr(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Es(Lt(o),n)+e+Es(Pt(o),n)}function rd(e,t,n){e=Zc(e),t=Kc(t);var r=t?vr(e):0;return t&&r>>0,n?(e=Zc(e),e&&("string"==typeof t||null!=t&&!Mc(t))&&(t=Li(t),!t&&ir(e))?zi(gr(e),0,n):e.split(t,n)):[]}var cd=hs(function(e,t,n){return e+(n?" ":"")+bd(t)});function fd(e,t,n){return e=Zc(e),n=null==n?0:mo(Kc(n),0,e.length),t=Li(t),e.slice(n,n+t.length)==t}function dd(e,t,n){var r=Sr.templateSettings;n&&aa(e,t,n)&&(t=o),e=Zc(e),t=nf({},t,r,Is);var i,s,a=nf({},t.imports,r.imports,Is),l=Ef(a),c=Jn(a,l),f=0,d=t.interpolate||Ze,p="__p += '",h=rt((t.escape||Ze).source+"|"+d.source+"|"+(d===Ne?qe:Ze).source+"|"+(t.evaluate||Ze).source+"|$","g"),v="//# sourceURL="+(ft.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Yt+"]")+"\n";e.replace(h,function(t,n,r,o,a,l){return r||(r=o),p+=e.slice(f,l).replace(et,rr),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),a&&(s=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=l+t.length,t}),p+="';\n";var g=ft.call(t,"variable")&&t.variable;if(g){if(We.test(g))throw new Ue(u)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(Se,""):p).replace(Ee,"$1").replace(ke,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Ed(function(){return Be(l,v+"return "+p).apply(o,c)});if(m.source=p,yc(m))throw m;return m}function pd(e){return Zc(e).toLowerCase()}function hd(e){return Zc(e).toUpperCase()}function vd(e,t,n){if(e=Zc(e),e&&(n||t===o))return Kn(e);if(!e||!(t=Li(t)))return e;var r=gr(e),i=gr(t),s=Qn(r,i),a=Zn(r,i)+1;return zi(r,s,a).join("")}function gd(e,t,n){if(e=Zc(e),e&&(n||t===o))return e.slice(0,mr(e)+1);if(!e||!(t=Li(t)))return e;var r=gr(e),i=Zn(r,gr(t))+1;return zi(r,0,i).join("")}function md(e,t,n){if(e=Zc(e),e&&(n||t===o))return e.replace(Fe,"");if(!e||!(t=Li(t)))return e;var r=gr(e),i=Qn(r,gr(t));return zi(r,i).join("")}function _d(e,t){var n=x,r=A;if(kc(t)){var i="separator"in t?t.separator:i;n="length"in t?Kc(t.length):n,r="omission"in t?Li(t.omission):r}e=Zc(e);var s=e.length;if(ir(e)){var a=gr(e);s=a.length}if(n>=s)return e;var l=n-vr(r);if(l<1)return r;var u=a?zi(a,0,l).join(""):e.slice(0,l);if(i===o)return u+r;if(a&&(l+=u.length-l),Mc(i)){if(e.slice(l).search(i)){var c,f=u;i.global||(i=rt(i.source,Zc(ze.exec(i))+"g")),i.lastIndex=0;while(c=i.exec(f))var d=c.index;u=u.slice(0,d===o?l:d)}}else if(e.indexOf(Li(i),l)!=l){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r}function yd(e){return e=Zc(e),e&&Oe.test(e)?e.replace(Re,_r):e}var wd=hs(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),bd=ps("toUpperCase");function Sd(e,t,n){return e=Zc(e),t=n?o:t,t===o?sr(e)?br(e):Ln(e):e.match(t)||[]}var Ed=bi(function(e,t){try{return yn(e,o,t)}catch(e){return yc(e)?e:new Ue(e)}}),kd=Us(function(e,t){return bn(t,function(t){t=Na(t),vo(e,t,Iu(e[t],e))}),e});function Rd(e){var t=null==e?0:e.length,n=Hs();return e=t?On(e,function(e){if("function"!=typeof e[1])throw new it(l);return[n(e[0]),e[1]]}):[],bi(function(n){var r=-1;while(++rD)return[];var n=j,r=$t(e,j);t=Hs(t),e-=j;var o=zn(r,t);while(++n0||t<0)?new Or(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=Kc(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Or.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Or.prototype.toArray=function(){return this.take(j)},Io(Or.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Sr[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);i&&(Sr.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,l=t instanceof Or,u=a[0],c=l||lc(t),f=function(e){var t=i.apply(Sr,xn([e],a));return r&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=s&&!d,v=l&&!p;if(!s&&c){t=v?t:new Or(this);var g=e.apply(t,a);return g.__actions__.push({func:Gl,args:[f],thisArg:o}),new Tr(g,d)}return h&&v?e.apply(this,a):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})}),bn(["pop","push","shift","sort","splice","unshift"],function(e){var t=st[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Sr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(lc(o)?o:[],e)}return this[n](function(n){return t.apply(lc(n)?n:[],e)})}}),Io(Or.prototype,function(e,t){var n=Sr[t];if(n){var r=n.name+"";ft.call(un,r)||(un[r]=[]),un[r].push({name:t,func:n})}}),un[ys(o,y).name]=[{name:"wrapper",func:o}],Or.prototype.clone=xr,Or.prototype.reverse=Ar,Or.prototype.value=Cr,Sr.prototype.at=Kl,Sr.prototype.chain=Yl,Sr.prototype.commit=Jl,Sr.prototype.next=Xl,Sr.prototype.plant=Zl,Sr.prototype.reverse=eu,Sr.prototype.toJSON=Sr.prototype.valueOf=Sr.prototype.value=tu,Sr.prototype.first=Sr.prototype.head,Ot&&(Sr.prototype[Ot]=Ql),Sr},Er=Sr();an._=Er,r=function(){return Er}.call(t,n,t,e),r===o||(e.exports=r)}.call(this)},3892(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redirect=t.capitalize=t.pascalize=t.camelize=t.elementIsHidden=t.getVisibleElementsByClassName=void 0;const n=function(e){window.location.href=e};t.redirect=n;const r=function(e,t=!1){if(t){const t=window.getComputedStyle(e);return"none"===t.display}return null===e.offsetParent};t.elementIsHidden=r;const o=function(e,t,n=!1){const o=e.getElementsByClassName(t),i=[];for(let e=0;ee in t}n.r(t),n.d(t,{BaseTransition:()=>Dr,BaseTransitionPropsValidators:()=>Ir,Comment:()=>Hs,DeprecationTypes:()=>ol,EffectScope:()=>de,ErrorCodes:()=>Sn,ErrorTypeStrings:()=>Xa,Fragment:()=>Bs,KeepAlive:()=>wo,ReactiveEffect:()=>me,Static:()=>qs,Suspense:()=>Ns,Teleport:()=>Rr,Text:()=>Ws,TrackOpTypes:()=>un,Transition:()=>yl,TransitionGroup:()=>xu,TriggerOpTypes:()=>cn,VueElement:()=>_u,assertNumber:()=>bn,callWithAsyncErrorHandling:()=>Rn,callWithErrorHandling:()=>kn,camelize:()=>I,capitalize:()=>M,cloneVNode:()=>fa,compatUtils:()=>rl,compile:()=>hc,computed:()=>Ha,createApp:()=>lc,createBlock:()=>ta,createCommentVNode:()=>ha,createElementBlock:()=>ea,createElementVNode:()=>aa,createHydrationRenderer:()=>_s,createPropsRestProxy:()=>mi,createRenderer:()=>ms,createSSRApp:()=>uc,createSlots:()=>Yo,createStaticVNode:()=>pa,createTextVNode:()=>da,createVNode:()=>la,customRef:()=>en,defineAsyncComponent:()=>go,defineComponent:()=>Wr,defineCustomElement:()=>vu,defineEmits:()=>ii,defineExpose:()=>si,defineModel:()=>ui,defineOptions:()=>ai,defineProps:()=>oi,defineSSRCustomElement:()=>gu,defineSlots:()=>li,devtools:()=>Qa,effect:()=>Ce,effectScope:()=>pe,getCurrentInstance:()=>ka,getCurrentScope:()=>he,getCurrentWatcher:()=>hn,getTransitionRawChildren:()=>Br,guardReactiveProps:()=>ca,h:()=>qa,handleError:()=>Tn,hasInjectionContext:()=>ir,hydrate:()=>ac,hydrateOnIdle:()=>lo,hydrateOnInteraction:()=>po,hydrateOnMediaQuery:()=>fo,hydrateOnVisible:()=>co,initCustomFormatter:()=>za,initDirectivesForSSR:()=>pc,inject:()=>or,isMemoSame:()=>Ka,isProxy:()=>Ut,isReactive:()=>Mt,isReadonly:()=>Dt,isRef:()=>Wt,isRuntimeOnly:()=>Fa,isShallow:()=>Ft,isVNode:()=>na,markRaw:()=>Vt,mergeDefaults:()=>vi,mergeModels:()=>gi,mergeProps:()=>_a,nextTick:()=>Mn,nodeOps:()=>dl,normalizeClass:()=>X,normalizeProps:()=>Q,normalizeStyle:()=>z,onActivated:()=>So,onBeforeMount:()=>Co,onBeforeUnmount:()=>Lo,onBeforeUpdate:()=>Io,onDeactivated:()=>Eo,onErrorCaptured:()=>jo,onMounted:()=>No,onRenderTracked:()=>Uo,onRenderTriggered:()=>Fo,onScopeDispose:()=>ve,onServerPrefetch:()=>Do,onUnmounted:()=>Mo,onUpdated:()=>Po,onWatcherCleanup:()=>vn,openBlock:()=>Ks,patchProp:()=>du,popScopeId:()=>Qn,provide:()=>rr,proxyRefs:()=>Qt,pushScopeId:()=>Xn,queuePostFlushCb:()=>jn,reactive:()=>Ct,readonly:()=>It,ref:()=>Ht,registerRuntimeCompiler:()=>Da,render:()=>sc,renderList:()=>Ko,renderSlot:()=>Jo,resolveComponent:()=>Bo,resolveDirective:()=>qo,resolveDynamicComponent:()=>Ho,resolveFilter:()=>nl,resolveTransitionHooks:()=>Ur,setBlockTracking:()=>Qs,setDevtoolsHook:()=>Za,setTransitionHooks:()=>$r,shallowReactive:()=>Nt,shallowReadonly:()=>Pt,shallowRef:()=>qt,ssrContextKey:()=>sr,ssrUtils:()=>tl,stop:()=>Ne,toDisplayString:()=>se,toHandlerKey:()=>D,toHandlers:()=>Qo,toRaw:()=>jt,toRef:()=>on,toRefs:()=>tn,toValue:()=>Jt,transformVNodeArgs:()=>oa,triggerRef:()=>Kt,unref:()=>Yt,useAttrs:()=>di,useCssModule:()=>bu,useCssVars:()=>$l,useHost:()=>yu,useId:()=>Hr,useModel:()=>Ui,useSSRContext:()=>ar,useShadowRoot:()=>wu,useSlots:()=>fi,useTemplateRef:()=>zr,useTransitionState:()=>Cr,vModelCheckbox:()=>ju,vModelDynamic:()=>zu,vModelRadio:()=>$u,vModelSelect:()=>Bu,vModelText:()=>Uu,vShow:()=>Fl,version:()=>Ya,warn:()=>Ja,watch:()=>fr,watchEffect:()=>lr,watchPostEffect:()=>ur,watchSyncEffect:()=>cr,withAsyncContext:()=>_i,withCtx:()=>er,withDefaults:()=>ci,withDirectives:()=>tr,withKeys:()=>ec,withMemo:()=>Ga,withModifiers:()=>Qu,withScopeId:()=>Zn});const o={},i=[],s=()=>{},a=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),c=Object.assign,f=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,p=(e,t)=>d.call(e,t),h=Array.isArray,v=e=>"[object Map]"===R(e),g=e=>"[object Set]"===R(e),m=e=>"[object Date]"===R(e),_=e=>"[object RegExp]"===R(e),y=e=>"function"===typeof e,w=e=>"string"===typeof e,b=e=>"symbol"===typeof e,S=e=>null!==e&&"object"===typeof e,E=e=>(S(e)||y(e))&&y(e.then)&&y(e.catch),k=Object.prototype.toString,R=e=>k.call(e),T=e=>R(e).slice(8,-1),O=e=>"[object Object]"===R(e),x=e=>w(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},N=/-\w/g,I=C(e=>e.replace(N,e=>e.slice(1).toUpperCase())),P=/\B([A-Z])/g,L=C(e=>e.replace(P,"-$1").toLowerCase()),M=C(e=>e.charAt(0).toUpperCase()+e.slice(1)),D=C(e=>{const t=e?`on${M(e)}`:"";return t}),F=(e,t)=>!Object.is(e,t),U=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},V=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$=e=>{const t=w(e)?Number(e):NaN;return isNaN(t)?e:t};let B;const W=()=>B||(B="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof globalThis?globalThis:{});const H="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",q=r(H);function z(e){if(h(e)){const t={};for(let n=0;n{if(e){const n=e.split(K);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function X(e){let t="";if(w(e))t=e;else if(h(e))for(let n=0;nre(e,t))}const ie=e=>!(!e||!0!==e["__v_isRef"]),se=e=>w(e)?e:null==e?"":h(e)||S(e)&&(e.toString===k||!y(e.toString))?ie(e)?se(e.value):JSON.stringify(e,ae,2):String(e),ae=(e,t)=>ie(t)?ae(e,t.value):v(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[le(t,r)+" =>"]=n,e),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>le(e))}:b(t)?le(t):!S(t)||h(t)||O(t)?t:String(t),le=(e,t="")=>{var n;return b(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function ue(e){return null==e?"initial":"string"===typeof e?""===e?" ":e:("number"===typeof e&&Number.isFinite(e),String(e))}let ce,fe;class de{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ce,!e&&ce&&(this.index=(ce.scopes||(ce.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0&&0===--this._on&&(ce=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t0)return;if(ye){let e=ye;ye=void 0;while(e){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;while(_e){let t=_e;_e=void 0;while(t){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function ke(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Re(e){let t,n=e.depsTail,r=n;while(r){const e=r.prevDep;-1===r.version?(r===n&&(n=e),xe(r),Ae(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Te(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Oe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Oe(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===Fe)return;if(e.globalVersion=Fe,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!Te(e)))return;e.flags|=2;const t=e.dep,n=fe,r=Ie;fe=e,Ie=!0;try{ke(e);const n=e.fn(e._value);(0===t.version||F(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{fe=n,Ie=r,Re(e),e.flags&=-3}}function xe(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),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)xe(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function Ae(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Ce(e,t){e.effect instanceof me&&(e=e.effect.fn);const n=new me(e);t&&c(n,t);try{n.run()}catch(e){throw n.stop(),e}const r=n.run.bind(n);return r.effect=n,r}function Ne(e){e.effect.stop()}let Ie=!0;const Pe=[];function Le(){Pe.push(Ie),Ie=!1}function Me(){const e=Pe.pop();Ie=void 0===e||e}function De(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=fe;fe=void 0;try{t()}finally{fe=e}}}let Fe=0;class Ue{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class je{constructor(e){this.computed=e,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}track(e){if(!fe||!Ie||fe===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==fe)t=this.activeLink=new Ue(fe,this),fe.deps?(t.prevDep=fe.depsTail,fe.depsTail.nextDep=t,fe.depsTail=t):fe.deps=fe.depsTail=t,Ve(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=fe.depsTail,t.nextDep=void 0,fe.depsTail.nextDep=t,fe.depsTail=t,fe.deps===t&&(fe.deps=e)}return t}trigger(e){this.version++,Fe++,this.notify(e)}notify(e){Se();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ee()}}}function Ve(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ve(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const $e=new WeakMap,Be=Symbol(""),We=Symbol(""),He=Symbol("");function qe(e,t,n){if(Ie&&fe){let t=$e.get(e);t||$e.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new je),r.map=t,r.key=n),r.track()}}function ze(e,t,n,r,o,i){const s=$e.get(e);if(!s)return void Fe++;const a=e=>{e&&e.trigger()};if(Se(),"clear"===t)s.forEach(a);else{const o=h(e),i=o&&x(n);if(o&&"length"===n){const e=Number(r);s.forEach((t,n)=>{("length"===n||n===He||!b(n)&&n>=e)&&a(t)})}else switch((void 0!==n||s.has(void 0))&&a(s.get(n)),i&&a(s.get(He)),t){case"add":o?i&&a(s.get("length")):(a(s.get(Be)),v(e)&&a(s.get(We)));break;case"delete":o||(a(s.get(Be)),v(e)&&a(s.get(We)));break;case"set":v(e)&&a(s.get(Be));break}}Ee()}function Ge(e,t){const n=$e.get(e);return n&&n.get(t)}function Ke(e){const t=jt(e);return t===e?t:(qe(t,"iterate",He),Ft(e)?t:t.map($t))}function Ye(e){return qe(e=jt(e),"iterate",He),e}function Je(e,t){return Dt(e)?Mt(e)?Bt($t(t)):Bt(t):$t(t)}const Xe={__proto__:null,[Symbol.iterator](){return Qe(this,Symbol.iterator,e=>Je(this,e))},concat(...e){return Ke(this).concat(...e.map(e=>h(e)?Ke(e):e))},entries(){return Qe(this,"entries",e=>(e[1]=Je(this,e[1]),e))},every(e,t){return et(this,"every",e,t,void 0,arguments)},filter(e,t){return et(this,"filter",e,t,e=>e.map(e=>Je(this,e)),arguments)},find(e,t){return et(this,"find",e,t,e=>Je(this,e),arguments)},findIndex(e,t){return et(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return et(this,"findLast",e,t,e=>Je(this,e),arguments)},findLastIndex(e,t){return et(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return et(this,"forEach",e,t,void 0,arguments)},includes(...e){return nt(this,"includes",e)},indexOf(...e){return nt(this,"indexOf",e)},join(e){return Ke(this).join(e)},lastIndexOf(...e){return nt(this,"lastIndexOf",e)},map(e,t){return et(this,"map",e,t,void 0,arguments)},pop(){return rt(this,"pop")},push(...e){return rt(this,"push",e)},reduce(e,...t){return tt(this,"reduce",e,t)},reduceRight(e,...t){return tt(this,"reduceRight",e,t)},shift(){return rt(this,"shift")},some(e,t){return et(this,"some",e,t,void 0,arguments)},splice(...e){return rt(this,"splice",e)},toReversed(){return Ke(this).toReversed()},toSorted(e){return Ke(this).toSorted(e)},toSpliced(...e){return Ke(this).toSpliced(...e)},unshift(...e){return rt(this,"unshift",e)},values(){return Qe(this,"values",e=>Je(this,e))}};function Qe(e,t,n){const r=Ye(e),o=r[t]();return r===e||Ft(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.done||(e.value=n(e.value)),e}),o}const Ze=Array.prototype;function et(e,t,n,r,o,i){const s=Ye(e),a=s!==e&&!Ft(e),l=s[t];if(l!==Ze[t]){const t=l.apply(e,i);return a?$t(t):t}let u=n;s!==e&&(a?u=function(t,r){return n.call(this,Je(e,t),r,e)}:n.length>2&&(u=function(t,r){return n.call(this,t,r,e)}));const c=l.call(s,u,r);return a&&o?o(c):c}function tt(e,t,n,r){const o=Ye(e);let i=n;return o!==e&&(Ft(e)?n.length>3&&(i=function(t,r,o){return n.call(this,t,r,o,e)}):i=function(t,r,o){return n.call(this,t,Je(e,r),o,e)}),o[t](i,...r)}function nt(e,t,n){const r=jt(e);qe(r,"iterate",He);const o=r[t](...n);return-1!==o&&!1!==o||!Ut(n[0])?o:(n[0]=jt(n[0]),r[t](...n))}function rt(e,t,n=[]){Le(),Se();const r=jt(e)[t].apply(e,n);return Ee(),Me(),r}const ot=r("__proto__,__v_isRef,__isVue"),it=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(b));function st(e){b(e)||(e=String(e));const t=jt(this);return qe(t,"has",e),t.hasOwnProperty(e)}class at{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e["__v_skip"];const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Ot:Tt:o?Rt:kt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=h(e);if(!r){let e;if(i&&(e=Xe[t]))return e;if("hasOwnProperty"===t)return st}const s=Reflect.get(e,t,Wt(e)?e:n);if(b(t)?it.has(t):ot(t))return s;if(r||qe(e,"get",t),o)return s;if(Wt(s)){const e=i&&x(t)?s:s.value;return r&&S(e)?It(e):e}return S(s)?r?It(s):Ct(s):s}}class lt extends at{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];const i=h(e)&&x(t);if(!this._isShallow){const e=Dt(o);if(Ft(n)||Dt(n)||(o=jt(o),n=jt(n)),!i&&Wt(o)&&!Wt(n))return e||(o.value=n),!0}const s=i?Number(t)e,vt=e=>Reflect.getPrototypeOf(e);function gt(e,t,n){return function(...r){const o=this["__v_raw"],i=jt(o),s=v(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,u=o[e](...r),f=n?ht:t?Bt:$t;return!t&&qe(i,"iterate",l?We:Be),c(Object.create(u),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[f(e[0]),f(e[1])]:f(e),done:t}}})}}function mt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function _t(e,t){const n={get(n){const r=this["__v_raw"],o=jt(r),i=jt(n);e||(F(n,i)&&qe(o,"get",n),qe(o,"get",i));const{has:s}=vt(o),a=t?ht:e?Bt:$t;return s.call(o,n)?a(r.get(n)):s.call(o,i)?a(r.get(i)):void(r!==o&&r.get(n))},get size(){const t=this["__v_raw"];return!e&&qe(jt(t),"iterate",Be),t.size},has(t){const n=this["__v_raw"],r=jt(n),o=jt(t);return e||(F(t,o)&&qe(r,"has",t),qe(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,r){const o=this,i=o["__v_raw"],s=jt(i),a=t?ht:e?Bt:$t;return!e&&qe(s,"iterate",Be),i.forEach((e,t)=>n.call(r,a(e),a(t),o))}};c(n,e?{add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear")}:{add(e){t||Ft(e)||Dt(e)||(e=jt(e));const n=jt(this),r=vt(n),o=r.has.call(n,e);return o||(n.add(e),ze(n,"add",e,e)),this},set(e,n){t||Ft(n)||Dt(n)||(n=jt(n));const r=jt(this),{has:o,get:i}=vt(r);let s=o.call(r,e);s||(e=jt(e),s=o.call(r,e));const a=i.call(r,e);return r.set(e,n),s?F(n,a)&&ze(r,"set",e,n,a):ze(r,"add",e,n),this},delete(e){const t=jt(this),{has:n,get:r}=vt(t);let o=n.call(t,e);o||(e=jt(e),o=n.call(t,e));const i=r?r.call(t,e):void 0,s=t.delete(e);return o&&ze(t,"delete",e,void 0,i),s},clear(){const e=jt(this),t=0!==e.size,n=void 0,r=e.clear();return t&&ze(e,"clear",void 0,void 0,n),r}});const r=["keys","values","entries",Symbol.iterator];return r.forEach(r=>{n[r]=gt(r,e,t)}),n}function yt(e,t){const n=_t(e,t);return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(p(n,r)&&r in t?n:t,r,o)}const wt={get:yt(!1,!1)},bt={get:yt(!1,!0)},St={get:yt(!0,!1)},Et={get:yt(!0,!0)};const kt=new WeakMap,Rt=new WeakMap,Tt=new WeakMap,Ot=new WeakMap;function xt(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function At(e){return e["__v_skip"]||!Object.isExtensible(e)?0:xt(T(e))}function Ct(e){return Dt(e)?e:Lt(e,!1,ct,wt,kt)}function Nt(e){return Lt(e,!1,dt,bt,Rt)}function It(e){return Lt(e,!0,ft,St,Tt)}function Pt(e){return Lt(e,!0,pt,Et,Ot)}function Lt(e,t,n,r,o){if(!S(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const i=At(e);if(0===i)return e;const s=o.get(e);if(s)return s;const a=new Proxy(e,2===i?r:n);return o.set(e,a),a}function Mt(e){return Dt(e)?Mt(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Dt(e){return!(!e||!e["__v_isReadonly"])}function Ft(e){return!(!e||!e["__v_isShallow"])}function Ut(e){return!!e&&!!e["__v_raw"]}function jt(e){const t=e&&e["__v_raw"];return t?jt(t):e}function Vt(e){return!p(e,"__v_skip")&&Object.isExtensible(e)&&j(e,"__v_skip",!0),e}const $t=e=>S(e)?Ct(e):e,Bt=e=>S(e)?It(e):e;function Wt(e){return!!e&&!0===e["__v_isRef"]}function Ht(e){return zt(e,!1)}function qt(e){return zt(e,!0)}function zt(e,t){return Wt(e)?e:new Gt(e,t)}class Gt{constructor(e,t){this.dep=new je,this["__v_isRef"]=!0,this["__v_isShallow"]=!1,this._rawValue=t?e:jt(e),this._value=t?e:$t(e),this["__v_isShallow"]=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this["__v_isShallow"]||Ft(e)||Dt(e);e=n?e:jt(e),F(e,t)&&(this._rawValue=e,this._value=n?e:$t(e),this.dep.trigger())}}function Kt(e){e.dep&&e.dep.trigger()}function Yt(e){return Wt(e)?e.value:e}function Jt(e){return y(e)?e():Yt(e)}const Xt={get:(e,t,n)=>"__v_raw"===t?e:Yt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Wt(o)&&!Wt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Qt(e){return Mt(e)?e:new Proxy(e,Xt)}class Zt{constructor(e){this["__v_isRef"]=!0,this._value=void 0;const t=this.dep=new je,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function en(e){return new Zt(e)}function tn(e){const t=h(e)?new Array(e.length):{};for(const n in e)t[n]=sn(e,n);return t}class nn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this["__v_isRef"]=!0,this._value=void 0,this._raw=jt(e);let r=!0,o=e;if(!h(e)||!x(String(t)))do{r=!Ut(o)||Ft(o)}while(r&&(o=o["__v_raw"]));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=Yt(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&Wt(this._raw[this._key])){const t=this._object[this._key];if(Wt(t))return void(t.value=e)}this._object[this._key]=e}get dep(){return Ge(this._raw,this._key)}}class rn{constructor(e){this._getter=e,this["__v_isRef"]=!0,this["__v_isReadonly"]=!0,this._value=void 0}get value(){return this._value=this._getter()}}function on(e,t,n){return Wt(e)?e:y(e)?new rn(e):S(e)&&arguments.length>1?sn(e,t,n):Ht(e)}function sn(e,t,n){return new nn(e,t,n)}class an{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new je(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Fe-1,this.next=void 0,this.effect=this,this["__v_isReadonly"]=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||fe===this))return be(this,!0),!0}get value(){const e=this.dep.track();return Oe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function ln(e,t,n=!1){let r,o;y(e)?r=e:(r=e.get,o=e.set);const i=new an(r,o,n);return i}const un={GET:"get",HAS:"has",ITERATE:"iterate"},cn={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},fn={},dn=new WeakMap;let pn;function hn(){return pn}function vn(e,t=!1,n=pn){if(n){let t=dn.get(n);t||dn.set(n,t=[]),t.push(e)}else 0}function gn(e,t,n=o){const{immediate:r,deep:i,once:a,scheduler:l,augmentJob:u,call:c}=n,d=e=>i?e:Ft(e)||!1===i||0===i?mn(e,1):mn(e);let p,v,g,m,_=!1,w=!1;if(Wt(e)?(v=()=>e.value,_=Ft(e)):Mt(e)?(v=()=>d(e),_=!0):h(e)?(w=!0,_=e.some(e=>Mt(e)||Ft(e)),v=()=>e.map(e=>Wt(e)?e.value:Mt(e)?d(e):y(e)?c?c(e,2):e():void 0)):v=y(e)?t?c?()=>c(e,2):e:()=>{if(g){Le();try{g()}finally{Me()}}const t=pn;pn=p;try{return c?c(e,3,[m]):e(m)}finally{pn=t}}:s,t&&i){const e=v,t=!0===i?1/0:i;v=()=>mn(e(),t)}const b=he(),S=()=>{p.stop(),b&&b.active&&f(b.effects,p)};if(a&&t){const e=t;t=(...t)=>{e(...t),S()}}let E=w?new Array(e.length).fill(fn):fn;const k=e=>{if(1&p.flags&&(p.dirty||e))if(t){const e=p.run();if(i||_||(w?e.some((e,t)=>F(e,E[t])):F(e,E))){g&&g();const n=pn;pn=p;try{const n=[e,E===fn?void 0:w&&E[0]===fn?[]:E,m];E=e,c?c(t,3,n):t(...n)}finally{pn=n}}}else p.run()};return u&&u(k),p=new me(v),p.scheduler=l?()=>l(k,!1):k,m=e=>vn(e,!1,p),g=p.onStop=()=>{const e=dn.get(p);if(e){if(c)c(e,4);else for(const t of e)t();dn.delete(p)}},t?r?k(!0):E=p.run():l?l(k.bind(null,!0),!0):p.run(),S.pause=p.pause.bind(p),S.resume=p.resume.bind(p),S.stop=S,S}function mn(e,t=1/0,n){if(t<=0||!S(e)||e["__v_skip"])return e;if(n=n||new Map,(n.get(e)||0)>=t)return e;if(n.set(e,t),t--,Wt(e))mn(e.value,t,n);else if(h(e))for(let r=0;r{mn(e,t,n)});else if(O(e)){for(const r in e)mn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&mn(e[r],t,n)}return e} /** * @vue/runtime-core v3.5.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ const _n=[];function yn(e){_n.push(e)}function wn(){_n.pop()}function bn(e,t){}const Sn={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},En={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 kn(e,t,n,r){try{return r?e(...r):e()}catch(e){Tn(e,t,n)}}function Rn(e,t,n,r){if(y(e)){const o=kn(e,t,n,r);return o&&E(o)&&o.catch(e=>{Tn(e,t,n)}),o}if(h(e)){const o=[];for(let i=0;i>>1,o=xn[r],i=Bn(o);i=Bn(n)?xn.push(e):xn.splice(Dn(t),0,e),e.flags|=1,Un()}}function Un(){Ln||(Ln=Pn.then(Wn))}function jn(e){h(e)?Cn.push(...e):Nn&&-1===e.id?Nn.splice(In+1,0,e):1&e.flags||(Cn.push(e),e.flags|=1),Un()}function Vn(e,t,n=An+1){for(0;nBn(e)-Bn(t));if(Cn.length=0,Nn)return void Nn.push(...e);for(Nn=e,In=0;Innull==e.id?2&e.flags?-1:1/0:e.id;function Wn(e){try{for(An=0;AnHn.emit(e,...t)),qn=[];else if("undefined"!==typeof window&&window.HTMLElement&&!(null==(r=null==(n=window.navigator)?void 0:n.userAgent)?void 0:r.includes("jsdom"))){const e=t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[];e.push(e=>{Gn(e,t)}),setTimeout(()=>{Hn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,zn=!0,qn=[])},3e3)}else zn=!0,qn=[]}let Kn=null,Yn=null;function Jn(e){const t=Kn;return Kn=e,Yn=e&&e.type.__scopeId||null,t}function Xn(e){Yn=e}function Qn(){Yn=null}const Zn=e=>er;function er(e,t=Kn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Qs(-1);const o=Jn(t);let i;try{i=e(...n)}finally{Jn(o),r._d&&Qs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function tr(e,t){if(null===Kn)return e;const n=$a(Kn),r=e.dirs||(e.dirs=[]);for(let e=0;e1)return n&&y(t)?t.call(r&&r.proxy):t}else 0}function ir(){return!(!ka()&&!Fi)}const sr=Symbol.for("v-scx"),ar=()=>{{const e=or(sr);return e}};function lr(e,t){return dr(e,null,t)}function ur(e,t){return dr(e,null,{flush:"post"})}function cr(e,t){return dr(e,null,{flush:"sync"})}function fr(e,t,n){return dr(e,t,n)}function dr(e,t,n=o){const{immediate:r,deep:i,flush:a,once:l}=n;const u=c({},n);const f=t&&r||!t&&"post"!==a;let d;if(Ia)if("sync"===a){const e=ar();d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!f){const e=()=>{};return e.stop=s,e.resume=s,e.pause=s,e}const p=Ea;u.call=(e,t,n)=>Rn(e,p,t,n);let h=!1;"post"===a?u.scheduler=e=>{gs(e,p&&p.suspense)}:"sync"!==a&&(h=!0,u.scheduler=(e,t)=>{t?e():Fn(e)}),u.augmentJob=e=>{t&&(e.flags|=4),h&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const v=gn(e,t,u);return Ia&&(d?d.push(v):f&&v()),v}function pr(e,t,n){const r=this.proxy,o=w(e)?e.includes(".")?hr(r,e):()=>r[e]:e.bind(r,r);let i;y(t)?i=t:(i=t.handler,n=t);const s=Oa(this),a=dr(o,i.bind(r),n);return s(),a}function hr(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;ee.__isTeleport,mr=e=>e&&(e.disabled||""===e.disabled),_r=e=>e&&(e.defer||""===e.defer),yr=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,wr=e=>"function"===typeof MathMLElement&&e instanceof MathMLElement,br=(e,t)=>{const n=e&&e.to;if(w(n)){if(t){const e=t(n);return e}return null}return n},Sr={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:v,createComment:g}}=u,m=mr(t.props);let{shapeFlag:_,children:y,dynamicChildren:w}=t;if(null==e){const e=t.el=v(""),u=t.anchor=v("");p(e,n,r),p(u,n,r);const f=(e,t)=>{16&_&&c(y,e,t,o,i,s,a,l)},d=()=>{const e=t.target=br(t.props,h),n=Or(e,t,v,p);e&&("svg"!==s&&yr(e)?s="svg":"mathml"!==s&&wr(e)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(e),m||(f(e,n),Tr(t,!1)))};m&&(f(n,u),Tr(t,!0)),_r(t.props)?(t.el.__isMounted=!1,gs(()=>{d(),delete t.el.__isMounted},i)):d()}else{if(_r(t.props)&&!1===e.el.__isMounted)return void gs(()=>{Sr.process(e,t,n,r,o,i,s,a,l,u)},i);t.el=e.el,t.targetStart=e.targetStart;const c=t.anchor=e.anchor,p=t.target=e.target,v=t.targetAnchor=e.targetAnchor,g=mr(e.props),_=g?n:p,y=g?c:v;if("svg"===s||yr(p)?s="svg":("mathml"===s||wr(p))&&(s="mathml"),w?(d(e.dynamicChildren,w,_,o,i,s,a),Es(e,t,!0)):l||f(e,t,_,y,o,i,s,a,!1),m)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Er(t,n,c,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=br(t.props,h);e&&Er(t,e,null,u,0)}else g&&Er(t,p,v,u,1);Tr(t,m)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(o(u),o(c)),i&&o(l),16&s){const e=i||!mr(d);for(let o=0;o{e.isMounted=!0}),Lo(()=>{e.isUnmounting=!0}),e}const Nr=[Function,Array],Ir={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nr,onEnter:Nr,onAfterEnter:Nr,onEnterCancelled:Nr,onBeforeLeave:Nr,onLeave:Nr,onAfterLeave:Nr,onLeaveCancelled:Nr,onBeforeAppear:Nr,onAppear:Nr,onAfterAppear:Nr,onAppearCancelled:Nr},Pr=e=>{const t=e.subTree;return t.component?Pr(t.component):t},Lr={name:"BaseTransition",props:Ir,setup(e,{slots:t}){const n=ka(),r=Cr();return()=>{const o=t.default&&Br(t.default(),!0);if(!o||!o.length)return;const i=Mr(o),s=jt(e),{mode:a}=s;if(r.isLeaving)return jr(i);const l=Vr(i);if(!l)return jr(i);let u=Ur(l,s,r,n,e=>u=e);l.type!==Hs&&$r(l,u);let c=n.subTree&&Vr(n.subTree);if(c&&c.type!==Hs&&!ra(c,l)&&Pr(n).type!==Hs){let e=Ur(c,s,r,n);if($r(c,e),"out-in"===a&&l.type!==Hs)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,c=void 0},jr(i);"in-out"===a&&l.type!==Hs?e.delayLeave=(e,t,n)=>{const o=Fr(r,c);o[String(c.key)]=c,e[xr]=()=>{t(),e[xr]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{n(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Mr(e){let t=e[0];if(e.length>1){let n=!1;for(const r of e)if(r.type!==Hs){0,t=r,n=!0;break}}return t}const Dr=Lr;function Fr(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 Ur(e,t,n,r,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:v,onLeaveCancelled:g,onBeforeAppear:m,onAppear:_,onAfterAppear:y,onAppearCancelled:w}=t,b=String(e.key),S=Fr(n,e),E=(e,t)=>{e&&Rn(e,r,9,t)},k=(e,t)=>{const n=t[1];E(e,t),h(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},R={mode:s,persisted:a,beforeEnter(t){let r=l;if(!n.isMounted){if(!i)return;r=m||l}t[xr]&&t[xr](!0);const o=S[b];o&&ra(e,o)&&o.el[xr]&&o.el[xr](),E(r,[t])},enter(e){let t=u,r=c,o=f;if(!n.isMounted){if(!i)return;t=_||u,r=y||c,o=w||f}let s=!1;const a=e[Ar]=t=>{s||(s=!0,E(t?o:r,[e]),R.delayedLeave&&R.delayedLeave(),e[Ar]=void 0)};t?k(t,[e,a]):a()},leave(t,r){const o=String(e.key);if(t[Ar]&&t[Ar](!0),n.isUnmounting)return r();E(d,[t]);let i=!1;const s=t[xr]=n=>{i||(i=!0,r(),E(n?g:v,[t]),t[xr]=void 0,S[o]===e&&delete S[o])};S[o]=e,p?k(p,[t,s]):s()},clone(e){const i=Ur(e,t,n,r,o);return o&&o(i),i}};return R}function jr(e){if(_o(e))return e=fa(e),e.children=null,e}function Vr(e){if(!_o(e))return gr(e.type)&&e.children?Mr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&y(n.default))return n.default()}}function $r(e,t){6&e.shapeFlag&&e.component?(e.transition=t,$r(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Br(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let e=0;ec({name:e.name},t,{setup:e}))():e}function Hr(){const e=ka();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function qr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zr(e){const t=ka(),n=qt(null);if(t){const r=t.refs===o?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}else 0;const r=n;return r}const Gr=new WeakMap;function Kr(e,t,n,r,i=!1){if(h(e))return void e.forEach((e,o)=>Kr(e,t&&(h(t)?t[o]:t),n,r,i));if(vo(r)&&!i)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Kr(e,t,n,r.component.subTree));const s=4&r.shapeFlag?$a(r.component):r.el,l=i?null:s,{i:u,r:c}=e;const d=t&&t.r,v=u.refs===o?u.refs={}:u.refs,g=u.setupState,m=jt(g),_=g===o?a:e=>p(m,e),b=e=>!0;if(null!=d&&d!==c)if(Yr(t),w(d))v[d]=null,_(d)&&(g[d]=null);else if(Wt(d)){b(d)&&(d.value=null);const e=t;e.k&&(v[e.k]=null)}if(y(c))kn(c,u,12,[l,v]);else{const t=w(c),r=Wt(c);if(t||r){const o=()=>{if(e.f){const n=t?_(c)?g[c]:v[c]:b(c)||!e.k?c.value:v[e.k];if(i)h(n)&&f(n,s);else if(h(n))n.includes(s)||n.push(s);else if(t)v[c]=[s],_(c)&&(g[c]=v[c]);else{const t=[s];b(c)&&(c.value=t),e.k&&(v[e.k]=t)}}else t?(v[c]=l,_(c)&&(g[c]=l)):r&&(b(c)&&(c.value=l),e.k&&(v[e.k]=l))};if(l){const t=()=>{o(),Gr.delete(e)};t.id=-1,Gr.set(e,t),gs(t,n)}else Yr(e),o()}else 0}}function Yr(e){const t=Gr.get(e);t&&(t.flags|=8,Gr.delete(e))}let Jr=!1;const Xr=()=>{Jr||(console.error("Hydration completed but contains mismatches."),Jr=!0)},Qr=e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName,Zr=e=>e.namespaceURI.includes("MathML"),eo=e=>{if(1===e.nodeType)return Qr(e)?"svg":Zr(e)?"mathml":void 0},to=e=>8===e.nodeType;function no(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:u,createComment:c}}=e,f=(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),$n(),void(t._vnode=e);d(t.firstChild,e,null,null,null),$n(),t._vnode=e},d=(n,r,a,l,c,f=!1)=>{f=f||!!r.dynamicChildren;const w=to(n)&&"["===n.data,b=()=>g(n,r,a,l,c,w),{type:S,ref:E,shapeFlag:k,patchFlag:R}=r;let T=n.nodeType;r.el=n,-2===R&&(f=!1,r.dynamicChildren=null);let O=null;switch(S){case Ws:3!==T?""===r.children?(u(r.el=o(""),s(n),n),O=n):O=b():(n.data!==r.children&&(Xr(),n.data=r.children),O=i(n));break;case Hs:y(n)?(O=i(n),_(r.el=n.content.firstChild,n,a)):O=8!==T||w?b():i(n);break;case qs:if(w&&(n=i(n),T=n.nodeType),1===T||3===T){O=n;const e=!r.children.length;for(let t=0;t{s=s||!!t.dynamicChildren;const{type:u,props:c,patchFlag:f,shapeFlag:d,dirs:p,transition:v}=t,g="input"===u||"option"===u;if(g||-1!==f){p&&nr(t,null,n,"created");let u,m=!1;if(y(e)){m=Ss(null,v)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;if(m){const e=r.getAttribute("class");e&&(r.$cls=e),v.beforeEnter(r)}_(r,e,n),t.el=e=r}if(16&d&&(!c||!c.innerHTML&&!c.textContent)){let r=h(e.firstChild,t,e,n,o,i,s);while(r){io(e,1)||Xr();const t=r;r=r.nextSibling,a(t)}}else if(8&d){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1));const{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,"\n")&&(io(e,0)||Xr(),e.textContent=t.children)}if(c)if(g||!s||48&f){const t=e.tagName.includes("-");for(const o in c)(g&&(o.endsWith("value")||"indeterminate"===o)||l(o)&&!A(o)||"."===o[0]||t&&!A(o))&&r(e,o,null,c[o],void 0,n)}else if(c.onClick)r(e,"onClick",null,c.onClick,void 0,n);else if(4&f&&Mt(c.style))for(const e in c.style)c.style[e];(u=c&&c.onVnodeBeforeMount)&&ya(u,n,t),p&&nr(t,null,n,"beforeMount"),((u=c&&c.onVnodeMounted)||p||m)&&js(()=>{u&&ya(u,n,t),m&&v.enter(e),p&&nr(t,null,n,"mounted")},o)}return e.nextSibling},h=(e,t,r,s,a,l,c)=>{c=c||!!t.dynamicChildren;const f=t.children,p=f.length;for(let t=0;t{const{slotScopeIds:l}=t;l&&(o=o?o.concat(l):l);const f=s(e),d=h(i(e),t,f,n,r,o,a);return d&&to(d)&&"]"===d.data?i(t.anchor=d):(Xr(),u(t.anchor=c("]"),f,d),d)},g=(e,t,r,o,l,u)=>{if(io(e.parentElement,1)||Xr(),t.el=null,u){const t=m(e);while(1){const n=i(e);if(!n||n===t)break;a(n)}}const c=i(e),f=s(e);return a(e),n(null,t,f,c,r,o,eo(f),l),r&&(r.vnode.el=t.el,Ji(r,t.el)),c},m=(e,t="[",n="]")=>{let r=0;while(e)if(e=i(e),e&&to(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return i(e);r--}return e},_=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;while(o)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},y=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[f,d]}const ro="data-allow-mismatch",oo={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function io(e,t){if(0===t||1===t)while(e&&!e.hasAttribute(ro))e=e.parentElement;const n=e&&e.getAttribute(ro);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||e.includes(oo[t])}}const so=W().requestIdleCallback||(e=>setTimeout(e,1)),ao=W().cancelIdleCallback||(e=>clearTimeout(e)),lo=(e=1e4)=>t=>{const n=so(t,{timeout:e});return()=>ao(n)};function uo(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t>0&&t0&&r0&&n0&&o(t,n)=>{const r=new IntersectionObserver(e=>{for(const n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element)return uo(e)?(t(),r.disconnect(),!1):void r.observe(e)}),()=>r.disconnect()},fo=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},po=(e=[])=>(t,n)=>{w(e)&&(e=[e]);let r=!1;const o=e=>{r||(r=!0,i(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},i=()=>{n(t=>{for(const n of e)t.removeEventListener(n,o)})};return n(t=>{for(const n of e)t.addEventListener(n,o,{once:!0})}),i};function ho(e,t){if(to(e)&&"["===e.data){let n=1,r=e.nextSibling;while(r){if(1===r.nodeType){const e=t(r);if(!1===e)break}else if(to(r))if("]"===r.data){if(0===--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}const vo=e=>!!e.type.__asyncLoader;function go(e){y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let u,c=null,f=0;const d=()=>(f++,c=null,p()),p=()=>{let e;return c||(e=c=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{const r=()=>t(d()),o=()=>n(e);l(e,r,o,f+1)});throw e}).then(t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),u=t,t)))};return Wr({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,t,n){let r=!1;(t.bu||(t.bu=[])).push(()=>r=!0);const o=()=>{r||n()},s=i?()=>{const n=i(o,t=>ho(e,t));n&&(t.bum||(t.bum=[])).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){const e=Ea;if(qr(e),u)return()=>mo(u,e);const t=t=>{c=null,Tn(t,e,13,!r)};if(a&&e.suspense||Ia)return p().then(t=>()=>mo(t,e)).catch(e=>(t(e),()=>r?la(r,{error:e}):null));const i=Ht(!1),l=Ht(),f=Ht(!!o);return o&&setTimeout(()=>{f.value=!1},o),null!=s&&setTimeout(()=>{if(!i.value&&!l.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),l.value=e}},s),p().then(()=>{i.value=!0,e.parent&&_o(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),l.value=e}),()=>i.value&&u?mo(u,e):l.value&&r?la(r,{error:l.value}):n&&!f.value?mo(n,e):void 0}})}function mo(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=la(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const _o=e=>e.type.__isKeepAlive,yo={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ka(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,i=new Set;let s=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");function p(e){To(e),c(e,n,a,!0)}function h(e){o.forEach((t,n)=>{const r=Ba(vo(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&v(n)})}function v(e){const t=o.get(e);!t||s&&ra(t,s)?s&&To(s):p(t),o.delete(e),i.delete(e)}r.activate=(e,t,n,r,o)=>{const i=e.component;u(e,t,n,0,a),l(i.vnode,e,t,n,i,a,r,e.slotScopeIds,o),gs(()=>{i.isDeactivated=!1,i.a&&U(i.a);const t=e.props&&e.props.onVnodeMounted;t&&ya(t,i.parent,e)},a)},r.deactivate=e=>{const t=e.component;Ts(t.m),Ts(t.a),u(e,d,null,1,a),gs(()=>{t.da&&U(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ya(n,t.parent,e),t.isDeactivated=!0},a)},fr(()=>[e.include,e.exclude],([e,t])=>{e&&h(t=>bo(e,t)),t&&h(e=>!bo(t,e))},{flush:"post",deep:!0});let g=null;const m=()=>{null!=g&&(xs(n.subTree.type)?gs(()=>{o.set(g,Oo(n.subTree))},n.subTree.suspense):o.set(g,Oo(n.subTree)))};return No(m),Po(m),Lo(()=>{o.forEach(e=>{const{subTree:t,suspense:r}=n,o=Oo(t);if(e.type===o.type&&e.key===o.key){To(o);const e=o.component.da;return void(e&&gs(e,r))}p(e)})}),()=>{if(g=null,!t.default)return s=null;const n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!na(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return s=null,r;let a=Oo(r);if(a.type===Hs)return s=null,a;const l=a.type,u=Ba(vo(a)?a.type.__asyncResolved||{}:l),{include:c,exclude:f,max:d}=e;if(c&&(!u||!bo(c,u))||f&&u&&bo(f,u))return a.shapeFlag&=-257,s=a,r;const p=null==a.key?l:a.key,h=o.get(p);return a.el&&(a=fa(a),128&r.shapeFlag&&(r.ssContent=a)),g=p,h?(a.el=h.el,a.component=h.component,a.transition&&$r(a,a.transition),a.shapeFlag|=512,i.delete(p),i.add(p)):(i.add(p),d&&i.size>parseInt(d,10)&&v(i.values().next().value)),a.shapeFlag|=256,s=a,xs(r.type)?r:a}}},wo=yo;function bo(e,t){return h(e)?e.some(e=>bo(e,t)):w(e)?e.split(",").includes(t):!!_(e)&&(e.lastIndex=0,e.test(t))}function So(e,t){ko(e,"a",t)}function Eo(e,t){ko(e,"da",t)}function ko(e,t,n=Ea){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(xo(t,r,n),n){let e=n.parent;while(e&&e.parent)_o(e.parent.vnode)&&Ro(r,t,n,e),e=e.parent}}function Ro(e,t,n,r){const o=xo(t,e,r,!0);Mo(()=>{f(r[t],o)},n)}function To(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Oo(e){return 128&e.shapeFlag?e.ssContent:e}function xo(e,t,n=Ea,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{Le();const o=Oa(n),i=Rn(t,n,e,r);return o(),Me(),i});return r?o.unshift(i):o.push(i),i}}const Ao=e=>(t,n=Ea)=>{Ia&&"sp"!==e||xo(e,(...e)=>t(...e),n)},Co=Ao("bm"),No=Ao("m"),Io=Ao("bu"),Po=Ao("u"),Lo=Ao("bum"),Mo=Ao("um"),Do=Ao("sp"),Fo=Ao("rtg"),Uo=Ao("rtc");function jo(e,t=Ea){xo("ec",e,t)}const Vo="components",$o="directives";function Bo(e,t){return zo(Vo,e,!0,t)||e}const Wo=Symbol.for("v-ndc");function Ho(e){return w(e)?zo(Vo,e,!1)||e:e||Wo}function qo(e){return zo($o,e)}function zo(e,t,n=!0,r=!1){const o=Kn||Ea;if(o){const n=o.type;if(e===Vo){const e=Ba(n,!1);if(e&&(e===t||e===I(t)||e===M(I(t))))return n}const i=Go(o[e]||n[e],t)||Go(o.appContext[e],t);return!i&&r?n:i}}function Go(e,t){return e&&(e[t]||e[I(t)]||e[M(I(t))])}function Ko(e,t,n,r){let o;const i=n&&n[r],s=h(e);if(s||w(e)){const n=s&&Mt(e);let r=!1,a=!1;n&&(r=!Ft(e),a=Dt(e),e=Ye(e)),o=new Array(e.length);for(let n=0,s=e.length;nt(e,n,void 0,i&&i[n]));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,s=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Jo(e,t,n={},r,o){if(Kn.ce||Kn.parent&&vo(Kn.parent)&&Kn.parent.ce){const e=Object.keys(n).length>0;return"default"!==t&&(n.name=t),Ks(),ta(Bs,null,[la("slot",n,r&&r())],e?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Ks();const s=i&&Xo(i(n)),a=n.key||s&&s.key,l=ta(Bs,{key:(a&&!b(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&1===e._?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Xo(e){return e.some(e=>!na(e)||e.type!==Hs&&!(e.type===Bs&&!Xo(e.children)))?e:null}function Qo(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:D(r)]=e[r];return n}const Zo=e=>e?Aa(e)?$a(e):Zo(e.parent):null,ei=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Zo(e.parent),$root:e=>Zo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ki(e),$forceUpdate:e=>e.f||(e.f=()=>{Fn(e.update)}),$nextTick:e=>e.n||(e.n=Mn.bind(e.proxy)),$watch:e=>pr.bind(e)}),ti=(e,t)=>e!==o&&!e.__isScriptSetup&&p(e,t),ni={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:u}=e;if("$"!==t[0]){const e=a[t];if(void 0!==e)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(ti(r,t))return a[t]=1,r[t];if(i!==o&&p(i,t))return a[t]=2,i[t];if(p(s,t))return a[t]=3,s[t];if(n!==o&&p(n,t))return a[t]=4,n[t];yi&&(a[t]=0)}}const c=ei[t];let f,d;return c?("$attrs"===t&&qe(e.attrs,"get",""),c(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==o&&p(n,t)?(a[t]=4,n[t]):(d=u.config.globalProperties,p(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return ti(i,t)?(i[t]=n,!0):r!==o&&p(r,t)?(r[t]=n,!0):!p(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:s,type:a}},l){let u;return!!(n[l]||e!==o&&"$"!==l[0]&&p(e,l)||ti(t,l)||p(s,l)||p(r,l)||p(ei,l)||p(i.config.globalProperties,l)||(u=a.__cssModules)&&u[l])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const ri=c({},ni,{get(e,t){if(t!==Symbol.unscopables)return ni.get(e,t,e)},has(e,t){const n="_"!==t[0]&&!q(t);return n}});function oi(){return null}function ii(){return null}function si(e){0}function ai(e){0}function li(){return null}function ui(){0}function ci(e,t){return null}function fi(){return pi("useSlots").slots}function di(){return pi("useAttrs").attrs}function pi(e){const t=ka();return t.setupContext||(t.setupContext=Va(t))}function hi(e){return h(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function vi(e,t){const n=hi(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?h(r)||y(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function gi(e,t){return e&&t?h(e)&&h(t)?e.concat(t):c({},hi(e),hi(t)):e||t}function mi(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function _i(e){const t=ka();let n=e();return xa(),E(n)&&(n=n.catch(e=>{throw Oa(t),e})),[n,()=>Oa(t)]}let yi=!0;function wi(e){const t=ki(e),n=e.proxy,r=e.ctx;yi=!1,t.beforeCreate&&Si(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:l,provide:u,inject:c,created:f,beforeMount:d,mounted:p,beforeUpdate:v,updated:g,activated:m,deactivated:_,beforeDestroy:w,beforeUnmount:b,destroyed:E,unmounted:k,render:R,renderTracked:T,renderTriggered:O,errorCaptured:x,serverPrefetch:A,expose:C,inheritAttrs:N,components:I,directives:P,filters:L}=t,M=null;if(c&&bi(c,r,M),a)for(const e in a){const t=a[e];y(t)&&(r[e]=t.bind(n))}if(o){0;const t=o.call(n,n);0,S(t)&&(e.data=Ct(t))}if(yi=!0,i)for(const e in i){const t=i[e],o=y(t)?t.bind(n,n):y(t.get)?t.get.bind(n,n):s;0;const a=!y(t)&&y(t.set)?t.set.bind(n):s,l=Ha({get:o,set:a});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(l)for(const e in l)Ei(l[e],r,n,e);if(u){const e=y(u)?u.call(n):u;Reflect.ownKeys(e).forEach(t=>{rr(t,e[t])})}function D(e,t){h(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&Si(f,e,"c"),D(Co,d),D(No,p),D(Io,v),D(Po,g),D(So,m),D(Eo,_),D(jo,x),D(Uo,T),D(Fo,O),D(Lo,b),D(Mo,k),D(Do,A),h(C))if(C.length){const t=e.exposed||(e.exposed={});C.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});R&&e.render===s&&(e.render=R),null!=N&&(e.inheritAttrs=N),I&&(e.components=I),P&&(e.directives=P),A&&qr(e)}function bi(e,t,n=s){h(e)&&(e=Ai(e));for(const n in e){const r=e[n];let o;o=S(r)?"default"in r?or(r.from||n,r.default,!0):or(r.from||n):or(r),Wt(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}function Si(e,t,n){Rn(h(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ei(e,t,n,r){let o=r.includes(".")?hr(n,r):()=>n[r];if(w(e)){const n=t[e];y(n)&&fr(o,n)}else if(y(e))fr(o,e.bind(n));else if(S(e))if(h(e))e.forEach(e=>Ei(e,t,n,r));else{const r=y(e.handler)?e.handler.bind(n):t[e.handler];y(r)&&fr(o,r,e)}else 0}function ki(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:o.length||n||r?(l={},o.length&&o.forEach(e=>Ri(l,e,s,!0)),Ri(l,t,s)):l=t,S(t)&&i.set(t,l),l}function Ri(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Ri(e,i,n,!0),o&&o.forEach(t=>Ri(e,t,n,!0));for(const o in t)if(r&&"expose"===o);else{const r=Ti[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const Ti={data:Oi,props:Ii,emits:Ii,methods:Ni,computed:Ni,beforeCreate:Ci,created:Ci,beforeMount:Ci,mounted:Ci,beforeUpdate:Ci,updated:Ci,beforeDestroy:Ci,beforeUnmount:Ci,destroyed:Ci,unmounted:Ci,activated:Ci,deactivated:Ci,errorCaptured:Ci,serverPrefetch:Ci,components:Ni,directives:Ni,watch:Pi,provide:Oi,inject:xi};function Oi(e,t){return t?e?function(){return c(y(e)?e.call(this,this):e,y(t)?t.call(this,this):t)}:t:e}function xi(e,t){return Ni(Ai(e),Ai(t))}function Ai(e){if(h(e)){const t={};for(let n=0;n{let u,c,f=o;return cr(()=>{const t=e[i];F(u,t)&&(u=t,l())}),{get(){return a(),n.get?n.get(u):u},set(e){const a=n.set?n.set(e):e;if(!F(a,u)&&(f===o||!F(e,f)))return;const d=r.vnode.props;d&&(t in d||i in d||s in d)&&(`onUpdate:${t}`in d||`onUpdate:${i}`in d||`onUpdate:${s}`in d)||(u=e,l()),r.emit(`update:${t}`,a),F(e,a)&&F(e,f)&&!F(a,c)&&l(),f=e,c=a}}});return l[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?a||o:l,done:!1}:{done:!0}}}},l}const ji=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${I(t)}Modifiers`]||e[`${L(t)}Modifiers`];function Vi(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const s=t.startsWith("update:"),a=s&&ji(r,t.slice(7));let l;a&&(a.trim&&(i=n.map(e=>w(e)?e.trim():e)),a.number&&(i=n.map(V)));let u=r[l=D(t)]||r[l=D(I(t))];!u&&s&&(u=r[l=D(L(t))]),u&&Rn(u,e,6,i);const c=r[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Rn(c,e,6,i)}}const $i=new WeakMap;function Bi(e,t,n=!1){const r=n?$i:t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let s={},a=!1;if(!y(e)){const r=e=>{const n=Bi(e,t,!0);n&&(a=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||a?(h(i)?i.forEach(e=>s[e]=null):c(s,i),S(e)&&r.set(e,s),s):(S(e)&&r.set(e,null),null)}function Wi(e,t){return!(!e||!l(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,L(t))||p(e,t))}function Hi(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:c,renderCache:f,props:d,data:p,setupState:h,ctx:v,inheritAttrs:g}=e,m=Jn(e);let _,y;try{if(4&n.shapeFlag){const e=o||r,t=e;_=va(c.call(t,e,f,d,h,p,v)),y=a}else{const e=t;0,_=va(e.length>1?e(d,{attrs:a,slots:s,emit:l}):e(d,null)),y=t.props?a:zi(a)}}catch(t){zs.length=0,Tn(t,e,1),_=la(Hs)}let w=_;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=w;e.length&&7&t&&(i&&e.some(u)&&(y=Gi(y,i)),w=fa(w,y,!1,!0))}return n.dirs&&(w=fa(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&$r(w,n.transition),_=w,Jn(m),_}function qi(e,t=!0){let n;for(let t=0;t{let t;for(const n in e)("class"===n||"style"===n||l(n))&&((t||(t={}))[n]=e[n]);return t},Gi=(e,t)=>{const n={};for(const r in e)u(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Ki(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!a||a&&a.$stable)||r!==s&&(r?!s||Yi(r,s,u):!!s);if(1024&l)return!0;if(16&l)return r?Yi(r,s,u):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tObject.create(Xi),Zi=e=>Object.getPrototypeOf(e)===Xi;function es(e,t,n,r=!1){const o={},i=Qi();e.propsDefaults=Object.create(null),ns(e,t,o,i);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=r?o:Nt(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function ts(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=jt(o),[l]=e.propsOptions;let u=!1;if(!(r||s>0)||16&s){let r;ns(e,t,o,i)&&(u=!0);for(const i in a)t&&(p(t,i)||(r=L(i))!==i&&p(t,r))||(l?!n||void 0===n[i]&&void 0===n[r]||(o[i]=rs(l,a,i,void 0,e,!0)):delete o[i]);if(i!==a)for(const e in i)t&&p(t,e)||(delete i[e],u=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r{f=!0;const[n,r]=is(e,t,!0);c(l,n),r&&u.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!f)return S(e)&&r.set(e,i),i;if(h(a))for(let e=0;e"_"===e||"_ctx"===e||"$stable"===e,ls=e=>h(e)?e.map(va):[va(e)],us=(e,t,n)=>{if(t._n)return t;const r=er((...e)=>ls(t(...e)),n);return r._c=!1,r},cs=(e,t,n)=>{const r=e._ctx;for(const n in e){if(as(n))continue;const o=e[n];if(y(o))t[n]=us(n,o,r);else if(null!=o){0;const e=ls(o);t[n]=()=>e}}},fs=(e,t)=>{const n=ls(t);e.slots.default=()=>n},ds=(e,t,n)=>{for(const r in t)!n&&as(r)||(e[r]=t[r])},ps=(e,t,n)=>{const r=e.slots=Qi();if(32&e.vnode.shapeFlag){const e=t._;e?(ds(r,t,n),n&&j(r,"_",e,!0)):cs(t,r)}else t&&fs(e,t)},hs=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:ds(i,t,n):(s=!t.$stable,cs(t,i)),a=t}else t&&(fs(e,t),a={default:1});if(s)for(const e in i)as(e)||null!=a[e]||delete i[e]};function vs(){}const gs=js;function ms(e){return ys(e)}function _s(e){return ys(e,no)}function ys(e,t){vs();const n=W();n.__VUE__=!0;const{insert:r,remove:a,patchProp:l,createElement:u,createText:c,createComment:f,setText:d,setElementText:p,parentNode:h,nextSibling:v,setScopeId:g=s,insertStaticContent:m}=e,_=(e,t,n,r=null,o=null,i=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!ra(e,t)&&(r=Y(e),H(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:u,ref:c,shapeFlag:f}=t;switch(u){case Ws:y(e,t,n,r);break;case Hs:w(e,t,n,r);break;case qs:null==e&&b(t,n,r,s);break;case Bs:I(e,t,n,r,o,i,s,a,l);break;default:1&f?k(e,t,n,r,o,i,s,a,l):6&f?P(e,t,n,r,o,i,s,a,l):(64&f||128&f)&&u.process(e,t,n,r,o,i,s,a,l,Q)}null!=c&&o?Kr(c,e&&e.ref,i,t||e,!t):null==c&&e&&null!=e.ref&&Kr(e.ref,null,i,e,!0)},y=(e,t,n,o)=>{if(null==e)r(t.el=c(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},w=(e,t,n,o)=>{null==e?r(t.el=f(t.children||""),n,o):t.el=e.el},b=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,o)=>{let i;while(e&&e!==t)i=v(e),r(e,n,o),e=i;r(t,n,o)},E=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=v(e),a(e),e=n;a(t)},k=(e,t,n,r,o,i,s,a,l)=>{if("svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e)R(t,n,r,o,i,s,a,l);else{const n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),x(e,t,o,i,s,a,l)}finally{n&&n._endPatch()}}},R=(e,t,n,o,i,s,a,c)=>{let f,d;const{props:h,shapeFlag:v,transition:g,dirs:m}=e;if(f=e.el=u(e.type,s,h&&h.is,h),8&v?p(f,e.children):16&v&&O(e.children,f,null,o,i,ws(e,s),a,c),m&&nr(e,null,o,"created"),T(f,e,e.scopeId,a,o),h){for(const e in h)"value"===e||A(e)||l(f,e,null,h[e],s,o);"value"in h&&l(f,"value",null,h.value,s),(d=h.onVnodeBeforeMount)&&ya(d,o,e)}m&&nr(e,null,o,"beforeMount");const _=Ss(i,g);_&&g.beforeEnter(f),r(f,t,n),((d=h&&h.onVnodeMounted)||_||m)&&gs(()=>{d&&ya(d,o,e),_&&g.enter(f),m&&nr(e,null,o,"mounted")},i)},T=(e,t,n,r,o)=>{if(n&&g(e,n),r)for(let t=0;t{for(let u=l;u{const u=t.el=e.el;let{patchFlag:c,dynamicChildren:f,dirs:d}=t;c|=16&e.patchFlag;const h=e.props||o,v=t.props||o;let g;if(n&&bs(n,!1),(g=v.onVnodeBeforeUpdate)&&ya(g,n,t,e),d&&nr(t,e,n,"beforeUpdate"),n&&bs(n,!0),(h.innerHTML&&null==v.innerHTML||h.textContent&&null==v.textContent)&&p(u,""),f?C(e.dynamicChildren,f,u,n,r,ws(t,i),s):a||j(e,t,u,null,n,r,ws(t,i),s,!1),c>0){if(16&c)N(u,h,v,n,i);else if(2&c&&h.class!==v.class&&l(u,"class",null,v.class,i),4&c&&l(u,"style",h.style,v.style,i),8&c){const e=t.dynamicProps;for(let t=0;t{g&&ya(g,n,t,e),d&&nr(t,e,n,"updated")},r)},C=(e,t,n,r,o,i,s)=>{for(let a=0;a{if(t!==n){if(t!==o)for(const o in t)A(o)||o in n||l(e,o,t[o],null,i,r);for(const o in n){if(A(o))continue;const s=n[o],a=t[o];s!==a&&"value"!==o&&l(e,o,a,s,i,r)}"value"in n&&l(e,"value",t.value,n.value,i)}},I=(e,t,n,o,i,s,a,l,u)=>{const f=t.el=e?e.el:c(""),d=t.anchor=e?e.anchor:c("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:v}=t;v&&(l=l?l.concat(v):v),null==e?(r(f,n,o),r(d,n,o),O(t.children||[],n,d,i,s,a,l,u)):p>0&&64&p&&h&&e.dynamicChildren&&e.dynamicChildren.length===h.length?(C(e.dynamicChildren,h,n,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Es(e,t,!0)):j(e,t,n,d,i,s,a,l,u)},P=(e,t,n,r,o,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,l):L(t,n,r,o,i,s,l):M(e,t,l)},L=(e,t,n,r,o,i,s)=>{const a=e.component=Sa(e,r,o);if(_o(e)&&(a.ctx.renderer=Q),Pa(a,!1,s),a.asyncDep){if(o&&o.registerDep(a,D,s),!e.el){const r=a.subTree=la(Hs);w(null,r,t,n),e.placeholder=r.el}}else D(a,e,t,n,o,i,s)},M=(e,t,n)=>{const r=t.component=e.component;if(Ki(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void F(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},D=(e,t,n,r,o,i,s)=>{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:l,vnode:u}=e;{const n=Rs(e);if(n)return t&&(t.el=u.el,F(e,t,s)),void n.asyncDep.then(()=>{e.isUnmounted||a()})}let c,f=t;0,bs(e,!1),t?(t.el=u.el,F(e,t,s)):t=u,n&&U(n),(c=t.props&&t.props.onVnodeBeforeUpdate)&&ya(c,l,t,u),bs(e,!0);const d=Hi(e);0;const p=e.subTree;e.subTree=d,_(p,d,h(p.el),Y(p),e,o,i),t.el=d.el,null===f&&Ji(e,d.el),r&&gs(r,o),(c=t.props&&t.props.onVnodeUpdated)&&gs(()=>ya(c,l,t,u),o)}else{let s;const{el:a,props:l}=t,{bm:u,m:c,parent:f,root:d,type:p}=e,h=vo(t);if(bs(e,!1),u&&U(u),!h&&(s=l&&l.onVnodeBeforeMount)&&ya(s,f,t),bs(e,!0),a&&ee){const t=()=>{e.subTree=Hi(e),ee(a,e.subTree,e,o,null)};h&&p.__asyncHydrate?p.__asyncHydrate(a,e,t):t()}else{d.ce&&!1!==d.ce._def.shadowRoot&&d.ce._injectChildStyle(p);const s=e.subTree=Hi(e);0,_(null,s,n,r,e,o,i),t.el=s.el}if(c&&gs(c,o),!h&&(s=l&&l.onVnodeMounted)){const e=t;gs(()=>ya(s,f,e),o)}(256&t.shapeFlag||f&&vo(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&gs(e.a,o),e.isMounted=!0,t=n=r=null}};e.scope.on();const l=e.effect=new me(a);e.scope.off();const u=e.update=l.run.bind(l),c=e.job=l.runIfDirty.bind(l);c.i=e,c.id=e.uid,l.scheduler=()=>Fn(c),bs(e,!0),u()},F=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,ts(e,t.props,r,n),hs(e,t.children,n),Le(),Vn(e),Me()},j=(e,t,n,r,o,i,s,a,l=!1)=>{const u=e&&e.children,c=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void $(u,f,n,r,o,i,s,a,l);if(256&d)return void V(u,f,n,r,o,i,s,a,l)}8&h?(16&c&&K(u,o,i),f!==u&&p(n,f)):16&c?16&h?$(u,f,n,r,o,i,s,a,l):K(u,o,i,!0):(8&c&&p(n,""),16&h&&O(f,n,r,o,i,s,a,l))},V=(e,t,n,r,o,s,a,l,u)=>{e=e||i,t=t||i;const c=e.length,f=t.length,d=Math.min(c,f);let p;for(p=0;pf?K(e,o,s,!0,!1,d):O(t,n,r,o,s,a,l,u,d)},$=(e,t,n,r,o,s,a,l,u)=>{let c=0;const f=t.length;let d=e.length-1,p=f-1;while(c<=d&&c<=p){const r=e[c],i=t[c]=u?ga(t[c]):va(t[c]);if(!ra(r,i))break;_(r,i,n,null,o,s,a,l,u),c++}while(c<=d&&c<=p){const r=e[d],i=t[p]=u?ga(t[p]):va(t[p]);if(!ra(r,i))break;_(r,i,n,null,o,s,a,l,u),d--,p--}if(c>d){if(c<=p){const e=p+1,i=ep)while(c<=d)H(e[c],o,s,!0),c++;else{const h=c,v=c,g=new Map;for(c=v;c<=p;c++){const e=t[c]=u?ga(t[c]):va(t[c]);null!=e.key&&g.set(e.key,c)}let m,y=0;const w=p-v+1;let b=!1,S=0;const E=new Array(w);for(c=0;c=w){H(r,o,s,!0);continue}let i;if(null!=r.key)i=g.get(r.key);else for(m=v;m<=p;m++)if(0===E[m-v]&&ra(r,t[m])){i=m;break}void 0===i?H(r,o,s,!0):(E[i-v]=c+1,i>=S?S=i:b=!0,_(r,t[i],n,null,o,s,a,l,u),y++)}const k=b?ks(E):i;for(m=k.length-1,c=w-1;c>=0;c--){const e=v+c,i=t[e],d=t[e+1],p=e+1{const{el:s,type:l,transition:u,children:c,shapeFlag:f}=e;if(6&f)return void B(e.component.subTree,t,n,o);if(128&f)return void e.suspense.move(t,n,o);if(64&f)return void l.move(e,t,n,Q);if(l===Bs){r(s,t,n);for(let e=0;eu.enter(s),i);else{const{leave:o,delayLeave:i,afterLeave:l}=u,c=()=>{e.ctx.isUnmounted?a(s):r(s,t,n)},f=()=>{s._isLeaving&&s[xr](!0),o(s,()=>{c(),l&&l()})};i?i(s,c,f):f()}else r(s,t,n)},H=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:u,shapeFlag:c,patchFlag:f,dirs:d,cacheIndex:p}=e;if(-2===f&&(o=!1),null!=a&&(Le(),Kr(a,null,n,e,!0),Me()),null!=p&&(t.renderCache[p]=void 0),256&c)return void t.ctx.deactivate(e);const h=1&c&&d,v=!vo(e);let g;if(v&&(g=s&&s.onVnodeBeforeUnmount)&&ya(g,t,e),6&c)G(e.component,n,r);else{if(128&c)return void e.suspense.unmount(n,r);h&&nr(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,Q,r):u&&!u.hasOnce&&(i!==Bs||f>0&&64&f)?K(u,t,n,!1,!0):(i===Bs&&384&f||!o&&16&c)&&K(l,t,n),r&&q(e)}(v&&(g=s&&s.onVnodeUnmounted)||h)&&gs(()=>{g&&ya(g,t,e),h&&nr(e,null,t,"unmounted")},n)},q=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Bs)return void z(n,r);if(t===qs)return void E(e);const i=()=>{a(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,s=()=>t(n,i);r?r(e.el,i,s):s()}else i()},z=(e,t)=>{let n;while(e!==t)n=v(e),a(e),e=n;a(t)},G=(e,t,n)=>{const{bum:r,scope:o,job:i,subTree:s,um:a,m:l,a:u}=e;Ts(l),Ts(u),r&&U(r),o.stop(),i&&(i.flags|=8,H(s,e,t,n)),a&&gs(a,t),gs(()=>{e.isUnmounted=!0},t)},K=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s{if(6&e.shapeFlag)return Y(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=v(e.anchor||e.el),n=t&&t[vr];return n?v(n):t};let J=!1;const X=(e,t,n)=>{let r;null==e?t._vnode&&(H(t._vnode,null,null,!0),r=t._vnode.component):_(t._vnode||null,e,t,null,null,null,n),t._vnode=e,J||(J=!0,Vn(r),$n(),J=!1)},Q={p:_,um:H,m:B,r:q,mt:L,mc:O,pc:j,pbc:C,n:Y,o:e};let Z,ee;return t&&([Z,ee]=t(Q)),{render:X,hydrate:Z,createApp:Di(X,Z)}}function ws({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function bs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ss(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Es(e,t,n=!1){const r=e.children,o=t.children;if(h(r)&&h(o))for(let t=0;t>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];while(i-- >0)n[i]=s,s=t[s];return n}function Rs(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Rs(t)}function Ts(e){if(e)for(let t=0;te.__isSuspense;let As=0;const Cs={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,u){if(null==e)Ps(t,n,r,o,i,s,a,l,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);Ls(e,t,n,r,o,s,a,l,u)}},hydrate:Ds,normalize:Fs},Ns=Cs;function Is(e,t){const n=e.props&&e.props[t];y(n)&&n()}function Ps(e,t,n,r,o,i,s,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=Ms(e,o,r,t,f,n,i,s,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(Is(e,"onPending"),Is(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,s),Vs(d,e.ssFallback)):d.resolve(!1,!0)}function Ls(e,t,n,r,o,i,s,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:v,isInFallback:g,isHydrating:m}=f;if(v)f.pendingBranch=d,ra(v,d)?(l(v,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():g&&(m||(l(h,p,n,r,o,null,i,s,a),Vs(f,p)))):(f.pendingId=As++,m?(f.isHydrating=!1,f.activeBranch=v):u(v,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),g?(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(h,p,n,r,o,null,i,s,a),Vs(f,p))):h&&ra(h,d)?(l(h,d,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(h&&ra(h,d))l(h,d,n,r,o,f,i,s,a),Vs(f,d);else if(Is(t,"onPending"),f.pendingBranch=d,512&d.shapeFlag?f.pendingId=d.component.suspenseId:f.pendingId=As++,l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:e,pendingId:t}=f;e>0?setTimeout(()=>{f.pendingId===t&&f.fallback(p)},e):0===e&&f.fallback(p)}}function Ms(e,t,n,r,o,i,s,a,l,u,c=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:v,remove:g}}=u;let m;const _=$s(e);_&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const y=e.props?$(e.props.timeout):void 0;const w=i,b={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:As++,timeout:"number"===typeof y?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:s,pendingId:a,effects:l,parentComponent:u,container:c,isInFallback:f}=b;let g=!1;b.isHydrating?b.isHydrating=!1:e||(g=o&&s.transition&&"out-in"===s.transition.mode,g&&(o.transition.afterLeave=()=>{a===b.pendingId&&(d(s,c,i===w?h(o):i,0),jn(l),f&&r.ssFallback&&(r.ssFallback.el=null))}),o&&(v(o.el)===c&&(i=h(o)),p(o,u,b,!0),!g&&f&&r.ssFallback&&gs(()=>r.ssFallback.el=null,b)),g||d(s,c,i,0)),Vs(b,s),b.pendingBranch=null,b.isInFallback=!1;let y=b.parent,S=!1;while(y){if(y.pendingBranch){y.effects.push(...l),S=!0;break}y=y.parent}S||g||jn(l),b.effects=[],_&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Is(r,"onResolve")},fallback(e){if(!b.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:i}=b;Is(t,"onFallback");const s=h(n),u=()=>{b.isInFallback&&(f(null,e,o,s,r,null,i,a,l),Vs(b,e))},c=e.transition&&"out-in"===e.transition.mode;c&&(n.transition.afterLeave=u),b.isInFallback=!0,p(n,r,null,!0),c||u()},move(e,t,n){b.activeBranch&&d(b.activeBranch,e,t,n),b.container=e},next(){return b.activeBranch&&h(b.activeBranch)},registerDep(e,t,n){const r=!!b.pendingBranch;r&&b.deps++;const o=e.vnode.el;e.asyncDep.catch(t=>{Tn(t,e,0)}).then(i=>{if(e.isUnmounted||b.isUnmounted||b.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;Ma(e,i,!1),o&&(a.el=o);const l=!o&&e.subTree.el;t(e,a,v(o||e.subTree.el),o?null:h(e.subTree),b,s,n),l&&(a.placeholder=null,g(l)),Ji(e,a.el),r&&0===--b.deps&&b.resolve()})},unmount(e,t){b.isUnmounted=!0,b.activeBranch&&p(b.activeBranch,n,e,t),b.pendingBranch&&p(b.pendingBranch,n,e,t)}};return b}function Ds(e,t,n,r,o,i,s,a,l){const u=t.suspense=Ms(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,i,s);return 0===u.deps&&u.resolve(!1,!0),c}function Fs(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=Us(r?n.default:n),e.ssFallback=r?Us(n.fallback):la(Hs)}function Us(e){let t;if(y(e)){const n=Xs&&e._c;n&&(e._d=!1,Ks()),e=e(),n&&(e._d=!0,t=Gs,Ys())}if(h(e)){const t=qi(e);0,e=t}return e=va(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function js(e,t){t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):jn(e)}function Vs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;while(!o&&t.component)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Ji(r,o))}function $s(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}const Bs=Symbol.for("v-fgt"),Ws=Symbol.for("v-txt"),Hs=Symbol.for("v-cmt"),qs=Symbol.for("v-stc"),zs=[];let Gs=null;function Ks(e=!1){zs.push(Gs=e?null:[])}function Ys(){zs.pop(),Gs=zs[zs.length-1]||null}let Js,Xs=1;function Qs(e,t=!1){Xs+=e,e<0&&Gs&&t&&(Gs.hasOnce=!0)}function Zs(e){return e.dynamicChildren=Xs>0?Gs||i:null,Ys(),Xs>0&&Gs&&Gs.push(e),e}function ea(e,t,n,r,o,i){return Zs(aa(e,t,n,r,o,i,!0))}function ta(e,t,n,r,o){return Zs(la(e,t,n,r,o,!0))}function na(e){return!!e&&!0===e.__v_isVNode}function ra(e,t){return e.type===t.type&&e.key===t.key}function oa(e){Js=e}const ia=({key:e})=>null!=e?e:null,sa=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?w(e)||Wt(e)||y(e)?{i:Kn,r:e,k:t,f:!!n}:e:null);function aa(e,t=null,n=null,r=0,o=null,i=(e===Bs?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ia(t),ref:t&&sa(t),scopeId:Yn,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Kn};return a?(ma(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=w(n)?8:16),Xs>0&&!s&&Gs&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Gs.push(l),l}const la=ua;function ua(e,t=null,n=null,r=0,o=null,i=!1){if(e&&e!==Wo||(e=Hs),na(e)){const r=fa(e,t,!0);return n&&ma(r,n),Xs>0&&!i&&Gs&&(6&r.shapeFlag?Gs[Gs.indexOf(e)]=r:Gs.push(r)),r.patchFlag=-2,r}if(Wa(e)&&(e=e.__vccOpts),t){t=ca(t);let{class:e,style:n}=t;e&&!w(e)&&(t.class=X(e)),S(n)&&(Ut(n)&&!h(n)&&(n=c({},n)),t.style=z(n))}const s=w(e)?1:xs(e)?128:gr(e)?64:S(e)?4:y(e)?2:0;return aa(e,t,n,r,o,s,i,!0)}function ca(e){return e?Ut(e)||Zi(e)?c({},e):e:null}function fa(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,u=t?_a(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ia(u),ref:t&&t.ref?n&&i?h(i)?i.concat(sa(t)):[i,sa(t)]:sa(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Bs?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&fa(e.ssContent),ssFallback:e.ssFallback&&fa(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&$r(c,l.clone(c)),c}function da(e=" ",t=0){return la(Ws,null,e,t)}function pa(e,t){const n=la(qs,null,e);return n.staticCount=t,n}function ha(e="",t=!1){return t?(Ks(),ta(Hs,null,e)):la(Hs,null,e)}function va(e){return null==e||"boolean"===typeof e?la(Hs):h(e)?la(Bs,null,e.slice()):na(e)?ga(e):la(Ws,null,String(e))}function ga(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:fa(e)}function ma(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(h(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),ma(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Zi(t)?3===r&&Kn&&(1===Kn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Kn}}else y(t)?(t={default:t,_ctx:Kn},n=32):(t=String(t),64&r?(n=16,t=[da(t)]):n=8);e.children=t,e.shapeFlag|=n}function _a(...e){const t={};for(let n=0;nEa||Kn;let Ra,Ta;{const e=W(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ra=t("__VUE_INSTANCE_SETTERS__",e=>Ea=e),Ta=t("__VUE_SSR_SETTERS__",e=>Ia=e)}const Oa=e=>{const t=Ea;return Ra(e),e.scope.on(),()=>{e.scope.off(),Ra(t)}},xa=()=>{Ea&&Ea.scope.off(),Ra(null)};function Aa(e){return 4&e.vnode.shapeFlag}let Ca,Na,Ia=!1;function Pa(e,t=!1,n=!1){t&&Ta(t);const{props:r,children:o}=e.vnode,i=Aa(e);es(e,r,i,t),ps(e,o,n||t);const s=i?La(e,t):void 0;return t&&Ta(!1),s}function La(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ni);const{setup:r}=n;if(r){Le();const n=e.setupContext=r.length>1?Va(e):null,o=Oa(e),i=kn(r,e,0,[e.props,n]),s=E(i);if(Me(),o(),!s&&!e.sp||vo(e)||qr(e),s){if(i.then(xa,xa),t)return i.then(n=>{Ma(e,n,t)}).catch(t=>{Tn(t,e,0)});e.asyncDep=i}else Ma(e,i,t)}else Ua(e,t)}function Ma(e,t,n){y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:S(t)&&(e.setupState=Qt(t)),Ua(e,n)}function Da(e){Ca=e,Na=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,ri))}}const Fa=()=>!Ca;function Ua(e,t,n){const r=e.type;if(!e.render){if(!t&&Ca&&!r.render){const t=r.template||ki(e).template;if(t){0;const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:s}=r,a=c(c({isCustomElement:n,delimiters:i},o),s);r.render=Ca(t,a)}}e.render=r.render||s,Na&&Na(e)}{const t=Oa(e);Le();try{wi(e)}finally{Me(),t()}}}const ja={get(e,t){return qe(e,"get",""),e[t]}};function Va(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,ja),slots:e.slots,emit:e.emit,expose:t}}function $a(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Qt(Vt(e.exposed)),{get(t,n){return n in t?t[n]:n in ei?ei[n](e):void 0},has(e,t){return t in e||t in ei}})):e.proxy}function Ba(e,t=!0){return y(e)?e.displayName||e.name:e.name||t&&e.__name}function Wa(e){return y(e)&&"__vccOpts"in e}const Ha=(e,t)=>{const n=ln(e,t,Ia);return n};function qa(e,t,n){try{Qs(-1);const r=arguments.length;return 2===r?S(t)&&!h(t)?na(t)?la(e,null,[t]):la(e,t):la(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&na(n)&&(n=[n]),la(e,t,n))}finally{Qs(1)}}function za(){return void 0}function Ga(e,t,n,r){const o=n[r];if(o&&Ka(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function Ka(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e0&&Gs&&Gs.push(e),!0}const Ya="3.5.27",Ja=s,Xa=En,Qa=Hn,Za=Gn,el={createComponentInstance:Sa,setupComponent:Pa,renderComponentRoot:Hi,setCurrentRenderingInstance:Jn,isVNode:na,normalizeVNode:va,getComponentPublicInstance:$a,ensureValidVNode:Xo,pushWarningContext:yn,popWarningContext:wn},tl=el,nl=null,rl=null,ol=null; /** * @vue/runtime-dom v3.5.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ let il;const sl="undefined"!==typeof window&&window.trustedTypes;if(sl)try{il=sl.createPolicy("vue",{createHTML:e=>e})}catch(e){}const al=il?e=>il.createHTML(e):e=>e,ll="http://www.w3.org/2000/svg",ul="http://www.w3.org/1998/Math/MathML",cl="undefined"!==typeof document?document:null,fl=cl&&cl.createElement("template"),dl={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="svg"===t?cl.createElementNS(ll,e):"mathml"===t?cl.createElementNS(ul,e):n?cl.createElement(e,{is:n}):cl.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>cl.createTextNode(e),createComment:e=>cl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>cl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling)){while(1)if(t.insertBefore(o.cloneNode(!0),n),o===i||!(o=o.nextSibling))break}else{fl.innerHTML=al("svg"===r?`${e}`:"mathml"===r?`${e}`:e);const o=fl.content;if("svg"===r||"mathml"===r){const e=o.firstChild;while(e.firstChild)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pl="transition",hl="animation",vl=Symbol("_vtc"),gl={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},ml=c({},Ir,gl),_l=e=>(e.displayName="Transition",e.props=ml,e),yl=_l((e,{slots:t})=>qa(Dr,Sl(e),t)),wl=(e,t=[])=>{h(e)?e.forEach(e=>e(...t)):e&&e(...t)},bl=e=>!!e&&(h(e)?e.some(e=>e.length>1):e.length>1);function Sl(e){const t={};for(const n in e)n in gl||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:f=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=El(o),g=v&&v[0],m=v&&v[1],{onBeforeEnter:_,onEnter:y,onEnterCancelled:w,onLeave:b,onLeaveCancelled:S,onBeforeAppear:E=_,onAppear:k=y,onAppearCancelled:R=w}=t,T=(e,t,n,r)=>{e._enterCancelled=r,Tl(e,t?f:a),Tl(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,Tl(e,d),Tl(e,h),Tl(e,p),t&&t()},x=e=>(t,n)=>{const o=e?k:y,s=()=>T(t,e,n);wl(o,[t,s]),Ol(()=>{Tl(t,e?l:i),Rl(t,e?f:a),bl(o)||Al(t,r,g,s)})};return c(t,{onBeforeEnter(e){wl(_,[e]),Rl(e,i),Rl(e,s)},onBeforeAppear(e){wl(E,[e]),Rl(e,l),Rl(e,u)},onEnter:x(!1),onAppear:x(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);Rl(e,d),e._enterCancelled?(Rl(e,p),Pl(e)):(Pl(e),Rl(e,p)),Ol(()=>{e._isLeaving&&(Tl(e,d),Rl(e,h),bl(b)||Al(e,r,m,n))}),wl(b,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),wl(w,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),wl(R,[e])},onLeaveCancelled(e){O(e),wl(S,[e])}})}function El(e){if(null==e)return null;if(S(e))return[kl(e.enter),kl(e.leave)];{const t=kl(e);return[t,t]}}function kl(e){const t=$(e);return t}function Rl(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[vl]||(e[vl]=new Set)).add(t)}function Tl(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[vl];n&&(n.delete(t),n.size||(e[vl]=void 0))}function Ol(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xl=0;function Al(e,t,n,r){const o=e._endId=++xl,i=()=>{o===e._endId&&r()};if(null!=n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=Cl(e,t);if(!s)return r();const u=s+"end";let c=0;const f=()=>{e.removeEventListener(u,d),i()},d=t=>{t.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[e]||"").split(", "),o=r(`${pl}Delay`),i=r(`${pl}Duration`),s=Nl(o,i),a=r(`${hl}Delay`),l=r(`${hl}Duration`),u=Nl(a,l);let c=null,f=0,d=0;t===pl?s>0&&(c=pl,f=s,d=i.length):t===hl?u>0&&(c=hl,f=u,d=l.length):(f=Math.max(s,u),c=f>0?s>u?pl:hl:null,d=c?c===pl?i.length:l.length:0);const p=c===pl&&/\b(?:transform|all)(?:,|$)/.test(r(`${pl}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function Nl(e,t){while(e.lengthIl(t)+Il(e[n])))}function Il(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Pl(e){const t=e?e.ownerDocument:document;return t.body.offsetHeight}function Ll(e,t,n){const r=e[vl];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ml=Symbol("_vod"),Dl=Symbol("_vsh"),Fl={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ml]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ul(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),Ul(e,!0),r.enter(e)):r.leave(e,()=>{Ul(e,!1)}):Ul(e,t))},beforeUnmount(e,{value:t}){Ul(e,t)}};function Ul(e,t){e.style.display=t?e[Ml]:"none",e[Dl]=!t}function jl(){Fl.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Vl=Symbol("");function $l(e){const t=ka();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Wl(e,n))};const r=()=>{const r=e(t.proxy);t.ce?Wl(t.ce,r):Bl(t.subTree,r),n(r)};Io(()=>{jn(r)}),No(()=>{fr(r,s,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),Mo(()=>e.disconnect())})}function Bl(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Bl(n.activeBranch,t)})}while(e.component)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Wl(e.el,t);else if(e.type===Bs)e.children.forEach(e=>Bl(e,t));else if(e.type===qs){let{el:n,anchor:r}=e;while(n){if(Wl(n,t),n===r)break;n=n.nextSibling}}}function Wl(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t){const o=ue(t[e]);n.setProperty(`--${e}`,o),r+=`--${e}: ${o};`}n[Vl]=r}}const Hl=/(?:^|;)\s*display\s*:/;function ql(e,t,n){const r=e.style,o=w(n);let i=!1;if(n&&!o){if(t)if(w(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Gl(r,t,"")}else for(const e in t)null==n[e]&&Gl(r,e,"");for(const e in n)"display"===e&&(i=!0),Gl(r,e,n[e])}else if(o){if(t!==n){const e=r[Vl];e&&(n+=";"+e),r.cssText=n,i=Hl.test(n)}}else t&&e.removeAttribute("style");Ml in e&&(e[Ml]=i?r.display:"",e[Dl]&&(r.display="none"))}const zl=/\s*!important$/;function Gl(e,t,n){if(h(n))n.forEach(n=>Gl(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jl(e,t);zl.test(n)?e.setProperty(L(r),n.replace(zl,""),"important"):e[r]=n}}const Kl=["Webkit","Moz","ms"],Yl={};function Jl(e,t){const n=Yl[t];if(n)return n;let r=I(t);if("filter"!==r&&r in e)return Yl[t]=r;r=M(r);for(let n=0;nsu||(au.then(()=>su=0),su=Date.now());function uu(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Rn(cu(e,n.value),t,5,[e])};return n.value=e,n.attached=lu(),n}function cu(e,t){if(h(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}const fu=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,du=(e,t,n,r,o,i)=>{const s="svg"===o;"class"===t?Ll(e,r,s):"style"===t?ql(e,n,r):l(t)?u(t)||ru(e,t,n,r,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):pu(e,t,r,s))?(Zl(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Ql(e,t,r,s,i,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&w(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),Ql(e,t,r,s)):Zl(e,I(t),r,i,t)};function pu(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&fu(t)&&y(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!fu(t)||!w(n))&&t in e}const hu={};function vu(e,t,n){let r=Wr(e,t);O(r)&&(r=c({},r,t));class o extends _u{constructor(e){super(r,e,n)}}return o.def=r,o}const gu=(e,t)=>vu(e,t,uc),mu="undefined"!==typeof HTMLElement?HTMLElement:class{};class _u extends mu{constructor(e,t={},n=lc){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==lc?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow(c({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let e=this;while(e=e&&(e.parentNode||e.host))if(e instanceof _u){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Mn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:r}=e;let o;if(n&&!h(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=$(this._props[e])),(o||(o=Object.create(null)))[I(e)]=!0)}this._numberProps=o,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const e in t)p(this,e)||Object.defineProperty(this,e,{get:()=>Yt(t[e])})}_resolveProps(e){const{props:t}=e,n=h(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e]);for(const e of n.map(I))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):hu;const r=I(e);t&&this._numberProps&&this._numberProps[r]&&(n=$(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===hu?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),!0===t?this.setAttribute(L(e),""):"string"===typeof t||"number"===typeof t?this.setAttribute(L(e),t+""):t||this.removeAttribute(L(e)),n&&n.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),sc(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=la(this._def,c(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,O(t[0])?c({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),L(e)!==e&&t(L(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let t=e.length-1;t>=0;t--){const r=document.createElement("style");n&&r.setAttribute("nonce",n),r.textContent=e[t],this.shadowRoot.prepend(r)}}_parseSlots(){const e=this._slots={};let t;while(t=this.firstChild){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n(delete e.props.mode,e),Ou=Tu({name:"TransitionGroup",props:c({},ml,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ka(),r=Cr();let o,i;return Po(()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!Iu(o[0].el,n.vnode.el,t))return void(o=[]);o.forEach(Au),o.forEach(Cu);const r=o.filter(Nu);Pl(n.vnode.el),r.forEach(e=>{const n=e.el,r=n.style;Rl(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[ku]=e=>{e&&e.target!==n||e&&!e.propertyName.endsWith("transform")||(n.removeEventListener("transitionend",o),n[ku]=null,Tl(n,t))};n.addEventListener("transitionend",o)}),o=[]}),()=>{const s=jt(e),a=Sl(s);let l=s.tag||Bs;if(o=[],i)for(let e=0;e{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=Cl(r);return i.removeChild(r),s}const Pu=e=>{const t=e.props["onUpdate:modelValue"]||!1;return h(t)?e=>U(t,e):t};function Lu(e){e.target.composing=!0}function Mu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Du=Symbol("_assign");function Fu(e,t,n){return t&&(e=e.trim()),n&&(e=V(e)),e}const Uu={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Du]=Pu(o);const i=r||o.props&&"number"===o.props.type;eu(e,t?"change":"input",t=>{t.target.composing||e[Du](Fu(e.value,n,i))}),(n||i)&&eu(e,"change",()=>{e.value=Fu(e.value,n,i)}),t||(eu(e,"compositionstart",Lu),eu(e,"compositionend",Mu),eu(e,"change",Mu))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[Du]=Pu(s),e.composing)return;const a=!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:V(e.value),l=null==t?"":t;if(a!==l){if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(o&&e.value.trim()===l)return}e.value=l}}},ju={deep:!0,created(e,t,n){e[Du]=Pu(n),eu(e,"change",()=>{const t=e._modelValue,n=Hu(e),r=e.checked,o=e[Du];if(h(t)){const e=oe(t,n),i=-1!==e;if(r&&!i)o(t.concat(n));else if(!r&&i){const n=[...t];n.splice(e,1),o(n)}}else if(g(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(qu(e,r))})},mounted:Vu,beforeUpdate(e,t,n){e[Du]=Pu(n),Vu(e,t,n)}};function Vu(e,{value:t,oldValue:n},r){let o;if(e._modelValue=t,h(t))o=oe(t,r.props.value)>-1;else if(g(t))o=t.has(r.props.value);else{if(t===n)return;o=re(t,qu(e,!0))}e.checked!==o&&(e.checked=o)}const $u={created(e,{value:t},n){e.checked=re(t,n.props.value),e[Du]=Pu(n),eu(e,"change",()=>{e[Du](Hu(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Du]=Pu(r),t!==n&&(e.checked=re(t,r.props.value))}},Bu={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=g(t);eu(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?V(Hu(e)):Hu(e));e[Du](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,Mn(()=>{e._assigning=!1})}),e[Du]=Pu(r)},mounted(e,{value:t}){Wu(e,t)},beforeUpdate(e,t,n){e[Du]=Pu(n)},updated(e,{value:t}){e._assigning||Wu(e,t)}};function Wu(e,t){const n=e.multiple,r=h(t);if(!n||r||g(t)){for(let o=0,i=e.options.length;oString(e)===String(s)):oe(t,s)>-1}else i.selected=t.has(s);else if(re(Hu(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Hu(e){return"_value"in e?e._value:e.value}function qu(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const zu={created(e,t,n){Ku(e,t,n,null,"created")},mounted(e,t,n){Ku(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ku(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ku(e,t,n,r,"updated")}};function Gu(e,t){switch(e){case"SELECT":return Bu;case"TEXTAREA":return Uu;default:switch(t){case"checkbox":return ju;case"radio":return $u;default:return Uu}}}function Ku(e,t,n,r,o){const i=Gu(e.tagName,n.props&&n.props.type),s=i[o];s&&s(e,t,n,r)}function Yu(){Uu.getSSRProps=({value:e})=>({value:e}),$u.getSSRProps=({value:e},t)=>{if(t.props&&re(t.props.value,e))return{checked:!0}},ju.getSSRProps=({value:e},t)=>{if(h(e)){if(t.props&&oe(e,t.props.value)>-1)return{checked:!0}}else if(g(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},zu.getSSRProps=(e,t)=>{if("string"!==typeof t.type)return;const n=Gu(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0}}const Ju=["ctrl","shift","alt","meta"],Xu={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ju.some(n=>e[`${n}Key`]&&!t.includes(n))},Qu=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=L(n.key);return t.some(e=>e===r||Zu[e]===r)?e(n):void 0})},tc=c({patchProp:du},dl);let nc,rc=!1;function oc(){return nc||(nc=ms(tc))}function ic(){return nc=rc?nc:_s(tc),rc=!0,nc}const sc=(...e)=>{oc().render(...e)},ac=(...e)=>{ic().hydrate(...e)},lc=(...e)=>{const t=oc().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=fc(e);if(!r)return;const o=t._component;y(o)||o.render||o.template||(o.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const i=n(r,!1,cc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},uc=(...e)=>{const t=ic().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=fc(e);if(t)return n(t,!0,cc(t))},t};function cc(e){return e instanceof SVGElement?"svg":"function"===typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function fc(e){if(w(e)){const t=document.querySelector(e);return t}return e}let dc=!1;const pc=()=>{dc||(dc=!0,Yu(),jl())};const hc=()=>{0}},4078(e,t,n){"use strict";n.r(t),n.d(t,{AccessTokenEvents:()=>r.Fc,CheckSessionIFrame:()=>r.$p,ErrorResponse:()=>r._p,ErrorTimeout:()=>r.qM,InMemoryWebStorage:()=>r.i7,Log:()=>r.tG,Logger:()=>r.Vy,MetadataService:()=>r.TI,OidcClient:()=>r.hz,OidcClientSettingsStore:()=>r.ZH,SessionMonitor:()=>r.xn,SigninResponse:()=>r.w7,SigninState:()=>r.OA,SignoutResponse:()=>r.Vz,State:()=>r.Uw,User:()=>r.KJ,UserManager:()=>r.$5,UserManagerSettingsStore:()=>r.vh,Version:()=>r.Rx,WebStorageStateStore:()=>r.O,createOidc:()=>k,oidcRedirectUriKey:()=>p,useAuth:()=>h,useOidcStore:()=>a,useRefreshToken:()=>_});var r=n(980),o=n(8823),i=(0,o.reactive)({settings:null,oidcSettings:null,userManager:null,refreshUserManager:null,user:null,token:(0,o.computed)(()=>i.user?.access_token||null),hasExpiresAt:(0,o.computed)(()=>Date.now()/1e3>i.user?.expires_at||!1),redirect_uri:""}),s={setUser(e){i.user=e,i.userManager?.storeUser(e)},async removeUser(){i.user=null,await(i.userManager?.removeUser())}};function a(){return{state:(0,o.computed)(()=>i),actions:(0,o.computed)(()=>s)}}var l={addUserLoaded:u};function u(e){console.log(e)}function c(e=window.location){let t=new URLSearchParams(e.search);return!(!t.get("code")&&!t.get("error")||!t.get("state"))||(t=new URLSearchParams(e.hash.replace("#","?")),!(!t.get("code")&&!t.get("error")||!t.get("state")))}var{state:f,actions:d}=a(),p=(0,o.ref)("OIDC_REDIRECT_URI");function h(){return{autoAuthenticate:m,signinRedirect:v,signoutRedirect:g,refreshToken:y,setRedirectUri:w}}async function v(e){f.value.oidcSettings?.onBeforeSigninRedirectCallback&&await(f.value.oidcSettings?.onBeforeSigninRedirectCallback()),(0,o.unref)(f).user||(0,o.unref)(f).userManager?.signinRedirect(e)}async function g(e){await((0,o.unref)(f).userManager?.signoutRedirect(e))}async function m(e=""){let t=null;const n=await((0,o.unref)(f).userManager?.getUser())||(0,o.unref)(f).user;if(!n&&!c())return await((0,o.unref)(f).userManager?.settings.userStore?.set(p.value,e||location.pathname+location.search||"/")),f.value.oidcSettings?.onBeforeSigninRedirectCallback&&await(f.value.oidcSettings?.onBeforeSigninRedirectCallback()),await((0,o.unref)(f).userManager?.removeUser()),void await((0,o.unref)(f).userManager?.signinRedirect());if(!n&&c()){const e=await((0,o.unref)(f).userManager?.signinRedirectCallback());return(0,o.unref)(f).oidcSettings?.onSigninRedirectCallback&&await((0,o.unref)(f).oidcSettings?.onSigninRedirectCallback?.(e)),void(0,o.unref)(d).setUser(e)}if(n&&!c())return t&&clearInterval(t),(0,o.unref)(d).setUser(n),_(),(0,o.unref)(f).hasExpiresAt?void await g():void 0;n&&c()&&(t=setInterval(async()=>{(0,o.unref)(f).oidcSettings?.onSigninRedirectCallback&&await((0,o.unref)(f).oidcSettings?.onSigninRedirectCallback?.(n)),(0,o.unref)(d).setUser(n)},3e3))}function _(){const e=f.value.settings?.refreshToken;e?.enable&&setInterval(async()=>{y()},e.time)}function y(e,t,n){const r=f.value.refreshUserManager;r?.signinSilent(e).then(e=>{e&&(0,o.unref)(d).setUser(e),t&&t(e)}).catch(e=>{n&&n(e)})}async function w(e){await((0,o.unref)(f).userManager?.settings.userStore?.set(p.value,e))}var{state:b,actions:S}=a(),E={refreshToken:{enable:!1,time:3e4,settings:null}};async function k(e){const t={...E,...e},{oidcSettings:n,auth:i,refreshToken:s}=t,a={...l,...e.events};p.value=e.redirectUriKey||p.value,(0,o.unref)(b).settings=t,(0,o.unref)(b).oidcSettings=n,(0,o.unref)(b).userManager=new r.$5(n),(0,o.unref)(b).refreshUserManager=s?.settings?new r.$5(s.settings):null,(0,o.unref)(b).redirect_uri=await((0,o.unref)(b).userManager?.settings.userStore.get(p.value))||"",Object.keys(a).forEach(e=>{(0,o.unref)(b).userManager.events[e](a[e])}),(0,o.unref)(b).userManager.getUser().then(e=>{S.value.setUser(e)});const{autoAuthenticate:u}=h();i&&u&&await u()}},4404(e,t,n){(function(t,r){e.exports=r(n(5055))})(0,function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.enc;o.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i>>2]>>>24-i%4*8&255,a=t[i+1>>>2]>>>24-(i+1)%4*8&255,l=t[i+2>>>2]>>>24-(i+2)%4*8&255,u=s<<16|a<<8|l,c=0;c<4&&i+.75*c>>6*(3-c)&63));var f=r.charAt(64);if(f)while(o.length%4)o.push(f);return o.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o>>6-s%4*2,u=a|l;o[i>>>2]|=u<<24-i%4*8,i++}return r.create(o,i)}}(),e.enc.Base64})},5055(e,t,n){(function(t,n){e.exports=n()})(0,function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r)try{r=n(477)}catch(e){}var o=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=a.WordArray=l.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||f).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[r+i>>>2]|=s<<24-(r+i)%4*8}else for(var a=0;a>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u.init(n,t/2)}},d=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new u.init(n,t)}},p=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},h=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,s=this.blockSize,a=4*s,l=i/a;l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0);var c=l*s,f=e.min(4*c,i);if(c){for(var d=0;dRo,StorageSerializers:()=>rr,TransitionPresets:()=>Xi,assert:()=>w,asyncComputed:()=>Lt,autoResetRef:()=>pe,breakpointsAntDesign:()=>Pn,breakpointsBootstrapV5:()=>An,breakpointsElement:()=>Un,breakpointsMasterCss:()=>Dn,breakpointsPrimeFlex:()=>Fn,breakpointsQuasar:()=>Ln,breakpointsSematic:()=>Mn,breakpointsTailwind:()=>xn,breakpointsVuetify:()=>In,breakpointsVuetifyV2:()=>Cn,breakpointsVuetifyV3:()=>Nn,bypassFilter:()=>P,camelize:()=>Q,clamp:()=>R,cloneFnJSON:()=>Gn,computedAsync:()=>Pt,computedEager:()=>o,computedInject:()=>Mt,computedWithControl:()=>s,containsProp:()=>$,controlledComputed:()=>a,controlledRef:()=>Re,createEventHook:()=>u,createFetch:()=>Kr,createFilterWrapper:()=>I,createGlobalState:()=>c,createInjectionState:()=>h,createReactiveFn:()=>se,createRef:()=>v,createReusableTemplate:()=>Dt,createSharedComposable:()=>ee,createSingletonPromise:()=>j,createTemplatePromise:()=>Ut,createUnrefFn:()=>jt,customStorageEventName:()=>or,debounceFilter:()=>L,debouncedRef:()=>ge,debouncedWatch:()=>bt,defaultDocument:()=>$t,defaultLocation:()=>Wt,defaultNavigator:()=>Bt,defaultWindow:()=>Vt,eagerComputed:()=>i,executeTransition:()=>rs,extendRef:()=>te,formatDate:()=>at,formatTimeAgo:()=>$i,formatTimeAgoIntl:()=>Hi,formatTimeAgoIntlParts:()=>zi,get:()=>ne,getLifeCycleTarget:()=>Z,getSSRHandler:()=>Zn,hasOwn:()=>x,hyphenate:()=>J,identity:()=>U,ignorableWatch:()=>kt,increaseWithUnit:()=>B,injectLocal:()=>d,invoke:()=>V,isClient:()=>g,isDef:()=>_,isDefined:()=>re,isIOS:()=>A,isObject:()=>S,isWorker:()=>m,makeDestructurable:()=>oe,mapGamepadToXbox360Controller:()=>uo,noop:()=>T,normalizeDate:()=>lt,notNullish:()=>y,now:()=>E,objectEntries:()=>z,objectOmit:()=>q,objectPick:()=>H,onClickOutside:()=>Gt,onElementRemoval:()=>Xt,onKeyDown:()=>en,onKeyPressed:()=>tn,onKeyStroke:()=>Zt,onKeyUp:()=>nn,onLongPress:()=>sn,onStartTyping:()=>un,pausableFilter:()=>D,pausableWatch:()=>Ae,promiseTimeout:()=>F,provideLocal:()=>p,provideSSRWidth:()=>Tn,pxValue:()=>W,rand:()=>O,reactify:()=>ie,reactifyObject:()=>ae,reactiveComputed:()=>ue,reactiveOmit:()=>ce,reactivePick:()=>fe,refAutoReset:()=>de,refDebounced:()=>ve,refDefault:()=>_e,refManualReset:()=>ye,refThrottled:()=>be,refWithControl:()=>ke,set:()=>Te,setSSRHandler:()=>er,syncRef:()=>Ce,syncRefs:()=>Ne,templateRef:()=>cn,throttleFilter:()=>M,throttledRef:()=>Se,throttledWatch:()=>xt,timestamp:()=>k,toArray:()=>G,toReactive:()=>le,toRef:()=>N,toRefs:()=>Ie,transition:()=>ns,tryOnBeforeMount:()=>Pe,tryOnBeforeUnmount:()=>Le,tryOnMounted:()=>Me,tryOnScopeDispose:()=>l,tryOnUnmounted:()=>De,unrefElement:()=>Ht,until:()=>Ue,useActiveElement:()=>fn,useAnimate:()=>pn,useArrayDifference:()=>Ve,useArrayEvery:()=>$e,useArrayFilter:()=>Be,useArrayFind:()=>We,useArrayFindIndex:()=>He,useArrayFindLast:()=>ze,useArrayIncludes:()=>Ke,useArrayJoin:()=>Ye,useArrayMap:()=>Je,useArrayReduce:()=>Xe,useArraySome:()=>Qe,useArrayUnique:()=>tt,useAsyncQueue:()=>hn,useAsyncState:()=>gn,useBase64:()=>yn,useBattery:()=>Sn,useBluetooth:()=>En,useBreakpoints:()=>jn,useBroadcastChannel:()=>Vn,useBrowserLocation:()=>Bn,useCached:()=>Wn,useClipboard:()=>qn,useClipboardItems:()=>zn,useCloned:()=>Kn,useColorMode:()=>ar,useConfirmDialog:()=>lr,useCountdown:()=>ur,useCounter:()=>nt,useCssVar:()=>cr,useCurrentElement:()=>fr,useCycleList:()=>dr,useDark:()=>pr,useDateFormat:()=>ut,useDebounce:()=>me,useDebounceFn:()=>he,useDebouncedRefHistory:()=>wr,useDeviceMotion:()=>br,useDeviceOrientation:()=>Sr,useDevicePixelRatio:()=>Er,useDevicesList:()=>kr,useDisplayMedia:()=>Rr,useDocumentVisibility:()=>Tr,useDraggable:()=>Or,useDropZone:()=>xr,useElementBounding:()=>Cr,useElementByPoint:()=>Nr,useElementHover:()=>Ir,useElementSize:()=>Pr,useElementVisibility:()=>Mr,useEventBus:()=>Fr,useEventListener:()=>qt,useEventSource:()=>jr,useEyeDropper:()=>Vr,useFavicon:()=>$r,useFetch:()=>Yr,useFileDialog:()=>Zr,useFileSystemAccess:()=>eo,useFocus:()=>to,useFocusWithin:()=>io,useFps:()=>so,useFullscreen:()=>lo,useGamepad:()=>co,useGeolocation:()=>fo,useIdle:()=>vo,useImage:()=>mo,useInfiniteScroll:()=>bo,useIntersectionObserver:()=>Lr,useInterval:()=>ft,useIntervalFn:()=>ct,useKeyModifier:()=>Eo,useLastChanged:()=>dt,useLocalStorage:()=>ko,useMagicKeys:()=>To,useManualRefHistory:()=>_r,useMediaControls:()=>No,useMediaQuery:()=>On,useMemoize:()=>Io,useMemory:()=>Po,useMounted:()=>Kt,useMouse:()=>Mo,useMouseInElement:()=>Do,useMousePressed:()=>Fo,useMutationObserver:()=>Jt,useNavigatorLanguage:()=>Uo,useNetwork:()=>jo,useNow:()=>Vo,useObjectUrl:()=>$o,useOffsetPagination:()=>Wo,useOnline:()=>Ho,usePageLeave:()=>qo,useParallax:()=>Go,useParentElement:()=>Ko,usePerformanceObserver:()=>Yo,usePermission:()=>Hn,usePointer:()=>Qo,usePointerLock:()=>Zo,usePointerSwipe:()=>ei,usePreferredColorScheme:()=>ti,usePreferredContrast:()=>ni,usePreferredDark:()=>tr,usePreferredLanguages:()=>ri,usePreferredReducedMotion:()=>oi,usePreferredReducedTransparency:()=>ii,usePrevious:()=>si,useRafFn:()=>dn,useRefHistory:()=>yr,useResizeObserver:()=>Ar,useSSRWidth:()=>Rn,useScreenOrientation:()=>zo,useScreenSafeArea:()=>fi,useScriptTag:()=>pi,useScroll:()=>wo,useScrollLock:()=>mi,useSessionStorage:()=>_i,useShare:()=>yi,useSorted:()=>Si,useSpeechRecognition:()=>Ei,useSpeechSynthesis:()=>ki,useStepper:()=>Ri,useStorage:()=>ir,useStorageAsync:()=>Ti,useStyleTag:()=>xi,useSupported:()=>Yt,useSwipe:()=>Ai,useTemplateRefsList:()=>Ci,useTextDirection:()=>Ni,useTextSelection:()=>Pi,useTextareaAutosize:()=>Mi,useThrottle:()=>Ee,useThrottleFn:()=>we,useThrottledRefHistory:()=>Di,useTimeAgo:()=>Vi,useTimeAgoIntl:()=>Wi,useTimeout:()=>ht,useTimeoutFn:()=>pt,useTimeoutPoll:()=>Gi,useTimestamp:()=>Ki,useTitle:()=>Yi,useToNumber:()=>vt,useToString:()=>gt,useToggle:()=>mt,useTransition:()=>os,useUrlSearchParams:()=>is,useUserMedia:()=>ss,useVModel:()=>as,useVModels:()=>ls,useVibrate:()=>us,useVirtualList:()=>cs,useWakeLock:()=>Ss,useWebNotification:()=>Es,useWebSocket:()=>Ts,useWebWorker:()=>Os,useWebWorkerFn:()=>Ls,useWindowFocus:()=>Ms,useWindowScroll:()=>Ds,useWindowSize:()=>Fs,watchArray:()=>_t,watchAtMost:()=>yt,watchDebounced:()=>wt,watchDeep:()=>St,watchIgnorable:()=>Et,watchImmediate:()=>Rt,watchOnce:()=>Tt,watchPausable:()=>xe,watchThrottled:()=>Ot,watchTriggerable:()=>At,watchWithFilter:()=>Oe,whenever:()=>It});var r=n(3783);function o(e,t){var n;const o=(0,r.shallowRef)();return(0,r.watchEffect)(()=>{o.value=e()},{...t,flush:null!==(n=null===t||void 0===t?void 0:t.flush)&&void 0!==n?n:"sync"}),(0,r.readonly)(o)}const i=o;function s(e,t,n={}){let o,i,s,a=!0;const l=()=>{a=!0,s()};(0,r.watch)(e,l,{flush:"sync",...n});const u="function"===typeof t?t:t.get,c="function"===typeof t?void 0:t.set,f=(0,r.customRef)((e,t)=>(i=e,s=t,{get(){return a&&(o=u(o),a=!1),i(),o},set(e){null===c||void 0===c||c(e)}}));return f.trigger=l,f}const a=s;function l(e,t){return!!(0,r.getCurrentScope)()&&((0,r.onScopeDispose)(e,t),!0)}function u(){const e=new Set,t=t=>{e.delete(t)},n=()=>{e.clear()},r=n=>{e.add(n);const r=()=>t(n);return l(r),{off:r}},o=(...t)=>Promise.all(Array.from(e).map(e=>e(...t)));return{on:r,off:t,trigger:o,clear:n}}function c(e){let t,n=!1;const o=(0,r.effectScope)(!0);return(...r)=>(n||(t=o.run(()=>e(...r)),n=!0),t)}const f=new WeakMap,d=(...e)=>{var t;const n=e[0],o=null===(t=(0,r.getCurrentInstance)())||void 0===t?void 0:t.proxy,i=null!==o&&void 0!==o?o:(0,r.getCurrentScope)();if(null==i&&!(0,r.hasInjectionContext)())throw new Error("injectLocal must be called in setup");return i&&f.has(i)&&n in f.get(i)?f.get(i)[n]:(0,r.inject)(...e)};function p(e,t){var n;const o=null===(n=(0,r.getCurrentInstance)())||void 0===n?void 0:n.proxy,i=null!==o&&void 0!==o?o:(0,r.getCurrentScope)();if(null==i)throw new Error("provideLocal must be called in setup");f.has(i)||f.set(i,Object.create(null));const s=f.get(i);return s[e]=t,(0,r.provide)(e,t)}function h(e,t){const n=(null===t||void 0===t?void 0:t.injectionKey)||Symbol(e.name||"InjectionState"),r=null===t||void 0===t?void 0:t.defaultValue,o=(...t)=>{const r=e(...t);return p(n,r),r},i=()=>d(n,r);return[o,i]}function v(e,t){return!0===t?(0,r.ref)(e):(0,r.shallowRef)(e)}const g="undefined"!==typeof window&&"undefined"!==typeof document,m="undefined"!==typeof WorkerGlobalScope&&globalThis instanceof WorkerGlobalScope,_=e=>"undefined"!==typeof e,y=e=>null!=e,w=(e,...t)=>{e||console.warn(...t)},b=Object.prototype.toString,S=e=>"[object Object]"===b.call(e),E=()=>Date.now(),k=()=>+Date.now(),R=(e,t,n)=>Math.min(n,Math.max(t,e)),T=()=>{},O=(e,t)=>(e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e),x=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),A=C();function C(){var e,t,n;return g&&!!(null===(e=window)||void 0===e||null===(e=e.navigator)||void 0===e?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null===(t=window)||void 0===t||null===(t=t.navigator)||void 0===t?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null===(n=window)||void 0===n?void 0:n.navigator.userAgent))}function N(...e){if(1!==e.length)return(0,r.toRef)(...e);const t=e[0];return"function"===typeof t?(0,r.readonly)((0,r.customRef)(()=>({get:t,set:T}))):(0,r.ref)(t)}function I(e,t){function n(...n){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(o)})}return n}const P=e=>e();function L(e,t={}){let n,o,i=T;const s=e=>{clearTimeout(e),i(),i=T};let a;const l=l=>{const u=(0,r.toValue)(e),c=(0,r.toValue)(t.maxWait);return n&&s(n),u<=0||void 0!==c&&c<=0?(o&&(s(o),o=void 0),Promise.resolve(l())):new Promise((e,r)=>{i=t.rejectOnCancel?r:e,a=l,c&&!o&&(o=setTimeout(()=>{n&&s(n),o=void 0,e(a())},c)),n=setTimeout(()=>{o&&s(o),o=void 0,e(l())},u)})};return l}function M(...e){let t,n,o,i,s,a,l=0,u=!0,c=T;(0,r.isRef)(e[0])||"object"!==typeof e[0]?[o,i=!0,s=!0,a=!1]=e:({delay:o,trailing:i=!0,leading:s=!0,rejectOnCancel:a=!1}=e[0]);const f=()=>{t&&(clearTimeout(t),t=void 0,c(),c=T)},d=e=>{const d=(0,r.toValue)(o),p=Date.now()-l,h=()=>n=e();return f(),d<=0?(l=Date.now(),h()):(p>d?(l=Date.now(),!s&&u||h()):i&&(n=new Promise((e,n)=>{c=a?n:e,t=setTimeout(()=>{l=Date.now(),u=!0,e(h()),f()},Math.max(0,d-p))})),s||t||(t=setTimeout(()=>u=!0,d)),u=!1,n)};return d}function D(e=P,t={}){const{initialState:n="active"}=t,o=N("active"===n);function i(){o.value=!1}function s(){o.value=!0}const a=(...t)=>{o.value&&e(...t)};return{isActive:(0,r.readonly)(o),pause:i,resume:s,eventFilter:a}}function F(e,t=!1,n="Timeout"){return new Promise((r,o)=>{t?setTimeout(()=>o(n),e):setTimeout(r,e)})}function U(e){return e}function j(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const e=t;t=void 0,e&&await e},n}function V(e){return e()}function $(e,...t){return t.some(t=>t in e)}function B(e,t){var n;if("number"===typeof e)return e+t;const r=(null===(n=e.match(/^-?\d+\.?\d*/))||void 0===n?void 0:n[0])||"",o=e.slice(r.length),i=Number.parseFloat(r)+t;return Number.isNaN(i)?e:i+o}function W(e){return e.endsWith("rem")?16*Number.parseFloat(e):Number.parseFloat(e)}function H(e,t,n=!1){return t.reduce((t,r)=>(r in e&&(n&&void 0===e[r]||(t[r]=e[r])),t),{})}function q(e,t,n=!1){return Object.fromEntries(Object.entries(e).filter(([e,r])=>(!n||void 0!==r)&&!t.includes(e)))}function z(e){return Object.entries(e)}function G(e){return Array.isArray(e)?e:[e]}function K(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const Y=/\B([A-Z])/g,J=K(e=>e.replace(Y,"-$1").toLowerCase()),X=/-(\w)/g,Q=K(e=>e.replace(X,(e,t)=>t?t.toUpperCase():""));function Z(e){return e||(0,r.getCurrentInstance)()}function ee(e){if(!g)return e;let t,n,o=0;const i=()=>{o-=1,n&&o<=0&&(n.stop(),t=void 0,n=void 0)};return(...s)=>(o+=1,n||(n=(0,r.effectScope)(!0),t=n.run(()=>e(...s))),l(i),t)}function te(e,t,{enumerable:n=!1,unwrap:o=!0}={}){for(const[i,s]of Object.entries(t))"value"!==i&&((0,r.isRef)(s)&&o?Object.defineProperty(e,i,{get(){return s.value},set(e){s.value=e},enumerable:n}):Object.defineProperty(e,i,{value:s,enumerable:n}));return e}function ne(e,t){return null==t?(0,r.unref)(e):(0,r.unref)(e)[t]}function re(e){return null!=(0,r.unref)(e)}function oe(e,t){if("undefined"!==typeof Symbol){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}return Object.assign([...t],e)}function ie(e,t){const n=!1===(null===t||void 0===t?void 0:t.computedGetter)?r.unref:r.toValue;return function(...t){return(0,r.computed)(()=>e.apply(this,t.map(e=>n(e))))}}const se=ie;function ae(e,t={}){let n,r=[];if(Array.isArray(t))r=t;else{n=t;const{includeOwnProperties:o=!0}=t;r.push(...Object.keys(e)),o&&r.push(...Object.getOwnPropertyNames(e))}return Object.fromEntries(r.map(t=>{const r=e[t];return[t,"function"===typeof r?ie(r.bind(e),n):r]}))}function le(e){return(0,r.isRef)(e)?(0,r.reactive)(new Proxy({},{get(t,n,o){return(0,r.unref)(Reflect.get(e.value,n,o))},set(t,n,o){return(0,r.isRef)(e.value[n])&&!(0,r.isRef)(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):(0,r.reactive)(e)}function ue(e){return le((0,r.computed)(e))}function ce(e,...t){const n=t.flat(),o=n[0];return ue(()=>"function"===typeof o?Object.fromEntries(Object.entries((0,r.toRefs)(e)).filter(([e,t])=>!o((0,r.toValue)(t),e))):Object.fromEntries(Object.entries((0,r.toRefs)(e)).filter(e=>!n.includes(e[0]))))}function fe(e,...t){const n=t.flat(),o=n[0];return ue(()=>"function"===typeof o?Object.fromEntries(Object.entries((0,r.toRefs)(e)).filter(([e,t])=>o((0,r.toValue)(t),e))):Object.fromEntries(n.map(t=>[t,N(e,t)])))}function de(e,t=1e4){return(0,r.customRef)((n,o)=>{let i,s=(0,r.toValue)(e);const a=()=>setTimeout(()=>{s=(0,r.toValue)(e),o()},(0,r.toValue)(t));return l(()=>{clearTimeout(i)}),{get(){return n(),s},set(e){s=e,o(),clearTimeout(i),i=a()}}})}const pe=de;function he(e,t=200,n={}){return I(L(t,n),e)}function ve(e,t=200,n={}){const o=(0,r.ref)((0,r.toValue)(e)),i=he(()=>{o.value=e.value},t,n);return(0,r.watch)(e,()=>i()),(0,r.shallowReadonly)(o)}const ge=ve,me=ve;function _e(e,t){return(0,r.computed)({get(){var n;return null!==(n=e.value)&&void 0!==n?n:t},set(t){e.value=t}})}function ye(e){let t,n=(0,r.toValue)(e);const o=()=>{n=(0,r.toValue)(e),t()},i=(0,r.customRef)((e,r)=>(t=r,{get(){return e(),n},set(e){n=e,t()}}));return i.reset=o,i}function we(e,t=200,n=!1,r=!0,o=!1){return I(M(t,n,r,o),e)}function be(e,t=200,n=!0,o=!0){if(t<=0)return e;const i=(0,r.ref)((0,r.toValue)(e)),s=we(()=>{i.value=e.value},t,n,o);return(0,r.watch)(e,()=>s()),i}const Se=be,Ee=be;function ke(e,t={}){let n,o,i=e;const s=(0,r.customRef)((e,t)=>(n=e,o=t,{get(){return a()},set(e){l(e)}}));function a(e=!0){return e&&n(),i}function l(e,n=!0){var r,s;if(e===i)return;const a=i;!1!==(null===(r=t.onBeforeChange)||void 0===r?void 0:r.call(t,e,a))&&(i=e,null===(s=t.onChanged)||void 0===s||s.call(t,e,a),n&&o())}const u=()=>a(!1),c=e=>l(e,!1),f=()=>a(!1),d=e=>l(e,!1);return te(s,{get:a,set:l,untrackedGet:u,silentSet:c,peek:f,lay:d},{enumerable:!0})}const Re=ke;function Te(...e){if(2===e.length){const[t,n]=e;t.value=n}if(3===e.length){const[t,n,r]=e;t[n]=r}}function Oe(e,t,n={}){const{eventFilter:o=P,...i}=n;return(0,r.watch)(e,I(o,t),i)}function xe(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:s,pause:a,resume:l,isActive:u}=D(r,{initialState:o});return{stop:Oe(e,t,{...i,eventFilter:s}),pause:a,resume:l,isActive:u}}const Ae=xe;function Ce(e,t,...[n]){const{flush:r="sync",deep:o=!1,immediate:i=!0,direction:s="both",transform:a={}}=n||{},l=[],u="ltr"in a&&a.ltr||(e=>e),c="rtl"in a&&a.rtl||(e=>e);"both"!==s&&"ltr"!==s||l.push(Ae(e,e=>{l.forEach(e=>e.pause()),t.value=u(e),l.forEach(e=>e.resume())},{flush:r,deep:o,immediate:i})),"both"!==s&&"rtl"!==s||l.push(Ae(t,t=>{l.forEach(e=>e.pause()),e.value=c(t),l.forEach(e=>e.resume())},{flush:r,deep:o,immediate:i}));const f=()=>{l.forEach(e=>e.stop())};return f}function Ne(e,t,n={}){const{flush:o="sync",deep:i=!1,immediate:s=!0}=n,a=G(t);return(0,r.watch)(e,e=>a.forEach(t=>t.value=e),{flush:o,deep:i,immediate:s})}function Ie(e,t={}){if(!(0,r.isRef)(e))return(0,r.toRefs)(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const o in e.value)n[o]=(0,r.customRef)(()=>({get(){return e.value[o]},set(n){var i;if(null===(i=(0,r.toValue)(t.replaceRef))||void 0===i||i)if(Array.isArray(e.value)){const t=[...e.value];t[o]=n,e.value=t}else{const t={...e.value,[o]:n};Object.setPrototypeOf(t,Object.getPrototypeOf(e.value)),e.value=t}else e.value[o]=n}}));return n}function Pe(e,t=!0,n){Z(n)?(0,r.onBeforeMount)(e,n):t?e():(0,r.nextTick)(e)}function Le(e,t){Z(t)&&(0,r.onBeforeUnmount)(e,t)}function Me(e,t=!0,n){Z(n)?(0,r.onMounted)(e,n):t?e():(0,r.nextTick)(e)}function De(e,t){Z(t)&&(0,r.onUnmounted)(e,t)}function Fe(e,t=!1){function n(n,{flush:o="sync",deep:i=!1,timeout:s,throwOnTimeout:a}={}){let l=null;const u=[new Promise(s=>{l=(0,r.watch)(e,e=>{n(e)!==t&&(l?l():(0,r.nextTick)(()=>null===l||void 0===l?void 0:l()),s(e))},{flush:o,deep:i,immediate:!0})})];return null!=s&&u.push(F(s,a).then(()=>(0,r.toValue)(e)).finally(()=>null===l||void 0===l?void 0:l())),Promise.race(u)}function o(o,i){if(!(0,r.isRef)(o))return n(e=>e===o,i);const{flush:s="sync",deep:a=!1,timeout:l,throwOnTimeout:u}=null!==i&&void 0!==i?i:{};let c=null;const f=[new Promise(n=>{c=(0,r.watch)([e,o],([e,o])=>{t!==(e===o)&&(c?c():(0,r.nextTick)(()=>null===c||void 0===c?void 0:c()),n(e))},{flush:s,deep:a,immediate:!0})})];return null!=l&&f.push(F(l,u).then(()=>(0,r.toValue)(e)).finally(()=>(null===c||void 0===c||c(),(0,r.toValue)(e)))),Promise.race(f)}function i(e){return n(e=>Boolean(e),e)}function s(e){return o(null,e)}function a(e){return o(void 0,e)}function l(e){return n(Number.isNaN,e)}function u(e,t){return n(t=>{const n=Array.from(t);return n.includes(e)||n.includes((0,r.toValue)(e))},t)}function c(e){return f(1,e)}function f(e=1,t){let r=-1;return n(()=>(r+=1,r>=e),t)}return Array.isArray((0,r.toValue)(e))?{toMatch:n,toContains:u,changed:c,changedTimes:f,get not(){return Fe(e,!t)}}:{toMatch:n,toBe:o,toBeTruthy:i,toBeNull:s,toBeNaN:l,toBeUndefined:a,changed:c,changedTimes:f,get not(){return Fe(e,!t)}}}function Ue(e){return Fe(e)}function je(e,t){return e===t}function Ve(...e){var t,n;const o=e[0],i=e[1];let s=null!==(t=e[2])&&void 0!==t?t:je;const{symmetric:a=!1}=null!==(n=e[3])&&void 0!==n?n:{};if("string"===typeof s){const e=s;s=(t,n)=>t[e]===n[e]}const l=(0,r.computed)(()=>(0,r.toValue)(o).filter(e=>-1===(0,r.toValue)(i).findIndex(t=>s(e,t))));if(a){const e=(0,r.computed)(()=>(0,r.toValue)(i).filter(e=>-1===(0,r.toValue)(o).findIndex(t=>s(e,t))));return(0,r.computed)(()=>a?[...(0,r.toValue)(l),...(0,r.toValue)(e)]:(0,r.toValue)(l))}return l}function $e(e,t){return(0,r.computed)(()=>(0,r.toValue)(e).every((e,n,o)=>t((0,r.toValue)(e),n,o)))}function Be(e,t){return(0,r.computed)(()=>(0,r.toValue)(e).map(e=>(0,r.toValue)(e)).filter(t))}function We(e,t){return(0,r.computed)(()=>(0,r.toValue)((0,r.toValue)(e).find((e,n,o)=>t((0,r.toValue)(e),n,o))))}function He(e,t){return(0,r.computed)(()=>(0,r.toValue)(e).findIndex((e,n,o)=>t((0,r.toValue)(e),n,o)))}function qe(e,t){let n=e.length;while(n-- >0)if(t(e[n],n,e))return e[n]}function ze(e,t){return(0,r.computed)(()=>(0,r.toValue)(Array.prototype.findLast?(0,r.toValue)(e).findLast((e,n,o)=>t((0,r.toValue)(e),n,o)):qe((0,r.toValue)(e),(e,n,o)=>t((0,r.toValue)(e),n,o))))}function Ge(e){return S(e)&&$(e,"formIndex","comparator")}function Ke(...e){var t;const n=e[0],o=e[1];let i=e[2],s=0;var a;Ge(i)&&(s=null!==(a=i.fromIndex)&&void 0!==a?a:0,i=i.comparator);if("string"===typeof i){const e=i;i=(t,n)=>t[e]===(0,r.toValue)(n)}return i=null!==(t=i)&&void 0!==t?t:(e,t)=>e===(0,r.toValue)(t),(0,r.computed)(()=>(0,r.toValue)(n).slice(s).some((e,t,n)=>i((0,r.toValue)(e),(0,r.toValue)(o),t,(0,r.toValue)(n))))}function Ye(e,t){return(0,r.computed)(()=>(0,r.toValue)(e).map(e=>(0,r.toValue)(e)).join((0,r.toValue)(t)))}function Je(e,t){return(0,r.computed)(()=>(0,r.toValue)(e).map(e=>(0,r.toValue)(e)).map(t))}function Xe(e,t,...n){const o=(e,n,o)=>t((0,r.toValue)(e),(0,r.toValue)(n),o);return(0,r.computed)(()=>{const t=(0,r.toValue)(e);return n.length?t.reduce(o,"function"===typeof n[0]?(0,r.toValue)(n[0]()):(0,r.toValue)(n[0])):t.reduce(o)})}function Qe(e,t){return(0,r.computed)(()=>(0,r.toValue)(e).some((e,n,o)=>t((0,r.toValue)(e),n,o)))}function Ze(e){return Array.from(new Set(e))}function et(e,t){return e.reduce((n,r)=>(n.some(n=>t(r,n,e))||n.push(r),n),[])}function tt(e,t){return(0,r.computed)(()=>{const n=(0,r.toValue)(e).map(e=>(0,r.toValue)(e));return t?et(n,t):Ze(n)})}function nt(e=0,t={}){let n=(0,r.unref)(e);const o=(0,r.shallowRef)(e),{max:i=Number.POSITIVE_INFINITY,min:s=Number.NEGATIVE_INFINITY}=t,a=(e=1)=>o.value=Math.max(Math.min(i,o.value+e),s),l=(e=1)=>o.value=Math.min(Math.max(s,o.value-e),i),u=()=>o.value,c=e=>o.value=Math.max(s,Math.min(i,e)),f=(e=n)=>(n=e,c(e));return{count:(0,r.shallowReadonly)(o),inc:a,dec:l,get:u,set:c,reset:f}}const rt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,ot=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;function it(e,t,n,r){let o=e<12?"AM":"PM";return r&&(o=o.split("").reduce((e,t)=>e+`${t}.`,"")),n?o.toLowerCase():o}function st(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function at(e,t,n={}){var o;const i=e.getFullYear(),s=e.getMonth(),a=e.getDate(),l=e.getHours(),u=e.getMinutes(),c=e.getSeconds(),f=e.getMilliseconds(),d=e.getDay(),p=null!==(o=n.customMeridiem)&&void 0!==o?o:it,h=e=>{var t;return null!==(t=e.split(" ")[1])&&void 0!==t?t:""},v={Yo:()=>st(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>s+1,Mo:()=>st(s+1),MM:()=>`${s+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString((0,r.toValue)(n.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString((0,r.toValue)(n.locales),{month:"long"}),D:()=>String(a),Do:()=>st(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(l),Ho:()=>st(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>st(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(u),mo:()=>st(u),mm:()=>`${u}`.padStart(2,"0"),s:()=>String(c),so:()=>st(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${f}`.padStart(3,"0"),d:()=>d,dd:()=>e.toLocaleDateString((0,r.toValue)(n.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString((0,r.toValue)(n.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString((0,r.toValue)(n.locales),{weekday:"long"}),A:()=>p(l,u),AA:()=>p(l,u,!1,!0),a:()=>p(l,u,!0),aa:()=>p(l,u,!0,!0),z:()=>h(e.toLocaleDateString((0,r.toValue)(n.locales),{timeZoneName:"shortOffset"})),zz:()=>h(e.toLocaleDateString((0,r.toValue)(n.locales),{timeZoneName:"shortOffset"})),zzz:()=>h(e.toLocaleDateString((0,r.toValue)(n.locales),{timeZoneName:"shortOffset"})),zzzz:()=>h(e.toLocaleDateString((0,r.toValue)(n.locales),{timeZoneName:"longOffset"}))};return t.replace(ot,(e,t)=>{var n,r;return null!==(n=null!==t&&void 0!==t?t:null===(r=v[e])||void 0===r?void 0:r.call(v))&&void 0!==n?n:e})}function lt(e){if(null===e)return new Date(NaN);if(void 0===e)return new Date;if(e instanceof Date)return new Date(e);if("string"===typeof e&&!/Z$/i.test(e)){const t=e.match(rt);if(t){const e=t[2]-1||0,n=(t[7]||"0").substring(0,3);return new Date(t[1],e,t[3]||1,t[4]||0,t[5]||0,t[6]||0,n)}}return new Date(e)}function ut(e,t="HH:mm:ss",n={}){return(0,r.computed)(()=>at(lt((0,r.toValue)(e)),(0,r.toValue)(t),n))}function ct(e,t=1e3,n={}){const{immediate:o=!0,immediateCallback:i=!1}=n;let s=null;const a=(0,r.shallowRef)(!1);function u(){s&&(clearInterval(s),s=null)}function c(){a.value=!1,u()}function f(){const n=(0,r.toValue)(t);n<=0||(a.value=!0,i&&e(),u(),a.value&&(s=setInterval(e,n)))}return o&&g&&f(),((0,r.isRef)(t)||"function"===typeof t)&&l((0,r.watch)(t,()=>{a.value&&g&&f()})),l(c),{isActive:(0,r.shallowReadonly)(a),pause:c,resume:f}}function ft(e=1e3,t={}){const{controls:n=!1,immediate:o=!0,callback:i}=t,s=(0,r.shallowRef)(0),a=()=>s.value+=1,l=()=>{s.value=0},u=ct(i?()=>{a(),i(s.value)}:a,e,{immediate:o});return n?{counter:(0,r.shallowReadonly)(s),reset:l,...u}:(0,r.shallowReadonly)(s)}function dt(e,t={}){var n;const o=(0,r.shallowRef)(null!==(n=t.initialValue)&&void 0!==n?n:null);return(0,r.watch)(e,()=>o.value=k(),t),(0,r.shallowReadonly)(o)}function pt(e,t,n={}){const{immediate:o=!0,immediateCallback:i=!1}=n,s=(0,r.shallowRef)(!1);let a;function u(){a&&(clearTimeout(a),a=void 0)}function c(){s.value=!1,u()}function f(...n){i&&e(),u(),s.value=!0,a=setTimeout(()=>{s.value=!1,a=void 0,e(...n)},(0,r.toValue)(t))}return o&&(s.value=!0,g&&f()),l(c),{isPending:(0,r.shallowReadonly)(s),start:f,stop:c}}function ht(e=1e3,t={}){const{controls:n=!1,callback:o}=t,i=pt(null!==o&&void 0!==o?o:T,e,t),s=(0,r.computed)(()=>!i.isPending.value);return n?{ready:s,...i}:s}function vt(e,t={}){const{method:n="parseFloat",radix:o,nanToZero:i}=t;return(0,r.computed)(()=>{let t=(0,r.toValue)(e);return"function"===typeof n?t=n(t):"string"===typeof t&&(t=Number[n](t,o)),i&&Number.isNaN(t)&&(t=0),t})}function gt(e){return(0,r.computed)(()=>`${(0,r.toValue)(e)}`)}function mt(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,i=(0,r.isRef)(e),s=(0,r.shallowRef)(e);function a(e){if(arguments.length)return s.value=e,s.value;{const e=(0,r.toValue)(n);return s.value=s.value===e?(0,r.toValue)(o):e,s.value}}return i?a:[s,a]}function _t(e,t,n){let o=(null===n||void 0===n?void 0:n.immediate)?[]:[..."function"===typeof e?e():Array.isArray(e)?e:(0,r.toValue)(e)];return(0,r.watch)(e,(e,n,r)=>{const i=Array.from({length:o.length}),s=[];for(const t of e){let e=!1;for(let n=0;n!i[t]);t(e,o,s,a,r),o=[...e]},n)}function yt(e,t,n){const{count:o,...i}=n,s=(0,r.shallowRef)(0),{stop:a,resume:l,pause:u}=Oe(e,(...e)=>{s.value+=1,s.value>=(0,r.toValue)(o)&&(0,r.nextTick)(()=>a()),t(...e)},i);return{count:s,stop:a,resume:l,pause:u}}function wt(e,t,n={}){const{debounce:r=0,maxWait:o,...i}=n;return Oe(e,t,{...i,eventFilter:L(r,{maxWait:o})})}const bt=wt;function St(e,t,n){return(0,r.watch)(e,t,{...n,deep:!0})}function Et(e,t,n={}){const{eventFilter:o=P,...i}=n,s=I(o,t);let a,l,u;if("sync"===i.flush){let t=!1;l=()=>{},a=e=>{t=!0,e(),t=!1},u=(0,r.watch)(e,(...e)=>{t||s(...e)},i)}else{const t=[];let n=0,o=0;l=()=>{n=o},t.push((0,r.watch)(e,()=>{o++},{...i,flush:"sync"})),a=e=>{const t=o;e(),n+=o-t},t.push((0,r.watch)(e,(...e)=>{const t=n>0&&n===o;n=0,o=0,t||s(...e)},i)),u=()=>{t.forEach(e=>e())}}return{stop:u,ignoreUpdates:a,ignorePrevAsyncUpdates:l}}const kt=Et;function Rt(e,t,n){return(0,r.watch)(e,t,{...n,immediate:!0})}function Tt(e,t,n){return(0,r.watch)(e,t,{...n,once:!0})}function Ot(e,t,n={}){const{throttle:r=0,trailing:o=!0,leading:i=!0,...s}=n;return Oe(e,t,{...s,eventFilter:M(r,o,i)})}const xt=Ot;function At(e,t,n={}){let r;function o(){if(!r)return;const e=r;r=void 0,e()}function i(e){r=e}const s=(e,n)=>(o(),t(e,n,i)),a=Et(e,s,n),{ignoreUpdates:l}=a,u=()=>{let t;return l(()=>{t=s(Ct(e),Nt(e))}),t};return{...a,trigger:u}}function Ct(e){return(0,r.isReactive)(e)?e:Array.isArray(e)?e.map(e=>(0,r.toValue)(e)):(0,r.toValue)(e)}function Nt(e){return Array.isArray(e)?e.map(()=>{}):void 0}function It(e,t,n){const o=(0,r.watch)(e,(e,i,s)=>{e&&((null===n||void 0===n?void 0:n.once)&&(0,r.nextTick)(()=>o()),t(e,i,s))},{...n,once:!1});return o}function Pt(e,t,n){var o;let i;i=(0,r.isRef)(n)?{evaluating:n}:n||{};const{lazy:s=!1,flush:a="sync",evaluating:l,shallow:u=!0,onError:c=(null!==(o=globalThis.reportError)&&void 0!==o?o:T)}=i,f=(0,r.shallowRef)(!s),d=u?(0,r.shallowRef)(t):(0,r.ref)(t);let p=0;return(0,r.watchEffect)(async t=>{if(!f.value)return;p++;const n=p;let r=!1;l&&Promise.resolve().then(()=>{l.value=!0});try{const o=await e(e=>{t(()=>{l&&(l.value=!1),r||e()})});n===p&&(d.value=o)}catch(e){c(e)}finally{l&&n===p&&(l.value=!1),r=!0}},{flush:a}),s?(0,r.computed)(()=>(f.value=!0,d.value)):d}const Lt=Pt;function Mt(e,t,n,o){let i=(0,r.inject)(e);return n&&(i=(0,r.inject)(e,n)),o&&(i=(0,r.inject)(e,n,o)),"function"===typeof t?(0,r.computed)(e=>t(i,e)):(0,r.computed)({get:e=>t.get(i,e),set:t.set})}function Dt(e={}){const{inheritAttrs:t=!0}=e,n=(0,r.shallowRef)(),o=(0,r.defineComponent)({setup(e,{slots:t}){return()=>{n.value=t.default}}}),i=(0,r.defineComponent)({inheritAttrs:t,props:e.props,setup(r,{attrs:o,slots:i}){return()=>{var s;if(!n.value)throw new Error("[VueUse] Failed to find the definition of reusable template");const a=null===(s=n.value)||void 0===s?void 0:s.call(n,{...null==e.props?Ft(o):r,$slots:i});return t&&1===(null===a||void 0===a?void 0:a.length)?a[0]:a}}});return oe({define:o,reuse:i},[o,i])}function Ft(e){const t={};for(const n in e)t[Q(n)]=e[n];return t}function Ut(e={}){let t=0;const n=(0,r.ref)([]);function o(...o){const i=(0,r.shallowReactive)({key:t++,args:o,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(i),i.promise=new Promise((e,t)=>{i.resolve=t=>(i.isResolving=!0,e(t)),i.reject=t}).finally(()=>{i.promise=void 0;const e=n.value.indexOf(i);-1!==e&&n.value.splice(e,1)}),i.promise}function i(...t){return e.singleton&&n.value.length>0?n.value[0].promise:o(...t)}const s=(0,r.defineComponent)((t,{slots:o})=>{const i=()=>n.value.map(e=>{var t;return(0,r.h)(r.Fragment,{key:e.key},null===(t=o.default)||void 0===t?void 0:t.call(o,e))});return e.transition?()=>(0,r.h)(r.TransitionGroup,e.transition,i):i});return s.start=i,s}function jt(e){return function(...t){return e.apply(this,t.map(e=>(0,r.toValue)(e)))}}const Vt=g?window:void 0,$t=g?window.document:void 0,Bt=g?window.navigator:void 0,Wt=g?window.location:void 0;function Ht(e){var t;const n=(0,r.toValue)(e);return null!==(t=null===n||void 0===n?void 0:n.$el)&&void 0!==t?t:n}function qt(...e){const t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=(0,r.computed)(()=>{const t=G((0,r.toValue)(e[0])).filter(e=>null!=e);return t.every(e=>"string"!==typeof e)?t:void 0});return Rt(()=>{var t,o;return[null!==(t=null===(o=n.value)||void 0===o?void 0:o.map(e=>Ht(e)))&&void 0!==t?t:[Vt].filter(e=>null!=e),G((0,r.toValue)(n.value?e[1]:e[0])),G((0,r.unref)(n.value?e[2]:e[1])),(0,r.toValue)(n.value?e[3]:e[2])]},([e,n,r,o],i,s)=>{if(!(null===e||void 0===e?void 0:e.length)||!(null===n||void 0===n?void 0:n.length)||!(null===r||void 0===r?void 0:r.length))return;const a=S(o)?{...o}:o,l=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,a))));s(()=>{l.forEach(e=>e())})},{flush:"post"})}let zt=!1;function Gt(e,t,n={}){const{window:o=Vt,ignore:i=[],capture:s=!0,detectIframe:a=!1,controls:l=!1}=n;if(!o)return l?{stop:T,cancel:T,trigger:T}:T;if(A&&!zt){zt=!0;const e={passive:!0};Array.from(o.document.body.children).forEach(t=>t.addEventListener("click",T,e)),o.document.documentElement.addEventListener("click",T,e)}let u=!0;const c=e=>(0,r.toValue)(i).some(t=>{if("string"===typeof t)return Array.from(o.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const n=Ht(t);return n&&(e.target===n||e.composedPath().includes(n))}});function f(e){const t=(0,r.toValue)(e);return t&&16===t.$.subTree.shapeFlag}function d(e,t){const n=(0,r.toValue)(e),o=n.$.subTree&&n.$.subTree.children;return!(null==o||!Array.isArray(o))&&o.some(e=>e.el===t.target||t.composedPath().includes(e.el))}const p=n=>{const r=Ht(e);null!=n.target&&(r instanceof Element||!f(e)||!d(e,n))&&r&&r!==n.target&&!n.composedPath().includes(r)&&("detail"in n&&0===n.detail&&(u=!c(n)),u?t(n):u=!0)};let h=!1;const v=[qt(o,"click",e=>{h||(h=!0,setTimeout(()=>{h=!1},0),p(e))},{passive:!0,capture:s}),qt(o,"pointerdown",t=>{const n=Ht(e);u=!c(t)&&!(!n||t.composedPath().includes(n))},{passive:!0}),a&&qt(o,"blur",n=>{setTimeout(()=>{var r;const i=Ht(e);"IFRAME"!==(null===(r=o.document.activeElement)||void 0===r?void 0:r.tagName)||(null===i||void 0===i?void 0:i.contains(o.document.activeElement))||t(n)},0)},{passive:!0})].filter(Boolean),g=()=>v.forEach(e=>e());return l?{stop:g,cancel:()=>{u=!1},trigger:e=>{u=!0,p(e),u=!1}}:g}function Kt(){const e=(0,r.shallowRef)(!1),t=(0,r.getCurrentInstance)();return t&&(0,r.onMounted)(()=>{e.value=!0},t),e}function Yt(e){const t=Kt();return(0,r.computed)(()=>(t.value,Boolean(e())))}function Jt(e,t,n={}){const{window:o=Vt,...i}=n;let s;const a=Yt(()=>o&&"MutationObserver"in o),u=()=>{s&&(s.disconnect(),s=void 0)},c=(0,r.watch)((0,r.computed)(()=>{const t=G((0,r.toValue)(e)).map(Ht).filter(y);return new Set(t)}),e=>{u(),a.value&&e.size&&(s=new MutationObserver(t),e.forEach(e=>s.observe(e,i)))},{immediate:!0,flush:"post"}),f=()=>null===s||void 0===s?void 0:s.takeRecords(),d=()=>{c(),u()};return l(d),{isSupported:a,stop:d,takeRecords:f}}function Xt(e,t,n={}){const{window:o=Vt,document:i=(null===o||void 0===o?void 0:o.document),flush:s="sync"}=n;if(!o||!i)return T;let a;const u=e=>{null===a||void 0===a||a(),a=e},c=(0,r.watchEffect)(()=>{const n=Ht(e);if(n){const{stop:e}=Jt(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:o,childList:!0,subtree:!0});u(e)}},{flush:s}),f=()=>{c(),u()};return l(f),f}function Qt(e){return"function"===typeof e?e:"string"===typeof e?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Zt(...e){let t,n,o={};3===e.length?(t=e[0],n=e[1],o=e[2]):2===e.length?"object"===typeof e[1]?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:i=Vt,eventName:s="keydown",passive:a=!1,dedupe:l=!1}=o,u=Qt(t),c=e=>{e.repeat&&(0,r.toValue)(l)||u(e)&&n(e)};return qt(i,s,c,a)}function en(e,t,n={}){return Zt(e,t,{...n,eventName:"keydown"})}function tn(e,t,n={}){return Zt(e,t,{...n,eventName:"keypress"})}function nn(e,t,n={}){return Zt(e,t,{...n,eventName:"keyup"})}const rn=500,on=10;function sn(e,t,n){var o,i;const s=(0,r.computed)(()=>Ht(e));let a,l,u,c=!1;function f(){a&&(clearTimeout(a),a=void 0),l=void 0,u=void 0,c=!1}function d(e){const t=null===n||void 0===n?void 0:n.delay;return"function"===typeof t?t(e):null!==t&&void 0!==t?t:rn}function p(e){var t,r,o;const[i,a,d]=[u,l,c];if(f(),!(null===n||void 0===n?void 0:n.onMouseUp)||!a||!i)return;if((null===n||void 0===n||null===(t=n.modifiers)||void 0===t?void 0:t.self)&&e.target!==s.value)return;(null===n||void 0===n||null===(r=n.modifiers)||void 0===r?void 0:r.prevent)&&e.preventDefault(),(null===n||void 0===n||null===(o=n.modifiers)||void 0===o?void 0:o.stop)&&e.stopPropagation();const p=e.x-a.x,h=e.y-a.y,v=Math.sqrt(p*p+h*h);n.onMouseUp(e.timeStamp-i,v,d)}function h(e){var r,o,i;(null===n||void 0===n||null===(r=n.modifiers)||void 0===r?void 0:r.self)&&e.target!==s.value||(f(),(null===n||void 0===n||null===(o=n.modifiers)||void 0===o?void 0:o.prevent)&&e.preventDefault(),(null===n||void 0===n||null===(i=n.modifiers)||void 0===i?void 0:i.stop)&&e.stopPropagation(),l={x:e.x,y:e.y},u=e.timeStamp,a=setTimeout(()=>{c=!0,t(e)},d(e)))}function v(e){var t,r,o,i;if((null===n||void 0===n||null===(t=n.modifiers)||void 0===t?void 0:t.self)&&e.target!==s.value)return;if(!l||!1===(null===n||void 0===n?void 0:n.distanceThreshold))return;(null===n||void 0===n||null===(r=n.modifiers)||void 0===r?void 0:r.prevent)&&e.preventDefault(),(null===n||void 0===n||null===(o=n.modifiers)||void 0===o?void 0:o.stop)&&e.stopPropagation();const a=e.x-l.x,u=e.y-l.y;Math.sqrt(a*a+u*u)>=(null!==(i=null===n||void 0===n?void 0:n.distanceThreshold)&&void 0!==i?i:on)&&f()}const g={capture:null===n||void 0===n||null===(o=n.modifiers)||void 0===o?void 0:o.capture,once:null===n||void 0===n||null===(i=n.modifiers)||void 0===i?void 0:i.once},m=[qt(s,"pointerdown",h,g),qt(s,"pointermove",v,g),qt(s,["pointerup","pointerleave"],p,g)],_=()=>m.forEach(e=>e());return _}function an(){const{activeElement:e,body:t}=document;if(!e)return!1;if(e===t)return!1;switch(e.tagName){case"INPUT":case"TEXTAREA":return!0}return e.hasAttribute("contenteditable")}function ln({keyCode:e,metaKey:t,ctrlKey:n,altKey:r}){return!(t||n||r)&&(e>=48&&e<=57||e>=96&&e<=105||e>=65&&e<=90)}function un(e,t={}){const{document:n=$t}=t,r=t=>{!an()&&ln(t)&&e(t)};n&&qt(n,"keydown",r,{passive:!0})}function cn(e,t=null){const n=(0,r.getCurrentInstance)();let o=()=>{};const i=(0,r.customRef)((r,i)=>(o=i,{get(){var o,i;return r(),null!==(o=null===n||void 0===n||null===(i=n.proxy)||void 0===i?void 0:i.$refs[e])&&void 0!==o?o:t},set(){}}));return Me(o),(0,r.onUpdated)(o),i}function fn(e={}){var t;const{window:n=Vt,deep:o=!0,triggerOnRemoval:i=!1}=e,s=null!==(t=e.document)&&void 0!==t?t:null===n||void 0===n?void 0:n.document,a=()=>{let e=null===s||void 0===s?void 0:s.activeElement;var t;if(o)while(null===e||void 0===e?void 0:e.shadowRoot)e=null===e||void 0===e||null===(t=e.shadowRoot)||void 0===t?void 0:t.activeElement;return e},l=(0,r.shallowRef)(),u=()=>{l.value=a()};if(n){const e={capture:!0,passive:!0};qt(n,"blur",e=>{null===e.relatedTarget&&u()},e),qt(n,"focus",u,e)}return i&&Xt(l,u,{document:s}),u(),l}function dn(e,t={}){const{immediate:n=!0,fpsLimit:o,window:i=Vt,once:s=!1}=t,a=(0,r.shallowRef)(!1),u=(0,r.computed)(()=>o?1e3/(0,r.toValue)(o):null);let c=0,f=null;function d(t){if(!a.value||!i)return;c||(c=t);const n=t-c;if(u.value&&n{console.error(e)}}=o,h=Yt(()=>s&&HTMLElement&&"animate"in HTMLElement.prototype),v=(0,r.shallowRef)(void 0),g=(0,r.shallowReactive)({startTime:null,currentTime:null,timeline:null,playbackRate:f,pending:!1,playState:a?"idle":"paused",replaceState:"active"}),m=(0,r.computed)(()=>g.pending),_=(0,r.computed)(()=>g.playState),y=(0,r.computed)(()=>g.replaceState),w=(0,r.computed)({get(){return g.startTime},set(e){g.startTime=e,v.value&&(v.value.startTime=e)}}),b=(0,r.computed)({get(){return g.currentTime},set(e){g.currentTime=e,v.value&&(v.value.currentTime=e,L())}}),E=(0,r.computed)({get(){return g.timeline},set(e){g.timeline=e,v.value&&(v.value.timeline=e)}}),k=(0,r.computed)({get(){return g.playbackRate},set(e){g.playbackRate=e,v.value&&(v.value.playbackRate=e)}}),R=()=>{if(v.value)try{v.value.play(),L()}catch(e){M(),p(e)}else C()},T=()=>{try{var e;null===(e=v.value)||void 0===e||e.pause(),M()}catch(e){p(e)}},O=()=>{v.value||C();try{var e;null===(e=v.value)||void 0===e||e.reverse(),L()}catch(e){M(),p(e)}},x=()=>{try{var e;null===(e=v.value)||void 0===e||e.finish(),M()}catch(e){p(e)}},A=()=>{try{var e;null===(e=v.value)||void 0===e||e.cancel(),M()}catch(e){p(e)}};function C(n){const o=Ht(e);h.value&&o&&(v.value||(v.value=o.animate((0,r.toValue)(t),i)),c&&v.value.persist(),1!==f&&(v.value.playbackRate=f),n&&!a?v.value.pause():L(),null===d||void 0===d||d(v.value))}(0,r.watch)(()=>Ht(e),e=>{e?C(!0):v.value=void 0}),(0,r.watch)(()=>t,t=>{if(v.value){C();const n=Ht(e);n&&(v.value.effect=new KeyframeEffect(n,(0,r.toValue)(t),i))}},{deep:!0}),Me(()=>C(!0),!1),l(A);const N={passive:!0};qt(v,["cancel","finish","remove"],M,N),qt(v,"finish",()=>{var e;u&&(null===(e=v.value)||void 0===e||e.commitStyles())},N);const{resume:I,pause:P}=dn(()=>{v.value&&(g.pending=v.value.pending,g.playState=v.value.playState,g.replaceState=v.value.replaceState,g.startTime=v.value.startTime,g.currentTime=v.value.currentTime,g.timeline=v.value.timeline,g.playbackRate=v.value.playbackRate)},{immediate:!1});function L(){h.value&&I()}function M(){h.value&&s&&s.requestAnimationFrame(P)}return{isSupported:h,animate:v,play:R,pause:T,reverse:O,finish:x,cancel:A,pending:m,playState:_,replaceState:y,startTime:w,currentTime:b,timeline:E,playbackRate:k}}function hn(e,t){const{interrupt:n=!0,onError:o=T,onFinished:i=T,signal:s}=t||{},a={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},l=(0,r.reactive)(Array.from(Array.from({length:e.length}),()=>({state:a.pending,data:null}))),u=(0,r.shallowRef)(-1);if(!e||0===e.length)return i(),{activeIndex:u,result:l};function c(e,t){u.value++,l[u.value].data=t,l[u.value].state=e}return e.reduce((t,r)=>t.then(t=>{var o;if(null===s||void 0===s?void 0:s.aborted)return void c(a.aborted,new Error("aborted"));if((null===(o=l[u.value])||void 0===o?void 0:o.state)===a.rejected&&n)return void i();const f=r(t).then(t=>(c(a.fulfilled,t),u.value===e.length-1&&i(),t));return s?Promise.race([f,vn(s)]):f}).catch(t=>(null===s||void 0===s?void 0:s.aborted)?(c(a.aborted,t),t):(c(a.rejected,t),o(),u.value===e.length-1&&i(),t)),Promise.resolve()),{activeIndex:u,result:l}}function vn(e){return new Promise((t,n)=>{const r=new Error("aborted");e.aborted?n(r):e.addEventListener("abort",()=>n(r),{once:!0})})}function gn(e,t,n){var o;const{immediate:i=!0,delay:s=0,onError:a=(null!==(o=globalThis.reportError)&&void 0!==o?o:T),onSuccess:l=T,resetOnExecute:u=!0,shallow:c=!0,throwError:f}=null!==n&&void 0!==n?n:{},d=c?(0,r.shallowRef)(t):(0,r.ref)(t),p=(0,r.shallowRef)(!1),h=(0,r.shallowRef)(!1),v=(0,r.shallowRef)(void 0);let g=0;async function m(n=0,...o){const i=g+=1;u&&(d.value=(0,r.toValue)(t)),v.value=void 0,p.value=!1,h.value=!0,n>0&&await F(n);const s="function"===typeof e?e(...o):e;try{const e=await s;i===g&&(d.value=e,p.value=!0),l(e)}catch(e){if(i===g&&(v.value=e),a(e),f)throw e}finally{i===g&&(h.value=!1)}return d.value}i&&m(s);const _={state:d,isReady:p,isLoading:h,error:v,execute:m,executeImmediate:(...e)=>m(0,...e)};function y(){return new Promise((e,t)=>{Ue(h).toBe(!1).then(()=>e(_)).catch(t)})}return{..._,then(e,t){return y().then(e,t)}}}const mn={array:e=>JSON.stringify(e),object:e=>JSON.stringify(e),set:e=>JSON.stringify(Array.from(e)),map:e=>JSON.stringify(Object.fromEntries(e)),null:()=>""};function _n(e){return e?e instanceof Map?mn.map:e instanceof Set?mn.set:Array.isArray(e)?mn.array:mn.object:mn.null}function yn(e,t){const n=(0,r.shallowRef)(""),o=(0,r.shallowRef)();function i(){if(g)return o.value=new Promise((n,o)=>{try{const i=(0,r.toValue)(e);if(null==i)n("");else if("string"===typeof i)n(bn(new Blob([i],{type:"text/plain"})));else if(i instanceof Blob)n(bn(i));else if(i instanceof ArrayBuffer)n(window.btoa(String.fromCharCode(...new Uint8Array(i))));else if(i instanceof HTMLCanvasElement)n(i.toDataURL(null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.quality));else if(i instanceof HTMLImageElement){const e=i.cloneNode(!1);e.crossOrigin="Anonymous",wn(e).then(()=>{const r=document.createElement("canvas"),o=r.getContext("2d");r.width=e.width,r.height=e.height,o.drawImage(e,0,0,r.width,r.height),n(r.toDataURL(null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.quality))}).catch(o)}else{if("object"===typeof i){const e=((null===t||void 0===t?void 0:t.serializer)||_n(i))(i);return n(bn(new Blob([e],{type:"application/json"})))}o(new Error("target is unsupported types"))}}catch(e){o(e)}}),o.value.then(e=>{n.value=!1===(null===t||void 0===t?void 0:t.dataUrl)?e.replace(/^data:.*?;base64,/,""):e}),o.value}return(0,r.isRef)(e)||"function"===typeof e?(0,r.watch)(e,i,{immediate:!0}):i(),{base64:n,promise:o,execute:i}}function wn(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}function bn(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=e=>{t(e.target.result)},r.onerror=n,r.readAsDataURL(e)})}function Sn(e={}){const{navigator:t=Bt}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],o=Yt(()=>t&&"getBattery"in t&&"function"===typeof t.getBattery),i=(0,r.shallowRef)(!1),s=(0,r.shallowRef)(0),a=(0,r.shallowRef)(0),l=(0,r.shallowRef)(1);let u;function c(){i.value=this.charging,s.value=this.chargingTime||0,a.value=this.dischargingTime||0,l.value=this.level}return o.value&&t.getBattery().then(e=>{u=e,c.call(u),qt(u,n,c,{passive:!0})}),{isSupported:o,charging:i,chargingTime:s,dischargingTime:a,level:l}}function En(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n,optionalServices:o,navigator:i=Bt}=e||{},s=Yt(()=>i&&"bluetooth"in i),a=(0,r.shallowRef)(),u=(0,r.shallowRef)(null);async function c(){if(s.value){u.value=null,n&&n.length>0&&(t=!1);try{a.value=await(null===i||void 0===i?void 0:i.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:o}))}catch(e){u.value=e}}}(0,r.watch)(a,()=>{h()});const f=(0,r.shallowRef)(),d=(0,r.shallowRef)(!1);function p(){d.value=!1,a.value=void 0,f.value=void 0}async function h(){if(u.value=null,a.value&&a.value.gatt){qt(a,"gattserverdisconnected",p,{passive:!0});try{f.value=await a.value.gatt.connect(),d.value=f.value.connected}catch(e){u.value=e}}}return Me(()=>{var e;a.value&&(null===(e=a.value.gatt)||void 0===e||e.connect())}),l(()=>{var e;a.value&&(null===(e=a.value.gatt)||void 0===e||e.disconnect())}),{isSupported:s,isConnected:(0,r.readonly)(d),device:a,requestDevice:c,server:f,error:u}}const kn=Symbol("vueuse-ssr-width");function Rn(){const e=(0,r.hasInjectionContext)()?d(kn,null):null;return"number"===typeof e?e:void 0}function Tn(e,t){void 0!==t?t.provide(kn,e):p(kn,e)}function On(e,t={}){const{window:n=Vt,ssrWidth:o=Rn()}=t,i=Yt(()=>n&&"matchMedia"in n&&"function"===typeof n.matchMedia),s=(0,r.shallowRef)("number"===typeof o),a=(0,r.shallowRef)(),l=(0,r.shallowRef)(!1),u=e=>{l.value=e.matches};return(0,r.watchEffect)(()=>{if(s.value)return s.value=!i.value,void(l.value=(0,r.toValue)(e).split(",").some(e=>{const t=e.includes("not all"),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let i=Boolean(n||r);return n&&i&&(i=o>=W(n[1])),r&&i&&(i=o<=W(r[1])),t?!i:i}));i.value&&(a.value=n.matchMedia((0,r.toValue)(e)),l.value=a.value.matches)}),qt(a,"change",u,{passive:!0}),(0,r.computed)(()=>l.value)}const xn={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},An={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},Cn={xs:0,sm:600,md:960,lg:1264,xl:1904},Nn={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},In=Cn,Pn={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},Ln={xs:0,sm:600,md:1024,lg:1440,xl:1920},Mn={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},Dn={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},Fn={sm:576,md:768,lg:992,xl:1200},Un={xs:0,sm:768,md:992,lg:1200,xl:1920};function jn(e,t={}){function n(t,n){let o=(0,r.toValue)(e[(0,r.toValue)(t)]);return null!=n&&(o=B(o,n)),"number"===typeof o&&(o=`${o}px`),o}const{window:o=Vt,strategy:i="min-width",ssrWidth:s=Rn()}=t,a="number"===typeof s,l=a?(0,r.shallowRef)(!1):{value:!0};function u(e,t){return!l.value&&a?"min"===e?s>=W(t):s<=W(t):!!o&&o.matchMedia(`(${e}-width: ${t})`).matches}a&&Me(()=>l.value=!!o);const c=e=>On(()=>`(min-width: ${n(e)})`,t),f=e=>On(()=>`(max-width: ${n(e)})`,t),d=Object.keys(e).reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>"min-width"===i?c(t):f(t),enumerable:!0,configurable:!0}),e),{});function p(){const t=Object.keys(e).map(e=>[e,d[e],W(n(e))]).sort((e,t)=>e[2]-t[2]);return(0,r.computed)(()=>t.filter(([,e])=>e.value).map(([e])=>e))}return Object.assign(d,{greaterOrEqual:c,smallerOrEqual:f,greater(e){return On(()=>`(min-width: ${n(e,.1)})`,t)},smaller(e){return On(()=>`(max-width: ${n(e,-.1)})`,t)},between(e,r){return On(()=>`(min-width: ${n(e)}) and (max-width: ${n(r,-.1)})`,t)},isGreater(e){return u("min",n(e,.1))},isGreaterOrEqual(e){return u("min",n(e))},isSmaller(e){return u("max",n(e,-.1))},isSmallerOrEqual(e){return u("max",n(e))},isInBetween(e,t){return u("min",n(e))&&u("max",n(t,-.1))},current:p,active(){const e=p();return(0,r.computed)(()=>0===e.value.length?"":e.value.at("min-width"===i?-1:0))}})}function Vn(e){const{name:t,window:n=Vt}=e,o=Yt(()=>n&&"BroadcastChannel"in n),i=(0,r.shallowRef)(!1),s=(0,r.ref)(),a=(0,r.ref)(),u=(0,r.shallowRef)(null),c=e=>{s.value&&s.value.postMessage(e)},f=()=>{s.value&&s.value.close(),i.value=!0};return o.value&&Me(()=>{u.value=null,s.value=new BroadcastChannel(t);const e={passive:!0};qt(s,"message",e=>{a.value=e.data},e),qt(s,"messageerror",e=>{u.value=e},e),qt(s,"close",()=>{i.value=!0},e)}),l(()=>{f()}),{isSupported:o,channel:s,data:a,post:c,close:f,error:u,isClosed:i}}const $n=["hash","host","hostname","href","pathname","port","protocol","search"];function Bn(e={}){const{window:t=Vt}=e,n=Object.fromEntries($n.map(e=>[e,(0,r.ref)()]));for(const[e,o]of z(n))(0,r.watch)(o,n=>{(null===t||void 0===t?void 0:t.location)&&t.location[e]!==n&&(t.location[e]=n)});const o=e=>{var o;const{state:i,length:s}=(null===t||void 0===t?void 0:t.history)||{},{origin:a}=(null===t||void 0===t?void 0:t.location)||{};for(const e of $n)n[e].value=null===t||void 0===t||null===(o=t.location)||void 0===o?void 0:o[e];return(0,r.reactive)({trigger:e,state:i,length:s,origin:a,...n})},i=(0,r.ref)(o("load"));if(t){const e={passive:!0};qt(t,"popstate",()=>i.value=o("popstate"),e),qt(t,"hashchange",()=>i.value=o("hashchange"),e)}return i}function Wn(e,t=(e,t)=>e===t,n){const{deepRefs:o=!0,...i}=n||{},s=v(e.value,o);return(0,r.watch)(()=>e.value,e=>{t(e,s.value)||(s.value=e)},i),s}function Hn(e,t={}){const{controls:n=!1,navigator:o=Bt}=t,i=Yt(()=>o&&"permissions"in o),s=(0,r.shallowRef)(),a="string"===typeof e?{name:e}:e,l=(0,r.shallowRef)(),u=()=>{var e,t;l.value=null!==(e=null===(t=s.value)||void 0===t?void 0:t.state)&&void 0!==e?e:"prompt"};qt(s,"change",u,{passive:!0});const c=j(async()=>{if(i.value){if(!s.value)try{s.value=await o.permissions.query(a)}catch(e){s.value=void 0}finally{u()}return n?(0,r.toRaw)(s.value):void 0}});return c(),n?{state:l,isSupported:i,query:c}:l}function qn(e={}){const{navigator:t=Bt,read:n=!1,source:o,copiedDuring:i=1500,legacy:s=!1}=e,a=Yt(()=>t&&"clipboard"in t),l=Hn("clipboard-read"),u=Hn("clipboard-write"),c=(0,r.computed)(()=>a.value||s),f=(0,r.shallowRef)(""),d=(0,r.shallowRef)(!1),p=pt(()=>d.value=!1,i,{immediate:!1});async function h(){let e=!(a.value&&_(l.value));if(!e)try{f.value=await t.clipboard.readText()}catch(t){e=!0}e&&(f.value=m())}async function v(e=(0,r.toValue)(o)){if(c.value&&null!=e){let n=!(a.value&&_(u.value));if(!n)try{await t.clipboard.writeText(e)}catch(e){n=!0}n&&g(e),f.value=e,d.value=!0,p.start()}}function g(e){const t=document.createElement("textarea");t.value=e,t.style.position="absolute",t.style.opacity="0",t.setAttribute("readonly",""),document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}function m(){var e,t,n;return null!==(e=null===(t=document)||void 0===t||null===(n=t.getSelection)||void 0===n||null===(n=n.call(t))||void 0===n?void 0:n.toString())&&void 0!==e?e:""}function _(e){return"granted"===e||"prompt"===e}return c.value&&n&&qt(["copy","cut"],h,{passive:!0}),{isSupported:c,text:(0,r.readonly)(f),copied:(0,r.readonly)(d),copy:v}}function zn(e={}){const{navigator:t=Bt,read:n=!1,source:o,copiedDuring:i=1500}=e,s=Yt(()=>t&&"clipboard"in t),a=(0,r.ref)([]),l=(0,r.shallowRef)(!1),u=pt(()=>l.value=!1,i,{immediate:!1});function c(){s.value&&t.clipboard.read().then(e=>{a.value=e})}async function f(e=(0,r.toValue)(o)){s.value&&null!=e&&(await t.clipboard.write(e),a.value=e,l.value=!0,u.start())}return s.value&&n&&qt(["copy","cut"],c,{passive:!0}),{isSupported:s,content:(0,r.shallowReadonly)(a),copied:(0,r.readonly)(l),copy:f,read:c}}function Gn(e){return JSON.parse(JSON.stringify(e))}function Kn(e,t={}){const n=(0,r.ref)({}),o=(0,r.shallowRef)(!1);let i=!1;const{manual:s,clone:a=Gn,deep:l=!0,immediate:u=!0}=t;function c(){i=!0,o.value=!1,n.value=a((0,r.toValue)(e))}return(0,r.watch)(n,()=>{i?i=!1:o.value=!0},{deep:!0,flush:"sync"}),s||!(0,r.isRef)(e)&&"function"!==typeof e?c():(0,r.watch)(e,c,{...t,deep:l,immediate:u}),{cloned:n,isModified:o,sync:c}}const Yn="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{},Jn="__vueuse_ssr_handlers__",Xn=Qn();function Qn(){return Jn in Yn||(Yn[Jn]=Yn[Jn]||{}),Yn[Jn]}function Zn(e,t){return Xn[e]||t}function er(e,t){Xn[e]=t}function tr(e){return On("(prefers-color-scheme: dark)",e)}function nr(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"===typeof e?"boolean":"string"===typeof e?"string":"object"===typeof e?"object":Number.isNaN(e)?"any":"number"}const rr={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},or="vueuse-storage";function ir(e,t,n,o={}){var i;const{flush:s="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:d=Vt,eventFilter:p,onError:h=e=>{console.error(e)},initOnMounted:v}=o,g=(f?r.shallowRef:r.ref)("function"===typeof t?t():t),m=(0,r.computed)(()=>(0,r.toValue)(e));if(!n)try{n=Zn("getDefaultStorage",()=>null===Vt||void 0===Vt?void 0:Vt.localStorage)()}catch(e){h(e)}if(!n)return g;const _=(0,r.toValue)(t),y=nr(_),w=null!==(i=o.serializer)&&void 0!==i?i:rr[y],{pause:b,resume:S}=Ae(g,e=>O(e),{flush:s,deep:a,eventFilter:p});(0,r.watch)(m,()=>A(),{flush:s});let E=!1;const k=e=>{v&&!E||A(e)},R=e=>{v&&!E||C(e)};function T(e,t){if(d){const r={key:m.value,oldValue:e,newValue:t,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",r):new CustomEvent(or,{detail:r}))}}function O(e){try{const t=n.getItem(m.value);if(null==e)T(t,null),n.removeItem(m.value);else{const r=w.write(e);t!==r&&(n.setItem(m.value,r),T(t,r))}}catch(e){h(e)}}function x(e){const t=e?e.newValue:n.getItem(m.value);if(null==t)return u&&null!=_&&n.setItem(m.value,w.write(_)),_;if(!e&&c){const e=w.read(t);return"function"===typeof c?c(e,_):"object"!==y||Array.isArray(e)?e:{..._,...e}}return"string"!==typeof t?t:w.read(t)}function A(e){if(!e||e.storageArea===n)if(e&&null==e.key)g.value=_;else if(!e||e.key===m.value){b();try{const t=w.write(g.value);void 0!==e&&(null===e||void 0===e?void 0:e.newValue)===t||(g.value=x(e))}catch(e){h(e)}finally{e?(0,r.nextTick)(S):S()}}}function C(e){A(e.detail)}return d&&l&&(n instanceof Storage?qt(d,"storage",k,{passive:!0}):qt(d,or,R)),v?Me(()=>{E=!0,A()}):A(),g}const sr="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ar(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:i=Vt,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:u,emitAuto:c,disableTransition:f=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},p=tr({window:i}),h=(0,r.computed)(()=>p.value?"dark":"light"),v=u||(null==a?N(o):ir(a,o,s,{window:i,listenToStorageChanges:l})),g=(0,r.computed)(()=>"auto"===v.value?h.value:v.value),m=Zn("updateHTMLAttrs",(e,t,n)=>{const r="string"===typeof e?null===i||void 0===i?void 0:i.document.querySelector(e):Ht(e);if(!r)return;const o=new Set,s=new Set;let a,l=null;if("class"===t){const e=n.split(/\s/g);Object.values(d).flatMap(e=>(e||"").split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?o.add(t):s.add(t)})}else l={key:t,value:n};if(0!==o.size||0!==s.size||null!==l){f&&(a=i.document.createElement("style"),a.appendChild(document.createTextNode(sr)),i.document.head.appendChild(a));for(const e of o)r.classList.add(e);for(const e of s)r.classList.remove(e);l&&r.setAttribute(l.key,l.value),f&&(i.getComputedStyle(a).opacity,document.head.removeChild(a))}});function _(e){var r;m(t,n,null!==(r=d[e])&&void 0!==r?r:e)}function y(t){e.onChanged?e.onChanged(t,_):_(t)}(0,r.watch)(g,y,{flush:"post",immediate:!0}),Me(()=>y(g.value));const w=(0,r.computed)({get(){return c?v.value:g.value},set(e){v.value=e}});return Object.assign(w,{store:v,system:h,state:g})}function lr(e=(0,r.shallowRef)(!1)){const t=u(),n=u(),o=u();let i=T;const s=t=>(o.trigger(t),e.value=!0,new Promise(e=>{i=e})),a=n=>{e.value=!1,t.trigger(n),i({data:n,isCanceled:!1})},l=t=>{e.value=!1,n.trigger(t),i({data:t,isCanceled:!0})};return{isRevealed:(0,r.computed)(()=>e.value),reveal:s,confirm:a,cancel:l,onReveal:o.on,onConfirm:t.on,onCancel:n.on}}function ur(e,t){var n,o;const i=(0,r.shallowRef)((0,r.toValue)(e)),s=ct(()=>{var e;const n=i.value-1;var r;(i.value=n<0?0:n,null===t||void 0===t||null===(e=t.onTick)||void 0===e||e.call(t),i.value<=0)&&(s.pause(),null===t||void 0===t||null===(r=t.onComplete)||void 0===r||r.call(t))},null!==(n=null===t||void 0===t?void 0:t.interval)&&void 0!==n?n:1e3,{immediate:null!==(o=null===t||void 0===t?void 0:t.immediate)&&void 0!==o&&o}),a=t=>{var n;i.value=null!==(n=(0,r.toValue)(t))&&void 0!==n?n:(0,r.toValue)(e)},l=()=>{s.pause(),a()},u=()=>{s.isActive.value||i.value>0&&s.resume()},c=e=>{a(e),s.resume()};return{remaining:i,reset:a,stop:l,start:c,pause:s.pause,resume:u,isActive:s.isActive}}function cr(e,t,n={}){const{window:o=Vt,initialValue:i,observe:s=!1}=n,a=(0,r.shallowRef)(i),l=(0,r.computed)(()=>{var e;return Ht(t)||(null===o||void 0===o||null===(e=o.document)||void 0===e?void 0:e.documentElement)});function u(){const t=(0,r.toValue)(e),n=(0,r.toValue)(l);var s;n&&o&&t&&(a.value=(null===(s=o.getComputedStyle(n).getPropertyValue(t))||void 0===s?void 0:s.trim())||a.value||i)}return s&&Jt(l,u,{attributeFilter:["style","class"],window:o}),(0,r.watch)([l,()=>(0,r.toValue)(e)],(e,t)=>{t[0]&&t[1]&&t[0].style.removeProperty(t[1]),u()},{immediate:!0}),(0,r.watch)([a,l],([t,n])=>{const o=(0,r.toValue)(e);(null===n||void 0===n?void 0:n.style)&&o&&(null==t?n.style.removeProperty(o):n.style.setProperty(o,t))},{immediate:!0}),a}function fr(e){const t=(0,r.getCurrentInstance)(),n=s(()=>null,()=>e?Ht(e):t.proxy.$el);return(0,r.onUpdated)(n.trigger),(0,r.onMounted)(n.trigger),n}function dr(e,t){const n=(0,r.shallowRef)(c()),o=N(e),i=(0,r.computed)({get(){var e;const r=o.value;let i=(null===t||void 0===t?void 0:t.getIndexOf)?t.getIndexOf(n.value,r):r.indexOf(n.value);return i<0&&(i=null!==(e=null===t||void 0===t?void 0:t.fallbackIndex)&&void 0!==e?e:0),i},set(e){s(e)}});function s(e){const t=o.value,r=t.length,i=t[(e%r+r)%r];return n.value=i,i}function a(e=1){return s(i.value+e)}function l(e=1){return a(e)}function u(e=1){return a(-e)}function c(){var n,o;return null!==(n=(0,r.toValue)(null!==(o=null===t||void 0===t?void 0:t.initialValue)&&void 0!==o?o:(0,r.toValue)(e)[0]))&&void 0!==n?n:void 0}return(0,r.watch)(o,()=>s(i.value)),{state:n,index:i,next:l,prev:u,go:s}}function pr(e={}){const{valueDark:t="dark",valueLight:n=""}=e,o=ar({...e,onChanged:(t,n)=>{var r;e.onChanged?null===(r=e.onChanged)||void 0===r||r.call(e,"dark"===t,n,t):n(t)},modes:{dark:t,light:n}}),i=(0,r.computed)(()=>o.system.value);return(0,r.computed)({get(){return"dark"===o.value},set(e){const t=e?"dark":"light";i.value===t?o.value="auto":o.value=t}})}function hr(e){return e}function vr(e,t){return e.value=t}function gr(e){return e?"function"===typeof e?e:Gn:hr}function mr(e){return e?"function"===typeof e?e:Gn:hr}function _r(e,t={}){const{clone:n=!1,dump:o=gr(n),parse:i=mr(n),setSource:s=vr}=t;function a(){return(0,r.markRaw)({snapshot:o(e.value),timestamp:k()})}const l=(0,r.ref)(a()),u=(0,r.ref)([]),c=(0,r.ref)([]),f=t=>{s(e,i(t.snapshot)),l.value=t},d=()=>{u.value.unshift(l.value),l.value=a(),t.capacity&&u.value.length>t.capacity&&u.value.splice(t.capacity,Number.POSITIVE_INFINITY),c.value.length&&c.value.splice(0,c.value.length)},p=()=>{u.value.splice(0,u.value.length),c.value.splice(0,c.value.length)},h=()=>{const e=u.value.shift();e&&(c.value.unshift(l.value),f(e))},v=()=>{const e=c.value.shift();e&&(u.value.unshift(l.value),f(e))},g=()=>{f(l.value)};return{source:e,undoStack:u,redoStack:c,last:l,history:(0,r.computed)(()=>[l.value,...u.value]),canUndo:(0,r.computed)(()=>u.value.length>0),canRedo:(0,r.computed)(()=>c.value.length>0),clear:p,commit:d,reset:g,undo:h,redo:v}}function yr(e,t={}){const{deep:n=!1,flush:r="pre",eventFilter:o,shouldCommit:i=()=>!0}=t,{eventFilter:s,pause:a,resume:l,isActive:u}=D(o);let c=e.value;const{ignoreUpdates:f,ignorePrevAsyncUpdates:d,stop:p}=Et(e,_,{deep:n,flush:r,eventFilter:s});function h(e,t){d(),f(()=>{e.value=t,c=t})}const v=_r(e,{...t,clone:t.clone||n,setSource:h}),{clear:g,commit:m}=v;function _(){d(),i(c,e.value)&&(c=e.value,m())}function y(e){l(),e&&_()}function w(e){let t=!1;const n=()=>t=!0;f(()=>{e(n)}),t||_()}function b(){p(),g()}return{...v,isTracking:u,pause:a,resume:y,commit:_,batch:w,dispose:b}}function wr(e,t={}){const n=t.debounce?L(t.debounce):void 0;return{...yr(e,{...t,eventFilter:n})}}function br(e={}){const{window:t=Vt,requestPermissions:n=!1,eventFilter:o=P}=e,i=Yt(()=>"undefined"!==typeof DeviceMotionEvent),s=Yt(()=>i.value&&"requestPermission"in DeviceMotionEvent&&"function"===typeof DeviceMotionEvent.requestPermission),a=(0,r.shallowRef)(!1),l=(0,r.ref)({x:null,y:null,z:null}),u=(0,r.ref)({alpha:null,beta:null,gamma:null}),c=(0,r.shallowRef)(0),f=(0,r.ref)({x:null,y:null,z:null});function d(){t&&qt(t,"devicemotion",I(o,e=>{var t,n,r,o,i,s,a,d,p;l.value={x:(null===(t=e.acceleration)||void 0===t?void 0:t.x)||null,y:(null===(n=e.acceleration)||void 0===n?void 0:n.y)||null,z:(null===(r=e.acceleration)||void 0===r?void 0:r.z)||null},f.value={x:(null===(o=e.accelerationIncludingGravity)||void 0===o?void 0:o.x)||null,y:(null===(i=e.accelerationIncludingGravity)||void 0===i?void 0:i.y)||null,z:(null===(s=e.accelerationIncludingGravity)||void 0===s?void 0:s.z)||null},u.value={alpha:(null===(a=e.rotationRate)||void 0===a?void 0:a.alpha)||null,beta:(null===(d=e.rotationRate)||void 0===d?void 0:d.beta)||null,gamma:(null===(p=e.rotationRate)||void 0===p?void 0:p.gamma)||null},c.value=e.interval}),{passive:!0})}const p=async()=>{if(s.value||(a.value=!0),!a.value&&s.value){const e=DeviceMotionEvent.requestPermission;try{"granted"===await e()&&(a.value=!0,d())}catch(e){console.error(e)}}};return i.value&&(n&&s.value?p().then(()=>d()):d()),{acceleration:l,accelerationIncludingGravity:f,rotationRate:u,interval:c,isSupported:i,requirePermissions:s,ensurePermissions:p,permissionGranted:a}}function Sr(e={}){const{window:t=Vt}=e,n=Yt(()=>t&&"DeviceOrientationEvent"in t),o=(0,r.shallowRef)(!1),i=(0,r.shallowRef)(null),s=(0,r.shallowRef)(null),a=(0,r.shallowRef)(null);return t&&n.value&&qt(t,"deviceorientation",e=>{o.value=e.absolute,i.value=e.alpha,s.value=e.beta,a.value=e.gamma},{passive:!0}),{isSupported:n,isAbsolute:o,alpha:i,beta:s,gamma:a}}function Er(e={}){const{window:t=Vt}=e,n=(0,r.shallowRef)(1),o=On(()=>`(resolution: ${n.value}dppx)`,e);let i=T;return t&&(i=Rt(o,()=>n.value=t.devicePixelRatio)),{pixelRatio:(0,r.readonly)(n),stop:i}}function kr(e={}){const{navigator:t=Bt,requestPermissions:n=!1,constraints:o={audio:!0,video:!0},onUpdated:i}=e,s=(0,r.ref)([]),a=(0,r.computed)(()=>s.value.filter(e=>"videoinput"===e.kind)),l=(0,r.computed)(()=>s.value.filter(e=>"audioinput"===e.kind)),u=(0,r.computed)(()=>s.value.filter(e=>"audiooutput"===e.kind)),c=Yt(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=(0,r.shallowRef)(!1);let d;async function p(){c.value&&(s.value=await t.mediaDevices.enumerateDevices(),null===i||void 0===i||i(s.value),d&&(d.getTracks().forEach(e=>e.stop()),d=null))}async function h(){const e=o.video?"camera":"microphone";if(!c.value)return!1;if(f.value)return!0;const{state:n,query:r}=Hn(e,{controls:!0});if(await r(),"granted"!==n.value){let e=!0;try{const e=await t.mediaDevices.enumerateDevices(),n=e.some(e=>"videoinput"===e.kind),r=e.some(e=>"audioinput"===e.kind||"audiooutput"===e.kind);o.video=!!n&&o.video,o.audio=!!r&&o.audio,d=await t.mediaDevices.getUserMedia(o)}catch(t){d=null,e=!1}p(),f.value=e}else f.value=!0;return f.value}return c.value&&(n&&h(),qt(t.mediaDevices,"devicechange",p,{passive:!0}),p()),{devices:s,ensurePermissions:h,permissionGranted:f,videoInputs:a,audioInputs:l,audioOutputs:u,isSupported:c}}function Rr(e={}){var t;const n=(0,r.shallowRef)(null!==(t=e.enabled)&&void 0!==t&&t),o=e.video,i=e.audio,{navigator:s=Bt}=e,a=Yt(()=>{var e;return null===s||void 0===s||null===(e=s.mediaDevices)||void 0===e?void 0:e.getDisplayMedia}),l={audio:i,video:o},u=(0,r.shallowRef)();async function c(){var e;if(a.value&&!u.value)return u.value=await s.mediaDevices.getDisplayMedia(l),null===(e=u.value)||void 0===e||e.getTracks().forEach(e=>qt(e,"ended",d,{passive:!0})),u.value}async function f(){var e;null===(e=u.value)||void 0===e||e.getTracks().forEach(e=>e.stop()),u.value=void 0}function d(){f(),n.value=!1}async function p(){return await c(),u.value&&(n.value=!0),u.value}return(0,r.watch)(n,e=>{e?c():f()},{immediate:!0}),{isSupported:a,stream:u,start:p,stop:d,enabled:n}}function Tr(e={}){const{document:t=$t}=e;if(!t)return(0,r.shallowRef)("visible");const n=(0,r.shallowRef)(t.visibilityState);return qt(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function Or(e,t={}){var n;const{pointerTypes:o,preventDefault:i,stopPropagation:s,exact:a,onMove:l,onEnd:u,onStart:c,initialValue:f,axis:d="both",draggingElement:p=Vt,containerElement:h,handle:v=e,buttons:m=[0]}=t,_=(0,r.ref)(null!==(n=(0,r.toValue)(f))&&void 0!==n?n:{x:0,y:0}),y=(0,r.ref)(),w=e=>!o||o.includes(e.pointerType),b=e=>{(0,r.toValue)(i)&&e.preventDefault(),(0,r.toValue)(s)&&e.stopPropagation()},S=n=>{var o;if(!(0,r.toValue)(m).includes(n.button))return;if((0,r.toValue)(t.disabled)||!w(n))return;if((0,r.toValue)(a)&&n.target!==(0,r.toValue)(e))return;const i=(0,r.toValue)(h),s=null===i||void 0===i||null===(o=i.getBoundingClientRect)||void 0===o?void 0:o.call(i),l=(0,r.toValue)(e).getBoundingClientRect(),u={x:n.clientX-(i?l.left-s.left+i.scrollLeft:l.left),y:n.clientY-(i?l.top-s.top+i.scrollTop:l.top)};!1!==(null===c||void 0===c?void 0:c(u,n))&&(y.value=u,b(n))},E=n=>{if((0,r.toValue)(t.disabled)||!w(n))return;if(!y.value)return;const o=(0,r.toValue)(h),i=(0,r.toValue)(e).getBoundingClientRect();let{x:s,y:a}=_.value;"x"!==d&&"both"!==d||(s=n.clientX-y.value.x,o&&(s=Math.min(Math.max(0,s),o.scrollWidth-i.width))),"y"!==d&&"both"!==d||(a=n.clientY-y.value.y,o&&(a=Math.min(Math.max(0,a),o.scrollHeight-i.height))),_.value={x:s,y:a},null===l||void 0===l||l(_.value,n),b(n)},k=e=>{!(0,r.toValue)(t.disabled)&&w(e)&&y.value&&(y.value=void 0,null===u||void 0===u||u(_.value,e),b(e))};if(g){const e=()=>{var e;return{capture:null===(e=t.capture)||void 0===e||e,passive:!(0,r.toValue)(i)}};qt(v,"pointerdown",S,e),qt(p,"pointermove",E,e),qt(p,"pointerup",k,e)}return{...Ie(_),position:_,isDragging:(0,r.computed)(()=>!!y.value),style:(0,r.computed)(()=>`left:${_.value.x}px;top:${_.value.y}px;`)}}function xr(e,t={}){const n=(0,r.shallowRef)(!1),o=(0,r.shallowRef)(null);let i=0,s=!0;if(g){var a,l;const u="function"===typeof t?{onDrop:t}:t,c=null===(a=u.multiple)||void 0===a||a,f=null!==(l=u.preventDefaultForUnhandled)&&void 0!==l&&l,d=e=>{var t,n;const r=Array.from(null!==(t=null===(n=e.dataTransfer)||void 0===n?void 0:n.files)&&void 0!==t?t:[]);return 0===r.length?null:c?r:[r[0]]},p=e=>{const t=(0,r.unref)(u.dataTypes);return"function"===typeof t?t(e):!(null===t||void 0===t?void 0:t.length)||0!==e.length&&e.every(e=>t.some(t=>e.includes(t)))},h=e=>{if(u.checkValidity)return u.checkValidity(e);const t=p(Array.from(null!==e&&void 0!==e?e:[]).map(e=>e.type)),n=c||e.length<=1;return t&&n},v=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),g=(e,t)=>{var r,a;const l=null===(r=e.dataTransfer)||void 0===r?void 0:r.items;if(s=null!==(a=l&&h(l))&&void 0!==a&&a,f&&e.preventDefault(),!v()&&!s)return void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="copy");const c=d(e);switch(t){case"enter":var p;i+=1,n.value=!0,null===(p=u.onEnter)||void 0===p||p.call(u,null,e);break;case"over":var g;null===(g=u.onOver)||void 0===g||g.call(u,null,e);break;case"leave":var m;i-=1,0===i&&(n.value=!1),null===(m=u.onLeave)||void 0===m||m.call(u,null,e);break;case"drop":var _;if(i=0,n.value=!1,s)o.value=c,null===(_=u.onDrop)||void 0===_||_.call(u,c,e);break}};qt(e,"dragenter",e=>g(e,"enter")),qt(e,"dragover",e=>g(e,"over")),qt(e,"dragleave",e=>g(e,"leave")),qt(e,"drop",e=>g(e,"drop"))}return{files:o,isOverDropZone:n}}function Ar(e,t,n={}){const{window:o=Vt,...i}=n;let s;const a=Yt(()=>o&&"ResizeObserver"in o),u=()=>{s&&(s.disconnect(),s=void 0)},c=(0,r.watch)((0,r.computed)(()=>{const t=(0,r.toValue)(e);return Array.isArray(t)?t.map(e=>Ht(e)):[Ht(t)]}),e=>{if(u(),a.value&&o){s=new ResizeObserver(t);for(const t of e)t&&s.observe(t,i)}},{immediate:!0,flush:"post"}),f=()=>{u(),c()};return l(f),{isSupported:a,stop:f}}function Cr(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:i=!0,immediate:s=!0,updateTiming:a="sync"}=t,l=(0,r.shallowRef)(0),u=(0,r.shallowRef)(0),c=(0,r.shallowRef)(0),f=(0,r.shallowRef)(0),d=(0,r.shallowRef)(0),p=(0,r.shallowRef)(0),h=(0,r.shallowRef)(0),v=(0,r.shallowRef)(0);function g(){const t=Ht(e);if(!t)return void(n&&(l.value=0,u.value=0,c.value=0,f.value=0,d.value=0,p.value=0,h.value=0,v.value=0));const r=t.getBoundingClientRect();l.value=r.height,u.value=r.bottom,c.value=r.left,f.value=r.right,d.value=r.top,p.value=r.width,h.value=r.x,v.value=r.y}function m(){"sync"===a?g():"next-frame"===a&&requestAnimationFrame(()=>g())}return Ar(e,m),(0,r.watch)(()=>Ht(e),e=>!e&&m()),Jt(e,m,{attributeFilter:["style","class"]}),i&&qt("scroll",m,{capture:!0,passive:!0}),o&&qt("resize",m,{passive:!0}),Me(()=>{s&&m()}),{height:l,bottom:u,left:c,right:f,top:d,width:p,x:h,y:v,update:m}}function Nr(e){const{x:t,y:n,document:o=$t,multiple:i,interval:s="requestAnimationFrame",immediate:a=!0}=e,l=Yt(()=>(0,r.toValue)(i)?o&&"elementsFromPoint"in o:o&&"elementFromPoint"in o),u=(0,r.shallowRef)(null),c=()=>{var e,s;u.value=(0,r.toValue)(i)?null!==(e=null===o||void 0===o?void 0:o.elementsFromPoint((0,r.toValue)(t),(0,r.toValue)(n)))&&void 0!==e?e:[]:null!==(s=null===o||void 0===o?void 0:o.elementFromPoint((0,r.toValue)(t),(0,r.toValue)(n)))&&void 0!==s?s:null};return{isSupported:l,element:u,..."requestAnimationFrame"===s?dn(c,{immediate:a}):ct(c,s,{immediate:a})}}function Ir(e,t={}){const{delayEnter:n=0,delayLeave:o=0,triggerOnRemoval:i=!1,window:s=Vt}=t,a=(0,r.shallowRef)(!1);let l;const u=e=>{const t=e?n:o;l&&(clearTimeout(l),l=void 0),t?l=setTimeout(()=>a.value=e,t):a.value=e};return s?(qt(e,"mouseenter",()=>u(!0),{passive:!0}),qt(e,"mouseleave",()=>u(!1),{passive:!0}),i&&Xt((0,r.computed)(()=>Ht(e)),()=>u(!1)),a):a}function Pr(e,t={width:0,height:0},n={}){const{window:o=Vt,box:i="content-box"}=n,s=(0,r.computed)(()=>{var t;return null===(t=Ht(e))||void 0===t||null===(t=t.namespaceURI)||void 0===t?void 0:t.includes("svg")}),a=(0,r.shallowRef)(t.width),l=(0,r.shallowRef)(t.height),{stop:u}=Ar(e,([t])=>{const n="border-box"===i?t.borderBoxSize:"content-box"===i?t.contentBoxSize:t.devicePixelContentBoxSize;if(o&&s.value){const t=Ht(e);if(t){const e=t.getBoundingClientRect();a.value=e.width,l.value=e.height}}else if(n){const e=G(n);a.value=e.reduce((e,{inlineSize:t})=>e+t,0),l.value=e.reduce((e,{blockSize:t})=>e+t,0)}else a.value=t.contentRect.width,l.value=t.contentRect.height},n);Me(()=>{const n=Ht(e);n&&(a.value="offsetWidth"in n?n.offsetWidth:t.width,l.value="offsetHeight"in n?n.offsetHeight:t.height)});const c=(0,r.watch)(()=>Ht(e),e=>{a.value=e?t.width:0,l.value=e?t.height:0});function f(){u(),c()}return{width:a,height:l,stop:f}}function Lr(e,t,n={}){const{root:o,rootMargin:i="0px",threshold:s=0,window:a=Vt,immediate:u=!0}=n,c=Yt(()=>a&&"IntersectionObserver"in a),f=(0,r.computed)(()=>G((0,r.toValue)(e)).map(Ht).filter(y));let d=T;const p=(0,r.shallowRef)(u),h=c.value?(0,r.watch)(()=>[f.value,Ht(o),p.value],([e,n])=>{if(d(),!p.value)return;if(!e.length)return;const r=new IntersectionObserver(t,{root:Ht(n),rootMargin:i,threshold:s});e.forEach(e=>e&&r.observe(e)),d=()=>{r.disconnect(),d=T}},{immediate:u,flush:"post"}):T,v=()=>{d(),h(),p.value=!1};return l(v),{isSupported:c,isActive:p,pause(){d(),p.value=!1},resume(){p.value=!0},stop:v}}function Mr(e,t={}){const{window:n=Vt,scrollTarget:o,threshold:i=0,rootMargin:s,once:a=!1,initialValue:l=!1}=t,u=(0,r.shallowRef)(l),{stop:c}=Lr(e,e=>{let t=u.value,n=0;for(const r of e)r.time>=n&&(n=r.time,t=r.isIntersecting);u.value=t,a&&Tt(u,()=>{c()})},{root:o,window:n,threshold:i,rootMargin:(0,r.toValue)(s)});return u}const Dr=new Map;function Fr(e){const t=(0,r.getCurrentScope)();function n(n){var r;const o=Dr.get(e)||new Set;o.add(n),Dr.set(e,o);const s=()=>i(n);return null===t||void 0===t||null===(r=t.cleanups)||void 0===r||r.push(s),s}function o(e){function t(...n){i(t),e(...n)}return n(t)}function i(t){const n=Dr.get(e);n&&(n.delete(t),n.size||s())}function s(){Dr.delete(e)}function a(t,n){var r;null===(r=Dr.get(e))||void 0===r||r.forEach(e=>e(t,n))}return{on:n,once:o,off:i,emit:a,reset:s}}function Ur(e){return!0===e?{}:e}function jr(e,t=[],n={}){const o=(0,r.shallowRef)(null),i=(0,r.shallowRef)(null),s=(0,r.shallowRef)("CONNECTING"),a=(0,r.ref)(null),u=(0,r.shallowRef)(null),c=N(e),f=(0,r.shallowRef)(null);let d=!1,p=0;const{withCredentials:h=!1,immediate:v=!0,autoConnect:m=!0,autoReconnect:_,serializer:y={read:e=>e}}=n,w=()=>{g&&a.value&&(a.value.close(),a.value=null,s.value="CLOSED",d=!0)},b=()=>{if(d||"undefined"===typeof c.value)return;const e=new EventSource(c.value,{withCredentials:h});s.value="CONNECTING",a.value=e,e.onopen=()=>{s.value="OPEN",u.value=null},e.onerror=t=>{if(s.value="CLOSED",u.value=t,2===e.readyState&&!d&&_){e.close();const{retries:t=-1,delay:n=1e3,onFailed:r}=Ur(_);p+=1,"number"===typeof t&&(t<0||p{var t;o.value=null,i.value=null!==(t=y.read(e.data))&&void 0!==t?t:null,f.value=e.lastEventId};for(const n of t)qt(e,n,e=>{var t,r;o.value=n,i.value=null!==(t=y.read(e.data))&&void 0!==t?t:null,f.value=null!==(r=e.lastEventId)&&void 0!==r?r:null},{passive:!0})},S=()=>{g&&(w(),d=!1,p=0,b())};return v&&S(),m&&(0,r.watch)(c,S),l(w),{eventSource:a,event:o,data:i,status:s,error:u,open:S,close:w,lastEventId:f}}function Vr(e={}){const{initialValue:t=""}=e,n=Yt(()=>"undefined"!==typeof window&&"EyeDropper"in window),o=(0,r.shallowRef)(t);async function i(e){if(!n.value)return;const t=await(new window.EyeDropper).open(e);return o.value=t.sRGBHex,t}return{isSupported:n,sRGBHex:o,open:i}}function $r(e=null,t={}){const{baseUrl:n="",rel:o="icon",document:i=$t}=t,s=N(e),a=e=>{const t=null===i||void 0===i?void 0:i.head.querySelectorAll(`link[rel*="${o}"]`);if(!t||0===t.length){const t=null===i||void 0===i?void 0:i.createElement("link");return void(t&&(t.rel=o,t.href=`${n}${e}`,t.type=`image/${e.split(".").pop()}`,null===i||void 0===i||i.head.append(t)))}null===t||void 0===t||t.forEach(t=>t.href=`${n}${e}`)};return(0,r.watch)(s,(e,t)=>{"string"===typeof e&&e!==t&&a(e)},{immediate:!0}),s}const Br={json:"application/json",text:"text/plain"};function Wr(e){return e&&$(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const Hr=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function qr(e){return Hr.test(e)}function zr(e){return"undefined"!==typeof Headers&&e instanceof Headers?Object.fromEntries(e.entries()):e}function Gr(e,...t){return"overwrite"===e?async e=>{let n;for(let e=t.length-1;e>=0;e--)if(null!=t[e]){n=t[e];break}return n?{...e,...await n(e)}:e}:async e=>{for(const n of t)n&&(e={...e,...await n(e)});return e}}function Kr(e={}){const t=e.combination||"chain",n=e.options||{},o=e.fetchOptions||{};function i(i,...s){const a=(0,r.computed)(()=>{const t=(0,r.toValue)(e.baseUrl),n=(0,r.toValue)(i);return t&&!qr(n)?Jr(t,n):n});let l=n,u=o;return s.length>0&&(Wr(s[0])?l={...l,...s[0],beforeFetch:Gr(t,n.beforeFetch,s[0].beforeFetch),afterFetch:Gr(t,n.afterFetch,s[0].afterFetch),onFetchError:Gr(t,n.onFetchError,s[0].onFetchError)}:u={...u,...s[0],headers:{...zr(u.headers)||{},...zr(s[0].headers)||{}}}),s.length>1&&Wr(s[1])&&(l={...l,...s[1],beforeFetch:Gr(t,n.beforeFetch,s[1].beforeFetch),afterFetch:Gr(t,n.afterFetch,s[1].afterFetch),onFetchError:Gr(t,n.onFetchError,s[1].onFetchError)}),Yr(a,u,l)}return i}function Yr(e,...t){var n,o;const i="function"===typeof AbortController;let s={},a={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const l={method:"GET",type:"text",payload:void 0};t.length>0&&(Wr(t[0])?a={...a,...t[0]}:s=t[0]),t.length>1&&Wr(t[1])&&(a={...a,...t[1]});const{fetch:c=(null!==(n=null===Vt||void 0===Vt?void 0:Vt.fetch)&&void 0!==n?n:null===(o=globalThis)||void 0===o?void 0:o.fetch),initialData:f,timeout:d}=a,p=u(),h=u(),v=u(),g=(0,r.shallowRef)(!1),m=(0,r.shallowRef)(!1),_=(0,r.shallowRef)(!1),y=(0,r.shallowRef)(null),w=(0,r.shallowRef)(null),b=(0,r.shallowRef)(null),S=(0,r.shallowRef)(f||null),E=(0,r.computed)(()=>i&&m.value);let k,R;const T=e=>{i&&(null===k||void 0===k||k.abort(e),k=new AbortController,k.signal.onabort=()=>_.value=!0,s={...s,signal:k.signal})},O=e=>{m.value=e,g.value=!e};d&&(R=pt(T,d,{immediate:!1}));let x=0;const A=async(t=!1)=>{var n;T(),O(!0),b.value=null,y.value=null,_.value=!1,x+=1;const o=x,i={method:l.method,headers:{}},u=(0,r.toValue)(l.payload);if(u){var d;const e=zr(i.headers),t=Object.getPrototypeOf(u);l.payloadType||!u||t!==Object.prototype&&!Array.isArray(t)||u instanceof FormData||(l.payloadType="json"),l.payloadType&&(e["Content-Type"]=null!==(d=Br[l.payloadType])&&void 0!==d?d:l.payloadType),i.body="json"===l.payloadType?JSON.stringify(u):u}let g=!1;const m={url:(0,r.toValue)(e),options:{...i,...s},cancel:()=>{g=!0}};if(a.beforeFetch&&Object.assign(m,await a.beforeFetch(m)),g||!c)return O(!1),Promise.resolve(null);let E=null;return R&&R.start(),c(m.url,{...i,...m.options,headers:{...zr(i.headers),...zr(null===(n=m.options)||void 0===n?void 0:n.headers)}}).then(async e=>{if(w.value=e,y.value=e.status,E=await e.clone()[l.type](),!e.ok)throw S.value=f||null,new Error(e.statusText);return a.afterFetch&&({data:E}=await a.afterFetch({data:E,response:e,context:m,execute:A})),S.value=E,p.trigger(e),e}).catch(async e=>{let n=e.message||e.name;if(a.onFetchError&&({error:n,data:E}=await a.onFetchError({data:E,error:e,response:w.value,context:m,execute:A})),b.value=n,a.updateDataOnError&&(S.value=E),h.trigger(e),t)throw e;return null}).finally(()=>{o===x&&O(!1),R&&R.stop(),v.trigger(null)})},C=N(a.refetch);(0,r.watch)([C,N(e)],([e])=>e&&A(),{deep:!0});const I={isFinished:(0,r.readonly)(g),isFetching:(0,r.readonly)(m),statusCode:y,response:w,error:b,data:S,canAbort:E,aborted:_,abort:T,execute:A,onFetchResponse:p.on,onFetchError:h.on,onFetchFinally:v.on,get:P("GET"),put:P("PUT"),post:P("POST"),delete:P("DELETE"),patch:P("PATCH"),head:P("HEAD"),options:P("OPTIONS"),json:M("json"),text:M("text"),blob:M("blob"),arrayBuffer:M("arrayBuffer"),formData:M("formData")};function P(e){return(t,n)=>{if(!m.value)return l.method=e,l.payload=t,l.payloadType=n,(0,r.isRef)(l.payload)&&(0,r.watch)([C,N(l.payload)],([e])=>e&&A(),{deep:!0}),{...I,then(e,t){return L().then(e,t)}}}}function L(){return new Promise((e,t)=>{Ue(g).toBe(!0).then(()=>e(I)).catch(t)})}function M(e){return()=>{if(!m.value)return l.type=e,{...I,then(e,t){return L().then(e,t)}}}}return a.immediate&&Promise.resolve().then(()=>A()),{...I,then(e,t){return L().then(e,t)}}}function Jr(e,t){return e.endsWith("/")||t.startsWith("/")?e.endsWith("/")&&t.startsWith("/")?`${e.slice(0,-1)}${t}`:`${e}${t}`:`${e}/${t}`}const Xr={multiple:!0,accept:"*",reset:!1,directory:!1};function Qr(e){if(!e)return null;if(e instanceof FileList)return e;const t=new DataTransfer;for(const n of e)t.items.add(n);return t.files}function Zr(e={}){const{document:t=$t}=e,n=(0,r.ref)(Qr(e.initialFiles)),{on:o,trigger:i}=u(),{on:s,trigger:a}=u(),l=(0,r.computed)(()=>{var r;const o=null!==(r=Ht(e.input))&&void 0!==r?r:t?t.createElement("input"):void 0;return o&&(o.type="file",o.onchange=e=>{n.value=e.target.files,i(n.value)},o.oncancel=()=>{a()}),o}),c=()=>{n.value=null,l.value&&l.value.value&&(l.value.value="",i(null))},f=e=>{const t=l.value;t&&(t.multiple=(0,r.toValue)(e.multiple),t.accept=(0,r.toValue)(e.accept),t.webkitdirectory=(0,r.toValue)(e.directory),x(e,"capture")&&(t.capture=(0,r.toValue)(e.capture)))},d=t=>{const n=l.value;if(!n)return;const o={...Xr,...e,...t};f(o),(0,r.toValue)(o.reset)&&c(),n.click()};return(0,r.watchEffect)(()=>{f(e)}),{files:(0,r.readonly)(n),open:d,reset:c,onCancel:s,onChange:o}}function eo(e={}){const{window:t=Vt,dataType:n="Text"}=e,o=t,i=Yt(()=>o&&"showSaveFilePicker"in o&&"showOpenFilePicker"in o),s=(0,r.shallowRef)(),a=(0,r.shallowRef)(),l=(0,r.shallowRef)(),u=(0,r.computed)(()=>{var e,t;return null!==(e=null===(t=l.value)||void 0===t?void 0:t.name)&&void 0!==e?e:""}),c=(0,r.computed)(()=>{var e,t;return null!==(e=null===(t=l.value)||void 0===t?void 0:t.type)&&void 0!==e?e:""}),f=(0,r.computed)(()=>{var e,t;return null!==(e=null===(t=l.value)||void 0===t?void 0:t.size)&&void 0!==e?e:0}),d=(0,r.computed)(()=>{var e,t;return null!==(e=null===(t=l.value)||void 0===t?void 0:t.lastModified)&&void 0!==e?e:0});async function p(t={}){if(!i.value)return;const[n]=await o.showOpenFilePicker({...(0,r.toValue)(e),...t});s.value=n,await _()}async function h(t={}){i.value&&(s.value=await o.showSaveFilePicker({...e,...t}),a.value=void 0,await _())}async function v(e={}){if(i.value){if(!s.value)return g(e);if(a.value){const e=await s.value.createWritable();await e.write(a.value),await e.close()}await m()}}async function g(t={}){if(i.value){if(s.value=await o.showSaveFilePicker({...e,...t}),a.value){const e=await s.value.createWritable();await e.write(a.value),await e.close()}await m()}}async function m(){var e;l.value=await(null===(e=s.value)||void 0===e?void 0:e.getFile())}async function _(){var e,t;await m();const o=(0,r.toValue)(n);"Text"===o?a.value=await(null===(e=l.value)||void 0===e?void 0:e.text()):"ArrayBuffer"===o?a.value=await(null===(t=l.value)||void 0===t?void 0:t.arrayBuffer()):"Blob"===o&&(a.value=l.value)}return(0,r.watch)(()=>(0,r.toValue)(n),_),{isSupported:i,data:a,file:l,fileName:u,fileMIME:c,fileSize:f,fileLastModified:d,open:p,create:h,save:v,saveAs:g,updateData:_}}function to(e,t={}){const{initialValue:n=!1,focusVisible:o=!1,preventScroll:i=!1}=t,s=(0,r.shallowRef)(!1),a=(0,r.computed)(()=>Ht(e)),l={passive:!0};qt(a,"focus",e=>{var t,n;o&&!(null===(t=(n=e.target).matches)||void 0===t?void 0:t.call(n,":focus-visible"))||(s.value=!0)},l),qt(a,"blur",()=>s.value=!1,l);const u=(0,r.computed)({get:()=>s.value,set(e){var t,n;!e&&s.value?null===(t=a.value)||void 0===t||t.blur():e&&!s.value&&(null===(n=a.value)||void 0===n||n.focus({preventScroll:i}))}});return(0,r.watch)(a,()=>{u.value=n},{immediate:!0,flush:"post"}),{focused:u}}const no="focusin",ro="focusout",oo=":focus-within";function io(e,t={}){const{window:n=Vt}=t,o=(0,r.computed)(()=>Ht(e)),i=(0,r.shallowRef)(!1),s=(0,r.computed)(()=>i.value),a=fn(t);if(!n||!a.value)return{focused:s};const l={passive:!0};return qt(o,no,()=>i.value=!0,l),qt(o,ro,()=>{var e,t,n;return i.value=null!==(e=null===(t=o.value)||void 0===t||null===(n=t.matches)||void 0===n?void 0:n.call(t,oo))&&void 0!==e&&e},l),{focused:s}}function so(e){var t;const n=(0,r.shallowRef)(0);if("undefined"===typeof performance)return n;const o=null!==(t=null===e||void 0===e?void 0:e.every)&&void 0!==t?t:10;let i=performance.now(),s=0;return dn(()=>{if(s+=1,s>=o){const e=performance.now(),t=e-i;n.value=Math.round(1e3/(t/s)),i=e,s=0}}),n}const ao=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function lo(e,t={}){const{document:n=$t,autoExit:o=!1}=t,i=(0,r.computed)(()=>{var t;return null!==(t=Ht(e))&&void 0!==t?t:null===n||void 0===n?void 0:n.documentElement}),s=(0,r.shallowRef)(!1),a=(0,r.computed)(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(e=>n&&e in n||i.value&&e in i.value)),u=(0,r.computed)(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(e=>n&&e in n||i.value&&e in i.value)),c=(0,r.computed)(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(e=>n&&e in n||i.value&&e in i.value)),f=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(e=>n&&e in n),d=Yt(()=>i.value&&n&&void 0!==a.value&&void 0!==u.value&&void 0!==c.value),p=()=>!!f&&(null===n||void 0===n?void 0:n[f])===i.value,h=()=>{if(c.value){if(n&&null!=n[c.value])return n[c.value];{const e=i.value;if(null!=(null===e||void 0===e?void 0:e[c.value]))return Boolean(e[c.value])}}return!1};async function v(){if(d.value&&s.value){if(u.value)if(null!=(null===n||void 0===n?void 0:n[u.value]))await n[u.value]();else{const e=i.value;null!=(null===e||void 0===e?void 0:e[u.value])&&await e[u.value]()}s.value=!1}}async function g(){if(!d.value||s.value)return;h()&&await v();const e=i.value;a.value&&null!=(null===e||void 0===e?void 0:e[a.value])&&(await e[a.value](),s.value=!0)}async function m(){await(s.value?v():g())}const _=()=>{const e=h();(!e||e&&p())&&(s.value=e)},y={capture:!1,passive:!0};return qt(n,ao,_,y),qt(()=>Ht(i),ao,_,y),Me(_,!1),o&&l(v),{isSupported:d,isFullscreen:s,enter:g,exit:v,toggle:m}}function uo(e){return(0,r.computed)(()=>e.value?{buttons:{a:e.value.buttons[0],b:e.value.buttons[1],x:e.value.buttons[2],y:e.value.buttons[3]},bumper:{left:e.value.buttons[4],right:e.value.buttons[5]},triggers:{left:e.value.buttons[6],right:e.value.buttons[7]},stick:{left:{horizontal:e.value.axes[0],vertical:e.value.axes[1],button:e.value.buttons[10]},right:{horizontal:e.value.axes[2],vertical:e.value.axes[3],button:e.value.buttons[11]}},dpad:{up:e.value.buttons[12],down:e.value.buttons[13],left:e.value.buttons[14],right:e.value.buttons[15]},back:e.value.buttons[8],start:e.value.buttons[9]}:null)}function co(e={}){const{navigator:t=Bt}=e,n=Yt(()=>t&&"getGamepads"in t),o=(0,r.ref)([]),i=u(),s=u(),a=e=>{const t=[],n="vibrationActuator"in e?e.vibrationActuator:null;return n&&t.push(n),e.hapticActuators&&t.push(...e.hapticActuators),{id:e.id,index:e.index,connected:e.connected,mapping:e.mapping,timestamp:e.timestamp,vibrationActuator:e.vibrationActuator,hapticActuators:t,axes:e.axes.map(e=>e),buttons:e.buttons.map(e=>({pressed:e.pressed,touched:e.touched,value:e.value}))}},l=()=>{const e=(null===t||void 0===t?void 0:t.getGamepads())||[];for(const t of e)t&&o.value[t.index]&&(o.value[t.index]=a(t))},{isActive:c,pause:f,resume:d}=dn(l),p=e=>{o.value.some(({index:t})=>t===e.index)||(o.value.push(a(e)),i.trigger(e.index)),d()},h=e=>{o.value=o.value.filter(t=>t.index!==e.index),s.trigger(e.index)},v={passive:!0};return qt("gamepadconnected",e=>p(e.gamepad),v),qt("gamepaddisconnected",e=>h(e.gamepad),v),Me(()=>{const e=(null===t||void 0===t?void 0:t.getGamepads())||[];for(const t of e)t&&o.value[t.index]&&p(t)}),f(),{isSupported:n,onConnected:i.on,onDisconnected:s.on,gamepads:o,pause:f,resume:d,isActive:c}}function fo(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:o=27e3,navigator:i=Bt,immediate:s=!0}=e,a=Yt(()=>i&&"geolocation"in i),u=(0,r.shallowRef)(null),c=(0,r.shallowRef)(null),f=(0,r.ref)({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function d(e){u.value=e.timestamp,f.value=e.coords,c.value=null}let p;function h(){a.value&&(p=i.geolocation.watchPosition(d,e=>c.value=e,{enableHighAccuracy:t,maximumAge:n,timeout:o}))}function v(){p&&i&&i.geolocation.clearWatch(p)}return s&&h(),l(()=>{v()}),{isSupported:a,coords:f,locatedAt:u,error:c,resume:h,pause:v}}const po=["mousemove","mousedown","resize","keydown","touchstart","wheel"],ho=6e4;function vo(e=ho,t={}){const{initialState:n=!1,listenForVisibilityChange:o=!0,events:i=po,window:s=Vt,eventFilter:a=M(50)}=t,l=(0,r.shallowRef)(n),u=(0,r.shallowRef)(k()),c=(0,r.shallowRef)(!1);let f;const d=()=>{l.value=!1,clearTimeout(f),f=setTimeout(()=>l.value=!0,e)},p=I(a,()=>{u.value=k(),d()});if(s){const e=s.document,t={passive:!0};for(const e of i)qt(s,e,()=>{c.value&&p()},t);o&&qt(e,"visibilitychange",()=>{!e.hidden&&c.value&&p()},t),h()}function h(){c.value||(c.value=!0,n||d())}function v(){l.value=n,clearTimeout(f),c.value=!1}return{idle:l,lastActive:u,reset:d,stop:v,start:h,isPending:(0,r.shallowReadonly)(c)}}async function go(e){return new Promise((t,n)=>{const r=new Image,{src:o,srcset:i,sizes:s,class:a,loading:l,crossorigin:u,referrerPolicy:c,width:f,height:d,decoding:p,fetchPriority:h,ismap:v,usemap:g}=e;r.src=o,null!=i&&(r.srcset=i),null!=s&&(r.sizes=s),null!=a&&(r.className=a),null!=l&&(r.loading=l),null!=u&&(r.crossOrigin=u),null!=c&&(r.referrerPolicy=c),null!=f&&(r.width=f),null!=d&&(r.height=d),null!=p&&(r.decoding=p),null!=h&&(r.fetchPriority=h),null!=v&&(r.isMap=v),null!=g&&(r.useMap=g),r.onload=()=>t(r),r.onerror=n})}function mo(e,t={}){const n=gn(()=>go((0,r.toValue)(e)),void 0,{resetOnExecute:!0,...t});return(0,r.watch)(()=>(0,r.toValue)(e),()=>n.execute(t.delay),{deep:!0}),n}function _o(e){return"undefined"!==typeof Window&&e instanceof Window?e.document.documentElement:"undefined"!==typeof Document&&e instanceof Document?e.documentElement:e}const yo=1;function wo(e,t={}){const{throttle:n=0,idle:o=200,onStop:i=T,onScroll:s=T,offset:a={left:0,right:0,top:0,bottom:0},observe:l={mutation:!1},eventListenerOptions:u={capture:!1,passive:!0},behavior:c="auto",window:f=Vt,onError:d=e=>{console.error(e)}}=t,p="boolean"===typeof l?{mutation:l}:l,h=(0,r.shallowRef)(0),v=(0,r.shallowRef)(0),g=(0,r.computed)({get(){return h.value},set(e){_(e,void 0)}}),m=(0,r.computed)({get(){return v.value},set(e){_(void 0,e)}});function _(t,n){var o,i,s,a;if(!f)return;const l=(0,r.toValue)(e);if(!l)return;null===(o=l instanceof Document?f.document.body:l)||void 0===o||o.scrollTo({top:null!==(i=(0,r.toValue)(n))&&void 0!==i?i:m.value,left:null!==(s=(0,r.toValue)(t))&&void 0!==s?s:g.value,behavior:(0,r.toValue)(c)});const u=(null===l||void 0===l||null===(a=l.document)||void 0===a?void 0:a.documentElement)||(null===l||void 0===l?void 0:l.documentElement)||l;null!=g&&(h.value=u.scrollLeft),null!=m&&(v.value=u.scrollTop)}const y=(0,r.shallowRef)(!1),w=(0,r.reactive)({left:!0,right:!1,top:!0,bottom:!1}),b=(0,r.reactive)({left:!1,right:!1,top:!1,bottom:!1}),S=e=>{y.value&&(y.value=!1,b.left=!1,b.right=!1,b.top=!1,b.bottom=!1,i(e))},E=he(S,n+o),k=e=>{var t;if(!f)return;const n=(null===e||void 0===e||null===(t=e.document)||void 0===t?void 0:t.documentElement)||(null===e||void 0===e?void 0:e.documentElement)||Ht(e),{display:r,flexDirection:o,direction:i}=f.getComputedStyle(n),s="rtl"===i?-1:1,l=n.scrollLeft;b.left=lh.value;const u=Math.abs(l*s)<=(a.left||0),c=Math.abs(l*s)+n.clientWidth>=n.scrollWidth-(a.right||0)-yo;"flex"===r&&"row-reverse"===o?(w.left=c,w.right=u):(w.left=u,w.right=c),h.value=l;let d=n.scrollTop;e!==f.document||d||(d=f.document.body.scrollTop),b.top=dv.value;const p=Math.abs(d)<=(a.top||0),g=Math.abs(d)+n.clientHeight>=n.scrollHeight-(a.bottom||0)-yo;"flex"===r&&"column-reverse"===o?(w.top=g,w.bottom=p):(w.top=p,w.bottom=g),v.value=d},R=e=>{var t;f&&(k(null!==(t=e.target.documentElement)&&void 0!==t?t:e.target),y.value=!0,E(e),s(e))};return qt(e,"scroll",n?we(R,n,!0,!1):R,u),Me(()=>{try{const t=(0,r.toValue)(e);if(!t)return;k(t)}catch(e){d(e)}}),(null===p||void 0===p?void 0:p.mutation)&&null!=e&&e!==f&&e!==document&&Jt(e,()=>{const t=(0,r.toValue)(e);t&&k(t)},{attributes:!0,childList:!0,subtree:!0}),qt(e,"scrollend",S,u),{x:g,y:m,isScrolling:y,arrivedState:w,directions:b,measure(){const t=(0,r.toValue)(e);f&&t&&k(t)}}}function bo(e,t,n={}){var o;const{direction:i="bottom",interval:s=100,canLoadMore:a=()=>!0}=n,l=(0,r.reactive)(wo(e,{...n,offset:{[i]:null!==(o=n.distance)&&void 0!==o?o:0,...n.offset}})),u=(0,r.ref)(),c=(0,r.computed)(()=>!!u.value),f=(0,r.computed)(()=>_o((0,r.toValue)(e))),d=Mr(f),p=(0,r.computed)(()=>!!f.value&&a(f.value));function h(){if(l.measure(),!f.value||!d.value||!p.value)return;const{scrollHeight:e,clientHeight:n,scrollWidth:o,clientWidth:a}=f.value,c="bottom"===i||"top"===i?e<=n:o<=a;(l.arrivedState[i]||c)&&(u.value||(u.value=Promise.all([t(l),new Promise(e=>setTimeout(e,s))]).finally(()=>{u.value=null,(0,r.nextTick)(()=>h())})))}return De((0,r.watch)(()=>[l.arrivedState[i],d.value,p.value],h,{immediate:!0})),{isLoading:c,reset(){(0,r.nextTick)(()=>h())}}}const So=["mousedown","mouseup","keydown","keyup"];function Eo(e,t={}){const{events:n=So,document:o=$t,initial:i=null}=t,s=(0,r.shallowRef)(i);return o&&n.forEach(t=>{qt(o,t,t=>{"function"===typeof t.getModifierState&&(s.value=t.getModifierState(e))},{passive:!0})}),s}function ko(e,t,n={}){const{window:r=Vt}=n;return ir(e,t,null===r||void 0===r?void 0:r.localStorage,n)}const Ro={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function To(e={}){const{reactive:t=!1,target:n=Vt,aliasMap:o=Ro,passive:i=!0,onEventFired:s=T}=e,a=(0,r.reactive)(new Set),l={toJSON(){return{}},current:a},u=t?(0,r.reactive)(l):l,c=new Set,f=new Map([["Meta",c],["Shift",new Set],["Alt",new Set]]),d=new Set;function p(e,n){e in u&&(t?u[e]=n:u[e].value=n)}function h(){a.clear();for(const e of d)p(e,!1)}function v(e,t,n){if(e&&"function"===typeof t.getModifierState)for(const[e,r]of f)if(t.getModifierState(e)){n.forEach(e=>r.add(e));break}}function g(e,t){if(e)return;const n=`${t[0].toUpperCase()}${t.slice(1)}`,r=f.get(n);if(!["shift","alt"].includes(t)||!r)return;const o=Array.from(r),i=o.indexOf(t);o.forEach((e,t)=>{t>=i&&(a.delete(e),p(e,!1))}),r.clear()}function m(e,t){var n,r;const o=null===(n=e.key)||void 0===n?void 0:n.toLowerCase(),i=[null===(r=e.code)||void 0===r?void 0:r.toLowerCase(),o].filter(Boolean);if(""!==o){o&&(t?a.add(o):a.delete(o));for(const e of i)d.add(e),p(e,t);v(t,e,[...a,...i]),g(t,o),"meta"!==o||t||(c.forEach(e=>{a.delete(e),p(e,!1)}),c.clear())}}qt(n,"keydown",e=>(m(e,!0),s(e)),{passive:i}),qt(n,"keyup",e=>(m(e,!1),s(e)),{passive:i}),qt("blur",h,{passive:i}),qt("focus",h,{passive:i});const _=new Proxy(u,{get(e,n,i){if("string"!==typeof n)return Reflect.get(e,n,i);if(n=n.toLowerCase(),n in o&&(n=o[n]),!(n in u))if(/[+_-]/.test(n)){const e=n.split(/[+_-]/g).map(e=>e.trim());u[n]=(0,r.computed)(()=>e.map(e=>(0,r.toValue)(_[e])).every(Boolean))}else u[n]=(0,r.shallowRef)(!1);const s=Reflect.get(e,n,i);return t?(0,r.toValue)(s):s}});return _}function Oo(e,t){(0,r.toValue)(e)&&t((0,r.toValue)(e))}function xo(e){let t=[];for(let n=0;n({id:a,label:e,kind:t,language:n,mode:r,activeCues:o,cues:i,inBandMetadataTrackDispatchType:s}))}const Co={src:"",tracks:[]};function No(e,t={}){e=N(e),t={...Co,...t};const{document:n=$t}=t,o={passive:!0},i=(0,r.shallowRef)(0),s=(0,r.shallowRef)(0),a=(0,r.shallowRef)(!1),c=(0,r.shallowRef)(1),f=(0,r.shallowRef)(!1),d=(0,r.shallowRef)(!1),p=(0,r.shallowRef)(!1),h=(0,r.shallowRef)(1),v=(0,r.shallowRef)(!1),g=(0,r.ref)([]),m=(0,r.ref)([]),_=(0,r.shallowRef)(-1),y=(0,r.shallowRef)(!1),w=(0,r.shallowRef)(!1),b=n&&"pictureInPictureEnabled"in n,E=u(),k=u(),R=t=>{Oo(e,e=>{if(t){const n="number"===typeof t?t:t.id;e.textTracks[n].mode="disabled"}else for(let t=0;t{Oo(e,e=>{const r="number"===typeof t?t:t.id;n&&R(),e.textTracks[r].mode="showing",_.value=r})},O=()=>new Promise((t,r)=>{Oo(e,async e=>{b&&(y.value?n.exitPictureInPicture().then(t).catch(r):e.requestPictureInPicture().then(t).catch(r))})});(0,r.watchEffect)(()=>{if(!n)return;const i=(0,r.toValue)(e);if(!i)return;const s=(0,r.toValue)(t.src);let a=[];s&&("string"===typeof s?a=[{src:s}]:Array.isArray(s)?a=s:S(s)&&(a=[s]),i.querySelectorAll("source").forEach(e=>{e.remove()}),a.forEach(({src:e,type:t,media:r})=>{const s=n.createElement("source");s.setAttribute("src",e),s.setAttribute("type",t||""),s.setAttribute("media",r||""),qt(s,"error",E.trigger,o),i.appendChild(s)}),i.load())}),(0,r.watch)([e,c],()=>{const t=(0,r.toValue)(e);t&&(t.volume=c.value)}),(0,r.watch)([e,w],()=>{const t=(0,r.toValue)(e);t&&(t.muted=w.value)}),(0,r.watch)([e,h],()=>{const t=(0,r.toValue)(e);t&&(t.playbackRate=h.value)}),(0,r.watchEffect)(()=>{if(!n)return;const o=(0,r.toValue)(t.tracks),i=(0,r.toValue)(e);o&&o.length&&i&&(i.querySelectorAll("track").forEach(e=>e.remove()),o.forEach(({default:e,kind:t,label:r,src:o,srcLang:s},a)=>{const l=n.createElement("track");l.default=e||!1,l.kind=t,l.label=r,l.src=o,l.srclang=s,l.default&&(_.value=a),i.appendChild(l)}))});const{ignoreUpdates:x}=Et(i,t=>{const n=(0,r.toValue)(e);n&&(n.currentTime=t)}),{ignoreUpdates:A}=Et(p,t=>{const n=(0,r.toValue)(e);n&&(t?n.play().catch(e=>{throw k.trigger(e),e}):n.pause())});qt(e,"timeupdate",()=>x(()=>i.value=(0,r.toValue)(e).currentTime),o),qt(e,"durationchange",()=>s.value=(0,r.toValue)(e).duration,o),qt(e,"progress",()=>g.value=xo((0,r.toValue)(e).buffered),o),qt(e,"seeking",()=>a.value=!0,o),qt(e,"seeked",()=>a.value=!1,o),qt(e,["waiting","loadstart"],()=>{f.value=!0,A(()=>p.value=!1)},o),qt(e,"loadeddata",()=>f.value=!1,o),qt(e,"playing",()=>{f.value=!1,d.value=!1,A(()=>p.value=!0)},o),qt(e,"ratechange",()=>h.value=(0,r.toValue)(e).playbackRate,o),qt(e,"stalled",()=>v.value=!0,o),qt(e,"ended",()=>d.value=!0,o),qt(e,"pause",()=>A(()=>p.value=!1),o),qt(e,"play",()=>A(()=>p.value=!0),o),qt(e,"enterpictureinpicture",()=>y.value=!0,o),qt(e,"leavepictureinpicture",()=>y.value=!1,o),qt(e,"volumechange",()=>{const t=(0,r.toValue)(e);t&&(c.value=t.volume,w.value=t.muted)},o);const C=[],I=(0,r.watch)([e],()=>{const t=(0,r.toValue)(e);t&&(I(),C[0]=qt(t.textTracks,"addtrack",()=>m.value=Ao(t.textTracks),o),C[1]=qt(t.textTracks,"removetrack",()=>m.value=Ao(t.textTracks),o),C[2]=qt(t.textTracks,"change",()=>m.value=Ao(t.textTracks),o))});return l(()=>C.forEach(e=>e())),{currentTime:i,duration:s,waiting:f,seeking:a,ended:d,stalled:v,buffered:g,playing:p,rate:h,volume:c,muted:w,tracks:m,selectedTrack:_,enableTrack:T,disableTrack:R,supportsPictureInPicture:b,togglePictureInPicture:O,isPictureInPicture:y,onSourceError:E.on,onPlaybackError:k.on}}function Io(e,t){const n=()=>(null===t||void 0===t?void 0:t.cache)?(0,r.shallowReactive)(t.cache):(0,r.shallowReactive)(new Map),o=n(),i=(...e)=>(null===t||void 0===t?void 0:t.getKey)?t.getKey(...e):JSON.stringify(e),s=(t,...n)=>(o.set(t,e(...n)),o.get(t)),a=(...e)=>s(i(...e),...e),l=(...e)=>{o.delete(i(...e))},u=()=>{o.clear()},c=(...e)=>{const t=i(...e);return o.has(t)?o.get(t):s(t,...e)};return c.load=a,c.delete=l,c.clear=u,c.generateKey=i,c.cache=o,c}function Po(e={}){const t=(0,r.ref)(),n=Yt(()=>"undefined"!==typeof performance&&"memory"in performance);if(n.value){const{interval:n=1e3}=e;ct(()=>{t.value=performance.memory},n,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}}const Lo={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function Mo(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:o=!1,initialValue:i={x:0,y:0},window:s=Vt,target:a=s,scroll:l=!0,eventFilter:u}=e;let c=null,f=0,d=0;const p=(0,r.shallowRef)(i.x),h=(0,r.shallowRef)(i.y),v=(0,r.shallowRef)(null),g="function"===typeof t?t:Lo[t],m=e=>{const t=g(e);c=e,t&&([p.value,h.value]=t,v.value="mouse"),s&&(f=s.scrollX,d=s.scrollY)},_=e=>{if(e.touches.length>0){const t=g(e.touches[0]);t&&([p.value,h.value]=t,v.value="touch")}},y=()=>{if(!c||!s)return;const e=g(c);c instanceof MouseEvent&&e&&(p.value=e[0]+s.scrollX-f,h.value=e[1]+s.scrollY-d)},w=()=>{p.value=i.x,h.value=i.y},b=u?e=>u(()=>m(e),{}):e=>m(e),S=u?e=>u(()=>_(e),{}):e=>_(e),E=u?()=>u(()=>y(),{}):()=>y();if(a){const e={passive:!0};qt(a,["mousemove","dragover"],b,e),n&&"movement"!==t&&(qt(a,["touchstart","touchmove"],S,e),o&&qt(a,"touchend",w,e)),l&&"page"===t&&qt(s,"scroll",E,e)}return{x:p,y:h,sourceType:v}}function Do(e,t={}){const{windowResize:n=!0,windowScroll:o=!0,handleOutside:i=!0,window:s=Vt}=t,a=t.type||"page",{x:l,y:u,sourceType:c}=Mo(t),f=(0,r.shallowRef)(null!==e&&void 0!==e?e:null===s||void 0===s?void 0:s.document.body),d=(0,r.shallowRef)(0),p=(0,r.shallowRef)(0),h=(0,r.shallowRef)(0),v=(0,r.shallowRef)(0),g=(0,r.shallowRef)(0),m=(0,r.shallowRef)(0),_=(0,r.shallowRef)(!0);function y(){if(!s)return;const e=Ht(f);if(e&&e instanceof Element)for(const t of e.getClientRects()){const{left:e,top:n,width:r,height:o}=t;h.value=e+("page"===a?s.pageXOffset:0),v.value=n+("page"===a?s.pageYOffset:0),g.value=o,m.value=r;const c=l.value-h.value,f=u.value-v.value;if(_.value=0===r||0===o||c<0||f<0||c>r||f>o,!i&&_.value||(d.value=c,p.value=f),!_.value)break}}const w=[];function b(){w.forEach(e=>e()),w.length=0}if(Me(()=>{y()}),s){const{stop:e}=Ar(f,y),{stop:t}=Jt(f,y,{attributeFilter:["style","class"]}),i=(0,r.watch)([f,l,u],y);w.push(e,t,i),qt(document,"mouseleave",()=>_.value=!0,{passive:!0}),o&&w.push(qt("scroll",y,{capture:!0,passive:!0})),n&&w.push(qt("resize",y,{passive:!0}))}return{x:l,y:u,sourceType:c,elementX:d,elementY:p,elementPositionX:h,elementPositionY:v,elementHeight:g,elementWidth:m,isOutside:_,stop:b}}function Fo(e={}){const{touch:t=!0,drag:n=!0,capture:o=!1,initialValue:i=!1,window:s=Vt}=e,a=(0,r.shallowRef)(i),l=(0,r.shallowRef)(null);if(!s)return{pressed:a,sourceType:l};const u=t=>n=>{var r;a.value=!0,l.value=t,null===(r=e.onPressed)||void 0===r||r.call(e,n)},c=t=>{var n;a.value=!1,l.value=null,null===(n=e.onReleased)||void 0===n||n.call(e,t)},f=(0,r.computed)(()=>Ht(e.target)||s),d={passive:!0,capture:o};return qt(f,"mousedown",u("mouse"),d),qt(s,"mouseleave",c,d),qt(s,"mouseup",c,d),n&&(qt(f,"dragstart",u("mouse"),d),qt(s,"drop",c,d),qt(s,"dragend",c,d)),t&&(qt(f,"touchstart",u("touch"),d),qt(s,"touchend",c,d),qt(s,"touchcancel",c,d)),{pressed:a,sourceType:l}}function Uo(e={}){const{window:t=Vt}=e,n=null===t||void 0===t?void 0:t.navigator,o=Yt(()=>n&&"language"in n),i=(0,r.shallowRef)(null===n||void 0===n?void 0:n.language);return qt(t,"languagechange",()=>{n&&(i.value=n.language)},{passive:!0}),{isSupported:o,language:i}}function jo(e={}){const{window:t=Vt}=e,n=null===t||void 0===t?void 0:t.navigator,o=Yt(()=>n&&"connection"in n),i=(0,r.shallowRef)(!0),s=(0,r.shallowRef)(!1),a=(0,r.shallowRef)(void 0),l=(0,r.shallowRef)(void 0),u=(0,r.shallowRef)(void 0),c=(0,r.shallowRef)(void 0),f=(0,r.shallowRef)(void 0),d=(0,r.shallowRef)(void 0),p=(0,r.shallowRef)("unknown"),h=o.value&&n.connection;function v(){n&&(i.value=n.onLine,a.value=i.value?void 0:Date.now(),l.value=i.value?Date.now():void 0,h&&(u.value=h.downlink,c.value=h.downlinkMax,d.value=h.effectiveType,f.value=h.rtt,s.value=h.saveData,p.value=h.type))}const g={passive:!0};return t&&(qt(t,"offline",()=>{i.value=!1,a.value=Date.now()},g),qt(t,"online",()=>{i.value=!0,l.value=Date.now()},g)),h&&qt(h,"change",v,g),v(),{isSupported:o,isOnline:(0,r.readonly)(i),saveData:(0,r.readonly)(s),offlineAt:(0,r.readonly)(a),onlineAt:(0,r.readonly)(l),downlink:(0,r.readonly)(u),downlinkMax:(0,r.readonly)(c),effectiveType:(0,r.readonly)(d),rtt:(0,r.readonly)(f),type:(0,r.readonly)(p)}}function Vo(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:o=!0}=e,i=(0,r.ref)(new Date),s=()=>i.value=new Date,a="requestAnimationFrame"===n?dn(s,{immediate:o}):ct(s,n,{immediate:o});return t?{now:i,...a}:i}function $o(e){const t=(0,r.shallowRef)(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return(0,r.watch)(()=>(0,r.toValue)(e),e=>{n(),e&&(t.value=URL.createObjectURL(e))},{immediate:!0}),l(n),(0,r.readonly)(t)}function Bo(e,t,n){if("function"===typeof e||(0,r.isReadonly)(e))return(0,r.computed)(()=>R((0,r.toValue)(e),(0,r.toValue)(t),(0,r.toValue)(n)));const o=(0,r.ref)(e);return(0,r.computed)({get(){return o.value=R(o.value,(0,r.toValue)(t),(0,r.toValue)(n))},set(e){o.value=R(e,(0,r.toValue)(t),(0,r.toValue)(n))}})}function Wo(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:o=1,onPageChange:i=T,onPageSizeChange:s=T,onPageCountChange:a=T}=e,l=Bo(n,1,Number.POSITIVE_INFINITY),u=(0,r.computed)(()=>Math.max(1,Math.ceil((0,r.toValue)(t)/(0,r.toValue)(l)))),c=Bo(o,1,u),f=(0,r.computed)(()=>1===c.value),d=(0,r.computed)(()=>c.value===u.value);function p(){c.value--}function h(){c.value++}(0,r.isRef)(o)&&Ce(o,c,{direction:(0,r.isReadonly)(o)?"ltr":"both"}),(0,r.isRef)(n)&&Ce(n,l,{direction:(0,r.isReadonly)(n)?"ltr":"both"});const v={currentPage:c,currentPageSize:l,pageCount:u,isFirstPage:f,isLastPage:d,prev:p,next:h};return(0,r.watch)(c,()=>{i((0,r.reactive)(v))}),(0,r.watch)(l,()=>{s((0,r.reactive)(v))}),(0,r.watch)(u,()=>{a((0,r.reactive)(v))}),v}function Ho(e={}){const{isOnline:t}=jo(e);return t}function qo(e={}){const{window:t=Vt}=e,n=(0,r.shallowRef)(!1),o=e=>{t&&(e=e||t.event,n.value=!(e.relatedTarget||e.toElement))};if(t){const e={passive:!0};qt(t,"mouseout",o,e),qt(t.document,"mouseleave",o,e),qt(t.document,"mouseenter",o,e)}return n}function zo(e={}){const{window:t=Vt}=e,n=Yt(()=>t&&"screen"in t&&"orientation"in t.screen),o=n.value?t.screen.orientation:{},i=(0,r.ref)(o.type),s=(0,r.shallowRef)(o.angle||0);n.value&&qt(t,"orientationchange",()=>{i.value=o.type,s.value=o.angle},{passive:!0});const a=e=>n.value&&"function"===typeof o.lock?o.lock(e):Promise.reject(new Error("Not supported")),l=()=>{n.value&&"function"===typeof o.unlock&&o.unlock()};return{isSupported:n,orientation:i,angle:s,lockOrientation:a,unlockOrientation:l}}function Go(e,t={}){const{deviceOrientationTiltAdjust:n=e=>e,deviceOrientationRollAdjust:o=e=>e,mouseTiltAdjust:i=e=>e,mouseRollAdjust:s=e=>e,window:a=Vt}=t,l=(0,r.reactive)(Sr({window:a})),u=(0,r.reactive)(zo({window:a})),{elementX:c,elementY:f,elementWidth:d,elementHeight:p}=Do(e,{handleOutside:!1,window:a}),h=(0,r.computed)(()=>l.isSupported&&(null!=l.alpha&&0!==l.alpha||null!=l.gamma&&0!==l.gamma)?"deviceOrientation":"mouse");return{roll:(0,r.computed)(()=>{if("deviceOrientation"===h.value){let e;switch(u.orientation){case"landscape-primary":e=l.gamma/90;break;case"landscape-secondary":e=-l.gamma/90;break;case"portrait-primary":e=-l.beta/90;break;case"portrait-secondary":e=l.beta/90;break;default:e=-l.beta/90}return o(e)}return s(-(f.value-p.value/2)/p.value)}),tilt:(0,r.computed)(()=>{if("deviceOrientation"===h.value){let e;switch(u.orientation){case"landscape-primary":e=l.beta/90;break;case"landscape-secondary":e=-l.beta/90;break;case"portrait-primary":e=l.gamma/90;break;case"portrait-secondary":e=-l.gamma/90;break;default:e=l.gamma/90}return n(e)}return i((c.value-d.value/2)/d.value)}),source:h}}function Ko(e=fr()){const t=(0,r.shallowRef)(),n=()=>{const n=Ht(e);n&&(t.value=n.parentElement)};return Me(n),(0,r.watch)(()=>(0,r.toValue)(e),n),t}function Yo(e,t){const{window:n=Vt,immediate:r=!0,...o}=e,i=Yt(()=>n&&"PerformanceObserver"in n);let s;const a=()=>{null===s||void 0===s||s.disconnect()},u=()=>{i.value&&(a(),s=new PerformanceObserver(t),s.observe(o))};return l(a),r&&u(),{isSupported:i,start:u,stop:a}}const Jo={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Xo=Object.keys(Jo);function Qo(e={}){const{target:t=Vt}=e,n=(0,r.shallowRef)(!1),o=(0,r.shallowRef)(e.initialValue||{});Object.assign(o.value,Jo,o.value);const i=t=>{n.value=!0,e.pointerTypes&&!e.pointerTypes.includes(t.pointerType)||(o.value=H(t,Xo,!1))};if(t){const e={passive:!0};qt(t,["pointerdown","pointermove","pointerup"],i,e),qt(t,"pointerleave",()=>n.value=!1,e)}return{...Ie(o),isInside:n}}function Zo(e,t={}){const{document:n=$t}=t,o=Yt(()=>n&&"pointerLockElement"in n),i=(0,r.shallowRef)(),s=(0,r.shallowRef)();let a;if(o.value){const e={passive:!0};qt(n,"pointerlockchange",()=>{var e;const t=null!==(e=n.pointerLockElement)&&void 0!==e?e:i.value;a&&t===a&&(i.value=n.pointerLockElement,i.value||(a=s.value=null))},e),qt(n,"pointerlockerror",()=>{var e;const t=null!==(e=n.pointerLockElement)&&void 0!==e?e:i.value;if(a&&t===a){const e=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${e} pointer lock.`)}},e)}async function l(t){var n;if(!o.value)throw new Error("Pointer Lock API is not supported by your browser.");if(s.value=t instanceof Event?t.currentTarget:null,a=t instanceof Event?null!==(n=Ht(e))&&void 0!==n?n:s.value:Ht(t),!a)throw new Error("Target element undefined.");return a.requestPointerLock(),await Ue(i).toBe(a)}async function u(){return!!i.value&&(n.exitPointerLock(),await Ue(i).toBeNull(),!0)}return{isSupported:o,element:i,triggerElement:s,lock:l,unlock:u}}function ei(e,t={}){const n=N(e),{threshold:o=50,onSwipe:i,onSwipeEnd:s,onSwipeStart:a,disableTextSelect:l=!1}=t,u=(0,r.reactive)({x:0,y:0}),c=(e,t)=>{u.x=e,u.y=t},f=(0,r.reactive)({x:0,y:0}),d=(e,t)=>{f.x=e,f.y=t},p=(0,r.computed)(()=>u.x-f.x),h=(0,r.computed)(()=>u.y-f.y),{max:v,abs:g}=Math,m=(0,r.computed)(()=>v(g(p.value),g(h.value))>=o),_=(0,r.shallowRef)(!1),y=(0,r.shallowRef)(!1),w=(0,r.computed)(()=>m.value?g(p.value)>g(h.value)?p.value>0?"left":"right":h.value>0?"up":"down":"none"),b=e=>{var n,r,o;const i=0===e.buttons,s=1===e.buttons;return null===(n=null!==(r=null===(o=t.pointerTypes)||void 0===o?void 0:o.includes(e.pointerType))&&void 0!==r?r:i||s)||void 0===n||n},S={passive:!0},E=[qt(e,"pointerdown",e=>{if(!b(e))return;y.value=!0;const t=e.target;null===t||void 0===t||t.setPointerCapture(e.pointerId);const{clientX:n,clientY:r}=e;c(n,r),d(n,r),null===a||void 0===a||a(e)},S),qt(e,"pointermove",e=>{if(!b(e))return;if(!y.value)return;const{clientX:t,clientY:n}=e;d(t,n),!_.value&&m.value&&(_.value=!0),_.value&&(null===i||void 0===i||i(e))},S),qt(e,"pointerup",e=>{b(e)&&(_.value&&(null===s||void 0===s||s(e,w.value)),y.value=!1,_.value=!1)},S)];Me(()=>{var e,t,r,o;(null===(e=n.value)||void 0===e||null===(e=e.style)||void 0===e||e.setProperty("touch-action","pan-y"),l)&&(null===(t=n.value)||void 0===t||null===(t=t.style)||void 0===t||t.setProperty("-webkit-user-select","none"),null===(r=n.value)||void 0===r||null===(r=r.style)||void 0===r||r.setProperty("-ms-user-select","none"),null===(o=n.value)||void 0===o||null===(o=o.style)||void 0===o||o.setProperty("user-select","none"))});const k=()=>E.forEach(e=>e());return{isSwiping:(0,r.readonly)(_),direction:(0,r.readonly)(w),posStart:(0,r.readonly)(u),posEnd:(0,r.readonly)(f),distanceX:p,distanceY:h,stop:k}}function ti(e){const t=On("(prefers-color-scheme: light)",e),n=On("(prefers-color-scheme: dark)",e);return(0,r.computed)(()=>n.value?"dark":t.value?"light":"no-preference")}function ni(e){const t=On("(prefers-contrast: more)",e),n=On("(prefers-contrast: less)",e),o=On("(prefers-contrast: custom)",e);return(0,r.computed)(()=>t.value?"more":n.value?"less":o.value?"custom":"no-preference")}function ri(e={}){const{window:t=Vt}=e;if(!t)return(0,r.shallowRef)(["en"]);const n=t.navigator,o=(0,r.shallowRef)(n.languages);return qt(t,"languagechange",()=>{o.value=n.languages},{passive:!0}),o}function oi(e){const t=On("(prefers-reduced-motion: reduce)",e);return(0,r.computed)(()=>t.value?"reduce":"no-preference")}function ii(e){const t=On("(prefers-reduced-transparency: reduce)",e);return(0,r.computed)(()=>t.value?"reduce":"no-preference")}function si(e,t){const n=(0,r.shallowRef)(t);return(0,r.watch)(N(e),(e,t)=>{n.value=t},{flush:"sync"}),(0,r.readonly)(n)}const ai="--vueuse-safe-area-top",li="--vueuse-safe-area-right",ui="--vueuse-safe-area-bottom",ci="--vueuse-safe-area-left";function fi(){const e=(0,r.shallowRef)(""),t=(0,r.shallowRef)(""),n=(0,r.shallowRef)(""),o=(0,r.shallowRef)("");if(g){const e=cr(ai),t=cr(li),n=cr(ui),r=cr(ci);e.value="env(safe-area-inset-top, 0px)",t.value="env(safe-area-inset-right, 0px)",n.value="env(safe-area-inset-bottom, 0px)",r.value="env(safe-area-inset-left, 0px)",Me(i),qt("resize",he(i),{passive:!0})}function i(){e.value=di(ai),t.value=di(li),n.value=di(ui),o.value=di(ci)}return{top:e,right:t,bottom:n,left:o,update:i}}function di(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function pi(e,t=T,n={}){const{immediate:o=!0,manual:i=!1,type:s="text/javascript",async:a=!0,crossOrigin:l,referrerPolicy:u,noModule:c,defer:f,document:d=$t,attrs:p={},nonce:h}=n,v=(0,r.shallowRef)(null);let g=null;const m=n=>new Promise((o,i)=>{const g=e=>(v.value=e,o(e),e);if(!d)return void o(!1);let m=!1,_=d.querySelector(`script[src="${(0,r.toValue)(e)}"]`);_?_.hasAttribute("data-loaded")&&g(_):(_=d.createElement("script"),_.type=s,_.async=a,_.src=(0,r.toValue)(e),f&&(_.defer=f),l&&(_.crossOrigin=l),c&&(_.noModule=c),u&&(_.referrerPolicy=u),h&&(_.nonce=h),Object.entries(p).forEach(([e,t])=>null===_||void 0===_?void 0:_.setAttribute(e,t)),m=!0);const y={passive:!0};qt(_,"error",e=>i(e),y),qt(_,"abort",e=>i(e),y),qt(_,"load",()=>{_.setAttribute("data-loaded","true"),t(_),g(_)},y),m&&(_=d.head.appendChild(_)),n||g(_)}),_=(e=!0)=>(g||(g=m(e)),g),y=()=>{if(!d)return;g=null,v.value&&(v.value=null);const t=d.querySelector(`script[src="${(0,r.toValue)(e)}"]`);t&&d.head.removeChild(t)};return o&&!i&&Me(_),i||De(y),{scriptTag:v,load:_,unload:y}}function hi(e){const t=window.getComputedStyle(e);if("scroll"===t.overflowX||"scroll"===t.overflowY||"auto"===t.overflowX&&e.clientWidth1||(t.preventDefault&&t.preventDefault(),!1))}const gi=new WeakMap;function mi(e,t=!1){const n=(0,r.shallowRef)(t);let o=null,i="";(0,r.watch)(N(e),e=>{const t=_o((0,r.toValue)(e));if(t){const e=t;if(gi.get(e)||gi.set(e,e.style.overflow),"hidden"!==e.style.overflow&&(i=e.style.overflow),"hidden"===e.style.overflow)return n.value=!0;if(n.value)return e.style.overflow="hidden"}},{immediate:!0});const s=()=>{const t=_o((0,r.toValue)(e));t&&!n.value&&(A&&(o=qt(t,"touchmove",e=>{vi(e)},{passive:!1})),t.style.overflow="hidden",n.value=!0)},a=()=>{const t=_o((0,r.toValue)(e));t&&n.value&&(A&&(null===o||void 0===o||o()),t.style.overflow=i,gi.delete(t),n.value=!1)};return l(a),(0,r.computed)({get(){return n.value},set(e){e?s():a()}})}function _i(e,t,n={}){const{window:r=Vt}=n;return ir(e,t,null===r||void 0===r?void 0:r.sessionStorage,n)}function yi(e={},t={}){const{navigator:n=Bt}=t,o=n,i=Yt(()=>o&&"canShare"in o),s=async(t={})=>{if(i.value){const n={...(0,r.toValue)(e),...(0,r.toValue)(t)};let i=!1;if(o.canShare&&(i=o.canShare(n)),i)return o.share(n)}};return{isSupported:i,share:s}}const wi=(e,t)=>e.sort(t),bi=(e,t)=>e-t;function Si(...e){const[t]=e;let n=bi,o={};if(2===e.length)if("object"===typeof e[1]){var i;o=e[1],n=null!==(i=o.compareFn)&&void 0!==i?i:bi}else{var s;n=null!==(s=e[1])&&void 0!==s?s:bi}else if(e.length>2){var a,l;n=null!==(a=e[1])&&void 0!==a?a:bi,o=null!==(l=e[2])&&void 0!==l?l:{}}const{dirty:u=!1,sortFn:c=wi}=o;return u?((0,r.watchEffect)(()=>{const e=c((0,r.toValue)(t),n);(0,r.isRef)(t)?t.value=e:t.splice(0,t.length,...e)}),t):(0,r.computed)(()=>c([...(0,r.toValue)(t)],n))}function Ei(e={}){const{interimResults:t=!0,continuous:n=!0,maxAlternatives:o=1,window:i=Vt}=e,s=N(e.lang||"en-US"),a=(0,r.shallowRef)(!1),u=(0,r.shallowRef)(!1),c=(0,r.shallowRef)(""),f=(0,r.shallowRef)(void 0);let d;const p=()=>{a.value=!0},h=()=>{a.value=!1},v=(e=!a.value)=>{e?p():h()},g=i&&(i.SpeechRecognition||i.webkitSpeechRecognition),m=Yt(()=>g);return m.value&&(d=new g,d.continuous=n,d.interimResults=t,d.lang=(0,r.toValue)(s),d.maxAlternatives=o,d.onstart=()=>{a.value=!0,u.value=!1},(0,r.watch)(s,e=>{d&&!a.value&&(d.lang=e)}),d.onresult=e=>{const t=e.results[e.resultIndex],{transcript:n}=t[0];u.value=t.isFinal,c.value=n,f.value=void 0},d.onerror=e=>{f.value=e},d.onend=()=>{a.value=!1,d.lang=(0,r.toValue)(s)},(0,r.watch)(a,(e,t)=>{if(e!==t)try{e?d.start():d.stop()}catch(e){f.value=e}})),l(()=>{h()}),{isSupported:m,isListening:a,isFinal:u,recognition:d,result:c,error:f,toggle:v,start:p,stop:h}}function ki(e,t={}){const{pitch:n=1,rate:o=1,volume:i=1,window:s=Vt,onBoundary:a}=t,u=s&&s.speechSynthesis,c=Yt(()=>u),f=(0,r.shallowRef)(!1),d=(0,r.shallowRef)("init"),p=N(e||""),h=N(t.lang||"en-US"),v=(0,r.shallowRef)(void 0),g=(e=!f.value)=>{f.value=e},m=e=>{e.lang=(0,r.toValue)(h),e.voice=(0,r.toValue)(t.voice)||null,e.pitch=(0,r.toValue)(n),e.rate=(0,r.toValue)(o),e.volume=(0,r.toValue)(i),e.onstart=()=>{f.value=!0,d.value="play"},e.onpause=()=>{f.value=!1,d.value="pause"},e.onresume=()=>{f.value=!0,d.value="play"},e.onend=()=>{f.value=!1,d.value="end"},e.onerror=e=>{v.value=e},e.onboundary=e=>{null===a||void 0===a||a(e)}},_=(0,r.computed)(()=>{f.value=!1,d.value="init";const e=new SpeechSynthesisUtterance(p.value);return m(e),e}),y=()=>{u.cancel(),_&&u.speak(_.value)},w=()=>{u.cancel(),f.value=!1};return c.value&&(m(_.value),(0,r.watch)(h,e=>{_.value&&!f.value&&(_.value.lang=e)}),t.voice&&(0,r.watch)(t.voice,()=>{u.cancel()}),(0,r.watch)(f,()=>{f.value?u.resume():u.pause()})),l(()=>{f.value=!1}),{isSupported:c,isPlaying:f,status:d,utterance:_,error:v,stop:w,toggle:g,speak:y}}function Ri(e,t){const n=(0,r.ref)(e),o=(0,r.computed)(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),i=(0,r.ref)(o.value.indexOf(null!==t&&void 0!==t?t:o.value[0])),s=(0,r.computed)(()=>f(i.value)),a=(0,r.computed)(()=>0===i.value),l=(0,r.computed)(()=>i.value===o.value.length-1),u=(0,r.computed)(()=>o.value[i.value+1]),c=(0,r.computed)(()=>o.value[i.value-1]);function f(e){return Array.isArray(n.value)?n.value[e]:n.value[o.value[e]]}function d(e){if(o.value.includes(e))return f(o.value.indexOf(e))}function p(e){o.value.includes(e)&&(i.value=o.value.indexOf(e))}function h(){l.value||i.value++}function v(){a.value||i.value--}function g(e){b(e)&&p(e)}function m(e){return o.value.indexOf(e)===i.value+1}function _(e){return o.value.indexOf(e)===i.value-1}function y(e){return o.value.indexOf(e)===i.value}function w(e){return i.valueo.value.indexOf(e)}return{steps:n,stepNames:o,index:i,current:s,next:u,previous:c,isFirst:a,isLast:l,at:f,get:d,goTo:p,goToNext:h,goToPrevious:v,goBackTo:g,isNext:m,isPrevious:_,isCurrent:y,isBefore:w,isAfter:b}}function Ti(e,t,n,o={}){var i;const{flush:s="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:d=Vt,eventFilter:p,onError:h=e=>{console.error(e)},onReady:v}=o,g=(0,r.toValue)(t),m=nr(g),_=(f?r.shallowRef:r.ref)((0,r.toValue)(t)),y=null!==(i=o.serializer)&&void 0!==i?i:rr[m];if(!n)try{n=Zn("getDefaultStorageAsync",()=>null===Vt||void 0===Vt?void 0:Vt.localStorage)()}catch(e){h(e)}async function w(t){if(n&&(!t||t.key===e))try{const r=t?t.newValue:await n.getItem(e);if(null==r)_.value=g,u&&null!==g&&await n.setItem(e,await y.write(g));else if(c){const e=await y.read(r);"function"===typeof c?_.value=c(e,g):"object"!==m||Array.isArray(e)?_.value=e:_.value={...g,...e}}else _.value=await y.read(r)}catch(e){h(e)}}const b=new Promise(e=>{w().then(()=>{null===v||void 0===v||v(_.value),e(_)})});return d&&l&&qt(d,"storage",e=>Promise.resolve().then(()=>w(e)),{passive:!0}),n&&Oe(_,async()=>{try{null==_.value?await n.removeItem(e):await n.setItem(e,await y.write(_.value))}catch(e){h(e)}},{flush:s,deep:a,eventFilter:p}),Object.assign(_,{then:b.then.bind(b),catch:b.catch.bind(b)}),_}let Oi=0;function xi(e,t={}){const n=(0,r.shallowRef)(!1),{document:o=$t,immediate:i=!0,manual:s=!1,id:a="vueuse_styletag_"+ ++Oi}=t,u=(0,r.shallowRef)(e);let c=()=>{};const f=()=>{if(!o)return;const e=o.getElementById(a)||o.createElement("style");e.isConnected||(e.id=a,t.nonce&&(e.nonce=t.nonce),t.media&&(e.media=t.media),o.head.appendChild(e)),n.value||(c=(0,r.watch)(u,t=>{e.textContent=t},{immediate:!0}),n.value=!0)},d=()=>{o&&n.value&&(c(),o.head.removeChild(o.getElementById(a)),n.value=!1)};return i&&!s&&Me(f),s||l(d),{id:a,css:u,unload:d,load:f,isLoaded:(0,r.readonly)(n)}}function Ai(e,t={}){const{threshold:n=50,onSwipe:o,onSwipeEnd:i,onSwipeStart:s,passive:a=!0}=t,l=(0,r.reactive)({x:0,y:0}),u=(0,r.reactive)({x:0,y:0}),c=(0,r.computed)(()=>l.x-u.x),f=(0,r.computed)(()=>l.y-u.y),{max:d,abs:p}=Math,h=(0,r.computed)(()=>d(p(c.value),p(f.value))>=n),v=(0,r.shallowRef)(!1),g=(0,r.computed)(()=>h.value?p(c.value)>p(f.value)?c.value>0?"left":"right":f.value>0?"up":"down":"none"),m=e=>[e.touches[0].clientX,e.touches[0].clientY],_=(e,t)=>{l.x=e,l.y=t},y=(e,t)=>{u.x=e,u.y=t},w={passive:a,capture:!a},b=e=>{v.value&&(null===i||void 0===i||i(e,g.value)),v.value=!1},S=[qt(e,"touchstart",e=>{if(1!==e.touches.length)return;const[t,n]=m(e);_(t,n),y(t,n),null===s||void 0===s||s(e)},w),qt(e,"touchmove",e=>{if(1!==e.touches.length)return;const[t,n]=m(e);y(t,n),w.capture&&!w.passive&&Math.abs(c.value)>Math.abs(f.value)&&e.preventDefault(),!v.value&&h.value&&(v.value=!0),v.value&&(null===o||void 0===o||o(e))},w),qt(e,["touchend","touchcancel"],b,w)],E=()=>S.forEach(e=>e());return{isSwiping:v,direction:g,coordsStart:l,coordsEnd:u,lengthX:c,lengthY:f,stop:E}}function Ci(){const e=(0,r.ref)([]);return e.value.set=t=>{t&&e.value.push(t)},(0,r.onBeforeUpdate)(()=>{e.value.length=0}),e}function Ni(e={}){const{document:t=$t,selector:n="html",observe:o=!1,initialValue:i="ltr"}=e;function s(){var e,r;return null!==(e=null===t||void 0===t||null===(r=t.querySelector(n))||void 0===r?void 0:r.getAttribute("dir"))&&void 0!==e?e:i}const a=(0,r.ref)(s());return Me(()=>a.value=s()),o&&t&&Jt(t.querySelector(n),()=>a.value=s(),{attributes:!0}),(0,r.computed)({get(){return a.value},set(e){var r,o;a.value=e,t&&(a.value?null===(r=t.querySelector(n))||void 0===r||r.setAttribute("dir",a.value):null===(o=t.querySelector(n))||void 0===o||o.removeAttribute("dir"))}})}function Ii(e){var t;const n=null!==(t=e.rangeCount)&&void 0!==t?t:0;return Array.from({length:n},(t,n)=>e.getRangeAt(n))}function Pi(e={}){var t;const{window:n=Vt}=e,o=(0,r.shallowRef)(null!==(t=null===n||void 0===n?void 0:n.getSelection())&&void 0!==t?t:null),i=(0,r.computed)(()=>{var e,t;return null!==(e=null===(t=o.value)||void 0===t?void 0:t.toString())&&void 0!==e?e:""}),s=(0,r.computed)(()=>o.value?Ii(o.value):[]),a=(0,r.computed)(()=>s.value.map(e=>e.getBoundingClientRect()));function l(){o.value=null,n&&(o.value=n.getSelection())}return n&&qt(n.document,"selectionchange",l,{passive:!0}),{text:i,rects:a,ranges:s,selection:o}}function Li(e=Vt,t){e&&"function"===typeof e.requestAnimationFrame?e.requestAnimationFrame(t):t()}function Mi(e={}){var t,n;const{window:o=Vt}=e,i=N(null===e||void 0===e?void 0:e.element),s=N(null!==(t=null===e||void 0===e?void 0:e.input)&&void 0!==t?t:""),a=null!==(n=null===e||void 0===e?void 0:e.styleProp)&&void 0!==n?n:"height",l=(0,r.shallowRef)(1),u=(0,r.shallowRef)(0);function c(){var t;if(!i.value)return;let n="";i.value.style[a]="1px",l.value=null===(t=i.value)||void 0===t?void 0:t.scrollHeight;const o=(0,r.toValue)(null===e||void 0===e?void 0:e.styleTarget);o?o.style[a]=`${l.value}px`:n=`${l.value}px`,i.value.style[a]=n}return(0,r.watch)([s,i],()=>(0,r.nextTick)(c),{immediate:!0}),(0,r.watch)(l,()=>{var t;return null===e||void 0===e||null===(t=e.onResize)||void 0===t?void 0:t.call(e)}),Ar(i,([{contentRect:e}])=>{u.value!==e.width&&Li(o,()=>{u.value=e.width,c()})}),(null===e||void 0===e?void 0:e.watch)&&(0,r.watch)(e.watch,c,{immediate:!0,deep:!0}),{textarea:i,input:s,triggerResize:c}}function Di(e,t={}){const{throttle:n=200,trailing:r=!0}=t,o=M(n,r);return{...yr(e,{...t,eventFilter:o})}}const Fi=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],Ui={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>1===e?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>1===e?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>1===e?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>1===e?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function ji(e){return e.toISOString().slice(0,10)}function Vi(e,t={}){const{controls:n=!1,updateInterval:o=3e4}=t,{now:i,...s}=Vo({interval:o,controls:!0}),a=(0,r.computed)(()=>$i(new Date((0,r.toValue)(e)),t,(0,r.toValue)(i)));return n?{timeAgo:a,...s}:a}function $i(e,t={},n=Date.now()){const{max:r,messages:o=Ui,fullDateFormatter:i=ji,units:s=Fi,showSecond:a=!1,rounding:l="round"}=t,u="number"===typeof l?e=>+e.toFixed(l):Math[l],c=+n-+e,f=Math.abs(c);function d(e,t){return u(Math.abs(e)/t.value)}function p(e,t){const n=d(e,t),r=e>0,o=h(t.name,n,r);return h(r?"past":"future",o,r)}function h(e,t,n){const r=o[e];return"function"===typeof r?r(t,n):r.replace("{0}",t.toString())}if(f<6e4&&!a)return o.justNow;if("number"===typeof r&&f>r)return i(new Date(e));if("string"===typeof r){var v;const t=null===(v=s.find(e=>e.name===r))||void 0===v?void 0:v.max;if(t&&f>t)return i(new Date(e))}for(const[e,t]of s.entries()){if(d(c,t)<=0&&s[e-1])return p(c,s[e-1]);if(fqi(new Date((0,r.toValue)(e)),t,(0,r.toValue)(i))),l=(0,r.computed)(()=>a.value.parts),u=(0,r.computed)(()=>zi(l.value,{...t,locale:a.value.resolvedLocale}));return n?{timeAgoIntl:u,parts:l,...s}:u}function Hi(e,t={},n=Date.now()){const{parts:r,resolvedLocale:o}=qi(e,t,n);return zi(r,{...t,locale:o})}function qi(e,t={},n=Date.now()){var r;const{locale:o,relativeTimeFormatOptions:i={numeric:"auto"}}=t,s=new Intl.RelativeTimeFormat(o,i),{locale:a}=s.resolvedOptions(),l=+e-+n,u=Math.abs(l),c=null!==(r=t.units)&&void 0!==r?r:Bi;for(const{name:e,ms:t}of c)if(u>=t)return{resolvedLocale:a,parts:s.formatToParts(Math.round(l/t),e)};return{resolvedLocale:a,parts:s.formatToParts(0,c[c.length-1].name)}}function zi(e,t={}){const{insertSpace:n=!0,joinParts:r,locale:o}=t;return"function"===typeof r?r(e,o):n?e.map(e=>e.value.trim()).join(" "):e.map(e=>e.value).join("")}function Gi(e,t,n={}){const{immediate:o=!0,immediateCallback:i=!1}=n,{start:s}=pt(u,t,{immediate:o}),a=(0,r.shallowRef)(!1);async function u(){a.value&&(await e(),s())}function c(){a.value||(a.value=!0,i&&e(),s())}function f(){a.value=!1}return o&&g&&c(),l(f),{isActive:a,pause:f,resume:c}}function Ki(e={}){const{controls:t=!1,offset:n=0,immediate:o=!0,interval:i="requestAnimationFrame",callback:s}=e,a=(0,r.shallowRef)(k()+n),l=()=>a.value=k()+n,u=s?()=>{l(),s(a.value)}:l,c="requestAnimationFrame"===i?dn(u,{immediate:o}):ct(u,i,{immediate:o});return t?{timestamp:a,...c}:a}function Yi(e=null,t={}){var n,o;const{document:i=$t,restoreOnUnmount:s=e=>e}=t,a=null!==(n=null===i||void 0===i?void 0:i.title)&&void 0!==n?n:"",u=N(null!==(o=null!==e&&void 0!==e?e:null===i||void 0===i?void 0:i.title)&&void 0!==o?o:null),c=!(!e||"function"!==typeof e);function f(e){if(!("titleTemplate"in t))return e;const n=t.titleTemplate||"%s";return"function"===typeof n?n(e):(0,r.toValue)(n).replace(/%s/g,e)}var d;((0,r.watch)(u,(e,t)=>{e!==t&&i&&(i.title=f(null!==e&&void 0!==e?e:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c)&&Jt(null===(d=i.head)||void 0===d?void 0:d.querySelector("title"),()=>{i&&i.title!==u.value&&(u.value=f(i.title))},{childList:!0});return l(()=>{if(s){const e=s(a,u.value||"");null!=e&&i&&(i.title=e)}}),u}const Ji={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]},Xi=Object.assign({},{linear:U},Ji);function Qi([e,t,n,r]){const o=(e,t)=>1-3*t+3*e,i=(e,t)=>3*t-6*e,s=e=>3*e,a=(e,t,n)=>((o(t,n)*e+i(t,n))*e+s(t))*e,l=(e,t,n)=>3*o(t,n)*e*e+2*i(t,n)*e+s(t),u=t=>{let r=t;for(let o=0;o<4;++o){const o=l(r,e,n);if(0===o)return r;const i=a(r,e,n)-t;r-=i/o}return r};return o=>e===t&&n===r?o:a(u(o),t,r)}function Zi(e,t,n){return e+n*(t-e)}function es(e,t,n){const o=(0,r.toValue)(e),i=(0,r.toValue)(t);if("number"===typeof o&&"number"===typeof i)return Zi(o,i,n);if(Array.isArray(o)&&Array.isArray(i))return o.map((e,t)=>Zi(e,(0,r.toValue)(i[t]),n));throw new TypeError("Unknown transition type, specify an interpolation function.")}function ts(e){var t;return"function"===typeof e?e:null!==(t=(0,r.toValue)(e))&&void 0!==t?t:U}function ns(e,t,n,o={}){var i;const{window:s=Vt}=o,a=(0,r.toValue)(t),l=(0,r.toValue)(n),u=null!==(i=(0,r.toValue)(o.duration))&&void 0!==i?i:1e3,c=Date.now(),f=Date.now()+u,d="function"===typeof o.interpolation?o.interpolation:es,p="undefined"!==typeof o.easing?ts(o.easing):ts(o.transition),h="function"===typeof p?p:Qi(p);return new Promise(t=>{e.value=a;const n=()=>{var r;if(null===(r=o.abort)||void 0===r?void 0:r.call(o))return void t();const i=Date.now();e.value=d(a,l,h((i-c)/u)),i{const n=(0,r.toValue)(e);return"undefined"===typeof t.interpolation&&Array.isArray(n)?n.map(r.toValue):n},i=(0,r.shallowRef)(o());return(0,r.watch)(o,async e=>{var o,s;if((0,r.toValue)(t.disabled))return;const a=++n;t.delay&&await F((0,r.toValue)(t.delay)),a===n&&(null===(o=t.onStarted)||void 0===o||o.call(t),await ns(i,i.value,e,{...t,abort:()=>{var e;return a!==n||(null===(e=t.abort)||void 0===e?void 0:e.call(t))}}),null===(s=t.onFinished)||void 0===s||s.call(t))},{deep:!0}),(0,r.watch)(()=>(0,r.toValue)(t.disabled),e=>{e&&(n++,i.value=o())}),l(()=>{n++}),(0,r.computed)(()=>(0,r.toValue)(t.disabled)?o():i.value)}function is(e="history",t={}){const{initialValue:n={},removeNullishValues:o=!0,removeFalsyValues:i=!1,write:s=!0,writeMode:a="replace",window:l=Vt,stringify:u=e=>e.toString()}=t;if(!l)return(0,r.reactive)(n);const c=(0,r.reactive)({});function f(){if("history"===e)return l.location.search||"";if("hash"===e){const e=l.location.hash||"",t=e.indexOf("?");return t>0?e.slice(t):""}return(l.location.hash||"").replace(/^#/,"")}function d(t){const n=u(t);if("history"===e)return`${n?`?${n}`:""}${l.location.hash||""}`;if("hash-params"===e)return`${l.location.search||""}${n?`#${n}`:""}`;const r=l.location.hash||"#",o=r.indexOf("?");return o>0?`${l.location.search||""}${r.slice(0,o)}${n?`?${n}`:""}`:`${l.location.search||""}${r}${n?`?${n}`:""}`}function p(){return new URLSearchParams(f())}function h(e){const t=new Set(Object.keys(c));for(const n of e.keys()){const r=e.getAll(n);c[n]=r.length>1?r:e.get(n)||"",t.delete(n)}Array.from(t).forEach(e=>delete c[e])}const{pause:v,resume:g}=Ae(c,()=>{const e=new URLSearchParams("");Object.keys(c).forEach(t=>{const n=c[t];Array.isArray(n)?n.forEach(n=>e.append(t,n)):o&&null==n||i&&!n?e.delete(t):e.set(t,n)}),m(e,!1)},{deep:!0});function m(e,t,n=!0){v(),t&&h(e),"replace"===a?l.history.replaceState(l.history.state,l.document.title,l.location.pathname+d(e)):n&&l.history.pushState(l.history.state,l.document.title,l.location.pathname+d(e)),(0,r.nextTick)(()=>g())}function _(){s&&m(p(),!0,!1)}const y={passive:!0};qt(l,"popstate",_,y),"history"!==e&&qt(l,"hashchange",_,y);const w=p();return w.keys().next().value?h(w):Object.assign(c,n),c}function ss(e={}){var t,n;const o=(0,r.shallowRef)(null!==(t=e.enabled)&&void 0!==t&&t),i=(0,r.shallowRef)(null===(n=e.autoSwitch)||void 0===n||n),s=(0,r.ref)(e.constraints),{navigator:a=Bt}=e,u=Yt(()=>{var e;return null===a||void 0===a||null===(e=a.mediaDevices)||void 0===e?void 0:e.getUserMedia}),c=(0,r.shallowRef)();function f(e){switch(e){case"video":if(s.value)return s.value.video||!1;break;case"audio":if(s.value)return s.value.audio||!1;break}}async function d(){if(u.value&&!c.value)return c.value=await a.mediaDevices.getUserMedia({video:f("video"),audio:f("audio")}),c.value}function p(){var e;null===(e=c.value)||void 0===e||e.getTracks().forEach(e=>e.stop()),c.value=void 0}function h(){p(),o.value=!1}async function v(){return await d(),c.value&&(o.value=!0),c.value}async function g(){return p(),await v()}return(0,r.watch)(o,e=>{e?d():p()},{immediate:!0}),(0,r.watch)(s,()=>{i.value&&c.value&&g()},{immediate:!0,deep:!0}),l(()=>{h()}),{isSupported:u,stream:c,start:v,stop:h,restart:g,constraints:s,enabled:o,autoSwitch:i}}function as(e,t,n,o={}){var i,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:f,shouldEmit:d}=o,p=(0,r.getCurrentInstance)(),h=n||(null===p||void 0===p?void 0:p.emit)||(null===p||void 0===p||null===(i=p.$emit)||void 0===i?void 0:i.bind(p))||(null===p||void 0===p||null===(s=p.proxy)||void 0===s||null===(s=s.$emit)||void 0===s?void 0:s.bind(null===p||void 0===p?void 0:p.proxy));let v=u;t||(t="modelValue"),v=v||`update:${t.toString()}`;const g=e=>a?"function"===typeof a?a(e):Gn(e):e,m=()=>_(e[t])?g(e[t]):f,y=e=>{d?d(e)&&h(v,e):h(v,e)};if(l){const n=(0,r.ref)(m());let o=!1;return(0,r.watch)(()=>e[t],e=>{o||(o=!0,n.value=g(e),(0,r.nextTick)(()=>o=!1))}),(0,r.watch)(n,n=>{o||n===e[t]&&!c||y(n)},{deep:c}),n}return(0,r.computed)({get(){return m()},set(e){y(e)}})}function ls(e,t,n={}){const r={};for(const o in e)r[o]=as(e,o,t,n);return r}function us(e){const{pattern:t=[],interval:n=0,navigator:r=Bt}=e||{},o=Yt(()=>"undefined"!==typeof r&&"vibrate"in r),i=N(t);let s;const a=(e=i.value)=>{o.value&&r.vibrate(e)},l=()=>{o.value&&r.vibrate(0),null===s||void 0===s||s.pause()};return n>0&&(s=ct(a,n,{immediate:!1,immediateCallback:!1})),{isSupported:o,pattern:t,intervalControls:s,vibrate:a,stop:l}}function cs(e,t){const{containerStyle:n,wrapperProps:r,scrollTo:o,calculateRange:i,currentList:s,containerRef:a}="itemHeight"in t?bs(t,e):ws(t,e);return{list:s,scrollTo:o,containerProps:{ref:a,onScroll:()=>{i()},style:n},wrapperProps:r}}function fs(e){const t=(0,r.shallowRef)(null),n=Pr(t),o=(0,r.ref)([]),i=(0,r.shallowRef)(e);return{state:(0,r.ref)({start:0,end:10}),source:i,currentList:o,size:n,containerRef:t}}function ds(e,t,n){return r=>{if("number"===typeof n)return Math.ceil(r/n);const{start:o=0}=e.value;let i=0,s=0;for(let e=o;er)break}return s-o}}function ps(e,t){return n=>{if("number"===typeof t)return Math.floor(n/t)+1;let r=0,o=0;for(let i=0;i=n){o=i;break}}return o+1}}function hs(e,t,n,r,{containerRef:o,state:i,currentList:s,source:a}){return()=>{const l=o.value;if(l){const o=n("vertical"===e?l.scrollTop:l.scrollLeft),u=r("vertical"===e?l.clientHeight:l.clientWidth),c=o-t,f=o+u+t;i.value={start:c<0?0:c,end:f>a.value.length?a.value.length:f},s.value=a.value.slice(i.value.start,i.value.end).map((e,t)=>({data:e,index:t+i.value.start}))}}}function vs(e,t){return n=>"number"===typeof e?n*e:t.value.slice(0,n).reduce((t,n,r)=>t+e(r),0)}function gs(e,t,n,o){(0,r.watch)([e.width,e.height,()=>(0,r.toValue)(t),n],()=>{o()})}function ms(e,t){return(0,r.computed)(()=>"number"===typeof e?t.value.length*e:t.value.reduce((t,n,r)=>t+e(r),0))}const _s={horizontal:"scrollLeft",vertical:"scrollTop"};function ys(e,t,n,r){return o=>{r.value&&(r.value[_s[e]]=n(o),t())}}function ws(e,t){const n=fs(t),{state:o,source:i,currentList:s,size:a,containerRef:l}=n,u={overflowX:"auto"},{itemWidth:c,overscan:f=5}=e,d=ds(o,i,c),p=hs("horizontal",f,ps(i,c),d,n),h=vs(c,i),v=(0,r.computed)(()=>h(o.value.start)),g=ms(c,i);return gs(a,t,l,p),{scrollTo:ys("horizontal",p,h,l),calculateRange:p,wrapperProps:(0,r.computed)(()=>({style:{height:"100%",width:g.value-v.value+"px",marginLeft:`${v.value}px`,display:"flex"}})),containerStyle:u,currentList:s,containerRef:l}}function bs(e,t){const n=fs(t),{state:o,source:i,currentList:s,size:a,containerRef:l}=n,u={overflowY:"auto"},{itemHeight:c,overscan:f=5}=e,d=ds(o,i,c),p=hs("vertical",f,ps(i,c),d,n),h=vs(c,i),v=(0,r.computed)(()=>h(o.value.start)),g=ms(c,i);return gs(a,t,l,p),{calculateRange:p,scrollTo:ys("vertical",p,h,l),containerStyle:u,wrapperProps:(0,r.computed)(()=>({style:{width:"100%",height:g.value-v.value+"px",marginTop:`${v.value}px`}})),currentList:s,containerRef:l}}function Ss(e={}){const{navigator:t=Bt,document:n=$t}=e,o=(0,r.shallowRef)(!1),i=(0,r.shallowRef)(null),s=Tr({document:n}),a=Yt(()=>t&&"wakeLock"in t),l=(0,r.computed)(()=>!!i.value&&"visible"===s.value);async function u(e){var n;await(null===(n=i.value)||void 0===n?void 0:n.release()),i.value=a.value?await t.wakeLock.request(e):null}async function c(e){"visible"===s.value?await u(e):o.value=e}async function f(){o.value=!1;const e=i.value;i.value=null,await(null===e||void 0===e?void 0:e.release())}return a.value&&(qt(i,"release",()=>{var e,t;o.value=null!==(e=null===(t=i.value)||void 0===t?void 0:t.type)&&void 0!==e&&e},{passive:!0}),It(()=>"visible"===s.value&&"visible"===(null===n||void 0===n?void 0:n.visibilityState)&&o.value,e=>{o.value=!1,u(e)})),{sentinel:i,isSupported:a,isActive:l,request:c,forceRequest:u,release:f}}function Es(e={}){const{window:t=Vt,requestPermissions:n=!0}=e,o=e,i=Yt(()=>{if(!t||!("Notification"in t))return!1;if("granted"===Notification.permission)return!0;try{const e=new Notification("");e.onshow=()=>{e.close()}}catch(e){if("TypeError"===e.name)return!1}return!0}),s=(0,r.shallowRef)(i.value&&"permission"in Notification&&"granted"===Notification.permission),a=(0,r.ref)(null),c=async()=>{if(i.value)return s.value||"denied"===Notification.permission||"granted"===await Notification.requestPermission()&&(s.value=!0),s.value},{on:f,trigger:d}=u(),{on:p,trigger:h}=u(),{on:v,trigger:g}=u(),{on:m,trigger:_}=u(),y=async e=>{if(!i.value||!s.value)return;const t=Object.assign({},o,e);return a.value=new Notification(t.title||"",t),a.value.onclick=d,a.value.onshow=h,a.value.onerror=g,a.value.onclose=_,a.value},w=()=>{a.value&&a.value.close(),a.value=null};if(n&&Me(c),l(w),i.value&&t){const e=t.document;qt(e,"visibilitychange",t=>{t.preventDefault(),"visible"===e.visibilityState&&w()})}return{isSupported:i,notification:a,ensurePermissions:c,permissionGranted:s,show:y,close:w,onClick:f,onShow:p,onError:v,onClose:m}}const ks="ping";function Rs(e){return!0===e?{}:e}function Ts(e,t={}){const{onConnected:n,onDisconnected:o,onError:i,onMessage:s,immediate:a=!0,autoConnect:u=!0,autoClose:c=!0,protocols:f=[]}=t,d=(0,r.ref)(null),p=(0,r.shallowRef)("CLOSED"),h=(0,r.ref)(),v=N(e);let _,y,w,b,S=!1,E=0,k=[];const R=()=>{if(k.length&&h.value&&"OPEN"===p.value){for(const e of k)h.value.send(e);k=[]}},T=()=>{null!=w&&(clearTimeout(w),w=void 0)},O=()=>{clearTimeout(b),b=void 0},x=(e=1e3,t)=>{T(),(g||m)&&h.value&&(S=!0,O(),null===_||void 0===_||_(),h.value.close(e,t),h.value=void 0)},A=(e,t=!0)=>h.value&&"OPEN"===p.value?(R(),h.value.send(e),!0):(t&&k.push(e),!1),C=()=>{if(S||"undefined"===typeof v.value)return;const e=new WebSocket(v.value,f);h.value=e,p.value="CONNECTING",e.onopen=()=>{p.value="OPEN",E=0,null===n||void 0===n||n(e),null===y||void 0===y||y(),R()},e.onclose=n=>{if(p.value="CLOSED",O(),null===_||void 0===_||_(),null===o||void 0===o||o(e,n),!S&&t.autoReconnect&&(null==h.value||e===h.value)){const{retries:e=-1,delay:n=1e3,onFailed:r}=Rs(t.autoReconnect);if(("function"===typeof e?e:()=>"number"===typeof e&&(e<0||E{null===i||void 0===i||i(e,t)},e.onmessage=n=>{if(t.heartbeat){O();const{message:e=ks,responseMessage:o=e}=Rs(t.heartbeat);if(n.data===(0,r.toValue)(o))return}d.value=n.data,null===s||void 0===s||s(e,n)}};if(t.heartbeat){const{message:e=ks,interval:n=1e3,pongTimeout:o=1e3}=Rs(t.heartbeat),{pause:i,resume:s}=ct(()=>{A((0,r.toValue)(e),!1),null==b&&(b=setTimeout(()=>{x(),S=!1},o))},n,{immediate:!1});_=i,y=s}c&&(g&&qt("beforeunload",()=>x(),{passive:!0}),l(x));const I=()=>{(g||m)&&(x(),S=!1,E=0,C())};return a&&I(),u&&(0,r.watch)(v,I),{data:d,status:p,close:x,send:A,open:I,ws:h}}function Os(e,t,n){const{window:o=Vt}=null!==n&&void 0!==n?n:{},i=(0,r.ref)(null),s=(0,r.shallowRef)(),a=(...e)=>{s.value&&s.value.postMessage(...e)},u=function(){s.value&&s.value.terminate()};return o&&(s.value="string"===typeof e?new Worker(e,t):"function"===typeof e?e():e,s.value.onmessage=e=>{i.value=e.data},l(()=>{s.value&&s.value.terminate()})),{data:i,post:a,terminate:u,worker:s}}function xs(e,t){if(0===e.length&&0===t.length)return"";const n=e.map(e=>`'${e}'`).toString(),r=t.filter(e=>"function"===typeof e).map(e=>{const t=e.toString();return t.trim().startsWith("function")?t:`const ${e.name} = ${t}`}).join(";"),o=`importScripts(${n});`;return`${""===n.trim()?"":o} ${r}`}var As=xs;function Cs(e){return t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(e=>{postMessage(["SUCCESS",e])}).catch(e=>{postMessage(["ERROR",e])})}}var Ns=Cs;function Is(e,t,n){const r=`${As(t,n)}; onmessage=(${Ns})(${e})`,o=new Blob([r],{type:"text/javascript"});return URL.createObjectURL(o)}var Ps=Is;function Ls(e,t={}){const{dependencies:n=[],localDependencies:o=[],timeout:i,window:s=Vt}=t,a=(0,r.ref)(),u=(0,r.shallowRef)("PENDING"),c=(0,r.ref)({}),f=(0,r.shallowRef)(),d=(e="PENDING")=>{a.value&&a.value._url&&s&&(a.value.terminate(),URL.revokeObjectURL(a.value._url),c.value={},a.value=void 0,s.clearTimeout(f.value),u.value=e)};d(),l(d);const p=()=>{const t=Ps(e,n,o),r=new Worker(t);return r._url=t,r.onmessage=e=>{const{resolve:t=()=>{},reject:n=()=>{}}=c.value,[r,o]=e.data;switch(r){case"SUCCESS":t(o),d(r);break;default:n(o),d("ERROR");break}},r.onerror=e=>{const{reject:t=()=>{}}=c.value;e.preventDefault(),t(e),d("ERROR")},i&&(f.value=setTimeout(()=>d("TIMEOUT_EXPIRED"),i)),r},h=(...e)=>new Promise((t,n)=>{var r;c.value={resolve:t,reject:n},null===(r=a.value)||void 0===r||r.postMessage([[...e]]),u.value="RUNNING"}),v=(...e)=>"RUNNING"===u.value?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(a.value=p(),h(...e));return{workerFn:v,workerStatus:u,workerTerminate:d}}function Ms(e={}){const{window:t=Vt}=e;if(!t)return(0,r.shallowRef)(!1);const n=(0,r.shallowRef)(t.document.hasFocus()),o={passive:!0};return qt(t,"blur",()=>{n.value=!1},o),qt(t,"focus",()=>{n.value=!0},o),n}function Ds(e={}){const{window:t=Vt,...n}=e;return wo(t,n)}function Fs(e={}){const{window:t=Vt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:s=!0,type:a="inner"}=e,l=(0,r.shallowRef)(n),u=(0,r.shallowRef)(o),c=()=>{if(t)if("outer"===a)l.value=t.outerWidth,u.value=t.outerHeight;else if("visual"===a&&t.visualViewport){const{width:e,height:n,scale:r}=t.visualViewport;l.value=Math.round(e*r),u.value=Math.round(n*r)}else s?(l.value=t.innerWidth,u.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight)};c(),Me(c);const f={passive:!0};return qt("resize",c,f),t&&"visual"===a&&t.visualViewport&&qt(t.visualViewport,"resize",c,f),i&&(0,r.watch)(On("(orientation: portrait)"),()=>c()),{width:l,height:u}}},8747(e,t,n){"use strict";n.r(t),n.d(t,{NavigationFailureType:()=>le,RouterLink:()=>ct,RouterView:()=>mt,START_LOCATION:()=>H,createMemoryHistory:()=>Me,createRouter:()=>_t,createRouterMatcher:()=>Qe,createWebHashHistory:()=>De,createWebHistory:()=>Le,isNavigationFailure:()=>ce,loadRouteLocation:()=>Oe,matchedRouteKey:()=>ge,onBeforeRouteLeave:()=>Ee,onBeforeRouteUpdate:()=>ke,parseQuery:()=>pe,routeLocationKey:()=>ye,routerKey:()=>_e,routerViewLocationKey:()=>we,stringifyQuery:()=>he,useLink:()=>at,useRoute:()=>wt,useRouter:()=>yt,viewDepthKey:()=>me});var r=n(3783); /*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */ const o="undefined"!==typeof document;function i(e){return"object"===typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function s(e){return e.__esModule||"Module"===e[Symbol.toStringTag]||e.default&&i(e.default)}const a=Object.assign;function l(e,t){const n={};for(const r in t){const o=t[r];n[r]=c(o)?o.map(e):e(o)}return n}const u=()=>{},c=Array.isArray;function f(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const d=/#/g,p=/&/g,h=/\//g,v=/=/g,g=/\?/g,m=/\+/g,_=/%5B/g,y=/%5D/g,w=/%5E/g,b=/%60/g,S=/%7B/g,E=/%7C/g,k=/%7D/g,R=/%20/g;function T(e){return null==e?"":encodeURI(""+e).replace(E,"|").replace(_,"[").replace(y,"]")}function O(e){return T(e).replace(S,"{").replace(k,"}").replace(w,"^")}function x(e){return T(e).replace(m,"%2B").replace(R,"+").replace(d,"%23").replace(p,"%26").replace(b,"`").replace(S,"{").replace(k,"}").replace(w,"^")}function A(e){return x(e).replace(v,"%3D")}function C(e){return T(e).replace(d,"%23").replace(g,"%3F")}function N(e){return C(e).replace(h,"%2F")}function I(e){if(null==e)return null;try{return decodeURIComponent(""+e)}catch(e){}return""+e}const P=/\/$/,L=e=>e.replace(P,"");function M(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),i=t.slice(l,a>0?a:t.length),o=e(i.slice(1))),a>=0&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=W(null!=r?r:t,n),{fullPath:r+i+s,path:r,query:o,hash:I(s)}}function D(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function F(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function U(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&j(t.matched[r],n.matched[o])&&V(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function j(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function V(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!$(e[n],t[n]))return!1;return!0}function $(e,t){return c(e)?B(e,t):c(t)?B(t,e):e?.valueOf()===t?.valueOf()}function B(e,t){return c(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}function W(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+r.slice(i).join("/")}const H={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let q=function(e){return e["pop"]="pop",e["push"]="push",e}({}),z=function(e){return e["back"]="back",e["forward"]="forward",e["unknown"]="",e}({});const G="";function K(e){if(!e)if(o){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),L(e)}const Y=/^[^#]+#/;function J(e,t){return e.replace(Y,"#")+t}function X(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Q=()=>({left:window.scrollX,top:window.scrollY});function Z(e){let t;if("el"in e){const n=e.el,r="string"===typeof n&&n.startsWith("#");0;const o="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=X(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function ee(e,t){return(history.state?history.state.position-t:-1)+e}const te=new Map;function ne(e,t){te.set(e,t)}function re(e){const t=te.get(e);return te.delete(e),t}function oe(e){return"string"===typeof e||e&&"object"===typeof e}function ie(e){return"string"===typeof e||"symbol"===typeof e}let se=function(e){return e[e["MATCHER_NOT_FOUND"]=1]="MATCHER_NOT_FOUND",e[e["NAVIGATION_GUARD_REDIRECT"]=2]="NAVIGATION_GUARD_REDIRECT",e[e["NAVIGATION_ABORTED"]=4]="NAVIGATION_ABORTED",e[e["NAVIGATION_CANCELLED"]=8]="NAVIGATION_CANCELLED",e[e["NAVIGATION_DUPLICATED"]=16]="NAVIGATION_DUPLICATED",e}({});const ae=Symbol("");let le=function(e){return e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated",e}({});se.MATCHER_NOT_FOUND,se.NAVIGATION_GUARD_REDIRECT,se.NAVIGATION_ABORTED,se.NAVIGATION_CANCELLED,se.NAVIGATION_DUPLICATED;function ue(e,t){return a(new Error,{type:e,[ae]:!0},t)}function ce(e,t){return e instanceof Error&&ae in e&&(null==t||!!(e.type&t))}const fe=["params","query","hash"];function de(e){if("string"===typeof e)return e;if(null!=e.path)return e.path;const t={};for(const n of fe)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function pe(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;ee&&x(e)):[r&&x(r)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}):void 0!==r&&(t+=(t.length?"&":"")+n)}return t}function ve(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=c(r)?r.map(e=>null==e?null:""+e):null==r?r:""+r)}return t}const ge=Symbol(""),me=Symbol(""),_e=Symbol(""),ye=Symbol(""),we=Symbol("");function be(){let e=[];function t(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Se(e,t,n){const o=()=>{e[t].delete(n)};(0,r.onUnmounted)(o),(0,r.onDeactivated)(o),(0,r.onActivated)(()=>{e[t].add(n)}),e[t].add(n)}function Ee(e){const t=(0,r.inject)(ge,{}).value;t&&Se(t,"leaveGuards",e)}function ke(e){const t=(0,r.inject)(ge,{}).value;t&&Se(t,"updateGuards",e)}function Re(e,t,n,r,o,i=e=>e()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=e=>{!1===e?l(ue(se.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?l(e):oe(e)?l(ue(se.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(s&&r.enterCallbacks[o]===s&&"function"===typeof e&&s.push(e),a())},c=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(e=>l(e))})}function Te(e,t,n,r,o=e=>e()){const a=[];for(const l of e){0;for(const e in l.components){let u=l.components[e];if("beforeRouteEnter"===t||l.instances[e])if(i(u)){const i=(u.__vccOpts||u)[t];i&&a.push(Re(i,n,r,l,e,o))}else{let i=u();0,a.push(()=>i.then(i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${l.path}"`);const a=s(i)?i.default:i;l.mods[e]=i,l.components[e]=a;const u=(a.__vccOpts||a)[t];return u&&Re(u,n,r,l,e,o)()}))}}}return a}function Oe(e){return e.matched.every(e=>e.redirect)?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map(e=>e.components&&Promise.all(Object.keys(e.components).reduce((t,n)=>{const r=e.components[n];return"function"!==typeof r||"displayName"in r||t.push(r().then(t=>{if(!t)return Promise.reject(new Error(`Couldn't resolve component "${n}" at "${e.path}". Ensure you passed a function that returns a promise.`));const r=s(t)?t.default:t;e.mods[n]=t,e.components[n]=r})),t},[])))).then(()=>e)}function xe(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sj(e,i))?r.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find(e=>j(e,a))||o.push(a))}return[n,r,o]} /*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */ let Ae=()=>location.protocol+"//"+location.host;function Ce(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),F(n,"")}return F(n,e)+r+o}function Ne(e,t,n,r){let o=[],i=[],s=null;const l=({state:i})=>{const a=Ce(e,location),l=n.value,u=t.value;let c=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);c=u?i.position-u.position:0}else r(a);o.forEach(e=>{e(n.value,l,{delta:c,type:q.pop,direction:c?c>0?z.forward:z.back:z.unknown})})};function u(){s=n.value}function c(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t}function f(){if("hidden"===document.visibilityState){const{history:e}=window;if(!e.state)return;e.replaceState(a({},e.state,{scroll:Q()}),"")}}function d(){for(const e of i)e();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",f),document.removeEventListener("visibilitychange",f)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",f),{pauseListeners:u,listen:c,destroy:d}}function Ie(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Q():null}}function Pe(e){const{history:t,location:n}=window,r={value:Ce(e,n)},o={value:t.state};function i(r,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+r:Ae()+e+r;try{t[s?"replaceState":"pushState"](i,"",l),o.value=i}catch(e){console.error(e),n[s?"replace":"assign"](l)}}function s(e,n){i(e,a({},t.state,Ie(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}function l(e,n){const s=a({},o.value,t.state,{forward:e,scroll:Q()});i(s.current,s,!0),i(e,a({},Ie(r.value,e,null),{position:s.position+1},n),!1),r.value=e}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:l,replace:s}}function Le(e){e=K(e);const t=Pe(e),n=Ne(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}const o=a({location:"",base:e,go:r,createHref:J.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Me(e=""){let t=[],n=[[G,{}]],r=0;function o(e,t={}){r++,r!==n.length&&n.splice(r),n.push([e,t])}function i(e,n,{direction:r,delta:o}){const i={direction:r,delta:o,type:q.pop};for(const r of t)r(e,n,i)}e=K(e);const s={location:G,state:{},base:e,createHref:J.bind(null,e),replace(e,t){n.splice(r--,1),o(e,t)},push(e,t){o(e,t)},listen(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},destroy(){t=[],n=[[G,{}]],r=0},go(e,t=!0){const o=this.location,s=e<0?z.back:z.forward;r=Math.max(0,Math.min(r+e,n.length-1)),t&&i(this.location,o,{direction:s,delta:e})}};return Object.defineProperty(s,"location",{enumerable:!0,get:()=>n[r][0]}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>n[r][1]}),s}function De(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Le(e)}let Fe=function(e){return e[e["Static"]=0]="Static",e[e["Param"]=1]="Param",e[e["Group"]=2]="Group",e}({});var Ue=function(e){return e[e["Static"]=0]="Static",e[e["Param"]=1]="Param",e[e["ParamRegExp"]=2]="ParamRegExp",e[e["ParamRegExpEnd"]=3]="ParamRegExpEnd",e[e["EscapeNext"]=4]="EscapeNext",e}(Ue||{});const je={type:Fe.Static,value:""},Ve=/[a-zA-Z0-9_]/;function $e(e){if(!e)return[[]];if("/"===e)return[[je]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${u}": ${e}`)}let n=Ue.Static,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a,l=0,u="",c="";function f(){u&&(n===Ue.Static?i.push({type:Fe.Static,value:u}):n===Ue.Param||n===Ue.ParamRegExp||n===Ue.ParamRegExpEnd?(i.length>1&&("*"===a||"+"===a)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Fe.Param,value:u,regexp:c,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),u="")}function d(){u+=a}while(lt.length?1===t.length&&t[0]===He.Static+He.Segment?1:-1:0}function Ke(e,t){let n=0;const r=e.score,o=t.score;while(n0&&t[t.length-1]<0}const Je={strict:!1,end:!0,sensitive:!1};function Xe(e,t,n){const r=ze($e(e.path),n);const o=a(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf===!t.record.aliasOf&&t.children.push(o),o}function Qe(e,t){const n=[],r=new Map;function o(e){return r.get(e)}function i(e,n,r){const o=!r,l=et(e);l.aliasOf=r&&r.record;const d=f(t,e),p=[l];if("alias"in e){const t="string"===typeof e.alias?[e.alias]:e.alias;for(const e of t)p.push(et(a({},l,{components:r?r.record.components:l.components,path:e,aliasOf:r?r.record:l})))}let h,v;for(const t of p){const{path:a}=t;if(n&&"/"!==a[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(a&&r+a)}if(h=Xe(t,n,d),r?r.alias.push(h):(v=v||h,v!==h&&v.alias.push(h),o&&e.name&&!nt(h)&&s(e.name)),st(h)&&c(h),l.children){const e=l.children;for(let t=0;t{s(v)}:u}function s(e){if(ie(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(s),t.alias.forEach(s))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(s),e.alias.forEach(s))}}function l(){return n}function c(e){const t=ot(e,n);n.splice(t,0,e),e.record.name&&!nt(e)&&r.set(e.record.name,e)}function d(e,t){let o,i,s,l={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw ue(se.MATCHER_NOT_FOUND,{location:e});0,s=o.record.name,l=a(Ze(t.params,o.keys.filter(e=>!e.optional).concat(o.parent?o.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&Ze(e.params,o.keys.map(e=>e.name))),i=o.stringify(l)}else if(null!=e.path)i=e.path,o=n.find(e=>e.re.test(i)),o&&(l=o.parse(i),s=o.record.name);else{if(o=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!o)throw ue(se.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=o.record.name,l=a({},t.params,e.params),i=o.stringify(l)}const u=[];let c=o;while(c)u.unshift(c.record),c=c.parent;return{name:s,path:i,params:l,matched:u,meta:rt(u)}}function p(){n.length=0,r.clear()}return t=f(Je,t),e.forEach(e=>i(e)),{addRoute:i,resolve:d,removeRoute:s,clearRoutes:p,getRoutes:l,getRecordMatcher:o}}function Ze(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function et(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:tt(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function tt(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"===typeof n?n[r]:n;return t}function nt(e){while(e){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rt(e){return e.reduce((e,t)=>a(e,t.meta),{})}function ot(e,t){let n=0,r=t.length;while(n!==r){const o=n+r>>1;Ke(e,t[o])<0?r=o:n=o+1}const o=it(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function it(e){let t=e;while(t=t.parent)if(st(t)&&0===Ke(e,t))return t}function st({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function at(e){const t=(0,r.inject)(_e),n=(0,r.inject)(ye);const o=(0,r.computed)(()=>{const n=(0,r.unref)(e.to);return t.resolve(n)}),i=(0,r.computed)(()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(j.bind(null,r));if(s>-1)return s;const a=pt(e[t-2]);return t>1&&pt(r)===a&&i[i.length-1].path!==a?i.findIndex(j.bind(null,e[t-2])):s}),s=(0,r.computed)(()=>i.value>-1&&dt(n.params,o.value.params)),a=(0,r.computed)(()=>i.value>-1&&i.value===n.matched.length-1&&V(n.params,o.value.params));function l(n={}){if(ft(n)){const n=t[(0,r.unref)(e.replace)?"replace":"push"]((0,r.unref)(e.to)).catch(u);return e.viewTransition&&"undefined"!==typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:o,href:(0,r.computed)(()=>o.value.href),isActive:s,isExactActive:a,navigate:l}}function lt(e){return 1===e.length?e[0]:e}const ut=(0,r.defineComponent)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:at,setup(e,{slots:t}){const n=(0,r.reactive)(at(e)),{options:o}=(0,r.inject)(_e),i=(0,r.computed)(()=>({[ht(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[ht(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&<(t.default(n));return e.custom?o:(0,r.h)("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),ct=ut;function ft(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function dt(e,t){for(const n in t){const r=t[n],o=e[n];if("string"===typeof r){if(r!==o)return!1}else if(!c(o)||o.length!==r.length||r.some((e,t)=>e.valueOf()!==o[t].valueOf()))return!1}return!0}function pt(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ht=(e,t,n)=>null!=e?e:null!=t?t:n,vt=(0,r.defineComponent)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=(0,r.inject)(we),i=(0,r.computed)(()=>e.route||o.value),s=(0,r.inject)(me,0),l=(0,r.computed)(()=>{let e=(0,r.unref)(s);const{matched:t}=i.value;let n;while((n=t[e])&&!n.components)e++;return e}),u=(0,r.computed)(()=>i.value.matched[l.value]);(0,r.provide)(me,(0,r.computed)(()=>l.value+1)),(0,r.provide)(ge,u),(0,r.provide)(we,i);const c=(0,r.ref)();return(0,r.watch)(()=>[c.value,u.value,e.name],([e,t,n],[r,o,i])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&j(t,o)&&r||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=i.value,s=e.name,l=u.value,f=l&&l.components[s];if(!f)return gt(n.default,{Component:f,route:o});const d=l.props[s],p=d?!0===d?o.params:"function"===typeof d?d(o):d:null,h=e=>{e.component.isUnmounted&&(l.instances[s]=null)},v=(0,r.h)(f,a({},p,t,{onVnodeUnmounted:h,ref:c}));return gt(n.default,{Component:v,route:o})||v}}});function gt(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const mt=vt;function _t(e){const t=Qe(e.routes,e),n=e.parseQuery||pe,i=e.stringifyQuery||he,s=e.history;const f=be(),d=be(),p=be(),h=(0,r.shallowRef)(H);let v=H;o&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=l.bind(null,e=>""+e),m=l.bind(null,N),_=l.bind(null,I);function y(e,n){let r,o;return ie(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)}function w(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function b(){return t.getRoutes().map(e=>e.record)}function S(e){return!!t.getRecordMatcher(e)}function E(e,r){if(r=a({},r||h.value),"string"===typeof e){const o=M(n,e,r.path),i=t.resolve({path:o.path},r),l=s.createHref(o.fullPath);return a(o,i,{params:_(i.params),hash:I(o.hash),redirectedFrom:void 0,href:l})}let o;if(null!=e.path)o=a({},e,{path:M(n,e.path,r.path).path});else{const t=a({},e.params);for(const e in t)null==t[e]&&delete t[e];o=a({},e,{params:m(t)}),r.params=m(r.params)}const l=t.resolve(o,r),u=e.hash||"";l.params=g(_(l.params));const c=D(i,a({},e,{hash:O(u),path:l.path})),f=s.createHref(c);return a({fullPath:c,hash:u,query:i===he?ve(e.query):e.query||{}},l,{redirectedFrom:void 0,href:f})}function k(e){return"string"===typeof e?M(n,e,h.value.path):a({},e)}function R(e,t){if(v!==e)return ue(se.NAVIGATION_CANCELLED,{from:t,to:e})}function T(e){return C(e)}function x(e){return T(a(k(e),{replace:!0}))}function A(e,t){const n=e.matched[e.matched.length-1];if(n&&n.redirect){const{redirect:r}=n;let o="function"===typeof r?r(e,t):r;return"string"===typeof o&&(o=o.includes("?")||o.includes("#")?o=k(o):{path:o},o.params={}),a({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function C(e,t){const n=v=E(e),r=h.value,o=e.state,s=e.force,l=!0===e.replace,u=A(n,r);if(u)return C(a(k(u),{state:"object"===typeof u?a({},o,u.state):o,force:s,replace:l}),t||n);const c=n;let f;return c.redirectedFrom=t,!s&&U(i,r,n)&&(f=ue(se.NAVIGATION_DUPLICATED,{to:c,from:r}),X(r,r,!0,!1)),(f?Promise.resolve(f):F(c,r)).catch(e=>ce(e)?ce(e,se.NAVIGATION_GUARD_REDIRECT)?e:J(e):K(e,c,r)).then(e=>{if(e){if(ce(e,se.NAVIGATION_GUARD_REDIRECT))return C(a({replace:l},k(e.to),{state:"object"===typeof e.to?a({},o,e.to.state):o,force:s}),t||c)}else e=V(c,r,!0,l,o);return j(c,r,e),e})}function P(e,t){const n=R(e,t);return n?Promise.reject(n):Promise.resolve()}function L(e){const t=ae.values().next().value;return t&&"function"===typeof t.runWithContext?t.runWithContext(e):e()}function F(e,t){let n;const[r,o,i]=xe(e,t);n=Te(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach(r=>{n.push(Re(r,e,t))});const s=P.bind(null,e,t);return n.push(s),fe(n).then(()=>{n=[];for(const r of f.list())n.push(Re(r,e,t));return n.push(s),fe(n)}).then(()=>{n=Te(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach(r=>{n.push(Re(r,e,t))});return n.push(s),fe(n)}).then(()=>{n=[];for(const r of i)if(r.beforeEnter)if(c(r.beforeEnter))for(const o of r.beforeEnter)n.push(Re(o,e,t));else n.push(Re(r.beforeEnter,e,t));return n.push(s),fe(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Te(i,"beforeRouteEnter",e,t,L),n.push(s),fe(n))).then(()=>{n=[];for(const r of d.list())n.push(Re(r,e,t));return n.push(s),fe(n)}).catch(e=>ce(e,se.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function j(e,t,n){p.list().forEach(r=>L(()=>r(e,t,n)))}function V(e,t,n,r,i){const l=R(e,t);if(l)return l;const u=t===H,c=o?history.state:{};n&&(r||u?s.replace(e.fullPath,a({scroll:u&&c&&c.scroll},i)):s.push(e.fullPath,i)),h.value=e,X(e,t,n,u),J()}let $;function B(){$||($=s.listen((e,t,n)=>{if(!le.listening)return;const r=E(e),i=A(r,le.currentRoute.value);if(i)return void C(a(i,{replace:!0,force:!0}),r).catch(u);v=r;const l=h.value;o&&ne(ee(l.fullPath,n.delta),Q()),F(r,l).catch(e=>ce(e,se.NAVIGATION_ABORTED|se.NAVIGATION_CANCELLED)?e:ce(e,se.NAVIGATION_GUARD_REDIRECT)?(C(a(k(e.to),{force:!0}),r).then(e=>{ce(e,se.NAVIGATION_ABORTED|se.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===q.pop&&s.go(-1,!1)}).catch(u),Promise.reject()):(n.delta&&s.go(-n.delta,!1),K(e,r,l))).then(e=>{e=e||V(r,l,!1),e&&(n.delta&&!ce(e,se.NAVIGATION_CANCELLED)?s.go(-n.delta,!1):n.type===q.pop&&ce(e,se.NAVIGATION_ABORTED|se.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),j(r,l,e)}).catch(u)}))}let W,z=be(),G=be();function K(e,t,n){J(e);const r=G.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function Y(){return W&&h.value!==H?Promise.resolve():new Promise((e,t)=>{z.add([e,t])})}function J(e){return W||(W=!e,B(),z.list().forEach(([t,n])=>e?n(e):t()),z.reset()),e}function X(t,n,i,s){const{scrollBehavior:a}=e;if(!o||!a)return Promise.resolve();const l=!i&&re(ee(t.fullPath,0))||(s||!i)&&history.state&&history.state.scroll||null;return(0,r.nextTick)().then(()=>a(t,n,l)).then(e=>e&&Z(e)).catch(e=>K(e,t,n))}const te=e=>s.go(e);let oe;const ae=new Set,le={currentRoute:h,listening:!0,addRoute:y,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:S,getRoutes:b,resolve:E,options:e,push:T,replace:x,go:te,back:()=>te(-1),forward:()=>te(1),beforeEach:f.add,beforeResolve:d.add,afterEach:p.add,onError:G.add,isReady:Y,install(e){e.component("RouterLink",ct),e.component("RouterView",mt),e.config.globalProperties.$router=le,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,r.unref)(h)}),o&&!oe&&h.value===H&&(oe=!0,T(s.location).catch(e=>{0}));const t={};for(const e in H)Object.defineProperty(t,e,{get:()=>h.value[e],enumerable:!0});e.provide(_e,le),e.provide(ye,(0,r.shallowReactive)(t)),e.provide(we,h);const n=e.unmount;ae.add(e),e.unmount=function(){ae.delete(e),ae.size<1&&(v=H,$&&$(),$=null,h.value=H,oe=!1,W=!1),n()}}};function fe(e){return e.reduce((e,t)=>e.then(()=>L(t)),Promise.resolve())}return le}function yt(){return(0,r.inject)(_e)}function wt(e){return(0,r.inject)(ye)}},9071(e,t,n){"use strict";function r(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get("*"))&&r.slice().map(function(e){e(t,n)})}}}n.r(t),n.d(t,{default:()=>r})},9300(e,t,n){(function(t,r){e.exports=r(n(5055))})(0,function(e){return e.enc.Utf8})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.c=t,(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&o&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>r[e]);return s["default"]=()=>r,n.d(i,s),i}})(),(()=>{n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[]))})(),(()=>{n.u=e=>"js/"+e+"."+{339:"288ff420",363:"d902618a",466:"f088431d",489:"57b94d42",520:"896f907e",733:"c03073c5",970:"2ccb4d86",2094:"27f63337",2296:"236f2f06",2444:"a54b7144",2543:"f9bb6554",2701:"ae0d6fc7",2812:"08fe9139",2821:"1128c11d",2883:"b7de951e",3020:"3cc7ec5e",3070:"f85ccbf8",3221:"43e84876",3354:"837b0708",3421:"faf3226e",3531:"98e08819",3569:"93686b79",3579:"8897f164",3927:"ae086983",4147:"aaab01b5",4222:"b89ec811",4484:"ce901ff5",4602:"f2d09d18",4884:"7d4326da",5170:"1f402fa2",5244:"2374f439",5268:"e877a2af",5323:"b606b1c5",5397:"e86453cb",5412:"87f6bac6",5546:"cefc60e4",5552:"b1249c6e",5613:"061e1f40",5751:"30fe8469",5968:"dc9a09aa",5981:"69d7ef4e",6053:"d9f7e1d8",6184:"7a4d7ce9",6203:"a695b15a",6349:"5ea6fb05",6481:"d4d75cab",6498:"6f8f393f",6569:"93de4db8",7018:"a6389583",7325:"fa428ff5",7330:"88689848",7338:"e11ea947",7491:"b9f1fe3d",7501:"65e6e494",7570:"541ccef6",7590:"28841aaf",7649:"d5a10590",7669:"e9dd695b",7736:"5aa283e7",7814:"38eadf61",7936:"29f9d392",8046:"adf7c42d",8120:"9a79be8b",8230:"a1ec5851",8483:"476a381d",8491:"9824e932",8671:"f1052c6f",8705:"08beac2c",8753:"5c94275f",8800:"fc4b316f",8845:"0dd83c5d",8973:"452fe089",9036:"b5f9d91b",9113:"bb92ce1c",9276:"2c92d292",9501:"095fb55b"}[e]+".js"})(),(()=>{n.miniCssF=e=>"css/"+e+".b1ca1ad4.css"})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="vcloud-host:";n.l=(r,o,i,s)=>{if(e[r])e[r].push(o);else{var a,l;if(void 0!==i)for(var u=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(n)),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{n.S={};var e={},t={};n.I=(r,o)=>{o||(o=[]);var i=t[r];if(i||(i=t[r]={}),!(o.indexOf(i)>=0)){if(o.push(i),e[r])return e[r];n.o(n.S,r)||(n.S[r]={});var s=n.S[r],a="vcloud-host",l=(e,t,n,r)=>{var o=s[e]=s[e]||{},i=o[t];(!i||!i.loaded&&(!r!=!i.eager?r:a>i.from))&&(o[t]={get:n,from:a,eager:!!r})},u=[];switch(r){case"default":l("@vcloud/utils","1.0.0",()=>()=>n(257),1),l("@vueuse/core","14.1.0",()=>()=>n(8658),1),l("axios","1.13.2",()=>()=>n(608),1),l("lodash","4.17.23",()=>()=>n(3877),1),l("mitt","3.0.1",()=>()=>n(9071),1),l("pinia","3.0.4",()=>()=>n(705),1),l("portal-vue","3.0.0",()=>()=>n(3031),1),l("vue-i18n","11.2.8",()=>()=>n(780),1),l("vue-router","4.6.4",()=>()=>n(8747),1),l("vue3-oidc","1.0.2",()=>()=>n(4078),1),l("vue","3.5.27",()=>()=>n(4037),1);break}return u.length?e[r]=Promise.all(u).then(()=>e[r]=1):e[r]=1}}})(),(()=>{n.p="https://aztst-vcloud-a-master.veloxtix.com/"})(),(()=>{var e=e=>{var t=e=>e.split(".").map(e=>+e==e?+e:e),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),r=n[1]?t(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,t(n[2]))),n[3]&&(r.push([]),r.push.apply(r,t(n[3]))),r},t=(t,n)=>{t=e(t),n=e(n);for(var r=0;;){if(r>=t.length)return r=n.length)return"u"==i;var s=n[r],a=(typeof s)[0];if(i!=a)return"o"==i&&"n"==a||"s"==a||"u"==i;if("o"!=i&&"u"!=i&&o!=s)return o{var t=e[0],n="";if(1===e.length)return"*";if(t+.5){n+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var o=1,i=1;i0?".":"")+(o=2,a);return n}var s=[];for(i=1;i{if(0 in t){n=e(n);var r=t[0],i=r<0;i&&(r=-r-1);for(var s=0,a=1,l=!0;;a++,s++){var u,c,f=a=n.length||"o"==(c=(typeof(u=n[s]))[0]))return!l||("u"==f?a>r&&!i:""==f!=i);if("u"==c){if(!l||"u"!=f)return!1}else if(l)if(f==c)if(a<=r){if(u!=t[a])return!1}else{if(i?u>t[a]:ue&&n.o(e,t),s=e=>(e.loaded=1,e.get()),a=e=>Object.keys(e).reduce((t,n)=>(e[n].eager&&(t[n]=e[n]),t),{}),l=(e,n,r)=>{var o=r?a(e[n]):e[n];return Object.keys(o).reduce((e,n)=>!e||!o[e].loaded&&t(e,n)?n:e,0)},u=(e,t,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(o)+")",c=e=>{throw new Error(e)},f=(e,t)=>c("Shared module "+t+" doesn't exist in shared scope "+e),d=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},p=e=>function(t,r,o,i,s){var a=n.I(t);return a&&a.then&&!o?a.then(e.bind(e,t,n.S[t],r,!1,i,s)):e(t,n.S[t],r,o,i,s)},h=(e,t,n)=>n?n():f(e,t),v=p((e,t,n,r,a,c)=>{if(!i(t,n))return h(e,n,c);var f=l(t,n,r);return o(a,f)||d(u(t,n,f,a)),s(t[n][f])}),g={},m={3783:()=>v("default","vue",!0,[1,3,5,0],()=>()=>n(4037)),7127:()=>v("default","vue",!0,[1,3,5,11],()=>()=>n(4037)),4084:()=>v("default","vue",!0,[1,3,0,4],()=>()=>n(4037)),6592:()=>v("default","vue",!0,[1,3,0,0],()=>()=>n(4037)),8823:()=>v("default","vue",!0,[0,3,0,0],()=>()=>n(4037)),978:()=>v("default","mitt",!0,[1,3,0,1],()=>()=>n(9071)),1191:()=>v("default","@vueuse/core",!0,[1,14,1,0],()=>()=>n(8658)),1338:()=>v("default","vue",!0,[1,3,5,27],()=>()=>n(4037)),3036:()=>v("default","vue",!0,[1,3,5,5],()=>()=>n(4037)),5878:()=>v("default","@vcloud/utils",!0,[1,1,0,0],()=>()=>n(257)),6078:()=>v("default","vue-router",!0,[1,4,6,4],()=>()=>n(8747)),6128:()=>v("default","vue-i18n",!0,[1,11,2,8],()=>()=>n(780)),6579:()=>v("default","vue3-oidc",!0,[1,1,0,2],()=>()=>n(4078)),8448:()=>v("default","pinia",!0,[1,3,0,4],()=>()=>n(705)),9050:()=>v("default","lodash",!0,[1,4,17,23],()=>()=>n(3877)),9759:()=>v("default","axios",!0,[1,1,13,2],()=>()=>n(608))},_=[3783,7127,4084,6592,8823];_.forEach(e=>{n.m[e]=t=>{g[e]=0,delete n.c[e];var r=m[e]();if("function"!==typeof r)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=r()}});var y={2296:[1338,3036,8448],2543:[1338,3036,5878],3569:[978,1191,1338,3036,5878,6078,6128,6579,8448,9050,9759],6349:[1338,3036],9113:[978,1191,1338,3036,5878,6078,6128,6579,8448,9050,9759],9965:[3783,7127,4084,6592,8823]},w={};n.f.consumes=(e,t)=>{n.o(y,e)&&y[e].forEach(e=>{if(n.o(g,e))return t.push(g[e]);if(!w[e]){var r=t=>{g[e]=0,n.m[e]=r=>{delete n.c[e],r.exports=t()}};w[e]=!0;var o=t=>{delete g[e],n.m[e]=r=>{throw delete n.c[e],t}};try{var i=m[e]();i.then?t.push(g[e]=i.then(r)["catch"](o)):r(i)}catch(e){o(e)}}})}})(),(()=>{if("undefined"!==typeof document){var e=(e,t,r,o,i)=>{var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",n.nc&&(s.nonce=n.nc);var a=n=>{if(s.onerror=s.onload=null,"load"===n.type)o();else{var r=n&&n.type,a=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+r+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=r,l.request=a,s.parentNode&&s.parentNode.removeChild(s),i(l)}};return s.onerror=s.onload=a,s.href=t,r?r.parentNode.insertBefore(s,r.nextSibling):document.head.appendChild(s),s},t=(e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;rnew Promise((o,i)=>{var s=n.miniCssF(r),a=n.p+s;if(t(s,a))return o();e(r,a,null,o,i)}),o={9965:0};n.f.miniCss=(e,t)=>{var n={2296:1};o[e]?t.push(o[e]):0!==o[e]&&n[e]&&t.push(o[e]=r(e).then(()=>{o[e]=0},t=>{throw delete o[e],t}))}}})(),(()=>{var e={9965:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((n,r)=>o=e[t]=[n,r]);r.push(o[2]=i);var s=n.p+n.u(t),a=new Error,l=r=>{if(n.o(e,t)&&(o=e[t],0!==o&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+s+")",a.name="ChunkLoadError",a.type=i,a.request=s,o[1](a)}};n.l(s,l,"chunk-"+t,t)}};var t=(t,r)=>{var o,i,[s,a,l]=r,u=0;if(s.some(t=>0!==e[t])){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(l)l(n)}for(t&&t(r);u