From 10ca5f9518e5a8ec19db4a7fb4340ac94bbc809e Mon Sep 17 00:00:00 2001 From: Chen-Yu Yu <39978173+tobyyu007@users.noreply.github.com> Date: Wed, 20 Dec 2023 09:19:49 +0800 Subject: [PATCH] Edit page call new API URL --- frontend/dist/404.html | 4 +-- .../{index-6247830d.js => index-b48d8458.js} | 8 ++--- ...{index-bbcb1de9.css => index-d9bd6ccd.css} | 2 +- frontend/dist/index.html | 4 +-- frontend/package.json | 2 +- frontend/src/vue/core/Editview.vue | 30 +++++++++---------- 6 files changed, 25 insertions(+), 25 deletions(-) rename frontend/dist/assets/{index-6247830d.js => index-b48d8458.js} (92%) rename frontend/dist/assets/{index-bbcb1de9.css => index-d9bd6ccd.css} (99%) diff --git a/frontend/dist/404.html b/frontend/dist/404.html index 52939a4..0eb59db 100644 --- a/frontend/dist/404.html +++ b/frontend/dist/404.html @@ -10,8 +10,8 @@ - - + +
diff --git a/frontend/dist/assets/index-6247830d.js b/frontend/dist/assets/index-b48d8458.js similarity index 92% rename from frontend/dist/assets/index-6247830d.js rename to frontend/dist/assets/index-b48d8458.js index 6fb77f2..ecd0c07 100644 --- a/frontend/dist/assets/index-6247830d.js +++ b/frontend/dist/assets/index-b48d8458.js @@ -1,8 +1,8 @@ -var rw=Object.defineProperty;var cw=(e,t,n)=>t in e?rw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var He=(e,t,n)=>(cw(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();function Fc(e,t){const n=Object.create(null),i=e.split(",");for(let a=0;a!!n[a.toLowerCase()]:a=>!!n[a]}const pt={},so=[],vi=()=>{},uw=()=>!1,Zl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ff=e=>e.startsWith("onUpdate:"),Mt=Object.assign,$f=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dw=Object.prototype.hasOwnProperty,it=(e,t)=>dw.call(e,t),Be=Array.isArray,oo=e=>Po(e)==="[object Map]",As=e=>Po(e)==="[object Set]",Rv=e=>Po(e)==="[object Date]",fw=e=>Po(e)==="[object RegExp]",je=e=>typeof e=="function",Et=e=>typeof e=="string",Ca=e=>typeof e=="symbol",bt=e=>e!==null&&typeof e=="object",zf=e=>(bt(e)||je(e))&&je(e.then)&&je(e.catch),ny=Object.prototype.toString,Po=e=>ny.call(e),hw=e=>Po(e).slice(8,-1),iy=e=>Po(e)==="[object Object]",Hf=e=>Et(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rl=Fc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$c=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},vw=/-(\w)/g,yn=$c(e=>e.replace(vw,(t,n)=>n?n.toUpperCase():"")),mw=/\B([A-Z])/g,ii=$c(e=>e.replace(mw,"-$1").toLowerCase()),bi=$c(e=>e.charAt(0).toUpperCase()+e.slice(1)),cl=$c(e=>e?`on${bi(e)}`:""),Pa=(e,t)=>!Object.is(e,t),lo=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},rc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cc=e=>{const t=Et(e)?Number(e):NaN;return isNaN(t)?e:t};let Lv;const Id=()=>Lv||(Lv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),gw="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",pw=Fc(gw);function Ia(e){if(Be(e)){const t={};for(let n=0;n{if(n){const i=n.split(bw);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function xt(e){let t="";if(Et(e))t=e;else if(Be(e))for(let n=0;nVa(n,t))}const wt=e=>Et(e)?e:e==null?"":Be(e)||bt(e)&&(e.toString===ny||!je(e.toString))?JSON.stringify(e,sy,2):String(e),sy=(e,t)=>t&&t.__v_isRef?sy(e,t.value):oo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,a],s)=>(n[qu(i,s)+" =>"]=a,n),{})}:As(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qu(n))}:Ca(t)?qu(t):bt(t)&&!Be(t)&&!iy(t)?String(t):t,qu=(e,t="")=>{var n;return Ca(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let jn;class jf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=jn,!t&&jn&&(this.index=(jn.scopes||(jn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=jn;try{return jn=this,t()}finally{jn=n}}}on(){jn=this}off(){jn=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},ry=e=>(e.w&Aa)>0,cy=e=>(e.n&Aa)>0,Pw=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(u==="length"||!Ca(u)&&u>=r)&&l.push(c)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":Be(e)?Hf(n)&&l.push(o.get("length")):(l.push(o.get(us)),oo(e)&&l.push(o.get(Ad)));break;case"delete":Be(e)||(l.push(o.get(us)),oo(e)&&l.push(o.get(Ad)));break;case"set":oo(e)&&l.push(o.get(us));break}if(l.length===1)l[0]&&Td(l[0]);else{const r=[];for(const c of l)c&&r.push(...c);Td(Wf(r))}}function Td(e,t){const n=Be(e)?e:[...e];for(const i of n)i.computed&&Nv(i);for(const i of n)i.computed||Nv(i)}function Nv(e,t){(e!==fi||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Tw(e,t){var n;return(n=uc.get(e))==null?void 0:n.get(t)}const Mw=Fc("__proto__,__v_isRef,__isVue"),fy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ca)),Fv=Ew();function Ew(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Ye(this);for(let s=0,o=this.length;s{e[t]=function(...n){Io();const i=Ye(this)[t].apply(this,n);return Vo(),i}}),e}function Dw(e){const t=Ye(this);return Nn(t,"has",e),t.hasOwnProperty(e)}class hy{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,i){const a=this._isReadonly,s=this._shallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return s;if(n==="__v_raw")return i===(a?s?by:yy:s?py:gy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const o=Be(t);if(!a){if(o&&it(Fv,n))return Reflect.get(Fv,n,i);if(n==="hasOwnProperty")return Dw}const l=Reflect.get(t,n,i);return(Ca(n)?fy.has(n):Mw(n))||(a||Nn(t,"get",n),s)?l:jt(l)?o&&Hf(n)?l:l.value:bt(l)?a?Ao(l):Ft(l):l}}class vy extends hy{constructor(t=!1){super(!1,t)}set(t,n,i,a){let s=t[n];if(!this._shallow){const r=ys(s);if(!wl(i)&&!ys(i)&&(s=Ye(s),i=Ye(i)),!Be(t)&&jt(s)&&!jt(i))return r?!1:(s.value=i,!0)}const o=Be(t)&&Hf(n)?Number(n)e,jc=e=>Reflect.getPrototypeOf(e);function br(e,t,n=!1,i=!1){e=e.__v_raw;const a=Ye(e),s=Ye(t);n||(Pa(t,s)&&Nn(a,"get",t),Nn(a,"get",s));const{has:o}=jc(a),l=i?Uf:n?Gf:kl;if(o.call(a,t))return l(e.get(t));if(o.call(a,s))return l(e.get(s));e!==a&&e.get(t)}function _r(e,t=!1){const n=this.__v_raw,i=Ye(n),a=Ye(e);return t||(Pa(e,a)&&Nn(i,"has",e),Nn(i,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function xr(e,t=!1){return e=e.__v_raw,!t&&Nn(Ye(e),"iterate",us),Reflect.get(e,"size",e)}function $v(e){e=Ye(e);const t=Ye(this);return jc(t).has.call(t,e)||(t.add(e),Ki(t,"add",e,e)),this}function zv(e,t){t=Ye(t);const n=Ye(this),{has:i,get:a}=jc(n);let s=i.call(n,e);s||(e=Ye(e),s=i.call(n,e));const o=a.call(n,e);return n.set(e,t),s?Pa(t,o)&&Ki(n,"set",e,t):Ki(n,"add",e,t),this}function Hv(e){const t=Ye(this),{has:n,get:i}=jc(t);let a=n.call(t,e);a||(e=Ye(e),a=n.call(t,e)),i&&i.call(t,e);const s=t.delete(e);return a&&Ki(t,"delete",e,void 0),s}function jv(){const e=Ye(this),t=e.size!==0,n=e.clear();return t&&Ki(e,"clear",void 0,void 0),n}function Sr(e,t){return function(i,a){const s=this,o=s.__v_raw,l=Ye(o),r=t?Uf:e?Gf:kl;return!e&&Nn(l,"iterate",us),o.forEach((c,u)=>i.call(a,r(c),r(u),s))}}function wr(e,t,n){return function(...i){const a=this.__v_raw,s=Ye(a),o=oo(s),l=e==="entries"||e===Symbol.iterator&&o,r=e==="keys"&&o,c=a[e](...i),u=n?Uf:t?Gf:kl;return!t&&Nn(s,"iterate",r?Ad:us),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:l?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function ca(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Nw(){const e={get(s){return br(this,s)},get size(){return xr(this)},has:_r,add:$v,set:zv,delete:Hv,clear:jv,forEach:Sr(!1,!1)},t={get(s){return br(this,s,!1,!0)},get size(){return xr(this)},has:_r,add:$v,set:zv,delete:Hv,clear:jv,forEach:Sr(!1,!0)},n={get(s){return br(this,s,!0)},get size(){return xr(this,!0)},has(s){return _r.call(this,s,!0)},add:ca("add"),set:ca("set"),delete:ca("delete"),clear:ca("clear"),forEach:Sr(!0,!1)},i={get(s){return br(this,s,!0,!0)},get size(){return xr(this,!0)},has(s){return _r.call(this,s,!0)},add:ca("add"),set:ca("set"),delete:ca("delete"),clear:ca("clear"),forEach:Sr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=wr(s,!1,!1),n[s]=wr(s,!0,!1),t[s]=wr(s,!1,!0),i[s]=wr(s,!0,!0)}),[e,n,t,i]}const[Fw,$w,zw,Hw]=Nw();function Wc(e,t){const n=t?e?Hw:zw:e?$w:Fw;return(i,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(it(n,a)&&a in i?n:i,a,s)}const jw={get:Wc(!1,!1)},Ww={get:Wc(!1,!0)},Uw={get:Wc(!0,!1)},Yw={get:Wc(!0,!0)},gy=new WeakMap,py=new WeakMap,yy=new WeakMap,by=new WeakMap;function Kw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gw(e){return e.__v_skip||!Object.isExtensible(e)?0:Kw(hw(e))}function Ft(e){return ys(e)?e:Uc(e,!1,Ow,jw,gy)}function Yf(e){return Uc(e,!1,Lw,Ww,py)}function Ao(e){return Uc(e,!0,Rw,Uw,yy)}function Xw(e){return Uc(e,!0,Bw,Yw,by)}function Uc(e,t,n,i,a){if(!bt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=a.get(e);if(s)return s;const o=Gw(e);if(o===0)return e;const l=new Proxy(e,o===2?i:n);return a.set(e,l),l}function ds(e){return ys(e)?ds(e.__v_raw):!!(e&&e.__v_isReactive)}function ys(e){return!!(e&&e.__v_isReadonly)}function wl(e){return!!(e&&e.__v_isShallow)}function Jl(e){return ds(e)||ys(e)}function Ye(e){const t=e&&e.__v_raw;return t?Ye(t):e}function Kf(e){return lc(e,"__v_skip",!0),e}const kl=e=>bt(e)?Ft(e):e,Gf=e=>bt(e)?Ao(e):e;function Xf(e){Sa&&fi&&(e=Ye(e),dy(e.dep||(e.dep=Wf())))}function Yc(e,t){e=Ye(e);const n=e.dep;n&&Td(n)}function jt(e){return!!(e&&e.__v_isRef===!0)}function Z(e){return _y(e,!1)}function Se(e){return _y(e,!0)}function _y(e,t){return jt(e)?e:new qw(e,t)}class qw{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ye(t),this._value=n?t:kl(t)}get value(){return Xf(this),this._value}set value(t){const n=this.__v_isShallow||wl(t)||ys(t);t=n?t:Ye(t),Pa(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:kl(t),Yc(this))}}function Zw(e){Yc(e)}function Je(e){return jt(e)?e.value:e}function Jw(e){return je(e)?e():Je(e)}const Qw={get:(e,t,n)=>Je(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const a=e[t];return jt(a)&&!jt(n)?(a.value=n,!0):Reflect.set(e,t,n,i)}};function qf(e){return ds(e)?e:new Proxy(e,Qw)}class ek{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:i}=t(()=>Xf(this),()=>Yc(this));this._get=n,this._set=i}get value(){return this._get()}set value(t){this._set(t)}}function tk(e){return new ek(e)}function Ql(e){const t=Be(e)?new Array(e.length):{};for(const n in e)t[n]=xy(e,n);return t}class nk{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Tw(Ye(this._object),this._key)}}class ik{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ne(e,t,n){return jt(e)?e:je(e)?new ik(e):bt(e)&&arguments.length>1?xy(e,t,n):Z(e)}function xy(e,t,n){const i=e[t];return jt(i)?i:new nk(e,t,n)}class ak{constructor(t,n,i,a){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new uo(t,()=>{this._dirty||(this._dirty=!0,Yc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){const t=Ye(this);return Xf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function sk(e,t,n=!1){let i,a;const s=je(e);return s?(i=e,a=vi):(i=e.get,a=e.set),new ak(i,a,s||!a,n)}function ok(e,...t){}function lk(e,t){}function Gi(e,t,n,i){let a;try{a=i?e(...i):e()}catch(s){Ts(s,t,n)}return a}function Yn(e,t,n,i){if(je(e)){const s=Gi(e,t,n,i);return s&&zf(s)&&s.catch(o=>{Ts(o,t,n)}),s}const a=[];for(let s=0;s>>1,a=pn[i],s=Pl(a);sVi&&pn.splice(t,1)}function dc(e){Be(e)?ro.push(...e):(!Wi||!Wi.includes(e,e.allowRecurse?as+1:as))&&ro.push(e),wy()}function Wv(e,t,n=Cl?Vi+1:0){for(;nPl(n)-Pl(i)),as=0;ase.id==null?1/0:e.id,dk=(e,t)=>{const n=Pl(e)-Pl(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ky(e){Md=!1,Cl=!0,pn.sort(dk);const t=vi;try{for(Vi=0;Vieo.emit(a,...s)),kr=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Cy(s,t)}),setTimeout(()=>{eo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,kr=[])},3e3)):kr=[]}function fk(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||pt;let a=n;const s=t.startsWith("update:"),o=s&&t.slice(7);if(o&&o in i){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:d,trim:f}=i[u]||pt;f&&(a=n.map(v=>Et(v)?v.trim():v)),d&&(a=n.map(rc))}let l,r=i[l=cl(t)]||i[l=cl(yn(t))];!r&&s&&(r=i[l=cl(ii(t))]),r&&Yn(r,e,6,a);const c=i[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Yn(c,e,6,a)}}function Py(e,t,n=!1){const i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;const s=e.emits;let o={},l=!1;if(!je(e)){const r=c=>{const u=Py(c,t,!0);u&&(l=!0,Mt(o,u))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!s&&!l?(bt(e)&&i.set(e,null),null):(Be(s)?s.forEach(r=>o[r]=null):Mt(o,s),bt(e)&&i.set(e,o),o)}function Gc(e,t){return!e||!Zl(t)?!1:(t=t.slice(2).replace(/Once$/,""),it(e,t[0].toLowerCase()+t.slice(1))||it(e,ii(t))||it(e,t))}let cn=null,Xc=null;function Il(e){const t=cn;return cn=e,Xc=e&&e.type.__scopeId||null,t}function Oa(e){Xc=e}function Ra(){Xc=null}const hk=e=>se;function se(e,t=cn,n){if(!t||e._n)return e;const i=(...a)=>{i._d&&Nd(-1);const s=Il(t);let o;try{o=e(...a)}finally{Il(s),i._d&&Nd(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function Qr(e){const{type:t,vnode:n,proxy:i,withProxy:a,props:s,propsOptions:[o],slots:l,attrs:r,emit:c,render:u,renderCache:d,data:f,setupState:v,ctx:m,inheritAttrs:g}=e;let p,y;const b=Il(e);try{if(n.shapeFlag&4){const _=a||i,x=_;p=Wn(u.call(x,_,d,s,v,f,m)),y=r}else{const _=t;p=Wn(_.length>1?_(s,{attrs:r,slots:l,emit:c}):_(s,null)),y=t.props?r:mk(r)}}catch(_){fl.length=0,Ts(_,e,1),p=h(vn)}let S=p;if(y&&g!==!1){const _=Object.keys(y),{shapeFlag:x}=S;_.length&&x&7&&(o&&_.some(Ff)&&(y=gk(y,o)),S=gi(S,y))}return n.dirs&&(S=gi(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),p=S,Il(b),p}function vk(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Zl(n))&&((t||(t={}))[n]=e[n]);return t},gk=(e,t)=>{const n={};for(const i in e)(!Ff(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function pk(e,t,n){const{props:i,children:a,component:s}=e,{props:o,children:l,patchFlag:r}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&r>=0){if(r&1024)return!0;if(r&16)return i?Uv(i,o,c):!!o;if(r&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense,bk={name:"Suspense",__isSuspense:!0,process(e,t,n,i,a,s,o,l,r,c){e==null?xk(t,n,i,a,s,o,l,r,c):Sk(e,t,n,i,a,o,l,r,c)},hydrate:wk,create:th,normalize:kk},_k=bk;function Vl(e,t){const n=e.props&&e.props[t];je(n)&&n()}function xk(e,t,n,i,a,s,o,l,r){const{p:c,o:{createElement:u}}=r,d=u("div"),f=e.suspense=th(e,a,i,t,d,n,s,o,l,r);c(null,f.pendingBranch=e.ssContent,d,null,i,f,s,o),f.deps>0?(Vl(e,"onPending"),Vl(e,"onFallback"),c(null,e.ssFallback,t,n,i,null,s,o),co(f,e.ssFallback)):f.resolve(!1,!0)}function Sk(e,t,n,i,a,s,o,l,{p:r,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,v=t.ssFallback,{activeBranch:m,pendingBranch:g,isInFallback:p,isHydrating:y}=d;if(g)d.pendingBranch=f,hi(f,g)?(r(g,f,d.hiddenContainer,null,a,d,s,o,l),d.deps<=0?d.resolve():p&&(r(m,v,n,i,a,null,s,o,l),co(d,v))):(d.pendingId++,y?(d.isHydrating=!1,d.activeBranch=g):c(g,a,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),p?(r(null,f,d.hiddenContainer,null,a,d,s,o,l),d.deps<=0?d.resolve():(r(m,v,n,i,a,null,s,o,l),co(d,v))):m&&hi(f,m)?(r(m,f,n,i,a,d,s,o,l),d.resolve(!0)):(r(null,f,d.hiddenContainer,null,a,d,s,o,l),d.deps<=0&&d.resolve()));else if(m&&hi(f,m))r(m,f,n,i,a,d,s,o,l),co(d,f);else if(Vl(t,"onPending"),d.pendingBranch=f,d.pendingId++,r(null,f,d.hiddenContainer,null,a,d,s,o,l),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:S}=d;b>0?setTimeout(()=>{d.pendingId===S&&d.fallback(v)},b):b===0&&d.fallback(v)}}function th(e,t,n,i,a,s,o,l,r,c,u=!1){const{p:d,m:f,um:v,n:m,o:{parentNode:g,remove:p}}=c;let y;const b=Ck(e);b&&t!=null&&t.pendingBranch&&(y=t.pendingId,t.deps++);const S=e.props?cc(e.props.timeout):void 0,_={vnode:e,parent:t,parentComponent:n,isSVG:o,container:i,hiddenContainer:a,anchor:s,deps:0,pendingId:0,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,P=!1){const{vnode:C,activeBranch:V,pendingBranch:I,pendingId:M,effects:O,parentComponent:D,container:N}=_;let j=!1;if(_.isHydrating)_.isHydrating=!1;else if(!x){j=V&&I.transition&&I.transition.mode==="out-in",j&&(V.transition.afterLeave=()=>{M===_.pendingId&&(f(I,N,m(V),0),dc(O))});let{anchor:J}=_;V&&(J=m(V),v(V,D,_,!0)),j||f(I,N,J,0)}co(_,I),_.pendingBranch=null,_.isInFallback=!1;let Y=_.parent,K=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...O),K=!0;break}Y=Y.parent}!K&&!j&&dc(O),_.effects=[],b&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),Vl(C,"onResolve")},fallback(x){if(!_.pendingBranch)return;const{vnode:P,activeBranch:C,parentComponent:V,container:I,isSVG:M}=_;Vl(P,"onFallback");const O=m(C),D=()=>{_.isInFallback&&(d(null,x,I,O,V,null,M,l,r),co(_,x))},N=x.transition&&x.transition.mode==="out-in";N&&(C.transition.afterLeave=D),_.isInFallback=!0,v(C,V,null,!0),N||D()},move(x,P,C){_.activeBranch&&f(_.activeBranch,x,P,C),_.container=x},next(){return _.activeBranch&&m(_.activeBranch)},registerDep(x,P){const C=!!_.pendingBranch;C&&_.deps++;const V=x.vnode.el;x.asyncDep.catch(I=>{Ts(I,x,0)}).then(I=>{if(x.isUnmounted||_.isUnmounted||_.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:M}=x;Fd(x,I,!1),V&&(M.el=V);const O=!V&&x.subTree.el;P(x,M,g(V||x.subTree.el),V?null:m(x.subTree),_,o,r),O&&p(O),Jf(x,M.el),C&&--_.deps===0&&_.resolve()})},unmount(x,P){_.isUnmounted=!0,_.activeBranch&&v(_.activeBranch,n,x,P),_.pendingBranch&&v(_.pendingBranch,n,x,P)}};return _}function wk(e,t,n,i,a,s,o,l,r){const c=t.suspense=th(t,i,n,e.parentNode,document.createElement("div"),null,a,s,o,l,!0),u=r(e,c.pendingBranch=t.ssContent,n,c,s,o);return c.deps===0&&c.resolve(!1,!0),u}function kk(e){const{shapeFlag:t,children:n}=e,i=t&32;e.ssContent=Kv(i?n.default:n),e.ssFallback=i?Kv(n.fallback):h(vn)}function Kv(e){let t;if(je(e)){const n=_s&&e._c;n&&(e._d=!1,me()),e=e(),n&&(e._d=!0,t=Ln,tb())}return Be(e)&&(e=vk(e)),e=Wn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ay(e,t){t&&t.pendingBranch?Be(e)?t.effects.push(...e):t.effects.push(e):dc(e)}function co(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e,a=n.el=t.el;i&&i.subTree===n&&(i.vnode.el=a,Jf(i,a))}function Ck(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Jt(e,t){return er(e,null,t)}function Ty(e,t){return er(e,null,{flush:"post"})}function Pk(e,t){return er(e,null,{flush:"sync"})}const Cr={};function _e(e,t,n){return er(e,t,n)}function er(e,t,{immediate:n,deep:i,flush:a,onTrack:s,onTrigger:o}=pt){var l;const r=ly()===((l=qt)==null?void 0:l.scope)?qt:null;let c,u=!1,d=!1;if(jt(e)?(c=()=>e.value,u=wl(e)):ds(e)?(c=()=>e,i=!0):Be(e)?(d=!0,u=e.some(_=>ds(_)||wl(_)),c=()=>e.map(_=>{if(jt(_))return _.value;if(ds(_))return os(_);if(je(_))return Gi(_,r,2)})):je(e)?t?c=()=>Gi(e,r,2):c=()=>{if(!(r&&r.isUnmounted))return f&&f(),Yn(e,r,3,[v])}:c=vi,t&&i){const _=c;c=()=>os(_())}let f,v=_=>{f=b.onStop=()=>{Gi(_,r,4),f=b.onStop=void 0}},m;if(ho)if(v=vi,t?n&&Yn(t,r,3,[c(),d?[]:void 0,v]):c(),a==="sync"){const _=db();m=_.__watcherHandles||(_.__watcherHandles=[])}else return vi;let g=d?new Array(e.length).fill(Cr):Cr;const p=()=>{if(b.active)if(t){const _=b.run();(i||u||(d?_.some((x,P)=>Pa(x,g[P])):Pa(_,g)))&&(f&&f(),Yn(t,r,3,[_,g===Cr?void 0:d&&g[0]===Cr?[]:g,v]),g=_)}else b.run()};p.allowRecurse=!!t;let y;a==="sync"?y=p:a==="post"?y=()=>hn(p,r&&r.suspense):(p.pre=!0,r&&(p.id=r.uid),y=()=>Kc(p));const b=new uo(c,y);t?n?p():g=b.run():a==="post"?hn(b.run.bind(b),r&&r.suspense):b.run();const S=()=>{b.stop(),r&&r.scope&&$f(r.scope.effects,b)};return m&&m.push(S),S}function Ik(e,t,n){const i=this.proxy,a=Et(e)?e.includes(".")?My(i,e):()=>i[e]:e.bind(i,i);let s;je(t)?s=t:(s=t.handler,n=t);const o=qt;Ma(this);const l=er(a,s.bind(i),n);return o?Ma(o):wa(),l}function My(e,t){const n=t.split(".");return()=>{let i=e;for(let a=0;a{os(n,t)});else if(iy(e))for(const n in e)os(e[n],t);return e}function ft(e,t){const n=cn;if(n===null)return e;const i=nu(n)||n.proxy,a=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),an(()=>{e.isUnmounting=!0}),e}const ei=[Function,Array],ih={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ei,onEnter:ei,onAfterEnter:ei,onEnterCancelled:ei,onBeforeLeave:ei,onLeave:ei,onAfterLeave:ei,onLeaveCancelled:ei,onBeforeAppear:ei,onAppear:ei,onAfterAppear:ei,onAppearCancelled:ei},Vk={name:"BaseTransition",props:ih,setup(e,{slots:t}){const n=Di(),i=nh();let a;return()=>{const s=t.default&&Zc(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const g of s)if(g.type!==vn){o=g;break}}const l=Ye(e),{mode:r}=l;if(i.isLeaving)return Zu(o);const c=Gv(o);if(!c)return Zu(o);const u=fo(c,l,i,n);bs(c,u);const d=n.subTree,f=d&&Gv(d);let v=!1;const{getTransitionKey:m}=c.type;if(m){const g=m();a===void 0?a=g:g!==a&&(a=g,v=!0)}if(f&&f.type!==vn&&(!hi(c,f)||v)){const g=fo(f,l,i,n);if(bs(f,g),r==="out-in")return i.isLeaving=!0,g.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},Zu(o);r==="in-out"&&c.type!==vn&&(g.delayLeave=(p,y,b)=>{const S=Dy(i,f);S[String(f.key)]=f,p[ga]=()=>{y(),p[ga]=void 0,delete u.delayedLeave},u.delayedLeave=b})}return o}}},Ey=Vk;function Dy(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function fo(e,t,n,i){const{appear:a,mode:s,persisted:o=!1,onBeforeEnter:l,onEnter:r,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:g,onAppear:p,onAfterAppear:y,onAppearCancelled:b}=t,S=String(e.key),_=Dy(n,e),x=(V,I)=>{V&&Yn(V,i,9,I)},P=(V,I)=>{const M=I[1];x(V,I),Be(V)?V.every(O=>O.length<=1)&&M():V.length<=1&&M()},C={mode:s,persisted:o,beforeEnter(V){let I=l;if(!n.isMounted)if(a)I=g||l;else return;V[ga]&&V[ga](!0);const M=_[S];M&&hi(e,M)&&M.el[ga]&&M.el[ga](),x(I,[V])},enter(V){let I=r,M=c,O=u;if(!n.isMounted)if(a)I=p||r,M=y||c,O=b||u;else return;let D=!1;const N=V[Pr]=j=>{D||(D=!0,j?x(O,[V]):x(M,[V]),C.delayedLeave&&C.delayedLeave(),V[Pr]=void 0)};I?P(I,[V,N]):N()},leave(V,I){const M=String(e.key);if(V[Pr]&&V[Pr](!0),n.isUnmounting)return I();x(d,[V]);let O=!1;const D=V[ga]=N=>{O||(O=!0,I(),N?x(m,[V]):x(v,[V]),V[ga]=void 0,_[M]===e&&delete _[M])};_[M]=e,f?P(f,[V,D]):D()},clone(V){return fo(V,t,n,i)}};return C}function Zu(e){if(tr(e))return e=gi(e),e.children=null,e}function Gv(e){return tr(e)?e.children?e.children[0]:void 0:e}function bs(e,t){e.shapeFlag&6&&e.component?bs(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Zc(e,t=!1,n){let i=[],a=0;for(let s=0;s1)for(let s=0;sMt({name:e.name},t,{setup:e}))():e}const fs=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ak(e){je(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:a=200,timeout:s,suspensible:o=!0,onError:l}=e;let r=null,c,u=0;const d=()=>(u++,r=null,f()),f=()=>{let v;return r||(v=r=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((g,p)=>{l(m,()=>g(d()),()=>p(m),u+1)});throw m}).then(m=>v!==r&&r?r:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return La({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const v=qt;if(c)return()=>Ju(c,v);const m=b=>{r=null,Ts(b,v,13,!i)};if(o&&v.suspense||ho)return f().then(b=>()=>Ju(b,v)).catch(b=>(m(b),()=>i?h(i,{error:b}):null));const g=Z(!1),p=Z(),y=Z(!!a);return a&&setTimeout(()=>{y.value=!1},a),s!=null&&setTimeout(()=>{if(!g.value&&!p.value){const b=new Error(`Async component timed out after ${s}ms.`);m(b),p.value=b}},s),f().then(()=>{g.value=!0,v.parent&&tr(v.parent.vnode)&&Kc(v.parent.update)}).catch(b=>{m(b),p.value=b}),()=>{if(g.value&&c)return Ju(c,v);if(p.value&&i)return h(i,{error:p.value});if(n&&!y.value)return h(n)}}})}function Ju(e,t){const{ref:n,props:i,children:a,ce:s}=t.vnode,o=h(e,i,a);return o.ref=n,o.ce=s,delete t.vnode.ce,o}const tr=e=>e.type.__isKeepAlive,Tk={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Di(),i=n.ctx;if(!i.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const a=new Map,s=new Set;let o=null;const l=n.suspense,{renderer:{p:r,m:c,um:u,o:{createElement:d}}}=i,f=d("div");i.activate=(b,S,_,x,P)=>{const C=b.component;c(b,S,_,0,l),r(C.vnode,b,S,_,C,l,x,b.slotScopeIds,P),hn(()=>{C.isDeactivated=!1,C.a&&lo(C.a);const V=b.props&&b.props.onVnodeMounted;V&&On(V,C.parent,b)},l)},i.deactivate=b=>{const S=b.component;c(b,f,null,1,l),hn(()=>{S.da&&lo(S.da);const _=b.props&&b.props.onVnodeUnmounted;_&&On(_,S.parent,b),S.isDeactivated=!0},l)};function v(b){Qu(b),u(b,n,l,!0)}function m(b){a.forEach((S,_)=>{const x=zd(S.type);x&&(!b||!b(x))&&g(_)})}function g(b){const S=a.get(b);!o||!hi(S,o)?v(S):o&&Qu(o),a.delete(b),s.delete(b)}_e(()=>[e.include,e.exclude],([b,S])=>{b&&m(_=>el(b,_)),S&&m(_=>!el(S,_))},{flush:"post",deep:!0});let p=null;const y=()=>{p!=null&&a.set(p,ed(n.subTree))};return _t(y),eu(y),an(()=>{a.forEach(b=>{const{subTree:S,suspense:_}=n,x=ed(S);if(b.type===x.type&&b.key===x.key){Qu(x);const P=x.component.da;P&&hn(P,_);return}v(b)})}),()=>{if(p=null,!t.default)return null;const b=t.default(),S=b[0];if(b.length>1)return o=null,b;if(!Xi(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return o=null,S;let _=ed(S);const x=_.type,P=zd(fs(_)?_.type.__asyncResolved||{}:x),{include:C,exclude:V,max:I}=e;if(C&&(!P||!el(C,P))||V&&P&&el(V,P))return o=_,S;const M=_.key==null?x:_.key,O=a.get(M);return _.el&&(_=gi(_),S.shapeFlag&128&&(S.ssContent=_)),p=M,O?(_.el=O.el,_.component=O.component,_.transition&&bs(_,_.transition),_.shapeFlag|=512,s.delete(M),s.add(M)):(s.add(M),I&&s.size>parseInt(I,10)&&g(s.values().next().value)),_.shapeFlag|=256,o=_,Vy(S.type)?S:_}}},Mk=Tk;function el(e,t){return Be(e)?e.some(n=>el(n,t)):Et(e)?e.split(",").includes(t):fw(e)?e.test(t):!1}function ah(e,t){Oy(e,"a",t)}function sh(e,t){Oy(e,"da",t)}function Oy(e,t,n=qt){const i=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Jc(t,i,n),n){let a=n.parent;for(;a&&a.parent;)tr(a.parent.vnode)&&Ek(i,t,n,a),a=a.parent}}function Ek(e,t,n,i){const a=Jc(t,e,i,!0);Ms(()=>{$f(i[t],a)},n)}function Qu(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ed(e){return e.shapeFlag&128?e.ssContent:e}function Jc(e,t,n=qt,i=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Io(),Ma(n);const l=Yn(t,n,e,o);return wa(),Vo(),l});return i?a.unshift(s):a.push(s),s}}const ea=e=>(t,n=qt)=>(!ho||e==="sp")&&Jc(e,(...i)=>t(...i),n),nr=ea("bm"),_t=ea("m"),Qc=ea("bu"),eu=ea("u"),an=ea("bum"),Ms=ea("um"),Ry=ea("sp"),Ly=ea("rtg"),By=ea("rtc");function Ny(e,t=qt){Jc("ec",e,t)}function At(e,t,n,i){let a;const s=n&&n[i];if(Be(e)||Et(e)){a=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,s&&s[l]));else{const o=Object.keys(e);a=new Array(o.length);for(let l=0,r=o.length;l{const s=i.fn(...a);return s&&(s.key=i.key),s}:i.fn)}return e}function Fy(e,t,n={},i,a){if(cn.isCE||cn.parent&&fs(cn.parent)&&cn.parent.isCE)return t!=="default"&&(n.name=t),h("slot",n,i&&i());let s=e[t];s&&s._c&&(s._d=!1),me();const o=s&&$y(s(n)),l=Tt(Pe,{key:n.key||o&&o.key||`_${t}`},o||(i?i():[]),o&&e._===1?64:-2);return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function $y(e){return e.some(t=>Xi(t)?!(t.type===vn||t.type===Pe&&!$y(t.children)):!0)?e:null}function Ok(e,t){const n={};for(const i in e)n[t&&/[A-Z]/.test(i)?`on:${i}`:cl(i)]=e[i];return n}const Ed=e=>e?ob(e)?nu(e)||e.proxy:Ed(e.parent):null,ul=Mt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ed(e.parent),$root:e=>Ed(e.root),$emit:e=>e.emit,$options:e=>oh(e),$forceUpdate:e=>e.f||(e.f=()=>Kc(e.update)),$nextTick:e=>e.n||(e.n=Ze.bind(e.proxy)),$watch:e=>Ik.bind(e)}),td=(e,t)=>e!==pt&&!e.__isScriptSetup&&it(e,t),Dd={get({_:e},t){const{ctx:n,setupState:i,data:a,props:s,accessCache:o,type:l,appContext:r}=e;let c;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return i[t];case 2:return a[t];case 4:return n[t];case 3:return s[t]}else{if(td(i,t))return o[t]=1,i[t];if(a!==pt&&it(a,t))return o[t]=2,a[t];if((c=e.propsOptions[0])&&it(c,t))return o[t]=3,s[t];if(n!==pt&&it(n,t))return o[t]=4,n[t];Od&&(o[t]=0)}}const u=ul[t];let d,f;if(u)return t==="$attrs"&&Nn(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==pt&&it(n,t))return o[t]=4,n[t];if(f=r.config.globalProperties,it(f,t))return f[t]},set({_:e},t,n){const{data:i,setupState:a,ctx:s}=e;return td(a,t)?(a[t]=n,!0):i!==pt&&it(i,t)?(i[t]=n,!0):it(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:a,propsOptions:s}},o){let l;return!!n[o]||e!==pt&&it(e,o)||td(t,o)||(l=s[0])&&it(l,o)||it(i,o)||it(ul,o)||it(a.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:it(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Rk=Mt({},Dd,{get(e,t){if(t!==Symbol.unscopables)return Dd.get(e,t,e)},has(e,t){return t[0]!=="_"&&!pw(t)}});function Lk(){return null}function Bk(){return null}function Nk(e){}function Fk(e){}function $k(){return null}function zk(){}function Hk(e,t){return null}function jk(){return zy().slots}function Wk(){return zy().attrs}function Uk(e,t,n){const i=Di();if(n&&n.local){const a=Z(e[t]);return _e(()=>e[t],s=>a.value=s),_e(a,s=>{s!==e[t]&&i.emit(`update:${t}`,s)}),a}else return{__v_isRef:!0,get value(){return e[t]},set value(a){i.emit(`update:${t}`,a)}}}function zy(){const e=Di();return e.setupContext||(e.setupContext=cb(e))}function Al(e){return Be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Yk(e,t){const n=Al(e);for(const i in t){if(i.startsWith("__skip"))continue;let a=n[i];a?Be(a)||je(a)?a=n[i]={type:a,default:t[i]}:a.default=t[i]:a===null&&(a=n[i]={default:t[i]}),a&&t[`__skip_${i}`]&&(a.skipFactory=!0)}return n}function Kk(e,t){return!e||!t?e||t:Be(e)&&Be(t)?e.concat(t):Mt({},Al(e),Al(t))}function Gk(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n}function Xk(e){const t=Di();let n=e();return wa(),zf(n)&&(n=n.catch(i=>{throw Ma(t),i})),[n,()=>Ma(t)]}let Od=!0;function qk(e){const t=oh(e),n=e.proxy,i=e.ctx;Od=!1,t.beforeCreate&&Xv(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:o,watch:l,provide:r,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:v,updated:m,activated:g,deactivated:p,beforeDestroy:y,beforeUnmount:b,destroyed:S,unmounted:_,render:x,renderTracked:P,renderTriggered:C,errorCaptured:V,serverPrefetch:I,expose:M,inheritAttrs:O,components:D,directives:N,filters:j}=t;if(c&&Zk(c,i,null),o)for(const J in o){const B=o[J];je(B)&&(i[J]=B.bind(n))}if(a){const J=a.call(n,n);bt(J)&&(e.data=Ft(J))}if(Od=!0,s)for(const J in s){const B=s[J],G=je(B)?B.bind(n,n):je(B.get)?B.get.bind(n,n):vi,ee=!je(B)&&je(B.set)?B.set.bind(n):vi,le=w({get:G,set:ee});Object.defineProperty(i,J,{enumerable:!0,configurable:!0,get:()=>le.value,set:ce=>le.value=ce})}if(l)for(const J in l)Hy(l[J],i,n,J);if(r){const J=je(r)?r.call(n):r;Reflect.ownKeys(J).forEach(B=>{lt(B,J[B])})}u&&Xv(u,e,"c");function K(J,B){Be(B)?B.forEach(G=>J(G.bind(n))):B&&J(B.bind(n))}if(K(nr,d),K(_t,f),K(Qc,v),K(eu,m),K(ah,g),K(sh,p),K(Ny,V),K(By,P),K(Ly,C),K(an,b),K(Ms,_),K(Ry,I),Be(M))if(M.length){const J=e.exposed||(e.exposed={});M.forEach(B=>{Object.defineProperty(J,B,{get:()=>n[B],set:G=>n[B]=G})})}else e.exposed||(e.exposed={});x&&e.render===vi&&(e.render=x),O!=null&&(e.inheritAttrs=O),D&&(e.components=D),N&&(e.directives=N)}function Zk(e,t,n=vi){Be(e)&&(e=Rd(e));for(const i in e){const a=e[i];let s;bt(a)?"default"in a?s=Ke(a.from||i,a.default,!0):s=Ke(a.from||i):s=Ke(a),jt(s)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[i]=s}}function Xv(e,t,n){Yn(Be(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Hy(e,t,n,i){const a=i.includes(".")?My(n,i):()=>n[i];if(Et(e)){const s=t[e];je(s)&&_e(a,s)}else if(je(e))_e(a,e.bind(n));else if(bt(e))if(Be(e))e.forEach(s=>Hy(s,t,n,i));else{const s=je(e.handler)?e.handler.bind(n):t[e.handler];je(s)&&_e(a,s,e)}}function oh(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,l=s.get(t);let r;return l?r=l:!a.length&&!n&&!i?r=t:(r={},a.length&&a.forEach(c=>hc(r,c,o,!0)),hc(r,t,o)),bt(t)&&s.set(t,r),r}function hc(e,t,n,i=!1){const{mixins:a,extends:s}=t;s&&hc(e,s,n,!0),a&&a.forEach(o=>hc(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const l=Jk[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Jk={data:qv,props:Zv,emits:Zv,methods:tl,computed:tl,beforeCreate:kn,created:kn,beforeMount:kn,mounted:kn,beforeUpdate:kn,updated:kn,beforeDestroy:kn,beforeUnmount:kn,destroyed:kn,unmounted:kn,activated:kn,deactivated:kn,errorCaptured:kn,serverPrefetch:kn,components:tl,directives:tl,watch:e1,provide:qv,inject:Qk};function qv(e,t){return t?e?function(){return Mt(je(e)?e.call(this,this):e,je(t)?t.call(this,this):t)}:t:e}function Qk(e,t){return tl(Rd(e),Rd(t))}function Rd(e){if(Be(e)){const t={};for(let n=0;n1)return n&&je(t)?t.call(i&&i.proxy):t}}function i1(){return!!(qt||cn||Tl)}function a1(e,t,n,i=!1){const a={},s={};lc(s,tu,1),e.propsDefaults=Object.create(null),Wy(e,t,a,s);for(const o in e.propsOptions[0])o in a||(a[o]=void 0);n?e.props=i?a:Yf(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function s1(e,t,n,i){const{props:a,attrs:s,vnode:{patchFlag:o}}=e,l=Ye(a),[r]=e.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{r=!0;const[f,v]=Uy(d,t,!0);Mt(o,f),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!r)return bt(e)&&i.set(e,so),so;if(Be(s))for(let u=0;u-1,v[1]=g<0||m-1||it(v,"default"))&&l.push(d)}}}const c=[o,l];return bt(e)&&i.set(e,c),c}function Jv(e){return e[0]!=="$"}function Qv(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function em(e,t){return Qv(e)===Qv(t)}function tm(e,t){return Be(t)?t.findIndex(n=>em(n,e)):je(t)&&em(t,e)?0:-1}const Yy=e=>e[0]==="_"||e==="$stable",lh=e=>Be(e)?e.map(Wn):[Wn(e)],o1=(e,t,n)=>{if(t._n)return t;const i=se((...a)=>lh(t(...a)),n);return i._c=!1,i},Ky=(e,t,n)=>{const i=e._ctx;for(const a in e){if(Yy(a))continue;const s=e[a];if(je(s))t[a]=o1(a,s,i);else if(s!=null){const o=lh(s);t[a]=()=>o}}},Gy=(e,t)=>{const n=lh(t);e.slots.default=()=>n},l1=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ye(t),lc(t,"_",n)):Ky(t,e.slots={})}else e.slots={},t&&Gy(e,t);lc(e.slots,tu,1)},r1=(e,t,n)=>{const{vnode:i,slots:a}=e;let s=!0,o=pt;if(i.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:(Mt(a,t),!n&&l===1&&delete a._):(s=!t.$stable,Ky(t,a)),o=t}else t&&(Gy(e,t),o={default:1});if(s)for(const l in a)!Yy(l)&&o[l]==null&&delete a[l]};function vc(e,t,n,i,a=!1){if(Be(e)){e.forEach((f,v)=>vc(f,t&&(Be(t)?t[v]:t),n,i,a));return}if(fs(i)&&!a)return;const s=i.shapeFlag&4?nu(i.component)||i.component.proxy:i.el,o=a?null:s,{i:l,r}=e,c=t&&t.r,u=l.refs===pt?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==r&&(Et(c)?(u[c]=null,it(d,c)&&(d[c]=null)):jt(c)&&(c.value=null)),je(r))Gi(r,l,12,[o,u]);else{const f=Et(r),v=jt(r);if(f||v){const m=()=>{if(e.f){const g=f?it(d,r)?d[r]:u[r]:r.value;a?Be(g)&&$f(g,s):Be(g)?g.includes(s)||g.push(s):f?(u[r]=[s],it(d,r)&&(d[r]=u[r])):(r.value=[s],e.k&&(u[e.k]=r.value))}else f?(u[r]=o,it(d,r)&&(d[r]=o)):v&&(r.value=o,e.k&&(u[e.k]=o))};o?(m.id=-1,hn(m,n)):m()}}}let ua=!1;const Ir=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Vr=e=>e.nodeType===8;function c1(e){const{mt:t,p:n,o:{patchProp:i,createText:a,nextSibling:s,parentNode:o,remove:l,insert:r,createComment:c}}=e,u=(S,_)=>{if(!_.hasChildNodes()){n(null,S,_),fc(),_._vnode=S;return}ua=!1,d(_.firstChild,S,null,null,null),fc(),_._vnode=S,ua&&console.error("Hydration completed but contains mismatches.")},d=(S,_,x,P,C,V=!1)=>{const I=Vr(S)&&S.data==="[",M=()=>g(S,_,x,P,C,I),{type:O,ref:D,shapeFlag:N,patchFlag:j}=_;let Y=S.nodeType;_.el=S,j===-2&&(V=!1,_.dynamicChildren=null);let K=null;switch(O){case Ta:Y!==3?_.children===""?(r(_.el=a(""),o(S),S),K=S):K=M():(S.data!==_.children&&(ua=!0,S.data=_.children),K=s(S));break;case vn:b(S)?(K=s(S),y(_.el=S.content.firstChild,S,x)):Y!==8||I?K=M():K=s(S);break;case hs:if(I&&(S=s(S),Y=S.nodeType),Y===1||Y===3){K=S;const J=!_.children.length;for(let B=0;B<_.staticCount;B++)J&&(_.children+=K.nodeType===1?K.outerHTML:K.data),B===_.staticCount-1&&(_.anchor=K),K=s(K);return I?s(K):K}else M();break;case Pe:I?K=m(S,_,x,P,C,V):K=M();break;default:if(N&1)(Y!==1||_.type.toLowerCase()!==S.tagName.toLowerCase())&&!b(S)?K=M():K=f(S,_,x,P,C,V);else if(N&6){_.slotScopeIds=C;const J=o(S);if(I?K=p(S):Vr(S)&&S.data==="teleport start"?K=p(S,S.data,"teleport end"):K=s(S),t(_,J,null,x,P,Ir(J),V),fs(_)){let B;I?(B=h(Pe),B.anchor=K?K.previousSibling:J.lastChild):B=S.nodeType===3?Xe(""):h("div"),B.el=S,_.component.subTree=B}}else N&64?Y!==8?K=M():K=_.type.hydrate(S,_,x,P,C,V,e,v):N&128&&(K=_.type.hydrate(S,_,x,P,Ir(o(S)),C,V,e,d))}return D!=null&&vc(D,null,P,_),K},f=(S,_,x,P,C,V)=>{V=V||!!_.dynamicChildren;const{type:I,props:M,patchFlag:O,shapeFlag:D,dirs:N,transition:j}=_,Y=I==="input"||I==="option";if(Y||O!==-1){N&&Pi(_,null,x,"created");let K=!1;if(b(S)){K=Jy(P,j)&&x&&x.vnode.props&&x.vnode.props.appear;const B=S.content.firstChild;K&&j.beforeEnter(B),y(B,S,x),_.el=S=B}if(M)if(Y||!V||O&48)for(const B in M)(Y&&(B.endsWith("value")||B==="indeterminate")||Zl(B)&&!rl(B)||B[0]===".")&&i(S,B,null,M[B],!1,void 0,x);else M.onClick&&i(S,"onClick",null,M.onClick,!1,void 0,x);let J;if((J=M&&M.onVnodeBeforeMount)&&On(J,x,_),N&&Pi(_,null,x,"beforeMount"),((J=M&&M.onVnodeMounted)||N||K)&&Ay(()=>{J&&On(J,x,_),K&&j.enter(S),N&&Pi(_,null,x,"mounted")},P),D&16&&!(M&&(M.innerHTML||M.textContent))){let B=v(S.firstChild,_,S,x,P,C,V);for(;B;){ua=!0;const G=B;B=B.nextSibling,l(G)}}else D&8&&S.textContent!==_.children&&(ua=!0,S.textContent=_.children)}return S.nextSibling},v=(S,_,x,P,C,V,I)=>{I=I||!!_.dynamicChildren;const M=_.children,O=M.length;for(let D=0;D{const{slotScopeIds:I}=_;I&&(C=C?C.concat(I):I);const M=o(S),O=v(s(S),_,M,x,P,C,V);return O&&Vr(O)&&O.data==="]"?s(_.anchor=O):(ua=!0,r(_.anchor=c("]"),M,O),O)},g=(S,_,x,P,C,V)=>{if(ua=!0,_.el=null,V){const O=p(S);for(;;){const D=s(S);if(D&&D!==O)l(D);else break}}const I=s(S),M=o(S);return l(S),n(null,_,M,I,x,P,Ir(M),C),I},p=(S,_="[",x="]")=>{let P=0;for(;S;)if(S=s(S),S&&Vr(S)&&(S.data===_&&P++,S.data===x)){if(P===0)return s(S);P--}return S},y=(S,_,x)=>{const P=_.parentNode;P&&P.replaceChild(S,_);let C=x;for(;C;)C.vnode.el===_&&(C.vnode.el=C.subTree.el=S),C=C.parent},b=S=>S.nodeType===1&&S.tagName.toLowerCase()==="template";return[u,d]}const hn=Ay;function Xy(e){return Zy(e)}function qy(e){return Zy(e,c1)}function Zy(e,t){const n=Id();n.__VUE__=!0;const{insert:i,remove:a,patchProp:s,createElement:o,createText:l,createComment:r,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:v=vi,insertStaticContent:m}=e,g=(E,R,F,q=null,oe=null,he=null,we=!1,xe=null,Ve=!!R.dynamicChildren)=>{if(E===R)return;E&&!hi(E,R)&&(q=U(E),ce(E,oe,he,!0),E=null),R.patchFlag===-2&&(Ve=!1,R.dynamicChildren=null);const{type:pe,ref:Ne,shapeFlag:Le}=R;switch(pe){case Ta:p(E,R,F,q);break;case vn:y(E,R,F,q);break;case hs:E==null&&b(R,F,q,we);break;case Pe:D(E,R,F,q,oe,he,we,xe,Ve);break;default:Le&1?x(E,R,F,q,oe,he,we,xe,Ve):Le&6?N(E,R,F,q,oe,he,we,xe,Ve):(Le&64||Le&128)&&pe.process(E,R,F,q,oe,he,we,xe,Ve,ie)}Ne!=null&&oe&&vc(Ne,E&&E.ref,he,R||E,!R)},p=(E,R,F,q)=>{if(E==null)i(R.el=l(R.children),F,q);else{const oe=R.el=E.el;R.children!==E.children&&c(oe,R.children)}},y=(E,R,F,q)=>{E==null?i(R.el=r(R.children||""),F,q):R.el=E.el},b=(E,R,F,q)=>{[E.el,E.anchor]=m(E.children,R,F,q,E.el,E.anchor)},S=({el:E,anchor:R},F,q)=>{let oe;for(;E&&E!==R;)oe=f(E),i(E,F,q),E=oe;i(R,F,q)},_=({el:E,anchor:R})=>{let F;for(;E&&E!==R;)F=f(E),a(E),E=F;a(R)},x=(E,R,F,q,oe,he,we,xe,Ve)=>{we=we||R.type==="svg",E==null?P(R,F,q,oe,he,we,xe,Ve):I(E,R,oe,he,we,xe,Ve)},P=(E,R,F,q,oe,he,we,xe)=>{let Ve,pe;const{type:Ne,props:Le,shapeFlag:Fe,transition:Ue,dirs:qe}=E;if(Ve=E.el=o(E.type,he,Le&&Le.is,Le),Fe&8?u(Ve,E.children):Fe&16&&V(E.children,Ve,null,q,oe,he&&Ne!=="foreignObject",we,xe),qe&&Pi(E,null,q,"created"),C(Ve,E,E.scopeId,we,q),Le){for(const rt in Le)rt!=="value"&&!rl(rt)&&s(Ve,rt,null,Le[rt],he,E.children,q,oe,te);"value"in Le&&s(Ve,"value",null,Le.value),(pe=Le.onVnodeBeforeMount)&&On(pe,q,E)}qe&&Pi(E,null,q,"beforeMount");const gt=Jy(oe,Ue);gt&&Ue.beforeEnter(Ve),i(Ve,R,F),((pe=Le&&Le.onVnodeMounted)||gt||qe)&&hn(()=>{pe&&On(pe,q,E),gt&&Ue.enter(Ve),qe&&Pi(E,null,q,"mounted")},oe)},C=(E,R,F,q,oe)=>{if(F&&v(E,F),q)for(let he=0;he{for(let pe=Ve;pe{const xe=R.el=E.el;let{patchFlag:Ve,dynamicChildren:pe,dirs:Ne}=R;Ve|=E.patchFlag&16;const Le=E.props||pt,Fe=R.props||pt;let Ue;F&&Xa(F,!1),(Ue=Fe.onVnodeBeforeUpdate)&&On(Ue,F,R,E),Ne&&Pi(R,E,F,"beforeUpdate"),F&&Xa(F,!0);const qe=oe&&R.type!=="foreignObject";if(pe?M(E.dynamicChildren,pe,xe,F,q,qe,he):we||B(E,R,xe,null,F,q,qe,he,!1),Ve>0){if(Ve&16)O(xe,R,Le,Fe,F,q,oe);else if(Ve&2&&Le.class!==Fe.class&&s(xe,"class",null,Fe.class,oe),Ve&4&&s(xe,"style",Le.style,Fe.style,oe),Ve&8){const gt=R.dynamicProps;for(let rt=0;rt{Ue&&On(Ue,F,R,E),Ne&&Pi(R,E,F,"updated")},q)},M=(E,R,F,q,oe,he,we)=>{for(let xe=0;xe{if(F!==q){if(F!==pt)for(const xe in F)!rl(xe)&&!(xe in q)&&s(E,xe,F[xe],null,we,R.children,oe,he,te);for(const xe in q){if(rl(xe))continue;const Ve=q[xe],pe=F[xe];Ve!==pe&&xe!=="value"&&s(E,xe,pe,Ve,we,R.children,oe,he,te)}"value"in q&&s(E,"value",F.value,q.value)}},D=(E,R,F,q,oe,he,we,xe,Ve)=>{const pe=R.el=E?E.el:l(""),Ne=R.anchor=E?E.anchor:l("");let{patchFlag:Le,dynamicChildren:Fe,slotScopeIds:Ue}=R;Ue&&(xe=xe?xe.concat(Ue):Ue),E==null?(i(pe,F,q),i(Ne,F,q),V(R.children,F,Ne,oe,he,we,xe,Ve)):Le>0&&Le&64&&Fe&&E.dynamicChildren?(M(E.dynamicChildren,Fe,F,oe,he,we,xe),(R.key!=null||oe&&R===oe.subTree)&&rh(E,R,!0)):B(E,R,F,Ne,oe,he,we,xe,Ve)},N=(E,R,F,q,oe,he,we,xe,Ve)=>{R.slotScopeIds=xe,E==null?R.shapeFlag&512?oe.ctx.activate(R,F,q,we,Ve):j(R,F,q,oe,he,we,Ve):Y(E,R,Ve)},j=(E,R,F,q,oe,he,we)=>{const xe=E.component=sb(E,q,oe);if(tr(E)&&(xe.ctx.renderer=ie),lb(xe),xe.asyncDep){if(oe&&oe.registerDep(xe,K),!E.el){const Ve=xe.subTree=h(vn);y(null,Ve,R,F)}return}K(xe,E,R,F,oe,he,we)},Y=(E,R,F)=>{const q=R.component=E.component;if(pk(E,R,F))if(q.asyncDep&&!q.asyncResolved){J(q,R,F);return}else q.next=R,uk(q.update),q.update();else R.el=E.el,q.vnode=R},K=(E,R,F,q,oe,he,we)=>{const xe=()=>{if(E.isMounted){let{next:Ne,bu:Le,u:Fe,parent:Ue,vnode:qe}=E,gt=Ne,rt;Xa(E,!1),Ne?(Ne.el=qe.el,J(E,Ne,we)):Ne=qe,Le&&lo(Le),(rt=Ne.props&&Ne.props.onVnodeBeforeUpdate)&&On(rt,Ue,Ne,qe),Xa(E,!0);const Bt=Qr(E),An=E.subTree;E.subTree=Bt,g(An,Bt,d(An.el),U(An),E,oe,he),Ne.el=Bt.el,gt===null&&Jf(E,Bt.el),Fe&&hn(Fe,oe),(rt=Ne.props&&Ne.props.onVnodeUpdated)&&hn(()=>On(rt,Ue,Ne,qe),oe)}else{let Ne;const{el:Le,props:Fe}=R,{bm:Ue,m:qe,parent:gt}=E,rt=fs(R);if(Xa(E,!1),Ue&&lo(Ue),!rt&&(Ne=Fe&&Fe.onVnodeBeforeMount)&&On(Ne,gt,R),Xa(E,!0),Le&&Ie){const Bt=()=>{E.subTree=Qr(E),Ie(Le,E.subTree,E,oe,null)};rt?R.type.__asyncLoader().then(()=>!E.isUnmounted&&Bt()):Bt()}else{const Bt=E.subTree=Qr(E);g(null,Bt,F,q,E,oe,he),R.el=Bt.el}if(qe&&hn(qe,oe),!rt&&(Ne=Fe&&Fe.onVnodeMounted)){const Bt=R;hn(()=>On(Ne,gt,Bt),oe)}(R.shapeFlag&256||gt&&fs(gt.vnode)&>.vnode.shapeFlag&256)&&E.a&&hn(E.a,oe),E.isMounted=!0,R=F=q=null}},Ve=E.effect=new uo(xe,()=>Kc(pe),E.scope),pe=E.update=()=>Ve.run();pe.id=E.uid,Xa(E,!0),pe()},J=(E,R,F)=>{R.component=E;const q=E.vnode.props;E.vnode=R,E.next=null,s1(E,R.props,q,F),r1(E,R.children,F),Io(),Wv(E),Vo()},B=(E,R,F,q,oe,he,we,xe,Ve=!1)=>{const pe=E&&E.children,Ne=E?E.shapeFlag:0,Le=R.children,{patchFlag:Fe,shapeFlag:Ue}=R;if(Fe>0){if(Fe&128){ee(pe,Le,F,q,oe,he,we,xe,Ve);return}else if(Fe&256){G(pe,Le,F,q,oe,he,we,xe,Ve);return}}Ue&8?(Ne&16&&te(pe,oe,he),Le!==pe&&u(F,Le)):Ne&16?Ue&16?ee(pe,Le,F,q,oe,he,we,xe,Ve):te(pe,oe,he,!0):(Ne&8&&u(F,""),Ue&16&&V(Le,F,q,oe,he,we,xe,Ve))},G=(E,R,F,q,oe,he,we,xe,Ve)=>{E=E||so,R=R||so;const pe=E.length,Ne=R.length,Le=Math.min(pe,Ne);let Fe;for(Fe=0;FeNe?te(E,oe,he,!0,!1,Le):V(R,F,q,oe,he,we,xe,Ve,Le)},ee=(E,R,F,q,oe,he,we,xe,Ve)=>{let pe=0;const Ne=R.length;let Le=E.length-1,Fe=Ne-1;for(;pe<=Le&&pe<=Fe;){const Ue=E[pe],qe=R[pe]=Ve?pa(R[pe]):Wn(R[pe]);if(hi(Ue,qe))g(Ue,qe,F,null,oe,he,we,xe,Ve);else break;pe++}for(;pe<=Le&&pe<=Fe;){const Ue=E[Le],qe=R[Fe]=Ve?pa(R[Fe]):Wn(R[Fe]);if(hi(Ue,qe))g(Ue,qe,F,null,oe,he,we,xe,Ve);else break;Le--,Fe--}if(pe>Le){if(pe<=Fe){const Ue=Fe+1,qe=UeFe)for(;pe<=Le;)ce(E[pe],oe,he,!0),pe++;else{const Ue=pe,qe=pe,gt=new Map;for(pe=qe;pe<=Fe;pe++){const ze=R[pe]=Ve?pa(R[pe]):Wn(R[pe]);ze.key!=null&>.set(ze.key,pe)}let rt,Bt=0;const An=Fe-qe+1;let Li=!1,$o=0;const Wa=new Array(An);for(pe=0;pe=An){ce(ze,oe,he,!0);continue}let $n;if(ze.key!=null)$n=gt.get(ze.key);else for(rt=qe;rt<=Fe;rt++)if(Wa[rt-qe]===0&&hi(ze,R[rt])){$n=rt;break}$n===void 0?ce(ze,oe,he,!0):(Wa[$n-qe]=pe+1,$n>=$o?$o=$n:Li=!0,g(ze,R[$n],F,null,oe,he,we,xe,Ve),Bt++)}const gr=Li?u1(Wa):so;for(rt=gr.length-1,pe=An-1;pe>=0;pe--){const ze=qe+pe,$n=R[ze],$s=ze+1{const{el:he,type:we,transition:xe,children:Ve,shapeFlag:pe}=E;if(pe&6){le(E.component.subTree,R,F,q);return}if(pe&128){E.suspense.move(R,F,q);return}if(pe&64){we.move(E,R,F,ie);return}if(we===Pe){i(he,R,F);for(let Le=0;Lexe.enter(he),oe);else{const{leave:Le,delayLeave:Fe,afterLeave:Ue}=xe,qe=()=>i(he,R,F),gt=()=>{Le(he,()=>{qe(),Ue&&Ue()})};Fe?Fe(he,qe,gt):gt()}else i(he,R,F)},ce=(E,R,F,q=!1,oe=!1)=>{const{type:he,props:we,ref:xe,children:Ve,dynamicChildren:pe,shapeFlag:Ne,patchFlag:Le,dirs:Fe}=E;if(xe!=null&&vc(xe,null,F,E,!0),Ne&256){R.ctx.deactivate(E);return}const Ue=Ne&1&&Fe,qe=!fs(E);let gt;if(qe&&(gt=we&&we.onVnodeBeforeUnmount)&&On(gt,R,E),Ne&6)Oe(E.component,F,q);else{if(Ne&128){E.suspense.unmount(F,q);return}Ue&&Pi(E,null,R,"beforeUnmount"),Ne&64?E.type.remove(E,R,F,oe,ie,q):pe&&(he!==Pe||Le>0&&Le&64)?te(pe,R,F,!1,!0):(he===Pe&&Le&384||!oe&&Ne&16)&&te(Ve,R,F),q&&ge(E)}(qe&&(gt=we&&we.onVnodeUnmounted)||Ue)&&hn(()=>{gt&&On(gt,R,E),Ue&&Pi(E,null,R,"unmounted")},F)},ge=E=>{const{type:R,el:F,anchor:q,transition:oe}=E;if(R===Pe){Me(F,q);return}if(R===hs){_(E);return}const he=()=>{a(F),oe&&!oe.persisted&&oe.afterLeave&&oe.afterLeave()};if(E.shapeFlag&1&&oe&&!oe.persisted){const{leave:we,delayLeave:xe}=oe,Ve=()=>we(F,he);xe?xe(E.el,he,Ve):Ve()}else he()},Me=(E,R)=>{let F;for(;E!==R;)F=f(E),a(E),E=F;a(R)},Oe=(E,R,F)=>{const{bum:q,scope:oe,update:he,subTree:we,um:xe}=E;q&&lo(q),oe.stop(),he&&(he.active=!1,ce(we,E,R,F)),xe&&hn(xe,R),hn(()=>{E.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},te=(E,R,F,q=!1,oe=!1,he=0)=>{for(let we=he;weE.shapeFlag&6?U(E.component.subTree):E.shapeFlag&128?E.suspense.next():f(E.anchor||E.el),Q=(E,R,F)=>{E==null?R._vnode&&ce(R._vnode,null,null,!0):g(R._vnode||null,E,R,null,null,null,F),Wv(),fc(),R._vnode=E},ie={p:g,um:ce,m:le,r:ge,mt:j,mc:V,pc:B,pbc:M,n:U,o:e};let X,Ie;return t&&([X,Ie]=t(ie)),{render:Q,hydrate:X,createApp:n1(Q,X)}}function Xa({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Jy(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rh(e,t,n=!1){const i=e.children,a=t.children;if(Be(i)&&Be(a))for(let s=0;s>1,e[n[l]]0&&(t[i]=n[s-1]),n[s]=i)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}const d1=e=>e.__isTeleport,dl=e=>e&&(e.disabled||e.disabled===""),nm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Bd=(e,t)=>{const n=e&&e.to;return Et(n)?t?t(n):null:n},f1={name:"Teleport",__isTeleport:!0,process(e,t,n,i,a,s,o,l,r,c){const{mc:u,pc:d,pbc:f,o:{insert:v,querySelector:m,createText:g,createComment:p}}=c,y=dl(t.props);let{shapeFlag:b,children:S,dynamicChildren:_}=t;if(e==null){const x=t.el=g(""),P=t.anchor=g("");v(x,n,i),v(P,n,i);const C=t.target=Bd(t.props,m),V=t.targetAnchor=g("");C&&(v(V,C),o=o||nm(C));const I=(M,O)=>{b&16&&u(S,M,O,a,s,o,l,r)};y?I(n,P):C&&I(C,V)}else{t.el=e.el;const x=t.anchor=e.anchor,P=t.target=e.target,C=t.targetAnchor=e.targetAnchor,V=dl(e.props),I=V?n:P,M=V?x:C;if(o=o||nm(P),_?(f(e.dynamicChildren,_,I,a,s,o,l),rh(e,t,!0)):r||d(e,t,I,M,a,s,o,l,!1),y)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ar(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=Bd(t.props,m);O&&Ar(t,O,null,c,0)}else V&&Ar(t,P,C,c,1)}eb(t)},remove(e,t,n,i,{um:a,o:{remove:s}},o){const{shapeFlag:l,children:r,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&s(u),o&&s(c),l&16){const v=o||!dl(f);for(let m=0;m0?Ln||so:null,tb(),_s>0&&Ln&&Ln.push(e),e}function Te(e,t,n,i,a,s){return nb(be(e,t,n,i,a,s,!0))}function Tt(e,t,n,i,a){return nb(h(e,t,n,i,a,!0))}function Xi(e){return e?e.__v_isVNode===!0:!1}function hi(e,t){return e.type===t.type&&e.key===t.key}function v1(e){}const tu="__vInternal",ib=({key:e})=>e??null,ec=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Et(e)||jt(e)||je(e)?{i:cn,r:e,k:t,f:!!n}:e:null);function be(e,t=null,n=null,i=0,a=null,s=e===Pe?0:1,o=!1,l=!1){const r={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ib(t),ref:t&&ec(t),scopeId:Xc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:cn};return l?(ch(r,n),s&128&&e.normalize(r)):n&&(r.shapeFlag|=Et(n)?8:16),_s>0&&!o&&Ln&&(r.patchFlag>0||s&6)&&r.patchFlag!==32&&Ln.push(r),r}const h=m1;function m1(e,t=null,n=null,i=0,a=null,s=!1){if((!e||e===Iy)&&(e=vn),Xi(e)){const l=gi(e,t,!0);return n&&ch(l,n),_s>0&&!s&&Ln&&(l.shapeFlag&6?Ln[Ln.indexOf(e)]=l:Ln.push(l)),l.patchFlag|=-2,l}if(w1(e)&&(e=e.__vccOpts),t){t=ab(t);let{class:l,style:r}=t;l&&!Et(l)&&(t.class=xt(l)),bt(r)&&(Jl(r)&&!Be(r)&&(r=Mt({},r)),t.style=Ia(r))}const o=Et(e)?1:Vy(e)?128:d1(e)?64:bt(e)?4:je(e)?2:0;return be(e,t,n,i,a,o,s,!0)}function ab(e){return e?Jl(e)||tu in e?Mt({},e):e:null}function gi(e,t,n=!1){const{props:i,ref:a,patchFlag:s,children:o}=e,l=t?ve(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ib(l),ref:t&&t.ref?n&&a?Be(a)?a.concat(ec(t)):[a,ec(t)]:ec(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&gi(e.ssContent),ssFallback:e.ssFallback&&gi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Xe(e=" ",t=0){return h(Ta,null,e,t)}function g1(e,t){const n=h(hs,null,e);return n.staticCount=t,n}function kt(e="",t=!1){return t?(me(),Tt(vn,null,e)):h(vn,null,e)}function Wn(e){return e==null||typeof e=="boolean"?h(vn):Be(e)?h(Pe,null,e.slice()):typeof e=="object"?pa(e):h(Ta,null,String(e))}function pa(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:gi(e)}function ch(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(Be(t))n=16;else if(typeof t=="object")if(i&65){const a=t.default;a&&(a._c&&(a._d=!1),ch(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!(tu in t)?t._ctx=cn:a===3&&cn&&(cn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else je(t)?(t={default:t,_ctx:cn},n=32):(t=String(t),i&64?(n=16,t=[Xe(t)]):n=8);e.children=t,e.shapeFlag|=n}function ve(...e){const t={};for(let n=0;nqt||cn;let uh,Us,im="__VUE_INSTANCE_SETTERS__";(Us=Id()[im])||(Us=Id()[im]=[]),Us.push(e=>qt=e),uh=e=>{Us.length>1?Us.forEach(t=>t(e)):Us[0](e)};const Ma=e=>{uh(e),e.scope.on()},wa=()=>{qt&&qt.scope.off(),uh(null)};function ob(e){return e.vnode.shapeFlag&4}let ho=!1;function lb(e,t=!1){ho=t;const{props:n,children:i}=e.vnode,a=ob(e);a1(e,n,a,t),l1(e,i);const s=a?b1(e,t):void 0;return ho=!1,s}function b1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Kf(new Proxy(e.ctx,Dd));const{setup:i}=n;if(i){const a=e.setupContext=i.length>1?cb(e):null;Ma(e),Io();const s=Gi(i,e,0,[e.props,a]);if(Vo(),wa(),zf(s)){if(s.then(wa,wa),t)return s.then(o=>{Fd(e,o,t)}).catch(o=>{Ts(o,e,0)});e.asyncDep=s}else Fd(e,s,t)}else rb(e,t)}function Fd(e,t,n){je(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:bt(t)&&(e.setupState=qf(t)),rb(e,n)}let mc,$d;function _1(e){mc=e,$d=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Rk))}}const x1=()=>!mc;function rb(e,t,n){const i=e.type;if(!e.render){if(!t&&mc&&!i.render){const a=i.template||oh(e).template;if(a){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:r}=i,c=Mt(Mt({isCustomElement:s,delimiters:l},o),r);i.render=mc(a,c)}}e.render=i.render||vi,$d&&$d(e)}{Ma(e),Io();try{qk(e)}finally{Vo(),wa()}}}function S1(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Nn(e,"get","$attrs"),t[n]}}))}function cb(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return S1(e)},slots:e.slots,emit:e.emit,expose:t}}function nu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(qf(Kf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ul)return ul[n](e)},has(t,n){return n in t||n in ul}}))}function zd(e,t=!0){return je(e)?e.displayName||e.name:e.name||t&&e.__name}function w1(e){return je(e)&&"__vccOpts"in e}const w=(e,t)=>sk(e,t,ho);function Fn(e,t,n){const i=arguments.length;return i===2?bt(t)&&!Be(t)?Xi(t)?h(e,null,[t]):h(e,t):h(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Xi(n)&&(n=[n]),h(e,t,n))}const ub=Symbol.for("v-scx"),db=()=>Ke(ub);function k1(){}function C1(e,t,n,i){const a=n[i];if(a&&fb(a,e))return a;const s=t();return s.memo=e.slice(),n[i]=s}function fb(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let i=0;i0&&Ln&&Ln.push(e),!0}const dh="3.3.12",P1={createComponentInstance:sb,setupComponent:lb,renderComponentRoot:Qr,setCurrentRenderingInstance:Il,isVNode:Xi,normalizeVNode:Wn},I1=P1,V1=null,A1=null,T1="http://www.w3.org/2000/svg",ss=typeof document<"u"?document:null,am=ss&&ss.createElement("template"),M1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const a=t?ss.createElementNS(T1,e):ss.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>ss.createTextNode(e),createComment:e=>ss.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ss.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,a,s){const o=n?n.previousSibling:t.lastChild;if(a&&(a===s||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===s||!(a=a.nextSibling)););else{am.innerHTML=i?`${e}`:e;const l=am.content;if(i){const r=l.firstChild;for(;r.firstChild;)l.appendChild(r.firstChild);l.removeChild(r)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},da="transition",jo="animation",vo=Symbol("_vtc"),pi=(e,{slots:t})=>Fn(Ey,vb(e),t);pi.displayName="Transition";const hb={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},E1=pi.props=Mt({},ih,hb),qa=(e,t=[])=>{Be(e)?e.forEach(n=>n(...t)):e&&e(...t)},sm=e=>e?Be(e)?e.some(t=>t.length>1):e.length>1:!1;function vb(e){const t={};for(const D in e)D in hb||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:i,duration:a,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:r=s,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,m=D1(a),g=m&&m[0],p=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:S,onLeave:_,onLeaveCancelled:x,onBeforeAppear:P=y,onAppear:C=b,onAppearCancelled:V=S}=t,I=(D,N,j)=>{ma(D,N?u:l),ma(D,N?c:o),j&&j()},M=(D,N)=>{D._isLeaving=!1,ma(D,d),ma(D,v),ma(D,f),N&&N()},O=D=>(N,j)=>{const Y=D?C:b,K=()=>I(N,D,j);qa(Y,[N,K]),om(()=>{ma(N,D?r:s),zi(N,D?u:l),sm(Y)||lm(N,i,g,K)})};return Mt(t,{onBeforeEnter(D){qa(y,[D]),zi(D,s),zi(D,o)},onBeforeAppear(D){qa(P,[D]),zi(D,r),zi(D,c)},onEnter:O(!1),onAppear:O(!0),onLeave(D,N){D._isLeaving=!0;const j=()=>M(D,N);zi(D,d),gb(),zi(D,f),om(()=>{D._isLeaving&&(ma(D,d),zi(D,v),sm(_)||lm(D,i,p,j))}),qa(_,[D,j])},onEnterCancelled(D){I(D,!1),qa(S,[D])},onAppearCancelled(D){I(D,!0),qa(V,[D])},onLeaveCancelled(D){M(D),qa(x,[D])}})}function D1(e){if(e==null)return null;if(bt(e))return[nd(e.enter),nd(e.leave)];{const t=nd(e);return[t,t]}}function nd(e){return cc(e)}function zi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[vo]||(e[vo]=new Set)).add(t)}function ma(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[vo];n&&(n.delete(t),n.size||(e[vo]=void 0))}function om(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let O1=0;function lm(e,t,n,i){const a=e._endId=++O1,s=()=>{a===e._endId&&i()};if(n)return setTimeout(s,n);const{type:o,timeout:l,propCount:r}=mb(e,t);if(!o)return i();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,f),s()},f=v=>{v.target===e&&++u>=r&&d()};setTimeout(()=>{u(n[m]||"").split(", "),a=i(`${da}Delay`),s=i(`${da}Duration`),o=rm(a,s),l=i(`${jo}Delay`),r=i(`${jo}Duration`),c=rm(l,r);let u=null,d=0,f=0;t===da?o>0&&(u=da,d=o,f=s.length):t===jo?c>0&&(u=jo,d=c,f=r.length):(d=Math.max(o,c),u=d>0?o>c?da:jo:null,f=u?u===da?s.length:r.length:0);const v=u===da&&/\b(transform|all)(,|$)/.test(i(`${da}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:v}}function rm(e,t){for(;e.lengthcm(n)+cm(e[i])))}function cm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function gb(){return document.body.offsetHeight}function R1(e,t,n){const i=e[vo];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const fh=Symbol("_vod"),mn={beforeMount(e,{value:t},{transition:n}){e[fh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Wo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),Wo(e,!0),i.enter(e)):i.leave(e,()=>{Wo(e,!1)}):Wo(e,t))},beforeUnmount(e,{value:t}){Wo(e,t)}};function Wo(e,t){e.style.display=t?e[fh]:"none"}function L1(){mn.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const pb=Symbol("");function B1(e){const t=Di();if(!t)return;const n=t.ut=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>jd(s,a))},i=()=>{const a=e(t.proxy);Hd(t.subTree,a),n(a)};Ty(i),_t(()=>{const a=new MutationObserver(i);a.observe(t.subTree.el.parentNode,{childList:!0}),Ms(()=>a.disconnect())})}function Hd(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Hd(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)jd(e.el,t);else if(e.type===Pe)e.children.forEach(n=>Hd(n,t));else if(e.type===hs){let{el:n,anchor:i}=e;for(;n&&(jd(n,t),n!==i);)n=n.nextSibling}}function jd(e,t){if(e.nodeType===1){const n=e.style;let i="";for(const a in t)n.setProperty(`--${a}`,t[a]),i+=`--${a}: ${t[a]};`;n[pb]=i}}function N1(e,t,n){const i=e.style,a=Et(n);if(n&&!a){if(t&&!Et(t))for(const s in t)n[s]==null&&Wd(i,s,"");for(const s in n)Wd(i,s,n[s])}else{const s=i.display;if(a){if(t!==n){const o=i[pb];o&&(n+=";"+o),i.cssText=n}}else t&&e.removeAttribute("style");fh in e&&(i.display=s)}}const um=/\s*!important$/;function Wd(e,t,n){if(Be(n))n.forEach(i=>Wd(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=F1(e,t);um.test(n)?e.setProperty(ii(i),n.replace(um,""),"important"):e[i]=n}}const dm=["Webkit","Moz","ms"],id={};function F1(e,t){const n=id[t];if(n)return n;let i=yn(t);if(i!=="filter"&&i in e)return id[t]=i;i=bi(i);for(let a=0;aad||(U1.then(()=>ad=0),ad=Date.now());function K1(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Yn(G1(i,n.value),t,5,[i])};return n.value=e,n.attached=Y1(),n}function G1(e,t){if(Be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i&&i(a))}else return t}const mm=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,X1=(e,t,n,i,a=!1,s,o,l,r)=>{t==="class"?R1(e,i,a):t==="style"?N1(e,n,i):Zl(t)?Ff(t)||j1(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):q1(e,t,i,a))?z1(e,t,i,s,o,l,r):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),$1(e,t,i,a))};function q1(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&mm(t)&&je(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return mm(t)&&Et(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function yb(e,t){const n=La(e);class i extends iu{constructor(s){super(n,s,t)}}return i.def=n,i}/*! #__NO_SIDE_EFFECTS__ */const Z1=e=>yb(e,Tb),J1=typeof HTMLElement<"u"?HTMLElement:class{};class iu extends J1{constructor(t,n={},i){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&i?i(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Ze(()=>{this._connected||(Ud(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let i=0;i{for(const a of i)this._setAttr(a.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(i,a=!1)=>{const{props:s,styles:o}=i;let l;if(s&&!Be(s))for(const r in s){const c=s[r];(c===Number||c&&c.type===Number)&&(r in this._props&&(this._props[r]=cc(this._props[r])),(l||(l=Object.create(null)))[yn(r)]=!0)}this._numberProps=l,a&&this._resolveProps(i),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(i=>t(i,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,i=Be(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&i.includes(a)&&this._setProp(a,this[a],!0,!1);for(const a of i.map(yn))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(s){this._setProp(a,s)}})}_setAttr(t){let n=this.getAttribute(t);const i=yn(t);this._numberProps&&this._numberProps[i]&&(n=cc(n)),this._setProp(i,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,i=!0,a=!0){n!==this._props[t]&&(this._props[t]=n,a&&this._instance&&this._update(),i&&(n===!0?this.setAttribute(ii(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ii(t),n+""):n||this.removeAttribute(ii(t))))}_update(){Ud(this._createVNode(),this.shadowRoot)}_createVNode(){const t=h(this._def,Mt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const i=(s,o)=>{this.dispatchEvent(new CustomEvent(s,{detail:o}))};n.emit=(s,...o)=>{i(s,o),ii(s)!==s&&i(ii(s),o)};let a=this;for(;a=a&&(a.parentNode||a.host);)if(a instanceof iu){n.parent=a._instance,n.provides=a._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const i=document.createElement("style");i.textContent=n,this.shadowRoot.appendChild(i)})}}function Q1(e="$style"){{const t=Di();if(!t)return pt;const n=t.type.__cssModules;if(!n)return pt;const i=n[e];return i||pt}}const bb=new WeakMap,_b=new WeakMap,gc=Symbol("_moveCb"),gm=Symbol("_enterCb"),xb={name:"TransitionGroup",props:Mt({},E1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Di(),i=nh();let a,s;return eu(()=>{if(!a.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!aC(a[0].el,n.vnode.el,o))return;a.forEach(tC),a.forEach(nC);const l=a.filter(iC);gb(),l.forEach(r=>{const c=r.el,u=c.style;zi(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[gc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[gc]=null,ma(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=Ye(e),l=vb(o);let r=o.tag||Pe;a=s,s=t.default?Zc(t.default()):[];for(let c=0;cdelete e.mode;xb.props;const Sb=xb;function tC(e){const t=e.el;t[gc]&&t[gc](),t[gm]&&t[gm]()}function nC(e){_b.set(e,e.el.getBoundingClientRect())}function iC(e){const t=bb.get(e),n=_b.get(e),i=t.left-n.left,a=t.top-n.top;if(i||a){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${i}px,${a}px)`,s.transitionDuration="0s",e}}function aC(e,t,n){const i=e.cloneNode(),a=e[vo];a&&a.forEach(l=>{l.split(/\s+/).forEach(r=>r&&i.classList.remove(r))}),n.split(/\s+/).forEach(l=>l&&i.classList.add(l)),i.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(i);const{hasTransform:o}=mb(i);return s.removeChild(i),o}const Ea=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Be(t)?n=>lo(t,n):t};function sC(e){e.target.composing=!0}function pm(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ri=Symbol("_assign"),Ml={created(e,{modifiers:{lazy:t,trim:n,number:i}},a){e[ri]=Ea(a);const s=i||a.props&&a.props.type==="number";Yi(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),s&&(l=rc(l)),e[ri](l)}),n&&Yi(e,"change",()=>{e.value=e.value.trim()}),t||(Yi(e,"compositionstart",sC),Yi(e,"compositionend",pm),Yi(e,"change",pm))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:a}},s){if(e[ri]=Ea(s),e.composing)return;const o=a||e.type==="number"?rc(e.value):e.value,l=t??"";o!==l&&(document.activeElement===e&&e.type!=="range"&&(n||i&&e.value.trim()===l)||(e.value=l))}},hh={deep:!0,created(e,t,n){e[ri]=Ea(n),Yi(e,"change",()=>{const i=e._modelValue,a=mo(e),s=e.checked,o=e[ri];if(Be(i)){const l=zc(i,a),r=l!==-1;if(s&&!r)o(i.concat(a));else if(!s&&r){const c=[...i];c.splice(l,1),o(c)}}else if(As(i)){const l=new Set(i);s?l.add(a):l.delete(a),o(l)}else o(kb(e,s))})},mounted:ym,beforeUpdate(e,t,n){e[ri]=Ea(n),ym(e,t,n)}};function ym(e,{value:t,oldValue:n},i){e._modelValue=t,Be(t)?e.checked=zc(t,i.props.value)>-1:As(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=Va(t,kb(e,!0)))}const vh={created(e,{value:t},n){e.checked=Va(t,n.props.value),e[ri]=Ea(n),Yi(e,"change",()=>{e[ri](mo(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e[ri]=Ea(i),t!==n&&(e.checked=Va(t,i.props.value))}},wb={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const a=As(t);Yi(e,"change",()=>{const s=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?rc(mo(o)):mo(o));e[ri](e.multiple?a?new Set(s):s:s[0])}),e[ri]=Ea(i)},mounted(e,{value:t}){bm(e,t)},beforeUpdate(e,t,n){e[ri]=Ea(n)},updated(e,{value:t}){bm(e,t)}};function bm(e,t){const n=e.multiple;if(!(n&&!Be(t)&&!As(t))){for(let i=0,a=e.options.length;i-1:s.selected=t.has(o);else if(Va(mo(s),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function mo(e){return"_value"in e?e._value:e.value}function kb(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Cb={created(e,t,n){Tr(e,t,n,null,"created")},mounted(e,t,n){Tr(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){Tr(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){Tr(e,t,n,i,"updated")}};function Pb(e,t){switch(e){case"SELECT":return wb;case"TEXTAREA":return Ml;default:switch(t){case"checkbox":return hh;case"radio":return vh;default:return Ml}}}function Tr(e,t,n,i,a){const o=Pb(e.tagName,n.props&&n.props.type)[a];o&&o(e,t,n,i)}function oC(){Ml.getSSRProps=({value:e})=>({value:e}),vh.getSSRProps=({value:e},t)=>{if(t.props&&Va(t.props.value,e))return{checked:!0}},hh.getSSRProps=({value:e},t)=>{if(Be(e)){if(t.props&&zc(e,t.props.value)>-1)return{checked:!0}}else if(As(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Cb.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Pb(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const lC=["ctrl","shift","alt","meta"],rC={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>lC.some(n=>e[`${n}Key`]&&!t.includes(n))},El=(e,t)=>e._withMods||(e._withMods=(n,...i)=>{for(let a=0;ae._withKeys||(e._withKeys=n=>{if(!("key"in n))return;const i=ii(n.key);if(t.some(a=>a===i||cC[a]===i))return e(n)}),Ib=Mt({patchProp:X1},M1);let hl,_m=!1;function Vb(){return hl||(hl=Xy(Ib))}function Ab(){return hl=_m?hl:qy(Ib),_m=!0,hl}const Ud=(...e)=>{Vb().render(...e)},Tb=(...e)=>{Ab().hydrate(...e)},Mb=(...e)=>{const t=Vb().createApp(...e),{mount:n}=t;return t.mount=i=>{const a=Eb(i);if(!a)return;const s=t._component;!je(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.innerHTML="";const o=n(a,!1,a instanceof SVGElement);return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},t},dC=(...e)=>{const t=Ab().createApp(...e),{mount:n}=t;return t.mount=i=>{const a=Eb(i);if(a)return n(a,!0,a instanceof SVGElement)},t};function Eb(e){return Et(e)?document.querySelector(e):e}let xm=!1;const fC=()=>{xm||(xm=!0,oC(),L1())},hC=()=>{},vC=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ey,BaseTransitionPropsValidators:ih,Comment:vn,EffectScope:jf,Fragment:Pe,KeepAlive:Mk,ReactiveEffect:uo,Static:hs,Suspense:_k,Teleport:Qy,Text:Ta,Transition:pi,TransitionGroup:Sb,VueElement:iu,assertNumber:lk,callWithAsyncErrorHandling:Yn,callWithErrorHandling:Gi,camelize:yn,capitalize:bi,cloneVNode:gi,compatUtils:A1,compile:hC,computed:w,createApp:Mb,createBlock:Tt,createCommentVNode:kt,createElementBlock:Te,createElementVNode:be,createHydrationRenderer:qy,createPropsRestProxy:Gk,createRenderer:Xy,createSSRApp:dC,createSlots:Dk,createStaticVNode:g1,createTextVNode:Xe,createVNode:h,customRef:tk,defineAsyncComponent:Ak,defineComponent:La,defineCustomElement:yb,defineEmits:Bk,defineExpose:Nk,defineModel:zk,defineOptions:Fk,defineProps:Lk,defineSSRCustomElement:Z1,defineSlots:$k,get devtools(){return eo},effect:Vw,effectScope:Hc,getCurrentInstance:Di,getCurrentScope:ly,getTransitionRawChildren:Zc,guardReactiveProps:ab,h:Fn,handleError:Ts,hasInjectionContext:i1,hydrate:Tb,initCustomFormatter:k1,initDirectivesForSSR:fC,inject:Ke,isMemoSame:fb,isProxy:Jl,isReactive:ds,isReadonly:ys,isRef:jt,isRuntimeOnly:x1,isShallow:wl,isVNode:Xi,markRaw:Kf,mergeDefaults:Yk,mergeModels:Kk,mergeProps:ve,nextTick:Ze,normalizeClass:xt,normalizeProps:Sw,normalizeStyle:Ia,onActivated:ah,onBeforeMount:nr,onBeforeUnmount:an,onBeforeUpdate:Qc,onDeactivated:sh,onErrorCaptured:Ny,onMounted:_t,onRenderTracked:By,onRenderTriggered:Ly,onScopeDispose:_n,onServerPrefetch:Ry,onUnmounted:Ms,onUpdated:eu,openBlock:me,popScopeId:Ra,provide:lt,proxyRefs:qf,pushScopeId:Oa,queuePostFlushCb:dc,reactive:Ft,readonly:Ao,ref:Z,registerRuntimeCompiler:_1,render:Ud,renderList:At,renderSlot:Fy,resolveComponent:Ce,resolveDirective:Pn,resolveDynamicComponent:qc,resolveFilter:V1,resolveTransitionHooks:fo,setBlockTracking:Nd,setDevtoolsHook:Cy,setTransitionHooks:bs,shallowReactive:Yf,shallowReadonly:Xw,shallowRef:Se,ssrContextKey:ub,ssrUtils:I1,stop:Aw,toDisplayString:wt,toHandlerKey:cl,toHandlers:Ok,toRaw:Ye,toRef:ne,toRefs:Ql,toValue:Jw,transformVNodeArgs:v1,triggerRef:Zw,unref:Je,useAttrs:Wk,useCssModule:Q1,useCssVars:B1,useModel:Uk,useSSRContext:db,useSlots:jk,useTransitionState:nh,vModelCheckbox:hh,vModelDynamic:Cb,vModelRadio:vh,vModelSelect:wb,vModelText:Ml,vShow:mn,version:dh,warn:ok,watch:_e,watchEffect:Jt,watchPostEffect:Ty,watchSyncEffect:Pk,withAsyncContext:Xk,withCtx:se,withDefaults:Hk,withDirectives:ft,withKeys:uC,withMemo:C1,withModifiers:El,withScopeId:hk},Symbol.toStringTag,{value:"Module"}));function Ba(){const e=(u,d,f)=>isNaN(Number(u))||u===null||u===void 0?d:Math.min(Math.max(u,d),f),t=()=>{const u=window.navigator.userAgent.toLowerCase();return/android/.test(u)},n=()=>{const u=window.navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(u)},i=u=>/\.(jpg|jpeg|png|gif|bmp|svg)$/i.test(u),a=u=>/\.(json)$/i.test(u),s=()=>"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,o=(u,d)=>{const f=u==="now"?new Date:l(u),v={year:"numeric",month:"short"},m=f.toLocaleString(d||"en",v);return m.charAt(0).toUpperCase()+m.slice(1)},l=u=>{const d=u.split("/");if(d.length===2){const f=parseInt(d[0],10),v=parseInt(d[1],10)-1;if(!isNaN(f)&&!isNaN(v))return new Date(f,v)}return null};return{clamp:e,isStringAnImageUrl:i,isStringAJSONUrl:a,isAndroid:t,isIOS:n,isTouchDevice:s,localizeDate:o,parseDate:l,parsePercentage:(u,d)=>{let f=e(u,0,100);if(!d||typeof d!="object")return f+"%";const m=Object.keys(d).reduce((g,p)=>Number(p)<=f?p:g,"0");return d[m]},reverseArray:u=>{let d=[];for(let f in u)d.unshift(u[f]);return d}}}function au(){return{BASE_PATH:"/resame-website",HTML_CLASSES:{bodyScroll:"",bodyNoScroll:"no-scroll",imageViewImage:"image-view-img",imageViewImageIgnoredOnCount:"image-view-img-ignored-on-count"},BOOTSTRAP_BREAKPOINTS:{xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},LOCAL_STORAGE_ITEMS:{language:"app.preferences.language"},NAVIGATION_SIDEBAR_BREAKPOINT:"lg",RANDOM_COLOR_ARRAY:["rgb(255, 99, 132)","rgb(54, 162, 235)","rgb(255, 205, 86)","rgb(197,176,255)","rgb(142, 227, 197)","rgb(238, 183, 154)","rgb(164,205,253)","rgb(246,169,255)","rgb(171, 235, 198)","rgb(255, 201, 214)","rgb(209, 247, 200)","rgb(235, 214, 169)","rgb(174, 229, 248)","rgb(246, 224, 196)","rgb(255, 217, 232)"],LoadStatus:{LOADING:"loading",LOADED:"loaded",ERROR:"error"}}}const Sm=au(),ti=Ft({supportedLanguages:[],defaultLanguage:null,selectedLanguage:null});function ir(){const e=r=>{ti.supportedLanguages=r,ti.defaultLanguage=r.find(c=>c.default)||r[0],t()},t=()=>{const r=window.localStorage.getItem(Sm.LOCAL_STORAGE_ITEMS.language);if(r)o(l(r)||ti.defaultLanguage);else{const c=ti.supportedLanguages.find(u=>navigator.language.includes(u.id));o(c||ti.defaultLanguage)}},n=()=>ti.supportedLanguages.length>1,i=()=>ti.selectedLanguage,a=()=>ti.defaultLanguage,s=()=>ti.supportedLanguages.filter(r=>r.id!==ti.selectedLanguage.id),o=r=>{ti.selectedLanguage=r,window.localStorage.setItem(Sm.LOCAL_STORAGE_ITEMS.language,r.id)},l=r=>ti.supportedLanguages.find(c=>c.id===r)||null;return{init:e,supportsMultipleLanguages:n,getSelectedLanguage:i,getDefaultLanguage:a,getAvailableLanguages:s,selectLanguage:o}}const wm=ir(),km=Ba();let wn=Ft({sections:[],categories:[],places:null,profile:null,settings:null,strings:null}),Ys=Ft({loadedFiles:0,totalFiles:5}),fa=Ft({language:null,entries:null}),Mr={};function Oi(){const e=async()=>{const y=await c("./data/sections.json"),b=await c("./data/settings.json"),S=await c("./data/strings.json");wn.sections=y.sections,wn.categories=y.categories,wn.settings=b,wn.strings=S,Ys.loadedFiles=3,Ys.totalFiles+=wn.sections.length},t=async()=>{const y=await c("./data/info/places.json"),b=await c("./data/info/profile.json");wn.places=y,wn.profile=b,Ys.loadedFiles=5,await u(),Object.values(wn).forEach(f),Mr={},fa.language=null,fa.entries=null},n=()=>(m(),fa.entries.sections),i=()=>(m(),fa.entries.categories),a=y=>n().filter(b=>b.categoryId===y),s=()=>(m(),fa.entries.profile),o=()=>wn.settings,l=y=>(m(),fa.entries.strings.locales[y]),r=()=>{const y=100*Ys.loadedFiles/Ys.totalFiles;return km.clamp(Math.round(y),0,100)},c=async y=>(await fetch(y)).json(),u=async()=>{for(const y of wn.sections){const b=y.id,S=y.categoryId,_=d(wn.categories,S),x=y.jsonPath;if(!_)throw new Error(`The section with id "${b}" has an invalid categoryId "${S}". There's no such category.`);_.sectionIds=_.sectionIds||[],_.sectionIds.push(b),km.isStringAJSONUrl(x)?y.content=await c(x):y.content={},Ys.loadedFiles++}for(let y=wn.categories.length-1;y>=0;y--){const b=wn.categories[y].sectionIds;(!b||b.length===0)&&wn.categories.splice(y,1)}},d=(y,b)=>y.find(S=>S.id===b)||null,f=y=>{if(typeof y=="string")return v(y);if(typeof y=="object")for(let b in y)y[b]=f(y[b]);return y},v=y=>y,m=()=>{const y=wm.getSelectedLanguage().id;Mr[y]||(Mr[y]=g(wn,y)),fa.language=y,fa.entries=Mr[y]},g=(y,b)=>{const S={};if(typeof y=="string"||typeof y=="number"||typeof y=="boolean")return y;for(const[_,x]of Object.entries(y))Array.isArray(x)?S[_]=x.map(P=>g(P,b)):_.includes("locales")?S[_]=p(x,b):x!=null?S[_]=g(x,b):S[_]=x;return S},p=(y,b)=>{var x;const S={},_=wm.getDefaultLanguage().id;for(let P in y[_]){let C=(x=y[b])==null?void 0:x[P];C||(C=y[_][P]),S[P]=C}return S};return{fetchEssentials:e,fetchAll:t,getLoadProgress:r,getSections:n,getCategories:i,getCategorySections:a,getProfile:s,getSettings:o,getString:l}}const wi=au();let sd=null;function To(){return{isBootstrapBreakpoint:u=>window.innerWidth>=wi.BOOTSTRAP_BREAKPOINTS[u],getBootstrapBreakpoint:()=>{const u=window.innerWidth;let d="";for(const f in wi.BOOTSTRAP_BREAKPOINTS)u>=wi.BOOTSTRAP_BREAKPOINTS[f]&&(d=f);return d},setFeedbackView:u=>{sd=u},getFeedbackView:()=>sd?sd.value:null,getImageCount:()=>{const u=document.querySelectorAll("."+wi.HTML_CLASSES.imageViewImage);let d=0;return{loaded:Array.from(u).reduce((v,m)=>!m.classList.contains(wi.HTML_CLASSES.imageViewImageIgnoredOnCount)&&(d++,m.getAttribute("loadStatus")!==wi.LoadStatus.LOADING)?v+1:v,0),total:d}},getStylePreferencesForPlugins:()=>{const u={};return u.colors={primary:getComputedStyle(document.documentElement).getPropertyValue("--bs-primary"),dark:getComputedStyle(document.documentElement).getPropertyValue("--bs-dark")},u.colors.random=wi.RANDOM_COLOR_ARRAY.slice(),u},isElementOutsideBounds:u=>{const d=u.getBoundingClientRect();return d.bottom<0||d.right<0||d.left>window.innerWidth||d.top>window.innerHeight},setPageScrollingEnabled:u=>{const d=document.getElementsByTagName("html")[0];u?(document.body.className=wi.HTML_CLASSES.bodyScroll,d.className=""):(document.body.className=wi.HTML_CLASSES.bodyNoScroll,d.className+=" "+wi.HTML_CLASSES.bodyNoScroll)},smoothScrollToElement:(u,d)=>{const f=document.getElementById(u);if(!f)return;const v=()=>{f.scrollIntoView({behavior:"smooth",block:"start"})};d?setTimeout(v,100):v()},instantScrollTo:(u,d)=>{const f=()=>{window.scrollTo({top:u??0,left:0,behavior:"instant"})};d?setTimeout(f,10):f()}}}const mC=au(),gC=To(),to={ONE_AT_ONCE:"navigationModeOneAtOnce",ALL_AT_ONCE:"navigationModeAllAtOnce"},En=Ft({mode:to.ALL_AT_ONCE,activeSectionId:null,lastVisitedSections:{}}),Uo={};function Na(){const e=(f,v)=>{v.forEach(m=>{Uo[m.id]=[]}),f.forEach(m=>{Uo[m.categoryId].push(m.id)})},t=()=>En.mode===to.ONE_AT_ONCE,n=()=>En.mode===to.ALL_AT_ONCE,i=()=>En.activeSectionId,a=f=>En.activeSectionId===f,s=f=>En.activeSectionId===f||En.mode===to.ALL_AT_ONCE,o=()=>{let f=null;return Object.entries(Uo).forEach(([v,m])=>{m.includes(En.activeSectionId)&&(f=v)}),f},l=f=>f===o(),r=f=>{gC.isBootstrapBreakpoint(mC.NAVIGATION_SIDEBAR_BREAKPOINT)?(En.mode=to.ALL_AT_ONCE,En.activeSectionId=c("section")):(En.mode=to.ONE_AT_ONCE,En.activeSectionId=f)},c=f=>{const v=document.querySelectorAll("."+f);if(!v)return null;let m=null,g=null;return v.forEach(p=>{let y=p.getBoundingClientRect(),b=Math.abs(y.y);(g===null||bEn.lastVisitedSections[f]?En.lastVisitedSections[f]:Uo[f][0],registerSectionVisit:f=>{let v=null;Object.entries(Uo).forEach(([m,g])=>{g.includes(f)&&(v=m)}),En.lastVisitedSections[v]=f},update:r}}/*! +var rw=Object.defineProperty;var cw=(e,t,n)=>t in e?rw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var He=(e,t,n)=>(cw(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();function Fc(e,t){const n=Object.create(null),i=e.split(",");for(let a=0;a!!n[a.toLowerCase()]:a=>!!n[a]}const pt={},so=[],vi=()=>{},uw=()=>!1,Zl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ff=e=>e.startsWith("onUpdate:"),Mt=Object.assign,$f=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dw=Object.prototype.hasOwnProperty,it=(e,t)=>dw.call(e,t),Be=Array.isArray,oo=e=>Po(e)==="[object Map]",As=e=>Po(e)==="[object Set]",Rv=e=>Po(e)==="[object Date]",fw=e=>Po(e)==="[object RegExp]",je=e=>typeof e=="function",Et=e=>typeof e=="string",Ca=e=>typeof e=="symbol",bt=e=>e!==null&&typeof e=="object",zf=e=>(bt(e)||je(e))&&je(e.then)&&je(e.catch),ny=Object.prototype.toString,Po=e=>ny.call(e),hw=e=>Po(e).slice(8,-1),iy=e=>Po(e)==="[object Object]",Hf=e=>Et(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rl=Fc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$c=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},vw=/-(\w)/g,yn=$c(e=>e.replace(vw,(t,n)=>n?n.toUpperCase():"")),mw=/\B([A-Z])/g,ii=$c(e=>e.replace(mw,"-$1").toLowerCase()),bi=$c(e=>e.charAt(0).toUpperCase()+e.slice(1)),cl=$c(e=>e?`on${bi(e)}`:""),Pa=(e,t)=>!Object.is(e,t),lo=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},rc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cc=e=>{const t=Et(e)?Number(e):NaN;return isNaN(t)?e:t};let Lv;const Id=()=>Lv||(Lv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),gw="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",pw=Fc(gw);function Ia(e){if(Be(e)){const t={};for(let n=0;n{if(n){const i=n.split(bw);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function xt(e){let t="";if(Et(e))t=e;else if(Be(e))for(let n=0;nVa(n,t))}const wt=e=>Et(e)?e:e==null?"":Be(e)||bt(e)&&(e.toString===ny||!je(e.toString))?JSON.stringify(e,sy,2):String(e),sy=(e,t)=>t&&t.__v_isRef?sy(e,t.value):oo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,a],s)=>(n[qu(i,s)+" =>"]=a,n),{})}:As(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qu(n))}:Ca(t)?qu(t):bt(t)&&!Be(t)&&!iy(t)?String(t):t,qu=(e,t="")=>{var n;return Ca(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let jn;class jf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=jn,!t&&jn&&(this.index=(jn.scopes||(jn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=jn;try{return jn=this,t()}finally{jn=n}}}on(){jn=this}off(){jn=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},ry=e=>(e.w&Aa)>0,cy=e=>(e.n&Aa)>0,Pw=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(u==="length"||!Ca(u)&&u>=r)&&l.push(c)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":Be(e)?Hf(n)&&l.push(o.get("length")):(l.push(o.get(us)),oo(e)&&l.push(o.get(Ad)));break;case"delete":Be(e)||(l.push(o.get(us)),oo(e)&&l.push(o.get(Ad)));break;case"set":oo(e)&&l.push(o.get(us));break}if(l.length===1)l[0]&&Td(l[0]);else{const r=[];for(const c of l)c&&r.push(...c);Td(Wf(r))}}function Td(e,t){const n=Be(e)?e:[...e];for(const i of n)i.computed&&Nv(i);for(const i of n)i.computed||Nv(i)}function Nv(e,t){(e!==fi||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Tw(e,t){var n;return(n=uc.get(e))==null?void 0:n.get(t)}const Mw=Fc("__proto__,__v_isRef,__isVue"),fy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ca)),Fv=Ew();function Ew(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Ye(this);for(let s=0,o=this.length;s{e[t]=function(...n){Io();const i=Ye(this)[t].apply(this,n);return Vo(),i}}),e}function Dw(e){const t=Ye(this);return Nn(t,"has",e),t.hasOwnProperty(e)}class hy{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,i){const a=this._isReadonly,s=this._shallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return s;if(n==="__v_raw")return i===(a?s?by:yy:s?py:gy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const o=Be(t);if(!a){if(o&&it(Fv,n))return Reflect.get(Fv,n,i);if(n==="hasOwnProperty")return Dw}const l=Reflect.get(t,n,i);return(Ca(n)?fy.has(n):Mw(n))||(a||Nn(t,"get",n),s)?l:jt(l)?o&&Hf(n)?l:l.value:bt(l)?a?Ao(l):Ft(l):l}}class vy extends hy{constructor(t=!1){super(!1,t)}set(t,n,i,a){let s=t[n];if(!this._shallow){const r=ys(s);if(!wl(i)&&!ys(i)&&(s=Ye(s),i=Ye(i)),!Be(t)&&jt(s)&&!jt(i))return r?!1:(s.value=i,!0)}const o=Be(t)&&Hf(n)?Number(n)e,jc=e=>Reflect.getPrototypeOf(e);function br(e,t,n=!1,i=!1){e=e.__v_raw;const a=Ye(e),s=Ye(t);n||(Pa(t,s)&&Nn(a,"get",t),Nn(a,"get",s));const{has:o}=jc(a),l=i?Uf:n?Gf:kl;if(o.call(a,t))return l(e.get(t));if(o.call(a,s))return l(e.get(s));e!==a&&e.get(t)}function _r(e,t=!1){const n=this.__v_raw,i=Ye(n),a=Ye(e);return t||(Pa(e,a)&&Nn(i,"has",e),Nn(i,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function xr(e,t=!1){return e=e.__v_raw,!t&&Nn(Ye(e),"iterate",us),Reflect.get(e,"size",e)}function $v(e){e=Ye(e);const t=Ye(this);return jc(t).has.call(t,e)||(t.add(e),Ki(t,"add",e,e)),this}function zv(e,t){t=Ye(t);const n=Ye(this),{has:i,get:a}=jc(n);let s=i.call(n,e);s||(e=Ye(e),s=i.call(n,e));const o=a.call(n,e);return n.set(e,t),s?Pa(t,o)&&Ki(n,"set",e,t):Ki(n,"add",e,t),this}function Hv(e){const t=Ye(this),{has:n,get:i}=jc(t);let a=n.call(t,e);a||(e=Ye(e),a=n.call(t,e)),i&&i.call(t,e);const s=t.delete(e);return a&&Ki(t,"delete",e,void 0),s}function jv(){const e=Ye(this),t=e.size!==0,n=e.clear();return t&&Ki(e,"clear",void 0,void 0),n}function Sr(e,t){return function(i,a){const s=this,o=s.__v_raw,l=Ye(o),r=t?Uf:e?Gf:kl;return!e&&Nn(l,"iterate",us),o.forEach((c,u)=>i.call(a,r(c),r(u),s))}}function wr(e,t,n){return function(...i){const a=this.__v_raw,s=Ye(a),o=oo(s),l=e==="entries"||e===Symbol.iterator&&o,r=e==="keys"&&o,c=a[e](...i),u=n?Uf:t?Gf:kl;return!t&&Nn(s,"iterate",r?Ad:us),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:l?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function ca(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Nw(){const e={get(s){return br(this,s)},get size(){return xr(this)},has:_r,add:$v,set:zv,delete:Hv,clear:jv,forEach:Sr(!1,!1)},t={get(s){return br(this,s,!1,!0)},get size(){return xr(this)},has:_r,add:$v,set:zv,delete:Hv,clear:jv,forEach:Sr(!1,!0)},n={get(s){return br(this,s,!0)},get size(){return xr(this,!0)},has(s){return _r.call(this,s,!0)},add:ca("add"),set:ca("set"),delete:ca("delete"),clear:ca("clear"),forEach:Sr(!0,!1)},i={get(s){return br(this,s,!0,!0)},get size(){return xr(this,!0)},has(s){return _r.call(this,s,!0)},add:ca("add"),set:ca("set"),delete:ca("delete"),clear:ca("clear"),forEach:Sr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=wr(s,!1,!1),n[s]=wr(s,!0,!1),t[s]=wr(s,!1,!0),i[s]=wr(s,!0,!0)}),[e,n,t,i]}const[Fw,$w,zw,Hw]=Nw();function Wc(e,t){const n=t?e?Hw:zw:e?$w:Fw;return(i,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(it(n,a)&&a in i?n:i,a,s)}const jw={get:Wc(!1,!1)},Ww={get:Wc(!1,!0)},Uw={get:Wc(!0,!1)},Yw={get:Wc(!0,!0)},gy=new WeakMap,py=new WeakMap,yy=new WeakMap,by=new WeakMap;function Kw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gw(e){return e.__v_skip||!Object.isExtensible(e)?0:Kw(hw(e))}function Ft(e){return ys(e)?e:Uc(e,!1,Ow,jw,gy)}function Yf(e){return Uc(e,!1,Lw,Ww,py)}function Ao(e){return Uc(e,!0,Rw,Uw,yy)}function Xw(e){return Uc(e,!0,Bw,Yw,by)}function Uc(e,t,n,i,a){if(!bt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=a.get(e);if(s)return s;const o=Gw(e);if(o===0)return e;const l=new Proxy(e,o===2?i:n);return a.set(e,l),l}function ds(e){return ys(e)?ds(e.__v_raw):!!(e&&e.__v_isReactive)}function ys(e){return!!(e&&e.__v_isReadonly)}function wl(e){return!!(e&&e.__v_isShallow)}function Jl(e){return ds(e)||ys(e)}function Ye(e){const t=e&&e.__v_raw;return t?Ye(t):e}function Kf(e){return lc(e,"__v_skip",!0),e}const kl=e=>bt(e)?Ft(e):e,Gf=e=>bt(e)?Ao(e):e;function Xf(e){Sa&&fi&&(e=Ye(e),dy(e.dep||(e.dep=Wf())))}function Yc(e,t){e=Ye(e);const n=e.dep;n&&Td(n)}function jt(e){return!!(e&&e.__v_isRef===!0)}function Z(e){return _y(e,!1)}function Se(e){return _y(e,!0)}function _y(e,t){return jt(e)?e:new qw(e,t)}class qw{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ye(t),this._value=n?t:kl(t)}get value(){return Xf(this),this._value}set value(t){const n=this.__v_isShallow||wl(t)||ys(t);t=n?t:Ye(t),Pa(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:kl(t),Yc(this))}}function Zw(e){Yc(e)}function Je(e){return jt(e)?e.value:e}function Jw(e){return je(e)?e():Je(e)}const Qw={get:(e,t,n)=>Je(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const a=e[t];return jt(a)&&!jt(n)?(a.value=n,!0):Reflect.set(e,t,n,i)}};function qf(e){return ds(e)?e:new Proxy(e,Qw)}class ek{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:i}=t(()=>Xf(this),()=>Yc(this));this._get=n,this._set=i}get value(){return this._get()}set value(t){this._set(t)}}function tk(e){return new ek(e)}function Ql(e){const t=Be(e)?new Array(e.length):{};for(const n in e)t[n]=xy(e,n);return t}class nk{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Tw(Ye(this._object),this._key)}}class ik{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ne(e,t,n){return jt(e)?e:je(e)?new ik(e):bt(e)&&arguments.length>1?xy(e,t,n):Z(e)}function xy(e,t,n){const i=e[t];return jt(i)?i:new nk(e,t,n)}class ak{constructor(t,n,i,a){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new uo(t,()=>{this._dirty||(this._dirty=!0,Yc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){const t=Ye(this);return Xf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function sk(e,t,n=!1){let i,a;const s=je(e);return s?(i=e,a=vi):(i=e.get,a=e.set),new ak(i,a,s||!a,n)}function ok(e,...t){}function lk(e,t){}function Gi(e,t,n,i){let a;try{a=i?e(...i):e()}catch(s){Ts(s,t,n)}return a}function Yn(e,t,n,i){if(je(e)){const s=Gi(e,t,n,i);return s&&zf(s)&&s.catch(o=>{Ts(o,t,n)}),s}const a=[];for(let s=0;s>>1,a=pn[i],s=Pl(a);sVi&&pn.splice(t,1)}function dc(e){Be(e)?ro.push(...e):(!Wi||!Wi.includes(e,e.allowRecurse?as+1:as))&&ro.push(e),wy()}function Wv(e,t,n=Cl?Vi+1:0){for(;nPl(n)-Pl(i)),as=0;ase.id==null?1/0:e.id,dk=(e,t)=>{const n=Pl(e)-Pl(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ky(e){Md=!1,Cl=!0,pn.sort(dk);const t=vi;try{for(Vi=0;Vieo.emit(a,...s)),kr=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Cy(s,t)}),setTimeout(()=>{eo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,kr=[])},3e3)):kr=[]}function fk(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||pt;let a=n;const s=t.startsWith("update:"),o=s&&t.slice(7);if(o&&o in i){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:d,trim:f}=i[u]||pt;f&&(a=n.map(v=>Et(v)?v.trim():v)),d&&(a=n.map(rc))}let l,r=i[l=cl(t)]||i[l=cl(yn(t))];!r&&s&&(r=i[l=cl(ii(t))]),r&&Yn(r,e,6,a);const c=i[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Yn(c,e,6,a)}}function Py(e,t,n=!1){const i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;const s=e.emits;let o={},l=!1;if(!je(e)){const r=c=>{const u=Py(c,t,!0);u&&(l=!0,Mt(o,u))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!s&&!l?(bt(e)&&i.set(e,null),null):(Be(s)?s.forEach(r=>o[r]=null):Mt(o,s),bt(e)&&i.set(e,o),o)}function Gc(e,t){return!e||!Zl(t)?!1:(t=t.slice(2).replace(/Once$/,""),it(e,t[0].toLowerCase()+t.slice(1))||it(e,ii(t))||it(e,t))}let cn=null,Xc=null;function Il(e){const t=cn;return cn=e,Xc=e&&e.type.__scopeId||null,t}function Oa(e){Xc=e}function Ra(){Xc=null}const hk=e=>se;function se(e,t=cn,n){if(!t||e._n)return e;const i=(...a)=>{i._d&&Nd(-1);const s=Il(t);let o;try{o=e(...a)}finally{Il(s),i._d&&Nd(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function Qr(e){const{type:t,vnode:n,proxy:i,withProxy:a,props:s,propsOptions:[o],slots:l,attrs:r,emit:c,render:u,renderCache:d,data:f,setupState:v,ctx:m,inheritAttrs:g}=e;let p,y;const b=Il(e);try{if(n.shapeFlag&4){const _=a||i,x=_;p=Wn(u.call(x,_,d,s,v,f,m)),y=r}else{const _=t;p=Wn(_.length>1?_(s,{attrs:r,slots:l,emit:c}):_(s,null)),y=t.props?r:mk(r)}}catch(_){fl.length=0,Ts(_,e,1),p=h(vn)}let S=p;if(y&&g!==!1){const _=Object.keys(y),{shapeFlag:x}=S;_.length&&x&7&&(o&&_.some(Ff)&&(y=gk(y,o)),S=gi(S,y))}return n.dirs&&(S=gi(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),p=S,Il(b),p}function vk(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Zl(n))&&((t||(t={}))[n]=e[n]);return t},gk=(e,t)=>{const n={};for(const i in e)(!Ff(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function pk(e,t,n){const{props:i,children:a,component:s}=e,{props:o,children:l,patchFlag:r}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&r>=0){if(r&1024)return!0;if(r&16)return i?Uv(i,o,c):!!o;if(r&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense,bk={name:"Suspense",__isSuspense:!0,process(e,t,n,i,a,s,o,l,r,c){e==null?xk(t,n,i,a,s,o,l,r,c):Sk(e,t,n,i,a,o,l,r,c)},hydrate:wk,create:th,normalize:kk},_k=bk;function Vl(e,t){const n=e.props&&e.props[t];je(n)&&n()}function xk(e,t,n,i,a,s,o,l,r){const{p:c,o:{createElement:u}}=r,d=u("div"),f=e.suspense=th(e,a,i,t,d,n,s,o,l,r);c(null,f.pendingBranch=e.ssContent,d,null,i,f,s,o),f.deps>0?(Vl(e,"onPending"),Vl(e,"onFallback"),c(null,e.ssFallback,t,n,i,null,s,o),co(f,e.ssFallback)):f.resolve(!1,!0)}function Sk(e,t,n,i,a,s,o,l,{p:r,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,v=t.ssFallback,{activeBranch:m,pendingBranch:g,isInFallback:p,isHydrating:y}=d;if(g)d.pendingBranch=f,hi(f,g)?(r(g,f,d.hiddenContainer,null,a,d,s,o,l),d.deps<=0?d.resolve():p&&(r(m,v,n,i,a,null,s,o,l),co(d,v))):(d.pendingId++,y?(d.isHydrating=!1,d.activeBranch=g):c(g,a,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),p?(r(null,f,d.hiddenContainer,null,a,d,s,o,l),d.deps<=0?d.resolve():(r(m,v,n,i,a,null,s,o,l),co(d,v))):m&&hi(f,m)?(r(m,f,n,i,a,d,s,o,l),d.resolve(!0)):(r(null,f,d.hiddenContainer,null,a,d,s,o,l),d.deps<=0&&d.resolve()));else if(m&&hi(f,m))r(m,f,n,i,a,d,s,o,l),co(d,f);else if(Vl(t,"onPending"),d.pendingBranch=f,d.pendingId++,r(null,f,d.hiddenContainer,null,a,d,s,o,l),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:S}=d;b>0?setTimeout(()=>{d.pendingId===S&&d.fallback(v)},b):b===0&&d.fallback(v)}}function th(e,t,n,i,a,s,o,l,r,c,u=!1){const{p:d,m:f,um:v,n:m,o:{parentNode:g,remove:p}}=c;let y;const b=Ck(e);b&&t!=null&&t.pendingBranch&&(y=t.pendingId,t.deps++);const S=e.props?cc(e.props.timeout):void 0,_={vnode:e,parent:t,parentComponent:n,isSVG:o,container:i,hiddenContainer:a,anchor:s,deps:0,pendingId:0,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,P=!1){const{vnode:C,activeBranch:V,pendingBranch:I,pendingId:M,effects:O,parentComponent:D,container:N}=_;let j=!1;if(_.isHydrating)_.isHydrating=!1;else if(!x){j=V&&I.transition&&I.transition.mode==="out-in",j&&(V.transition.afterLeave=()=>{M===_.pendingId&&(f(I,N,m(V),0),dc(O))});let{anchor:J}=_;V&&(J=m(V),v(V,D,_,!0)),j||f(I,N,J,0)}co(_,I),_.pendingBranch=null,_.isInFallback=!1;let Y=_.parent,K=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...O),K=!0;break}Y=Y.parent}!K&&!j&&dc(O),_.effects=[],b&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),Vl(C,"onResolve")},fallback(x){if(!_.pendingBranch)return;const{vnode:P,activeBranch:C,parentComponent:V,container:I,isSVG:M}=_;Vl(P,"onFallback");const O=m(C),D=()=>{_.isInFallback&&(d(null,x,I,O,V,null,M,l,r),co(_,x))},N=x.transition&&x.transition.mode==="out-in";N&&(C.transition.afterLeave=D),_.isInFallback=!0,v(C,V,null,!0),N||D()},move(x,P,C){_.activeBranch&&f(_.activeBranch,x,P,C),_.container=x},next(){return _.activeBranch&&m(_.activeBranch)},registerDep(x,P){const C=!!_.pendingBranch;C&&_.deps++;const V=x.vnode.el;x.asyncDep.catch(I=>{Ts(I,x,0)}).then(I=>{if(x.isUnmounted||_.isUnmounted||_.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:M}=x;Fd(x,I,!1),V&&(M.el=V);const O=!V&&x.subTree.el;P(x,M,g(V||x.subTree.el),V?null:m(x.subTree),_,o,r),O&&p(O),Jf(x,M.el),C&&--_.deps===0&&_.resolve()})},unmount(x,P){_.isUnmounted=!0,_.activeBranch&&v(_.activeBranch,n,x,P),_.pendingBranch&&v(_.pendingBranch,n,x,P)}};return _}function wk(e,t,n,i,a,s,o,l,r){const c=t.suspense=th(t,i,n,e.parentNode,document.createElement("div"),null,a,s,o,l,!0),u=r(e,c.pendingBranch=t.ssContent,n,c,s,o);return c.deps===0&&c.resolve(!1,!0),u}function kk(e){const{shapeFlag:t,children:n}=e,i=t&32;e.ssContent=Kv(i?n.default:n),e.ssFallback=i?Kv(n.fallback):h(vn)}function Kv(e){let t;if(je(e)){const n=_s&&e._c;n&&(e._d=!1,me()),e=e(),n&&(e._d=!0,t=Ln,tb())}return Be(e)&&(e=vk(e)),e=Wn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ay(e,t){t&&t.pendingBranch?Be(e)?t.effects.push(...e):t.effects.push(e):dc(e)}function co(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e,a=n.el=t.el;i&&i.subTree===n&&(i.vnode.el=a,Jf(i,a))}function Ck(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Jt(e,t){return er(e,null,t)}function Ty(e,t){return er(e,null,{flush:"post"})}function Pk(e,t){return er(e,null,{flush:"sync"})}const Cr={};function _e(e,t,n){return er(e,t,n)}function er(e,t,{immediate:n,deep:i,flush:a,onTrack:s,onTrigger:o}=pt){var l;const r=ly()===((l=qt)==null?void 0:l.scope)?qt:null;let c,u=!1,d=!1;if(jt(e)?(c=()=>e.value,u=wl(e)):ds(e)?(c=()=>e,i=!0):Be(e)?(d=!0,u=e.some(_=>ds(_)||wl(_)),c=()=>e.map(_=>{if(jt(_))return _.value;if(ds(_))return os(_);if(je(_))return Gi(_,r,2)})):je(e)?t?c=()=>Gi(e,r,2):c=()=>{if(!(r&&r.isUnmounted))return f&&f(),Yn(e,r,3,[v])}:c=vi,t&&i){const _=c;c=()=>os(_())}let f,v=_=>{f=b.onStop=()=>{Gi(_,r,4),f=b.onStop=void 0}},m;if(ho)if(v=vi,t?n&&Yn(t,r,3,[c(),d?[]:void 0,v]):c(),a==="sync"){const _=db();m=_.__watcherHandles||(_.__watcherHandles=[])}else return vi;let g=d?new Array(e.length).fill(Cr):Cr;const p=()=>{if(b.active)if(t){const _=b.run();(i||u||(d?_.some((x,P)=>Pa(x,g[P])):Pa(_,g)))&&(f&&f(),Yn(t,r,3,[_,g===Cr?void 0:d&&g[0]===Cr?[]:g,v]),g=_)}else b.run()};p.allowRecurse=!!t;let y;a==="sync"?y=p:a==="post"?y=()=>hn(p,r&&r.suspense):(p.pre=!0,r&&(p.id=r.uid),y=()=>Kc(p));const b=new uo(c,y);t?n?p():g=b.run():a==="post"?hn(b.run.bind(b),r&&r.suspense):b.run();const S=()=>{b.stop(),r&&r.scope&&$f(r.scope.effects,b)};return m&&m.push(S),S}function Ik(e,t,n){const i=this.proxy,a=Et(e)?e.includes(".")?My(i,e):()=>i[e]:e.bind(i,i);let s;je(t)?s=t:(s=t.handler,n=t);const o=qt;Ma(this);const l=er(a,s.bind(i),n);return o?Ma(o):wa(),l}function My(e,t){const n=t.split(".");return()=>{let i=e;for(let a=0;a{os(n,t)});else if(iy(e))for(const n in e)os(e[n],t);return e}function ft(e,t){const n=cn;if(n===null)return e;const i=nu(n)||n.proxy,a=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),an(()=>{e.isUnmounting=!0}),e}const ei=[Function,Array],ih={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ei,onEnter:ei,onAfterEnter:ei,onEnterCancelled:ei,onBeforeLeave:ei,onLeave:ei,onAfterLeave:ei,onLeaveCancelled:ei,onBeforeAppear:ei,onAppear:ei,onAfterAppear:ei,onAppearCancelled:ei},Vk={name:"BaseTransition",props:ih,setup(e,{slots:t}){const n=Di(),i=nh();let a;return()=>{const s=t.default&&Zc(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const g of s)if(g.type!==vn){o=g;break}}const l=Ye(e),{mode:r}=l;if(i.isLeaving)return Zu(o);const c=Gv(o);if(!c)return Zu(o);const u=fo(c,l,i,n);bs(c,u);const d=n.subTree,f=d&&Gv(d);let v=!1;const{getTransitionKey:m}=c.type;if(m){const g=m();a===void 0?a=g:g!==a&&(a=g,v=!0)}if(f&&f.type!==vn&&(!hi(c,f)||v)){const g=fo(f,l,i,n);if(bs(f,g),r==="out-in")return i.isLeaving=!0,g.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},Zu(o);r==="in-out"&&c.type!==vn&&(g.delayLeave=(p,y,b)=>{const S=Dy(i,f);S[String(f.key)]=f,p[ga]=()=>{y(),p[ga]=void 0,delete u.delayedLeave},u.delayedLeave=b})}return o}}},Ey=Vk;function Dy(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function fo(e,t,n,i){const{appear:a,mode:s,persisted:o=!1,onBeforeEnter:l,onEnter:r,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:g,onAppear:p,onAfterAppear:y,onAppearCancelled:b}=t,S=String(e.key),_=Dy(n,e),x=(V,I)=>{V&&Yn(V,i,9,I)},P=(V,I)=>{const M=I[1];x(V,I),Be(V)?V.every(O=>O.length<=1)&&M():V.length<=1&&M()},C={mode:s,persisted:o,beforeEnter(V){let I=l;if(!n.isMounted)if(a)I=g||l;else return;V[ga]&&V[ga](!0);const M=_[S];M&&hi(e,M)&&M.el[ga]&&M.el[ga](),x(I,[V])},enter(V){let I=r,M=c,O=u;if(!n.isMounted)if(a)I=p||r,M=y||c,O=b||u;else return;let D=!1;const N=V[Pr]=j=>{D||(D=!0,j?x(O,[V]):x(M,[V]),C.delayedLeave&&C.delayedLeave(),V[Pr]=void 0)};I?P(I,[V,N]):N()},leave(V,I){const M=String(e.key);if(V[Pr]&&V[Pr](!0),n.isUnmounting)return I();x(d,[V]);let O=!1;const D=V[ga]=N=>{O||(O=!0,I(),N?x(m,[V]):x(v,[V]),V[ga]=void 0,_[M]===e&&delete _[M])};_[M]=e,f?P(f,[V,D]):D()},clone(V){return fo(V,t,n,i)}};return C}function Zu(e){if(tr(e))return e=gi(e),e.children=null,e}function Gv(e){return tr(e)?e.children?e.children[0]:void 0:e}function bs(e,t){e.shapeFlag&6&&e.component?bs(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Zc(e,t=!1,n){let i=[],a=0;for(let s=0;s1)for(let s=0;sMt({name:e.name},t,{setup:e}))():e}const fs=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ak(e){je(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:a=200,timeout:s,suspensible:o=!0,onError:l}=e;let r=null,c,u=0;const d=()=>(u++,r=null,f()),f=()=>{let v;return r||(v=r=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((g,p)=>{l(m,()=>g(d()),()=>p(m),u+1)});throw m}).then(m=>v!==r&&r?r:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return La({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const v=qt;if(c)return()=>Ju(c,v);const m=b=>{r=null,Ts(b,v,13,!i)};if(o&&v.suspense||ho)return f().then(b=>()=>Ju(b,v)).catch(b=>(m(b),()=>i?h(i,{error:b}):null));const g=Z(!1),p=Z(),y=Z(!!a);return a&&setTimeout(()=>{y.value=!1},a),s!=null&&setTimeout(()=>{if(!g.value&&!p.value){const b=new Error(`Async component timed out after ${s}ms.`);m(b),p.value=b}},s),f().then(()=>{g.value=!0,v.parent&&tr(v.parent.vnode)&&Kc(v.parent.update)}).catch(b=>{m(b),p.value=b}),()=>{if(g.value&&c)return Ju(c,v);if(p.value&&i)return h(i,{error:p.value});if(n&&!y.value)return h(n)}}})}function Ju(e,t){const{ref:n,props:i,children:a,ce:s}=t.vnode,o=h(e,i,a);return o.ref=n,o.ce=s,delete t.vnode.ce,o}const tr=e=>e.type.__isKeepAlive,Tk={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Di(),i=n.ctx;if(!i.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const a=new Map,s=new Set;let o=null;const l=n.suspense,{renderer:{p:r,m:c,um:u,o:{createElement:d}}}=i,f=d("div");i.activate=(b,S,_,x,P)=>{const C=b.component;c(b,S,_,0,l),r(C.vnode,b,S,_,C,l,x,b.slotScopeIds,P),hn(()=>{C.isDeactivated=!1,C.a&&lo(C.a);const V=b.props&&b.props.onVnodeMounted;V&&On(V,C.parent,b)},l)},i.deactivate=b=>{const S=b.component;c(b,f,null,1,l),hn(()=>{S.da&&lo(S.da);const _=b.props&&b.props.onVnodeUnmounted;_&&On(_,S.parent,b),S.isDeactivated=!0},l)};function v(b){Qu(b),u(b,n,l,!0)}function m(b){a.forEach((S,_)=>{const x=zd(S.type);x&&(!b||!b(x))&&g(_)})}function g(b){const S=a.get(b);!o||!hi(S,o)?v(S):o&&Qu(o),a.delete(b),s.delete(b)}_e(()=>[e.include,e.exclude],([b,S])=>{b&&m(_=>el(b,_)),S&&m(_=>!el(S,_))},{flush:"post",deep:!0});let p=null;const y=()=>{p!=null&&a.set(p,ed(n.subTree))};return _t(y),eu(y),an(()=>{a.forEach(b=>{const{subTree:S,suspense:_}=n,x=ed(S);if(b.type===x.type&&b.key===x.key){Qu(x);const P=x.component.da;P&&hn(P,_);return}v(b)})}),()=>{if(p=null,!t.default)return null;const b=t.default(),S=b[0];if(b.length>1)return o=null,b;if(!Xi(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return o=null,S;let _=ed(S);const x=_.type,P=zd(fs(_)?_.type.__asyncResolved||{}:x),{include:C,exclude:V,max:I}=e;if(C&&(!P||!el(C,P))||V&&P&&el(V,P))return o=_,S;const M=_.key==null?x:_.key,O=a.get(M);return _.el&&(_=gi(_),S.shapeFlag&128&&(S.ssContent=_)),p=M,O?(_.el=O.el,_.component=O.component,_.transition&&bs(_,_.transition),_.shapeFlag|=512,s.delete(M),s.add(M)):(s.add(M),I&&s.size>parseInt(I,10)&&g(s.values().next().value)),_.shapeFlag|=256,o=_,Vy(S.type)?S:_}}},Mk=Tk;function el(e,t){return Be(e)?e.some(n=>el(n,t)):Et(e)?e.split(",").includes(t):fw(e)?e.test(t):!1}function ah(e,t){Oy(e,"a",t)}function sh(e,t){Oy(e,"da",t)}function Oy(e,t,n=qt){const i=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Jc(t,i,n),n){let a=n.parent;for(;a&&a.parent;)tr(a.parent.vnode)&&Ek(i,t,n,a),a=a.parent}}function Ek(e,t,n,i){const a=Jc(t,e,i,!0);Ms(()=>{$f(i[t],a)},n)}function Qu(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ed(e){return e.shapeFlag&128?e.ssContent:e}function Jc(e,t,n=qt,i=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Io(),Ma(n);const l=Yn(t,n,e,o);return wa(),Vo(),l});return i?a.unshift(s):a.push(s),s}}const ea=e=>(t,n=qt)=>(!ho||e==="sp")&&Jc(e,(...i)=>t(...i),n),nr=ea("bm"),_t=ea("m"),Qc=ea("bu"),eu=ea("u"),an=ea("bum"),Ms=ea("um"),Ry=ea("sp"),Ly=ea("rtg"),By=ea("rtc");function Ny(e,t=qt){Jc("ec",e,t)}function At(e,t,n,i){let a;const s=n&&n[i];if(Be(e)||Et(e)){a=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,s&&s[l]));else{const o=Object.keys(e);a=new Array(o.length);for(let l=0,r=o.length;l{const s=i.fn(...a);return s&&(s.key=i.key),s}:i.fn)}return e}function Fy(e,t,n={},i,a){if(cn.isCE||cn.parent&&fs(cn.parent)&&cn.parent.isCE)return t!=="default"&&(n.name=t),h("slot",n,i&&i());let s=e[t];s&&s._c&&(s._d=!1),me();const o=s&&$y(s(n)),l=Tt(Pe,{key:n.key||o&&o.key||`_${t}`},o||(i?i():[]),o&&e._===1?64:-2);return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function $y(e){return e.some(t=>Xi(t)?!(t.type===vn||t.type===Pe&&!$y(t.children)):!0)?e:null}function Ok(e,t){const n={};for(const i in e)n[t&&/[A-Z]/.test(i)?`on:${i}`:cl(i)]=e[i];return n}const Ed=e=>e?ob(e)?nu(e)||e.proxy:Ed(e.parent):null,ul=Mt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ed(e.parent),$root:e=>Ed(e.root),$emit:e=>e.emit,$options:e=>oh(e),$forceUpdate:e=>e.f||(e.f=()=>Kc(e.update)),$nextTick:e=>e.n||(e.n=Ze.bind(e.proxy)),$watch:e=>Ik.bind(e)}),td=(e,t)=>e!==pt&&!e.__isScriptSetup&&it(e,t),Dd={get({_:e},t){const{ctx:n,setupState:i,data:a,props:s,accessCache:o,type:l,appContext:r}=e;let c;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return i[t];case 2:return a[t];case 4:return n[t];case 3:return s[t]}else{if(td(i,t))return o[t]=1,i[t];if(a!==pt&&it(a,t))return o[t]=2,a[t];if((c=e.propsOptions[0])&&it(c,t))return o[t]=3,s[t];if(n!==pt&&it(n,t))return o[t]=4,n[t];Od&&(o[t]=0)}}const u=ul[t];let d,f;if(u)return t==="$attrs"&&Nn(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==pt&&it(n,t))return o[t]=4,n[t];if(f=r.config.globalProperties,it(f,t))return f[t]},set({_:e},t,n){const{data:i,setupState:a,ctx:s}=e;return td(a,t)?(a[t]=n,!0):i!==pt&&it(i,t)?(i[t]=n,!0):it(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:a,propsOptions:s}},o){let l;return!!n[o]||e!==pt&&it(e,o)||td(t,o)||(l=s[0])&&it(l,o)||it(i,o)||it(ul,o)||it(a.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:it(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Rk=Mt({},Dd,{get(e,t){if(t!==Symbol.unscopables)return Dd.get(e,t,e)},has(e,t){return t[0]!=="_"&&!pw(t)}});function Lk(){return null}function Bk(){return null}function Nk(e){}function Fk(e){}function $k(){return null}function zk(){}function Hk(e,t){return null}function jk(){return zy().slots}function Wk(){return zy().attrs}function Uk(e,t,n){const i=Di();if(n&&n.local){const a=Z(e[t]);return _e(()=>e[t],s=>a.value=s),_e(a,s=>{s!==e[t]&&i.emit(`update:${t}`,s)}),a}else return{__v_isRef:!0,get value(){return e[t]},set value(a){i.emit(`update:${t}`,a)}}}function zy(){const e=Di();return e.setupContext||(e.setupContext=cb(e))}function Al(e){return Be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Yk(e,t){const n=Al(e);for(const i in t){if(i.startsWith("__skip"))continue;let a=n[i];a?Be(a)||je(a)?a=n[i]={type:a,default:t[i]}:a.default=t[i]:a===null&&(a=n[i]={default:t[i]}),a&&t[`__skip_${i}`]&&(a.skipFactory=!0)}return n}function Kk(e,t){return!e||!t?e||t:Be(e)&&Be(t)?e.concat(t):Mt({},Al(e),Al(t))}function Gk(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n}function Xk(e){const t=Di();let n=e();return wa(),zf(n)&&(n=n.catch(i=>{throw Ma(t),i})),[n,()=>Ma(t)]}let Od=!0;function qk(e){const t=oh(e),n=e.proxy,i=e.ctx;Od=!1,t.beforeCreate&&Xv(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:o,watch:l,provide:r,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:v,updated:m,activated:g,deactivated:p,beforeDestroy:y,beforeUnmount:b,destroyed:S,unmounted:_,render:x,renderTracked:P,renderTriggered:C,errorCaptured:V,serverPrefetch:I,expose:M,inheritAttrs:O,components:D,directives:N,filters:j}=t;if(c&&Zk(c,i,null),o)for(const J in o){const B=o[J];je(B)&&(i[J]=B.bind(n))}if(a){const J=a.call(n,n);bt(J)&&(e.data=Ft(J))}if(Od=!0,s)for(const J in s){const B=s[J],G=je(B)?B.bind(n,n):je(B.get)?B.get.bind(n,n):vi,ee=!je(B)&&je(B.set)?B.set.bind(n):vi,le=w({get:G,set:ee});Object.defineProperty(i,J,{enumerable:!0,configurable:!0,get:()=>le.value,set:ce=>le.value=ce})}if(l)for(const J in l)Hy(l[J],i,n,J);if(r){const J=je(r)?r.call(n):r;Reflect.ownKeys(J).forEach(B=>{lt(B,J[B])})}u&&Xv(u,e,"c");function K(J,B){Be(B)?B.forEach(G=>J(G.bind(n))):B&&J(B.bind(n))}if(K(nr,d),K(_t,f),K(Qc,v),K(eu,m),K(ah,g),K(sh,p),K(Ny,V),K(By,P),K(Ly,C),K(an,b),K(Ms,_),K(Ry,I),Be(M))if(M.length){const J=e.exposed||(e.exposed={});M.forEach(B=>{Object.defineProperty(J,B,{get:()=>n[B],set:G=>n[B]=G})})}else e.exposed||(e.exposed={});x&&e.render===vi&&(e.render=x),O!=null&&(e.inheritAttrs=O),D&&(e.components=D),N&&(e.directives=N)}function Zk(e,t,n=vi){Be(e)&&(e=Rd(e));for(const i in e){const a=e[i];let s;bt(a)?"default"in a?s=Ke(a.from||i,a.default,!0):s=Ke(a.from||i):s=Ke(a),jt(s)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[i]=s}}function Xv(e,t,n){Yn(Be(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Hy(e,t,n,i){const a=i.includes(".")?My(n,i):()=>n[i];if(Et(e)){const s=t[e];je(s)&&_e(a,s)}else if(je(e))_e(a,e.bind(n));else if(bt(e))if(Be(e))e.forEach(s=>Hy(s,t,n,i));else{const s=je(e.handler)?e.handler.bind(n):t[e.handler];je(s)&&_e(a,s,e)}}function oh(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,l=s.get(t);let r;return l?r=l:!a.length&&!n&&!i?r=t:(r={},a.length&&a.forEach(c=>hc(r,c,o,!0)),hc(r,t,o)),bt(t)&&s.set(t,r),r}function hc(e,t,n,i=!1){const{mixins:a,extends:s}=t;s&&hc(e,s,n,!0),a&&a.forEach(o=>hc(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const l=Jk[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Jk={data:qv,props:Zv,emits:Zv,methods:tl,computed:tl,beforeCreate:kn,created:kn,beforeMount:kn,mounted:kn,beforeUpdate:kn,updated:kn,beforeDestroy:kn,beforeUnmount:kn,destroyed:kn,unmounted:kn,activated:kn,deactivated:kn,errorCaptured:kn,serverPrefetch:kn,components:tl,directives:tl,watch:eC,provide:qv,inject:Qk};function qv(e,t){return t?e?function(){return Mt(je(e)?e.call(this,this):e,je(t)?t.call(this,this):t)}:t:e}function Qk(e,t){return tl(Rd(e),Rd(t))}function Rd(e){if(Be(e)){const t={};for(let n=0;n1)return n&&je(t)?t.call(i&&i.proxy):t}}function iC(){return!!(qt||cn||Tl)}function aC(e,t,n,i=!1){const a={},s={};lc(s,tu,1),e.propsDefaults=Object.create(null),Wy(e,t,a,s);for(const o in e.propsOptions[0])o in a||(a[o]=void 0);n?e.props=i?a:Yf(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function sC(e,t,n,i){const{props:a,attrs:s,vnode:{patchFlag:o}}=e,l=Ye(a),[r]=e.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{r=!0;const[f,v]=Uy(d,t,!0);Mt(o,f),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!r)return bt(e)&&i.set(e,so),so;if(Be(s))for(let u=0;u-1,v[1]=g<0||m-1||it(v,"default"))&&l.push(d)}}}const c=[o,l];return bt(e)&&i.set(e,c),c}function Jv(e){return e[0]!=="$"}function Qv(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function em(e,t){return Qv(e)===Qv(t)}function tm(e,t){return Be(t)?t.findIndex(n=>em(n,e)):je(t)&&em(t,e)?0:-1}const Yy=e=>e[0]==="_"||e==="$stable",lh=e=>Be(e)?e.map(Wn):[Wn(e)],oC=(e,t,n)=>{if(t._n)return t;const i=se((...a)=>lh(t(...a)),n);return i._c=!1,i},Ky=(e,t,n)=>{const i=e._ctx;for(const a in e){if(Yy(a))continue;const s=e[a];if(je(s))t[a]=oC(a,s,i);else if(s!=null){const o=lh(s);t[a]=()=>o}}},Gy=(e,t)=>{const n=lh(t);e.slots.default=()=>n},lC=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ye(t),lc(t,"_",n)):Ky(t,e.slots={})}else e.slots={},t&&Gy(e,t);lc(e.slots,tu,1)},rC=(e,t,n)=>{const{vnode:i,slots:a}=e;let s=!0,o=pt;if(i.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:(Mt(a,t),!n&&l===1&&delete a._):(s=!t.$stable,Ky(t,a)),o=t}else t&&(Gy(e,t),o={default:1});if(s)for(const l in a)!Yy(l)&&o[l]==null&&delete a[l]};function vc(e,t,n,i,a=!1){if(Be(e)){e.forEach((f,v)=>vc(f,t&&(Be(t)?t[v]:t),n,i,a));return}if(fs(i)&&!a)return;const s=i.shapeFlag&4?nu(i.component)||i.component.proxy:i.el,o=a?null:s,{i:l,r}=e,c=t&&t.r,u=l.refs===pt?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==r&&(Et(c)?(u[c]=null,it(d,c)&&(d[c]=null)):jt(c)&&(c.value=null)),je(r))Gi(r,l,12,[o,u]);else{const f=Et(r),v=jt(r);if(f||v){const m=()=>{if(e.f){const g=f?it(d,r)?d[r]:u[r]:r.value;a?Be(g)&&$f(g,s):Be(g)?g.includes(s)||g.push(s):f?(u[r]=[s],it(d,r)&&(d[r]=u[r])):(r.value=[s],e.k&&(u[e.k]=r.value))}else f?(u[r]=o,it(d,r)&&(d[r]=o)):v&&(r.value=o,e.k&&(u[e.k]=o))};o?(m.id=-1,hn(m,n)):m()}}}let ua=!1;const Ir=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Vr=e=>e.nodeType===8;function cC(e){const{mt:t,p:n,o:{patchProp:i,createText:a,nextSibling:s,parentNode:o,remove:l,insert:r,createComment:c}}=e,u=(S,_)=>{if(!_.hasChildNodes()){n(null,S,_),fc(),_._vnode=S;return}ua=!1,d(_.firstChild,S,null,null,null),fc(),_._vnode=S,ua&&console.error("Hydration completed but contains mismatches.")},d=(S,_,x,P,C,V=!1)=>{const I=Vr(S)&&S.data==="[",M=()=>g(S,_,x,P,C,I),{type:O,ref:D,shapeFlag:N,patchFlag:j}=_;let Y=S.nodeType;_.el=S,j===-2&&(V=!1,_.dynamicChildren=null);let K=null;switch(O){case Ta:Y!==3?_.children===""?(r(_.el=a(""),o(S),S),K=S):K=M():(S.data!==_.children&&(ua=!0,S.data=_.children),K=s(S));break;case vn:b(S)?(K=s(S),y(_.el=S.content.firstChild,S,x)):Y!==8||I?K=M():K=s(S);break;case hs:if(I&&(S=s(S),Y=S.nodeType),Y===1||Y===3){K=S;const J=!_.children.length;for(let B=0;B<_.staticCount;B++)J&&(_.children+=K.nodeType===1?K.outerHTML:K.data),B===_.staticCount-1&&(_.anchor=K),K=s(K);return I?s(K):K}else M();break;case Pe:I?K=m(S,_,x,P,C,V):K=M();break;default:if(N&1)(Y!==1||_.type.toLowerCase()!==S.tagName.toLowerCase())&&!b(S)?K=M():K=f(S,_,x,P,C,V);else if(N&6){_.slotScopeIds=C;const J=o(S);if(I?K=p(S):Vr(S)&&S.data==="teleport start"?K=p(S,S.data,"teleport end"):K=s(S),t(_,J,null,x,P,Ir(J),V),fs(_)){let B;I?(B=h(Pe),B.anchor=K?K.previousSibling:J.lastChild):B=S.nodeType===3?Xe(""):h("div"),B.el=S,_.component.subTree=B}}else N&64?Y!==8?K=M():K=_.type.hydrate(S,_,x,P,C,V,e,v):N&128&&(K=_.type.hydrate(S,_,x,P,Ir(o(S)),C,V,e,d))}return D!=null&&vc(D,null,P,_),K},f=(S,_,x,P,C,V)=>{V=V||!!_.dynamicChildren;const{type:I,props:M,patchFlag:O,shapeFlag:D,dirs:N,transition:j}=_,Y=I==="input"||I==="option";if(Y||O!==-1){N&&Pi(_,null,x,"created");let K=!1;if(b(S)){K=Jy(P,j)&&x&&x.vnode.props&&x.vnode.props.appear;const B=S.content.firstChild;K&&j.beforeEnter(B),y(B,S,x),_.el=S=B}if(M)if(Y||!V||O&48)for(const B in M)(Y&&(B.endsWith("value")||B==="indeterminate")||Zl(B)&&!rl(B)||B[0]===".")&&i(S,B,null,M[B],!1,void 0,x);else M.onClick&&i(S,"onClick",null,M.onClick,!1,void 0,x);let J;if((J=M&&M.onVnodeBeforeMount)&&On(J,x,_),N&&Pi(_,null,x,"beforeMount"),((J=M&&M.onVnodeMounted)||N||K)&&Ay(()=>{J&&On(J,x,_),K&&j.enter(S),N&&Pi(_,null,x,"mounted")},P),D&16&&!(M&&(M.innerHTML||M.textContent))){let B=v(S.firstChild,_,S,x,P,C,V);for(;B;){ua=!0;const G=B;B=B.nextSibling,l(G)}}else D&8&&S.textContent!==_.children&&(ua=!0,S.textContent=_.children)}return S.nextSibling},v=(S,_,x,P,C,V,I)=>{I=I||!!_.dynamicChildren;const M=_.children,O=M.length;for(let D=0;D{const{slotScopeIds:I}=_;I&&(C=C?C.concat(I):I);const M=o(S),O=v(s(S),_,M,x,P,C,V);return O&&Vr(O)&&O.data==="]"?s(_.anchor=O):(ua=!0,r(_.anchor=c("]"),M,O),O)},g=(S,_,x,P,C,V)=>{if(ua=!0,_.el=null,V){const O=p(S);for(;;){const D=s(S);if(D&&D!==O)l(D);else break}}const I=s(S),M=o(S);return l(S),n(null,_,M,I,x,P,Ir(M),C),I},p=(S,_="[",x="]")=>{let P=0;for(;S;)if(S=s(S),S&&Vr(S)&&(S.data===_&&P++,S.data===x)){if(P===0)return s(S);P--}return S},y=(S,_,x)=>{const P=_.parentNode;P&&P.replaceChild(S,_);let C=x;for(;C;)C.vnode.el===_&&(C.vnode.el=C.subTree.el=S),C=C.parent},b=S=>S.nodeType===1&&S.tagName.toLowerCase()==="template";return[u,d]}const hn=Ay;function Xy(e){return Zy(e)}function qy(e){return Zy(e,cC)}function Zy(e,t){const n=Id();n.__VUE__=!0;const{insert:i,remove:a,patchProp:s,createElement:o,createText:l,createComment:r,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:v=vi,insertStaticContent:m}=e,g=(E,R,F,q=null,oe=null,he=null,we=!1,xe=null,Ve=!!R.dynamicChildren)=>{if(E===R)return;E&&!hi(E,R)&&(q=U(E),ce(E,oe,he,!0),E=null),R.patchFlag===-2&&(Ve=!1,R.dynamicChildren=null);const{type:pe,ref:Ne,shapeFlag:Le}=R;switch(pe){case Ta:p(E,R,F,q);break;case vn:y(E,R,F,q);break;case hs:E==null&&b(R,F,q,we);break;case Pe:D(E,R,F,q,oe,he,we,xe,Ve);break;default:Le&1?x(E,R,F,q,oe,he,we,xe,Ve):Le&6?N(E,R,F,q,oe,he,we,xe,Ve):(Le&64||Le&128)&&pe.process(E,R,F,q,oe,he,we,xe,Ve,ie)}Ne!=null&&oe&&vc(Ne,E&&E.ref,he,R||E,!R)},p=(E,R,F,q)=>{if(E==null)i(R.el=l(R.children),F,q);else{const oe=R.el=E.el;R.children!==E.children&&c(oe,R.children)}},y=(E,R,F,q)=>{E==null?i(R.el=r(R.children||""),F,q):R.el=E.el},b=(E,R,F,q)=>{[E.el,E.anchor]=m(E.children,R,F,q,E.el,E.anchor)},S=({el:E,anchor:R},F,q)=>{let oe;for(;E&&E!==R;)oe=f(E),i(E,F,q),E=oe;i(R,F,q)},_=({el:E,anchor:R})=>{let F;for(;E&&E!==R;)F=f(E),a(E),E=F;a(R)},x=(E,R,F,q,oe,he,we,xe,Ve)=>{we=we||R.type==="svg",E==null?P(R,F,q,oe,he,we,xe,Ve):I(E,R,oe,he,we,xe,Ve)},P=(E,R,F,q,oe,he,we,xe)=>{let Ve,pe;const{type:Ne,props:Le,shapeFlag:Fe,transition:Ue,dirs:qe}=E;if(Ve=E.el=o(E.type,he,Le&&Le.is,Le),Fe&8?u(Ve,E.children):Fe&16&&V(E.children,Ve,null,q,oe,he&&Ne!=="foreignObject",we,xe),qe&&Pi(E,null,q,"created"),C(Ve,E,E.scopeId,we,q),Le){for(const rt in Le)rt!=="value"&&!rl(rt)&&s(Ve,rt,null,Le[rt],he,E.children,q,oe,te);"value"in Le&&s(Ve,"value",null,Le.value),(pe=Le.onVnodeBeforeMount)&&On(pe,q,E)}qe&&Pi(E,null,q,"beforeMount");const gt=Jy(oe,Ue);gt&&Ue.beforeEnter(Ve),i(Ve,R,F),((pe=Le&&Le.onVnodeMounted)||gt||qe)&&hn(()=>{pe&&On(pe,q,E),gt&&Ue.enter(Ve),qe&&Pi(E,null,q,"mounted")},oe)},C=(E,R,F,q,oe)=>{if(F&&v(E,F),q)for(let he=0;he{for(let pe=Ve;pe{const xe=R.el=E.el;let{patchFlag:Ve,dynamicChildren:pe,dirs:Ne}=R;Ve|=E.patchFlag&16;const Le=E.props||pt,Fe=R.props||pt;let Ue;F&&Xa(F,!1),(Ue=Fe.onVnodeBeforeUpdate)&&On(Ue,F,R,E),Ne&&Pi(R,E,F,"beforeUpdate"),F&&Xa(F,!0);const qe=oe&&R.type!=="foreignObject";if(pe?M(E.dynamicChildren,pe,xe,F,q,qe,he):we||B(E,R,xe,null,F,q,qe,he,!1),Ve>0){if(Ve&16)O(xe,R,Le,Fe,F,q,oe);else if(Ve&2&&Le.class!==Fe.class&&s(xe,"class",null,Fe.class,oe),Ve&4&&s(xe,"style",Le.style,Fe.style,oe),Ve&8){const gt=R.dynamicProps;for(let rt=0;rt{Ue&&On(Ue,F,R,E),Ne&&Pi(R,E,F,"updated")},q)},M=(E,R,F,q,oe,he,we)=>{for(let xe=0;xe{if(F!==q){if(F!==pt)for(const xe in F)!rl(xe)&&!(xe in q)&&s(E,xe,F[xe],null,we,R.children,oe,he,te);for(const xe in q){if(rl(xe))continue;const Ve=q[xe],pe=F[xe];Ve!==pe&&xe!=="value"&&s(E,xe,pe,Ve,we,R.children,oe,he,te)}"value"in q&&s(E,"value",F.value,q.value)}},D=(E,R,F,q,oe,he,we,xe,Ve)=>{const pe=R.el=E?E.el:l(""),Ne=R.anchor=E?E.anchor:l("");let{patchFlag:Le,dynamicChildren:Fe,slotScopeIds:Ue}=R;Ue&&(xe=xe?xe.concat(Ue):Ue),E==null?(i(pe,F,q),i(Ne,F,q),V(R.children,F,Ne,oe,he,we,xe,Ve)):Le>0&&Le&64&&Fe&&E.dynamicChildren?(M(E.dynamicChildren,Fe,F,oe,he,we,xe),(R.key!=null||oe&&R===oe.subTree)&&rh(E,R,!0)):B(E,R,F,Ne,oe,he,we,xe,Ve)},N=(E,R,F,q,oe,he,we,xe,Ve)=>{R.slotScopeIds=xe,E==null?R.shapeFlag&512?oe.ctx.activate(R,F,q,we,Ve):j(R,F,q,oe,he,we,Ve):Y(E,R,Ve)},j=(E,R,F,q,oe,he,we)=>{const xe=E.component=sb(E,q,oe);if(tr(E)&&(xe.ctx.renderer=ie),lb(xe),xe.asyncDep){if(oe&&oe.registerDep(xe,K),!E.el){const Ve=xe.subTree=h(vn);y(null,Ve,R,F)}return}K(xe,E,R,F,oe,he,we)},Y=(E,R,F)=>{const q=R.component=E.component;if(pk(E,R,F))if(q.asyncDep&&!q.asyncResolved){J(q,R,F);return}else q.next=R,uk(q.update),q.update();else R.el=E.el,q.vnode=R},K=(E,R,F,q,oe,he,we)=>{const xe=()=>{if(E.isMounted){let{next:Ne,bu:Le,u:Fe,parent:Ue,vnode:qe}=E,gt=Ne,rt;Xa(E,!1),Ne?(Ne.el=qe.el,J(E,Ne,we)):Ne=qe,Le&&lo(Le),(rt=Ne.props&&Ne.props.onVnodeBeforeUpdate)&&On(rt,Ue,Ne,qe),Xa(E,!0);const Bt=Qr(E),An=E.subTree;E.subTree=Bt,g(An,Bt,d(An.el),U(An),E,oe,he),Ne.el=Bt.el,gt===null&&Jf(E,Bt.el),Fe&&hn(Fe,oe),(rt=Ne.props&&Ne.props.onVnodeUpdated)&&hn(()=>On(rt,Ue,Ne,qe),oe)}else{let Ne;const{el:Le,props:Fe}=R,{bm:Ue,m:qe,parent:gt}=E,rt=fs(R);if(Xa(E,!1),Ue&&lo(Ue),!rt&&(Ne=Fe&&Fe.onVnodeBeforeMount)&&On(Ne,gt,R),Xa(E,!0),Le&&Ie){const Bt=()=>{E.subTree=Qr(E),Ie(Le,E.subTree,E,oe,null)};rt?R.type.__asyncLoader().then(()=>!E.isUnmounted&&Bt()):Bt()}else{const Bt=E.subTree=Qr(E);g(null,Bt,F,q,E,oe,he),R.el=Bt.el}if(qe&&hn(qe,oe),!rt&&(Ne=Fe&&Fe.onVnodeMounted)){const Bt=R;hn(()=>On(Ne,gt,Bt),oe)}(R.shapeFlag&256||gt&&fs(gt.vnode)&>.vnode.shapeFlag&256)&&E.a&&hn(E.a,oe),E.isMounted=!0,R=F=q=null}},Ve=E.effect=new uo(xe,()=>Kc(pe),E.scope),pe=E.update=()=>Ve.run();pe.id=E.uid,Xa(E,!0),pe()},J=(E,R,F)=>{R.component=E;const q=E.vnode.props;E.vnode=R,E.next=null,sC(E,R.props,q,F),rC(E,R.children,F),Io(),Wv(E),Vo()},B=(E,R,F,q,oe,he,we,xe,Ve=!1)=>{const pe=E&&E.children,Ne=E?E.shapeFlag:0,Le=R.children,{patchFlag:Fe,shapeFlag:Ue}=R;if(Fe>0){if(Fe&128){ee(pe,Le,F,q,oe,he,we,xe,Ve);return}else if(Fe&256){G(pe,Le,F,q,oe,he,we,xe,Ve);return}}Ue&8?(Ne&16&&te(pe,oe,he),Le!==pe&&u(F,Le)):Ne&16?Ue&16?ee(pe,Le,F,q,oe,he,we,xe,Ve):te(pe,oe,he,!0):(Ne&8&&u(F,""),Ue&16&&V(Le,F,q,oe,he,we,xe,Ve))},G=(E,R,F,q,oe,he,we,xe,Ve)=>{E=E||so,R=R||so;const pe=E.length,Ne=R.length,Le=Math.min(pe,Ne);let Fe;for(Fe=0;FeNe?te(E,oe,he,!0,!1,Le):V(R,F,q,oe,he,we,xe,Ve,Le)},ee=(E,R,F,q,oe,he,we,xe,Ve)=>{let pe=0;const Ne=R.length;let Le=E.length-1,Fe=Ne-1;for(;pe<=Le&&pe<=Fe;){const Ue=E[pe],qe=R[pe]=Ve?pa(R[pe]):Wn(R[pe]);if(hi(Ue,qe))g(Ue,qe,F,null,oe,he,we,xe,Ve);else break;pe++}for(;pe<=Le&&pe<=Fe;){const Ue=E[Le],qe=R[Fe]=Ve?pa(R[Fe]):Wn(R[Fe]);if(hi(Ue,qe))g(Ue,qe,F,null,oe,he,we,xe,Ve);else break;Le--,Fe--}if(pe>Le){if(pe<=Fe){const Ue=Fe+1,qe=UeFe)for(;pe<=Le;)ce(E[pe],oe,he,!0),pe++;else{const Ue=pe,qe=pe,gt=new Map;for(pe=qe;pe<=Fe;pe++){const ze=R[pe]=Ve?pa(R[pe]):Wn(R[pe]);ze.key!=null&>.set(ze.key,pe)}let rt,Bt=0;const An=Fe-qe+1;let Li=!1,$o=0;const Wa=new Array(An);for(pe=0;pe=An){ce(ze,oe,he,!0);continue}let $n;if(ze.key!=null)$n=gt.get(ze.key);else for(rt=qe;rt<=Fe;rt++)if(Wa[rt-qe]===0&&hi(ze,R[rt])){$n=rt;break}$n===void 0?ce(ze,oe,he,!0):(Wa[$n-qe]=pe+1,$n>=$o?$o=$n:Li=!0,g(ze,R[$n],F,null,oe,he,we,xe,Ve),Bt++)}const gr=Li?uC(Wa):so;for(rt=gr.length-1,pe=An-1;pe>=0;pe--){const ze=qe+pe,$n=R[ze],$s=ze+1{const{el:he,type:we,transition:xe,children:Ve,shapeFlag:pe}=E;if(pe&6){le(E.component.subTree,R,F,q);return}if(pe&128){E.suspense.move(R,F,q);return}if(pe&64){we.move(E,R,F,ie);return}if(we===Pe){i(he,R,F);for(let Le=0;Lexe.enter(he),oe);else{const{leave:Le,delayLeave:Fe,afterLeave:Ue}=xe,qe=()=>i(he,R,F),gt=()=>{Le(he,()=>{qe(),Ue&&Ue()})};Fe?Fe(he,qe,gt):gt()}else i(he,R,F)},ce=(E,R,F,q=!1,oe=!1)=>{const{type:he,props:we,ref:xe,children:Ve,dynamicChildren:pe,shapeFlag:Ne,patchFlag:Le,dirs:Fe}=E;if(xe!=null&&vc(xe,null,F,E,!0),Ne&256){R.ctx.deactivate(E);return}const Ue=Ne&1&&Fe,qe=!fs(E);let gt;if(qe&&(gt=we&&we.onVnodeBeforeUnmount)&&On(gt,R,E),Ne&6)Oe(E.component,F,q);else{if(Ne&128){E.suspense.unmount(F,q);return}Ue&&Pi(E,null,R,"beforeUnmount"),Ne&64?E.type.remove(E,R,F,oe,ie,q):pe&&(he!==Pe||Le>0&&Le&64)?te(pe,R,F,!1,!0):(he===Pe&&Le&384||!oe&&Ne&16)&&te(Ve,R,F),q&&ge(E)}(qe&&(gt=we&&we.onVnodeUnmounted)||Ue)&&hn(()=>{gt&&On(gt,R,E),Ue&&Pi(E,null,R,"unmounted")},F)},ge=E=>{const{type:R,el:F,anchor:q,transition:oe}=E;if(R===Pe){Me(F,q);return}if(R===hs){_(E);return}const he=()=>{a(F),oe&&!oe.persisted&&oe.afterLeave&&oe.afterLeave()};if(E.shapeFlag&1&&oe&&!oe.persisted){const{leave:we,delayLeave:xe}=oe,Ve=()=>we(F,he);xe?xe(E.el,he,Ve):Ve()}else he()},Me=(E,R)=>{let F;for(;E!==R;)F=f(E),a(E),E=F;a(R)},Oe=(E,R,F)=>{const{bum:q,scope:oe,update:he,subTree:we,um:xe}=E;q&&lo(q),oe.stop(),he&&(he.active=!1,ce(we,E,R,F)),xe&&hn(xe,R),hn(()=>{E.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},te=(E,R,F,q=!1,oe=!1,he=0)=>{for(let we=he;weE.shapeFlag&6?U(E.component.subTree):E.shapeFlag&128?E.suspense.next():f(E.anchor||E.el),Q=(E,R,F)=>{E==null?R._vnode&&ce(R._vnode,null,null,!0):g(R._vnode||null,E,R,null,null,null,F),Wv(),fc(),R._vnode=E},ie={p:g,um:ce,m:le,r:ge,mt:j,mc:V,pc:B,pbc:M,n:U,o:e};let X,Ie;return t&&([X,Ie]=t(ie)),{render:Q,hydrate:X,createApp:nC(Q,X)}}function Xa({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Jy(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rh(e,t,n=!1){const i=e.children,a=t.children;if(Be(i)&&Be(a))for(let s=0;s>1,e[n[l]]0&&(t[i]=n[s-1]),n[s]=i)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}const dC=e=>e.__isTeleport,dl=e=>e&&(e.disabled||e.disabled===""),nm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Bd=(e,t)=>{const n=e&&e.to;return Et(n)?t?t(n):null:n},fC={name:"Teleport",__isTeleport:!0,process(e,t,n,i,a,s,o,l,r,c){const{mc:u,pc:d,pbc:f,o:{insert:v,querySelector:m,createText:g,createComment:p}}=c,y=dl(t.props);let{shapeFlag:b,children:S,dynamicChildren:_}=t;if(e==null){const x=t.el=g(""),P=t.anchor=g("");v(x,n,i),v(P,n,i);const C=t.target=Bd(t.props,m),V=t.targetAnchor=g("");C&&(v(V,C),o=o||nm(C));const I=(M,O)=>{b&16&&u(S,M,O,a,s,o,l,r)};y?I(n,P):C&&I(C,V)}else{t.el=e.el;const x=t.anchor=e.anchor,P=t.target=e.target,C=t.targetAnchor=e.targetAnchor,V=dl(e.props),I=V?n:P,M=V?x:C;if(o=o||nm(P),_?(f(e.dynamicChildren,_,I,a,s,o,l),rh(e,t,!0)):r||d(e,t,I,M,a,s,o,l,!1),y)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ar(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=Bd(t.props,m);O&&Ar(t,O,null,c,0)}else V&&Ar(t,P,C,c,1)}eb(t)},remove(e,t,n,i,{um:a,o:{remove:s}},o){const{shapeFlag:l,children:r,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&s(u),o&&s(c),l&16){const v=o||!dl(f);for(let m=0;m0?Ln||so:null,tb(),_s>0&&Ln&&Ln.push(e),e}function Te(e,t,n,i,a,s){return nb(be(e,t,n,i,a,s,!0))}function Tt(e,t,n,i,a){return nb(h(e,t,n,i,a,!0))}function Xi(e){return e?e.__v_isVNode===!0:!1}function hi(e,t){return e.type===t.type&&e.key===t.key}function vC(e){}const tu="__vInternal",ib=({key:e})=>e??null,ec=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Et(e)||jt(e)||je(e)?{i:cn,r:e,k:t,f:!!n}:e:null);function be(e,t=null,n=null,i=0,a=null,s=e===Pe?0:1,o=!1,l=!1){const r={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ib(t),ref:t&&ec(t),scopeId:Xc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:cn};return l?(ch(r,n),s&128&&e.normalize(r)):n&&(r.shapeFlag|=Et(n)?8:16),_s>0&&!o&&Ln&&(r.patchFlag>0||s&6)&&r.patchFlag!==32&&Ln.push(r),r}const h=mC;function mC(e,t=null,n=null,i=0,a=null,s=!1){if((!e||e===Iy)&&(e=vn),Xi(e)){const l=gi(e,t,!0);return n&&ch(l,n),_s>0&&!s&&Ln&&(l.shapeFlag&6?Ln[Ln.indexOf(e)]=l:Ln.push(l)),l.patchFlag|=-2,l}if(wC(e)&&(e=e.__vccOpts),t){t=ab(t);let{class:l,style:r}=t;l&&!Et(l)&&(t.class=xt(l)),bt(r)&&(Jl(r)&&!Be(r)&&(r=Mt({},r)),t.style=Ia(r))}const o=Et(e)?1:Vy(e)?128:dC(e)?64:bt(e)?4:je(e)?2:0;return be(e,t,n,i,a,o,s,!0)}function ab(e){return e?Jl(e)||tu in e?Mt({},e):e:null}function gi(e,t,n=!1){const{props:i,ref:a,patchFlag:s,children:o}=e,l=t?ve(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ib(l),ref:t&&t.ref?n&&a?Be(a)?a.concat(ec(t)):[a,ec(t)]:ec(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&gi(e.ssContent),ssFallback:e.ssFallback&&gi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Xe(e=" ",t=0){return h(Ta,null,e,t)}function gC(e,t){const n=h(hs,null,e);return n.staticCount=t,n}function kt(e="",t=!1){return t?(me(),Tt(vn,null,e)):h(vn,null,e)}function Wn(e){return e==null||typeof e=="boolean"?h(vn):Be(e)?h(Pe,null,e.slice()):typeof e=="object"?pa(e):h(Ta,null,String(e))}function pa(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:gi(e)}function ch(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(Be(t))n=16;else if(typeof t=="object")if(i&65){const a=t.default;a&&(a._c&&(a._d=!1),ch(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!(tu in t)?t._ctx=cn:a===3&&cn&&(cn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else je(t)?(t={default:t,_ctx:cn},n=32):(t=String(t),i&64?(n=16,t=[Xe(t)]):n=8);e.children=t,e.shapeFlag|=n}function ve(...e){const t={};for(let n=0;nqt||cn;let uh,Us,im="__VUE_INSTANCE_SETTERS__";(Us=Id()[im])||(Us=Id()[im]=[]),Us.push(e=>qt=e),uh=e=>{Us.length>1?Us.forEach(t=>t(e)):Us[0](e)};const Ma=e=>{uh(e),e.scope.on()},wa=()=>{qt&&qt.scope.off(),uh(null)};function ob(e){return e.vnode.shapeFlag&4}let ho=!1;function lb(e,t=!1){ho=t;const{props:n,children:i}=e.vnode,a=ob(e);aC(e,n,a,t),lC(e,i);const s=a?bC(e,t):void 0;return ho=!1,s}function bC(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Kf(new Proxy(e.ctx,Dd));const{setup:i}=n;if(i){const a=e.setupContext=i.length>1?cb(e):null;Ma(e),Io();const s=Gi(i,e,0,[e.props,a]);if(Vo(),wa(),zf(s)){if(s.then(wa,wa),t)return s.then(o=>{Fd(e,o,t)}).catch(o=>{Ts(o,e,0)});e.asyncDep=s}else Fd(e,s,t)}else rb(e,t)}function Fd(e,t,n){je(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:bt(t)&&(e.setupState=qf(t)),rb(e,n)}let mc,$d;function _C(e){mc=e,$d=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Rk))}}const xC=()=>!mc;function rb(e,t,n){const i=e.type;if(!e.render){if(!t&&mc&&!i.render){const a=i.template||oh(e).template;if(a){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:r}=i,c=Mt(Mt({isCustomElement:s,delimiters:l},o),r);i.render=mc(a,c)}}e.render=i.render||vi,$d&&$d(e)}{Ma(e),Io();try{qk(e)}finally{Vo(),wa()}}}function SC(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Nn(e,"get","$attrs"),t[n]}}))}function cb(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return SC(e)},slots:e.slots,emit:e.emit,expose:t}}function nu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(qf(Kf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ul)return ul[n](e)},has(t,n){return n in t||n in ul}}))}function zd(e,t=!0){return je(e)?e.displayName||e.name:e.name||t&&e.__name}function wC(e){return je(e)&&"__vccOpts"in e}const w=(e,t)=>sk(e,t,ho);function Fn(e,t,n){const i=arguments.length;return i===2?bt(t)&&!Be(t)?Xi(t)?h(e,null,[t]):h(e,t):h(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Xi(n)&&(n=[n]),h(e,t,n))}const ub=Symbol.for("v-scx"),db=()=>Ke(ub);function kC(){}function CC(e,t,n,i){const a=n[i];if(a&&fb(a,e))return a;const s=t();return s.memo=e.slice(),n[i]=s}function fb(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let i=0;i0&&Ln&&Ln.push(e),!0}const dh="3.3.12",PC={createComponentInstance:sb,setupComponent:lb,renderComponentRoot:Qr,setCurrentRenderingInstance:Il,isVNode:Xi,normalizeVNode:Wn},IC=PC,VC=null,AC=null,TC="http://www.w3.org/2000/svg",ss=typeof document<"u"?document:null,am=ss&&ss.createElement("template"),MC={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const a=t?ss.createElementNS(TC,e):ss.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>ss.createTextNode(e),createComment:e=>ss.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ss.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,a,s){const o=n?n.previousSibling:t.lastChild;if(a&&(a===s||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===s||!(a=a.nextSibling)););else{am.innerHTML=i?`${e}`:e;const l=am.content;if(i){const r=l.firstChild;for(;r.firstChild;)l.appendChild(r.firstChild);l.removeChild(r)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},da="transition",jo="animation",vo=Symbol("_vtc"),pi=(e,{slots:t})=>Fn(Ey,vb(e),t);pi.displayName="Transition";const hb={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},EC=pi.props=Mt({},ih,hb),qa=(e,t=[])=>{Be(e)?e.forEach(n=>n(...t)):e&&e(...t)},sm=e=>e?Be(e)?e.some(t=>t.length>1):e.length>1:!1;function vb(e){const t={};for(const D in e)D in hb||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:i,duration:a,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:r=s,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,m=DC(a),g=m&&m[0],p=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:S,onLeave:_,onLeaveCancelled:x,onBeforeAppear:P=y,onAppear:C=b,onAppearCancelled:V=S}=t,I=(D,N,j)=>{ma(D,N?u:l),ma(D,N?c:o),j&&j()},M=(D,N)=>{D._isLeaving=!1,ma(D,d),ma(D,v),ma(D,f),N&&N()},O=D=>(N,j)=>{const Y=D?C:b,K=()=>I(N,D,j);qa(Y,[N,K]),om(()=>{ma(N,D?r:s),zi(N,D?u:l),sm(Y)||lm(N,i,g,K)})};return Mt(t,{onBeforeEnter(D){qa(y,[D]),zi(D,s),zi(D,o)},onBeforeAppear(D){qa(P,[D]),zi(D,r),zi(D,c)},onEnter:O(!1),onAppear:O(!0),onLeave(D,N){D._isLeaving=!0;const j=()=>M(D,N);zi(D,d),gb(),zi(D,f),om(()=>{D._isLeaving&&(ma(D,d),zi(D,v),sm(_)||lm(D,i,p,j))}),qa(_,[D,j])},onEnterCancelled(D){I(D,!1),qa(S,[D])},onAppearCancelled(D){I(D,!0),qa(V,[D])},onLeaveCancelled(D){M(D),qa(x,[D])}})}function DC(e){if(e==null)return null;if(bt(e))return[nd(e.enter),nd(e.leave)];{const t=nd(e);return[t,t]}}function nd(e){return cc(e)}function zi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[vo]||(e[vo]=new Set)).add(t)}function ma(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[vo];n&&(n.delete(t),n.size||(e[vo]=void 0))}function om(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let OC=0;function lm(e,t,n,i){const a=e._endId=++OC,s=()=>{a===e._endId&&i()};if(n)return setTimeout(s,n);const{type:o,timeout:l,propCount:r}=mb(e,t);if(!o)return i();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,f),s()},f=v=>{v.target===e&&++u>=r&&d()};setTimeout(()=>{u(n[m]||"").split(", "),a=i(`${da}Delay`),s=i(`${da}Duration`),o=rm(a,s),l=i(`${jo}Delay`),r=i(`${jo}Duration`),c=rm(l,r);let u=null,d=0,f=0;t===da?o>0&&(u=da,d=o,f=s.length):t===jo?c>0&&(u=jo,d=c,f=r.length):(d=Math.max(o,c),u=d>0?o>c?da:jo:null,f=u?u===da?s.length:r.length:0);const v=u===da&&/\b(transform|all)(,|$)/.test(i(`${da}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:v}}function rm(e,t){for(;e.lengthcm(n)+cm(e[i])))}function cm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function gb(){return document.body.offsetHeight}function RC(e,t,n){const i=e[vo];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const fh=Symbol("_vod"),mn={beforeMount(e,{value:t},{transition:n}){e[fh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Wo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),Wo(e,!0),i.enter(e)):i.leave(e,()=>{Wo(e,!1)}):Wo(e,t))},beforeUnmount(e,{value:t}){Wo(e,t)}};function Wo(e,t){e.style.display=t?e[fh]:"none"}function LC(){mn.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const pb=Symbol("");function BC(e){const t=Di();if(!t)return;const n=t.ut=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>jd(s,a))},i=()=>{const a=e(t.proxy);Hd(t.subTree,a),n(a)};Ty(i),_t(()=>{const a=new MutationObserver(i);a.observe(t.subTree.el.parentNode,{childList:!0}),Ms(()=>a.disconnect())})}function Hd(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Hd(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)jd(e.el,t);else if(e.type===Pe)e.children.forEach(n=>Hd(n,t));else if(e.type===hs){let{el:n,anchor:i}=e;for(;n&&(jd(n,t),n!==i);)n=n.nextSibling}}function jd(e,t){if(e.nodeType===1){const n=e.style;let i="";for(const a in t)n.setProperty(`--${a}`,t[a]),i+=`--${a}: ${t[a]};`;n[pb]=i}}function NC(e,t,n){const i=e.style,a=Et(n);if(n&&!a){if(t&&!Et(t))for(const s in t)n[s]==null&&Wd(i,s,"");for(const s in n)Wd(i,s,n[s])}else{const s=i.display;if(a){if(t!==n){const o=i[pb];o&&(n+=";"+o),i.cssText=n}}else t&&e.removeAttribute("style");fh in e&&(i.display=s)}}const um=/\s*!important$/;function Wd(e,t,n){if(Be(n))n.forEach(i=>Wd(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=FC(e,t);um.test(n)?e.setProperty(ii(i),n.replace(um,""),"important"):e[i]=n}}const dm=["Webkit","Moz","ms"],id={};function FC(e,t){const n=id[t];if(n)return n;let i=yn(t);if(i!=="filter"&&i in e)return id[t]=i;i=bi(i);for(let a=0;aad||(UC.then(()=>ad=0),ad=Date.now());function KC(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Yn(GC(i,n.value),t,5,[i])};return n.value=e,n.attached=YC(),n}function GC(e,t){if(Be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i&&i(a))}else return t}const mm=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,XC=(e,t,n,i,a=!1,s,o,l,r)=>{t==="class"?RC(e,i,a):t==="style"?NC(e,n,i):Zl(t)?Ff(t)||jC(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qC(e,t,i,a))?zC(e,t,i,s,o,l,r):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),$C(e,t,i,a))};function qC(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&mm(t)&&je(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return mm(t)&&Et(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function yb(e,t){const n=La(e);class i extends iu{constructor(s){super(n,s,t)}}return i.def=n,i}/*! #__NO_SIDE_EFFECTS__ */const ZC=e=>yb(e,Tb),JC=typeof HTMLElement<"u"?HTMLElement:class{};class iu extends JC{constructor(t,n={},i){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&i?i(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Ze(()=>{this._connected||(Ud(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let i=0;i{for(const a of i)this._setAttr(a.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(i,a=!1)=>{const{props:s,styles:o}=i;let l;if(s&&!Be(s))for(const r in s){const c=s[r];(c===Number||c&&c.type===Number)&&(r in this._props&&(this._props[r]=cc(this._props[r])),(l||(l=Object.create(null)))[yn(r)]=!0)}this._numberProps=l,a&&this._resolveProps(i),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(i=>t(i,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,i=Be(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&i.includes(a)&&this._setProp(a,this[a],!0,!1);for(const a of i.map(yn))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(s){this._setProp(a,s)}})}_setAttr(t){let n=this.getAttribute(t);const i=yn(t);this._numberProps&&this._numberProps[i]&&(n=cc(n)),this._setProp(i,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,i=!0,a=!0){n!==this._props[t]&&(this._props[t]=n,a&&this._instance&&this._update(),i&&(n===!0?this.setAttribute(ii(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ii(t),n+""):n||this.removeAttribute(ii(t))))}_update(){Ud(this._createVNode(),this.shadowRoot)}_createVNode(){const t=h(this._def,Mt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const i=(s,o)=>{this.dispatchEvent(new CustomEvent(s,{detail:o}))};n.emit=(s,...o)=>{i(s,o),ii(s)!==s&&i(ii(s),o)};let a=this;for(;a=a&&(a.parentNode||a.host);)if(a instanceof iu){n.parent=a._instance,n.provides=a._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const i=document.createElement("style");i.textContent=n,this.shadowRoot.appendChild(i)})}}function QC(e="$style"){{const t=Di();if(!t)return pt;const n=t.type.__cssModules;if(!n)return pt;const i=n[e];return i||pt}}const bb=new WeakMap,_b=new WeakMap,gc=Symbol("_moveCb"),gm=Symbol("_enterCb"),xb={name:"TransitionGroup",props:Mt({},EC,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Di(),i=nh();let a,s;return eu(()=>{if(!a.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!a1(a[0].el,n.vnode.el,o))return;a.forEach(t1),a.forEach(n1);const l=a.filter(i1);gb(),l.forEach(r=>{const c=r.el,u=c.style;zi(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[gc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[gc]=null,ma(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=Ye(e),l=vb(o);let r=o.tag||Pe;a=s,s=t.default?Zc(t.default()):[];for(let c=0;cdelete e.mode;xb.props;const Sb=xb;function t1(e){const t=e.el;t[gc]&&t[gc](),t[gm]&&t[gm]()}function n1(e){_b.set(e,e.el.getBoundingClientRect())}function i1(e){const t=bb.get(e),n=_b.get(e),i=t.left-n.left,a=t.top-n.top;if(i||a){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${i}px,${a}px)`,s.transitionDuration="0s",e}}function a1(e,t,n){const i=e.cloneNode(),a=e[vo];a&&a.forEach(l=>{l.split(/\s+/).forEach(r=>r&&i.classList.remove(r))}),n.split(/\s+/).forEach(l=>l&&i.classList.add(l)),i.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(i);const{hasTransform:o}=mb(i);return s.removeChild(i),o}const Ea=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Be(t)?n=>lo(t,n):t};function s1(e){e.target.composing=!0}function pm(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ri=Symbol("_assign"),Ml={created(e,{modifiers:{lazy:t,trim:n,number:i}},a){e[ri]=Ea(a);const s=i||a.props&&a.props.type==="number";Yi(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),s&&(l=rc(l)),e[ri](l)}),n&&Yi(e,"change",()=>{e.value=e.value.trim()}),t||(Yi(e,"compositionstart",s1),Yi(e,"compositionend",pm),Yi(e,"change",pm))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:a}},s){if(e[ri]=Ea(s),e.composing)return;const o=a||e.type==="number"?rc(e.value):e.value,l=t??"";o!==l&&(document.activeElement===e&&e.type!=="range"&&(n||i&&e.value.trim()===l)||(e.value=l))}},hh={deep:!0,created(e,t,n){e[ri]=Ea(n),Yi(e,"change",()=>{const i=e._modelValue,a=mo(e),s=e.checked,o=e[ri];if(Be(i)){const l=zc(i,a),r=l!==-1;if(s&&!r)o(i.concat(a));else if(!s&&r){const c=[...i];c.splice(l,1),o(c)}}else if(As(i)){const l=new Set(i);s?l.add(a):l.delete(a),o(l)}else o(kb(e,s))})},mounted:ym,beforeUpdate(e,t,n){e[ri]=Ea(n),ym(e,t,n)}};function ym(e,{value:t,oldValue:n},i){e._modelValue=t,Be(t)?e.checked=zc(t,i.props.value)>-1:As(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=Va(t,kb(e,!0)))}const vh={created(e,{value:t},n){e.checked=Va(t,n.props.value),e[ri]=Ea(n),Yi(e,"change",()=>{e[ri](mo(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e[ri]=Ea(i),t!==n&&(e.checked=Va(t,i.props.value))}},wb={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const a=As(t);Yi(e,"change",()=>{const s=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?rc(mo(o)):mo(o));e[ri](e.multiple?a?new Set(s):s:s[0])}),e[ri]=Ea(i)},mounted(e,{value:t}){bm(e,t)},beforeUpdate(e,t,n){e[ri]=Ea(n)},updated(e,{value:t}){bm(e,t)}};function bm(e,t){const n=e.multiple;if(!(n&&!Be(t)&&!As(t))){for(let i=0,a=e.options.length;i-1:s.selected=t.has(o);else if(Va(mo(s),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function mo(e){return"_value"in e?e._value:e.value}function kb(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Cb={created(e,t,n){Tr(e,t,n,null,"created")},mounted(e,t,n){Tr(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){Tr(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){Tr(e,t,n,i,"updated")}};function Pb(e,t){switch(e){case"SELECT":return wb;case"TEXTAREA":return Ml;default:switch(t){case"checkbox":return hh;case"radio":return vh;default:return Ml}}}function Tr(e,t,n,i,a){const o=Pb(e.tagName,n.props&&n.props.type)[a];o&&o(e,t,n,i)}function o1(){Ml.getSSRProps=({value:e})=>({value:e}),vh.getSSRProps=({value:e},t)=>{if(t.props&&Va(t.props.value,e))return{checked:!0}},hh.getSSRProps=({value:e},t)=>{if(Be(e)){if(t.props&&zc(e,t.props.value)>-1)return{checked:!0}}else if(As(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Cb.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Pb(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const l1=["ctrl","shift","alt","meta"],r1={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>l1.some(n=>e[`${n}Key`]&&!t.includes(n))},El=(e,t)=>e._withMods||(e._withMods=(n,...i)=>{for(let a=0;ae._withKeys||(e._withKeys=n=>{if(!("key"in n))return;const i=ii(n.key);if(t.some(a=>a===i||c1[a]===i))return e(n)}),Ib=Mt({patchProp:XC},MC);let hl,_m=!1;function Vb(){return hl||(hl=Xy(Ib))}function Ab(){return hl=_m?hl:qy(Ib),_m=!0,hl}const Ud=(...e)=>{Vb().render(...e)},Tb=(...e)=>{Ab().hydrate(...e)},Mb=(...e)=>{const t=Vb().createApp(...e),{mount:n}=t;return t.mount=i=>{const a=Eb(i);if(!a)return;const s=t._component;!je(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.innerHTML="";const o=n(a,!1,a instanceof SVGElement);return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},t},d1=(...e)=>{const t=Ab().createApp(...e),{mount:n}=t;return t.mount=i=>{const a=Eb(i);if(a)return n(a,!0,a instanceof SVGElement)},t};function Eb(e){return Et(e)?document.querySelector(e):e}let xm=!1;const f1=()=>{xm||(xm=!0,o1(),LC())},h1=()=>{},v1=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ey,BaseTransitionPropsValidators:ih,Comment:vn,EffectScope:jf,Fragment:Pe,KeepAlive:Mk,ReactiveEffect:uo,Static:hs,Suspense:_k,Teleport:Qy,Text:Ta,Transition:pi,TransitionGroup:Sb,VueElement:iu,assertNumber:lk,callWithAsyncErrorHandling:Yn,callWithErrorHandling:Gi,camelize:yn,capitalize:bi,cloneVNode:gi,compatUtils:AC,compile:h1,computed:w,createApp:Mb,createBlock:Tt,createCommentVNode:kt,createElementBlock:Te,createElementVNode:be,createHydrationRenderer:qy,createPropsRestProxy:Gk,createRenderer:Xy,createSSRApp:d1,createSlots:Dk,createStaticVNode:gC,createTextVNode:Xe,createVNode:h,customRef:tk,defineAsyncComponent:Ak,defineComponent:La,defineCustomElement:yb,defineEmits:Bk,defineExpose:Nk,defineModel:zk,defineOptions:Fk,defineProps:Lk,defineSSRCustomElement:ZC,defineSlots:$k,get devtools(){return eo},effect:Vw,effectScope:Hc,getCurrentInstance:Di,getCurrentScope:ly,getTransitionRawChildren:Zc,guardReactiveProps:ab,h:Fn,handleError:Ts,hasInjectionContext:iC,hydrate:Tb,initCustomFormatter:kC,initDirectivesForSSR:f1,inject:Ke,isMemoSame:fb,isProxy:Jl,isReactive:ds,isReadonly:ys,isRef:jt,isRuntimeOnly:xC,isShallow:wl,isVNode:Xi,markRaw:Kf,mergeDefaults:Yk,mergeModels:Kk,mergeProps:ve,nextTick:Ze,normalizeClass:xt,normalizeProps:Sw,normalizeStyle:Ia,onActivated:ah,onBeforeMount:nr,onBeforeUnmount:an,onBeforeUpdate:Qc,onDeactivated:sh,onErrorCaptured:Ny,onMounted:_t,onRenderTracked:By,onRenderTriggered:Ly,onScopeDispose:_n,onServerPrefetch:Ry,onUnmounted:Ms,onUpdated:eu,openBlock:me,popScopeId:Ra,provide:lt,proxyRefs:qf,pushScopeId:Oa,queuePostFlushCb:dc,reactive:Ft,readonly:Ao,ref:Z,registerRuntimeCompiler:_C,render:Ud,renderList:At,renderSlot:Fy,resolveComponent:Ce,resolveDirective:Pn,resolveDynamicComponent:qc,resolveFilter:VC,resolveTransitionHooks:fo,setBlockTracking:Nd,setDevtoolsHook:Cy,setTransitionHooks:bs,shallowReactive:Yf,shallowReadonly:Xw,shallowRef:Se,ssrContextKey:ub,ssrUtils:IC,stop:Aw,toDisplayString:wt,toHandlerKey:cl,toHandlers:Ok,toRaw:Ye,toRef:ne,toRefs:Ql,toValue:Jw,transformVNodeArgs:vC,triggerRef:Zw,unref:Je,useAttrs:Wk,useCssModule:QC,useCssVars:BC,useModel:Uk,useSSRContext:db,useSlots:jk,useTransitionState:nh,vModelCheckbox:hh,vModelDynamic:Cb,vModelRadio:vh,vModelSelect:wb,vModelText:Ml,vShow:mn,version:dh,warn:ok,watch:_e,watchEffect:Jt,watchPostEffect:Ty,watchSyncEffect:Pk,withAsyncContext:Xk,withCtx:se,withDefaults:Hk,withDirectives:ft,withKeys:u1,withMemo:CC,withModifiers:El,withScopeId:hk},Symbol.toStringTag,{value:"Module"}));function Ba(){const e=(u,d,f)=>isNaN(Number(u))||u===null||u===void 0?d:Math.min(Math.max(u,d),f),t=()=>{const u=window.navigator.userAgent.toLowerCase();return/android/.test(u)},n=()=>{const u=window.navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(u)},i=u=>/\.(jpg|jpeg|png|gif|bmp|svg)$/i.test(u),a=u=>/\.(json)$/i.test(u),s=()=>"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,o=(u,d)=>{const f=u==="now"?new Date:l(u),v={year:"numeric",month:"short"},m=f.toLocaleString(d||"en",v);return m.charAt(0).toUpperCase()+m.slice(1)},l=u=>{const d=u.split("/");if(d.length===2){const f=parseInt(d[0],10),v=parseInt(d[1],10)-1;if(!isNaN(f)&&!isNaN(v))return new Date(f,v)}return null};return{clamp:e,isStringAnImageUrl:i,isStringAJSONUrl:a,isAndroid:t,isIOS:n,isTouchDevice:s,localizeDate:o,parseDate:l,parsePercentage:(u,d)=>{let f=e(u,0,100);if(!d||typeof d!="object")return f+"%";const m=Object.keys(d).reduce((g,p)=>Number(p)<=f?p:g,"0");return d[m]},reverseArray:u=>{let d=[];for(let f in u)d.unshift(u[f]);return d}}}function au(){return{BASE_PATH:"/resame-website",HTML_CLASSES:{bodyScroll:"",bodyNoScroll:"no-scroll",imageViewImage:"image-view-img",imageViewImageIgnoredOnCount:"image-view-img-ignored-on-count"},BOOTSTRAP_BREAKPOINTS:{xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},LOCAL_STORAGE_ITEMS:{language:"app.preferences.language"},NAVIGATION_SIDEBAR_BREAKPOINT:"lg",RANDOM_COLOR_ARRAY:["rgb(255, 99, 132)","rgb(54, 162, 235)","rgb(255, 205, 86)","rgb(197,176,255)","rgb(142, 227, 197)","rgb(238, 183, 154)","rgb(164,205,253)","rgb(246,169,255)","rgb(171, 235, 198)","rgb(255, 201, 214)","rgb(209, 247, 200)","rgb(235, 214, 169)","rgb(174, 229, 248)","rgb(246, 224, 196)","rgb(255, 217, 232)"],LoadStatus:{LOADING:"loading",LOADED:"loaded",ERROR:"error"}}}const Sm=au(),ti=Ft({supportedLanguages:[],defaultLanguage:null,selectedLanguage:null});function ir(){const e=r=>{ti.supportedLanguages=r,ti.defaultLanguage=r.find(c=>c.default)||r[0],t()},t=()=>{const r=window.localStorage.getItem(Sm.LOCAL_STORAGE_ITEMS.language);if(r)o(l(r)||ti.defaultLanguage);else{const c=ti.supportedLanguages.find(u=>navigator.language.includes(u.id));o(c||ti.defaultLanguage)}},n=()=>ti.supportedLanguages.length>1,i=()=>ti.selectedLanguage,a=()=>ti.defaultLanguage,s=()=>ti.supportedLanguages.filter(r=>r.id!==ti.selectedLanguage.id),o=r=>{ti.selectedLanguage=r,window.localStorage.setItem(Sm.LOCAL_STORAGE_ITEMS.language,r.id)},l=r=>ti.supportedLanguages.find(c=>c.id===r)||null;return{init:e,supportsMultipleLanguages:n,getSelectedLanguage:i,getDefaultLanguage:a,getAvailableLanguages:s,selectLanguage:o}}const wm=ir(),km=Ba();let wn=Ft({sections:[],categories:[],places:null,profile:null,settings:null,strings:null}),Ys=Ft({loadedFiles:0,totalFiles:5}),fa=Ft({language:null,entries:null}),Mr={};function Oi(){const e=async()=>{const y=await c("./data/sections.json"),b=await c("./data/settings.json"),S=await c("./data/strings.json");wn.sections=y.sections,wn.categories=y.categories,wn.settings=b,wn.strings=S,Ys.loadedFiles=3,Ys.totalFiles+=wn.sections.length},t=async()=>{const y=await c("./data/info/places.json"),b=await c("./data/info/profile.json");wn.places=y,wn.profile=b,Ys.loadedFiles=5,await u(),Object.values(wn).forEach(f),Mr={},fa.language=null,fa.entries=null},n=()=>(m(),fa.entries.sections),i=()=>(m(),fa.entries.categories),a=y=>n().filter(b=>b.categoryId===y),s=()=>(m(),fa.entries.profile),o=()=>wn.settings,l=y=>(m(),fa.entries.strings.locales[y]),r=()=>{const y=100*Ys.loadedFiles/Ys.totalFiles;return km.clamp(Math.round(y),0,100)},c=async y=>(await fetch(y)).json(),u=async()=>{for(const y of wn.sections){const b=y.id,S=y.categoryId,_=d(wn.categories,S),x=y.jsonPath;if(!_)throw new Error(`The section with id "${b}" has an invalid categoryId "${S}". There's no such category.`);_.sectionIds=_.sectionIds||[],_.sectionIds.push(b),km.isStringAJSONUrl(x)?y.content=await c(x):y.content={},Ys.loadedFiles++}for(let y=wn.categories.length-1;y>=0;y--){const b=wn.categories[y].sectionIds;(!b||b.length===0)&&wn.categories.splice(y,1)}},d=(y,b)=>y.find(S=>S.id===b)||null,f=y=>{if(typeof y=="string")return v(y);if(typeof y=="object")for(let b in y)y[b]=f(y[b]);return y},v=y=>y,m=()=>{const y=wm.getSelectedLanguage().id;Mr[y]||(Mr[y]=g(wn,y)),fa.language=y,fa.entries=Mr[y]},g=(y,b)=>{const S={};if(typeof y=="string"||typeof y=="number"||typeof y=="boolean")return y;for(const[_,x]of Object.entries(y))Array.isArray(x)?S[_]=x.map(P=>g(P,b)):_.includes("locales")?S[_]=p(x,b):x!=null?S[_]=g(x,b):S[_]=x;return S},p=(y,b)=>{var x;const S={},_=wm.getDefaultLanguage().id;for(let P in y[_]){let C=(x=y[b])==null?void 0:x[P];C||(C=y[_][P]),S[P]=C}return S};return{fetchEssentials:e,fetchAll:t,getLoadProgress:r,getSections:n,getCategories:i,getCategorySections:a,getProfile:s,getSettings:o,getString:l}}const wi=au();let sd=null;function To(){return{isBootstrapBreakpoint:u=>window.innerWidth>=wi.BOOTSTRAP_BREAKPOINTS[u],getBootstrapBreakpoint:()=>{const u=window.innerWidth;let d="";for(const f in wi.BOOTSTRAP_BREAKPOINTS)u>=wi.BOOTSTRAP_BREAKPOINTS[f]&&(d=f);return d},setFeedbackView:u=>{sd=u},getFeedbackView:()=>sd?sd.value:null,getImageCount:()=>{const u=document.querySelectorAll("."+wi.HTML_CLASSES.imageViewImage);let d=0;return{loaded:Array.from(u).reduce((v,m)=>!m.classList.contains(wi.HTML_CLASSES.imageViewImageIgnoredOnCount)&&(d++,m.getAttribute("loadStatus")!==wi.LoadStatus.LOADING)?v+1:v,0),total:d}},getStylePreferencesForPlugins:()=>{const u={};return u.colors={primary:getComputedStyle(document.documentElement).getPropertyValue("--bs-primary"),dark:getComputedStyle(document.documentElement).getPropertyValue("--bs-dark")},u.colors.random=wi.RANDOM_COLOR_ARRAY.slice(),u},isElementOutsideBounds:u=>{const d=u.getBoundingClientRect();return d.bottom<0||d.right<0||d.left>window.innerWidth||d.top>window.innerHeight},setPageScrollingEnabled:u=>{const d=document.getElementsByTagName("html")[0];u?(document.body.className=wi.HTML_CLASSES.bodyScroll,d.className=""):(document.body.className=wi.HTML_CLASSES.bodyNoScroll,d.className+=" "+wi.HTML_CLASSES.bodyNoScroll)},smoothScrollToElement:(u,d)=>{const f=document.getElementById(u);if(!f)return;const v=()=>{f.scrollIntoView({behavior:"smooth",block:"start"})};d?setTimeout(v,100):v()},instantScrollTo:(u,d)=>{const f=()=>{window.scrollTo({top:u??0,left:0,behavior:"instant"})};d?setTimeout(f,10):f()}}}const m1=au(),g1=To(),to={ONE_AT_ONCE:"navigationModeOneAtOnce",ALL_AT_ONCE:"navigationModeAllAtOnce"},En=Ft({mode:to.ALL_AT_ONCE,activeSectionId:null,lastVisitedSections:{}}),Uo={};function Na(){const e=(f,v)=>{v.forEach(m=>{Uo[m.id]=[]}),f.forEach(m=>{Uo[m.categoryId].push(m.id)})},t=()=>En.mode===to.ONE_AT_ONCE,n=()=>En.mode===to.ALL_AT_ONCE,i=()=>En.activeSectionId,a=f=>En.activeSectionId===f,s=f=>En.activeSectionId===f||En.mode===to.ALL_AT_ONCE,o=()=>{let f=null;return Object.entries(Uo).forEach(([v,m])=>{m.includes(En.activeSectionId)&&(f=v)}),f},l=f=>f===o(),r=f=>{g1.isBootstrapBreakpoint(m1.NAVIGATION_SIDEBAR_BREAKPOINT)?(En.mode=to.ALL_AT_ONCE,En.activeSectionId=c("section")):(En.mode=to.ONE_AT_ONCE,En.activeSectionId=f)},c=f=>{const v=document.querySelectorAll("."+f);if(!v)return null;let m=null,g=null;return v.forEach(p=>{let y=p.getBoundingClientRect(),b=Math.abs(y.y);(g===null||bEn.lastVisitedSections[f]?En.lastVisitedSections[f]:Uo[f][0],registerSectionVisit:f=>{let v=null;Object.entries(Uo).forEach(([m,g])=>{g.includes(f)&&(v=m)}),En.lastVisitedSections[v]=f},update:r}}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const no=typeof window<"u";function pC(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ht=Object.assign;function od(e,t){const n={};for(const i in t){const a=t[i];n[i]=yi(a)?a.map(e):e(a)}return n}const vl=()=>{},yi=Array.isArray,yC=/\/$/,bC=e=>e.replace(yC,"");function ld(e,t,n="/"){let i,a={},s="",o="";const l=t.indexOf("#");let r=t.indexOf("?");return l=0&&(r=-1),r>-1&&(i=t.slice(0,r),s=t.slice(r+1,l>-1?l:t.length),a=e(s)),l>-1&&(i=i||t.slice(0,l),o=t.slice(l,t.length)),i=wC(i??t,n),{fullPath:i+(s&&"?")+s+o,path:i,query:a,hash:o}}function _C(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Cm(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xC(e,t,n){const i=t.matched.length-1,a=n.matched.length-1;return i>-1&&i===a&&go(t.matched[i],n.matched[a])&&Db(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function go(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Db(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!SC(e[n],t[n]))return!1;return!0}function SC(e,t){return yi(e)?Pm(e,t):yi(t)?Pm(t,e):e===t}function Pm(e,t){return yi(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function wC(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),a=i[i.length-1];(a===".."||a===".")&&i.push("");let s=n.length-1,o,l;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+i.slice(o-(o===i.length?1:0)).join("/")}var Dl;(function(e){e.pop="pop",e.push="push"})(Dl||(Dl={}));var ml;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ml||(ml={}));function kC(e){if(!e)if(no){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),bC(e)}const CC=/^[^#]+#/;function PC(e,t){return e.replace(CC,"#")+t}function IC(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const su=()=>({left:window.pageXOffset,top:window.pageYOffset});function VC(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=IC(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Im(e,t){return(history.state?history.state.position-t:-1)+e}const Yd=new Map;function AC(e,t){Yd.set(e,t)}function TC(e){const t=Yd.get(e);return Yd.delete(e),t}let MC=()=>location.protocol+"//"+location.host;function Ob(e,t){const{pathname:n,search:i,hash:a}=t,s=e.indexOf("#");if(s>-1){let l=a.includes(e.slice(s))?e.slice(s).length:1,r=a.slice(l);return r[0]!=="/"&&(r="/"+r),Cm(r,"")}return Cm(n,e)+i+a}function EC(e,t,n,i){let a=[],s=[],o=null;const l=({state:f})=>{const v=Ob(e,location),m=n.value,g=t.value;let p=0;if(f){if(n.value=v,t.value=f,o&&o===m){o=null;return}p=g?f.position-g.position:0}else i(v);a.forEach(y=>{y(n.value,m,{delta:p,type:Dl.pop,direction:p?p>0?ml.forward:ml.back:ml.unknown})})};function r(){o=n.value}function c(f){a.push(f);const v=()=>{const m=a.indexOf(f);m>-1&&a.splice(m,1)};return s.push(v),v}function u(){const{history:f}=window;f.state&&f.replaceState(ht({},f.state,{scroll:su()}),"")}function d(){for(const f of s)f();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:r,listen:c,destroy:d}}function Vm(e,t,n,i=!1,a=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:a?su():null}}function DC(e){const{history:t,location:n}=window,i={value:Ob(e,n)},a={value:t.state};a.value||s(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(r,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+r:MC()+e+r;try{t[u?"replaceState":"pushState"](c,"",f),a.value=c}catch(v){console.error(v),n[u?"replace":"assign"](f)}}function o(r,c){const u=ht({},t.state,Vm(a.value.back,r,a.value.forward,!0),c,{position:a.value.position});s(r,u,!0),i.value=r}function l(r,c){const u=ht({},a.value,t.state,{forward:r,scroll:su()});s(u.current,u,!0);const d=ht({},Vm(i.value,r,null),{position:u.position+1},c);s(r,d,!1),i.value=r}return{location:i,state:a,push:l,replace:o}}function OC(e){e=kC(e);const t=DC(e),n=EC(e,t.state,t.location,t.replace);function i(s,o=!0){o||n.pauseListeners(),history.go(s)}const a=ht({location:"",base:e,go:i,createHref:PC.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function RC(e){return typeof e=="string"||e&&typeof e=="object"}function Rb(e){return typeof e=="string"||typeof e=="symbol"}const ha={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Lb=Symbol("");var Am;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Am||(Am={}));function po(e,t){return ht(new Error,{type:e,[Lb]:!0},t)}function Fi(e,t){return e instanceof Error&&Lb in e&&(t==null||!!(e.type&t))}const Tm="[^/]+?",LC={sensitive:!1,strict:!1,start:!0,end:!0},BC=/[.+*?^${}()[\]/\\]/g;function NC(e,t){const n=ht({},LC,t),i=[];let a=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(a+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function $C(e,t){let n=0;const i=e.score,a=t.score;for(;n0&&t[t.length-1]<0}const zC={type:0,value:""},HC=/[a-zA-Z0-9_]/;function jC(e){if(!e)return[[]];if(e==="/")return[[zC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}let n=0,i=n;const a=[];let s;function o(){s&&a.push(s),s=[]}let l=0,r,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(r==="*"||r==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:r==="*"||r==="+",optional:r==="*"||r==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=r}for(;l{o(b)}:vl}function o(u){if(Rb(u)){const d=i.get(u);d&&(i.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&i.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return n}function r(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!Bb(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Dm(u)&&i.set(u.record.name,u)}function c(u,d){let f,v={},m,g;if("name"in u&&u.name){if(f=i.get(u.name),!f)throw po(1,{location:u});g=f.record.name,v=ht(Em(d.params,f.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&Em(u.params,f.keys.map(b=>b.name))),m=f.stringify(v)}else if("path"in u)m=u.path,f=n.find(b=>b.re.test(m)),f&&(v=f.parse(m),g=f.record.name);else{if(f=d.name?i.get(d.name):n.find(b=>b.re.test(d.path)),!f)throw po(1,{location:u,currentLocation:d});g=f.record.name,v=ht({},d.params,u.params),m=f.stringify(v)}const p=[];let y=f;for(;y;)p.unshift(y.record),y=y.parent;return{name:g,path:m,params:v,matched:p,meta:GC(p)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:l,getRecordMatcher:a}}function Em(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function YC(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:KC(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 KC(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function Dm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function GC(e){return e.reduce((t,n)=>ht(t,n.meta),{})}function Om(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function Bb(e,t){return t.children.some(n=>n===e||Bb(e,n))}const Nb=/#/g,XC=/&/g,qC=/\//g,ZC=/=/g,JC=/\?/g,Fb=/\+/g,QC=/%5B/g,eP=/%5D/g,$b=/%5E/g,tP=/%60/g,zb=/%7B/g,nP=/%7C/g,Hb=/%7D/g,iP=/%20/g;function mh(e){return encodeURI(""+e).replace(nP,"|").replace(QC,"[").replace(eP,"]")}function aP(e){return mh(e).replace(zb,"{").replace(Hb,"}").replace($b,"^")}function Kd(e){return mh(e).replace(Fb,"%2B").replace(iP,"+").replace(Nb,"%23").replace(XC,"%26").replace(tP,"`").replace(zb,"{").replace(Hb,"}").replace($b,"^")}function sP(e){return Kd(e).replace(ZC,"%3D")}function oP(e){return mh(e).replace(Nb,"%23").replace(JC,"%3F")}function lP(e){return e==null?"":oP(e).replace(qC,"%2F")}function pc(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function rP(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;as&&Kd(s)):[i&&Kd(i)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function cP(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=yi(i)?i.map(a=>a==null?null:""+a):i==null?i:""+i)}return t}const uP=Symbol(""),Lm=Symbol(""),ou=Symbol(""),gh=Symbol(""),Gd=Symbol("");function Yo(){let e=[];function t(i){return e.push(i),()=>{const a=e.indexOf(i);a>-1&&e.splice(a,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ya(e,t,n,i,a){const s=i&&(i.enterCallbacks[a]=i.enterCallbacks[a]||[]);return()=>new Promise((o,l)=>{const r=d=>{d===!1?l(po(4,{from:n,to:t})):d instanceof Error?l(d):RC(d)?l(po(2,{from:t,to:d})):(s&&i.enterCallbacks[a]===s&&typeof d=="function"&&s.push(d),o())},c=e.call(i&&i.instances[a],t,n,r);let u=Promise.resolve(c);e.length<3&&(u=u.then(r)),u.catch(d=>l(d))})}function rd(e,t,n,i){const a=[];for(const s of e)for(const o in s.components){let l=s.components[o];if(!(t!=="beforeRouteEnter"&&!s.instances[o]))if(dP(l)){const c=(l.__vccOpts||l)[t];c&&a.push(ya(c,n,i,s,o))}else{let r=l();a.push(()=>r.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=pC(c)?c.default:c;s.components[o]=u;const f=(u.__vccOpts||u)[t];return f&&ya(f,n,i,s,o)()}))}}return a}function dP(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bm(e){const t=Ke(ou),n=Ke(gh),i=w(()=>t.resolve(Je(e.to))),a=w(()=>{const{matched:r}=i.value,{length:c}=r,u=r[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(go.bind(null,u));if(f>-1)return f;const v=Nm(r[c-2]);return c>1&&Nm(u)===v&&d[d.length-1].path!==v?d.findIndex(go.bind(null,r[c-2])):f}),s=w(()=>a.value>-1&&mP(n.params,i.value.params)),o=w(()=>a.value>-1&&a.value===n.matched.length-1&&Db(n.params,i.value.params));function l(r={}){return vP(r)?t[Je(e.replace)?"replace":"push"](Je(e.to)).catch(vl):Promise.resolve()}return{route:i,href:w(()=>i.value.href),isActive:s,isExactActive:o,navigate:l}}const fP=La({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:Bm,setup(e,{slots:t}){const n=Ft(Bm(e)),{options:i}=Ke(ou),a=w(()=>({[Fm(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Fm(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Fn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},s)}}}),hP=fP;function vP(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 t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function mP(e,t){for(const n in t){const i=t[n],a=e[n];if(typeof i=="string"){if(i!==a)return!1}else if(!yi(a)||a.length!==i.length||i.some((s,o)=>s!==a[o]))return!1}return!0}function Nm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Fm=(e,t,n)=>e??t??n,gP=La({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Ke(Gd),a=w(()=>e.route||i.value),s=Ke(Lm,0),o=w(()=>{let c=Je(s);const{matched:u}=a.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),l=w(()=>a.value.matched[o.value]);lt(Lm,w(()=>o.value+1)),lt(uP,l),lt(Gd,a);const r=Z();return _e(()=>[r.value,l.value,e.name],([c,u,d],[f,v,m])=>{u&&(u.instances[d]=c,v&&v!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!go(u,v)||!f)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=a.value,u=e.name,d=l.value,f=d&&d.components[u];if(!f)return $m(n.default,{Component:f,route:c});const v=d.props[u],m=v?v===!0?c.params:typeof v=="function"?v(c):v:null,p=Fn(f,ht({},m,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:r}));return $m(n.default,{Component:p,route:c})||p}}});function $m(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pP=gP;function yP(e){const t=UC(e.routes,e),n=e.parseQuery||rP,i=e.stringifyQuery||Rm,a=e.history,s=Yo(),o=Yo(),l=Yo(),r=Se(ha);let c=ha;no&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=od.bind(null,U=>""+U),d=od.bind(null,lP),f=od.bind(null,pc);function v(U,Q){let ie,X;return Rb(U)?(ie=t.getRecordMatcher(U),X=Q):X=U,t.addRoute(X,ie)}function m(U){const Q=t.getRecordMatcher(U);Q&&t.removeRoute(Q)}function g(){return t.getRoutes().map(U=>U.record)}function p(U){return!!t.getRecordMatcher(U)}function y(U,Q){if(Q=ht({},Q||r.value),typeof U=="string"){const F=ld(n,U,Q.path),q=t.resolve({path:F.path},Q),oe=a.createHref(F.fullPath);return ht(F,q,{params:f(q.params),hash:pc(F.hash),redirectedFrom:void 0,href:oe})}let ie;if("path"in U)ie=ht({},U,{path:ld(n,U.path,Q.path).path});else{const F=ht({},U.params);for(const q in F)F[q]==null&&delete F[q];ie=ht({},U,{params:d(F)}),Q.params=d(Q.params)}const X=t.resolve(ie,Q),Ie=U.hash||"";X.params=u(f(X.params));const E=_C(i,ht({},U,{hash:aP(Ie),path:X.path})),R=a.createHref(E);return ht({fullPath:E,hash:Ie,query:i===Rm?cP(U.query):U.query||{}},X,{redirectedFrom:void 0,href:R})}function b(U){return typeof U=="string"?ld(n,U,r.value.path):ht({},U)}function S(U,Q){if(c!==U)return po(8,{from:Q,to:U})}function _(U){return C(U)}function x(U){return _(ht(b(U),{replace:!0}))}function P(U){const Q=U.matched[U.matched.length-1];if(Q&&Q.redirect){const{redirect:ie}=Q;let X=typeof ie=="function"?ie(U):ie;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=b(X):{path:X},X.params={}),ht({query:U.query,hash:U.hash,params:"path"in X?{}:U.params},X)}}function C(U,Q){const ie=c=y(U),X=r.value,Ie=U.state,E=U.force,R=U.replace===!0,F=P(ie);if(F)return C(ht(b(F),{state:typeof F=="object"?ht({},Ie,F.state):Ie,force:E,replace:R}),Q||ie);const q=ie;q.redirectedFrom=Q;let oe;return!E&&xC(i,X,ie)&&(oe=po(16,{to:q,from:X}),le(X,X,!0,!1)),(oe?Promise.resolve(oe):M(q,X)).catch(he=>Fi(he)?Fi(he,2)?he:ee(he):B(he,q,X)).then(he=>{if(he){if(Fi(he,2))return C(ht({replace:R},b(he.to),{state:typeof he.to=="object"?ht({},Ie,he.to.state):Ie,force:E}),Q||q)}else he=D(q,X,!0,R,Ie);return O(q,X,he),he})}function V(U,Q){const ie=S(U,Q);return ie?Promise.reject(ie):Promise.resolve()}function I(U){const Q=Me.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(U):U()}function M(U,Q){let ie;const[X,Ie,E]=bP(U,Q);ie=rd(X.reverse(),"beforeRouteLeave",U,Q);for(const F of X)F.leaveGuards.forEach(q=>{ie.push(ya(q,U,Q))});const R=V.bind(null,U,Q);return ie.push(R),te(ie).then(()=>{ie=[];for(const F of s.list())ie.push(ya(F,U,Q));return ie.push(R),te(ie)}).then(()=>{ie=rd(Ie,"beforeRouteUpdate",U,Q);for(const F of Ie)F.updateGuards.forEach(q=>{ie.push(ya(q,U,Q))});return ie.push(R),te(ie)}).then(()=>{ie=[];for(const F of E)if(F.beforeEnter)if(yi(F.beforeEnter))for(const q of F.beforeEnter)ie.push(ya(q,U,Q));else ie.push(ya(F.beforeEnter,U,Q));return ie.push(R),te(ie)}).then(()=>(U.matched.forEach(F=>F.enterCallbacks={}),ie=rd(E,"beforeRouteEnter",U,Q),ie.push(R),te(ie))).then(()=>{ie=[];for(const F of o.list())ie.push(ya(F,U,Q));return ie.push(R),te(ie)}).catch(F=>Fi(F,8)?F:Promise.reject(F))}function O(U,Q,ie){l.list().forEach(X=>I(()=>X(U,Q,ie)))}function D(U,Q,ie,X,Ie){const E=S(U,Q);if(E)return E;const R=Q===ha,F=no?history.state:{};ie&&(X||R?a.replace(U.fullPath,ht({scroll:R&&F&&F.scroll},Ie)):a.push(U.fullPath,Ie)),r.value=U,le(U,Q,ie,R),ee()}let N;function j(){N||(N=a.listen((U,Q,ie)=>{if(!Oe.listening)return;const X=y(U),Ie=P(X);if(Ie){C(ht(Ie,{replace:!0}),X).catch(vl);return}c=X;const E=r.value;no&&AC(Im(E.fullPath,ie.delta),su()),M(X,E).catch(R=>Fi(R,12)?R:Fi(R,2)?(C(R.to,X).then(F=>{Fi(F,20)&&!ie.delta&&ie.type===Dl.pop&&a.go(-1,!1)}).catch(vl),Promise.reject()):(ie.delta&&a.go(-ie.delta,!1),B(R,X,E))).then(R=>{R=R||D(X,E,!1),R&&(ie.delta&&!Fi(R,8)?a.go(-ie.delta,!1):ie.type===Dl.pop&&Fi(R,20)&&a.go(-1,!1)),O(X,E,R)}).catch(vl)}))}let Y=Yo(),K=Yo(),J;function B(U,Q,ie){ee(U);const X=K.list();return X.length?X.forEach(Ie=>Ie(U,Q,ie)):console.error(U),Promise.reject(U)}function G(){return J&&r.value!==ha?Promise.resolve():new Promise((U,Q)=>{Y.add([U,Q])})}function ee(U){return J||(J=!U,j(),Y.list().forEach(([Q,ie])=>U?ie(U):Q()),Y.reset()),U}function le(U,Q,ie,X){const{scrollBehavior:Ie}=e;if(!no||!Ie)return Promise.resolve();const E=!ie&&TC(Im(U.fullPath,0))||(X||!ie)&&history.state&&history.state.scroll||null;return Ze().then(()=>Ie(U,Q,E)).then(R=>R&&VC(R)).catch(R=>B(R,U,Q))}const ce=U=>a.go(U);let ge;const Me=new Set,Oe={currentRoute:r,listening:!0,addRoute:v,removeRoute:m,hasRoute:p,getRoutes:g,resolve:y,options:e,push:_,replace:x,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:s.add,beforeResolve:o.add,afterEach:l.add,onError:K.add,isReady:G,install(U){const Q=this;U.component("RouterLink",hP),U.component("RouterView",pP),U.config.globalProperties.$router=Q,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>Je(r)}),no&&!ge&&r.value===ha&&(ge=!0,_(a.location).catch(Ie=>{}));const ie={};for(const Ie in ha)Object.defineProperty(ie,Ie,{get:()=>r.value[Ie],enumerable:!0});U.provide(ou,Q),U.provide(gh,Yf(ie)),U.provide(Gd,r);const X=U.unmount;Me.add(U),U.unmount=function(){Me.delete(U),Me.size<1&&(c=ha,N&&N(),N=null,r.value=ha,ge=!1,J=!1),X()}}};function te(U){return U.reduce((Q,ie)=>Q.then(()=>I(ie)),Promise.resolve())}return Oe}function bP(e,t){const n=[],i=[],a=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;ogo(c,l))?i.push(l):n.push(l));const r=e.matched[o];r&&(t.matched.find(c=>go(c,r))||a.push(r))}return[n,i,a]}function ph(){return Ke(ou)}function _P(){return Ke(gh)}const at=(e,t)=>{const n=e.__vccOpts||e;for(const[i,a]of t)n[i]=a;return n},xP=e=>(Oa("data-v-66ce0b56"),e=e(),Ra(),e),SP={class:"image-view"},wP=["src","alt"],kP={key:0,class:"spinner"},CP=xP(()=>be("img",{alt:"loading...",class:"preloader-gif",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0ibWFyZ2luOiBhdXRvOyBiYWNrZ3JvdW5kOiBub25lOyBkaXNwbGF5OiBibG9jazsgc2hhcGUtcmVuZGVyaW5nOiBhdXRvOyIgd2lkdGg9IjIwMHB4IiBoZWlnaHQ9IjIwMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgo8Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSIzMiIgc3Ryb2tlLXdpZHRoPSI4IiBzdHJva2U9IiM1NDUxNTEiIHN0cm9rZS1kYXNoYXJyYXk9IjUwLjI2NTQ4MjQ1NzQzNjY5IDUwLjI2NTQ4MjQ1NzQzNjY5IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCI+PC9hbmltYXRlVHJhbnNmb3JtPgo8L2NpcmNsZT4KPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iMjMiIHN0cm9rZS13aWR0aD0iOCIgc3Ryb2tlPSIjYzNjM2M1IiBzdHJva2UtZGFzaGFycmF5PSIzNi4xMjgzMTU1MTYyODI2MiAzNi4xMjgzMTU1MTYyODI2MiIgc3Ryb2tlLWRhc2hvZmZzZXQ9IjM2LjEyODMxNTUxNjI4MjYyIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOy0zNjAgNTAgNTAiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KPC9jaXJjbGU+CjwhLS0gW2xkaW9dIGdlbmVyYXRlZCBieSBodHRwczovL2xvYWRpbmcuaW8vIC0tPjwvc3ZnPg=="},null,-1)),PP=[CP],IP={__name:"ImageView",props:{src:String,alt:String,ignoreOnImageCount:Boolean,spinnerEnabled:Boolean},emits:["loading","loaded","error","completed"],setup(e,{expose:t,emit:n}){const i=e,a=au(),s=n,o=Z(null),l=Z(null),r=w(()=>a.HTML_CLASSES.imageViewImage+(i.ignoreOnImageCount?` ${a.HTML_CLASSES.imageViewImageIgnoredOnCount}`:""));_t(()=>{v()}),_e(()=>i.src,()=>{v()});const c=()=>l.value===a.LoadStatus.LOADED||l.value===a.LoadStatus.ERROR,u=()=>{f(a.LoadStatus.LOADED)},d=()=>{f(a.LoadStatus.ERROR)},f=m=>{switch(l.value=m,o.value.setAttribute("loadStatus",m),m){case a.LoadStatus.LOADING:s("loading");break;case a.LoadStatus.LOADED:s("loaded"),s("completed");break;case a.LoadStatus.ERROR:s("error"),s("completed");break}},v=()=>{f(typeof i.src!="string"?a.LoadStatus.ERROR:a.LoadStatus.LOADING)};return t({isLoaded:c}),(m,g)=>(me(),Te("div",SP,[ft(be("img",{ref_key:"img",ref:o,src:i.src,alt:i.alt,class:xt(r.value),onLoad:u,onError:d},null,42,wP),[[mn,c()]]),i.spinnerEnabled?ft((me(),Te("div",kP,PP,512)),[[mn,!c()]]):kt("",!0)]))}},yh=at(IP,[["__scopeId","data-v-66ce0b56"]]);const VP={class:"nav-profile-card"},AP={class:"nav-profile-card-title lead-2"},TP={class:"nav-profile-card-subtitle text-4 mb-1"},MP={__name:"NavProfileCard",props:{profileData:Object},setup(e){const t=e;return(n,i)=>(me(),Te("div",VP,[h(yh,{src:t.profileData.profilePictureUrl,alt:t.profileData.name,class:"img-pfp"},null,8,["src","alt"]),be("h4",AP,wt(t.profileData.name),1),be("h6",TP,wt(t.profileData.locales.role),1)]))}},jb=at(MP,[["__scopeId","data-v-ad1c764a"]]);const Wb=e=>(Oa("data-v-e3285fb2"),e=e(),Ra(),e),EP={class:"nav-sidebar"},DP={key:0,class:"nav-sidebar-content"},OP={class:"nav-links"},RP=["onClick"],LP={class:"nav-links"},BP={class:"nav-item"},NP=Wb(()=>be("i",{class:"fa-solid fa-magnifying-glass"},null,-1)),FP={key:0,class:"nav-item"},$P=Wb(()=>be("i",{class:"fa-solid fa-pen-to-square"},null,-1)),zP={key:1,class:"nav-sidebar-footer"},HP={__name:"NavSidebar",emits:["linkClicked"],setup(e,{emit:t}){const n=t,i=Oi(),a=Na(),s=ph(),o=Z(""),l=Z(null);Qc(()=>{s.currentRoute.value.query.query?r():s.push("/login")}),Jt(async()=>{await r()});async function r(){let v="";if(s.currentRoute.value.query.query)v=s.currentRoute.value.query.query;else try{const p=await(await fetch("http://127.0.0.1:3033/loadUser",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8",Authorization:"Bearer "+sessionStorage.getItem("access_token")}})).json();p.status===200&&(v=p.logged_in_as)}catch(g){console.error("Error fetching user data:",g)}try{const p=await(await fetch("http://127.0.0.1:3033/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:v})})).json();p.status!==200&&console.error("Error fetching user resume: ",p.message)}catch{console.error("Error fetching user resume: ",error)}let m=i.getProfile();fetch(`/images/pictures/${v}.png`).then(g=>{g.ok?m.profilePictureUrl=`/images/pictures/${v}.png`:m.profilePictureUrl="/images/pictures/avatar.png"}).then(()=>{l.value=m})}const c=v=>{let m="nav-item";return a.isSectionActive(v.id)&&(m+=" nav-item-selected"),m},u=v=>{n("linkClicked",v.id)},d=()=>!!sessionStorage.getItem("access_token"),f=()=>{fetch("http://127.0.0.1:3033/logout",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8"}}).then(v=>{if(!v.ok)throw new Error("Network response was not ok");return v.json()}).then(v=>{v.message==="Logout successful"?(sessionStorage.clear(),s.push("/")):o.value=v.message||"Logout failed. Please try again."}).catch(v=>{console.error("Logout error:",v),o.value=v.message||"An error occurred. Please try again."})};return(v,m)=>{const g=Ce("v-btn"),p=Ce("v-col");return me(),Te("nav",EP,[l.value?(me(),Te("div",DP,[h(jb,{"profile-data":l.value},null,8,["profile-data"]),be("ul",OP,[(me(!0),Te(Pe,null,At(Je(i).getSections(),y=>(me(),Te("li",{class:xt(c(y))},[be("button",{class:"nav-link",onClick:b=>u(y)},[be("i",{class:xt(y.faIcon)},null,2),Xe(" "+wt(Je(i).getString(y.id)),1)],8,RP)],2))),256))]),be("ul",LP,[be("li",BP,[be("button",{class:"nav-link",onClick:m[0]||(m[0]=y=>Je(s).push("/"))},[NP,Xe(" Search ")])]),d()?(me(),Te("li",FP,[be("button",{class:"nav-link",onClick:m[1]||(m[1]=y=>Je(s).push("/edit"))},[$P,Xe(" Edit Resume ")])])):kt("",!0)])])):kt("",!0),l.value?(me(),Te("div",zP,[h(p,null,{default:se(()=>[d()?(me(),Tt(g,{key:0,variant:"flat",onClick:f,color:"#1a73e8"},{default:se(()=>[Xe("Logout")]),_:1})):kt("",!0),d()?kt("",!0):(me(),Tt(g,{key:1,variant:"flat",onClick:m[2]||(m[2]=y=>Je(s).push("/login")),color:"#1a73e8"},{default:se(()=>[Xe("Login")]),_:1}))]),_:1})])):kt("",!0)])}}},jP=at(HP,[["__scopeId","data-v-e3285fb2"]]);const WP={key:0,class:"nav-pills"},UP=["onClick"],YP={class:"d-none d-sm-inline"},KP={__name:"NavPills",props:{sections:Array},emits:["linkClicked"],setup(e,{emit:t}){const n=e,i=Oi(),a=Na(),s=t,o=r=>`nav-item ${a.isSectionActive(r.id)?"nav-item-selected":""}`,l=r=>{s("linkClicked",r)};return(r,c)=>n.sections&&n.sections.length>=2?(me(),Te("div",WP,[(me(!0),Te(Pe,null,At(n.sections,u=>(me(),Te("button",{class:xt(o(u)),onClick:d=>l(u)},[be("i",{class:xt(["nav-pill-icon",u.faIcon])},null,2),be("span",YP,wt(Je(i).getString(u.id)),1)],10,UP))),256))])):kt("",!0)}},zm=at(KP,[["__scopeId","data-v-77e48e8c"]]);const GP={class:"nav-header"},XP={class:"nav-header-container"},qP={key:0,class:"nav-pills-fixed-container nav-pills-fixed-container-shrink",id:"nav-pills-fixed-container"},ZP={key:0,class:"nav-pills-page-title text-white"},JP={__name:"NavHeader",emits:["linkClicked"],setup(e,{emit:t}){const n=Oi(),i=To(),a=Na(),s=Ba(),o=t,l=w(()=>{const d=a.getActiveCategoryId();return n.getCategorySections(d)}),r=w(()=>{if(!s.isIOS()||window.innerHeight<600)return null;const d=a.getActiveSectionId();return n.getString(d)});_t(()=>{window.addEventListener("resize",c),window.addEventListener("scroll",c),c()}),Ms(()=>{window.removeEventListener("resize",c),window.removeEventListener("scroll",c)}),_e(()=>a.getActiveSectionId(),()=>{const d=document.getElementById("nav-pills-fixed-container");d&&(d.classList.add("nav-pills-fixed-container-no-transition"),setTimeout(()=>{d.classList.remove("nav-pills-fixed-container-no-transition")},100))});const c=()=>{const d=document.getElementById("nav-pills"),f=document.getElementById("nav-pills-fixed-container");if(!d||!f)return;i.isElementOutsideBounds(d)?f.classList.remove("nav-pills-fixed-container-shrink"):f.classList.add("nav-pills-fixed-container-shrink")},u=d=>{o("linkClicked",d.id)};return(d,f)=>(me(),Te("div",GP,[be("div",XP,[Je(n).getProfile()?(me(),Tt(jb,{key:0,"profile-data":Je(n).getProfile()},null,8,["profile-data"])):kt("",!0),h(zm,{class:"nav-pills",id:"nav-pills",sections:l.value,onLinkClicked:u},null,8,["sections"])]),l.value.length>=2?(me(),Te("div",qP,[r.value?(me(),Te("h4",ZP,wt(r.value),1)):kt("",!0),h(zm,{class:"nav-pills-fixed",id:"nav-pills-fixed",sections:l.value,onLinkClicked:u},null,8,["sections"])])):kt("",!0)]))}},QP=at(JP,[["__scopeId","data-v-0b712a98"]]);const eI={class:"nav-tabs-wrapper"},tI={class:"nav-tabs"},nI=["onClick"],iI={class:"nav-tab-button-label"},aI={__name:"NavTabs",emits:["linkClicked"],setup(e,{emit:t}){const n=t,i=Oi(),a=Na(),s=l=>{let r="nav-tab-button";return a.isCategoryActive(l.id)&&(r+=" nav-tab-button-selected"),r},o=l=>{n("linkClicked",l.id)};return(l,r)=>(me(),Te("div",eI,[be("nav",tI,[(me(!0),Te(Pe,null,At(Je(i).getCategories(),c=>(me(),Te("button",{class:xt(s(c)),onClick:u=>o(c)},[be("i",{class:xt(["nav-tab-button-icon",c.faIcon])},null,2),be("span",iI,wt(Je(i).getString(c.id)),1)],10,nI))),256))])]))}},sI=at(aI,[["__scopeId","data-v-37eedae7"]]);const oI=e=>(Oa("data-v-8790a924"),e=e(),Ra(),e),lI=["id"],rI={key:0,class:"section-container"},cI={key:0,class:"section-header"},uI=["innerHTML"],dI=oI(()=>be("hr",{class:"solid-divider ms-1 me-1 mb-3 mb-lg-4"},null,-1)),fI={key:0,class:"lead text-muted"},hI={class:"section-content"},vI={__name:"SectionTemplate",props:{sectionData:Object},setup(e){const t=e,n=Oi(),i=Na(),a=w(()=>t.sectionData&&i.isSectionVisible(t.sectionData.id)),s=w(()=>{let l="section";return i.isAllAtOnceMode()&&(l+=" section-with-division"),t.sectionData.cover&&(l+=" section-cover"),l}),o=w(()=>i.isAllAtOnceMode()?t.sectionData.content.locales.title:n.getString(t.sectionData.id));return(l,r)=>ft((me(),Te("section",{id:t.sectionData.id,class:xt(s.value)},[t.sectionData.content?(me(),Te("div",rI,[t.sectionData.content.locales.title?(me(),Te("div",cI,[be("h1",{class:"section-title mb-1 mb-lg-2 fw-bold text-uppercase",innerHTML:o.value},null,8,uI),dI,t.sectionData.content.locales.description?(me(),Te("p",fI,wt(t.sectionData.content.locales.description),1)):kt("",!0)])):kt("",!0),be("div",hI,[Fy(l.$slots,"default",{},void 0,!0)])])):kt("",!0)],10,lI)),[[mn,a.value]])}},yo=at(vI,[["__scopeId","data-v-8790a924"]]);const mI={class:"inline-list lead"},gI={class:"list-item"},pI=["href"],yI={key:1},bI={__name:"InlineList",props:{items:Array},setup(e){const t=e,n=s=>s.valueShort||s.value,i=s=>s.href,a=s=>s.faIcon;return(s,o)=>(me(),Te("div",mI,[(me(!0),Te(Pe,null,At(t.items,l=>(me(),Te("div",gI,[i(l)?(me(),Te("a",{key:0,href:i(l),class:"info-item-link"},[a(l)?(me(),Te("i",{key:0,class:xt([a(l),"list-item-icon"])},null,2)):kt("",!0),Xe(" "+wt(n(l)),1)],8,pI)):(me(),Te("span",yI,[a(l)?(me(),Te("i",{key:0,class:xt([a(l),"list-item-icon"])},null,2)):kt("",!0),Xe(" "+wt(n(l)),1)]))]))),256))]))}},_I=at(bI,[["__scopeId","data-v-c4644c6f"]]);const xI=e=>(Oa("data-v-e6f3fa6c"),e=e(),Ra(),e),SI=["innerHTML"],wI=xI(()=>be("hr",{class:"solid-divider ms-1 me-1"},null,-1)),kI=["innerHTML"],CI={__name:"CoverSection",props:{sectionData:Object},setup(e){const t=Na(),n=e,i=w(()=>t.isAllAtOnceMode()?n.sectionData.content.locales.welcome:n.sectionData.content.locales.welcomeShort);return(a,s)=>(me(),Tt(yo,{"section-data":n.sectionData},{default:se(()=>[be("h1",{class:"cover-title display-1",innerHTML:i.value},null,8,SI),wI,h(_I,{class:"info-list",items:n.sectionData.content.items.contactListItems},null,8,["items"]),be("p",{class:"cover-description lead text-normal mb-4 mb-md-5",innerHTML:n.sectionData.content.locales.bio},null,8,kI)]),_:1},8,["section-data"]))}},PI=at(CI,[["__scopeId","data-v-e6f3fa6c"]]),II={class:"section-subheading"},VI={class:"section-subheading-title mb-2 fw-bold text-uppercase"},AI={key:0,class:"section-subheading-description lead text-muted"},Ub={__name:"SubHeading",props:{title:String,description:String,faIcon:String},setup(e){const t=e;return(n,i)=>(me(),Te("div",II,[be("h3",VI,[be("span",null,wt(t.title),1),t.faIcon?(me(),Te("i",{key:0,class:xt([t.faIcon,"ms-2"])},null,2)):kt("",!0)]),be("hr",{class:xt(["solid-divider ms-1 me-1 mb-3",{"mb-sm-4":!t.description}])},null,2),t.description?(me(),Te("p",AI,wt(t.description),1)):kt("",!0)]))}};const TI={__name:"CircleIcon",props:{src:String,type:String,color:String,textClass:String},setup(e){const t=e,n=Ba(),i=["standard","small"],a=()=>n.isStringAnImageUrl(t.src),s=()=>{let r=t.type;i.indexOf(r)===-1&&(r=i[0]);let c="circle-icon";return c+=` circle-icon-${r}`,c},o=()=>{let r=t.src;return t.textClass&&(r+=" "+t.textClass),r},l=()=>!t.color||a()?"":`background-color:${t.color}`;return(r,c)=>(me(),Te("div",{class:xt(s())},[a()?(me(),Tt(yh,{key:0,class:"circle-icon-img",src:t.src,alt:"icon",style:Ia(l())},null,8,["src","style"])):(me(),Te("div",{key:1,class:"circle-icon-fa-icon",style:Ia(l())},[be("i",{class:xt(["fa-inverse",o()])},null,2)],4))],2))}},MI=at(TI,[["__scopeId","data-v-340ab9f5"]]);const EI={class:"progress-bar-wrapper"},DI={class:"progress"},OI=["aria-valuenow"],RI={class:"progress-description"},LI=["innerHTML"],BI={__name:"ProgressBar",props:{percentage:Number,description:String,color:String},setup(e){const t=e,n=Ba(),i=w(()=>n.clamp(t.percentage,0,100)),a=w(()=>{const s=i.value,o=(50+s*.5)/100,l=t.color?`background-color: ${t.color}`:"";return`width: ${s}%; opacity: ${o}; ${l}`});return(s,o)=>(me(),Te("div",EI,[be("div",DI,[be("div",{class:"progress-bar",role:"progressbar",style:Ia(a.value),"aria-valuenow":i.value,"aria-valuemin":"0","aria-valuemax":"100"},null,12,OI)]),be("div",RI,[t.description?(me(),Te("p",{key:0,class:"text-1 text-description mb-0",innerHTML:t.description},null,8,LI)):kt("",!0)])]))}},Yb=at(BI,[["__scopeId","data-v-286948d5"]]);const NI={class:"info-item"},FI={class:"info-item-content"},$I={key:0,class:"info-item-content-header-highlight mb-1"},zI={class:"info-item-title text-4 fw-bold text-normal mb-0"},HI={class:"info-item-progress-span text-1 text-muted fw-bold"},jI={key:1,class:"info-item-content-header"},WI={class:"text-light-7 text-4 mb-0"},UI={key:0,class:"text-3"},YI={key:3,class:"info-item-description-wrapper"},KI=["innerHTML"],GI={__name:"InfoItem",props:{item:Object,highlightedHeader:Boolean,descriptionWithProgressBar:Boolean,iconColorStyle:String,smallDescription:Boolean},setup(e){const t=e,n=s=>{if(t.iconColorStyle==="transparent")return"transparent";if(t.iconColorStyle==="customColor")return t.item.customColor},i=s=>t.iconColorStyle==="customColor"?t.item.customColor:null,a=s=>t.iconColorStyle==="transparent"?"text-primary":"text-white";return(s,o)=>(me(),Te("div",NI,[h(MI,{src:"fa-solid fa-circle fa-xs",type:"standard",color:n(e.item),"text-class":a(e.item),class:"info-item-icon"},null,8,["color","text-class"]),be("div",FI,[e.highlightedHeader?(me(),Te("div",$I,[be("p",zI,wt(e.item.locales.title),1),be("span",HI,wt(e.item.formattedPercentage??""),1)])):(me(),Te("div",jI,[be("p",WI,[be("strong",null,wt(e.item.locales.title),1),e.item.formattedPercentage?(me(),Te("span",UI," – "+wt(e.item.formattedPercentage),1)):kt("",!0)])])),t.descriptionWithProgressBar&&e.item.formattedPercentage?(me(),Tt(Yb,{key:2,percentage:e.item.value,description:e.item.locales.description,color:i(e.item),class:"mt-1"},null,8,["percentage","description","color"])):(me(),Te("div",YI,[be("p",{class:xt(["item-description text-muted mb-0",e.smallDescription?"text-1":"text-2"]),innerHTML:e.item.locales.description},null,10,KI)]))])]))}},bh=at(GI,[["__scopeId","data-v-7d771ca9"]]);const XI={class:"row"},qI={class:"col-12 item-container"},ZI={__name:"InfoList",props:{items:Array},setup(e){const t=e;return(n,i)=>(me(),Te("div",XI,[(me(!0),Te(Pe,null,At(t.items,a=>(me(),Te("div",qI,[h(bh,{item:a,"highlighted-header":!1,"small-description":!1,"description-with-progress-bar":!1,"icon-color-style":"transparent"},null,8,["item"])]))),256))]))}},Hm=at(ZI,[["__scopeId","data-v-5be3d4c5"]]);const JI={class:"row gx-5"},QI={class:"col-12 col-md-6 item-container"},eV={__name:"InfoGrid",props:{items:Array},setup(e){const t=e;return(n,i)=>(me(),Te("div",JI,[(me(!0),Te(Pe,null,At(t.items,a=>(me(),Te("div",QI,[h(bh,{item:a,"highlighted-header":!0,"small-description":!1,"description-with-progress-bar":!0,"icon-color-style":a.formattedPercentage?"transparent":"solid",class:"info-item"},null,8,["item","icon-color-style"])]))),256))]))}},tV=at(eV,[["__scopeId","data-v-506a4c5d"]]);/*! + */const no=typeof window<"u";function p1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ht=Object.assign;function od(e,t){const n={};for(const i in t){const a=t[i];n[i]=yi(a)?a.map(e):e(a)}return n}const vl=()=>{},yi=Array.isArray,y1=/\/$/,b1=e=>e.replace(y1,"");function ld(e,t,n="/"){let i,a={},s="",o="";const l=t.indexOf("#");let r=t.indexOf("?");return l=0&&(r=-1),r>-1&&(i=t.slice(0,r),s=t.slice(r+1,l>-1?l:t.length),a=e(s)),l>-1&&(i=i||t.slice(0,l),o=t.slice(l,t.length)),i=w1(i??t,n),{fullPath:i+(s&&"?")+s+o,path:i,query:a,hash:o}}function _1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Cm(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function x1(e,t,n){const i=t.matched.length-1,a=n.matched.length-1;return i>-1&&i===a&&go(t.matched[i],n.matched[a])&&Db(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function go(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Db(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!S1(e[n],t[n]))return!1;return!0}function S1(e,t){return yi(e)?Pm(e,t):yi(t)?Pm(t,e):e===t}function Pm(e,t){return yi(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function w1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),a=i[i.length-1];(a===".."||a===".")&&i.push("");let s=n.length-1,o,l;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+i.slice(o-(o===i.length?1:0)).join("/")}var Dl;(function(e){e.pop="pop",e.push="push"})(Dl||(Dl={}));var ml;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ml||(ml={}));function k1(e){if(!e)if(no){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),b1(e)}const C1=/^[^#]+#/;function P1(e,t){return e.replace(C1,"#")+t}function I1(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const su=()=>({left:window.pageXOffset,top:window.pageYOffset});function V1(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=I1(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Im(e,t){return(history.state?history.state.position-t:-1)+e}const Yd=new Map;function A1(e,t){Yd.set(e,t)}function T1(e){const t=Yd.get(e);return Yd.delete(e),t}let M1=()=>location.protocol+"//"+location.host;function Ob(e,t){const{pathname:n,search:i,hash:a}=t,s=e.indexOf("#");if(s>-1){let l=a.includes(e.slice(s))?e.slice(s).length:1,r=a.slice(l);return r[0]!=="/"&&(r="/"+r),Cm(r,"")}return Cm(n,e)+i+a}function E1(e,t,n,i){let a=[],s=[],o=null;const l=({state:f})=>{const v=Ob(e,location),m=n.value,g=t.value;let p=0;if(f){if(n.value=v,t.value=f,o&&o===m){o=null;return}p=g?f.position-g.position:0}else i(v);a.forEach(y=>{y(n.value,m,{delta:p,type:Dl.pop,direction:p?p>0?ml.forward:ml.back:ml.unknown})})};function r(){o=n.value}function c(f){a.push(f);const v=()=>{const m=a.indexOf(f);m>-1&&a.splice(m,1)};return s.push(v),v}function u(){const{history:f}=window;f.state&&f.replaceState(ht({},f.state,{scroll:su()}),"")}function d(){for(const f of s)f();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:r,listen:c,destroy:d}}function Vm(e,t,n,i=!1,a=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:a?su():null}}function D1(e){const{history:t,location:n}=window,i={value:Ob(e,n)},a={value:t.state};a.value||s(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(r,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+r:M1()+e+r;try{t[u?"replaceState":"pushState"](c,"",f),a.value=c}catch(v){console.error(v),n[u?"replace":"assign"](f)}}function o(r,c){const u=ht({},t.state,Vm(a.value.back,r,a.value.forward,!0),c,{position:a.value.position});s(r,u,!0),i.value=r}function l(r,c){const u=ht({},a.value,t.state,{forward:r,scroll:su()});s(u.current,u,!0);const d=ht({},Vm(i.value,r,null),{position:u.position+1},c);s(r,d,!1),i.value=r}return{location:i,state:a,push:l,replace:o}}function O1(e){e=k1(e);const t=D1(e),n=E1(e,t.state,t.location,t.replace);function i(s,o=!0){o||n.pauseListeners(),history.go(s)}const a=ht({location:"",base:e,go:i,createHref:P1.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function R1(e){return typeof e=="string"||e&&typeof e=="object"}function Rb(e){return typeof e=="string"||typeof e=="symbol"}const ha={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Lb=Symbol("");var Am;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Am||(Am={}));function po(e,t){return ht(new Error,{type:e,[Lb]:!0},t)}function Fi(e,t){return e instanceof Error&&Lb in e&&(t==null||!!(e.type&t))}const Tm="[^/]+?",L1={sensitive:!1,strict:!1,start:!0,end:!0},B1=/[.+*?^${}()[\]/\\]/g;function N1(e,t){const n=ht({},L1,t),i=[];let a=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(a+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function $1(e,t){let n=0;const i=e.score,a=t.score;for(;n0&&t[t.length-1]<0}const z1={type:0,value:""},H1=/[a-zA-Z0-9_]/;function j1(e){if(!e)return[[]];if(e==="/")return[[z1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}let n=0,i=n;const a=[];let s;function o(){s&&a.push(s),s=[]}let l=0,r,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(r==="*"||r==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:r==="*"||r==="+",optional:r==="*"||r==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=r}for(;l{o(b)}:vl}function o(u){if(Rb(u)){const d=i.get(u);d&&(i.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&i.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return n}function r(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!Bb(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Dm(u)&&i.set(u.record.name,u)}function c(u,d){let f,v={},m,g;if("name"in u&&u.name){if(f=i.get(u.name),!f)throw po(1,{location:u});g=f.record.name,v=ht(Em(d.params,f.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&Em(u.params,f.keys.map(b=>b.name))),m=f.stringify(v)}else if("path"in u)m=u.path,f=n.find(b=>b.re.test(m)),f&&(v=f.parse(m),g=f.record.name);else{if(f=d.name?i.get(d.name):n.find(b=>b.re.test(d.path)),!f)throw po(1,{location:u,currentLocation:d});g=f.record.name,v=ht({},d.params,u.params),m=f.stringify(v)}const p=[];let y=f;for(;y;)p.unshift(y.record),y=y.parent;return{name:g,path:m,params:v,matched:p,meta:G1(p)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:l,getRecordMatcher:a}}function Em(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function Y1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:K1(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 K1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function Dm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function G1(e){return e.reduce((t,n)=>ht(t,n.meta),{})}function Om(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function Bb(e,t){return t.children.some(n=>n===e||Bb(e,n))}const Nb=/#/g,X1=/&/g,q1=/\//g,Z1=/=/g,J1=/\?/g,Fb=/\+/g,Q1=/%5B/g,eP=/%5D/g,$b=/%5E/g,tP=/%60/g,zb=/%7B/g,nP=/%7C/g,Hb=/%7D/g,iP=/%20/g;function mh(e){return encodeURI(""+e).replace(nP,"|").replace(Q1,"[").replace(eP,"]")}function aP(e){return mh(e).replace(zb,"{").replace(Hb,"}").replace($b,"^")}function Kd(e){return mh(e).replace(Fb,"%2B").replace(iP,"+").replace(Nb,"%23").replace(X1,"%26").replace(tP,"`").replace(zb,"{").replace(Hb,"}").replace($b,"^")}function sP(e){return Kd(e).replace(Z1,"%3D")}function oP(e){return mh(e).replace(Nb,"%23").replace(J1,"%3F")}function lP(e){return e==null?"":oP(e).replace(q1,"%2F")}function pc(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function rP(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;as&&Kd(s)):[i&&Kd(i)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function cP(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=yi(i)?i.map(a=>a==null?null:""+a):i==null?i:""+i)}return t}const uP=Symbol(""),Lm=Symbol(""),ou=Symbol(""),gh=Symbol(""),Gd=Symbol("");function Yo(){let e=[];function t(i){return e.push(i),()=>{const a=e.indexOf(i);a>-1&&e.splice(a,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ya(e,t,n,i,a){const s=i&&(i.enterCallbacks[a]=i.enterCallbacks[a]||[]);return()=>new Promise((o,l)=>{const r=d=>{d===!1?l(po(4,{from:n,to:t})):d instanceof Error?l(d):R1(d)?l(po(2,{from:t,to:d})):(s&&i.enterCallbacks[a]===s&&typeof d=="function"&&s.push(d),o())},c=e.call(i&&i.instances[a],t,n,r);let u=Promise.resolve(c);e.length<3&&(u=u.then(r)),u.catch(d=>l(d))})}function rd(e,t,n,i){const a=[];for(const s of e)for(const o in s.components){let l=s.components[o];if(!(t!=="beforeRouteEnter"&&!s.instances[o]))if(dP(l)){const c=(l.__vccOpts||l)[t];c&&a.push(ya(c,n,i,s,o))}else{let r=l();a.push(()=>r.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=p1(c)?c.default:c;s.components[o]=u;const f=(u.__vccOpts||u)[t];return f&&ya(f,n,i,s,o)()}))}}return a}function dP(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bm(e){const t=Ke(ou),n=Ke(gh),i=w(()=>t.resolve(Je(e.to))),a=w(()=>{const{matched:r}=i.value,{length:c}=r,u=r[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(go.bind(null,u));if(f>-1)return f;const v=Nm(r[c-2]);return c>1&&Nm(u)===v&&d[d.length-1].path!==v?d.findIndex(go.bind(null,r[c-2])):f}),s=w(()=>a.value>-1&&mP(n.params,i.value.params)),o=w(()=>a.value>-1&&a.value===n.matched.length-1&&Db(n.params,i.value.params));function l(r={}){return vP(r)?t[Je(e.replace)?"replace":"push"](Je(e.to)).catch(vl):Promise.resolve()}return{route:i,href:w(()=>i.value.href),isActive:s,isExactActive:o,navigate:l}}const fP=La({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:Bm,setup(e,{slots:t}){const n=Ft(Bm(e)),{options:i}=Ke(ou),a=w(()=>({[Fm(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Fm(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Fn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},s)}}}),hP=fP;function vP(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 t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function mP(e,t){for(const n in t){const i=t[n],a=e[n];if(typeof i=="string"){if(i!==a)return!1}else if(!yi(a)||a.length!==i.length||i.some((s,o)=>s!==a[o]))return!1}return!0}function Nm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Fm=(e,t,n)=>e??t??n,gP=La({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Ke(Gd),a=w(()=>e.route||i.value),s=Ke(Lm,0),o=w(()=>{let c=Je(s);const{matched:u}=a.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),l=w(()=>a.value.matched[o.value]);lt(Lm,w(()=>o.value+1)),lt(uP,l),lt(Gd,a);const r=Z();return _e(()=>[r.value,l.value,e.name],([c,u,d],[f,v,m])=>{u&&(u.instances[d]=c,v&&v!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!go(u,v)||!f)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=a.value,u=e.name,d=l.value,f=d&&d.components[u];if(!f)return $m(n.default,{Component:f,route:c});const v=d.props[u],m=v?v===!0?c.params:typeof v=="function"?v(c):v:null,p=Fn(f,ht({},m,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:r}));return $m(n.default,{Component:p,route:c})||p}}});function $m(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pP=gP;function yP(e){const t=U1(e.routes,e),n=e.parseQuery||rP,i=e.stringifyQuery||Rm,a=e.history,s=Yo(),o=Yo(),l=Yo(),r=Se(ha);let c=ha;no&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=od.bind(null,U=>""+U),d=od.bind(null,lP),f=od.bind(null,pc);function v(U,Q){let ie,X;return Rb(U)?(ie=t.getRecordMatcher(U),X=Q):X=U,t.addRoute(X,ie)}function m(U){const Q=t.getRecordMatcher(U);Q&&t.removeRoute(Q)}function g(){return t.getRoutes().map(U=>U.record)}function p(U){return!!t.getRecordMatcher(U)}function y(U,Q){if(Q=ht({},Q||r.value),typeof U=="string"){const F=ld(n,U,Q.path),q=t.resolve({path:F.path},Q),oe=a.createHref(F.fullPath);return ht(F,q,{params:f(q.params),hash:pc(F.hash),redirectedFrom:void 0,href:oe})}let ie;if("path"in U)ie=ht({},U,{path:ld(n,U.path,Q.path).path});else{const F=ht({},U.params);for(const q in F)F[q]==null&&delete F[q];ie=ht({},U,{params:d(F)}),Q.params=d(Q.params)}const X=t.resolve(ie,Q),Ie=U.hash||"";X.params=u(f(X.params));const E=_1(i,ht({},U,{hash:aP(Ie),path:X.path})),R=a.createHref(E);return ht({fullPath:E,hash:Ie,query:i===Rm?cP(U.query):U.query||{}},X,{redirectedFrom:void 0,href:R})}function b(U){return typeof U=="string"?ld(n,U,r.value.path):ht({},U)}function S(U,Q){if(c!==U)return po(8,{from:Q,to:U})}function _(U){return C(U)}function x(U){return _(ht(b(U),{replace:!0}))}function P(U){const Q=U.matched[U.matched.length-1];if(Q&&Q.redirect){const{redirect:ie}=Q;let X=typeof ie=="function"?ie(U):ie;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=b(X):{path:X},X.params={}),ht({query:U.query,hash:U.hash,params:"path"in X?{}:U.params},X)}}function C(U,Q){const ie=c=y(U),X=r.value,Ie=U.state,E=U.force,R=U.replace===!0,F=P(ie);if(F)return C(ht(b(F),{state:typeof F=="object"?ht({},Ie,F.state):Ie,force:E,replace:R}),Q||ie);const q=ie;q.redirectedFrom=Q;let oe;return!E&&x1(i,X,ie)&&(oe=po(16,{to:q,from:X}),le(X,X,!0,!1)),(oe?Promise.resolve(oe):M(q,X)).catch(he=>Fi(he)?Fi(he,2)?he:ee(he):B(he,q,X)).then(he=>{if(he){if(Fi(he,2))return C(ht({replace:R},b(he.to),{state:typeof he.to=="object"?ht({},Ie,he.to.state):Ie,force:E}),Q||q)}else he=D(q,X,!0,R,Ie);return O(q,X,he),he})}function V(U,Q){const ie=S(U,Q);return ie?Promise.reject(ie):Promise.resolve()}function I(U){const Q=Me.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(U):U()}function M(U,Q){let ie;const[X,Ie,E]=bP(U,Q);ie=rd(X.reverse(),"beforeRouteLeave",U,Q);for(const F of X)F.leaveGuards.forEach(q=>{ie.push(ya(q,U,Q))});const R=V.bind(null,U,Q);return ie.push(R),te(ie).then(()=>{ie=[];for(const F of s.list())ie.push(ya(F,U,Q));return ie.push(R),te(ie)}).then(()=>{ie=rd(Ie,"beforeRouteUpdate",U,Q);for(const F of Ie)F.updateGuards.forEach(q=>{ie.push(ya(q,U,Q))});return ie.push(R),te(ie)}).then(()=>{ie=[];for(const F of E)if(F.beforeEnter)if(yi(F.beforeEnter))for(const q of F.beforeEnter)ie.push(ya(q,U,Q));else ie.push(ya(F.beforeEnter,U,Q));return ie.push(R),te(ie)}).then(()=>(U.matched.forEach(F=>F.enterCallbacks={}),ie=rd(E,"beforeRouteEnter",U,Q),ie.push(R),te(ie))).then(()=>{ie=[];for(const F of o.list())ie.push(ya(F,U,Q));return ie.push(R),te(ie)}).catch(F=>Fi(F,8)?F:Promise.reject(F))}function O(U,Q,ie){l.list().forEach(X=>I(()=>X(U,Q,ie)))}function D(U,Q,ie,X,Ie){const E=S(U,Q);if(E)return E;const R=Q===ha,F=no?history.state:{};ie&&(X||R?a.replace(U.fullPath,ht({scroll:R&&F&&F.scroll},Ie)):a.push(U.fullPath,Ie)),r.value=U,le(U,Q,ie,R),ee()}let N;function j(){N||(N=a.listen((U,Q,ie)=>{if(!Oe.listening)return;const X=y(U),Ie=P(X);if(Ie){C(ht(Ie,{replace:!0}),X).catch(vl);return}c=X;const E=r.value;no&&A1(Im(E.fullPath,ie.delta),su()),M(X,E).catch(R=>Fi(R,12)?R:Fi(R,2)?(C(R.to,X).then(F=>{Fi(F,20)&&!ie.delta&&ie.type===Dl.pop&&a.go(-1,!1)}).catch(vl),Promise.reject()):(ie.delta&&a.go(-ie.delta,!1),B(R,X,E))).then(R=>{R=R||D(X,E,!1),R&&(ie.delta&&!Fi(R,8)?a.go(-ie.delta,!1):ie.type===Dl.pop&&Fi(R,20)&&a.go(-1,!1)),O(X,E,R)}).catch(vl)}))}let Y=Yo(),K=Yo(),J;function B(U,Q,ie){ee(U);const X=K.list();return X.length?X.forEach(Ie=>Ie(U,Q,ie)):console.error(U),Promise.reject(U)}function G(){return J&&r.value!==ha?Promise.resolve():new Promise((U,Q)=>{Y.add([U,Q])})}function ee(U){return J||(J=!U,j(),Y.list().forEach(([Q,ie])=>U?ie(U):Q()),Y.reset()),U}function le(U,Q,ie,X){const{scrollBehavior:Ie}=e;if(!no||!Ie)return Promise.resolve();const E=!ie&&T1(Im(U.fullPath,0))||(X||!ie)&&history.state&&history.state.scroll||null;return Ze().then(()=>Ie(U,Q,E)).then(R=>R&&V1(R)).catch(R=>B(R,U,Q))}const ce=U=>a.go(U);let ge;const Me=new Set,Oe={currentRoute:r,listening:!0,addRoute:v,removeRoute:m,hasRoute:p,getRoutes:g,resolve:y,options:e,push:_,replace:x,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:s.add,beforeResolve:o.add,afterEach:l.add,onError:K.add,isReady:G,install(U){const Q=this;U.component("RouterLink",hP),U.component("RouterView",pP),U.config.globalProperties.$router=Q,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>Je(r)}),no&&!ge&&r.value===ha&&(ge=!0,_(a.location).catch(Ie=>{}));const ie={};for(const Ie in ha)Object.defineProperty(ie,Ie,{get:()=>r.value[Ie],enumerable:!0});U.provide(ou,Q),U.provide(gh,Yf(ie)),U.provide(Gd,r);const X=U.unmount;Me.add(U),U.unmount=function(){Me.delete(U),Me.size<1&&(c=ha,N&&N(),N=null,r.value=ha,ge=!1,J=!1),X()}}};function te(U){return U.reduce((Q,ie)=>Q.then(()=>I(ie)),Promise.resolve())}return Oe}function bP(e,t){const n=[],i=[],a=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;ogo(c,l))?i.push(l):n.push(l));const r=e.matched[o];r&&(t.matched.find(c=>go(c,r))||a.push(r))}return[n,i,a]}function ph(){return Ke(ou)}function _P(){return Ke(gh)}const at=(e,t)=>{const n=e.__vccOpts||e;for(const[i,a]of t)n[i]=a;return n},xP=e=>(Oa("data-v-66ce0b56"),e=e(),Ra(),e),SP={class:"image-view"},wP=["src","alt"],kP={key:0,class:"spinner"},CP=xP(()=>be("img",{alt:"loading...",class:"preloader-gif",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0ibWFyZ2luOiBhdXRvOyBiYWNrZ3JvdW5kOiBub25lOyBkaXNwbGF5OiBibG9jazsgc2hhcGUtcmVuZGVyaW5nOiBhdXRvOyIgd2lkdGg9IjIwMHB4IiBoZWlnaHQ9IjIwMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgo8Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSIzMiIgc3Ryb2tlLXdpZHRoPSI4IiBzdHJva2U9IiM1NDUxNTEiIHN0cm9rZS1kYXNoYXJyYXk9IjUwLjI2NTQ4MjQ1NzQzNjY5IDUwLjI2NTQ4MjQ1NzQzNjY5IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCI+PC9hbmltYXRlVHJhbnNmb3JtPgo8L2NpcmNsZT4KPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iMjMiIHN0cm9rZS13aWR0aD0iOCIgc3Ryb2tlPSIjYzNjM2M1IiBzdHJva2UtZGFzaGFycmF5PSIzNi4xMjgzMTU1MTYyODI2MiAzNi4xMjgzMTU1MTYyODI2MiIgc3Ryb2tlLWRhc2hvZmZzZXQ9IjM2LjEyODMxNTUxNjI4MjYyIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOy0zNjAgNTAgNTAiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KPC9jaXJjbGU+CjwhLS0gW2xkaW9dIGdlbmVyYXRlZCBieSBodHRwczovL2xvYWRpbmcuaW8vIC0tPjwvc3ZnPg=="},null,-1)),PP=[CP],IP={__name:"ImageView",props:{src:String,alt:String,ignoreOnImageCount:Boolean,spinnerEnabled:Boolean},emits:["loading","loaded","error","completed"],setup(e,{expose:t,emit:n}){const i=e,a=au(),s=n,o=Z(null),l=Z(null),r=w(()=>a.HTML_CLASSES.imageViewImage+(i.ignoreOnImageCount?` ${a.HTML_CLASSES.imageViewImageIgnoredOnCount}`:""));_t(()=>{v()}),_e(()=>i.src,()=>{v()});const c=()=>l.value===a.LoadStatus.LOADED||l.value===a.LoadStatus.ERROR,u=()=>{f(a.LoadStatus.LOADED)},d=()=>{f(a.LoadStatus.ERROR)},f=m=>{switch(l.value=m,o.value.setAttribute("loadStatus",m),m){case a.LoadStatus.LOADING:s("loading");break;case a.LoadStatus.LOADED:s("loaded"),s("completed");break;case a.LoadStatus.ERROR:s("error"),s("completed");break}},v=()=>{f(typeof i.src!="string"?a.LoadStatus.ERROR:a.LoadStatus.LOADING)};return t({isLoaded:c}),(m,g)=>(me(),Te("div",SP,[ft(be("img",{ref_key:"img",ref:o,src:i.src,alt:i.alt,class:xt(r.value),onLoad:u,onError:d},null,42,wP),[[mn,c()]]),i.spinnerEnabled?ft((me(),Te("div",kP,PP,512)),[[mn,!c()]]):kt("",!0)]))}},yh=at(IP,[["__scopeId","data-v-66ce0b56"]]);const VP={class:"nav-profile-card"},AP={class:"nav-profile-card-title lead-2"},TP={class:"nav-profile-card-subtitle text-4 mb-1"},MP={__name:"NavProfileCard",props:{profileData:Object},setup(e){const t=e;return(n,i)=>(me(),Te("div",VP,[h(yh,{src:t.profileData.profilePictureUrl,alt:t.profileData.name,class:"img-pfp"},null,8,["src","alt"]),be("h4",AP,wt(t.profileData.name),1),be("h6",TP,wt(t.profileData.locales.role),1)]))}},jb=at(MP,[["__scopeId","data-v-ad1c764a"]]);const Wb=e=>(Oa("data-v-e3285fb2"),e=e(),Ra(),e),EP={class:"nav-sidebar"},DP={key:0,class:"nav-sidebar-content"},OP={class:"nav-links"},RP=["onClick"],LP={class:"nav-links"},BP={class:"nav-item"},NP=Wb(()=>be("i",{class:"fa-solid fa-magnifying-glass"},null,-1)),FP={key:0,class:"nav-item"},$P=Wb(()=>be("i",{class:"fa-solid fa-pen-to-square"},null,-1)),zP={key:1,class:"nav-sidebar-footer"},HP={__name:"NavSidebar",emits:["linkClicked"],setup(e,{emit:t}){const n=t,i=Oi(),a=Na(),s=ph(),o=Z(""),l=Z(null);Qc(()=>{s.currentRoute.value.query.query?r():s.push("/login")}),Jt(async()=>{await r()});async function r(){let v="";if(s.currentRoute.value.query.query)v=s.currentRoute.value.query.query;else try{const p=await(await fetch("http://127.0.0.1:3033/loadUser",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8",Authorization:"Bearer "+sessionStorage.getItem("access_token")}})).json();p.status===200&&(v=p.logged_in_as)}catch(g){console.error("Error fetching user data:",g)}try{const p=await(await fetch("http://127.0.0.1:3033/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:v})})).json();p.status!==200&&console.error("Error fetching user resume: ",p.message)}catch{console.error("Error fetching user resume: ",error)}let m=i.getProfile();fetch(`/images/pictures/${v}.png`).then(g=>{g.ok?m.profilePictureUrl=`/images/pictures/${v}.png`:m.profilePictureUrl="/images/pictures/avatar.png"}).then(()=>{l.value=m})}const c=v=>{let m="nav-item";return a.isSectionActive(v.id)&&(m+=" nav-item-selected"),m},u=v=>{n("linkClicked",v.id)},d=()=>!!sessionStorage.getItem("access_token"),f=()=>{fetch("http://127.0.0.1:3033/logout",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8"}}).then(v=>{if(!v.ok)throw new Error("Network response was not ok");return v.json()}).then(v=>{v.message==="Logout successful"?(sessionStorage.clear(),s.push("/")):o.value=v.message||"Logout failed. Please try again."}).catch(v=>{console.error("Logout error:",v),o.value=v.message||"An error occurred. Please try again."})};return(v,m)=>{const g=Ce("v-btn"),p=Ce("v-col");return me(),Te("nav",EP,[l.value?(me(),Te("div",DP,[h(jb,{"profile-data":l.value},null,8,["profile-data"]),be("ul",OP,[(me(!0),Te(Pe,null,At(Je(i).getSections(),y=>(me(),Te("li",{class:xt(c(y))},[be("button",{class:"nav-link",onClick:b=>u(y)},[be("i",{class:xt(y.faIcon)},null,2),Xe(" "+wt(Je(i).getString(y.id)),1)],8,RP)],2))),256))]),be("ul",LP,[be("li",BP,[be("button",{class:"nav-link",onClick:m[0]||(m[0]=y=>Je(s).push("/"))},[NP,Xe(" Search ")])]),d()?(me(),Te("li",FP,[be("button",{class:"nav-link",onClick:m[1]||(m[1]=y=>Je(s).push("/edit"))},[$P,Xe(" Edit Resume ")])])):kt("",!0)])])):kt("",!0),l.value?(me(),Te("div",zP,[h(p,null,{default:se(()=>[d()?(me(),Tt(g,{key:0,variant:"flat",onClick:f,color:"#1a73e8"},{default:se(()=>[Xe("Logout")]),_:1})):kt("",!0),d()?kt("",!0):(me(),Tt(g,{key:1,variant:"flat",onClick:m[2]||(m[2]=y=>Je(s).push("/login")),color:"#1a73e8"},{default:se(()=>[Xe("Login")]),_:1}))]),_:1})])):kt("",!0)])}}},jP=at(HP,[["__scopeId","data-v-e3285fb2"]]);const WP={key:0,class:"nav-pills"},UP=["onClick"],YP={class:"d-none d-sm-inline"},KP={__name:"NavPills",props:{sections:Array},emits:["linkClicked"],setup(e,{emit:t}){const n=e,i=Oi(),a=Na(),s=t,o=r=>`nav-item ${a.isSectionActive(r.id)?"nav-item-selected":""}`,l=r=>{s("linkClicked",r)};return(r,c)=>n.sections&&n.sections.length>=2?(me(),Te("div",WP,[(me(!0),Te(Pe,null,At(n.sections,u=>(me(),Te("button",{class:xt(o(u)),onClick:d=>l(u)},[be("i",{class:xt(["nav-pill-icon",u.faIcon])},null,2),be("span",YP,wt(Je(i).getString(u.id)),1)],10,UP))),256))])):kt("",!0)}},zm=at(KP,[["__scopeId","data-v-77e48e8c"]]);const GP={class:"nav-header"},XP={class:"nav-header-container"},qP={key:0,class:"nav-pills-fixed-container nav-pills-fixed-container-shrink",id:"nav-pills-fixed-container"},ZP={key:0,class:"nav-pills-page-title text-white"},JP={__name:"NavHeader",emits:["linkClicked"],setup(e,{emit:t}){const n=Oi(),i=To(),a=Na(),s=Ba(),o=t,l=w(()=>{const d=a.getActiveCategoryId();return n.getCategorySections(d)}),r=w(()=>{if(!s.isIOS()||window.innerHeight<600)return null;const d=a.getActiveSectionId();return n.getString(d)});_t(()=>{window.addEventListener("resize",c),window.addEventListener("scroll",c),c()}),Ms(()=>{window.removeEventListener("resize",c),window.removeEventListener("scroll",c)}),_e(()=>a.getActiveSectionId(),()=>{const d=document.getElementById("nav-pills-fixed-container");d&&(d.classList.add("nav-pills-fixed-container-no-transition"),setTimeout(()=>{d.classList.remove("nav-pills-fixed-container-no-transition")},100))});const c=()=>{const d=document.getElementById("nav-pills"),f=document.getElementById("nav-pills-fixed-container");if(!d||!f)return;i.isElementOutsideBounds(d)?f.classList.remove("nav-pills-fixed-container-shrink"):f.classList.add("nav-pills-fixed-container-shrink")},u=d=>{o("linkClicked",d.id)};return(d,f)=>(me(),Te("div",GP,[be("div",XP,[Je(n).getProfile()?(me(),Tt(jb,{key:0,"profile-data":Je(n).getProfile()},null,8,["profile-data"])):kt("",!0),h(zm,{class:"nav-pills",id:"nav-pills",sections:l.value,onLinkClicked:u},null,8,["sections"])]),l.value.length>=2?(me(),Te("div",qP,[r.value?(me(),Te("h4",ZP,wt(r.value),1)):kt("",!0),h(zm,{class:"nav-pills-fixed",id:"nav-pills-fixed",sections:l.value,onLinkClicked:u},null,8,["sections"])])):kt("",!0)]))}},QP=at(JP,[["__scopeId","data-v-0b712a98"]]);const eI={class:"nav-tabs-wrapper"},tI={class:"nav-tabs"},nI=["onClick"],iI={class:"nav-tab-button-label"},aI={__name:"NavTabs",emits:["linkClicked"],setup(e,{emit:t}){const n=t,i=Oi(),a=Na(),s=l=>{let r="nav-tab-button";return a.isCategoryActive(l.id)&&(r+=" nav-tab-button-selected"),r},o=l=>{n("linkClicked",l.id)};return(l,r)=>(me(),Te("div",eI,[be("nav",tI,[(me(!0),Te(Pe,null,At(Je(i).getCategories(),c=>(me(),Te("button",{class:xt(s(c)),onClick:u=>o(c)},[be("i",{class:xt(["nav-tab-button-icon",c.faIcon])},null,2),be("span",iI,wt(Je(i).getString(c.id)),1)],10,nI))),256))])]))}},sI=at(aI,[["__scopeId","data-v-37eedae7"]]);const oI=e=>(Oa("data-v-8790a924"),e=e(),Ra(),e),lI=["id"],rI={key:0,class:"section-container"},cI={key:0,class:"section-header"},uI=["innerHTML"],dI=oI(()=>be("hr",{class:"solid-divider ms-1 me-1 mb-3 mb-lg-4"},null,-1)),fI={key:0,class:"lead text-muted"},hI={class:"section-content"},vI={__name:"SectionTemplate",props:{sectionData:Object},setup(e){const t=e,n=Oi(),i=Na(),a=w(()=>t.sectionData&&i.isSectionVisible(t.sectionData.id)),s=w(()=>{let l="section";return i.isAllAtOnceMode()&&(l+=" section-with-division"),t.sectionData.cover&&(l+=" section-cover"),l}),o=w(()=>i.isAllAtOnceMode()?t.sectionData.content.locales.title:n.getString(t.sectionData.id));return(l,r)=>ft((me(),Te("section",{id:t.sectionData.id,class:xt(s.value)},[t.sectionData.content?(me(),Te("div",rI,[t.sectionData.content.locales.title?(me(),Te("div",cI,[be("h1",{class:"section-title mb-1 mb-lg-2 fw-bold text-uppercase",innerHTML:o.value},null,8,uI),dI,t.sectionData.content.locales.description?(me(),Te("p",fI,wt(t.sectionData.content.locales.description),1)):kt("",!0)])):kt("",!0),be("div",hI,[Fy(l.$slots,"default",{},void 0,!0)])])):kt("",!0)],10,lI)),[[mn,a.value]])}},yo=at(vI,[["__scopeId","data-v-8790a924"]]);const mI={class:"inline-list lead"},gI={class:"list-item"},pI=["href"],yI={key:1},bI={__name:"InlineList",props:{items:Array},setup(e){const t=e,n=s=>s.valueShort||s.value,i=s=>s.href,a=s=>s.faIcon;return(s,o)=>(me(),Te("div",mI,[(me(!0),Te(Pe,null,At(t.items,l=>(me(),Te("div",gI,[i(l)?(me(),Te("a",{key:0,href:i(l),class:"info-item-link"},[a(l)?(me(),Te("i",{key:0,class:xt([a(l),"list-item-icon"])},null,2)):kt("",!0),Xe(" "+wt(n(l)),1)],8,pI)):(me(),Te("span",yI,[a(l)?(me(),Te("i",{key:0,class:xt([a(l),"list-item-icon"])},null,2)):kt("",!0),Xe(" "+wt(n(l)),1)]))]))),256))]))}},_I=at(bI,[["__scopeId","data-v-c4644c6f"]]);const xI=e=>(Oa("data-v-e6f3fa6c"),e=e(),Ra(),e),SI=["innerHTML"],wI=xI(()=>be("hr",{class:"solid-divider ms-1 me-1"},null,-1)),kI=["innerHTML"],CI={__name:"CoverSection",props:{sectionData:Object},setup(e){const t=Na(),n=e,i=w(()=>t.isAllAtOnceMode()?n.sectionData.content.locales.welcome:n.sectionData.content.locales.welcomeShort);return(a,s)=>(me(),Tt(yo,{"section-data":n.sectionData},{default:se(()=>[be("h1",{class:"cover-title display-1",innerHTML:i.value},null,8,SI),wI,h(_I,{class:"info-list",items:n.sectionData.content.items.contactListItems},null,8,["items"]),be("p",{class:"cover-description lead text-normal mb-4 mb-md-5",innerHTML:n.sectionData.content.locales.bio},null,8,kI)]),_:1},8,["section-data"]))}},PI=at(CI,[["__scopeId","data-v-e6f3fa6c"]]),II={class:"section-subheading"},VI={class:"section-subheading-title mb-2 fw-bold text-uppercase"},AI={key:0,class:"section-subheading-description lead text-muted"},Ub={__name:"SubHeading",props:{title:String,description:String,faIcon:String},setup(e){const t=e;return(n,i)=>(me(),Te("div",II,[be("h3",VI,[be("span",null,wt(t.title),1),t.faIcon?(me(),Te("i",{key:0,class:xt([t.faIcon,"ms-2"])},null,2)):kt("",!0)]),be("hr",{class:xt(["solid-divider ms-1 me-1 mb-3",{"mb-sm-4":!t.description}])},null,2),t.description?(me(),Te("p",AI,wt(t.description),1)):kt("",!0)]))}};const TI={__name:"CircleIcon",props:{src:String,type:String,color:String,textClass:String},setup(e){const t=e,n=Ba(),i=["standard","small"],a=()=>n.isStringAnImageUrl(t.src),s=()=>{let r=t.type;i.indexOf(r)===-1&&(r=i[0]);let c="circle-icon";return c+=` circle-icon-${r}`,c},o=()=>{let r=t.src;return t.textClass&&(r+=" "+t.textClass),r},l=()=>!t.color||a()?"":`background-color:${t.color}`;return(r,c)=>(me(),Te("div",{class:xt(s())},[a()?(me(),Tt(yh,{key:0,class:"circle-icon-img",src:t.src,alt:"icon",style:Ia(l())},null,8,["src","style"])):(me(),Te("div",{key:1,class:"circle-icon-fa-icon",style:Ia(l())},[be("i",{class:xt(["fa-inverse",o()])},null,2)],4))],2))}},MI=at(TI,[["__scopeId","data-v-340ab9f5"]]);const EI={class:"progress-bar-wrapper"},DI={class:"progress"},OI=["aria-valuenow"],RI={class:"progress-description"},LI=["innerHTML"],BI={__name:"ProgressBar",props:{percentage:Number,description:String,color:String},setup(e){const t=e,n=Ba(),i=w(()=>n.clamp(t.percentage,0,100)),a=w(()=>{const s=i.value,o=(50+s*.5)/100,l=t.color?`background-color: ${t.color}`:"";return`width: ${s}%; opacity: ${o}; ${l}`});return(s,o)=>(me(),Te("div",EI,[be("div",DI,[be("div",{class:"progress-bar",role:"progressbar",style:Ia(a.value),"aria-valuenow":i.value,"aria-valuemin":"0","aria-valuemax":"100"},null,12,OI)]),be("div",RI,[t.description?(me(),Te("p",{key:0,class:"text-1 text-description mb-0",innerHTML:t.description},null,8,LI)):kt("",!0)])]))}},Yb=at(BI,[["__scopeId","data-v-286948d5"]]);const NI={class:"info-item"},FI={class:"info-item-content"},$I={key:0,class:"info-item-content-header-highlight mb-1"},zI={class:"info-item-title text-4 fw-bold text-normal mb-0"},HI={class:"info-item-progress-span text-1 text-muted fw-bold"},jI={key:1,class:"info-item-content-header"},WI={class:"text-light-7 text-4 mb-0"},UI={key:0,class:"text-3"},YI={key:3,class:"info-item-description-wrapper"},KI=["innerHTML"],GI={__name:"InfoItem",props:{item:Object,highlightedHeader:Boolean,descriptionWithProgressBar:Boolean,iconColorStyle:String,smallDescription:Boolean},setup(e){const t=e,n=s=>{if(t.iconColorStyle==="transparent")return"transparent";if(t.iconColorStyle==="customColor")return t.item.customColor},i=s=>t.iconColorStyle==="customColor"?t.item.customColor:null,a=s=>t.iconColorStyle==="transparent"?"text-primary":"text-white";return(s,o)=>(me(),Te("div",NI,[h(MI,{src:"fa-solid fa-circle fa-xs",type:"standard",color:n(e.item),"text-class":a(e.item),class:"info-item-icon"},null,8,["color","text-class"]),be("div",FI,[e.highlightedHeader?(me(),Te("div",$I,[be("p",zI,wt(e.item.locales.title),1),be("span",HI,wt(e.item.formattedPercentage??""),1)])):(me(),Te("div",jI,[be("p",WI,[be("strong",null,wt(e.item.locales.title),1),e.item.formattedPercentage?(me(),Te("span",UI," – "+wt(e.item.formattedPercentage),1)):kt("",!0)])])),t.descriptionWithProgressBar&&e.item.formattedPercentage?(me(),Tt(Yb,{key:2,percentage:e.item.value,description:e.item.locales.description,color:i(e.item),class:"mt-1"},null,8,["percentage","description","color"])):(me(),Te("div",YI,[be("p",{class:xt(["item-description text-muted mb-0",e.smallDescription?"text-1":"text-2"]),innerHTML:e.item.locales.description},null,10,KI)]))])]))}},bh=at(GI,[["__scopeId","data-v-7d771ca9"]]);const XI={class:"row"},qI={class:"col-12 item-container"},ZI={__name:"InfoList",props:{items:Array},setup(e){const t=e;return(n,i)=>(me(),Te("div",XI,[(me(!0),Te(Pe,null,At(t.items,a=>(me(),Te("div",qI,[h(bh,{item:a,"highlighted-header":!1,"small-description":!1,"description-with-progress-bar":!1,"icon-color-style":"transparent"},null,8,["item"])]))),256))]))}},Hm=at(ZI,[["__scopeId","data-v-5be3d4c5"]]);const JI={class:"row gx-5"},QI={class:"col-12 col-md-6 item-container"},eV={__name:"InfoGrid",props:{items:Array},setup(e){const t=e;return(n,i)=>(me(),Te("div",JI,[(me(!0),Te(Pe,null,At(t.items,a=>(me(),Te("div",QI,[h(bh,{item:a,"highlighted-header":!0,"small-description":!1,"description-with-progress-bar":!0,"icon-color-style":a.formattedPercentage?"transparent":"solid",class:"info-item"},null,8,["item","icon-color-style"])]))),256))]))}},tV=at(eV,[["__scopeId","data-v-506a4c5d"]]);/*! * @kurkle/color v0.3.2 * https://github.com/kurkle/color#readme * (c) 2023 Jukka Kurkela @@ -19,7 +19,7 @@ var rw=Object.defineProperty;var cw=(e,t,n)=>t in e?rw(e,t,{enumerable:!0,config * Released under the MIT License */class VA{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,i,a){const s=n.listeners[a],o=n.duration;s.forEach(l=>l({chart:t,initial:n.initial,numSteps:o,currentStep:Math.min(i-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=t_.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((i,a)=>{if(!i.running||!i.items.length)return;const s=i.items;let o=s.length-1,l=!1,r;for(;o>=0;--o)r=s[o],r._active?(r._total>i.duration&&(i.duration=r._total),r.tick(t),l=!0):(s[o]=s[s.length-1],s.pop());l&&(a.draw(),this._notify(a,i,t,"progress")),s.length||(i.running=!1,this._notify(a,i,t,"complete"),i.initial=!1),n+=s.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let i=n.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,i)),i}listen(t,n,i){this._getAnims(t).listeners[n].push(i)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,a)=>Math.max(i,a._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const i=n.items;let a=i.length-1;for(;a>=0;--a)i[a].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Hi=new VA;const cg="transparent",AA={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=tg(e||cg),a=i.valid&&tg(t||cg);return a&&a.valid?a.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class TA{constructor(t,n,i,a){const s=n[i];a=Lr([t.to,a,s,t.from]);const o=Lr([t.from,s,a]);this._active=!0,this._fn=t.fn||AA[t.type||typeof o],this._easing=yl[t.easing]||yl.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=i,this._from=o,this._to=a,this._promises=void 0}active(){return this._active}update(t,n,i){if(this._active){this._notify(!1);const a=this._target[this._prop],s=i-this._start,o=this._duration-s;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=s,this._loop=!!t.loop,this._to=Lr([t.to,n,a,t.from]),this._from=Lr([t.from,a,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,i=this._duration,a=this._prop,s=this._from,o=this._loop,l=this._to;let r;if(this._active=s!==l&&(o||n1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[a]=this._fn(s,l,r)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,i)=>{t.push({res:n,rej:i})})}_notify(t){const n=t?"res":"rej",i=this._promises||[];for(let a=0;a{const s=t[a];if(!st(s))return;const o={};for(const l of n)o[l]=s[l];(Ot(s.properties)&&s.properties||[a]).forEach(l=>{(l===a||!i.has(l))&&i.set(l,o)})})}_animateOptions(t,n){const i=n.options,a=EA(t,i);if(!a)return[];const s=this._createAnimations(a,i);return i.$shared&&MA(t.options.$animations,i).then(()=>{t.options=i},()=>{}),s}_createAnimations(t,n){const i=this._properties,a=[],s=t.$animations||(t.$animations={}),o=Object.keys(n),l=Date.now();let r;for(r=o.length-1;r>=0;--r){const c=o[r];if(c.charAt(0)==="$")continue;if(c==="options"){a.push(...this._animateOptions(t,n));continue}const u=n[c];let d=s[c];const f=i.get(c);if(d)if(f&&d.active()){d.update(f,u,l);continue}else d.cancel();if(!f||!f.duration){t[c]=u;continue}s[c]=d=new TA(f,t,c,u),a.push(d)}return a}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const i=this._createAnimations(t,n);if(i.length)return Hi.add(this._chart,i),!0}}function MA(e,t){const n=[],i=Object.keys(t);for(let a=0;a0||!n&&s<0)return a.index}return null}function vg(e,t){const{chart:n,_cachedMeta:i}=e,a=n._stacks||(n._stacks={}),{iScale:s,vScale:o,index:l}=i,r=s.axis,c=o.axis,u=LA(s,o,i),d=t.length;let f;for(let v=0;vn[i].axis===t).shift()}function FA(e,t){return Es(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function $A(e,t,n){return Es(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Ko(e,t){const n=e.controller.index,i=e.vScale&&e.vScale.axis;if(i){t=t||e._parsed;for(const a of t){const s=a._stacks;if(!s||s[i]===void 0||s[i][n]===void 0)return;delete s[i][n],s[i]._visualValues!==void 0&&s[i]._visualValues[n]!==void 0&&delete s[i]._visualValues[n]}}}const vd=e=>e==="reset"||e==="none",mg=(e,t)=>t?e:Object.assign({},e),zA=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:h_(n,!0),values:null};class xl{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=fg(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Ko(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,i=this.getDataset(),a=(d,f,v,m)=>d==="x"?f:d==="r"?m:v,s=n.xAxisID=Rt(i.xAxisID,hd(t,"x")),o=n.yAxisID=Rt(i.yAxisID,hd(t,"y")),l=n.rAxisID=Rt(i.rAxisID,hd(t,"r")),r=n.indexAxis,c=n.iAxisID=a(r,s,o,l),u=n.vAxisID=a(r,o,s,l);n.xScale=this.getScaleForId(s),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Jm(this._data,this),t._stacked&&Ko(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),i=this._data;if(st(n))this._data=RA(n);else if(i!==n){if(i){Jm(i,this);const a=this._cachedMeta;Ko(a),a._parsed=[]}n&&Object.isExtensible(n)&&FV(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,i=this.getDataset();let a=!1;this._dataCheck();const s=n._stacked;n._stacked=fg(n.vScale,n),n.stack!==i.stack&&(a=!0,Ko(n),n.stack=i.stack),this._resyncElements(t),(a||s!==n._stacked)&&vg(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:i,_data:a}=this,{iScale:s,_stacked:o}=i,l=s.axis;let r=t===0&&n===a.length?!0:i._sorted,c=t>0&&i._parsed[t-1],u,d,f;if(this._parsing===!1)i._parsed=a,i._sorted=!0,f=a;else{Ot(a[t])?f=this.parseArrayData(i,a,t,n):st(a[t])?f=this.parseObjectData(i,a,t,n):f=this.parsePrimitiveData(i,a,t,n);const v=()=>d[l]===null||c&&d[l]g||d=0;--f)if(!m()){this.updateRangeFromParsed(c,t,v,r);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,i=[];let a,s,o;for(a=0,s=n.length;a=0&&tthis.getContext(i,a,n),g=c.resolveNamedOptions(f,v,m,d);return g.$shared&&(g.$shared=r,s[o]=Object.freeze(mg(g,r))),g}_resolveAnimations(t,n,i){const a=this.chart,s=this._cachedDataOpts,o=`animation-${n}`,l=s[o];if(l)return l;let r;if(a.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);r=u.createResolver(f,this.getContext(t,i,n))}const c=new f_(a,r&&r.animations);return r&&r._cacheable&&(s[o]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||vd(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const i=this.resolveDataElementOptions(t,n),a=this._sharedOptions,s=this.getSharedOptions(i),o=this.includeOptions(n,s)||s!==a;return this.updateSharedOptions(s,n,i),{sharedOptions:s,includeOptions:o}}updateElement(t,n,i,a){vd(a)?Object.assign(t,i):this._resolveAnimations(n,a).update(t,i)}updateSharedOptions(t,n,i){t&&!vd(n)&&this._resolveAnimations(void 0,n).update(t,i)}_setStyle(t,n,i,a){t.active=a;const s=this.getStyle(n,a);this._resolveAnimations(n,i,a).update(t,{options:!a&&this.getSharedOptions(s)||s})}removeHoverStyle(t,n,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,n,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,i=this._cachedMeta.data;for(const[l,r,c]of this._syncList)this[l](r,c);this._syncList=[];const a=i.length,s=n.length,o=Math.min(s,a);o&&this.parse(0,o),s>a?this._insertElements(a,s-a,t):s{for(c.length+=n,l=c.length-1;l>=o;l--)c[l]=c[l-n]};for(r(s),l=t;lkc(S,l,r,!0)?1:Math.max(_,_*n,x,x*n),m=(S,_,x)=>kc(S,l,r,!0)?-1:Math.min(_,_*n,x,x*n),g=v(0,c,d),p=v(Wt,u,f),y=m(zt,c,d),b=m(zt+Wt,u,f);i=(g-y)/2,a=(p-b)/2,s=-(g+y)/2,o=-(p+b)/2}return{ratioX:i,ratioY:a,offsetX:s,offsetY:o}}class il extends xl{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const i=this.getDataset().data,a=this._cachedMeta;if(this._parsing===!1)a._parsed=i;else{let s=r=>+i[r];if(st(i[t])){const{key:r="value"}=this._parsing;s=c=>+Ll(i[c],r)}let o,l;for(o=t,l=t+n;o0&&!isNaN(t)?$t*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,a=i.data.labels||[],s=lu(n._parsed[t],i.options.locale);return{label:a[t]||"",value:s}}getMaxBorderWidth(t){let n=0;const i=this.chart;let a,s,o,l,r;if(!t){for(a=0,s=i.data.datasets.length;at!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),He(il,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:i,color:a}}=t.legend.options;return n.labels.map((s,o)=>{const r=t.getDatasetMeta(0).controller.getStyle(o);return{text:s,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,fontColor:a,lineWidth:r.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(o),index:o}})}return[]}},onClick(t,n,i){i.chart.toggleDataVisibility(n.index),i.chart.update()}}}});class Qd extends il{}He(Qd,"id","pie"),He(Qd,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function Qa(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Eh{constructor(t){He(this,"options");this.options=t||{}}static override(t){Object.assign(Eh.prototype,t)}init(){}formats(){return Qa()}parse(){return Qa()}format(){return Qa()}add(){return Qa()}diff(){return Qa()}startOf(){return Qa()}endOf(){return Qa()}}var jA={_date:Eh};function WA(e,t,n,i){const{controller:a,data:s,_sorted:o}=e,l=a._cachedMeta.iScale;if(l&&t===l.axis&&t!=="r"&&o&&s.length){const r=l._reversePixels?BV:qd;if(i){if(a._sharedOptions){const c=s[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const d=r(s,t,n-u),f=r(s,t,n+u);return{lo:d.lo,hi:f.hi}}}}else return r(s,t,n)}return{lo:0,hi:s.length-1}}function sr(e,t,n,i,a){const s=e.getSortedVisibleDatasetMetas(),o=n[t];for(let l=0,r=s.length;l{r[o](t[n],a)&&(s.push({element:r,datasetIndex:c,index:u}),l=l||r.inRange(t.x,t.y,a))}),i&&!l?[]:s}var GA={evaluateInteractionItems:sr,modes:{index(e,t,n,i){const a=is(t,e),s=n.axis||"x",o=n.includeInvisible||!1,l=n.intersect?md(e,a,s,i,o):gd(e,a,s,!1,i,o),r=[];return l.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=l[0].index,d=c.data[u];d&&!d.skip&&r.push({element:d,datasetIndex:c.index,index:u})}),r):[]},dataset(e,t,n,i){const a=is(t,e),s=n.axis||"xy",o=n.includeInvisible||!1;let l=n.intersect?md(e,a,s,i,o):gd(e,a,s,!1,i,o);if(l.length>0){const r=l[0].datasetIndex,c=e.getDatasetMeta(r).data;l=[];for(let u=0;un.pos===t)}function pg(e,t){return e.filter(n=>v_.indexOf(n.pos)===-1&&n.box.axis===t)}function Xo(e,t){return e.sort((n,i)=>{const a=t?i:n,s=t?n:i;return a.weight===s.weight?a.index-s.index:a.weight-s.weight})}function XA(e){const t=[];let n,i,a,s,o,l;for(n=0,i=(e||[]).length;nc.box.fullSize),!0),i=Xo(Go(t,"left"),!0),a=Xo(Go(t,"right")),s=Xo(Go(t,"top"),!0),o=Xo(Go(t,"bottom")),l=pg(t,"x"),r=pg(t,"y");return{fullSize:n,leftAndTop:i.concat(s),rightAndBottom:a.concat(r).concat(o).concat(l),chartArea:Go(t,"chartArea"),vertical:i.concat(a).concat(r),horizontal:s.concat(o).concat(l)}}function yg(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function m_(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function QA(e,t,n,i){const{pos:a,box:s}=n,o=e.maxPadding;if(!st(a)){n.size&&(e[a]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?s.height:s.width),n.size=d.size/d.count,e[a]+=n.size}s.getPadding&&m_(o,s.getPadding());const l=Math.max(0,t.outerWidth-yg(o,e,"left","right")),r=Math.max(0,t.outerHeight-yg(o,e,"top","bottom")),c=l!==e.w,u=r!==e.h;return e.w=l,e.h=r,n.horizontal?{same:c,other:u}:{same:u,other:c}}function eT(e){const t=e.maxPadding;function n(i){const a=Math.max(t[i]-e[i],0);return e[i]+=a,a}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function tT(e,t){const n=t.maxPadding;function i(a){const s={left:0,top:0,right:0,bottom:0};return a.forEach(o=>{s[o]=Math.max(t[o],n[o])}),s}return i(e?["left","right"]:["top","bottom"])}function al(e,t,n,i){const a=[];let s,o,l,r,c,u;for(s=0,o=e.length,c=0;s{typeof g.beforeLayout=="function"&&g.beforeLayout()});const u=r.reduce((g,p)=>p.box.options&&p.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:a,availableWidth:s,availableHeight:o,vBoxMaxWidth:s/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},a);m_(f,Kn(i));const v=Object.assign({maxPadding:f,w:s,h:o,x:a.left,y:a.top},a),m=ZA(r.concat(c),d);al(l.fullSize,v,d,m),al(r,v,d,m),al(c,v,d,m)&&al(r,v,d,m),eT(v),bg(l.leftAndTop,v,d,m),v.x+=v.w,v.y+=v.h,bg(l.rightAndBottom,v,d,m),e.chartArea={left:v.left,top:v.top,right:v.left+v.w,bottom:v.top+v.h,height:v.h,width:v.w},vt(l.chartArea,g=>{const p=g.box;Object.assign(p,e.chartArea),p.update(v.w,v.h,{left:0,top:0,right:0,bottom:0})})}};class g_{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,i){}removeEventListener(t,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,i,a){return n=Math.max(0,n||t.width),i=i||t.height,{width:n,height:Math.max(0,a?Math.floor(n/a):i)}}isAttached(t){return!0}updateConfig(t){}}class nT extends g_{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const nc="$chartjs",iT={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},_g=e=>e===null||e==="";function aT(e,t){const n=e.style,i=e.getAttribute("height"),a=e.getAttribute("width");if(e[nc]={initial:{height:i,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",_g(a)){const s=rg(e,"width");s!==void 0&&(e.width=s)}if(_g(i))if(e.style.height==="")e.height=e.width/(t||2);else{const s=rg(e,"height");s!==void 0&&(e.height=s)}return e}const p_=wA?{passive:!0}:!1;function sT(e,t,n){e.addEventListener(t,n,p_)}function oT(e,t,n){e.canvas.removeEventListener(t,n,p_)}function lT(e,t){const n=iT[e.type]||e.type,{x:i,y:a}=is(e,t);return{type:n,chart:t,native:e,x:i!==void 0?i:null,y:a!==void 0?a:null}}function Ic(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function rT(e,t,n){const i=e.canvas,a=new MutationObserver(s=>{let o=!1;for(const l of s)o=o||Ic(l.addedNodes,i),o=o&&!Ic(l.removedNodes,i);o&&n()});return a.observe(document,{childList:!0,subtree:!0}),a}function cT(e,t,n){const i=e.canvas,a=new MutationObserver(s=>{let o=!1;for(const l of s)o=o||Ic(l.removedNodes,i),o=o&&!Ic(l.addedNodes,i);o&&n()});return a.observe(document,{childList:!0,subtree:!0}),a}const Nl=new Map;let xg=0;function y_(){const e=window.devicePixelRatio;e!==xg&&(xg=e,Nl.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function uT(e,t){Nl.size||window.addEventListener("resize",y_),Nl.set(e,t)}function dT(e){Nl.delete(e),Nl.size||window.removeEventListener("resize",y_)}function fT(e,t,n){const i=e.canvas,a=i&&Mh(i);if(!a)return;const s=n_((l,r)=>{const c=a.clientWidth;n(l,r),c{const r=l[0],c=r.contentRect.width,u=r.contentRect.height;c===0&&u===0||s(c,u)});return o.observe(a),uT(e,s),o}function pd(e,t,n){n&&n.disconnect(),t==="resize"&&dT(e)}function hT(e,t,n){const i=e.canvas,a=n_(s=>{e.ctx!==null&&n(lT(s,e))},e);return sT(i,t,a),a}class vT extends g_{acquireContext(t,n){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(aT(t,n),i):null}releaseContext(t){const n=t.canvas;if(!n[nc])return!1;const i=n[nc].initial;["height","width"].forEach(s=>{const o=i[s];Dt(o)?n.removeAttribute(s):n.setAttribute(s,o)});const a=i.style||{};return Object.keys(a).forEach(s=>{n.style[s]=a[s]}),n.width=n.width,delete n[nc],!0}addEventListener(t,n,i){this.removeEventListener(t,n);const a=t.$proxies||(t.$proxies={}),o={attach:rT,detach:cT,resize:fT}[n]||hT;a[n]=o(t,n,i)}removeEventListener(t,n){const i=t.$proxies||(t.$proxies={}),a=i[n];if(!a)return;({attach:pd,detach:pd,resize:pd}[n]||oT)(t,n,a),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,i,a){return SA(t,n,i,a)}isAttached(t){const n=Mh(t);return!!(n&&n.isConnected)}}function mT(e){return!Th()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?nT:vT}var Jr;let or=(Jr=class{constructor(){He(this,"x");He(this,"y");He(this,"active",!1);He(this,"options");He(this,"$animations")}tooltipPosition(t){const{x:n,y:i}=this.getProps(["x","y"],t);return{x:n,y:i}}hasValue(){return wc(this.x)&&wc(this.y)}getProps(t,n){const i=this.$animations;if(!n||!i)return this;const a={};return t.forEach(s=>{a[s]=i[s]&&i[s].active()?i[s]._to:this[s]}),a}},He(Jr,"defaults",{}),He(Jr,"defaultRoutes"),Jr);function gT(e,t){const n=e.options.ticks,i=pT(e),a=Math.min(n.maxTicksLimit||i,i),s=n.major.enabled?bT(t):[],o=s.length,l=s[0],r=s[o-1],c=[];if(o>a)return _T(t,c,s,o/a),c;const u=yT(s,t,a);if(o>0){let d,f;const v=o>1?Math.round((r-l)/(o-1)):null;for(Fr(t,c,u,Dt(v)?0:l-v,l),d=0,f=o-1;da)return r}return Math.max(a,1)}function bT(e){const t=[];let n,i;for(n=0,i=e.length;ne==="left"?"right":e==="right"?"left":e,Sg=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,wg=(e,t)=>Math.min(t||e,e);function kg(e,t){const n=[],i=e.length/t,a=e.length;let s=0;for(;so+l)))return r}function kT(e,t){vt(e,n=>{const i=n.gc,a=i.length/2;let s;if(a>t){for(s=0;si?i:n,i=a&&n>i?n:i,{min:Hn(n,Hn(i,n)),max:Hn(i,Hn(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Nt(this.options.beforeUpdate,[this])}update(t,n,i){const{beginAtZero:a,grace:s,ticks:o}=this.options,l=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=lA(this,s,a),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=l=s||i<=1||!this.isHorizontal()){this.labelRotation=a;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,v=ai(this.chart.width-d,0,this.maxWidth);l=t.offset?this.maxWidth/i:v/(i-1),d+6>l&&(l=v/(i-(t.offset?.5:1)),r=this.maxHeight-qo(t.grid)-n.padding-Cg(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),o=kh(Math.min(Math.asin(ai((u.highest.height+6)/l,-1,1)),Math.asin(ai(r/c,-1,1))-Math.asin(ai(f/c,-1,1)))),o=Math.max(a,Math.min(s,o))),this.labelRotation=o}afterCalculateLabelRotation(){Nt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Nt(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:i,title:a,grid:s}}=this,o=this._isVisible(),l=this.isHorizontal();if(o){const r=Cg(a,n.options.font);if(l?(t.width=this.maxWidth,t.height=qo(s)+r):(t.height=this.maxHeight,t.width=qo(s)+r),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),v=i.padding*2,m=Ai(this.labelRotation),g=Math.cos(m),p=Math.sin(m);if(l){const y=i.mirror?0:p*d.width+g*f.height;t.height=Math.min(this.maxHeight,t.height+y+v)}else{const y=i.mirror?0:g*d.width+p*f.height;t.width=Math.min(this.maxWidth,t.width+y+v)}this._calculatePadding(c,u,p,g)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,i,a){const{ticks:{align:s,padding:o},position:l}=this.options,r=this.labelRotation!==0,c=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,v=0;r?c?(f=a*t.width,v=i*n.height):(f=i*t.height,v=a*n.width):s==="start"?v=n.width:s==="end"?f=t.width:s!=="inner"&&(f=t.width/2,v=n.width/2),this.paddingLeft=Math.max((f-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((v-d+o)*this.width/(this.width-d),0)}else{let u=n.height/2,d=t.height/2;s==="start"?(u=0,d=t.height):s==="end"&&(u=n.height,d=0),this.paddingTop=u+o,this.paddingBottom=d+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Nt(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,i;for(n=0,i=t.length;n({width:o[I]||0,height:l[I]||0});return{first:V(0),last:V(n-1),widest:V(P),highest:V(C),widths:o,heights:l}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return RV(this._alignToPixels?Ja(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&tl*a?l/i:r/a:r*a0}_computeGridLineItems(t){const n=this.axis,i=this.chart,a=this.options,{grid:s,position:o,border:l}=a,r=s.offset,c=this.isHorizontal(),d=this.ticks.length+(r?1:0),f=qo(s),v=[],m=l.setContext(this.getContext()),g=m.display?m.width:0,p=g/2,y=function(K){return Ja(i,K,g)};let b,S,_,x,P,C,V,I,M,O,D,N;if(o==="top")b=y(this.bottom),C=this.bottom-f,I=b-p,O=y(t.top)+p,N=t.bottom;else if(o==="bottom")b=y(this.top),O=t.top,N=y(t.bottom)-p,C=b+p,I=this.top+f;else if(o==="left")b=y(this.right),P=this.right-f,V=b-p,M=y(t.left)+p,D=t.right;else if(o==="right")b=y(this.left),M=t.left,D=y(t.right)-p,P=b+p,V=this.left+f;else if(n==="x"){if(o==="center")b=y((t.top+t.bottom)/2+.5);else if(st(o)){const K=Object.keys(o)[0],J=o[K];b=y(this.chart.scales[K].getPixelForValue(J))}O=t.top,N=t.bottom,C=b+p,I=C+f}else if(n==="y"){if(o==="center")b=y((t.left+t.right)/2);else if(st(o)){const K=Object.keys(o)[0],J=o[K];b=y(this.chart.scales[K].getPixelForValue(J))}P=b-p,V=P-f,M=t.left,D=t.right}const j=Rt(a.ticks.maxTicksLimit,d),Y=Math.max(1,Math.ceil(d/j));for(S=0;S0&&(te-=Me/2);break}le={left:te,top:Oe,width:Me+ce.width,height:ge+ce.height,color:Y.backdropColor}}p.push({label:_,font:I,textOffset:D,options:{rotation:g,color:J,strokeColor:B,strokeWidth:G,textAlign:ee,textBaseline:N,translation:[x,P],backdrop:le}})}return p}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-Ai(this.labelRotation))return t==="top"?"left":"right";let a="center";return n.align==="start"?a="left":n.align==="end"?a="right":n.align==="inner"&&(a="inner"),a}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:i,mirror:a,padding:s}}=this.options,o=this._getLabelSizes(),l=t+s,r=o.widest.width;let c,u;return n==="left"?a?(u=this.right+s,i==="near"?c="left":i==="center"?(c="center",u+=r/2):(c="right",u+=r)):(u=this.right-l,i==="near"?c="right":i==="center"?(c="center",u-=r/2):(c="left",u=this.left)):n==="right"?a?(u=this.left+s,i==="near"?c="right":i==="center"?(c="center",u-=r/2):(c="left",u-=r)):(u=this.left+l,i==="near"?c="left":i==="center"?(c="center",u+=r/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:i,top:a,width:s,height:o}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(i,a,s,o),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const a=this.ticks.findIndex(s=>s.value===t);return a>=0?n.setContext(this.getContext(a)).lineWidth:0}drawGrid(t){const n=this.options.grid,i=this.ctx,a=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let s,o;const l=(r,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(r.x,r.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(n.display)for(s=0,o=a.length;s{this.draw(s)}}]:[{z:i,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:a,draw:()=>{this.drawBorder()}},{z:n,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",a=[];let s,o;for(s=0,o=n.length;s{const i=n.split("."),a=i.pop(),s=[e].concat(i).join("."),o=t[n].split("."),l=o.pop(),r=o.join(".");Ut.route(s,a,r,l)})}function MT(e){return"id"in e&&"defaults"in e}class ET{constructor(){this.controllers=new $r(xl,"datasets",!0),this.elements=new $r(or,"elements"),this.plugins=new $r(Object,"plugins"),this.scales=new $r(Mo,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,i){[...n].forEach(a=>{const s=i||this._getRegistryForType(a);i||s.isForType(a)||s===this.plugins&&a.id?this._exec(t,s,a):vt(a,o=>{const l=i||this._getRegistryForType(o);this._exec(t,l,o)})})}_exec(t,n,i){const a=wh(t);Nt(i["before"+a],[],i),n[t](i),Nt(i["after"+a],[],i)}_getRegistryForType(t){for(let n=0;ns.filter(l=>!o.some(r=>l.plugin.id===r.plugin.id));this._notify(a(n,i),t,"stop"),this._notify(a(i,n),t,"start")}}function OT(e){const t={},n=[],i=Object.keys(Ci.plugins.items);for(let s=0;s1&&Pg(e[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Ig(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function zT(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(i=>i.xAxisID===e||i.yAxisID===e);if(n.length)return Ig(e,"x",n[0])||Ig(e,"y",n[0])}return{}}function HT(e,t){const n=xs[e.type]||{scales:{}},i=t.scales||{},a=ef(e.type,t),s=Object.create(null);return Object.keys(i).forEach(o=>{const l=i[o];if(!st(l))return console.error(`Invalid scale configuration for scale: ${o}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const r=tf(o,l,zT(o,e),Ut.scales[l.type]),c=FT(r,a),u=n.scales||{};s[o]=gl(Object.create(null),[{axis:r},l,u[r],u[c]])}),e.data.datasets.forEach(o=>{const l=o.type||e.type,r=o.indexAxis||ef(l,t),u=(xs[l]||{}).scales||{};Object.keys(u).forEach(d=>{const f=NT(d,r),v=o[f+"AxisID"]||f;s[v]=s[v]||Object.create(null),gl(s[v],[{axis:f},i[v],u[d]])})}),Object.keys(s).forEach(o=>{const l=s[o];gl(l,[Ut.scales[l.type],Ut.scale])}),s}function b_(e){const t=e.options||(e.options={});t.plugins=Rt(t.plugins,{}),t.scales=HT(e,t)}function __(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function jT(e){return e=e||{},e.data=__(e.data),b_(e),e}const Vg=new Map,x_=new Set;function zr(e,t){let n=Vg.get(e);return n||(n=t(),Vg.set(e,n),x_.add(n)),n}const Zo=(e,t,n)=>{const i=Ll(t,n);i!==void 0&&e.add(i)};class WT{constructor(t){this._config=jT(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=__(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),b_(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return zr(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return zr(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return zr(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,i=this.type;return zr(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const i=this._scopeCache;let a=i.get(t);return(!a||n)&&(a=new Map,i.set(t,a)),a}getOptionScopes(t,n,i){const{options:a,type:s}=this,o=this._cachedScopes(t,i),l=o.get(n);if(l)return l;const r=new Set;n.forEach(u=>{t&&(r.add(t),u.forEach(d=>Zo(r,t,d))),u.forEach(d=>Zo(r,a,d)),u.forEach(d=>Zo(r,xs[s]||{},d)),u.forEach(d=>Zo(r,Ut,d)),u.forEach(d=>Zo(r,Zd,d))});const c=Array.from(r);return c.length===0&&c.push(Object.create(null)),x_.has(n)&&o.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,xs[n]||{},Ut.datasets[n]||{},{type:n},Ut,Zd]}resolveNamedOptions(t,n,i,a=[""]){const s={$shared:!0},{resolver:o,subPrefixes:l}=Ag(this._resolverCache,t,a);let r=o;if(YT(o,n)){s.$shared=!1,i=Da(i)?i():i;const c=this.createResolver(t,i,l);r=bo(o,i,c)}for(const c of n)s[c]=r[c];return s}createResolver(t,n,i=[""],a){const{resolver:s}=Ag(this._resolverCache,t,i);return st(n)?bo(s,n,void 0,a):s}}function Ag(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const a=n.join();let s=i.get(a);return s||(s={resolver:Ih(t,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},i.set(a,s)),s}const UT=e=>st(e)&&Object.getOwnPropertyNames(e).some(t=>Da(e[t]));function YT(e,t){const{isScriptable:n,isIndexable:i}=r_(e);for(const a of t){const s=n(a),o=i(a),l=(o||s)&&e[a];if(s&&(Da(l)||UT(l))||o&&Ot(l))return!0}return!1}var KT="4.4.1";const GT=["top","bottom","left","right","chartArea"];function Tg(e,t){return e==="top"||e==="bottom"||GT.indexOf(e)===-1&&t==="x"}function Mg(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function Eg(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Nt(n&&n.onComplete,[e],t)}function XT(e){const t=e.chart,n=t.options.animation;Nt(n&&n.onProgress,[e],t)}function S_(e){return Th()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const ic={},Dg=e=>{const t=S_(e);return Object.values(ic).filter(n=>n.canvas===t).pop()};function qT(e,t,n){const i=Object.keys(e);for(const a of i){const s=+a;if(s>=t){const o=e[a];delete e[a],(n>0||s>t)&&(e[s+n]=o)}}}function ZT(e,t,n,i){return!n||e.type==="mouseout"?null:i?t:e}function Hr(e,t,n){return e.options.clip?e[n]:t[n]}function JT(e,t){const{xScale:n,yScale:i}=e;return n&&i?{left:Hr(n,t,"left"),right:Hr(n,t,"right"),top:Hr(i,t,"top"),bottom:Hr(i,t,"bottom")}:t}var va;let uu=(va=class{static register(...t){Ci.add(...t),Og()}static unregister(...t){Ci.remove(...t),Og()}constructor(t,n){const i=this.config=new WT(n),a=S_(t),s=Dg(a);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||mT(a)),this.platform.updateConfig(i);const l=this.platform.acquireContext(a,o.aspectRatio),r=l&&l.canvas,c=r&&r.height,u=r&&r.width;if(this.id=kV(),this.ctx=l,this.canvas=r,this.width=u,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new DT,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=zV(d=>this.update(d),o.resizeDelay||0),this._dataChanges=[],ic[this.id]=this,!l||!r){console.error("Failed to create chart: can't acquire context from the given item");return}Hi.listen(this,"complete",Eg),Hi.listen(this,"progress",XT),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:i,height:a,_aspectRatio:s}=this;return Dt(t)?n&&s?s:a?i/a:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Ci}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():lg(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ig(this.canvas,this.ctx),this}stop(){return Hi.stop(this),this}resize(t,n){Hi.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const i=this.options,a=this.canvas,s=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(a,t,n,s),l=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,lg(this,l,!0)&&(this.notifyPlugins("resize",{size:o}),Nt(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};vt(n,(i,a)=>{i.id=a})}buildOrUpdateScales(){const t=this.options,n=t.scales,i=this.scales,a=Object.keys(i).reduce((o,l)=>(o[l]=!1,o),{});let s=[];n&&(s=s.concat(Object.keys(n).map(o=>{const l=n[o],r=tf(o,l),c=r==="r",u=r==="x";return{options:l,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),vt(s,o=>{const l=o.options,r=l.id,c=tf(r,l),u=Rt(l.type,o.dtype);(l.position===void 0||Tg(l.position,c)!==Tg(o.dposition))&&(l.position=o.dposition),a[r]=!0;let d=null;if(r in i&&i[r].type===u)d=i[r];else{const f=Ci.getScale(u);d=new f({id:r,type:u,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(l,t)}),vt(a,(o,l)=>{o||delete i[l]}),vt(i,o=>{xa.configure(this,o,o.options),xa.addBox(this,o)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,i=t.length;if(t.sort((a,s)=>a.index-s.index),i>n){for(let a=n;an.length&&delete this._stacks,t.forEach((i,a)=>{n.filter(s=>s===i._dataset).length===0&&this._destroyDatasetMeta(a)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let i,a;for(this._removeUnreferencedMetasets(),i=0,a=n.length;i{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),a=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Mg("z","_idx"));const{_active:l,_lastEvent:r}=this;r?this._eventHandler(r,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){vt(this.scales,t=>{xa.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!Gm(n,i)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:a,count:s}of n){const o=i==="_removeElements"?-s:s;qT(t,a,o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=s=>new Set(t.filter(o=>o[0]===s).map((o,l)=>l+","+o.splice(1).join(","))),a=i(0);for(let s=1;ss.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;xa.update(this,this.width,this.height,t);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],vt(this.boxes,a=>{i&&a.position==="chartArea"||(a.configure&&a.configure(),this._layers.push(...a._layers()))},this),this._layers.forEach((a,s)=>{a._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,i=t._clip,a=!i.disabled,s=JT(t,this.chartArea),o={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(a&&o_(n,{left:i.left===!1?0:s.left-i.left,right:i.right===!1?this.width:s.right+i.right,top:i.top===!1?0:s.top-i.top,bottom:i.bottom===!1?this.height:s.bottom+i.bottom}),t.controller.draw(),a&&l_(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return io(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,i,a){const s=GA.modes[n];return typeof s=="function"?s(this,t,i,a):[]}getDatasetMeta(t){const n=this.data.datasets[t],i=this._metasets;let a=i.filter(s=>s&&s._dataset===n).pop();return a||(a={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},i.push(a)),a}getContext(){return this.$context||(this.$context=Es(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const i=this.getDatasetMeta(t);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(t,n){const i=this.getDatasetMeta(t);i.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,i){const a=i?"show":"hide",s=this.getDatasetMeta(t),o=s.controller._resolveAnimations(void 0,a);_c(n)?(s.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(s,{visible:i}),this.update(l=>l.datasetIndex===t?a:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Hi.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,s,o),t[s]=o},a=(s,o,l)=>{s.offsetX=o,s.offsetY=l,this._eventHandler(s)};vt(this.options.events,s=>i(s,a))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,i=(r,c)=>{n.addEventListener(this,r,c),t[r]=c},a=(r,c)=>{t[r]&&(n.removeEventListener(this,r,c),delete t[r])},s=(r,c)=>{this.canvas&&this.resize(r,c)};let o;const l=()=>{a("attach",l),this.attached=!0,this.resize(),i("resize",s),i("detach",o)};o=()=>{this.attached=!1,a("resize",s),this._stop(),this._resize(0,0),i("attach",l)},n.isAttached(this.canvas)?l():o()}unbindEvents(){vt(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},vt(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,i){const a=i?"set":"remove";let s,o,l,r;for(n==="dataset"&&(s=this.getDatasetMeta(t[0].datasetIndex),s.controller["_"+a+"DatasetHoverStyle"]()),l=0,r=t.length;l{const l=this.getDatasetMeta(s);if(!l)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:l.data[o],index:o}});!yc(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(t,n,i){return this._plugins.notify(this,t,n,i)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,i){const a=this.options.hover,s=(r,c)=>r.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),o=s(n,t),l=i?t:s(t,n);o.length&&this.updateHoverStyle(o,a.mode,!1),l.length&&a.mode&&this.updateHoverStyle(l,a.mode,!0)}_eventHandler(t,n){const i={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},a=o=>(o.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",i,a)===!1)return;const s=this._handleEvent(t,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,a),(s||i.changed)&&this.render(),this}_handleEvent(t,n,i){const{_active:a=[],options:s}=this,o=n,l=this._getActiveElements(t,a,i,o),r=TV(t),c=ZT(t,this._lastEvent,i,r);i&&(this._lastEvent=null,Nt(s.onHover,[t,l,this],this),r&&Nt(s.onClick,[t,l,this],this));const u=!yc(l,a);return(u||n)&&(this._active=l,this._updateHoverStyles(l,a,n)),this._lastEvent=c,u}_getActiveElements(t,n,i,a){if(t.type==="mouseout")return[];if(!i)return n;const s=this.options.hover;return this.getElementsAtEventForMode(t,s.mode,s,a)}},He(va,"defaults",Ut),He(va,"instances",ic),He(va,"overrides",xs),He(va,"registry",Ci),He(va,"version",KT),He(va,"getChart",Dg),va);function Og(){return vt(uu.instances,e=>e._plugins.invalidate())}function QT(e,t,n){const{startAngle:i,pixelMargin:a,x:s,y:o,outerRadius:l,innerRadius:r}=t;let c=a/l;e.beginPath(),e.arc(s,o,l,i-c,n+c),r>a?(c=a/r,e.arc(s,o,r,n+c,i-c,!0)):e.arc(s,o,a,n+Wt,i-Wt),e.closePath(),e.clip()}function eM(e){return Ph(e,["outerStart","outerEnd","innerStart","innerEnd"])}function tM(e,t,n,i){const a=eM(e.options.borderRadius),s=(n-t)/2,o=Math.min(s,i*t/2),l=r=>{const c=(n-Math.min(s,r))*i/2;return ai(r,0,Math.min(s,c))};return{outerStart:l(a.outerStart),outerEnd:l(a.outerEnd),innerStart:ai(a.innerStart,0,o),innerEnd:ai(a.innerEnd,0,o)}}function Gs(e,t,n,i){return{x:n+e*Math.cos(t),y:i+e*Math.sin(t)}}function Vc(e,t,n,i,a,s){const{x:o,y:l,startAngle:r,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+i+n-c,0),f=u>0?u+i+n+c:0;let v=0;const m=a-r;if(i){const Y=u>0?u-i:0,K=d>0?d-i:0,J=(Y+K)/2,B=J!==0?m*J/(J+i):m;v=(m-B)/2}const g=Math.max(.001,m*d-n/zt)/d,p=(m-g)/2,y=r+p+v,b=a-p-v,{outerStart:S,outerEnd:_,innerStart:x,innerEnd:P}=tM(t,f,d,b-y),C=d-S,V=d-_,I=y+S/C,M=b-_/V,O=f+x,D=f+P,N=y+x/O,j=b-P/D;if(e.beginPath(),s){const Y=(I+M)/2;if(e.arc(o,l,d,I,Y),e.arc(o,l,d,Y,M),_>0){const G=Gs(V,M,o,l);e.arc(G.x,G.y,_,M,b+Wt)}const K=Gs(D,b,o,l);if(e.lineTo(K.x,K.y),P>0){const G=Gs(D,j,o,l);e.arc(G.x,G.y,P,b+Wt,j+Math.PI)}const J=(b-P/f+(y+x/f))/2;if(e.arc(o,l,f,b-P/f,J,!0),e.arc(o,l,f,J,y+x/f,!0),x>0){const G=Gs(O,N,o,l);e.arc(G.x,G.y,x,N+Math.PI,y-Wt)}const B=Gs(C,y,o,l);if(e.lineTo(B.x,B.y),S>0){const G=Gs(C,I,o,l);e.arc(G.x,G.y,S,y-Wt,I)}}else{e.moveTo(o,l);const Y=Math.cos(I)*d+o,K=Math.sin(I)*d+l;e.lineTo(Y,K);const J=Math.cos(M)*d+o,B=Math.sin(M)*d+l;e.lineTo(J,B)}e.closePath()}function nM(e,t,n,i,a){const{fullCircles:s,startAngle:o,circumference:l}=t;let r=t.endAngle;if(s){Vc(e,t,n,i,r,a);for(let c=0;c=$t||kc(o,r,c),p=LV(l,u+v,d+v);return g&&p}getCenterPoint(n){const{x:i,y:a,startAngle:s,endAngle:o,innerRadius:l,outerRadius:r}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:c,spacing:u}=this.options,d=(s+o)/2,f=(l+r+u+c)/2;return{x:i+Math.cos(d)*f,y:a+Math.sin(d)*f}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:i,circumference:a}=this,s=(i.offset||0)/4,o=(i.spacing||0)/2,l=i.circular;if(this.pixelMargin=i.borderAlign==="inner"?.33:0,this.fullCircles=a>$t?Math.floor(a/$t):0,a===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const r=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(r)*s,Math.sin(r)*s);const c=1-Math.sin(Math.min(zt,a||0)),u=s*c;n.fillStyle=i.backgroundColor,n.strokeStyle=i.borderColor,nM(n,this,u,o,l),iM(n,this,u,o,l),n.restore()}}He(sl,"id","arc"),He(sl,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),He(sl,"defaultRoutes",{backgroundColor:"backgroundColor"}),He(sl,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});class w_ extends or{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const a=Ot(i.text)?i.text.length:1;this._padding=Kn(i.padding);const s=a*Cn(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=s:this.width=s}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:i,bottom:a,right:s,options:o}=this,l=o.align;let r=0,c,u,d;return this.isHorizontal()?(u=pl(l,i,s),d=n+t,c=s-i):(o.position==="left"?(u=i+t,d=pl(l,a,n),r=zt*-.5):(u=s-t,d=pl(l,n,a),r=zt*.5),c=a-n),{titleX:u,titleY:d,maxWidth:c,rotation:r}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const i=Cn(n.font),s=i.lineHeight/2+this._padding.top,{titleX:o,titleY:l,maxWidth:r,rotation:c}=this._drawArgs(s);Bl(t,n.text,0,0,i,{color:n.color,maxWidth:r,rotation:c,textAlign:i_(n.align),textBaseline:"middle",translation:[o,l]})}}function aM(e,t){const n=new w_({ctx:e.ctx,options:t,chart:e});xa.configure(e,n,t),xa.addBox(e,n),e.titleBlock=n}var sM={id:"title",_element:w_,start(e,t,n){aM(e,n)},stop(e){const t=e.titleBlock;xa.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const i=e.titleBlock;xa.configure(e,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const ol={average(e){if(!e.length)return!1;let t,n,i=0,a=0,s=0;for(t=0,n=e.length;t-1?e.split(` -`):e}function oM(e,t){const{element:n,datasetIndex:i,index:a}=t,s=e.getDatasetMeta(i).controller,{label:o,value:l}=s.getLabelAndValue(a);return{chart:e,label:o,parsed:s.getParsed(a),raw:e.data.datasets[i].data[a],formattedValue:l,dataset:s.getDataset(),dataIndex:a,datasetIndex:i,element:n}}function Rg(e,t){const n=e.chart.ctx,{body:i,footer:a,title:s}=e,{boxWidth:o,boxHeight:l}=t,r=Cn(t.bodyFont),c=Cn(t.titleFont),u=Cn(t.footerFont),d=s.length,f=a.length,v=i.length,m=Kn(t.padding);let g=m.height,p=0,y=i.reduce((_,x)=>_+x.before.length+x.lines.length+x.after.length,0);if(y+=e.beforeBody.length+e.afterBody.length,d&&(g+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),y){const _=t.displayColors?Math.max(l,r.lineHeight):r.lineHeight;g+=v*_+(y-v)*r.lineHeight+(y-1)*t.bodySpacing}f&&(g+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let b=0;const S=function(_){p=Math.max(p,n.measureText(_).width+b)};return n.save(),n.font=c.string,vt(e.title,S),n.font=r.string,vt(e.beforeBody.concat(e.afterBody),S),b=t.displayColors?o+2+t.boxPadding:0,vt(i,_=>{vt(_.before,S),vt(_.lines,S),vt(_.after,S)}),b=0,n.font=u.string,vt(e.footer,S),n.restore(),p+=m.width,{width:p,height:g}}function lM(e,t){const{y:n,height:i}=t;return ne.height-i/2?"bottom":"center"}function rM(e,t,n,i){const{x:a,width:s}=i,o=n.caretSize+n.caretPadding;if(e==="left"&&a+s+o>t.width||e==="right"&&a-s-o<0)return!0}function cM(e,t,n,i){const{x:a,width:s}=n,{width:o,chartArea:{left:l,right:r}}=e;let c="center";return i==="center"?c=a<=(l+r)/2?"left":"right":a<=s/2?c="left":a>=o-s/2&&(c="right"),rM(c,e,t,n)&&(c="center"),c}function Lg(e,t,n){const i=n.yAlign||t.yAlign||lM(e,n);return{xAlign:n.xAlign||t.xAlign||cM(e,t,n,i),yAlign:i}}function uM(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function dM(e,t,n){let{y:i,height:a}=e;return t==="top"?i+=n:t==="bottom"?i-=a+n:i-=a/2,i}function Bg(e,t,n,i){const{caretSize:a,caretPadding:s,cornerRadius:o}=e,{xAlign:l,yAlign:r}=n,c=a+s,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:v}=_l(o);let m=uM(t,l);const g=dM(t,r,c);return r==="center"?l==="left"?m+=c:l==="right"&&(m-=c):l==="left"?m-=Math.max(u,f)+a:l==="right"&&(m+=Math.max(d,v)+a),{x:ai(m,0,i.width-t.width),y:ai(g,0,i.height-t.height)}}function jr(e,t,n){const i=Kn(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function Ng(e){return ki([],ji(e))}function fM(e,t,n){return Es(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Fg(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const k_={beforeTitle:$i,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex"u"?k_[t].call(n,i):a}class nf extends or{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,i=this.options.setContext(this.getContext()),a=i.enabled&&n.options.animation&&i.animations,s=new f_(this.chart,a);return a._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=fM(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,a=Dn(i,"beforeTitle",this,t),s=Dn(i,"title",this,t),o=Dn(i,"afterTitle",this,t);let l=[];return l=ki(l,ji(a)),l=ki(l,ji(s)),l=ki(l,ji(o)),l}getBeforeBody(t,n){return Ng(Dn(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:i}=n,a=[];return vt(t,s=>{const o={before:[],lines:[],after:[]},l=Fg(i,s);ki(o.before,ji(Dn(l,"beforeLabel",this,s))),ki(o.lines,Dn(l,"label",this,s)),ki(o.after,ji(Dn(l,"afterLabel",this,s))),a.push(o)}),a}getAfterBody(t,n){return Ng(Dn(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:i}=n,a=Dn(i,"beforeFooter",this,t),s=Dn(i,"footer",this,t),o=Dn(i,"afterFooter",this,t);let l=[];return l=ki(l,ji(a)),l=ki(l,ji(s)),l=ki(l,ji(o)),l}_createItems(t){const n=this._active,i=this.chart.data,a=[],s=[],o=[];let l=[],r,c;for(r=0,c=n.length;rt.filter(u,d,f,i))),t.itemSort&&(l=l.sort((u,d)=>t.itemSort(u,d,i))),vt(l,u=>{const d=Fg(t.callbacks,u);a.push(Dn(d,"labelColor",this,u)),s.push(Dn(d,"labelPointStyle",this,u)),o.push(Dn(d,"labelTextColor",this,u))}),this.labelColors=a,this.labelPointStyles=s,this.labelTextColors=o,this.dataPoints=l,l}update(t,n){const i=this.options.setContext(this.getContext()),a=this._active;let s,o=[];if(!a.length)this.opacity!==0&&(s={opacity:0});else{const l=ol[i.position].call(this,a,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const r=this._size=Rg(this,i),c=Object.assign({},l,r),u=Lg(this.chart,i,c),d=Bg(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,s={opacity:1,x:d.x,y:d.y,width:r.width,height:r.height,caretX:l.x,caretY:l.y}}this._tooltipItems=o,this.$context=void 0,s&&this._resolveAnimations().update(this,s),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,i,a){const s=this.getCaretPosition(t,i,a);n.lineTo(s.x1,s.y1),n.lineTo(s.x2,s.y2),n.lineTo(s.x3,s.y3)}getCaretPosition(t,n,i){const{xAlign:a,yAlign:s}=this,{caretSize:o,cornerRadius:l}=i,{topLeft:r,topRight:c,bottomLeft:u,bottomRight:d}=_l(l),{x:f,y:v}=t,{width:m,height:g}=n;let p,y,b,S,_,x;return s==="center"?(_=v+g/2,a==="left"?(p=f,y=p-o,S=_+o,x=_-o):(p=f+m,y=p+o,S=_-o,x=_+o),b=p):(a==="left"?y=f+Math.max(r,u)+o:a==="right"?y=f+m-Math.max(c,d)-o:y=this.caretX,s==="top"?(S=v,_=S-o,p=y-o,b=y+o):(S=v+g,_=S+o,p=y+o,b=y-o),x=S),{x1:p,x2:y,x3:b,y1:S,y2:_,y3:x}}drawTitle(t,n,i){const a=this.title,s=a.length;let o,l,r;if(s){const c=fd(i.rtl,this.x,this.width);for(t.x=jr(this,i.titleAlign,i),n.textAlign=c.textAlign(i.titleAlign),n.textBaseline="middle",o=Cn(i.titleFont),l=i.titleSpacing,n.fillStyle=i.titleColor,n.font=o.string,r=0;rb!==0)?(t.beginPath(),t.fillStyle=s.multiKeyBackground,Jd(t,{x:g,y:m,w:c,h:r,radius:y}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),Jd(t,{x:p,y:m+1,w:c-2,h:r-2,radius:y}),t.fill()):(t.fillStyle=s.multiKeyBackground,t.fillRect(g,m,c,r),t.strokeRect(g,m,c,r),t.fillStyle=o.backgroundColor,t.fillRect(p,m+1,c-2,r-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,n,i){const{body:a}=this,{bodySpacing:s,bodyAlign:o,displayColors:l,boxHeight:r,boxWidth:c,boxPadding:u}=i,d=Cn(i.bodyFont);let f=d.lineHeight,v=0;const m=fd(i.rtl,this.x,this.width),g=function(V){n.fillText(V,m.x(t.x+v),t.y+f/2),t.y+=f+s},p=m.textAlign(o);let y,b,S,_,x,P,C;for(n.textAlign=o,n.textBaseline="middle",n.font=d.string,t.x=jr(this,p,i),n.fillStyle=i.bodyColor,vt(this.beforeBody,g),v=l&&p!=="right"?o==="center"?c/2+u:c+2+u:0,_=0,P=a.length;_0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,i=this.$animations,a=i&&i.x,s=i&&i.y;if(a||s){const o=ol[t.position].call(this,this._active,this._eventPosition);if(!o)return;const l=this._size=Rg(this,t),r=Object.assign({},o,this._size),c=Lg(n,t,r),u=Bg(t,r,c,n);(a._to!==u.x||s._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=l.width,this.height=l.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const a={width:this.width,height:this.height},s={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=Kn(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(t.save(),t.globalAlpha=i,this.drawBackground(s,t,a,n),PA(t,n.textDirection),s.y+=o.top,this.drawTitle(s,t,n),this.drawBody(s,t,n),this.drawFooter(s,t,n),IA(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const i=this._active,a=t.map(({datasetIndex:l,index:r})=>{const c=this.chart.getDatasetMeta(l);if(!c)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:c.data[r],index:r}}),s=!yc(i,a),o=this._positionChanged(a,n);(s||o)&&(this._active=a,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const a=this.options,s=this._active||[],o=this._getActiveElements(t,s,n,i),l=this._positionChanged(o,t),r=n||!yc(o,s)||l;return r&&(this._active=o,(a.enabled||a.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),r}_getActiveElements(t,n,i,a){const s=this.options;if(t.type==="mouseout")return[];if(!a)return n.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const o=this.chart.getElementsAtEventForMode(t,s.mode,s,i);return s.reverse&&o.reverse(),o}_positionChanged(t,n){const{caretX:i,caretY:a,options:s}=this,o=ol[s.position].call(this,t,n);return o!==!1&&(i!==o.x||a!==o.y)}}He(nf,"positioners",ol);var hM={id:"tooltip",_element:nf,positioners:ol,afterInit(e,t,n){n&&(e.tooltip=new nf({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:k_},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function vM(e,t){const n=[],{bounds:a,step:s,min:o,max:l,precision:r,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=e,v=s||1,m=u-1,{min:g,max:p}=t,y=!Dt(o),b=!Dt(l),S=!Dt(c),_=(p-g)/(d+1);let x=qm((p-g)/m/v)*v,P,C,V,I;if(x<1e-14&&!y&&!b)return[{value:g},{value:p}];I=Math.ceil(p/x)-Math.floor(g/x),I>m&&(x=qm(I*x/m/v)*v),Dt(r)||(P=Math.pow(10,r),x=Math.ceil(x*P)/P),a==="ticks"?(C=Math.floor(g/x)*x,V=Math.ceil(p/x)*x):(C=g,V=p),y&&b&&s&&DV((l-o)/s,x/1e3)?(I=Math.round(Math.min((l-o)/x,u)),x=(l-o)/I,C=o,V=l):S?(C=y?o:C,V=b?l:V,I=c-1,x=(V-C)/I):(I=(V-C)/x,tc(I,Math.round(I),x/1e3)?I=Math.round(I):I=Math.ceil(I));const M=Math.max(Zm(x),Zm(C));P=Math.pow(10,Dt(r)?M:r),C=Math.round(C*P)/P,V=Math.round(V*P)/P;let O=0;for(y&&(f&&C!==o?(n.push({value:o}),Cl)break;n.push({value:D})}return b&&f&&V!==l?n.length&&tc(n[n.length-1].value,l,$g(l,_,e))?n[n.length-1].value=l:n.push({value:l}):(!b||V===l)&&n.push({value:V}),n}function $g(e,t,{horizontal:n,minRotation:i}){const a=Ai(i),s=(n?Math.sin(a):Math.cos(a))||.001,o=.75*t*(""+e).length;return Math.min(t/s,o)}class Ac extends Mo{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Dt(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:i}=this.getUserBounds();let{min:a,max:s}=this;const o=r=>a=n?a:r,l=r=>s=i?s:r;if(t){const r=Sc(a),c=Sc(s);r<0&&c<0?l(0):r>0&&c>0&&o(0)}if(a===s){let r=s===0?1:Math.abs(s*.05);l(s+r),t||o(a-r)}this.min=a,this.max=s}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=t,a;return i?(a=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,a>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${a} ticks. Limiting to 1000.`),a=1e3)):(a=this.computeTickLimit(),n=n||11),n&&(a=Math.min(n,a)),a}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const a={maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},s=this._range||this,o=vM(a,s);return t.bounds==="ticks"&&Jb(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const a=(i-n)/Math.max(t.length-1,1)/2;n-=a,i+=a}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(t){return lu(t,this.chart.options.locale,this.options.ticks.format)}}class zg extends Ac{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=un(t)?t:0,this.max=un(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,i=Ai(this.options.ticks.minRotation),a=(t?Math.sin(i):Math.cos(i))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,s.lineHeight/a))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}He(zg,"id","linear"),He(zg,"defaults",{ticks:{callback:ru.formatters.numeric}});const Fl=e=>Math.floor(_a(e)),es=(e,t)=>Math.pow(10,Fl(e)+t);function Hg(e){return e/Math.pow(10,Fl(e))===1}function jg(e,t,n){const i=Math.pow(10,n),a=Math.floor(e/i);return Math.ceil(t/i)-a}function mM(e,t){const n=t-e;let i=Fl(n);for(;jg(e,t,i)>10;)i++;for(;jg(e,t,i)<10;)i--;return Math.min(i,Fl(e))}function gM(e,{min:t,max:n}){t=Hn(e.min,t);const i=[],a=Fl(t);let s=mM(t,n),o=s<0?Math.pow(10,Math.abs(s)):1;const l=Math.pow(10,s),r=a>s?Math.pow(10,a):0,c=Math.round((t-r)*o)/o,u=Math.floor((t-r)/l/10)*l*10;let d=Math.floor((c-u)/Math.pow(10,s)),f=Hn(e.min,Math.round((r+u+d*Math.pow(10,s))*o)/o);for(;f=10?d=d<15?15:20:d++,d>=20&&(s++,d=2,o=s>=0?1:o),f=Math.round((r+u+d*Math.pow(10,s))*o)/o;const v=Hn(e.max,f);return i.push({value:v,major:Hg(v),significand:d}),i}class Wg extends Mo{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const i=Ac.prototype.parse.apply(this,[t,n]);if(i===0){this._zero=!0;return}return un(i)&&i>0?i:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=un(t)?Math.max(0,t):null,this.max=un(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!un(this._userMin)&&(this.min=t===es(this.min,0)?es(this.min,-1):es(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let i=this.min,a=this.max;const s=l=>i=t?i:l,o=l=>a=n?a:l;i===a&&(i<=0?(s(1),o(10)):(s(es(i,-1)),o(es(a,1)))),i<=0&&s(es(a,-1)),a<=0&&o(es(i,1)),this.min=i,this.max=a}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},i=gM(n,this);return t.bounds==="ticks"&&Jb(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(t){return t===void 0?"0":lu(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=_a(t),this._valueRange=_a(this.max)-_a(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(_a(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}He(Wg,"id","logarithmic"),He(Wg,"defaults",{ticks:{callback:ru.formatters.logarithmic,major:{enabled:!0}}});function af(e){const t=e.ticks;if(t.display&&e.display){const n=Kn(t.backdropPadding);return Rt(t.font&&t.font.size,Ut.font.size)+n.height}return 0}function pM(e,t,n){return n=Ot(n)?n:[n],{w:ZV(e,t.string,n),h:n.length*t.lineHeight}}function Ug(e,t,n,i,a){return e===i||e===a?{start:t-n/2,end:t+n/2}:ea?{start:t-n,end:t}:{start:t,end:t+n}}function yM(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),i=[],a=[],s=e._pointLabels.length,o=e.options.pointLabels,l=o.centerPointLabels?zt/s:0;for(let r=0;rt.r&&(l=(i.end-t.r)/s,e.r=Math.max(e.r,t.r+l)),a.startt.b&&(r=(a.end-t.b)/o,e.b=Math.max(e.b,t.b+r))}function _M(e,t,n){const i=e.drawingArea,{extra:a,additionalAngle:s,padding:o,size:l}=n,r=e.getPointPosition(t,i+a+o,s),c=Math.round(kh(Ii(r.angle+Wt))),u=CM(r.y,l.h,c),d=wM(c),f=kM(r.x,l.w,d);return{visible:!0,x:r.x,y:u,textAlign:d,left:f,top:u,right:f+l.w,bottom:u+l.h}}function xM(e,t){if(!t)return!0;const{left:n,top:i,right:a,bottom:s}=e;return!(io({x:n,y:i},t)||io({x:n,y:s},t)||io({x:a,y:i},t)||io({x:a,y:s},t))}function SM(e,t,n){const i=[],a=e._pointLabels.length,s=e.options,{centerPointLabels:o,display:l}=s.pointLabels,r={extra:af(s)/2,additionalAngle:o?zt/a:0};let c;for(let u=0;u270||n<90)&&(e-=t),e}function PM(e,t,n){const{left:i,top:a,right:s,bottom:o}=n,{backdropColor:l}=t;if(!Dt(l)){const r=_l(t.borderRadius),c=Kn(t.backdropPadding);e.fillStyle=l;const u=i-c.left,d=a-c.top,f=s-i+c.width,v=o-a+c.height;Object.values(r).some(m=>m!==0)?(e.beginPath(),Jd(e,{x:u,y:d,w:f,h:v,radius:r}),e.fill()):e.fillRect(u,d,f,v)}}function IM(e,t){const{ctx:n,options:{pointLabels:i}}=e;for(let a=t-1;a>=0;a--){const s=e._pointLabelItems[a];if(!s.visible)continue;const o=i.setContext(e.getPointLabelContext(a));PM(n,o,s);const l=Cn(o.font),{x:r,y:c,textAlign:u}=s;Bl(n,e._pointLabels[a],r,c+l.lineHeight/2,l,{color:o.color,textAlign:u,textBaseline:"middle"})}}function C_(e,t,n,i){const{ctx:a}=e;if(n)a.arc(e.xCenter,e.yCenter,t,0,$t);else{let s=e.getPointPosition(0,t);a.moveTo(s.x,s.y);for(let o=1;o{const a=Nt(this.options.pointLabels.callback,[n,i],this);return a||a===0?a:""}).filter((n,i)=>this.chart.getDataVisibility(i))}fit(){const t=this.options;t.display&&t.pointLabels.display?yM(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,i,a){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((i-a)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,i,a))}getIndexAngle(t){const n=$t/(this._pointLabels.length||1),i=this.options.startAngle||0;return Ii(t*n+Ai(i))}getDistanceFromCenterForValue(t){if(Dt(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(Dt(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(d!==0){r=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(d),v=a.setContext(f),m=s.setContext(f);VM(this,v,r,o,m)}}),i.display){for(t.save(),l=o-1;l>=0;l--){const u=i.setContext(this.getPointLabelContext(l)),{color:d,lineWidth:f}=u;!f||!d||(t.lineWidth=f,t.strokeStyle=d,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,r=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(l,r),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,i=n.ticks;if(!i.display)return;const a=this.getIndexAngle(0);let s,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((l,r)=>{if(r===0&&!n.reverse)return;const c=i.setContext(this.getContext(r)),u=Cn(c.font);if(s=this.getDistanceFromCenterForValue(this.ticks[r].value),c.showLabelBackdrop){t.font=u.string,o=t.measureText(l.label).width,t.fillStyle=c.backdropColor;const d=Kn(c.backdropPadding);t.fillRect(-o/2-d.left,-s-u.size/2-d.top,o+d.width,u.size+d.height)}Bl(t,l.label,0,-s,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}}He(Wr,"id","radialLinear"),He(Wr,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ru.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),He(Wr,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),He(Wr,"descriptors",{angleLines:{_fallback:"grid"}});const du={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Rn=Object.keys(du);function Yg(e,t){return e-t}function Kg(e,t){if(Dt(t))return null;const n=e._adapter,{parser:i,round:a,isoWeekday:s}=e._parseOpts;let o=t;return typeof i=="function"&&(o=i(o)),un(o)||(o=typeof i=="string"?n.parse(o,i):n.parse(o)),o===null?null:(a&&(o=a==="week"&&(wc(s)||s===!0)?n.startOf(o,"isoWeek",s):n.startOf(o,a)),+o)}function Gg(e,t,n,i){const a=Rn.length;for(let s=Rn.indexOf(e);s=Rn.indexOf(n);s--){const o=Rn[s];if(du[o].common&&e._adapter.diff(a,i,o)>=t-1)return o}return Rn[n?Rn.indexOf(n):0]}function MM(e){for(let t=Rn.indexOf(e)+1,n=Rn.length;t=t?n[i]:n[a];e[s]=!0}}function EM(e,t,n,i){const a=e._adapter,s=+a.startOf(t[0].value,i),o=t[t.length-1].value;let l,r;for(l=s;l<=o;l=+a.add(l,1,i))r=n[l],r>=0&&(t[r].major=!0);return t}function qg(e,t,n){const i=[],a={},s=t.length;let o,l;for(o=0;o+t.value))}initOffsets(t=[]){let n=0,i=0,a,s;this.options.offset&&t.length&&(a=this.getDecimalForValue(t[0]),t.length===1?n=1-a:n=(this.getDecimalForValue(t[1])-a)/2,s=this.getDecimalForValue(t[t.length-1]),t.length===1?i=s:i=(s-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=ai(n,0,o),i=ai(i,0,o),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const t=this._adapter,n=this.min,i=this.max,a=this.options,s=a.time,o=s.unit||Gg(s.minUnit,n,i,this._getLabelCapacity(n)),l=Rt(a.ticks.stepSize,1),r=o==="week"?s.isoWeekday:!1,c=wc(r)||r===!0,u={};let d=n,f,v;if(c&&(d=+t.startOf(d,"isoWeek",r)),d=+t.startOf(d,c?"day":o),t.diff(i,n,o)>1e5*l)throw new Error(n+" and "+i+" are too far apart with stepSize of "+l+" "+o);const m=a.ticks.source==="data"&&this.getDataTimestamps();for(f=d,v=0;f+g)}getLabelForValue(t){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(t,i.tooltipFormat):n.format(t,i.displayFormats.datetime)}format(t,n){const a=this.options.time.displayFormats,s=this._unit,o=n||a[s];return this._adapter.format(t,o)}_tickFormatFunction(t,n,i,a){const s=this.options,o=s.ticks.callback;if(o)return Nt(o,[t,n,i],this);const l=s.time.displayFormats,r=this._unit,c=this._majorUnit,u=r&&l[r],d=c&&l[c],f=i[n],v=c&&d&&f&&f.major;return this._adapter.format(t,a||(v?d:u))}generateTickLabels(t){let n,i,a;for(n=0,i=t.length;n0?l:1}getDataTimestamps(){let t=this._cache.data||[],n,i;if(t.length)return t;const a=this.getMatchingVisibleMetas();if(this._normalized&&a.length)return this._cache.data=a[0].controller.getAllParsedValues(this);for(n=0,i=a.length;n=e[i].pos&&t<=e[a].pos&&({lo:i,hi:a}=qd(e,"pos",t)),{pos:s,time:l}=e[i],{pos:o,time:r}=e[a]):(t>=e[i].time&&t<=e[a].time&&({lo:i,hi:a}=qd(e,"time",t)),{time:s,pos:l}=e[i],{time:o,pos:r}=e[a]);const c=o-s;return c?l+(r-l)*(t-s)/c:l}class Zg extends Tc{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=Ur(n,this.min),this._tableRange=Ur(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:i}=this,a=[],s=[];let o,l,r,c,u;for(o=0,l=t.length;o=n&&c<=i&&a.push(c);if(a.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(o=0,l=a.length;oa-s)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),i=this.getLabelTimestamps();return n.length&&i.length?t=this.normalize(n.concat(i)):t=n.length?n:i,t=this._cache.all=t,t}getDecimalForValue(t){return(Ur(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return Ur(this._table,i*this._tableRange+this._minPos,!0)}}He(Zg,"id","timeseries"),He(Zg,"defaults",Tc.defaults);const P_={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},DM={ariaLabel:{type:String},ariaDescribedby:{type:String}},OM={type:{type:String,required:!0},...P_,...DM},RM=dh[0]==="2"?(e,t)=>Object.assign(e,{attrs:t}):(e,t)=>Object.assign(e,t);function Xs(e){return Jl(e)?Ye(e):e}function LM(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return Jl(t)?new Proxy(e,{}):e}function BM(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function I_(e,t){e.labels=t}function V_(e,t,n){const i=[];e.datasets=t.map(a=>{const s=e.datasets.find(o=>o[n]===a[n]);return!s||!a.data||i.includes(s)?{...a}:(i.push(s),Object.assign(s,a),s)})}function NM(e,t){const n={labels:[],datasets:[]};return I_(n,e.labels),V_(n,e.datasets,t),n}const FM=La({props:OM,setup(e,t){let{expose:n,slots:i}=t;const a=Z(null),s=Se(null);n({chart:s});const o=()=>{if(!a.value)return;const{type:c,data:u,options:d,plugins:f,datasetIdKey:v}=e,m=NM(u,v),g=LM(m,u);s.value=new uu(a.value,{type:c,data:g,options:{...d},plugins:f})},l=()=>{const c=Ye(s.value);c&&(c.destroy(),s.value=null)},r=c=>{c.update(e.updateMode)};return _t(o),an(l),_e([()=>e.options,()=>e.data],(c,u)=>{let[d,f]=c,[v,m]=u;const g=Ye(s.value);if(!g)return;let p=!1;if(d){const y=Xs(d),b=Xs(v);y&&y!==b&&(BM(g,y),p=!0)}if(f){const y=Xs(f.labels),b=Xs(m.labels),S=Xs(f.datasets),_=Xs(m.datasets);y!==b&&(I_(g.config.data,y),p=!0),S&&S!==_&&(V_(g.config.data,S,e.datasetIdKey),p=!0)}p&&Ze(()=>{r(g)})},{deep:!0}),()=>Fn("canvas",{role:"img",ariaLabel:e.ariaLabel,ariaDescribedby:e.ariaDescribedby,ref:a},[Fn("p",{},[i.default?i.default():""])])}});function $M(e,t){return uu.register(t),La({props:P_,setup(n,i){let{expose:a}=i;const s=Se(null),o=l=>{s.value=l==null?void 0:l.chart};return a({chart:s}),()=>Fn(FM,RM({ref:o},{type:e,...n}))}})}const zM=$M("pie",Qd);const HM={class:"row gx-0 mb-1 mb-md-3 mb-xl-4"},jM={class:"col-12 col-xl-5 col-xxl-4 d-flex"},WM={class:"chart-wrapper"},UM={class:"col-12 col-xl-7 col-xxl-8 d-flex pt-3"},YM={class:"row gy-1 gy-xl-3 gx-md-5 items-wrapper"},KM={class:"col-12 col-sm-6 item-container"},GM={__name:"InfoPie",props:{items:Array},setup(e){const t=e;uu.register(sM,hM,sl);const n={responsive:!0,maintainAspectRatio:!1,animation:!1,plugins:{tooltip:{callbacks:{label:(a,s)=>" "+Math.round(a.parsed)+"% "}}}},i=w(()=>{const a={labels:[],datasets:[{data:[],backgroundColor:[]}]},s=t.items.reduce((l,r)=>{const c=r.locales.title,u=r.value;return a.labels.push(c),l+u},0),o=a.datasets[0];return t.items.forEach((l,r)=>{const c=l.value,u=Math.round(c*100/s);o.data.push(u),o.backgroundColor.push(l.customColor)}),a});return(a,s)=>(me(),Te("div",HM,[be("div",jM,[be("div",WM,[h(Je(zM),{class:"chart",data:i.value,options:n},null,8,["data"])])]),be("div",UM,[be("div",YM,[(me(!0),Te(Pe,null,At(t.items,o=>(me(),Te("div",KM,[h(bh,{item:o,"highlighted-header":!1,"small-description":!0,"description-with-progress-bar":!1,"icon-color-style":"customColor"},null,8,["item"])]))),256))])])]))}},XM=at(GM,[["__scopeId","data-v-437f703f"]]);const qM={class:"info-row row gx-4 gx-xl-5"},ZM={class:"col-12 subcategory-col"},JM={__name:"InfoSection",props:{sectionData:Object},setup(e){const t=e,n=Oi(),i=To(),a=Ba(),s={grid:tV,pie:XM,list:Hm,fallback:Hm},o=i.getStylePreferencesForPlugins(),l=c=>{const u=c.type;return s[u]||s.fallback},r=c=>{const u=t.sectionData.content.items[c.id];let d=0;for(const f of u)if(f.customColor=o.colors.random[d],d++,c.progress){const v=f.value,m=c.progress,g=a.parsePercentage(v,m);f.formattedPercentage=typeof m!="string"?n.getString(g):g}return u};return(c,u)=>(me(),Tt(yo,{"section-data":t.sectionData},{default:se(()=>[be("div",qM,[(me(!0),Te(Pe,null,At(t.sectionData.content.subcategories.filter(d=>d.id==="abilities"),d=>(me(),Te("div",ZM,[d.locales.title?(me(),Tt(Ub,{key:0,title:d.locales.title,"fa-icon":d.faIcon},null,8,["title","fa-icon"])):kt("",!0),(me(),Tt(qc(l(d)),{items:r(d)},null,8,["items"]))]))),256))])]),_:1},8,["section-data"]))}},QM=at(JM,[["__scopeId","data-v-15744d8c"]]);const eE={class:"tags"},tE=["innerHTML"],nE={__name:"Tags",props:{items:Array,itemClass:String},setup(e){const t=e,n=w(()=>t.itemClass?t.itemClass:"bg-light text-dark");return(i,a)=>(me(),Te("div",eE,[(me(!0),Te(Pe,null,At(t.items,s=>(me(),Te("div",{class:xt(["tag badge text-1",n.value])},[s.faIcon?(me(),Te("i",{key:0,class:xt([s.faIcon,"me-2"])},null,2)):kt("",!0),be("span",{innerHTML:s.label||s},null,8,tE)],2))),256))]))}},A_=at(nE,[["__scopeId","data-v-233bbf6e"]]);const T_=e=>(Oa("data-v-85240ad3"),e=e(),Ra(),e),iE={class:"thread"},aE={class:"thread-item"},sE=T_(()=>be("span",{class:"fa fa-stack thread-icon"},[be("i",{class:"fa fa-circle fa-stack-1x"})],-1)),oE={class:"thread-item-content"},lE={class:"thread-item-title fw-bold pt-1 mb-1"},rE=["innerHTML"],cE=T_(()=>be("li",{class:"thread-item thread-item-end"},[be("span",{class:"fa fa-stack thread-icon thread-icon-small"},[be("i",{class:"fa fa-circle fa-stack-1x"})])],-1)),uE={__name:"Thread",props:{items:Array,linkLabel:String},setup(e){const t=e,n=ir(),i=Ba(),a=w(()=>i.reverseArray(t.items)),s=o=>{const l=o.place;return[{faIcon:"fa fa-calendar-check",label:i.localizeDate(o.date,n.getSelectedLanguage().id)},{faIcon:l.faIcon?l.faIcon:"fa fa-building",label:l.locales?l.locales.name:l}]};return(o,l)=>(me(),Te("ul",iE,[(me(!0),Te(Pe,null,At(a.value,r=>(me(),Te("li",aE,[sE,be("div",oE,[be("h6",lE,wt(r.locales.title),1),h(A_,{items:s(r),class:"mt-1 mb-2 mt-lg-2"},null,8,["items"]),be("p",{innerHTML:r.locales.description,class:"thread-item-description text-3 text-normal mb-1 mb-md-2"},null,8,rE)])]))),256)),cE]))}},dE=at(uE,[["__scopeId","data-v-85240ad3"]]);const fE={class:"row g-4 g-lg-5"},hE={class:"col-12 col-xxl-6 thread-container"},vE={__name:"ThreadsSection",props:{sectionData:Object},setup(e){const t=e;return(n,i)=>(me(),Tt(yo,{"section-data":t.sectionData},{default:se(()=>[be("div",fE,[(me(!0),Te(Pe,null,At(t.sectionData.content.subcategories,a=>(me(),Te("div",hE,[h(Ub,{title:a.locales.title,"fa-icon":a.faIcon},null,8,["title","fa-icon"]),h(dE,{items:t.sectionData.content.items[a.id],"link-label":a.locales.buttonLabel},null,8,["items","link-label"])]))),256))])]),_:1},8,["section-data"]))}},mE=at(vE,[["__scopeId","data-v-09ad8a41"]]);const M_=e=>(Oa("data-v-5ab2d325"),e=e(),Ra(),e),gE={class:"timeline"},pE={class:"timeline-item"},yE={class:"timeline-item-content"},bE={class:"timeline-item-content-header"},_E={class:"flex-column-title"},xE=["innerHTML"],SE={class:"timeline-item-subtitle text-light-6 text-3"},wE=M_(()=>be("i",{class:"fa-solid fa-building me-2 ms-2"},null,-1)),kE={class:"flex-column-date"},CE={class:"timeline-item-content-body mt-3"},PE=["innerHTML"],IE=M_(()=>be("li",{class:"timeline-item timeline-item-tail"},[be("div",{class:"timeline-item-logo"})],-1)),VE={__name:"TimelineSection",props:{sectionData:Object},setup(e){const t=ir(),n=Ba(),i=e,a=w(()=>n.reverseArray(i.sectionData.content.items)),s=o=>{const l=o.period,r=n.localizeDate(l[0],t.getSelectedLanguage().id),c=n.localizeDate(l[1],t.getSelectedLanguage().id);return[{faIcon:"fa fa-calendar-check",label:r+' '+c}]};return(o,l)=>(me(),Tt(yo,{"section-data":i.sectionData},{default:se(()=>[be("ul",gE,[(me(!0),Te(Pe,null,At(a.value,r=>(me(),Te("li",pE,[be("div",{class:xt(["timeline-item-logo",{"timeline-item-logo-bg-primary":!(r.place&&r.place.logoUrl)}])},[be("i",{class:xt(["timeline-item-fa-icon","fa-solid"])})],2),be("div",yE,[be("div",bE,[be("div",_E,[be("h4",{class:"timeline-item-title fw-bold",innerHTML:r.locales.title},null,8,xE),be("h6",SE,[wE,be("span",null,wt(r.place?r.place:""),1)])]),be("div",kE,[h(A_,{items:s(r),class:"mt-1 me-1"},null,8,["items"])])]),be("div",CE,[be("p",{class:"text-3 text-normal",innerHTML:r.locales.description},null,8,PE)])])]))),256)),IE])]),_:1},8,["section-data"]))}},AE=at(VE,[["__scopeId","data-v-5ab2d325"]]);const TE={class:"resume"},ME={class:"sidebar-column"},EE={class:"content-column"},DE={class:"nav-tabs-column"},OE={__name:"RouterView",setup(e){const t=Oi(),n=Na(),i=To(),a=ir(),s=_P(),o=ph(),l={},r={DefaultSection:yo,CoverSection:PI,InfoSection:QM,ThreadsSection:mE,TimelineSection:AE},c=m=>r[m]?r[m]:yo;_t(()=>{window.addEventListener("resize",u),window.addEventListener("scroll",u),_e(()=>s.name,()=>{u()}),_e(()=>a.getSelectedLanguage(),()=>{d()}),u(),n.isAllAtOnceMode()&&i.smoothScrollToElement(s.name,!0)}),Ms(()=>{window.removeEventListener("resize",u),window.removeEventListener("scroll",u)});const u=()=>{n.update(s.name)},d=()=>{const m=n.getActiveSectionId();n.isAllAtOnceMode()&&(i.instantScrollTo(window.scrollY-100,!0),i.smoothScrollToElement(m,!0))},f=m=>{if(n.registerSectionVisit(m),n.isAllAtOnceMode()){i.smoothScrollToElement(m,!1);return}const g=s.name;l[g]=window.scrollY,o.push({name:m}),n.update(g),i.instantScrollTo(l[m]??0,!0)},v=m=>{const g=n.getLastVisitedSectionOn(m);f(g)};return(m,g)=>(me(),Te("div",TE,[be("div",ME,[h(jP,{onLinkClicked:f})]),be("div",EE,[h(QP,{onLinkClicked:f}),(me(!0),Te(Pe,null,At(Je(t).getSections(),p=>(me(),Tt(qc(c(p.component)),{"section-data":p},null,8,["section-data"]))),256))]),be("div",DE,[h(sI,{onLinkClicked:v})])]))}},Jg=at(OE,[["__scopeId","data-v-77f976fb"]]);const RE={name:"App",data(){return{email:"",password:"",confirmPassword:"",isRegister:!1,errorMessage:"",stateObj:{register:{name:"Register",message:"Already have an Account? Login."},login:{name:"Login",message:"Register"}},rules:{emailRules:[e=>!!e||"E-mail is required",e=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i.test(e)||"Must be a valid e-mail"]}}},methods:{validateEmailFormat(){for(let e of this.rules.emailRules){const t=e(this.email);if(t!==!0)return this.errorMessage=t,!1}return!0},login(){const e={email:this.email,password:this.password};this.validateEmailFormat()&&fetch("http://127.0.0.1:3033/login",{method:"POST",body:JSON.stringify(e),headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*"},credentials:"include"}).then(t=>t.json()).then(async t=>{if(t.status===200){console.log("Login successful"),console.log(t),sessionStorage.setItem("access_token",t.access_token),sessionStorage.setItem("refresh_token",t.refresh_token);try{const i=await(await fetch("http://127.0.0.1:3033/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:this.email})})).json();i.status!==200&&console.error("Error fetching user resume: ",i.message),this.$router.push({path:"/home"}).then(()=>window.location.reload(!0))}catch(n){console.error("Error fetching user resume: ",n)}}else this.errorMessage="Login failed. Please try again."}).catch(t=>{console.error("There was an error!",t),this.errorMessage=t.message||"An error occurred. Please try again."})},register(){if(this.password===this.confirmPassword){const e={email:this.email,password:this.password};fetch("http://127.0.0.1:3033/register",{method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(e)}).then(t=>{if(!t.ok)throw new Error("Network response was not ok");return t.json()}).then(t=>{t.message==="Register successful"?(console.log("Registration successful"),sessionStorage.setItem("access_token",t.access_token),sessionStorage.setItem("refresh_token",t.refresh_token),this.$router.push("/edit")):this.errorMessage=t.message||"Registration failed. Please try again."}).catch(t=>{console.error("Registration error:",t),this.errorMessage=t.message||"An error occurred during registration."}),this.isRegister=!1,this.$refs.form.reset()}else this.errorMessage="Passwords did not match"}},computed:{toggleMessage:function(){return this.isRegister?this.stateObj.register.message:this.stateObj.login.message}}},LE={class:"red--text"};function BE(e,t,n,i,a,s){const o=Ce("v-col"),l=Ce("v-row"),r=Ce("v-img"),c=Ce("v-toolbar-title"),u=Ce("v-toolbar"),d=Ce("v-text-field"),f=Ce("v-btn"),v=Ce("v-card-text"),m=Ce("v-card"),g=Ce("v-container"),p=Ce("v-main"),y=Ce("v-app");return me(),Tt(y,{class:"background-image"},{default:se(()=>[h(p,null,{default:se(()=>[h(g,{"fill-height":""},{default:se(()=>[h(l,{justify:"center",align:"center"},{default:se(()=>[h(o,{cols:"12",sm:"8",md:"4"},{default:se(()=>[(me(),Te(Pe,null,At(11,b=>h(l,{key:"row-"+b,justify:"center",align:"center"},{default:se(()=>[(me(),Te(Pe,null,At(3,S=>h(o,{key:S,justify:"center",align:"center"})),64))]),_:2},1024)),64)),h(r,{class:"my-image",src:"images/background/icon.png"})]),_:1}),(me(),Te(Pe,null,At(1,b=>h(o,{key:"col-"+b,justify:"center",align:"center"})),64)),h(o,{cols:"12",sm:"8",md:"4"},{default:se(()=>[(me(),Te(Pe,null,At(11,b=>h(l,{key:"row-"+b,justify:"center",align:"center"},{default:se(()=>[(me(),Te(Pe,null,At(3,S=>h(o,{key:S,justify:"center",align:"center"})),64))]),_:2},1024)),64)),h(m,{class:"elevation-12"},{default:se(()=>[h(u,{class:"toolbar-banner"},{default:se(()=>[h(c,{class:"toolbar-title"},{default:se(()=>[Xe(wt(a.isRegister?a.stateObj.register.name+" for ":a.stateObj.login.name+" to ")+" Res-a-Me",1)]),_:1})]),_:1}),h(v,null,{default:se(()=>[be("form",{ref:"form",onSubmit:t[4]||(t[4]=El(b=>a.isRegister?s.register():s.login(),["prevent"]))},[h(d,{modelValue:a.email,"onUpdate:modelValue":t[0]||(t[0]=b=>a.email=b),rules:[a.rules.emailRules],label:"email",required:""},null,8,["modelValue","rules"]),h(d,{modelValue:a.password,"onUpdate:modelValue":t[1]||(t[1]=b=>a.password=b),label:"Password",type:"password",required:""},null,8,["modelValue"]),a.isRegister?(me(),Tt(d,{key:0,modelValue:a.confirmPassword,"onUpdate:modelValue":t[2]||(t[2]=b=>a.confirmPassword=b),label:"Confirm Password",type:"password",required:""},null,8,["modelValue"])):kt("",!0),be("div",LE,wt(a.errorMessage),1),h(f,{type:"submit",class:"mt-4 toolbar-banner",block:"",style:{color:"white"}},{default:se(()=>[Xe(wt(a.isRegister?a.stateObj.register.name:a.stateObj.login.name),1)]),_:1}),h(l,{justify:"center"},{default:se(()=>[h(o,{cols:"12",class:"text-center"},{default:se(()=>[be("div",{class:"grey--text mt-4 yellow-text",onClick:t[3]||(t[3]=b=>{a.isRegister=!a.isRegister})},wt(s.toggleMessage),1)]),_:1})]),_:1})],544)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const NE=at(RE,[["render",BE],["__scopeId","data-v-6de96eb5"]]);const FE={props:["skills"],setup(e,{emit:t}){return{deleteSkill:s=>{s!=-1&&t("delete-skill",s)},addNew:()=>{t("add-skill")},saveSkill:s=>{let o=!0;s.forEach((l,r)=>{(!l.title||!l.description)&&(o=!1)}),o?(alert("Your Skill information has been saved!"),t("save-skill",s)):confirm("Some fields may be incorrect. Please check!")}}}},$E=be("p",{class:"titletext",style:{"font-weight":"500"}},"Skill Set",-1),zE={class:"d-flex justify-center"};function HE(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[$E,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-arrow-up-bold-box-outline"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.skills,(m,g)=>(me(),Te("div",{key:g},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"2"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>!!m.title||"This field is required"],counter:20,label:"Skill"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"9"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>!!m.description||"This field is required"],counter:200,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{class:"button-container"},{default:se(()=>[h(d,{color:"red-lighten-2",onClick:p=>i.deleteSkill(g),class:"mb-4"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",zE,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNew())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{color:"green",class:"ml-5",onClick:t[1]||(t[1]=m=>i.saveSkill(n.skills))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const jE=at(FE,[["render",HE]]);var WE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function UE(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),n}var E_={};const YE=UE(vC);var D_={exports:{}};/*! +`):e}function oM(e,t){const{element:n,datasetIndex:i,index:a}=t,s=e.getDatasetMeta(i).controller,{label:o,value:l}=s.getLabelAndValue(a);return{chart:e,label:o,parsed:s.getParsed(a),raw:e.data.datasets[i].data[a],formattedValue:l,dataset:s.getDataset(),dataIndex:a,datasetIndex:i,element:n}}function Rg(e,t){const n=e.chart.ctx,{body:i,footer:a,title:s}=e,{boxWidth:o,boxHeight:l}=t,r=Cn(t.bodyFont),c=Cn(t.titleFont),u=Cn(t.footerFont),d=s.length,f=a.length,v=i.length,m=Kn(t.padding);let g=m.height,p=0,y=i.reduce((_,x)=>_+x.before.length+x.lines.length+x.after.length,0);if(y+=e.beforeBody.length+e.afterBody.length,d&&(g+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),y){const _=t.displayColors?Math.max(l,r.lineHeight):r.lineHeight;g+=v*_+(y-v)*r.lineHeight+(y-1)*t.bodySpacing}f&&(g+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let b=0;const S=function(_){p=Math.max(p,n.measureText(_).width+b)};return n.save(),n.font=c.string,vt(e.title,S),n.font=r.string,vt(e.beforeBody.concat(e.afterBody),S),b=t.displayColors?o+2+t.boxPadding:0,vt(i,_=>{vt(_.before,S),vt(_.lines,S),vt(_.after,S)}),b=0,n.font=u.string,vt(e.footer,S),n.restore(),p+=m.width,{width:p,height:g}}function lM(e,t){const{y:n,height:i}=t;return ne.height-i/2?"bottom":"center"}function rM(e,t,n,i){const{x:a,width:s}=i,o=n.caretSize+n.caretPadding;if(e==="left"&&a+s+o>t.width||e==="right"&&a-s-o<0)return!0}function cM(e,t,n,i){const{x:a,width:s}=n,{width:o,chartArea:{left:l,right:r}}=e;let c="center";return i==="center"?c=a<=(l+r)/2?"left":"right":a<=s/2?c="left":a>=o-s/2&&(c="right"),rM(c,e,t,n)&&(c="center"),c}function Lg(e,t,n){const i=n.yAlign||t.yAlign||lM(e,n);return{xAlign:n.xAlign||t.xAlign||cM(e,t,n,i),yAlign:i}}function uM(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function dM(e,t,n){let{y:i,height:a}=e;return t==="top"?i+=n:t==="bottom"?i-=a+n:i-=a/2,i}function Bg(e,t,n,i){const{caretSize:a,caretPadding:s,cornerRadius:o}=e,{xAlign:l,yAlign:r}=n,c=a+s,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:v}=_l(o);let m=uM(t,l);const g=dM(t,r,c);return r==="center"?l==="left"?m+=c:l==="right"&&(m-=c):l==="left"?m-=Math.max(u,f)+a:l==="right"&&(m+=Math.max(d,v)+a),{x:ai(m,0,i.width-t.width),y:ai(g,0,i.height-t.height)}}function jr(e,t,n){const i=Kn(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function Ng(e){return ki([],ji(e))}function fM(e,t,n){return Es(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Fg(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const k_={beforeTitle:$i,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex"u"?k_[t].call(n,i):a}class nf extends or{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,i=this.options.setContext(this.getContext()),a=i.enabled&&n.options.animation&&i.animations,s=new f_(this.chart,a);return a._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=fM(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,a=Dn(i,"beforeTitle",this,t),s=Dn(i,"title",this,t),o=Dn(i,"afterTitle",this,t);let l=[];return l=ki(l,ji(a)),l=ki(l,ji(s)),l=ki(l,ji(o)),l}getBeforeBody(t,n){return Ng(Dn(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:i}=n,a=[];return vt(t,s=>{const o={before:[],lines:[],after:[]},l=Fg(i,s);ki(o.before,ji(Dn(l,"beforeLabel",this,s))),ki(o.lines,Dn(l,"label",this,s)),ki(o.after,ji(Dn(l,"afterLabel",this,s))),a.push(o)}),a}getAfterBody(t,n){return Ng(Dn(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:i}=n,a=Dn(i,"beforeFooter",this,t),s=Dn(i,"footer",this,t),o=Dn(i,"afterFooter",this,t);let l=[];return l=ki(l,ji(a)),l=ki(l,ji(s)),l=ki(l,ji(o)),l}_createItems(t){const n=this._active,i=this.chart.data,a=[],s=[],o=[];let l=[],r,c;for(r=0,c=n.length;rt.filter(u,d,f,i))),t.itemSort&&(l=l.sort((u,d)=>t.itemSort(u,d,i))),vt(l,u=>{const d=Fg(t.callbacks,u);a.push(Dn(d,"labelColor",this,u)),s.push(Dn(d,"labelPointStyle",this,u)),o.push(Dn(d,"labelTextColor",this,u))}),this.labelColors=a,this.labelPointStyles=s,this.labelTextColors=o,this.dataPoints=l,l}update(t,n){const i=this.options.setContext(this.getContext()),a=this._active;let s,o=[];if(!a.length)this.opacity!==0&&(s={opacity:0});else{const l=ol[i.position].call(this,a,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const r=this._size=Rg(this,i),c=Object.assign({},l,r),u=Lg(this.chart,i,c),d=Bg(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,s={opacity:1,x:d.x,y:d.y,width:r.width,height:r.height,caretX:l.x,caretY:l.y}}this._tooltipItems=o,this.$context=void 0,s&&this._resolveAnimations().update(this,s),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,i,a){const s=this.getCaretPosition(t,i,a);n.lineTo(s.x1,s.y1),n.lineTo(s.x2,s.y2),n.lineTo(s.x3,s.y3)}getCaretPosition(t,n,i){const{xAlign:a,yAlign:s}=this,{caretSize:o,cornerRadius:l}=i,{topLeft:r,topRight:c,bottomLeft:u,bottomRight:d}=_l(l),{x:f,y:v}=t,{width:m,height:g}=n;let p,y,b,S,_,x;return s==="center"?(_=v+g/2,a==="left"?(p=f,y=p-o,S=_+o,x=_-o):(p=f+m,y=p+o,S=_-o,x=_+o),b=p):(a==="left"?y=f+Math.max(r,u)+o:a==="right"?y=f+m-Math.max(c,d)-o:y=this.caretX,s==="top"?(S=v,_=S-o,p=y-o,b=y+o):(S=v+g,_=S+o,p=y+o,b=y-o),x=S),{x1:p,x2:y,x3:b,y1:S,y2:_,y3:x}}drawTitle(t,n,i){const a=this.title,s=a.length;let o,l,r;if(s){const c=fd(i.rtl,this.x,this.width);for(t.x=jr(this,i.titleAlign,i),n.textAlign=c.textAlign(i.titleAlign),n.textBaseline="middle",o=Cn(i.titleFont),l=i.titleSpacing,n.fillStyle=i.titleColor,n.font=o.string,r=0;rb!==0)?(t.beginPath(),t.fillStyle=s.multiKeyBackground,Jd(t,{x:g,y:m,w:c,h:r,radius:y}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),Jd(t,{x:p,y:m+1,w:c-2,h:r-2,radius:y}),t.fill()):(t.fillStyle=s.multiKeyBackground,t.fillRect(g,m,c,r),t.strokeRect(g,m,c,r),t.fillStyle=o.backgroundColor,t.fillRect(p,m+1,c-2,r-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,n,i){const{body:a}=this,{bodySpacing:s,bodyAlign:o,displayColors:l,boxHeight:r,boxWidth:c,boxPadding:u}=i,d=Cn(i.bodyFont);let f=d.lineHeight,v=0;const m=fd(i.rtl,this.x,this.width),g=function(V){n.fillText(V,m.x(t.x+v),t.y+f/2),t.y+=f+s},p=m.textAlign(o);let y,b,S,_,x,P,C;for(n.textAlign=o,n.textBaseline="middle",n.font=d.string,t.x=jr(this,p,i),n.fillStyle=i.bodyColor,vt(this.beforeBody,g),v=l&&p!=="right"?o==="center"?c/2+u:c+2+u:0,_=0,P=a.length;_0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,i=this.$animations,a=i&&i.x,s=i&&i.y;if(a||s){const o=ol[t.position].call(this,this._active,this._eventPosition);if(!o)return;const l=this._size=Rg(this,t),r=Object.assign({},o,this._size),c=Lg(n,t,r),u=Bg(t,r,c,n);(a._to!==u.x||s._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=l.width,this.height=l.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const a={width:this.width,height:this.height},s={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=Kn(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(t.save(),t.globalAlpha=i,this.drawBackground(s,t,a,n),PA(t,n.textDirection),s.y+=o.top,this.drawTitle(s,t,n),this.drawBody(s,t,n),this.drawFooter(s,t,n),IA(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const i=this._active,a=t.map(({datasetIndex:l,index:r})=>{const c=this.chart.getDatasetMeta(l);if(!c)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:c.data[r],index:r}}),s=!yc(i,a),o=this._positionChanged(a,n);(s||o)&&(this._active=a,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const a=this.options,s=this._active||[],o=this._getActiveElements(t,s,n,i),l=this._positionChanged(o,t),r=n||!yc(o,s)||l;return r&&(this._active=o,(a.enabled||a.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),r}_getActiveElements(t,n,i,a){const s=this.options;if(t.type==="mouseout")return[];if(!a)return n.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const o=this.chart.getElementsAtEventForMode(t,s.mode,s,i);return s.reverse&&o.reverse(),o}_positionChanged(t,n){const{caretX:i,caretY:a,options:s}=this,o=ol[s.position].call(this,t,n);return o!==!1&&(i!==o.x||a!==o.y)}}He(nf,"positioners",ol);var hM={id:"tooltip",_element:nf,positioners:ol,afterInit(e,t,n){n&&(e.tooltip=new nf({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:k_},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function vM(e,t){const n=[],{bounds:a,step:s,min:o,max:l,precision:r,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=e,v=s||1,m=u-1,{min:g,max:p}=t,y=!Dt(o),b=!Dt(l),S=!Dt(c),_=(p-g)/(d+1);let x=qm((p-g)/m/v)*v,P,C,V,I;if(x<1e-14&&!y&&!b)return[{value:g},{value:p}];I=Math.ceil(p/x)-Math.floor(g/x),I>m&&(x=qm(I*x/m/v)*v),Dt(r)||(P=Math.pow(10,r),x=Math.ceil(x*P)/P),a==="ticks"?(C=Math.floor(g/x)*x,V=Math.ceil(p/x)*x):(C=g,V=p),y&&b&&s&&DV((l-o)/s,x/1e3)?(I=Math.round(Math.min((l-o)/x,u)),x=(l-o)/I,C=o,V=l):S?(C=y?o:C,V=b?l:V,I=c-1,x=(V-C)/I):(I=(V-C)/x,tc(I,Math.round(I),x/1e3)?I=Math.round(I):I=Math.ceil(I));const M=Math.max(Zm(x),Zm(C));P=Math.pow(10,Dt(r)?M:r),C=Math.round(C*P)/P,V=Math.round(V*P)/P;let O=0;for(y&&(f&&C!==o?(n.push({value:o}),Cl)break;n.push({value:D})}return b&&f&&V!==l?n.length&&tc(n[n.length-1].value,l,$g(l,_,e))?n[n.length-1].value=l:n.push({value:l}):(!b||V===l)&&n.push({value:V}),n}function $g(e,t,{horizontal:n,minRotation:i}){const a=Ai(i),s=(n?Math.sin(a):Math.cos(a))||.001,o=.75*t*(""+e).length;return Math.min(t/s,o)}class Ac extends Mo{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Dt(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:i}=this.getUserBounds();let{min:a,max:s}=this;const o=r=>a=n?a:r,l=r=>s=i?s:r;if(t){const r=Sc(a),c=Sc(s);r<0&&c<0?l(0):r>0&&c>0&&o(0)}if(a===s){let r=s===0?1:Math.abs(s*.05);l(s+r),t||o(a-r)}this.min=a,this.max=s}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=t,a;return i?(a=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,a>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${a} ticks. Limiting to 1000.`),a=1e3)):(a=this.computeTickLimit(),n=n||11),n&&(a=Math.min(n,a)),a}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const a={maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},s=this._range||this,o=vM(a,s);return t.bounds==="ticks"&&Jb(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const a=(i-n)/Math.max(t.length-1,1)/2;n-=a,i+=a}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(t){return lu(t,this.chart.options.locale,this.options.ticks.format)}}class zg extends Ac{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=un(t)?t:0,this.max=un(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,i=Ai(this.options.ticks.minRotation),a=(t?Math.sin(i):Math.cos(i))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,s.lineHeight/a))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}He(zg,"id","linear"),He(zg,"defaults",{ticks:{callback:ru.formatters.numeric}});const Fl=e=>Math.floor(_a(e)),es=(e,t)=>Math.pow(10,Fl(e)+t);function Hg(e){return e/Math.pow(10,Fl(e))===1}function jg(e,t,n){const i=Math.pow(10,n),a=Math.floor(e/i);return Math.ceil(t/i)-a}function mM(e,t){const n=t-e;let i=Fl(n);for(;jg(e,t,i)>10;)i++;for(;jg(e,t,i)<10;)i--;return Math.min(i,Fl(e))}function gM(e,{min:t,max:n}){t=Hn(e.min,t);const i=[],a=Fl(t);let s=mM(t,n),o=s<0?Math.pow(10,Math.abs(s)):1;const l=Math.pow(10,s),r=a>s?Math.pow(10,a):0,c=Math.round((t-r)*o)/o,u=Math.floor((t-r)/l/10)*l*10;let d=Math.floor((c-u)/Math.pow(10,s)),f=Hn(e.min,Math.round((r+u+d*Math.pow(10,s))*o)/o);for(;f=10?d=d<15?15:20:d++,d>=20&&(s++,d=2,o=s>=0?1:o),f=Math.round((r+u+d*Math.pow(10,s))*o)/o;const v=Hn(e.max,f);return i.push({value:v,major:Hg(v),significand:d}),i}class Wg extends Mo{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const i=Ac.prototype.parse.apply(this,[t,n]);if(i===0){this._zero=!0;return}return un(i)&&i>0?i:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=un(t)?Math.max(0,t):null,this.max=un(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!un(this._userMin)&&(this.min=t===es(this.min,0)?es(this.min,-1):es(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let i=this.min,a=this.max;const s=l=>i=t?i:l,o=l=>a=n?a:l;i===a&&(i<=0?(s(1),o(10)):(s(es(i,-1)),o(es(a,1)))),i<=0&&s(es(a,-1)),a<=0&&o(es(i,1)),this.min=i,this.max=a}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},i=gM(n,this);return t.bounds==="ticks"&&Jb(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(t){return t===void 0?"0":lu(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=_a(t),this._valueRange=_a(this.max)-_a(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(_a(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}He(Wg,"id","logarithmic"),He(Wg,"defaults",{ticks:{callback:ru.formatters.logarithmic,major:{enabled:!0}}});function af(e){const t=e.ticks;if(t.display&&e.display){const n=Kn(t.backdropPadding);return Rt(t.font&&t.font.size,Ut.font.size)+n.height}return 0}function pM(e,t,n){return n=Ot(n)?n:[n],{w:ZV(e,t.string,n),h:n.length*t.lineHeight}}function Ug(e,t,n,i,a){return e===i||e===a?{start:t-n/2,end:t+n/2}:ea?{start:t-n,end:t}:{start:t,end:t+n}}function yM(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),i=[],a=[],s=e._pointLabels.length,o=e.options.pointLabels,l=o.centerPointLabels?zt/s:0;for(let r=0;rt.r&&(l=(i.end-t.r)/s,e.r=Math.max(e.r,t.r+l)),a.startt.b&&(r=(a.end-t.b)/o,e.b=Math.max(e.b,t.b+r))}function _M(e,t,n){const i=e.drawingArea,{extra:a,additionalAngle:s,padding:o,size:l}=n,r=e.getPointPosition(t,i+a+o,s),c=Math.round(kh(Ii(r.angle+Wt))),u=CM(r.y,l.h,c),d=wM(c),f=kM(r.x,l.w,d);return{visible:!0,x:r.x,y:u,textAlign:d,left:f,top:u,right:f+l.w,bottom:u+l.h}}function xM(e,t){if(!t)return!0;const{left:n,top:i,right:a,bottom:s}=e;return!(io({x:n,y:i},t)||io({x:n,y:s},t)||io({x:a,y:i},t)||io({x:a,y:s},t))}function SM(e,t,n){const i=[],a=e._pointLabels.length,s=e.options,{centerPointLabels:o,display:l}=s.pointLabels,r={extra:af(s)/2,additionalAngle:o?zt/a:0};let c;for(let u=0;u270||n<90)&&(e-=t),e}function PM(e,t,n){const{left:i,top:a,right:s,bottom:o}=n,{backdropColor:l}=t;if(!Dt(l)){const r=_l(t.borderRadius),c=Kn(t.backdropPadding);e.fillStyle=l;const u=i-c.left,d=a-c.top,f=s-i+c.width,v=o-a+c.height;Object.values(r).some(m=>m!==0)?(e.beginPath(),Jd(e,{x:u,y:d,w:f,h:v,radius:r}),e.fill()):e.fillRect(u,d,f,v)}}function IM(e,t){const{ctx:n,options:{pointLabels:i}}=e;for(let a=t-1;a>=0;a--){const s=e._pointLabelItems[a];if(!s.visible)continue;const o=i.setContext(e.getPointLabelContext(a));PM(n,o,s);const l=Cn(o.font),{x:r,y:c,textAlign:u}=s;Bl(n,e._pointLabels[a],r,c+l.lineHeight/2,l,{color:o.color,textAlign:u,textBaseline:"middle"})}}function C_(e,t,n,i){const{ctx:a}=e;if(n)a.arc(e.xCenter,e.yCenter,t,0,$t);else{let s=e.getPointPosition(0,t);a.moveTo(s.x,s.y);for(let o=1;o{const a=Nt(this.options.pointLabels.callback,[n,i],this);return a||a===0?a:""}).filter((n,i)=>this.chart.getDataVisibility(i))}fit(){const t=this.options;t.display&&t.pointLabels.display?yM(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,i,a){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((i-a)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,i,a))}getIndexAngle(t){const n=$t/(this._pointLabels.length||1),i=this.options.startAngle||0;return Ii(t*n+Ai(i))}getDistanceFromCenterForValue(t){if(Dt(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(Dt(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(d!==0){r=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(d),v=a.setContext(f),m=s.setContext(f);VM(this,v,r,o,m)}}),i.display){for(t.save(),l=o-1;l>=0;l--){const u=i.setContext(this.getPointLabelContext(l)),{color:d,lineWidth:f}=u;!f||!d||(t.lineWidth=f,t.strokeStyle=d,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,r=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(l,r),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,i=n.ticks;if(!i.display)return;const a=this.getIndexAngle(0);let s,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((l,r)=>{if(r===0&&!n.reverse)return;const c=i.setContext(this.getContext(r)),u=Cn(c.font);if(s=this.getDistanceFromCenterForValue(this.ticks[r].value),c.showLabelBackdrop){t.font=u.string,o=t.measureText(l.label).width,t.fillStyle=c.backdropColor;const d=Kn(c.backdropPadding);t.fillRect(-o/2-d.left,-s-u.size/2-d.top,o+d.width,u.size+d.height)}Bl(t,l.label,0,-s,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}}He(Wr,"id","radialLinear"),He(Wr,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ru.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),He(Wr,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),He(Wr,"descriptors",{angleLines:{_fallback:"grid"}});const du={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Rn=Object.keys(du);function Yg(e,t){return e-t}function Kg(e,t){if(Dt(t))return null;const n=e._adapter,{parser:i,round:a,isoWeekday:s}=e._parseOpts;let o=t;return typeof i=="function"&&(o=i(o)),un(o)||(o=typeof i=="string"?n.parse(o,i):n.parse(o)),o===null?null:(a&&(o=a==="week"&&(wc(s)||s===!0)?n.startOf(o,"isoWeek",s):n.startOf(o,a)),+o)}function Gg(e,t,n,i){const a=Rn.length;for(let s=Rn.indexOf(e);s=Rn.indexOf(n);s--){const o=Rn[s];if(du[o].common&&e._adapter.diff(a,i,o)>=t-1)return o}return Rn[n?Rn.indexOf(n):0]}function MM(e){for(let t=Rn.indexOf(e)+1,n=Rn.length;t=t?n[i]:n[a];e[s]=!0}}function EM(e,t,n,i){const a=e._adapter,s=+a.startOf(t[0].value,i),o=t[t.length-1].value;let l,r;for(l=s;l<=o;l=+a.add(l,1,i))r=n[l],r>=0&&(t[r].major=!0);return t}function qg(e,t,n){const i=[],a={},s=t.length;let o,l;for(o=0;o+t.value))}initOffsets(t=[]){let n=0,i=0,a,s;this.options.offset&&t.length&&(a=this.getDecimalForValue(t[0]),t.length===1?n=1-a:n=(this.getDecimalForValue(t[1])-a)/2,s=this.getDecimalForValue(t[t.length-1]),t.length===1?i=s:i=(s-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=ai(n,0,o),i=ai(i,0,o),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const t=this._adapter,n=this.min,i=this.max,a=this.options,s=a.time,o=s.unit||Gg(s.minUnit,n,i,this._getLabelCapacity(n)),l=Rt(a.ticks.stepSize,1),r=o==="week"?s.isoWeekday:!1,c=wc(r)||r===!0,u={};let d=n,f,v;if(c&&(d=+t.startOf(d,"isoWeek",r)),d=+t.startOf(d,c?"day":o),t.diff(i,n,o)>1e5*l)throw new Error(n+" and "+i+" are too far apart with stepSize of "+l+" "+o);const m=a.ticks.source==="data"&&this.getDataTimestamps();for(f=d,v=0;f+g)}getLabelForValue(t){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(t,i.tooltipFormat):n.format(t,i.displayFormats.datetime)}format(t,n){const a=this.options.time.displayFormats,s=this._unit,o=n||a[s];return this._adapter.format(t,o)}_tickFormatFunction(t,n,i,a){const s=this.options,o=s.ticks.callback;if(o)return Nt(o,[t,n,i],this);const l=s.time.displayFormats,r=this._unit,c=this._majorUnit,u=r&&l[r],d=c&&l[c],f=i[n],v=c&&d&&f&&f.major;return this._adapter.format(t,a||(v?d:u))}generateTickLabels(t){let n,i,a;for(n=0,i=t.length;n0?l:1}getDataTimestamps(){let t=this._cache.data||[],n,i;if(t.length)return t;const a=this.getMatchingVisibleMetas();if(this._normalized&&a.length)return this._cache.data=a[0].controller.getAllParsedValues(this);for(n=0,i=a.length;n=e[i].pos&&t<=e[a].pos&&({lo:i,hi:a}=qd(e,"pos",t)),{pos:s,time:l}=e[i],{pos:o,time:r}=e[a]):(t>=e[i].time&&t<=e[a].time&&({lo:i,hi:a}=qd(e,"time",t)),{time:s,pos:l}=e[i],{time:o,pos:r}=e[a]);const c=o-s;return c?l+(r-l)*(t-s)/c:l}class Zg extends Tc{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=Ur(n,this.min),this._tableRange=Ur(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:i}=this,a=[],s=[];let o,l,r,c,u;for(o=0,l=t.length;o=n&&c<=i&&a.push(c);if(a.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(o=0,l=a.length;oa-s)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),i=this.getLabelTimestamps();return n.length&&i.length?t=this.normalize(n.concat(i)):t=n.length?n:i,t=this._cache.all=t,t}getDecimalForValue(t){return(Ur(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return Ur(this._table,i*this._tableRange+this._minPos,!0)}}He(Zg,"id","timeseries"),He(Zg,"defaults",Tc.defaults);const P_={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},DM={ariaLabel:{type:String},ariaDescribedby:{type:String}},OM={type:{type:String,required:!0},...P_,...DM},RM=dh[0]==="2"?(e,t)=>Object.assign(e,{attrs:t}):(e,t)=>Object.assign(e,t);function Xs(e){return Jl(e)?Ye(e):e}function LM(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return Jl(t)?new Proxy(e,{}):e}function BM(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function I_(e,t){e.labels=t}function V_(e,t,n){const i=[];e.datasets=t.map(a=>{const s=e.datasets.find(o=>o[n]===a[n]);return!s||!a.data||i.includes(s)?{...a}:(i.push(s),Object.assign(s,a),s)})}function NM(e,t){const n={labels:[],datasets:[]};return I_(n,e.labels),V_(n,e.datasets,t),n}const FM=La({props:OM,setup(e,t){let{expose:n,slots:i}=t;const a=Z(null),s=Se(null);n({chart:s});const o=()=>{if(!a.value)return;const{type:c,data:u,options:d,plugins:f,datasetIdKey:v}=e,m=NM(u,v),g=LM(m,u);s.value=new uu(a.value,{type:c,data:g,options:{...d},plugins:f})},l=()=>{const c=Ye(s.value);c&&(c.destroy(),s.value=null)},r=c=>{c.update(e.updateMode)};return _t(o),an(l),_e([()=>e.options,()=>e.data],(c,u)=>{let[d,f]=c,[v,m]=u;const g=Ye(s.value);if(!g)return;let p=!1;if(d){const y=Xs(d),b=Xs(v);y&&y!==b&&(BM(g,y),p=!0)}if(f){const y=Xs(f.labels),b=Xs(m.labels),S=Xs(f.datasets),_=Xs(m.datasets);y!==b&&(I_(g.config.data,y),p=!0),S&&S!==_&&(V_(g.config.data,S,e.datasetIdKey),p=!0)}p&&Ze(()=>{r(g)})},{deep:!0}),()=>Fn("canvas",{role:"img",ariaLabel:e.ariaLabel,ariaDescribedby:e.ariaDescribedby,ref:a},[Fn("p",{},[i.default?i.default():""])])}});function $M(e,t){return uu.register(t),La({props:P_,setup(n,i){let{expose:a}=i;const s=Se(null),o=l=>{s.value=l==null?void 0:l.chart};return a({chart:s}),()=>Fn(FM,RM({ref:o},{type:e,...n}))}})}const zM=$M("pie",Qd);const HM={class:"row gx-0 mb-1 mb-md-3 mb-xl-4"},jM={class:"col-12 col-xl-5 col-xxl-4 d-flex"},WM={class:"chart-wrapper"},UM={class:"col-12 col-xl-7 col-xxl-8 d-flex pt-3"},YM={class:"row gy-1 gy-xl-3 gx-md-5 items-wrapper"},KM={class:"col-12 col-sm-6 item-container"},GM={__name:"InfoPie",props:{items:Array},setup(e){const t=e;uu.register(sM,hM,sl);const n={responsive:!0,maintainAspectRatio:!1,animation:!1,plugins:{tooltip:{callbacks:{label:(a,s)=>" "+Math.round(a.parsed)+"% "}}}},i=w(()=>{const a={labels:[],datasets:[{data:[],backgroundColor:[]}]},s=t.items.reduce((l,r)=>{const c=r.locales.title,u=r.value;return a.labels.push(c),l+u},0),o=a.datasets[0];return t.items.forEach((l,r)=>{const c=l.value,u=Math.round(c*100/s);o.data.push(u),o.backgroundColor.push(l.customColor)}),a});return(a,s)=>(me(),Te("div",HM,[be("div",jM,[be("div",WM,[h(Je(zM),{class:"chart",data:i.value,options:n},null,8,["data"])])]),be("div",UM,[be("div",YM,[(me(!0),Te(Pe,null,At(t.items,o=>(me(),Te("div",KM,[h(bh,{item:o,"highlighted-header":!1,"small-description":!0,"description-with-progress-bar":!1,"icon-color-style":"customColor"},null,8,["item"])]))),256))])])]))}},XM=at(GM,[["__scopeId","data-v-437f703f"]]);const qM={class:"info-row row gx-4 gx-xl-5"},ZM={class:"col-12 subcategory-col"},JM={__name:"InfoSection",props:{sectionData:Object},setup(e){const t=e,n=Oi(),i=To(),a=Ba(),s={grid:tV,pie:XM,list:Hm,fallback:Hm},o=i.getStylePreferencesForPlugins(),l=c=>{const u=c.type;return s[u]||s.fallback},r=c=>{const u=t.sectionData.content.items[c.id];let d=0;for(const f of u)if(f.customColor=o.colors.random[d],d++,c.progress){const v=f.value,m=c.progress,g=a.parsePercentage(v,m);f.formattedPercentage=typeof m!="string"?n.getString(g):g}return u};return(c,u)=>(me(),Tt(yo,{"section-data":t.sectionData},{default:se(()=>[be("div",qM,[(me(!0),Te(Pe,null,At(t.sectionData.content.subcategories.filter(d=>d.id==="abilities"),d=>(me(),Te("div",ZM,[d.locales.title?(me(),Tt(Ub,{key:0,title:d.locales.title,"fa-icon":d.faIcon},null,8,["title","fa-icon"])):kt("",!0),(me(),Tt(qc(l(d)),{items:r(d)},null,8,["items"]))]))),256))])]),_:1},8,["section-data"]))}},QM=at(JM,[["__scopeId","data-v-15744d8c"]]);const eE={class:"tags"},tE=["innerHTML"],nE={__name:"Tags",props:{items:Array,itemClass:String},setup(e){const t=e,n=w(()=>t.itemClass?t.itemClass:"bg-light text-dark");return(i,a)=>(me(),Te("div",eE,[(me(!0),Te(Pe,null,At(t.items,s=>(me(),Te("div",{class:xt(["tag badge text-1",n.value])},[s.faIcon?(me(),Te("i",{key:0,class:xt([s.faIcon,"me-2"])},null,2)):kt("",!0),be("span",{innerHTML:s.label||s},null,8,tE)],2))),256))]))}},A_=at(nE,[["__scopeId","data-v-233bbf6e"]]);const T_=e=>(Oa("data-v-85240ad3"),e=e(),Ra(),e),iE={class:"thread"},aE={class:"thread-item"},sE=T_(()=>be("span",{class:"fa fa-stack thread-icon"},[be("i",{class:"fa fa-circle fa-stack-1x"})],-1)),oE={class:"thread-item-content"},lE={class:"thread-item-title fw-bold pt-1 mb-1"},rE=["innerHTML"],cE=T_(()=>be("li",{class:"thread-item thread-item-end"},[be("span",{class:"fa fa-stack thread-icon thread-icon-small"},[be("i",{class:"fa fa-circle fa-stack-1x"})])],-1)),uE={__name:"Thread",props:{items:Array,linkLabel:String},setup(e){const t=e,n=ir(),i=Ba(),a=w(()=>i.reverseArray(t.items)),s=o=>{const l=o.place;return[{faIcon:"fa fa-calendar-check",label:i.localizeDate(o.date,n.getSelectedLanguage().id)},{faIcon:l.faIcon?l.faIcon:"fa fa-building",label:l.locales?l.locales.name:l}]};return(o,l)=>(me(),Te("ul",iE,[(me(!0),Te(Pe,null,At(a.value,r=>(me(),Te("li",aE,[sE,be("div",oE,[be("h6",lE,wt(r.locales.title),1),h(A_,{items:s(r),class:"mt-1 mb-2 mt-lg-2"},null,8,["items"]),be("p",{innerHTML:r.locales.description,class:"thread-item-description text-3 text-normal mb-1 mb-md-2"},null,8,rE)])]))),256)),cE]))}},dE=at(uE,[["__scopeId","data-v-85240ad3"]]);const fE={class:"row g-4 g-lg-5"},hE={class:"col-12 col-xxl-6 thread-container"},vE={__name:"ThreadsSection",props:{sectionData:Object},setup(e){const t=e;return(n,i)=>(me(),Tt(yo,{"section-data":t.sectionData},{default:se(()=>[be("div",fE,[(me(!0),Te(Pe,null,At(t.sectionData.content.subcategories,a=>(me(),Te("div",hE,[h(Ub,{title:a.locales.title,"fa-icon":a.faIcon},null,8,["title","fa-icon"]),h(dE,{items:t.sectionData.content.items[a.id],"link-label":a.locales.buttonLabel},null,8,["items","link-label"])]))),256))])]),_:1},8,["section-data"]))}},mE=at(vE,[["__scopeId","data-v-09ad8a41"]]);const M_=e=>(Oa("data-v-5ab2d325"),e=e(),Ra(),e),gE={class:"timeline"},pE={class:"timeline-item"},yE={class:"timeline-item-content"},bE={class:"timeline-item-content-header"},_E={class:"flex-column-title"},xE=["innerHTML"],SE={class:"timeline-item-subtitle text-light-6 text-3"},wE=M_(()=>be("i",{class:"fa-solid fa-building me-2 ms-2"},null,-1)),kE={class:"flex-column-date"},CE={class:"timeline-item-content-body mt-3"},PE=["innerHTML"],IE=M_(()=>be("li",{class:"timeline-item timeline-item-tail"},[be("div",{class:"timeline-item-logo"})],-1)),VE={__name:"TimelineSection",props:{sectionData:Object},setup(e){const t=ir(),n=Ba(),i=e,a=w(()=>n.reverseArray(i.sectionData.content.items)),s=o=>{const l=o.period,r=n.localizeDate(l[0],t.getSelectedLanguage().id),c=n.localizeDate(l[1],t.getSelectedLanguage().id);return[{faIcon:"fa fa-calendar-check",label:r+' '+c}]};return(o,l)=>(me(),Tt(yo,{"section-data":i.sectionData},{default:se(()=>[be("ul",gE,[(me(!0),Te(Pe,null,At(a.value,r=>(me(),Te("li",pE,[be("div",{class:xt(["timeline-item-logo",{"timeline-item-logo-bg-primary":!(r.place&&r.place.logoUrl)}])},[be("i",{class:xt(["timeline-item-fa-icon","fa-solid"])})],2),be("div",yE,[be("div",bE,[be("div",_E,[be("h4",{class:"timeline-item-title fw-bold",innerHTML:r.locales.title},null,8,xE),be("h6",SE,[wE,be("span",null,wt(r.place?r.place:""),1)])]),be("div",kE,[h(A_,{items:s(r),class:"mt-1 me-1"},null,8,["items"])])]),be("div",CE,[be("p",{class:"text-3 text-normal",innerHTML:r.locales.description},null,8,PE)])])]))),256)),IE])]),_:1},8,["section-data"]))}},AE=at(VE,[["__scopeId","data-v-5ab2d325"]]);const TE={class:"resume"},ME={class:"sidebar-column"},EE={class:"content-column"},DE={class:"nav-tabs-column"},OE={__name:"RouterView",setup(e){const t=Oi(),n=Na(),i=To(),a=ir(),s=_P(),o=ph(),l={},r={DefaultSection:yo,CoverSection:PI,InfoSection:QM,ThreadsSection:mE,TimelineSection:AE},c=m=>r[m]?r[m]:yo;_t(()=>{window.addEventListener("resize",u),window.addEventListener("scroll",u),_e(()=>s.name,()=>{u()}),_e(()=>a.getSelectedLanguage(),()=>{d()}),u(),n.isAllAtOnceMode()&&i.smoothScrollToElement(s.name,!0)}),Ms(()=>{window.removeEventListener("resize",u),window.removeEventListener("scroll",u)});const u=()=>{n.update(s.name)},d=()=>{const m=n.getActiveSectionId();n.isAllAtOnceMode()&&(i.instantScrollTo(window.scrollY-100,!0),i.smoothScrollToElement(m,!0))},f=m=>{if(n.registerSectionVisit(m),n.isAllAtOnceMode()){i.smoothScrollToElement(m,!1);return}const g=s.name;l[g]=window.scrollY,o.push({name:m}),n.update(g),i.instantScrollTo(l[m]??0,!0)},v=m=>{const g=n.getLastVisitedSectionOn(m);f(g)};return(m,g)=>(me(),Te("div",TE,[be("div",ME,[h(jP,{onLinkClicked:f})]),be("div",EE,[h(QP,{onLinkClicked:f}),(me(!0),Te(Pe,null,At(Je(t).getSections(),p=>(me(),Tt(qc(c(p.component)),{"section-data":p},null,8,["section-data"]))),256))]),be("div",DE,[h(sI,{onLinkClicked:v})])]))}},Jg=at(OE,[["__scopeId","data-v-77f976fb"]]);const RE={name:"App",data(){return{email:"",password:"",confirmPassword:"",isRegister:!1,errorMessage:"",stateObj:{register:{name:"Register",message:"Already have an Account? Login."},login:{name:"Login",message:"Register"}},rules:{emailRules:[e=>!!e||"E-mail is required",e=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i.test(e)||"Must be a valid e-mail"]}}},methods:{validateEmailFormat(){for(let e of this.rules.emailRules){const t=e(this.email);if(t!==!0)return this.errorMessage=t,!1}return!0},login(){const e={email:this.email,password:this.password};this.validateEmailFormat()&&fetch("https://res-a-me.resilientdb.com/login",{method:"POST",body:JSON.stringify(e),headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*"},credentials:"include"}).then(t=>t.json()).then(async t=>{if(t.status===200){console.log("Login successful"),console.log(t),sessionStorage.setItem("access_token",t.access_token),sessionStorage.setItem("refresh_token",t.refresh_token);try{const i=await(await fetch("https://res-a-me.resilientdb.com/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:this.email})})).json();i.status!==200&&console.error("Error fetching user resume: ",i.message),this.$router.push({path:"/home"}).then(()=>window.location.reload(!0))}catch(n){console.error("Error fetching user resume: ",n)}}else this.errorMessage="Login failed. Please try again."}).catch(t=>{console.error("There was an error!",t),this.errorMessage=t.message||"An error occurred. Please try again."})},register(){if(this.password===this.confirmPassword){const e={email:this.email,password:this.password};fetch("https://res-a-me.resilientdb.com/register",{method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(e)}).then(t=>{if(!t.ok)throw new Error("Network response was not ok");return t.json()}).then(t=>{t.message==="Register successful"?(console.log("Registration successful"),sessionStorage.setItem("access_token",t.access_token),sessionStorage.setItem("refresh_token",t.refresh_token),this.$router.push("/edit")):this.errorMessage=t.message||"Registration failed. Please try again."}).catch(t=>{console.error("Registration error:",t),this.errorMessage=t.message||"An error occurred during registration."}),this.isRegister=!1,this.$refs.form.reset()}else this.errorMessage="Passwords did not match"}},computed:{toggleMessage:function(){return this.isRegister?this.stateObj.register.message:this.stateObj.login.message}}},LE={class:"red--text"};function BE(e,t,n,i,a,s){const o=Ce("v-col"),l=Ce("v-row"),r=Ce("v-img"),c=Ce("v-toolbar-title"),u=Ce("v-toolbar"),d=Ce("v-text-field"),f=Ce("v-btn"),v=Ce("v-card-text"),m=Ce("v-card"),g=Ce("v-container"),p=Ce("v-main"),y=Ce("v-app");return me(),Tt(y,{class:"background-image"},{default:se(()=>[h(p,null,{default:se(()=>[h(g,{"fill-height":""},{default:se(()=>[h(l,{justify:"center",align:"center"},{default:se(()=>[h(o,{cols:"12",sm:"8",md:"4"},{default:se(()=>[(me(),Te(Pe,null,At(11,b=>h(l,{key:"row-"+b,justify:"center",align:"center"},{default:se(()=>[(me(),Te(Pe,null,At(3,S=>h(o,{key:S,justify:"center",align:"center"})),64))]),_:2},1024)),64)),h(r,{class:"my-image",src:"images/background/icon.png"})]),_:1}),(me(),Te(Pe,null,At(1,b=>h(o,{key:"col-"+b,justify:"center",align:"center"})),64)),h(o,{cols:"12",sm:"8",md:"4"},{default:se(()=>[(me(),Te(Pe,null,At(11,b=>h(l,{key:"row-"+b,justify:"center",align:"center"},{default:se(()=>[(me(),Te(Pe,null,At(3,S=>h(o,{key:S,justify:"center",align:"center"})),64))]),_:2},1024)),64)),h(m,{class:"elevation-12"},{default:se(()=>[h(u,{class:"toolbar-banner"},{default:se(()=>[h(c,{class:"toolbar-title"},{default:se(()=>[Xe(wt(a.isRegister?a.stateObj.register.name+" for ":a.stateObj.login.name+" to ")+" Res-a-Me",1)]),_:1})]),_:1}),h(v,null,{default:se(()=>[be("form",{ref:"form",onSubmit:t[4]||(t[4]=El(b=>a.isRegister?s.register():s.login(),["prevent"]))},[h(d,{modelValue:a.email,"onUpdate:modelValue":t[0]||(t[0]=b=>a.email=b),rules:[a.rules.emailRules],label:"email",required:""},null,8,["modelValue","rules"]),h(d,{modelValue:a.password,"onUpdate:modelValue":t[1]||(t[1]=b=>a.password=b),label:"Password",type:"password",required:""},null,8,["modelValue"]),a.isRegister?(me(),Tt(d,{key:0,modelValue:a.confirmPassword,"onUpdate:modelValue":t[2]||(t[2]=b=>a.confirmPassword=b),label:"Confirm Password",type:"password",required:""},null,8,["modelValue"])):kt("",!0),be("div",LE,wt(a.errorMessage),1),h(f,{type:"submit",class:"mt-4 toolbar-banner",block:"",style:{color:"white"}},{default:se(()=>[Xe(wt(a.isRegister?a.stateObj.register.name:a.stateObj.login.name),1)]),_:1}),h(l,{justify:"center"},{default:se(()=>[h(o,{cols:"12",class:"text-center"},{default:se(()=>[be("div",{class:"grey--text mt-4 yellow-text",onClick:t[3]||(t[3]=b=>{a.isRegister=!a.isRegister})},wt(s.toggleMessage),1)]),_:1})]),_:1})],544)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const NE=at(RE,[["render",BE],["__scopeId","data-v-3c05e757"]]);const FE={props:["skills"],setup(e,{emit:t}){return{deleteSkill:s=>{s!=-1&&t("delete-skill",s)},addNew:()=>{t("add-skill")},saveSkill:s=>{let o=!0;s.forEach((l,r)=>{(!l.title||!l.description)&&(o=!1)}),o?(alert("Your Skill information has been saved!"),t("save-skill",s)):confirm("Some fields may be incorrect. Please check!")}}}},$E=be("p",{class:"titletext",style:{"font-weight":"500"}},"Skill Set",-1),zE={class:"d-flex justify-center"};function HE(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[$E,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-arrow-up-bold-box-outline"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.skills,(m,g)=>(me(),Te("div",{key:g},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"2"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>!!m.title||"This field is required"],counter:20,label:"Skill"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"9"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>!!m.description||"This field is required"],counter:200,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{class:"button-container"},{default:se(()=>[h(d,{color:"red-lighten-2",onClick:p=>i.deleteSkill(g),class:"mb-4"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",zE,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNew())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{color:"green",class:"ml-5",onClick:t[1]||(t[1]=m=>i.saveSkill(n.skills))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const jE=at(FE,[["render",HE]]);var WE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function UE(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),n}var E_={};const YE=UE(v1);var D_={exports:{}};/*! * Cropper.js v1.6.1 * https://fengyuanchen.github.io/cropperjs * @@ -28,7 +28,7 @@ var rw=Object.defineProperty;var cw=(e,t,n)=>t in e?rw(e,t,{enumerable:!0,config * * Date: 2023-09-17T03:44:19.860Z */(function(e,t){(function(n,i){e.exports=i()})(WE,function(){function n(L,k){var T=Object.keys(L);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(L);k&&(A=A.filter(function(H){return Object.getOwnPropertyDescriptor(L,H).enumerable})),T.push.apply(T,A)}return T}function i(L){for(var k=1;kL.length)&&(k=L.length);for(var T=0,A=new Array(k);T
',gr=Number.isNaN||b.isNaN;function ze(L){return typeof L=="number"&&!gr(L)}var $n=function(k){return k>0&&k<1/0};function $s(L){return typeof L>"u"}function Ua(L){return a(L)==="object"&&L!==null}var RS=Object.prototype.hasOwnProperty;function zs(L){if(!Ua(L))return!1;try{var k=L.constructor,T=k.prototype;return k&&T&&RS.call(T,"isPrototypeOf")}catch{return!1}}function Tn(L){return typeof L=="function"}var LS=Array.prototype.slice;function wv(L){return Array.from?Array.from(L):LS.call(L)}function Gt(L,k){return L&&Tn(k)&&(Array.isArray(L)||ze(L.length)?wv(L).forEach(function(T,A){k.call(L,T,A,L)}):Ua(L)&&Object.keys(L).forEach(function(T){k.call(L,L[T],T,L)})),L}var It=Object.assign||function(k){for(var T=arguments.length,A=new Array(T>1?T-1:0),H=1;H0&&A.forEach(function($){Ua($)&&Object.keys($).forEach(function(z){k[z]=$[z]})}),k},BS=/\.\d*(?:0|9){12}\d*$/;function Hs(L){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return BS.test(L)?Math.round(L*k)/k:L}var NS=/^width|height|left|top|marginLeft|marginTop$/;function oa(L,k){var T=L.style;Gt(k,function(A,H){NS.test(H)&&ze(A)&&(A="".concat(A,"px")),T[H]=A})}function FS(L,k){return L.classList?L.classList.contains(k):L.className.indexOf(k)>-1}function on(L,k){if(k){if(ze(L.length)){Gt(L,function(A){on(A,k)});return}if(L.classList){L.classList.add(k);return}var T=L.className.trim();T?T.indexOf(k)<0&&(L.className="".concat(T," ").concat(k)):L.className=k}}function xi(L,k){if(k){if(ze(L.length)){Gt(L,function(T){xi(T,k)});return}if(L.classList){L.classList.remove(k);return}L.className.indexOf(k)>=0&&(L.className=L.className.replace(k,""))}}function js(L,k,T){if(k){if(ze(L.length)){Gt(L,function(A){js(A,k,T)});return}T?on(L,k):xi(L,k)}}var $S=/([a-z\d])([A-Z])/g;function Uu(L){return L.replace($S,"$1-$2").toLowerCase()}function Yu(L,k){return Ua(L[k])?L[k]:L.dataset?L.dataset[k]:L.getAttribute("data-".concat(Uu(k)))}function zo(L,k,T){Ua(T)?L[k]=T:L.dataset?L.dataset[k]=T:L.setAttribute("data-".concat(Uu(k)),T)}function zS(L,k){if(Ua(L[k]))try{delete L[k]}catch{L[k]=void 0}else if(L.dataset)try{delete L.dataset[k]}catch{L.dataset[k]=void 0}else L.removeAttribute("data-".concat(Uu(k)))}var kv=/\s\s*/,Cv=function(){var L=!1;if(y){var k=!1,T=function(){},A=Object.defineProperty({},"once",{get:function(){return L=!0,k},set:function($){k=$}});b.addEventListener("test",T,A),b.removeEventListener("test",T,A)}return L}();function di(L,k,T){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},H=T;k.trim().split(kv).forEach(function($){if(!Cv){var z=L.listeners;z&&z[$]&&z[$][T]&&(H=z[$][T],delete z[$][T],Object.keys(z[$]).length===0&&delete z[$],Object.keys(z).length===0&&delete L.listeners)}L.removeEventListener($,H,A)})}function Jn(L,k,T){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},H=T;k.trim().split(kv).forEach(function($){if(A.once&&!Cv){var z=L.listeners,re=z===void 0?{}:z;H=function(){delete re[$][T],L.removeEventListener($,H,A);for(var ye=arguments.length,ue=new Array(ye),de=0;deMath.abs(T)&&(T=ke)})}),T}function pr(L,k){var T=L.pageX,A=L.pageY,H={endX:T,endY:A};return k?H:i({startX:T,startY:A},H)}function WS(L){var k=0,T=0,A=0;return Gt(L,function(H){var $=H.startX,z=H.startY;k+=$,T+=z,A+=1}),k/=A,T/=A,{pageX:k,pageY:T}}function la(L){var k=L.aspectRatio,T=L.height,A=L.width,H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",$=$n(A),z=$n(T);if($&&z){var re=T*k;H==="contain"&&re>A||H==="cover"&&re90?{width:Ae,height:re}:{width:re,height:Ae}}function YS(L,k,T,A){var H=k.aspectRatio,$=k.naturalWidth,z=k.naturalHeight,re=k.rotate,Ae=re===void 0?0:re,ye=k.scaleX,ue=ye===void 0?1:ye,de=k.scaleY,ke=de===void 0?1:de,nt=T.aspectRatio,et=T.naturalWidth,Vt=T.naturalHeight,ct=A.fillColor,en=ct===void 0?"transparent":ct,ln=A.imageSmoothingEnabled,Xt=ln===void 0?!0:ln,Bi=A.imageSmoothingQuality,zn=Bi===void 0?"low":Bi,De=A.maxWidth,ut=De===void 0?1/0:De,tn=A.maxHeight,Qn=tn===void 0?1/0:tn,Ni=A.minWidth,Ya=Ni===void 0?0:Ni,Ka=A.minHeight,ra=Ka===void 0?0:Ka,Si=document.createElement("canvas"),Mn=Si.getContext("2d"),Ga=la({aspectRatio:nt,width:ut,height:Qn}),yr=la({aspectRatio:nt,width:Ya,height:ra},"cover"),Gu=Math.min(Ga.width,Math.max(yr.width,et)),Xu=Math.min(Ga.height,Math.max(yr.height,Vt)),Mv=la({aspectRatio:H,width:ut,height:Qn}),Ev=la({aspectRatio:H,width:Ya,height:ra},"cover"),Dv=Math.min(Mv.width,Math.max(Ev.width,$)),Ov=Math.min(Mv.height,Math.max(Ev.height,z)),ow=[-Dv/2,-Ov/2,Dv,Ov];return Si.width=Hs(Gu),Si.height=Hs(Xu),Mn.fillStyle=en,Mn.fillRect(0,0,Gu,Xu),Mn.save(),Mn.translate(Gu/2,Xu/2),Mn.rotate(Ae*Math.PI/180),Mn.scale(ue,ke),Mn.imageSmoothingEnabled=Xt,Mn.imageSmoothingQuality=zn,Mn.drawImage.apply(Mn,[L].concat(c(ow.map(function(lw){return Math.floor(Hs(lw))})))),Mn.restore(),Si}var Av=String.fromCharCode;function KS(L,k,T){var A="";T+=k;for(var H=k;H0;)T.push(Av.apply(null,wv(H.subarray(0,A)))),H=H.subarray(A);return"data:".concat(k,";base64,").concat(btoa(T.join("")))}function ZS(L){var k=new DataView(L),T;try{var A,H,$;if(k.getUint8(0)===255&&k.getUint8(1)===216)for(var z=k.byteLength,re=2;re+1=8&&($=ye+de)}}}if($){var ke=k.getUint16($,A),nt,et;for(et=0;et=0?$:An),height:Math.max(A.offsetHeight,z>=0?z:Li)};this.containerData=re,oa(H,{width:re.width,height:re.height}),on(k,ee),xi(H,ee)},initCanvas:function(){var k=this.containerData,T=this.imageData,A=this.options.viewMode,H=Math.abs(T.rotate)%180===90,$=H?T.naturalHeight:T.naturalWidth,z=H?T.naturalWidth:T.naturalHeight,re=$/z,Ae=k.width,ye=k.height;k.height*re>k.width?A===3?Ae=k.height*re:ye=k.width/re:A===3?ye=k.width/re:Ae=k.height*re;var ue={aspectRatio:re,naturalWidth:$,naturalHeight:z,width:Ae,height:ye};this.canvasData=ue,this.limited=A===1||A===2,this.limitCanvas(!0,!0),ue.width=Math.min(Math.max(ue.width,ue.minWidth),ue.maxWidth),ue.height=Math.min(Math.max(ue.height,ue.minHeight),ue.maxHeight),ue.left=(k.width-ue.width)/2,ue.top=(k.height-ue.height)/2,ue.oldLeft=ue.left,ue.oldTop=ue.top,this.initialCanvasData=It({},ue)},limitCanvas:function(k,T){var A=this.options,H=this.containerData,$=this.canvasData,z=this.cropBoxData,re=A.viewMode,Ae=$.aspectRatio,ye=this.cropped&&z;if(k){var ue=Number(A.minCanvasWidth)||0,de=Number(A.minCanvasHeight)||0;re>1?(ue=Math.max(ue,H.width),de=Math.max(de,H.height),re===3&&(de*Ae>ue?ue=de*Ae:de=ue/Ae)):re>0&&(ue?ue=Math.max(ue,ye?z.width:0):de?de=Math.max(de,ye?z.height:0):ye&&(ue=z.width,de=z.height,de*Ae>ue?ue=de*Ae:de=ue/Ae));var ke=la({aspectRatio:Ae,width:ue,height:de});ue=ke.width,de=ke.height,$.minWidth=ue,$.minHeight=de,$.maxWidth=1/0,$.maxHeight=1/0}if(T)if(re>(ye?0:1)){var nt=H.width-$.width,et=H.height-$.height;$.minLeft=Math.min(0,nt),$.minTop=Math.min(0,et),$.maxLeft=Math.max(0,nt),$.maxTop=Math.max(0,et),ye&&this.limited&&($.minLeft=Math.min(z.left,z.left+(z.width-$.width)),$.minTop=Math.min(z.top,z.top+(z.height-$.height)),$.maxLeft=z.left,$.maxTop=z.top,re===2&&($.width>=H.width&&($.minLeft=Math.min(0,nt),$.maxLeft=Math.max(0,nt)),$.height>=H.height&&($.minTop=Math.min(0,et),$.maxTop=Math.max(0,et))))}else $.minLeft=-$.width,$.minTop=-$.height,$.maxLeft=H.width,$.maxTop=H.height},renderCanvas:function(k,T){var A=this.canvasData,H=this.imageData;if(T){var $=US({width:H.naturalWidth*Math.abs(H.scaleX||1),height:H.naturalHeight*Math.abs(H.scaleY||1),degree:H.rotate||0}),z=$.width,re=$.height,Ae=A.width*(z/A.naturalWidth),ye=A.height*(re/A.naturalHeight);A.left-=(Ae-A.width)/2,A.top-=(ye-A.height)/2,A.width=Ae,A.height=ye,A.aspectRatio=z/re,A.naturalWidth=z,A.naturalHeight=re,this.limitCanvas(!0,!1)}(A.width>A.maxWidth||A.widthA.maxHeight||A.heightT.width?$.height=$.width/A:$.width=$.height*A),this.cropBoxData=$,this.limitCropBox(!0,!0),$.width=Math.min(Math.max($.width,$.minWidth),$.maxWidth),$.height=Math.min(Math.max($.height,$.minHeight),$.maxHeight),$.width=Math.max($.minWidth,$.width*H),$.height=Math.max($.minHeight,$.height*H),$.left=T.left+(T.width-$.width)/2,$.top=T.top+(T.height-$.height)/2,$.oldLeft=$.left,$.oldTop=$.top,this.initialCropBoxData=It({},$)},limitCropBox:function(k,T){var A=this.options,H=this.containerData,$=this.canvasData,z=this.cropBoxData,re=this.limited,Ae=A.aspectRatio;if(k){var ye=Number(A.minCropBoxWidth)||0,ue=Number(A.minCropBoxHeight)||0,de=re?Math.min(H.width,$.width,$.width+$.left,H.width-$.left):H.width,ke=re?Math.min(H.height,$.height,$.height+$.top,H.height-$.top):H.height;ye=Math.min(ye,H.width),ue=Math.min(ue,H.height),Ae&&(ye&&ue?ue*Ae>ye?ue=ye/Ae:ye=ue*Ae:ye?ue=ye/Ae:ue&&(ye=ue*Ae),ke*Ae>de?ke=de/Ae:de=ke*Ae),z.minWidth=Math.min(ye,de),z.minHeight=Math.min(ue,ke),z.maxWidth=de,z.maxHeight=ke}T&&(re?(z.minLeft=Math.max(0,$.left),z.minTop=Math.max(0,$.top),z.maxLeft=Math.min(H.width,$.left+$.width)-z.width,z.maxTop=Math.min(H.height,$.top+$.height)-z.height):(z.minLeft=0,z.minTop=0,z.maxLeft=H.width-z.width,z.maxTop=H.height-z.height))},renderCropBox:function(){var k=this.options,T=this.containerData,A=this.cropBoxData;(A.width>A.maxWidth||A.widthA.maxHeight||A.height=T.width&&A.height>=T.height?V:P),oa(this.cropBox,It({width:A.width,height:A.height},Ho({translateX:A.left,translateY:A.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Ws(this.element,X,this.getData())}},ew={initPreview:function(){var k=this.element,T=this.crossOrigin,A=this.options.preview,H=T?this.crossOriginUrl:this.url,$=k.alt||"The image to preview",z=document.createElement("img");if(T&&(z.crossOrigin=T),z.src=H,z.alt=$,this.viewBox.appendChild(z),this.viewBoxImage=z,!!A){var re=A;typeof A=="string"?re=k.ownerDocument.querySelectorAll(A):A.querySelector&&(re=[A]),this.previews=re,Gt(re,function(Ae){var ye=document.createElement("img");zo(Ae,te,{width:Ae.offsetWidth,height:Ae.offsetHeight,html:Ae.innerHTML}),T&&(ye.crossOrigin=T),ye.src=H,ye.alt=$,ye.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',Ae.innerHTML="",Ae.appendChild(ye)})}},resetPreview:function(){Gt(this.previews,function(k){var T=Yu(k,te);oa(k,{width:T.width,height:T.height}),k.innerHTML=T.html,zS(k,te)})},preview:function(){var k=this.imageData,T=this.canvasData,A=this.cropBoxData,H=A.width,$=A.height,z=k.width,re=k.height,Ae=A.left-T.left-k.left,ye=A.top-T.top-k.top;!this.cropped||this.disabled||(oa(this.viewBoxImage,It({width:z,height:re},Ho(It({translateX:-Ae,translateY:-ye},k)))),Gt(this.previews,function(ue){var de=Yu(ue,te),ke=de.width,nt=de.height,et=ke,Vt=nt,ct=1;H&&(ct=ke/H,Vt=$*ct),$&&Vt>nt&&(ct=nt/$,et=H*ct,Vt=nt),oa(ue,{width:et,height:Vt}),oa(ue.getElementsByTagName("img")[0],It({width:z*ct,height:re*ct},Ho(It({translateX:-Ae*ct,translateY:-ye*ct},k))))}))}},tw={bind:function(){var k=this.element,T=this.options,A=this.cropper;Tn(T.cropstart)&&Jn(k,R,T.cropstart),Tn(T.cropmove)&&Jn(k,E,T.cropmove),Tn(T.cropend)&&Jn(k,Ie,T.cropend),Tn(T.crop)&&Jn(k,X,T.crop),Tn(T.zoom)&&Jn(k,Fe,T.zoom),Jn(A,we,this.onCropStart=this.cropStart.bind(this)),T.zoomable&&T.zoomOnWheel&&Jn(A,Le,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),T.toggleDragModeOnDblclick&&Jn(A,F,this.onDblclick=this.dblclick.bind(this)),Jn(k.ownerDocument,xe,this.onCropMove=this.cropMove.bind(this)),Jn(k.ownerDocument,Ve,this.onCropEnd=this.cropEnd.bind(this)),T.responsive&&Jn(window,Ne,this.onResize=this.resize.bind(this))},unbind:function(){var k=this.element,T=this.options,A=this.cropper;Tn(T.cropstart)&&di(k,R,T.cropstart),Tn(T.cropmove)&&di(k,E,T.cropmove),Tn(T.cropend)&&di(k,Ie,T.cropend),Tn(T.crop)&&di(k,X,T.crop),Tn(T.zoom)&&di(k,Fe,T.zoom),di(A,we,this.onCropStart),T.zoomable&&T.zoomOnWheel&&di(A,Le,this.onWheel,{passive:!1,capture:!0}),T.toggleDragModeOnDblclick&&di(A,F,this.onDblclick),di(k.ownerDocument,xe,this.onCropMove),di(k.ownerDocument,Ve,this.onCropEnd),T.responsive&&di(window,Ne,this.onResize)}},nw={resize:function(){if(!this.disabled){var k=this.options,T=this.container,A=this.containerData,H=T.offsetWidth/A.width,$=T.offsetHeight/A.height,z=Math.abs(H-1)>Math.abs($-1)?H:$;if(z!==1){var re,Ae;k.restore&&(re=this.getCanvasData(),Ae=this.getCropBoxData()),this.render(),k.restore&&(this.setCanvasData(Gt(re,function(ye,ue){re[ue]=ye*z})),this.setCropBoxData(Gt(Ae,function(ye,ue){Ae[ue]=ye*z})))}}},dblclick:function(){this.disabled||this.options.dragMode===ie||this.setDragMode(FS(this.dragBox,B)?Q:U)},wheel:function(k){var T=this,A=Number(this.options.wheelZoomRatio)||.1,H=1;this.disabled||(k.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){T.wheeling=!1},50),k.deltaY?H=k.deltaY>0?1:-1:k.wheelDelta?H=-k.wheelDelta/120:k.detail&&(H=k.detail>0?1:-1),this.zoom(-H*A,k)))},cropStart:function(k){var T=k.buttons,A=k.button;if(!(this.disabled||(k.type==="mousedown"||k.type==="pointerdown"&&k.pointerType==="mouse")&&(ze(T)&&T!==1||ze(A)&&A!==0||k.ctrlKey))){var H=this.options,$=this.pointers,z;k.changedTouches?Gt(k.changedTouches,function(re){$[re.identifier]=pr(re)}):$[k.pointerId||0]=pr(k),Object.keys($).length>1&&H.zoomable&&H.zoomOnTouch?z=I:z=Yu(k.target,Oe),qe.test(z)&&Ws(this.element,R,{originalEvent:k,action:z})!==!1&&(k.preventDefault(),this.action=z,this.cropping=!1,z===C&&(this.cropping=!0,on(this.dragBox,ge)))}},cropMove:function(k){var T=this.action;if(!(this.disabled||!T)){var A=this.pointers;k.preventDefault(),Ws(this.element,E,{originalEvent:k,action:T})!==!1&&(k.changedTouches?Gt(k.changedTouches,function(H){It(A[H.identifier]||{},pr(H,!0))}):It(A[k.pointerId||0]||{},pr(k,!0)),this.change(k))}},cropEnd:function(k){if(!this.disabled){var T=this.action,A=this.pointers;k.changedTouches?Gt(k.changedTouches,function(H){delete A[H.identifier]}):delete A[k.pointerId||0],T&&(k.preventDefault(),Object.keys(A).length||(this.action=""),this.cropping&&(this.cropping=!1,js(this.dragBox,ge,this.cropped&&this.options.modal)),Ws(this.element,Ie,{originalEvent:k,action:T}))}}},iw={change:function(k){var T=this.options,A=this.canvasData,H=this.containerData,$=this.cropBoxData,z=this.pointers,re=this.action,Ae=T.aspectRatio,ye=$.left,ue=$.top,de=$.width,ke=$.height,nt=ye+de,et=ue+ke,Vt=0,ct=0,en=H.width,ln=H.height,Xt=!0,Bi;!Ae&&k.shiftKey&&(Ae=de&&ke?de/ke:1),this.limited&&(Vt=$.minLeft,ct=$.minTop,en=Vt+Math.min(H.width,A.width,A.left+A.width),ln=ct+Math.min(H.height,A.height,A.top+A.height));var zn=z[Object.keys(z)[0]],De={x:zn.endX-zn.startX,y:zn.endY-zn.startY},ut=function(Qn){switch(Qn){case M:nt+De.x>en&&(De.x=en-nt);break;case O:ye+De.xln&&(De.y=ln-et);break}};switch(re){case P:ye+=De.x,ue+=De.y;break;case M:if(De.x>=0&&(nt>=en||Ae&&(ue<=ct||et>=ln))){Xt=!1;break}ut(M),de+=De.x,de<0&&(re=O,de=-de,ye-=de),Ae&&(ke=de/Ae,ue+=($.height-ke)/2);break;case N:if(De.y<=0&&(ue<=ct||Ae&&(ye<=Vt||nt>=en))){Xt=!1;break}ut(N),ke-=De.y,ue+=De.y,ke<0&&(re=D,ke=-ke,ue-=ke),Ae&&(de=ke*Ae,ye+=($.width-de)/2);break;case O:if(De.x<=0&&(ye<=Vt||Ae&&(ue<=ct||et>=ln))){Xt=!1;break}ut(O),de-=De.x,ye+=De.x,de<0&&(re=M,de=-de,ye-=de),Ae&&(ke=de/Ae,ue+=($.height-ke)/2);break;case D:if(De.y>=0&&(et>=ln||Ae&&(ye<=Vt||nt>=en))){Xt=!1;break}ut(D),ke+=De.y,ke<0&&(re=N,ke=-ke,ue-=ke),Ae&&(de=ke*Ae,ye+=($.width-de)/2);break;case j:if(Ae){if(De.y<=0&&(ue<=ct||nt>=en)){Xt=!1;break}ut(N),ke-=De.y,ue+=De.y,de=ke*Ae}else ut(N),ut(M),De.x>=0?ntct&&(ke-=De.y,ue+=De.y):(ke-=De.y,ue+=De.y);de<0&&ke<0?(re=J,ke=-ke,de=-de,ue-=ke,ye-=de):de<0?(re=Y,de=-de,ye-=de):ke<0&&(re=K,ke=-ke,ue-=ke);break;case Y:if(Ae){if(De.y<=0&&(ue<=ct||ye<=Vt)){Xt=!1;break}ut(N),ke-=De.y,ue+=De.y,de=ke*Ae,ye+=$.width-de}else ut(N),ut(O),De.x<=0?ye>Vt?(de-=De.x,ye+=De.x):De.y<=0&&ue<=ct&&(Xt=!1):(de-=De.x,ye+=De.x),De.y<=0?ue>ct&&(ke-=De.y,ue+=De.y):(ke-=De.y,ue+=De.y);de<0&&ke<0?(re=K,ke=-ke,de=-de,ue-=ke,ye-=de):de<0?(re=j,de=-de,ye-=de):ke<0&&(re=J,ke=-ke,ue-=ke);break;case J:if(Ae){if(De.x<=0&&(ye<=Vt||et>=ln)){Xt=!1;break}ut(O),de-=De.x,ye+=De.x,ke=de/Ae}else ut(D),ut(O),De.x<=0?ye>Vt?(de-=De.x,ye+=De.x):De.y>=0&&et>=ln&&(Xt=!1):(de-=De.x,ye+=De.x),De.y>=0?et=0&&(nt>=en||et>=ln)){Xt=!1;break}ut(M),de+=De.x,ke=de/Ae}else ut(D),ut(M),De.x>=0?nt=0&&et>=ln&&(Xt=!1):de+=De.x,De.y>=0?et0?re=De.y>0?K:j:De.x<0&&(ye-=de,re=De.y>0?J:Y),De.y<0&&(ue-=ke),this.cropped||(xi(this.cropBox,ee),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}Xt&&($.width=de,$.height=ke,$.left=ye,$.top=ue,this.action=re,this.renderCropBox()),Gt(z,function(tn){tn.startX=tn.endX,tn.startY=tn.endY})}},aw={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&on(this.dragBox,ge),xi(this.cropBox,ee),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=It({},this.initialImageData),this.canvasData=It({},this.initialCanvasData),this.cropBoxData=It({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(It(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),xi(this.dragBox,ge),on(this.cropBox,ee)),this},replace:function(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&k&&(this.isImg&&(this.element.src=k),T?(this.url=k,this.image.src=k,this.ready&&(this.viewBoxImage.src=k,Gt(this.previews,function(A){A.getElementsByTagName("img")[0].src=k}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(k))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,xi(this.cropper,G)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,on(this.cropper,G)),this},destroy:function(){var k=this.element;return k[x]?(k[x]=void 0,this.isImg&&this.replaced&&(k.src=this.originalUrl),this.uncreate(),this):this},move:function(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k,A=this.canvasData,H=A.left,$=A.top;return this.moveTo($s(k)?k:H+Number(k),$s(T)?T:$+Number(T))},moveTo:function(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k,A=this.canvasData,H=!1;return k=Number(k),T=Number(T),this.ready&&!this.disabled&&this.options.movable&&(ze(k)&&(A.left=k,H=!0),ze(T)&&(A.top=T,H=!0),H&&this.renderCanvas(!0)),this},zoom:function(k,T){var A=this.canvasData;return k=Number(k),k<0?k=1/(1-k):k=1+k,this.zoomTo(A.width*k/A.naturalWidth,null,T)},zoomTo:function(k,T,A){var H=this.options,$=this.canvasData,z=$.width,re=$.height,Ae=$.naturalWidth,ye=$.naturalHeight;if(k=Number(k),k>=0&&this.ready&&!this.disabled&&H.zoomable){var ue=Ae*k,de=ye*k;if(Ws(this.element,Fe,{ratio:k,oldRatio:z/Ae,originalEvent:A})===!1)return this;if(A){var ke=this.pointers,nt=Pv(this.cropper),et=ke&&Object.keys(ke).length?WS(ke):{pageX:A.pageX,pageY:A.pageY};$.left-=(ue-z)*((et.pageX-nt.left-$.left)/z),$.top-=(de-re)*((et.pageY-nt.top-$.top)/re)}else zs(T)&&ze(T.x)&&ze(T.y)?($.left-=(ue-z)*((T.x-$.left)/z),$.top-=(de-re)*((T.y-$.top)/re)):($.left-=(ue-z)/2,$.top-=(de-re)/2);$.width=ue,$.height=de,this.renderCanvas(!0)}return this},rotate:function(k){return this.rotateTo((this.imageData.rotate||0)+Number(k))},rotateTo:function(k){return k=Number(k),ze(k)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=k%360,this.renderCanvas(!0,!0)),this},scaleX:function(k){var T=this.imageData.scaleY;return this.scale(k,ze(T)?T:1)},scaleY:function(k){var T=this.imageData.scaleX;return this.scale(ze(T)?T:1,k)},scale:function(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k,A=this.imageData,H=!1;return k=Number(k),T=Number(T),this.ready&&!this.disabled&&this.options.scalable&&(ze(k)&&(A.scaleX=k,H=!0),ze(T)&&(A.scaleY=T,H=!0),H&&this.renderCanvas(!0,!0)),this},getData:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,T=this.options,A=this.imageData,H=this.canvasData,$=this.cropBoxData,z;if(this.ready&&this.cropped){z={x:$.left-H.left,y:$.top-H.top,width:$.width,height:$.height};var re=A.width/A.naturalWidth;if(Gt(z,function(ue,de){z[de]=ue/re}),k){var Ae=Math.round(z.y+z.height),ye=Math.round(z.x+z.width);z.x=Math.round(z.x),z.y=Math.round(z.y),z.width=ye-z.x,z.height=Ae-z.y}}else z={x:0,y:0,width:0,height:0};return T.rotatable&&(z.rotate=A.rotate||0),T.scalable&&(z.scaleX=A.scaleX||1,z.scaleY=A.scaleY||1),z},setData:function(k){var T=this.options,A=this.imageData,H=this.canvasData,$={};if(this.ready&&!this.disabled&&zs(k)){var z=!1;T.rotatable&&ze(k.rotate)&&k.rotate!==A.rotate&&(A.rotate=k.rotate,z=!0),T.scalable&&(ze(k.scaleX)&&k.scaleX!==A.scaleX&&(A.scaleX=k.scaleX,z=!0),ze(k.scaleY)&&k.scaleY!==A.scaleY&&(A.scaleY=k.scaleY,z=!0)),z&&this.renderCanvas(!0,!0);var re=A.width/A.naturalWidth;ze(k.x)&&($.left=k.x*re+H.left),ze(k.y)&&($.top=k.y*re+H.top),ze(k.width)&&($.width=k.width*re),ze(k.height)&&($.height=k.height*re),this.setCropBoxData($)}return this},getContainerData:function(){return this.ready?It({},this.containerData):{}},getImageData:function(){return this.sized?It({},this.imageData):{}},getCanvasData:function(){var k=this.canvasData,T={};return this.ready&&Gt(["left","top","width","height","naturalWidth","naturalHeight"],function(A){T[A]=k[A]}),T},setCanvasData:function(k){var T=this.canvasData,A=T.aspectRatio;return this.ready&&!this.disabled&&zs(k)&&(ze(k.left)&&(T.left=k.left),ze(k.top)&&(T.top=k.top),ze(k.width)?(T.width=k.width,T.height=k.width/A):ze(k.height)&&(T.height=k.height,T.width=k.height*A),this.renderCanvas(!0)),this},getCropBoxData:function(){var k=this.cropBoxData,T;return this.ready&&this.cropped&&(T={left:k.left,top:k.top,width:k.width,height:k.height}),T||{}},setCropBoxData:function(k){var T=this.cropBoxData,A=this.options.aspectRatio,H,$;return this.ready&&this.cropped&&!this.disabled&&zs(k)&&(ze(k.left)&&(T.left=k.left),ze(k.top)&&(T.top=k.top),ze(k.width)&&k.width!==T.width&&(H=!0,T.width=k.width),ze(k.height)&&k.height!==T.height&&($=!0,T.height=k.height),A&&(H?T.height=T.width/A:$&&(T.width=T.height*A)),this.renderCropBox()),this},getCroppedCanvas:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var T=this.canvasData,A=YS(this.image,this.imageData,T,k);if(!this.cropped)return A;var H=this.getData(k.rounded),$=H.x,z=H.y,re=H.width,Ae=H.height,ye=A.width/Math.floor(T.naturalWidth);ye!==1&&($*=ye,z*=ye,re*=ye,Ae*=ye);var ue=re/Ae,de=la({aspectRatio:ue,width:k.maxWidth||1/0,height:k.maxHeight||1/0}),ke=la({aspectRatio:ue,width:k.minWidth||0,height:k.minHeight||0},"cover"),nt=la({aspectRatio:ue,width:k.width||(ye!==1?A.width:re),height:k.height||(ye!==1?A.height:Ae)}),et=nt.width,Vt=nt.height;et=Math.min(de.width,Math.max(ke.width,et)),Vt=Math.min(de.height,Math.max(ke.height,Vt));var ct=document.createElement("canvas"),en=ct.getContext("2d");ct.width=Hs(et),ct.height=Hs(Vt),en.fillStyle=k.fillColor||"transparent",en.fillRect(0,0,et,Vt);var ln=k.imageSmoothingEnabled,Xt=ln===void 0?!0:ln,Bi=k.imageSmoothingQuality;en.imageSmoothingEnabled=Xt,Bi&&(en.imageSmoothingQuality=Bi);var zn=A.width,De=A.height,ut=$,tn=z,Qn,Ni,Ya,Ka,ra,Si;ut<=-re||ut>zn?(ut=0,Qn=0,Ya=0,ra=0):ut<=0?(Ya=-ut,ut=0,Qn=Math.min(zn,re+ut),ra=Qn):ut<=zn&&(Ya=0,Qn=Math.min(re,zn-ut),ra=Qn),Qn<=0||tn<=-Ae||tn>De?(tn=0,Ni=0,Ka=0,Si=0):tn<=0?(Ka=-tn,tn=0,Ni=Math.min(De,Ae+tn),Si=Ni):tn<=De&&(Ka=0,Ni=Math.min(Ae,De-tn),Si=Ni);var Mn=[ut,tn,Qn,Ni];if(ra>0&&Si>0){var Ga=et/re;Mn.push(Ya*Ga,Ka*Ga,ra*Ga,Si*Ga)}return en.drawImage.apply(en,[A].concat(c(Mn.map(function(yr){return Math.floor(Hs(yr))})))),ct},setAspectRatio:function(k){var T=this.options;return!this.disabled&&!$s(k)&&(T.aspectRatio=Math.max(0,k)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(k){var T=this.options,A=this.dragBox,H=this.face;if(this.ready&&!this.disabled){var $=k===U,z=T.movable&&k===Q;k=$||z?k:ie,T.dragMode=k,zo(A,Oe,k),js(A,B,$),js(A,Me,z),T.cropBoxMovable||(zo(H,Oe,k),js(H,B,$),js(H,Me,z))}return this}},sw=b.Cropper,Tv=function(){function L(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s(this,L),!k||!Bt.test(k.tagName))throw new Error("The first argument is required and must be an or element.");this.element=k,this.options=It({},$o,zs(T)&&T),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return l(L,[{key:"init",value:function(){var T=this.element,A=T.tagName.toLowerCase(),H;if(!T[x]){if(T[x]=this,A==="img"){if(this.isImg=!0,H=T.getAttribute("src")||"",this.originalUrl=H,!H)return;H=T.src}else A==="canvas"&&window.HTMLCanvasElement&&(H=T.toDataURL());this.load(H)}}},{key:"load",value:function(T){var A=this;if(T){this.url=T,this.imageData={};var H=this.element,$=this.options;if(!$.rotatable&&!$.scalable&&($.checkOrientation=!1),!$.checkOrientation||!window.ArrayBuffer){this.clone();return}if(gt.test(T)){rt.test(T)?this.read(XS(T)):this.clone();return}var z=new XMLHttpRequest,re=this.clone.bind(this);this.reloading=!0,this.xhr=z,z.onabort=re,z.onerror=re,z.ontimeout=re,z.onprogress=function(){z.getResponseHeader("content-type")!==Ue&&z.abort()},z.onload=function(){A.read(z.response)},z.onloadend=function(){A.reloading=!1,A.xhr=null},$.checkCrossOrigin&&Iv(T)&&H.crossOrigin&&(T=Vv(T)),z.open("GET",T,!0),z.responseType="arraybuffer",z.withCredentials=H.crossOrigin==="use-credentials",z.send()}}},{key:"read",value:function(T){var A=this.options,H=this.imageData,$=ZS(T),z=0,re=1,Ae=1;if($>1){this.url=qS(T,Ue);var ye=JS($);z=ye.rotate,re=ye.scaleX,Ae=ye.scaleY}A.rotatable&&(H.rotate=z),A.scalable&&(H.scaleX=re,H.scaleY=Ae),this.clone()}},{key:"clone",value:function(){var T=this.element,A=this.url,H=T.crossOrigin,$=A;this.options.checkCrossOrigin&&Iv(A)&&(H||(H="anonymous"),$=Vv(A)),this.crossOrigin=H,this.crossOriginUrl=$;var z=document.createElement("img");H&&(z.crossOrigin=H),z.src=$||A,z.alt=T.alt||"The image to crop",this.image=z,z.onload=this.start.bind(this),z.onerror=this.stop.bind(this),on(z,le),T.parentNode.insertBefore(z,T.nextSibling)}},{key:"start",value:function(){var T=this,A=this.image;A.onload=null,A.onerror=null,this.sizing=!0;var H=b.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(b.navigator.userAgent),$=function(ye,ue){It(T.imageData,{naturalWidth:ye,naturalHeight:ue,aspectRatio:ye/ue}),T.initialImageData=It({},T.imageData),T.sizing=!1,T.sized=!0,T.build()};if(A.naturalWidth&&!H){$(A.naturalWidth,A.naturalHeight);return}var z=document.createElement("img"),re=document.body||document.documentElement;this.sizingImage=z,z.onload=function(){$(z.width,z.height),H||re.removeChild(z)},z.src=A.src,H||(z.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",re.appendChild(z))}},{key:"stop",value:function(){var T=this.image;T.onload=null,T.onerror=null,T.parentNode.removeChild(T),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var T=this.element,A=this.options,H=this.image,$=T.parentNode,z=document.createElement("div");z.innerHTML=Wa;var re=z.querySelector(".".concat(x,"-container")),Ae=re.querySelector(".".concat(x,"-canvas")),ye=re.querySelector(".".concat(x,"-drag-box")),ue=re.querySelector(".".concat(x,"-crop-box")),de=ue.querySelector(".".concat(x,"-face"));this.container=$,this.cropper=re,this.canvas=Ae,this.dragBox=ye,this.cropBox=ue,this.viewBox=re.querySelector(".".concat(x,"-view-box")),this.face=de,Ae.appendChild(H),on(T,ee),$.insertBefore(re,T.nextSibling),xi(H,le),this.initPreview(),this.bind(),A.initialAspectRatio=Math.max(0,A.initialAspectRatio)||NaN,A.aspectRatio=Math.max(0,A.aspectRatio)||NaN,A.viewMode=Math.max(0,Math.min(3,Math.round(A.viewMode)))||0,on(ue,ee),A.guides||on(ue.getElementsByClassName("".concat(x,"-dashed")),ee),A.center||on(ue.getElementsByClassName("".concat(x,"-center")),ee),A.background&&on(re,"".concat(x,"-bg")),A.highlight||on(de,ce),A.cropBoxMovable&&(on(de,Me),zo(de,Oe,P)),A.cropBoxResizable||(on(ue.getElementsByClassName("".concat(x,"-line")),ee),on(ue.getElementsByClassName("".concat(x,"-point")),ee)),this.render(),this.ready=!0,this.setDragMode(A.dragMode),A.autoCrop&&this.crop(),this.setData(A.data),Tn(A.ready)&&Jn(T,pe,A.ready,{once:!0}),Ws(T,pe)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var T=this.cropper.parentNode;T&&T.removeChild(this.cropper),xi(this.element,ee)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=sw,L}},{key:"setDefaults",value:function(T){It($o,zs(T)&&T)}}]),L}();return It(Tv.prototype,QS,ew,tw,nw,iw,aw),Tv})})(D_);var KE=D_.exports;Object.defineProperty(E_,"__esModule",{value:!0});var Qg=YE,GE=KE,XE=qE(GE);function qE(e){return e&&e.__esModule?e:{default:e}}function ZE(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}var JE=typeof window>"u"?[String,Array]:[String,Array,Element,NodeList],QE=E_.default={render:function(){var t=this.crossorigin||void 0;return(0,Qg.h)("div",{style:this.containerStyle},[(0,Qg.h)("img",{ref:"img",src:this.src,alt:this.alt||"image",style:[{"max-width":"100%"},this.imgStyle],crossorigin:t})])},props:{containerStyle:Object,src:{type:String,default:""},alt:String,imgStyle:Object,viewMode:Number,dragMode:String,initialAspectRatio:Number,aspectRatio:Number,data:Object,preview:JE,responsive:{type:Boolean,default:!0},restore:{type:Boolean,default:!0},checkCrossOrigin:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},crossorigin:{type:String},modal:{type:Boolean,default:!0},guides:{type:Boolean,default:!0},center:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0},background:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!0},autoCropArea:Number,movable:{type:Boolean,default:!0},rotatable:{type:Boolean,default:!0},scalable:{type:Boolean,default:!0},zoomable:{type:Boolean,default:!0},zoomOnTouch:{type:Boolean,default:!0},zoomOnWheel:{type:Boolean,default:!0},wheelZoomRatio:Number,cropBoxMovable:{type:Boolean,default:!0},cropBoxResizable:{type:Boolean,default:!0},toggleDragModeOnDblclick:{type:Boolean,default:!0},minCanvasWidth:Number,minCanvasHeight:Number,minCropBoxWidth:Number,minCropBoxHeight:Number,minContainerWidth:Number,minContainerHeight:Number,ready:Function,cropstart:Function,cropmove:Function,cropend:Function,crop:Function,zoom:Function},mounted:function(){var t=this.$options.props;t.containerStyle,t.src,t.alt,t.imgStyle;var n=ZE(t,["containerStyle","src","alt","imgStyle"]),i={};for(var a in n)this[a]!==void 0&&(i[a]=this[a]);this.cropper=new XE.default(this.$refs.img,i)},methods:{reset:function(){return this.cropper.reset()},clear:function(){return this.cropper.clear()},initCrop:function(){return this.cropper.crop()},replace:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return this.cropper.replace(t,n)},enable:function(){return this.cropper.enable()},disable:function(){return this.cropper.disable()},destroy:function(){return this.cropper.destroy()},move:function(t,n){return this.cropper.move(t,n)},moveTo:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return this.cropper.moveTo(t,n)},relativeZoom:function(t,n){return this.cropper.zoom(t,n)},zoomTo:function(t,n){return this.cropper.zoomTo(t,n)},rotate:function(t){return this.cropper.rotate(t)},rotateTo:function(t){return this.cropper.rotateTo(t)},scaleX:function(t){return this.cropper.scaleX(t)},scaleY:function(t){return this.cropper.scaleY(t)},scale:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return this.cropper.scale(t,n)},getData:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.cropper.getData(t)},setData:function(t){return this.cropper.setData(t)},getContainerData:function(){return this.cropper.getContainerData()},getImageData:function(){return this.cropper.getImageData()},getCanvasData:function(){return this.cropper.getCanvasData()},setCanvasData:function(t){return this.cropper.setCanvasData(t)},getCropBoxData:function(){return this.cropper.getCropBoxData()},setCropBoxData:function(t){return this.cropper.setCropBoxData(t)},getCroppedCanvas:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.cropper.getCroppedCanvas(t)},setAspectRatio:function(t){return this.cropper.setAspectRatio(t)},setDragMode:function(t){return this.cropper.setDragMode(t)}}};const eD={props:["about"],components:{VueCropper:QE},setup(e,{emit:t}){const n=Z(null),i=Z(null),a=Z(!1),s=Z(null),o=v=>{const m=v.target.files[0];m&&m.type.includes("image")?(n.value=m,i.value=URL.createObjectURL(m),a.value=!0):alert("Please select an image file.")},l=()=>{if(s.value&&s.value.cropper){const m=s.value.cropper.getCroppedCanvas(),g=n.value&&n.value.type?n.value.type:"image/png";m.toBlob(p=>{const y=URL.createObjectURL(p);i.value=y,n.value=new File([p],".png",{type:g}),a.value=!1},g)}else console.error("Cropper instance is not available")},r=()=>!!e.about.name&&e.about.name.length>=2&&e.about.name.length<=20,c=()=>!!e.about.role&&e.about.role.length>=2&&e.about.role.length<=20,u=()=>!!e.about.description&&e.about.description.length<=250;return{saveAbout:v=>{let m=!0;(!r()||!c()||!u())&&(m=!1),m?(alert("Your About information has been saved!"),t("save-about",v)):confirm("Some fields may be incorrect. Please check!")},isNameValid:r,isPositionValid:c,isDescriptionValid:u,handleFileChange:o,upload:v=>{if(!n.value){alert("Please select a file first.");return}const m=new FormData;m.append("image",n.value),fetch("http://127.0.0.1:3033/upload",{method:"POST",headers:{Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:m}).then(g=>g.json()).then(g=>{console.log("Upload successful:",g)}).catch(g=>{console.error("Upload error:",g)})},selectedFile:n,selectedImageUrl:i,cropperDialog:a,cropperRef:s,handleFileChange:o,cropImage:l}}},tD=be("p",{class:"titletext"}," About ",-1),nD={class:"d-flex justify-center"};function iD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-card-title"),v=Ce("vue-cropper"),m=Ce("v-card-text"),g=Ce("v-spacer"),p=Ce("v-card-actions"),y=Ce("v-card"),b=Ce("v-dialog"),S=Ce("v-expansion-panel-text"),_=Ce("v-expansion-panel");return me(),Tt(_,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:x})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[tD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-information-outline"})]),_:1})]),_:1}),h(S,null,{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:n.about.name,"onUpdate:modelValue":t[0]||(t[0]=x=>n.about.name=x),rules:[()=>!!n.about.name||"This field is required",()=>i.isNameValid()||"Name must be at least 2 characters and less than 20 characters"],counter:20,label:"Name"},null,8,["modelValue","rules"])]),_:1}),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:n.about.role,"onUpdate:modelValue":t[1]||(t[1]=x=>n.about.role=x),rules:[()=>!!n.about.role||"This field is required",()=>i.isPositionValid()||"Position must be at least 2 characters and less than 20 characters"],counter:20,label:"Job Title"},null,8,["modelValue","rules"])]),_:1})]),_:1}),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pa-2",modelValue:n.about.description,"onUpdate:modelValue":t[2]||(t[2]=x=>n.about.description=x),rules:[()=>!!n.about.description||"This field is required",()=>i.isDescriptionValid()||"Introduction must be less than 250 characters"],counter:250,label:"Introduction"},null,8,["modelValue","rules"])]),_:1}),be("div",nD,[be("form",{onSubmit:t[5]||(t[5]=El((...x)=>e.uploadImage&&e.uploadImage(...x),["prevent"]))},[be("input",{type:"file",onChange:t[3]||(t[3]=(...x)=>i.handleFileChange&&i.handleFileChange(...x)),accept:"image/png"},null,32),h(d,{color:"grey-lighten-1",class:"ml-5",onClick:t[4]||(t[4]=x=>i.upload(n.about))},{default:se(()=>[Xe("Upload IMG "),h(o,{size:"x-large",icon:"mdi-upload"})]),_:1})],32),h(b,{modelValue:i.cropperDialog,"onUpdate:modelValue":t[7]||(t[7]=x=>i.cropperDialog=x),"max-width":"500px"},{default:se(()=>[h(y,null,{default:se(()=>[h(f,null,{default:se(()=>[Xe("Crop Image")]),_:1}),h(m,null,{default:se(()=>[h(v,{ref:"cropperRef",src:i.selectedImageUrl,"aspect-ratio":1,style:{width:"100%"}},null,8,["src"])]),_:1}),h(p,null,{default:se(()=>[h(g),h(d,{color:"primary",onClick:i.cropImage},{default:se(()=>[Xe("Crop")]),_:1},8,["onClick"]),h(d,{color:"primary",text:"",onClick:t[6]||(t[6]=x=>i.cropperDialog=!1)},{default:se(()=>[Xe("Cancel")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),h(d,{color:"green",class:"ml-5",onClick:t[8]||(t[8]=x=>i.saveAbout(n.about))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const aD=at(eD,[["render",iD]]);const sD={props:["educations"],setup(e,{emit:t}){const n=u=>!!u.schoolName,i=u=>!!u.title,a=u=>!!u.startDate&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(u.startDate),s=u=>!!u.endDate&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(u.endDate),o=u=>!!u.description;return{deleteEdu:u=>{u!=-1&&t("delete-edu",u)},addNewEdu:()=>{t("add-edu")},saveEdu:u=>{let d=!0;u.forEach((f,v)=>{(!n(f)||!i(f)||!a(f)||!s(f)||!o(f))&&(d=!1)}),d?(alert("Your Education information has been saved!"),t("save-edu",u)):confirm("Some fields may be incorrect. Please check!")},isSchoolnameValid:n,isDiplomaValid:i,isDescriptionValid:o,isStartDateValid:a,isEndDateValid:s}}},oD=be("p",{class:"titletext"},"Educational Background",-1),lD={class:"d-flex justify-center"};function rD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[oD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-school-outline"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.educations,(m,g)=>(me(),Te("div",{key:g,class:"mb-3",style:{border:"2px solid rgb(198, 194, 194)"}},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"11"},{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"3"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.schoolName,"onUpdate:modelValue":p=>m.schoolName=p,rules:[()=>i.isSchoolnameValid(m)||"This field is required"],counter:20,label:"School"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>i.isDiplomaValid(m)||"This field is required"],counter:20,label:"Diploma"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.startDate,"onUpdate:modelValue":p=>m.startDate=p,rules:[()=>!!m.startDate||"This field is required",()=>i.isStartDateValid(m)||"Date must be in YYYY/MM format"],counter:10,label:"Start Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.endDate,"onUpdate:modelValue":p=>m.endDate=p,rules:[()=>!!m.endDate||"This field is required",()=>i.isEndDateValid(m)||"Date must be in YYYY/MM format"],counter:10,label:"End Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pl-2 pr-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>i.isDescriptionValid(m)||"This field is required"],counter:200,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(u,{class:"button-container mr-2"},{default:se(()=>[h(d,{onClick:p=>i.deleteEdu(g),color:"red-lighten-2"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",lD,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNewEdu())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{class:"ml-5",color:"green",onClick:t[1]||(t[1]=m=>i.saveEdu(n.educations))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const cD=at(sD,[["render",rD]]);const uD={props:["professions"],setup(e,{emit:t}){const n=u=>!!u.company,i=u=>!!u.title,a=u=>!!u.startDate&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(u.startDate),s=u=>!!u.endDate&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(u.endDate),o=u=>!!u.description;return{deletePro:u=>{u!=-1&&t("delete-pro",u)},addNewPro:()=>{t("add-pro")},savePro:u=>{let d=!0;u.forEach((f,v)=>{(!n(f)||!i(f)||!a(f)||!s(f)||!o(f))&&(d=!1)}),d?(alert("Your Profession information has been saved!"),t("save-pro",u)):confirm("Some fields may be incorrect. Please check!")},isCompanyValid:n,isPositionValid:i,isDescriptionValid:o,isStartDateValid:a,isEndDateValid:s}}},dD=be("p",{class:"titletext"},"Professional Experience",-1),fD={class:"d-flex justify-center"};function hD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[dD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-briefcase-outline"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.professions,(m,g)=>(me(),Te("div",{key:g,class:"mb-3",style:{border:"2px solid rgb(198, 194, 194)"}},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"11"},{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"3"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.company,"onUpdate:modelValue":p=>m.company=p,rules:[()=>i.isCompanyValid(m)||"This field is required"],counter:20,label:"Company"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>i.isPositionValid(m)||"This field is required"],counter:30,label:"Position"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.startDate,"onUpdate:modelValue":p=>m.startDate=p,rules:[()=>!!m.startDate||"This field is required",()=>i.isStartDateValid(m)||"Date must be in YYYY/MM format"],counter:10,label:"Start Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.endDate,"onUpdate:modelValue":p=>m.endDate=p,rules:[()=>!!m.endDate||"This field is required",()=>i.isEndDateValid(m)||"Date must be in YYYY/MM format"],counter:10,label:"End Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pl-2 pr-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>i.isDescriptionValid(m)||"This field is required"],counter:300,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(u,{class:"button-container"},{default:se(()=>[h(d,{onClick:p=>i.deletePro(g),color:"red-lighten-2"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",fD,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNewPro())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{class:"ml-5",color:"green",onClick:t[1]||(t[1]=m=>i.savePro(n.professions))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const vD=at(uD,[["render",hD]]);const mD={props:["certifications"],setup(e,{emit:t}){const n=c=>!!c.title,i=c=>!!c.company_school,a=c=>!!c.date&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(c.date),s=c=>!!c.description;return{deleteCer:c=>{c!=-1&&t("delete-cer",c)},addNewCer:()=>{t("add-cer")},saveCer:c=>{let u=!0;c.forEach((d,f)=>{(!n(d)||!i(d)||!a(d)||!s(d))&&(u=!1)}),u?(alert("Your Certificate information has been saved!"),t("save-cer",c)):confirm("Some fields may be incorrect. Please check!")},isTitleValid:n,isCompanySchoolValid:i,isDescriptionValid:s,isDateValid:a}}},gD=be("p",{class:"titletext"},"Certification",-1),pD={class:"d-flex justify-center"};function yD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[gD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-certificate-outline"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.certifications,(m,g)=>(me(),Te("div",{key:g,class:"mb-3",style:{border:"2px solid rgb(198, 194, 194)"}},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"11"},{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"3"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>i.isTitleValid(m)||"This field is required"],counter:40,label:"Title"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.date,"onUpdate:modelValue":p=>m.date=p,rules:[()=>!!m.date||"This field is required",()=>i.isDateValid(m)||"Date must be in YYYY/MM format"],counter:20,label:"Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.company_school,"onUpdate:modelValue":p=>m.company_school=p,rules:[()=>i.isCompanySchoolValid(m)||"This field is required"],counter:10,label:"Company/School"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pl-2 pr-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>i.isDescriptionValid(m)||"This field is required"],counter:200,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(u,{class:"button-container"},{default:se(()=>[h(d,{onClick:p=>i.deleteCer(g),color:"red-lighten-2"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",pD,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNewCer())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{class:"ml-5",color:"green",onClick:t[1]||(t[1]=m=>i.saveCer(n.certifications))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const bD=at(mD,[["render",yD]]);const _D={props:["awards"],setup(e,{emit:t}){const n=c=>!!c.title,i=c=>!!c.company_school,a=c=>!!c.date&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(c.date),s=c=>!!c.description;return{deleteAward:c=>{c!=-1&&t("delete-award",c)},addNewAward:()=>{t("add-award")},saveAward:c=>{let u=!0;c.forEach((d,f)=>{(!n(d)||!i(d)||!s(d))&&(u=!1)}),u?(alert("Your Award information has been saved!"),t("save-award",c)):confirm("Some fields may be incorrect. Please check!")},isTitleValid:n,isCompanySchoolValid:i,isDescriptionValid:s,isDateValid:a}}},xD=be("p",{class:"titletext"},"Award",-1),SD={class:"d-flex justify-center"};function wD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[xD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-license"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.awards,(m,g)=>(me(),Te("div",{key:g,class:"mb-3",style:{border:"2px solid rgb(198, 194, 194)"}},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"11"},{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>i.isTitleValid(m)||"This field is required"],counter:40,label:"Title"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.date,"onUpdate:modelValue":p=>m.date=p,rules:[()=>!!m.date||"This field is required",()=>i.isDateValid(m)||"Date must be in YYYY/MM format"],counter:20,label:"Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.company_school,"onUpdate:modelValue":p=>m.company_school=p,rules:[()=>i.isCompanySchoolValid(m)||"This field is required"],counter:10,label:"Company/School"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pl-2 pr-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>i.isDescriptionValid(m)||"This field is required"],counter:200,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(u,{class:"button-container"},{default:se(()=>[h(d,{onClick:p=>i.deleteAward(g),color:"red-lighten-2"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",SD,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNewAward())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{class:"ml-5",color:"green",onClick:t[1]||(t[1]=m=>i.saveAward(n.awards))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const kD=at(_D,[["render",wD]]);ph();const CD={components:{Skill:jE,About:aD,Education:cD,Profession:vD,Certification:bD,Award:kD},data:()=>({panel:[0],defaultSkill:{id:0,title:"New skill",description:"add your description"},defaultEdu:{id:0,title:"New diploma",schoolName:"New shool name",startDate:"2023/01",endDate:"2023/12",description:"add your description"},defaultPro:{id:0,title:"New position",company:"New company name",startDate:"2023/01",endDate:"2023/12",description:"add your description"},defaultCer:{id:0,title:"New certification",date:"2023/01",company_school:"New company name or school name",description:"add your description"},defaultAward:{id:0,title:"New award",date:"2023/01",company_school:"New company name or school name",description:"add your description"}}),setup(){const e=Z([]),t=Z([]),n=Z([]),i=Z([]),a=Z([]),s=Z([]),o=Z([]),l=Z([]),r=Z([]),c=Z([]),u=Z([]),d=Z([]);return _t(async()=>{try{const v=await(await fetch("http://127.0.0.1:3033/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"skills"})})).json();r.value=v;const m=v.items.abilities.map((B,G)=>{const{faIcon:ee,locales:le}=B,{title:ce,description:ge}=le.en;return{id:G,title:ce||"",description:ge||""}});e.value=m;const p=await(await fetch("http://127.0.0.1:3033/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"cover"})})).json();o.value=p;const b=await(await fetch("http://127.0.0.1:3033/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"profile"})})).json();l.value=b;const S=p.locales.en.bio,_=b.name,x=b.profilePictureUrl,P=b.locales.en.role,C={name:_,profilePictureUrl:x,role:P,description:S};t.value=C;const I=await(await fetch("http://127.0.0.1:3033/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"education"})})).json();c.value=I;const M=I.items.map(B=>({title:B.locales.en.title,schoolName:B.place,startDate:B.period[0],endDate:B.period[1],description:B.locales.en.description}));n.value=M;const D=await(await fetch("http://127.0.0.1:3033/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"experience"})})).json();u.value=D;const N=D.items.map(B=>({title:B.locales.en.title,company:B.place,startDate:B.period[0],endDate:B.period[1],description:B.locales.en.description}));i.value=N;const Y=await(await fetch("http://127.0.0.1:3033/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"achievements"})})).json();d.value=Y;const K=Y.items.certifications.map(B=>({title:B.locales.en.title,date:B.date,company_school:B.place,description:B.locales.en.description})),J=Y.items.awards.map(B=>({title:B.locales.en.title,date:B.date,company_school:B.place,description:B.locales.en.description}));a.value=K,s.value=J}catch(f){console.error("Error fetching data:",f)}}),{skills:e,about:t,educations:n,professions:i,certifications:a,awards:s,cover_data_old:o,profile_data_old:l,skill_data_old:r,edu_data_old:c,pro_data_old:u,achi_data_old:d}},methods:{async returnButton(){if(confirm("Are you sure you want to leave this page? Make sure you have saved your changes!")){let e="";try{const n=await(await fetch("http://127.0.0.1:3033/loadUser",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8",Authorization:"Bearer "+sessionStorage.getItem("access_token")}})).json();n.status===200&&(e=n.logged_in_as)}catch(t){console.error("Error fetching user data:",t)}try{const n=await(await fetch("http://127.0.0.1:3033/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:e})})).json();n.status!==200&&console.error("Error fetching user resume: ",n.message)}catch{console.error("Error fetching user resume: ",error)}this.$router.push({path:"/home"}).then(()=>window.location.reload(!0)).then(()=>window.location.reload(!0))}},handleDeleteSkill(e){confirm("Are you sure you want to delete this item?")&&(this.skills.splice(e,1),this.skills.forEach((t,n)=>{t.id=n}))},handleAddSkill(){const e={...this.defaultSkill};e.id=this.skills.length,this.skills.push(e),this.skills.forEach((t,n)=>{t.id=n})},handleSaveSkill(e){this.skills=e,this.skill_data_old.items.abilities=[];for(let t=0;t{t.id=n}))},handleAddEdu(){const e={...this.defaultEdu};e.id=this.educations.length,this.educations.push(e),this.educations.forEach((t,n)=>{t.id=n})},handleSaveEdu(e){this.educations=e,this.edu_data_old.items=[];for(let t=0;t{t.id=n}))},handleAddPro(){const e={...this.defaultPro};e.id=this.professions.length,this.professions.push(e),this.professions.forEach((t,n)=>{t.id=n})},handleSavePro(e){this.professions=e,this.pro_data_old.items=[];for(let t=0;t{t.id=n}))},handleAddCer(){const e={...this.defaultCer};e.id=this.certifications.length,this.certifications.push(e),this.certifications.forEach((t,n)=>{t.id=n})},async handleSaveCer(e){this.certifications=e,this.achi_data_old.items.certifications=[];for(let t=0;t{t.id=n}))},handleAddAward(){const e={...this.defaultAward};e.id=this.awards.length,this.awards.push(e),this.awards.forEach((t,n)=>{t.id=n})},async handleSaveAward(e){this.awards=e,this.achi_data_old.items.awards=[];for(let t=0;t[h(r,{align:"center"},{default:se(()=>[be("p",ID,[Xe(" Edit your information here! "),h(l,{onClick:t[0]||(t[0]=y=>s.returnButton()),class:"ml-5 mb-2"},{default:se(()=>[h(o,{size:"xx-large",icon:"mdi-file-account"}),Xe(" back to resume ")]),_:1})])]),_:1})]),_:1}),h(p,{modelValue:e.panel,"onUpdate:modelValue":t[1]||(t[1]=y=>e.panel=y)},{default:se(()=>[h(u,{about:i.about,onSaveAbout:s.handleSaveAbout},null,8,["about","onSaveAbout"]),h(d,{educations:i.educations,onDeleteEdu:s.handleDeleteEdu,onAddEdu:s.handleAddEdu,onSaveEdu:s.handleSaveEdu},null,8,["educations","onDeleteEdu","onAddEdu","onSaveEdu"]),h(f,{professions:i.professions,onDeletePro:s.handleDeletePro,onAddPro:s.handleAddPro,onSavePro:s.handleSavePro},null,8,["professions","onDeletePro","onAddPro","onSavePro"]),h(v,{skills:i.skills,onDeleteSkill:s.handleDeleteSkill,onAddSkill:s.handleAddSkill,onSaveSkill:s.handleSaveSkill},null,8,["skills","onDeleteSkill","onAddSkill","onSaveSkill"]),h(m,{certifications:i.certifications,onDeleteCer:s.handleDeleteCer,onAddCer:s.handleAddCer,onSaveCer:s.handleSaveCer},null,8,["certifications","onDeleteCer","onAddCer","onSaveCer"]),h(g,{awards:i.awards,onDeleteAward:s.handleDeleteAward,onAddAward:s.handleAddAward,onSaveAward:s.handleSaveAward},null,8,["awards","onDeleteAward","onAddAward","onSaveAward"])]),_:1},8,["modelValue"])])}const AD=at(CD,[["render",VD]]);const TD={async mounted(){document.getElementById("signinButton").style.display="none",document.getElementById("profileShortcut").style.display="none",document.getElementById("logoutButton").style.display="none",document.getElementById("userNameDisplay").style.display="none",await fetch("https://res-a-me.resilientdb.com/loadUser",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8",Authorization:"Bearer "+sessionStorage.getItem("access_token")}}).then(e=>e.json()).then(e=>{e.status===200?(this.userEmail=e.logged_in_as,fetch(`/images/pictures/${this.userEmail}.png`).then(t=>{t.ok?this.shortCutIcon=`/images/pictures/${this.userEmail}.png`:this.shortCutIcon="/images/pictures/avatar.png"}),document.getElementById("profileShortcut").style.display="block",document.getElementById("logoutButton").style.display="block"):(this.errorMessage="User are not logged in",document.getElementById("signinButton").style.display="block")}).catch(e=>{console.error("There was an error!",e),this.errorMessage=e.message||"An error occurred. Please try again."}),fetch("https://res-a-me.resilientdb.com/userList",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8"}}).then(e=>e.json()).then(e=>{for(let n in e.user_list){e.user_list[n].email===this.userEmail&&(this.userName=e.user_list[n].name,document.getElementById("userNameDisplay").style.display="block");var t="";fetch(`/images/pictures/${e.user_list[n].email}.png`).then(i=>{i.ok?t=`/images/pictures/${e.user_list[n].email}.png`:t="/images/pictures/avatar.png"}).then(()=>{const i={name:e.user_list[n].name,group:e.user_list[n].position,avatar:t,email:e.user_list[n].email};this.people.push(i)})}})},methods:{logout(){const e="";fetch("https://res-a-me.resilientdb.com/logout",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8"}}).then(t=>{if(!t.ok)throw new Error("Network response was not ok");return t.json()}).then(t=>{t.message==="Logout successful"?(sessionStorage.clear(),document.getElementById("logoutButton").style.display="none",document.getElementById("signinButton").style.display="block",document.getElementById("profileShortcut").style.display="none",document.getElementById("userNameDisplay").style.display="none",alert("Logout Successful")):e.value=t.message||"Logout failed. Please try again."}).catch(t=>{console.error("Logout error:",t),e.value=t.message||"An error occurred. Please try again."})},async profileShortcutAction(){try{const t=await(await fetch("https://res-a-me.resilientdb.com/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:this.userEmail})})).json();t.status!==200&&console.error("Error fetching user resume: ",t.message),this.$router.push({path:"/home"}).then(()=>window.location.reload(!0))}catch{console.error("profileShortcutAction error ")}},async search(){var e="";this.query.email?e=this.query.email:e=this.userEmail;try{const n=await(await fetch("https://res-a-me.resilientdb.com/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:e})})).json();n.status!==200&&console.error("Error fetching user resume: ",n.message),this.query.email&&this.$router.push({path:"/home",query:{query:this.query.email}}).then(()=>window.location.reload(!0))}catch{console.error("search error")}},async makeConntections(){for(var e=this.userEmail,t="";e===this.userEmail;)t=this.people[Math.floor(Math.random()*this.people.length)],e=t.email;try{const i=await(await fetch("https://res-a-me.resilientdb.com/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:t.email})})).json();i.status!==200&&console.error("Error fetching user resume: ",i.message),this.$router.push({path:"/home",query:{query:t.email}}).then(()=>window.location.reload(!0))}catch(n){console.error("Error fetching user resume: ",n)}}},data(){return{userName:"",userEmail:"",shortCutIcon:"",autoUpdate:!0,isUpdating:!1,name:"Midnight Crew",query:[],people:[],title:"The summer breeze",timeout:null}}},MD={style:{position:"fixed","z-index":"999",color:"black",left:"30px",top:"27px","text-transform":"none","letter-spacing":"0px"},id:"userNameDisplay"},ED=be("div",{class:"text-caption text-truncate"},"My Res-A-Me",-1);function DD(e,t,n,i,a,s){const o=Ce("v-btn"),l=Ce("v-img"),r=Ce("v-chip"),c=Ce("v-list-item"),u=Ce("v-autocomplete"),d=Ce("v-row"),f=Ce("v-avatar"),v=Ce("v-card"),m=Ce("v-col"),g=Ce("v-container"),p=Ce("v-responsive"),y=Ce("v-app");return me(),Tt(y,{style:{width:"100%",height:"100%"}},{default:se(()=>[be("p",MD," Hi, "+wt(a.userName),1),h(o,{variant:"flat",color:"#1a73e8",style:{position:"fixed","z-index":"999",color:"white",right:"40px",top:"20px","text-transform":"none"},id:"signinButton",onClick:t[0]||(t[0]=b=>this.$router.push("/login"))},{default:se(()=>[Xe(" Sign in ")]),_:1}),h(o,{variant:"flat",color:"#1a73e8",style:{position:"fixed","z-index":"999",color:"white",right:"40px",top:"20px","text-transform":"none"},id:"logoutButton",onClick:t[1]||(t[1]=b=>s.logout())},{default:se(()=>[Xe(" Logout ")]),_:1}),h(v,{theme:"light",class:"d-flex justify-center align-center flex-wrap",style:{width:"100%",height:"100%"}},{default:se(()=>[h(p,{"max-width":"550"},{default:se(()=>[h(l,{class:"mx-auto mt-12 mb-16","max-width":"340",src:"./images/icons/Res-A-Me.png"}),h(u,{modelValue:a.query,"onUpdate:modelValue":t[2]||(t[2]=b=>a.query=b),disabled:a.isUpdating,items:a.people,chips:"",color:"blue-grey-lighten-2","item-title":"name","item-value":"name",label:"Search People","prepend-inner-icon":"mdi-magnify",density:"comfortable","auto-select-first":"","return-object":"",rounded:"",theme:"light",variant:"outlined"},{chip:se(({props:b,item:S})=>[h(r,ve(b,{"prepend-avatar":S.raw.avatar,text:S.raw.name}),null,16,["prepend-avatar","text"])]),item:se(({props:b,item:S})=>{var _,x,P;return[h(c,ve(b,{"prepend-avatar":(_=S==null?void 0:S.raw)==null?void 0:_.avatar,title:(x=S==null?void 0:S.raw)==null?void 0:x.name,subtitle:(P=S==null?void 0:S.raw)==null?void 0:P.group}),null,16,["prepend-avatar","title","subtitle"])]}),_:1},8,["modelValue","disabled","items"]),h(d,{dense:"",justify:"center",class:"pt-5 pb-5"},{default:se(()=>[h(o,{variant:"flat",color:"#ededf0",style:{"text-transform":"none","letter-spacing":"0px"},class:"mr-5",onClick:t[3]||(t[3]=b=>s.search())},{default:se(()=>[Xe(" Res-A-Me Search ")]),_:1}),h(o,{variant:"flat",color:"#ededf0",style:{"text-transform":"none","letter-spacing":"0px"},onClick:t[4]||(t[4]=b=>s.makeConntections())},{default:se(()=>[Xe(" Make Connections ")]),_:1})]),_:1}),h(g,{class:"text-center pt-15",id:"profileShortcut"},{default:se(()=>[h(d,{justify:"center",dense:""},{default:se(()=>[h(m,{cols:"auto"},{default:se(()=>[h(v,{class:"pa-4",flat:"",rel:"noopener noreferer",target:"_blank",width:"112",onClick:t[5]||(t[5]=b=>s.profileShortcutAction())},{default:se(()=>[h(f,{variant:"tonal",class:"mb-2",size:"60"},{default:se(()=>[h(l,{src:a.shortCutIcon},null,8,["src"])]),_:1}),ED]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const OD=at(TD,[["render",DD]]);function RD(){const t=Oi().getSections(),n=t[0]||{id:"home"},i=["edit"],a=[{path:"/",name:"LandingPage",component:OD},{path:"/login",name:"login",component:NE},{path:"/home",name:n.id,component:Jg},{path:"/edit",name:"edit",component:AD}];for(let o=1;o{let c=!1;try{const d=await(await fetch("https://res-a-me.resilientdb.com/loadUser",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")}})).json();if(d.status===200)c=!0;else if(d.msg==="Token has expired"){const v=await(await fetch("https://res-a-me.resilientdb.com/refresh",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("refresh_token")}})).json();if(v.status===200)sessionStorage.setItem("access_token",v.access_token),c=!0;else throw new Error("Refresh Token Expired!!! Please Log In Again")}}catch(u){console.error("There was an error!",u)}console.log("isAuthenticated = ",c),o.name==="login"&&c?r({name:n.id}):i.includes(o.name)&&!c?r({name:"login"}):r()}),s}const LD={class:"loader-full-screen-content"},BD={class:"mt-2 mb-2 text-2"},ep=1/60,ND={__name:"Loader",emits:["willShow","shown","completed","willHide","hidden"],setup(e,{expose:t,emit:n}){const i=n,a=[{id:0,label:"startingUp",duration:null},{id:1,label:"logoTweenIn",duration:.5},{id:2,label:"progressTweenIn",duration:.3},{id:3,label:"loading",minDuration:.4},{id:4,label:"waiting",duration:.3},{id:5,label:"disappearing",duration:1.2}],s=Z(""),o=Z(""),l=Z(0),r=Z(null),c=Z(0),u=Z(-1);let d=0,f=null;_t(()=>{v()});const v=()=>{clearInterval(f),f=null,u.value=-1,d=0,c.value=0},m=(x,P)=>{s.value=x,o.value=P,u.value=0,f=setInterval(p,ep*1e3)},g=x=>{l.value=x},p=()=>{const x=a[u.value];d+=ep;let P=!1;switch(x.label){case"startingUp":P=r.value.isLoaded();break;case"loading":const C=Math.min(Math.max(100*d/x.minDuration,0),100);c.value=Math.round(Math.min(C,l.value)),P=c.value>=100;break;default:P=d>=x.duration}P&&y()},y=()=>{if(u.value++,d=0,u.value>=a.length){i("hidden"),v();return}switch(a[u.value].label){case"logoTweenIn":i("willShow");break;case"loading":i("shown");break;case"waiting":i("completed");break;case"disappearing":i("willHide");break}},b=x=>{const P=a.find(C=>C.label===x);return P&&u.value>=P.id},S=()=>u.value>=0&&u.valueS()?b("disappearing")?"loader-full-screen-transition":"loader-full-screen-show":"d-none";return t({run:m,setTaskProgress:g}),(x,P)=>S()?(me(),Te("div",{key:0,class:xt(["loader-full-screen",_()])},[ft(be("div",LD,[h(yh,{src:o.value,alt:"Preloader Logo","ignore-on-image-count":!0,ref_key:"logo",ref:r,class:"img-fluid img-logo"},null,8,["src"]),be("div",{class:xt(["progress-display",{"progress-display-expanded":b("progressTweenIn")}])},[be("p",BD,wt(s.value)+"...",1),h(Yb,{ref:"progressBar",percentage:c.value},null,8,["percentage"])],2)],512),[[mn,b("logoTweenIn")]])],2)):kt("",!0)}},FD=at(ND,[["__scopeId","data-v-e789e4ad"]]);const $D=e=>(Oa("data-v-c428fd9e"),e=e(),Ra(),e),zD={class:"activity-spinner-content text-center"},HD=$D(()=>be("img",{alt:"loading...",class:"preloader-gif",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0ibWFyZ2luOiBhdXRvOyBiYWNrZ3JvdW5kOiBub25lOyBkaXNwbGF5OiBibG9jazsgc2hhcGUtcmVuZGVyaW5nOiBhdXRvOyIgd2lkdGg9IjIwMHB4IiBoZWlnaHQ9IjIwMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgo8Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSIzMiIgc3Ryb2tlLXdpZHRoPSI4IiBzdHJva2U9IiM1NDUxNTEiIHN0cm9rZS1kYXNoYXJyYXk9IjUwLjI2NTQ4MjQ1NzQzNjY5IDUwLjI2NTQ4MjQ1NzQzNjY5IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCI+PC9hbmltYXRlVHJhbnNmb3JtPgo8L2NpcmNsZT4KPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iMjMiIHN0cm9rZS13aWR0aD0iOCIgc3Ryb2tlPSIjYzNjM2M1IiBzdHJva2UtZGFzaGFycmF5PSIzNi4xMjgzMTU1MTYyODI2MiAzNi4xMjgzMTU1MTYyODI2MiIgc3Ryb2tlLWRhc2hvZmZzZXQ9IjM2LjEyODMxNTUxNjI4MjYyIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOy0zNjAgNTAgNTAiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KPC9jaXJjbGU+CjwhLS0gW2xkaW9dIGdlbmVyYXRlZCBieSBodHRwczovL2xvYWRpbmcuaW8vIC0tPjwvc3ZnPg=="},null,-1)),jD={class:"text-light-5"},WD={__name:"ActivitySpinner",setup(e,{expose:t}){const n=Z(""),i=Z(!1);return t({show:o=>{n.value=o,i.value=!0},hide:()=>{i.value=!1}}),(o,l)=>(me(),Te("div",{class:xt(["activity-spinner",{"d-none":!i.value}])},[be("div",zD,[HD,be("h5",jD,wt(n.value),1)])],2))}},UD=at(WD,[["__scopeId","data-v-c428fd9e"]]);const YD={__name:"FeedbackView",setup(e,{expose:t}){const n=To(),i=Z(null),a=Z(null),s={onShown:null,onComplete:null},o=(m,g)=>{n.setPageScrollingEnabled(!1),i.value.run(m,g)},l=(m,g)=>{s.onShown=m,s.onComplete=g},r=m=>{i.value.setTaskProgress(m)},c=()=>{s.onShown&&s.onShown()},u=()=>{s.onComplete&&s.onComplete()},d=()=>{n.setPageScrollingEnabled(!0),s.onShown=null,s.onComplete=null};return t({setLoader:o,setLoaderListeners:l,updateLoaderProgress:r,showActivitySpinner:m=>{a.value.show(m)},hideActivitySpinner:()=>{a.value.hide()}}),(m,g)=>(me(),Te(Pe,null,[h(FD,{ref_key:"loader",ref:i,onShown:c,onCompleted:u,onWillHide:d},null,512),h(UD,{ref_key:"activitySpinner",ref:a},null,512)],64))}},KD=at(YD,[["__scopeId","data-v-78d8acb8"]]),GD={key:0},XD={__name:"App",setup(e){const t=Oi(),n=To(),i=Ba(),a=Z(null),s=Z(!1);let o=null;_t(()=>{n.setFeedbackView(a),r()});const l=w(()=>t.getSettings().preloaderEnabled),r=async()=>{clearInterval(o),l.value?(a.value.setLoaderListeners(c,d),a.value.setLoader(t.getString("loading"),"images/icons/resume.ico")):await c()},c=async()=>{o=setInterval(()=>{u()},1e3/30),await t.fetchAll(),l.value||(d(),n.setPageScrollingEnabled(!0))},u=()=>{if(!l.value)return;const f=t.getLoadProgress(),v=n.getImageCount();let m=0;v.total>0?m=Math.round(100*v.loaded/v.total):f===100&&(m=100);const g=(f+m*4)/5;a.value.updateLoaderProgress(g)},d=()=>{s.value=!0,clearInterval(o)};return(f,v)=>{const m=Ce("router-view");return me(),Te(Pe,null,[h(KD,{ref_key:"feedbackView",ref:a},null,512),Je(t).getLoadProgress()>=100?ft((me(),Te("div",GD,[h(m)],512)),[[mn,!Je(i).isTouchDevice()||s.value]]):kt("",!0)],64)}}},qD={badge:"Badge",open:"Open",close:"Close",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},ZD={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function mi(e,t){let n;function i(){n=Hc(),n.run(()=>t.length?t(()=>{n==null||n.stop(),i()}):t())}_e(e,a=>{a&&!n?i():a||(n==null||n.stop(),n=void 0)},{immediate:!0}),_n(()=>{n==null||n.stop()})}const yt=typeof window<"u",Dh=yt&&"IntersectionObserver"in window,JD=yt&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),tp=yt&&"EyeDropper"in window;function np(e,t,n){QD(e,t),t.set(e,n)}function QD(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function eO(e,t,n){var i=O_(e,t,"set");return tO(e,i,n),n}function tO(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function ts(e,t){var n=O_(e,t,"get");return nO(e,n)}function O_(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function nO(e,t){return t.get?t.get.call(e):t.value}function R_(e,t,n){const i=t.length-1;if(i<0)return e===void 0?n:e;for(let a=0;ata(e[i],t[i]))}function Ss(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),R_(e,t.split("."),n))}function rn(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const a=t(e,n);return typeof a>"u"?n:a}if(typeof t=="string")return Ss(e,t,n);if(Array.isArray(t))return R_(e,t,n);if(typeof t!="function")return n;const i=t(e,n);return typeof i>"u"?n:i}function Ti(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,i)=>t+i)}function Ee(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function Mc(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function $l(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const ip=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sf=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function L_(e){return Object.keys(e)}function ls(e,t){return t.every(n=>e.hasOwnProperty(n))}function B_(e,t){const n={},i=new Set(Object.keys(e));for(const a of t)i.has(a)&&(n[a]=e[a]);return n}function of(e,t,n){const i=Object.create(null),a=Object.create(null);for(const s in e)t.some(o=>o instanceof RegExp?o.test(s):o===s)&&!(n!=null&&n.some(o=>o===s))?i[s]=e[s]:a[s]=e[s];return[i,a]}function nn(e,t){const n={...e};return t.forEach(i=>delete n[i]),n}function N_(e,t){const n={};return t.forEach(i=>n[i]=e[i]),n}const F_=/^on[^a-z]/,fu=e=>F_.test(e),iO=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],aO=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function sO(e){return e.isComposing&&aO.includes(e.key)}function Fa(e){const[t,n]=of(e,[F_]),i=nn(t,iO),[a,s]=of(n,["class","style","id",/^data-/]);return Object.assign(a,t),Object.assign(s,i),[a,s]}function Ht(e){return e==null?[]:Array.isArray(e)?e:[e]}function oO(e,t){let n=0;const i=function(){for(var a=arguments.length,s=new Array(a),o=0;oe(...s),Je(t))};return i.clear=()=>{clearTimeout(n)},i.immediate=e,i}function Zt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function ap(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function sp(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function op(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function lO(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let i=0;for(;i1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&i0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const i={};for(const a in e)i[a]=e[a];for(const a in t){const s=e[a],o=t[a];if(Mc(s)&&Mc(o)){i[a]=si(s,o,n);continue}if(Array.isArray(s)&&Array.isArray(o)&&n){i[a]=n(s,o);continue}i[a]=o}return i}function $_(e){return e.map(t=>t.type===Pe?$_(t.children):t).flat()}function ms(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(ms.cache.has(e))return ms.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ms.cache.set(e,t),t}ms.cache=new Map;function Sl(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Sl(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>Sl(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Sl(e,t.component.subTree).flat(1)}return[]}var Yr=new WeakMap,qs=new WeakMap;class rO{constructor(t){np(this,Yr,{writable:!0,value:[]}),np(this,qs,{writable:!0,value:0}),this.size=t}push(t){ts(this,Yr)[ts(this,qs)]=t,eO(this,qs,(ts(this,qs)+1)%this.size)}values(){return ts(this,Yr).slice(ts(this,qs)).concat(ts(this,Yr).slice(0,ts(this,qs)))}}function cO(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}function Oh(e){const t=Ft({}),n=w(e);return Jt(()=>{for(const i in n.value)t[i]=n.value[i]},{flush:"sync"}),Ql(t)}function Ec(e,t){return e.includes(t)}function z_(e){return e[2].toLowerCase()+e.slice(3)}const Bn=()=>[Function,Array];function rp(e,t){return t="on"+bi(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function Rh(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(i=>`${i}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function H_(e,t,n){let i,a=e.indexOf(document.activeElement);const s=t==="next"?1:-1;do a+=s,i=e[a];while((!i||i.offsetParent==null||!((n==null?void 0:n(i))??!0))&&a=0);return i}function _o(e,t){var i,a,s,o;const n=zl(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((i=n[0])==null||i.focus());else if(t==="first")(a=n[0])==null||a.focus();else if(t==="last")(s=n.at(-1))==null||s.focus();else if(typeof t=="number")(o=n[t])==null||o.focus();else{const l=H_(n,t);l?l.focus():_o(e,t==="next"?"first":"last")}}function Kr(e){return e==null||typeof e=="string"&&e.trim()===""}function j_(){}function xo(e,t){if(!(yt&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function hu(e){return e.some(t=>Xi(t)?t.type===vn?!1:t.type!==Pe||hu(t.children):!0)?e:null}const W_=["top","bottom"],uO=["start","end","left","right"];function lf(e,t){let[n,i]=e.split(" ");return i||(i=Ec(W_,n)?"start":Ec(uO,n)?"top":"center"),{side:rf(n,t),align:rf(i,t)}}function rf(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function yd(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function bd(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function cp(e){return{side:e.align,align:e.side}}function up(e){return Ec(W_,e.side)?"y":"x"}class gs{constructor(t){let{x:n,y:i,width:a,height:s}=t;this.x=n,this.y=i,this.width=a,this.height=s}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function dp(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function U_(e){return Array.isArray(e)?new gs({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Lh(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),i=n.transform;if(i){let a,s,o,l,r;if(i.startsWith("matrix3d("))a=i.slice(9,-1).split(/, /),s=+a[0],o=+a[5],l=+a[12],r=+a[13];else if(i.startsWith("matrix("))a=i.slice(7,-1).split(/, /),s=+a[0],o=+a[3],l=+a[4],r=+a[5];else return new gs(t);const c=n.transformOrigin,u=t.x-l-(1-s)*parseFloat(c),d=t.y-r-(1-o)*parseFloat(c.slice(c.indexOf(" ")+1)),f=s?t.width/s:e.offsetWidth+1,v=o?t.height/o:e.offsetHeight+1;return new gs({x:u,y:d,width:f,height:v})}else return new gs(t)}function rs(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let i;try{i=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof i.finished>"u"&&(i.finished=new Promise(a=>{i.onfinish=()=>{a(i)}})),i}const ac=new WeakMap;function dO(e,t){Object.keys(t).forEach(n=>{if(fu(n)){const i=z_(n),a=ac.get(e);if(t[n]==null)a==null||a.forEach(s=>{const[o,l]=s;o===i&&(e.removeEventListener(i,l),a.delete(s))});else if(!a||![...a].some(s=>s[0]===i&&s[1]===t[n])){e.addEventListener(i,t[n]);const s=a||new Set;s.add([i,t[n]]),ac.has(e)||ac.set(e,s)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function fO(e,t){Object.keys(t).forEach(n=>{if(fu(n)){const i=z_(n),a=ac.get(e);a==null||a.forEach(s=>{const[o,l]=s;o===i&&(e.removeEventListener(i,l),a.delete(s))})}else e.removeAttribute(n)})}const Zs=2.4,fp=.2126729,hp=.7151522,vp=.072175,hO=.55,vO=.58,mO=.57,gO=.62,Gr=.03,mp=1.45,pO=5e-4,yO=1.25,bO=1.25,gp=.078,pp=12.82051282051282,Xr=.06,yp=.001;function bp(e,t){const n=(e.r/255)**Zs,i=(e.g/255)**Zs,a=(e.b/255)**Zs,s=(t.r/255)**Zs,o=(t.g/255)**Zs,l=(t.b/255)**Zs;let r=n*fp+i*hp+a*vp,c=s*fp+o*hp+l*vp;if(r<=Gr&&(r+=(Gr-r)**mp),c<=Gr&&(c+=(Gr-c)**mp),Math.abs(c-r)r){const d=(c**hO-r**vO)*yO;u=d-yp?0:d>-gp?d-d*pp*Xr:d+Xr}return u*100}function _O(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Dc=.20689655172413793,xO=e=>e>Dc**3?Math.cbrt(e):e/(3*Dc**2)+4/29,SO=e=>e>Dc?e**3:3*Dc**2*(e-4/29);function Y_(e){const t=xO,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function K_(e){const t=SO,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const wO=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],kO=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,CO=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],PO=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function G_(e){const t=Array(3),n=kO,i=wO;for(let a=0;a<3;++a)t[a]=Math.round(Zt(n(i[a][0]*e[0]+i[a][1]*e[1]+i[a][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Bh(e){let{r:t,g:n,b:i}=e;const a=[0,0,0],s=PO,o=CO;t=s(t/255),n=s(n/255),i=s(i/255);for(let l=0;l<3;++l)a[l]=o[l][0]*t+o[l][1]*n+o[l][2]*i;return a}function cf(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function IO(e){return cf(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const _p=/^(?(?:rgb|hsl)a?)\((?.+)\)/,VO={rgb:(e,t,n,i)=>({r:e,g:t,b:n,a:i}),rgba:(e,t,n,i)=>({r:e,g:t,b:n,a:i}),hsl:(e,t,n,i)=>xp({h:e,s:t,l:n,a:i}),hsla:(e,t,n,i)=>xp({h:e,s:t,l:n,a:i}),hsv:(e,t,n,i)=>qi({h:e,s:t,v:n,a:i}),hsva:(e,t,n,i)=>qi({h:e,s:t,v:n,a:i})};function oi(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&_p.test(e)){const{groups:t}=e.match(_p),{fn:n,values:i}=t,a=i.split(/,\s*/).map(s=>s.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(s)/100:parseFloat(s));return VO[n](...a)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),Q_(t)}else if(typeof e=="object"){if(ls(e,["r","g","b"]))return e;if(ls(e,["h","s","l"]))return qi(Nh(e));if(ls(e,["h","s","v"]))return qi(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g(L,k){if(typeof L!="object"||L===null)return L;var T=L[Symbol.toPrimitive];if(T!==void 0){var A=T.call(L,k||"default");if(typeof A!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(L)}function p(L){var k=g(L,"string");return typeof k=="symbol"?k:String(k)}var y=typeof window<"u"&&typeof window.document<"u",b=y?window:{},S=y&&b.document.documentElement?"ontouchstart"in b.document.documentElement:!1,_=y?"PointerEvent"in b:!1,x="cropper",P="all",C="crop",V="move",I="zoom",M="e",O="w",D="s",N="n",j="ne",Y="nw",K="se",J="sw",B="".concat(x,"-crop"),G="".concat(x,"-disabled"),ee="".concat(x,"-hidden"),le="".concat(x,"-hide"),ce="".concat(x,"-invisible"),ge="".concat(x,"-modal"),Me="".concat(x,"-move"),Oe="".concat(x,"Action"),te="".concat(x,"Preview"),U="crop",Q="move",ie="none",X="crop",Ie="cropend",E="cropmove",R="cropstart",F="dblclick",q=S?"touchstart":"mousedown",oe=S?"touchmove":"mousemove",he=S?"touchend touchcancel":"mouseup",we=_?"pointerdown":q,xe=_?"pointermove":oe,Ve=_?"pointerup pointercancel":he,pe="ready",Ne="resize",Le="wheel",Fe="zoom",Ue="image/jpeg",qe=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,gt=/^data:/,rt=/^data:image\/jpeg;base64,/,Bt=/^img|canvas$/i,An=200,Li=100,$o={viewMode:0,dragMode:U,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:An,minContainerHeight:Li,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},Wa='
',gr=Number.isNaN||b.isNaN;function ze(L){return typeof L=="number"&&!gr(L)}var $n=function(k){return k>0&&k<1/0};function $s(L){return typeof L>"u"}function Ua(L){return a(L)==="object"&&L!==null}var RS=Object.prototype.hasOwnProperty;function zs(L){if(!Ua(L))return!1;try{var k=L.constructor,T=k.prototype;return k&&T&&RS.call(T,"isPrototypeOf")}catch{return!1}}function Tn(L){return typeof L=="function"}var LS=Array.prototype.slice;function wv(L){return Array.from?Array.from(L):LS.call(L)}function Gt(L,k){return L&&Tn(k)&&(Array.isArray(L)||ze(L.length)?wv(L).forEach(function(T,A){k.call(L,T,A,L)}):Ua(L)&&Object.keys(L).forEach(function(T){k.call(L,L[T],T,L)})),L}var It=Object.assign||function(k){for(var T=arguments.length,A=new Array(T>1?T-1:0),H=1;H0&&A.forEach(function($){Ua($)&&Object.keys($).forEach(function(z){k[z]=$[z]})}),k},BS=/\.\d*(?:0|9){12}\d*$/;function Hs(L){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return BS.test(L)?Math.round(L*k)/k:L}var NS=/^width|height|left|top|marginLeft|marginTop$/;function oa(L,k){var T=L.style;Gt(k,function(A,H){NS.test(H)&&ze(A)&&(A="".concat(A,"px")),T[H]=A})}function FS(L,k){return L.classList?L.classList.contains(k):L.className.indexOf(k)>-1}function on(L,k){if(k){if(ze(L.length)){Gt(L,function(A){on(A,k)});return}if(L.classList){L.classList.add(k);return}var T=L.className.trim();T?T.indexOf(k)<0&&(L.className="".concat(T," ").concat(k)):L.className=k}}function xi(L,k){if(k){if(ze(L.length)){Gt(L,function(T){xi(T,k)});return}if(L.classList){L.classList.remove(k);return}L.className.indexOf(k)>=0&&(L.className=L.className.replace(k,""))}}function js(L,k,T){if(k){if(ze(L.length)){Gt(L,function(A){js(A,k,T)});return}T?on(L,k):xi(L,k)}}var $S=/([a-z\d])([A-Z])/g;function Uu(L){return L.replace($S,"$1-$2").toLowerCase()}function Yu(L,k){return Ua(L[k])?L[k]:L.dataset?L.dataset[k]:L.getAttribute("data-".concat(Uu(k)))}function zo(L,k,T){Ua(T)?L[k]=T:L.dataset?L.dataset[k]=T:L.setAttribute("data-".concat(Uu(k)),T)}function zS(L,k){if(Ua(L[k]))try{delete L[k]}catch{L[k]=void 0}else if(L.dataset)try{delete L.dataset[k]}catch{L.dataset[k]=void 0}else L.removeAttribute("data-".concat(Uu(k)))}var kv=/\s\s*/,Cv=function(){var L=!1;if(y){var k=!1,T=function(){},A=Object.defineProperty({},"once",{get:function(){return L=!0,k},set:function($){k=$}});b.addEventListener("test",T,A),b.removeEventListener("test",T,A)}return L}();function di(L,k,T){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},H=T;k.trim().split(kv).forEach(function($){if(!Cv){var z=L.listeners;z&&z[$]&&z[$][T]&&(H=z[$][T],delete z[$][T],Object.keys(z[$]).length===0&&delete z[$],Object.keys(z).length===0&&delete L.listeners)}L.removeEventListener($,H,A)})}function Jn(L,k,T){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},H=T;k.trim().split(kv).forEach(function($){if(A.once&&!Cv){var z=L.listeners,re=z===void 0?{}:z;H=function(){delete re[$][T],L.removeEventListener($,H,A);for(var ye=arguments.length,ue=new Array(ye),de=0;deMath.abs(T)&&(T=ke)})}),T}function pr(L,k){var T=L.pageX,A=L.pageY,H={endX:T,endY:A};return k?H:i({startX:T,startY:A},H)}function WS(L){var k=0,T=0,A=0;return Gt(L,function(H){var $=H.startX,z=H.startY;k+=$,T+=z,A+=1}),k/=A,T/=A,{pageX:k,pageY:T}}function la(L){var k=L.aspectRatio,T=L.height,A=L.width,H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",$=$n(A),z=$n(T);if($&&z){var re=T*k;H==="contain"&&re>A||H==="cover"&&re90?{width:Ae,height:re}:{width:re,height:Ae}}function YS(L,k,T,A){var H=k.aspectRatio,$=k.naturalWidth,z=k.naturalHeight,re=k.rotate,Ae=re===void 0?0:re,ye=k.scaleX,ue=ye===void 0?1:ye,de=k.scaleY,ke=de===void 0?1:de,nt=T.aspectRatio,et=T.naturalWidth,Vt=T.naturalHeight,ct=A.fillColor,en=ct===void 0?"transparent":ct,ln=A.imageSmoothingEnabled,Xt=ln===void 0?!0:ln,Bi=A.imageSmoothingQuality,zn=Bi===void 0?"low":Bi,De=A.maxWidth,ut=De===void 0?1/0:De,tn=A.maxHeight,Qn=tn===void 0?1/0:tn,Ni=A.minWidth,Ya=Ni===void 0?0:Ni,Ka=A.minHeight,ra=Ka===void 0?0:Ka,Si=document.createElement("canvas"),Mn=Si.getContext("2d"),Ga=la({aspectRatio:nt,width:ut,height:Qn}),yr=la({aspectRatio:nt,width:Ya,height:ra},"cover"),Gu=Math.min(Ga.width,Math.max(yr.width,et)),Xu=Math.min(Ga.height,Math.max(yr.height,Vt)),Mv=la({aspectRatio:H,width:ut,height:Qn}),Ev=la({aspectRatio:H,width:Ya,height:ra},"cover"),Dv=Math.min(Mv.width,Math.max(Ev.width,$)),Ov=Math.min(Mv.height,Math.max(Ev.height,z)),ow=[-Dv/2,-Ov/2,Dv,Ov];return Si.width=Hs(Gu),Si.height=Hs(Xu),Mn.fillStyle=en,Mn.fillRect(0,0,Gu,Xu),Mn.save(),Mn.translate(Gu/2,Xu/2),Mn.rotate(Ae*Math.PI/180),Mn.scale(ue,ke),Mn.imageSmoothingEnabled=Xt,Mn.imageSmoothingQuality=zn,Mn.drawImage.apply(Mn,[L].concat(c(ow.map(function(lw){return Math.floor(Hs(lw))})))),Mn.restore(),Si}var Av=String.fromCharCode;function KS(L,k,T){var A="";T+=k;for(var H=k;H0;)T.push(Av.apply(null,wv(H.subarray(0,A)))),H=H.subarray(A);return"data:".concat(k,";base64,").concat(btoa(T.join("")))}function ZS(L){var k=new DataView(L),T;try{var A,H,$;if(k.getUint8(0)===255&&k.getUint8(1)===216)for(var z=k.byteLength,re=2;re+1=8&&($=ye+de)}}}if($){var ke=k.getUint16($,A),nt,et;for(et=0;et=0?$:An),height:Math.max(A.offsetHeight,z>=0?z:Li)};this.containerData=re,oa(H,{width:re.width,height:re.height}),on(k,ee),xi(H,ee)},initCanvas:function(){var k=this.containerData,T=this.imageData,A=this.options.viewMode,H=Math.abs(T.rotate)%180===90,$=H?T.naturalHeight:T.naturalWidth,z=H?T.naturalWidth:T.naturalHeight,re=$/z,Ae=k.width,ye=k.height;k.height*re>k.width?A===3?Ae=k.height*re:ye=k.width/re:A===3?ye=k.width/re:Ae=k.height*re;var ue={aspectRatio:re,naturalWidth:$,naturalHeight:z,width:Ae,height:ye};this.canvasData=ue,this.limited=A===1||A===2,this.limitCanvas(!0,!0),ue.width=Math.min(Math.max(ue.width,ue.minWidth),ue.maxWidth),ue.height=Math.min(Math.max(ue.height,ue.minHeight),ue.maxHeight),ue.left=(k.width-ue.width)/2,ue.top=(k.height-ue.height)/2,ue.oldLeft=ue.left,ue.oldTop=ue.top,this.initialCanvasData=It({},ue)},limitCanvas:function(k,T){var A=this.options,H=this.containerData,$=this.canvasData,z=this.cropBoxData,re=A.viewMode,Ae=$.aspectRatio,ye=this.cropped&&z;if(k){var ue=Number(A.minCanvasWidth)||0,de=Number(A.minCanvasHeight)||0;re>1?(ue=Math.max(ue,H.width),de=Math.max(de,H.height),re===3&&(de*Ae>ue?ue=de*Ae:de=ue/Ae)):re>0&&(ue?ue=Math.max(ue,ye?z.width:0):de?de=Math.max(de,ye?z.height:0):ye&&(ue=z.width,de=z.height,de*Ae>ue?ue=de*Ae:de=ue/Ae));var ke=la({aspectRatio:Ae,width:ue,height:de});ue=ke.width,de=ke.height,$.minWidth=ue,$.minHeight=de,$.maxWidth=1/0,$.maxHeight=1/0}if(T)if(re>(ye?0:1)){var nt=H.width-$.width,et=H.height-$.height;$.minLeft=Math.min(0,nt),$.minTop=Math.min(0,et),$.maxLeft=Math.max(0,nt),$.maxTop=Math.max(0,et),ye&&this.limited&&($.minLeft=Math.min(z.left,z.left+(z.width-$.width)),$.minTop=Math.min(z.top,z.top+(z.height-$.height)),$.maxLeft=z.left,$.maxTop=z.top,re===2&&($.width>=H.width&&($.minLeft=Math.min(0,nt),$.maxLeft=Math.max(0,nt)),$.height>=H.height&&($.minTop=Math.min(0,et),$.maxTop=Math.max(0,et))))}else $.minLeft=-$.width,$.minTop=-$.height,$.maxLeft=H.width,$.maxTop=H.height},renderCanvas:function(k,T){var A=this.canvasData,H=this.imageData;if(T){var $=US({width:H.naturalWidth*Math.abs(H.scaleX||1),height:H.naturalHeight*Math.abs(H.scaleY||1),degree:H.rotate||0}),z=$.width,re=$.height,Ae=A.width*(z/A.naturalWidth),ye=A.height*(re/A.naturalHeight);A.left-=(Ae-A.width)/2,A.top-=(ye-A.height)/2,A.width=Ae,A.height=ye,A.aspectRatio=z/re,A.naturalWidth=z,A.naturalHeight=re,this.limitCanvas(!0,!1)}(A.width>A.maxWidth||A.widthA.maxHeight||A.heightT.width?$.height=$.width/A:$.width=$.height*A),this.cropBoxData=$,this.limitCropBox(!0,!0),$.width=Math.min(Math.max($.width,$.minWidth),$.maxWidth),$.height=Math.min(Math.max($.height,$.minHeight),$.maxHeight),$.width=Math.max($.minWidth,$.width*H),$.height=Math.max($.minHeight,$.height*H),$.left=T.left+(T.width-$.width)/2,$.top=T.top+(T.height-$.height)/2,$.oldLeft=$.left,$.oldTop=$.top,this.initialCropBoxData=It({},$)},limitCropBox:function(k,T){var A=this.options,H=this.containerData,$=this.canvasData,z=this.cropBoxData,re=this.limited,Ae=A.aspectRatio;if(k){var ye=Number(A.minCropBoxWidth)||0,ue=Number(A.minCropBoxHeight)||0,de=re?Math.min(H.width,$.width,$.width+$.left,H.width-$.left):H.width,ke=re?Math.min(H.height,$.height,$.height+$.top,H.height-$.top):H.height;ye=Math.min(ye,H.width),ue=Math.min(ue,H.height),Ae&&(ye&&ue?ue*Ae>ye?ue=ye/Ae:ye=ue*Ae:ye?ue=ye/Ae:ue&&(ye=ue*Ae),ke*Ae>de?ke=de/Ae:de=ke*Ae),z.minWidth=Math.min(ye,de),z.minHeight=Math.min(ue,ke),z.maxWidth=de,z.maxHeight=ke}T&&(re?(z.minLeft=Math.max(0,$.left),z.minTop=Math.max(0,$.top),z.maxLeft=Math.min(H.width,$.left+$.width)-z.width,z.maxTop=Math.min(H.height,$.top+$.height)-z.height):(z.minLeft=0,z.minTop=0,z.maxLeft=H.width-z.width,z.maxTop=H.height-z.height))},renderCropBox:function(){var k=this.options,T=this.containerData,A=this.cropBoxData;(A.width>A.maxWidth||A.widthA.maxHeight||A.height=T.width&&A.height>=T.height?V:P),oa(this.cropBox,It({width:A.width,height:A.height},Ho({translateX:A.left,translateY:A.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Ws(this.element,X,this.getData())}},ew={initPreview:function(){var k=this.element,T=this.crossOrigin,A=this.options.preview,H=T?this.crossOriginUrl:this.url,$=k.alt||"The image to preview",z=document.createElement("img");if(T&&(z.crossOrigin=T),z.src=H,z.alt=$,this.viewBox.appendChild(z),this.viewBoxImage=z,!!A){var re=A;typeof A=="string"?re=k.ownerDocument.querySelectorAll(A):A.querySelector&&(re=[A]),this.previews=re,Gt(re,function(Ae){var ye=document.createElement("img");zo(Ae,te,{width:Ae.offsetWidth,height:Ae.offsetHeight,html:Ae.innerHTML}),T&&(ye.crossOrigin=T),ye.src=H,ye.alt=$,ye.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',Ae.innerHTML="",Ae.appendChild(ye)})}},resetPreview:function(){Gt(this.previews,function(k){var T=Yu(k,te);oa(k,{width:T.width,height:T.height}),k.innerHTML=T.html,zS(k,te)})},preview:function(){var k=this.imageData,T=this.canvasData,A=this.cropBoxData,H=A.width,$=A.height,z=k.width,re=k.height,Ae=A.left-T.left-k.left,ye=A.top-T.top-k.top;!this.cropped||this.disabled||(oa(this.viewBoxImage,It({width:z,height:re},Ho(It({translateX:-Ae,translateY:-ye},k)))),Gt(this.previews,function(ue){var de=Yu(ue,te),ke=de.width,nt=de.height,et=ke,Vt=nt,ct=1;H&&(ct=ke/H,Vt=$*ct),$&&Vt>nt&&(ct=nt/$,et=H*ct,Vt=nt),oa(ue,{width:et,height:Vt}),oa(ue.getElementsByTagName("img")[0],It({width:z*ct,height:re*ct},Ho(It({translateX:-Ae*ct,translateY:-ye*ct},k))))}))}},tw={bind:function(){var k=this.element,T=this.options,A=this.cropper;Tn(T.cropstart)&&Jn(k,R,T.cropstart),Tn(T.cropmove)&&Jn(k,E,T.cropmove),Tn(T.cropend)&&Jn(k,Ie,T.cropend),Tn(T.crop)&&Jn(k,X,T.crop),Tn(T.zoom)&&Jn(k,Fe,T.zoom),Jn(A,we,this.onCropStart=this.cropStart.bind(this)),T.zoomable&&T.zoomOnWheel&&Jn(A,Le,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),T.toggleDragModeOnDblclick&&Jn(A,F,this.onDblclick=this.dblclick.bind(this)),Jn(k.ownerDocument,xe,this.onCropMove=this.cropMove.bind(this)),Jn(k.ownerDocument,Ve,this.onCropEnd=this.cropEnd.bind(this)),T.responsive&&Jn(window,Ne,this.onResize=this.resize.bind(this))},unbind:function(){var k=this.element,T=this.options,A=this.cropper;Tn(T.cropstart)&&di(k,R,T.cropstart),Tn(T.cropmove)&&di(k,E,T.cropmove),Tn(T.cropend)&&di(k,Ie,T.cropend),Tn(T.crop)&&di(k,X,T.crop),Tn(T.zoom)&&di(k,Fe,T.zoom),di(A,we,this.onCropStart),T.zoomable&&T.zoomOnWheel&&di(A,Le,this.onWheel,{passive:!1,capture:!0}),T.toggleDragModeOnDblclick&&di(A,F,this.onDblclick),di(k.ownerDocument,xe,this.onCropMove),di(k.ownerDocument,Ve,this.onCropEnd),T.responsive&&di(window,Ne,this.onResize)}},nw={resize:function(){if(!this.disabled){var k=this.options,T=this.container,A=this.containerData,H=T.offsetWidth/A.width,$=T.offsetHeight/A.height,z=Math.abs(H-1)>Math.abs($-1)?H:$;if(z!==1){var re,Ae;k.restore&&(re=this.getCanvasData(),Ae=this.getCropBoxData()),this.render(),k.restore&&(this.setCanvasData(Gt(re,function(ye,ue){re[ue]=ye*z})),this.setCropBoxData(Gt(Ae,function(ye,ue){Ae[ue]=ye*z})))}}},dblclick:function(){this.disabled||this.options.dragMode===ie||this.setDragMode(FS(this.dragBox,B)?Q:U)},wheel:function(k){var T=this,A=Number(this.options.wheelZoomRatio)||.1,H=1;this.disabled||(k.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){T.wheeling=!1},50),k.deltaY?H=k.deltaY>0?1:-1:k.wheelDelta?H=-k.wheelDelta/120:k.detail&&(H=k.detail>0?1:-1),this.zoom(-H*A,k)))},cropStart:function(k){var T=k.buttons,A=k.button;if(!(this.disabled||(k.type==="mousedown"||k.type==="pointerdown"&&k.pointerType==="mouse")&&(ze(T)&&T!==1||ze(A)&&A!==0||k.ctrlKey))){var H=this.options,$=this.pointers,z;k.changedTouches?Gt(k.changedTouches,function(re){$[re.identifier]=pr(re)}):$[k.pointerId||0]=pr(k),Object.keys($).length>1&&H.zoomable&&H.zoomOnTouch?z=I:z=Yu(k.target,Oe),qe.test(z)&&Ws(this.element,R,{originalEvent:k,action:z})!==!1&&(k.preventDefault(),this.action=z,this.cropping=!1,z===C&&(this.cropping=!0,on(this.dragBox,ge)))}},cropMove:function(k){var T=this.action;if(!(this.disabled||!T)){var A=this.pointers;k.preventDefault(),Ws(this.element,E,{originalEvent:k,action:T})!==!1&&(k.changedTouches?Gt(k.changedTouches,function(H){It(A[H.identifier]||{},pr(H,!0))}):It(A[k.pointerId||0]||{},pr(k,!0)),this.change(k))}},cropEnd:function(k){if(!this.disabled){var T=this.action,A=this.pointers;k.changedTouches?Gt(k.changedTouches,function(H){delete A[H.identifier]}):delete A[k.pointerId||0],T&&(k.preventDefault(),Object.keys(A).length||(this.action=""),this.cropping&&(this.cropping=!1,js(this.dragBox,ge,this.cropped&&this.options.modal)),Ws(this.element,Ie,{originalEvent:k,action:T}))}}},iw={change:function(k){var T=this.options,A=this.canvasData,H=this.containerData,$=this.cropBoxData,z=this.pointers,re=this.action,Ae=T.aspectRatio,ye=$.left,ue=$.top,de=$.width,ke=$.height,nt=ye+de,et=ue+ke,Vt=0,ct=0,en=H.width,ln=H.height,Xt=!0,Bi;!Ae&&k.shiftKey&&(Ae=de&&ke?de/ke:1),this.limited&&(Vt=$.minLeft,ct=$.minTop,en=Vt+Math.min(H.width,A.width,A.left+A.width),ln=ct+Math.min(H.height,A.height,A.top+A.height));var zn=z[Object.keys(z)[0]],De={x:zn.endX-zn.startX,y:zn.endY-zn.startY},ut=function(Qn){switch(Qn){case M:nt+De.x>en&&(De.x=en-nt);break;case O:ye+De.xln&&(De.y=ln-et);break}};switch(re){case P:ye+=De.x,ue+=De.y;break;case M:if(De.x>=0&&(nt>=en||Ae&&(ue<=ct||et>=ln))){Xt=!1;break}ut(M),de+=De.x,de<0&&(re=O,de=-de,ye-=de),Ae&&(ke=de/Ae,ue+=($.height-ke)/2);break;case N:if(De.y<=0&&(ue<=ct||Ae&&(ye<=Vt||nt>=en))){Xt=!1;break}ut(N),ke-=De.y,ue+=De.y,ke<0&&(re=D,ke=-ke,ue-=ke),Ae&&(de=ke*Ae,ye+=($.width-de)/2);break;case O:if(De.x<=0&&(ye<=Vt||Ae&&(ue<=ct||et>=ln))){Xt=!1;break}ut(O),de-=De.x,ye+=De.x,de<0&&(re=M,de=-de,ye-=de),Ae&&(ke=de/Ae,ue+=($.height-ke)/2);break;case D:if(De.y>=0&&(et>=ln||Ae&&(ye<=Vt||nt>=en))){Xt=!1;break}ut(D),ke+=De.y,ke<0&&(re=N,ke=-ke,ue-=ke),Ae&&(de=ke*Ae,ye+=($.width-de)/2);break;case j:if(Ae){if(De.y<=0&&(ue<=ct||nt>=en)){Xt=!1;break}ut(N),ke-=De.y,ue+=De.y,de=ke*Ae}else ut(N),ut(M),De.x>=0?ntct&&(ke-=De.y,ue+=De.y):(ke-=De.y,ue+=De.y);de<0&&ke<0?(re=J,ke=-ke,de=-de,ue-=ke,ye-=de):de<0?(re=Y,de=-de,ye-=de):ke<0&&(re=K,ke=-ke,ue-=ke);break;case Y:if(Ae){if(De.y<=0&&(ue<=ct||ye<=Vt)){Xt=!1;break}ut(N),ke-=De.y,ue+=De.y,de=ke*Ae,ye+=$.width-de}else ut(N),ut(O),De.x<=0?ye>Vt?(de-=De.x,ye+=De.x):De.y<=0&&ue<=ct&&(Xt=!1):(de-=De.x,ye+=De.x),De.y<=0?ue>ct&&(ke-=De.y,ue+=De.y):(ke-=De.y,ue+=De.y);de<0&&ke<0?(re=K,ke=-ke,de=-de,ue-=ke,ye-=de):de<0?(re=j,de=-de,ye-=de):ke<0&&(re=J,ke=-ke,ue-=ke);break;case J:if(Ae){if(De.x<=0&&(ye<=Vt||et>=ln)){Xt=!1;break}ut(O),de-=De.x,ye+=De.x,ke=de/Ae}else ut(D),ut(O),De.x<=0?ye>Vt?(de-=De.x,ye+=De.x):De.y>=0&&et>=ln&&(Xt=!1):(de-=De.x,ye+=De.x),De.y>=0?et=0&&(nt>=en||et>=ln)){Xt=!1;break}ut(M),de+=De.x,ke=de/Ae}else ut(D),ut(M),De.x>=0?nt=0&&et>=ln&&(Xt=!1):de+=De.x,De.y>=0?et0?re=De.y>0?K:j:De.x<0&&(ye-=de,re=De.y>0?J:Y),De.y<0&&(ue-=ke),this.cropped||(xi(this.cropBox,ee),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}Xt&&($.width=de,$.height=ke,$.left=ye,$.top=ue,this.action=re,this.renderCropBox()),Gt(z,function(tn){tn.startX=tn.endX,tn.startY=tn.endY})}},aw={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&on(this.dragBox,ge),xi(this.cropBox,ee),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=It({},this.initialImageData),this.canvasData=It({},this.initialCanvasData),this.cropBoxData=It({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(It(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),xi(this.dragBox,ge),on(this.cropBox,ee)),this},replace:function(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&k&&(this.isImg&&(this.element.src=k),T?(this.url=k,this.image.src=k,this.ready&&(this.viewBoxImage.src=k,Gt(this.previews,function(A){A.getElementsByTagName("img")[0].src=k}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(k))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,xi(this.cropper,G)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,on(this.cropper,G)),this},destroy:function(){var k=this.element;return k[x]?(k[x]=void 0,this.isImg&&this.replaced&&(k.src=this.originalUrl),this.uncreate(),this):this},move:function(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k,A=this.canvasData,H=A.left,$=A.top;return this.moveTo($s(k)?k:H+Number(k),$s(T)?T:$+Number(T))},moveTo:function(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k,A=this.canvasData,H=!1;return k=Number(k),T=Number(T),this.ready&&!this.disabled&&this.options.movable&&(ze(k)&&(A.left=k,H=!0),ze(T)&&(A.top=T,H=!0),H&&this.renderCanvas(!0)),this},zoom:function(k,T){var A=this.canvasData;return k=Number(k),k<0?k=1/(1-k):k=1+k,this.zoomTo(A.width*k/A.naturalWidth,null,T)},zoomTo:function(k,T,A){var H=this.options,$=this.canvasData,z=$.width,re=$.height,Ae=$.naturalWidth,ye=$.naturalHeight;if(k=Number(k),k>=0&&this.ready&&!this.disabled&&H.zoomable){var ue=Ae*k,de=ye*k;if(Ws(this.element,Fe,{ratio:k,oldRatio:z/Ae,originalEvent:A})===!1)return this;if(A){var ke=this.pointers,nt=Pv(this.cropper),et=ke&&Object.keys(ke).length?WS(ke):{pageX:A.pageX,pageY:A.pageY};$.left-=(ue-z)*((et.pageX-nt.left-$.left)/z),$.top-=(de-re)*((et.pageY-nt.top-$.top)/re)}else zs(T)&&ze(T.x)&&ze(T.y)?($.left-=(ue-z)*((T.x-$.left)/z),$.top-=(de-re)*((T.y-$.top)/re)):($.left-=(ue-z)/2,$.top-=(de-re)/2);$.width=ue,$.height=de,this.renderCanvas(!0)}return this},rotate:function(k){return this.rotateTo((this.imageData.rotate||0)+Number(k))},rotateTo:function(k){return k=Number(k),ze(k)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=k%360,this.renderCanvas(!0,!0)),this},scaleX:function(k){var T=this.imageData.scaleY;return this.scale(k,ze(T)?T:1)},scaleY:function(k){var T=this.imageData.scaleX;return this.scale(ze(T)?T:1,k)},scale:function(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k,A=this.imageData,H=!1;return k=Number(k),T=Number(T),this.ready&&!this.disabled&&this.options.scalable&&(ze(k)&&(A.scaleX=k,H=!0),ze(T)&&(A.scaleY=T,H=!0),H&&this.renderCanvas(!0,!0)),this},getData:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,T=this.options,A=this.imageData,H=this.canvasData,$=this.cropBoxData,z;if(this.ready&&this.cropped){z={x:$.left-H.left,y:$.top-H.top,width:$.width,height:$.height};var re=A.width/A.naturalWidth;if(Gt(z,function(ue,de){z[de]=ue/re}),k){var Ae=Math.round(z.y+z.height),ye=Math.round(z.x+z.width);z.x=Math.round(z.x),z.y=Math.round(z.y),z.width=ye-z.x,z.height=Ae-z.y}}else z={x:0,y:0,width:0,height:0};return T.rotatable&&(z.rotate=A.rotate||0),T.scalable&&(z.scaleX=A.scaleX||1,z.scaleY=A.scaleY||1),z},setData:function(k){var T=this.options,A=this.imageData,H=this.canvasData,$={};if(this.ready&&!this.disabled&&zs(k)){var z=!1;T.rotatable&&ze(k.rotate)&&k.rotate!==A.rotate&&(A.rotate=k.rotate,z=!0),T.scalable&&(ze(k.scaleX)&&k.scaleX!==A.scaleX&&(A.scaleX=k.scaleX,z=!0),ze(k.scaleY)&&k.scaleY!==A.scaleY&&(A.scaleY=k.scaleY,z=!0)),z&&this.renderCanvas(!0,!0);var re=A.width/A.naturalWidth;ze(k.x)&&($.left=k.x*re+H.left),ze(k.y)&&($.top=k.y*re+H.top),ze(k.width)&&($.width=k.width*re),ze(k.height)&&($.height=k.height*re),this.setCropBoxData($)}return this},getContainerData:function(){return this.ready?It({},this.containerData):{}},getImageData:function(){return this.sized?It({},this.imageData):{}},getCanvasData:function(){var k=this.canvasData,T={};return this.ready&&Gt(["left","top","width","height","naturalWidth","naturalHeight"],function(A){T[A]=k[A]}),T},setCanvasData:function(k){var T=this.canvasData,A=T.aspectRatio;return this.ready&&!this.disabled&&zs(k)&&(ze(k.left)&&(T.left=k.left),ze(k.top)&&(T.top=k.top),ze(k.width)?(T.width=k.width,T.height=k.width/A):ze(k.height)&&(T.height=k.height,T.width=k.height*A),this.renderCanvas(!0)),this},getCropBoxData:function(){var k=this.cropBoxData,T;return this.ready&&this.cropped&&(T={left:k.left,top:k.top,width:k.width,height:k.height}),T||{}},setCropBoxData:function(k){var T=this.cropBoxData,A=this.options.aspectRatio,H,$;return this.ready&&this.cropped&&!this.disabled&&zs(k)&&(ze(k.left)&&(T.left=k.left),ze(k.top)&&(T.top=k.top),ze(k.width)&&k.width!==T.width&&(H=!0,T.width=k.width),ze(k.height)&&k.height!==T.height&&($=!0,T.height=k.height),A&&(H?T.height=T.width/A:$&&(T.width=T.height*A)),this.renderCropBox()),this},getCroppedCanvas:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var T=this.canvasData,A=YS(this.image,this.imageData,T,k);if(!this.cropped)return A;var H=this.getData(k.rounded),$=H.x,z=H.y,re=H.width,Ae=H.height,ye=A.width/Math.floor(T.naturalWidth);ye!==1&&($*=ye,z*=ye,re*=ye,Ae*=ye);var ue=re/Ae,de=la({aspectRatio:ue,width:k.maxWidth||1/0,height:k.maxHeight||1/0}),ke=la({aspectRatio:ue,width:k.minWidth||0,height:k.minHeight||0},"cover"),nt=la({aspectRatio:ue,width:k.width||(ye!==1?A.width:re),height:k.height||(ye!==1?A.height:Ae)}),et=nt.width,Vt=nt.height;et=Math.min(de.width,Math.max(ke.width,et)),Vt=Math.min(de.height,Math.max(ke.height,Vt));var ct=document.createElement("canvas"),en=ct.getContext("2d");ct.width=Hs(et),ct.height=Hs(Vt),en.fillStyle=k.fillColor||"transparent",en.fillRect(0,0,et,Vt);var ln=k.imageSmoothingEnabled,Xt=ln===void 0?!0:ln,Bi=k.imageSmoothingQuality;en.imageSmoothingEnabled=Xt,Bi&&(en.imageSmoothingQuality=Bi);var zn=A.width,De=A.height,ut=$,tn=z,Qn,Ni,Ya,Ka,ra,Si;ut<=-re||ut>zn?(ut=0,Qn=0,Ya=0,ra=0):ut<=0?(Ya=-ut,ut=0,Qn=Math.min(zn,re+ut),ra=Qn):ut<=zn&&(Ya=0,Qn=Math.min(re,zn-ut),ra=Qn),Qn<=0||tn<=-Ae||tn>De?(tn=0,Ni=0,Ka=0,Si=0):tn<=0?(Ka=-tn,tn=0,Ni=Math.min(De,Ae+tn),Si=Ni):tn<=De&&(Ka=0,Ni=Math.min(Ae,De-tn),Si=Ni);var Mn=[ut,tn,Qn,Ni];if(ra>0&&Si>0){var Ga=et/re;Mn.push(Ya*Ga,Ka*Ga,ra*Ga,Si*Ga)}return en.drawImage.apply(en,[A].concat(c(Mn.map(function(yr){return Math.floor(Hs(yr))})))),ct},setAspectRatio:function(k){var T=this.options;return!this.disabled&&!$s(k)&&(T.aspectRatio=Math.max(0,k)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(k){var T=this.options,A=this.dragBox,H=this.face;if(this.ready&&!this.disabled){var $=k===U,z=T.movable&&k===Q;k=$||z?k:ie,T.dragMode=k,zo(A,Oe,k),js(A,B,$),js(A,Me,z),T.cropBoxMovable||(zo(H,Oe,k),js(H,B,$),js(H,Me,z))}return this}},sw=b.Cropper,Tv=function(){function L(k){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s(this,L),!k||!Bt.test(k.tagName))throw new Error("The first argument is required and must be an or element.");this.element=k,this.options=It({},$o,zs(T)&&T),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return l(L,[{key:"init",value:function(){var T=this.element,A=T.tagName.toLowerCase(),H;if(!T[x]){if(T[x]=this,A==="img"){if(this.isImg=!0,H=T.getAttribute("src")||"",this.originalUrl=H,!H)return;H=T.src}else A==="canvas"&&window.HTMLCanvasElement&&(H=T.toDataURL());this.load(H)}}},{key:"load",value:function(T){var A=this;if(T){this.url=T,this.imageData={};var H=this.element,$=this.options;if(!$.rotatable&&!$.scalable&&($.checkOrientation=!1),!$.checkOrientation||!window.ArrayBuffer){this.clone();return}if(gt.test(T)){rt.test(T)?this.read(XS(T)):this.clone();return}var z=new XMLHttpRequest,re=this.clone.bind(this);this.reloading=!0,this.xhr=z,z.onabort=re,z.onerror=re,z.ontimeout=re,z.onprogress=function(){z.getResponseHeader("content-type")!==Ue&&z.abort()},z.onload=function(){A.read(z.response)},z.onloadend=function(){A.reloading=!1,A.xhr=null},$.checkCrossOrigin&&Iv(T)&&H.crossOrigin&&(T=Vv(T)),z.open("GET",T,!0),z.responseType="arraybuffer",z.withCredentials=H.crossOrigin==="use-credentials",z.send()}}},{key:"read",value:function(T){var A=this.options,H=this.imageData,$=ZS(T),z=0,re=1,Ae=1;if($>1){this.url=qS(T,Ue);var ye=JS($);z=ye.rotate,re=ye.scaleX,Ae=ye.scaleY}A.rotatable&&(H.rotate=z),A.scalable&&(H.scaleX=re,H.scaleY=Ae),this.clone()}},{key:"clone",value:function(){var T=this.element,A=this.url,H=T.crossOrigin,$=A;this.options.checkCrossOrigin&&Iv(A)&&(H||(H="anonymous"),$=Vv(A)),this.crossOrigin=H,this.crossOriginUrl=$;var z=document.createElement("img");H&&(z.crossOrigin=H),z.src=$||A,z.alt=T.alt||"The image to crop",this.image=z,z.onload=this.start.bind(this),z.onerror=this.stop.bind(this),on(z,le),T.parentNode.insertBefore(z,T.nextSibling)}},{key:"start",value:function(){var T=this,A=this.image;A.onload=null,A.onerror=null,this.sizing=!0;var H=b.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(b.navigator.userAgent),$=function(ye,ue){It(T.imageData,{naturalWidth:ye,naturalHeight:ue,aspectRatio:ye/ue}),T.initialImageData=It({},T.imageData),T.sizing=!1,T.sized=!0,T.build()};if(A.naturalWidth&&!H){$(A.naturalWidth,A.naturalHeight);return}var z=document.createElement("img"),re=document.body||document.documentElement;this.sizingImage=z,z.onload=function(){$(z.width,z.height),H||re.removeChild(z)},z.src=A.src,H||(z.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",re.appendChild(z))}},{key:"stop",value:function(){var T=this.image;T.onload=null,T.onerror=null,T.parentNode.removeChild(T),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var T=this.element,A=this.options,H=this.image,$=T.parentNode,z=document.createElement("div");z.innerHTML=Wa;var re=z.querySelector(".".concat(x,"-container")),Ae=re.querySelector(".".concat(x,"-canvas")),ye=re.querySelector(".".concat(x,"-drag-box")),ue=re.querySelector(".".concat(x,"-crop-box")),de=ue.querySelector(".".concat(x,"-face"));this.container=$,this.cropper=re,this.canvas=Ae,this.dragBox=ye,this.cropBox=ue,this.viewBox=re.querySelector(".".concat(x,"-view-box")),this.face=de,Ae.appendChild(H),on(T,ee),$.insertBefore(re,T.nextSibling),xi(H,le),this.initPreview(),this.bind(),A.initialAspectRatio=Math.max(0,A.initialAspectRatio)||NaN,A.aspectRatio=Math.max(0,A.aspectRatio)||NaN,A.viewMode=Math.max(0,Math.min(3,Math.round(A.viewMode)))||0,on(ue,ee),A.guides||on(ue.getElementsByClassName("".concat(x,"-dashed")),ee),A.center||on(ue.getElementsByClassName("".concat(x,"-center")),ee),A.background&&on(re,"".concat(x,"-bg")),A.highlight||on(de,ce),A.cropBoxMovable&&(on(de,Me),zo(de,Oe,P)),A.cropBoxResizable||(on(ue.getElementsByClassName("".concat(x,"-line")),ee),on(ue.getElementsByClassName("".concat(x,"-point")),ee)),this.render(),this.ready=!0,this.setDragMode(A.dragMode),A.autoCrop&&this.crop(),this.setData(A.data),Tn(A.ready)&&Jn(T,pe,A.ready,{once:!0}),Ws(T,pe)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var T=this.cropper.parentNode;T&&T.removeChild(this.cropper),xi(this.element,ee)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=sw,L}},{key:"setDefaults",value:function(T){It($o,zs(T)&&T)}}]),L}();return It(Tv.prototype,QS,ew,tw,nw,iw,aw),Tv})})(D_);var KE=D_.exports;Object.defineProperty(E_,"__esModule",{value:!0});var Qg=YE,GE=KE,XE=qE(GE);function qE(e){return e&&e.__esModule?e:{default:e}}function ZE(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}var JE=typeof window>"u"?[String,Array]:[String,Array,Element,NodeList],QE=E_.default={render:function(){var t=this.crossorigin||void 0;return(0,Qg.h)("div",{style:this.containerStyle},[(0,Qg.h)("img",{ref:"img",src:this.src,alt:this.alt||"image",style:[{"max-width":"100%"},this.imgStyle],crossorigin:t})])},props:{containerStyle:Object,src:{type:String,default:""},alt:String,imgStyle:Object,viewMode:Number,dragMode:String,initialAspectRatio:Number,aspectRatio:Number,data:Object,preview:JE,responsive:{type:Boolean,default:!0},restore:{type:Boolean,default:!0},checkCrossOrigin:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},crossorigin:{type:String},modal:{type:Boolean,default:!0},guides:{type:Boolean,default:!0},center:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0},background:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!0},autoCropArea:Number,movable:{type:Boolean,default:!0},rotatable:{type:Boolean,default:!0},scalable:{type:Boolean,default:!0},zoomable:{type:Boolean,default:!0},zoomOnTouch:{type:Boolean,default:!0},zoomOnWheel:{type:Boolean,default:!0},wheelZoomRatio:Number,cropBoxMovable:{type:Boolean,default:!0},cropBoxResizable:{type:Boolean,default:!0},toggleDragModeOnDblclick:{type:Boolean,default:!0},minCanvasWidth:Number,minCanvasHeight:Number,minCropBoxWidth:Number,minCropBoxHeight:Number,minContainerWidth:Number,minContainerHeight:Number,ready:Function,cropstart:Function,cropmove:Function,cropend:Function,crop:Function,zoom:Function},mounted:function(){var t=this.$options.props;t.containerStyle,t.src,t.alt,t.imgStyle;var n=ZE(t,["containerStyle","src","alt","imgStyle"]),i={};for(var a in n)this[a]!==void 0&&(i[a]=this[a]);this.cropper=new XE.default(this.$refs.img,i)},methods:{reset:function(){return this.cropper.reset()},clear:function(){return this.cropper.clear()},initCrop:function(){return this.cropper.crop()},replace:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return this.cropper.replace(t,n)},enable:function(){return this.cropper.enable()},disable:function(){return this.cropper.disable()},destroy:function(){return this.cropper.destroy()},move:function(t,n){return this.cropper.move(t,n)},moveTo:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return this.cropper.moveTo(t,n)},relativeZoom:function(t,n){return this.cropper.zoom(t,n)},zoomTo:function(t,n){return this.cropper.zoomTo(t,n)},rotate:function(t){return this.cropper.rotate(t)},rotateTo:function(t){return this.cropper.rotateTo(t)},scaleX:function(t){return this.cropper.scaleX(t)},scaleY:function(t){return this.cropper.scaleY(t)},scale:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return this.cropper.scale(t,n)},getData:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.cropper.getData(t)},setData:function(t){return this.cropper.setData(t)},getContainerData:function(){return this.cropper.getContainerData()},getImageData:function(){return this.cropper.getImageData()},getCanvasData:function(){return this.cropper.getCanvasData()},setCanvasData:function(t){return this.cropper.setCanvasData(t)},getCropBoxData:function(){return this.cropper.getCropBoxData()},setCropBoxData:function(t){return this.cropper.setCropBoxData(t)},getCroppedCanvas:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.cropper.getCroppedCanvas(t)},setAspectRatio:function(t){return this.cropper.setAspectRatio(t)},setDragMode:function(t){return this.cropper.setDragMode(t)}}};const eD={props:["about"],components:{VueCropper:QE},setup(e,{emit:t}){const n=Z(null),i=Z(null),a=Z(!1),s=Z(null),o=v=>{const m=v.target.files[0];m&&m.type.includes("image")?(n.value=m,i.value=URL.createObjectURL(m),a.value=!0):alert("Please select an image file.")},l=()=>{if(s.value&&s.value.cropper){const m=s.value.cropper.getCroppedCanvas(),g=n.value&&n.value.type?n.value.type:"image/png";m.toBlob(p=>{const y=URL.createObjectURL(p);i.value=y,n.value=new File([p],".png",{type:g}),a.value=!1},g)}else console.error("Cropper instance is not available")},r=()=>!!e.about.name&&e.about.name.length>=2&&e.about.name.length<=20,c=()=>!!e.about.role&&e.about.role.length>=2&&e.about.role.length<=20,u=()=>!!e.about.description&&e.about.description.length<=250;return{saveAbout:v=>{let m=!0;(!r()||!c()||!u())&&(m=!1),m?(alert("Your About information has been saved!"),t("save-about",v)):confirm("Some fields may be incorrect. Please check!")},isNameValid:r,isPositionValid:c,isDescriptionValid:u,handleFileChange:o,upload:v=>{if(!n.value){alert("Please select a file first.");return}const m=new FormData;m.append("image",n.value),fetch("http://127.0.0.1:3033/upload",{method:"POST",headers:{Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:m}).then(g=>g.json()).then(g=>{console.log("Upload successful:",g)}).catch(g=>{console.error("Upload error:",g)})},selectedFile:n,selectedImageUrl:i,cropperDialog:a,cropperRef:s,handleFileChange:o,cropImage:l}}},tD=be("p",{class:"titletext"}," About ",-1),nD={class:"d-flex justify-center"};function iD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-card-title"),v=Ce("vue-cropper"),m=Ce("v-card-text"),g=Ce("v-spacer"),p=Ce("v-card-actions"),y=Ce("v-card"),b=Ce("v-dialog"),S=Ce("v-expansion-panel-text"),_=Ce("v-expansion-panel");return me(),Tt(_,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:x})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[tD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-information-outline"})]),_:1})]),_:1}),h(S,null,{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:n.about.name,"onUpdate:modelValue":t[0]||(t[0]=x=>n.about.name=x),rules:[()=>!!n.about.name||"This field is required",()=>i.isNameValid()||"Name must be at least 2 characters and less than 20 characters"],counter:20,label:"Name"},null,8,["modelValue","rules"])]),_:1}),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:n.about.role,"onUpdate:modelValue":t[1]||(t[1]=x=>n.about.role=x),rules:[()=>!!n.about.role||"This field is required",()=>i.isPositionValid()||"Position must be at least 2 characters and less than 20 characters"],counter:20,label:"Job Title"},null,8,["modelValue","rules"])]),_:1})]),_:1}),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pa-2",modelValue:n.about.description,"onUpdate:modelValue":t[2]||(t[2]=x=>n.about.description=x),rules:[()=>!!n.about.description||"This field is required",()=>i.isDescriptionValid()||"Introduction must be less than 250 characters"],counter:250,label:"Introduction"},null,8,["modelValue","rules"])]),_:1}),be("div",nD,[be("form",{onSubmit:t[5]||(t[5]=El((...x)=>e.uploadImage&&e.uploadImage(...x),["prevent"]))},[be("input",{type:"file",onChange:t[3]||(t[3]=(...x)=>i.handleFileChange&&i.handleFileChange(...x)),accept:"image/png"},null,32),h(d,{color:"grey-lighten-1",class:"ml-5",onClick:t[4]||(t[4]=x=>i.upload(n.about))},{default:se(()=>[Xe("Upload IMG "),h(o,{size:"x-large",icon:"mdi-upload"})]),_:1})],32),h(b,{modelValue:i.cropperDialog,"onUpdate:modelValue":t[7]||(t[7]=x=>i.cropperDialog=x),"max-width":"500px"},{default:se(()=>[h(y,null,{default:se(()=>[h(f,null,{default:se(()=>[Xe("Crop Image")]),_:1}),h(m,null,{default:se(()=>[h(v,{ref:"cropperRef",src:i.selectedImageUrl,"aspect-ratio":1,style:{width:"100%"}},null,8,["src"])]),_:1}),h(p,null,{default:se(()=>[h(g),h(d,{color:"primary",onClick:i.cropImage},{default:se(()=>[Xe("Crop")]),_:1},8,["onClick"]),h(d,{color:"primary",text:"",onClick:t[6]||(t[6]=x=>i.cropperDialog=!1)},{default:se(()=>[Xe("Cancel")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),h(d,{color:"green",class:"ml-5",onClick:t[8]||(t[8]=x=>i.saveAbout(n.about))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const aD=at(eD,[["render",iD]]);const sD={props:["educations"],setup(e,{emit:t}){const n=u=>!!u.schoolName,i=u=>!!u.title,a=u=>!!u.startDate&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(u.startDate),s=u=>!!u.endDate&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(u.endDate),o=u=>!!u.description;return{deleteEdu:u=>{u!=-1&&t("delete-edu",u)},addNewEdu:()=>{t("add-edu")},saveEdu:u=>{let d=!0;u.forEach((f,v)=>{(!n(f)||!i(f)||!a(f)||!s(f)||!o(f))&&(d=!1)}),d?(alert("Your Education information has been saved!"),t("save-edu",u)):confirm("Some fields may be incorrect. Please check!")},isSchoolnameValid:n,isDiplomaValid:i,isDescriptionValid:o,isStartDateValid:a,isEndDateValid:s}}},oD=be("p",{class:"titletext"},"Educational Background",-1),lD={class:"d-flex justify-center"};function rD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[oD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-school-outline"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.educations,(m,g)=>(me(),Te("div",{key:g,class:"mb-3",style:{border:"2px solid rgb(198, 194, 194)"}},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"11"},{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"3"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.schoolName,"onUpdate:modelValue":p=>m.schoolName=p,rules:[()=>i.isSchoolnameValid(m)||"This field is required"],counter:20,label:"School"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>i.isDiplomaValid(m)||"This field is required"],counter:20,label:"Diploma"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.startDate,"onUpdate:modelValue":p=>m.startDate=p,rules:[()=>!!m.startDate||"This field is required",()=>i.isStartDateValid(m)||"Date must be in YYYY/MM format"],counter:10,label:"Start Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.endDate,"onUpdate:modelValue":p=>m.endDate=p,rules:[()=>!!m.endDate||"This field is required",()=>i.isEndDateValid(m)||"Date must be in YYYY/MM format"],counter:10,label:"End Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pl-2 pr-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>i.isDescriptionValid(m)||"This field is required"],counter:200,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(u,{class:"button-container mr-2"},{default:se(()=>[h(d,{onClick:p=>i.deleteEdu(g),color:"red-lighten-2"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",lD,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNewEdu())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{class:"ml-5",color:"green",onClick:t[1]||(t[1]=m=>i.saveEdu(n.educations))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const cD=at(sD,[["render",rD]]);const uD={props:["professions"],setup(e,{emit:t}){const n=u=>!!u.company,i=u=>!!u.title,a=u=>!!u.startDate&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(u.startDate),s=u=>!!u.endDate&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(u.endDate),o=u=>!!u.description;return{deletePro:u=>{u!=-1&&t("delete-pro",u)},addNewPro:()=>{t("add-pro")},savePro:u=>{let d=!0;u.forEach((f,v)=>{(!n(f)||!i(f)||!a(f)||!s(f)||!o(f))&&(d=!1)}),d?(alert("Your Profession information has been saved!"),t("save-pro",u)):confirm("Some fields may be incorrect. Please check!")},isCompanyValid:n,isPositionValid:i,isDescriptionValid:o,isStartDateValid:a,isEndDateValid:s}}},dD=be("p",{class:"titletext"},"Professional Experience",-1),fD={class:"d-flex justify-center"};function hD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[dD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-briefcase-outline"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.professions,(m,g)=>(me(),Te("div",{key:g,class:"mb-3",style:{border:"2px solid rgb(198, 194, 194)"}},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"11"},{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"3"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.company,"onUpdate:modelValue":p=>m.company=p,rules:[()=>i.isCompanyValid(m)||"This field is required"],counter:20,label:"Company"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>i.isPositionValid(m)||"This field is required"],counter:30,label:"Position"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.startDate,"onUpdate:modelValue":p=>m.startDate=p,rules:[()=>!!m.startDate||"This field is required",()=>i.isStartDateValid(m)||"Date must be in YYYY/MM format"],counter:10,label:"Start Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.endDate,"onUpdate:modelValue":p=>m.endDate=p,rules:[()=>!!m.endDate||"This field is required",()=>i.isEndDateValid(m)||"Date must be in YYYY/MM format"],counter:10,label:"End Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pl-2 pr-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>i.isDescriptionValid(m)||"This field is required"],counter:300,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(u,{class:"button-container"},{default:se(()=>[h(d,{onClick:p=>i.deletePro(g),color:"red-lighten-2"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",fD,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNewPro())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{class:"ml-5",color:"green",onClick:t[1]||(t[1]=m=>i.savePro(n.professions))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const vD=at(uD,[["render",hD]]);const mD={props:["certifications"],setup(e,{emit:t}){const n=c=>!!c.title,i=c=>!!c.company_school,a=c=>!!c.date&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(c.date),s=c=>!!c.description;return{deleteCer:c=>{c!=-1&&t("delete-cer",c)},addNewCer:()=>{t("add-cer")},saveCer:c=>{let u=!0;c.forEach((d,f)=>{(!n(d)||!i(d)||!a(d)||!s(d))&&(u=!1)}),u?(alert("Your Certificate information has been saved!"),t("save-cer",c)):confirm("Some fields may be incorrect. Please check!")},isTitleValid:n,isCompanySchoolValid:i,isDescriptionValid:s,isDateValid:a}}},gD=be("p",{class:"titletext"},"Certification",-1),pD={class:"d-flex justify-center"};function yD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[gD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-certificate-outline"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.certifications,(m,g)=>(me(),Te("div",{key:g,class:"mb-3",style:{border:"2px solid rgb(198, 194, 194)"}},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"11"},{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"3"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>i.isTitleValid(m)||"This field is required"],counter:40,label:"Title"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.date,"onUpdate:modelValue":p=>m.date=p,rules:[()=>!!m.date||"This field is required",()=>i.isDateValid(m)||"Date must be in YYYY/MM format"],counter:20,label:"Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.company_school,"onUpdate:modelValue":p=>m.company_school=p,rules:[()=>i.isCompanySchoolValid(m)||"This field is required"],counter:10,label:"Company/School"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pl-2 pr-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>i.isDescriptionValid(m)||"This field is required"],counter:200,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(u,{class:"button-container"},{default:se(()=>[h(d,{onClick:p=>i.deleteCer(g),color:"red-lighten-2"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",pD,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNewCer())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{class:"ml-5",color:"green",onClick:t[1]||(t[1]=m=>i.saveCer(n.certifications))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const bD=at(mD,[["render",yD]]);const _D={props:["awards"],setup(e,{emit:t}){const n=c=>!!c.title,i=c=>!!c.company_school,a=c=>!!c.date&&/\b\d{4}\/(0[1-9]|1[0-2])\b/.test(c.date),s=c=>!!c.description;return{deleteAward:c=>{c!=-1&&t("delete-award",c)},addNewAward:()=>{t("add-award")},saveAward:c=>{let u=!0;c.forEach((d,f)=>{(!n(d)||!i(d)||!s(d))&&(u=!1)}),u?(alert("Your Award information has been saved!"),t("save-award",c)):confirm("Some fields may be incorrect. Please check!")},isTitleValid:n,isCompanySchoolValid:i,isDescriptionValid:s,isDateValid:a}}},xD=be("p",{class:"titletext"},"Award",-1),SD={class:"d-flex justify-center"};function wD(e,t,n,i,a,s){const o=Ce("v-icon"),l=Ce("v-row"),r=Ce("v-expansion-panel-title"),c=Ce("v-text-field"),u=Ce("v-col"),d=Ce("v-btn"),f=Ce("v-expansion-panel-text"),v=Ce("v-expansion-panel");return me(),Tt(v,null,{default:se(()=>[h(r,{id:"title"},{default:se(({expanded:m})=>[h(l,{"no-gutters":"",class:"d-flex jusitfy-start"},{default:se(()=>[xD,h(o,{class:"ml-2",size:"xx-large",icon:"mdi-license"})]),_:1})]),_:1}),h(f,null,{default:se(()=>[(me(!0),Te(Pe,null,At(n.awards,(m,g)=>(me(),Te("div",{key:g,class:"mb-3",style:{border:"2px solid rgb(198, 194, 194)"}},[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"11"},{default:se(()=>[h(l,{"no-gutters":""},{default:se(()=>[h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.title,"onUpdate:modelValue":p=>m.title=p,rules:[()=>i.isTitleValid(m)||"This field is required"],counter:40,label:"Title"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,{cols:"4"},{default:se(()=>[h(c,{class:"pa-2",modelValue:m.date,"onUpdate:modelValue":p=>m.date=p,rules:[()=>!!m.date||"This field is required",()=>i.isDateValid(m)||"Date must be in YYYY/MM format"],counter:20,label:"Date"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024),h(u,null,{default:se(()=>[h(c,{class:"pa-2",modelValue:m.company_school,"onUpdate:modelValue":p=>m.company_school=p,rules:[()=>i.isCompanySchoolValid(m)||"This field is required"],counter:10,label:"Company/School"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(l,{"no-gutters":""},{default:se(()=>[h(c,{class:"pl-2 pr-2",modelValue:m.description,"onUpdate:modelValue":p=>m.description=p,rules:[()=>i.isDescriptionValid(m)||"This field is required"],counter:200,label:"Description"},null,8,["modelValue","onUpdate:modelValue","rules"])]),_:2},1024)]),_:2},1024),h(u,{class:"button-container"},{default:se(()=>[h(d,{onClick:p=>i.deleteAward(g),color:"red-lighten-2"},{default:se(()=>[h(o,{size:"x-large",icon:"mdi-trash-can"})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),be("div",SD,[h(d,{color:"grey-lighten-1",onClick:t[0]||(t[0]=m=>i.addNewAward())},{default:se(()=>[Xe("Add more "),h(o,{size:"x-large",icon:"mdi-plus-thick"})]),_:1}),h(d,{class:"ml-5",color:"green",onClick:t[1]||(t[1]=m=>i.saveAward(n.awards))},{default:se(()=>[Xe("Save "),h(o,{size:"x-large",icon:"mdi-content-save"})]),_:1})])]),_:1})]),_:1})}const kD=at(_D,[["render",wD]]);ph();const CD={components:{Skill:jE,About:aD,Education:cD,Profession:vD,Certification:bD,Award:kD},data:()=>({panel:[0],defaultSkill:{id:0,title:"New skill",description:"add your description"},defaultEdu:{id:0,title:"New diploma",schoolName:"New shool name",startDate:"2023/01",endDate:"2023/12",description:"add your description"},defaultPro:{id:0,title:"New position",company:"New company name",startDate:"2023/01",endDate:"2023/12",description:"add your description"},defaultCer:{id:0,title:"New certification",date:"2023/01",company_school:"New company name or school name",description:"add your description"},defaultAward:{id:0,title:"New award",date:"2023/01",company_school:"New company name or school name",description:"add your description"}}),setup(){const e=Z([]),t=Z([]),n=Z([]),i=Z([]),a=Z([]),s=Z([]),o=Z([]),l=Z([]),r=Z([]),c=Z([]),u=Z([]),d=Z([]);return _t(async()=>{try{const v=await(await fetch("https://res-a-me.resilientdb.com/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"skills"})})).json();r.value=v;const m=v.items.abilities.map((B,G)=>{const{faIcon:ee,locales:le}=B,{title:ce,description:ge}=le.en;return{id:G,title:ce||"",description:ge||""}});e.value=m;const p=await(await fetch("https://res-a-me.resilientdb.com/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"cover"})})).json();o.value=p;const b=await(await fetch("https://res-a-me.resilientdb.com/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"profile"})})).json();l.value=b;const S=p.locales.en.bio,_=b.name,x=b.profilePictureUrl,P=b.locales.en.role,C={name:_,profilePictureUrl:x,role:P,description:S};t.value=C;const I=await(await fetch("https://res-a-me.resilientdb.com/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"education"})})).json();c.value=I;const M=I.items.map(B=>({title:B.locales.en.title,schoolName:B.place,startDate:B.period[0],endDate:B.period[1],description:B.locales.en.description}));n.value=M;const D=await(await fetch("https://res-a-me.resilientdb.com/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"experience"})})).json();u.value=D;const N=D.items.map(B=>({title:B.locales.en.title,company:B.place,startDate:B.period[0],endDate:B.period[1],description:B.locales.en.description}));i.value=N;const Y=await(await fetch("https://res-a-me.resilientdb.com/loadResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")},body:JSON.stringify({category:"achievements"})})).json();d.value=Y;const K=Y.items.certifications.map(B=>({title:B.locales.en.title,date:B.date,company_school:B.place,description:B.locales.en.description})),J=Y.items.awards.map(B=>({title:B.locales.en.title,date:B.date,company_school:B.place,description:B.locales.en.description}));a.value=K,s.value=J}catch(f){console.error("Error fetching data:",f)}}),{skills:e,about:t,educations:n,professions:i,certifications:a,awards:s,cover_data_old:o,profile_data_old:l,skill_data_old:r,edu_data_old:c,pro_data_old:u,achi_data_old:d}},methods:{async returnButton(){if(confirm("Are you sure you want to leave this page? Make sure you have saved your changes!")){let e="";try{const n=await(await fetch("https://res-a-me.resilientdb.com/loadUser",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8",Authorization:"Bearer "+sessionStorage.getItem("access_token")}})).json();n.status===200&&(e=n.logged_in_as)}catch(t){console.error("Error fetching user data:",t)}try{const n=await(await fetch("https://res-a-me.resilientdb.com/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:e})})).json();n.status!==200&&console.error("Error fetching user resume: ",n.message)}catch{console.error("Error fetching user resume: ",error)}this.$router.push({path:"/home"}).then(()=>window.location.reload(!0)).then(()=>window.location.reload(!0))}},handleDeleteSkill(e){confirm("Are you sure you want to delete this item?")&&(this.skills.splice(e,1),this.skills.forEach((t,n)=>{t.id=n}))},handleAddSkill(){const e={...this.defaultSkill};e.id=this.skills.length,this.skills.push(e),this.skills.forEach((t,n)=>{t.id=n})},handleSaveSkill(e){this.skills=e,this.skill_data_old.items.abilities=[];for(let t=0;t{t.id=n}))},handleAddEdu(){const e={...this.defaultEdu};e.id=this.educations.length,this.educations.push(e),this.educations.forEach((t,n)=>{t.id=n})},handleSaveEdu(e){this.educations=e,this.edu_data_old.items=[];for(let t=0;t{t.id=n}))},handleAddPro(){const e={...this.defaultPro};e.id=this.professions.length,this.professions.push(e),this.professions.forEach((t,n)=>{t.id=n})},handleSavePro(e){this.professions=e,this.pro_data_old.items=[];for(let t=0;t{t.id=n}))},handleAddCer(){const e={...this.defaultCer};e.id=this.certifications.length,this.certifications.push(e),this.certifications.forEach((t,n)=>{t.id=n})},async handleSaveCer(e){this.certifications=e,this.achi_data_old.items.certifications=[];for(let t=0;t{t.id=n}))},handleAddAward(){const e={...this.defaultAward};e.id=this.awards.length,this.awards.push(e),this.awards.forEach((t,n)=>{t.id=n})},async handleSaveAward(e){this.awards=e,this.achi_data_old.items.awards=[];for(let t=0;t[h(r,{align:"center"},{default:se(()=>[be("p",ID,[Xe(" Edit your information here! "),h(l,{onClick:t[0]||(t[0]=y=>s.returnButton()),class:"ml-5 mb-2"},{default:se(()=>[h(o,{size:"xx-large",icon:"mdi-file-account"}),Xe(" back to resume ")]),_:1})])]),_:1})]),_:1}),h(p,{modelValue:e.panel,"onUpdate:modelValue":t[1]||(t[1]=y=>e.panel=y)},{default:se(()=>[h(u,{about:i.about,onSaveAbout:s.handleSaveAbout},null,8,["about","onSaveAbout"]),h(d,{educations:i.educations,onDeleteEdu:s.handleDeleteEdu,onAddEdu:s.handleAddEdu,onSaveEdu:s.handleSaveEdu},null,8,["educations","onDeleteEdu","onAddEdu","onSaveEdu"]),h(f,{professions:i.professions,onDeletePro:s.handleDeletePro,onAddPro:s.handleAddPro,onSavePro:s.handleSavePro},null,8,["professions","onDeletePro","onAddPro","onSavePro"]),h(v,{skills:i.skills,onDeleteSkill:s.handleDeleteSkill,onAddSkill:s.handleAddSkill,onSaveSkill:s.handleSaveSkill},null,8,["skills","onDeleteSkill","onAddSkill","onSaveSkill"]),h(m,{certifications:i.certifications,onDeleteCer:s.handleDeleteCer,onAddCer:s.handleAddCer,onSaveCer:s.handleSaveCer},null,8,["certifications","onDeleteCer","onAddCer","onSaveCer"]),h(g,{awards:i.awards,onDeleteAward:s.handleDeleteAward,onAddAward:s.handleAddAward,onSaveAward:s.handleSaveAward},null,8,["awards","onDeleteAward","onAddAward","onSaveAward"])]),_:1},8,["modelValue"])])}const AD=at(CD,[["render",VD]]);const TD={async mounted(){document.getElementById("signinButton").style.display="none",document.getElementById("profileShortcut").style.display="none",document.getElementById("logoutButton").style.display="none",document.getElementById("userNameDisplay").style.display="none",await fetch("https://res-a-me.resilientdb.com/loadUser",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8",Authorization:"Bearer "+sessionStorage.getItem("access_token")}}).then(e=>e.json()).then(e=>{e.status===200?(this.userEmail=e.logged_in_as,fetch(`/images/pictures/${this.userEmail}.png`).then(t=>{t.ok?this.shortCutIcon=`/images/pictures/${this.userEmail}.png`:this.shortCutIcon="/images/pictures/avatar.png"}),document.getElementById("profileShortcut").style.display="block",document.getElementById("logoutButton").style.display="block"):(this.errorMessage="User are not logged in",document.getElementById("signinButton").style.display="block")}).catch(e=>{console.error("There was an error!",e),this.errorMessage=e.message||"An error occurred. Please try again."}),fetch("https://res-a-me.resilientdb.com/userList",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8"}}).then(e=>e.json()).then(e=>{for(let n in e.user_list){e.user_list[n].email===this.userEmail&&(this.userName=e.user_list[n].name,document.getElementById("userNameDisplay").style.display="block");var t="";fetch(`/images/pictures/${e.user_list[n].email}.png`).then(i=>{i.ok?t=`/images/pictures/${e.user_list[n].email}.png`:t="/images/pictures/avatar.png"}).then(()=>{const i={name:e.user_list[n].name,group:e.user_list[n].position,avatar:t,email:e.user_list[n].email};this.people.push(i)})}})},methods:{logout(){const e="";fetch("https://res-a-me.resilientdb.com/logout",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8"}}).then(t=>{if(!t.ok)throw new Error("Network response was not ok");return t.json()}).then(t=>{t.message==="Logout successful"?(sessionStorage.clear(),document.getElementById("logoutButton").style.display="none",document.getElementById("signinButton").style.display="block",document.getElementById("profileShortcut").style.display="none",document.getElementById("userNameDisplay").style.display="none",alert("Logout Successful")):e.value=t.message||"Logout failed. Please try again."}).catch(t=>{console.error("Logout error:",t),e.value=t.message||"An error occurred. Please try again."})},async profileShortcutAction(){try{const t=await(await fetch("https://res-a-me.resilientdb.com/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:this.userEmail})})).json();t.status!==200&&console.error("Error fetching user resume: ",t.message),this.$router.push({path:"/home"}).then(()=>window.location.reload(!0))}catch{console.error("profileShortcutAction error ")}},async search(){var e="";this.query.email?e=this.query.email:e=this.userEmail;try{const n=await(await fetch("https://res-a-me.resilientdb.com/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:e})})).json();n.status!==200&&console.error("Error fetching user resume: ",n.message),this.query.email&&this.$router.push({path:"/home",query:{query:this.query.email}}).then(()=>window.location.reload(!0))}catch{console.error("search error")}},async makeConntections(){for(var e=this.userEmail,t="";e===this.userEmail;)t=this.people[Math.floor(Math.random()*this.people.length)],e=t.email;try{const i=await(await fetch("https://res-a-me.resilientdb.com/updateResume",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify({email:t.email})})).json();i.status!==200&&console.error("Error fetching user resume: ",i.message),this.$router.push({path:"/home",query:{query:t.email}}).then(()=>window.location.reload(!0))}catch(n){console.error("Error fetching user resume: ",n)}}},data(){return{userName:"",userEmail:"",shortCutIcon:"",autoUpdate:!0,isUpdating:!1,name:"Midnight Crew",query:[],people:[],title:"The summer breeze",timeout:null}}},MD={style:{position:"fixed","z-index":"999",color:"black",left:"30px",top:"27px","text-transform":"none","letter-spacing":"0px"},id:"userNameDisplay"},ED=be("div",{class:"text-caption text-truncate"},"My Res-A-Me",-1);function DD(e,t,n,i,a,s){const o=Ce("v-btn"),l=Ce("v-img"),r=Ce("v-chip"),c=Ce("v-list-item"),u=Ce("v-autocomplete"),d=Ce("v-row"),f=Ce("v-avatar"),v=Ce("v-card"),m=Ce("v-col"),g=Ce("v-container"),p=Ce("v-responsive"),y=Ce("v-app");return me(),Tt(y,{style:{width:"100%",height:"100%"}},{default:se(()=>[be("p",MD," Hi, "+wt(a.userName),1),h(o,{variant:"flat",color:"#1a73e8",style:{position:"fixed","z-index":"999",color:"white",right:"40px",top:"20px","text-transform":"none"},id:"signinButton",onClick:t[0]||(t[0]=b=>this.$router.push("/login"))},{default:se(()=>[Xe(" Sign in ")]),_:1}),h(o,{variant:"flat",color:"#1a73e8",style:{position:"fixed","z-index":"999",color:"white",right:"40px",top:"20px","text-transform":"none"},id:"logoutButton",onClick:t[1]||(t[1]=b=>s.logout())},{default:se(()=>[Xe(" Logout ")]),_:1}),h(v,{theme:"light",class:"d-flex justify-center align-center flex-wrap",style:{width:"100%",height:"100%"}},{default:se(()=>[h(p,{"max-width":"550"},{default:se(()=>[h(l,{class:"mx-auto mt-12 mb-16","max-width":"340",src:"./images/icons/Res-A-Me.png"}),h(u,{modelValue:a.query,"onUpdate:modelValue":t[2]||(t[2]=b=>a.query=b),disabled:a.isUpdating,items:a.people,chips:"",color:"blue-grey-lighten-2","item-title":"name","item-value":"name",label:"Search People","prepend-inner-icon":"mdi-magnify",density:"comfortable","auto-select-first":"","return-object":"",rounded:"",theme:"light",variant:"outlined"},{chip:se(({props:b,item:S})=>[h(r,ve(b,{"prepend-avatar":S.raw.avatar,text:S.raw.name}),null,16,["prepend-avatar","text"])]),item:se(({props:b,item:S})=>{var _,x,P;return[h(c,ve(b,{"prepend-avatar":(_=S==null?void 0:S.raw)==null?void 0:_.avatar,title:(x=S==null?void 0:S.raw)==null?void 0:x.name,subtitle:(P=S==null?void 0:S.raw)==null?void 0:P.group}),null,16,["prepend-avatar","title","subtitle"])]}),_:1},8,["modelValue","disabled","items"]),h(d,{dense:"",justify:"center",class:"pt-5 pb-5"},{default:se(()=>[h(o,{variant:"flat",color:"#ededf0",style:{"text-transform":"none","letter-spacing":"0px"},class:"mr-5",onClick:t[3]||(t[3]=b=>s.search())},{default:se(()=>[Xe(" Res-A-Me Search ")]),_:1}),h(o,{variant:"flat",color:"#ededf0",style:{"text-transform":"none","letter-spacing":"0px"},onClick:t[4]||(t[4]=b=>s.makeConntections())},{default:se(()=>[Xe(" Make Connections ")]),_:1})]),_:1}),h(g,{class:"text-center pt-15",id:"profileShortcut"},{default:se(()=>[h(d,{justify:"center",dense:""},{default:se(()=>[h(m,{cols:"auto"},{default:se(()=>[h(v,{class:"pa-4",flat:"",rel:"noopener noreferer",target:"_blank",width:"112",onClick:t[5]||(t[5]=b=>s.profileShortcutAction())},{default:se(()=>[h(f,{variant:"tonal",class:"mb-2",size:"60"},{default:se(()=>[h(l,{src:a.shortCutIcon},null,8,["src"])]),_:1}),ED]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const OD=at(TD,[["render",DD]]);function RD(){const t=Oi().getSections(),n=t[0]||{id:"home"},i=["edit"],a=[{path:"/",name:"LandingPage",component:OD},{path:"/login",name:"login",component:NE},{path:"/home",name:n.id,component:Jg},{path:"/edit",name:"edit",component:AD}];for(let o=1;o{let c=!1;try{const d=await(await fetch("https://res-a-me.resilientdb.com/loadUser",{method:"GET",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("access_token")}})).json();if(d.status===200)c=!0;else if(d.msg==="Token has expired"){const v=await(await fetch("https://res-a-me.resilientdb.com/refresh",{method:"POST",headers:{"Content-type":"application/json; charset=UTF-8","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+sessionStorage.getItem("refresh_token")}})).json();if(v.status===200)sessionStorage.setItem("access_token",v.access_token),c=!0;else throw new Error("Refresh Token Expired!!! Please Log In Again")}}catch(u){console.error("There was an error!",u)}console.log("isAuthenticated = ",c),o.name==="login"&&c?r({name:n.id}):i.includes(o.name)&&!c?r({name:"login"}):r()}),s}const LD={class:"loader-full-screen-content"},BD={class:"mt-2 mb-2 text-2"},ep=1/60,ND={__name:"Loader",emits:["willShow","shown","completed","willHide","hidden"],setup(e,{expose:t,emit:n}){const i=n,a=[{id:0,label:"startingUp",duration:null},{id:1,label:"logoTweenIn",duration:.5},{id:2,label:"progressTweenIn",duration:.3},{id:3,label:"loading",minDuration:.4},{id:4,label:"waiting",duration:.3},{id:5,label:"disappearing",duration:1.2}],s=Z(""),o=Z(""),l=Z(0),r=Z(null),c=Z(0),u=Z(-1);let d=0,f=null;_t(()=>{v()});const v=()=>{clearInterval(f),f=null,u.value=-1,d=0,c.value=0},m=(x,P)=>{s.value=x,o.value=P,u.value=0,f=setInterval(p,ep*1e3)},g=x=>{l.value=x},p=()=>{const x=a[u.value];d+=ep;let P=!1;switch(x.label){case"startingUp":P=r.value.isLoaded();break;case"loading":const C=Math.min(Math.max(100*d/x.minDuration,0),100);c.value=Math.round(Math.min(C,l.value)),P=c.value>=100;break;default:P=d>=x.duration}P&&y()},y=()=>{if(u.value++,d=0,u.value>=a.length){i("hidden"),v();return}switch(a[u.value].label){case"logoTweenIn":i("willShow");break;case"loading":i("shown");break;case"waiting":i("completed");break;case"disappearing":i("willHide");break}},b=x=>{const P=a.find(C=>C.label===x);return P&&u.value>=P.id},S=()=>u.value>=0&&u.valueS()?b("disappearing")?"loader-full-screen-transition":"loader-full-screen-show":"d-none";return t({run:m,setTaskProgress:g}),(x,P)=>S()?(me(),Te("div",{key:0,class:xt(["loader-full-screen",_()])},[ft(be("div",LD,[h(yh,{src:o.value,alt:"Preloader Logo","ignore-on-image-count":!0,ref_key:"logo",ref:r,class:"img-fluid img-logo"},null,8,["src"]),be("div",{class:xt(["progress-display",{"progress-display-expanded":b("progressTweenIn")}])},[be("p",BD,wt(s.value)+"...",1),h(Yb,{ref:"progressBar",percentage:c.value},null,8,["percentage"])],2)],512),[[mn,b("logoTweenIn")]])],2)):kt("",!0)}},FD=at(ND,[["__scopeId","data-v-e789e4ad"]]);const $D=e=>(Oa("data-v-c428fd9e"),e=e(),Ra(),e),zD={class:"activity-spinner-content text-center"},HD=$D(()=>be("img",{alt:"loading...",class:"preloader-gif",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0ibWFyZ2luOiBhdXRvOyBiYWNrZ3JvdW5kOiBub25lOyBkaXNwbGF5OiBibG9jazsgc2hhcGUtcmVuZGVyaW5nOiBhdXRvOyIgd2lkdGg9IjIwMHB4IiBoZWlnaHQ9IjIwMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgo8Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSIzMiIgc3Ryb2tlLXdpZHRoPSI4IiBzdHJva2U9IiM1NDUxNTEiIHN0cm9rZS1kYXNoYXJyYXk9IjUwLjI2NTQ4MjQ1NzQzNjY5IDUwLjI2NTQ4MjQ1NzQzNjY5IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCI+PC9hbmltYXRlVHJhbnNmb3JtPgo8L2NpcmNsZT4KPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iMjMiIHN0cm9rZS13aWR0aD0iOCIgc3Ryb2tlPSIjYzNjM2M1IiBzdHJva2UtZGFzaGFycmF5PSIzNi4xMjgzMTU1MTYyODI2MiAzNi4xMjgzMTU1MTYyODI2MiIgc3Ryb2tlLWRhc2hvZmZzZXQ9IjM2LjEyODMxNTUxNjI4MjYyIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOy0zNjAgNTAgNTAiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KPC9jaXJjbGU+CjwhLS0gW2xkaW9dIGdlbmVyYXRlZCBieSBodHRwczovL2xvYWRpbmcuaW8vIC0tPjwvc3ZnPg=="},null,-1)),jD={class:"text-light-5"},WD={__name:"ActivitySpinner",setup(e,{expose:t}){const n=Z(""),i=Z(!1);return t({show:o=>{n.value=o,i.value=!0},hide:()=>{i.value=!1}}),(o,l)=>(me(),Te("div",{class:xt(["activity-spinner",{"d-none":!i.value}])},[be("div",zD,[HD,be("h5",jD,wt(n.value),1)])],2))}},UD=at(WD,[["__scopeId","data-v-c428fd9e"]]);const YD={__name:"FeedbackView",setup(e,{expose:t}){const n=To(),i=Z(null),a=Z(null),s={onShown:null,onComplete:null},o=(m,g)=>{n.setPageScrollingEnabled(!1),i.value.run(m,g)},l=(m,g)=>{s.onShown=m,s.onComplete=g},r=m=>{i.value.setTaskProgress(m)},c=()=>{s.onShown&&s.onShown()},u=()=>{s.onComplete&&s.onComplete()},d=()=>{n.setPageScrollingEnabled(!0),s.onShown=null,s.onComplete=null};return t({setLoader:o,setLoaderListeners:l,updateLoaderProgress:r,showActivitySpinner:m=>{a.value.show(m)},hideActivitySpinner:()=>{a.value.hide()}}),(m,g)=>(me(),Te(Pe,null,[h(FD,{ref_key:"loader",ref:i,onShown:c,onCompleted:u,onWillHide:d},null,512),h(UD,{ref_key:"activitySpinner",ref:a},null,512)],64))}},KD=at(YD,[["__scopeId","data-v-78d8acb8"]]),GD={key:0},XD={__name:"App",setup(e){const t=Oi(),n=To(),i=Ba(),a=Z(null),s=Z(!1);let o=null;_t(()=>{n.setFeedbackView(a),r()});const l=w(()=>t.getSettings().preloaderEnabled),r=async()=>{clearInterval(o),l.value?(a.value.setLoaderListeners(c,d),a.value.setLoader(t.getString("loading"),"images/icons/resume.ico")):await c()},c=async()=>{o=setInterval(()=>{u()},1e3/30),await t.fetchAll(),l.value||(d(),n.setPageScrollingEnabled(!0))},u=()=>{if(!l.value)return;const f=t.getLoadProgress(),v=n.getImageCount();let m=0;v.total>0?m=Math.round(100*v.loaded/v.total):f===100&&(m=100);const g=(f+m*4)/5;a.value.updateLoaderProgress(g)},d=()=>{s.value=!0,clearInterval(o)};return(f,v)=>{const m=Ce("router-view");return me(),Te(Pe,null,[h(KD,{ref_key:"feedbackView",ref:a},null,512),Je(t).getLoadProgress()>=100?ft((me(),Te("div",GD,[h(m)],512)),[[mn,!Je(i).isTouchDevice()||s.value]]):kt("",!0)],64)}}},qD={badge:"Badge",open:"Open",close:"Close",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},ZD={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function mi(e,t){let n;function i(){n=Hc(),n.run(()=>t.length?t(()=>{n==null||n.stop(),i()}):t())}_e(e,a=>{a&&!n?i():a||(n==null||n.stop(),n=void 0)},{immediate:!0}),_n(()=>{n==null||n.stop()})}const yt=typeof window<"u",Dh=yt&&"IntersectionObserver"in window,JD=yt&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),tp=yt&&"EyeDropper"in window;function np(e,t,n){QD(e,t),t.set(e,n)}function QD(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function eO(e,t,n){var i=O_(e,t,"set");return tO(e,i,n),n}function tO(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function ts(e,t){var n=O_(e,t,"get");return nO(e,n)}function O_(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function nO(e,t){return t.get?t.get.call(e):t.value}function R_(e,t,n){const i=t.length-1;if(i<0)return e===void 0?n:e;for(let a=0;ata(e[i],t[i]))}function Ss(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),R_(e,t.split("."),n))}function rn(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const a=t(e,n);return typeof a>"u"?n:a}if(typeof t=="string")return Ss(e,t,n);if(Array.isArray(t))return R_(e,t,n);if(typeof t!="function")return n;const i=t(e,n);return typeof i>"u"?n:i}function Ti(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,i)=>t+i)}function Ee(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function Mc(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function $l(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const ip=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sf=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function L_(e){return Object.keys(e)}function ls(e,t){return t.every(n=>e.hasOwnProperty(n))}function B_(e,t){const n={},i=new Set(Object.keys(e));for(const a of t)i.has(a)&&(n[a]=e[a]);return n}function of(e,t,n){const i=Object.create(null),a=Object.create(null);for(const s in e)t.some(o=>o instanceof RegExp?o.test(s):o===s)&&!(n!=null&&n.some(o=>o===s))?i[s]=e[s]:a[s]=e[s];return[i,a]}function nn(e,t){const n={...e};return t.forEach(i=>delete n[i]),n}function N_(e,t){const n={};return t.forEach(i=>n[i]=e[i]),n}const F_=/^on[^a-z]/,fu=e=>F_.test(e),iO=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],aO=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function sO(e){return e.isComposing&&aO.includes(e.key)}function Fa(e){const[t,n]=of(e,[F_]),i=nn(t,iO),[a,s]=of(n,["class","style","id",/^data-/]);return Object.assign(a,t),Object.assign(s,i),[a,s]}function Ht(e){return e==null?[]:Array.isArray(e)?e:[e]}function oO(e,t){let n=0;const i=function(){for(var a=arguments.length,s=new Array(a),o=0;oe(...s),Je(t))};return i.clear=()=>{clearTimeout(n)},i.immediate=e,i}function Zt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function ap(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function sp(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function op(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function lO(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let i=0;for(;i1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&i0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const i={};for(const a in e)i[a]=e[a];for(const a in t){const s=e[a],o=t[a];if(Mc(s)&&Mc(o)){i[a]=si(s,o,n);continue}if(Array.isArray(s)&&Array.isArray(o)&&n){i[a]=n(s,o);continue}i[a]=o}return i}function $_(e){return e.map(t=>t.type===Pe?$_(t.children):t).flat()}function ms(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(ms.cache.has(e))return ms.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ms.cache.set(e,t),t}ms.cache=new Map;function Sl(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Sl(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>Sl(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Sl(e,t.component.subTree).flat(1)}return[]}var Yr=new WeakMap,qs=new WeakMap;class rO{constructor(t){np(this,Yr,{writable:!0,value:[]}),np(this,qs,{writable:!0,value:0}),this.size=t}push(t){ts(this,Yr)[ts(this,qs)]=t,eO(this,qs,(ts(this,qs)+1)%this.size)}values(){return ts(this,Yr).slice(ts(this,qs)).concat(ts(this,Yr).slice(0,ts(this,qs)))}}function cO(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}function Oh(e){const t=Ft({}),n=w(e);return Jt(()=>{for(const i in n.value)t[i]=n.value[i]},{flush:"sync"}),Ql(t)}function Ec(e,t){return e.includes(t)}function z_(e){return e[2].toLowerCase()+e.slice(3)}const Bn=()=>[Function,Array];function rp(e,t){return t="on"+bi(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function Rh(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(i=>`${i}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function H_(e,t,n){let i,a=e.indexOf(document.activeElement);const s=t==="next"?1:-1;do a+=s,i=e[a];while((!i||i.offsetParent==null||!((n==null?void 0:n(i))??!0))&&a=0);return i}function _o(e,t){var i,a,s,o;const n=zl(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((i=n[0])==null||i.focus());else if(t==="first")(a=n[0])==null||a.focus();else if(t==="last")(s=n.at(-1))==null||s.focus();else if(typeof t=="number")(o=n[t])==null||o.focus();else{const l=H_(n,t);l?l.focus():_o(e,t==="next"?"first":"last")}}function Kr(e){return e==null||typeof e=="string"&&e.trim()===""}function j_(){}function xo(e,t){if(!(yt&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function hu(e){return e.some(t=>Xi(t)?t.type===vn?!1:t.type!==Pe||hu(t.children):!0)?e:null}const W_=["top","bottom"],uO=["start","end","left","right"];function lf(e,t){let[n,i]=e.split(" ");return i||(i=Ec(W_,n)?"start":Ec(uO,n)?"top":"center"),{side:rf(n,t),align:rf(i,t)}}function rf(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function yd(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function bd(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function cp(e){return{side:e.align,align:e.side}}function up(e){return Ec(W_,e.side)?"y":"x"}class gs{constructor(t){let{x:n,y:i,width:a,height:s}=t;this.x=n,this.y=i,this.width=a,this.height=s}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function dp(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function U_(e){return Array.isArray(e)?new gs({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Lh(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),i=n.transform;if(i){let a,s,o,l,r;if(i.startsWith("matrix3d("))a=i.slice(9,-1).split(/, /),s=+a[0],o=+a[5],l=+a[12],r=+a[13];else if(i.startsWith("matrix("))a=i.slice(7,-1).split(/, /),s=+a[0],o=+a[3],l=+a[4],r=+a[5];else return new gs(t);const c=n.transformOrigin,u=t.x-l-(1-s)*parseFloat(c),d=t.y-r-(1-o)*parseFloat(c.slice(c.indexOf(" ")+1)),f=s?t.width/s:e.offsetWidth+1,v=o?t.height/o:e.offsetHeight+1;return new gs({x:u,y:d,width:f,height:v})}else return new gs(t)}function rs(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let i;try{i=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof i.finished>"u"&&(i.finished=new Promise(a=>{i.onfinish=()=>{a(i)}})),i}const ac=new WeakMap;function dO(e,t){Object.keys(t).forEach(n=>{if(fu(n)){const i=z_(n),a=ac.get(e);if(t[n]==null)a==null||a.forEach(s=>{const[o,l]=s;o===i&&(e.removeEventListener(i,l),a.delete(s))});else if(!a||![...a].some(s=>s[0]===i&&s[1]===t[n])){e.addEventListener(i,t[n]);const s=a||new Set;s.add([i,t[n]]),ac.has(e)||ac.set(e,s)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function fO(e,t){Object.keys(t).forEach(n=>{if(fu(n)){const i=z_(n),a=ac.get(e);a==null||a.forEach(s=>{const[o,l]=s;o===i&&(e.removeEventListener(i,l),a.delete(s))})}else e.removeAttribute(n)})}const Zs=2.4,fp=.2126729,hp=.7151522,vp=.072175,hO=.55,vO=.58,mO=.57,gO=.62,Gr=.03,mp=1.45,pO=5e-4,yO=1.25,bO=1.25,gp=.078,pp=12.82051282051282,Xr=.06,yp=.001;function bp(e,t){const n=(e.r/255)**Zs,i=(e.g/255)**Zs,a=(e.b/255)**Zs,s=(t.r/255)**Zs,o=(t.g/255)**Zs,l=(t.b/255)**Zs;let r=n*fp+i*hp+a*vp,c=s*fp+o*hp+l*vp;if(r<=Gr&&(r+=(Gr-r)**mp),c<=Gr&&(c+=(Gr-c)**mp),Math.abs(c-r)r){const d=(c**hO-r**vO)*yO;u=d-yp?0:d>-gp?d-d*pp*Xr:d+Xr}return u*100}function _O(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Dc=.20689655172413793,xO=e=>e>Dc**3?Math.cbrt(e):e/(3*Dc**2)+4/29,SO=e=>e>Dc?e**3:3*Dc**2*(e-4/29);function Y_(e){const t=xO,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function K_(e){const t=SO,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const wO=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],kO=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,CO=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],PO=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function G_(e){const t=Array(3),n=kO,i=wO;for(let a=0;a<3;++a)t[a]=Math.round(Zt(n(i[a][0]*e[0]+i[a][1]*e[1]+i[a][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Bh(e){let{r:t,g:n,b:i}=e;const a=[0,0,0],s=PO,o=CO;t=s(t/255),n=s(n/255),i=s(i/255);for(let l=0;l<3;++l)a[l]=o[l][0]*t+o[l][1]*n+o[l][2]*i;return a}function cf(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function IO(e){return cf(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const _p=/^(?(?:rgb|hsl)a?)\((?.+)\)/,VO={rgb:(e,t,n,i)=>({r:e,g:t,b:n,a:i}),rgba:(e,t,n,i)=>({r:e,g:t,b:n,a:i}),hsl:(e,t,n,i)=>xp({h:e,s:t,l:n,a:i}),hsla:(e,t,n,i)=>xp({h:e,s:t,l:n,a:i}),hsv:(e,t,n,i)=>qi({h:e,s:t,v:n,a:i}),hsva:(e,t,n,i)=>qi({h:e,s:t,v:n,a:i})};function oi(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&_p.test(e)){const{groups:t}=e.match(_p),{fn:n,values:i}=t,a=i.split(/,\s*/).map(s=>s.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(s)/100:parseFloat(s));return VO[n](...a)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),Q_(t)}else if(typeof e=="object"){if(ls(e,["r","g","b"]))return e;if(ls(e,["h","s","l"]))return qi(Nh(e));if(ls(e,["h","s","v"]))return qi(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function qi(e){const{h:t,s:n,v:i,a}=e,s=l=>{const r=(l+t/60)%6;return i-i*n*Math.max(Math.min(r,4-r,1),0)},o=[s(5),s(3),s(1)].map(l=>Math.round(l*255));return{r:o[0],g:o[1],b:o[2],a}}function xp(e){return qi(Nh(e))}function vu(e){if(!e)return{h:0,s:1,v:1,a:1};const t=e.r/255,n=e.g/255,i=e.b/255,a=Math.max(t,n,i),s=Math.min(t,n,i);let o=0;a!==s&&(a===t?o=60*(0+(n-i)/(a-s)):a===n?o=60*(2+(i-t)/(a-s)):a===i&&(o=60*(4+(t-n)/(a-s)))),o<0&&(o=o+360);const l=a===0?0:(a-s)/a,r=[o,l,a];return{h:r[0],s:r[1],v:r[2],a:e.a}}function X_(e){const{h:t,s:n,v:i,a}=e,s=i-i*n/2,o=s===1||s===0?0:(i-s)/Math.min(s,1-s);return{h:t,s:o,l:s,a}}function Nh(e){const{h:t,s:n,l:i,a}=e,s=i+n*Math.min(i,1-i),o=s===0?0:2-2*i/s;return{h:t,s:o,v:s,a}}function q_(e){let{r:t,g:n,b:i,a}=e;return a===void 0?`rgb(${t}, ${n}, ${i})`:`rgba(${t}, ${n}, ${i}, ${a})`}function Z_(e){return q_(qi(e))}function qr(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function J_(e){let{r:t,g:n,b:i,a}=e;return`#${[qr(t),qr(n),qr(i),a!==void 0?qr(Math.round(a*255)):""].join("")}`}function Q_(e){e=AO(e);let[t,n,i,a]=lO(e,2).map(s=>parseInt(s,16));return a=a===void 0?a:a/255,{r:t,g:n,b:i,a}}function e0(e){const t=Q_(e);return vu(t)}function t0(e){return J_(qi(e))}function AO(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=sp(sp(e,6),8,"F")),e}function TO(e,t){const n=Y_(Bh(e));return n[0]=n[0]+t*10,G_(K_(n))}function MO(e,t){const n=Y_(Bh(e));return n[0]=n[0]-t*10,G_(K_(n))}function uf(e){const t=oi(e);return Bh(t)[1]}function EO(e,t){const n=uf(e),i=uf(t),a=Math.max(n,i),s=Math.min(n,i);return(a+.05)/(s+.05)}function n0(e){const t=Math.abs(bp(oi(0),oi(e)));return Math.abs(bp(oi(16777215),oi(e)))>Math.min(t,50)?"#fff":"#000"}function W(e,t){return n=>Object.keys(e).reduce((i,a)=>{const o=typeof e[a]=="object"&&e[a]!=null&&!Array.isArray(e[a])?e[a]:{type:e[a]};return n&&a in n?i[a]={...o,default:n[a]}:i[a]=o,t&&!i[a].source&&(i[a].source=t),i},{})}const Re=W({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),So=Symbol.for("vuetify:defaults");function DO(e){return Z(e)}function Fh(){const e=Ke(So);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Ct(e,t){const n=Fh(),i=Z(e),a=w(()=>{if(Je(t==null?void 0:t.disabled))return n.value;const o=Je(t==null?void 0:t.scoped),l=Je(t==null?void 0:t.reset),r=Je(t==null?void 0:t.root);if(i.value==null&&!(o||l||r))return n.value;let c=si(i.value,{prev:n.value});if(o)return c;if(l||r){const u=Number(l||1/0);for(let d=0;d<=u&&!(!c||!("prev"in c));d++)c=c.prev;return c&&typeof r=="string"&&r in c&&(c=si(si(c,{prev:c}),c[r])),c}return c.prev?si(c.prev,c):c});return lt(So,a),a}function OO(e,t){var n,i;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((i=e.props)==null?void 0:i[ms(t)])<"u"}function RO(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fh();const i=Yt("useDefaults");if(t=t??i.type.name??i.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const a=w(()=>{var r;return(r=n.value)==null?void 0:r[e._as??t]}),s=new Proxy(e,{get(r,c){var d,f,v,m;const u=Reflect.get(r,c);return c==="class"||c==="style"?[(d=a.value)==null?void 0:d[c],u].filter(g=>g!=null):typeof c=="string"&&!OO(i.vnode,c)?((f=a.value)==null?void 0:f[c])??((m=(v=n.value)==null?void 0:v.global)==null?void 0:m[c])??u:u}}),o=Se();Jt(()=>{if(a.value){const r=Object.entries(a.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});o.value=r.length?Object.fromEntries(r):void 0}else o.value=void 0});function l(){const r=$O(So,i);lt(So,w(()=>o.value?si((r==null?void 0:r.value)??{},o.value):r==null?void 0:r.value))}return{props:s,provideSubDefaults:l}}function Gn(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=W(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(i){return B_(i,t)},e.props._as=String,e.setup=function(i,a){const s=Fh();if(!s.value)return e._setup(i,a);const{props:o,provideSubDefaults:l}=RO(i,i._as??e.name,s),r=e._setup(o,a);return l(),r}}return e}function ae(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Gn:La)(t)}function LO(e,t){return t.props=e,t}function Xn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return ae()({name:n??bi(yn(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...Re()},setup(i,a){let{slots:s}=a;return()=>{var o;return Fn(i.tag,{class:[e,i.class],style:i.style},(o=s.default)==null?void 0:o.call(s))}}})}function i0(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const Hl="cubic-bezier(0.4, 0, 0.2, 1)",BO="cubic-bezier(0.0, 0, 0.2, 1)",NO="cubic-bezier(0.4, 0, 1, 1)";function Sp(e,t,n){return Object.keys(e).filter(i=>fu(i)&&i.endsWith(t)).reduce((i,a)=>(i[a.slice(0,-t.length)]=s=>e[a](s,n(s)),i),{})}function Yt(e,t){const n=Di();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function Ri(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=Yt(e).type;return ms((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let a0=0,sc=new WeakMap;function xn(){const e=Yt("getUid");if(sc.has(e))return sc.get(e);{const t=a0++;return sc.set(e,t),t}}xn.reset=()=>{a0=0,sc=new WeakMap};function $h(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?FO(e):zh(e))return e;e=e.parentElement}return document.scrollingElement}function Oc(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(zh(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function zh(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function FO(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function $O(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Yt("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}function zO(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function fe(e){const t=Yt("useRender");t.render=e}function $e(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const s=Yt("useProxiedModel"),o=Z(e[t]!==void 0?e[t]:n),l=ms(t),c=w(l!==t?()=>{var d,f,v,m;return e[t],!!(((d=s.vnode.props)!=null&&d.hasOwnProperty(t)||(f=s.vnode.props)!=null&&f.hasOwnProperty(l))&&((v=s.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${t}`)||(m=s.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${l}`)))}:()=>{var d,f;return e[t],!!((d=s.vnode.props)!=null&&d.hasOwnProperty(t)&&((f=s.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${t}`)))});mi(()=>!c.value,()=>{_e(()=>e[t],d=>{o.value=d})});const u=w({get(){const d=e[t];return i(c.value?d:o.value)},set(d){const f=a(d),v=Ye(c.value?e[t]:o.value);v===f||i(v)===d||(o.value=f,s==null||s.emit(`update:${t}`,f))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?e[t]:o.value}),u}const wp="$vuetify.",kp=(e,t)=>e.replace(/\{(\d+)\}/g,(n,i)=>String(t[+i])),s0=(e,t,n)=>function(i){for(var a=arguments.length,s=new Array(a>1?a-1:0),o=1;onew Intl.NumberFormat([e.value,t.value],i).format(n)}function _d(e,t,n){const i=$e(e,t,e[t]??n.value);return i.value=e[t]??n.value,_e(n,a=>{e[t]==null&&(i.value=n.value)}),i}function l0(e){return t=>{const n=_d(t,"locale",e.current),i=_d(t,"fallback",e.fallback),a=_d(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:i,messages:a,t:s0(n,i,a),n:o0(n,i),provide:l0({current:n,fallback:i,messages:a})}}}function HO(e){const t=Se((e==null?void 0:e.locale)??"en"),n=Se((e==null?void 0:e.fallback)??"en"),i=Z({en:qD,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:i,t:s0(t,n,i),n:o0(t,n),provide:l0({current:t,fallback:n,messages:i})}}const wo=Symbol.for("vuetify:locale");function jO(e){return e.name!=null}function WO(e){const t=e!=null&&e.adapter&&jO(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:HO(e),n=YO(t,e);return{...t,...n}}function Kt(){const e=Ke(wo);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function UO(e){const t=Ke(wo);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");const n=t.provide(e),i=KO(n,t.rtl,e),a={...n,...i};return lt(wo,a),a}function YO(e,t){const n=Z((t==null?void 0:t.rtl)??ZD),i=w(()=>n.value[e.current.value]??!1);return{isRtl:i,rtl:n,rtlClasses:w(()=>`v-locale--is-${i.value?"rtl":"ltr"}`)}}function KO(e,t,n){const i=w(()=>n.rtl??t.value[e.current.value]??!1);return{isRtl:i,rtl:t,rtlClasses:w(()=>`v-locale--is-${i.value?"rtl":"ltr"}`)}}function dn(){const e=Ke(wo);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const df={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function GO(e,t){const n=[];let i=[];const a=r0(e),s=c0(e),o=(a.getDay()-df[t.slice(-2).toUpperCase()]+7)%7,l=(s.getDay()-df[t.slice(-2).toUpperCase()]+7)%7;for(let r=0;r0&&n.push(i),n}function r0(e){return new Date(e.getFullYear(),e.getMonth(),1)}function c0(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function XO(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const qO=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function u0(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(qO.test(e))return XO(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const Cp=new Date(2e3,0,2);function ZO(e){const t=df[e.slice(-2).toUpperCase()];return Ti(7).map(n=>{const i=new Date(Cp);return i.setDate(Cp.getDate()+t+n),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(i)})}function JO(e,t,n,i){const a=u0(e)??new Date,s=i==null?void 0:i[t];if(typeof s=="function")return s(a,t,n);let o={};switch(t){case"fullDateWithWeekday":o={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":o={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":o={day:"2-digit",month:"2-digit",year:"numeric"};break;case"monthAndDate":o={month:"long",day:"numeric"};break;case"monthAndYear":o={month:"long",year:"numeric"};break;case"month":o={month:"long"};break;case"monthShort":o={month:"short"};break;case"dayOfMonth":o={day:"numeric"};break;case"shortDate":o={year:"2-digit",month:"numeric",day:"numeric"};break;case"year":o={year:"numeric"};break;default:o=s??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,o).format(a)}function QO(e,t){const n=e.toJsDate(t),i=n.getFullYear(),a=op(String(n.getMonth()+1),2,"0"),s=op(String(n.getDate()),2,"0");return`${i}-${a}-${s}`}function e2(e){const[t,n,i]=e.split("-").map(Number);return new Date(t,n-1,i)}function t2(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function n2(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function i2(e){return e.getFullYear()}function a2(e){return e.getMonth()}function s2(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function o2(e){return new Date(e.getFullYear(),0,1)}function l2(e){return new Date(e.getFullYear(),11,31)}function r2(e,t){return ff(e,t[0])&&u2(e,t[1])}function c2(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function ff(e,t){return e.getTime()>t.getTime()}function u2(e,t){return e.getTime(){n.locale=e.locale[i]??i??n.locale}),n}function mu(){const e=Ke(d0);if(!e)throw new Error("[Vuetify] Could not find injected date options");const t=Kt();return f0(e,t)}function _2(e,t){const n=e.toJsDate(t);let i=e.getYear(n),a=e.startOfYear(n);if(n=l&&(i=i+1,a=l)}const s=Math.abs(n.getTime()-a.getTime()),o=Math.ceil(s/(1e3*60*60*24));return Math.floor(o/7)+1}const gu=["sm","md","lg","xl","xxl"],hf=Symbol.for("vuetify:display"),Vp={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},x2=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vp;return si(Vp,e)};function Ap(e){return yt&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function Tp(e){return yt&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function Mp(e){const t=yt&&!e?window.navigator.userAgent:"ssr";function n(m){return!!t.match(m)}const i=n(/android/i),a=n(/iphone|ipad|ipod/i),s=n(/cordova/i),o=n(/electron/i),l=n(/chrome/i),r=n(/edge/i),c=n(/firefox/i),u=n(/opera/i),d=n(/win/i),f=n(/mac/i),v=n(/linux/i);return{android:i,ios:a,cordova:s,electron:o,chrome:l,edge:r,firefox:c,opera:u,win:d,mac:f,linux:v,touch:JD,ssr:t==="ssr"}}function S2(e,t){const{thresholds:n,mobileBreakpoint:i}=x2(e),a=Se(Tp(t)),s=Se(Mp(t)),o=Ft({}),l=Se(Ap(t));function r(){a.value=Tp(),l.value=Ap()}function c(){r(),s.value=Mp()}return Jt(()=>{const u=l.value=n.xxl,p=u?"xs":d?"sm":f?"md":v?"lg":m?"xl":"xxl",y=typeof i=="number"?i:n[i],b=l.value0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ri();const n=Ke(hf);if(!n)throw new Error("Could not find Vuetify display injection");const i=w(()=>{if(!e.mobileBreakpoint)return n.mobile.value;const s=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:n.thresholds.value[e.mobileBreakpoint];return n.width.valuet?{[`${t}--mobile`]:i.value}:{});return{...n,displayClasses:a,mobile:i}}const w2={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",eyeDropper:"mdi-eyedropper"},k2={component:e=>Fn(Wh,{...e,class:"mdi"})},We=[String,Function,Object,Array],vf=Symbol.for("vuetify:icons"),pu=W({icon:{type:We},tag:{type:String,required:!0}},"icon"),mf=ae()({name:"VComponentIcon",props:pu(),setup(e,t){let{slots:n}=t;return()=>{const i=e.icon;return h(e.tag,null,{default:()=>{var a;return[e.icon?h(i,null,null):(a=n.default)==null?void 0:a.call(n)]}})}}}),jh=Gn({name:"VSvgIcon",inheritAttrs:!1,props:pu(),setup(e,t){let{attrs:n}=t;return()=>h(e.tag,ve(n,{style:null}),{default:()=>[h("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(i=>Array.isArray(i)?h("path",{d:i[0],"fill-opacity":i[1]},null):h("path",{d:i},null)):h("path",{d:e.icon},null)])]})}}),C2=Gn({name:"VLigatureIcon",props:pu(),setup(e){return()=>h(e.tag,null,{default:()=>[e.icon]})}}),Wh=Gn({name:"VClassIcon",props:pu(),setup(e){return()=>h(e.tag,{class:e.icon},null)}}),P2={svg:{component:jh},class:{component:Wh}};function I2(e){return si({defaultSet:"mdi",sets:{...P2,mdi:k2},aliases:{...w2,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},e)}const V2=e=>{const t=Ke(vf);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:w(()=>{var r;const i=Je(e);if(!i)return{component:mf};let a=i;if(typeof a=="string"&&(a=a.trim(),a.startsWith("$")&&(a=(r=t.aliases)==null?void 0:r[a.slice(1)])),!a)throw new Error(`Could not find aliased icon "${i}"`);if(Array.isArray(a))return{component:jh,icon:a};if(typeof a!="string")return{component:mf,icon:a};const s=Object.keys(t.sets).find(c=>typeof a=="string"&&a.startsWith(`${c}:`)),o=s?a.slice(s.length+1):a;return{component:t.sets[s??t.defaultSet].component,icon:o}})}},jl=Symbol.for("vuetify:theme"),Qe=W({theme:String},"theme");function Ep(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function A2(){var i,a;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ep();const t=Ep();if(!e)return{...t,isDisabled:!0};const n={};for(const[s,o]of Object.entries(e.themes??{})){const l=o.dark||s==="dark"?(i=t.themes)==null?void 0:i.dark:(a=t.themes)==null?void 0:a.light;n[s]=si(l,o)}return si(t,{...e,themes:n})}function T2(e){const t=A2(e),n=Z(t.defaultTheme),i=Z(t.themes),a=w(()=>{const u={};for(const[d,f]of Object.entries(i.value)){const v=u[d]={...f,colors:{...f.colors}};if(t.variations)for(const m of t.variations.colors){const g=v.colors[m];if(g)for(const p of["lighten","darken"]){const y=p==="lighten"?TO:MO;for(const b of Ti(t.variations[p],1))v.colors[`${m}-${p}-${b}`]=J_(y(oi(g),b))}}for(const m of Object.keys(v.colors)){if(/^on-[a-z]/.test(m)||v.colors[`on-${m}`])continue;const g=`on-${m}`,p=oi(v.colors[m]);v.colors[g]=n0(p)}}return u}),s=w(()=>a.value[n.value]),o=w(()=>{const u=[];s.value.dark&&ns(u,":root",["color-scheme: dark"]),ns(u,":root",Dp(s.value));for(const[m,g]of Object.entries(a.value))ns(u,`.v-theme--${m}`,[`color-scheme: ${g.dark?"dark":"normal"}`,...Dp(g)]);const d=[],f=[],v=new Set(Object.values(a.value).flatMap(m=>Object.keys(m.colors)));for(const m of v)/^on-[a-z]/.test(m)?ns(f,`.${m}`,[`color: rgb(var(--v-theme-${m})) !important`]):(ns(d,`.bg-${m}`,[`--v-theme-overlay-multiplier: var(--v-theme-${m}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${m})) !important`,`color: rgb(var(--v-theme-on-${m})) !important`]),ns(f,`.text-${m}`,[`color: rgb(var(--v-theme-${m})) !important`]),ns(f,`.border-${m}`,[`--v-border-color: var(--v-theme-${m})`]));return u.push(...d,...f),u.map((m,g)=>g===0?m:` ${m}`).join("")});function l(){return{style:[{children:o.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function r(u){if(t.isDisabled)return;const d=u._context.provides.usehead;if(d)if(d.push){const v=d.push(l);yt&&_e(o,()=>{v.patch(l)})}else yt?(d.addHeadObjs(w(l)),Jt(()=>d.updateDOM())):d.addHeadObjs(l());else{let m=function(){if(typeof document<"u"&&!v){const g=document.createElement("style");g.type="text/css",g.id="vuetify-theme-stylesheet",t.cspNonce&&g.setAttribute("nonce",t.cspNonce),v=g,document.head.appendChild(v)}v&&(v.innerHTML=o.value)};var f=m;let v=yt?document.getElementById("vuetify-theme-stylesheet"):null;yt?_e(o,m,{immediate:!0}):m()}}const c=w(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:r,isDisabled:t.isDisabled,name:n,themes:i,current:s,computedThemes:a,themeClasses:c,styles:o,global:{name:n,current:s}}}function ot(e){Yt("provideTheme");const t=Ke(jl,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=w(()=>e.theme??t.name.value),i=w(()=>t.themes.value[n.value]),a=w(()=>t.isDisabled?void 0:`v-theme--${n.value}`),s={...t,name:n,current:i,themeClasses:a};return lt(jl,s),s}function h0(){Yt("useTheme");const e=Ke(jl,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function ns(e,t,n){e.push(`${t} { `,...n.map(i=>` ${i}; `),`} diff --git a/frontend/dist/assets/index-bbcb1de9.css b/frontend/dist/assets/index-d9bd6ccd.css similarity index 99% rename from frontend/dist/assets/index-bbcb1de9.css rename to frontend/dist/assets/index-d9bd6ccd.css index 495711f..919679c 100644 --- a/frontend/dist/assets/index-bbcb1de9.css +++ b/frontend/dist/assets/index-d9bd6ccd.css @@ -6,7 +6,7 @@ * Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2023 Fonticons, Inc. - */:root,:host{--fa-style-family-brands: "Font Awesome 6 Brands";--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"}@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url(/resame-website/assets/fa-brands-400-3a8924cd.woff2) format("woff2"),url(/resame-website/assets/fa-brands-400-5656d596.ttf) format("truetype")}.fab,.fa-brands{font-weight:400}.fa-monero:before{content:""}.fa-hooli:before{content:""}.fa-yelp:before{content:""}.fa-cc-visa:before{content:""}.fa-lastfm:before{content:""}.fa-shopware:before{content:""}.fa-creative-commons-nc:before{content:""}.fa-aws:before{content:""}.fa-redhat:before{content:""}.fa-yoast:before{content:""}.fa-cloudflare:before{content:""}.fa-ups:before{content:""}.fa-pixiv:before{content:""}.fa-wpexplorer:before{content:""}.fa-dyalog:before{content:""}.fa-bity:before{content:""}.fa-stackpath:before{content:""}.fa-buysellads:before{content:""}.fa-first-order:before{content:""}.fa-modx:before{content:""}.fa-guilded:before{content:""}.fa-vnv:before{content:""}.fa-square-js:before{content:""}.fa-js-square:before{content:""}.fa-microsoft:before{content:""}.fa-qq:before{content:""}.fa-orcid:before{content:""}.fa-java:before{content:""}.fa-invision:before{content:""}.fa-creative-commons-pd-alt:before{content:""}.fa-centercode:before{content:""}.fa-glide-g:before{content:""}.fa-drupal:before{content:""}.fa-hire-a-helper:before{content:""}.fa-creative-commons-by:before{content:""}.fa-unity:before{content:""}.fa-whmcs:before{content:""}.fa-rocketchat:before{content:""}.fa-vk:before{content:""}.fa-untappd:before{content:""}.fa-mailchimp:before{content:""}.fa-css3-alt:before{content:""}.fa-square-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-vimeo-v:before{content:""}.fa-contao:before{content:""}.fa-square-font-awesome:before{content:""}.fa-deskpro:before{content:""}.fa-brave:before{content:""}.fa-sistrix:before{content:""}.fa-square-instagram:before{content:""}.fa-instagram-square:before{content:""}.fa-battle-net:before{content:""}.fa-the-red-yeti:before{content:""}.fa-square-hacker-news:before{content:""}.fa-hacker-news-square:before{content:""}.fa-edge:before{content:""}.fa-threads:before{content:""}.fa-napster:before{content:""}.fa-square-snapchat:before{content:""}.fa-snapchat-square:before{content:""}.fa-google-plus-g:before{content:""}.fa-artstation:before{content:""}.fa-markdown:before{content:""}.fa-sourcetree:before{content:""}.fa-google-plus:before{content:""}.fa-diaspora:before{content:""}.fa-foursquare:before{content:""}.fa-stack-overflow:before{content:""}.fa-github-alt:before{content:""}.fa-phoenix-squadron:before{content:""}.fa-pagelines:before{content:""}.fa-algolia:before{content:""}.fa-red-river:before{content:""}.fa-creative-commons-sa:before{content:""}.fa-safari:before{content:""}.fa-google:before{content:""}.fa-square-font-awesome-stroke:before{content:""}.fa-font-awesome-alt:before{content:""}.fa-atlassian:before{content:""}.fa-linkedin-in:before{content:""}.fa-digital-ocean:before{content:""}.fa-nimblr:before{content:""}.fa-chromecast:before{content:""}.fa-evernote:before{content:""}.fa-hacker-news:before{content:""}.fa-creative-commons-sampling:before{content:""}.fa-adversal:before{content:""}.fa-creative-commons:before{content:""}.fa-watchman-monitoring:before{content:""}.fa-fonticons:before{content:""}.fa-weixin:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-codepen:before{content:""}.fa-git-alt:before{content:""}.fa-lyft:before{content:""}.fa-rev:before{content:""}.fa-windows:before{content:""}.fa-wizards-of-the-coast:before{content:""}.fa-square-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-meetup:before{content:""}.fa-centos:before{content:""}.fa-adn:before{content:""}.fa-cloudsmith:before{content:""}.fa-opensuse:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-square-dribbble:before{content:""}.fa-dribbble-square:before{content:""}.fa-codiepie:before{content:""}.fa-node:before{content:""}.fa-mix:before{content:""}.fa-steam:before{content:""}.fa-cc-apple-pay:before{content:""}.fa-scribd:before{content:""}.fa-debian:before{content:""}.fa-openid:before{content:""}.fa-instalod:before{content:""}.fa-expeditedssl:before{content:""}.fa-sellcast:before{content:""}.fa-square-twitter:before{content:""}.fa-twitter-square:before{content:""}.fa-r-project:before{content:""}.fa-delicious:before{content:""}.fa-freebsd:before{content:""}.fa-vuejs:before{content:""}.fa-accusoft:before{content:""}.fa-ioxhost:before{content:""}.fa-fonticons-fi:before{content:""}.fa-app-store:before{content:""}.fa-cc-mastercard:before{content:""}.fa-itunes-note:before{content:""}.fa-golang:before{content:""}.fa-kickstarter:before{content:""}.fa-grav:before{content:""}.fa-weibo:before{content:""}.fa-uncharted:before{content:""}.fa-firstdraft:before{content:""}.fa-square-youtube:before{content:""}.fa-youtube-square:before{content:""}.fa-wikipedia-w:before{content:""}.fa-wpressr:before{content:""}.fa-rendact:before{content:""}.fa-angellist:before{content:""}.fa-galactic-republic:before{content:""}.fa-nfc-directional:before{content:""}.fa-skype:before{content:""}.fa-joget:before{content:""}.fa-fedora:before{content:""}.fa-stripe-s:before{content:""}.fa-meta:before{content:""}.fa-laravel:before{content:""}.fa-hotjar:before{content:""}.fa-bluetooth-b:before{content:""}.fa-square-letterboxd:before{content:""}.fa-sticker-mule:before{content:""}.fa-creative-commons-zero:before{content:""}.fa-hips:before{content:""}.fa-behance:before{content:""}.fa-reddit:before{content:""}.fa-discord:before{content:""}.fa-chrome:before{content:""}.fa-app-store-ios:before{content:""}.fa-cc-discover:before{content:""}.fa-wpbeginner:before{content:""}.fa-confluence:before{content:""}.fa-shoelace:before{content:""}.fa-mdb:before{content:""}.fa-dochub:before{content:""}.fa-accessible-icon:before{content:""}.fa-ebay:before{content:""}.fa-amazon:before{content:""}.fa-unsplash:before{content:""}.fa-yarn:before{content:""}.fa-square-steam:before{content:""}.fa-steam-square:before{content:""}.fa-500px:before{content:""}.fa-square-vimeo:before{content:""}.fa-vimeo-square:before{content:""}.fa-asymmetrik:before{content:""}.fa-font-awesome:before{content:""}.fa-font-awesome-flag:before{content:""}.fa-font-awesome-logo-full:before{content:""}.fa-gratipay:before{content:""}.fa-apple:before{content:""}.fa-hive:before{content:""}.fa-gitkraken:before{content:""}.fa-keybase:before{content:""}.fa-apple-pay:before{content:""}.fa-padlet:before{content:""}.fa-amazon-pay:before{content:""}.fa-square-github:before{content:""}.fa-github-square:before{content:""}.fa-stumbleupon:before{content:""}.fa-fedex:before{content:""}.fa-phoenix-framework:before{content:""}.fa-shopify:before{content:""}.fa-neos:before{content:""}.fa-square-threads:before{content:""}.fa-hackerrank:before{content:""}.fa-researchgate:before{content:""}.fa-swift:before{content:""}.fa-angular:before{content:""}.fa-speakap:before{content:""}.fa-angrycreative:before{content:""}.fa-y-combinator:before{content:""}.fa-empire:before{content:""}.fa-envira:before{content:""}.fa-google-scholar:before{content:""}.fa-square-gitlab:before{content:""}.fa-gitlab-square:before{content:""}.fa-studiovinari:before{content:""}.fa-pied-piper:before{content:""}.fa-wordpress:before{content:""}.fa-product-hunt:before{content:""}.fa-firefox:before{content:""}.fa-linode:before{content:""}.fa-goodreads:before{content:""}.fa-square-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-jsfiddle:before{content:""}.fa-sith:before{content:""}.fa-themeisle:before{content:""}.fa-page4:before{content:""}.fa-hashnode:before{content:""}.fa-react:before{content:""}.fa-cc-paypal:before{content:""}.fa-squarespace:before{content:""}.fa-cc-stripe:before{content:""}.fa-creative-commons-share:before{content:""}.fa-bitcoin:before{content:""}.fa-keycdn:before{content:""}.fa-opera:before{content:""}.fa-itch-io:before{content:""}.fa-umbraco:before{content:""}.fa-galactic-senate:before{content:""}.fa-ubuntu:before{content:""}.fa-draft2digital:before{content:""}.fa-stripe:before{content:""}.fa-houzz:before{content:""}.fa-gg:before{content:""}.fa-dhl:before{content:""}.fa-square-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-xing:before{content:""}.fa-blackberry:before{content:""}.fa-creative-commons-pd:before{content:""}.fa-playstation:before{content:""}.fa-quinscape:before{content:""}.fa-less:before{content:""}.fa-blogger-b:before{content:""}.fa-opencart:before{content:""}.fa-vine:before{content:""}.fa-signal-messenger:before{content:""}.fa-paypal:before{content:""}.fa-gitlab:before{content:""}.fa-typo3:before{content:""}.fa-reddit-alien:before{content:""}.fa-yahoo:before{content:""}.fa-dailymotion:before{content:""}.fa-affiliatetheme:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-bootstrap:before{content:""}.fa-odnoklassniki:before{content:""}.fa-nfc-symbol:before{content:""}.fa-mintbit:before{content:""}.fa-ethereum:before{content:""}.fa-speaker-deck:before{content:""}.fa-creative-commons-nc-eu:before{content:""}.fa-patreon:before{content:""}.fa-avianex:before{content:""}.fa-ello:before{content:""}.fa-gofore:before{content:""}.fa-bimobject:before{content:""}.fa-brave-reverse:before{content:""}.fa-facebook-f:before{content:""}.fa-square-google-plus:before{content:""}.fa-google-plus-square:before{content:""}.fa-mandalorian:before{content:""}.fa-first-order-alt:before{content:""}.fa-osi:before{content:""}.fa-google-wallet:before{content:""}.fa-d-and-d-beyond:before{content:""}.fa-periscope:before{content:""}.fa-fulcrum:before{content:""}.fa-cloudscale:before{content:""}.fa-forumbee:before{content:""}.fa-mizuni:before{content:""}.fa-schlix:before{content:""}.fa-square-xing:before{content:""}.fa-xing-square:before{content:""}.fa-bandcamp:before{content:""}.fa-wpforms:before{content:""}.fa-cloudversify:before{content:""}.fa-usps:before{content:""}.fa-megaport:before{content:""}.fa-magento:before{content:""}.fa-spotify:before{content:""}.fa-optin-monster:before{content:""}.fa-fly:before{content:""}.fa-aviato:before{content:""}.fa-itunes:before{content:""}.fa-cuttlefish:before{content:""}.fa-blogger:before{content:""}.fa-flickr:before{content:""}.fa-viber:before{content:""}.fa-soundcloud:before{content:""}.fa-digg:before{content:""}.fa-tencent-weibo:before{content:""}.fa-letterboxd:before{content:""}.fa-symfony:before{content:""}.fa-maxcdn:before{content:""}.fa-etsy:before{content:""}.fa-facebook-messenger:before{content:""}.fa-audible:before{content:""}.fa-think-peaks:before{content:""}.fa-bilibili:before{content:""}.fa-erlang:before{content:""}.fa-x-twitter:before{content:""}.fa-cotton-bureau:before{content:""}.fa-dashcube:before{content:""}.fa-42-group:before{content:""}.fa-innosoft:before{content:""}.fa-stack-exchange:before{content:""}.fa-elementor:before{content:""}.fa-square-pied-piper:before{content:""}.fa-pied-piper-square:before{content:""}.fa-creative-commons-nd:before{content:""}.fa-palfed:before{content:""}.fa-superpowers:before{content:""}.fa-resolving:before{content:""}.fa-xbox:before{content:""}.fa-searchengin:before{content:""}.fa-tiktok:before{content:""}.fa-square-facebook:before{content:""}.fa-facebook-square:before{content:""}.fa-renren:before{content:""}.fa-linux:before{content:""}.fa-glide:before{content:""}.fa-linkedin:before{content:""}.fa-hubspot:before{content:""}.fa-deploydog:before{content:""}.fa-twitch:before{content:""}.fa-ravelry:before{content:""}.fa-mixer:before{content:""}.fa-square-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-vimeo:before{content:""}.fa-mendeley:before{content:""}.fa-uniregistry:before{content:""}.fa-figma:before{content:""}.fa-creative-commons-remix:before{content:""}.fa-cc-amazon-pay:before{content:""}.fa-dropbox:before{content:""}.fa-instagram:before{content:""}.fa-cmplid:before{content:""}.fa-upwork:before{content:""}.fa-facebook:before{content:""}.fa-gripfire:before{content:""}.fa-jedi-order:before{content:""}.fa-uikit:before{content:""}.fa-fort-awesome-alt:before{content:""}.fa-phabricator:before{content:""}.fa-ussunnah:before{content:""}.fa-earlybirds:before{content:""}.fa-trade-federation:before{content:""}.fa-autoprefixer:before{content:""}.fa-whatsapp:before{content:""}.fa-slideshare:before{content:""}.fa-google-play:before{content:""}.fa-viadeo:before{content:""}.fa-line:before{content:""}.fa-google-drive:before{content:""}.fa-servicestack:before{content:""}.fa-simplybuilt:before{content:""}.fa-bitbucket:before{content:""}.fa-imdb:before{content:""}.fa-deezer:before{content:""}.fa-raspberry-pi:before{content:""}.fa-jira:before{content:""}.fa-docker:before{content:""}.fa-screenpal:before{content:""}.fa-bluetooth:before{content:""}.fa-gitter:before{content:""}.fa-d-and-d:before{content:""}.fa-microblog:before{content:""}.fa-cc-diners-club:before{content:""}.fa-gg-circle:before{content:""}.fa-pied-piper-hat:before{content:""}.fa-kickstarter-k:before{content:""}.fa-yandex:before{content:""}.fa-readme:before{content:""}.fa-html5:before{content:""}.fa-sellsy:before{content:""}.fa-sass:before{content:""}.fa-wirsindhandwerk:before{content:""}.fa-wsh:before{content:""}.fa-buromobelexperte:before{content:""}.fa-salesforce:before{content:""}.fa-octopus-deploy:before{content:""}.fa-medapps:before{content:""}.fa-ns8:before{content:""}.fa-pinterest-p:before{content:""}.fa-apper:before{content:""}.fa-fort-awesome:before{content:""}.fa-waze:before{content:""}.fa-cc-jcb:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-fantasy-flight-games:before{content:""}.fa-rust:before{content:""}.fa-wix:before{content:""}.fa-square-behance:before{content:""}.fa-behance-square:before{content:""}.fa-supple:before{content:""}.fa-webflow:before{content:""}.fa-rebel:before{content:""}.fa-css3:before{content:""}.fa-staylinked:before{content:""}.fa-kaggle:before{content:""}.fa-space-awesome:before{content:""}.fa-deviantart:before{content:""}.fa-cpanel:before{content:""}.fa-goodreads-g:before{content:""}.fa-square-git:before{content:""}.fa-git-square:before{content:""}.fa-square-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-trello:before{content:""}.fa-creative-commons-nc-jp:before{content:""}.fa-get-pocket:before{content:""}.fa-perbyte:before{content:""}.fa-grunt:before{content:""}.fa-weebly:before{content:""}.fa-connectdevelop:before{content:""}.fa-leanpub:before{content:""}.fa-black-tie:before{content:""}.fa-themeco:before{content:""}.fa-python:before{content:""}.fa-android:before{content:""}.fa-bots:before{content:""}.fa-free-code-camp:before{content:""}.fa-hornbill:before{content:""}.fa-js:before{content:""}.fa-ideal:before{content:""}.fa-git:before{content:""}.fa-dev:before{content:""}.fa-sketch:before{content:""}.fa-yandex-international:before{content:""}.fa-cc-amex:before{content:""}.fa-uber:before{content:""}.fa-github:before{content:""}.fa-php:before{content:""}.fa-alipay:before{content:""}.fa-youtube:before{content:""}.fa-skyatlas:before{content:""}.fa-firefox-browser:before{content:""}.fa-replyd:before{content:""}.fa-suse:before{content:""}.fa-jenkins:before{content:""}.fa-twitter:before{content:""}.fa-rockrms:before{content:""}.fa-pinterest:before{content:""}.fa-buffer:before{content:""}.fa-npm:before{content:""}.fa-yammer:before{content:""}.fa-btc:before{content:""}.fa-dribbble:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-internet-explorer:before{content:""}.fa-stubber:before{content:""}.fa-telegram:before{content:""}.fa-telegram-plane:before{content:""}.fa-old-republic:before{content:""}.fa-odysee:before{content:""}.fa-square-whatsapp:before{content:""}.fa-whatsapp-square:before{content:""}.fa-node-js:before{content:""}.fa-edge-legacy:before{content:""}.fa-slack:before{content:""}.fa-slack-hash:before{content:""}.fa-medrt:before{content:""}.fa-usb:before{content:""}.fa-tumblr:before{content:""}.fa-vaadin:before{content:""}.fa-quora:before{content:""}.fa-square-x-twitter:before{content:""}.fa-reacteurope:before{content:""}.fa-medium:before{content:""}.fa-medium-m:before{content:""}.fa-amilia:before{content:""}.fa-mixcloud:before{content:""}.fa-flipboard:before{content:""}.fa-viacoin:before{content:""}.fa-critical-role:before{content:""}.fa-sitrox:before{content:""}.fa-discourse:before{content:""}.fa-joomla:before{content:""}.fa-mastodon:before{content:""}.fa-airbnb:before{content:""}.fa-wolf-pack-battalion:before{content:""}.fa-buy-n-large:before{content:""}.fa-gulp:before{content:""}.fa-creative-commons-sampling-plus:before{content:""}.fa-strava:before{content:""}.fa-ember:before{content:""}.fa-canadian-maple-leaf:before{content:""}.fa-teamspeak:before{content:""}.fa-pushed:before{content:""}.fa-wordpress-simple:before{content:""}.fa-nutritionix:before{content:""}.fa-wodu:before{content:""}.fa-google-pay:before{content:""}.fa-intercom:before{content:""}.fa-zhihu:before{content:""}.fa-korvue:before{content:""}.fa-pix:before{content:""}.fa-steam-symbol:before{content:""}body{background-color:#212529}.no-scroll{overflow-y:hidden!important}::-moz-selection{color:#212529;background:#1a73e8}::selection{color:#212529;background:#a5c8f6}::-webkit-scrollbar{max-width:7px;max-height:4px}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}::-webkit-scrollbar-thumb{background:#65727e;-webkit-box-shadow:rgb(155,155,155)}::-webkit-scrollbar-thumb:window-inactive{background:#212529}h1,.h1,.eq-h1{font-size:2.75rem}@media (max-width: 1399.98px){h1,.h1,.eq-h1{font-size:2.475rem}}@media (max-width: 1199.98px){h1,.h1,.eq-h1{font-size:2.3375rem}}@media (max-width: 991.98px){h1,.h1,.eq-h1{font-size:2.2rem}}@media (max-width: 767.98px){h1,.h1,.eq-h1{font-size:2.0625rem}}@media (max-width: 575.98px){h1,.h1,.eq-h1{font-size:1.925rem}}h2,.h2,.eq-h2{font-size:2.5rem}@media (max-width: 1399.98px){h2,.h2,.eq-h2{font-size:2.25rem}}@media (max-width: 1199.98px){h2,.h2,.eq-h2{font-size:2.125rem}}@media (max-width: 991.98px){h2,.h2,.eq-h2{font-size:2rem}}@media (max-width: 767.98px){h2,.h2,.eq-h2{font-size:1.875rem}}@media (max-width: 575.98px){h2,.h2,.eq-h2{font-size:1.75rem}}h3,.h3,.eq-h3{font-size:2rem}@media (max-width: 1399.98px){h3,.h3,.eq-h3{font-size:1.8rem}}@media (max-width: 1199.98px){h3,.h3,.eq-h3{font-size:1.7rem}}@media (max-width: 991.98px){h3,.h3,.eq-h3{font-size:1.6rem}}@media (max-width: 767.98px){h3,.h3,.eq-h3{font-size:1.5rem}}@media (max-width: 575.98px){h3,.h3,.eq-h3{font-size:1.4rem}}h4,.h4,.eq-h4{font-size:1.5rem}@media (max-width: 1399.98px){h4,.h4,.eq-h4{font-size:1.35rem}}@media (max-width: 1199.98px){h4,.h4,.eq-h4{font-size:1.275rem}}@media (max-width: 991.98px){h4,.h4,.eq-h4{font-size:1.2rem}}@media (max-width: 767.98px){h4,.h4,.eq-h4{font-size:1.125rem}}@media (max-width: 575.98px){h4,.h4,.eq-h4{font-size:1.05rem}}h5,.h5,.eq-h5{font-size:1.3rem}@media (max-width: 1399.98px){h5,.h5,.eq-h5{font-size:1.17rem}}@media (max-width: 1199.98px){h5,.h5,.eq-h5{font-size:1.105rem}}@media (max-width: 991.98px){h5,.h5,.eq-h5{font-size:1.04rem}}@media (max-width: 767.98px){h5,.h5,.eq-h5{font-size:.975rem}}@media (max-width: 575.98px){h5,.h5,.eq-h5{font-size:.91rem}}h6,.h6,.eq-h6{font-size:1.1rem}@media (max-width: 1399.98px){h6,.h6,.eq-h6{font-size:.99rem}}@media (max-width: 1199.98px){h6,.h6,.eq-h6{font-size:.935rem}}@media (max-width: 991.98px){h6,.h6,.eq-h6{font-size:.88rem}}@media (max-width: 767.98px){h6,.h6,.eq-h6{font-size:.825rem}}@media (max-width: 575.98px){h6,.h6,.eq-h6{font-size:.77rem}}.lead-2{font-size:1.4rem}@media (max-width: 1399.98px){.lead-2{font-size:1.26rem}}@media (max-width: 1199.98px){.lead-2{font-size:1.19rem}}@media (max-width: 991.98px){.lead-2{font-size:1.12rem}}@media (max-width: 767.98px){.lead-2{font-size:1.05rem}}@media (max-width: 575.98px){.lead-2{font-size:.98rem}}.lead{font-size:1.2rem}@media (max-width: 1399.98px){.lead{font-size:1.08rem}}@media (max-width: 1199.98px){.lead{font-size:1.02rem}}@media (max-width: 991.98px){.lead{font-size:.96rem}}@media (max-width: 767.98px){.lead{font-size:.9rem}}@media (max-width: 575.98px){.lead{font-size:.84rem}}.display-1{font-size:3.25rem}@media (max-width: 1399.98px){.display-1{font-size:2.925rem}}@media (max-width: 1199.98px){.display-1{font-size:2.7625rem}}@media (max-width: 991.98px){.display-1{font-size:2.6rem}}@media (max-width: 767.98px){.display-1{font-size:2.4375rem}}@media (max-width: 575.98px){.display-1{font-size:2.275rem}}.text-1{font-size:.85rem}@media (max-width: 1399.98px){.text-1{font-size:.8075rem}}@media (max-width: 1199.98px){.text-1{font-size:.765rem}}@media (max-width: 991.98px){.text-1{font-size:.74375rem}}@media (max-width: 767.98px){.text-1{font-size:.7225rem}}@media (max-width: 575.98px){.text-1{font-size:.68rem}}.text-2{font-size:.9rem}@media (max-width: 1399.98px){.text-2{font-size:.855rem}}@media (max-width: 1199.98px){.text-2{font-size:.81rem}}@media (max-width: 991.98px){.text-2{font-size:.7875rem}}@media (max-width: 767.98px){.text-2{font-size:.765rem}}@media (max-width: 575.98px){.text-2{font-size:.72rem}}.text-3{font-size:.95rem}@media (max-width: 1399.98px){.text-3{font-size:.9025rem}}@media (max-width: 1199.98px){.text-3{font-size:.855rem}}@media (max-width: 991.98px){.text-3{font-size:.83125rem}}@media (max-width: 767.98px){.text-3{font-size:.8075rem}}@media (max-width: 575.98px){.text-3{font-size:.76rem}}.text-4{font-size:1rem}@media (max-width: 1399.98px){.text-4{font-size:.95rem}}@media (max-width: 1199.98px){.text-4{font-size:.9rem}}@media (max-width: 991.98px){.text-4{font-size:.875rem}}@media (max-width: 767.98px){.text-4{font-size:.85rem}}@media (max-width: 575.98px){.text-4{font-size:.8rem}}.text-5{font-size:1.05rem}@media (max-width: 1399.98px){.text-5{font-size:.9975rem}}@media (max-width: 1199.98px){.text-5{font-size:.945rem}}@media (max-width: 991.98px){.text-5{font-size:.91875rem}}@media (max-width: 767.98px){.text-5{font-size:.8925rem}}@media (max-width: 575.98px){.text-5{font-size:.84rem}}.text-muted{color:#757575!important}.text-normal{color:#000!important}.text-highlight{color:#495057;font-weight:700;font-family:Saira,sans-serif}.text-light-1{color:#f8f9fa!important}.text-light-2{color:#e9ecef!important}.text-light-3{color:#dee2e6!important}.text-light-4{color:#ced4da!important}.text-light-5{color:#adb5bd!important}.text-light-6{color:#6c757d!important}.text-light-7{color:#495057!important}a{text-decoration:none}a.light{color:#a5c8f6;font-weight:700}a.light:hover{color:#77acf1}a.muted{color:#757575}a.muted:hover{color:#1a73e8}hr.solid-divider{width:50px;height:4px;margin-top:.5rem;padding-top:0;background-color:#488fed;border:none;opacity:1}@media (max-width: 767.98px){hr.solid-divider{width:40px;height:2px;margin-top:0}}.btn-xl{padding:1rem 1.5rem;font-size:1rem;font-weight:700;font-family:Saira,sans-serif;text-transform:uppercase;border-radius:4rem}@media (max-width: 991.98px){.btn-xl{padding:.95rem 1.4rem;font-size:.95rem}}@media (max-width: 767.98px){.btn-xl{padding:.7rem 1.1rem;font-size:.8rem}}.image-view[data-v-66ce0b56]{display:inline-block;overflow:hidden}.image-view-img[data-v-66ce0b56]{width:100%;height:100%;vertical-align:top}.spinner[data-v-66ce0b56]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:#2125290d}.preloader-gif[data-v-66ce0b56]{max-width:200px;max-height:200px;margin:0 auto;width:50%;height:50%}@media (max-width: 767.98px){.preloader-gif[data-v-66ce0b56]{max-width:130px;max-height:130px}}@media (max-width: 575.98px){.preloader-gif[data-v-66ce0b56]{max-width:90px;max-height:90px}}.nav-profile-card[data-v-ad1c764a]{padding:1.5rem;text-align:center;background-color:#212529}@media (max-width: 991.98px){.nav-profile-card[data-v-ad1c764a]{padding:2rem}}@media (max-width: 767.98px){.nav-profile-card[data-v-ad1c764a]{padding:1.5rem}}@media screen and (max-height: 500px){.nav-profile-card[data-v-ad1c764a]{padding:1.25rem}}.img-pfp[data-v-ad1c764a]{--max-height:clamp(140px, 21.5vh, 170px);--border-width:6px;min-width:calc(var(--max-height) / 2);min-height:calc(var(--max-height) / 2);width:var(--max-height);height:var(--max-height);border:var(--border-width) solid rgba(106,119,131,.15);border-radius:50%}@media (max-width: 991.98px){.img-pfp[data-v-ad1c764a]{--max-height:140px}}@media (max-width: 575.98px){.img-pfp[data-v-ad1c764a]{--max-height: min(110px, 19.5vh);--border-width: 4px}}.nav-profile-card-title[data-v-ad1c764a]{margin-top:1rem;text-transform:uppercase;letter-spacing:.1px;color:#fff}.nav-profile-card-subtitle[data-v-ad1c764a]{font-family:Archivo,sans-serif;color:#adb5bd}.nav-sidebar[data-v-e3285fb2]{position:fixed;display:flex;flex-direction:column;height:100vh;width:290px;overflow:auto;background-color:#212529}.nav-sidebar-content[data-v-e3285fb2]{width:100%;margin:auto 0}ul.nav-links[data-v-e3285fb2]{position:relative;padding:0;list-style:none}@media screen and (min-height: 780px){ul.nav-links[data-v-e3285fb2]{padding-top:1rem}}li.nav-item[data-v-e3285fb2]{display:inline-flex;justify-content:left;align-items:center;padding:0 2.7rem;width:100%;min-height:clamp(2rem,5vh,2.7rem)}li.nav-item .nav-link[data-v-e3285fb2]{cursor:pointer;font-size:clamp(.9rem,2vh,1rem);font-family:Saira,sans-serif;text-transform:uppercase;text-align:center;color:#f8f9fa}li.nav-item .nav-link i[data-v-e3285fb2]{min-width:35px;color:#6c757d;transition:color .2s}li.nav-item .nav-link[data-v-e3285fb2]:hover{color:#a5c8f6}li.nav-item .nav-link:hover i[data-v-e3285fb2]{color:#d3e4fb}li.nav-item.nav-item-selected .nav-link[data-v-e3285fb2]{color:#a5c8f6}li.nav-item.nav-item-selected .nav-link i[data-v-e3285fb2]{color:#d3e4fb}.nav-sidebar-footer[data-v-e3285fb2]{text-align:center;padding:0 0 1.5rem;color:#fff}.nav-sidebar-footer .nav-sidebar-footer-credits[data-v-e3285fb2]{font-family:Archivo,sans-serif;color:#ced4da}.nav-item[data-v-77e48e8c]{font-size:.9rem;border-width:2px;min-height:min(50px,10vh);flex:1;padding:.5rem;font-family:Saira,sans-serif;text-transform:uppercase;border:none;border-top:2px solid #2c3237;background-color:#1c2023;color:#868e96}@media (max-width: 575.98px){.nav-item[data-v-77e48e8c]{font-size:.9rem;border-width:2px;min-height:min(45px,7.5vh)}}.nav-pill-icon[data-v-77e48e8c]{width:30px;color:#6c757d}@media (max-width: 575.98px){.nav-pill-icon[data-v-77e48e8c]{width:25px}}.nav-item[data-v-77e48e8c]:hover,.nav-item-selected[data-v-77e48e8c],.nav-item:hover .nav-pill-icon[data-v-77e48e8c],.nav-item-selected .nav-pill-icon[data-v-77e48e8c]{color:#fff}.nav-item-selected[data-v-77e48e8c]{border-color:#77acf1;background-color:#262a2f}.language-picker-container[data-v-0b712a98]{display:flex;justify-content:flex-end;position:absolute;width:100%;padding:.5rem;z-index:99}.nav-pills[data-v-0b712a98]{display:flex;width:100%;background-color:#212529}.nav-pills-fixed-container[data-v-0b712a98]{position:fixed;z-index:99;top:0;width:100%;transition:.2s all;background-color:#212529;color:#fff;text-align:center}.nav-pills-page-title[data-v-0b712a98]{display:none;text-transform:uppercase}@media (max-width: 575.98px){.nav-pills-page-title[data-v-0b712a98]{display:block;padding:.75rem 0 .9rem}}.nav-pills-fixed-container-shrink[data-v-0b712a98]{top:-8rem}@media (max-width: 575.98px){.nav-pills-fixed-container-shrink[data-v-0b712a98]{top:-7.5rem}}.nav-pills-fixed-container-no-transition[data-v-0b712a98]{transition:none}.nav-tabs-wrapper[data-v-37eedae7]{height:60px;width:100vw;background-color:#1f2226}.nav-tabs[data-v-37eedae7]{display:flex;justify-content:space-evenly;align-items:center;height:100%;width:100%;border-bottom:none}.nav-tab-button[data-v-37eedae7]{display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;background-color:transparent;border-width:0}.nav-tab-button-icon[data-v-37eedae7]{font-size:1rem;color:#6c757d;transition:color .2s}@media (max-width: 575.98px){.nav-tab-button-icon[data-v-37eedae7]{font-size:.9rem}}.nav-tab-button-label[data-v-37eedae7]{font-size:.7rem;margin-top:.3rem;font-family:Saira,sans-serif;text-transform:uppercase;color:#e9ecef;transition:color .2s}@media (max-width: 575.98px){.nav-tab-button-label[data-v-37eedae7]{font-size:.55rem}}.nav-tab-button:hover .nav-tab-button-icon[data-v-37eedae7],.nav-tab-button-selected .nav-tab-button-icon[data-v-37eedae7],.nav-tab-button:hover .nav-tab-button-label[data-v-37eedae7],.nav-tab-button-selected .nav-tab-button-label[data-v-37eedae7]{color:#a5c8f6}.section[data-v-8790a924]{position:relative;display:flex;min-height:100vh}@media (max-width: 991.98px){.section[data-v-8790a924]{min-height:calc(100vh - 170px)}}.section-with-division[data-v-8790a924]{border-bottom:1px solid #212529}@media (min-width: 992px){.section-cover .section-container[data-v-8790a924]{margin:auto 0}}.section-container[data-v-8790a924]{padding:clamp(5rem,5vw,10rem) clamp(5rem,5vw,10rem) clamp(6rem,5vw,10rem);width:min(100%,2048px)}@media (max-width: 1399.98px){.section-container[data-v-8790a924]{padding:4rem 4rem 6rem}}@media (max-width: 991.98px){.section-container[data-v-8790a924]{padding:2rem}}@media (max-width: 767.98px){.section-container[data-v-8790a924]{padding:1.5rem}}@media (max-width: 575.98px){.section-container[data-v-8790a924]{padding:1.5rem 1.2rem 3rem}}@media (max-width: 991.98px){.section-container[data-v-8790a924]{margin-bottom:60px}}.section-header[data-v-8790a924]{margin-bottom:3rem}@media (max-width: 1399.98px){.section-header[data-v-8790a924]{margin-bottom:2.5rem}}@media (max-width: 1199.98px){.section-header[data-v-8790a924]{margin-bottom:2rem}}@media (max-width: 991.98px){.section-header[data-v-8790a924]{margin-bottom:1.5rem}}.list-item[data-v-c4644c6f]{position:relative;display:inline-block;margin-right:.6rem;font-family:Saira,sans-serif;color:#757575}.list-item[data-v-c4644c6f]:not(:last-child):after{content:"·";margin-left:.84rem}.list-item-icon[data-v-c4644c6f]{min-width:28px;text-align:center}@media (max-width: 1199.98px){.list-item[data-v-c4644c6f]{display:block}}@media (max-width: 1199.98px) and (max-width: 1199.98px){.list-item[data-v-c4644c6f]{margin:0 .5rem .5rem}}@media (max-width: 1199.98px) and (max-width: 767.98px){.list-item[data-v-c4644c6f]{margin:0 .25rem .25rem}}@media (max-width: 1199.98px){.list-item[data-v-c4644c6f]:after{display:none}}.cover-title[data-v-e6f3fa6c]{margin-bottom:1rem;text-transform:uppercase;font-weight:700}@media (min-width: 992px){.solid-divider[data-v-e6f3fa6c]{display:none}}.info-list[data-v-e6f3fa6c]{margin-bottom:2.5rem}@media (max-width: 991.98px){.info-list[data-v-e6f3fa6c]{margin-bottom:2rem}}@media (max-width: 767.98px){.info-list[data-v-e6f3fa6c]{margin-bottom:1.2rem}}.circle-icon[data-v-340ab9f5]{display:inline-flex;vertical-align:top}.circle-icon-img[data-v-340ab9f5],.circle-icon-fa-icon[data-v-340ab9f5]{border-radius:100%;width:100%;height:100%}.circle-icon-fa-icon[data-v-340ab9f5]{display:flex;justify-content:center;align-items:center;background-color:#1a73e8}.circle-icon-standard[data-v-340ab9f5]{height:2.3rem;width:2.3rem;min-width:2.3rem;min-height:2.3rem;font-size:1.15rem;z-index:50}@media (max-width: 1399.98px){.circle-icon-standard[data-v-340ab9f5]{height:2.2rem;width:2.2rem;min-width:2.2rem;min-height:2.2rem;font-size:1.1rem;z-index:50}}@media (max-width: 1199.98px){.circle-icon-standard[data-v-340ab9f5]{height:2.1rem;width:2.1rem;min-width:2.1rem;min-height:2.1rem;font-size:1.05rem;z-index:50}}@media (max-width: 991.98px){.circle-icon-standard[data-v-340ab9f5]{height:2rem;width:2rem;min-width:2rem;min-height:2rem;font-size:1rem;z-index:50}}@media (max-width: 767.98px){.circle-icon-standard[data-v-340ab9f5]{height:1.9rem;width:1.9rem;min-width:1.9rem;min-height:1.9rem;font-size:.95rem;z-index:50}}@media (max-width: 575.98px){.circle-icon-standard[data-v-340ab9f5]{height:1.8rem;width:1.8rem;min-width:1.8rem;min-height:1.8rem;font-size:.9rem;z-index:50}}.circle-icon-small[data-v-340ab9f5]{height:2rem;width:2rem;min-width:2rem;min-height:2rem;font-size:1rem;z-index:50}@media (max-width: 1399.98px){.circle-icon-small[data-v-340ab9f5]{height:2rem;width:2rem;min-width:2rem;min-height:2rem;font-size:1rem;z-index:50}}@media (max-width: 991.98px){.circle-icon-small[data-v-340ab9f5]{height:1.8rem;width:1.8rem;min-width:1.8rem;min-height:1.8rem;font-size:.9rem;z-index:50}}@media (max-width: 767.98px){.circle-icon-small[data-v-340ab9f5]{height:1.6rem;width:1.6rem;min-width:1.6rem;min-height:1.6rem;font-size:.8rem;z-index:50}}@media (max-width: 575.98px){.circle-icon-small[data-v-340ab9f5]{height:1.4rem;width:1.4rem;min-width:1.4rem;min-height:1.4rem;font-size:.7rem;z-index:50}}.progress[data-v-286948d5]{height:5px;background-color:#e4e7ea}@media (max-width: 767.98px){.progress[data-v-286948d5]{height:4px}}.progress-bar[data-v-286948d5]{background-color:#488fed;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.progress-description[data-v-286948d5]{margin-top:.2rem;color:#6c757d}.info-item[data-v-7d771ca9]{display:flex;flex-direction:row;margin-bottom:1rem}.info-item-icon[data-v-7d771ca9]{margin-right:1rem}@media (max-width: 991.98px){.info-item-icon[data-v-7d771ca9]{margin-right:.75rem}}.info-item-content[data-v-7d771ca9]{align-self:center;width:100%}.info-item-content-header-highlight[data-v-7d771ca9]{display:flex;justify-content:space-between;width:100%}.item-container[data-v-5be3d4c5]{min-height:4rem}@media (max-width: 1399.98px){.item-container[data-v-5be3d4c5]{min-height:3.75rem}}@media (max-width: 1199.98px){.item-container[data-v-5be3d4c5]{min-height:3.5rem}}@media (max-width: 575.98px){.item-container[data-v-5be3d4c5]{min-height:0}}.item-container[data-v-506a4c5d]{min-height:5rem}@media (max-width: 1399.98px){.item-container[data-v-506a4c5d]{min-height:4.5rem}}@media (max-width: 1199.98px){.item-container[data-v-506a4c5d]{min-height:4.2rem}}@media (max-width: 991.98px){.item-container[data-v-506a4c5d]{min-height:4.2rem}}@media (max-width: 767.98px){.item-container[data-v-506a4c5d]{min-height:3.5rem}}@media (max-width: 575.98px){.item-container[data-v-506a4c5d]{min-height:0}}.chart-wrapper[data-v-437f703f]{width:100%;height:100%;max-height:clamp(280px,36.5vh,430px);max-width:calc(100% - 3.5rem);align-self:center}@media (max-width: 1399.98px){.chart-wrapper[data-v-437f703f]{max-width:calc(100% - 2.5rem)}}@media (max-width: 1199.98px){.chart-wrapper[data-v-437f703f]{--dimensions: clamp(150px, min(45vw, 45vh), 270px);width:var(--dimensions);height:var(--dimensions);margin:0 auto calc(var(--dimensions) / 8)}}.items-wrapper[data-v-437f703f]{align-self:center}.item-container[data-v-437f703f]{min-height:4rem}@media (max-width: 1199.98px){.item-container[data-v-437f703f]{min-height:4rem}}@media (max-width: 991.98px){.item-container[data-v-437f703f]{min-height:3.5rem}}@media (max-width: 767.98px){.item-container[data-v-437f703f]{min-height:3.5rem}}@media (max-width: 575.98px){.item-container[data-v-437f703f]{min-height:0}}.subcategory-col[data-v-15744d8c]:not(:last-child){margin-bottom:2.75rem}@media (max-width: 1199.98px){.subcategory-col[data-v-15744d8c]:not(:last-child){margin-bottom:1.5rem}}.info-row[data-v-15744d8c]{overflow-x:hidden}.tag[data-v-233bbf6e]:not(:last-child){margin-right:.3rem}ul.thread[data-v-85240ad3]{--scale:1;--line-width:calc(var(--scale)*4px);position:relative;padding:0;list-style:none;margin-left:calc(var(--scale) * -5px)}@media (max-width: 767.98px){ul.thread[data-v-85240ad3]{--scale:.9}}@media (max-width: 575.98px){ul.thread[data-v-85240ad3]{--scale:.8}}ul.thread[data-v-85240ad3]:before{position:absolute;top:0;bottom:0;left:calc(var(--scale) * 1.75rem - var(--line-width) / 2);height:calc(100% - 1rem * var(--scale));width:var(--line-width);content:"";background-color:#ced4da}ul.thread .thread-item[data-v-85240ad3]{min-height:calc(5rem * var(--scale));margin-bottom:calc(2.5rem * var(--scale))}ul.thread .thread-item .thread-item-content[data-v-85240ad3]{margin-left:calc(var(--scale) * 3.7rem)}ul.thread .thread-item-end[data-v-85240ad3]{margin-bottom:0;min-height:calc(1rem * var(--scale))}ul.thread .thread-icon[data-v-85240ad3]{display:inline-flex;justify-content:center;align-items:center;position:absolute;left:calc(var(--scale) * .75rem);width:calc(var(--scale) * 2rem);height:calc(var(--scale) * 2rem);border-radius:100%;font-size:calc(1rem * var(--scale));color:#f8f9fa;background-color:#dee2e6}ul.thread .thread-icon-small[data-v-85240ad3]{left:calc(var(--scale) * 1rem);width:calc(var(--scale) * 1.5rem);height:calc(var(--scale) * 1.5rem);border:calc(var(--line-width) * 1.6) solid #dee2e6;font-size:calc(.5rem * var(--scale));color:transparent}@media (min-width: 1400px){.thread-container[data-v-09ad8a41]:not(:last-child){padding-right:2.5rem}}ul.timeline[data-v-5ab2d325]{--image-size:35px;--image-border-size:9px;--line-width:3px;--vertical-spacing:80px;--content-padding-top:.2rem;position:relative;padding:0;list-style:none}@media (max-width: 767.98px){ul.timeline[data-v-5ab2d325]{--image-size:75px;--vertical-spacing:60px}}@media (max-width: 575.98px){ul.timeline[data-v-5ab2d325]{--image-size:50px;--image-border-size:5px;--vertical-spacing:40px;--content-padding-top:.6rem}}ul.timeline[data-v-5ab2d325]:before{position:absolute;top:0;bottom:0;left:calc(var(--image-size) / 2 - var(--line-width) / 2);width:var(--line-width);content:"";background-color:#ced4da}ul.timeline .timeline-item[data-v-5ab2d325]{position:relative;min-height:var(--image-size)}ul.timeline .timeline-item[data-v-5ab2d325]:not(:last-child){min-height:var(--image-size);margin-bottom:var(--vertical-spacing)}ul.timeline .timeline-item-logo[data-v-5ab2d325]{display:inline-flex;justify-content:center;align-items:center;position:absolute;left:0;width:var(--image-size);height:var(--image-size);z-index:50;border:var(--image-border-size) solid #dee2e6;border-radius:100%;background-color:#fff}ul.timeline .timeline-item-logo-bg-primary[data-v-5ab2d325]{background-color:#77acf1}ul.timeline .timeline-item-fa-icon[data-v-5ab2d325]{color:#fff;font-size:calc(var(--image-size) / 2.5)}ul.timeline .timeline-item-tail[data-v-5ab2d325]{left:calc(var(--image-size) / 6);min-height:calc(var(--image-size) / 2)}ul.timeline .timeline-item-tail .timeline-item-logo[data-v-5ab2d325]{width:calc(var(--image-size) / 1.5);height:calc(var(--image-size) / 1.5);background-color:#dee2e6}ul.timeline .timeline-item-content[data-v-5ab2d325]{margin-left:calc(var(--image-size) + var(--image-size) / 2)}ul.timeline .timeline-item-content-header[data-v-5ab2d325]{display:flex;padding-top:var(--content-padding-top)}ul.timeline .timeline-item-content-header .flex-column-texts[data-v-5ab2d325]{padding-right:2rem}ul.timeline .timeline-item-content-header .flex-column-date[data-v-5ab2d325]{margin-left:auto}@media (max-width: 991.98px){ul.timeline .timeline-item-content-header[data-v-5ab2d325]{display:block}ul.timeline .timeline-item-content-header .flex-column-texts[data-v-5ab2d325]{padding-right:0}}.resume[data-v-77f976fb]{display:flex;min-height:100vh;background-color:#212529}@media (max-width: 991.98px){.resume[data-v-77f976fb]{background-color:#f0f3f6}}.sidebar-column[data-v-77f976fb]{width:290px;min-height:100vh;background-color:#212529}@media (max-width: 991.98px){.sidebar-column[data-v-77f976fb]{display:none}}.content-column[data-v-77f976fb]{width:calc(100vw - 290px);min-height:100vh;background-color:#f0f3f6}@media (max-width: 991.98px){.content-column[data-v-77f976fb]{width:100vw}}.nav-header[data-v-77f976fb],.nav-tabs-column[data-v-77f976fb]{display:none}@media (max-width: 991.98px){.nav-header[data-v-77f976fb],.nav-tabs-column[data-v-77f976fb]{display:block}}@media (max-width: 991.98px){.nav-tabs-column[data-v-77f976fb]{position:fixed;bottom:0;left:0;z-index:99}}.toolbar-title[data-v-6de96eb5]{flex:1;display:flex;justify-content:center;color:#fff}.toolbar-banner[data-v-6de96eb5]{background-color:rgb(var(--v-theme-primary))!important}.background-image[data-v-6de96eb5]{background-image:url(/resame-website/images/background/background.png);background-size:cover;background-position:center center;background-repeat:no-repeat}.yellow-text[data-v-6de96eb5]:hover{color:#ff4500}.my-image[data-v-6de96eb5]{width:3000%;height:auto;max-width:500px}/*! + */:root,:host{--fa-style-family-brands: "Font Awesome 6 Brands";--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"}@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url(/resame-website/assets/fa-brands-400-3a8924cd.woff2) format("woff2"),url(/resame-website/assets/fa-brands-400-5656d596.ttf) format("truetype")}.fab,.fa-brands{font-weight:400}.fa-monero:before{content:""}.fa-hooli:before{content:""}.fa-yelp:before{content:""}.fa-cc-visa:before{content:""}.fa-lastfm:before{content:""}.fa-shopware:before{content:""}.fa-creative-commons-nc:before{content:""}.fa-aws:before{content:""}.fa-redhat:before{content:""}.fa-yoast:before{content:""}.fa-cloudflare:before{content:""}.fa-ups:before{content:""}.fa-pixiv:before{content:""}.fa-wpexplorer:before{content:""}.fa-dyalog:before{content:""}.fa-bity:before{content:""}.fa-stackpath:before{content:""}.fa-buysellads:before{content:""}.fa-first-order:before{content:""}.fa-modx:before{content:""}.fa-guilded:before{content:""}.fa-vnv:before{content:""}.fa-square-js:before{content:""}.fa-js-square:before{content:""}.fa-microsoft:before{content:""}.fa-qq:before{content:""}.fa-orcid:before{content:""}.fa-java:before{content:""}.fa-invision:before{content:""}.fa-creative-commons-pd-alt:before{content:""}.fa-centercode:before{content:""}.fa-glide-g:before{content:""}.fa-drupal:before{content:""}.fa-hire-a-helper:before{content:""}.fa-creative-commons-by:before{content:""}.fa-unity:before{content:""}.fa-whmcs:before{content:""}.fa-rocketchat:before{content:""}.fa-vk:before{content:""}.fa-untappd:before{content:""}.fa-mailchimp:before{content:""}.fa-css3-alt:before{content:""}.fa-square-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-vimeo-v:before{content:""}.fa-contao:before{content:""}.fa-square-font-awesome:before{content:""}.fa-deskpro:before{content:""}.fa-brave:before{content:""}.fa-sistrix:before{content:""}.fa-square-instagram:before{content:""}.fa-instagram-square:before{content:""}.fa-battle-net:before{content:""}.fa-the-red-yeti:before{content:""}.fa-square-hacker-news:before{content:""}.fa-hacker-news-square:before{content:""}.fa-edge:before{content:""}.fa-threads:before{content:""}.fa-napster:before{content:""}.fa-square-snapchat:before{content:""}.fa-snapchat-square:before{content:""}.fa-google-plus-g:before{content:""}.fa-artstation:before{content:""}.fa-markdown:before{content:""}.fa-sourcetree:before{content:""}.fa-google-plus:before{content:""}.fa-diaspora:before{content:""}.fa-foursquare:before{content:""}.fa-stack-overflow:before{content:""}.fa-github-alt:before{content:""}.fa-phoenix-squadron:before{content:""}.fa-pagelines:before{content:""}.fa-algolia:before{content:""}.fa-red-river:before{content:""}.fa-creative-commons-sa:before{content:""}.fa-safari:before{content:""}.fa-google:before{content:""}.fa-square-font-awesome-stroke:before{content:""}.fa-font-awesome-alt:before{content:""}.fa-atlassian:before{content:""}.fa-linkedin-in:before{content:""}.fa-digital-ocean:before{content:""}.fa-nimblr:before{content:""}.fa-chromecast:before{content:""}.fa-evernote:before{content:""}.fa-hacker-news:before{content:""}.fa-creative-commons-sampling:before{content:""}.fa-adversal:before{content:""}.fa-creative-commons:before{content:""}.fa-watchman-monitoring:before{content:""}.fa-fonticons:before{content:""}.fa-weixin:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-codepen:before{content:""}.fa-git-alt:before{content:""}.fa-lyft:before{content:""}.fa-rev:before{content:""}.fa-windows:before{content:""}.fa-wizards-of-the-coast:before{content:""}.fa-square-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-meetup:before{content:""}.fa-centos:before{content:""}.fa-adn:before{content:""}.fa-cloudsmith:before{content:""}.fa-opensuse:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-square-dribbble:before{content:""}.fa-dribbble-square:before{content:""}.fa-codiepie:before{content:""}.fa-node:before{content:""}.fa-mix:before{content:""}.fa-steam:before{content:""}.fa-cc-apple-pay:before{content:""}.fa-scribd:before{content:""}.fa-debian:before{content:""}.fa-openid:before{content:""}.fa-instalod:before{content:""}.fa-expeditedssl:before{content:""}.fa-sellcast:before{content:""}.fa-square-twitter:before{content:""}.fa-twitter-square:before{content:""}.fa-r-project:before{content:""}.fa-delicious:before{content:""}.fa-freebsd:before{content:""}.fa-vuejs:before{content:""}.fa-accusoft:before{content:""}.fa-ioxhost:before{content:""}.fa-fonticons-fi:before{content:""}.fa-app-store:before{content:""}.fa-cc-mastercard:before{content:""}.fa-itunes-note:before{content:""}.fa-golang:before{content:""}.fa-kickstarter:before{content:""}.fa-grav:before{content:""}.fa-weibo:before{content:""}.fa-uncharted:before{content:""}.fa-firstdraft:before{content:""}.fa-square-youtube:before{content:""}.fa-youtube-square:before{content:""}.fa-wikipedia-w:before{content:""}.fa-wpressr:before{content:""}.fa-rendact:before{content:""}.fa-angellist:before{content:""}.fa-galactic-republic:before{content:""}.fa-nfc-directional:before{content:""}.fa-skype:before{content:""}.fa-joget:before{content:""}.fa-fedora:before{content:""}.fa-stripe-s:before{content:""}.fa-meta:before{content:""}.fa-laravel:before{content:""}.fa-hotjar:before{content:""}.fa-bluetooth-b:before{content:""}.fa-square-letterboxd:before{content:""}.fa-sticker-mule:before{content:""}.fa-creative-commons-zero:before{content:""}.fa-hips:before{content:""}.fa-behance:before{content:""}.fa-reddit:before{content:""}.fa-discord:before{content:""}.fa-chrome:before{content:""}.fa-app-store-ios:before{content:""}.fa-cc-discover:before{content:""}.fa-wpbeginner:before{content:""}.fa-confluence:before{content:""}.fa-shoelace:before{content:""}.fa-mdb:before{content:""}.fa-dochub:before{content:""}.fa-accessible-icon:before{content:""}.fa-ebay:before{content:""}.fa-amazon:before{content:""}.fa-unsplash:before{content:""}.fa-yarn:before{content:""}.fa-square-steam:before{content:""}.fa-steam-square:before{content:""}.fa-500px:before{content:""}.fa-square-vimeo:before{content:""}.fa-vimeo-square:before{content:""}.fa-asymmetrik:before{content:""}.fa-font-awesome:before{content:""}.fa-font-awesome-flag:before{content:""}.fa-font-awesome-logo-full:before{content:""}.fa-gratipay:before{content:""}.fa-apple:before{content:""}.fa-hive:before{content:""}.fa-gitkraken:before{content:""}.fa-keybase:before{content:""}.fa-apple-pay:before{content:""}.fa-padlet:before{content:""}.fa-amazon-pay:before{content:""}.fa-square-github:before{content:""}.fa-github-square:before{content:""}.fa-stumbleupon:before{content:""}.fa-fedex:before{content:""}.fa-phoenix-framework:before{content:""}.fa-shopify:before{content:""}.fa-neos:before{content:""}.fa-square-threads:before{content:""}.fa-hackerrank:before{content:""}.fa-researchgate:before{content:""}.fa-swift:before{content:""}.fa-angular:before{content:""}.fa-speakap:before{content:""}.fa-angrycreative:before{content:""}.fa-y-combinator:before{content:""}.fa-empire:before{content:""}.fa-envira:before{content:""}.fa-google-scholar:before{content:""}.fa-square-gitlab:before{content:""}.fa-gitlab-square:before{content:""}.fa-studiovinari:before{content:""}.fa-pied-piper:before{content:""}.fa-wordpress:before{content:""}.fa-product-hunt:before{content:""}.fa-firefox:before{content:""}.fa-linode:before{content:""}.fa-goodreads:before{content:""}.fa-square-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-jsfiddle:before{content:""}.fa-sith:before{content:""}.fa-themeisle:before{content:""}.fa-page4:before{content:""}.fa-hashnode:before{content:""}.fa-react:before{content:""}.fa-cc-paypal:before{content:""}.fa-squarespace:before{content:""}.fa-cc-stripe:before{content:""}.fa-creative-commons-share:before{content:""}.fa-bitcoin:before{content:""}.fa-keycdn:before{content:""}.fa-opera:before{content:""}.fa-itch-io:before{content:""}.fa-umbraco:before{content:""}.fa-galactic-senate:before{content:""}.fa-ubuntu:before{content:""}.fa-draft2digital:before{content:""}.fa-stripe:before{content:""}.fa-houzz:before{content:""}.fa-gg:before{content:""}.fa-dhl:before{content:""}.fa-square-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-xing:before{content:""}.fa-blackberry:before{content:""}.fa-creative-commons-pd:before{content:""}.fa-playstation:before{content:""}.fa-quinscape:before{content:""}.fa-less:before{content:""}.fa-blogger-b:before{content:""}.fa-opencart:before{content:""}.fa-vine:before{content:""}.fa-signal-messenger:before{content:""}.fa-paypal:before{content:""}.fa-gitlab:before{content:""}.fa-typo3:before{content:""}.fa-reddit-alien:before{content:""}.fa-yahoo:before{content:""}.fa-dailymotion:before{content:""}.fa-affiliatetheme:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-bootstrap:before{content:""}.fa-odnoklassniki:before{content:""}.fa-nfc-symbol:before{content:""}.fa-mintbit:before{content:""}.fa-ethereum:before{content:""}.fa-speaker-deck:before{content:""}.fa-creative-commons-nc-eu:before{content:""}.fa-patreon:before{content:""}.fa-avianex:before{content:""}.fa-ello:before{content:""}.fa-gofore:before{content:""}.fa-bimobject:before{content:""}.fa-brave-reverse:before{content:""}.fa-facebook-f:before{content:""}.fa-square-google-plus:before{content:""}.fa-google-plus-square:before{content:""}.fa-mandalorian:before{content:""}.fa-first-order-alt:before{content:""}.fa-osi:before{content:""}.fa-google-wallet:before{content:""}.fa-d-and-d-beyond:before{content:""}.fa-periscope:before{content:""}.fa-fulcrum:before{content:""}.fa-cloudscale:before{content:""}.fa-forumbee:before{content:""}.fa-mizuni:before{content:""}.fa-schlix:before{content:""}.fa-square-xing:before{content:""}.fa-xing-square:before{content:""}.fa-bandcamp:before{content:""}.fa-wpforms:before{content:""}.fa-cloudversify:before{content:""}.fa-usps:before{content:""}.fa-megaport:before{content:""}.fa-magento:before{content:""}.fa-spotify:before{content:""}.fa-optin-monster:before{content:""}.fa-fly:before{content:""}.fa-aviato:before{content:""}.fa-itunes:before{content:""}.fa-cuttlefish:before{content:""}.fa-blogger:before{content:""}.fa-flickr:before{content:""}.fa-viber:before{content:""}.fa-soundcloud:before{content:""}.fa-digg:before{content:""}.fa-tencent-weibo:before{content:""}.fa-letterboxd:before{content:""}.fa-symfony:before{content:""}.fa-maxcdn:before{content:""}.fa-etsy:before{content:""}.fa-facebook-messenger:before{content:""}.fa-audible:before{content:""}.fa-think-peaks:before{content:""}.fa-bilibili:before{content:""}.fa-erlang:before{content:""}.fa-x-twitter:before{content:""}.fa-cotton-bureau:before{content:""}.fa-dashcube:before{content:""}.fa-42-group:before{content:""}.fa-innosoft:before{content:""}.fa-stack-exchange:before{content:""}.fa-elementor:before{content:""}.fa-square-pied-piper:before{content:""}.fa-pied-piper-square:before{content:""}.fa-creative-commons-nd:before{content:""}.fa-palfed:before{content:""}.fa-superpowers:before{content:""}.fa-resolving:before{content:""}.fa-xbox:before{content:""}.fa-searchengin:before{content:""}.fa-tiktok:before{content:""}.fa-square-facebook:before{content:""}.fa-facebook-square:before{content:""}.fa-renren:before{content:""}.fa-linux:before{content:""}.fa-glide:before{content:""}.fa-linkedin:before{content:""}.fa-hubspot:before{content:""}.fa-deploydog:before{content:""}.fa-twitch:before{content:""}.fa-ravelry:before{content:""}.fa-mixer:before{content:""}.fa-square-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-vimeo:before{content:""}.fa-mendeley:before{content:""}.fa-uniregistry:before{content:""}.fa-figma:before{content:""}.fa-creative-commons-remix:before{content:""}.fa-cc-amazon-pay:before{content:""}.fa-dropbox:before{content:""}.fa-instagram:before{content:""}.fa-cmplid:before{content:""}.fa-upwork:before{content:""}.fa-facebook:before{content:""}.fa-gripfire:before{content:""}.fa-jedi-order:before{content:""}.fa-uikit:before{content:""}.fa-fort-awesome-alt:before{content:""}.fa-phabricator:before{content:""}.fa-ussunnah:before{content:""}.fa-earlybirds:before{content:""}.fa-trade-federation:before{content:""}.fa-autoprefixer:before{content:""}.fa-whatsapp:before{content:""}.fa-slideshare:before{content:""}.fa-google-play:before{content:""}.fa-viadeo:before{content:""}.fa-line:before{content:""}.fa-google-drive:before{content:""}.fa-servicestack:before{content:""}.fa-simplybuilt:before{content:""}.fa-bitbucket:before{content:""}.fa-imdb:before{content:""}.fa-deezer:before{content:""}.fa-raspberry-pi:before{content:""}.fa-jira:before{content:""}.fa-docker:before{content:""}.fa-screenpal:before{content:""}.fa-bluetooth:before{content:""}.fa-gitter:before{content:""}.fa-d-and-d:before{content:""}.fa-microblog:before{content:""}.fa-cc-diners-club:before{content:""}.fa-gg-circle:before{content:""}.fa-pied-piper-hat:before{content:""}.fa-kickstarter-k:before{content:""}.fa-yandex:before{content:""}.fa-readme:before{content:""}.fa-html5:before{content:""}.fa-sellsy:before{content:""}.fa-sass:before{content:""}.fa-wirsindhandwerk:before{content:""}.fa-wsh:before{content:""}.fa-buromobelexperte:before{content:""}.fa-salesforce:before{content:""}.fa-octopus-deploy:before{content:""}.fa-medapps:before{content:""}.fa-ns8:before{content:""}.fa-pinterest-p:before{content:""}.fa-apper:before{content:""}.fa-fort-awesome:before{content:""}.fa-waze:before{content:""}.fa-cc-jcb:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-fantasy-flight-games:before{content:""}.fa-rust:before{content:""}.fa-wix:before{content:""}.fa-square-behance:before{content:""}.fa-behance-square:before{content:""}.fa-supple:before{content:""}.fa-webflow:before{content:""}.fa-rebel:before{content:""}.fa-css3:before{content:""}.fa-staylinked:before{content:""}.fa-kaggle:before{content:""}.fa-space-awesome:before{content:""}.fa-deviantart:before{content:""}.fa-cpanel:before{content:""}.fa-goodreads-g:before{content:""}.fa-square-git:before{content:""}.fa-git-square:before{content:""}.fa-square-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-trello:before{content:""}.fa-creative-commons-nc-jp:before{content:""}.fa-get-pocket:before{content:""}.fa-perbyte:before{content:""}.fa-grunt:before{content:""}.fa-weebly:before{content:""}.fa-connectdevelop:before{content:""}.fa-leanpub:before{content:""}.fa-black-tie:before{content:""}.fa-themeco:before{content:""}.fa-python:before{content:""}.fa-android:before{content:""}.fa-bots:before{content:""}.fa-free-code-camp:before{content:""}.fa-hornbill:before{content:""}.fa-js:before{content:""}.fa-ideal:before{content:""}.fa-git:before{content:""}.fa-dev:before{content:""}.fa-sketch:before{content:""}.fa-yandex-international:before{content:""}.fa-cc-amex:before{content:""}.fa-uber:before{content:""}.fa-github:before{content:""}.fa-php:before{content:""}.fa-alipay:before{content:""}.fa-youtube:before{content:""}.fa-skyatlas:before{content:""}.fa-firefox-browser:before{content:""}.fa-replyd:before{content:""}.fa-suse:before{content:""}.fa-jenkins:before{content:""}.fa-twitter:before{content:""}.fa-rockrms:before{content:""}.fa-pinterest:before{content:""}.fa-buffer:before{content:""}.fa-npm:before{content:""}.fa-yammer:before{content:""}.fa-btc:before{content:""}.fa-dribbble:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-internet-explorer:before{content:""}.fa-stubber:before{content:""}.fa-telegram:before{content:""}.fa-telegram-plane:before{content:""}.fa-old-republic:before{content:""}.fa-odysee:before{content:""}.fa-square-whatsapp:before{content:""}.fa-whatsapp-square:before{content:""}.fa-node-js:before{content:""}.fa-edge-legacy:before{content:""}.fa-slack:before{content:""}.fa-slack-hash:before{content:""}.fa-medrt:before{content:""}.fa-usb:before{content:""}.fa-tumblr:before{content:""}.fa-vaadin:before{content:""}.fa-quora:before{content:""}.fa-square-x-twitter:before{content:""}.fa-reacteurope:before{content:""}.fa-medium:before{content:""}.fa-medium-m:before{content:""}.fa-amilia:before{content:""}.fa-mixcloud:before{content:""}.fa-flipboard:before{content:""}.fa-viacoin:before{content:""}.fa-critical-role:before{content:""}.fa-sitrox:before{content:""}.fa-discourse:before{content:""}.fa-joomla:before{content:""}.fa-mastodon:before{content:""}.fa-airbnb:before{content:""}.fa-wolf-pack-battalion:before{content:""}.fa-buy-n-large:before{content:""}.fa-gulp:before{content:""}.fa-creative-commons-sampling-plus:before{content:""}.fa-strava:before{content:""}.fa-ember:before{content:""}.fa-canadian-maple-leaf:before{content:""}.fa-teamspeak:before{content:""}.fa-pushed:before{content:""}.fa-wordpress-simple:before{content:""}.fa-nutritionix:before{content:""}.fa-wodu:before{content:""}.fa-google-pay:before{content:""}.fa-intercom:before{content:""}.fa-zhihu:before{content:""}.fa-korvue:before{content:""}.fa-pix:before{content:""}.fa-steam-symbol:before{content:""}body{background-color:#212529}.no-scroll{overflow-y:hidden!important}::-moz-selection{color:#212529;background:#1a73e8}::selection{color:#212529;background:#a5c8f6}::-webkit-scrollbar{max-width:7px;max-height:4px}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}::-webkit-scrollbar-thumb{background:#65727e;-webkit-box-shadow:rgb(155,155,155)}::-webkit-scrollbar-thumb:window-inactive{background:#212529}h1,.h1,.eq-h1{font-size:2.75rem}@media (max-width: 1399.98px){h1,.h1,.eq-h1{font-size:2.475rem}}@media (max-width: 1199.98px){h1,.h1,.eq-h1{font-size:2.3375rem}}@media (max-width: 991.98px){h1,.h1,.eq-h1{font-size:2.2rem}}@media (max-width: 767.98px){h1,.h1,.eq-h1{font-size:2.0625rem}}@media (max-width: 575.98px){h1,.h1,.eq-h1{font-size:1.925rem}}h2,.h2,.eq-h2{font-size:2.5rem}@media (max-width: 1399.98px){h2,.h2,.eq-h2{font-size:2.25rem}}@media (max-width: 1199.98px){h2,.h2,.eq-h2{font-size:2.125rem}}@media (max-width: 991.98px){h2,.h2,.eq-h2{font-size:2rem}}@media (max-width: 767.98px){h2,.h2,.eq-h2{font-size:1.875rem}}@media (max-width: 575.98px){h2,.h2,.eq-h2{font-size:1.75rem}}h3,.h3,.eq-h3{font-size:2rem}@media (max-width: 1399.98px){h3,.h3,.eq-h3{font-size:1.8rem}}@media (max-width: 1199.98px){h3,.h3,.eq-h3{font-size:1.7rem}}@media (max-width: 991.98px){h3,.h3,.eq-h3{font-size:1.6rem}}@media (max-width: 767.98px){h3,.h3,.eq-h3{font-size:1.5rem}}@media (max-width: 575.98px){h3,.h3,.eq-h3{font-size:1.4rem}}h4,.h4,.eq-h4{font-size:1.5rem}@media (max-width: 1399.98px){h4,.h4,.eq-h4{font-size:1.35rem}}@media (max-width: 1199.98px){h4,.h4,.eq-h4{font-size:1.275rem}}@media (max-width: 991.98px){h4,.h4,.eq-h4{font-size:1.2rem}}@media (max-width: 767.98px){h4,.h4,.eq-h4{font-size:1.125rem}}@media (max-width: 575.98px){h4,.h4,.eq-h4{font-size:1.05rem}}h5,.h5,.eq-h5{font-size:1.3rem}@media (max-width: 1399.98px){h5,.h5,.eq-h5{font-size:1.17rem}}@media (max-width: 1199.98px){h5,.h5,.eq-h5{font-size:1.105rem}}@media (max-width: 991.98px){h5,.h5,.eq-h5{font-size:1.04rem}}@media (max-width: 767.98px){h5,.h5,.eq-h5{font-size:.975rem}}@media (max-width: 575.98px){h5,.h5,.eq-h5{font-size:.91rem}}h6,.h6,.eq-h6{font-size:1.1rem}@media (max-width: 1399.98px){h6,.h6,.eq-h6{font-size:.99rem}}@media (max-width: 1199.98px){h6,.h6,.eq-h6{font-size:.935rem}}@media (max-width: 991.98px){h6,.h6,.eq-h6{font-size:.88rem}}@media (max-width: 767.98px){h6,.h6,.eq-h6{font-size:.825rem}}@media (max-width: 575.98px){h6,.h6,.eq-h6{font-size:.77rem}}.lead-2{font-size:1.4rem}@media (max-width: 1399.98px){.lead-2{font-size:1.26rem}}@media (max-width: 1199.98px){.lead-2{font-size:1.19rem}}@media (max-width: 991.98px){.lead-2{font-size:1.12rem}}@media (max-width: 767.98px){.lead-2{font-size:1.05rem}}@media (max-width: 575.98px){.lead-2{font-size:.98rem}}.lead{font-size:1.2rem}@media (max-width: 1399.98px){.lead{font-size:1.08rem}}@media (max-width: 1199.98px){.lead{font-size:1.02rem}}@media (max-width: 991.98px){.lead{font-size:.96rem}}@media (max-width: 767.98px){.lead{font-size:.9rem}}@media (max-width: 575.98px){.lead{font-size:.84rem}}.display-1{font-size:3.25rem}@media (max-width: 1399.98px){.display-1{font-size:2.925rem}}@media (max-width: 1199.98px){.display-1{font-size:2.7625rem}}@media (max-width: 991.98px){.display-1{font-size:2.6rem}}@media (max-width: 767.98px){.display-1{font-size:2.4375rem}}@media (max-width: 575.98px){.display-1{font-size:2.275rem}}.text-1{font-size:.85rem}@media (max-width: 1399.98px){.text-1{font-size:.8075rem}}@media (max-width: 1199.98px){.text-1{font-size:.765rem}}@media (max-width: 991.98px){.text-1{font-size:.74375rem}}@media (max-width: 767.98px){.text-1{font-size:.7225rem}}@media (max-width: 575.98px){.text-1{font-size:.68rem}}.text-2{font-size:.9rem}@media (max-width: 1399.98px){.text-2{font-size:.855rem}}@media (max-width: 1199.98px){.text-2{font-size:.81rem}}@media (max-width: 991.98px){.text-2{font-size:.7875rem}}@media (max-width: 767.98px){.text-2{font-size:.765rem}}@media (max-width: 575.98px){.text-2{font-size:.72rem}}.text-3{font-size:.95rem}@media (max-width: 1399.98px){.text-3{font-size:.9025rem}}@media (max-width: 1199.98px){.text-3{font-size:.855rem}}@media (max-width: 991.98px){.text-3{font-size:.83125rem}}@media (max-width: 767.98px){.text-3{font-size:.8075rem}}@media (max-width: 575.98px){.text-3{font-size:.76rem}}.text-4{font-size:1rem}@media (max-width: 1399.98px){.text-4{font-size:.95rem}}@media (max-width: 1199.98px){.text-4{font-size:.9rem}}@media (max-width: 991.98px){.text-4{font-size:.875rem}}@media (max-width: 767.98px){.text-4{font-size:.85rem}}@media (max-width: 575.98px){.text-4{font-size:.8rem}}.text-5{font-size:1.05rem}@media (max-width: 1399.98px){.text-5{font-size:.9975rem}}@media (max-width: 1199.98px){.text-5{font-size:.945rem}}@media (max-width: 991.98px){.text-5{font-size:.91875rem}}@media (max-width: 767.98px){.text-5{font-size:.8925rem}}@media (max-width: 575.98px){.text-5{font-size:.84rem}}.text-muted{color:#757575!important}.text-normal{color:#000!important}.text-highlight{color:#495057;font-weight:700;font-family:Saira,sans-serif}.text-light-1{color:#f8f9fa!important}.text-light-2{color:#e9ecef!important}.text-light-3{color:#dee2e6!important}.text-light-4{color:#ced4da!important}.text-light-5{color:#adb5bd!important}.text-light-6{color:#6c757d!important}.text-light-7{color:#495057!important}a{text-decoration:none}a.light{color:#a5c8f6;font-weight:700}a.light:hover{color:#77acf1}a.muted{color:#757575}a.muted:hover{color:#1a73e8}hr.solid-divider{width:50px;height:4px;margin-top:.5rem;padding-top:0;background-color:#488fed;border:none;opacity:1}@media (max-width: 767.98px){hr.solid-divider{width:40px;height:2px;margin-top:0}}.btn-xl{padding:1rem 1.5rem;font-size:1rem;font-weight:700;font-family:Saira,sans-serif;text-transform:uppercase;border-radius:4rem}@media (max-width: 991.98px){.btn-xl{padding:.95rem 1.4rem;font-size:.95rem}}@media (max-width: 767.98px){.btn-xl{padding:.7rem 1.1rem;font-size:.8rem}}.image-view[data-v-66ce0b56]{display:inline-block;overflow:hidden}.image-view-img[data-v-66ce0b56]{width:100%;height:100%;vertical-align:top}.spinner[data-v-66ce0b56]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:#2125290d}.preloader-gif[data-v-66ce0b56]{max-width:200px;max-height:200px;margin:0 auto;width:50%;height:50%}@media (max-width: 767.98px){.preloader-gif[data-v-66ce0b56]{max-width:130px;max-height:130px}}@media (max-width: 575.98px){.preloader-gif[data-v-66ce0b56]{max-width:90px;max-height:90px}}.nav-profile-card[data-v-ad1c764a]{padding:1.5rem;text-align:center;background-color:#212529}@media (max-width: 991.98px){.nav-profile-card[data-v-ad1c764a]{padding:2rem}}@media (max-width: 767.98px){.nav-profile-card[data-v-ad1c764a]{padding:1.5rem}}@media screen and (max-height: 500px){.nav-profile-card[data-v-ad1c764a]{padding:1.25rem}}.img-pfp[data-v-ad1c764a]{--max-height:clamp(140px, 21.5vh, 170px);--border-width:6px;min-width:calc(var(--max-height) / 2);min-height:calc(var(--max-height) / 2);width:var(--max-height);height:var(--max-height);border:var(--border-width) solid rgba(106,119,131,.15);border-radius:50%}@media (max-width: 991.98px){.img-pfp[data-v-ad1c764a]{--max-height:140px}}@media (max-width: 575.98px){.img-pfp[data-v-ad1c764a]{--max-height: min(110px, 19.5vh);--border-width: 4px}}.nav-profile-card-title[data-v-ad1c764a]{margin-top:1rem;text-transform:uppercase;letter-spacing:.1px;color:#fff}.nav-profile-card-subtitle[data-v-ad1c764a]{font-family:Archivo,sans-serif;color:#adb5bd}.nav-sidebar[data-v-e3285fb2]{position:fixed;display:flex;flex-direction:column;height:100vh;width:290px;overflow:auto;background-color:#212529}.nav-sidebar-content[data-v-e3285fb2]{width:100%;margin:auto 0}ul.nav-links[data-v-e3285fb2]{position:relative;padding:0;list-style:none}@media screen and (min-height: 780px){ul.nav-links[data-v-e3285fb2]{padding-top:1rem}}li.nav-item[data-v-e3285fb2]{display:inline-flex;justify-content:left;align-items:center;padding:0 2.7rem;width:100%;min-height:clamp(2rem,5vh,2.7rem)}li.nav-item .nav-link[data-v-e3285fb2]{cursor:pointer;font-size:clamp(.9rem,2vh,1rem);font-family:Saira,sans-serif;text-transform:uppercase;text-align:center;color:#f8f9fa}li.nav-item .nav-link i[data-v-e3285fb2]{min-width:35px;color:#6c757d;transition:color .2s}li.nav-item .nav-link[data-v-e3285fb2]:hover{color:#a5c8f6}li.nav-item .nav-link:hover i[data-v-e3285fb2]{color:#d3e4fb}li.nav-item.nav-item-selected .nav-link[data-v-e3285fb2]{color:#a5c8f6}li.nav-item.nav-item-selected .nav-link i[data-v-e3285fb2]{color:#d3e4fb}.nav-sidebar-footer[data-v-e3285fb2]{text-align:center;padding:0 0 1.5rem;color:#fff}.nav-sidebar-footer .nav-sidebar-footer-credits[data-v-e3285fb2]{font-family:Archivo,sans-serif;color:#ced4da}.nav-item[data-v-77e48e8c]{font-size:.9rem;border-width:2px;min-height:min(50px,10vh);flex:1;padding:.5rem;font-family:Saira,sans-serif;text-transform:uppercase;border:none;border-top:2px solid #2c3237;background-color:#1c2023;color:#868e96}@media (max-width: 575.98px){.nav-item[data-v-77e48e8c]{font-size:.9rem;border-width:2px;min-height:min(45px,7.5vh)}}.nav-pill-icon[data-v-77e48e8c]{width:30px;color:#6c757d}@media (max-width: 575.98px){.nav-pill-icon[data-v-77e48e8c]{width:25px}}.nav-item[data-v-77e48e8c]:hover,.nav-item-selected[data-v-77e48e8c],.nav-item:hover .nav-pill-icon[data-v-77e48e8c],.nav-item-selected .nav-pill-icon[data-v-77e48e8c]{color:#fff}.nav-item-selected[data-v-77e48e8c]{border-color:#77acf1;background-color:#262a2f}.language-picker-container[data-v-0b712a98]{display:flex;justify-content:flex-end;position:absolute;width:100%;padding:.5rem;z-index:99}.nav-pills[data-v-0b712a98]{display:flex;width:100%;background-color:#212529}.nav-pills-fixed-container[data-v-0b712a98]{position:fixed;z-index:99;top:0;width:100%;transition:.2s all;background-color:#212529;color:#fff;text-align:center}.nav-pills-page-title[data-v-0b712a98]{display:none;text-transform:uppercase}@media (max-width: 575.98px){.nav-pills-page-title[data-v-0b712a98]{display:block;padding:.75rem 0 .9rem}}.nav-pills-fixed-container-shrink[data-v-0b712a98]{top:-8rem}@media (max-width: 575.98px){.nav-pills-fixed-container-shrink[data-v-0b712a98]{top:-7.5rem}}.nav-pills-fixed-container-no-transition[data-v-0b712a98]{transition:none}.nav-tabs-wrapper[data-v-37eedae7]{height:60px;width:100vw;background-color:#1f2226}.nav-tabs[data-v-37eedae7]{display:flex;justify-content:space-evenly;align-items:center;height:100%;width:100%;border-bottom:none}.nav-tab-button[data-v-37eedae7]{display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;background-color:transparent;border-width:0}.nav-tab-button-icon[data-v-37eedae7]{font-size:1rem;color:#6c757d;transition:color .2s}@media (max-width: 575.98px){.nav-tab-button-icon[data-v-37eedae7]{font-size:.9rem}}.nav-tab-button-label[data-v-37eedae7]{font-size:.7rem;margin-top:.3rem;font-family:Saira,sans-serif;text-transform:uppercase;color:#e9ecef;transition:color .2s}@media (max-width: 575.98px){.nav-tab-button-label[data-v-37eedae7]{font-size:.55rem}}.nav-tab-button:hover .nav-tab-button-icon[data-v-37eedae7],.nav-tab-button-selected .nav-tab-button-icon[data-v-37eedae7],.nav-tab-button:hover .nav-tab-button-label[data-v-37eedae7],.nav-tab-button-selected .nav-tab-button-label[data-v-37eedae7]{color:#a5c8f6}.section[data-v-8790a924]{position:relative;display:flex;min-height:100vh}@media (max-width: 991.98px){.section[data-v-8790a924]{min-height:calc(100vh - 170px)}}.section-with-division[data-v-8790a924]{border-bottom:1px solid #212529}@media (min-width: 992px){.section-cover .section-container[data-v-8790a924]{margin:auto 0}}.section-container[data-v-8790a924]{padding:clamp(5rem,5vw,10rem) clamp(5rem,5vw,10rem) clamp(6rem,5vw,10rem);width:min(100%,2048px)}@media (max-width: 1399.98px){.section-container[data-v-8790a924]{padding:4rem 4rem 6rem}}@media (max-width: 991.98px){.section-container[data-v-8790a924]{padding:2rem}}@media (max-width: 767.98px){.section-container[data-v-8790a924]{padding:1.5rem}}@media (max-width: 575.98px){.section-container[data-v-8790a924]{padding:1.5rem 1.2rem 3rem}}@media (max-width: 991.98px){.section-container[data-v-8790a924]{margin-bottom:60px}}.section-header[data-v-8790a924]{margin-bottom:3rem}@media (max-width: 1399.98px){.section-header[data-v-8790a924]{margin-bottom:2.5rem}}@media (max-width: 1199.98px){.section-header[data-v-8790a924]{margin-bottom:2rem}}@media (max-width: 991.98px){.section-header[data-v-8790a924]{margin-bottom:1.5rem}}.list-item[data-v-c4644c6f]{position:relative;display:inline-block;margin-right:.6rem;font-family:Saira,sans-serif;color:#757575}.list-item[data-v-c4644c6f]:not(:last-child):after{content:"·";margin-left:.84rem}.list-item-icon[data-v-c4644c6f]{min-width:28px;text-align:center}@media (max-width: 1199.98px){.list-item[data-v-c4644c6f]{display:block}}@media (max-width: 1199.98px) and (max-width: 1199.98px){.list-item[data-v-c4644c6f]{margin:0 .5rem .5rem}}@media (max-width: 1199.98px) and (max-width: 767.98px){.list-item[data-v-c4644c6f]{margin:0 .25rem .25rem}}@media (max-width: 1199.98px){.list-item[data-v-c4644c6f]:after{display:none}}.cover-title[data-v-e6f3fa6c]{margin-bottom:1rem;text-transform:uppercase;font-weight:700}@media (min-width: 992px){.solid-divider[data-v-e6f3fa6c]{display:none}}.info-list[data-v-e6f3fa6c]{margin-bottom:2.5rem}@media (max-width: 991.98px){.info-list[data-v-e6f3fa6c]{margin-bottom:2rem}}@media (max-width: 767.98px){.info-list[data-v-e6f3fa6c]{margin-bottom:1.2rem}}.circle-icon[data-v-340ab9f5]{display:inline-flex;vertical-align:top}.circle-icon-img[data-v-340ab9f5],.circle-icon-fa-icon[data-v-340ab9f5]{border-radius:100%;width:100%;height:100%}.circle-icon-fa-icon[data-v-340ab9f5]{display:flex;justify-content:center;align-items:center;background-color:#1a73e8}.circle-icon-standard[data-v-340ab9f5]{height:2.3rem;width:2.3rem;min-width:2.3rem;min-height:2.3rem;font-size:1.15rem;z-index:50}@media (max-width: 1399.98px){.circle-icon-standard[data-v-340ab9f5]{height:2.2rem;width:2.2rem;min-width:2.2rem;min-height:2.2rem;font-size:1.1rem;z-index:50}}@media (max-width: 1199.98px){.circle-icon-standard[data-v-340ab9f5]{height:2.1rem;width:2.1rem;min-width:2.1rem;min-height:2.1rem;font-size:1.05rem;z-index:50}}@media (max-width: 991.98px){.circle-icon-standard[data-v-340ab9f5]{height:2rem;width:2rem;min-width:2rem;min-height:2rem;font-size:1rem;z-index:50}}@media (max-width: 767.98px){.circle-icon-standard[data-v-340ab9f5]{height:1.9rem;width:1.9rem;min-width:1.9rem;min-height:1.9rem;font-size:.95rem;z-index:50}}@media (max-width: 575.98px){.circle-icon-standard[data-v-340ab9f5]{height:1.8rem;width:1.8rem;min-width:1.8rem;min-height:1.8rem;font-size:.9rem;z-index:50}}.circle-icon-small[data-v-340ab9f5]{height:2rem;width:2rem;min-width:2rem;min-height:2rem;font-size:1rem;z-index:50}@media (max-width: 1399.98px){.circle-icon-small[data-v-340ab9f5]{height:2rem;width:2rem;min-width:2rem;min-height:2rem;font-size:1rem;z-index:50}}@media (max-width: 991.98px){.circle-icon-small[data-v-340ab9f5]{height:1.8rem;width:1.8rem;min-width:1.8rem;min-height:1.8rem;font-size:.9rem;z-index:50}}@media (max-width: 767.98px){.circle-icon-small[data-v-340ab9f5]{height:1.6rem;width:1.6rem;min-width:1.6rem;min-height:1.6rem;font-size:.8rem;z-index:50}}@media (max-width: 575.98px){.circle-icon-small[data-v-340ab9f5]{height:1.4rem;width:1.4rem;min-width:1.4rem;min-height:1.4rem;font-size:.7rem;z-index:50}}.progress[data-v-286948d5]{height:5px;background-color:#e4e7ea}@media (max-width: 767.98px){.progress[data-v-286948d5]{height:4px}}.progress-bar[data-v-286948d5]{background-color:#488fed;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.progress-description[data-v-286948d5]{margin-top:.2rem;color:#6c757d}.info-item[data-v-7d771ca9]{display:flex;flex-direction:row;margin-bottom:1rem}.info-item-icon[data-v-7d771ca9]{margin-right:1rem}@media (max-width: 991.98px){.info-item-icon[data-v-7d771ca9]{margin-right:.75rem}}.info-item-content[data-v-7d771ca9]{align-self:center;width:100%}.info-item-content-header-highlight[data-v-7d771ca9]{display:flex;justify-content:space-between;width:100%}.item-container[data-v-5be3d4c5]{min-height:4rem}@media (max-width: 1399.98px){.item-container[data-v-5be3d4c5]{min-height:3.75rem}}@media (max-width: 1199.98px){.item-container[data-v-5be3d4c5]{min-height:3.5rem}}@media (max-width: 575.98px){.item-container[data-v-5be3d4c5]{min-height:0}}.item-container[data-v-506a4c5d]{min-height:5rem}@media (max-width: 1399.98px){.item-container[data-v-506a4c5d]{min-height:4.5rem}}@media (max-width: 1199.98px){.item-container[data-v-506a4c5d]{min-height:4.2rem}}@media (max-width: 991.98px){.item-container[data-v-506a4c5d]{min-height:4.2rem}}@media (max-width: 767.98px){.item-container[data-v-506a4c5d]{min-height:3.5rem}}@media (max-width: 575.98px){.item-container[data-v-506a4c5d]{min-height:0}}.chart-wrapper[data-v-437f703f]{width:100%;height:100%;max-height:clamp(280px,36.5vh,430px);max-width:calc(100% - 3.5rem);align-self:center}@media (max-width: 1399.98px){.chart-wrapper[data-v-437f703f]{max-width:calc(100% - 2.5rem)}}@media (max-width: 1199.98px){.chart-wrapper[data-v-437f703f]{--dimensions: clamp(150px, min(45vw, 45vh), 270px);width:var(--dimensions);height:var(--dimensions);margin:0 auto calc(var(--dimensions) / 8)}}.items-wrapper[data-v-437f703f]{align-self:center}.item-container[data-v-437f703f]{min-height:4rem}@media (max-width: 1199.98px){.item-container[data-v-437f703f]{min-height:4rem}}@media (max-width: 991.98px){.item-container[data-v-437f703f]{min-height:3.5rem}}@media (max-width: 767.98px){.item-container[data-v-437f703f]{min-height:3.5rem}}@media (max-width: 575.98px){.item-container[data-v-437f703f]{min-height:0}}.subcategory-col[data-v-15744d8c]:not(:last-child){margin-bottom:2.75rem}@media (max-width: 1199.98px){.subcategory-col[data-v-15744d8c]:not(:last-child){margin-bottom:1.5rem}}.info-row[data-v-15744d8c]{overflow-x:hidden}.tag[data-v-233bbf6e]:not(:last-child){margin-right:.3rem}ul.thread[data-v-85240ad3]{--scale:1;--line-width:calc(var(--scale)*4px);position:relative;padding:0;list-style:none;margin-left:calc(var(--scale) * -5px)}@media (max-width: 767.98px){ul.thread[data-v-85240ad3]{--scale:.9}}@media (max-width: 575.98px){ul.thread[data-v-85240ad3]{--scale:.8}}ul.thread[data-v-85240ad3]:before{position:absolute;top:0;bottom:0;left:calc(var(--scale) * 1.75rem - var(--line-width) / 2);height:calc(100% - 1rem * var(--scale));width:var(--line-width);content:"";background-color:#ced4da}ul.thread .thread-item[data-v-85240ad3]{min-height:calc(5rem * var(--scale));margin-bottom:calc(2.5rem * var(--scale))}ul.thread .thread-item .thread-item-content[data-v-85240ad3]{margin-left:calc(var(--scale) * 3.7rem)}ul.thread .thread-item-end[data-v-85240ad3]{margin-bottom:0;min-height:calc(1rem * var(--scale))}ul.thread .thread-icon[data-v-85240ad3]{display:inline-flex;justify-content:center;align-items:center;position:absolute;left:calc(var(--scale) * .75rem);width:calc(var(--scale) * 2rem);height:calc(var(--scale) * 2rem);border-radius:100%;font-size:calc(1rem * var(--scale));color:#f8f9fa;background-color:#dee2e6}ul.thread .thread-icon-small[data-v-85240ad3]{left:calc(var(--scale) * 1rem);width:calc(var(--scale) * 1.5rem);height:calc(var(--scale) * 1.5rem);border:calc(var(--line-width) * 1.6) solid #dee2e6;font-size:calc(.5rem * var(--scale));color:transparent}@media (min-width: 1400px){.thread-container[data-v-09ad8a41]:not(:last-child){padding-right:2.5rem}}ul.timeline[data-v-5ab2d325]{--image-size:35px;--image-border-size:9px;--line-width:3px;--vertical-spacing:80px;--content-padding-top:.2rem;position:relative;padding:0;list-style:none}@media (max-width: 767.98px){ul.timeline[data-v-5ab2d325]{--image-size:75px;--vertical-spacing:60px}}@media (max-width: 575.98px){ul.timeline[data-v-5ab2d325]{--image-size:50px;--image-border-size:5px;--vertical-spacing:40px;--content-padding-top:.6rem}}ul.timeline[data-v-5ab2d325]:before{position:absolute;top:0;bottom:0;left:calc(var(--image-size) / 2 - var(--line-width) / 2);width:var(--line-width);content:"";background-color:#ced4da}ul.timeline .timeline-item[data-v-5ab2d325]{position:relative;min-height:var(--image-size)}ul.timeline .timeline-item[data-v-5ab2d325]:not(:last-child){min-height:var(--image-size);margin-bottom:var(--vertical-spacing)}ul.timeline .timeline-item-logo[data-v-5ab2d325]{display:inline-flex;justify-content:center;align-items:center;position:absolute;left:0;width:var(--image-size);height:var(--image-size);z-index:50;border:var(--image-border-size) solid #dee2e6;border-radius:100%;background-color:#fff}ul.timeline .timeline-item-logo-bg-primary[data-v-5ab2d325]{background-color:#77acf1}ul.timeline .timeline-item-fa-icon[data-v-5ab2d325]{color:#fff;font-size:calc(var(--image-size) / 2.5)}ul.timeline .timeline-item-tail[data-v-5ab2d325]{left:calc(var(--image-size) / 6);min-height:calc(var(--image-size) / 2)}ul.timeline .timeline-item-tail .timeline-item-logo[data-v-5ab2d325]{width:calc(var(--image-size) / 1.5);height:calc(var(--image-size) / 1.5);background-color:#dee2e6}ul.timeline .timeline-item-content[data-v-5ab2d325]{margin-left:calc(var(--image-size) + var(--image-size) / 2)}ul.timeline .timeline-item-content-header[data-v-5ab2d325]{display:flex;padding-top:var(--content-padding-top)}ul.timeline .timeline-item-content-header .flex-column-texts[data-v-5ab2d325]{padding-right:2rem}ul.timeline .timeline-item-content-header .flex-column-date[data-v-5ab2d325]{margin-left:auto}@media (max-width: 991.98px){ul.timeline .timeline-item-content-header[data-v-5ab2d325]{display:block}ul.timeline .timeline-item-content-header .flex-column-texts[data-v-5ab2d325]{padding-right:0}}.resume[data-v-77f976fb]{display:flex;min-height:100vh;background-color:#212529}@media (max-width: 991.98px){.resume[data-v-77f976fb]{background-color:#f0f3f6}}.sidebar-column[data-v-77f976fb]{width:290px;min-height:100vh;background-color:#212529}@media (max-width: 991.98px){.sidebar-column[data-v-77f976fb]{display:none}}.content-column[data-v-77f976fb]{width:calc(100vw - 290px);min-height:100vh;background-color:#f0f3f6}@media (max-width: 991.98px){.content-column[data-v-77f976fb]{width:100vw}}.nav-header[data-v-77f976fb],.nav-tabs-column[data-v-77f976fb]{display:none}@media (max-width: 991.98px){.nav-header[data-v-77f976fb],.nav-tabs-column[data-v-77f976fb]{display:block}}@media (max-width: 991.98px){.nav-tabs-column[data-v-77f976fb]{position:fixed;bottom:0;left:0;z-index:99}}.toolbar-title[data-v-3c05e757]{flex:1;display:flex;justify-content:center;color:#fff}.toolbar-banner[data-v-3c05e757]{background-color:rgb(var(--v-theme-primary))!important}.background-image[data-v-3c05e757]{background-image:url(/resame-website/images/background/background.png);background-size:cover;background-position:center center;background-repeat:no-repeat}.yellow-text[data-v-3c05e757]:hover{color:#ff4500}.my-image[data-v-3c05e757]{width:3000%;height:auto;max-width:500px}/*! * Cropper.js v1.6.1 * https://fengyuanchen.github.io/cropperjs * diff --git a/frontend/dist/index.html b/frontend/dist/index.html index 52939a4..0eb59db 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -10,8 +10,8 @@ - - + +
diff --git a/frontend/package.json b/frontend/package.json index 2880117..f728654 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -8,7 +8,7 @@ "build": "vite build", "preview": "vite preview", "predeploy": "npm run build", - "deploy": "cd dist && cp index.html 404.html" + "deploy": "cd dist && cp index.html 404.html && rm -r /var/www/html/resame-website && cp -R ../dist /var/www/html/resame-website" }, "dependencies": { "@fortawesome/fontawesome-free": "^6.4.0", diff --git a/frontend/src/vue/core/Editview.vue b/frontend/src/vue/core/Editview.vue index 050994c..0e2648b 100644 --- a/frontend/src/vue/core/Editview.vue +++ b/frontend/src/vue/core/Editview.vue @@ -108,7 +108,7 @@ export default { //skill data // const skill_response = await axios.get('../../../data/sections/skills.json'); // const skill_data = skill_response.data; - const skill_response = await fetch("http://127.0.0.1:3033/loadResume", { + const skill_response = await fetch("https://res-a-me.resilientdb.com/loadResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -133,7 +133,7 @@ export default { //about data // const cover_response = await axios.get('../../../data/sections/cover.json'); // const cover_data = cover_response.data; - const cover_response = await fetch("http://127.0.0.1:3033/loadResume", { + const cover_response = await fetch("https://res-a-me.resilientdb.com/loadResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -144,7 +144,7 @@ export default { }); const cover_data = await cover_response.json(); cover_data_old.value = cover_data; //for update JSON file - const profile_response = await fetch("http://127.0.0.1:3033/loadResume", { + const profile_response = await fetch("https://res-a-me.resilientdb.com/loadResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -171,7 +171,7 @@ export default { //education data // const edu_response = await axios.get('../../../data/sections/education.json'); // const edu_data = edu_response.data; - const edu_response = await fetch("http://127.0.0.1:3033/loadResume", { + const edu_response = await fetch("https://res-a-me.resilientdb.com/loadResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -196,7 +196,7 @@ export default { //profession data // const pro_response = await axios.get('../../../data/sections/experience.json'); // const pro_data = pro_response.data; - const pro_response = await fetch("http://127.0.0.1:3033/loadResume", { + const pro_response = await fetch("https://res-a-me.resilientdb.com/loadResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -221,7 +221,7 @@ export default { //achievement and award data // const achi_response = await axios.get('../../../data/sections/achievements.json'); // const achi_data = achi_response.data; - const achi_response = await fetch("http://127.0.0.1:3033/loadResume", { + const achi_response = await fetch("https://res-a-me.resilientdb.com/loadResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -276,7 +276,7 @@ export default { let userEmail = ""; try { - const response = await fetch("http://127.0.0.1:3033/loadUser", { + const response = await fetch("https://res-a-me.resilientdb.com/loadUser", { method: "GET", headers: { "Content-type": "application/json; charset=UTF-8", @@ -292,7 +292,7 @@ export default { } try { - const response = await fetch("http://127.0.0.1:3033/updateResume", { + const response = await fetch("https://res-a-me.resilientdb.com/updateResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -346,7 +346,7 @@ export default { } }); } - fetch("http://127.0.0.1:3033/editResume", { + fetch("https://res-a-me.resilientdb.com/editResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -364,7 +364,7 @@ export default { this.profile_data_old.locales.en.role = this.about.role; this.profile_data_old.contact.email.value = this.about.email; this.profile_data_old.contact.phone.valueShort = this.about.phone; - await fetch("http://127.0.0.1:3033/editResume", { + await fetch("https://res-a-me.resilientdb.com/editResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -373,7 +373,7 @@ export default { }, body: JSON.stringify({ "category": "cover", "data": JSON.stringify(this.cover_data_old) }), }); - await fetch("http://127.0.0.1:3033/editResume", { + await fetch("https://res-a-me.resilientdb.com/editResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -417,7 +417,7 @@ export default { }, }); } - fetch("http://127.0.0.1:3033/editResume", { + fetch("https://res-a-me.resilientdb.com/editResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -461,7 +461,7 @@ export default { }, }); } - fetch("http://127.0.0.1:3033/editResume", { + fetch("https://res-a-me.resilientdb.com/editResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -505,7 +505,7 @@ export default { }, }); } - await fetch("http://127.0.0.1:3033/editResume", { + await fetch("https://res-a-me.resilientdb.com/editResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8", @@ -549,7 +549,7 @@ export default { }, }); } - await fetch("http://127.0.0.1:3033/editResume", { + await fetch("https://res-a-me.resilientdb.com/editResume", { method: "POST", headers: { "Content-type": "application/json; charset=UTF-8",