0;)s=c[i],d[s]||(a[s]=e[s],d[s]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,a))&&e!==Object.prototype);return a}function jg(e,a,r){e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=a.length;var c=e.indexOf(a,r);return c!==-1&&c===r}function Xg(e){if(!e)return null;var a=e.length;if(Ht(a))return null;for(var r=new Array(a);a-- >0;)r[a]=e[a];return r}var Wg=function(e){return function(a){return e&&a instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),F2={isArray:wo,isArrayBuffer:S9,isBuffer:kg,isFormData:Og,isArrayBufferView:Ag,isString:Sg,isNumber:_g,isObject:_9,isPlainObject:Ql,isUndefined:Ht,isDate:Eg,isFile:zg,isBlob:Tg,isFunction:Zo,isStream:Ig,isURLSearchParams:qg,isStandardBrowserEnv:Fg,forEach:ko,merge:sr,extend:Dg,trim:Rg,stripBOM:Ng,inherits:Bg,toFlatObject:Yg,kindOf:xo,kindOfTest:ye,endsWith:jg,toArray:Xg,isTypedArray:Wg,isFileList:Pg},Ze=F2;function U6(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var E9=function(a,r,c){if(!r)return a;var i;if(c)i=c(r);else if(Ze.isURLSearchParams(r))i=r.toString();else{var s=[];Ze.forEach(r,function(y,V){y===null||typeof y>"u"||(Ze.isArray(y)?V=V+"[]":y=[y],Ze.forEach(y,function(x){Ze.isDate(x)?x=x.toISOString():Ze.isObject(x)&&(x=JSON.stringify(x)),s.push(U6(V)+"="+U6(x))}))}),i=s.join("&")}if(i){var d=a.indexOf("#");d!==-1&&(a=a.slice(0,d)),a+=(a.indexOf("?")===-1?"?":"&")+i}return a},$g=F2;function i4(){this.handlers=[]}i4.prototype.use=function(a,r,c){return this.handlers.push({fulfilled:a,rejected:r,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1};i4.prototype.eject=function(a){this.handlers[a]&&(this.handlers[a]=null)};i4.prototype.forEach=function(a){$g.forEach(this.handlers,function(c){c!==null&&a(c)})};var Gg=i4,Ug=F2,Qg=function(a,r){Ug.forEach(a,function(i,s){s!==r&&s.toUpperCase()===r.toUpperCase()&&(a[r]=i,delete a[s])})},z9=F2;function Xe(e,a,r,c,i){Error.call(this),this.message=e,this.name="AxiosError",a&&(this.code=a),r&&(this.config=r),c&&(this.request=c),i&&(this.response=i)}z9.inherits(Xe,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var T9=Xe.prototype,P9={};["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"].forEach(function(e){P9[e]={value:e}});Object.defineProperties(Xe,P9);Object.defineProperty(T9,"isAxiosError",{value:!0});Xe.from=function(e,a,r,c,i,s){var d=Object.create(T9);return z9.toFlatObject(e,d,function(y){return y!==Error.prototype}),Xe.call(d,e.message,a,r,c,i),d.name=e.name,s&&Object.assign(d,s),d};var r3=Xe,I9={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},L0=F2;function Kg(e,a){a=a||new FormData;var r=[];function c(s){return s===null?"":L0.isDate(s)?s.toISOString():L0.isArrayBuffer(s)||L0.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function i(s,d){if(L0.isPlainObject(s)||L0.isArray(s)){if(r.indexOf(s)!==-1)throw Error("Circular reference detected in "+d);r.push(s),L0.forEach(s,function(y,V){if(!L0.isUndefined(y)){var C=d?d+"."+V:V,x;if(y&&!d&&typeof y=="object"){if(L0.endsWith(V,"{}"))y=JSON.stringify(y);else if(L0.endsWith(V,"[]")&&(x=L0.toArray(y))){x.forEach(function(w){!L0.isUndefined(w)&&a.append(C,c(w))});return}}i(y,C)}}),r.pop()}else a.append(d,c(s))}return i(e),a}var O9=Kg,Y4,Q6;function Jg(){if(Q6)return Y4;Q6=1;var e=r3;return Y4=function(r,c,i){var s=i.config.validateStatus;!i.status||!s||s(i.status)?r(i):c(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},Y4}var j4,K6;function eH(){if(K6)return j4;K6=1;var e=F2;return j4=e.isStandardBrowserEnv()?function(){return{write:function(c,i,s,d,p,y){var V=[];V.push(c+"="+encodeURIComponent(i)),e.isNumber(s)&&V.push("expires="+new Date(s).toGMTString()),e.isString(d)&&V.push("path="+d),e.isString(p)&&V.push("domain="+p),y===!0&&V.push("secure"),document.cookie=V.join("; ")},read:function(c){var i=document.cookie.match(new RegExp("(^|;\\s*)("+c+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(c){this.write(c,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),j4}var lH=function(a){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a)},tH=function(a,r){return r?a.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):a},aH=lH,rH=tH,q9=function(a,r){return a&&!aH(r)?rH(a,r):r},X4,J6;function oH(){if(J6)return X4;J6=1;var e=F2,a=["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"];return X4=function(c){var i={},s,d,p;return c&&e.forEach(c.split(`
-`),function(V){if(p=V.indexOf(":"),s=e.trim(V.substr(0,p)).toLowerCase(),d=e.trim(V.substr(p+1)),s){if(i[s]&&a.indexOf(s)>=0)return;s==="set-cookie"?i[s]=(i[s]?i[s]:[]).concat([d]):i[s]=i[s]?i[s]+", "+d:d}}),i},X4}var W4,en;function cH(){if(en)return W4;en=1;var e=F2;return W4=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),c=document.createElement("a"),i;function s(d){var p=d;return r&&(c.setAttribute("href",p),p=c.href),c.setAttribute("href",p),{href:c.href,protocol:c.protocol?c.protocol.replace(/:$/,""):"",host:c.host,search:c.search?c.search.replace(/^\?/,""):"",hash:c.hash?c.hash.replace(/^#/,""):"",hostname:c.hostname,port:c.port,pathname:c.pathname.charAt(0)==="/"?c.pathname:"/"+c.pathname}}return i=s(window.location.href),function(p){var y=e.isString(p)?s(p):p;return y.protocol===i.protocol&&y.host===i.host}}():function(){return function(){return!0}}(),W4}var $4,ln;function h4(){if(ln)return $4;ln=1;var e=r3,a=F2;function r(c){e.call(this,c==null?"canceled":c,e.ERR_CANCELED),this.name="CanceledError"}return a.inherits(r,e,{__CANCEL__:!0}),$4=r,$4}var G4,tn;function nH(){return tn||(tn=1,G4=function(a){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a);return r&&r[1]||""}),G4}var U4,an;function rn(){if(an)return U4;an=1;var e=F2,a=Jg(),r=eH(),c=E9,i=q9,s=oH(),d=cH(),p=I9,y=r3,V=h4(),C=nH();return U4=function(w){return new Promise(function(P,R){var _=w.data,E=w.headers,A=w.responseType,S;function Y(){w.cancelToken&&w.cancelToken.unsubscribe(S),w.signal&&w.signal.removeEventListener("abort",S)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete E["Content-Type"];var W=new XMLHttpRequest;if(w.auth){var j=w.auth.username||"",Q=w.auth.password?unescape(encodeURIComponent(w.auth.password)):"";E.Authorization="Basic "+btoa(j+":"+Q)}var G=i(w.baseURL,w.url);W.open(w.method.toUpperCase(),c(G,w.params,w.paramsSerializer),!0),W.timeout=w.timeout;function e1(){if(!!W){var a1="getAllResponseHeaders"in W?s(W.getAllResponseHeaders()):null,c1=!A||A==="text"||A==="json"?W.responseText:W.response,o1={data:c1,status:W.status,statusText:W.statusText,headers:a1,config:w,request:W};a(function(w1){P(w1),Y()},function(w1){R(w1),Y()},o1),W=null}}if("onloadend"in W?W.onloadend=e1:W.onreadystatechange=function(){!W||W.readyState!==4||W.status===0&&!(W.responseURL&&W.responseURL.indexOf("file:")===0)||setTimeout(e1)},W.onabort=function(){!W||(R(new y("Request aborted",y.ECONNABORTED,w,W)),W=null)},W.onerror=function(){R(new y("Network Error",y.ERR_NETWORK,w,W,W)),W=null},W.ontimeout=function(){var c1=w.timeout?"timeout of "+w.timeout+"ms exceeded":"timeout exceeded",o1=w.transitional||p;w.timeoutErrorMessage&&(c1=w.timeoutErrorMessage),R(new y(c1,o1.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,w,W)),W=null},e.isStandardBrowserEnv()){var t1=(w.withCredentials||d(G))&&w.xsrfCookieName?r.read(w.xsrfCookieName):void 0;t1&&(E[w.xsrfHeaderName]=t1)}"setRequestHeader"in W&&e.forEach(E,function(c1,o1){typeof _>"u"&&o1.toLowerCase()==="content-type"?delete E[o1]:W.setRequestHeader(o1,c1)}),e.isUndefined(w.withCredentials)||(W.withCredentials=!!w.withCredentials),A&&A!=="json"&&(W.responseType=w.responseType),typeof w.onDownloadProgress=="function"&&W.addEventListener("progress",w.onDownloadProgress),typeof w.onUploadProgress=="function"&&W.upload&&W.upload.addEventListener("progress",w.onUploadProgress),(w.cancelToken||w.signal)&&(S=function(a1){!W||(R(!a1||a1&&a1.type?new V:a1),W.abort(),W=null)},w.cancelToken&&w.cancelToken.subscribe(S),w.signal&&(w.signal.aborted?S():w.signal.addEventListener("abort",S))),_||(_=null);var s1=C(G);if(s1&&["http","https","file"].indexOf(s1)===-1){R(new y("Unsupported protocol "+s1+":",y.ERR_BAD_REQUEST,w));return}W.send(_)})},U4}var Q4,on;function iH(){return on||(on=1,Q4=null),Q4}var T2=F2,cn=Qg,nn=r3,hH=I9,sH=O9,vH={"Content-Type":"application/x-www-form-urlencoded"};function hn(e,a){!T2.isUndefined(e)&&T2.isUndefined(e["Content-Type"])&&(e["Content-Type"]=a)}function uH(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=rn()),e}function dH(e,a,r){if(T2.isString(e))try{return(a||JSON.parse)(e),T2.trim(e)}catch(c){if(c.name!=="SyntaxError")throw c}return(r||JSON.stringify)(e)}var s4={transitional:hH,adapter:uH(),transformRequest:[function(a,r){if(cn(r,"Accept"),cn(r,"Content-Type"),T2.isFormData(a)||T2.isArrayBuffer(a)||T2.isBuffer(a)||T2.isStream(a)||T2.isFile(a)||T2.isBlob(a))return a;if(T2.isArrayBufferView(a))return a.buffer;if(T2.isURLSearchParams(a))return hn(r,"application/x-www-form-urlencoded;charset=utf-8"),a.toString();var c=T2.isObject(a),i=r&&r["Content-Type"],s;if((s=T2.isFileList(a))||c&&i==="multipart/form-data"){var d=this.env&&this.env.FormData;return sH(s?{"files[]":a}:a,d&&new d)}else if(c||i==="application/json")return hn(r,"application/json"),dH(a);return a}],transformResponse:[function(a){var r=this.transitional||s4.transitional,c=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,s=!c&&this.responseType==="json";if(s||i&&T2.isString(a)&&a.length)try{return JSON.parse(a)}catch(d){if(s)throw d.name==="SyntaxError"?nn.from(d,nn.ERR_BAD_RESPONSE,this,null,this.response):d}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:iH()},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};T2.forEach(["delete","get","head"],function(a){s4.headers[a]={}});T2.forEach(["post","put","patch"],function(a){s4.headers[a]=T2.merge(vH)});var Ao=s4,mH=F2,pH=Ao,fH=function(a,r,c){var i=this||pH;return mH.forEach(c,function(d){a=d.call(i,a,r)}),a},K4,sn;function R9(){return sn||(sn=1,K4=function(a){return!!(a&&a.__CANCEL__)}),K4}var vn=F2,J4=fH,bH=R9(),yH=Ao,gH=h4();function ea(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gH}var HH=function(a){ea(a),a.headers=a.headers||{},a.data=J4.call(a,a.data,a.headers,a.transformRequest),a.headers=vn.merge(a.headers.common||{},a.headers[a.method]||{},a.headers),vn.forEach(["delete","get","head","post","put","patch","common"],function(i){delete a.headers[i]});var r=a.adapter||yH.adapter;return r(a).then(function(i){return ea(a),i.data=J4.call(a,i.data,i.headers,a.transformResponse),i},function(i){return bH(i)||(ea(a),i&&i.response&&(i.response.data=J4.call(a,i.response.data,i.response.headers,a.transformResponse))),Promise.reject(i)})},i0=F2,F9=function(a,r){r=r||{};var c={};function i(C,x){return i0.isPlainObject(C)&&i0.isPlainObject(x)?i0.merge(C,x):i0.isPlainObject(x)?i0.merge({},x):i0.isArray(x)?x.slice():x}function s(C){if(i0.isUndefined(r[C])){if(!i0.isUndefined(a[C]))return i(void 0,a[C])}else return i(a[C],r[C])}function d(C){if(!i0.isUndefined(r[C]))return i(void 0,r[C])}function p(C){if(i0.isUndefined(r[C])){if(!i0.isUndefined(a[C]))return i(void 0,a[C])}else return i(void 0,r[C])}function y(C){if(C in r)return i(a[C],r[C]);if(C in a)return i(void 0,a[C])}var V={url:d,method:d,data:d,baseURL:p,transformRequest:p,transformResponse:p,paramsSerializer:p,timeout:p,timeoutMessage:p,withCredentials:p,adapter:p,responseType:p,xsrfCookieName:p,xsrfHeaderName:p,onUploadProgress:p,onDownloadProgress:p,decompress:p,maxContentLength:p,maxBodyLength:p,beforeRedirect:p,transport:p,httpAgent:p,httpsAgent:p,cancelToken:p,socketPath:p,responseEncoding:p,validateStatus:y};return i0.forEach(Object.keys(a).concat(Object.keys(r)),function(x){var w=V[x]||s,k=w(x);i0.isUndefined(k)&&w!==y||(c[x]=k)}),c},la,un;function D9(){return un||(un=1,la={version:"0.27.2"}),la}var VH=D9().version,H5=r3,So={};["object","boolean","number","function","string","symbol"].forEach(function(e,a){So[e]=function(c){return typeof c===e||"a"+(a<1?"n ":" ")+e}});var dn={};So.transitional=function(a,r,c){function i(s,d){return"[Axios v"+VH+"] Transitional option '"+s+"'"+d+(c?". "+c:"")}return function(s,d,p){if(a===!1)throw new H5(i(d," has been removed"+(r?" in "+r:"")),H5.ERR_DEPRECATED);return r&&!dn[d]&&(dn[d]=!0,console.warn(i(d," has been deprecated since v"+r+" and will be removed in the near future"))),a?a(s,d,p):!0}};function MH(e,a,r){if(typeof e!="object")throw new H5("options must be an object",H5.ERR_BAD_OPTION_VALUE);for(var c=Object.keys(e),i=c.length;i-- >0;){var s=c[i],d=a[s];if(d){var p=e[s],y=p===void 0||d(p,s,e);if(y!==!0)throw new H5("option "+s+" must be "+y,H5.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new H5("Unknown option "+s,H5.ERR_BAD_OPTION)}}var CH={assertOptions:MH,validators:So},N9=F2,LH=E9,mn=Gg,pn=HH,v4=F9,xH=q9,B9=CH,ke=B9.validators;function We(e){this.defaults=e,this.interceptors={request:new mn,response:new mn}}We.prototype.request=function(a,r){typeof a=="string"?(r=r||{},r.url=a):r=a||{},r=v4(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var c=r.transitional;c!==void 0&&B9.assertOptions(c,{silentJSONParsing:ke.transitional(ke.boolean),forcedJSONParsing:ke.transitional(ke.boolean),clarifyTimeoutError:ke.transitional(ke.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(r)===!1||(s=s&&k.synchronous,i.unshift(k.fulfilled,k.rejected))});var d=[];this.interceptors.response.forEach(function(k){d.push(k.fulfilled,k.rejected)});var p;if(!s){var y=[pn,void 0];for(Array.prototype.unshift.apply(y,i),y=y.concat(d),p=Promise.resolve(r);y.length;)p=p.then(y.shift(),y.shift());return p}for(var V=r;i.length;){var C=i.shift(),x=i.shift();try{V=C(V)}catch(w){x(w);break}}try{p=pn(V)}catch(w){return Promise.reject(w)}for(;d.length;)p=p.then(d.shift(),d.shift());return p};We.prototype.getUri=function(a){a=v4(this.defaults,a);var r=xH(a.baseURL,a.url);return LH(r,a.params,a.paramsSerializer)};N9.forEach(["delete","get","head","options"],function(a){We.prototype[a]=function(r,c){return this.request(v4(c||{},{method:a,url:r,data:(c||{}).data}))}});N9.forEach(["post","put","patch"],function(a){function r(c){return function(s,d,p){return this.request(v4(p||{},{method:a,headers:c?{"Content-Type":"multipart/form-data"}:{},url:s,data:d}))}}We.prototype[a]=r(),We.prototype[a+"Form"]=r(!0)});var wH=We,ta,fn;function ZH(){if(fn)return ta;fn=1;var e=h4();function a(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var c;this.promise=new Promise(function(d){c=d});var i=this;this.promise.then(function(s){if(!!i._listeners){var d,p=i._listeners.length;for(d=0;d{var c;return q("div",{class:["v-card-actions",e.class],style:e.style},[(c=r.default)==null?void 0:c.call(r)])}),{}}}),ur=e3("v-card-subtitle"),Oe=e3("v-card-title"),zH=H1({appendAvatar:String,appendIcon:v2,prependAvatar:String,prependIcon:v2,subtitle:String,title:String,...j1(),...T0()},"VCardItem"),u4=z1()({name:"VCardItem",props:zH(),setup(e,a){let{slots:r}=a;return N1(()=>{var V;const c=!!(e.prependAvatar||e.prependIcon),i=!!(c||r.prepend),s=!!(e.appendAvatar||e.appendIcon),d=!!(s||r.append),p=!!(e.title||r.title),y=!!(e.subtitle||r.subtitle);return q("div",{class:["v-card-item",e.class],style:e.style},[i&&q("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?q(E2,{key:"prepend-defaults",disabled:!c,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},r.prepend):c&&q(k0,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),q("div",{class:"v-card-item__content"},[p&&q(Oe,{key:"title"},{default:()=>{var C,x;return[(x=(C=r.title)==null?void 0:C.call(r))!=null?x:e.title]}}),y&&q(ur,{key:"subtitle"},{default:()=>{var C,x;return[(x=(C=r.subtitle)==null?void 0:C.call(r))!=null?x:e.subtitle]}}),(V=r.default)==null?void 0:V.call(r)]),d&&q("div",{key:"append",class:"v-card-item__append"},[r.append?q(E2,{key:"append-defaults",disabled:!s,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},r.append):s&&q(k0,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),C5=e3("v-card-text"),TH=H1({appendAvatar:String,appendIcon:v2,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:v2,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...h5(),...j1(),...T0(),...pe(),...C0(),...mo(),...sl(),...so(),...R2(),...Jt(),...u2(),...V2(),...i5({variant:"elevated"})},"VCard"),$5=z1()({name:"VCard",directives:{Ripple:ml},props:TH(),setup(e,a){let{attrs:r,slots:c}=a;const{themeClasses:i}=Z2(e),{borderClasses:s}=s5(e),{colorClasses:d,colorStyles:p,variantClasses:y}=t3(e),{densityClasses:V}=G0(e),{dimensionStyles:C}=fe(e),{elevationClasses:x}=z0(e),{loaderClasses:w}=po(e),{locationStyles:k}=vl(e),{positionClasses:P}=vo(e),{roundedClasses:R}=X2(e),_=Kt(e,r),E=U(()=>e.link!==!1&&_.isLink.value),A=U(()=>!e.disabled&&e.link!==!1&&(e.link||_.isClickable.value));return N1(()=>{const S=E.value?"a":e.tag,Y=!!(c.title||e.title),W=!!(c.subtitle||e.subtitle),j=Y||W,Q=!!(c.append||e.appendAvatar||e.appendIcon),G=!!(c.prepend||e.prependAvatar||e.prependIcon),e1=!!(c.image||e.image),t1=j||G||Q,s1=!!(c.text||e.text);return P2(q(S,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":A.value},i.value,s.value,d.value,V.value,x.value,w.value,P.value,R.value,y.value,e.class],style:[p.value,C.value,k.value,e.style],href:_.href.value,onClick:A.value&&_.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var a1;return[e1&&q("div",{key:"image",class:"v-card__image"},[c.image?q(E2,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},c.image):q(B0,{key:"image-img",cover:!0,src:e.image},null)]),q(P8,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:c.loader}),t1&&q(u4,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:c.item,prepend:c.prepend,title:c.title,subtitle:c.subtitle,append:c.append}),s1&&q(C5,{key:"text"},{default:()=>{var c1,o1;return[(o1=(c1=c.text)==null?void 0:c1.call(c))!=null?o1:e.text]}}),(a1=c.default)==null?void 0:a1.call(c),c.actions&&q(vr,null,{default:c.actions}),l3(A.value,"v-card")]}}),[[W0("ripple"),A.value&&e.ripple]])}),{}}}),PH={class:"text-2xl font-weight-medium text-primary"},IH={__name:"AnalyticsAward",setup(e){const a=$t(),r=U(()=>a.global.name.value==="light"?xg:Lg),c=de();return c.getters.runmode==="online"&&c.getters.serverApi!==""&&j9.post(`${c.getters.serverApi}verify`,{token:c.getters.userToken}).then(i=>{var s,d;(s=i.data)!=null&&s.verify||(c.dispatch("user/logout"),c.commit("app/ADD_SNACKBAR",{message:"\u5F53\u524D\u8D26\u53F7\u9A8C\u8BC1\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\uFF01",color:"warning"})),c.commit("app/SET_SERVERVERSION",((d=i.data)==null?void 0:d.version)||0)}).catch(i=>{c.commit("app/SET_RUNMODE","offline"),c.commit("app/ADD_SNACKBAR",{message:`\u670D\u52A1\u5668\u8FDE\u63A5\u9519\u8BEF\uFF0C\u5DF2\u8F6C\u5165\u79BB\u7EBF\u6A21\u5F0F\uFF0C\u8BF7\u68C0\u67E5\u63D2\u4EF6\u662F\u5426\u6B63\u5E38\u8FD0\u884C\u4E14\u4E3A\u6700\u65B0\u7248\u672C\uFF01
-${i.message}`,color:"error"}),console.log(i)}),(i,s)=>(W1(),h2($5,{title:"ChatGPT \u63D2\u4EF6\u670D\u52A1\u5668",subtitle:"\u53EF\u8FDC\u7A0B\u8FDE\u63A5\u5230chatgpt-plugin\u8FDB\u884C\u76F8\u5173\u914D\u7F6E\u64CD\u4F5C",class:"position-relative"},{default:v1(()=>[q(C5,null,{default:v1(()=>[C2("h5",PH,n2(i.$store.state.app.mode==="online"&&i.$store.state.app.api?"\u8FDE\u63A5\u6B63\u5E38":"\u79BB\u7EBF\u6A21\u5F0F"),1),C2("p",null,n2(i.$store.state.app.api||"\u672A\u77E5\u533A\u57DF"),1),q(V0,{size:"small",onClick:s[0]||(s[0]=d=>i.$router.push({path:"login"}))},{default:v1(()=>[c2(n2(i.$store.state.app.mode==="online"&&i.$store.state.app.api?"\u65AD\u5F00\u8FDE\u63A5":"\u8FDE\u63A5\u533A\u57DF"),1)]),_:1})]),_:1}),q(B0,{src:J1(r),class:"triangle-bg flip-in-rtl"},null,8,["src"]),q(B0,{src:J1(wg),class:"trophy"},null,8,["src"])]),_:1}))}};var OH={exports:{}};const qH=qb(Zu);var Il={exports:{}};/*!
+ */const Ee=typeof window<"u";function Vy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const m2=Object.assign;function N4(e,a){const r={};for(const c in a){const i=a[c];r[c]=A0(i)?i.map(e):e(i)}return r}const S3=()=>{},A0=Array.isArray,My=/\/$/,Cy=e=>e.replace(My,"");function B4(e,a,r="/"){let c,i={},s="",d="";const p=a.indexOf("#");let y=a.indexOf("?");return p=0&&(y=-1),y>-1&&(c=a.slice(0,y),s=a.slice(y+1,p>-1?p:a.length),i=e(s)),p>-1&&(c=c||a.slice(0,p),d=a.slice(p,a.length)),c=Zy(c!=null?c:a,r),{fullPath:c+(s&&"?")+s+d,path:c,query:i,hash:d}}function Ly(e,a){const r=a.query?e(a.query):"";return a.path+(r&&"?")+r+(a.hash||"")}function P6(e,a){return!a||!e.toLowerCase().startsWith(a.toLowerCase())?e:e.slice(a.length)||"/"}function xy(e,a,r){const c=a.matched.length-1,i=r.matched.length-1;return c>-1&&c===i&&Xe(a.matched[c],r.matched[i])&&g9(a.params,r.params)&&e(a.query)===e(r.query)&&a.hash===r.hash}function Xe(e,a){return(e.aliasOf||e)===(a.aliasOf||a)}function g9(e,a){if(Object.keys(e).length!==Object.keys(a).length)return!1;for(const r in e)if(!wy(e[r],a[r]))return!1;return!0}function wy(e,a){return A0(e)?I6(e,a):A0(a)?I6(a,e):e===a}function I6(e,a){return A0(a)?e.length===a.length&&e.every((r,c)=>r===a[c]):e.length===1&&e[0]===a}function Zy(e,a){if(e.startsWith("/"))return e;if(!e)return a;const r=a.split("/"),c=e.split("/");let i=r.length-1,s,d;for(s=0;s1&&i--;else break;return r.slice(0,i).join("/")+"/"+c.slice(s-(s===c.length?1:0)).join("/")}var G3;(function(e){e.pop="pop",e.push="push"})(G3||(G3={}));var _3;(function(e){e.back="back",e.forward="forward",e.unknown=""})(_3||(_3={}));function ky(e){if(!e)if(Ee){const a=document.querySelector("base");e=a&&a.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Cy(e)}const Ay=/^[^#]+#/;function Sy(e,a){return e.replace(Ay,"#")+a}function _y(e,a){const r=document.documentElement.getBoundingClientRect(),c=e.getBoundingClientRect();return{behavior:a.behavior,left:c.left-r.left-(a.left||0),top:c.top-r.top-(a.top||0)}}const i4=()=>({left:window.pageXOffset,top:window.pageYOffset});function Ey(e){let a;if("el"in e){const r=e.el,c=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?c?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;a=_y(i,e)}else a=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(a):window.scrollTo(a.left!=null?a.left:window.pageXOffset,a.top!=null?a.top:window.pageYOffset)}function O6(e,a){return(history.state?history.state.position-a:-1)+e}const ir=new Map;function zy(e,a){ir.set(e,a)}function Ty(e){const a=ir.get(e);return ir.delete(e),a}let Py=()=>location.protocol+"//"+location.host;function H9(e,a){const{pathname:r,search:c,hash:i}=a,s=e.indexOf("#");if(s>-1){let p=i.includes(e.slice(s))?e.slice(s).length:1,y=i.slice(p);return y[0]!=="/"&&(y="/"+y),P6(y,"")}return P6(r,e)+c+i}function Iy(e,a,r,c){let i=[],s=[],d=null;const p=({state:w})=>{const k=H9(e,location),P=r.value,R=a.value;let _=0;if(w){if(r.value=k,a.value=w,d&&d===P){d=null;return}_=R?w.position-R.position:0}else c(k);i.forEach(E=>{E(r.value,P,{delta:_,type:G3.pop,direction:_?_>0?_3.forward:_3.back:_3.unknown})})};function y(){d=r.value}function V(w){i.push(w);const k=()=>{const P=i.indexOf(w);P>-1&&i.splice(P,1)};return s.push(k),k}function C(){const{history:w}=window;!w.state||w.replaceState(m2({},w.state,{scroll:i4()}),"")}function x(){for(const w of s)w();s=[],window.removeEventListener("popstate",p),window.removeEventListener("beforeunload",C)}return window.addEventListener("popstate",p),window.addEventListener("beforeunload",C),{pauseListeners:y,listen:V,destroy:x}}function q6(e,a,r,c=!1,i=!1){return{back:e,current:a,forward:r,replaced:c,position:window.history.length,scroll:i?i4():null}}function Oy(e){const{history:a,location:r}=window,c={value:H9(e,r)},i={value:a.state};i.value||s(c.value,{back:null,current:c.value,forward:null,position:a.length-1,replaced:!0,scroll:null},!0);function s(y,V,C){const x=e.indexOf("#"),w=x>-1?(r.host&&document.querySelector("base")?e:e.slice(x))+y:Py()+e+y;try{a[C?"replaceState":"pushState"](V,"",w),i.value=V}catch(k){console.error(k),r[C?"replace":"assign"](w)}}function d(y,V){const C=m2({},a.state,q6(i.value.back,y,i.value.forward,!0),V,{position:i.value.position});s(y,C,!0),c.value=y}function p(y,V){const C=m2({},i.value,a.state,{forward:y,scroll:i4()});s(C.current,C,!0);const x=m2({},q6(c.value,y,null),{position:C.position+1},V);s(y,x,!1),c.value=y}return{location:c,state:i,push:p,replace:d}}function qy(e){e=ky(e);const a=Oy(e),r=Iy(e,a.state,a.location,a.replace);function c(s,d=!0){d||r.pauseListeners(),history.go(s)}const i=m2({location:"",base:e,go:c,createHref:Sy.bind(null,e)},a,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>a.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>a.state.value}),i}function Ry(e){return typeof e=="string"||e&&typeof e=="object"}function V9(e){return typeof e=="string"||typeof e=="symbol"}const y5={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},M9=Symbol("");var R6;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(R6||(R6={}));function We(e,a){return m2(new Error,{type:e,[M9]:!0},a)}function K0(e,a){return e instanceof Error&&M9 in e&&(a==null||!!(e.type&a))}const F6="[^/]+?",Fy={sensitive:!1,strict:!1,start:!0,end:!0},Dy=/[.+*?^${}()[\]/\\]/g;function Ny(e,a){const r=m2({},Fy,a),c=[];let i=r.start?"^":"";const s=[];for(const V of e){const C=V.length?[]:[90];r.strict&&!V.length&&(i+="/");for(let x=0;xa.length?a.length===1&&a[0]===40+40?1:-1:0}function Yy(e,a){let r=0;const c=e.score,i=a.score;for(;r0&&a[a.length-1]<0}const jy={type:0,value:""},Xy=/[a-zA-Z0-9_]/;function Wy(e){if(!e)return[[]];if(e==="/")return[[jy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function a(k){throw new Error(`ERR (${r})/"${V}": ${k}`)}let r=0,c=r;const i=[];let s;function d(){s&&i.push(s),s=[]}let p=0,y,V="",C="";function x(){!V||(r===0?s.push({type:0,value:V}):r===1||r===2||r===3?(s.length>1&&(y==="*"||y==="+")&&a(`A repeatable param (${V}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:V,regexp:C,repeatable:y==="*"||y==="+",optional:y==="*"||y==="?"})):a("Invalid state to consume buffer"),V="")}function w(){V+=y}for(;p{d(A)}:S3}function d(C){if(V9(C)){const x=c.get(C);x&&(c.delete(C),r.splice(r.indexOf(x),1),x.children.forEach(d),x.alias.forEach(d))}else{const x=r.indexOf(C);x>-1&&(r.splice(x,1),C.record.name&&c.delete(C.record.name),C.children.forEach(d),C.alias.forEach(d))}}function p(){return r}function y(C){let x=0;for(;x=0&&(C.record.path!==r[x].record.path||!C9(C,r[x]));)x++;r.splice(x,0,C),C.record.name&&!B6(C)&&c.set(C.record.name,C)}function V(C,x){let w,k={},P,R;if("name"in C&&C.name){if(w=c.get(C.name),!w)throw We(1,{location:C});R=w.record.name,k=m2(N6(x.params,w.keys.filter(A=>!A.optional).map(A=>A.name)),C.params&&N6(C.params,w.keys.map(A=>A.name))),P=w.stringify(k)}else if("path"in C)P=C.path,w=r.find(A=>A.re.test(P)),w&&(k=w.parse(P),R=w.record.name);else{if(w=x.name?c.get(x.name):r.find(A=>A.re.test(x.path)),!w)throw We(1,{location:C,currentLocation:x});R=w.record.name,k=m2({},x.params,C.params),P=w.stringify(k)}const _=[];let E=w;for(;E;)_.unshift(E.record),E=E.parent;return{name:R,path:P,params:k,matched:_,meta:Ky(_)}}return e.forEach(C=>s(C)),{addRoute:s,resolve:V,removeRoute:d,getRoutes:p,getRecordMatcher:i}}function N6(e,a){const r={};for(const c of a)c in e&&(r[c]=e[c]);return r}function Uy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Qy(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Qy(e){const a={},r=e.props||!1;if("component"in e)a.default=r;else for(const c in e.components)a[c]=typeof r=="boolean"?r:r[c];return a}function B6(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ky(e){return e.reduce((a,r)=>m2(a,r.meta),{})}function Y6(e,a){const r={};for(const c in e)r[c]=c in a?a[c]:e[c];return r}function C9(e,a){return a.children.some(r=>r===e||C9(e,r))}const L9=/#/g,Jy=/&/g,eg=/\//g,lg=/=/g,tg=/\?/g,x9=/\+/g,ag=/%5B/g,rg=/%5D/g,w9=/%5E/g,og=/%60/g,Z9=/%7B/g,cg=/%7C/g,k9=/%7D/g,ng=/%20/g;function Mo(e){return encodeURI(""+e).replace(cg,"|").replace(ag,"[").replace(rg,"]")}function ig(e){return Mo(e).replace(Z9,"{").replace(k9,"}").replace(w9,"^")}function hr(e){return Mo(e).replace(x9,"%2B").replace(ng,"+").replace(L9,"%23").replace(Jy,"%26").replace(og,"`").replace(Z9,"{").replace(k9,"}").replace(w9,"^")}function hg(e){return hr(e).replace(lg,"%3D")}function sg(e){return Mo(e).replace(L9,"%23").replace(tg,"%3F")}function vg(e){return e==null?"":sg(e).replace(eg,"%2F")}function Vt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ug(e){const a={};if(e===""||e==="?")return a;const c=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;is&&hr(s)):[c&&hr(c)]).forEach(s=>{s!==void 0&&(a+=(a.length?"&":"")+r,s!=null&&(a+="="+s))})}return a}function dg(e){const a={};for(const r in e){const c=e[r];c!==void 0&&(a[r]=A0(c)?c.map(i=>i==null?null:""+i):c==null?c:""+c)}return a}const mg=Symbol(""),X6=Symbol(""),h4=Symbol(""),Co=Symbol(""),sr=Symbol("");function m3(){let e=[];function a(c){return e.push(c),()=>{const i=e.indexOf(c);i>-1&&e.splice(i,1)}}function r(){e=[]}return{add:a,list:()=>e,reset:r}}function V5(e,a,r,c,i){const s=c&&(c.enterCallbacks[i]=c.enterCallbacks[i]||[]);return()=>new Promise((d,p)=>{const y=x=>{x===!1?p(We(4,{from:r,to:a})):x instanceof Error?p(x):Ry(x)?p(We(2,{from:a,to:x})):(s&&c.enterCallbacks[i]===s&&typeof x=="function"&&s.push(x),d())},V=e.call(c&&c.instances[i],a,r,y);let C=Promise.resolve(V);e.length<3&&(C=C.then(y)),C.catch(x=>p(x))})}function Y4(e,a,r,c){const i=[];for(const s of e)for(const d in s.components){let p=s.components[d];if(!(a!=="beforeRouteEnter"&&!s.instances[d]))if(pg(p)){const V=(p.__vccOpts||p)[a];V&&i.push(V5(V,r,c,s,d))}else{let y=p();i.push(()=>y.then(V=>{if(!V)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${s.path}"`));const C=Vy(V)?V.default:V;s.components[d]=C;const w=(C.__vccOpts||C)[a];return w&&V5(w,r,c,s,d)()}))}}return i}function pg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function W6(e){const a=r2(h4),r=r2(Co),c=U(()=>a.resolve(U1(e.to))),i=U(()=>{const{matched:y}=c.value,{length:V}=y,C=y[V-1],x=r.matched;if(!C||!x.length)return-1;const w=x.findIndex(Xe.bind(null,C));if(w>-1)return w;const k=$6(y[V-2]);return V>1&&$6(C)===k&&x[x.length-1].path!==k?x.findIndex(Xe.bind(null,y[V-2])):w}),s=U(()=>i.value>-1&&gg(r.params,c.value.params)),d=U(()=>i.value>-1&&i.value===r.matched.length-1&&g9(r.params,c.value.params));function p(y={}){return yg(y)?a[U1(e.replace)?"replace":"push"](U1(e.to)).catch(S3):Promise.resolve()}return{route:c,href:U(()=>c.value.href),isActive:s,isExactActive:d,navigate:p}}const fg=de({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"}},useLink:W6,setup(e,{slots:a}){const r=A2(W6(e)),{options:c}=r2(h4),i=U(()=>({[G6(e.activeClass,c.linkActiveClass,"router-link-active")]:r.isActive,[G6(e.exactActiveClass,c.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const s=a.default&&a.default(r);return e.custom?s:b0("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},s)}}}),bg=fg;function yg(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const a=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(a))return}return e.preventDefault&&e.preventDefault(),!0}}function gg(e,a){for(const r in a){const c=a[r],i=e[r];if(typeof c=="string"){if(c!==i)return!1}else if(!A0(i)||i.length!==c.length||c.some((s,d)=>s!==i[d]))return!1}return!0}function $6(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const G6=(e,a,r)=>e!=null?e:a!=null?a:r,Hg=de({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:a,slots:r}){const c=r2(sr),i=U(()=>e.route||c.value),s=r2(X6,0),d=U(()=>{let V=U1(s);const{matched:C}=i.value;let x;for(;(x=C[V])&&!x.components;)V++;return V}),p=U(()=>i.value.matched[d.value]);S2(X6,U(()=>d.value+1)),S2(mg,p),S2(sr,i);const y=_1();return O1(()=>[y.value,p.value,e.name],([V,C,x],[w,k,P])=>{C&&(C.instances[x]=V,k&&k!==C&&V&&V===w&&(C.leaveGuards.size||(C.leaveGuards=k.leaveGuards),C.updateGuards.size||(C.updateGuards=k.updateGuards))),V&&C&&(!k||!Xe(C,k)||!w)&&(C.enterCallbacks[x]||[]).forEach(R=>R(V))},{flush:"post"}),()=>{const V=i.value,C=e.name,x=p.value,w=x&&x.components[C];if(!w)return U6(r.default,{Component:w,route:V});const k=x.props[C],P=k?k===!0?V.params:typeof k=="function"?k(V):k:null,_=b0(w,m2({},P,a,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(x.instances[C]=null)},ref:y}));return U6(r.default,{Component:_,route:V})||_}}});function U6(e,a){if(!e)return null;const r=e(a);return r.length===1?r[0]:r}const Vg=Hg;function Mg(e){const a=Gy(e.routes,e),r=e.parseQuery||ug,c=e.stringifyQuery||j6,i=e.history,s=m3(),d=m3(),p=m3(),y=I1(y5);let V=y5;Ee&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const C=N4.bind(null,r1=>""+r1),x=N4.bind(null,vg),w=N4.bind(null,Vt);function k(r1,s1){let p1,x1;return V9(r1)?(p1=a.getRecordMatcher(r1),x1=s1):x1=r1,a.addRoute(x1,p1)}function P(r1){const s1=a.getRecordMatcher(r1);s1&&a.removeRoute(s1)}function R(){return a.getRoutes().map(r1=>r1.record)}function _(r1){return!!a.getRecordMatcher(r1)}function E(r1,s1){if(s1=m2({},s1||y.value),typeof r1=="string"){const $=B4(r,r1,s1.path),J=a.resolve({path:$.path},s1),h1=i.createHref($.fullPath);return m2($,J,{params:w(J.params),hash:Vt($.hash),redirectedFrom:void 0,href:h1})}let p1;if("path"in r1)p1=m2({},r1,{path:B4(r,r1.path,s1.path).path});else{const $=m2({},r1.params);for(const J in $)$[J]==null&&delete $[J];p1=m2({},r1,{params:x(r1.params)}),s1.params=x(s1.params)}const x1=a.resolve(p1,s1),K1=r1.hash||"";x1.params=C(w(x1.params));const i2=Ly(c,m2({},r1,{hash:ig(K1),path:x1.path})),W1=i.createHref(i2);return m2({fullPath:i2,hash:K1,query:c===j6?dg(r1.query):r1.query||{}},x1,{redirectedFrom:void 0,href:W1})}function A(r1){return typeof r1=="string"?B4(r,r1,y.value.path):m2({},r1)}function S(r1,s1){if(V!==r1)return We(8,{from:s1,to:r1})}function Y(r1){return Q(r1)}function W(r1){return Y(m2(A(r1),{replace:!0}))}function j(r1){const s1=r1.matched[r1.matched.length-1];if(s1&&s1.redirect){const{redirect:p1}=s1;let x1=typeof p1=="function"?p1(r1):p1;return typeof x1=="string"&&(x1=x1.includes("?")||x1.includes("#")?x1=A(x1):{path:x1},x1.params={}),m2({query:r1.query,hash:r1.hash,params:"path"in x1?{}:r1.params},x1)}}function Q(r1,s1){const p1=V=E(r1),x1=y.value,K1=r1.state,i2=r1.force,W1=r1.replace===!0,$=j(p1);if($)return Q(m2(A($),{state:typeof $=="object"?m2({},K1,$.state):K1,force:i2,replace:W1}),s1||p1);const J=p1;J.redirectedFrom=s1;let h1;return!i2&&xy(c,x1,p1)&&(h1=We(16,{to:J,from:x1}),g1(x1,x1,!0,!1)),(h1?Promise.resolve(h1):e1(J,x1)).catch(u1=>K0(u1)?K0(u1,2)?u1:L1(u1):A1(u1,J,x1)).then(u1=>{if(u1){if(K0(u1,2))return Q(m2({replace:W1},A(u1.to),{state:typeof u1.to=="object"?m2({},K1,u1.to.state):K1,force:i2}),s1||J)}else u1=v1(J,x1,!0,W1,K1);return t1(J,x1,u1),u1})}function G(r1,s1){const p1=S(r1,s1);return p1?Promise.reject(p1):Promise.resolve()}function e1(r1,s1){let p1;const[x1,K1,i2]=Cg(r1,s1);p1=Y4(x1.reverse(),"beforeRouteLeave",r1,s1);for(const $ of x1)$.leaveGuards.forEach(J=>{p1.push(V5(J,r1,s1))});const W1=G.bind(null,r1,s1);return p1.push(W1),ke(p1).then(()=>{p1=[];for(const $ of s.list())p1.push(V5($,r1,s1));return p1.push(W1),ke(p1)}).then(()=>{p1=Y4(K1,"beforeRouteUpdate",r1,s1);for(const $ of K1)$.updateGuards.forEach(J=>{p1.push(V5(J,r1,s1))});return p1.push(W1),ke(p1)}).then(()=>{p1=[];for(const $ of r1.matched)if($.beforeEnter&&!s1.matched.includes($))if(A0($.beforeEnter))for(const J of $.beforeEnter)p1.push(V5(J,r1,s1));else p1.push(V5($.beforeEnter,r1,s1));return p1.push(W1),ke(p1)}).then(()=>(r1.matched.forEach($=>$.enterCallbacks={}),p1=Y4(i2,"beforeRouteEnter",r1,s1),p1.push(W1),ke(p1))).then(()=>{p1=[];for(const $ of d.list())p1.push(V5($,r1,s1));return p1.push(W1),ke(p1)}).catch($=>K0($,8)?$:Promise.reject($))}function t1(r1,s1,p1){for(const x1 of p.list())x1(r1,s1,p1)}function v1(r1,s1,p1,x1,K1){const i2=S(r1,s1);if(i2)return i2;const W1=s1===y5,$=Ee?history.state:{};p1&&(x1||W1?i.replace(r1.fullPath,m2({scroll:W1&&$&&$.scroll},K1)):i.push(r1.fullPath,K1)),y.value=r1,g1(r1,s1,p1,W1),L1()}let a1;function c1(){a1||(a1=i.listen((r1,s1,p1)=>{if(!b2.listening)return;const x1=E(r1),K1=j(x1);if(K1){Q(m2(K1,{replace:!0}),x1).catch(S3);return}V=x1;const i2=y.value;Ee&&zy(O6(i2.fullPath,p1.delta),i4()),e1(x1,i2).catch(W1=>K0(W1,12)?W1:K0(W1,2)?(Q(W1.to,x1).then($=>{K0($,20)&&!p1.delta&&p1.type===G3.pop&&i.go(-1,!1)}).catch(S3),Promise.reject()):(p1.delta&&i.go(-p1.delta,!1),A1(W1,x1,i2))).then(W1=>{W1=W1||v1(x1,i2,!1),W1&&(p1.delta&&!K0(W1,8)?i.go(-p1.delta,!1):p1.type===G3.pop&&K0(W1,20)&&i.go(-1,!1)),t1(x1,i2,W1)}).catch(S3)}))}let o1=m3(),k1=m3(),w1;function A1(r1,s1,p1){L1(r1);const x1=k1.list();return x1.length?x1.forEach(K1=>K1(r1,s1,p1)):console.error(r1),Promise.reject(r1)}function y1(){return w1&&y.value!==y5?Promise.resolve():new Promise((r1,s1)=>{o1.add([r1,s1])})}function L1(r1){return w1||(w1=!r1,c1(),o1.list().forEach(([s1,p1])=>r1?p1(r1):s1()),o1.reset()),r1}function g1(r1,s1,p1,x1){const{scrollBehavior:K1}=e;if(!Ee||!K1)return Promise.resolve();const i2=!p1&&Ty(O6(r1.fullPath,0))||(x1||!p1)&&history.state&&history.state.scroll||null;return z2().then(()=>K1(r1,s1,i2)).then(W1=>W1&&Ey(W1)).catch(W1=>A1(W1,r1,s1))}const E1=r1=>i.go(r1);let B1;const n2=new Set,b2={currentRoute:y,listening:!0,addRoute:k,removeRoute:P,hasRoute:_,getRoutes:R,resolve:E,options:e,push:Y,replace:W,go:E1,back:()=>E1(-1),forward:()=>E1(1),beforeEach:s.add,beforeResolve:d.add,afterEach:p.add,onError:k1.add,isReady:y1,install(r1){const s1=this;r1.component("RouterLink",bg),r1.component("RouterView",Vg),r1.config.globalProperties.$router=s1,Object.defineProperty(r1.config.globalProperties,"$route",{enumerable:!0,get:()=>U1(y)}),Ee&&!B1&&y.value===y5&&(B1=!0,Y(i.location).catch(K1=>{}));const p1={};for(const K1 in y5)p1[K1]=U(()=>y.value[K1]);r1.provide(h4,s1),r1.provide(Co,A2(p1)),r1.provide(sr,y);const x1=r1.unmount;n2.add(r1),r1.unmount=function(){n2.delete(r1),n2.size<1&&(V=y5,a1&&a1(),a1=null,y.value=y5,B1=!1,w1=!1),x1()}}};return b2}function ke(e){return e.reduce((a,r)=>a.then(()=>r()),Promise.resolve())}function Cg(e,a){const r=[],c=[],i=[],s=Math.max(a.matched.length,e.matched.length);for(let d=0;dXe(V,p))?c.push(p):r.push(p));const y=e.matched[d];y&&(a.matched.find(V=>Xe(V,y))||i.push(y))}return[r,c,i]}function LC(){return r2(h4)}function xC(){return r2(Co)}const Lg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUwAAAF8AQMAAACe2hCxAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAGUExURUdwTP///5+UokMAAAACdFJOUwAFBvk5twAAAn9JREFUaN610TGVEEAMQMHLS5EyOFgLOFhLOFikIQUJCLhHQMJckV9P9z8+tG8fG/S70x9O/7AMp+m0nPYKPU6v0+d0mIbTdFortJ0ep9fpczpMw2mu0HLaTo/T6/Q5HaaxQtNpOW2nx+l1+pzOBg2n6bScttPj9K7Q53SYhtN0Wk7b6Vmh1+lzOkzDaTotp71Cj9Pr9DkdpuE0ndYKbafH6XX6nA7TcJortJy20+P0On1Oh2ms0HRaTtvpcXqdPqezQcNpOi2n7fQ4vU7fCh2m4TSdltN2epzeFfqcDtNwmk7LaTs9K/Q6fU6HaThNp+W0V+hxep0+p8M0nOYKLaft9Di9Tp/TYRorNJ2W03Z6nF6nz+ls0HCaTstpOz1Or9O3QodpOE2n5bSdHqd3hT6nwzScptNy2k7PCr1On9NhGk7TaTntFXqcXqfP6TANp+m0Vmg7PU6v0+d0mIbTXKHltJ0ep9fpczpMY4Wm03LaTo/T6/Q5nQ0aTtNpOW2nx+l1+lboMA2n6bScttOzQq/T53SYhtN0Wk57hR6n1+lzOkzDaTqtFdpOj9Pr9DkdpuE0V2g5bafH6XX6nA7TWKHptJy20+P0On1OZ4OG03RaTtvpcXqdvhU6TMNpOi2n7fQ4vSv0OR2m4TSdltN2elbodfqcDtNwmk7Laa/Q4/Q6fU6HaThNp7VC2+lxep0+p8M0Vmg6Laft9Di9Tp/T2aDhNJ2W03Z6nF6nb4UO03CaTstpOz1O7wp9TodpOE2n5bSdnhV6nT6nwzScptNy2iv0OL1On9NhGk7Taa3QdnqcXqfP6TANp3pgfn+F6oH5xQfmJx/4T/XAXz/w+ZUD/wBTQuAoajZcqwAAAABJRU5ErkJggg==",xg=""+new URL("triangle-light.c048fc49.png",import.meta.url).href,wg=""+new URL("trophy.5a52524c.png",import.meta.url).href;var A9={exports:{}},Lo={exports:{}},S9=function(a,r){return function(){for(var i=new Array(arguments.length),s=0;s"u"}function kg(e){return e!==null&&!Mt(e)&&e.constructor!==null&&!Mt(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var _9=ge("ArrayBuffer");function Ag(e){var a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&_9(e.buffer),a}function Sg(e){return typeof e=="string"}function _g(e){return typeof e=="number"}function E9(e){return e!==null&&typeof e=="object"}function Jl(e){if(wo(e)!=="object")return!1;var a=Object.getPrototypeOf(e);return a===null||a===Object.prototype}var Eg=ge("Date"),zg=ge("File"),Tg=ge("Blob"),Pg=ge("FileList");function ko(e){return xo.call(e)==="[object Function]"}function Ig(e){return E9(e)&&ko(e.pipe)}function Og(e){var a="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||xo.call(e)===a||ko(e.toString)&&e.toString()===a)}var qg=ge("URLSearchParams");function Rg(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Fg(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ao(e,a){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Zo(e))for(var r=0,c=e.length;r0;)s=c[i],d[s]||(a[s]=e[s],d[s]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,a))&&e!==Object.prototype);return a}function jg(e,a,r){e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=a.length;var c=e.indexOf(a,r);return c!==-1&&c===r}function Xg(e){if(!e)return null;var a=e.length;if(Mt(a))return null;for(var r=new Array(a);a-- >0;)r[a]=e[a];return r}var Wg=function(e){return function(a){return e&&a instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),D2={isArray:Zo,isArrayBuffer:_9,isBuffer:kg,isFormData:Og,isArrayBufferView:Ag,isString:Sg,isNumber:_g,isObject:E9,isPlainObject:Jl,isUndefined:Mt,isDate:Eg,isFile:zg,isBlob:Tg,isFunction:ko,isStream:Ig,isURLSearchParams:qg,isStandardBrowserEnv:Fg,forEach:Ao,merge:vr,extend:Dg,trim:Rg,stripBOM:Ng,inherits:Bg,toFlatObject:Yg,kindOf:wo,kindOfTest:ge,endsWith:jg,toArray:Xg,isTypedArray:Wg,isFileList:Pg},Ae=D2;function Q6(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var z9=function(a,r,c){if(!r)return a;var i;if(c)i=c(r);else if(Ae.isURLSearchParams(r))i=r.toString();else{var s=[];Ae.forEach(r,function(y,V){y===null||typeof y>"u"||(Ae.isArray(y)?V=V+"[]":y=[y],Ae.forEach(y,function(x){Ae.isDate(x)?x=x.toISOString():Ae.isObject(x)&&(x=JSON.stringify(x)),s.push(Q6(V)+"="+Q6(x))}))}),i=s.join("&")}if(i){var d=a.indexOf("#");d!==-1&&(a=a.slice(0,d)),a+=(a.indexOf("?")===-1?"?":"&")+i}return a},$g=D2;function s4(){this.handlers=[]}s4.prototype.use=function(a,r,c){return this.handlers.push({fulfilled:a,rejected:r,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1};s4.prototype.eject=function(a){this.handlers[a]&&(this.handlers[a]=null)};s4.prototype.forEach=function(a){$g.forEach(this.handlers,function(c){c!==null&&a(c)})};var Gg=s4,Ug=D2,Qg=function(a,r){Ug.forEach(a,function(i,s){s!==r&&s.toUpperCase()===r.toUpperCase()&&(a[r]=i,delete a[s])})},T9=D2;function $e(e,a,r,c,i){Error.call(this),this.message=e,this.name="AxiosError",a&&(this.code=a),r&&(this.config=r),c&&(this.request=c),i&&(this.response=i)}T9.inherits($e,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var P9=$e.prototype,I9={};["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"].forEach(function(e){I9[e]={value:e}});Object.defineProperties($e,I9);Object.defineProperty(P9,"isAxiosError",{value:!0});$e.from=function(e,a,r,c,i,s){var d=Object.create(P9);return T9.toFlatObject(e,d,function(y){return y!==Error.prototype}),$e.call(d,e.message,a,r,c,i),d.name=e.name,s&&Object.assign(d,s),d};var c3=$e,O9={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},x0=D2;function Kg(e,a){a=a||new FormData;var r=[];function c(s){return s===null?"":x0.isDate(s)?s.toISOString():x0.isArrayBuffer(s)||x0.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function i(s,d){if(x0.isPlainObject(s)||x0.isArray(s)){if(r.indexOf(s)!==-1)throw Error("Circular reference detected in "+d);r.push(s),x0.forEach(s,function(y,V){if(!x0.isUndefined(y)){var C=d?d+"."+V:V,x;if(y&&!d&&typeof y=="object"){if(x0.endsWith(V,"{}"))y=JSON.stringify(y);else if(x0.endsWith(V,"[]")&&(x=x0.toArray(y))){x.forEach(function(w){!x0.isUndefined(w)&&a.append(C,c(w))});return}}i(y,C)}}),r.pop()}else a.append(d,c(s))}return i(e),a}var q9=Kg,j4,K6;function Jg(){if(K6)return j4;K6=1;var e=c3;return j4=function(r,c,i){var s=i.config.validateStatus;!i.status||!s||s(i.status)?r(i):c(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},j4}var X4,J6;function eH(){if(J6)return X4;J6=1;var e=D2;return X4=e.isStandardBrowserEnv()?function(){return{write:function(c,i,s,d,p,y){var V=[];V.push(c+"="+encodeURIComponent(i)),e.isNumber(s)&&V.push("expires="+new Date(s).toGMTString()),e.isString(d)&&V.push("path="+d),e.isString(p)&&V.push("domain="+p),y===!0&&V.push("secure"),document.cookie=V.join("; ")},read:function(c){var i=document.cookie.match(new RegExp("(^|;\\s*)("+c+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(c){this.write(c,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),X4}var lH=function(a){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a)},tH=function(a,r){return r?a.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):a},aH=lH,rH=tH,R9=function(a,r){return a&&!aH(r)?rH(a,r):r},W4,en;function oH(){if(en)return W4;en=1;var e=D2,a=["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"];return W4=function(c){var i={},s,d,p;return c&&e.forEach(c.split(`
+`),function(V){if(p=V.indexOf(":"),s=e.trim(V.substr(0,p)).toLowerCase(),d=e.trim(V.substr(p+1)),s){if(i[s]&&a.indexOf(s)>=0)return;s==="set-cookie"?i[s]=(i[s]?i[s]:[]).concat([d]):i[s]=i[s]?i[s]+", "+d:d}}),i},W4}var $4,ln;function cH(){if(ln)return $4;ln=1;var e=D2;return $4=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),c=document.createElement("a"),i;function s(d){var p=d;return r&&(c.setAttribute("href",p),p=c.href),c.setAttribute("href",p),{href:c.href,protocol:c.protocol?c.protocol.replace(/:$/,""):"",host:c.host,search:c.search?c.search.replace(/^\?/,""):"",hash:c.hash?c.hash.replace(/^#/,""):"",hostname:c.hostname,port:c.port,pathname:c.pathname.charAt(0)==="/"?c.pathname:"/"+c.pathname}}return i=s(window.location.href),function(p){var y=e.isString(p)?s(p):p;return y.protocol===i.protocol&&y.host===i.host}}():function(){return function(){return!0}}(),$4}var G4,tn;function v4(){if(tn)return G4;tn=1;var e=c3,a=D2;function r(c){e.call(this,c==null?"canceled":c,e.ERR_CANCELED),this.name="CanceledError"}return a.inherits(r,e,{__CANCEL__:!0}),G4=r,G4}var U4,an;function nH(){return an||(an=1,U4=function(a){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a);return r&&r[1]||""}),U4}var Q4,rn;function on(){if(rn)return Q4;rn=1;var e=D2,a=Jg(),r=eH(),c=z9,i=R9,s=oH(),d=cH(),p=O9,y=c3,V=v4(),C=nH();return Q4=function(w){return new Promise(function(P,R){var _=w.data,E=w.headers,A=w.responseType,S;function Y(){w.cancelToken&&w.cancelToken.unsubscribe(S),w.signal&&w.signal.removeEventListener("abort",S)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete E["Content-Type"];var W=new XMLHttpRequest;if(w.auth){var j=w.auth.username||"",Q=w.auth.password?unescape(encodeURIComponent(w.auth.password)):"";E.Authorization="Basic "+btoa(j+":"+Q)}var G=i(w.baseURL,w.url);W.open(w.method.toUpperCase(),c(G,w.params,w.paramsSerializer),!0),W.timeout=w.timeout;function e1(){if(!!W){var a1="getAllResponseHeaders"in W?s(W.getAllResponseHeaders()):null,c1=!A||A==="text"||A==="json"?W.responseText:W.response,o1={data:c1,status:W.status,statusText:W.statusText,headers:a1,config:w,request:W};a(function(w1){P(w1),Y()},function(w1){R(w1),Y()},o1),W=null}}if("onloadend"in W?W.onloadend=e1:W.onreadystatechange=function(){!W||W.readyState!==4||W.status===0&&!(W.responseURL&&W.responseURL.indexOf("file:")===0)||setTimeout(e1)},W.onabort=function(){!W||(R(new y("Request aborted",y.ECONNABORTED,w,W)),W=null)},W.onerror=function(){R(new y("Network Error",y.ERR_NETWORK,w,W,W)),W=null},W.ontimeout=function(){var c1=w.timeout?"timeout of "+w.timeout+"ms exceeded":"timeout exceeded",o1=w.transitional||p;w.timeoutErrorMessage&&(c1=w.timeoutErrorMessage),R(new y(c1,o1.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,w,W)),W=null},e.isStandardBrowserEnv()){var t1=(w.withCredentials||d(G))&&w.xsrfCookieName?r.read(w.xsrfCookieName):void 0;t1&&(E[w.xsrfHeaderName]=t1)}"setRequestHeader"in W&&e.forEach(E,function(c1,o1){typeof _>"u"&&o1.toLowerCase()==="content-type"?delete E[o1]:W.setRequestHeader(o1,c1)}),e.isUndefined(w.withCredentials)||(W.withCredentials=!!w.withCredentials),A&&A!=="json"&&(W.responseType=w.responseType),typeof w.onDownloadProgress=="function"&&W.addEventListener("progress",w.onDownloadProgress),typeof w.onUploadProgress=="function"&&W.upload&&W.upload.addEventListener("progress",w.onUploadProgress),(w.cancelToken||w.signal)&&(S=function(a1){!W||(R(!a1||a1&&a1.type?new V:a1),W.abort(),W=null)},w.cancelToken&&w.cancelToken.subscribe(S),w.signal&&(w.signal.aborted?S():w.signal.addEventListener("abort",S))),_||(_=null);var v1=C(G);if(v1&&["http","https","file"].indexOf(v1)===-1){R(new y("Unsupported protocol "+v1+":",y.ERR_BAD_REQUEST,w));return}W.send(_)})},Q4}var K4,cn;function iH(){return cn||(cn=1,K4=null),K4}var T2=D2,nn=Qg,hn=c3,hH=O9,sH=q9,vH={"Content-Type":"application/x-www-form-urlencoded"};function sn(e,a){!T2.isUndefined(e)&&T2.isUndefined(e["Content-Type"])&&(e["Content-Type"]=a)}function uH(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=on()),e}function dH(e,a,r){if(T2.isString(e))try{return(a||JSON.parse)(e),T2.trim(e)}catch(c){if(c.name!=="SyntaxError")throw c}return(r||JSON.stringify)(e)}var u4={transitional:hH,adapter:uH(),transformRequest:[function(a,r){if(nn(r,"Accept"),nn(r,"Content-Type"),T2.isFormData(a)||T2.isArrayBuffer(a)||T2.isBuffer(a)||T2.isStream(a)||T2.isFile(a)||T2.isBlob(a))return a;if(T2.isArrayBufferView(a))return a.buffer;if(T2.isURLSearchParams(a))return sn(r,"application/x-www-form-urlencoded;charset=utf-8"),a.toString();var c=T2.isObject(a),i=r&&r["Content-Type"],s;if((s=T2.isFileList(a))||c&&i==="multipart/form-data"){var d=this.env&&this.env.FormData;return sH(s?{"files[]":a}:a,d&&new d)}else if(c||i==="application/json")return sn(r,"application/json"),dH(a);return a}],transformResponse:[function(a){var r=this.transitional||u4.transitional,c=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,s=!c&&this.responseType==="json";if(s||i&&T2.isString(a)&&a.length)try{return JSON.parse(a)}catch(d){if(s)throw d.name==="SyntaxError"?hn.from(d,hn.ERR_BAD_RESPONSE,this,null,this.response):d}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:iH()},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};T2.forEach(["delete","get","head"],function(a){u4.headers[a]={}});T2.forEach(["post","put","patch"],function(a){u4.headers[a]=T2.merge(vH)});var So=u4,mH=D2,pH=So,fH=function(a,r,c){var i=this||pH;return mH.forEach(c,function(d){a=d.call(i,a,r)}),a},J4,vn;function F9(){return vn||(vn=1,J4=function(a){return!!(a&&a.__CANCEL__)}),J4}var un=D2,ea=fH,bH=F9(),yH=So,gH=v4();function la(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gH}var HH=function(a){la(a),a.headers=a.headers||{},a.data=ea.call(a,a.data,a.headers,a.transformRequest),a.headers=un.merge(a.headers.common||{},a.headers[a.method]||{},a.headers),un.forEach(["delete","get","head","post","put","patch","common"],function(i){delete a.headers[i]});var r=a.adapter||yH.adapter;return r(a).then(function(i){return la(a),i.data=ea.call(a,i.data,i.headers,a.transformResponse),i},function(i){return bH(i)||(la(a),i&&i.response&&(i.response.data=ea.call(a,i.response.data,i.response.headers,a.transformResponse))),Promise.reject(i)})},i0=D2,D9=function(a,r){r=r||{};var c={};function i(C,x){return i0.isPlainObject(C)&&i0.isPlainObject(x)?i0.merge(C,x):i0.isPlainObject(x)?i0.merge({},x):i0.isArray(x)?x.slice():x}function s(C){if(i0.isUndefined(r[C])){if(!i0.isUndefined(a[C]))return i(void 0,a[C])}else return i(a[C],r[C])}function d(C){if(!i0.isUndefined(r[C]))return i(void 0,r[C])}function p(C){if(i0.isUndefined(r[C])){if(!i0.isUndefined(a[C]))return i(void 0,a[C])}else return i(void 0,r[C])}function y(C){if(C in r)return i(a[C],r[C]);if(C in a)return i(void 0,a[C])}var V={url:d,method:d,data:d,baseURL:p,transformRequest:p,transformResponse:p,paramsSerializer:p,timeout:p,timeoutMessage:p,withCredentials:p,adapter:p,responseType:p,xsrfCookieName:p,xsrfHeaderName:p,onUploadProgress:p,onDownloadProgress:p,decompress:p,maxContentLength:p,maxBodyLength:p,beforeRedirect:p,transport:p,httpAgent:p,httpsAgent:p,cancelToken:p,socketPath:p,responseEncoding:p,validateStatus:y};return i0.forEach(Object.keys(a).concat(Object.keys(r)),function(x){var w=V[x]||s,k=w(x);i0.isUndefined(k)&&w!==y||(c[x]=k)}),c},ta,dn;function N9(){return dn||(dn=1,ta={version:"0.27.2"}),ta}var VH=N9().version,M5=c3,_o={};["object","boolean","number","function","string","symbol"].forEach(function(e,a){_o[e]=function(c){return typeof c===e||"a"+(a<1?"n ":" ")+e}});var mn={};_o.transitional=function(a,r,c){function i(s,d){return"[Axios v"+VH+"] Transitional option '"+s+"'"+d+(c?". "+c:"")}return function(s,d,p){if(a===!1)throw new M5(i(d," has been removed"+(r?" in "+r:"")),M5.ERR_DEPRECATED);return r&&!mn[d]&&(mn[d]=!0,console.warn(i(d," has been deprecated since v"+r+" and will be removed in the near future"))),a?a(s,d,p):!0}};function MH(e,a,r){if(typeof e!="object")throw new M5("options must be an object",M5.ERR_BAD_OPTION_VALUE);for(var c=Object.keys(e),i=c.length;i-- >0;){var s=c[i],d=a[s];if(d){var p=e[s],y=p===void 0||d(p,s,e);if(y!==!0)throw new M5("option "+s+" must be "+y,M5.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new M5("Unknown option "+s,M5.ERR_BAD_OPTION)}}var CH={assertOptions:MH,validators:_o},B9=D2,LH=z9,pn=Gg,fn=HH,d4=D9,xH=R9,Y9=CH,Se=Y9.validators;function Ge(e){this.defaults=e,this.interceptors={request:new pn,response:new pn}}Ge.prototype.request=function(a,r){typeof a=="string"?(r=r||{},r.url=a):r=a||{},r=d4(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var c=r.transitional;c!==void 0&&Y9.assertOptions(c,{silentJSONParsing:Se.transitional(Se.boolean),forcedJSONParsing:Se.transitional(Se.boolean),clarifyTimeoutError:Se.transitional(Se.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(r)===!1||(s=s&&k.synchronous,i.unshift(k.fulfilled,k.rejected))});var d=[];this.interceptors.response.forEach(function(k){d.push(k.fulfilled,k.rejected)});var p;if(!s){var y=[fn,void 0];for(Array.prototype.unshift.apply(y,i),y=y.concat(d),p=Promise.resolve(r);y.length;)p=p.then(y.shift(),y.shift());return p}for(var V=r;i.length;){var C=i.shift(),x=i.shift();try{V=C(V)}catch(w){x(w);break}}try{p=fn(V)}catch(w){return Promise.reject(w)}for(;d.length;)p=p.then(d.shift(),d.shift());return p};Ge.prototype.getUri=function(a){a=d4(this.defaults,a);var r=xH(a.baseURL,a.url);return LH(r,a.params,a.paramsSerializer)};B9.forEach(["delete","get","head","options"],function(a){Ge.prototype[a]=function(r,c){return this.request(d4(c||{},{method:a,url:r,data:(c||{}).data}))}});B9.forEach(["post","put","patch"],function(a){function r(c){return function(s,d,p){return this.request(d4(p||{},{method:a,headers:c?{"Content-Type":"multipart/form-data"}:{},url:s,data:d}))}}Ge.prototype[a]=r(),Ge.prototype[a+"Form"]=r(!0)});var wH=Ge,aa,bn;function ZH(){if(bn)return aa;bn=1;var e=v4();function a(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var c;this.promise=new Promise(function(d){c=d});var i=this;this.promise.then(function(s){if(!!i._listeners){var d,p=i._listeners.length;for(d=0;d{var c;return q("div",{class:["v-card-actions",e.class],style:e.style},[(c=r.default)==null?void 0:c.call(r)])}),{}}}),dr=t3("v-card-subtitle"),le=t3("v-card-title"),zH=H1({appendAvatar:String,appendIcon:u2,prependAvatar:String,prependIcon:u2,subtitle:String,title:String,...X1(),...T0()},"VCardItem"),bl=z1()({name:"VCardItem",props:zH(),setup(e,a){let{slots:r}=a;return N1(()=>{var V;const c=!!(e.prependAvatar||e.prependIcon),i=!!(c||r.prepend),s=!!(e.appendAvatar||e.appendIcon),d=!!(s||r.append),p=!!(e.title||r.title),y=!!(e.subtitle||r.subtitle);return q("div",{class:["v-card-item",e.class],style:e.style},[i&&q("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?q(E2,{key:"prepend-defaults",disabled:!c,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},r.prepend):c&&q(M0,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),q("div",{class:"v-card-item__content"},[p&&q(le,{key:"title"},{default:()=>{var C,x;return[(x=(C=r.title)==null?void 0:C.call(r))!=null?x:e.title]}}),y&&q(dr,{key:"subtitle"},{default:()=>{var C,x;return[(x=(C=r.subtitle)==null?void 0:C.call(r))!=null?x:e.subtitle]}}),(V=r.default)==null?void 0:V.call(r)]),d&&q("div",{key:"append",class:"v-card-item__append"},[r.append?q(E2,{key:"append-defaults",disabled:!s,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},r.append):s&&q(M0,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),o5=t3("v-card-text"),TH=H1({appendAvatar:String,appendIcon:u2,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:u2,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...v5(),...X1(),...T0(),...fe(),...L0(),...po(),...vl(),...vo(),...F2(),...l4(),...d2(),...M2(),...s5({variant:"elevated"})},"VCard"),x5=z1()({name:"VCard",directives:{Ripple:pl},props:TH(),setup(e,a){let{attrs:r,slots:c}=a;const{themeClasses:i}=k2(e),{borderClasses:s}=u5(e),{colorClasses:d,colorStyles:p,variantClasses:y}=r3(e),{densityClasses:V}=U0(e),{dimensionStyles:C}=be(e),{elevationClasses:x}=z0(e),{loaderClasses:w}=fo(e),{locationStyles:k}=ul(e),{positionClasses:P}=uo(e),{roundedClasses:R}=X2(e),_=e4(e,r),E=U(()=>e.link!==!1&&_.isLink.value),A=U(()=>!e.disabled&&e.link!==!1&&(e.link||_.isClickable.value));return N1(()=>{const S=E.value?"a":e.tag,Y=!!(c.title||e.title),W=!!(c.subtitle||e.subtitle),j=Y||W,Q=!!(c.append||e.appendAvatar||e.appendIcon),G=!!(c.prepend||e.prependAvatar||e.prependIcon),e1=!!(c.image||e.image),t1=j||G||Q,v1=!!(c.text||e.text);return P2(q(S,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":A.value},i.value,s.value,d.value,V.value,x.value,w.value,P.value,R.value,y.value,e.class],style:[p.value,C.value,k.value,e.style],href:_.href.value,onClick:A.value&&_.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var a1;return[e1&&q("div",{key:"image",class:"v-card__image"},[c.image?q(E2,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},c.image):q(Y0,{key:"image-img",cover:!0,src:e.image},null)]),q(I8,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:c.loader}),t1&&q(bl,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:c.item,prepend:c.prepend,title:c.title,subtitle:c.subtitle,append:c.append}),v1&&q(o5,{key:"text"},{default:()=>{var c1,o1;return[(o1=(c1=c.text)==null?void 0:c1.call(c))!=null?o1:e.text]}}),(a1=c.default)==null?void 0:a1.call(c),c.actions&&q(ur,null,{default:c.actions}),a3(A.value,"v-card")]}}),[[$0("ripple"),A.value&&e.ripple]])}),{}}}),PH={class:"text-2xl font-weight-medium text-primary"},IH={__name:"AnalyticsAward",setup(e){const a=Ut(),r=U(()=>a.global.name.value==="light"?xg:Lg),c=I5();return c.getters.runmode==="online"&&c.getters.serverApi!==""&&E3.post(`${c.getters.serverApi}verify`,{token:c.getters.userToken}).then(i=>{var s,d;(s=i.data)!=null&&s.verify||(c.dispatch("user/logout"),c.commit("app/ADD_SNACKBAR",{message:"\u5F53\u524D\u8D26\u53F7\u9A8C\u8BC1\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\uFF01",color:"warning"})),c.commit("app/SET_SERVERVERSION",((d=i.data)==null?void 0:d.version)||0)}).catch(i=>{c.commit("app/SET_RUNMODE","offline"),c.commit("app/ADD_SNACKBAR",{message:`\u670D\u52A1\u5668\u8FDE\u63A5\u9519\u8BEF\uFF0C\u5DF2\u8F6C\u5165\u79BB\u7EBF\u6A21\u5F0F\uFF0C\u8BF7\u68C0\u67E5\u63D2\u4EF6\u662F\u5426\u6B63\u5E38\u8FD0\u884C\u4E14\u4E3A\u6700\u65B0\u7248\u672C\uFF01
+${i.message}`,color:"error"}),console.log(i)}),(i,s)=>(j1(),c2(x5,{title:"ChatGPT \u63D2\u4EF6\u670D\u52A1\u5668",subtitle:"\u53EF\u8FDC\u7A0B\u8FDE\u63A5\u5230chatgpt-plugin\u8FDB\u884C\u76F8\u5173\u914D\u7F6E\u64CD\u4F5C",class:"position-relative"},{default:i1(()=>[q(o5,null,{default:i1(()=>[v2("h5",PH,t2(i.$store.state.app.mode==="online"&&i.$store.state.app.api?"\u8FDE\u63A5\u6B63\u5E38":"\u79BB\u7EBF\u6A21\u5F0F"),1),v2("p",null,t2(i.$store.state.app.api||"\u672A\u77E5\u533A\u57DF"),1),q(d0,{size:"small",onClick:s[0]||(s[0]=d=>i.$router.push({path:"login"}))},{default:i1(()=>[o2(t2(i.$store.state.app.mode==="online"&&i.$store.state.app.api?"\u65AD\u5F00\u8FDE\u63A5":"\u8FDE\u63A5\u533A\u57DF"),1)]),_:1})]),_:1}),q(Y0,{src:U1(r),class:"triangle-bg flip-in-rtl"},null,8,["src"]),q(Y0,{src:U1(wg),class:"trophy"},null,8,["src"])]),_:1}))}};var OH={exports:{}};const qH=qb(Zu);var ql={exports:{}};/*!
* ApexCharts v3.28.3
* (c) 2018-2022 ApexCharts
* Released under the MIT License.
- */var Hn;function RH(){return Hn||(Hn=1,function(e,a){function r(F,l){var t=Object.keys(F);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(F);l&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(F,n).enumerable})),t.push.apply(t,o)}return t}function c(F){for(var l=1;l"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,o=C(F);if(l){var n=C(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return w(this,t)}}function P(F){return function(l){if(Array.isArray(l))return R(l)}(F)||function(l){if(typeof Symbol<"u"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}(F)||function(l,t){if(!!l){if(typeof l=="string")return R(l,t);var o=Object.prototype.toString.call(l).slice(8,-1);if(o==="Object"&&l.constructor&&(o=l.constructor.name),o==="Map"||o==="Set")return Array.from(l);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return R(l,t)}}(F)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function R(F,l){(l==null||l>F.length)&&(l=F.length);for(var t=0,o=new Array(l);t>16,v=o>>8&255,m=255&o;return"#"+(16777216+65536*(Math.round((n-u)*h)+u)+256*(Math.round((n-v)*h)+v)+(Math.round((n-m)*h)+m)).toString(16).slice(1)}},{key:"shadeColor",value:function(l,t){return F.isColorHex(t)?this.shadeHexColor(l,t):this.shadeRGBColor(l,t)}}],[{key:"bind",value:function(l,t){return function(){return l.apply(t,arguments)}}},{key:"isObject",value:function(l){return l&&i(l)==="object"&&!Array.isArray(l)&&l!=null}},{key:"listToArray",value:function(l){var t,o=[];for(t=0;th.length?n:h})),t.length>o.length?t:o},0)}},{key:"hexToRgba",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;l.substring(0,1)!=="#"&&(l="#999999");var o=l.replace("#","");o=o.match(new RegExp("(.{"+o.length/3+"})","g"));for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:"x",o=l.toString().slice();return o=o.replace(/[` ~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(l){return l<0?0:l}},{key:"moveIndexInArray",value:function(l,t,o){if(o>=l.length)for(var n=o-l.length+1;n--;)l.push(void 0);return l.splice(o,0,l.splice(t,1)[0]),l}},{key:"extractNumber",value:function(l){return parseFloat(l.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(l,t){for(;(l=l.parentElement)&&!l.classList.contains(t););return l}},{key:"setELstyles",value:function(l,t){for(var o in t)t.hasOwnProperty(o)&&(l.style.key=t[o])}},{key:"isNumber",value:function(l){return!isNaN(l)&&parseFloat(Number(l))===l&&!isNaN(parseInt(l,10))}},{key:"isFloat",value:function(l){return Number(l)===l&&l%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(window.navigator.userAgent.indexOf("MSIE")!==-1||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var l=window.navigator.userAgent,t=l.indexOf("MSIE ");if(t>0)return parseInt(l.substring(t+5,l.indexOf(".",t)),10);if(l.indexOf("Trident/")>0){var o=l.indexOf("rv:");return parseInt(l.substring(o+3,l.indexOf(".",o)),10)}var n=l.indexOf("Edge/");return n>0&&parseInt(l.substring(n+5,l.indexOf(".",n)),10)}}]),F}(),E=function(){function F(l){s(this,F),this.ctx=l,this.w=l.w,this.setEasingFunctions()}return p(F,[{key:"setEasingFunctions",value:function(){var l;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":l="-";break;case"easein":l="<";break;case"easeout":l=">";break;case"easeinout":l="<>";break;case"swing":l=function(t){var o=1.70158;return(t-=1)*t*((o+1)*t+o)+1};break;case"bounce":l=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375};break;case"elastic":l=function(t){return t===!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1};break;default:l="<>"}this.w.globals.easing=l}}},{key:"animateLine",value:function(l,t,o,n){l.attr(t).animate(n).attr(o)}},{key:"animateMarker",value:function(l,t,o,n,h,u){t||(t=0),l.attr({r:t,width:t,height:t}).animate(n,h).attr({r:o,width:o.width,height:o.height}).afterAll(function(){u()})}},{key:"animateCircle",value:function(l,t,o,n,h){l.attr({r:t.r,cx:t.cx,cy:t.cy}).animate(n,h).attr({r:o.r,cx:o.cx,cy:o.cy})}},{key:"animateRect",value:function(l,t,o,n,h){l.attr(t).animate(n).attr(o).afterAll(function(){return h()})}},{key:"animatePathsGradually",value:function(l){var t=l.el,o=l.realIndex,n=l.j,h=l.fill,u=l.pathFrom,v=l.pathTo,m=l.speed,b=l.delay,g=this.w,H=0;g.config.chart.animations.animateGradually.enabled&&(H=g.config.chart.animations.animateGradually.delay),g.config.chart.animations.dynamicAnimation.enabled&&g.globals.dataChanged&&g.config.chart.type!=="bar"&&(H=0),this.morphSVG(t,o,n,g.config.chart.type!=="line"||g.globals.comboCharts?h:"stroke",u,v,m,b*H)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach(function(l){l.el.classList.remove("apexcharts-element-hidden")})}},{key:"animationCompleted",value:function(l){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),typeof t.config.chart.events.animationEnd=="function"&&t.config.chart.events.animationEnd(this.ctx,{el:l,w:t}))}},{key:"morphSVG",value:function(l,t,o,n,h,u,v,m){var b=this,g=this.w;h||(h=l.attr("pathFrom")),u||(u=l.attr("pathTo"));var H=function(M){return g.config.chart.type==="radar"&&(v=1),"M 0 ".concat(g.globals.gridHeight)};(!h||h.indexOf("undefined")>-1||h.indexOf("NaN")>-1)&&(h=H()),(!u||u.indexOf("undefined")>-1||u.indexOf("NaN")>-1)&&(u=H()),g.globals.shouldAnimate||(v=1),l.plot(h).animate(1,g.globals.easing,m).plot(h).animate(v,g.globals.easing,m).plot(u).afterAll(function(){_.isNumber(o)?o===g.globals.series[g.globals.maxValsInArrayIndex].length-2&&g.globals.shouldAnimate&&b.animationCompleted(l):n!=="none"&&g.globals.shouldAnimate&&(!g.globals.comboCharts&&t===g.globals.series.length-1||g.globals.comboCharts)&&b.animationCompleted(l),b.showDelayedElements()})}}]),F}(),A=function(){function F(l){s(this,F),this.ctx=l,this.w=l.w}return p(F,[{key:"getDefaultFilter",value:function(l,t){var o=this.w;l.unfilter(!0),new window.SVG.Filter().size("120%","180%","-5%","-40%"),o.config.states.normal.filter!=="none"?this.applyFilter(l,t,o.config.states.normal.filter.type,o.config.states.normal.filter.value):o.config.chart.dropShadow.enabled&&this.dropShadow(l,o.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(l,t){var o=this.w;o.config.chart.dropShadow.enabled&&!l.node.classList.contains("apexcharts-marker")&&this.dropShadow(l,o.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(l,t,o){var n=this,h=this.w,u=o.intensity;l.unfilter(!0),new window.SVG.Filter,l.filter(function(v){var m=h.config.chart.dropShadow;(m.enabled?n.addShadow(v,t,m):v).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:u}})}),l.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(l.filterer.node)}},{key:"addDarkenFilter",value:function(l,t,o){var n=this,h=this.w,u=o.intensity;l.unfilter(!0),new window.SVG.Filter,l.filter(function(v){var m=h.config.chart.dropShadow;(m.enabled?n.addShadow(v,t,m):v).componentTransfer({rgb:{type:"linear",slope:u}})}),l.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(l.filterer.node)}},{key:"applyFilter",value:function(l,t,o){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5;switch(o){case"none":this.addNormalFilter(l,t);break;case"lighten":this.addLightenFilter(l,t,{intensity:n});break;case"darken":this.addDarkenFilter(l,t,{intensity:n})}}},{key:"addShadow",value:function(l,t,o){var n=o.blur,h=o.top,u=o.left,v=o.color,m=o.opacity,b=l.flood(Array.isArray(v)?v[t]:v,m).composite(l.sourceAlpha,"in").offset(u,h).gaussianBlur(n).merge(l.source);return l.blend(l.source,b)}},{key:"dropShadow",value:function(l,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=t.top,h=t.left,u=t.blur,v=t.color,m=t.opacity,b=t.noUserSpaceOnUse,g=this.w;return l.unfilter(!0),_.isIE()&&g.config.chart.type==="radialBar"||(v=Array.isArray(v)?v[o]:v,l.filter(function(H){var M=null;M=_.isSafari()||_.isFirefox()||_.isIE()?H.flood(v,m).composite(H.sourceAlpha,"in").offset(h,n).gaussianBlur(u):H.flood(v,m).composite(H.sourceAlpha,"in").offset(h,n).gaussianBlur(u).merge(H.source),H.blend(H.source,M)}),b||l.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(l.filterer.node)),l}},{key:"setSelectionFilter",value:function(l,t,o){var n=this.w;if(n.globals.selectedDataPoints[t]!==void 0&&n.globals.selectedDataPoints[t].indexOf(o)>-1){l.node.setAttribute("selected",!0);var h=n.config.states.active.filter;h!=="none"&&this.applyFilter(l,t,h.type,h.value)}}},{key:"_scaleFilterSize",value:function(l){(function(t){for(var o in t)t.hasOwnProperty(o)&&l.setAttribute(o,t[o])})({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),F}(),S=function(){function F(l){s(this,F),this.ctx=l,this.w=l.w}return p(F,[{key:"drawLine",value:function(l,t,o,n){var h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#a8a8a8",u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,v=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,m=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"butt",b=this.w,g=b.globals.dom.Paper.line().attr({x1:l,y1:t,x2:o,y2:n,stroke:h,"stroke-dasharray":u,"stroke-width":v,"stroke-linecap":m});return g}},{key:"drawRect",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#fefefe",v=arguments.length>6&&arguments[6]!==void 0?arguments[6]:1,m=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,b=arguments.length>8&&arguments[8]!==void 0?arguments[8]:null,g=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0,H=this.w,M=H.globals.dom.Paper.rect();return M.attr({x:l,y:t,width:o>0?o:0,height:n>0?n:0,rx:h,ry:h,opacity:v,"stroke-width":m!==null?m:0,stroke:b!==null?b:"none","stroke-dasharray":g}),M.node.setAttribute("fill",u),M}},{key:"drawPolygon",value:function(l){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#e1e1e1",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none",h=this.w,u=h.globals.dom.Paper.polygon(l).attr({fill:n,stroke:t,"stroke-width":o});return u}},{key:"drawCircle",value:function(l){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=this.w;l<0&&(l=0);var n=o.globals.dom.Paper.circle(2*l);return t!==null&&n.attr(t),n}},{key:"drawPath",value:function(l){var t=l.d,o=t===void 0?"":t,n=l.stroke,h=n===void 0?"#a8a8a8":n,u=l.strokeWidth,v=u===void 0?1:u,m=l.fill,b=l.fillOpacity,g=b===void 0?1:b,H=l.strokeOpacity,M=H===void 0?1:H,Z=l.classes,z=l.strokeLinecap,T=z===void 0?null:z,I=l.strokeDashArray,D=I===void 0?0:I,B=this.w;return T===null&&(T=B.config.stroke.lineCap),(o.indexOf("undefined")>-1||o.indexOf("NaN")>-1)&&(o="M 0 ".concat(B.globals.gridHeight)),B.globals.dom.Paper.path(o).attr({fill:m,"fill-opacity":g,stroke:h,"stroke-opacity":M,"stroke-linecap":T,"stroke-width":v,"stroke-dasharray":D,class:Z})}},{key:"group",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w,o=t.globals.dom.Paper.group();return l!==null&&o.attr(l),o}},{key:"move",value:function(l,t){var o=["M",l,t].join(" ");return o}},{key:"line",value:function(l,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,n=null;return o===null?n=["L",l,t].join(" "):o==="H"?n=["H",l].join(" "):o==="V"&&(n=["V",t].join(" ")),n}},{key:"curve",value:function(l,t,o,n,h,u){var v=["C",l,t,o,n,h,u].join(" ");return v}},{key:"quadraticCurve",value:function(l,t,o,n){return["Q",l,t,o,n].join(" ")}},{key:"arc",value:function(l,t,o,n,h,u,v){var m=arguments.length>7&&arguments[7]!==void 0&&arguments[7],b="A";m&&(b="a");var g=[b,l,t,o,n,h,u,v].join(" ");return g}},{key:"renderPaths",value:function(l){var t,o=l.j,n=l.realIndex,h=l.pathFrom,u=l.pathTo,v=l.stroke,m=l.strokeWidth,b=l.strokeLinecap,g=l.fill,H=l.animationDelay,M=l.initialSpeed,Z=l.dataChangeSpeed,z=l.className,T=l.shouldClipToGrid,I=T===void 0||T,D=l.bindEventsOnPaths,B=D===void 0||D,X=l.drawShadow,f=X===void 0||X,L=this.w,O=new A(this.ctx),N=new E(this.ctx),K=this.w.config.chart.animations.enabled,n1=K&&this.w.config.chart.animations.dynamicAnimation.enabled,l1=!!(K&&!L.globals.resized||n1&&L.globals.dataChanged&&L.globals.shouldAnimate);l1?t=h:(t=u,L.globals.animationEnded=!0);var b1=L.config.stroke.dashArray,m1=0;m1=Array.isArray(b1)?b1[n]:L.config.stroke.dashArray;var C1=this.drawPath({d:t,stroke:v,strokeWidth:m,fill:g,fillOpacity:1,classes:z,strokeLinecap:b,strokeDashArray:m1});if(C1.attr("index",n),I&&C1.attr({"clip-path":"url(#gridRectMask".concat(L.globals.cuid,")")}),L.config.states.normal.filter.type!=="none")O.getDefaultFilter(C1,n);else if(L.config.chart.dropShadow.enabled&&f&&(!L.config.chart.dropShadow.enabledOnSeries||L.config.chart.dropShadow.enabledOnSeries&&L.config.chart.dropShadow.enabledOnSeries.indexOf(n)!==-1)){var F1=L.config.chart.dropShadow;O.dropShadow(C1,F1,n)}B&&(C1.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,C1)),C1.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,C1)),C1.node.addEventListener("mousedown",this.pathMouseDown.bind(this,C1))),C1.attr({pathTo:u,pathFrom:h});var g2={el:C1,j:o,realIndex:n,pathFrom:h,pathTo:u,fill:g,strokeWidth:m,delay:H};return!K||L.globals.resized||L.globals.dataChanged?!L.globals.resized&&L.globals.dataChanged||N.showDelayedElements():N.animatePathsGradually(c(c({},g2),{},{speed:M})),L.globals.dataChanged&&n1&&l1&&N.animatePathsGradually(c(c({},g2),{},{speed:Z})),C1}},{key:"drawPattern",value:function(l,t,o){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#a8a8a8",h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,u=this.w,v=u.globals.dom.Paper.pattern(t,o,function(m){l==="horizontalLines"?m.line(0,0,o,0).stroke({color:n,width:h+1}):l==="verticalLines"?m.line(0,0,0,t).stroke({color:n,width:h+1}):l==="slantedLines"?m.line(0,0,t,o).stroke({color:n,width:h}):l==="squares"?m.rect(t,o).fill("none").stroke({color:n,width:h}):l==="circles"&&m.circle(t).fill("none").stroke({color:n,width:h})});return v}},{key:"drawGradient",value:function(l,t,o,n,h){var u,v=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,m=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,b=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,g=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,H=this.w;t.length<9&&t.indexOf("#")===0&&(t=_.hexToRgba(t,n)),o.length<9&&o.indexOf("#")===0&&(o=_.hexToRgba(o,h));var M=0,Z=1,z=1,T=null;m!==null&&(M=m[0]!==void 0?m[0]/100:0,Z=m[1]!==void 0?m[1]/100:1,z=m[2]!==void 0?m[2]/100:1,T=m[3]!==void 0?m[3]/100:null);var I=!(H.config.chart.type!=="donut"&&H.config.chart.type!=="pie"&&H.config.chart.type!=="polarArea"&&H.config.chart.type!=="bubble");if(u=b===null||b.length===0?H.globals.dom.Paper.gradient(I?"radial":"linear",function(X){X.at(M,t,n),X.at(Z,o,h),X.at(z,o,h),T!==null&&X.at(T,t,n)}):H.globals.dom.Paper.gradient(I?"radial":"linear",function(X){(Array.isArray(b[g])?b[g]:b).forEach(function(f){X.at(f.offset/100,f.color,f.opacity)})}),I){var D=H.globals.gridWidth/2,B=H.globals.gridHeight/2;H.config.chart.type!=="bubble"?u.attr({gradientUnits:"userSpaceOnUse",cx:D,cy:B,r:v}):u.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else l==="vertical"?u.from(0,0).to(0,1):l==="diagonal"?u.from(0,0).to(1,1):l==="horizontal"?u.from(0,1).to(1,1):l==="diagonal2"&&u.from(1,0).to(0,1);return u}},{key:"drawText",value:function(l){var t,o=l.x,n=l.y,h=l.text,u=l.textAnchor,v=l.fontSize,m=l.fontFamily,b=l.fontWeight,g=l.foreColor,H=l.opacity,M=l.cssClass,Z=M===void 0?"":M,z=l.isPlainText,T=z===void 0||z,I=this.w;return h===void 0&&(h=""),u||(u="start"),g&&g.length||(g=I.config.chart.foreColor),m=m||I.config.chart.fontFamily,b=b||"regular",(t=Array.isArray(h)?I.globals.dom.Paper.text(function(D){for(var B=0;B-1){var m=o.globals.selectedDataPoints[h].indexOf(u);o.globals.selectedDataPoints[h].splice(m,1)}}else{if(!o.config.states.active.allowMultipleDataPointsSelection&&o.globals.selectedDataPoints.length>0){o.globals.selectedDataPoints=[];var b=o.globals.dom.Paper.select(".apexcharts-series path").members,g=o.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,H=function(Z){Array.prototype.forEach.call(Z,function(z){z.node.setAttribute("selected","false"),n.getDefaultFilter(z,h)})};H(b),H(g)}l.node.setAttribute("selected","true"),v="true",o.globals.selectedDataPoints[h]===void 0&&(o.globals.selectedDataPoints[h]=[]),o.globals.selectedDataPoints[h].push(u)}if(v==="true"){var M=o.config.states.active.filter;M!=="none"&&n.applyFilter(l,h,M.type,M.value)}else o.config.states.active.filter.type!=="none"&&n.getDefaultFilter(l,h);typeof o.config.chart.events.dataPointSelection=="function"&&o.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:o.globals.selectedDataPoints,seriesIndex:h,dataPointIndex:u,w:o}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:o.globals.selectedDataPoints,seriesIndex:h,dataPointIndex:u,w:o}])}},{key:"rotateAroundCenter",value:function(l){var t=l.getBBox();return{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(l,t,o,n){var h=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],u=this.w,v=this.drawText({x:-200,y:-200,text:l,textAnchor:"start",fontSize:t,fontFamily:o,foreColor:"#fff",opacity:0});n&&v.attr("transform",n),u.globals.dom.Paper.add(v);var m=v.bbox();return h||(m=v.node.getBoundingClientRect()),v.remove(),{width:m.width,height:m.height}}},{key:"placeTextWithEllipsis",value:function(l,t,o){if(typeof l.getComputedTextLength=="function"&&(l.textContent=t,t.length>0&&l.getComputedTextLength()>=o/1.1)){for(var n=t.length-3;n>0;n-=3)if(l.getSubStringLength(0,n)<=o/1.1)return void(l.textContent=t.substring(0,n)+"...");l.textContent="."}}}],[{key:"setAttrs",value:function(l,t){for(var o in t)t.hasOwnProperty(o)&&l.setAttribute(o,t[o])}}]),F}(),Y=function(){function F(l){s(this,F),this.w=l.w,this.annoCtx=l}return p(F,[{key:"setOrientations",value:function(l){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=this.w;if(l.label.orientation==="vertical"){var n=t!==null?t:0,h=o.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(n,"']"));if(h!==null){var u=h.getBoundingClientRect();h.setAttribute("x",parseFloat(h.getAttribute("x"))-u.height+4),l.label.position==="top"?h.setAttribute("y",parseFloat(h.getAttribute("y"))+u.width):h.setAttribute("y",parseFloat(h.getAttribute("y"))-u.width);var v=this.annoCtx.graphics.rotateAroundCenter(h),m=v.x,b=v.y;h.setAttribute("transform","rotate(-90 ".concat(m," ").concat(b,")"))}}}},{key:"addBackgroundToAnno",value:function(l,t){var o=this.w;if(!l||!t.label.text||t.label.text&&!t.label.text.trim())return null;var n=o.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),h=l.getBoundingClientRect(),u=t.label.style.padding.left,v=t.label.style.padding.right,m=t.label.style.padding.top,b=t.label.style.padding.bottom;t.label.orientation==="vertical"&&(m=t.label.style.padding.left,b=t.label.style.padding.right,u=t.label.style.padding.top,v=t.label.style.padding.bottom);var g=h.left-n.left-u,H=h.top-n.top-m,M=this.annoCtx.graphics.drawRect(g-o.globals.barPadForNumericAxis,H,h.width+u+v,h.height+m+b,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&M.node.classList.add(t.id),M}},{key:"annotationsBackground",value:function(){var l=this,t=this.w,o=function(n,h,u){var v=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(u,"-annotations .apexcharts-").concat(u,"-annotation-label[rel='").concat(h,"']"));if(v){var m=v.parentNode,b=l.addBackgroundToAnno(v,n);b&&m.insertBefore(b.node,v)}};t.config.annotations.xaxis.map(function(n,h){o(n,h,"xaxis")}),t.config.annotations.yaxis.map(function(n,h){o(n,h,"yaxis")}),t.config.annotations.points.map(function(n,h){o(n,h,"point")})}},{key:"getStringX",value:function(l){var t=this.w,o=l;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(l=t.globals.categoryLabels.indexOf(l)+1);var n=t.globals.labels.indexOf(l),h=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(n+1)+")");return h&&(o=parseFloat(h.getAttribute("x"))),o}}]),F}(),W=function(){function F(l){s(this,F),this.w=l.w,this.annoCtx=l,this.invertAxis=this.annoCtx.invertAxis}return p(F,[{key:"addXaxisAnnotation",value:function(l,t,o){var n=this.w,h=this.invertAxis?n.globals.minY:n.globals.minX,u=this.invertAxis?n.globals.maxY:n.globals.maxX,v=this.invertAxis?n.globals.yRange[0]:n.globals.xRange,m=(l.x-h)/(v/n.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(m=(u-l.x)/(v/n.globals.gridWidth));var b=l.label.text;n.config.xaxis.type!=="category"&&!n.config.xaxis.convertedCatToNumeric||this.invertAxis||n.globals.dataFormatXNumeric||(m=this.annoCtx.helpers.getStringX(l.x));var g=l.strokeDashArray;if(_.isNumber(m)){if(l.x2===null||l.x2===void 0){var H=this.annoCtx.graphics.drawLine(m+l.offsetX,0+l.offsetY,m+l.offsetX,n.globals.gridHeight+l.offsetY,l.borderColor,g,l.borderWidth);t.appendChild(H.node),l.id&&H.node.classList.add(l.id)}else{var M=(l.x2-h)/(v/n.globals.gridWidth);if(this.annoCtx.inversedReversedAxis&&(M=(u-l.x2)/(v/n.globals.gridWidth)),n.config.xaxis.type!=="category"&&!n.config.xaxis.convertedCatToNumeric||this.invertAxis||n.globals.dataFormatXNumeric||(M=this.annoCtx.helpers.getStringX(l.x2)),M0&&arguments[0]!==void 0?arguments[0]:null;return l===null?this.w.config.series.reduce(function(t,o){return t+o},0):this.w.globals.series[l].reduce(function(t,o){return t+o},0)}},{key:"isSeriesNull",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(l===null?this.w.config.series.filter(function(t){return t!==null}):this.w.config.series[l].data.filter(function(t){return t!==null})).length===0}},{key:"seriesHaveSameValues",value:function(l){return this.w.globals.series[l].every(function(t,o,n){return t===n[0]})}},{key:"getCategoryLabels",value:function(l){var t=this.w,o=l.slice();return t.config.xaxis.convertedCatToNumeric&&(o=l.map(function(n,h){return t.config.xaxis.labels.formatter(n-t.globals.minX+1)})),o}},{key:"getLargestSeries",value:function(){var l=this.w;l.globals.maxValsInArrayIndex=l.globals.series.map(function(t){return t.length}).indexOf(Math.max.apply(Math,l.globals.series.map(function(t){return t.length})))}},{key:"getLargestMarkerSize",value:function(){var l=this.w,t=0;return l.globals.markers.size.forEach(function(o){t=Math.max(t,o)}),l.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var l=this.w;l.globals.seriesTotals=l.globals.series.map(function(t,o){var n=0;if(Array.isArray(t))for(var h=0;hl&&o.globals.seriesX[h][v]1&&(t=!0),{comboBarCount:o,comboCharts:t}}},{key:"extendArrayProps",value:function(l,t,o){return t.yaxis&&(t=l.extendYAxis(t,o)),t.annotations&&(t.annotations.yaxis&&(t=l.extendYAxisAnnotations(t)),t.annotations.xaxis&&(t=l.extendXAxisAnnotations(t)),t.annotations.points&&(t=l.extendPointAnnotations(t))),t}}]),F}(),Q=function(){function F(l){s(this,F),this.w=l.w,this.annoCtx=l}return p(F,[{key:"addYaxisAnnotation",value:function(l,t,o){var n,h=this.w,u=l.strokeDashArray,v=this._getY1Y2("y1",l),m=l.label.text;if(l.y2===null||l.y2===void 0){var b=this.annoCtx.graphics.drawLine(0+l.offsetX,v+l.offsetY,this._getYAxisAnnotationWidth(l),v+l.offsetY,l.borderColor,u,l.borderWidth);t.appendChild(b.node),l.id&&b.node.classList.add(l.id)}else{if((n=this._getY1Y2("y2",l))>v){var g=v;v=n,n=g}var H=this.annoCtx.graphics.drawRect(0+l.offsetX,n+l.offsetY,this._getYAxisAnnotationWidth(l),v-n,0,l.fillColor,l.opacity,1,l.borderColor,u);H.node.classList.add("apexcharts-annotation-rect"),H.attr("clip-path","url(#gridRectMask".concat(h.globals.cuid,")")),t.appendChild(H.node),l.id&&H.node.classList.add(l.id)}var M=l.label.position==="right"?h.globals.gridWidth:0,Z=this.annoCtx.graphics.drawText({x:M+l.label.offsetX,y:(n||v)+l.label.offsetY-3,text:m,textAnchor:l.label.textAnchor,fontSize:l.label.style.fontSize,fontFamily:l.label.style.fontFamily,fontWeight:l.label.style.fontWeight,foreColor:l.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(l.label.style.cssClass," ").concat(l.id?l.id:"")});Z.attr({rel:o}),t.appendChild(Z.node)}},{key:"_getY1Y2",value:function(l,t){var o,n=l==="y1"?t.y:t.y2,h=this.w;if(this.annoCtx.invertAxis){var u=h.globals.labels.indexOf(n);h.config.xaxis.convertedCatToNumeric&&(u=h.globals.categoryLabels.indexOf(n));var v=h.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(u+1)+")");v&&(o=parseFloat(v.getAttribute("y")))}else{var m;h.config.yaxis[t.yAxisIndex].logarithmic?m=(n=new j(this.annoCtx.ctx).getLogVal(n,t.yAxisIndex))/h.globals.yLogRatio[t.yAxisIndex]:m=(n-h.globals.minYArr[t.yAxisIndex])/(h.globals.yRange[t.yAxisIndex]/h.globals.gridHeight),o=h.globals.gridHeight-m,h.config.yaxis[t.yAxisIndex]&&h.config.yaxis[t.yAxisIndex].reversed&&(o=m)}return o}},{key:"_getYAxisAnnotationWidth",value:function(l){var t=this.w;return t.globals.gridWidth,(l.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(l.width,10)/100:parseInt(l.width,10))+l.offsetX}},{key:"drawYAxisAnnotations",value:function(){var l=this,t=this.w,o=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.map(function(n,h){l.addYaxisAnnotation(n,o.node,h)}),o}}]),F}(),G=function(){function F(l){s(this,F),this.w=l.w,this.annoCtx=l}return p(F,[{key:"addPointAnnotation",value:function(l,t,o){var n=this.w,h=0,u=0,v=0;this.annoCtx.invertAxis&&console.warn("Point annotation is not supported in horizontal bar charts.");var m=parseFloat(l.y);if(typeof l.x=="string"){var b=n.globals.labels.indexOf(l.x);n.config.xaxis.convertedCatToNumeric&&(b=n.globals.categoryLabels.indexOf(l.x)),h=this.annoCtx.helpers.getStringX(l.x),l.y===null&&(m=n.globals.series[l.seriesIndex][b])}else h=(l.x-n.globals.minX)/(n.globals.xRange/n.globals.gridWidth);for(var g,H=[],M=0,Z=0;Z<=l.seriesIndex;Z++){var z=n.config.yaxis[Z].seriesName;if(z)for(var T=Z+1;T<=l.seriesIndex;T++)n.config.yaxis[T].seriesName===z&&H.indexOf(z)===-1&&(M++,H.push(z))}if(n.config.yaxis[l.yAxisIndex].logarithmic)g=(m=new j(this.annoCtx.ctx).getLogVal(m,l.yAxisIndex))/n.globals.yLogRatio[l.yAxisIndex];else{var I=l.yAxisIndex+M;g=(m-n.globals.minYArr[I])/(n.globals.yRange[I]/n.globals.gridHeight)}if(u=n.globals.gridHeight-g-parseFloat(l.label.style.fontSize)-l.marker.size,v=n.globals.gridHeight-g,n.config.yaxis[l.yAxisIndex]&&n.config.yaxis[l.yAxisIndex].reversed&&(u=g+parseFloat(l.label.style.fontSize)+l.marker.size,v=g),_.isNumber(h)){var D={pSize:l.marker.size,pointStrokeWidth:l.marker.strokeWidth,pointFillColor:l.marker.fillColor,pointStrokeColor:l.marker.strokeColor,shape:l.marker.shape,pRadius:l.marker.radius,class:"apexcharts-point-annotation-marker ".concat(l.marker.cssClass," ").concat(l.id?l.id:"")},B=this.annoCtx.graphics.drawMarker(h+l.marker.offsetX,v+l.marker.offsetY,D);t.appendChild(B.node);var X=l.label.text?l.label.text:"",f=this.annoCtx.graphics.drawText({x:h+l.label.offsetX,y:u+l.label.offsetY,text:X,textAnchor:l.label.textAnchor,fontSize:l.label.style.fontSize,fontFamily:l.label.style.fontFamily,fontWeight:l.label.style.fontWeight,foreColor:l.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(l.label.style.cssClass," ").concat(l.id?l.id:"")});if(f.attr({rel:o}),t.appendChild(f.node),l.customSVG.SVG){var L=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+l.customSVG.cssClass});L.attr({transform:"translate(".concat(h+l.customSVG.offsetX,", ").concat(u+l.customSVG.offsetY,")")}),L.node.innerHTML=l.customSVG.SVG,t.appendChild(L.node)}if(l.image.path){var O=l.image.width?l.image.width:20,N=l.image.height?l.image.height:20;this.annoCtx.addImage({x:h+l.image.offsetX-O/2,y:u+l.image.offsetY-N/2,width:O,height:N,path:l.image.path,appendTo:".apexcharts-point-annotations"})}}}},{key:"drawPointAnnotations",value:function(){var l=this,t=this.w,o=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map(function(n,h){l.addPointAnnotation(n,o.node,h)}),o}}]),F}(),e1={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},t1=function(){function F(){s(this,F),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={x:0,y:null,yAxisIndex:0,seriesIndex:0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return p(F,[{key:"init",value:function(){return{annotations:{position:"front",yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[e1],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",dateFormatter:function(l){return new Date(l).toDateString()}},png:{filename:void 0},svg:{filename:void 0}},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,startingShape:"flat",endingShape:"flat",rangeBarOverlap:!0,rangeBarGroupRows:!1,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal"}},bubble:{minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(l){return l}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(l){return l+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(l){return l.globals.seriesTotals.reduce(function(t,o){return t+o},0)/l.globals.series.length+"%"}}}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(l){return l}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(l){return l}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(l){return l.globals.seriesTotals.reduce(function(t,o){return t+o},0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(l){return l!==null?l:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,fillColors:void 0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:5,vertical:2},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",width:8,height:8,radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,showNullDataPoints:!0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.1}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.5}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(l){return l?l+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),F}(),s1=function(){function F(l){s(this,F),this.ctx=l,this.w=l.w,this.graphics=new S(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new Y(this),this.xAxisAnnotations=new W(this),this.yAxisAnnotations=new Q(this),this.pointsAnnotations=new G(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return p(F,[{key:"drawAxesAnnotations",value:function(){var l=this.w;if(l.globals.axisCharts){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),o=this.xAxisAnnotations.drawXAxisAnnotations(),n=this.pointsAnnotations.drawPointAnnotations(),h=l.config.chart.animations.enabled,u=[t,o,n],v=[o.node,t.node,n.node],m=0;m<3;m++)l.globals.dom.elGraphical.add(u[m]),!h||l.globals.resized||l.globals.dataChanged||l.config.chart.type!=="scatter"&&l.config.chart.type!=="bubble"&&l.globals.dataPoints>1&&v[m].classList.add("apexcharts-element-hidden"),l.globals.delayedElements.push({el:v[m],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var l=this;this.w.config.annotations.images.map(function(t,o){l.addImage(t,o)})}},{key:"drawTextAnnos",value:function(){var l=this;this.w.config.annotations.texts.map(function(t,o){l.addText(t,o)})}},{key:"addXaxisAnnotation",value:function(l,t,o){this.xAxisAnnotations.addXaxisAnnotation(l,t,o)}},{key:"addYaxisAnnotation",value:function(l,t,o){this.yAxisAnnotations.addYaxisAnnotation(l,t,o)}},{key:"addPointAnnotation",value:function(l,t,o){this.pointsAnnotations.addPointAnnotation(l,t,o)}},{key:"addText",value:function(l,t){var o=l.x,n=l.y,h=l.text,u=l.textAnchor,v=l.foreColor,m=l.fontSize,b=l.fontFamily,g=l.fontWeight,H=l.cssClass,M=l.backgroundColor,Z=l.borderWidth,z=l.strokeDashArray,T=l.borderRadius,I=l.borderColor,D=l.appendTo,B=D===void 0?".apexcharts-annotations":D,X=l.paddingLeft,f=X===void 0?4:X,L=l.paddingRight,O=L===void 0?4:L,N=l.paddingBottom,K=N===void 0?2:N,n1=l.paddingTop,l1=n1===void 0?2:n1,b1=this.w,m1=this.graphics.drawText({x:o,y:n,text:h,textAnchor:u||"start",fontSize:m||"12px",fontWeight:g||"regular",fontFamily:b||b1.config.chart.fontFamily,foreColor:v||b1.config.chart.foreColor,cssClass:H}),C1=b1.globals.dom.baseEl.querySelector(B);C1&&C1.appendChild(m1.node);var F1=m1.bbox();if(h){var g2=this.graphics.drawRect(F1.x-f,F1.y-l1,F1.width+f+O,F1.height+K+l1,T,M||"transparent",1,Z,I,z);C1.insertBefore(g2.node,m1.node)}}},{key:"addImage",value:function(l,t){var o=this.w,n=l.path,h=l.x,u=h===void 0?0:h,v=l.y,m=v===void 0?0:v,b=l.width,g=b===void 0?20:b,H=l.height,M=H===void 0?20:H,Z=l.appendTo,z=Z===void 0?".apexcharts-annotations":Z,T=o.globals.dom.Paper.image(n);T.size(g,M).move(u,m);var I=o.globals.dom.baseEl.querySelector(z);I&&I.appendChild(T.node)}},{key:"addXaxisAnnotationExternal",value:function(l,t,o){return this.addAnnotationExternal({params:l,pushToMemory:t,context:o,type:"xaxis",contextMethod:o.addXaxisAnnotation}),o}},{key:"addYaxisAnnotationExternal",value:function(l,t,o){return this.addAnnotationExternal({params:l,pushToMemory:t,context:o,type:"yaxis",contextMethod:o.addYaxisAnnotation}),o}},{key:"addPointAnnotationExternal",value:function(l,t,o){return this.invertAxis===void 0&&(this.invertAxis=o.w.globals.isBarHorizontal),this.addAnnotationExternal({params:l,pushToMemory:t,context:o,type:"point",contextMethod:o.addPointAnnotation}),o}},{key:"addAnnotationExternal",value:function(l){var t=l.params,o=l.pushToMemory,n=l.context,h=l.type,u=l.contextMethod,v=n,m=v.w,b=m.globals.dom.baseEl.querySelector(".apexcharts-".concat(h,"-annotations")),g=b.childNodes.length+1,H=new t1,M=Object.assign({},h==="xaxis"?H.xAxisAnnotation:h==="yaxis"?H.yAxisAnnotation:H.pointAnnotation),Z=_.extend(M,t);switch(h){case"xaxis":this.addXaxisAnnotation(Z,b,g);break;case"yaxis":this.addYaxisAnnotation(Z,b,g);break;case"point":this.addPointAnnotation(Z,b,g)}var z=m.globals.dom.baseEl.querySelector(".apexcharts-".concat(h,"-annotations .apexcharts-").concat(h,"-annotation-label[rel='").concat(g,"']")),T=this.helpers.addBackgroundToAnno(z,Z);return T&&b.insertBefore(T.node,z),o&&m.globals.memory.methodsToExec.push({context:v,id:Z.id?Z.id:_.randomId(),method:u,label:"addAnnotation",params:t}),n}},{key:"clearAnnotations",value:function(l){var t=l.w,o=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");t.globals.memory.methodsToExec.map(function(n,h){n.label!=="addText"&&n.label!=="addAnnotation"||t.globals.memory.methodsToExec.splice(h,1)}),o=_.listToArray(o),Array.prototype.forEach.call(o,function(n){for(;n.firstChild;)n.removeChild(n.firstChild)})}},{key:"removeAnnotation",value:function(l,t){var o=l.w,n=o.globals.dom.baseEl.querySelectorAll(".".concat(t));n&&(o.globals.memory.methodsToExec.map(function(h,u){h.id===t&&o.globals.memory.methodsToExec.splice(u,1)}),Array.prototype.forEach.call(n,function(h){h.parentElement.removeChild(h)}))}}]),F}(),a1=function(){function F(l){s(this,F),this.ctx=l,this.w=l.w,this.opts=null,this.seriesIndex=0}return p(F,[{key:"clippedImgArea",value:function(l){var t=this.w,o=t.config,n=parseInt(t.globals.gridWidth,10),h=parseInt(t.globals.gridHeight,10),u=n>h?n:h,v=l.image,m=0,b=0;l.width===void 0&&l.height===void 0?o.fill.image.width!==void 0&&o.fill.image.height!==void 0?(m=o.fill.image.width+1,b=o.fill.image.height):(m=u+1,b=u):(m=l.width,b=l.height);var g=document.createElementNS(t.globals.SVGNS,"pattern");S.setAttrs(g,{id:l.patternID,patternUnits:l.patternUnits?l.patternUnits:"userSpaceOnUse",width:m+"px",height:b+"px"});var H=document.createElementNS(t.globals.SVGNS,"image");g.appendChild(H),H.setAttributeNS(window.SVG.xlink,"href",v),S.setAttrs(H,{x:0,y:0,preserveAspectRatio:"none",width:m+"px",height:b+"px"}),H.style.opacity=l.opacity,t.globals.dom.elDefs.node.appendChild(g)}},{key:"getSeriesIndex",value:function(l){var t=this.w;return(t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.chart.type==="heatmap"||t.config.chart.type==="treemap"?this.seriesIndex=l.seriesNumber:this.seriesIndex=l.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(l){var t=this.w;this.opts=l;var o,n,h,u=this.w.config;this.seriesIndex=this.getSeriesIndex(l);var v=this.getFillColors()[this.seriesIndex];t.globals.seriesColors[this.seriesIndex]!==void 0&&(v=t.globals.seriesColors[this.seriesIndex]),typeof v=="function"&&(v=v({seriesIndex:this.seriesIndex,dataPointIndex:l.dataPointIndex,value:l.value,w:t}));var m=this.getFillType(this.seriesIndex),b=Array.isArray(u.fill.opacity)?u.fill.opacity[this.seriesIndex]:u.fill.opacity;l.color&&(v=l.color);var g=v;if(v.indexOf("rgb")===-1?v.length<9&&(g=_.hexToRgba(v,b)):v.indexOf("rgba")>-1&&(b=_.getOpacityFromRGBA(v)),l.opacity&&(b=l.opacity),m==="pattern"&&(n=this.handlePatternFill(n,v,b,g)),m==="gradient"&&(h=this.handleGradientFill(v,b,this.seriesIndex)),m==="image"){var H=u.fill.image.src,M=l.patternID?l.patternID:"";this.clippedImgArea({opacity:b,image:Array.isArray(H)?l.seriesNumber-1&&(H=_.getOpacityFromRGBA(g));var M=h.fill.gradient.opacityTo===void 0?t:Array.isArray(h.fill.gradient.opacityTo)?h.fill.gradient.opacityTo[o]:h.fill.gradient.opacityTo;if(h.fill.gradient.gradientToColors===void 0||h.fill.gradient.gradientToColors.length===0)n=h.fill.gradient.shade==="dark"?m.shadeColor(-1*parseFloat(h.fill.gradient.shadeIntensity),l.indexOf("rgb")>-1?_.rgb2hex(l):l):m.shadeColor(parseFloat(h.fill.gradient.shadeIntensity),l.indexOf("rgb")>-1?_.rgb2hex(l):l);else if(h.fill.gradient.gradientToColors[u.seriesNumber]){var Z=h.fill.gradient.gradientToColors[u.seriesNumber];n=Z,Z.indexOf("rgba")>-1&&(M=_.getOpacityFromRGBA(Z))}else n=l;if(h.fill.gradient.inverseColors){var z=g;g=n,n=z}return g.indexOf("rgb")>-1&&(g=_.rgb2hex(g)),n.indexOf("rgb")>-1&&(n=_.rgb2hex(n)),v.drawGradient(b,g,n,H,M,u.size,h.fill.gradient.stops,h.fill.gradient.colorStops,o)}}]),F}(),c1=function(){function F(l,t){s(this,F),this.ctx=l,this.w=l.w}return p(F,[{key:"setGlobalMarkerSize",value:function(){var l=this.w;if(l.globals.markers.size=Array.isArray(l.config.markers.size)?l.config.markers.size:[l.config.markers.size],l.globals.markers.size.length>0){if(l.globals.markers.size.length4&&arguments[4]!==void 0&&arguments[4],v=this.w,m=t,b=l,g=null,H=new S(this.ctx);if((v.globals.markers.size[t]>0||u)&&(g=H.group({class:u?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(v.globals.cuid,")")),Array.isArray(b.x))for(var M=0;M0:v.config.markers.size>0;if(T||u){_.isNumber(b.y[M])?z+=" w".concat(_.randomId()):z="apexcharts-nullpoint";var I=this.getMarkerConfig({cssClass:z,seriesIndex:t,dataPointIndex:Z});v.config.series[m].data[Z]&&(v.config.series[m].data[Z].fillColor&&(I.pointFillColor=v.config.series[m].data[Z].fillColor),v.config.series[m].data[Z].strokeColor&&(I.pointStrokeColor=v.config.series[m].data[Z].strokeColor)),n&&(I.pSize=n),(h=H.drawMarker(b.x[M],b.y[M],I)).attr("rel",Z),h.attr("j",Z),h.attr("index",t),h.node.setAttribute("default-marker-size",I.pSize);var D=new A(this.ctx);D.setSelectionFilter(h,t,Z),this.addEvents(h),g&&g.add(h)}else v.globals.pointsArray[t]===void 0&&(v.globals.pointsArray[t]=[]),v.globals.pointsArray[t].push([b.x[M],b.y[M]])}return g}},{key:"getMarkerConfig",value:function(l){var t=l.cssClass,o=l.seriesIndex,n=l.dataPointIndex,h=n===void 0?null:n,u=l.finishRadius,v=u===void 0?null:u,m=this.w,b=this.getMarkerStyle(o),g=m.globals.markers.size[o],H=m.config.markers;return h!==null&&H.discrete.length&&H.discrete.map(function(M){M.seriesIndex===o&&M.dataPointIndex===h&&(b.pointStrokeColor=M.strokeColor,b.pointFillColor=M.fillColor,g=M.size,b.pointShape=M.shape)}),{pSize:v===null?g:v,pRadius:H.radius,width:Array.isArray(H.width)?H.width[o]:H.width,height:Array.isArray(H.height)?H.height[o]:H.height,pointStrokeWidth:Array.isArray(H.strokeWidth)?H.strokeWidth[o]:H.strokeWidth,pointStrokeColor:b.pointStrokeColor,pointFillColor:b.pointFillColor,shape:b.pointShape||(Array.isArray(H.shape)?H.shape[o]:H.shape),class:t,pointStrokeOpacity:Array.isArray(H.strokeOpacity)?H.strokeOpacity[o]:H.strokeOpacity,pointStrokeDashArray:Array.isArray(H.strokeDashArray)?H.strokeDashArray[o]:H.strokeDashArray,pointFillOpacity:Array.isArray(H.fillOpacity)?H.fillOpacity[o]:H.fillOpacity,seriesIndex:o}}},{key:"addEvents",value:function(l){var t=this.w,o=new S(this.ctx);l.node.addEventListener("mouseenter",o.pathMouseEnter.bind(this.ctx,l)),l.node.addEventListener("mouseleave",o.pathMouseLeave.bind(this.ctx,l)),l.node.addEventListener("mousedown",o.pathMouseDown.bind(this.ctx,l)),l.node.addEventListener("click",t.config.markers.onClick),l.node.addEventListener("dblclick",t.config.markers.onDblClick),l.node.addEventListener("touchstart",o.pathMouseDown.bind(this.ctx,l),{passive:!0})}},{key:"getMarkerStyle",value:function(l){var t=this.w,o=t.globals.markers.colors,n=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(n)?n[l]:n,pointFillColor:Array.isArray(o)?o[l]:o}}}]),F}(),o1=function(){function F(l){s(this,F),this.ctx=l,this.w=l.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled}return p(F,[{key:"draw",value:function(l,t,o){var n=this.w,h=new S(this.ctx),u=o.realIndex,v=o.pointsPos,m=o.zRatio,b=o.elParent,g=h.group({class:"apexcharts-series-markers apexcharts-series-".concat(n.config.chart.type)});if(g.attr("clip-path","url(#gridRectMarkerMask".concat(n.globals.cuid,")")),Array.isArray(v.x))for(var H=0;HI.maxBubbleRadius&&(T=I.maxBubbleRadius)}n.config.chart.animations.enabled||(z=T);var D=v.x[H],B=v.y[H];if(z=z||0,B!==null&&n.globals.series[u][M]!==void 0||(Z=!1),Z){var X=this.drawPoint(D,B,z,T,u,M,t);g.add(X)}b.add(g)}}},{key:"drawPoint",value:function(l,t,o,n,h,u,v){var m=this.w,b=h,g=new E(this.ctx),H=new A(this.ctx),M=new a1(this.ctx),Z=new c1(this.ctx),z=new S(this.ctx),T=Z.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:b,dataPointIndex:u,finishRadius:m.config.chart.type==="bubble"||m.globals.comboCharts&&m.config.series[h]&&m.config.series[h].type==="bubble"?n:null});n=T.pSize;var I,D=M.fillPath({seriesNumber:h,dataPointIndex:u,color:T.pointFillColor,patternUnits:"objectBoundingBox",value:m.globals.series[h][v]});if(T.shape==="circle"?I=z.drawCircle(o):T.shape!=="square"&&T.shape!=="rect"||(I=z.drawRect(0,0,T.width-T.pointStrokeWidth/2,T.height-T.pointStrokeWidth/2,T.pRadius)),m.config.series[b].data[u]&&m.config.series[b].data[u].fillColor&&(D=m.config.series[b].data[u].fillColor),I.attr({x:l-T.width/2-T.pointStrokeWidth/2,y:t-T.height/2-T.pointStrokeWidth/2,cx:l,cy:t,fill:D,"fill-opacity":T.pointFillOpacity,stroke:T.pointStrokeColor,r:n,"stroke-width":T.pointStrokeWidth,"stroke-dasharray":T.pointStrokeDashArray,"stroke-opacity":T.pointStrokeOpacity}),m.config.chart.dropShadow.enabled){var B=m.config.chart.dropShadow;H.dropShadow(I,B,h)}if(!this.initialAnim||m.globals.dataChanged||m.globals.resized)m.globals.animationEnded=!0;else{var X=m.config.chart.animations.speed;g.animateMarker(I,0,T.shape==="circle"?n:{width:T.width,height:T.height},X,m.globals.easing,function(){window.setTimeout(function(){g.animationCompleted(I)},100)})}if(m.globals.dataChanged&&T.shape==="circle")if(this.dynamicAnim){var f,L,O,N,K=m.config.chart.animations.dynamicAnimation.speed;(N=m.globals.previousPaths[h]&&m.globals.previousPaths[h][v])!=null&&(f=N.x,L=N.y,O=N.r!==void 0?N.r:n);for(var n1=0;n1m.globals.gridHeight+M&&(t=m.globals.gridHeight+M/2),m.globals.dataLabelsRects[n]===void 0&&(m.globals.dataLabelsRects[n]=[]),m.globals.dataLabelsRects[n].push({x:l,y:t,width:H,height:M});var Z=m.globals.dataLabelsRects[n].length-2,z=m.globals.lastDrawnDataLabelsIndexes[n]!==void 0?m.globals.lastDrawnDataLabelsIndexes[n][m.globals.lastDrawnDataLabelsIndexes[n].length-1]:0;if(m.globals.dataLabelsRects[n][Z]!==void 0){var T=m.globals.dataLabelsRects[n][z];(l>T.x+T.width+2||t>T.y+T.height+2||l+H4&&arguments[4]!==void 0?arguments[4]:2,u=this.w,v=new S(this.ctx),m=u.config.dataLabels,b=0,g=0,H=o,M=null;if(!m.enabled||!Array.isArray(l.x))return M;M=v.group({class:"apexcharts-data-labels"});for(var Z=0;Zt.globals.gridWidth+I.textRects.width+10)&&(m="");var D=t.globals.dataLabels.style.colors[u];((t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(D=t.globals.dataLabels.style.colors[v]),typeof D=="function"&&(D=D({series:t.globals.series,seriesIndex:u,dataPointIndex:v,w:t})),Z&&(D=Z);var B=M.offsetX,X=M.offsetY;if(t.config.chart.type!=="bar"&&t.config.chart.type!=="rangeBar"||(B=0,X=0),I.drawnextLabel){var f=o.drawText({width:100,height:parseInt(M.style.fontSize,10),x:n+B,y:h+X,foreColor:D,textAnchor:b||M.textAnchor,text:m,fontSize:g||M.style.fontSize,fontFamily:M.style.fontFamily,fontWeight:M.style.fontWeight||"normal"});if(f.attr({class:"apexcharts-datalabel",cx:n,cy:h}),M.dropShadow.enabled){var L=M.dropShadow;new A(this.ctx).dropShadow(f,L)}H.add(f),t.globals.lastDrawnDataLabelsIndexes[u]===void 0&&(t.globals.lastDrawnDataLabelsIndexes[u]=[]),t.globals.lastDrawnDataLabelsIndexes[u].push(v)}}}},{key:"addBackgroundToDataLabel",value:function(l,t){var o=this.w,n=o.config.dataLabels.background,h=n.padding,u=n.padding/2,v=t.width,m=t.height,b=new S(this.ctx).drawRect(t.x-h,t.y-u/2,v+2*h,m+u,n.borderRadius,o.config.chart.background==="transparent"?"#fff":o.config.chart.background,n.opacity,n.borderWidth,n.borderColor);return n.dropShadow.enabled&&new A(this.ctx).dropShadow(b,n.dropShadow),b}},{key:"dataLabelsBackground",value:function(){var l=this.w;if(l.config.chart.type!=="bubble")for(var t=l.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),o=0;oo.globals.gridHeight&&(H=o.globals.gridHeight-Z)),{bcx:v,bcy:u,dataLabelsX:t,dataLabelsY:H}}},{key:"calculateBarsDataLabelsPosition",value:function(l){var t=this.w,o=l.x,n=l.i,h=l.j,u=l.bcy,v=l.barHeight,m=l.barWidth,b=l.textRects,g=l.dataLabelsX,H=l.strokeWidth,M=l.barDataLabelsConfig,Z=l.offX,z=l.offY,T=t.globals.gridHeight/t.globals.dataPoints;m=Math.abs(m);var I=u-(this.barCtx.isTimelineBar?0:T)+v/2+b.height/2+z-3,D=this.barCtx.series[n][h]<0,B=o;switch(this.barCtx.isReversed&&(B=o+m-(D?2*m:0),o=t.globals.gridWidth-m),M.position){case"center":g=D?B+m/2-Z:Math.max(b.width/2,B-m/2)+Z;break;case"bottom":g=D?B+m-H-Math.round(b.width/2)-Z:B-m+H+Math.round(b.width/2)+Z;break;case"top":g=D?B-H+Math.round(b.width/2)-Z:B-H-Math.round(b.width/2)+Z}return t.config.chart.stacked||(g<0?g=g+b.width+H:g+b.width/2>t.globals.gridWidth&&(g=t.globals.gridWidth-b.width-H)),{bcx:o,bcy:u,dataLabelsX:g,dataLabelsY:I}}},{key:"drawCalculatedDataLabels",value:function(l){var t=l.x,o=l.y,n=l.val,h=l.i,u=l.j,v=l.textRects,m=l.barHeight,b=l.barWidth,g=l.dataLabelsConfig,H=this.w,M="rotate(0)";H.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(M="rotate(-90, ".concat(t,", ").concat(o,")"));var Z=new k1(this.barCtx.ctx),z=new S(this.barCtx.ctx),T=g.formatter,I=null,D=H.globals.collapsedSeriesIndices.indexOf(h)>-1;if(g.enabled&&!D){I=z.group({class:"apexcharts-data-labels",transform:M});var B="";n!==void 0&&(B=T(n,{seriesIndex:h,dataPointIndex:u,w:H}));var X=H.globals.series[h][u]<0,f=H.config.plotOptions.bar.dataLabels.position;H.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(f==="top"&&(g.textAnchor=X?"end":"start"),f==="center"&&(g.textAnchor="middle"),f==="bottom"&&(g.textAnchor=X?"end":"start")),this.barCtx.isTimelineBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&bMath.abs(b)&&(B=""):v.height/1.6>Math.abs(m)&&(B=""));var L=c({},g);this.barCtx.isHorizontal&&n<0&&(g.textAnchor==="start"?L.textAnchor="end":g.textAnchor==="end"&&(L.textAnchor="start")),Z.plotDataLabelsText({x:t,y:o,text:B,i:h,j:u,parent:I,dataLabelsConfig:L,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return I}}]),F}(),A1=function(){function F(l){s(this,F),this.ctx=l,this.w=l.w,this.legendInactiveClass="legend-mouseover-inactive"}return p(F,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(l){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(_.escapeString(l),"']"))}},{key:"isSeriesHidden",value:function(l){var t=this.getSeriesByName(l),o=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:o}}},{key:"addCollapsedClassToSeries",value:function(l,t){var o=this.w;function n(h){for(var u=0;u0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],o=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],n=this.w,h=_.clone(n.globals.initialSeries);n.globals.previousPaths=[],o?(n.globals.collapsedSeries=[],n.globals.ancillaryCollapsedSeries=[],n.globals.collapsedSeriesIndices=[],n.globals.ancillaryCollapsedSeriesIndices=[]):h=this.emptyCollapsedSeries(h),n.config.series=h,l&&(t&&(n.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(h,n.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(l){for(var t=this.w,o=0;o-1&&(l[o].data=[]);return l}},{key:"toggleSeriesOnHover",value:function(l,t){var o=this.w,n=o.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if(l.type==="mousemove"){var h=parseInt(t.getAttribute("rel"),10)-1,u=null,v=null;o.globals.axisCharts||o.config.chart.type==="radialBar"?o.globals.axisCharts?(u=o.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(h,"']")),v=o.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(h,"']"))):u=o.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(h+1,"']")):u=o.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(h+1,"'] path"));for(var m=0;m=m.from&&g<=m.to&&h[b].classList.remove(o.legendInactiveClass)}}(n.config.plotOptions.heatmap.colorScale.ranges[v])}else l.type==="mouseout"&&u("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var l=arguments.length>0&&arguments[0]!==void 0&&arguments[0],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"asc",o=this.w,n=0;if(o.config.series.length>1){for(var h=o.config.series.map(function(v,m){var b=!1;return l&&(b=o.config.series[m].type==="bar"||o.config.series[m].type==="column"),v.data&&v.data.length>0&&!b?m:-1}),u=t==="asc"?0:h.length-1;t==="asc"?u